xmlroff-0.6.2/0000777000175000017500000000000011156164735010212 500000000000000xmlroff-0.6.2/config/0000777000175000017500000000000011156164706011455 500000000000000xmlroff-0.6.2/config/compile0000755000175000017500000000717310535563747012767 00000000000000#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand `-c -o'. Remove `-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file `INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; esac ofile= cfile= eat= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as `compile cc -o foo foo.c'. # So we strip `-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no `-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # `.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` # Create the lock directory. # Note: use `[/.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: xmlroff-0.6.2/config/config.guess0000755000175000017500000012706110707444443013720 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2007-07-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:[3456]*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T | authenticamd) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; xtensa:Linux:*:*) echo xtensa-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: xmlroff-0.6.2/config/config.sub0000755000175000017500000007772410707444443013375 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2007-06-28' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: xmlroff-0.6.2/config/depcomp0000755000175000017500000003710010535563747012757 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: xmlroff-0.6.2/config/install-sh0000755000175000017500000002202110535563747013402 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: xmlroff-0.6.2/config/ltmain.sh0000644000175000017500000060646710752724413013232 00000000000000# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. basename="s,^.*/,,g" # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" # The name of this program: progname=`echo "$progpath" | $SED $basename` modename="$progname" # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 PROGRAM=ltmain.sh PACKAGE=libtool VERSION="1.5.26 Debian 1.5.26-1ubuntu1" TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)" # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$progpath" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE fi # Global variables. mode=$default_mode nonopt= prev= prevopt= run= show="$echo" show_help= execute_dlfiles= duplicate_deps=no preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" extracted_archives= extracted_serial=0 ##################################### # Shell function definitions: # This seems to be the best place for them # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $mkdir "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || { $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 exit $EXIT_FAILURE } fi $echo "X$my_tmpdir" | $Xsed } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. func_win32_libid () { win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | \ $SED -n -e '1,100{ / I /{ s,.*,import, p q } }'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $echo $win32_libid_type } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case "$@ " in " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then $echo "$modename: unable to infer tagged configuration" $echo "$modename: specify a tag with \`--tag'" 1>&2 exit $EXIT_FAILURE # else # $echo "$modename: using $tagname tagged configuration" fi ;; esac fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 exit $EXIT_FAILURE fi } # func_extract_archives gentop oldlib ... func_extract_archives () { my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" my_status="" $show "${rm}r $my_gentop" $run ${rm}r "$my_gentop" $show "$mkdir $my_gentop" $run $mkdir "$my_gentop" my_status=$? if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then exit $my_status fi for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) extracted_serial=`expr $extracted_serial + 1` my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir="$my_gentop/$my_xlib_u" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" $show "$mkdir $my_xdir" $run $mkdir "$my_xdir" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then exit $exit_status fi case $host in *-darwin*) $show "Extracting $my_xabs" # Do not bother doing anything if just a dry run if test -z "$run"; then darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` if test -n "$darwin_arches"; then darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= $show "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we have a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` lipo -create -output "$darwin_file" $darwin_files done # $darwin_filelist ${rm}r unfat-$$ cd "$darwin_orig_dir" else cd "$darwin_orig_dir" func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches fi # $run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # End of Shell function definitions ##################################### # Darwin sucks eval std_shrext=\"$shrext_cmds\" disable_libs=no # Parse our command line options once, thoroughly. while test "$#" -gt 0 do arg="$1" shift case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in execute_dlfiles) execute_dlfiles="$execute_dlfiles $arg" ;; tag) tagname="$arg" preserve_args="${preserve_args}=$arg" # Check whether tagname contains only valid characters case $tagname in *[!-_A-Za-z0-9,/]*) $echo "$progname: invalid tag name: $tagname" 1>&2 exit $EXIT_FAILURE ;; esac case $tagname in CC) # Don't test for the "default" C tag, as we know, it's there, but # not specially marked. ;; *) if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then taglist="$taglist $tagname" # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" else $echo "$progname: ignoring unknown tag $tagname" 1>&2 fi ;; esac ;; *) eval "$prev=\$arg" ;; esac prev= prevopt= continue fi # Have we seen a non-optional argument yet? case $arg in --help) show_help=yes ;; --version) echo "\ $PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." exit $? ;; --config) ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath # Now print the configurations for the tags. for tagname in $taglist; do ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" done exit $? ;; --debug) $echo "$progname: enabling shell trace mode" set -x preserve_args="$preserve_args $arg" ;; --dry-run | -n) run=: ;; --features) $echo "host: $host" if test "$build_libtool_libs" = yes; then $echo "enable shared libraries" else $echo "disable shared libraries" fi if test "$build_old_libs" = yes; then $echo "enable static libraries" else $echo "disable static libraries" fi exit $? ;; --finish) mode="finish" ;; --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; --preserve-dup-deps) duplicate_deps="yes" ;; --quiet | --silent) show=: preserve_args="$preserve_args $arg" ;; --tag) prevopt="--tag" prev=tag preserve_args="$preserve_args --tag" ;; --tag=*) set tag "$optarg" ${1+"$@"} shift prev=tag preserve_args="$preserve_args --tag" ;; -dlopen) prevopt="-dlopen" prev=execute_dlfiles ;; -*) $echo "$modename: unrecognized option \`$arg'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *) nonopt="$arg" break ;; esac done if test -n "$prevopt"; then $echo "$modename: option \`$prevopt' requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi case $disable_libs in no) ;; shared) build_libtool_libs=no build_old_libs=yes ;; static) build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` ;; esac # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 case $nonopt in *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do case $arg in -c) mode=compile break ;; esac done ;; *db | *dbx | *strace | *truss) mode=execute ;; *install*|cp|mv) mode=install ;; *rm) mode=uninstall ;; *) # If we have no mode, but dlfiles were specified, then do execute mode. test -n "$execute_dlfiles" && mode=execute # Just use the default operation mode. if test -z "$mode"; then if test -n "$nonopt"; then $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 else $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 fi fi ;; esac fi # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then $echo "$modename: unrecognized option \`-dlopen'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$modename --help --mode=$mode' for more information." # These modes are in order of execution frequency so that they run quickly. case $mode in # libtool compile mode compile) modename="$modename: compile" # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) if test -n "$libobj" ; then $echo "$modename: you cannot specify \`-o' more than once" 1>&2 exit $EXIT_FAILURE fi arg_mode=target continue ;; -static | -prefer-pic | -prefer-non-pic) later="$later $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac lastarg="$lastarg $arg" done IFS="$save_ifs" lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` # Add the arguments to base_compile. base_compile="$base_compile $lastarg" continue ;; * ) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` case $lastarg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, and some SunOS ksh mistreat backslash-escaping # in scan sets (worked around with variable expansion), # and furthermore cannot handle '|' '&' '(' ')' in scan sets # at all, so we specify them separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" ;; esac base_compile="$base_compile $lastarg" done # for arg case $arg_mode in arg) $echo "$modename: you must specify an argument for -Xcompile" exit $EXIT_FAILURE ;; target) $echo "$modename: you must specify a target with \`-o'" 1>&2 exit $EXIT_FAILURE ;; *) # Get the name of the library object. [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo xform='[cCFSifmso]' case $libobj in *.ada) xform=ada ;; *.adb) xform=adb ;; *.ads) xform=ads ;; *.asm) xform=asm ;; *.c++) xform=c++ ;; *.cc) xform=cc ;; *.ii) xform=ii ;; *.class) xform=class ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; *.[fF][09]?) xform=[fF][09]. ;; *.for) xform=for ;; *.java) xform=java ;; *.obj) xform=obj ;; *.sx) xform=sx ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` case $libobj in *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; *) $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 exit $EXIT_FAILURE ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -static) build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` case $qlibobj in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qlibobj="\"$qlibobj\"" ;; esac test "X$libobj" != "X$qlibobj" \ && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir= else xdir=$xdir/ fi lobj=${xdir}$objdir/$objname if test -z "$base_compile"; then $echo "$modename: you must specify a compilation command" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi $run $rm $removelist trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $run ln "$progpath" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $echo "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi $echo "$srcfile" > "$lockfile" fi if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` case $qsrcfile in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qsrcfile="\"$qsrcfile\"" ;; esac $run $rm "$libobj" "${libobj}T" # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then $show "$mv $output_obj $lobj" if $run $mv $output_obj $lobj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the PIC object to the libtool object file. test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the non-PIC object the libtool object file. # Only append if the libtool object file exists. test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; esac libtool_args="$libtool_args $qarg" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) compile_command="$compile_command @OUTPUT@" finalize_command="$finalize_command @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. compile_command="$compile_command @SYMFILE@" finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" if test ! -f "$arg"; then $echo "$modename: symbol file \`$arg' does not exist" exit $EXIT_FAILURE fi prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat $save_arg` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi done else $echo "$modename: link input file \`$save_arg' does not exist" exit $EXIT_FAILURE fi arg=$save_arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= compile_command="$compile_command $wl$qarg" finalize_command="$finalize_command $wl$qarg" continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; shrext) shrext_cmds="$arg" prev= continue ;; darwin_framework|darwin_framework_skip) test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" prev= continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then compile_command="$compile_command $link_static_flag" finalize_command="$finalize_command $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 continue ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: more than one -exported-symbols argument is not allowed" exit $EXIT_FAILURE fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework|-arch|-isysroot) case " $CC " in *" ${arg} ${1} "* | *" ${arg} ${1} "*) prev=darwin_framework_skip ;; *) compiler_flags="$compiler_flags $arg" prev=darwin_framework ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; esac continue ;; -L*) dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" notinst_path="$notinst_path $dir" fi dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; *) dllsearchpath="$dllsearchpath:$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs -framework System" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. -model) compile_command="$compile_command $arg" compiler_flags="$compiler_flags $arg" finalize_command="$finalize_command $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -multi_module) single_module="${wl}-multi_module" continue ;; -module) module=yes continue ;; # -64, -mips[0-9] enable 64-bit mode on the SGI compiler # -r[0-9][0-9]* specifies the processor on the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler # +DA*, +DD* enable 64-bit mode on the HP compiler # -q* pass through compiler args for the IBM compiler # -m* pass through architecture-specific compiler args for GCC # -m*, -t[45]*, -txscale* pass through architecture-specific # compiler args for GCC # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC # -F/path gives path to uninstalled frameworks, gcc on darwin # @file GCC response files -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" compiler_flags="$compiler_flags $arg" continue ;; -shrext) prev=shrext continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $wl$flag" linker_flags="$linker_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi done # argument parsing loop if test -n "$prev"; then $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi oldlibs= # calculate the name of the file, without its directory outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` if test "X$output_objdir" = "X$output"; then output_objdir="$objdir" else output_objdir="$output_objdir/$objdir" fi # Create the object directory. if test ! -d "$output_objdir"; then $show "$mkdir $output_objdir" $run $mkdir $output_objdir exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then exit $exit_status fi fi # Determine the type of output case $output in "") $echo "$modename: you must specify an output file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac case $host in *cygwin* | *mingw* | *pw32*) # don't eliminate duplications in $postdeps and $predeps duplicate_compiler_generated_deps=yes ;; *) duplicate_compiler_generated_deps=$duplicate_deps ;; esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if test "X$duplicate_deps" = "Xyes" ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries case $linkmode in lib) passes="conv link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 exit $EXIT_FAILURE ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else compiler_flags="$compiler_flags $deplib" fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` if test "$linkmode" = lib; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then library_names= old_library= case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; *) $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` if eval $echo \"$deplib\" 2>/dev/null \ | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then $echo $echo "*** Warning: Trying to link with static lib archive $deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because the file extensions .$libext of this argument makes me believe" $echo "*** that it is just a static archive that I should not used here." else $echo $echo "*** Warning: Linking the shared library $output against the" $echo "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 exit $EXIT_FAILURE fi # Check to see that this really is a libtool archive. if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." dlname= dlopen= dlpreopen= libdir= library_names= old_library= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit $EXIT_FAILURE fi continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 abs_ladir="$ladir" fi ;; esac laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then $echo "$modename: warning: library \`$lib' was moved." 1>&2 dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { { test "$prefer_static_libs" = no || test "$prefer_static_libs,$installed" = "built,yes"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; *" $absdir "*) ;; *) temp_rpath="$temp_rpath $absdir" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes ; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi # This is a shared library # Warn about portability, can't link against -module's on # some systems (darwin) if test "$shouldnotlink" = yes && test "$pass" = link ; then $echo if test "$linkmode" = prog; then $echo "*** Warning: Linking the executable $output against the loadable module" else $echo "*** Warning: Linking the shared library $output against the loadable module" fi $echo "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names realname="$2" shift; shift libname=`eval \\$echo \"$libname_spec\"` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw*) major=`expr $current - $age` versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" soname=`$echo $soroot | ${SED} -e 's/^.*\///'` newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$extract_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$old_archive_from_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a module then we can not link against # it, someone is ignoring the new warnings I added if /usr/bin/file -L $add 2> /dev/null | $EGREP ": [^:]* bundle" >/dev/null ; then $echo "** Warning, lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $echo $echo "** And there doesn't seem to be a static archive available" $echo "** The link will probably fail, sorry" else add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then $echo "$modename: configuration error: unsupported hardcode properties" exit $EXIT_FAILURE fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && \ test "$hardcode_minus_L" != yes && \ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $echo $echo "*** Warning: This system can not link to static lib archive $lib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $echo "*** But as you try to build a module library, libtool will still create " $echo "*** a static module, that should work as long as the dlopening application" $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$deplib" && dir="." # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" fi ;; esac if grep "^installed=no" $deplib > /dev/null; then path="$absdir/$objdir" else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi if test "$absdir" != "$libdir"; then $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 fi path="$absdir" fi depdepl= case $host in *-*-darwin*) # we do not want to link against static libs, # but need to link against shared eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$deplibdir/$depdepl" ; then depdepl="$deplibdir/$depdepl" elif test -f "$path/$depdepl" ; then depdepl="$path/$depdepl" else # Can't find it, oh well... depdepl= fi # do not add paths which are already there case " $newlib_search_path " in *" $path "*) ;; *) newlib_search_path="$newlib_search_path $path";; esac fi path="" ;; *) path="-L$path" ;; esac ;; -l*) case $host in *-*-darwin*) # Again, we only want to link against shared libraries eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` for tmp in $newlib_search_path ; do if test -f "$tmp/lib$tmp_libs.dylib" ; then eval depdepl="$tmp/lib$tmp_libs.dylib" break fi done path="" ;; *) continue ;; esac ;; *) continue ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac case " $deplibs " in *" $depdepl "*) ;; *) deplibs="$depdepl $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) case " $deplibs" in *\ -l* | *\ -L*) $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;; esac if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 fi if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 fi # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) if test "$module" = no; then $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 exit $EXIT_FAILURE else $echo $echo "*** Warning: Linking the shared library $output against the non-libtool" $echo "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi if test "$dlself" != no; then $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 fi set dummy $rpath if test "$#" -gt 2; then $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 fi install_libdir="$2" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 fi else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" if test -n "$8"; then $echo "$modename: too many parameters to \`-version-info'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$2" number_minor="$3" number_revision="$4" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows|none) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_minor" lt_irix_increment=no ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac ;; no) current="$2" revision="$3" age="$4" ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac if test "$age" -gt "$current"; then $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header major=.`expr $current - $age` versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current"; ;; irix | nonstopux) if test "X$lt_irix_increment" = "Xno"; then major=`expr $current - $age` else major=`expr $current - $age + 1` fi case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" ;; osf) major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do iface=`expr $current - $loop` loop=`expr $loop - 1` verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. major=`expr $current - $age` versuffix="-$major" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$echo "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi removelist="$removelist $p" ;; *) ;; esac done if test -n "$removelist"; then $show "${rm}r $removelist" $run ${rm}r $removelist fi fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs -framework System" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $rm conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for file magic test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a file magic. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` for a_deplib in $deplibs; do name=`expr $a_deplib : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. if test -n "$name" && test "$name" != "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval $echo \"$potent_lib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for regex pattern test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a regex pattern. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` done fi if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ | grep . >/dev/null; then $echo if test "X$deplibs_check_method" = "Xnone"; then $echo "*** Warning: inter-library dependencies are not supported in this platform." else $echo "*** Warning: inter-library dependencies are not known to be supported." fi $echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $echo $echo "*** Warning: libtool could not satisfy all declared inter-library" $echo "*** dependencies of module $libname. Therefore, libtool will create" $echo "*** a static module, that should work as long as the dlopening" $echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $echo "*** The inter-library dependencies that have been dropped here will be" $echo "*** automatically added whenever a program is linked with this library" $echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $echo $echo "*** Since this library must not contain undefined symbols," $echo "*** because either the platform does not support them or" $echo "*** it was explicitly requested with -no-undefined," $echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done deplibs="$new_libs" # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then case $archive_cmds in *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;; *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;; esac else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" if len=`expr "X$cmd" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then $show "$cmd" $run eval "$cmd" || exit $? skipped_export=false else # The command line is too long to execute in one step. $show "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex"; then $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' $show "$mv \"${export_symbols}T\" \"$export_symbols\"" $run eval '$mv "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $convenience libobjs="$libobjs $func_extract_archives_result" fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise. $echo "creating reloadable object files..." # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output output_la=`$echo "X$output" | $Xsed -e "$basename"` # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= delfiles= last_robj= k=1 output=$output_objdir/$output_la-${k}.$objext # Loop over the list of objects to be linked. for obj in $save_libobjs do eval test_cmds=\"$reload_cmds $objlist $last_robj\" if test "X$objlist" = X || { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; }; then objlist="$objlist $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext k=`expr $k + 1` output=$output_objdir/$output_la-${k}.$objext objlist=$obj len=1 fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if ${skipped_export-false}; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols libobjs=$output # Append the command to create the export file. eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" fi # Set up a command to remove the reloadable object files # after they are used. i=0 while test "$i" -lt "$k" do i=`expr $i + 1` delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" done $echo "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi # Append the command to remove the reloadable object files # to the just-reset $cmds. eval cmds=\"\$cmds~\$rm $delfiles\" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then $show "${rm}r $gentop" $run ${rm}r "$gentop" fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) case " $deplibs" in *\ -l* | *\ -L*) $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;; esac if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 fi case $output in *.lo) if test -n "$objs$old_deplibs"; then $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 exit $EXIT_FAILURE fi libobj="$output" obj=`$echo "X$output" | $Xsed -e "$lo2o"` ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $run $rm $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec and hope we can get by with # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` else gentop="$output_objdir/${obj}x" generated="$generated $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $run eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 fi if test "$preload" = yes; then if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && test "$dlopen_self_static" = unknown; then $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." fi fi case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac case $host in *darwin*) # Don't allow lazy linking, it breaks C++ global constructors if test "$tagname" = CXX ; then compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" fi ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done compile_deplibs="$new_libs" compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; *) dllsearchpath="$dllsearchpath:$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then dlsyms="${outputname}S.c" else $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 fi fi if test -n "$dlsyms"; then case $dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${outputname}.nm" $show "$rm $nlist ${nlist}S ${nlist}T" $run $rm "$nlist" "${nlist}S" "${nlist}T" # Parse the name list into a source file. $show "creating $output_objdir/$dlsyms" test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ #ifdef __cplusplus extern \"C\" { #endif /* Prevent the only kind of declaration conflicts we can make. */ #define lt_preloaded_symbols some_other_symbol /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then $show "generating symbol list for \`$output'" test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for arg in $progfiles; do $show "extracting global C symbols from \`$arg'" $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi if test -n "$export_symbols_regex"; then $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac else $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac fi fi for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval '$echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -z "$run"; then # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $mv "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if grep -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' else $echo '/* NONE */' >> "$output_objdir/$dlsyms" fi $echo >> "$output_objdir/$dlsyms" "\ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ " case $host in *cygwin* | *mingw* ) $echo >> "$output_objdir/$dlsyms" "\ /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs */ struct { " ;; * ) $echo >> "$output_objdir/$dlsyms" "\ const struct { " ;; esac $echo >> "$output_objdir/$dlsyms" "\ const char *name; lt_ptr address; } lt_preloaded_symbols[] = {\ " eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " fi pic_flag_for_symtable= case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; esac;; *-*-hpux*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag";; esac esac # Now compile the dynamic symbol file. $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? # Clean up the generated files. $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" # Transform the symbol file into the correct name. case $host in *cygwin* | *mingw* ) if test -f "$output_objdir/${outputname}.def" ; then compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` else compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` fi ;; * ) compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` ;; esac ;; *) $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 exit $EXIT_FAILURE ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. $show "$link_command" $run eval "$link_command" exit_status=$? # Delete the generated files. if test -n "$dlsyms"; then $show "$rm $output_objdir/${outputname}S.${objext}" $run $rm "$output_objdir/${outputname}S.${objext}" fi exit $exit_status fi if test -n "$shlibpath_var"; then # We should set the shlibpath_var rpath= for dir in $temp_rpath; do case $dir in [\\/]* | [A-Za-z]:[\\/]*) # Absolute path. rpath="$rpath$dir:" ;; *) # Relative path: add a thisdir entry. rpath="$rpath\$thisdir/$dir:" ;; esac done temp_rpath="$rpath" fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $run $rm $output # Link the executable and exit $show "$link_command" $run eval "$link_command" || exit $? exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 $echo "$modename: \`$output' will be relinked during installation" 1>&2 else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname $show "$link_command" $run eval "$link_command" || exit $? # Now create the wrapper script. $show "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` fi # Quote $echo for shipping. if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then case $progpath in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; esac qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if our run command is non-null. if test -z "$run"; then # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) output_name=`basename $output` output_path=`dirname $output` cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $rm $cwrappersource $cwrapper trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 cat > $cwrappersource <> $cwrappersource<<"EOF" #include #include #include #include #include #include #include #include #include #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) /* -DDEBUG is fairly common in CFLAGS. */ #undef DEBUG #if defined DEBUGWRAPPER # define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) #else # define DEBUG(format, ...) #endif const char *program_name = NULL; void * xmalloc (size_t num); char * xstrdup (const char *string); const char * base_name (const char *name); char * find_executable(const char *wrapper); int check_executable(const char *path); char * strendzap(char *str, const char *pat); void lt_fatal (const char *message, ...); int main (int argc, char *argv[]) { char **newargz; int i; program_name = (char *) xstrdup (base_name (argv[0])); DEBUG("(main) argv[0] : %s\n",argv[0]); DEBUG("(main) program_name : %s\n",program_name); newargz = XMALLOC(char *, argc+2); EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" newargz[1] = find_executable(argv[0]); if (newargz[1] == NULL) lt_fatal("Couldn't find %s", argv[0]); DEBUG("(main) found exe at : %s\n",newargz[1]); /* we know the script has the same name, without the .exe */ /* so make sure newargz[1] doesn't end in .exe */ strendzap(newargz[1],".exe"); for (i = 1; i < argc; i++) newargz[i+1] = xstrdup(argv[i]); newargz[argc+1] = NULL; for (i=0; i> $cwrappersource <> $cwrappersource <> $cwrappersource <<"EOF" return 127; } void * xmalloc (size_t num) { void * p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL ; } const char * base_name (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha ((unsigned char)name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return base; } int check_executable(const char * path) { struct stat st; DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); if ((!path) || (!*path)) return 0; if ((stat (path, &st) >= 0) && ( /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ #if defined (S_IXOTH) ((st.st_mode & S_IXOTH) == S_IXOTH) || #endif #if defined (S_IXGRP) ((st.st_mode & S_IXGRP) == S_IXGRP) || #endif ((st.st_mode & S_IXUSR) == S_IXUSR)) ) return 1; else return 0; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise */ char * find_executable (const char* wrapper) { int has_slash = 0; const char* p; const char* p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char* concat_name; DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char* path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char* q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR(*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); return NULL; } char * strendzap(char *str, const char *pat) { size_t len, patlen; assert(str != NULL); assert(pat != NULL); len = strlen(str); patlen = strlen(pat); if (patlen <= len) { str += len - patlen; if (strcmp(str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char * mode, const char * message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } EOF # we should really use a build-platform specific compiler # here, but OTOH, the wrappers (shell script and this C one) # are only useful if you want to execute the "real" binary. # Since the "real" binary is built for $host, then this # wrapper might as well be built for $host, too. $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource ;; esac $rm $output trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 $echo > $output "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variable: notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$echo are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then echo=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then # Yippee, \$echo works! : else # Restart under the correct shell, and then maybe \$echo will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $echo >> $output "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $mkdir \"\$progdir\" else $rm \"\$progdir/\$file\" fi" $echo >> $output "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit $EXIT_FAILURE fi fi $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $rm \"\$progdir/\$program\"; $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } $rm \"\$progdir/\$file\" fi" else $echo >> $output "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $echo >> $output "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $echo >> $output "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $echo >> $output "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $echo >> $output "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $echo >> $output "\ exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \$*\" exit $EXIT_FAILURE fi else # The program doesn't exist. \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$echo \"This script is just a wrapper for \$program.\" 1>&2 $echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit $EXIT_FAILURE fi fi\ " chmod +x $output fi exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $addlibs oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do $echo "X$obj" | $Xsed -e 's%^.*/%%' done | sort | sort -uc >/dev/null 2>&1); then : else $echo "copying selected object files to avoid basename conflicts..." if test -z "$gentop"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$gentop"; then exit $exit_status fi fi save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase counter=`expr $counter + 1` case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" $run ln "$obj" "$gentop/$newobj" || $run cp "$obj" "$gentop/$newobj" oldobjs="$oldobjs $gentop/$newobj" ;; *) oldobjs="$oldobjs $obj" ;; esac done fi eval cmds=\"$old_archive_cmds\" if len=`expr "X$cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts $echo "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done for obj in $save_oldobjs do oldobjs="$objlist $obj" objlist="$objlist $obj" eval test_cmds=\"$old_archive_cmds\" if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do eval cmd=\"$cmd\" IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$generated"; then $show "${rm}r$generated" $run ${rm}r$generated fi # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" $show "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlfiles="$newdlfiles $libdir/$name" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlprefiles="$newdlprefiles $libdir/$name" done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi $rm $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $echo > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $echo >> $output "\ relink_command=\"$relink_command\"" fi done fi # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ;; esac exit $EXIT_SUCCESS ;; # libtool install mode install) modename="$modename: install" # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $echo "X$nonopt" | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$arg " arg="$1" shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog$arg" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; esac ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog $arg" done if test -z "$install_prog"; then $echo "$modename: you must specify an install program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -n "$prev"; then $echo "$modename: the \`$prev' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -z "$files"; then if test -z "$dest"; then $echo "$modename: no file or destination specified" 1>&2 else $echo "$modename: you must specify a destination" 1>&2 fi $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Strip any trailing slash from the destination. dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` test "X$destdir" = "X$dest" && destdir=. destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` # Not a directory, so check to see that there is only one file specified. set dummy $files if test "$#" -gt 2; then $echo "$modename: \`$dest' is not a directory" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi library_names= old_library= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ test "X$dir" = "X$file/" && dir= dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. if test "$inst_prefix_dir" = "$destdir"; then $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 exit $EXIT_FAILURE fi if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` else relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` fi $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 exit $EXIT_FAILURE fi fi # See the names of the shared library. set dummy $library_names if test -n "$2"; then realname="$2" shift shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. $show "$install_prog $dir/$srcname $destdir/$realname" $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$striplib $destdir/$realname" $run eval "$striplib $destdir/$realname" || exit $? fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do if test "$linkname" != "$realname"; then $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" fi done fi # Do each command in the postinstall commands. lib="$destdir/$realname" cmds=$postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" fi # Install the pseudo-library for information purposes. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" $run eval "$install_prog $instname $destdir/$name" || exit $? # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` ;; *.$objext) staticdest="$destfile" destfile= ;; *) $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac # Install the libtool object if requested. if test -n "$destfile"; then $show "$install_prog $file $destfile" $run eval "$install_prog $file $destfile" || exit $? fi # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` $show "$install_prog $staticobj $staticdest" $run eval "$install_prog \$staticobj \$staticdest" || exit $? fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then file=`$echo $file|${SED} 's,.exe$,,'` stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin*|*mingw*) wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` ;; *) wrapper=$file ;; esac if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit $EXIT_FAILURE fi finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then # If there is no directory component, then add one. case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 finalize=no fi done relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then tmpdir=`func_mktempdir` file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ${rm}r "$tmpdir" continue fi file="$outputname" else $echo "$modename: warning: cannot relink \`$file'" 1>&2 fi else # Install the binary that we compiled earlier. file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; esac $show "$install_prog$stripme $file $destfile" $run eval "$install_prog\$stripme \$file \$destfile" || exit $? test -n "$outputname" && ${rm}r "$tmpdir" ;; esac done for file in $staticlibs; do name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` # Set up the ranlib parameters. oldlib="$destdir/$name" $show "$install_prog $file $oldlib" $run eval "$install_prog \$file \$oldlib" || exit $? if test -n "$stripme" && test -n "$old_striplib"; then $show "$old_striplib $oldlib" $run eval "$old_striplib $oldlib" || exit $? fi # Do each command in the postinstall commands. cmds=$old_postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$future_libdirs"; then $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 fi if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi ;; # libtool finish mode finish) modename="$modename: finish" libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. cmds=$finish_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || admincmds="$admincmds $cmd" done IFS="$save_ifs" fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $run eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. test "$show" = : && exit $EXIT_SUCCESS $echo "X----------------------------------------------------------------------" | $Xsed $echo "Libraries have been installed in:" for libdir in $libdirs; do $echo " $libdir" done $echo $echo "If you ever happen to want to link against installed libraries" $echo "in a given directory, LIBDIR, you must either use libtool, and" $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" $echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" $echo " during execution" fi if test -n "$runpath_var"; then $echo " - add LIBDIR to the \`$runpath_var' environment variable" $echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $echo " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $echo " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi $echo $echo "See any operating system documentation about shared libraries for" $echo "more information, such as the ld(1) and ld.so(8) manual pages." $echo "X----------------------------------------------------------------------" | $Xsed exit $EXIT_SUCCESS ;; # libtool execute mode execute) modename="$modename: execute" # The first argument is the command name. cmd="$nonopt" if test -z "$cmd"; then $echo "$modename: you must specify a COMMAND" 1>&2 $echo "$help" exit $EXIT_FAILURE fi # Handle -dlopen flags immediately. for file in $execute_dlfiles; do if test ! -f "$file"; then $echo "$modename: \`$file' is not a file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi dir= case $file in *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Read the libtool library. dlname= library_names= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" continue fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else if test ! -f "$dir/$dlname"; then $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 exit $EXIT_FAILURE fi fi ;; *.lo) # Just add the directory containing the .lo file. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. ;; *) $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` args="$args \"$file\"" done if test -z "$run"; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var fi" done # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" $echo "export $shlibpath_var" fi $echo "$cmd$args" exit $EXIT_SUCCESS fi ;; # libtool clean and uninstall mode clean | uninstall) modename="$modename: $mode" rm="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) rm="$rm $arg"; rmforce=yes ;; -*) rm="$rm $arg" ;; *) files="$files $arg" ;; esac done if test -z "$rm"; then $echo "$modename: you must specify an RM program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi rmdirs= origobjdir="$objdir" for file in $files; do dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$file"; then dir=. objdir="$origobjdir" else objdir="$dir/$origobjdir" fi name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" case "$mode" in clean) case " $library_names " in # " " in the beginning catches empty $dlname *" $dlname "*) ;; *) rmfiles="$rmfiles $objdir/$dlname" ;; esac test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. cmds=$postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. cmds=$old_postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # Read the .lo file . $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" \ && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" \ && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) file=`$echo $file|${SED} 's,.exe$,,'` noexename=`$echo $name|${SED} 's,.exe$,,'` # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$noexename # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac $show "$rm $rmfiles" $run $rm $rmfiles || exit_status=1 done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then $show "rmdir $dir" $run rmdir $dir >/dev/null 2>&1 fi done exit $exit_status ;; "") $echo "$modename: you must specify a MODE" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE ;; esac if test -z "$exec_cmd"; then $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE fi fi # test -z "$show_help" if test -n "$exec_cmd"; then eval exec $exec_cmd exit $EXIT_FAILURE fi # We need to display help for each of the modes. case $mode in "") $echo \ "Usage: $modename [OPTION]... [MODE-ARG]... Provide generalized library-building support services. --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --finish same as \`--mode=finish' --help display this help message and exit --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] --quiet same as \`--silent' --silent don't print informational messages --tag=TAG use configuration variables from tag TAG --version print version information MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for a more detailed description of MODE. Report bugs to ." exit $EXIT_SUCCESS ;; clean) $echo \ "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $echo \ "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -static always build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $echo \ "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $echo \ "Usage: $modename [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $echo \ "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $echo \ "Usage: $modename [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $echo \ "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac $echo $echo "Try \`$modename --help' for more information about other modes." exit $? # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared disable_libs=shared # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static disable_libs=static # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: xmlroff-0.6.2/config/missing0000755000175000017500000002540610535563747013007 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: xmlroff-0.6.2/tools/0000777000175000017500000000000011156164706011350 500000000000000xmlroff-0.6.2/tools/insert-file-as-string.pl0000755000175000017500000000311310611742676015753 00000000000000#!/usr/bin/perl # Fo # insert-file-as-string.pl: Insert a file into a C program as a string # # Copyright (C) 2006 Sun Microsystems # # $Id: insert-file-as-string.pl,v 1.1 2006/04/16 20:27:09 tonygraham Exp $ # # See COPYING for the status of this software. # # Reads a text file, converts it into a form that is safe to include # in a C source file, then reads a C source code file and replaces all # occurrences of a string ('REPLACE_ME' by default) with the string # form of the text file. Result is printed to STDOUT. ############################################################ # Library modules use Getopt::Long; ############################################################ # Constants # # Usage statement $cUsage = <<"EndOfUsage"; Usage: perl $0 --file where: file = File to insert c-file = C source code file into which to insert file EndOfUsage ############################################################ # Global variables # File $gFile = ''; # Token to replace $gToken = 'REPLACE_ME'; ############################################################ # Main program &GetOptions("file=s" => \$gFile, "token:s" => \$gToken); if ($gToken eq '') { $gToken = "REPLACE_ME"; } # Die if we don't have any files if (@ARGV != 1 || $gFile eq '') { die $cUsage; } open(FILE, $gFile) or die "Couldn't open file: \"", $gFile, "\""; undef $/; $gFileString = ; $/ = "\n"; chomp $gFileString; $gFileString =~ s/"/\\"/g; $gFileString =~ s/^/"/mg; $gFileString =~ s/$/\\n"/mg; #print $gFileString; while (<>) { s/$gToken/$gFileString/g; print $_ } xmlroff-0.6.2/README0000644000175000017500000000440410643167450011005 00000000000000This directory includes the xmlroff XSL Formatter. xmlroff is a fast, free, high-quality, multi-platform XSL formatter that aims to excel at DocBook formatting and that integrates easily with other programs and with scripting languages. The xmlroff XSL Formatter is a library -- libfo -- and a command-line program -- xmlroff -- for formatting XML according to the XSL 1.0 Recommendation. See http://xmlroff.org/. To test xmlroff, format the xmlroff man page: xmlroff/xmlroff docs/xmlroff.fo PDF output is written to layout.pdf. xmlroff.fo documents the xmlroff command-line options and parameters, so you can use the formatted output as a guide for running xmlroff. Compatibility ============= Details of the compatibility with the XSL 1.0 Specification of the current xmlroff version is shown in the xmlroff manual (see './docs/html/index.html') and on the xmlroff website at http://xmlroff.org/. Use the libfo-compat.xsl stylesheet (both built into xmlroff and installed when you installed xmlroff) to remove or rewrite some of the formatting objects and properties that cause problems when using xmlroff. The built-in libfo-compat.xsl stylesheet is enabled by default when running xmlroff. To write a copy of the built-in libfo-compat.xsl stylesheet: xmlroff --compat-stylesheet > libfo-compat.xsl To get the location of the installed libfo-compat.xsl stylesheet: pkg-config --variable=compat_stylesheet libfo-0.5 To disable compatibility processing: xmlroff --nocompat in.fo Dependencies ============ libfo depends on GNOME Print, GDK, Pango, Cairo, libxml2, libxslt, GLib, and GObject. Building libfo additionally requires Perl. See the xmlroff website for further details. Building ======== See the file INSTALL for details. License ======= The xmlroff XSL Formatter is licensed under the terms of a BSD-style license. See the file COPYING for details. Mailing List ============ See http://xmlroff.org/wiki/MailingLists. xmlroff and libfo are discussed and releases are announced on the xmlroff-list@xmlroff.org mailing list. See http://lists.xmlroff.org/mailman/listinfo/xmlroff-list Releases are also announced on the xmlroff-announce@xmlroff.org mailing list. See http://lists.xmlroff.org/mailman/listinfo/xmlroff-announce Tony Graham 4 July 2007 xmlroff-0.6.2/configure.ac0000644000175000017500000004167111150536665012424 00000000000000dnl Process this file with autoconf to create configure. set # require autoconf 2.53 AC_PREREQ(2.53) dnl The following version number definitions apply to xmlroff and libfo dnl as a whole, so if changes occurred in any of them, they are all dnl treated with the same interface and binary age. dnl dnl Making releases: dnl xmlroff_micro += 1; dnl xmlroff_interface_age += 1; dnl if any functions have been added: dnl xmlroff_interface_age = 0 dnl if backwards compatibility has been broken: dnl xmlroff_binary_age = 0; dnl xmlroff_interface_age = 0; m4_define([xmlroff_version_major],0) m4_define([xmlroff_version_minor],6) m4_define([xmlroff_version_micro],2) m4_define([xmlroff_interface_age],0) m4_define([xmlroff_version], [xmlroff_version_major.xmlroff_version_minor.xmlroff_version_micro]) dnl m4_define([xmlroff_binary_age],0) m4_define([xmlroff_binary_age],m4_eval(100 * xmlroff_version_minor + xmlroff_version_micro)) AC_INIT([xmlroff XSL Formatter], xmlroff_version(), [http://xmlroff.org/newticket], xmlroff) AM_CONFIG_HEADER(config.h) XMLROFF_VERSION_MAJOR=xmlroff_version_major() XMLROFF_VERSION_MINOR=xmlroff_version_minor() XMLROFF_VERSION_MICRO=xmlroff_version_micro() XMLROFF_VERSION=xmlroff_version() XMLROFF_BINARY_AGE=xmlroff_binary_age() if test -d .svn ; then extra=`svn info | grep Revision | sed 's+Revision: ++'` echo extra=$extra if test "$extra" != "" then XMLROFF_VERSION_EXTRA="-SVN$extra" fi fi AC_SUBST(XMLROFF_VERSION_MAJOR) AC_SUBST(XMLROFF_VERSION_MINOR) AC_SUBST(XMLROFF_VERSION_MICRO) AC_SUBST(XMLROFF_VERSION) AC_SUBST(XMLROFF_VERSION_EXTRA) AC_SUBST(XMLROFF_INTERFACE_AGE) AC_SUBST(XMLROFF_BINARY_AGE) AC_DEFINE(XMLROFF_BINARY_AGE, xmlroff_binary_age(), [xmlroff binary age]) AC_DEFINE(XMLROFF_INTERFACE_AGE, xmlroff_interface_age(), [xmlroff interface age]) AC_DEFINE(XMLROFF_VERSION_MAJOR, xmlroff_version_major(), [xmlroff major version]) AC_DEFINE(XMLROFF_VERSION_MINOR, xmlroff_version_minor(), [xmlroff minor version]) AC_DEFINE(XMLROFF_VERSION_MICRO, xmlroff_version_micro(), [xmlroff micro version]) dnl libtool versioning m4_define([lt_current],m4_eval(100 * xmlroff_version_minor + xmlroff_version_micro - xmlroff_interface_age)) m4_define([lt_revision],xmlroff_interface_age) m4_define([lt_age],m4_eval(xmlroff_binary_age - xmlroff_interface_age)) AC_SUBST(LT_RELEASE,"xmlroff_version_major.xmlroff_version_minor") AC_SUBST(LT_VERSION_INFO,"lt_current:lt_revision:lt_age") AC_SUBST(LT_CURRENT_MINUS_AGE,m4_eval(lt_current - lt_age)) AC_CONFIG_SRCDIR(xmlroff.spec.in) AC_CONFIG_AUX_DIR(config) AM_INIT_AUTOMAKE AM_MAINTAINER_MODE AC_PROG_CC AM_PROG_LIBTOOL dnl dnl Debug for TG (-Wunreachable-code) dnl AH_TEMPLATE([LIBFO_DEBUG], [Enable development debugging messages.]) AC_ARG_WITH(libfo_debug, AC_HELP_STRING([--enable-libfo-debug], [Enable development debugging messages (off)])) if test "`pwd`" = "/usr/local/src/xslfo/xmlroff" ; then if test "${enable_libfo_debug}" = "" ; then enable_libfo_debug="yes" fi dnl CFLAGS="-Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline " CFLAGS="-Wall -g -O -W " # Always build CUnit tests enable_cunit=yes fi if test "$enable_libfo_debug" = "yes" ; then echo Enabling development debug support LIBFO_DEBUG=1 AC_DEFINE(LIBFO_DEBUG) else LIBFO_DEBUG=0 fi AC_SUBST(LIBFO_DEBUG) # # Find pkg-config # We need a minimum of version 0.5. # PKG_PROG_PKG_CONFIG([0.5]) # # Checks for GLib # We need a minimum of 2.6.0. # If >= 2.12.0 is found we can use g_option_context_set_summary(). # GLIB_REQUIRED_VERSION=2.6.0 have_glib=false PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-2.0 gthread-2.0, have_glib=true, :) if $have_glib ; then : ; else AC_MSG_ERROR([ *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of *** Glib is always available from ftp://ftp.gtk.org/. ]) fi # xmlroff.c uses g_option_context_set_summary. It was introduced in # glib 2.12, so need to check for it while minimum required version # is less than 2.12.0. OLD_CFLAGS="$CFLAGS" OLD_LIBS="$LIBS" CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS $GLIB_LIBS" AH_TEMPLATE([HAVE_G_OPTION_CONTEXT_SET_SUMMARY], [Define to 1 if you have the `g_option_context_set_summary' function.]) AC_CHECK_LIB([glib-2.0], [g_option_context_set_summary], have_g_option_context_set_summary=yes) if test x$have_g_option_context_set_summary = "xyes" ; then AC_DEFINE(HAVE_G_OPTION_CONTEXT_SET_SUMMARY) fi dnl Would like to just use AC_CHECK_FUNCS, but you either need to play dnl tricks with $LIBS or use AC_CHECK_LIB before using AC_CHECK_FUNCS, dnl so it was more obvious to use just AC_CHECK_LIB without AC_CHECK_FUNCS. dnl dnl AC_CHECK_FUNCS([g_option_context_set_summary]) #GLIB_CFLAGS="-DG_DISABLE_DEPRECATED $GLIB_CFLAGS" CFLAGS="$OLD_CFLAGS" LIBS="$OLD_LIBS" dnl ************************** dnl *** Checks for gtk-doc *** dnl ************************** AC_ARG_WITH(html-dir, AC_HELP_STRING([--with-html-dir=PATH], [Path to installed docs])) if test "x$with_html_dir" = "x" ; then HTML_DIR='${datadir}/gtk-doc/html' else HTML_DIR=$with_html_dir fi AC_SUBST(HTML_DIR) # # Check for sufficiently new gtk-doc # GTK_DOC_MIN_VERSION=1.4 have_gtk_doc=false PKG_CHECK_MODULES(GTK_DOC, gtk-doc >= $GTK_DOC_MIN_VERSION, have_gtk_doc=true, :) AC_MSG_RESULT($have_gtk_doc) AM_CONDITIONAL(HAVE_GTK_DOC, $have_gtk_doc) AC_SUBST(HAVE_GTK_DOC, $have_gtk_doc) AC_CHECK_PROG(DB2HTML, db2html, true, false) AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML) dnl Let people disable the gtk-doc stuff. AC_ARG_ENABLE(gtk-doc, AC_HELP_STRING([--enable-gtk-doc], [use gtk-doc to build documentation [default=no]]), enable_gtk_doc="$enableval", enable_gtk_doc=no) if test "x$enable_gtk_doc" = "xyes" ; then if test "x$have_gtk_doc" = "xtrue" ; then enable_gtk_doc=yes else enable_gtk_doc=no fi fi dnl NOTE: We need to use a separate automake conditional for this dnl to make this work with the tarballs. AM_CONDITIONAL(ENABLE_GTK_DOC, test "x$enable_gtk_doc" = "xyes") AC_ARG_ENABLE(man, [AC_HELP_STRING([--enable-man], [regenerate man pages from Docbook [default=no]])],enable_man=yes, enable_man=no) if test "${enable_man}" != no; then dnl dnl Check for xsltproc dnl AC_PATH_PROG([XSLTPROC], [xsltproc]) if test -z "$XSLTPROC"; then enable_man=no fi fi AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno) # # Checks for libxslt # # Variables for libxslt will also include values appropriate for # libxml2. # LIBXSLT_PACKAGES=libxslt LIBXSLT_REQUIRED_VERSION=1.0.3 have_libxslt=false PKG_CHECK_MODULES(LIBXSLT, $LIBXSLT_PACKAGES >= $LIBXSLT_REQUIRED_VERSION, have_libxslt=true, :) if $have_libxslt ; then : ; else AC_MSG_ERROR([ *** Libxslt $LIBXSLT_REQUIRED_VERSION or newer is required. *** Libxslt is available at http://xsltsoft.org/. ]) fi AC_SUBST(LIBXSLT_LIBS) AC_SUBST(LIBXSLT_CFLAGS) AC_ARG_ENABLE(rebuilds, AC_HELP_STRING([--disable-rebuilds], [disable all source autogeneration rules]), , enable_rebuilds=yes) # define a MAINT-like variable REBUILD which is set if Perl # is found, so autogenerated sources can be rebuilt AC_CHECK_PROGS(PERL, perl5 perl) REBUILD=\# if test "x$enable_rebuilds" = "xyes" && \ test -n "$PERL" && \ $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then REBUILD= fi AC_SUBST(REBUILD) # # Checks for FreeType # FREETYPE_LIBS= FREETYPE_CFLAGS= have_freetype=false AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) if test "x$FREETYPE_CONFIG" != "xno" ; then FREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` FREETYPE_LIBS=`$FREETYPE_CONFIG --libs` AC_CHECK_LIB(freetype, FT_New_Face, have_freetype=true ,:,$FREETYPE_LIBS) fi AC_SUBST(FREETYPE_LIBS) AC_SUBST(FREETYPE_CFLAGS) AM_CONDITIONAL(HAVE_FREETYPE, $have_freetype) AH_TEMPLATE([ENABLE_GP], [Enable support for GNOME Print backend of xmlroff.]) AC_ARG_ENABLE(gp, AC_HELP_STRING([--enable-gp], [build GNOME Print output capability (default=yes)]), enable_gp_arg="$enableval", enable_gp_arg=yes) if test "x$enable_gp_arg" != "xyes" ; then enable_gp_arg=no fi enable_gp=false GNOMEPRINT_REQUIRES="" if test "x$enable_gp_arg" = "xyes" ; then # # Check for libgnomeprint support requirement # have_gnomeprint=false PKG_CHECK_MODULES(GNOMEPRINT, libgnomeprint-2.2 >= 2.8, have_gnomeprint=true, :) if $have_gnomeprint; then enable_gp=true AC_DEFINE(ENABLE_GP,1) GNOMEPRINT_REQUIRES="pango" else AC_DEFINE(ENABLE_GP,0) GNOMEPRINT_LIBS="" GNOMEPRINT_CFLAGS="" fi fi AC_SUBST(GNOMEPRINT_ENABLED, [$enable_gp]) AC_SUBST(GNOMEPRINT_REQUIRES) AC_SUBST(GNOMEPRINT_LIBS) AC_SUBST(GNOMEPRINT_CFLAGS) AC_SUBST(ENABLE_GP, [$enable_gp]) AM_CONDITIONAL(ENABLE_GP, [$enable_gp]) # # Checks for Cairo # AH_TEMPLATE([ENABLE_CAIRO], [Enable support for Cairo backend of xmlroff.]) AC_ARG_ENABLE(cairo, AC_HELP_STRING([--enable-cairo], [build Cairo output capability (default=yes)]), enable_cairo_arg="$enableval", enable_cairo_arg=yes) if test "x$enable_cairo_arg" != "xyes" ; then enable_cairo_arg=no fi enable_cairo=false CAIRO_REQUIRES="" have_cairo=false have_cairo_freetype=false have_cairo_win32=false if test "x$enable_cairo_arg" = "xyes" ; then PKG_CHECK_MODULES(CAIRO, cairo >= 1.2.4, have_cairo=true, :) if $have_cairo ; then pango_save_ldflags=$LDFLAGS m4_pattern_allow([PKG_CONFIG_DISABLE_UNINSTALLED]) INSTALLED_CAIRO_LIBS=`PKG_CONFIG_DISABLE_UNINSTALLED=yes $PKG_CONFIG --libs cairo` LDFLAGS="$LDFLAGS $INSTALLED_CAIRO_LIBS" enable_cairo=true AC_CHECK_LIB(cairo, cairo_win32_scaled_font_select_font, have_cairo_win32=true, :) AC_DEFINE(ENABLE_CAIRO,1) if $have_cairo_win32 && $have_win32; then AC_DEFINE(HAVE_CAIRO_WIN32, 1, [Whether Cairo uses the Win32 GDI for fonts]) else AC_CHECK_LIB(cairo, cairo_ft_scaled_font_lock_face, have_cairo_freetype=true, :) if $have_cairo_freetype && $have_freetype ; then AC_DEFINE(HAVE_CAIRO_FREETYPE, 1, [Whether Cairo uses FreeType for fonts]) else have_cairo=false AC_DEFINE(ENABLE_CAIRO,0) fi fi LDFLAGS=$pango_save_ldflags fi fi AC_SUBST(CAIRO_ENABLED, [$enable_cairo]) AC_SUBST(ENABLE_CAIRO, [$enable_cairo]) AM_CONDITIONAL(ENABLE_CAIRO, [$enable_cairo]) AM_CONDITIONAL(HAVE_CAIRO, $have_cairo) AM_CONDITIONAL(HAVE_CAIRO_WIN32, $have_cairo_win32 && $have_win32) AM_CONDITIONAL(HAVE_CAIRO_FREETYPE, $have_cairo_freetype && $have_freetype) AH_TEMPLATE(HAVE_LIBRSVG, [Whether Cairo can render SVG files]) have_librsvg=false if $enable_cairo ; then PKG_CHECK_MODULES(LIBRSVG, librsvg-2.0 >= 2.4.0, have_librsvg=true, :) fi AM_CONDITIONAL(HAVE_LIBRSVG, $have_librsvg) AC_SUBST(HAVE_LIBRSVG, [$have_librsvg]) AC_SUBST(LIBRSVG_LIBS) AC_SUBST(LIBRSVG_CFLAGS) # # Check have at least one backend enabled # if $enable_gp || $enable_cairo ; then : ; else AC_MSG_ERROR([ *** No backends are enabled. *** Must have at least one backend to build xmlroff.]) fi # # Checks for Pango # PANGO_PACKAGES= PANGO_REQUIRED_VERSION=1.10 if $enable_gp ; then PANGO_PACKAGES="$GNOMEPRINT_REQUIRES" fi if $enable_cairo ; then PANGO_PACKAGES="$PANGO_PACKAGES pangocairo" fi have_pango=false PKG_CHECK_MODULES(PANGO, $PANGO_PACKAGES >= $PANGO_REQUIRED_VERSION, have_pango=true, :) if $have_pango ; then : ; else AC_MSG_ERROR([ *** Pango $PANGO_REQUIRED_VERSION or newer is required. *** Pango is available at http://pango.org/. ]) fi AC_SUBST(PANGO_LIBS) AC_SUBST(PANGO_CFLAGS) # # Checks for GdkPixBuf # GDKPIXBUF_PACKAGES=gdk-pixbuf-2.0 GDKPIXBUF_REQUIRED_VERSION=2.2 have_gdkpixbuf=false PKG_CHECK_MODULES(GDKPIXBUF, $GDKPIXBUF_PACKAGES >= $GDKPIXBUF_REQUIRED_VERSION, have_gdkpixbuf=true, :) if $have_gdkpixbuf ; then : ; else AC_MSG_ERROR([ *** GdkPixbuf $GDKPIXBUF_REQUIRED_VERSION or newer is required. *** GdkPixbuf is available at http://gtk.org. ]) fi AC_SUBST(GDKPIXBUF_LIBS) AC_SUBST(GDKPIXBUF_CFLAGS) AC_MSG_CHECKING([for some Win32 platform]) case "$host" in *-*-mingw*|*-*-cygwin*) xmlroff_platform_win32=yes ;; *) xmlroff_platform_win32=no ;; esac AC_MSG_RESULT([$xmlroff_platform_win32]) AM_CONDITIONAL(PLATFORM_WIN32, test "$xmlroff_platform_win32" = "yes") AH_TEMPLATE([PIXELS_PER_INCH], [Pixels per inch for use with graphics without intrinsic size.]) pixels_per_inch_default=96 AC_ARG_WITH(pixels_per_inch, AC_HELP_STRING([--with-pixels-per-inch], [Pixels per inch (default=pixels_per_inch_default)]), pixels_per_inch="$withval", :) if test "x$with_pixels_per_inch" = "x" ; then PIXELS_PER_INCH=$pixels_per_inch_default else PIXELS_PER_INCH=$with_pixels_per_inch fi AC_DEFINE_UNQUOTED(PIXELS_PER_INCH,$PIXELS_PER_INCH) AH_TEMPLATE([ENABLE_CLIP], [Enable clipping to area extent. Clipping should only be disabled when debugging.]) AC_ARG_ENABLE(clip, AC_HELP_STRING([--enable-clip], [enable clipping to area extent (default=yes)]), enable_clip_arg="$clipval", enable_clip_arg=yes) if test "x$enable_clip_arg" = "xyes" ; then AC_DEFINE(ENABLE_CLIP,1) else AC_DEFINE(ENABLE_CLIP,0) fi dnl dnl Check for svn2cl for generating ChangeLog dnl enable_svn2cl=yes AC_PATH_PROG([SVN2CL], [svn2cl]) if test -z "$SVN2CL"; then enable_svn2cl=no fi AM_CONDITIONAL(ENABLE_SVN2CL, test x$enable_svn2cl != xno) AC_ARG_WITH(changelog-oldest, AC_HELP_STRING([--with-changelog-oldest=NUMBER], [Oldest revision to include in ChangeLog])) if test "x$with_changelog_oldest" = "x" ; then # Update this when moving current ChangeLog to ChangeLog.pre-nn. CHANGELOG_OLDEST=377 else CHANGELOG_OLDEST=$with_changelog_oldest fi AC_SUBST(CHANGELOG_OLDEST) # # Check for CUnit # OLD_CFLAGS="$CFLAGS" CUNIT_CFLAGS="-I/usr/local/include" CFLAGS="$CFLAGS $CUNIT_CFLAGS" OLD_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -I/usr/local/include" OLD_LIBS="$LIBS" CUNIT_LIBS="-L/usr/local/lib" LIBS="$LIBS $CUNIT_LIBS" have_cunit=false AC_CHECK_HEADER([CUnit/CUnit.h], have_cunit=true) dnl Let people disable the CUnit stuff. AC_ARG_ENABLE(cunit, AC_HELP_STRING([--enable-cunit], [use CUnit to run unit tests (default=no)]), enable_cunit_arg="$enableval", enable_cunit_arg=no) if test "x$enable_cunit_arg" != "xno" ; then enable_cunit_arg=yes fi build_cunit=false if test "x$enable_cunit_arg" = "xyes" && \ test "x$have_cunit" = "xtrue" ; then build_cunit=true fi CUNIT_LIBS="$CUNIT_LIBS -lcunit" AC_SUBST(CUNIT_LIBS) AC_SUBST(CUNIT_CFLAGS) CFLAGS="$OLD_CFLAGS" CPPFLAGS="$OLD_CPPFLAGS" LIBS="$OLD_LIBS" dnl NOTE: We need to use a separate automake conditional for this dnl to make this work with the tarballs. AM_CONDITIONAL(ENABLE_CUNIT,$build_cunit) AC_CONFIG_COMMANDS([libfo/libfo-features.h], [featuresfile=libfo/libfo-features.h outfile=$featuresfile.tmp AC_MSG_NOTICE([creating $featuresfile]) cat >$outfile <<_EOF /* Generated by configure. Do not edit */ #ifndef __LIBFO_FEATURES_H__ #define __LIBFO_FEATURES_H__ #define LIBFO_VERSION_MAJOR $LIBFO_VERSION_MAJOR #define LIBFO_VERSION_MINOR $LIBFO_VERSION_MINOR #define LIBFO_VERSION_MICRO $LIBFO_VERSION_MICRO #define LIBFO_PIXELS_PER_INCH $LIBFO_PIXELS_PER_INCH #define LIBFO_VERSION_STRING "$LIBFO_VERSION_MAJOR.$LIBFO_VERSION_MINOR.$LIBFO_VERSION_MICRO" #define LIBFO_VERSION_EXTRA "$LIBFO_VERSION_EXTRA" _EOF # TODO: define macros for enabled features/backends here echo '' >>$outfile echo '#endif /* __LIBFO_FEATURES_H__ */' >>$outfile if cmp -s $outfile $featuresfile; then AC_MSG_NOTICE([$featuresfile is unchanged]) rm -f $outfile else mv $outfile $featuresfile fi ],[ LIBFO_VERSION_MAJOR=$XMLROFF_VERSION_MAJOR LIBFO_VERSION_MINOR=$XMLROFF_VERSION_MINOR LIBFO_VERSION_MICRO=$XMLROFF_VERSION_MICRO LIBFO_VERSION_EXTRA=$XMLROFF_VERSION_EXTRA LIBFO_PIXELS_PER_INCH=$PIXELS_PER_INCH ]) AC_OUTPUT([ INSTALL Makefile cunit/Makefile docs/Makefile examples/Makefile examples/xml2003/Makefile libfo/Makefile libfo/area/Makefile libfo/datatype/Makefile libfo/expr/Makefile libfo/fo/Makefile libfo/property/Makefile libfo/util/Makefile libfo-0.6.pc xmlroff.spec xmlroff/Makefile catalog.xml ]) fo_doc_subtypes="" if $enable_cairo ; then fo_doc_subtypes="$fo_doc_subtypes 'Cairo'"; fi if $enable_gp ; then fo_doc_subtypes="$fo_doc_subtypes 'GNOME Print'"; fi echo " Configuration: Enabled FoDoc subtypes:$fo_doc_subtypes" echo " CUnit tests enabled: $build_cunit" xmlroff-0.6.2/aclocal.m40000644000175000017500000103257011150536674011775 00000000000000# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 52 Debian 1.5.26-1ubuntu1 AC_PROG_LIBTOOL # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) # ----------------------------------------------------------- # If this macro is not defined by Autoconf, define it here. m4_ifdef([AC_PROVIDE_IFELSE], [], [m4_define([AC_PROVIDE_IFELSE], [m4_ifdef([AC_PROVIDE_$1], [$2], [$3])])]) # AC_PROG_LIBTOOL # --------------- AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. AC_PROVIDE_IFELSE([AC_PROG_CXX], [AC_LIBTOOL_CXX], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX ])]) dnl And a similar setup for Fortran 77 support AC_PROVIDE_IFELSE([AC_PROG_F77], [AC_LIBTOOL_F77], [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 ])]) dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [ifdef([AC_PROG_GCJ], [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([A][M_PROG_GCJ], [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([LT_AC_PROG_GCJ], [define([LT_AC_PROG_GCJ], defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) ])])# AC_PROG_LIBTOOL # _AC_PROG_LIBTOOL # ---------------- AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) ])# _AC_PROG_LIBTOOL # AC_LIBTOOL_SETUP # ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl AC_LIBTOOL_SYS_MAX_CMD_LEN AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE AC_LIBTOOL_OBJDIR AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] # Same as above, but do not quote variable references. [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" AC_CHECK_TOOL(AR, ar, false) AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(STRIP, strip, :) old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then AC_PATH_MAGIC fi ;; esac _LT_REQUIRED_DARWIN_CHECKS AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], enable_win32_dll=yes, enable_win32_dll=no) AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes AC_ARG_WITH([pic], [AC_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= AC_LIBTOOL_LANG_C_CONFIG _LT_AC_TAGCONFIG ])# AC_LIBTOOL_SETUP # _LT_AC_SYS_COMPILER # ------------------- AC_DEFUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_AC_SYS_COMPILER # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. AC_DEFUN([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` ]) # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. AC_DEFUN([_LT_COMPILER_BOILERPLATE], [AC_REQUIRE([LT_AC_PROG_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. AC_DEFUN([_LT_LINKER_BOILERPLATE], [AC_REQUIRE([LT_AC_PROG_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # -------------------------- # Check for some things on darwin AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. echo "int foo(void){return 1;}" > conftest.c $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib ${wl}-single_module conftest.c if test -f libconftest.dylib; then lt_cv_apple_cc_single_mod=yes rm -rf libconftest.dylib* fi rm conftest.c fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS="$save_LDFLAGS" ]) case $host_os in rhapsody* | darwin1.[[0123]]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[[012]]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" fi if test "$DSYMUTIL" != ":"; then _lt_dsymutil="~$DSYMUTIL \$lib || :" else _lt_dsymutil= fi ;; esac ]) # _LT_AC_SYS_LIBPATH_AIX # ---------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_LINK_IFELSE(AC_LANG_PROGRAM,[ lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ])# _LT_AC_SYS_LIBPATH_AIX # _LT_AC_SHELL_INIT(ARG) # ---------------------- AC_DEFUN([_LT_AC_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], [AC_DIVERT_PUSH(NOTICE)]) $1 AC_DIVERT_POP ])# _LT_AC_SHELL_INIT # _LT_AC_PROG_ECHO_BACKSLASH # -------------------------- # Add some code to the start of the generated configure script which # will find an echo command which doesn't interpret backslashes. AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [_LT_AC_SHELL_INIT([ # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac echo=${ECHO-echo} if test "X[$]1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X[$]1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi if test "X[$]1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL [$]0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL [$]0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "[$]0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" fi AC_SUBST(ECHO) ])])# _LT_AC_PROG_ECHO_BACKSLASH # _LT_AC_LOCK # ----------- AC_DEFUN([_LT_AC_LOCK], [AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line __oline__ "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], [*-*-cygwin* | *-*-mingw* | *-*-pw32*) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; ]) esac need_locks="$enable_libtool_lock" ])# _LT_AC_LOCK # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED]) AC_CACHE_CHECK([$1], [$2], [$2=no ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $rm conftest* ]) if test x"[$]$2" = xyes; then ifelse([$5], , :, [$5]) else ifelse([$6], , :, [$6]) fi ])# AC_LIBTOOL_COMPILER_OPTION # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ------------------------------------------------------------ # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $rm -r conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then ifelse([$4], , :, [$4]) else ifelse([$5], , :, [$5]) fi ])# AC_LIBTOOL_LINKER_OPTION # AC_LIBTOOL_SYS_MAX_CMD_LEN # -------------------------- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [# find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi ])# AC_LIBTOOL_SYS_MAX_CMD_LEN # _LT_AC_CHECK_DLFCN # ------------------ AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h)dnl ])# _LT_AC_CHECK_DLFCN # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # --------------------------------------------------------------------- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); }] EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_AC_TRY_DLOPEN_SELF # AC_LIBTOOL_DLOPEN_SELF # ---------------------- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi ])# AC_LIBTOOL_DLOPEN_SELF # AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) # --------------------------------- # Check to see if options -c and -o are simultaneously supported by compiler AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* ]) ])# AC_LIBTOOL_PROG_CC_C_O # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) # ----------------------------------------- # Check to see if we can do hard links to lock some files if needed AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_REQUIRE([_LT_AC_LOCK])dnl hard_links="nottested" if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi ])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS # AC_LIBTOOL_OBJDIR # ----------------- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir ])# AC_LIBTOOL_OBJDIR # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) # ---------------------------------------------- # Check hardcoding attributes. AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_AC_TAGVAR(hardcode_action, $1)= if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existant directories. if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_AC_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_AC_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi ])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH # AC_LIBTOOL_SYS_LIB_STRIP # ------------------------ AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], [striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi ])# AC_LIBTOOL_SYS_LIB_STRIP # AC_LIBTOOL_SYS_DYNAMIC_LINKER # ----------------------------- # PORTME Fill in your ld.so characteristics AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_MSG_CHECKING([dynamic linker characteristics]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" m4_if($1,[],[ if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` else lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` sys_lib_search_path_spec=`echo $lt_search_path_spec` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[[4-9]]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[123]]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[[3-9]]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], [lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], [lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER # _LT_AC_TAGCONFIG # ---------------- AC_DEFUN([_LT_AC_TAGCONFIG], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_ARG_WITH([tags], [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], [include additional configurations @<:@automatic@:>@])], [tagnames="$withval"]) if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then AC_MSG_WARN([output file `$ofile' does not exist]) fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi fi if test -z "$LTCFLAGS"; then eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in "") ;; *) AC_MSG_ERROR([invalid tag name: $tagname]) ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_LIBTOOL_LANG_CXX_CONFIG else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then AC_LIBTOOL_LANG_F77_CONFIG else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then AC_LIBTOOL_LANG_GCJ_CONFIG else tagname="" fi ;; RC) AC_LIBTOOL_LANG_RC_CONFIG ;; *) AC_MSG_ERROR([Unsupported tag name: $tagname]) ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" AC_MSG_ERROR([unable to update list of available tagged configurations.]) fi fi ])# _LT_AC_TAGCONFIG # AC_LIBTOOL_DLOPEN # ----------------- # enable checks for dlopen support AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_DLOPEN # AC_LIBTOOL_WIN32_DLL # -------------------- # declare package support for building win32 DLLs AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_WIN32_DLL # AC_ENABLE_SHARED([DEFAULT]) # --------------------------- # implement the --enable-shared flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([shared], [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]AC_ENABLE_SHARED_DEFAULT) ])# AC_ENABLE_SHARED # AC_DISABLE_SHARED # ----------------- # set the default shared flag to --disable-shared AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_SHARED(no) ])# AC_DISABLE_SHARED # AC_ENABLE_STATIC([DEFAULT]) # --------------------------- # implement the --enable-static flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([static], [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]AC_ENABLE_STATIC_DEFAULT) ])# AC_ENABLE_STATIC # AC_DISABLE_STATIC # ----------------- # set the default static flag to --disable-static AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_STATIC(no) ])# AC_DISABLE_STATIC # AC_ENABLE_FAST_INSTALL([DEFAULT]) # --------------------------------- # implement the --enable-fast-install flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([fast-install], [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) ])# AC_ENABLE_FAST_INSTALL # AC_DISABLE_FAST_INSTALL # ----------------------- # set the default to --disable-fast-install AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_FAST_INSTALL(no) ])# AC_DISABLE_FAST_INSTALL # AC_LIBTOOL_PICMODE([MODE]) # -------------------------- # implement the --with-pic flag # MODE is either `yes' or `no'. If omitted, it defaults to `both'. AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl pic_mode=ifelse($#,1,$1,default) ])# AC_LIBTOOL_PICMODE # AC_PROG_EGREP # ------------- # This is predefined starting with Autoconf 2.54, so this conditional # definition can be removed once we require Autoconf 2.54 or later. m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP]) ])]) # AC_PATH_TOOL_PREFIX # ------------------- # find a file program which can recognize shared library AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="ifelse([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi ])# AC_PATH_TOOL_PREFIX # AC_PATH_MAGIC # ------------- # find a file program which can recognize a shared library AC_DEFUN([AC_PATH_MAGIC], [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# AC_PATH_MAGIC # AC_PROG_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld], [AC_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no]) AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown ])# AC_DEPLIBS_CHECK_METHOD # AC_PROG_NM # ---------- # find the pathname to a BSD-compatible name lister AC_DEFUN([AC_PROG_NM], [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi]) NM="$lt_cv_path_NM" ])# AC_PROG_NM # AC_CHECK_LIBM # ------------- # check for math library AC_DEFUN([AC_CHECK_LIBM], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac ])# AC_CHECK_LIBM # AC_LIBLTDL_CONVENIENCE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl convenience library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-convenience to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # it is assumed to be `libltdl'. LIBLTDL will be prefixed with # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' # (note the single quotes!). If your package is not flat and you're not # using automake, define top_builddir and top_srcdir appropriately in # the Makefiles. AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl case $enable_ltdl_convenience in no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; "") enable_ltdl_convenience=yes ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; esac LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_CONVENIENCE # AC_LIBLTDL_INSTALLABLE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl installable library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-install to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # and an installed libltdl is not found, it is assumed to be `libltdl'. # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with # '${top_srcdir}/' (note the single quotes!). If your package is not # flat and you're not using automake, define top_builddir and top_srcdir # appropriately in the Makefiles. # In the future, this macro may have to be called after AC_PROG_LIBTOOL. AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_CHECK_LIB(ltdl, lt_dlinit, [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], [if test x"$enable_ltdl_install" = xno; then AC_MSG_WARN([libltdl not installed, but installation disabled]) else enable_ltdl_install=yes fi ]) if test x"$enable_ltdl_install" = x"yes"; then ac_configure_args="$ac_configure_args --enable-ltdl-install" LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) else ac_configure_args="$ac_configure_args --enable-ltdl-install=no" LIBLTDL="-lltdl" LTDLINCL= fi # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_INSTALLABLE # AC_LIBTOOL_CXX # -------------- # enable support for C++ libraries AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_LT_AC_LANG_CXX]) ])# AC_LIBTOOL_CXX # _LT_AC_LANG_CXX # --------------- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) ])# _LT_AC_LANG_CXX # _LT_AC_PROG_CXXCPP # ------------------ AC_DEFUN([_LT_AC_PROG_CXXCPP], [ AC_REQUIRE([AC_PROG_CXX]) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP fi ])# _LT_AC_PROG_CXXCPP # AC_LIBTOOL_F77 # -------------- # enable support for Fortran 77 libraries AC_DEFUN([AC_LIBTOOL_F77], [AC_REQUIRE([_LT_AC_LANG_F77]) ])# AC_LIBTOOL_F77 # _LT_AC_LANG_F77 # --------------- AC_DEFUN([_LT_AC_LANG_F77], [AC_REQUIRE([AC_PROG_F77]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) ])# _LT_AC_LANG_F77 # AC_LIBTOOL_GCJ # -------------- # enable support for GCJ libraries AC_DEFUN([AC_LIBTOOL_GCJ], [AC_REQUIRE([_LT_AC_LANG_GCJ]) ])# AC_LIBTOOL_GCJ # _LT_AC_LANG_GCJ # --------------- AC_DEFUN([_LT_AC_LANG_GCJ], [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) ])# _LT_AC_LANG_GCJ # AC_LIBTOOL_RC # ------------- # enable support for Windows resource files AC_DEFUN([AC_LIBTOOL_RC], [AC_REQUIRE([LT_AC_PROG_RC]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) ])# AC_LIBTOOL_RC # AC_LIBTOOL_LANG_C_CONFIG # ------------------------ # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) AC_DEFUN([_LT_AC_LANG_C_CONFIG], [lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP AC_LIBTOOL_DLOPEN_SELF # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_C_CONFIG # AC_LIBTOOL_LANG_CXX_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++) AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_AC_TAGVAR(no_undefined_flag, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Dependencies to place before and after the object being linked: _LT_AC_TAGVAR(predep_objects, $1)= _LT_AC_TAGVAR(postdep_objects, $1)= _LT_AC_TAGVAR(predeps, $1)= _LT_AC_TAGVAR(postdeps, $1)= _LT_AC_TAGVAR(compiler_lib_search_path, $1)= _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration AC_PROG_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_AC_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; darwin* | rhapsody*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" if test "$GXX" = yes ; then output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" if test "$lt_cv_apple_cc_single_mod" != "yes"; then _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd[[12]]*) # C++ shared libraries reported to be fairly broken before switch to ELF _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_AC_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; hpux9*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. # So that behaviour is only enabled if SCOABSPATH is set to a # non-empty value in the environment. Most likely only useful for # creating official distributions of packages. # This is a hack until libtool officially supports absolute path # names for shared libraries. _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_AC_TAGVAR(GCC, $1)="$GXX" _LT_AC_TAGVAR(LD, $1)="$LD" AC_LIBTOOL_POSTDEP_PREDEP($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld ])# AC_LIBTOOL_LANG_CXX_CONFIG # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) # ------------------------------------ # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], [AC_REQUIRE([LT_AC_PROG_SED])dnl dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; esac ]) case " $_LT_AC_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac ])# AC_LIBTOOL_POSTDEP_PREDEP # AC_LIBTOOL_LANG_F77_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)]) AC_DEFUN([_LT_AC_LANG_F77_CONFIG], [AC_REQUIRE([AC_PROG_F77]) AC_LANG_PUSH(Fortran 77) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_AC_TAGVAR(no_undefined_flag, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${F77-"f77"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_AC_TAGVAR(GCC, $1)="$G77" _LT_AC_TAGVAR(LD, $1)="$LD" AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_F77_CONFIG # AC_LIBTOOL_LANG_GCJ_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)]) AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], [AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${GCJ-"gcj"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_CONFIG($1) AC_LANG_RESTORE CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_GCJ_CONFIG # AC_LIBTOOL_LANG_RC_CONFIG # ------------------------- # Ensure that the configuration vars for the Windows resource compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)]) AC_DEFUN([_LT_AC_LANG_RC_CONFIG], [AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${RC-"windres"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes AC_LIBTOOL_CONFIG($1) AC_LANG_RESTORE CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_RC_CONFIG # AC_LIBTOOL_CONFIG([TAGNAME]) # ---------------------------- # If TAGNAME is not passed, then create an initial libtool script # with a default configuration from the untagged config vars. Otherwise # add code to config.status for appending the configuration named by # TAGNAME from the matching tagged config vars. AC_DEFUN([AC_LIBTOOL_CONFIG], [# The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ _LT_AC_TAGVAR(compiler, $1) \ _LT_AC_TAGVAR(CC, $1) \ _LT_AC_TAGVAR(LD, $1) \ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \ _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \ _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ _LT_AC_TAGVAR(old_archive_cmds, $1) \ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ _LT_AC_TAGVAR(predep_objects, $1) \ _LT_AC_TAGVAR(postdep_objects, $1) \ _LT_AC_TAGVAR(predeps, $1) \ _LT_AC_TAGVAR(postdeps, $1) \ _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \ _LT_AC_TAGVAR(archive_cmds, $1) \ _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ _LT_AC_TAGVAR(postinstall_cmds, $1) \ _LT_AC_TAGVAR(postuninstall_cmds, $1) \ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ _LT_AC_TAGVAR(allow_undefined_flag, $1) \ _LT_AC_TAGVAR(no_undefined_flag, $1) \ _LT_AC_TAGVAR(export_symbols_cmds, $1) \ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \ _LT_AC_TAGVAR(hardcode_automatic, $1) \ _LT_AC_TAGVAR(module_cmds, $1) \ _LT_AC_TAGVAR(module_expsym_cmds, $1) \ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ _LT_AC_TAGVAR(fix_srcfile_path, $1) \ _LT_AC_TAGVAR(exclude_expsyms, $1) \ _LT_AC_TAGVAR(include_expsyms, $1); do case $var in _LT_AC_TAGVAR(old_archive_cmds, $1) | \ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \ _LT_AC_TAGVAR(archive_cmds, $1) | \ _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ _LT_AC_TAGVAR(module_cmds, $1) | \ _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\[$]0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'` ;; esac ifelse([$1], [], [cfgfile="${ofile}T" trap "$rm \"$cfgfile\"; exit 1" 1 2 15 $rm -f "$cfgfile" AC_MSG_NOTICE([creating $ofile])], [cfgfile="$ofile"]) cat <<__EOF__ >> "$cfgfile" ifelse([$1], [], [#! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG], [# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_[]_LT_AC_TAGVAR(LD, $1) # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) # The directories searched by this compiler when creating a shared # library compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) ifelse([$1],[], [# ### END LIBTOOL CONFIG], [# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ ifelse([$1],[], [ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ]) else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ])# AC_LIBTOOL_CONFIG # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi ])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # --------------------------------- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([LT_AC_PROG_SED]) AC_REQUIRE([AC_PROG_NM]) AC_REQUIRE([AC_OBJEXT]) # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32*) symcode='[[ABCDGISTW]]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux* | k*bsd*-gnu) if test "$host_cpu" = ia64; then symcode='[[ABCDGIRSTW]]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[[]] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) # --------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)= AC_MSG_CHECKING([for $compiler option to produce PIC]) ifelse([$1],[CXX],[ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; icpc* | ecpc*) # Intel C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler. _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; vxworks*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; hpux9* | hpux10* | hpux11*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; newsos6) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='' ;; esac ;; esac ;; osf3* | osf4* | osf5*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1), [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" ;; esac # # Check to make sure the static flag actually works. # wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) ]) # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) # ------------------------------------ # See if the linker supports building shared libraries. AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) ifelse([$1],[CXX],[ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw*) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' ;; linux* | k*bsd*-gnu) _LT_AC_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] ],[ runpath_var= _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)= _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_AC_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. _LT_CC_BASENAME([$compiler]) case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac _LT_AC_TAGVAR(ld_shlibs, $1)=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; interix[[3-9]]*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; *) tmp_sharedflag='-shared' ;; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi _LT_AC_TAGVAR(link_all_deplibs, $1)=no else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=yes _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # see comment about different semantics on the GNU ld section _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; bsdi[[45]]*) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; freebsd1*) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' if test "$GCC" = yes; then wlarc='${wl}' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_AC_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_AC_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_AC_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_MSG_CHECKING([whether -lc should be explicitly linked in]) $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) _LT_AC_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no else _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) ;; esac fi ;; esac ])# AC_LIBTOOL_PROG_LD_SHLIBS # _LT_AC_FILE_LTDLL_C # ------------------- # Be careful that the start marker always follows a newline. AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include # #undef WIN32_LEAN_AND_MEAN # #include # # #ifndef __CYGWIN__ # # ifdef __CYGWIN32__ # # define __CYGWIN__ __CYGWIN32__ # # endif # #endif # # #ifdef __cplusplus # extern "C" { # #endif # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); # #ifdef __cplusplus # } # #endif # # #ifdef __CYGWIN__ # #include # DECLARE_CYGWIN_DLL( DllMain ); # #endif # HINSTANCE __hDllInstance_base; # # BOOL APIENTRY # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) # { # __hDllInstance_base = hInst; # return TRUE; # } # /* ltdll.c ends here */ ])# _LT_AC_FILE_LTDLL_C # _LT_AC_TAGVAR(VARNAME, [TAGNAME]) # --------------------------------- AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) AC_DEFUN([LT_AC_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj, no) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS) ]) AC_DEFUN([LT_AC_PROG_RC], [AC_CHECK_TOOL(RC, windres, no) ]) # Cheap backport of AS_EXECUTABLE_P and required macros # from Autoconf 2.59; we should not use $as_executable_p directly. # _AS_TEST_PREPARE # ---------------- m4_ifndef([_AS_TEST_PREPARE], [m4_defun([_AS_TEST_PREPARE], [if test -x / >/dev/null 2>&1; then as_executable_p='test -x' else as_executable_p='test -f' fi ])])# _AS_TEST_PREPARE # AS_EXECUTABLE_P # --------------- # Check whether a file is executable. m4_ifndef([AS_EXECUTABLE_P], [m4_defun([AS_EXECUTABLE_P], [AS_REQUIRE([_AS_TEST_PREPARE])dnl $as_executable_p $1[]dnl ])])# AS_EXECUTABLE_P # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # # LT_AC_PROG_SED # -------------- # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. AC_DEFUN([LT_AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR xmlroff-0.6.2/INSTALL.in0000644000175000017500000001306311144610205011550 00000000000000@VERSION@ Beginner's Installation Notes MINI-HOWTO ---------------------------------------------------------- Fabio Arciniegas, Tony Graham Contents -------- . Introduction . Overview of the process . Installing dependencies . Building and installing xmlroff . Common Trouble . Testing Introduction ------------ xmlroff is an open source XSL formatter. xmlroff has the ability of rendering XSL-FO as PDF documents and therefore can be particularly interesting to a variety of individuals and projects (e.g. UBL enthusiasts can render XSL-FO transformations of their documents to PDF). xmlroff is also an alpha technology and as such it's building/installation can be daunting. The goal of this document is to provide a concise but useful guide to the compilation and installation of xmlroff for beginners on a typical modern linux system (such as Debian 9), paying especial attention to details which would otherwise rely on knowledge of C development under Linux. Experts in the compilation of alpha/beta level software on linux platforms will probably want to skip this document. DISCLAIMER ---------- I realize the information on this document is pretty unpolished and makes lots of assumptions about your system. I hope such assumptions are correct for most modern cases (the main target was individual users in linux platforms such as Debian 9), and hope the net effect of this document is positive, but I don't guarantee it in any way. This document does not replace any official documentation, and is provided WITHOUT ANY WARRANTY OR PROMISE EXPLICIT OR IMPLICIT. Overview of the Process ----------------------- The process is ideally very simple: 1. download xmlroff 2. Install the dependencies 3. run make 4. run make install (as root) Instead of providing a generalized version of those steps, assuming you know how to build C programs in linux (that is the goal general install notes are for), I will assume that you have a typical modern workstation configuration and don't know much about building software from scratch on linux. Download xmlroff ---------------- Get the xmlroff source from http://xmlroff.org/ Installing dependencies ----------------------- xmlroff depends on a number of packages: libgnomeprint, pango, cairo, libxml2, libxslt, GTK2, GLib and GObject. I recommend you use your package manager utility (most systems nowadays have KPackage installed as part of the standard KDE environment) to install the most recent packaged versions of each software. When you are installing the packages, you will notice that next to some of them, there are similar packages with the '-dev' (or '-devel') suffix. You will want to install those too, they include header files you need to compile against later. In particular you want to select from the package list: * libxslt1-dev * libpango1.0-dev * libglib2.0-dev * libcairo2-dev and/or libgnomeprint2.2-dev * libgtk2.0-dev (not libgdk-pixbuf-dev) Optional packages include: * librsvg-dev * cunit Note that the exact package name may be different on your system. Building xmlroff ---------------- Now, untar xmlroff : tar zxvf xmlroff-@VERSION@.tar.gz Now you should be ready. Inside the xmlroff directory do these three: ./configure make make install When building from a Subversion checkout, use './autogen.sh' instead of './configure'. TESTING ------- Format the man page for xmlroff: xmlroff/xmlroff docs/xmlroff.fo The result is written to layout.pdf. ENSURING COMPATIBILITY ---------------------- The xmlroff distribution includes a 'libfo-compat.xsl' stylesheet that you can run on your FO files to help ensure that they use only the subset of the XSL specification that xmlroff supports. The stylesheet is built in to xmlroff, and the compatibility processing is enabled by default. 'libfo-compat.xsl' attempts to rewrite or remove elements and attributes that cause problems for xmlroff. The formatted result may not be what you expect, but you are more likely to get formatted output if you do run the compatibility processing on problematic files. To turn off the compatibility processing, use the '--nocompat' option. xmlroff prints a copy of the built-in stylesheet when you use the '--compat-stylesheet' option, plus when you install xmlroff, 'libfo-compat.xsl' typically installs in /usr/share/xml/libfo-@VERSION@ or /usr/local/share/xml/libfo-@VERSION@. There are many ways to use the stylesheet: - Directly using xmlroff xmlroff in.fo or xmlroff --compat in.fo - Directly using xsltproc xsltproc /usr/share/xml/libfo-@VERSION@/libfo-compat.xsl in.fo > out.fo - Directly using xmlroff and xsltproc xmlroff --compat-stylesheet > libfo-compat.xsl xsltproc libfo-compat.xsl in.fo > out.fo - Using XML catalogs Add the following two lines to /etc/xml/catalog: then use the URI for the stylesheet: xsltproc http://xmlroff.org/release/libfo/current/libfo-compat.xsl in.fo > out.fo - Using pkg-config The pkg-config file for libfo defines a variable for the location of 'libfo-compat.xsl': xsltproc `pkg-config --variable=compat_stylesheet libfo-0.5` in.fo > out.fo When you supply a 'verbose' parameter with a non-false value when using 'libfo-compat.xsl' with xsltproc, the stylesheet prints status messages explaining what is being modified. xmlroff-0.6.2/Makefile.am0000644000175000017500000000220211150474537012154 00000000000000# libfo and xmlroff Makefile.am # Only building CUnit tests when both have CUnit and tests are # enabled. if ENABLE_CUNIT CUNIT_DIRS = cunit endif SUBDIRS = libfo xmlroff . examples docs $(CUNIT_DIRS) if PLATFORM_WIN32 no_undefined = -no-undefined endif INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(LIBXSLT_CFLAGS) \ $(GLIB_CFLAGS) \ -Ilibfo pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libfo-0.6.pc xmldir = $(datadir)/xml/libfo-@VERSION@ xml_DATA = \ catalog.xml \ libfo-compat.xsl EXTRA_DIST = \ catalog.xml.in \ libfo-compat.xsl \ xmlroff.fo \ xmlroff.spec \ xmlroff.spec.in \ tools/insert-file-as-string.pl FORCE: ChangeLog: FORCE if ENABLE_SVN2CL svn2cl --include-actions --authors=AUTHORS --group-by-day --separate-daylogs --include-rev --ignore-message-starting='#' --revision HEAD:$(CHANGELOG_OLDEST) endif srpm: rpmbuild -ts --nodeps $(PACKAGE)-$(VERSION).tar.gz svn-tag: -svn mkdir -m"Tagging for modules of xmlroff $(VERSION)." svn://svn.xmlroff.org/tags/xmlroff-$(VERSION) -svn cp -m"Tagging xmlroff $(VERSION)." svn://svn.xmlroff.org/trunk/xmlroff svn://svn.xmlroff.org/tags/xmlroff-$(VERSION)/xmlroff xmlroff-0.6.2/Makefile.in0000644000175000017500000006220111155246042012163 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # libfo and xmlroff Makefile.am srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/INSTALL.in \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/catalog.xml.in $(srcdir)/config.h.in \ $(srcdir)/libfo-0.6.pc.in $(srcdir)/xmlroff.spec.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ TODO config/compile config/config.guess config/config.sub \ config/depcomp config/install-sh config/ltmain.sh \ config/missing mkinstalldirs subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = INSTALL libfo-0.6.pc xmlroff.spec catalog.xml SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(xmldir)" pkgconfigDATA_INSTALL = $(INSTALL_DATA) xmlDATA_INSTALL = $(INSTALL_DATA) DATA = $(pkgconfig_DATA) $(xml_DATA) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = libfo xmlroff . examples docs cunit DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ # Only building CUnit tests when both have CUnit and tests are # enabled. @ENABLE_CUNIT_TRUE@CUNIT_DIRS = cunit SUBDIRS = libfo xmlroff . examples docs $(CUNIT_DIRS) @PLATFORM_WIN32_TRUE@no_undefined = -no-undefined INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(LIBXSLT_CFLAGS) \ $(GLIB_CFLAGS) \ -Ilibfo pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libfo-0.6.pc xmldir = $(datadir)/xml/libfo-@VERSION@ xml_DATA = \ catalog.xml \ libfo-compat.xsl EXTRA_DIST = \ catalog.xml.in \ libfo-compat.xsl \ xmlroff.fo \ xmlroff.spec \ xmlroff.spec.in \ tools/insert-file-as-string.pl all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 INSTALL: $(top_builddir)/config.status $(srcdir)/INSTALL.in cd $(top_builddir) && $(SHELL) ./config.status $@ libfo-0.6.pc: $(top_builddir)/config.status $(srcdir)/libfo-0.6.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ xmlroff.spec: $(top_builddir)/config.status $(srcdir)/xmlroff.spec.in cd $(top_builddir) && $(SHELL) ./config.status $@ catalog.xml: $(top_builddir)/config.status $(srcdir)/catalog.xml.in cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done install-xmlDATA: $(xml_DATA) @$(NORMAL_INSTALL) test -z "$(xmldir)" || $(mkdir_p) "$(DESTDIR)$(xmldir)" @list='$(xml_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(xmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(xmldir)/$$f'"; \ $(xmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(xmldir)/$$f"; \ done uninstall-xmlDATA: @$(NORMAL_UNINSTALL) @list='$(xml_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(xmldir)/$$f'"; \ rm -f "$(DESTDIR)$(xmldir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/. $(distdir)/config $(distdir)/tools @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(DATA) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(xmldir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-pkgconfigDATA install-xmlDATA install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-pkgconfigDATA \ uninstall-xmlDATA uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-libtool clean-recursive \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-libtool \ distclean-recursive distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-pkgconfigDATA install-strip install-xmlDATA \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-info-am \ uninstall-pkgconfigDATA uninstall-xmlDATA FORCE: ChangeLog: FORCE @ENABLE_SVN2CL_TRUE@ svn2cl --include-actions --authors=AUTHORS --group-by-day --separate-daylogs --include-rev --ignore-message-starting='#' --revision HEAD:$(CHANGELOG_OLDEST) srpm: rpmbuild -ts --nodeps $(PACKAGE)-$(VERSION).tar.gz svn-tag: -svn mkdir -m"Tagging for modules of xmlroff $(VERSION)." svn://svn.xmlroff.org/tags/xmlroff-$(VERSION) -svn cp -m"Tagging xmlroff $(VERSION)." svn://svn.xmlroff.org/trunk/xmlroff svn://svn.xmlroff.org/tags/xmlroff-$(VERSION)/xmlroff # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/catalog.xml.in0000644000175000017500000000222210653335025012656 00000000000000 xmlroff-0.6.2/config.h.in0000644000175000017500000000464611150536704012154 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Enable support for Cairo backend of xmlroff. */ #undef ENABLE_CAIRO /* Enable clipping to area extent. Clipping should only be disabled when debugging. */ #undef ENABLE_CLIP /* Enable support for GNOME Print backend of xmlroff. */ #undef ENABLE_GP /* Whether Cairo uses FreeType for fonts */ #undef HAVE_CAIRO_FREETYPE /* Whether Cairo uses the Win32 GDI for fonts */ #undef HAVE_CAIRO_WIN32 /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the `g_option_context_set_summary' function. */ #undef HAVE_G_OPTION_CONTEXT_SET_SUMMARY /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Whether Cairo can render SVG files */ #undef HAVE_LIBRSVG /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Enable development debugging messages. */ #undef LIBFO_DEBUG /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Pixels per inch for use with graphics without intrinsic size. */ #undef PIXELS_PER_INCH /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION /* xmlroff binary age */ #undef XMLROFF_BINARY_AGE /* xmlroff interface age */ #undef XMLROFF_INTERFACE_AGE /* xmlroff major version */ #undef XMLROFF_VERSION_MAJOR /* xmlroff micro version */ #undef XMLROFF_VERSION_MICRO /* xmlroff minor version */ #undef XMLROFF_VERSION_MINOR xmlroff-0.6.2/libfo-0.6.pc.in0000644000175000017500000000075610770023367012457 00000000000000prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ pkgincludedir=@includedir@/libfo-@LT_RELEASE@ enable_cairo=@ENABLE_CAIRO@ enable_gp=@ENABLE_GP@ compat_stylesheet=@prefix@/share/xml/libfo-@VERSION@/libfo-compat.xsl Name: libfo Description: XSL formatter library for xmlroff Version: @VERSION@ Requires: @GNOMEPRINT_REQUIRES@ glib-2.0 gobject-2.0 gmodule-2.0 libxslt gdk-pixbuf-2.0 Libs: -L${libdir} -lfo-@LT_RELEASE@ @GNOMEPRINT_LIBS@ Cflags: -I${pkgincludedir} @GNOMEPRINT_CFLAGS@ xmlroff-0.6.2/xmlroff.spec.in0000644000175000017500000000313011073726776013070 00000000000000Summary: XSL-FO processor Name: xmlroff Version: @VERSION@ Release: 0.1 License: Distributable Group: Applications/Text URL: http://xmlroff.org/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libgnomeprint22-devel %description This package contains an XSL-FO processing tool. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc \ $RPM_BUILD_ROOT%{_libdir}/pkgconfig \ $RPM_BUILD_ROOT%{_libdir}/*.la \ $RPM_BUILD_ROOT%{_libdir}/*.a \ $RPM_BUILD_ROOT%{_libdir}/*.so \ $RPM_BUILD_ROOT%{_includedir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING NEWS README TODO %{_bindir}/* %{_libdir}/*.so.* %{_datadir}/xml/libfo-*/ %changelog * Fri Oct 10 2008 Steven Garcia 0.6.1-0.1 - Added removal of *.so (development linking libraries) to the install stage until RPM devel target package is added here. * Tue May 01 2007 Tony Graham 0.5.0-0.1 - Removed dependencies on pangoxsl-devel and popt-devel. * Sun Jul 02 2006 Tony Graham 0.3.99-0.1 - Added dependency on popt-devel. * Fri Mar 11 2005 Tony Graham 0.3.3-0.1 - Minor changes to get building from SRPM to work (Tim Waugh). * Thu Oct 21 2004 Tony Graham 0.3.0-0.1 - Minor changes to match xmlroff 0.3.0. * Mon Oct 27 2003 Tim Waugh 0.2.3-0.1 - Initial build. xmlroff-0.6.2/configure0000755000175000017500000270154111150536677012051 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for xmlroff XSL Formatter 0.6.2. # # Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell autoconf@gnu.org about your system, echo including any error possibly output before this echo message } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi tagnames=${tagnames+${tagnames},}CXX tagnames=${tagnames+${tagnames},}F77 exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='xmlroff XSL Formatter' PACKAGE_TARNAME='xmlroff' PACKAGE_VERSION='0.6.2' PACKAGE_STRING='xmlroff XSL Formatter 0.6.2' PACKAGE_BUGREPORT='http://xmlroff.org/newticket' ac_unique_file="xmlroff.spec.in" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir localstatedir includedir oldincludedir docdir infodir htmldir dvidir pdfdir psdir libdir localedir mandir DEFS ECHO_C ECHO_N ECHO_T LIBS build_alias host_alias target_alias XMLROFF_VERSION_MAJOR XMLROFF_VERSION_MINOR XMLROFF_VERSION_MICRO XMLROFF_VERSION XMLROFF_VERSION_EXTRA XMLROFF_INTERFACE_AGE XMLROFF_BINARY_AGE LT_RELEASE LT_VERSION_INFO LT_CURRENT_MINUS_AGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED GREP EGREP LN_S ECHO AR RANLIB DSYMUTIL NMEDIT CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBFO_DEBUG PKG_CONFIG GLIB_CFLAGS GLIB_LIBS HTML_DIR GTK_DOC_CFLAGS GTK_DOC_LIBS HAVE_GTK_DOC_TRUE HAVE_GTK_DOC_FALSE HAVE_GTK_DOC DB2HTML HAVE_DOCBOOK_TRUE HAVE_DOCBOOK_FALSE ENABLE_GTK_DOC_TRUE ENABLE_GTK_DOC_FALSE XSLTPROC ENABLE_MAN_TRUE ENABLE_MAN_FALSE LIBXSLT_CFLAGS LIBXSLT_LIBS PERL REBUILD FREETYPE_CONFIG FREETYPE_LIBS FREETYPE_CFLAGS HAVE_FREETYPE_TRUE HAVE_FREETYPE_FALSE GNOMEPRINT_CFLAGS GNOMEPRINT_LIBS GNOMEPRINT_ENABLED GNOMEPRINT_REQUIRES ENABLE_GP ENABLE_GP_TRUE ENABLE_GP_FALSE CAIRO_CFLAGS CAIRO_LIBS CAIRO_ENABLED ENABLE_CAIRO ENABLE_CAIRO_TRUE ENABLE_CAIRO_FALSE HAVE_CAIRO_TRUE HAVE_CAIRO_FALSE HAVE_CAIRO_WIN32_TRUE HAVE_CAIRO_WIN32_FALSE HAVE_CAIRO_FREETYPE_TRUE HAVE_CAIRO_FREETYPE_FALSE LIBRSVG_CFLAGS LIBRSVG_LIBS HAVE_LIBRSVG_TRUE HAVE_LIBRSVG_FALSE HAVE_LIBRSVG PANGO_CFLAGS PANGO_LIBS GDKPIXBUF_CFLAGS GDKPIXBUF_LIBS PLATFORM_WIN32_TRUE PLATFORM_WIN32_FALSE SVN2CL ENABLE_SVN2CL_TRUE ENABLE_SVN2CL_FALSE CHANGELOG_OLDEST CUNIT_LIBS CUNIT_CFLAGS ENABLE_CUNIT_TRUE ENABLE_CUNIT_FALSE LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP CXX CXXFLAGS CCC CXXCPP F77 FFLAGS PKG_CONFIG GLIB_CFLAGS GLIB_LIBS GTK_DOC_CFLAGS GTK_DOC_LIBS LIBXSLT_CFLAGS LIBXSLT_LIBS GNOMEPRINT_CFLAGS GNOMEPRINT_LIBS CAIRO_CFLAGS CAIRO_LIBS LIBRSVG_CFLAGS LIBRSVG_LIBS PANGO_CFLAGS PANGO_LIBS GDKPIXBUF_CFLAGS GDKPIXBUF_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=\$ac_optarg ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute directory names. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { echo "$as_me: error: Working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$0" || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures xmlroff XSL Formatter 0.6.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/xmlroff] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of xmlroff XSL Formatter 0.6.2:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-gtk-doc use gtk-doc to build documentation default=no --enable-man regenerate man pages from Docbook [default=no] --disable-rebuilds disable all source autogeneration rules --enable-gp build GNOME Print output capability (default=yes) --enable-cairo build Cairo output capability (default=yes) --enable-clip enable clipping to area extent (default=yes) --enable-cunit use CUnit to run unit tests (default=no) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] --with-tags[=TAGS] include additional configurations [automatic] --enable-libfo-debug Enable development debugging messages (off) --with-html-dir=PATH Path to installed docs --with-pixels-per-inch Pixels per inch (default=pixels_per_inch_default) --with-changelog-oldest=NUMBER Oldest revision to include in ChangeLog Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags CXXCPP C++ preprocessor F77 Fortran 77 compiler command FFLAGS Fortran 77 compiler flags PKG_CONFIG path to pkg-config utility GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config GLIB_LIBS linker flags for GLIB, overriding pkg-config GTK_DOC_CFLAGS C compiler flags for GTK_DOC, overriding pkg-config GTK_DOC_LIBS linker flags for GTK_DOC, overriding pkg-config LIBXSLT_CFLAGS C compiler flags for LIBXSLT, overriding pkg-config LIBXSLT_LIBS linker flags for LIBXSLT, overriding pkg-config GNOMEPRINT_CFLAGS C compiler flags for GNOMEPRINT, overriding pkg-config GNOMEPRINT_LIBS linker flags for GNOMEPRINT, overriding pkg-config CAIRO_CFLAGS C compiler flags for CAIRO, overriding pkg-config CAIRO_LIBS linker flags for CAIRO, overriding pkg-config LIBRSVG_CFLAGS C compiler flags for LIBRSVG, overriding pkg-config LIBRSVG_LIBS linker flags for LIBRSVG, overriding pkg-config PANGO_CFLAGS C compiler flags for PANGO, overriding pkg-config PANGO_LIBS linker flags for PANGO, overriding pkg-config GDKPIXBUF_CFLAGS C compiler flags for GDKPIXBUF, overriding pkg-config GDKPIXBUF_LIBS linker flags for GDKPIXBUF, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF xmlroff XSL Formatter configure 0.6.2 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by xmlroff XSL Formatter $as_me 0.6.2, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then set x "$CONFIG_SITE" elif test "x$prefix" != xNONE; then set x "$prefix/share/config.site" "$prefix/etc/config.site" else set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site" fi shift for ac_site_file do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers config.h" XMLROFF_VERSION_MAJOR=0 XMLROFF_VERSION_MINOR=6 XMLROFF_VERSION_MICRO=2 XMLROFF_VERSION=0.6.2 XMLROFF_BINARY_AGE=602 if test -d .svn ; then extra=`svn info | grep Revision | sed 's+Revision: ++'` echo extra=$extra if test "$extra" != "" then XMLROFF_VERSION_EXTRA="-SVN$extra" fi fi cat >>confdefs.h <<\_ACEOF #define XMLROFF_BINARY_AGE 602 _ACEOF cat >>confdefs.h <<\_ACEOF #define XMLROFF_INTERFACE_AGE 0 _ACEOF cat >>confdefs.h <<\_ACEOF #define XMLROFF_VERSION_MAJOR 0 _ACEOF cat >>confdefs.h <<\_ACEOF #define XMLROFF_VERSION_MINOR 6 _ACEOF cat >>confdefs.h <<\_ACEOF #define XMLROFF_VERSION_MICRO 2 _ACEOF LT_RELEASE="0.6" LT_VERSION_INFO="602:0:602" LT_CURRENT_MINUS_AGE=0 ac_aux_dir= for ac_dir in config "$srcdir"/config; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. am__api_version="1.9" # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done IFS=$as_save_IFS fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm -f conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$AWK" && break done { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } SET_MAKE= else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='xmlroff' VERSION='0.6.2' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO: checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # # List of possible output files, starting from the most likely. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) # only as a last resort. b.out is created by i960 compilers. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' # # The IRIX 6 linker writes into existing files which may not be # executable, retaining their permissions. Remove them first so a # subsequent execution test works. ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi { echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6; } if test -z "$ac_file"; then echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6; } { echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi { echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=yes fi # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done fi SED=$lt_cv_path_SED { echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6; } { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Extract the first word of "grep ggrep" to use in msg output if test -z "$GREP"; then set dummy grep ggrep; ac_prog_name=$2 if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS fi GREP="$ac_cv_path_GREP" if test -z "$GREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else # Extract the first word of "egrep" to use in msg output if test -z "$EGREP"; then set dummy egrep; ac_prog_name=$2 if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS fi EGREP="$ac_cv_path_EGREP" if test -z "$EGREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } else { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } if test "${lt_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 echo "${ECHO_T}$lt_cv_path_NM" >&6; } NM="$lt_cv_path_NM" { echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6; } fi { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac fi { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line 4525 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------- ## ## Report this to http://xmlroff.org/newticket ## ## ------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX fi fi fi fi # Provide some information about the compiler. echo "$as_me:$LINENO: checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CXXFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu depcc="$CXX" am_compiler_list= { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } if test -z "$CXXCPP"; then if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CXXCPP needs to be expanded for CXXCPP in "$CXX -E" "/lib/cpp" do ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CXXCPP=$CXXCPP fi CXXCPP=$ac_cv_prog_CXXCPP else ac_cv_prog_CXXCPP=$CXXCPP fi { echo "$as_me:$LINENO: result: $CXXCPP" >&5 echo "${ECHO_T}$CXXCPP" >&6; } ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu fi ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$F77"; then ac_cv_prog_F77="$F77" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_F77="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi F77=$ac_cv_prog_F77 if test -n "$F77"; then { echo "$as_me:$LINENO: result: $F77" >&5 echo "${ECHO_T}$F77" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$F77" && break done fi if test -z "$F77"; then ac_ct_F77=$F77 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_F77"; then ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_F77="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_F77=$ac_cv_prog_ac_ct_F77 if test -n "$ac_ct_F77"; then { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 echo "${ECHO_T}$ac_ct_F77" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_F77" && break done if test "x$ac_ct_F77" = x; then F77="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac F77=$ac_ct_F77 fi fi # Provide some information about the compiler. echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } rm -f a.out # If we don't use `.F' as extension, the preprocessor is not run on the # input file. (Note that this only needs to work for GNU compilers.) ac_save_ext=$ac_ext ac_ext=F { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } if test "${ac_cv_f77_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF program main #ifndef __GNUC__ choke me #endif end _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_f77_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_f77_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } ac_ext=$ac_save_ext ac_test_FFLAGS=${FFLAGS+set} ac_save_FFLAGS=$FFLAGS FFLAGS= { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_f77_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else FFLAGS=-g cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_f77_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_f77_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_f77_g=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } if test "$ac_test_FFLAGS" = set; then FFLAGS=$ac_save_FFLAGS elif test $ac_cv_prog_f77_g = yes; then if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-g -O2" else FFLAGS="-g" fi else if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-O2" else FFLAGS= fi fi G77=`test $ac_compiler_gnu = yes && echo yes` ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # find the maximum length of command line arguments { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } if test "${lt_cv_sys_max_cmd_len+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } else { echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6; } fi # Check for command to grab the raw symbol name followed by C symbol from nm. { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32*) symcode='[ABCDGISTW]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux* | k*bsd*-gnu) if test "$host_cpu" = ia64; then symcode='[ABCDGIRSTW]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6; } else { echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6; } fi { echo "$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } if test "${lt_cv_objdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 echo "${ECHO_T}$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="${ac_tool_prefix}ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi else AR="$ac_cv_prog_AR" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { echo "$as_me:$LINENO: checking for file" >&5 echo $ECHO_N "checking for file... $ECHO_C" >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_DSYMUTIL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 echo "${ECHO_T}$DSYMUTIL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_NMEDIT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { echo "$as_me:$LINENO: result: $NMEDIT" >&5 echo "${ECHO_T}$NMEDIT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_NMEDIT="nmedit" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } if test "${lt_cv_apple_cc_single_mod+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. echo "int foo(void){return 1;}" > conftest.c $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib ${wl}-single_module conftest.c if test -f libconftest.dylib; then lt_cv_apple_cc_single_mod=yes rm -rf libconftest.dylib* fi rm conftest.c fi fi { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } if test "${lt_cv_ld_exported_symbols_list+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_cv_ld_exported_symbols_list=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } case $host_os in rhapsody* | darwin1.[0123]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[012]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" fi if test "$DSYMUTIL" != ":"; then _lt_dsymutil="~$DSYMUTIL \$lib || :" else _lt_dsymutil= fi ;; esac enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Check whether --with-pic was given. if test "${with_pic+set}" = set; then withval=$with_pic; pic_mode="$withval" else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= lt_save_CC="$CC" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm -r conftest* lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7583: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:7587: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; *) lt_prog_compiler_pic='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic='-qnocommon' lt_prog_compiler_wl='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; esac ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_pic_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7873: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:7877: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_static_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $rm -r conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7977: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:7981: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag= enable_shared_with_static_runtimes=no archive_cmds= archive_expsym_cmds= old_archive_From_new_cmds= old_archive_from_expsyms_cmds= export_dynamic_flag_spec= whole_archive_flag_spec= thread_safe_flag_spec= hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no hardcode_shlibpath_var=unsupported link_all_deplibs=unknown hardcode_automatic=no module_cmds= module_expsym_cmds= always_export_symbols=no export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; *) tmp_sharedflag='-shared' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs=no else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_libdir_separator=':' link_all_deplibs=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported whole_archive_flag_spec='' link_all_deplibs=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs=no ;; esac fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld='-rpath $libdir' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: link_all_deplibs=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac fi { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 echo "${ECHO_T}$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc=no else archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 echo "${ECHO_T}$archive_cmds_need_lc" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` else lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` sys_lib_search_path_spec=`echo $lt_search_path_spec` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" fi sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" fi sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ test -n "$runpath_var" || \ test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action" >&5 echo "${ECHO_T}$hardcode_action" >&6; } if test "$hardcode_action" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi ;; *) { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) { echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_shl_load || defined __stub___shl_load choke me #endif int main () { return shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else { echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_dlopen || defined __stub___dlopen choke me #endif int main () { return dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # Report which library types will actually be built { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6; } # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler \ CC \ LD \ lt_prog_compiler_wl \ lt_prog_compiler_pic \ lt_prog_compiler_static \ lt_prog_compiler_no_builtin_flag \ export_dynamic_flag_spec \ thread_safe_flag_spec \ whole_archive_flag_spec \ enable_shared_with_static_runtimes \ old_archive_cmds \ old_archive_from_new_cmds \ predep_objects \ postdep_objects \ predeps \ postdeps \ compiler_lib_search_path \ compiler_lib_search_dirs \ archive_cmds \ archive_expsym_cmds \ postinstall_cmds \ postuninstall_cmds \ old_archive_from_expsyms_cmds \ allow_undefined_flag \ no_undefined_flag \ export_symbols_cmds \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ hardcode_automatic \ module_cmds \ module_expsym_cmds \ lt_cv_prog_compiler_c_o \ fix_srcfile_path \ exclude_expsyms \ include_expsyms; do case $var in old_archive_cmds | \ old_archive_from_new_cmds | \ archive_cmds | \ archive_expsym_cmds | \ module_cmds | \ module_expsym_cmds | \ old_archive_from_expsyms_cmds | \ export_symbols_cmds | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="${ofile}T" trap "$rm \"$cfgfile\"; exit 1" 1 2 15 $rm -f "$cfgfile" { echo "$as_me:$LINENO: creating $ofile" >&5 echo "$as_me: creating $ofile" >&6;} cat <<__EOF__ >> "$cfgfile" #! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler # Is the compiler the GNU C compiler? with_gcc=$GCC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps # The directories searched by this compiler when creating a shared # library compiler_lib_search_dirs=$lt_compiler_lib_search_dirs # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # ### END LIBTOOL CONFIG __EOF__ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" # Check whether --with-tags was given. if test "${with_tags+set}" = set; then withval=$with_tags; tagnames="$withval" fi if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} else { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} fi fi if test -z "$LTCFLAGS"; then eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in "") ;; *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 echo "$as_me: error: invalid tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} { (exit 1); exit 1; }; } fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu archive_cmds_need_lc_CXX=no allow_undefined_flag_CXX= always_export_symbols_CXX=no archive_expsym_cmds_CXX= export_dynamic_flag_spec_CXX= hardcode_direct_CXX=no hardcode_libdir_flag_spec_CXX= hardcode_libdir_flag_spec_ld_CXX= hardcode_libdir_separator_CXX= hardcode_minus_L_CXX=no hardcode_shlibpath_var_CXX=unsupported hardcode_automatic_CXX=no module_cmds_CXX= module_expsym_cmds_CXX= link_all_deplibs_CXX=unknown old_archive_cmds_CXX=$old_archive_cmds no_undefined_flag_CXX= whole_archive_flag_spec_CXX= enable_shared_with_static_runtimes_CXX=no # Dependencies to place before and after the object being linked: predep_objects_CXX= postdep_objects_CXX= predeps_CXX= postdeps_CXX= compiler_lib_search_path_CXX= compiler_lib_search_dirs_CXX= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o objext_CXX=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm -r conftest* # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC compiler_CXX=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' else lt_prog_compiler_no_builtin_flag_CXX= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } else { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_CXX= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } ld_shlibs_CXX=yes case $host_os in aix3*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_CXX='' hardcode_direct_CXX=yes hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes if test "$GXX" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct_CXX=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_CXX=yes hardcode_libdir_flag_spec_CXX='-L$libdir' hardcode_libdir_separator_CXX= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_CXX=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_CXX="-z nodefs" archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_CXX=' ${wl}-bernotok' allow_undefined_flag_CXX=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_CXX='$convenience' archive_cmds_need_lc_CXX=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_CXX=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_CXX=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_CXX='-L$libdir' allow_undefined_flag_CXX=unsupported always_export_symbols_CXX=no enable_shared_with_static_runtimes_CXX=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_CXX=no fi ;; darwin* | rhapsody*) archive_cmds_need_lc_CXX=no hardcode_direct_CXX=no hardcode_automatic_CXX=yes hardcode_shlibpath_var_CXX=unsupported whole_archive_flag_spec_CXX='' link_all_deplibs_CXX=yes allow_undefined_flag_CXX="$_lt_dar_allow_undefined" if test "$GXX" = yes ; then output_verbose_link_cmd='echo' archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" if test "$lt_cv_apple_cc_single_mod" != "yes"; then archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_CXX=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; freebsd[12]*) # C++ shared libraries reported to be fairly broken before switch to ELF ld_shlibs_CXX=no ;; freebsd-elf*) archive_cmds_need_lc_CXX=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions ld_shlibs_CXX=yes ;; gnu*) ;; hpux9*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: export_dynamic_flag_spec_CXX='${wl}-E' hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: case $host_cpu in hppa*64*|ia64*) ;; *) export_dynamic_flag_spec_CXX='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no ;; *) hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; interix[3-9]*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi link_all_deplibs_CXX=yes ;; esac hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac archive_cmds_need_lc_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' hardcode_libdir_flag_spec_CXX='-R$libdir' whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; m88k*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken ld_shlibs_CXX=no ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' export_dynamic_flag_spec_CXX='${wl}-E' whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' else ld_shlibs_CXX=no fi ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # the KAI C++ compiler. old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' -expect_unresolved \*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ archive_cmds_need_lc_CXX=yes no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_shlibpath_var_CXX=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' ;; esac link_all_deplibs_CXX=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then no_undefined_flag_CXX=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag_CXX='${wl}-z,text' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. # So that behaviour is only enabled if SCOABSPATH is set to a # non-empty value in the environment. Most likely only useful for # creating official distributions of packages. # This is a hack until libtool officially supports absolute path # names for shared libraries. no_undefined_flag_CXX='${wl}-z,text' allow_undefined_flag_CXX='${wl}-z,nodefs' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes export_dynamic_flag_spec_CXX='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no GCC_CXX="$GXX" LD_CXX="$LD" cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no # The `*' in the case matches for architectures that use `case' in # $output_verbose_cmd can trigger glob expansion during the loop # eval without this substitution. output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` for p in `eval $output_verbose_link_cmd`; do case $p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" \ || test $p = "-R"; then prev=$p continue else prev= fi if test "$pre_test_object_deps_done" = no; then case $p in -L* | -R*) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$compiler_lib_search_path_CXX"; then compiler_lib_search_path_CXX="${prev}${p}" else compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$postdeps_CXX"; then postdeps_CXX="${prev}${p}" else postdeps_CXX="${postdeps_CXX} ${prev}${p}" fi fi ;; *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$predep_objects_CXX"; then predep_objects_CXX="$p" else predep_objects_CXX="$predep_objects_CXX $p" fi else if test -z "$postdep_objects_CXX"; then postdep_objects_CXX="$p" else postdep_objects_CXX="$postdep_objects_CXX $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling CXX test program" fi $rm -f confest.$objext compiler_lib_search_dirs_CXX= if test -n "$compiler_lib_search_path_CXX"; then compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` fi # PORTME: override above test on systems where it is broken case $host_os in interix[3-9]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. predep_objects_CXX= postdep_objects_CXX= postdeps_CXX= ;; linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then postdeps_CXX='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then postdeps_CXX='-library=Cstd -library=Crun' fi ;; esac ;; esac case " $postdeps_CXX " in *" -lc "*) archive_cmds_need_lc_CXX=no ;; esac lt_prog_compiler_wl_CXX= lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_CXX='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all lt_prog_compiler_pic_CXX= ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_CXX=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac else case $host_os in aix[4-9]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' else lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_CXX='-qnocommon' lt_prog_compiler_wl_CXX='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) lt_prog_compiler_pic_CXX='-KPIC' ;; ghcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then lt_prog_compiler_pic_CXX='+Z' fi ;; aCC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_CXX='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler lt_prog_compiler_wl_CXX='--backend -Wl,' lt_prog_compiler_pic_CXX='-fPIC' ;; icpc* | ecpc*) # Intel C++ lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler. lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-fpic' lt_prog_compiler_static_CXX='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) lt_prog_compiler_pic_CXX='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) lt_prog_compiler_wl_CXX='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 lt_prog_compiler_pic_CXX='-pic' ;; cxx*) # Digital/Compaq C++ lt_prog_compiler_wl_CXX='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x lt_prog_compiler_pic_CXX='-pic' lt_prog_compiler_static_CXX='-Bstatic' ;; lcc*) # Lucid lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 lt_prog_compiler_pic_CXX='-KPIC' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' ;; esac ;; vxworks*) ;; *) lt_prog_compiler_can_build_shared_CXX=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_pic_works_CXX=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:12855: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:12859: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works_CXX=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; } if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then case $lt_prog_compiler_pic_CXX in "" | " "*) ;; *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; esac else lt_prog_compiler_pic_CXX= lt_prog_compiler_can_build_shared_CXX=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_CXX= ;; *) lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_static_works_CXX=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works_CXX=yes fi else lt_cv_prog_compiler_static_works_CXX=yes fi fi $rm -r conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; } if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then : else lt_prog_compiler_static_CXX= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_CXX=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:12959: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:12963: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix[4-9]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) export_symbols_cmds_CXX="$ltdll_cmds" ;; cygwin* | mingw*) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' ;; linux* | k*bsd*-gnu) link_all_deplibs_CXX=no ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_CXX" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_CXX=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_CXX in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_CXX pic_flag=$lt_prog_compiler_pic_CXX compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_CXX allow_undefined_flag_CXX= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_CXX=no else archive_cmds_need_lc_CXX=yes fi allow_undefined_flag_CXX=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" fi sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" fi sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || \ test -n "$runpath_var_CXX" || \ test "X$hardcode_automatic_CXX" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_CXX" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && test "$hardcode_minus_L_CXX" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_CXX=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_CXX=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_CXX=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 echo "${ECHO_T}$hardcode_action_CXX" >&6; } if test "$hardcode_action_CXX" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_CXX \ CC_CXX \ LD_CXX \ lt_prog_compiler_wl_CXX \ lt_prog_compiler_pic_CXX \ lt_prog_compiler_static_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ export_dynamic_flag_spec_CXX \ thread_safe_flag_spec_CXX \ whole_archive_flag_spec_CXX \ enable_shared_with_static_runtimes_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ predep_objects_CXX \ postdep_objects_CXX \ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX \ compiler_lib_search_dirs_CXX \ archive_cmds_CXX \ archive_expsym_cmds_CXX \ postinstall_cmds_CXX \ postuninstall_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ allow_undefined_flag_CXX \ no_undefined_flag_CXX \ export_symbols_cmds_CXX \ hardcode_libdir_flag_spec_CXX \ hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_separator_CXX \ hardcode_automatic_CXX \ module_cmds_CXX \ module_expsym_cmds_CXX \ lt_cv_prog_compiler_c_o_CXX \ fix_srcfile_path_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX; do case $var in old_archive_cmds_CXX | \ old_archive_from_new_cmds_CXX | \ archive_cmds_CXX | \ archive_expsym_cmds_CXX | \ module_cmds_CXX | \ module_expsym_cmds_CXX | \ old_archive_from_expsyms_cmds_CXX | \ export_symbols_cmds_CXX | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_CXX # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_CXX # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_CXX # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_CXX # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_CXX pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_CXX old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_CXX archive_expsym_cmds=$lt_archive_expsym_cmds_CXX postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_CXX module_expsym_cmds=$lt_module_expsym_cmds_CXX # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_CXX # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_CXX # The directories searched by this compiler when creating a shared # library compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_CXX # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_CXX # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_CXX # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_CXX # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_CXX # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_CXX # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_CXX # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_CXX # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_CXX # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_CXX # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu archive_cmds_need_lc_F77=no allow_undefined_flag_F77= always_export_symbols_F77=no archive_expsym_cmds_F77= export_dynamic_flag_spec_F77= hardcode_direct_F77=no hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_minus_L_F77=no hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= link_all_deplibs_F77=unknown old_archive_cmds_F77=$old_archive_cmds no_undefined_flag_F77= whole_archive_flag_spec_F77= enable_shared_with_static_runtimes_F77=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o objext_F77=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm -r conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${F77-"f77"} compiler=$CC compiler_F77=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6; } GCC_F77="$G77" LD_F77="$LD" lt_prog_compiler_wl_F77= lt_prog_compiler_pic_F77= lt_prog_compiler_static_F77= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_static_F77='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_F77='-fno-common' ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_F77=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_F77=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_F77='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' else lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_F77='-qnocommon' lt_prog_compiler_wl_F77='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_F77='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_F77='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_F77='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_F77='-non_shared' ;; newsos6) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-fpic' lt_prog_compiler_static_F77='-Bstatic' ;; ccc*) lt_prog_compiler_wl_F77='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' lt_prog_compiler_wl_F77='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' lt_prog_compiler_wl_F77='' ;; esac ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_F77='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; rdos*) lt_prog_compiler_static_F77='-non_shared' ;; solaris*) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_F77='-Qoption ld ';; *) lt_prog_compiler_wl_F77='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_F77='-Qoption ld ' lt_prog_compiler_pic_F77='-PIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_F77='-Kconform_pic' lt_prog_compiler_static_F77='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; unicos*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_can_build_shared_F77=no ;; uts4*) lt_prog_compiler_pic_F77='-pic' lt_prog_compiler_static_F77='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_F77=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_F77"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_pic_works_F77=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_F77" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:14557: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:14561: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works_F77=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; } if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then case $lt_prog_compiler_pic_F77 in "" | " "*) ;; *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; esac else lt_prog_compiler_pic_F77= lt_prog_compiler_can_build_shared_F77=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_F77= ;; *) lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_static_works_F77=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works_F77=yes fi else lt_cv_prog_compiler_static_works_F77=yes fi fi $rm -r conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; } if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then : else lt_prog_compiler_static_F77= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_F77=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:14661: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:14665: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_F77=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag_F77= enable_shared_with_static_runtimes_F77=no archive_cmds_F77= archive_expsym_cmds_F77= old_archive_From_new_cmds_F77= old_archive_from_expsyms_cmds_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= thread_safe_flag_spec_F77= hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_direct_F77=no hardcode_minus_L_F77=no hardcode_shlibpath_var_F77=unsupported link_all_deplibs_F77=unknown hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= always_export_symbols_F77=no export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_F77= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_F77=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_F77='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_F77= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_F77=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_F77=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_F77=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_F77=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_F77='-L$libdir' allow_undefined_flag_F77=unsupported always_export_symbols_F77=no enable_shared_with_static_runtimes_F77=yes export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_F77=no fi ;; interix[3-9]*) hardcode_direct_F77=no hardcode_shlibpath_var_F77=no hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; *) tmp_sharedflag='-shared' ;; esac archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs_F77=no else ld_shlibs_F77=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_F77=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs_F77=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac ;; sunos4*) archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac if test "$ld_shlibs_F77" = no; then runpath_var= hardcode_libdir_flag_spec_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_F77=unsupported always_export_symbols_F77=yes archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_F77=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_F77=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_F77='' hardcode_direct_F77=yes hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct_F77=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_F77=yes hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_libdir_separator_F77= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_F77=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_F77='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_f77_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_F77="-z nodefs" archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_f77_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_F77=' ${wl}-bernotok' allow_undefined_flag_F77=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_F77='$convenience' archive_cmds_need_lc_F77=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # see comment about different semantics on the GNU ld section ld_shlibs_F77=no ;; bsdi[45]*) export_dynamic_flag_spec_F77=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_F77=' ' allow_undefined_flag_F77=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_F77='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_F77='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_F77=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_F77=no hardcode_direct_F77=no hardcode_automatic_F77=yes hardcode_shlibpath_var_F77=unsupported whole_archive_flag_spec_F77='' link_all_deplibs_F77=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_F77=no ;; esac fi ;; dgux*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; freebsd1*) ld_shlibs_F77=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes export_dynamic_flag_spec_F77='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_F77='+b $libdir' hardcode_direct_F77=no hardcode_shlibpath_var_F77=no ;; *) hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: link_all_deplibs_F77=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; newsos6) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_shlibpath_var_F77=no ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-R$libdir' ;; *) archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs_F77=no fi ;; os2*) hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes allow_undefined_flag_F77=unsupported archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_F77='-rpath $libdir' fi hardcode_libdir_separator_F77=: ;; solaris*) no_undefined_flag_F77=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_shlibpath_var_F77=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs_F77=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; sysv4) case $host_vendor in sni) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_F77='$CC -r -o $output$reload_objs' hardcode_direct_F77=no ;; motorola) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_F77=no ;; sysv4.3*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no export_dynamic_flag_spec_F77='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_F77=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag_F77='${wl}-z,text' archive_cmds_need_lc_F77=no hardcode_shlibpath_var_F77=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag_F77='${wl}-z,text' allow_undefined_flag_F77='${wl}-z,nodefs' archive_cmds_need_lc_F77=no hardcode_shlibpath_var_F77=no hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes export_dynamic_flag_spec_F77='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; *) ld_shlibs_F77=no ;; esac fi { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 echo "${ECHO_T}$ld_shlibs_F77" >&6; } test "$ld_shlibs_F77" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_F77" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_F77=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_F77 in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_F77 pic_flag=$lt_prog_compiler_pic_F77 compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_F77 allow_undefined_flag_F77= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_F77=no else archive_cmds_need_lc_F77=yes fi allow_undefined_flag_F77=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" fi sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" fi sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action_F77= if test -n "$hardcode_libdir_flag_spec_F77" || \ test -n "$runpath_var_F77" || \ test "X$hardcode_automatic_F77" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_F77" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && test "$hardcode_minus_L_F77" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_F77=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_F77=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_F77=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 echo "${ECHO_T}$hardcode_action_F77" >&6; } if test "$hardcode_action_F77" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_F77 \ CC_F77 \ LD_F77 \ lt_prog_compiler_wl_F77 \ lt_prog_compiler_pic_F77 \ lt_prog_compiler_static_F77 \ lt_prog_compiler_no_builtin_flag_F77 \ export_dynamic_flag_spec_F77 \ thread_safe_flag_spec_F77 \ whole_archive_flag_spec_F77 \ enable_shared_with_static_runtimes_F77 \ old_archive_cmds_F77 \ old_archive_from_new_cmds_F77 \ predep_objects_F77 \ postdep_objects_F77 \ predeps_F77 \ postdeps_F77 \ compiler_lib_search_path_F77 \ compiler_lib_search_dirs_F77 \ archive_cmds_F77 \ archive_expsym_cmds_F77 \ postinstall_cmds_F77 \ postuninstall_cmds_F77 \ old_archive_from_expsyms_cmds_F77 \ allow_undefined_flag_F77 \ no_undefined_flag_F77 \ export_symbols_cmds_F77 \ hardcode_libdir_flag_spec_F77 \ hardcode_libdir_flag_spec_ld_F77 \ hardcode_libdir_separator_F77 \ hardcode_automatic_F77 \ module_cmds_F77 \ module_expsym_cmds_F77 \ lt_cv_prog_compiler_c_o_F77 \ fix_srcfile_path_F77 \ exclude_expsyms_F77 \ include_expsyms_F77; do case $var in old_archive_cmds_F77 | \ old_archive_from_new_cmds_F77 | \ archive_cmds_F77 | \ archive_expsym_cmds_F77 | \ module_cmds_F77 | \ module_expsym_cmds_F77 | \ old_archive_from_expsyms_cmds_F77 | \ export_symbols_cmds_F77 | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_F77 # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_F77 # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_F77 # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_F77 # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_F77 pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_F77 # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_F77 old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_F77 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_F77 module_expsym_cmds=$lt_module_expsym_cmds_F77 # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_F77 # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_F77 # The directories searched by this compiler when creating a shared # library compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_F77 # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_F77 # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_F77 # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_F77 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_F77 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_F77 # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_F77 # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_F77 # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_F77 # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_F77 # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o objext_GCJ=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm -r conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${GCJ-"gcj"} compiler=$CC compiler_GCJ=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # GCJ did not exist at the time GCC didn't implicitly link libc in. archive_cmds_need_lc_GCJ=no old_archive_cmds_GCJ=$old_archive_cmds lt_prog_compiler_no_builtin_flag_GCJ= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16881: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:16885: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl_GCJ= lt_prog_compiler_pic_GCJ= lt_prog_compiler_static_GCJ= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_static_GCJ='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_GCJ='-fno-common' ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_GCJ=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' else lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_GCJ='-qnocommon' lt_prog_compiler_wl_GCJ='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_GCJ='-non_shared' ;; newsos6) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-fpic' lt_prog_compiler_static_GCJ='-Bstatic' ;; ccc*) lt_prog_compiler_wl_GCJ='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' lt_prog_compiler_wl_GCJ='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' lt_prog_compiler_wl_GCJ='' ;; esac ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; rdos*) lt_prog_compiler_static_GCJ='-non_shared' ;; solaris*) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_GCJ='-Qoption ld ';; *) lt_prog_compiler_wl_GCJ='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_GCJ='-Qoption ld ' lt_prog_compiler_pic_GCJ='-PIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_GCJ='-Kconform_pic' lt_prog_compiler_static_GCJ='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; unicos*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_can_build_shared_GCJ=no ;; uts4*) lt_prog_compiler_pic_GCJ='-pic' lt_prog_compiler_static_GCJ='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_GCJ"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_pic_works_GCJ=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_GCJ" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:17171: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:17175: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works_GCJ=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; } if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then case $lt_prog_compiler_pic_GCJ in "" | " "*) ;; *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; esac else lt_prog_compiler_pic_GCJ= lt_prog_compiler_can_build_shared_GCJ=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_GCJ= ;; *) lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_static_works_GCJ=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works_GCJ=yes fi else lt_cv_prog_compiler_static_works_GCJ=yes fi fi $rm -r conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; } if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then : else lt_prog_compiler_static_GCJ= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_GCJ=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:17275: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:17279: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_GCJ=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag_GCJ= enable_shared_with_static_runtimes_GCJ=no archive_cmds_GCJ= archive_expsym_cmds_GCJ= old_archive_From_new_cmds_GCJ= old_archive_from_expsyms_cmds_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= thread_safe_flag_spec_GCJ= hardcode_libdir_flag_spec_GCJ= hardcode_libdir_flag_spec_ld_GCJ= hardcode_libdir_separator_GCJ= hardcode_direct_GCJ=no hardcode_minus_L_GCJ=no hardcode_shlibpath_var_GCJ=unsupported link_all_deplibs_GCJ=unknown hardcode_automatic_GCJ=no module_cmds_GCJ= module_expsym_cmds_GCJ= always_export_symbols_GCJ=no export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_GCJ= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_GCJ=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_GCJ= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_GCJ=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_GCJ=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_GCJ=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_GCJ=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_GCJ='-L$libdir' allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=no enable_shared_with_static_runtimes_GCJ=yes export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_GCJ=no fi ;; interix[3-9]*) hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; *) tmp_sharedflag='-shared' ;; esac archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs_GCJ=no else ld_shlibs_GCJ=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_GCJ=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs_GCJ=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac ;; sunos4*) archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac if test "$ld_shlibs_GCJ" = no; then runpath_var= hardcode_libdir_flag_spec_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=yes archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_GCJ=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_GCJ=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_GCJ='' hardcode_direct_GCJ=yes hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct_GCJ=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_GCJ=yes hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_libdir_separator_GCJ= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_GCJ=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_GCJ='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_GCJ="-z nodefs" archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_GCJ=' ${wl}-bernotok' allow_undefined_flag_GCJ=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_GCJ='$convenience' archive_cmds_need_lc_GCJ=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # see comment about different semantics on the GNU ld section ld_shlibs_GCJ=no ;; bsdi[45]*) export_dynamic_flag_spec_GCJ=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_GCJ=' ' allow_undefined_flag_GCJ=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_GCJ='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_GCJ=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_GCJ=no hardcode_direct_GCJ=no hardcode_automatic_GCJ=yes hardcode_shlibpath_var_GCJ=unsupported whole_archive_flag_spec_GCJ='' link_all_deplibs_GCJ=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_GCJ=no ;; esac fi ;; dgux*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; freebsd1*) ld_shlibs_GCJ=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no ;; *) hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: link_all_deplibs_GCJ=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; newsos6) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_shlibpath_var_GCJ=no ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' ;; *) archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs_GCJ=no fi ;; os2*) hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes allow_undefined_flag_GCJ=unsupported archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_GCJ='-rpath $libdir' fi hardcode_libdir_separator_GCJ=: ;; solaris*) no_undefined_flag_GCJ=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_shlibpath_var_GCJ=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs_GCJ=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; sysv4) case $host_vendor in sni) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_GCJ='$CC -r -o $output$reload_objs' hardcode_direct_GCJ=no ;; motorola) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_GCJ=no ;; sysv4.3*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no export_dynamic_flag_spec_GCJ='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_GCJ=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag_GCJ='${wl}-z,text' archive_cmds_need_lc_GCJ=no hardcode_shlibpath_var_GCJ=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag_GCJ='${wl}-z,text' allow_undefined_flag_GCJ='${wl}-z,nodefs' archive_cmds_need_lc_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; *) ld_shlibs_GCJ=no ;; esac fi { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } test "$ld_shlibs_GCJ" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_GCJ" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_GCJ=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_GCJ in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_GCJ pic_flag=$lt_prog_compiler_pic_GCJ compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ allow_undefined_flag_GCJ= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_GCJ=no else archive_cmds_need_lc_GCJ=yes fi allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" fi sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" fi sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action_GCJ= if test -n "$hardcode_libdir_flag_spec_GCJ" || \ test -n "$runpath_var_GCJ" || \ test "X$hardcode_automatic_GCJ" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_GCJ=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 echo "${ECHO_T}$hardcode_action_GCJ" >&6; } if test "$hardcode_action_GCJ" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_GCJ \ CC_GCJ \ LD_GCJ \ lt_prog_compiler_wl_GCJ \ lt_prog_compiler_pic_GCJ \ lt_prog_compiler_static_GCJ \ lt_prog_compiler_no_builtin_flag_GCJ \ export_dynamic_flag_spec_GCJ \ thread_safe_flag_spec_GCJ \ whole_archive_flag_spec_GCJ \ enable_shared_with_static_runtimes_GCJ \ old_archive_cmds_GCJ \ old_archive_from_new_cmds_GCJ \ predep_objects_GCJ \ postdep_objects_GCJ \ predeps_GCJ \ postdeps_GCJ \ compiler_lib_search_path_GCJ \ compiler_lib_search_dirs_GCJ \ archive_cmds_GCJ \ archive_expsym_cmds_GCJ \ postinstall_cmds_GCJ \ postuninstall_cmds_GCJ \ old_archive_from_expsyms_cmds_GCJ \ allow_undefined_flag_GCJ \ no_undefined_flag_GCJ \ export_symbols_cmds_GCJ \ hardcode_libdir_flag_spec_GCJ \ hardcode_libdir_flag_spec_ld_GCJ \ hardcode_libdir_separator_GCJ \ hardcode_automatic_GCJ \ module_cmds_GCJ \ module_expsym_cmds_GCJ \ lt_cv_prog_compiler_c_o_GCJ \ fix_srcfile_path_GCJ \ exclude_expsyms_GCJ \ include_expsyms_GCJ; do case $var in old_archive_cmds_GCJ | \ old_archive_from_new_cmds_GCJ | \ archive_cmds_GCJ | \ archive_expsym_cmds_GCJ | \ module_cmds_GCJ | \ module_expsym_cmds_GCJ | \ old_archive_from_expsyms_cmds_GCJ | \ export_symbols_cmds_GCJ | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_GCJ # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_GCJ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_GCJ # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_GCJ # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_GCJ pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_GCJ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_GCJ old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_GCJ archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_GCJ module_expsym_cmds=$lt_module_expsym_cmds_GCJ # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_GCJ # The directories searched by this compiler when creating a shared # library compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_GCJ # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_GCJ # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_GCJ # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_GCJ # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_GCJ # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_GCJ # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_GCJ # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_GCJ # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_GCJ # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_GCJ # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" else tagname="" fi ;; RC) # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o objext_RC=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm -r conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${RC-"windres"} compiler=$CC compiler_RC=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` lt_cv_prog_compiler_c_o_RC=yes # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_RC \ CC_RC \ LD_RC \ lt_prog_compiler_wl_RC \ lt_prog_compiler_pic_RC \ lt_prog_compiler_static_RC \ lt_prog_compiler_no_builtin_flag_RC \ export_dynamic_flag_spec_RC \ thread_safe_flag_spec_RC \ whole_archive_flag_spec_RC \ enable_shared_with_static_runtimes_RC \ old_archive_cmds_RC \ old_archive_from_new_cmds_RC \ predep_objects_RC \ postdep_objects_RC \ predeps_RC \ postdeps_RC \ compiler_lib_search_path_RC \ compiler_lib_search_dirs_RC \ archive_cmds_RC \ archive_expsym_cmds_RC \ postinstall_cmds_RC \ postuninstall_cmds_RC \ old_archive_from_expsyms_cmds_RC \ allow_undefined_flag_RC \ no_undefined_flag_RC \ export_symbols_cmds_RC \ hardcode_libdir_flag_spec_RC \ hardcode_libdir_flag_spec_ld_RC \ hardcode_libdir_separator_RC \ hardcode_automatic_RC \ module_cmds_RC \ module_expsym_cmds_RC \ lt_cv_prog_compiler_c_o_RC \ fix_srcfile_path_RC \ exclude_expsyms_RC \ include_expsyms_RC; do case $var in old_archive_cmds_RC | \ old_archive_from_new_cmds_RC | \ archive_cmds_RC | \ archive_expsym_cmds_RC | \ module_cmds_RC | \ module_expsym_cmds_RC | \ old_archive_from_expsyms_cmds_RC | \ export_symbols_cmds_RC | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_RC # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_RC # Is the compiler the GNU C compiler? with_gcc=$GCC_RC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_RC archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_RC module_expsym_cmds=$lt_module_expsym_cmds_RC # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_RC # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_RC # The directories searched by this compiler when creating a shared # library compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_RC # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_RC # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" ;; *) { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 echo "$as_me: error: Unsupported tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 echo "$as_me: error: unable to update list of available tagged configurations." >&2;} { (exit 1); exit 1; }; } fi fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion # Check whether --with-libfo_debug was given. if test "${with_libfo_debug+set}" = set; then withval=$with_libfo_debug; fi if test "`pwd`" = "/usr/local/src/xslfo/xmlroff" ; then if test "${enable_libfo_debug}" = "" ; then enable_libfo_debug="yes" fi CFLAGS="-Wall -g -O -W " # Always build CUnit tests enable_cunit=yes fi if test "$enable_libfo_debug" = "yes" ; then echo Enabling development debug support LIBFO_DEBUG=1 cat >>confdefs.h <<\_ACEOF #define LIBFO_DEBUG 1 _ACEOF else LIBFO_DEBUG=0 fi # # Find pkg-config # We need a minimum of version 0.5. # if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.5 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } PKG_CONFIG="" fi fi # # Checks for GLib # We need a minimum of 2.6.0. # If >= 2.12.0 is found we can use g_option_context_set_summary(). # GLIB_REQUIRED_VERSION=2.6.0 have_glib=false pkg_failed=no { echo "$as_me:$LINENO: checking for GLIB" >&5 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GLIB_CFLAGS"; then pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED_VERSION gobject-2.0 gmodule-2.0 gthread-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-2.0 gthread-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-2.0 gthread-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GLIB_LIBS"; then pkg_cv_GLIB_LIBS="$GLIB_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED_VERSION gobject-2.0 gmodule-2.0 gthread-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-2.0 gthread-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-2.0 gthread-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-2.0 gthread-2.0"` else GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-2.0 gthread-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } : elif test $pkg_failed = untried; then : else GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS GLIB_LIBS=$pkg_cv_GLIB_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } have_glib=true fi if $have_glib ; then : ; else { { echo "$as_me:$LINENO: error: *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of *** Glib is always available from ftp://ftp.gtk.org/. " >&5 echo "$as_me: error: *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of *** Glib is always available from ftp://ftp.gtk.org/. " >&2;} { (exit 1); exit 1; }; } fi # xmlroff.c uses g_option_context_set_summary. It was introduced in # glib 2.12, so need to check for it while minimum required version # is less than 2.12.0. OLD_CFLAGS="$CFLAGS" OLD_LIBS="$LIBS" CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS $GLIB_LIBS" { echo "$as_me:$LINENO: checking for g_option_context_set_summary in -lglib-2.0" >&5 echo $ECHO_N "checking for g_option_context_set_summary in -lglib-2.0... $ECHO_C" >&6; } if test "${ac_cv_lib_glib_2_0_g_option_context_set_summary+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lglib-2.0 $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char g_option_context_set_summary (); int main () { return g_option_context_set_summary (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_glib_2_0_g_option_context_set_summary=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_glib_2_0_g_option_context_set_summary=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_glib_2_0_g_option_context_set_summary" >&5 echo "${ECHO_T}$ac_cv_lib_glib_2_0_g_option_context_set_summary" >&6; } if test $ac_cv_lib_glib_2_0_g_option_context_set_summary = yes; then have_g_option_context_set_summary=yes fi if test x$have_g_option_context_set_summary = "xyes" ; then cat >>confdefs.h <<\_ACEOF #define HAVE_G_OPTION_CONTEXT_SET_SUMMARY 1 _ACEOF fi #GLIB_CFLAGS="-DG_DISABLE_DEPRECATED $GLIB_CFLAGS" CFLAGS="$OLD_CFLAGS" LIBS="$OLD_LIBS" # Check whether --with-html-dir was given. if test "${with_html_dir+set}" = set; then withval=$with_html_dir; fi if test "x$with_html_dir" = "x" ; then HTML_DIR='${datadir}/gtk-doc/html' else HTML_DIR=$with_html_dir fi # # Check for sufficiently new gtk-doc # GTK_DOC_MIN_VERSION=1.4 have_gtk_doc=false pkg_failed=no { echo "$as_me:$LINENO: checking for GTK_DOC" >&5 echo $ECHO_N "checking for GTK_DOC... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTK_DOC_CFLAGS"; then pkg_cv_GTK_DOC_CFLAGS="$GTK_DOC_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= \$GTK_DOC_MIN_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk-doc >= $GTK_DOC_MIN_VERSION") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_DOC_CFLAGS=`$PKG_CONFIG --cflags "gtk-doc >= $GTK_DOC_MIN_VERSION" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GTK_DOC_LIBS"; then pkg_cv_GTK_DOC_LIBS="$GTK_DOC_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= \$GTK_DOC_MIN_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk-doc >= $GTK_DOC_MIN_VERSION") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_DOC_LIBS=`$PKG_CONFIG --libs "gtk-doc >= $GTK_DOC_MIN_VERSION" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_DOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk-doc >= $GTK_DOC_MIN_VERSION"` else GTK_DOC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk-doc >= $GTK_DOC_MIN_VERSION"` fi # Put the nasty error message in config.log where it belongs echo "$GTK_DOC_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } : elif test $pkg_failed = untried; then : else GTK_DOC_CFLAGS=$pkg_cv_GTK_DOC_CFLAGS GTK_DOC_LIBS=$pkg_cv_GTK_DOC_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } have_gtk_doc=true fi { echo "$as_me:$LINENO: result: $have_gtk_doc" >&5 echo "${ECHO_T}$have_gtk_doc" >&6; } if $have_gtk_doc; then HAVE_GTK_DOC_TRUE= HAVE_GTK_DOC_FALSE='#' else HAVE_GTK_DOC_TRUE='#' HAVE_GTK_DOC_FALSE= fi HAVE_GTK_DOC=$have_gtk_doc # Extract the first word of "db2html", so it can be a program name with args. set dummy db2html; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_DB2HTML+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$DB2HTML"; then ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DB2HTML="true" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_prog_DB2HTML" && ac_cv_prog_DB2HTML="false" fi fi DB2HTML=$ac_cv_prog_DB2HTML if test -n "$DB2HTML"; then { echo "$as_me:$LINENO: result: $DB2HTML" >&5 echo "${ECHO_T}$DB2HTML" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if $DB2HTML; then HAVE_DOCBOOK_TRUE= HAVE_DOCBOOK_FALSE='#' else HAVE_DOCBOOK_TRUE='#' HAVE_DOCBOOK_FALSE= fi # Check whether --enable-gtk-doc was given. if test "${enable_gtk_doc+set}" = set; then enableval=$enable_gtk_doc; enable_gtk_doc="$enableval" else enable_gtk_doc=no fi if test "x$enable_gtk_doc" = "xyes" ; then if test "x$have_gtk_doc" = "xtrue" ; then enable_gtk_doc=yes else enable_gtk_doc=no fi fi if test "x$enable_gtk_doc" = "xyes"; then ENABLE_GTK_DOC_TRUE= ENABLE_GTK_DOC_FALSE='#' else ENABLE_GTK_DOC_TRUE='#' ENABLE_GTK_DOC_FALSE= fi # Check whether --enable-man was given. if test "${enable_man+set}" = set; then enableval=$enable_man; enable_man=yes else enable_man=no fi if test "${enable_man}" != no; then # Extract the first word of "xsltproc", so it can be a program name with args. set dummy xsltproc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_XSLTPROC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $XSLTPROC in [\\/]* | ?:[\\/]*) ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XSLTPROC=$ac_cv_path_XSLTPROC if test -n "$XSLTPROC"; then { echo "$as_me:$LINENO: result: $XSLTPROC" >&5 echo "${ECHO_T}$XSLTPROC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$XSLTPROC"; then enable_man=no fi fi if test x$enable_man != xno; then ENABLE_MAN_TRUE= ENABLE_MAN_FALSE='#' else ENABLE_MAN_TRUE='#' ENABLE_MAN_FALSE= fi # # Checks for libxslt # # Variables for libxslt will also include values appropriate for # libxml2. # LIBXSLT_PACKAGES=libxslt LIBXSLT_REQUIRED_VERSION=1.0.3 have_libxslt=false pkg_failed=no { echo "$as_me:$LINENO: checking for LIBXSLT" >&5 echo $ECHO_N "checking for LIBXSLT... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBXSLT_CFLAGS"; then pkg_cv_LIBXSLT_CFLAGS="$LIBXSLT_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$LIBXSLT_PACKAGES >= \$LIBXSLT_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "$LIBXSLT_PACKAGES >= $LIBXSLT_REQUIRED_VERSION") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_LIBXSLT_CFLAGS=`$PKG_CONFIG --cflags "$LIBXSLT_PACKAGES >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$LIBXSLT_LIBS"; then pkg_cv_LIBXSLT_LIBS="$LIBXSLT_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$LIBXSLT_PACKAGES >= \$LIBXSLT_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "$LIBXSLT_PACKAGES >= $LIBXSLT_REQUIRED_VERSION") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_LIBXSLT_LIBS=`$PKG_CONFIG --libs "$LIBXSLT_PACKAGES >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$LIBXSLT_PACKAGES >= $LIBXSLT_REQUIRED_VERSION"` else LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$LIBXSLT_PACKAGES >= $LIBXSLT_REQUIRED_VERSION"` fi # Put the nasty error message in config.log where it belongs echo "$LIBXSLT_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } : elif test $pkg_failed = untried; then : else LIBXSLT_CFLAGS=$pkg_cv_LIBXSLT_CFLAGS LIBXSLT_LIBS=$pkg_cv_LIBXSLT_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } have_libxslt=true fi if $have_libxslt ; then : ; else { { echo "$as_me:$LINENO: error: *** Libxslt $LIBXSLT_REQUIRED_VERSION or newer is required. *** Libxslt is available at http://xsltsoft.org/. " >&5 echo "$as_me: error: *** Libxslt $LIBXSLT_REQUIRED_VERSION or newer is required. *** Libxslt is available at http://xsltsoft.org/. " >&2;} { (exit 1); exit 1; }; } fi # Check whether --enable-rebuilds was given. if test "${enable_rebuilds+set}" = set; then enableval=$enable_rebuilds; else enable_rebuilds=yes fi # define a MAINT-like variable REBUILD which is set if Perl # is found, so autogenerated sources can be rebuilt for ac_prog in perl5 perl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_PERL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$PERL"; then ac_cv_prog_PERL="$PERL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_PERL="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi PERL=$ac_cv_prog_PERL if test -n "$PERL"; then { echo "$as_me:$LINENO: result: $PERL" >&5 echo "${ECHO_T}$PERL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$PERL" && break done REBUILD=\# if test "x$enable_rebuilds" = "xyes" && \ test -n "$PERL" && \ $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then REBUILD= fi # # Checks for FreeType # FREETYPE_LIBS= FREETYPE_CFLAGS= have_freetype=false # Extract the first word of "freetype-config", so it can be a program name with args. set dummy freetype-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $FREETYPE_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_FREETYPE_CONFIG" && ac_cv_path_FREETYPE_CONFIG="no" ;; esac fi FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG if test -n "$FREETYPE_CONFIG"; then { echo "$as_me:$LINENO: result: $FREETYPE_CONFIG" >&5 echo "${ECHO_T}$FREETYPE_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$FREETYPE_CONFIG" != "xno" ; then FREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` FREETYPE_LIBS=`$FREETYPE_CONFIG --libs` { echo "$as_me:$LINENO: checking for FT_New_Face in -lfreetype" >&5 echo $ECHO_N "checking for FT_New_Face in -lfreetype... $ECHO_C" >&6; } if test "${ac_cv_lib_freetype_FT_New_Face+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lfreetype $FREETYPE_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char FT_New_Face (); int main () { return FT_New_Face (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_freetype_FT_New_Face=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_freetype_FT_New_Face=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_New_Face" >&5 echo "${ECHO_T}$ac_cv_lib_freetype_FT_New_Face" >&6; } if test $ac_cv_lib_freetype_FT_New_Face = yes; then have_freetype=true else : fi fi if $have_freetype; then HAVE_FREETYPE_TRUE= HAVE_FREETYPE_FALSE='#' else HAVE_FREETYPE_TRUE='#' HAVE_FREETYPE_FALSE= fi # Check whether --enable-gp was given. if test "${enable_gp+set}" = set; then enableval=$enable_gp; enable_gp_arg="$enableval" else enable_gp_arg=yes fi if test "x$enable_gp_arg" != "xyes" ; then enable_gp_arg=no fi enable_gp=false GNOMEPRINT_REQUIRES="" if test "x$enable_gp_arg" = "xyes" ; then # # Check for libgnomeprint support requirement # have_gnomeprint=false pkg_failed=no { echo "$as_me:$LINENO: checking for GNOMEPRINT" >&5 echo $ECHO_N "checking for GNOMEPRINT... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GNOMEPRINT_CFLAGS"; then pkg_cv_GNOMEPRINT_CFLAGS="$GNOMEPRINT_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 >= 2.8\"") >&5 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 >= 2.8") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOMEPRINT_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprint-2.2 >= 2.8" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GNOMEPRINT_LIBS"; then pkg_cv_GNOMEPRINT_LIBS="$GNOMEPRINT_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 >= 2.8\"") >&5 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 >= 2.8") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOMEPRINT_LIBS=`$PKG_CONFIG --libs "libgnomeprint-2.2 >= 2.8" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GNOMEPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprint-2.2 >= 2.8"` else GNOMEPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprint-2.2 >= 2.8"` fi # Put the nasty error message in config.log where it belongs echo "$GNOMEPRINT_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } : elif test $pkg_failed = untried; then : else GNOMEPRINT_CFLAGS=$pkg_cv_GNOMEPRINT_CFLAGS GNOMEPRINT_LIBS=$pkg_cv_GNOMEPRINT_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } have_gnomeprint=true fi if $have_gnomeprint; then enable_gp=true cat >>confdefs.h <<\_ACEOF #define ENABLE_GP 1 _ACEOF GNOMEPRINT_REQUIRES="pango" else cat >>confdefs.h <<\_ACEOF #define ENABLE_GP 0 _ACEOF GNOMEPRINT_LIBS="" GNOMEPRINT_CFLAGS="" fi fi GNOMEPRINT_ENABLED=$enable_gp ENABLE_GP=$enable_gp if $enable_gp; then ENABLE_GP_TRUE= ENABLE_GP_FALSE='#' else ENABLE_GP_TRUE='#' ENABLE_GP_FALSE= fi # # Checks for Cairo # # Check whether --enable-cairo was given. if test "${enable_cairo+set}" = set; then enableval=$enable_cairo; enable_cairo_arg="$enableval" else enable_cairo_arg=yes fi if test "x$enable_cairo_arg" != "xyes" ; then enable_cairo_arg=no fi enable_cairo=false CAIRO_REQUIRES="" have_cairo=false have_cairo_freetype=false have_cairo_win32=false if test "x$enable_cairo_arg" = "xyes" ; then pkg_failed=no { echo "$as_me:$LINENO: checking for CAIRO" >&5 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$CAIRO_CFLAGS"; then pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2.4\"") >&5 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2.4") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.2.4" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$CAIRO_LIBS"; then pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2.4\"") >&5 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2.4") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.2.4" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= 1.2.4"` else CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.2.4"` fi # Put the nasty error message in config.log where it belongs echo "$CAIRO_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } : elif test $pkg_failed = untried; then : else CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS CAIRO_LIBS=$pkg_cv_CAIRO_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } have_cairo=true fi if $have_cairo ; then pango_save_ldflags=$LDFLAGS INSTALLED_CAIRO_LIBS=`PKG_CONFIG_DISABLE_UNINSTALLED=yes $PKG_CONFIG --libs cairo` LDFLAGS="$LDFLAGS $INSTALLED_CAIRO_LIBS" enable_cairo=true { echo "$as_me:$LINENO: checking for cairo_win32_scaled_font_select_font in -lcairo" >&5 echo $ECHO_N "checking for cairo_win32_scaled_font_select_font in -lcairo... $ECHO_C" >&6; } if test "${ac_cv_lib_cairo_cairo_win32_scaled_font_select_font+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcairo $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char cairo_win32_scaled_font_select_font (); int main () { return cairo_win32_scaled_font_select_font (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_cairo_cairo_win32_scaled_font_select_font=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_cairo_cairo_win32_scaled_font_select_font=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_cairo_cairo_win32_scaled_font_select_font" >&5 echo "${ECHO_T}$ac_cv_lib_cairo_cairo_win32_scaled_font_select_font" >&6; } if test $ac_cv_lib_cairo_cairo_win32_scaled_font_select_font = yes; then have_cairo_win32=true else : fi cat >>confdefs.h <<\_ACEOF #define ENABLE_CAIRO 1 _ACEOF if $have_cairo_win32 && $have_win32; then cat >>confdefs.h <<\_ACEOF #define HAVE_CAIRO_WIN32 1 _ACEOF else { echo "$as_me:$LINENO: checking for cairo_ft_scaled_font_lock_face in -lcairo" >&5 echo $ECHO_N "checking for cairo_ft_scaled_font_lock_face in -lcairo... $ECHO_C" >&6; } if test "${ac_cv_lib_cairo_cairo_ft_scaled_font_lock_face+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcairo $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char cairo_ft_scaled_font_lock_face (); int main () { return cairo_ft_scaled_font_lock_face (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_cairo_cairo_ft_scaled_font_lock_face=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_cairo_cairo_ft_scaled_font_lock_face=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_cairo_cairo_ft_scaled_font_lock_face" >&5 echo "${ECHO_T}$ac_cv_lib_cairo_cairo_ft_scaled_font_lock_face" >&6; } if test $ac_cv_lib_cairo_cairo_ft_scaled_font_lock_face = yes; then have_cairo_freetype=true else : fi if $have_cairo_freetype && $have_freetype ; then cat >>confdefs.h <<\_ACEOF #define HAVE_CAIRO_FREETYPE 1 _ACEOF else have_cairo=false cat >>confdefs.h <<\_ACEOF #define ENABLE_CAIRO 0 _ACEOF fi fi LDFLAGS=$pango_save_ldflags fi fi CAIRO_ENABLED=$enable_cairo ENABLE_CAIRO=$enable_cairo if $enable_cairo; then ENABLE_CAIRO_TRUE= ENABLE_CAIRO_FALSE='#' else ENABLE_CAIRO_TRUE='#' ENABLE_CAIRO_FALSE= fi if $have_cairo; then HAVE_CAIRO_TRUE= HAVE_CAIRO_FALSE='#' else HAVE_CAIRO_TRUE='#' HAVE_CAIRO_FALSE= fi if $have_cairo_win32 && $have_win32; then HAVE_CAIRO_WIN32_TRUE= HAVE_CAIRO_WIN32_FALSE='#' else HAVE_CAIRO_WIN32_TRUE='#' HAVE_CAIRO_WIN32_FALSE= fi if $have_cairo_freetype && $have_freetype; then HAVE_CAIRO_FREETYPE_TRUE= HAVE_CAIRO_FREETYPE_FALSE='#' else HAVE_CAIRO_FREETYPE_TRUE='#' HAVE_CAIRO_FREETYPE_FALSE= fi have_librsvg=false if $enable_cairo ; then pkg_failed=no { echo "$as_me:$LINENO: checking for LIBRSVG" >&5 echo $ECHO_N "checking for LIBRSVG... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBRSVG_CFLAGS"; then pkg_cv_LIBRSVG_CFLAGS="$LIBRSVG_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.4.0\"") >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.4.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_LIBRSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.4.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$LIBRSVG_LIBS"; then pkg_cv_LIBRSVG_LIBS="$LIBRSVG_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.4.0\"") >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.4.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_LIBRSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.4.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "librsvg-2.0 >= 2.4.0"` else LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "librsvg-2.0 >= 2.4.0"` fi # Put the nasty error message in config.log where it belongs echo "$LIBRSVG_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } : elif test $pkg_failed = untried; then : else LIBRSVG_CFLAGS=$pkg_cv_LIBRSVG_CFLAGS LIBRSVG_LIBS=$pkg_cv_LIBRSVG_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } have_librsvg=true fi fi if $have_librsvg; then HAVE_LIBRSVG_TRUE= HAVE_LIBRSVG_FALSE='#' else HAVE_LIBRSVG_TRUE='#' HAVE_LIBRSVG_FALSE= fi HAVE_LIBRSVG=$have_librsvg # # Check have at least one backend enabled # if $enable_gp || $enable_cairo ; then : ; else { { echo "$as_me:$LINENO: error: *** No backends are enabled. *** Must have at least one backend to build xmlroff." >&5 echo "$as_me: error: *** No backends are enabled. *** Must have at least one backend to build xmlroff." >&2;} { (exit 1); exit 1; }; } fi # # Checks for Pango # PANGO_PACKAGES= PANGO_REQUIRED_VERSION=1.10 if $enable_gp ; then PANGO_PACKAGES="$GNOMEPRINT_REQUIRES" fi if $enable_cairo ; then PANGO_PACKAGES="$PANGO_PACKAGES pangocairo" fi have_pango=false pkg_failed=no { echo "$as_me:$LINENO: checking for PANGO" >&5 echo $ECHO_N "checking for PANGO... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PANGO_CFLAGS"; then pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$PANGO_PACKAGES >= \$PANGO_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "$PANGO_PACKAGES >= $PANGO_REQUIRED_VERSION") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "$PANGO_PACKAGES >= $PANGO_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$PANGO_LIBS"; then pkg_cv_PANGO_LIBS="$PANGO_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$PANGO_PACKAGES >= \$PANGO_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "$PANGO_PACKAGES >= $PANGO_REQUIRED_VERSION") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "$PANGO_PACKAGES >= $PANGO_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$PANGO_PACKAGES >= $PANGO_REQUIRED_VERSION"` else PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$PANGO_PACKAGES >= $PANGO_REQUIRED_VERSION"` fi # Put the nasty error message in config.log where it belongs echo "$PANGO_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } : elif test $pkg_failed = untried; then : else PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS PANGO_LIBS=$pkg_cv_PANGO_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } have_pango=true fi if $have_pango ; then : ; else { { echo "$as_me:$LINENO: error: *** Pango $PANGO_REQUIRED_VERSION or newer is required. *** Pango is available at http://pango.org/. " >&5 echo "$as_me: error: *** Pango $PANGO_REQUIRED_VERSION or newer is required. *** Pango is available at http://pango.org/. " >&2;} { (exit 1); exit 1; }; } fi # # Checks for GdkPixBuf # GDKPIXBUF_PACKAGES=gdk-pixbuf-2.0 GDKPIXBUF_REQUIRED_VERSION=2.2 have_gdkpixbuf=false pkg_failed=no { echo "$as_me:$LINENO: checking for GDKPIXBUF" >&5 echo $ECHO_N "checking for GDKPIXBUF... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GDKPIXBUF_CFLAGS"; then pkg_cv_GDKPIXBUF_CFLAGS="$GDKPIXBUF_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GDKPIXBUF_PACKAGES >= \$GDKPIXBUF_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "$GDKPIXBUF_PACKAGES >= $GDKPIXBUF_REQUIRED_VERSION") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GDKPIXBUF_CFLAGS=`$PKG_CONFIG --cflags "$GDKPIXBUF_PACKAGES >= $GDKPIXBUF_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GDKPIXBUF_LIBS"; then pkg_cv_GDKPIXBUF_LIBS="$GDKPIXBUF_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GDKPIXBUF_PACKAGES >= \$GDKPIXBUF_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "$GDKPIXBUF_PACKAGES >= $GDKPIXBUF_REQUIRED_VERSION") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GDKPIXBUF_LIBS=`$PKG_CONFIG --libs "$GDKPIXBUF_PACKAGES >= $GDKPIXBUF_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GDKPIXBUF_PACKAGES >= $GDKPIXBUF_REQUIRED_VERSION"` else GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GDKPIXBUF_PACKAGES >= $GDKPIXBUF_REQUIRED_VERSION"` fi # Put the nasty error message in config.log where it belongs echo "$GDKPIXBUF_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } : elif test $pkg_failed = untried; then : else GDKPIXBUF_CFLAGS=$pkg_cv_GDKPIXBUF_CFLAGS GDKPIXBUF_LIBS=$pkg_cv_GDKPIXBUF_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } have_gdkpixbuf=true fi if $have_gdkpixbuf ; then : ; else { { echo "$as_me:$LINENO: error: *** GdkPixbuf $GDKPIXBUF_REQUIRED_VERSION or newer is required. *** GdkPixbuf is available at http://gtk.org. " >&5 echo "$as_me: error: *** GdkPixbuf $GDKPIXBUF_REQUIRED_VERSION or newer is required. *** GdkPixbuf is available at http://gtk.org. " >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: checking for some Win32 platform" >&5 echo $ECHO_N "checking for some Win32 platform... $ECHO_C" >&6; } case "$host" in *-*-mingw*|*-*-cygwin*) xmlroff_platform_win32=yes ;; *) xmlroff_platform_win32=no ;; esac { echo "$as_me:$LINENO: result: $xmlroff_platform_win32" >&5 echo "${ECHO_T}$xmlroff_platform_win32" >&6; } if test "$xmlroff_platform_win32" = "yes"; then PLATFORM_WIN32_TRUE= PLATFORM_WIN32_FALSE='#' else PLATFORM_WIN32_TRUE='#' PLATFORM_WIN32_FALSE= fi pixels_per_inch_default=96 # Check whether --with-pixels_per_inch was given. if test "${with_pixels_per_inch+set}" = set; then withval=$with_pixels_per_inch; pixels_per_inch="$withval" else : fi if test "x$with_pixels_per_inch" = "x" ; then PIXELS_PER_INCH=$pixels_per_inch_default else PIXELS_PER_INCH=$with_pixels_per_inch fi cat >>confdefs.h <<_ACEOF #define PIXELS_PER_INCH $PIXELS_PER_INCH _ACEOF # Check whether --enable-clip was given. if test "${enable_clip+set}" = set; then enableval=$enable_clip; enable_clip_arg="$clipval" else enable_clip_arg=yes fi if test "x$enable_clip_arg" = "xyes" ; then cat >>confdefs.h <<\_ACEOF #define ENABLE_CLIP 1 _ACEOF else cat >>confdefs.h <<\_ACEOF #define ENABLE_CLIP 0 _ACEOF fi enable_svn2cl=yes # Extract the first word of "svn2cl", so it can be a program name with args. set dummy svn2cl; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_SVN2CL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $SVN2CL in [\\/]* | ?:[\\/]*) ac_cv_path_SVN2CL="$SVN2CL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_SVN2CL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi SVN2CL=$ac_cv_path_SVN2CL if test -n "$SVN2CL"; then { echo "$as_me:$LINENO: result: $SVN2CL" >&5 echo "${ECHO_T}$SVN2CL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$SVN2CL"; then enable_svn2cl=no fi if test x$enable_svn2cl != xno; then ENABLE_SVN2CL_TRUE= ENABLE_SVN2CL_FALSE='#' else ENABLE_SVN2CL_TRUE='#' ENABLE_SVN2CL_FALSE= fi # Check whether --with-changelog-oldest was given. if test "${with_changelog_oldest+set}" = set; then withval=$with_changelog_oldest; fi if test "x$with_changelog_oldest" = "x" ; then # Update this when moving current ChangeLog to ChangeLog.pre-nn. CHANGELOG_OLDEST=377 else CHANGELOG_OLDEST=$with_changelog_oldest fi # # Check for CUnit # OLD_CFLAGS="$CFLAGS" CUNIT_CFLAGS="-I/usr/local/include" CFLAGS="$CFLAGS $CUNIT_CFLAGS" OLD_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -I/usr/local/include" OLD_LIBS="$LIBS" CUNIT_LIBS="-L/usr/local/lib" LIBS="$LIBS $CUNIT_LIBS" have_cunit=false if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then { echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5 echo $ECHO_N "checking for CUnit/CUnit.h... $ECHO_C" >&6; } if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi { echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5 echo "${ECHO_T}$ac_cv_header_CUnit_CUnit_h" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking CUnit/CUnit.h usability" >&5 echo $ECHO_N "checking CUnit/CUnit.h usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking CUnit/CUnit.h presence" >&5 echo $ECHO_N "checking CUnit/CUnit.h presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: CUnit/CUnit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: CUnit/CUnit.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: CUnit/CUnit.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: CUnit/CUnit.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: CUnit/CUnit.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: CUnit/CUnit.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------- ## ## Report this to http://xmlroff.org/newticket ## ## ------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for CUnit/CUnit.h" >&5 echo $ECHO_N "checking for CUnit/CUnit.h... $ECHO_C" >&6; } if test "${ac_cv_header_CUnit_CUnit_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_CUnit_CUnit_h=$ac_header_preproc fi { echo "$as_me:$LINENO: result: $ac_cv_header_CUnit_CUnit_h" >&5 echo "${ECHO_T}$ac_cv_header_CUnit_CUnit_h" >&6; } fi if test $ac_cv_header_CUnit_CUnit_h = yes; then have_cunit=true fi # Check whether --enable-cunit was given. if test "${enable_cunit+set}" = set; then enableval=$enable_cunit; enable_cunit_arg="$enableval" else enable_cunit_arg=no fi if test "x$enable_cunit_arg" != "xno" ; then enable_cunit_arg=yes fi build_cunit=false if test "x$enable_cunit_arg" = "xyes" && \ test "x$have_cunit" = "xtrue" ; then build_cunit=true fi CUNIT_LIBS="$CUNIT_LIBS -lcunit" CFLAGS="$OLD_CFLAGS" CPPFLAGS="$OLD_CPPFLAGS" LIBS="$OLD_LIBS" if $build_cunit; then ENABLE_CUNIT_TRUE= ENABLE_CUNIT_FALSE='#' else ENABLE_CUNIT_TRUE='#' ENABLE_CUNIT_FALSE= fi ac_config_commands="$ac_config_commands libfo/libfo-features.h" ac_config_files="$ac_config_files INSTALL Makefile cunit/Makefile docs/Makefile examples/Makefile examples/xml2003/Makefile libfo/Makefile libfo/area/Makefile libfo/datatype/Makefile libfo/expr/Makefile libfo/fo/Makefile libfo/property/Makefile libfo/util/Makefile libfo-0.6.pc xmlroff.spec xmlroff/Makefile catalog.xml" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { echo "$as_me:$LINENO: updating cache $cache_file" >&5 echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_DOC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_GTK_DOC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_DOCBOOK_TRUE}" && test -z "${HAVE_DOCBOOK_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_DOCBOOK\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_DOCBOOK\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_MAN\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_MAN\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_FREETYPE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_FREETYPE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_GP_TRUE}" && test -z "${ENABLE_GP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_GP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_CAIRO_TRUE}" && test -z "${ENABLE_CAIRO_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_CAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_CAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_CAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_CAIRO_WIN32_TRUE}" && test -z "${HAVE_CAIRO_WIN32_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_CAIRO_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_CAIRO_FREETYPE_TRUE}" && test -z "${HAVE_CAIRO_FREETYPE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_FREETYPE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_CAIRO_FREETYPE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_LIBRSVG_TRUE}" && test -z "${HAVE_LIBRSVG_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBRSVG\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_LIBRSVG\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_SVN2CL_TRUE}" && test -z "${ENABLE_SVN2CL_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SVN2CL\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_SVN2CL\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_CUNIT_TRUE}" && test -z "${ENABLE_CUNIT_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_CUNIT\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_CUNIT\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by xmlroff XSL Formatter $as_me 0.6.2, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ xmlroff XSL Formatter config.status 0.6.2 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2006 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 CONFIG_SHELL=$SHELL export CONFIG_SHELL exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" LIBFO_VERSION_MAJOR=$XMLROFF_VERSION_MAJOR LIBFO_VERSION_MINOR=$XMLROFF_VERSION_MINOR LIBFO_VERSION_MICRO=$XMLROFF_VERSION_MICRO LIBFO_VERSION_EXTRA=$XMLROFF_VERSION_EXTRA LIBFO_PIXELS_PER_INCH=$PIXELS_PER_INCH _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libfo/libfo-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS libfo/libfo-features.h" ;; "INSTALL") CONFIG_FILES="$CONFIG_FILES INSTALL" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "cunit/Makefile") CONFIG_FILES="$CONFIG_FILES cunit/Makefile" ;; "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; "examples/xml2003/Makefile") CONFIG_FILES="$CONFIG_FILES examples/xml2003/Makefile" ;; "libfo/Makefile") CONFIG_FILES="$CONFIG_FILES libfo/Makefile" ;; "libfo/area/Makefile") CONFIG_FILES="$CONFIG_FILES libfo/area/Makefile" ;; "libfo/datatype/Makefile") CONFIG_FILES="$CONFIG_FILES libfo/datatype/Makefile" ;; "libfo/expr/Makefile") CONFIG_FILES="$CONFIG_FILES libfo/expr/Makefile" ;; "libfo/fo/Makefile") CONFIG_FILES="$CONFIG_FILES libfo/fo/Makefile" ;; "libfo/property/Makefile") CONFIG_FILES="$CONFIG_FILES libfo/property/Makefile" ;; "libfo/util/Makefile") CONFIG_FILES="$CONFIG_FILES libfo/util/Makefile" ;; "libfo-0.6.pc") CONFIG_FILES="$CONFIG_FILES libfo-0.6.pc" ;; "xmlroff.spec") CONFIG_FILES="$CONFIG_FILES xmlroff.spec" ;; "xmlroff/Makefile") CONFIG_FILES="$CONFIG_FILES xmlroff/Makefile" ;; "catalog.xml") CONFIG_FILES="$CONFIG_FILES catalog.xml" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # # Set up the sed scripts for CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "$CONFIG_FILES"; then _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF SHELL!$SHELL$ac_delim PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim PACKAGE_NAME!$PACKAGE_NAME$ac_delim PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim PACKAGE_STRING!$PACKAGE_STRING$ac_delim PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim exec_prefix!$exec_prefix$ac_delim prefix!$prefix$ac_delim program_transform_name!$program_transform_name$ac_delim bindir!$bindir$ac_delim sbindir!$sbindir$ac_delim libexecdir!$libexecdir$ac_delim datarootdir!$datarootdir$ac_delim datadir!$datadir$ac_delim sysconfdir!$sysconfdir$ac_delim sharedstatedir!$sharedstatedir$ac_delim localstatedir!$localstatedir$ac_delim includedir!$includedir$ac_delim oldincludedir!$oldincludedir$ac_delim docdir!$docdir$ac_delim infodir!$infodir$ac_delim htmldir!$htmldir$ac_delim dvidir!$dvidir$ac_delim pdfdir!$pdfdir$ac_delim psdir!$psdir$ac_delim libdir!$libdir$ac_delim localedir!$localedir$ac_delim mandir!$mandir$ac_delim DEFS!$DEFS$ac_delim ECHO_C!$ECHO_C$ac_delim ECHO_N!$ECHO_N$ac_delim ECHO_T!$ECHO_T$ac_delim LIBS!$LIBS$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim XMLROFF_VERSION_MAJOR!$XMLROFF_VERSION_MAJOR$ac_delim XMLROFF_VERSION_MINOR!$XMLROFF_VERSION_MINOR$ac_delim XMLROFF_VERSION_MICRO!$XMLROFF_VERSION_MICRO$ac_delim XMLROFF_VERSION!$XMLROFF_VERSION$ac_delim XMLROFF_VERSION_EXTRA!$XMLROFF_VERSION_EXTRA$ac_delim XMLROFF_INTERFACE_AGE!$XMLROFF_INTERFACE_AGE$ac_delim XMLROFF_BINARY_AGE!$XMLROFF_BINARY_AGE$ac_delim LT_RELEASE!$LT_RELEASE$ac_delim LT_VERSION_INFO!$LT_VERSION_INFO$ac_delim LT_CURRENT_MINUS_AGE!$LT_CURRENT_MINUS_AGE$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim CYGPATH_W!$CYGPATH_W$ac_delim PACKAGE!$PACKAGE$ac_delim VERSION!$VERSION$ac_delim ACLOCAL!$ACLOCAL$ac_delim AUTOCONF!$AUTOCONF$ac_delim AUTOMAKE!$AUTOMAKE$ac_delim AUTOHEADER!$AUTOHEADER$ac_delim MAKEINFO!$MAKEINFO$ac_delim install_sh!$install_sh$ac_delim STRIP!$STRIP$ac_delim INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim mkdir_p!$mkdir_p$ac_delim AWK!$AWK$ac_delim SET_MAKE!$SET_MAKE$ac_delim am__leading_dot!$am__leading_dot$ac_delim AMTAR!$AMTAR$ac_delim am__tar!$am__tar$ac_delim am__untar!$am__untar$ac_delim MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim MAINT!$MAINT$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim LDFLAGS!$LDFLAGS$ac_delim CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim EXEEXT!$EXEEXT$ac_delim OBJEXT!$OBJEXT$ac_delim DEPDIR!$DEPDIR$ac_delim am__include!$am__include$ac_delim am__quote!$am__quote$ac_delim AMDEP_TRUE!$AMDEP_TRUE$ac_delim AMDEP_FALSE!$AMDEP_FALSE$ac_delim AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim CCDEPMODE!$CCDEPMODE$ac_delim am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim build!$build$ac_delim build_cpu!$build_cpu$ac_delim build_vendor!$build_vendor$ac_delim build_os!$build_os$ac_delim host!$host$ac_delim host_cpu!$host_cpu$ac_delim host_vendor!$host_vendor$ac_delim host_os!$host_os$ac_delim SED!$SED$ac_delim GREP!$GREP$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF CEOF$ac_eof _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF EGREP!$EGREP$ac_delim LN_S!$LN_S$ac_delim ECHO!$ECHO$ac_delim AR!$AR$ac_delim RANLIB!$RANLIB$ac_delim DSYMUTIL!$DSYMUTIL$ac_delim NMEDIT!$NMEDIT$ac_delim CPP!$CPP$ac_delim CXX!$CXX$ac_delim CXXFLAGS!$CXXFLAGS$ac_delim ac_ct_CXX!$ac_ct_CXX$ac_delim CXXDEPMODE!$CXXDEPMODE$ac_delim am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim CXXCPP!$CXXCPP$ac_delim F77!$F77$ac_delim FFLAGS!$FFLAGS$ac_delim ac_ct_F77!$ac_ct_F77$ac_delim LIBTOOL!$LIBTOOL$ac_delim LIBFO_DEBUG!$LIBFO_DEBUG$ac_delim PKG_CONFIG!$PKG_CONFIG$ac_delim GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim GLIB_LIBS!$GLIB_LIBS$ac_delim HTML_DIR!$HTML_DIR$ac_delim GTK_DOC_CFLAGS!$GTK_DOC_CFLAGS$ac_delim GTK_DOC_LIBS!$GTK_DOC_LIBS$ac_delim HAVE_GTK_DOC_TRUE!$HAVE_GTK_DOC_TRUE$ac_delim HAVE_GTK_DOC_FALSE!$HAVE_GTK_DOC_FALSE$ac_delim HAVE_GTK_DOC!$HAVE_GTK_DOC$ac_delim DB2HTML!$DB2HTML$ac_delim HAVE_DOCBOOK_TRUE!$HAVE_DOCBOOK_TRUE$ac_delim HAVE_DOCBOOK_FALSE!$HAVE_DOCBOOK_FALSE$ac_delim ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim ENABLE_GTK_DOC_FALSE!$ENABLE_GTK_DOC_FALSE$ac_delim XSLTPROC!$XSLTPROC$ac_delim ENABLE_MAN_TRUE!$ENABLE_MAN_TRUE$ac_delim ENABLE_MAN_FALSE!$ENABLE_MAN_FALSE$ac_delim LIBXSLT_CFLAGS!$LIBXSLT_CFLAGS$ac_delim LIBXSLT_LIBS!$LIBXSLT_LIBS$ac_delim PERL!$PERL$ac_delim REBUILD!$REBUILD$ac_delim FREETYPE_CONFIG!$FREETYPE_CONFIG$ac_delim FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim HAVE_FREETYPE_TRUE!$HAVE_FREETYPE_TRUE$ac_delim HAVE_FREETYPE_FALSE!$HAVE_FREETYPE_FALSE$ac_delim GNOMEPRINT_CFLAGS!$GNOMEPRINT_CFLAGS$ac_delim GNOMEPRINT_LIBS!$GNOMEPRINT_LIBS$ac_delim GNOMEPRINT_ENABLED!$GNOMEPRINT_ENABLED$ac_delim GNOMEPRINT_REQUIRES!$GNOMEPRINT_REQUIRES$ac_delim ENABLE_GP!$ENABLE_GP$ac_delim ENABLE_GP_TRUE!$ENABLE_GP_TRUE$ac_delim ENABLE_GP_FALSE!$ENABLE_GP_FALSE$ac_delim CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim CAIRO_LIBS!$CAIRO_LIBS$ac_delim CAIRO_ENABLED!$CAIRO_ENABLED$ac_delim ENABLE_CAIRO!$ENABLE_CAIRO$ac_delim ENABLE_CAIRO_TRUE!$ENABLE_CAIRO_TRUE$ac_delim ENABLE_CAIRO_FALSE!$ENABLE_CAIRO_FALSE$ac_delim HAVE_CAIRO_TRUE!$HAVE_CAIRO_TRUE$ac_delim HAVE_CAIRO_FALSE!$HAVE_CAIRO_FALSE$ac_delim HAVE_CAIRO_WIN32_TRUE!$HAVE_CAIRO_WIN32_TRUE$ac_delim HAVE_CAIRO_WIN32_FALSE!$HAVE_CAIRO_WIN32_FALSE$ac_delim HAVE_CAIRO_FREETYPE_TRUE!$HAVE_CAIRO_FREETYPE_TRUE$ac_delim HAVE_CAIRO_FREETYPE_FALSE!$HAVE_CAIRO_FREETYPE_FALSE$ac_delim LIBRSVG_CFLAGS!$LIBRSVG_CFLAGS$ac_delim LIBRSVG_LIBS!$LIBRSVG_LIBS$ac_delim HAVE_LIBRSVG_TRUE!$HAVE_LIBRSVG_TRUE$ac_delim HAVE_LIBRSVG_FALSE!$HAVE_LIBRSVG_FALSE$ac_delim HAVE_LIBRSVG!$HAVE_LIBRSVG$ac_delim PANGO_CFLAGS!$PANGO_CFLAGS$ac_delim PANGO_LIBS!$PANGO_LIBS$ac_delim GDKPIXBUF_CFLAGS!$GDKPIXBUF_CFLAGS$ac_delim GDKPIXBUF_LIBS!$GDKPIXBUF_LIBS$ac_delim PLATFORM_WIN32_TRUE!$PLATFORM_WIN32_TRUE$ac_delim PLATFORM_WIN32_FALSE!$PLATFORM_WIN32_FALSE$ac_delim SVN2CL!$SVN2CL$ac_delim ENABLE_SVN2CL_TRUE!$ENABLE_SVN2CL_TRUE$ac_delim ENABLE_SVN2CL_FALSE!$ENABLE_SVN2CL_FALSE$ac_delim CHANGELOG_OLDEST!$CHANGELOG_OLDEST$ac_delim CUNIT_LIBS!$CUNIT_LIBS$ac_delim CUNIT_CFLAGS!$CUNIT_CFLAGS$ac_delim ENABLE_CUNIT_TRUE!$ENABLE_CUNIT_TRUE$ac_delim ENABLE_CUNIT_FALSE!$ENABLE_CUNIT_FALSE$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF :end s/|#_!!_#|//g CEOF$ac_eof _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF fi # test -n "$CONFIG_FILES" for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 echo "$as_me: error: Invalid tag $ac_tag." >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac ac_file_inputs="$ac_file_inputs $ac_f" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input="Generated from "`IFS=: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} fi case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin";; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= case `sed -n '/datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' $ac_file_inputs` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s&@configure_input@&$configure_input&;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out"; rm -f "$tmp/out";; *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; esac ;; :H) # # CONFIG_HEADER # _ACEOF # Transform confdefs.h into a sed script `conftest.defines', that # substitutes the proper values into config.h.in to produce config.h. rm -f conftest.defines conftest.tail # First, append a space to every undef/define line, to ease matching. echo 's/$/ /' >conftest.defines # Then, protect against being on the right side of a sed subst, or in # an unquoted here document, in config.status. If some macros were # called several times there might be several #defines for the same # symbol, which is useless. But do not sort them, since the last # AC_DEFINE must be honored. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where # NAME is the cpp macro being defined, VALUE is the value it is being given. # PARAMS is the parameter list in the macro definition--in most cases, it's # just an empty string. ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' ac_dB='\\)[ (].*,\\1define\\2' ac_dC=' ' ac_dD=' ,' uniq confdefs.h | sed -n ' t rset :rset s/^[ ]*#[ ]*define[ ][ ]*// t ok d :ok s/[\\&,]/\\&/g s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p ' >>conftest.defines # Remove the space that was appended to ease matching. # Then replace #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. # (The regexp can be short, since the line contains either #define or #undef.) echo 's/ $// s,^[ #]*u.*,/* & */,' >>conftest.defines # Break up conftest.defines: ac_max_sed_lines=50 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" # et cetera. ac_in='$ac_file_inputs' ac_out='"$tmp/out1"' ac_nxt='"$tmp/out2"' while : do # Write a here document: cat >>$CONFIG_STATUS <<_ACEOF # First, check the format of the line: cat >"\$tmp/defines.sed" <<\\CEOF /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def b :def _ACEOF sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail grep . conftest.tail >/dev/null || break rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines conftest.tail echo "ac_result=$ac_in" >>$CONFIG_STATUS cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then echo "/* $configure_input */" >"$tmp/config.h" cat "$ac_result" >>"$tmp/config.h" if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else rm -f $ac_file mv "$tmp/config.h" $ac_file fi else echo "/* $configure_input */" cat "$ac_result" fi rm -f "$tmp/out12" # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| . 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; "libfo/libfo-features.h":C) featuresfile=libfo/libfo-features.h outfile=$featuresfile.tmp { echo "$as_me:$LINENO: creating $featuresfile" >&5 echo "$as_me: creating $featuresfile" >&6;} cat >$outfile <<_EOF /* Generated by configure. Do not edit */ #ifndef __LIBFO_FEATURES_H__ #define __LIBFO_FEATURES_H__ #define LIBFO_VERSION_MAJOR $LIBFO_VERSION_MAJOR #define LIBFO_VERSION_MINOR $LIBFO_VERSION_MINOR #define LIBFO_VERSION_MICRO $LIBFO_VERSION_MICRO #define LIBFO_PIXELS_PER_INCH $LIBFO_PIXELS_PER_INCH #define LIBFO_VERSION_STRING "$LIBFO_VERSION_MAJOR.$LIBFO_VERSION_MINOR.$LIBFO_VERSION_MICRO" #define LIBFO_VERSION_EXTRA "$LIBFO_VERSION_EXTRA" _EOF # TODO: define macros for enabled features/backends here echo '' >>$outfile echo '#endif /* __LIBFO_FEATURES_H__ */' >>$outfile if cmp -s $outfile $featuresfile; then { echo "$as_me:$LINENO: $featuresfile is unchanged" >&5 echo "$as_me: $featuresfile is unchanged" >&6;} rm -f $outfile else mv $outfile $featuresfile fi ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi fo_doc_subtypes="" if $enable_cairo ; then fo_doc_subtypes="$fo_doc_subtypes 'Cairo'"; fi if $enable_gp ; then fo_doc_subtypes="$fo_doc_subtypes 'GNOME Print'"; fi echo " Configuration: Enabled FoDoc subtypes:$fo_doc_subtypes" echo " CUnit tests enabled: $build_cunit" xmlroff-0.6.2/AUTHORS0000644000175000017500000000002011142313646011156 00000000000000tkg:Tony Graham xmlroff-0.6.2/COPYING0000644000175000017500000000311010765453375011162 00000000000000Copyright (c) 2001, 2002 Sun Microsystems. All Rights Reserved. Copyright (c) 2007-2008 Menteith Consulting Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of Sun Microsystems nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS, AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT SHALL SUN MICROSYSTEMS OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT, OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF SUN MICROSYSTEMS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. xmlroff-0.6.2/ChangeLog0000644000175000017500000005607111156164705011706 000000000000002009-03-11 Tony Graham * [r586] NEWS: Updated for xmlroff 0.6.2. 2009-03-09 Tony Graham * [r583] libfo/area/fo-area-page.c: Readability improvements. 2009-03-09 Tony Graham * [r582] libfo/area/fo-area.c, libfo/fo-xsl-formatter.c, libfo/fo/fo-page-sequence-area.c: Cosmetic and comment changes. 2009-02-23 Tony Graham * [r541] docs/Makefile.am, libfo/area/fo-area-private.h, libfo/expr/fo-expr-func-private.h, libfo/expr/fo-expr-func.c, libfo/fo-context-util.c, libfo/fo/fo-fo-private.h, libfo/property/fo-property-private.h, libfo/property/fo-property-util.c, libfo/property/fo-property.h: Modified includes so don't have to install headers for all datatypes. 2009-02-23 Tony Graham * [r540] autogen.sh: Minor edit to warning message. * [r539] configure.ac: Upped version to 0.6.2. * [r534] cunit/test-fo-doc.c, cunit/test-fo-libfo-module.c: Using '#if ENABLE_GP' so GNOME Print assertions optional. * [r531] libfo/fo/fo-block-fo.c, libfo/fo/fo-list-block-area.c, libfo/fo/fo-list-block.c, libfo/fo/fo-list-item-area.c, libfo/fo/fo-list-item-body-area.c, libfo/fo/fo-list-item-label-area.c, libfo/fo/fo-table-area.c, libfo/fo/fo-table-body-area.c, libfo/fo/fo-table-footer-area.c, libfo/fo/fo-table-header-area.c, libfo/fo/fo-table-row-area.c, libfo/fo/fo-wrapper-block-area.c: Changed to use fo_area_set_generated_by() and fo_area_get_generated_by(). * [r530] libfo/area/fo-area-private.h, libfo/area/fo-area.c, libfo/area/fo-area.h: Moved some functions between header files. * [r529] Makefile.am, configure.ac: Added '--with-changelog-oldest' since ChangeLog restarts with each minor revision increment. 2009-02-11 Tony Graham * [r528] INSTALL.in: Added more packages. Reordered packages. 2009-02-04 Tony Graham * [r526] AUTHORS, ChangeLog, Makefile.am, configure.ac: Automatically updating ChangeLog from Subversion log using 'svn2cl' from 'subversion-tools' package. 2009-01-19 Tony Graham * [r525] autogen.sh: Added support for libtool 2.*. 2008-10-24 Tony Graham * [r523] Makefile.am: Regularising generated Subversion commit message. 2008-10-10 Tony Graham * [r512] xmlroff.spec.in: Added removal of *.so (development linking libraries) to the install stage until RPM devel target package is added here. (Steven Garcia, closes #137.) 2008-09-24 Tony Graham * [r504] configure.ac, libfo/expr/Makefile.am, libfo/property/Makefile.am: Corrected CFLAGS, etc., usage. (Closes #124, Asmodai.) 2008-09-24 Tony Graham * [r503] NEWS: Added Debian 494227 fix. * [r502] ChangeLog: Updated for xmlroff 0.6.1. * [r501] NEWS: Updated for 0.6.1. * [r500] docs/tmpl/fo-table.sgml, libfo/fo/fo-table.h: Added 'FO_TABLE_ERROR_INLINE_PROGRESSION_DIRECTION'. 2008-09-14 Tony Graham * [r488] libfo/area/fo-area-table-row.c: Added fix from Debian 494227 (Thomas Viehmann). Re #99. 2008-09-14 Tony Graham * [r487] libfo/fo/fo-table.c: Table column offsets respect inline-progression-direction. Closes #131. * [r486] configure.ac: Not setting HAVE_RSVG when don't have librsvg. Re #113. 2008-09-11 Tony Graham * [r485] docs/tmpl/fo-property.sgml, docs/tmpl/fo-utils.sgml, docs/tmpl/xmlroff-unused.sgml, docs/xmlroff-docs.sgml, docs/xmlroff-sections.txt, docs/xsl-gobject.xml: Updated doc files. 2008-09-11 Tony Graham * [r484] libfo/area/fo-area-table-private.h, libfo/area/fo-area-table.c, libfo/area/fo-area-table.h, libfo/fo-xsl-formatter.c, libfo/fo-xsl-formatter.h, libfo/fo/Makefile.am, libfo/fo/fo-block-layout.c, libfo/fo/fo-block.c, libfo/fo/fo-fo-private.h, libfo/fo/fo-fo.c, libfo/fo/fo-footnote.c, libfo/fo/fo-idable-private.h[DEL], libfo/fo/fo-idable.c[DEL], libfo/fo/fo-idable.h[DEL], libfo/fo/fo-marker-parent-private.h, libfo/fo/fo-marker-parent.c, libfo/fo/fo-tree.c, libfo/fo/fo-tree.h, xmlroff/xmlroff.c: Removed 'FoIdable', etc., sinc now in separate branch. (Re #77) * [r483] libfo/fo/fo-root.c: Add gtk-doc section comment. * [r482] libfo/property/fo-property-media-usage.c: Add gtk-doc section comment. * [r481] libfo/fo-utils.h: Removed '_()' and 'N_()' since they are in GLib. (Have been in GLib since GLib 2.4, but xmlroff started circa GLib 2.2.) * [r480] libfo/area/fo-area.c: Cosmetic change. * [r479] configure.ac, libfo/Makefile.am, libfo/fo-doc-cairo.c: Vector SVG images for Cairo backend. (Re #113, lleroy) * [r478] libfo/area/fo-area-page.c, libfo/fo/fo-page-sequence-area.c, libfo/fo/fo-page-sequence-area.h, libfo/fo/fo-page-sequence.c: Moved fo_page_sequence_area_new2() to fo_page_sequence_area_new(). * [r477] libfo/area/fo-area-reference-private.h, libfo/area/fo-area-reference.c, libfo/area/fo-area-reference.h, libfo/fo/fo-table-area.c, libfo/fo/fo-table-cell-area.c: Improving handling writing-mode in tables before fixing #131. 2008-08-19 Tony Graham * [r465] libfo/fo/fo-block-layout.c, libfo/fo/fo-block.c, libfo/fo/fo-fo-private.h, libfo/fo/fo-fo.c: Working again after always segfaulting, but now repeated error messages. 2008-07-09 Tony Graham * [r456] docs/tmpl/fo-property.sgml, libfo/fo-xsl-formatter.c, libfo/fo-xsl-formatter.h, libfo/fo/Makefile.am, libfo/fo/fo-block.c, libfo/fo/fo-fo.c, libfo/fo/fo-footnote.c, libfo/fo/fo-idable-private.h, libfo/fo/fo-idable.c, libfo/fo/fo-idable.h, libfo/fo/fo-marker-parent-private.h, libfo/fo/fo-marker-parent.c, libfo/fo/fo-tree.c, libfo/fo/fo-tree.h, libfo/property/fo-property-border-left-width.c, xmlroff/xmlroff.c: Adding 'id-file' as temporary solution for forward page references. (Re #77.) 2008-07-09 Tony Graham * [r455] configure.ac: Upped version to 0.6.1. 2008-07-07 Tony Graham * [r443] NEWS: Added manual changes. 2008-07-07 Tony Graham * [r442] docs/xmlroff-docs.sgml, docs/xmlroff.xml, docs/xsl-gobject.xml, libfo/fo-doc-cairo.c, libfo/fo-doc-gp.c, libfo/fo-node.c, libfo/fo-object.c: Divided manual into users' guide and developers' guide. Other doc changes. 2008-07-06 Tony Graham * [r441] docs/tmpl/fo-fo.sgml, docs/tmpl/fo-property-font-stretch.sgml, docs/tmpl/fo-property-font-style.sgml, docs/tmpl/fo-utils.sgml, docs/tmpl/xmlroff-unused.sgml, docs/xmlroff-sections.txt: Doc updates. 2008-07-06 Tony Graham * [r440] ChangeLog: Updated for xmlroff 0.6.0. * [r439] NEWS: Updated for xmlroff 0.6.0. * [r437] libfo/fo-font-desc.c, libfo/fo-font-desc.h, libfo/fo-utils.h, libfo/property/fo-property-font-stretch.c, libfo/property/fo-property-font-stretch.h, libfo/property/fo-property-font-style.c, libfo/property/fo-property-font-style.h: Using FoEnumEnum enums for font-stretch and font-style. (Closes #58.) * [r436] libfo/fo/fo-external-graphic-area.c, libfo/fo/fo-external-graphic.c, libfo/fo/fo-fo.c, libfo/fo/fo-fo.h: Coping if no image file. (Closes #69.) * [r435] docs/tmpl/fo-xsl-formatter.sgml, libfo/fo-xsl-formatter.c, libfo/fo-xsl-formatter.h, xmlroff/xmlroff.c: Catching if result document's document element is not a fo:root. (Closes #117.) 2008-07-05 Tony Graham * [r434] configure.ac, cunit/Makefile.am, cunit/test-fo-doc.c, cunit/test-fo-libfo-module.c, cunit/test-fo-libfo-module.h, cunit/test-libfo-version.c, cunit/test.c, docs/tmpl/fo-doc.sgml, docs/tmpl/fo-xml-doc.sgml, docs/tmpl/fo-xslt-transformer.sgml, docs/tmpl/xmlroff-unused.sgml, docs/xmlroff-sections.txt, docs/xmlroff.types, libfo/Makefile.am, libfo/fo-doc-cairo.c, libfo/fo-doc-gp.c, libfo/fo-doc-private.h, libfo/fo-doc.c, libfo/fo-doc.h, libfo/fo-libfo-module-private.h, libfo/fo-libfo-module.c, libfo/fo-libfo-module.h, libfo/fo-xml-doc.c, libfo/fo-xml-doc.h, libfo/fo-xsl-formatter.c, libfo/fo-xslt-transformer.c, libfo/fo-xslt-transformer.h, libfo/libfo-version.c, libfo/libfo-version.h: Hopefully the final attempt at a version API. (Re #123.) 2008-07-04 Tony Graham * [r433] cunit/test-libfo-version.c, docs/tmpl/xmlroff-unused.sgml, docs/xmlroff-sections.txt, libfo/fo-doc-cairo.c, libfo/fo-doc-gp.c, libfo/fo-doc-private.h, libfo/fo-doc.c, libfo/fo-doc.h, libfo/fo-utils.h, libfo/libfo-version.c, libfo/libfo-version.h: Next rendition of a version interface for libfo components. (Re #123.) 2008-07-04 Tony Graham * [r432] docs/Makefile.am: Wouldn't run if xmlroff.1 didn't exist. * [r431] docs/Makefile.am, docs/xmlroff-docs.sgml, docs/xsl-gobject.xml: Relating XSL FOs to GObjects. 2008-06-26 Tony Graham * [r430] libfo/libfo-version.h: Cosmetic change. 2008-06-26 Tony Graham * [r429] cunit/Makefile.am, cunit/test-libfo-version.c, cunit/test-libfo-version.h, cunit/test.c, libfo/libfo-version.c: Backend runtime version info now available from libfo_version_backend_info(). (Re #123.) * [r428] configure.ac, docs/Makefile.am: Added generating xmlroff.1 man page if configure with --enable-man. 2008-06-20 Tony Graham * [r427] cunit/test-fo-doc.c, libfo/libfo-version.c, libfo/libfo-version.h: Documentation updates. 2008-06-20 Tony Graham * [r426] docs/tmpl/fo-doc.sgml, docs/tmpl/fo-libfo-context.sgml, docs/tmpl/fo-utils.sgml, docs/tmpl/xmlroff-unused.sgml, docs/xmlroff-docs.sgml, docs/xmlroff-sections.txt, libfo/fo-libfo-context.c, libfo/fo-libfo-context.h, libfo/fo-utils.h, libfo/fo/fo-tree.c, libfo/property/fo-property.c: Documentation updates. * [r425] cunit/Makefile.am, cunit/test-fo-doc.c, libfo/fo-doc-cairo.c, libfo/fo-doc-private.h, libfo/fo-doc.c, libfo/fo-doc.h: Added fo_doc_version_from_name() and fo_doc_version_string_from_name(). (Re #123.) 2008-06-19 Tony Graham * [r424] cunit/Makefile.am, cunit/test-fo-doc.c, cunit/test-fo-doc.h, cunit/test-fo-libfo-context.c, cunit/test-fo-libfo-context.h, cunit/test.c, docs/xmlroff-sections.txt, libfo/fo-doc-cairo-private.h, libfo/fo-doc-cairo.c, libfo/fo-doc-gp-private.h, libfo/fo-doc-gp.c, libfo/fo-doc-private.h, libfo/fo-doc.c, libfo/fo-doc.h, libfo/fo-libfo-context.c, libfo/fo-libfo-context.h, libfo/property/fo-property-media-usage.h, xmlroff/xmlroff.c: Renamed FoEnumFormat to FoFlagsFormat so it could indicate multiple values. Added fo_doc_formats_from_name() for getting formats supported by a backend (re #123). Added some CUnit tests. Made xmlroff do case-insensitive matching on backend and format parameters. 2008-06-19 Tony Graham * [r423] libfo/fo/fo-tree.c: Stopped a compiler warning. 2008-06-18 Tony Graham * [r422] libfo/libfo-version.h: Corrected copyright. 2008-06-18 Tony Graham * [r421] docs/backends.xml, docs/tmpl/fo-area-layout.sgml, docs/tmpl/fo-integer.sgml, docs/tmpl/fo-property.sgml, docs/tmpl/xmlroff-unused.sgml, docs/xmlroff-docs.sgml, docs/xmlroff-sections.txt: Documentation updates. * [r420] configure.ac, libfo/Makefile.am, libfo/libfo-version.c, libfo/libfo-version.h, xmlroff/xmlroff.c: First pass at adding version API. (Re #123.) 2008-06-12 Tony Graham * [r419] docs/Makefile.am: Added first-time failure fix from http://bugzilla.gnome.org/show_bug.cgi?id=156643 2008-05-07 Tony Graham * [r418] configure.ac: Changed to using 'AC_CHECK_HEADER' to check for CUnit. (Closes #116.) 2008-05-03 Tony Graham * [r417] docs/directory-structure.xml: Updated. 2008-05-03 Tony Graham * [r416] docs/generating-source.xml: Fixed 'codegen' module name. 2008-05-02 Tony Graham * [r415] libfo/util/fo-image.c: Starting to handle missing graphic. (Re #69.) 2008-05-02 Tony Graham * [r414] libfo/property/fo-property.c, libfo/property/fo-property.h: Made fo_property_new() static. * [r413] libfo/datatype/fo-error.h: Added a missing #include. * [r412] autogen.sh, configure.ac, docs/Makefile.am: Reverted attempt to use 'gtkdocize' to setup gtk-doc usage since many xmlroff users build from svn and don't have gtk-doc installed. 2008-05-01 Tony Graham * [r411] autogen.sh: Made 'gtkdocize' optional. 2008-04-15 Tony Graham * [r410] libfo/fo/fo-external-graphic.c: Handling length-range for viewport width/height when resolving dimensions. Re #120. 2008-03-30 Tony Graham * [r409] docs/xmlroff.xml: Changed to reporting bugs at http://xmlroff.org/newticket. 2008-03-30 Tony Graham * [r408] libfo/datatype/fo-integer.c, libfo/datatype/fo-integer.h: Made fo_integer_new() to be static. * [r407] libfo/area-to-pdf.c: Added a comment. * [r406] libfo/datatype/fo-error.c: Cleaned up includes. 2008-03-18 Tony Graham * [r403] libfo/property/fo-property.c: G_PARAM_CONSTRUCT_ONLY was breaking xmlroff. 2008-03-18 Tony Graham * [r402] docs/conformance-body.xml: More up to date. * [r401] libfo/fo/Makefile.am: Version number update. * [r400] libfo-0.5.pc.in[DEL]: Superseded by libfo-0.6.pc.in. * [r399] Makefile.am, configure.ac, cunit/Makefile.am, libfo-0.6.pc.in[CPY], libfo/Makefile.am, libfo/area/Makefile.am, libfo/datatype/Makefile.am, libfo/property/Makefile.am, libfo/util/Makefile.am, xmlroff/Makefile.am: More version number changes. 2008-03-17 Tony Graham * [r398] ChangeLog, NEWS: Updated for xmlroff 0.6.0. 2008-03-17 Tony Graham * [r397] libfo/area/fo-area-table-part.h: Corrected includes. 2008-03-14 Tony Graham * [r396] libfo/area/fo-all-area.h, libfo/fo/fo-all-fo.h: Added more includes so gtk-doc scan-obj doesn't complain. 2008-03-14 Tony Graham * [r395] docs/Makefile.am, docs/xmlroff.css: Trickery to get colours in conformance table in 'dist' version of documentation. * [r394] autogen.sh, configure.ac, docs/Makefile.am: Updated configuring for gtk-doc to match advice in http://library.gnome.org/devel/gtk-doc-manual/stable/index.html.en * [r393] libfo/property/fo-property-alignment-adjust.h, libfo/property/fo-property-alignment-baseline.h, libfo/property/fo-property-background-color.h, libfo/property/fo-property-background-image.h, libfo/property/fo-property-baseline-shift.h, libfo/property/fo-property-block-progression-dimension-maximum.h, libfo/property/fo-property-block-progression-dimension-minimum.h, libfo/property/fo-property-block-progression-dimension-optimum.h, libfo/property/fo-property-block-progression-dimension.h, libfo/property/fo-property-border-after-color.h, libfo/property/fo-property-border-after-precedence.h, libfo/property/fo-property-border-after-style.h, libfo/property/fo-property-border-after-width.h, libfo/property/fo-property-border-before-color.h, libfo/property/fo-property-border-before-precedence.h, libfo/property/fo-property-border-before-style.h, libfo/property/fo-property-border-before-width.h, libfo/property/fo-property-border-bottom-color.h, libfo/property/fo-property-border-bottom-style.h, libfo/property/fo-property-border-bottom-width.h, libfo/property/fo-property-border-bottom.h, libfo/property/fo-property-border-collapse.h, libfo/property/fo-property-border-color.h, libfo/property/fo-property-border-end-color.h, libfo/property/fo-property-border-end-precedence.h, libfo/property/fo-property-border-end-style.h, libfo/property/fo-property-border-end-width.h, libfo/property/fo-property-border-left-color.h, libfo/property/fo-property-border-left-style.h, libfo/property/fo-property-border-left-width.h, libfo/property/fo-property-border-left.h, libfo/property/fo-property-border-right-color.h, libfo/property/fo-property-border-right-style.h, libfo/property/fo-property-border-right-width.h, libfo/property/fo-property-border-right.h, libfo/property/fo-property-border-separation.h, libfo/property/fo-property-border-start-color.h, libfo/property/fo-property-border-start-precedence.h, libfo/property/fo-property-border-start-style.h, libfo/property/fo-property-border-start-width.h, libfo/property/fo-property-border-style.h, libfo/property/fo-property-border-top-color.h, libfo/property/fo-property-border-top-style.h, libfo/property/fo-property-border-top-width.h, libfo/property/fo-property-border-top.h, libfo/property/fo-property-border-width.h, libfo/property/fo-property-border.h, libfo/property/fo-property-break-after.h, libfo/property/fo-property-break-before.h, libfo/property/fo-property-character.h, libfo/property/fo-property-clip.h, libfo/property/fo-property-color.h, libfo/property/fo-property-column-number.h, libfo/property/fo-property-column-width.h, libfo/property/fo-property-content-height.h, libfo/property/fo-property-content-type.h, libfo/property/fo-property-content-width.h, libfo/property/fo-property-direction.h, libfo/property/fo-property-display-align.h, libfo/property/fo-property-dominant-baseline.h, libfo/property/fo-property-end-indent.h, libfo/property/fo-property-extent.h, libfo/property/fo-property-flow-name.h, libfo/property/fo-property-font-family.h, libfo/property/fo-property-font-variant.h, libfo/property/fo-property-font-weight.h, libfo/property/fo-property-grouping-separator.h, libfo/property/fo-property-grouping-size.h, libfo/property/fo-property-height.h, libfo/property/fo-property-id.h, libfo/property/fo-property-inline-progression-dimension-maximum.h, libfo/property/fo-property-inline-progression-dimension-minimum.h, libfo/property/fo-property-inline-progression-dimension-optimum.h, libfo/property/fo-property-inline-progression-dimension.h, libfo/property/fo-property-keep-together-within-column.h, libfo/property/fo-property-keep-together-within-line.h, libfo/property/fo-property-keep-together-within-page.h, libfo/property/fo-property-keep-together.h, libfo/property/fo-property-keep-with-next-within-column.h, libfo/property/fo-property-keep-with-next-within-line.h, libfo/property/fo-property-keep-with-next-within-page.h, libfo/property/fo-property-keep-with-next.h, libfo/property/fo-property-keep-with-previous-within-column.h, libfo/property/fo-property-keep-with-previous-within-line.h, libfo/property/fo-property-keep-with-previous-within-page.h, libfo/property/fo-property-keep-with-previous.h, libfo/property/fo-property-letter-value.h, libfo/property/fo-property-line-height.h, libfo/property/fo-property-line-stacking-strategy.h, libfo/property/fo-property-linefeed-treatment.h, libfo/property/fo-property-margin-bottom.h, libfo/property/fo-property-margin-left.h, libfo/property/fo-property-margin-right.h, libfo/property/fo-property-margin-top.h, libfo/property/fo-property-margin.h, libfo/property/fo-property-master-name.h, libfo/property/fo-property-master-reference.h, libfo/property/fo-property-media-usage.h, libfo/property/fo-property-number-columns-spanned.h, libfo/property/fo-property-number-rows-spanned.h, libfo/property/fo-property-orphans.h, libfo/property/fo-property-overflow.h, libfo/property/fo-property-padding-after-conditionality.h, libfo/property/fo-property-padding-after-length.h, libfo/property/fo-property-padding-after.h, libfo/property/fo-property-padding-before-conditionality.h, libfo/property/fo-property-padding-before-length.h, libfo/property/fo-property-padding-before.h, libfo/property/fo-property-padding-bottom.h, libfo/property/fo-property-padding-end-conditionality.h, libfo/property/fo-property-padding-end-length.h, libfo/property/fo-property-padding-end.h, libfo/property/fo-property-padding-left.h, libfo/property/fo-property-padding-right.h, libfo/property/fo-property-padding-start-conditionality.h, libfo/property/fo-property-padding-start-length.h, libfo/property/fo-property-padding-start.h, libfo/property/fo-property-padding-top.h, libfo/property/fo-property-padding.h, libfo/property/fo-property-page-height.h, libfo/property/fo-property-page-width.h, libfo/property/fo-property-provisional-distance-between-starts.h, libfo/property/fo-property-provisional-label-separation.h, libfo/property/fo-property-ref-id.h, libfo/property/fo-property-region-name.h, libfo/property/fo-property-role.h, libfo/property/fo-property-scaling-method.h, libfo/property/fo-property-scaling.h, libfo/property/fo-property-score-spaces.h, libfo/property/fo-property-source-document.h, libfo/property/fo-property-space-after-conditionality.h, libfo/property/fo-property-space-after-maximum.h, libfo/property/fo-property-space-after-minimum.h, libfo/property/fo-property-space-after-optimum.h, libfo/property/fo-property-space-after-precedence.h, libfo/property/fo-property-space-after.h, libfo/property/fo-property-space-before-conditionality.h, libfo/property/fo-property-space-before-maximum.h, libfo/property/fo-property-space-before-minimum.h, libfo/property/fo-property-space-before-optimum.h, libfo/property/fo-property-space-before-precedence.h, libfo/property/fo-property-space-before.h, libfo/property/fo-property-space-end-conditionality.h, libfo/property/fo-property-space-end-maximum.h, libfo/property/fo-property-space-end-minimum.h, libfo/property/fo-property-space-end-optimum.h, libfo/property/fo-property-space-end-precedence.h, libfo/property/fo-property-space-end.h, libfo/property/fo-property-space-start-conditionality.h, libfo/property/fo-property-space-start-maximum.h, libfo/property/fo-property-space-start-minimum.h, libfo/property/fo-property-space-start-optimum.h, libfo/property/fo-property-space-start-precedence.h, libfo/property/fo-property-space-start.h, libfo/property/fo-property-span.h, libfo/property/fo-property-src.h, libfo/property/fo-property-start-indent.h, libfo/property/fo-property-table-layout.h, libfo/property/fo-property-text-align.h, libfo/property/fo-property-text-indent.h, libfo/property/fo-property-text-property.h, libfo/property/fo-property-type-condity.h, libfo/property/fo-property-unicode-bidi.h, libfo/property/fo-property-white-space-collapse.h, libfo/property/fo-property-white-space-treatment.h, libfo/property/fo-property-widows.h, libfo/property/fo-property-width.h, libfo/property/fo-property-wrap-option.h, libfo/property/fo-property-writing-mode.h: Regularised include of property/fo-property.h so gtk-doc scan-obj works. * [r392] libfo/fo/fo-tree.c: Sorting debug dump of id hash (and other hashes). (Re #77.) * [r391] libfo/property/fo-property-border-left-width.c: Experimenting with putting descriptive documentation in source code to be picked up by gtk-doc. * [r390] docs/xmlroff.types: Corrected #includes. * [r389] libfo/property/fo-property.c: Added GObject properties for 'is-inherited' and 'is-shorthand'. * [r388] docs/xmlroff-sections.txt: Added many to put blank lines in formatted in formatted synopses. 2008-03-11 Tony Graham * [r387] libfo/fo-doc-cairo.c: Corrected image placement. (Closes #42, lode leroy) 2008-03-11 Tony Graham * [r385] ChangeLog.pre-0.6[CPY]: Changes before xmlroff 0.6.0. * [r384] COPYING, configure.ac: Thanks to the efforts of Jon Bosak of Sun and of Mike Anastasio of Sun's Intellectual Property Law Group, Sun has approved the re-release of xmlroff under this BSD license (essentially the same as the old one with the nuclear paragraph removed). Changes made since Sun released the original source code and ceased its involvement with the project are similarly relicensed. Version number upped to 0.6.0 to mark the change in license terms. xmlroff-0.6.2/INSTALL0000644000175000017500000001302311155246055011151 000000000000000.6.2 Beginner's Installation Notes MINI-HOWTO ---------------------------------------------------------- Fabio Arciniegas, Tony Graham Contents -------- . Introduction . Overview of the process . Installing dependencies . Building and installing xmlroff . Common Trouble . Testing Introduction ------------ xmlroff is an open source XSL formatter. xmlroff has the ability of rendering XSL-FO as PDF documents and therefore can be particularly interesting to a variety of individuals and projects (e.g. UBL enthusiasts can render XSL-FO transformations of their documents to PDF). xmlroff is also an alpha technology and as such it's building/installation can be daunting. The goal of this document is to provide a concise but useful guide to the compilation and installation of xmlroff for beginners on a typical modern linux system (such as Debian 9), paying especial attention to details which would otherwise rely on knowledge of C development under Linux. Experts in the compilation of alpha/beta level software on linux platforms will probably want to skip this document. DISCLAIMER ---------- I realize the information on this document is pretty unpolished and makes lots of assumptions about your system. I hope such assumptions are correct for most modern cases (the main target was individual users in linux platforms such as Debian 9), and hope the net effect of this document is positive, but I don't guarantee it in any way. This document does not replace any official documentation, and is provided WITHOUT ANY WARRANTY OR PROMISE EXPLICIT OR IMPLICIT. Overview of the Process ----------------------- The process is ideally very simple: 1. download xmlroff 2. Install the dependencies 3. run make 4. run make install (as root) Instead of providing a generalized version of those steps, assuming you know how to build C programs in linux (that is the goal general install notes are for), I will assume that you have a typical modern workstation configuration and don't know much about building software from scratch on linux. Download xmlroff ---------------- Get the xmlroff source from http://xmlroff.org/ Installing dependencies ----------------------- xmlroff depends on a number of packages: libgnomeprint, pango, cairo, libxml2, libxslt, GTK2, GLib and GObject. I recommend you use your package manager utility (most systems nowadays have KPackage installed as part of the standard KDE environment) to install the most recent packaged versions of each software. When you are installing the packages, you will notice that next to some of them, there are similar packages with the '-dev' (or '-devel') suffix. You will want to install those too, they include header files you need to compile against later. In particular you want to select from the package list: * libxslt1-dev * libpango1.0-dev * libglib2.0-dev * libcairo2-dev and/or libgnomeprint2.2-dev * libgtk2.0-dev (not libgdk-pixbuf-dev) Optional packages include: * librsvg-dev * cunit Note that the exact package name may be different on your system. Building xmlroff ---------------- Now, untar xmlroff : tar zxvf xmlroff-0.6.2.tar.gz Now you should be ready. Inside the xmlroff directory do these three: ./configure make make install When building from a Subversion checkout, use './autogen.sh' instead of './configure'. TESTING ------- Format the man page for xmlroff: xmlroff/xmlroff docs/xmlroff.fo The result is written to layout.pdf. ENSURING COMPATIBILITY ---------------------- The xmlroff distribution includes a 'libfo-compat.xsl' stylesheet that you can run on your FO files to help ensure that they use only the subset of the XSL specification that xmlroff supports. The stylesheet is built in to xmlroff, and the compatibility processing is enabled by default. 'libfo-compat.xsl' attempts to rewrite or remove elements and attributes that cause problems for xmlroff. The formatted result may not be what you expect, but you are more likely to get formatted output if you do run the compatibility processing on problematic files. To turn off the compatibility processing, use the '--nocompat' option. xmlroff prints a copy of the built-in stylesheet when you use the '--compat-stylesheet' option, plus when you install xmlroff, 'libfo-compat.xsl' typically installs in /usr/share/xml/libfo-0.6.2 or /usr/local/share/xml/libfo-0.6.2. There are many ways to use the stylesheet: - Directly using xmlroff xmlroff in.fo or xmlroff --compat in.fo - Directly using xsltproc xsltproc /usr/share/xml/libfo-0.6.2/libfo-compat.xsl in.fo > out.fo - Directly using xmlroff and xsltproc xmlroff --compat-stylesheet > libfo-compat.xsl xsltproc libfo-compat.xsl in.fo > out.fo - Using XML catalogs Add the following two lines to /etc/xml/catalog: then use the URI for the stylesheet: xsltproc http://xmlroff.org/release/libfo/current/libfo-compat.xsl in.fo > out.fo - Using pkg-config The pkg-config file for libfo defines a variable for the location of 'libfo-compat.xsl': xsltproc `pkg-config --variable=compat_stylesheet libfo-0.5` in.fo > out.fo When you supply a 'verbose' parameter with a non-false value when using 'libfo-compat.xsl' with xsltproc, the stylesheet prints status messages explaining what is being modified. xmlroff-0.6.2/NEWS0000644000175000017500000001733611155250355010630 00000000000000Changes between 0.6.1 and 0.6.2 * Modified some #includes Changes between 0.6.0 and 0.6.1 * SVG external graphics rendered as vectors in Cairo backend (#113, lode leroy) * Fixed CFLAGS usage in configure.ac (#124, Asmodai) * Table column order respects writing mode (#131) * Added table fix from Debian 494227 (#99, Thomas Viehmann) All xmlroff 0.6.1 tickets are listed at http://xmlroff.org/query?milestone=xmlroff+0.6.1 Changes between 0.5.5 and 0.6.0 * Using plain BSD license (Jon Bosak, Mike Anastasio) * Added version API (#123) * Fixed segfault if input not an FO document (#117) * Added generating xmlroff.1 man page * Fixed checking for CUnit (#116) * PNG graphics rendering in Cairo backend (#42, lode leroy) * Fewer error messages when image file not found (#69) * Divided manual into users' guide and developers' guide chapters All xmlroff 0.6.0 tickets are listed at http://xmlroff.org/query?milestone=xmlroff+0.6.0 Changes between 0.5.4 and 0.5.5 * Fixed cell borders on spanned table cells (#93) * Fixed cell borders when last cell in row is shorter (#101) * Fixed cell placement when multiple intrusions from previous row (#108) * Implemented 'display-align' for fo:table-cell (#107) * Reordering fo:table-footer to after fo:table-body (#94) All xmlroff 0.5.5 tickets are listed at http://xmlroff.org/query?milestone=xmlroff+0.5.5 Changes between 0.5.3 and 0.5.4 * Fixed compilation problem if CUnit not present (#100) * Added IDs to static XML files (#84, Asmodai) * Fixed some table bugs Changes between 0.5.2 and 0.5.3 * Implemented linefeed-treatment and white-space-collapse properties (#79, #92) * Removed out-of-date autogenerated documentation files (#66) All xmlroff 0.5.3 tickets are listed at http://xmlroff.org/query?milestone=xmlroff+0.5.3 Changes between 0.5.1 and 0.5.2 * Fixed crash in locales with comma as decimal separator (#49) * Cleaned up all compiler warnings (#51) * >99% reduction in 'permanently lost' memory leaks (#52) All xmlroff 0.5.2 tickets are listed at http://xmlroff.org/query?milestone=xmlroff+0.5.2 Changes between 0.5.0 and 0.5.1 * Reorganised source code directories (#2) * Removed CVS/RCS keywords since now using Subversion * Fixed compilation error when GNOME Print not installed (#34, Matti Hamalainen) * Fixed segfaults when media-usage not 'paginate' Changes between 0.4.0 and 0.5.0 * Does not require PangoXSL (#4) * Uses GOption instead of popt (#8, Satoru SATOH) * Defaults to using compatibility stylesheet (#24) Changes between 0.3.99 and 0.4.0 * Easier to build using bundled PangoXSL Changes between 0.3.98 and 0.3.99 * xmlroff manpage in DocBook XML (Oliver Kiddle) * Cairo backend is less experimental * Added Cairo backend SVG output that is really experimental * Added handling of base for relative URIs when '--compat' is used * Handles 'auto' for page width and height (1159713) * Reworked checking for popt (1207495) Changes between 0.3.9 and 0.3.98 * Added '--compat' option for running compatibility stylesheet * Added experimental Cairo backend * Added '-w' option for setting warning mode * Added handling empty fo:wrapper * Simplified creating FoXmlDoc and running XSLT transformations * Removed support for SGML catalogs Changes between 0.3.8 and 0.3.9 * Added 'extent' Changes between 0.3.7 and 0.3.8 * Corrected endless loop if area won't fit on page * Added handling 'overflow' property of fo:region-body * xmlroff stops at first error instead of continuing Changes between 0.3.6 and 0.3.7 * Corrected placement of fo:external-graphic if not first on line * Added setting pixels-per-inch (for graphics without intrinsic size) as configure option * Working on averting endless loop if area won't fit on page. Changes between 0.3.5 and 0.3.6 * Resolves relative URIs for fo:external-graphic 'src' property values (Stefan Seefeld) * Added 'content-type' to libfo-compat.xsl * Stopped requiring 'content-height' and 'content-width' * Supporting percentages for 'content-height' and 'content-width' * Improved Cygwin support (Gerrit Haase) Changes between 0.3.4 and 0.3.5 * fo:external-graphic works (but requires 'content-height' and 'content-width') * Stopped removing 'fo:external-graphic' in libfo-compat.xsl (Tim Waugh) * Able to build in separate directory (Matthew Daniel) * Default 'auto' output format determines format from output file extension * Added conformance section to documentation Changes between 0.3.3 and 0.3.4 * Add '--format' parameter for PDF or PostScript output * Reduced memory leakage * Partially re-implemented fo:external-graphic support * Corrected whitespace handling in libfo-compat.xsl (Tim Waugh) * Corrected "url()" handling * 86% symbol docs coverage Changes between 0.3.2 and 0.3.3 * Added support for 'border', 'border-left', 'border-right', 'border-top', 'border-bottom', 'border-style', 'border-width', and 'border-color' properties (Julian Rosse) * Removed border-related properties and 'padding' from libfo-compat.xsl * Corrected whitespace handling in libfo-compat.xsl * Added removal of more unsupported properties in libfo-compat.xsl * Corrected drawing 'dashed', 'dotted', 'groove', and 'hidden' border styles * Partially re-implemented fo:external-graphic support * Build fixes to work with latest GCC (Tim Waugh) Changes between 0.3.1 and 0.3.2 * Added support for X11 colour names as 'color' keywords * Removed rewriting of 'color' and similar properties' from libfo-compat.xsl * Improved documentation * Minor bug fixes Changes between 0.3.0 and 0.3.1 * Improved documentation * Minor bug fixes Changes between 0.2.8 and 0.3.0 * No more PDFlib backend * Uses PangoXSL, not PangoPDF * 'libfo-compat.xsl' stylesheet for ensuring compatibility of FO files Changes between 0.2.7 and 0.2.8 * xmlroff-specific INSTALL file (Fabio Arciniegas) * Defaults to not building PDFlib backend Changes between 0.2.6 and 0.2.7: * Fixed bug where fo:block repeated when broken over a page * Supports .length and .conditionality on padding properties * Installs more headers that are now used in libfo-examples * Stopped segfaulting on unsupported properties (Charles Bozeman) Changes between 0.2.5 and 0.2.6: * Fixed bug in recognising predefined region names * Moved more enumeration tokens to fo-enum.[ch] * 85% symbol docs coverage Changes between 0.2.4 and 0.2.5: * Added 'padding' shorthand property * Fixed bug in 'gp' backend colour calculations * All properties now created using fo_property_new_from_expression() * Most property-specific enumerations moved to fo-enum.[ch] * 84% documentation comment coverage Changes between 0.2.3 and 0.2.4: * Defaults to using 'gp' backend instead of 'pdflib' backend * Added warning for when table-layout="fixed" is specified but width property isn't * Added support for building with libtool 1.5 (Dave Malcolm) * Added xmlroff.spec.in for use with rpmbuild (Tim Waugh) * Numerous bug fixes * 81% documentation comment coverage Changes between 0.2.2 and 0.2.3: * Builds without PDFlib when using --disable-pdflib configure switch * Builds without GNOME Print when using --disable-gp configure switch * 'Basic' interface usable from other programs/libraries * 80% documentation comment coverage Changes between 0.2.1 and 0.2.2: * Build fixes for handling dependency on libxml2 [Charles Bozeman] * Minor property code improvements * Increased documentation comment coverage Changes between 0.2.0 and 0.2.1: * Add FoPropertyTextPropertyIface interface for getting PangoAttribute from inline properties of FoInlineFoIface formatting objects * Build fixes for use with statically linked fontconfig * Put common color property validation in fo-property-util.[ch] What is new in xmlroff 0.2.0: * Initial public release xmlroff-0.6.2/TODO0000644000175000017500000000342510611742707010616 00000000000000xmlroff TODO Convert 'proportional-column-width' datatype to compound datatype It would be simpler if the 'proportional-column-width' datatype was a compound datatype with 'length' and 'proportional' components. This would reduce the calculations done when a table has no columns with proportional width. Convert fo-expr-context-private.h _get_ functions to macros Macros were turned into functions when the header file was going to be publicly visible, but since it is now private to the expression parsing code, the functions could easily be made into macros again. Merge all enumeration tokens into one large GEnum Since, in principle, a property can get its value from almost any other property type by using inherited-property-value(), from-parent(), from-nearest-specified-value(), or from-table-column(), maybe all enumeration tokens should be in one large GEnum, with a property required to check that a particular value from another property is valid for the current property. Maybe this doesn't fit with the current practise of turning enumeration tokens into resolved values straight away. Remove 'context' parameter from _resolve_enum() functions The FoContext is unnecessary once none of the _resolve_enum() functions handle the 'inherit' keyword. This will also affect _validate() functions of properties, since they will also no longer need a 'context' parameter. Convert property value calculations to use functions in fo-datatype.h Calculations involving property datatype's values can be simplified by using the functions in fo-datatype.h. Update remaining formatting objects and properties to match current spec-dump This is a never-ending process while the spec-dump stylesheets are being continually tweaked. xmlroff-0.6.2/mkinstalldirs0000644000175000017500000000133410611742707012726 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.1.1.1 2003/02/13 00:51:16 tonygraham Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here xmlroff-0.6.2/libfo-compat.xsl0000644000175000017500000002770110703114742013227 00000000000000 no no yes no Correcting text child of fo:list-item-label by removing text Removing "&#xA0;". Correcting 'display-align="middle"' to 'display-align="center"'. center Removing unsupported '' property. auto Removing 'fo:block-container' with unsupported 'reference-orientation' property. Correcting 'fo:block-container' containing only text. Removing 'fo:region-body' region-name attribute. Removing unsupported 'fo:float'. Removing unsupported 'fo:footnote'. Removing unsupported 'fo:block' in 'fo:inline-container'. Correcting 'fo:region-before', 'fo:region-after', and 'fo:region-body' order. Correcting 'fo:declarations' and 'fo:layout-master-set' order. Removing unsupported 'fo:static-content'. Auto table layout unsupported. Adding 'width' property. 100% Auto table layout unsupported. Adding 'table-layout' property. fixed Auto table layout unsupported. Adding 'table-layout' and 'width' properties. fixed Computing table-width from 'fo:table-column/@column-width' properties. + Using 'width="100%"'. 100% Removing 'fo:wrapper' used in an unsupported context. xmlroff-0.6.2/xmlroff.fo0000644000175000017500000001237710611742707012137 00000000000000 xmlroff – xmlroff XSL Formatter xmlroff is a fast, free, high-quality, multi-platform XSL formatter that aims to excel at DocBook formatting and that integrates easily with other programs and with scripting languages. See http://xmlroff.org/. Usage: xmlroff [-v?] [--compat] [-] [-o output-file] [-w warning-mode] [-d debug-mode] [--compat-stylesheet] [--continue] [--format (auto|pdf|postscript)] [--backend (cairo|gp)] <xml> [<stylesheet>] -v Show version information. -? Show help message. --compat Make the input compatible with xmlroff. --compat-stylesheet Output the compatibility stylesheet then exit. -o output-file Output file. Default is layout.pdf. -w warning-mode Warning mode. See fo-utils.h. -d debug-mode Debug mode. See fo-utils.h. --continue Continue after any formatting errors, if possible. --format (auto|pdf|postscript) Format of the output file. The default is auto, which selects the format based on the extension of the output filename. --backend (cairo|gp) Use the Cairo or GNOME Print backend to produce the output file. The default is gp. <xml> Input XML file. <stylesheet> XSL stylesheet file. Necessary when <xml> is not in the FO vocabulary. xmlroff-0.6.2/xmlroff.spec0000644000175000017500000000312411155246056012453 00000000000000Summary: XSL-FO processor Name: xmlroff Version: 0.6.2 Release: 0.1 License: Distributable Group: Applications/Text URL: http://xmlroff.org/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libgnomeprint22-devel %description This package contains an XSL-FO processing tool. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc \ $RPM_BUILD_ROOT%{_libdir}/pkgconfig \ $RPM_BUILD_ROOT%{_libdir}/*.la \ $RPM_BUILD_ROOT%{_libdir}/*.a \ $RPM_BUILD_ROOT%{_libdir}/*.so \ $RPM_BUILD_ROOT%{_includedir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING NEWS README TODO %{_bindir}/* %{_libdir}/*.so.* %{_datadir}/xml/libfo-*/ %changelog * Fri Oct 10 2008 Steven Garcia 0.6.1-0.1 - Added removal of *.so (development linking libraries) to the install stage until RPM devel target package is added here. * Tue May 01 2007 Tony Graham 0.5.0-0.1 - Removed dependencies on pangoxsl-devel and popt-devel. * Sun Jul 02 2006 Tony Graham 0.3.99-0.1 - Added dependency on popt-devel. * Fri Mar 11 2005 Tony Graham 0.3.3-0.1 - Minor changes to get building from SRPM to work (Tim Waugh). * Thu Oct 21 2004 Tony Graham 0.3.0-0.1 - Minor changes to match xmlroff 0.3.0. * Mon Oct 27 2003 Tim Waugh 0.2.3-0.1 - Initial build. xmlroff-0.6.2/libfo/0000777000175000017500000000000011156164726011305 500000000000000xmlroff-0.6.2/libfo/fo-doc-cairo.h0000644000175000017500000000240710643167400013627 00000000000000/* Fo * fo-doc-cairo.h: libfo output document based on Cairo. * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_DOC_CAIRO_H__ #define __FO_DOC_CAIRO_H__ #include #include G_BEGIN_DECLS typedef struct _FoDocCairo FoDocCairo; typedef struct _FoDocCairoClass FoDocCairoClass; #define FO_TYPE_DOC_CAIRO (fo_doc_cairo_get_type ()) #define FO_DOC_CAIRO(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_DOC_CAIRO, FoDocCairo)) #define FO_DOC_CAIRO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_DOC_CAIRO, FoDocCairoClass)) #define FO_IS_DOC_CAIRO(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_DOC_CAIRO)) #define FO_IS_DOC_CAIRO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_DOC_CAIRO)) #define FO_DOC_CAIRO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_DOC_CAIRO, FoDocCairoClass)) GType fo_doc_cairo_get_type (void); FoDoc * fo_doc_cairo_new (void); void fo_doc_cairo_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); G_END_DECLS #endif /* !__FO_DOC_CAIRO_H__ */ xmlroff-0.6.2/libfo/fo-doc-cairo-private.h0000644000175000017500000000175311026445041015276 00000000000000/* Fo * fo-doc-cairo-private.h: Wrapper for libfo output document * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DOC_CAIRO_PRIVATE_H__ #define __FO_DOC_CAIRO_PRIVATE_H__ #include #include "libfo/fo-doc-cairo.h" #include "libfo/fo-doc-private.h" G_BEGIN_DECLS typedef cairo_surface_t* (*FoDocCairoSurfaceCreate) (const char *filename, double width_in_points, double height_in_points); struct _FoDocCairo { FoDoc parent_instance; cairo_t *cr; FoDocCairoSurfaceCreate surface_create; gchar *base_filename; FoFlagsFormat format; gint output_sequence; gchar *current_filename; gdouble page_width; gdouble page_height; }; struct _FoDocCairoClass { FoDocClass parent_class; }; #endif /* !__FO_DOC_CAIRO_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-layout-cairo.h0000644000175000017500000000245510643167400014402 00000000000000/* Fo * fo-layout.h: Object type for PangoLayout * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LAYOUT_CAIRO_H__ #define __FO_LAYOUT_CAIRO_H__ #include #include #include typedef struct _FoLayoutCairo FoLayoutCairo; typedef struct _FoLayoutCairoClass FoLayoutCairoClass; #include G_BEGIN_DECLS #define FO_TYPE_LAYOUT_CAIRO (fo_layout_cairo_get_type ()) #define FO_LAYOUT_CAIRO(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LAYOUT_CAIRO, FoLayoutCairo)) #define FO_LAYOUT_CAIRO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LAYOUT_CAIRO, FoLayoutCairoClass)) #define FO_IS_LAYOUT_CAIRO(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LAYOUT_CAIRO)) #define FO_IS_LAYOUT_CAIRO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LAYOUT_CAIRO)) #define FO_LAYOUT_CAIRO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LAYOUT, FoLayoutCairoClass)) GType fo_layout_cairo_get_type (void); FoLayout * fo_layout_cairo_new (void); FoLayout * fo_layout_cairo_new_from_fo_doc (FoDoc *fo_doc); G_END_DECLS #endif /* !__FO_LAYOUT_H__ */ xmlroff-0.6.2/libfo/fo-layout-cairo-private.h0000644000175000017500000000102510643167450016047 00000000000000/* Fo * fo-layout-cairo-private.h: Object type for PangoLayoutCairo * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LAYOUT_CAIRO_PRIVATE_H__ #define __FO_LAYOUT_CAIRO_PRIVATE_H__ #include "fo-layout-cairo.h" #include "fo-layout-private.h" G_BEGIN_DECLS struct _FoLayoutCairo { FoLayout parent_instance; }; struct _FoLayoutCairoClass { FoLayoutClass parent_class; }; #endif /* !__FO_LAYOUT_CAIRO_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-doc-gp.h0000644000175000017500000000227310643167450013146 00000000000000/* Fo * fo-doc-gp.h: Wrapper for libfo output document * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DOC_GP_H__ #define __FO_DOC_GP_H__ #include #include G_BEGIN_DECLS typedef struct _FoDocGP FoDocGP; typedef struct _FoDocGPClass FoDocGPClass; #define FO_TYPE_DOC_GP (fo_doc_gp_get_type ()) #define FO_DOC_GP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_DOC_GP, FoDocGP)) #define FO_DOC_GP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_DOC_GP, FoDocGPClass)) #define FO_IS_DOC_GP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_DOC_GP)) #define FO_IS_DOC_GP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_DOC_GP)) #define FO_DOC_GP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_DOC_GP, FoDocGPClass)) GType fo_doc_gp_get_type (void); FoDoc * fo_doc_gp_new (void); void fo_doc_gp_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); G_END_DECLS #endif /* !__FO_DOC_GP_H__ */ xmlroff-0.6.2/libfo/fo-doc-gp-private.h0000644000175000017500000000162711026445772014622 00000000000000/* Fo * fo-doc-gp-private.h: Wrapper for libfo output document * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DOC_GP_PRIVATE_H__ #define __FO_DOC_GP_PRIVATE_H__ #include #include #include #include G_BEGIN_DECLS struct _FoDocGP { FoDoc parent_instance; GnomePrintJob *job; GnomePrintContext *context; GnomePrintConfig *config; gchar *base_filename; FoFlagsFormat format; gint output_sequence; gchar *current_filename; gfloat page_width; gfloat page_height; }; struct _FoDocGPClass { FoDocClass parent_class; }; GnomePrintContext * fo_doc_gp_get_context (FoDoc *fo_doc); #endif /* !__FO_DOC_GP_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-layout-gp.h0000644000175000017500000000235010643167450013712 00000000000000/* Fo * fo-layout.h: Object type for PangoLayout * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LAYOUT_GP_H__ #define __FO_LAYOUT_GP_H__ #include #include #include typedef struct _FoLayoutGP FoLayoutGP; typedef struct _FoLayoutGPClass FoLayoutGPClass; #include G_BEGIN_DECLS #define FO_TYPE_LAYOUT_GP (fo_layout_gp_get_type ()) #define FO_LAYOUT_GP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LAYOUT_GP, FoLayoutGP)) #define FO_LAYOUT_GP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LAYOUT_GP, FoLayoutGPClass)) #define FO_IS_LAYOUT_GP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LAYOUT_GP)) #define FO_IS_LAYOUT_GP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LAYOUT_GP)) #define FO_LAYOUT_GP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LAYOUT, FoLayoutGPClass)) GType fo_layout_gp_get_type (void); FoLayout * fo_layout_gp_new (void); FoLayout * fo_layout_gp_new_from_fo_doc (FoDoc *fo_doc); G_END_DECLS #endif /* !__FO_LAYOUT_H__ */ xmlroff-0.6.2/libfo/fo-layout-gp-private.h0000644000175000017500000000077510643167400015366 00000000000000/* Fo * fo-layout-gp-private.h: Object type for PangoLayoutGP * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LAYOUT_GP_PRIVATE_H__ #define __FO_LAYOUT_GP_PRIVATE_H__ #include "fo-layout-gp.h" #include "fo-layout-private.h" G_BEGIN_DECLS struct _FoLayoutGP { FoLayout parent_instance; }; struct _FoLayoutGPClass { FoLayoutClass parent_class; }; #endif /* !__FO_LAYOUT_GP_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-doc.h0000644000175000017500000000444011033674633012540 00000000000000/* Fo * fo-doc.h: Wrapper for libfo output document * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DOC_H__ #define __FO_DOC_H__ #include #include typedef struct _FoDoc FoDoc; typedef struct _FoDocClass FoDocClass; #include G_BEGIN_DECLS #define FO_DOC_ERROR fo_doc_error_quark () GQuark fo_doc_error_quark (void); typedef enum { FO_DOC_ERROR_FAILED, FO_DOC_ERROR_OPEN_FAILED, /* Cannot open output document */ FO_DOC_ERROR_UNSUPPORTED_FORMAT, /* Unsupported document format */ FO_DOC_ERROR_LAST } FoDocError; extern const char *fo_doc_error_messages[FO_DOC_ERROR_LAST]; typedef enum { FO_DOC_LINE_CAP_INVALID, FO_DOC_LINE_CAP_BUTT, FO_DOC_LINE_CAP_ROUND, FO_DOC_LINE_CAP_SQUARE, FO_DOC_LINE_CAP_LIMIT } FoDocLineCap; typedef enum { FO_DOC_LINE_JOIN_INVALID, FO_DOC_LINE_JOIN_MITER, FO_DOC_LINE_JOIN_ROUND, FO_DOC_LINE_JOIN_BEVEL, FO_DOC_LINE_JOIN_LIMIT } FoDocLineJoin; #define FO_TYPE_DOC (fo_doc_get_type ()) #define FO_DOC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_DOC, FoDoc)) #define FO_DOC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_DOC, FoDocClass)) #define FO_IS_DOC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_DOC)) #define FO_IS_DOC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_DOC)) #define FO_DOC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_DOC, FoDocClass)) GType fo_doc_get_type (void); FoDoc * fo_doc_new (void); FoDoc * fo_doc_new_from_type (const gchar *type); FoFlagsFormat fo_doc_formats_from_name (const gchar *name); void fo_doc_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); FoLayout * fo_doc_get_new_layout (FoDoc *fo_doc); const gchar * fo_doc_get_language (FoDoc *fo_doc); void fo_doc_set_language (FoDoc *fo_doc, const gchar *language); FoEnumAreaDirection fo_doc_get_base_dir (FoDoc *fo_doc); void fo_doc_set_base_dir (FoDoc *fo_doc, FoEnumAreaDirection base_dir); G_END_DECLS #endif /* !__FO_DOC_H__ */ xmlroff-0.6.2/libfo/fo-doc-private.h0000644000175000017500000001020411033674117014200 00000000000000/* Fo * fo-doc-private.h: Wrapper for libfo output document * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DOC_PRIVATE_H__ #define __FO_DOC_PRIVATE_H__ #include #include #include #include #include "fo-libfo-module-private.h" #include "libfo/fo-font-desc.h" #include "util/fo-image.h" G_BEGIN_DECLS struct _FoDoc { FoLibfoModule parent_instance; FoDatatype *fill_color; FoDatatype *stroke_color; FoDocLineCap line_cap; FoDocLineJoin line_join; gdouble line_width; PangoContext *pango_context; }; struct _FoDocClass { FoLibfoModuleClass parent_class; FoFlagsFormat formats; void (* open_file) (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); FoLayout * (* get_new_layout) (FoDoc *fo_doc); void (* begin_page) (FoDoc *fo_doc, gdouble width, gdouble height, GError **error); void (* end_page) (FoDoc *fo_doc); FoDatatype* (* get_fill_color) (FoDoc *fo_doc); void (* set_fill_color) (FoDoc *fo_doc, FoDatatype *color); FoDatatype* (* get_stroke_color) (FoDoc *fo_doc); void (* set_stroke_color) (FoDoc *fo_doc, FoDatatype *color); FoDocLineCap (* get_line_cap) (FoDoc *fo_doc); void (* set_line_cap) (FoDoc *fo_doc, FoDocLineCap line_cap); FoDocLineJoin (* get_line_join) (FoDoc *fo_doc); void (* set_line_join) (FoDoc *fo_doc, FoDocLineJoin line_join); gdouble (* get_line_width) (FoDoc *fo_doc); void (* set_line_width) (FoDoc *fo_doc, gdouble line_width); void (* set_dash) (FoDoc *fo_doc, gdouble b, gdouble w); void (* translate) (FoDoc *fo_doc, gdouble x, gdouble y); void (* clip) (FoDoc *fo_doc); void (* save) (FoDoc *fo_doc); void (* restore) (FoDoc *fo_doc); void (* line_to) (FoDoc *fo_doc, gdouble x, gdouble y); void (* move_to) (FoDoc *fo_doc, gdouble x, gdouble y); void (* line_stroked) (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1); void (* rect_stroked) (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); void (* rect_filled) (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); void (* fill) (FoDoc *fo_doc); void (* stroke) (FoDoc *fo_doc); void (* place_image) (FoDoc *fo_doc, FoImage *fo_image, gdouble x, gdouble y, gdouble xscale, gdouble yscale); gint (* open_image_file) (FoDoc *fo_doc, const char *imagetype, const char *filename, const char *stringparam, gint intparam); void (* close_image) (FoDoc *fo_doc, gint image); void (* render_layout_lines) (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); void (* render_layout) (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); }; PangoContext * fo_doc_get_pango_context (FoDoc *fo_doc); G_END_DECLS #endif /* !__FO_DOC_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-utils.h0000644000175000017500000000357611062203161013126 00000000000000/* Fo * fo-utils.h: Utilities for internal functions and modules * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_UTILS_H__ #define __FO_UTILS_H__ #include #include #include #define GETTEXT_PACKAGE "libfo" #include G_BEGIN_DECLS #define fo_propagate_and_return_if_error(src, dest) \ if ((src) != NULL) \ { g_propagate_error ((src), (dest)); return; } #define fo_propagate_and_return_val_if_error(src, dest, val) \ if ((src) != NULL) \ { g_propagate_error ((src), (dest)); return ((val)); } /** * FoDebugFlag: * @FO_DEBUG_NONE: No debugging enabled * @FO_DEBUG_RESULT: Debug result tree * @FO_DEBUG_FO: Debug FO tree * @FO_DEBUG_AREA: Debug area tree * @FO_DEBUG_PANGO: Debug Pango layouts * @FO_DEBUG_MAX: Maximum possible value * * Debugging flags. */ typedef enum { FO_DEBUG_NONE = 0, FO_DEBUG_RESULT = 1 << 0, FO_DEBUG_FO = 1 << 1, FO_DEBUG_AREA = 1 << 2, FO_DEBUG_PANGO = 1 << 3, FO_DEBUG_MAX = ((1 << 4) - 1) } FoDebugFlag; /** * FoWarningFlag: * @FO_WARNING_NONE: No explicit control over warning message output * @FO_WARNING_FO: Do not warn about FO errors * @FO_WARNING_PROPERTY: Do not warn about property errors * @FO_WARNING_UNSUPPORTED_PROPERTY: Do not warn about unsupported properties * @FO_WARNING_MAX: Maximum possible value * * Warning flags. */ typedef enum { FO_WARNING_NONE = 0, FO_WARNING_FO = 1 << 0, FO_WARNING_PROPERTY = 1 << 1, FO_WARNING_UNSUPPORTED_PROPERTY = 1 << 2, FO_WARNING_MAX = ((1 << 3) - 1) } FoWarningFlag; typedef enum { FO_ENUM_AREA_DIRECTION_UNKNOWN, FO_ENUM_AREA_DIRECTION_LR, FO_ENUM_AREA_DIRECTION_RL, FO_ENUM_AREA_DIRECTION_TB, FO_ENUM_AREA_DIRECTION_BT } FoEnumAreaDirection; G_END_DECLS #endif /* !__FO_UTILS_H__ */ xmlroff-0.6.2/libfo/fo-font-desc.h0000644000175000017500000000370511034130055013642 00000000000000/* Fo * fo-font-desc.c: Boxed object type for Pango font description. * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FONT_DESC_H__ #define __FO_FONT_DESC_H__ #include #include typedef struct _FoFontDesc FoFontDesc; typedef struct _FoFontDescClass FoFontDescClass; #include G_BEGIN_DECLS #define FO_FONT_DESC_ERROR fo_font_desc_error_quark () GQuark fo_font_desc_error_quark (void); typedef enum { FO_FONT_DESC_ERROR_FAILED } FoFontDescError; #define FO_TYPE_FONT_DESC (fo_font_desc_get_type ()) #define FO_FONT_DESC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_FONT_DESC, FoFontDesc)) #define FO_FONT_DESC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_FONT_DESC, FoFontDescClass)) #define FO_IS_FONT_DESC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_FONT_DESC)) #define FO_IS_FONT_DESC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_FONT_DESC)) #define FO_FONT_DESC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_FONT_DESC, FoFontDescClass)) GType fo_font_desc_get_type (void); FoFontDesc * fo_font_desc_new (void); FoFontDesc * fo_font_desc_copy (const FoFontDesc *font_desc); void fo_font_desc_set_family (FoFontDesc *font_desc, const char *family); void fo_font_desc_set_size (FoFontDesc *font_desc, gfloat size); void fo_font_desc_set_style (FoFontDesc *font_desc, FoEnumEnum style); void fo_font_desc_set_stretch (FoFontDesc *font_desc, FoEnumEnum stretch); void fo_font_desc_set_variant (FoFontDesc *font_desc, FoEnumEnum variant); void fo_font_desc_set_weight (FoFontDesc *font_desc, gint weight); G_END_DECLS #endif /* !__FO_FONT_DESC_H__ */ xmlroff-0.6.2/libfo/fo-font-desc-private.h0000644000175000017500000000114110646475373015331 00000000000000/* Fo * fo-font-desc-private.h: Boxed object type for FontDesc * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FONT_DESC_PRIVATE_H__ #define __FO_FONT_DESC_PRIVATE_H__ #include #include #include "fo-font-desc.h" G_BEGIN_DECLS PangoFontDescription * fo_font_desc_get_font_description (const FoFontDesc *fo_font_desc); void fo_font_desc_set_font_description (FoFontDesc *fo_font_desc, PangoFontDescription *desc); #endif /* !__FO_FONT_DESC_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-layout.h0000644000175000017500000000545010643167400013305 00000000000000/* Fo * fo-layout.h: Object type for PangoLayout * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LAYOUT_H__ #define __FO_LAYOUT_H__ #include typedef struct _FoLayout FoLayout; typedef struct _FoLayoutClass FoLayoutClass; #include #include #include G_BEGIN_DECLS #define FO_LAYOUT_ERROR fo_layout_error_quark () GQuark fo_layout_error_quark (void); typedef enum { FO_LAYOUT_ERROR_FAILED } FoLayoutError; typedef struct _FoRectangle FoRectangle; struct _FoRectangle { int x; int y; int width; int height; }; #define FO_TYPE_LAYOUT (fo_layout_get_type ()) #define FO_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LAYOUT, FoLayout)) #define FO_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LAYOUT, FoLayoutClass)) #define FO_IS_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LAYOUT)) #define FO_IS_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LAYOUT)) #define FO_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LAYOUT, FoLayoutClass)) GType fo_layout_get_type (void); FoLayout * fo_layout_new (void); FoLayout * fo_layout_new_from_fo_doc (FoDoc *fo_doc); FoLayout * fo_layout_copy (FoLayout *src); void fo_layout_set_attributes (FoLayout *fo_layout, GList *attr_glist); void fo_layout_set_text (FoLayout *fo_layout, GString *text); void fo_layout_set_width (FoLayout *fo_layout, gfloat width); void fo_layout_set_font_desc (FoLayout *fo_layout, const FoFontDesc *desc); void fo_layout_set_alignment (FoLayout *fo_layout, FoEnumAreaDirection alignment); void fo_layout_set_indent (FoLayout *fo_layout, gfloat indent); void fo_layout_set_justify (FoLayout *fo_layout, gboolean justify); gint fo_layout_get_line_count (FoLayout *fo_layout); void fo_layout_get_extents (FoLayout *fo_layout, FoRectangle *logical_rect); void fo_layout_get_line_extents (FoLayout *fo_layout, gint line_index, FoRectangle *logical_rect); void fo_layout_set_line_height (FoLayout *fo_layout, gfloat line_height); void fo_layout_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy); G_END_DECLS #endif /* !__FO_LAYOUT_H__ */ xmlroff-0.6.2/libfo/fo-layout-private.h0000644000175000017500000000165210643167400014755 00000000000000/* Fo * fo-layout-private.h: Object type for PangoLayout * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LAYOUT_PRIVATE_H__ #define __FO_LAYOUT_PRIVATE_H__ #include "fo-layout.h" #include G_BEGIN_DECLS struct _FoLayout { FoObject parent_instance; FoDoc *fo_doc; PangoLayout *pango_layout; }; struct _FoLayoutClass { FoObjectClass parent_class; void (* set_line_height) (FoLayout *fo_layout, gfloat line_height); void (* set_line_stacking_strategy) (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy); }; PangoLayout * fo_layout_get_pango_layout (FoLayout *fo_layout); /* PangoLineStackingStrategy fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy (FoEnumEnum line_stacking_strategy); */ G_END_DECLS #endif /* !__FO_LAYOUT_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-libfo.h0000644000175000017500000000076410643167450013073 00000000000000/* Fo * fo-libfo.h: High-level interface to libfo * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIBFO_H__ #define __FO_LIBFO_H__ #include #include #include #include #include #include #include #endif /* __FO_LIBFO_H__ */ xmlroff-0.6.2/libfo/fo-libfo-basic.h0000644000175000017500000000247610647412531014151 00000000000000/* Fo * fo-libfo-basic.h: 'Basic' (i.e., simple) high-level interface to libfo * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIBFO_BASIC_H__ #define __FO_LIBFO_BASIC_H__ #include #include #include G_BEGIN_DECLS typedef enum { FO_LIBFO_BASIC_ERROR_FAILED, /* Generic error code */ FO_LIBFO_BASIC_ERROR_UNKNOWN_FORMAT, FO_LIBFO_BASIC_ERROR_WARNING, /* Non-fatal error */ FO_LIBFO_BASIC_ERROR_LAST } FoLibfoBasicError; #define FO_LIBFO_BASIC_ERROR (fo_libfo_basic_error_quark ()) GQuark fo_libfo_basic_error_quark (void) G_GNUC_CONST; extern const gchar *fo_libfo_basic_error_messages[FO_LIBFO_BASIC_ERROR_LAST]; gboolean fo_libfo_init (void); typedef gpointer (*FoMalloc) (gsize n_bytes); typedef gpointer (*FoRealloc) (gpointer mem, gsize n_bytes); typedef void (*FoFree) (gpointer mem); gboolean fo_libfo_init2 (FoMalloc fo_malloc, FoRealloc fo_realloc, FoFree fo_free); gboolean fo_libfo_shutdown (void); gboolean fo_libfo_format (const gchar *xml, const gchar *xslt, const gchar *out, GError **error); G_END_DECLS #endif /* __FO_LIBFO_BASIC_H__ */ xmlroff-0.6.2/libfo/fo-libfo-context.h0000644000175000017500000000755611026523704014555 00000000000000/* Fo * fo-libfo-context.h: 'FoLibfoContext' object type * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIBFO_CONTEXT_H__ #define __FO_LIBFO_CONTEXT_H__ #include G_BEGIN_DECLS /** * FoFlagsFormat: * @FO_FLAG_FORMAT_UNKNOWN: Invalid format * @FO_FLAG_FORMAT_AUTO: Choose based on output file name or other heuristic * @FO_FLAG_FORMAT_PDF: PDF * @FO_FLAG_FORMAT_POSTSCRIPT: PostScript * @FO_FLAG_FORMAT_SVG: SVG * * Output file format. Used both for specifying which format to use * and to identify formats supported by a particular backend. */ typedef enum { FO_FLAG_FORMAT_UNKNOWN = 0, FO_FLAG_FORMAT_AUTO = 1 << 0, FO_FLAG_FORMAT_PDF = 1 << 1, FO_FLAG_FORMAT_POSTSCRIPT = 1 << 2, FO_FLAG_FORMAT_SVG = 1 << 3 } FoFlagsFormat; GType fo_flags_format_get_type (void); #define FO_TYPE_FLAGS_FORMAT fo_flags_format_get_type () /** * FoEnumFontEmbed: * @FO_ENUM_FONT_EMBED_INVALID: Invalid category * @FO_ENUM_FONT_EMBED_ALL: Embed all fonts * @FO_ENUM_FONT_EMBED_NONBASE: Embed all fonts except the PostScript base fonts * @FO_ENUM_FONT_EMBED_NONE: Do not embed any fonts * * Which categories of fonts to embed in the output file, useful only * where the output format and the backend both support control of * embedding or not embedding those fonts. */ typedef enum { FO_ENUM_FONT_EMBED_INVALID, FO_ENUM_FONT_EMBED_ALL, FO_ENUM_FONT_EMBED_NONBASE, FO_ENUM_FONT_EMBED_NONE } FoEnumFontEmbed; GType fo_enum_font_embed_get_type (void); #define FO_TYPE_ENUM_FONT_EMBED fo_enum_font_embed_get_type () #define FO_TYPE_LIBFO_CONTEXT (fo_libfo_context_get_type ()) #define FO_LIBFO_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LIBFO_CONTEXT, FoLibfoContext)) #define FO_LIBFO_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LIBFO_CONTEXT, FoLibfoContextClass)) #define FO_IS_LIBFO_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LIBFO_CONTEXT)) #define FO_IS_LIBFO_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LIBFO_CONTEXT)) #define FO_LIBFO_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LIBFO_CONTEXT, FoLibfoContextClass)) typedef struct _FoLibfoContext FoLibfoContext; typedef struct _FoLibfoContextClass FoLibfoContextClass; GType fo_libfo_context_get_type (void) G_GNUC_CONST; FoLibfoContext * fo_libfo_context_new (void); FoFlagsFormat fo_libfo_context_get_format (FoLibfoContext *libfo_context); void fo_libfo_context_set_format (FoLibfoContext *libfo_context, FoFlagsFormat format); FoEnumFontEmbed fo_libfo_context_get_font_embed (FoLibfoContext *libfo_context); void fo_libfo_context_set_font_embed (FoLibfoContext *libfo_context, FoEnumFontEmbed font_embed); gboolean fo_libfo_context_get_validation (FoLibfoContext *libfo_context); void fo_libfo_context_set_validation (FoLibfoContext *libfo_context, gboolean validation); gboolean fo_libfo_context_get_continue_after_error (FoLibfoContext *libfo_context); void fo_libfo_context_set_continue_after_error (FoLibfoContext *libfo_context, gboolean continue_after_error); FoDebugFlag fo_libfo_context_get_debug_mode (FoLibfoContext *libfo_context); void fo_libfo_context_set_debug_mode (FoLibfoContext *libfo_context, FoDebugFlag debug_mode); FoWarningFlag fo_libfo_context_get_warning_mode (FoLibfoContext *libfo_context); void fo_libfo_context_set_warning_mode (FoLibfoContext *libfo_context, FoWarningFlag warning_mode); G_END_DECLS #endif /* !__FO_LIBFO_CONTEXT_H__ */ xmlroff-0.6.2/libfo/fo-libfo-module.h0000644000175000017500000000264211033674653014355 00000000000000/* Fo * fo-libfo-module.h: Formatting object that is module of possible fo:libfo * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIBFO_MODULE_H__ #define __FO_LIBFO_MODULE_H__ #include #include G_BEGIN_DECLS typedef struct _FoLibfoModule FoLibfoModule; typedef struct _FoLibfoModuleClass FoLibfoModuleClass; #define FO_TYPE_LIBFO_MODULE (fo_libfo_module_get_type ()) #define FO_LIBFO_MODULE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LIBFO_MODULE, FoLibfoModule)) #define FO_LIBFO_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LIBFO_MODULE, FoLibfoModuleClass)) #define FO_IS_LIBFO_MODULE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LIBFO_MODULE)) #define FO_IS_LIBFO_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LIBFO_MODULE)) #define FO_LIBFO_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LIBFO_MODULE, FoLibfoModuleClass)) GType fo_libfo_module_get_type (void) G_GNUC_CONST; gint fo_libfo_module_version_from_name (const gchar *name); const gchar* fo_libfo_module_version_string_from_name (const gchar *name); const LibfoVersionInfo * fo_libfo_module_version_info_from_name (const gchar *name); G_END_DECLS #endif /* !__FO_LIBFO_MODULE_H__ */ xmlroff-0.6.2/libfo/fo-libfo-module-private.h0000644000175000017500000000103211033673075016012 00000000000000/* Fo * fo-libfo-module-private.h: Formatting object that is module of possible fo:libfo * * Copyright (C) 2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include struct _FoLibfoModule { FoObject module_instance; }; struct _FoLibfoModuleClass { FoObjectClass module_class; gint (*version) (void); const gchar* (*version_string) (void); const LibfoVersionInfo * (*version_info) (void); }; xmlroff-0.6.2/libfo/fo-xml-doc-private.h0000644000175000017500000000111610741742675015012 00000000000000/* Fo * fo-xml-doc-private.h: Boxed object type for libxml2 xmlDoc document * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_XML_DOC_PRIVATE_H__ #define __FO_XML_DOC_PRIVATE_H__ #include #include "fo-xml-doc.h" G_BEGIN_DECLS FoXmlDoc * fo_xml_doc_new (void); xmlDocPtr fo_xml_doc_get_xml_doc (FoXmlDoc *fo_xml_doc); void fo_xml_doc_set_xml_doc (FoXmlDoc *fo_xml_doc, xmlDocPtr xml_doc); G_END_DECLS #endif /* !__FO_XML_DOC_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-xml-doc.h0000644000175000017500000000345011033710141013317 00000000000000/* Fo * fo-xml-doc.h: Boxed object type for libxml2 xmlDoc document * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_XML_DOC_H__ #define __FO_XML_DOC_H__ #include #include #include G_BEGIN_DECLS #define FO_XML_DOC_ERROR fo_xml_doc_error_quark () GQuark fo_xml_doc_error_quark (void); typedef enum { FO_XML_DOC_ERROR_FAILED, FO_XML_DOC_ERROR_FILENAME_PARSE_FAILED, FO_XML_DOC_ERROR_MEMORY_PARSE_FAILED, FO_XML_DOC_ERROR_NO_FILENAME } FoXmlDocError; typedef struct _FoXmlDoc FoXmlDoc; #define FO_TYPE_XML_DOC (fo_xml_doc_get_type ()) #define FO_IS_XML_DOC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_XML_DOC)) GType fo_xml_doc_get_type (void); const LibfoVersionInfo * fo_xml_doc_version_info (void); FoXmlDoc * fo_xml_doc_new_from_filename (const gchar *filename, FoLibfoContext *libfo_context, GError **error); FoXmlDoc * fo_xml_doc_new_from_memory (const gchar *buffer, gint size, const gchar *URL, const gchar *encoding, FoLibfoContext *libfo_context, GError **error); FoXmlDoc * fo_xml_doc_new_from_string (const gchar *curr, const gchar *URL, const gchar *encoding, FoLibfoContext *libfo_context, GError **error); FoXmlDoc * fo_xml_doc_ref (FoXmlDoc *fo_xml_doc); void fo_xml_doc_unref (FoXmlDoc *fo_xml_doc); gchar* fo_xml_doc_get_base (FoXmlDoc *fo_xml_doc); void fo_xml_doc_set_base (FoXmlDoc *fo_xml_doc, const gchar *URL); G_END_DECLS #endif /* !__FO_XML_DOC_H__ */ xmlroff-0.6.2/libfo/fo-xml-node-private.h0000644000175000017500000000104610643167450015165 00000000000000/* Fo * fo-xml-node-private.h: Boxed object type for libxml2 xmlNode * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_XML_NODE_PRIVATE_H__ #define __FO_XML_NODE_PRIVATE_H__ #include #include "fo-xml-node.h" G_BEGIN_DECLS xmlNodePtr fo_xml_node_get_xml_node (FoXmlNode *fo_xml_node); void fo_xml_node_set_xml_node (FoXmlNode *fo_xml_node, xmlNodePtr xml_node); #endif /* !__FO_XML_NODE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-xml-node.h0000644000175000017500000000176610643167450013526 00000000000000/* Fo * fo-xml-node.h: Boxed object type for libxml2 xmlNode nodeument * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_XML_NODE_H__ #define __FO_XML_NODE_H__ #include #include G_BEGIN_DECLS #define FO_XML_NODE_ERROR fo_xml_node_error_quark () GQuark fo_xml_node_error_quark (void); typedef enum { FO_XML_NODE_ERROR_FAILED, FO_XML_NODE_ERROR_PARSE_FAILED, FO_XML_NODE_ERROR_NO_FILENAME } FoXmlNodeError; typedef struct _FoXmlNode FoXmlNode; #define FO_TYPE_XML_NODE (fo_xml_node_get_type ()) #define FO_IS_XML_NODE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_XML_NODE)) GType fo_xml_node_get_type (void); FoXmlNode * fo_xml_node_new (void); FoXmlNode * fo_xml_node_ref (FoXmlNode *fo_xml_node); void fo_xml_node_unref (FoXmlNode *fo_xml_node); G_END_DECLS #endif /* !__FO_XML_NODE_H__ */ xmlroff-0.6.2/libfo/fo-xsl-formatter.h0000644000175000017500000000477311054604424014605 00000000000000/* Fo * fo-xsl-formatter.h: Boxed object type for libfo XSL formatter * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_XSL_FORMATTER_H__ #define __FO_XSL_FORMATTER_H__ #include #include #include #include G_BEGIN_DECLS #define FO_XSL_FORMATTER_ERROR fo_xsl_formatter_error_quark () GQuark fo_xsl_formatter_error_quark (void); typedef enum { FO_XSL_FORMATTER_ERROR_FAILED, FO_XSL_FORMATTER_ERROR_FORMAT_FAILED, FO_XSL_FORMATTER_ERROR_PARSE_FAILED, FO_XSL_FORMATTER_ERROR_NO_RESULT_TREE, FO_XSL_FORMATTER_ERROR_RESULT_TREE_NOT_FO, FO_XSL_FORMATTER_ERROR_NO_AREA_TREE, FO_XSL_FORMATTER_ERROR_NO_FO_DOC, FO_XSL_FORMATTER_ERROR_NOT_FO_DOC, FO_XSL_FORMATTER_ERROR_UNKNOWN_FO /* Unknown FO element type */ } FoXslFormatterError; typedef struct _FoXslFormatter FoXslFormatter; typedef struct _FoXslFormatterClass FoXslFormatterClass; #define FO_TYPE_XSL_FORMATTER (fo_xsl_formatter_get_type ()) #define FO_XSL_FORMATTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_XSL_FORMATTER, FoXslFormatter)) #define FO_XSL_FORMATTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_XSL_FORMATTER, FoXslFormatterClass)) #define FO_IS_XSL_FORMATTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_XSL_FORMATTER)) #define FO_IS_XSL_FORMATTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_XSL_FORMATTER)) #define FO_XSL_FORMATTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_XSL_FORMATTER, FoXslFormatterClass)) GType fo_xsl_formatter_get_type (void); FoXslFormatter * fo_xsl_formatter_new (void); gboolean fo_xsl_formatter_format (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context, GError **error); gboolean fo_xsl_formatter_draw (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context, GError **error); void fo_xsl_formatter_set_result_tree (FoXslFormatter *fo_xsl_formatter, FoXmlDoc *result_tree); void fo_xsl_formatter_set_fo_doc (FoXslFormatter *fo_xsl_formatter, FoDoc *fo_doc); GObject * fo_xsl_formatter_get_fo_tree (FoXslFormatter *fo_xsl_formatter); GObject * fo_xsl_formatter_get_area_tree (FoXslFormatter *fo_xsl_formatter); G_END_DECLS #endif /* !__FO_XSL_FORMATTER_H__ */ xmlroff-0.6.2/libfo/fo-xslt-transformer.h0000644000175000017500000000202211033704574015315 00000000000000/* Fo * fo-xslt-transformer.h: Boxed object type for libxslt XSLT processor * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_XSLT_TRANSFORMER_H__ #define __FO_XSLT_TRANSFORMER_H__ #include #include #include G_BEGIN_DECLS #define FO_XSLT_TRANSFORMER_ERROR fo_xslt_transformer_error_quark () GQuark fo_xslt_transformer_error_quark (void); typedef enum { FO_XSLT_TRANSFORMER_ERROR_FAILED, FO_XSLT_TRANSFORMER_ERROR_TRANSFORM_FAILED, FO_XSLT_TRANSFORMER_ERROR_NO_STYLESHEET_DOC, FO_XSLT_TRANSFORMER_ERROR_NO_XML_DOC, FO_XSLT_TRANSFORMER_ERROR_PARSE_FAILED } FoXsltTransformerError; const LibfoVersionInfo * fo_xslt_transformer_version_info (void); FoXmlDoc * fo_xslt_transformer_do_transform (FoXmlDoc *xml_doc, FoXmlDoc *stylesheet_doc, GError **error); G_END_DECLS #endif /* !__FO_XSLT_TRANSFORMER_H__ */ xmlroff-0.6.2/libfo/libfo-compat.h0000644000175000017500000000132610703421276013741 00000000000000/* Fo * libfo-compat.h: LibFo compatibility processing * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting * * !See COPYING for the status of this software. */ #ifndef __LIBFO_COMPAT_H__ #define __LIBFO_COMPAT_H__ #include #include G_BEGIN_DECLS #define LIBFO_COMPAT_ERROR libfo_compat_error_quark () GQuark libfo_compat_error_quark (void); typedef enum { LIBFO_COMPAT_ERROR_FAILED } LibfoCompatError; const gchar* libfo_compat_get_stylesheet (void); FoXmlDoc * libfo_compat_make_compatible (FoXmlDoc *result_tree, FoLibfoContext *libfo_context, GError **error); G_END_DECLS #endif /* !__LIBFO_COMPAT_H__ */ xmlroff-0.6.2/libfo/fo-object.h0000644000175000017500000000604610643167450013245 00000000000000/* Fo * fo-object.h: Base object of formatting object system * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_OBJECT_H__ #define __FO_OBJECT_H__ #include G_BEGIN_DECLS #define FO_TYPE_OBJECT (fo_object_get_type ()) #define FO_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_OBJECT, FoObject)) #define FO_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_OBJECT, FoObjectClass)) #define FO_IS_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_OBJECT)) #define FO_IS_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_OBJECT)) #define FO_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_OBJECT, FoObjectClass)) typedef struct _FoObject FoObject; typedef struct _FoObjectClass FoObjectClass; struct _FoObject { GObject parent_instance; }; struct _FoObjectClass { GObjectClass parent_class; void (* debug_dump) (FoObject *object, gint depth); char* (* debug_sprintf) (FoObject *object); char* (* print_sprintf) (FoObject *object); void (* log_error) (FoObject *object, GError **error); void (* log_warning) (FoObject *object, GError **warning); void (* log_debug) (FoObject *object, GError **debug); gboolean (* log_or_propagate_error) (FoObject *fo_object, GError **dest, GError *src); gboolean (* maybe_propagate_error) (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error); guint (* hash_func) (gconstpointer key); gboolean (* equal_func) (gconstpointer a, gconstpointer b); }; GType fo_object_get_type (void) G_GNUC_CONST; FoObject * fo_object_new (void); void fo_object_debug_dump (gpointer object, gint depth); gchar* fo_object_debug_sprintf (gpointer object); gchar* fo_object_sprintf (gpointer object); void fo_object_log_error (FoObject *object, GError **error); void fo_object_log_warning (FoObject *object, GError **warning); void fo_object_log_debug (FoObject *object, GError **debug); gboolean fo_object_log_or_propagate_error (FoObject *fo_object, GError **dest, GError *src); gboolean fo_object_maybe_propagate_error (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error); guint fo_object_hash (FoObject *object, GError **error); gboolean fo_object_equal (FoObject *a, FoObject *b, GError **error); G_END_DECLS #endif /* __FO_OBJECT_H__ */ xmlroff-0.6.2/libfo/fo-node.h0000644000175000017500000001246610643167450012727 00000000000000/* Fo * fo-node.h: Base class for objects that are nodes in a tree * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_NODE_H__ #define __FO_NODE_H__ #include /** * FoNode: * * Instance of #FoNode. **/ typedef struct _FoNode FoNode; /** * FoNodeClass: * * Class structure for #FoNode. **/ typedef struct _FoNodeClass FoNodeClass; #include "fo-object.h" G_BEGIN_DECLS #define FO_TYPE_NODE (fo_node_get_type ()) #define FO_NODE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_NODE, FoNode)) #define FO_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_NODE, FoNodeClass)) #define FO_IS_NODE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_NODE)) #define FO_IS_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_NODE)) #define FO_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_NODE, FoNodeClass)) GType fo_node_get_type (void) G_GNUC_CONST; FoNode *fo_node_new (void); /* tree functions */ typedef gboolean (*FoNodeTraverseFunc) (FoNode *fo_node, gpointer data); typedef void (*FoNodeForeachFunc) (FoNode *fo_node, gpointer data); #define FO_NODE_IS_ROOT(fo_node) (G_NODE_IS_ROOT(((FoNode*) (fo_node))->node)) #define FO_NODE_IS_LEAF(fo_node) (G_NODE_IS_LEAF(((FoNode*) (fo_node))->node)) FoNode* fo_node_get_ancestor_or_self_by_type (FoNode *node, const GType type); FoNode* fo_node_get_ancestor_or_self_by_name (FoNode *node, const gchar *name); FoNode* fo_node_get_child_by_type (FoNode *node, const GType type); FoNode* fo_node_get_child_by_name (FoNode *node, const gchar *name); FoNode* fo_node_insert (FoNode *parent, gint position, FoNode *fo_node); FoNode* fo_node_insert_before (FoNode *parent, FoNode *sibling, FoNode *fo_node); FoNode* fo_node_insert_after (FoNode *parent, FoNode *sibling, FoNode *fo_node); FoNode* fo_node_prepend (FoNode *parent, FoNode *fo_node); #define fo_node_n_nodes(root, flags) \ g_node_n_nodes (((FoNode *) (root))->node, (flags)) #define fo_node_get_root(root) \ ((FoNode *) g_node_get_root (((FoNode *) (root))->node)->data) #define fo_node_is_ancestor(fo_node, descendant) \ g_node_is_ancestor(((FoNode *) (fo_node))->node, \ ((FoNode *) (descendant))->node) #define fo_node_depth(fo_node) \ g_node_depth(((FoNode *) (fo_node))->node) FoNode* fo_node_append (FoNode *parent, FoNode *fo_node); void fo_node_traverse (FoNode *root, GTraverseType order, GTraverseFlags flags, gint max_depth, FoNodeTraverseFunc func, gpointer data); #define fo_node_max_height(root) \ g_node_max_height(((FoNode *) (root))->node) void fo_node_children_foreach (FoNode *fo_node, GTraverseFlags flags, FoNodeForeachFunc func, gpointer data); #define fo_node_reverse_children(fo_node) \ g_node_reverse_children(((FoNode *) (fo_node))->node) #define fo_node_n_children(fo_node) \ g_node_n_children(((FoNode *) (fo_node))->node) #define fo_node_nth_child(fo_node, n) \ (g_node_nth_child (((FoNode *) (fo_node))->node, (n)) ? \ ((FoNode *) g_node_nth_child (((FoNode *) (fo_node))->node, (n))->data) : NULL) #define fo_node_last_child(fo_node) \ (g_node_last_child (((FoNode *) (fo_node))->node) ? \ ((FoNode *) g_node_last_child (((FoNode *) (fo_node))->node)->data) : NULL) #define fo_node_child_position(fo_node, child) \ g_node_child_position(((FoNode *) (fo_node))->node, \ ((FoNode *) (child))->node) #define fo_node_first_sibling(fo_node) \ (g_node_first_sibling (((FoNode *) (fo_node))->node) ? \ ((FoNode *) g_node_first_sibling (((FoNode *) (fo_node))->node)->data) : NULL) #define fo_node_last_sibling(fo_node) \ (g_node_last_sibling (((FoNode *) (fo_node))->node) ? \ ((FoNode *) g_node_last_sibling (((FoNode *) (fo_node))->node)->data) : NULL) #define fo_node_prev_sibling(fo_node) \ (g_node_prev_sibling (((FoNode *) (fo_node))->node) ? \ ((FoNode *) g_node_prev_sibling (((FoNode *) (fo_node))->node)->data) : NULL) FoNode * fo_node_next_sibling (FoNode *fo_node); FoNode * fo_node_first_child (FoNode *fo_node); FoNode * fo_node_parent (FoNode *fo_node); #define fo_node_unlink(fo_node) \ g_node_unlink(((FoNode *) (fo_node))->node) void fo_node_unlink_with_next_siblings (FoNode *fo_node); FoNode* fo_node_insert_with_next_siblings (FoNode *parent, gint position, FoNode *fo_node); void fo_node_debug_dump_tree (FoNode *fo_node, gint depth); G_END_DECLS #endif /* !__FO_NODE_H__ */ xmlroff-0.6.2/libfo/fo-context.h0000644000175000017500000011267210700503166013456 00000000000000/* Fo * fo-context.h: Context formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_CONTEXT_H__ #define __FO_CONTEXT_H__ typedef struct _FoContext FoContext; typedef struct _FoContextClass FoContextClass; #include #include #include #include G_BEGIN_DECLS #define FO_TYPE_CONTEXT (fo_context_get_type ()) #define FO_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_CONTEXT, FoContext)) #define FO_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_CONTEXT, FoContextClass)) #define FO_IS_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_CONTEXT)) #define FO_IS_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_CONTEXT)) #define FO_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_CONTEXT, FoContextClass)) GType fo_context_get_type (void) G_GNUC_CONST; FoContext * fo_context_new (void); void fo_context_initialize (FoContext *context); void fo_context_merge (FoContext *primary, FoContext *secondary); void fo_context_update_from_slist (FoContext *context, GSList *property_list); void fo_context_debug_dump_properties (FoContext *fo_context, gint depth); FoProperty * fo_context_get_alignment_adjust (FoContext *fo_context); void fo_context_set_alignment_adjust (FoContext *fo_context, FoProperty *new_alignment_adjust); FoProperty * fo_context_get_alignment_baseline (FoContext *fo_context); void fo_context_set_alignment_baseline (FoContext *fo_context, FoProperty *new_alignment_baseline); FoProperty * fo_context_get_background_color (FoContext *fo_context); void fo_context_set_background_color (FoContext *fo_context, FoProperty *new_background_color); FoProperty * fo_context_get_background_image (FoContext *fo_context); void fo_context_set_background_image (FoContext *fo_context, FoProperty *new_background_image); FoProperty * fo_context_get_baseline_shift (FoContext *fo_context); void fo_context_set_baseline_shift (FoContext *fo_context, FoProperty *new_baseline_shift); FoProperty * fo_context_get_block_progression_dimension (FoContext *fo_context); void fo_context_set_block_progression_dimension (FoContext *fo_context, FoProperty *new_block_progression_dimension); FoProperty * fo_context_get_block_progression_dimension_minimum (FoContext *fo_context); void fo_context_set_block_progression_dimension_minimum (FoContext *fo_context, FoProperty *new_block_progression_dimension_minimum); FoProperty * fo_context_get_block_progression_dimension_optimum (FoContext *fo_context); void fo_context_set_block_progression_dimension_optimum (FoContext *fo_context, FoProperty *new_block_progression_dimension_optimum); FoProperty * fo_context_get_block_progression_dimension_maximum (FoContext *fo_context); void fo_context_set_block_progression_dimension_maximum (FoContext *fo_context, FoProperty *new_block_progression_dimension_maximum); FoProperty * fo_context_get_border (FoContext *fo_context); void fo_context_set_border (FoContext *fo_context, FoProperty *new_border); FoProperty * fo_context_get_border_after_color (FoContext *fo_context); void fo_context_set_border_after_color (FoContext *fo_context, FoProperty *new_border_after_color); FoProperty * fo_context_get_border_after_precedence (FoContext *fo_context); void fo_context_set_border_after_precedence (FoContext *fo_context, FoProperty *new_border_after_precedence); FoProperty * fo_context_get_border_after_style (FoContext *fo_context); void fo_context_set_border_after_style (FoContext *fo_context, FoProperty *new_border_after_style); FoProperty * fo_context_get_border_after_width (FoContext *fo_context); void fo_context_set_border_after_width (FoContext *fo_context, FoProperty *new_border_after_width); FoProperty * fo_context_get_border_before_color (FoContext *fo_context); void fo_context_set_border_before_color (FoContext *fo_context, FoProperty *new_border_before_color); FoProperty * fo_context_get_border_before_precedence (FoContext *fo_context); void fo_context_set_border_before_precedence (FoContext *fo_context, FoProperty *new_border_before_precedence); FoProperty * fo_context_get_border_before_style (FoContext *fo_context); void fo_context_set_border_before_style (FoContext *fo_context, FoProperty *new_border_before_style); FoProperty * fo_context_get_border_before_width (FoContext *fo_context); void fo_context_set_border_before_width (FoContext *fo_context, FoProperty *new_border_before_width); FoProperty * fo_context_get_border_bottom (FoContext *fo_context); void fo_context_set_border_bottom (FoContext *fo_context, FoProperty *new_border_bottom); FoProperty * fo_context_get_border_bottom_color (FoContext *fo_context); void fo_context_set_border_bottom_color (FoContext *fo_context, FoProperty *new_border_bottom_color); FoProperty * fo_context_get_border_bottom_style (FoContext *fo_context); void fo_context_set_border_bottom_style (FoContext *fo_context, FoProperty *new_border_bottom_style); FoProperty * fo_context_get_border_bottom_width (FoContext *fo_context); void fo_context_set_border_bottom_width (FoContext *fo_context, FoProperty *new_border_bottom_width); FoProperty * fo_context_get_border_collapse (FoContext *fo_context); void fo_context_set_border_collapse (FoContext *fo_context, FoProperty *new_border_collapse); FoProperty * fo_context_get_border_color (FoContext *fo_context); void fo_context_set_border_color (FoContext *fo_context, FoProperty *new_border_color); FoProperty * fo_context_get_border_end_color (FoContext *fo_context); void fo_context_set_border_end_color (FoContext *fo_context, FoProperty *new_border_end_color); FoProperty * fo_context_get_border_end_precedence (FoContext *fo_context); void fo_context_set_border_end_precedence (FoContext *fo_context, FoProperty *new_border_end_precedence); FoProperty * fo_context_get_border_end_style (FoContext *fo_context); void fo_context_set_border_end_style (FoContext *fo_context, FoProperty *new_border_end_style); FoProperty * fo_context_get_border_end_width (FoContext *fo_context); void fo_context_set_border_end_width (FoContext *fo_context, FoProperty *new_border_end_width); FoProperty * fo_context_get_border_left (FoContext *fo_context); void fo_context_set_border_left (FoContext *fo_context, FoProperty *new_border_left); FoProperty * fo_context_get_border_left_color (FoContext *fo_context); void fo_context_set_border_left_color (FoContext *fo_context, FoProperty *new_border_left_color); FoProperty * fo_context_get_border_left_style (FoContext *fo_context); void fo_context_set_border_left_style (FoContext *fo_context, FoProperty *new_border_left_style); FoProperty * fo_context_get_border_left_width (FoContext *fo_context); void fo_context_set_border_left_width (FoContext *fo_context, FoProperty *new_border_left_width); FoProperty * fo_context_get_border_right (FoContext *fo_context); void fo_context_set_border_right (FoContext *fo_context, FoProperty *new_border_right); FoProperty * fo_context_get_border_right_color (FoContext *fo_context); void fo_context_set_border_right_color (FoContext *fo_context, FoProperty *new_border_right_color); FoProperty * fo_context_get_border_right_style (FoContext *fo_context); void fo_context_set_border_right_style (FoContext *fo_context, FoProperty *new_border_right_style); FoProperty * fo_context_get_border_right_width (FoContext *fo_context); void fo_context_set_border_right_width (FoContext *fo_context, FoProperty *new_border_right_width); FoProperty * fo_context_get_border_separation (FoContext *fo_context); void fo_context_set_border_separation (FoContext *fo_context, FoProperty *new_border_separation); FoProperty * fo_context_get_border_start_color (FoContext *fo_context); void fo_context_set_border_start_color (FoContext *fo_context, FoProperty *new_border_start_color); FoProperty * fo_context_get_border_start_precedence (FoContext *fo_context); void fo_context_set_border_start_precedence (FoContext *fo_context, FoProperty *new_border_start_precedence); FoProperty * fo_context_get_border_start_style (FoContext *fo_context); void fo_context_set_border_start_style (FoContext *fo_context, FoProperty *new_border_start_style); FoProperty * fo_context_get_border_start_width (FoContext *fo_context); void fo_context_set_border_start_width (FoContext *fo_context, FoProperty *new_border_start_width); FoProperty * fo_context_get_border_style (FoContext *fo_context); void fo_context_set_border_style (FoContext *fo_context, FoProperty *new_border_style); FoProperty * fo_context_get_border_top (FoContext *fo_context); void fo_context_set_border_top (FoContext *fo_context, FoProperty *new_border_top); FoProperty * fo_context_get_border_top_color (FoContext *fo_context); void fo_context_set_border_top_color (FoContext *fo_context, FoProperty *new_border_top_color); FoProperty * fo_context_get_border_top_style (FoContext *fo_context); void fo_context_set_border_top_style (FoContext *fo_context, FoProperty *new_border_top_style); FoProperty * fo_context_get_border_top_width (FoContext *fo_context); void fo_context_set_border_top_width (FoContext *fo_context, FoProperty *new_border_top_width); FoProperty * fo_context_get_border_width (FoContext *fo_context); void fo_context_set_border_width (FoContext *fo_context, FoProperty *new_border_width); FoProperty * fo_context_get_break_after (FoContext *fo_context); void fo_context_set_break_after (FoContext *fo_context, FoProperty *new_break_after); FoProperty * fo_context_get_break_before (FoContext *fo_context); void fo_context_set_break_before (FoContext *fo_context, FoProperty *new_break_before); FoProperty * fo_context_get_character (FoContext *fo_context); void fo_context_set_character (FoContext *fo_context, FoProperty *new_character); FoProperty * fo_context_get_clip (FoContext *fo_context); void fo_context_set_clip (FoContext *fo_context, FoProperty *new_clip); FoProperty * fo_context_get_color (FoContext *fo_context); void fo_context_set_color (FoContext *fo_context, FoProperty *new_color); FoProperty * fo_context_get_column_number (FoContext *fo_context); void fo_context_set_column_number (FoContext *fo_context, FoProperty *new_column_number); FoProperty * fo_context_get_column_width (FoContext *fo_context); void fo_context_set_column_width (FoContext *fo_context, FoProperty *new_column_width); FoProperty * fo_context_get_content_height (FoContext *fo_context); void fo_context_set_content_height (FoContext *fo_context, FoProperty *new_content_height); FoProperty * fo_context_get_content_type (FoContext *fo_context); void fo_context_set_content_type (FoContext *fo_context, FoProperty *new_content_type); FoProperty * fo_context_get_content_width (FoContext *fo_context); void fo_context_set_content_width (FoContext *fo_context, FoProperty *new_content_width); FoProperty * fo_context_get_direction (FoContext *fo_context); void fo_context_set_direction (FoContext *fo_context, FoProperty *new_direction); FoProperty * fo_context_get_display_align (FoContext *fo_context); void fo_context_set_display_align (FoContext *fo_context, FoProperty *new_display_align); FoProperty * fo_context_get_dominant_baseline (FoContext *fo_context); void fo_context_set_dominant_baseline (FoContext *fo_context, FoProperty *new_dominant_baseline); FoProperty * fo_context_get_end_indent (FoContext *fo_context); void fo_context_set_end_indent (FoContext *fo_context, FoProperty *new_end_indent); FoProperty * fo_context_get_extent (FoContext *fo_context); void fo_context_set_extent (FoContext *fo_context, FoProperty *new_extent); FoProperty * fo_context_get_flow_name (FoContext *fo_context); void fo_context_set_flow_name (FoContext *fo_context, FoProperty *new_flow_name); FoProperty * fo_context_get_font_family (FoContext *fo_context); void fo_context_set_font_family (FoContext *fo_context, FoProperty *new_font_family); FoProperty * fo_context_get_font_size (FoContext *fo_context); void fo_context_set_font_size (FoContext *fo_context, FoProperty *new_font_size); FoProperty * fo_context_get_font_stretch (FoContext *fo_context); void fo_context_set_font_stretch (FoContext *fo_context, FoProperty *new_font_stretch); FoProperty * fo_context_get_font_style (FoContext *fo_context); void fo_context_set_font_style (FoContext *fo_context, FoProperty *new_font_style); FoProperty * fo_context_get_font_variant (FoContext *fo_context); void fo_context_set_font_variant (FoContext *fo_context, FoProperty *new_font_variant); FoProperty * fo_context_get_font_weight (FoContext *fo_context); void fo_context_set_font_weight (FoContext *fo_context, FoProperty *new_font_weight); FoProperty * fo_context_get_format (FoContext *fo_context); void fo_context_set_format (FoContext *fo_context, FoProperty *new_format); FoProperty * fo_context_get_grouping_separator (FoContext *fo_context); void fo_context_set_grouping_separator (FoContext *fo_context, FoProperty *new_grouping_separator); FoProperty * fo_context_get_grouping_size (FoContext *fo_context); void fo_context_set_grouping_size (FoContext *fo_context, FoProperty *new_grouping_size); FoProperty * fo_context_get_height (FoContext *fo_context); void fo_context_set_height (FoContext *fo_context, FoProperty *new_height); FoProperty * fo_context_get_id (FoContext *fo_context); void fo_context_set_id (FoContext *fo_context, FoProperty *new_id); FoProperty * fo_context_get_inline_progression_dimension (FoContext *fo_context); void fo_context_set_inline_progression_dimension (FoContext *fo_context, FoProperty *new_inline_progression_dimension); FoProperty * fo_context_get_inline_progression_dimension_minimum (FoContext *fo_context); void fo_context_set_inline_progression_dimension_minimum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_minimum); FoProperty * fo_context_get_inline_progression_dimension_optimum (FoContext *fo_context); void fo_context_set_inline_progression_dimension_optimum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_optimum); FoProperty * fo_context_get_inline_progression_dimension_maximum (FoContext *fo_context); void fo_context_set_inline_progression_dimension_maximum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_maximum); FoProperty * fo_context_get_keep_together (FoContext *fo_context); void fo_context_set_keep_together (FoContext *fo_context, FoProperty *new_keep_together); FoProperty * fo_context_get_keep_together_within_column (FoContext *fo_context); void fo_context_set_keep_together_within_column (FoContext *fo_context, FoProperty *new_keep_together_within_column); FoProperty * fo_context_get_keep_together_within_line (FoContext *fo_context); void fo_context_set_keep_together_within_line (FoContext *fo_context, FoProperty *new_keep_together_within_line); FoProperty * fo_context_get_keep_together_within_page (FoContext *fo_context); void fo_context_set_keep_together_within_page (FoContext *fo_context, FoProperty *new_keep_together_within_page); FoProperty * fo_context_get_keep_with_next (FoContext *fo_context); void fo_context_set_keep_with_next (FoContext *fo_context, FoProperty *new_keep_with_next); FoProperty * fo_context_get_keep_with_next_within_column (FoContext *fo_context); void fo_context_set_keep_with_next_within_column (FoContext *fo_context, FoProperty *new_keep_with_next_within_column); FoProperty * fo_context_get_keep_with_next_within_line (FoContext *fo_context); void fo_context_set_keep_with_next_within_line (FoContext *fo_context, FoProperty *new_keep_with_next_within_line); FoProperty * fo_context_get_keep_with_next_within_page (FoContext *fo_context); void fo_context_set_keep_with_next_within_page (FoContext *fo_context, FoProperty *new_keep_with_next_within_page); FoProperty * fo_context_get_keep_with_previous (FoContext *fo_context); void fo_context_set_keep_with_previous (FoContext *fo_context, FoProperty *new_keep_with_previous); FoProperty * fo_context_get_keep_with_previous_within_column (FoContext *fo_context); void fo_context_set_keep_with_previous_within_column (FoContext *fo_context, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_context_get_keep_with_previous_within_line (FoContext *fo_context); void fo_context_set_keep_with_previous_within_line (FoContext *fo_context, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_context_get_keep_with_previous_within_page (FoContext *fo_context); void fo_context_set_keep_with_previous_within_page (FoContext *fo_context, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_context_get_letter_value (FoContext *fo_context); void fo_context_set_letter_value (FoContext *fo_context, FoProperty *new_letter_value); FoProperty * fo_context_get_line_height (FoContext *fo_context); void fo_context_set_line_height (FoContext *fo_context, FoProperty *new_line_height); FoProperty * fo_context_get_line_stacking_strategy (FoContext *fo_context); void fo_context_set_line_stacking_strategy (FoContext *fo_context, FoProperty *new_line_stacking_strategy); FoProperty * fo_context_get_linefeed_treatment (FoContext *fo_context); void fo_context_set_linefeed_treatment (FoContext *fo_context, FoProperty *new_linefeed_treatment); FoProperty * fo_context_get_margin (FoContext *fo_context); void fo_context_set_margin (FoContext *fo_context, FoProperty *new_margin); FoProperty * fo_context_get_margin_bottom (FoContext *fo_context); void fo_context_set_margin_bottom (FoContext *fo_context, FoProperty *new_margin_bottom); FoProperty * fo_context_get_margin_left (FoContext *fo_context); void fo_context_set_margin_left (FoContext *fo_context, FoProperty *new_margin_left); FoProperty * fo_context_get_margin_right (FoContext *fo_context); void fo_context_set_margin_right (FoContext *fo_context, FoProperty *new_margin_right); FoProperty * fo_context_get_margin_top (FoContext *fo_context); void fo_context_set_margin_top (FoContext *fo_context, FoProperty *new_margin_top); FoProperty * fo_context_get_master_name (FoContext *fo_context); void fo_context_set_master_name (FoContext *fo_context, FoProperty *new_master_name); FoProperty * fo_context_get_master_reference (FoContext *fo_context); void fo_context_set_master_reference (FoContext *fo_context, FoProperty *new_master_reference); FoProperty * fo_context_get_media_usage (FoContext *fo_context); void fo_context_set_media_usage (FoContext *fo_context, FoProperty *new_media_usage); FoProperty * fo_context_get_number_columns_repeated (FoContext *fo_context); void fo_context_set_number_columns_repeated (FoContext *fo_context, FoProperty *new_number_columns_repeated); FoProperty * fo_context_get_number_columns_spanned (FoContext *fo_context); void fo_context_set_number_columns_spanned (FoContext *fo_context, FoProperty *new_number_columns_spanned); FoProperty * fo_context_get_number_rows_spanned (FoContext *fo_context); void fo_context_set_number_rows_spanned (FoContext *fo_context, FoProperty *new_number_rows_spanned); FoProperty * fo_context_get_orphans (FoContext *fo_context); void fo_context_set_orphans (FoContext *fo_context, FoProperty *new_orphans); FoProperty * fo_context_get_overflow (FoContext *fo_context); void fo_context_set_overflow (FoContext *fo_context, FoProperty *new_overflow); FoProperty * fo_context_get_padding (FoContext *fo_context); void fo_context_set_padding (FoContext *fo_context, FoProperty *new_padding); FoProperty * fo_context_get_padding_after (FoContext *fo_context); void fo_context_set_padding_after (FoContext *fo_context, FoProperty *new_padding_after); FoProperty * fo_context_get_padding_after_length (FoContext *fo_context); void fo_context_set_padding_after_length (FoContext *fo_context, FoProperty *new_padding_after_length); FoProperty * fo_context_get_padding_after_condity (FoContext *fo_context); void fo_context_set_padding_after_condity (FoContext *fo_context, FoProperty *new_padding_after_condity); FoProperty * fo_context_get_padding_before (FoContext *fo_context); void fo_context_set_padding_before (FoContext *fo_context, FoProperty *new_padding_before); FoProperty * fo_context_get_padding_before_length (FoContext *fo_context); void fo_context_set_padding_before_length (FoContext *fo_context, FoProperty *new_padding_before_length); FoProperty * fo_context_get_padding_before_condity (FoContext *fo_context); void fo_context_set_padding_before_condity (FoContext *fo_context, FoProperty *new_padding_before_condity); FoProperty * fo_context_get_padding_bottom (FoContext *fo_context); void fo_context_set_padding_bottom (FoContext *fo_context, FoProperty *new_padding_bottom); FoProperty * fo_context_get_padding_end (FoContext *fo_context); void fo_context_set_padding_end (FoContext *fo_context, FoProperty *new_padding_end); FoProperty * fo_context_get_padding_end_length (FoContext *fo_context); void fo_context_set_padding_end_length (FoContext *fo_context, FoProperty *new_padding_end_length); FoProperty * fo_context_get_padding_end_condity (FoContext *fo_context); void fo_context_set_padding_end_condity (FoContext *fo_context, FoProperty *new_padding_end_condity); FoProperty * fo_context_get_padding_left (FoContext *fo_context); void fo_context_set_padding_left (FoContext *fo_context, FoProperty *new_padding_left); FoProperty * fo_context_get_padding_right (FoContext *fo_context); void fo_context_set_padding_right (FoContext *fo_context, FoProperty *new_padding_right); FoProperty * fo_context_get_padding_start (FoContext *fo_context); void fo_context_set_padding_start (FoContext *fo_context, FoProperty *new_padding_start); FoProperty * fo_context_get_padding_start_length (FoContext *fo_context); void fo_context_set_padding_start_length (FoContext *fo_context, FoProperty *new_padding_start_length); FoProperty * fo_context_get_padding_start_condity (FoContext *fo_context); void fo_context_set_padding_start_condity (FoContext *fo_context, FoProperty *new_padding_start_condity); FoProperty * fo_context_get_padding_top (FoContext *fo_context); void fo_context_set_padding_top (FoContext *fo_context, FoProperty *new_padding_top); FoProperty * fo_context_get_page_height (FoContext *fo_context); void fo_context_set_page_height (FoContext *fo_context, FoProperty *new_page_height); FoProperty * fo_context_get_page_width (FoContext *fo_context); void fo_context_set_page_width (FoContext *fo_context, FoProperty *new_page_width); FoProperty * fo_context_get_provisional_distance_between_starts (FoContext *fo_context); void fo_context_set_provisional_distance_between_starts (FoContext *fo_context, FoProperty *new_provisional_distance_between_starts); FoProperty * fo_context_get_provisional_label_separation (FoContext *fo_context); void fo_context_set_provisional_label_separation (FoContext *fo_context, FoProperty *new_provisional_label_separation); FoProperty * fo_context_get_ref_id (FoContext *fo_context); void fo_context_set_ref_id (FoContext *fo_context, FoProperty *new_ref_id); FoProperty * fo_context_get_region_name (FoContext *fo_context); void fo_context_set_region_name (FoContext *fo_context, FoProperty *new_region_name); FoProperty * fo_context_get_role (FoContext *fo_context); void fo_context_set_role (FoContext *fo_context, FoProperty *new_role); FoProperty * fo_context_get_scaling (FoContext *fo_context); void fo_context_set_scaling (FoContext *fo_context, FoProperty *new_scaling); FoProperty * fo_context_get_scaling_method (FoContext *fo_context); void fo_context_set_scaling_method (FoContext *fo_context, FoProperty *new_scaling_method); FoProperty * fo_context_get_score_spaces (FoContext *fo_context); void fo_context_set_score_spaces (FoContext *fo_context, FoProperty *new_score_spaces); FoProperty * fo_context_get_source_document (FoContext *fo_context); void fo_context_set_source_document (FoContext *fo_context, FoProperty *new_source_document); FoProperty * fo_context_get_space_after (FoContext *fo_context); void fo_context_set_space_after (FoContext *fo_context, FoProperty *new_space_after); void fo_context_set_space_after_minimum (FoContext *fo_context, FoProperty *new_space_after_minimum); void fo_context_set_space_after_optimum (FoContext *fo_context, FoProperty *new_space_after_optimum); void fo_context_set_space_after_maximum (FoContext *fo_context, FoProperty *new_space_after_maximum); void fo_context_set_space_after_precedence (FoContext *fo_context, FoProperty *new_space_after_precedence); void fo_context_set_space_after_condity (FoContext *fo_context, FoProperty *new_space_after_condity); FoProperty * fo_context_get_space_before (FoContext *fo_context); void fo_context_set_space_before (FoContext *fo_context, FoProperty *new_space_before); void fo_context_set_space_before_minimum (FoContext *fo_context, FoProperty *new_space_before_minimum); void fo_context_set_space_before_optimum (FoContext *fo_context, FoProperty *new_space_before_optimum); void fo_context_set_space_before_maximum (FoContext *fo_context, FoProperty *new_space_before_maximum); void fo_context_set_space_before_precedence (FoContext *fo_context, FoProperty *new_space_before_precedence); void fo_context_set_space_before_condity (FoContext *fo_context, FoProperty *new_space_before_condity); FoProperty * fo_context_get_space_end (FoContext *fo_context); void fo_context_set_space_end (FoContext *fo_context, FoProperty *new_space_end); void fo_context_set_space_end_minimum (FoContext *fo_context, FoProperty *new_space_end_minimum); void fo_context_set_space_end_optimum (FoContext *fo_context, FoProperty *new_space_end_optimum); void fo_context_set_space_end_maximum (FoContext *fo_context, FoProperty *new_space_end_maximum); void fo_context_set_space_end_precedence (FoContext *fo_context, FoProperty *new_space_end_precedence); void fo_context_set_space_end_condity (FoContext *fo_context, FoProperty *new_space_end_condity); FoProperty * fo_context_get_space_start (FoContext *fo_context); void fo_context_set_space_start (FoContext *fo_context, FoProperty *new_space_start); void fo_context_set_space_start_minimum (FoContext *fo_context, FoProperty *new_space_start_minimum); void fo_context_set_space_start_optimum (FoContext *fo_context, FoProperty *new_space_start_optimum); void fo_context_set_space_start_maximum (FoContext *fo_context, FoProperty *new_space_start_maximum); void fo_context_set_space_start_precedence (FoContext *fo_context, FoProperty *new_space_start_precedence); void fo_context_set_space_start_condity (FoContext *fo_context, FoProperty *new_space_start_condity); FoProperty * fo_context_get_span (FoContext *fo_context); void fo_context_set_span (FoContext *fo_context, FoProperty *new_span); FoProperty * fo_context_get_src (FoContext *fo_context); void fo_context_set_src (FoContext *fo_context, FoProperty *new_src); FoProperty * fo_context_get_start_indent (FoContext *fo_context); void fo_context_set_start_indent (FoContext *fo_context, FoProperty *new_start_indent); FoProperty * fo_context_get_table_layout (FoContext *fo_context); void fo_context_set_table_layout (FoContext *fo_context, FoProperty *new_table_layout); FoProperty * fo_context_get_text_align (FoContext *fo_context); void fo_context_set_text_align (FoContext *fo_context, FoProperty *new_text_align); FoProperty * fo_context_get_text_indent (FoContext *fo_context); void fo_context_set_text_indent (FoContext *fo_context, FoProperty *new_text_indent); FoProperty * fo_context_get_unicode_bidi (FoContext *fo_context); void fo_context_set_unicode_bidi (FoContext *fo_context, FoProperty *new_unicode_bidi); FoProperty * fo_context_get_white_space_collapse (FoContext *fo_context); void fo_context_set_white_space_collapse (FoContext *fo_context, FoProperty *new_white_space_collapse); FoProperty * fo_context_get_white_space_treatment (FoContext *fo_context); void fo_context_set_white_space_treatment (FoContext *fo_context, FoProperty *new_white_space_treatment); FoProperty * fo_context_get_widows (FoContext *fo_context); void fo_context_set_widows (FoContext *fo_context, FoProperty *new_widows); FoProperty * fo_context_get_width (FoContext *fo_context); void fo_context_set_width (FoContext *fo_context, FoProperty *new_width); FoProperty * fo_context_get_wrap_option (FoContext *fo_context); void fo_context_set_wrap_option (FoContext *fo_context, FoProperty *new_wrap_option); FoProperty * fo_context_get_writing_mode (FoContext *fo_context); void fo_context_set_writing_mode (FoContext *fo_context, FoProperty *new_writing_mode); G_END_DECLS #endif /* __FO_CONTEXT_H__ */ xmlroff-0.6.2/libfo/libfo-features.h0000644000175000017500000000052111150536704014270 00000000000000/* Generated by configure. Do not edit */ #ifndef __LIBFO_FEATURES_H__ #define __LIBFO_FEATURES_H__ #define LIBFO_VERSION_MAJOR 0 #define LIBFO_VERSION_MINOR 6 #define LIBFO_VERSION_MICRO 2 #define LIBFO_PIXELS_PER_INCH 96 #define LIBFO_VERSION_STRING "0.6.2" #define LIBFO_VERSION_EXTRA "-SVN541" #endif /* __LIBFO_FEATURES_H__ */ xmlroff-0.6.2/libfo/libfo-version.h0000644000175000017500000001057011033712133014134 00000000000000/* libfo * libfo-version.h: libfo version * * Copyright (C) 2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __LIBFO_VERSION_H__ #define __LIBFO_VERSION_H__ /* libfo-features.h is autogenerated. The constants it defines are documented here. */ #include #include G_BEGIN_DECLS /** * SECTION:libfo-version * @short_description: libfo version checking * * The capital-letter macros defined here can be used to check the * version of libfo at compile-time, and to * encode libfo versions into integers. The * functions can be used to check the version of the linked libfo * library at run-time. */ /** * LIBFO_VERSION_MAJOR: * * The major component of the version of libfo available at * compile-time. */ /** * LIBFO_VERSION_MINOR: * * The minor component of the version of libfo available at * compile-time. */ /** * LIBFO_VERSION_MICRO: * * The micro component of the version of libfo available at * compile-time. */ /** * LIBFO_VERSION_STRING: * * A string literal containing the version of libfo available at * compile-time. */ /** * LIBFO_VERSION_EXTRA: * * Extra compile-time version information string literal containing, * e.g., the Subversion changeset number. */ /** * LIBFO_PIXELS_PER_INCH: * * Pixels per inch for use with graphics without intrinsic size. */ /** * LIBFO_VERSION_ENCODE: * @major: the major component of the version number * @minor: the minor component of the version number * @micro: the micro component of the version number * * * This macro encodes the given libfo version into an integer. The * numbers returned by #LIBFO_VERSION and libfo_version() are encoded * using this macro. Two encoded version numbers can be compared as * integers. */ #define LIBFO_VERSION_ENCODE(major, minor, micro) ( \ ((major) * 10000) \ + ((minor) * 100) \ + ((micro) * 1)) /** * LIBFO_VERSION: * * The version of libfo available at compile-time, encoded using * LIBFO_VERSION_ENCODE(). */ #define LIBFO_VERSION LIBFO_VERSION_ENCODE( \ LIBFO_VERSION_MAJOR, \ LIBFO_VERSION_MINOR, \ LIBFO_VERSION_MICRO) /** * LIBFO_VERSION_CHECK: * @major: the major component of the version number * @minor: the minor component of the version number * @micro: the micro component of the version number * * Checks that the version of libfo available at compile-time is * not older than the provided version number. */ #define LIBFO_VERSION_CHECK(major,minor,micro) \ (LIBFO_VERSION >= LIBFO_VERSION_ENCODE(major,minor,micro)) /* Return encoded version of libfo at run-time */ int libfo_version (void); /* Return run-time libfo version as an string */ const char * libfo_version_string (void); /* Check that run-time libfo is as new as required */ const char * libfo_version_check (int required_major, int required_minor, int required_micro); int libfo_pixels_per_inch (void); /** * LibfoModuleEnum: * @LIBFO_MODULE_INVALID: Not a module * @LIBFO_MODULE_XSL_FORMATTER: XSL formatter * @LIBFO_MODULE_XSLT_PROCESSOR: XSLT processor * @LIBFO_MODULE_BACKEND: Backend * @LIBFO_MODULE_PANGO: Pango * * The type of a module of libfo. */ typedef enum { LIBFO_MODULE_INVALID, LIBFO_MODULE_XSL_FORMATTER, LIBFO_MODULE_XSLT_PROCESSOR, LIBFO_MODULE_XML_DOC, LIBFO_MODULE_BACKEND, LIBFO_MODULE_PANGO } LibfoModuleEnum; /** * LibfoVersionInfo: * @module: Type of the module * @nick: Nickname * @name: #FoObject type name, e.g., #FoDocCairo * @compiled: Compiled version number * @compiled_string: Compiled version number string * @runtime: Runtime version number * @runtime_string: Runtime version number string * * Collected version information about a component of libfo. * * Other than @nick, one or more of the parts of the #LibfoVersionInfo * may be 0 or %NULL if the component is unable to report that * information. */ typedef struct { LibfoModuleEnum module; const gchar *nick; const gchar *name; gint compiled; const gchar *compiled_string; gint runtime; const gchar *runtime_string; } LibfoVersionInfo; const LibfoVersionInfo ** libfo_version_get_info (void); G_END_DECLS #endif /* __LIBFO_VERSION_H__ */ xmlroff-0.6.2/libfo/Makefile.am0000644000175000017500000000633511056612556013262 00000000000000## Process this file with automake to produce Makefile.in SUBDIRS = area fo datatype property expr util . INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(LIBXSLT_CFLAGS) \ $(LIBRSVG_CFLAGS) \ $(PANGO_CFLAGS) LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ BUILT_SOURCES = libfo-features.h noinst_LTLIBRARIES = libfo-libfo.la libfo-fodoc.la lib_LTLIBRARIES = libfo-0.6.la if ENABLE_GP GP_headers = fo-doc-gp.h fo-doc-gp-private.h fo-layout-gp.h fo-layout-gp-private.h GP_sources = $(GP_headers) fo-doc-gp.c fo-layout-gp.c else GP_headers= GP_sources= endif if ENABLE_CAIRO CAIRO_headers = fo-doc-cairo.h fo-doc-cairo-private.h fo-layout-cairo.h fo-layout-cairo-private.h CAIRO_sources = $(CAIRO_headers) fo-doc-cairo.c fo-layout-cairo.c else CAIRO_headers= CAIRO_sources= endif libfo_headers = \ fo-utils.h \ fo-font-desc.h \ fo-font-desc-private.h \ fo-layout.h \ fo-layout-private.h \ fo-libfo.h \ fo-libfo-basic.h \ fo-libfo-context.h \ fo-libfo-module.h \ fo-libfo-module-private.h \ fo-xml-doc-private.h \ fo-xml-doc.h \ fo-xml-node-private.h \ fo-xml-node.h \ fo-xsl-formatter.h \ fo-xslt-transformer.h \ libfo-compat.h fodoc_headers = \ $(CAIRO_headers) \ $(GP_headers) \ fo-doc.h \ fo-doc-private.h libfoinclude_HEADERS = \ $(fodoc_headers) \ $(libfo_headers) libfoincludedir = $(includedir)/libfo-0.6/libfo libfo_libfo_la_SOURCES = \ $(libfo_headers) \ fo-font-desc.c \ fo-layout.c \ fo-libfo-basic.c \ fo-libfo-context.c \ fo-libfo-module.c \ fo-xml-doc.c \ fo-xml-node.c \ fo-xslt-transformer.c \ fo-xsl-formatter.c \ libfo-compat.c \ libfo-pango.c \ libfo-pango.h libfo_fodoc_la_SOURCES = \ $(CAIRO_sources) \ $(GP_sources) \ $(fodoc_headers) \ fo-doc.c \ fo-doc-commands.h libfo_fodoc_la_CFLAGS = $(PANGO_CFLAGS) $(GNOMEPRINT_CFLAGS) $(GDKPIXBUF_CFLAGS) libfo_fodoc_la_LIBADD = $(PANGO_LIBS) $(GNOMEPRINT_LIBS) $(GDKPIXBUF_LIBS) fo_context_cfiles= \ fo-context.c \ fo-context-private.h \ fo-context-util.c \ fo-context-util.h fo_base_cfiles = \ fo-object.c \ fo-node.c \ fo-node-private.h libfo_0_6_la_LDFLAGS = \ -version-info $(LT_VERSION_INFO) \ $(no_undefined) libfo_0_6_includedir = $(includedir)/libfo-0.6/libfo libfo_0_6_include_HEADERS = \ fo-object.h \ fo-node.h \ fo-context.h \ libfo-features.h \ libfo-version.h libfo_0_6_la_SOURCES = \ $(libfo_0_6_include_HEADERS) \ $(fo_base_cfiles) \ $(fo_context_cfiles) \ area-to-pdf.c \ area-to-pdf.h \ libfo-version.c libfo_0_6_la_LIBADD = \ util/libfo-util.la \ area/libfo-area.la \ expr/libfo-expr.la \ fo/libfo-fo.la \ datatype/libfo-datatype.la \ property/libfo-property.la \ property/libfo-text-property.la \ libfo-libfo.la \ libfo-fodoc.la \ $(LIBRSVG_LIBS) \ $(PANGO_LIBS) \ $(GNOMEPRINT_LIBS) \ $(LIBXSLT_LIBS) \ $(FREETYPE_LIBS) libfo-features.h: cd $(top_builddir) && ./config.status libfo/libfo-features.h libfo-compat.c: s-libfo-compat-c @true s-libfo-compat-c: ../libfo-compat.xsl libfo-compat.c.tmpl ../tools/insert-file-as-string.pl $(PERL) ../tools/insert-file-as-string.pl --file ../libfo-compat.xsl libfo-compat.c.tmpl > libfo-compat.c \ && echo timestamp > $(@F) EXTRA_DIST = \ libfo-compat.c.tmpl CLEANFILES = \ libfo-compat.c \ s-libfo-compat-c xmlroff-0.6.2/libfo/Makefile.in0000644000175000017500000010762311155246037013272 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libfo DIST_COMMON = $(am__libfoinclude_HEADERS_DIST) \ $(libfo_0_6_include_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" \ "$(DESTDIR)$(libfo_0_6_includedir)" \ "$(DESTDIR)$(libfoincludedir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = libfo_0_6_la_DEPENDENCIES = util/libfo-util.la area/libfo-area.la \ expr/libfo-expr.la fo/libfo-fo.la datatype/libfo-datatype.la \ property/libfo-property.la property/libfo-text-property.la \ libfo-libfo.la libfo-fodoc.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__objects_1 = am__objects_2 = fo-object.lo fo-node.lo am__objects_3 = fo-context.lo fo-context-util.lo am_libfo_0_6_la_OBJECTS = $(am__objects_1) $(am__objects_2) \ $(am__objects_3) area-to-pdf.lo libfo-version.lo libfo_0_6_la_OBJECTS = $(am_libfo_0_6_la_OBJECTS) libfo_fodoc_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__libfo_fodoc_la_SOURCES_DIST = fo-doc-cairo.h \ fo-doc-cairo-private.h fo-layout-cairo.h \ fo-layout-cairo-private.h fo-doc-cairo.c fo-layout-cairo.c \ fo-doc-gp.h fo-doc-gp-private.h fo-layout-gp.h \ fo-layout-gp-private.h fo-doc-gp.c fo-layout-gp.c fo-doc.h \ fo-doc-private.h fo-doc.c fo-doc-commands.h @ENABLE_CAIRO_TRUE@am__objects_4 = $(am__objects_1) \ @ENABLE_CAIRO_TRUE@ libfo_fodoc_la-fo-doc-cairo.lo \ @ENABLE_CAIRO_TRUE@ libfo_fodoc_la-fo-layout-cairo.lo @ENABLE_GP_TRUE@am__objects_5 = $(am__objects_1) \ @ENABLE_GP_TRUE@ libfo_fodoc_la-fo-doc-gp.lo \ @ENABLE_GP_TRUE@ libfo_fodoc_la-fo-layout-gp.lo am__objects_6 = $(am__objects_1) $(am__objects_1) am_libfo_fodoc_la_OBJECTS = $(am__objects_4) $(am__objects_5) \ $(am__objects_6) libfo_fodoc_la-fo-doc.lo libfo_fodoc_la_OBJECTS = $(am_libfo_fodoc_la_OBJECTS) libfo_libfo_la_LIBADD = am_libfo_libfo_la_OBJECTS = $(am__objects_1) fo-font-desc.lo \ fo-layout.lo fo-libfo-basic.lo fo-libfo-context.lo \ fo-libfo-module.lo fo-xml-doc.lo fo-xml-node.lo \ fo-xslt-transformer.lo fo-xsl-formatter.lo libfo-compat.lo \ libfo-pango.lo libfo_libfo_la_OBJECTS = $(am_libfo_libfo_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libfo_0_6_la_SOURCES) $(libfo_fodoc_la_SOURCES) \ $(libfo_libfo_la_SOURCES) DIST_SOURCES = $(libfo_0_6_la_SOURCES) \ $(am__libfo_fodoc_la_SOURCES_DIST) $(libfo_libfo_la_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive libfo_0_6_includeHEADERS_INSTALL = $(INSTALL_HEADER) am__libfoinclude_HEADERS_DIST = fo-doc-cairo.h fo-doc-cairo-private.h \ fo-layout-cairo.h fo-layout-cairo-private.h fo-doc-gp.h \ fo-doc-gp-private.h fo-layout-gp.h fo-layout-gp-private.h \ fo-doc.h fo-doc-private.h fo-utils.h fo-font-desc.h \ fo-font-desc-private.h fo-layout.h fo-layout-private.h \ fo-libfo.h fo-libfo-basic.h fo-libfo-context.h \ fo-libfo-module.h fo-libfo-module-private.h \ fo-xml-doc-private.h fo-xml-doc.h fo-xml-node-private.h \ fo-xml-node.h fo-xsl-formatter.h fo-xslt-transformer.h \ libfo-compat.h libfoincludeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(libfo_0_6_include_HEADERS) $(libfoinclude_HEADERS) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = area fo datatype property expr util . INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(LIBXSLT_CFLAGS) \ $(LIBRSVG_CFLAGS) \ $(PANGO_CFLAGS) LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ BUILT_SOURCES = libfo-features.h noinst_LTLIBRARIES = libfo-libfo.la libfo-fodoc.la lib_LTLIBRARIES = libfo-0.6.la @ENABLE_GP_FALSE@GP_headers = @ENABLE_GP_TRUE@GP_headers = fo-doc-gp.h fo-doc-gp-private.h fo-layout-gp.h fo-layout-gp-private.h @ENABLE_GP_FALSE@GP_sources = @ENABLE_GP_TRUE@GP_sources = $(GP_headers) fo-doc-gp.c fo-layout-gp.c @ENABLE_CAIRO_FALSE@CAIRO_headers = @ENABLE_CAIRO_TRUE@CAIRO_headers = fo-doc-cairo.h fo-doc-cairo-private.h fo-layout-cairo.h fo-layout-cairo-private.h @ENABLE_CAIRO_FALSE@CAIRO_sources = @ENABLE_CAIRO_TRUE@CAIRO_sources = $(CAIRO_headers) fo-doc-cairo.c fo-layout-cairo.c libfo_headers = \ fo-utils.h \ fo-font-desc.h \ fo-font-desc-private.h \ fo-layout.h \ fo-layout-private.h \ fo-libfo.h \ fo-libfo-basic.h \ fo-libfo-context.h \ fo-libfo-module.h \ fo-libfo-module-private.h \ fo-xml-doc-private.h \ fo-xml-doc.h \ fo-xml-node-private.h \ fo-xml-node.h \ fo-xsl-formatter.h \ fo-xslt-transformer.h \ libfo-compat.h fodoc_headers = \ $(CAIRO_headers) \ $(GP_headers) \ fo-doc.h \ fo-doc-private.h libfoinclude_HEADERS = \ $(fodoc_headers) \ $(libfo_headers) libfoincludedir = $(includedir)/libfo-0.6/libfo libfo_libfo_la_SOURCES = \ $(libfo_headers) \ fo-font-desc.c \ fo-layout.c \ fo-libfo-basic.c \ fo-libfo-context.c \ fo-libfo-module.c \ fo-xml-doc.c \ fo-xml-node.c \ fo-xslt-transformer.c \ fo-xsl-formatter.c \ libfo-compat.c \ libfo-pango.c \ libfo-pango.h libfo_fodoc_la_SOURCES = \ $(CAIRO_sources) \ $(GP_sources) \ $(fodoc_headers) \ fo-doc.c \ fo-doc-commands.h libfo_fodoc_la_CFLAGS = $(PANGO_CFLAGS) $(GNOMEPRINT_CFLAGS) $(GDKPIXBUF_CFLAGS) libfo_fodoc_la_LIBADD = $(PANGO_LIBS) $(GNOMEPRINT_LIBS) $(GDKPIXBUF_LIBS) fo_context_cfiles = \ fo-context.c \ fo-context-private.h \ fo-context-util.c \ fo-context-util.h fo_base_cfiles = \ fo-object.c \ fo-node.c \ fo-node-private.h libfo_0_6_la_LDFLAGS = \ -version-info $(LT_VERSION_INFO) \ $(no_undefined) libfo_0_6_includedir = $(includedir)/libfo-0.6/libfo libfo_0_6_include_HEADERS = \ fo-object.h \ fo-node.h \ fo-context.h \ libfo-features.h \ libfo-version.h libfo_0_6_la_SOURCES = \ $(libfo_0_6_include_HEADERS) \ $(fo_base_cfiles) \ $(fo_context_cfiles) \ area-to-pdf.c \ area-to-pdf.h \ libfo-version.c libfo_0_6_la_LIBADD = \ util/libfo-util.la \ area/libfo-area.la \ expr/libfo-expr.la \ fo/libfo-fo.la \ datatype/libfo-datatype.la \ property/libfo-property.la \ property/libfo-text-property.la \ libfo-libfo.la \ libfo-fodoc.la \ $(LIBRSVG_LIBS) \ $(PANGO_LIBS) \ $(GNOMEPRINT_LIBS) \ $(LIBXSLT_LIBS) \ $(FREETYPE_LIBS) EXTRA_DIST = \ libfo-compat.c.tmpl CLEANFILES = \ libfo-compat.c \ s-libfo-compat-c all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libfo/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu libfo/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libfo-0.6.la: $(libfo_0_6_la_OBJECTS) $(libfo_0_6_la_DEPENDENCIES) $(LINK) -rpath $(libdir) $(libfo_0_6_la_LDFLAGS) $(libfo_0_6_la_OBJECTS) $(libfo_0_6_la_LIBADD) $(LIBS) libfo-fodoc.la: $(libfo_fodoc_la_OBJECTS) $(libfo_fodoc_la_DEPENDENCIES) $(LINK) $(libfo_fodoc_la_LDFLAGS) $(libfo_fodoc_la_OBJECTS) $(libfo_fodoc_la_LIBADD) $(LIBS) libfo-libfo.la: $(libfo_libfo_la_OBJECTS) $(libfo_libfo_la_DEPENDENCIES) $(LINK) $(libfo_libfo_la_LDFLAGS) $(libfo_libfo_la_OBJECTS) $(libfo_libfo_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/area-to-pdf.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-context-util.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-context.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-font-desc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-layout.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-libfo-basic.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-libfo-context.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-libfo-module.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-node.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-object.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-xml-doc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-xml-node.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-xsl-formatter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-xslt-transformer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo-compat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo-pango.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo-version.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_fodoc_la-fo-doc-cairo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_fodoc_la-fo-doc-gp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_fodoc_la-fo-doc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_fodoc_la-fo-layout-cairo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_fodoc_la-fo-layout-gp.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< libfo_fodoc_la-fo-doc-cairo.lo: fo-doc-cairo.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -MT libfo_fodoc_la-fo-doc-cairo.lo -MD -MP -MF "$(DEPDIR)/libfo_fodoc_la-fo-doc-cairo.Tpo" -c -o libfo_fodoc_la-fo-doc-cairo.lo `test -f 'fo-doc-cairo.c' || echo '$(srcdir)/'`fo-doc-cairo.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_fodoc_la-fo-doc-cairo.Tpo" "$(DEPDIR)/libfo_fodoc_la-fo-doc-cairo.Plo"; else rm -f "$(DEPDIR)/libfo_fodoc_la-fo-doc-cairo.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-doc-cairo.c' object='libfo_fodoc_la-fo-doc-cairo.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -c -o libfo_fodoc_la-fo-doc-cairo.lo `test -f 'fo-doc-cairo.c' || echo '$(srcdir)/'`fo-doc-cairo.c libfo_fodoc_la-fo-layout-cairo.lo: fo-layout-cairo.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -MT libfo_fodoc_la-fo-layout-cairo.lo -MD -MP -MF "$(DEPDIR)/libfo_fodoc_la-fo-layout-cairo.Tpo" -c -o libfo_fodoc_la-fo-layout-cairo.lo `test -f 'fo-layout-cairo.c' || echo '$(srcdir)/'`fo-layout-cairo.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_fodoc_la-fo-layout-cairo.Tpo" "$(DEPDIR)/libfo_fodoc_la-fo-layout-cairo.Plo"; else rm -f "$(DEPDIR)/libfo_fodoc_la-fo-layout-cairo.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-layout-cairo.c' object='libfo_fodoc_la-fo-layout-cairo.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -c -o libfo_fodoc_la-fo-layout-cairo.lo `test -f 'fo-layout-cairo.c' || echo '$(srcdir)/'`fo-layout-cairo.c libfo_fodoc_la-fo-doc-gp.lo: fo-doc-gp.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -MT libfo_fodoc_la-fo-doc-gp.lo -MD -MP -MF "$(DEPDIR)/libfo_fodoc_la-fo-doc-gp.Tpo" -c -o libfo_fodoc_la-fo-doc-gp.lo `test -f 'fo-doc-gp.c' || echo '$(srcdir)/'`fo-doc-gp.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_fodoc_la-fo-doc-gp.Tpo" "$(DEPDIR)/libfo_fodoc_la-fo-doc-gp.Plo"; else rm -f "$(DEPDIR)/libfo_fodoc_la-fo-doc-gp.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-doc-gp.c' object='libfo_fodoc_la-fo-doc-gp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -c -o libfo_fodoc_la-fo-doc-gp.lo `test -f 'fo-doc-gp.c' || echo '$(srcdir)/'`fo-doc-gp.c libfo_fodoc_la-fo-layout-gp.lo: fo-layout-gp.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -MT libfo_fodoc_la-fo-layout-gp.lo -MD -MP -MF "$(DEPDIR)/libfo_fodoc_la-fo-layout-gp.Tpo" -c -o libfo_fodoc_la-fo-layout-gp.lo `test -f 'fo-layout-gp.c' || echo '$(srcdir)/'`fo-layout-gp.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_fodoc_la-fo-layout-gp.Tpo" "$(DEPDIR)/libfo_fodoc_la-fo-layout-gp.Plo"; else rm -f "$(DEPDIR)/libfo_fodoc_la-fo-layout-gp.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-layout-gp.c' object='libfo_fodoc_la-fo-layout-gp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -c -o libfo_fodoc_la-fo-layout-gp.lo `test -f 'fo-layout-gp.c' || echo '$(srcdir)/'`fo-layout-gp.c libfo_fodoc_la-fo-doc.lo: fo-doc.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -MT libfo_fodoc_la-fo-doc.lo -MD -MP -MF "$(DEPDIR)/libfo_fodoc_la-fo-doc.Tpo" -c -o libfo_fodoc_la-fo-doc.lo `test -f 'fo-doc.c' || echo '$(srcdir)/'`fo-doc.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_fodoc_la-fo-doc.Tpo" "$(DEPDIR)/libfo_fodoc_la-fo-doc.Plo"; else rm -f "$(DEPDIR)/libfo_fodoc_la-fo-doc.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-doc.c' object='libfo_fodoc_la-fo-doc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_fodoc_la_CFLAGS) $(CFLAGS) -c -o libfo_fodoc_la-fo-doc.lo `test -f 'fo-doc.c' || echo '$(srcdir)/'`fo-doc.c mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-libfo_0_6_includeHEADERS: $(libfo_0_6_include_HEADERS) @$(NORMAL_INSTALL) test -z "$(libfo_0_6_includedir)" || $(mkdir_p) "$(DESTDIR)$(libfo_0_6_includedir)" @list='$(libfo_0_6_include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(libfo_0_6_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libfo_0_6_includedir)/$$f'"; \ $(libfo_0_6_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libfo_0_6_includedir)/$$f"; \ done uninstall-libfo_0_6_includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(libfo_0_6_include_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(libfo_0_6_includedir)/$$f'"; \ rm -f "$(DESTDIR)$(libfo_0_6_includedir)/$$f"; \ done install-libfoincludeHEADERS: $(libfoinclude_HEADERS) @$(NORMAL_INSTALL) test -z "$(libfoincludedir)" || $(mkdir_p) "$(DESTDIR)$(libfoincludedir)" @list='$(libfoinclude_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(libfoincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libfoincludedir)/$$f'"; \ $(libfoincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libfoincludedir)/$$f"; \ done uninstall-libfoincludeHEADERS: @$(NORMAL_UNINSTALL) @list='$(libfoinclude_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(libfoincludedir)/$$f'"; \ rm -f "$(DESTDIR)$(libfoincludedir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libfo_0_6_includedir)" "$(DESTDIR)$(libfoincludedir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-recursive clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ clean-noinstLTLIBRARIES mostlyclean-am distclean: distclean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-libfo_0_6_includeHEADERS \ install-libfoincludeHEADERS install-exec-am: install-libLTLIBRARIES install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \ uninstall-libfo_0_6_includeHEADERS \ uninstall-libfoincludeHEADERS uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libLTLIBRARIES clean-libtool \ clean-noinstLTLIBRARIES clean-recursive ctags ctags-recursive \ distclean distclean-compile distclean-generic \ distclean-libtool distclean-recursive distclean-tags distdir \ dvi dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-libLTLIBRARIES \ install-libfo_0_6_includeHEADERS install-libfoincludeHEADERS \ install-man install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-info-am \ uninstall-libLTLIBRARIES uninstall-libfo_0_6_includeHEADERS \ uninstall-libfoincludeHEADERS libfo-features.h: cd $(top_builddir) && ./config.status libfo/libfo-features.h libfo-compat.c: s-libfo-compat-c @true s-libfo-compat-c: ../libfo-compat.xsl libfo-compat.c.tmpl ../tools/insert-file-as-string.pl $(PERL) ../tools/insert-file-as-string.pl --file ../libfo-compat.xsl libfo-compat.c.tmpl > libfo-compat.c \ && echo timestamp > $(@F) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/libfo/fo-object.c0000644000175000017500000004157111034373331013232 00000000000000/* Fo * fo-object.c: Base object of formatting object system * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-object.h" /** * SECTION:fo-object * @short_description: libfo base object type * * Top of the object hierarchy for libfo. * * Extends #GObject to add some common debugging and logging * functions. */ static void fo_object_base_class_init (FoObjectClass *klass); static void fo_object_class_init (FoObjectClass *klass); static void fo_object_finalize (GObject *object); static void fo_object_debug_dump_default (FoObject *object, gint depth); static gchar* fo_object_debug_sprintf_default (FoObject *object); static gchar* fo_object_sprintf_default (FoObject *object); static void fo_object_log_error_default (FoObject *object, GError **error); static void fo_object_log_warning_default (FoObject *object, GError **warning); static void fo_object_log_debug_default (FoObject *object, GError **warning); static gboolean fo_object_log_or_propagate_error_default (FoObject *fo_object, GError **dest, GError *src); static gboolean fo_object_maybe_propagate_error_default (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error); static guint fo_object_hash_func_default (gconstpointer key); static gboolean fo_object_equal_func_default (gconstpointer a, gconstpointer b); static gpointer parent_class; /** * fo_object_get_type: * * Register the #FoObject object type. * * Return value: #GType value of the #FoObject object type. **/ GType fo_object_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoObjectClass), (GBaseInitFunc) fo_object_base_class_init, NULL, /* base_finalize */ (GClassInitFunc) fo_object_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoObject), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (G_TYPE_OBJECT, "FoObject", &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_object_base_init: * @klass: #FoObjectClass object to initialise. * * Implements #GClassBaseInit for #FoObjectClass. **/ void fo_object_base_class_init (FoObjectClass *klass) { klass->debug_dump = fo_object_debug_dump_default; klass->debug_sprintf = fo_object_debug_sprintf_default; klass->print_sprintf = fo_object_sprintf_default; klass->log_error = fo_object_log_error_default; klass->log_warning = fo_object_log_warning_default; klass->log_debug = fo_object_log_debug_default; klass->log_or_propagate_error = fo_object_log_or_propagate_error_default; klass->maybe_propagate_error = fo_object_maybe_propagate_error_default; klass->hash_func = fo_object_hash_func_default; klass->equal_func = fo_object_equal_func_default; } /** * fo_object_class_init: * @klass: #FoObjectClass object to initialise. * * Implements #GClassInitFunc for #FoObjectClass. **/ void fo_object_class_init (FoObjectClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_object_finalize; } /** * fo_object_finalize: * @object: #FoObject object to finalize. * * Implements #GObjectFinalizeFunc for #FoObject. **/ void fo_object_finalize (GObject *object) { FoObject *fo_object; fo_object = FO_OBJECT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_object_new: * * Creates a new #FoObject initialized to default value. * * Return value: the new #FoObject. **/ FoObject * fo_object_new (void) { FoObject *object; object = FO_OBJECT (g_object_new (fo_object_get_type (), NULL)); return object; } /** * fo_object_debug_dump: * @object: The #FoObject object. * @depth: Indent level to add to the output. * * Calls debug_dump method of class of @object, if @object is an * #FoObject or descendant type of #FoObject. **/ void fo_object_debug_dump (gpointer object, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); if (object == NULL) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s(null)", indent); } else if (!G_IS_OBJECT (object)) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sNot a GObject: %p", indent, object); } else if (!FO_IS_OBJECT (object)) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sGObject but not an FoObject:: %s (%p : %d)", indent, g_type_name (G_TYPE_FROM_INSTANCE (object)), object, ((GObject *) object)->ref_count); } else { FO_OBJECT_GET_CLASS (object)->debug_dump (FO_OBJECT (object), depth); } g_free (indent); } /** * fo_object_debug_sprintf: * @object: The #FoObject object. * * Calls debug_sprintf method of class of @object, if @object is an * #FoObject or descendant type of #FoObject. * * Return value: Result of debug_sprintf method of class of @object. **/ gchar* fo_object_debug_sprintf (gpointer object) { if (object == NULL) { return g_strdup ("(null)"); } else if (!G_IS_OBJECT (object)) { return g_strdup_printf ("Not a GObject: %p", object); } else if (!FO_IS_OBJECT (object)) { return g_strdup_printf ("GObject but not an FoObject:: %s (%p : %d)", g_type_name (G_TYPE_FROM_INSTANCE (object)), object, ((GObject *) object)->ref_count); } else { return FO_OBJECT_GET_CLASS (object)->debug_sprintf (FO_OBJECT (object)); } } /** * fo_object_sprintf: * @object: The #FoObject object. * * Calls sprintf method of class of @object, if @object is an * #FoObject or descendant type of #FoObject. * * Return value: Result of sprintf method of class of @object. **/ gchar* fo_object_sprintf (gpointer object) { if (object == NULL) { return g_strdup ("(null)"); } else if (!G_IS_OBJECT (object)) { return g_strdup_printf ("Not a GObject: %p", object); } else if (!FO_IS_OBJECT (object)) { return g_strdup_printf ("GObject but not an FoObject:: %s (%p : %d)", g_type_name (G_TYPE_FROM_INSTANCE (object)), object, ((GObject *) object)->ref_count); } else { return FO_OBJECT_GET_CLASS (object)->print_sprintf (object); } } /** * fo_object_debug_dump_default: * @object: The #FoObject object. * @depth: Indent level to add to the output. * * Default debug_dump method. * * Return value: Result of debug_sprintf method of class of @object. **/ void fo_object_debug_dump_default (FoObject *object, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar *object_sprintf; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_OBJECT (object)); object_sprintf = fo_object_debug_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); g_free (indent); } /** * fo_object_debug_sprintf_default: * @object: The #FoObject object. * * Default debug_sprintf method. * * Return value: Type name, address, and reference count of @object. **/ gchar* fo_object_debug_sprintf_default (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_OBJECT (object), NULL); if (object == NULL) { return g_strdup ("(null)"); } else { return g_strdup_printf ("%s (%p : %d)", g_type_name (G_TYPE_FROM_INSTANCE (object)), object, ((GObject *) object)->ref_count); } } /** * fo_object_sprintf_default: * @object: The #FoObject object. * * Default sprintf method. * * Return value: Text warning that @object does not have a 'sprintf' function. **/ gchar* fo_object_sprintf_default (FoObject *object) { return g_strdup_printf ("%s has no 'sprintf' function.", g_type_name (G_TYPE_FROM_INSTANCE (object))); } /** * fo_object_log_error_default: * @object: #FoObject that is subject of @error. * @error: #GError with information about error that occurred. * * Logs a "critical warning" about @error. * * Clears @error. **/ void fo_object_log_error_default (FoObject *object, GError **error) { g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_OBJECT (object)); g_critical ("%s: %s", g_quark_to_string ((*error)->domain), (*error)->message); g_clear_error (error); } /** * fo_object_log_error: * @object: #FoObject that is subject of @error. * @error: #GError with information about error that occurred. * * Calls the 'log_error' method of the class of @object. * * The called method clears @error. **/ void fo_object_log_error (FoObject *object, GError **error) { g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_OBJECT (object)); g_return_if_fail (error != NULL); FO_OBJECT_GET_CLASS (object)->log_error (object, error); } /** * fo_object_log_warning_default: * @object: #FoObject that is subject of @error. * @warning: #GError with information about warning that occurred. * * Logs a "warning" about @error. * * Clears @error. **/ void fo_object_log_warning_default (FoObject *object, GError **warning) { g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_OBJECT (object)); g_warning ("Warning: %s: %s", g_quark_to_string ((*warning)->domain), (*warning)->message); g_clear_error (warning); } /** * fo_object_log_warning: * @object: #FoObject that is subject of @error. * @warning: #GError with information about warning that occurred. * * Calls the 'log_warning' method of the class of @object. * * The called method clears @error. **/ void fo_object_log_warning (FoObject *object, GError **warning) { g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_OBJECT (object)); g_return_if_fail (warning != NULL); FO_OBJECT_GET_CLASS (object)->log_warning (object, warning); } /** * fo_object_log_debug_default: * @object: #FoObject that is subject of @error. * @debug: #GError with debugging information. * * Logs a "debug" message about @error. * * Clears @error. **/ void fo_object_log_debug_default (FoObject *object, GError **debug) { g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_OBJECT (object)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Debug: %s: %s", g_quark_to_string ((*debug)->domain), (*debug)->message); g_clear_error (debug); } /** * fo_object_log_debug: * @object: #FoObject that is subject of @error. * @debug: #GError with debugging information. * * Calls the 'log_debug' method of the class of @object. * * The called method clears @error. **/ void fo_object_log_debug (FoObject *object, GError **debug) { g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_OBJECT (object)); g_return_if_fail (debug != NULL); FO_OBJECT_GET_CLASS (object)->log_debug (object, debug); } /** * fo_object_log_or_propagate_error_default: * @fo_object: #FoObject that is the subject of @src. * @dest: #GError to which to propagate @src, or NULL. * @src: #GError with information about error that occurred. * * If can propagate @src to @dest, do so, otherwise log @src using * fo_object_log_error(). * * Return value: %TRUE if error propagated, otherwise %FALSE. **/ gboolean fo_object_log_or_propagate_error_default (FoObject *fo_object, GError **dest, GError *src) { g_return_val_if_fail (FO_IS_OBJECT (fo_object), TRUE); g_return_val_if_fail (dest == NULL || *dest == NULL, TRUE); g_return_val_if_fail (src != NULL, TRUE); if (dest != NULL) { g_propagate_error (dest, src); return TRUE; } else { fo_object_log_error (fo_object, &src); return FALSE; } } /** * fo_object_log_or_propagate_error: * @fo_object: #FoObject that is the subject of @src. * @dest: #GError to which to propagate @src, or NULL. * @src: #GError with information about error that occurred. * * If can propagate @src to @dest, do so, otherwise log @src using * fo_object_log_error(). * * Return value: %TRUE if error propagated, otherwise %FALSE. **/ gboolean fo_object_log_or_propagate_error (FoObject *fo_object, GError **dest, GError *src) { g_return_val_if_fail (FO_IS_OBJECT (fo_object), TRUE); g_return_val_if_fail (dest == NULL || *dest == NULL, TRUE); g_return_val_if_fail (src != NULL, TRUE); return FO_OBJECT_GET_CLASS (fo_object)->maybe_propagate_error (fo_object, dest, src, FALSE); } /** * fo_object_maybe_propagate_error_default: * @fo_object: #FoObject that is the subject of @src. * @dest: #GError to which to propagate @src, or NULL. * @src: #GError with information about error that occurred. * @continue_after_error: Whether or not to continue after an error. * * If @continue_after_error is %FALSE and can propagate @src to @dest, * then do so, otherwise log @src using fo_object_log_error(). * * Return value: %TRUE if error propagated, otherwise %FALSE. **/ gboolean fo_object_maybe_propagate_error_default (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error) { g_return_val_if_fail (FO_IS_OBJECT (fo_object), TRUE); g_return_val_if_fail (dest == NULL || *dest == NULL, TRUE); g_return_val_if_fail (src != NULL, TRUE); if ((continue_after_error == FALSE) && (dest != NULL)) { g_propagate_error (dest, src); return TRUE; } else { fo_object_log_error (fo_object, &src); return FALSE; } } /** * fo_object_maybe_propagate_error: * @fo_object: #FoObject that is the subject of @src. * @dest: #GError to which to propagate @src, or NULL. * @src: #GError with information about error that occurred. * @continue_after_error: Whether or not to continue after an error. * * If @continue_after_error is %FALSE and can propagate @src to @dest, * then do so, otherwise log @src using fo_object_log_error(). * * Return value: %TRUE if error propagated, otherwise %FALSE. **/ gboolean fo_object_maybe_propagate_error (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error) { g_return_val_if_fail (FO_IS_OBJECT (fo_object), TRUE); g_return_val_if_fail (dest == NULL || *dest == NULL, TRUE); g_return_val_if_fail (src != NULL, TRUE); return FO_OBJECT_GET_CLASS (fo_object)->maybe_propagate_error (fo_object, dest, src, continue_after_error); } /** * fo_object_hash_func_default: * @key: Pointer to object to hash. * * Default 'hash_func' which just returns object's address. * * Return value: Hash code for object. **/ guint fo_object_hash_func_default (gconstpointer key) { return g_direct_hash(key); } /** * fo_object_equal_func_default: * @a: First object to compare. * @b: Second object to compare. * * Default 'equal_func' which just compares object addresses. * * Return value: %TRUE if objects are equal. **/ gboolean fo_object_equal_func_default (gconstpointer a, gconstpointer b) { return g_direct_equal(a, b); } /** * fo_object_hash: * @object: #FoObject for which to get hash value. * @error: #GError with information about error that occurred. * * Create a hash code for the object. * * Return value: Hash code for the object. **/ guint fo_object_hash (FoObject *object, GError **error G_GNUC_UNUSED) { g_return_val_if_fail (object != NULL, 0); g_return_val_if_fail (FO_IS_OBJECT (object), 0); return FO_OBJECT_GET_CLASS (object)->hash_func (object); } /** * fo_object_equal: * @a: First object to compare. * @b: Second object to compare. * @error: #GError with information about error that occurred. * * Compare @a to @b using the 'equal_func' of the class of @a. * * Return value: %TRUE if the objects are equal. **/ gboolean fo_object_equal (FoObject *a, FoObject *b, GError **error G_GNUC_UNUSED) { g_return_val_if_fail (a != NULL, FALSE); g_return_val_if_fail (FO_IS_OBJECT (a), FALSE); g_return_val_if_fail (b != NULL, FALSE); g_return_val_if_fail (FO_IS_OBJECT (b), FALSE); return FO_OBJECT_GET_CLASS (a)->equal_func (a, b); } xmlroff-0.6.2/libfo/fo-node.c0000644000175000017500000010705411034373153012712 00000000000000/* Fo * fo-node.c: Base class for objects that are nodes in a tree * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-node.h" #include "fo-node-private.h" /** * SECTION:fo-node * @short_description: Object for making trees * * #FoObject child type that makes trees. */ enum { PROP_0, PROP_PARENT, PROP_NEXT_SIBLING, PROP_FIRST_CHILD }; static void fo_node_init (FoNode *object); static void fo_node_base_class_init (FoNodeClass *klass); static void fo_node_class_init (FoNodeClass *klass); static void fo_node_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_node_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_node_finalize (GObject *object); static void fo_node_debug_dump (FoObject *object, gint depth); static gchar* fo_node_sprintf (FoObject *object); static FoNode* fo_node_insert_default (FoNode *parent, gint position, FoNode *fo_node); static FoNode* fo_node_insert_before_default (FoNode *parent, FoNode *sibling, FoNode *fo_node); static FoNode* fo_node_insert_after_default (FoNode *parent, FoNode *sibling, FoNode *fo_node); static void fo_node_unlink_with_next_siblings_default (FoNode *fo_node); static FoNode* fo_node_insert_with_next_siblings_default (FoNode *parent, gint position, FoNode *fo_node); static FoNode* fo_node_prepend_default (FoNode *parent, FoNode *fo_node); static FoNode* fo_node_append_default (FoNode *parent, FoNode *fo_node); static void fo_node_log_warning (FoObject *object, GError **warning); static void fo_node_log_error (FoObject *object, GError **error); static gboolean fo_node_log_or_propagate_error (FoObject *fo_object, GError **dest, GError *src); static gboolean fo_node_maybe_propagate_error (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error); static gpointer parent_class; /** * fo_node_get_type: * * Register the #FoNode object type. * * Return value: #GType value of the #FoNode object type. **/ GType fo_node_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoNodeClass), (GBaseInitFunc) fo_node_base_class_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_node_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoNode), 0, /* n_preallocs */ (GInstanceInitFunc) fo_node_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoNode", &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_node_init: * @fo_node: #FoNode object to initialise. * * Implements #GInstanceInitFunc for #FoNode. **/ void fo_node_init (FoNode *object) { object->node = g_node_new ((gpointer *) object); } /** * fo_node_base_class_init: * @klass: #FoNodeClass base class object to initialise. * * Implements #GBaseInitFunc for #FoNodeClass. **/ void fo_node_base_class_init (FoNodeClass *klass) { FoObjectClass *fo_object_class = FO_OBJECT_CLASS (klass); fo_object_class->debug_dump = fo_node_debug_dump; fo_object_class->print_sprintf = fo_node_sprintf; fo_object_class->log_warning = fo_node_log_warning; fo_object_class->log_error = fo_node_log_error; fo_object_class->log_or_propagate_error = fo_node_log_or_propagate_error; fo_object_class->maybe_propagate_error = fo_node_maybe_propagate_error; klass->insert = fo_node_insert_default; klass->insert_before = fo_node_insert_before_default; klass->insert_after = fo_node_insert_after_default; klass->insert_with_next_siblings = fo_node_insert_with_next_siblings_default; klass->unlink_with_next_siblings = fo_node_unlink_with_next_siblings_default; klass->prepend = fo_node_prepend_default; klass->append = fo_node_append_default; } /** * fo_node_class_init: * @klass: #FoNodeClass object to initialise. * * Implements #GClassInitFunc for #FoNodeClass. **/ void fo_node_class_init (FoNodeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_node_finalize; object_class->set_property = fo_node_set_property; object_class->get_property = fo_node_get_property; g_object_class_install_property (object_class, PROP_PARENT, g_param_spec_object ("parent", _("parent node"), _("Parent node in the node tree"), FO_TYPE_NODE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_NEXT_SIBLING, g_param_spec_object ("next-sibling", _("Next sibling node"), _("Next sibling node in the node tree"), FO_TYPE_NODE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FIRST_CHILD, g_param_spec_object ("first-child", _("first child node"), _("First child node in the node tree"), FO_TYPE_NODE, G_PARAM_READABLE)); } /** * fo_node_finalize: * @object: #FoNode object to finalize. * * Implements #GObjectFinalizeFunc for #FoNode. **/ void fo_node_finalize (GObject *object) { FoNode *node; node = FO_NODE (object); /* Node should already be removed from the FoNode tree, since this destroys the GNode subtree remaining under node */ g_node_destroy (node->node); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_node_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: #GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoNode. **/ void fo_node_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec) { FoNode *fo_node = FO_NODE (object); switch (param_id) { case PROP_PARENT: g_value_set_object (value, G_OBJECT (fo_node_parent (fo_node))); break; case PROP_NEXT_SIBLING: g_value_set_object (value, G_OBJECT (fo_node_next_sibling (fo_node))); break; case PROP_FIRST_CHILD: g_value_set_object (value, G_OBJECT (fo_node_first_child (fo_node))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_node_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoNode. **/ void fo_node_set_property (GObject *object, guint param_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { switch (param_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_node_new: * * Creates a new #FoNode initialized to default value. * * Return value: the new #FoNode **/ FoNode * fo_node_new (void) { FoNode *object; object = FO_NODE (g_object_new (fo_node_get_type (), NULL)); return object; } /** * fo_node_debug_dump: * @object: #FoObject to be dumped. * @depth: Relative indent to add to the output. * * Implements #FoObject debug_dump method for #FoNode. **/ void fo_node_debug_dump (FoObject *object, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar* object_sprintf; FoNode *child; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_NODE (object)); object_sprintf = fo_object_debug_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); g_free (indent); FO_NODE_GET_CLASS (object)->debug_dump_properties (FO_NODE (object), depth + 2); child = fo_node_first_child (FO_NODE (object)); while (child) { fo_object_debug_dump (child, depth + 1); child = fo_node_next_sibling (child); } } /** * fo_node_debug_dump_tree: * @fo_node: #FoNode to be dumped. * @depth: Relative indent to add to the output. * * Logs the tree structure beginning at @fo_node. **/ void fo_node_debug_dump_tree (FoNode *fo_node, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar* fo_node_sprintf; FoNode *child; g_return_if_fail (fo_node != NULL); g_return_if_fail (FO_IS_NODE (fo_node)); fo_node_sprintf = fo_object_debug_sprintf (fo_node); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, fo_node_sprintf); g_free (fo_node_sprintf); g_free (indent); child = fo_node_first_child (fo_node); while (child) { fo_node_debug_dump_tree (child, depth + 1); child = fo_node_next_sibling (child); } } /** * fo_node_sprintf: * @object: #FoNode to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_node_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_NODE (object), NULL); return (g_strdup_printf("%s", g_type_name (G_TYPE_FROM_INSTANCE (object)))); } /** * fo_node_get_ancestor_or_self_by_type: * @node: #FoNode at which to begin. * @type: Required #GType of ancestor node. * * Find the nearest ancestor node, or @node itself, with the same * #GType as @type. * * Does not change the ref count of any node. * * Return value: #FoNode ancestor (or self) with required #GType, or NULL. **/ FoNode* fo_node_get_ancestor_or_self_by_type (FoNode *node, const GType type) { FoNode *use_node; g_return_val_if_fail (FO_IS_NODE (node), NULL); if (type != 0) { use_node = node; while (use_node && !g_type_is_a (G_TYPE_FROM_INSTANCE (use_node), type)) { use_node = fo_node_parent (use_node); } } else { use_node = NULL; } return use_node; } /** * fo_node_get_ancestor_or_self_by_name: * @node: #FoNode at which to begin. * @name: Required name of ancestor node. * * Find the nearest ancestor node, or @node itself, with the same * name as @name. * * Does not change the ref count of any node. * * Return value: #FoNode ancestor (or self) with required #GType, or NULL. **/ FoNode* fo_node_get_ancestor_or_self_by_name (FoNode *node, const gchar *name) { GType type; g_return_val_if_fail (FO_IS_NODE (node), NULL); g_return_val_if_fail (name != NULL, NULL); type = g_type_from_name (name); return fo_node_get_ancestor_or_self_by_type (node, type); } /** * fo_node_get_child_by_type: * @node: #FoNode that is parent of nodes to be tested for matching #GType. * @type: #GType value. * * Find the first child of @node with #GType matching @type value. * * Does not change the ref count of any node. * * Allows 0 as value of @type since may have been called by * #fo_node_get_child_by_name for a type that has yet to be * instantiated. Of course, if @type is 0, this function returns * NULL. * * Return value: First child of specified type, or NULL. **/ FoNode* fo_node_get_child_by_type (FoNode *node, const GType type) { FoNode *child = NULL; g_return_val_if_fail (FO_IS_NODE (node), NULL); if (type != 0) { child = fo_node_first_child (node); while (child && G_TYPE_FROM_INSTANCE (child) != type) { child = fo_node_next_sibling (child); } return child; } else { return NULL; } } /** * fo_node_get_child_by_name: * @node: #FoNode that is parent of nodes to be tested for type name. * @name: Name of type. * * Find the first child of @node with type name matching @name value. * * Does not change the ref count of any node. * * Return value: First child of specified type, or NULL. **/ FoNode* fo_node_get_child_by_name (FoNode *node, const gchar *name) { GType type; g_return_val_if_fail (FO_IS_NODE (node), NULL); g_return_val_if_fail (name != NULL, NULL); type = g_type_from_name (name); return fo_node_get_child_by_type (node, type); } /** * fo_node_dump_path_to_root: * @node: #FoNode for which to dump path to root. * * Dumps (i.e., logs messages with 'DEBUG' severity) the node path * from @node to the root of the #FoNode tree containing @node. **/ void fo_node_dump_path_to_root (FoNode *node) { FoNode *use_node; gint depth = 0; gchar *indent, *object_sprintf; use_node = node; while (!FO_NODE_IS_ROOT (use_node)) { indent = g_strnfill (2 * depth++, ' '); object_sprintf = fo_object_debug_sprintf (use_node); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); g_free (indent); use_node = fo_node_parent (use_node); } } /** * fo_node_insert_default: * @parent: The #FoNode to place @fo_node under. * @position: The position to place @fo_node at, with respect to its * siblings. If @position is -1, @fo_node is inserted as * the last child of @parent. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode beneath the parent at the given position. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_insert_default (FoNode *parent, gint position, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return ((FoNode *) g_node_insert (parent->node, position, fo_node->node)->data); } /** * fo_node_insert: * @parent: The #FoNode to place @fo_node under. * @position: The position to place @fo_node at, with respect to its * siblings. If @position is -1, @fo_node is inserted as * the last child of @parent. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode beneath the parent at the given position. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_insert (FoNode *parent, gint position, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return FO_NODE_GET_CLASS (parent)->insert (parent, position, fo_node); } /** * fo_node_insert_before_default: * @parent: The #FoNode to place @fo_node under. * @sibling: The sibling #FoNode to place @fo_node before. If * @sibling is NULL, @fo_node is inserted as the last child * of @parent. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode beneath the parent before the given sibling. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_insert_before_default (FoNode *parent, FoNode *sibling, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (sibling == NULL || FO_IS_NODE (sibling), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return ((FoNode *) g_node_insert_before (parent->node, sibling->node, fo_node->node)->data); } /** * fo_node_insert_before: * @parent: The #FoNode to place @fo_node under. * @sibling: The sibling #FoNode to place @fo_node before. If * @sibling is NULL, @fo_node is inserted as the last child * of @parent. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode beneath the parent before the given sibling. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_insert_before (FoNode *parent, FoNode *sibling, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (sibling == NULL || FO_IS_NODE (sibling), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return FO_NODE_GET_CLASS (parent)->insert_before (parent, sibling, fo_node); } /** * fo_node_insert_after_default: * @parent: The #FoNode to place @fo_node under. * @sibling: The sibling #FoNode to place @fo_node after. If * @sibling is NULL, @fo_node is inserted as the first child * of @parent. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode beneath the parent after the given sibling. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_insert_after_default (FoNode *parent, FoNode *sibling, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (sibling == NULL || FO_IS_NODE (sibling), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return ((FoNode *) g_node_insert_after (parent->node, sibling->node, fo_node->node)->data); } /** * fo_node_insert_after: * @parent: The #FoNode to place @fo_node under. * @sibling: The sibling #FoNode to place @fo_node after. If * @sibling is NULL, @fo_node is inserted as the first child * of @parent. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode beneath the parent after the given sibling. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_insert_after (FoNode *parent, FoNode *sibling, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (sibling == NULL || FO_IS_NODE (sibling), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return FO_NODE_GET_CLASS (parent)->insert_after (parent, sibling, fo_node); } /** * fo_node_prepend_default: * @parent: The #FoNode to place @fo_node under. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode as the first child of the given parent. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_prepend_default (FoNode *parent, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return ((FoNode *) g_node_prepend (parent->node, fo_node->node)->data); } /** * fo_node_prepend: * @parent: The #FoNode to place @fo_node under. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode as the first child of the given parent. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_prepend (FoNode *parent, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return FO_NODE_GET_CLASS (parent)->prepend (parent, fo_node); } /** * fo_node_append_default: * @parent: The #FoNode to place @fo_node under. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode as the last child of the given parent. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_append_default (FoNode *parent, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return ((FoNode *) g_node_append (parent->node, fo_node->node)->data); } /** * fo_node_append: * @parent: The #FoNode to place @fo_node under. * @fo_node: The #FoNode to insert. * * Inserts an #FoNode as the last child of the given parent. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_append (FoNode *parent, FoNode *fo_node) { g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return FO_NODE_GET_CLASS (parent)->append (parent, fo_node); } typedef struct _FoNodeFuncData { FoNodeForeachFunc func; gpointer node_func_data; } FoNodeFuncData; /** * fo_node_g_node_children_foreach_func: * @node: The #GNode for an #FoNode. * @data: #FoNodeFuncData with #FoNodeForeachFunc and 'real' user data. * * Calls the #FoNodeForeachFunc function with the #FoNode * corresponding to @node and the 'real' user data as arguments. **/ static void fo_node_g_node_children_foreach_func (GNode *node, gpointer data) { const FoNodeFuncData *fo_node_func_data = (FoNodeFuncData *) data; fo_node_func_data->func (node->data, fo_node_func_data->node_func_data); } /** * fo_node_children_foreach: * @fo_node: An #FoNode. * @flags: Which types of children are to be visited, one of * G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS. * @func: The function to call for each visited node. * @data: User data to pass to the function. * * Calls a function for each of the children of an #FoNode. Note that * it doesn't descend beneath the child nodes. **/ void fo_node_children_foreach (FoNode *fo_node, GTraverseFlags flags, FoNodeForeachFunc func, gpointer data) { FoNodeFuncData g_node_children_foreach_data = {func, data}; g_node_children_foreach (fo_node->node, flags, fo_node_g_node_children_foreach_func, &g_node_children_foreach_data); } typedef struct _FoNodeTraverseFuncData { FoNodeTraverseFunc func; gpointer node_func_data; } FoNodeTraverseFuncData; /** * fo_node_g_node_traverse_func: * @node: The #GNode for an #FoNode. * @data: #FoNodeFuncData with #FoNodeTraverseFunc and 'real' user data. * * Calls the #FoNodeTraverseFunc function with the #FoNode * corresponding to @node and the 'real' user data as arguments. * * Return value: The value returned by the #FoNodeTraverseFunc. **/ static gboolean fo_node_g_node_traverse_func (GNode *node, gpointer data) { const FoNodeTraverseFuncData *fo_node_traverse_func_data = (FoNodeTraverseFuncData *) data; return fo_node_traverse_func_data->func (node->data, fo_node_traverse_func_data->node_func_data); } /** * fo_node_traverse: * @root: The root #FoNode of the tree to traverse. * @order: The order in which nodes are visited - G_IN_ORDER, * G_PRE_ORDER, G_POST_ORDER, or G_LEVEL_ORDER. * @flags: Which types of children are to be visited, one of * G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS. * @max_depth: The maximum depth of the traversal. Nodes below this * depth will not be visited. If max_depth is -1 all nodes * in the tree are visited. If depth is 1, only the root * is visited. If depth is 2, the root and its children * are visited. And so on. * @func: The function to call for each visited GNode. * @data: User data to pass to the function. * * Traverses a tree starting at the given root #FoNode. It calls the * given function for each node visited. The traversal can be halted * at any point by returning %TRUE from @func. **/ void fo_node_traverse (FoNode *root, GTraverseType order, GTraverseFlags flags, gint max_depth, FoNodeTraverseFunc func, gpointer data) { FoNodeTraverseFuncData g_node_traverse_data = {func, data}; g_node_traverse (root->node, order, flags, max_depth, fo_node_g_node_traverse_func, &g_node_traverse_data); } /** * fo_node_next_sibling: * @fo_node: The #FoNode. * * Gets the next sibling #FoNode of @fo_node. * * Return value: The next sibling of @fo_node, or %NULL. **/ FoNode * fo_node_next_sibling (FoNode *fo_node) { g_return_val_if_fail (fo_node != NULL, NULL); g_return_val_if_fail (FO_IS_NODE (fo_node), NULL); return g_node_next_sibling (fo_node->node) ? ((FoNode *) g_node_next_sibling (fo_node->node)->data) : NULL; } /** * fo_node_first_child: * @fo_node: The #FoNode. * * Gets the first child #FoNode of @fo_node. * * Return value: The first child of @fo_node, or %NULL. **/ FoNode * fo_node_first_child (FoNode *fo_node) { g_return_val_if_fail (fo_node != NULL, NULL); g_return_val_if_fail (FO_IS_NODE (fo_node), NULL); return g_node_first_child (fo_node->node) ? ((FoNode *) g_node_first_child (fo_node->node)->data) : NULL; } /** * fo_node_parent: * @fo_node: The #FoNode. * * Gets the parent #FoNode of @fo_node. * * Return value: The parent of @fo_node. **/ FoNode * fo_node_parent (FoNode *fo_node) { g_return_val_if_fail (fo_node != NULL, NULL); g_return_val_if_fail (FO_IS_NODE (fo_node), NULL); return fo_node->node->parent ? FO_NODE (fo_node->node->parent->data) : NULL; } /** * fo_node_unlink_with_next_siblings_default: * @fo_node: First #FoNode to be unlinked * * Unlink @fo_node and its next siblings (i.e., 'following siblings' * in XPath parlance) from their place in their current #FoNode tree. * * @fo_node and its next siblings remain linked together, and any of * those nodes keep their child nodes. Neither @fo_node nor any of * its following siblings are valid roots since they each have a next * and/or a previous sibling, even if they don't have a parent. **/ void fo_node_unlink_with_next_siblings_default (FoNode *fo_node) { GNode *use_node; g_return_if_fail (fo_node != NULL); g_return_if_fail (FO_IS_NODE (fo_node)); use_node = fo_node->node; if (use_node->prev) use_node->prev->next = NULL; else if (use_node->parent) use_node->parent->children = NULL; use_node->prev = NULL; while (use_node) { use_node->parent = NULL; use_node = use_node->next; } } /** * fo_node_unlink_with_next_siblings: * @fo_node: First #FoNode to be unlinked * * Unlink @fo_node and its next siblings (i.e., 'following siblings' * in XPath parlance) from their place in their current #FoNode tree. * * @fo_node and its next siblings remain linked together, and any of * those nodes keep their child nodes. Neither @fo_node nor any of * its following siblings are valid roots since they each have a next * and/or a previous sibling, even if they don't have a parent. **/ void fo_node_unlink_with_next_siblings (FoNode *fo_node) { g_return_if_fail (fo_node != NULL); g_return_if_fail (FO_IS_NODE (fo_node)); FO_NODE_GET_CLASS (fo_node)->unlink_with_next_siblings (fo_node); } /** * fo_node_insert_with_next_siblings_default: * @parent: The #FoNode to place @fo_node under. * @position: The position to place @fo_node at, with respect to its * siblings. If @position is -1, @fo_node is inserted as * the last child of @parent. * @fo_node: First #FoNode to be inserted. * * Insert @fo_node and its next siblings (i.e., 'following siblings' * in XPath parlance) beneath @parent at the given position. * * @fo_node and its next siblings should not already have a parent * #FoNode. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_insert_with_next_siblings_default (FoNode *parent, gint position, FoNode *fo_node) { FoNode *use_node; g_return_val_if_fail (parent != NULL, fo_node); g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (fo_node != NULL, fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); use_node = fo_node; while (use_node) { FoNode *next_sibling = fo_node_next_sibling (use_node); fo_node_unlink (use_node); fo_node_insert (parent, position++, use_node); use_node = next_sibling; } return fo_node; } /** * fo_node_insert_with_next_siblings: * @parent: The #FoNode to place @fo_node under. * @position: The position to place @fo_node at, with respect to its * siblings. If @position is -1, @fo_node is inserted as * the last child of @parent. * @fo_node: First #FoNode to be inserted. * * Insert @fo_node and its next siblings (i.e., 'following siblings' * in XPath parlance) beneath @parent at the given position. * * @fo_node and its next siblings should not already have a parent * #FoNode. * * Return value: The inserted #FoNode. **/ FoNode* fo_node_insert_with_next_siblings (FoNode *parent, gint position, FoNode *fo_node) { g_return_val_if_fail (parent != NULL, fo_node); g_return_val_if_fail (FO_IS_NODE (parent), fo_node); g_return_val_if_fail (fo_node != NULL, fo_node); g_return_val_if_fail (FO_IS_NODE (fo_node), fo_node); return FO_NODE_GET_CLASS (parent)->insert_with_next_siblings (parent, position, fo_node); } /** * fo_node_path_step_sprintf: * @fo_node: The #FoNode * * Creates a string representation of the XPath step for @fo_node. * * The string should be freed by the calling function. * * Return value: String representing the XPath step for @fo_node. **/ static gchar* fo_node_path_step_sprintf (FoNode *fo_node) { FoNode *sibling_node; gchar *node_name; gint count = 1; GString *path_step = g_string_new (NULL); g_return_val_if_fail (FO_IS_NODE (fo_node), NULL); node_name = fo_object_sprintf (FO_OBJECT (fo_node)); sibling_node = fo_node_prev_sibling (fo_node); while (sibling_node) { if (G_TYPE_FROM_INSTANCE (sibling_node) == G_TYPE_FROM_INSTANCE (fo_node)) count++; sibling_node = fo_node_prev_sibling (sibling_node); } g_string_printf (path_step, "/%s[%d]", node_name, count); g_free (node_name); return g_string_free (path_step, FALSE); } /** * fo_node_path_to_root_sprintf: * @fo_node: The #FoNode. * * Creates a string representation of the path from @fo_node to the * root of its #FoNode tree. * * The string should be freed by the calling function. * * Return value: String representation of path from @fo_node to its * root. **/ static gchar* fo_node_path_to_root_sprintf (FoNode *fo_node) { FoNode *use_node; GString *path; gchar *node_name; g_return_val_if_fail (fo_node != NULL, NULL); g_return_val_if_fail (FO_IS_NODE (fo_node), NULL); node_name = fo_node_path_step_sprintf (fo_node); path = g_string_new (node_name); g_free (node_name); use_node = fo_node_parent (FO_NODE (fo_node)); while (use_node) { gchar *old_path = g_strdup (path->str); node_name = fo_node_path_step_sprintf (use_node); g_string_printf (path, "%s%s", node_name, old_path); g_free (node_name); g_free (old_path); use_node = fo_node_parent (use_node); } return g_string_free (path, FALSE); } /** * fo_node_log_warning: * @object: #FoNode that is subject of @warning. * @warning: #GError with information about warning that occurred. * * Logs both the warning represented by @warning and the #FoNode path from * @object to the root of its #FoNode tree. **/ void fo_node_log_warning (FoObject *object, GError **warning) { FoNode *use_node; GString *path = g_string_new (NULL); gchar *node_name; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_NODE (object)); g_return_if_fail (warning != NULL && *warning != NULL); node_name = fo_node_path_step_sprintf (FO_NODE (object)); g_string_printf (path, "%s", node_name); g_free (node_name); use_node = fo_node_parent (FO_NODE (object)); while (use_node) { gchar *old_path = g_strdup (path->str); node_name = fo_node_path_step_sprintf (use_node); g_string_printf (path, "%s%s", node_name, old_path); g_free (node_name); g_free (old_path); use_node = fo_node_parent (use_node); } g_warning ("%s: %s\nObject path: %s", g_quark_to_string ((*warning)->domain), (*warning)->message, path->str); g_string_free (path, TRUE); g_clear_error (warning); } /** * fo_node_log_error: * @object: The #FoNode. * @error: #GError indicating the error. * * Logs both the error represented by @error and the #FoNode path from * @object to the root of its #FoNode tree. **/ void fo_node_log_error (FoObject *object, GError **error) { FoNode *use_node; GString *path = g_string_new (NULL); gchar *node_name; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_NODE (object)); g_return_if_fail (error != NULL && *error != NULL); node_name = fo_node_path_step_sprintf (FO_NODE (object)); g_string_printf (path, "%s", node_name); g_free (node_name); use_node = fo_node_parent (FO_NODE (object)); while (use_node) { gchar *old_path = g_strdup (path->str); node_name = fo_node_path_step_sprintf (use_node); g_string_printf (path, "%s%s", node_name, old_path); g_free (node_name); g_free (old_path); use_node = fo_node_parent (use_node); } g_critical ("%s: %s\nObject path: %s", g_quark_to_string ((*error)->domain), (*error)->message, path->str); g_string_free (path, TRUE); g_clear_error (error); } /** * fo_node_log_or_propagate_error: * @fo_object: #FoObject that is the subject of @src. * @dest: #GError to which to propagate @src, or NULL. * @src: #GError with information about error that occurred. * * If can propagate @src to @dest, do so, otherwise log @src using * fo_object_log_error(). * * Return value: %TRUE if error propagated, otherwise %FALSE. **/ gboolean fo_node_log_or_propagate_error (FoObject *fo_object, GError **dest, GError *src) { GError *new_error; GString *new_message = g_string_new (NULL); gchar *path_to_root; g_return_val_if_fail (FO_IS_NODE (fo_object), TRUE); g_return_val_if_fail (dest == NULL || *dest == NULL, TRUE); g_return_val_if_fail (src != NULL, TRUE); path_to_root = fo_node_path_to_root_sprintf (FO_NODE (fo_object)); g_string_printf (new_message, "%s\nObject path: %s", src->message, path_to_root); new_error = g_error_new (src->domain, src->code, new_message->str); g_string_free (new_message, TRUE); g_free (path_to_root); g_error_free (src); if (dest != NULL) { g_propagate_error (dest, new_error); return TRUE; } else { fo_object_log_error (fo_object, &new_error); return FALSE; } } /** * fo_node_maybe_propagate_error: * @fo_object: #FoObject that is the subject of @src. * @dest: #GError to which to propagate @src, or NULL. * @src: #GError with information about error that occurred. * @continue_after_error: Whether or not to continue after an error. * * If @continue_after_error is %FALSE and can propagate @src to @dest, * then do so, otherwise log @src using fo_object_log_error(). * * Return value: %TRUE if error propagated, otherwise %FALSE. **/ gboolean fo_node_maybe_propagate_error (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error) { GError *new_error; GString *new_message = g_string_new (NULL); gchar *path_to_root; g_return_val_if_fail (FO_IS_NODE (fo_object), TRUE); g_return_val_if_fail (dest == NULL || *dest == NULL, TRUE); g_return_val_if_fail (src != NULL, TRUE); path_to_root = fo_node_path_to_root_sprintf (FO_NODE (fo_object)); g_string_printf (new_message, "%s\nObject path: %s", src->message, path_to_root); new_error = g_error_new (src->domain, src->code, new_message->str); g_string_free (new_message, TRUE); g_free (path_to_root); g_error_free (src); if ((continue_after_error == FALSE) && (dest != NULL)) { g_propagate_error (dest, new_error); return TRUE; } else { fo_object_log_error (fo_object, &new_error); return FALSE; } } xmlroff-0.6.2/libfo/fo-node-private.h0000644000175000017500000000247210643167450014373 00000000000000/* Fo * fo-node-private.h: Structures private to the base class for objects * that are nodes in a tree. * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_NODE_PRIVATE_H__ #define __FO_NODE_PRIVATE_H__ #include "fo-object.h" #include "fo-node.h" G_BEGIN_DECLS struct _FoNode { FoObject parent_instance; GNode *node; }; struct _FoNodeClass { FoObjectClass parent_class; void (* debug_dump_properties) (FoNode *fo_node, gint depth); /* tree functions that may be restricted */ FoNode* (* insert) (FoNode *parent, gint position, FoNode *fo_node); FoNode* (* insert_before) (FoNode *parent, FoNode *sibling, FoNode *fo_node); FoNode* (* insert_after) (FoNode *parent, FoNode *sibling, FoNode *fo_node); void (* unlink_with_next_siblings) (FoNode *fo_node); FoNode* (* insert_with_next_siblings) (FoNode *parent, gint position, FoNode *fo_node); FoNode* (* prepend) (FoNode *parent, FoNode *fo_node); FoNode* (* append) (FoNode *parent, FoNode *fo_node); }; G_END_DECLS #endif /* !__FO_NODE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-context.c0000644000175000017500000142231610701014200013434 00000000000000/* Fo * fo-context.c: Context formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-object.h" #include "datatype/fo-all-datatype.h" #include "property/fo-all-property.h" #include "fo-context.h" #include "fo-context-private.h" enum { PROP_0, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BLOCK_PROGRESSION_DIMENSION_MINIMUM, PROP_BLOCK_PROGRESSION_DIMENSION_OPTIMUM, PROP_BLOCK_PROGRESSION_DIMENSION_MAXIMUM, PROP_BORDER, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_PRECEDENCE, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_PRECEDENCE, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_COLLAPSE, PROP_BORDER_COLOR, PROP_BORDER_END_COLOR, PROP_BORDER_END_PRECEDENCE, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_SEPARATION, PROP_BORDER_START_COLOR, PROP_BORDER_START_PRECEDENCE, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_STYLE, PROP_BORDER_TOP, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_BORDER_WIDTH, PROP_BREAK_AFTER, PROP_BREAK_BEFORE, PROP_CHARACTER, PROP_CLIP, PROP_COLOR, PROP_COLUMN_NUMBER, PROP_COLUMN_WIDTH, PROP_CONTENT_HEIGHT, PROP_CONTENT_TYPE, PROP_CONTENT_WIDTH, PROP_DIRECTION, PROP_DISPLAY_ALIGN, PROP_DOMINANT_BASELINE, PROP_END_INDENT, PROP_EXTENT, PROP_FLOW_NAME, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_FORMAT, PROP_GROUPING_SEPARATOR, PROP_GROUPING_SIZE, PROP_HEIGHT, PROP_ID, PROP_INLINE_PROGRESSION_DIMENSION, PROP_INLINE_PROGRESSION_DIMENSION_MINIMUM, PROP_INLINE_PROGRESSION_DIMENSION_OPTIMUM, PROP_INLINE_PROGRESSION_DIMENSION_MAXIMUM, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LETTER_VALUE, PROP_LINE_HEIGHT, PROP_LINE_STACKING_STRATEGY, PROP_LINEFEED_TREATMENT, PROP_MARGIN, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT, PROP_MARGIN_TOP, PROP_MASTER_NAME, PROP_MASTER_REFERENCE, PROP_MEDIA_USAGE, PROP_NUMBER_COLUMNS_REPEATED, PROP_NUMBER_COLUMNS_SPANNED, PROP_NUMBER_ROWS_SPANNED, PROP_ORPHANS, PROP_OVERFLOW, PROP_PADDING, PROP_PADDING_AFTER, PROP_PADDING_AFTER_LENGTH, PROP_PADDING_AFTER_CONDITY, PROP_PADDING_BEFORE, PROP_PADDING_BEFORE_LENGTH, PROP_PADDING_BEFORE_CONDITY, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_END_LENGTH, PROP_PADDING_END_CONDITY, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_START_LENGTH, PROP_PADDING_START_CONDITY, PROP_PADDING_TOP, PROP_PAGE_HEIGHT, PROP_PAGE_WIDTH, PROP_PROVISIONAL_DISTANCE_BETWEEN_STARTS, PROP_PROVISIONAL_LABEL_SEPARATION, PROP_REF_ID, PROP_REGION_NAME, PROP_ROLE, PROP_SCALING, PROP_SCALING_METHOD, PROP_SCORE_SPACES, PROP_SOURCE_DOCUMENT, PROP_SPACE_AFTER, PROP_SPACE_AFTER_MINIMUM, PROP_SPACE_AFTER_OPTIMUM, PROP_SPACE_AFTER_MAXIMUM, PROP_SPACE_AFTER_PRECEDENCE, PROP_SPACE_AFTER_CONDITY, PROP_SPACE_BEFORE, PROP_SPACE_BEFORE_MINIMUM, PROP_SPACE_BEFORE_OPTIMUM, PROP_SPACE_BEFORE_MAXIMUM, PROP_SPACE_BEFORE_PRECEDENCE, PROP_SPACE_BEFORE_CONDITY, PROP_SPACE_END, PROP_SPACE_END_MINIMUM, PROP_SPACE_END_OPTIMUM, PROP_SPACE_END_MAXIMUM, PROP_SPACE_END_PRECEDENCE, PROP_SPACE_END_CONDITY, PROP_SPACE_START, PROP_SPACE_START_MINIMUM, PROP_SPACE_START_OPTIMUM, PROP_SPACE_START_MAXIMUM, PROP_SPACE_START_PRECEDENCE, PROP_SPACE_START_CONDITY, PROP_SPAN, PROP_SRC, PROP_START_INDENT, PROP_TABLE_LAYOUT, PROP_TEXT_ALIGN, PROP_TEXT_INDENT, PROP_UNICODE_BIDI, PROP_WHITE_SPACE_COLLAPSE, PROP_WHITE_SPACE_TREATMENT, PROP_WIDOWS, PROP_WIDTH, PROP_WRAP_OPTION, PROP_WRITING_MODE }; static void fo_context_class_init (FoContextClass *klass); static void fo_context_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_context_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_context_finalize (GObject *object); static void fo_context_property_slist_foreach (gpointer property, gpointer context); static void fo_context_debug_dump (FoObject *object, gint depth); static gpointer parent_class; /** * fo_context_get_type: * * Register the #FoContext type if not already registered and * return its #GType value. * * Return value: #GType of #FoContext. **/ GType fo_context_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoContextClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_context_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoContext), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoContext", &object_info, 0); } return object_type; } /** * fo_context_initialize: * @context: #FoContext to initialize. * * Initialize @context with the initial/default value of every property. **/ void fo_context_initialize (FoContext *context) { context->alignment_adjust = g_object_ref (fo_property_alignment_adjust_get_initial ()); context->alignment_baseline = g_object_ref (fo_property_alignment_baseline_get_initial ()); context->background_color = g_object_ref (fo_property_background_color_get_initial ()); context->background_image = g_object_ref (fo_property_background_image_get_initial ()); context->baseline_shift = g_object_ref (fo_property_baseline_shift_get_initial ()); context->block_progression_dimension = g_object_ref (fo_property_block_progression_dimension_get_initial ()); context->block_progression_dimension_minimum = NULL; context->block_progression_dimension_optimum = NULL; context->block_progression_dimension_maximum = NULL; context->border = g_object_ref (fo_property_border_get_initial ()); context->border_after_color = g_object_ref (fo_property_border_after_color_get_initial ()); context->border_after_precedence = g_object_ref (fo_property_border_after_precedence_get_initial ()); context->border_after_style = g_object_ref (fo_property_border_after_style_get_initial ()); context->border_after_width = g_object_ref (fo_property_border_after_width_get_initial ()); context->border_before_color = g_object_ref (fo_property_border_before_color_get_initial ()); context->border_before_precedence = g_object_ref (fo_property_border_before_precedence_get_initial ()); context->border_before_style = g_object_ref (fo_property_border_before_style_get_initial ()); context->border_before_width = g_object_ref (fo_property_border_before_width_get_initial ()); context->border_bottom = g_object_ref (fo_property_border_bottom_get_initial ()); context->border_bottom_color = g_object_ref (fo_property_border_bottom_color_get_initial ()); context->border_bottom_style = g_object_ref (fo_property_border_bottom_style_get_initial ()); context->border_bottom_width = g_object_ref (fo_property_border_bottom_width_get_initial ()); context->border_collapse = g_object_ref (fo_property_border_collapse_get_initial ()); context->border_color = g_object_ref (fo_property_border_color_get_initial ()); context->border_end_color = g_object_ref (fo_property_border_end_color_get_initial ()); context->border_end_precedence = g_object_ref (fo_property_border_end_precedence_get_initial ()); context->border_end_style = g_object_ref (fo_property_border_end_style_get_initial ()); context->border_end_width = g_object_ref (fo_property_border_end_width_get_initial ()); context->border_left = g_object_ref (fo_property_border_left_get_initial ()); context->border_left_color = g_object_ref (fo_property_border_left_color_get_initial ()); context->border_left_style = g_object_ref (fo_property_border_left_style_get_initial ()); context->border_left_width = g_object_ref (fo_property_border_left_width_get_initial ()); context->border_right = g_object_ref (fo_property_border_right_get_initial ()); context->border_right_color = g_object_ref (fo_property_border_right_color_get_initial ()); context->border_right_style = g_object_ref (fo_property_border_right_style_get_initial ()); context->border_right_width = g_object_ref (fo_property_border_right_width_get_initial ()); context->border_separation = g_object_ref (fo_property_border_separation_get_initial ()); context->border_start_color = g_object_ref (fo_property_border_start_color_get_initial ()); context->border_start_precedence = g_object_ref (fo_property_border_start_precedence_get_initial ()); context->border_start_style = g_object_ref (fo_property_border_start_style_get_initial ()); context->border_start_width = g_object_ref (fo_property_border_start_width_get_initial ()); context->border_style = g_object_ref (fo_property_border_style_get_initial ()); context->border_top = g_object_ref (fo_property_border_top_get_initial ()); context->border_top_color = g_object_ref (fo_property_border_top_color_get_initial ()); context->border_top_style = g_object_ref (fo_property_border_top_style_get_initial ()); context->border_top_width = g_object_ref (fo_property_border_top_width_get_initial ()); context->border_width = g_object_ref (fo_property_border_width_get_initial ()); context->break_after = g_object_ref (fo_property_break_after_get_initial ()); context->break_before = g_object_ref (fo_property_break_before_get_initial ()); context->character = g_object_ref (fo_property_character_get_initial ()); context->clip = g_object_ref (fo_property_clip_get_initial ()); context->color = g_object_ref (fo_property_color_get_initial ()); context->column_number = g_object_ref (fo_property_column_number_get_initial ()); context->column_width = g_object_ref (fo_property_column_width_get_initial ()); context->content_height = g_object_ref (fo_property_content_height_get_initial ()); context->content_type = g_object_ref (fo_property_content_type_get_initial ()); context->content_width = g_object_ref (fo_property_content_width_get_initial ()); context->direction = g_object_ref (fo_property_direction_get_initial ()); context->display_align = g_object_ref (fo_property_display_align_get_initial ()); context->dominant_baseline = g_object_ref (fo_property_dominant_baseline_get_initial ()); context->end_indent = g_object_ref (fo_property_end_indent_get_initial ()); context->extent = g_object_ref (fo_property_extent_get_initial ()); context->flow_name = g_object_ref (fo_property_flow_name_get_initial ()); context->font_family = g_object_ref (fo_property_font_family_get_initial ()); context->font_size = g_object_ref (fo_property_font_size_get_initial ()); context->font_stretch = g_object_ref (fo_property_font_stretch_get_initial ()); context->font_style = g_object_ref (fo_property_font_style_get_initial ()); context->font_variant = g_object_ref (fo_property_font_variant_get_initial ()); context->font_weight = g_object_ref (fo_property_font_weight_get_initial ()); context->format = g_object_ref (fo_property_format_get_initial ()); context->grouping_separator = g_object_ref (fo_property_grouping_separator_get_initial ()); context->grouping_size = g_object_ref (fo_property_grouping_size_get_initial ()); context->height = g_object_ref (fo_property_height_get_initial ()); context->id = g_object_ref (fo_property_id_get_initial ()); context->inline_progression_dimension = g_object_ref (fo_property_inline_progression_dimension_get_initial ()); context->inline_progression_dimension_minimum = NULL; context->inline_progression_dimension_optimum = NULL; context->inline_progression_dimension_maximum = NULL; context->keep_together = g_object_ref (fo_property_keep_together_get_initial ()); context->keep_together_within_column = g_object_ref (fo_property_keep_together_within_column_get_initial ()); context->keep_together_within_line = g_object_ref (fo_property_keep_together_within_line_get_initial ()); context->keep_together_within_page = g_object_ref (fo_property_keep_together_within_page_get_initial ()); context->keep_with_next = g_object_ref (fo_property_keep_with_next_get_initial ()); context->keep_with_next_within_column = g_object_ref (fo_property_keep_with_next_within_column_get_initial ()); context->keep_with_next_within_line = g_object_ref (fo_property_keep_with_next_within_line_get_initial ()); context->keep_with_next_within_page = g_object_ref (fo_property_keep_with_next_within_page_get_initial ()); context->keep_with_previous = g_object_ref (fo_property_keep_with_previous_get_initial ()); context->keep_with_previous_within_column = g_object_ref (fo_property_keep_with_previous_within_column_get_initial ()); context->keep_with_previous_within_line = g_object_ref (fo_property_keep_with_previous_within_line_get_initial ()); context->keep_with_previous_within_page = g_object_ref (fo_property_keep_with_previous_within_page_get_initial ()); context->letter_value = g_object_ref (fo_property_letter_value_get_initial ()); context->line_height = g_object_ref (fo_property_line_height_get_initial ()); context->line_stacking_strategy = g_object_ref (fo_property_line_stacking_strategy_get_initial ()); context->linefeed_treatment = g_object_ref (fo_property_linefeed_treatment_get_initial ()); context->margin = g_object_ref (fo_property_margin_get_initial ()); context->margin_bottom = g_object_ref (fo_property_margin_bottom_get_initial ()); context->margin_left = g_object_ref (fo_property_margin_left_get_initial ()); context->margin_right = g_object_ref (fo_property_margin_right_get_initial ()); context->margin_top = g_object_ref (fo_property_margin_top_get_initial ()); context->master_name = g_object_ref (fo_property_master_name_get_initial ()); context->master_reference = g_object_ref (fo_property_master_reference_get_initial ()); context->media_usage = g_object_ref (fo_property_media_usage_get_initial ()); context->number_columns_repeated = g_object_ref (fo_property_number_columns_repeated_get_initial ()); context->number_columns_spanned = g_object_ref (fo_property_number_columns_spanned_get_initial ()); context->number_rows_spanned = g_object_ref (fo_property_number_rows_spanned_get_initial ()); context->orphans = g_object_ref (fo_property_orphans_get_initial ()); context->overflow = g_object_ref (fo_property_overflow_get_initial ()); context->padding = g_object_ref (fo_property_padding_get_initial ()); context->padding_after = g_object_ref (fo_property_padding_after_get_initial ()); context->padding_after_length = NULL; context->padding_after_condity = g_object_ref (fo_property_padding_after_condity_get_initial ()); context->padding_before = g_object_ref (fo_property_padding_before_get_initial ()); context->padding_before_length = NULL; context->padding_before_condity = g_object_ref (fo_property_padding_before_condity_get_initial ()); context->padding_bottom = g_object_ref (fo_property_padding_bottom_get_initial ()); context->padding_end = g_object_ref (fo_property_padding_end_get_initial ()); context->padding_end_length = NULL; context->padding_end_condity = g_object_ref (fo_property_padding_end_condity_get_initial ()); context->padding_left = g_object_ref (fo_property_padding_left_get_initial ()); context->padding_right = g_object_ref (fo_property_padding_right_get_initial ()); context->padding_start = g_object_ref (fo_property_padding_start_get_initial ()); context->padding_start_length = NULL; context->padding_start_condity = g_object_ref (fo_property_padding_start_condity_get_initial ()); context->padding_top = g_object_ref (fo_property_padding_top_get_initial ()); context->page_height = g_object_ref (fo_property_page_height_get_initial ()); context->page_width = g_object_ref (fo_property_page_width_get_initial ()); context->provisional_distance_between_starts = g_object_ref (fo_property_provisional_distance_between_starts_get_initial ()); context->provisional_label_separation = g_object_ref (fo_property_provisional_label_separation_get_initial ()); context->ref_id = g_object_ref (fo_property_ref_id_get_initial ()); context->region_name = g_object_ref (fo_property_region_name_get_initial ()); context->role = g_object_ref (fo_property_role_get_initial ()); context->scaling = g_object_ref (fo_property_scaling_get_initial ()); context->scaling_method = g_object_ref (fo_property_scaling_method_get_initial ()); context->score_spaces = g_object_ref (fo_property_score_spaces_get_initial ()); context->source_document = g_object_ref (fo_property_source_document_get_initial ()); context->space_after = g_object_ref (fo_property_space_after_get_initial ()); context->space_after_minimum = NULL; context->space_after_optimum = NULL; context->space_after_maximum = NULL; context->space_after_precedence = g_object_ref (fo_property_space_after_precedence_get_initial ()); context->space_after_condity = g_object_ref (fo_property_space_after_condity_get_initial ()); context->space_before = g_object_ref (fo_property_space_before_get_initial ()); context->space_before_minimum = NULL; context->space_before_optimum = NULL; context->space_before_maximum = NULL; context->space_before_precedence = g_object_ref (fo_property_space_before_precedence_get_initial ()); context->space_before_condity = g_object_ref (fo_property_space_before_condity_get_initial ()); context->space_end = g_object_ref (fo_property_space_end_get_initial ()); context->space_end_minimum = NULL; context->space_end_optimum = NULL; context->space_end_maximum = NULL; context->space_end_precedence = g_object_ref (fo_property_space_end_precedence_get_initial ()); context->space_end_condity = g_object_ref (fo_property_space_end_condity_get_initial ()); context->space_start = g_object_ref (fo_property_space_start_get_initial ()); context->space_start_minimum = NULL; context->space_start_optimum = NULL; context->space_start_maximum = NULL; context->space_start_precedence = g_object_ref (fo_property_space_start_precedence_get_initial ()); context->space_start_condity = g_object_ref (fo_property_space_start_condity_get_initial ()); context->span = g_object_ref (fo_property_span_get_initial ()); context->src = g_object_ref (fo_property_src_get_initial ()); context->start_indent = g_object_ref (fo_property_start_indent_get_initial ()); context->table_layout = g_object_ref (fo_property_table_layout_get_initial ()); context->text_align = g_object_ref (fo_property_text_align_get_initial ()); context->text_indent = g_object_ref (fo_property_text_indent_get_initial ()); context->unicode_bidi = g_object_ref (fo_property_unicode_bidi_get_initial ()); context->white_space_collapse = g_object_ref (fo_property_white_space_collapse_get_initial ()); context->white_space_treatment = g_object_ref (fo_property_white_space_treatment_get_initial ()); context->widows = g_object_ref (fo_property_widows_get_initial ()); context->width = g_object_ref (fo_property_width_get_initial ()); context->wrap_option = g_object_ref (fo_property_wrap_option_get_initial ()); context->writing_mode = g_object_ref (fo_property_writing_mode_get_initial ()); } /** * fo_context_init: * @klass: #FoContextClass object to initialise. * * Implements #GClassInitFunc for #FoContextClass. **/ void fo_context_class_init (FoContextClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoObjectClass *fo_object_class = FO_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_context_finalize; object_class->set_property = fo_context_set_property; object_class->get_property = fo_context_get_property; fo_object_class->debug_dump = fo_context_debug_dump; g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION_MINIMUM, g_param_spec_object ("block-progression-dimension-minimum", _("Block Progression Dimension Minimum"), _("Block Progression Dimension Minimum property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION_OPTIMUM, g_param_spec_object ("block-progression-dimension-optimum", _("Block Progression Dimension Optimum"), _("Block Progression Dimension Optimum property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION_MAXIMUM, g_param_spec_object ("block-progression-dimension-maximum", _("Block Progression Dimension Maximum"), _("Block Progression Dimension Maximum property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER, g_param_spec_object ("border", _("Border"), _("Border property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_PRECEDENCE, g_param_spec_object ("border-after-precedence", _("Border After Precedence"), _("Border After Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_PRECEDENCE, g_param_spec_object ("border-before-precedence", _("Border Before Precedence"), _("Border Before Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM, g_param_spec_object ("border-bottom", _("Border Bottom"), _("Border Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_COLLAPSE, g_param_spec_object ("border-collapse", _("Border Collapse"), _("Border Collapse property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_COLOR, g_param_spec_object ("border-color", _("Border Color"), _("Border Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_PRECEDENCE, g_param_spec_object ("border-end-precedence", _("Border End Precedence"), _("Border End Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT, g_param_spec_object ("border-left", _("Border Left"), _("Border Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT, g_param_spec_object ("border-right", _("Border Right"), _("Border Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_SEPARATION, g_param_spec_object ("border-separation", _("Border Separation"), _("Border Separation property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_PRECEDENCE, g_param_spec_object ("border-start-precedence", _("Border Start Precedence"), _("Border Start Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_STYLE, g_param_spec_object ("border-style", _("Border Style"), _("Border Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP, g_param_spec_object ("border-top", _("Border Top"), _("Border Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_WIDTH, g_param_spec_object ("border-width", _("Border Width"), _("Border Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_AFTER, g_param_spec_object ("break-after", _("Break After"), _("Break After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_BEFORE, g_param_spec_object ("break-before", _("Break Before"), _("Break Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CHARACTER, g_param_spec_object ("character", _("Character"), _("Character property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLUMN_NUMBER, g_param_spec_object ("column-number", _("Column Number"), _("Column Number property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLUMN_WIDTH, g_param_spec_object ("column-width", _("Column Width"), _("Column Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTENT_HEIGHT, g_param_spec_object ("content-height", _("Content Height"), _("Content Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTENT_TYPE, g_param_spec_object ("content-type", _("Content Type"), _("Content Type property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTENT_WIDTH, g_param_spec_object ("content-width", _("Content Width"), _("Content Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DIRECTION, g_param_spec_object ("direction", _("Direction"), _("Direction property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_END_INDENT, g_param_spec_object ("end-indent", _("End Indent"), _("End Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_EXTENT, g_param_spec_object ("extent", _("Extent"), _("Extent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FLOW_NAME, g_param_spec_object ("flow-name", _("Flow Name"), _("Flow Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FORMAT, g_param_spec_object ("format", _("Format"), _("Format property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_GROUPING_SEPARATOR, g_param_spec_object ("grouping-separator", _("Grouping Separator"), _("Grouping Separator property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_GROUPING_SIZE, g_param_spec_object ("grouping-size", _("Grouping Size"), _("Grouping Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION, g_param_spec_object ("inline-progression-dimension", _("Inline Progression Dimension"), _("Inline Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION_MINIMUM, g_param_spec_object ("inline-progression-dimension-minimum", _("Inline Progression Dimension Minimum"), _("Inline Progression Dimension Minimum property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION_OPTIMUM, g_param_spec_object ("inline-progression-dimension-optimum", _("Inline Progression Dimension Optimum"), _("Inline Progression Dimension Optimum property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION_MAXIMUM, g_param_spec_object ("inline-progression-dimension-maximum", _("Inline Progression Dimension Maximum"), _("Inline Progression Dimension Maximum property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LETTER_VALUE, g_param_spec_object ("letter-value", _("Letter Value"), _("Letter Value property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_STACKING_STRATEGY, g_param_spec_object ("line-stacking-strategy", _("Line Stacking Strategy"), _("Line Stacking Strategy property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINEFEED_TREATMENT, g_param_spec_object ("linefeed-treatment", _("Linefeed Treatment"), _("Linefeed Treatment property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN, g_param_spec_object ("margin", _("Margin"), _("Margin property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_object ("margin-bottom", _("Margin Bottom"), _("Margin Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_object ("margin-left", _("Margin Left"), _("Margin Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_object ("margin-right", _("Margin Right"), _("Margin Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_object ("margin-top", _("Margin Top"), _("Margin Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MASTER_NAME, g_param_spec_object ("master-name", _("Master Name"), _("Master Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MASTER_REFERENCE, g_param_spec_object ("master-reference", _("Master Reference"), _("Master Reference property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MEDIA_USAGE, g_param_spec_object ("media-usage", _("Media Usage"), _("Media Usage property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_NUMBER_COLUMNS_REPEATED, g_param_spec_object ("number-columns-repeated", _("Number Columns Repeated"), _("Number Columns Repeated property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_NUMBER_COLUMNS_SPANNED, g_param_spec_object ("number-columns-spanned", _("Number Columns Spanned"), _("Number Columns Spanned property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_NUMBER_ROWS_SPANNED, g_param_spec_object ("number-rows-spanned", _("Number Rows Spanned"), _("Number Rows Spanned property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ORPHANS, g_param_spec_object ("orphans", _("Orphans"), _("Orphans property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING, g_param_spec_object ("padding", _("Padding"), _("Padding property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER_LENGTH, g_param_spec_object ("padding-after-length", _("Padding After Length"), _("Padding After Length property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER_CONDITY, g_param_spec_object ("padding-after-conditionality", _("Padding After Conditionality"), _("Padding After Conditionality property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE_LENGTH, g_param_spec_object ("padding-before-length", _("Padding Before Length"), _("Padding Before Length property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE_CONDITY, g_param_spec_object ("padding-before-conditionality", _("Padding Before Conditionality"), _("Padding Before Conditionality property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END_LENGTH, g_param_spec_object ("padding-end-length", _("Padding End Length"), _("Padding End Length property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END_CONDITY, g_param_spec_object ("padding-end-conditionality", _("Padding End Conditionality"), _("Padding End Conditionality property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START_LENGTH, g_param_spec_object ("padding-start-length", _("Padding Start Length"), _("Padding Start Length property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START_CONDITY, g_param_spec_object ("padding-start-conditionality", _("Padding Start Conditionality"), _("Padding Start Conditionality property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PAGE_HEIGHT, g_param_spec_object ("page-height", _("Page Height"), _("Page Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PAGE_WIDTH, g_param_spec_object ("page-width", _("Page Width"), _("Page Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PROVISIONAL_DISTANCE_BETWEEN_STARTS, g_param_spec_object ("provisional-distance-between-starts", _("Provisional Distance Between Starts"), _("Provisional Distance Between Starts property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PROVISIONAL_LABEL_SEPARATION, g_param_spec_object ("provisional-label-separation", _("Provisional Label Separation"), _("Provisional Label Separation property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_REF_ID, g_param_spec_object ("ref-id", _("Ref Id"), _("Ref Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_REGION_NAME, g_param_spec_object ("region-name", _("Region Name"), _("Region Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCALING, g_param_spec_object ("scaling", _("Scaling"), _("Scaling property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCALING_METHOD, g_param_spec_object ("scaling-method", _("Scaling Method"), _("Scaling Method property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCORE_SPACES, g_param_spec_object ("score-spaces", _("Score Spaces"), _("Score Spaces property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER, g_param_spec_object ("space-after", _("Space After"), _("Space After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER_MINIMUM, g_param_spec_object ("space-after-minimum", _("Space After Minimum"), _("Space After Minimum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER_OPTIMUM, g_param_spec_object ("space-after-optimum", _("Space After Optimum"), _("Space After Optimum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER_MAXIMUM, g_param_spec_object ("space-after-maximum", _("Space After Maximum"), _("Space After Maximum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER_PRECEDENCE, g_param_spec_object ("space-after-precedence", _("Space After Precedence"), _("Space After Precedence property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER_CONDITY, g_param_spec_object ("space-after-conditionality", _("Space After Conditionality"), _("Space After Conditionality property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE, g_param_spec_object ("space-before", _("Space Before"), _("Space Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE_MINIMUM, g_param_spec_object ("space-before-minimum", _("Space Before Minimum"), _("Space Before Minimum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE_OPTIMUM, g_param_spec_object ("space-before-optimum", _("Space Before Optimum"), _("Space Before Optimum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE_MAXIMUM, g_param_spec_object ("space-before-maximum", _("Space Before Maximum"), _("Space Before Maximum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE_PRECEDENCE, g_param_spec_object ("space-before-precedence", _("Space Before Precedence"), _("Space Before Precedence property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE_CONDITY, g_param_spec_object ("space-before-conditionality", _("Space Before Conditionality"), _("Space Before Conditionality property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END_MINIMUM, g_param_spec_object ("space-end-minimum", _("Space End Minimum"), _("Space End Minimum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_END_OPTIMUM, g_param_spec_object ("space-end-optimum", _("Space End Optimum"), _("Space End Optimum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_END_MAXIMUM, g_param_spec_object ("space-end-maximum", _("Space End Maximum"), _("Space End Maximum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_END_PRECEDENCE, g_param_spec_object ("space-end-precedence", _("Space End Precedence"), _("Space End Precedence property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_END_CONDITY, g_param_spec_object ("space-end-conditionality", _("Space End Conditionality"), _("Space End Conditionality property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START_MINIMUM, g_param_spec_object ("space-start-minimum", _("Space Start Minimum"), _("Space Start Minimum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_START_OPTIMUM, g_param_spec_object ("space-start-optimum", _("Space Start Optimum"), _("Space Start Optimum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_START_MAXIMUM, g_param_spec_object ("space-start-maximum", _("Space Start Maximum"), _("Space Start Maximum property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_START_PRECEDENCE, g_param_spec_object ("space-start-precedence", _("Space Start Precedence"), _("Space Start Precedence property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPACE_START_CONDITY, g_param_spec_object ("space-start-conditionality", _("Space Start Conditionality"), _("Space Start Conditionality property"), FO_TYPE_PROPERTY, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SPAN, g_param_spec_object ("span", _("Span"), _("Span property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SRC, g_param_spec_object ("src", _("Src"), _("Src property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_START_INDENT, g_param_spec_object ("start-indent", _("Start Indent"), _("Start Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_TABLE_LAYOUT, g_param_spec_object ("table-layout", _("Table Layout"), _("Table Layout property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_TEXT_ALIGN, g_param_spec_object ("text-align", _("Text Align"), _("Text Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_TEXT_INDENT, g_param_spec_object ("text-indent", _("Text Indent"), _("Text Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_UNICODE_BIDI, g_param_spec_object ("unicode-bidi", _("Unicode Bidi"), _("Unicode Bidi property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WHITE_SPACE_COLLAPSE, g_param_spec_object ("white-space-collapse", _("White Space Collapse"), _("White Space Collapse property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WHITE_SPACE_TREATMENT, g_param_spec_object ("white-space-treatment", _("White Space Treatment"), _("White Space Treatment property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDOWS, g_param_spec_object ("widows", _("Widows"), _("Widows property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRAP_OPTION, g_param_spec_object ("wrap-option", _("Wrap Option"), _("Wrap Option property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_context_finalize: * @object: #FoContext object to finalize. * * Implements #GObjectFinalizeFunc for #FoContext. **/ void fo_context_finalize (GObject *object) { FoContext *context; context = FO_CONTEXT (object); fo_context_set_alignment_adjust (context, NULL); fo_context_set_alignment_baseline (context, NULL); fo_context_set_background_color (context, NULL); fo_context_set_background_image (context, NULL); fo_context_set_baseline_shift (context, NULL); fo_context_set_block_progression_dimension (context, NULL); fo_context_set_block_progression_dimension_minimum (context, NULL); fo_context_set_block_progression_dimension_optimum (context, NULL); fo_context_set_block_progression_dimension_maximum (context, NULL); fo_context_set_border (context, NULL); fo_context_set_border_after_color (context, NULL); fo_context_set_border_after_precedence (context, NULL); fo_context_set_border_after_style (context, NULL); fo_context_set_border_after_width (context, NULL); fo_context_set_border_before_color (context, NULL); fo_context_set_border_before_precedence (context, NULL); fo_context_set_border_before_style (context, NULL); fo_context_set_border_before_width (context, NULL); fo_context_set_border_bottom (context, NULL); fo_context_set_border_bottom_color (context, NULL); fo_context_set_border_bottom_style (context, NULL); fo_context_set_border_bottom_width (context, NULL); fo_context_set_border_collapse (context, NULL); fo_context_set_border_color (context, NULL); fo_context_set_border_end_color (context, NULL); fo_context_set_border_end_precedence (context, NULL); fo_context_set_border_end_style (context, NULL); fo_context_set_border_end_width (context, NULL); fo_context_set_border_left (context, NULL); fo_context_set_border_left_color (context, NULL); fo_context_set_border_left_style (context, NULL); fo_context_set_border_left_width (context, NULL); fo_context_set_border_right (context, NULL); fo_context_set_border_right_color (context, NULL); fo_context_set_border_right_style (context, NULL); fo_context_set_border_right_width (context, NULL); fo_context_set_border_separation (context, NULL); fo_context_set_border_start_color (context, NULL); fo_context_set_border_start_precedence (context, NULL); fo_context_set_border_start_style (context, NULL); fo_context_set_border_start_width (context, NULL); fo_context_set_border_style (context, NULL); fo_context_set_border_top (context, NULL); fo_context_set_border_top_color (context, NULL); fo_context_set_border_top_style (context, NULL); fo_context_set_border_top_width (context, NULL); fo_context_set_border_width (context, NULL); fo_context_set_break_after (context, NULL); fo_context_set_break_before (context, NULL); fo_context_set_character (context, NULL); fo_context_set_clip (context, NULL); fo_context_set_color (context, NULL); fo_context_set_column_number (context, NULL); fo_context_set_column_width (context, NULL); fo_context_set_content_height (context, NULL); fo_context_set_content_type (context, NULL); fo_context_set_content_width (context, NULL); fo_context_set_direction (context, NULL); fo_context_set_display_align (context, NULL); fo_context_set_dominant_baseline (context, NULL); fo_context_set_end_indent (context, NULL); fo_context_set_extent (context, NULL); fo_context_set_flow_name (context, NULL); fo_context_set_font_family (context, NULL); fo_context_set_font_size (context, NULL); fo_context_set_font_stretch (context, NULL); fo_context_set_font_style (context, NULL); fo_context_set_font_variant (context, NULL); fo_context_set_font_weight (context, NULL); fo_context_set_format (context, NULL); fo_context_set_grouping_separator (context, NULL); fo_context_set_grouping_size (context, NULL); fo_context_set_height (context, NULL); fo_context_set_id (context, NULL); fo_context_set_inline_progression_dimension (context, NULL); fo_context_set_inline_progression_dimension_minimum (context, NULL); fo_context_set_inline_progression_dimension_optimum (context, NULL); fo_context_set_inline_progression_dimension_maximum (context, NULL); fo_context_set_keep_together (context, NULL); fo_context_set_keep_together_within_column (context, NULL); fo_context_set_keep_together_within_line (context, NULL); fo_context_set_keep_together_within_page (context, NULL); fo_context_set_keep_with_next (context, NULL); fo_context_set_keep_with_next_within_column (context, NULL); fo_context_set_keep_with_next_within_line (context, NULL); fo_context_set_keep_with_next_within_page (context, NULL); fo_context_set_keep_with_previous (context, NULL); fo_context_set_keep_with_previous_within_column (context, NULL); fo_context_set_keep_with_previous_within_line (context, NULL); fo_context_set_keep_with_previous_within_page (context, NULL); fo_context_set_letter_value (context, NULL); fo_context_set_line_height (context, NULL); fo_context_set_line_stacking_strategy (context, NULL); fo_context_set_linefeed_treatment (context, NULL); fo_context_set_margin (context, NULL); fo_context_set_margin_bottom (context, NULL); fo_context_set_margin_left (context, NULL); fo_context_set_margin_right (context, NULL); fo_context_set_margin_top (context, NULL); fo_context_set_master_name (context, NULL); fo_context_set_master_reference (context, NULL); fo_context_set_media_usage (context, NULL); fo_context_set_number_columns_repeated (context, NULL); fo_context_set_number_columns_spanned (context, NULL); fo_context_set_number_rows_spanned (context, NULL); fo_context_set_orphans (context, NULL); fo_context_set_overflow (context, NULL); fo_context_set_padding (context, NULL); fo_context_set_padding_after (context, NULL); fo_context_set_padding_after_length (context, NULL); fo_context_set_padding_after_condity (context, NULL); fo_context_set_padding_before (context, NULL); fo_context_set_padding_before_length (context, NULL); fo_context_set_padding_before_condity (context, NULL); fo_context_set_padding_bottom (context, NULL); fo_context_set_padding_end (context, NULL); fo_context_set_padding_end_length (context, NULL); fo_context_set_padding_end_condity (context, NULL); fo_context_set_padding_left (context, NULL); fo_context_set_padding_right (context, NULL); fo_context_set_padding_start (context, NULL); fo_context_set_padding_start_length (context, NULL); fo_context_set_padding_start_condity (context, NULL); fo_context_set_padding_top (context, NULL); fo_context_set_page_height (context, NULL); fo_context_set_page_width (context, NULL); fo_context_set_provisional_distance_between_starts (context, NULL); fo_context_set_provisional_label_separation (context, NULL); fo_context_set_ref_id (context, NULL); fo_context_set_region_name (context, NULL); fo_context_set_role (context, NULL); fo_context_set_scaling (context, NULL); fo_context_set_scaling_method (context, NULL); fo_context_set_score_spaces (context, NULL); fo_context_set_source_document (context, NULL); fo_context_set_space_after (context, NULL); fo_context_set_space_after_minimum (context, NULL); fo_context_set_space_after_optimum (context, NULL); fo_context_set_space_after_maximum (context, NULL); fo_context_set_space_after_precedence (context, NULL); fo_context_set_space_after_condity (context, NULL); fo_context_set_space_before (context, NULL); fo_context_set_space_before_minimum (context, NULL); fo_context_set_space_before_optimum (context, NULL); fo_context_set_space_before_maximum (context, NULL); fo_context_set_space_before_precedence (context, NULL); fo_context_set_space_before_condity (context, NULL); fo_context_set_space_end (context, NULL); fo_context_set_space_end_minimum (context, NULL); fo_context_set_space_end_optimum (context, NULL); fo_context_set_space_end_maximum (context, NULL); fo_context_set_space_end_precedence (context, NULL); fo_context_set_space_end_condity (context, NULL); fo_context_set_space_start (context, NULL); fo_context_set_space_start_minimum (context, NULL); fo_context_set_space_start_optimum (context, NULL); fo_context_set_space_start_maximum (context, NULL); fo_context_set_space_start_precedence (context, NULL); fo_context_set_space_start_condity (context, NULL); fo_context_set_span (context, NULL); fo_context_set_src (context, NULL); fo_context_set_start_indent (context, NULL); fo_context_set_table_layout (context, NULL); fo_context_set_text_align (context, NULL); fo_context_set_text_indent (context, NULL); fo_context_set_unicode_bidi (context, NULL); fo_context_set_white_space_collapse (context, NULL); fo_context_set_white_space_treatment (context, NULL); fo_context_set_widows (context, NULL); fo_context_set_width (context, NULL); fo_context_set_wrap_option (context, NULL); fo_context_set_writing_mode (context, NULL); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_context_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoContext. **/ void fo_context_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoContext *fo_context; fo_context = FO_CONTEXT (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: fo_context_set_alignment_adjust (fo_context, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_context_set_alignment_baseline (fo_context, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_context_set_background_color (fo_context, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_context_set_background_image (fo_context, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_context_set_baseline_shift (fo_context, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_context_set_block_progression_dimension (fo_context, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION_MINIMUM: fo_context_set_block_progression_dimension_minimum (fo_context, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION_OPTIMUM: fo_context_set_block_progression_dimension_optimum (fo_context, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION_MAXIMUM: fo_context_set_block_progression_dimension_maximum (fo_context, g_value_get_object (value)); break; case PROP_BORDER: fo_context_set_border (fo_context, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_context_set_border_after_color (fo_context, g_value_get_object (value)); break; case PROP_BORDER_AFTER_PRECEDENCE: fo_context_set_border_after_precedence (fo_context, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_context_set_border_after_style (fo_context, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_context_set_border_after_width (fo_context, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_context_set_border_before_color (fo_context, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_PRECEDENCE: fo_context_set_border_before_precedence (fo_context, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_context_set_border_before_style (fo_context, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_context_set_border_before_width (fo_context, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM: fo_context_set_border_bottom (fo_context, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_context_set_border_bottom_color (fo_context, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_context_set_border_bottom_style (fo_context, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_context_set_border_bottom_width (fo_context, g_value_get_object (value)); break; case PROP_BORDER_COLLAPSE: fo_context_set_border_collapse (fo_context, g_value_get_object (value)); break; case PROP_BORDER_COLOR: fo_context_set_border_color (fo_context, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_context_set_border_end_color (fo_context, g_value_get_object (value)); break; case PROP_BORDER_END_PRECEDENCE: fo_context_set_border_end_precedence (fo_context, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_context_set_border_end_style (fo_context, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_context_set_border_end_width (fo_context, g_value_get_object (value)); break; case PROP_BORDER_LEFT: fo_context_set_border_left (fo_context, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_context_set_border_left_color (fo_context, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_context_set_border_left_style (fo_context, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_context_set_border_left_width (fo_context, g_value_get_object (value)); break; case PROP_BORDER_RIGHT: fo_context_set_border_right (fo_context, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_context_set_border_right_color (fo_context, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_context_set_border_right_style (fo_context, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_context_set_border_right_width (fo_context, g_value_get_object (value)); break; case PROP_BORDER_SEPARATION: fo_context_set_border_separation (fo_context, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_context_set_border_start_color (fo_context, g_value_get_object (value)); break; case PROP_BORDER_START_PRECEDENCE: fo_context_set_border_start_precedence (fo_context, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_context_set_border_start_style (fo_context, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_context_set_border_start_width (fo_context, g_value_get_object (value)); break; case PROP_BORDER_STYLE: fo_context_set_border_style (fo_context, g_value_get_object (value)); break; case PROP_BORDER_TOP: fo_context_set_border_top (fo_context, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_context_set_border_top_color (fo_context, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_context_set_border_top_style (fo_context, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_context_set_border_top_width (fo_context, g_value_get_object (value)); break; case PROP_BORDER_WIDTH: fo_context_set_border_width (fo_context, g_value_get_object (value)); break; case PROP_BREAK_AFTER: fo_context_set_break_after (fo_context, g_value_get_object (value)); break; case PROP_BREAK_BEFORE: fo_context_set_break_before (fo_context, g_value_get_object (value)); break; case PROP_CHARACTER: fo_context_set_character (fo_context, g_value_get_object (value)); break; case PROP_CLIP: fo_context_set_clip (fo_context, g_value_get_object (value)); break; case PROP_COLOR: fo_context_set_color (fo_context, g_value_get_object (value)); break; case PROP_COLUMN_NUMBER: fo_context_set_column_number (fo_context, g_value_get_object (value)); break; case PROP_COLUMN_WIDTH: fo_context_set_column_width (fo_context, g_value_get_object (value)); break; case PROP_CONTENT_HEIGHT: fo_context_set_content_height (fo_context, g_value_get_object (value)); break; case PROP_CONTENT_TYPE: fo_context_set_content_type (fo_context, g_value_get_object (value)); break; case PROP_CONTENT_WIDTH: fo_context_set_content_width (fo_context, g_value_get_object (value)); break; case PROP_DIRECTION: fo_context_set_direction (fo_context, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_context_set_display_align (fo_context, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_context_set_dominant_baseline (fo_context, g_value_get_object (value)); break; case PROP_END_INDENT: fo_context_set_end_indent (fo_context, g_value_get_object (value)); break; case PROP_EXTENT: fo_context_set_extent (fo_context, g_value_get_object (value)); break; case PROP_FLOW_NAME: fo_context_set_flow_name (fo_context, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_context_set_font_family (fo_context, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_context_set_font_size (fo_context, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_context_set_font_stretch (fo_context, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_context_set_font_style (fo_context, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_context_set_font_variant (fo_context, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_context_set_font_weight (fo_context, g_value_get_object (value)); break; case PROP_FORMAT: fo_context_set_format (fo_context, g_value_get_object (value)); break; case PROP_GROUPING_SEPARATOR: fo_context_set_grouping_separator (fo_context, g_value_get_object (value)); break; case PROP_GROUPING_SIZE: fo_context_set_grouping_size (fo_context, g_value_get_object (value)); break; case PROP_HEIGHT: fo_context_set_height (fo_context, g_value_get_object (value)); break; case PROP_ID: fo_context_set_id (fo_context, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION: fo_context_set_inline_progression_dimension (fo_context, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION_MINIMUM: fo_context_set_inline_progression_dimension_minimum (fo_context, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION_OPTIMUM: fo_context_set_inline_progression_dimension_optimum (fo_context, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION_MAXIMUM: fo_context_set_inline_progression_dimension_maximum (fo_context, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_context_set_keep_together (fo_context, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_context_set_keep_together_within_column (fo_context, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_context_set_keep_together_within_line (fo_context, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_context_set_keep_together_within_page (fo_context, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_context_set_keep_with_next (fo_context, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_context_set_keep_with_next_within_column (fo_context, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_context_set_keep_with_next_within_line (fo_context, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_context_set_keep_with_next_within_page (fo_context, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_context_set_keep_with_previous (fo_context, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_context_set_keep_with_previous_within_column (fo_context, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_context_set_keep_with_previous_within_line (fo_context, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_context_set_keep_with_previous_within_page (fo_context, g_value_get_object (value)); break; case PROP_LETTER_VALUE: fo_context_set_letter_value (fo_context, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_context_set_line_height (fo_context, g_value_get_object (value)); break; case PROP_LINE_STACKING_STRATEGY: fo_context_set_line_stacking_strategy (fo_context, g_value_get_object (value)); break; case PROP_LINEFEED_TREATMENT: fo_context_set_linefeed_treatment (fo_context, g_value_get_object (value)); break; case PROP_MARGIN: fo_context_set_margin (fo_context, g_value_get_object (value)); break; case PROP_MARGIN_BOTTOM: fo_context_set_margin_bottom (fo_context, g_value_get_object (value)); break; case PROP_MARGIN_LEFT: fo_context_set_margin_left (fo_context, g_value_get_object (value)); break; case PROP_MARGIN_RIGHT: fo_context_set_margin_right (fo_context, g_value_get_object (value)); break; case PROP_MARGIN_TOP: fo_context_set_margin_top (fo_context, g_value_get_object (value)); break; case PROP_MASTER_NAME: fo_context_set_master_name (fo_context, g_value_get_object (value)); break; case PROP_MASTER_REFERENCE: fo_context_set_master_reference (fo_context, g_value_get_object (value)); break; case PROP_MEDIA_USAGE: fo_context_set_media_usage (fo_context, g_value_get_object (value)); break; case PROP_NUMBER_COLUMNS_REPEATED: fo_context_set_number_columns_repeated (fo_context, g_value_get_object (value)); break; case PROP_NUMBER_COLUMNS_SPANNED: fo_context_set_number_columns_spanned (fo_context, g_value_get_object (value)); break; case PROP_NUMBER_ROWS_SPANNED: fo_context_set_number_rows_spanned (fo_context, g_value_get_object (value)); break; case PROP_ORPHANS: fo_context_set_orphans (fo_context, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_context_set_overflow (fo_context, g_value_get_object (value)); break; case PROP_PADDING: fo_context_set_padding (fo_context, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_context_set_padding_after (fo_context, g_value_get_object (value)); break; case PROP_PADDING_AFTER_LENGTH: fo_context_set_padding_after_length (fo_context, g_value_get_object (value)); break; case PROP_PADDING_AFTER_CONDITY: fo_context_set_padding_after_condity (fo_context, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_context_set_padding_before (fo_context, g_value_get_object (value)); break; case PROP_PADDING_BEFORE_LENGTH: fo_context_set_padding_before_length (fo_context, g_value_get_object (value)); break; case PROP_PADDING_BEFORE_CONDITY: fo_context_set_padding_before_condity (fo_context, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_context_set_padding_bottom (fo_context, g_value_get_object (value)); break; case PROP_PADDING_END: fo_context_set_padding_end (fo_context, g_value_get_object (value)); break; case PROP_PADDING_END_LENGTH: fo_context_set_padding_end_length (fo_context, g_value_get_object (value)); break; case PROP_PADDING_END_CONDITY: fo_context_set_padding_end_condity (fo_context, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_context_set_padding_left (fo_context, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_context_set_padding_right (fo_context, g_value_get_object (value)); break; case PROP_PADDING_START: fo_context_set_padding_start (fo_context, g_value_get_object (value)); break; case PROP_PADDING_START_LENGTH: fo_context_set_padding_start_length (fo_context, g_value_get_object (value)); break; case PROP_PADDING_START_CONDITY: fo_context_set_padding_start_condity (fo_context, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_context_set_padding_top (fo_context, g_value_get_object (value)); break; case PROP_PAGE_HEIGHT: fo_context_set_page_height (fo_context, g_value_get_object (value)); break; case PROP_PAGE_WIDTH: fo_context_set_page_width (fo_context, g_value_get_object (value)); break; case PROP_PROVISIONAL_DISTANCE_BETWEEN_STARTS: fo_context_set_provisional_distance_between_starts (fo_context, g_value_get_object (value)); break; case PROP_PROVISIONAL_LABEL_SEPARATION: fo_context_set_provisional_label_separation (fo_context, g_value_get_object (value)); break; case PROP_REF_ID: fo_context_set_ref_id (fo_context, g_value_get_object (value)); break; case PROP_REGION_NAME: fo_context_set_region_name (fo_context, g_value_get_object (value)); break; case PROP_ROLE: fo_context_set_role (fo_context, g_value_get_object (value)); break; case PROP_SCALING: fo_context_set_scaling (fo_context, g_value_get_object (value)); break; case PROP_SCALING_METHOD: fo_context_set_scaling_method (fo_context, g_value_get_object (value)); break; case PROP_SCORE_SPACES: fo_context_set_score_spaces (fo_context, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_context_set_source_document (fo_context, g_value_get_object (value)); break; case PROP_SPACE_AFTER: fo_context_set_space_after (fo_context, g_value_get_object (value)); break; case PROP_SPACE_AFTER_MINIMUM: fo_context_set_space_after_minimum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_AFTER_OPTIMUM: fo_context_set_space_after_optimum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_AFTER_MAXIMUM: fo_context_set_space_after_maximum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_AFTER_PRECEDENCE: fo_context_set_space_after_precedence (fo_context, g_value_get_object (value)); break; case PROP_SPACE_AFTER_CONDITY: fo_context_set_space_after_condity (fo_context, g_value_get_object (value)); break; case PROP_SPACE_BEFORE: fo_context_set_space_before (fo_context, g_value_get_object (value)); break; case PROP_SPACE_BEFORE_MINIMUM: fo_context_set_space_before_minimum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_BEFORE_OPTIMUM: fo_context_set_space_before_optimum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_BEFORE_MAXIMUM: fo_context_set_space_before_maximum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_BEFORE_PRECEDENCE: fo_context_set_space_before_precedence (fo_context, g_value_get_object (value)); break; case PROP_SPACE_BEFORE_CONDITY: fo_context_set_space_before_condity (fo_context, g_value_get_object (value)); break; case PROP_SPACE_END: fo_context_set_space_end (fo_context, g_value_get_object (value)); break; case PROP_SPACE_END_MINIMUM: fo_context_set_space_end_minimum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_END_OPTIMUM: fo_context_set_space_end_optimum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_END_MAXIMUM: fo_context_set_space_end_maximum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_END_PRECEDENCE: fo_context_set_space_end_precedence (fo_context, g_value_get_object (value)); break; case PROP_SPACE_END_CONDITY: fo_context_set_space_end_condity (fo_context, g_value_get_object (value)); break; case PROP_SPACE_START: fo_context_set_space_start (fo_context, g_value_get_object (value)); break; case PROP_SPACE_START_MINIMUM: fo_context_set_space_start_minimum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_START_OPTIMUM: fo_context_set_space_start_optimum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_START_MAXIMUM: fo_context_set_space_start_maximum (fo_context, g_value_get_object (value)); break; case PROP_SPACE_START_PRECEDENCE: fo_context_set_space_start_precedence (fo_context, g_value_get_object (value)); break; case PROP_SPACE_START_CONDITY: fo_context_set_space_start_condity (fo_context, g_value_get_object (value)); break; case PROP_SPAN: fo_context_set_span (fo_context, g_value_get_object (value)); break; case PROP_SRC: fo_context_set_src (fo_context, g_value_get_object (value)); break; case PROP_START_INDENT: fo_context_set_start_indent (fo_context, g_value_get_object (value)); break; case PROP_TABLE_LAYOUT: fo_context_set_table_layout (fo_context, g_value_get_object (value)); break; case PROP_TEXT_ALIGN: fo_context_set_text_align (fo_context, g_value_get_object (value)); break; case PROP_TEXT_INDENT: fo_context_set_text_indent (fo_context, g_value_get_object (value)); break; case PROP_UNICODE_BIDI: fo_context_set_unicode_bidi (fo_context, g_value_get_object (value)); break; case PROP_WHITE_SPACE_COLLAPSE: fo_context_set_white_space_collapse (fo_context, g_value_get_object (value)); break; case PROP_WHITE_SPACE_TREATMENT: fo_context_set_white_space_treatment (fo_context, g_value_get_object (value)); break; case PROP_WIDOWS: fo_context_set_widows (fo_context, g_value_get_object (value)); break; case PROP_WIDTH: fo_context_set_width (fo_context, g_value_get_object (value)); break; case PROP_WRAP_OPTION: fo_context_set_wrap_option (fo_context, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_context_set_writing_mode (fo_context, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_context_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: #GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoContext. **/ void fo_context_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoContext *fo_context; fo_context = FO_CONTEXT (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_context_get_alignment_adjust (fo_context))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_context_get_alignment_baseline (fo_context))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_background_color (fo_context))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_context_get_background_image (fo_context))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_context_get_baseline_shift (fo_context))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_context_get_block_progression_dimension (fo_context))); break; case PROP_BLOCK_PROGRESSION_DIMENSION_MINIMUM: g_value_set_object (value, G_OBJECT (fo_context_get_block_progression_dimension_minimum (fo_context))); break; case PROP_BLOCK_PROGRESSION_DIMENSION_OPTIMUM: g_value_set_object (value, G_OBJECT (fo_context_get_block_progression_dimension_optimum (fo_context))); break; case PROP_BLOCK_PROGRESSION_DIMENSION_MAXIMUM: g_value_set_object (value, G_OBJECT (fo_context_get_block_progression_dimension_maximum (fo_context))); break; case PROP_BORDER: g_value_set_object (value, G_OBJECT (fo_context_get_border (fo_context))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_border_after_color (fo_context))); break; case PROP_BORDER_AFTER_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_context_get_border_after_precedence (fo_context))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_border_after_style (fo_context))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_border_after_width (fo_context))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_border_before_color (fo_context))); break; case PROP_BORDER_BEFORE_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_context_get_border_before_precedence (fo_context))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_border_before_style (fo_context))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_border_before_width (fo_context))); break; case PROP_BORDER_BOTTOM: g_value_set_object (value, G_OBJECT (fo_context_get_border_bottom (fo_context))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_border_bottom_color (fo_context))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_border_bottom_style (fo_context))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_border_bottom_width (fo_context))); break; case PROP_BORDER_COLLAPSE: g_value_set_object (value, G_OBJECT (fo_context_get_border_collapse (fo_context))); break; case PROP_BORDER_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_border_color (fo_context))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_border_end_color (fo_context))); break; case PROP_BORDER_END_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_context_get_border_end_precedence (fo_context))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_border_end_style (fo_context))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_border_end_width (fo_context))); break; case PROP_BORDER_LEFT: g_value_set_object (value, G_OBJECT (fo_context_get_border_left (fo_context))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_border_left_color (fo_context))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_border_left_style (fo_context))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_border_left_width (fo_context))); break; case PROP_BORDER_RIGHT: g_value_set_object (value, G_OBJECT (fo_context_get_border_right (fo_context))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_border_right_color (fo_context))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_border_right_style (fo_context))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_border_right_width (fo_context))); break; case PROP_BORDER_SEPARATION: g_value_set_object (value, G_OBJECT (fo_context_get_border_separation (fo_context))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_border_start_color (fo_context))); break; case PROP_BORDER_START_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_context_get_border_start_precedence (fo_context))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_border_start_style (fo_context))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_border_start_width (fo_context))); break; case PROP_BORDER_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_border_style (fo_context))); break; case PROP_BORDER_TOP: g_value_set_object (value, G_OBJECT (fo_context_get_border_top (fo_context))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_border_top_color (fo_context))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_border_top_style (fo_context))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_border_top_width (fo_context))); break; case PROP_BORDER_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_border_width (fo_context))); break; case PROP_BREAK_AFTER: g_value_set_object (value, G_OBJECT (fo_context_get_break_after (fo_context))); break; case PROP_BREAK_BEFORE: g_value_set_object (value, G_OBJECT (fo_context_get_break_before (fo_context))); break; case PROP_CHARACTER: g_value_set_object (value, G_OBJECT (fo_context_get_character (fo_context))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_context_get_clip (fo_context))); break; case PROP_COLOR: g_value_set_object (value, G_OBJECT (fo_context_get_color (fo_context))); break; case PROP_COLUMN_NUMBER: g_value_set_object (value, G_OBJECT (fo_context_get_column_number (fo_context))); break; case PROP_COLUMN_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_column_width (fo_context))); break; case PROP_CONTENT_HEIGHT: g_value_set_object (value, G_OBJECT (fo_context_get_content_height (fo_context))); break; case PROP_CONTENT_TYPE: g_value_set_object (value, G_OBJECT (fo_context_get_content_type (fo_context))); break; case PROP_CONTENT_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_content_width (fo_context))); break; case PROP_DIRECTION: g_value_set_object (value, G_OBJECT (fo_context_get_direction (fo_context))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_context_get_display_align (fo_context))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_context_get_dominant_baseline (fo_context))); break; case PROP_END_INDENT: g_value_set_object (value, G_OBJECT (fo_context_get_end_indent (fo_context))); break; case PROP_EXTENT: g_value_set_object (value, G_OBJECT (fo_context_get_extent (fo_context))); break; case PROP_FLOW_NAME: g_value_set_object (value, G_OBJECT (fo_context_get_flow_name (fo_context))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_context_get_font_family (fo_context))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_context_get_font_size (fo_context))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_context_get_font_stretch (fo_context))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_context_get_font_style (fo_context))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_context_get_font_variant (fo_context))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_context_get_font_weight (fo_context))); break; case PROP_FORMAT: g_value_set_object (value, G_OBJECT (fo_context_get_format (fo_context))); break; case PROP_GROUPING_SEPARATOR: g_value_set_object (value, G_OBJECT (fo_context_get_grouping_separator (fo_context))); break; case PROP_GROUPING_SIZE: g_value_set_object (value, G_OBJECT (fo_context_get_grouping_size (fo_context))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_context_get_height (fo_context))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_context_get_id (fo_context))); break; case PROP_INLINE_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_context_get_inline_progression_dimension (fo_context))); break; case PROP_INLINE_PROGRESSION_DIMENSION_MINIMUM: g_value_set_object (value, G_OBJECT (fo_context_get_inline_progression_dimension_minimum (fo_context))); break; case PROP_INLINE_PROGRESSION_DIMENSION_OPTIMUM: g_value_set_object (value, G_OBJECT (fo_context_get_inline_progression_dimension_optimum (fo_context))); break; case PROP_INLINE_PROGRESSION_DIMENSION_MAXIMUM: g_value_set_object (value, G_OBJECT (fo_context_get_inline_progression_dimension_maximum (fo_context))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_context_get_keep_together (fo_context))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_context_get_keep_together_within_column (fo_context))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_context_get_keep_together_within_line (fo_context))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_context_get_keep_together_within_page (fo_context))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_context_get_keep_with_next (fo_context))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_context_get_keep_with_next_within_column (fo_context))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_context_get_keep_with_next_within_line (fo_context))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_context_get_keep_with_next_within_page (fo_context))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_context_get_keep_with_previous (fo_context))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_context_get_keep_with_previous_within_column (fo_context))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_context_get_keep_with_previous_within_line (fo_context))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_context_get_keep_with_previous_within_page (fo_context))); break; case PROP_LETTER_VALUE: g_value_set_object (value, G_OBJECT (fo_context_get_letter_value (fo_context))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_context_get_line_height (fo_context))); break; case PROP_LINE_STACKING_STRATEGY: g_value_set_object (value, G_OBJECT (fo_context_get_line_stacking_strategy (fo_context))); break; case PROP_LINEFEED_TREATMENT: g_value_set_object (value, G_OBJECT (fo_context_get_linefeed_treatment (fo_context))); break; case PROP_MARGIN: g_value_set_object (value, G_OBJECT (fo_context_get_margin (fo_context))); break; case PROP_MARGIN_BOTTOM: g_value_set_object (value, G_OBJECT (fo_context_get_margin_bottom (fo_context))); break; case PROP_MARGIN_LEFT: g_value_set_object (value, G_OBJECT (fo_context_get_margin_left (fo_context))); break; case PROP_MARGIN_RIGHT: g_value_set_object (value, G_OBJECT (fo_context_get_margin_right (fo_context))); break; case PROP_MARGIN_TOP: g_value_set_object (value, G_OBJECT (fo_context_get_margin_top (fo_context))); break; case PROP_MASTER_NAME: g_value_set_object (value, G_OBJECT (fo_context_get_master_name (fo_context))); break; case PROP_MASTER_REFERENCE: g_value_set_object (value, G_OBJECT (fo_context_get_master_reference (fo_context))); break; case PROP_MEDIA_USAGE: g_value_set_object (value, G_OBJECT (fo_context_get_media_usage (fo_context))); break; case PROP_NUMBER_COLUMNS_REPEATED: g_value_set_object (value, G_OBJECT (fo_context_get_number_columns_repeated (fo_context))); break; case PROP_NUMBER_COLUMNS_SPANNED: g_value_set_object (value, G_OBJECT (fo_context_get_number_columns_spanned (fo_context))); break; case PROP_NUMBER_ROWS_SPANNED: g_value_set_object (value, G_OBJECT (fo_context_get_number_rows_spanned (fo_context))); break; case PROP_ORPHANS: g_value_set_object (value, G_OBJECT (fo_context_get_orphans (fo_context))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_context_get_overflow (fo_context))); break; case PROP_PADDING: g_value_set_object (value, G_OBJECT (fo_context_get_padding (fo_context))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_context_get_padding_after (fo_context))); break; case PROP_PADDING_AFTER_LENGTH: g_value_set_object (value, G_OBJECT (fo_context_get_padding_after_length (fo_context))); break; case PROP_PADDING_AFTER_CONDITY: g_value_set_object (value, G_OBJECT (fo_context_get_padding_after_condity (fo_context))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_context_get_padding_before (fo_context))); break; case PROP_PADDING_BEFORE_LENGTH: g_value_set_object (value, G_OBJECT (fo_context_get_padding_before_length (fo_context))); break; case PROP_PADDING_BEFORE_CONDITY: g_value_set_object (value, G_OBJECT (fo_context_get_padding_before_condity (fo_context))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_context_get_padding_bottom (fo_context))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_context_get_padding_end (fo_context))); break; case PROP_PADDING_END_LENGTH: g_value_set_object (value, G_OBJECT (fo_context_get_padding_end_length (fo_context))); break; case PROP_PADDING_END_CONDITY: g_value_set_object (value, G_OBJECT (fo_context_get_padding_end_condity (fo_context))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_context_get_padding_left (fo_context))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_context_get_padding_right (fo_context))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_context_get_padding_start (fo_context))); break; case PROP_PADDING_START_LENGTH: g_value_set_object (value, G_OBJECT (fo_context_get_padding_start_length (fo_context))); break; case PROP_PADDING_START_CONDITY: g_value_set_object (value, G_OBJECT (fo_context_get_padding_start_condity (fo_context))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_context_get_padding_top (fo_context))); break; case PROP_PAGE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_context_get_page_height (fo_context))); break; case PROP_PAGE_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_page_width (fo_context))); break; case PROP_PROVISIONAL_DISTANCE_BETWEEN_STARTS: g_value_set_object (value, G_OBJECT (fo_context_get_provisional_distance_between_starts (fo_context))); break; case PROP_PROVISIONAL_LABEL_SEPARATION: g_value_set_object (value, G_OBJECT (fo_context_get_provisional_label_separation (fo_context))); break; case PROP_REF_ID: g_value_set_object (value, G_OBJECT (fo_context_get_ref_id (fo_context))); break; case PROP_REGION_NAME: g_value_set_object (value, G_OBJECT (fo_context_get_region_name (fo_context))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_context_get_role (fo_context))); break; case PROP_SCALING: g_value_set_object (value, G_OBJECT (fo_context_get_scaling (fo_context))); break; case PROP_SCALING_METHOD: g_value_set_object (value, G_OBJECT (fo_context_get_scaling_method (fo_context))); break; case PROP_SCORE_SPACES: g_value_set_object (value, G_OBJECT (fo_context_get_score_spaces (fo_context))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_context_get_source_document (fo_context))); break; case PROP_SPACE_AFTER: g_value_set_object (value, G_OBJECT (fo_context_get_space_after (fo_context))); break; case PROP_SPACE_BEFORE: g_value_set_object (value, G_OBJECT (fo_context_get_space_before (fo_context))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_context_get_space_end (fo_context))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_context_get_space_start (fo_context))); break; case PROP_SPAN: g_value_set_object (value, G_OBJECT (fo_context_get_span (fo_context))); break; case PROP_SRC: g_value_set_object (value, G_OBJECT (fo_context_get_src (fo_context))); break; case PROP_START_INDENT: g_value_set_object (value, G_OBJECT (fo_context_get_start_indent (fo_context))); break; case PROP_TABLE_LAYOUT: g_value_set_object (value, G_OBJECT (fo_context_get_table_layout (fo_context))); break; case PROP_TEXT_ALIGN: g_value_set_object (value, G_OBJECT (fo_context_get_text_align (fo_context))); break; case PROP_TEXT_INDENT: g_value_set_object (value, G_OBJECT (fo_context_get_text_indent (fo_context))); break; case PROP_UNICODE_BIDI: g_value_set_object (value, G_OBJECT (fo_context_get_unicode_bidi (fo_context))); break; case PROP_WHITE_SPACE_COLLAPSE: g_value_set_object (value, G_OBJECT (fo_context_get_white_space_collapse (fo_context))); break; case PROP_WHITE_SPACE_TREATMENT: g_value_set_object (value, G_OBJECT (fo_context_get_white_space_treatment (fo_context))); break; case PROP_WIDOWS: g_value_set_object (value, G_OBJECT (fo_context_get_widows (fo_context))); break; case PROP_WIDTH: g_value_set_object (value, G_OBJECT (fo_context_get_width (fo_context))); break; case PROP_WRAP_OPTION: g_value_set_object (value, G_OBJECT (fo_context_get_wrap_option (fo_context))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_context_get_writing_mode (fo_context))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_context_new: * * Creates a new #FoContext initialized to default value. * * Return value: the new #FoContext. **/ FoContext * fo_context_new (void) { FoContext *context; context = FO_CONTEXT (g_object_new (fo_context_get_type (), NULL)); return context; } /** * fo_context_get_alignment_adjust: * @fo_context: The @FoContext object. * * Gets the "alignment-adjust" property of @fo_context. * * Return value: The "alignment-adjust" property value. **/ FoProperty * fo_context_get_alignment_adjust (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->alignment_adjust; } /** * fo_context_set_alignment_adjust: * @fo_context: The #FoContext object. * @new_alignment_adjust: The new "alignment-adjust" property value. * * Sets the "alignment-adjust" property of @fo_context to @new_alignment_adjust. **/ void fo_context_set_alignment_adjust (FoContext *fo_context, FoProperty *new_alignment_adjust) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_alignment_adjust == NULL || FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_context->alignment_adjust != NULL) { g_object_unref (fo_context->alignment_adjust); } fo_context->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_context), "alignment-adjust");*/ } /** * fo_context_get_alignment_baseline: * @fo_context: The @FoContext object. * * Gets the "alignment-baseline" property of @fo_context. * * Return value: The "alignment-baseline" property value. **/ FoProperty * fo_context_get_alignment_baseline (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->alignment_baseline; } /** * fo_context_set_alignment_baseline: * @fo_context: The #FoContext object. * @new_alignment_baseline: The new "alignment-baseline" property value. * * Sets the "alignment-baseline" property of @fo_context to @new_alignment_baseline. **/ void fo_context_set_alignment_baseline (FoContext *fo_context, FoProperty *new_alignment_baseline) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_alignment_baseline == NULL || FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_context->alignment_baseline != NULL) { g_object_unref (fo_context->alignment_baseline); } fo_context->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_context), "alignment-baseline");*/ } /** * fo_context_get_background_color: * @fo_context: The @FoContext object. * * Gets the "background-color" property of @fo_context. * * Return value: The "background-color" property value. **/ FoProperty * fo_context_get_background_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->background_color; } /** * fo_context_set_background_color: * @fo_context: The #FoContext object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_context to @new_background_color. **/ void fo_context_set_background_color (FoContext *fo_context, FoProperty *new_background_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_background_color == NULL || FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_context->background_color != NULL) { g_object_unref (fo_context->background_color); } fo_context->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_context), "background-color");*/ } /** * fo_context_get_background_image: * @fo_context: The @FoContext object. * * Gets the "background-image" property of @fo_context. * * Return value: The "background-image" property value. **/ FoProperty * fo_context_get_background_image (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->background_image; } /** * fo_context_set_background_image: * @fo_context: The #FoContext object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_context to @new_background_image. **/ void fo_context_set_background_image (FoContext *fo_context, FoProperty *new_background_image) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_background_image == NULL || FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_context->background_image != NULL) { g_object_unref (fo_context->background_image); } fo_context->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_context), "background-image");*/ } /** * fo_context_get_baseline_shift: * @fo_context: The @FoContext object. * * Gets the "baseline-shift" property of @fo_context. * * Return value: The "baseline-shift" property value. **/ FoProperty * fo_context_get_baseline_shift (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->baseline_shift; } /** * fo_context_set_baseline_shift: * @fo_context: The #FoContext object. * @new_baseline_shift: The new "baseline-shift" property value. * * Sets the "baseline-shift" property of @fo_context to @new_baseline_shift. **/ void fo_context_set_baseline_shift (FoContext *fo_context, FoProperty *new_baseline_shift) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_baseline_shift == NULL || FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_context->baseline_shift != NULL) { g_object_unref (fo_context->baseline_shift); } fo_context->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_context), "baseline-shift");*/ } /** * fo_context_get_block_progression_dimension: * @fo_context: The @FoContext object. * * Gets the "block-progression-dimension" property of @fo_context. * * Return value: The "block-progression-dimension" property value. **/ FoProperty * fo_context_get_block_progression_dimension (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->block_progression_dimension; } /** * fo_context_set_block_progression_dimension: * @fo_context: The #FoContext object. * @new_block_progression_dimension: The new "block-progression-dimension" property value. * * Sets the "block-progression-dimension" property of @fo_context to @new_block_progression_dimension. **/ void fo_context_set_block_progression_dimension (FoContext *fo_context, FoProperty *new_block_progression_dimension) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_block_progression_dimension == NULL || FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_context->block_progression_dimension != NULL) { g_object_unref (fo_context->block_progression_dimension); } fo_context->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_context), "block-progression-dimension");*/ } /** * fo_context_get_block_progression_dimension_minimum: * @fo_context: The @FoContext object. * * Gets the "block-progression-dimension-minimum" property of @fo_context. * * Return value: The "block-progression-dimension-minimum" property value. **/ FoProperty * fo_context_get_block_progression_dimension_minimum (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->block_progression_dimension_minimum; } /** * fo_context_set_block_progression_dimension_minimum: * @fo_context: The #FoContext object. * @new_block_progression_dimension_minimum: The new "block-progression-dimension-minimum" property value. * * Sets the "block-progression-dimension-minimum" property of @fo_context to @new_block_progression_dimension_minimum. **/ void fo_context_set_block_progression_dimension_minimum (FoContext *fo_context, FoProperty *new_block_progression_dimension_minimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_block_progression_dimension_minimum == NULL || FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM (new_block_progression_dimension_minimum)); if (new_block_progression_dimension_minimum != NULL) { g_object_ref (new_block_progression_dimension_minimum); } if (fo_context->block_progression_dimension_minimum != NULL) { g_object_unref (fo_context->block_progression_dimension_minimum); } fo_context->block_progression_dimension_minimum = new_block_progression_dimension_minimum; /*g_object_notify (G_OBJECT (fo_context), "block-progression-dimension-minimum");*/ } /** * fo_context_get_block_progression_dimension_optimum: * @fo_context: The @FoContext object. * * Gets the "block-progression-dimension-optimum" property of @fo_context. * * Return value: The "block-progression-dimension-optimum" property value. **/ FoProperty * fo_context_get_block_progression_dimension_optimum (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->block_progression_dimension_optimum; } /** * fo_context_set_block_progression_dimension_optimum: * @fo_context: The #FoContext object. * @new_block_progression_dimension_optimum: The new "block-progression-dimension-optimum" property value. * * Sets the "block-progression-dimension-optimum" property of @fo_context to @new_block_progression_dimension_optimum. **/ void fo_context_set_block_progression_dimension_optimum (FoContext *fo_context, FoProperty *new_block_progression_dimension_optimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_block_progression_dimension_optimum == NULL || FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM (new_block_progression_dimension_optimum)); if (new_block_progression_dimension_optimum != NULL) { g_object_ref (new_block_progression_dimension_optimum); } if (fo_context->block_progression_dimension_optimum != NULL) { g_object_unref (fo_context->block_progression_dimension_optimum); } fo_context->block_progression_dimension_optimum = new_block_progression_dimension_optimum; /*g_object_notify (G_OBJECT (fo_context), "block-progression-dimension-optimum");*/ } /** * fo_context_get_block_progression_dimension_maximum: * @fo_context: The @FoContext object. * * Gets the "block-progression-dimension-maximum" property of @fo_context. * * Return value: The "block-progression-dimension-maximum" property value. **/ FoProperty * fo_context_get_block_progression_dimension_maximum (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->block_progression_dimension_maximum; } /** * fo_context_set_block_progression_dimension_maximum: * @fo_context: The #FoContext object. * @new_block_progression_dimension_maximum: The new "block-progression-dimension-maximum" property value. * * Sets the "block-progression-dimension-maximum" property of @fo_context to @new_block_progression_dimension_maximum. **/ void fo_context_set_block_progression_dimension_maximum (FoContext *fo_context, FoProperty *new_block_progression_dimension_maximum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_block_progression_dimension_maximum == NULL || FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM (new_block_progression_dimension_maximum)); if (new_block_progression_dimension_maximum != NULL) { g_object_ref (new_block_progression_dimension_maximum); } if (fo_context->block_progression_dimension_maximum != NULL) { g_object_unref (fo_context->block_progression_dimension_maximum); } fo_context->block_progression_dimension_maximum = new_block_progression_dimension_maximum; /*g_object_notify (G_OBJECT (fo_context), "block-progression-dimension-maximum");*/ } /** * fo_context_get_border: * @fo_context: The @FoContext object. * * Gets the "border" property of @fo_context. * * Return value: The "border" property value. **/ FoProperty * fo_context_get_border (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border; } /** * fo_context_set_border: * @fo_context: The #FoContext object. * @new_border: The new "border" property value. * * Sets the "border" property of @fo_context to @new_border. **/ void fo_context_set_border (FoContext *fo_context, FoProperty *new_border) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border == NULL || FO_IS_PROPERTY_BORDER (new_border)); if (new_border != NULL) { g_object_ref (new_border); } if (fo_context->border != NULL) { g_object_unref (fo_context->border); } fo_context->border = new_border; /*g_object_notify (G_OBJECT (fo_context), "border");*/ } /** * fo_context_get_border_after_color: * @fo_context: The @FoContext object. * * Gets the "border-after-color" property of @fo_context. * * Return value: The "border-after-color" property value. **/ FoProperty * fo_context_get_border_after_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_after_color; } /** * fo_context_set_border_after_color: * @fo_context: The #FoContext object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_context to @new_border_after_color. **/ void fo_context_set_border_after_color (FoContext *fo_context, FoProperty *new_border_after_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_after_color == NULL || FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_context->border_after_color != NULL) { g_object_unref (fo_context->border_after_color); } fo_context->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_context), "border-after-color");*/ } /** * fo_context_get_border_after_precedence: * @fo_context: The @FoContext object. * * Gets the "border-after-precedence" property of @fo_context. * * Return value: The "border-after-precedence" property value. **/ FoProperty * fo_context_get_border_after_precedence (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_after_precedence; } /** * fo_context_set_border_after_precedence: * @fo_context: The #FoContext object. * @new_border_after_precedence: The new "border-after-precedence" property value. * * Sets the "border-after-precedence" property of @fo_context to @new_border_after_precedence. **/ void fo_context_set_border_after_precedence (FoContext *fo_context, FoProperty *new_border_after_precedence) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_after_precedence == NULL || FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE (new_border_after_precedence)); if (new_border_after_precedence != NULL) { g_object_ref (new_border_after_precedence); } if (fo_context->border_after_precedence != NULL) { g_object_unref (fo_context->border_after_precedence); } fo_context->border_after_precedence = new_border_after_precedence; /*g_object_notify (G_OBJECT (fo_context), "border-after-precedence");*/ } /** * fo_context_get_border_after_style: * @fo_context: The @FoContext object. * * Gets the "border-after-style" property of @fo_context. * * Return value: The "border-after-style" property value. **/ FoProperty * fo_context_get_border_after_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_after_style; } /** * fo_context_set_border_after_style: * @fo_context: The #FoContext object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_context to @new_border_after_style. **/ void fo_context_set_border_after_style (FoContext *fo_context, FoProperty *new_border_after_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_after_style == NULL || FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_context->border_after_style != NULL) { g_object_unref (fo_context->border_after_style); } fo_context->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_context), "border-after-style");*/ } /** * fo_context_get_border_after_width: * @fo_context: The @FoContext object. * * Gets the "border-after-width" property of @fo_context. * * Return value: The "border-after-width" property value. **/ FoProperty * fo_context_get_border_after_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_after_width; } /** * fo_context_set_border_after_width: * @fo_context: The #FoContext object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_context to @new_border_after_width. **/ void fo_context_set_border_after_width (FoContext *fo_context, FoProperty *new_border_after_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_after_width == NULL || FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_context->border_after_width != NULL) { g_object_unref (fo_context->border_after_width); } fo_context->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_context), "border-after-width");*/ } /** * fo_context_get_border_before_color: * @fo_context: The @FoContext object. * * Gets the "border-before-color" property of @fo_context. * * Return value: The "border-before-color" property value. **/ FoProperty * fo_context_get_border_before_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_before_color; } /** * fo_context_set_border_before_color: * @fo_context: The #FoContext object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_context to @new_border_before_color. **/ void fo_context_set_border_before_color (FoContext *fo_context, FoProperty *new_border_before_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_before_color == NULL || FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_context->border_before_color != NULL) { g_object_unref (fo_context->border_before_color); } fo_context->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_context), "border-before-color");*/ } /** * fo_context_get_border_before_precedence: * @fo_context: The @FoContext object. * * Gets the "border-before-precedence" property of @fo_context. * * Return value: The "border-before-precedence" property value. **/ FoProperty * fo_context_get_border_before_precedence (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_before_precedence; } /** * fo_context_set_border_before_precedence: * @fo_context: The #FoContext object. * @new_border_before_precedence: The new "border-before-precedence" property value. * * Sets the "border-before-precedence" property of @fo_context to @new_border_before_precedence. **/ void fo_context_set_border_before_precedence (FoContext *fo_context, FoProperty *new_border_before_precedence) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_before_precedence == NULL || FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE (new_border_before_precedence)); if (new_border_before_precedence != NULL) { g_object_ref (new_border_before_precedence); } if (fo_context->border_before_precedence != NULL) { g_object_unref (fo_context->border_before_precedence); } fo_context->border_before_precedence = new_border_before_precedence; /*g_object_notify (G_OBJECT (fo_context), "border-before-precedence");*/ } /** * fo_context_get_border_before_style: * @fo_context: The @FoContext object. * * Gets the "border-before-style" property of @fo_context. * * Return value: The "border-before-style" property value. **/ FoProperty * fo_context_get_border_before_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_before_style; } /** * fo_context_set_border_before_style: * @fo_context: The #FoContext object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_context to @new_border_before_style. **/ void fo_context_set_border_before_style (FoContext *fo_context, FoProperty *new_border_before_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_before_style == NULL || FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_context->border_before_style != NULL) { g_object_unref (fo_context->border_before_style); } fo_context->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_context), "border-before-style");*/ } /** * fo_context_get_border_before_width: * @fo_context: The @FoContext object. * * Gets the "border-before-width" property of @fo_context. * * Return value: The "border-before-width" property value. **/ FoProperty * fo_context_get_border_before_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_before_width; } /** * fo_context_set_border_before_width: * @fo_context: The #FoContext object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_context to @new_border_before_width. **/ void fo_context_set_border_before_width (FoContext *fo_context, FoProperty *new_border_before_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_before_width == NULL || FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_context->border_before_width != NULL) { g_object_unref (fo_context->border_before_width); } fo_context->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_context), "border-before-width");*/ } /** * fo_context_get_border_bottom: * @fo_context: The @FoContext object. * * Gets the "border-bottom" property of @fo_context. * * Return value: The "border-bottom" property value. **/ FoProperty * fo_context_get_border_bottom (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_bottom; } /** * fo_context_set_border_bottom: * @fo_context: The #FoContext object. * @new_border_bottom: The new "border-bottom" property value. * * Sets the "border-bottom" property of @fo_context to @new_border_bottom. **/ void fo_context_set_border_bottom (FoContext *fo_context, FoProperty *new_border_bottom) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_bottom == NULL || FO_IS_PROPERTY_BORDER_BOTTOM (new_border_bottom)); if (new_border_bottom != NULL) { g_object_ref (new_border_bottom); } if (fo_context->border_bottom != NULL) { g_object_unref (fo_context->border_bottom); } fo_context->border_bottom = new_border_bottom; /*g_object_notify (G_OBJECT (fo_context), "border-bottom");*/ } /** * fo_context_get_border_bottom_color: * @fo_context: The @FoContext object. * * Gets the "border-bottom-color" property of @fo_context. * * Return value: The "border-bottom-color" property value. **/ FoProperty * fo_context_get_border_bottom_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_bottom_color; } /** * fo_context_set_border_bottom_color: * @fo_context: The #FoContext object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_context to @new_border_bottom_color. **/ void fo_context_set_border_bottom_color (FoContext *fo_context, FoProperty *new_border_bottom_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_bottom_color == NULL || FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_context->border_bottom_color != NULL) { g_object_unref (fo_context->border_bottom_color); } fo_context->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_context), "border-bottom-color");*/ } /** * fo_context_get_border_bottom_style: * @fo_context: The @FoContext object. * * Gets the "border-bottom-style" property of @fo_context. * * Return value: The "border-bottom-style" property value. **/ FoProperty * fo_context_get_border_bottom_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_bottom_style; } /** * fo_context_set_border_bottom_style: * @fo_context: The #FoContext object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_context to @new_border_bottom_style. **/ void fo_context_set_border_bottom_style (FoContext *fo_context, FoProperty *new_border_bottom_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_bottom_style == NULL || FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_context->border_bottom_style != NULL) { g_object_unref (fo_context->border_bottom_style); } fo_context->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_context), "border-bottom-style");*/ } /** * fo_context_get_border_bottom_width: * @fo_context: The @FoContext object. * * Gets the "border-bottom-width" property of @fo_context. * * Return value: The "border-bottom-width" property value. **/ FoProperty * fo_context_get_border_bottom_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_bottom_width; } /** * fo_context_set_border_bottom_width: * @fo_context: The #FoContext object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_context to @new_border_bottom_width. **/ void fo_context_set_border_bottom_width (FoContext *fo_context, FoProperty *new_border_bottom_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_bottom_width == NULL || FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_context->border_bottom_width != NULL) { g_object_unref (fo_context->border_bottom_width); } fo_context->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_context), "border-bottom-width");*/ } /** * fo_context_get_border_collapse: * @fo_context: The @FoContext object. * * Gets the "border-collapse" property of @fo_context. * * Return value: The "border-collapse" property value. **/ FoProperty * fo_context_get_border_collapse (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_collapse; } /** * fo_context_set_border_collapse: * @fo_context: The #FoContext object. * @new_border_collapse: The new "border-collapse" property value. * * Sets the "border-collapse" property of @fo_context to @new_border_collapse. **/ void fo_context_set_border_collapse (FoContext *fo_context, FoProperty *new_border_collapse) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_collapse == NULL || FO_IS_PROPERTY_BORDER_COLLAPSE (new_border_collapse)); if (new_border_collapse != NULL) { g_object_ref (new_border_collapse); } if (fo_context->border_collapse != NULL) { g_object_unref (fo_context->border_collapse); } fo_context->border_collapse = new_border_collapse; /*g_object_notify (G_OBJECT (fo_context), "border-collapse");*/ } /** * fo_context_get_border_color: * @fo_context: The @FoContext object. * * Gets the "border-color" property of @fo_context. * * Return value: The "border-color" property value. **/ FoProperty * fo_context_get_border_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_color; } /** * fo_context_set_border_color: * @fo_context: The #FoContext object. * @new_border_color: The new "border-color" property value. * * Sets the "border-color" property of @fo_context to @new_border_color. **/ void fo_context_set_border_color (FoContext *fo_context, FoProperty *new_border_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_color == NULL || FO_IS_PROPERTY_BORDER_COLOR (new_border_color)); if (new_border_color != NULL) { g_object_ref (new_border_color); } if (fo_context->border_color != NULL) { g_object_unref (fo_context->border_color); } fo_context->border_color = new_border_color; /*g_object_notify (G_OBJECT (fo_context), "border-color");*/ } /** * fo_context_get_border_end_color: * @fo_context: The @FoContext object. * * Gets the "border-end-color" property of @fo_context. * * Return value: The "border-end-color" property value. **/ FoProperty * fo_context_get_border_end_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_end_color; } /** * fo_context_set_border_end_color: * @fo_context: The #FoContext object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_context to @new_border_end_color. **/ void fo_context_set_border_end_color (FoContext *fo_context, FoProperty *new_border_end_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_end_color == NULL || FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_context->border_end_color != NULL) { g_object_unref (fo_context->border_end_color); } fo_context->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_context), "border-end-color");*/ } /** * fo_context_get_border_end_precedence: * @fo_context: The @FoContext object. * * Gets the "border-end-precedence" property of @fo_context. * * Return value: The "border-end-precedence" property value. **/ FoProperty * fo_context_get_border_end_precedence (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_end_precedence; } /** * fo_context_set_border_end_precedence: * @fo_context: The #FoContext object. * @new_border_end_precedence: The new "border-end-precedence" property value. * * Sets the "border-end-precedence" property of @fo_context to @new_border_end_precedence. **/ void fo_context_set_border_end_precedence (FoContext *fo_context, FoProperty *new_border_end_precedence) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_end_precedence == NULL || FO_IS_PROPERTY_BORDER_END_PRECEDENCE (new_border_end_precedence)); if (new_border_end_precedence != NULL) { g_object_ref (new_border_end_precedence); } if (fo_context->border_end_precedence != NULL) { g_object_unref (fo_context->border_end_precedence); } fo_context->border_end_precedence = new_border_end_precedence; /*g_object_notify (G_OBJECT (fo_context), "border-end-precedence");*/ } /** * fo_context_get_border_end_style: * @fo_context: The @FoContext object. * * Gets the "border-end-style" property of @fo_context. * * Return value: The "border-end-style" property value. **/ FoProperty * fo_context_get_border_end_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_end_style; } /** * fo_context_set_border_end_style: * @fo_context: The #FoContext object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_context to @new_border_end_style. **/ void fo_context_set_border_end_style (FoContext *fo_context, FoProperty *new_border_end_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_end_style == NULL || FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_context->border_end_style != NULL) { g_object_unref (fo_context->border_end_style); } fo_context->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_context), "border-end-style");*/ } /** * fo_context_get_border_end_width: * @fo_context: The @FoContext object. * * Gets the "border-end-width" property of @fo_context. * * Return value: The "border-end-width" property value. **/ FoProperty * fo_context_get_border_end_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_end_width; } /** * fo_context_set_border_end_width: * @fo_context: The #FoContext object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_context to @new_border_end_width. **/ void fo_context_set_border_end_width (FoContext *fo_context, FoProperty *new_border_end_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_end_width == NULL || FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_context->border_end_width != NULL) { g_object_unref (fo_context->border_end_width); } fo_context->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_context), "border-end-width");*/ } /** * fo_context_get_border_left: * @fo_context: The @FoContext object. * * Gets the "border-left" property of @fo_context. * * Return value: The "border-left" property value. **/ FoProperty * fo_context_get_border_left (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_left; } /** * fo_context_set_border_left: * @fo_context: The #FoContext object. * @new_border_left: The new "border-left" property value. * * Sets the "border-left" property of @fo_context to @new_border_left. **/ void fo_context_set_border_left (FoContext *fo_context, FoProperty *new_border_left) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_left == NULL || FO_IS_PROPERTY_BORDER_LEFT (new_border_left)); if (new_border_left != NULL) { g_object_ref (new_border_left); } if (fo_context->border_left != NULL) { g_object_unref (fo_context->border_left); } fo_context->border_left = new_border_left; /*g_object_notify (G_OBJECT (fo_context), "border-left");*/ } /** * fo_context_get_border_left_color: * @fo_context: The @FoContext object. * * Gets the "border-left-color" property of @fo_context. * * Return value: The "border-left-color" property value. **/ FoProperty * fo_context_get_border_left_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_left_color; } /** * fo_context_set_border_left_color: * @fo_context: The #FoContext object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_context to @new_border_left_color. **/ void fo_context_set_border_left_color (FoContext *fo_context, FoProperty *new_border_left_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_left_color == NULL || FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_context->border_left_color != NULL) { g_object_unref (fo_context->border_left_color); } fo_context->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_context), "border-left-color");*/ } /** * fo_context_get_border_left_style: * @fo_context: The @FoContext object. * * Gets the "border-left-style" property of @fo_context. * * Return value: The "border-left-style" property value. **/ FoProperty * fo_context_get_border_left_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_left_style; } /** * fo_context_set_border_left_style: * @fo_context: The #FoContext object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_context to @new_border_left_style. **/ void fo_context_set_border_left_style (FoContext *fo_context, FoProperty *new_border_left_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_left_style == NULL || FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_context->border_left_style != NULL) { g_object_unref (fo_context->border_left_style); } fo_context->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_context), "border-left-style");*/ } /** * fo_context_get_border_left_width: * @fo_context: The @FoContext object. * * Gets the "border-left-width" property of @fo_context. * * Return value: The "border-left-width" property value. **/ FoProperty * fo_context_get_border_left_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_left_width; } /** * fo_context_set_border_left_width: * @fo_context: The #FoContext object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_context to @new_border_left_width. **/ void fo_context_set_border_left_width (FoContext *fo_context, FoProperty *new_border_left_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_left_width == NULL || FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_context->border_left_width != NULL) { g_object_unref (fo_context->border_left_width); } fo_context->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_context), "border-left-width");*/ } /** * fo_context_get_border_right: * @fo_context: The @FoContext object. * * Gets the "border-right" property of @fo_context. * * Return value: The "border-right" property value. **/ FoProperty * fo_context_get_border_right (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_right; } /** * fo_context_set_border_right: * @fo_context: The #FoContext object. * @new_border_right: The new "border-right" property value. * * Sets the "border-right" property of @fo_context to @new_border_right. **/ void fo_context_set_border_right (FoContext *fo_context, FoProperty *new_border_right) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_right == NULL || FO_IS_PROPERTY_BORDER_RIGHT (new_border_right)); if (new_border_right != NULL) { g_object_ref (new_border_right); } if (fo_context->border_right != NULL) { g_object_unref (fo_context->border_right); } fo_context->border_right = new_border_right; /*g_object_notify (G_OBJECT (fo_context), "border-right");*/ } /** * fo_context_get_border_right_color: * @fo_context: The @FoContext object. * * Gets the "border-right-color" property of @fo_context. * * Return value: The "border-right-color" property value. **/ FoProperty * fo_context_get_border_right_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_right_color; } /** * fo_context_set_border_right_color: * @fo_context: The #FoContext object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_context to @new_border_right_color. **/ void fo_context_set_border_right_color (FoContext *fo_context, FoProperty *new_border_right_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_right_color == NULL || FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_context->border_right_color != NULL) { g_object_unref (fo_context->border_right_color); } fo_context->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_context), "border-right-color");*/ } /** * fo_context_get_border_right_style: * @fo_context: The @FoContext object. * * Gets the "border-right-style" property of @fo_context. * * Return value: The "border-right-style" property value. **/ FoProperty * fo_context_get_border_right_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_right_style; } /** * fo_context_set_border_right_style: * @fo_context: The #FoContext object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_context to @new_border_right_style. **/ void fo_context_set_border_right_style (FoContext *fo_context, FoProperty *new_border_right_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_right_style == NULL || FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_context->border_right_style != NULL) { g_object_unref (fo_context->border_right_style); } fo_context->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_context), "border-right-style");*/ } /** * fo_context_get_border_right_width: * @fo_context: The @FoContext object. * * Gets the "border-right-width" property of @fo_context. * * Return value: The "border-right-width" property value. **/ FoProperty * fo_context_get_border_right_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_right_width; } /** * fo_context_set_border_right_width: * @fo_context: The #FoContext object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_context to @new_border_right_width. **/ void fo_context_set_border_right_width (FoContext *fo_context, FoProperty *new_border_right_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_right_width == NULL || FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_context->border_right_width != NULL) { g_object_unref (fo_context->border_right_width); } fo_context->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_context), "border-right-width");*/ } /** * fo_context_get_border_separation: * @fo_context: The @FoContext object. * * Gets the "border-separation" property of @fo_context. * * Return value: The "border-separation" property value. **/ FoProperty * fo_context_get_border_separation (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_separation; } /** * fo_context_set_border_separation: * @fo_context: The #FoContext object. * @new_border_separation: The new "border-separation" property value. * * Sets the "border-separation" property of @fo_context to @new_border_separation. **/ void fo_context_set_border_separation (FoContext *fo_context, FoProperty *new_border_separation) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_separation == NULL || FO_IS_PROPERTY_BORDER_SEPARATION (new_border_separation)); if (new_border_separation != NULL) { g_object_ref (new_border_separation); } if (fo_context->border_separation != NULL) { g_object_unref (fo_context->border_separation); } fo_context->border_separation = new_border_separation; /*g_object_notify (G_OBJECT (fo_context), "border-separation");*/ } /** * fo_context_get_border_start_color: * @fo_context: The @FoContext object. * * Gets the "border-start-color" property of @fo_context. * * Return value: The "border-start-color" property value. **/ FoProperty * fo_context_get_border_start_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_start_color; } /** * fo_context_set_border_start_color: * @fo_context: The #FoContext object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_context to @new_border_start_color. **/ void fo_context_set_border_start_color (FoContext *fo_context, FoProperty *new_border_start_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_start_color == NULL || FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_context->border_start_color != NULL) { g_object_unref (fo_context->border_start_color); } fo_context->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_context), "border-start-color");*/ } /** * fo_context_get_border_start_precedence: * @fo_context: The @FoContext object. * * Gets the "border-start-precedence" property of @fo_context. * * Return value: The "border-start-precedence" property value. **/ FoProperty * fo_context_get_border_start_precedence (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_start_precedence; } /** * fo_context_set_border_start_precedence: * @fo_context: The #FoContext object. * @new_border_start_precedence: The new "border-start-precedence" property value. * * Sets the "border-start-precedence" property of @fo_context to @new_border_start_precedence. **/ void fo_context_set_border_start_precedence (FoContext *fo_context, FoProperty *new_border_start_precedence) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_start_precedence == NULL || FO_IS_PROPERTY_BORDER_START_PRECEDENCE (new_border_start_precedence)); if (new_border_start_precedence != NULL) { g_object_ref (new_border_start_precedence); } if (fo_context->border_start_precedence != NULL) { g_object_unref (fo_context->border_start_precedence); } fo_context->border_start_precedence = new_border_start_precedence; /*g_object_notify (G_OBJECT (fo_context), "border-start-precedence");*/ } /** * fo_context_get_border_start_style: * @fo_context: The @FoContext object. * * Gets the "border-start-style" property of @fo_context. * * Return value: The "border-start-style" property value. **/ FoProperty * fo_context_get_border_start_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_start_style; } /** * fo_context_set_border_start_style: * @fo_context: The #FoContext object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_context to @new_border_start_style. **/ void fo_context_set_border_start_style (FoContext *fo_context, FoProperty *new_border_start_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_start_style == NULL || FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_context->border_start_style != NULL) { g_object_unref (fo_context->border_start_style); } fo_context->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_context), "border-start-style");*/ } /** * fo_context_get_border_start_width: * @fo_context: The @FoContext object. * * Gets the "border-start-width" property of @fo_context. * * Return value: The "border-start-width" property value. **/ FoProperty * fo_context_get_border_start_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_start_width; } /** * fo_context_set_border_start_width: * @fo_context: The #FoContext object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_context to @new_border_start_width. **/ void fo_context_set_border_start_width (FoContext *fo_context, FoProperty *new_border_start_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_start_width == NULL || FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_context->border_start_width != NULL) { g_object_unref (fo_context->border_start_width); } fo_context->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_context), "border-start-width");*/ } /** * fo_context_get_border_style: * @fo_context: The @FoContext object. * * Gets the "border-style" property of @fo_context. * * Return value: The "border-style" property value. **/ FoProperty * fo_context_get_border_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_style; } /** * fo_context_set_border_style: * @fo_context: The #FoContext object. * @new_border_style: The new "border-style" property value. * * Sets the "border-style" property of @fo_context to @new_border_style. **/ void fo_context_set_border_style (FoContext *fo_context, FoProperty *new_border_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_style == NULL || FO_IS_PROPERTY_BORDER_STYLE (new_border_style)); if (new_border_style != NULL) { g_object_ref (new_border_style); } if (fo_context->border_style != NULL) { g_object_unref (fo_context->border_style); } fo_context->border_style = new_border_style; /*g_object_notify (G_OBJECT (fo_context), "border-style");*/ } /** * fo_context_get_border_top: * @fo_context: The @FoContext object. * * Gets the "border-top" property of @fo_context. * * Return value: The "border-top" property value. **/ FoProperty * fo_context_get_border_top (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_top; } /** * fo_context_set_border_top: * @fo_context: The #FoContext object. * @new_border_top: The new "border-top" property value. * * Sets the "border-top" property of @fo_context to @new_border_top. **/ void fo_context_set_border_top (FoContext *fo_context, FoProperty *new_border_top) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_top == NULL || FO_IS_PROPERTY_BORDER_TOP (new_border_top)); if (new_border_top != NULL) { g_object_ref (new_border_top); } if (fo_context->border_top != NULL) { g_object_unref (fo_context->border_top); } fo_context->border_top = new_border_top; /*g_object_notify (G_OBJECT (fo_context), "border-top");*/ } /** * fo_context_get_border_top_color: * @fo_context: The @FoContext object. * * Gets the "border-top-color" property of @fo_context. * * Return value: The "border-top-color" property value. **/ FoProperty * fo_context_get_border_top_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_top_color; } /** * fo_context_set_border_top_color: * @fo_context: The #FoContext object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_context to @new_border_top_color. **/ void fo_context_set_border_top_color (FoContext *fo_context, FoProperty *new_border_top_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_top_color == NULL || FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_context->border_top_color != NULL) { g_object_unref (fo_context->border_top_color); } fo_context->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_context), "border-top-color");*/ } /** * fo_context_get_border_top_style: * @fo_context: The @FoContext object. * * Gets the "border-top-style" property of @fo_context. * * Return value: The "border-top-style" property value. **/ FoProperty * fo_context_get_border_top_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_top_style; } /** * fo_context_set_border_top_style: * @fo_context: The #FoContext object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_context to @new_border_top_style. **/ void fo_context_set_border_top_style (FoContext *fo_context, FoProperty *new_border_top_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_top_style == NULL || FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_context->border_top_style != NULL) { g_object_unref (fo_context->border_top_style); } fo_context->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_context), "border-top-style");*/ } /** * fo_context_get_border_top_width: * @fo_context: The @FoContext object. * * Gets the "border-top-width" property of @fo_context. * * Return value: The "border-top-width" property value. **/ FoProperty * fo_context_get_border_top_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_top_width; } /** * fo_context_set_border_top_width: * @fo_context: The #FoContext object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_context to @new_border_top_width. **/ void fo_context_set_border_top_width (FoContext *fo_context, FoProperty *new_border_top_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_top_width == NULL || FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_context->border_top_width != NULL) { g_object_unref (fo_context->border_top_width); } fo_context->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_context), "border-top-width");*/ } /** * fo_context_get_border_width: * @fo_context: The @FoContext object. * * Gets the "border-width" property of @fo_context. * * Return value: The "border-width" property value. **/ FoProperty * fo_context_get_border_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->border_width; } /** * fo_context_set_border_width: * @fo_context: The #FoContext object. * @new_border_width: The new "border-width" property value. * * Sets the "border-width" property of @fo_context to @new_border_width. **/ void fo_context_set_border_width (FoContext *fo_context, FoProperty *new_border_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_border_width == NULL || FO_IS_PROPERTY_BORDER_WIDTH (new_border_width)); if (new_border_width != NULL) { g_object_ref (new_border_width); } if (fo_context->border_width != NULL) { g_object_unref (fo_context->border_width); } fo_context->border_width = new_border_width; /*g_object_notify (G_OBJECT (fo_context), "border-width");*/ } /** * fo_context_get_break_after: * @fo_context: The @FoContext object. * * Gets the "break-after" property of @fo_context. * * Return value: The "break-after" property value. **/ FoProperty * fo_context_get_break_after (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->break_after; } /** * fo_context_set_break_after: * @fo_context: The #FoContext object. * @new_break_after: The new "break-after" property value. * * Sets the "break-after" property of @fo_context to @new_break_after. **/ void fo_context_set_break_after (FoContext *fo_context, FoProperty *new_break_after) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_break_after == NULL || FO_IS_PROPERTY_BREAK_AFTER (new_break_after)); if (new_break_after != NULL) { g_object_ref (new_break_after); } if (fo_context->break_after != NULL) { g_object_unref (fo_context->break_after); } fo_context->break_after = new_break_after; /*g_object_notify (G_OBJECT (fo_context), "break-after");*/ } /** * fo_context_get_break_before: * @fo_context: The @FoContext object. * * Gets the "break-before" property of @fo_context. * * Return value: The "break-before" property value. **/ FoProperty * fo_context_get_break_before (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->break_before; } /** * fo_context_set_break_before: * @fo_context: The #FoContext object. * @new_break_before: The new "break-before" property value. * * Sets the "break-before" property of @fo_context to @new_break_before. **/ void fo_context_set_break_before (FoContext *fo_context, FoProperty *new_break_before) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_break_before == NULL || FO_IS_PROPERTY_BREAK_BEFORE (new_break_before)); if (new_break_before != NULL) { g_object_ref (new_break_before); } if (fo_context->break_before != NULL) { g_object_unref (fo_context->break_before); } fo_context->break_before = new_break_before; /*g_object_notify (G_OBJECT (fo_context), "break-before");*/ } /** * fo_context_get_character: * @fo_context: The @FoContext object. * * Gets the "character" property of @fo_context. * * Return value: The "character" property value. **/ FoProperty * fo_context_get_character (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->character; } /** * fo_context_set_character: * @fo_context: The #FoContext object. * @new_character: The new "character" property value. * * Sets the "character" property of @fo_context to @new_character. **/ void fo_context_set_character (FoContext *fo_context, FoProperty *new_character) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_character == NULL || FO_IS_PROPERTY_CHARACTER (new_character)); if (new_character != NULL) { g_object_ref (new_character); } if (fo_context->character != NULL) { g_object_unref (fo_context->character); } fo_context->character = new_character; /*g_object_notify (G_OBJECT (fo_context), "character");*/ } /** * fo_context_get_clip: * @fo_context: The @FoContext object. * * Gets the "clip" property of @fo_context. * * Return value: The "clip" property value. **/ FoProperty * fo_context_get_clip (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->clip; } /** * fo_context_set_clip: * @fo_context: The #FoContext object. * @new_clip: The new "clip" property value. * * Sets the "clip" property of @fo_context to @new_clip. **/ void fo_context_set_clip (FoContext *fo_context, FoProperty *new_clip) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_clip == NULL || FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_context->clip != NULL) { g_object_unref (fo_context->clip); } fo_context->clip = new_clip; /*g_object_notify (G_OBJECT (fo_context), "clip");*/ } /** * fo_context_get_color: * @fo_context: The @FoContext object. * * Gets the "color" property of @fo_context. * * Return value: The "color" property value. **/ FoProperty * fo_context_get_color (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->color; } /** * fo_context_set_color: * @fo_context: The #FoContext object. * @new_color: The new "color" property value. * * Sets the "color" property of @fo_context to @new_color. **/ void fo_context_set_color (FoContext *fo_context, FoProperty *new_color) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_color == NULL || FO_IS_PROPERTY_COLOR (new_color)); if (new_color != NULL) { g_object_ref (new_color); } if (fo_context->color != NULL) { g_object_unref (fo_context->color); } fo_context->color = new_color; /*g_object_notify (G_OBJECT (fo_context), "color");*/ } /** * fo_context_get_column_number: * @fo_context: The @FoContext object. * * Gets the "column-number" property of @fo_context. * * Return value: The "column-number" property value. **/ FoProperty * fo_context_get_column_number (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->column_number; } /** * fo_context_set_column_number: * @fo_context: The #FoContext object. * @new_column_number: The new "column-number" property value. * * Sets the "column-number" property of @fo_context to @new_column_number. **/ void fo_context_set_column_number (FoContext *fo_context, FoProperty *new_column_number) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_column_number == NULL || FO_IS_PROPERTY_COLUMN_NUMBER (new_column_number)); if (new_column_number != NULL) { g_object_ref (new_column_number); } if (fo_context->column_number != NULL) { g_object_unref (fo_context->column_number); } fo_context->column_number = new_column_number; /*g_object_notify (G_OBJECT (fo_context), "column-number");*/ } /** * fo_context_get_column_width: * @fo_context: The @FoContext object. * * Gets the "column-width" property of @fo_context. * * Return value: The "column-width" property value. **/ FoProperty * fo_context_get_column_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->column_width; } /** * fo_context_set_column_width: * @fo_context: The #FoContext object. * @new_column_width: The new "column-width" property value. * * Sets the "column-width" property of @fo_context to @new_column_width. **/ void fo_context_set_column_width (FoContext *fo_context, FoProperty *new_column_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_column_width == NULL || FO_IS_PROPERTY_COLUMN_WIDTH (new_column_width)); if (new_column_width != NULL) { g_object_ref (new_column_width); } if (fo_context->column_width != NULL) { g_object_unref (fo_context->column_width); } fo_context->column_width = new_column_width; /*g_object_notify (G_OBJECT (fo_context), "column-width");*/ } /** * fo_context_get_content_height: * @fo_context: The @FoContext object. * * Gets the "content-height" property of @fo_context. * * Return value: The "content-height" property value. **/ FoProperty * fo_context_get_content_height (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->content_height; } /** * fo_context_set_content_height: * @fo_context: The #FoContext object. * @new_content_height: The new "content-height" property value. * * Sets the "content-height" property of @fo_context to @new_content_height. **/ void fo_context_set_content_height (FoContext *fo_context, FoProperty *new_content_height) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_content_height == NULL || FO_IS_PROPERTY_CONTENT_HEIGHT (new_content_height)); if (new_content_height != NULL) { g_object_ref (new_content_height); } if (fo_context->content_height != NULL) { g_object_unref (fo_context->content_height); } fo_context->content_height = new_content_height; /*g_object_notify (G_OBJECT (fo_context), "content-height");*/ } /** * fo_context_get_content_type: * @fo_context: The @FoContext object. * * Gets the "content-type" property of @fo_context. * * Return value: The "content-type" property value. **/ FoProperty * fo_context_get_content_type (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->content_type; } /** * fo_context_set_content_type: * @fo_context: The #FoContext object. * @new_content_type: The new "content-type" property value. * * Sets the "content-type" property of @fo_context to @new_content_type. **/ void fo_context_set_content_type (FoContext *fo_context, FoProperty *new_content_type) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_content_type == NULL || FO_IS_PROPERTY_CONTENT_TYPE (new_content_type)); if (new_content_type != NULL) { g_object_ref (new_content_type); } if (fo_context->content_type != NULL) { g_object_unref (fo_context->content_type); } fo_context->content_type = new_content_type; /*g_object_notify (G_OBJECT (fo_context), "content-type");*/ } /** * fo_context_get_content_width: * @fo_context: The @FoContext object. * * Gets the "content-width" property of @fo_context. * * Return value: The "content-width" property value. **/ FoProperty * fo_context_get_content_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->content_width; } /** * fo_context_set_content_width: * @fo_context: The #FoContext object. * @new_content_width: The new "content-width" property value. * * Sets the "content-width" property of @fo_context to @new_content_width. **/ void fo_context_set_content_width (FoContext *fo_context, FoProperty *new_content_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_content_width == NULL || FO_IS_PROPERTY_CONTENT_WIDTH (new_content_width)); if (new_content_width != NULL) { g_object_ref (new_content_width); } if (fo_context->content_width != NULL) { g_object_unref (fo_context->content_width); } fo_context->content_width = new_content_width; /*g_object_notify (G_OBJECT (fo_context), "content-width");*/ } /** * fo_context_get_direction: * @fo_context: The @FoContext object. * * Gets the "direction" property of @fo_context. * * Return value: The "direction" property value. **/ FoProperty * fo_context_get_direction (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->direction; } /** * fo_context_set_direction: * @fo_context: The #FoContext object. * @new_direction: The new "direction" property value. * * Sets the "direction" property of @fo_context to @new_direction. **/ void fo_context_set_direction (FoContext *fo_context, FoProperty *new_direction) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_direction == NULL || FO_IS_PROPERTY_DIRECTION (new_direction)); if (new_direction != NULL) { g_object_ref (new_direction); } if (fo_context->direction != NULL) { g_object_unref (fo_context->direction); } fo_context->direction = new_direction; /*g_object_notify (G_OBJECT (fo_context), "direction");*/ } /** * fo_context_get_display_align: * @fo_context: The @FoContext object. * * Gets the "display-align" property of @fo_context. * * Return value: The "display-align" property value. **/ FoProperty * fo_context_get_display_align (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->display_align; } /** * fo_context_set_display_align: * @fo_context: The #FoContext object. * @new_display_align: The new "display-align" property value. * * Sets the "display-align" property of @fo_context to @new_display_align. **/ void fo_context_set_display_align (FoContext *fo_context, FoProperty *new_display_align) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_display_align == NULL || FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_context->display_align != NULL) { g_object_unref (fo_context->display_align); } fo_context->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_context), "display-align");*/ } /** * fo_context_get_dominant_baseline: * @fo_context: The @FoContext object. * * Gets the "dominant-baseline" property of @fo_context. * * Return value: The "dominant-baseline" property value. **/ FoProperty * fo_context_get_dominant_baseline (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->dominant_baseline; } /** * fo_context_set_dominant_baseline: * @fo_context: The #FoContext object. * @new_dominant_baseline: The new "dominant-baseline" property value. * * Sets the "dominant-baseline" property of @fo_context to @new_dominant_baseline. **/ void fo_context_set_dominant_baseline (FoContext *fo_context, FoProperty *new_dominant_baseline) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_dominant_baseline == NULL || FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_context->dominant_baseline != NULL) { g_object_unref (fo_context->dominant_baseline); } fo_context->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_context), "dominant-baseline");*/ } /** * fo_context_get_end_indent: * @fo_context: The @FoContext object. * * Gets the "end-indent" property of @fo_context. * * Return value: The "end-indent" property value. **/ FoProperty * fo_context_get_end_indent (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->end_indent; } /** * fo_context_set_end_indent: * @fo_context: The #FoContext object. * @new_end_indent: The new "end-indent" property value. * * Sets the "end-indent" property of @fo_context to @new_end_indent. **/ void fo_context_set_end_indent (FoContext *fo_context, FoProperty *new_end_indent) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_end_indent == NULL || FO_IS_PROPERTY_END_INDENT (new_end_indent)); if (new_end_indent != NULL) { g_object_ref (new_end_indent); } if (fo_context->end_indent != NULL) { g_object_unref (fo_context->end_indent); } fo_context->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_context), "end-indent");*/ } /** * fo_context_get_extent: * @fo_context: The @FoContext object. * * Gets the "extent" property of @fo_context. * * Return value: The "extent" property value. **/ FoProperty * fo_context_get_extent (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->extent; } /** * fo_context_set_extent: * @fo_context: The #FoContext object. * @new_extent: The new "extent" property value. * * Sets the "extent" property of @fo_context to @new_extent. **/ void fo_context_set_extent (FoContext *fo_context, FoProperty *new_extent) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_extent == NULL || FO_IS_PROPERTY_EXTENT (new_extent)); if (new_extent != NULL) { g_object_ref (new_extent); } if (fo_context->extent != NULL) { g_object_unref (fo_context->extent); } fo_context->extent = new_extent; /*g_object_notify (G_OBJECT (fo_context), "extent");*/ } /** * fo_context_get_flow_name: * @fo_context: The @FoContext object. * * Gets the "flow-name" property of @fo_context. * * Return value: The "flow-name" property value. **/ FoProperty * fo_context_get_flow_name (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->flow_name; } /** * fo_context_set_flow_name: * @fo_context: The #FoContext object. * @new_flow_name: The new "flow-name" property value. * * Sets the "flow-name" property of @fo_context to @new_flow_name. **/ void fo_context_set_flow_name (FoContext *fo_context, FoProperty *new_flow_name) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_flow_name == NULL || FO_IS_PROPERTY_FLOW_NAME (new_flow_name)); if (new_flow_name != NULL) { g_object_ref (new_flow_name); } if (fo_context->flow_name != NULL) { g_object_unref (fo_context->flow_name); } fo_context->flow_name = new_flow_name; /*g_object_notify (G_OBJECT (fo_context), "flow-name");*/ } /** * fo_context_get_font_family: * @fo_context: The @FoContext object. * * Gets the "font-family" property of @fo_context. * * Return value: The "font-family" property value. **/ FoProperty * fo_context_get_font_family (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->font_family; } /** * fo_context_set_font_family: * @fo_context: The #FoContext object. * @new_font_family: The new "font-family" property value. * * Sets the "font-family" property of @fo_context to @new_font_family. **/ void fo_context_set_font_family (FoContext *fo_context, FoProperty *new_font_family) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_font_family == NULL || FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family != NULL) { g_object_ref (new_font_family); } if (fo_context->font_family != NULL) { g_object_unref (fo_context->font_family); } fo_context->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_context), "font-family");*/ } /** * fo_context_get_font_size: * @fo_context: The @FoContext object. * * Gets the "font-size" property of @fo_context. * * Return value: The "font-size" property value. **/ FoProperty * fo_context_get_font_size (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->font_size; } /** * fo_context_set_font_size: * @fo_context: The #FoContext object. * @new_font_size: The new "font-size" property value. * * Sets the "font-size" property of @fo_context to @new_font_size. **/ void fo_context_set_font_size (FoContext *fo_context, FoProperty *new_font_size) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_font_size == NULL || FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size != NULL) { g_object_ref (new_font_size); } if (fo_context->font_size != NULL) { g_object_unref (fo_context->font_size); } fo_context->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_context), "font-size");*/ } /** * fo_context_get_font_stretch: * @fo_context: The @FoContext object. * * Gets the "font-stretch" property of @fo_context. * * Return value: The "font-stretch" property value. **/ FoProperty * fo_context_get_font_stretch (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->font_stretch; } /** * fo_context_set_font_stretch: * @fo_context: The #FoContext object. * @new_font_stretch: The new "font-stretch" property value. * * Sets the "font-stretch" property of @fo_context to @new_font_stretch. **/ void fo_context_set_font_stretch (FoContext *fo_context, FoProperty *new_font_stretch) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_font_stretch == NULL || FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch != NULL) { g_object_ref (new_font_stretch); } if (fo_context->font_stretch != NULL) { g_object_unref (fo_context->font_stretch); } fo_context->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_context), "font-stretch");*/ } /** * fo_context_get_font_style: * @fo_context: The @FoContext object. * * Gets the "font-style" property of @fo_context. * * Return value: The "font-style" property value. **/ FoProperty * fo_context_get_font_style (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->font_style; } /** * fo_context_set_font_style: * @fo_context: The #FoContext object. * @new_font_style: The new "font-style" property value. * * Sets the "font-style" property of @fo_context to @new_font_style. **/ void fo_context_set_font_style (FoContext *fo_context, FoProperty *new_font_style) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_font_style == NULL || FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style != NULL) { g_object_ref (new_font_style); } if (fo_context->font_style != NULL) { g_object_unref (fo_context->font_style); } fo_context->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_context), "font-style");*/ } /** * fo_context_get_font_variant: * @fo_context: The @FoContext object. * * Gets the "font-variant" property of @fo_context. * * Return value: The "font-variant" property value. **/ FoProperty * fo_context_get_font_variant (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->font_variant; } /** * fo_context_set_font_variant: * @fo_context: The #FoContext object. * @new_font_variant: The new "font-variant" property value. * * Sets the "font-variant" property of @fo_context to @new_font_variant. **/ void fo_context_set_font_variant (FoContext *fo_context, FoProperty *new_font_variant) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_font_variant == NULL || FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant != NULL) { g_object_ref (new_font_variant); } if (fo_context->font_variant != NULL) { g_object_unref (fo_context->font_variant); } fo_context->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_context), "font-variant");*/ } /** * fo_context_get_font_weight: * @fo_context: The @FoContext object. * * Gets the "font-weight" property of @fo_context. * * Return value: The "font-weight" property value. **/ FoProperty * fo_context_get_font_weight (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->font_weight; } /** * fo_context_set_font_weight: * @fo_context: The #FoContext object. * @new_font_weight: The new "font-weight" property value. * * Sets the "font-weight" property of @fo_context to @new_font_weight. **/ void fo_context_set_font_weight (FoContext *fo_context, FoProperty *new_font_weight) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_font_weight == NULL || FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight != NULL) { g_object_ref (new_font_weight); } if (fo_context->font_weight != NULL) { g_object_unref (fo_context->font_weight); } fo_context->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_context), "font-weight");*/ } /** * fo_context_get_format: * @fo_context: The @FoContext object. * * Gets the "format" property of @fo_context. * * Return value: The "format" property value. **/ FoProperty * fo_context_get_format (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->format; } /** * fo_context_set_format: * @fo_context: The #FoContext object. * @new_format: The new "format" property value. * * Sets the "format" property of @fo_context to @new_format. **/ void fo_context_set_format (FoContext *fo_context, FoProperty *new_format) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_format == NULL || FO_IS_PROPERTY_FORMAT (new_format)); if (new_format != NULL) { g_object_ref (new_format); } if (fo_context->format != NULL) { g_object_unref (fo_context->format); } fo_context->format = new_format; /*g_object_notify (G_OBJECT (fo_context), "format");*/ } /** * fo_context_get_grouping_separator: * @fo_context: The @FoContext object. * * Gets the "grouping-separator" property of @fo_context. * * Return value: The "grouping-separator" property value. **/ FoProperty * fo_context_get_grouping_separator (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->grouping_separator; } /** * fo_context_set_grouping_separator: * @fo_context: The #FoContext object. * @new_grouping_separator: The new "grouping-separator" property value. * * Sets the "grouping-separator" property of @fo_context to @new_grouping_separator. **/ void fo_context_set_grouping_separator (FoContext *fo_context, FoProperty *new_grouping_separator) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_grouping_separator == NULL || FO_IS_PROPERTY_GROUPING_SEPARATOR (new_grouping_separator)); if (new_grouping_separator != NULL) { g_object_ref (new_grouping_separator); } if (fo_context->grouping_separator != NULL) { g_object_unref (fo_context->grouping_separator); } fo_context->grouping_separator = new_grouping_separator; /*g_object_notify (G_OBJECT (fo_context), "grouping-separator");*/ } /** * fo_context_get_grouping_size: * @fo_context: The @FoContext object. * * Gets the "grouping-size" property of @fo_context. * * Return value: The "grouping-size" property value. **/ FoProperty * fo_context_get_grouping_size (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->grouping_size; } /** * fo_context_set_grouping_size: * @fo_context: The #FoContext object. * @new_grouping_size: The new "grouping-size" property value. * * Sets the "grouping-size" property of @fo_context to @new_grouping_size. **/ void fo_context_set_grouping_size (FoContext *fo_context, FoProperty *new_grouping_size) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_grouping_size == NULL || FO_IS_PROPERTY_GROUPING_SIZE (new_grouping_size)); if (new_grouping_size != NULL) { g_object_ref (new_grouping_size); } if (fo_context->grouping_size != NULL) { g_object_unref (fo_context->grouping_size); } fo_context->grouping_size = new_grouping_size; /*g_object_notify (G_OBJECT (fo_context), "grouping-size");*/ } /** * fo_context_get_height: * @fo_context: The @FoContext object. * * Gets the "height" property of @fo_context. * * Return value: The "height" property value. **/ FoProperty * fo_context_get_height (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->height; } /** * fo_context_set_height: * @fo_context: The #FoContext object. * @new_height: The new "height" property value. * * Sets the "height" property of @fo_context to @new_height. **/ void fo_context_set_height (FoContext *fo_context, FoProperty *new_height) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_height == NULL || FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_context->height != NULL) { g_object_unref (fo_context->height); } fo_context->height = new_height; /*g_object_notify (G_OBJECT (fo_context), "height");*/ } /** * fo_context_get_id: * @fo_context: The @FoContext object. * * Gets the "id" property of @fo_context. * * Return value: The "id" property value. **/ FoProperty * fo_context_get_id (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->id; } /** * fo_context_set_id: * @fo_context: The #FoContext object. * @new_id: The new "id" property value. * * Sets the "id" property of @fo_context to @new_id. **/ void fo_context_set_id (FoContext *fo_context, FoProperty *new_id) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_id == NULL || FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_context->id != NULL) { g_object_unref (fo_context->id); } fo_context->id = new_id; /*g_object_notify (G_OBJECT (fo_context), "id");*/ } /** * fo_context_get_inline_progression_dimension: * @fo_context: The @FoContext object. * * Gets the "inline-progression-dimension" property of @fo_context. * * Return value: The "inline-progression-dimension" property value. **/ FoProperty * fo_context_get_inline_progression_dimension (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->inline_progression_dimension; } /** * fo_context_set_inline_progression_dimension: * @fo_context: The #FoContext object. * @new_inline_progression_dimension: The new "inline-progression-dimension" property value. * * Sets the "inline-progression-dimension" property of @fo_context to @new_inline_progression_dimension. **/ void fo_context_set_inline_progression_dimension (FoContext *fo_context, FoProperty *new_inline_progression_dimension) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_inline_progression_dimension == NULL || FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (new_inline_progression_dimension)); if (new_inline_progression_dimension != NULL) { g_object_ref (new_inline_progression_dimension); } if (fo_context->inline_progression_dimension != NULL) { g_object_unref (fo_context->inline_progression_dimension); } fo_context->inline_progression_dimension = new_inline_progression_dimension; /*g_object_notify (G_OBJECT (fo_context), "inline-progression-dimension");*/ } /** * fo_context_get_inline_progression_dimension_minimum: * @fo_context: The @FoContext object. * * Gets the "inline-progression-dimension-minimum" property of @fo_context. * * Return value: The "inline-progression-dimension-minimum" property value. **/ FoProperty * fo_context_get_inline_progression_dimension_minimum (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->inline_progression_dimension_minimum; } /** * fo_context_set_inline_progression_dimension_minimum: * @fo_context: The #FoContext object. * @new_inline_progression_dimension_minimum: The new "inline-progression-dimension-minimum" property value. * * Sets the "inline-progression-dimension-minimum" property of @fo_context to @new_inline_progression_dimension_minimum. **/ void fo_context_set_inline_progression_dimension_minimum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_minimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_inline_progression_dimension_minimum == NULL || FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM (new_inline_progression_dimension_minimum)); if (new_inline_progression_dimension_minimum != NULL) { g_object_ref (new_inline_progression_dimension_minimum); } if (fo_context->inline_progression_dimension_minimum != NULL) { g_object_unref (fo_context->inline_progression_dimension_minimum); } fo_context->inline_progression_dimension_minimum = new_inline_progression_dimension_minimum; /*g_object_notify (G_OBJECT (fo_context), "inline-progression-dimension-minimum");*/ } /** * fo_context_get_inline_progression_dimension_optimum: * @fo_context: The @FoContext object. * * Gets the "inline-progression-dimension-optimum" property of @fo_context. * * Return value: The "inline-progression-dimension-optimum" property value. **/ FoProperty * fo_context_get_inline_progression_dimension_optimum (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->inline_progression_dimension_optimum; } /** * fo_context_set_inline_progression_dimension_optimum: * @fo_context: The #FoContext object. * @new_inline_progression_dimension_optimum: The new "inline-progression-dimension-optimum" property value. * * Sets the "inline-progression-dimension-optimum" property of @fo_context to @new_inline_progression_dimension_optimum. **/ void fo_context_set_inline_progression_dimension_optimum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_optimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_inline_progression_dimension_optimum == NULL || FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM (new_inline_progression_dimension_optimum)); if (new_inline_progression_dimension_optimum != NULL) { g_object_ref (new_inline_progression_dimension_optimum); } if (fo_context->inline_progression_dimension_optimum != NULL) { g_object_unref (fo_context->inline_progression_dimension_optimum); } fo_context->inline_progression_dimension_optimum = new_inline_progression_dimension_optimum; /*g_object_notify (G_OBJECT (fo_context), "inline-progression-dimension-optimum");*/ } /** * fo_context_get_inline_progression_dimension_maximum: * @fo_context: The @FoContext object. * * Gets the "inline-progression-dimension-maximum" property of @fo_context. * * Return value: The "inline-progression-dimension-maximum" property value. **/ FoProperty * fo_context_get_inline_progression_dimension_maximum (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->inline_progression_dimension_maximum; } /** * fo_context_set_inline_progression_dimension_maximum: * @fo_context: The #FoContext object. * @new_inline_progression_dimension_maximum: The new "inline-progression-dimension-maximum" property value. * * Sets the "inline-progression-dimension-maximum" property of @fo_context to @new_inline_progression_dimension_maximum. **/ void fo_context_set_inline_progression_dimension_maximum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_maximum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_inline_progression_dimension_maximum == NULL || FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM (new_inline_progression_dimension_maximum)); if (new_inline_progression_dimension_maximum != NULL) { g_object_ref (new_inline_progression_dimension_maximum); } if (fo_context->inline_progression_dimension_maximum != NULL) { g_object_unref (fo_context->inline_progression_dimension_maximum); } fo_context->inline_progression_dimension_maximum = new_inline_progression_dimension_maximum; /*g_object_notify (G_OBJECT (fo_context), "inline-progression-dimension-maximum");*/ } /** * fo_context_get_keep_together: * @fo_context: The @FoContext object. * * Gets the "keep-together" property of @fo_context. * * Return value: The "keep-together" property value. **/ FoProperty * fo_context_get_keep_together (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_together; } /** * fo_context_set_keep_together: * @fo_context: The #FoContext object. * @new_keep_together: The new "keep-together" property value. * * Sets the "keep-together" property of @fo_context to @new_keep_together. **/ void fo_context_set_keep_together (FoContext *fo_context, FoProperty *new_keep_together) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_together == NULL || FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_context->keep_together != NULL) { g_object_unref (fo_context->keep_together); } fo_context->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_context), "keep-together");*/ } /** * fo_context_get_keep_together_within_column: * @fo_context: The @FoContext object. * * Gets the "keep-together-within-column" property of @fo_context. * * Return value: The "keep-together-within-column" property value. **/ FoProperty * fo_context_get_keep_together_within_column (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_together_within_column; } /** * fo_context_set_keep_together_within_column: * @fo_context: The #FoContext object. * @new_keep_together_within_column: The new "keep-together-within-column" property value. * * Sets the "keep-together-within-column" property of @fo_context to @new_keep_together_within_column. **/ void fo_context_set_keep_together_within_column (FoContext *fo_context, FoProperty *new_keep_together_within_column) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_together_within_column == NULL || FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_context->keep_together_within_column != NULL) { g_object_unref (fo_context->keep_together_within_column); } fo_context->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_context), "keep-together-within-column");*/ } /** * fo_context_get_keep_together_within_line: * @fo_context: The @FoContext object. * * Gets the "keep-together-within-line" property of @fo_context. * * Return value: The "keep-together-within-line" property value. **/ FoProperty * fo_context_get_keep_together_within_line (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_together_within_line; } /** * fo_context_set_keep_together_within_line: * @fo_context: The #FoContext object. * @new_keep_together_within_line: The new "keep-together-within-line" property value. * * Sets the "keep-together-within-line" property of @fo_context to @new_keep_together_within_line. **/ void fo_context_set_keep_together_within_line (FoContext *fo_context, FoProperty *new_keep_together_within_line) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_together_within_line == NULL || FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_context->keep_together_within_line != NULL) { g_object_unref (fo_context->keep_together_within_line); } fo_context->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_context), "keep-together-within-line");*/ } /** * fo_context_get_keep_together_within_page: * @fo_context: The @FoContext object. * * Gets the "keep-together-within-page" property of @fo_context. * * Return value: The "keep-together-within-page" property value. **/ FoProperty * fo_context_get_keep_together_within_page (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_together_within_page; } /** * fo_context_set_keep_together_within_page: * @fo_context: The #FoContext object. * @new_keep_together_within_page: The new "keep-together-within-page" property value. * * Sets the "keep-together-within-page" property of @fo_context to @new_keep_together_within_page. **/ void fo_context_set_keep_together_within_page (FoContext *fo_context, FoProperty *new_keep_together_within_page) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_together_within_page == NULL || FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_context->keep_together_within_page != NULL) { g_object_unref (fo_context->keep_together_within_page); } fo_context->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_context), "keep-together-within-page");*/ } /** * fo_context_get_keep_with_next: * @fo_context: The @FoContext object. * * Gets the "keep-with-next" property of @fo_context. * * Return value: The "keep-with-next" property value. **/ FoProperty * fo_context_get_keep_with_next (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_with_next; } /** * fo_context_set_keep_with_next: * @fo_context: The #FoContext object. * @new_keep_with_next: The new "keep-with-next" property value. * * Sets the "keep-with-next" property of @fo_context to @new_keep_with_next. **/ void fo_context_set_keep_with_next (FoContext *fo_context, FoProperty *new_keep_with_next) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_with_next == NULL || FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_context->keep_with_next != NULL) { g_object_unref (fo_context->keep_with_next); } fo_context->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_context), "keep-with-next");*/ } /** * fo_context_get_keep_with_next_within_column: * @fo_context: The @FoContext object. * * Gets the "keep-with-next-within-column" property of @fo_context. * * Return value: The "keep-with-next-within-column" property value. **/ FoProperty * fo_context_get_keep_with_next_within_column (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_with_next_within_column; } /** * fo_context_set_keep_with_next_within_column: * @fo_context: The #FoContext object. * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value. * * Sets the "keep-with-next-within-column" property of @fo_context to @new_keep_with_next_within_column. **/ void fo_context_set_keep_with_next_within_column (FoContext *fo_context, FoProperty *new_keep_with_next_within_column) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_with_next_within_column == NULL || FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_context->keep_with_next_within_column != NULL) { g_object_unref (fo_context->keep_with_next_within_column); } fo_context->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_context), "keep-with-next-within-column");*/ } /** * fo_context_get_keep_with_next_within_line: * @fo_context: The @FoContext object. * * Gets the "keep-with-next-within-line" property of @fo_context. * * Return value: The "keep-with-next-within-line" property value. **/ FoProperty * fo_context_get_keep_with_next_within_line (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_with_next_within_line; } /** * fo_context_set_keep_with_next_within_line: * @fo_context: The #FoContext object. * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value. * * Sets the "keep-with-next-within-line" property of @fo_context to @new_keep_with_next_within_line. **/ void fo_context_set_keep_with_next_within_line (FoContext *fo_context, FoProperty *new_keep_with_next_within_line) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_with_next_within_line == NULL || FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_context->keep_with_next_within_line != NULL) { g_object_unref (fo_context->keep_with_next_within_line); } fo_context->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_context), "keep-with-next-within-line");*/ } /** * fo_context_get_keep_with_next_within_page: * @fo_context: The @FoContext object. * * Gets the "keep-with-next-within-page" property of @fo_context. * * Return value: The "keep-with-next-within-page" property value. **/ FoProperty * fo_context_get_keep_with_next_within_page (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_with_next_within_page; } /** * fo_context_set_keep_with_next_within_page: * @fo_context: The #FoContext object. * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value. * * Sets the "keep-with-next-within-page" property of @fo_context to @new_keep_with_next_within_page. **/ void fo_context_set_keep_with_next_within_page (FoContext *fo_context, FoProperty *new_keep_with_next_within_page) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_with_next_within_page == NULL || FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_context->keep_with_next_within_page != NULL) { g_object_unref (fo_context->keep_with_next_within_page); } fo_context->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_context), "keep-with-next-within-page");*/ } /** * fo_context_get_keep_with_previous: * @fo_context: The @FoContext object. * * Gets the "keep-with-previous" property of @fo_context. * * Return value: The "keep-with-previous" property value. **/ FoProperty * fo_context_get_keep_with_previous (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_with_previous; } /** * fo_context_set_keep_with_previous: * @fo_context: The #FoContext object. * @new_keep_with_previous: The new "keep-with-previous" property value. * * Sets the "keep-with-previous" property of @fo_context to @new_keep_with_previous. **/ void fo_context_set_keep_with_previous (FoContext *fo_context, FoProperty *new_keep_with_previous) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_with_previous == NULL || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_context->keep_with_previous != NULL) { g_object_unref (fo_context->keep_with_previous); } fo_context->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_context), "keep-with-previous");*/ } /** * fo_context_get_keep_with_previous_within_column: * @fo_context: The @FoContext object. * * Gets the "keep-with-previous-within-column" property of @fo_context. * * Return value: The "keep-with-previous-within-column" property value. **/ FoProperty * fo_context_get_keep_with_previous_within_column (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_with_previous_within_column; } /** * fo_context_set_keep_with_previous_within_column: * @fo_context: The #FoContext object. * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value. * * Sets the "keep-with-previous-within-column" property of @fo_context to @new_keep_with_previous_within_column. **/ void fo_context_set_keep_with_previous_within_column (FoContext *fo_context, FoProperty *new_keep_with_previous_within_column) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_with_previous_within_column == NULL || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_context->keep_with_previous_within_column != NULL) { g_object_unref (fo_context->keep_with_previous_within_column); } fo_context->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_context), "keep-with-previous-within-column");*/ } /** * fo_context_get_keep_with_previous_within_line: * @fo_context: The @FoContext object. * * Gets the "keep-with-previous-within-line" property of @fo_context. * * Return value: The "keep-with-previous-within-line" property value. **/ FoProperty * fo_context_get_keep_with_previous_within_line (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_with_previous_within_line; } /** * fo_context_set_keep_with_previous_within_line: * @fo_context: The #FoContext object. * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value. * * Sets the "keep-with-previous-within-line" property of @fo_context to @new_keep_with_previous_within_line. **/ void fo_context_set_keep_with_previous_within_line (FoContext *fo_context, FoProperty *new_keep_with_previous_within_line) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_with_previous_within_line == NULL || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_context->keep_with_previous_within_line != NULL) { g_object_unref (fo_context->keep_with_previous_within_line); } fo_context->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_context), "keep-with-previous-within-line");*/ } /** * fo_context_get_keep_with_previous_within_page: * @fo_context: The @FoContext object. * * Gets the "keep-with-previous-within-page" property of @fo_context. * * Return value: The "keep-with-previous-within-page" property value. **/ FoProperty * fo_context_get_keep_with_previous_within_page (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->keep_with_previous_within_page; } /** * fo_context_set_keep_with_previous_within_page: * @fo_context: The #FoContext object. * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value. * * Sets the "keep-with-previous-within-page" property of @fo_context to @new_keep_with_previous_within_page. **/ void fo_context_set_keep_with_previous_within_page (FoContext *fo_context, FoProperty *new_keep_with_previous_within_page) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_keep_with_previous_within_page == NULL || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_context->keep_with_previous_within_page != NULL) { g_object_unref (fo_context->keep_with_previous_within_page); } fo_context->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_context), "keep-with-previous-within-page");*/ } /** * fo_context_get_letter_value: * @fo_context: The @FoContext object. * * Gets the "letter-value" property of @fo_context. * * Return value: The "letter-value" property value. **/ FoProperty * fo_context_get_letter_value (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->letter_value; } /** * fo_context_set_letter_value: * @fo_context: The #FoContext object. * @new_letter_value: The new "letter-value" property value. * * Sets the "letter-value" property of @fo_context to @new_letter_value. **/ void fo_context_set_letter_value (FoContext *fo_context, FoProperty *new_letter_value) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_letter_value == NULL || FO_IS_PROPERTY_LETTER_VALUE (new_letter_value)); if (new_letter_value != NULL) { g_object_ref (new_letter_value); } if (fo_context->letter_value != NULL) { g_object_unref (fo_context->letter_value); } fo_context->letter_value = new_letter_value; /*g_object_notify (G_OBJECT (fo_context), "letter-value");*/ } /** * fo_context_get_line_height: * @fo_context: The @FoContext object. * * Gets the "line-height" property of @fo_context. * * Return value: The "line-height" property value. **/ FoProperty * fo_context_get_line_height (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->line_height; } /** * fo_context_set_line_height: * @fo_context: The #FoContext object. * @new_line_height: The new "line-height" property value. * * Sets the "line-height" property of @fo_context to @new_line_height. **/ void fo_context_set_line_height (FoContext *fo_context, FoProperty *new_line_height) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_line_height == NULL || FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_context->line_height != NULL) { g_object_unref (fo_context->line_height); } fo_context->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_context), "line-height");*/ } /** * fo_context_get_line_stacking_strategy: * @fo_context: The @FoContext object. * * Gets the "line-stacking-strategy" property of @fo_context. * * Return value: The "line-stacking-strategy" property value. **/ FoProperty * fo_context_get_line_stacking_strategy (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->line_stacking_strategy; } /** * fo_context_set_line_stacking_strategy: * @fo_context: The #FoContext object. * @new_line_stacking_strategy: The new "line-stacking-strategy" property value. * * Sets the "line-stacking-strategy" property of @fo_context to @new_line_stacking_strategy. **/ void fo_context_set_line_stacking_strategy (FoContext *fo_context, FoProperty *new_line_stacking_strategy) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_line_stacking_strategy == NULL || FO_IS_PROPERTY_LINE_STACKING_STRATEGY (new_line_stacking_strategy)); if (new_line_stacking_strategy != NULL) { g_object_ref (new_line_stacking_strategy); } if (fo_context->line_stacking_strategy != NULL) { g_object_unref (fo_context->line_stacking_strategy); } fo_context->line_stacking_strategy = new_line_stacking_strategy; /*g_object_notify (G_OBJECT (fo_context), "line-stacking-strategy");*/ } /** * fo_context_get_linefeed_treatment: * @fo_context: The @FoContext object. * * Gets the "linefeed-treatment" property of @fo_context. * * Return value: The "linefeed-treatment" property value. **/ FoProperty * fo_context_get_linefeed_treatment (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->linefeed_treatment; } /** * fo_context_set_linefeed_treatment: * @fo_context: The #FoContext object. * @new_linefeed_treatment: The new "linefeed-treatment" property value. * * Sets the "linefeed-treatment" property of @fo_context to @new_linefeed_treatment. **/ void fo_context_set_linefeed_treatment (FoContext *fo_context, FoProperty *new_linefeed_treatment) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_linefeed_treatment == NULL || FO_IS_PROPERTY_LINEFEED_TREATMENT (new_linefeed_treatment)); if (new_linefeed_treatment != NULL) { g_object_ref (new_linefeed_treatment); } if (fo_context->linefeed_treatment != NULL) { g_object_unref (fo_context->linefeed_treatment); } fo_context->linefeed_treatment = new_linefeed_treatment; /*g_object_notify (G_OBJECT (fo_context), "linefeed-treatment");*/ } /** * fo_context_get_margin: * @fo_context: The @FoContext object. * * Gets the "margin" property of @fo_context. * * Return value: The "margin" property value. **/ FoProperty * fo_context_get_margin (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->margin; } /** * fo_context_set_margin: * @fo_context: The #FoContext object. * @new_margin: The new "margin" property value. * * Sets the "margin" property of @fo_context to @new_margin. **/ void fo_context_set_margin (FoContext *fo_context, FoProperty *new_margin) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_margin == NULL || FO_IS_PROPERTY_MARGIN (new_margin)); if (new_margin != NULL) { g_object_ref (new_margin); } if (fo_context->margin != NULL) { g_object_unref (fo_context->margin); } fo_context->margin = new_margin; /*g_object_notify (G_OBJECT (fo_context), "margin");*/ } /** * fo_context_get_margin_bottom: * @fo_context: The @FoContext object. * * Gets the "margin-bottom" property of @fo_context. * * Return value: The "margin-bottom" property value. **/ FoProperty * fo_context_get_margin_bottom (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->margin_bottom; } /** * fo_context_set_margin_bottom: * @fo_context: The #FoContext object. * @new_margin_bottom: The new "margin-bottom" property value. * * Sets the "margin-bottom" property of @fo_context to @new_margin_bottom. **/ void fo_context_set_margin_bottom (FoContext *fo_context, FoProperty *new_margin_bottom) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_margin_bottom == NULL || FO_IS_PROPERTY_MARGIN_BOTTOM (new_margin_bottom)); if (new_margin_bottom != NULL) { g_object_ref (new_margin_bottom); } if (fo_context->margin_bottom != NULL) { g_object_unref (fo_context->margin_bottom); } fo_context->margin_bottom = new_margin_bottom; /*g_object_notify (G_OBJECT (fo_context), "margin-bottom");*/ } /** * fo_context_get_margin_left: * @fo_context: The @FoContext object. * * Gets the "margin-left" property of @fo_context. * * Return value: The "margin-left" property value. **/ FoProperty * fo_context_get_margin_left (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->margin_left; } /** * fo_context_set_margin_left: * @fo_context: The #FoContext object. * @new_margin_left: The new "margin-left" property value. * * Sets the "margin-left" property of @fo_context to @new_margin_left. **/ void fo_context_set_margin_left (FoContext *fo_context, FoProperty *new_margin_left) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_margin_left == NULL || FO_IS_PROPERTY_MARGIN_LEFT (new_margin_left)); if (new_margin_left != NULL) { g_object_ref (new_margin_left); } if (fo_context->margin_left != NULL) { g_object_unref (fo_context->margin_left); } fo_context->margin_left = new_margin_left; /*g_object_notify (G_OBJECT (fo_context), "margin-left");*/ } /** * fo_context_get_margin_right: * @fo_context: The @FoContext object. * * Gets the "margin-right" property of @fo_context. * * Return value: The "margin-right" property value. **/ FoProperty * fo_context_get_margin_right (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->margin_right; } /** * fo_context_set_margin_right: * @fo_context: The #FoContext object. * @new_margin_right: The new "margin-right" property value. * * Sets the "margin-right" property of @fo_context to @new_margin_right. **/ void fo_context_set_margin_right (FoContext *fo_context, FoProperty *new_margin_right) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_margin_right == NULL || FO_IS_PROPERTY_MARGIN_RIGHT (new_margin_right)); if (new_margin_right != NULL) { g_object_ref (new_margin_right); } if (fo_context->margin_right != NULL) { g_object_unref (fo_context->margin_right); } fo_context->margin_right = new_margin_right; /*g_object_notify (G_OBJECT (fo_context), "margin-right");*/ } /** * fo_context_get_margin_top: * @fo_context: The @FoContext object. * * Gets the "margin-top" property of @fo_context. * * Return value: The "margin-top" property value. **/ FoProperty * fo_context_get_margin_top (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->margin_top; } /** * fo_context_set_margin_top: * @fo_context: The #FoContext object. * @new_margin_top: The new "margin-top" property value. * * Sets the "margin-top" property of @fo_context to @new_margin_top. **/ void fo_context_set_margin_top (FoContext *fo_context, FoProperty *new_margin_top) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_margin_top == NULL || FO_IS_PROPERTY_MARGIN_TOP (new_margin_top)); if (new_margin_top != NULL) { g_object_ref (new_margin_top); } if (fo_context->margin_top != NULL) { g_object_unref (fo_context->margin_top); } fo_context->margin_top = new_margin_top; /*g_object_notify (G_OBJECT (fo_context), "margin-top");*/ } /** * fo_context_get_master_name: * @fo_context: The @FoContext object. * * Gets the "master-name" property of @fo_context. * * Return value: The "master-name" property value. **/ FoProperty * fo_context_get_master_name (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->master_name; } /** * fo_context_set_master_name: * @fo_context: The #FoContext object. * @new_master_name: The new "master-name" property value. * * Sets the "master-name" property of @fo_context to @new_master_name. **/ void fo_context_set_master_name (FoContext *fo_context, FoProperty *new_master_name) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_master_name == NULL || FO_IS_PROPERTY_MASTER_NAME (new_master_name)); if (new_master_name != NULL) { g_object_ref (new_master_name); } if (fo_context->master_name != NULL) { g_object_unref (fo_context->master_name); } fo_context->master_name = new_master_name; /*g_object_notify (G_OBJECT (fo_context), "master-name");*/ } /** * fo_context_get_master_reference: * @fo_context: The @FoContext object. * * Gets the "master-reference" property of @fo_context. * * Return value: The "master-reference" property value. **/ FoProperty * fo_context_get_master_reference (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->master_reference; } /** * fo_context_set_master_reference: * @fo_context: The #FoContext object. * @new_master_reference: The new "master-reference" property value. * * Sets the "master-reference" property of @fo_context to @new_master_reference. **/ void fo_context_set_master_reference (FoContext *fo_context, FoProperty *new_master_reference) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_master_reference == NULL || FO_IS_PROPERTY_MASTER_REFERENCE (new_master_reference)); if (new_master_reference != NULL) { g_object_ref (new_master_reference); } if (fo_context->master_reference != NULL) { g_object_unref (fo_context->master_reference); } fo_context->master_reference = new_master_reference; /*g_object_notify (G_OBJECT (fo_context), "master-reference");*/ } /** * fo_context_get_media_usage: * @fo_context: The @FoContext object. * * Gets the "media-usage" property of @fo_context. * * Return value: The "media-usage" property value. **/ FoProperty * fo_context_get_media_usage (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->media_usage; } /** * fo_context_set_media_usage: * @fo_context: The #FoContext object. * @new_media_usage: The new "media-usage" property value. * * Sets the "media-usage" property of @fo_context to @new_media_usage. **/ void fo_context_set_media_usage (FoContext *fo_context, FoProperty *new_media_usage) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_media_usage == NULL || FO_IS_PROPERTY_MEDIA_USAGE (new_media_usage)); if (new_media_usage != NULL) { g_object_ref (new_media_usage); } if (fo_context->media_usage != NULL) { g_object_unref (fo_context->media_usage); } fo_context->media_usage = new_media_usage; /*g_object_notify (G_OBJECT (fo_context), "media-usage");*/ } /** * fo_context_get_number_columns_repeated: * @fo_context: The @FoContext object. * * Gets the "number-columns-repeated" property of @fo_context. * * Return value: The "number-columns-repeated" property value. **/ FoProperty * fo_context_get_number_columns_repeated (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->number_columns_repeated; } /** * fo_context_set_number_columns_repeated: * @fo_context: The #FoContext object. * @new_number_columns_repeated: The new "number-columns-repeated" property value. * * Sets the "number-columns-repeated" property of @fo_context to @new_number_columns_repeated. **/ void fo_context_set_number_columns_repeated (FoContext *fo_context, FoProperty *new_number_columns_repeated) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_number_columns_repeated == NULL || FO_IS_PROPERTY_NUMBER_COLUMNS_REPEATED (new_number_columns_repeated)); if (new_number_columns_repeated != NULL) { g_object_ref (new_number_columns_repeated); } if (fo_context->number_columns_repeated != NULL) { g_object_unref (fo_context->number_columns_repeated); } fo_context->number_columns_repeated = new_number_columns_repeated; /*g_object_notify (G_OBJECT (fo_context), "number-columns-repeated");*/ } /** * fo_context_get_number_columns_spanned: * @fo_context: The @FoContext object. * * Gets the "number-columns-spanned" property of @fo_context. * * Return value: The "number-columns-spanned" property value. **/ FoProperty * fo_context_get_number_columns_spanned (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->number_columns_spanned; } /** * fo_context_set_number_columns_spanned: * @fo_context: The #FoContext object. * @new_number_columns_spanned: The new "number-columns-spanned" property value. * * Sets the "number-columns-spanned" property of @fo_context to @new_number_columns_spanned. **/ void fo_context_set_number_columns_spanned (FoContext *fo_context, FoProperty *new_number_columns_spanned) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_number_columns_spanned == NULL || FO_IS_PROPERTY_NUMBER_COLUMNS_SPANNED (new_number_columns_spanned)); if (new_number_columns_spanned != NULL) { g_object_ref (new_number_columns_spanned); } if (fo_context->number_columns_spanned != NULL) { g_object_unref (fo_context->number_columns_spanned); } fo_context->number_columns_spanned = new_number_columns_spanned; /*g_object_notify (G_OBJECT (fo_context), "number-columns-spanned");*/ } /** * fo_context_get_number_rows_spanned: * @fo_context: The @FoContext object. * * Gets the "number-rows-spanned" property of @fo_context. * * Return value: The "number-rows-spanned" property value. **/ FoProperty * fo_context_get_number_rows_spanned (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->number_rows_spanned; } /** * fo_context_set_number_rows_spanned: * @fo_context: The #FoContext object. * @new_number_rows_spanned: The new "number-rows-spanned" property value. * * Sets the "number-rows-spanned" property of @fo_context to @new_number_rows_spanned. **/ void fo_context_set_number_rows_spanned (FoContext *fo_context, FoProperty *new_number_rows_spanned) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_number_rows_spanned == NULL || FO_IS_PROPERTY_NUMBER_ROWS_SPANNED (new_number_rows_spanned)); if (new_number_rows_spanned != NULL) { g_object_ref (new_number_rows_spanned); } if (fo_context->number_rows_spanned != NULL) { g_object_unref (fo_context->number_rows_spanned); } fo_context->number_rows_spanned = new_number_rows_spanned; /*g_object_notify (G_OBJECT (fo_context), "number-rows-spanned");*/ } /** * fo_context_get_orphans: * @fo_context: The @FoContext object. * * Gets the "orphans" property of @fo_context. * * Return value: The "orphans" property value. **/ FoProperty * fo_context_get_orphans (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->orphans; } /** * fo_context_set_orphans: * @fo_context: The #FoContext object. * @new_orphans: The new "orphans" property value. * * Sets the "orphans" property of @fo_context to @new_orphans. **/ void fo_context_set_orphans (FoContext *fo_context, FoProperty *new_orphans) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_orphans == NULL || FO_IS_PROPERTY_ORPHANS (new_orphans)); if (new_orphans != NULL) { g_object_ref (new_orphans); } if (fo_context->orphans != NULL) { g_object_unref (fo_context->orphans); } fo_context->orphans = new_orphans; /*g_object_notify (G_OBJECT (fo_context), "orphans");*/ } /** * fo_context_get_overflow: * @fo_context: The @FoContext object. * * Gets the "overflow" property of @fo_context. * * Return value: The "overflow" property value. **/ FoProperty * fo_context_get_overflow (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->overflow; } /** * fo_context_set_overflow: * @fo_context: The #FoContext object. * @new_overflow: The new "overflow" property value. * * Sets the "overflow" property of @fo_context to @new_overflow. **/ void fo_context_set_overflow (FoContext *fo_context, FoProperty *new_overflow) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_overflow == NULL || FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_context->overflow != NULL) { g_object_unref (fo_context->overflow); } fo_context->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_context), "overflow");*/ } /** * fo_context_get_padding: * @fo_context: The @FoContext object. * * Gets the "padding" property of @fo_context. * * Return value: The "padding" property value. **/ FoProperty * fo_context_get_padding (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding; } /** * fo_context_set_padding: * @fo_context: The #FoContext object. * @new_padding: The new "padding" property value. * * Sets the "padding" property of @fo_context to @new_padding. **/ void fo_context_set_padding (FoContext *fo_context, FoProperty *new_padding) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding == NULL || FO_IS_PROPERTY_PADDING (new_padding)); if (new_padding != NULL) { g_object_ref (new_padding); } if (fo_context->padding != NULL) { g_object_unref (fo_context->padding); } fo_context->padding = new_padding; /*g_object_notify (G_OBJECT (fo_context), "padding");*/ } /** * fo_context_get_padding_after: * @fo_context: The @FoContext object. * * Gets the "padding-after" property of @fo_context. * * Return value: The "padding-after" property value. **/ FoProperty * fo_context_get_padding_after (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_after; } /** * fo_context_set_padding_after: * @fo_context: The #FoContext object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_context to @new_padding_after. **/ void fo_context_set_padding_after (FoContext *fo_context, FoProperty *new_padding_after) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_after == NULL || FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_context->padding_after != NULL) { g_object_unref (fo_context->padding_after); } fo_context->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_context), "padding-after");*/ } /** * fo_context_get_padding_after_length: * @fo_context: The @FoContext object. * * Gets the "padding-after-length" property of @fo_context. * * Return value: The "padding-after-length" property value. **/ FoProperty * fo_context_get_padding_after_length (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_after_length; } /** * fo_context_set_padding_after_length: * @fo_context: The #FoContext object. * @new_padding_after_length: The new "padding-after-length" property value. * * Sets the "padding-after-length" property of @fo_context to @new_padding_after_length. **/ void fo_context_set_padding_after_length (FoContext *fo_context, FoProperty *new_padding_after_length) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_after_length == NULL || FO_IS_PROPERTY_PADDING_AFTER_LENGTH (new_padding_after_length)); if (new_padding_after_length != NULL) { g_object_ref (new_padding_after_length); } if (fo_context->padding_after_length != NULL) { g_object_unref (fo_context->padding_after_length); } fo_context->padding_after_length = new_padding_after_length; /*g_object_notify (G_OBJECT (fo_context), "padding-after-length");*/ } /** * fo_context_get_padding_after_condity: * @fo_context: The @FoContext object. * * Gets the "padding-after-conditionality" property of @fo_context. * * Return value: The "padding-after-conditionality" property value. **/ FoProperty * fo_context_get_padding_after_condity (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_after_condity; } /** * fo_context_set_padding_after_condity: * @fo_context: The #FoContext object. * @new_padding_after_condity: The new "padding-after-conditionality" property value. * * Sets the "padding-after-conditionality" property of @fo_context to @new_padding_after_condity. **/ void fo_context_set_padding_after_condity (FoContext *fo_context, FoProperty *new_padding_after_condity) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_after_condity == NULL || FO_IS_PROPERTY_PADDING_AFTER_CONDITY (new_padding_after_condity)); if (new_padding_after_condity != NULL) { g_object_ref (new_padding_after_condity); } if (fo_context->padding_after_condity != NULL) { g_object_unref (fo_context->padding_after_condity); } fo_context->padding_after_condity = new_padding_after_condity; /*g_object_notify (G_OBJECT (fo_context), "padding-after-conditionality");*/ } /** * fo_context_get_padding_before: * @fo_context: The @FoContext object. * * Gets the "padding-before" property of @fo_context. * * Return value: The "padding-before" property value. **/ FoProperty * fo_context_get_padding_before (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_before; } /** * fo_context_set_padding_before: * @fo_context: The #FoContext object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_context to @new_padding_before. **/ void fo_context_set_padding_before (FoContext *fo_context, FoProperty *new_padding_before) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_before == NULL || FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_context->padding_before != NULL) { g_object_unref (fo_context->padding_before); } fo_context->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_context), "padding-before");*/ } /** * fo_context_get_padding_before_length: * @fo_context: The @FoContext object. * * Gets the "padding-before-length" property of @fo_context. * * Return value: The "padding-before-length" property value. **/ FoProperty * fo_context_get_padding_before_length (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_before_length; } /** * fo_context_set_padding_before_length: * @fo_context: The #FoContext object. * @new_padding_before_length: The new "padding-before-length" property value. * * Sets the "padding-before-length" property of @fo_context to @new_padding_before_length. **/ void fo_context_set_padding_before_length (FoContext *fo_context, FoProperty *new_padding_before_length) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_before_length == NULL || FO_IS_PROPERTY_PADDING_BEFORE_LENGTH (new_padding_before_length)); if (new_padding_before_length != NULL) { g_object_ref (new_padding_before_length); } if (fo_context->padding_before_length != NULL) { g_object_unref (fo_context->padding_before_length); } fo_context->padding_before_length = new_padding_before_length; /*g_object_notify (G_OBJECT (fo_context), "padding-before-length");*/ } /** * fo_context_get_padding_before_condity: * @fo_context: The @FoContext object. * * Gets the "padding-before-conditionality" property of @fo_context. * * Return value: The "padding-before-conditionality" property value. **/ FoProperty * fo_context_get_padding_before_condity (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_before_condity; } /** * fo_context_set_padding_before_condity: * @fo_context: The #FoContext object. * @new_padding_before_condity: The new "padding-before-conditionality" property value. * * Sets the "padding-before-conditionality" property of @fo_context to @new_padding_before_condity. **/ void fo_context_set_padding_before_condity (FoContext *fo_context, FoProperty *new_padding_before_condity) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_before_condity == NULL || FO_IS_PROPERTY_PADDING_BEFORE_CONDITY (new_padding_before_condity)); if (new_padding_before_condity != NULL) { g_object_ref (new_padding_before_condity); } if (fo_context->padding_before_condity != NULL) { g_object_unref (fo_context->padding_before_condity); } fo_context->padding_before_condity = new_padding_before_condity; /*g_object_notify (G_OBJECT (fo_context), "padding-before-conditionality");*/ } /** * fo_context_get_padding_bottom: * @fo_context: The @FoContext object. * * Gets the "padding-bottom" property of @fo_context. * * Return value: The "padding-bottom" property value. **/ FoProperty * fo_context_get_padding_bottom (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_bottom; } /** * fo_context_set_padding_bottom: * @fo_context: The #FoContext object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_context to @new_padding_bottom. **/ void fo_context_set_padding_bottom (FoContext *fo_context, FoProperty *new_padding_bottom) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_bottom == NULL || FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_context->padding_bottom != NULL) { g_object_unref (fo_context->padding_bottom); } fo_context->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_context), "padding-bottom");*/ } /** * fo_context_get_padding_end: * @fo_context: The @FoContext object. * * Gets the "padding-end" property of @fo_context. * * Return value: The "padding-end" property value. **/ FoProperty * fo_context_get_padding_end (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_end; } /** * fo_context_set_padding_end: * @fo_context: The #FoContext object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_context to @new_padding_end. **/ void fo_context_set_padding_end (FoContext *fo_context, FoProperty *new_padding_end) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_end == NULL || FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_context->padding_end != NULL) { g_object_unref (fo_context->padding_end); } fo_context->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_context), "padding-end");*/ } /** * fo_context_get_padding_end_length: * @fo_context: The @FoContext object. * * Gets the "padding-end-length" property of @fo_context. * * Return value: The "padding-end-length" property value. **/ FoProperty * fo_context_get_padding_end_length (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_end_length; } /** * fo_context_set_padding_end_length: * @fo_context: The #FoContext object. * @new_padding_end_length: The new "padding-end-length" property value. * * Sets the "padding-end-length" property of @fo_context to @new_padding_end_length. **/ void fo_context_set_padding_end_length (FoContext *fo_context, FoProperty *new_padding_end_length) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_end_length == NULL || FO_IS_PROPERTY_PADDING_END_LENGTH (new_padding_end_length)); if (new_padding_end_length != NULL) { g_object_ref (new_padding_end_length); } if (fo_context->padding_end_length != NULL) { g_object_unref (fo_context->padding_end_length); } fo_context->padding_end_length = new_padding_end_length; /*g_object_notify (G_OBJECT (fo_context), "padding-end-length");*/ } /** * fo_context_get_padding_end_condity: * @fo_context: The @FoContext object. * * Gets the "padding-end-conditionality" property of @fo_context. * * Return value: The "padding-end-conditionality" property value. **/ FoProperty * fo_context_get_padding_end_condity (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_end_condity; } /** * fo_context_set_padding_end_condity: * @fo_context: The #FoContext object. * @new_padding_end_condity: The new "padding-end-conditionality" property value. * * Sets the "padding-end-conditionality" property of @fo_context to @new_padding_end_condity. **/ void fo_context_set_padding_end_condity (FoContext *fo_context, FoProperty *new_padding_end_condity) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_end_condity == NULL || FO_IS_PROPERTY_PADDING_END_CONDITY (new_padding_end_condity)); if (new_padding_end_condity != NULL) { g_object_ref (new_padding_end_condity); } if (fo_context->padding_end_condity != NULL) { g_object_unref (fo_context->padding_end_condity); } fo_context->padding_end_condity = new_padding_end_condity; /*g_object_notify (G_OBJECT (fo_context), "padding-end-conditionality");*/ } /** * fo_context_get_padding_left: * @fo_context: The @FoContext object. * * Gets the "padding-left" property of @fo_context. * * Return value: The "padding-left" property value. **/ FoProperty * fo_context_get_padding_left (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_left; } /** * fo_context_set_padding_left: * @fo_context: The #FoContext object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_context to @new_padding_left. **/ void fo_context_set_padding_left (FoContext *fo_context, FoProperty *new_padding_left) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_left == NULL || FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_context->padding_left != NULL) { g_object_unref (fo_context->padding_left); } fo_context->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_context), "padding-left");*/ } /** * fo_context_get_padding_right: * @fo_context: The @FoContext object. * * Gets the "padding-right" property of @fo_context. * * Return value: The "padding-right" property value. **/ FoProperty * fo_context_get_padding_right (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_right; } /** * fo_context_set_padding_right: * @fo_context: The #FoContext object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_context to @new_padding_right. **/ void fo_context_set_padding_right (FoContext *fo_context, FoProperty *new_padding_right) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_right == NULL || FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_context->padding_right != NULL) { g_object_unref (fo_context->padding_right); } fo_context->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_context), "padding-right");*/ } /** * fo_context_get_padding_start: * @fo_context: The @FoContext object. * * Gets the "padding-start" property of @fo_context. * * Return value: The "padding-start" property value. **/ FoProperty * fo_context_get_padding_start (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_start; } /** * fo_context_set_padding_start: * @fo_context: The #FoContext object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_context to @new_padding_start. **/ void fo_context_set_padding_start (FoContext *fo_context, FoProperty *new_padding_start) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_start == NULL || FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_context->padding_start != NULL) { g_object_unref (fo_context->padding_start); } fo_context->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_context), "padding-start");*/ } /** * fo_context_get_padding_start_length: * @fo_context: The @FoContext object. * * Gets the "padding-start-length" property of @fo_context. * * Return value: The "padding-start-length" property value. **/ FoProperty * fo_context_get_padding_start_length (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_start_length; } /** * fo_context_set_padding_start_length: * @fo_context: The #FoContext object. * @new_padding_start_length: The new "padding-start-length" property value. * * Sets the "padding-start-length" property of @fo_context to @new_padding_start_length. **/ void fo_context_set_padding_start_length (FoContext *fo_context, FoProperty *new_padding_start_length) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_start_length == NULL || FO_IS_PROPERTY_PADDING_START_LENGTH (new_padding_start_length)); if (new_padding_start_length != NULL) { g_object_ref (new_padding_start_length); } if (fo_context->padding_start_length != NULL) { g_object_unref (fo_context->padding_start_length); } fo_context->padding_start_length = new_padding_start_length; /*g_object_notify (G_OBJECT (fo_context), "padding-start-length");*/ } /** * fo_context_get_padding_start_condity: * @fo_context: The @FoContext object. * * Gets the "padding-start-conditionality" property of @fo_context. * * Return value: The "padding-start-conditionality" property value. **/ FoProperty * fo_context_get_padding_start_condity (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_start_condity; } /** * fo_context_set_padding_start_condity: * @fo_context: The #FoContext object. * @new_padding_start_condity: The new "padding-start-conditionality" property value. * * Sets the "padding-start-conditionality" property of @fo_context to @new_padding_start_condity. **/ void fo_context_set_padding_start_condity (FoContext *fo_context, FoProperty *new_padding_start_condity) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_start_condity == NULL || FO_IS_PROPERTY_PADDING_START_CONDITY (new_padding_start_condity)); if (new_padding_start_condity != NULL) { g_object_ref (new_padding_start_condity); } if (fo_context->padding_start_condity != NULL) { g_object_unref (fo_context->padding_start_condity); } fo_context->padding_start_condity = new_padding_start_condity; /*g_object_notify (G_OBJECT (fo_context), "padding-start-conditionality");*/ } /** * fo_context_get_padding_top: * @fo_context: The @FoContext object. * * Gets the "padding-top" property of @fo_context. * * Return value: The "padding-top" property value. **/ FoProperty * fo_context_get_padding_top (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->padding_top; } /** * fo_context_set_padding_top: * @fo_context: The #FoContext object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_context to @new_padding_top. **/ void fo_context_set_padding_top (FoContext *fo_context, FoProperty *new_padding_top) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_padding_top == NULL || FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_context->padding_top != NULL) { g_object_unref (fo_context->padding_top); } fo_context->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_context), "padding-top");*/ } /** * fo_context_get_page_height: * @fo_context: The @FoContext object. * * Gets the "page-height" property of @fo_context. * * Return value: The "page-height" property value. **/ FoProperty * fo_context_get_page_height (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->page_height; } /** * fo_context_set_page_height: * @fo_context: The #FoContext object. * @new_page_height: The new "page-height" property value. * * Sets the "page-height" property of @fo_context to @new_page_height. **/ void fo_context_set_page_height (FoContext *fo_context, FoProperty *new_page_height) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_page_height == NULL || FO_IS_PROPERTY_PAGE_HEIGHT (new_page_height)); if (new_page_height != NULL) { g_object_ref (new_page_height); } if (fo_context->page_height != NULL) { g_object_unref (fo_context->page_height); } fo_context->page_height = new_page_height; /*g_object_notify (G_OBJECT (fo_context), "page-height");*/ } /** * fo_context_get_page_width: * @fo_context: The @FoContext object. * * Gets the "page-width" property of @fo_context. * * Return value: The "page-width" property value. **/ FoProperty * fo_context_get_page_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->page_width; } /** * fo_context_set_page_width: * @fo_context: The #FoContext object. * @new_page_width: The new "page-width" property value. * * Sets the "page-width" property of @fo_context to @new_page_width. **/ void fo_context_set_page_width (FoContext *fo_context, FoProperty *new_page_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_page_width == NULL || FO_IS_PROPERTY_PAGE_WIDTH (new_page_width)); if (new_page_width != NULL) { g_object_ref (new_page_width); } if (fo_context->page_width != NULL) { g_object_unref (fo_context->page_width); } fo_context->page_width = new_page_width; /*g_object_notify (G_OBJECT (fo_context), "page-width");*/ } /** * fo_context_get_provisional_distance_between_starts: * @fo_context: The @FoContext object. * * Gets the "provisional-distance-between-starts" property of @fo_context. * * Return value: The "provisional-distance-between-starts" property value. **/ FoProperty * fo_context_get_provisional_distance_between_starts (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->provisional_distance_between_starts; } /** * fo_context_set_provisional_distance_between_starts: * @fo_context: The #FoContext object. * @new_provisional_distance_between_starts: The new "provisional-distance-between-starts" property value. * * Sets the "provisional-distance-between-starts" property of @fo_context to @new_provisional_distance_between_starts. **/ void fo_context_set_provisional_distance_between_starts (FoContext *fo_context, FoProperty *new_provisional_distance_between_starts) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_provisional_distance_between_starts == NULL || FO_IS_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS (new_provisional_distance_between_starts)); if (new_provisional_distance_between_starts != NULL) { g_object_ref (new_provisional_distance_between_starts); } if (fo_context->provisional_distance_between_starts != NULL) { g_object_unref (fo_context->provisional_distance_between_starts); } fo_context->provisional_distance_between_starts = new_provisional_distance_between_starts; /*g_object_notify (G_OBJECT (fo_context), "provisional-distance-between-starts");*/ } /** * fo_context_get_provisional_label_separation: * @fo_context: The @FoContext object. * * Gets the "provisional-label-separation" property of @fo_context. * * Return value: The "provisional-label-separation" property value. **/ FoProperty * fo_context_get_provisional_label_separation (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->provisional_label_separation; } /** * fo_context_set_provisional_label_separation: * @fo_context: The #FoContext object. * @new_provisional_label_separation: The new "provisional-label-separation" property value. * * Sets the "provisional-label-separation" property of @fo_context to @new_provisional_label_separation. **/ void fo_context_set_provisional_label_separation (FoContext *fo_context, FoProperty *new_provisional_label_separation) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_provisional_label_separation == NULL || FO_IS_PROPERTY_PROVISIONAL_LABEL_SEPARATION (new_provisional_label_separation)); if (new_provisional_label_separation != NULL) { g_object_ref (new_provisional_label_separation); } if (fo_context->provisional_label_separation != NULL) { g_object_unref (fo_context->provisional_label_separation); } fo_context->provisional_label_separation = new_provisional_label_separation; /*g_object_notify (G_OBJECT (fo_context), "provisional-label-separation");*/ } /** * fo_context_get_ref_id: * @fo_context: The @FoContext object. * * Gets the "ref-id" property of @fo_context. * * Return value: The "ref-id" property value. **/ FoProperty * fo_context_get_ref_id (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->ref_id; } /** * fo_context_set_ref_id: * @fo_context: The #FoContext object. * @new_ref_id: The new "ref-id" property value. * * Sets the "ref-id" property of @fo_context to @new_ref_id. **/ void fo_context_set_ref_id (FoContext *fo_context, FoProperty *new_ref_id) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_ref_id == NULL || FO_IS_PROPERTY_REF_ID (new_ref_id)); if (new_ref_id != NULL) { g_object_ref (new_ref_id); } if (fo_context->ref_id != NULL) { g_object_unref (fo_context->ref_id); } fo_context->ref_id = new_ref_id; /*g_object_notify (G_OBJECT (fo_context), "ref-id");*/ } /** * fo_context_get_region_name: * @fo_context: The @FoContext object. * * Gets the "region-name" property of @fo_context. * * Return value: The "region-name" property value. **/ FoProperty * fo_context_get_region_name (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->region_name; } /** * fo_context_set_region_name: * @fo_context: The #FoContext object. * @new_region_name: The new "region-name" property value. * * Sets the "region-name" property of @fo_context to @new_region_name. **/ void fo_context_set_region_name (FoContext *fo_context, FoProperty *new_region_name) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_region_name == NULL || FO_IS_PROPERTY_REGION_NAME (new_region_name)); if (new_region_name != NULL) { g_object_ref (new_region_name); } if (fo_context->region_name != NULL) { g_object_unref (fo_context->region_name); } fo_context->region_name = new_region_name; /*g_object_notify (G_OBJECT (fo_context), "region-name");*/ } /** * fo_context_get_role: * @fo_context: The @FoContext object. * * Gets the "role" property of @fo_context. * * Return value: The "role" property value. **/ FoProperty * fo_context_get_role (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->role; } /** * fo_context_set_role: * @fo_context: The #FoContext object. * @new_role: The new "role" property value. * * Sets the "role" property of @fo_context to @new_role. **/ void fo_context_set_role (FoContext *fo_context, FoProperty *new_role) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_role == NULL || FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_context->role != NULL) { g_object_unref (fo_context->role); } fo_context->role = new_role; /*g_object_notify (G_OBJECT (fo_context), "role");*/ } /** * fo_context_get_scaling: * @fo_context: The @FoContext object. * * Gets the "scaling" property of @fo_context. * * Return value: The "scaling" property value. **/ FoProperty * fo_context_get_scaling (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->scaling; } /** * fo_context_set_scaling: * @fo_context: The #FoContext object. * @new_scaling: The new "scaling" property value. * * Sets the "scaling" property of @fo_context to @new_scaling. **/ void fo_context_set_scaling (FoContext *fo_context, FoProperty *new_scaling) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_scaling == NULL || FO_IS_PROPERTY_SCALING (new_scaling)); if (new_scaling != NULL) { g_object_ref (new_scaling); } if (fo_context->scaling != NULL) { g_object_unref (fo_context->scaling); } fo_context->scaling = new_scaling; /*g_object_notify (G_OBJECT (fo_context), "scaling");*/ } /** * fo_context_get_scaling_method: * @fo_context: The @FoContext object. * * Gets the "scaling-method" property of @fo_context. * * Return value: The "scaling-method" property value. **/ FoProperty * fo_context_get_scaling_method (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->scaling_method; } /** * fo_context_set_scaling_method: * @fo_context: The #FoContext object. * @new_scaling_method: The new "scaling-method" property value. * * Sets the "scaling-method" property of @fo_context to @new_scaling_method. **/ void fo_context_set_scaling_method (FoContext *fo_context, FoProperty *new_scaling_method) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_scaling_method == NULL || FO_IS_PROPERTY_SCALING_METHOD (new_scaling_method)); if (new_scaling_method != NULL) { g_object_ref (new_scaling_method); } if (fo_context->scaling_method != NULL) { g_object_unref (fo_context->scaling_method); } fo_context->scaling_method = new_scaling_method; /*g_object_notify (G_OBJECT (fo_context), "scaling-method");*/ } /** * fo_context_get_score_spaces: * @fo_context: The @FoContext object. * * Gets the "score-spaces" property of @fo_context. * * Return value: The "score-spaces" property value. **/ FoProperty * fo_context_get_score_spaces (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->score_spaces; } /** * fo_context_set_score_spaces: * @fo_context: The #FoContext object. * @new_score_spaces: The new "score-spaces" property value. * * Sets the "score-spaces" property of @fo_context to @new_score_spaces. **/ void fo_context_set_score_spaces (FoContext *fo_context, FoProperty *new_score_spaces) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_score_spaces == NULL || FO_IS_PROPERTY_SCORE_SPACES (new_score_spaces)); if (new_score_spaces != NULL) { g_object_ref (new_score_spaces); } if (fo_context->score_spaces != NULL) { g_object_unref (fo_context->score_spaces); } fo_context->score_spaces = new_score_spaces; /*g_object_notify (G_OBJECT (fo_context), "score-spaces");*/ } /** * fo_context_get_source_document: * @fo_context: The @FoContext object. * * Gets the "source-document" property of @fo_context. * * Return value: The "source-document" property value. **/ FoProperty * fo_context_get_source_document (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->source_document; } /** * fo_context_set_source_document: * @fo_context: The #FoContext object. * @new_source_document: The new "source-document" property value. * * Sets the "source-document" property of @fo_context to @new_source_document. **/ void fo_context_set_source_document (FoContext *fo_context, FoProperty *new_source_document) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_source_document == NULL || FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_context->source_document != NULL) { g_object_unref (fo_context->source_document); } fo_context->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_context), "source-document");*/ } /** * fo_context_get_space_after: * @fo_context: The @FoContext object. * * Gets the "space-after" property of @fo_context. * * Return value: The "space-after" property value. **/ FoProperty * fo_context_get_space_after (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->space_after; } /** * fo_context_set_space_after: * @fo_context: The #FoContext object. * @new_space_after: The new "space-after" property value. * * Sets the "space-after" property of @fo_context to @new_space_after. **/ void fo_context_set_space_after (FoContext *fo_context, FoProperty *new_space_after) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_after == NULL || FO_IS_PROPERTY_SPACE_AFTER (new_space_after)); if (new_space_after != NULL) { g_object_ref (new_space_after); } if (fo_context->space_after != NULL) { g_object_unref (fo_context->space_after); } fo_context->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_context), "space-after");*/ } /** * fo_context_set_space_after_minimum: * @fo_context: The #FoContext object. * @new_space_after_minimum: The new "space-after-minimum" property value. * * Sets the "space-after-minimum" property of @fo_context to @new_space_after_minimum. **/ void fo_context_set_space_after_minimum (FoContext *fo_context, FoProperty *new_space_after_minimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_after_minimum == NULL || FO_IS_PROPERTY_SPACE_AFTER_MINIMUM (new_space_after_minimum)); if (new_space_after_minimum != NULL) { g_object_ref (new_space_after_minimum); } if (fo_context->space_after_minimum != NULL) { g_object_unref (fo_context->space_after_minimum); } fo_context->space_after_minimum = new_space_after_minimum; /*g_object_notify (G_OBJECT (fo_context), "space-after-minimum");*/ } /** * fo_context_set_space_after_optimum: * @fo_context: The #FoContext object. * @new_space_after_optimum: The new "space-after-optimum" property value. * * Sets the "space-after-optimum" property of @fo_context to @new_space_after_optimum. **/ void fo_context_set_space_after_optimum (FoContext *fo_context, FoProperty *new_space_after_optimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_after_optimum == NULL || FO_IS_PROPERTY_SPACE_AFTER_OPTIMUM (new_space_after_optimum)); if (new_space_after_optimum != NULL) { g_object_ref (new_space_after_optimum); } if (fo_context->space_after_optimum != NULL) { g_object_unref (fo_context->space_after_optimum); } fo_context->space_after_optimum = new_space_after_optimum; /*g_object_notify (G_OBJECT (fo_context), "space-after-optimum");*/ } /** * fo_context_set_space_after_maximum: * @fo_context: The #FoContext object. * @new_space_after_maximum: The new "space-after-maximum" property value. * * Sets the "space-after-maximum" property of @fo_context to @new_space_after_maximum. **/ void fo_context_set_space_after_maximum (FoContext *fo_context, FoProperty *new_space_after_maximum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_after_maximum == NULL || FO_IS_PROPERTY_SPACE_AFTER_MAXIMUM (new_space_after_maximum)); if (new_space_after_maximum != NULL) { g_object_ref (new_space_after_maximum); } if (fo_context->space_after_maximum != NULL) { g_object_unref (fo_context->space_after_maximum); } fo_context->space_after_maximum = new_space_after_maximum; /*g_object_notify (G_OBJECT (fo_context), "space-after-maximum");*/ } /** * fo_context_set_space_after_precedence: * @fo_context: The #FoContext object. * @new_space_after_precedence: The new "space-after-precedence" property value. * * Sets the "space-after-precedence" property of @fo_context to @new_space_after_precedence. **/ void fo_context_set_space_after_precedence (FoContext *fo_context, FoProperty *new_space_after_precedence) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_after_precedence == NULL || FO_IS_PROPERTY_SPACE_AFTER_PRECEDENCE (new_space_after_precedence)); if (new_space_after_precedence != NULL) { g_object_ref (new_space_after_precedence); } if (fo_context->space_after_precedence != NULL) { g_object_unref (fo_context->space_after_precedence); } fo_context->space_after_precedence = new_space_after_precedence; /*g_object_notify (G_OBJECT (fo_context), "space-after-precedence");*/ } /** * fo_context_set_space_after_condity: * @fo_context: The #FoContext object. * @new_space_after_condity: The new "space-after-conditionality" property value. * * Sets the "space-after-conditionality" property of @fo_context to @new_space_after_condity. **/ void fo_context_set_space_after_condity (FoContext *fo_context, FoProperty *new_space_after_condity) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_after_condity == NULL || FO_IS_PROPERTY_SPACE_AFTER_CONDITY (new_space_after_condity)); if (new_space_after_condity != NULL) { g_object_ref (new_space_after_condity); } if (fo_context->space_after_condity != NULL) { g_object_unref (fo_context->space_after_condity); } fo_context->space_after_condity = new_space_after_condity; /*g_object_notify (G_OBJECT (fo_context), "space-after-conditionality");*/ } /** * fo_context_get_space_before: * @fo_context: The @FoContext object. * * Gets the "space-before" property of @fo_context. * * Return value: The "space-before" property value. **/ FoProperty * fo_context_get_space_before (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->space_before; } /** * fo_context_set_space_before: * @fo_context: The #FoContext object. * @new_space_before: The new "space-before" property value. * * Sets the "space-before" property of @fo_context to @new_space_before. **/ void fo_context_set_space_before (FoContext *fo_context, FoProperty *new_space_before) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_before == NULL || FO_IS_PROPERTY_SPACE_BEFORE (new_space_before)); if (new_space_before != NULL) { g_object_ref (new_space_before); } if (fo_context->space_before != NULL) { g_object_unref (fo_context->space_before); } fo_context->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_context), "space-before");*/ } /** * fo_context_set_space_before_minimum: * @fo_context: The #FoContext object. * @new_space_before_minimum: The new "space-before-minimum" property value. * * Sets the "space-before-minimum" property of @fo_context to @new_space_before_minimum. **/ void fo_context_set_space_before_minimum (FoContext *fo_context, FoProperty *new_space_before_minimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_before_minimum == NULL || FO_IS_PROPERTY_SPACE_BEFORE_MINIMUM (new_space_before_minimum)); if (new_space_before_minimum != NULL) { g_object_ref (new_space_before_minimum); } if (fo_context->space_before_minimum != NULL) { g_object_unref (fo_context->space_before_minimum); } fo_context->space_before_minimum = new_space_before_minimum; /*g_object_notify (G_OBJECT (fo_context), "space-before-minimum");*/ } /** * fo_context_set_space_before_optimum: * @fo_context: The #FoContext object. * @new_space_before_optimum: The new "space-before-optimum" property value. * * Sets the "space-before-optimum" property of @fo_context to @new_space_before_optimum. **/ void fo_context_set_space_before_optimum (FoContext *fo_context, FoProperty *new_space_before_optimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_before_optimum == NULL || FO_IS_PROPERTY_SPACE_BEFORE_OPTIMUM (new_space_before_optimum)); if (new_space_before_optimum != NULL) { g_object_ref (new_space_before_optimum); } if (fo_context->space_before_optimum != NULL) { g_object_unref (fo_context->space_before_optimum); } fo_context->space_before_optimum = new_space_before_optimum; /*g_object_notify (G_OBJECT (fo_context), "space-before-optimum");*/ } /** * fo_context_set_space_before_maximum: * @fo_context: The #FoContext object. * @new_space_before_maximum: The new "space-before-maximum" property value. * * Sets the "space-before-maximum" property of @fo_context to @new_space_before_maximum. **/ void fo_context_set_space_before_maximum (FoContext *fo_context, FoProperty *new_space_before_maximum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_before_maximum == NULL || FO_IS_PROPERTY_SPACE_BEFORE_MAXIMUM (new_space_before_maximum)); if (new_space_before_maximum != NULL) { g_object_ref (new_space_before_maximum); } if (fo_context->space_before_maximum != NULL) { g_object_unref (fo_context->space_before_maximum); } fo_context->space_before_maximum = new_space_before_maximum; /*g_object_notify (G_OBJECT (fo_context), "space-before-maximum");*/ } /** * fo_context_set_space_before_precedence: * @fo_context: The #FoContext object. * @new_space_before_precedence: The new "space-before-precedence" property value. * * Sets the "space-before-precedence" property of @fo_context to @new_space_before_precedence. **/ void fo_context_set_space_before_precedence (FoContext *fo_context, FoProperty *new_space_before_precedence) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_before_precedence == NULL || FO_IS_PROPERTY_SPACE_BEFORE_PRECEDENCE (new_space_before_precedence)); if (new_space_before_precedence != NULL) { g_object_ref (new_space_before_precedence); } if (fo_context->space_before_precedence != NULL) { g_object_unref (fo_context->space_before_precedence); } fo_context->space_before_precedence = new_space_before_precedence; /*g_object_notify (G_OBJECT (fo_context), "space-before-precedence");*/ } /** * fo_context_set_space_before_condity: * @fo_context: The #FoContext object. * @new_space_before_condity: The new "space-before-conditionality" property value. * * Sets the "space-before-conditionality" property of @fo_context to @new_space_before_condity. **/ void fo_context_set_space_before_condity (FoContext *fo_context, FoProperty *new_space_before_condity) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_before_condity == NULL || FO_IS_PROPERTY_SPACE_BEFORE_CONDITY (new_space_before_condity)); if (new_space_before_condity != NULL) { g_object_ref (new_space_before_condity); } if (fo_context->space_before_condity != NULL) { g_object_unref (fo_context->space_before_condity); } fo_context->space_before_condity = new_space_before_condity; /*g_object_notify (G_OBJECT (fo_context), "space-before-conditionality");*/ } /** * fo_context_get_space_end: * @fo_context: The @FoContext object. * * Gets the "space-end" property of @fo_context. * * Return value: The "space-end" property value. **/ FoProperty * fo_context_get_space_end (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->space_end; } /** * fo_context_set_space_end: * @fo_context: The #FoContext object. * @new_space_end: The new "space-end" property value. * * Sets the "space-end" property of @fo_context to @new_space_end. **/ void fo_context_set_space_end (FoContext *fo_context, FoProperty *new_space_end) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_end == NULL || FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_context->space_end != NULL) { g_object_unref (fo_context->space_end); } fo_context->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_context), "space-end");*/ } /** * fo_context_set_space_end_minimum: * @fo_context: The #FoContext object. * @new_space_end_minimum: The new "space-end-minimum" property value. * * Sets the "space-end-minimum" property of @fo_context to @new_space_end_minimum. **/ void fo_context_set_space_end_minimum (FoContext *fo_context, FoProperty *new_space_end_minimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_end_minimum == NULL || FO_IS_PROPERTY_SPACE_END_MINIMUM (new_space_end_minimum)); if (new_space_end_minimum != NULL) { g_object_ref (new_space_end_minimum); } if (fo_context->space_end_minimum != NULL) { g_object_unref (fo_context->space_end_minimum); } fo_context->space_end_minimum = new_space_end_minimum; /*g_object_notify (G_OBJECT (fo_context), "space-end-minimum");*/ } /** * fo_context_set_space_end_optimum: * @fo_context: The #FoContext object. * @new_space_end_optimum: The new "space-end-optimum" property value. * * Sets the "space-end-optimum" property of @fo_context to @new_space_end_optimum. **/ void fo_context_set_space_end_optimum (FoContext *fo_context, FoProperty *new_space_end_optimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_end_optimum == NULL || FO_IS_PROPERTY_SPACE_END_OPTIMUM (new_space_end_optimum)); if (new_space_end_optimum != NULL) { g_object_ref (new_space_end_optimum); } if (fo_context->space_end_optimum != NULL) { g_object_unref (fo_context->space_end_optimum); } fo_context->space_end_optimum = new_space_end_optimum; /*g_object_notify (G_OBJECT (fo_context), "space-end-optimum");*/ } /** * fo_context_set_space_end_maximum: * @fo_context: The #FoContext object. * @new_space_end_maximum: The new "space-end-maximum" property value. * * Sets the "space-end-maximum" property of @fo_context to @new_space_end_maximum. **/ void fo_context_set_space_end_maximum (FoContext *fo_context, FoProperty *new_space_end_maximum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_end_maximum == NULL || FO_IS_PROPERTY_SPACE_END_MAXIMUM (new_space_end_maximum)); if (new_space_end_maximum != NULL) { g_object_ref (new_space_end_maximum); } if (fo_context->space_end_maximum != NULL) { g_object_unref (fo_context->space_end_maximum); } fo_context->space_end_maximum = new_space_end_maximum; /*g_object_notify (G_OBJECT (fo_context), "space-end-maximum");*/ } /** * fo_context_set_space_end_precedence: * @fo_context: The #FoContext object. * @new_space_end_precedence: The new "space-end-precedence" property value. * * Sets the "space-end-precedence" property of @fo_context to @new_space_end_precedence. **/ void fo_context_set_space_end_precedence (FoContext *fo_context, FoProperty *new_space_end_precedence) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_end_precedence == NULL || FO_IS_PROPERTY_SPACE_END_PRECEDENCE (new_space_end_precedence)); if (new_space_end_precedence != NULL) { g_object_ref (new_space_end_precedence); } if (fo_context->space_end_precedence != NULL) { g_object_unref (fo_context->space_end_precedence); } fo_context->space_end_precedence = new_space_end_precedence; /*g_object_notify (G_OBJECT (fo_context), "space-end-precedence");*/ } /** * fo_context_set_space_end_condity: * @fo_context: The #FoContext object. * @new_space_end_condity: The new "space-end-conditionality" property value. * * Sets the "space-end-conditionality" property of @fo_context to @new_space_end_condity. **/ void fo_context_set_space_end_condity (FoContext *fo_context, FoProperty *new_space_end_condity) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_end_condity == NULL || FO_IS_PROPERTY_SPACE_END_CONDITY (new_space_end_condity)); if (new_space_end_condity != NULL) { g_object_ref (new_space_end_condity); } if (fo_context->space_end_condity != NULL) { g_object_unref (fo_context->space_end_condity); } fo_context->space_end_condity = new_space_end_condity; /*g_object_notify (G_OBJECT (fo_context), "space-end-conditionality");*/ } /** * fo_context_get_space_start: * @fo_context: The @FoContext object. * * Gets the "space-start" property of @fo_context. * * Return value: The "space-start" property value. **/ FoProperty * fo_context_get_space_start (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->space_start; } /** * fo_context_set_space_start: * @fo_context: The #FoContext object. * @new_space_start: The new "space-start" property value. * * Sets the "space-start" property of @fo_context to @new_space_start. **/ void fo_context_set_space_start (FoContext *fo_context, FoProperty *new_space_start) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_start == NULL || FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_context->space_start != NULL) { g_object_unref (fo_context->space_start); } fo_context->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_context), "space-start");*/ } /** * fo_context_set_space_start_minimum: * @fo_context: The #FoContext object. * @new_space_start_minimum: The new "space-start-minimum" property value. * * Sets the "space-start-minimum" property of @fo_context to @new_space_start_minimum. **/ void fo_context_set_space_start_minimum (FoContext *fo_context, FoProperty *new_space_start_minimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_start_minimum == NULL || FO_IS_PROPERTY_SPACE_START_MINIMUM (new_space_start_minimum)); if (new_space_start_minimum != NULL) { g_object_ref (new_space_start_minimum); } if (fo_context->space_start_minimum != NULL) { g_object_unref (fo_context->space_start_minimum); } fo_context->space_start_minimum = new_space_start_minimum; /*g_object_notify (G_OBJECT (fo_context), "space-start-minimum");*/ } /** * fo_context_set_space_start_optimum: * @fo_context: The #FoContext object. * @new_space_start_optimum: The new "space-start-optimum" property value. * * Sets the "space-start-optimum" property of @fo_context to @new_space_start_optimum. **/ void fo_context_set_space_start_optimum (FoContext *fo_context, FoProperty *new_space_start_optimum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_start_optimum == NULL || FO_IS_PROPERTY_SPACE_START_OPTIMUM (new_space_start_optimum)); if (new_space_start_optimum != NULL) { g_object_ref (new_space_start_optimum); } if (fo_context->space_start_optimum != NULL) { g_object_unref (fo_context->space_start_optimum); } fo_context->space_start_optimum = new_space_start_optimum; /*g_object_notify (G_OBJECT (fo_context), "space-start-optimum");*/ } /** * fo_context_set_space_start_maximum: * @fo_context: The #FoContext object. * @new_space_start_maximum: The new "space-start-maximum" property value. * * Sets the "space-start-maximum" property of @fo_context to @new_space_start_maximum. **/ void fo_context_set_space_start_maximum (FoContext *fo_context, FoProperty *new_space_start_maximum) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_start_maximum == NULL || FO_IS_PROPERTY_SPACE_START_MAXIMUM (new_space_start_maximum)); if (new_space_start_maximum != NULL) { g_object_ref (new_space_start_maximum); } if (fo_context->space_start_maximum != NULL) { g_object_unref (fo_context->space_start_maximum); } fo_context->space_start_maximum = new_space_start_maximum; /*g_object_notify (G_OBJECT (fo_context), "space-start-maximum");*/ } /** * fo_context_set_space_start_precedence: * @fo_context: The #FoContext object. * @new_space_start_precedence: The new "space-start-precedence" property value. * * Sets the "space-start-precedence" property of @fo_context to @new_space_start_precedence. **/ void fo_context_set_space_start_precedence (FoContext *fo_context, FoProperty *new_space_start_precedence) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_start_precedence == NULL || FO_IS_PROPERTY_SPACE_START_PRECEDENCE (new_space_start_precedence)); if (new_space_start_precedence != NULL) { g_object_ref (new_space_start_precedence); } if (fo_context->space_start_precedence != NULL) { g_object_unref (fo_context->space_start_precedence); } fo_context->space_start_precedence = new_space_start_precedence; /*g_object_notify (G_OBJECT (fo_context), "space-start-precedence");*/ } /** * fo_context_set_space_start_condity: * @fo_context: The #FoContext object. * @new_space_start_condity: The new "space-start-conditionality" property value. * * Sets the "space-start-conditionality" property of @fo_context to @new_space_start_condity. **/ void fo_context_set_space_start_condity (FoContext *fo_context, FoProperty *new_space_start_condity) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_space_start_condity == NULL || FO_IS_PROPERTY_SPACE_START_CONDITY (new_space_start_condity)); if (new_space_start_condity != NULL) { g_object_ref (new_space_start_condity); } if (fo_context->space_start_condity != NULL) { g_object_unref (fo_context->space_start_condity); } fo_context->space_start_condity = new_space_start_condity; /*g_object_notify (G_OBJECT (fo_context), "space-start-conditionality");*/ } /** * fo_context_get_span: * @fo_context: The @FoContext object. * * Gets the "span" property of @fo_context. * * Return value: The "span" property value. **/ FoProperty * fo_context_get_span (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->span; } /** * fo_context_set_span: * @fo_context: The #FoContext object. * @new_span: The new "span" property value. * * Sets the "span" property of @fo_context to @new_span. **/ void fo_context_set_span (FoContext *fo_context, FoProperty *new_span) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_span == NULL || FO_IS_PROPERTY_SPAN (new_span)); if (new_span != NULL) { g_object_ref (new_span); } if (fo_context->span != NULL) { g_object_unref (fo_context->span); } fo_context->span = new_span; /*g_object_notify (G_OBJECT (fo_context), "span");*/ } /** * fo_context_get_src: * @fo_context: The @FoContext object. * * Gets the "src" property of @fo_context. * * Return value: The "src" property value. **/ FoProperty * fo_context_get_src (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->src; } /** * fo_context_set_src: * @fo_context: The #FoContext object. * @new_src: The new "src" property value. * * Sets the "src" property of @fo_context to @new_src. **/ void fo_context_set_src (FoContext *fo_context, FoProperty *new_src) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_src == NULL || FO_IS_PROPERTY_SRC (new_src)); if (new_src != NULL) { g_object_ref (new_src); } if (fo_context->src != NULL) { g_object_unref (fo_context->src); } fo_context->src = new_src; /*g_object_notify (G_OBJECT (fo_context), "src");*/ } /** * fo_context_get_start_indent: * @fo_context: The @FoContext object. * * Gets the "start-indent" property of @fo_context. * * Return value: The "start-indent" property value. **/ FoProperty * fo_context_get_start_indent (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->start_indent; } /** * fo_context_set_start_indent: * @fo_context: The #FoContext object. * @new_start_indent: The new "start-indent" property value. * * Sets the "start-indent" property of @fo_context to @new_start_indent. **/ void fo_context_set_start_indent (FoContext *fo_context, FoProperty *new_start_indent) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_start_indent == NULL || FO_IS_PROPERTY_START_INDENT (new_start_indent)); if (new_start_indent != NULL) { g_object_ref (new_start_indent); } if (fo_context->start_indent != NULL) { g_object_unref (fo_context->start_indent); } fo_context->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_context), "start-indent");*/ } /** * fo_context_get_table_layout: * @fo_context: The @FoContext object. * * Gets the "table-layout" property of @fo_context. * * Return value: The "table-layout" property value. **/ FoProperty * fo_context_get_table_layout (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->table_layout; } /** * fo_context_set_table_layout: * @fo_context: The #FoContext object. * @new_table_layout: The new "table-layout" property value. * * Sets the "table-layout" property of @fo_context to @new_table_layout. **/ void fo_context_set_table_layout (FoContext *fo_context, FoProperty *new_table_layout) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_table_layout == NULL || FO_IS_PROPERTY_TABLE_LAYOUT (new_table_layout)); if (new_table_layout != NULL) { g_object_ref (new_table_layout); } if (fo_context->table_layout != NULL) { g_object_unref (fo_context->table_layout); } fo_context->table_layout = new_table_layout; /*g_object_notify (G_OBJECT (fo_context), "table-layout");*/ } /** * fo_context_get_text_align: * @fo_context: The @FoContext object. * * Gets the "text-align" property of @fo_context. * * Return value: The "text-align" property value. **/ FoProperty * fo_context_get_text_align (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->text_align; } /** * fo_context_set_text_align: * @fo_context: The #FoContext object. * @new_text_align: The new "text-align" property value. * * Sets the "text-align" property of @fo_context to @new_text_align. **/ void fo_context_set_text_align (FoContext *fo_context, FoProperty *new_text_align) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_text_align == NULL || FO_IS_PROPERTY_TEXT_ALIGN (new_text_align)); if (new_text_align != NULL) { g_object_ref (new_text_align); } if (fo_context->text_align != NULL) { g_object_unref (fo_context->text_align); } fo_context->text_align = new_text_align; /*g_object_notify (G_OBJECT (fo_context), "text-align");*/ } /** * fo_context_get_text_indent: * @fo_context: The @FoContext object. * * Gets the "text-indent" property of @fo_context. * * Return value: The "text-indent" property value. **/ FoProperty * fo_context_get_text_indent (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->text_indent; } /** * fo_context_set_text_indent: * @fo_context: The #FoContext object. * @new_text_indent: The new "text-indent" property value. * * Sets the "text-indent" property of @fo_context to @new_text_indent. **/ void fo_context_set_text_indent (FoContext *fo_context, FoProperty *new_text_indent) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_text_indent == NULL || FO_IS_PROPERTY_TEXT_INDENT (new_text_indent)); if (new_text_indent != NULL) { g_object_ref (new_text_indent); } if (fo_context->text_indent != NULL) { g_object_unref (fo_context->text_indent); } fo_context->text_indent = new_text_indent; /*g_object_notify (G_OBJECT (fo_context), "text-indent");*/ } /** * fo_context_get_unicode_bidi: * @fo_context: The @FoContext object. * * Gets the "unicode-bidi" property of @fo_context. * * Return value: The "unicode-bidi" property value. **/ FoProperty * fo_context_get_unicode_bidi (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->unicode_bidi; } /** * fo_context_set_unicode_bidi: * @fo_context: The #FoContext object. * @new_unicode_bidi: The new "unicode-bidi" property value. * * Sets the "unicode-bidi" property of @fo_context to @new_unicode_bidi. **/ void fo_context_set_unicode_bidi (FoContext *fo_context, FoProperty *new_unicode_bidi) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_unicode_bidi == NULL || FO_IS_PROPERTY_UNICODE_BIDI (new_unicode_bidi)); if (new_unicode_bidi != NULL) { g_object_ref (new_unicode_bidi); } if (fo_context->unicode_bidi != NULL) { g_object_unref (fo_context->unicode_bidi); } fo_context->unicode_bidi = new_unicode_bidi; /*g_object_notify (G_OBJECT (fo_context), "unicode-bidi");*/ } /** * fo_context_get_white_space_collapse: * @fo_context: The @FoContext object. * * Gets the "white-space-collapse" property of @fo_context. * * Return value: The "white-space-collapse" property value. **/ FoProperty * fo_context_get_white_space_collapse (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->white_space_collapse; } /** * fo_context_set_white_space_collapse: * @fo_context: The #FoContext object. * @new_white_space_collapse: The new "white-space-collapse" property value. * * Sets the "white-space-collapse" property of @fo_context to @new_white_space_collapse. **/ void fo_context_set_white_space_collapse (FoContext *fo_context, FoProperty *new_white_space_collapse) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_white_space_collapse == NULL || FO_IS_PROPERTY_WHITE_SPACE_COLLAPSE (new_white_space_collapse)); if (new_white_space_collapse != NULL) { g_object_ref (new_white_space_collapse); } if (fo_context->white_space_collapse != NULL) { g_object_unref (fo_context->white_space_collapse); } fo_context->white_space_collapse = new_white_space_collapse; /*g_object_notify (G_OBJECT (fo_context), "white-space-collapse");*/ } /** * fo_context_get_white_space_treatment: * @fo_context: The @FoContext object. * * Gets the "white-space-treatment" property of @fo_context. * * Return value: The "white-space-treatment" property value. **/ FoProperty * fo_context_get_white_space_treatment (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->white_space_treatment; } /** * fo_context_set_white_space_treatment: * @fo_context: The #FoContext object. * @new_white_space_treatment: The new "white-space-treatment" property value. * * Sets the "white-space-treatment" property of @fo_context to @new_white_space_treatment. **/ void fo_context_set_white_space_treatment (FoContext *fo_context, FoProperty *new_white_space_treatment) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_white_space_treatment == NULL || FO_IS_PROPERTY_WHITE_SPACE_TREATMENT (new_white_space_treatment)); if (new_white_space_treatment != NULL) { g_object_ref (new_white_space_treatment); } if (fo_context->white_space_treatment != NULL) { g_object_unref (fo_context->white_space_treatment); } fo_context->white_space_treatment = new_white_space_treatment; /*g_object_notify (G_OBJECT (fo_context), "white-space-treatment");*/ } /** * fo_context_get_widows: * @fo_context: The @FoContext object. * * Gets the "widows" property of @fo_context. * * Return value: The "widows" property value. **/ FoProperty * fo_context_get_widows (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->widows; } /** * fo_context_set_widows: * @fo_context: The #FoContext object. * @new_widows: The new "widows" property value. * * Sets the "widows" property of @fo_context to @new_widows. **/ void fo_context_set_widows (FoContext *fo_context, FoProperty *new_widows) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_widows == NULL || FO_IS_PROPERTY_WIDOWS (new_widows)); if (new_widows != NULL) { g_object_ref (new_widows); } if (fo_context->widows != NULL) { g_object_unref (fo_context->widows); } fo_context->widows = new_widows; /*g_object_notify (G_OBJECT (fo_context), "widows");*/ } /** * fo_context_get_width: * @fo_context: The @FoContext object. * * Gets the "width" property of @fo_context. * * Return value: The "width" property value. **/ FoProperty * fo_context_get_width (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->width; } /** * fo_context_set_width: * @fo_context: The #FoContext object. * @new_width: The new "width" property value. * * Sets the "width" property of @fo_context to @new_width. **/ void fo_context_set_width (FoContext *fo_context, FoProperty *new_width) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_width == NULL || FO_IS_PROPERTY_WIDTH (new_width)); if (new_width != NULL) { g_object_ref (new_width); } if (fo_context->width != NULL) { g_object_unref (fo_context->width); } fo_context->width = new_width; /*g_object_notify (G_OBJECT (fo_context), "width");*/ } /** * fo_context_get_wrap_option: * @fo_context: The @FoContext object. * * Gets the "wrap-option" property of @fo_context. * * Return value: The "wrap-option" property value. **/ FoProperty * fo_context_get_wrap_option (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->wrap_option; } /** * fo_context_set_wrap_option: * @fo_context: The #FoContext object. * @new_wrap_option: The new "wrap-option" property value. * * Sets the "wrap-option" property of @fo_context to @new_wrap_option. **/ void fo_context_set_wrap_option (FoContext *fo_context, FoProperty *new_wrap_option) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_wrap_option == NULL || FO_IS_PROPERTY_WRAP_OPTION (new_wrap_option)); if (new_wrap_option != NULL) { g_object_ref (new_wrap_option); } if (fo_context->wrap_option != NULL) { g_object_unref (fo_context->wrap_option); } fo_context->wrap_option = new_wrap_option; /*g_object_notify (G_OBJECT (fo_context), "wrap-option");*/ } /** * fo_context_get_writing_mode: * @fo_context: The @FoContext object. * * Gets the "writing-mode" property of @fo_context. * * Return value: The "writing-mode" property value. **/ FoProperty * fo_context_get_writing_mode (FoContext *fo_context) { g_return_val_if_fail (fo_context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); return fo_context->writing_mode; } /** * fo_context_set_writing_mode: * @fo_context: The #FoContext object. * @new_writing_mode: The new "writing-mode" property value. * * Sets the "writing-mode" property of @fo_context to @new_writing_mode. **/ void fo_context_set_writing_mode (FoContext *fo_context, FoProperty *new_writing_mode) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); g_return_if_fail (new_writing_mode == NULL || FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_context->writing_mode != NULL) { g_object_unref (fo_context->writing_mode); } fo_context->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_context), "writing-mode");*/ } /** * fo_context_copy: * @src: #FoContext to be copied. * * Make a copy of @src. * * Return value: Copy of @src. **/ FoContext* fo_context_copy (FoContext *src) { FoContext *context; context = fo_context_new (); fo_context_set_alignment_adjust (context, fo_context_get_alignment_adjust (src)); fo_context_set_alignment_baseline (context, fo_context_get_alignment_baseline (src)); fo_context_set_background_color (context, fo_context_get_background_color (src)); fo_context_set_background_image (context, fo_context_get_background_image (src)); fo_context_set_baseline_shift (context, fo_context_get_baseline_shift (src)); fo_context_set_block_progression_dimension (context, fo_context_get_block_progression_dimension (src)); fo_context_set_block_progression_dimension_minimum (context, fo_context_get_block_progression_dimension_minimum (src)); fo_context_set_block_progression_dimension_optimum (context, fo_context_get_block_progression_dimension_optimum (src)); fo_context_set_block_progression_dimension_maximum (context, fo_context_get_block_progression_dimension_maximum (src)); fo_context_set_border (context, fo_context_get_border (src)); fo_context_set_border_after_color (context, fo_context_get_border_after_color (src)); fo_context_set_border_after_precedence (context, fo_context_get_border_after_precedence (src)); fo_context_set_border_after_style (context, fo_context_get_border_after_style (src)); fo_context_set_border_after_width (context, fo_context_get_border_after_width (src)); fo_context_set_border_before_color (context, fo_context_get_border_before_color (src)); fo_context_set_border_before_precedence (context, fo_context_get_border_before_precedence (src)); fo_context_set_border_before_style (context, fo_context_get_border_before_style (src)); fo_context_set_border_before_width (context, fo_context_get_border_before_width (src)); fo_context_set_border_bottom (context, fo_context_get_border_bottom (src)); fo_context_set_border_bottom_color (context, fo_context_get_border_bottom_color (src)); fo_context_set_border_bottom_style (context, fo_context_get_border_bottom_style (src)); fo_context_set_border_bottom_width (context, fo_context_get_border_bottom_width (src)); fo_context_set_border_collapse (context, fo_context_get_border_collapse (src)); fo_context_set_border_color (context, fo_context_get_border_color (src)); fo_context_set_border_end_color (context, fo_context_get_border_end_color (src)); fo_context_set_border_end_precedence (context, fo_context_get_border_end_precedence (src)); fo_context_set_border_end_style (context, fo_context_get_border_end_style (src)); fo_context_set_border_end_width (context, fo_context_get_border_end_width (src)); fo_context_set_border_left (context, fo_context_get_border_left (src)); fo_context_set_border_left_color (context, fo_context_get_border_left_color (src)); fo_context_set_border_left_style (context, fo_context_get_border_left_style (src)); fo_context_set_border_left_width (context, fo_context_get_border_left_width (src)); fo_context_set_border_right (context, fo_context_get_border_right (src)); fo_context_set_border_right_color (context, fo_context_get_border_right_color (src)); fo_context_set_border_right_style (context, fo_context_get_border_right_style (src)); fo_context_set_border_right_width (context, fo_context_get_border_right_width (src)); fo_context_set_border_separation (context, fo_context_get_border_separation (src)); fo_context_set_border_start_color (context, fo_context_get_border_start_color (src)); fo_context_set_border_start_precedence (context, fo_context_get_border_start_precedence (src)); fo_context_set_border_start_style (context, fo_context_get_border_start_style (src)); fo_context_set_border_start_width (context, fo_context_get_border_start_width (src)); fo_context_set_border_style (context, fo_context_get_border_style (src)); fo_context_set_border_top (context, fo_context_get_border_top (src)); fo_context_set_border_top_color (context, fo_context_get_border_top_color (src)); fo_context_set_border_top_style (context, fo_context_get_border_top_style (src)); fo_context_set_border_top_width (context, fo_context_get_border_top_width (src)); fo_context_set_border_width (context, fo_context_get_border_width (src)); fo_context_set_break_after (context, fo_context_get_break_after (src)); fo_context_set_break_before (context, fo_context_get_break_before (src)); fo_context_set_character (context, fo_context_get_character (src)); fo_context_set_clip (context, fo_context_get_clip (src)); fo_context_set_color (context, fo_context_get_color (src)); fo_context_set_column_number (context, fo_context_get_column_number (src)); fo_context_set_column_width (context, fo_context_get_column_width (src)); fo_context_set_content_height (context, fo_context_get_content_height (src)); fo_context_set_content_type (context, fo_context_get_content_type (src)); fo_context_set_content_width (context, fo_context_get_content_width (src)); fo_context_set_direction (context, fo_context_get_direction (src)); fo_context_set_display_align (context, fo_context_get_display_align (src)); fo_context_set_dominant_baseline (context, fo_context_get_dominant_baseline (src)); fo_context_set_end_indent (context, fo_context_get_end_indent (src)); fo_context_set_extent (context, fo_context_get_extent (src)); fo_context_set_flow_name (context, fo_context_get_flow_name (src)); fo_context_set_font_family (context, fo_context_get_font_family (src)); fo_context_set_font_size (context, fo_context_get_font_size (src)); fo_context_set_font_stretch (context, fo_context_get_font_stretch (src)); fo_context_set_font_style (context, fo_context_get_font_style (src)); fo_context_set_font_variant (context, fo_context_get_font_variant (src)); fo_context_set_font_weight (context, fo_context_get_font_weight (src)); fo_context_set_format (context, fo_context_get_format (src)); fo_context_set_grouping_separator (context, fo_context_get_grouping_separator (src)); fo_context_set_grouping_size (context, fo_context_get_grouping_size (src)); fo_context_set_height (context, fo_context_get_height (src)); fo_context_set_id (context, fo_context_get_id (src)); fo_context_set_inline_progression_dimension (context, fo_context_get_inline_progression_dimension (src)); fo_context_set_inline_progression_dimension_minimum (context, fo_context_get_inline_progression_dimension_minimum (src)); fo_context_set_inline_progression_dimension_optimum (context, fo_context_get_inline_progression_dimension_optimum (src)); fo_context_set_inline_progression_dimension_maximum (context, fo_context_get_inline_progression_dimension_maximum (src)); fo_context_set_keep_together (context, fo_context_get_keep_together (src)); fo_context_set_keep_together_within_column (context, fo_context_get_keep_together_within_column (src)); fo_context_set_keep_together_within_line (context, fo_context_get_keep_together_within_line (src)); fo_context_set_keep_together_within_page (context, fo_context_get_keep_together_within_page (src)); fo_context_set_keep_with_next (context, fo_context_get_keep_with_next (src)); fo_context_set_keep_with_next_within_column (context, fo_context_get_keep_with_next_within_column (src)); fo_context_set_keep_with_next_within_line (context, fo_context_get_keep_with_next_within_line (src)); fo_context_set_keep_with_next_within_page (context, fo_context_get_keep_with_next_within_page (src)); fo_context_set_keep_with_previous (context, fo_context_get_keep_with_previous (src)); fo_context_set_keep_with_previous_within_column (context, fo_context_get_keep_with_previous_within_column (src)); fo_context_set_keep_with_previous_within_line (context, fo_context_get_keep_with_previous_within_line (src)); fo_context_set_keep_with_previous_within_page (context, fo_context_get_keep_with_previous_within_page (src)); fo_context_set_letter_value (context, fo_context_get_letter_value (src)); fo_context_set_line_height (context, fo_context_get_line_height (src)); fo_context_set_line_stacking_strategy (context, fo_context_get_line_stacking_strategy (src)); fo_context_set_linefeed_treatment (context, fo_context_get_linefeed_treatment (src)); fo_context_set_margin (context, fo_context_get_margin (src)); fo_context_set_margin_bottom (context, fo_context_get_margin_bottom (src)); fo_context_set_margin_left (context, fo_context_get_margin_left (src)); fo_context_set_margin_right (context, fo_context_get_margin_right (src)); fo_context_set_margin_top (context, fo_context_get_margin_top (src)); fo_context_set_master_name (context, fo_context_get_master_name (src)); fo_context_set_master_reference (context, fo_context_get_master_reference (src)); fo_context_set_media_usage (context, fo_context_get_media_usage (src)); fo_context_set_number_columns_repeated (context, fo_context_get_number_columns_repeated (src)); fo_context_set_number_columns_spanned (context, fo_context_get_number_columns_spanned (src)); fo_context_set_number_rows_spanned (context, fo_context_get_number_rows_spanned (src)); fo_context_set_orphans (context, fo_context_get_orphans (src)); fo_context_set_overflow (context, fo_context_get_overflow (src)); fo_context_set_padding (context, fo_context_get_padding (src)); fo_context_set_padding_after (context, fo_context_get_padding_after (src)); fo_context_set_padding_after_length (context, fo_context_get_padding_after_length (src)); fo_context_set_padding_after_condity (context, fo_context_get_padding_after_condity (src)); fo_context_set_padding_before (context, fo_context_get_padding_before (src)); fo_context_set_padding_before_length (context, fo_context_get_padding_before_length (src)); fo_context_set_padding_before_condity (context, fo_context_get_padding_before_condity (src)); fo_context_set_padding_bottom (context, fo_context_get_padding_bottom (src)); fo_context_set_padding_end (context, fo_context_get_padding_end (src)); fo_context_set_padding_end_length (context, fo_context_get_padding_end_length (src)); fo_context_set_padding_end_condity (context, fo_context_get_padding_end_condity (src)); fo_context_set_padding_left (context, fo_context_get_padding_left (src)); fo_context_set_padding_right (context, fo_context_get_padding_right (src)); fo_context_set_padding_start (context, fo_context_get_padding_start (src)); fo_context_set_padding_start_length (context, fo_context_get_padding_start_length (src)); fo_context_set_padding_start_condity (context, fo_context_get_padding_start_condity (src)); fo_context_set_padding_top (context, fo_context_get_padding_top (src)); fo_context_set_page_height (context, fo_context_get_page_height (src)); fo_context_set_page_width (context, fo_context_get_page_width (src)); fo_context_set_provisional_distance_between_starts (context, fo_context_get_provisional_distance_between_starts (src)); fo_context_set_provisional_label_separation (context, fo_context_get_provisional_label_separation (src)); fo_context_set_ref_id (context, fo_context_get_ref_id (src)); fo_context_set_region_name (context, fo_context_get_region_name (src)); fo_context_set_role (context, fo_context_get_role (src)); fo_context_set_scaling (context, fo_context_get_scaling (src)); fo_context_set_scaling_method (context, fo_context_get_scaling_method (src)); fo_context_set_score_spaces (context, fo_context_get_score_spaces (src)); fo_context_set_source_document (context, fo_context_get_source_document (src)); fo_context_set_space_after (context, fo_context_get_space_after (src)); fo_context_set_space_before (context, fo_context_get_space_before (src)); fo_context_set_space_end (context, fo_context_get_space_end (src)); fo_context_set_space_start (context, fo_context_get_space_start (src)); fo_context_set_span (context, fo_context_get_span (src)); fo_context_set_src (context, fo_context_get_src (src)); fo_context_set_start_indent (context, fo_context_get_start_indent (src)); fo_context_set_table_layout (context, fo_context_get_table_layout (src)); fo_context_set_text_align (context, fo_context_get_text_align (src)); fo_context_set_text_indent (context, fo_context_get_text_indent (src)); fo_context_set_unicode_bidi (context, fo_context_get_unicode_bidi (src)); fo_context_set_white_space_collapse (context, fo_context_get_white_space_collapse (src)); fo_context_set_white_space_treatment (context, fo_context_get_white_space_treatment (src)); fo_context_set_widows (context, fo_context_get_widows (src)); fo_context_set_width (context, fo_context_get_width (src)); fo_context_set_wrap_option (context, fo_context_get_wrap_option (src)); fo_context_set_writing_mode (context, fo_context_get_writing_mode (src)); return context; } /** * fo_context_merge: * @primary: Primary #FoContext. * @secondary: Secondary #FoContext. * * Merge @primary and @secondary. * * When a property does not exist in @primary, if the property is * inherited, set the property value in @primary to that in * @secondary, otherwise set the property value in @primary to its * initial value. **/ void fo_context_merge (FoContext *primary, FoContext *secondary) { if (primary == NULL && secondary != NULL) { primary = g_object_ref (secondary); } if (primary->alignment_adjust == NULL) { primary->alignment_adjust = g_object_ref (fo_property_alignment_adjust_get_initial ()); } if (primary->alignment_baseline == NULL) { primary->alignment_baseline = g_object_ref (fo_property_alignment_baseline_get_initial ()); } if (primary->background_color == NULL) { primary->background_color = g_object_ref (fo_property_background_color_get_initial ()); } if (primary->background_image == NULL) { primary->background_image = g_object_ref (fo_property_background_image_get_initial ()); } if (primary->baseline_shift == NULL) { primary->baseline_shift = g_object_ref (fo_property_baseline_shift_get_initial ()); } if (primary->block_progression_dimension == NULL) { primary->block_progression_dimension = g_object_ref (fo_property_block_progression_dimension_get_initial ()); } if (primary->border == NULL) { primary->border = g_object_ref (fo_property_border_get_initial ()); } if (primary->border_after_color == NULL) { primary->border_after_color = g_object_ref (fo_property_border_after_color_get_initial ()); } if (primary->border_after_precedence == NULL) { primary->border_after_precedence = g_object_ref (fo_property_border_after_precedence_get_initial ()); } if (primary->border_after_style == NULL) { primary->border_after_style = g_object_ref (fo_property_border_after_style_get_initial ()); } if (primary->border_after_width == NULL) { primary->border_after_width = g_object_ref (fo_property_border_after_width_get_initial ()); } if (primary->border_before_color == NULL) { primary->border_before_color = g_object_ref (fo_property_border_before_color_get_initial ()); } if (primary->border_before_precedence == NULL) { primary->border_before_precedence = g_object_ref (fo_property_border_before_precedence_get_initial ()); } if (primary->border_before_style == NULL) { primary->border_before_style = g_object_ref (fo_property_border_before_style_get_initial ()); } if (primary->border_before_width == NULL) { primary->border_before_width = g_object_ref (fo_property_border_before_width_get_initial ()); } if (primary->border_bottom == NULL) { primary->border_bottom = g_object_ref (fo_property_border_bottom_get_initial ()); } if (primary->border_bottom_color == NULL) { primary->border_bottom_color = g_object_ref (fo_property_border_bottom_color_get_initial ()); } if (primary->border_bottom_style == NULL) { primary->border_bottom_style = g_object_ref (fo_property_border_bottom_style_get_initial ()); } if (primary->border_bottom_width == NULL) { primary->border_bottom_width = g_object_ref (fo_property_border_bottom_width_get_initial ()); } if (primary->border_collapse == NULL && secondary->border_collapse != NULL) { primary->border_collapse = g_object_ref (secondary->border_collapse); } if (primary->border_color == NULL) { primary->border_color = g_object_ref (fo_property_border_color_get_initial ()); } if (primary->border_end_color == NULL) { primary->border_end_color = g_object_ref (fo_property_border_end_color_get_initial ()); } if (primary->border_end_precedence == NULL) { primary->border_end_precedence = g_object_ref (fo_property_border_end_precedence_get_initial ()); } if (primary->border_end_style == NULL) { primary->border_end_style = g_object_ref (fo_property_border_end_style_get_initial ()); } if (primary->border_end_width == NULL) { primary->border_end_width = g_object_ref (fo_property_border_end_width_get_initial ()); } if (primary->border_left == NULL) { primary->border_left = g_object_ref (fo_property_border_left_get_initial ()); } if (primary->border_left_color == NULL) { primary->border_left_color = g_object_ref (fo_property_border_left_color_get_initial ()); } if (primary->border_left_style == NULL) { primary->border_left_style = g_object_ref (fo_property_border_left_style_get_initial ()); } if (primary->border_left_width == NULL) { primary->border_left_width = g_object_ref (fo_property_border_left_width_get_initial ()); } if (primary->border_right == NULL) { primary->border_right = g_object_ref (fo_property_border_right_get_initial ()); } if (primary->border_right_color == NULL) { primary->border_right_color = g_object_ref (fo_property_border_right_color_get_initial ()); } if (primary->border_right_style == NULL) { primary->border_right_style = g_object_ref (fo_property_border_right_style_get_initial ()); } if (primary->border_right_width == NULL) { primary->border_right_width = g_object_ref (fo_property_border_right_width_get_initial ()); } if (primary->border_separation == NULL && secondary->border_separation != NULL) { primary->border_separation = g_object_ref (secondary->border_separation); } if (primary->border_start_color == NULL) { primary->border_start_color = g_object_ref (fo_property_border_start_color_get_initial ()); } if (primary->border_start_precedence == NULL) { primary->border_start_precedence = g_object_ref (fo_property_border_start_precedence_get_initial ()); } if (primary->border_start_style == NULL) { primary->border_start_style = g_object_ref (fo_property_border_start_style_get_initial ()); } if (primary->border_start_width == NULL) { primary->border_start_width = g_object_ref (fo_property_border_start_width_get_initial ()); } if (primary->border_style == NULL) { primary->border_style = g_object_ref (fo_property_border_style_get_initial ()); } if (primary->border_top == NULL) { primary->border_top = g_object_ref (fo_property_border_top_get_initial ()); } if (primary->border_top_color == NULL) { primary->border_top_color = g_object_ref (fo_property_border_top_color_get_initial ()); } if (primary->border_top_style == NULL) { primary->border_top_style = g_object_ref (fo_property_border_top_style_get_initial ()); } if (primary->border_top_width == NULL) { primary->border_top_width = g_object_ref (fo_property_border_top_width_get_initial ()); } if (primary->border_width == NULL) { primary->border_width = g_object_ref (fo_property_border_width_get_initial ()); } if (primary->break_after == NULL) { primary->break_after = g_object_ref (fo_property_break_after_get_initial ()); } if (primary->break_before == NULL) { primary->break_before = g_object_ref (fo_property_break_before_get_initial ()); } if (primary->character == NULL) { primary->character = g_object_ref (fo_property_character_get_initial ()); } if (primary->clip == NULL) { primary->clip = g_object_ref (fo_property_clip_get_initial ()); } if (primary->color == NULL && secondary->color != NULL) { primary->color = g_object_ref (secondary->color); } if (primary->column_number == NULL) { primary->column_number = g_object_ref (fo_property_column_number_get_initial ()); } if (primary->column_width == NULL) { primary->column_width = g_object_ref (fo_property_column_width_get_initial ()); } if (primary->content_height == NULL) { primary->content_height = g_object_ref (fo_property_content_height_get_initial ()); } if (primary->content_type == NULL) { primary->content_type = g_object_ref (fo_property_content_type_get_initial ()); } if (primary->content_width == NULL) { primary->content_width = g_object_ref (fo_property_content_width_get_initial ()); } if (primary->direction == NULL && secondary->direction != NULL) { primary->direction = g_object_ref (secondary->direction); } if (primary->display_align == NULL && secondary->display_align != NULL) { primary->display_align = g_object_ref (secondary->display_align); } if (primary->dominant_baseline == NULL) { primary->dominant_baseline = g_object_ref (fo_property_dominant_baseline_get_initial ()); } if (primary->end_indent == NULL && secondary->end_indent != NULL) { primary->end_indent = g_object_ref (secondary->end_indent); } if (primary->extent == NULL) { primary->extent = g_object_ref (fo_property_extent_get_initial ()); } if (primary->flow_name == NULL) { primary->flow_name = g_object_ref (fo_property_flow_name_get_initial ()); } if (primary->font_family == NULL && secondary->font_family != NULL) { primary->font_family = g_object_ref (secondary->font_family); } if (primary->font_size == NULL && secondary->font_size != NULL) { primary->font_size = g_object_ref (secondary->font_size); } if (primary->font_stretch == NULL && secondary->font_stretch != NULL) { primary->font_stretch = g_object_ref (secondary->font_stretch); } if (primary->font_style == NULL && secondary->font_style != NULL) { primary->font_style = g_object_ref (secondary->font_style); } if (primary->font_variant == NULL && secondary->font_variant != NULL) { primary->font_variant = g_object_ref (secondary->font_variant); } if (primary->font_weight == NULL && secondary->font_weight != NULL) { primary->font_weight = g_object_ref (secondary->font_weight); } if (primary->format == NULL) { primary->format = g_object_ref (fo_property_format_get_initial ()); } if (primary->grouping_separator == NULL) { primary->grouping_separator = g_object_ref (fo_property_grouping_separator_get_initial ()); } if (primary->grouping_size == NULL) { primary->grouping_size = g_object_ref (fo_property_grouping_size_get_initial ()); } if (primary->height == NULL) { primary->height = g_object_ref (fo_property_height_get_initial ()); } if (primary->id == NULL) { primary->id = g_object_ref (fo_property_id_get_initial ()); } if (primary->inline_progression_dimension == NULL) { primary->inline_progression_dimension = g_object_ref (fo_property_inline_progression_dimension_get_initial ()); } if (primary->keep_together == NULL && secondary->keep_together != NULL) { primary->keep_together = g_object_ref (secondary->keep_together); } if (primary->keep_together_within_column == NULL) { primary->keep_together_within_column = g_object_ref (fo_property_keep_together_within_column_get_initial ()); } if (primary->keep_together_within_line == NULL) { primary->keep_together_within_line = g_object_ref (fo_property_keep_together_within_line_get_initial ()); } if (primary->keep_together_within_page == NULL) { primary->keep_together_within_page = g_object_ref (fo_property_keep_together_within_page_get_initial ()); } if (primary->keep_with_next == NULL) { primary->keep_with_next = g_object_ref (fo_property_keep_with_next_get_initial ()); } if (primary->keep_with_next_within_column == NULL) { primary->keep_with_next_within_column = g_object_ref (fo_property_keep_with_next_within_column_get_initial ()); } if (primary->keep_with_next_within_line == NULL) { primary->keep_with_next_within_line = g_object_ref (fo_property_keep_with_next_within_line_get_initial ()); } if (primary->keep_with_next_within_page == NULL) { primary->keep_with_next_within_page = g_object_ref (fo_property_keep_with_next_within_page_get_initial ()); } if (primary->keep_with_previous == NULL) { primary->keep_with_previous = g_object_ref (fo_property_keep_with_previous_get_initial ()); } if (primary->keep_with_previous_within_column == NULL) { primary->keep_with_previous_within_column = g_object_ref (fo_property_keep_with_previous_within_column_get_initial ()); } if (primary->keep_with_previous_within_line == NULL) { primary->keep_with_previous_within_line = g_object_ref (fo_property_keep_with_previous_within_line_get_initial ()); } if (primary->keep_with_previous_within_page == NULL) { primary->keep_with_previous_within_page = g_object_ref (fo_property_keep_with_previous_within_page_get_initial ()); } if (primary->letter_value == NULL) { primary->letter_value = g_object_ref (fo_property_letter_value_get_initial ()); } if (primary->line_height == NULL && secondary->line_height != NULL) { primary->line_height = g_object_ref (secondary->line_height); } if (primary->line_stacking_strategy == NULL && secondary->line_stacking_strategy != NULL) { primary->line_stacking_strategy = g_object_ref (secondary->line_stacking_strategy); } if (primary->linefeed_treatment == NULL && secondary->linefeed_treatment != NULL) { primary->linefeed_treatment = g_object_ref (secondary->linefeed_treatment); } if (primary->margin == NULL) { primary->margin = g_object_ref (fo_property_margin_get_initial ()); } if (primary->margin_bottom == NULL) { primary->margin_bottom = g_object_ref (fo_property_margin_bottom_get_initial ()); } if (primary->margin_left == NULL) { primary->margin_left = g_object_ref (fo_property_margin_left_get_initial ()); } if (primary->margin_right == NULL) { primary->margin_right = g_object_ref (fo_property_margin_right_get_initial ()); } if (primary->margin_top == NULL) { primary->margin_top = g_object_ref (fo_property_margin_top_get_initial ()); } if (primary->master_name == NULL) { primary->master_name = g_object_ref (fo_property_master_name_get_initial ()); } if (primary->master_reference == NULL) { primary->master_reference = g_object_ref (fo_property_master_reference_get_initial ()); } if (primary->media_usage == NULL) { primary->media_usage = g_object_ref (fo_property_media_usage_get_initial ()); } if (primary->number_columns_repeated == NULL) { primary->number_columns_repeated = g_object_ref (fo_property_number_columns_repeated_get_initial ()); } if (primary->number_columns_spanned == NULL) { primary->number_columns_spanned = g_object_ref (fo_property_number_columns_spanned_get_initial ()); } if (primary->number_rows_spanned == NULL) { primary->number_rows_spanned = g_object_ref (fo_property_number_rows_spanned_get_initial ()); } if (primary->orphans == NULL && secondary->orphans != NULL) { primary->orphans = g_object_ref (secondary->orphans); } if (primary->overflow == NULL) { primary->overflow = g_object_ref (fo_property_overflow_get_initial ()); } if (primary->padding == NULL) { primary->padding = g_object_ref (fo_property_padding_get_initial ()); } if (primary->padding_after == NULL) { primary->padding_after = g_object_ref (fo_property_padding_after_get_initial ()); } if (primary->padding_after_length == NULL) { primary->padding_after_length = g_object_ref (fo_property_padding_after_length_get_initial ()); } if (primary->padding_after_condity == NULL) { primary->padding_after_condity = g_object_ref (fo_property_padding_after_condity_get_initial ()); } if (primary->padding_before == NULL) { primary->padding_before = g_object_ref (fo_property_padding_before_get_initial ()); } if (primary->padding_before_length == NULL) { primary->padding_before_length = g_object_ref (fo_property_padding_before_length_get_initial ()); } if (primary->padding_before_condity == NULL) { primary->padding_before_condity = g_object_ref (fo_property_padding_before_condity_get_initial ()); } if (primary->padding_bottom == NULL) { primary->padding_bottom = g_object_ref (fo_property_padding_bottom_get_initial ()); } if (primary->padding_end == NULL) { primary->padding_end = g_object_ref (fo_property_padding_end_get_initial ()); } if (primary->padding_end_length == NULL) { primary->padding_end_length = g_object_ref (fo_property_padding_end_length_get_initial ()); } if (primary->padding_end_condity == NULL) { primary->padding_end_condity = g_object_ref (fo_property_padding_end_condity_get_initial ()); } if (primary->padding_left == NULL) { primary->padding_left = g_object_ref (fo_property_padding_left_get_initial ()); } if (primary->padding_right == NULL) { primary->padding_right = g_object_ref (fo_property_padding_right_get_initial ()); } if (primary->padding_start == NULL) { primary->padding_start = g_object_ref (fo_property_padding_start_get_initial ()); } if (primary->padding_start_length == NULL) { primary->padding_start_length = g_object_ref (fo_property_padding_start_length_get_initial ()); } if (primary->padding_start_condity == NULL) { primary->padding_start_condity = g_object_ref (fo_property_padding_start_condity_get_initial ()); } if (primary->padding_top == NULL) { primary->padding_top = g_object_ref (fo_property_padding_top_get_initial ()); } if (primary->page_height == NULL) { primary->page_height = g_object_ref (fo_property_page_height_get_initial ()); } if (primary->page_width == NULL) { primary->page_width = g_object_ref (fo_property_page_width_get_initial ()); } if (primary->provisional_distance_between_starts == NULL && secondary->provisional_distance_between_starts != NULL) { primary->provisional_distance_between_starts = g_object_ref (secondary->provisional_distance_between_starts); } if (primary->provisional_label_separation == NULL && secondary->provisional_label_separation != NULL) { primary->provisional_label_separation = g_object_ref (secondary->provisional_label_separation); } if (primary->ref_id == NULL) { primary->ref_id = g_object_ref (fo_property_ref_id_get_initial ()); } if (primary->region_name == NULL) { primary->region_name = g_object_ref (fo_property_region_name_get_initial ()); } if (primary->role == NULL) { primary->role = g_object_ref (fo_property_role_get_initial ()); } if (primary->scaling == NULL) { primary->scaling = g_object_ref (fo_property_scaling_get_initial ()); } if (primary->scaling_method == NULL) { primary->scaling_method = g_object_ref (fo_property_scaling_method_get_initial ()); } if (primary->score_spaces == NULL && secondary->score_spaces != NULL) { primary->score_spaces = g_object_ref (secondary->score_spaces); } if (primary->source_document == NULL) { primary->source_document = g_object_ref (fo_property_source_document_get_initial ()); } if (primary->space_after == NULL) { primary->space_after = g_object_ref (fo_property_space_after_get_initial ()); } if (primary->space_before == NULL) { primary->space_before = g_object_ref (fo_property_space_before_get_initial ()); } if (primary->space_end == NULL) { primary->space_end = g_object_ref (fo_property_space_end_get_initial ()); } if (primary->space_start == NULL) { primary->space_start = g_object_ref (fo_property_space_start_get_initial ()); } if (primary->span == NULL) { primary->span = g_object_ref (fo_property_span_get_initial ()); } if (primary->src == NULL) { primary->src = g_object_ref (fo_property_src_get_initial ()); } if (primary->start_indent == NULL && secondary->start_indent != NULL) { primary->start_indent = g_object_ref (secondary->start_indent); } if (primary->table_layout == NULL) { primary->table_layout = g_object_ref (fo_property_table_layout_get_initial ()); } if (primary->text_align == NULL && secondary->text_align != NULL) { primary->text_align = g_object_ref (secondary->text_align); } if (primary->text_indent == NULL && secondary->text_indent != NULL) { primary->text_indent = g_object_ref (secondary->text_indent); } if (primary->unicode_bidi == NULL) { primary->unicode_bidi = g_object_ref (fo_property_unicode_bidi_get_initial ()); } if (primary->white_space_collapse == NULL && secondary->white_space_collapse != NULL) { primary->white_space_collapse = g_object_ref (secondary->white_space_collapse); } if (primary->white_space_treatment == NULL && secondary->white_space_treatment != NULL) { primary->white_space_treatment = g_object_ref (secondary->white_space_treatment); } if (primary->widows == NULL && secondary->widows != NULL) { primary->widows = g_object_ref (secondary->widows); } if (primary->width == NULL) { primary->width = g_object_ref (fo_property_width_get_initial ()); } if (primary->wrap_option == NULL && secondary->wrap_option != NULL) { primary->wrap_option = g_object_ref (secondary->wrap_option); } if (primary->writing_mode == NULL && secondary->writing_mode != NULL) { primary->writing_mode = g_object_ref (secondary->writing_mode); } } /** * fo_context_property_slist_foreach: * @property: #FoProperty object. * @context: #FoContext. * * Add @property to @context. **/ void fo_context_property_slist_foreach (gpointer property, gpointer context) { if (FO_IS_PROPERTY_ALIGNMENT_ADJUST (property)) { fo_context_set_alignment_adjust (context, property); } else if (FO_IS_PROPERTY_ALIGNMENT_BASELINE (property)) { fo_context_set_alignment_baseline (context, property); } else if (FO_IS_PROPERTY_BACKGROUND_COLOR (property)) { fo_context_set_background_color (context, property); } else if (FO_IS_PROPERTY_BACKGROUND_IMAGE (property)) { fo_context_set_background_image (context, property); } else if (FO_IS_PROPERTY_BASELINE_SHIFT (property)) { fo_context_set_baseline_shift (context, property); } else if (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (property)) { fo_context_set_block_progression_dimension (context, property); } else if (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM (property)) { fo_context_set_block_progression_dimension_minimum (context, property); } else if (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM (property)) { fo_context_set_block_progression_dimension_optimum (context, property); } else if (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM (property)) { fo_context_set_block_progression_dimension_maximum (context, property); } else if (FO_IS_PROPERTY_BORDER (property)) { fo_context_set_border (context, property); } else if (FO_IS_PROPERTY_BORDER_AFTER_COLOR (property)) { fo_context_set_border_after_color (context, property); } else if (FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE (property)) { fo_context_set_border_after_precedence (context, property); } else if (FO_IS_PROPERTY_BORDER_AFTER_STYLE (property)) { fo_context_set_border_after_style (context, property); } else if (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (property)) { fo_context_set_border_after_width (context, property); } else if (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (property)) { fo_context_set_border_before_color (context, property); } else if (FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE (property)) { fo_context_set_border_before_precedence (context, property); } else if (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (property)) { fo_context_set_border_before_style (context, property); } else if (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (property)) { fo_context_set_border_before_width (context, property); } else if (FO_IS_PROPERTY_BORDER_BOTTOM (property)) { fo_context_set_border_bottom (context, property); } else if (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (property)) { fo_context_set_border_bottom_color (context, property); } else if (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (property)) { fo_context_set_border_bottom_style (context, property); } else if (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (property)) { fo_context_set_border_bottom_width (context, property); } else if (FO_IS_PROPERTY_BORDER_COLLAPSE (property)) { fo_context_set_border_collapse (context, property); } else if (FO_IS_PROPERTY_BORDER_COLOR (property)) { fo_context_set_border_color (context, property); } else if (FO_IS_PROPERTY_BORDER_END_COLOR (property)) { fo_context_set_border_end_color (context, property); } else if (FO_IS_PROPERTY_BORDER_END_PRECEDENCE (property)) { fo_context_set_border_end_precedence (context, property); } else if (FO_IS_PROPERTY_BORDER_END_STYLE (property)) { fo_context_set_border_end_style (context, property); } else if (FO_IS_PROPERTY_BORDER_END_WIDTH (property)) { fo_context_set_border_end_width (context, property); } else if (FO_IS_PROPERTY_BORDER_LEFT (property)) { fo_context_set_border_left (context, property); } else if (FO_IS_PROPERTY_BORDER_LEFT_COLOR (property)) { fo_context_set_border_left_color (context, property); } else if (FO_IS_PROPERTY_BORDER_LEFT_STYLE (property)) { fo_context_set_border_left_style (context, property); } else if (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (property)) { fo_context_set_border_left_width (context, property); } else if (FO_IS_PROPERTY_BORDER_RIGHT (property)) { fo_context_set_border_right (context, property); } else if (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (property)) { fo_context_set_border_right_color (context, property); } else if (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (property)) { fo_context_set_border_right_style (context, property); } else if (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (property)) { fo_context_set_border_right_width (context, property); } else if (FO_IS_PROPERTY_BORDER_SEPARATION (property)) { fo_context_set_border_separation (context, property); } else if (FO_IS_PROPERTY_BORDER_START_COLOR (property)) { fo_context_set_border_start_color (context, property); } else if (FO_IS_PROPERTY_BORDER_START_PRECEDENCE (property)) { fo_context_set_border_start_precedence (context, property); } else if (FO_IS_PROPERTY_BORDER_START_STYLE (property)) { fo_context_set_border_start_style (context, property); } else if (FO_IS_PROPERTY_BORDER_START_WIDTH (property)) { fo_context_set_border_start_width (context, property); } else if (FO_IS_PROPERTY_BORDER_STYLE (property)) { fo_context_set_border_style (context, property); } else if (FO_IS_PROPERTY_BORDER_TOP (property)) { fo_context_set_border_top (context, property); } else if (FO_IS_PROPERTY_BORDER_TOP_COLOR (property)) { fo_context_set_border_top_color (context, property); } else if (FO_IS_PROPERTY_BORDER_TOP_STYLE (property)) { fo_context_set_border_top_style (context, property); } else if (FO_IS_PROPERTY_BORDER_TOP_WIDTH (property)) { fo_context_set_border_top_width (context, property); } else if (FO_IS_PROPERTY_BORDER_WIDTH (property)) { fo_context_set_border_width (context, property); } else if (FO_IS_PROPERTY_BREAK_AFTER (property)) { fo_context_set_break_after (context, property); } else if (FO_IS_PROPERTY_BREAK_BEFORE (property)) { fo_context_set_break_before (context, property); } else if (FO_IS_PROPERTY_CHARACTER (property)) { fo_context_set_character (context, property); } else if (FO_IS_PROPERTY_CLIP (property)) { fo_context_set_clip (context, property); } else if (FO_IS_PROPERTY_COLOR (property)) { fo_context_set_color (context, property); } else if (FO_IS_PROPERTY_COLUMN_NUMBER (property)) { fo_context_set_column_number (context, property); } else if (FO_IS_PROPERTY_COLUMN_WIDTH (property)) { fo_context_set_column_width (context, property); } else if (FO_IS_PROPERTY_CONTENT_HEIGHT (property)) { fo_context_set_content_height (context, property); } else if (FO_IS_PROPERTY_CONTENT_TYPE (property)) { fo_context_set_content_type (context, property); } else if (FO_IS_PROPERTY_CONTENT_WIDTH (property)) { fo_context_set_content_width (context, property); } else if (FO_IS_PROPERTY_DIRECTION (property)) { fo_context_set_direction (context, property); } else if (FO_IS_PROPERTY_DISPLAY_ALIGN (property)) { fo_context_set_display_align (context, property); } else if (FO_IS_PROPERTY_DOMINANT_BASELINE (property)) { fo_context_set_dominant_baseline (context, property); } else if (FO_IS_PROPERTY_END_INDENT (property)) { fo_context_set_end_indent (context, property); } else if (FO_IS_PROPERTY_EXTENT (property)) { fo_context_set_extent (context, property); } else if (FO_IS_PROPERTY_FLOW_NAME (property)) { fo_context_set_flow_name (context, property); } else if (FO_IS_PROPERTY_FONT_FAMILY (property)) { fo_context_set_font_family (context, property); } else if (FO_IS_PROPERTY_FONT_SIZE (property)) { fo_context_set_font_size (context, property); } else if (FO_IS_PROPERTY_FONT_STRETCH (property)) { fo_context_set_font_stretch (context, property); } else if (FO_IS_PROPERTY_FONT_STYLE (property)) { fo_context_set_font_style (context, property); } else if (FO_IS_PROPERTY_FONT_VARIANT (property)) { fo_context_set_font_variant (context, property); } else if (FO_IS_PROPERTY_FONT_WEIGHT (property)) { fo_context_set_font_weight (context, property); } else if (FO_IS_PROPERTY_FORMAT (property)) { fo_context_set_format (context, property); } else if (FO_IS_PROPERTY_GROUPING_SEPARATOR (property)) { fo_context_set_grouping_separator (context, property); } else if (FO_IS_PROPERTY_GROUPING_SIZE (property)) { fo_context_set_grouping_size (context, property); } else if (FO_IS_PROPERTY_HEIGHT (property)) { fo_context_set_height (context, property); } else if (FO_IS_PROPERTY_ID (property)) { fo_context_set_id (context, property); } else if (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (property)) { fo_context_set_inline_progression_dimension (context, property); } else if (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM (property)) { fo_context_set_inline_progression_dimension_minimum (context, property); } else if (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM (property)) { fo_context_set_inline_progression_dimension_optimum (context, property); } else if (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM (property)) { fo_context_set_inline_progression_dimension_maximum (context, property); } else if (FO_IS_PROPERTY_KEEP_TOGETHER (property)) { fo_context_set_keep_together (context, property); } else if (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (property)) { fo_context_set_keep_together_within_column (context, property); } else if (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (property)) { fo_context_set_keep_together_within_line (context, property); } else if (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (property)) { fo_context_set_keep_together_within_page (context, property); } else if (FO_IS_PROPERTY_KEEP_WITH_NEXT (property)) { fo_context_set_keep_with_next (context, property); } else if (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (property)) { fo_context_set_keep_with_next_within_column (context, property); } else if (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (property)) { fo_context_set_keep_with_next_within_line (context, property); } else if (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (property)) { fo_context_set_keep_with_next_within_page (context, property); } else if (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (property)) { fo_context_set_keep_with_previous (context, property); } else if (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (property)) { fo_context_set_keep_with_previous_within_column (context, property); } else if (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (property)) { fo_context_set_keep_with_previous_within_line (context, property); } else if (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (property)) { fo_context_set_keep_with_previous_within_page (context, property); } else if (FO_IS_PROPERTY_LETTER_VALUE (property)) { fo_context_set_letter_value (context, property); } else if (FO_IS_PROPERTY_LINE_HEIGHT (property)) { fo_context_set_line_height (context, property); } else if (FO_IS_PROPERTY_LINE_STACKING_STRATEGY (property)) { fo_context_set_line_stacking_strategy (context, property); } else if (FO_IS_PROPERTY_LINEFEED_TREATMENT (property)) { fo_context_set_linefeed_treatment (context, property); } else if (FO_IS_PROPERTY_MARGIN (property)) { fo_context_set_margin (context, property); } else if (FO_IS_PROPERTY_MARGIN_BOTTOM (property)) { fo_context_set_margin_bottom (context, property); } else if (FO_IS_PROPERTY_MARGIN_LEFT (property)) { fo_context_set_margin_left (context, property); } else if (FO_IS_PROPERTY_MARGIN_RIGHT (property)) { fo_context_set_margin_right (context, property); } else if (FO_IS_PROPERTY_MARGIN_TOP (property)) { fo_context_set_margin_top (context, property); } else if (FO_IS_PROPERTY_MASTER_NAME (property)) { fo_context_set_master_name (context, property); } else if (FO_IS_PROPERTY_MASTER_REFERENCE (property)) { fo_context_set_master_reference (context, property); } else if (FO_IS_PROPERTY_MEDIA_USAGE (property)) { fo_context_set_media_usage (context, property); } else if (FO_IS_PROPERTY_NUMBER_COLUMNS_REPEATED (property)) { fo_context_set_number_columns_repeated (context, property); } else if (FO_IS_PROPERTY_NUMBER_COLUMNS_SPANNED (property)) { fo_context_set_number_columns_spanned (context, property); } else if (FO_IS_PROPERTY_NUMBER_ROWS_SPANNED (property)) { fo_context_set_number_rows_spanned (context, property); } else if (FO_IS_PROPERTY_ORPHANS (property)) { fo_context_set_orphans (context, property); } else if (FO_IS_PROPERTY_OVERFLOW (property)) { fo_context_set_overflow (context, property); } else if (FO_IS_PROPERTY_PADDING (property)) { fo_context_set_padding (context, property); } else if (FO_IS_PROPERTY_PADDING_AFTER (property)) { fo_context_set_padding_after (context, property); } else if (FO_IS_PROPERTY_PADDING_AFTER_LENGTH (property)) { fo_context_set_padding_after_length (context, property); } else if (FO_IS_PROPERTY_PADDING_AFTER_CONDITY (property)) { fo_context_set_padding_after_condity (context, property); } else if (FO_IS_PROPERTY_PADDING_BEFORE (property)) { fo_context_set_padding_before (context, property); } else if (FO_IS_PROPERTY_PADDING_BEFORE_LENGTH (property)) { fo_context_set_padding_before_length (context, property); } else if (FO_IS_PROPERTY_PADDING_BEFORE_CONDITY (property)) { fo_context_set_padding_before_condity (context, property); } else if (FO_IS_PROPERTY_PADDING_BOTTOM (property)) { fo_context_set_padding_bottom (context, property); } else if (FO_IS_PROPERTY_PADDING_END (property)) { fo_context_set_padding_end (context, property); } else if (FO_IS_PROPERTY_PADDING_END_LENGTH (property)) { fo_context_set_padding_end_length (context, property); } else if (FO_IS_PROPERTY_PADDING_END_CONDITY (property)) { fo_context_set_padding_end_condity (context, property); } else if (FO_IS_PROPERTY_PADDING_LEFT (property)) { fo_context_set_padding_left (context, property); } else if (FO_IS_PROPERTY_PADDING_RIGHT (property)) { fo_context_set_padding_right (context, property); } else if (FO_IS_PROPERTY_PADDING_START (property)) { fo_context_set_padding_start (context, property); } else if (FO_IS_PROPERTY_PADDING_START_LENGTH (property)) { fo_context_set_padding_start_length (context, property); } else if (FO_IS_PROPERTY_PADDING_START_CONDITY (property)) { fo_context_set_padding_start_condity (context, property); } else if (FO_IS_PROPERTY_PADDING_TOP (property)) { fo_context_set_padding_top (context, property); } else if (FO_IS_PROPERTY_PAGE_HEIGHT (property)) { fo_context_set_page_height (context, property); } else if (FO_IS_PROPERTY_PAGE_WIDTH (property)) { fo_context_set_page_width (context, property); } else if (FO_IS_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS (property)) { fo_context_set_provisional_distance_between_starts (context, property); } else if (FO_IS_PROPERTY_PROVISIONAL_LABEL_SEPARATION (property)) { fo_context_set_provisional_label_separation (context, property); } else if (FO_IS_PROPERTY_REF_ID (property)) { fo_context_set_ref_id (context, property); } else if (FO_IS_PROPERTY_REGION_NAME (property)) { fo_context_set_region_name (context, property); } else if (FO_IS_PROPERTY_ROLE (property)) { fo_context_set_role (context, property); } else if (FO_IS_PROPERTY_SCALING (property)) { fo_context_set_scaling (context, property); } else if (FO_IS_PROPERTY_SCALING_METHOD (property)) { fo_context_set_scaling_method (context, property); } else if (FO_IS_PROPERTY_SCORE_SPACES (property)) { fo_context_set_score_spaces (context, property); } else if (FO_IS_PROPERTY_SOURCE_DOCUMENT (property)) { fo_context_set_source_document (context, property); } else if (FO_IS_PROPERTY_SPACE_AFTER (property)) { fo_context_set_space_after (context, property); } else if (FO_IS_PROPERTY_SPACE_AFTER_MINIMUM (property)) { fo_context_set_space_after_minimum (context, property); } else if (FO_IS_PROPERTY_SPACE_AFTER_OPTIMUM (property)) { fo_context_set_space_after_optimum (context, property); } else if (FO_IS_PROPERTY_SPACE_AFTER_MAXIMUM (property)) { fo_context_set_space_after_maximum (context, property); } else if (FO_IS_PROPERTY_SPACE_AFTER_PRECEDENCE (property)) { fo_context_set_space_after_precedence (context, property); } else if (FO_IS_PROPERTY_SPACE_AFTER_CONDITY (property)) { fo_context_set_space_after_condity (context, property); } else if (FO_IS_PROPERTY_SPACE_BEFORE (property)) { fo_context_set_space_before (context, property); } else if (FO_IS_PROPERTY_SPACE_BEFORE_MINIMUM (property)) { fo_context_set_space_before_minimum (context, property); } else if (FO_IS_PROPERTY_SPACE_BEFORE_OPTIMUM (property)) { fo_context_set_space_before_optimum (context, property); } else if (FO_IS_PROPERTY_SPACE_BEFORE_MAXIMUM (property)) { fo_context_set_space_before_maximum (context, property); } else if (FO_IS_PROPERTY_SPACE_BEFORE_PRECEDENCE (property)) { fo_context_set_space_before_precedence (context, property); } else if (FO_IS_PROPERTY_SPACE_BEFORE_CONDITY (property)) { fo_context_set_space_before_condity (context, property); } else if (FO_IS_PROPERTY_SPACE_END (property)) { fo_context_set_space_end (context, property); } else if (FO_IS_PROPERTY_SPACE_END_MINIMUM (property)) { fo_context_set_space_end_minimum (context, property); } else if (FO_IS_PROPERTY_SPACE_END_OPTIMUM (property)) { fo_context_set_space_end_optimum (context, property); } else if (FO_IS_PROPERTY_SPACE_END_MAXIMUM (property)) { fo_context_set_space_end_maximum (context, property); } else if (FO_IS_PROPERTY_SPACE_END_PRECEDENCE (property)) { fo_context_set_space_end_precedence (context, property); } else if (FO_IS_PROPERTY_SPACE_END_CONDITY (property)) { fo_context_set_space_end_condity (context, property); } else if (FO_IS_PROPERTY_SPACE_START (property)) { fo_context_set_space_start (context, property); } else if (FO_IS_PROPERTY_SPACE_START_MINIMUM (property)) { fo_context_set_space_start_minimum (context, property); } else if (FO_IS_PROPERTY_SPACE_START_OPTIMUM (property)) { fo_context_set_space_start_optimum (context, property); } else if (FO_IS_PROPERTY_SPACE_START_MAXIMUM (property)) { fo_context_set_space_start_maximum (context, property); } else if (FO_IS_PROPERTY_SPACE_START_PRECEDENCE (property)) { fo_context_set_space_start_precedence (context, property); } else if (FO_IS_PROPERTY_SPACE_START_CONDITY (property)) { fo_context_set_space_start_condity (context, property); } else if (FO_IS_PROPERTY_SPAN (property)) { fo_context_set_span (context, property); } else if (FO_IS_PROPERTY_SRC (property)) { fo_context_set_src (context, property); } else if (FO_IS_PROPERTY_START_INDENT (property)) { fo_context_set_start_indent (context, property); } else if (FO_IS_PROPERTY_TABLE_LAYOUT (property)) { fo_context_set_table_layout (context, property); } else if (FO_IS_PROPERTY_TEXT_ALIGN (property)) { fo_context_set_text_align (context, property); } else if (FO_IS_PROPERTY_TEXT_INDENT (property)) { fo_context_set_text_indent (context, property); } else if (FO_IS_PROPERTY_UNICODE_BIDI (property)) { fo_context_set_unicode_bidi (context, property); } else if (FO_IS_PROPERTY_WHITE_SPACE_COLLAPSE (property)) { fo_context_set_white_space_collapse (context, property); } else if (FO_IS_PROPERTY_WHITE_SPACE_TREATMENT (property)) { fo_context_set_white_space_treatment (context, property); } else if (FO_IS_PROPERTY_WIDOWS (property)) { fo_context_set_widows (context, property); } else if (FO_IS_PROPERTY_WIDTH (property)) { fo_context_set_width (context, property); } else if (FO_IS_PROPERTY_WRAP_OPTION (property)) { fo_context_set_wrap_option (context, property); } else if (FO_IS_PROPERTY_WRITING_MODE (property)) { fo_context_set_writing_mode (context, property); } else { gchar *property_dump = fo_object_debug_sprintf (property); g_warning (_("Unsupported property: %s"), property_dump); g_free (property_dump); } } /** * fo_context_update_from_slist: * @context: #FoContext to be updated. * @property_list: #GSList of #FoProperty objects. * * Add each #FoProperty in @property_list to @context. **/ void fo_context_update_from_slist (FoContext *context, GSList *property_list) { g_slist_foreach (property_list, fo_context_property_slist_foreach, (gpointer) context); } /** * fo_context_debug_dump: * @object: #FoContext instance to be dumped. * @depth: Relative indent to apply to the output. * * Dump information about @object and its properties. **/ void fo_context_debug_dump (FoObject *object, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar* object_sprintf; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_CONTEXT (object)); object_sprintf = fo_object_debug_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); g_free (indent); fo_context_debug_dump_properties (FO_CONTEXT (object), depth + 2); } /** * fo_context_debug_dump_properties: * @fo_context: The #FoContext object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_context_debug_dump_properties (FoContext *fo_context, gint depth) { g_return_if_fail (fo_context != NULL); g_return_if_fail (FO_IS_CONTEXT (fo_context)); fo_object_debug_dump (fo_context->alignment_adjust, depth); fo_object_debug_dump (fo_context->alignment_baseline, depth); fo_object_debug_dump (fo_context->background_color, depth); fo_object_debug_dump (fo_context->background_image, depth); fo_object_debug_dump (fo_context->baseline_shift, depth); fo_object_debug_dump (fo_context->block_progression_dimension, depth); fo_object_debug_dump (fo_context->block_progression_dimension_minimum, depth); fo_object_debug_dump (fo_context->block_progression_dimension_optimum, depth); fo_object_debug_dump (fo_context->block_progression_dimension_maximum, depth); fo_object_debug_dump (fo_context->border, depth); fo_object_debug_dump (fo_context->border_after_color, depth); fo_object_debug_dump (fo_context->border_after_precedence, depth); fo_object_debug_dump (fo_context->border_after_style, depth); fo_object_debug_dump (fo_context->border_after_width, depth); fo_object_debug_dump (fo_context->border_before_color, depth); fo_object_debug_dump (fo_context->border_before_precedence, depth); fo_object_debug_dump (fo_context->border_before_style, depth); fo_object_debug_dump (fo_context->border_before_width, depth); fo_object_debug_dump (fo_context->border_bottom, depth); fo_object_debug_dump (fo_context->border_bottom_color, depth); fo_object_debug_dump (fo_context->border_bottom_style, depth); fo_object_debug_dump (fo_context->border_bottom_width, depth); fo_object_debug_dump (fo_context->border_collapse, depth); fo_object_debug_dump (fo_context->border_color, depth); fo_object_debug_dump (fo_context->border_end_color, depth); fo_object_debug_dump (fo_context->border_end_precedence, depth); fo_object_debug_dump (fo_context->border_end_style, depth); fo_object_debug_dump (fo_context->border_end_width, depth); fo_object_debug_dump (fo_context->border_left, depth); fo_object_debug_dump (fo_context->border_left_color, depth); fo_object_debug_dump (fo_context->border_left_style, depth); fo_object_debug_dump (fo_context->border_left_width, depth); fo_object_debug_dump (fo_context->border_right, depth); fo_object_debug_dump (fo_context->border_right_color, depth); fo_object_debug_dump (fo_context->border_right_style, depth); fo_object_debug_dump (fo_context->border_right_width, depth); fo_object_debug_dump (fo_context->border_separation, depth); fo_object_debug_dump (fo_context->border_start_color, depth); fo_object_debug_dump (fo_context->border_start_precedence, depth); fo_object_debug_dump (fo_context->border_start_style, depth); fo_object_debug_dump (fo_context->border_start_width, depth); fo_object_debug_dump (fo_context->border_style, depth); fo_object_debug_dump (fo_context->border_top, depth); fo_object_debug_dump (fo_context->border_top_color, depth); fo_object_debug_dump (fo_context->border_top_style, depth); fo_object_debug_dump (fo_context->border_top_width, depth); fo_object_debug_dump (fo_context->border_width, depth); fo_object_debug_dump (fo_context->break_after, depth); fo_object_debug_dump (fo_context->break_before, depth); fo_object_debug_dump (fo_context->character, depth); fo_object_debug_dump (fo_context->clip, depth); fo_object_debug_dump (fo_context->color, depth); fo_object_debug_dump (fo_context->column_number, depth); fo_object_debug_dump (fo_context->column_width, depth); fo_object_debug_dump (fo_context->content_height, depth); fo_object_debug_dump (fo_context->content_type, depth); fo_object_debug_dump (fo_context->content_width, depth); fo_object_debug_dump (fo_context->direction, depth); fo_object_debug_dump (fo_context->display_align, depth); fo_object_debug_dump (fo_context->dominant_baseline, depth); fo_object_debug_dump (fo_context->end_indent, depth); fo_object_debug_dump (fo_context->extent, depth); fo_object_debug_dump (fo_context->flow_name, depth); fo_object_debug_dump (fo_context->font_family, depth); fo_object_debug_dump (fo_context->font_size, depth); fo_object_debug_dump (fo_context->font_stretch, depth); fo_object_debug_dump (fo_context->font_style, depth); fo_object_debug_dump (fo_context->font_variant, depth); fo_object_debug_dump (fo_context->font_weight, depth); fo_object_debug_dump (fo_context->format, depth); fo_object_debug_dump (fo_context->grouping_separator, depth); fo_object_debug_dump (fo_context->grouping_size, depth); fo_object_debug_dump (fo_context->height, depth); fo_object_debug_dump (fo_context->id, depth); fo_object_debug_dump (fo_context->inline_progression_dimension, depth); fo_object_debug_dump (fo_context->inline_progression_dimension_minimum, depth); fo_object_debug_dump (fo_context->inline_progression_dimension_optimum, depth); fo_object_debug_dump (fo_context->inline_progression_dimension_maximum, depth); fo_object_debug_dump (fo_context->keep_together, depth); fo_object_debug_dump (fo_context->keep_together_within_column, depth); fo_object_debug_dump (fo_context->keep_together_within_line, depth); fo_object_debug_dump (fo_context->keep_together_within_page, depth); fo_object_debug_dump (fo_context->keep_with_next, depth); fo_object_debug_dump (fo_context->keep_with_next_within_column, depth); fo_object_debug_dump (fo_context->keep_with_next_within_line, depth); fo_object_debug_dump (fo_context->keep_with_next_within_page, depth); fo_object_debug_dump (fo_context->keep_with_previous, depth); fo_object_debug_dump (fo_context->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_context->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_context->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_context->letter_value, depth); fo_object_debug_dump (fo_context->line_height, depth); fo_object_debug_dump (fo_context->line_stacking_strategy, depth); fo_object_debug_dump (fo_context->linefeed_treatment, depth); fo_object_debug_dump (fo_context->margin, depth); fo_object_debug_dump (fo_context->margin_bottom, depth); fo_object_debug_dump (fo_context->margin_left, depth); fo_object_debug_dump (fo_context->margin_right, depth); fo_object_debug_dump (fo_context->margin_top, depth); fo_object_debug_dump (fo_context->master_name, depth); fo_object_debug_dump (fo_context->master_reference, depth); fo_object_debug_dump (fo_context->media_usage, depth); fo_object_debug_dump (fo_context->number_columns_repeated, depth); fo_object_debug_dump (fo_context->number_columns_spanned, depth); fo_object_debug_dump (fo_context->number_rows_spanned, depth); fo_object_debug_dump (fo_context->orphans, depth); fo_object_debug_dump (fo_context->overflow, depth); fo_object_debug_dump (fo_context->padding, depth); fo_object_debug_dump (fo_context->padding_after, depth); fo_object_debug_dump (fo_context->padding_before, depth); fo_object_debug_dump (fo_context->padding_before_length, depth); fo_object_debug_dump (fo_context->padding_before_condity, depth); fo_object_debug_dump (fo_context->padding_bottom, depth); fo_object_debug_dump (fo_context->padding_end, depth); fo_object_debug_dump (fo_context->padding_left, depth); fo_object_debug_dump (fo_context->padding_right, depth); fo_object_debug_dump (fo_context->padding_start, depth); fo_object_debug_dump (fo_context->padding_top, depth); fo_object_debug_dump (fo_context->page_height, depth); fo_object_debug_dump (fo_context->page_width, depth); fo_object_debug_dump (fo_context->provisional_distance_between_starts, depth); fo_object_debug_dump (fo_context->provisional_label_separation, depth); fo_object_debug_dump (fo_context->ref_id, depth); fo_object_debug_dump (fo_context->region_name, depth); fo_object_debug_dump (fo_context->role, depth); fo_object_debug_dump (fo_context->scaling, depth); fo_object_debug_dump (fo_context->scaling_method, depth); fo_object_debug_dump (fo_context->score_spaces, depth); fo_object_debug_dump (fo_context->source_document, depth); fo_object_debug_dump (fo_context->space_after, depth); fo_object_debug_dump (fo_context->space_after_minimum, depth); fo_object_debug_dump (fo_context->space_after_optimum, depth); fo_object_debug_dump (fo_context->space_after_maximum, depth); fo_object_debug_dump (fo_context->space_after_precedence, depth); fo_object_debug_dump (fo_context->space_after_condity, depth); fo_object_debug_dump (fo_context->space_before, depth); fo_object_debug_dump (fo_context->space_before_minimum, depth); fo_object_debug_dump (fo_context->space_before_optimum, depth); fo_object_debug_dump (fo_context->space_before_maximum, depth); fo_object_debug_dump (fo_context->space_before_precedence, depth); fo_object_debug_dump (fo_context->space_before_condity, depth); fo_object_debug_dump (fo_context->space_end, depth); fo_object_debug_dump (fo_context->space_end_minimum, depth); fo_object_debug_dump (fo_context->space_end_optimum, depth); fo_object_debug_dump (fo_context->space_end_maximum, depth); fo_object_debug_dump (fo_context->space_end_precedence, depth); fo_object_debug_dump (fo_context->space_end_condity, depth); fo_object_debug_dump (fo_context->space_start, depth); fo_object_debug_dump (fo_context->space_start_minimum, depth); fo_object_debug_dump (fo_context->space_start_optimum, depth); fo_object_debug_dump (fo_context->space_start_maximum, depth); fo_object_debug_dump (fo_context->space_start_precedence, depth); fo_object_debug_dump (fo_context->space_start_condity, depth); fo_object_debug_dump (fo_context->span, depth); fo_object_debug_dump (fo_context->src, depth); fo_object_debug_dump (fo_context->start_indent, depth); fo_object_debug_dump (fo_context->table_layout, depth); fo_object_debug_dump (fo_context->text_align, depth); fo_object_debug_dump (fo_context->text_indent, depth); fo_object_debug_dump (fo_context->unicode_bidi, depth); fo_object_debug_dump (fo_context->white_space_collapse, depth); fo_object_debug_dump (fo_context->white_space_treatment, depth); fo_object_debug_dump (fo_context->widows, depth); fo_object_debug_dump (fo_context->width, depth); fo_object_debug_dump (fo_context->wrap_option, depth); fo_object_debug_dump (fo_context->writing_mode, depth); } xmlroff-0.6.2/libfo/fo-context-private.h0000644000175000017500000001366410643167450015137 00000000000000/* Fo * fo-context-private.h: Structures private to the FoContext formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_CONTEXT_PRIVATE_H__ #define __FO_CONTEXT_PRIVATE_H__ #include "fo-object.h" #include "property/fo-property.h" G_BEGIN_DECLS struct _FoContext { FoObject parent_instance; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *block_progression_dimension; FoProperty *block_progression_dimension_minimum; FoProperty *block_progression_dimension_optimum; FoProperty *block_progression_dimension_maximum; FoProperty *border; FoProperty *border_after_color; FoProperty *border_after_precedence; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_precedence; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_collapse; FoProperty *border_color; FoProperty *border_end_color; FoProperty *border_end_precedence; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_separation; FoProperty *border_start_color; FoProperty *border_start_precedence; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_style; FoProperty *border_top; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *border_width; FoProperty *break_after; FoProperty *break_before; FoProperty *character; FoProperty *clip; FoProperty *color; FoProperty *column_number; FoProperty *column_width; FoProperty *content_height; FoProperty *content_type; FoProperty *content_width; FoProperty *direction; FoProperty *display_align; FoProperty *dominant_baseline; FoProperty *end_indent; FoProperty *extent; FoProperty *flow_name; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *format; FoProperty *grouping_separator; FoProperty *grouping_size; FoProperty *height; FoProperty *id; FoProperty *inline_progression_dimension; FoProperty *inline_progression_dimension_minimum; FoProperty *inline_progression_dimension_optimum; FoProperty *inline_progression_dimension_maximum; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *letter_value; FoProperty *line_height; FoProperty *line_stacking_strategy; FoProperty *linefeed_treatment; FoProperty *margin; FoProperty *margin_bottom; FoProperty *margin_left; FoProperty *margin_right; FoProperty *margin_top; FoProperty *master_name; FoProperty *master_reference; FoProperty *media_usage; FoProperty *number_columns_repeated; FoProperty *number_columns_spanned; FoProperty *number_rows_spanned; FoProperty *orphans; FoProperty *overflow; FoProperty *padding; FoProperty *padding_after; FoProperty *padding_after_length; FoProperty *padding_after_condity; FoProperty *padding_before; FoProperty *padding_before_length; FoProperty *padding_before_condity; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_end_length; FoProperty *padding_end_condity; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_start_length; FoProperty *padding_start_condity; FoProperty *padding_top; FoProperty *page_height; FoProperty *page_width; FoProperty *provisional_distance_between_starts; FoProperty *provisional_label_separation; FoProperty *ref_id; FoProperty *region_name; FoProperty *role; FoProperty *scaling; FoProperty *scaling_method; FoProperty *score_spaces; FoProperty *source_document; FoProperty *space_after; FoProperty *space_after_minimum; FoProperty *space_after_optimum; FoProperty *space_after_maximum; FoProperty *space_after_precedence; FoProperty *space_after_condity; FoProperty *space_before; FoProperty *space_before_minimum; FoProperty *space_before_optimum; FoProperty *space_before_maximum; FoProperty *space_before_precedence; FoProperty *space_before_condity; FoProperty *space_end; FoProperty *space_end_minimum; FoProperty *space_end_optimum; FoProperty *space_end_maximum; FoProperty *space_end_precedence; FoProperty *space_end_condity; FoProperty *space_start; FoProperty *space_start_minimum; FoProperty *space_start_optimum; FoProperty *space_start_maximum; FoProperty *space_start_precedence; FoProperty *space_start_condity; FoProperty *span; FoProperty *src; FoProperty *start_indent; FoProperty *table_layout; FoProperty *text_align; FoProperty *text_indent; FoProperty *unicode_bidi; FoProperty *white_space_collapse; FoProperty *white_space_treatment; FoProperty *widows; FoProperty *width; FoProperty *wrap_option; FoProperty *writing_mode; }; struct _FoContextClass { FoObjectClass parent_class; }; G_END_DECLS #endif /* __FO_CONTEXT_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo-context-util.c0000644000175000017500000023420111150536665014427 00000000000000/* Fo * fo-context-util.c: Utility functions for FoContext objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-context-util.h" #include "fo-context-private.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-color.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-height.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-start-indent.h" #include "property/fo-property-space-after.h" #include "property/fo-property-space-before.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" #include "property/fo-property-width.h" #include "property/fo-property-writing-mode.h" #include "area/fo-area-area.h" #include "area/fo-area-reference.h" #include "datatype/fo-all-datatype.h" /** * fo_context_util_height_width_resolve: * @current_context: #FoContext of the current #FoFo. * @parent_context: #FoContext of the parent #FoFo of the current #FoFo. * * Resolve "height", "width", "inline-progression-dimension", and * "block-progression-dimension" property values. **/ void fo_context_util_height_width_resolve (FoContext *current_context, FoContext *parent_context) { FoEnumAreaDirection bpd; FoProperty *writing_mode; FoProperty *height; FoProperty *width; FoProperty *block_progression_dimension; FoProperty *inline_progression_dimension; g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); height = current_context->height; width = current_context->width; block_progression_dimension = current_context->block_progression_dimension; inline_progression_dimension = current_context->inline_progression_dimension; if (current_context->writing_mode != NULL) writing_mode = current_context->writing_mode; else writing_mode = parent_context->writing_mode; bpd = fo_property_writing_mode_to_bpd (writing_mode, NULL); if (height == NULL && width == NULL && block_progression_dimension != NULL && inline_progression_dimension != NULL) { #if defined(LIBFO_DEBUG) && 0 g_message ("height_width_resolve:: don't bother."); #endif return; } #if defined(LIBFO_DEBUG) && 0 g_message ("height_width_resolve:: before:: bpd: %d", bpd); fo_object_debug_dump (writing_mode, 0); fo_object_debug_dump (height, 0); fo_object_debug_dump (width, 0); fo_object_debug_dump (block_progression_dimension, 0); fo_object_debug_dump (inline_progression_dimension, 0); #endif if (block_progression_dimension == NULL) { block_progression_dimension = fo_property_block_progression_dimension_get_initial (); } if (inline_progression_dimension == NULL) { inline_progression_dimension = fo_property_inline_progression_dimension_get_initial (); } if (bpd == FO_ENUM_AREA_DIRECTION_TB || bpd == FO_ENUM_AREA_DIRECTION_BT) { if (height != NULL) { FoDatatype *height_value = fo_property_get_value (height); FoDatatype *length_range = g_object_new (FO_TYPE_LENGTH_RANGE, "minimum", height_value, "optimum", height_value, "maximum", height_value, NULL); fo_property_set_value (block_progression_dimension, length_range); } if (width != NULL) { FoDatatype *width_value = fo_property_get_value (width); FoDatatype *length_range = g_object_new (FO_TYPE_LENGTH_RANGE, "minimum", width_value, "optimum", width_value, "maximum", width_value, NULL); fo_property_set_value (inline_progression_dimension, length_range); } } else if (bpd == FO_ENUM_AREA_DIRECTION_LR || bpd == FO_ENUM_AREA_DIRECTION_RL) { if (width != NULL) { FoDatatype *width_value = fo_property_get_value (width); FoDatatype *length_range = g_object_new (FO_TYPE_LENGTH_RANGE, "minimum", width_value, "optimum", width_value, "maximum", width_value, NULL); fo_property_set_value (block_progression_dimension, length_range); } if (height != NULL) { FoDatatype *height_value = fo_property_get_value (height); FoDatatype *length_range = g_object_new (FO_TYPE_LENGTH_RANGE, "minimum", height_value, "optimum", height_value, "maximum", height_value, NULL); fo_property_set_value (inline_progression_dimension, length_range); } } else { g_assert_not_reached (); } /* This may be setting the properties to the same values, but it may not, especially since block_progression_dimension and inline_progression_dimension may have been NULL initially. */ fo_context_set_block_progression_dimension (current_context, block_progression_dimension); fo_context_set_inline_progression_dimension (current_context, inline_progression_dimension); #if defined(LIBFO_DEBUG) && 0 g_message ("height_width_resolve:: after:: bpd: %d", bpd); fo_object_debug_dump (height, 0), fo_object_debug_dump (width, 0), fo_object_debug_dump (block_progression_dimension, 0), fo_object_debug_dump (inline_progression_dimension, 0), fo_object_debug_dump (writing_mode, 0); #endif } /** * fo_context_util_keeps_resolve: * @current_context: #FoContext of the current #FoFo. * @parent_context: #FoContext of the parent #FoFo of the current #FoFo. * * Resolve the components of the various keep properties. * * "keep-together" is inherited; "keep-with-next" and * "keep-with-previous" are not inherited. **/ void fo_context_util_keeps_resolve (FoContext *current_context, FoContext *parent_context) { FoProperty *shortform; FoProperty *within_line; FoProperty *within_column; FoProperty *within_page; FoDatatype *use_shortform; shortform = fo_context_get_keep_together (current_context); if (shortform == NULL) { shortform = fo_context_get_keep_together (parent_context); } within_line = fo_context_get_keep_together_within_line (current_context); within_column = fo_context_get_keep_together_within_column (current_context); within_page = fo_context_get_keep_together_within_page (current_context); use_shortform = fo_keep_resolve (fo_property_get_value (shortform), within_line ? fo_property_get_value (within_line) : NULL, within_column ? fo_property_get_value (within_column) : NULL, within_page ? fo_property_get_value (within_page) : NULL, NULL); fo_context_set_keep_together (current_context, g_object_new (FO_TYPE_PROPERTY_KEEP_TOGETHER, "value", use_shortform, NULL)); fo_context_set_keep_together_within_line (current_context, NULL); fo_context_set_keep_together_within_column (current_context, NULL); fo_context_set_keep_together_within_page (current_context, NULL); shortform = fo_context_get_keep_with_previous (current_context); if (shortform == NULL) { shortform = fo_property_keep_with_previous_get_initial (); } within_line = fo_context_get_keep_with_previous_within_line (current_context); within_column = fo_context_get_keep_with_previous_within_column (current_context); within_page = fo_context_get_keep_with_previous_within_page (current_context); use_shortform = fo_keep_resolve (fo_property_get_value (shortform), within_line ? fo_property_get_value (within_line) : NULL, within_column ? fo_property_get_value (within_column) : NULL, within_page ? fo_property_get_value (within_page) : NULL, NULL); fo_context_set_keep_with_previous (current_context, g_object_new (FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS, "value", use_shortform, NULL)); fo_context_set_keep_with_previous_within_line (current_context, NULL); fo_context_set_keep_with_previous_within_column (current_context, NULL); fo_context_set_keep_with_previous_within_page (current_context, NULL); shortform = fo_context_get_keep_with_next (current_context); if (shortform == NULL) { shortform = fo_property_keep_with_next_get_initial (); } within_line = fo_context_get_keep_with_next_within_line (current_context); within_column = fo_context_get_keep_with_next_within_column (current_context); within_page = fo_context_get_keep_with_next_within_page (current_context); use_shortform = fo_keep_resolve (fo_property_get_value (shortform), within_line ? fo_property_get_value (within_line) : NULL, within_column ? fo_property_get_value (within_column) : NULL, within_page ? fo_property_get_value (within_page) : NULL, NULL); fo_context_set_keep_with_next (current_context, g_object_new (FO_TYPE_PROPERTY_KEEP_WITH_NEXT, "value", use_shortform, NULL)); fo_context_set_keep_with_next_within_line (current_context, NULL); fo_context_set_keep_with_next_within_column (current_context, NULL); fo_context_set_keep_with_next_within_page (current_context, NULL); } /** * fo_context_util_length_ranges_resolve: * @context: The #FoContext object whose spaces will be resolved * @reference_area: #FoAreaReference to use when resolving percentages * * Resolve the components of the various length-range-valued * properties and set @context accordingly **/ void fo_context_util_length_ranges_resolve (FoContext *context, FoArea *reference_area) { GError *tmp_error = NULL; FoDatatype *length_range = NULL; FoDatatype *shorthand, *minimum, *optimum, *maximum; gfloat available_width = 0.0; gfloat available_height = 0.0; g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); g_return_if_fail (reference_area == NULL || FO_IS_AREA_REFERENCE (reference_area)); #if defined(LIBFO_DEBUG) && 0 g_message ("length_ranges_resolve:: bpdim:: shortform: %s; minimum: %s; optimum: %s; maximum: %s; reference: %s", fo_object_sprintf (context->block_progression_dimension), fo_object_sprintf (context->block_progression_dimension_minimum), fo_object_sprintf (context->block_progression_dimension_optimum), fo_object_sprintf (context->block_progression_dimension_maximum); fo_object_sprintf (reference_area)); #endif if (reference_area != NULL) { available_width = fo_area_get_child_available_ipdim (reference_area); available_height = fo_area_get_child_available_bpdim (reference_area); } /* Block-progression-dimension, i.e., vertical */ /* FIXME: won't always be vertical once can change reference orientation */ shorthand = context->block_progression_dimension ? fo_property_get_value (context->block_progression_dimension) : NULL; minimum = context->block_progression_dimension_minimum ? fo_property_get_value (context->block_progression_dimension_minimum) : NULL; optimum = context->block_progression_dimension_optimum ? fo_property_get_value (context->block_progression_dimension_optimum) : NULL; maximum = context->block_progression_dimension_maximum ? fo_property_get_value (context->block_progression_dimension_maximum) : NULL; length_range = fo_length_range_resolve_allow_auto (shorthand, minimum, optimum, maximum, available_height, &tmp_error); #if defined(LIBFO_DEBUG) && 0 g_message ("context_length_ranges_resolve:: bpdim::"); fo_object_debug_dump (length_range, 0); #endif if (length_range != NULL) { fo_context_set_block_progression_dimension (context, g_object_new (FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION, "value", length_range, NULL)); g_object_unref (length_range); } else { fo_context_set_block_progression_dimension (context, NULL); } fo_context_set_block_progression_dimension_minimum (context, NULL); fo_context_set_block_progression_dimension_optimum (context, NULL); fo_context_set_block_progression_dimension_maximum (context, NULL); shorthand = context->inline_progression_dimension ? fo_property_get_value (context->inline_progression_dimension) : NULL; minimum = context->inline_progression_dimension_minimum ? fo_property_get_value (context->inline_progression_dimension_minimum) : NULL; optimum = context->inline_progression_dimension_optimum ? fo_property_get_value (context->inline_progression_dimension_optimum) : NULL; maximum = context->inline_progression_dimension_maximum ? fo_property_get_value (context->inline_progression_dimension_maximum) : NULL; length_range = fo_length_range_resolve_allow_auto (shorthand, minimum, optimum, maximum, available_width, &tmp_error); #if defined(LIBFO_DEBUG) && 0 g_message ("context_length_ranges_resolve:: ipdim::"); fo_object_debug_dump (length_range, 0); #endif if (length_range != NULL) { FoProperty *new_ipd = g_object_new (FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION, "value", length_range, NULL); fo_context_set_inline_progression_dimension (context, new_ipd); g_object_unref (new_ipd); g_object_unref (length_range); } else { fo_context_set_inline_progression_dimension (context, NULL); } fo_context_set_inline_progression_dimension_minimum (context, NULL); fo_context_set_inline_progression_dimension_optimum (context, NULL); fo_context_set_inline_progression_dimension_maximum (context, NULL); } /** * fo_context_util_spaces_resolve: * @context: The #FoContext object whose spaces will be resolved. * @reference_area: Reference area used when resolving percentages. * * Resolve the components of the various space-valued properties and * set @context accordingly. **/ void fo_context_util_spaces_resolve (FoContext *context, FoArea *reference_area) { GError *tmp_error = NULL; FoDatatype *space; FoDatatype *shorthand; FoDatatype *minimum; FoDatatype *optimum; FoDatatype *maximum; FoDatatype *precedence; FoDatatype *condity; gdouble hundred_percent; g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); /* Reference area is same for resolving all space properties. */ hundred_percent = reference_area != NULL ? fo_area_get_child_available_bpdim (reference_area): 0.0; /* space-before */ shorthand = context->space_before != NULL ? fo_property_get_value (context->space_before) : NULL; minimum = context->space_before_minimum != NULL ? fo_property_get_value (context->space_before_minimum) : NULL; optimum = context->space_before_optimum != NULL ? fo_property_get_value (context->space_before_optimum) : NULL; maximum = context->space_before_maximum != NULL ? fo_property_get_value (context->space_before_maximum) : NULL; precedence = context->space_before_precedence != NULL ? fo_property_get_value (context->space_before_precedence) : NULL; condity = context->space_before_condity != NULL ? fo_property_get_value (context->space_before_condity) : NULL; space = fo_space_resolve (shorthand, minimum, optimum, maximum, precedence, condity, hundred_percent, &tmp_error); if (space != NULL) { FoProperty *new_space_before = g_object_new (FO_TYPE_PROPERTY_SPACE_BEFORE, "value", space, NULL); fo_context_set_space_before (context, new_space_before); g_object_unref (new_space_before); } else { fo_context_set_space_before (context, NULL); } g_object_unref (space); space = NULL; fo_context_set_space_before_minimum (context, NULL); fo_context_set_space_before_optimum (context, NULL); fo_context_set_space_before_maximum (context, NULL); fo_context_set_space_before_precedence (context, NULL); fo_context_set_space_before_condity (context, NULL); /* space-after */ shorthand = context->space_after ? fo_property_get_value (context->space_after) : NULL; minimum = context->space_after_minimum ? fo_property_get_value (context->space_after_minimum) : NULL; optimum = context->space_after_optimum ? fo_property_get_value (context->space_after_optimum) : NULL; maximum = context->space_after_maximum ? fo_property_get_value (context->space_after_maximum) : NULL; precedence = context->space_after_precedence ? fo_property_get_value (context->space_after_precedence) : NULL; condity = context->space_after_condity ? fo_property_get_value (context->space_after_condity) : NULL; space = fo_space_resolve (shorthand, minimum, optimum, maximum, precedence, condity, hundred_percent, &tmp_error); if (space != NULL) { FoProperty *new_space_after = g_object_new (FO_TYPE_PROPERTY_SPACE_AFTER, "value", space, NULL); fo_context_set_space_after (context, new_space_after); g_object_unref (new_space_after); } else { fo_context_set_space_after (context, NULL); } g_object_unref (space); space = NULL; fo_context_set_space_after_minimum (context, NULL); fo_context_set_space_after_optimum (context, NULL); fo_context_set_space_after_maximum (context, NULL); fo_context_set_space_after_precedence (context, NULL); fo_context_set_space_after_condity (context, NULL); /* space-start */ shorthand = context->space_start ? fo_property_get_value (context->space_start) : NULL; minimum = context->space_start_minimum ? fo_property_get_value (context->space_start_minimum) : NULL; optimum = context->space_start_optimum ? fo_property_get_value (context->space_start_optimum) : NULL; maximum = context->space_start_maximum ? fo_property_get_value (context->space_start_maximum) : NULL; precedence = context->space_start_precedence ? fo_property_get_value (context->space_start_precedence) : NULL; condity = context->space_start_condity ? fo_property_get_value (context->space_start_condity) : NULL; space = fo_space_resolve (shorthand, minimum, optimum, maximum, precedence, condity, hundred_percent, &tmp_error); if (space != NULL) { FoProperty *new_space_start = g_object_new (FO_TYPE_PROPERTY_SPACE_START, "value", space, NULL); fo_context_set_space_start (context, new_space_start); g_object_unref (new_space_start); } else { fo_context_set_space_start (context, NULL); } g_object_unref (space); space = NULL; /* space-end */ shorthand = context->space_end ? fo_property_get_value (context->space_end) : NULL; minimum = context->space_end_minimum ? fo_property_get_value (context->space_end_minimum) : NULL; optimum = context->space_end_optimum ? fo_property_get_value (context->space_end_optimum) : NULL; maximum = context->space_end_maximum ? fo_property_get_value (context->space_end_maximum) : NULL; precedence = context->space_end_precedence ? fo_property_get_value (context->space_end_precedence) : NULL; condity = context->space_end_condity ? fo_property_get_value (context->space_end_condity) : NULL; space = fo_space_resolve (shorthand, minimum, optimum, maximum, precedence, condity, hundred_percent, &tmp_error); if (space != NULL) { FoProperty *new_space_end = g_object_new (FO_TYPE_PROPERTY_SPACE_END, "value", space, NULL); fo_context_set_space_end (context, new_space_end); g_object_unref (new_space_end); } else { fo_context_set_space_end (context, NULL); } g_object_unref (space); space = NULL; } /** * fo_context_util_margins_indents_resolve: * @fo: Current #FoFo. * @current_context: #FoContext of the current #FoFo. * @parent_context: #FoContext of the parent #FoFo of the current #FoFo. * * Resolve the 'margin-left', 'start-indent', 'margin-right', and * 'end-indent' property values of @fo. **/ void fo_context_util_margins_indents_resolve (FoFo *fo, FoContext *current_context, FoContext *parent_context) { FoProperty *current_indent_prop, *current_margin_prop; gfloat current_indent = 0; gfloat current_margin = 0; gfloat parent_indent, padding, border_width; g_return_if_fail (current_context != NULL); g_return_if_fail (parent_context != NULL); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); /* FIXME: Doesn't handle case of absolute margin from shorthand since shorthands not supported yet. */ #if defined(LIBFO_DEBUG) && 0 if (fo_fo_get_generate_reference_area (fo)) { g_message ("margin_indent_resolve:: generates reference area: %s", fo_object_debug_sprintf (fo)); } #endif /* left margin and start indent/padding/border-width */ padding = fo_length_get_value (fo_property_get_value (fo_context_get_padding_start (current_context))); border_width = fo_length_get_value (fo_property_get_value (fo_context_get_border_start_width (current_context))); current_margin_prop = fo_context_get_margin_left (current_context); if (current_margin_prop != NULL) { current_margin = fo_length_get_value (fo_property_get_value (current_margin_prop)); if (fo_fo_get_generate_reference_area (fo)) { current_indent = current_margin + padding + border_width; } else { parent_indent = fo_length_get_value (fo_property_get_value (fo_context_get_start_indent (parent_context))); current_indent = parent_indent + current_margin + padding + border_width; } current_indent_prop = g_object_new (FO_TYPE_PROPERTY_START_INDENT, "value", g_object_new (FO_TYPE_LENGTH, "value", current_indent, NULL), NULL); fo_context_set_start_indent (current_context, current_indent_prop); } else /* current_margin_prop == NULL */ { parent_indent = fo_length_get_value (fo_property_get_value (fo_context_get_start_indent (parent_context))); current_indent_prop = fo_context_get_start_indent (current_context); if (current_indent_prop == NULL) { current_indent = parent_indent; } else { current_indent = fo_length_get_value (fo_property_get_value (current_indent_prop)); } current_margin = current_indent - parent_indent - padding - border_width; current_margin_prop = g_object_new (FO_TYPE_PROPERTY_MARGIN_LEFT, "value", g_object_new (FO_TYPE_LENGTH, "value", current_margin, NULL), NULL); fo_context_set_margin_left (current_context, current_margin_prop); } /* right margin and end indent/padding/border-width */ parent_indent = fo_length_get_value (fo_property_get_value (fo_context_get_end_indent (parent_context))); padding = fo_length_get_value (fo_property_get_value (fo_context_get_padding_end (current_context))); border_width = fo_length_get_value (fo_property_get_value (fo_context_get_border_end_width (current_context))); current_margin_prop = fo_context_get_margin_right (current_context); if (current_margin_prop != NULL) { current_margin = fo_length_get_value (fo_property_get_value (current_margin_prop)); if (fo_fo_get_generate_reference_area (fo)) { current_indent = current_margin + padding + border_width; } else { parent_indent = fo_length_get_value (fo_property_get_value (fo_context_get_end_indent (parent_context))); current_indent = parent_indent + current_margin + padding + border_width; } current_indent_prop = g_object_new (FO_TYPE_PROPERTY_END_INDENT, "value", g_object_new (FO_TYPE_LENGTH, "value", current_indent, NULL), NULL); fo_context_set_end_indent (current_context, current_indent_prop); } else /* current_margin_prop == NULL */ { parent_indent = fo_length_get_value (fo_property_get_value (fo_context_get_end_indent (parent_context))); current_indent_prop = fo_context_get_end_indent (current_context); if (current_indent_prop == NULL) { current_indent = parent_indent; } else { current_indent = fo_length_get_value (fo_property_get_value (current_indent_prop)); } current_margin = current_indent - parent_indent - padding - border_width; current_margin_prop = g_object_new (FO_TYPE_PROPERTY_MARGIN_RIGHT, "value", g_object_new (FO_TYPE_LENGTH, "value", current_margin, NULL), NULL); fo_context_set_margin_right (current_context, current_margin_prop); } } typedef FoProperty* (*FoPropertyTypeNew) (); typedef FoProperty* (*FoPropertyTypeInitial) (); typedef FoProperty* (*FoContextPropertyGetter) (FoContext *context); typedef void (*FoContextPropertySetter) (FoContext *context, FoProperty *new_property); typedef FoDatatype* (*FoPropertyGetter) (FoProperty *property); typedef struct _FoContextPropertyFunc { FoPropertyTypeNew new; FoPropertyTypeInitial initial; FoContextPropertyGetter getter; FoContextPropertySetter setter; FoContextPropertyGetter length_getter; FoContextPropertyGetter condity_getter; } FoContextPropertyFunc; /** * resolve_absolute_relative_padding: * @context: #FoContext of the current #FoFo. * @absolute_func: * @relative_func: * * Resolve padding property values. **/ static void resolve_absolute_relative_padding (FoContext *context, FoContextPropertyFunc *absolute_func, FoContextPropertyFunc *relative_func, FoDatatype *shorthand_component) { FoProperty *absolute; FoProperty *relative; FoProperty *length; FoProperty *condity; FoDatatype *datatype; absolute = absolute_func->getter (context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = relative_func->new (); fo_property_set_value (relative, datatype); relative_func->setter (context, relative); } else if (shorthand_component != NULL) { relative = relative_func->new (); fo_property_set_value (relative, shorthand_component); relative_func->setter (context, relative); absolute = absolute_func->new (); fo_property_set_value (absolute, shorthand_component); absolute_func->setter (context, absolute); } else { relative = relative_func->getter (context); length = relative_func->length_getter (context); condity = relative_func->condity_getter (context); if (relative != NULL || length != NULL || condity != NULL) { FoDatatype *relative_datatype = relative == NULL ? NULL : fo_property_get_value (relative); FoDatatype *length_datatype = length == NULL ? NULL : fo_property_get_value (length); FoDatatype *condity_datatype = condity == NULL ? NULL : fo_property_get_value (condity); datatype = fo_length_cond_resolve (relative_datatype, length_datatype, condity_datatype, NULL); relative = relative_func->new (); fo_property_set_value (relative, datatype); relative_func->setter (context, relative); absolute = absolute_func->new (); fo_property_set_value (absolute, datatype); absolute_func->setter (context, absolute); } else { absolute = absolute_func->initial (); absolute_func->setter (context, absolute); relative = relative_func->initial (); relative_func->setter (context, relative); } } } /** * fo_context_util_paddings_resolve: * @current_context: #FoContext of the current #FoFo. * @parent_context: #FoContext of the parent #FoFo of the current #FoFo. * * Resolve padding property values. **/ void fo_context_util_paddings_resolve (FoContext *current_context, FoContext *parent_context) { FoContextPropertyFunc absolute_func; FoContextPropertyFunc relative_func; FoDatatype *shorthand_component; g_return_if_fail (current_context != NULL); g_return_if_fail (parent_context != NULL); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); /* fo_object_debug_dump (fo_context_get_padding (current_context), 0); */ FoDatatype *padding_tblr = NULL; FoProperty *padding = fo_context_get_padding (current_context); if (padding != NULL) { padding_tblr = fo_property_get_value (padding); } /* top <--> before */ if (padding_tblr != NULL) { shorthand_component = fo_tblr_get_top (padding_tblr); } else { shorthand_component = NULL; } absolute_func.new = fo_property_padding_top_new; absolute_func.initial = fo_property_padding_top_get_initial; absolute_func.getter = fo_context_get_padding_top; absolute_func.setter = fo_context_set_padding_top; relative_func.new = fo_property_padding_before_new; relative_func.initial = fo_property_padding_before_get_initial; relative_func.getter = fo_context_get_padding_before; relative_func.setter = fo_context_set_padding_before; relative_func.length_getter = fo_context_get_padding_before_length; relative_func.condity_getter = fo_context_get_padding_before_condity; resolve_absolute_relative_padding (current_context, &absolute_func, &relative_func, shorthand_component); /* bottom <--> after */ if (padding_tblr != NULL) { shorthand_component = fo_tblr_get_bottom (padding_tblr); } else { shorthand_component = NULL; } absolute_func.new = fo_property_padding_bottom_new; absolute_func.initial = fo_property_padding_bottom_get_initial; absolute_func.getter = fo_context_get_padding_bottom; absolute_func.setter = fo_context_set_padding_bottom; relative_func.new = fo_property_padding_after_new; relative_func.initial = fo_property_padding_after_get_initial; relative_func.getter = fo_context_get_padding_after; relative_func.setter = fo_context_set_padding_after; relative_func.length_getter = fo_context_get_padding_after_length; relative_func.condity_getter = fo_context_get_padding_after_condity; resolve_absolute_relative_padding (current_context, &absolute_func, &relative_func, shorthand_component); /* left <--> start */ if (padding_tblr != NULL) { shorthand_component = fo_tblr_get_left (padding_tblr); } else { shorthand_component = NULL; } absolute_func.new = fo_property_padding_left_new; absolute_func.initial = fo_property_padding_left_get_initial; absolute_func.getter = fo_context_get_padding_left; absolute_func.setter = fo_context_set_padding_left; relative_func.new = fo_property_padding_start_new; relative_func.initial = fo_property_padding_start_get_initial; relative_func.getter = fo_context_get_padding_start; relative_func.setter = fo_context_set_padding_start; relative_func.length_getter = fo_context_get_padding_start_length; relative_func.condity_getter = fo_context_get_padding_start_condity; resolve_absolute_relative_padding (current_context, &absolute_func, &relative_func, shorthand_component); /* right <--> end */ if (padding_tblr != NULL) { shorthand_component = fo_tblr_get_right (padding_tblr); } else { shorthand_component = NULL; } absolute_func.new = fo_property_padding_right_new; absolute_func.initial = fo_property_padding_right_get_initial; absolute_func.getter = fo_context_get_padding_right; absolute_func.setter = fo_context_set_padding_right; relative_func.new = fo_property_padding_end_new; relative_func.initial = fo_property_padding_end_get_initial; relative_func.getter = fo_context_get_padding_end; relative_func.setter = fo_context_set_padding_end; relative_func.length_getter = fo_context_get_padding_end_length; relative_func.condity_getter = fo_context_get_padding_end_condity; resolve_absolute_relative_padding (current_context, &absolute_func, &relative_func, shorthand_component); } /** * fo_context_util_margins_resolve: * @current_context: #FoContext of the current #FoFo. * @parent_context: #FoContext of the parent #FoFo of the current #FoFo. * * Resolve padding property values. **/ void fo_context_util_margins_resolve (FoContext *current_context, FoContext *parent_context) { FoProperty *absolute, *relative; FoDatatype *datatype; g_return_if_fail (current_context != NULL); g_return_if_fail (parent_context != NULL); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); /* left = start*/ absolute = fo_context_get_margin_left (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_space_start_new (); fo_property_set_value (relative, datatype); fo_context_set_space_start (current_context, relative); } else { relative = fo_context_get_space_start (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_margin_left_new (); fo_property_set_value (absolute, datatype); fo_context_set_margin_left (current_context, absolute); } else { absolute = fo_property_margin_left_new (); fo_context_set_margin_left (current_context, absolute); relative = fo_property_space_start_get_initial (); fo_context_set_space_start (current_context, relative); } } /* right = end*/ absolute = fo_context_get_margin_right (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_space_end_new (); fo_property_set_value (relative, datatype); fo_context_set_space_end (current_context, relative); } else { relative = fo_context_get_space_end (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_margin_right_new (); fo_property_set_value (absolute, datatype); fo_context_set_margin_right (current_context, absolute); } else { absolute = fo_property_margin_right_get_initial (); fo_context_set_margin_right (current_context, absolute); relative = fo_property_space_end_get_initial (); fo_context_set_space_end (current_context, relative); } } /* top = before*/ absolute = fo_context_get_margin_top (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_space_before_new (); fo_property_set_value (relative, datatype); fo_context_set_space_before (current_context, relative); } else { relative = fo_context_get_space_before (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_margin_top_new (); fo_property_set_value (absolute, datatype); fo_context_set_margin_top (current_context, absolute); } else { absolute = fo_property_margin_top_get_initial (); fo_context_set_margin_top (current_context, absolute); relative = fo_property_space_before_get_initial (); fo_context_set_space_before (current_context, relative); } } /* bottom = after*/ absolute = fo_context_get_margin_bottom (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_space_after_new (); fo_property_set_value (relative, datatype); fo_context_set_space_after (current_context, relative); } else { relative = fo_context_get_space_after (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_margin_bottom_new (); fo_property_set_value (absolute, datatype); fo_context_set_margin_bottom (current_context, absolute); } else { absolute = fo_property_margin_bottom_get_initial (); fo_context_set_margin_bottom (current_context, absolute); relative = fo_property_space_after_get_initial (); fo_context_set_space_after (current_context, relative); } } } /** * fo_context_util_border_resolve: * @current_context: #FoContext of the current #FoFo. * @parent_context: #FoContext of the parent #FoFo of the current #FoFo. * * Resolve the border properties of @current_context. * * @parent_context is needed to get the 'color' property value if it * is NULL in @current_context. **/ void fo_context_util_border_resolve (FoContext *current_context, FoContext *parent_context) { FoProperty *absolute, *relative; FoDatatype *datatype; FoProperty *prop_color; FoDatatype *initial_color; g_return_if_fail (current_context != NULL); g_return_if_fail (parent_context != NULL); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); /* If neither the absolute nor relative color is specified, use the * same color as is used for text. */ prop_color = fo_context_get_color (current_context); if (prop_color == NULL) { prop_color = fo_context_get_color (parent_context); } initial_color = fo_property_get_value (prop_color); FoProperty *border_color = fo_context_get_border_color (current_context); FoDatatype *border_color_tblr = NULL; if (border_color != NULL) { border_color_tblr = fo_property_get_value (border_color); } FoDatatype *border_color_component; FoProperty *border_style = fo_context_get_border_style (current_context); FoDatatype *border_style_tblr = NULL; if (border_style != NULL) { border_style_tblr = fo_property_get_value (border_style); } FoDatatype *border_style_component; FoProperty *border_width = fo_context_get_border_width (current_context); FoDatatype *border_width_tblr = NULL; if (border_width != NULL) { border_width_tblr = fo_property_get_value (border_width); } FoDatatype *border_width_component; FoProperty *border = fo_context_get_border (current_context); FoDatatype *border_wsc = NULL; if (border != NULL) { border_wsc = fo_property_get_value (border); } FoDatatype *border_component; FoProperty *border_bottom = fo_context_get_border_bottom (current_context); FoDatatype *border_bottom_wsc = NULL; if (border_bottom != NULL) { border_bottom_wsc = fo_property_get_value (border_bottom); } FoDatatype *border_bottom_component; FoProperty *border_left = fo_context_get_border_left (current_context); FoDatatype *border_left_wsc = NULL; if (border_left != NULL) { border_left_wsc = fo_property_get_value (border_left); } FoDatatype *border_left_component; FoProperty *border_right = fo_context_get_border_right (current_context); FoDatatype *border_right_wsc = NULL; if (border_right != NULL) { border_right_wsc = fo_property_get_value (border_right); } FoDatatype *border_right_component; FoProperty *border_top = fo_context_get_border_top (current_context); FoDatatype *border_top_wsc = NULL; if (border_top != NULL) { border_top_wsc = fo_property_get_value (border_top); } FoDatatype *border_top_component; /* left = start*/ /* style */ absolute = fo_context_get_border_left_style (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_start_style_new (); fo_property_set_value (relative, datatype); fo_context_set_border_start_style (current_context, relative); } else { relative = fo_context_get_border_start_style (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_left_style_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_left_style (current_context, absolute); } else { if (border_left_wsc != NULL) { border_left_component = fo_wsc_get_style (border_left_wsc); } else { border_left_component = NULL; } if (border_left_component != NULL) { absolute = fo_property_border_left_style_new (); fo_property_set_value (absolute, border_left_component); fo_context_set_border_left_style (current_context, absolute); relative = fo_property_border_start_style_new (); fo_property_set_value (relative, border_left_component); fo_context_set_border_start_style (current_context, relative); } else { if (border_style_tblr != NULL) { border_style_component = fo_tblr_get_left (border_style_tblr); } else { border_style_component = NULL; } if (border_style_component != NULL) { absolute = fo_property_border_left_style_new (); fo_property_set_value (absolute, border_style_component); fo_context_set_border_left_style (current_context, absolute); relative = fo_property_border_start_style_new (); fo_property_set_value (relative, border_style_component); fo_context_set_border_start_style (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_style (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_left_style_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_left_style (current_context, absolute); relative = fo_property_border_start_style_new (); fo_property_set_value (relative, border_component); fo_context_set_border_start_style (current_context, relative); } else { absolute = fo_property_border_left_style_get_initial (); fo_context_set_border_left_style (current_context, absolute); relative = fo_property_border_start_style_get_initial (); fo_context_set_border_start_style (current_context, relative); } } } } } /* width */ datatype = fo_property_get_value (absolute); if ((fo_enum_get_value (datatype) == FO_ENUM_ENUM_NONE) || (fo_enum_get_value (datatype) == FO_ENUM_ENUM_HIDDEN)) { absolute = g_object_new (FO_TYPE_PROPERTY_BORDER_LEFT_WIDTH, "value", fo_length_get_length_zero (), NULL); fo_context_set_border_left_width (current_context, absolute); relative = g_object_new (FO_TYPE_PROPERTY_BORDER_START_WIDTH, "value", fo_length_get_length_zero (), NULL); fo_context_set_border_start_width (current_context, relative); } else { absolute = fo_context_get_border_left_width (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_start_width_new (); fo_property_set_value (relative, datatype); fo_context_set_border_start_width (current_context, relative); } else { relative = fo_context_get_border_start_width (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_left_width_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_left_width (current_context, absolute); } else { if (border_left_wsc != NULL) { border_left_component = fo_wsc_get_width (border_left_wsc); } else { border_left_component = NULL; } if (border_left_component != NULL) { absolute = fo_property_border_left_width_new (); fo_property_set_value (absolute, border_left_component); fo_context_set_border_left_width (current_context, absolute); relative = fo_property_border_start_width_new (); fo_property_set_value (relative, border_left_component); fo_context_set_border_start_width (current_context, relative); } else { if (border_width_tblr != NULL) { border_width_component = fo_tblr_get_left (border_width_tblr); } else { border_width_component = NULL; } if (border_width_component != NULL) { absolute = fo_property_border_left_width_new (); fo_property_set_value (absolute, border_width_component); fo_context_set_border_left_width (current_context, absolute); relative = fo_property_border_start_width_new (); fo_property_set_value (relative, border_width_component); fo_context_set_border_start_width (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_width (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_left_width_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_left_width (current_context, absolute); relative = fo_property_border_start_width_new (); fo_property_set_value (relative, border_component); fo_context_set_border_start_width (current_context, relative); } else { absolute = fo_property_border_left_width_get_initial (); fo_context_set_border_left_width (current_context, absolute); relative = fo_property_border_start_width_get_initial (); fo_context_set_border_start_width (current_context, relative); } } } } } } /* color */ absolute = fo_context_get_border_left_color (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_start_color_new (); fo_property_set_value (relative, datatype); fo_context_set_border_start_color (current_context, relative); } else { relative = fo_context_get_border_start_color (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_left_color_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_left_color (current_context, absolute); } else { if (border_left_wsc != NULL) { border_left_component = fo_wsc_get_color (border_left_wsc); } else { border_left_component = NULL; } if (border_left_component != NULL) { absolute = fo_property_border_left_color_new (); fo_property_set_value (absolute, border_left_component); fo_context_set_border_left_color (current_context, absolute); relative = fo_property_border_start_color_new (); fo_property_set_value (relative, border_left_component); fo_context_set_border_start_color (current_context, relative); } else { if (border_color_tblr != NULL) { border_color_component = fo_tblr_get_left (border_color_tblr); } else { border_color_component = NULL; } if (border_color_component != NULL) { absolute = fo_property_border_left_color_new (); fo_property_set_value (absolute, border_color_component); fo_context_set_border_left_color (current_context, absolute); relative = fo_property_border_start_color_new (); fo_property_set_value (relative, border_color_component); fo_context_set_border_start_color (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_color (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_left_color_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_left_color (current_context, absolute); relative = fo_property_border_start_color_new (); fo_property_set_value (relative, border_component); fo_context_set_border_start_color (current_context, relative); } else { prop_color = g_object_new (FO_TYPE_PROPERTY_BORDER_LEFT_COLOR, "value", initial_color, NULL); fo_context_set_border_left_color (current_context, prop_color); prop_color = g_object_new (FO_TYPE_PROPERTY_BORDER_START_COLOR, "value", initial_color, NULL); fo_context_set_border_start_color (current_context, prop_color); } } } } } /* right = end*/ /* style */ absolute = fo_context_get_border_right_style (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_end_style_new (); fo_property_set_value (relative, datatype); fo_context_set_border_end_style (current_context, relative); } else { relative = fo_context_get_border_end_style (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_right_style_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_right_style (current_context, absolute); } else { if (border_right_wsc != NULL) { border_right_component = fo_wsc_get_style (border_right_wsc); } else { border_right_component = NULL; } if (border_right_component != NULL) { absolute = fo_property_border_right_style_new (); fo_property_set_value (absolute, border_right_component); fo_context_set_border_right_style (current_context, absolute); relative = fo_property_border_end_style_new (); fo_property_set_value (relative, border_right_component); fo_context_set_border_end_style (current_context, relative); } else { if (border_style_tblr != NULL) { border_style_component = fo_tblr_get_right (border_style_tblr); } else { border_style_component = NULL; } if (border_style_component != NULL) { absolute = fo_property_border_right_style_new (); fo_property_set_value (absolute, border_style_component); fo_context_set_border_right_style (current_context, absolute); relative = fo_property_border_end_style_new (); fo_property_set_value (relative, border_style_component); fo_context_set_border_end_style (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_style (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_right_style_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_right_style (current_context, absolute); relative = fo_property_border_end_style_new (); fo_property_set_value (relative, border_component); fo_context_set_border_end_style (current_context, relative); } else { absolute = fo_property_border_right_style_get_initial (); fo_context_set_border_right_style (current_context, absolute); relative = fo_property_border_end_style_get_initial (); fo_context_set_border_end_style (current_context, relative); } } } } } /* width */ datatype = fo_property_get_value (absolute); if ((fo_enum_get_value (datatype) == FO_ENUM_ENUM_NONE) || (fo_enum_get_value (datatype) == FO_ENUM_ENUM_HIDDEN)) { absolute = g_object_new (FO_TYPE_PROPERTY_BORDER_RIGHT_WIDTH, "value", fo_length_get_length_zero (), NULL); fo_context_set_border_right_width (current_context, absolute); relative = g_object_new (FO_TYPE_PROPERTY_BORDER_END_WIDTH, "value", fo_length_get_length_zero (), NULL); fo_context_set_border_end_width (current_context, relative); } else { absolute = fo_context_get_border_right_width (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_end_width_new (); fo_property_set_value (relative, datatype); fo_context_set_border_end_width (current_context, relative); } else { relative = fo_context_get_border_end_width (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_right_width_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_right_width (current_context, absolute); } else { if (border_right_wsc != NULL) { border_right_component = fo_wsc_get_width (border_right_wsc); } else { border_right_component = NULL; } if (border_right_component != NULL) { absolute = fo_property_border_right_width_new (); fo_property_set_value (absolute, border_right_component); fo_context_set_border_right_width (current_context, absolute); relative = fo_property_border_end_width_new (); fo_property_set_value (relative, border_right_component); fo_context_set_border_end_width (current_context, relative); } else { if (border_width_tblr != NULL) { border_width_component = fo_tblr_get_right (border_width_tblr); } else { border_width_component = NULL; } if (border_width_component != NULL) { absolute = fo_property_border_right_width_new (); fo_property_set_value (absolute, border_width_component); fo_context_set_border_right_width (current_context, absolute); relative = fo_property_border_end_width_new (); fo_property_set_value (relative, border_width_component); fo_context_set_border_end_width (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_width (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_right_width_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_right_width (current_context, absolute); relative = fo_property_border_end_width_new (); fo_property_set_value (relative, border_component); fo_context_set_border_end_width (current_context, relative); } else { absolute = fo_property_border_right_width_get_initial (); fo_context_set_border_right_width (current_context, absolute); relative = fo_property_border_end_width_get_initial (); fo_context_set_border_end_width (current_context, relative); } } } } } } /* color */ absolute = fo_context_get_border_right_color (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_end_color_new (); fo_property_set_value (relative, datatype); fo_context_set_border_end_color (current_context, relative); } else { relative = fo_context_get_border_end_color (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_right_color_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_right_color (current_context, absolute); } else { if (border_right_wsc != NULL) { border_right_component = fo_wsc_get_color (border_right_wsc); } else { border_right_component = NULL; } if (border_right_component != NULL) { absolute = fo_property_border_right_color_new (); fo_property_set_value (absolute, border_right_component); fo_context_set_border_right_color (current_context, absolute); relative = fo_property_border_end_color_new (); fo_property_set_value (relative, border_right_component); fo_context_set_border_end_color (current_context, relative); } else { if (border_color_tblr != NULL) { border_color_component = fo_tblr_get_right (border_color_tblr); } else { border_color_component = NULL; } if (border_color_component != NULL) { absolute = fo_property_border_right_color_new (); fo_property_set_value (absolute, border_color_component); fo_context_set_border_right_color (current_context, absolute); relative = fo_property_border_end_color_new (); fo_property_set_value (relative, border_color_component); fo_context_set_border_end_color (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_color (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_right_color_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_right_color (current_context, absolute); relative = fo_property_border_end_color_new (); fo_property_set_value (relative, border_component); fo_context_set_border_end_color (current_context, relative); } else { prop_color = g_object_new (FO_TYPE_PROPERTY_BORDER_RIGHT_COLOR, "value", initial_color, NULL); fo_context_set_border_right_color (current_context, prop_color); prop_color = g_object_new (FO_TYPE_PROPERTY_BORDER_END_COLOR, "value", initial_color, NULL); fo_context_set_border_end_color (current_context, prop_color); } } } } } /* top = before*/ /* style */ absolute = fo_context_get_border_top_style (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_before_style_new (); fo_property_set_value (relative, datatype); fo_context_set_border_before_style (current_context, relative); } else { relative = fo_context_get_border_before_style (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_top_style_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_top_style (current_context, absolute); } else { if (border_top_wsc != NULL) { border_top_component = fo_wsc_get_style (border_top_wsc); } else { border_top_component = NULL; } if (border_top_component != NULL) { absolute = fo_property_border_top_style_new (); fo_property_set_value (absolute, border_top_component); fo_context_set_border_top_style (current_context, absolute); relative = fo_property_border_before_style_new (); fo_property_set_value (relative, border_top_component); fo_context_set_border_before_style (current_context, relative); } else { if (border_style_tblr != NULL) { border_style_component = fo_tblr_get_top (border_style_tblr); } else { border_style_component = NULL; } if (border_style_component != NULL) { absolute = fo_property_border_top_style_new (); fo_property_set_value (absolute, border_style_component); fo_context_set_border_top_style (current_context, absolute); relative = fo_property_border_before_style_new (); fo_property_set_value (relative, border_style_component); fo_context_set_border_before_style (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_style (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_top_style_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_top_style (current_context, absolute); relative = fo_property_border_before_style_new (); fo_property_set_value (relative, border_component); fo_context_set_border_before_style (current_context, relative); } else { absolute = fo_property_border_top_style_get_initial (); fo_context_set_border_top_style (current_context, absolute); relative = fo_property_border_before_style_get_initial (); fo_context_set_border_before_style (current_context, relative); } } } } } /* width */ datatype = fo_property_get_value (absolute); if ((fo_enum_get_value (datatype) == FO_ENUM_ENUM_NONE) || (fo_enum_get_value (datatype) == FO_ENUM_ENUM_HIDDEN)) { absolute = g_object_new (FO_TYPE_PROPERTY_BORDER_TOP_WIDTH, "value", fo_length_get_length_zero (), NULL); fo_context_set_border_top_width (current_context, absolute); relative = g_object_new (FO_TYPE_PROPERTY_BORDER_BEFORE_WIDTH, "value", fo_length_get_length_zero (), NULL); fo_context_set_border_before_width (current_context, relative); } else { absolute = fo_context_get_border_top_width (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_before_width_new (); fo_property_set_value (relative, datatype); fo_context_set_border_before_width (current_context, relative); } else { relative = fo_context_get_border_before_width (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_top_width_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_top_width (current_context, absolute); } else { if (border_top_wsc != NULL) { border_top_component = fo_wsc_get_width (border_top_wsc); } else { border_top_component = NULL; } if (border_top_component != NULL) { absolute = fo_property_border_top_width_new (); fo_property_set_value (absolute, border_top_component); fo_context_set_border_top_width (current_context, absolute); relative = fo_property_border_before_width_new (); fo_property_set_value (relative, border_top_component); fo_context_set_border_before_width (current_context, relative); } else { if (border_width_tblr != NULL) { border_width_component = fo_tblr_get_top (border_width_tblr); } else { border_width_component = NULL; } if (border_width_component != NULL) { absolute = fo_property_border_top_width_new (); fo_property_set_value (absolute, border_width_component); fo_context_set_border_top_width (current_context, absolute); relative = fo_property_border_before_width_new (); fo_property_set_value (relative, border_width_component); fo_context_set_border_before_width (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_width (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_top_width_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_top_width (current_context, absolute); relative = fo_property_border_before_width_new (); fo_property_set_value (relative, border_component); fo_context_set_border_before_width (current_context, relative); } else { absolute = fo_property_border_top_width_get_initial (); fo_context_set_border_top_width (current_context, absolute); relative = fo_property_border_before_width_get_initial (); fo_context_set_border_before_width (current_context, relative); } } } } } } /* color */ absolute = fo_context_get_border_top_color (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_before_color_new (); fo_property_set_value (relative, datatype); fo_context_set_border_before_color (current_context, relative); } else { relative = fo_context_get_border_before_color (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_top_color_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_top_color (current_context, absolute); } else { if (border_top_wsc != NULL) { border_top_component = fo_wsc_get_color (border_top_wsc); } else { border_top_component = NULL; } if (border_top_component != NULL) { absolute = fo_property_border_top_color_new (); fo_property_set_value (absolute, border_top_component); fo_context_set_border_top_color (current_context, absolute); relative = fo_property_border_before_color_new (); fo_property_set_value (relative, border_top_component); fo_context_set_border_before_color (current_context, relative); } else { if (border_color_tblr != NULL) { border_color_component = fo_tblr_get_top (border_color_tblr); } else { border_color_component = NULL; } if (border_color_component != NULL) { absolute = fo_property_border_top_color_new (); fo_property_set_value (absolute, border_color_component); fo_context_set_border_top_color (current_context, absolute); relative = fo_property_border_before_color_new (); fo_property_set_value (relative, border_color_component); fo_context_set_border_before_color (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_color (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_top_color_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_top_color (current_context, absolute); relative = fo_property_border_before_color_new (); fo_property_set_value (relative, border_component); fo_context_set_border_before_color (current_context, relative); } else { prop_color = g_object_new (FO_TYPE_PROPERTY_BORDER_TOP_COLOR, "value", initial_color, NULL); fo_context_set_border_top_color (current_context, prop_color); prop_color = g_object_new (FO_TYPE_PROPERTY_BORDER_BEFORE_COLOR, "value", initial_color, NULL); fo_context_set_border_before_color (current_context, prop_color); } } } } } /* bottom = after*/ /* style */ absolute = fo_context_get_border_bottom_style (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_after_style_new (); fo_property_set_value (relative, datatype); fo_context_set_border_after_style (current_context, relative); } else { relative = fo_context_get_border_after_style (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_bottom_style_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_bottom_style (current_context, absolute); } else { if (border_bottom_wsc != NULL) { border_bottom_component = fo_wsc_get_style (border_bottom_wsc); } else { border_bottom_component = NULL; } if (border_bottom_component != NULL) { absolute = fo_property_border_bottom_style_new (); fo_property_set_value (absolute, border_bottom_component); fo_context_set_border_bottom_style (current_context, absolute); relative = fo_property_border_after_style_new (); fo_property_set_value (relative, border_bottom_component); fo_context_set_border_after_style (current_context, relative); } else { if (border_style_tblr != NULL) { border_style_component = fo_tblr_get_bottom (border_style_tblr); } else { border_style_component = NULL; } if (border_style_component != NULL) { absolute = fo_property_border_bottom_style_new (); fo_property_set_value (absolute, border_style_component); fo_context_set_border_bottom_style (current_context, absolute); relative = fo_property_border_after_style_new (); fo_property_set_value (relative, border_style_component); fo_context_set_border_after_style (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_style (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_bottom_style_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_bottom_style (current_context, absolute); relative = fo_property_border_after_style_new (); fo_property_set_value (relative, border_component); fo_context_set_border_after_style (current_context, relative); } else { absolute = fo_property_border_bottom_style_get_initial (); fo_context_set_border_bottom_style (current_context, absolute); relative = fo_property_border_after_style_get_initial (); fo_context_set_border_after_style (current_context, relative); } } } } } /* width */ datatype = fo_property_get_value (absolute); if ((fo_enum_get_value (datatype) == FO_ENUM_ENUM_NONE) || (fo_enum_get_value (datatype) == FO_ENUM_ENUM_HIDDEN)) { absolute = g_object_new (FO_TYPE_PROPERTY_BORDER_BOTTOM_WIDTH, "value", fo_length_get_length_zero (), NULL); fo_context_set_border_bottom_width (current_context, absolute); relative = g_object_new (FO_TYPE_PROPERTY_BORDER_AFTER_WIDTH, "value", fo_length_get_length_zero (), NULL); fo_context_set_border_after_width (current_context, relative); } else { absolute = fo_context_get_border_bottom_width (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_after_width_new (); fo_property_set_value (relative, datatype); fo_context_set_border_after_width (current_context, relative); } else { relative = fo_context_get_border_after_width (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_bottom_width_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_bottom_width (current_context, absolute); } else { if (border_bottom_wsc != NULL) { border_bottom_component = fo_wsc_get_width (border_bottom_wsc); } else { border_bottom_component = NULL; } if (border_bottom_component != NULL) { absolute = fo_property_border_bottom_width_new (); fo_property_set_value (absolute, border_bottom_component); fo_context_set_border_bottom_width (current_context, absolute); relative = fo_property_border_after_width_new (); fo_property_set_value (relative, border_bottom_component); fo_context_set_border_after_width (current_context, relative); } else { if (border_width_tblr != NULL) { border_width_component = fo_tblr_get_bottom (border_width_tblr); } else { border_width_component = NULL; } if (border_width_component != NULL) { absolute = fo_property_border_bottom_width_new (); fo_property_set_value (absolute, border_width_component); fo_context_set_border_bottom_width (current_context, absolute); relative = fo_property_border_after_width_new (); fo_property_set_value (relative, border_width_component); fo_context_set_border_after_width (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_width (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_bottom_width_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_bottom_width (current_context, absolute); relative = fo_property_border_after_width_new (); fo_property_set_value (relative, border_component); fo_context_set_border_after_width (current_context, relative); } else { absolute = fo_property_border_bottom_width_get_initial (); fo_context_set_border_bottom_width (current_context, absolute); relative = fo_property_border_after_width_get_initial (); fo_context_set_border_after_width (current_context, relative); } } } } } } /* color */ absolute = fo_context_get_border_bottom_color (current_context); if (absolute != NULL) { datatype = fo_property_get_value (absolute); relative = fo_property_border_after_color_new (); fo_property_set_value (relative, datatype); fo_context_set_border_after_color (current_context, relative); } else { relative = fo_context_get_border_after_color (current_context); if (relative != NULL) { datatype = fo_property_get_value (relative); absolute = fo_property_border_bottom_color_new (); fo_property_set_value (absolute, datatype); fo_context_set_border_bottom_color (current_context, absolute); } else { if (border_bottom_wsc != NULL) { border_bottom_component = fo_wsc_get_color (border_bottom_wsc); } else { border_bottom_component = NULL; } if (border_bottom_component != NULL) { absolute = fo_property_border_bottom_color_new (); fo_property_set_value (absolute, border_bottom_component); fo_context_set_border_bottom_color (current_context, absolute); relative = fo_property_border_after_color_new (); fo_property_set_value (relative, border_bottom_component); fo_context_set_border_after_color (current_context, relative); } else { if (border_color_tblr != NULL) { border_color_component = fo_tblr_get_bottom (border_color_tblr); } else { border_color_component = NULL; } if (border_color_component != NULL) { absolute = fo_property_border_bottom_color_new (); fo_property_set_value (absolute, border_color_component); fo_context_set_border_bottom_color (current_context, absolute); relative = fo_property_border_after_color_new (); fo_property_set_value (relative, border_color_component); fo_context_set_border_after_color (current_context, relative); } else { if (border_wsc != NULL) { border_component = fo_wsc_get_color (border_wsc); } else { border_component = NULL; } if (border_component != NULL) { absolute = fo_property_border_bottom_color_new (); fo_property_set_value (absolute, border_component); fo_context_set_border_bottom_color (current_context, absolute); relative = fo_property_border_after_color_new (); fo_property_set_value (relative, border_component); fo_context_set_border_after_color (current_context, relative); } else { prop_color = g_object_new (FO_TYPE_PROPERTY_BORDER_BOTTOM_COLOR, "value", initial_color, NULL); fo_context_set_border_bottom_color (current_context, prop_color); prop_color = g_object_new (FO_TYPE_PROPERTY_BORDER_AFTER_COLOR, "value", initial_color, NULL); fo_context_set_border_after_color (current_context, prop_color); } } } } } } /* FIXME: Why is this necessary? This should happen in fo_context_merge() */ void fo_context_util_dominant_baseline_resolve (FoContext *current_context, FoContext *parent_context) { g_return_if_fail (current_context != NULL); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (parent_context != NULL); g_return_if_fail (FO_IS_CONTEXT (parent_context)); if (fo_context_get_dominant_baseline (current_context) == NULL) { fo_context_set_dominant_baseline (current_context, fo_property_dominant_baseline_get_initial ()); } } xmlroff-0.6.2/libfo/fo-context-util.h0000644000175000017500000000261610643167450014435 00000000000000/* Fo * fo-context-util.c: Utility functions for FoContext objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_CONTEXT_UTIL_H__ #define __FO_CONTEXT_UTIL_H__ #include #include #include void fo_context_util_height_width_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_keeps_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_paddings_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_spaces_resolve (FoContext *context, FoArea *reference_area); void fo_context_util_length_ranges_resolve (FoContext *context, FoArea *reference_area); void fo_context_util_margins_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_margins_indents_resolve (FoFo *fo, FoContext *current_context, FoContext *parent_context); void fo_context_util_border_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_dominant_baseline_resolve (FoContext *current_context, FoContext *parent_context); G_END_DECLS #endif /* __FO_CONTEXT_UTIL_H__ */ xmlroff-0.6.2/libfo/area-to-pdf.c0000644000175000017500000010011410766207313013455 00000000000000/* Fo * area-to-pdf.c: Convert area tree into PDF * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "area-to-pdf.h" #include "area/fo-all-area.h" #include "area/fo-area-table-continuation-private.h" #include "property/fo-property-border.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-color.h" #include "property/fo-property-font-size.h" typedef struct { gdouble x1; /* X-coordinate of one corner. */ gdouble y1; /* Y-coordinate of one corner. */ gdouble x2; /* X-coordinate of the opposite corner. */ gdouble y2; /* Y-coordinate of the opposite corder. */ gdouble x1delta; /* Relative x-offset of interior corner nearest (x1,y1). */ gdouble y1delta; /* Relative y-offset of interior corner nearest (x1,y1). */ gdouble x2delta; /* Relative x-offset of interior corner nearest (x2,y2). */ gdouble y2delta; /* Relative y-offset of interior corner nearest (x2,y2). */ } FoPdfOneBorderCoords; /** * fo_pdf_draw_background: * @fo_doc: #FoDoc * @x: X-coordinate of top-left corner. * @y: Y-coordinate of top-left corner. * @width: Width of background area * @height: Height of background area * @background_color: Background color, or an #FoEnum if background is * transparent. * * If @background_color is an #FoColor, draw a rectangle of the * background color with top-left corner at (@x, @y) with width @width * and height @height. **/ static void fo_pdf_draw_background (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height, FoDatatype *background_color) { #if defined(LIBFO_DEBUG) && 0 g_message ("draw_background:: x: %f; y; %f; width: %f; height: %f", x, y, width, height); fo_object_debug_dump (background_color, 0); #endif if (FO_IS_COLOR (background_color)) { fo_doc_set_fill_color (fo_doc, background_color); fo_doc_rect_filled (fo_doc, x, y - height, width, height); } } /** * fo_pdf_clip_to_coords: * @fo_doc: #FoDoc. * @coords: Coordinates of one border of an area. * * Clip the drawing area of @fo_doc to @coords **/ static void fo_pdf_clip_to_coords (FoDoc *fo_doc, FoPdfOneBorderCoords *coords) { fo_doc_move_to (fo_doc, coords->x1, coords->y1); fo_doc_line_to (fo_doc, coords->x2, coords->y2); fo_doc_line_to (fo_doc, coords->x2 + coords->x2delta, coords->y2 + coords->y2delta); fo_doc_line_to (fo_doc, coords->x1 + coords->x1delta, coords->y1 + coords->y1delta); fo_doc_clip (fo_doc); } /** * fo_pdf_draw_border_two_tone_vertical: * @fo_doc: #FoDoc * @inner_color: Color of the inner band * @outer_color: Color of the outer band * @coords: Coordinates of one border of an area * * Draw a left or right two-tone border. **/ static void fo_pdf_draw_border_two_tone_vertical (FoDoc *fo_doc, FoDatatype *inner_color, FoDatatype *outer_color, FoPdfOneBorderCoords *coords) { fo_doc_set_line_width (fo_doc, ABS (coords->x1delta) / 2); fo_doc_set_stroke_color (fo_doc, outer_color); fo_doc_move_to (fo_doc, coords->x1 + coords->x1delta / 4.0, coords->y1); fo_doc_line_to (fo_doc, coords->x2 + coords->x2delta / 4.0, coords->y2); fo_doc_stroke (fo_doc); fo_doc_set_stroke_color (fo_doc, inner_color); fo_doc_move_to (fo_doc, coords->x1 + 3.0 * coords->x1delta / 4.0, coords->y1); fo_doc_line_to (fo_doc, coords->x2 + 3.0 * coords->x2delta / 4.0, coords->y2); fo_doc_stroke (fo_doc); } /** * fo_pdf_draw_border_two_tone_horizontal: * @fo_doc: #FoDoc * @inner_color: Color of the inner band * @outer_color: Color of the outer band * @coords: Coordinates of one border of an area * * Draw a top or bottom two-tone border. **/ static void fo_pdf_draw_border_two_tone_horizontal (FoDoc *fo_doc, FoDatatype *inner_color, FoDatatype *outer_color, FoPdfOneBorderCoords *coords) { fo_doc_set_line_width (fo_doc, ABS (coords->y1delta) / 2); fo_doc_set_stroke_color (fo_doc, inner_color); fo_doc_move_to (fo_doc, coords->x1, coords->y1 + 3.0 * coords->y1delta / 4.0); fo_doc_line_to (fo_doc, coords->x2, coords->y2 + 3.0 * coords->y2delta / 4.0); fo_doc_stroke (fo_doc); fo_doc_set_stroke_color (fo_doc, outer_color); fo_doc_move_to (fo_doc, coords->x1, coords->y1 + coords->y1delta / 4.0); fo_doc_line_to (fo_doc, coords->x2, coords->y2 + coords->y2delta / 4.0); fo_doc_stroke (fo_doc); } /** * fo_pdf_draw_border_solid: * @fo_doc: #FoDoc * @color: Border color * @coords: Coordinates of one border of an area * * Draw a solid border with color @color and coordinates @coords. **/ static void fo_pdf_draw_border_solid (FoDoc *fo_doc, FoDatatype *color, FoPdfOneBorderCoords *coords) { fo_doc_set_fill_color (fo_doc, color); fo_doc_move_to (fo_doc, coords->x1, coords->y1); fo_doc_line_to (fo_doc, coords->x2, coords->y2); fo_doc_line_to (fo_doc, coords->x2 + coords->x2delta, coords->y2 + coords->y2delta); fo_doc_line_to (fo_doc, coords->x1 + coords->x1delta, coords->y1 + coords->y1delta); fo_doc_fill (fo_doc); } /** * fo_pdf_draw_border_double: * @fo_doc: #FoDoc * @color: Border color * @coords: Coordinates of one border of an area * * Draw a double border with color @color and coordinates @coords. **/ static void fo_pdf_draw_border_double (FoDoc *fo_doc, FoDatatype *color, FoPdfOneBorderCoords *coords) { fo_doc_set_fill_color (fo_doc, color); fo_doc_move_to (fo_doc, coords->x1, coords->y1); fo_doc_line_to (fo_doc, coords->x2, coords->y2); fo_doc_line_to (fo_doc, coords->x2 + coords->x2delta / 3, coords->y2 + coords->y2delta / 3); fo_doc_line_to (fo_doc, coords->x1 + coords->x1delta / 3, coords->y1 + coords->y1delta / 3); fo_doc_fill (fo_doc); fo_doc_move_to (fo_doc, coords->x1 + 2 * coords->x1delta / 3, coords->y1 + 2 * coords->y1delta / 3); fo_doc_line_to (fo_doc, coords->x2 + 2 * coords->x2delta / 3, coords->y2 + 2 * coords->y2delta / 3); fo_doc_line_to (fo_doc, coords->x2 + coords->x2delta, coords->y2 + coords->y2delta); fo_doc_line_to (fo_doc, coords->x1 + coords->x1delta, coords->y1 + coords->y1delta); fo_doc_fill (fo_doc); } /** * fo_pdf_draw_border_dotted: * @fo_doc: #FoDoc * @color: Border color * @coords: Coordinates of one border of an area * * Draw a dotted border with color @color and coordinates @coords. **/ static void fo_pdf_draw_border_dotted (FoDoc *fo_doc, FoDatatype *color, FoPdfOneBorderCoords *coords) { fo_doc_set_stroke_color (fo_doc, color); /* fo_doc_set_line_cap (fo_doc, FO_DOC_LINE_CAP_ROUND);*/ /* round end caps */ fo_doc_move_to (fo_doc, coords->x1, coords->y1); fo_doc_line_to (fo_doc, coords->x2, coords->y2); fo_doc_line_to (fo_doc, coords->x2 + coords->x2delta, coords->y2 + coords->y2delta); fo_doc_line_to (fo_doc, coords->x1 + coords->x1delta, coords->y1 + coords->y1delta); fo_doc_clip (fo_doc); if (coords->x1 == coords->x2) { /* vertical */ fo_doc_set_dash (fo_doc, ABS (coords->x1delta), ABS (coords->x1delta)); fo_doc_set_line_width (fo_doc, ABS (coords->x1delta)); fo_doc_move_to (fo_doc, coords->x1 + coords->x1delta / 2, coords->y1); fo_doc_line_to (fo_doc, coords->x2 + coords->x2delta / 2, coords->y2); } else { /* horizontal */ fo_doc_set_dash (fo_doc, ABS (coords->y1delta), ABS (coords->y1delta)); fo_doc_set_line_width (fo_doc, ABS (coords->y1delta)); fo_doc_move_to (fo_doc, coords->x1, coords->y1 + coords->y1delta / 2); fo_doc_line_to (fo_doc, coords->x2, coords->y2 + coords->y2delta / 2); } fo_doc_stroke (fo_doc); } /** * fo_pdf_draw_border_dashed: * @fo_doc: #FoDoc * @color: Border color * @coords: Coordinates of one border of an area * * Draw a dashed border with color @color and coordinates @coords. **/ static void fo_pdf_draw_border_dashed (FoDoc *fo_doc, FoDatatype *color, FoPdfOneBorderCoords *coords) { /* fo_doc_set_line_cap (fo_doc, FO_DOC_LINE_CAP_BUTT);*/ /* butt end caps */ fo_pdf_clip_to_coords (fo_doc, coords); fo_doc_set_stroke_color (fo_doc, color); if (coords->x1 == coords->x2) { /* vertical */ fo_doc_set_dash (fo_doc, ABS (coords->x1delta) * 3, ABS (coords->x1delta) * 3); fo_doc_set_line_width (fo_doc, ABS (coords->x1delta)); fo_doc_move_to (fo_doc, coords->x1 + coords->x1delta / 2, coords->y1); fo_doc_line_to (fo_doc, coords->x2 + coords->x2delta / 2, coords->y2); } else { /* horizontal */ fo_doc_set_dash (fo_doc, ABS (coords->y1delta) * 3, ABS (coords->y1delta) * 3); fo_doc_set_line_width (fo_doc, ABS (coords->y1delta)); fo_doc_move_to (fo_doc, coords->x1, coords->y1 + coords->y1delta / 2); fo_doc_line_to (fo_doc, coords->x2, coords->y2 + coords->y2delta / 2); } fo_doc_stroke (fo_doc); } /** * fo_pdf_draw_border_groove: * @fo_doc: #FoDoc * @color: Border color * @coords: Coordinates of one border of an area * * Draw a grooved border with colors based on @color and coordinates @coords. **/ static void fo_pdf_draw_border_groove (FoDoc *fo_doc, FoDatatype *color, FoPdfOneBorderCoords *coords) { fo_doc_set_dash (fo_doc, 0.0, 0.0); fo_pdf_clip_to_coords (fo_doc, coords); if (coords->x1 == coords->x2) { /* vertical */ if (coords->x1delta >= 0) { /* left */ fo_pdf_draw_border_two_tone_vertical (fo_doc, color, fo_color_get_color_one_quarter (color), coords); } else { /* right */ fo_pdf_draw_border_two_tone_vertical (fo_doc, fo_color_get_color_one_quarter (color), color, coords); } } else { /* horizontal */ if (coords->y1delta >= 0) { /* bottom */ fo_pdf_draw_border_two_tone_horizontal (fo_doc, fo_color_get_color_one_quarter (color), color, coords); } else { /* top */ /* 3/4 color */ fo_pdf_draw_border_two_tone_horizontal (fo_doc, color, fo_color_get_color_one_quarter (color), coords); } } } /** * fo_pdf_draw_border_ridge: * @fo_doc: #FoDoc * @color: Border color * @coords: Coordinates of one border of an area * * Draw a ridged border with colors based on @color and coordinates @coords. **/ static void fo_pdf_draw_border_ridge (FoDoc *fo_doc, FoDatatype *color, FoPdfOneBorderCoords *coords) { fo_doc_set_dash (fo_doc, 0.0, 0.0); fo_pdf_clip_to_coords (fo_doc, coords); if (coords->x1 == coords->x2) { /* vertical */ if (coords->x1delta >= 0) { /* left */ fo_pdf_draw_border_two_tone_vertical (fo_doc, fo_color_get_color_one_half (color), fo_color_get_color_three_quarter (color), coords); } else { /* right */ fo_pdf_draw_border_two_tone_vertical (fo_doc, fo_color_get_color_three_quarter (color), fo_color_get_color_one_half (color), coords); } } else { /* horizontal */ if (coords->y1delta >= 0) { /* bottom */ fo_pdf_draw_border_two_tone_horizontal (fo_doc, fo_color_get_color_one_half (color), fo_color_get_color_three_quarter (color), coords); } else { /* top */ /* 3/4 color */ fo_pdf_draw_border_two_tone_horizontal (fo_doc, fo_color_get_color_three_quarter (color), fo_color_get_color_one_half (color), coords); } } } /** * fo_pdf_draw_border_inset: * @fo_doc: #FoDoc * @color: Border color * @coords: Coordinates of one border of an area * * Draw an inset border with colors based on @color and coordinates @coords. **/ static void fo_pdf_draw_border_inset (FoDoc *fo_doc, FoDatatype *color, FoPdfOneBorderCoords *coords) { fo_doc_set_dash (fo_doc, 0.0, 0.0); fo_pdf_clip_to_coords (fo_doc, coords); if (coords->x1 == coords->x2) { /* vertical */ if (coords->x1delta >= 0) { /* left */ fo_pdf_draw_border_two_tone_vertical (fo_doc, fo_color_get_color_one_half (color), fo_color_get_color_one_quarter (color), coords); } else { /* right */ fo_pdf_draw_border_two_tone_vertical (fo_doc, fo_color_get_color_three_quarter (color), color, coords); } } else { /* horizontal */ if (coords->y1delta >= 0) { /* bottom */ fo_pdf_draw_border_two_tone_horizontal (fo_doc, fo_color_get_color_three_quarter (color), color, coords); } else { /* top */ /* 1/4 color */ fo_pdf_draw_border_two_tone_horizontal (fo_doc, fo_color_get_color_one_half (color), fo_color_get_color_one_quarter (color), coords); } } } /** * fo_pdf_draw_border_outset: * @fo_doc: #FoDoc * @color: Border color * @coords: Coordinates of one border of an area * * Draw an outset border with colors based on @color and coordinates @coords. **/ static void fo_pdf_draw_border_outset (FoDoc *fo_doc, FoDatatype *color, FoPdfOneBorderCoords *coords) { fo_doc_set_dash (fo_doc, 0.0, 0.0); fo_pdf_clip_to_coords (fo_doc, coords); if (coords->x1 == coords->x2) { /* vertical */ if (coords->x1delta >= 0) { /* left */ fo_pdf_draw_border_two_tone_vertical (fo_doc, color, fo_color_get_color_three_quarter (color), coords); } else { /* right */ fo_pdf_draw_border_two_tone_vertical (fo_doc, fo_color_get_color_one_quarter (color), fo_color_get_color_one_half (color), coords); } } else { /* horizontal */ if (coords->y1delta >= 0) { /* bottom */ fo_pdf_draw_border_two_tone_horizontal (fo_doc, fo_color_get_color_one_quarter (color), fo_color_get_color_one_half (color), coords); } else { /* top */ /* 3/4 color */ fo_pdf_draw_border_two_tone_horizontal (fo_doc, color, fo_color_get_color_three_quarter (color), coords); } } } /** * fo_pdf_draw_one_border: * @fo_doc: #FoDoc * @border_style: Border style * @x1: X-coordinate of one corner * @y1: Y-coordinate of one corner * @x2: X-coordinate of the opposite corner * @y2: Y-coordinate of the opposite corner * @x1delta: Relative x-offset of interior corner of border closest to (x1, y1) * @y1delta: Relative y-offset of interior corner of border closest to (x1, y1) * @x2delta: Relative x-offset of interior corner of border closest to (x2, y2) * @y2delta: Relative y-offset of interior corner of border closest to (x2, y2) * * Draw one border by outputting PDF statements to PDF document. * * Borders are mitred, i.e., the angle between the outer corner and * the inner corner at the end of one border depends on both the width * of the border and the width of the adjacent border that is at right * angles to the current border. **/ static void fo_pdf_draw_one_border (FoDoc *fo_doc, FoDatatype *color, FoEnumEnum border_style, FoPdfOneBorderCoords *coords) { fo_doc_save (fo_doc); #if defined(LIBFO_DEBUG) && 1 g_message ("draw_one_border:: style: %d; x1: %f; y1; %f; x2: %f; y2: %f", border_style, x1, y1, x2, y2); g_message (" x1delta: %f; y1delta: %f; x2delta: %f; y2delta: %f", x1delta, y1delta, x2delta, y2delta); #endif switch (border_style) { case FO_ENUM_ENUM_SOLID: fo_pdf_draw_border_solid (fo_doc, color, coords); break; case FO_ENUM_ENUM_DOUBLE: fo_pdf_draw_border_double (fo_doc, color, coords); break; case FO_ENUM_ENUM_DOTTED: fo_pdf_draw_border_dotted (fo_doc, color, coords); break; case FO_ENUM_ENUM_DASHED: fo_pdf_draw_border_dashed (fo_doc, color, coords); break; case FO_ENUM_ENUM_GROOVE: fo_pdf_draw_border_groove (fo_doc, color, coords); break; case FO_ENUM_ENUM_RIDGE: fo_pdf_draw_border_ridge (fo_doc, color, coords); break; case FO_ENUM_ENUM_INSET: fo_pdf_draw_border_inset (fo_doc, color, coords); break; case FO_ENUM_ENUM_OUTSET: fo_pdf_draw_border_outset (fo_doc, color, coords); break; default: g_error ("Unexpected enumeration."); } fo_doc_restore (fo_doc); } /** * fo_pdf_draw_borders: * @fo_doc: #FoDoc document * @area_node: #FoArea node * * Draw the borders appropriate to @area_node. * * FIXME: Does not work correctly for #FoAreaSpanningTableCell. **/ static void fo_pdf_draw_borders (FoDoc *fo_doc, FoArea *area_node, gdouble width, gdouble height) { GValue value = { 0, {{0}, {0}} }; FoFo *fo = fo_area_get_generated_by (area_node); FoProperty *prop_color; FoProperty *prop_border_style; FoDatatype *color; FoEnumEnum border_style; gdouble x = fo_area_area_get_x (area_node); gdouble y = fo_area_area_get_y (area_node); gdouble border_before = fo_area_area_get_border_before (area_node); gdouble border_after = fo_area_area_get_border_after (area_node); gdouble border_start = fo_area_area_get_border_start (area_node); gdouble border_end = fo_area_area_get_border_end (area_node); g_value_init (&value, G_TYPE_OBJECT); /* before == top */ if (border_before != 0.0) { g_object_get_property (G_OBJECT (fo), "border-top-style", &value); /* g_print ("%s\n", fo_object_sprintf (g_value_get_object (&value))); */ prop_border_style = g_value_get_object (&value); border_style = fo_enum_get_value (fo_property_get_value (prop_border_style)); if ((border_style != FO_ENUM_ENUM_NONE) && (border_style != FO_ENUM_ENUM_HIDDEN)) { FoPdfOneBorderCoords coords = {x, y, x + width, y, border_start, -border_before, -border_end, -border_before}; g_object_get_property (G_OBJECT (fo), "border-top-color", &value); prop_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_color), "value", &value); /* g_print ("%s\n", fo_object_sprintf (g_value_get_object (&value))); */ color = g_value_get_object (&value); fo_pdf_draw_one_border (fo_doc, color, border_style, &coords); } } /* start == left */ if (border_start != 0.0) { g_object_get_property (G_OBJECT (fo), "border-left-style", &value); /* g_print ("%s", fo_object_sprintf (g_value_get_object (&value))); */ prop_border_style = g_value_get_object (&value); border_style = fo_enum_get_value (fo_property_get_value (prop_border_style)); if ((border_style != FO_ENUM_ENUM_NONE) && (border_style != FO_ENUM_ENUM_HIDDEN)) { FoPdfOneBorderCoords coords = {x, y, x, y - height, border_start, -border_before, border_start, border_after}; g_object_get_property (G_OBJECT (fo), "border-left-color", &value); prop_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_color), "value", &value); /* g_print ("%s", fo_object_sprintf (g_value_get_object (&value))); */ color = g_value_get_object (&value); fo_pdf_draw_one_border (fo_doc, color, border_style, &coords); } } /* end == right */ if (border_end != 0.0) { g_object_get_property (G_OBJECT (fo), "border-right-style", &value); /* g_print ("%s", fo_object_sprintf (g_value_get_object (&value))); */ prop_border_style = g_value_get_object (&value); border_style = fo_enum_get_value (fo_property_get_value (prop_border_style)); if ((border_style != FO_ENUM_ENUM_NONE) && (border_style != FO_ENUM_ENUM_HIDDEN)) { FoPdfOneBorderCoords coords = {x + width, y, x + width, y - height, -border_end, -border_before, -border_end, border_after}; g_object_get_property (G_OBJECT (fo), "border-right-color", &value); prop_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_color), "value", &value); /* g_print ("%s", fo_object_sprintf (g_value_get_object (&value))); */ color = g_value_get_object (&value); fo_pdf_draw_one_border (fo_doc, color, border_style, &coords); } } /* after == bottom */ if (border_after != 0.0) { g_object_get_property (G_OBJECT (fo), "border-bottom-style", &value); /* g_print ("%s", fo_object_sprintf (g_value_get_object (&value))); */ prop_border_style = g_value_get_object (&value); border_style = fo_enum_get_value (fo_property_get_value (prop_border_style)); if ((border_style != FO_ENUM_ENUM_NONE) && (border_style != FO_ENUM_ENUM_HIDDEN)) { FoPdfOneBorderCoords coords = {x, y - height, x + width, y - height, border_start, border_after, -border_end, border_after}; g_object_get_property (G_OBJECT (fo), "border-bottom-color", &value); prop_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_color), "value", &value); /* g_print ("%s", fo_object_sprintf (g_value_get_object (&value))); */ color = g_value_get_object (&value); fo_pdf_draw_one_border (fo_doc, color, border_style, &coords); } } } /** * fo_area_tree_to_pdf: * @area_node: #FoArea node to be output to PDF file * @data: Pointer to #FoAreaToPDFData with additional data * * Add @area_node and its descendants to the PDF document. The PDF * document pointer and other required data is in @data. * * This conforms to FoAreaForeachFunc type so can use * fo_area_children_foreach() on any children of @area_node. **/ void fo_area_tree_to_pdf (FoArea *area_node, gpointer data) { FoAreaToPDFData *fo_area_to_pdf_data = (FoAreaToPDFData *) data; FoDoc *fo_doc; FoFo *fo; FoProperty *prop_background_color; FoDatatype *background_color; GValue value = { 0, {{0}, {0}} }; g_value_init (&value, G_TYPE_OBJECT); g_return_if_fail (area_node != NULL); g_return_if_fail (FO_IS_AREA (area_node)); fo_doc = fo_area_to_pdf_data->fo_doc; fo = fo_area_get_generated_by (area_node); if (FO_IS_AREA_PAGE (area_node)) { fo_doc_begin_page (fo_doc, fo_area_page_get_page_width (area_node), fo_area_page_get_page_height (area_node), NULL); fo_area_children_foreach (area_node, G_TRAVERSE_ALL, &fo_area_tree_to_pdf, (gpointer) fo_area_to_pdf_data); fo_doc_end_page (fo_doc); } else if (FO_IS_AREA_LAYOUT (area_node)) { FoPropertyColor *prop_color; FoPropertyFontSize *prop_font_size; FoDatatype *color; FoDatatype *length; gdouble x = fo_area_area_get_x (area_node); gdouble y = fo_area_area_get_y (area_node); gdouble width = fo_area_area_get_width (area_node); gdouble height = fo_area_area_get_height (area_node); gdouble border_before = fo_area_area_get_border_before (area_node); gdouble border_start = fo_area_area_get_border_start (area_node); gdouble padding_before = fo_area_area_get_padding_before (area_node); gdouble padding_start = fo_area_area_get_padding_start (area_node); fo_doc_save (fo_doc); /* font-size */ g_object_get_property (G_OBJECT (fo), "font-size", &value); prop_font_size = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_font_size), "value", &value); length = g_value_get_object (&value); /* background-color */ g_object_get_property (G_OBJECT (fo), "background-color", &value); prop_background_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_background_color), "value", &value); background_color = g_value_get_object (&value); fo_pdf_draw_background (fo_doc, x, y, width, height, background_color); /* color */ g_object_get_property (G_OBJECT (fo), "color", &value); prop_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_color), "value", &value); color = g_value_get_object (&value); fo_doc_set_fill_color (fo_doc, color); #if defined(LIBFO_DEBUG) && 0 fo_object_debug_dump (area_node, 0); #endif fo_doc_render_layout_lines (fo_doc, area_node, x + border_start + padding_start, y - border_before - padding_before); /* borders */ fo_pdf_draw_borders (fo_doc, area_node, width, height); fo_doc_restore (fo_doc); } else if (FO_IS_AREA_NORMAL (area_node)) { gdouble width = fo_area_area_get_width (area_node); gdouble height = fo_area_area_get_height (area_node); fo_pdf_draw_borders (fo_doc, area_node, width, height); fo_doc_translate (fo_doc, fo_area_area_get_x (area_node), fo_area_area_get_y (area_node)); fo_area_children_foreach (area_node, G_TRAVERSE_ALL, &fo_area_tree_to_pdf, fo_area_to_pdf_data); fo_doc_translate (fo_doc, - fo_area_area_get_x (area_node), - fo_area_area_get_y (area_node)); } else if (FO_IS_AREA_VIEWPORT_REFERENCE (area_node)) { FoProperty *prop_overflow; FoEnumEnum overflow; gdouble x = fo_area_area_get_x (area_node); gdouble y = fo_area_area_get_y (area_node); gdouble width = fo_area_get_available_width (area_node); gdouble height = fo_area_get_available_height (area_node); /* background-color */ g_object_get_property (G_OBJECT (fo), "background-color", &value); prop_background_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_background_color), "value", &value); background_color = g_value_get_object (&value); fo_pdf_draw_background (fo_doc, x, y, width, height, background_color); /* borders */ fo_pdf_draw_borders (fo_doc, area_node, width, height); fo_doc_save (fo_doc); fo_doc_translate (fo_doc, fo_area_area_get_x (area_node), fo_area_area_get_y (area_node)); /* overflow */ g_object_get_property (G_OBJECT (fo), "overflow", &value); prop_overflow = g_value_get_object (&value); overflow = fo_enum_get_value (fo_property_get_value (prop_overflow)); if ((overflow == FO_ENUM_ENUM_HIDDEN) || (overflow == FO_ENUM_ENUM_SCROLL)) { fo_doc_move_to (fo_doc, 0, 0); fo_doc_line_to (fo_doc, 0, -height); fo_doc_line_to (fo_doc, width, -height); fo_doc_line_to (fo_doc, width, 0); fo_doc_clip (fo_doc); } fo_area_children_foreach (area_node, G_TRAVERSE_ALL, &fo_area_tree_to_pdf, fo_area_to_pdf_data); fo_doc_restore (fo_doc); } else if (FO_IS_AREA_SPANNING_TABLE_CELL (area_node)) { gdouble x = fo_area_area_get_x (area_node); gdouble y = fo_area_area_get_y (area_node); gdouble width = fo_area_area_get_width (area_node); gdouble height = fo_area_spanning_table_cell_get_real_available_height (area_node); fo_doc_save (fo_doc); /* background-color */ g_object_get_property (G_OBJECT (fo), "background-color", &value); prop_background_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_background_color), "value", &value); background_color = g_value_get_object (&value); fo_pdf_draw_background (fo_doc, x, y, width, height, background_color); /* borders */ fo_pdf_draw_borders (fo_doc, area_node, width, height); fo_doc_translate (fo_doc, fo_area_area_get_x (area_node), fo_area_area_get_y (area_node)); fo_area_children_foreach (area_node, G_TRAVERSE_ALL, &fo_area_tree_to_pdf, fo_area_to_pdf_data); fo_doc_restore (fo_doc); } else if (FO_IS_AREA_TABLE_CONTINUATION (area_node)) { FoArea *table_header = FO_AREA_TABLE_CONTINUATION (area_node)->table_header; gdouble x = fo_area_area_get_x (area_node); gdouble y = fo_area_area_get_y (area_node); gdouble width = fo_area_area_get_width (area_node); gdouble height = fo_area_area_get_height (area_node); if (table_header != NULL) { fo_doc_save (fo_doc); fo_doc_translate (fo_doc, fo_area_area_get_x (area_node), fo_area_area_get_y (area_node)); fo_area_tree_to_pdf (table_header, fo_area_to_pdf_data); fo_doc_restore (fo_doc); } fo_doc_save (fo_doc); /* background-color */ g_object_get_property (G_OBJECT (fo), "background-color", &value); prop_background_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_background_color), "value", &value); background_color = g_value_get_object (&value); fo_pdf_draw_background (fo_doc, x, y - (table_header ? fo_area_area_get_height (table_header) : 0.0), width, height, background_color); /* borders */ fo_pdf_draw_borders (fo_doc, area_node, width, height); fo_doc_translate (fo_doc, fo_area_area_get_x (area_node), fo_area_area_get_y (area_node) - (table_header ? fo_area_area_get_height (table_header) : 0.0) - (table_header ? fo_area_area_get_height (table_header) : 0.0)); fo_area_children_foreach (area_node, G_TRAVERSE_ALL, &fo_area_tree_to_pdf, fo_area_to_pdf_data); fo_doc_restore (fo_doc); } else if (FO_IS_AREA_REFERENCE (area_node)) { gdouble x = fo_area_area_get_x (area_node); gdouble y = fo_area_area_get_y (area_node); gdouble width = fo_area_area_get_width (area_node); gdouble height = fo_area_area_get_height (area_node); fo_doc_save (fo_doc); /* background-color */ g_object_get_property (G_OBJECT (fo), "background-color", &value); prop_background_color = g_value_get_object (&value); g_object_get_property (G_OBJECT (prop_background_color), "value", &value); background_color = g_value_get_object (&value); fo_pdf_draw_background (fo_doc, x, y, width, height, background_color); /* borders */ fo_pdf_draw_borders (fo_doc, area_node, width, height); fo_doc_translate (fo_doc, fo_area_area_get_x (area_node), fo_area_area_get_y (area_node)); fo_area_children_foreach (area_node, G_TRAVERSE_ALL, &fo_area_tree_to_pdf, fo_area_to_pdf_data); fo_doc_restore (fo_doc); } else if (FO_IS_AREA_AREA (area_node)) { gdouble width = fo_area_area_get_width (area_node); gdouble height = fo_area_area_get_height (area_node); /* borders */ fo_pdf_draw_borders (fo_doc, area_node, width, height); /* No fo_doc_save(). Instead, do reverse translate after drawing children. */ fo_doc_translate (fo_doc, fo_area_area_get_x (area_node), fo_area_area_get_y (area_node)); fo_area_children_foreach (area_node, G_TRAVERSE_ALL, &fo_area_tree_to_pdf, fo_area_to_pdf_data); fo_doc_translate (fo_doc, - fo_area_area_get_x (area_node), - fo_area_area_get_y (area_node)); } else { fo_area_children_foreach (area_node, G_TRAVERSE_ALL, &fo_area_tree_to_pdf, fo_area_to_pdf_data); } } xmlroff-0.6.2/libfo/area-to-pdf.h0000644000175000017500000000103610643167450013466 00000000000000/* Fo * area-to-pdf.h: Convert area tree to pdf * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TO_PDF_H__ #define __FO_AREA_TO_PDF_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaToPDFData { FoDoc *fo_doc; FoDebugFlag debug_level; } FoAreaToPDFData; void fo_area_tree_to_pdf (FoArea *area_node, gpointer data); G_END_DECLS #endif /* !__FO_AREA_TO_PDF_H__ */ xmlroff-0.6.2/libfo/libfo-version.c0000644000175000017500000001115311033710521014124 00000000000000/* libfo * libfo-version.c: libfo version * * Copyright (C) 2008 Menteith Consulting Ltd * * Inspired by Pango and Cairo version APIs. * * See COPYING for the status of this software. */ #include #include #include "libfo/libfo-features.h" #include "libfo/libfo-version.h" #include "libfo/fo-libfo-module.h" #if ENABLE_CAIRO #include #endif #if ENABLE_GP #include #endif #include "libfo/fo-xsl-formatter.h" #include "libfo/fo-xslt-transformer.h" #include "libfo/fo-xml-doc.h" /** * libfo_version: * * This is similar to the macro %LIBFO_VERSION except that it returns * the encoded version of libfo available at run-time, as opposed * to the version available at compile-time. * * A version number can be encoded into an integer using * LIBFO_VERSION_ENCODE(). * * Returns value: The encoded version of libfo library * available at run time. **/ int libfo_version (void) { return LIBFO_VERSION; } /** * libfo_version_string: * * This is similar to the macro %LIBFO_VERSION_STRING except that it * returns the version of libfo available at run-time, as opposed * to the version available at compile-time. * * Returns value: A string containing the version of libfo library * available at run time. * The returned string is owned by libfo and should not be modified * or freed. **/ const char * libfo_version_string (void) { return LIBFO_VERSION_STRING; } /** * libfo_version_check: * @required_major: the required major version. * @required_minor: the required minor version. * @required_micro: the required major version. * * Checks that the libfo library in use is compatible with the * given version. Generally you would pass in the constants * %LIBFO_VERSION_MAJOR, %LIBFO_VERSION_MINOR, %LIBFO_VERSION_MICRO as the * three arguments to this function; that produces a check that the * library in use at run-time is compatible with the version of * libfo the application or module was compiled against. * * Compatibility is defined by two things: first the version * of the running library is newer than the version * @required_major.required_minor.@required_micro. Second * the running library must be binary compatible with the * version @required_major.required_minor.@required_micro * (same major version.) * * For compile-time version checking use LIBFO_VERSION_CHECK(). * * Return value: %NULL if the libfo library is compatible with the * given version, or a string describing the version mismatch. The * returned string is owned by libfo and should not be modified * or freed. **/ const char* libfo_version_check (int required_major, int required_minor, int required_micro) { gint libfo_effective_micro = 100 * XMLROFF_VERSION_MINOR + XMLROFF_VERSION_MICRO; gint required_effective_micro = 100 * required_minor + required_micro; if (required_major < XMLROFF_VERSION_MAJOR) return "libfo version too new (major mismatch)"; if (required_effective_micro < libfo_effective_micro - XMLROFF_BINARY_AGE) return "libfo version too new (micro mismatch)"; if (required_effective_micro > libfo_effective_micro) return "libfo version too old (micro mismatch)"; return NULL; } /** * libfo_pixels_per_inch: * * This is similar to the macro %LIBFO_PIXELS_PER_INCH except that it * returns the encoded pixels per inch of libfo available at run-time, * as opposed to the pixels per inch available at compile-time. * * Returns value: The encoded pixels per inch of libfo library * available at run time. **/ int libfo_pixels_per_inch (void) { return PIXELS_PER_INCH; } enum { #if ENABLE_CAIRO CAIRO_INFO, #endif #if ENABLE_GP GP_INFO, #endif FORMATTER_INFO, XSLT_INFO, XML_DOC_INFO, NULL_INFO, INFO_LIMIT }; /** * libfo_version_get_info: * * Gets the #LibfoVersionInfo of libfo components. * * Returns: Array of pointers to #LibfoVersionInfo. The last item is %NULL. **/ const LibfoVersionInfo ** libfo_version_get_info (void) { static const LibfoVersionInfo * backend_info[INFO_LIMIT]; if (backend_info[0] == NULL) { #if ENABLE_CAIRO backend_info[CAIRO_INFO] = fo_libfo_module_version_info_from_name (g_type_name (fo_doc_cairo_get_type ())); #endif #if ENABLE_GP backend_info[GP_INFO] = fo_libfo_module_version_info_from_name (g_type_name (fo_doc_gp_get_type ())); #endif backend_info[FORMATTER_INFO] = fo_libfo_module_version_info_from_name (g_type_name (fo_xsl_formatter_get_type ())); backend_info[XSLT_INFO] = fo_xslt_transformer_version_info (); backend_info[XML_DOC_INFO] = fo_xml_doc_version_info (); } return &backend_info[0]; } xmlroff-0.6.2/libfo/fo-doc-cairo.c0000644000175000017500000011226411056612412013622 00000000000000/* Fo * fo-doc-cairo.c: libfo output document based on Cairo. * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "config.h" #include #include #include #include #include #include "area/fo-area-area.h" #include "area/fo-area-layout.h" #include "util/fo-pixbuf.h" #include "fo-doc-cairo-private.h" #include "fo-doc-commands.h" #include "fo-layout-cairo-private.h" #include "libfo-pango.h" #include "datatype/fo-color.h" #include #if HAVE_LIBRSVG #include #include #endif /** * SECTION:fo-doc-cairo * @short_description: Cairo backend * * Cairo backend. */ static void fo_doc_cairo_init (FoDocCairo *object); static void fo_doc_cairo_base_init (FoDocCairoClass *klass); static void fo_doc_cairo_class_init (FoDocCairoClass *klass); static void fo_doc_cairo_finalize (GObject *object); static const LibfoVersionInfo * _version_info (); static FoLayout * fo_doc_cairo_get_new_layout (FoDoc *fo_doc); static void fo_doc_cairo_begin_page (FoDoc *fo_doc, gdouble width, gdouble height, GError **error); static void fo_doc_cairo_end_page (FoDoc *fo_doc); static FoDatatype * fo_doc_cairo_get_fill_color (FoDoc *fo_doc); static void fo_doc_cairo_set_fill_color (FoDoc *fo_doc, FoDatatype *color); static FoDatatype * fo_doc_cairo_get_stroke_color (FoDoc *fo_doc); static void fo_doc_cairo_set_stroke_color (FoDoc *fo_doc, FoDatatype *color); static void fo_doc_cairo_translate (FoDoc *fo_doc, gdouble x, gdouble y); static FoDocLineCap fo_doc_cairo_get_line_cap (FoDoc *fo_doc); static void fo_doc_cairo_set_line_cap (FoDoc *fo_doc, FoDocLineCap line_cap); static FoDocLineJoin fo_doc_cairo_get_line_join (FoDoc *fo_doc); static void fo_doc_cairo_set_line_join (FoDoc *fo_doc, FoDocLineJoin line_join); static gdouble fo_doc_cairo_get_line_width (FoDoc *fo_doc); static void fo_doc_cairo_set_line_width (FoDoc *fo_doc, gdouble line_width); static void fo_doc_cairo_set_dash (FoDoc *fo_doc, gdouble b, gdouble w); static void fo_doc_cairo_translate (FoDoc *fo_doc, gdouble x, gdouble y); static void fo_doc_cairo_clip (FoDoc *fo_doc); static void fo_doc_cairo_save (FoDoc *fo_doc); static void fo_doc_cairo_restore (FoDoc *fo_doc); static void fo_doc_cairo_line_to (FoDoc *fo_doc, gdouble x, gdouble y); static void fo_doc_cairo_move_to (FoDoc *fo_doc, gdouble x, gdouble y); static void fo_doc_cairo_line_stroked (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1); static void fo_doc_cairo_rect_stroked (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); static void fo_doc_cairo_rect_filled (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); static void fo_doc_cairo_fill (FoDoc *fo_doc); static void fo_doc_cairo_stroke (FoDoc *fo_doc); static void fo_doc_cairo_place_image (FoDoc *fo_doc, FoImage *fo_image, gdouble x, gdouble y, gdouble xscale, gdouble yscale); static void fo_doc_cairo_render_layout_lines (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); static void fo_doc_cairo_render_layout (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); static gpointer parent_class; static LibfoVersionInfo version_info = { LIBFO_MODULE_BACKEND, "cairo", "FoDocCairo", CAIRO_VERSION, CAIRO_VERSION_STRING, 0, NULL }; /** * fo_doc_cairo_error_quark: * * Get the error quark for #FoDoc. * * If the quark does not yet exist, create it. * * Return value: Quark associated with #FoDoc errors. **/ GQuark fo_doc_cairo_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoDocCairo error"); return quark; } /** * fo_doc_cairo_get_type: * * Register the #FoDoc object type. * * Return value: #GType value of the #FoDocCairo object type. **/ GType fo_doc_cairo_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoDocCairoClass), (GBaseInitFunc) fo_doc_cairo_base_init, NULL, /* base_finalize */ (GClassInitFunc) fo_doc_cairo_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoDocCairo), 0, /* n_preallocs */ (GInstanceInitFunc) fo_doc_cairo_init, NULL }; object_type = g_type_register_static (FO_TYPE_DOC, "FoDocCairo", &object_info, 0); } return object_type; } /** * fo_doc_cairo_init: * @fo_doc_cairo: #FoDocCairo object to initialise. * * Implements #GInstanceInitFunc for #FoDocCairo. **/ void fo_doc_cairo_init (FoDocCairo *fo_doc_cairo) { PangoFontMap *font_map = pango_cairo_font_map_get_default (); pango_cairo_font_map_set_resolution ((PangoCairoFontMap*) font_map, 72); FO_DOC (fo_doc_cairo)->pango_context = pango_cairo_font_map_create_context ((PangoCairoFontMap*) font_map); } /** * fo_doc_cairo_base_init: * @klass: #FoDocCairoClass base class object to initialise * * Implements #GBaseInitFunc for #FoDocCairoClass **/ void fo_doc_cairo_base_init (FoDocCairoClass *klass) { FoLibfoModuleClass *fo_libfo_module_class = FO_LIBFO_MODULE_CLASS (klass); FoDocClass *fo_doc_class = FO_DOC_CLASS (klass); fo_libfo_module_class->version = cairo_version; fo_libfo_module_class->version_string = cairo_version_string; fo_libfo_module_class->version_info = _version_info; fo_doc_class->formats = FO_FLAG_FORMAT_PDF | FO_FLAG_FORMAT_POSTSCRIPT | FO_FLAG_FORMAT_SVG; fo_doc_class->open_file = fo_doc_cairo_open_file; fo_doc_class->get_new_layout = fo_doc_cairo_get_new_layout; fo_doc_class->begin_page = fo_doc_cairo_begin_page; fo_doc_class->end_page = fo_doc_cairo_end_page; fo_doc_class->get_fill_color = fo_doc_cairo_get_fill_color; fo_doc_class->set_fill_color = fo_doc_cairo_set_fill_color; fo_doc_class->get_stroke_color = fo_doc_cairo_get_stroke_color; fo_doc_class->set_stroke_color = fo_doc_cairo_set_stroke_color; fo_doc_class->get_line_cap = fo_doc_cairo_get_line_cap; fo_doc_class->set_line_cap = fo_doc_cairo_set_line_cap; fo_doc_class->get_line_join = fo_doc_cairo_get_line_join; fo_doc_class->set_line_join = fo_doc_cairo_set_line_join; fo_doc_class->get_line_width = fo_doc_cairo_get_line_width; fo_doc_class->set_line_width = fo_doc_cairo_set_line_width; fo_doc_class->set_dash = fo_doc_cairo_set_dash; fo_doc_class->translate = fo_doc_cairo_translate; fo_doc_class->clip = fo_doc_cairo_clip; fo_doc_class->save = fo_doc_cairo_save; fo_doc_class->restore = fo_doc_cairo_restore; fo_doc_class->line_to = fo_doc_cairo_line_to; fo_doc_class->move_to = fo_doc_cairo_move_to; fo_doc_class->line_stroked = fo_doc_cairo_line_stroked; fo_doc_class->rect_stroked = fo_doc_cairo_rect_stroked; fo_doc_class->rect_filled = fo_doc_cairo_rect_filled; fo_doc_class->fill = fo_doc_cairo_fill; fo_doc_class->stroke = fo_doc_cairo_stroke; fo_doc_class->place_image = fo_doc_cairo_place_image; fo_doc_class->render_layout_lines = fo_doc_cairo_render_layout_lines; fo_doc_class->render_layout = fo_doc_cairo_render_layout; } /** * fo_doc_cairo_class_init: * @klass: #FoDocCairoClass object to initialise. * * Implements #GClassInitFunc for #FoDocCairoClass. **/ void fo_doc_cairo_class_init (FoDocCairoClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_doc_cairo_finalize; } /** * fo_doc_cairo_finalize: * @object: #FoDocCairo object to finalize. * * Implements #GObjectFinalizeFunc for #FoDocCairo. **/ void fo_doc_cairo_finalize (GObject *object) { FoDocCairo *fo_doc_cairo; fo_doc_cairo = FO_DOC_CAIRO (object); cairo_destroy (fo_doc_cairo->cr); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_doc_cairo_new: * * Creates a new #FoDoc. * * Return value: the newly created #FoDoc. **/ FoDoc * fo_doc_cairo_new (void) { return FO_DOC (g_object_new (fo_doc_cairo_get_type (), NULL)); } const LibfoVersionInfo * _version_info () { version_info.runtime = cairo_version (); version_info.runtime_string = cairo_version_string (); return &version_info; } /** * fo_doc_cairo_open_file: * @fo_doc: #FoDoc. * @filename: File to open as output. * @libfo_context: #FoLibfoContext specifying file format. * @error: #GError that is set if an error occurs. * * Open @filename as the output file for @fo_doc. * * No reference to @libfo_context is kept. **/ void fo_doc_cairo_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error) { FoDocCairo *fo_doc_cairo; gint len; g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (filename != NULL); g_return_if_fail (*filename != '\0'); g_return_if_fail (error == NULL || *error == NULL); fo_doc_cairo = FO_DOC_CAIRO (fo_doc); fo_doc_cairo->base_filename = g_strdup (filename); fo_doc_cairo->current_filename = g_strdup (filename); fo_doc_cairo->format = fo_libfo_context_get_format (libfo_context); len = strlen (fo_doc_cairo->base_filename); switch (fo_doc_cairo->format) { case FO_FLAG_FORMAT_AUTO: if (g_ascii_strncasecmp (&(fo_doc_cairo->base_filename)[len-4], ".pdf", 4) == 0) { fo_doc_cairo->surface_create = &cairo_pdf_surface_create; } else if (g_ascii_strncasecmp (&(fo_doc_cairo->base_filename)[len-3], ".ps", 3) == 0) { fo_doc_cairo->surface_create = &cairo_ps_surface_create; } else if (g_ascii_strncasecmp (&(fo_doc_cairo->base_filename)[len-4], ".svg", 4) == 0) { fo_doc_cairo->surface_create = &cairo_svg_surface_create; } else { g_set_error (error, FO_DOC_ERROR, FO_DOC_ERROR_UNSUPPORTED_FORMAT, N_(fo_doc_error_messages[FO_DOC_ERROR_UNSUPPORTED_FORMAT])); } break; case FO_FLAG_FORMAT_PDF: fo_doc_cairo->surface_create = &cairo_pdf_surface_create; break; case FO_FLAG_FORMAT_POSTSCRIPT: fo_doc_cairo->surface_create = &cairo_ps_surface_create; break; case FO_FLAG_FORMAT_SVG: fo_doc_cairo->surface_create = &cairo_svg_surface_create; break; default: g_set_error (error, FO_DOC_ERROR, FO_DOC_ERROR_UNSUPPORTED_FORMAT, N_(fo_doc_error_messages[FO_DOC_ERROR_UNSUPPORTED_FORMAT])); } } /** * fo_doc_cairo_get_new_layout: * @fo_doc: #FoDoc. * * Get a new #FoLayout for use with @fo_doc. * * Return value: New #FoLayout. **/ FoLayout * fo_doc_cairo_get_new_layout (FoDoc *fo_doc) { FoLayout *fo_layout; g_return_val_if_fail (FO_IS_DOC_CAIRO (fo_doc), NULL); fo_layout = fo_layout_cairo_new (); fo_layout->fo_doc = fo_doc; fo_layout->pango_layout = pango_layout_new (fo_doc->pango_context); return fo_layout; } static void _fo_doc_cairo_create_cr (FoDocCairo *fo_doc_cairo, gdouble width, gdouble height, GError **error) { g_return_if_fail (error == NULL || *error == NULL); cairo_surface_t *surface = fo_doc_cairo->surface_create (fo_doc_cairo->current_filename, width, height); if (cairo_surface_status (surface) != CAIRO_STATUS_SUCCESS) { g_set_error (error, FO_DOC_ERROR, FO_DOC_ERROR_FAILED, N_(fo_doc_error_messages[FO_DOC_ERROR_FAILED])); return; } cairo_surface_set_fallback_resolution (surface, PIXELS_PER_INCH, PIXELS_PER_INCH); fo_doc_cairo->cr = cairo_create (surface); cairo_surface_destroy (surface); if (cairo_status (fo_doc_cairo->cr) != CAIRO_STATUS_SUCCESS) { g_set_error (error, FO_DOC_ERROR, FO_DOC_ERROR_FAILED, N_(fo_doc_error_messages[FO_DOC_ERROR_FAILED])); return; } pango_cairo_update_context (fo_doc_cairo->cr, FO_DOC (fo_doc_cairo)->pango_context); fo_doc_cairo->page_width = width; fo_doc_cairo->page_height = height; } /** * fo_doc_cairo_begin_page: * @fo_doc: #FoDoc. * @width: Width of the new page. * @height: Height of the new page. * * Add a new page to @fo_doc. * * This must always be paired with a matching #fo_doc_cairo_end_page call. **/ void fo_doc_cairo_begin_page (FoDoc *fo_doc, gdouble width, gdouble height, GError **error) { FoDocCairo *fo_doc_cairo; GError *tmp_error = NULL; g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (error == NULL || *error == NULL); fo_doc_cairo = FO_DOC_CAIRO (fo_doc); if (fo_doc_cairo->cr == NULL) { _fo_doc_cairo_create_cr (fo_doc_cairo, width, height, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } } else if ((width != fo_doc_cairo->page_width) || (height != fo_doc_cairo->page_height)) { cairo_destroy (fo_doc_cairo->cr); g_free (fo_doc_cairo->current_filename); fo_doc_cairo->output_sequence++; fo_doc_cairo->current_filename = g_strdup_printf ("%*s.%02d%s", (int) (g_strrstr (fo_doc_cairo->base_filename, ".") - fo_doc_cairo->base_filename), fo_doc_cairo->base_filename, fo_doc_cairo->output_sequence, g_strrstr (fo_doc_cairo->base_filename, ".")); _fo_doc_cairo_create_cr (fo_doc_cairo, width, height, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } } } /** * fo_doc_cairo_end_page: * @fo_doc: #FoDoc. * * Finish the current page of @fo_doc. **/ void fo_doc_cairo_end_page (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_show_page (FO_DOC_CAIRO (fo_doc)->cr); } /** * fo_doc_cairo_get_fill_color: * @fo_doc: #FoDoc. * * Get the current fill color of @fo_doc. * * Return value: #FoDatatype for the current fill color. **/ FoDatatype* fo_doc_cairo_get_fill_color (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_CAIRO (fo_doc), NULL); return fo_doc->fill_color; } /** * fo_doc_cairo_set_fill_color: * @fo_doc: #FoDoc. * @color: #FoDatatype for new fill color. * * Set the fill color of @fo_doc to @color. **/ void fo_doc_cairo_set_fill_color (FoDoc *fo_doc, FoDatatype *color) { guint16 red; guint16 green; guint16 blue; g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); g_return_if_fail (FO_IS_COLOR (color)); red = fo_color_get_red (color); green = fo_color_get_green (color); blue = fo_color_get_blue (color); if (color != NULL) { g_object_ref (color); } if (fo_doc->fill_color != NULL) { g_object_unref (fo_doc->fill_color); } fo_doc->fill_color = color; cairo_set_source_rgb (FO_DOC_CAIRO (fo_doc)->cr, (gdouble) red / FO_COLOR_COMPONENT_MAX, (gdouble) green / FO_COLOR_COMPONENT_MAX, (gdouble) blue / FO_COLOR_COMPONENT_MAX); } /** * fo_doc_cairo_get_stroke_color: * @fo_doc: #FoDoc. * * Get the current stroke color of @fo_doc. * * Return value: #FoDatatype for the current stroke color. **/ FoDatatype* fo_doc_cairo_get_stroke_color (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_CAIRO (fo_doc), NULL); return fo_doc->stroke_color; } /** * fo_doc_cairo_set_stroke_color: * @fo_doc: #FoDoc. * @color: #FoDatatype for new stroke color. * * Set the stroke color of @fo_doc to @color. **/ void fo_doc_cairo_set_stroke_color (FoDoc *fo_doc, FoDatatype *color) { guint16 red; guint16 green; guint16 blue; g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); g_return_if_fail (FO_IS_COLOR (color)); red = fo_color_get_red (color); green = fo_color_get_green (color); blue = fo_color_get_blue (color); if (color != NULL) { g_object_ref (color); } if (fo_doc->stroke_color != NULL) { g_object_unref (fo_doc->stroke_color); } fo_doc->stroke_color = color; cairo_set_source_rgb (FO_DOC_CAIRO (fo_doc)->cr, (gdouble) red / FO_COLOR_COMPONENT_MAX, (gdouble) green / FO_COLOR_COMPONENT_MAX, (gdouble) blue / FO_COLOR_COMPONENT_MAX); } /** * fo_doc_cairo_get_line_cap: * @fo_doc: #FoDoc. * * Get the current "linecap" parameter value of @fo_doc. * * Return value: Current "linecap" parameter value. **/ FoDocLineCap fo_doc_cairo_get_line_cap (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_CAIRO (fo_doc), FO_DOC_LINE_CAP_INVALID); return fo_doc->line_cap; } /** * fo_doc_cairo_set_line_cap: * @fo_doc: #FoDoc. * @line_cap: New "linecap" parameter value. * * Set the "linecap" parameter value of @fo_doc. **/ void fo_doc_cairo_set_line_cap (FoDoc *fo_doc, FoDocLineCap line_cap) { cairo_line_cap_t cairo_line_cap = CAIRO_LINE_CAP_BUTT; g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); g_return_if_fail (line_cap < FO_DOC_LINE_CAP_LIMIT); g_return_if_fail (line_cap != FO_DOC_LINE_CAP_INVALID); fo_doc->line_cap = line_cap; switch (line_cap) { case FO_DOC_LINE_CAP_BUTT: cairo_line_cap = CAIRO_LINE_CAP_BUTT; break; case FO_DOC_LINE_CAP_ROUND: cairo_line_cap = CAIRO_LINE_CAP_ROUND; break; case FO_DOC_LINE_CAP_SQUARE: cairo_line_cap = CAIRO_LINE_CAP_SQUARE; break; default: g_assert_not_reached (); } cairo_set_line_cap (FO_DOC_CAIRO (fo_doc)->cr, cairo_line_cap); } /** * fo_doc_cairo_get_line_join: * @fo_doc: #FoDoc. * * Get the current "linejoin" parameter value of @fo_doc. * * Return value: Current "linejoin" parameter value. **/ FoDocLineJoin fo_doc_cairo_get_line_join (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_CAIRO (fo_doc), FO_DOC_LINE_JOIN_INVALID); return fo_doc->line_join; } /** * fo_doc_cairo_set_line_join: * @fo_doc: #FoDoc. * @line_join: New "linejoin" parameter value. * * Set the "linejoin" parameter value of @fo_doc. **/ void fo_doc_cairo_set_line_join (FoDoc *fo_doc, FoDocLineJoin line_join) { cairo_line_join_t cairo_line_join = CAIRO_LINE_JOIN_MITER; g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); g_return_if_fail (line_join < FO_DOC_LINE_JOIN_LIMIT); fo_doc->line_join = line_join; switch (line_join) { case FO_DOC_LINE_JOIN_MITER: cairo_line_join = CAIRO_LINE_JOIN_MITER; break; case FO_DOC_LINE_JOIN_ROUND: cairo_line_join = CAIRO_LINE_JOIN_ROUND; break; case FO_DOC_LINE_JOIN_BEVEL: cairo_line_join = CAIRO_LINE_JOIN_BEVEL; break; default: g_assert_not_reached (); } cairo_set_line_join (FO_DOC_CAIRO (fo_doc)->cr, cairo_line_join); } /** * fo_doc_cairo_get_line_width: * @fo_doc: #FoDoc. * * Get the current line width of @fo_doc. * * Return value: Current line width. **/ gdouble fo_doc_cairo_get_line_width (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_CAIRO (fo_doc), 0); return fo_doc->line_width; } /** * fo_doc_cairo_set_line_width: * @fo_doc: #FoDoc. * @line_width: New line width value. * * Set the line width of @fo_doc. **/ void fo_doc_cairo_set_line_width (FoDoc *fo_doc, gdouble line_width) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); fo_doc->line_width = line_width; cairo_set_line_width (FO_DOC_CAIRO (fo_doc)->cr, line_width); } /** * fo_doc_cairo_set_dash: * @fo_doc: #FoDoc. * @b: Number of black units. * @w: Number of white units. * * Set the current dash pattern of @fo_doc. * * The dash pattern is the ratio of @b to @w. * * Set @b and @w to 0 to produce a solid line. * * The dash pattern is set to solid (@b = @w = 0) at the beginning of * each page. **/ void fo_doc_cairo_set_dash (FoDoc *fo_doc, gdouble b, gdouble w) { const gdouble values[] = {b,w}; gint n = ((b == 0.0) && (w == 0.0))? 0 : 2; g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_set_dash (FO_DOC_CAIRO (fo_doc)->cr, values, n, 0.0); } /** * fo_doc_cairo_line_to: * @fo_doc: #FoDoc. * @x: X-coordinate of the new current point. * @y: Y-coordinate of the new current point. * * Draw a line from the current point to another point. **/ void fo_doc_cairo_line_to (FoDoc *fo_doc, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_line_to (FO_DOC_CAIRO (fo_doc)->cr, x, FO_DOC_CAIRO (fo_doc)->page_height - y); } /** * fo_doc_cairo_translate: * @fo_doc: #FoDoc. * @x: X-coordinate of the new origin of the coordinate system. * @y: Y-coordinate of the new origin of the coordinate system. * * Translate the origin of the coordinate system of @fo_doc. * * @x and @y are measured in the old coordinate system. **/ void fo_doc_cairo_translate (FoDoc *fo_doc, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_translate (FO_DOC_CAIRO (fo_doc)->cr, x, -y); } /** * fo_doc_cairo_clip: * @fo_doc: #FoDoc. * * Use the current path of @fo_doc as its clipping path. **/ void fo_doc_cairo_clip (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_clip (FO_DOC_CAIRO (fo_doc)->cr); } /** * fo_doc_cairo_save: * @fo_doc: #FoDoc. * * Save the current graphics state of @fo_doc. **/ void fo_doc_cairo_save (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_save (FO_DOC_CAIRO (fo_doc)->cr); } /** * fo_doc_cairo_restore: * @fo_doc: #FoDoc. * * Restore the most recently saved graphics state of @fo_doc. **/ void fo_doc_cairo_restore (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_restore (FO_DOC_CAIRO (fo_doc)->cr); } /** * fo_doc_cairo_move_to: * @fo_doc: #FoDoc. * @x: X-coordinate of the new current point. * @y: Y-coordinate of the new current point. * * Set the current point of @fo_doc to (@x, @y). **/ void fo_doc_cairo_move_to (FoDoc *fo_doc, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_move_to (FO_DOC_CAIRO (fo_doc)->cr, x, FO_DOC_CAIRO (fo_doc)->page_height - y); } /** * fo_doc_cairo_line_stroked: * @fo_doc: #FoDoc. * @x0: X-coordinate of the start of the line. * @y0: Y-coordinate of the start of the line. * @x1: X-coordinate of the end of the line. * @y1: Y-coordinate of the end of the line. * * Draw a line from (@x0,@y0) to (@x1,@y1). **/ void fo_doc_cairo_line_stroked (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_move_to (FO_DOC_CAIRO (fo_doc)->cr, x0, FO_DOC_CAIRO (fo_doc)->page_height - y0); cairo_line_to (FO_DOC_CAIRO (fo_doc)->cr, x1, FO_DOC_CAIRO (fo_doc)->page_height - y1); } /** * fo_doc_cairo_rect_stroked: * @fo_doc: #FoDoc. * @x: X-coordinate of the lower-left corner of the rectangle. * @y: Y-coordinate of the lower-left corner of the rectangle. * @width: Width of the rectangle. * @height: Height of the rectangle. * * Draw an outline rectangle. **/ void fo_doc_cairo_rect_stroked (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_rectangle (FO_DOC_CAIRO (fo_doc)->cr, x, FO_DOC_CAIRO (fo_doc)->page_height - y, width, height); } /** * fo_doc_cairo_rect_filled: * @fo_doc: #FoDoc. * @x: X-coordinate of the lower-left corner of the rectangle. * @y: Y-coordinate of the lower-left corner of the rectangle. * @width: Width of the rectangle. * @height: Height of the rectangle. * * Draw a filled rectangle. **/ void fo_doc_cairo_rect_filled (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_rectangle (FO_DOC_CAIRO (fo_doc)->cr, x, FO_DOC_CAIRO (fo_doc)->page_height - y - height, width, height); cairo_fill (FO_DOC_CAIRO (fo_doc)->cr); } /** * fo_doc_cairo_fill: * @fo_doc: #FoDoc. * * Fill the interior of the path of @fo_doc with the current fill color. **/ void fo_doc_cairo_fill (FoDoc *fo_doc) { g_return_if_fail (fo_doc != NULL); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_fill (FO_DOC_CAIRO (fo_doc)->cr); } /** * fo_doc_cairo_stroke: * @fo_doc: #FoDoc. * * Stroke the path of @fo_doc and clear the path. **/ void fo_doc_cairo_stroke (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); cairo_stroke (FO_DOC_CAIRO (fo_doc)->cr); } /** * fo_doc_cairo_place_image: * @fo_doc: * @fo_image: * @x: * @y: * @xscale: * @yscale: * * **/ static void fo_doc_cairo_place_image (FoDoc *fo_doc, FoImage *fo_image, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED, gdouble xscale G_GNUC_UNUSED, gdouble yscale G_GNUC_UNUSED) { GdkPixbuf *pixbuf = g_object_ref (fo_pixbuf_get_pixbuf (fo_image)); gint width = gdk_pixbuf_get_width (pixbuf); gint height = gdk_pixbuf_get_height (pixbuf); guchar *gdk_pixels = gdk_pixbuf_get_pixels (pixbuf); int gdk_rowstride = gdk_pixbuf_get_rowstride (pixbuf); int n_channels = gdk_pixbuf_get_n_channels (pixbuf); guchar *cairo_pixels; cairo_format_t format; cairo_surface_t *surface; static const cairo_user_data_key_t key; int j; cairo_translate (FO_DOC_CAIRO (fo_doc)->cr, 0, FO_DOC_CAIRO(fo_doc)->page_height); cairo_save (FO_DOC_CAIRO(fo_doc)->cr); cairo_scale (FO_DOC_CAIRO (fo_doc)->cr, xscale * 72.0 / PIXELS_PER_INCH, yscale * 72.0 / PIXELS_PER_INCH); #if HAVE_LIBRSVG if (g_str_has_suffix( fo_image_get_uri(fo_image), ".svg")) { RsvgHandle *rsvg; GError *error = NULL; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "rendering %s as SVG\n", fo_image_get_uri(fo_image)); rsvg_init(); rsvg_set_default_dpi_x_y (PIXELS_PER_INCH, PIXELS_PER_INCH); rsvg = rsvg_handle_new_from_file (fo_image_get_uri(fo_image), &error); rsvg_handle_render_cairo (rsvg, FO_DOC_CAIRO(fo_doc)->cr); rsvg_term(); cairo_restore (FO_DOC_CAIRO(fo_doc)->cr); if (error) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, error->message); g_error_free (error); } return; } #endif if (n_channels == 3) { format = CAIRO_FORMAT_RGB24; } else { format = CAIRO_FORMAT_ARGB32; } cairo_pixels = g_malloc (4 * width * height); surface = cairo_image_surface_create_for_data ((unsigned char *)cairo_pixels, format, width, height, 4 * width); cairo_surface_set_user_data (surface, &key, cairo_pixels, (cairo_destroy_func_t)g_free); for (j = height; j; j--) { guchar *p = gdk_pixels; guchar *q = cairo_pixels; if (n_channels == 3) { guchar *end = p + 3 * width; while (p < end) { #if G_BYTE_ORDER == G_LITTLE_ENDIAN q[0] = p[2]; q[1] = p[1]; q[2] = p[0]; #else q[1] = p[0]; q[2] = p[1]; q[3] = p[2]; #endif p += 3; q += 4; } } else { guchar *end = p + 4 * width; guint t1,t2,t3; #define MULT(d,c,a,t) G_STMT_START { t = c * a + 0x7f; d = ((t >> 8) + t) >> 8; } G_STMT_END while (p < end) { #if G_BYTE_ORDER == G_LITTLE_ENDIAN MULT(q[0], p[2], p[3], t1); MULT(q[1], p[1], p[3], t2); MULT(q[2], p[0], p[3], t3); q[3] = p[3]; #else q[0] = p[3]; MULT(q[1], p[0], p[3], t1); MULT(q[2], p[1], p[3], t2); MULT(q[3], p[2], p[3], t3); #endif p += 4; q += 4; } #undef MULT } gdk_pixels += gdk_rowstride; cairo_pixels += 4 * width; } cairo_surface_set_fallback_resolution (surface, PIXELS_PER_INCH, PIXELS_PER_INCH); cairo_set_source_surface (FO_DOC_CAIRO (fo_doc)->cr, surface, 0, 0); cairo_pattern_t *pattern = cairo_get_source (FO_DOC_CAIRO (fo_doc)->cr); cairo_pattern_set_extend (pattern, CAIRO_EXTEND_NONE); cairo_paint (FO_DOC_CAIRO (fo_doc)->cr); cairo_surface_destroy (surface); g_object_unref (pixbuf); cairo_restore (FO_DOC_CAIRO(fo_doc)->cr); } void fo_doc_cairo_do_run_callbacks (cairo_t *cr, PangoLayoutRun *run, gint x, gint y) { GSList *extra_attrs_list = run->item->analysis.extra_attrs; g_return_if_fail (cr != NULL); g_return_if_fail (run != NULL); while (extra_attrs_list) { PangoAttribute *attr = extra_attrs_list->data; PangoAttrType attr_type = attr->klass->type; if (attr_type == libfo_pango_attr_callback_get_type ()) { GValue values[1] = { { 0, { {0}, {0} } } }; g_value_init (&values[0], G_TYPE_POINTER); g_value_set_pointer (&values[0], cr); #if 0 g_message ("Got a callback: callback: %p", ((PangoAttrPointer *) attr)->pointer); #endif cairo_save (cr); cairo_translate (cr, x / PANGO_SCALE, -y / PANGO_SCALE); g_closure_invoke (((GClosure *) libfo_pango_attr_callback_get_callback(attr)), NULL, 1, values, NULL); cairo_restore (cr); } extra_attrs_list = extra_attrs_list->next; } } void fo_doc_cairo_do_line_callbacks (cairo_t *cr, PangoLayoutLine *line, gint x, gint y) { GSList *run_list; PangoRectangle overall_rect; PangoRectangle logical_rect; gint x_off = 0; pango_layout_line_get_extents (line, NULL, &overall_rect); run_list = line->runs; while (run_list) { PangoLayoutRun *run = run_list->data; pango_glyph_string_extents (run->glyphs, run->item->analysis.font, NULL, &logical_rect); fo_doc_cairo_do_run_callbacks (cr, run, x + x_off, y); x_off += logical_rect.width; run_list = run_list->next; } } static void fo_doc_cairo_do_callbacks (cairo_t *cr, PangoLayout *layout, gint line_first, gint line_last, gint x, gint y) { PangoLayoutIter *iter; g_return_if_fail (cr != NULL); g_return_if_fail (PANGO_IS_LAYOUT (layout)); g_return_if_fail (line_first >= 0); /*g_return_if_fail (line_last >= line_first && line_last <= g_slist_length (pango_layout_get_lines (layout)) - 1);*/ iter = pango_layout_get_iter (layout); gint line_number = -1; do { PangoRectangle logical_rect; PangoLayoutLine *line; int baseline; line_number++; if (line_number < line_first) { continue; } line = pango_layout_iter_get_line (iter); pango_layout_iter_get_line_extents (iter, NULL, &logical_rect); baseline = pango_layout_iter_get_baseline (iter); fo_doc_cairo_do_line_callbacks (cr, line, x + logical_rect.x, y - baseline); if (line_number >= line_last) { break; } } while (pango_layout_iter_next_line (iter)); pango_layout_iter_free (iter); } /** * fo_doc_cairo_render_layout_lines: * @fo_doc: * @area_layout: * @x: * @y: * * **/ void fo_doc_cairo_render_layout_lines (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (area_layout)); /* Since Cairo doesn't support rendering only some lines from * a layout, firstly move the current point so the first line to be * rendered is positioned at (x, y) and, secondly, save the current * graphics state and then crop to only the area covered by the * lines that are to be rendered. */ gdouble y1 = y; gint line_first = fo_area_layout_get_line_first (area_layout); if (line_first > 0) { y1 = y + fo_area_layout_get_line_height (area_layout, line_first - 1); } gint line_last = fo_area_layout_get_line_last (area_layout); #if ENABLE_CLIP gdouble y2 = y1 - fo_area_layout_get_line_height (area_layout, line_last); gdouble x2 = x + fo_area_area_get_width (area_layout); cairo_save (FO_DOC_CAIRO (fo_doc)->cr); cairo_move_to (FO_DOC_CAIRO (fo_doc)->cr, x, FO_DOC_CAIRO (fo_doc)->page_height - y); cairo_line_to (FO_DOC_CAIRO (fo_doc)->cr, x2, FO_DOC_CAIRO (fo_doc)->page_height - y); cairo_line_to (FO_DOC_CAIRO (fo_doc)->cr, x2, FO_DOC_CAIRO (fo_doc)->page_height - y2); cairo_line_to (FO_DOC_CAIRO(fo_doc)->cr, x, FO_DOC_CAIRO (fo_doc)->page_height - y2); cairo_clip (FO_DOC_CAIRO (fo_doc)->cr); #endif cairo_move_to (FO_DOC_CAIRO (fo_doc)->cr, x, FO_DOC_CAIRO (fo_doc)->page_height - y1); pango_cairo_show_layout (FO_DOC_CAIRO (fo_doc)->cr, fo_layout_get_pango_layout (fo_area_layout_get_layout (area_layout))); fo_doc_cairo_do_callbacks (FO_DOC_CAIRO (fo_doc)->cr, fo_layout_get_pango_layout (fo_area_layout_get_layout (area_layout)), line_first, line_last, x * PANGO_SCALE, y * PANGO_SCALE); #if ENABLE_CLIP cairo_restore (FO_DOC_CAIRO(fo_doc)->cr); #endif } /** * fo_doc_cairo_render_layout: * @fo_doc: * @area_layout: * @x: * @y: * * **/ void fo_doc_cairo_render_layout (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_CAIRO (fo_doc)); g_return_if_fail (FO_DOC_CAIRO (fo_doc)->cr != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (area_layout)); cairo_move_to (FO_DOC_CAIRO (fo_doc)->cr, x, FO_DOC_CAIRO (fo_doc)->page_height - y); pango_cairo_show_layout (FO_DOC_CAIRO (fo_doc)->cr, fo_layout_get_pango_layout (fo_area_layout_get_layout (area_layout))); } /** * fo_doc_cairo_debug_dump: * @object: #FoObject to be dumped. * @depth: Relative indent to add to the output. * * Implements #FoObject debug_dump method for #FoDocCairo. **/ void fo_doc_cairo_debug_dump (FoObject *object, gint depth) { FoDocCairo *fo_doc_cairo; gchar *indent = g_strnfill (depth * 2, ' '); gchar* object_sprintf; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_DOC_CAIRO (object)); fo_doc_cairo = FO_DOC_CAIRO (object); object_sprintf = fo_object_debug_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); object_sprintf = fo_object_debug_sprintf (fo_doc_cairo->cr); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s cr: %s", indent, object_sprintf); g_free (object_sprintf); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s base_filename: %s", indent, fo_doc_cairo->base_filename); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s output_sequence: %d", indent, fo_doc_cairo->output_sequence); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s current_filename: %s", indent, fo_doc_cairo->current_filename); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s page_width: %g", indent, fo_doc_cairo->page_width); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s page_height: %g", indent, fo_doc_cairo->page_height); g_free (indent); } xmlroff-0.6.2/libfo/fo-layout-cairo.c0000644000175000017500000001063610646500500014370 00000000000000/* Fo * fo-layout-cairo.c: Object type for PangoCairoLayout * * Copyright (C) 2003-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-object.h" #include "fo-layout-cairo-private.h" #include "fo-doc-private.h" #include "fo-font-desc-private.h" static void fo_layout_cairo_class_init (FoLayoutCairoClass *klass); static void fo_layout_cairo_finalize (GObject *object); static void fo_layout_cairo_set_line_height (FoLayout *fo_layout, gfloat line_height); static void fo_layout_cairo_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy); static gpointer parent_class; /** * fo_layout_cairo_get_type: * * Register the #FoLayoutCairo type if not already registered and * return its #GType value. * * Return value: #GType of #FoLayoutCairo. **/ GType fo_layout_cairo_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLayoutCairoClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_layout_cairo_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLayoutCairo), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_LAYOUT, "FoLayoutCairo", &object_info, 0); } return object_type; } /** * fo_layout_cairo_class_init: * @klass: #FoLayoutCairo object to initialise. * * Implements #GClassInitFunc for #FoLayoutCairoClass. **/ void fo_layout_cairo_class_init (FoLayoutCairoClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_layout_cairo_finalize; FO_LAYOUT_CLASS (klass)->set_line_height = fo_layout_cairo_set_line_height; FO_LAYOUT_CLASS (klass)->set_line_stacking_strategy = fo_layout_cairo_set_line_stacking_strategy; } /** * fo_layout_cairo_finalize: * @object: #FoLayoutCairo object to finalize. * * Implements #GObjectFinalizeFunc for #FoLayoutCairo. **/ void fo_layout_cairo_finalize (GObject *object) { FoLayoutCairo *fo_layout_cairo; fo_layout_cairo = FO_LAYOUT_CAIRO (object); /*g_object_unref (fo_layout_cairo->fo_doc);*/ G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_layout_cairo_new: * * Creates a new #FoLayoutCairo. * * Return value: the newly created #FoLayoutCairo. **/ FoLayout * fo_layout_cairo_new (void) { FoLayout* fo_layout; fo_layout = g_object_new (fo_layout_cairo_get_type (), NULL); return fo_layout; } /** * fo_layout_cairo_new_from_fo_doc: * @fo_doc: #FoDoc. * * Creates a new #FoLayoutCairo. * * Return value: the newly created #FoLayoutCairo. **/ FoLayout * fo_layout_cairo_new_from_fo_doc (FoDoc *fo_doc) { FoLayout* fo_layout; fo_layout = g_object_new (fo_layout_cairo_get_type (), NULL); /* FIXME: should be g_object_ref (fo_doc) but uncertain what unrefs layout */ fo_layout->fo_doc = fo_doc; fo_layout->pango_layout = pango_layout_new (fo_doc_get_pango_context (fo_doc)); return fo_layout; } /** * fo_layout_cairo_set_line_height: * @fo_layout: #FoLayout. * @line_height: 'line-height' in points. * * Set the 'line-height' of @fo_layout to @line_height. **/ void fo_layout_cairo_set_line_height (FoLayout *fo_layout, gfloat line_height G_GNUC_UNUSED) { g_return_if_fail (FO_IS_LAYOUT_CAIRO (fo_layout)); /* pango_cairo_layout_set_line_height (fo_layout->pango_layout, line_height * PANGO_SCALE);*/ } /** * fo_layout_cairo_set_line_stacking_strategy: * @fo_layout: #FoLayout. * @line_stacking_strategy: Line stacking strategy to use. * * Set the 'line-stacking-strategy' property of @fo_layout to * @line_stacking_strategy. **/ void fo_layout_cairo_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy G_GNUC_UNUSED) { g_return_if_fail (FO_IS_LAYOUT_CAIRO (fo_layout)); /* pango_cairo_layout_set_line_stacking_strategy (fo_layout->pango_layout, fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy (line_stacking_strategy));*/ } xmlroff-0.6.2/libfo/fo-doc-gp.c0000644000175000017500000011347611034372714013145 00000000000000/* Fo * fo-doc-gp.c: 'GNOME Print'-specific child type of FoDoc * * Copyright (C) 2001-2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "config.h" #include #include #include #include #include "area/fo-area-area.h" #include "area/fo-area-layout.h" #include "util/fo-pixbuf.h" #include "fo-doc-gp-private.h" #include "fo-doc-commands.h" #include "fo-layout-gp-private.h" #include "libfo-pango.h" #include "datatype/fo-color.h" #include /** * SECTION:fo-doc-gp * @short_description: GNOME Print backend * * GNOME Print backend. */ const char *fo_doc_gp_error_messages [] = { N_("FoDocGP error"), N_("Cannot open output document: '%s'") }; static void fo_doc_gp_init (FoDocGP *object); static void fo_doc_gp_base_init (FoDocGPClass *klass); static void fo_doc_gp_class_init (FoDocGPClass *klass); static void fo_doc_gp_finalize (GObject *object); static const LibfoVersionInfo * _version_info (); static FoLayout * fo_doc_gp_get_new_layout (FoDoc *fo_doc); static void fo_doc_gp_begin_page (FoDoc *fo_doc, gdouble width, gdouble height, GError **error); static void fo_doc_gp_end_page (FoDoc *fo_doc); static FoDatatype* fo_doc_gp_get_fill_color (FoDoc *fo_doc); static void fo_doc_gp_set_fill_color (FoDoc *fo_doc, FoDatatype *color); static FoDatatype* fo_doc_gp_get_stroke_color (FoDoc *fo_doc); static void fo_doc_gp_set_stroke_color (FoDoc *fo_doc, FoDatatype *color); static void fo_doc_gp_translate (FoDoc *fo_doc, gdouble x, gdouble y); static FoDocLineCap fo_doc_gp_get_line_cap (FoDoc *fo_doc); static void fo_doc_gp_set_line_cap (FoDoc *fo_doc, FoDocLineCap line_cap); static FoDocLineJoin fo_doc_gp_get_line_join (FoDoc *fo_doc); static void fo_doc_gp_set_line_join (FoDoc *fo_doc, FoDocLineJoin line_join); static gdouble fo_doc_gp_get_line_width (FoDoc *fo_doc); static void fo_doc_gp_set_line_width (FoDoc *fo_doc, gdouble line_width); static void fo_doc_gp_set_dash (FoDoc *fo_doc, gdouble b, gdouble w); static void fo_doc_gp_clip (FoDoc *fo_doc); static void fo_doc_gp_save (FoDoc *fo_doc); static void fo_doc_gp_restore (FoDoc *fo_doc); static void fo_doc_gp_line_to (FoDoc *fo_doc, gdouble x, gdouble y); static void fo_doc_gp_move_to (FoDoc *fo_doc, gdouble x, gdouble y); static void fo_doc_gp_line_stroked (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1); static void fo_doc_gp_rect_stroked (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); static void fo_doc_gp_rect_filled (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); static void fo_doc_gp_fill (FoDoc *fo_doc); static void fo_doc_gp_stroke (FoDoc *fo_doc); static void fo_doc_gp_place_image (FoDoc *fo_doc, FoImage *fo_image, gdouble x, gdouble y, gdouble xscale, gdouble yscale); static void fo_doc_gp_render_layout_lines (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); static void fo_doc_gp_render_layout (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); static gpointer parent_class; static const LibfoVersionInfo version_info = { LIBFO_MODULE_BACKEND, "gp", "FoDocGP", 0, NULL, 0, NULL }; /** * fo_doc_gp_error_quark: * * Get the error quark for #FoDoc. * * If the quark does not yet exist, create it. * * Return value: Quark associated with #FoDoc errors. **/ GQuark fo_doc_gp_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoDocGP error"); return quark; } /** * fo_doc_gp_get_type: * * Register the #FoDoc object type. * * Return value: #GType value of the #FoDocGP object type. **/ GType fo_doc_gp_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoDocGPClass), (GBaseInitFunc) fo_doc_gp_base_init, NULL, /* base_finalize */ (GClassInitFunc) fo_doc_gp_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoDocGP), 0, /* n_preallocs */ (GInstanceInitFunc) fo_doc_gp_init, NULL }; object_type = g_type_register_static (FO_TYPE_DOC, "FoDocGP", &object_info, 0); } return object_type; } /** * fo_doc_gp_init: * @fo_doc_gp: #FoDocGP object to initialise. * * Implements #GInstanceInitFunc for #FoDocGP. **/ void fo_doc_gp_init (FoDocGP *fo_doc_gp) { /* char *test; fo_doc_gp->job = gnome_print_job_new (NULL); if (fo_doc_gp->job == NULL) { g_error (_("Couldn't create GNOME Print job")); } fo_doc_gp->context = gnome_print_job_get_context (fo_doc_gp->job); if (fo_doc_gp->context == NULL) { g_error (_("Couldn't create GNOME Print context")); } fo_doc_gp->config = gnome_print_job_get_config (fo_doc_gp->job); if (fo_doc_gp->config == NULL) { g_error (_("Couldn't create GNOME Print config")); } if (!gnome_print_config_set (fo_doc_gp->config, "Printer", "PDF")) fprintf (stderr, "gnome_print_config_set Printer-PDF"); test = gnome_print_config_get (fo_doc_gp->config, "Printer"); if (!test) fprintf (stderr, "gnome_print_config_get Printer returned NULL\n"); if (strcmp (test, "PDF") != 0) fprintf (stderr, "Could not set printer to PDF.\n"); g_free (test); */ /* FO_DOC (fo_doc_gp)->pango_context = pango_gp_get_context (fo_doc_gp->context); */ FO_DOC (fo_doc_gp)->pango_context = gnome_print_pango_create_context (gnome_print_pango_get_default_font_map()); /* gnome_print_pango_update_context() currently doesn't do anything, and calling it at this point with null context causes a warning message. */ /* gnome_print_pango_update_context (FO_DOC (fo_doc_gp)->pango_context, fo_doc_gp->context); */ } /** * fo_doc_gp_base_init: * @klass: #FoDocGPClass base class object to initialise * * Implements #GBaseInitFunc for #FoDocGPClass **/ void fo_doc_gp_base_init (FoDocGPClass *klass) { FoLibfoModuleClass *fo_libfo_module_class = FO_LIBFO_MODULE_CLASS (klass); FoDocClass *fo_doc_class = FO_DOC_CLASS (klass); fo_libfo_module_class->version_info = _version_info; fo_doc_class->formats = FO_FLAG_FORMAT_PDF | FO_FLAG_FORMAT_POSTSCRIPT | FO_FLAG_FORMAT_SVG; fo_doc_class->open_file = fo_doc_gp_open_file; fo_doc_class->get_new_layout = fo_doc_gp_get_new_layout; fo_doc_class->begin_page = fo_doc_gp_begin_page; fo_doc_class->end_page = fo_doc_gp_end_page; fo_doc_class->get_fill_color = fo_doc_gp_get_fill_color; fo_doc_class->set_fill_color = fo_doc_gp_set_fill_color; fo_doc_class->get_stroke_color = fo_doc_gp_get_stroke_color; fo_doc_class->set_stroke_color = fo_doc_gp_set_stroke_color; fo_doc_class->translate = fo_doc_gp_translate; fo_doc_class->get_line_cap = fo_doc_gp_get_line_cap; fo_doc_class->set_line_cap = fo_doc_gp_set_line_cap; fo_doc_class->get_line_join = fo_doc_gp_get_line_join; fo_doc_class->set_line_join = fo_doc_gp_set_line_join; fo_doc_class->get_line_width = fo_doc_gp_get_line_width; fo_doc_class->set_line_width = fo_doc_gp_set_line_width; fo_doc_class->set_dash = fo_doc_gp_set_dash; fo_doc_class->clip = fo_doc_gp_clip; fo_doc_class->save = fo_doc_gp_save; fo_doc_class->restore = fo_doc_gp_restore; fo_doc_class->line_to = fo_doc_gp_line_to; fo_doc_class->move_to = fo_doc_gp_move_to; fo_doc_class->line_stroked = fo_doc_gp_line_stroked; fo_doc_class->rect_stroked = fo_doc_gp_rect_stroked; fo_doc_class->rect_filled = fo_doc_gp_rect_filled; fo_doc_class->fill = fo_doc_gp_fill; fo_doc_class->stroke = fo_doc_gp_stroke; fo_doc_class->place_image = fo_doc_gp_place_image; fo_doc_class->render_layout_lines = fo_doc_gp_render_layout_lines; fo_doc_class->render_layout = fo_doc_gp_render_layout; } /** * fo_doc_gp_class_init: * @klass: #FoDocGPClass object to initialise. * * Implements #GClassInitFunc for #FoDocGPClass. **/ void fo_doc_gp_class_init (FoDocGPClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_doc_gp_finalize; } /** * fo_doc_gp_finalize: * @object: #FoDocGP object to finalize. * * Implements #GObjectFinalizeFunc for #FoDocGP. **/ void fo_doc_gp_finalize (GObject *object) { FoDocGP *fo_doc_gp; fo_doc_gp = FO_DOC_GP (object); if ((fo_doc_gp->current_filename != NULL) && (gnome_print_job_print_to_file (fo_doc_gp->job, fo_doc_gp->current_filename)) != GNOME_PRINT_OK) { g_error ("print_job_print_to_file"); } if (fo_doc_gp->job != NULL) { if (gnome_print_job_close (fo_doc_gp->job) != GNOME_PRINT_OK) { g_error ("gnome_print_job_close"); } if (gnome_print_job_print (fo_doc_gp->job) != GNOME_PRINT_OK) { g_error ("gnome_print_job_print"); } } if (fo_doc_gp->base_filename != NULL) { g_free (fo_doc_gp->base_filename); } if (fo_doc_gp->current_filename != NULL) { g_free (fo_doc_gp->current_filename); } if (fo_doc_gp->config != NULL) { g_object_unref (fo_doc_gp->config); } if (fo_doc_gp->context != NULL) { g_object_unref (fo_doc_gp->context); } if (fo_doc_gp->job != NULL) { g_object_unref (fo_doc_gp->job); } G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_doc_gp_new: * * Creates a new #FoDoc. * * Return value: the newly created #FoDoc. **/ FoDoc * fo_doc_gp_new (void) { return FO_DOC (g_object_new (fo_doc_gp_get_type (), NULL)); } const LibfoVersionInfo * _version_info () { return &version_info; } /** * fo_doc_gp_get_context: * @fo_doc: #FoDoc * * Get the #GnomePrintContext in @fo_doc. * * Return value: Pointer to #GnomePrintContext. **/ GnomePrintContext * fo_doc_gp_get_context (FoDoc *fo_doc) { g_return_val_if_fail (fo_doc != NULL, NULL); return FO_DOC_GP (fo_doc)->context; } /** * fo_doc_gp_open_file: * @fo_doc: #FoDoc. * @filename: File to open as output. * @libfo_context: #FoLibfoContext specifying file format. * @error: #GError that is set if an error occurs. * * Open @filename as the output file for @fo_doc. * * No reference to @libfo_context is kept. **/ void fo_doc_gp_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); /*g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL);*/ g_return_if_fail (filename != NULL); g_return_if_fail (*filename != '\0'); g_return_if_fail (error == NULL || *error == NULL); FO_DOC_GP (fo_doc)->base_filename = g_strdup (filename); FO_DOC_GP (fo_doc)->current_filename = g_strdup (filename); FO_DOC_GP (fo_doc)->format = fo_libfo_context_get_format (libfo_context); } /** * fo_doc_gp_get_new_layout: * @fo_doc: #FoDoc. * * Get a new #FoLayout for use with @fo_doc. * * Return value: New #FoLayout. **/ FoLayout * fo_doc_gp_get_new_layout (FoDoc *fo_doc) { FoLayout *fo_layout; g_return_val_if_fail (FO_IS_DOC_GP (fo_doc), NULL); fo_layout = fo_layout_gp_new (); fo_layout->fo_doc = fo_doc; fo_layout->pango_layout = pango_layout_new (fo_doc->pango_context); return fo_layout; } /** * fo_doc_gp_begin_page: * @fo_doc: #FoDoc. * @width: Width of the new page. * @height: Height of the new page. * * Add a new page to @fo_doc. * * This must always be paired with a matching #fo_doc_gp_end_page call. **/ void fo_doc_gp_begin_page (FoDoc *fo_doc, gdouble width, gdouble height, GError **error) { FoDocGP *fo_doc_gp; g_return_if_fail (FO_IS_DOC_GP (fo_doc)); /* g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); */ g_return_if_fail (error == NULL || *error == NULL); fo_doc_gp = FO_DOC_GP (fo_doc); if (fo_doc_gp->job == NULL) { fo_doc_gp->job = gnome_print_job_new (NULL); if (fo_doc_gp->job == NULL) { g_error (_("Couldn't create GNOME Print job")); } fo_doc_gp->context = gnome_print_job_get_context (fo_doc_gp->job); if (fo_doc_gp->context == NULL) { g_error (_("Couldn't create GNOME Print context")); } fo_doc_gp->config = gnome_print_job_get_config (fo_doc_gp->job); if (fo_doc_gp->config == NULL) { g_error (_("Couldn't create GNOME Print config")); } // FIXME: There has to be a better way to do this. if (fo_doc_gp->format == FO_FLAG_FORMAT_AUTO) { gint len = strlen (fo_doc_gp->base_filename); if (g_ascii_strncasecmp (&(fo_doc_gp->base_filename)[len-4], ".pdf", 4) == 0) { if (!gnome_print_config_set (fo_doc_gp->config, (guchar *) "Printer", (guchar *) "PDF")) { fprintf (stderr, "gnome_print_config_set Printer-PDF"); } } else if (g_ascii_strncasecmp (&(fo_doc_gp->base_filename)[len-3], ".ps", 3) == 0) { if (!gnome_print_config_set (fo_doc_gp->config, (guchar *) "Printer", (guchar *) "GENERIC")) { fprintf (stderr, "gnome_print_config_set Printer-POSTSCRIPT"); } } } else if (fo_doc_gp->format == FO_FLAG_FORMAT_PDF) { if (!gnome_print_config_set (fo_doc_gp->config, (guchar *) "Printer", (guchar *) "PDF")) { fprintf (stderr, "gnome_print_config_set Printer-PDF"); } } else if (fo_doc_gp->format == FO_FLAG_FORMAT_POSTSCRIPT) { if (!gnome_print_config_set (fo_doc_gp->config, (guchar *) "Printer", (guchar *) "GENERIC")) { fprintf (stderr, "gnome_print_config_set Printer-POSTSCRIPT"); } } else if (fo_doc_gp->format == FO_FLAG_FORMAT_SVG) { if (!gnome_print_config_set (fo_doc_gp->config, (guchar *) "Settings.Engine.Backend.Driver", (guchar *) "gnome-print-svg")) { fprintf (stderr, "gnome_print_config_set Printer-SVG"); } } else { fprintf (stderr, "Unknown output format"); } gnome_print_config_set_length (fo_doc_gp->config, (guchar *) GNOME_PRINT_KEY_PAPER_WIDTH, width, GNOME_PRINT_PS_UNIT); gnome_print_config_set_length (fo_doc_gp->config, (guchar *) GNOME_PRINT_KEY_PAPER_HEIGHT, height, GNOME_PRINT_PS_UNIT); fo_doc_gp->page_width = width; fo_doc_gp->page_height = height; FO_DOC (fo_doc_gp)->pango_context = gnome_print_pango_create_context (gnome_print_pango_get_default_font_map()); gnome_print_pango_update_context (FO_DOC (fo_doc_gp)->pango_context, fo_doc_gp->context); /*FO_DOC (fo_doc_gp)->pango_context = pango_gp_get_context (fo_doc_gp->context);*/ } else if ((width != fo_doc_gp->page_width) || (height != fo_doc_gp->page_height)) { GnomePrintConfig *new_config; new_config = gnome_print_config_dup (fo_doc_gp->config); if (gnome_print_job_print_to_file (fo_doc_gp->job, fo_doc_gp->current_filename) != GNOME_PRINT_OK) { g_error ("print_job_print_to_file"); } if (gnome_print_job_close (fo_doc_gp->job) != GNOME_PRINT_OK) { g_error ("gnome_print_job_close"); } if (gnome_print_job_print (fo_doc_gp->job) != GNOME_PRINT_OK) { g_error ("gnome_print_job_print"); } g_object_unref (fo_doc_gp->config); g_object_unref (fo_doc_gp->context); g_object_unref (fo_doc_gp->job); gnome_print_config_set_length (new_config, (guchar *) GNOME_PRINT_KEY_PAPER_WIDTH, width, GNOME_PRINT_PS_UNIT); gnome_print_config_set_length (new_config, (guchar *) GNOME_PRINT_KEY_PAPER_HEIGHT, height, GNOME_PRINT_PS_UNIT); fo_doc_gp->job = gnome_print_job_new (new_config); if (fo_doc_gp->job == NULL) { g_error (_("Couldn't create GNOME Print job")); } fo_doc_gp->context = gnome_print_job_get_context (fo_doc_gp->job); if (fo_doc_gp->context == NULL) { g_error (_("Couldn't create GNOME Print context")); } FO_DOC (fo_doc_gp)->pango_context = gnome_print_pango_create_context (gnome_print_pango_get_default_font_map()); gnome_print_pango_update_context (FO_DOC (fo_doc_gp)->pango_context, fo_doc_gp->context); /*FO_DOC (fo_doc_gp)->pango_context = pango_gp_get_context (fo_doc_gp->context);*/ g_free (fo_doc_gp->current_filename); fo_doc_gp->output_sequence++; fo_doc_gp->current_filename = g_strdup_printf ("%*s.%02d%s", (int) (g_strrstr (fo_doc_gp->base_filename, ".") - fo_doc_gp->base_filename), fo_doc_gp->base_filename, fo_doc_gp->output_sequence, g_strrstr (fo_doc_gp->base_filename, ".")); } gnome_print_beginpage (fo_doc_gp->context, NULL); } /** * fo_doc_gp_end_page: * @fo_doc: #FoDoc. * * Finish the current page of @fo_doc. **/ void fo_doc_gp_end_page (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_showpage (FO_DOC_GP (fo_doc)->context); } /** * fo_doc_gp_get_fill_color: * @fo_doc: #FoDoc. * * Get the current fill color of @fo_doc. * * Return value: #FoDatatype for the current fill color. **/ FoDatatype* fo_doc_gp_get_fill_color (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_GP (fo_doc), NULL); return fo_doc->fill_color; } /** * fo_doc_gp_set_fill_color: * @fo_doc: #FoDoc. * @color: #FoDatatype for new fill color. * * Set the fill color of @fo_doc to @color. **/ void fo_doc_gp_set_fill_color (FoDoc *fo_doc, FoDatatype *color) { guint16 red; guint16 green; guint16 blue; g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); g_return_if_fail (FO_IS_COLOR (color)); red = fo_color_get_red (color); green = fo_color_get_green (color); blue = fo_color_get_blue (color); if (color != NULL) { g_object_ref (color); } if (fo_doc->fill_color != NULL) { g_object_unref (fo_doc->fill_color); } fo_doc->fill_color = color; gnome_print_setrgbcolor (FO_DOC_GP (fo_doc)->context, (gdouble) red / FO_COLOR_COMPONENT_MAX, (gdouble) green / FO_COLOR_COMPONENT_MAX, (gdouble) blue / FO_COLOR_COMPONENT_MAX); } /** * fo_doc_gp_get_stroke_color: * @fo_doc: #FoDoc. * * Get the current stroke color of @fo_doc. * * Return value: #FoDatatype for the current stroke color. **/ FoDatatype* fo_doc_gp_get_stroke_color (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_GP (fo_doc), NULL); return fo_doc->stroke_color; } /** * fo_doc_gp_set_stroke_color: * @fo_doc: #FoDoc. * @color: #FoDatatype for new stroke color. * * Set the stroke color of @fo_doc to @color. **/ void fo_doc_gp_set_stroke_color (FoDoc *fo_doc, FoDatatype *color) { guint16 red; guint16 green; guint16 blue; g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); g_return_if_fail (FO_IS_COLOR (color)); red = fo_color_get_red (color); green = fo_color_get_green (color); blue = fo_color_get_blue (color); if (color != NULL) { g_object_ref (color); } if (fo_doc->stroke_color != NULL) { g_object_unref (fo_doc->stroke_color); } fo_doc->stroke_color = color; gnome_print_setrgbcolor (FO_DOC_GP (fo_doc)->context, (gdouble) red / FO_COLOR_COMPONENT_MAX, (gdouble) green / FO_COLOR_COMPONENT_MAX, (gdouble) blue / FO_COLOR_COMPONENT_MAX); } /** * fo_doc_gp_get_line_cap: * @fo_doc: #FoDoc. * * Get the current "linecap" parameter value of @fo_doc. * * Return value: Current "linecap" parameter value. **/ FoDocLineCap fo_doc_gp_get_line_cap (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_GP (fo_doc), FO_DOC_LINE_CAP_INVALID); return fo_doc->line_cap; } /** * fo_doc_gp_set_line_cap: * @fo_doc: #FoDoc. * @line_cap: New "linecap" parameter value. * * Set the "linecap" parameter value of @fo_doc. **/ void fo_doc_gp_set_line_cap (FoDoc *fo_doc, FoDocLineCap line_cap) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); g_return_if_fail (line_cap < FO_DOC_LINE_CAP_LIMIT); /*if (line_cap != fo_doc->line_cap) {*/ fo_doc->line_cap = line_cap; gnome_print_setlinecap (FO_DOC_GP (fo_doc)->context, line_cap); /*}*/ } /** * fo_doc_gp_get_line_join: * @fo_doc: #FoDoc. * * Get the current "linejoin" parameter value of @fo_doc. * * Return value: Current "linejoin" parameter value. **/ FoDocLineJoin fo_doc_gp_get_line_join (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_GP (fo_doc), FO_DOC_LINE_JOIN_INVALID); return fo_doc->line_join; } /** * fo_doc_gp_set_line_join: * @fo_doc: #FoDoc. * @line_join: New "linejoin" parameter value. * * Set the "linejoin" parameter value of @fo_doc. **/ void fo_doc_gp_set_line_join (FoDoc *fo_doc, FoDocLineJoin line_join) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); g_return_if_fail (line_join < FO_DOC_LINE_JOIN_LIMIT); /*if (line_join != fo_doc->line_join) {*/ fo_doc->line_join = line_join; gnome_print_setlinejoin (FO_DOC_GP (fo_doc)->context, line_join); /*}*/ } /** * fo_doc_gp_get_line_width: * @fo_doc: #FoDoc. * * Get the current line width of @fo_doc. * * Return value: Current line width. **/ gdouble fo_doc_gp_get_line_width (FoDoc *fo_doc) { g_return_val_if_fail (FO_IS_DOC_GP (fo_doc), 0); return fo_doc->line_width; } /** * fo_doc_gp_set_line_width: * @fo_doc: #FoDoc. * @line_width: New line width value. * * Set the line width of @fo_doc. **/ void fo_doc_gp_set_line_width (FoDoc *fo_doc, gdouble line_width) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); /*if (line_width != fo_doc->line_width) {*/ fo_doc->line_width = line_width; gnome_print_setlinewidth (FO_DOC_GP (fo_doc)->context, line_width); /*}*/ } /** * fo_doc_gp_set_dash: * @fo_doc: #FoDoc. * @b: Number of black units. * @w: Number of white units. * * Set the current dash pattern of @fo_doc. * * The dash pattern is the ratio of @b to @w. * * Set @b and @w to 0 to produce a solid line. * * The dash pattern is set to solid (@b = @w = 0) at the beginning of * each page. **/ void fo_doc_gp_set_dash (FoDoc *fo_doc, gdouble b, gdouble w) { const gdouble values[] = {b,w}; gint n = ((b == 0.0) && (w == 0.0))? 0 : 2; g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_setdash (FO_DOC_GP (fo_doc)->context, n, values, 0.0); } /** * fo_doc_gp_line_to: * @fo_doc: #FoDoc. * @x: X-coordinate of the new current point. * @y: Y-coordinate of the new current point. * * Draw a line from the current point to another point. **/ void fo_doc_gp_line_to (FoDoc *fo_doc, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_lineto (FO_DOC_GP (fo_doc)->context, x, y); } /** * fo_doc_gp_translate: * @fo_doc: #FoDoc. * @x: X-coordinate of the new origin of the coordinate system. * @y: Y-coordinate of the new origin of the coordinate system. * * Translate the origin of the coordinate system of @fo_doc. * * @x and @y are measured in the old coordinate system. **/ void fo_doc_gp_translate (FoDoc *fo_doc, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_translate (FO_DOC_GP (fo_doc)->context, x, y); } /** * fo_doc_gp_clip: * @fo_doc: #FoDoc. * * Use the current path of @fo_doc as its clipping path. **/ void fo_doc_gp_clip (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_clip (FO_DOC_GP (fo_doc)->context); } /** * fo_doc_gp_save: * @fo_doc: #FoDoc. * * Save the current graphics state of @fo_doc. **/ void fo_doc_gp_save (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_gsave (FO_DOC_GP (fo_doc)->context); } /** * fo_doc_gp_restore: * @fo_doc: #FoDoc. * * Restore the most recently saved graphics state of @fo_doc. **/ void fo_doc_gp_restore (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_grestore (FO_DOC_GP (fo_doc)->context); } /** * fo_doc_gp_move_to: * @fo_doc: #FoDoc. * @x: X-coordinate of the new current point. * @y: Y-coordinate of the new current point. * * Set the current point of @fo_doc to (@x, @y). **/ void fo_doc_gp_move_to (FoDoc *fo_doc, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_moveto (FO_DOC_GP (fo_doc)->context, x, y); } /** * fo_doc_gp_line_stroked: * @fo_doc: #FoDoc. * @x0: X-coordinate of the start of the line. * @y0: Y-coordinate of the start of the line. * @x1: X-coordinate of the end of the line. * @y1: Y-coordinate of the end of the line. * * Draw a line from (@x0,@y0) to (@x1,@y1). **/ void fo_doc_gp_line_stroked (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_line_stroked (FO_DOC_GP (fo_doc)->context, x0, y0, x1, y1); } /** * fo_doc_gp_rect_stroked: * @fo_doc: #FoDoc. * @x: X-coordinate of the lower-left corner of the rectangle. * @y: Y-coordinate of the lower-left corner of the rectangle. * @width: Width of the rectangle. * @height: Height of the rectangle. * * Draw an outline rectangle. **/ void fo_doc_gp_rect_stroked (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_rect_stroked (FO_DOC_GP (fo_doc)->context, x, y, width, height); } /** * fo_doc_gp_rect_filled: * @fo_doc: #FoDoc. * @x: X-coordinate of the lower-left corner of the rectangle. * @y: Y-coordinate of the lower-left corner of the rectangle. * @width: Width of the rectangle. * @height: Height of the rectangle. * * Draw a filled rectangle. **/ void fo_doc_gp_rect_filled (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_rect_filled (FO_DOC_GP (fo_doc)->context, x, y, width, height); } /** * fo_doc_gp_fill: * @fo_doc: #FoDoc. * * Fill the interior of the path of @fo_doc with the current fill color. **/ void fo_doc_gp_fill (FoDoc *fo_doc) { g_return_if_fail (fo_doc != NULL); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_fill (FO_DOC_GP (fo_doc)->context); } /** * fo_doc_gp_stroke: * @fo_doc: #FoDoc. * * Stroke the path of @fo_doc and clear the path. **/ void fo_doc_gp_stroke (FoDoc *fo_doc) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); gnome_print_stroke (FO_DOC_GP (fo_doc)->context); } /** * fo_doc_gp_place_image: * @fo_doc: * @fo_image: * @x: * @y: * @xscale: * @yscale: * * **/ static void fo_doc_gp_place_image (FoDoc *fo_doc, FoImage *fo_image, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED, gdouble xscale, gdouble yscale) { GdkPixbuf *pixbuf = g_object_ref (fo_pixbuf_get_pixbuf (fo_image)); guchar *raw_image; gboolean has_alpha; gint rowstride, height, width; raw_image = gdk_pixbuf_get_pixels (pixbuf); has_alpha = gdk_pixbuf_get_has_alpha (pixbuf); rowstride = gdk_pixbuf_get_rowstride (pixbuf); height = gdk_pixbuf_get_height (pixbuf); width = gdk_pixbuf_get_width (pixbuf); /* gnome_print_gsave (FO_DOC_GP (fo_doc)->context); gnome_print_translate (FO_DOC_GP (fo_doc)->context, 0, 0); gnome_print_translate (FO_DOC_GP (fo_doc)->context, -100.0, -100.0); gnome_print_show (FO_DOC_GP (fo_doc)->context, "fo_doc_gp_place_image()"); gnome_print_moveto (FO_DOC_GP (fo_doc)->context, 0, 0); */ /* */ gnome_print_translate (FO_DOC_GP (fo_doc)->context, 0, -height * yscale * 72 / PIXELS_PER_INCH); gnome_print_scale (FO_DOC_GP (fo_doc)->context, width * xscale * 72 / PIXELS_PER_INCH, height * yscale * 72 / PIXELS_PER_INCH); if (has_alpha) gnome_print_rgbaimage (FO_DOC_GP (fo_doc)->context, (guchar *)raw_image, width, height, rowstride); else gnome_print_rgbimage (FO_DOC_GP (fo_doc)->context, (guchar *)raw_image, width, height, rowstride); /* gnome_print_grestore (FO_DOC_GP (fo_doc)->context); */ g_object_unref (pixbuf); } void fo_doc_gp_do_run_callbacks (GnomePrintContext *context, PangoLayoutRun *run, gint x, gint y) { /*PangoLayoutRunPrivate *prun = (PangoLayoutRunPrivate *) run;*/ /*FT_UInt glyph_index;*/ GSList *extra_attrs_list = run->item->analysis.extra_attrs; g_return_if_fail (context != NULL); g_return_if_fail (run != NULL); while (extra_attrs_list) { PangoAttribute *attr = extra_attrs_list->data; PangoAttrType attr_type = attr->klass->type; if (attr_type == libfo_pango_attr_callback_get_type ()) { GValue values[1] = { { 0, { {0}, {0} } } }; g_value_init (&values[0], G_TYPE_POINTER); g_value_set_pointer (&values[0], context); #if 0 g_message ("Got a callback: callback: %p", ((PangoAttrPointer *) attr)->pointer); #endif gnome_print_gsave (context); gnome_print_translate (context, x / PANGO_SCALE, y / PANGO_SCALE); g_closure_invoke (((GClosure *) libfo_pango_attr_callback_get_callback(attr)), NULL, 1, values, NULL); gnome_print_grestore (context); } extra_attrs_list = extra_attrs_list->next; } } void fo_doc_gp_do_line_callbacks (GnomePrintContext *context, PangoLayoutLine *line, gint x, gint y) { GSList *run_list; PangoRectangle overall_rect; PangoRectangle logical_rect; gint x_off = 0; pango_layout_line_get_extents (line, NULL, &overall_rect); run_list = line->runs; while (run_list) { PangoLayoutRun *run = run_list->data; pango_glyph_string_extents (run->glyphs, run->item->analysis.font, NULL, &logical_rect); fo_doc_gp_do_run_callbacks (context, run, x + x_off, y); x_off += logical_rect.width; run_list = run_list->next; } } static void fo_doc_gp_do_callbacks (GnomePrintContext *context, PangoLayout *layout, gint line_first, gint line_last, gint x, gint y) { PangoLayoutIter *iter; g_return_if_fail (context != NULL); g_return_if_fail (PANGO_IS_LAYOUT (layout)); g_return_if_fail (line_last >= line_first && line_last <= (gint) g_slist_length (pango_layout_get_lines (layout)) - 1); iter = pango_layout_get_iter (layout); gint line_number = -1; do { PangoRectangle logical_rect; PangoLayoutLine *line; int baseline; line_number++; if (line_number < line_first) { continue; } line = pango_layout_iter_get_line (iter); pango_layout_iter_get_line_extents (iter, NULL, &logical_rect); baseline = pango_layout_iter_get_baseline (iter); fo_doc_gp_do_line_callbacks (context, line, x + logical_rect.x, y - baseline); if (line_number >= line_last) { break; } } while (pango_layout_iter_next_line (iter)); pango_layout_iter_free (iter); } /** * fo_doc_gp_render_layout_lines: * @fo_doc: #FoDoc for which to render lines. * @area_layout: #FoArea containing lines. * @x: X-offset * @y: Y-offset * * Renders the lines in @area_layout at position (@x, @y) on current * page of @fo_doc. **/ void fo_doc_gp_render_layout_lines (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (area_layout)); /* Since GNOME Print doesn't support rendering only some lines from * a layout, firstly move the current point so the first line to be * rendered is positioned at (x, y) and, secondly, save the current * graphics state and then crop to only the area covered by the * lines that are to be rendered. */ gdouble y1 = y; gint line_first = fo_area_layout_get_line_first (area_layout); if (line_first > 0) { y1 = y + fo_area_layout_get_line_height (area_layout, line_first - 1); } gint line_last = fo_area_layout_get_line_last (area_layout); #if ENABLE_CLIP gdouble y2 = y1 - fo_area_layout_get_line_height (area_layout, line_last); gdouble x2 = x + fo_area_area_get_width (area_layout); gnome_print_gsave (FO_DOC_GP(fo_doc)->context); gnome_print_moveto (FO_DOC_GP(fo_doc)->context, x, y); gnome_print_lineto (FO_DOC_GP(fo_doc)->context, x2, y); gnome_print_lineto (FO_DOC_GP(fo_doc)->context, x2, y2); gnome_print_lineto (FO_DOC_GP(fo_doc)->context, x, y2); gnome_print_clip (FO_DOC_GP(fo_doc)->context); #endif gnome_print_moveto (FO_DOC_GP(fo_doc)->context, x, y1); gnome_print_pango_layout (FO_DOC_GP(fo_doc)->context, fo_layout_get_pango_layout (fo_area_layout_get_layout (area_layout))); fo_doc_gp_do_callbacks (FO_DOC_GP(fo_doc)->context, fo_layout_get_pango_layout (fo_area_layout_get_layout (area_layout)), line_first, line_last, x * PANGO_SCALE, y * PANGO_SCALE); #if ENABLE_CLIP gnome_print_grestore (FO_DOC_GP(fo_doc)->context); #endif } /** * fo_doc_gp_render_layout: * @fo_doc: #FoDoc to which to render. * @area_layout: #FoArea containing lines. * @x: X-offset * @y: Y-offset * * Renders @area_layout at position (@x, @y) on current page of * @fo_doc. **/ void fo_doc_gp_render_layout (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y) { g_return_if_fail (FO_IS_DOC_GP (fo_doc)); g_return_if_fail (FO_DOC_GP (fo_doc)->context != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (area_layout)); gnome_print_moveto (FO_DOC_GP(fo_doc)->context, x, y); gnome_print_pango_layout (FO_DOC_GP(fo_doc)->context, fo_layout_get_pango_layout (fo_area_layout_get_layout (area_layout))); } /** * fo_doc_gp_debug_dump: * @object: #FoObject to be dumped. * @depth: Relative indent to add to the output. * * Implements #FoObject debug_dump method for #FoDocGP. **/ void fo_doc_gp_debug_dump (FoObject *object, gint depth) { FoDocGP *fo_doc_gp; gchar *indent = g_strnfill (depth * 2, ' '); gchar* object_sprintf; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_DOC_GP (object)); fo_doc_gp = FO_DOC_GP (object); object_sprintf = fo_object_debug_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); object_sprintf = fo_object_debug_sprintf (fo_doc_gp->job); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s job: %s", indent, object_sprintf); g_free (object_sprintf); object_sprintf = fo_object_debug_sprintf (fo_doc_gp->context); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s context: %s", indent, object_sprintf); g_free (object_sprintf); object_sprintf = fo_object_debug_sprintf (fo_doc_gp->config); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s config: %s", indent, object_sprintf); g_free (object_sprintf); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s base_filename: %s", indent, fo_doc_gp->base_filename); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s output_sequence: %d", indent, fo_doc_gp->output_sequence); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s current_filename: %s", indent, fo_doc_gp->current_filename); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s page_width: %g", indent, fo_doc_gp->page_width); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s page_height: %g", indent, fo_doc_gp->page_height); g_free (indent); } xmlroff-0.6.2/libfo/fo-layout-gp.c0000644000175000017500000001040610646500671013705 00000000000000/* Fo * fo-layout-gp.c: Object type for PangoGPLayout * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-object.h" #include "fo-layout-gp-private.h" #include "fo-doc-private.h" #include "fo-font-desc-private.h" static void fo_layout_gp_class_init (FoLayoutGPClass *klass); static void fo_layout_gp_finalize (GObject *object); static void fo_layout_gp_set_line_height (FoLayout *fo_layout, gfloat line_height); static void fo_layout_gp_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy); static gpointer parent_class; /** * fo_layout_gp_get_type: * * Register the #FoLayoutGP type if not already registered and * return its #GType value. * * Return value: #GType of #FoLayoutGP. **/ GType fo_layout_gp_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLayoutGPClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_layout_gp_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLayoutGP), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_LAYOUT, "FoLayoutGP", &object_info, 0); } return object_type; } /** * fo_layout_gp_class_init: * @klass: #FoLayoutGP object to initialise. * * Implements #GClassInitFunc for #FoLayoutGPClass. **/ void fo_layout_gp_class_init (FoLayoutGPClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_layout_gp_finalize; FO_LAYOUT_CLASS (klass)->set_line_height = fo_layout_gp_set_line_height; FO_LAYOUT_CLASS (klass)->set_line_stacking_strategy = fo_layout_gp_set_line_stacking_strategy; } /** * fo_layout_gp_finalize: * @object: #FoLayoutGP object to finalize. * * Implements #GObjectFinalizeFunc for #FoLayoutGP. **/ void fo_layout_gp_finalize (GObject *object) { FoLayoutGP *fo_layout_gp; fo_layout_gp = FO_LAYOUT_GP (object); /*g_object_unref (fo_layout_gp->fo_doc);*/ G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_layout_gp_new: * * Creates a new #FoLayoutGP. * * Return value: the newly created #FoLayoutGP. **/ FoLayout * fo_layout_gp_new (void) { FoLayout* fo_layout; fo_layout = g_object_new (fo_layout_gp_get_type (), NULL); return fo_layout; } /** * fo_layout_gp_new_from_fo_doc: * @fo_doc: #FoDoc. * * Creates a new #FoLayoutGP. * * Return value: the newly created #FoLayoutGP. **/ FoLayout * fo_layout_gp_new_from_fo_doc (FoDoc *fo_doc) { FoLayout* fo_layout; fo_layout = g_object_new (fo_layout_gp_get_type (), NULL); /* FIXME: should be g_object_ref (fo_doc) but uncertain what unrefs layout */ fo_layout->fo_doc = fo_doc; fo_layout->pango_layout = pango_layout_new (fo_doc_get_pango_context (fo_doc)); return fo_layout; } /** * fo_layout_gp_set_line_height: * @fo_layout: #FoLayout. * @line_height: 'line-height' in points. * * Set the 'line-height' of @fo_layout to @line_height. **/ void fo_layout_gp_set_line_height (FoLayout *fo_layout, gfloat line_height G_GNUC_UNUSED) { g_return_if_fail (FO_IS_LAYOUT_GP (fo_layout)); /* pango_gp_layout_set_line_height (fo_layout->pango_layout, line_height * PANGO_SCALE);*/ } /** * fo_layout_gp_set_line_stacking_strategy: * @fo_layout: #FoLayout. * @line_stacking_strategy: Line stacking strategy to use. * * Set the 'line-stacking-strategy' property of @fo_layout to * @line_stacking_strategy. **/ void fo_layout_gp_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy G_GNUC_UNUSED) { g_return_if_fail (FO_IS_LAYOUT_GP (fo_layout)); /* pango_gp_layout_set_line_stacking_strategy (fo_layout->pango_layout, fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy (line_stacking_strategy));*/ } xmlroff-0.6.2/libfo/fo-doc.c0000644000175000017500000011543411033674134012535 00000000000000/* Fo * fo-doc.c: Wrapper for libfo output document * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "config.h" #include #include "fo-utils.h" #include "fo-doc-private.h" #include "fo-doc-commands.h" #if ENABLE_CAIRO #include "fo-doc-cairo.h" #endif #if ENABLE_GP #include "fo-doc-gp.h" #endif #include "datatype/fo-color.h" #include #if 0 #include #include #endif #include "fo-font-desc-private.h" #include "fo-libfo-context.h" /** * SECTION:fo-doc * @short_description: Abstract output document type * * #FoDoc provides the primitives for writing text, lines, rectangles, * etc., to the output. * * It is generalised so that libfo can support multiple backend * implementations (and add and remove backend implementations) * without having to restructure the rest of libfo. */ const char *fo_doc_error_messages [] = { N_("FoDoc error"), N_("Cannot open output document: '%s'"), N_("Unsupported document format.") }; enum { PROP_0, PROP_FORMATS }; static void fo_doc_base_init (FoDocClass *klass); static void fo_doc_class_init (FoDocClass *klass); static void fo_doc_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec); static void fo_doc_open_file_default (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); static FoLayout * fo_doc_get_new_layout_default (FoDoc *fo_doc); static void fo_doc_begin_page_default (FoDoc *fo_doc, gdouble width, gdouble height, GError **error); static void fo_doc_end_page_default (FoDoc *fo_doc); static FoDatatype * fo_doc_get_fill_color_default (FoDoc *fo_doc); static void fo_doc_set_fill_color_default (FoDoc *fo_doc, FoDatatype *color); static FoDatatype * fo_doc_get_stroke_color_default (FoDoc *fo_doc); static void fo_doc_set_stroke_color_default (FoDoc *fo_doc, FoDatatype *color); static FoDocLineCap fo_doc_get_line_cap_default (FoDoc *fo_doc); static void fo_doc_set_line_cap_default (FoDoc *fo_doc, FoDocLineCap line_cap); static FoDocLineJoin fo_doc_get_line_join_default (FoDoc *fo_doc); static void fo_doc_set_line_join_default (FoDoc *fo_doc, FoDocLineJoin line_join); static gdouble fo_doc_get_line_width_default (FoDoc *fo_doc); static void fo_doc_set_line_width_default (FoDoc *fo_doc, gdouble line_width); static void fo_doc_set_dash_default (FoDoc *fo_doc, gdouble b, gdouble w); static void fo_doc_translate_default (FoDoc *fo_doc, gdouble x, gdouble y); static void fo_doc_clip_default (FoDoc *fo_doc); static void fo_doc_save_default (FoDoc *fo_doc); static void fo_doc_restore_default (FoDoc *fo_doc); static void fo_doc_line_to_default (FoDoc *fo_doc, gdouble x, gdouble y); static void fo_doc_move_to_default (FoDoc *fo_doc, gdouble x, gdouble y); static void fo_doc_line_stroked_default (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1); static void fo_doc_rect_stroked_default (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); static void fo_doc_rect_filled_default (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); static void fo_doc_fill_default (FoDoc *fo_doc); static void fo_doc_stroke_default (FoDoc *fo_doc); static void fo_doc_place_image_default (FoDoc *fo_doc, FoImage *fo_image, gdouble x, gdouble y, gdouble xscale, gdouble yscale); static void fo_doc_render_layout_lines_default (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); static void fo_doc_render_layout_default (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); static gpointer parent_class; /** * fo_doc_error_quark: * * Get the error quark for #FoDoc. * * If the quark does not yet exist, create it. * * Return value: Quark associated with #FoDoc errors. **/ GQuark fo_doc_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoDoc error"); return quark; } /** * fo_doc_get_type: * * Register the #FoDoc object type. * * Return value: #GType value of the #FoDoc object type. **/ GType fo_doc_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoDocClass), (GBaseInitFunc) fo_doc_base_init, NULL, /* base_finalize */ (GClassInitFunc) fo_doc_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoDoc), 0, /* n_preallocs */ NULL, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_LIBFO_MODULE, "FoDoc", &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_doc_base_init: * @klass: #FoDocClass base class object to initialise. * * Implements #GBaseInitFunc for #FoDocClass. **/ void fo_doc_base_init (FoDocClass *klass) { klass->formats = FO_FLAG_FORMAT_UNKNOWN; klass->open_file = fo_doc_open_file_default; klass->get_new_layout = fo_doc_get_new_layout_default; klass->begin_page = fo_doc_begin_page_default; klass->end_page = fo_doc_end_page_default; klass->get_fill_color = fo_doc_get_fill_color_default; klass->set_fill_color = fo_doc_set_fill_color_default; klass->get_stroke_color = fo_doc_get_stroke_color_default; klass->set_stroke_color = fo_doc_set_stroke_color_default; klass->translate = fo_doc_translate_default; klass->get_line_cap = fo_doc_get_line_cap_default; klass->set_line_cap = fo_doc_set_line_cap_default; klass->get_line_join = fo_doc_get_line_join_default; klass->set_line_join = fo_doc_set_line_join_default; klass->get_line_width = fo_doc_get_line_width_default; klass->set_line_width = fo_doc_set_line_width_default; klass->set_dash = fo_doc_set_dash_default; klass->translate = fo_doc_translate_default; klass->clip = fo_doc_clip_default; klass->save = fo_doc_save_default; klass->restore = fo_doc_restore_default; klass->line_to = fo_doc_line_to_default; klass->move_to = fo_doc_move_to_default; klass->line_stroked = fo_doc_line_stroked_default; klass->rect_stroked = fo_doc_rect_stroked_default; klass->rect_filled = fo_doc_rect_filled_default; klass->fill = fo_doc_fill_default; klass->stroke = fo_doc_stroke_default; klass->place_image = fo_doc_place_image_default; klass->render_layout_lines = fo_doc_render_layout_lines_default; klass->render_layout = fo_doc_render_layout_default; } /** * fo_doc_class_init: * @klass: #FoDocClass object to initialise. * * Implements #GClassInitFunc for #FoDocClass. **/ void fo_doc_class_init (FoDocClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->get_property = fo_doc_get_property; g_object_class_install_property (object_class, PROP_FORMATS, g_param_spec_flags ("formats", _("Output formats"), _("Supported output file formats"), FO_TYPE_FLAGS_FORMAT, FO_FLAG_FORMAT_UNKNOWN, G_PARAM_READABLE)); } /** * fo_doc_get_property: * @object: #GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: #GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for #FoLibfoContext **/ void fo_doc_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec) { switch (param_id) { case PROP_FORMATS: g_value_set_flags (value, fo_doc_formats_from_name (G_OBJECT_CLASS_NAME (object))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_doc_new_from_type: * @type: Type of the new #FoDoc. * * Creates a new #FoDoc. * * Return value: the newly created #FoDoc. **/ FoDoc * fo_doc_new_from_type (const gchar *type) { FoDoc *fo_doc = NULL; if (type == NULL) { #if ENABLE_GP fo_doc = fo_doc_gp_new (); #else #if ENABLE_CAIRO fo_doc = fo_doc_cairo_new (); #else g_critical ("No output type is supported by this build of libfo."); #endif /* ENABLE_CAIRO */ #endif /* ENABLE_GP */ } else if (strcmp (type, "cairo") == 0) { #if ENABLE_CAIRO fo_doc = fo_doc_cairo_new (); #else g_critical ("Output using Cairo is not supported by this build of libfo."); #endif /* ENABLE_CAIRO */ } else if (strcmp (type, "gp") == 0) { #if ENABLE_GP fo_doc = fo_doc_gp_new (); #else g_critical ("Output using GNOME Print is not supported by this build of libfo."); #endif /* ENABLE_GP */ } else { g_critical ("Unknown output type: '%s'", type); } return fo_doc; } /** * fo_doc_new: * * Creates a new #FoDoc. * * Return value: the newly created #FoDoc. **/ FoDoc * fo_doc_new (void) { return fo_doc_new_from_type (NULL); } void fo_doc_open_file_default (FoDoc *fo_doc, const gchar *filename G_GNUC_UNUSED, FoLibfoContext *libfo_context G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'open_file' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_formats_from_name: * @name: Registered #FoObject type name, e.g., "FoDocCairo" * * Gets the output formats supported by @name class. * * @name should not be #NULL. * * If @name does not implement any formats, returns * #FO_FLAG_FORMAT_UNKNOWN. * * Returns: #FoFlagsFormat with zero or more bits set for the * supported formats. **/ FoFlagsFormat fo_doc_formats_from_name (const gchar *name) { g_return_val_if_fail (name != NULL, FO_FLAG_FORMAT_UNKNOWN); FoFlagsFormat formats = FO_FLAG_FORMAT_UNKNOWN; GType type = g_type_from_name (name); if (g_type_is_a (type, fo_doc_get_type ())) { gpointer klass = g_type_class_ref (type); formats = ((FoDocClass *) klass)->formats; g_type_class_unref (klass); } return formats; } /** * fo_doc_open_file: * @fo_doc: #FoDoc for which to open an output file. * @filename: Name of output file. * @libfo_context: #FoLibfoContext containing extra info. * @error: Information about any error that occurred. * * * No reference to @libfo_context is kept. **/ void fo_doc_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error) { FO_DOC_GET_CLASS (fo_doc)->open_file (fo_doc, filename, libfo_context, error); } /** * fo_doc_get_new_layout_default: * @fo_doc: #FoDoc. * * Get a new #FoLayout for use with @fo_doc. * * Return value: New #FoLayout. **/ FoLayout * fo_doc_get_new_layout_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'get_new_layout' function."), fo_object_sprintf (fo_doc)); #endif return NULL; } /** * fo_doc_get_new_layout: * @fo_doc: #FoDoc. * * Get a new #FoLayout for use with @fo_doc. * * Return value: New #FoLayout. **/ FoLayout * fo_doc_get_new_layout (FoDoc *fo_doc) { return FO_DOC_GET_CLASS (fo_doc)->get_new_layout (fo_doc); } /** * fo_doc_get_pango_context: * @fo_doc: #FoDoc * * Get the #PangoContext in @fo_doc. * * Return value: #PangoContext associated with @fo_doc. **/ PangoContext * fo_doc_get_pango_context (FoDoc *fo_doc) { g_return_val_if_fail (fo_doc != NULL, NULL); return fo_doc->pango_context; } /** * fo_doc_get_language: * @fo_doc: #FoDoc * * Get the language in @fo_doc. * * Return value: Language of file parsed to make @fo_doc. **/ const gchar * fo_doc_get_language (FoDoc *fo_doc) { g_return_val_if_fail (fo_doc != NULL, NULL); return pango_language_to_string (pango_context_get_language (fo_doc->pango_context)); } /** * fo_doc_set_language: * @fo_doc: #FoDoc. * @language: Language. * * Set the language in @fo_doc. **/ void fo_doc_set_language (FoDoc *fo_doc, const gchar *language) { g_return_if_fail (fo_doc != NULL); g_return_if_fail (language != NULL && *language != '\0'); pango_context_set_language (fo_doc->pango_context, pango_language_from_string (language)); } /** * fo_doc_get_font_desc: * @fo_doc: #FoDoc. * * Get the #PangoFontDescription in @fo_doc. * * Return value: #PangoFontDescription in @fo_doc. **/ FoFontDesc * fo_doc_get_font_desc (FoDoc *fo_doc) { FoFontDesc *font_desc; g_return_val_if_fail (fo_doc != NULL, NULL); font_desc = fo_font_desc_new (); fo_font_desc_set_font_description (font_desc, pango_context_get_font_description (fo_doc->pango_context)); return font_desc; } /** * fo_doc_get_font_description: * @fo_doc: #FoDoc. * * Get the #PangoFontDescription in @fo_doc. * * Return value: #PangoFontDescription in @fo_doc. **/ PangoFontDescription * fo_doc_get_font_description (FoDoc *fo_doc) { g_return_val_if_fail (fo_doc != NULL, NULL); return pango_context_get_font_description (fo_doc->pango_context); } /** * fo_doc_set_font_description: * @fo_doc: #FoDoc. * @font_description: #PangoFontDescription. * * Set the language in @fo_doc. **/ void fo_doc_set_font_description (FoDoc *fo_doc, const PangoFontDescription *desc) { g_return_if_fail (fo_doc != NULL); g_return_if_fail (desc != NULL); pango_context_set_font_description (fo_doc->pango_context, desc); } /** * fo_doc_get_base_dir: * @fo_doc: #FoDoc. * * Get the #FoEnumAreaDirection used as input to @fo_doc. * * Return value: #FoEnumAreaDirection used as input to @fo_doc. **/ FoEnumAreaDirection fo_doc_get_base_dir (FoDoc *fo_doc) { PangoDirection pango_direction; g_return_val_if_fail (fo_doc != NULL, FO_ENUM_AREA_DIRECTION_UNKNOWN); pango_direction = pango_context_get_base_dir (fo_doc->pango_context); switch (pango_direction) { case PANGO_DIRECTION_LTR: case PANGO_DIRECTION_WEAK_LTR: /* FIXME: Not sure how to handle neutral */ case PANGO_DIRECTION_NEUTRAL: return FO_ENUM_AREA_DIRECTION_LR; break; case PANGO_DIRECTION_RTL: case PANGO_DIRECTION_WEAK_RTL: return FO_ENUM_AREA_DIRECTION_RL; break; case PANGO_DIRECTION_TTB_RTL: case PANGO_DIRECTION_TTB_LTR: return FO_ENUM_AREA_DIRECTION_TB; break; } return FO_ENUM_AREA_DIRECTION_UNKNOWN; } /** * fo_doc_set_base_dir: * @fo_doc: #FoDoc. * @base_dir: #FoEnumAreaDirection value for new base direction. * * Set the #FoEnumAreaDirection in @fo_doc. **/ void fo_doc_set_base_dir (FoDoc *fo_doc, FoEnumAreaDirection base_dir) { PangoDirection pango_direction = PANGO_DIRECTION_LTR; g_return_if_fail (fo_doc != NULL); g_return_if_fail (base_dir != FO_ENUM_AREA_DIRECTION_UNKNOWN); switch (base_dir) { case FO_ENUM_AREA_DIRECTION_LR: pango_direction = PANGO_DIRECTION_LTR; break; case FO_ENUM_AREA_DIRECTION_RL: pango_direction = PANGO_DIRECTION_RTL; break; case FO_ENUM_AREA_DIRECTION_TB: pango_direction = PANGO_DIRECTION_TTB_RTL; break; case FO_ENUM_AREA_DIRECTION_UNKNOWN: default: g_assert_not_reached (); } pango_context_set_base_dir (fo_doc->pango_context, pango_direction); } /** * fo_doc_begin_page_default: * @fo_doc: #FoDoc. * @width: Width of the new page. * @height: Height of the new page. * @error: Indication of any error that occurred. * * Add a new page to @fo_doc. * * This must always be paired with a matching #fo_doc_end_page call. **/ void fo_doc_begin_page_default (FoDoc *fo_doc, gdouble width G_GNUC_UNUSED, gdouble height G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'begin_page' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_begin_page: * @fo_doc: #FoDoc. * @width: Width of the new page. * @height: Height of the new page. * @error: Indication of any error that occurred. * * Add a new page to @fo_doc. * * This must always be paired with a matching #fo_doc_end_page call. **/ void fo_doc_begin_page (FoDoc *fo_doc, gdouble width, gdouble height, GError **error) { FO_DOC_GET_CLASS (fo_doc)->begin_page (fo_doc, width, height, error); } /** * fo_doc_end_page_default: * @fo_doc: #FoDoc. * * Finish the current page of @fo_doc. **/ void fo_doc_end_page_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'end_page' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_end_page: * @fo_doc: #FoDoc. * * Finish the current page of @fo_doc. **/ void fo_doc_end_page (FoDoc *fo_doc) { FO_DOC_GET_CLASS (fo_doc)->end_page (fo_doc); } /** * fo_doc_get_fill_color_default: * @fo_doc: #FoDoc. * * Get the current fill color of @fo_doc. * * Return value: #FoDatatype for the current fill color. **/ FoDatatype * fo_doc_get_fill_color_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'get_fill_color' function."), fo_object_sprintf (fo_doc)); #endif return NULL; } /** * fo_doc_get_fill_color: * @fo_doc: #FoDoc. * * Get the current fill color of @fo_doc. * * Return value: #FoDatatype for the current fill color. **/ FoDatatype * fo_doc_get_fill_color (FoDoc *fo_doc) { return FO_DOC_GET_CLASS (fo_doc)->get_fill_color (fo_doc); } /** * fo_doc_set_fill_color_default: * @fo_doc: #FoDoc. * @color: #FoDatatype for new fill color. * * Set the fill color of @fo_doc to @color. **/ void fo_doc_set_fill_color_default (FoDoc *fo_doc, FoDatatype *color G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'set_fill_color' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_set_fill_color: * @fo_doc: #FoDoc. * @color: #FoDatatype for new fill color. * * Set the fill color of @fo_doc to @color. **/ void fo_doc_set_fill_color (FoDoc *fo_doc, FoDatatype *color) { FO_DOC_GET_CLASS (fo_doc)->set_fill_color (fo_doc, color); } /** * fo_doc_get_stroke_color_default: * @fo_doc: #FoDoc. * * Get the current stroke color of @fo_doc. * * Return value: #FoDatatype for the current stroke color. **/ FoDatatype * fo_doc_get_stroke_color_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'get_stroke_color' function."), fo_object_sprintf (fo_doc)); #endif return NULL; } /** * fo_doc_get_stroke_color: * @fo_doc: #FoDoc. * * Get the current stroke color of @fo_doc. * * Return value: #FoDatatype for the current stroke color. **/ FoDatatype * fo_doc_get_stroke_color (FoDoc *fo_doc) { return FO_DOC_GET_CLASS (fo_doc)->get_stroke_color (fo_doc); } /** * fo_doc_set_stroke_color_default: * @fo_doc: #FoDoc. * @color: #FoDatatype for new stroke color. * * Set the stroke color of @fo_doc to @color. **/ void fo_doc_set_stroke_color_default (FoDoc *fo_doc, FoDatatype *color G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'set_stroke_color' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_set_stroke_color: * @fo_doc: #FoDoc. * @color: #FoDatatype for new stroke color. * * Set the stroke color of @fo_doc to @color. **/ void fo_doc_set_stroke_color (FoDoc *fo_doc, FoDatatype *color) { FO_DOC_GET_CLASS (fo_doc)->set_stroke_color (fo_doc, color); } /** * fo_doc_get_line_cap_default: * @fo_doc: #FoDoc. * * Get the current "linecap" parameter value of @fo_doc. * * Return value: Current "linecap" parameter value. **/ FoDocLineCap fo_doc_get_line_cap_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'get_line_cap' function."), fo_object_sprintf (fo_doc)); #endif return FO_DOC_LINE_CAP_INVALID; } /** * fo_doc_get_line_cap: * @fo_doc: #FoDoc. * * Get the current "linecap" parameter value of @fo_doc. * * Return value: Current "linecap" parameter value. **/ FoDocLineCap fo_doc_get_line_cap (FoDoc *fo_doc) { return FO_DOC_GET_CLASS (fo_doc)->get_line_cap (fo_doc); } /** * fo_doc_set_line_cap_default: * @fo_doc: #FoDoc. * @line_cap: New "linecap" parameter value. * * Set the "linecap" parameter value of @fo_doc. **/ void fo_doc_set_line_cap_default (FoDoc *fo_doc, FoDocLineCap line_cap G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'set_line_cap' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_set_line_cap: * @fo_doc: #FoDoc. * @line_cap: New "linecap" parameter value. * * Set the "linecap" parameter value of @fo_doc. **/ void fo_doc_set_line_cap (FoDoc *fo_doc, FoDocLineCap line_cap) { FO_DOC_GET_CLASS (fo_doc)->set_line_cap (fo_doc, line_cap); } /** * fo_doc_get_line_join_default: * @fo_doc: #FoDoc. * * Get the current "linejoin" parameter value of @fo_doc. * * Return value: Current "linejoin" parameter value. **/ FoDocLineJoin fo_doc_get_line_join_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'get_line_join' function."), fo_object_sprintf (fo_doc)); #endif return FO_DOC_LINE_JOIN_INVALID; } /** * fo_doc_get_line_join: * @fo_doc: #FoDoc. * * Get the current "linejoin" parameter value of @fo_doc. * * Return value: Current "linejoin" parameter value. **/ FoDocLineJoin fo_doc_get_line_join (FoDoc *fo_doc) { return FO_DOC_GET_CLASS (fo_doc)->get_line_join (fo_doc); } /** * fo_doc_set_line_join_default: * @fo_doc: #FoDoc. * @line_join: New "linejoin" parameter value. * * Set the "linejoin" parameter value of @fo_doc. **/ void fo_doc_set_line_join_default (FoDoc *fo_doc, FoDocLineJoin line_join G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'set_line_join' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_set_line_join: * @fo_doc: #FoDoc. * @line_join: New "linejoin" parameter value. * * Set the "linejoin" parameter value of @fo_doc. **/ void fo_doc_set_line_join (FoDoc *fo_doc, FoDocLineJoin line_join) { FO_DOC_GET_CLASS (fo_doc)->set_line_join (fo_doc, line_join); } /** * fo_doc_get_line_width_default: * @fo_doc: #FoDoc. * * Get the current line width of @fo_doc. * * Return value: Current line width. **/ gdouble fo_doc_get_line_width_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'get_line_width' function."), fo_object_sprintf (fo_doc)); #endif return 0.0; } /** * fo_doc_get_line_width: * @fo_doc: #FoDoc. * * Get the current line width of @fo_doc. * * Return value: Current line width. **/ gdouble fo_doc_get_line_width (FoDoc *fo_doc) { return FO_DOC_GET_CLASS (fo_doc)->get_line_width (fo_doc); } /** * fo_doc_set_line_width_default: * @fo_doc: #FoDoc. * @line_width: New line width value. * * Set the line width of @fo_doc. **/ void fo_doc_set_line_width_default (FoDoc *fo_doc, gdouble line_width G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'set_line_width' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_set_line_width: * @fo_doc: #FoDoc. * @line_width: New line width value. * * Set the line width of @fo_doc. **/ void fo_doc_set_line_width (FoDoc *fo_doc, gdouble line_width) { FO_DOC_GET_CLASS (fo_doc)->set_line_width (fo_doc, line_width); } /** * fo_doc_set_dash_default: * @fo_doc: #FoDoc. * @b: Number of black units. * @w: Number of white units. * * Set the current dash pattern of @fo_doc. * * The dash pattern is the ratio of @b to @w. * * Set @b and @w to 0 to produce a solid line. * * The dash pattern is set to solid (@b = @w = 0) at the beginning of * each page. **/ void fo_doc_set_dash_default (FoDoc *fo_doc, gdouble b G_GNUC_UNUSED, gdouble w G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'set_dash' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_set_dash: * @fo_doc: #FoDoc. * @b: Number of black units. * @w: Number of white units. * * Set the current dash pattern of @fo_doc. * * The dash pattern is the ratio of @b to @w. * * Set @b and @w to 0 to produce a solid line. * * The dash pattern is set to solid (@b = @w = 0) at the beginning of * each page. **/ void fo_doc_set_dash (FoDoc *fo_doc, gdouble b, gdouble w) { FO_DOC_GET_CLASS (fo_doc)->set_dash (fo_doc, b, w); } /** * fo_doc_translate_default: * @fo_doc: #FoDoc. * @x: X-coordinate of the new origin of the coordinate system. * @y: Y-coordinate of the new origin of the coordinate system. * * Translate the origin of the coordinate system of @fo_doc. * * @x and @y are measured in the old coordinate system. **/ void fo_doc_translate_default (FoDoc *fo_doc, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'translate' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_translate: * @fo_doc: #FoDoc. * @x: X-coordinate of the new origin of the coordinate system. * @y: Y-coordinate of the new origin of the coordinate system. * * Translate the origin of the coordinate system of @fo_doc. * * @x and @y are measured in the old coordinate system. **/ void fo_doc_translate (FoDoc *fo_doc, gdouble x, gdouble y) { FO_DOC_GET_CLASS (fo_doc)->translate (fo_doc, x, y); } /** * fo_doc_clip_default: * @fo_doc: #FoDoc. * * Use the current path of @fo_doc as its clipping path. **/ void fo_doc_clip_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'clip' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_clip: * @fo_doc: #FoDoc. * * Use the current path of @fo_doc as its clipping path. **/ void fo_doc_clip (FoDoc *fo_doc) { FO_DOC_GET_CLASS (fo_doc)->clip (fo_doc); } /** * fo_doc_save_default: * @fo_doc: #FoDoc. * * Save the current graphics state of @fo_doc. **/ void fo_doc_save_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'save' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_save: * @fo_doc: #FoDoc. * * Save the current graphics state of @fo_doc. **/ void fo_doc_save (FoDoc *fo_doc) { FO_DOC_GET_CLASS (fo_doc)->save (fo_doc); } /** * fo_doc_restore_default: * @fo_doc: #FoDoc. * * Restore the most recently saved graphics state of @fo_doc. **/ void fo_doc_restore_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'restore' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_restore: * @fo_doc: #FoDoc. * * Restore the most recently saved graphics state of @fo_doc. **/ void fo_doc_restore (FoDoc *fo_doc) { FO_DOC_GET_CLASS (fo_doc)->restore (fo_doc); } /** * fo_doc_line_to_default: * @fo_doc: #FoDoc. * @x: X-coordinate of the new current point. * @y: Y-coordinate of the new current point. * * Draw a line from the current point to another point. **/ void fo_doc_line_to_default (FoDoc *fo_doc, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'line_to' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_line_to: * @fo_doc: #FoDoc. * @x: X-coordinate of the new current point. * @y: Y-coordinate of the new current point. * * Draw a line from the current point to another point. **/ void fo_doc_line_to (FoDoc *fo_doc, gdouble x, gdouble y) { FO_DOC_GET_CLASS (fo_doc)->line_to (fo_doc, x, y); } /** * fo_doc_move_to_default: * @fo_doc: #FoDoc. * @x: X-coordinate of the new current point. * @y: Y-coordinate of the new current point. * * Set the current point of @fo_doc to (@x, @y). **/ void fo_doc_move_to_default (FoDoc *fo_doc, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'move_to' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_move_to: * @fo_doc: #FoDoc. * @x: X-coordinate of the new current point. * @y: Y-coordinate of the new current point. * * Set the current point of @fo_doc to (@x, @y). **/ void fo_doc_move_to (FoDoc *fo_doc, gdouble x, gdouble y) { FO_DOC_GET_CLASS (fo_doc)->move_to (fo_doc, x, y); } /** * fo_doc_line_stroked_default: * @fo_doc: #FoDoc. * @x0: X-coordinate of the start of the line. * @y0: Y-coordinate of the start of the line. * @x1: X-coordinate of the end of the line. * @y1: Y-coordinate of the end of the line. * * Draw a line from (@x0,@y0) to (@x1,@y1). **/ void fo_doc_line_stroked_default (FoDoc *fo_doc, gdouble x0 G_GNUC_UNUSED, gdouble y0 G_GNUC_UNUSED, gdouble x1 G_GNUC_UNUSED, gdouble y1 G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'rect_stroked' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_line_stroked: * @fo_doc: #FoDoc. * @x0: X-coordinate of the start of the line. * @y0: Y-coordinate of the start of the line. * @x1: X-coordinate of the end of the line. * @y1: Y-coordinate of the end of the line. * * Draw a line from (@x0,@y0) to (@x1,@y1). **/ void fo_doc_line_stroked (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1) { FO_DOC_GET_CLASS (fo_doc)->line_stroked (fo_doc, x0, y0, x1, y1); } /** * fo_doc_rect_stroked_default: * @fo_doc: #FoDoc. * @x: X-coordinate of the lower-left corner of the rectangle. * @y: Y-coordinate of the lower-left corner of the rectangle. * @width: Width of the rectangle. * @height: Height of the rectangle. * * Draw an outline rectangle. **/ void fo_doc_rect_stroked_default (FoDoc *fo_doc, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED, gdouble width G_GNUC_UNUSED, gdouble height G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'rect_stroked' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_rect_stroked: * @fo_doc: #FoDoc. * @x: X-coordinate of the lower-left corner of the rectangle. * @y: Y-coordinate of the lower-left corner of the rectangle. * @width: Width of the rectangle. * @height: Height of the rectangle. * * Draw an outline rectangle. **/ void fo_doc_rect_stroked (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height) { FO_DOC_GET_CLASS (fo_doc)->rect_stroked (fo_doc, x, y, width, height); } /** * fo_doc_rect_filled_default: * @fo_doc: #FoDoc. * @x: X-coordinate of the lower-left corner of the rectangle. * @y: Y-coordinate of the lower-left corner of the rectangle. * @width: Width of the rectangle. * @height: Height of the rectangle. * * Draw a filled rectangle. **/ void fo_doc_rect_filled_default (FoDoc *fo_doc, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED, gdouble width G_GNUC_UNUSED, gdouble height G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'rect_filled' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_rect_filled: * @fo_doc: #FoDoc. * @x: X-coordinate of the lower-left corner of the rectangle. * @y: Y-coordinate of the lower-left corner of the rectangle. * @width: Width of the rectangle. * @height: Height of the rectangle. * * Draw a filled rectangle. **/ void fo_doc_rect_filled (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height) { FO_DOC_GET_CLASS (fo_doc)->rect_filled (fo_doc, x, y, width, height); } /** * fo_doc_fill_default: * @fo_doc: #FoDoc. * * Fill the interior of the path of @fo_doc with the current fill color. **/ void fo_doc_fill_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'fill' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_fill: * @fo_doc: #FoDoc. * * Fill the interior of the path of @fo_doc with the current fill color. **/ void fo_doc_fill (FoDoc *fo_doc) { FO_DOC_GET_CLASS (fo_doc)->fill (fo_doc); } /** * fo_doc_stroke_default: * @fo_doc: #FoDoc. * * Stroke the path of @fo_doc and clear the path. **/ void fo_doc_stroke_default (FoDoc *fo_doc) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'stroke' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_stroke: * @fo_doc: #FoDoc. * * Stroke the path of @fo_doc and clear the path. **/ void fo_doc_stroke (FoDoc *fo_doc) { FO_DOC_GET_CLASS (fo_doc)->stroke (fo_doc); } /** * fo_doc_place_image_default: * @fo_doc: #FoDoc in which to place image * @fo_image: #FoImage * @x: X-offset * @y: Y-offset * @xscale: Scale to apply to X dimension of @image * @yscale: Scale to apply to Y dimension of @image * * Places @fo_image in @fo_doc at position given by @x and @y with image * scaled by @xscale and @yscale. **/ void fo_doc_place_image_default (FoDoc *fo_doc, FoImage *image G_GNUC_UNUSED, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED, gdouble xscale G_GNUC_UNUSED, gdouble yscale G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'place_image' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_place_image: * @fo_doc: #FoDoc in which to place image * @fo_image: #FoImage * @x: X-offset * @y: Y-offset * @xscale: Scale to apply to X dimension of @image * @yscale: Scale to apply to Y dimension of @image * * Places @fo_image in @fo_doc at position given by @x and @y with image * scaled by @xscale and @yscale. **/ void fo_doc_place_image (FoDoc *fo_doc, FoImage *fo_image, gdouble x, gdouble y, gdouble xscale, gdouble yscale) { FO_DOC_GET_CLASS (fo_doc)->place_image (fo_doc, fo_image, x, y, xscale, yscale); } /** * fo_doc_render_layout_lines_default: * @fo_doc: #FoDoc for which to render lines. * @area_layout: #FoArea containing lines. * @x: X-offset * @y: Y-offset * * Renders the lines in @area_layout at position (@x, @y) on current * page of @fo_doc. **/ void fo_doc_render_layout_lines_default (FoDoc *fo_doc, FoArea *area_layout G_GNUC_UNUSED, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'render_layout_lines' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_render_layout_lines: * @fo_doc: #FoDoc for which to render lines. * @area_layout: #FoArea containing lines. * @x: X-offset * @y: Y-offset * * Renders the lines in @area_layout at position (@x, @y) on current * page of @fo_doc. **/ void fo_doc_render_layout_lines (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y) { FO_DOC_GET_CLASS (fo_doc)->render_layout_lines (fo_doc, area_layout, x, y); } /** * fo_doc_render_layout_default: * @fo_doc: #FoDoc to which to render. * @area_layout: #FoArea containing lines. * @x: X-offset * @y: Y-offset * * Renders @area_layout at position (@x, @y) on current page of * @fo_doc. **/ void fo_doc_render_layout_default (FoDoc *fo_doc, FoArea *area_layout G_GNUC_UNUSED, gdouble x G_GNUC_UNUSED, gdouble y G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'render_layout' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_doc_render_layout: * @fo_doc: #FoDoc to which to render. * @area_layout: #FoArea containing lines. * @x: X-offset * @y: Y-offset * * Renders @area_layout at position (@x, @y) on current page of * @fo_doc. **/ void fo_doc_render_layout (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y) { FO_DOC_GET_CLASS (fo_doc)->render_layout (fo_doc, area_layout, x, y); } xmlroff-0.6.2/libfo/fo-doc-commands.h0000644000175000017500000000636210761620006014334 00000000000000/* Fo * fo-doc-commands.h: Commands for an FoDoc * * Copyright (C) 2001-2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DOC_COMMANDS_H__ #define __FO_DOC_COMMANDS_H__ #include #include #include #include #include #include #include G_BEGIN_DECLS void fo_doc_begin_page (FoDoc *fo_doc, gdouble width, gdouble height, GError **error); void fo_doc_end_page (FoDoc *fo_doc); FoDatatype * fo_doc_get_fill_color (FoDoc *fo_doc); void fo_doc_set_fill_color (FoDoc *fo_doc, FoDatatype *color); FoDatatype * fo_doc_get_stroke_color (FoDoc *fo_doc); void fo_doc_set_stroke_color (FoDoc *fo_doc, FoDatatype *color); FoDocLineCap fo_doc_get_line_cap (FoDoc *fo_doc); void fo_doc_set_line_cap (FoDoc *fo_doc, FoDocLineCap line_cap); FoDocLineJoin fo_doc_get_line_join (FoDoc *fo_doc); void fo_doc_set_line_join (FoDoc *fo_doc, FoDocLineJoin line_join); gdouble fo_doc_get_line_width (FoDoc *fo_doc); void fo_doc_set_line_width (FoDoc *fo_doc, gdouble line_width); void fo_doc_set_dash (FoDoc *fo_doc, gdouble b, gdouble w); void fo_doc_translate (FoDoc *fo_doc, gdouble x, gdouble y); void fo_doc_clip (FoDoc *fo_doc); void fo_doc_save (FoDoc *fo_doc); void fo_doc_restore (FoDoc *fo_doc); void fo_doc_line_to (FoDoc *fo_doc, gdouble x, gdouble y); void fo_doc_move_to (FoDoc *fo_doc, gdouble x, gdouble y); void fo_doc_line_stroked (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1); void fo_doc_rect_stroked (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); void fo_doc_rect_filled (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); void fo_doc_fill (FoDoc *fo_doc); void fo_doc_stroke (FoDoc *fo_doc); void fo_doc_place_image (FoDoc *fo_doc, FoImage *fo_image, gdouble x, gdouble y, gdouble xscale, gdouble yscale); FoFontDesc * fo_doc_get_font_desc (FoDoc *fo_doc); void fo_doc_render_layout_lines (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); void fo_doc_render_layout (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); G_END_DECLS #endif /* !__FO_DOC_COMMANDS_H__ */ xmlroff-0.6.2/libfo/fo-font-desc.c0000644000175000017500000001620011034220132013623 00000000000000/* Fo * fo-font-desc.c: Object type for a font description * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-object.h" #include "fo-font-desc-private.h" #include "fo-libfo-context.h" const char *fo_font_desc_error_messages [] = { N_("FoFontDesc error") }; struct _FoFontDesc { FoObject parent_instance; PangoFontDescription *font_desc; }; struct _FoFontDescClass { FoObjectClass parent_class; }; static void fo_font_desc_class_init (FoFontDescClass *klass); static void fo_font_desc_finalize (GObject *object); static gpointer parent_class; /** * fo_font_desc_error_quark: * * Get the error quark for #FoFontDesc. * * If the quark does not yet exist, create it. * * Return value: #GQuark associated with #FoFontDesc errors. **/ GQuark fo_font_desc_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoFontDesc error"); return quark; } /** * fo_font_desc_get_type: * * Register the #FoFontDesc type if not already registered and * return its #GType value. * * Return value: #GType of #FoFontDesc. **/ GType fo_font_desc_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoFontDescClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_font_desc_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoFontDesc), 0, /* n_preallocs */ (GInstanceInitFunc) NULL, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoFontDesc", &object_info, 0); } return object_type; } /** * fo_font_desc_class_init: * @klass: #FoFontDesc object to initialise. * * Implements #GClassInitFunc for #FoFontDescClass. **/ void fo_font_desc_class_init (FoFontDescClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_font_desc_finalize; } /** * fo_font_desc_finalize: * @object: #FoFontDesc object to finalize. * * Implements #GObjectFinalizeFunc for #FoFontDesc. **/ void fo_font_desc_finalize (GObject *object) { FoFontDesc *fo_font_desc; fo_font_desc = FO_FONT_DESC (object); if (fo_font_desc->font_desc != NULL) { pango_font_description_free (fo_font_desc->font_desc); fo_font_desc->font_desc = NULL; } G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_font_desc_new: * * Creates a new #FoFontDesc. * * Return value: the newly created #FoFontDesc. **/ FoFontDesc * fo_font_desc_new (void) { FoFontDesc* fo_font_desc; fo_font_desc = g_object_new (fo_font_desc_get_type (), NULL); return fo_font_desc; } FoFontDesc * fo_font_desc_copy (const FoFontDesc *font_desc) { FoFontDesc *new_font_desc = NULL; g_return_val_if_fail (FO_IS_FONT_DESC (font_desc), NULL); new_font_desc = fo_font_desc_new (); new_font_desc->font_desc = pango_font_description_copy (font_desc->font_desc); return new_font_desc; } void fo_font_desc_set_family (FoFontDesc *font_desc, const char *family) { g_return_if_fail (FO_IS_FONT_DESC (font_desc)); pango_font_description_set_family (font_desc->font_desc, family); } void fo_font_desc_set_size (FoFontDesc *font_desc, gfloat size) { g_return_if_fail (FO_IS_FONT_DESC (font_desc)); pango_font_description_set_size (font_desc->font_desc, size * PANGO_SCALE); } static PangoStyle fo_font_style_to_pango_style (FoEnumEnum font_style) { PangoStyle pango_font_style = PANGO_STYLE_NORMAL; /* Pango doesn't support 'backslant' styles so leave 'backslant' * as 'normal' */ if (font_style == FO_ENUM_ENUM_ITALIC) { pango_font_style = PANGO_STYLE_ITALIC; } else if (font_style == FO_ENUM_ENUM_OBLIQUE) { pango_font_style = PANGO_STYLE_OBLIQUE; } return pango_font_style; } void fo_font_desc_set_style (FoFontDesc *font_desc, FoEnumEnum style) { g_return_if_fail (FO_IS_FONT_DESC (font_desc)); pango_font_description_set_style (font_desc->font_desc, fo_font_style_to_pango_style (style)); } static PangoStretch _font_stretch_to_pango_stretch (FoEnumEnum font_stretch) { PangoStretch pango_stretch = PANGO_STRETCH_NORMAL; switch (font_stretch) { case FO_ENUM_ENUM_ULTRA_CONDENSED: pango_stretch = PANGO_STRETCH_ULTRA_CONDENSED; break; case FO_ENUM_ENUM_EXTRA_CONDENSED: pango_stretch = PANGO_STRETCH_EXTRA_CONDENSED; break; case FO_ENUM_ENUM_CONDENSED: pango_stretch = PANGO_STRETCH_CONDENSED; break; case FO_ENUM_ENUM_SEMI_CONDENSED: pango_stretch = PANGO_STRETCH_SEMI_CONDENSED; break; case FO_ENUM_ENUM_SEMI_EXPANDED: pango_stretch = PANGO_STRETCH_SEMI_EXPANDED; break; case FO_ENUM_ENUM_EXPANDED: pango_stretch = PANGO_STRETCH_EXPANDED; break; case FO_ENUM_ENUM_EXTRA_EXPANDED: pango_stretch = PANGO_STRETCH_EXTRA_EXPANDED; break; case FO_ENUM_ENUM_ULTRA_EXPANDED: pango_stretch = PANGO_STRETCH_ULTRA_EXPANDED; break; default: break; } return pango_stretch; } void fo_font_desc_set_stretch (FoFontDesc *font_desc, FoEnumEnum stretch) { g_return_if_fail (FO_IS_FONT_DESC (font_desc)); pango_font_description_set_stretch (font_desc->font_desc, _font_stretch_to_pango_stretch (stretch)); } static PangoVariant fo_font_variant_to_pango_variant (FoEnumEnum font_variant) { PangoVariant pango_font_variant = PANGO_VARIANT_NORMAL; if (font_variant == FO_ENUM_ENUM_SMALL_CAPS) { pango_font_variant = PANGO_VARIANT_SMALL_CAPS; } return pango_font_variant; } void fo_font_desc_set_variant (FoFontDesc *font_desc, FoEnumEnum variant) { g_return_if_fail (FO_IS_FONT_DESC (font_desc)); pango_font_description_set_variant (font_desc->font_desc, fo_font_variant_to_pango_variant (variant)); } void fo_font_desc_set_weight (FoFontDesc *font_desc, gint weight) { g_return_if_fail (FO_IS_FONT_DESC (font_desc)); pango_font_description_set_weight (font_desc->font_desc, weight); } /** * fo_font_desc_get_font_description: * @fo_font_desc: #FoFontDesc. * * Get the #PangoFontDescription in @fo_font_desc. * * Return value: #PangoFontDescription in @fo_font_desc. **/ PangoFontDescription * fo_font_desc_get_font_description (const FoFontDesc *fo_font_desc) { g_return_val_if_fail (fo_font_desc != NULL, NULL); return fo_font_desc->font_desc; } /** * fo_font_desc_set_font_description: * @fo_font_desc: #FoFontDesc. * @font_description: #PangoFontDescription. * * Set the language in @fo_font_desc. **/ void fo_font_desc_set_font_description (FoFontDesc *fo_font_desc, PangoFontDescription *desc) { g_return_if_fail (fo_font_desc != NULL); g_return_if_fail (desc != NULL); fo_font_desc->font_desc = desc; } xmlroff-0.6.2/libfo/fo-layout.c0000644000175000017500000006243410646474743013323 00000000000000/* Fo * fo-layout.c: Object type for PangoLayout * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-object.h" #include "fo-layout-private.h" #include "fo-doc-private.h" #include "fo-font-desc-private.h" #include "libfo-pango.h" const char *fo_layout_error_messages [] = { N_("FoLayout error") }; static void fo_layout_base_init (FoLayoutClass *klass); static void fo_layout_class_init (FoLayoutClass *klass); static void fo_layout_finalize (GObject *object); static void fo_layout_debug_dump (FoObject *object, gint depth); static void fo_layout_set_line_height_default (FoLayout *fo_layout, gfloat line_height); static void fo_layout_set_line_stacking_strategy_default (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy); static gpointer parent_class; /** * fo_layout_error_quark: * * Get the error quark for #FoLayout. * * If the quark does not yet exist, create it. * * Return value: #GQuark associated with #FoLayout errors. **/ GQuark fo_layout_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoLayout error"); return quark; } /** * fo_layout_get_type: * * Register the #FoLayout type if not already registered and * return its #GType value. * * Return value: #GType of #FoLayout. **/ GType fo_layout_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLayoutClass), (GBaseInitFunc) fo_layout_base_init, NULL, /* base_finalize */ (GClassInitFunc) fo_layout_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLayout), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoLayout", &object_info, 0); } return object_type; } /** * fo_layout_base_init: * @klass: #FoLayoutClass base class object to initialise. * * Implements #GBaseInitFunc for #FoLayoutClass. **/ void fo_layout_base_init (FoLayoutClass *klass) { klass->set_line_height = fo_layout_set_line_height_default; klass->set_line_stacking_strategy = fo_layout_set_line_stacking_strategy_default; } /** * fo_layout_class_init: * @klass: #FoLayout object to initialise. * * Implements #GClassInitFunc for #FoLayoutClass. **/ void fo_layout_class_init (FoLayoutClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_layout_finalize; FO_OBJECT_CLASS (klass)->debug_dump = fo_layout_debug_dump; } /** * fo_layout_finalize: * @object: #FoLayout object to finalize. * * Implements #GObjectFinalizeFunc for #FoLayout. **/ void fo_layout_finalize (GObject *object) { FoLayout *fo_layout; fo_layout = FO_LAYOUT (object); /*g_object_unref (fo_layout->fo_doc);*/ G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_layout_new: * * Creates a new #FoLayout. * * Return value: the newly created #FoLayout. **/ FoLayout * fo_layout_new (void) { FoLayout* fo_layout; fo_layout = g_object_new (fo_layout_get_type (), NULL); return fo_layout; } /** * fo_layout_new_from_fo_doc: * @fo_doc: #FoDoc. * * Creates a new #FoLayout. * * Return value: the newly created #FoLayout. **/ FoLayout * fo_layout_new_from_fo_doc (FoDoc *fo_doc) { FoLayout* fo_layout; fo_layout = g_object_new (fo_layout_get_type (), NULL); /* FIXME: should be g_object_ref (fo_doc) but uncertain what unrefs layout */ fo_layout->fo_doc = fo_doc; fo_layout->pango_layout = pango_layout_new (fo_doc_get_pango_context (fo_doc)); return fo_layout; } static void fo_layout_pango_attr_list_add (gpointer data, gpointer pango_attr_list) { #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "pango_attr_list_add:: %d:%d:%d", ((PangoAttribute *) data)->klass->type, ((PangoAttribute *)data)->start_index, ((PangoAttribute *)data)->end_index); #endif pango_attr_list_insert (pango_attr_list, data); } /** * fo_layout_set_attributes: * @fo_layout: #FoLayout for which to set attributes. * @attr_glist: Attributes to apply to @fo_layout. * * Sets the attributes of @fo_layout to @attr_glist. **/ void fo_layout_set_attributes (FoLayout *fo_layout, GList *attr_glist) { PangoAttrList *attr_list = pango_attr_list_new (); g_return_if_fail (FO_IS_LAYOUT (fo_layout)); g_list_foreach (attr_glist, fo_layout_pango_attr_list_add, attr_list); pango_layout_set_attributes (fo_layout->pango_layout, attr_list); } /** * fo_layout_set_text: * @fo_layout: #FoLayout for which to set text. * @text: New text of @fo_layout. * * Sets the text of @fo_layout to @text. **/ void fo_layout_set_text (FoLayout *fo_layout, GString *text) { g_return_if_fail (FO_IS_LAYOUT (fo_layout)); pango_layout_set_text (fo_layout->pango_layout, text->str, text->len); } /** * fo_layout_set_width: * @fo_layout: #FoLayout for which to set width. * @width: New width, in points, of @fo_layout. * * Sets the width of @fo_layout to @width. **/ void fo_layout_set_width (FoLayout *fo_layout, gfloat width) { g_return_if_fail (FO_IS_LAYOUT (fo_layout)); pango_layout_set_width (fo_layout->pango_layout, width * PANGO_SCALE); } /** * fo_layout_set_font_desc: * @fo_layout: #FoLayout for which to set font desc. * @desc: New #FoFontDesc of @fo_layout. * * Sets the #FoFontDesc of @fo_layout to @desc. **/ void fo_layout_set_font_desc (FoLayout *fo_layout, const FoFontDesc *desc) { g_return_if_fail (FO_IS_LAYOUT (fo_layout)); pango_layout_set_font_description (fo_layout->pango_layout, fo_font_desc_get_font_description (desc)); } /** * fo_layout_set_alignment: * @fo_layout: #FoLayout to have alignment set. * @alignment: #FoEnumAreaDirection value indicating new alignment. * * Sets the alignment of @fo_layout. **/ void fo_layout_set_alignment (FoLayout *fo_layout, FoEnumAreaDirection alignment) { PangoAlignment pango_alignment = PANGO_ALIGN_LEFT; g_return_if_fail (FO_IS_LAYOUT (fo_layout)); switch (alignment) { case FO_ENUM_AREA_DIRECTION_LR: pango_alignment = PANGO_ALIGN_LEFT; break; case FO_ENUM_AREA_DIRECTION_RL: pango_alignment = PANGO_ALIGN_RIGHT; break; case FO_ENUM_AREA_DIRECTION_TB: case FO_ENUM_AREA_DIRECTION_BT: case FO_ENUM_AREA_DIRECTION_UNKNOWN: default: g_assert_not_reached (); } pango_layout_set_alignment (fo_layout->pango_layout, pango_alignment); } /** * fo_layout_set_indent: * @fo_layout: #FoLayout for which to set indent. * @indent: New indent, in points, of @fo_layout. * * Sets the indent of @fo_layout to @indent. **/ void fo_layout_set_indent (FoLayout *fo_layout, gfloat indent) { g_return_if_fail (FO_IS_LAYOUT (fo_layout)); pango_layout_set_indent (fo_layout->pango_layout, indent * PANGO_SCALE); } /** * fo_layout_set_justify: * @fo_layout: #FoLayout for which to set justify. * @justify: Sets whether or not to justify @fo_layout. * * Sets whether or not to justify @fo_layout. **/ void fo_layout_set_justify (FoLayout *fo_layout, gboolean justify) { g_return_if_fail (FO_IS_LAYOUT (fo_layout)); pango_layout_set_justify (fo_layout->pango_layout, justify); } /** * fo_layout_get_line_count: * @fo_layout: #FoLayout for which to get line count. * * Gets the number of lines in @fo_layout. * * Return value: Number of lines in @fo_layout. **/ gint fo_layout_get_line_count (FoLayout *fo_layout) { g_return_val_if_fail (FO_IS_LAYOUT (fo_layout), 0); return pango_layout_get_line_count (fo_layout->pango_layout); } /** * fo_layout_get_extents: * @fo_layout: #FoLayout for which to get extents * @logical_rect: #FoRectangle to hold extents * * Gets the extents of @fo_layout and puts them in @logical_rect. **/ void fo_layout_get_extents (FoLayout *fo_layout, FoRectangle *logical_rect) { g_return_if_fail (FO_IS_LAYOUT (fo_layout)); g_return_if_fail (logical_rect != NULL); pango_layout_get_extents (fo_layout->pango_layout, NULL, (PangoRectangle *) logical_rect); } /** * fo_layout_get_line_extents: * @fo_layout: #FoLayout for which to get line extents. * @line_index: Number of line for which to get extents. * @logical_rect: Holds result. * * Puts the extents of the line of @fo_layout given by @line_index in * @logical_rect. * * The first line has @line_index value of 0. **/ void fo_layout_get_line_extents (FoLayout *fo_layout, gint line_index, FoRectangle *logical_rect) { g_return_if_fail (FO_IS_LAYOUT (fo_layout)); g_return_if_fail (line_index >= 0); g_return_if_fail (logical_rect != NULL); pango_layout_line_get_extents (pango_layout_get_line (fo_layout->pango_layout, line_index), NULL, (PangoRectangle *) logical_rect); } /** * fo_layout_get_pango_layout: * @fo_layout: #FoLayout for which to get #PangoLayout * * Gets the #PangoLayout contained by @fo_layout. * * Return value: The #PangoLayout. **/ PangoLayout * fo_layout_get_pango_layout (FoLayout *fo_layout) { g_return_val_if_fail (FO_IS_LAYOUT (fo_layout), NULL); return fo_layout->pango_layout; } /** * fo_layout_set_line_height_default: * @fo_layout: #FoLayout. * @line_height: 'line-height' in points. * * Set the 'line-height' of @fo_layout to @line_height. **/ void fo_layout_set_line_height_default (FoLayout *fo_layout G_GNUC_UNUSED, gfloat line_height G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'set_line_height' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_layout_set_line_height: * @fo_layout: #FoLayout. * @line_height: 'line-height' in points. * * Set the 'line-height' of @fo_layout to @line_height. **/ void fo_layout_set_line_height (FoLayout *fo_layout, gfloat line_height) { FO_LAYOUT_GET_CLASS (fo_layout)->set_line_height (fo_layout, line_height); } /** * fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy: * @line_stacking_strategy: Line stacking strategy value. * * Converts @line_stacking_strategy to a #PangoLineStackingStrategy. * * Return value: The #PangoLineStackingStrategy corresponding to * @line_stacking_strategy. **/ /* PangoLineStackingStrategy fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy (FoEnumEnum line_stacking_strategy) { switch (line_stacking_strategy) { case FO_ENUM_ENUM_LINE_HEIGHT: return PANGO_LINE_STACKING_STRATEGY_LINE_HEIGHT; case FO_ENUM_ENUM_FONT_HEIGHT: return PANGO_LINE_STACKING_STRATEGY_FONT_HEIGHT; case FO_ENUM_ENUM_MAX_HEIGHT: return PANGO_LINE_STACKING_STRATEGY_MAX_HEIGHT; default: return PANGO_LINE_STACKING_STRATEGY_INVALID; } } */ /** * fo_layout_set_line_stacking_strategy: * @fo_layout: #FoLayout. * @line_stacking_strategy: Line stacking strategy to use. * * Set the 'line-stacking-strategy' property of @fo_layout to * @line_stacking_strategy. **/ void fo_layout_set_line_stacking_strategy_default (FoLayout *fo_layout G_GNUC_UNUSED, FoEnumEnum line_stacking_strategy G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'set_line_stacking_strategy' function."), fo_object_sprintf (fo_doc)); #endif } /** * fo_layout_set_line_stacking_strategy: * @fo_layout: #FoLayout. * @line_stacking_strategy: Line stacking strategy to use. * * Set the 'line-stacking-strategy' property of @fo_layout to * @line_stacking_strategy. **/ void fo_layout_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy) { FO_LAYOUT_GET_CLASS (fo_layout)->set_line_stacking_strategy (fo_layout, line_stacking_strategy); } static const char* style[] = { "Normal", "Oblique", "Italic" }; static const char* variant[] = { "Normal", "Small caps" }; static const char* stretch[] = { "Ultra condensed", "Extra condensed", "Condensed", "Semi condensed", "Normal", "Semi expanded", "Expanded", "Extra expanded", "Ultra expanded" }; void fo_layout_debug_dump (FoObject *object, gint depth G_GNUC_UNUSED) { FoLayout *fo_layout; gint start, end; PangoAttribute *attr; PangoAttrList *attr_list; PangoAttrIterator *iterator; g_return_if_fail (FO_IS_LAYOUT (object)); fo_layout = FO_LAYOUT (object); attr_list = pango_layout_get_attributes (fo_layout->pango_layout); iterator = pango_attr_list_get_iterator (attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: String:"); do { pango_attr_iterator_range(iterator, &start, &end); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d", start, end); } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Font family:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_FAMILY))) { const PangoAttrString *font_family_attr = (const PangoAttrString *) attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; family: %s", start, end, font_family_attr->value); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Font size:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_SIZE))) { const PangoAttrInt *font_size_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; size: %g", start, end, ((float) font_size_attr->value) / PANGO_SCALE); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Font weight:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_WEIGHT))) { const PangoAttrInt *font_weight_attr = (const PangoAttrInt *)attr; gint weight = font_weight_attr->value; gchar *weight_string; switch (weight) { case PANGO_WEIGHT_ULTRALIGHT: weight_string = g_strdup_printf ("%d (Ultralight)", PANGO_WEIGHT_ULTRALIGHT); break; case PANGO_WEIGHT_LIGHT: weight_string = g_strdup_printf ("%d (Light)", PANGO_WEIGHT_LIGHT); break; case PANGO_WEIGHT_NORMAL: weight_string = g_strdup_printf ("%d (Normal)", PANGO_WEIGHT_NORMAL); break; case PANGO_WEIGHT_BOLD: weight_string = g_strdup_printf ("%d (Bold)", PANGO_WEIGHT_BOLD); break; case PANGO_WEIGHT_ULTRABOLD: weight_string = g_strdup_printf ("%d (Ultrabold)", PANGO_WEIGHT_ULTRABOLD); break; case PANGO_WEIGHT_HEAVY: weight_string = g_strdup_printf ("%d (Heavy)", PANGO_WEIGHT_HEAVY); break; default: weight_string = g_strdup_printf ("%d", weight); } g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; weight: %s", start, end, weight_string); g_free (weight_string); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Font style:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_STYLE))) { const PangoAttrInt *font_style_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; style: %d (%s)", start, end, font_style_attr->value, style[font_style_attr->value]); } } while (pango_attr_iterator_next (iterator)); iterator = pango_attr_list_get_iterator (attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Font stretch:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_STRETCH))) { const PangoAttrInt *font_stretch_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; stretch: %d (%s)", start, end, font_stretch_attr->value, stretch[font_stretch_attr->value]); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Font variant:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_VARIANT))) { const PangoAttrInt *font_variant_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; variant: %d (%s)", start, end, font_variant_attr->value, variant[font_variant_attr->value]); } } while (pango_attr_iterator_next(iterator)); /* Commenting out attributes that were in PangoXSL. */ /* iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Baseline shift:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_RISE))) { const PangoAttrInt *baseline_shift_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; size: %d", start, end, baseline_shift_attr->value / PANGO_SCALE); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Line height:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, pango_attr_line_height_get_type()))) { const PangoAttrInt *line_height_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; line-height: %d", start, end, line_height_attr->value / PANGO_SCALE); } } while (pango_attr_iterator_next(iterator)); */ iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Foreground:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_FOREGROUND))) { const PangoAttrColor *color_attr = (const PangoAttrColor *) attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; color: %04x%04x%04x", start, end, color_attr->color.red, color_attr->color.green, color_attr->color.blue); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Background:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_BACKGROUND))) { const PangoAttrColor *color_attr = (const PangoAttrColor *) attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; color: %04x%04x%04x", start, end, color_attr->color.red, color_attr->color.green, color_attr->color.blue); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Shape:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, PANGO_ATTR_SHAPE))) { const PangoAttrShape *shape_attr = (const PangoAttrShape *) attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; ink: %g, %g, %g, %g; logical: %g, %g, %g, %g", start, end, (float) shape_attr->ink_rect.x / PANGO_SCALE, (float) shape_attr->ink_rect.y / PANGO_SCALE, (float) shape_attr->ink_rect.width / PANGO_SCALE, (float) shape_attr->ink_rect.height / PANGO_SCALE, (float) shape_attr->logical_rect.x / PANGO_SCALE, (float) shape_attr->logical_rect.y / PANGO_SCALE, (float) shape_attr->logical_rect.width / PANGO_SCALE, (float) shape_attr->logical_rect.height / PANGO_SCALE); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Callback:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get (iterator, libfo_pango_attr_callback_get_type()))) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; pointer: %p", start, end, libfo_pango_attr_callback_get_callback (attr)); } } while (pango_attr_iterator_next(iterator)); /* Commenting out attributes that were in PangoXSL. */ /* iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Alignment Adjust:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get (iterator, pango_attr_alignment_adjust_get_type()))) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; alignment-adjust: %d (%s)", start, end, ((PangoAttrInt *) attr)->value, baseline[((PangoAttrInt *) attr)->value]); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Alignment Baseline:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get (iterator, pango_attr_alignment_baseline_get_type()))) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; alignment-baseline: %d (%s)", start, end, ((PangoAttrInt *) attr)->value, baseline[((PangoAttrInt *) attr)->value]); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: Dominant Baseline:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, pango_attr_dominant_baseline_get_type()))) { const PangoAttrInt *dominant_baseline_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; dominant-baseline: %d (%s)", start, end, dominant_baseline_attr->value, baseline[dominant_baseline_attr->value]); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: keep-together.within-line:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, pango_attr_keep_together_within_line_get_type()))) { const PangoAttrInt *ktwl_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; keep-together.within-line: %d", start, end, ktwl_attr->value); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: keep-with-next.within-line:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, pango_attr_keep_with_next_within_line_get_type()))) { const PangoAttrInt *kwnwl_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; keep-with-next.within-line: %d", start, end, kwnwl_attr->value); } } while (pango_attr_iterator_next(iterator)); iterator = pango_attr_list_get_iterator(attr_list); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: keep-with-previous.within-line:"); do { pango_attr_iterator_range(iterator, &start, &end); if ((attr = pango_attr_iterator_get(iterator, pango_attr_keep_with_previous_within_line_get_type()))) { const PangoAttrInt *kwpwl_attr = (const PangoAttrInt *)attr; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_attr_list:: start: %d; end: %d; keep-with-next.within-line: %d", start, end, kwpwl_attr->value); } } while (pango_attr_iterator_next(iterator)); */ } xmlroff-0.6.2/libfo/fo-libfo-basic.c0000644000175000017500000001302111034112712014115 00000000000000/* Fo * fo-libfo-basic.c: 'Basic' (i.e., simple) high-level interface to libfo * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-libfo-basic.h" #include "fo-libfo.h" #include "fo-doc.h" #include "area-to-pdf.h" #include #include const char *fo_libfo_basic_error_messages [] = { N_("FoLibfo error"), N_("Unknown file format"), N_("FoLibfo warning") }; /** * fo_libfo_basic_error_quark: * * Get the error quark for #FoLibfo. * * If the quark does not yet exist, create it. * * Return value: Quark associated with #FoLibfo errors. **/ GQuark fo_libfo_basic_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoLibfoBasic error"); return quark; } /** * fo_libfo_init: * * Initialise the libfo formatter. * * Return value: %TRUE if successful. **/ gboolean fo_libfo_init (void) { g_type_init (); return TRUE; } /** * fo_libfo_init2: * @fo_malloc: Function that allocates memory. * @fo_realloc: Function that reallocates memory. * @fo_free: Function that frees memory. * * Initialise the libfo formatter and provide functions for * allocating, reallocating, and freeing memory. * * Return value: %TRUE if successful. **/ gboolean fo_libfo_init2 (FoMalloc fo_malloc, FoRealloc fo_realloc, FoFree fo_free) { GMemVTable mem_vtable = {fo_malloc, fo_realloc, fo_free, NULL, NULL, NULL}; g_mem_set_vtable (&mem_vtable); return fo_libfo_init (); } /** * fo_libfo_shutdown: * * Shutdown the libfo formatter. * * Return value: %TRUE if successful. **/ gboolean fo_libfo_shutdown (void) { xmlCleanupParser(); xmlMemoryDump(); return TRUE; } static void fo_basic_bubble_up_error (GError **dest, GQuark new_domain, gint new_code, const gchar *new_message, GError *src) { gchar *error_string = NULL; g_return_if_fail (dest == NULL || *dest == NULL); g_return_if_fail (new_domain != 0); g_return_if_fail (src != NULL); if (dest == NULL) { if (src != NULL) g_error_free (src); return; } error_string = g_strconcat (new_message, "\n", g_quark_to_string (src->domain), ": ", src->message, NULL); g_error_free (src); if (*dest != NULL) { g_warning ("Can't override existing error message.\n" "Existing error:: %s: %s\n" "New error:: %s: %s", g_quark_to_string ((*dest)->domain), (*dest)->message, g_quark_to_string (src->domain), src->message); return; } g_set_error (dest, new_domain, new_code, error_string); g_free (error_string); } gboolean fo_libfo_format (const gchar *xml, const gchar *xslt, const gchar *out, GError **error) { FoXmlDoc *result; FoXmlDoc *stylesheet_doc; FoXmlDoc *xml_doc; FoXslFormatter *fo_xsl_formatter; FoDoc *fo_doc; FoAreaToPDFData fo_area_to_pdf_data = {NULL, 0}; GError *tmp_error = NULL; g_return_val_if_fail (xml != NULL, FALSE); g_return_val_if_fail (out != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); FoLibfoContext *libfo_context = fo_libfo_context_new (); xml_doc = fo_xml_doc_new_from_filename (xml, libfo_context, &tmp_error); if (tmp_error != NULL) { fo_basic_bubble_up_error (error, FO_LIBFO_BASIC_ERROR, FO_LIBFO_BASIC_ERROR_FAILED, _(fo_libfo_basic_error_messages[FO_LIBFO_BASIC_ERROR_FAILED]), tmp_error); return FALSE; } if (xslt == NULL) { result = xml_doc; } else { stylesheet_doc = fo_xml_doc_new_from_filename (xslt, libfo_context, &tmp_error); if (tmp_error != NULL) { fo_basic_bubble_up_error (error, FO_LIBFO_BASIC_ERROR, FO_LIBFO_BASIC_ERROR_FAILED, _(fo_libfo_basic_error_messages[FO_LIBFO_BASIC_ERROR_FAILED]), tmp_error); return FALSE; } result = fo_xml_doc_ref (fo_xslt_transformer_do_transform (xml_doc, stylesheet_doc, &tmp_error)); if (tmp_error != NULL) { fo_basic_bubble_up_error (error, FO_LIBFO_BASIC_ERROR, FO_LIBFO_BASIC_ERROR_FAILED, _(fo_libfo_basic_error_messages[FO_LIBFO_BASIC_ERROR_FAILED]), tmp_error); return FALSE; } } fo_xsl_formatter = fo_xsl_formatter_new (); fo_xsl_formatter_set_result_tree (fo_xsl_formatter, result); fo_doc = fo_doc_new_from_type (NULL); fo_doc_open_file (fo_doc, out, libfo_context, &tmp_error); if (tmp_error != NULL) { fo_basic_bubble_up_error (error, FO_LIBFO_BASIC_ERROR, FO_LIBFO_BASIC_ERROR_FAILED, _(fo_libfo_basic_error_messages[FO_LIBFO_BASIC_ERROR_FAILED]), tmp_error); return FALSE; } fo_xsl_formatter_set_fo_doc (fo_xsl_formatter, fo_doc); fo_xsl_formatter_format (fo_xsl_formatter, libfo_context, &tmp_error); if (tmp_error != NULL) { fo_basic_bubble_up_error (error, FO_LIBFO_BASIC_ERROR, FO_LIBFO_BASIC_ERROR_FAILED, _(fo_libfo_basic_error_messages[FO_LIBFO_BASIC_ERROR_FAILED]), tmp_error); return FALSE; } fo_area_to_pdf_data.fo_doc = fo_doc; fo_area_tree_to_pdf (FO_AREA (fo_xsl_formatter_get_area_tree (fo_xsl_formatter)), &fo_area_to_pdf_data); g_object_unref (fo_xsl_formatter); g_object_unref (fo_doc); g_object_unref (libfo_context); fo_libfo_shutdown (); return TRUE; } xmlroff-0.6.2/libfo/fo-libfo-context.c0000644000175000017500000003437511026525030014541 00000000000000/* Fo * fo-libfo-context.c: 'FoLibfoContext' object type * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "libfo/fo-utils.h" #include "libfo/fo-libfo-context.h" #include "fo-object.h" /** * SECTION:fo-libfo-context * @short_description: Collected information about the processing context * * Collected information about the processing context in which to do the formatting. * * This context contains parameters that are not part of the XML for * the FO, e.g., whether or not to validate the input and whether or * not to embed fonts in the output. */ GType fo_flags_format_get_type (void) { static GType ftype = 0; if (ftype == 0) { static const GFlagsValue values[] = { { FO_FLAG_FORMAT_UNKNOWN, "FO_FLAG_FORMAT_UNKNOWN", "unknown" }, { FO_FLAG_FORMAT_AUTO, "FO_FLAG_FORMAT_AUTO", "auto" }, { FO_FLAG_FORMAT_PDF, "FO_FLAG_FORMAT_PDF", "PDF" }, { FO_FLAG_FORMAT_POSTSCRIPT, "FO_FLAG_FORMAT_POSTSCRIPT", "PostScript" }, { FO_FLAG_FORMAT_SVG, "FO_FLAG_FORMAT_SVG", "SVG" }, { 0, NULL, NULL } }; ftype = g_flags_register_static ("FoFlagsFormat", values); } return ftype; } GType fo_enum_font_embed_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { FO_ENUM_FONT_EMBED_INVALID, "FO_ENUM_FONT_EMBED_INVALID", "invalid" }, { FO_ENUM_FONT_EMBED_ALL, "FO_ENUM_FONT_EMBED_ALL", "all" }, { FO_ENUM_FONT_EMBED_NONBASE, "FO_ENUM_FONT_EMBED_NONBASE", "nonbase" }, { FO_ENUM_FONT_EMBED_NONE, "FO_ENUM_FONT_EMBED_NONE", "none" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("FoEnumFontEmbed", values); } return etype; } struct _FoLibfoContext { FoObject parent_instance; gboolean validation; FoFlagsFormat format; FoEnumFontEmbed font_embed; FoWarningFlag warning_mode; gboolean continue_after_error; FoDebugFlag debug_mode; }; struct _FoLibfoContextClass { FoObjectClass parent_class; }; enum { PROP_0, PROP_XML, PROP_XSLT, PROP_FO_TREE, PROP_AREA_TREE, PROP_OUTPUT, PROP_FORMAT, PROP_FONT_EMBED, PROP_VALIDATION, PROP_CONTINUE, PROP_DEBUG_MODE, PROP_WARNING_MODE }; static void fo_libfo_context_init (FoLibfoContext *libfo_context); static void fo_libfo_context_class_init (FoLibfoContextClass *klass); static void fo_libfo_context_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_libfo_context_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static gpointer parent_class; /** * fo_libfo_context_get_type: * * Register the #FoLibfoContext type if not already registered and * return its #GType value. * * Return value: #GType of #FoLibfoContext. **/ GType fo_libfo_context_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLibfoContextClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_libfo_context_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLibfoContext), 0, /* n_preallocs */ (GInstanceInitFunc) fo_libfo_context_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoLibfoContext", &object_info, 0); } return object_type; } /** * fo_libfo_context_init: * @libfo_context: #FoLibfoContext object to initialise. * * Implements #GInstanceInitFunc for #FoLibfoContext. * * Initialises format to %FO_FLAG_FORMAT_AUTO. **/ void fo_libfo_context_init (FoLibfoContext *libfo_context) { libfo_context->format = FO_FLAG_FORMAT_AUTO; } /** * fo_libfo_context_class_init: * @klass: #FoLibfoContextClass object to initialise. * * Implements #GClassInitFunc for #FoLibfoContextClass. **/ void fo_libfo_context_class_init (FoLibfoContextClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->get_property = fo_libfo_context_get_property; object_class->set_property = fo_libfo_context_set_property; g_object_class_install_property (object_class, PROP_FORMAT, g_param_spec_flags ("format", _("Output format"), _("Output file format"), FO_TYPE_FLAGS_FORMAT, FO_FLAG_FORMAT_PDF, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FORMAT, g_param_spec_enum ("font-embed", _("Font embed"), _("Font embedding mode"), FO_TYPE_ENUM_FONT_EMBED, FO_ENUM_FONT_EMBED_NONBASE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_VALIDATION, g_param_spec_boolean ("validation", _("Validation enabled?"), _("Is validation of the input XML source enabled?"), TRUE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_VALIDATION, g_param_spec_boolean ("continue", _("Continue after error?"), _("Continue formatting after any formatting errors?"), FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_DEBUG_MODE, g_param_spec_int ("debug-mode", _("Debug mode"), _("Debugging mode"), 0, FO_DEBUG_MAX, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_WARNING_MODE, g_param_spec_int ("warning-mode", _("Warning mode"), _("Warning mode"), 0, FO_WARNING_MAX, 0, G_PARAM_READWRITE)); } /** * fo_libfo_context_get_property: * @object: #GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: #GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for #FoLibfoContext **/ void fo_libfo_context_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec) { FoLibfoContext *libfo_context = FO_LIBFO_CONTEXT (object); switch (param_id) { case PROP_FORMAT: g_value_set_enum (value, libfo_context->format); break; case PROP_FONT_EMBED: g_value_set_enum (value, libfo_context->font_embed); break; case PROP_VALIDATION: g_value_set_boolean (value, libfo_context->validation); break; case PROP_CONTINUE: g_value_set_boolean (value, libfo_context->continue_after_error); break; case PROP_DEBUG_MODE: g_value_set_int (value, libfo_context->debug_mode); break; case PROP_WARNING_MODE: g_value_set_int (value, libfo_context->warning_mode); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_libfo_context_set_property: * @object: #GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for #FoLibfoContext **/ void fo_libfo_context_set_property (GObject *object, guint param_id, const GValue *value, GParamSpec *pspec) { FoLibfoContext *fo_libfo_context; fo_libfo_context = FO_LIBFO_CONTEXT (object); switch (param_id) { case PROP_FORMAT: fo_libfo_context_set_format (fo_libfo_context, g_value_get_enum (value)); break; case PROP_FONT_EMBED: fo_libfo_context_set_font_embed (fo_libfo_context, g_value_get_enum (value)); break; case PROP_VALIDATION: fo_libfo_context_set_validation (fo_libfo_context, g_value_get_boolean (value)); break; case PROP_CONTINUE: fo_libfo_context_set_continue_after_error (fo_libfo_context, g_value_get_boolean (value)); break; case PROP_DEBUG_MODE: fo_libfo_context_set_debug_mode (fo_libfo_context, g_value_get_int (value)); break; case PROP_WARNING_MODE: fo_libfo_context_set_warning_mode (fo_libfo_context, g_value_get_int (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_libfo_context_new: * * Creates a new #FoLibfoContext initialized to default value. * * Return value: The new #FoLibfoContext. **/ FoLibfoContext * fo_libfo_context_new (void) { FoLibfoContext* libfo_context; libfo_context = g_object_new (fo_libfo_context_get_type (), NULL); return libfo_context; } /** * fo_libfo_context_get_format: * @libfo_context: #FoLibfoContext. * * Get the 'format' property of @libfo_context. * * Return value: Value of the 'format' property of @libfo_context. **/ FoFlagsFormat fo_libfo_context_get_format (FoLibfoContext *libfo_context) { g_return_val_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context), FO_FLAG_FORMAT_UNKNOWN); return libfo_context->format; } /** * fo_libfo_context_set_format: * @libfo_context: #FoLibfoContext. * @format: New 'format' value for @libfo_context. * * Set the 'format' property of @libfo_context. * * If more that one flag value is set in @format, only the first * (lowest) set value will be used. **/ void fo_libfo_context_set_format (FoLibfoContext *libfo_context, FoFlagsFormat format) { g_return_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context)); g_return_if_fail (g_flags_get_first_value (g_type_class_peek (FO_TYPE_FLAGS_FORMAT), format) != NULL); libfo_context->format = g_flags_get_first_value (g_type_class_peek (FO_TYPE_FLAGS_FORMAT), format)->value; } /** * fo_libfo_context_get_font_embed: * @libfo_context: #FoLibfoContext. * * Get the 'font-embed' property of @libfo_context. * * Return value: Value of the 'font-embed' property of @libfo_context. **/ FoEnumFontEmbed fo_libfo_context_get_font_embed (FoLibfoContext *libfo_context) { g_return_val_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context), FO_ENUM_FONT_EMBED_INVALID); return libfo_context->font_embed; } /** * fo_libfo_context_set_font_embed: * @libfo_context: #FoLibfoContext. * @font_embed: New 'font-embed' value for @libfo_context. * * Set the 'font-embed' property of @libfo_context. **/ void fo_libfo_context_set_font_embed (FoLibfoContext *libfo_context, FoEnumFontEmbed font_embed) { g_return_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context)); g_return_if_fail (g_enum_get_value (g_type_class_peek (FO_TYPE_ENUM_FONT_EMBED), font_embed) != NULL); libfo_context->font_embed = font_embed; } /** * fo_libfo_context_get_validation: * @libfo_context: #FoLibfoContext. * * Get the 'validation' property of @libfo_context. * * Return value: Value of the 'validation' property of @libfo_context. **/ gboolean fo_libfo_context_get_validation (FoLibfoContext *libfo_context) { g_return_val_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context), FALSE); return libfo_context->validation; } /** * fo_libfo_context_set_validation: * @libfo_context: #FoLibfoContext. * @validation: New 'validation' value for @libfo_context. * * Set the 'validation' property of @libfo_context. **/ void fo_libfo_context_set_validation (FoLibfoContext *libfo_context, gboolean validation) { g_return_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context)); libfo_context->validation = validation; } /** * fo_libfo_context_get_continue_after_error: * @libfo_context: #FoLibfoContext. * * Get the 'continue' property of @libfo_context. * * Return value: Value of the 'continue' property of @libfo_context. **/ gboolean fo_libfo_context_get_continue_after_error (FoLibfoContext *libfo_context) { g_return_val_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context), FALSE); return libfo_context->continue_after_error; } /** * fo_libfo_context_set_continue_after_error: * @libfo_context: #FoLibfoContext. * @continue_after_error: New 'continue' value for @libfo_context. * * Set the 'continue' property of @libfo_context. **/ void fo_libfo_context_set_continue_after_error (FoLibfoContext *libfo_context, gboolean continue_after_error) { g_return_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context)); libfo_context->continue_after_error = continue_after_error; } /** * fo_libfo_context_get_warning_mode: * @libfo_context: #FoLibfoContext. * * Get the 'warning_mode' property of @libfo_context. * * Return value: Value of the 'warning_mode' property of @libfo_context. **/ FoWarningFlag fo_libfo_context_get_warning_mode (FoLibfoContext *libfo_context) { g_return_val_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context), 0); return libfo_context->warning_mode; } /** * fo_libfo_context_set_warning_mode: * @libfo_context: #FoLibfoContext. * @warning_mode: New 'warning-mode' value for @libfo_context. * * Set the 'warning-mode' property of @libfo_context. **/ void fo_libfo_context_set_warning_mode (FoLibfoContext *libfo_context, FoWarningFlag warning_mode) { g_return_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context)); g_return_if_fail (warning_mode <= FO_WARNING_MAX); libfo_context->warning_mode = warning_mode; } /** * fo_libfo_context_get_debug_mode: * @libfo_context: #FoLibfoContext. * * Get the 'debug_mode' property of @libfo_context. * * Return value: Value of the 'debug_mode' property of @libfo_context. **/ FoDebugFlag fo_libfo_context_get_debug_mode (FoLibfoContext *libfo_context) { g_return_val_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context), 0); return libfo_context->debug_mode; } /** * fo_libfo_context_set_debug_mode: * @libfo_context: #FoLibfoContext. * @debug_mode: New 'debug-mode' value for @libfo_context. * * Set the 'debug-mode' property of @libfo_context. **/ void fo_libfo_context_set_debug_mode (FoLibfoContext *libfo_context, FoDebugFlag debug_mode) { g_return_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context)); libfo_context->debug_mode = debug_mode; } xmlroff-0.6.2/libfo/fo-libfo-module.c0000644000175000017500000001052611033701176014337 00000000000000/* Fo * fo-libfo-module.c: Formatting object that is module of possible fo:libfo * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-libfo-module-private.h" #include "fo-libfo.h" enum { PROP_0 }; static void fo_libfo_module_base_init (FoLibfoModuleClass *klass); static gint _version_default (void); static const gchar * _version_string_default (void); static const LibfoVersionInfo * _version_info_default (void); GType fo_libfo_module_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLibfoModuleClass), (GBaseInitFunc) fo_libfo_module_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLibfoModule), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoLibfoModule", &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_libfo_module_base_init: * @klass: #FoLibfoModuleClass base class object to initialise. * * Implements #GBaseInitFunc for #FoLibfoModuleClass. **/ void fo_libfo_module_base_init (FoLibfoModuleClass *klass) { klass->version = _version_default; klass->version_string = _version_string_default; klass->version_info = _version_info_default; } gint _version_default () { return 0; } /** * fo_libfo_module_version_from_name: * @name: Registered #FoObject type name, e.g., "FoDocCairo" * * Gets the runtime version of the library underlying the * #FoLibfoModule implementation. * * This function just returns what the underlying library provides, if * anything, so version numbers can only meaningfully be compared * against version numbers of the same library implementation. * * Returns: Library version, or 0 if the underlying library does not * make its version number available at runtime **/ gint fo_libfo_module_version_from_name (const gchar *name) { g_return_val_if_fail (name != NULL, 0); gint version = 0; GType type = g_type_from_name (name); if (g_type_is_a (type, fo_libfo_module_get_type ())) { gpointer klass = g_type_class_ref (type); version = ((FoLibfoModuleClass *) klass)->version (); g_type_class_unref (klass); } return version; } const gchar * _version_string_default () { return NULL; } /** * fo_libfo_module_version_string_from_name: * @name: Registered #FoObject type name, e.g., "FoDocCairo" * * Gets the runtime version of the library underlying the * #FoLibfoModule implementation as a human-readable string. * * The string is likely to be of the form "X.Y.Z", e.g., "1.0.0", but * this function just returns what the underlying library provides, so * nothing is guaranteed. * * Returns: Library version, or %NULL if the underlying library does * not make its version number available at runtime **/ const gchar * fo_libfo_module_version_string_from_name (const gchar *name) { g_return_val_if_fail (name != NULL, NULL); const gchar *version = NULL; GType type = g_type_from_name (name); if (g_type_is_a (type, fo_libfo_module_get_type ())) { gpointer klass = g_type_class_ref (type); version = ((FoLibfoModuleClass *) klass)->version_string (); g_type_class_unref (klass); } return version; } const LibfoVersionInfo * _version_info_default () { return NULL; } /** * fo_libfo_module_version_info_from_name: * @name: Registered #FoObject type name, e.g., "FoDocCairo" * * Gets the #LibfoVersionInfo for * * Returns: **/ const LibfoVersionInfo * fo_libfo_module_version_info_from_name (const gchar *name) { g_return_val_if_fail (name != NULL, NULL); const LibfoVersionInfo *version_info = NULL; GType type = g_type_from_name (name); if (g_type_is_a (type, fo_libfo_module_get_type ())) { gpointer klass = g_type_class_ref (type); version_info = ((FoLibfoModuleClass *) klass)->version_info (); g_type_class_unref (klass); } return version_info; } xmlroff-0.6.2/libfo/fo-xml-doc.c0000644000175000017500000002121611033714225013321 00000000000000/* Fo * fo-xml-doc.c: Boxed object type for libxml2 xmlDoc document * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-xml-doc-private.h" /** * SECTION:fo-xml-doc * @short_description: libxml2 xmlDoc document * * Boxed object type for libxml2 xmlDoc document. */ extern int xmlLoadExtDtdDefaultValue; const char *fo_xml_doc_error_messages [] = { N_("FoXmlDoc error"), N_("Unable to parse XML file: %s"), N_("Unable to parse XML file from memory or string"), N_("Cannot open input document: '%s'") }; struct _FoXmlDoc { xmlDocPtr xml_doc; gchar *filename; guint ref_count; }; static LibfoVersionInfo version_info = { LIBFO_MODULE_XML_DOC, "libxml2", NULL, LIBXML_VERSION, LIBXML_VERSION_STRING, 0, NULL }; /** * fo_xml_doc_error_quark: * * Get the error quark for #FoXmlDoc. * * If the quark does not yet exist, create it. * * Return value: Quark associated with #FoXmlDoc errors. **/ GQuark fo_xml_doc_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoXmlDoc error"); return quark; } /** * fo_xml_doc_get_type: * * Register the #FoXmlDoc object type. * * Return value: #GType value of the #FoXmlDoc object type. **/ GType fo_xml_doc_get_type (void) { static GType our_type = 0; if (our_type == 0) our_type = g_boxed_type_register_static ("FoXmlDoc", (GBoxedCopyFunc) fo_xml_doc_ref, (GBoxedFreeFunc) fo_xml_doc_unref); return our_type; } const LibfoVersionInfo * fo_xml_doc_version_info (void) { return &version_info; } /** * fo_xml_doc_new: * * Creates a new #FoXmlDoc. * * Return value: the newly created #FoXmlDoc. Use #fo_xml_doc_unref to free the * result. **/ FoXmlDoc * fo_xml_doc_new (void) { FoXmlDoc *fo_xml_doc = g_new0 (FoXmlDoc, 1); fo_xml_doc->ref_count = 1; return fo_xml_doc; } static gint context_to_libxml2_options (FoLibfoContext *context) { /* Begin with unchanging defaults. */ gint options = XML_PARSE_NOENT; /* Set 'options' according to 'libfo_context' settings. */ if (context != NULL) { if (fo_libfo_context_get_validation (context) == TRUE) { options |= XML_PARSE_DTDVALID; } } return options; } /** * fo_xml_doc_new_from_filename: * @filename: File or URL from which to create an #FoXmlDoc. * @libfo_context: #FoLibfoContext with parameters affecting parsing. * @error: Indication of any error that occurred. * * Creates a new #FoXmlDoc. * * Return value: the newly created #FoXmlDoc. Use fo_xml_doc_unref to free the * result. **/ FoXmlDoc * fo_xml_doc_new_from_filename (const gchar *filename, FoLibfoContext *libfo_context, GError **error) { FoXmlDoc *fo_xml_doc = fo_xml_doc_new (); fo_xml_doc->xml_doc = xmlReadFile (filename, NULL, context_to_libxml2_options (libfo_context)); if (fo_xml_doc->xml_doc == NULL) { g_free (fo_xml_doc); fo_xml_doc = NULL; g_set_error (error, FO_XML_DOC_ERROR, FO_XML_DOC_ERROR_FILENAME_PARSE_FAILED, _(fo_xml_doc_error_messages[FO_XML_DOC_ERROR_FILENAME_PARSE_FAILED]), filename); } return fo_xml_doc; } /** * fo_xml_doc_new_from_memory: * @buffer: Pointer to a char array. * @size: Size of the array. * @URL: Base URL to use for the document. * @encoding: The encoding of the document, or NULL. * @libfo_context: #FoLibfoContext with parameters affecting parsing. * @error: Indication of any error that occurred. * * Creates a new #FoXmlDoc. * * Return value: the newly created #FoXmlDoc. Use #fo_xml_doc_unref to free the * result. **/ FoXmlDoc * fo_xml_doc_new_from_memory (const gchar *buffer, gint size, const gchar *URL, const gchar *encoding, FoLibfoContext *libfo_context, GError **error) { FoXmlDoc *fo_xml_doc = fo_xml_doc_new (); fo_xml_doc->xml_doc = xmlReadMemory (buffer, size, URL, encoding, context_to_libxml2_options (libfo_context)); if (fo_xml_doc->xml_doc == NULL) { g_free (fo_xml_doc); fo_xml_doc = NULL; g_set_error (error, FO_XML_DOC_ERROR, FO_XML_DOC_ERROR_MEMORY_PARSE_FAILED, _(fo_xml_doc_error_messages[FO_XML_DOC_ERROR_MEMORY_PARSE_FAILED])); } return fo_xml_doc; } /** * fo_xml_doc_new_from_string: * @curr: Pointer to a zero-terminated string. * @URL: Base URL to use for the document. * @encoding: The encoding of the document, or NULL. * @libfo_context: #FoLibfoContext with parameters affecting parsing. * @error: Indication of any error that occurred. * * Creates a new #FoXmlDoc. * * Return value: the newly created #FoXmlDoc. Use #fo_xml_doc_unref to free the * result. **/ FoXmlDoc * fo_xml_doc_new_from_string (const gchar *curr, const gchar *URL, const gchar *encoding, FoLibfoContext *libfo_context, GError **error) { FoXmlDoc *fo_xml_doc = fo_xml_doc_new (); fo_xml_doc->xml_doc = xmlReadDoc ((xmlChar *) curr, URL, encoding, context_to_libxml2_options (libfo_context)); if (fo_xml_doc->xml_doc == NULL) { g_free (fo_xml_doc); fo_xml_doc = NULL; g_set_error (error, FO_XML_DOC_ERROR, FO_XML_DOC_ERROR_MEMORY_PARSE_FAILED, _(fo_xml_doc_error_messages[FO_XML_DOC_ERROR_MEMORY_PARSE_FAILED])); } return fo_xml_doc; } /** * fo_xml_doc_ref: * @fo_xml_doc: a #FoXmlDoc * * Make a copy of a #FoXmlDoc. * * Return value: a newly allocated #FoXmlDoc. This value * must be freed using #fo_xml_doc_unref(). **/ FoXmlDoc * fo_xml_doc_ref (FoXmlDoc *fo_xml_doc) { g_return_val_if_fail (fo_xml_doc != NULL, NULL); g_return_val_if_fail (fo_xml_doc->ref_count > 0, NULL); fo_xml_doc->ref_count += 1; return fo_xml_doc; } /** * fo_xml_doc_unref: * @fo_xml_doc: #FoXmlDoc. * * Unref and possibly free a #FoXmlDoc. **/ void fo_xml_doc_unref (FoXmlDoc *fo_xml_doc) { g_return_if_fail (fo_xml_doc != NULL); g_return_if_fail (fo_xml_doc->ref_count > 0); fo_xml_doc->ref_count -= 1; if (fo_xml_doc->ref_count == 0) { if (fo_xml_doc->filename != NULL) g_free (fo_xml_doc->filename); if (fo_xml_doc->xml_doc != NULL) xmlFreeDoc (fo_xml_doc->xml_doc); g_free (fo_xml_doc); } } /** * fo_xml_doc_get_xml_doc: * @fo_xml_doc: #FoXmlDoc * * Get the xmlDocPtr in @fo_xml_doc. * * Return value: #xmlDocPtr. **/ xmlDocPtr fo_xml_doc_get_xml_doc (FoXmlDoc *fo_xml_doc) { g_return_val_if_fail (fo_xml_doc != NULL, NULL); return fo_xml_doc->xml_doc; } /** * fo_xml_doc_set_xml_doc: * @fo_xml_doc: #FoXmlDoc. * @xml_doc: #xmlDocPtr. * * Set the output #xmlDocPtr in @fo_xml_doc. Voids the parsed result. **/ void fo_xml_doc_set_xml_doc (FoXmlDoc *fo_xml_doc, xmlDocPtr xml_doc) { g_return_if_fail (fo_xml_doc != NULL); if (fo_xml_doc->filename != NULL) { g_free (fo_xml_doc->filename); fo_xml_doc->filename = NULL; } if (fo_xml_doc->xml_doc != NULL) { xmlFreeDoc (fo_xml_doc->xml_doc); fo_xml_doc->xml_doc = NULL; } fo_xml_doc->xml_doc = xml_doc; } /** * fo_xml_doc_set_filename: * @fo_xml_doc: #FoXmlDoc * @filename: Filename of file to be parsed. * * Set the filename in @fo_xml_doc. Voids the parsed result. **/ void fo_xml_doc_set_filename (FoXmlDoc *fo_xml_doc, const gchar *filename) { g_return_if_fail (fo_xml_doc != NULL); if (fo_xml_doc->filename != NULL) g_free (fo_xml_doc->filename); if (fo_xml_doc->xml_doc != NULL) { xmlFreeDoc (fo_xml_doc->xml_doc); fo_xml_doc->xml_doc = NULL; } fo_xml_doc->filename = g_strdup (filename); } /** * fo_xml_doc_set_base: * @fo_xml_doc: #FoXmlDoc for which to get base URL. * * Gets the base URL of @fo_xml_doc. **/ gchar* fo_xml_doc_get_base (FoXmlDoc *fo_xml_doc) { gchar *base = NULL; gchar *return_base = NULL; g_return_val_if_fail (fo_xml_doc != NULL, NULL); base = (gchar *) xmlNodeGetBase (NULL, (xmlNodePtr) fo_xml_doc->xml_doc); return_base = g_strdup (base); xmlFree (base); return return_base; } /** * fo_xml_doc_set_base: * @fo_xml_doc: #FoXmlDoc for which to set base * @URL: New xml:base URL * * Sets the base URL of @fo_xml_doc. **/ void fo_xml_doc_set_base (FoXmlDoc *fo_xml_doc, const gchar *URL) { g_return_if_fail (fo_xml_doc != NULL); xmlNodeSetBase ((xmlNodePtr) fo_xml_doc->xml_doc, (const xmlChar*) URL); } xmlroff-0.6.2/libfo/fo-xml-node.c0000644000175000017500000000625310643167400013510 00000000000000/* Fo * fo-xml-node.c: Boxed object type for libxml2 xmlNode nodeument * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-xml-node-private.h" extern int xmlLoadExtDtdDefaultValue; const char *fo_xml_node_error_messages [] = { N_("FoXmlNode error"), N_("Unable to parse XML file: %s"), N_("Cannot open input nodeument: '%s'") }; struct _FoXmlNode { xmlNodePtr xml_node; guint ref_count; }; /** * fo_xml_node_error_quark: * * Get the error quark for #FoXmlNode. * * If the quark does not yet exist, create it. * * Return value: Quark associated with #FoXmlNode errors. **/ GQuark fo_xml_node_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoXmlNode error"); return quark; } /** * fo_xml_node_get_type: * * Register the #FoXmlNode object type. * * Return value: #GType value of the #FoXmlNode object type. **/ GType fo_xml_node_get_type (void) { static GType our_type = 0; if (our_type == 0) our_type = g_boxed_type_register_static ("FoXmlNode", (GBoxedCopyFunc) fo_xml_node_ref, (GBoxedFreeFunc) fo_xml_node_unref); return our_type; } /** * fo_xml_node_new: * * Creates a new #FoXmlNode. * * Return value: the newly created #FoXmlNode. Use fo_xml_node_unref to free the * result. **/ FoXmlNode * fo_xml_node_new (void) { FoXmlNode *fo_xml_node = g_new0 (FoXmlNode, 1); fo_xml_node->ref_count = 1; return fo_xml_node; } /** * fo_xml_node_ref: * @fo_xml_node: a #FoXmlNode * * Make a copy of a #FoXmlNode. * * Return value: a newly allocated #FoXmlNode. This value * must be freed using fo_xml_node_unref(). **/ FoXmlNode * fo_xml_node_ref (FoXmlNode *fo_xml_node) { g_return_val_if_fail (fo_xml_node != NULL, NULL); g_return_val_if_fail (fo_xml_node->ref_count > 0, NULL); fo_xml_node->ref_count += 1; return fo_xml_node; } /** * fo_xml_node_unref: * @fo_xml_node: #FoXmlNode. * * Unref and possibly free a #FoXmlNode. **/ void fo_xml_node_unref (FoXmlNode *fo_xml_node) { g_return_if_fail (fo_xml_node != NULL); g_return_if_fail (fo_xml_node->ref_count > 0); fo_xml_node->ref_count -= 1; if (fo_xml_node->ref_count == 0) { if (fo_xml_node->xml_node != NULL) xmlFreeNode (fo_xml_node->xml_node); g_free (fo_xml_node); } } /** * fo_xml_node_get_xml_node: * @fo_xml_node: #FoXmlNode * * Get the xmlNodePtr in @fo_xml_node. * * Return value: #xmlNodePtr. **/ xmlNodePtr fo_xml_node_get_xml_node (FoXmlNode *fo_xml_node) { g_return_val_if_fail (fo_xml_node != NULL, NULL); return fo_xml_node->xml_node; } /** * fo_xml_node_set_xml_node: * @fo_xml_node: #FoXmlNode. * @xml_node: #xmlNodePtr. * * Set the output #xmlNodePtr in @fo_xml_node. **/ void fo_xml_node_set_xml_node (FoXmlNode *fo_xml_node, xmlNodePtr xml_node) { g_return_if_fail (fo_xml_node != NULL); if (fo_xml_node->xml_node != NULL) { xmlFreeNode (fo_xml_node->xml_node); fo_xml_node->xml_node = NULL; } fo_xml_node->xml_node = xml_node; } xmlroff-0.6.2/libfo/fo-xslt-transformer.c0000644000175000017500000000724011033714320015305 00000000000000/* Fo * fo-xslt-transformer.c: Wrapper for libxslt XSLT processor * * Copyright (C) 2003-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #include #include "libfo/fo-utils.h" #include "fo-xml-doc-private.h" #include "fo-xslt-transformer.h" /** * SECTION:fo-xslt-transformer * @short_description: libxslt XSLT processor * * Wrapper for libxslt XSLT processor. */ extern int xmlLoadExtDtdDefaultValue; const char *fo_xslt_transformer_error_messages [] = { N_("FoXsltTransformer error"), N_("XSLT transform failed"), N_("No input stylesheet specified"), N_("No input XML document"), N_("Parsing stylesheet as stylesheet failed"), }; static LibfoVersionInfo version_info = { LIBFO_MODULE_XSLT_PROCESSOR, "libxslt", NULL, LIBXSLT_VERSION, LIBXSLT_VERSION_STRING, 0, NULL }; /** * fo_xslt_transformer_error_quark: * * Get the error quark for #FoXsltTransformer. * * If the quark does not yet exist, create it. * * Return value: #GQuark associated with #FoXsltTransformer errors. **/ GQuark fo_xslt_transformer_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoXsltTransformer error"); return quark; } const LibfoVersionInfo * fo_xslt_transformer_version_info (void) { version_info.runtime = xsltLibxsltVersion; version_info.runtime_string = xsltEngineVersion; return &version_info; } /** * fo_xslt_transformer_do_transform: * @xml_doc: Input document. * @stylesheet_doc: Stylesheet document. * @error: Indication of any error that occurred. * * Apply @stylesheet_doc to @xml_doc and return the result. * * Frees @stylesheet_doc. * * Return value: A new result tree that is freed by the caller. **/ FoXmlDoc * fo_xslt_transformer_do_transform (FoXmlDoc *xml_doc, FoXmlDoc *stylesheet_doc, GError **error) { FoXmlDoc *result_tree = NULL; g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (stylesheet_doc == NULL) { g_set_error (error, FO_XSLT_TRANSFORMER_ERROR, FO_XSLT_TRANSFORMER_ERROR_NO_STYLESHEET_DOC, _(fo_xslt_transformer_error_messages[FO_XSLT_TRANSFORMER_ERROR_NO_STYLESHEET_DOC])); return NULL; } if (xml_doc == NULL) { g_set_error (error, FO_XSLT_TRANSFORMER_ERROR, FO_XSLT_TRANSFORMER_ERROR_NO_XML_DOC, _(fo_xslt_transformer_error_messages[FO_XSLT_TRANSFORMER_ERROR_NO_XML_DOC])); return NULL; } xsltStylesheetPtr stylesheet = xsltParseStylesheetDoc (fo_xml_doc_get_xml_doc (stylesheet_doc)); if (stylesheet == NULL) { g_set_error (error, FO_XSLT_TRANSFORMER_ERROR, FO_XSLT_TRANSFORMER_ERROR_PARSE_FAILED, _(fo_xslt_transformer_error_messages[FO_XSLT_TRANSFORMER_ERROR_PARSE_FAILED])); return NULL; } else { xmlDocPtr result_doc = xsltApplyStylesheet(stylesheet, fo_xml_doc_get_xml_doc (xml_doc), NULL); if (result_doc == NULL) { g_set_error (error, FO_XSLT_TRANSFORMER_ERROR, FO_XSLT_TRANSFORMER_ERROR_TRANSFORM_FAILED, _(fo_xslt_transformer_error_messages[FO_XSLT_TRANSFORMER_ERROR_TRANSFORM_FAILED])); return NULL; } xsltFreeStylesheet (stylesheet); gchar *base = fo_xml_doc_get_base (xml_doc); result_tree = fo_xml_doc_new (); fo_xml_doc_set_xml_doc (result_tree, result_doc); fo_xml_doc_set_base (result_tree, base); g_free (base); } return result_tree; } xmlroff-0.6.2/libfo/fo-xsl-formatter.c0000644000175000017500000007754611150762451014612 00000000000000/* Fo * fo-xsl-formatter.c: Object type for libxslt XSLT processor * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "config.h" #include #include "fo-utils.h" #include "fo-xml-doc-private.h" #include "fo-xml-node-private.h" #include "fo-doc-private.h" #include "fo-doc-gp.h" #include "fo-xsl-formatter.h" #include "fo/fo-fo-private.h" #include "fo/fo-all-fo.h" #include "property/fo-property-eval.h" #include "area/fo-area.h" #include "area/fo-area-tree.h" #include "area-to-pdf.h" #include #include #include #include #include #include #include #include const char *fo_xsl_formatter_error_messages [] = { N_("FoXslFormatter error"), N_("XSLT format failed"), N_("Unable to parse stylesheet file: %s"), N_("No input result tree specified"), N_("Result tree does not have an XSL-FO root element:: URI: %s; local-name: %s"), N_("No area tree present"), N_("No output FoDoc specified"), N_("Specified FoDoc is not FoDoc object type"), N_("Unknown 'fo:' element type: %s"), }; #define XSL_FO_NAMESPACE \ "http://www.w3.org/1999/XSL/Format" struct _FoXslFormatter { FoLibfoModule parent_instance; FoXmlDoc *result_tree; FoDoc *fo_doc; FoFo *fo_tree; FoArea *area_tree; }; struct _FoXslFormatterClass { FoLibfoModuleClass parent_class; }; enum { PROP_0, PROP_RESULT_TREE, PROP_FO_TREE, PROP_AREA_TREE, PROP_FO_DOC }; static void fo_xsl_formatter_class_init (FoXslFormatterClass *klass); static void fo_xsl_formatter_finalize (GObject *object); static const LibfoVersionInfo * _version_info (); static void fo_xsl_formatter_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_xsl_formatter_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static gpointer parent_class; static LibfoVersionInfo version_info = { LIBFO_MODULE_XSL_FORMATTER, "xsl-formatter", "FoXslFormatter", LIBFO_VERSION, LIBFO_VERSION_STRING, LIBFO_VERSION, LIBFO_VERSION_STRING }; /** * fo_xsl_formatter_error_quark: * * Get the error quark for #FoXslFormatter. * * If the quark does not yet exist, create it. * * Return value: #GQuark associated with #FoXslFormatter errors. **/ GQuark fo_xsl_formatter_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoXslFormatter error"); return quark; } /** * fo_xsl_formatter_get_type: * * Register the #FoXslFormatter object type. * * Return value: #GType value of the #FoXslFormatter object type. p **/ GType fo_xsl_formatter_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoXslFormatterClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_xsl_formatter_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoXslFormatter), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_LIBFO_MODULE, "FoXslFormatter", &object_info, 0); } return object_type; } /** * fo_xsl_formatter_class_init: * @klass: #FoXslFormatterClass object to initialise. * * Implements #GClassInitFunc for #FoXslFormatterClass. **/ void fo_xsl_formatter_class_init (FoXslFormatterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoLibfoModuleClass *fo_libfo_module_class = FO_LIBFO_MODULE_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->get_property = fo_xsl_formatter_get_property; object_class->set_property = fo_xsl_formatter_set_property; object_class->finalize = fo_xsl_formatter_finalize; fo_libfo_module_class->version = libfo_version; fo_libfo_module_class->version_string = libfo_version_string; fo_libfo_module_class->version_info = _version_info; g_object_class_install_property (object_class, PROP_RESULT_TREE, g_param_spec_pointer ("result-tree", _("Result Tree FoXmlDoc"), _("Result of XSLT transform"), G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_FO_TREE, g_param_spec_object ("fo-tree", _("FO tree"), _("Formatting Object tree"), G_TYPE_OBJECT, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_AREA_TREE, g_param_spec_object ("area-tree", _("Area tree"), _("Area tree"), G_TYPE_OBJECT, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FO_DOC, g_param_spec_object ("fo-doc", _("FoDoc"), _("Output document"), FO_TYPE_DOC, G_PARAM_WRITABLE)); } /** * fo_xsl_formatter_finalize: * @object: #FoObject object to finalize. * * Implements #GObjectFinalizeFunc for #FoXslFormatter. **/ void fo_xsl_formatter_finalize (GObject *object) { FoXslFormatter *fo_xsl_formatter; fo_xsl_formatter = FO_XSL_FORMATTER (object); if (fo_xsl_formatter->result_tree != NULL) { fo_xml_doc_unref (fo_xsl_formatter->result_tree); } if (fo_xsl_formatter->fo_tree != NULL) { g_object_unref (fo_xsl_formatter->fo_tree); } if (fo_xsl_formatter->area_tree != NULL) { g_object_unref (fo_xsl_formatter->area_tree); } if (fo_xsl_formatter->fo_doc != NULL) { g_object_unref (fo_xsl_formatter->fo_doc); } G_OBJECT_CLASS (parent_class)->finalize (object); } const LibfoVersionInfo * _version_info () { version_info.runtime = libfo_version (); version_info.runtime_string = libfo_version_string (); return &version_info; } /** * fo_xsl_formatter_get_property: * @object: #GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: #GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for #FoXslFormatter **/ void fo_xsl_formatter_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec) { FoXslFormatter *xsl_formatter = FO_XSL_FORMATTER (object); switch (param_id) { case PROP_FO_TREE: g_value_set_object (value, xsl_formatter->fo_tree); break; case PROP_AREA_TREE: g_value_set_object (value, xsl_formatter->area_tree); break; case PROP_RESULT_TREE: case PROP_FO_DOC: default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_xsl_formatter_set_property: * @object: #GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for #FoXslFormatter **/ void fo_xsl_formatter_set_property (GObject *object, guint param_id, const GValue *value, GParamSpec *pspec) { FoXslFormatter *fo_xsl_formatter; fo_xsl_formatter = FO_XSL_FORMATTER (object); switch (param_id) { case PROP_RESULT_TREE: fo_xsl_formatter_set_result_tree (fo_xsl_formatter, g_value_get_pointer (value)); break; case PROP_FO_DOC: fo_xsl_formatter_set_fo_doc (fo_xsl_formatter, g_value_get_object (value)); break; case PROP_FO_TREE: case PROP_AREA_TREE: default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_xsl_formatter_new: * * Creates a new #FoXslFormatter initialized to default value. * * Return value: The new #FoXslFormatter. **/ FoXslFormatter * fo_xsl_formatter_new (void) { FoXslFormatter* xsl_formatter; xsl_formatter = g_object_new (fo_xsl_formatter_get_type (), NULL); return xsl_formatter; } /** * fo_xml_element_node_to_fo_node: * @node: #xmlNodePtr for which to create a #FoFo. * @error: Indication of any error that occurred. * * Creates a #FoFo corresponding to @node. * * Return value: New @FoFo, or %NULL if an error occurred. **/ static FoFo* fo_xml_element_node_to_fo_node (xmlNodePtr node, GError **error) { FoFo *fo_node = NULL; gboolean ok = FALSE; gchar *name; g_return_val_if_fail (node != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); name = (gchar *) node->name; /* Hand-built parsing of node name to determine FoFo type. */ switch (name[0]) { case 'b': switch (name[1]) { case 'a': if (strcmp (name, "basic-link") == 0) { fo_node = fo_basic_link_new (); ok = TRUE; } break; /* end 'ba' */ case 'i': if (strcmp (name, "bidi-override") == 0) { fo_node = fo_bidi_override_new (); ok = TRUE; } break; /* end 'bi' */ case 'l': if (strcmp (name, "block") == 0) { fo_node = fo_block_new (); ok = TRUE; } else if (strcmp (name, "block-container") == 0) { fo_node = fo_block_container_new (); ok = TRUE; } break; /* end 'bl' */ } break; /* end 'b' */ case 'c': if (name[1] == 'h') { if (strcmp (name, "character") == 0) { fo_node = fo_character_new (); ok = TRUE; } } else if (name[1] == 'o') { if (strcmp (name, "color-profile") == 0) { fo_node = fo_color_profile_new (); ok = TRUE; } else if (strcmp (name, "conditional-page-master-reference") == 0) { fo_node = fo_conditional_page_master_reference_new (); ok = TRUE; } } break; /* end 'c' */ case 'd': if (strcmp (name, "declarations") == 0) { fo_node = fo_declarations_new (); ok = TRUE; } break; /* end 'd' */ case 'e': if (strcmp (name, "external-graphic") == 0) { xmlChar *base_uri = xmlNodeGetBase (node->doc, node); fo_node = fo_external_graphic_new_with_base_uri ((const gchar *) base_uri); ok = TRUE; } break; /* end 'e' */ case 'f': if ((name[1] == 'l') && (name[2] == 'o')) { if (strcmp (name, "flow") == 0) { fo_node = fo_flow_new (); fo_node->flow = g_object_ref (fo_node); ok = TRUE; } else if (strcmp (name, "float") == 0) { fo_node = fo_float_new (); ok = TRUE; } } else if (name[1] == 'o') { if (strncmp (name, "footnote", 8) == 0) { if (name[8] == '\0') { fo_node = fo_footnote_new (); ok = TRUE; } else if (strcmp (&name[8], "-body") == 0) { fo_node = fo_footnote_body_new (); ok = TRUE; } } } break; /* end 'f' */ case 'i': if (name[1] == 'n') { if (strcmp (name, "initial-property-set") == 0) { fo_node = fo_initial_property_set_new (); ok = TRUE; } else if (strncmp (name, "inline", 6) == 0) { if (name[6] == '\0') { fo_node = fo_inline_new (); ok = TRUE; } else if (strcmp (&name[6], "-container") == 0) { fo_node = fo_inline_container_new (); ok = TRUE; } } else if (strcmp (name, "instream-foreign-object") == 0) { fo_node = fo_instream_foreign_object_new (); ok = TRUE; } } break; /* end 'i' */ case 'l': switch (name[1]) { case 'a': if (strcmp (name, "layout-master-set") == 0) { fo_node = fo_layout_master_set_new (); ok = TRUE; } break; /* end 'la' */ case 'e': if (strcmp (name, "leader") == 0) { fo_node = fo_leader_new (); ok = TRUE; } break; /* end 'le' */ case 'i': if (strncmp (name, "list-", 5) == 0) { if (strcmp (&name[5], "block") == 0) { fo_node = fo_list_block_new (); ok = TRUE; } else if (strcmp (&name[5], "item") == 0) { fo_node = fo_list_item_new (); ok = TRUE; } else if (strcmp (&name[5], "item-body") == 0) { fo_node = fo_list_item_body_new (); ok = TRUE; } else if (strcmp (&name[5], "item-label") == 0) { fo_node = fo_list_item_label_new (); ok = TRUE; } } break; /* end 'li' */ } break; /* end 'l' */ case 'm': if (name[1] == 'a') { if (strcmp (name, "marker") == 0) { fo_node = fo_marker_new (); ok = TRUE; } } else if (strncmp (name, "multi-", 6) == 0) { if (strcmp (&name[6], "case") == 0) { fo_node = fo_multi_case_new (); ok = TRUE; } else if (strcmp (&name[6], "properties") == 0) { fo_node = fo_multi_properties_new (); ok = TRUE; } else if (strcmp (&name[6], "property-set") == 0) { fo_node = fo_multi_property_set_new (); ok = TRUE; } else if (strcmp (&name[6], "switch") == 0) { fo_node = fo_multi_switch_new (); ok = TRUE; } else if (strcmp (&name[6], "toggle") == 0) { fo_node = fo_multi_toggle_new (); ok = TRUE; } } break; /* end 'm' */ case 'p': if (strncmp (name, "page-", 5) == 0) { if (strncmp (&name[5], "number", 6) == 0) { if (name[11] == '\0') { fo_node = fo_page_number_new (); ok = TRUE; } else if (strcmp (&name[11], "-citation") == 0) { fo_node = fo_page_number_citation_new (); ok = TRUE; } } else if (strncmp (&name[5], "sequence", 8) == 0) { if (name[13] == '\0') { fo_node = fo_page_sequence_new (); ok = TRUE; } else if (strcmp (&name[13], "-master") == 0) { fo_node = fo_page_sequence_master_new (); ok = TRUE; } } } break; /* end 'p' */ case 'r': switch (name[1]) { case 'e': if (strncmp (name, "region-", 7) == 0) { if (strcmp (&name[7], "after") == 0) { fo_node = fo_region_after_new (); ok = TRUE; } else if (strcmp (&name[7], "before") == 0) { fo_node = fo_region_before_new (); ok = TRUE; } else if (strcmp (&name[7], "body") == 0) { fo_node = fo_region_body_new (); ok = TRUE; } else if (strcmp (&name[7], "end") == 0) { fo_node = fo_region_end_new (); ok = TRUE; } else if (strcmp (&name[7], "start") == 0) { fo_node = fo_region_start_new (); ok = TRUE; } } else if (strncmp (name, "repeatable-page-master-", 23) == 0) { if (strcmp (&name[23], "alternatives") == 0) { fo_node = fo_repeatable_page_master_alternatives_new (); ok = TRUE; } else if (strcmp (&name[23], "reference") == 0) { fo_node = fo_repeatable_page_master_reference_new (); ok = TRUE; } } else if (strcmp (name, "retrieve-marker") == 0) { fo_node = fo_retrieve_marker_new (); ok = TRUE; } break; /* end 're' */ case 'o': if (strcmp (name, "root") == 0) { fo_node = fo_root_new (); ok = TRUE; } break; /* end 'ro' */ } break; /* end 'r' */ case 's': if (name[1] == 'i') { if (strcmp (name, "simple-page-master") == 0) { fo_node = fo_simple_page_master_new (); ok = TRUE; } else if (strcmp (name, "single-page-master-reference") == 0) { fo_node = fo_single_page_master_reference_new (); ok = TRUE; } } else if (name[1] == 't') { if (strcmp (name, "static-content") == 0) { fo_node = fo_static_content_new (); ok = TRUE; } } break; /* end 's' */ case 't': if (strncmp (name, "table", 5) == 0) { if (name[5] == '\0') { fo_node = fo_table_new (); ok = TRUE; } else if (strcmp (&name[5], "-and-caption") == 0) { fo_node = fo_table_and_caption_new (); ok = TRUE; } else if (strcmp (&name[5], "-body") == 0) { fo_node = fo_table_body_new (); ok = TRUE; } else if (strcmp (&name[5], "-caption") == 0) { fo_node = fo_table_caption_new (); ok = TRUE; } else if (strcmp (&name[5], "-cell") == 0) { fo_node = fo_table_cell_new (); ok = TRUE; } else if (strcmp (&name[5], "-column") == 0) { fo_node = fo_table_column_new (); ok = TRUE; } else if (strcmp (&name[5], "-footer") == 0) { fo_node = fo_table_footer_new (); ok = TRUE; } else if (strcmp (&name[5], "-header") == 0) { fo_node = fo_table_header_new (); ok = TRUE; } else if (strcmp (&name[5], "-row") == 0) { fo_node = fo_table_row_new (); ok = TRUE; } /* end 'table' */ } else if (strcmp (name, "title") == 0) { fo_node = fo_title_new (); ok = TRUE; } break; /* end 't' */ case 'w': if (strcmp (name, "wrapper") == 0) { fo_node = fo_wrapper_new (); ok = TRUE; } break; /* end 'w' */ } if (!ok) { g_set_error (error, FO_XSL_FORMATTER_ERROR, FO_XSL_FORMATTER_ERROR_UNKNOWN_FO, _(fo_xsl_formatter_error_messages[FO_XSL_FORMATTER_ERROR_UNKNOWN_FO]), name); return NULL; } else { FoXmlNode *element = fo_xml_node_new (); fo_xml_node_set_xml_node (element, node); fo_fo_set_element (fo_node, element); return fo_node; } } /** * fo_xml_node_to_fo_subtree: * @node: #xmlNodePtr for which to create a subtree. * @parent_fo: Parent #FoFo to which to add new subtree. * @error: Indication of any error that occurred. * * For the xmlNode tree rooted at @node, creates the corresponding * #FoFo tree and adds it as the last child of @parent_fo. * * Removes processing instructions and comments. Throws error for all * other node types except element nodes and document nodes. **/ static void fo_new_xml_to_fo_tree (xmlNodePtr node, FoFo *parent_fo, GError **error) { FoFo *fo_node = NULL; FoFo *fo_text = NULL; GError *tmp_error = NULL; g_return_if_fail (node != NULL); g_return_if_fail (error == NULL || *error == NULL); switch (node->type) { case XML_ELEMENT_NODE: if ((node->ns != NULL) && (strcmp ((gchar *) node->ns->href, XSL_FO_NAMESPACE) == 0 )) { fo_node = fo_xml_element_node_to_fo_node (node, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } #if defined(LIBFO_DEBUG) && 0 g_message ("new_xml_to_fo_tree:: fo_node: %s", fo_object_sprintf (FO_OBJECT (fo_node))); #endif if (fo_node) { fo_node_append (FO_NODE (parent_fo), FO_NODE (fo_node)); } node = node->children; while (node) { /* Get the next node now, since current node may be PI or comment that is unlinked and freed in following call to fo_xml_node_to_fo_node() */ xmlNodePtr next_node = node->next; fo_new_xml_to_fo_tree (node, fo_node, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } node = next_node; } } break; case XML_ATTRIBUTE_NODE: g_error (_("Unexpected node type: ATTRIBUTE")); break; case XML_TEXT_NODE: { gchar *text = (gchar *) xmlNodeGetContent (node); if (fo_fo_get_allow_mixed_content (parent_fo)) { fo_text = fo_text_new (); fo_node_append (FO_NODE (parent_fo), FO_NODE (fo_text)); fo_text_set_value (fo_text, text); } else { gchar *text_ptr = text; gboolean whitespace_only = TRUE; while (*text_ptr) { if (!g_ascii_isspace (*text_ptr++)) { whitespace_only = FALSE; break; } } if (!whitespace_only) { g_error (_("Text node should contain only whitespace characters: \"%s\""), text); } xmlUnlinkNode (node); xmlFreeNode (node); } xmlFree (text); } break; case XML_CDATA_SECTION_NODE: g_error (_("Unexpected node type: CDATA SECTION")); break; case XML_ENTITY_REF_NODE: g_error (_("Unexpected node type: ENTITY REF")); break; case XML_ENTITY_NODE: g_error (_("Unexpected node type: ENTITY")); break; case XML_PI_NODE: /* Fall through */ case XML_COMMENT_NODE: /* Unlink from the node tree */ xmlUnlinkNode (node); /* Free the node */ xmlFreeNode (node); break; case XML_DOCUMENT_NODE: node = node->children; while (node) { /* Get the next node now, since current node may be PI or comment that is unlinked and freed in following call to fo_xml_node_to_fo_node() */ xmlNodePtr next_node = node->next; fo_new_xml_to_fo_tree (node, parent_fo, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } node = next_node; } /* g_error (_("Unexpected node type: DOCUMENT")); */ break; case XML_DOCUMENT_TYPE_NODE: g_error (_("Unexpected node type: DOCUMENT TYPE")); break; case XML_DOCUMENT_FRAG_NODE: g_error (_("Unexpected node type: DOCUMENT FRAG")); break; case XML_NOTATION_NODE: g_error (_("Unexpected node type: NOTATION")); break; case XML_HTML_DOCUMENT_NODE: g_error (_("Unexpected node type: HTML DOCUMENT")); break; case XML_DTD_NODE: g_error (_("Unexpected node type: DTD")); break; case XML_ELEMENT_DECL: g_error (_("Unexpected node type: ELEMENT DECL")); break; case XML_ATTRIBUTE_DECL: g_error (_("Unexpected node type: ATTRIBUTE DECL")); break; case XML_ENTITY_DECL: g_error (_("Unexpected node type: ENTITY DECL")); break; case XML_NAMESPACE_DECL: g_error (_("Unexpected node type: NAMESPACE DECL")); break; case XML_XINCLUDE_START: g_error (_("Unexpected node type: XINCLUDE START")); break; case XML_XINCLUDE_END: g_error (_("Unexpected node type: XINCLUDE END")); break; case XML_DOCB_DOCUMENT_NODE: g_error (_("Unexpected node type: DOCB DOCUMENT")); break; } } /** * xml_doc_to_fo_and_area_trees: * @res: Result tree. * @fo_doc: #FoDoc to which to write output. * @fo_tree: Pointer to generated FO tree. * @area_tree: Pointer to generated area tree. * @continue_after_error: Whether to continue after a formatting error. * @debug_level: What debugging output to generate. * @error: Indication of any error that occurred. * * Generates FO and area trees from @res result tree. **/ static void xml_doc_to_fo_and_area_trees (FoXmlDoc *result_tree, FoDoc *fo_doc, FoFo **fo_tree, FoArea **area_tree, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error) { xmlDocPtr res = fo_xml_doc_get_xml_doc (result_tree); FoFo *new_fo_tree = fo_tree_new (); FoArea *new_area_tree; FoContext *new_fo_context; GHashTable *prop_eval_hash = NULL; FoArea *new_area = NULL; GError *tmp_error = NULL; /* Check the xmlDocPtr isn't null */ g_return_if_fail (res != NULL); /* Check the xmlDocPtr has a document element */ g_return_if_fail (res->children != NULL); g_return_if_fail (error == NULL || *error == NULL); prop_eval_hash = fo_property_eval_init_hash (prop_eval_hash); new_fo_context = fo_context_new (); fo_context_initialize (new_fo_context); new_area_tree = fo_area_tree_new (); new_fo_tree->areas = g_list_append (new_fo_tree->areas, new_area_tree); fo_fo_set_context (new_fo_tree, new_fo_context); new_fo_tree->tree = new_fo_tree; /* Create the FO tree from the result document. */ fo_new_xml_to_fo_tree ((xmlNodePtr) res, new_fo_tree, &tmp_error); if (tmp_error != NULL) { g_propagate_error (/*FO_OBJECT (new_fo_tree),*/ error, tmp_error); return; } /* Check that the structure of the FO tree conforms to the spec. */ /* Do not traverse the leaf nodes. */ fo_node_traverse (FO_NODE (new_fo_tree), G_POST_ORDER, G_TRAVERSE_NON_LEAFS, -1, (FoNodeTraverseFunc) fo_fo_validate_content, NULL); #if defined(LIBFO_DEBUG) && 0 fo_object_debug_dump (new_fo_tree, 0); #endif /* Recursively both resolve property values and generate areas starting at the top of the FO tree. */ fo_fo_children_properties_resolve (new_fo_tree, new_area_tree, &new_area, prop_eval_hash, fo_doc, continue_after_error, debug_level, warning_mode, &tmp_error); if (tmp_error != NULL) { g_propagate_error (/*FO_OBJECT (new_fo_tree),*/ error, tmp_error); return; } #if defined(LIBFO_DEBUG) && 0 fo_object_debug_dump (new_fo_tree, 0); fo_object_debug_dump (new_area_tree, 0); #endif *fo_tree = new_fo_tree; *area_tree = new_area_tree; g_hash_table_destroy (prop_eval_hash); } /** * fo_xsl_formatter_format: * @fo_xsl_formatter: #FoXslFormatter. * @libfo_context: #FoLibfoContext. * @error: #GError. * * Formats @fo_xsl_formatter. * * Outputs debug info according to debug mode set in @libfo_context. * * Return value: Success indication. **/ gboolean fo_xsl_formatter_format (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context, GError **error) { FoDebugFlag debug = FO_DEBUG_NONE; GError *tmp_error = NULL; g_return_val_if_fail (fo_xsl_formatter != NULL, FALSE); g_return_val_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); debug = fo_libfo_context_get_debug_mode (libfo_context); if (fo_xsl_formatter->result_tree == NULL) { g_set_error (error, FO_XSL_FORMATTER_ERROR, FO_XSL_FORMATTER_ERROR_NO_RESULT_TREE, _(fo_xsl_formatter_error_messages[FO_XSL_FORMATTER_ERROR_NO_RESULT_TREE])); return FALSE; } xmlNodePtr root_element = xmlDocGetRootElement (fo_xml_doc_get_xml_doc (fo_xsl_formatter->result_tree)); if ((strcmp ((gchar *) root_element->name, "root") != 0) || (root_element->ns == NULL) || (strcmp ((gchar *) root_element->ns->href, XSL_FO_NAMESPACE) != 0)) { g_set_error (error, FO_XSL_FORMATTER_ERROR, FO_XSL_FORMATTER_ERROR_RESULT_TREE_NOT_FO, _(fo_xsl_formatter_error_messages[FO_XSL_FORMATTER_ERROR_RESULT_TREE_NOT_FO]), root_element->ns == NULL ? NULL : root_element->ns->href, root_element->name); return FALSE; } if (fo_xsl_formatter->fo_doc == NULL) { g_set_error (error, FO_XSL_FORMATTER_ERROR, FO_XSL_FORMATTER_ERROR_NO_FO_DOC, _(fo_xsl_formatter_error_messages[FO_XSL_FORMATTER_ERROR_NO_FO_DOC])); return FALSE; } if (!FO_IS_DOC (fo_xsl_formatter->fo_doc)) { g_set_error (error, FO_XSL_FORMATTER_ERROR, FO_XSL_FORMATTER_ERROR_NO_FO_DOC, _(fo_xsl_formatter_error_messages[FO_XSL_FORMATTER_ERROR_NOT_FO_DOC])); return FALSE; } if (fo_xsl_formatter->fo_tree != NULL && fo_xsl_formatter->area_tree != NULL) { return TRUE; } else { xml_doc_to_fo_and_area_trees (fo_xsl_formatter->result_tree, fo_xsl_formatter->fo_doc, &(fo_xsl_formatter->fo_tree), &(fo_xsl_formatter->area_tree), fo_libfo_context_get_continue_after_error (libfo_context), fo_libfo_context_get_debug_mode (libfo_context), fo_libfo_context_get_warning_mode (libfo_context), &tmp_error); if (debug & FO_DEBUG_FO) { fo_object_debug_dump (fo_xsl_formatter->fo_tree, 0); } if (debug & FO_DEBUG_AREA) { fo_object_debug_dump (fo_xsl_formatter->area_tree, 0); } if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return FALSE; } else { return TRUE; } } } /** * fo_xsl_formatter_draw: * @fo_xsl_formatter: #FoXslFormatter. * @libfo_context: #FoLibfoContext. * @error: #GError. * * Formats @fo_xsl_formatter. * * Return value: Success indication. **/ gboolean fo_xsl_formatter_draw (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context, GError **error) { FoAreaToPDFData fo_area_to_pdf_data = {NULL, 0}; g_return_val_if_fail (fo_xsl_formatter != NULL, FALSE); g_return_val_if_fail (FO_IS_LIBFO_CONTEXT (libfo_context), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (fo_xsl_formatter->result_tree == NULL) { g_set_error (error, FO_XSL_FORMATTER_ERROR, FO_XSL_FORMATTER_ERROR_NO_RESULT_TREE, _(fo_xsl_formatter_error_messages[FO_XSL_FORMATTER_ERROR_NO_RESULT_TREE])); return FALSE; } if (fo_xsl_formatter->fo_doc == NULL) { g_set_error (error, FO_XSL_FORMATTER_ERROR, FO_XSL_FORMATTER_ERROR_NO_FO_DOC, _(fo_xsl_formatter_error_messages[FO_XSL_FORMATTER_ERROR_NO_FO_DOC])); return FALSE; } if (!FO_IS_DOC (fo_xsl_formatter->fo_doc)) { g_set_error (error, FO_XSL_FORMATTER_ERROR, FO_XSL_FORMATTER_ERROR_NO_FO_DOC, _(fo_xsl_formatter_error_messages[FO_XSL_FORMATTER_ERROR_NOT_FO_DOC])); return FALSE; } if (fo_xsl_formatter->area_tree == NULL) { g_set_error (error, FO_XSL_FORMATTER_ERROR, FO_XSL_FORMATTER_ERROR_NO_AREA_TREE, _(fo_xsl_formatter_error_messages[FO_XSL_FORMATTER_ERROR_NO_AREA_TREE])); return FALSE; } fo_area_to_pdf_data.fo_doc = fo_xsl_formatter->fo_doc; fo_area_to_pdf_data.debug_level = fo_libfo_context_get_debug_mode (libfo_context); fo_area_tree_to_pdf (fo_xsl_formatter->area_tree, &fo_area_to_pdf_data); return TRUE; } /** * fo_xsl_formatter_get_result_tree: * @fo_xsl_formatter: #FoXslFormatter * * Get the filename in @fo_xsl_formatter. * * Return value: Filename of file parsed to make @fo_xsl_formatter. **/ FoXmlDoc * fo_xsl_formatter_get_result_tree (FoXslFormatter *fo_xsl_formatter) { g_return_val_if_fail (fo_xsl_formatter != NULL, NULL); return fo_xsl_formatter->result_tree; } /** * fo_xsl_formatter_set_result_tree: * @fo_xsl_formatter: #FoXslFormatter * @result_tree: Result of previous parse or transformation. * * Set the result tree in @fo_xsl_formatter. Voids the current FO and * area trees. **/ void fo_xsl_formatter_set_result_tree (FoXslFormatter *fo_xsl_formatter, FoXmlDoc *result_tree) { g_return_if_fail (fo_xsl_formatter != NULL); if (fo_xsl_formatter->result_tree != NULL) g_free (fo_xsl_formatter->result_tree); if (fo_xsl_formatter->fo_tree != NULL) { g_object_unref (fo_xsl_formatter->fo_tree); fo_xsl_formatter->fo_tree = NULL; } if (fo_xsl_formatter->area_tree != NULL) { g_object_unref (fo_xsl_formatter->area_tree); fo_xsl_formatter->area_tree = NULL; } fo_xsl_formatter->result_tree = fo_xml_doc_ref (result_tree); } /** * fo_xsl_formatter_set_fo_doc: * @fo_xsl_formatter: #FoXslFormatter * @fo_doc: #FoDoc for use as output of formatter. * * Set the #FoDoc in @fo_xsl_formatter. Voids the current FO and area * trees. **/ void fo_xsl_formatter_set_fo_doc (FoXslFormatter *fo_xsl_formatter, FoDoc *fo_doc) { g_return_if_fail (fo_xsl_formatter != NULL); g_return_if_fail (fo_doc != NULL); if (fo_xsl_formatter->fo_doc != NULL) g_object_unref (fo_xsl_formatter->fo_doc); if (fo_xsl_formatter->fo_tree != NULL) { g_object_unref (fo_xsl_formatter->fo_tree); fo_xsl_formatter->fo_tree = NULL; } if (fo_xsl_formatter->area_tree != NULL) { g_object_unref (fo_xsl_formatter->area_tree); fo_xsl_formatter->area_tree = NULL; } fo_xsl_formatter->fo_doc = g_object_ref (fo_doc); } /** * fo_xsl_formatter_get_fo_tree: * @fo_xsl_formatter: #FoXslFormatter * * Get the #FoFo tree created by @fo_xsl_formatter. * * Return value: #FoFo tree created by @fo_xsl_formatter. **/ GObject * fo_xsl_formatter_get_fo_tree (FoXslFormatter *fo_xsl_formatter) { g_return_val_if_fail (fo_xsl_formatter != NULL, NULL); return G_OBJECT (fo_xsl_formatter->fo_tree); } /** * fo_xsl_formatter_get_area_tree: * @fo_xsl_formatter: #FoXslFormatter * * Get the #FoArea tree created by @fo_xsl_formatter. * * Return value: #FoArea tree created by @fo_xsl_formatter. **/ GObject * fo_xsl_formatter_get_area_tree (FoXslFormatter *fo_xsl_formatter) { g_return_val_if_fail (fo_xsl_formatter != NULL, NULL); return G_OBJECT (fo_xsl_formatter->area_tree); } xmlroff-0.6.2/libfo/libfo-compat.c0000644000175000017500000003713411135105064013734 00000000000000/* Fo * libfo-compat.c: LibFo compatibility processing * * Copyright (C) 2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting * * See COPYING for the status of this software. */ #include "libfo/fo-xml-doc-private.h" #include "libfo/libfo-compat.h" #include "libfo/fo-xslt-transformer.h" #include #include #include #include #include #include #include #include const char *libfo_compat_error_messages [] = { N_("libfo-compat error") }; static const gchar* stylesheet = "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" " \n" "\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " no\n" " \n" " \n" "\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " no\n" " \n" " \n" "\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " yes\n" " no\n" " \n" " \n" "\n" " \n" " \n" " Correcting text child of fo:list-item-label by removing text\n" " \n" " \n" "\n" " \n" " \n" " Removing \"&#xA0;\".\n" " \n" " \n" "\n" " \n" " \n" " Correcting 'display-align=\"middle\"' to 'display-align=\"center\"'.\n" " \n" " center\n" " \n" "\n" "\n" " \n" " \n" " \n" " Removing unsupported '' property.\n" " \n" " \n" "\n" " \n" " \n" " \n" " auto\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "\n" " \n" " \n" " \n" " \n" " \n" "\n" " \n" " \n" " Removing 'fo:block-container' with unsupported 'reference-orientation' property.\n" " \n" " \n" "\n" " \n" " \n" " Correcting 'fo:block-container' containing only text.\n" " \n" " \n" " \n" " \n" " \n" "\n" " \n" " \n" " Removing 'fo:region-body' region-name attribute.\n" " \n" " \n" "\n" " \n" " \n" " Removing unsupported 'fo:float'.\n" " \n" " \n" " \n" "\n" " \n" " \n" " Removing unsupported 'fo:footnote'.\n" " \n" " \n" "\n" " \n" " \n" " Removing unsupported 'fo:block' in 'fo:inline-container'.\n" " \n" " \n" "\n" " \n" " \n" " Correcting 'fo:region-before', 'fo:region-after', and 'fo:region-body' order.\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "\n" " \n" " \n" " Correcting 'fo:declarations' and 'fo:layout-master-set' order.\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "\n" " \n" " \n" " Removing unsupported 'fo:static-content'.\n" " \n" " \n" "\n" " \n" " \n" " Auto table layout unsupported. Adding 'width' property.\n" " \n" " \n" " 100%\n" " \n" " \n" " \n" " \n" "\n" " \n" " \n" " Auto table layout unsupported. Adding 'table-layout' property.\n" " \n" " \n" " fixed\n" " \n" " \n" " \n" " \n" "\n" " \n" " \n" " Auto table layout unsupported. Adding 'table-layout' and 'width' properties.\n" " \n" " \n" " fixed\n" " \n" " \n" " \n" " \n" " Computing table-width from 'fo:table-column/@column-width' properties.\n" " \n" " \n" " \n" " \n" " + \n" " \n" " \n" " \n" " \n" " \n" " Using 'width=\"100%\"'.\n" " \n" " 100%\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "\n" " \n" " \n" " Removing 'fo:wrapper' used in an unsupported context.\n" " \n" " \n" " \n" "\n" " \n" " \n" " \n" " \n" " \n" " \n" "\n" "\n"; /** * libfo_compat_get_stylesheet: * * Get the built-in compatibility stylesheet as a single, rather long * string. * * Return value: The built-in stylesheet. **/ const gchar* libfo_compat_get_stylesheet (void) { return stylesheet; } /** * libfo_compat_make_compatible: * @result_tree: Result of previous parse or transformation. * @libfo_context: #FoLibfoContext. * @error: Indication of any error that occurred. * * Make @result_tree compatible with libfo by applying the built-in * copy of the 'libfo-compat.xsl' stylesheet. * * Return value: A new result tree. **/ FoXmlDoc * libfo_compat_make_compatible (FoXmlDoc *result_tree, FoLibfoContext *libfo_context, GError **error) { FoXmlDoc *compatible_result; GError *tmp_error = NULL; gchar* base = NULL; g_return_val_if_fail (result_tree != NULL, NULL); base = fo_xml_doc_get_base (result_tree); FoXmlDoc *stylesheet_doc = fo_xml_doc_new_from_string (stylesheet, base, NULL, libfo_context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } compatible_result = fo_xslt_transformer_do_transform (result_tree, stylesheet_doc, &tmp_error); fo_xml_doc_set_base (compatible_result, base); g_free (base); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return compatible_result; } xmlroff-0.6.2/libfo/libfo-pango.c0000644000175000017500000000526611034367225013565 00000000000000/* LibFO * libfo-pango.c: Extra PangoAttribute types needed by LibFO. * * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include "libfo-pango.h" /** * libfo_pango_attr_callback_get_type: * * Register the 'callback' PangoAttribute type. * * Return value: The new #PangoAttrType. **/ PangoAttrType libfo_pango_attr_callback_get_type (void) { static PangoAttrType attr_callback = PANGO_ATTR_INVALID; if (attr_callback == PANGO_ATTR_INVALID) { attr_callback = pango_attr_type_register ("callback"); } return attr_callback; } static PangoAttribute * libfo_pango_attr_pointer_new (const PangoAttrClass *klass, gpointer pointer) { LibfoPangoAttrPointer *result = g_new (LibfoPangoAttrPointer, 1); result->attr.klass = klass; result->pointer = pointer; return (PangoAttribute *)result; } static PangoAttribute * libfo_pango_attr_pointer_copy (const PangoAttribute *attr) { const LibfoPangoAttrPointer *pointer_attr = (LibfoPangoAttrPointer *)attr; return libfo_pango_attr_pointer_new (attr->klass, pointer_attr->pointer); } static void libfo_pango_attr_pointer_destroy (PangoAttribute *attr) { g_free (attr); } static gpointer libfo_pango_attr_pointer_get_pointer (const PangoAttribute *attr) { const LibfoPangoAttrPointer *pointer_attr = (LibfoPangoAttrPointer *)attr; return pointer_attr->pointer; } static gboolean libfo_pango_attr_pointer_equal (const PangoAttribute *attr1, const PangoAttribute *attr2) { const LibfoPangoAttrPointer *pointer_attr1 = (const LibfoPangoAttrPointer *)attr1; const LibfoPangoAttrPointer *pointer_attr2 = (const LibfoPangoAttrPointer *)attr2; return (pointer_attr1->pointer == pointer_attr2->pointer); } /** * libfo_pango_attr_callback_new: * @callback: the callback * * Create a new callback attribute. * * Return value: the new #PangoAttribute. **/ PangoAttribute * libfo_pango_attr_callback_new (gpointer callback) { static PangoAttrClass klass = {PANGO_ATTR_INVALID, NULL, NULL, NULL}; if (klass.type == PANGO_ATTR_INVALID) { klass.type = libfo_pango_attr_callback_get_type(); klass.copy = libfo_pango_attr_pointer_copy; klass.destroy = libfo_pango_attr_pointer_destroy; klass.equal = libfo_pango_attr_pointer_equal; } return libfo_pango_attr_pointer_new (&klass, callback); } /** * libfo_pango_attr_callback_get_callback: * @attr: The 'callback' attribute. * * Get the callback associated with @attr. * * Return value: The callback. **/ gpointer libfo_pango_attr_callback_get_callback (const PangoAttribute *attr) { return libfo_pango_attr_pointer_get_pointer (attr); } xmlroff-0.6.2/libfo/libfo-pango.h0000644000175000017500000000126711034367232013565 00000000000000/* LibFO * libfo-pango.h: Extra PangoAttribute types needed by LibFO. * * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __LIBFO_PANGO_H__ #define __LIBFO_PANGO_H__ #include G_BEGIN_DECLS typedef struct _LibfoPangoAttrPointer LibfoPangoAttrPointer; struct _LibfoPangoAttrPointer { PangoAttribute attr; gpointer pointer; }; PangoAttrType libfo_pango_attr_callback_get_type (void); PangoAttribute * libfo_pango_attr_callback_new (gpointer callback); gpointer libfo_pango_attr_callback_get_callback (const PangoAttribute *attr); G_END_DECLS #endif /* __LIBFO_PANGO_H__ */ xmlroff-0.6.2/libfo/libfo-compat.c.tmpl0000644000175000017500000000417210645701375014717 00000000000000/* Fo * libfo-compat.c: LibFo compatibility processing * * Copyright (C) 2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting * * See COPYING for the status of this software. */ #include "libfo/fo-xml-doc-private.h" #include "libfo/libfo-compat.h" #include "libfo/fo-xslt-transformer.h" #include #include #include #include #include #include #include #include const char *libfo_compat_error_messages [] = { N_("libfo-compat error") }; static const gchar* stylesheet = REPLACE_ME; /** * libfo_compat_get_stylesheet: * * Get the built-in compatibility stylesheet as a single, rather long * string. * * Return value: The built-in stylesheet. **/ const gchar* libfo_compat_get_stylesheet (void) { return stylesheet; } /** * libfo_compat_make_compatible: * @result_tree: Result of previous parse or transformation. * @libfo_context: #FoLibfoContext. * @error: Indication of any error that occurred. * * Make @result_tree compatible with libfo by applying the built-in * copy of the 'libfo-compat.xsl' stylesheet. * * Return value: A new result tree. **/ FoXmlDoc * libfo_compat_make_compatible (FoXmlDoc *result_tree, FoLibfoContext *libfo_context, GError **error) { FoXmlDoc *compatible_result; GError *tmp_error = NULL; gchar* base = NULL; g_return_val_if_fail (result_tree != NULL, NULL); base = fo_xml_doc_get_base (result_tree); FoXmlDoc *stylesheet_doc = fo_xml_doc_new_from_string (stylesheet, base, NULL, libfo_context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } compatible_result = fo_xslt_transformer_do_transform (result_tree, stylesheet_doc, &tmp_error); fo_xml_doc_set_base (compatible_result, base); g_free (base); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return compatible_result; } xmlroff-0.6.2/libfo/area/0000777000175000017500000000000011156164711012207 500000000000000xmlroff-0.6.2/libfo/area/fo-area.h0000644000175000017500000001444611150515137013613 00000000000000/* Fo * fo-area.h: Base area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_H__ #define __FO_AREA_H__ #include /** * FoArea: * * Instance of the base class for area objects. **/ typedef struct _FoArea FoArea; /** * FoAreaClass: * * Class structure for the base class for area objects. **/ typedef struct _FoAreaClass FoAreaClass; #include #include G_BEGIN_DECLS #define FO_TYPE_AREA (fo_area_get_type ()) #define FO_AREA(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA, FoArea)) #define FO_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA, FoAreaClass)) #define FO_IS_AREA(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA)) #define FO_IS_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA)) #define FO_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA, FoAreaClass)) GType fo_area_get_type (void) G_GNUC_CONST; FoArea* fo_area_new (void); FoArea* fo_area_get_page (FoArea *fo_area); void fo_area_set_page (FoArea *fo_area, FoArea *new_page_area); FoArea* fo_area_get_reference (FoArea *fo_area); void fo_area_set_reference (FoArea *fo_area, FoArea *new_reference_area); FoArea* fo_area_get_page_sequence (FoArea *fo_area); void fo_area_set_page_sequence (FoArea *fo_area, FoArea *page_sequence_area); gboolean fo_area_get_is_first (FoArea *fo_area); void fo_area_set_is_first (FoArea *fo_area, gboolean new_is_first); gboolean fo_area_get_is_last (FoArea *fo_area); void fo_area_set_is_last (FoArea *fo_area, gboolean new_is_last); gfloat fo_area_get_next_x (FoArea *fo_area); void fo_area_set_next_x (FoArea *fo_area, gfloat new_next_x); gfloat fo_area_get_next_y (FoArea *fo_area); void fo_area_set_next_y (FoArea *fo_area, gfloat new_next_y); gfloat fo_area_get_available_width (FoArea *fo_area); void fo_area_set_available_width (FoArea *fo_area, gfloat new_available_width); gfloat fo_area_get_available_height (FoArea *fo_area); void fo_area_set_available_height (FoArea *fo_area, gfloat new_available_height); gfloat fo_area_get_child_available_ipdim (FoArea *fo_area); void fo_area_set_child_available_ipdim (FoArea *fo_area, gfloat new_child_available_ipdim); gfloat fo_area_get_child_available_bpdim (FoArea *fo_area); void fo_area_set_child_available_bpdim (FoArea *fo_area, gfloat new_child_available_bpdim); FoFo* fo_area_get_generated_by (FoArea *fo_area); void fo_area_set_generated_by (FoArea *fo_area, FoFo *new_fo); FoArea* fo_area_add_child (FoArea *parent, FoArea *child); FoArea* fo_area_size_request (FoArea *child); void fo_area_debug_dump_properties (FoArea *area, gint depth); void fo_area_border_padding_space_resolve (FoArea *parent_area, FoArea *child_area); FoArea* fo_area_break_resolve (FoArea *parent_area, FoArea *new_area); void fo_area_set_height_from_children (FoArea *parent_area); FoArea* fo_area_clone (FoArea *original); void fo_area_update_after_clone (FoArea *clone, FoArea *original); FoArea* fo_area_split_before_height (FoArea *area, gfloat height); gboolean fo_area_split_before_height_check (FoArea *area, gfloat height); void fo_area_resolve_text_align (FoArea *area); /* tree functions */ typedef gboolean (*FoAreaTraverseFunc) (FoArea *area, gpointer data); typedef void (*FoAreaForeachFunc) (FoArea *area, gpointer data); #define FO_AREA_IS_ROOT(area) (FO_NODE_IS_ROOT(((FoNode*) (area)))) #define FO_AREA_IS_LEAF(area) (FO_NODE_IS_LEAF(((FoNode*) (area)))) FoArea* fo_area_insert (FoArea *parent, gint position, FoArea *area); FoArea* fo_area_insert_before (FoArea *parent, FoArea *sibling, FoArea *area); FoArea* fo_area_insert_after (FoArea *parent, FoArea *sibling, FoArea *area); FoArea* fo_area_prepend (FoArea *parent, FoArea *area); guint fo_area_n_areas (FoArea *root, GTraverseFlags flags); FoArea* fo_area_get_root (FoArea *area); gboolean fo_area_is_ancestor (FoArea *area, FoArea *descendant); guint fo_area_depth (FoArea *area); FoArea* fo_area_append (FoArea *parent, FoArea *area); void fo_area_traverse (FoArea *root, GTraverseType order, GTraverseFlags flags, gint max_depth, FoAreaTraverseFunc func, gpointer data); guint fo_area_max_height (FoArea *root); void fo_area_children_foreach (FoArea *area, GTraverseFlags flags, FoAreaForeachFunc func, gpointer data); void fo_area_reverse_children (FoArea *area); guint fo_area_n_children (FoArea *area); FoArea* fo_area_nth_child (FoArea *area, guint n); FoArea* fo_area_last_child (FoArea *area); guint fo_area_child_position (FoArea *area, FoArea *child); FoArea* fo_area_first_sibling (FoArea *area); FoArea* fo_area_last_sibling (FoArea *area); FoArea* fo_area_prev_sibling (FoArea *area); FoArea* fo_area_next_sibling (FoArea *area); FoArea* fo_area_first_child (FoArea *area); FoArea* fo_area_parent (FoArea *area); void fo_area_unlink (FoArea *area); void fo_area_unlink_with_next_siblings (FoArea *area); FoArea* fo_area_insert_with_next_siblings (FoArea *parent, gint position, FoArea *area); G_END_DECLS #endif /* !__FO_AREA_H__ */ xmlroff-0.6.2/libfo/area/Makefile.am0000644000175000017500000000340510770023366014162 00000000000000## Process this file with automake to produce Makefile.in INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(PANGO_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-area.la libfo_area_includedir = $(includedir)/libfo-0.6/libfo/area libfo_area_include_HEADERS = \ fo-area.h libfo_area_la_SOURCES = \ $(libfo_area_include_HEADERS) \ fo-all-area.h \ fo-area.c \ fo-area-private.h \ fo-area-area.c \ fo-area-area.h \ fo-area-area-private.h \ fo-area-graphic.c \ fo-area-graphic.h \ fo-area-inline.c \ fo-area-inline.h \ fo-area-inline-private.h \ fo-area-layout.c \ fo-area-layout.h \ fo-area-layout-private.h \ fo-area-list-item.c \ fo-area-list-item.h \ fo-area-normal.c \ fo-area-normal.h \ fo-area-page.c \ fo-area-page.h \ fo-area-reference.c \ fo-area-reference.h \ fo-area-reference-private.h \ fo-area-spanning-table-cell.c \ fo-area-spanning-table-cell.h \ fo-area-spanning-table-cell-private.h \ fo-area-table-body.c \ fo-area-table-body.h \ fo-area-table-cell-private.h \ fo-area-table-cell-proxy.c \ fo-area-table-cell-proxy.h \ fo-area-table-cell.c \ fo-area-table-cell.h \ fo-area-table-continuation-private.h \ fo-area-table-continuation.c \ fo-area-table-continuation.h \ fo-area-table-footer.c \ fo-area-table-footer.h \ fo-area-table-header.c \ fo-area-table-header.h \ fo-area-table-part.c \ fo-area-table-part.h \ fo-area-table-part-private.h \ fo-area-table-private.h \ fo-area-table-row.c \ fo-area-table-row.h \ fo-area-table.c \ fo-area-table.h \ fo-area-tree.c \ fo-area-tree.h \ fo-area-viewport-reference.c \ fo-area-viewport-reference.h \ fo-area-viewport-reference-private.h xmlroff-0.6.2/libfo/area/Makefile.in0000644000175000017500000005133211155246040014167 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libfo/area DIST_COMMON = $(libfo_area_include_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libfo_area_la_LIBADD = am__objects_1 = am_libfo_area_la_OBJECTS = $(am__objects_1) fo-area.lo fo-area-area.lo \ fo-area-graphic.lo fo-area-inline.lo fo-area-layout.lo \ fo-area-list-item.lo fo-area-normal.lo fo-area-page.lo \ fo-area-reference.lo fo-area-spanning-table-cell.lo \ fo-area-table-body.lo fo-area-table-cell-proxy.lo \ fo-area-table-cell.lo fo-area-table-continuation.lo \ fo-area-table-footer.lo fo-area-table-header.lo \ fo-area-table-part.lo fo-area-table-row.lo fo-area-table.lo \ fo-area-tree.lo fo-area-viewport-reference.lo libfo_area_la_OBJECTS = $(am_libfo_area_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libfo_area_la_SOURCES) DIST_SOURCES = $(libfo_area_la_SOURCES) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libfo_area_includedir)" libfo_area_includeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(libfo_area_include_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(PANGO_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-area.la libfo_area_includedir = $(includedir)/libfo-0.6/libfo/area libfo_area_include_HEADERS = \ fo-area.h libfo_area_la_SOURCES = \ $(libfo_area_include_HEADERS) \ fo-all-area.h \ fo-area.c \ fo-area-private.h \ fo-area-area.c \ fo-area-area.h \ fo-area-area-private.h \ fo-area-graphic.c \ fo-area-graphic.h \ fo-area-inline.c \ fo-area-inline.h \ fo-area-inline-private.h \ fo-area-layout.c \ fo-area-layout.h \ fo-area-layout-private.h \ fo-area-list-item.c \ fo-area-list-item.h \ fo-area-normal.c \ fo-area-normal.h \ fo-area-page.c \ fo-area-page.h \ fo-area-reference.c \ fo-area-reference.h \ fo-area-reference-private.h \ fo-area-spanning-table-cell.c \ fo-area-spanning-table-cell.h \ fo-area-spanning-table-cell-private.h \ fo-area-table-body.c \ fo-area-table-body.h \ fo-area-table-cell-private.h \ fo-area-table-cell-proxy.c \ fo-area-table-cell-proxy.h \ fo-area-table-cell.c \ fo-area-table-cell.h \ fo-area-table-continuation-private.h \ fo-area-table-continuation.c \ fo-area-table-continuation.h \ fo-area-table-footer.c \ fo-area-table-footer.h \ fo-area-table-header.c \ fo-area-table-header.h \ fo-area-table-part.c \ fo-area-table-part.h \ fo-area-table-part-private.h \ fo-area-table-private.h \ fo-area-table-row.c \ fo-area-table-row.h \ fo-area-table.c \ fo-area-table.h \ fo-area-tree.c \ fo-area-tree.h \ fo-area-viewport-reference.c \ fo-area-viewport-reference.h \ fo-area-viewport-reference-private.h all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libfo/area/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu libfo/area/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libfo-area.la: $(libfo_area_la_OBJECTS) $(libfo_area_la_DEPENDENCIES) $(LINK) $(libfo_area_la_LDFLAGS) $(libfo_area_la_OBJECTS) $(libfo_area_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-graphic.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-inline.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-layout.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-list-item.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-normal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-page.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-reference.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-spanning-table-cell.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-table-body.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-table-cell-proxy.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-table-cell.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-table-continuation.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-table-footer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-table-header.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-table-part.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-table-row.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-table.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-tree.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area-viewport-reference.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-area.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-libfo_area_includeHEADERS: $(libfo_area_include_HEADERS) @$(NORMAL_INSTALL) test -z "$(libfo_area_includedir)" || $(mkdir_p) "$(DESTDIR)$(libfo_area_includedir)" @list='$(libfo_area_include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(libfo_area_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libfo_area_includedir)/$$f'"; \ $(libfo_area_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libfo_area_includedir)/$$f"; \ done uninstall-libfo_area_includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(libfo_area_include_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(libfo_area_includedir)/$$f'"; \ rm -f "$(DESTDIR)$(libfo_area_includedir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(libfo_area_includedir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-libfo_area_includeHEADERS install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-libfo_area_includeHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am \ install-libfo_area_includeHEADERS install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-info-am \ uninstall-libfo_area_includeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/libfo/area/fo-all-area.h0000644000175000017500000000224610770023366014361 00000000000000/* Fo * fo-all-area.h: Header file that includes header files for all area * objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_ALL_AREA_H__ #define __FO_ALL_AREA_H__ G_BEGIN_DECLS #include /* area objects */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include G_END_DECLS #endif /* !__FO_ALL_AREA_H__ */ xmlroff-0.6.2/libfo/area/fo-area.c0000644000175000017500000021446011151102430013571 00000000000000/* Fo * fo-area.c: Base area object of area object system * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-node.h" #include "property/fo-property-break-after.h" #include "property/fo-property-break-before.h" #include "property/fo-property-start-indent.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-space-before.h" #include "property/fo-property-space-after.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-end.h" #include "fo/fo-block-fo.h" #include "area/fo-area.h" #include "area/fo-area-private.h" #include "area/fo-area-area.h" #include "area/fo-area-reference.h" #include "area/fo-area-page.h" /* FIXME: should be get and set functions for everything from FoFo */ #include "fo/fo-fo-private.h" enum { PROP_0, PROP_PAGE_SEQUENCE, PROP_IS_FIRST, PROP_IS_LAST, PROP_NEXT_X, PROP_NEXT_Y, PROP_AVAILABLE_WIDTH, PROP_AVAILABLE_HEIGHT, PROP_CHILD_AVAILABLE_IPDIM, PROP_CHILD_AVAILABLE_BPDIM, PROP_GENERATED_BY }; static void fo_area_init (FoArea *object); static void fo_area_base_class_init (FoAreaClass *klass); static void fo_area_class_init (FoAreaClass *klass); static void fo_area_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_area_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_area_finalize (GObject *object); static void fo_area_debug_dump (FoObject *object, gint depth); static gchar* fo_area_sprintf (FoObject *object); static void fo_area_debug_dump_properties_default (FoArea *area, gint depth); static void fo_area_draw (FoArea *area, gpointer output); static FoArea* fo_area_clone_default (FoArea *original); static void fo_area_update_after_clone_default (FoArea *clone, FoArea *original); static FoArea* fo_area_split_before_height_default (FoArea *area, gfloat height); static gboolean fo_area_split_before_height_check_default (FoArea *area, gfloat height); static FoArea* fo_area_split_after_height_default (FoArea *area, gfloat height); static gboolean fo_area_split_after_height_check_default (FoArea *area, gfloat height); static FoArea* fo_area_size_request_default (FoArea *child); static void fo_area_default_resolve_text_align (FoArea *area); static void fo_area_node_unlink_with_next_siblings (FoNode *area); static FoNode* fo_area_node_insert_with_next_siblings (FoNode *parent, gint position, FoNode *area); static FoNode* fo_area_node_insert (FoNode *parent, gint position, FoNode *area); static FoNode* fo_area_node_insert_before (FoNode *parent, FoNode *sibling, FoNode *area); static FoNode* fo_area_node_insert_after (FoNode *parent, FoNode *sibling, FoNode *area); static FoNode* fo_area_node_prepend (FoNode *parent, FoNode *area); static FoNode* fo_area_node_append (FoNode *parent, FoNode *area); static gpointer parent_class; /** * fo_area_get_type: * * Register the #FoArea object type. * * Return value: #GType value of the #FoArea object type. **/ GType fo_area_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaClass), (GBaseInitFunc) fo_area_base_class_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoArea), 0, /* n_preallocs */ (GInstanceInitFunc) fo_area_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_NODE, "FoArea", &object_info, 0); } return object_type; } /** * fo_area_init: * @fo_area: #FoArea object to initialise * * Implements #GInstanceInitFunc for #FoArea **/ void fo_area_init (FoArea *object) { object->is_first = TRUE; object->is_last = TRUE; } /** * fo_area_base_class_init: * @klass: #FoAreaClass base class object to initialise * * Implements #GBaseInitFunc for #FoAreaClass **/ void fo_area_base_class_init (FoAreaClass *klass) { FoObjectClass *fo_object_class = FO_OBJECT_CLASS (klass); FoNodeClass *fo_node_class = FO_NODE_CLASS (klass); fo_object_class->debug_dump = fo_area_debug_dump; fo_object_class->print_sprintf = fo_area_sprintf; fo_node_class->insert = fo_area_node_insert; fo_node_class->insert_before = fo_area_node_insert_before; fo_node_class->insert_after = fo_area_node_insert_after; fo_node_class->insert_with_next_siblings = fo_area_node_insert_with_next_siblings; fo_node_class->unlink_with_next_siblings = fo_area_node_unlink_with_next_siblings; fo_node_class->prepend = fo_area_node_prepend; fo_node_class->append = fo_area_node_append; klass->debug_dump_properties = fo_area_debug_dump_properties_default; klass->add_child = fo_area_real_add_child; klass->clone = fo_area_clone_default; klass->update_after_clone = fo_area_update_after_clone_default; klass->split_before_height = fo_area_split_before_height_default; klass->split_before_height_check = fo_area_split_before_height_check_default; klass->split_after_height = fo_area_split_after_height_default; klass->split_after_height_check = fo_area_split_after_height_check_default; klass->size_request = fo_area_size_request_default; klass->resolve_text_align = fo_area_default_resolve_text_align; } /** * fo_area_class_init: * @klass: #FoAreaClass object to initialise * * Implements #GClassInitFunc for #FoAreaClass **/ void fo_area_class_init (FoAreaClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_finalize; object_class->get_property = fo_area_get_property; object_class->set_property = fo_area_set_property; klass->debug_dump_properties = fo_area_debug_dump_properties; klass->draw = fo_area_draw; g_object_class_install_property (object_class, PROP_PAGE_SEQUENCE, g_param_spec_object ("page_sequence", _("fo:page_sequence node"), _("Ancestor fo:page_sequence node in the formatting object tree"), FO_TYPE_FO, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_PAGE_SEQUENCE, g_param_spec_object ("page", _("Page area"), _("Ancestor FoAreaPage node in the area tree"), FO_TYPE_AREA, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_IS_FIRST, g_param_spec_boolean ("is-first", _("Is first?"), _("Is this the first area produced by the formatting object?"), TRUE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_IS_LAST, g_param_spec_boolean ("is-last", _("Is last?"), _("Is this the last area produced by the formatting object?"), TRUE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_NEXT_X, g_param_spec_float ("next-x", _("next x"), _("x-coordinate of next child area"), 0, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_NEXT_Y, g_param_spec_float ("next-y", _("next y"), _("y-coordinate of next child area"), 0, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_AVAILABLE_WIDTH, g_param_spec_float ("available-width", _("Available width"), _("Width available to child areas"), 0, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_AVAILABLE_HEIGHT, g_param_spec_float ("available-height", _("Available height"), _("Height available to child areas"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_CHILD_AVAILABLE_IPDIM, g_param_spec_float ("child-available-ipdim", _("Child available IPDim"), _("Inline-progression-dimension available to child areas"), 0, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_CHILD_AVAILABLE_BPDIM, g_param_spec_float ("child-available-bpdim", _("Child available BPDim"), _("Block-progression-dimension available to child areas"), 0, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_GENERATED_BY, g_param_spec_object ("generated-by", _("Generated by"), _("Formatting object that generated this area"), FO_TYPE_FO, G_PARAM_READWRITE)); } /** * fo_area_finalize: * @object: #FoArea object to finalize * * Implements #GObjectFinalizeFunc for #FoArea **/ void fo_area_finalize (GObject *object) { FoArea *area; area = FO_AREA (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_get_property: * @object: #GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: #GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for #FoArea **/ void fo_area_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec) { FoArea *area = FO_AREA (object); switch (param_id) { case PROP_PAGE_SEQUENCE: g_value_set_object (value, area->page_sequence ? G_OBJECT (area->page_sequence) : NULL); break; case PROP_IS_FIRST: g_value_set_boolean (value, area->is_first); break; case PROP_IS_LAST: g_value_set_boolean (value, area->is_last); break; case PROP_NEXT_X: g_value_set_float (value, area->next_x); break; case PROP_NEXT_Y: g_value_set_float (value, area->next_y); break; case PROP_AVAILABLE_WIDTH: g_value_set_float (value, fo_area_get_available_width (area)); break; case PROP_AVAILABLE_HEIGHT: g_value_set_float (value, fo_area_get_available_height (area)); break; case PROP_CHILD_AVAILABLE_IPDIM: g_value_set_float (value, fo_area_get_child_available_ipdim (area)); break; case PROP_CHILD_AVAILABLE_BPDIM: g_value_set_float (value, fo_area_get_child_available_bpdim (area)); break; case PROP_GENERATED_BY: g_value_set_object (value, area->generated_by ? G_OBJECT (area->generated_by) : NULL); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_area_set_property: * @object: #GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for #FoArea **/ void fo_area_set_property (GObject *object, guint param_id, const GValue *value, GParamSpec *pspec) { FoArea *fo_area; fo_area = FO_AREA (object); switch (param_id) { case PROP_PAGE_SEQUENCE: fo_area_set_page_sequence (fo_area, g_value_get_object (value)); break; case PROP_IS_FIRST: fo_area_set_is_first (fo_area, g_value_get_boolean (value)); break; case PROP_IS_LAST: fo_area_set_is_last (fo_area, g_value_get_boolean (value)); break; case PROP_NEXT_X: fo_area_set_next_x (fo_area, g_value_get_float (value)); break; case PROP_NEXT_Y: fo_area_set_next_y (fo_area, g_value_get_float (value)); break; case PROP_AVAILABLE_WIDTH: fo_area_set_available_width (fo_area, g_value_get_float (value)); break; case PROP_AVAILABLE_HEIGHT: fo_area_set_available_height (fo_area, g_value_get_float (value)); break; case PROP_CHILD_AVAILABLE_IPDIM: fo_area_set_child_available_ipdim (fo_area, g_value_get_float (value)); break; case PROP_CHILD_AVAILABLE_BPDIM: fo_area_set_child_available_bpdim (fo_area, g_value_get_float (value)); break; case PROP_GENERATED_BY: fo_area_set_generated_by (fo_area, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_area_new: * * Creates a new #FoArea initialized to default value. * * Return value: the new #FoArea **/ FoArea * fo_area_new (void) { FoArea *object; object = FO_AREA (g_object_new (fo_area_get_type (), NULL)); return object; } /** * fo_area_get_is_first: * @fo_area: The @FoArea object * * Gets the #is_first property of @area * * Return value: The "is-first" property value **/ gboolean fo_area_get_is_first (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->is_first; } /** * fo_area_set_is_first: * @fo_area: The @FoArea object * @new_is_first: The new "is-first" property value * * Sets the #is-first property of @fo_area to @new_is_first **/ void fo_area_set_is_first (FoArea *fo_area, gboolean new_is_first) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->is_first = new_is_first; /*g_object_notify (G_OBJECT (fo_area), "is-first");*/ } /** * fo_area_get_page: * @fo_area: The @FoArea object * * Gets the #page property of @area * * Return value: The "page" property value **/ FoArea* fo_area_get_page (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->page; } /** * fo_area_set_page: * @fo_area: The @FoArea object * @page_area: The new "page" property value * * Sets the #page property of @fo_area to @page_area **/ void fo_area_set_page (FoArea *fo_area, FoArea *page_area) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->page = page_area; /*g_object_notify (G_OBJECT (fo_area), "page");*/ } /** * fo_area_get_reference: * @fo_area: The @FoArea object * * Gets the #reference property of @area * * Return value: The "reference" property value **/ FoArea* fo_area_get_reference (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->reference; } /** * fo_area_set_reference: * @fo_area: The @FoArea object * @reference_area: The new "reference" property value * * Sets the #reference property of @fo_area to @reference_area **/ void fo_area_set_reference (FoArea *fo_area, FoArea *reference_area) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->reference = reference_area; /*g_object_notify (G_OBJECT (fo_area), "reference");*/ } /** * fo_area_get_page_sequence: * @fo_area: The @FoArea object * * Gets the #page_sequence property of @area * * Return value: The "page-sequence" property value **/ FoArea* fo_area_get_page_sequence (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->page_sequence; } /** * fo_area_set_page_sequence: * @fo_area: The @FoArea object * @page_sequence_area: The new "page_sequence" property value * * Sets the "page-sequence" property of @area to @page_sequence_area **/ void fo_area_set_page_sequence (FoArea *fo_area, FoArea *page_sequence_area) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->page_sequence = page_sequence_area; /*g_object_notify (G_OBJECT (fo_area), "page-sequence");*/ } /** * fo_area_get_is_last: * @fo_area: The @FoArea object * * Gets the #is_last property of @area * * Return value: The "is-last" property value **/ gboolean fo_area_get_is_last (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->is_last; } /** * fo_area_set_is_last: * @fo_area: The @FoArea object * @new_is_last: The new "is-last" property value * * Sets the #is-last property of @area to @new_is_last **/ void fo_area_set_is_last (FoArea *fo_area, gboolean new_is_last) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->is_last = new_is_last; /*g_object_notify (G_OBJECT (fo_area), "is-last");*/ } /** * fo_area_get_next_x: * @fo_area: The @FoArea object * * Gets the #next_x property of @area * * Return value: The "next_x" property value **/ gfloat fo_area_get_next_x (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->next_x; } /** * fo_area_set_next_x: * @fo_area: The @FoArea object * @new_next_x: The new "next_x" property value * * Sets the #next-x property of @area to @new_next_x **/ void fo_area_set_next_x (FoArea *fo_area, gfloat new_next_x) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->next_x = new_next_x; /*g_object_notify (G_OBJECT (fo_area), "next-x");*/ } /** * fo_area_get_next_y: * @fo_area: The @FoArea object * * Gets the "next_y" property of @area * * Return value: The "next-y" property value **/ gfloat fo_area_get_next_y (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->next_y; } /** * fo_area_set_next_y: * @fo_area: The @FoArea object * @new_next_y: The new "next-y" property value * * Sets the #next-y property of @area to @new_next_y **/ void fo_area_set_next_y (FoArea *fo_area, gfloat new_next_y) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->next_y = new_next_y; /*g_object_notify (G_OBJECT (fo_area), "next-y");*/ } /** * fo_area_get_available_width: * @fo_area: The @FoArea object * * Gets the "available-width" property of @area * * Return value: The "available-width" property value **/ gfloat fo_area_get_available_width (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->available_width; } /** * fo_area_set_available_width: * @fo_area: The @FoArea object * @new_available_width: The new "available-width" property value * * Sets the "available-width" property of @area to @new_available_width **/ void fo_area_set_available_width (FoArea *fo_area, gfloat new_available_width) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->available_width = new_available_width; /*g_object_notify (G_OBJECT (fo_area), "available-width");*/ } /** * fo_area_get_available_height: * @fo_area: The @FoArea object * * Gets the #available-height property of @area * * Return value: The "available_height" property value **/ gfloat fo_area_get_available_height (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->available_height; } /** * fo_area_set_available_height: * @fo_area: The @FoArea object * @new_available_height: The new "available-height" property value * * Sets the #available-height property of @area to @new_available_height **/ void fo_area_set_available_height (FoArea *fo_area, gfloat new_available_height) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->available_height = new_available_height; g_object_notify (G_OBJECT (fo_area), "available-height"); } /** * fo_area_get_child_available_ipdim: * @fo_area: The @FoArea object * * Gets the "child-available-ipdim" property of @area * * Return value: The "child-available-ipdim" property value **/ gfloat fo_area_get_child_available_ipdim (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->child_available_ipdim; } /** * fo_area_set_child_available_ipdim: * @fo_area: The @FoArea object * @new_child_available_ipdim: The new "child-available-ipdim" property value * * Sets the "child-available-ipdim" property of @area to * @new_child_available_ipdim **/ void fo_area_set_child_available_ipdim (FoArea *fo_area, gfloat new_child_available_ipdim) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->child_available_ipdim = new_child_available_ipdim; /*g_object_notify (G_OBJECT (fo_area), "child-available-ipdim");*/ } /** * fo_area_get_child_available_bpdim: * @fo_area: The @FoArea object * * Gets the "child-available-bpdim" property of @area * * Return value: The "child-available-bpdim" property value **/ gfloat fo_area_get_child_available_bpdim (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->child_available_bpdim; } /** * fo_area_set_child_available_bpdim: * @fo_area: The @FoArea object * @new_child_available_bpdim: The new "child-available-bpdim" property value * * Sets the "child-available-bpdim" property of @area to * @new_child_available_bpdim **/ void fo_area_set_child_available_bpdim (FoArea *fo_area, gfloat new_child_available_bpdim) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->child_available_bpdim = new_child_available_bpdim; /*g_object_notify (G_OBJECT (fo_area), "child-available-bpdim");*/ } /** * fo_area_get_generated_by: * @fo_area: The @FoArea object * * Gets the #generated-by property of @area * * Return value: The "generated-by" property value **/ FoFo* fo_area_get_generated_by (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA (fo_area), 0); return fo_area->generated_by; } /** * fo_area_set_generated_by: * @fo_area: The @FoArea object * @new_fo: The new "generated-by" property value * * Sets the #generated-by property of @area to @new_fo **/ void fo_area_set_generated_by (FoArea *fo_area, FoFo *new_fo) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA (fo_area)); fo_area->generated_by = new_fo; /*g_object_notify (G_OBJECT (fo_area), "generated-by");*/ } /** * fo_area_debug_dump: * @object: #FoArea or subclass object instance to be dumped * @depth: Relative indent to apply to the output * * Dump information about @object and its properties **/ void fo_area_debug_dump (FoObject *object, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar* object_sprintf; FoArea *child; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_AREA (object)); object_sprintf = fo_object_debug_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); g_free (indent); FO_AREA_GET_CLASS (object)->debug_dump_properties (FO_AREA (object), depth + 2); child = fo_area_first_child (FO_AREA (object)); while (child) { fo_object_debug_dump (child, depth + 1); child = fo_area_next_sibling (child); } } /** * fo_area_sprintf: * @object: #FoArea to print * * Returns a string name of the object type of #object. * * String must be freed by caller. * * Return value: String value of @object. **/ gchar* fo_area_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_AREA (object), NULL); return (g_strdup_printf("%s", g_type_name (G_TYPE_FROM_INSTANCE (object)))); } /** * fo_area_real_add_child: * @parent: Parent area node * @child: Child area node * * Add @child as a child of @parent in the area tree and set @child's * page_sequence, page, and reference instance variables as * appropriate for both @parent and @child. * * Does NOT modify any other properties -- including geometric * properties -- of either @child or @parent. * * Return value: @child **/ FoArea* fo_area_real_add_child (FoArea *parent, FoArea *child) { g_return_val_if_fail (parent != NULL, NULL); g_return_val_if_fail (FO_IS_AREA (parent), NULL); g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA (child), NULL); fo_area_append (parent, child); if (parent->page_sequence != NULL) child->page_sequence = parent->page_sequence; if (parent->page != NULL) child->page = parent->page; if (FO_IS_AREA_REFERENCE (child)) { child->reference = child; } else { child->reference = parent->reference; } return child; } /** * fo_area_add_child: * @parent: Parent area node * @child: Child area node * * Add @child to @parent by calling the _add_child() function for * @parent. * * Return value: @child **/ FoArea* fo_area_add_child (FoArea *parent, FoArea *child) { if (parent == NULL) { g_error ("area_add_child:: parent is NULL"); return NULL; } else if (!FO_IS_AREA (parent)) { g_error ("area_add_child:: parent is not an area: %s", fo_object_debug_sprintf (parent)); return NULL; } else { return FO_AREA_GET_CLASS (parent)->add_child (parent, child); } } /** * fo_area_debug_dump_properties_default: * @area: #FoArea or subclass object * @depth: Indent level to add to the output * * Default _debug_dump_properties() procedure that is used when an * FoArea subclass does not override the debug_dump_properties class * method. **/ void fo_area_debug_dump_properties_default (FoArea *area, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (FO_IS_AREA (area)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s(No 'debug_dump_properties')", indent); g_free (indent); fo_area_debug_dump_properties (area, depth + 1); } /** * fo_area_debug_dump_properties: * @area: The #FoArea object * @depth: Indent level to add to the output * * Dump the properties of @area. **/ void fo_area_debug_dump_properties (FoArea *area, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar *fo_sprintf; g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA (area)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sis-first: %s", indent, area->is_first ? "true" : "false"); fo_sprintf = fo_object_debug_sprintf (area->prev_part); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sprev-part: %s", indent, fo_sprintf); g_free (fo_sprintf); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sis-last: %s", indent, area->is_last ? "true" : "false"); fo_sprintf = fo_object_debug_sprintf (area->next_part); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%snext-part: %s", indent, fo_sprintf); g_free (fo_sprintf); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%snext-x: %g pt", indent, area->next_x); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%snext-y: %g pt", indent, area->next_y); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%savailable-width: %g pt", indent, area->available_width); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%savailable-height: %g pt", indent, area->available_height); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%schild-available-ipdim: %g pt", indent, area->child_available_ipdim); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%schild-available-bpdim: %g pt", indent, area->child_available_bpdim); fo_sprintf = fo_object_debug_sprintf (area->generated_by); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sgenerated-by: %s", indent, fo_sprintf); g_free (fo_sprintf); fo_sprintf = fo_object_debug_sprintf (area->reference); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sreference: %s", indent, fo_sprintf); g_free (fo_sprintf); fo_sprintf = fo_object_debug_sprintf (area->page); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spage: %s", indent, fo_sprintf); g_free (fo_sprintf); g_free (indent); } /** * fo_area_draw: * @area: #FoArea to draw. * @output: Where to draw it. * * Unused. **/ void fo_area_draw (FoArea *area, gpointer output G_GNUC_UNUSED) { g_return_if_fail (area != NULL); g_warning (_("Area has no 'draw' function.")); } /** * fo_area_update_after_clone: * @clone: New object cloned from @original. * @original: Original area object. * * Update the instance variables of @clone to match those of @original. **/ void fo_area_update_after_clone (FoArea *clone, FoArea *original) { if (original == NULL || clone == NULL) { return; } else { FO_AREA_GET_CLASS (clone)->update_after_clone (clone, original); } } /** * fo_area_update_after_clone_default: * @clone: New object cloned from @original * @original: Original area object * * Update the FoArea-specific instance variables of @clone to match * those of @original. **/ void fo_area_update_after_clone_default (FoArea *clone, FoArea *original) { g_return_if_fail (clone != NULL); g_return_if_fail (FO_IS_AREA (clone)); g_return_if_fail (original != NULL); g_return_if_fail (FO_IS_AREA (original)); fo_area_set_page_sequence (clone, original->page_sequence); fo_area_set_page (clone, original->page); fo_area_set_reference (clone, original->reference); clone->is_first = FALSE; clone->prev_part = original; original->is_last = FALSE; original->next_part = clone; clone->generated_by = original->generated_by; /* FIXME: should be get and set functions for everything from FoFo */ clone->generated_by->areas = g_list_insert (clone->generated_by->areas, clone, g_list_index (clone->generated_by->areas, original) + 1); fo_area_insert_after (fo_area_parent (original), original, clone); } /** * fo_area_clone: * @original: Area object to be cloned. * * Make a clone of @original and insert the clone after @original in * the area tree. Set instance properties of the clone to match * @original. * * Return value: Clone of @original. **/ FoArea* fo_area_clone (FoArea *original) { if (original != NULL) { return FO_AREA_GET_CLASS (original)->clone (original); } else { return NULL; } } /** * fo_area_clone_default: * @original: Area object to be cloned * * Make a clone of @original and insert the clone after @original in * the area tree. Set instance properties of the clone to match * @original. * * Return value: Clone of @original **/ FoArea* fo_area_clone_default (FoArea *original) { FoArea *clone; g_return_val_if_fail (original != NULL, NULL); g_return_val_if_fail (FO_IS_AREA (original), NULL); clone = FO_AREA (g_object_new (G_TYPE_FROM_INSTANCE (original), NULL)); fo_area_update_after_clone (clone, original); return clone; } /** * fo_area_dump_path_to_root: * @area: #FoArea for which to dump path to root. * * Logs a representation of the area tree path from @area to the * tree's root. **/ static void fo_area_dump_path_to_root (FoArea *area) { FoArea *use_area; gint depth = 0; gchar *indent, *object_sprintf; use_area = area; while (!FO_AREA_IS_ROOT (use_area)) { indent = g_strnfill (2 * depth++, ' '); object_sprintf = fo_object_debug_sprintf (use_area); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); g_free (indent); use_area = fo_area_parent (use_area); } } /** * fo_area_border_padding_space_resolve: * @parent_area: Parent area of @child_area. * @child_area: #FoArea for which to resolve properties. * * Resolves the border, padding, and space properties of @child_area. **/ void fo_area_border_padding_space_resolve (FoArea *parent_area, FoArea *child_area) { FoFo *child_fo; gfloat child_available_ipdim, child_available_bpdim; gfloat parent_next_x, parent_next_y; gfloat border_start_width = 0; gfloat border_end_width = 0; gfloat border_before_width = 0; gfloat border_after_width = 0; gfloat padding_start = 0; gfloat padding_end = 0; gfloat padding_before = 0; gfloat padding_after = 0; gfloat start_indent = 0, end_indent = 0; gfloat space_before = 0, space_after = 0; gboolean is_first, is_last; g_return_if_fail (parent_area != NULL); g_return_if_fail (FO_IS_AREA (parent_area)); g_return_if_fail (child_area != NULL); g_return_if_fail (FO_IS_AREA (child_area)); child_fo = child_area->generated_by; g_object_get (parent_area, "child-available-ipdim", &child_available_ipdim, "child-available-bpdim", &child_available_bpdim, "next-x", &parent_next_x, "next-y", &parent_next_y, NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("bps_resolve:: area: %s; area fo: %s; parent: %s; parent fo: %s", fo_object_debug_sprintf (child_area), fo_object_debug_sprintf (child_fo), fo_object_debug_sprintf (parent_area), fo_object_debug_sprintf (parent_area->generated_by); g_message ("bps_resolve:: parent:: child-available-ipdim: %f; child-available-bpdim: %f; next-x: %f; next-y: %f", child_available_ipdim, child_available_bpdim, parent_next_x, parent_next_y); #endif g_object_get (child_area, "is-first", &is_first, "is_last", &is_last, NULL); if (FO_IS_BLOCK_FO (child_fo)) { border_start_width = fo_length_get_value (fo_property_get_value (fo_block_fo_get_border_start_width (child_fo))); border_end_width = fo_length_get_value (fo_property_get_value (fo_block_fo_get_border_end_width (child_fo))); border_before_width = fo_length_get_value (fo_property_get_value (fo_block_fo_get_border_before_width (child_fo))); border_after_width = fo_length_get_value (fo_property_get_value (fo_block_fo_get_border_after_width (child_fo))); padding_start = fo_length_get_value (fo_property_get_value (fo_block_fo_get_padding_start (child_fo))); padding_end = fo_length_get_value (fo_property_get_value (fo_block_fo_get_padding_end (child_fo))); padding_before = fo_length_get_value (fo_property_get_value (fo_block_fo_get_padding_before (child_fo))); padding_after = fo_length_get_value (fo_property_get_value (fo_block_fo_get_padding_after (child_fo))); start_indent = fo_length_get_value (fo_property_get_value (fo_block_fo_get_start_indent (child_fo))); end_indent = fo_length_get_value (fo_property_get_value (fo_block_fo_get_end_indent (child_fo))); space_before = fo_length_get_value (fo_property_get_value (fo_block_fo_get_space_before (child_fo))); space_after = fo_length_get_value (fo_property_get_value (fo_block_fo_get_space_after (child_fo))); #if defined(LIBFO_DEBUG) && 0 g_message ("bps_resolve:: borders:: start: %f; end: %f; before: %f; after: %f", border_start_width, border_end_width, border_before_width, border_after_width); g_message ("bps_resolve:: padding:: start: %f; end: %f; before: %f; after: %f", padding_start, padding_end, padding_before, padding_after); g_message ("bps_resolve:: indent:: start: %f; end: %f; space:: before: %f; after: %f", start_indent, end_indent, space_before, space_after); #endif } fo_area_area_set_border_after (child_area, is_last ? border_after_width : 0.0); fo_area_area_set_border_before (child_area, is_first ? border_before_width: 0.0); fo_area_area_set_border_end (child_area, border_end_width); fo_area_area_set_border_start (child_area, border_start_width); fo_area_area_set_padding_before (child_area, padding_before); fo_area_area_set_padding_end (child_area, padding_end); fo_area_area_set_padding_after (child_area, padding_after); fo_area_area_set_padding_start (child_area, padding_start); fo_area_area_set_start_indent (child_area, start_indent); fo_area_area_set_end_indent (child_area, end_indent); fo_area_area_set_space_before (child_area, space_before); fo_area_area_set_space_after (child_area, space_after); fo_area_area_set_x (child_area, parent_next_x + start_indent); fo_area_area_set_y (child_area, parent_next_y); fo_area_area_set_height (child_area, space_before + border_before_width + padding_before + padding_after + border_after_width + space_after); fo_area_area_set_width (child_area, start_indent + end_indent); fo_area_set_next_x (child_area, start_indent); fo_area_set_next_y (child_area, - (space_before + padding_before + border_before_width)); fo_area_set_available_height (child_area, MAX (child_available_bpdim - space_before - space_after - border_before_width - border_after_width - padding_before - padding_after, 0)); fo_area_set_available_width (child_area, MAX (child_available_ipdim - start_indent - end_indent, 0)); } /** * fo_area_break_resolve: * @parent_area: Parent area of @new_area. * @new_area: #FoArea for which to resolve breaks. * * Resolves the break properties of @new_area, which may result in * @new_area being split into multiple areas. * * Return value: Last area resulting from resolving breaks. **/ FoArea* fo_area_break_resolve (FoArea *parent_area, FoArea *new_area) { gint break_before = FO_ENUM_ENUM_AUTO; gint prev_break_after = FO_ENUM_ENUM_AUTO; FoFo *fo; FoProperty *prev_break_after_prop = NULL; FoProperty *break_before_prop = NULL; gint page_number; g_return_val_if_fail (parent_area != NULL, NULL); g_return_val_if_fail (FO_IS_AREA (parent_area), NULL); g_return_val_if_fail (new_area != NULL, NULL); g_return_val_if_fail (FO_IS_AREA (new_area), NULL); fo = new_area->generated_by; if (g_object_class_find_property (G_OBJECT_GET_CLASS (fo), "break-before")) { g_object_get (fo, "break-before", &break_before_prop, NULL); break_before = fo_enum_get_value (fo_property_get_value (break_before_prop)); } if (!FO_AREA_IS_LEAF (parent_area) && g_object_class_find_property (G_OBJECT_GET_CLASS (fo_area_last_child (parent_area)->generated_by), "break-after")) { g_object_get (fo_area_last_child (parent_area)->generated_by, "break-after", &prev_break_after_prop, NULL); prev_break_after = fo_enum_get_value (fo_property_get_value (prev_break_after_prop)); } page_number = fo_area_page_get_page_number (parent_area->page); #if defined(LIBFO_DEBUG) && 0 g_message ("break_resolve:: page_number: %d; break_before: %d; prev break_after: %d", page_number, break_before, prev_break_after); #endif if (((break_before == FO_ENUM_ENUM_PAGE) && (!FO_AREA_IS_LEAF (parent_area))) || ((break_before == FO_ENUM_ENUM_ODD_PAGE) && ((!FO_AREA_IS_LEAF (parent_area)) || (page_number % 2 == 0))) || ((break_before == FO_ENUM_ENUM_EVEN_PAGE) && ((!FO_AREA_IS_LEAF (parent_area)) || (page_number % 2 == 1))) || ((prev_break_after_prop != NULL) && (((prev_break_after == FO_ENUM_ENUM_PAGE) && (!FO_AREA_IS_LEAF (parent_area))) || ((prev_break_after == FO_ENUM_ENUM_ODD_PAGE) && ((!FO_AREA_IS_LEAF (parent_area)) || (page_number % 2 == 1)))|| ((prev_break_after == FO_ENUM_ENUM_EVEN_PAGE) && ((!FO_AREA_IS_LEAF (parent_area)) || (page_number % 2 == 0)))))) { FoArea *clone; g_message ("break_resolve:: make new page: %d", ++page_number); clone = fo_area_clone (parent_area); fo_area_dump_path_to_root (clone); /* parent_area = fo_add_to_new_page_area (fo_node, parent_area, context, NULL, debug_level); page_number = fo_area_page_get_page_number (parent_area->page); */ if (((page_number % 2 == 1) && ((break_before == FO_ENUM_ENUM_PAGE) || ((prev_break_after_prop != NULL) && (prev_break_after == FO_ENUM_ENUM_EVEN_PAGE)))) || ((page_number % 2 == 0) && ((break_before == FO_ENUM_ENUM_ODD_PAGE) || ((prev_break_after_prop != NULL) && (prev_break_after == FO_ENUM_ENUM_ODD_PAGE))))) { g_message ("break_resolve:: make another new page: %d", ++page_number); clone = fo_area_clone (clone); fo_area_dump_path_to_root (clone); /* parent_area = fo_add_to_new_page_area (fo_node, parent_area, context, NULL, debug_level); */ } g_message ("break_resolve:: clone: %p; parent_area: %p; new_area: %p", clone, parent_area, new_area); return clone; } return parent_area; } /** * fo_area_split_before_height: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Split @area at or before @height. * * Return value: The part of @area spit from @area, or NULL if unsplit. **/ FoArea* fo_area_split_before_height (FoArea *area, gfloat height) { return FO_AREA_GET_CLASS (area)->split_before_height (area, height); } /** * fo_area_split_before_height_default: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Default function for split_before_height class method. * * Class method should be overridden by subclasses of #FoArea. * * Return value: NULL, indicating that @area was not split. **/ FoArea* fo_area_split_before_height_default (FoArea *area, gfloat height G_GNUC_UNUSED) { g_warning ("%s does not have a 'split_before_height' function.", g_type_name (G_TYPE_FROM_INSTANCE (area))); return NULL; } /** * fo_area_split_before_height_check: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Check whether @area can split at or before @height. * * Return value: TRUE if can split, otherwise FALSE. **/ gboolean fo_area_split_before_height_check (FoArea *area, gfloat height) { return FO_AREA_GET_CLASS (area)->split_before_height_check (area, height); } /** * fo_area_split_before_height_check_default: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Default function for split_before_height_check class method. * * Class method should be overridden by subclasses of #FoArea. * * Return value: %FALSE, indicating that @area cannot split **/ gboolean fo_area_split_before_height_check_default (FoArea *area, gfloat height G_GNUC_UNUSED) { g_warning ("%s does not have a 'split_before_height_check' function.", g_type_name (G_TYPE_FROM_INSTANCE (area))); return FALSE; } /** * fo_area_split_after_height: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Split @area at or after @height. * * Return value: The part of @area spit from @area, or NULL if unsplit. **/ FoArea* fo_area_split_after_height (FoArea *area, gfloat height) { return FO_AREA_GET_CLASS (area)->split_after_height (area, height); } /** * fo_area_split_after_height_default: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Default function for split_after_height class method. * * Class method should be overridden by subclasses of #FoArea. * * Return value: NULL, indicating that @area was not split. **/ FoArea* fo_area_split_after_height_default (FoArea *area, gfloat height G_GNUC_UNUSED) { g_warning ("%s does not have a 'split_after_height' function.", g_type_name (G_TYPE_FROM_INSTANCE (area))); return NULL; } /** * fo_area_split_after_height_check: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Check whether @area can split at or after @height. * * Return value: TRUE if can split, otherwise FALSE. **/ gboolean fo_area_split_after_height_check (FoArea *area, gfloat height) { return FO_AREA_GET_CLASS (area)->split_after_height_check (area, height); } /** * fo_area_split_after_height_check_default: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Default function for split_after_height_check class method. * * Class method should be overridden by subclasses of #FoArea. * * Return value: %FALSE, indicating that @area cannot split **/ gboolean fo_area_split_after_height_check_default (FoArea *area, gfloat height G_GNUC_UNUSED) { g_warning ("%s does not have a 'split_after_height_check' function.", g_type_name (G_TYPE_FROM_INSTANCE (area))); return FALSE; } /** * fo_area_default_resolve_text_align: * @area: #FoArea for which to resolve text alignment. * * Resolves the text alignment value for @area and its descendants. **/ static void fo_area_default_resolve_text_align (FoArea *area) { FoArea *child_area; child_area = fo_area_first_child (area); while (child_area) { fo_area_resolve_text_align (child_area); child_area = fo_area_next_sibling (child_area); } } /** * fo_area_resolve_text_align: * @area: #FoArea for which to resolve text alignment. * * Resolves the text alignment value for @area and its descendants. **/ void fo_area_resolve_text_align (FoArea *area) { if (area != NULL) { FO_AREA_GET_CLASS (area)->resolve_text_align (area); } } /** * fo_area_size_request: * @child: Child area * * Checks that the parent area of @child has sufficient space for * @child. If not enough space, requests that the parent has * sufficient space allocated for it, then adjusts @child and its * siblings as necessary to fit into the resized parent area. * * You should call #fo_area_size_request() immediately after adding * an area to the area tree or making a change to the area's height. * * The child area's requested height is taken from the area's height * property value. Its requested width is taken from its width * property value. * * The height allocated to the area is set in the area's * available_height property value. Its width allocation is set in * its available_width property value. * * Immediately after calling this function, the child area should set * its height and width according to the available_height and * available_width property values. How the child area resolves any * difference between the available height and width and the height * and width that it needs is up to the child area to work out. * * The child area's x and y property values may also have been * adjusted, but a child area doesn't set its own x and y property * values anyway. * * The area that is returned may be a different area object than the * child area that is passed as the argument to this function. For * example, the parent area may not have been large enough to contain * the child area at its requested height, and the child area, the * parent area, and all ancestor areas up to an FoAreaPage may have * been split (possibly more than once) and the overflow placed on one * or more new pages. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_size_request (FoArea *child) { FoArea *parent = fo_area_parent (child); if (parent == NULL) { g_error ("area_size_request:: parent is NULL"); return NULL; } else if (!FO_IS_AREA (parent)) { g_error ("area_size_request:: parent is not an area: %s", fo_object_debug_sprintf (parent)); return NULL; } else { return FO_AREA_GET_CLASS (parent)->size_request (child); } } /** * fo_area_accumulate_height: * @area: #FoArea whose height to add. * @data: Total to which to add height of @area. * * For use with #fo_area_children_foreach. **/ void fo_area_accumulate_height (FoArea *area, gpointer data) { gfloat *total = (gfloat *) data; #if defined(LIBFO_DEBUG) && 0 g_message ("add_height:: height: %f; area: %s; generated by: %s", fo_area_area_get_height (area), fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by)); #endif *total += fo_area_area_get_height (area); /*if (fo_area_prev_sibling (area))*/ *total += fo_area_area_get_space_before (area); /*if (fo_area_next_sibling (area))*/ *total += fo_area_area_get_space_after (area); } /** * fo_area_size_adjust: * @area: #FoArea node to be placed within parent * @data: Not used * * Place @area within its parent and adjust the parent's next-x and * next-y properties accordingly. **/ void fo_area_size_adjust (FoArea *area, gpointer data G_GNUC_UNUSED) { FoArea *parent = fo_area_parent (area); fo_area_area_set_x (area, fo_area_get_next_x (parent) + fo_area_area_get_start_indent (area)); fo_area_area_set_y (area, fo_area_get_next_y (parent) - fo_area_area_get_space_before (area)); /* FIXME: 0 or border+padding? */ fo_area_set_next_x (parent, 0); fo_area_set_next_y (parent, fo_area_get_next_y (parent) - fo_area_area_get_height (area) - fo_area_area_get_space_before (area) - fo_area_area_get_space_after (area)); fo_area_set_available_height (area, fo_area_area_get_height (area)); /* FIXME: Shouldn't child do its own accounting for indents? */ fo_area_set_available_width (area, MAX (fo_area_get_child_available_ipdim (parent) - fo_area_area_get_start_indent (area) - fo_area_area_get_end_indent (area), 0)); } /** * fo_area_set_or_split: * @area: #FoArea to be either placed within the parent area or split * into two areas * @data: Not used * * **/ void fo_area_set_or_split (FoArea *area, gpointer data G_GNUC_UNUSED) { FoArea *parent = fo_area_parent (area); gfloat child_available_bpdim = fo_area_get_child_available_bpdim (parent); if ((child_available_bpdim - (fo_area_get_next_y (parent) - fo_area_area_get_height (area))) >= 0) { fo_area_area_set_x (area, fo_area_get_next_x (parent) + fo_area_area_get_start_indent (area)); fo_area_area_set_y (area, fo_area_get_next_y (parent)); /* FIXME: 0 or border+padding? */ fo_area_set_next_x (parent, 0); fo_area_set_next_y (parent, fo_area_get_next_y (parent) - fo_area_area_get_height (area)); fo_area_set_available_height (area, fo_area_area_get_height (area)); fo_area_set_available_width (area, fo_area_get_child_available_ipdim (parent)); } else { #if defined(LIBFO_DEBUG) && 1 g_message ("set_or_split:: splitting:: child: %s; generated by: %s", fo_object_debug_sprintf (area) , fo_object_debug_sprintf (area->generated_by)); #endif area = fo_area_split_before_height (area, child_available_bpdim - fo_area_area_get_height (parent)); parent = fo_area_parent (area); child_available_bpdim = fo_area_get_child_available_bpdim (parent); } } /** * fo_area_size_request_default: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_size_request_default (FoArea *child) { FoArea *parent; FoArea *child_original_next_part; FoArea *return_child; gfloat total_child_height = 0; gfloat child_available_ipdim; gfloat child_available_bpdim; gfloat child_height; gfloat child_space_before, child_space_after; g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_parent (child)), NULL); child_original_next_part = child->next_part; child_height = fo_area_area_get_height (child); child_space_before = fo_area_area_get_space_before (child); child_space_after = fo_area_area_get_space_after (child); parent = fo_area_parent (child); child_available_bpdim = fo_area_get_child_available_bpdim (parent); #if defined(LIBFO_DEBUG) && 1 g_message ("size_request_default (%p):: parent: %s; generated by: %s; available_height: %g", child, fo_object_debug_sprintf (parent), fo_object_debug_sprintf (parent->generated_by), child_available_bpdim); g_message ("size_request_default (%p):: child: %s; generated by: %s; height: %g; space_before: %g; space_after: %g", child, fo_object_debug_sprintf (child), fo_object_debug_sprintf (child->generated_by), child_height, child_space_before, child_space_after); #endif fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); #if defined(LIBFO_DEBUG) && 1 g_message ("size_request_default (%p):: child total: %g", child, total_child_height); #endif fo_area_area_set_height (parent, total_child_height + fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent) + fo_area_area_get_padding_after (parent) + fo_area_area_get_border_after (parent)); /* Don't bother doing a size_request if still fit within available height */ if (child_available_bpdim < fo_area_area_get_height (parent)) { parent = fo_area_size_request (parent); child_available_ipdim = MAX (fo_area_get_available_width (parent) - fo_area_area_get_border_start (parent) - fo_area_area_get_padding_start (parent) - fo_area_area_get_padding_end (parent) - fo_area_area_get_border_end (parent), 0); fo_area_set_child_available_ipdim (parent, child_available_ipdim); child_available_bpdim = MAX (fo_area_get_available_height (parent) - fo_area_area_get_border_before (parent) - fo_area_area_get_padding_before (parent) - fo_area_area_get_padding_after (parent) - fo_area_area_get_border_after (parent), 0); fo_area_set_child_available_bpdim (parent, child_available_bpdim); #if defined(LIBFO_DEBUG) && 1 g_message ("size_request_default:: child: %s; new parent: %s; generated by: %s; available_height: %g; child_available_ipdim: %g; child_available_bpdim: %g", fo_object_debug_sprintf (child), fo_object_debug_sprintf (parent), fo_object_debug_sprintf (parent->generated_by), fo_area_get_available_height (parent), child_available_ipdim, child_available_bpdim); #endif } total_child_height = 0; fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); #if defined(LIBFO_DEBUG) && 1 g_message ("size_request_default (%p):: new child total: %g", child, total_child_height); #endif fo_area_set_next_x (parent, fo_area_area_get_border_start (parent) + fo_area_area_get_padding_start (parent)); fo_area_set_next_y (parent, - (fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent))); if (total_child_height <= child_available_bpdim) { fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_size_adjust, NULL); #if defined(LIBFO_DEBUG) && 1 g_message ("size_request_default (%p):: return:: parent->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (parent)), fo_object_debug_sprintf (fo_area_last_child (parent)->generated_by)); #endif return_child = child; while ((return_child->next_part != NULL) && (return_child->next_part != child_original_next_part)) { return_child = return_child->next_part; } return return_child; /* return fo_area_last_child (parent); */ } else { fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_set_or_split, NULL); #if defined(LIBFO_DEBUG) && 1 g_message ("size_request_default (%p):: total > available:: return:: parent->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (parent)), fo_object_debug_sprintf (fo_area_last_child (parent)->generated_by)); #endif return_child = child; while ((return_child->next_part != NULL) && (return_child->next_part != child_original_next_part)) { return_child = return_child->next_part; } return return_child; /* return fo_area_last_child (parent); */ } } /** * fo_area_update_child_after_insert: * @parent: * @child: * * **/ static void fo_area_update_child_after_insert (FoArea *parent, FoArea *child) { g_return_if_fail (FO_IS_AREA (parent)); g_return_if_fail (FO_IS_AREA (child)); if (!FO_IS_AREA_PAGE (child)) { child->page = parent->page; } if (!FO_IS_AREA_REFERENCE (child)) { child->reference = parent->reference; } } /** * fo_area_node_insert: * @parent: * @position: * @area: * * * * Return value: **/ FoNode* fo_area_node_insert (FoNode *parent, gint position, FoNode *area) { return ((FoNode *) fo_area_insert (((FoArea *) parent), position, ((FoArea *) area))); } /** * fo_area_insert: * @parent: * @position: * @area: * * * * Return value: **/ FoArea* fo_area_insert (FoArea *parent, gint position, FoArea *area) { FoArea *new_area; g_return_val_if_fail (FO_IS_AREA (parent), area); g_return_val_if_fail (FO_IS_AREA (area), area); new_area = FO_AREA (FO_NODE_CLASS (parent_class)->insert (FO_NODE (parent), position, FO_NODE (area))); fo_area_update_child_after_insert (parent, new_area); return new_area; } /** * fo_area_node_insert_before: * @parent: * @sibling: * @area: * * * * Return value: **/ FoNode* fo_area_node_insert_before (FoNode *parent, FoNode *sibling, FoNode *area) { return ((FoNode *) fo_area_insert_before (((FoArea *) parent), ((FoArea *) sibling), ((FoArea *) area))); } /** * fo_area_insert_before: * @parent: * @sibling: * @area: * * * * Return value: **/ FoArea* fo_area_insert_before (FoArea *parent, FoArea *sibling, FoArea *area) { FoArea *new_area; g_return_val_if_fail (FO_IS_AREA (parent), area); g_return_val_if_fail (FO_IS_AREA (sibling), area); g_return_val_if_fail (FO_IS_AREA (area), area); new_area = FO_AREA (FO_NODE_CLASS (parent_class)->insert_before (FO_NODE (parent), FO_NODE (sibling), FO_NODE (area))); fo_area_update_child_after_insert (parent, new_area); return new_area; } /** * fo_area_node_insert_after: * @parent: * @sibling: * @area: * * * * Return value: **/ FoNode* fo_area_node_insert_after (FoNode *parent, FoNode *sibling, FoNode *area) { return ((FoNode *) fo_area_insert_after (((FoArea *) parent), ((FoArea *) sibling), ((FoArea *) area))); } /** * fo_area_insert_after: * @parent: * @sibling: * @area: * * * * Return value: **/ FoArea* fo_area_insert_after (FoArea *parent, FoArea *sibling, FoArea *area) { FoArea *new_area; g_return_val_if_fail (FO_IS_AREA (parent), area); g_return_val_if_fail (FO_IS_AREA (sibling), area); g_return_val_if_fail (FO_IS_AREA (area), area); new_area = FO_AREA (FO_NODE_CLASS (parent_class)->insert_after (FO_NODE (parent), FO_NODE (sibling), FO_NODE (area))); fo_area_update_child_after_insert (parent, new_area); return new_area; } /** * fo_area_node_prepend: * @parent: the #FoNode to place the new #FoNode under. * @area: the #FoNode to insert. * * Inserts a #FoNode as the first child of the given parent. * * Return value: the inserted #FoNode. **/ FoNode* fo_area_node_prepend (FoNode *parent, FoNode *area) { return ((FoNode *) fo_area_prepend (((FoArea *) parent), ((FoArea *) area))); } /** * fo_area_prepend: * @parent: the #FoArea to place the new #FoArea under. * @area: the #FoArea to insert. * * Inserts a #FoArea as the first child of the given parent and * updates the inserted #FoArea. * * Return value: the inserted #FoArea. **/ FoArea* fo_area_prepend (FoArea *parent, FoArea *area) { FoArea *new_area; g_return_val_if_fail (FO_IS_AREA (parent), area); g_return_val_if_fail (FO_IS_AREA (area), area); new_area = FO_AREA (FO_NODE_CLASS (parent_class)->prepend (FO_NODE (parent), FO_NODE (area))); fo_area_update_child_after_insert (parent, new_area); return new_area; } /** * fo_area_node_append: * @parent: the #FoNode to place the new #FoNode under. * @area: the #FoNode to insert. * * Inserts a #FoNode as the last child of the given parent. * * Return value: the inserted #FoNode. **/ FoNode* fo_area_node_append (FoNode *parent, FoNode *area) { return ((FoNode *) fo_area_append (((FoArea *) parent), ((FoArea *) area))); } /** * fo_area_append: * @parent: the #FoArea to place the new #FoArea under. * @area: the #FoArea to insert. * * Inserts a #FoArea as the last child of the given parent and updates * the inserted #FoArea. * * Return value: the inserted #FoArea. **/ FoArea* fo_area_append (FoArea *parent, FoArea *area) { FoArea *new_area; g_return_val_if_fail (FO_IS_AREA (parent), area); g_return_val_if_fail (FO_IS_AREA (area), area); new_area = FO_AREA (FO_NODE_CLASS (parent_class)->append (FO_NODE (parent), FO_NODE (area))); fo_area_update_child_after_insert (parent, new_area); return new_area; } /** * fo_area_n_areas: * @root: a #FoArea. * @flags: which types of children are to be counted, one of * %G_TRAVERSE_ALL, %G_TRAVERSE_LEAFS and * %G_TRAVERSE_NON_LEAFS. * * Gets the number of nodes in a tree. * * Return value: the number of nodes in the tree. **/ guint fo_area_n_areas (FoArea *root, GTraverseFlags flags) { return fo_node_n_nodes (FO_NODE (root), flags); } /** * fo_area_get_root: * @area: * * * * Return value: **/ FoArea* fo_area_get_root (FoArea *area) { return FO_AREA (fo_node_get_root (FO_NODE (area))); } /** * fo_area_is_ancestor: * @area: * @descendant: * * * * Return value: **/ gboolean fo_area_is_ancestor (FoArea *area, FoArea *descendant) { return fo_node_is_ancestor (FO_NODE (area), FO_NODE (descendant)); } /** * fo_area_depth: * @area: a #FoArea. * * Gets the depth of a #FoArea. * * If @area is %NULL the depth is 0. The root node has a depth of 1. For * the children of the root node the depth is 2. And so on. * * Return value: the depth of the #FoArea. **/ guint fo_area_depth (FoArea *area) { return fo_node_depth (((FoNode *) area)); } typedef struct _FoAreaFuncData { FoAreaForeachFunc func; gpointer area_func_data; } FoAreaFuncData; #if 0 static void fo_area_g_node_children_foreach_func (GNode *node, gpointer data) { const FoAreaFuncData *fo_area_func_data = (FoAreaFuncData *) data; fo_area_func_data->func (node->data, fo_area_func_data->area_func_data); } #endif /** * fo_area_children_foreach: * @area: a #FoArea. * @flags: which types of children are to be visited, one of * %G_TRAVERSE_ALL, %G_TRAVERSE_LEAFS and * %G_TRAVERSE_NON_LEAFS. * @func: the function to call for each visited node. * @data: user data to pass to the function. * * Calls a function for each of the children of a #FoArea. Note that * it doesn't descend beneath the child nodes. **/ void fo_area_children_foreach (FoArea *area, GTraverseFlags flags, FoAreaForeachFunc func, gpointer data) { fo_node_children_foreach (((FoNode *) area), flags, (FoNodeForeachFunc) func, data); } /** * fo_area_reverse_children: * @area: a #FoArea. * * Reverses the order of the children of a #FoArea. (It doesn't change * the order of the grandchildren.) **/ void fo_area_reverse_children (FoArea *area) { fo_node_reverse_children (((FoNode *) area)); } /** * fo_area_n_children: * @area: a #FoArea. * * Gets the number of children of a #FoArea. * * Return value: the number of children of @area. **/ guint fo_area_n_children (FoArea *area) { return fo_node_n_children (((FoNode *) area)); } /** * fo_area_nth_child: * @area: a #FoArea. * @n: the index of the desired child. * * Gets a child of a #FoArea, using the given index. The first child * is at index 0. If the index is too big, %NULL is returned. * * Return value: the child of @area at index @n. **/ FoArea* fo_area_nth_child (FoArea *area, guint n) { return ((FoArea *) fo_node_nth_child (((FoNode *) area), n)); } /** * fo_area_last_child: * @area: a #FoArea (nust not be %NULL). * * Gets the last child of a #FoArea. * * Return value: the last child of @area, or %NULL if @area has no * children. **/ FoArea* fo_area_last_child (FoArea *area) { return ((FoArea *) fo_node_last_child (((FoNode *) area))); } /** * fo_area_child_position: * @area: a #FoArea. * @child: a child of @area. * * Gets the position of a #FoArea with respect to its siblings. @child * must be a child of @area. The first child is numbered 0, the second * 1, and so on. * * Return value: the position of @child with respect to its siblings. **/ guint fo_area_child_position (FoArea *area, FoArea *child) { return fo_node_child_position (((FoNode *) area), ((FoNode *) child)); } /** * fo_area_first_sibling: * @area: a #FoArea. * * Gets the first sibling of a #FoArea. This could possibly be the * node itself. * * Return value: the first sibling of @area. **/ FoArea* fo_area_first_sibling (FoArea *area) { return ((FoArea *) fo_node_first_sibling ((FoNode *) area)); } /** * fo_area_last_sibling: * @area: a #FoArea. * * Gets the last sibling of a #FoArea. This could possibly be the node * itself. * * Return value: the last sibling of @area. **/ FoArea* fo_area_last_sibling (FoArea *area) { return ((FoArea *) fo_node_last_sibling (((FoNode *) area))); } /** * fo_area_prev_sibling: * @area: a #FoArea. * * Gets the previous sibling of a #FoArea. * * Return value: the previous sibling of @area, or %NULL if @area is * %NULL. **/ FoArea* fo_area_prev_sibling (FoArea *area) { return ((FoArea *) fo_node_prev_sibling (((FoNode *) area))); } /** * fo_area_next_sibling: * @area: a #FoArea. * * Gets the next sibling of a #FoArea. * * Return value: the next sibling of @area, or %NULL if @area is %NULL. **/ FoArea* fo_area_next_sibling (FoArea *area) { return ((FoArea *) fo_node_next_sibling (((FoNode *) area))); } /** * fo_area_first_child: * @area: A #FoArea. * * Gets the first child of a #FoArea. * * Return value: the first child of @area, or %NULL if @area is %NULL or * has no children. **/ FoArea* fo_area_first_child (FoArea *area) { return ((FoArea *) fo_node_first_child (((FoNode *) area))); } /** * fo_area_parent: * @area: a #FoArea. * * Gets the parent of a #FoArea. * * Return value: the parent of @area, or %NULL if @area is the root of * the tree. **/ FoArea* fo_area_parent (FoArea *area) { return ((FoArea *) fo_node_parent (((FoNode *) area))); } /** * fo_area_unlink: * @area: the #FoArea to unlink, which becomes the root of a new tree. * * Unlinks an #FoArea from an #FoArea tree, resulting in two separate * trees. **/ void fo_area_unlink (FoArea *area) { fo_node_unlink (((FoNode *) area)); } /** * fo_area_max_height: * @root: Root node of a #FoArea tree. * * Gets the maximum height of all branches beneath a #FoArea. This is * the maximum distance from the #FoArea to all leaf nodes. * * If @root is %NULL, 0 is returned. If @root has no children, 1 is * returned. If @root has children, 2 is returned. And so on. * * Return value: the maximum height of the tree beneath @root. **/ guint fo_area_max_height (FoArea *root) { return fo_node_max_height (((FoNode *) root)); } typedef struct _FoAreaTraverseFuncData { FoAreaTraverseFunc func; gpointer area_func_data; } FoAreaTraverseFuncData; /** * fo_area_traverse: * @root: * @order: * @flags: * @max_depth: * @func: * @data: * * **/ void fo_area_traverse (FoArea *root, GTraverseType order, GTraverseFlags flags, gint max_depth, FoAreaTraverseFunc func, gpointer data) { fo_node_traverse (((FoNode *) root), order, flags, max_depth, (FoNodeTraverseFunc) func, data); } /** * fo_area_node_unlink_with_next_siblings: * @area: First #FoNode to unlink. * * Unlinks @area and its following siblings. * * #FoArea implementation of fo_node_unlink_with_next_siblings(). **/ void fo_area_node_unlink_with_next_siblings (FoNode *area) { fo_area_unlink_with_next_siblings (((FoArea *) area)); } /** * fo_area_unlink_with_next_siblings: * @area: First #FoArea to unlink. * * Unlinks @area and its following siblings. **/ void fo_area_unlink_with_next_siblings (FoArea *area) { FO_NODE_CLASS (parent_class)->unlink_with_next_siblings (((FoNode *) area)); } /** * fo_area_node_insert_with_next_siblings: * @parent: #FoNode to be parent of @area and its siblings. * @position: Offset at which to insert @area and its siblings. * @area: #FoNode, possibly with following siblings. * * Implements fo_node_insert_with_next_siblings for #FoArea. * * Return value: @parent with @area and siblings inserted. **/ FoNode* fo_area_node_insert_with_next_siblings (FoNode *parent, gint position, FoNode *area) { return ((FoNode *) fo_area_insert_with_next_siblings (((FoArea *) parent), position, ((FoArea *) area))); } /** * fo_area_insert_with_next_siblings: * @parent: #FoArea to be parent of @area and its siblings. * @position: Offset at which to insert @area and its siblings. * @area: #FoArea, possibly with following siblings. * * Implements fo_node_insert_with_next_siblings for #FoArea. * * Return value: @parent with @area and siblings inserted. **/ FoArea* fo_area_insert_with_next_siblings (FoArea *parent, gint position, FoArea *area) { return FO_AREA (FO_NODE_CLASS (parent_class)->insert_with_next_siblings (FO_NODE (parent), position, FO_NODE (area))); } xmlroff-0.6.2/libfo/area/fo-area-private.h0000644000175000017500000000576211150536664015274 00000000000000/* Fo * fo-area-private.h: Structures and functions private to base area object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_PRIVATE_H__ #define __FO_AREA_PRIVATE_H__ #include #include #include #include G_BEGIN_DECLS struct _FoArea { FoNode parent_instance; FoArea *page_sequence; FoArea *page; FoArea *reference; gboolean is_first; /* First area generated by 'generated_by'? */ FoArea *prev_part; /* Previous area generated by 'generated_by' */ gboolean is_last; /* Last area generated by 'generated_by'? */ FoArea *next_part; /* Next area generated by 'generated_by' */ gfloat next_x; /* X-offset at which to place next child */ gfloat next_y; /* Y-offset at which to place next child */ gfloat available_width; /* Width available to this area */ gfloat available_height; /* Height available to this area */ gfloat child_available_ipdim; /* bpdim available to children of this area */ gfloat child_available_bpdim; /* ipdim available to children of this area */ FoFo *generated_by; }; struct _FoAreaClass { FoNodeClass parent_class; void (* draw) (FoArea *area, gpointer output); void (* debug_dump_properties) (FoArea *area, gint depth); FoArea* (* add_child) (FoArea *parent, FoArea *child); FoArea* (* clone) (FoArea *original); void (* update_after_clone) (FoArea *clone, FoArea *original); FoArea* (* split_before_height) (FoArea *area, gfloat height); gboolean (* split_before_height_check) (FoArea *area, gfloat height); FoArea* (* split_after_height) (FoArea *area, gfloat height); gboolean (* split_after_height_check) (FoArea *area, gfloat height); FoArea* (* size_request) (FoArea *child); void (* resolve_text_align) (FoArea *area); /* tree functions that may be restricted */ FoArea* (* insert) (FoArea *parent, gint position, FoArea *area); FoArea* (* insert_before) (FoArea *parent, FoArea *sibling, FoArea *area); FoArea* (* insert_after) (FoArea *parent, FoArea *sibling, FoArea *area); FoArea* (* prepend) (FoArea *parent, FoArea *area); FoArea* (* append) (FoArea *parent, FoArea *area); }; FoArea * fo_area_real_add_child (FoArea *parent, FoArea *child); /* utility functions for fo_area_children_foreach */ void fo_area_accumulate_height (FoArea *area, gpointer data); void fo_area_size_adjust (FoArea *area, gpointer data); void fo_area_set_or_split (FoArea *area, gpointer data); G_END_DECLS #endif /* !__FO_AREA_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-area.c0000644000175000017500000011651610723542572014525 00000000000000/* Fo * fo-area-area.c: Area area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-area.h" #include "fo-area-area-private.h" #include "fo/fo-block-fo.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-next.h" enum { PROP_0, PROP_X, PROP_Y, PROP_WIDTH, PROP_HEIGHT, PROP_BORDER_BEFORE, PROP_BORDER_AFTER, PROP_BORDER_START, PROP_BORDER_END, PROP_PADDING_BEFORE, PROP_PADDING_AFTER, PROP_PADDING_START, PROP_PADDING_END }; static void fo_area_area_base_class_init (FoAreaAreaClass *klass); static void fo_area_area_class_init (FoAreaAreaClass *klass); static void fo_area_area_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_area_area_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_area_area_finalize (GObject *object); static void fo_area_area_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_area_split_before_height (FoArea *area, gfloat max_height); static gboolean fo_area_area_split_before_height_check (FoArea *area, gfloat max_height); static void fo_area_area_update_after_clone (FoArea *clone, FoArea *original); static void fo_area_area_resolve_child_ipdim (FoArea *fo_area); static gpointer parent_class; GType fo_area_area_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaAreaClass), (GBaseInitFunc) fo_area_area_base_class_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_area_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaArea), 0, /* n_preallocs */ NULL, /* instance_init */ NULL }; object_type = g_type_register_static (FO_TYPE_AREA, "FoAreaArea", &object_info, 0); } return object_type; } static void fo_area_area_base_class_init (FoAreaAreaClass *klass) { FO_AREA_CLASS (klass)->split_before_height = fo_area_area_split_before_height; FO_AREA_CLASS (klass)->split_before_height_check = fo_area_area_split_before_height_check; } static void fo_area_area_class_init (FoAreaAreaClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoAreaClass *fo_area_class = FO_AREA_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_area_finalize; object_class->set_property = fo_area_area_set_property; object_class->get_property = fo_area_area_get_property; fo_area_class->debug_dump_properties = fo_area_area_debug_dump_properties; fo_area_class->update_after_clone = fo_area_area_update_after_clone; g_object_class_install_property (object_class, PROP_X, g_param_spec_float ("x", _("x position"), _("x position property"), 0, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_Y, g_param_spec_float ("y", _("y position"), _("y position property"), 0, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_float ("width", _("Area width"), _("Area width property"), 0, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_float ("height", _("Area height"), _("Area height property"), 0, G_MAXFLOAT, 0, G_PARAM_READWRITE)); } static void fo_area_area_finalize (GObject *object) { FoAreaArea *fo_area_area; fo_area_area = FO_AREA_AREA (object); G_OBJECT_CLASS (parent_class)->finalize (object); } static void fo_area_area_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoArea *fo_area; fo_area = FO_AREA (object); switch (prop_id) { case PROP_X: fo_area_area_set_x (fo_area, g_value_get_float (value)); break; case PROP_Y: fo_area_area_set_y (fo_area, g_value_get_float (value)); break; case PROP_WIDTH: fo_area_area_set_width (fo_area, g_value_get_float (value)); break; case PROP_HEIGHT: fo_area_area_set_height (fo_area, g_value_get_float (value)); break; case PROP_BORDER_BEFORE: fo_area_area_set_border_before (fo_area, g_value_get_float (value)); break; case PROP_BORDER_AFTER: fo_area_area_set_border_after (fo_area, g_value_get_float (value)); break; case PROP_BORDER_START: fo_area_area_set_border_start (fo_area, g_value_get_float (value)); break; case PROP_BORDER_END: fo_area_area_set_border_end (fo_area, g_value_get_float (value)); break; case PROP_PADDING_BEFORE: fo_area_area_set_padding_before (fo_area, g_value_get_float (value)); break; case PROP_PADDING_AFTER: fo_area_area_set_padding_after (fo_area, g_value_get_float (value)); break; case PROP_PADDING_START: fo_area_area_set_padding_start (fo_area, g_value_get_float (value)); break; case PROP_PADDING_END: fo_area_area_set_padding_end (fo_area, g_value_get_float (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void fo_area_area_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoArea *fo_area; fo_area = FO_AREA (object); switch (prop_id) { case PROP_X: g_value_set_float (value, fo_area_area_get_x (fo_area)); break; case PROP_Y: g_value_set_float (value, fo_area_area_get_y (fo_area)); break; case PROP_WIDTH: g_value_set_float (value, fo_area_area_get_width (fo_area)); break; case PROP_HEIGHT: g_value_set_float (value, fo_area_area_get_height (fo_area)); break; case PROP_BORDER_BEFORE: g_value_set_float (value, fo_area_area_get_border_before (fo_area)); break; case PROP_BORDER_AFTER: g_value_set_float (value, fo_area_area_get_border_after (fo_area)); break; case PROP_BORDER_START: g_value_set_float (value, fo_area_area_get_border_start (fo_area)); break; case PROP_BORDER_END: g_value_set_float (value, fo_area_area_get_border_end (fo_area)); break; case PROP_PADDING_BEFORE: g_value_set_float (value, fo_area_area_get_padding_before (fo_area)); break; case PROP_PADDING_AFTER: g_value_set_float (value, fo_area_area_get_padding_before (fo_area)); break; case PROP_PADDING_START: g_value_set_float (value, fo_area_area_get_padding_start (fo_area)); break; case PROP_PADDING_END: g_value_set_float (value, fo_area_area_get_padding_end (fo_area)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_area_area_new: * * Creates a new #FoAreaArea initialized to default value. * * Return value: the new #FoAreaArea **/ FoArea* fo_area_area_new (void) { return FO_AREA (g_object_new (fo_area_area_get_type (), NULL)); } void fo_area_area_resolve_child_ipdim (FoArea *fo_area) { FoAreaArea *fo_area_area; g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area)); fo_area_area = FO_AREA_AREA (fo_area); fo_area_set_child_available_ipdim (fo_area, MAX (fo_area_area->width - fo_area_area->border_start - fo_area_area->padding_start - fo_area_area->padding_end - fo_area_area->border_end, 0)); } /** * fo_area_area_set_x: * @fo_area: The #FoAreaArea object * @new_x: The new "x" property value * * Sets the "x" property of @fo_area to @new_x **/ void fo_area_area_set_x (FoArea *fo_area, gfloat new_x) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->x = new_x; /*g_object_notify (G_OBJECT (fo_area_area), "x");*/ } /** * fo_area_area_get_x: * @fo_area: The #FoAreaArea object * * Gets the "x" property of @fo_area * * Return value: The "x" property value **/ gfloat fo_area_area_get_x (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->x; } /** * fo_area_area_set_y: * @fo_area: The #FoAreaArea object * @new_y: The new "y" property value * * Sets the "y" property of @fo_area to @new_y **/ void fo_area_area_set_y (FoArea *fo_area, gfloat new_y) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->y = new_y; /*g_object_notify (G_OBJECT (fo_area_area), "y");*/ } /** * fo_area_area_get_y: * @fo_area: The #FoAreaArea object * * Gets the "y" property of @fo_area * * Return value: The "y" property value **/ gfloat fo_area_area_get_y (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->y; } /** * fo_area_area_set_width: * @fo_area: The #FoAreaArea object * @new_width: The new "width" property value * * Sets the "width" property of @fo_area to @new_width **/ void fo_area_area_set_width (FoArea *fo_area, gfloat new_width) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->width = new_width; fo_area_area_resolve_child_ipdim (fo_area); /*g_object_notify (G_OBJECT (fo_area_area), "width");*/ } /** * fo_area_area_get_width: * @fo_area: The #FoAreaArea object * * Gets the "width" property of @fo_area * * Return value: The "width" property value **/ gfloat fo_area_area_get_width (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->width; } /** * fo_area_area_set_height: * @fo_area: The #FoAreaArea object * @new_height: The new "height" property value * * Sets the "height" property of @fo_area to @new_height **/ void fo_area_area_set_height (FoArea *fo_area, gfloat new_height) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->height = new_height; /*g_object_notify (G_OBJECT (fo_area_area), "height");*/ } /** * fo_area_area_get_height: * @fo_area: The #FoAreaArea object * * Gets the "height" property of @fo_area * * Return value: The "height" property value **/ gfloat fo_area_area_get_height (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->height; } /** * fo_area_area_set_border_before: * @fo_area: The #FoAreaArea object * @new_border_before: The new "border-before" property value * * Sets the "border-before" property of @fo_area to @new_border_before **/ void fo_area_area_set_border_before (FoArea *fo_area, gfloat new_border_before) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->border_before = new_border_before; /*g_object_notify (G_OBJECT (fo_area_area), "border-before");*/ } /** * fo_area_area_get_border_before: * @fo_area: The #FoAreaArea object * * Gets the "border-before" property of @fo_area * * Return value: The "border_before" property value **/ gfloat fo_area_area_get_border_before (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->border_before; } /** * fo_area_area_set_border_after: * @fo_area: The #FoAreaArea object * @new_border_after: The new "border-after" property value * * Sets the "border-after" property of @fo_area to @new_border_after **/ void fo_area_area_set_border_after (FoArea *fo_area, gfloat new_border_after) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->border_after = new_border_after; /*g_object_notify (G_OBJECT (fo_area_area), "border-after");*/ } /** * fo_area_area_get_border_after: * @fo_area: The #FoAreaArea object * * Gets the "border-after" property of @fo_area * * Return value: The "border_after" property value **/ gfloat fo_area_area_get_border_after (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->border_after; } /** * fo_area_area_set_border_start: * @fo_area: The #FoAreaArea object * @new_border_start: The new "border-start" property value * * Sets the "border-start" property of @fo_area to @new_border_start **/ void fo_area_area_set_border_start (FoArea *fo_area, gfloat new_border_start) { FoAreaArea *fo_area_area; g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area)); fo_area_area = FO_AREA_AREA (fo_area); fo_area_area->border_start = new_border_start; fo_area_area_resolve_child_ipdim (fo_area); /*g_object_notify (G_OBJECT (fo_area_area), "border-start");*/ } /** * fo_area_area_get_border_start: * @fo_area: The #FoAreaArea object * * Gets the "border-start" property of @fo_area * * Return value: The "border_start" property value **/ gfloat fo_area_area_get_border_start (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->border_start; } /** * fo_area_area_set_border_end: * @fo_area: The #FoAreaArea object * @new_border_end: The new "border-end" property value * * Sets the "border-end" property of @fo_area to @new_border_end **/ void fo_area_area_set_border_end (FoArea *fo_area, gfloat new_border_end) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->border_end = new_border_end; fo_area_area_resolve_child_ipdim (fo_area); /*g_object_notify (G_OBJECT (fo_area_area), "border-end");*/ } /** * fo_area_area_get_border_end: * @fo_area: The #FoAreaArea object * * Gets the "border-end" property of @fo_area * * Return value: The "border_end" property value **/ gfloat fo_area_area_get_border_end (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->border_end; } /** * fo_area_area_set_padding_before: * @fo_area: The #FoAreaArea object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_area to @new_padding_before **/ void fo_area_area_set_padding_before (FoArea *fo_area, gfloat new_padding_before) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_area_area), "padding-before");*/ } /** * fo_area_area_get_padding_before: * @fo_area: The #FoAreaArea object * * Gets the "padding-before" property of @fo_area * * Return value: The "padding_before" property value **/ gfloat fo_area_area_get_padding_before (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->padding_before; } /** * fo_area_area_set_padding_after: * @fo_area: The #FoAreaArea object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_area to @new_padding_after **/ void fo_area_area_set_padding_after (FoArea *fo_area, gfloat new_padding_after) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_area_area), "padding-after");*/ } /** * fo_area_area_get_padding_after: * @fo_area: The #FoAreaArea object * * Gets the "padding-after" property of @fo_area * * Return value: The "padding_after" property value **/ gfloat fo_area_area_get_padding_after (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->padding_after; } /** * fo_area_area_set_padding_start: * @fo_area: The #FoAreaArea object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_area to @new_padding_start **/ void fo_area_area_set_padding_start (FoArea *fo_area, gfloat new_padding_start) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->padding_start = new_padding_start; fo_area_area_resolve_child_ipdim (fo_area); /*g_object_notify (G_OBJECT (fo_area_area), "padding-start");*/ } /** * fo_area_area_get_padding_start: * @fo_area: The #FoAreaArea object * * Gets the "padding-start" property of @fo_area * * Return value: The "padding_start" property value **/ gfloat fo_area_area_get_padding_start (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->padding_start; } /** * fo_area_area_set_padding_end: * @fo_area: The #FoAreaArea object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_area to @new_padding_end **/ void fo_area_area_set_padding_end (FoArea *fo_area, gfloat new_padding_end) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->padding_end = new_padding_end; fo_area_area_resolve_child_ipdim (fo_area); /*g_object_notify (G_OBJECT (fo_area_area), "padding-end");*/ } /** * fo_area_area_get_padding_end: * @fo_area: The #FoAreaArea object * * Gets the "padding-end" property of @fo_area * * Return value: The "padding_end" property value **/ gfloat fo_area_area_get_padding_end (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->padding_end; } /** * fo_area_area_set_start_indent: * @fo_area: The #FoAreaArea object * @new_start_indent: The new "start-indent" property value * * Sets the "start-indent" property of @fo_area to @new_start_indent **/ void fo_area_area_set_start_indent (FoArea *fo_area, gfloat new_start_indent) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_area_area), "start-indent");*/ } /** * fo_area_area_get_start_indent: * @fo_area: The #FoAreaArea object * * Gets the "start-indent" property of @fo_area * * Return value: The "start_indent" property value **/ gfloat fo_area_area_get_start_indent (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->start_indent; } /** * fo_area_area_set_end_indent: * @fo_area: The #FoAreaArea object * @new_end_indent: The new "end-indent" property value * * Sets the "end-indent" property of @fo_area to @new_end_indent **/ void fo_area_area_set_end_indent (FoArea *fo_area, gfloat new_end_indent) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_area_area), "end-indent");*/ } /** * fo_area_area_get_end_indent: * @fo_area: The #FoAreaArea object * * Gets the "end-indent" property of @fo_area * * Return value: The "end_indent" property value **/ gfloat fo_area_area_get_end_indent (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->end_indent; } /** * fo_area_area_set_space_before: * @fo_area: The #FoAreaArea object * @new_space_before: The new "space-before" property value * * Sets the "space-before" property of @fo_area to @new_space_before **/ void fo_area_area_set_space_before (FoArea *fo_area, gfloat new_space_before) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_area_area), "space-before");*/ } /** * fo_area_area_get_space_before: * @fo_area: The #FoAreaArea object * * Gets the "space-before" property of @fo_area * * Return value: The "space_before" property value **/ gfloat fo_area_area_get_space_before (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->space_before; } /** * fo_area_area_set_space_after: * @fo_area: The #FoAreaArea object * @new_space_after: The new "space-after" property value * * Sets the "space-after" property of @fo_area to @new_space_after **/ void fo_area_area_set_space_after (FoArea *fo_area, gfloat new_space_after) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_if_fail (fo_area_area != NULL); g_return_if_fail (FO_IS_AREA_AREA (fo_area_area)); fo_area_area->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_area_area), "space-after");*/ } /** * fo_area_area_get_space_after: * @fo_area: The #FoAreaArea object * * Gets the "space-after" property of @fo_area * * Return value: The "space_after" property value **/ gfloat fo_area_area_get_space_after (FoArea *fo_area) { FoAreaArea *fo_area_area = (FoAreaArea *) fo_area; g_return_val_if_fail (fo_area_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_area), 0); return fo_area_area->space_after; } void fo_area_area_debug_dump_properties (FoArea *area, gint depth) { FoAreaArea *area_area; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_AREA (area)); area_area = FO_AREA_AREA (area); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sx: %g pt", indent, area_area->x); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sy: %g pt", indent, area_area->y); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%swidth: %g pt", indent, area_area->width); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sheight: %g pt", indent, area_area->height); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sborder-before: %g pt", indent, area_area->border_before); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sborder-after: %g pt", indent, area_area->border_after); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sborder-start: %g pt", indent, area_area->border_start); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sborder-end: %g pt", indent, area_area->border_end); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spadding-before: %g pt", indent, area_area->padding_before); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spadding-after: %g pt", indent, area_area->padding_after); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spadding-start: %g pt", indent, area_area->padding_start); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spadding-end: %g pt", indent, area_area->padding_end); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sstart-indent: %g pt", indent, area_area->start_indent); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%send-indent: %g pt", indent, area_area->end_indent); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sspace-before: %g pt", indent, area_area->space_before); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sspace-after: %g pt", indent, area_area->space_after); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } /** * fo_area_area_update_after_clone: * @clone: New object cloned from @original * @original: Original area object * * Update the FoAreaArea-specific instance variables of @clone to * match those of @original **/ void fo_area_area_update_after_clone (FoArea *clone, FoArea *original) { FoAreaArea *original_area_area, *clone_area_area; g_return_if_fail (clone != NULL); g_return_if_fail (FO_IS_AREA_AREA (clone)); g_return_if_fail (original != NULL); g_return_if_fail (FO_IS_AREA_AREA (original)); FO_AREA_CLASS (parent_class)->update_after_clone (clone, original); original_area_area = FO_AREA_AREA (original); clone_area_area = FO_AREA_AREA (clone); fo_area_area_set_x (clone, original_area_area->x); fo_area_area_set_y (clone, original_area_area->y); fo_area_area_set_height (clone, original_area_area->height); fo_area_area_set_width (clone, original_area_area->width); fo_area_area_set_border_before (clone, original_area_area->border_before); fo_area_area_set_border_after (clone, original_area_area->border_after); fo_area_area_set_border_start (clone, original_area_area->border_start); fo_area_area_set_border_end (clone, original_area_area->border_end); fo_area_area_set_padding_before (clone, original_area_area->padding_before); fo_area_area_set_padding_after (clone, original_area_area->padding_after); fo_area_area_set_padding_start (clone, original_area_area->padding_start); fo_area_area_set_padding_end (clone, original_area_area->padding_end); fo_area_area_set_start_indent (clone, original_area_area->start_indent); fo_area_area_set_end_indent (clone, original_area_area->end_indent); fo_area_area_set_space_before (clone, original_area_area->space_before); fo_area_area_set_space_after (clone, original_area_area->space_after); } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ FoArea* fo_area_area_split_before_height (FoArea *area, gfloat max_height) { FoAreaArea *area_area; FoArea *use_child_area; gfloat total_child_height = 0; g_return_val_if_fail (FO_IS_AREA_AREA (area), NULL); g_return_val_if_fail (max_height > 0, NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height:: area: %s; generated by: %s; max_height: %f", fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by), max_height); #endif #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height:: area: %s; parent: %s", fo_object_debug_sprintf (area), fo_object_debug_sprintf (fo_area_parent (area))); #endif area_area = (FoAreaArea *) area; /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return NULL; use_child_area = fo_area_first_child (area); while (use_child_area) { /* area->y <= 0, so invert so calculations look sensible */ gfloat minus_child_y = - fo_area_area_get_y (use_child_area); gfloat child_height = fo_area_area_get_height (use_child_area); if (minus_child_y >= max_height) { /* max_height falls before use_child_area, i.e. in space between areas */ #if defined(LIBFO_DEBUG) && 1 if (FO_IS_BLOCK_FO (fo_area_get_generated_by (use_child_area))) { g_message ("area_area_split_before_height:: area: %s; block fo: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (fo_area_get_generated_by (use_child_area))); } #endif if (use_child_area == fo_area_first_child (area)) { return NULL; } else { FoFo *child_fo = fo_area_get_generated_by (use_child_area); FoDatatype *child_kwpwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoDatatype *child_kwpwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoFo *prev_child_fo = fo_area_get_generated_by (fo_area_prev_sibling (use_child_area)); FoDatatype *prev_child_kwnwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); FoDatatype *prev_child_kwnwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); /* FIXME: Need to handle integer keeps */ if ((FO_IS_ENUM (prev_child_kwnwp_datatype) && fo_enum_get_value (prev_child_kwnwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (prev_child_kwnwc_datatype) && fo_enum_get_value (prev_child_kwnwc_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwp_datatype) && fo_enum_get_value (child_kwpwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwc_datatype) && fo_enum_get_value (child_kwpwc_datatype) == FO_ENUM_ENUM_AUTO)) { /* If got to here, all relevant keeps are 'auto' */ FoArea *clone = fo_area_clone (area); fo_area_unlink_with_next_siblings (use_child_area); fo_area_insert_with_next_siblings (clone, 0, use_child_area); return clone; } else { gfloat minus_prev_y = fo_area_area_get_y (fo_area_prev_sibling (use_child_area)); gfloat prev_height = fo_area_area_get_height (fo_area_prev_sibling (use_child_area)); /* If can't split between use_child_area and previous, maybe can split at lower height */ return fo_area_area_split_before_height (area, minus_prev_y + prev_height); } } } else if (minus_child_y + child_height >= max_height) { FoArea *split_child; #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height:: splitting:: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), ((FoAreaArea *) use_child_area)->y, ((FoAreaArea *) use_child_area)->height); #endif split_child = fo_area_split_before_height (use_child_area, max_height - minus_child_y); if (split_child == NULL) { #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height:: child didn't split:: child: %s; generated by: %s; area: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by)); #endif if (use_child_area == fo_area_first_child (area)) { #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height:: non-split child is first child:: child: %s; generated by: %s; area: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by)); #endif return NULL; } else { FoArea *clone = fo_area_clone (area); #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height:: split area but child didn't split:: child: %s; generated by: %s; area: %s; generated by: %s; clone: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by), fo_object_debug_sprintf (clone), fo_object_debug_sprintf (clone->generated_by)); #endif clone->is_first = FALSE; area->is_last = FALSE; /* Do not include area_area->border_after in height since area_area is not last */ area_area->border_after = 0; area_area->height = total_child_height + area_area->border_before + area_area->padding_before + area_area->padding_after; /* Do not include clone->border_before in height since clone is not first */ ((FoAreaArea *)clone)->border_before = 0; ((FoAreaArea *) clone)->height = ((FoAreaArea *) use_child_area)->height + ((FoAreaArea *) clone)->padding_before + ((FoAreaArea *) clone)->padding_after + ((FoAreaArea *) clone)->border_after; fo_area_unlink_with_next_siblings (use_child_area); fo_area_insert_with_next_siblings (clone, 0, use_child_area); return clone; } } else { FoArea *clone = fo_area_clone (area); #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height:: child split:: child: %s; generated by: %s; split child: %s; generated by: %s; area: %s; generated by: %s; clone: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), fo_object_debug_sprintf (split_child), fo_object_debug_sprintf (split_child->generated_by), fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by), fo_object_debug_sprintf (clone), fo_object_debug_sprintf (clone->generated_by)); #endif clone->is_first = FALSE; area->is_last = FALSE; /* Do not include area_area->border_after in height since area_area is not last */ area_area->border_after = 0; area_area->height = total_child_height + ((FoAreaArea *) use_child_area)->height + area_area->border_before + area_area->padding_before + area_area->padding_after; /* Do not include clone->border_before in height since clone is not first */ /* FIXME: should handle length-conditional here */ ((FoAreaArea *)clone)->border_before = 0; ((FoAreaArea *) clone)->height = ((FoAreaArea *) split_child)->height + ((FoAreaArea *) clone)->padding_before + ((FoAreaArea *) clone)->padding_after + ((FoAreaArea *) clone)->border_after; fo_area_unlink_with_next_siblings (split_child); fo_area_insert_with_next_siblings (clone, 0, split_child); ((FoAreaArea *) split_child)->y = 0; fo_area_set_next_y (clone, ((FoAreaArea *) split_child)->height); fo_area_set_available_height (clone, 0); /* FIXME: clone should work out its own child_available_bpdim */ fo_area_set_child_available_bpdim (clone, 0); return clone; } } else { total_child_height = minus_child_y + child_height; } use_child_area = fo_area_next_sibling (use_child_area); } return NULL; } /* return %TRUE if the area will split within the height */ gboolean fo_area_area_split_before_height_check (FoArea *area, gfloat max_height) { FoAreaArea *area_area; FoArea *use_child_area; gfloat total_child_height = 0; g_return_val_if_fail (FO_IS_AREA_AREA (area), FALSE); g_return_val_if_fail (max_height > 0, FALSE); #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height_check:: area: %s; generated by: %s; max_height: %f", fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by), max_height); #endif #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height_check:: area: %s; parent: %s", fo_object_debug_sprintf (area), fo_object_debug_sprintf (fo_area_parent (area))); #endif area_area = (FoAreaArea *) area; /* if the current area is less than max height, then no new area */ if (area_area->height < max_height) { return FALSE; } use_child_area = fo_area_first_child (area); while (use_child_area) { /* area->y <= 0, so invert so calculations look sensible */ gfloat minus_child_y = -((FoAreaArea *) use_child_area)->y; gfloat child_height = ((FoAreaArea *) use_child_area)->height; if (minus_child_y + child_height > max_height) { #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height_check:: checking:: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), ((FoAreaArea *) use_child_area)->y, ((FoAreaArea *) use_child_area)->height); #endif if (!fo_area_split_before_height_check (use_child_area, max_height - minus_child_y)) { #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height_check:: child won't split:: child: %s; generated by: %s; area: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by)); #endif if (use_child_area == fo_area_first_child (area)) { #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height_check:: non-splitting child is first child:: child: %s; generated by: %s; area: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by)); #endif return FALSE; } else { #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height_check:: can split area but child won't split:: child: %s; generated by: %s; area: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by)); #endif return TRUE; } } else { #if defined(LIBFO_DEBUG) && 0 g_message ("area_split_before_height_check:: child can split:: child: %s; generated by: %s; area: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by), fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by)); #endif return TRUE; } } else { total_child_height = minus_child_y + child_height; } use_child_area = fo_area_next_sibling (use_child_area); } return FALSE; } xmlroff-0.6.2/libfo/area/fo-area-area.h0000644000175000017500000000636610643167443014534 00000000000000/* Fo * fo-area-area.h: Area area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_AREA_H__ #define __FO_AREA_AREA_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaArea FoAreaArea; typedef struct _FoAreaAreaClass FoAreaAreaClass; #define FO_TYPE_AREA_AREA (fo_area_area_get_type ()) #define FO_AREA_AREA(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_AREA, FoAreaArea)) #define FO_AREA_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_AREA, FoAreaAreaClass)) #define FO_IS_AREA_AREA(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_AREA)) #define FO_IS_AREA_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_AREA)) #define FO_AREA_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_AREA, FoAreaAreaClass)) GType fo_area_area_get_type (void) G_GNUC_CONST; FoArea *fo_area_area_new (void); void fo_area_area_set_x (FoArea *fo_area, gfloat new_x); gfloat fo_area_area_get_x (FoArea *fo_area); void fo_area_area_set_y (FoArea *fo_area, gfloat new_y); gfloat fo_area_area_get_y (FoArea *fo_area); void fo_area_area_set_width (FoArea *fo_area, gfloat new_width); gfloat fo_area_area_get_width (FoArea *fo_area); void fo_area_area_set_height (FoArea *fo_area, gfloat new_height); gfloat fo_area_area_get_height (FoArea *fo_area); void fo_area_area_set_border_before (FoArea *fo_area, gfloat new_border_before); gfloat fo_area_area_get_border_before (FoArea *fo_area); void fo_area_area_set_border_after (FoArea *fo_area, gfloat new_border_after); gfloat fo_area_area_get_border_after (FoArea *fo_area); void fo_area_area_set_border_start (FoArea *fo_area, gfloat new_border_start); gfloat fo_area_area_get_border_start (FoArea *fo_area); void fo_area_area_set_border_end (FoArea *fo_area, gfloat new_border_end); gfloat fo_area_area_get_border_end (FoArea *fo_area); void fo_area_area_set_padding_before (FoArea *fo_area, gfloat new_padding_before); gfloat fo_area_area_get_padding_before (FoArea *fo_area); void fo_area_area_set_padding_after (FoArea *fo_area, gfloat new_padding_after); gfloat fo_area_area_get_padding_after (FoArea *fo_area); void fo_area_area_set_padding_start (FoArea *fo_area, gfloat new_padding_start); gfloat fo_area_area_get_padding_start (FoArea *fo_area); void fo_area_area_set_padding_end (FoArea *fo_area, gfloat new_padding_end); gfloat fo_area_area_get_padding_end (FoArea *fo_area); void fo_area_area_set_start_indent (FoArea *fo_area, gfloat new_start_indent); gfloat fo_area_area_get_start_indent (FoArea *fo_area); void fo_area_area_set_end_indent (FoArea *fo_area, gfloat new_end_indent); gfloat fo_area_area_get_end_indent (FoArea *fo_area); void fo_area_area_set_space_before (FoArea *fo_area, gfloat new_space_before); gfloat fo_area_area_get_space_before (FoArea *fo_area); void fo_area_area_set_space_after (FoArea *fo_area, gfloat new_space_after); gfloat fo_area_area_get_space_after (FoArea *fo_area); G_END_DECLS #endif /* !__FO_AREA_AREA_H__ */ xmlroff-0.6.2/libfo/area/fo-area-area-private.h0000644000175000017500000000156210643167443016175 00000000000000/* Fo * fo-area-area-private.h: Structures private to FoAreaArea object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_AREA_PRIVATE_H__ #define __FO_AREA_AREA_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoAreaArea { FoArea parent_instance; gfloat x; gfloat y; gfloat height; gfloat width; gfloat border_before; gfloat border_after; gfloat border_start; gfloat border_end; gfloat padding_before; gfloat padding_after; gfloat padding_start; gfloat padding_end; gfloat start_indent; gfloat end_indent; gfloat space_before; gfloat space_after; }; struct _FoAreaAreaClass { FoAreaClass parent_class; }; G_END_DECLS #endif /* !__FO_AREA_AREA_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-graphic.c0000644000175000017500000002260410643167443015225 00000000000000/* Fo * fo-area-graphic.c: Graphic inline-area object * * Copyright (C) 2001-2004 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-area-area.h" #include "fo-area-inline-private.h" #include "fo-area-graphic.h" struct _FoAreaGraphic { FoAreaInline parent_instance; }; struct _FoAreaGraphicClass { FoAreaInlineClass parent_class; }; static void fo_area_graphic_class_init (FoAreaGraphicClass *klass); static void fo_area_graphic_finalize (GObject *object); static void fo_area_graphic_debug_dump_properties (FoArea *area, gint depth); static FoArea * fo_area_graphic_size_request (FoArea *child); static gpointer parent_class; GType fo_area_graphic_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaGraphicClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_graphic_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaGraphic), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_INLINE, "FoAreaGraphic", &object_info, 0); } return object_type; } static void fo_area_graphic_class_init (FoAreaGraphicClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_graphic_finalize; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_graphic_debug_dump_properties; FO_AREA_CLASS (klass)->size_request = fo_area_graphic_size_request; } static void fo_area_graphic_finalize (GObject *object) { FoAreaGraphic *fo_area_graphic; fo_area_graphic = FO_AREA_GRAPHIC (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_graphic_new: * * Creates a new #FoAreaGraphic initialized to default value. * * Return value: the new #FoAreaGraphic **/ FoArea* fo_area_graphic_new (void) { return FO_AREA (g_object_new (fo_area_graphic_get_type (), NULL)); } void fo_area_graphic_debug_dump_properties (FoArea *area, gint depth) { FoAreaGraphic *graphic; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_GRAPHIC (area)); graphic = FO_AREA_GRAPHIC (area); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } FoArea* fo_area_graphic_add_child (FoArea *parent, FoArea *child) { g_return_val_if_fail (parent != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_GRAPHIC (parent), NULL); g_return_val_if_fail (child != NULL, NULL); return fo_area_real_add_child (parent, child); } /** * fo_area_graphic_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_graphic_size_request (FoArea *child) { FoArea *use_child_area; FoArea *parent; gfloat total_child_height = 0; gfloat graphic_child_available_bpdim; gfloat child_height; gfloat child_space_before, child_space_after; g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_parent (child)), NULL); child_height = fo_area_area_get_height (child); child_space_before = fo_area_area_get_space_before (child); child_space_after = fo_area_area_get_space_after (child); parent = fo_area_parent (child); graphic_child_available_bpdim = fo_area_get_child_available_bpdim (parent); #if defined(LIBFO_DEBUG) && 0 g_message ("graphic_size_request (%p):: parent: %s; generated by: %s; available_height: %f", child, fo_object_debug_sprintf (parent), fo_object_debug_sprintf (parent->generated_by), graphic_child_available_bpdim); g_message ("graphic_size_request (%p):: child: %s; generated by: %s; height: %f; space_before: %f; space_after: %f", child, fo_object_debug_sprintf (child), fo_object_debug_sprintf (child->generated_by), child_height, child_space_before, child_space_after); #endif fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); #if defined(LIBFO_DEBUG) && 0 g_message ("graphic_size_request (%p):: child total: %f", child, total_child_height); #endif fo_area_area_set_height (parent, total_child_height + fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent) + fo_area_area_get_padding_after (parent) + fo_area_area_get_border_after (parent)); /* Don't bother doing a size_request if still fit within available height */ if (graphic_child_available_bpdim < fo_area_area_get_height (parent)) { parent = fo_area_size_request (parent); graphic_child_available_bpdim = MAX (fo_area_get_available_height (parent) - fo_area_area_get_border_before (parent) - fo_area_area_get_padding_before (parent) - fo_area_area_get_padding_after (parent) - fo_area_area_get_border_after (parent), 0); fo_area_set_child_available_bpdim (parent, graphic_child_available_bpdim); #if defined(LIBFO_DEBUG) && 0 g_message ("graphic_size_request (%p):: new parent: %s; generated by: %s; available_height: %f", child, fo_object_debug_sprintf (parent), fo_object_debug_sprintf (parent->generated_by), graphic_child_available_bpdim); #endif } total_child_height = 0; fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); #if defined(LIBFO_DEBUG) && 0 g_message ("graphic_size_request (%p):: new child total: %f", child, total_child_height); #endif fo_area_set_next_x (parent, fo_area_area_get_border_start (parent) + fo_area_area_get_padding_start (parent)); fo_area_set_next_y (parent, - (fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent))); if (total_child_height <= graphic_child_available_bpdim) { use_child_area = fo_area_first_child (parent); while (use_child_area) { fo_area_area_set_x (use_child_area, fo_area_get_next_x (parent) + fo_area_area_get_start_indent (use_child_area) - fo_area_area_get_x (parent)); fo_area_area_set_y (use_child_area, fo_area_get_next_y (parent)); fo_area_set_next_x (parent, 0); fo_area_set_next_y (parent, fo_area_get_next_y (parent) - fo_area_area_get_height (use_child_area)); fo_area_set_available_height (child, fo_area_area_get_height (use_child_area)); fo_area_set_available_width (child, fo_area_get_child_available_ipdim (parent)); use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 0 g_message ("graphic_size_request (%p):: return:: parent->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (parent)), fo_object_debug_sprintf (fo_area_last_child (parent->generated_by))); #endif return fo_area_last_child (parent); } else { use_child_area = fo_area_first_child (parent); while (use_child_area) { if (graphic_child_available_bpdim >= fo_area_area_get_height (use_child_area)) { fo_area_area_set_x (use_child_area, fo_area_get_next_x (parent) + fo_area_area_get_start_indent (use_child_area)); fo_area_area_set_y (use_child_area, fo_area_get_next_y (parent)); fo_area_set_next_x (parent, 0); fo_area_set_next_y (parent, fo_area_get_next_y (parent) - fo_area_area_get_height (use_child_area)); fo_area_set_available_height (child, fo_area_area_get_height (use_child_area)); fo_area_set_available_width (child, fo_area_get_child_available_ipdim (parent)); use_child_area = fo_area_next_sibling (use_child_area); } else { #if defined(LIBFO_DEBUG) && 1 g_message ("graphic_size_request:: splitting:: child: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by)); #endif use_child_area = fo_area_split_before_height (use_child_area, graphic_child_available_bpdim - fo_area_area_get_height (parent)); parent = fo_area_parent (use_child_area); graphic_child_available_bpdim = fo_area_get_child_available_bpdim (parent); } } #if defined(LIBFO_DEBUG) && 0 g_message ("graphic_size_request (%p):: total > available:: return:: parent->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (parent)), fo_object_debug_sprintf (fo_area_last_child (parent->generated_by))); #endif return fo_area_last_child (parent); } } xmlroff-0.6.2/libfo/area/fo-area-graphic.h0000644000175000017500000000225710643167443015234 00000000000000/* Fo * fo-area-graphic.h: Graphic inline-area object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_GRAPHIC_H__ #define __FO_AREA_GRAPHIC_H__ #include G_BEGIN_DECLS typedef struct _FoAreaGraphic FoAreaGraphic; typedef struct _FoAreaGraphicClass FoAreaGraphicClass; #define FO_TYPE_AREA_GRAPHIC (fo_area_graphic_get_type ()) #define FO_AREA_GRAPHIC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_GRAPHIC, FoAreaGraphic)) #define FO_AREA_GRAPHIC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_GRAPHIC, FoAreaGraphicClass)) #define FO_IS_AREA_GRAPHIC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_GRAPHIC)) #define FO_IS_AREA_GRAPHIC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_GRAPHIC)) #define FO_AREA_GRAPHIC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_GRAPHIC, FoAreaGraphicClass)) GType fo_area_graphic_get_type (void) G_GNUC_CONST; FoArea * fo_area_graphic_new (void); G_END_DECLS #endif /* !__FO_AREA_GRAPHIC_H__ */ xmlroff-0.6.2/libfo/area/fo-area-inline.c0000644000175000017500000002224210643167443015064 00000000000000/* Fo * fo-area-inline.c: Inline block-area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area-inline-private.h" #include "fo-area.h" #include "fo-area-area.h" #include "fo-area-inline.h" static void fo_area_inline_class_init (FoAreaInlineClass *klass); static void fo_area_inline_finalize (GObject *object); static void fo_area_inline_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_inline_size_request (FoArea *child); static gpointer parent_class; GType fo_area_inline_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaInlineClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_inline_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaInline), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA, "FoAreaInline", &object_info, 0); } return object_type; } static void fo_area_inline_class_init (FoAreaInlineClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_inline_finalize; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_inline_debug_dump_properties; FO_AREA_CLASS (klass)->size_request = fo_area_inline_size_request; } static void fo_area_inline_finalize (GObject *object) { FoAreaInline *fo_area_inline; fo_area_inline = FO_AREA_INLINE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_inline_new: * * Creates a new #FoAreaInline initialized to default value. * * Return value: the new #FoAreaInline **/ FoArea* fo_area_inline_new (void) { return FO_AREA (g_object_new (fo_area_inline_get_type (), NULL)); } void fo_area_inline_debug_dump_properties (FoArea *area, gint depth) { FoAreaInline *inline_area; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_INLINE (area)); inline_area = FO_AREA_INLINE (area); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } FoArea* fo_area_inline_add_child (FoArea *parent, FoArea *child) { g_return_val_if_fail (parent != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_INLINE (parent), NULL); g_return_val_if_fail (child != NULL, NULL); return fo_area_real_add_child (parent, child); } /** * fo_area_inline_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_inline_size_request (FoArea *child) { FoArea *use_child_area; FoArea *parent; gfloat total_child_height = 0; gfloat inline_child_available_bpdim; gfloat child_height; gfloat child_space_before, child_space_after; g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_parent (child)), NULL); child_height = fo_area_area_get_height (child); child_space_before = fo_area_area_get_space_before (child); child_space_after = fo_area_area_get_space_after (child); parent = fo_area_parent (child); inline_child_available_bpdim = fo_area_get_child_available_bpdim (parent); #if defined(LIBFO_DEBUG) && 0 g_message ("inline_size_request (%p):: parent: %s; generated by: %s; available_height: %f", child, fo_object_debug_sprintf (parent), fo_object_debug_sprintf (parent->generated_by), inline_child_available_bpdim); g_message ("inline_size_request (%p):: child: %s; generated by: %s; height: %f; space_before: %f; space_after: %f", child, fo_object_debug_sprintf (child), fo_object_debug_sprintf (child->generated_by), child_height, child_space_before, child_space_after); #endif fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); #if defined(LIBFO_DEBUG) && 0 g_message ("inline_size_request (%p):: child total: %f", child, total_child_height); #endif fo_area_area_set_height (parent, total_child_height + fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent) + fo_area_area_get_padding_after (parent) + fo_area_area_get_border_after (parent)); /* Don't bother doing a size_request if still fit within available height */ if (inline_child_available_bpdim < fo_area_area_get_height (parent)) { parent = fo_area_size_request (parent); inline_child_available_bpdim = MAX (fo_area_get_available_height (parent) - fo_area_area_get_border_before (parent) - fo_area_area_get_padding_before (parent) - fo_area_area_get_padding_after (parent) - fo_area_area_get_border_after (parent), 0); fo_area_set_child_available_bpdim (parent, inline_child_available_bpdim); #if defined(LIBFO_DEBUG) && 0 g_message ("inline_size_request (%p):: new parent: %s; generated by: %s; available_height: %f", child, fo_object_debug_sprintf (parent), fo_object_debug_sprintf (parent->generated_by), inline_child_available_bpdim); #endif } total_child_height = 0; fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); #if defined(LIBFO_DEBUG) && 0 g_message ("inline_size_request (%p):: new child total: %f", child, total_child_height); #endif fo_area_set_next_x (parent, fo_area_area_get_border_start (parent) + fo_area_area_get_padding_start (parent)); fo_area_set_next_y (parent, - (fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent))); if (total_child_height <= inline_child_available_bpdim) { use_child_area = fo_area_first_child (parent); while (use_child_area) { fo_area_area_set_x (use_child_area, fo_area_get_next_x (parent) + fo_area_area_get_start_indent (use_child_area) - fo_area_area_get_x (parent)); fo_area_area_set_y (use_child_area, fo_area_get_next_y (parent)); fo_area_set_next_x (parent, 0); fo_area_set_next_y (parent, fo_area_get_next_y (parent) - fo_area_area_get_height (use_child_area)); fo_area_set_available_height (child, fo_area_area_get_height (use_child_area)); fo_area_set_available_width (child, fo_area_get_child_available_ipdim (parent)); use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 0 g_message ("inline_size_request (%p):: return:: parent->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (parent)), fo_object_debug_sprintf (fo_area_last_child (parent->generated_by))); #endif return fo_area_last_child (parent); } else { use_child_area = fo_area_first_child (parent); while (use_child_area) { if (inline_child_available_bpdim >= fo_area_area_get_height (use_child_area)) { fo_area_area_set_x (use_child_area, fo_area_get_next_x (parent) + fo_area_area_get_start_indent (use_child_area)); fo_area_area_set_y (use_child_area, fo_area_get_next_y (parent)); fo_area_set_next_x (parent, 0); fo_area_set_next_y (parent, fo_area_get_next_y (parent) - fo_area_area_get_height (use_child_area)); fo_area_set_available_height (child, fo_area_area_get_height (use_child_area)); fo_area_set_available_width (child, fo_area_get_child_available_ipdim (parent)); use_child_area = fo_area_next_sibling (use_child_area); } else { #if defined(LIBFO_DEBUG) && 1 g_message ("inline_size_request:: splitting:: child: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by)); #endif use_child_area = fo_area_split_before_height (use_child_area, inline_child_available_bpdim - fo_area_area_get_height (parent)); parent = fo_area_parent (use_child_area); inline_child_available_bpdim = fo_area_get_child_available_bpdim (parent); } } #if defined(LIBFO_DEBUG) && 0 g_message ("inline_size_request (%p):: total > available:: return:: parent->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (parent)), fo_object_debug_sprintf (fo_area_last_child (parent->generated_by))); #endif return fo_area_last_child (parent); } } xmlroff-0.6.2/libfo/area/fo-area-inline.h0000644000175000017500000000221710643167443015071 00000000000000/* Fo * fo-area-inline.h: Inline block-area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_INLINE_H__ #define __FO_AREA_INLINE_H__ #include G_BEGIN_DECLS typedef struct _FoAreaInline FoAreaInline; typedef struct _FoAreaInlineClass FoAreaInlineClass; #define FO_TYPE_AREA_INLINE (fo_area_inline_get_type ()) #define FO_AREA_INLINE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_INLINE, FoAreaInline)) #define FO_AREA_INLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_INLINE, FoAreaInlineClass)) #define FO_IS_AREA_INLINE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_INLINE)) #define FO_IS_AREA_INLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_INLINE)) #define FO_AREA_INLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_INLINE, FoAreaInlineClass)) GType fo_area_inline_get_type (void) G_GNUC_CONST; FoArea * fo_area_inline_new (void); G_END_DECLS #endif /* !__FO_AREA_INLINE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-inline-private.h0000644000175000017500000000106510643167443016541 00000000000000/* Fo * fo-area-inline-private.h: Structures private to FoAreaInline object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_INLINE_PRIVATE_H__ #define __FO_AREA_INLINE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoAreaInline { FoArea parent_instance; }; struct _FoAreaInlineClass { FoAreaClass parent_class; }; G_END_DECLS #endif /* !__FO_AREA_INLINE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-layout.c0000644000175000017500000006072410763224731015127 00000000000000/* Fo * fo-area-layout.c: Layout area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo/fo-text.h" #include "fo/fo-block.h" #include "fo-layout-private.h" #include "fo-area.h" #include "fo-area-area.h" #include "fo-area-layout.h" #include "fo-area-layout-private.h" #include "fo-area-page.h" #include "property/fo-property-text-align.h" #include "property/fo-property-orphans.h" #include "property/fo-property-widows.h" enum { PROP_0, PROP_LAYOUT }; static void fo_area_layout_class_init (FoAreaLayoutClass *klass); static void fo_area_layout_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_area_layout_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_area_layout_finalize (GObject *object); static void fo_area_layout_debug_dump_properties (FoArea *area, gint depth); static void fo_area_layout_update_after_clone (FoArea *clone, FoArea *original); static FoArea* fo_area_layout_split_before_height (FoArea *area, gfloat max_height); static gboolean fo_area_layout_split_before_height_check (FoArea *area, gfloat max_height); static void fo_area_layout_resolve_text_align (FoArea *area); static gpointer parent_class; /** * fo_area_layout_get_type: * @void: * * Register the #FoAreaLayout object type. * * Return value: #GType value of the #FoAreaLayout object type. **/ GType fo_area_layout_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaLayoutClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_layout_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaLayout), 0, /* n_preallocs */ NULL, /* instance_init */ NULL }; object_type = g_type_register_static (FO_TYPE_AREA_AREA, "FoAreaLayout", &object_info, 0); } return object_type; } /** * fo_area_layout_class_init: * @klass: FoAreaLayoutClass object to initialise. * * Implements GClassInitFunc for FoAreaLayoutClass. **/ void fo_area_layout_class_init (FoAreaLayoutClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoAreaClass *fo_area_class = FO_AREA_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_layout_finalize; object_class->set_property = fo_area_layout_set_property; object_class->get_property = fo_area_layout_get_property; fo_area_class->debug_dump_properties = fo_area_layout_debug_dump_properties; fo_area_class->update_after_clone = fo_area_layout_update_after_clone; fo_area_class->split_before_height = fo_area_layout_split_before_height; fo_area_class->split_before_height_check = fo_area_layout_split_before_height_check; fo_area_class->resolve_text_align = fo_area_layout_resolve_text_align; g_object_class_install_property (object_class, PROP_LAYOUT, g_param_spec_pointer ("layout", _("FoLayout layout"), _("FoLayout layout of formatted text of block"), G_PARAM_READWRITE)); } /** * fo_area_layout_finalize: * @object: FoAreaLayout object to finalize * * Implements GObjectFinalizeFunc for FoAreaLayout **/ void fo_area_layout_finalize (GObject *object) { FoAreaLayout *fo_area_layout; fo_area_layout = FO_AREA_LAYOUT (object); g_object_unref (fo_area_layout->layout); g_slist_free (fo_area_layout->line_heights); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_layout_get_property: * @object: GObject whose property will be retrieved * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoAreaLayout **/ void fo_area_layout_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoArea *fo_area; fo_area = FO_AREA (object); switch (prop_id) { case PROP_LAYOUT: g_value_set_pointer (value, (gpointer) fo_area_layout_get_layout (fo_area)); default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_area_layout_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoAreaLayout **/ void fo_area_layout_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoArea *fo_area; fo_area = FO_AREA (object); switch (prop_id) { case PROP_LAYOUT: fo_area_layout_set_layout (fo_area, (FoLayout *) g_value_get_pointer (value)); default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_area_layout_new: * * Creates a new #FoAreaLayout initialized to default value. * * Return value: the new #FoAreaLayout **/ FoArea * fo_area_layout_new (void) { return FO_AREA (g_object_new (fo_area_layout_get_type (), NULL)); } /** * fo_area_layout_new_with_layout: * @layout: #FoLayout used by the new #FoAreaLayout * * Creates a new #FoAreaLayout initialized with @layout. * * Return value: the new #FoAreaLayout **/ FoArea * fo_area_layout_new_with_layout (FoLayout *layout) { FoArea *fo_area_layout = fo_area_layout_new (); fo_area_layout_set_layout (fo_area_layout, layout); return fo_area_layout; } /** * fo_area_layout_get_layout: * @fo_area_layout: The #FoAreaLayout object * * Gets the #layout property of @area_layout * * Return value: The "layout" property value **/ FoLayout * fo_area_layout_get_layout (FoArea *fo_area_layout) { g_return_val_if_fail (fo_area_layout != NULL, 0); g_return_val_if_fail (FO_IS_AREA_LAYOUT (fo_area_layout), 0); return FO_AREA_LAYOUT (fo_area_layout)->layout; } /** * fo_area_layout_set_layout: * @fo_area_layout: The #FoAreaLayout object * @new_layout: The new "layout" property value * * Sets the #layout property of @area_area to @new_layout **/ void fo_area_layout_set_layout (FoArea *fo_area_layout, FoLayout *new_layout) { g_return_if_fail (fo_area_layout != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (fo_area_layout)); if (FO_AREA_LAYOUT (fo_area_layout)->layout != NULL) { g_object_unref (FO_AREA_LAYOUT (fo_area_layout)->layout); } if (FO_AREA_LAYOUT (fo_area_layout)->line_heights != NULL) { g_slist_free (FO_AREA_LAYOUT (fo_area_layout)->line_heights); } FO_AREA_LAYOUT (fo_area_layout)->layout = g_object_ref (new_layout); gint cumulative_height = 0; GSList *line_heights = NULL; FoRectangle logical; gint line_count = fo_layout_get_line_count (new_layout); fo_area_layout_set_line_first (fo_area_layout, 0); fo_area_layout_set_line_last (fo_area_layout, line_count - 1); gint line_index; for (line_index = 0; line_index < line_count; line_index++) { pango_layout_line_get_extents (pango_layout_get_line (fo_layout_get_pango_layout (new_layout), line_index), NULL, (PangoRectangle *) &logical); cumulative_height += logical.height; line_heights = g_slist_prepend (line_heights, GINT_TO_POINTER (cumulative_height)); } FO_AREA_LAYOUT (fo_area_layout)->line_heights = g_slist_reverse (line_heights); /*g_object_notify (G_OBJECT (fo_area_layout), "layout");*/ } /** * fo_area_layout_get_line_first: * @fo_area_layout: The #FoAreaLayout object * * Gets the #line-first property of @area_layout * * Return value: The "line_first" property value **/ guint fo_area_layout_get_line_first (FoArea *fo_area_layout) { g_return_val_if_fail (fo_area_layout != NULL, 0); g_return_val_if_fail (FO_IS_AREA_LAYOUT (fo_area_layout), 0); return FO_AREA_LAYOUT (fo_area_layout)->line_first; } /** * fo_area_layout_set_line_first: * @fo_area_layout: The #FoAreaLayout object * @new_line_first: The new "line_first" property value * * Sets the #line-first property of @area_area to @new_line_first **/ void fo_area_layout_set_line_first (FoArea *fo_area_layout, guint new_line_first) { g_return_if_fail (fo_area_layout != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (fo_area_layout)); FO_AREA_LAYOUT (fo_area_layout)->line_first = new_line_first; /* g_object_notify (G_OBJECT (fo_area_layout), "line_first"); */ } /** * fo_area_layout_get_line_last: * @fo_area_layout: The #FoAreaLayout object. * * Gets the #line-last property of @fo_area_layout. * * Return value: The "line_last" property value. **/ guint fo_area_layout_get_line_last (FoArea *fo_area_layout) { g_return_val_if_fail (fo_area_layout != NULL, 0); g_return_val_if_fail (FO_IS_AREA_LAYOUT (fo_area_layout), 0); return FO_AREA_LAYOUT (fo_area_layout)->line_last; } /** * fo_area_layout_set_line_last: * @fo_area_layout: The #FoAreaLayout object. * @new_line_last: The new "line_last" property value. * * Sets the #line-last property of @fo_area_layout to @new_line_last. **/ void fo_area_layout_set_line_last (FoArea *fo_area_layout, guint new_line_last) { g_return_if_fail (fo_area_layout != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (fo_area_layout)); FO_AREA_LAYOUT (fo_area_layout)->line_last = new_line_last; /* g_object_notify (G_OBJECT (fo_area_layout), "line-last");*/ } static void fo_area_layout_debug_dump_line_height (gpointer value, gpointer data) { gchar *indent = g_strnfill (GPOINTER_TO_INT (data) * 2, ' '); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%1.1f", indent, (float) GPOINTER_TO_INT (value) / PANGO_SCALE); g_free (indent); } /** * fo_area_layout_debug_dump_properties: * @area: The #FoArea object * @depth: Indent level to add to the output * * Logs the value of each significant property of @area then calls * debug_dump_properties method of parent class. **/ void fo_area_layout_debug_dump_properties (FoArea *area, gint depth) { FoAreaLayout *layout; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (area)); layout = FO_AREA_LAYOUT (area); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sline heights: %p", indent, layout->line_heights); g_slist_foreach (layout->line_heights, fo_area_layout_debug_dump_line_height, GINT_TO_POINTER (depth + 1)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sline-first: %d", indent, layout->line_first); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sline-last: %d", indent, layout->line_last); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sFoLayout: %p", indent, layout->layout); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } /** * fo_area_layout_update_after_clone: * @clone: New object cloned from @original * @original: Original area object * * Update the FoAreaArea-specific instance variables of @clone to * match those of @original **/ void fo_area_layout_update_after_clone (FoArea *clone, FoArea *original) { FoAreaLayout *original_layout, *clone_layout; g_return_if_fail (clone != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (clone)); g_return_if_fail (original != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (original)); FO_AREA_CLASS (parent_class)->update_after_clone (clone, original); original_layout = FO_AREA_LAYOUT (original); clone_layout = FO_AREA_LAYOUT (clone); clone_layout->layout = g_object_ref (original_layout->layout); clone_layout->text = original_layout->text; clone_layout->line_first = original_layout->line_first; clone_layout->line_last = original_layout->line_last; clone_layout->prev_portion = original_layout->prev_portion; clone_layout->next_portion = original_layout->next_portion; clone_layout->line_heights = g_slist_copy (original_layout->line_heights); } /** * fo_area_layout_split_before_height: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Split @area at or before @height. * * Return value: The part of @area spit from @area, or NULL if unsplit. **/ FoArea * fo_area_layout_split_before_height (FoArea *area, gfloat max_height) { FoAreaLayout *layout; FoArea *new_area; GSList *line_heights; gint line_count; gint line_first, line_last; gint widows, orphans; gint pre_widow_max; gfloat line_first_pre_height = 0; g_return_val_if_fail (FO_IS_AREA_LAYOUT (area), area); #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height:: %p", area); #endif layout = (FoAreaLayout *) area; line_heights = layout->line_heights; line_first = layout->line_first; line_last = layout->line_last; line_count = line_last - line_first + 1; if (line_first > 0) line_first_pre_height = (float) GPOINTER_TO_INT (g_slist_nth_data (line_heights, line_first - 1)) / PANGO_SCALE; widows = fo_integer_get_value (fo_property_get_value (fo_block_get_widows (area->generated_by))); orphans = fo_integer_get_value (fo_property_get_value (fo_block_get_orphans (area->generated_by))); pre_widow_max = line_last - widows; #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height:: layout: %p; line_first: %d; line_first_pre_height: %1.1f; line_count: %d; widows: %d; orphans: %d", area, line_first, line_first_pre_height, line_count, widows, orphans); #endif if (line_count < widows + orphans) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height:: Not enough lines (%p): %d < %d + %d + %d", area, line_count, widows, orphans, line_first); #endif return NULL; } else if (max_height < ((float) GPOINTER_TO_INT (g_slist_nth_data (line_heights, orphans + line_first)) / PANGO_SCALE) - line_first_pre_height) { #if defined(LIBFO_DEBUG) && 0 g_message ("Post-orphans exceeds available height (%p): %1.1f - %1.1f > %1.1f", area, (float) GPOINTER_TO_INT (g_slist_nth_data (line_heights, orphans + line_first)) / PANGO_SCALE, line_first_pre_height, max_height); #endif return NULL; } else { gint line_index = 0; while (line_heights != NULL) { if (line_index < line_first) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height:: ignore:: line_index: %d; line_first: %d", line_index, line_first); #endif } else if (line_index < orphans + line_first) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height:: Can't break - orphans:: line_index: %d; line_first: %d; orphans: %d", line_index, line_first, orphans); #endif } else if (line_index >= pre_widow_max) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height:: Can't break - widows:: line_index: %d; orphans: %d", line_index, pre_widow_max); #endif return NULL; } else { if (max_height > ((float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE) - line_first_pre_height) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height:: fits:: line_index: %d; line height: %f; line height - line_first_pre_height: %f; max height: %f", line_index, (float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE, (float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE - line_first_pre_height, max_height); #endif if ((max_height < (float) GPOINTER_TO_INT (line_heights->next->data) / PANGO_SCALE - line_first_pre_height) || line_index == pre_widow_max - 1) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height:: Break:: line: %d", line_index); #endif new_area = fo_area_clone (area); fo_area_set_is_first (new_area, FALSE); fo_area_set_is_last (area, FALSE); /* FIXME: handle padding */ /* FIXME: handle conditionality of borders and padding */ fo_area_area_set_border_after (area, 0.0); fo_area_area_set_border_before (new_area, 0.0); gboolean retain_padding_before = fo_length_cond_get_condity (fo_property_get_value (fo_block_get_padding_before (area->generated_by))); if (!retain_padding_before) { fo_area_area_set_padding_before (new_area, 0.0); } fo_area_layout_set_line_first (new_area, line_index + 1); fo_area_layout_set_line_last (area, line_index); fo_area_area_set_height (new_area, ((float) GPOINTER_TO_INT (g_slist_last (line_heights)->data)) / PANGO_SCALE - (float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE + fo_area_area_get_padding_before (new_area)); fo_area_area_set_height (area, (float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE - line_first_pre_height + fo_area_area_get_padding_before (area)); fo_area_resolve_text_align (area); #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height:: area height: %f; new_area height: %f", fo_area_area_get_height (area), fo_area_area_get_height (new_area)); #endif /* fo_area_size_request (area); */ return new_area; } } else { #if defined(LIBFO_DEBUG) && 0 g_message ("Line %d doesn't fit: %1.1f > %1.1f", line_index, (float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE, max_height); #endif } } line_index++; line_heights = line_heights->next; } } return NULL; } /** * fo_area_layout_split_before_height_check: * @area: #FoArea to be split * @height: Maximum block-progression-dimension of @area * * Check whether @area can split at or before @height. * * Return value: TRUE if can split, otherwise FALSE. **/ gboolean fo_area_layout_split_before_height_check (FoArea *area, gfloat max_height) { FoAreaLayout *layout; GSList *line_heights; gint line_count; gint line_first, line_last; gint widows, orphans; gint pre_widow_max; gfloat line_first_pre_height = 0; g_return_val_if_fail (FO_IS_AREA_LAYOUT (area), FALSE); #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height_check:: %p", area); #endif layout = (FoAreaLayout *) area; line_heights = layout->line_heights; line_first = layout->line_first; line_last = layout->line_last; line_count = line_last - line_first + 1; if (line_first > 0) line_first_pre_height = (float) GPOINTER_TO_INT (g_slist_nth_data (line_heights, line_first - 1)) / PANGO_SCALE; widows = fo_integer_get_value (fo_property_get_value (FO_PROPERTY (fo_block_get_widows (area->generated_by)))); orphans = fo_integer_get_value (fo_property_get_value (FO_PROPERTY (fo_block_get_orphans (area->generated_by)))); pre_widow_max = line_last - widows; #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height_check:: layout: %p; line_first: %d; line_first_pre_height: %1.1f; line_count: %d; widows: %d; orphans: %d", area, line_first, line_first_pre_height, line_count, widows, orphans); #endif if (line_count < widows + orphans) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height_check:: Not enough lines (%p): %d < %d + %d + %d", area, line_count, widows, orphans, line_first); #endif return FALSE; } else if (max_height < ((float) GPOINTER_TO_INT (g_slist_nth_data (line_heights, orphans + line_first)) / PANGO_SCALE) - line_first_pre_height) { #if defined(LIBFO_DEBUG) && 0 g_message ("Post-orphans exceeds available height (%p): %1.1f - %1.1f > %1.1f", area, (float) GPOINTER_TO_INT (g_slist_nth_data (line_heights, orphans + line_first)) / PANGO_SCALE, line_first_pre_height, max_height); #endif return FALSE; } else { gint line_index = 0; while (line_heights != NULL) { if (line_index < line_first) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height_check:: ignore:: line_index: %d; line_first: %d", line_index, line_first); #endif } else if (line_index < orphans + line_first) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height_check:: Can't break - orphans:: line_index: %d; line_first: %d; orphans: %d", line_index, line_first, orphans); #endif } else if (line_index >= pre_widow_max) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height_check:: Can't break - widows:: line_index: %d; orphans: %d", line_index, pre_widow_max); #endif return FALSE; } else { if (max_height > ((float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE) - line_first_pre_height) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height_check:: fits:: line_index: %d; line height: %f; line height - line_first_pre_height: %f; max height: %f", line_index, (float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE, (float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE - line_first_pre_height, max_height); #endif if ((max_height < (float) GPOINTER_TO_INT (line_heights->next->data) / PANGO_SCALE - line_first_pre_height) || line_index == pre_widow_max - 1) { #if defined(LIBFO_DEBUG) && 0 g_message ("layout_split_before_height_check:: Break:: line: %d", line_index); #endif return TRUE; } } else { #if defined(LIBFO_DEBUG) && 0 g_message ("Line %d doesn't fit: %1.1f > %1.1f", line_index, (float) GPOINTER_TO_INT (line_heights->data) / PANGO_SCALE, max_height); #endif } } line_index++; line_heights = line_heights->next; } } return FALSE; } /** * fo_area_layout_resolve_text_align: * @area: #FoArea. * * Determine the Pango alignment from the XSL 'text-align' property. **/ static void fo_area_layout_resolve_text_align (FoArea *area) { FoAreaLayout *area_layout; FoEnumEnum area_align; PangoAlignment pango_align; PangoDirection base_dir; gint page_number_mod_2; g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_LAYOUT (area)); area_layout = FO_AREA_LAYOUT (area); area_align = fo_enum_get_value (fo_property_get_value (fo_block_get_text_align (area->generated_by))); page_number_mod_2 = fo_area_page_get_page_number (area->page) % 2; base_dir = pango_context_get_base_dir (pango_layout_get_context (fo_layout_get_pango_layout (area_layout->layout))); /* FIXME this will get more complicated when necessary to support orientation and tb writing direction */ if (area_align == FO_ENUM_ENUM_CENTER) { pango_align = PANGO_ALIGN_CENTER; } else if ((area_align == FO_ENUM_ENUM_RIGHT) || ((page_number_mod_2 == 0) && (area_align == FO_ENUM_ENUM_INSIDE)) || ((page_number_mod_2 == 1) && (area_align == FO_ENUM_ENUM_OUTSIDE)) || ((base_dir == PANGO_DIRECTION_LTR) && (area_align == FO_ENUM_ENUM_END)) || ((base_dir == PANGO_DIRECTION_RTL) && ((area_align == FO_ENUM_ENUM_START)))) { pango_align = PANGO_ALIGN_RIGHT; } else { pango_align = PANGO_ALIGN_LEFT; } pango_layout_set_alignment (fo_layout_get_pango_layout (area_layout->layout), pango_align); pango_layout_set_auto_dir (fo_layout_get_pango_layout (area_layout->layout), FALSE); } /** * fo_area_layout_get_line_height: * @fo_area_layout: #FoArea. * @line_number: Number of the line for which to get the height. * * Get the height of line @line_number. * * Return value: The line height in points. **/ gdouble fo_area_layout_get_line_height (FoArea *fo_area_layout, gint line_number) { g_return_val_if_fail (fo_area_layout != NULL, 0.0); g_return_val_if_fail (FO_IS_AREA_LAYOUT (fo_area_layout), 0.0); FoAreaLayout *layout = FO_AREA_LAYOUT (fo_area_layout); return (gdouble) GPOINTER_TO_INT (g_slist_nth_data (layout->line_heights, line_number)) / PANGO_SCALE; } xmlroff-0.6.2/libfo/area/fo-area-layout.h0000644000175000017500000000357310763221541015127 00000000000000/* Fo * fo-area-layout.h: Layout area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_LAYOUT_H__ #define __FO_AREA_LAYOUT_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaLayout FoAreaLayout; typedef struct _FoAreaLayoutClass FoAreaLayoutClass; #define FO_TYPE_AREA_LAYOUT (fo_area_layout_get_type ()) #define FO_AREA_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_LAYOUT, FoAreaLayout)) #define FO_AREA_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_LAYOUT, FoAreaLayoutClass)) #define FO_IS_AREA_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_LAYOUT)) #define FO_IS_AREA_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_LAYOUT)) #define FO_AREA_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_LAYOUT, FoAreaLayoutClass)) GType fo_area_layout_get_type (void) G_GNUC_CONST; FoArea * fo_area_layout_new (void); FoArea * fo_area_layout_new_with_layout (FoLayout *layout); FoLayout * fo_area_layout_get_layout (FoArea *fo_area_layout); void fo_area_layout_set_layout (FoArea *fo_area_layout, FoLayout *new_layout); guint fo_area_layout_get_line_first (FoArea *fo_area_layout); void fo_area_layout_set_line_first (FoArea *fo_area_layout, guint new_line_first); guint fo_area_layout_get_line_last (FoArea *fo_area_layout); void fo_area_layout_set_line_last (FoArea *fo_area_layout, guint new_line_last); gdouble fo_area_layout_get_line_height (FoArea *fo_area_layout, gint line_number); G_END_DECLS #endif /* !__FO_AREA_LAYOUT_H__ */ xmlroff-0.6.2/libfo/area/fo-area-layout-private.h0000644000175000017500000000143710763216775016611 00000000000000/* Fo * fo-area-layout-private.h: Private information for layout area objects * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_AREA_LAYOUT_PRIVATE_H__ #define __FO_AREA_LAYOUT_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoAreaLayout { FoAreaArea parent_instance; FoLayout *layout; gchar *text; PangoAttrList *attr_list; guint line_first; guint line_last; FoAreaLayout *prev_portion; FoAreaLayout *next_portion; GSList *line_heights; }; struct _FoAreaLayoutClass { FoAreaAreaClass parent_class; }; G_END_DECLS #endif /* !__FO_AREA_LAYOUT_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-list-item.c0000644000175000017500000006445510646227561015532 00000000000000/* Fo * fo-area-list-item.c: Area object for list-item formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-area.h" #include "fo-area-area-private.h" #include "fo-area-list-item.h" struct _FoAreaListItem { FoAreaArea parent_instance; }; struct _FoAreaListItemClass { FoAreaAreaClass parent_class; }; static void fo_area_list_item_class_init (FoAreaListItemClass *klass); static void fo_area_list_item_finalize (GObject *object); static void fo_area_list_item_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_list_item_size_request (FoArea *child); static FoArea* fo_area_list_item_split_before_height (FoArea *area, gfloat max_height); static gboolean fo_area_list_item_split_before_height_check (FoArea *area, gfloat max_height); static FoArea* fo_area_list_item_split_after_height (FoArea *area, gfloat max_height); static gboolean fo_area_list_item_split_after_height_check (FoArea *area, gfloat max_height); static gpointer parent_class; GType fo_area_list_item_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaListItemClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_list_item_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaListItem), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_AREA, "FoAreaListItem", &object_info, 0); } return object_type; } static void fo_area_list_item_class_init (FoAreaListItemClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_list_item_finalize; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_list_item_debug_dump_properties; FO_AREA_CLASS (klass)->size_request = fo_area_list_item_size_request; FO_AREA_CLASS (klass)->split_before_height = fo_area_list_item_split_before_height; FO_AREA_CLASS (klass)->split_before_height_check = fo_area_list_item_split_before_height_check; FO_AREA_CLASS (klass)->split_after_height = fo_area_list_item_split_after_height; FO_AREA_CLASS (klass)->split_after_height_check = fo_area_list_item_split_after_height_check; } static void fo_area_list_item_finalize (GObject *object) { FoAreaListItem *fo_area_list_item; fo_area_list_item = FO_AREA_LIST_ITEM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_list_item_new: * * Creates a new #FoAreaListItem initialized to default value. * * Return value: the new #FoAreaListItem **/ FoArea* fo_area_list_item_new (void) { return FO_AREA (g_object_new (fo_area_list_item_get_type (), NULL)); } void fo_area_list_item_debug_dump_properties (FoArea *area, gint depth) { FoAreaListItem *list_item; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_LIST_ITEM (area)); list_item = FO_AREA_LIST_ITEM (area); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } FoArea* fo_area_list_item_add_child (FoArea *parent, FoArea *child) { g_return_val_if_fail (parent != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_LIST_ITEM (parent), NULL); g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (fo_area_n_children (parent) <= 1, NULL); return fo_area_real_add_child (parent, child); } /** * fo_area_list_item_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_list_item_size_request (FoArea *child) { FoArea *use_child_area; FoArea *list_item; gfloat max_child_height = 0; gfloat list_item_child_available_bpdim; gfloat child_height; gfloat child_space_before, child_space_after; g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (fo_area_parent (child) != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_LIST_ITEM (fo_area_parent (child)), NULL); child_height = fo_area_area_get_height (child); child_space_before = fo_area_area_get_space_before (child); child_space_after = fo_area_area_get_space_after (child); list_item = fo_area_parent (child); list_item_child_available_bpdim = fo_area_get_child_available_bpdim (list_item); #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_size_request (%p):: list_item: %s; generated by: %s; available_height: %f", child, fo_object_debug_sprintf (list_item), fo_object_debug_sprintf (list_item->generated_by), list_item_child_available_bpdim); g_message ("list_item_size_request (%p):: child: %s; generated by: %s; height: %f; space_before: %f; space_after: %f", child, fo_object_debug_sprintf (child), fo_object_debug_sprintf (child->generated_by), child_height, child_space_before, child_space_after); #endif use_child_area = fo_area_first_child (list_item); while (use_child_area) { #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_size_request (%p):: height: %f; child: %s; generated by: %s", child, fo_area_area_get_height (use_child_area), fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by)); #endif max_child_height = MAX (max_child_height, fo_area_area_get_height (use_child_area)); use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_size_request (%p):: max child height: %f", child, max_child_height); #endif fo_area_area_set_height (list_item, max_child_height + fo_area_area_get_border_before (list_item) + fo_area_area_get_padding_before (list_item) + fo_area_area_get_padding_after (list_item) + fo_area_area_get_border_after (list_item)); /* Don't bother doing a size_request if still fit within available height */ if (list_item_child_available_bpdim < fo_area_area_get_height (list_item)) { list_item = fo_area_size_request (list_item); list_item_child_available_bpdim = MAX (fo_area_get_available_height (list_item) - fo_area_area_get_border_before (list_item) - fo_area_area_get_padding_before (list_item) - fo_area_area_get_padding_after (list_item) - fo_area_area_get_border_after (list_item), 0); fo_area_set_child_available_bpdim (list_item, list_item_child_available_bpdim); #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_size_request (%p):: new list_item: %s; generated by: %s; available_height: %f", child, fo_object_debug_sprintf (list_item), fo_object_debug_sprintf (list_item->generated_by), list_item_child_available_bpdim); #endif } max_child_height = 0; use_child_area = fo_area_first_child (list_item); while (use_child_area) { max_child_height = MAX (max_child_height, fo_area_area_get_height (use_child_area)); #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_size_request (%p):: new height: %f; child: %s; generated by: %s", child, fo_area_area_get_height (use_child_area), fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by)); #endif use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_size_request (%p):: new max child height: %f", child, max_child_height); #endif fo_area_set_next_x (list_item, fo_area_area_get_border_start (list_item) + fo_area_area_get_padding_start (list_item)); fo_area_set_next_y (list_item, - (fo_area_area_get_border_before (list_item) + fo_area_area_get_padding_before (list_item))); if (max_child_height <= list_item_child_available_bpdim) { use_child_area = fo_area_first_child (list_item); while (use_child_area) { fo_area_area_set_x (use_child_area, fo_area_get_next_x (list_item) + fo_area_area_get_start_indent (use_child_area)); fo_area_area_set_y (use_child_area, fo_area_get_next_y (list_item)); fo_area_set_available_height (use_child_area, fo_area_area_get_height (use_child_area)); fo_area_set_available_width (use_child_area, fo_area_get_child_available_ipdim (list_item)); use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_size_request (%p):: return:: list_item->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (list_item)), fo_object_debug_sprintf (fo_area_last_child (list_item->generated_by))); #endif return fo_area_last_child (list_item); } else { use_child_area = fo_area_first_child (list_item); while (use_child_area) { if ((list_item_child_available_bpdim - (fo_area_get_next_y (list_item) - fo_area_area_get_height (use_child_area))) >= 0) { fo_area_area_set_x (use_child_area, fo_area_get_next_x (list_item) + fo_area_area_get_start_indent (use_child_area)); fo_area_area_set_y (use_child_area, fo_area_get_next_y (list_item)); fo_area_set_next_x (list_item, 0); fo_area_set_next_y (list_item, fo_area_get_next_y (list_item) - fo_area_area_get_height (use_child_area)); fo_area_set_available_height (child, fo_area_area_get_height (use_child_area)); fo_area_set_available_width (child, fo_area_get_child_available_ipdim (list_item)); use_child_area = fo_area_next_sibling (use_child_area); } else { #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_size_request:: splitting:: child: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by)); #endif use_child_area = fo_area_split_before_height (use_child_area, list_item_child_available_bpdim - fo_area_area_get_height (list_item)); list_item = fo_area_parent (use_child_area); list_item_child_available_bpdim = fo_area_get_child_available_bpdim (list_item); } } #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_size_request (%p):: max > available:: return:: list_item->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (list_item)), fo_object_debug_sprintf (fo_area_last_child (list_item->generated_by))); #endif return fo_area_last_child (list_item); } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ FoArea* fo_area_list_item_split_before_height (FoArea *area, gfloat max_height) { FoAreaArea *area_area; FoArea *clone = NULL; FoArea *child_0 = NULL; FoArea *split_child_0 = NULL; gfloat child_0_height = 0; gfloat child_0_minus_y = 0; gboolean child_0_will_split = FALSE; gboolean child_0_will_fit = TRUE; FoArea *child_1 = NULL; FoArea *split_child_1 = NULL; gfloat child_1_height = 0; gfloat child_1_minus_y = 0; gboolean child_1_will_split = FALSE; gboolean child_1_will_fit = TRUE; g_return_val_if_fail (FO_IS_AREA_LIST_ITEM (area), NULL); g_return_val_if_fail (fo_area_n_children (area) > 0, NULL); g_return_val_if_fail (fo_area_n_children (area) <= 2, NULL); g_return_val_if_fail (max_height > 0, NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height:: area: %s; generated by: %s; max_height: %f", fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by), max_height); #endif #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height:: area: %s; parent: %s", fo_object_debug_sprintf (area), fo_object_debug_sprintf (fo_area_parent (area))); #endif area_area = (FoAreaArea *) area; /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return NULL; child_0 = fo_area_first_child (area); child_0_height = fo_area_area_get_height (child_0); child_0_minus_y = -fo_area_area_get_y (child_0); if (child_0_minus_y + child_0_height > max_height) { child_0_will_split = fo_area_split_before_height_check (child_0, max_height - child_0_minus_y); child_0_will_fit = FALSE; } child_1 = fo_area_nth_child (area, 1); if (child_1) { child_1_height = fo_area_area_get_height (child_1); child_1_minus_y = -fo_area_area_get_y (child_1); if (child_1_minus_y + child_1_height > max_height) { child_1_will_split = fo_area_split_before_height_check (child_1, max_height - child_1_minus_y); child_1_will_fit = FALSE; } } #if defined(LIBFO_DEBUG) && 0 if (child_0_will_fit) { g_message ("list_item_split_before_height (%p):: child 0 will fit", area); } else { if (child_0_will_split) { g_message ("list_item_split_before_height (%p):: child 0 will split", area); } else { g_message ("list_item_split_before_height (%p):: child 0 will not split", area); } } if (child_1) { if (child_1_will_fit) { g_message ("list_item_split_before_height (%p):: child 1 will fit", area); } else { if (child_1_will_split) { g_message ("list_item_split_before_height (%p):: child 1 will split", area); } else { g_message ("list_item_split_before_height (%p):: child 1 will not split", area); } } } else { g_message ("list_item_split_before_height (%p):: no child 1", area); } #endif if ((child_0_will_split && !(child_1 && !child_1_will_fit && !child_1_will_split)) || (child_1 && child_1_will_split && !(!child_0_will_fit && !child_0_will_split))) { gfloat max_remaining_child_height = 0; gfloat max_split_child_height = 0; #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height (%p):: will split list-item", area); #endif clone = fo_area_clone (area); area->is_last = FALSE; area_area->border_after = 0; clone->is_first = FALSE; ((FoAreaArea *)clone)->border_before = 0; /* Do child_1 first so since may or may not be a split child_0 put before it in the tree */ if (child_1_will_split) { split_child_1 = fo_area_split_before_height (child_1, max_height - child_1_minus_y); fo_area_unlink_with_next_siblings (split_child_1); fo_area_insert_with_next_siblings (clone, 0, split_child_1); max_remaining_child_height = ((FoAreaArea *) child_1)->height; max_split_child_height = ((FoAreaArea *) split_child_1)->height; } if (child_0_will_split) { split_child_0 = fo_area_split_before_height (child_0, max_height - child_0_minus_y); fo_area_unlink_with_next_siblings (split_child_0); fo_area_insert_with_next_siblings (clone, 0, split_child_0); max_remaining_child_height = MAX (max_remaining_child_height, ((FoAreaArea *) child_0)->height); max_split_child_height = MAX (max_split_child_height, ((FoAreaArea *) split_child_0)->height); } /* Do not include area_area->border_after in height since area_area is not last */ area_area->height = max_remaining_child_height + area_area->border_before + area_area->padding_before + area_area->padding_after; /* Do not include clone->border_before in height since clone is not first */ ((FoAreaArea *) clone)->height = max_split_child_height + ((FoAreaArea *) clone)->padding_before + ((FoAreaArea *) clone)->padding_after + ((FoAreaArea *) clone)->border_after; fo_area_set_next_y (clone, max_split_child_height); fo_area_set_available_height (clone, 0); return clone; } else { #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height (%p):: won't split list-item", area); #endif return NULL; } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ gboolean fo_area_list_item_split_before_height_check (FoArea *area, gfloat max_height) { FoArea *child_0 = NULL; gfloat child_0_height = 0; gfloat child_0_minus_y = 0; gboolean child_0_will_split = FALSE; gboolean child_0_will_fit = TRUE; FoArea *child_1 = NULL; gfloat child_1_height = 0; gfloat child_1_minus_y = 0; gboolean child_1_will_split = FALSE; gboolean child_1_will_fit = TRUE; g_return_val_if_fail (FO_IS_AREA_LIST_ITEM (area), FALSE); g_return_val_if_fail (fo_area_n_children (area) > 0, FALSE); g_return_val_if_fail (fo_area_n_children (area) <= 2, FALSE); g_return_val_if_fail (max_height > 0, FALSE); #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height_check:: area: %s; generated by: %s; max_height: %f", fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by), max_height); #endif /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return FALSE; child_0 = fo_area_first_child (area); child_0_height = fo_area_area_get_height (child_0); child_0_minus_y = -fo_area_area_get_y (child_0); if (child_0_minus_y + child_0_height > max_height) { child_0_will_split = fo_area_split_before_height_check (child_0, max_height - child_0_minus_y); child_0_will_fit = FALSE; } child_1 = fo_area_nth_child (area, 1); if (child_1) { child_1_height = fo_area_area_get_height (child_1); child_1_minus_y = -fo_area_area_get_y (child_1); if (child_1_minus_y + child_1_height > max_height) { child_1_will_split = fo_area_split_before_height_check (child_1, max_height - child_1_minus_y); child_1_will_fit = FALSE; } } if ((child_0_will_split && !(child_1 && !child_1_will_fit && !child_1_will_split)) || (child_1 && child_1_will_split && !(!child_0_will_fit && !child_0_will_split))) { return TRUE; } else { return FALSE; } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ FoArea* fo_area_list_item_split_after_height (FoArea *area, gfloat max_height) { FoAreaArea *area_area; FoArea *clone = NULL; FoArea *child_0 = NULL; FoArea *split_child_0 = NULL; gfloat child_0_height = 0; gfloat child_0_minus_y = 0; gboolean child_0_will_split = FALSE; gboolean child_0_will_fit = TRUE; FoArea *child_1 = NULL; FoArea *split_child_1 = NULL; gfloat child_1_height = 0; gfloat child_1_minus_y = 0; gboolean child_1_will_split = FALSE; gboolean child_1_will_fit = TRUE; g_return_val_if_fail (FO_IS_AREA_LIST_ITEM (area), NULL); g_return_val_if_fail (fo_area_n_children (area) > 0, NULL); g_return_val_if_fail (fo_area_n_children (area) <= 2, NULL); g_return_val_if_fail (max_height > 0, NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height:: area: %s; generated by: %s; max_height: %f", fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by), max_height); #endif #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height:: area: %s; parent: %s", fo_object_debug_sprintf (area), fo_object_debug_sprintf (fo_area_parent (area))); #endif area_area = (FoAreaArea *) area; /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return NULL; child_0 = fo_area_first_child (area); child_0_height = fo_area_area_get_height (child_0); child_0_minus_y = -fo_area_area_get_y (child_0); if (child_0_minus_y + child_0_height > max_height) { child_0_will_split = fo_area_split_before_height_check (child_0, max_height - child_0_minus_y); child_0_will_fit = FALSE; } child_1 = fo_area_nth_child (area, 1); if (child_1) { child_1_height = fo_area_area_get_height (child_1); child_1_minus_y = -fo_area_area_get_y (child_1); if (child_1_minus_y + child_1_height > max_height) { child_1_will_split = fo_area_split_before_height_check (child_1, max_height - child_1_minus_y); child_1_will_fit = FALSE; } } #if defined(LIBFO_DEBUG) && 0 if (child_0_will_fit) { g_message ("list_item_split_before_height (%p):: child 0 will fit", area); } else { if (child_0_will_split) { g_message ("list_item_split_before_height (%p):: child 0 will split", area); } else { g_message ("list_item_split_before_height (%p):: child 0 will not split", area); } } if (child_1) { if (child_1_will_fit) { g_message ("list_item_split_before_height (%p):: child 1 will fit", area); } else { if (child_1_will_split) { g_message ("list_item_split_before_height (%p):: child 1 will split", area); } else { g_message ("list_item_split_before_height (%p):: child 1 will not split", area); } } } else { g_message ("list_item_split_before_height (%p):: no child 1", area); } #endif if ((child_0_will_split && !(child_1 && !child_1_will_fit && !child_1_will_split)) || (child_1 && child_1_will_split && !(!child_0_will_fit && !child_0_will_split))) { gfloat max_remaining_child_height = 0; gfloat max_split_child_height = 0; #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height (%p):: will split list-item", area); #endif clone = fo_area_clone (area); area->is_last = FALSE; area_area->border_after = 0; clone->is_first = FALSE; ((FoAreaArea *)clone)->border_before = 0; /* Do child_1 first so since may or may not be a split child_0 put before it in the tree */ if (child_1_will_split) { split_child_1 = fo_area_split_before_height (child_1, max_height - child_1_minus_y); fo_area_unlink_with_next_siblings (split_child_1); fo_area_insert_with_next_siblings (clone, 0, split_child_1); max_remaining_child_height = ((FoAreaArea *) child_1)->height; max_split_child_height = ((FoAreaArea *) split_child_1)->height; } if (child_0_will_split) { split_child_0 = fo_area_split_before_height (child_0, max_height - child_0_minus_y); fo_area_unlink_with_next_siblings (split_child_0); fo_area_insert_with_next_siblings (clone, 0, split_child_0); max_remaining_child_height = MAX (max_remaining_child_height, ((FoAreaArea *) child_0)->height); max_split_child_height = MAX (max_split_child_height, ((FoAreaArea *) split_child_0)->height); } /* Do not include area_area->border_after in height since area_area is not last */ area_area->height = max_remaining_child_height + area_area->border_before + area_area->padding_before + area_area->padding_after; /* Do not include clone->border_before in height since clone is not first */ ((FoAreaArea *) clone)->height = max_split_child_height + ((FoAreaArea *) clone)->padding_before + ((FoAreaArea *) clone)->padding_after + ((FoAreaArea *) clone)->border_after; fo_area_set_next_y (clone, max_split_child_height); fo_area_set_available_height (clone, 0); return clone; } else { #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height (%p):: won't split list-item", area); #endif return NULL; } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ gboolean fo_area_list_item_split_after_height_check (FoArea *area, gfloat max_height) { FoArea *child_0 = NULL; gfloat child_0_height = 0; gfloat child_0_minus_y = 0; gboolean child_0_will_split = FALSE; gboolean child_0_will_fit = TRUE; FoArea *child_1 = NULL; gfloat child_1_height = 0; gfloat child_1_minus_y = 0; gboolean child_1_will_split = FALSE; gboolean child_1_will_fit = TRUE; g_return_val_if_fail (FO_IS_AREA_LIST_ITEM (area), FALSE); g_return_val_if_fail (fo_area_n_children (area) > 0, FALSE); g_return_val_if_fail (fo_area_n_children (area) <= 2, FALSE); g_return_val_if_fail (max_height > 0, FALSE); #if defined(LIBFO_DEBUG) && 0 g_message ("list_item_split_before_height_check:: area: %s; generated by: %s; max_height: %f", fo_object_debug_sprintf (area), fo_object_debug_sprintf (area->generated_by), max_height); #endif /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return FALSE; child_0 = fo_area_first_child (area); child_0_height = fo_area_area_get_height (child_0); child_0_minus_y = -fo_area_area_get_y (child_0); if (child_0_minus_y + child_0_height > max_height) { child_0_will_split = fo_area_split_before_height_check (child_0, max_height - child_0_minus_y); child_0_will_fit = FALSE; } child_1 = fo_area_nth_child (area, 1); if (child_1) { child_1_height = fo_area_area_get_height (child_1); child_1_minus_y = -fo_area_area_get_y (child_1); if (child_1_minus_y + child_1_height > max_height) { child_1_will_split = fo_area_split_before_height_check (child_1, max_height - child_1_minus_y); child_1_will_fit = FALSE; } } if ((child_0_will_split && !(child_1 && !child_1_will_fit && !child_1_will_split)) || (child_1 && child_1_will_split && !(!child_0_will_fit && !child_0_will_split))) { return TRUE; } else { return FALSE; } } xmlroff-0.6.2/libfo/area/fo-area-list-item.h0000644000175000017500000000241410643167443015521 00000000000000/* Fo * fo-area-list-item.h: Area object for 'list-item' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_LIST_ITEM_H__ #define __FO_AREA_LIST_ITEM_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaListItem FoAreaListItem; typedef struct _FoAreaListItemClass FoAreaListItemClass; #define FO_TYPE_AREA_LIST_ITEM (fo_area_list_item_get_type ()) #define FO_AREA_LIST_ITEM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_LIST_ITEM, FoAreaListItem)) #define FO_AREA_LIST_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_LIST_ITEM, FoAreaListItemClass)) #define FO_IS_AREA_LIST_ITEM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_LIST_ITEM)) #define FO_IS_AREA_LIST_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_LIST_ITEM)) #define FO_AREA_LIST_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_LIST_ITEM, FoAreaListItemClass)) GType fo_area_list_item_get_type (void) G_GNUC_CONST; FoArea *fo_area_list_item_new (void); G_END_DECLS #endif /* !__FO_AREA_LIST_ITEM_H__ */ xmlroff-0.6.2/libfo/area/fo-area-normal.c0000644000175000017500000002242410643167443015100 00000000000000/* Fo * fo-area-normal.c: Normal block-area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-area.h" #include "fo-area-area-private.h" #include "fo-area-normal.h" struct _FoAreaNormal { FoAreaArea parent_instance; }; struct _FoAreaNormalClass { FoAreaAreaClass parent_class; }; static void fo_area_normal_class_init (FoAreaNormalClass *klass); static void fo_area_normal_finalize (GObject *object); static void fo_area_normal_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_normal_size_request (FoArea *child); static gpointer parent_class; GType fo_area_normal_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaNormalClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_normal_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaNormal), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_AREA, "FoAreaNormal", &object_info, 0); } return object_type; } static void fo_area_normal_class_init (FoAreaNormalClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_normal_finalize; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_normal_debug_dump_properties; FO_AREA_CLASS (klass)->size_request = fo_area_normal_size_request; } static void fo_area_normal_finalize (GObject *object) { FoAreaNormal *fo_area_normal; fo_area_normal = FO_AREA_NORMAL (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_normal_new: * * Creates a new #FoAreaNormal initialized to default value. * * Return value: the new #FoAreaNormal **/ FoArea* fo_area_normal_new (void) { return FO_AREA (g_object_new (fo_area_normal_get_type (), NULL)); } void fo_area_normal_debug_dump_properties (FoArea *area, gint depth) { FoAreaNormal *normal; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_NORMAL (area)); normal = FO_AREA_NORMAL (area); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } FoArea* fo_area_normal_add_child (FoArea *parent, FoArea *child) { g_return_val_if_fail (parent != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_NORMAL (parent), NULL); g_return_val_if_fail (child != NULL, NULL); return fo_area_real_add_child (parent, child); } /** * fo_area_normal_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_normal_size_request (FoArea *child) { FoArea *use_child_area; FoArea *parent; gfloat total_child_height = 0; gfloat normal_child_available_bpdim; gfloat child_height; gfloat child_space_before, child_space_after; g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (FO_IS_AREA_AREA (fo_area_parent (child)), NULL); child_height = fo_area_area_get_height (child); child_space_before = fo_area_area_get_space_before (child); child_space_after = fo_area_area_get_space_after (child); parent = fo_area_parent (child); normal_child_available_bpdim = fo_area_get_child_available_bpdim (parent); #if defined(LIBFO_DEBUG) && 0 g_message ("normal_size_request (%p):: parent: %s; generated by: %s; available_height: %f", child, fo_object_debug_sprintf (parent), fo_object_debug_sprintf (parent->generated_by), normal_child_available_bpdim); g_message ("normal_size_request (%p):: child: %s; generated by: %s; height: %f; space_before: %f; space_after: %f", child, fo_object_debug_sprintf (child), fo_object_debug_sprintf (child->generated_by), child_height, child_space_before, child_space_after); #endif fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); #if defined(LIBFO_DEBUG) && 0 g_message ("normal_size_request (%p):: child total: %f", child, total_child_height); #endif fo_area_area_set_height (parent, total_child_height + fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent) + fo_area_area_get_padding_after (parent) + fo_area_area_get_border_after (parent)); /* Don't bother doing a size_request if still fit within available height */ if (normal_child_available_bpdim < fo_area_area_get_height (parent)) { parent = fo_area_size_request (parent); normal_child_available_bpdim = MAX (fo_area_get_available_height (parent) - fo_area_area_get_border_before (parent) - fo_area_area_get_padding_before (parent) - fo_area_area_get_padding_after (parent) - fo_area_area_get_border_after (parent), 0); fo_area_set_child_available_bpdim (parent, normal_child_available_bpdim); #if defined(LIBFO_DEBUG) && 0 g_message ("normal_size_request (%p):: new parent: %s; generated by: %s; available_height: %f", child, fo_object_debug_sprintf (parent), fo_object_debug_sprintf (parent->generated_by), normal_child_available_bpdim); #endif } total_child_height = 0; fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); #if defined(LIBFO_DEBUG) && 0 g_message ("normal_size_request (%p):: new child total: %f", child, total_child_height); #endif fo_area_set_next_x (parent, fo_area_area_get_border_start (parent) + fo_area_area_get_padding_start (parent)); fo_area_set_next_y (parent, - (fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent))); if (total_child_height <= normal_child_available_bpdim) { use_child_area = fo_area_first_child (parent); while (use_child_area) { fo_area_area_set_x (use_child_area, fo_area_get_next_x (parent) + fo_area_area_get_start_indent (use_child_area) - fo_area_area_get_x (parent)); fo_area_area_set_y (use_child_area, fo_area_get_next_y (parent)); fo_area_set_next_x (parent, 0); fo_area_set_next_y (parent, fo_area_get_next_y (parent) - fo_area_area_get_height (use_child_area)); fo_area_set_available_height (child, fo_area_area_get_height (use_child_area)); fo_area_set_available_width (child, fo_area_get_child_available_ipdim (parent)); use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 0 g_message ("normal_size_request (%p):: return:: parent->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (parent)), fo_object_debug_sprintf (fo_area_last_child (parent->generated_by))); #endif return fo_area_last_child (parent); } else { use_child_area = fo_area_first_child (parent); while (use_child_area) { if (normal_child_available_bpdim >= fo_area_area_get_height (use_child_area)) { fo_area_area_set_x (use_child_area, fo_area_get_next_x (parent) + fo_area_area_get_start_indent (use_child_area)); fo_area_area_set_y (use_child_area, fo_area_get_next_y (parent)); fo_area_set_next_x (parent, 0); fo_area_set_next_y (parent, fo_area_get_next_y (parent) - fo_area_area_get_height (use_child_area)); fo_area_set_available_height (child, fo_area_area_get_height (use_child_area)); fo_area_set_available_width (child, fo_area_get_child_available_ipdim (parent)); use_child_area = fo_area_next_sibling (use_child_area); } else { #if defined(LIBFO_DEBUG) && 1 g_message ("normal_size_request:: splitting:: child: %s; generated by: %s", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (use_child_area->generated_by)); #endif use_child_area = fo_area_split_before_height (use_child_area, normal_child_available_bpdim - fo_area_area_get_height (parent)); parent = fo_area_parent (use_child_area); normal_child_available_bpdim = fo_area_get_child_available_bpdim (parent); } } #if defined(LIBFO_DEBUG) && 0 g_message ("normal_size_request (%p):: total > available:: return:: parent->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (parent)), fo_object_debug_sprintf (fo_area_last_child (parent->generated_by))); #endif return fo_area_last_child (parent); } } xmlroff-0.6.2/libfo/area/fo-area-normal.h0000644000175000017500000000227010643167443015102 00000000000000/* Fo * fo-area-normal.h: Normal block-area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_NORMAL_H__ #define __FO_AREA_NORMAL_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaNormal FoAreaNormal; typedef struct _FoAreaNormalClass FoAreaNormalClass; #define FO_TYPE_AREA_NORMAL (fo_area_normal_get_type ()) #define FO_AREA_NORMAL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_NORMAL, FoAreaNormal)) #define FO_AREA_NORMAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_NORMAL, FoAreaNormalClass)) #define FO_IS_AREA_NORMAL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_NORMAL)) #define FO_IS_AREA_NORMAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_NORMAL)) #define FO_AREA_NORMAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_NORMAL, FoAreaNormalClass)) GType fo_area_normal_get_type (void) G_GNUC_CONST; FoArea *fo_area_normal_new (void); G_END_DECLS #endif /* !__FO_AREA_NORMAL_H__ */ xmlroff-0.6.2/libfo/area/fo-area-page.c0000644000175000017500000006254111155250373014522 00000000000000/* Fo * fo-area-page.c: Page area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-viewport-reference-private.h" #include "fo-area-page.h" #include "fo/fo-page-sequence-area.h" const char *fo_area_page_error_messages[] = { N_("Failed"), N_("Warning"), N_("Child area overflows parent area") }; enum { PROP_0, PROP_PAGE_NUMBER, PROP_PAGE_WIDTH, PROP_PAGE_HEIGHT, PROP_MARGIN_TOP, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT }; struct _FoAreaPage { FoAreaViewportReference parent_instance; gint page_number; /* Temporary properties */ /* All of these should be obtainable by referencing page master */ gfloat page_height; gfloat page_width; gfloat margin_top; gfloat margin_bottom; gfloat margin_left; gfloat margin_right; }; struct _FoAreaPageClass { FoAreaViewportReferenceClass parent_class; }; static void fo_area_page_class_init (FoAreaPageClass *klass); static void fo_area_page_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_area_page_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_area_page_finalize (GObject *object); static void fo_area_page_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_page_clone (FoArea *original); static FoArea* fo_area_page_add_child (FoArea *parent, FoArea *child); static FoArea* fo_area_page_size_request (FoArea *child); static gpointer parent_class; /** * fo_area_page_get_type: * @void: * * Register the FoAreaPage object type. * * Return value: GType value of the FoAreaPage object type. **/ GType fo_area_page_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaPageClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_page_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaPage), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_VIEWPORT_REFERENCE, "FoAreaPage", &object_info, 0); } return object_type; } /** * fo_area_page_class_init: * @klass: FoAreaPageClass object to initialise * * Implements GClassInitFunc for FoAreaPageClass **/ void fo_area_page_class_init (FoAreaPageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_page_finalize; object_class->set_property = fo_area_page_set_property; object_class->get_property = fo_area_page_get_property; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_page_debug_dump_properties; FO_AREA_CLASS (klass)->add_child = fo_area_page_add_child; FO_AREA_CLASS (klass)->size_request = fo_area_page_size_request; FO_AREA_CLASS (klass)->clone = fo_area_page_clone; g_object_class_install_property (object_class, PROP_PAGE_NUMBER, g_param_spec_int ("page-number", _("Page number"), _("Page number property"), 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_PAGE_WIDTH, g_param_spec_float ("page-width", _("Page width"), _("Page width property"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_PAGE_HEIGHT, g_param_spec_float ("page-height", _("Page height"), _("Page height property"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_float ("margin-top", _("Margin top"), _("Margin top property"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_float ("margin-bottom", _("Margin bottom"), _("Margin bottom property"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_float ("margin-left", _("Margin left"), _("Margin left property"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_float ("margin-right", _("Margin right"), _("Margin right property"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE)); } /** * fo_area_page_finalize: * @object: FoAreaPage object to finalize * * Implements GObjectFinalizeFunc for FoAreaPage **/ void fo_area_page_finalize (GObject *object) { FoAreaPage *fo_area_page; fo_area_page = FO_AREA_PAGE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_page_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoAreaPage **/ void fo_area_page_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoArea *fo_area; fo_area = FO_AREA (object); switch (prop_id) { case PROP_PAGE_NUMBER: fo_area_page_set_page_number (fo_area, g_value_get_int (value)); break; case PROP_PAGE_WIDTH: fo_area_page_set_page_width (fo_area, g_value_get_float (value)); break; case PROP_PAGE_HEIGHT: fo_area_page_set_page_height (fo_area, g_value_get_float (value)); break; case PROP_MARGIN_TOP: fo_area_page_set_margin_top (fo_area, g_value_get_float (value)); break; case PROP_MARGIN_BOTTOM: fo_area_page_set_margin_bottom (fo_area, g_value_get_float (value)); break; case PROP_MARGIN_LEFT: fo_area_page_set_margin_left (fo_area, g_value_get_float (value)); break; case PROP_MARGIN_RIGHT: fo_area_page_set_margin_right (fo_area, g_value_get_float (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_area_page_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoAreaPage **/ void fo_area_page_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoArea *fo_area; fo_area = FO_AREA (object); switch (prop_id) { case PROP_PAGE_NUMBER: g_value_set_int (value, fo_area_page_get_page_number (fo_area)); break; case PROP_PAGE_WIDTH: g_value_set_float (value, fo_area_page_get_page_width (fo_area)); break; case PROP_PAGE_HEIGHT: g_value_set_float (value, fo_area_page_get_page_height (fo_area)); break; case PROP_MARGIN_TOP: g_value_set_float (value, fo_area_page_get_margin_top (fo_area)); break; case PROP_MARGIN_BOTTOM: g_value_set_float (value, fo_area_page_get_margin_bottom (fo_area)); break; case PROP_MARGIN_LEFT: g_value_set_float (value, fo_area_page_get_margin_left (fo_area)); break; case PROP_MARGIN_RIGHT: g_value_set_float (value, fo_area_page_get_margin_right (fo_area)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_area_page_new: * * Creates a new #FoAreaPage initialized to default value. * * Return value: the new #FoAreaPage **/ FoArea* fo_area_page_new (void) { return FO_AREA (g_object_new (fo_area_page_get_type (), NULL)); } /** * fo_area_page_set_page_number: * @fo_area_page: The @FoAreaPage object * @new_page_number: The new "page-number" property value * * Sets the #page_number property of @area_page to @new_page_number **/ void fo_area_page_set_page_number (FoArea *fo_area_page, gint new_page_number) { g_return_if_fail (fo_area_page != NULL); g_return_if_fail (FO_IS_AREA_PAGE (fo_area_page)); FO_AREA_PAGE (fo_area_page)->page_number = new_page_number; /*g_object_notify (G_OBJECT (fo_area_page), "page-number");*/ } /** * fo_area_page_get_page_number: * @fo_area_page: The @FoAreaPage object * * Gets the #page_number property of @area_page * * Return value: The "page-number" property value **/ gint fo_area_page_get_page_number (FoArea *fo_area_page) { g_return_val_if_fail (fo_area_page != NULL, 0); g_return_val_if_fail (FO_IS_AREA_PAGE (fo_area_page), 0); return FO_AREA_PAGE (fo_area_page)->page_number; } /** * fo_area_page_set_page_width: * @fo_area_page: The @FoAreaPage object * @new_page_width: The new "page-width" property value * * Sets the #page_width property of @area_page to @new_page_width **/ void fo_area_page_set_page_width (FoArea *fo_area_page, gfloat new_page_width) { g_return_if_fail (fo_area_page != NULL); g_return_if_fail (FO_IS_AREA_PAGE (fo_area_page)); FO_AREA_PAGE (fo_area_page)->page_width = new_page_width; fo_area_set_available_width (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_width - FO_AREA_PAGE (fo_area_page)->margin_left - FO_AREA_PAGE (fo_area_page)->margin_right, 0)); fo_area_set_child_available_ipdim (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_width - FO_AREA_PAGE (fo_area_page)->margin_left - FO_AREA_PAGE (fo_area_page)->margin_right, 0)); /*g_object_notify (G_OBJECT (fo_area_page), "page-width");*/ } /** * fo_area_page_get_page_width: * @fo_area_page: The @FoAreaPage object * * Gets the #page_width property of @area_page * * Return value: The "page-width" property value **/ gfloat fo_area_page_get_page_width (FoArea *fo_area_page) { g_return_val_if_fail (fo_area_page != NULL, 0); g_return_val_if_fail (FO_IS_AREA_PAGE (fo_area_page), 0); return FO_AREA_PAGE (fo_area_page)->page_width; } /** * fo_area_page_set_page_height: * @fo_area_page: The @FoAreaPage object * @new_page_height: The new "page-height" property value * * Sets the "page_height" property of @area_page to @new_page_height **/ void fo_area_page_set_page_height (FoArea *fo_area_page, gfloat new_page_height) { g_return_if_fail (fo_area_page != NULL); g_return_if_fail (FO_IS_AREA_PAGE (fo_area_page)); FO_AREA_PAGE (fo_area_page)->page_height = new_page_height; fo_area_set_available_height (fo_area_page, MAX (new_page_height - FO_AREA_PAGE (fo_area_page)->margin_top - FO_AREA_PAGE (fo_area_page)->margin_bottom, 0)); fo_area_set_child_available_bpdim (fo_area_page, MAX (new_page_height - FO_AREA_PAGE (fo_area_page)->margin_top - FO_AREA_PAGE (fo_area_page)->margin_bottom, 0)); /*g_object_notify (G_OBJECT (fo_area_page), "page-height");*/ } /** * fo_area_page_get_page_height: * @fo_area_page: The @FoAreaPage object * * Gets the #page_height property of @area_page * * Return value: The "page-height" property value **/ gfloat fo_area_page_get_page_height (FoArea *fo_area_page) { g_return_val_if_fail (fo_area_page != NULL, 0); g_return_val_if_fail (FO_IS_AREA_PAGE (fo_area_page), 0); return FO_AREA_PAGE (fo_area_page)->page_height; } /** * fo_area_page_set_margin_top: * @fo_area_page: The @FoAreaPage object * @new_margin_top: The new "margin-top" property value * * Sets the #margin_top property of @area_page to @new_margin_top **/ void fo_area_page_set_margin_top (FoArea *fo_area_page, gfloat new_margin_top) { g_return_if_fail (fo_area_page != NULL); g_return_if_fail (FO_IS_AREA_PAGE (fo_area_page)); FO_AREA_PAGE (fo_area_page)->margin_top = new_margin_top; fo_area_set_available_height (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_height - FO_AREA_PAGE (fo_area_page)->margin_top - FO_AREA_PAGE (fo_area_page)->margin_bottom, 0)); fo_area_set_child_available_bpdim (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_height - FO_AREA_PAGE (fo_area_page)->margin_top - FO_AREA_PAGE (fo_area_page)->margin_bottom, 0)); /*g_object_notify (G_OBJECT (fo_area_page), "margin-top");*/ } /** * fo_area_page_get_margin_top: * @fo_area_page: The @FoAreaPage object * * Gets the #margin_top property of @area_page * * Return value: The "margin-top" property value **/ gfloat fo_area_page_get_margin_top (FoArea *fo_area_page) { g_return_val_if_fail (fo_area_page != NULL, 0); g_return_val_if_fail (FO_IS_AREA_PAGE (fo_area_page), 0); return FO_AREA_PAGE (fo_area_page)->margin_top; } /** * fo_area_page_set_margin_bottom: * @fo_area_page: The @FoAreaPage object * @new_margin_bottom: The new "margin-bottom" property value * * Sets the #margin_bottom property of @area_page to @new_margin_bottom **/ void fo_area_page_set_margin_bottom (FoArea *fo_area_page, gfloat new_margin_bottom) { g_return_if_fail (fo_area_page != NULL); g_return_if_fail (FO_IS_AREA_PAGE (fo_area_page)); FO_AREA_PAGE (fo_area_page)->margin_bottom = new_margin_bottom; fo_area_set_available_height (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_height - FO_AREA_PAGE (fo_area_page)->margin_top - FO_AREA_PAGE (fo_area_page)->margin_bottom, 0)); fo_area_set_child_available_bpdim (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_height - FO_AREA_PAGE (fo_area_page)->margin_top - FO_AREA_PAGE (fo_area_page)->margin_bottom, 0)); /*g_object_notify (G_OBJECT (fo_area_page), "margin-bottom");*/ } /** * fo_area_page_get_margin_bottom: * @fo_area_page: The @FoAreaPage object * * Gets the #margin_bottom property of @area_page * * Return value: The "margin-bottom" property value **/ gfloat fo_area_page_get_margin_bottom (FoArea *fo_area_page) { g_return_val_if_fail (fo_area_page != NULL, 0); g_return_val_if_fail (FO_IS_AREA_PAGE (fo_area_page), 0); return FO_AREA_PAGE (fo_area_page)->margin_bottom; } /** * fo_area_page_set_margin_left: * @fo_area_page: The @FoAreaPage object * @new_margin_left: The new "margin-left" property value * * Sets the #margin_left property of @area_page to @new_margin_left **/ void fo_area_page_set_margin_left (FoArea *fo_area_page, gfloat new_margin_left) { g_return_if_fail (fo_area_page != NULL); g_return_if_fail (FO_IS_AREA_PAGE (fo_area_page)); FO_AREA_PAGE (fo_area_page)->margin_left = new_margin_left; fo_area_set_available_width (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_width - FO_AREA_PAGE (fo_area_page)->margin_left - FO_AREA_PAGE (fo_area_page)->margin_right, 0)); fo_area_set_child_available_ipdim (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_width - FO_AREA_PAGE (fo_area_page)->margin_left - FO_AREA_PAGE (fo_area_page)->margin_right, 0)); /*g_object_notify (G_OBJECT (fo_area_page), "margin-left");*/ } /** * fo_area_page_get_margin_left: * @fo_area_page: The @FoAreaPage object * * Gets the #margin_left property of @area_page * * Return value: The "margin-left" property value **/ gfloat fo_area_page_get_margin_left (FoArea *fo_area_page) { g_return_val_if_fail (fo_area_page != NULL, 0); g_return_val_if_fail (FO_IS_AREA_PAGE (fo_area_page), 0); return FO_AREA_PAGE (fo_area_page)->margin_left; } /** * fo_area_page_set_margin_right: * @fo_area_page: The @FoAreaPage object * @new_margin_right: The new "margin-right" property value * * Sets the #margin_right property of @area_page to @new_margin_right **/ void fo_area_page_set_margin_right (FoArea *fo_area_page, gfloat new_margin_right) { g_return_if_fail (fo_area_page != NULL); g_return_if_fail (FO_IS_AREA_PAGE (fo_area_page)); FO_AREA_PAGE (fo_area_page)->margin_right = new_margin_right; fo_area_set_available_width (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_width - FO_AREA_PAGE (fo_area_page)->margin_left - FO_AREA_PAGE (fo_area_page)->margin_right, 0)); fo_area_set_child_available_ipdim (fo_area_page, MAX (FO_AREA_PAGE (fo_area_page)->page_width - FO_AREA_PAGE (fo_area_page)->margin_left - FO_AREA_PAGE (fo_area_page)->margin_right, 0)); /*g_object_notify (G_OBJECT (fo_area_page), "margin-right");*/ } /** * fo_area_page_get_margin_right: * @fo_area_page: The @FoAreaPage object * * Gets the #margin_right property of @area_page * * Return value: The "margin-right" property value **/ gfloat fo_area_page_get_margin_right (FoArea *fo_area_page) { g_return_val_if_fail (fo_area_page != NULL, 0); g_return_val_if_fail (FO_IS_AREA_PAGE (fo_area_page), 0); return FO_AREA_PAGE (fo_area_page)->margin_right; } void fo_area_page_debug_dump_properties (FoArea *area, gint depth) { FoAreaPage *page; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_PAGE (area)); page = FO_AREA_PAGE (area); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spage-number: %d", indent, page->page_number); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spage-width: %g pt", indent, page->page_width); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spage-height: %g pt", indent, page->page_height); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%smargin-top: %g pt", indent, page->margin_top); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%smargin-bottom: %g pt", indent, page->margin_bottom); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%smargin-left: %g pt", indent, page->margin_left); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%smargin-right: %g pt", indent, page->margin_right); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } static FoArea* fo_area_page_clone (FoArea *original) { FoArea *clone; g_return_val_if_fail (original != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_PAGE (original), NULL); FoFoAreaNew2Context context; context.fo_doc = NULL; context.parent_area = original; context.new_area = &clone; fo_page_sequence_area_new (original->generated_by, &context, 0); #if defined(LIBFO_DEBUG) && 0 fo_object_debug_dump (clone, 0); #endif return clone; } FoArea* fo_area_page_add_child (FoArea *parent, FoArea *child) { g_return_val_if_fail (parent != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_PAGE (parent), NULL); g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_VIEWPORT_REFERENCE (child), NULL); return fo_area_real_add_child (parent, child); } static FoArea* fo_area_page_first_leaf (FoArea *area) { FoArea *use_area; g_return_val_if_fail (area != NULL, area); g_return_val_if_fail (FO_IS_AREA (area), area); use_area = area; while (!FO_AREA_IS_LEAF (use_area)) { use_area = fo_area_first_child (use_area); } return use_area; } static FoArea* fo_area_page_last_leaf (FoArea *area) { FoArea *use_area; g_return_val_if_fail (area != NULL, area); g_return_val_if_fail (FO_IS_AREA (area), area); use_area = area; while (!FO_AREA_IS_LEAF (use_area)) { use_area = fo_area_last_child (use_area); } return use_area; } static gboolean fo_area_page_vr_adjust (FoArea *area, gpointer data G_GNUC_UNUSED) { FoArea *parent = fo_area_parent (area); if (FO_IS_AREA_VIEWPORT_REFERENCE (area)) { area->reference = area; } else { area->reference = parent->reference; } if (FO_IS_AREA_PAGE (area)) { area->page = area; } else { area->page = parent->page; } return FALSE; } static FoArea * move_to_new_page (FoArea *page, FoArea *child) { FoArea *clone = fo_area_clone (page); FoArea *use_child_area; fo_area_unlink_with_next_siblings (child); fo_area_insert_with_next_siblings (clone, 0, child); use_child_area = child; while (use_child_area) { fo_area_traverse (use_child_area, G_PRE_ORDER, G_TRAVERSE_ALL, -1, fo_area_page_vr_adjust, NULL); use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 0 g_message ("move_to_new_page (%p):: page last leaf: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_page_last_leaf (page)), fo_object_debug_sprintf (fo_area_page_last_leaf (page)->generated_by)); #endif fo_area_size_request (fo_area_page_last_leaf (page)); return clone; } FoArea* fo_area_page_size_request (FoArea *child) { g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_VIEWPORT_REFERENCE (child), NULL); g_return_val_if_fail (FO_IS_AREA_PAGE (fo_area_parent (child)), NULL); FoArea *page = fo_area_parent (child); g_return_val_if_fail (page != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_PAGE (page), NULL); gfloat child_height = fo_area_area_get_height (child); gfloat page_child_available_bpdim = fo_area_get_child_available_bpdim (page); gfloat total_child_height = 0; fo_area_children_foreach (page, G_TRAVERSE_ALL, &fo_area_accumulate_height, (gpointer) &total_child_height); #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "page_size_request (%p):: child: %f; total %f; available: %f", child, child_height, total_child_height, page_child_available_bpdim); #endif if (child_height <= page_child_available_bpdim) { fo_area_set_available_height (child, page_child_available_bpdim); fo_area_area_set_x (child, fo_area_page_get_margin_left (page)); fo_area_area_set_y (child, fo_area_page_get_page_height (page) - fo_area_page_get_margin_top (page)); fo_area_set_available_width (child, fo_area_get_child_available_ipdim (page)); fo_area_area_set_width (child, fo_area_get_child_available_ipdim (page)); return child; } else { /* * The child may be big enough to be split over multiple pages. * Keep splitting onto new pages while the child remains too big * and can be split. */ while ((child_height > page_child_available_bpdim) && fo_area_split_before_height_check (child, page_child_available_bpdim)) { FoArea *split_child; split_child = fo_area_split_before_height (child, page_child_available_bpdim); #if defined(LIBFO_DEBUG) && 1 g_message ("page_size_request (%p):: child split:: child: %s; generated by: %s; split child: %s; generated by: %s; area %s; generated by: %s", child, fo_object_debug_sprintf (child), fo_object_debug_sprintf (child->generated_by), fo_object_debug_sprintf (split_child), split_child? fo_object_debug_sprintf (split_child->generated_by) : "(null)", fo_object_debug_sprintf (page), fo_object_debug_sprintf (page->generated_by)); #endif page = move_to_new_page (page, split_child); child = split_child; child_height = fo_area_area_get_height (child); page_child_available_bpdim = fo_area_get_child_available_bpdim (page); } #if defined(LIBFO_DEBUG) && 0 g_message ("page_size_request (%p):: new page first leaf: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_page_first_leaf (page)), fo_object_debug_sprintf (fo_area_page_first_leaf (page->generated_by))); #endif /* child may still be too big for the current page. */ if (child_height > page_child_available_bpdim) { GError *error = g_error_new (FO_AREA_PAGE_ERROR, FO_AREA_PAGE_ERROR_OVERFLOW, fo_area_page_error_messages[FO_AREA_PAGE_ERROR_OVERFLOW]); fo_object_log_warning (FO_OBJECT (child), &error); if (fo_area_child_position (page, child) != 0) { page = move_to_new_page (page, child); } fo_area_area_set_x (child, fo_area_page_get_margin_left (page)); fo_area_area_set_y (child, fo_area_page_get_page_height (page) - fo_area_page_get_margin_top (page)); fo_area_set_available_width (child, fo_area_get_child_available_ipdim (page)); fo_area_area_set_width (child, fo_area_get_child_available_ipdim (page)); fo_area_set_available_height (child, page_child_available_bpdim); } else { fo_area_size_request (fo_area_page_first_leaf (page)); } return child; } } /** * fo_area_page_error_quark: * * Gets the #GQuark identifying #FoAreaPage errors. * * Return value: #GQuark identifying #FoAreaPage errors. **/ GQuark fo_area_page_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("fo-area-page-error"); return quark; } xmlroff-0.6.2/libfo/area/fo-area-page.h0000644000175000017500000000472310643167443014533 00000000000000/* Fo * fo-area-page.h: Page area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_PAGE_H__ #define __FO_AREA_PAGE_H__ #include G_BEGIN_DECLS #define FO_AREA_PAGE_ERROR (fo_area_page_error_quark ()) GQuark fo_area_page_error_quark (void) G_GNUC_CONST; typedef enum { FO_AREA_PAGE_ERROR_FAILED, /* Generic error code */ FO_AREA_PAGE_ERROR_WARNING, /* Non-fatal error */ FO_AREA_PAGE_ERROR_OVERFLOW /* An area is too large for the region */ } FoAreaPageError; typedef struct _FoAreaPage FoAreaPage; typedef struct _FoAreaPageClass FoAreaPageClass; #define FO_TYPE_AREA_PAGE (fo_area_page_get_type ()) #define FO_AREA_PAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_PAGE, FoAreaPage)) #define FO_AREA_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_PAGE, FoAreaPageClass)) #define FO_IS_AREA_PAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_PAGE)) #define FO_IS_AREA_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_PAGE)) #define FO_AREA_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_PAGE, FoAreaPageClass)) GType fo_area_page_get_type (void) G_GNUC_CONST; FoArea *fo_area_page_new (void); void fo_area_page_set_page_number (FoArea *fo_area_page, gint new_page_number); gint fo_area_page_get_page_number (FoArea *fo_area_page); void fo_area_page_set_page_width (FoArea *fo_area_page, gfloat new_page_width); gfloat fo_area_page_get_page_width (FoArea *fo_area_page); void fo_area_page_set_page_height (FoArea *fo_area_page, gfloat new_page_height); gfloat fo_area_page_get_page_height (FoArea *fo_area_page); void fo_area_page_set_margin_top (FoArea *fo_area_page, gfloat new_margin_top); gfloat fo_area_page_get_margin_top (FoArea *fo_area_page); void fo_area_page_set_margin_bottom (FoArea *fo_area_page, gfloat new_margin_bottom); gfloat fo_area_page_get_margin_bottom (FoArea *fo_area_page); void fo_area_page_set_margin_left (FoArea *fo_area_page, gfloat new_margin_left); gfloat fo_area_page_get_margin_left (FoArea *fo_area_page); void fo_area_page_set_margin_right (FoArea *fo_area_page, gfloat new_margin_right); gfloat fo_area_page_get_margin_right (FoArea *fo_area_page); G_END_DECLS #endif /* !__FO_AREA_PAGE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-reference.c0000644000175000017500000002336111062202053015526 00000000000000/* Fo * fo-area-reference.c: reference-area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-area.h" #include "fo-area-area-private.h" #include "fo-area-reference.h" #include "fo-area-reference-private.h" enum { PROP_0, PROP_BPD, PROP_IPD, PROP_SD }; static void fo_area_reference_class_init (FoAreaReferenceClass *klass); static void fo_area_reference_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_area_reference_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_area_reference_finalize (GObject *object); static void fo_area_reference_debug_dump_properties (FoArea *area, gint depth); static void fo_area_reference_update_after_clone (FoArea *clone, FoArea *original); static gpointer parent_class; GType fo_area_reference_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaReferenceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_reference_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaReference), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_AREA, "FoAreaReference", &object_info, 0); } return object_type; } static void fo_area_reference_class_init (FoAreaReferenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_reference_finalize; object_class->set_property = fo_area_reference_set_property; object_class->get_property = fo_area_reference_get_property; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_reference_debug_dump_properties; FO_AREA_CLASS (klass)->update_after_clone = fo_area_reference_update_after_clone; g_object_class_install_property (object_class, PROP_BPD, g_param_spec_uint ("bpd", _("Block progression direction"), _("Block progression direction of the reference area"), 0, G_MAXUINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_IPD, g_param_spec_uint ("ipd", _("Inline progression direction"), _("Inline progression direction of the reference area"), 0, G_MAXUINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_SD, g_param_spec_uint ("sd", _("Shift direction"), _("Shift direction of the reference area"), 0, G_MAXUINT, 0, G_PARAM_READWRITE)); } static void fo_area_reference_finalize (GObject *object) { FoAreaReference *fo_area_reference; fo_area_reference = FO_AREA_REFERENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } static void fo_area_reference_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoArea *fo_area_reference; fo_area_reference = FO_AREA (object); switch (prop_id) { case PROP_BPD: fo_area_reference_set_bpd (fo_area_reference, g_value_get_uint (value)); break; case PROP_IPD: fo_area_reference_set_ipd (fo_area_reference, g_value_get_uint (value)); break; case PROP_SD: fo_area_reference_set_sd (fo_area_reference, g_value_get_uint (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void fo_area_reference_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoArea *fo_area_reference; fo_area_reference = FO_AREA (object); switch (prop_id) { case PROP_BPD: g_value_set_uint (value, fo_area_reference_get_bpd (fo_area_reference)); case PROP_IPD: g_value_set_uint (value, fo_area_reference_get_ipd (fo_area_reference)); case PROP_SD: g_value_set_uint (value, fo_area_reference_get_sd (fo_area_reference)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_area_reference_new: * * Creates a new #FoAreaReference initialized to default value. * * Return value: the new #FoAreaReference **/ FoArea* fo_area_reference_new (void) { return FO_AREA (g_object_new (fo_area_reference_get_type (), NULL)); } static gchar * _direction_to_string (FoEnumAreaDirection direction) { gchar *string = NULL; switch (direction) { case FO_ENUM_AREA_DIRECTION_UNKNOWN: string = "unknown"; break; case FO_ENUM_AREA_DIRECTION_LR: string = "left-to-right"; break; case FO_ENUM_AREA_DIRECTION_RL: string = "right-to-left"; break; case FO_ENUM_AREA_DIRECTION_TB: string = "top-to-bottom"; break; case FO_ENUM_AREA_DIRECTION_BT: string = "bottom-to-top"; break; } return string; } void fo_area_reference_debug_dump_properties (FoArea *area, gint depth) { FoAreaReference *reference; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_REFERENCE (area)); reference = FO_AREA_REFERENCE (area); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sbpd: %s", indent, _direction_to_string (reference->bpd)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sipd: %s", indent, _direction_to_string (reference->ipd)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%ssd: %s", indent, _direction_to_string (reference->sd)); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } /** * fo_area_reference_set_bpd: * @fo_area: The #FoAreaReference object * @new_bpd: The new "bpd" property value * * Sets the "bpd" property of @fo_area to @new_bpd **/ void fo_area_reference_set_bpd (FoArea *fo_area, FoEnumAreaDirection new_bpd) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA_REFERENCE (fo_area)); FO_AREA_REFERENCE (fo_area)->bpd = new_bpd; /*g_object_notify (G_OBJECT (fo_area), "bpd");*/ } /** * fo_area_reference_get_bpd: * @fo_area: The #FoAreaReference object * * Gets the "bpd" property of @fo_area * * Return value: The "bpd" property value **/ FoEnumAreaDirection fo_area_reference_get_bpd (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_REFERENCE (fo_area), 0); return FO_AREA_REFERENCE (fo_area)->bpd; } /** * fo_area_reference_set_ipd: * @fo_area: The #FoAreaReference object * @new_ipd: The new "ipd" property value * * Sets the "ipd" property of @fo_area to @new_ipd **/ void fo_area_reference_set_ipd (FoArea *fo_area, FoEnumAreaDirection new_ipd) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA_REFERENCE (fo_area)); FO_AREA_REFERENCE (fo_area)->ipd = new_ipd; /*g_object_notify (G_OBJECT (fo_area), "ipd");*/ } /** * fo_area_reference_get_ipd: * @fo_area: The #FoAreaReference object * * Gets the "ipd" property of @fo_area * * Return value: The "ipd" property value **/ FoEnumAreaDirection fo_area_reference_get_ipd (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_REFERENCE (fo_area), 0); return FO_AREA_REFERENCE (fo_area)->ipd; } /** * fo_area_reference_set_sd: * @fo_area: The #FoAreaReference object * @new_sd: The new "sd" property value * * Sets the "sd" property of @fo_area to @new_sd **/ void fo_area_reference_set_sd (FoArea *fo_area, FoEnumAreaDirection new_sd) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA_REFERENCE (fo_area)); FO_AREA_REFERENCE (fo_area)->sd = new_sd; /*g_object_notify (G_OBJECT (fo_area), "sd");*/ } /** * fo_area_reference_get_sd: * @fo_area: The #FoAreaReference object * * Gets the "sd" property of @fo_area * * Return value: The "sd" property value **/ FoEnumAreaDirection fo_area_reference_get_sd (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_REFERENCE (fo_area), 0); return FO_AREA_REFERENCE (fo_area)->sd; } /** * fo_area_reference_update_after_clone: * @clone: New object cloned from @original * @original: Original area object * * Update the FoAreaReference-specific instance variables of @clone to * match those of @original **/ void fo_area_reference_update_after_clone (FoArea *clone, FoArea *original) { FoAreaReference *original_reference = (FoAreaReference *) original; FoAreaReference *clone_reference = (FoAreaReference *) clone; g_return_if_fail (clone != NULL); g_return_if_fail (FO_IS_AREA_REFERENCE (clone)); g_return_if_fail (original != NULL); g_return_if_fail (FO_IS_AREA_REFERENCE (original)); FO_AREA_CLASS (parent_class)->update_after_clone (clone, original); original_reference = FO_AREA_REFERENCE (original); clone_reference = FO_AREA_REFERENCE (clone); clone_reference->bpd = original_reference->bpd; clone_reference->ipd = original_reference->ipd; clone_reference->sd = original_reference->sd; fo_area_set_reference (clone, clone); } xmlroff-0.6.2/libfo/area/fo-area-reference.h0000644000175000017500000000335311062172237015544 00000000000000/* Fo * fo-area-reference.h: Reference area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_REFERENCE_H__ #define __FO_AREA_REFERENCE_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaReference FoAreaReference; typedef struct _FoAreaReferenceClass FoAreaReferenceClass; #define FO_TYPE_AREA_REFERENCE (fo_area_reference_get_type ()) #define FO_AREA_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_REFERENCE, FoAreaReference)) #define FO_AREA_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_REFERENCE, FoAreaReferenceClass)) #define FO_IS_AREA_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_REFERENCE)) #define FO_IS_AREA_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_REFERENCE)) #define FO_AREA_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_REFERENCE, FoAreaReferenceClass)) GType fo_area_reference_get_type (void) G_GNUC_CONST; FoArea *fo_area_reference_new (void); FoEnumAreaDirection fo_area_reference_get_bpd (FoArea *fo_area); void fo_area_reference_set_bpd (FoArea *fo_area, FoEnumAreaDirection new_bpd); FoEnumAreaDirection fo_area_reference_get_ipd (FoArea *fo_area); void fo_area_reference_set_ipd (FoArea *fo_area, FoEnumAreaDirection new_ipd); FoEnumAreaDirection fo_area_reference_get_sd (FoArea *fo_area); void fo_area_reference_set_sd (FoArea *fo_area, FoEnumAreaDirection new_sd); G_END_DECLS #endif /* !__FO_AREA_REFERENCE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-reference-private.h0000644000175000017500000000141111062172362017204 00000000000000/* Fo * fo-area-reference-private.h: Private information for reference area objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_REFERENCE_PRIVATE_H__ #define __FO_AREA_REFERENCE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoAreaReference { FoAreaArea parent_instance; FoEnumAreaDirection bpd; /* block progression direction */ FoEnumAreaDirection ipd; /* inline progression direction */ FoEnumAreaDirection sd; /* shift direction */ }; struct _FoAreaReferenceClass { FoAreaAreaClass parent_class; }; G_END_DECLS #endif /* !__FO_AREA_REFERENCE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-spanning-table-cell.c0000644000175000017500000007310010761562451017423 00000000000000/* Fo * fo-area-spanning-table-cell.c: Area object for spanning-table-cell formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-reference.h" #include "fo-area-reference-private.h" #include "fo-area-table-cell.h" #include "fo-area-spanning-table-cell.h" #include "fo-area-spanning-table-cell-private.h" #include "fo-area-table-cell-proxy.h" #include "fo/fo-table-cell.h" #include "fo/fo-block-fo.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-page.h" static void fo_area_spanning_table_cell_class_init (FoAreaSpanningTableCellClass *klass); static void fo_area_spanning_table_cell_finalize (GObject *object); static void fo_area_spanning_table_cell_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_spanning_table_cell_size_request (FoArea *child); static FoArea* fo_area_spanning_table_cell_split_before_height (FoArea *area, gfloat max_height); static gboolean fo_area_spanning_table_cell_split_before_height_check (FoArea *area, gfloat max_height); static gpointer parent_class; /** * fo_area_spanning_table_cell_get_type: * @void: * * Register the FoAreaSpanningTableCell object type. * * Return value: GType value of the FoAreaSpanningTableCell object type. **/ GType fo_area_spanning_table_cell_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaSpanningTableCellClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_spanning_table_cell_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaSpanningTableCell), 0, /* n_preallocs */ NULL, /* instance_init */ NULL }; object_type = g_type_register_static (FO_TYPE_AREA_REFERENCE, "FoAreaSpanningTableCell", &object_info, 0); } return object_type; } static void fo_area_spanning_table_cell_class_init (FoAreaSpanningTableCellClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_spanning_table_cell_finalize; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_spanning_table_cell_debug_dump_properties; FO_AREA_CLASS (klass)->size_request = fo_area_spanning_table_cell_size_request; FO_AREA_CLASS (klass)->split_before_height = fo_area_spanning_table_cell_split_before_height; FO_AREA_CLASS (klass)->split_before_height_check = fo_area_spanning_table_cell_split_before_height_check; } static void fo_area_spanning_table_cell_finalize (GObject *object) { FoAreaSpanningTableCell *fo_area_spanning_table_cell; fo_area_spanning_table_cell = FO_AREA_SPANNING_TABLE_CELL (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_spanning_table_cell_new: * * Creates a new #FoAreaSpanningTableCell initialized to default value. * * Return value: the new #FoAreaSpanningTableCell **/ FoArea* fo_area_spanning_table_cell_new (void) { return FO_AREA (g_object_new (fo_area_spanning_table_cell_get_type (), NULL)); } static void fo_area_spanning_table_cell_accumulate_proxy_available_height (gpointer value, gpointer data) { FoArea *proxy = FO_AREA (value); gfloat *total = (gfloat *) data; *total += fo_area_get_available_height (proxy); } #if 0 static void fo_area_spanning_table_cell_debug_dump_proxy_height (gpointer value, gpointer data) { FoArea *proxy = FO_AREA (value); g_message ("proxy: %s; available_height: %f; height: %f", fo_object_debug_sprintf (proxy), fo_area_get_available_height (proxy), fo_area_area_get_height (proxy)); } static void fo_area_spanning_table_cell_debug_dump_heights (FoArea *fo_area) { g_message ("spanning_table_cell:: area: %s; available_height: %g; height: %g; real_height: %g; real_available_height: %g", fo_object_debug_sprintf (fo_area), fo_area_get_available_height (fo_area), fo_area_area_get_height (fo_area), FO_AREA_SPANNING_TABLE_CELL (fo_area)->real_height, FO_AREA_SPANNING_TABLE_CELL (fo_area)->real_available_height); g_list_foreach (FO_AREA_SPANNING_TABLE_CELL (fo_area)->proxies, fo_area_spanning_table_cell_debug_dump_proxy_height, 0); } #endif /** * fo_area_spanning_table_cell_signal_test: * @signallee: * @param: * @signaller: * * Function to test how property value change signals work. **/ static void fo_area_spanning_table_cell_signal_test (FoArea *signallee, GParamSpec *param G_GNUC_UNUSED, FoArea *signaller G_GNUC_UNUSED) { gfloat old_real_available_height; gfloat new_real_available_height; gfloat real_height; old_real_available_height = FO_AREA_SPANNING_TABLE_CELL (signallee)->real_available_height; real_height = FO_AREA_SPANNING_TABLE_CELL (signallee)->real_height; new_real_available_height = fo_area_get_available_height (signallee); g_list_foreach (FO_AREA_SPANNING_TABLE_CELL (signallee)->proxies, fo_area_spanning_table_cell_accumulate_proxy_available_height, &new_real_available_height); FO_AREA_SPANNING_TABLE_CELL (signallee)->real_available_height = new_real_available_height; fo_area_set_child_available_bpdim (signallee, new_real_available_height - fo_area_area_get_border_before (signallee) - fo_area_area_get_padding_before (signallee) - fo_area_area_get_padding_after (signallee) - fo_area_area_get_border_after (signallee)); #if defined(LIBFO_DEBUG) && 1 g_message ("signal_test:: real_height: %g; old real_available_height: %g; new real_available_height: %g; child-available-bpdim: %g", real_height, old_real_available_height, new_real_available_height, fo_area_get_child_available_bpdim (signallee)); fo_area_spanning_table_cell_debug_dump_heights (signallee); #endif /* The first child is placed just inside the borders and padding of this table cell. */ fo_area_set_next_x (signallee, fo_area_area_get_border_start (signallee) + fo_area_area_get_padding_start (signallee)); gfloat total_child_height = 0.0; fo_area_children_foreach (signallee, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); /* Adjust initial 'next_y' depending on 'display-align' property value. */ FoDatatype *fo_cell_display_align = fo_property_get_value (fo_table_cell_get_display_align (signallee->generated_by)); FoEnumEnum display_align = fo_enum_get_value (fo_cell_display_align); gfloat next_y; switch (display_align) { case FO_ENUM_ENUM_AUTO: /* Treat as 'before' while 'relative-align' is unimplemented. */ case FO_ENUM_ENUM_BEFORE: next_y = - (fo_area_area_get_border_before (signallee) + fo_area_area_get_padding_before (signallee)); break; case FO_ENUM_ENUM_CENTER: next_y = - (fo_area_area_get_border_before (signallee) + fo_area_area_get_padding_before (signallee) + (fo_area_get_child_available_bpdim (signallee) - total_child_height) / 2.0); break; case FO_ENUM_ENUM_AFTER: next_y = - (fo_area_area_get_border_before (signallee) + fo_area_area_get_padding_before (signallee) + (fo_area_get_child_available_bpdim (signallee) - total_child_height)); break; default: g_assert_not_reached (); } fo_area_set_next_y (signallee, next_y); /* Since the children all fit within the allowed height, adjust their sizes and positions in sequence. */ fo_area_children_foreach (signallee, G_TRAVERSE_ALL, &fo_area_size_adjust, NULL); } /** * fo_area_spanning_table_cell_new_with_rows_spanned: * @rows_spanned: Number of rows spanned by the new #FoAreaSpanningTableCell * * Creates a new #FoAreaSpanningTableCell initialized to span @rows_spanned rows. * * Return value: the new #FoAreaSpanningTableCell **/ FoArea* fo_area_spanning_table_cell_new_with_rows_spanned (gint rows_spanned) { gint current_row; FoAreaSpanningTableCell *spanning_table_cell = FO_AREA_SPANNING_TABLE_CELL (fo_area_spanning_table_cell_new ()); g_object_connect (spanning_table_cell, "swapped_signal::notify::available-height", fo_area_spanning_table_cell_signal_test, spanning_table_cell, NULL); spanning_table_cell->rows_spanned = rows_spanned; spanning_table_cell->row_info = g_new0 (FoAreaSpanningTableCellRowInfo, rows_spanned); for (current_row = 2; current_row <= rows_spanned; current_row++) { FoArea *proxy = fo_area_table_cell_proxy_new (); g_object_connect (proxy, "swapped_signal::notify::available-height", fo_area_spanning_table_cell_signal_test, spanning_table_cell, NULL); spanning_table_cell->proxies = g_list_append (spanning_table_cell->proxies, proxy); fo_area_table_cell_proxy_set_row_number (proxy, current_row); fo_area_table_cell_proxy_set_table_cell (proxy, FO_AREA (spanning_table_cell)); } return FO_AREA (spanning_table_cell); } /** * fo_area_spanning_table_cell_get_nth_row_proxy: * @fo_area: The #FoAreaSpanningTableCell object * @row_number: The row number of proxy area to get * * Gets the #FoSpanningTableCellProxy object at the @row_number row number. * * @row number should be in the range 2...rows-spanned, where * 'rows-spanned' is the number of rows spanned by @fo_area. * * When @fo_area spans only one row, this function always returns * NULL. * * Return value: The #FoSpanningTableCellProxy object, or NULL if no proxy **/ FoArea* fo_area_spanning_table_cell_get_nth_row_proxy (FoArea *fo_area, gint row_number) { g_return_val_if_fail (fo_area != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_SPANNING_TABLE_CELL (fo_area), NULL); /* Subtract 2 from row_number since proxies' row numbers start at 2 and g_list indexes start at 0 */ return g_list_nth_data (FO_AREA_SPANNING_TABLE_CELL (fo_area)->proxies, row_number - 2); } /** * fo_area_spanning_table_cell_debug_dump_proxy: * @value: Pointer to the proxy * @data: Indent level * * Logs debug dump info for one proxy of an #FoAreaSpanningTableCell. **/ static void fo_area_spanning_table_cell_debug_dump_proxy (gpointer value, gpointer data) { gchar *indent = g_strnfill (GPOINTER_TO_INT (data) * 2, ' '); gchar *string = fo_object_debug_sprintf (value); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, string); g_free (string); g_free (indent); } /** * fo_area_spanning_table_cell_debug_dump_properties: * @area: The #FoArea object * @depth: Indent level to add to the output * * Logs the value of each significant property of @area then calls * debug_dump_properties method of parent class. **/ void fo_area_spanning_table_cell_debug_dump_properties (FoArea *area, gint depth) { FoAreaSpanningTableCell *spanning_table_cell; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_SPANNING_TABLE_CELL (area)); spanning_table_cell = FO_AREA_SPANNING_TABLE_CELL (area); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sproxies:", indent); g_list_foreach (spanning_table_cell->proxies, fo_area_spanning_table_cell_debug_dump_proxy, GINT_TO_POINTER (depth + 1)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%srows-spanned: %d", indent, spanning_table_cell->rows_spanned); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sreal-height: %fpt", indent, spanning_table_cell->real_height); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sreal-available-height: %fpt", indent, spanning_table_cell->real_available_height); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } /** * fo_area_spanning_table_cell_get_real_height: * @fo_area: The #FoAreaSpanningTableCell object * * Gets the #real-height property of @fo_area * * Return value: The "real_height" property value **/ gfloat fo_area_spanning_table_cell_get_real_height (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_SPANNING_TABLE_CELL (fo_area), 0); return FO_AREA_SPANNING_TABLE_CELL (fo_area)->real_height; } /** * fo_area_spanning_table_cell_get_real_available_height: * @fo_area: The #FoAreaSpanningTableCell object * * Gets the "real-available-height" property of @fo_area * * Return value: The "real-available-height" property value **/ gfloat fo_area_spanning_table_cell_get_real_available_height (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_SPANNING_TABLE_CELL (fo_area), 0); return FO_AREA_SPANNING_TABLE_CELL (fo_area)->real_available_height; } /** * fo_area_spanning_table_cell_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_spanning_table_cell_size_request (FoArea *child) { g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (fo_area_parent (child) != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_SPANNING_TABLE_CELL (fo_area_parent (child)), NULL); /* The area that is the return value of this procedure. */ FoArea *return_child; /* Used when determining the return value. */ FoArea *child_original_next_part = child->next_part; /* The table cell containing the area that issued this request. */ FoArea *parent = fo_area_parent (child); /* Find the total height of all children. */ gfloat total_child_height = 0.0; fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); /* Ideally, this table cell would be just big enough for its borders and padding plus the height needed for its children. */ gfloat parent_target_height = total_child_height + fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent) + fo_area_area_get_padding_after (parent) + fo_area_area_get_border_after (parent); FO_AREA_SPANNING_TABLE_CELL (parent)->real_height = parent_target_height; /* The FoFo that generated this table cell may have set the allowed height. */ FoDatatype *fo_cell_bpdim = fo_property_get_value (fo_table_cell_get_block_progression_dimension (parent->generated_by)); gfloat parent_use_height = 0.0; if (FO_IS_LENGTH_RANGE (fo_cell_bpdim)) { FoDatatype *min_datatype = fo_length_range_get_minimum (fo_cell_bpdim); FoDatatype *opt_datatype = fo_length_range_get_optimum (fo_cell_bpdim); FoDatatype *max_datatype = fo_length_range_get_maximum (fo_cell_bpdim); if (FO_IS_LENGTH (min_datatype) && parent_target_height <= fo_length_get_value (min_datatype)) { parent_use_height = fo_length_get_value (min_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("spanning_table_cell_size_request:: target: %g; min: %g", parent_target_height, fo_length_get_value (min_datatype)); #endif } else if (FO_IS_LENGTH (opt_datatype) && parent_target_height < fo_length_get_value (opt_datatype)) { parent_use_height = fo_length_get_value (opt_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("spanning_table_cell_size_request:: target: %g; opt: %g", parent_target_height, fo_length_get_value (opt_datatype)); #endif } else if (FO_IS_LENGTH (max_datatype) && fo_length_get_value (max_datatype) < parent_target_height) { parent_use_height = fo_length_get_value (max_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("spanning_table_cell_size_request:: target: %g; max: %g", parent_target_height, fo_length_get_value (max_datatype)); #endif } else { parent_use_height = parent_target_height; } } else { /* The 'block_progression_dimension' property should only ever be a length-range. */ g_assert_not_reached (); } gfloat parent_real_available_height = fo_area_get_available_height (parent); g_list_foreach (FO_AREA_SPANNING_TABLE_CELL (parent)->proxies, fo_area_spanning_table_cell_accumulate_proxy_available_height, &parent_real_available_height); gint rows_spanned = FO_AREA_SPANNING_TABLE_CELL (parent)->rows_spanned; #if defined(LIBFO_DEBUG) && 1 fo_area_spanning_table_cell_debug_dump_heights (parent); g_message ("spanning_table_cell_size_request:: parent_available: %g; parent_use: %g", parent_available_height, parent_use_height); #endif /* The available height may be less than what is required (or what is allowed by the FoFo). */ if (parent_real_available_height < parent_use_height) { gfloat remaining_height = parent_use_height; gint row_number; fo_area_area_set_height (parent, fo_area_get_available_height (parent)); remaining_height -= fo_area_get_available_height (parent); for (row_number = 2; (row_number <= rows_spanned - 1) && remaining_height > 0; row_number++) { FoArea *proxy = fo_area_spanning_table_cell_get_nth_row_proxy (parent, row_number); fo_area_area_set_height (proxy, fo_area_get_available_height (proxy)); remaining_height -= fo_area_get_available_height (proxy); } if (remaining_height > 0) { FoArea *last_proxy = fo_area_spanning_table_cell_get_nth_row_proxy (parent, rows_spanned); fo_area_area_set_height (last_proxy, remaining_height); last_proxy = fo_area_size_request (last_proxy); } } /* Work out the total child height again because this area's parent area may have adjusted the children. */ total_child_height = 0; fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); /* Work out the new target height. */ parent_target_height = total_child_height + fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent) + fo_area_area_get_padding_after (parent) + fo_area_area_get_border_after (parent); /* In the absence of 'display-align', the first child is placed just inside the borders and padding of this table cell. */ fo_area_set_next_x (parent, fo_area_area_get_border_start (parent) + fo_area_area_get_padding_start (parent)); fo_area_set_next_y (parent, - (fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent))); if (parent_target_height <= parent_real_available_height) { /* Adjust initial 'next_y' depending on 'display-align' property value. */ FoDatatype *fo_cell_display_align = fo_property_get_value (fo_table_cell_get_display_align (parent->generated_by)); FoEnumEnum display_align = fo_enum_get_value (fo_cell_display_align); gfloat next_y; switch (display_align) { case FO_ENUM_ENUM_AUTO: /* Treat as 'before' while 'relative-align' is unimplemented. */ case FO_ENUM_ENUM_BEFORE: next_y = - (fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent)); break; case FO_ENUM_ENUM_CENTER: next_y = - (fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent) + (parent_real_available_height - parent_target_height) / 2.0); break; case FO_ENUM_ENUM_AFTER: next_y = - (fo_area_area_get_border_before (parent) + fo_area_area_get_padding_before (parent) + (parent_real_available_height - parent_target_height)); break; default: g_assert_not_reached (); } fo_area_set_next_y (parent, next_y); /* Since the children all fit within the allowed height, adjust their sizes and positions in sequence. */ fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_size_adjust, NULL); } else { /* Since the children don't all fit, place the ones that fit in the available height, and split at or before the allowed height. */ fo_area_children_foreach (parent, G_TRAVERSE_ALL, &fo_area_set_or_split, NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("spanning_table_cell_size_request (%p):: total > available:: return:: parent->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (parent)), fo_object_debug_sprintf (fo_area_last_child (parent)->generated_by)); #endif } /* The result will be the current child unless the child has been split, in which case the result is the portion after the last split. */ return_child = child; while ((return_child->next_part != NULL) && (return_child->next_part != child_original_next_part)) { return_child = return_child->next_part; } return return_child; } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ FoArea* fo_area_spanning_table_cell_split_before_height (FoArea *area, gfloat max_height) { FoArea *use_child_area; gfloat minus_child_y = 0.0; gfloat child_height = 0.0; g_return_val_if_fail (FO_IS_AREA_SPANNING_TABLE_CELL (area), NULL); g_return_val_if_fail (fo_area_n_children (area) > 0, NULL); g_return_val_if_fail (max_height > 0, NULL); /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return NULL; use_child_area = fo_area_first_child (area); while (use_child_area) { minus_child_y = -fo_area_area_get_y (use_child_area); child_height = fo_area_area_get_height (use_child_area); if (minus_child_y + child_height >= max_height) break; else use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 1 g_message ("spanning_table_cell_split_before_height:: splitting: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (fo_area_get_generated_by (use_child_area)), fo_area_area_get_y (use_child_area), fo_area_area_get_height (use_child_area)); #endif if (use_child_area == NULL) return NULL; if (minus_child_y >= max_height) { /* max_height falls before use_child_area, i.e. in space between areas */ if (use_child_area == fo_area_first_child (area)) { return NULL; } else { FoFo *child_fo = fo_area_get_generated_by (use_child_area); FoDatatype *child_kwpwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoDatatype *child_kwpwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoFo *prev_child_fo = fo_area_get_generated_by (fo_area_prev_sibling (use_child_area)); FoDatatype *prev_child_kwnwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); FoDatatype *prev_child_kwnwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); /* FIXME: Need to handle integer keeps */ if ((FO_IS_ENUM (prev_child_kwnwp_datatype) && fo_enum_get_value (prev_child_kwnwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (prev_child_kwnwc_datatype) && fo_enum_get_value (prev_child_kwnwc_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwp_datatype) && fo_enum_get_value (child_kwpwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwc_datatype) && fo_enum_get_value (child_kwpwc_datatype) == FO_ENUM_ENUM_AUTO)) { /* If got to here, all relevant keeps are 'auto' */ FoArea *clone = fo_area_clone (area); fo_area_unlink_with_next_siblings (use_child_area); fo_area_insert_with_next_siblings (clone, 0, use_child_area); return clone; } else { gfloat minus_prev_y = fo_area_area_get_y (fo_area_prev_sibling (use_child_area)); gfloat prev_height = fo_area_area_get_height (fo_area_prev_sibling (use_child_area)); /* If can't split between use_child_area and previous, maybe can split at lower height */ return fo_area_spanning_table_cell_split_before_height (area, minus_prev_y + prev_height); } } } else { /* max_height falls within use_child_area */ gboolean child_can_split = fo_area_split_before_height_check (use_child_area, max_height - minus_child_y); if (child_can_split) { FoArea *clone = fo_area_clone (area); FoArea *split_child = fo_area_split_before_height (use_child_area, max_height - minus_child_y); fo_area_unlink_with_next_siblings (split_child); fo_area_insert_with_next_siblings (clone, 0, split_child); return clone; } else { /* If can't split use_child_area, maybe can split at lower height */ return fo_area_spanning_table_cell_split_before_height (area, minus_child_y); } } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ gboolean fo_area_spanning_table_cell_split_before_height_check (FoArea *area, gfloat max_height) { FoArea *use_child_area; gfloat minus_child_y = 0.0; gfloat child_height = 0.0; g_return_val_if_fail (FO_IS_AREA_SPANNING_TABLE_CELL (area), FALSE); g_return_val_if_fail (fo_area_n_children (area) > 0, FALSE); g_return_val_if_fail (max_height > 0, FALSE); /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return FALSE; use_child_area = fo_area_first_child (area); while (use_child_area) { minus_child_y = -fo_area_area_get_y (use_child_area); child_height = fo_area_area_get_height (use_child_area); if (minus_child_y + child_height >= max_height) break; else use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 1 g_message ("spanning_table_cell_split_before_height_check:: splitting: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (fo_area_get_generated_by (use_child_area)), fo_area_area_get_y (use_child_area), fo_area_area_get_height (use_child_area)); #endif if (use_child_area == NULL) return FALSE; if (minus_child_y >= max_height) { /* max_height falls before use_child_area, i.e. in space between areas */ if (use_child_area == fo_area_first_child (area)) { return FALSE; } else { FoFo *child_fo = fo_area_get_generated_by (use_child_area); FoDatatype *child_kwpwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoDatatype *child_kwpwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoFo *prev_child_fo = fo_area_get_generated_by (fo_area_prev_sibling (use_child_area)); FoDatatype *prev_child_kwnwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); FoDatatype *prev_child_kwnwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); /* FIXME: Need to handle integer keeps */ if ((FO_IS_ENUM (prev_child_kwnwp_datatype) && fo_enum_get_value (prev_child_kwnwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (prev_child_kwnwc_datatype) && fo_enum_get_value (prev_child_kwnwc_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwp_datatype) && fo_enum_get_value (child_kwpwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwc_datatype) && fo_enum_get_value (child_kwpwc_datatype) == FO_ENUM_ENUM_AUTO)) { /* If got to here, all relevant keeps are 'auto' */ return TRUE; } else { gfloat minus_prev_y = fo_area_area_get_y (fo_area_prev_sibling (use_child_area)); gfloat prev_height = fo_area_area_get_height (fo_area_prev_sibling (use_child_area)); /* If can't split between use_child_area and previous, maybe can split at lower height */ return fo_area_spanning_table_cell_split_before_height_check (area, minus_prev_y + prev_height); } } } else { /* max_height falls within use_child_area */ gboolean child_can_split = fo_area_split_before_height_check (use_child_area, max_height - minus_child_y); if (child_can_split) { return TRUE; } else { /* If can't split use_child_area, maybe can split at lower height */ return fo_area_spanning_table_cell_split_before_height_check (area, minus_child_y); } } } xmlroff-0.6.2/libfo/area/fo-area-spanning-table-cell.h0000644000175000017500000000353210643167443017433 00000000000000/* Fo * fo-area-spanning-table-cell.c: Area object for spanning-table-cell formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_SPANNING_TABLE_CELL_H__ #define __FO_AREA_SPANNING_TABLE_CELL_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaSpanningTableCell FoAreaSpanningTableCell; typedef struct _FoAreaSpanningTableCellClass FoAreaSpanningTableCellClass; #define FO_TYPE_AREA_SPANNING_TABLE_CELL (fo_area_spanning_table_cell_get_type ()) #define FO_AREA_SPANNING_TABLE_CELL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_SPANNING_TABLE_CELL, FoAreaSpanningTableCell)) #define FO_AREA_SPANNING_TABLE_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_SPANNING_TABLE_CELL, FoAreaSpanningTableCellClass)) #define FO_IS_AREA_SPANNING_TABLE_CELL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_SPANNING_TABLE_CELL)) #define FO_IS_AREA_SPANNING_TABLE_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_SPANNING_TABLE_CELL)) #define FO_AREA_SPANNING_TABLE_CELL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_SPANNING_TABLE_CELL, FoAreaSpanningTableCellClass)) GType fo_area_spanning_table_cell_get_type (void) G_GNUC_CONST; FoArea *fo_area_spanning_table_cell_new (void); FoArea* fo_area_spanning_table_cell_new_with_rows_spanned (gint rows_spanned); FoArea* fo_area_spanning_table_cell_get_nth_row_proxy (FoArea *fo_area, gint row_number); gfloat fo_area_spanning_table_cell_get_real_height (FoArea *fo_area); gfloat fo_area_spanning_table_cell_get_real_available_height (FoArea *fo_area); G_END_DECLS #endif /* !__FO_AREA_SPANNING_TABLE_CELL_H__ */ xmlroff-0.6.2/libfo/area/fo-area-spanning-table-cell-private.h0000644000175000017500000000204610643167443021102 00000000000000/* Fo * fo-area-spanning-table-cell-private.h: Private information for spanning-table-cell area objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_SPANNING_TABLE_CELL_PRIVATE_H__ #define __FO_AREA_SPANNING_TABLE_CELL_PRIVATE_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoAreaSpanningTableCellRowInfo FoAreaSpanningTableCellRowInfo; struct _FoAreaSpanningTableCellRowInfo { FoArea *row; gboolean fixed_bpdim; gboolean non_spanning_siblings; }; struct _FoAreaSpanningTableCell { FoAreaTableCell parent_instance; gfloat real_height; gfloat real_available_height; gint rows_spanned; GList *proxies; FoAreaSpanningTableCellRowInfo *row_info; }; struct _FoAreaSpanningTableCellClass { FoAreaTableCellClass parent_class; }; G_END_DECLS #endif /* !__FO_AREA_SPANNING_TABLE_CELL_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-body.c0000644000175000017500000000526510643167443015636 00000000000000/* Fo * fo-area-table-body.c: Area object for 'table-body' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-table-part.h" #include "fo-area-table-part-private.h" #include "fo-area-table-body.h" #include "fo-area-table-cell.h" #include "fo/fo-table.h" #include "property/fo-property-block-progression-dimension.h" struct _FoAreaTableBody { FoAreaTablePart parent_instance; }; struct _FoAreaTableBodyClass { FoAreaTablePartClass parent_class; }; static void fo_area_table_body_class_init (FoAreaTableBodyClass *klass); static void fo_area_table_body_finalize (GObject *object); static gpointer parent_class; /** * fo_area_table_body_get_type: * @void: * * Register the FoTableBody object type. * * Return value: GType value of the FoTableBody object type. **/ GType fo_area_table_body_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTableBodyClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_table_body_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTableBody), 0, /* n_preallocs */ NULL, /* instance_init */ NULL }; object_type = g_type_register_static (FO_TYPE_AREA_TABLE_PART, "FoAreaTableBody", &object_info, 0); } return object_type; } /** * fo_area_table_body_class_init: * @klass: FoTableBodyClass object to initialise * * Implements GClassInitFunc for FoTableBodyClass **/ void fo_area_table_body_class_init (FoAreaTableBodyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_table_body_finalize; } /** * fo_area_table_body_finalize: * @object: FoTableBody object to finalize * * Implements GObjectFinalizeFunc for FoTableBody **/ void fo_area_table_body_finalize (GObject *object) { FoAreaTableBody *fo_area_table_body; fo_area_table_body = FO_AREA_TABLE_BODY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_table_body_new: * * Creates a new #FoAreaTableBody initialized to default value. * * Return value: the new #FoAreaTableBody **/ FoArea* fo_area_table_body_new (void) { return FO_AREA (g_object_new (fo_area_table_body_get_type (), NULL)); } xmlroff-0.6.2/libfo/area/fo-area-table-body.h0000644000175000017500000000244610643167443015641 00000000000000/* Fo * fo-area-table-body.c: Area object for 'table-body' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_BODY_H__ #define __FO_AREA_TABLE_BODY_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTableBody FoAreaTableBody; typedef struct _FoAreaTableBodyClass FoAreaTableBodyClass; #define FO_TYPE_AREA_TABLE_BODY (fo_area_table_body_get_type ()) #define FO_AREA_TABLE_BODY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TABLE_BODY, FoAreaTableBody)) #define FO_AREA_TABLE_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TABLE_BODY, FoAreaTableBodyClass)) #define FO_IS_AREA_TABLE_BODY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TABLE_BODY)) #define FO_IS_AREA_TABLE_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TABLE_BODY)) #define FO_AREA_TABLE_BODY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TABLE_BODY, FoAreaTableBodyClass)) GType fo_area_table_body_get_type (void) G_GNUC_CONST; FoArea *fo_area_table_body_new (void); G_END_DECLS #endif /* !__FO_AREA_TABLE_BODY_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-cell-private.h0000644000175000017500000000115510643167443017267 00000000000000/* Fo * fo-area-table-cell-private.h: Private information for 'table-cell' area objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_CELL_PRIVATE_H__ #define __FO_AREA_TABLE_CELL_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoAreaTableCell { FoAreaReference parent_instance; }; struct _FoAreaTableCellClass { FoAreaReferenceClass parent_class; }; G_END_DECLS #endif /* !__FO_AREA_TABLE_CELL_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-cell-proxy.c0000644000175000017500000003707110643167443016777 00000000000000/* Fo * fo-area-table-cell-proxy.c: Proxy area object for table-cell * formatting objects that span rows * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-area.h" #include "fo-area-area-private.h" #include "fo-area-table-cell-proxy.h" #include "fo-area-spanning-table-cell.h" #include "fo/fo-table-cell.h" #include "property/fo-property-block-progression-dimension.h" struct _FoAreaTableCellProxy { FoAreaArea parent_instance; FoArea *table_cell; gint row_number; gfloat min_height; }; struct _FoAreaTableCellProxyClass { FoAreaAreaClass parent_class; }; static void fo_area_table_cell_proxy_class_init (FoAreaTableCellProxyClass *klass); static void fo_area_table_cell_proxy_finalize (GObject *object); static void fo_area_table_cell_proxy_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_table_cell_proxy_size_request (FoArea *child); static FoArea* fo_area_table_cell_proxy_split_before_height (FoArea *area, gfloat max_height); static gboolean fo_area_table_cell_proxy_split_before_height_check (FoArea *area, gfloat max_height); static gpointer parent_class; /** * fo_area_table_cell_proxy_get_type: * @void: * * Register the FoTableCellProxy object type. * * Return value: GType value of the FoTableCellProxy object type. **/ GType fo_area_table_cell_proxy_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTableCellProxyClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_table_cell_proxy_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTableCellProxy), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_AREA, "FoAreaTableCellProxy", &object_info, 0); } return object_type; } /** * fo_area_table_cell_proxy_class_init: * @klass: FoTableCellProxyClass object to initialise * * Implements GClassInitFunc for FoTableCellProxyClass **/ void fo_area_table_cell_proxy_class_init (FoAreaTableCellProxyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoAreaClass *fo_area_class = FO_AREA_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_table_cell_proxy_finalize; fo_area_class->debug_dump_properties = fo_area_table_cell_proxy_debug_dump_properties; fo_area_class->size_request = fo_area_table_cell_proxy_size_request; fo_area_class->split_before_height = fo_area_table_cell_proxy_split_before_height; fo_area_class->split_before_height_check = fo_area_table_cell_proxy_split_before_height_check; } /** * fo_area_table_cell_proxy_finalize: * @object: FoTableCellProxy object to finalize * * Implements GObjectFinalizeFunc for FoTableCellProxy **/ void fo_area_table_cell_proxy_finalize (GObject *object) { FoAreaTableCellProxy *fo_area_table_cell_proxy; fo_area_table_cell_proxy = FO_AREA_TABLE_CELL_PROXY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_table_cell_proxy_new: * * Creates a new #FoAreaTableCellProxy initialized to default value. * * Return value: the new #FoAreaTableCellProxy **/ FoArea* fo_area_table_cell_proxy_new (void) { return FO_AREA (g_object_new (fo_area_table_cell_proxy_get_type (), NULL)); } /** * fo_area_table_cell_proxy_set_table_cell: * @fo_area: The #FoAreaTableCellProxy object * @new_table_cell: The new "row-number" property value * * Sets the #line-last property of @area_area to @new_table_cell **/ void fo_area_table_cell_proxy_set_table_cell (FoArea *fo_area, FoArea *new_table_cell) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (fo_area)); g_return_if_fail (FO_IS_AREA_SPANNING_TABLE_CELL (new_table_cell)); FO_AREA_TABLE_CELL_PROXY (fo_area)->table_cell = new_table_cell; /* g_object_notify (G_OBJECT (fo_area), "table_cell");*/ } /** * fo_area_table_cell_proxy_get_table_cell: * @fo_area: The #FoAreaTableCellProxy object * * Gets the 'row-number' property of @area_table_cell_proxy * * Return value: The "row-number" property value **/ FoArea* fo_area_table_cell_proxy_get_table_cell (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (fo_area), 0); return FO_AREA_TABLE_CELL_PROXY (fo_area)->table_cell; } /** * fo_area_table_cell_proxy_set_row_number: * @fo_area: The #FoAreaTableCellProxy object * @new_row_number: The new "row-number" property value * * Sets the "row-number" property of @fo_area to @new_row_number **/ void fo_area_table_cell_proxy_set_row_number (FoArea *fo_area, gint new_row_number) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (fo_area)); FO_AREA_TABLE_CELL_PROXY (fo_area)->row_number = new_row_number; /* g_object_notify (G_OBJECT (fo_area), "row-number");*/ } /** * fo_area_table_cell_proxy_get_row_number: * @fo_area: The #FoAreaTableCellProxy object * * Gets the 'row-number' property of @area_table_cell_proxy * * Return value: The "row-number" property value **/ gint fo_area_table_cell_proxy_get_row_number (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (fo_area), 0); return FO_AREA_TABLE_CELL_PROXY (fo_area)->row_number; } /** * fo_area_table_cell_proxy_set_min_height: * @fo_area: The #FoAreaTableCellProxy object * @new_min_height: The new "min-height" property value * * Sets the "min-height" property of @fo_area to @new_min_height **/ void fo_area_table_cell_proxy_set_min_height (FoArea *fo_area, gfloat new_min_height) { g_return_if_fail (fo_area != NULL); g_return_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (fo_area)); FO_AREA_TABLE_CELL_PROXY (fo_area)->min_height = new_min_height; /* g_object_notify (G_OBJECT (fo_area), "min-height");*/ } /** * fo_area_table_cell_proxy_get_min_height: * @fo_area: The #FoAreaTableCellProxy object * * Gets the 'min-height' property of @fo_area * * Return value: The "min-height" property value **/ gfloat fo_area_table_cell_proxy_get_min_height (FoArea *fo_area) { g_return_val_if_fail (fo_area != NULL, 0); g_return_val_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (fo_area), 0); return FO_AREA_TABLE_CELL_PROXY (fo_area)->min_height; } /** * fo_area_table_cell_proxy_debug_dump_properties: * @area: The #FoArea object * @depth: Indent level to add to the output * * Logs the value of each significant property of @area then calls * debug_dump_properties method of parent class. **/ void fo_area_table_cell_proxy_debug_dump_properties (FoArea *area, gint depth) { FoAreaTableCellProxy *table_cell_proxy; gchar *indent = g_strnfill (depth * 2, ' '); gchar *string; g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (area)); table_cell_proxy = FO_AREA_TABLE_CELL_PROXY (area); string = fo_object_debug_sprintf (table_cell_proxy->table_cell); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%stable-cell area: %s", indent, string); g_free (string); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%srow-number: %d", indent, table_cell_proxy->row_number); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } FoArea* fo_area_table_cell_proxy_add_child (FoArea *parent, FoArea *child) { g_return_val_if_fail (parent != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (parent), NULL); g_return_val_if_fail (child != NULL, NULL); g_assert_not_reached (); return NULL; } /** * fo_area_table_cell_proxy_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_table_cell_proxy_size_request (FoArea *child) { FoArea *use_child_area; FoArea *parent; FoDatatype *fo_row_bpdim; gfloat max_child_height = 0; gfloat parent_child_available_bpdim; gfloat parent_use_height = 0; gfloat child_height; g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (fo_area_parent (child) != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (fo_area_parent (child)), NULL); child_height = fo_area_area_get_height (child); parent = fo_area_parent (child); parent_child_available_bpdim = fo_area_get_child_available_bpdim (parent); if (child_height <= parent_child_available_bpdim) { fo_area_set_available_height (child, parent_child_available_bpdim); return child; } use_child_area = fo_area_first_child (parent); while (use_child_area) { max_child_height = MAX (max_child_height, fo_area_area_get_height (use_child_area)); use_child_area = fo_area_next_sibling (use_child_area); } fo_row_bpdim = fo_property_get_value (fo_table_cell_get_block_progression_dimension (parent->generated_by)); if (FO_IS_LENGTH_RANGE (fo_row_bpdim)) { FoDatatype *min_datatype = fo_length_range_get_minimum (fo_row_bpdim); FoDatatype *opt_datatype = fo_length_range_get_optimum (fo_row_bpdim); FoDatatype *max_datatype = fo_length_range_get_maximum (fo_row_bpdim); if (FO_IS_LENGTH (min_datatype) && max_child_height <= fo_length_get_value (min_datatype)) { parent_use_height = fo_length_get_value (min_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_cell_proxy_size_request:: child: %g; min: %g", max_child_height, fo_length_get_value (min_datatype)); #endif } else if (FO_IS_LENGTH (opt_datatype) && fo_length_get_value (opt_datatype) < max_child_height) { parent_use_height = fo_length_get_value (opt_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_cell_proxy_size_request:: child: %g; opt: %g", max_child_height, fo_length_get_value (opt_datatype)); #endif } else if (FO_IS_LENGTH (max_datatype) && fo_length_get_value (max_datatype) < max_child_height) { parent_use_height = fo_length_get_value (max_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_cell_proxy_size_request:: child: %g; max: %g", max_child_height, fo_length_get_value (max_datatype)); #endif } else { parent_use_height = max_child_height; } } else { g_assert_not_reached (); } if (parent_child_available_bpdim < parent_use_height) { fo_area_area_set_height (parent, parent_use_height); parent = fo_area_size_request (parent); parent_child_available_bpdim = fo_area_get_child_available_bpdim (parent); } use_child_area = fo_area_first_child (parent); max_child_height = 0; while (use_child_area) { max_child_height = MAX (max_child_height, fo_area_area_get_height (use_child_area)); use_child_area = fo_area_next_sibling (use_child_area); } if (max_child_height <= parent_child_available_bpdim) { use_child_area = fo_area_first_child (parent); while (use_child_area) { fo_area_set_available_height (use_child_area, parent_child_available_bpdim); use_child_area = fo_area_next_sibling (use_child_area); } /* FIXME: Should this be last area in FO's glist of areas? Currently is *not* the last area of child unless child is the last child of parent (which is only true when child appended to parent). */ return fo_area_last_child (parent); } else { use_child_area = fo_area_first_child (parent); while (use_child_area) { if (fo_area_area_get_height (use_child_area) <= parent_child_available_bpdim) { fo_area_set_available_height (use_child_area, parent_child_available_bpdim); use_child_area = fo_area_next_sibling (use_child_area); } else { use_child_area = fo_area_split_before_height (use_child_area, parent_child_available_bpdim); parent = fo_area_parent (use_child_area); parent_child_available_bpdim = fo_area_get_child_available_bpdim (parent); /* Don't change use_child_area since need to test again against parent_child_available_bpdim. */ } } return fo_area_last_child (parent); } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ FoArea* fo_area_table_cell_proxy_split_before_height (FoArea *area, gfloat max_height) { FoArea *use_child_area; gboolean can_split = TRUE; g_return_val_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (area), NULL); g_return_val_if_fail (fo_area_n_children (area) > 0, NULL); g_return_val_if_fail (max_height > 0, NULL); use_child_area = fo_area_first_child (area); while (use_child_area && can_split) { gfloat child_height = fo_area_area_get_height (use_child_area); can_split &= ((child_height <= max_height) || fo_area_split_before_height_check (use_child_area, max_height)); use_child_area = fo_area_next_sibling (use_child_area); } if (can_split) { FoArea *split_child; FoArea *clone = fo_area_clone (area); gfloat max_remaining_child_height = 0; gfloat max_split_child_height = 0; area->is_last = FALSE; clone->is_first = FALSE; ((FoAreaArea *)clone)->border_before = 0; use_child_area = fo_area_first_child (area); while (use_child_area) { split_child = fo_area_split_before_height (use_child_area, max_height); fo_area_unlink (split_child); fo_area_append (clone, split_child); max_remaining_child_height = MAX (max_remaining_child_height, fo_area_area_get_height (use_child_area)); max_split_child_height = MAX (max_split_child_height, fo_area_area_get_height (split_child)); use_child_area = fo_area_next_sibling (use_child_area); } fo_area_area_set_height (area, max_remaining_child_height); fo_area_area_set_height (clone, max_split_child_height); /* fo_area_size_request (area); fo_area_size_request (clone); */ return clone; } else { return NULL; } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ gboolean fo_area_table_cell_proxy_split_before_height_check (FoArea *area, gfloat max_height) { FoArea *use_child_area; gboolean can_split = TRUE; g_return_val_if_fail (FO_IS_AREA_TABLE_CELL_PROXY (area), FALSE); g_return_val_if_fail (fo_area_n_children (area) > 0, FALSE); g_return_val_if_fail (max_height > 0, FALSE); use_child_area = fo_area_first_child (area); while (use_child_area && can_split) { gfloat child_height = fo_area_area_get_height (use_child_area); can_split &= ((child_height <= max_height) || fo_area_split_before_height_check (use_child_area, max_height)); use_child_area = fo_area_next_sibling (use_child_area); } return can_split; } xmlroff-0.6.2/libfo/area/fo-area-table-cell-proxy.h0000644000175000017500000000365110643167443017001 00000000000000/* Fo * fo-area-table-cell-proxy.c: Area object for table-cell-proxy formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_CELL_PROXY_H__ #define __FO_AREA_TABLE_CELL_PROXY_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTableCellProxy FoAreaTableCellProxy; typedef struct _FoAreaTableCellProxyClass FoAreaTableCellProxyClass; #define FO_TYPE_AREA_TABLE_CELL_PROXY (fo_area_table_cell_proxy_get_type ()) #define FO_AREA_TABLE_CELL_PROXY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TABLE_CELL_PROXY, FoAreaTableCellProxy)) #define FO_AREA_TABLE_CELL_PROXY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TABLE_CELL_PROXY, FoAreaTableCellProxyClass)) #define FO_IS_AREA_TABLE_CELL_PROXY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TABLE_CELL_PROXY)) #define FO_IS_AREA_TABLE_CELL_PROXY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TABLE_CELL_PROXY)) #define FO_AREA_TABLE_CELL_PROXY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TABLE_CELL_PROXY, FoAreaTableCellProxyClass)) GType fo_area_table_cell_proxy_get_type (void) G_GNUC_CONST; FoArea* fo_area_table_cell_proxy_new (void); void fo_area_table_cell_proxy_set_table_cell (FoArea *fo_area, FoArea *new_table_cell); FoArea* fo_area_table_cell_proxy_get_table_cell (FoArea *fo_area); void fo_area_table_cell_proxy_set_row_number (FoArea *fo_area, gint new_row_number); gint fo_area_table_cell_proxy_get_row_number (FoArea *fo_area); void fo_area_table_cell_proxy_set_min_height (FoArea *fo_area, gfloat new_min_height); gfloat fo_area_table_cell_proxy_get_min_height (FoArea *fo_area); G_END_DECLS #endif /* !__FO_AREA_TABLE_CELL_PROXY_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-cell.c0000644000175000017500000005746010761561570015624 00000000000000/* Fo * fo-area-table-cell.c: Area object for 'table-cell' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-reference.h" #include "fo-area-reference-private.h" #include "fo-area-table-cell.h" #include "fo-area-table-cell-private.h" #include "fo-area-table-cell-proxy.h" #include "fo/fo-block-fo.h" #include "fo/fo-table-cell.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-page.h" static void fo_area_table_cell_class_init (FoAreaTableCellClass *klass); static void fo_area_table_cell_finalize (GObject *object); static void fo_area_table_cell_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_table_cell_size_request (FoArea *child); static FoArea* fo_area_table_cell_split_before_height (FoArea *area, gfloat max_height); static gboolean fo_area_table_cell_split_before_height_check (FoArea *area, gfloat max_height); static void fo_area_table_cell_size_adjust (FoArea *area, gpointer data); static void fo_area_table_cell_set_or_split (FoArea *area, gpointer data); static void fo_area_table_cell_update_after_clone (FoArea *clone, FoArea *original); static gpointer parent_class; /** * fo_area_table_cell_get_type: * @void: * * Register the FoAreaTableCell object type. * * Return value: GType value of the FoAreaTableCell object type. **/ GType fo_area_table_cell_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTableCellClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_table_cell_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTableCell), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_REFERENCE, "FoAreaTableCell", &object_info, 0); } return object_type; } static void fo_area_table_cell_class_init (FoAreaTableCellClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_table_cell_finalize; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_table_cell_debug_dump_properties; FO_AREA_CLASS (klass)->size_request = fo_area_table_cell_size_request; FO_AREA_CLASS (klass)->split_before_height = fo_area_table_cell_split_before_height; FO_AREA_CLASS (klass)->split_before_height_check = fo_area_table_cell_split_before_height_check; FO_AREA_CLASS (klass)->update_after_clone = fo_area_table_cell_update_after_clone; } static void fo_area_table_cell_finalize (GObject *object) { FoAreaTableCell *fo_area_table_cell; fo_area_table_cell = FO_AREA_TABLE_CELL (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_table_cell_new: * * Creates a new #FoAreaTableCell initialized to default value. * * Return value: the new #FoAreaTableCell **/ FoArea* fo_area_table_cell_new (void) { return FO_AREA (g_object_new (fo_area_table_cell_get_type (), NULL)); } /** * fo_area_table_cell_debug_dump_properties: * @area: The #FoArea object * @depth: Indent level to add to the output * * Logs the value of each significant property of @area then calls * debug_dump_properties method of parent class. **/ void fo_area_table_cell_debug_dump_properties (FoArea *area, gint depth) { FoAreaTableCell *table_cell; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_TABLE_CELL (area)); table_cell = FO_AREA_TABLE_CELL (area); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } /** * fo_area_table_cell_size_adjust: * @area: #FoArea node to be placed within parent * @data: Not used * * Place @area within its parent and adjust the parent's next-x and * next-y properties accordingly. **/ void fo_area_table_cell_size_adjust (FoArea *area, gpointer data G_GNUC_UNUSED) { g_return_if_fail (FO_IS_AREA (area)); g_return_if_fail (FO_IS_AREA_TABLE_CELL (fo_area_parent (area))); FoArea *table_cell = fo_area_parent (area); fo_area_area_set_x (area, fo_area_get_next_x (table_cell) + fo_area_area_get_start_indent (area)); fo_area_area_set_y (area, fo_area_get_next_y (table_cell) - fo_area_area_get_space_before (area)); fo_area_set_next_x (table_cell, fo_area_area_get_border_before (table_cell) + fo_area_area_get_padding_before (table_cell)); fo_area_set_next_y (table_cell, fo_area_get_next_y (table_cell) - fo_area_area_get_height (area)); fo_area_set_available_height (area, fo_area_area_get_height (area)); fo_area_set_available_width (area, fo_area_get_child_available_ipdim (table_cell)); } /** * fo_area_table_cell_set_or_split: * @area: #FoArea to be either placed within the parent area or split * into two areas * @data: Not used * * **/ void fo_area_table_cell_set_or_split (FoArea *area, gpointer data G_GNUC_UNUSED) { FoArea *table_cell; gfloat table_cell_child_available_bpdim; g_return_if_fail (FO_IS_AREA (area)); g_return_if_fail (FO_IS_AREA_TABLE_CELL (fo_area_parent (area))); table_cell = fo_area_parent (area); table_cell_child_available_bpdim = fo_area_get_child_available_bpdim (table_cell); if ((table_cell_child_available_bpdim - (fo_area_get_next_y (table_cell) - fo_area_area_get_height (area))) >= 0) { fo_area_area_set_x (area, fo_area_get_next_x (table_cell) + fo_area_area_get_start_indent (area)); fo_area_area_set_y (area, fo_area_get_next_y (table_cell)); fo_area_set_next_x (table_cell, fo_area_area_get_border_before (table_cell) + fo_area_area_get_padding_before (table_cell)); fo_area_set_next_y (table_cell, fo_area_get_next_y (table_cell) - fo_area_area_get_height (area)); fo_area_set_available_height (area, fo_area_area_get_height (area)); fo_area_set_available_width (area, fo_area_get_child_available_ipdim (table_cell)); } else { #if defined(LIBFO_DEBUG) && 1 g_message ("table_cell_set_or_split:: splitting:: child: %s; generated by: %s", fo_object_debug_sprintf (area) , fo_object_debug_sprintf (area->generated_by)); #endif area = fo_area_split_before_height (area, table_cell_child_available_bpdim - fo_area_area_get_height (table_cell)); table_cell = fo_area_parent (area); table_cell_child_available_bpdim = fo_area_get_child_available_bpdim (table_cell); } } /** * fo_area_table_cell_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_table_cell_size_request (FoArea *child) { g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (fo_area_parent (child) != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_TABLE_CELL (fo_area_parent (child)), NULL); /* The area that is the return value of this procedure. */ FoArea *return_child; /* Used when determining the return value. */ FoArea *child_original_next_part = child->next_part; /* The table cell containing the area that issued this request. */ FoArea *table_cell = fo_area_parent (child); /* The length available for all children of this table cell. */ gfloat table_cell_child_available_bpdim = fo_area_get_child_available_bpdim (table_cell); /* Find the total height of all children. */ gfloat total_child_height = 0.0; fo_area_children_foreach (table_cell, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); /* Ideally, this table cell would be just big enough for its borders and padding plus the height needed for its children. */ gfloat table_cell_target_height = total_child_height + fo_area_area_get_border_before (table_cell) + fo_area_area_get_padding_before (table_cell) + fo_area_area_get_padding_after (table_cell) + fo_area_area_get_border_after (table_cell); /* The FoFo that generated this table cell may have set the allowed height. */ FoDatatype *fo_cell_bpdim = fo_property_get_value (fo_table_cell_get_block_progression_dimension (table_cell->generated_by)); gfloat table_cell_use_height = 0.0; if (FO_IS_LENGTH_RANGE (fo_cell_bpdim)) { FoDatatype *min_datatype = fo_length_range_get_minimum (fo_cell_bpdim); FoDatatype *opt_datatype = fo_length_range_get_optimum (fo_cell_bpdim); FoDatatype *max_datatype = fo_length_range_get_maximum (fo_cell_bpdim); if (FO_IS_LENGTH (min_datatype) && table_cell_target_height <= fo_length_get_value (min_datatype)) { table_cell_use_height = fo_length_get_value (min_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_cell_size_request:: target: %g; min: %g", table_cell_target_height, fo_length_get_value (min_datatype)); #endif } else if (FO_IS_LENGTH (opt_datatype) && table_cell_target_height < fo_length_get_value (opt_datatype)) { table_cell_use_height = fo_length_get_value (opt_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_cell_size_request:: target: %g; opt: %g", table_cell_target_height, fo_length_get_value (opt_datatype)); #endif } else if (FO_IS_LENGTH (max_datatype) && fo_length_get_value (max_datatype) < table_cell_target_height) { table_cell_use_height = fo_length_get_value (max_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_cell_size_request:: target: %g; max: %g", table_cell_target_height, fo_length_get_value (max_datatype)); #endif } else { table_cell_use_height = table_cell_target_height; } } else { /* The 'block_progression_dimension' property should only ever be a length-range. */ g_assert_not_reached (); } /* The available height may be less than what is required (or what is allowed by the FoFo). */ if (table_cell_child_available_bpdim < table_cell_use_height) { /* Set the height to what we want, and then let the parent area work out what the available height should be. */ fo_area_area_set_height (table_cell, table_cell_use_height); table_cell = fo_area_size_request (table_cell); /* The row will have set this cell's available height. If there are other cells in the row that need more height, the available height may have been more than requested. */ fo_area_area_set_height (table_cell, fo_area_get_available_height (table_cell)); table_cell_child_available_bpdim = MAX (fo_area_get_available_height (table_cell) - fo_area_area_get_border_before (table_cell) - fo_area_area_get_padding_before (table_cell) - fo_area_area_get_padding_after (table_cell) - fo_area_area_get_border_after (table_cell), 0); fo_area_set_child_available_bpdim (table_cell, table_cell_child_available_bpdim); } /* Work out the total child height again because this area's parent area may have adjusted the children. */ total_child_height = 0.0; fo_area_children_foreach (table_cell, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); /* Work out the new target height. */ table_cell_target_height = total_child_height + fo_area_area_get_border_before (table_cell) + fo_area_area_get_padding_before (table_cell) + fo_area_area_get_padding_after (table_cell) + fo_area_area_get_border_after (table_cell); /* In the absence of 'display-align', the first child is placed just inside the borders and padding of this table cell. */ fo_area_set_next_x (table_cell, fo_area_area_get_border_start (table_cell) + fo_area_area_get_padding_start (table_cell)); fo_area_set_next_y (table_cell, - (fo_area_area_get_border_before (table_cell) + fo_area_area_get_padding_before (table_cell))); if (table_cell_target_height <= table_cell_child_available_bpdim) { FoDatatype *fo_cell_display_align = fo_property_get_value (fo_table_cell_get_display_align (table_cell->generated_by)); FoEnumEnum display_align = fo_enum_get_value (fo_cell_display_align); gfloat next_y; switch (display_align) { case FO_ENUM_ENUM_AUTO: /* Treat as 'before' while 'relative-align' is unimplemented. */ case FO_ENUM_ENUM_BEFORE: next_y = - (fo_area_area_get_border_before (table_cell) + fo_area_area_get_padding_before (table_cell)); break; case FO_ENUM_ENUM_CENTER: next_y = - (fo_area_area_get_border_before (table_cell) + fo_area_area_get_padding_before (table_cell) + (table_cell_child_available_bpdim - total_child_height) / 2.0); break; case FO_ENUM_ENUM_AFTER: next_y = - (fo_area_area_get_border_before (table_cell) + fo_area_area_get_padding_before (table_cell) + (table_cell_child_available_bpdim - total_child_height)); break; default: g_assert_not_reached (); } fo_area_set_next_y (table_cell, next_y); /* Since the children all fit within the allowed height, adjust their sizes and positions in sequence. */ fo_area_children_foreach (table_cell, G_TRAVERSE_ALL, &fo_area_table_cell_size_adjust, NULL); } else { /* Since the children don't all fit, place the ones that fit in the available height, and split at or before the allowed height. */ fo_area_children_foreach (table_cell, G_TRAVERSE_ALL, &fo_area_table_cell_set_or_split, NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("table_cell_size_request (%p):: total > available:: return:: table_cell->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (table_cell)), fo_object_debug_sprintf (fo_area_last_child (table_cell)->generated_by)); #endif } /* The result will be the current child unless the child has been split, in which case the result is the portion after the last split. */ return_child = child; while ((return_child->next_part != NULL) && (return_child->next_part != child_original_next_part)) { return_child = return_child->next_part; } return return_child; } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ FoArea* fo_area_table_cell_split_before_height (FoArea *area, gfloat max_height) { FoArea *use_child_area; gfloat minus_child_y = 0.0; gfloat child_height = 0.0; g_return_val_if_fail (FO_IS_AREA_TABLE_CELL (area), NULL); g_return_val_if_fail (fo_area_n_children (area) > 0, NULL); g_return_val_if_fail (max_height > 0, NULL); /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return NULL; use_child_area = fo_area_first_child (area); while (use_child_area) { minus_child_y = -fo_area_area_get_y (use_child_area); child_height = fo_area_area_get_height (use_child_area); if (minus_child_y + child_height >= max_height) break; else use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 1 g_message ("table_cell_split_before_height:: splitting: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (fo_area_get_generated_by (use_child_area)), fo_area_area_get_y (use_child_area), fo_area_area_get_height (use_child_area)); #endif if (use_child_area == NULL) return NULL; if (minus_child_y >= max_height) { /* max_height falls before use_child_area, i.e. in space between areas */ if (use_child_area == fo_area_first_child (area)) { return NULL; } else { FoFo *child_fo = fo_area_get_generated_by (use_child_area); FoDatatype *child_kwpwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoDatatype *child_kwpwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoFo *prev_child_fo = fo_area_get_generated_by (fo_area_prev_sibling (use_child_area)); FoDatatype *prev_child_kwnwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); FoDatatype *prev_child_kwnwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); /* FIXME: Need to handle integer keeps */ if ((FO_IS_ENUM (prev_child_kwnwp_datatype) && fo_enum_get_value (prev_child_kwnwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (prev_child_kwnwc_datatype) && fo_enum_get_value (prev_child_kwnwc_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwp_datatype) && fo_enum_get_value (child_kwpwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwc_datatype) && fo_enum_get_value (child_kwpwc_datatype) == FO_ENUM_ENUM_AUTO)) { /* If got to here, all relevant keeps are 'auto' */ FoArea *clone = fo_area_clone (area); fo_area_unlink_with_next_siblings (use_child_area); fo_area_insert_with_next_siblings (clone, 0, use_child_area); return clone; } else { gfloat minus_prev_y = fo_area_area_get_y (fo_area_prev_sibling (use_child_area)); gfloat prev_height = fo_area_area_get_height (fo_area_prev_sibling (use_child_area)); /* If can't split between use_child_area and previous, maybe can split at lower height */ return fo_area_table_cell_split_before_height (area, minus_prev_y + prev_height); } } } else { /* max_height falls within use_child_area */ gboolean child_can_split = fo_area_split_before_height_check (use_child_area, max_height - minus_child_y); if (child_can_split) { FoArea *clone = fo_area_clone (area); FoArea *split_child = fo_area_split_before_height (use_child_area, max_height - minus_child_y); fo_area_unlink_with_next_siblings (split_child); fo_area_insert_with_next_siblings (clone, 0, split_child); return clone; } else { /* If can't split use_child_area, maybe can split at lower height */ return fo_area_table_cell_split_before_height (area, minus_child_y); } } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ gboolean fo_area_table_cell_split_before_height_check (FoArea *area, gfloat max_height) { FoArea *use_child_area; gfloat minus_child_y = 0.0; gfloat child_height = 0.0; g_return_val_if_fail (FO_IS_AREA_TABLE_CELL (area), FALSE); g_return_val_if_fail (fo_area_n_children (area) > 0, FALSE); /* FIXME: Getting max_height value of '-0'. */ g_return_val_if_fail (max_height >= 0, FALSE); /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return FALSE; use_child_area = fo_area_first_child (area); while (use_child_area) { minus_child_y = -fo_area_area_get_y (use_child_area); child_height = fo_area_area_get_height (use_child_area); if (minus_child_y + child_height >= max_height) break; else use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 1 g_message ("table_cell_split_before_height_check:: splitting: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (fo_area_get_generated_by (use_child_area)), fo_area_area_get_y (use_child_area), fo_area_area_get_height (use_child_area)); #endif if (use_child_area == NULL) return FALSE; if (minus_child_y >= max_height) { /* max_height falls before use_child_area, i.e. in space between areas */ if (use_child_area == fo_area_first_child (area)) { return FALSE; } else { FoFo *child_fo = fo_area_get_generated_by (use_child_area); FoDatatype *child_kwpwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoDatatype *child_kwpwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoFo *prev_child_fo = fo_area_get_generated_by (fo_area_prev_sibling (use_child_area)); FoDatatype *prev_child_kwnwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); FoDatatype *prev_child_kwnwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); /* FIXME: Need to handle integer keeps */ if ((FO_IS_ENUM (prev_child_kwnwp_datatype) && fo_enum_get_value (prev_child_kwnwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (prev_child_kwnwc_datatype) && fo_enum_get_value (prev_child_kwnwc_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwp_datatype) && fo_enum_get_value (child_kwpwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwc_datatype) && fo_enum_get_value (child_kwpwc_datatype) == FO_ENUM_ENUM_AUTO)) { /* If got to here, all relevant keeps are 'auto' */ return TRUE; } else { gfloat minus_prev_y = fo_area_area_get_y (fo_area_prev_sibling (use_child_area)); gfloat prev_height = fo_area_area_get_height (fo_area_prev_sibling (use_child_area)); /* If can't split between use_child_area and previous, maybe can split at lower height */ return fo_area_table_cell_split_before_height_check (area, minus_prev_y + prev_height); } } } else { /* max_height falls within use_child_area */ gboolean child_can_split = fo_area_split_before_height_check (use_child_area, max_height - minus_child_y); if (child_can_split) { return TRUE; } else { /* If can't split use_child_area, maybe can split at lower height */ return fo_area_table_cell_split_before_height_check (area, minus_child_y); } } } /** * fo_area_table_cell_update_after_clone: * @clone: New object cloned from @original * @original: Original area object * * Update the FoAreaTableCell-specific instance variables of @clone to * match those of @original **/ void fo_area_table_cell_update_after_clone (FoArea *clone, FoArea *original) { FO_AREA_CLASS (parent_class)->update_after_clone (clone, original); fo_area_set_child_available_ipdim (clone, fo_area_get_child_available_ipdim (original)); fo_area_area_set_width (clone, fo_area_area_get_width (original)); } xmlroff-0.6.2/libfo/area/fo-area-table-cell.h0000644000175000017500000000244310643167443015620 00000000000000/* Fo * fo-area-table-cell.c: Area object for table-cell formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_CELL_H__ #define __FO_AREA_TABLE_CELL_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTableCell FoAreaTableCell; typedef struct _FoAreaTableCellClass FoAreaTableCellClass; #define FO_TYPE_AREA_TABLE_CELL (fo_area_table_cell_get_type ()) #define FO_AREA_TABLE_CELL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TABLE_CELL, FoAreaTableCell)) #define FO_AREA_TABLE_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TABLE_CELL, FoAreaTableCellClass)) #define FO_IS_AREA_TABLE_CELL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TABLE_CELL)) #define FO_IS_AREA_TABLE_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TABLE_CELL)) #define FO_AREA_TABLE_CELL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TABLE_CELL, FoAreaTableCellClass)) GType fo_area_table_cell_get_type (void) G_GNUC_CONST; FoArea *fo_area_table_cell_new (void); G_END_DECLS #endif /* !__FO_AREA_TABLE_CELL_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-continuation-private.h0000644000175000017500000000136510643167443021065 00000000000000/* Fo * fo-area-table-continuation-private.h: Private information for non-standard * 'table-continuation' area objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_CONTINUATION_PRIVATE_H__ #define __FO_AREA_TABLE_CONTINUATION_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoAreaTableContinuation { FoAreaTable parent_instance; FoArea *table; FoArea *table_header; }; struct _FoAreaTableContinuationClass { FoAreaTableClass parent_class; }; G_END_DECLS #endif /* !__FO_AREA_TABLE_CONTINUATION_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-continuation.c0000644000175000017500000006164110723527276017416 00000000000000/* Fo * fo-area-table-continuation.c: Area object for 'table-continuation' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-reference.h" #include "fo-area-reference-private.h" #include "fo-area-table-continuation.h" #include "fo-area-table-continuation-private.h" #include "fo-area-table-header.h" #include "fo/fo-block-fo.h" #include "fo/fo-table.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-page.h" static void fo_area_table_continuation_class_init (FoAreaTableContinuationClass *klass); static void fo_area_table_continuation_finalize (GObject *object); static void fo_area_table_continuation_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_table_continuation_size_request (FoArea *child); static FoArea* fo_area_table_continuation_split_before_height (FoArea *area, gfloat max_height); static gboolean fo_area_table_continuation_split_before_height_check (FoArea *area, gfloat max_height); static void fo_area_table_continuation_size_adjust (FoArea *area, gpointer data); static void fo_area_table_continuation_set_or_split (FoArea *area, gpointer data); static void fo_area_table_continuation_update_after_clone (FoArea *clone, FoArea *original); static gpointer parent_class; /** * fo_area_table_continuation_get_type: * @void: * * Register the FoAreaTableContinuation object type. * * Return value: GType value of the FoAreaTableContinuation object type. **/ GType fo_area_table_continuation_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTableContinuationClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_table_continuation_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTableContinuation), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_TABLE, "FoAreaTableContinuation", &object_info, 0); } return object_type; } static void fo_area_table_continuation_class_init (FoAreaTableContinuationClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_table_continuation_finalize; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_table_continuation_debug_dump_properties; FO_AREA_CLASS (klass)->size_request = fo_area_table_continuation_size_request; FO_AREA_CLASS (klass)->split_before_height = fo_area_table_continuation_split_before_height; FO_AREA_CLASS (klass)->split_before_height_check = fo_area_table_continuation_split_before_height_check; FO_AREA_CLASS (klass)->update_after_clone = fo_area_table_continuation_update_after_clone; } static void fo_area_table_continuation_finalize (GObject *object) { FoAreaTableContinuation *fo_area_table_continuation; fo_area_table_continuation = FO_AREA_TABLE_CONTINUATION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_table_continuation_new: * * Creates a new #FoAreaTableContinuation initialized to default value. * * Return value: the new #FoAreaTableContinuation **/ FoArea* fo_area_table_continuation_new (void) { return FO_AREA (g_object_new (fo_area_table_continuation_get_type (), NULL)); } /** * fo_area_table_continuation_debug_dump_properties: * @area: The #FoArea object * @depth: Indent level to add to the output * * Logs the value of each significant property of @area then calls * debug_dump_properties method of parent class. **/ void fo_area_table_continuation_debug_dump_properties (FoArea *area, gint depth) { FoAreaTableContinuation *table_continuation; gchar *indent = g_strnfill (depth * 2, ' '); gchar *fo_sprintf; g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_TABLE_CONTINUATION (area)); table_continuation = FO_AREA_TABLE_CONTINUATION (area); fo_sprintf = fo_object_debug_sprintf (table_continuation->table); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%stable: %s", indent, fo_sprintf); g_free (fo_sprintf); fo_sprintf = fo_object_debug_sprintf (table_continuation->table_header); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%stable-header: %s", indent, fo_sprintf); g_free (fo_sprintf); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } /** * fo_area_table_continuation_size_adjust: * @area: #FoArea node to be placed within parent * @data: Not used * * Place @area within its parent and adjust the parent's next-x and * next-y properties accordingly. **/ void fo_area_table_continuation_size_adjust (FoArea *area, gpointer data G_GNUC_UNUSED) { FoArea *table_continuation; g_return_if_fail (FO_IS_AREA (area)); g_return_if_fail (FO_IS_AREA_TABLE_CONTINUATION (fo_area_parent (area))); table_continuation = fo_area_parent (area); fo_area_area_set_x (area, fo_area_get_next_x (table_continuation) + fo_area_area_get_start_indent (area)); fo_area_area_set_y (area, fo_area_get_next_y (table_continuation) - fo_area_area_get_space_before (area)); fo_area_set_next_x (table_continuation, fo_area_area_get_border_before (table_continuation) + fo_area_area_get_padding_before (table_continuation)); fo_area_set_next_y (table_continuation, fo_area_get_next_y (table_continuation) - fo_area_area_get_height (area)); fo_area_set_available_height (area, fo_area_area_get_height (area)); fo_area_set_available_width (area, fo_area_get_child_available_ipdim (table_continuation)); } /** * fo_area_table_continuation_set_or_split: * @area: #FoArea to be either placed within the parent area or split * into two areas * @data: Not used * * **/ void fo_area_table_continuation_set_or_split (FoArea *area, gpointer data G_GNUC_UNUSED) { FoArea *table_continuation; gfloat table_continuation_child_available_bpdim; g_return_if_fail (FO_IS_AREA (area)); g_return_if_fail (FO_IS_AREA_TABLE_CONTINUATION (fo_area_parent (area))); table_continuation = fo_area_parent (area); table_continuation_child_available_bpdim = fo_area_get_child_available_bpdim (table_continuation); if ((table_continuation_child_available_bpdim - (fo_area_get_next_y (table_continuation) - fo_area_area_get_height (area))) >= 0) { fo_area_area_set_x (area, fo_area_get_next_x (table_continuation) + fo_area_area_get_start_indent (area)); fo_area_area_set_y (area, fo_area_get_next_y (table_continuation)); fo_area_set_next_x (table_continuation, fo_area_area_get_border_before (table_continuation) + fo_area_area_get_padding_before (table_continuation)); fo_area_set_next_y (table_continuation, fo_area_get_next_y (table_continuation) - fo_area_area_get_height (area)); fo_area_set_available_height (area, fo_area_area_get_height (area)); fo_area_set_available_width (area, fo_area_get_child_available_ipdim (table_continuation)); } else { #if defined(LIBFO_DEBUG) && 1 g_message ("table_continuation_set_or_split:: splitting:: child: %s; generated by: %s", fo_object_debug_sprintf (area) , fo_object_debug_sprintf (area->generated_by)); #endif area = fo_area_split_before_height (area, table_continuation_child_available_bpdim - fo_area_area_get_height (table_continuation)); table_continuation = fo_area_parent (area); table_continuation_child_available_bpdim = fo_area_get_child_available_bpdim (table_continuation); } } /** * fo_area_table_continuation_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_table_continuation_size_request (FoArea *child) { FoArea *table_continuation; FoArea *return_child; FoArea *child_original_next_part; FoDatatype *fo_continuation_bpdim; gfloat table_continuation_child_available_bpdim; gfloat table_continuation_use_height = 0.0; gfloat table_continuation_target_height = 0.0; gfloat child_height; gfloat total_child_height = 0.0; g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (fo_area_parent (child) != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_TABLE_CONTINUATION (fo_area_parent (child)), NULL); child_original_next_part = child->next_part; child_height = fo_area_area_get_height (child); table_continuation = fo_area_parent (child); table_continuation_child_available_bpdim = fo_area_get_child_available_bpdim (table_continuation); gfloat table_continuation_header_height = 0.0; if ((FO_AREA_TABLE_CONTINUATION (table_continuation)->table != NULL) && (FO_AREA_TABLE_CONTINUATION (table_continuation)->table_header != NULL)) { table_continuation_header_height = fo_area_area_get_height (FO_AREA_TABLE_CONTINUATION (table_continuation)->table_header); } #if 0 g_message ("table_continuation_size_request:: header_height: %g", table_continuation_header_height); #endif fo_area_children_foreach (table_continuation, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); table_continuation_target_height = table_continuation_header_height + total_child_height + fo_area_area_get_border_before (table_continuation) + fo_area_area_get_padding_before (table_continuation) + fo_area_area_get_padding_after (table_continuation) + fo_area_area_get_border_after (table_continuation); fo_continuation_bpdim = fo_property_get_value (fo_table_get_block_progression_dimension (table_continuation->generated_by)); if (FO_IS_LENGTH_RANGE (fo_continuation_bpdim)) { FoDatatype *min_datatype = fo_length_range_get_minimum (fo_continuation_bpdim); FoDatatype *opt_datatype = fo_length_range_get_optimum (fo_continuation_bpdim); FoDatatype *max_datatype = fo_length_range_get_maximum (fo_continuation_bpdim); if (FO_IS_LENGTH (min_datatype) && table_continuation_target_height <= fo_length_get_value (min_datatype)) { table_continuation_use_height = fo_length_get_value (min_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_continuation_size_request:: target: %g; min: %g", table_continuation_target_height, fo_length_get_value (min_datatype)); #endif } else if (FO_IS_LENGTH (opt_datatype) && table_continuation_target_height < fo_length_get_value (opt_datatype)) { table_continuation_use_height = fo_length_get_value (opt_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_continuation_size_request:: target: %g; opt: %g", table_continuation_target_height, fo_length_get_value (opt_datatype)); #endif } else if (FO_IS_LENGTH (max_datatype) && fo_length_get_value (max_datatype) < table_continuation_target_height) { table_continuation_use_height = fo_length_get_value (max_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_continuation_size_request:: target: %g; max: %g", table_continuation_target_height, fo_length_get_value (max_datatype)); #endif } else { table_continuation_use_height = table_continuation_target_height; } } else { g_assert_not_reached (); } if (table_continuation_child_available_bpdim < table_continuation_use_height) { fo_area_area_set_height (table_continuation, table_continuation_use_height); table_continuation = fo_area_size_request (table_continuation); /* table_continuation_child_available_ipdim = MAX (fo_area_get_available_width (table_continuation) - fo_area_area_get_border_start (table_continuation) - fo_area_area_get_padding_start (table_continuation) - fo_area_area_get_padding_end (table_continuation) - fo_area_area_get_border_end (table_continuation), 0); fo_area_set_child_available_ipdim (table_continuation, table_continuation_child_available_ipdim); */ table_continuation_child_available_bpdim = MAX (fo_area_get_available_height (table_continuation) - table_continuation_header_height + fo_area_area_get_border_before (table_continuation) - fo_area_area_get_padding_before (table_continuation) - fo_area_area_get_padding_after (table_continuation) - fo_area_area_get_border_after (table_continuation), 0); fo_area_set_child_available_bpdim (table_continuation, table_continuation_child_available_bpdim); } total_child_height = 0; fo_area_children_foreach (table_continuation, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); table_continuation_target_height = table_continuation_header_height + total_child_height + fo_area_area_get_border_before (table_continuation) + fo_area_area_get_padding_before (table_continuation) + fo_area_area_get_padding_after (table_continuation) + fo_area_area_get_border_after (table_continuation); fo_area_set_next_x (table_continuation, fo_area_area_get_border_start (table_continuation) + fo_area_area_get_padding_start (table_continuation)); fo_area_set_next_y (table_continuation, table_continuation_header_height + - (fo_area_area_get_border_before (table_continuation) + fo_area_area_get_padding_before (table_continuation))); if (table_continuation_target_height <= table_continuation_child_available_bpdim) { fo_area_children_foreach (table_continuation, G_TRAVERSE_ALL, &fo_area_table_continuation_size_adjust, NULL); return_child = child; while ((return_child->next_part != NULL) && (return_child->next_part != child_original_next_part)) { return_child = return_child->next_part; } return return_child; } else { fo_area_children_foreach (table_continuation, G_TRAVERSE_ALL, &fo_area_table_continuation_set_or_split, NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("table_continuation_size_request (%p):: total > available:: return:: table_continuation->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (table_continuation)), fo_object_debug_sprintf (fo_area_last_child (table_continuation)->generated_by)); #endif return_child = child; while ((return_child->next_part != NULL) && (return_child->next_part != child_original_next_part)) { return_child = return_child->next_part; } return return_child; /* return fo_area_last_child (table_continuation); */ } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ FoArea* fo_area_table_continuation_split_before_height (FoArea *area, gfloat max_height) { FoArea *use_child_area; gfloat minus_child_y = 0.0; gfloat child_height = 0.0; g_return_val_if_fail (FO_IS_AREA_TABLE_CONTINUATION (area), NULL); g_return_val_if_fail (fo_area_n_children (area) > 0, NULL); g_return_val_if_fail (max_height > 0, NULL); /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return NULL; use_child_area = fo_area_first_child (area); while (use_child_area) { minus_child_y = -fo_area_area_get_y (use_child_area); child_height = fo_area_area_get_height (use_child_area); if (minus_child_y + child_height >= max_height) break; else use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 1 g_message ("table_continuation_split_before_height:: splitting: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (fo_area_get_generated_by (use_child_area)), fo_area_area_get_y (use_child_area), fo_area_area_get_height (use_child_area)); #endif if (use_child_area == NULL) return NULL; if (minus_child_y >= max_height) { /* max_height falls before use_child_area, i.e. in space between areas */ if (use_child_area == fo_area_first_child (area)) { return NULL; } else { FoFo *child_fo = fo_area_get_generated_by (use_child_area); FoDatatype *child_kwpwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoDatatype *child_kwpwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoFo *prev_child_fo = fo_area_get_generated_by (fo_area_prev_sibling (use_child_area)); FoDatatype *prev_child_kwnwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); FoDatatype *prev_child_kwnwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); /* FIXME: Need to handle integer keeps */ if ((FO_IS_ENUM (prev_child_kwnwp_datatype) && fo_enum_get_value (prev_child_kwnwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (prev_child_kwnwc_datatype) && fo_enum_get_value (prev_child_kwnwc_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwp_datatype) && fo_enum_get_value (child_kwpwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwc_datatype) && fo_enum_get_value (child_kwpwc_datatype) == FO_ENUM_ENUM_AUTO)) { /* If got to here, all relevant keeps are 'auto' */ FoArea *clone = fo_area_clone (area); fo_area_unlink_with_next_siblings (use_child_area); fo_area_insert_with_next_siblings (clone, 0, use_child_area); return clone; } else { gfloat minus_prev_y = fo_area_area_get_y (fo_area_prev_sibling (use_child_area)); gfloat prev_height = fo_area_area_get_height (fo_area_prev_sibling (use_child_area)); /* If can't split between use_child_area and previous, maybe can split at lower height */ return fo_area_table_continuation_split_before_height (area, minus_prev_y + prev_height); } } } else { /* max_height falls within use_child_area */ gboolean child_can_split = fo_area_split_before_height_check (use_child_area, max_height - minus_child_y); if (child_can_split) { FoArea *clone = fo_area_clone (area); FoArea *split_child = fo_area_split_before_height (use_child_area, max_height - minus_child_y); fo_area_unlink_with_next_siblings (split_child); fo_area_insert_with_next_siblings (clone, 0, split_child); return clone; } else { /* If can't split use_child_area, maybe can split at lower height */ return fo_area_table_continuation_split_before_height (area, minus_child_y); } } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ gboolean fo_area_table_continuation_split_before_height_check (FoArea *area, gfloat max_height) { FoArea *use_child_area; gfloat minus_child_y = 0.0; gfloat child_height = 0.0; g_return_val_if_fail (FO_IS_AREA_TABLE_CONTINUATION (area), FALSE); g_return_val_if_fail (fo_area_n_children (area) > 0, FALSE); g_return_val_if_fail (max_height > 0, FALSE); /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return FALSE; use_child_area = fo_area_first_child (area); while (use_child_area) { minus_child_y = -fo_area_area_get_y (use_child_area); child_height = fo_area_area_get_height (use_child_area); if (minus_child_y + child_height >= max_height) break; else use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 1 g_message ("table_continuation_split_before_height_check:: splitting: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (fo_area_get_generated_by (use_child_area)), fo_area_area_get_y (use_child_area), fo_area_area_get_height (use_child_area)); #endif if (use_child_area == NULL) return FALSE; if (minus_child_y >= max_height) { /* max_height falls before use_child_area, i.e. in space between areas */ if (use_child_area == fo_area_first_child (area)) { return FALSE; } else { FoFo *child_fo = fo_area_get_generated_by (use_child_area); FoDatatype *child_kwpwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoDatatype *child_kwpwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoFo *prev_child_fo = fo_area_get_generated_by (fo_area_prev_sibling (use_child_area)); FoDatatype *prev_child_kwnwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); FoDatatype *prev_child_kwnwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); /* FIXME: Need to handle integer keeps */ if ((FO_IS_ENUM (prev_child_kwnwp_datatype) && fo_enum_get_value (prev_child_kwnwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (prev_child_kwnwc_datatype) && fo_enum_get_value (prev_child_kwnwc_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwp_datatype) && fo_enum_get_value (child_kwpwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwc_datatype) && fo_enum_get_value (child_kwpwc_datatype) == FO_ENUM_ENUM_AUTO)) { /* If got to here, all relevant keeps are 'auto' */ return TRUE; } else { gfloat minus_prev_y = fo_area_area_get_y (fo_area_prev_sibling (use_child_area)); gfloat prev_height = fo_area_area_get_height (fo_area_prev_sibling (use_child_area)); /* If can't split between use_child_area and previous, maybe can split at lower height */ return fo_area_table_continuation_split_before_height_check (area, minus_prev_y + prev_height); } } } else { /* max_height falls within use_child_area */ gboolean child_can_split = fo_area_split_before_height_check (use_child_area, max_height - minus_child_y); if (child_can_split) { return TRUE; } else { /* If can't split use_child_area, maybe can split at lower height */ return fo_area_table_continuation_split_before_height_check (area, minus_child_y); } } } /** * fo_area_table_continuation_update_after_clone: * @clone: New object cloned from @original * @original: Original area object * * Update the FoAreaTableContinuation-specific instance variables of @clone to * match those of @original **/ void fo_area_table_continuation_update_after_clone (FoArea *clone, FoArea *original) { FoAreaTableContinuation *table_continuation; g_return_if_fail (clone != NULL); g_return_if_fail (FO_IS_AREA_TABLE_CONTINUATION (clone)); g_return_if_fail (original != NULL); g_return_if_fail (FO_IS_AREA_TABLE_CONTINUATION (original) || FO_IS_AREA_TABLE (original)); table_continuation = FO_AREA_TABLE_CONTINUATION (clone); FO_AREA_CLASS (parent_class)->update_after_clone (clone, original); if (FO_IS_AREA_TABLE (original)) { FoArea *child = NULL; table_continuation->table = original; child = fo_area_first_child (original); while (child && G_TYPE_FROM_INSTANCE (child) != FO_TYPE_AREA_TABLE_HEADER) { child = fo_area_next_sibling (child); } table_continuation->table_header = child; } else { table_continuation->table = FO_AREA_TABLE_CONTINUATION (original)->table; table_continuation->table_header = FO_AREA_TABLE_CONTINUATION (original)->table_header; } } xmlroff-0.6.2/libfo/area/fo-area-table-continuation.h0000644000175000017500000000276310643167443017420 00000000000000/* Fo * fo-area-table-continuation.c: Area object for table-continuation formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_CONTINUATION_H__ #define __FO_AREA_TABLE_CONTINUATION_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTableContinuation FoAreaTableContinuation; typedef struct _FoAreaTableContinuationClass FoAreaTableContinuationClass; #define FO_TYPE_AREA_TABLE_CONTINUATION (fo_area_table_continuation_get_type ()) #define FO_AREA_TABLE_CONTINUATION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TABLE_CONTINUATION, FoAreaTableContinuation)) #define FO_AREA_TABLE_CONTINUATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TABLE_CONTINUATION, FoAreaTableContinuationClass)) #define FO_IS_AREA_TABLE_CONTINUATION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TABLE_CONTINUATION)) #define FO_IS_AREA_TABLE_CONTINUATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TABLE_CONTINUATION)) #define FO_AREA_TABLE_CONTINUATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TABLE_CONTINUATION, FoAreaTableContinuationClass)) GType fo_area_table_continuation_get_type (void) G_GNUC_CONST; FoArea *fo_area_table_continuation_new (void); G_END_DECLS #endif /* !__FO_AREA_TABLE_CONTINUATION_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-footer.c0000644000175000017500000000541610643167443016175 00000000000000/* Fo * fo-area-table-footer.c: Area object for 'table-footer' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-table-part.h" #include "fo-area-table-part-private.h" #include "fo-area-table-footer.h" #include "fo-area-table-cell.h" #include "fo/fo-table.h" #include "property/fo-property-block-progression-dimension.h" struct _FoAreaTableFooter { FoAreaTablePart parent_instance; }; struct _FoAreaTableFooterClass { FoAreaTablePartClass parent_class; }; static void fo_area_table_footer_class_init (FoAreaTableFooterClass *klass); static void fo_area_table_footer_finalize (GObject *object); static gpointer parent_class; /** * fo_area_table_footer_get_type: * @void: * * Register the FoTableFooter object type. * * Return value: GType value of the FoTableFooter object type. **/ GType fo_area_table_footer_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTableFooterClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_table_footer_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTableFooter), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_TABLE_PART, "FoAreaTableFooter", &object_info, 0); } return object_type; } /** * fo_area_table_footer_class_init: * @klass: FoTableFooterClass object to initialise * * Implements GClassInitFunc for FoTableFooterClass **/ void fo_area_table_footer_class_init (FoAreaTableFooterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_table_footer_finalize; } /** * fo_area_table_footer_finalize: * @object: FoTableFooter object to finalize * * Implements GObjectFinalizeFunc for FoTableFooter **/ void fo_area_table_footer_finalize (GObject *object) { FoAreaTableFooter *fo_area_table_footer; fo_area_table_footer = FO_AREA_TABLE_FOOTER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_table_footer_new: * * Creates a new #FoAreaTableFooter initialized to default value. * * Return value: the new #FoAreaTableFooter **/ FoArea* fo_area_table_footer_new (void) { return FO_AREA (g_object_new (fo_area_table_footer_get_type (), NULL)); } xmlroff-0.6.2/libfo/area/fo-area-table-footer.h0000644000175000017500000000253210643167443016176 00000000000000/* Fo * fo-area-table-footer.c: Area object for 'table-footer' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_FOOTER_H__ #define __FO_AREA_TABLE_FOOTER_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTableFooter FoAreaTableFooter; typedef struct _FoAreaTableFooterClass FoAreaTableFooterClass; #define FO_TYPE_AREA_TABLE_FOOTER (fo_area_table_footer_get_type ()) #define FO_AREA_TABLE_FOOTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TABLE_FOOTER, FoAreaTableFooter)) #define FO_AREA_TABLE_FOOTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TABLE_FOOTER, FoAreaTableFooterClass)) #define FO_IS_AREA_TABLE_FOOTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TABLE_FOOTER)) #define FO_IS_AREA_TABLE_FOOTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TABLE_FOOTER)) #define FO_AREA_TABLE_FOOTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TABLE_FOOTER, FoAreaTableFooterClass)) GType fo_area_table_footer_get_type (void) G_GNUC_CONST; FoArea *fo_area_table_footer_new (void); G_END_DECLS #endif /* !__FO_AREA_TABLE_FOOTER_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-header.c0000644000175000017500000000541610643167443016127 00000000000000/* Fo * fo-area-table-header.c: Area object for 'table-header' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-table-part.h" #include "fo-area-table-part-private.h" #include "fo-area-table-header.h" #include "fo-area-table-cell.h" #include "fo/fo-table.h" #include "property/fo-property-block-progression-dimension.h" struct _FoAreaTableHeader { FoAreaTablePart parent_instance; }; struct _FoAreaTableHeaderClass { FoAreaTablePartClass parent_class; }; static void fo_area_table_header_class_init (FoAreaTableHeaderClass *klass); static void fo_area_table_header_finalize (GObject *object); static gpointer parent_class; /** * fo_area_table_header_get_type: * @void: * * Register the FoTableHeader object type. * * Return value: GType value of the FoTableHeader object type. **/ GType fo_area_table_header_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTableHeaderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_table_header_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTableHeader), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_TABLE_PART, "FoAreaTableHeader", &object_info, 0); } return object_type; } /** * fo_area_table_header_class_init: * @klass: FoTableHeaderClass object to initialise * * Implements GClassInitFunc for FoTableHeaderClass **/ void fo_area_table_header_class_init (FoAreaTableHeaderClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_table_header_finalize; } /** * fo_area_table_header_finalize: * @object: FoTableHeader object to finalize * * Implements GObjectFinalizeFunc for FoTableHeader **/ void fo_area_table_header_finalize (GObject *object) { FoAreaTableHeader *fo_area_table_header; fo_area_table_header = FO_AREA_TABLE_HEADER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_table_header_new: * * Creates a new #FoAreaTableHeader initialized to default value. * * Return value: the new #FoAreaTableHeader **/ FoArea* fo_area_table_header_new (void) { return FO_AREA (g_object_new (fo_area_table_header_get_type (), NULL)); } xmlroff-0.6.2/libfo/area/fo-area-table-header.h0000644000175000017500000000253010643167443016126 00000000000000/* Fo * fo-area-table-header.c: Area object for table-header formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_HEADER_H__ #define __FO_AREA_TABLE_HEADER_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTableHeader FoAreaTableHeader; typedef struct _FoAreaTableHeaderClass FoAreaTableHeaderClass; #define FO_TYPE_AREA_TABLE_HEADER (fo_area_table_header_get_type ()) #define FO_AREA_TABLE_HEADER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TABLE_HEADER, FoAreaTableHeader)) #define FO_AREA_TABLE_HEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TABLE_HEADER, FoAreaTableHeaderClass)) #define FO_IS_AREA_TABLE_HEADER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TABLE_HEADER)) #define FO_IS_AREA_TABLE_HEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TABLE_HEADER)) #define FO_AREA_TABLE_HEADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TABLE_HEADER, FoAreaTableHeaderClass)) GType fo_area_table_header_get_type (void) G_GNUC_CONST; FoArea *fo_area_table_header_new (void); G_END_DECLS #endif /* !__FO_AREA_TABLE_HEADER_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-part.c0000644000175000017500000000512310643167443015640 00000000000000/* Fo * fo-area-table-part.c: Area object for table-part formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-area.h" #include "fo-area-area-private.h" #include "fo-area-table-part.h" #include "fo-area-table-part-private.h" #include "fo-area-table-cell.h" #include "fo/fo-table.h" #include "property/fo-property-block-progression-dimension.h" static void fo_area_table_part_class_init (FoAreaTablePartClass *klass); static void fo_area_table_part_finalize (GObject *object); static gpointer parent_class; /** * fo_area_table_part_get_type: * @void: * * Register the FoTablePart object type. * * Return value: GType value of the FoTablePart object type. **/ GType fo_area_table_part_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTablePartClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_table_part_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTablePart), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_AREA, "FoAreaTablePart", &object_info, 0); } return object_type; } /** * fo_area_table_part_class_init: * @klass: FoTablePartClass object to initialise * * Implements GClassInitFunc for FoTablePartClass **/ void fo_area_table_part_class_init (FoAreaTablePartClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_table_part_finalize; } /** * fo_area_table_part_finalize: * @object: FoTablePart object to finalize * * Implements GObjectFinalizeFunc for FoTablePart **/ void fo_area_table_part_finalize (GObject *object) { FoAreaTablePart *fo_area_table_part; fo_area_table_part = FO_AREA_TABLE_PART (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_table_part_new: * * Creates a new #FoAreaTablePart initialized to default value. * * Return value: the new #FoAreaTablePart **/ FoArea* fo_area_table_part_new (void) { return FO_AREA (g_object_new (fo_area_table_part_get_type (), NULL)); } xmlroff-0.6.2/libfo/area/fo-area-table-part.h0000644000175000017500000000244410770023366015644 00000000000000/* Fo * fo-area-table-part.c: Area object for table-part formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_PART_H__ #define __FO_AREA_TABLE_PART_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTablePart FoAreaTablePart; typedef struct _FoAreaTablePartClass FoAreaTablePartClass; #define FO_TYPE_AREA_TABLE_PART (fo_area_table_part_get_type ()) #define FO_AREA_TABLE_PART(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TABLE_PART, FoAreaTablePart)) #define FO_AREA_TABLE_PART_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TABLE_PART, FoAreaTablePartClass)) #define FO_IS_AREA_TABLE_PART(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TABLE_PART)) #define FO_IS_AREA_TABLE_PART_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TABLE_PART)) #define FO_AREA_TABLE_PART_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TABLE_PART, FoAreaTablePartClass)) GType fo_area_table_part_get_type (void) G_GNUC_CONST; FoArea *fo_area_table_part_new (void); G_END_DECLS #endif /* !__FO_AREA_TABLE_PART_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-part-private.h0000644000175000017500000000113110643167443017310 00000000000000/* Fo * fo-area-table-part-private.h: Private information for 'table-part' area objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_PART_PRIVATE_H__ #define __FO_AREA_TABLE_PART_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoAreaTablePart { FoAreaArea parent_instance; }; struct _FoAreaTablePartClass { FoAreaAreaClass parent_class; }; G_END_DECLS #endif /* !__FO_AREA_TABLE_PART_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-private.h0000644000175000017500000000115711062175257016352 00000000000000/* Fo * fo-area-table-private.h: Private information for 'table' area objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_PRIVATE_H__ #define __FO_AREA_TABLE_PRIVATE_H__ #include "area/fo-area-table.h" #include "area/fo-area-reference-private.h" G_BEGIN_DECLS struct _FoAreaTable { FoAreaReference parent_instance; }; struct _FoAreaTableClass { FoAreaReferenceClass parent_class; }; G_END_DECLS FoArea* fo_area_table_get_header (FoArea *table); #endif /* !__FO_AREA_TABLE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table-row.c0000644000175000017500000003170611073720356015503 00000000000000/* Fo * fo-area-table-row.c: Area object for table-row formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-area.h" #include "fo-area-area-private.h" #include "fo-area-table-row.h" #include "fo-area-table-cell.h" #include "fo/fo-table-row.h" #include "property/fo-property-block-progression-dimension.h" struct _FoAreaTableRow { FoAreaArea parent_instance; }; struct _FoAreaTableRowClass { FoAreaAreaClass parent_class; }; static void fo_area_table_row_class_init (FoAreaTableRowClass *klass); static void fo_area_table_row_finalize (GObject *object); static void fo_area_table_row_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_table_row_size_request (FoArea *child); static FoArea* fo_area_table_row_split_before_height (FoArea *area, gfloat max_height); static gboolean fo_area_table_row_split_before_height_check (FoArea *area, gfloat max_height); static gpointer parent_class; /** * fo_area_table_row_get_type: * @void: * * Register the FoTableRow object type. * * Return value: GType value of the FoTableRow object type. **/ GType fo_area_table_row_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTableRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_table_row_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTableRow), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_AREA, "FoAreaTableRow", &object_info, 0); } return object_type; } /** * fo_area_table_row_class_init: * @klass: FoTableRowClass object to initialise * * Implements GClassInitFunc for FoTableRowClass **/ void fo_area_table_row_class_init (FoAreaTableRowClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoAreaClass *area_class = FO_AREA_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_table_row_finalize; area_class->debug_dump_properties = fo_area_table_row_debug_dump_properties; area_class->size_request = fo_area_table_row_size_request; area_class->split_before_height = fo_area_table_row_split_before_height; area_class->split_before_height_check = fo_area_table_row_split_before_height_check; } /** * fo_area_table_row_finalize: * @object: FoTableRow object to finalize * * Implements GObjectFinalizeFunc for FoTableRow **/ void fo_area_table_row_finalize (GObject *object) { FoAreaTableRow *fo_area_table_row; fo_area_table_row = FO_AREA_TABLE_ROW (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_table_row_new: * * Creates a new #FoAreaTableRow initialized to default value. * * Return value: the new #FoAreaTableRow **/ FoArea* fo_area_table_row_new (void) { return FO_AREA (g_object_new (fo_area_table_row_get_type (), NULL)); } /** * fo_area_table_row_debug_dump_properties: * @area: The #FoArea object * @depth: Indent level to add to the output * * Logs the value of each significant property of @area then calls * debug_dump_properties method of parent class. **/ void fo_area_table_row_debug_dump_properties (FoArea *area, gint depth) { FoAreaTableRow *table_row; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_TABLE_ROW (area)); table_row = FO_AREA_TABLE_ROW (area); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } /** * fo_area_table_row_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_table_row_size_request (FoArea *child) { FoArea *use_child_area; FoArea *table_row; FoDatatype *fo_row_bpdim; gfloat max_child_height = 0; gfloat table_row_child_available_ipdim; gfloat table_row_child_available_bpdim; gfloat table_row_use_height = 0; gfloat child_height; g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (fo_area_parent (child) != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_TABLE_ROW (fo_area_parent (child)), NULL); child_height = fo_area_area_get_height (child); table_row = fo_area_parent (child); table_row_child_available_ipdim = MAX (fo_area_get_available_width (table_row), 0); table_row_child_available_bpdim = MAX (fo_area_get_available_height (table_row), 0); /* The simple case is when a cell needs less bpdim than was needed for a previous cell in the row. */ if (child_height <= table_row_child_available_bpdim) { fo_area_set_available_height (child, table_row_child_available_bpdim); return child; } use_child_area = fo_area_first_child (table_row); while (use_child_area) { max_child_height = MAX (max_child_height, fo_area_area_get_height (use_child_area)); use_child_area = fo_area_next_sibling (use_child_area); } fo_row_bpdim = fo_property_get_value (fo_table_row_get_block_progression_dimension (table_row->generated_by)); if (FO_IS_LENGTH_RANGE (fo_row_bpdim)) { FoDatatype *min_datatype = fo_length_range_get_minimum (fo_row_bpdim); FoDatatype *opt_datatype = fo_length_range_get_optimum (fo_row_bpdim); FoDatatype *max_datatype = fo_length_range_get_maximum (fo_row_bpdim); if (FO_IS_LENGTH (min_datatype) && max_child_height <= fo_length_get_value (min_datatype)) { table_row_use_height = fo_length_get_value (min_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_row_size_request:: child: %g; min: %g", max_child_height, fo_length_get_value (min_datatype)); #endif } else if (FO_IS_LENGTH (opt_datatype) && fo_length_get_value (opt_datatype) < max_child_height) { table_row_use_height = fo_length_get_value (opt_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_row_size_request:: child: %g; opt: %g", max_child_height, fo_length_get_value (opt_datatype)); #endif } else if (FO_IS_LENGTH (max_datatype) && fo_length_get_value (max_datatype) < max_child_height) { table_row_use_height = fo_length_get_value (max_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_row_size_request:: child: %g; max: %g", max_child_height, fo_length_get_value (max_datatype)); #endif } else { table_row_use_height = max_child_height; } } else { g_assert_not_reached (); } if (table_row_child_available_bpdim < table_row_use_height) { fo_area_area_set_height (table_row, table_row_use_height); table_row = fo_area_size_request (table_row); table_row_child_available_ipdim = fo_area_get_available_width (table_row); fo_area_set_child_available_ipdim (table_row, table_row_child_available_ipdim); table_row_child_available_bpdim = fo_area_get_available_height (table_row); fo_area_set_child_available_bpdim (table_row, table_row_child_available_bpdim); } use_child_area = fo_area_first_child (table_row); max_child_height = 0; while (use_child_area) { max_child_height = MAX (max_child_height, fo_area_area_get_height (use_child_area)); use_child_area = fo_area_next_sibling (use_child_area); } if (max_child_height <= table_row_child_available_bpdim) { use_child_area = fo_area_first_child (table_row); while (use_child_area) { fo_area_set_available_width (use_child_area, table_row_child_available_ipdim); fo_area_set_available_height (use_child_area, table_row_child_available_bpdim); /* FIXME: Shouldn't setting available height set off something in child to make it set its own height? */ fo_area_area_set_height (use_child_area, table_row_child_available_bpdim); use_child_area = fo_area_next_sibling (use_child_area); } /* FIXME: Should this be last area in FO's glist of areas? Currently is *not* the last area of child unless child is the last child of table_row (which is only true when child appended to table_row). */ return fo_area_last_child (table_row); } else { use_child_area = fo_area_first_child (table_row); while (use_child_area) { if (fo_area_area_get_height (use_child_area) <= table_row_child_available_bpdim) { fo_area_set_available_height (use_child_area, table_row_child_available_bpdim); fo_area_set_available_width (use_child_area, table_row_child_available_ipdim); fo_area_area_set_height (use_child_area, table_row_child_available_bpdim); use_child_area = fo_area_next_sibling (use_child_area); } else { use_child_area = fo_area_split_before_height (use_child_area, table_row_child_available_bpdim); table_row = fo_area_parent (use_child_area); table_row_child_available_ipdim = fo_area_get_available_width (table_row); fo_area_set_child_available_ipdim (table_row, table_row_child_available_ipdim); table_row_child_available_bpdim = fo_area_get_available_height (table_row); fo_area_set_child_available_bpdim (table_row, table_row_child_available_bpdim); /* Don't change use_child_area since need to test again against table_row_child_available_bpdim. */ } } return fo_area_last_child (table_row); } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ FoArea* fo_area_table_row_split_before_height (FoArea *area, gfloat max_height) { FoArea *use_child_area; gboolean can_split = TRUE; g_return_val_if_fail (FO_IS_AREA_TABLE_ROW (area), NULL); g_return_val_if_fail (fo_area_n_children (area) > 0, NULL); g_return_val_if_fail (max_height > 0, NULL); use_child_area = fo_area_first_child (area); while (use_child_area && can_split) { gfloat child_height = fo_area_area_get_height (use_child_area); can_split &= ((child_height <= max_height) || fo_area_split_before_height_check (use_child_area, max_height)); use_child_area = fo_area_next_sibling (use_child_area); } if (can_split) { FoArea *split_child; FoArea *clone = fo_area_clone (area); gfloat max_remaining_child_height = 0; gfloat max_split_child_height = 0; /* area->is_last = FALSE; clone->is_first = FALSE; ((FoAreaArea *)clone)->border_before = 0; */ use_child_area = fo_area_first_child (area); while (use_child_area) { split_child = fo_area_split_before_height (use_child_area, max_height); if (split_child != NULL) { fo_area_unlink (split_child); fo_area_append (clone, split_child); max_remaining_child_height = MAX (max_remaining_child_height, fo_area_area_get_height (use_child_area)); max_split_child_height = MAX (max_split_child_height, fo_area_area_get_height (split_child)); } else { g_warning ("Did not split cell."); } use_child_area = fo_area_next_sibling (use_child_area); } fo_area_area_set_height (area, max_remaining_child_height); fo_area_area_set_height (clone, max_split_child_height); /* fo_area_size_request (area); fo_area_size_request (clone); */ return clone; } else { return NULL; } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ gboolean fo_area_table_row_split_before_height_check (FoArea *area, gfloat max_height) { FoArea *use_child_area; gboolean can_split = TRUE; g_return_val_if_fail (FO_IS_AREA_TABLE_ROW (area), FALSE); g_return_val_if_fail (fo_area_n_children (area) > 0, FALSE); g_return_val_if_fail (max_height > 0, FALSE); use_child_area = fo_area_first_child (area); while (use_child_area && can_split) { gfloat child_height = fo_area_area_get_height (use_child_area); can_split &= ((child_height <= max_height) || fo_area_split_before_height_check (use_child_area, max_height)); use_child_area = fo_area_next_sibling (use_child_area); } return can_split; } xmlroff-0.6.2/libfo/area/fo-area-table-row.h0000644000175000017500000000241210643167443015504 00000000000000/* Fo * fo-area-table-row.c: Area object for table-row formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_ROW_H__ #define __FO_AREA_TABLE_ROW_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTableRow FoAreaTableRow; typedef struct _FoAreaTableRowClass FoAreaTableRowClass; #define FO_TYPE_AREA_TABLE_ROW (fo_area_table_row_get_type ()) #define FO_AREA_TABLE_ROW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TABLE_ROW, FoAreaTableRow)) #define FO_AREA_TABLE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TABLE_ROW, FoAreaTableRowClass)) #define FO_IS_AREA_TABLE_ROW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TABLE_ROW)) #define FO_IS_AREA_TABLE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TABLE_ROW)) #define FO_AREA_TABLE_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TABLE_ROW, FoAreaTableRowClass)) GType fo_area_table_row_get_type (void) G_GNUC_CONST; FoArea *fo_area_table_row_new (void); G_END_DECLS #endif /* !__FO_AREA_TABLE_ROW_H__ */ xmlroff-0.6.2/libfo/area/fo-area-table.c0000644000175000017500000005346111062175315014675 00000000000000/* Fo * fo-area-table.c: Area object for 'table' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area-table-private.h" #include "fo-area-table-continuation.h" #include "fo-area-table-header.h" #include "fo/fo-block-fo.h" #include "fo/fo-table.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-page.h" static void fo_area_table_class_init (FoAreaTableClass *klass); static void fo_area_table_finalize (GObject *object); static void fo_area_table_debug_dump_properties (FoArea *area, gint depth); static FoArea* fo_area_table_size_request (FoArea *child); static FoArea* fo_area_table_split_before_height (FoArea *area, gfloat max_height); static gboolean fo_area_table_split_before_height_check (FoArea *area, gfloat max_height); static void fo_area_table_size_adjust (FoArea *area, gpointer data); static void fo_area_table_set_or_split (FoArea *area, gpointer data); static FoArea* fo_area_table_clone (FoArea *original); static void fo_area_table_update_after_clone (FoArea *clone, FoArea *original); static gpointer parent_class; /** * fo_area_table_get_type: * @void: * * Register the FoAreaTable object type. * * Return value: GType value of the FoAreaTable object type. **/ GType fo_area_table_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTableClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_table_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTable), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_REFERENCE, "FoAreaTable", &object_info, 0); } return object_type; } static void fo_area_table_class_init (FoAreaTableClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_table_finalize; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_table_debug_dump_properties; FO_AREA_CLASS (klass)->size_request = fo_area_table_size_request; FO_AREA_CLASS (klass)->split_before_height = fo_area_table_split_before_height; FO_AREA_CLASS (klass)->split_before_height_check = fo_area_table_split_before_height_check; FO_AREA_CLASS (klass)->clone = fo_area_table_clone; FO_AREA_CLASS (klass)->update_after_clone = fo_area_table_update_after_clone; } static void fo_area_table_finalize (GObject *object) { FoAreaTable *fo_area_table; fo_area_table = FO_AREA_TABLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_table_new: * * Creates a new #FoAreaTable initialized to default value. * * Return value: the new #FoAreaTable **/ FoArea* fo_area_table_new (void) { return FO_AREA (g_object_new (fo_area_table_get_type (), NULL)); } /** * fo_area_table_debug_dump_properties: * @area: The #FoArea object * @depth: Indent level to add to the output * * Logs the value of each significant property of @area then calls * debug_dump_properties method of parent class. **/ void fo_area_table_debug_dump_properties (FoArea *area, gint depth) { FoAreaTable *table; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_TABLE (area)); table = FO_AREA_TABLE (area); g_free (indent); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } FoArea* fo_area_table_get_header (FoArea *table) { g_return_val_if_fail (table != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_TABLE (table), NULL); return FO_AREA (fo_node_get_child_by_type (FO_NODE (table), FO_TYPE_AREA_TABLE_HEADER)); } /** * fo_area_table_size_adjust: * @area: #FoArea node to be placed within parent * @data: Not used * * Place @area within its parent and adjust the parent's next-x and * next-y properties accordingly. **/ void fo_area_table_size_adjust (FoArea *area, gpointer data G_GNUC_UNUSED) { FoArea *table; g_return_if_fail (FO_IS_AREA (area)); g_return_if_fail (FO_IS_AREA_TABLE (fo_area_parent (area))); table = fo_area_parent (area); fo_area_area_set_x (area, fo_area_get_next_x (table) + fo_area_area_get_start_indent (area)); fo_area_area_set_y (area, fo_area_get_next_y (table) - fo_area_area_get_space_before (area)); fo_area_set_next_x (table, fo_area_area_get_border_before (table) + fo_area_area_get_padding_before (table)); fo_area_set_next_y (table, fo_area_get_next_y (table) - fo_area_area_get_height (area)); fo_area_set_available_height (area, fo_area_area_get_height (area)); fo_area_set_available_width (area, fo_area_get_child_available_ipdim (table)); } /** * fo_area_table_set_or_split: * @area: #FoArea to be either placed within the parent area or split * into two areas * @data: Not used * * **/ void fo_area_table_set_or_split (FoArea *area, gpointer data G_GNUC_UNUSED) { FoArea *table; gfloat table_child_available_bpdim; g_return_if_fail (FO_IS_AREA (area)); g_return_if_fail (FO_IS_AREA_TABLE (fo_area_parent (area))); table = fo_area_parent (area); table_child_available_bpdim = fo_area_get_child_available_bpdim (table); if ((table_child_available_bpdim - (fo_area_get_next_y (table) - fo_area_area_get_height (area))) >= 0) { fo_area_area_set_x (area, fo_area_get_next_x (table) + fo_area_area_get_start_indent (area)); fo_area_area_set_y (area, fo_area_get_next_y (table)); fo_area_set_next_x (table, fo_area_area_get_border_before (table) + fo_area_area_get_padding_before (table)); fo_area_set_next_y (table, fo_area_get_next_y (table) - fo_area_area_get_height (area)); fo_area_set_available_height (area, fo_area_area_get_height (area)); fo_area_set_available_width (area, fo_area_get_child_available_ipdim (table)); } else { #if defined(LIBFO_DEBUG) && 1 g_message ("table_set_or_split:: splitting:: child: %s; generated by: %s", fo_object_debug_sprintf (area) , fo_object_debug_sprintf (area->generated_by)); #endif area = fo_area_split_before_height (area, table_child_available_bpdim - fo_area_area_get_height (table)); table = fo_area_parent (area); table_child_available_bpdim = fo_area_get_child_available_bpdim (table); } } /** * fo_area_table_size_request: * @child: Child area * * Check that the parent area of @child has sufficient space for * @child. If not enough space, request that the parent has * sufficient space allocated for it, then adjust @child and its * siblings as necessary to fit into the resized parent area. * * Return value: Pointer to the last area generated from @child after * any reallocation and resizing **/ FoArea* fo_area_table_size_request (FoArea *child) { FoArea *table; FoArea *return_child; FoArea *child_original_next_part; FoDatatype *fo_bpdim; gfloat table_child_available_bpdim; gfloat table_use_height = 0.0; gfloat table_target_height = 0.0; gfloat child_height; gfloat total_child_height = 0.0; g_return_val_if_fail (child != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_AREA (child), NULL); g_return_val_if_fail (!FO_AREA_IS_ROOT (child), NULL); g_return_val_if_fail (fo_area_parent (child) != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_TABLE (fo_area_parent (child)), NULL); child_original_next_part = child->next_part; child_height = fo_area_area_get_height (child); table = fo_area_parent (child); table_child_available_bpdim = fo_area_get_child_available_bpdim (table); fo_area_children_foreach (table, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); table_target_height = total_child_height + fo_area_area_get_border_before (table) + fo_area_area_get_padding_before (table) + fo_area_area_get_padding_after (table) + fo_area_area_get_border_after (table); fo_bpdim = fo_property_get_value (fo_table_get_block_progression_dimension (table->generated_by)); if (FO_IS_LENGTH_RANGE (fo_bpdim)) { FoDatatype *min_datatype = fo_length_range_get_minimum (fo_bpdim); FoDatatype *opt_datatype = fo_length_range_get_optimum (fo_bpdim); FoDatatype *max_datatype = fo_length_range_get_maximum (fo_bpdim); if (FO_IS_LENGTH (min_datatype) && table_target_height <= fo_length_get_value (min_datatype)) { table_use_height = fo_length_get_value (min_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_size_request:: target: %g; min: %g", table_target_height, fo_length_get_value (min_datatype)); #endif } else if (FO_IS_LENGTH (opt_datatype) && table_target_height < fo_length_get_value (opt_datatype)) { table_use_height = fo_length_get_value (opt_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_size_request:: target: %g; opt: %g", table_target_height, fo_length_get_value (opt_datatype)); #endif } else if (FO_IS_LENGTH (max_datatype) && fo_length_get_value (max_datatype) < table_target_height) { table_use_height = fo_length_get_value (max_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_size_request:: target: %g; max: %g", table_target_height, fo_length_get_value (max_datatype)); #endif } else { table_use_height = table_target_height; } } else { g_assert_not_reached (); } if (table_child_available_bpdim < table_use_height) { fo_area_area_set_height (table, table_use_height); table = fo_area_size_request (table); /* table_child_available_ipdim = MAX (fo_area_get_available_width (table) - fo_area_area_get_border_start (table) - fo_area_area_get_padding_start (table) - fo_area_area_get_padding_end (table) - fo_area_area_get_border_end (table), 0); fo_area_set_child_available_ipdim (table, table_child_available_ipdim); */ table_child_available_bpdim = MAX (fo_area_get_available_height (table) - fo_area_area_get_border_before (table) - fo_area_area_get_padding_before (table) - fo_area_area_get_padding_after (table) - fo_area_area_get_border_after (table), 0); fo_area_set_child_available_bpdim (table, table_child_available_bpdim); } total_child_height = 0; fo_area_children_foreach (table, G_TRAVERSE_ALL, &fo_area_accumulate_height, &total_child_height); table_target_height = total_child_height + fo_area_area_get_border_before (table) + fo_area_area_get_padding_before (table) + fo_area_area_get_padding_after (table) + fo_area_area_get_border_after (table); fo_area_set_next_x (table, fo_area_area_get_border_start (table) + fo_area_area_get_padding_start (table)); fo_area_set_next_y (table, - (fo_area_area_get_border_before (table) + fo_area_area_get_padding_before (table))); if (table_target_height <= table_child_available_bpdim) { fo_area_children_foreach (table, G_TRAVERSE_ALL, &fo_area_table_size_adjust, NULL); return_child = child; while ((return_child->next_part != NULL) && (return_child->next_part != child_original_next_part)) { return_child = return_child->next_part; } return return_child; } else { fo_area_children_foreach (table, G_TRAVERSE_ALL, &fo_area_table_set_or_split, NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("table_size_request (%p):: total > available:: return:: table->last: %s; generated by: %s", child, fo_object_debug_sprintf (fo_area_last_child (table), fo_object_debug_sprintf (fo_area_last_child (table)->generated_by); #endif return_child = child; while ((return_child->next_part != NULL) && (return_child->next_part != child_original_next_part)) { return_child = return_child->next_part; } return return_child; /* return fo_area_last_child (table); */ } } /* return the new area containing what comes after the split */ /* leave @area as area remaining after split */ FoArea* fo_area_table_split_before_height (FoArea *area, gfloat max_height) { FoArea *use_child_area; gfloat minus_child_y = 0.0; gfloat child_height = 0.0; g_return_val_if_fail (FO_IS_AREA_TABLE (area), NULL); g_return_val_if_fail (fo_area_n_children (area) > 0, NULL); g_return_val_if_fail (fo_area_n_children (area) <= 3, NULL); g_return_val_if_fail (max_height > 0, NULL); /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return NULL; use_child_area = fo_area_first_child (area); while (use_child_area) { minus_child_y = -fo_area_area_get_y (use_child_area); child_height = fo_area_area_get_height (use_child_area); if (minus_child_y + child_height >= max_height) break; else use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 1 g_message ("table_split_before_height:: splitting: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (fo_area_get_generated_by (use_child_area)), fo_area_area_get_y (use_child_area), fo_area_area_get_height (use_child_area)); #endif if (use_child_area == NULL) return NULL; if (minus_child_y >= max_height) { /* max_height falls before use_child_area, i.e. in space between areas */ if (use_child_area == fo_area_first_child (area)) { return NULL; } else { FoFo *child_fo = fo_area_get_generated_by (use_child_area); FoDatatype *child_kwpwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoDatatype *child_kwpwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoFo *prev_child_fo = fo_area_get_generated_by (fo_area_prev_sibling (use_child_area)); FoDatatype *prev_child_kwnwp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); FoDatatype *prev_child_kwnwc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); /* FIXME: Need to handle integer keeps */ if ((FO_IS_ENUM (prev_child_kwnwp_datatype) && fo_enum_get_value (prev_child_kwnwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (prev_child_kwnwc_datatype) && fo_enum_get_value (prev_child_kwnwc_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwp_datatype) && fo_enum_get_value (child_kwpwp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwpwc_datatype) && fo_enum_get_value (child_kwpwc_datatype) == FO_ENUM_ENUM_AUTO)) { /* If got to here, all relevant keeps are 'auto' */ FoArea *clone = fo_area_clone (area); fo_area_unlink_with_next_siblings (use_child_area); fo_area_insert_with_next_siblings (clone, 0, use_child_area); return clone; } else { gfloat minus_prev_y = fo_area_area_get_y (fo_area_prev_sibling (use_child_area)); gfloat prev_height = fo_area_area_get_height (fo_area_prev_sibling (use_child_area)); /* If can't split between use_child_area and previous, maybe can split at lower height */ return fo_area_table_split_before_height (area, minus_prev_y + prev_height); } } } else { /* max_height falls within use_child_area */ gboolean child_can_split = fo_area_split_before_height_check (use_child_area, max_height - minus_child_y); if (child_can_split) { FoArea *clone = fo_area_clone (area); FoArea *split_child = fo_area_split_before_height (use_child_area, max_height - minus_child_y); fo_area_unlink_with_next_siblings (split_child); fo_area_insert_with_next_siblings (clone, 0, split_child); return clone; } else { /* If can't split use_child_area, maybe can split at lower height */ return fo_area_table_split_before_height (area, minus_child_y); } } } /* return %TRUE if the area will split within the height */ gboolean fo_area_table_split_before_height_check (FoArea *area, gfloat max_height) { FoArea *use_child_area; gfloat minus_child_y = 0.0; gfloat child_height = 0.0; g_return_val_if_fail (FO_IS_AREA_TABLE (area), FALSE); g_return_val_if_fail (fo_area_n_children (area) > 0, FALSE); g_return_val_if_fail (max_height > 0, FALSE); /* if the current area is less than max height, then no new area */ if (fo_area_area_get_height (area) < max_height) return FALSE; use_child_area = fo_area_first_child (area); while (use_child_area) { minus_child_y = -fo_area_area_get_y (use_child_area); child_height = fo_area_area_get_height (use_child_area); if (minus_child_y + child_height >= max_height) break; else use_child_area = fo_area_next_sibling (use_child_area); } #if defined(LIBFO_DEBUG) && 1 g_message ("table_split_before_height_check:: splitting: area: %s; generated by: %s; y: %f; height: %f", fo_object_debug_sprintf (use_child_area), fo_object_debug_sprintf (fo_area_get_generated_by (use_child_area)), fo_area_area_get_y (use_child_area), fo_area_area_get_height (use_child_area)); #endif if (use_child_area == NULL) return FALSE; if (minus_child_y >= max_height) { /* max_height falls before use_child_area, i.e. in space between areas */ if (use_child_area == fo_area_first_child (area)) { return FALSE; } else { FoFo *child_fo = fo_area_get_generated_by (use_child_area); FoDatatype *child_kwp_wp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoDatatype *child_kwp_wc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_previous (child_fo))); FoFo *prev_child_fo = fo_area_get_generated_by (fo_area_prev_sibling (use_child_area)); FoDatatype *prev_child_kwn_wp_datatype = fo_keep_get_within_page (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); FoDatatype *prev_child_kwn_wc_datatype = fo_keep_get_within_column (fo_property_get_value (fo_block_fo_get_keep_with_next (prev_child_fo))); /* FIXME: Need to handle integer keeps */ if ((FO_IS_ENUM (prev_child_kwn_wp_datatype) && fo_enum_get_value (prev_child_kwn_wp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (prev_child_kwn_wc_datatype) && fo_enum_get_value (prev_child_kwn_wc_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwp_wp_datatype) && fo_enum_get_value (child_kwp_wp_datatype) == FO_ENUM_ENUM_AUTO) && (FO_IS_ENUM (child_kwp_wc_datatype) && fo_enum_get_value (child_kwp_wc_datatype) == FO_ENUM_ENUM_AUTO)) { /* If got to here, all relevant keeps are 'auto' */ return TRUE; } else { gfloat minus_prev_y = fo_area_area_get_y (fo_area_prev_sibling (use_child_area)); gfloat prev_height = fo_area_area_get_height (fo_area_prev_sibling (use_child_area)); /* If can't split between use_child_area and previous, maybe can split at lower height */ return fo_area_table_split_before_height_check (area, minus_prev_y + prev_height); } } } else { /* max_height falls within use_child_area */ gboolean child_can_split = fo_area_split_before_height_check (use_child_area, max_height - minus_child_y); if (child_can_split) { return TRUE; } else { /* If can't split use_child_area, maybe can split at lower height */ return fo_area_table_split_before_height_check (area, minus_child_y); } } } /** * fo_area_table_clone: * @original: Area object to be cloned * * Make a clone of @original and insert the clone after @original in * the area tree. Set instance properties of the clone to match * @original. * * Return value: Clone of @original **/ FoArea* fo_area_table_clone (FoArea *original) { FoArea *clone; g_return_val_if_fail (original != NULL, NULL); g_return_val_if_fail (FO_IS_AREA (original), NULL); clone = FO_AREA (g_object_new (FO_TYPE_AREA_TABLE_CONTINUATION, NULL)); fo_area_update_after_clone (clone, original); return clone; } /** * fo_area_table_update_after_clone: * @clone: New object cloned from @original * @original: Original area object * * Update the FoAreaTable-specific instance variables of @clone to * match those of @original **/ void fo_area_table_update_after_clone (FoArea *clone, FoArea *original) { FO_AREA_CLASS (parent_class)->update_after_clone (clone, original); fo_area_set_child_available_ipdim (clone, fo_area_get_child_available_ipdim (original)); fo_area_area_set_width (clone, fo_area_area_get_width (original)); } xmlroff-0.6.2/libfo/area/fo-area-table.h0000644000175000017500000000225211062175162014672 00000000000000/* Fo * fo-area-table.c: Area object for 'table' formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TABLE_H__ #define __FO_AREA_TABLE_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTable FoAreaTable; typedef struct _FoAreaTableClass FoAreaTableClass; #define FO_TYPE_AREA_TABLE (fo_area_table_get_type ()) #define FO_AREA_TABLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TABLE, FoAreaTable)) #define FO_AREA_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TABLE, FoAreaTableClass)) #define FO_IS_AREA_TABLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TABLE)) #define FO_IS_AREA_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TABLE)) #define FO_AREA_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TABLE, FoAreaTableClass)) GType fo_area_table_get_type (void) G_GNUC_CONST; FoArea *fo_area_table_new (void); G_END_DECLS #endif /* !__FO_AREA_TABLE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-tree.c0000644000175000017500000000506210646231310014532 00000000000000/* Fo * fo-area_tree.c: Formatting object area_tree root * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area.h" #include "fo-area-private.h" #include "fo-area-tree.h" struct _FoAreaTree { FoArea parent_instance; }; struct _FoAreaTreeClass { FoAreaClass parent_class; }; static void fo_area_tree_class_init (FoAreaTreeClass *klass); static void fo_area_tree_finalize (GObject *object); static void fo_area_tree_debug_dump_properties (FoArea *area, gint depth); static gpointer parent_class; GType fo_area_tree_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaTreeClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_tree_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaTree), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA, "FoAreaTree", &object_info, 0); } return object_type; } /** * fo_area_tree_class_init: * @klass: #FoAreaTreeClass object to initialise. * * Implements #GClassInitFunc for #FoAreaTreeClass. **/ void fo_area_tree_class_init (FoAreaTreeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_tree_finalize; FO_AREA_CLASS (klass)->debug_dump_properties = fo_area_tree_debug_dump_properties; } /** * fo_area_tree_finalize: * @object: #FoAreaTree object to finalize. * * Implements #GObjectFinalizeFunc for #FoAreaTree. **/ void fo_area_tree_finalize (GObject *object) { FoAreaTree *area_tree; area_tree = FO_AREA_TREE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_tree_new: * * Creates a new #FoAreaTree initialized to default value. * * Return value: the new #FoAreaTree **/ FoArea* fo_area_tree_new (void) { return FO_AREA (g_object_new (fo_area_tree_get_type (), NULL)); } void fo_area_tree_debug_dump_properties (FoArea *area, gint depth) { g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_TREE (area)); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } xmlroff-0.6.2/libfo/area/fo-area-tree.h0000644000175000017500000000216710643167443014556 00000000000000/* Fo * fo-area-tree.h: Area tree root * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_TREE_H__ #define __FO_AREA_TREE_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaTree FoAreaTree; typedef struct _FoAreaTreeClass FoAreaTreeClass; #define FO_TYPE_AREA_TREE (fo_area_tree_get_type ()) #define FO_AREA_TREE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_TREE, FoAreaTree)) #define FO_AREA_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_TREE, FoAreaTreeClass)) #define FO_IS_AREA_TREE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_TREE)) #define FO_IS_AREA_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_TREE)) #define FO_AREA_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_TREE, FoAreaTreeClass)) GType fo_area_tree_get_type (void) G_GNUC_CONST; FoArea *fo_area_tree_new (void); G_END_DECLS #endif /* !__FO_AREA_TREE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-viewport-reference.c0000644000175000017500000000556710643167443017434 00000000000000/* Fo * fo-area-viewport-reference.c: Combined viewport and reference area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-area-viewport-reference-private.h" static void fo_area_viewport_reference_class_init (FoAreaViewportReferenceClass *klass); static void fo_area_viewport_reference_finalize (GObject *object); static void fo_area_viewport_reference_debug_dump_properties (FoArea *area, gint depth); static gpointer parent_class; GType fo_area_viewport_reference_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoAreaViewportReferenceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_area_viewport_reference_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoAreaViewportReference), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_AREA_REFERENCE, "FoAreaViewportReference", &object_info, 0); } return object_type; } static void fo_area_viewport_reference_class_init (FoAreaViewportReferenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoAreaClass *area_class = FO_AREA_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_area_viewport_reference_finalize; area_class->debug_dump_properties = fo_area_viewport_reference_debug_dump_properties; } static void fo_area_viewport_reference_finalize (GObject *object) { FoAreaViewportReference *fo_area_viewport_reference; fo_area_viewport_reference = FO_AREA_VIEWPORT_REFERENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_area_viewport_reference_new: * * Creates a new #FoAreaViewportReference initialized to default value. * * Return value: the new #FoAreaViewportReference **/ FoArea* fo_area_viewport_reference_new (void) { return FO_AREA (g_object_new (fo_area_viewport_reference_get_type (), NULL)); } void fo_area_viewport_reference_debug_dump_properties (FoArea *area, gint depth) { g_return_if_fail (area != NULL); g_return_if_fail (FO_IS_AREA_VIEWPORT_REFERENCE (area)); FO_AREA_CLASS (parent_class)->debug_dump_properties (area, depth + 1); } FoArea* fo_area_viewport_reference_add_child (FoArea *parent, FoArea *child) { g_return_val_if_fail (parent != NULL, NULL); g_return_val_if_fail (FO_IS_AREA_VIEWPORT_REFERENCE (parent), NULL); g_return_val_if_fail (child != NULL, NULL); return fo_area_real_add_child (parent, child); } xmlroff-0.6.2/libfo/area/fo-area-viewport-reference.h0000644000175000017500000000276010643167443017431 00000000000000/* Fo * fo-area-viewport-reference.h: Combined viewport and reference area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_VIEWPORT_REFERENCE_H__ #define __FO_AREA_VIEWPORT_REFERENCE_H__ #include #include G_BEGIN_DECLS typedef struct _FoAreaViewportReference FoAreaViewportReference; typedef struct _FoAreaViewportReferenceClass FoAreaViewportReferenceClass; #define FO_TYPE_AREA_VIEWPORT_REFERENCE (fo_area_viewport_reference_get_type ()) #define FO_AREA_VIEWPORT_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_AREA_VIEWPORT_REFERENCE, FoAreaViewportReference)) #define FO_AREA_VIEWPORT_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_AREA_VIEWPORT_REFERENCE, FoAreaViewportReferenceClass)) #define FO_IS_AREA_VIEWPORT_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_AREA_VIEWPORT_REFERENCE)) #define FO_IS_AREA_VIEWPORT_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_AREA_VIEWPORT_REFERENCE)) #define FO_AREA_VIEWPORT_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_AREA_VIEWPORT_REFERENCE, FoAreaViewportReferenceClass)) GType fo_area_viewport_reference_get_type (void) G_GNUC_CONST; FoArea *fo_area_viewport_reference_new (void); G_END_DECLS #endif /* !__FO_AREA_VIEWPORT_REFERENCE_H__ */ xmlroff-0.6.2/libfo/area/fo-area-viewport-reference-private.h0000644000175000017500000000133110643167443021072 00000000000000/* Fo * fo-area-viewport-reference-private.h: Structures private to Combined * viewport and reference area object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_AREA_VIEWPORT_REFERENCE_PRIVATE_H__ #define __FO_AREA_VIEWPORT_REFERENCE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoAreaViewportReference { FoAreaReference parent_instance; }; struct _FoAreaViewportReferenceClass { FoAreaReferenceClass parent_class; }; G_END_DECLS #endif /* !__FO_AREA_VIEWPORT_REFERENCE_H__ */ xmlroff-0.6.2/libfo/fo/0000777000175000017500000000000011156164716011710 500000000000000xmlroff-0.6.2/libfo/fo/fo-fo.h0000644000175000017500000001147311034231363012775 00000000000000/* Fo * fo-fo.h: Base formatting object of formatting object system * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FO_H__ #define __FO_FO_H__ #include typedef struct _FoFo FoFo; typedef struct _FoFoClass FoFoClass; #include #include #include #include G_BEGIN_DECLS #define FO_FO_ERROR (fo_fo_error_quark ()) GQuark fo_fo_error_quark (void) G_GNUC_CONST; typedef enum { FO_FO_ERROR_FAILED, /* Generic error code */ FO_FO_ERROR_WARNING, /* Non-fatal error */ FO_FO_ERROR_EMPTY, /* FO should not be empty */ FO_FO_ERROR_NOT_EMPTY, /* FO should be empty */ FO_FO_ERROR_NOT_BLOCK, /* FO should contain (%block;)+ */ FO_FO_ERROR_INVALID_CHILD, /* FO not allowed as child of parent FO */ FO_FO_ERROR_INVALID_CONTENT, /* FO content does not match content model */ FO_FO_ERROR_ENUMERATION_TOKEN, /* Unrecognised enumeration token */ FO_FO_ERROR_DATATYPE, /* Invalid datatype value for property */ FO_FO_ERROR_DATATYPE_REPLACE, /* Invalid datatype value for property replaced */ FO_FO_ERROR_DATATYPE_NULL, /* Invalid datatype value for property: NULL */ FO_FO_ERROR_UNSUPPORTED_PROPERTY, /* Unsupported property */ FO_FO_ERROR_NO_IMAGE, /* No image */ FO_FO_ERROR_LAST } FoFoError; extern const char *fo_fo_error_messages[FO_FO_ERROR_LAST]; #define FO_TYPE_FO (fo_fo_get_type ()) #define FO_FO(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_FO, FoFo)) #define FO_FO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_FO, FoFoClass)) #define FO_IS_FO(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_FO)) #define FO_IS_FO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_FO)) #define FO_FO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_FO, FoFoClass)) typedef struct _FoFoAreaNew2Context FoFoAreaNew2Context; struct _FoFoAreaNew2Context { FoDoc *fo_doc; FoArea *parent_area; FoArea **new_area; gboolean continue_after_error; FoDebugFlag debug_level; FoWarningFlag warning_mode; }; typedef struct _FoFoAreaIterator FoFoAreaIterator; GType fo_fo_get_type (void) G_GNUC_CONST; FoFo *fo_fo_new (void); void fo_fo_debug_dump_properties (FoFo *fo, gint depth); void fo_fo_set_context (FoFo *fo_fo, FoContext *new_context); FoContext* fo_fo_get_context (FoFo *fo_fo); void fo_fo_update_from_context (FoFo *fo_fo, FoContext *context); FoFo * fo_fo_get_flow (FoFo *fo_fo); FoFo * fo_fo_get_tree (FoFo *fo_fo); gboolean fo_fo_get_generate_reference_area (FoFo *fo_fo); gboolean fo_fo_get_allow_mixed_content (FoFo *fo_fo); gboolean fo_fo_validate_content (FoFo *fo, GError **error); gboolean fo_fo_resolve_property_attributes (FoNode *fo_node, gpointer data); void fo_fo_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error); void fo_fo_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); FoFo * fo_fo_clone (FoFo *original); #ifndef FO_DISABLE_DEPRECATED void fo_fo_area_new (FoFo *fo, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level); #endif /* FO_DISABLE_DEPRECATED */ void fo_fo_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error); void fo_fo_trim_whitespace_children (FoFo *fo); /* "validate_content" functions for use with fo_node_traverse() */ gboolean fo_fo_validate_content_empty (FoFo *fo, GError **error); gboolean fo_fo_validate_content_block_plus (FoFo *fo, GError **error); #if 0 /* "validate_content" functions for use with fo_node_children_foreach() */ void fo_fo_validate_pcdata_or_inline (FoNode *fo_node, gboolean *is_not_pcdata_inline); void fo_fo_validate_block_or_whitespace (FoNode *fo_node, gboolean *is_not_block_or_whitespace); #endif void fo_fo_validate_pcdata_inline_block_neutral (FoNode *fo_node, gpointer data); FoFoAreaIterator* fo_fo_get_area_iterator (FoFo *fo); FoArea* fo_fo_area_iterator_get_area (const FoFoAreaIterator *iterator); gboolean fo_fo_area_iterator_next (FoFoAreaIterator *iterator); G_END_DECLS #endif /* !__FO_FO_H__ */ xmlroff-0.6.2/libfo/fo/Makefile.am0000644000175000017500000001450711054604422013655 00000000000000## Process this file with automake to produce Makefile.in INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ -DFO_DISABLE_DEPRECATED \ $(LIBXSLT_CFLAGS) \ $(PANGO_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-fo.la fo_area_c_files = \ fo-block-area.c \ fo-block-area.h \ fo-block-block-area.c \ fo-block-block-area.h \ fo-block-container-area.c \ fo-block-container-area.h \ fo-external-graphic-area.c \ fo-external-graphic-area.h \ fo-flow-area.c \ fo-flow-area.h \ fo-list-block-area.c \ fo-list-block-area.h \ fo-list-item-area.c \ fo-list-item-area.h \ fo-list-item-body-area.c \ fo-list-item-body-area.h \ fo-list-item-label-area.c \ fo-list-item-label-area.h \ fo-region-body-area.c \ fo-region-body-area.h \ fo-table-area.c \ fo-table-area.h \ fo-table-body-area.c \ fo-table-body-area.h \ fo-table-cell-area.c \ fo-table-cell-area.h \ fo-table-footer-area.c \ fo-table-footer-area.h \ fo-table-header-area.c \ fo-table-header-area.h \ fo-table-row-area.c \ fo-table-row-area.h \ fo-page-sequence-area.c \ fo-page-sequence-area.h \ fo-wrapper-block-area.c \ fo-wrapper-block-area.h libfo_fo_includedir = $(includedir)/libfo-0.6/libfo/fo libfo_fo_include_HEADERS = \ fo-fo.h libfo_fo_la_SOURCES = \ $(fo_area_c_files) \ $(libfo_fo_include_HEADERS) \ fo-all-fo.h \ fo-fo.c \ fo-fo-private.h \ fo-inline-fo.c \ fo-inline-fo.h \ fo-block-fo.c \ fo-block-fo.h \ fo-block-fo-private.h \ fo-table-border-fo.c \ fo-table-border-fo.h \ fo-table-border-fo-private.h \ fo-neutral-fo.c \ fo-neutral-fo.h \ fo-text.c \ fo-text.h \ fo-tree.c \ fo-tree.h \ fo-basic-link.c \ fo-basic-link.h \ fo-basic-link-private.h \ fo-bidi-override.c \ fo-bidi-override.h \ fo-bidi-override-private.h \ fo-block.c \ fo-block.h \ fo-block-private.h \ fo-block-block.c \ fo-block-block.h \ fo-block-block-private.h \ fo-block-layout.c \ fo-block-layout.h \ fo-block-layout-private.h \ fo-block-whitespace.c \ fo-block-whitespace.h \ fo-block-whitespace-private.h \ fo-block-container.c \ fo-block-container.h \ fo-block-container-private.h \ fo-character.c \ fo-character.h \ fo-character-private.h \ fo-color-profile.c \ fo-color-profile.h \ fo-color-profile-private.h \ fo-conditional-page-master-reference.c \ fo-conditional-page-master-reference.h \ fo-conditional-page-master-reference-private.h \ fo-declarations.c \ fo-declarations.h \ fo-declarations-private.h \ fo-external-graphic.c \ fo-external-graphic.h \ fo-external-graphic-private.h \ fo-float.c \ fo-float.h \ fo-flow.c \ fo-flow.h \ fo-flow-private.h \ fo-footnote.c \ fo-footnote.h \ fo-footnote-private.h \ fo-footnote-body.c \ fo-footnote-body.h \ fo-footnote-body-private.h \ fo-initial-property-set.c \ fo-initial-property-set.h \ fo-initial-property-set-private.h \ fo-inline.c \ fo-inline.h \ fo-inline-private.h \ fo-inline-container.c \ fo-inline-container.h \ fo-inline-container-private.h \ fo-instream-foreign-object.c \ fo-instream-foreign-object.h \ fo-instream-foreign-object-private.h \ fo-layout-master-set.c \ fo-layout-master-set.h \ fo-layout-master-set-private.h \ fo-leader.c \ fo-leader.h \ fo-leader-private.h \ fo-list-block.c \ fo-list-block.h \ fo-list-block-private.h \ fo-list-item.c \ fo-list-item.h \ fo-list-item-private.h \ fo-list-item-body.c \ fo-list-item-body.h \ fo-list-item-body-private.h \ fo-list-item-label.c \ fo-list-item-label.h \ fo-list-item-label-private.h \ fo-marker.c \ fo-marker.h \ fo-marker-parent.c \ fo-marker-parent.h \ fo-marker-parent-private.h \ fo-multi-case.c \ fo-multi-case.h \ fo-multi-case-private.h \ fo-multi-properties.c \ fo-multi-properties.h \ fo-multi-properties-private.h \ fo-multi-property-set.c \ fo-multi-property-set.h \ fo-multi-property-set-private.h \ fo-multi-switch.c \ fo-multi-switch.h \ fo-multi-switch-private.h \ fo-multi-toggle.c \ fo-multi-toggle.h \ fo-multi-toggle-private.h \ fo-page-number.c \ fo-page-number.h \ fo-page-number-private.h \ fo-page-number-citation.c \ fo-page-number-citation.h \ fo-page-number-citation-private.h \ fo-page-sequence.c \ fo-page-sequence.h \ fo-page-sequence-private.h \ fo-page-sequence-master.c \ fo-page-sequence-master.h \ fo-page-sequence-master-private.h \ fo-region-after.c \ fo-region-after.h \ fo-region-after-private.h \ fo-region-before.c \ fo-region-before.h \ fo-region-before-private.h \ fo-region-body.c \ fo-region-body.h \ fo-region-body-private.h \ fo-region-end.c \ fo-region-end.h \ fo-region-end-private.h \ fo-region-start.c \ fo-region-start.h \ fo-region-start-private.h \ fo-repeatable-page-master-alternatives.c \ fo-repeatable-page-master-alternatives.h \ fo-repeatable-page-master-alternatives-private.h \ fo-repeatable-page-master-reference.c \ fo-repeatable-page-master-reference.h \ fo-repeatable-page-master-reference-private.h \ fo-retrieve-marker.c \ fo-retrieve-marker.h \ fo-root.c \ fo-root.h \ fo-root-private.h \ fo-simple-page-master.c \ fo-simple-page-master.h \ fo-simple-page-master-private.h \ fo-single-page-master-reference.c \ fo-single-page-master-reference.h \ fo-single-page-master-reference-private.h \ fo-static-content.c \ fo-static-content.h \ fo-static-content-private.h \ fo-table.c \ fo-table.h \ fo-table-private.h \ fo-table-and-caption.c \ fo-table-and-caption.h \ fo-table-and-caption-private.h \ fo-table-body.c \ fo-table-body.h \ fo-table-body-private.h \ fo-table-caption.c \ fo-table-caption.h \ fo-table-caption-private.h \ fo-table-cell.c \ fo-table-cell.h \ fo-table-cell-private.h \ fo-table-column.c \ fo-table-column.h \ fo-table-column-private.h \ fo-table-footer.c \ fo-table-footer.h \ fo-table-footer-private.h \ fo-table-header.c \ fo-table-header.h \ fo-table-header-private.h \ fo-table-part.c \ fo-table-part.h \ fo-table-part-private.h \ fo-table-row.c \ fo-table-row.h \ fo-table-row-private.h \ fo-title.c \ fo-title.h \ fo-title-private.h \ fo-wrapper.c \ fo-wrapper.h \ fo-wrapper-private.h \ fo-wrapper-block.c \ fo-wrapper-block.h \ fo-wrapper-block-private.h \ fo-wrapper-inline.c \ fo-wrapper-inline.h \ fo-wrapper-inline-private.h \ fo-wrapper-inline-empty.c \ fo-wrapper-inline-empty.h \ fo-wrapper-inline-empty-private.h \ fo-wrapper-whitespace.c \ fo-wrapper-whitespace.h \ fo-wrapper-whitespace-private.h xmlroff-0.6.2/libfo/fo/Makefile.in0000644000175000017500000010022611155246040013660 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libfo/fo DIST_COMMON = $(libfo_fo_include_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libfo_fo_la_LIBADD = am__objects_1 = fo-block-area.lo fo-block-block-area.lo \ fo-block-container-area.lo fo-external-graphic-area.lo \ fo-flow-area.lo fo-list-block-area.lo fo-list-item-area.lo \ fo-list-item-body-area.lo fo-list-item-label-area.lo \ fo-region-body-area.lo fo-table-area.lo fo-table-body-area.lo \ fo-table-cell-area.lo fo-table-footer-area.lo \ fo-table-header-area.lo fo-table-row-area.lo \ fo-page-sequence-area.lo fo-wrapper-block-area.lo am__objects_2 = am_libfo_fo_la_OBJECTS = $(am__objects_1) $(am__objects_2) fo-fo.lo \ fo-inline-fo.lo fo-block-fo.lo fo-table-border-fo.lo \ fo-neutral-fo.lo fo-text.lo fo-tree.lo fo-basic-link.lo \ fo-bidi-override.lo fo-block.lo fo-block-block.lo \ fo-block-layout.lo fo-block-whitespace.lo \ fo-block-container.lo fo-character.lo fo-color-profile.lo \ fo-conditional-page-master-reference.lo fo-declarations.lo \ fo-external-graphic.lo fo-float.lo fo-flow.lo fo-footnote.lo \ fo-footnote-body.lo fo-initial-property-set.lo fo-inline.lo \ fo-inline-container.lo fo-instream-foreign-object.lo \ fo-layout-master-set.lo fo-leader.lo fo-list-block.lo \ fo-list-item.lo fo-list-item-body.lo fo-list-item-label.lo \ fo-marker.lo fo-marker-parent.lo fo-multi-case.lo \ fo-multi-properties.lo fo-multi-property-set.lo \ fo-multi-switch.lo fo-multi-toggle.lo fo-page-number.lo \ fo-page-number-citation.lo fo-page-sequence.lo \ fo-page-sequence-master.lo fo-region-after.lo \ fo-region-before.lo fo-region-body.lo fo-region-end.lo \ fo-region-start.lo fo-repeatable-page-master-alternatives.lo \ fo-repeatable-page-master-reference.lo fo-retrieve-marker.lo \ fo-root.lo fo-simple-page-master.lo \ fo-single-page-master-reference.lo fo-static-content.lo \ fo-table.lo fo-table-and-caption.lo fo-table-body.lo \ fo-table-caption.lo fo-table-cell.lo fo-table-column.lo \ fo-table-footer.lo fo-table-header.lo fo-table-part.lo \ fo-table-row.lo fo-title.lo fo-wrapper.lo fo-wrapper-block.lo \ fo-wrapper-inline.lo fo-wrapper-inline-empty.lo \ fo-wrapper-whitespace.lo libfo_fo_la_OBJECTS = $(am_libfo_fo_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libfo_fo_la_SOURCES) DIST_SOURCES = $(libfo_fo_la_SOURCES) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libfo_fo_includedir)" libfo_fo_includeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(libfo_fo_include_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ -DFO_DISABLE_DEPRECATED \ $(LIBXSLT_CFLAGS) \ $(PANGO_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-fo.la fo_area_c_files = \ fo-block-area.c \ fo-block-area.h \ fo-block-block-area.c \ fo-block-block-area.h \ fo-block-container-area.c \ fo-block-container-area.h \ fo-external-graphic-area.c \ fo-external-graphic-area.h \ fo-flow-area.c \ fo-flow-area.h \ fo-list-block-area.c \ fo-list-block-area.h \ fo-list-item-area.c \ fo-list-item-area.h \ fo-list-item-body-area.c \ fo-list-item-body-area.h \ fo-list-item-label-area.c \ fo-list-item-label-area.h \ fo-region-body-area.c \ fo-region-body-area.h \ fo-table-area.c \ fo-table-area.h \ fo-table-body-area.c \ fo-table-body-area.h \ fo-table-cell-area.c \ fo-table-cell-area.h \ fo-table-footer-area.c \ fo-table-footer-area.h \ fo-table-header-area.c \ fo-table-header-area.h \ fo-table-row-area.c \ fo-table-row-area.h \ fo-page-sequence-area.c \ fo-page-sequence-area.h \ fo-wrapper-block-area.c \ fo-wrapper-block-area.h libfo_fo_includedir = $(includedir)/libfo-0.6/libfo/fo libfo_fo_include_HEADERS = \ fo-fo.h libfo_fo_la_SOURCES = \ $(fo_area_c_files) \ $(libfo_fo_include_HEADERS) \ fo-all-fo.h \ fo-fo.c \ fo-fo-private.h \ fo-inline-fo.c \ fo-inline-fo.h \ fo-block-fo.c \ fo-block-fo.h \ fo-block-fo-private.h \ fo-table-border-fo.c \ fo-table-border-fo.h \ fo-table-border-fo-private.h \ fo-neutral-fo.c \ fo-neutral-fo.h \ fo-text.c \ fo-text.h \ fo-tree.c \ fo-tree.h \ fo-basic-link.c \ fo-basic-link.h \ fo-basic-link-private.h \ fo-bidi-override.c \ fo-bidi-override.h \ fo-bidi-override-private.h \ fo-block.c \ fo-block.h \ fo-block-private.h \ fo-block-block.c \ fo-block-block.h \ fo-block-block-private.h \ fo-block-layout.c \ fo-block-layout.h \ fo-block-layout-private.h \ fo-block-whitespace.c \ fo-block-whitespace.h \ fo-block-whitespace-private.h \ fo-block-container.c \ fo-block-container.h \ fo-block-container-private.h \ fo-character.c \ fo-character.h \ fo-character-private.h \ fo-color-profile.c \ fo-color-profile.h \ fo-color-profile-private.h \ fo-conditional-page-master-reference.c \ fo-conditional-page-master-reference.h \ fo-conditional-page-master-reference-private.h \ fo-declarations.c \ fo-declarations.h \ fo-declarations-private.h \ fo-external-graphic.c \ fo-external-graphic.h \ fo-external-graphic-private.h \ fo-float.c \ fo-float.h \ fo-flow.c \ fo-flow.h \ fo-flow-private.h \ fo-footnote.c \ fo-footnote.h \ fo-footnote-private.h \ fo-footnote-body.c \ fo-footnote-body.h \ fo-footnote-body-private.h \ fo-initial-property-set.c \ fo-initial-property-set.h \ fo-initial-property-set-private.h \ fo-inline.c \ fo-inline.h \ fo-inline-private.h \ fo-inline-container.c \ fo-inline-container.h \ fo-inline-container-private.h \ fo-instream-foreign-object.c \ fo-instream-foreign-object.h \ fo-instream-foreign-object-private.h \ fo-layout-master-set.c \ fo-layout-master-set.h \ fo-layout-master-set-private.h \ fo-leader.c \ fo-leader.h \ fo-leader-private.h \ fo-list-block.c \ fo-list-block.h \ fo-list-block-private.h \ fo-list-item.c \ fo-list-item.h \ fo-list-item-private.h \ fo-list-item-body.c \ fo-list-item-body.h \ fo-list-item-body-private.h \ fo-list-item-label.c \ fo-list-item-label.h \ fo-list-item-label-private.h \ fo-marker.c \ fo-marker.h \ fo-marker-parent.c \ fo-marker-parent.h \ fo-marker-parent-private.h \ fo-multi-case.c \ fo-multi-case.h \ fo-multi-case-private.h \ fo-multi-properties.c \ fo-multi-properties.h \ fo-multi-properties-private.h \ fo-multi-property-set.c \ fo-multi-property-set.h \ fo-multi-property-set-private.h \ fo-multi-switch.c \ fo-multi-switch.h \ fo-multi-switch-private.h \ fo-multi-toggle.c \ fo-multi-toggle.h \ fo-multi-toggle-private.h \ fo-page-number.c \ fo-page-number.h \ fo-page-number-private.h \ fo-page-number-citation.c \ fo-page-number-citation.h \ fo-page-number-citation-private.h \ fo-page-sequence.c \ fo-page-sequence.h \ fo-page-sequence-private.h \ fo-page-sequence-master.c \ fo-page-sequence-master.h \ fo-page-sequence-master-private.h \ fo-region-after.c \ fo-region-after.h \ fo-region-after-private.h \ fo-region-before.c \ fo-region-before.h \ fo-region-before-private.h \ fo-region-body.c \ fo-region-body.h \ fo-region-body-private.h \ fo-region-end.c \ fo-region-end.h \ fo-region-end-private.h \ fo-region-start.c \ fo-region-start.h \ fo-region-start-private.h \ fo-repeatable-page-master-alternatives.c \ fo-repeatable-page-master-alternatives.h \ fo-repeatable-page-master-alternatives-private.h \ fo-repeatable-page-master-reference.c \ fo-repeatable-page-master-reference.h \ fo-repeatable-page-master-reference-private.h \ fo-retrieve-marker.c \ fo-retrieve-marker.h \ fo-root.c \ fo-root.h \ fo-root-private.h \ fo-simple-page-master.c \ fo-simple-page-master.h \ fo-simple-page-master-private.h \ fo-single-page-master-reference.c \ fo-single-page-master-reference.h \ fo-single-page-master-reference-private.h \ fo-static-content.c \ fo-static-content.h \ fo-static-content-private.h \ fo-table.c \ fo-table.h \ fo-table-private.h \ fo-table-and-caption.c \ fo-table-and-caption.h \ fo-table-and-caption-private.h \ fo-table-body.c \ fo-table-body.h \ fo-table-body-private.h \ fo-table-caption.c \ fo-table-caption.h \ fo-table-caption-private.h \ fo-table-cell.c \ fo-table-cell.h \ fo-table-cell-private.h \ fo-table-column.c \ fo-table-column.h \ fo-table-column-private.h \ fo-table-footer.c \ fo-table-footer.h \ fo-table-footer-private.h \ fo-table-header.c \ fo-table-header.h \ fo-table-header-private.h \ fo-table-part.c \ fo-table-part.h \ fo-table-part-private.h \ fo-table-row.c \ fo-table-row.h \ fo-table-row-private.h \ fo-title.c \ fo-title.h \ fo-title-private.h \ fo-wrapper.c \ fo-wrapper.h \ fo-wrapper-private.h \ fo-wrapper-block.c \ fo-wrapper-block.h \ fo-wrapper-block-private.h \ fo-wrapper-inline.c \ fo-wrapper-inline.h \ fo-wrapper-inline-private.h \ fo-wrapper-inline-empty.c \ fo-wrapper-inline-empty.h \ fo-wrapper-inline-empty-private.h \ fo-wrapper-whitespace.c \ fo-wrapper-whitespace.h \ fo-wrapper-whitespace-private.h all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libfo/fo/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu libfo/fo/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libfo-fo.la: $(libfo_fo_la_OBJECTS) $(libfo_fo_la_DEPENDENCIES) $(LINK) $(libfo_fo_la_LDFLAGS) $(libfo_fo_la_OBJECTS) $(libfo_fo_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-basic-link.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-bidi-override.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-block-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-block-block-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-block-block.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-block-container-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-block-container.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-block-fo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-block-layout.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-block-whitespace.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-block.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-character.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-color-profile.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-conditional-page-master-reference.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-declarations.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-external-graphic-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-external-graphic.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-float.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-flow-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-flow.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-fo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-footnote-body.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-footnote.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-initial-property-set.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-inline-container.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-inline-fo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-inline.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-instream-foreign-object.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-layout-master-set.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-leader.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-list-block-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-list-block.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-list-item-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-list-item-body-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-list-item-body.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-list-item-label-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-list-item-label.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-list-item.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-marker-parent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-marker.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-multi-case.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-multi-properties.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-multi-property-set.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-multi-switch.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-multi-toggle.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-neutral-fo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-page-number-citation.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-page-number.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-page-sequence-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-page-sequence-master.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-page-sequence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-region-after.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-region-before.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-region-body-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-region-body.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-region-end.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-region-start.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-repeatable-page-master-alternatives.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-repeatable-page-master-reference.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-retrieve-marker.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-root.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-simple-page-master.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-single-page-master-reference.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-static-content.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-and-caption.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-body-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-body.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-border-fo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-caption.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-cell-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-cell.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-column.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-footer-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-footer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-header-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-header.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-part.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-row-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table-row.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-table.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-text.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-title.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-tree.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-wrapper-block-area.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-wrapper-block.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-wrapper-inline-empty.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-wrapper-inline.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-wrapper-whitespace.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-wrapper.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-libfo_fo_includeHEADERS: $(libfo_fo_include_HEADERS) @$(NORMAL_INSTALL) test -z "$(libfo_fo_includedir)" || $(mkdir_p) "$(DESTDIR)$(libfo_fo_includedir)" @list='$(libfo_fo_include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(libfo_fo_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libfo_fo_includedir)/$$f'"; \ $(libfo_fo_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libfo_fo_includedir)/$$f"; \ done uninstall-libfo_fo_includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(libfo_fo_include_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(libfo_fo_includedir)/$$f'"; \ rm -f "$(DESTDIR)$(libfo_fo_includedir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(libfo_fo_includedir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-libfo_fo_includeHEADERS install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-libfo_fo_includeHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am \ install-libfo_fo_includeHEADERS install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-info-am \ uninstall-libfo_fo_includeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/libfo/fo/fo-block-area.c0000644000175000017500000003427411054634003014370 00000000000000/* Fo * fo-block-area.c: Block formatting object area creation * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #include #include #include #include "property/fo-property-common-font.h" #include "property/fo-property-text-property.h" #include #include #include #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include #include #include #include #include #if 0 static void fo_block_debug_dump_item (gpointer data, gpointer user_data) { const PangoItem *item = (const PangoItem *) data; const PangoEngine *engine = (const PangoEngine *) item->analysis.shape_engine; PangoFontDescription *font_desc = pango_font_describe (item->analysis.font); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_item:: offset: %d", item->offset); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_item:: length: %d", item->length); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_item:: num_chars: %d", item->num_chars); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_item:: shape_engine: %p", item->analysis.shape_engine); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_item:: shape_engine: %s", engine->id); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_item:: lang_engine: %p", item->analysis.lang_engine); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_item:: font: %p", item->analysis.font); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "dump_item:: font: %s", pango_font_description_to_string (font_desc)); } static void fo_block_debug_dump_item_glist (GList *item_glist) { g_list_foreach (item_glist, fo_block_debug_dump_item, NULL); } static gint fo_block_area_glist_find_attr_type (gpointer pango_attr, gpointer attr_klass) { /* g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "find_attr_type:: attr: %p; klass: %d", pango_attr, GPOINTER_TO_INT (attr_klass)); */ if (((PangoAttribute *) pango_attr)->klass->type == GPOINTER_TO_INT (attr_klass)) { return 0; } else { return -1; } } #endif static void fo_block_area_get_text_attr_list2 (FoFo *parent_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { FoNode *fo_child_node; const FoBlock *fo_block = (const FoBlock *) parent_fo; gint start_index, end_index; start_index = text->len; fo_child_node = fo_node_first_child (FO_NODE (parent_fo)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } end_index = text->len; if (start_index != end_index) { PangoAttribute *pango_attr; *attr_glist = g_list_concat (fo_property_common_font_get_pango_attrs (fo_block->font_family, fo_block->font_size, fo_block->font_stretch, fo_block->font_style, fo_block->font_variant, fo_block->font_weight, start_index, end_index), *attr_glist); /* pango_attr = fo_property_text_property_new_attr (fo_block->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; *attr_glist = g_list_prepend (*attr_glist, pango_attr); */ pango_attr = fo_property_text_property_new_attr (fo_block->color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; *attr_glist = g_list_prepend (*attr_glist, pango_attr); if (FO_IS_COLOR (fo_property_get_value (fo_block->background_color))) { pango_attr = fo_property_text_property_new_attr (fo_block->background_color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; *attr_glist = g_list_prepend (*attr_glist, pango_attr); } /* pango_attr = fo_property_text_property_new_attr (fo_block->keep_together_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; *attr_glist = g_list_prepend (*attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_block->keep_with_next_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; *attr_glist = g_list_prepend (*attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_block->keep_with_previous_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; *attr_glist = g_list_prepend (*attr_glist, pango_attr); */ } #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "block_area_new2:: text: %s", text->str); if (*attr_glist) { PangoAttrList *attr_list = pango_attr_list_new (); g_list_foreach (*attr_glist, fo_block_area_pango_attr_list_add, attr_list); fo_block_debug_dump_attr_list (attr_list); } #endif } void fo_block_area_new (FoFo *block, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level) { g_return_if_fail (block != NULL); g_return_if_fail (FO_IS_BLOCK (block)); g_return_if_fail (FO_IS_DOC (fo_doc)); gfloat parent_child_available_ipdim = fo_area_get_child_available_ipdim (parent_area); gfloat x = fo_area_get_next_x (parent_area); gfloat y = fo_area_get_next_y (parent_area); gfloat border_start_width = fo_length_get_value (fo_property_get_value (fo_block_get_border_start_width (block))); gfloat border_end_width = fo_length_get_value (fo_property_get_value (fo_block_get_border_end_width (block))); gfloat border_before_width = fo_length_get_value (fo_property_get_value (fo_block_get_border_before_width (block))); gfloat border_after_width = fo_length_get_value (fo_property_get_value (fo_block_get_border_after_width (block))); gfloat padding_start = fo_length_get_value (fo_property_get_value (fo_block_get_padding_start (block))); gfloat padding_end = fo_length_get_value (fo_property_get_value (fo_block_get_padding_end (block))); gfloat padding_before = fo_length_get_value (fo_property_get_value (fo_block_get_padding_before (block))); gfloat padding_after = fo_length_get_value (fo_property_get_value (fo_block_get_padding_after (block))); FoDatatype *start_indent_datatype = fo_property_get_value (fo_block_get_start_indent (block)); gfloat start_indent; if (FO_IS_LENGTH (start_indent_datatype)) { start_indent = fo_length_get_value (start_indent_datatype); } else { start_indent = fo_percentage_get_value (start_indent_datatype) * 0.01 * fo_area_area_get_width (parent_area); #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "get_text_attr_list:: start-indent: %f, parent width: %f", fo_percentage_get_value (start_indent_datatype), fo_area_area_get_width (parent_area)); #endif } FoDatatype *end_indent_datatype = fo_property_get_value (fo_block_get_end_indent (block)); gfloat end_indent; if (FO_IS_LENGTH (end_indent_datatype)) { end_indent = fo_length_get_value (end_indent_datatype); } else { end_indent = fo_percentage_get_value (end_indent_datatype) * 0.01 * fo_area_area_get_width (parent_area); #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "get_text_attr_list:: end-indent: %f, parent width: %f", fo_percentage_get_value (end_indent_datatype), fo_area_area_get_width (parent_area)); #endif } gfloat layout_width = parent_child_available_ipdim - (border_start_width + border_end_width + padding_start + padding_end + start_indent + end_indent); FoFontDesc *font_desc = fo_font_desc_copy (fo_doc_get_font_desc (fo_doc)); gchar *font_family = fo_string_get_value (fo_property_get_value (fo_block_get_font_family (block))); fo_font_desc_set_family (font_desc, font_family); g_free (font_family); fo_font_desc_set_size (font_desc, fo_length_get_value (fo_property_get_value (fo_block_get_font_size (block)))); fo_font_desc_set_weight (font_desc, fo_integer_get_value (fo_property_get_value (fo_block_get_font_weight (block)))); fo_font_desc_set_style (font_desc, fo_enum_get_value (fo_property_get_value (fo_block_get_font_style (block)))); fo_font_desc_set_stretch (font_desc, fo_enum_get_value (fo_property_get_value (fo_block_get_font_stretch (block)))); fo_font_desc_set_variant (font_desc, fo_enum_get_value (fo_property_get_value (fo_block_get_font_variant (block)))); FoLayout *fo_layout = fo_doc_get_new_layout (fo_doc); fo_layout_set_width (fo_layout, layout_width); fo_layout_set_line_stacking_strategy (fo_layout, fo_enum_get_value (fo_property_get_value (fo_block_get_line_stacking_strategy (block)))); fo_layout_set_font_desc (fo_layout, font_desc); gfloat line_height = fo_length_get_value (fo_property_get_value (fo_block_get_line_height (block))); fo_layout_set_line_height (fo_layout, line_height); /* FIXME: should be FO-specific dir enum */ PangoDirection base_dir = fo_doc_get_base_dir (fo_doc); fo_layout_set_alignment (fo_layout, base_dir); gfloat text_indent = fo_length_get_value (fo_property_get_value (fo_block_get_text_indent (block))); fo_layout_set_indent (fo_layout, text_indent); /* FIXME: Pango does not justify. fo_layout_set_justify (pango_layout, TRUE); */ GString *text = g_string_new (NULL); GList *attr_glist = NULL; fo_block_area_get_text_attr_list2 (FO_FO (block), fo_doc, text, &attr_glist, debug_level); fo_layout_set_text (fo_layout, text); fo_layout_set_attributes (fo_layout, attr_glist); if (debug_level & FO_DEBUG_PANGO) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "get_text_attr_list:: block text: '%s'", (gchar *) text->str); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "get_text_attr_list:: attr_glist: %p", attr_glist); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "get_text_attr_list:: attr_glist length: %d", g_list_length (attr_glist)); fo_object_debug_dump (fo_layout, 0); } *new_area = fo_area_layout_new_with_layout (fo_layout); FoRectangle logical; fo_layout_get_extents (fo_layout, &logical); fo_area_area_set_height (*new_area, logical.height / PANGO_SCALE + border_before_width + padding_before + border_after_width + padding_after); fo_area_area_set_width (*new_area, MAX (parent_child_available_ipdim - start_indent - end_indent, 0)); fo_area_area_set_x (*new_area, x + start_indent); fo_area_area_set_y (*new_area, y); fo_area_area_set_border_after (*new_area, border_after_width); fo_area_area_set_border_before (*new_area, border_before_width); fo_area_area_set_border_end (*new_area, border_end_width); fo_area_area_set_border_start (*new_area, border_start_width); fo_area_area_set_padding_before (*new_area, padding_before); fo_area_area_set_padding_end (*new_area, padding_end); fo_area_area_set_padding_after (*new_area, padding_after); fo_area_area_set_padding_start (*new_area, padding_start); fo_area_area_set_start_indent (*new_area, start_indent); fo_area_area_set_end_indent (*new_area, end_indent); gfloat space_before = fo_length_get_value (fo_property_get_value (fo_block_get_space_before (block))); fo_area_area_set_space_before (*new_area, space_before); gfloat space_after = fo_length_get_value (fo_property_get_value (fo_block_get_space_after (block))); fo_area_area_set_space_after (*new_area, space_after); fo_area_set_generated_by (*new_area, FO_FO (block)); FO_FO (block)->areas = g_list_append (FO_FO (block)->areas, *new_area); g_object_unref (font_desc); } void fo_block_area_new3 (FoFo *block, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level) { #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "block_area_new3:: *** block parent before adding block:"); fo_object_debug_dump (parent_area, 0); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "block_area_new3:: *** end block parent"); #endif fo_block_area_new (block, fo_doc, parent_area, new_area, debug_level); fo_area_add_child (parent_area, *new_area); *new_area = fo_area_size_request (*new_area); fo_area_resolve_text_align (*new_area); #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "block_area_new3:: *new_area: %s; generated by: %s; parent: %s; generated by: %s", fo_object_debug_sprintf (*new_area), fo_object_debug_sprintf ((*new_area)->generated_by), fo_object_debug_sprintf (fo_area_parent (*new_area)), fo_object_debug_sprintf (fo_area_parent (*new_area->generated_by))); #endif #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "block_area_new3:: *** block parent after adding block:"); fo_object_debug_dump (parent_area, 0); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "block_area_new3:: *** end block parent"); #endif } void fo_block_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error) { g_return_if_fail (FO_IS_FO (fo_node)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); fo_block_area_new (fo_node, context->fo_doc, context->parent_area, context->new_area, context->debug_level); #if defined(LIBFO_DEBUG) && 0 fo_object_debug_dump (*(context->new_area), 0); #endif fo_area_add_child (context->parent_area, *(context->new_area)); *(context->new_area) = fo_area_size_request (*(context->new_area)); fo_area_resolve_text_align (*(context->new_area)); } xmlroff-0.6.2/libfo/fo/fo-block-area.h0000644000175000017500000000142310643167376014404 00000000000000/* Fo * fo-block-area.h: Generate area for block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #ifndef __FO_BLOCK_AREA_H__ #define __FO_BLOCK_AREA_H__ G_BEGIN_DECLS void fo_block_area_new (FoFo *block, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level); void fo_block_area_new3 (FoFo *block, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level); void fo_block_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_BLOCK_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-block-area.c0000644000175000017500000000174710643167376015500 00000000000000/* Fo * fo-block-block-area.c: Generate area for block-block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "area/fo-area-area.h" #include "fo-block-block-private.h" void fo_block_block_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK_BLOCK (fo)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_area_new (); use_parent_area = context->parent_area; fo_area_set_generated_by (new_area, fo); fo->areas = g_list_append (fo->areas, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-block-block-area.h0000644000175000017500000000110510643167375015470 00000000000000/* Fo * fo-block-block-area.h: Generate area for block-block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #ifndef __FO_BLOCK_BLOCK_AREA_H__ #define __FO_BLOCK_BLOCK_AREA_H__ G_BEGIN_DECLS void fo_block_block_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_BLOCK_BLOCK_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-container-area.c0000644000175000017500000000202710643167375016357 00000000000000/* Fo * fo-block-container-area.c: Generate area for block-container formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "area/fo-area-viewport-reference.h" #include "fo-block-container-private.h" void fo_block_container_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_viewport_reference_new (); use_parent_area = context->parent_area; fo_area_set_generated_by (new_area, fo); fo->areas = g_list_append (fo->areas, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-block-container-area.h0000644000175000017500000000107310643167375016364 00000000000000/* Fo * fo-block-container-area.h: Generate area for block-container formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #ifndef __FO_BLOCK_CONTAINER_AREA_H__ #define __FO_BLOCK_CONTAINER_AREA_H__ G_BEGIN_DECLS void fo_block_container_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_BLOCK_CONTAINER_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-external-graphic-area.c0000644000175000017500000001406711034232035016526 00000000000000/* Fo * fo-external-graphic-area.c: Generate area for external-graphic formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include "fo/fo-block-fo.h" #include "area/fo-area-graphic.h" #include "fo/fo-external-graphic-private.h" #include "property/fo-property-text-property.h" #include "fo-doc-commands.h" #include "libfo-pango.h" /* UTF-8 encoding of U+FFFC, OBJECT REPLACEMENT CHARACTER * * ORC = U+FFFC * = 1111 1111 1111 1100 (UTF-16) * = zzzz yyyy yyxx xxxx * = 1110zzzz 10yyyyyy 10xxxxxx (UTF-8) * = 11101111 10111111 10111100 (UTF-8) * = 11 101 111 10 111 111 10 111 100 (UTF-8) * = \357\277\274 (UTF-8) */ #define UTF8_STR_OBJECT_REPLACEMENT_CHAR "\357\277\274" /* U+FFFC */ static void fo_external_graphic_callback_test (gpointer data1, gpointer data2 G_GNUC_UNUSED) { FoExternalGraphic *external_graphic; gfloat xscale; gfloat yscale; g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (data1)); external_graphic = FO_EXTERNAL_GRAPHIC (data1); #if 0 g_message ("Callback called back."); g_message ("callback_test:: object: %s", fo_object_debug_sprintf (data1)); #endif if (external_graphic->fo_image != NULL) { xscale = external_graphic->area_width / fo_length_get_value (fo_image_get_width (external_graphic->fo_image)); yscale = external_graphic->area_height / fo_length_get_value (fo_image_get_height (external_graphic->fo_image)); fo_doc_place_image (external_graphic->fo_doc, external_graphic->fo_image, 0.0, 0.0, xscale, yscale); } } /** * fo_external_graphic_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. * * The 'text' of fo:external-graphic is U+FFFC, OBJECT REPLACEMENT * CHARACTER. This is just a placeholder so there's something with * which to associate a #PangoAttribute. **/ void fo_external_graphic_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level G_GNUC_UNUSED) { FoNode *fo_child_node; FoExternalGraphic *fo_external_graphic; PangoAttribute *pango_attr; PangoRectangle pango_rectangle; GClosure *closure; GList *my_attr_glist = NULL; gint start_index, end_index; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_inline_fo)); fo_external_graphic = FO_EXTERNAL_GRAPHIC (fo_inline_fo); fo_external_graphic->fo_doc = fo_doc; start_index = text->len; fo_child_node = fo_node_first_child (FO_NODE (fo_inline_fo)); g_string_append (text, UTF8_STR_OBJECT_REPLACEMENT_CHAR); end_index = text->len; pango_rectangle.x = 0; pango_rectangle.y = 0; pango_rectangle.width = fo_external_graphic->area_width * PANGO_SCALE; /*fo_length_get_value (fo_property_get_value (fo_external_graphic->content_width)) * PANGO_SCALE;*/ pango_rectangle.height = fo_external_graphic->area_height * PANGO_SCALE; /*fo_length_get_value (fo_property_get_value (fo_external_graphic->content_height)) * PANGO_SCALE;*/ pango_attr = pango_attr_shape_new (&pango_rectangle, &pango_rectangle); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); closure = g_cclosure_new_swap ((GCallback) fo_external_graphic_callback_test, fo_inline_fo, NULL); g_closure_set_marshal (closure, g_cclosure_marshal_VOID__VOID); pango_attr = libfo_pango_attr_callback_new (closure); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_external_graphic->baseline_shift); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); /* pango_attr = fo_property_text_property_new_attr (fo_external_graphic->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ if (FO_IS_COLOR (fo_property_get_value (fo_external_graphic->background_color))) { pango_attr = fo_property_text_property_new_attr (fo_external_graphic->background_color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); } /* pango_attr = fo_property_text_property_new_attr (fo_external_graphic->alignment_adjust); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_external_graphic->alignment_baseline); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr_from_context (fo_external_graphic->dominant_baseline, fo_fo_get_context (fo_inline_fo)); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_external_graphic->keep_with_next_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_external_graphic->keep_with_previous_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } xmlroff-0.6.2/libfo/fo/fo-external-graphic-area.h0000644000175000017500000000122410643167376016546 00000000000000/* Fo * fo-external-graphic-area.h: Generate area for external-graphic formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include #include #include #ifndef __FO_EXTERNAL_GRAPHIC_AREA_H__ #define __FO_EXTERNAL_GRAPHIC_AREA_H__ G_BEGIN_DECLS void fo_external_graphic_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); G_END_DECLS #endif /* !__FO_EXTERNAL_GRAPHIC_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-flow-area.c0000644000175000017500000000205610755005374014250 00000000000000/* Fo * fo-flow-area.c: Generate area for flow formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007, 2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-region-body-area.h" #include "area/fo-area.h" #include "area/fo-area-area.h" #include "fo-flow-private.h" void fo_flow_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoFlow *flow = (FoFlow *) fo; g_return_if_fail (flow != NULL); g_return_if_fail (FO_IS_FLOW (flow)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); fo_region_body_area_new (fo_flow_get_region_master (fo), context->fo_doc, context->parent_area, context->new_area, context->debug_level); /*fo_area_set_generated_by (*(context->new_area), fo);*/ FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, *(context->new_area)); fo_area_add_child (context->parent_area, *(context->new_area)); *(context->new_area) = fo_area_size_request (*(context->new_area)); } xmlroff-0.6.2/libfo/fo/fo-flow-area.h0000644000175000017500000000105610646232203014244 00000000000000/* Fo * fo-flow-area.h: Generate area for flow formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #include #ifndef __FO_FLOW_AREA_H__ #define __FO_FLOW_AREA_H__ G_BEGIN_DECLS void fo_flow_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_FLOW_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-block-area.c0000644000175000017500000000321211150515137015330 00000000000000/* Fo * fo-list-block-area.c: Generate area for list-block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "area/fo-area.h" #include "area/fo-area-normal.h" #include "fo-list-block-private.h" #include "fo-block-fo.h" void fo_list_block_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoListBlock *list_block = (FoListBlock *) fo; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (list_block)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_normal_new (); use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** list-block parent before new area:"); fo_object_debug_dump (use_parent_area, 0); g_warning ("*** end list-block parent"); #endif fo_area_set_generated_by (FO_AREA (new_area), fo); FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, new_area); fo_block_fo_update_area (fo, new_area); use_parent_area = fo_area_break_resolve (use_parent_area, new_area); fo_area_border_padding_space_resolve (use_parent_area, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** list-block parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end list-block parent"); #endif *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-list-block-area.h0000644000175000017500000000111710646232424015343 00000000000000/* Fo * fo-list-block-area.h: Generate area for list-block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #ifndef __FO_LIST_BLOCK_AREA_H__ #define __FO_LIST_BLOCK_AREA_H__ G_BEGIN_DECLS void fo_list_block_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_LIST_BLOCK_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-item-area.c0000644000175000017500000000325011150515137015176 00000000000000/* Fo * fo-list-item-area.c: Generate area for list-item formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-block-fo.h" #include "area/fo-area.h" #include "area/fo-area-list-item.h" #include "fo-list-item-private.h" void fo_list_item_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error) { FoListItem *list_item = (FoListItem *) fo_node; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (list_item)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_list_item_new (); use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** list-item parent before new area:"); fo_object_debug_dump (use_parent_area, 0); g_warning ("*** end list-item parent"); #endif fo_area_set_generated_by (FO_AREA (new_area), fo_node); FO_FO (fo_node)->areas = g_list_append (FO_FO (fo_node)->areas, new_area); fo_block_fo_update_area (fo_node, new_area); use_parent_area = fo_area_break_resolve (use_parent_area, new_area); fo_area_border_padding_space_resolve (use_parent_area, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** list-item parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end list-item parent"); #endif *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-list-item-area.h0000644000175000017500000000110610646234462015211 00000000000000/* Fo * fo-list-item-area.h: Generate area for list-item formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #ifndef __FO_LIST_ITEM_AREA_H__ #define __FO_LIST_ITEM_AREA_H__ G_BEGIN_DECLS void fo_list_item_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_LIST_ITEM_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-item-body-area.c0000644000175000017500000000221111150515137016125 00000000000000/* Fo * fo-list-item-body-area.c: Generate area for list-item-body formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "area/fo-area.h" #include "area/fo-area-area.h" #include "fo-list-item-body-private.h" void fo_list_item_body_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoListItemBody *list_item_body = (FoListItemBody *) fo; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (list_item_body != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (list_item_body)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_area_new (); use_parent_area = context->parent_area; fo_area_set_generated_by (FO_AREA (new_area), fo); FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-list-item-body-area.h0000644000175000017500000000114510646234551016146 00000000000000/* Fo * fo-list-item-body-area.h: Generate area for list-item-body formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #ifndef __FO_LIST_ITEM_BODY_AREA_H__ #define __FO_LIST_ITEM_BODY_AREA_H__ G_BEGIN_DECLS void fo_list_item_body_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_LIST_ITEM_BODY_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-item-label-area.c0000644000175000017500000000301211150515137016247 00000000000000/* Fo * fo-list-item-label-area.c: Generate area for list-item-label formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "area/fo-area.h" #include "area/fo-area-area.h" #include "fo-list-item-label-private.h" void fo_list_item_label_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoListItemLabel *list_item_label = (FoListItemLabel *) fo; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (list_item_label != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (list_item_label)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_area_new (); use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** list-item-label parent before new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end list-item-label parent"); #endif fo_area_set_generated_by (FO_AREA (new_area), fo); FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** list-item-label parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end list-item-label parent"); #endif *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-list-item-label-area.h0000644000175000017500000000115610646234637016277 00000000000000/* Fo * fo-list-item-label-area.h: Generate area for list-item-label formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #ifndef __FO_LIST_ITEM_LABEL_AREA_H__ #define __FO_LIST_ITEM_LABEL_AREA_H__ G_BEGIN_DECLS void fo_list_item_label_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_LIST_ITEM_LABEL_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-body-area.c0000644000175000017500000000533410755005463015520 00000000000000/* Fo * fo-region-body-area.c: Generate area for region-body formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007, 2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "area/fo-area-area.h" #include "area/fo-area-reference.h" #include "area/fo-area-viewport-reference.h" #include "fo-region-body-private.h" #include "property/fo-property-writing-mode.h" void fo_region_body_area_new (FoFo *fo, FoDoc *fo_doc G_GNUC_UNUSED, FoArea *parent_area G_GNUC_UNUSED, FoArea **new_area, guint debug_level G_GNUC_UNUSED) { FoProperty *writing_mode; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo)); *new_area = fo_area_viewport_reference_new (); fo_area_area_set_border_start (*new_area, fo_length_get_value (fo_property_get_value (fo_region_body_get_border_start_width (fo)))); fo_area_area_set_border_end (*new_area, fo_length_get_value (fo_property_get_value (fo_region_body_get_border_end_width (fo)))); fo_area_area_set_border_before (*new_area, fo_length_get_value (fo_property_get_value (fo_region_body_get_border_before_width (fo)))); fo_area_area_set_border_after (*new_area, fo_length_get_value (fo_property_get_value (fo_region_body_get_border_after_width (fo)))); fo_area_area_set_padding_start (*new_area, fo_length_get_value (fo_property_get_value (fo_region_body_get_padding_start (fo)))); fo_area_area_set_padding_end (*new_area, fo_length_get_value (fo_property_get_value (fo_region_body_get_padding_end (fo)))); fo_area_area_set_padding_before (*new_area, fo_length_get_value (fo_property_get_value (fo_region_body_get_padding_before (fo)))); fo_area_area_set_padding_after (*new_area, fo_length_get_value (fo_property_get_value (fo_region_body_get_padding_after (fo)))); fo_area_area_set_height (*new_area, fo_area_area_get_border_before (*new_area) + fo_area_area_get_padding_before (*new_area) + fo_area_area_get_padding_after (*new_area) + fo_area_area_get_border_after (*new_area)); fo_area_area_set_width (*new_area, fo_area_area_get_border_start (*new_area) + fo_area_area_get_padding_start (*new_area) + fo_area_area_get_padding_end (*new_area) + fo_area_area_get_border_end (*new_area)); writing_mode = fo_region_body_get_writing_mode (fo); fo_area_reference_set_bpd (*new_area, fo_property_writing_mode_to_bpd (writing_mode, NULL)); fo_area_reference_set_ipd (*new_area, fo_property_writing_mode_to_ipd (writing_mode, NULL)); fo_area_reference_set_sd (*new_area, fo_property_writing_mode_to_sd (writing_mode, NULL)); fo_area_set_generated_by (*new_area, fo); } xmlroff-0.6.2/libfo/fo/fo-region-body-area.h0000644000175000017500000000117510643167376015534 00000000000000/* Fo * fo-region-body-area.h: Generate area for region-body formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #include #ifndef __FO_REGION_BODY_AREA_H__ #define __FO_REGION_BODY_AREA_H__ G_BEGIN_DECLS void fo_region_body_area_new (FoFo *fo, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level); G_END_DECLS #endif /* !__FO_REGION_BODY_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-area.c0000644000175000017500000000714511150515137014365 00000000000000/* Fo * fo-table-area.c: Generate area for 'table' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-table-area.h" #include "fo-table-private.h" #include "area/fo-area-table.h" #include "area/fo-all-area.h" #include "fo-block-fo.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-writing-mode.h" void fo_table_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoDatatype *ipdim_datatype; gfloat available_width; gfloat use_width; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); FoTable *table = FO_TABLE (fo); FoArea *new_area = fo_area_table_new (); FoArea *use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table parent before new area:"); fo_object_debug_dump (use_parent_area, 0); g_warning ("*** end table parent"); #endif fo_area_set_generated_by (FO_AREA (new_area), fo); FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, new_area); fo_block_fo_update_area (fo, new_area); use_parent_area = fo_area_break_resolve (use_parent_area, new_area); fo_area_border_padding_space_resolve (use_parent_area, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); available_width = fo_area_get_available_width (new_area); ipdim_datatype = fo_property_get_value (table->inline_progression_dimension); use_width = available_width; if (FO_IS_LENGTH_RANGE (ipdim_datatype)) { FoDatatype *min_datatype = fo_length_range_get_minimum (ipdim_datatype); FoDatatype *opt_datatype = fo_length_range_get_optimum (ipdim_datatype); FoDatatype *max_datatype = fo_length_range_get_maximum (ipdim_datatype); if (FO_IS_LENGTH (min_datatype) && available_width < fo_length_get_value (min_datatype)) { gfloat min_width = fo_length_get_value (min_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_area_new2:: available: %g; min: %g", available_width, min_width); #endif use_width = min_width; } else if (FO_IS_LENGTH (opt_datatype) && fo_length_get_value (opt_datatype) < available_width) { gfloat opt_width = fo_length_get_value (opt_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_area_new2:: available: %g; opt: %g", available_width, opt_width); #endif use_width = opt_width; } else if (FO_IS_LENGTH (max_datatype) && fo_length_get_value (max_datatype) < available_width) { gfloat max_width = fo_length_get_value (max_datatype); #if defined(LIBFO_DEBUG) && 0 g_message ("table_area_new2:: available: %g; max: %g", available_width, max_width); #endif use_width = max_width; } } else { g_assert_not_reached (); } fo_area_area_set_width (new_area, use_width); FoProperty *writing_mode = fo_table_get_writing_mode (fo); fo_area_reference_set_bpd (new_area, fo_property_writing_mode_to_bpd (writing_mode, NULL)); fo_area_reference_set_ipd (new_area, fo_property_writing_mode_to_ipd (writing_mode, NULL)); fo_area_reference_set_sd (new_area, fo_property_writing_mode_to_sd (writing_mode, NULL)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table parent"); #endif *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-table-area.h0000644000175000017500000000101410643167376014375 00000000000000/* Fo * fo-table-area.h: Generate area for table formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #ifndef __FO_TABLE_AREA_H__ #define __FO_TABLE_AREA_H__ G_BEGIN_DECLS void fo_table_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_TABLE_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-body-area.c0000644000175000017500000000325411150515137015315 00000000000000/* Fo * fo-table-body-area.c: Generate area for 'table-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "area/fo-area-table-body.h" #include "fo-table-body-private.h" /** * fo_table_body_area_new2: * @fo: #FoTableBody * @context: #FoFoAreaNew2Context * @error: #GError * * Create a new area for @fo and add it to the parent area. * * A pointer to the parent area is in @context. **/ void fo_table_body_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoTableBody *table_body = (FoTableBody *) fo; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (table_body)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_table_body_new (); use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-body parent before new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-body parent"); #endif fo_area_set_generated_by (FO_AREA (new_area), fo); FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-body parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-body parent"); #endif *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-table-body-area.h0000644000175000017500000000104210643167376015331 00000000000000/* Fo * fo-table-body-area.h: Generate area for table-body formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #ifndef __FO_TABLE_BODY_AREA_H__ #define __FO_TABLE_BODY_AREA_H__ G_BEGIN_DECLS void fo_table_body_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_TABLE_BODY_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-cell-area.c0000644000175000017500000001240411062200740015265 00000000000000/* Fo * fo-table-cell-area.c: Generate area for 'table-cell' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-block-fo.h" #include "fo-table.h" #include "fo-table-column.h" #include "property/fo-property-column-width.h" #include "property/fo-property-writing-mode.h" #include "area/fo-area.h" #include "area/fo-area-reference.h" #include "area/fo-area-table-cell.h" #include "area/fo-area-spanning-table-cell.h" #include "fo/fo-table-cell-private.h" void fo_table_cell_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error) { FoArea *new_area; gfloat cell_width = 0.0; g_return_if_fail (fo_node != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_node)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); FoTableCell *table_cell = FO_TABLE_CELL (fo_node); /* fo:table/fo:table-body/fo:table-row/fo:table-cell */ FoFo *table = FO_FO (fo_node_parent (fo_node_parent (fo_node_parent (FO_NODE (fo_node))))); gint column_number = fo_integer_get_value (fo_property_get_value (table_cell->column_number)); gint number_columns_spanned = fo_integer_get_value (fo_property_get_value (table_cell->number_columns_spanned)); gint number_rows_spanned = fo_integer_get_value (fo_property_get_value (table_cell->number_rows_spanned)); gint span; for (span = 1; span <= number_columns_spanned; span++) { FoFo *column = fo_table_get_column (table, column_number + span - 1, 1); cell_width += fo_length_get_value (fo_property_get_value (fo_table_column_get_column_width (column))); } if (number_rows_spanned == 1) { new_area = fo_area_table_cell_new (); } else { new_area = fo_area_spanning_table_cell_new_with_rows_spanned (number_rows_spanned); } FoArea *use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-cell parent before new area:"); fo_object_debug_dump (use_parent_area, 0); g_warning ("*** end table-cell parent"); #endif fo_area_set_generated_by (new_area, fo_node); FO_FO (fo_node)->areas = g_list_append (FO_FO (fo_node)->areas, new_area); fo_area_add_child (use_parent_area, new_area); if (number_rows_spanned > 1) { FoArea *use_row = fo_area_next_sibling (use_parent_area); gint current_row; for (current_row = 2; current_row <= number_rows_spanned; current_row++) { FoArea *proxy = fo_area_spanning_table_cell_get_nth_row_proxy (new_area, current_row); #if defined(LIBFO_DEBUG) && 0 g_message ("table_cell_area_new2:: current_row: %d; row: %s; proxy: %s", current_row, fo_object_debug_sprintf (use_row), fo_object_debug_sprintf (proxy)); #endif fo_area_set_generated_by (proxy, fo_node); fo_area_add_child (use_row, proxy); use_row = fo_area_next_sibling (use_row); } } /* fo_block_fo_update_area (fo_node, new_area); */ fo_area_area_set_border_after (new_area, fo_length_get_value (fo_property_get_value (table_cell->border_after_width))); fo_area_area_set_border_before (new_area, fo_length_get_value (fo_property_get_value (table_cell->border_before_width))); fo_area_area_set_border_end (new_area, fo_length_get_value (fo_property_get_value (table_cell->border_end_width))); fo_area_area_set_border_start (new_area, fo_length_get_value (fo_property_get_value (table_cell->border_start_width))); fo_area_area_set_padding_after (new_area, fo_length_get_value (fo_property_get_value (table_cell->padding_after))); fo_area_area_set_padding_before (new_area, fo_length_get_value (fo_property_get_value (table_cell->padding_before))); fo_area_area_set_padding_end (new_area, fo_length_get_value (fo_property_get_value (table_cell->padding_end))); fo_area_area_set_padding_start (new_area, fo_length_get_value (fo_property_get_value (table_cell->padding_start))); use_parent_area = fo_area_break_resolve (use_parent_area, new_area); /* fo_area_border_padding_space_resolve (use_parent_area, new_area); */ fo_area_area_set_width (new_area, cell_width); fo_area_area_set_x (new_area, fo_table_column_get_offset (fo_table_get_column (table, column_number, 1))); fo_area_area_set_y (new_area, 0); fo_area_set_available_width (new_area, fo_area_area_get_width (new_area)); new_area = fo_area_size_request (new_area); fo_area_area_set_height (new_area, fo_area_get_available_height (new_area)); FoProperty *writing_mode = fo_table_get_writing_mode (table); fo_area_reference_set_bpd (new_area, fo_property_writing_mode_to_bpd (writing_mode, NULL)); fo_area_reference_set_ipd (new_area, fo_property_writing_mode_to_ipd (writing_mode, NULL)); fo_area_reference_set_sd (new_area, fo_property_writing_mode_to_sd (writing_mode, NULL)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-cell parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-cell parent"); #endif *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-table-cell-area.h0000644000175000017500000000104710643167375015317 00000000000000/* Fo * fo-table-cell-area.h: Generate area for table-cell formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #ifndef __FO_TABLE_CELL_AREA_H__ #define __FO_TABLE_CELL_AREA_H__ G_BEGIN_DECLS void fo_table_cell_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_TABLE_CELL_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-footer-area.c0000644000175000017500000000332411150515137015654 00000000000000/* Fo * fo-table-footer-area.c: Generate area for 'table-footer' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "area/fo-area-table-footer.h" #include "fo-table-footer-private.h" /** * fo_table_footer_area_new2: * @fo: #FoTableFooter * @context: #FoFoAreaNew2Context * @error: #GError * * Create a new area for @fo and add it to the parent area. * * A pointer to the parent area is in @context. **/ void fo_table_footer_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoTableFooter *table_footer = (FoTableFooter *) fo; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (table_footer)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_table_footer_new (); use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-footer parent before new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-footer parent"); #endif fo_area_set_generated_by (FO_AREA (new_area), fo); FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-footer parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-footer parent"); #endif *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-table-footer-area.h0000644000175000017500000000104710643167376015677 00000000000000/* Fo * fo-table-footer-area.h: Generate area for 'table-footer' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #ifndef __FO_TABLE_FOOTER_AREA_H__ #define __FO_TABLE_FOOTER_AREA_H__ G_BEGIN_DECLS void fo_table_footer_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_TABLE_FOOTER_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-header-area.c0000644000175000017500000000332011150515137015602 00000000000000/* Fo * fo-table-header-area.c: Generate area for 'table-header' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include /** * fo_table_header_area_new2: * @fo: #FoTableHeader * @context: #FoFoAreaNew2Context * @error: #GError * * Create a new area for @fo and add it to the parent area. * * A pointer to the parent area is in @context. **/ void fo_table_header_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoTableHeader *table_header = (FoTableHeader *) fo; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (table_header)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_table_header_new (); use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-header parent before new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-header parent"); #endif fo_area_set_generated_by (FO_AREA (new_area), fo); FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-header parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-header parent"); #endif *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-table-header-area.h0000644000175000017500000000106010643167375015623 00000000000000/* Fo * fo-table-header-area.h: Generate area for 'table-header' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #ifndef __FO_TABLE_HEADER_AREA_H__ #define __FO_TABLE_HEADER_AREA_H__ G_BEGIN_DECLS void fo_table_header_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_TABLE_HEADER_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-row-area.c0000644000175000017500000000330511150515137015164 00000000000000/* Fo * fo-table-row-area.c: Generate area for table-row formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-block-fo.h" #include "area/fo-area.h" #include "area/fo-area-table-row.h" #include "fo-table-row-private.h" void fo_table_row_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error) { FoTableRow *table_row = (FoTableRow *) fo_node; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (table_row)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_table_row_new (); use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-row parent before new area:"); fo_object_debug_dump (use_parent_area, 0); g_warning ("*** end table-row parent"); #endif fo_area_set_generated_by (FO_AREA (new_area), fo_node); FO_FO (fo_node)->areas = g_list_append (FO_FO (fo_node)->areas, new_area); /* fo_block_fo_update_area (fo_node, new_area); */ use_parent_area = fo_area_break_resolve (use_parent_area, new_area); fo_area_border_padding_space_resolve (use_parent_area, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-row parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-row parent"); #endif *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-table-row-area.h0000644000175000017500000000101210643167376015200 00000000000000/* Fo * fo-table-row-area.h: Generate area for table-row formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #ifndef __FO_TABLE_ROW_AREA_H__ #define __FO_TABLE_ROW_AREA_H__ G_BEGIN_DECLS void fo_table_row_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_TABLE_ROW_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-page-sequence-area.c0000644000175000017500000001103711150761134016013 00000000000000/* Fo * fo-page-sequence-area.c: Generate area for page-sequence formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-page-sequence-private.h" #include "fo-page-sequence-area.h" #include "fo-simple-page-master.h" #include "property/fo-property-page-width.h" #include "property/fo-property-page-height.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-writing-mode.h" #include "area/fo-area.h" #include "area/fo-all-area.h" #include "datatype/fo-length.h" void fo_page_sequence_area_new (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error) { g_return_if_fail (fo_node != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo_node)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); FoDoc *fo_doc = context->fo_doc; FoArea *use_parent_area = context->parent_area; FoArea **new_area = context->new_area; *new_area = NULL; g_return_if_fail (fo_node != NULL); g_return_if_fail (FO_IS_FO (fo_node)); g_return_if_fail (use_parent_area != NULL); g_return_if_fail (FO_IS_AREA (use_parent_area)); /*g_return_if_fail (FO_IS_DOC (fo_doc));*/ while (! FO_IS_PAGE_SEQUENCE (fo_node)) { fo_node = FO_FO (fo_node_parent (FO_NODE (fo_node))); } FoFo *page_master = FO_PAGE_SEQUENCE (fo_node)->page_master; gdouble page_width = fo_length_get_value (fo_property_get_value (fo_simple_page_master_get_page_width (page_master))); gdouble page_height = fo_length_get_value (fo_property_get_value (fo_simple_page_master_get_page_height (page_master))); gdouble margin_left = fo_length_get_value (fo_property_get_value (fo_simple_page_master_get_margin_left (page_master))); gdouble margin_right = fo_length_get_value (fo_property_get_value (fo_simple_page_master_get_margin_right (page_master))); gdouble margin_top = fo_length_get_value (fo_property_get_value (fo_simple_page_master_get_margin_top (page_master))); gdouble margin_bottom = fo_length_get_value (fo_property_get_value (fo_simple_page_master_get_margin_bottom (page_master))); FoProperty *writing_mode = fo_simple_page_master_get_writing_mode (page_master); /* g_message ("Writing mode: %d", writing_mode); */ *new_area = fo_area_page_new (); FO_FO (fo_node)->areas = g_list_append (FO_FO (fo_node)->areas, *new_area); #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("page_sequence_area_new:: fo: %s; areas: %p; *new_area: %p"), fo_object_debug_sprintf (fo_node), fo_node->areas, *new_area); #endif fo_area_set_generated_by (*new_area, g_object_ref (fo_node)); fo_area_set_page (*new_area, g_object_ref (*new_area)); gint page_number = 0; while (! FO_IS_AREA_TREE (use_parent_area)) { if (FO_IS_AREA_PAGE (use_parent_area)) { page_number = fo_area_page_get_page_number (use_parent_area); fo_area_set_is_last (use_parent_area, FALSE); } use_parent_area = fo_area_parent (use_parent_area); } fo_area_page_set_page_number (*new_area, page_number + 1); fo_area_set_is_first (FO_AREA (*new_area), FALSE); fo_area_page_set_page_width (*new_area, page_width); fo_area_page_set_page_height (*new_area, page_height); fo_area_page_set_margin_left (*new_area, margin_left); fo_area_page_set_margin_right (*new_area, margin_right); fo_area_page_set_margin_top (*new_area, margin_top); fo_area_page_set_margin_bottom (*new_area, margin_bottom); fo_area_set_next_x (*new_area, margin_left); fo_area_set_next_y (*new_area, page_height - margin_top); fo_area_add_child (use_parent_area, *new_area); fo_area_reference_set_bpd (*new_area, fo_property_writing_mode_to_bpd (writing_mode, NULL)); FoEnumAreaDirection ipd = fo_property_writing_mode_to_ipd (writing_mode, NULL); fo_area_reference_set_ipd (*new_area, ipd); if (fo_doc != NULL) { if ((ipd == FO_ENUM_AREA_DIRECTION_LR) || (ipd == FO_ENUM_AREA_DIRECTION_RL) || (ipd == FO_ENUM_AREA_DIRECTION_TB)) { fo_doc_set_base_dir (fo_doc, ipd); } else { g_assert_not_reached (); } } fo_area_reference_set_sd (*new_area, fo_property_writing_mode_to_sd (writing_mode, NULL)); } xmlroff-0.6.2/libfo/fo/fo-page-sequence-area.h0000644000175000017500000000115011062174640016015 00000000000000/* Fo * fo-page-sequence-area.h: Generate area for page-sequence formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include #include #ifndef __FO_PAGE_SEQUENCE_AREA_H__ #define __FO_PAGE_SEQUENCE_AREA_H__ G_BEGIN_DECLS void fo_page_sequence_area_new (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_PAGE_SEQUENCE_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper-block-area.c0000644000175000017500000000251311150515137016040 00000000000000/* Fo * fo-wrapper-block-area.c: Generate area for wrapper-block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include "area/fo-area-area.h" #include "fo-wrapper-block.h" #include "fo-wrapper-block-private.h" /** * fo_wrapper_block_area_new2: * @fo_node: #FoWrapperBlock formatting object * @context: Extra information necessary * @error: #GError * * **/ void fo_wrapper_block_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error) { FoWrapperBlock *wrapper_block = (FoWrapperBlock *) fo_node; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (wrapper_block != NULL); g_return_if_fail (FO_IS_WRAPPER_BLOCK (wrapper_block)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_area_new (); use_parent_area = context->parent_area; fo_area_set_generated_by (FO_AREA (new_area), fo_node); FO_FO (fo_node)->areas = g_list_append (FO_FO (fo_node)->areas, new_area); fo_area_add_child (use_parent_area, new_area); new_area = fo_area_size_request (new_area); fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); *(context->new_area) = new_area; } xmlroff-0.6.2/libfo/fo/fo-wrapper-block-area.h0000644000175000017500000000107510643167375016064 00000000000000/* Fo * fo-wrapper-block-area.h: Generate area for wrapper-block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include #include #ifndef __FO_WRAPPER_BLOCK_AREA_H__ #define __FO_WRAPPER_BLOCK_AREA_H__ G_BEGIN_DECLS void fo_wrapper_block_area_new2 (FoFo *fo_node, FoFoAreaNew2Context *context, GError **error); G_END_DECLS #endif /* !__FO_WRAPPER_BLOCK_AREA_H__ */ xmlroff-0.6.2/libfo/fo/fo-all-fo.h0000644000175000017500000000562310770023366013553 00000000000000/* Fo * fo-all-fo.h: Include header files for all formatting objects * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_ALL_FO_H__ #define __FO_ALL_FO_H__ G_BEGIN_DECLS /* "Unofficial" formatting objects */ #include #include #include #include #include #include #include #include #include /* Formatting objects from XSL 1.0 Recommendation */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include G_END_DECLS #endif /* !__FO_ALL_FO_H__ */ xmlroff-0.6.2/libfo/fo/fo-fo.c0000644000175000017500000014007311054604423012772 00000000000000/* Fo * fo-fo.c: Base formatting object of formatting object system * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-xml-node-private.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo/fo-flow.h" #include "fo/fo-tree.h" #include "fo/fo-text.h" #include "fo-all-fo.h" #include "fo/fo-inline-fo.h" #include "fo/fo-block-fo.h" #include "fo/fo-neutral-fo.h" #include "fo/fo-wrapper-whitespace.h" #include "fo-context-util.h" #include #include #include #include #include #include #include #include #include struct _FoFoAreaIterator { FoFo *fo; GList *area_list; }; const char *fo_fo_error_messages[] = { N_("Failed"), N_("Warning"), N_("%s must be empty"), N_("%s not allowed to be empty"), N_("%s can contain only %%block; and %%neutral; FOs"), N_("%s not allowed as child of %s"), N_("%s children do not match allowed content"), N_("Unrecognized %s enumeration token: %s"), N_("Invalid value datatype for '%s' property: %s (%s)"), N_("Invalid value datatype for '%s' property: %s (%s). Using %s (%s)"), N_("Invalid value for '%s' property: NULL"), N_("Unsupported property: %s"), N_("No image file for src URI: %s") }; enum { PROP_0, PROP_TREE, PROP_FLOW, PROP_CONTEXT, PROP_GENERATE_REFERENCE_AREA, PROP_ALLOW_MIXED_CONTENT, PROP_ELEMENT }; static void fo_fo_base_class_init (FoFoClass *klass); static void fo_fo_class_init (FoFoClass *klass); static void fo_fo_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_fo_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_fo_finalize (GObject *object); static void fo_fo_debug_dump (FoObject *object, gint depth); static void fo_fo_debug_dump_properties_default (FoFo *area, gint depth); static gchar* fo_fo_sprintf (FoObject *object); static void fo_fo_update_from_context_default (FoFo *fo, FoContext *context); static gboolean fo_fo_resolve_property_attributes_default (FoNode *fo_node, gpointer data); static gboolean fo_fo_validate_content_default (FoFo *fo, GError **error); static void fo_fo_validate_default (FoFo *fo, FoContext *current_context, FoContext *parent_context); static void fo_fo_validate2_default (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static FoFo * fo_fo_clone_default (FoFo *original); static void fo_fo_update_after_clone_default (FoFo *clone, FoFo *original); static void fo_fo_area_new_default (FoFo *fo, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level); static void fo_fo_area_new2_default (FoFo *fo, FoFoAreaNew2Context *context, GError **error); static FoNode* fo_fo_prepend (FoNode *parent, FoNode *fo); static FoNode* fo_fo_append (FoNode *parent, FoNode *fo); static gpointer parent_class; /** * fo_fo_get_type: * * Register the #FoFo object type. * * Return value: #GType value of the #FoFo object type. **/ GType fo_fo_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoFoClass), (GBaseInitFunc) fo_fo_base_class_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_fo_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoFo), 0, /* n_preallocs */ NULL, /* instance_init */ NULL }; object_type = g_type_register_static (FO_TYPE_NODE, "FoFo", &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_fo_base_class_init: * @klass: #FoFoClass base class object to initialise. * * Implements #GBaseInitFunc for #FoFoClass. **/ void fo_fo_base_class_init (FoFoClass *klass) { FoObjectClass *fo_object_class = FO_OBJECT_CLASS (klass); FoNodeClass *fo_node_class = FO_NODE_CLASS (klass); fo_object_class->print_sprintf = fo_fo_sprintf; fo_object_class->debug_dump = fo_fo_debug_dump; fo_node_class->prepend = fo_fo_prepend; fo_node_class->append = fo_fo_append; klass->debug_dump_properties = fo_fo_debug_dump_properties_default; klass->clone = fo_fo_clone_default; klass->update_after_clone = fo_fo_update_after_clone_default; klass->update_from_context = fo_fo_update_from_context_default; klass->validate_content = fo_fo_validate_content_default; klass->validate = fo_fo_validate_default; klass->validate2 = fo_fo_validate2_default; klass->children_properties_resolve = fo_fo_children_properties_resolve_default; klass->resolve_property_attributes = fo_fo_resolve_property_attributes_default; klass->area_new = fo_fo_area_new_default; klass->area_new2 = fo_fo_area_new2_default; klass->generate_reference_area = FALSE; klass->allow_mixed_content = FALSE; } /** * fo_fo_class_init: * @klass: #FoFoClass object to initialise. * * Implements #GClassInitFunc for #FoFoClass. **/ void fo_fo_class_init (FoFoClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_fo_finalize; object_class->set_property = fo_fo_set_property; object_class->get_property = fo_fo_get_property; klass->debug_dump_properties = fo_fo_debug_dump_properties; g_object_class_install_property (object_class, PROP_TREE, g_param_spec_object ("tree", _("tree node"), _("Top of the formatting object tree"), FO_TYPE_FO, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FLOW, g_param_spec_object ("flow", _("fo:flow node"), _("Ancestor fo:flow node in the formatting object tree"), FO_TYPE_FO, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTEXT, g_param_spec_object ("context", _("Context"), _("Set of current formatting object properties"), FO_TYPE_CONTEXT, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_GENERATE_REFERENCE_AREA, g_param_spec_boolean ("generate-reference-area", _("Generates a reference area"), _("Whether or not the formatting object generates a reference area"), FALSE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALLOW_MIXED_CONTENT, g_param_spec_boolean ("allow-mixed-content", _("Allows mixed content"), _("Whether or not the formatting object allows mixed content"), FALSE, G_PARAM_READABLE)); } /** * fo_fo_finalize: * @object: #FoFo object to finalize. * * Implements #GObjectFinalizeFunc for #FoFo. **/ void fo_fo_finalize (GObject *object) { FoFo *fo; fo = FO_FO (object); if (fo->element != NULL) { fo_xml_node_unref (fo->element); } G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_fo_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoFo. **/ void fo_fo_set_property (GObject *object, guint param_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); } /** * fo_fo_get_property: * @object: #GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: #GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for #FoFo **/ void fo_fo_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec) { FoFo *fo = FO_FO (object); switch (param_id) { case PROP_TREE: g_value_set_object (value, G_OBJECT (fo_fo_get_tree (fo))); break; case PROP_FLOW: g_value_set_object (value, G_OBJECT (fo_fo_get_flow (fo))); break; case PROP_CONTEXT: g_value_set_object (value, G_OBJECT (fo_fo_get_context (fo))); break; case PROP_GENERATE_REFERENCE_AREA: g_value_set_boolean (value, fo_fo_get_generate_reference_area (fo)); break; case PROP_ALLOW_MIXED_CONTENT: g_value_set_boolean (value, fo_fo_get_allow_mixed_content (fo)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); break; } } /** * fo_fo_new: * * Creates a new #FoFo initialized to default value. * * Return value: the new #FoFo **/ FoFo * fo_fo_new (void) { FoFo *object; object = FO_FO (g_object_new (fo_fo_get_type (), NULL)); return object; } /** * fo_fo_set_context: * @fo_fo: The #FoFo object * @new_context: The new context * * Sets the #context of @fo_fo to @new_context **/ void fo_fo_set_context (FoFo *fo_fo, FoContext* new_context) { g_return_if_fail (fo_fo != NULL); g_return_if_fail (FO_IS_FO (fo_fo)); g_return_if_fail (new_context != NULL); g_return_if_fail (FO_IS_CONTEXT (new_context)); if (new_context) g_object_ref (G_OBJECT (new_context)); if (fo_fo->context) g_object_unref (G_OBJECT (fo_fo->context)); fo_fo->context = new_context; /*g_object_notify (G_OBJECT (fo_fo), "context");*/ } /** * fo_fo_get_context: * @fo_fo: The #FoFo object * * Gets the "context" of @fo_fo * * Return value: The context **/ FoContext* fo_fo_get_context (FoFo *fo_fo) { g_return_val_if_fail (fo_fo != NULL, NULL); g_return_val_if_fail (FO_IS_FO (fo_fo), NULL); return fo_fo->context; } /** * fo_fo_get_flow: * @fo_fo: The @FoFo object * * Gets the #flow of @fo_fo * * Return value: The flow **/ FoFo* fo_fo_get_flow (FoFo *fo_fo) { g_return_val_if_fail (fo_fo != NULL, NULL); g_return_val_if_fail (FO_IS_FO (fo_fo), NULL); return fo_fo->flow; } /** * fo_fo_get_tree: * @fo_fo: The @FoFo object * * Gets the tree of @fo_fo * * Return value: The tree **/ FoFo* fo_fo_get_tree (FoFo *fo_fo) { g_return_val_if_fail (fo_fo != NULL, NULL); g_return_val_if_fail (FO_IS_FO (fo_fo), NULL); return fo_fo->tree; } /** * fo_fo_get_element: * @fo_fo: The @FoFo object * * Gets the #element of @fo_fo * * Return value: The element **/ FoXmlNode * fo_fo_get_element (FoFo *fo_fo) { g_return_val_if_fail (fo_fo != NULL, NULL); g_return_val_if_fail (FO_IS_FO (fo_fo), NULL); return fo_fo->element; } /** * fo_fo_set_element: * @fo_fo: The @FoFo object. * @new_element: The new #element value. * * Sets the #element of @fo_fo. **/ void fo_fo_set_element (FoFo *fo_fo, FoXmlNode *new_element) { g_return_if_fail (fo_fo != NULL); g_return_if_fail (FO_IS_FO (fo_fo)); if (fo_fo->element != NULL) { g_object_unref (new_element); } fo_fo->element = fo_xml_node_ref (new_element); } /** * fo_fo_get_generate_reference_area: * @fo_fo: The @FoFo object * * Gets whether or not the FO generates reference areas. * * Return value: The generate-reference-area class property value **/ gboolean fo_fo_get_generate_reference_area (FoFo *fo_fo) { g_return_val_if_fail (fo_fo != NULL, FALSE); g_return_val_if_fail (FO_IS_FO (fo_fo), FALSE); return FO_FO_GET_CLASS (fo_fo)->generate_reference_area; } /** * fo_fo_get_allow_mixed_content; * @fo_fo: The @FoFo object * * Gets whether or not the FO allows mixed content (i.e. text nodes). * * Return value: The allow_mixed_content class property value. **/ gboolean fo_fo_get_allow_mixed_content (FoFo *fo_fo) { g_return_val_if_fail (fo_fo != NULL, FALSE); g_return_val_if_fail (FO_IS_FO (fo_fo), FALSE); return FO_FO_GET_CLASS (fo_fo)->allow_mixed_content; } /** * fo_fo_debug_dump: * @object: #FoObject to be dumped. * @depth: Indent level to add to the output. * * Implements #fo_object_debug_dump for #FoFo class. **/ void fo_fo_debug_dump (FoObject *object, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar* object_sprintf; FoNode *child; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_FO (object)); object_sprintf = fo_object_debug_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (indent); g_free (object_sprintf); FO_FO_GET_CLASS (object)->debug_dump_properties (FO_FO (object), depth + 2); child = fo_node_first_child (FO_NODE (object)); while (child) { fo_object_debug_dump (child, depth + 1); child = fo_node_next_sibling (child); } } /** * fo_fo_debug_dump_properties_default: * @fo: * @depth: Indent level to add to the output. * * **/ void fo_fo_debug_dump_properties_default (FoFo *fo, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (FO_IS_FO (fo)); fo_fo_debug_dump_properties (fo, depth + 1); g_free (indent); } /** * fo_fo_debug_dump_area: * @value: * @data: * * **/ static void fo_fo_debug_dump_area (gpointer value, gpointer data) { gchar *indent = g_strnfill (GPOINTER_TO_INT (data) * 2, ' '); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%p", indent, value); g_free (indent); } /** * fo_fo_debug_dump_properties: * @fo: #FoFo whose properties to dump * @depth: Indication of relative depth to be applied to the output. * * Log debug messages for most of the instance variables and some of * the class variables of @fo. **/ void fo_fo_debug_dump_properties (FoFo *fo, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FO (fo)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sgenerate-reference-area: %s", indent, FO_FO_GET_CLASS (fo)->generate_reference_area ? "TRUE" : "FALSE"); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sallow-mixed-content: %s", indent, FO_FO_GET_CLASS (fo)->allow_mixed_content ? "TRUE" : "FALSE"); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%selement: %p", indent, fo->element); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%scontext: %p", indent, fo->context); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sareas:", indent); if (fo->areas) { g_list_foreach (fo->areas, fo_fo_debug_dump_area, GINT_TO_POINTER (depth + 1)); } else { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s (none)"), indent); } g_free (indent); } gchar* fo_fo_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_FO (object), NULL); return (g_strdup_printf("%s", g_type_name (G_TYPE_FROM_INSTANCE (object)))); } /** * fo_fo_update_from_context_default: * @fo: FoFo to be updated * @context: FoContext from which to update the FoFo * * Default _update_from_context() function. Set as the default for * the update_from_context class variable, but should be overridden by * every subclass of #FoFo. * * Logs a debug message that the class does not have an * 'update_from_context' function. **/ void fo_fo_update_from_context_default (FoFo *fo, FoContext *context G_GNUC_UNUSED) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have an 'update_from_context' function."), fo_object_sprintf (FO_OBJECT (fo))); } /** * fo_fo_update_from_context: * @fo_fo: #FoFo to be updated * @context: #FoContext from which to update the #FoFo * * Calls the FoFo-specific _update_from_context() function to update * the FoFo's property values from the larger set of property values * maintained in the #FoContext. **/ void fo_fo_update_from_context (FoFo *fo_fo, FoContext *context) { #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "fo_fo_update_from_context:: %s", fo_object_sprintf (FO_OBJECT (fo_fo))); #endif return FO_FO_GET_CLASS (fo_fo)->update_from_context (fo_fo, context); } /** * fo_fo_validate_content_default: * @fo: FoFo whose content is to be validated * @error: GError * * Default _validate_content() function that is used when the FO does * not have a specific _validate_content() function. * * Returns FALSE, which is the success value for a GNodeTraverseFunc * function. * * Return value: FALSE **/ gboolean fo_fo_validate_content_default (FoFo *fo G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'validate_content' function."), fo_object_sprintf (FO_OBJECT (fo))); #endif return FALSE; } /** * fo_fo_validate_content: * @fo: FoFo whose content is to be validated * @error: GError * * Calls the FoFo-specific _validate_content() function to validate * the FoFo's content model and returns the value returned by that * function. * * Return value: FALSE if no content model error, otherwise TRUE **/ gboolean fo_fo_validate_content (FoFo *fo, GError **error) { g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_FO (fo), TRUE); #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "fo_fo_validate_content:: %s", fo_object_sprintf (FO_OBJECT (fo))); #endif return FO_FO_GET_CLASS (fo)->validate_content (fo, error); } /** * fo_fo_validate: * @fo: #FoFo to validate. * @current_context: #FoContext of @fo. * @parent_context: #FoContext of parent of @fo. * @error: #GError indicating any error that occurs * * Validate and/or munge the properties of @fo. **/ void fo_fo_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { if (FO_FO_GET_CLASS (fo)->validate2 != NULL) FO_FO_GET_CLASS (fo)->validate2 (fo, current_context, parent_context, error); } /** * fo_fo_validate_default: * @fo: #FoFo to validate. * @current_context: #FoContext of @fo. * @parent_context: #FoContext of parent of @fo. * * Default validation is to just merge and update contexts. * * This will only be called for #FoFo that do not have either a * _validate2 or _validate function of their own. **/ void fo_fo_validate_default (FoFo *fo, FoContext *current_context, FoContext *parent_context) { fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'validate' function."), fo_object_sprintf (FO_OBJECT (fo))); #endif /* if (FO_FO_GET_CLASS (fo)->validate != NULL) FO_FO_GET_CLASS (fo)->validate (fo, current_context, parent_context); */ } /** * fo_fo_validate2_default: * @fo: #FoFo to validate. * @current_context: #FoContext of @fo. * @parent_context: #FoContext of parent of @fo. * @error: #GError indicating any error that occurs * * Default behaviour is to fallback to using the FO's _validate * function. **/ void fo_fo_validate2_default (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'validate2' function."), fo_object_sprintf (FO_OBJECT (fo))); #endif if (FO_FO_GET_CLASS (fo)->validate != NULL) FO_FO_GET_CLASS (fo)->validate (fo, current_context, parent_context); } /** * fo_fo_clone: * @original: Fo object to be cloned * * Make a clone of @original and insert the clone after @original in * the fo tree. Set instance properties of the clone to match * @original. * * Return value: Clone of @original **/ FoFo* fo_fo_clone (FoFo *original) { if (original != NULL) { return FO_FO_GET_CLASS (original)->clone (original); } else { return NULL; } } /** * fo_fo_clone_default: * @original: Fo object to be cloned * * Make a clone of @original and insert the clone after @original in * the fo tree. Set instance properties of the clone to match * @original. * * Return value: Clone of @original **/ FoFo* fo_fo_clone_default (FoFo *original) { FoFo *clone; g_return_val_if_fail (original != NULL, NULL); g_return_val_if_fail (FO_IS_FO (original), NULL); clone = FO_FO (g_object_new (G_TYPE_FROM_INSTANCE (original), NULL)); fo_fo_update_after_clone (clone, original); return clone; } /** * fo_fo_update_after_clone: * @clone: New #FoFo object cloned from @original. * @original: Original #FoFo object. * * Update the instance variables of @clone to match those of @original. **/ void fo_fo_update_after_clone (FoFo *clone, FoFo *original) { if (original == NULL || clone == NULL) { return; } else { FO_FO_GET_CLASS (clone)->update_after_clone (clone, original); } } /** * fo_fo_update_after_clone_default: * @clone: New #FoFo object cloned from @original. * @original: Original #FoFo object. * * Update the FoFo-specific instance variables of @clone to match * those of @original. **/ void fo_fo_update_after_clone_default (FoFo *clone, FoFo *original) { g_return_if_fail (clone != NULL); g_return_if_fail (FO_IS_FO (clone)); g_return_if_fail (original != NULL); g_return_if_fail (FO_IS_FO (original)); clone->element = original->element; clone->tree = g_object_ref (original->tree); clone->flow = g_object_ref (original->flow); clone->areas = NULL; clone->context = g_object_ref (original->context); } typedef struct _xslAttrListIterator xslAttrListIterator; typedef xslAttrListIterator *xslAttrListIteratorPtr; struct _xslAttrListIterator { xmlAttrPtr cur; }; /** * xslAttrListGetIterator: * @node: #xmlNodePtr for which to get attribute iterator. * * Gets a #xslAttrListIteratorPtr for iterating over the attributes of * @node. * * Return value: New #xslAttrListIteratorPtr, or NULL if no attributes. **/ static xslAttrListIteratorPtr xslAttrListGetIterator (xmlNodePtr node) { xslAttrListIteratorPtr iterator; if (node->properties) { iterator = (xslAttrListIteratorPtr) xmlMalloc (sizeof (xslAttrListIterator)); iterator->cur = node->properties; } else { iterator = NULL; } return (iterator); } /** * xslAttrListIteratorNext: * @iterator: #xslAttrListIteratorPtr to increment. * * Increments @iterator to point to the next attribute of the node for * which it is the iterator. * * Return value: %TRUE if incremented, %FALSE if no next attribute. **/ static gboolean xslAttrListIteratorNext (xslAttrListIteratorPtr iterator) { if (iterator->cur != NULL) { iterator->cur = iterator->cur->next; } return iterator->cur ? TRUE : FALSE; } /** * xslAttrListIteratorName: * @iterator: * * * * Return value: **/ static xmlChar * xslAttrListIteratorName (xslAttrListIteratorPtr iterator) { return (xmlChar*) iterator->cur->name; } /** * xslAttrListIteratorValue: * @iterator: * * * * Return value: **/ static xmlChar * xslAttrListIteratorValue (xslAttrListIteratorPtr iterator) { return (xmlChar*) iterator->cur->children->content; } /** * xslAttrListIteratorDestroy: * @iterator: * * **/ static void xslAttrListIteratorDestroy (xslAttrListIteratorPtr iterator) { xmlFree (iterator); } typedef GType (*FoTypeFunc) (void); /** * fo_fo_resolve_property_attributes_default: * @fo_node: #FoFo * @data: Context within which to resolve property expressions * * Every #FoFo object was created from a result tree element that is * in the XSL FO namespace. The object's specified property values * are created from the result tree element's attributes. * * This function evaluates each of the property attributes of the * result tree element for @fo_node. * * Return value: %FALSE if completed successfully, %TRUE otherwise **/ gboolean fo_fo_resolve_property_attributes_default (FoNode *fo_node, gpointer data) { FoPropertyResolveContext *prop_context = (FoPropertyResolveContext *) data; GSList *node_properties = NULL; GError *error = NULL; FoArea *reference_area = prop_context->reference_area; FoWarningFlag warning_mode = prop_context->warning_mode; GHashTable *prop_eval_hash = prop_context->prop_eval_hash; gboolean continue_after_error = prop_context->continue_after_error; g_return_val_if_fail (FO_IS_FO (fo_node), TRUE); g_return_val_if_fail (prop_eval_hash != NULL, TRUE); #if defined(LIBFO_DEBUG) && 0 g_message ("fo_resolve_property_attributes:: fo_node: %s; reference: %s", fo_object_debug_sprintf (fo_node), fo_object_debug_sprintf (reference_area)); #endif FoFo *fo_fo = FO_FO (fo_node); xmlNodePtr element = fo_xml_node_get_xml_node (fo_fo->element); FoContext *parent_context = fo_fo_get_context (FO_FO (fo_node_parent (FO_NODE (fo_fo)))); /* Special processing for FOs with special behaviour defined by the spec. */ if (FO_IS_TABLE_CELL (fo_fo)) { xmlAttrPtr column_number_attr = NULL; xmlAttrPtr number_columns_spanned_attr = NULL; xmlAttrPtr number_rows_spanned_attr = NULL; column_number_attr = xmlHasProp (element, (xmlChar *) "column-number"); if (column_number_attr) { FoTypeFunc type_func = g_hash_table_lookup (prop_eval_hash, "column-number"); FoPropertyClass *property_class = g_type_class_ref (type_func()); gchar *property_expression = (gchar *) xmlNodeGetContent ((xmlNodePtr) column_number_attr); FoProperty *column_number = fo_property_new_from_expr (property_class, (const gchar *) property_expression, parent_context, NULL, fo_fo, &error); xmlFree (property_expression); if (error != NULL) { fo_object_maybe_propagate_error (FO_OBJECT (fo_fo), prop_context->error, error, continue_after_error); return TRUE; } node_properties = g_slist_prepend (node_properties, (gpointer) column_number); fo_table_cell_set_column_number (fo_fo, column_number); } number_columns_spanned_attr = xmlHasProp (element, (xmlChar *) "number-columns-spanned"); if (number_columns_spanned_attr) { FoTypeFunc type_func = g_hash_table_lookup (prop_eval_hash, "number-columns-spanned"); FoPropertyClass *property_class = g_type_class_ref (type_func()); gchar *property_expression = (gchar *) xmlNodeGetContent ((xmlNodePtr) number_columns_spanned_attr); FoProperty *number_columns_spanned = fo_property_new_from_expr (property_class, (const gchar *) property_expression, parent_context, NULL, fo_fo, &error); xmlFree (property_expression); if (error != NULL) { fo_object_maybe_propagate_error (FO_OBJECT (fo_fo), prop_context->error, error, continue_after_error); return TRUE; } node_properties = g_slist_prepend (node_properties, (gpointer) number_columns_spanned); fo_table_cell_set_number_columns_spanned (fo_fo, number_columns_spanned); } number_rows_spanned_attr = xmlHasProp (element, (xmlChar *) "number-rows-spanned"); if (number_rows_spanned_attr) { FoTypeFunc type_func = g_hash_table_lookup (prop_eval_hash, "number-rows-spanned"); FoPropertyClass *property_class = g_type_class_ref (type_func()); gchar *property_expression = (gchar *) xmlNodeGetContent ((xmlNodePtr) number_rows_spanned_attr); FoProperty *number_rows_spanned = fo_property_new_from_expr (property_class, (const gchar *) property_expression, parent_context, NULL, fo_fo, &error); xmlFree (property_expression); if (error != NULL) { fo_object_maybe_propagate_error (FO_OBJECT (fo_fo), prop_context->error, error, continue_after_error); return TRUE; } node_properties = g_slist_prepend (node_properties, (gpointer) number_rows_spanned); fo_table_cell_set_number_rows_spanned (fo_fo, number_rows_spanned); } fo_table_cell_resolve_number_columns_spanned (fo_fo); fo_table_cell_resolve_number_rows_spanned (fo_fo); fo_table_cell_resolve_column_number (fo_fo, &error); if (error != NULL) { fo_object_maybe_propagate_error (FO_OBJECT (fo_fo), prop_context->error, error, continue_after_error); return TRUE; } fo_table_cell_resolve_column (fo_fo); } /* Handle the 'font-size' property first since its value is part of the context for evaluating all other properties. */ FoProperty *font_size = NULL; if (xmlHasProp (element, (xmlChar *) "font-size")) { xmlAttrPtr font_size_attr = xmlHasProp (element, (xmlChar *) "font-size"); FoTypeFunc type_func = g_hash_table_lookup (prop_eval_hash, "font-size"); FoPropertyClass *property_class = g_type_class_ref (type_func()); gchar *property_expression = (gchar *) xmlNodeGetContent ((xmlNodePtr) font_size_attr); font_size = fo_property_new_from_expr (property_class, (const gchar *) property_expression, parent_context, NULL, fo_fo, &error); xmlFree (property_expression); if (error != NULL) { fo_object_maybe_propagate_error (FO_OBJECT (fo_fo), prop_context->error, error, continue_after_error); return TRUE; } else { node_properties = g_slist_prepend (node_properties, (gpointer) font_size); } } xslAttrListIteratorPtr iterator = xslAttrListGetIterator (element); /* Iterate over the remaining attributes. */ while (iterator) { FoProperty *property = NULL; /* Skip processing attributes that have already been handled. */ if (strcmp ((gchar *) xslAttrListIteratorName (iterator), "font-size") == 0 || (FO_IS_TABLE_CELL (fo_fo) && (strcmp ((gchar *) xslAttrListIteratorName (iterator), "column-number") == 0 || strcmp ((gchar *) xslAttrListIteratorName (iterator), "number-columns-spanned") == 0 || strcmp ((gchar *) xslAttrListIteratorName (iterator), "number-rows-spanned") == 0))) { if (xslAttrListIteratorNext (iterator)) { continue; } else { break; } } FoPropertyClass *property_class = NULL; FoTypeFunc type_func = g_hash_table_lookup (prop_eval_hash, xslAttrListIteratorName (iterator)); if (type_func != NULL) { property_class = g_type_class_ref (type_func()); const gchar *property_expression = (const gchar *) xslAttrListIteratorValue (iterator); property = fo_property_new_from_expr (property_class, property_expression, parent_context, font_size ? font_size : NULL, fo_fo, &error); if (error != NULL) { fo_object_maybe_propagate_error (FO_OBJECT (fo_fo), prop_context->error, error, continue_after_error); return TRUE; } g_type_class_unref (property_class); node_properties = g_slist_prepend (node_properties, (gpointer) property); } else { if (warning_mode & FO_WARNING_UNSUPPORTED_PROPERTY) { GError *unsupported_property_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_UNSUPPORTED_PROPERTY, _(fo_fo_error_messages[FO_FO_ERROR_UNSUPPORTED_PROPERTY]), xslAttrListIteratorName (iterator)); fo_object_log_warning (FO_OBJECT (fo_fo), &unsupported_property_error); } } if (!xslAttrListIteratorNext (iterator)) break; } xslAttrListIteratorDestroy (iterator); FoContext *current_context = fo_context_new (); if (node_properties != NULL) { fo_context_update_from_slist (current_context, node_properties); g_slist_free (node_properties); } fo_context_util_spaces_resolve (current_context, reference_area); fo_context_util_length_ranges_resolve (current_context, reference_area); /* Validate property values and property interactions of FO tree. */ fo_fo_validate (fo_fo, current_context, parent_context, &error); if (error != NULL) { g_propagate_error (prop_context->error, error); return TRUE; } fo_context_merge (current_context, parent_context); fo_fo_set_context (fo_fo, current_context); return FALSE; } /** * fo_fo_resolve_property_attributes: * @fo_node: #FoNode for which to resolve property attributes. * @data: Context in which to resolve the properties. * * Resolves the values of the properties of @fo_node. * * Return value: %TRUE if an error occurred, %FALSE otherwise. **/ gboolean fo_fo_resolve_property_attributes (FoNode *fo_node, gpointer data) { FoNodeTraverseFunc func; g_return_val_if_fail (FO_IS_FO (fo_node), TRUE); func = FO_FO_GET_CLASS (fo_node)->resolve_property_attributes; if (func != NULL) { return func (fo_node, data); } else { return FALSE; } } /** * fo_fo_children_properties_resolve_default: * @this_fo: #FoFo for which to resolve properties. * @this_fo_parent_area: Parent #FoArea to which to add new areas. * @new_area: New area, if any. * @prop_eval_hash: Map of property names to property eval functions. * @fo_doc: Output #FoDoc. * @continue_after_error: Whether to continue after any formatting errors. * @debug_level: Debug level. * @warning_mode: Warning mode. * @error: Indication of any error that occurred. * * Resolves the properties of the children of @this_fo. **/ void fo_fo_children_properties_resolve_default (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error) { GError *tmp_error = NULL; g_return_if_fail (FO_IS_FO (this_fo)); g_return_if_fail (FO_IS_AREA (this_fo_parent_area)); g_return_if_fail (*new_area == NULL); g_return_if_fail (error == NULL || *error == NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("node_children_properties_resolve:: this_fo: %s; this_fo_parent_area: %s", fo_object_debug_sprintf (this_fo), fo_object_debug_sprintf (this_fo_parent_area)); #endif FoPropertyResolveContext prop_context; prop_context.reference_area = fo_area_get_reference (this_fo_parent_area); prop_context.prop_eval_hash = prop_eval_hash; prop_context.continue_after_error = continue_after_error; prop_context.debug_level = debug_level; prop_context.warning_mode = warning_mode; prop_context.error = &tmp_error; gboolean resolve_attributes_halted = fo_fo_resolve_property_attributes (FO_NODE (this_fo), &prop_context); if (resolve_attributes_halted) { fo_object_log_or_propagate_error (FO_OBJECT (this_fo), error, tmp_error); return; } FoArea *this_fo_area = NULL; FoFoAreaNew2Context area_new2_context; area_new2_context.fo_doc = fo_doc; area_new2_context.parent_area = this_fo_parent_area; area_new2_context.new_area = &this_fo_area; area_new2_context.continue_after_error = continue_after_error; area_new2_context.debug_level = debug_level; fo_fo_area_new2 (this_fo, &area_new2_context, &tmp_error); *new_area = this_fo_area; FoArea *child_fo_parent_area; if (*new_area != NULL) { child_fo_parent_area = *new_area; } else { child_fo_parent_area = this_fo_parent_area; } #if defined(LIBFO_DEBUG) && 0 g_message ("node_children_properties_resolve:: initial *new_area: %s", fo_object_debug_sprintf (*new_area)); #endif FoNode *child_node = fo_node_first_child (FO_NODE (this_fo)); while (child_node) { FoArea *area = NULL; fo_fo_children_properties_resolve (FO_FO (child_node), child_fo_parent_area, &area, prop_eval_hash, fo_doc, continue_after_error, debug_level, warning_mode, &tmp_error); if (tmp_error != NULL) { g_propagate_error (/*FO_OBJECT (child_node),*/ error, tmp_error); return; } #if defined(LIBFO_DEBUG) && 0 g_message ("node_children_properties_resolve:: this_fo: %s; *new_area: %s; child_fo_parent_area: %s", fo_object_debug_sprintf (this_fo), *new_area ? fo_object_debug_sprintf (*new_area) : "(null)", fo_object_debug_sprintf (child_fo_parent_area)); #endif if (area != NULL) { child_fo_parent_area = fo_area_parent (area); if (*new_area) *new_area = child_fo_parent_area; } child_node = fo_node_next_sibling (child_node); } #if defined(LIBFO_DEBUG) && 0 g_message ("node_children_properties_resolve:: this_fo: %s; final *new_area: %s", fo_object_debug_sprintf (this_fo), *new_area ? fo_object_debug_sprintf (*new_area) : "(null)"); #endif } /** * fo_fo_children_properties_resolve: * @this_fo: #FoFo for which to resolve properties. * @this_fo_parent_area: Parent #FoArea to which to add new areas. * @new_area: New area, if any. * @prop_eval_hash: Map of property names to property eval functions. * @fo_doc: Output #FoDoc. * @continue_after_error: Whether to continue after any formatting errors. * @debug_level: Debug level. * @warning_mode: Warning mode. * @error: Indication of any error that occurred. * * Resolves the properties of the children of @this_fo. **/ void fo_fo_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error) { FO_FO_GET_CLASS (this_fo)->children_properties_resolve (this_fo, this_fo_parent_area, new_area, prop_eval_hash, fo_doc, continue_after_error, debug_level, warning_mode, error); } /** * fo_fo_area_new: * @fo: #FoFo for which to create a new area. * @fo_doc: Output #FoDoc * @parent_area: #FoArea to which to add new area. * @new_area: New area. * @debug_level: Debug level. * * Creates a new #FoArea for @fo and adds it as the last child of * @parent_area. * * Deprecated: Use #fo_fo_area_new2 in new code. **/ void fo_fo_area_new (FoFo *fo, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level) { FO_FO_GET_CLASS (fo)->area_new (fo, fo_doc, parent_area, new_area, debug_level); } /** * fo_fo_area_new_default: * @fo: #FoFo for which to create a new area. * @fo_doc: Output #FoDoc * @parent_area: #FoArea to which to add new area. * @new_area: New area. * @debug_level: Debug level. * * Creates a new #FoArea for @fo and adds it as the last child of * @parent_area. **/ static void fo_fo_area_new_default (FoFo *fo, FoDoc *fo_doc G_GNUC_UNUSED, FoArea *parent_area G_GNUC_UNUSED, FoArea **new_area, guint debug_level G_GNUC_UNUSED) { *new_area = NULL; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have an 'area_new' function."), fo_object_sprintf (FO_OBJECT (fo))); } /** * fo_fo_area_new2: * @fo: #FoFo for which to create area. * @context: Context in which to create area. * @error: Indication of any error that occurred. * * Creates a new #FoArea corresponding to @fo. **/ void fo_fo_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "fo_fo_area_new2:: %s", fo_object_debug_sprintf (fo)); #endif if (FO_FO_GET_CLASS (fo)->area_new2 != NULL) FO_FO_GET_CLASS (fo)->area_new2 (fo, context, error); } void fo_fo_area_new2_default (FoFo *fo G_GNUC_UNUSED, FoFoAreaNew2Context *context G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have an 'area_new2' function."), fo_object_sprintf (FO_OBJECT (fo))); #endif } /* Tree-related functions */ FoNode* fo_fo_prepend (FoNode *parent, FoNode *fo) { FoFo *parent_fo, *fo_fo; g_return_val_if_fail (FO_IS_FO (parent), fo); g_return_val_if_fail (FO_IS_FO (fo), fo); parent_fo = FO_FO (parent); fo_fo = FO_FO (fo); if (FO_IS_FLOW (fo_fo)) fo_fo->flow = fo_fo; else fo_fo->flow = parent_fo->flow; return FO_NODE_CLASS (parent_class)->prepend (parent, fo); } FoNode* fo_fo_append (FoNode *parent, FoNode *fo) { FoFo *parent_fo, *fo_fo; g_return_val_if_fail (FO_IS_FO (parent), fo); g_return_val_if_fail (FO_IS_FO (fo), fo); parent_fo = FO_FO (parent); fo_fo = FO_FO (fo); if (FO_IS_TREE (fo_fo)) fo_fo->tree = fo_fo; else fo_fo->tree = parent_fo->tree; if (FO_IS_FLOW (fo_fo)) fo_fo->flow = fo_fo; else fo_fo->flow = parent_fo->flow; /* FIXME: Is this either necessary or correct? */ if (parent_fo->context) fo_fo->context = g_object_ref (parent_fo->context); return FO_NODE_CLASS (parent_class)->append (parent, fo); } /** * fo_fo_trim_whitespace_children: * @fo: #FoFo to trim * * Remove any "whitespace" children of @fo. I.e., unlink and unref any * children that are FoText that contain only whitespace or are * FoWrapperWhitespace nodes. * * Leaves @fo with no "whitespace" children. **/ void fo_fo_trim_whitespace_children (FoFo *fo) { FoNode *fo_node; g_return_if_fail (FO_IS_FO (fo)); fo_node = fo_node_first_child (FO_NODE (fo)); while (fo_node) { FoNode *next_node = fo_node_next_sibling (fo_node); if (FO_IS_TEXT (fo_node) && fo_text_get_whitespace_only (FO_FO (fo_node))) { fo_node_unlink (fo_node); g_object_unref (fo_node); } else if (FO_IS_WRAPPER_WHITESPACE (fo_node)) { FoNode *whitespace_node = fo_node_first_child (fo_node); g_assert (fo_node_n_children (fo_node) == 1); fo_node_unlink (whitespace_node); g_object_unref (whitespace_node); fo_node_unlink (fo_node); g_object_unref (fo_node); } fo_node = next_node; } } /** * fo_fo_validate_content_empty: * @fo: #FoFo to validate. * @error: #GError indicating any error. * * Validates that @fo does not contain any child #FoFo * * Return value: %FALSE if @fo is empty. **/ gboolean fo_fo_validate_content_empty (FoFo *fo, GError **error) { GError *tmp_error; g_return_val_if_fail (FO_IS_FO (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); if (fo_node_n_children (FO_NODE (fo)) > 0) { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_NOT_EMPTY, "Not empty"); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } else { return FALSE; } } /** * fo_fo_validate_content_block_plus: * @fo: #FoFo to validate. * @error: #GError indicating any error. * * Validates the @fo contains one or more #FoBlockFo formatting objects. * * Return value: %FALSE if content matches. **/ gboolean fo_fo_validate_content_block_plus (FoFo *fo, GError **error) { GError *tmp_error; g_return_val_if_fail (FO_IS_FO (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); if (fo_node_n_children (FO_NODE (fo)) == 0) { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_NOT_EMPTY, _(fo_fo_error_messages[FO_FO_ERROR_NOT_EMPTY]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } else { FoNode *child_node = fo_node_first_child (FO_NODE (fo)); while (child_node) { if (!FO_IS_BLOCK_FO (FO_FO (child_node)) && !FO_IS_NEUTRAL_FO (FO_FO (child_node))) { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_NOT_BLOCK, _(fo_fo_error_messages[FO_FO_ERROR_NOT_BLOCK]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } child_node = fo_node_next_sibling (child_node); } return FALSE; } } #if 0 void fo_fo_validate_pcdata_or_inline (FoNode *fo_node, gboolean *is_not_pcdata_inline) { if (!FO_IS_INLINE_FO (FO_FO (fo_node))) *is_not_pcdata_inline = TRUE; } void fo_fo_validate_block_or_whitespace (FoNode *fo_node, gboolean *is_not_block_or_whitespace) { if (!FO_IS_BLOCK_FO (FO_FO (fo_node)) && !FO_IS_NEUTRAL_FO (FO_FO (fo_node)) && !(FO_IS_TEXT (FO_FO (fo_node)) && fo_text_get_whitespace_only (FO_FO (fo_node)))) *is_not_block_or_whitespace = TRUE; } #endif /** * fo_fo_validate_pcdata_inline_block_neutral: * @fo_node: #FoFo to validate * @data: Pointer to #gboolean storing result * * Validates that the content of @fo_node is only ##PCDATA or #FoInline or * #FoNeutral formatting objects. **/ void fo_fo_validate_pcdata_inline_block_neutral (FoNode *fo_node, gpointer data) { gboolean *is_not_pcdata_inline_block_neutral = (gboolean *) data; if (!FO_IS_INLINE_FO (FO_FO (fo_node)) && !FO_IS_NEUTRAL_FO (FO_FO (fo_node)) && !FO_IS_BLOCK_FO (FO_FO (fo_node))) { GError *error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CHILD, fo_fo_error_messages[FO_FO_ERROR_INVALID_CHILD], fo_object_sprintf (FO_OBJECT (fo_node)), fo_object_sprintf (FO_OBJECT (fo_node_parent (fo_node)))); *is_not_pcdata_inline_block_neutral = TRUE; fo_object_log_error (FO_OBJECT (fo_node), &error); } } /** * fo_fo_error_quark: * * Gets the #GQuark identifying #FoFo errors. * * Return value: #GQuark identifying #FoFo errors. **/ GQuark fo_fo_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("fo-fo-error"); return quark; } /** * fo_fo_get_area_iterator: * @fo: #FoFo for which to get iterator. * * Gets a #FoFoAreaIterator for iterating over the areas generated by @fo. * * Return value: A #FoFoAreaIterator. **/ FoFoAreaIterator* fo_fo_get_area_iterator (FoFo *fo) { FoFoAreaIterator *iterator; g_return_val_if_fail (FO_IS_FO (fo), NULL); iterator = g_new (FoFoAreaIterator, 1); iterator->fo = fo; iterator->area_list = fo->areas; return iterator; } /** * fo_fo_area_iterator_get_area: * @iterator: #FoFoAreaIterator for which to get current area. * * Gets the current #FoArea pointed to by @iterator. * * Return value: The current #FoArea. **/ FoArea* fo_fo_area_iterator_get_area (const FoFoAreaIterator *iterator) { g_return_val_if_fail (iterator != NULL, NULL); return iterator->area_list->data; } /** * fo_fo_area_iterator_next: * @iterator: #FoFoAreaIterator to modify * * Makes @iterator point to the next #FoArea in its list. * * Return value: %TRUE if there is a next #FoArea, %FALSE if not. **/ gboolean fo_fo_area_iterator_next (FoFoAreaIterator *iterator) { g_return_val_if_fail (iterator != NULL, FALSE); iterator->area_list = g_list_next (iterator->area_list); return (iterator->area_list != NULL) ? TRUE : FALSE; } void fo_fo_register_id (FoFo *fo, FoDatatype *id) { g_return_if_fail (FO_IS_FO (fo)); g_return_if_fail (FO_IS_ID (id)); if (fo->tree != NULL) { fo_tree_id_add (fo->tree, fo_id_get_value (id), fo); } } xmlroff-0.6.2/libfo/fo/fo-fo-private.h0000644000175000017500000000604111150536664014453 00000000000000/* Fo * fo-fo-private.h: Structures private to the base formatting object of * the formatting object system * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FO_PRIVATE_H__ #define __FO_FO_PRIVATE_H__ #include #include #include #include G_BEGIN_DECLS typedef struct _FoPropertyResolveContext FoPropertyResolveContext; struct _FoPropertyResolveContext { FoArea *reference_area; GHashTable *prop_eval_hash; gboolean continue_after_error; FoDebugFlag debug_level; FoWarningFlag warning_mode; GError **error; }; struct _FoFo { FoNode parent_instance; FoXmlNode *element; FoFo *tree; FoFo *flow; GList *areas; FoContext *context; }; struct _FoFoClass { FoNodeClass parent_class; void (* debug_dump_properties) (FoFo *fo, gint depth); void (* update_from_context) (FoFo *fo, FoContext *context); FoFo * (* clone) (FoFo *original); void (* update_after_clone) (FoFo *clone, FoFo *original); gboolean (* validate_content) (FoFo *fo, GError **error); void (* validate) (FoFo *fo, FoContext *current_context, FoContext *parent_context); void (* validate2) (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); void (* area_new) (FoFo *fo, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level); void (* area_new2) (FoFo *fo, FoFoAreaNew2Context *context, GError **error); FoNodeTraverseFunc resolve_property_attributes; void (* children_properties_resolve) (FoFo *parent_fo, FoArea *parent_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error); gboolean generate_reference_area; gboolean allow_mixed_content; }; void fo_fo_children_properties_resolve_default (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error); FoXmlNode * fo_fo_get_element (FoFo *fo_fo); void fo_fo_set_element (FoFo *fo_fo, FoXmlNode *new_element); void fo_fo_update_after_clone (FoFo *clone, FoFo *original); void fo_fo_register_id (FoFo *fo, FoDatatype *id); G_END_DECLS #endif /* !__FO_FO_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-inline-fo.c0000644000175000017500000001013410703107756014247 00000000000000/* Fo * fo-inline-fo.c: Inline formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-inline-fo.h" static void fo_inline_fo_base_class_init (FoInlineFoIface *klass); static void fo_inline_fo_get_text_attr_list_default (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); GType fo_inline_fo_get_type (void) { static GType inline_fo_type = 0; if (!inline_fo_type) { static const GTypeInfo inline_fo_info = { sizeof (FoInlineFoIface), /* class_size */ (GBaseInitFunc) fo_inline_fo_base_class_init, /* base_init */ NULL, /* base_finalize */ NULL, NULL, /* class_finalize */ NULL, /* class_data */ 0, 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; inline_fo_type = g_type_register_static (G_TYPE_INTERFACE, "FoInlineFoIface", &inline_fo_info, 0); g_type_interface_add_prerequisite (inline_fo_type, FO_TYPE_FO); } return inline_fo_type; } void fo_inline_fo_base_class_init (FoInlineFoIface *klass) { klass->get_text_attr_list = fo_inline_fo_get_text_attr_list_default; } /** * fo_inline_fo_get_text_attr_list: * @fo_inline_fo: The @FoInlineFo object * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO * @attr_glist: The list of Pango attributes for the inline FO * @debug_level: Debug level * * Gets the text of the inline FO and its associated list of Pango attributes **/ void fo_inline_fo_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_INLINE_FO (fo_inline_fo)); FO_INLINE_FO_GET_IFACE (fo_inline_fo)->get_text_attr_list (fo_inline_fo, fo_doc, text, attr_glist, debug_level); } void fo_inline_fo_get_text_attr_list_default (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist G_GNUC_UNUSED, guint debug_level) { FoNode *fo_child_node; GList *child_attr_glist = NULL; g_return_if_fail (FO_IS_INLINE_FO (fo_inline_fo)); #if defined(LIBFO_DEBUG) && 0 g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'get_text_attr_list' function."), fo_object_sprintf (FO_OBJECT (fo_inline_fo))); #endif fo_child_node = fo_node_first_child (FO_NODE (fo_inline_fo)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, &child_attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } } /** * fo_inline_fo_is_white_space: * @string: the string * * From http://www.w3.org/TR/xml/#sec-common-syn * * [3] S ::= (#x20 | #x9 | #xD | #xA)+ * * Return value: TRUE if the current character is an white space character, * otherwise FALSE **/ gboolean fo_inline_fo_is_white_space (const gchar *string) { return ((string != NULL) && ((*string == ' ') || (*string == '\t') || (*string == '\r') || (*string == '\n'))); } /** * fo_inline_fo_is_non_linefeed_white_space: * @string: the string * * From http://www.w3.org/TR/xml/#sec-common-syn * * [3] S ::= (#x20 | #x9 | #xD | #xA)+ * * Return value: TRUE if the current character is an white space character, * otherwise FALSE **/ gboolean fo_inline_fo_is_non_linefeed_white_space (const gchar *string) { return ((string != NULL) && ((*string == ' ') || (*string == '\t') || (*string == '\r'))); } /** * fo_inline_fo_is_linefeed: * @string: the string * * Return value: TRUE if the current character is a linefeed character, * otherwise FALSE **/ gboolean fo_inline_fo_is_linefeed (const gchar *string) { return ((string != NULL) && (*string == '\n')); } xmlroff-0.6.2/libfo/fo/fo-inline-fo.h0000644000175000017500000000325510703112660014250 00000000000000/* Fo * fo-inline-fo.h: Inline formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INLINE_FO_H__ #define __FO_INLINE_FO_H__ #include #include #include G_BEGIN_DECLS #define FO_TYPE_INLINE_FO (fo_inline_fo_get_type ()) #define FO_INLINE_FO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FO_TYPE_INLINE_FO, FoInlineFo)) #define FO_INLINE_FO_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_INLINE_FO, FoInlineFoIface)) #define FO_IS_INLINE_FO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FO_TYPE_INLINE_FO)) #define FO_INLINE_FO_GET_IFACE(obj) ((FoInlineFoIface *)g_type_interface_peek (((GTypeInstance *) FO_INLINE_FO (obj))->g_class, FO_TYPE_INLINE_FO)) typedef struct _FoInlineFo FoInlineFo; /* Dummy typedef */ typedef struct _FoInlineFoIface FoInlineFoIface; struct _FoInlineFoIface { GTypeInterface g_iface; void (*get_text_attr_list) (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); }; GType fo_inline_fo_get_type (void) G_GNUC_CONST; void fo_inline_fo_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); gboolean fo_inline_fo_is_white_space (const gchar *string); gboolean fo_inline_fo_is_non_linefeed_white_space (const gchar *string); gboolean fo_inline_fo_is_linefeed (const gchar *string); G_END_DECLS #endif /* !__FO_INLINE_FO_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-fo.c0000644000175000017500000003426411150515137014066 00000000000000/* Fo * fo-block-fo.c: Block formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-block-fo.h" #include "fo-block-fo-private.h" #include "area/fo-area-area.h" GType fo_block_fo_get_type (void) { static GType block_fo_type = 0; if (!block_fo_type) { static const GTypeInfo block_fo_info = { sizeof (FoBlockFoIface), /* class_size */ NULL, /* base_init */ NULL, /* base_finalize */ NULL, NULL, /* class_finalize */ NULL, /* class_data */ 0, 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; block_fo_type = g_type_register_static (G_TYPE_INTERFACE, "FoBlockFoIface", &block_fo_info, 0); g_type_interface_add_prerequisite (block_fo_type, FO_TYPE_FO); } return block_fo_type; } void fo_block_fo_update_area (FoFo *fo, FoArea *area) { FoArea *use_child_area; gfloat total_child_height = 0; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK_FO (fo)); g_return_if_fail (fo_area_get_generated_by (area) == fo); fo_area_area_set_border_after (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_border_after_width (fo)))); fo_area_area_set_border_before (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_border_before_width (fo)))); fo_area_area_set_border_end (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_border_end_width (fo)))); fo_area_area_set_border_start (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_border_start_width (fo)))); fo_area_area_set_padding_before (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_padding_before (fo)))); fo_area_area_set_padding_end (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_padding_end (fo)))); fo_area_area_set_padding_after (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_padding_after (fo)))); fo_area_area_set_padding_start (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_padding_start (fo)))); fo_area_area_set_start_indent (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_start_indent (fo)))); fo_area_area_set_end_indent (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_end_indent (fo)))); fo_area_area_set_space_before (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_space_before (fo)))); fo_area_area_set_space_after (area, fo_length_get_value (fo_property_get_value (fo_block_fo_get_space_after (fo)))); use_child_area = fo_area_first_child (area); while (use_child_area) { total_child_height += fo_area_area_get_height (use_child_area); use_child_area = fo_area_next_sibling (use_child_area); } fo_area_area_set_height (area, total_child_height + fo_area_area_get_space_before (area) + fo_area_area_get_border_before (area) + fo_area_area_get_padding_before (area) + fo_area_area_get_padding_after (area) + fo_area_area_get_border_after (area) + fo_area_area_get_space_after (area)); } /** * fo_block_fo_get_background_color: * @fo_block_fo: The @FoBlockFo object * * Gets the #background-color property of @fo_block_fo * * Return value: The "background-color" property value **/ FoProperty * fo_block_fo_get_background_color (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_background_color (fo_block_fo); } /** * fo_block_fo_get_border_after_color: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-after-color property of @fo_block_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_block_fo_get_border_after_color (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_after_color (fo_block_fo); } /** * fo_block_fo_get_border_after_style: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-after-style property of @fo_block_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_block_fo_get_border_after_style (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_after_style (fo_block_fo); } /** * fo_block_fo_get_border_after_width: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-after-width property of @fo_block_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_block_fo_get_border_after_width (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_after_width (fo_block_fo); } /** * fo_block_fo_get_border_before_color: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-before-color property of @fo_block_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_block_fo_get_border_before_color (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_before_color (fo_block_fo); } /** * fo_block_fo_get_border_before_style: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-before-style property of @fo_block_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_block_fo_get_border_before_style (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_before_style (fo_block_fo); } /** * fo_block_fo_get_border_before_width: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-before-width property of @fo_block_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_block_fo_get_border_before_width (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_before_width (fo_block_fo); } /** * fo_block_fo_get_border_end_color: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-end-color property of @fo_block_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_block_fo_get_border_end_color (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_end_color (fo_block_fo); } /** * fo_block_fo_get_border_end_style: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-end-style property of @fo_block_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_block_fo_get_border_end_style (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_end_style (fo_block_fo); } /** * fo_block_fo_get_border_end_width: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-end-width property of @fo_block_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_block_fo_get_border_end_width (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_end_width (fo_block_fo); } /** * fo_block_fo_get_border_start_color: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-start-color property of @fo_block_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_block_fo_get_border_start_color (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_start_color (fo_block_fo); } /** * fo_block_fo_get_border_start_style: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-start-style property of @fo_block_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_block_fo_get_border_start_style (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_start_style (fo_block_fo); } /** * fo_block_fo_get_border_start_width: * @fo_block_fo: The @FoBlockFo object * * Gets the #border-start-width property of @fo_block_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_block_fo_get_border_start_width (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_border_start_width (fo_block_fo); } /** * fo_block_fo_get_keep_together: * @fo_block_fo: The #FoBlockFo object * * Gets the #keep-together property of @fo_block_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_block_fo_get_keep_together (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_keep_together (fo_block_fo); } /** * fo_block_fo_get_keep_with_next: * @fo_block_fo: The #FoBlockFo object * * Gets the #keep-with-next property of @fo_block_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_block_fo_get_keep_with_next (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_keep_with_next (fo_block_fo); } /** * fo_block_fo_get_keep_with_previous: * @fo_block_fo: The #FoBlockFo object * * Gets the #keep-with-previous property of @fo_block_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_block_fo_get_keep_with_previous (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_keep_with_previous (fo_block_fo); } /** * fo_block_fo_get_padding_after: * @fo_block_fo: The @FoBlockFo object * * Gets the #padding-after-color property of @fo_block_fo * * Return value: The "padding-after-color" property value **/ FoProperty* fo_block_fo_get_padding_after (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_padding_after (fo_block_fo); } /** * fo_block_fo_get_padding_before: * @fo_block_fo: The @FoBlockFo object * * Gets the #padding-before-color property of @fo_block_fo * * Return value: The "padding-before-color" property value **/ FoProperty* fo_block_fo_get_padding_before (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_padding_before (fo_block_fo); } /** * fo_block_fo_get_padding_end: * @fo_block_fo: The @FoBlockFo object * * Gets the #padding-end-color property of @fo_block_fo * * Return value: The "padding-end-color" property value **/ FoProperty* fo_block_fo_get_padding_end (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_padding_end (fo_block_fo); } /** * fo_block_fo_get_padding_start: * @fo_block_fo: The @FoBlockFo object * * Gets the #padding-start-color property of @fo_block_fo * * Return value: The "padding-start-color" property value **/ FoProperty* fo_block_fo_get_padding_start (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_padding_start (fo_block_fo); } /** * fo_block_fo_get_space_before: * @fo_block_fo: The @FoBlockFo object * * Gets the #space-before property of @fo_block_fo * * Return value: The "space-before" property value **/ FoProperty* fo_block_fo_get_space_before (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_space_before (fo_block_fo); } /** * fo_block_fo_get_space_after: * @fo_block_fo: The @FoBlockFo object * * Gets the #space-after property of @fo_block_fo * * Return value: The "space-after" property value **/ FoProperty* fo_block_fo_get_space_after (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_space_after (fo_block_fo); } /** * fo_block_fo_get_start_indent: * @fo_block_fo: The @FoBlockFo object * * Gets the #start-indent property of @fo_block_fo * * Return value: The "start-indent" property value **/ FoProperty* fo_block_fo_get_start_indent (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_start_indent (fo_block_fo); } /** * fo_block_fo_get_end_indent: * @fo_block_fo: The @FoBlockFo object * * Gets the #end-indent property of @fo_block_fo * * Return value: The "end-indent" property value **/ FoProperty* fo_block_fo_get_end_indent (FoFo *fo_block_fo) { g_return_val_if_fail (fo_block_fo != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_FO (fo_block_fo), NULL); return FO_BLOCK_FO_GET_IFACE (fo_block_fo)->get_end_indent (fo_block_fo); } xmlroff-0.6.2/libfo/fo/fo-block-fo.h0000644000175000017500000000541310643167375014102 00000000000000/* Fo * fo-block-fo.h: Block formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BLOCK_FO_H__ #define __FO_BLOCK_FO_H__ #include #include #include G_BEGIN_DECLS #define FO_TYPE_BLOCK_FO (fo_block_fo_get_type ()) #define FO_BLOCK_FO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FO_TYPE_BLOCK_FO, FoBlockFo)) #define FO_BLOCK_FO_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_BLOCK_FO, FoBlockFoIface)) #define FO_IS_BLOCK_FO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FO_TYPE_BLOCK_FO)) #define FO_BLOCK_FO_GET_IFACE(obj) ((FoBlockFoIface *)g_type_interface_peek (((GTypeInstance *) FO_BLOCK_FO (obj))->g_class, FO_TYPE_BLOCK_FO)) typedef struct _FoBlockFo FoBlockFo; /* Dummy typedef */ typedef struct _FoBlockFoIface FoBlockFoIface; GType fo_block_fo_get_type (void) G_GNUC_CONST; void fo_block_fo_update_area (FoFo *fo, FoArea *area); FoProperty * fo_block_fo_get_background_color (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_after_color (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_after_style (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_after_width (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_before_color (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_before_style (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_before_width (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_end_color (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_end_style (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_end_width (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_start_color (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_start_style (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_border_start_width (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_keep_together (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_keep_with_next (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_keep_with_previous (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_padding_after (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_padding_before (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_padding_end (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_padding_start (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_space_before (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_space_after (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_start_indent (FoFo *fo_block_fo); FoProperty * fo_block_fo_get_end_indent (FoFo *fo_block_fo); G_END_DECLS #endif /* !__FO_BLOCK_FO_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-fo-private.h0000644000175000017500000000371410643167376015555 00000000000000/* Fo * fo-block-fo-private.h: Structures private to block formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BLOCK_FO_PRIVATE_H__ #define __FO_BLOCK_FO_PRIVATE_H__ #include G_BEGIN_DECLS struct _FoBlockFoIface { GTypeInterface g_iface; FoProperty * (* get_background_color) (FoFo *fo_block_fo); FoProperty * (* get_border_after_color) (FoFo *fo_block_fo); FoProperty * (* get_border_after_style) (FoFo *fo_block_fo); FoProperty * (* get_border_after_width) (FoFo *fo_block_fo); FoProperty * (* get_border_before_color) (FoFo *fo_block_fo); FoProperty * (* get_border_before_style) (FoFo *fo_block_fo); FoProperty * (* get_border_before_width) (FoFo *fo_block_fo); FoProperty * (* get_border_end_color) (FoFo *fo_block_fo); FoProperty * (* get_border_end_style) (FoFo *fo_block_fo); FoProperty * (* get_border_end_width) (FoFo *fo_block_fo); FoProperty * (* get_border_start_color) (FoFo *fo_block_fo); FoProperty * (* get_border_start_style) (FoFo *fo_block_fo); FoProperty * (* get_border_start_width) (FoFo *fo_block_fo); FoProperty * (* get_keep_together) (FoFo *fo_block_fo); FoProperty * (* get_keep_with_next) (FoFo *fo_block_fo); FoProperty * (* get_keep_with_previous) (FoFo *fo_block_fo); FoProperty * (* get_padding_after) (FoFo *fo_block_fo); FoProperty * (* get_padding_before) (FoFo *fo_block_fo); FoProperty * (* get_padding_end) (FoFo *fo_block_fo); FoProperty * (* get_padding_start) (FoFo *fo_block_fo); FoProperty * (* get_space_before) (FoFo *fo_block_fo); FoProperty * (* get_space_after) (FoFo *fo_block_fo); FoProperty * (* get_start_indent) (FoFo *fo_block_fo); FoProperty * (* get_end_indent) (FoFo *fo_block_fo); }; G_END_DECLS #endif /* !__FO_BLOCK_FO_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-border-fo.c0000644000175000017500000002471310660107744015342 00000000000000/* Fo * fo-table-border-fo.c: Table border properties formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-table-border-fo.h" #include "fo-table-border-fo-private.h" #include "area/fo-area-area.h" GType fo_table_border_fo_get_type (void) { static GType table_border_fo_type = 0; if (!table_border_fo_type) { static const GTypeInfo table_border_fo_info = { sizeof (FoTableBorderFoIface), /* class_size */ NULL, /* base_init */ NULL, /* base_finalize */ NULL, NULL, /* class_finalize */ NULL, /* class_data */ 0, 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; table_border_fo_type = g_type_register_static (G_TYPE_INTERFACE, "FoTableBorderFoIface", &table_border_fo_info, 0); g_type_interface_add_prerequisite (table_border_fo_type, FO_TYPE_FO); } return table_border_fo_type; } /** * fo_table_border_fo_get_background_color: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #background-color property of @fo_table_border_fo * * Return value: The "background-color" property value **/ FoProperty * fo_table_border_fo_get_background_color (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_background_color (fo_table_border_fo); } /** * fo_table_border_fo_get_border_after_color: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-after-color property of @fo_table_border_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_table_border_fo_get_border_after_color (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_after_color (fo_table_border_fo); } /** * fo_table_border_fo_get_border_after_precedence: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the "border-after-precedence" property of @fo_table_border_fo * * Return value: The "border-after-precedence" property value **/ FoProperty* fo_table_border_fo_get_border_after_precedence (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_after_precedence (fo_table_border_fo); } /** * fo_table_border_fo_get_border_after_style: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-after-style property of @fo_table_border_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_table_border_fo_get_border_after_style (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_after_style (fo_table_border_fo); } /** * fo_table_border_fo_get_border_after_width: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-after-width property of @fo_table_border_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_table_border_fo_get_border_after_width (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_after_width (fo_table_border_fo); } /** * fo_table_border_fo_get_border_before_color: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-before-color property of @fo_table_border_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_table_border_fo_get_border_before_color (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_before_color (fo_table_border_fo); } /** * fo_table_border_fo_get_border_before_precedence: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the "border-before-precedence" property of @fo_table_border_fo * * Return value: The "border-before-precedence" property value **/ FoProperty* fo_table_border_fo_get_border_before_precedence (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_before_precedence (fo_table_border_fo); } /** * fo_table_border_fo_get_border_before_style: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-before-style property of @fo_table_border_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_table_border_fo_get_border_before_style (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_before_style (fo_table_border_fo); } /** * fo_table_border_fo_get_border_before_width: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-before-width property of @fo_table_border_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_table_border_fo_get_border_before_width (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_before_width (fo_table_border_fo); } /** * fo_table_border_fo_get_border_end_color: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-end-color property of @fo_table_border_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_table_border_fo_get_border_end_color (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_end_color (fo_table_border_fo); } /** * fo_table_border_fo_get_border_end_precedence: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the "border-end-precedence" property of @fo_table_border_fo * * Return value: The "border-end-precedence" property value **/ FoProperty* fo_table_border_fo_get_border_end_precedence (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_end_precedence (fo_table_border_fo); } /** * fo_table_border_fo_get_border_end_style: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-end-style property of @fo_table_border_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_table_border_fo_get_border_end_style (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_end_style (fo_table_border_fo); } /** * fo_table_border_fo_get_border_end_width: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-end-width property of @fo_table_border_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_table_border_fo_get_border_end_width (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_end_width (fo_table_border_fo); } /** * fo_table_border_fo_get_border_start_color: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-start-color property of @fo_table_border_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_table_border_fo_get_border_start_color (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_start_color (fo_table_border_fo); } /** * fo_table_border_fo_get_border_start_precedence: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the "border-start-precedence" property of @fo_table_border_fo * * Return value: The "border-start-precedence" property value **/ FoProperty* fo_table_border_fo_get_border_start_precedence (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_start_precedence (fo_table_border_fo); } /** * fo_table_border_fo_get_border_start_style: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-start-style property of @fo_table_border_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_table_border_fo_get_border_start_style (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_start_style (fo_table_border_fo); } /** * fo_table_border_fo_get_border_start_width: * @fo_table_border_fo: The @FoTableBorderFo object * * Gets the #border-start-width property of @fo_table_border_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_table_border_fo_get_border_start_width (FoFo *fo_table_border_fo) { g_return_val_if_fail (fo_table_border_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BORDER_FO (fo_table_border_fo), NULL); return FO_TABLE_BORDER_FO_GET_IFACE (fo_table_border_fo)->get_border_start_width (fo_table_border_fo); } xmlroff-0.6.2/libfo/fo/fo-table-border-fo.h0000644000175000017500000000526710643167376015362 00000000000000/* Fo * fo-table-border-fo.h: Block formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_BORDER_FO_H__ #define __FO_TABLE_BORDER_FO_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_TABLE_BORDER_FO (fo_table_border_fo_get_type ()) #define FO_TABLE_BORDER_FO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FO_TYPE_TABLE_BORDER_FO, FoTableBorderFo)) #define FO_TABLE_BORDER_FO_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_TABLE_BORDER_FO, FoTableBorderFoIface)) #define FO_IS_TABLE_BORDER_FO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FO_TYPE_TABLE_BORDER_FO)) #define FO_TABLE_BORDER_FO_GET_IFACE(obj) ((FoTableBorderFoIface *)g_type_interface_peek (((GTypeInstance *) FO_TABLE_BORDER_FO (obj))->g_class, FO_TYPE_TABLE_BORDER_FO)) typedef struct _FoTableBorderFo FoTableBorderFo; /* Dummy typedef */ typedef struct _FoTableBorderFoIface FoTableBorderFoIface; GType fo_table_border_fo_get_type (void) G_GNUC_CONST; FoProperty * fo_table_border_fo_get_background_color (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_after_color (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_after_precedence (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_after_style (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_after_width (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_before_color (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_before_precedence (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_before_style (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_before_width (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_end_color (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_end_precedence (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_end_style (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_end_width (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_start_color (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_start_precedence (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_start_style (FoFo *fo_table_border_fo); FoProperty * fo_table_border_fo_get_border_start_width (FoFo *fo_table_border_fo); G_END_DECLS #endif /* !__FO_TABLE_BORDER_FO_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-border-fo-private.h0000644000175000017500000000347010643167376017024 00000000000000/* Fo * fo-table-border-private-fo.h: Structures private to the table * border properties formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_BORDER_FO_PRIVATE_H__ #define __FO_TABLE_BORDER_FO_PRIVATE_H__ #include G_BEGIN_DECLS struct _FoTableBorderFoIface { GTypeInterface g_iface; FoProperty * (* get_background_color) (FoFo *fo_table_border_fo); FoProperty * (* get_border_after_color) (FoFo *fo_table_border_fo); FoProperty * (* get_border_after_precedence) (FoFo *fo_table_border_fo); FoProperty * (* get_border_after_style) (FoFo *fo_table_border_fo); FoProperty * (* get_border_after_width) (FoFo *fo_table_border_fo); FoProperty * (* get_border_before_color) (FoFo *fo_table_border_fo); FoProperty * (* get_border_before_precedence) (FoFo *fo_table_border_fo); FoProperty * (* get_border_before_style) (FoFo *fo_table_border_fo); FoProperty * (* get_border_before_width) (FoFo *fo_table_border_fo); FoProperty * (* get_border_end_color) (FoFo *fo_table_border_fo); FoProperty * (* get_border_end_precedence) (FoFo *fo_table_border_fo); FoProperty * (* get_border_end_style) (FoFo *fo_table_border_fo); FoProperty * (* get_border_end_width) (FoFo *fo_table_border_fo); FoProperty * (* get_border_start_color) (FoFo *fo_table_border_fo); FoProperty * (* get_border_start_precedence) (FoFo *fo_table_border_fo); FoProperty * (* get_border_start_style) (FoFo *fo_table_border_fo); FoProperty * (* get_border_start_width) (FoFo *fo_table_border_fo); }; G_END_DECLS #endif /* !__FO_TABLE_BORDER_FO_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-neutral-fo.c0000644000175000017500000000166210643167376014460 00000000000000/* Fo * fo-neutral-fo.c: Neutral formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-neutral-fo.h" GType fo_neutral_fo_get_type (void) { static GType neutral_fo_type = 0; if (!neutral_fo_type) { static const GTypeInfo neutral_fo_info = { sizeof (FoNeutralFoIface), /* class_size */ NULL, /* base_init */ NULL, /* base_finalize */ NULL, NULL, /* class_finalize */ NULL, /* class_data */ 0, 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; neutral_fo_type = g_type_register_static (G_TYPE_INTERFACE, "FoNeutralIface", &neutral_fo_info, 0); g_type_interface_add_prerequisite (neutral_fo_type, FO_TYPE_FO); } return neutral_fo_type; } xmlroff-0.6.2/libfo/fo/fo-neutral-fo.h0000644000175000017500000000213710643167376014463 00000000000000/* Fo * fo-neutral-fo.h: Neutral formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_NEUTRAL_FO_H__ #define __FO_NEUTRAL_FO_H__ #include G_BEGIN_DECLS #define FO_TYPE_NEUTRAL_FO (fo_neutral_fo_get_type ()) #define FO_NEUTRAL_FO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FO_TYPE_NEUTRAL_FO, FoNeutralFo)) #define FO_NEUTRAL_FO_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_NEUTRAL_FO, FoNeutralFoIface)) #define FO_IS_NEUTRAL_FO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FO_TYPE_NEUTRAL_FO)) #define FO_NEUTRAL_FO_GET_IFACE(obj) ((FoNeutralFoIface *)g_type_interface_peek (((GTypeInstance *) FO_NEUTRAL_FO (obj))->g_class, FO_TYPE_NEUTRAL_FO)) typedef struct _FoNeutralFo FoNeutralFo; /* Dummy typedef */ typedef struct _FoNeutralFoIface FoNeutralFoIface; struct _FoNeutralFoIface { GTypeInterface g_iface; }; GType fo_neutral_fo_get_type (void) G_GNUC_CONST; G_END_DECLS #endif /* !__FO_NEUTRAL_FO_H__ */ xmlroff-0.6.2/libfo/fo/fo-text.c0000644000175000017500000007145010703113207013347 00000000000000/* Fo * fo-text.c: Unofficial 'text' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ /* * Section 6.6.3, fo:character, of the XSL 1.0 Recommendation states: * * When the result tree is interpreted as a tree of formatting * objects, a character in the result tree is treated as if it were * an empty element of type fo:character with a character attribute * equal to the Unicode representation of the character. * * This "unofficial" formatting object represents a sequence of * characters. It exists as a convenience mechanism to save having to * devolve every run of text into separate FoCharacter objects. * * Since the characters in the run of text all have the same * properties, using one FoText object instead of multiple FoCharacter * objects reduces the number of Pango attributes that need to be * created and managed. * * Also, since the characters in the run of text are not explicitly * marked up as fo:character FOs, all of the non-inherited properties * of fo:character have their default values. Since the default * values are the "do-nothing" values, the non-inherited properties do * not need to be handled by the FoText object. * * The inherited properties of fo:character that do need to be handled * by FoText are: * * color * country * font-family * font-selection-strategy * font-size * font-size-adjust * font-stretch * font-style * font-variant * font-weight * glyph-orientation-horizontal * glyph-orientation-vertical * hyphenate * hyphenation-character * hyphenation-push-character * hyphenation-push-character-count * hyphenation-remain-character-count * language * letter-spacing * line-height * score-spaces * script * text-decoration * text-shadow * visibility * word-spacing */ #include "fo-utils.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-inline-fo.h" #include "fo-text.h" #include "property/fo-property-color.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-score-spaces.h" enum { PROP_0, PROP_COLOR, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_SCORE_SPACES, PROP_VALUE, PROP_WHITESPACE_ONLY }; struct _FoText { FoFo parent_instance; FoProperty *color; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *score_spaces; GString *value; gboolean whitespace_only; }; struct _FoTextClass { FoFoClass parent_class; }; static void fo_text_class_init (FoTextClass *klass); static void fo_text_inline_fo_init (FoInlineFoIface *iface); static void fo_text_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_text_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static gboolean fo_text_resolve_property_attributes (FoNode *fo_node, gpointer data); static void fo_text_finalize (GObject *object); static void fo_text_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_text_update_from_context (FoFo *fo, FoContext *context); static void fo_text_debug_dump (FoObject *object, gint depth); static void fo_text_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; GType fo_text_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTextClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_text_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoText), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_text_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoText", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_text_class_init: * @klass: FoTextClass object to initialise * * Implements GClassInitFunc for FoTextClass **/ static void fo_text_class_init (FoTextClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fo_fo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_text_finalize; object_class->set_property = fo_text_set_property; object_class->get_property = fo_text_get_property; FO_OBJECT_CLASS (klass)->debug_dump = fo_text_debug_dump; fo_fo_class->update_from_context = fo_text_update_from_context; fo_fo_class->resolve_property_attributes = fo_text_resolve_property_attributes; fo_fo_class->validate2 = fo_text_validate; g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCORE_SPACES, g_param_spec_object ("score-spaces", _("Score Spaces"), _("Score Spaces property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_string ("value", _("String value"), _("String value property"), NULL, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WHITESPACE_ONLY, g_param_spec_boolean ("whitespace-only", _("Contains only whitespace characters"), _("Whether or not the text object contains only whitespace characters"), FALSE, G_PARAM_READABLE)); } /** * fo_text_inline_fo_init: * @iface: FoInlineFoIFace structure for this class * * Initialize FoInlineFoIface interface for this class **/ void fo_text_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_text_get_text_attr_list; } /** * fo_text_finalize: * @object: FoText object to finalize * * Implements GObjectFinalizeFunc for FoText **/ void fo_text_finalize (GObject *object) { FoText *fo_text; fo_text = FO_TEXT (object); g_string_free (fo_text->value, TRUE); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_text_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoText **/ void fo_text_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_text; fo_text = FO_FO (object); switch (prop_id) { case PROP_COLOR: fo_text_set_color (fo_text, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_text_set_font_family (fo_text, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_text_set_font_size (fo_text, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_text_set_font_stretch (fo_text, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_text_set_font_style (fo_text, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_text_set_font_variant (fo_text, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_text_set_font_weight (fo_text, g_value_get_object (value)); break; case PROP_VALUE: fo_text_set_value (fo_text, g_value_get_string (value)); break; case PROP_WHITESPACE_ONLY: /* fall through, since can't set whitespace-only property */ default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_text_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoText **/ void fo_text_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_text; fo_text = FO_FO (object); switch (prop_id) { case PROP_COLOR: g_value_set_object (value, G_OBJECT (fo_text_get_color (fo_text))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_text_get_font_family (fo_text))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_text_get_font_size (fo_text))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_text_get_font_stretch (fo_text))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_text_get_font_style (fo_text))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_text_get_font_variant (fo_text))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_text_get_font_weight (fo_text))); break; case PROP_VALUE: g_value_set_string (value, fo_text_get_value (fo_text)); break; case PROP_WHITESPACE_ONLY: g_value_set_boolean (value, fo_text_get_whitespace_only (fo_text)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_text_new: * * Creates a new #FoText initialized to default value. * * Return value: the new #FoText **/ FoFo* fo_text_new (void) { return FO_FO (g_object_new (fo_text_get_type (), NULL)); } /** * fo_text_resolve_property_attributes: * @fo_node: #FoFo * @data: Context within which to resolve property expressions * * Every #FoFo object was created from a result tree element that is * in the XSL FO namespace. The object's specified property values * are created from the result tree element's attributes. * * This function evaluates each of the property attributes of the * result tree element for @fo_node. * * Return value: %FALSE if completed successfully, %TRUE otherwise **/ gboolean fo_text_resolve_property_attributes (FoNode *fo_node, gpointer data) { FoPropertyResolveContext *prop_context = (FoPropertyResolveContext *) data; GError *error = NULL; gboolean continue_after_error = prop_context->continue_after_error; g_return_val_if_fail (FO_IS_TEXT (fo_node), TRUE); g_return_val_if_fail (prop_context != NULL, TRUE); /* FoText is an convenience for not creating lots of FoCharacter FOs. It doesn't have a context of its own, since all its property values are those of its containing FO. So there is no current context of the FoText. */ fo_fo_validate (FO_FO (fo_node), NULL, fo_fo_get_context (FO_FO (fo_node_parent (fo_node))), &error); if (error != NULL) { fo_object_maybe_propagate_error (FO_OBJECT (fo_node), prop_context->error, error, continue_after_error); return TRUE; } fo_fo_set_context (FO_FO (fo_node), fo_fo_get_context (FO_FO (fo_node_parent (fo_node)))); return FALSE; } /** * fo_text_validate: * @fo: #FoInline object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_text_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoText *fo_text; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TEXT (fo)); g_return_if_fail ((current_context == NULL) || FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_text = FO_TEXT (fo); fo_fo_update_from_context (fo, parent_context); FoEnumEnum linefeed_treatment = fo_enum_get_value (fo_property_get_value (fo_context_get_linefeed_treatment (parent_context))); if (linefeed_treatment != FO_ENUM_ENUM_PRESERVE) { gchar **strings = g_strsplit_set (fo_text_get_value (fo), "\n", -1); gchar *separator = NULL; switch (linefeed_treatment) { case FO_ENUM_ENUM_IGNORE: separator = NULL; break; case FO_ENUM_ENUM_TREAT_AS_SPACE: separator = " "; break; case FO_ENUM_ENUM_TREAT_AS_ZERO_WIDTH_SPACE: /* ZERO WIDTH SPACE = U+200B */ separator = "\xe2\x80\x8b"; break; default: g_assert_not_reached (); } gchar *new_value = g_strjoinv (separator, strings); fo_text_set_value (fo, new_value); g_strfreev (strings); g_free (new_value); } } /** * fo_text_update_from_context: * @fo: The #FoFo object * @context: The #FoContext object from which to update the properties of @fo * * Sets the properties of @fo to the corresponding property values in @context **/ void fo_text_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TEXT (fo)); fo_text_set_color (fo, fo_context_get_color (context)); fo_text_set_font_family (fo, fo_context_get_font_family (context)); fo_text_set_font_size (fo, fo_context_get_font_size (context)); fo_text_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_text_set_font_style (fo, fo_context_get_font_style (context)); fo_text_set_font_variant (fo, fo_context_get_font_variant (context)); fo_text_set_font_weight (fo, fo_context_get_font_weight (context)); fo_text_set_score_spaces (fo, fo_context_get_score_spaces (context)); } void fo_text_debug_dump (FoObject *object, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar *object_sprintf; gchar text[45]; FoText *fo_text; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_TEXT (object)); fo_text = FO_TEXT (object); object_sprintf = fo_object_debug_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); fo_object_debug_dump (fo_text->color, depth + 2); fo_object_debug_dump (fo_text->font_family, depth + 2); fo_object_debug_dump (fo_text->font_size, depth + 2); fo_object_debug_dump (fo_text->font_stretch, depth + 2); fo_object_debug_dump (fo_text->font_style, depth + 2); fo_object_debug_dump (fo_text->font_variant, depth + 2); fo_object_debug_dump (fo_text->font_weight, depth + 2); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s whitespace-only: %s", indent, FO_TEXT (object)->whitespace_only ? "TRUE" : "FALSE"); FO_FO_GET_CLASS (object)->debug_dump_properties (FO_FO (object), depth + 2); g_utf8_strncpy (text, fo_text->value->str, g_utf8_strlen (fo_text->value->str, 40)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, text); g_free (indent); } /** * fo_text_set_color: * @fo_fo: The @FoFo object * @new_color: The new "color" property value * * Sets the #color property of @text to @new_color **/ void fo_text_set_color (FoFo *fo_fo, FoProperty *new_color) { FoText *fo_text = (FoText *) fo_fo; g_return_if_fail (fo_text != NULL); g_return_if_fail (FO_IS_TEXT (fo_text)); g_return_if_fail (FO_IS_PROPERTY_COLOR (new_color)); if (new_color) g_object_ref (G_OBJECT (new_color)); if (fo_text->color) g_object_unref (G_OBJECT (fo_text->color)); fo_text->color = new_color; /*g_object_notify (G_OBJECT (fo_text), "color");*/ } /** * fo_text_get_color: * @fo_fo: The @FoFo object * * Gets the #color property of @text * * Return value: The "color" property value **/ FoProperty* fo_text_get_color (FoFo *fo_fo) { FoText *fo_text = (FoText *) fo_fo; g_return_val_if_fail (fo_text != NULL, NULL); g_return_val_if_fail (FO_IS_TEXT (fo_text), NULL); return fo_text->color; } /** * fo_text_set_font_family: * @fo_fo: The @FoFo object * @new_font_family: The new "font-family" property value * * Sets the #font-family property of @text to @new_font_family **/ void fo_text_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoText *fo_text = (FoText *) fo_fo; g_return_if_fail (fo_text != NULL); g_return_if_fail (FO_IS_TEXT (fo_text)); g_return_if_fail (FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family) g_object_ref (G_OBJECT (new_font_family)); if (fo_text->font_family) g_object_unref (G_OBJECT (fo_text->font_family)); fo_text->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_text), "font-family");*/ } /** * fo_text_get_font_family: * @fo_fo: The @FoFo object * * Gets the #font-family property of @text * * Return value: The "font-family" property value **/ FoProperty* fo_text_get_font_family (FoFo *fo_fo) { FoText *fo_text = (FoText *) fo_fo; g_return_val_if_fail (fo_text != NULL, NULL); g_return_val_if_fail (FO_IS_TEXT (fo_text), NULL); return fo_text->font_family; } /** * fo_text_set_font_size: * @fo_fo: The @FoFo object * @new_font_size: The new "font-size" property value * * Sets the #font-size property of @text to @new_font_size **/ void fo_text_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoText *fo_text = (FoText *) fo_fo; g_return_if_fail (fo_text != NULL); g_return_if_fail (FO_IS_TEXT (fo_text)); g_return_if_fail (FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size) g_object_ref (G_OBJECT (new_font_size)); if (fo_text->font_size) g_object_unref (G_OBJECT (fo_text->font_size)); fo_text->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_text), "font-size");*/ } /** * fo_text_get_font_size: * @fo_fo: The @FoFo object * * Gets the #font-size property of @text * * Return value: The "font-size" property value **/ FoProperty* fo_text_get_font_size (FoFo *fo_fo) { FoText *fo_text = (FoText *) fo_fo; g_return_val_if_fail (fo_text != NULL, NULL); g_return_val_if_fail (FO_IS_TEXT (fo_text), NULL); return fo_text->font_size; } /** * fo_text_set_font_stretch: * @fo_fo: The @FoFo object * @new_font_stretch: The new "font-stretch" property value * * Sets the #font-stretch property of @text to @new_font_stretch **/ void fo_text_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoText *fo_text = (FoText *) fo_fo; g_return_if_fail (fo_text != NULL); g_return_if_fail (FO_IS_TEXT (fo_text)); g_return_if_fail (FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch) g_object_ref (G_OBJECT (new_font_stretch)); if (fo_text->font_stretch) g_object_unref (G_OBJECT (fo_text->font_stretch)); fo_text->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_text), "font-stretch");*/ } /** * fo_text_get_font_stretch: * @fo_fo: The @FoFo object * * Gets the #font-stretch property of @text * * Return value: The "font-stretch" property value **/ FoProperty* fo_text_get_font_stretch (FoFo *fo_fo) { FoText *fo_text = (FoText *) fo_fo; g_return_val_if_fail (fo_text != NULL, NULL); g_return_val_if_fail (FO_IS_TEXT (fo_text), NULL); return fo_text->font_stretch; } /** * fo_text_set_font_style: * @fo_fo: The @FoFo object * @new_font_style: The new "font-style" property value * * Sets the #font-style property of @text to @new_font_style **/ void fo_text_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoText *fo_text = (FoText *) fo_fo; g_return_if_fail (fo_text != NULL); g_return_if_fail (FO_IS_TEXT (fo_text)); g_return_if_fail (FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style) g_object_ref (G_OBJECT (new_font_style)); if (fo_text->font_style) g_object_unref (G_OBJECT (fo_text->font_style)); fo_text->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_text), "font-style");*/ } /** * fo_text_get_font_style: * @fo_fo: The @FoFo object * * Gets the #font-style property of @text * * Return value: The "font-style" property value **/ FoProperty* fo_text_get_font_style (FoFo *fo_fo) { FoText *fo_text = (FoText *) fo_fo; g_return_val_if_fail (fo_text != NULL, NULL); g_return_val_if_fail (FO_IS_TEXT (fo_text), NULL); return fo_text->font_style; } /** * fo_text_set_font_variant: * @fo_fo: The @FoFo object * @new_font_variant: The new "font-variant" property value * * Sets the #font-variant property of @text to @new_font_variant **/ void fo_text_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoText *fo_text = (FoText *) fo_fo; g_return_if_fail (fo_text != NULL); g_return_if_fail (FO_IS_TEXT (fo_text)); g_return_if_fail (FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant) g_object_ref (G_OBJECT (new_font_variant)); if (fo_text->font_variant) g_object_unref (G_OBJECT (fo_text->font_variant)); fo_text->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_text), "font-variant");*/ } /** * fo_text_get_font_variant: * @fo_fo: The @FoFo object * * Gets the #font-variant property of @text * * Return value: The "font-variant" property value **/ FoProperty* fo_text_get_font_variant (FoFo *fo_fo) { FoText *fo_text = (FoText *) fo_fo; g_return_val_if_fail (fo_text != NULL, NULL); g_return_val_if_fail (FO_IS_TEXT (fo_text), NULL); return fo_text->font_variant; } /** * fo_text_set_font_weight: * @fo_fo: The @FoFo object * @new_font_weight: The new "font-weight" property value * * Sets the #font-weight property of @text to @new_font_weight **/ void fo_text_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoText *fo_text = (FoText *) fo_fo; g_return_if_fail (fo_text != NULL); g_return_if_fail (FO_IS_TEXT (fo_text)); g_return_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight) g_object_ref (G_OBJECT (new_font_weight)); if (fo_text->font_weight) g_object_unref (G_OBJECT (fo_text->font_weight)); fo_text->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_text), "font-weight");*/ } /** * fo_text_get_font_weight: * @fo_fo: The @FoFo object * * Gets the #font-weight property of @text * * Return value: The "font-weight" property value **/ FoProperty* fo_text_get_font_weight (FoFo *fo_fo) { FoText *fo_text = (FoText *) fo_fo; g_return_val_if_fail (fo_text != NULL, NULL); g_return_val_if_fail (FO_IS_TEXT (fo_text), NULL); return fo_text->font_weight; } /** * fo_text_set_score_spaces: * @fo_fo: The @FoFo object * @new_score_spaces: The new "score-spaces" property value * * Sets the #score-spaces property of @text to @new_score_spaces **/ void fo_text_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces) { FoText *fo_text = (FoText *) fo_fo; g_return_if_fail (fo_text != NULL); g_return_if_fail (FO_IS_TEXT (fo_text)); g_return_if_fail (FO_IS_PROPERTY_SCORE_SPACES (new_score_spaces)); if (new_score_spaces) g_object_ref (G_OBJECT (new_score_spaces)); if (fo_text->score_spaces) g_object_unref (G_OBJECT (fo_text->score_spaces)); fo_text->score_spaces = new_score_spaces; /*g_object_notify (G_OBJECT (fo_text), "score-spaces");*/ } /** * fo_text_get_score_spaces: * @fo_fo: The @FoFo object * * Gets the #score-spaces property of @text * * Return value: The "score-spaces" property value **/ FoProperty* fo_text_get_score_spaces (FoFo *fo_fo) { FoText *fo_text = (FoText *) fo_fo; g_return_val_if_fail (fo_text != NULL, NULL); g_return_val_if_fail (FO_IS_TEXT (fo_text), NULL); return fo_text->score_spaces; } /** * fo_text_set_value: * @fo_fo: The #FoText object * @new_value: The new "value" property value * * Sets the #value property of @fo_fo to @new_value **/ void fo_text_set_value (FoFo *fo_fo, const gchar* new_value) { FoText *fo_text; gboolean whitespace_only; guint offset; g_return_if_fail (fo_fo != NULL); g_return_if_fail (FO_IS_TEXT (fo_fo)); fo_text = FO_TEXT (fo_fo); if (fo_text->value) g_string_free (fo_text->value, TRUE); fo_text->value = g_string_new (new_value); whitespace_only = TRUE; for (offset = 0; offset < fo_text->value->len; offset++) { if (!g_ascii_isspace (fo_text->value->str[offset])) { whitespace_only = FALSE; break; } } fo_text->whitespace_only = whitespace_only; /*g_object_notify (G_OBJECT (fo_text), "value");*/ } /** * fo_text_get_value: * @fo_fo: The #FoText object * * Gets the "value" property of @fo_text * * Return value: The "value" property value **/ const gchar* fo_text_get_value (FoFo *fo_fo) { g_return_val_if_fail (fo_fo != NULL, NULL); g_return_val_if_fail (FO_IS_TEXT (fo_fo), NULL); return FO_TEXT (fo_fo)->value->str; } /** * fo_text_get_whitespace_only: * @fo_fo: The #FoText object * * Gets the "whitespace_only" property of @fo_fo * * Return value: The "whitespace_only" property value **/ gboolean fo_text_get_whitespace_only (FoFo *fo_fo) { g_return_val_if_fail (fo_fo != NULL, FALSE); g_return_val_if_fail (FO_IS_TEXT (fo_fo), FALSE); return FO_TEXT (fo_fo)->whitespace_only; } /** * fo_text_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_text_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc G_GNUC_UNUSED, GString *text, GList **attr_glist G_GNUC_UNUSED, guint debug_level G_GNUC_UNUSED) { g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_TEXT (fo_inline_fo)); FoEnumEnum whitespace_collapse = fo_enum_get_value (fo_property_get_value (fo_context_get_white_space_collapse (fo_fo_get_context (fo_inline_fo)))); if (whitespace_collapse == FO_ENUM_ENUM_TRUE) { const gchar *string = fo_text_get_value (fo_inline_fo); const gchar *p = string; while (*p != '\0') { if (!(fo_inline_fo_is_non_linefeed_white_space (p) && (fo_inline_fo_is_white_space (g_utf8_find_prev_char (string, p)) || fo_inline_fo_is_linefeed (g_utf8_find_next_char (p, NULL))))) { g_string_append_unichar (text, g_utf8_get_char (p)); } p = g_utf8_next_char (p); } } else { g_string_append (text, fo_text_get_value (fo_inline_fo)); } } xmlroff-0.6.2/libfo/fo/fo-text.h0000644000175000017500000000501710700677007013362 00000000000000/* Fo * fo-text.h: Unofficial text formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TEXT_H__ #define __FO_TEXT_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoText FoText; typedef struct _FoTextClass FoTextClass; #define FO_TYPE_TEXT (fo_text_get_type ()) #define FO_TEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TEXT, FoText)) #define FO_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TEXT, FoTextClass)) #define FO_IS_TEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TEXT)) #define FO_IS_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TEXT)) #define FO_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TEXT, FoTextClass)) GType fo_text_get_type (void) G_GNUC_CONST; FoFo * fo_text_new (void); FoProperty * fo_text_get_color (FoFo *fo_fo); void fo_text_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty * fo_text_get_font_family (FoFo *fo_fo); void fo_text_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty * fo_text_get_font_size (FoFo *fo_fo); void fo_text_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty * fo_text_get_font_stretch (FoFo *fo_fo); void fo_text_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty * fo_text_get_font_style (FoFo *fo_fo); void fo_text_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty * fo_text_get_font_variant (FoFo *fo_fo); void fo_text_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty * fo_text_get_font_weight (FoFo *fo_fo); void fo_text_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty * fo_text_get_score_spaces (FoFo *fo_fo); void fo_text_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); const gchar* fo_text_get_value (FoFo *fo_fo); void fo_text_set_value (FoFo *fo_fo, const gchar *new_value); gboolean fo_text_get_whitespace_only (FoFo *fo_fo); G_END_DECLS #endif /* !__FO_TEXT_H__ */ xmlroff-0.6.2/libfo/fo/fo-tree.c0000644000175000017500000002701211054604422013321 00000000000000/* Fo * fo-tree.c: Formatting object tree root * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-tree.h" #include "fo-node.h" #include "fo-root.h" /** * SECTION:fo-tree * @short_description: Top of the FO tree * * #FoTree is above #FoRoot (which represents the fo:root formatting * object). #FoTree is used for aspects such as id-FO mapping that * apply to the FO tree as a whole but are outside the definition of * XSL formatting objects. */ enum { PROP_0 }; struct _FoTree { FoFo parent_instance; GHashTable *id_hash; GHashTable *master_name_hash; GHashTable *page_sequence_master_name_hash; FoFo *default_master; }; struct _FoTreeClass { FoFoClass parent_class; }; static void fo_tree_init (FoTree *tree); static void fo_tree_class_init (FoTreeClass *klass); static void fo_tree_finalize (GObject *object); static void fo_tree_free_hash_key (gpointer key, gpointer value, gpointer user_data); static void fo_tree_debug_dump_properties (FoFo *fo, gint depth); static gboolean fo_tree_validate_content (FoFo *fo, GError **error); static gpointer parent_class; /** * fo_tree_get_type: * * Register the #FoTree object type. * * Return value: #GType value of the #FoTree object type. **/ GType fo_tree_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTreeClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_tree_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTree), 0, /* n_preallocs */ (GInstanceInitFunc) fo_tree_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoTree", &object_info, 0); } return object_type; } /** * fo_tree_init: * @tree: #FoTree object to initialise. * * Implements #GInstanceInitFunc for #FoTree. **/ void fo_tree_init (FoTree *tree) { tree->id_hash = g_hash_table_new (g_str_hash, g_str_equal); tree->master_name_hash = g_hash_table_new (g_str_hash, g_str_equal); tree->page_sequence_master_name_hash = g_hash_table_new (g_str_hash, g_str_equal); tree->default_master = NULL; } /** * fo_tree_class_init: * @klass: #FoTreeClass object to initialise. * * Implements #GClassInitFunc for #FoTreeClass. **/ void fo_tree_class_init (FoTreeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fo_fo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_tree_finalize; fo_fo_class->debug_dump_properties = fo_tree_debug_dump_properties; fo_fo_class->validate_content = fo_tree_validate_content; /* No properties so no need to resolve property attributes. */ fo_fo_class->resolve_property_attributes = NULL; } static void fo_tree_finalize (GObject *object) { FoTree *tree; tree = FO_TREE (object); g_hash_table_foreach (tree->id_hash, fo_tree_free_hash_key, NULL); g_hash_table_destroy (tree->id_hash); tree->id_hash = NULL; g_hash_table_foreach (tree->master_name_hash, fo_tree_free_hash_key, NULL); g_hash_table_destroy (tree->master_name_hash); tree->master_name_hash = NULL; g_hash_table_foreach (tree->page_sequence_master_name_hash, fo_tree_free_hash_key, NULL); g_hash_table_destroy (tree->page_sequence_master_name_hash); tree->page_sequence_master_name_hash = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_tree_new: * * Creates a new #FoTree initialized to default value. * * Return value: the new #FoTree **/ FoFo* fo_tree_new (void) { return FO_FO (g_object_new (fo_tree_get_type (), NULL)); } static void fo_tree_free_hash_key (gpointer key, gpointer value G_GNUC_UNUSED, gpointer user_data G_GNUC_UNUSED) { g_free (key); } /** * fo_tree_id_add: * @tree: #FoTree to which to add a #FoFo. * @id: Id to use for the #FoFo. * @fo: #FoFo to add. * * Adds @fo to @tree under @name. **/ void fo_tree_id_add (FoFo *tree, const gchar *id, FoFo *fo) { g_return_if_fail (tree != NULL); g_return_if_fail (FO_IS_TREE (tree)); g_return_if_fail (id != NULL); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FO (fo)); /* g_print ("Adding '%s'\n", id); */ if (g_hash_table_lookup (FO_TREE (tree)->id_hash, id)) { g_warning ("'%s' already in id hash. Not adding.", id); } else { g_hash_table_insert (FO_TREE (tree)->id_hash, g_strdup (id), fo); } } /** * fo_tree_id_get: * @tree: #FoTree for which to get a #FoFo. * @id: Id of the #FoFo to get. * * Gets the #FoFo of @tree corresponding to @id. * * Return value: #FoFo matching @id, or NULL. **/ FoFo* fo_tree_id_get (FoFo *tree, const gchar *id) { g_return_val_if_fail (tree != NULL, NULL); g_return_val_if_fail (FO_IS_TREE (tree), NULL); g_return_val_if_fail (id != NULL, NULL); return g_hash_table_lookup (FO_TREE (tree)->id_hash, id); } /** * fo_tree_master_name_add: * @tree: #FoTree to which to add a #FoPageMaster. * @name: Name to use for the #FoPageMaster. * @fo: #FoPageMaster to add. * * Adds @fo to @tree under @name. **/ void fo_tree_master_name_add (FoFo *tree, const gchar *name, FoFo *fo) { g_return_if_fail (tree != NULL); g_return_if_fail (FO_IS_TREE (tree)); g_return_if_fail (name != NULL); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FO (fo)); /* g_print ("Adding '%s'\n", name); */ if (g_hash_table_lookup (FO_TREE (tree)->master_name_hash, name)) { g_warning ("'%s' already in master name hash.", name); } else { g_hash_table_insert (FO_TREE (tree)->master_name_hash, g_strdup (name), fo); } if (FO_TREE (tree)->default_master == NULL) FO_TREE (tree)->default_master = fo; } /** * fo_tree_master_name_get: * @tree: #FoTree for which to get a #FoPageMaster. * @name: Name of the #FoPageMaster to get. * * Gets the #FoPageMaster of @tree corresponding to @name. * * Return value: #FoPageMaster matching @name, or NULL. **/ FoFo* fo_tree_master_name_get (FoFo *tree, const gchar *name) { g_return_val_if_fail (tree != NULL, NULL); g_return_val_if_fail (FO_IS_TREE (tree), NULL); g_return_val_if_fail (name != NULL, NULL); return g_hash_table_lookup (FO_TREE (tree)->master_name_hash, name); } /** * fo_tree_page_sequence_master_name_add: * @tree: #FoTree for which to add a #FoPageSequenceMaster. * @name: Name of the #FoPageSequenceMaster. * @fo: #FoPageSequenceMaster to add. * * Adds @fo to to @tree. **/ void fo_tree_page_sequence_master_name_add (FoFo *tree, const gchar *name, FoFo *fo) { g_return_if_fail (tree != NULL); g_return_if_fail (FO_IS_TREE (tree)); g_return_if_fail (name != NULL); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FO (fo)); if (g_hash_table_lookup (FO_TREE (tree)->page_sequence_master_name_hash, name)) { g_warning ("'%s' already in page-sequence-master name hash.", name); } else { g_hash_table_insert (FO_TREE (tree)->page_sequence_master_name_hash, g_strdup (name), fo); } } /** * fo_tree_page_sequence_master_name_get: * @tree: #FoTree for which to get a named #FoPageSequenceMaster. * @name: Name of the #FoPageSequenceMaster. * * Gets the #FoPageSequenceMaster of @tree with name matching @name. * * Return value: #FoPageSequenceMaster corresponding to @name, or NULL. **/ FoFo* fo_tree_page_sequence_master_name_get (FoFo *tree, const gchar *name) { g_return_val_if_fail (tree != NULL, NULL); g_return_val_if_fail (FO_IS_TREE (tree), NULL); g_return_val_if_fail (name != NULL, NULL); return g_hash_table_lookup (FO_TREE (tree)->page_sequence_master_name_hash, name); } /** * fo_tree_default_master_get: * @tree: #FoTree for which to get the default master. * * Gets the default page master of @tree. * * Return value: The default page sequence master of @fo. **/ FoFo* fo_tree_default_master_get (FoFo *tree) { g_return_val_if_fail (tree != NULL, NULL); g_return_val_if_fail (FO_IS_TREE (tree), NULL); return FO_TREE (tree)->default_master; } typedef struct _FoTreeSortedHashDumpData { GHashTable *hash; GSList *keys; const gchar *indent; } FoTreeSortedHashDumpData; static void fo_tree_hash_key_to_list (gpointer key, gpointer value G_GNUC_UNUSED, gpointer data) { FoTreeSortedHashDumpData *hash_dump_data = (FoTreeSortedHashDumpData *) data; hash_dump_data->keys = g_slist_prepend (hash_dump_data->keys, key); } static void fo_tree_debug_dump_hash_from_keys (gpointer data, gpointer user_data) { FoTreeSortedHashDumpData *hash_dump_data = (FoTreeSortedHashDumpData *) user_data; g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s : %p", hash_dump_data->indent, (gchar *) data, (gchar *) g_hash_table_lookup (hash_dump_data->hash, data)); } static void fo_tree_debug_dump_sorted_hash (GHashTable *hash, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); FoTreeSortedHashDumpData hash_dump_data = { hash, NULL, indent }; g_hash_table_foreach (hash, fo_tree_hash_key_to_list, &hash_dump_data); hash_dump_data.keys = g_slist_sort (hash_dump_data.keys, (GCompareFunc) strcmp); g_slist_foreach (hash_dump_data.keys, fo_tree_debug_dump_hash_from_keys, (gpointer) &hash_dump_data); g_slist_free (hash_dump_data.keys); g_free (indent); } void fo_tree_debug_dump_properties (FoFo *fo, gint depth) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TREE (fo)); FoTree *fo_tree = FO_TREE (fo); gchar *indent = g_strnfill (depth * 2, ' '); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sdefault-master: %p", indent, fo_tree->default_master); if (fo_tree->master_name_hash != NULL) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%smaster-name hash:", indent); fo_tree_debug_dump_sorted_hash (fo_tree->master_name_hash, depth + 1); } if (fo_tree->page_sequence_master_name_hash != NULL) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spage-sequence-master-name hash:", indent); fo_tree_debug_dump_sorted_hash (fo_tree->page_sequence_master_name_hash, depth + 1); } if (fo_tree->id_hash != NULL) { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sid hash:", indent); fo_tree_debug_dump_sorted_hash (fo_tree->id_hash, depth + 1); } g_free (indent); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 2); } gboolean fo_tree_validate_content (FoFo *fo, GError **error) { GError *tmp_error; g_return_val_if_fail (FO_IS_TREE (fo), TRUE); if ((fo_node_n_children (FO_NODE (fo)) == 1) && FO_IS_ROOT (fo_node_first_child (FO_NODE (fo)))) return FALSE; else { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } } xmlroff-0.6.2/libfo/fo/fo-tree.h0000644000175000017500000000337611054604423013336 00000000000000/* Fo * fo-tree.h: Formatting object tree root * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TREE_H__ #define __FO_TREE_H__ #include #include G_BEGIN_DECLS typedef struct _FoTree FoTree; typedef struct _FoTreeClass FoTreeClass; #define FO_TYPE_TREE (fo_tree_get_type ()) #define FO_TREE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TREE, FoTree)) #define FO_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TREE, FoTreeClass)) #define FO_IS_TREE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TREE)) #define FO_IS_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TREE)) #define FO_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TREE, FoTreeClass)) GType fo_tree_get_type (void) G_GNUC_CONST; FoFo * fo_tree_new (void); void fo_tree_id_add (FoFo *tree, const gchar *id, FoFo *fo); FoFo * fo_tree_id_get (FoFo *tree, const gchar *id); void fo_tree_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); FoFo * fo_tree_master_name_get (FoFo *tree, const gchar *name); void fo_tree_page_sequence_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); FoFo * fo_tree_page_sequence_master_name_get (FoFo *tree, const gchar *name); FoFo * fo_tree_default_master_get (FoFo *tree); G_END_DECLS #endif /* !__FO_TREE_H__ */ xmlroff-0.6.2/libfo/fo/fo-basic-link.c0000644000175000017500000037670310660107744014423 00000000000000/* Fo * fo-basic-link.c: 'basic-link' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-inline-fo.h" #include "fo-basic-link.h" #include "fo-basic-link-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-alignment-adjust.h" #include "property/fo-property-alignment-baseline.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-baseline-shift.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" enum { PROP_0, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_DOMINANT_BASELINE, PROP_ID, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_SPACE_END, PROP_SPACE_START }; static void fo_basic_link_class_init (FoBasicLinkClass *klass); static void fo_basic_link_inline_fo_init (FoInlineFoIface *iface); static void fo_basic_link_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_basic_link_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_basic_link_finalize (GObject *object); static gboolean fo_basic_link_validate_content (FoFo *fo, GError **error); static void fo_basic_link_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_basic_link_update_from_context (FoFo *fo, FoContext *context); static void fo_basic_link_debug_dump_properties (FoFo *fo, gint depth); static void fo_basic_link_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_basic_link_get_type: * * Register the #FoBasicLink object type. * * Return value: #GType value of the #FoBasicLink object type. **/ GType fo_basic_link_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoBasicLinkClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_basic_link_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoBasicLink), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_basic_link_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoBasicLink", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_basic_link_class_init: * @klass: #FoBasicLinkClass object to initialise. * * Implements #GClassInitFunc for #FoBasicLinkClass. **/ void fo_basic_link_class_init (FoBasicLinkClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_basic_link_finalize; object_class->get_property = fo_basic_link_get_property; object_class->set_property = fo_basic_link_set_property; fofo_class->validate_content = fo_basic_link_validate_content; fofo_class->validate2 = fo_basic_link_validate; fofo_class->update_from_context = fo_basic_link_update_from_context; fofo_class->debug_dump_properties = fo_basic_link_debug_dump_properties; fofo_class->allow_mixed_content = TRUE; g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_basic_link_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_basic_link_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_basic_link_get_text_attr_list; } /** * fo_basic_link_finalize: * @object: #FoBasicLink object to finalize. * * Implements #GObjectFinalizeFunc for #FoBasicLink. **/ void fo_basic_link_finalize (GObject *object) { FoBasicLink *fo_basic_link; fo_basic_link = FO_BASIC_LINK (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_basic_link_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoBasicLink. **/ void fo_basic_link_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_basic_link_get_alignment_adjust (fo_fo))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_alignment_baseline (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_basic_link_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_background_image (fo_fo))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_basic_link_get_baseline_shift (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_basic_link_get_border_top_width (fo_fo))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_dominant_baseline (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_basic_link_get_id (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_basic_link_get_line_height (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_basic_link_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_basic_link_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_basic_link_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_basic_link_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_basic_link_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_basic_link_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_basic_link_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_basic_link_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_basic_link_get_source_document (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_basic_link_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_basic_link_get_space_start (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_basic_link_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoBasicLink. **/ void fo_basic_link_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: fo_basic_link_set_alignment_adjust (fo_fo, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_basic_link_set_alignment_baseline (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_basic_link_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_basic_link_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_basic_link_set_baseline_shift (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_basic_link_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_basic_link_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_basic_link_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_basic_link_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_basic_link_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_basic_link_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_basic_link_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_basic_link_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_basic_link_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_basic_link_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_basic_link_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_basic_link_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_basic_link_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_basic_link_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_basic_link_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_basic_link_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_basic_link_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_basic_link_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_basic_link_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_basic_link_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_basic_link_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_basic_link_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_basic_link_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_basic_link_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_basic_link_set_dominant_baseline (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_basic_link_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_basic_link_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_basic_link_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_basic_link_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_basic_link_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_basic_link_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_basic_link_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_basic_link_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_basic_link_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_basic_link_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_basic_link_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_basic_link_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_basic_link_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_basic_link_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_basic_link_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_basic_link_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_basic_link_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_basic_link_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_basic_link_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_basic_link_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_basic_link_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_basic_link_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_basic_link_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_basic_link_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_basic_link_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_basic_link_set_space_start (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_basic_link_new: * * Creates a new #FoBasicLink initialized to default value. * * Return value: the new #FoBasicLink. **/ FoFo* fo_basic_link_new (void) { return FO_FO (g_object_new (fo_basic_link_get_type (), NULL)); } /** * fo_basic_link_validate_content: * @fo: #FoBasicLink object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not. **/ gboolean fo_basic_link_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_BASIC_LINK (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_basic_link_validate: * @fo: #FoBasicLink object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_basic_link_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoBasicLink *fo_basic_link; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_basic_link = FO_BASIC_LINK (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_basic_link_set_line_height (fo, fo_property_line_height_resolve (fo_basic_link_get_line_height (fo), fo_context_get_font_size (fo->context))); } /** * fo_basic_link_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_basic_link_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_basic_link_set_alignment_adjust (fo, fo_context_get_alignment_adjust (context)); fo_basic_link_set_alignment_baseline (fo, fo_context_get_alignment_baseline (context)); fo_basic_link_set_background_color (fo, fo_context_get_background_color (context)); fo_basic_link_set_background_image (fo, fo_context_get_background_image (context)); fo_basic_link_set_baseline_shift (fo, fo_context_get_baseline_shift (context)); fo_basic_link_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_basic_link_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_basic_link_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_basic_link_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_basic_link_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_basic_link_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_basic_link_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_basic_link_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_basic_link_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_basic_link_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_basic_link_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_basic_link_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_basic_link_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_basic_link_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_basic_link_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_basic_link_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_basic_link_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_basic_link_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_basic_link_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_basic_link_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_basic_link_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_basic_link_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_basic_link_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_basic_link_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_basic_link_set_dominant_baseline (fo, fo_context_get_dominant_baseline (context)); fo_basic_link_set_id (fo, fo_context_get_id (context)); fo_basic_link_set_keep_together (fo, fo_context_get_keep_together (context)); fo_basic_link_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_basic_link_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_basic_link_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_basic_link_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_basic_link_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_basic_link_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_basic_link_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_basic_link_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_basic_link_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_basic_link_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_basic_link_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_basic_link_set_line_height (fo, fo_context_get_line_height (context)); fo_basic_link_set_padding_after (fo, fo_context_get_padding_after (context)); fo_basic_link_set_padding_before (fo, fo_context_get_padding_before (context)); fo_basic_link_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_basic_link_set_padding_end (fo, fo_context_get_padding_end (context)); fo_basic_link_set_padding_left (fo, fo_context_get_padding_left (context)); fo_basic_link_set_padding_right (fo, fo_context_get_padding_right (context)); fo_basic_link_set_padding_start (fo, fo_context_get_padding_start (context)); fo_basic_link_set_padding_top (fo, fo_context_get_padding_top (context)); fo_basic_link_set_role (fo, fo_context_get_role (context)); fo_basic_link_set_source_document (fo, fo_context_get_source_document (context)); fo_basic_link_set_space_end (fo, fo_context_get_space_end (context)); fo_basic_link_set_space_start (fo, fo_context_get_space_start (context)); } /** * fo_basic_link_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_basic_link_debug_dump_properties (FoFo *fo, gint depth) { FoBasicLink *fo_basic_link; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo)); fo_basic_link = FO_BASIC_LINK (fo); fo_object_debug_dump (fo_basic_link->alignment_adjust, depth); fo_object_debug_dump (fo_basic_link->alignment_baseline, depth); fo_object_debug_dump (fo_basic_link->background_color, depth); fo_object_debug_dump (fo_basic_link->background_image, depth); fo_object_debug_dump (fo_basic_link->baseline_shift, depth); fo_object_debug_dump (fo_basic_link->border_after_color, depth); fo_object_debug_dump (fo_basic_link->border_after_style, depth); fo_object_debug_dump (fo_basic_link->border_after_width, depth); fo_object_debug_dump (fo_basic_link->border_before_color, depth); fo_object_debug_dump (fo_basic_link->border_before_style, depth); fo_object_debug_dump (fo_basic_link->border_before_width, depth); fo_object_debug_dump (fo_basic_link->border_bottom_color, depth); fo_object_debug_dump (fo_basic_link->border_bottom_style, depth); fo_object_debug_dump (fo_basic_link->border_bottom_width, depth); fo_object_debug_dump (fo_basic_link->border_end_color, depth); fo_object_debug_dump (fo_basic_link->border_end_style, depth); fo_object_debug_dump (fo_basic_link->border_end_width, depth); fo_object_debug_dump (fo_basic_link->border_left_color, depth); fo_object_debug_dump (fo_basic_link->border_left_style, depth); fo_object_debug_dump (fo_basic_link->border_left_width, depth); fo_object_debug_dump (fo_basic_link->border_right_color, depth); fo_object_debug_dump (fo_basic_link->border_right_style, depth); fo_object_debug_dump (fo_basic_link->border_right_width, depth); fo_object_debug_dump (fo_basic_link->border_start_color, depth); fo_object_debug_dump (fo_basic_link->border_start_style, depth); fo_object_debug_dump (fo_basic_link->border_start_width, depth); fo_object_debug_dump (fo_basic_link->border_top_color, depth); fo_object_debug_dump (fo_basic_link->border_top_style, depth); fo_object_debug_dump (fo_basic_link->border_top_width, depth); fo_object_debug_dump (fo_basic_link->dominant_baseline, depth); fo_object_debug_dump (fo_basic_link->id, depth); fo_object_debug_dump (fo_basic_link->keep_together, depth); fo_object_debug_dump (fo_basic_link->keep_together_within_column, depth); fo_object_debug_dump (fo_basic_link->keep_together_within_line, depth); fo_object_debug_dump (fo_basic_link->keep_together_within_page, depth); fo_object_debug_dump (fo_basic_link->keep_with_next, depth); fo_object_debug_dump (fo_basic_link->keep_with_next_within_column, depth); fo_object_debug_dump (fo_basic_link->keep_with_next_within_line, depth); fo_object_debug_dump (fo_basic_link->keep_with_next_within_page, depth); fo_object_debug_dump (fo_basic_link->keep_with_previous, depth); fo_object_debug_dump (fo_basic_link->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_basic_link->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_basic_link->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_basic_link->line_height, depth); fo_object_debug_dump (fo_basic_link->padding_after, depth); fo_object_debug_dump (fo_basic_link->padding_before, depth); fo_object_debug_dump (fo_basic_link->padding_bottom, depth); fo_object_debug_dump (fo_basic_link->padding_end, depth); fo_object_debug_dump (fo_basic_link->padding_left, depth); fo_object_debug_dump (fo_basic_link->padding_right, depth); fo_object_debug_dump (fo_basic_link->padding_start, depth); fo_object_debug_dump (fo_basic_link->padding_top, depth); fo_object_debug_dump (fo_basic_link->role, depth); fo_object_debug_dump (fo_basic_link->source_document, depth); fo_object_debug_dump (fo_basic_link->space_end, depth); fo_object_debug_dump (fo_basic_link->space_start, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_basic_link_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_basic_link_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { FoNode *fo_child_node; FoBasicLink *fo_basic_link; GList *my_attr_glist = NULL; gint start_index, end_index; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_inline_fo)); fo_basic_link = FO_BASIC_LINK (fo_inline_fo); start_index = text->len; fo_child_node = fo_node_first_child (FO_NODE (fo_inline_fo)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, &my_attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } end_index = text->len; if (start_index != end_index) { /* FIXME: what is supposed to happen here? */ PangoAttribute *pango_attr G_GNUC_UNUSED; } *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } /** * fo_basic_link_get_alignment_adjust: * @fo_fo: The @FoFo object * * Gets the "alignment-adjust" property of @fo_fo * * Return value: The "alignment-adjust" property value **/ FoProperty* fo_basic_link_get_alignment_adjust (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->alignment_adjust; } /** * fo_basic_link_set_alignment_adjust: * @fo_fo: The #FoFo object * @new_alignment_adjust: The new "alignment-adjust" property value * * Sets the "alignment-adjust" property of @fo_fo to @new_alignment_adjust **/ void fo_basic_link_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_basic_link->alignment_adjust != NULL) { g_object_unref (fo_basic_link->alignment_adjust); } fo_basic_link->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_basic_link), "alignment-adjust");*/ } /** * fo_basic_link_get_alignment_baseline: * @fo_fo: The @FoFo object * * Gets the "alignment-baseline" property of @fo_fo * * Return value: The "alignment-baseline" property value **/ FoProperty* fo_basic_link_get_alignment_baseline (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->alignment_baseline; } /** * fo_basic_link_set_alignment_baseline: * @fo_fo: The #FoFo object * @new_alignment_baseline: The new "alignment-baseline" property value * * Sets the "alignment-baseline" property of @fo_fo to @new_alignment_baseline **/ void fo_basic_link_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_basic_link->alignment_baseline != NULL) { g_object_unref (fo_basic_link->alignment_baseline); } fo_basic_link->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_basic_link), "alignment-baseline");*/ } /** * fo_basic_link_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_basic_link_get_background_color (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->background_color; } /** * fo_basic_link_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_basic_link_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_basic_link->background_color != NULL) { g_object_unref (fo_basic_link->background_color); } fo_basic_link->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_basic_link), "background-color");*/ } /** * fo_basic_link_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_basic_link_get_background_image (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->background_image; } /** * fo_basic_link_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_basic_link_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_basic_link->background_image != NULL) { g_object_unref (fo_basic_link->background_image); } fo_basic_link->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_basic_link), "background-image");*/ } /** * fo_basic_link_get_baseline_shift: * @fo_fo: The @FoFo object * * Gets the "baseline-shift" property of @fo_fo * * Return value: The "baseline-shift" property value **/ FoProperty* fo_basic_link_get_baseline_shift (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->baseline_shift; } /** * fo_basic_link_set_baseline_shift: * @fo_fo: The #FoFo object * @new_baseline_shift: The new "baseline-shift" property value * * Sets the "baseline-shift" property of @fo_fo to @new_baseline_shift **/ void fo_basic_link_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_basic_link->baseline_shift != NULL) { g_object_unref (fo_basic_link->baseline_shift); } fo_basic_link->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_basic_link), "baseline-shift");*/ } /** * fo_basic_link_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_basic_link_get_border_after_color (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_after_color; } /** * fo_basic_link_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_basic_link_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_basic_link->border_after_color != NULL) { g_object_unref (fo_basic_link->border_after_color); } fo_basic_link->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_basic_link), "border-after-color");*/ } /** * fo_basic_link_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_basic_link_get_border_after_style (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_after_style; } /** * fo_basic_link_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_basic_link_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_basic_link->border_after_style != NULL) { g_object_unref (fo_basic_link->border_after_style); } fo_basic_link->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_basic_link), "border-after-style");*/ } /** * fo_basic_link_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_basic_link_get_border_after_width (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_after_width; } /** * fo_basic_link_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_basic_link_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_basic_link->border_after_width != NULL) { g_object_unref (fo_basic_link->border_after_width); } fo_basic_link->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_basic_link), "border-after-width");*/ } /** * fo_basic_link_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_basic_link_get_border_before_color (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_before_color; } /** * fo_basic_link_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_basic_link_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_basic_link->border_before_color != NULL) { g_object_unref (fo_basic_link->border_before_color); } fo_basic_link->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_basic_link), "border-before-color");*/ } /** * fo_basic_link_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_basic_link_get_border_before_style (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_before_style; } /** * fo_basic_link_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_basic_link_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_basic_link->border_before_style != NULL) { g_object_unref (fo_basic_link->border_before_style); } fo_basic_link->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_basic_link), "border-before-style");*/ } /** * fo_basic_link_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_basic_link_get_border_before_width (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_before_width; } /** * fo_basic_link_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_basic_link_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_basic_link->border_before_width != NULL) { g_object_unref (fo_basic_link->border_before_width); } fo_basic_link->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_basic_link), "border-before-width");*/ } /** * fo_basic_link_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_basic_link_get_border_bottom_color (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_bottom_color; } /** * fo_basic_link_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_basic_link_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_basic_link->border_bottom_color != NULL) { g_object_unref (fo_basic_link->border_bottom_color); } fo_basic_link->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_basic_link), "border-bottom-color");*/ } /** * fo_basic_link_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_basic_link_get_border_bottom_style (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_bottom_style; } /** * fo_basic_link_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_basic_link_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_basic_link->border_bottom_style != NULL) { g_object_unref (fo_basic_link->border_bottom_style); } fo_basic_link->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_basic_link), "border-bottom-style");*/ } /** * fo_basic_link_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_basic_link_get_border_bottom_width (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_bottom_width; } /** * fo_basic_link_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_basic_link_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_basic_link->border_bottom_width != NULL) { g_object_unref (fo_basic_link->border_bottom_width); } fo_basic_link->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_basic_link), "border-bottom-width");*/ } /** * fo_basic_link_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_basic_link_get_border_end_color (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_end_color; } /** * fo_basic_link_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_basic_link_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_basic_link->border_end_color != NULL) { g_object_unref (fo_basic_link->border_end_color); } fo_basic_link->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_basic_link), "border-end-color");*/ } /** * fo_basic_link_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_basic_link_get_border_end_style (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_end_style; } /** * fo_basic_link_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_basic_link_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_basic_link->border_end_style != NULL) { g_object_unref (fo_basic_link->border_end_style); } fo_basic_link->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_basic_link), "border-end-style");*/ } /** * fo_basic_link_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_basic_link_get_border_end_width (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_end_width; } /** * fo_basic_link_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_basic_link_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_basic_link->border_end_width != NULL) { g_object_unref (fo_basic_link->border_end_width); } fo_basic_link->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_basic_link), "border-end-width");*/ } /** * fo_basic_link_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_basic_link_get_border_left_color (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_left_color; } /** * fo_basic_link_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_basic_link_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_basic_link->border_left_color != NULL) { g_object_unref (fo_basic_link->border_left_color); } fo_basic_link->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_basic_link), "border-left-color");*/ } /** * fo_basic_link_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_basic_link_get_border_left_style (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_left_style; } /** * fo_basic_link_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_basic_link_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_basic_link->border_left_style != NULL) { g_object_unref (fo_basic_link->border_left_style); } fo_basic_link->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_basic_link), "border-left-style");*/ } /** * fo_basic_link_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_basic_link_get_border_left_width (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_left_width; } /** * fo_basic_link_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_basic_link_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_basic_link->border_left_width != NULL) { g_object_unref (fo_basic_link->border_left_width); } fo_basic_link->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_basic_link), "border-left-width");*/ } /** * fo_basic_link_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_basic_link_get_border_right_color (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_right_color; } /** * fo_basic_link_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_basic_link_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_basic_link->border_right_color != NULL) { g_object_unref (fo_basic_link->border_right_color); } fo_basic_link->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_basic_link), "border-right-color");*/ } /** * fo_basic_link_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_basic_link_get_border_right_style (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_right_style; } /** * fo_basic_link_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_basic_link_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_basic_link->border_right_style != NULL) { g_object_unref (fo_basic_link->border_right_style); } fo_basic_link->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_basic_link), "border-right-style");*/ } /** * fo_basic_link_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_basic_link_get_border_right_width (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_right_width; } /** * fo_basic_link_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_basic_link_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_basic_link->border_right_width != NULL) { g_object_unref (fo_basic_link->border_right_width); } fo_basic_link->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_basic_link), "border-right-width");*/ } /** * fo_basic_link_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_basic_link_get_border_start_color (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_start_color; } /** * fo_basic_link_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_basic_link_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_basic_link->border_start_color != NULL) { g_object_unref (fo_basic_link->border_start_color); } fo_basic_link->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_basic_link), "border-start-color");*/ } /** * fo_basic_link_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_basic_link_get_border_start_style (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_start_style; } /** * fo_basic_link_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_basic_link_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_basic_link->border_start_style != NULL) { g_object_unref (fo_basic_link->border_start_style); } fo_basic_link->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_basic_link), "border-start-style");*/ } /** * fo_basic_link_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_basic_link_get_border_start_width (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_start_width; } /** * fo_basic_link_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_basic_link_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_basic_link->border_start_width != NULL) { g_object_unref (fo_basic_link->border_start_width); } fo_basic_link->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_basic_link), "border-start-width");*/ } /** * fo_basic_link_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_basic_link_get_border_top_color (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_top_color; } /** * fo_basic_link_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_basic_link_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_basic_link->border_top_color != NULL) { g_object_unref (fo_basic_link->border_top_color); } fo_basic_link->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_basic_link), "border-top-color");*/ } /** * fo_basic_link_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_basic_link_get_border_top_style (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_top_style; } /** * fo_basic_link_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_basic_link_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_basic_link->border_top_style != NULL) { g_object_unref (fo_basic_link->border_top_style); } fo_basic_link->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_basic_link), "border-top-style");*/ } /** * fo_basic_link_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_basic_link_get_border_top_width (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->border_top_width; } /** * fo_basic_link_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_basic_link_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_basic_link->border_top_width != NULL) { g_object_unref (fo_basic_link->border_top_width); } fo_basic_link->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_basic_link), "border-top-width");*/ } /** * fo_basic_link_get_dominant_baseline: * @fo_fo: The @FoFo object * * Gets the "dominant-baseline" property of @fo_fo * * Return value: The "dominant-baseline" property value **/ FoProperty* fo_basic_link_get_dominant_baseline (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->dominant_baseline; } /** * fo_basic_link_set_dominant_baseline: * @fo_fo: The #FoFo object * @new_dominant_baseline: The new "dominant-baseline" property value * * Sets the "dominant-baseline" property of @fo_fo to @new_dominant_baseline **/ void fo_basic_link_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_basic_link->dominant_baseline != NULL) { g_object_unref (fo_basic_link->dominant_baseline); } fo_basic_link->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_basic_link), "dominant-baseline");*/ } /** * fo_basic_link_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_basic_link_get_id (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->id; } /** * fo_basic_link_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_basic_link_set_id (FoFo *fo_fo, FoProperty *new_id) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_basic_link->id != NULL) { g_object_unref (fo_basic_link->id); } fo_basic_link->id = new_id; /*g_object_notify (G_OBJECT (fo_basic_link), "id");*/ } /** * fo_basic_link_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_basic_link_get_keep_together (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_together; } /** * fo_basic_link_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_basic_link_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_basic_link->keep_together != NULL) { g_object_unref (fo_basic_link->keep_together); } fo_basic_link->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-together");*/ } /** * fo_basic_link_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_basic_link_get_keep_together_within_column (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_together_within_column; } /** * fo_basic_link_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_basic_link_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_basic_link->keep_together_within_column != NULL) { g_object_unref (fo_basic_link->keep_together_within_column); } fo_basic_link->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-together-within-column");*/ } /** * fo_basic_link_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_basic_link_get_keep_together_within_line (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_together_within_line; } /** * fo_basic_link_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_basic_link_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_basic_link->keep_together_within_line != NULL) { g_object_unref (fo_basic_link->keep_together_within_line); } fo_basic_link->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-together-within-line");*/ } /** * fo_basic_link_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_basic_link_get_keep_together_within_page (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_together_within_page; } /** * fo_basic_link_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_basic_link_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_basic_link->keep_together_within_page != NULL) { g_object_unref (fo_basic_link->keep_together_within_page); } fo_basic_link->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-together-within-page");*/ } /** * fo_basic_link_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_basic_link_get_keep_with_next (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_with_next; } /** * fo_basic_link_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_basic_link_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_basic_link->keep_with_next != NULL) { g_object_unref (fo_basic_link->keep_with_next); } fo_basic_link->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-with-next");*/ } /** * fo_basic_link_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_basic_link_get_keep_with_next_within_column (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_with_next_within_column; } /** * fo_basic_link_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_basic_link_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_basic_link->keep_with_next_within_column != NULL) { g_object_unref (fo_basic_link->keep_with_next_within_column); } fo_basic_link->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-with-next-within-column");*/ } /** * fo_basic_link_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_basic_link_get_keep_with_next_within_line (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_with_next_within_line; } /** * fo_basic_link_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_basic_link_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_basic_link->keep_with_next_within_line != NULL) { g_object_unref (fo_basic_link->keep_with_next_within_line); } fo_basic_link->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-with-next-within-line");*/ } /** * fo_basic_link_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_basic_link_get_keep_with_next_within_page (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_with_next_within_page; } /** * fo_basic_link_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_basic_link_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_basic_link->keep_with_next_within_page != NULL) { g_object_unref (fo_basic_link->keep_with_next_within_page); } fo_basic_link->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-with-next-within-page");*/ } /** * fo_basic_link_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_basic_link_get_keep_with_previous (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_with_previous; } /** * fo_basic_link_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_basic_link_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_basic_link->keep_with_previous != NULL) { g_object_unref (fo_basic_link->keep_with_previous); } fo_basic_link->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-with-previous");*/ } /** * fo_basic_link_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_basic_link_get_keep_with_previous_within_column (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_with_previous_within_column; } /** * fo_basic_link_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_basic_link_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_basic_link->keep_with_previous_within_column != NULL) { g_object_unref (fo_basic_link->keep_with_previous_within_column); } fo_basic_link->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-with-previous-within-column");*/ } /** * fo_basic_link_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_basic_link_get_keep_with_previous_within_line (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_with_previous_within_line; } /** * fo_basic_link_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_basic_link_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_basic_link->keep_with_previous_within_line != NULL) { g_object_unref (fo_basic_link->keep_with_previous_within_line); } fo_basic_link->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-with-previous-within-line");*/ } /** * fo_basic_link_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_basic_link_get_keep_with_previous_within_page (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->keep_with_previous_within_page; } /** * fo_basic_link_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_basic_link_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_basic_link->keep_with_previous_within_page != NULL) { g_object_unref (fo_basic_link->keep_with_previous_within_page); } fo_basic_link->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_basic_link), "keep-with-previous-within-page");*/ } /** * fo_basic_link_get_line_height: * @fo_fo: The @FoFo object * * Gets the "line-height" property of @fo_fo * * Return value: The "line-height" property value **/ FoProperty* fo_basic_link_get_line_height (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->line_height; } /** * fo_basic_link_set_line_height: * @fo_fo: The #FoFo object * @new_line_height: The new "line-height" property value * * Sets the "line-height" property of @fo_fo to @new_line_height **/ void fo_basic_link_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_basic_link->line_height != NULL) { g_object_unref (fo_basic_link->line_height); } fo_basic_link->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_basic_link), "line-height");*/ } /** * fo_basic_link_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_basic_link_get_padding_after (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->padding_after; } /** * fo_basic_link_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_basic_link_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_basic_link->padding_after != NULL) { g_object_unref (fo_basic_link->padding_after); } fo_basic_link->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_basic_link), "padding-after");*/ } /** * fo_basic_link_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_basic_link_get_padding_before (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->padding_before; } /** * fo_basic_link_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_basic_link_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_basic_link->padding_before != NULL) { g_object_unref (fo_basic_link->padding_before); } fo_basic_link->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_basic_link), "padding-before");*/ } /** * fo_basic_link_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_basic_link_get_padding_bottom (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->padding_bottom; } /** * fo_basic_link_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_basic_link_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_basic_link->padding_bottom != NULL) { g_object_unref (fo_basic_link->padding_bottom); } fo_basic_link->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_basic_link), "padding-bottom");*/ } /** * fo_basic_link_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_basic_link_get_padding_end (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->padding_end; } /** * fo_basic_link_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_basic_link_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_basic_link->padding_end != NULL) { g_object_unref (fo_basic_link->padding_end); } fo_basic_link->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_basic_link), "padding-end");*/ } /** * fo_basic_link_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_basic_link_get_padding_left (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->padding_left; } /** * fo_basic_link_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_basic_link_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_basic_link->padding_left != NULL) { g_object_unref (fo_basic_link->padding_left); } fo_basic_link->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_basic_link), "padding-left");*/ } /** * fo_basic_link_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_basic_link_get_padding_right (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->padding_right; } /** * fo_basic_link_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_basic_link_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_basic_link->padding_right != NULL) { g_object_unref (fo_basic_link->padding_right); } fo_basic_link->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_basic_link), "padding-right");*/ } /** * fo_basic_link_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_basic_link_get_padding_start (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->padding_start; } /** * fo_basic_link_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_basic_link_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_basic_link->padding_start != NULL) { g_object_unref (fo_basic_link->padding_start); } fo_basic_link->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_basic_link), "padding-start");*/ } /** * fo_basic_link_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_basic_link_get_padding_top (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->padding_top; } /** * fo_basic_link_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_basic_link_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_basic_link->padding_top != NULL) { g_object_unref (fo_basic_link->padding_top); } fo_basic_link->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_basic_link), "padding-top");*/ } /** * fo_basic_link_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_basic_link_get_role (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->role; } /** * fo_basic_link_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_basic_link_set_role (FoFo *fo_fo, FoProperty *new_role) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_basic_link->role != NULL) { g_object_unref (fo_basic_link->role); } fo_basic_link->role = new_role; /*g_object_notify (G_OBJECT (fo_basic_link), "role");*/ } /** * fo_basic_link_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_basic_link_get_source_document (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->source_document; } /** * fo_basic_link_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_basic_link_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_basic_link->source_document != NULL) { g_object_unref (fo_basic_link->source_document); } fo_basic_link->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_basic_link), "source-document");*/ } /** * fo_basic_link_get_space_end: * @fo_fo: The @FoFo object * * Gets the "space-end" property of @fo_fo * * Return value: The "space-end" property value **/ FoProperty* fo_basic_link_get_space_end (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->space_end; } /** * fo_basic_link_set_space_end: * @fo_fo: The #FoFo object * @new_space_end: The new "space-end" property value * * Sets the "space-end" property of @fo_fo to @new_space_end **/ void fo_basic_link_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_basic_link->space_end != NULL) { g_object_unref (fo_basic_link->space_end); } fo_basic_link->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_basic_link), "space-end");*/ } /** * fo_basic_link_get_space_start: * @fo_fo: The @FoFo object * * Gets the "space-start" property of @fo_fo * * Return value: The "space-start" property value **/ FoProperty* fo_basic_link_get_space_start (FoFo *fo_fo) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_val_if_fail (fo_basic_link != NULL, NULL); g_return_val_if_fail (FO_IS_BASIC_LINK (fo_basic_link), NULL); return fo_basic_link->space_start; } /** * fo_basic_link_set_space_start: * @fo_fo: The #FoFo object * @new_space_start: The new "space-start" property value * * Sets the "space-start" property of @fo_fo to @new_space_start **/ void fo_basic_link_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoBasicLink *fo_basic_link = (FoBasicLink *) fo_fo; g_return_if_fail (fo_basic_link != NULL); g_return_if_fail (FO_IS_BASIC_LINK (fo_basic_link)); g_return_if_fail (FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_basic_link->space_start != NULL) { g_object_unref (fo_basic_link->space_start); } fo_basic_link->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_basic_link), "space-start");*/ } xmlroff-0.6.2/libfo/fo/fo-basic-link.h0000644000175000017500000003251410643167376014425 00000000000000/* Fo * fo-basic_link.h: 'basic-link' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BASIC_LINK_H__ #define __FO_BASIC_LINK_H__ #include #include G_BEGIN_DECLS typedef struct _FoBasicLink FoBasicLink; typedef struct _FoBasicLinkClass FoBasicLinkClass; #define FO_TYPE_BASIC_LINK (fo_basic_link_get_type ()) #define FO_BASIC_LINK(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_BASIC_LINK, FoBasicLink)) #define FO_BASIC_LINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_BASIC_LINK, FoBasicLinkClass)) #define FO_IS_BASIC_LINK(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_BASIC_LINK)) #define FO_IS_BASIC_LINK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_BASIC_LINK)) #define FO_BASIC_LINK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_BASIC_LINK, FoBasicLinkClass)) GType fo_basic_link_get_type (void) G_GNUC_CONST; FoFo *fo_basic_link_new (void); FoProperty* fo_basic_link_get_alignment_adjust (FoFo *fo_fo); void fo_basic_link_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_basic_link_get_alignment_baseline (FoFo *fo_fo); void fo_basic_link_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty * fo_basic_link_get_background_color (FoFo *fo_fo); void fo_basic_link_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_basic_link_get_background_image (FoFo *fo_fo); void fo_basic_link_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_basic_link_get_baseline_shift (FoFo *fo_fo); void fo_basic_link_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_basic_link_get_border_after_color (FoFo *fo_fo); void fo_basic_link_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_basic_link_get_border_after_style (FoFo *fo_fo); void fo_basic_link_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_basic_link_get_border_after_width (FoFo *fo_fo); void fo_basic_link_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_basic_link_get_border_before_color (FoFo *fo_fo); void fo_basic_link_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_basic_link_get_border_before_style (FoFo *fo_fo); void fo_basic_link_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_basic_link_get_border_before_width (FoFo *fo_fo); void fo_basic_link_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_basic_link_get_border_bottom_color (FoFo *fo_fo); void fo_basic_link_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_basic_link_get_border_bottom_style (FoFo *fo_fo); void fo_basic_link_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_basic_link_get_border_bottom_width (FoFo *fo_fo); void fo_basic_link_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_basic_link_get_border_end_color (FoFo *fo_fo); void fo_basic_link_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_basic_link_get_border_end_style (FoFo *fo_fo); void fo_basic_link_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_basic_link_get_border_end_width (FoFo *fo_fo); void fo_basic_link_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_basic_link_get_border_left_color (FoFo *fo_fo); void fo_basic_link_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_basic_link_get_border_left_style (FoFo *fo_fo); void fo_basic_link_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_basic_link_get_border_left_width (FoFo *fo_fo); void fo_basic_link_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_basic_link_get_border_right_color (FoFo *fo_fo); void fo_basic_link_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_basic_link_get_border_right_style (FoFo *fo_fo); void fo_basic_link_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_basic_link_get_border_right_width (FoFo *fo_fo); void fo_basic_link_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_basic_link_get_border_start_color (FoFo *fo_fo); void fo_basic_link_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_basic_link_get_border_start_style (FoFo *fo_fo); void fo_basic_link_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_basic_link_get_border_start_width (FoFo *fo_fo); void fo_basic_link_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_basic_link_get_border_top_color (FoFo *fo_fo); void fo_basic_link_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_basic_link_get_border_top_style (FoFo *fo_fo); void fo_basic_link_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_basic_link_get_border_top_width (FoFo *fo_fo); void fo_basic_link_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_basic_link_get_dominant_baseline (FoFo *fo_fo); void fo_basic_link_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_basic_link_get_id (FoFo *fo_fo); void fo_basic_link_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_basic_link_get_keep_together (FoFo *fo_fo); void fo_basic_link_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_basic_link_get_keep_together_within_column (FoFo *fo_fo); void fo_basic_link_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_basic_link_get_keep_together_within_line (FoFo *fo_fo); void fo_basic_link_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_basic_link_get_keep_together_within_page (FoFo *fo_fo); void fo_basic_link_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_basic_link_get_keep_with_next (FoFo *fo_fo); void fo_basic_link_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_basic_link_get_keep_with_next_within_column (FoFo *fo_fo); void fo_basic_link_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_basic_link_get_keep_with_next_within_line (FoFo *fo_fo); void fo_basic_link_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_basic_link_get_keep_with_next_within_page (FoFo *fo_fo); void fo_basic_link_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_basic_link_get_keep_with_previous (FoFo *fo_fo); void fo_basic_link_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_basic_link_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_basic_link_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_basic_link_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_basic_link_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_basic_link_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_basic_link_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_basic_link_get_line_height (FoFo *fo_fo); void fo_basic_link_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_basic_link_get_padding_after (FoFo *fo_fo); void fo_basic_link_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_basic_link_get_padding_before (FoFo *fo_fo); void fo_basic_link_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_basic_link_get_padding_bottom (FoFo *fo_fo); void fo_basic_link_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_basic_link_get_padding_end (FoFo *fo_fo); void fo_basic_link_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_basic_link_get_padding_left (FoFo *fo_fo); void fo_basic_link_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_basic_link_get_padding_right (FoFo *fo_fo); void fo_basic_link_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_basic_link_get_padding_start (FoFo *fo_fo); void fo_basic_link_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_basic_link_get_padding_top (FoFo *fo_fo); void fo_basic_link_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_basic_link_get_role (FoFo *fo_fo); void fo_basic_link_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_basic_link_get_source_document (FoFo *fo_fo); void fo_basic_link_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_basic_link_get_space_end (FoFo *fo_fo); void fo_basic_link_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_basic_link_get_space_start (FoFo *fo_fo); void fo_basic_link_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); G_END_DECLS #endif /* !__FO_BASIC_LINK_H__ */ xmlroff-0.6.2/libfo/fo/fo-basic-link-private.h0000644000175000017500000000465510643167376016102 00000000000000/* Fo * fo-basic-link-private.h: Structures private to 'basic-link' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BASIC_LINK_PRIVATE_H__ #define __FO_BASIC_LINK_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoBasicLink { FoMarkerParent parent_instance; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *dominant_baseline; FoProperty *id; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *space_end; FoProperty *space_start; }; struct _FoBasicLinkClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_BASIC_LINK_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-bidi-override.c0000644000175000017500000010664410660107745015127 00000000000000/* Fo * fo-bidi-override.c: Bidi Override formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-inline-fo.h" #include "fo-bidi-override.h" #include "fo-bidi-override-private.h" #include "property/fo-property-common-font.h" #include "property/fo-property-text-property.h" #include "property/fo-property-color.h" #include "property/fo-property-direction.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-id.h" #include "property/fo-property-line-height.h" #include "property/fo-property-score-spaces.h" #include "property/fo-property-unicode-bidi.h" /* PDF = U+202C * = 0010 0000 0010 1100 (UTF-16) * = zzzz yyyy yyxx xxxx * = 1110zzzz 10yyyyyy 10xxxxxx (UTF-8) * = 11100010 10000000 10101100 (UTF-8) * = 11 100 010 10 000 000 10 101 100 (UTF-8) * = \342\200\254 (UTF-8) */ #define FO_UTF8_STR_PDF "\342\200\254" /* U+202C */ #define FO_UTF8_STR_RLO "\342\200\256" /* U+202E */ #define FO_UTF8_STR_LRO "\342\200\255" /* U+202D */ #define FO_UTF8_STR_RLE "\342\200\253" /* U+202B */ #define FO_UTF8_STR_LRE "\342\200\252" /* U+202A */ enum { PROP_0, PROP_COLOR, PROP_DIRECTION, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_ID, PROP_LINE_HEIGHT, PROP_SCORE_SPACES, PROP_UNICODE_BIDI }; static void fo_bidi_override_class_init (FoBidiOverrideClass *klass); static void fo_bidi_override_inline_fo_init (FoInlineFoIface *iface); static void fo_bidi_override_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_bidi_override_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_bidi_override_finalize (GObject *object); static gboolean fo_bidi_override_validate_content (FoFo *fo, GError **error); static void fo_bidi_override_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context); static void fo_bidi_override_update_from_context (FoFo *fo, FoContext *context); static void fo_bidi_override_debug_dump_properties (FoFo *fo, gint depth); static void fo_bidi_override_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_bidi_override_get_type: * @void: * * Register the FoBidiOverride object type. * * Return value: GType value of the FoBidiOverride object type. **/ GType fo_bidi_override_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoBidiOverrideClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_bidi_override_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoBidiOverride), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_bidi_override_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoBidiOverride", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_bidi_override_class_init: * @klass: FoBidiOverrideClass object to initialise * * Implements GClassInitFunc for FoBidiOverrideClass **/ void fo_bidi_override_class_init (FoBidiOverrideClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_bidi_override_finalize; object_class->set_property = fo_bidi_override_set_property; object_class->get_property = fo_bidi_override_get_property; FO_FO_CLASS (klass)->validate_content = fo_bidi_override_validate_content; FO_FO_CLASS (klass)->validate = fo_bidi_override_validate; FO_FO_CLASS (klass)->update_from_context = fo_bidi_override_update_from_context; FO_FO_CLASS (klass)->debug_dump_properties = fo_bidi_override_debug_dump_properties; FO_FO_CLASS (klass)->allow_mixed_content = TRUE; g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DIRECTION, g_param_spec_object ("direction", _("Direction"), _("Direction property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCORE_SPACES, g_param_spec_object ("score-spaces", _("Score Spaces"), _("Score Spaces property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_UNICODE_BIDI, g_param_spec_object ("unicode-bidi", _("Unicode Bidi"), _("Unicode Bidi property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_bidi_override_inline_fo_init: * @iface: FoInlineFoIFace structure for this class * * Initialize FoInlineFoIface interface for this class **/ void fo_bidi_override_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_bidi_override_get_text_attr_list; } /** * fo_bidi_override_finalize: * @object: FoBidiOverride object to finalize * * Implements GObjectFinalizeFunc for FoBidiOverride **/ void fo_bidi_override_finalize (GObject *object) { FoBidiOverride *fo_bidi_override; fo_bidi_override = FO_BIDI_OVERRIDE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_bidi_override_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoBidiOverride **/ void fo_bidi_override_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_COLOR: fo_bidi_override_set_color (fo_fo, g_value_get_object (value)); break; case PROP_DIRECTION: fo_bidi_override_set_direction (fo_fo, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_bidi_override_set_font_family (fo_fo, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_bidi_override_set_font_size (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_bidi_override_set_font_stretch (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_bidi_override_set_font_style (fo_fo, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_bidi_override_set_font_variant (fo_fo, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_bidi_override_set_font_weight (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_bidi_override_set_id (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_bidi_override_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_SCORE_SPACES: fo_bidi_override_set_score_spaces (fo_fo, g_value_get_object (value)); break; case PROP_UNICODE_BIDI: fo_bidi_override_set_unicode_bidi (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_bidi_override_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoBidiOverride **/ void fo_bidi_override_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_COLOR: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_color (fo_fo))); break; case PROP_DIRECTION: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_direction (fo_fo))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_font_family (fo_fo))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_font_size (fo_fo))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_font_stretch (fo_fo))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_font_style (fo_fo))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_font_variant (fo_fo))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_font_weight (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_id (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_line_height (fo_fo))); break; case PROP_SCORE_SPACES: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_score_spaces (fo_fo))); break; case PROP_UNICODE_BIDI: g_value_set_object (value, G_OBJECT (fo_bidi_override_get_unicode_bidi (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_bidi_override_new: * * Creates a new #FoBidiOverride initialized to default value. * * Return value: the new #FoBidiOverride **/ FoFo* fo_bidi_override_new (void) { return FO_FO (g_object_new (fo_bidi_override_get_type (), NULL)); } /** * fo_bidi_override_validate_content: * @fo: FoBidiOverride object to validate * @error: GError indicating error condition, if any * * Validate the content model, i.e., the structure, of the object. * Return value matches GNodeTraverseFunc model: FALSE indicates content * model is correct, or TRUE indicates an error. When used with * fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not **/ gboolean fo_bidi_override_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_bidi_override_validate: * @fo: FoBidiOverride object to validate * @current_context: FoContext associated with current object * @parent_context: FoContext associated with parent FO * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values **/ void fo_bidi_override_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context) { FoBidiOverride *fo_bidi_override; g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); fo_bidi_override = FO_BIDI_OVERRIDE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_bidi_override_set_line_height (fo, fo_property_line_height_resolve (fo_bidi_override->line_height, fo_bidi_override->font_size)); } /** * fo_bidi_override_update_from_context: * @fo: The #FoFo object * @context: The #FoContext object from which to update the properties of @fo * * Sets the properties of @fo to the corresponding property values in @context **/ void fo_bidi_override_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo)); g_return_if_fail (FO_IS_CONTEXT (context)); fo_bidi_override_set_color (fo, fo_context_get_color (context)); fo_bidi_override_set_direction (fo, fo_context_get_direction (context)); fo_bidi_override_set_font_family (fo, fo_context_get_font_family (context)); fo_bidi_override_set_font_size (fo, fo_context_get_font_size (context)); fo_bidi_override_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_bidi_override_set_font_style (fo, fo_context_get_font_style (context)); fo_bidi_override_set_font_variant (fo, fo_context_get_font_variant (context)); fo_bidi_override_set_font_weight (fo, fo_context_get_font_weight (context)); fo_bidi_override_set_id (fo, fo_context_get_id (context)); fo_bidi_override_set_line_height (fo, fo_context_get_line_height (context)); fo_bidi_override_set_score_spaces (fo, fo_context_get_score_spaces (context)); fo_bidi_override_set_unicode_bidi (fo, fo_context_get_unicode_bidi (context)); } /** * fo_bidi_override_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_bidi_override_debug_dump_properties (FoFo *fo, gint depth) { FoBidiOverride *fo_bidi_override; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo)); fo_bidi_override = FO_BIDI_OVERRIDE (fo); fo_object_debug_dump (fo_bidi_override->color, depth); fo_object_debug_dump (fo_bidi_override->direction, depth); fo_object_debug_dump (fo_bidi_override->font_family, depth); fo_object_debug_dump (fo_bidi_override->font_size, depth); fo_object_debug_dump (fo_bidi_override->font_stretch, depth); fo_object_debug_dump (fo_bidi_override->font_style, depth); fo_object_debug_dump (fo_bidi_override->font_variant, depth); fo_object_debug_dump (fo_bidi_override->font_weight, depth); fo_object_debug_dump (fo_bidi_override->id, depth); fo_object_debug_dump (fo_bidi_override->line_height, depth); fo_object_debug_dump (fo_bidi_override->score_spaces, depth); fo_object_debug_dump (fo_bidi_override->unicode_bidi, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_bidi_override_get_text_attr_list: * @fo_inline_fo: The @FoInlineFo object * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO * @attr_glist: The list of Pango attributes for the inline FO * @debug_level: Debug level * * Gets the text of the inline FO and its associated list of Pango attributes **/ void fo_bidi_override_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { FoNode *fo_child_node; FoBidiOverride *fo_bidi_override; GList *my_attr_glist = NULL; gint start_index, end_index; gint direction, unicode_bidi; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_inline_fo)); fo_bidi_override = FO_BIDI_OVERRIDE (fo_inline_fo); start_index = text->len; direction = fo_enum_get_value (fo_property_get_value (fo_bidi_override->direction)); unicode_bidi = fo_enum_get_value (fo_property_get_value (fo_bidi_override->unicode_bidi)); if (unicode_bidi == FO_ENUM_ENUM_EMBED) { if (direction == FO_ENUM_ENUM_LTR) { g_string_append (text, FO_UTF8_STR_LRE); } else { g_string_append (text, FO_UTF8_STR_RLE); } } else if (unicode_bidi == FO_ENUM_ENUM_BIDI_OVERRIDE) { if (direction == FO_ENUM_ENUM_LTR) { g_string_append (text, FO_UTF8_STR_LRO); } else { g_string_append (text, FO_UTF8_STR_RLO); } } fo_child_node = fo_node_first_child (FO_NODE (fo_bidi_override)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, &my_attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } g_string_append (text, FO_UTF8_STR_PDF); end_index = text->len; if (start_index != end_index) { PangoAttribute *pango_attr; my_attr_glist = g_list_concat (my_attr_glist, fo_property_common_font_get_pango_attrs (fo_bidi_override->font_family, fo_bidi_override->font_size, fo_bidi_override->font_stretch, fo_bidi_override->font_style, fo_bidi_override->font_variant, fo_bidi_override->font_weight, start_index, end_index)); /* pango_attr = fo_property_text_property_new_attr (fo_bidi_override->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ pango_attr = fo_property_text_property_new_attr (fo_bidi_override->color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); } *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } /** * fo_bidi_override_set_color: * @fo_fo: The @FoFo object * @new_color: The new "color" property value * * Sets the #color property of @bidi_override to @new_color **/ void fo_bidi_override_set_color (FoFo *fo_fo, FoProperty *new_color) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_COLOR (new_color)); if (new_color) g_object_ref (G_OBJECT (new_color)); if (fo_bidi_override->color) g_object_unref (G_OBJECT (fo_bidi_override->color)); fo_bidi_override->color = new_color; /*g_object_notify (G_OBJECT (fo_bidi_override), "color");*/ } /** * fo_bidi_override_get_color: * @fo_fo: The @FoFo object * * Gets the #color property of @bidi_override * * Return value: The "color" property value **/ FoProperty* fo_bidi_override_get_color (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->color; } /** * fo_bidi_override_set_direction: * @fo_fo: The @FoFo object * @new_direction: The new "direction" property value * * Sets the #direction property of @bidi_override to @new_direction **/ void fo_bidi_override_set_direction (FoFo *fo_fo, FoProperty *new_direction) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_DIRECTION (new_direction)); if (new_direction) g_object_ref (G_OBJECT (new_direction)); if (fo_bidi_override->direction) g_object_unref (G_OBJECT (fo_bidi_override->direction)); fo_bidi_override->direction = new_direction; /*g_object_notify (G_OBJECT (fo_bidi_override), "direction");*/ } /** * fo_bidi_override_get_direction: * @fo_fo: The @FoFo object * * Gets the #direction property of @bidi_override * * Return value: The "direction" property value **/ FoProperty* fo_bidi_override_get_direction (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->direction; } /** * fo_bidi_override_set_font_family: * @fo_fo: The @FoFo object * @new_font_family: The new "font-family" property value * * Sets the #font-family property of @bidi_override to @new_font_family **/ void fo_bidi_override_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family) g_object_ref (G_OBJECT (new_font_family)); if (fo_bidi_override->font_family) g_object_unref (G_OBJECT (fo_bidi_override->font_family)); fo_bidi_override->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_bidi_override), "font-family");*/ } /** * fo_bidi_override_get_font_family: * @fo_fo: The @FoFo object * * Gets the #font-family property of @bidi_override * * Return value: The "font-family" property value **/ FoProperty* fo_bidi_override_get_font_family (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->font_family; } /** * fo_bidi_override_set_font_size: * @fo_fo: The @FoFo object * @new_font_size: The new "font-size" property value * * Sets the #font-size property of @bidi_override to @new_font_size **/ void fo_bidi_override_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size) g_object_ref (G_OBJECT (new_font_size)); if (fo_bidi_override->font_size) g_object_unref (G_OBJECT (fo_bidi_override->font_size)); fo_bidi_override->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_bidi_override), "font-size");*/ } /** * fo_bidi_override_get_font_size: * @fo_fo: The @FoFo object * * Gets the #font-size property of @bidi_override * * Return value: The "font-size" property value **/ FoProperty* fo_bidi_override_get_font_size (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->font_size; } /** * fo_bidi_override_set_font_stretch: * @fo_fo: The @FoFo object * @new_font_stretch: The new "font-stretch" property value * * Sets the #font-stretch property of @bidi_override to @new_font_stretch **/ void fo_bidi_override_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch) g_object_ref (G_OBJECT (new_font_stretch)); if (fo_bidi_override->font_stretch) g_object_unref (G_OBJECT (fo_bidi_override->font_stretch)); fo_bidi_override->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_bidi_override), "font-stretch");*/ } /** * fo_bidi_override_get_font_stretch: * @fo_fo: The @FoFo object * * Gets the #font-stretch property of @bidi_override * * Return value: The "font-stretch" property value **/ FoProperty* fo_bidi_override_get_font_stretch (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->font_stretch; } /** * fo_bidi_override_set_font_style: * @fo_fo: The @FoFo object * @new_font_style: The new "font-style" property value * * Sets the #font-style property of @bidi_override to @new_font_style **/ void fo_bidi_override_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style) g_object_ref (G_OBJECT (new_font_style)); if (fo_bidi_override->font_style) g_object_unref (G_OBJECT (fo_bidi_override->font_style)); fo_bidi_override->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_bidi_override), "font-style");*/ } /** * fo_bidi_override_get_font_style: * @fo_fo: The @FoFo object * * Gets the #font-style property of @bidi_override * * Return value: The "font-style" property value **/ FoProperty* fo_bidi_override_get_font_style (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->font_style; } /** * fo_bidi_override_set_font_variant: * @fo_fo: The @FoFo object * @new_font_variant: The new "font-variant" property value * * Sets the #font-variant property of @bidi_override to @new_font_variant **/ void fo_bidi_override_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant) g_object_ref (G_OBJECT (new_font_variant)); if (fo_bidi_override->font_variant) g_object_unref (G_OBJECT (fo_bidi_override->font_variant)); fo_bidi_override->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_bidi_override), "font-variant");*/ } /** * fo_bidi_override_get_font_variant: * @fo_fo: The @FoFo object * * Gets the #font-variant property of @bidi_override * * Return value: The "font-variant" property value **/ FoProperty* fo_bidi_override_get_font_variant (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->font_variant; } /** * fo_bidi_override_set_font_weight: * @fo_fo: The @FoFo object * @new_font_weight: The new "font-weight" property value * * Sets the #font-weight property of @bidi_override to @new_font_weight **/ void fo_bidi_override_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight) g_object_ref (G_OBJECT (new_font_weight)); if (fo_bidi_override->font_weight) g_object_unref (G_OBJECT (fo_bidi_override->font_weight)); fo_bidi_override->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_bidi_override), "font-weight");*/ } /** * fo_bidi_override_get_font_weight: * @fo_fo: The @FoFo object * * Gets the #font-weight property of @bidi_override * * Return value: The "font-weight" property value **/ FoProperty* fo_bidi_override_get_font_weight (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->font_weight; } /** * fo_bidi_override_set_id: * @fo_fo: The @FoFo object * @new_id: The new "id" property value * * Sets the #id property of @bidi_override to @new_id **/ void fo_bidi_override_set_id (FoFo *fo_fo, FoProperty *new_id) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id) g_object_ref (G_OBJECT (new_id)); if (fo_bidi_override->id) g_object_unref (G_OBJECT (fo_bidi_override->id)); fo_bidi_override->id = new_id; /*g_object_notify (G_OBJECT (fo_bidi_override), "id");*/ } /** * fo_bidi_override_get_id: * @fo_fo: The @FoFo object * * Gets the #id property of @bidi_override * * Return value: The "id" property value **/ FoProperty* fo_bidi_override_get_id (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->id; } /** * fo_bidi_override_set_line_height: * @fo_fo: The @FoFo object * @new_line_height: The new "line-height" property value * * Sets the #line-height property of @bidi_override to @new_line_height **/ void fo_bidi_override_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height) g_object_ref (G_OBJECT (new_line_height)); if (fo_bidi_override->line_height) g_object_unref (G_OBJECT (fo_bidi_override->line_height)); fo_bidi_override->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_bidi_override), "line-height");*/ } /** * fo_bidi_override_get_line_height: * @fo_fo: The @FoFo object * * Gets the #line-height property of @bidi_override * * Return value: The "line-height" property value **/ FoProperty* fo_bidi_override_get_line_height (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->line_height; } /** * fo_bidi_override_set_score_spaces: * @fo_fo: The @FoFo object * @new_score_spaces: The new "score-spaces" property value * * Sets the #score-spaces property of @bidi_override to @new_score_spaces **/ void fo_bidi_override_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_SCORE_SPACES (new_score_spaces)); if (new_score_spaces) g_object_ref (G_OBJECT (new_score_spaces)); if (fo_bidi_override->score_spaces) g_object_unref (G_OBJECT (fo_bidi_override->score_spaces)); fo_bidi_override->score_spaces = new_score_spaces; /*g_object_notify (G_OBJECT (fo_bidi_override), "score-spaces");*/ } /** * fo_bidi_override_get_score_spaces: * @fo_fo: The @FoFo object * * Gets the #score-spaces property of @bidi_override * * Return value: The "score-spaces" property value **/ FoProperty* fo_bidi_override_get_score_spaces (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->score_spaces; } /** * fo_bidi_override_set_unicode_bidi: * @fo_fo: The @FoFo object * @new_unicode_bidi: The new "unicode-bidi" property value * * Sets the #unicode-bidi property of @bidi_override to @new_unicode_bidi **/ void fo_bidi_override_set_unicode_bidi (FoFo *fo_fo, FoProperty *new_unicode_bidi) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_if_fail (fo_bidi_override != NULL); g_return_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override)); g_return_if_fail (FO_IS_PROPERTY_UNICODE_BIDI (new_unicode_bidi)); if (new_unicode_bidi) g_object_ref (G_OBJECT (new_unicode_bidi)); if (fo_bidi_override->unicode_bidi) g_object_unref (G_OBJECT (fo_bidi_override->unicode_bidi)); fo_bidi_override->unicode_bidi = new_unicode_bidi; /*g_object_notify (G_OBJECT (fo_bidi_override), "unicode-bidi");*/ } /** * fo_bidi_override_get_unicode_bidi: * @fo_fo: The @FoFo object * * Gets the #unicode-bidi property of @bidi_override * * Return value: The "unicode-bidi" property value **/ FoProperty* fo_bidi_override_get_unicode_bidi (FoFo *fo_fo) { FoBidiOverride *fo_bidi_override = (FoBidiOverride *) fo_fo; g_return_val_if_fail (fo_bidi_override != NULL, NULL); g_return_val_if_fail (FO_IS_BIDI_OVERRIDE (fo_bidi_override), NULL); return fo_bidi_override->unicode_bidi; } xmlroff-0.6.2/libfo/fo/fo-bidi-override.h0000644000175000017500000000645710643167376015144 00000000000000/* Fo * fo-bidi_override.h: Bidi Override formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BIDI_OVERRIDE_H__ #define __FO_BIDI_OVERRIDE_H__ #include #include G_BEGIN_DECLS typedef struct _FoBidiOverride FoBidiOverride; typedef struct _FoBidiOverrideClass FoBidiOverrideClass; #define FO_TYPE_BIDI_OVERRIDE (fo_bidi_override_get_type ()) #define FO_BIDI_OVERRIDE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_BIDI_OVERRIDE, FoBidiOverride)) #define FO_BIDI_OVERRIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_BIDI_OVERRIDE, FoBidiOverrideClass)) #define FO_IS_BIDI_OVERRIDE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_BIDI_OVERRIDE)) #define FO_IS_BIDI_OVERRIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_BIDI_OVERRIDE)) #define FO_BIDI_OVERRIDE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_BIDI_OVERRIDE, FoBidiOverrideClass)) GType fo_bidi_override_get_type (void) G_GNUC_CONST; FoFo *fo_bidi_override_new (void); void fo_bidi_override_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty *fo_bidi_override_get_color (FoFo *fo_fo); void fo_bidi_override_set_direction (FoFo *fo_fo, FoProperty *new_direction); FoProperty *fo_bidi_override_get_direction (FoFo *fo_fo); void fo_bidi_override_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty *fo_bidi_override_get_font_family (FoFo *fo_fo); void fo_bidi_override_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty *fo_bidi_override_get_font_size (FoFo *fo_fo); void fo_bidi_override_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty *fo_bidi_override_get_font_stretch (FoFo *fo_fo); void fo_bidi_override_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty *fo_bidi_override_get_font_style (FoFo *fo_fo); void fo_bidi_override_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty *fo_bidi_override_get_font_variant (FoFo *fo_fo); void fo_bidi_override_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty *fo_bidi_override_get_font_weight (FoFo *fo_fo); void fo_bidi_override_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty *fo_bidi_override_get_id (FoFo *fo_fo); void fo_bidi_override_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty *fo_bidi_override_get_line_height (FoFo *fo_fo); void fo_bidi_override_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty *fo_bidi_override_get_score_spaces (FoFo *fo_fo); void fo_bidi_override_set_unicode_bidi (FoFo *fo_fo, FoProperty *new_unicode_bidi); FoProperty *fo_bidi_override_get_unicode_bidi (FoFo *fo_fo); G_END_DECLS #endif /* !__FO_BIDI_OVERRIDE_H__ */ xmlroff-0.6.2/libfo/fo/fo-bidi-override-private.h0000644000175000017500000000162410643167376016603 00000000000000/* Fo * fo-bidi-override-private.h: Structures private to Bidi Override formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BIDI_OVERRIDE_PRIVATE_H__ #define __FO_BIDI_OVERRIDE_PRIVATE_H__ #include #include #include struct _FoBidiOverride { FoMarkerParent parent_instance; FoProperty *color; FoProperty *direction; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *id; FoProperty *line_height; FoProperty *score_spaces; FoProperty *unicode_bidi; }; struct _FoBidiOverrideClass { FoMarkerParentClass parent_class; }; #endif /* !__FO_BIDI_OVERRIDE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-block.c0000644000175000017500000052236311062227122013462 00000000000000/* Fo * fo-block.c: 'block' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-block-fo-private.h" #include "fo/fo-block-private.h" #include "fo/fo-inline-fo.h" #include "fo/fo-neutral-fo.h" #include "fo-context-util.h" #include "fo/fo-wrapper.h" #include "fo/fo-text.h" #include "fo/fo-block-area.h" #include "fo/fo-block-block.h" #include "fo/fo-block-layout.h" #include "fo/fo-block-whitespace.h" #include "fo/fo-wrapper-block.h" #include "fo/fo-wrapper-inline.h" #include "fo/fo-wrapper-inline-empty.h" #include "fo/fo-wrapper-whitespace.h" #include "property/fo-property-border.h" #include "property/fo-property-margin.h" #include "property/fo-property-padding.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-break-after.h" #include "property/fo-property-break-before.h" #include "property/fo-property-color.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-line-stacking-strategy.h" #include "property/fo-property-linefeed-treatment.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-orphans.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-after.h" #include "property/fo-property-space-before.h" #include "property/fo-property-span.h" #include "property/fo-property-start-indent.h" #include "property/fo-property-text-align.h" #include "property/fo-property-text-indent.h" #include "property/fo-property-white-space-collapse.h" #include "property/fo-property-white-space-treatment.h" #include "property/fo-property-widows.h" #include "property/fo-property-wrap-option.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_BREAK_AFTER, PROP_BREAK_BEFORE, PROP_COLOR, PROP_END_INDENT, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_ID, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_LINE_STACKING_STRATEGY, PROP_LINEFEED_TREATMENT, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT, PROP_MARGIN_TOP, PROP_ORPHANS, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_SPACE_AFTER, PROP_SPACE_BEFORE, PROP_SPAN, PROP_START_INDENT, PROP_TEXT_ALIGN, PROP_TEXT_INDENT, PROP_WHITE_SPACE_COLLAPSE, PROP_WHITE_SPACE_TREATMENT, PROP_WIDOWS, PROP_WRAP_OPTION }; static void fo_block_base_class_init (FoBlockClass *klass); static void fo_block_class_init (FoBlockClass *klass); static void fo_block_block_fo_init (FoBlockFoIface *iface); static void fo_block_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_block_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_block_finalize (GObject *object); static gboolean fo_block_validate_content (FoFo *fo, GError **error); static void fo_block_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_block_update_from_context (FoFo *fo, FoContext *context); static void fo_block_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_block_get_type: * * Register the #FoBlock object type. * * Return value: #GType value of the #FoBlock object type. **/ GType fo_block_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoBlockClass), (GBaseInitFunc) fo_block_base_class_init, NULL, /* base_finalize */ (GClassInitFunc) fo_block_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoBlock), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_block_fo_info = { (GInterfaceInitFunc) fo_block_block_fo_init, /* interface_init */ NULL, /* interface_finalize */ NULL /* interface_data */ }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoBlock", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_BLOCK_FO, &fo_block_fo_info); } return object_type; } /** * fo_block_base_class_init: * @klass: #FoBlockClass base class object to initialise. * * Implements #GBaseInitFunc for #FoBlockClass. **/ void fo_block_base_class_init (FoBlockClass *klass) { FoFoClass *fo_fo_class = FO_FO_CLASS (klass); fo_fo_class->debug_dump_properties = fo_block_debug_dump_properties; fo_fo_class->update_from_context = fo_block_update_from_context; fo_fo_class->validate_content = fo_block_validate_content; fo_fo_class->validate2 = fo_block_validate; fo_fo_class->area_new = fo_block_area_new3; fo_fo_class->area_new2 = fo_block_area_new2; fo_fo_class->allow_mixed_content = TRUE; } /** * fo_block_class_init: * @klass: #FoBlockClass object to initialise. * * Implements #GClassInitFunc for #FoBlockClass. **/ void fo_block_class_init (FoBlockClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_block_finalize; object_class->get_property = fo_block_get_property; object_class->set_property = fo_block_set_property; /* Class functions are set in fo_block_base_class_init() */ g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_AFTER, g_param_spec_object ("break-after", _("Break After"), _("Break After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_BEFORE, g_param_spec_object ("break-before", _("Break Before"), _("Break Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_END_INDENT, g_param_spec_object ("end-indent", _("End Indent"), _("End Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_STACKING_STRATEGY, g_param_spec_object ("line-stacking-strategy", _("Line Stacking Strategy"), _("Line Stacking Strategy property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINEFEED_TREATMENT, g_param_spec_object ("linefeed-treatment", _("Linefeed Treatment"), _("Linefeed Treatment property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_object ("margin-bottom", _("Margin Bottom"), _("Margin Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_object ("margin-left", _("Margin Left"), _("Margin Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_object ("margin-right", _("Margin Right"), _("Margin Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_object ("margin-top", _("Margin Top"), _("Margin Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ORPHANS, g_param_spec_object ("orphans", _("Orphans"), _("Orphans property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER, g_param_spec_object ("space-after", _("Space After"), _("Space After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE, g_param_spec_object ("space-before", _("Space Before"), _("Space Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPAN, g_param_spec_object ("span", _("Span"), _("Span property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_START_INDENT, g_param_spec_object ("start-indent", _("Start Indent"), _("Start Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_TEXT_ALIGN, g_param_spec_object ("text-align", _("Text Align"), _("Text Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_TEXT_INDENT, g_param_spec_object ("text-indent", _("Text Indent"), _("Text Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WHITE_SPACE_COLLAPSE, g_param_spec_object ("white-space-collapse", _("White Space Collapse"), _("White Space Collapse property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WHITE_SPACE_TREATMENT, g_param_spec_object ("white-space-treatment", _("White Space Treatment"), _("White Space Treatment property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDOWS, g_param_spec_object ("widows", _("Widows"), _("Widows property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRAP_OPTION, g_param_spec_object ("wrap-option", _("Wrap Option"), _("Wrap Option property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_block_block_fo_init: * @iface: #FoBlockFoIFace structure for this class. * * Initialize #FoBlockFoIface interface for this class. **/ void fo_block_block_fo_init (FoBlockFoIface *iface) { iface->get_background_color = fo_block_get_background_color; iface->get_border_after_color = fo_block_get_border_after_color; iface->get_border_after_style = fo_block_get_border_after_style; iface->get_border_after_width = fo_block_get_border_after_width; iface->get_border_before_color = fo_block_get_border_before_color; iface->get_border_before_style = fo_block_get_border_before_style; iface->get_border_before_width = fo_block_get_border_before_width; iface->get_border_end_color = fo_block_get_border_end_color; iface->get_border_end_style = fo_block_get_border_end_style; iface->get_border_end_width = fo_block_get_border_end_width; iface->get_border_start_color = fo_block_get_border_start_color; iface->get_border_start_style = fo_block_get_border_start_style; iface->get_border_start_width = fo_block_get_border_start_width; iface->get_keep_with_previous = fo_block_get_keep_with_previous; iface->get_keep_with_next = fo_block_get_keep_with_next; iface->get_keep_together = fo_block_get_keep_together; iface->get_padding_after = fo_block_get_padding_after; iface->get_padding_before = fo_block_get_padding_before; iface->get_padding_end = fo_block_get_padding_end; iface->get_padding_start = fo_block_get_padding_start; iface->get_space_before = fo_block_get_space_before; iface->get_space_after = fo_block_get_space_after; iface->get_start_indent = fo_block_get_start_indent; iface->get_end_indent = fo_block_get_end_indent; } /** * fo_block_finalize: * @object: #FoBlock object to finalize. * * Implements #GObjectFinalizeFunc for #FoBlock. **/ void fo_block_finalize (GObject *object) { FoFo *fo = FO_FO (object); /* Release references to all property objects. */ fo_block_set_background_color (fo, NULL); fo_block_set_background_image (fo, NULL); fo_block_set_border_after_color (fo, NULL); fo_block_set_border_after_style (fo, NULL); fo_block_set_border_after_width (fo, NULL); fo_block_set_border_before_color (fo, NULL); fo_block_set_border_before_style (fo, NULL); fo_block_set_border_before_width (fo, NULL); fo_block_set_border_bottom_color (fo, NULL); fo_block_set_border_bottom_style (fo, NULL); fo_block_set_border_bottom_width (fo, NULL); fo_block_set_border_end_color (fo, NULL); fo_block_set_border_end_style (fo, NULL); fo_block_set_border_end_width (fo, NULL); fo_block_set_border_left_color (fo, NULL); fo_block_set_border_left_style (fo, NULL); fo_block_set_border_left_width (fo, NULL); fo_block_set_border_right_color (fo, NULL); fo_block_set_border_right_style (fo, NULL); fo_block_set_border_right_width (fo, NULL); fo_block_set_border_start_color (fo, NULL); fo_block_set_border_start_style (fo, NULL); fo_block_set_border_start_width (fo, NULL); fo_block_set_border_top_color (fo, NULL); fo_block_set_border_top_style (fo, NULL); fo_block_set_border_top_width (fo, NULL); fo_block_set_break_after (fo, NULL); fo_block_set_break_before (fo, NULL); fo_block_set_color (fo, NULL); fo_block_set_end_indent (fo, NULL); fo_block_set_font_family (fo, NULL); fo_block_set_font_size (fo, NULL); fo_block_set_font_stretch (fo, NULL); fo_block_set_font_style (fo, NULL); fo_block_set_font_variant (fo, NULL); fo_block_set_font_weight (fo, NULL); fo_block_set_id (fo, NULL); fo_block_set_keep_together (fo, NULL); fo_block_set_keep_together_within_column (fo, NULL); fo_block_set_keep_together_within_line (fo, NULL); fo_block_set_keep_together_within_page (fo, NULL); fo_block_set_keep_with_next (fo, NULL); fo_block_set_keep_with_next_within_column (fo, NULL); fo_block_set_keep_with_next_within_line (fo, NULL); fo_block_set_keep_with_next_within_page (fo, NULL); fo_block_set_keep_with_previous (fo, NULL); fo_block_set_keep_with_previous_within_column (fo, NULL); fo_block_set_keep_with_previous_within_line (fo, NULL); fo_block_set_keep_with_previous_within_page (fo, NULL); fo_block_set_line_height (fo, NULL); fo_block_set_line_stacking_strategy (fo, NULL); fo_block_set_linefeed_treatment (fo, NULL); fo_block_set_margin_bottom (fo, NULL); fo_block_set_margin_left (fo, NULL); fo_block_set_margin_right (fo, NULL); fo_block_set_margin_top (fo, NULL); fo_block_set_orphans (fo, NULL); fo_block_set_padding_after (fo, NULL); fo_block_set_padding_before (fo, NULL); fo_block_set_padding_bottom (fo, NULL); fo_block_set_padding_end (fo, NULL); fo_block_set_padding_left (fo, NULL); fo_block_set_padding_right (fo, NULL); fo_block_set_padding_start (fo, NULL); fo_block_set_padding_top (fo, NULL); fo_block_set_role (fo, NULL); fo_block_set_source_document (fo, NULL); fo_block_set_space_after (fo, NULL); fo_block_set_space_before (fo, NULL); fo_block_set_span (fo, NULL); fo_block_set_start_indent (fo, NULL); fo_block_set_text_align (fo, NULL); fo_block_set_text_indent (fo, NULL); fo_block_set_white_space_collapse (fo, NULL); fo_block_set_white_space_treatment (fo, NULL); fo_block_set_widows (fo, NULL); fo_block_set_wrap_option (fo, NULL); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_block_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoBlock. **/ void fo_block_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_block_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_block_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_block_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_block_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_block_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_block_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_block_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_block_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_block_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_get_border_top_width (fo_fo))); break; case PROP_BREAK_AFTER: g_value_set_object (value, G_OBJECT (fo_block_get_break_after (fo_fo))); break; case PROP_BREAK_BEFORE: g_value_set_object (value, G_OBJECT (fo_block_get_break_before (fo_fo))); break; case PROP_COLOR: g_value_set_object (value, G_OBJECT (fo_block_get_color (fo_fo))); break; case PROP_END_INDENT: g_value_set_object (value, G_OBJECT (fo_block_get_end_indent (fo_fo))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_block_get_font_family (fo_fo))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_block_get_font_size (fo_fo))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_block_get_font_stretch (fo_fo))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_block_get_font_style (fo_fo))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_block_get_font_variant (fo_fo))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_block_get_font_weight (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_block_get_id (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_block_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_block_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_block_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_block_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_block_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_block_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_block_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_block_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_block_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_block_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_block_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_block_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_block_get_line_height (fo_fo))); break; case PROP_LINE_STACKING_STRATEGY: g_value_set_object (value, G_OBJECT (fo_block_get_line_stacking_strategy (fo_fo))); break; case PROP_LINEFEED_TREATMENT: g_value_set_object (value, G_OBJECT (fo_block_get_linefeed_treatment (fo_fo))); break; case PROP_MARGIN_BOTTOM: g_value_set_object (value, G_OBJECT (fo_block_get_margin_bottom (fo_fo))); break; case PROP_MARGIN_LEFT: g_value_set_object (value, G_OBJECT (fo_block_get_margin_left (fo_fo))); break; case PROP_MARGIN_RIGHT: g_value_set_object (value, G_OBJECT (fo_block_get_margin_right (fo_fo))); break; case PROP_MARGIN_TOP: g_value_set_object (value, G_OBJECT (fo_block_get_margin_top (fo_fo))); break; case PROP_ORPHANS: g_value_set_object (value, G_OBJECT (fo_block_get_orphans (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_block_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_block_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_block_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_block_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_block_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_block_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_block_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_block_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_block_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_block_get_source_document (fo_fo))); break; case PROP_SPACE_AFTER: g_value_set_object (value, G_OBJECT (fo_block_get_space_after (fo_fo))); break; case PROP_SPACE_BEFORE: g_value_set_object (value, G_OBJECT (fo_block_get_space_before (fo_fo))); break; case PROP_SPAN: g_value_set_object (value, G_OBJECT (fo_block_get_span (fo_fo))); break; case PROP_START_INDENT: g_value_set_object (value, G_OBJECT (fo_block_get_start_indent (fo_fo))); break; case PROP_TEXT_ALIGN: g_value_set_object (value, G_OBJECT (fo_block_get_text_align (fo_fo))); break; case PROP_TEXT_INDENT: g_value_set_object (value, G_OBJECT (fo_block_get_text_indent (fo_fo))); break; case PROP_WHITE_SPACE_COLLAPSE: g_value_set_object (value, G_OBJECT (fo_block_get_white_space_collapse (fo_fo))); break; case PROP_WHITE_SPACE_TREATMENT: g_value_set_object (value, G_OBJECT (fo_block_get_white_space_treatment (fo_fo))); break; case PROP_WIDOWS: g_value_set_object (value, G_OBJECT (fo_block_get_widows (fo_fo))); break; case PROP_WRAP_OPTION: g_value_set_object (value, G_OBJECT (fo_block_get_wrap_option (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_block_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoBlock. **/ void fo_block_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_block_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_block_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_block_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_block_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_block_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_block_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_block_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_block_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_block_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_block_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_block_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_block_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_block_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_block_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_block_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_block_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_block_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_block_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_block_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_block_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_block_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_block_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_block_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_block_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_block_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_block_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_AFTER: fo_block_set_break_after (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_BEFORE: fo_block_set_break_before (fo_fo, g_value_get_object (value)); break; case PROP_COLOR: fo_block_set_color (fo_fo, g_value_get_object (value)); break; case PROP_END_INDENT: fo_block_set_end_indent (fo_fo, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_block_set_font_family (fo_fo, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_block_set_font_size (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_block_set_font_stretch (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_block_set_font_style (fo_fo, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_block_set_font_variant (fo_fo, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_block_set_font_weight (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_block_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_block_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_block_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_block_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_block_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_block_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_block_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_block_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_block_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_block_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_block_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_block_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_block_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_block_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_LINE_STACKING_STRATEGY: fo_block_set_line_stacking_strategy (fo_fo, g_value_get_object (value)); break; case PROP_LINEFEED_TREATMENT: fo_block_set_linefeed_treatment (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_BOTTOM: fo_block_set_margin_bottom (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_LEFT: fo_block_set_margin_left (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_RIGHT: fo_block_set_margin_right (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_TOP: fo_block_set_margin_top (fo_fo, g_value_get_object (value)); break; case PROP_ORPHANS: fo_block_set_orphans (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_block_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_block_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_block_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_block_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_block_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_block_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_block_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_block_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_block_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_block_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_AFTER: fo_block_set_space_after (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_BEFORE: fo_block_set_space_before (fo_fo, g_value_get_object (value)); break; case PROP_SPAN: fo_block_set_span (fo_fo, g_value_get_object (value)); break; case PROP_START_INDENT: fo_block_set_start_indent (fo_fo, g_value_get_object (value)); break; case PROP_TEXT_ALIGN: fo_block_set_text_align (fo_fo, g_value_get_object (value)); break; case PROP_TEXT_INDENT: fo_block_set_text_indent (fo_fo, g_value_get_object (value)); break; case PROP_WHITE_SPACE_COLLAPSE: fo_block_set_white_space_collapse (fo_fo, g_value_get_object (value)); break; case PROP_WHITE_SPACE_TREATMENT: fo_block_set_white_space_treatment (fo_fo, g_value_get_object (value)); break; case PROP_WIDOWS: fo_block_set_widows (fo_fo, g_value_get_object (value)); break; case PROP_WRAP_OPTION: fo_block_set_wrap_option (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_block_new: * * Creates a new #FoBlock initialized to default value. * * Return value: the new #FoBlock. **/ FoFo* fo_block_new (void) { return FO_FO (g_object_new (fo_block_get_type (), NULL)); } /** * fo_block_validate_content: * @fo: #FoBlock object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_block_validate_content (FoFo *fo, GError **error) { GError *tmp_error; gboolean parent_result = FALSE; gboolean is_not_pcdata_inline_block_neutral = FALSE; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_BLOCK (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); parent_result = FO_FO_CLASS (parent_class)->validate_content (fo, error); if (parent_result == TRUE) { return parent_result; } /* FIXME: doesn't account for markers or initial-property-set */ fo_node_children_foreach (FO_NODE (fo), G_TRAVERSE_ALL, fo_fo_validate_pcdata_inline_block_neutral, &is_not_pcdata_inline_block_neutral); if (is_not_pcdata_inline_block_neutral) { tmp_error = g_error_new (FO_FO_ERROR, 1, "FO children do not match allowed content"); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } if (fo_node_n_children (FO_NODE (fo)) != 0) { FoNode *child_node = fo_node_first_child (FO_NODE (fo)); FoFo *use_parent = fo; while (child_node) { FoNode *next_node = fo_node_next_sibling (child_node); if ((FO_IS_TEXT (child_node) && fo_text_get_whitespace_only (FO_FO (child_node))) || FO_IS_WRAPPER_WHITESPACE (child_node)) { if (FO_IS_BLOCK_LAYOUT (use_parent)) { child_node = next_node; continue; } else if (!FO_IS_BLOCK_WHITESPACE (use_parent)) { FoFo *new_parent; if (next_node && (FO_IS_INLINE_FO (next_node) || FO_IS_WRAPPER_INLINE (next_node))) { new_parent = fo_block_layout_new (); } else { new_parent = fo_block_whitespace_new (); } fo_fo_set_element (new_parent, fo_fo_get_element (use_parent)); fo_node_insert_after (fo_node_parent (FO_NODE (use_parent)), FO_NODE (use_parent), FO_NODE (new_parent)); fo_node_unlink_with_next_siblings (child_node); fo_node_insert_with_next_siblings (FO_NODE (new_parent), 0, child_node); use_parent = new_parent; } } else if (FO_IS_INLINE_FO (child_node) || FO_IS_WRAPPER_INLINE (child_node)) { if (!FO_IS_BLOCK_LAYOUT (use_parent)) { FoFo *new_parent = fo_block_layout_new (); fo_fo_set_element (new_parent, fo_fo_get_element (use_parent)); fo_node_insert_after (fo_node_parent (FO_NODE (use_parent)), FO_NODE (use_parent), FO_NODE (new_parent)); fo_node_unlink_with_next_siblings (child_node); fo_node_insert_with_next_siblings (FO_NODE (new_parent), 0, child_node); use_parent = new_parent; } } else if (FO_IS_BLOCK_FO (child_node) || FO_IS_WRAPPER_BLOCK (child_node)) { if (!FO_IS_BLOCK_BLOCK (use_parent)) { FoFo *new_parent = fo_block_block_new (); fo_fo_set_element (new_parent, fo_fo_get_element (use_parent)); fo_node_insert_after (fo_node_parent (FO_NODE (use_parent)), FO_NODE (use_parent), FO_NODE (new_parent)); fo_node_unlink_with_next_siblings (child_node); fo_node_insert_with_next_siblings (FO_NODE (new_parent), 0, child_node); use_parent = new_parent; } } else if (FO_IS_WRAPPER (child_node)) { FoFo *new_child = fo_wrapper_inline_empty_new (); fo_fo_update_after_clone (new_child, FO_FO (child_node)); fo_node_insert_after (FO_NODE (use_parent), child_node, FO_NODE (new_child)); fo_node_unlink (child_node); g_object_unref (child_node); child_node = FO_NODE (new_child); if (!FO_IS_BLOCK_LAYOUT (use_parent)) { FoFo *new_parent = fo_block_layout_new (); fo_fo_set_element (new_parent, fo_fo_get_element (use_parent)); fo_node_insert_after (fo_node_parent (FO_NODE (use_parent)), FO_NODE (use_parent), FO_NODE (new_parent)); fo_node_unlink_with_next_siblings (child_node); fo_node_insert_with_next_siblings (FO_NODE (new_parent), 0, child_node); use_parent = new_parent; } } else { tmp_error = g_error_new (FO_FO_ERROR, 1, "Cannot rewrite fo:block content."); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } child_node = next_node; } g_assert (fo_node_n_children (FO_NODE (fo)) == 0); fo_node_unlink (FO_NODE (fo)); g_object_unref (fo); } return FALSE; } /** * fo_block_validate: * @fo: #FoBlock object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_block_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoBlock *fo_block; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_block = FO_BLOCK (fo); fo_context_util_keeps_resolve (current_context, parent_context); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_margins_indents_resolve (fo, current_context, parent_context); fo_context_util_margins_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_block_set_line_height (fo, fo_property_line_height_resolve (fo_block->line_height, fo_block->font_size)); /*fo_fo_register_id (fo, fo_property_get_value (fo_block->id));*/ } /** * fo_block_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_block_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_block_set_background_color (fo, fo_context_get_background_color (context)); fo_block_set_background_image (fo, fo_context_get_background_image (context)); fo_block_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_block_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_block_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_block_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_block_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_block_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_block_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_block_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_block_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_block_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_block_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_block_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_block_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_block_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_block_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_block_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_block_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_block_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_block_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_block_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_block_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_block_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_block_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_block_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_block_set_break_after (fo, fo_context_get_break_after (context)); fo_block_set_break_before (fo, fo_context_get_break_before (context)); fo_block_set_color (fo, fo_context_get_color (context)); fo_block_set_end_indent (fo, fo_context_get_end_indent (context)); fo_block_set_font_family (fo, fo_context_get_font_family (context)); fo_block_set_font_size (fo, fo_context_get_font_size (context)); fo_block_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_block_set_font_style (fo, fo_context_get_font_style (context)); fo_block_set_font_variant (fo, fo_context_get_font_variant (context)); fo_block_set_font_weight (fo, fo_context_get_font_weight (context)); fo_block_set_id (fo, fo_context_get_id (context)); fo_block_set_keep_together (fo, fo_context_get_keep_together (context)); fo_block_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_block_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_block_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_block_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_block_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_block_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_block_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_block_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_block_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_block_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_block_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_block_set_line_height (fo, fo_context_get_line_height (context)); fo_block_set_line_stacking_strategy (fo, fo_context_get_line_stacking_strategy (context)); fo_block_set_linefeed_treatment (fo, fo_context_get_linefeed_treatment (context)); fo_block_set_margin_bottom (fo, fo_context_get_margin_bottom (context)); fo_block_set_margin_left (fo, fo_context_get_margin_left (context)); fo_block_set_margin_right (fo, fo_context_get_margin_right (context)); fo_block_set_margin_top (fo, fo_context_get_margin_top (context)); fo_block_set_orphans (fo, fo_context_get_orphans (context)); fo_block_set_padding_after (fo, fo_context_get_padding_after (context)); fo_block_set_padding_before (fo, fo_context_get_padding_before (context)); fo_block_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_block_set_padding_end (fo, fo_context_get_padding_end (context)); fo_block_set_padding_left (fo, fo_context_get_padding_left (context)); fo_block_set_padding_right (fo, fo_context_get_padding_right (context)); fo_block_set_padding_start (fo, fo_context_get_padding_start (context)); fo_block_set_padding_top (fo, fo_context_get_padding_top (context)); fo_block_set_role (fo, fo_context_get_role (context)); fo_block_set_source_document (fo, fo_context_get_source_document (context)); fo_block_set_space_after (fo, fo_context_get_space_after (context)); fo_block_set_space_before (fo, fo_context_get_space_before (context)); fo_block_set_span (fo, fo_context_get_span (context)); fo_block_set_start_indent (fo, fo_context_get_start_indent (context)); fo_block_set_text_align (fo, fo_context_get_text_align (context)); fo_block_set_text_indent (fo, fo_context_get_text_indent (context)); fo_block_set_white_space_collapse (fo, fo_context_get_white_space_collapse (context)); fo_block_set_white_space_treatment (fo, fo_context_get_white_space_treatment (context)); fo_block_set_widows (fo, fo_context_get_widows (context)); fo_block_set_wrap_option (fo, fo_context_get_wrap_option (context)); } /** * fo_block_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_block_debug_dump_properties (FoFo *fo, gint depth) { FoBlock *fo_block; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK (fo)); fo_block = FO_BLOCK (fo); fo_object_debug_dump (fo_block->background_color, depth); fo_object_debug_dump (fo_block->background_image, depth); fo_object_debug_dump (fo_block->border_after_color, depth); fo_object_debug_dump (fo_block->border_after_style, depth); fo_object_debug_dump (fo_block->border_after_width, depth); fo_object_debug_dump (fo_block->border_before_color, depth); fo_object_debug_dump (fo_block->border_before_style, depth); fo_object_debug_dump (fo_block->border_before_width, depth); fo_object_debug_dump (fo_block->border_bottom_color, depth); fo_object_debug_dump (fo_block->border_bottom_style, depth); fo_object_debug_dump (fo_block->border_bottom_width, depth); fo_object_debug_dump (fo_block->border_end_color, depth); fo_object_debug_dump (fo_block->border_end_style, depth); fo_object_debug_dump (fo_block->border_end_width, depth); fo_object_debug_dump (fo_block->border_left_color, depth); fo_object_debug_dump (fo_block->border_left_style, depth); fo_object_debug_dump (fo_block->border_left_width, depth); fo_object_debug_dump (fo_block->border_right_color, depth); fo_object_debug_dump (fo_block->border_right_style, depth); fo_object_debug_dump (fo_block->border_right_width, depth); fo_object_debug_dump (fo_block->border_start_color, depth); fo_object_debug_dump (fo_block->border_start_style, depth); fo_object_debug_dump (fo_block->border_start_width, depth); fo_object_debug_dump (fo_block->border_top_color, depth); fo_object_debug_dump (fo_block->border_top_style, depth); fo_object_debug_dump (fo_block->border_top_width, depth); fo_object_debug_dump (fo_block->break_after, depth); fo_object_debug_dump (fo_block->break_before, depth); fo_object_debug_dump (fo_block->color, depth); fo_object_debug_dump (fo_block->end_indent, depth); fo_object_debug_dump (fo_block->font_family, depth); fo_object_debug_dump (fo_block->font_size, depth); fo_object_debug_dump (fo_block->font_stretch, depth); fo_object_debug_dump (fo_block->font_style, depth); fo_object_debug_dump (fo_block->font_variant, depth); fo_object_debug_dump (fo_block->font_weight, depth); fo_object_debug_dump (fo_block->id, depth); fo_object_debug_dump (fo_block->keep_together, depth); fo_object_debug_dump (fo_block->keep_together_within_column, depth); fo_object_debug_dump (fo_block->keep_together_within_line, depth); fo_object_debug_dump (fo_block->keep_together_within_page, depth); fo_object_debug_dump (fo_block->keep_with_next, depth); fo_object_debug_dump (fo_block->keep_with_next_within_column, depth); fo_object_debug_dump (fo_block->keep_with_next_within_line, depth); fo_object_debug_dump (fo_block->keep_with_next_within_page, depth); fo_object_debug_dump (fo_block->keep_with_previous, depth); fo_object_debug_dump (fo_block->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_block->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_block->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_block->line_height, depth); fo_object_debug_dump (fo_block->line_stacking_strategy, depth); fo_object_debug_dump (fo_block->linefeed_treatment, depth); fo_object_debug_dump (fo_block->margin_bottom, depth); fo_object_debug_dump (fo_block->margin_left, depth); fo_object_debug_dump (fo_block->margin_right, depth); fo_object_debug_dump (fo_block->margin_top, depth); fo_object_debug_dump (fo_block->orphans, depth); fo_object_debug_dump (fo_block->padding_after, depth); fo_object_debug_dump (fo_block->padding_before, depth); fo_object_debug_dump (fo_block->padding_bottom, depth); fo_object_debug_dump (fo_block->padding_end, depth); fo_object_debug_dump (fo_block->padding_left, depth); fo_object_debug_dump (fo_block->padding_right, depth); fo_object_debug_dump (fo_block->padding_start, depth); fo_object_debug_dump (fo_block->padding_top, depth); fo_object_debug_dump (fo_block->role, depth); fo_object_debug_dump (fo_block->source_document, depth); fo_object_debug_dump (fo_block->space_after, depth); fo_object_debug_dump (fo_block->space_before, depth); fo_object_debug_dump (fo_block->span, depth); fo_object_debug_dump (fo_block->start_indent, depth); fo_object_debug_dump (fo_block->text_align, depth); fo_object_debug_dump (fo_block->text_indent, depth); fo_object_debug_dump (fo_block->white_space_collapse, depth); fo_object_debug_dump (fo_block->white_space_treatment, depth); fo_object_debug_dump (fo_block->widows, depth); fo_object_debug_dump (fo_block->wrap_option, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_block_get_background_color: * @fo_fo: The #FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty * fo_block_get_background_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->background_color; } /** * fo_block_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_block_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_background_color == NULL) || FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_block->background_color != NULL) { g_object_unref (fo_block->background_color); } fo_block->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_block), "background-color");*/ } /** * fo_block_get_background_image: * @fo_fo: The #FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty * fo_block_get_background_image (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->background_image; } /** * fo_block_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_block_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_background_image == NULL) || FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_block->background_image != NULL) { g_object_unref (fo_block->background_image); } fo_block->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_block), "background-image");*/ } /** * fo_block_get_border_after_color: * @fo_fo: The #FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty * fo_block_get_border_after_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_after_color; } /** * fo_block_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_block_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_after_color == NULL) || FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_block->border_after_color != NULL) { g_object_unref (fo_block->border_after_color); } fo_block->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_block), "border-after-color");*/ } /** * fo_block_get_border_after_style: * @fo_fo: The #FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty * fo_block_get_border_after_style (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_after_style; } /** * fo_block_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_block_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_after_style == NULL) || FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_block->border_after_style != NULL) { g_object_unref (fo_block->border_after_style); } fo_block->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_block), "border-after-style");*/ } /** * fo_block_get_border_after_width: * @fo_fo: The #FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty * fo_block_get_border_after_width (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_after_width; } /** * fo_block_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_block_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_after_width == NULL) || FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_block->border_after_width != NULL) { g_object_unref (fo_block->border_after_width); } fo_block->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_block), "border-after-width");*/ } /** * fo_block_get_border_before_color: * @fo_fo: The #FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty * fo_block_get_border_before_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_before_color; } /** * fo_block_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_block_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_before_color == NULL) || FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_block->border_before_color != NULL) { g_object_unref (fo_block->border_before_color); } fo_block->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_block), "border-before-color");*/ } /** * fo_block_get_border_before_style: * @fo_fo: The #FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty * fo_block_get_border_before_style (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_before_style; } /** * fo_block_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_block_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_before_style == NULL) || FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_block->border_before_style != NULL) { g_object_unref (fo_block->border_before_style); } fo_block->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_block), "border-before-style");*/ } /** * fo_block_get_border_before_width: * @fo_fo: The #FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty * fo_block_get_border_before_width (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_before_width; } /** * fo_block_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_block_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_before_width == NULL) || FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_block->border_before_width != NULL) { g_object_unref (fo_block->border_before_width); } fo_block->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_block), "border-before-width");*/ } /** * fo_block_get_border_bottom_color: * @fo_fo: The #FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty * fo_block_get_border_bottom_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_bottom_color; } /** * fo_block_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_block_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_bottom_color == NULL) || FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_block->border_bottom_color != NULL) { g_object_unref (fo_block->border_bottom_color); } fo_block->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_block), "border-bottom-color");*/ } /** * fo_block_get_border_bottom_style: * @fo_fo: The #FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty * fo_block_get_border_bottom_style (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_bottom_style; } /** * fo_block_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_block_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_bottom_style == NULL) || FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_block->border_bottom_style != NULL) { g_object_unref (fo_block->border_bottom_style); } fo_block->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_block), "border-bottom-style");*/ } /** * fo_block_get_border_bottom_width: * @fo_fo: The #FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty * fo_block_get_border_bottom_width (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_bottom_width; } /** * fo_block_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_block_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_bottom_width == NULL) || FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_block->border_bottom_width != NULL) { g_object_unref (fo_block->border_bottom_width); } fo_block->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_block), "border-bottom-width");*/ } /** * fo_block_get_border_end_color: * @fo_fo: The #FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty * fo_block_get_border_end_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_end_color; } /** * fo_block_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_block_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_end_color == NULL) || FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_block->border_end_color != NULL) { g_object_unref (fo_block->border_end_color); } fo_block->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_block), "border-end-color");*/ } /** * fo_block_get_border_end_style: * @fo_fo: The #FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty * fo_block_get_border_end_style (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_end_style; } /** * fo_block_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_block_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_end_style == NULL) || FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_block->border_end_style != NULL) { g_object_unref (fo_block->border_end_style); } fo_block->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_block), "border-end-style");*/ } /** * fo_block_get_border_end_width: * @fo_fo: The #FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty * fo_block_get_border_end_width (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_end_width; } /** * fo_block_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_block_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_end_width == NULL) || FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_block->border_end_width != NULL) { g_object_unref (fo_block->border_end_width); } fo_block->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_block), "border-end-width");*/ } /** * fo_block_get_border_left_color: * @fo_fo: The #FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty * fo_block_get_border_left_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_left_color; } /** * fo_block_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_block_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_left_color == NULL) || FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_block->border_left_color != NULL) { g_object_unref (fo_block->border_left_color); } fo_block->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_block), "border-left-color");*/ } /** * fo_block_get_border_left_style: * @fo_fo: The #FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty * fo_block_get_border_left_style (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_left_style; } /** * fo_block_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_block_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_left_style == NULL) || FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_block->border_left_style != NULL) { g_object_unref (fo_block->border_left_style); } fo_block->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_block), "border-left-style");*/ } /** * fo_block_get_border_left_width: * @fo_fo: The #FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty * fo_block_get_border_left_width (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_left_width; } /** * fo_block_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_block_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_left_width == NULL) || FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_block->border_left_width != NULL) { g_object_unref (fo_block->border_left_width); } fo_block->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_block), "border-left-width");*/ } /** * fo_block_get_border_right_color: * @fo_fo: The #FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty * fo_block_get_border_right_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_right_color; } /** * fo_block_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_block_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_right_color == NULL) || FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_block->border_right_color != NULL) { g_object_unref (fo_block->border_right_color); } fo_block->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_block), "border-right-color");*/ } /** * fo_block_get_border_right_style: * @fo_fo: The #FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty * fo_block_get_border_right_style (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_right_style; } /** * fo_block_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_block_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_right_style == NULL) || FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_block->border_right_style != NULL) { g_object_unref (fo_block->border_right_style); } fo_block->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_block), "border-right-style");*/ } /** * fo_block_get_border_right_width: * @fo_fo: The #FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty * fo_block_get_border_right_width (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_right_width; } /** * fo_block_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_block_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_right_width == NULL) || FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_block->border_right_width != NULL) { g_object_unref (fo_block->border_right_width); } fo_block->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_block), "border-right-width");*/ } /** * fo_block_get_border_start_color: * @fo_fo: The #FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty * fo_block_get_border_start_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_start_color; } /** * fo_block_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_block_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_start_color == NULL) || FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_block->border_start_color != NULL) { g_object_unref (fo_block->border_start_color); } fo_block->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_block), "border-start-color");*/ } /** * fo_block_get_border_start_style: * @fo_fo: The #FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty * fo_block_get_border_start_style (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_start_style; } /** * fo_block_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_block_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_start_style == NULL) || FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_block->border_start_style != NULL) { g_object_unref (fo_block->border_start_style); } fo_block->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_block), "border-start-style");*/ } /** * fo_block_get_border_start_width: * @fo_fo: The #FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty * fo_block_get_border_start_width (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_start_width; } /** * fo_block_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_block_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_start_width == NULL) || FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_block->border_start_width != NULL) { g_object_unref (fo_block->border_start_width); } fo_block->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_block), "border-start-width");*/ } /** * fo_block_get_border_top_color: * @fo_fo: The #FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty * fo_block_get_border_top_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_top_color; } /** * fo_block_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_block_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_top_color == NULL) || FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_block->border_top_color != NULL) { g_object_unref (fo_block->border_top_color); } fo_block->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_block), "border-top-color");*/ } /** * fo_block_get_border_top_style: * @fo_fo: The #FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty * fo_block_get_border_top_style (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_top_style; } /** * fo_block_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_block_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_top_style == NULL) || FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_block->border_top_style != NULL) { g_object_unref (fo_block->border_top_style); } fo_block->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_block), "border-top-style");*/ } /** * fo_block_get_border_top_width: * @fo_fo: The #FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty * fo_block_get_border_top_width (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->border_top_width; } /** * fo_block_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_block_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_border_top_width == NULL) || FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_block->border_top_width != NULL) { g_object_unref (fo_block->border_top_width); } fo_block->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_block), "border-top-width");*/ } /** * fo_block_get_break_after: * @fo_fo: The #FoFo object. * * Gets the "break-after" property of @fo_fo. * * Return value: The "break-after" property value. **/ FoProperty * fo_block_get_break_after (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->break_after; } /** * fo_block_set_break_after: * @fo_fo: The #FoFo object. * @new_break_after: The new "break-after" property value. * * Sets the "break-after" property of @fo_fo to @new_break_after. **/ void fo_block_set_break_after (FoFo *fo_fo, FoProperty *new_break_after) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_break_after == NULL) || FO_IS_PROPERTY_BREAK_AFTER (new_break_after)); if (new_break_after != NULL) { g_object_ref (new_break_after); } if (fo_block->break_after != NULL) { g_object_unref (fo_block->break_after); } fo_block->break_after = new_break_after; /*g_object_notify (G_OBJECT (fo_block), "break-after");*/ } /** * fo_block_get_break_before: * @fo_fo: The #FoFo object. * * Gets the "break-before" property of @fo_fo. * * Return value: The "break-before" property value. **/ FoProperty * fo_block_get_break_before (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->break_before; } /** * fo_block_set_break_before: * @fo_fo: The #FoFo object. * @new_break_before: The new "break-before" property value. * * Sets the "break-before" property of @fo_fo to @new_break_before. **/ void fo_block_set_break_before (FoFo *fo_fo, FoProperty *new_break_before) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_break_before == NULL) || FO_IS_PROPERTY_BREAK_BEFORE (new_break_before)); if (new_break_before != NULL) { g_object_ref (new_break_before); } if (fo_block->break_before != NULL) { g_object_unref (fo_block->break_before); } fo_block->break_before = new_break_before; /*g_object_notify (G_OBJECT (fo_block), "break-before");*/ } /** * fo_block_get_color: * @fo_fo: The #FoFo object. * * Gets the "color" property of @fo_fo. * * Return value: The "color" property value. **/ FoProperty * fo_block_get_color (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->color; } /** * fo_block_set_color: * @fo_fo: The #FoFo object. * @new_color: The new "color" property value. * * Sets the "color" property of @fo_fo to @new_color. **/ void fo_block_set_color (FoFo *fo_fo, FoProperty *new_color) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_color == NULL) || FO_IS_PROPERTY_COLOR (new_color)); if (new_color != NULL) { g_object_ref (new_color); } if (fo_block->color != NULL) { g_object_unref (fo_block->color); } fo_block->color = new_color; /*g_object_notify (G_OBJECT (fo_block), "color");*/ } /** * fo_block_get_end_indent: * @fo_fo: The #FoFo object. * * Gets the "end-indent" property of @fo_fo. * * Return value: The "end-indent" property value. **/ FoProperty * fo_block_get_end_indent (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->end_indent; } /** * fo_block_set_end_indent: * @fo_fo: The #FoFo object. * @new_end_indent: The new "end-indent" property value. * * Sets the "end-indent" property of @fo_fo to @new_end_indent. **/ void fo_block_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_end_indent == NULL) || FO_IS_PROPERTY_END_INDENT (new_end_indent)); if (new_end_indent != NULL) { g_object_ref (new_end_indent); } if (fo_block->end_indent != NULL) { g_object_unref (fo_block->end_indent); } fo_block->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_block), "end-indent");*/ } /** * fo_block_get_font_family: * @fo_fo: The #FoFo object. * * Gets the "font-family" property of @fo_fo. * * Return value: The "font-family" property value. **/ FoProperty * fo_block_get_font_family (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->font_family; } /** * fo_block_set_font_family: * @fo_fo: The #FoFo object. * @new_font_family: The new "font-family" property value. * * Sets the "font-family" property of @fo_fo to @new_font_family. **/ void fo_block_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_font_family == NULL) || FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family != NULL) { g_object_ref (new_font_family); } if (fo_block->font_family != NULL) { g_object_unref (fo_block->font_family); } fo_block->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_block), "font-family");*/ } /** * fo_block_get_font_size: * @fo_fo: The #FoFo object. * * Gets the "font-size" property of @fo_fo. * * Return value: The "font-size" property value. **/ FoProperty * fo_block_get_font_size (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->font_size; } /** * fo_block_set_font_size: * @fo_fo: The #FoFo object. * @new_font_size: The new "font-size" property value. * * Sets the "font-size" property of @fo_fo to @new_font_size. **/ void fo_block_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_font_size == NULL) || FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size != NULL) { g_object_ref (new_font_size); } if (fo_block->font_size != NULL) { g_object_unref (fo_block->font_size); } fo_block->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_block), "font-size");*/ } /** * fo_block_get_font_stretch: * @fo_fo: The #FoFo object. * * Gets the "font-stretch" property of @fo_fo. * * Return value: The "font-stretch" property value. **/ FoProperty * fo_block_get_font_stretch (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->font_stretch; } /** * fo_block_set_font_stretch: * @fo_fo: The #FoFo object. * @new_font_stretch: The new "font-stretch" property value. * * Sets the "font-stretch" property of @fo_fo to @new_font_stretch. **/ void fo_block_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_font_stretch == NULL) || FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch != NULL) { g_object_ref (new_font_stretch); } if (fo_block->font_stretch != NULL) { g_object_unref (fo_block->font_stretch); } fo_block->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_block), "font-stretch");*/ } /** * fo_block_get_font_style: * @fo_fo: The #FoFo object. * * Gets the "font-style" property of @fo_fo. * * Return value: The "font-style" property value. **/ FoProperty * fo_block_get_font_style (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->font_style; } /** * fo_block_set_font_style: * @fo_fo: The #FoFo object. * @new_font_style: The new "font-style" property value. * * Sets the "font-style" property of @fo_fo to @new_font_style. **/ void fo_block_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_font_style == NULL) || FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style != NULL) { g_object_ref (new_font_style); } if (fo_block->font_style != NULL) { g_object_unref (fo_block->font_style); } fo_block->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_block), "font-style");*/ } /** * fo_block_get_font_variant: * @fo_fo: The #FoFo object. * * Gets the "font-variant" property of @fo_fo. * * Return value: The "font-variant" property value. **/ FoProperty * fo_block_get_font_variant (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->font_variant; } /** * fo_block_set_font_variant: * @fo_fo: The #FoFo object. * @new_font_variant: The new "font-variant" property value. * * Sets the "font-variant" property of @fo_fo to @new_font_variant. **/ void fo_block_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_font_variant == NULL) || FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant != NULL) { g_object_ref (new_font_variant); } if (fo_block->font_variant != NULL) { g_object_unref (fo_block->font_variant); } fo_block->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_block), "font-variant");*/ } /** * fo_block_get_font_weight: * @fo_fo: The #FoFo object. * * Gets the "font-weight" property of @fo_fo. * * Return value: The "font-weight" property value. **/ FoProperty * fo_block_get_font_weight (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->font_weight; } /** * fo_block_set_font_weight: * @fo_fo: The #FoFo object. * @new_font_weight: The new "font-weight" property value. * * Sets the "font-weight" property of @fo_fo to @new_font_weight. **/ void fo_block_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_font_weight == NULL) || FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight != NULL) { g_object_ref (new_font_weight); } if (fo_block->font_weight != NULL) { g_object_unref (fo_block->font_weight); } fo_block->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_block), "font-weight");*/ } /** * fo_block_get_id: * @fo_fo: The #FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty * fo_block_get_id (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->id; } /** * fo_block_set_id: * @fo_fo: The #FoFo object. * @new_id: The new "id" property value. * * Sets the "id" property of @fo_fo to @new_id. **/ void fo_block_set_id (FoFo *fo_fo, FoProperty *new_id) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_id == NULL) || FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_block->id != NULL) { g_object_unref (fo_block->id); } fo_block->id = new_id; /*g_object_notify (G_OBJECT (fo_block), "id");*/ } /** * fo_block_get_keep_together: * @fo_fo: The #FoFo object. * * Gets the "keep-together" property of @fo_fo. * * Return value: The "keep-together" property value. **/ FoProperty * fo_block_get_keep_together (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_together; } /** * fo_block_set_keep_together: * @fo_fo: The #FoFo object. * @new_keep_together: The new "keep-together" property value. * * Sets the "keep-together" property of @fo_fo to @new_keep_together. **/ void fo_block_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_together == NULL) || FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_block->keep_together != NULL) { g_object_unref (fo_block->keep_together); } fo_block->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_block), "keep-together");*/ } /** * fo_block_get_keep_together_within_column: * @fo_fo: The #FoFo object. * * Gets the "keep-together-within-column" property of @fo_fo. * * Return value: The "keep-together-within-column" property value. **/ FoProperty * fo_block_get_keep_together_within_column (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_together_within_column; } /** * fo_block_set_keep_together_within_column: * @fo_fo: The #FoFo object. * @new_keep_together_within_column: The new "keep-together-within-column" property value. * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column. **/ void fo_block_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_together_within_column == NULL) || FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_block->keep_together_within_column != NULL) { g_object_unref (fo_block->keep_together_within_column); } fo_block->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_block), "keep-together-within-column");*/ } /** * fo_block_get_keep_together_within_line: * @fo_fo: The #FoFo object. * * Gets the "keep-together-within-line" property of @fo_fo. * * Return value: The "keep-together-within-line" property value. **/ FoProperty * fo_block_get_keep_together_within_line (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_together_within_line; } /** * fo_block_set_keep_together_within_line: * @fo_fo: The #FoFo object. * @new_keep_together_within_line: The new "keep-together-within-line" property value. * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line. **/ void fo_block_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_together_within_line == NULL) || FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_block->keep_together_within_line != NULL) { g_object_unref (fo_block->keep_together_within_line); } fo_block->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_block), "keep-together-within-line");*/ } /** * fo_block_get_keep_together_within_page: * @fo_fo: The #FoFo object. * * Gets the "keep-together-within-page" property of @fo_fo. * * Return value: The "keep-together-within-page" property value. **/ FoProperty * fo_block_get_keep_together_within_page (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_together_within_page; } /** * fo_block_set_keep_together_within_page: * @fo_fo: The #FoFo object. * @new_keep_together_within_page: The new "keep-together-within-page" property value. * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page. **/ void fo_block_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_together_within_page == NULL) || FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_block->keep_together_within_page != NULL) { g_object_unref (fo_block->keep_together_within_page); } fo_block->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_block), "keep-together-within-page");*/ } /** * fo_block_get_keep_with_next: * @fo_fo: The #FoFo object. * * Gets the "keep-with-next" property of @fo_fo. * * Return value: The "keep-with-next" property value. **/ FoProperty * fo_block_get_keep_with_next (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_with_next; } /** * fo_block_set_keep_with_next: * @fo_fo: The #FoFo object. * @new_keep_with_next: The new "keep-with-next" property value. * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next. **/ void fo_block_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_with_next == NULL) || FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_block->keep_with_next != NULL) { g_object_unref (fo_block->keep_with_next); } fo_block->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_block), "keep-with-next");*/ } /** * fo_block_get_keep_with_next_within_column: * @fo_fo: The #FoFo object. * * Gets the "keep-with-next-within-column" property of @fo_fo. * * Return value: The "keep-with-next-within-column" property value. **/ FoProperty * fo_block_get_keep_with_next_within_column (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_with_next_within_column; } /** * fo_block_set_keep_with_next_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value. * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column. **/ void fo_block_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_with_next_within_column == NULL) || FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_block->keep_with_next_within_column != NULL) { g_object_unref (fo_block->keep_with_next_within_column); } fo_block->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_block), "keep-with-next-within-column");*/ } /** * fo_block_get_keep_with_next_within_line: * @fo_fo: The #FoFo object. * * Gets the "keep-with-next-within-line" property of @fo_fo. * * Return value: The "keep-with-next-within-line" property value. **/ FoProperty * fo_block_get_keep_with_next_within_line (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_with_next_within_line; } /** * fo_block_set_keep_with_next_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value. * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line. **/ void fo_block_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_with_next_within_line == NULL) || FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_block->keep_with_next_within_line != NULL) { g_object_unref (fo_block->keep_with_next_within_line); } fo_block->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_block), "keep-with-next-within-line");*/ } /** * fo_block_get_keep_with_next_within_page: * @fo_fo: The #FoFo object. * * Gets the "keep-with-next-within-page" property of @fo_fo. * * Return value: The "keep-with-next-within-page" property value. **/ FoProperty * fo_block_get_keep_with_next_within_page (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_with_next_within_page; } /** * fo_block_set_keep_with_next_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value. * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page. **/ void fo_block_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_with_next_within_page == NULL) || FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_block->keep_with_next_within_page != NULL) { g_object_unref (fo_block->keep_with_next_within_page); } fo_block->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_block), "keep-with-next-within-page");*/ } /** * fo_block_get_keep_with_previous: * @fo_fo: The #FoFo object. * * Gets the "keep-with-previous" property of @fo_fo. * * Return value: The "keep-with-previous" property value. **/ FoProperty * fo_block_get_keep_with_previous (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_with_previous; } /** * fo_block_set_keep_with_previous: * @fo_fo: The #FoFo object. * @new_keep_with_previous: The new "keep-with-previous" property value. * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous. **/ void fo_block_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_with_previous == NULL) || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_block->keep_with_previous != NULL) { g_object_unref (fo_block->keep_with_previous); } fo_block->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_block), "keep-with-previous");*/ } /** * fo_block_get_keep_with_previous_within_column: * @fo_fo: The #FoFo object. * * Gets the "keep-with-previous-within-column" property of @fo_fo. * * Return value: The "keep-with-previous-within-column" property value. **/ FoProperty * fo_block_get_keep_with_previous_within_column (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_with_previous_within_column; } /** * fo_block_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value. * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column. **/ void fo_block_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_with_previous_within_column == NULL) || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_block->keep_with_previous_within_column != NULL) { g_object_unref (fo_block->keep_with_previous_within_column); } fo_block->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_block), "keep-with-previous-within-column");*/ } /** * fo_block_get_keep_with_previous_within_line: * @fo_fo: The #FoFo object. * * Gets the "keep-with-previous-within-line" property of @fo_fo. * * Return value: The "keep-with-previous-within-line" property value. **/ FoProperty * fo_block_get_keep_with_previous_within_line (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_with_previous_within_line; } /** * fo_block_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value. * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line. **/ void fo_block_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_with_previous_within_line == NULL) || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_block->keep_with_previous_within_line != NULL) { g_object_unref (fo_block->keep_with_previous_within_line); } fo_block->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_block), "keep-with-previous-within-line");*/ } /** * fo_block_get_keep_with_previous_within_page: * @fo_fo: The #FoFo object. * * Gets the "keep-with-previous-within-page" property of @fo_fo. * * Return value: The "keep-with-previous-within-page" property value. **/ FoProperty * fo_block_get_keep_with_previous_within_page (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->keep_with_previous_within_page; } /** * fo_block_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value. * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page. **/ void fo_block_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_keep_with_previous_within_page == NULL) || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_block->keep_with_previous_within_page != NULL) { g_object_unref (fo_block->keep_with_previous_within_page); } fo_block->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_block), "keep-with-previous-within-page");*/ } /** * fo_block_get_line_height: * @fo_fo: The #FoFo object. * * Gets the "line-height" property of @fo_fo. * * Return value: The "line-height" property value. **/ FoProperty * fo_block_get_line_height (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->line_height; } /** * fo_block_set_line_height: * @fo_fo: The #FoFo object. * @new_line_height: The new "line-height" property value. * * Sets the "line-height" property of @fo_fo to @new_line_height. **/ void fo_block_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_line_height == NULL) || FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_block->line_height != NULL) { g_object_unref (fo_block->line_height); } fo_block->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_block), "line-height");*/ } /** * fo_block_get_line_stacking_strategy: * @fo_fo: The #FoFo object. * * Gets the "line-stacking-strategy" property of @fo_fo. * * Return value: The "line-stacking-strategy" property value. **/ FoProperty * fo_block_get_line_stacking_strategy (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->line_stacking_strategy; } /** * fo_block_set_line_stacking_strategy: * @fo_fo: The #FoFo object. * @new_line_stacking_strategy: The new "line-stacking-strategy" property value. * * Sets the "line-stacking-strategy" property of @fo_fo to @new_line_stacking_strategy. **/ void fo_block_set_line_stacking_strategy (FoFo *fo_fo, FoProperty *new_line_stacking_strategy) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_line_stacking_strategy == NULL) || FO_IS_PROPERTY_LINE_STACKING_STRATEGY (new_line_stacking_strategy)); if (new_line_stacking_strategy != NULL) { g_object_ref (new_line_stacking_strategy); } if (fo_block->line_stacking_strategy != NULL) { g_object_unref (fo_block->line_stacking_strategy); } fo_block->line_stacking_strategy = new_line_stacking_strategy; /*g_object_notify (G_OBJECT (fo_block), "line-stacking-strategy");*/ } /** * fo_block_get_linefeed_treatment: * @fo_fo: The #FoFo object. * * Gets the "linefeed-treatment" property of @fo_fo. * * Return value: The "linefeed-treatment" property value. **/ FoProperty * fo_block_get_linefeed_treatment (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->linefeed_treatment; } /** * fo_block_set_linefeed_treatment: * @fo_fo: The #FoFo object. * @new_linefeed_treatment: The new "linefeed-treatment" property value. * * Sets the "linefeed-treatment" property of @fo_fo to @new_linefeed_treatment. **/ void fo_block_set_linefeed_treatment (FoFo *fo_fo, FoProperty *new_linefeed_treatment) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_linefeed_treatment == NULL) || FO_IS_PROPERTY_LINEFEED_TREATMENT (new_linefeed_treatment)); if (new_linefeed_treatment != NULL) { g_object_ref (new_linefeed_treatment); } if (fo_block->linefeed_treatment != NULL) { g_object_unref (fo_block->linefeed_treatment); } fo_block->linefeed_treatment = new_linefeed_treatment; /*g_object_notify (G_OBJECT (fo_block), "linefeed-treatment");*/ } /** * fo_block_get_margin_bottom: * @fo_fo: The #FoFo object. * * Gets the "margin-bottom" property of @fo_fo. * * Return value: The "margin-bottom" property value. **/ FoProperty * fo_block_get_margin_bottom (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->margin_bottom; } /** * fo_block_set_margin_bottom: * @fo_fo: The #FoFo object. * @new_margin_bottom: The new "margin-bottom" property value. * * Sets the "margin-bottom" property of @fo_fo to @new_margin_bottom. **/ void fo_block_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_margin_bottom == NULL) || FO_IS_PROPERTY_MARGIN_BOTTOM (new_margin_bottom)); if (new_margin_bottom != NULL) { g_object_ref (new_margin_bottom); } if (fo_block->margin_bottom != NULL) { g_object_unref (fo_block->margin_bottom); } fo_block->margin_bottom = new_margin_bottom; /*g_object_notify (G_OBJECT (fo_block), "margin-bottom");*/ } /** * fo_block_get_margin_left: * @fo_fo: The #FoFo object. * * Gets the "margin-left" property of @fo_fo. * * Return value: The "margin-left" property value. **/ FoProperty * fo_block_get_margin_left (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->margin_left; } /** * fo_block_set_margin_left: * @fo_fo: The #FoFo object. * @new_margin_left: The new "margin-left" property value. * * Sets the "margin-left" property of @fo_fo to @new_margin_left. **/ void fo_block_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_margin_left == NULL) || FO_IS_PROPERTY_MARGIN_LEFT (new_margin_left)); if (new_margin_left != NULL) { g_object_ref (new_margin_left); } if (fo_block->margin_left != NULL) { g_object_unref (fo_block->margin_left); } fo_block->margin_left = new_margin_left; /*g_object_notify (G_OBJECT (fo_block), "margin-left");*/ } /** * fo_block_get_margin_right: * @fo_fo: The #FoFo object. * * Gets the "margin-right" property of @fo_fo. * * Return value: The "margin-right" property value. **/ FoProperty * fo_block_get_margin_right (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->margin_right; } /** * fo_block_set_margin_right: * @fo_fo: The #FoFo object. * @new_margin_right: The new "margin-right" property value. * * Sets the "margin-right" property of @fo_fo to @new_margin_right. **/ void fo_block_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_margin_right == NULL) || FO_IS_PROPERTY_MARGIN_RIGHT (new_margin_right)); if (new_margin_right != NULL) { g_object_ref (new_margin_right); } if (fo_block->margin_right != NULL) { g_object_unref (fo_block->margin_right); } fo_block->margin_right = new_margin_right; /*g_object_notify (G_OBJECT (fo_block), "margin-right");*/ } /** * fo_block_get_margin_top: * @fo_fo: The #FoFo object. * * Gets the "margin-top" property of @fo_fo. * * Return value: The "margin-top" property value. **/ FoProperty * fo_block_get_margin_top (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->margin_top; } /** * fo_block_set_margin_top: * @fo_fo: The #FoFo object. * @new_margin_top: The new "margin-top" property value. * * Sets the "margin-top" property of @fo_fo to @new_margin_top. **/ void fo_block_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_margin_top == NULL) || FO_IS_PROPERTY_MARGIN_TOP (new_margin_top)); if (new_margin_top != NULL) { g_object_ref (new_margin_top); } if (fo_block->margin_top != NULL) { g_object_unref (fo_block->margin_top); } fo_block->margin_top = new_margin_top; /*g_object_notify (G_OBJECT (fo_block), "margin-top");*/ } /** * fo_block_get_orphans: * @fo_fo: The #FoFo object. * * Gets the "orphans" property of @fo_fo. * * Return value: The "orphans" property value. **/ FoProperty * fo_block_get_orphans (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->orphans; } /** * fo_block_set_orphans: * @fo_fo: The #FoFo object. * @new_orphans: The new "orphans" property value. * * Sets the "orphans" property of @fo_fo to @new_orphans. **/ void fo_block_set_orphans (FoFo *fo_fo, FoProperty *new_orphans) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_orphans == NULL) || FO_IS_PROPERTY_ORPHANS (new_orphans)); if (new_orphans != NULL) { g_object_ref (new_orphans); } if (fo_block->orphans != NULL) { g_object_unref (fo_block->orphans); } fo_block->orphans = new_orphans; /*g_object_notify (G_OBJECT (fo_block), "orphans");*/ } /** * fo_block_get_padding_after: * @fo_fo: The #FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty * fo_block_get_padding_after (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->padding_after; } /** * fo_block_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_block_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_padding_after == NULL) || FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_block->padding_after != NULL) { g_object_unref (fo_block->padding_after); } fo_block->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_block), "padding-after");*/ } /** * fo_block_get_padding_before: * @fo_fo: The #FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty * fo_block_get_padding_before (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->padding_before; } /** * fo_block_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_block_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_padding_before == NULL) || FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_block->padding_before != NULL) { g_object_unref (fo_block->padding_before); } fo_block->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_block), "padding-before");*/ } /** * fo_block_get_padding_bottom: * @fo_fo: The #FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty * fo_block_get_padding_bottom (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->padding_bottom; } /** * fo_block_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_block_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_padding_bottom == NULL) || FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_block->padding_bottom != NULL) { g_object_unref (fo_block->padding_bottom); } fo_block->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_block), "padding-bottom");*/ } /** * fo_block_get_padding_end: * @fo_fo: The #FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty * fo_block_get_padding_end (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->padding_end; } /** * fo_block_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_block_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_padding_end == NULL) || FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_block->padding_end != NULL) { g_object_unref (fo_block->padding_end); } fo_block->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_block), "padding-end");*/ } /** * fo_block_get_padding_left: * @fo_fo: The #FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty * fo_block_get_padding_left (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->padding_left; } /** * fo_block_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_block_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_padding_left == NULL) || FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_block->padding_left != NULL) { g_object_unref (fo_block->padding_left); } fo_block->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_block), "padding-left");*/ } /** * fo_block_get_padding_right: * @fo_fo: The #FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty * fo_block_get_padding_right (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->padding_right; } /** * fo_block_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_block_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_padding_right == NULL) || FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_block->padding_right != NULL) { g_object_unref (fo_block->padding_right); } fo_block->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_block), "padding-right");*/ } /** * fo_block_get_padding_start: * @fo_fo: The #FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty * fo_block_get_padding_start (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->padding_start; } /** * fo_block_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_block_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_padding_start == NULL) || FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_block->padding_start != NULL) { g_object_unref (fo_block->padding_start); } fo_block->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_block), "padding-start");*/ } /** * fo_block_get_padding_top: * @fo_fo: The #FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty * fo_block_get_padding_top (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->padding_top; } /** * fo_block_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_block_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_padding_top == NULL) || FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_block->padding_top != NULL) { g_object_unref (fo_block->padding_top); } fo_block->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_block), "padding-top");*/ } /** * fo_block_get_role: * @fo_fo: The #FoFo object. * * Gets the "role" property of @fo_fo. * * Return value: The "role" property value. **/ FoProperty * fo_block_get_role (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->role; } /** * fo_block_set_role: * @fo_fo: The #FoFo object. * @new_role: The new "role" property value. * * Sets the "role" property of @fo_fo to @new_role. **/ void fo_block_set_role (FoFo *fo_fo, FoProperty *new_role) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_role == NULL) || FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_block->role != NULL) { g_object_unref (fo_block->role); } fo_block->role = new_role; /*g_object_notify (G_OBJECT (fo_block), "role");*/ } /** * fo_block_get_source_document: * @fo_fo: The #FoFo object. * * Gets the "source-document" property of @fo_fo. * * Return value: The "source-document" property value. **/ FoProperty * fo_block_get_source_document (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->source_document; } /** * fo_block_set_source_document: * @fo_fo: The #FoFo object. * @new_source_document: The new "source-document" property value. * * Sets the "source-document" property of @fo_fo to @new_source_document. **/ void fo_block_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_source_document == NULL) || FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_block->source_document != NULL) { g_object_unref (fo_block->source_document); } fo_block->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_block), "source-document");*/ } /** * fo_block_get_space_after: * @fo_fo: The #FoFo object. * * Gets the "space-after" property of @fo_fo. * * Return value: The "space-after" property value. **/ FoProperty * fo_block_get_space_after (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->space_after; } /** * fo_block_set_space_after: * @fo_fo: The #FoFo object. * @new_space_after: The new "space-after" property value. * * Sets the "space-after" property of @fo_fo to @new_space_after. **/ void fo_block_set_space_after (FoFo *fo_fo, FoProperty *new_space_after) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_space_after == NULL) || FO_IS_PROPERTY_SPACE_AFTER (new_space_after)); if (new_space_after != NULL) { g_object_ref (new_space_after); } if (fo_block->space_after != NULL) { g_object_unref (fo_block->space_after); } fo_block->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_block), "space-after");*/ } /** * fo_block_get_space_before: * @fo_fo: The #FoFo object. * * Gets the "space-before" property of @fo_fo. * * Return value: The "space-before" property value. **/ FoProperty * fo_block_get_space_before (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->space_before; } /** * fo_block_set_space_before: * @fo_fo: The #FoFo object. * @new_space_before: The new "space-before" property value. * * Sets the "space-before" property of @fo_fo to @new_space_before. **/ void fo_block_set_space_before (FoFo *fo_fo, FoProperty *new_space_before) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_space_before == NULL) || FO_IS_PROPERTY_SPACE_BEFORE (new_space_before)); if (new_space_before != NULL) { g_object_ref (new_space_before); } if (fo_block->space_before != NULL) { g_object_unref (fo_block->space_before); } fo_block->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_block), "space-before");*/ } /** * fo_block_get_span: * @fo_fo: The #FoFo object. * * Gets the "span" property of @fo_fo. * * Return value: The "span" property value. **/ FoProperty * fo_block_get_span (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->span; } /** * fo_block_set_span: * @fo_fo: The #FoFo object. * @new_span: The new "span" property value. * * Sets the "span" property of @fo_fo to @new_span. **/ void fo_block_set_span (FoFo *fo_fo, FoProperty *new_span) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_span == NULL) || FO_IS_PROPERTY_SPAN (new_span)); if (new_span != NULL) { g_object_ref (new_span); } if (fo_block->span != NULL) { g_object_unref (fo_block->span); } fo_block->span = new_span; /*g_object_notify (G_OBJECT (fo_block), "span");*/ } /** * fo_block_get_start_indent: * @fo_fo: The #FoFo object. * * Gets the "start-indent" property of @fo_fo. * * Return value: The "start-indent" property value. **/ FoProperty * fo_block_get_start_indent (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->start_indent; } /** * fo_block_set_start_indent: * @fo_fo: The #FoFo object. * @new_start_indent: The new "start-indent" property value. * * Sets the "start-indent" property of @fo_fo to @new_start_indent. **/ void fo_block_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_start_indent == NULL) || FO_IS_PROPERTY_START_INDENT (new_start_indent)); if (new_start_indent != NULL) { g_object_ref (new_start_indent); } if (fo_block->start_indent != NULL) { g_object_unref (fo_block->start_indent); } fo_block->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_block), "start-indent");*/ } /** * fo_block_get_text_align: * @fo_fo: The #FoFo object. * * Gets the "text-align" property of @fo_fo. * * Return value: The "text-align" property value. **/ FoProperty * fo_block_get_text_align (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->text_align; } /** * fo_block_set_text_align: * @fo_fo: The #FoFo object. * @new_text_align: The new "text-align" property value. * * Sets the "text-align" property of @fo_fo to @new_text_align. **/ void fo_block_set_text_align (FoFo *fo_fo, FoProperty *new_text_align) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_text_align == NULL) || FO_IS_PROPERTY_TEXT_ALIGN (new_text_align)); if (new_text_align != NULL) { g_object_ref (new_text_align); } if (fo_block->text_align != NULL) { g_object_unref (fo_block->text_align); } fo_block->text_align = new_text_align; /*g_object_notify (G_OBJECT (fo_block), "text-align");*/ } /** * fo_block_get_text_indent: * @fo_fo: The #FoFo object. * * Gets the "text-indent" property of @fo_fo. * * Return value: The "text-indent" property value. **/ FoProperty * fo_block_get_text_indent (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->text_indent; } /** * fo_block_set_text_indent: * @fo_fo: The #FoFo object. * @new_text_indent: The new "text-indent" property value. * * Sets the "text-indent" property of @fo_fo to @new_text_indent. **/ void fo_block_set_text_indent (FoFo *fo_fo, FoProperty *new_text_indent) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_text_indent == NULL) || FO_IS_PROPERTY_TEXT_INDENT (new_text_indent)); if (new_text_indent != NULL) { g_object_ref (new_text_indent); } if (fo_block->text_indent != NULL) { g_object_unref (fo_block->text_indent); } fo_block->text_indent = new_text_indent; /*g_object_notify (G_OBJECT (fo_block), "text-indent");*/ } /** * fo_block_get_white_space_collapse: * @fo_fo: The #FoFo object. * * Gets the "white-space-collapse" property of @fo_fo. * * Return value: The "white-space-collapse" property value. **/ FoProperty * fo_block_get_white_space_collapse (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->white_space_collapse; } /** * fo_block_set_white_space_collapse: * @fo_fo: The #FoFo object. * @new_white_space_collapse: The new "white-space-collapse" property value. * * Sets the "white-space-collapse" property of @fo_fo to @new_white_space_collapse. **/ void fo_block_set_white_space_collapse (FoFo *fo_fo, FoProperty *new_white_space_collapse) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_white_space_collapse == NULL) || FO_IS_PROPERTY_WHITE_SPACE_COLLAPSE (new_white_space_collapse)); if (new_white_space_collapse != NULL) { g_object_ref (new_white_space_collapse); } if (fo_block->white_space_collapse != NULL) { g_object_unref (fo_block->white_space_collapse); } fo_block->white_space_collapse = new_white_space_collapse; /*g_object_notify (G_OBJECT (fo_block), "white-space-collapse");*/ } /** * fo_block_get_white_space_treatment: * @fo_fo: The #FoFo object. * * Gets the "white-space-treatment" property of @fo_fo. * * Return value: The "white-space-treatment" property value. **/ FoProperty * fo_block_get_white_space_treatment (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->white_space_treatment; } /** * fo_block_set_white_space_treatment: * @fo_fo: The #FoFo object. * @new_white_space_treatment: The new "white-space-treatment" property value. * * Sets the "white-space-treatment" property of @fo_fo to @new_white_space_treatment. **/ void fo_block_set_white_space_treatment (FoFo *fo_fo, FoProperty *new_white_space_treatment) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_white_space_treatment == NULL) || FO_IS_PROPERTY_WHITE_SPACE_TREATMENT (new_white_space_treatment)); if (new_white_space_treatment != NULL) { g_object_ref (new_white_space_treatment); } if (fo_block->white_space_treatment != NULL) { g_object_unref (fo_block->white_space_treatment); } fo_block->white_space_treatment = new_white_space_treatment; /*g_object_notify (G_OBJECT (fo_block), "white-space-treatment");*/ } /** * fo_block_get_widows: * @fo_fo: The #FoFo object. * * Gets the "widows" property of @fo_fo. * * Return value: The "widows" property value. **/ FoProperty * fo_block_get_widows (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->widows; } /** * fo_block_set_widows: * @fo_fo: The #FoFo object. * @new_widows: The new "widows" property value. * * Sets the "widows" property of @fo_fo to @new_widows. **/ void fo_block_set_widows (FoFo *fo_fo, FoProperty *new_widows) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_widows == NULL) || FO_IS_PROPERTY_WIDOWS (new_widows)); if (new_widows != NULL) { g_object_ref (new_widows); } if (fo_block->widows != NULL) { g_object_unref (fo_block->widows); } fo_block->widows = new_widows; /*g_object_notify (G_OBJECT (fo_block), "widows");*/ } /** * fo_block_get_wrap_option: * @fo_fo: The #FoFo object. * * Gets the "wrap-option" property of @fo_fo. * * Return value: The "wrap-option" property value. **/ FoProperty * fo_block_get_wrap_option (FoFo *fo_fo) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_val_if_fail (fo_block != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK (fo_block), NULL); return fo_block->wrap_option; } /** * fo_block_set_wrap_option: * @fo_fo: The #FoFo object. * @new_wrap_option: The new "wrap-option" property value. * * Sets the "wrap-option" property of @fo_fo to @new_wrap_option. **/ void fo_block_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option) { FoBlock *fo_block = (FoBlock *) fo_fo; g_return_if_fail (fo_block != NULL); g_return_if_fail (FO_IS_BLOCK (fo_block)); g_return_if_fail ((new_wrap_option == NULL) || FO_IS_PROPERTY_WRAP_OPTION (new_wrap_option)); if (new_wrap_option != NULL) { g_object_ref (new_wrap_option); } if (fo_block->wrap_option != NULL) { g_object_unref (fo_block->wrap_option); } fo_block->wrap_option = new_wrap_option; /*g_object_notify (G_OBJECT (fo_block), "wrap-option");*/ } xmlroff-0.6.2/libfo/fo/fo-block.h0000644000175000017500000004112310643167376013477 00000000000000/* Fo * fo-block.h: 'block' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BLOCK_H__ #define __FO_BLOCK_H__ #include #include #include G_BEGIN_DECLS /** * FoBlock: * * Instance of the 'block' formatting object. **/ typedef struct _FoBlock FoBlock; /** * FoBlockClass: * * Class structure for the 'block' formatting object. **/ typedef struct _FoBlockClass FoBlockClass; #define FO_TYPE_BLOCK (fo_block_get_type ()) #define FO_BLOCK(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_BLOCK, FoBlock)) #define FO_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_BLOCK, FoBlockClass)) #define FO_IS_BLOCK(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_BLOCK)) #define FO_IS_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_BLOCK)) #define FO_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_BLOCK, FoBlockClass)) GType fo_block_get_type (void) G_GNUC_CONST; FoFo * fo_block_new (void); FoProperty * fo_block_get_background_color (FoFo *fo_fo); void fo_block_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_block_get_background_image (FoFo *fo_fo); void fo_block_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_block_get_border_after_color (FoFo *fo_fo); void fo_block_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_block_get_border_after_style (FoFo *fo_fo); void fo_block_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_block_get_border_after_width (FoFo *fo_fo); void fo_block_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_block_get_border_before_color (FoFo *fo_fo); void fo_block_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_block_get_border_before_style (FoFo *fo_fo); void fo_block_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_block_get_border_before_width (FoFo *fo_fo); void fo_block_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_block_get_border_bottom_color (FoFo *fo_fo); void fo_block_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_block_get_border_bottom_style (FoFo *fo_fo); void fo_block_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_block_get_border_bottom_width (FoFo *fo_fo); void fo_block_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_block_get_border_end_color (FoFo *fo_fo); void fo_block_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_block_get_border_end_style (FoFo *fo_fo); void fo_block_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_block_get_border_end_width (FoFo *fo_fo); void fo_block_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_block_get_border_left_color (FoFo *fo_fo); void fo_block_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_block_get_border_left_style (FoFo *fo_fo); void fo_block_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_block_get_border_left_width (FoFo *fo_fo); void fo_block_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_block_get_border_right_color (FoFo *fo_fo); void fo_block_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_block_get_border_right_style (FoFo *fo_fo); void fo_block_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_block_get_border_right_width (FoFo *fo_fo); void fo_block_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_block_get_border_start_color (FoFo *fo_fo); void fo_block_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_block_get_border_start_style (FoFo *fo_fo); void fo_block_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_block_get_border_start_width (FoFo *fo_fo); void fo_block_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_block_get_border_top_color (FoFo *fo_fo); void fo_block_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_block_get_border_top_style (FoFo *fo_fo); void fo_block_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_block_get_border_top_width (FoFo *fo_fo); void fo_block_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_block_get_break_after (FoFo *fo_fo); void fo_block_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty * fo_block_get_break_before (FoFo *fo_fo); void fo_block_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty * fo_block_get_color (FoFo *fo_fo); void fo_block_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty * fo_block_get_end_indent (FoFo *fo_fo); void fo_block_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty * fo_block_get_font_family (FoFo *fo_fo); void fo_block_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty * fo_block_get_font_size (FoFo *fo_fo); void fo_block_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty * fo_block_get_font_stretch (FoFo *fo_fo); void fo_block_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty * fo_block_get_font_style (FoFo *fo_fo); void fo_block_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty * fo_block_get_font_variant (FoFo *fo_fo); void fo_block_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty * fo_block_get_font_weight (FoFo *fo_fo); void fo_block_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty * fo_block_get_id (FoFo *fo_fo); void fo_block_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_block_get_keep_together (FoFo *fo_fo); void fo_block_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_block_get_keep_together_within_column (FoFo *fo_fo); void fo_block_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_block_get_keep_together_within_line (FoFo *fo_fo); void fo_block_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_block_get_keep_together_within_page (FoFo *fo_fo); void fo_block_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_block_get_keep_with_next (FoFo *fo_fo); void fo_block_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_block_get_keep_with_next_within_column (FoFo *fo_fo); void fo_block_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_block_get_keep_with_next_within_line (FoFo *fo_fo); void fo_block_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_block_get_keep_with_next_within_page (FoFo *fo_fo); void fo_block_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_block_get_keep_with_previous (FoFo *fo_fo); void fo_block_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_block_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_block_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_block_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_block_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_block_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_block_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_block_get_line_height (FoFo *fo_fo); void fo_block_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty * fo_block_get_line_stacking_strategy (FoFo *fo_fo); void fo_block_set_line_stacking_strategy (FoFo *fo_fo, FoProperty *new_line_stacking_strategy); FoProperty * fo_block_get_linefeed_treatment (FoFo *fo_fo); void fo_block_set_linefeed_treatment (FoFo *fo_fo, FoProperty *new_linefeed_treatment); FoProperty * fo_block_get_margin_bottom (FoFo *fo_fo); void fo_block_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty * fo_block_get_margin_left (FoFo *fo_fo); void fo_block_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty * fo_block_get_margin_right (FoFo *fo_fo); void fo_block_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty * fo_block_get_margin_top (FoFo *fo_fo); void fo_block_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty * fo_block_get_orphans (FoFo *fo_fo); void fo_block_set_orphans (FoFo *fo_fo, FoProperty *new_orphans); FoProperty * fo_block_get_padding_after (FoFo *fo_fo); void fo_block_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_block_get_padding_before (FoFo *fo_fo); void fo_block_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_block_get_padding_bottom (FoFo *fo_fo); void fo_block_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_block_get_padding_end (FoFo *fo_fo); void fo_block_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_block_get_padding_left (FoFo *fo_fo); void fo_block_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_block_get_padding_right (FoFo *fo_fo); void fo_block_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_block_get_padding_start (FoFo *fo_fo); void fo_block_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_block_get_padding_top (FoFo *fo_fo); void fo_block_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_block_get_role (FoFo *fo_fo); void fo_block_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_block_get_source_document (FoFo *fo_fo); void fo_block_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_block_get_space_after (FoFo *fo_fo); void fo_block_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty * fo_block_get_space_before (FoFo *fo_fo); void fo_block_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty * fo_block_get_span (FoFo *fo_fo); void fo_block_set_span (FoFo *fo_fo, FoProperty *new_span); FoProperty * fo_block_get_start_indent (FoFo *fo_fo); void fo_block_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty * fo_block_get_text_align (FoFo *fo_fo); void fo_block_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); FoProperty * fo_block_get_text_indent (FoFo *fo_fo); void fo_block_set_text_indent (FoFo *fo_fo, FoProperty *new_text_indent); FoProperty * fo_block_get_white_space_collapse (FoFo *fo_fo); void fo_block_set_white_space_collapse (FoFo *fo_fo, FoProperty *new_white_space_collapse); FoProperty * fo_block_get_white_space_treatment (FoFo *fo_fo); void fo_block_set_white_space_treatment (FoFo *fo_fo, FoProperty *new_white_space_treatment); FoProperty * fo_block_get_widows (FoFo *fo_fo); void fo_block_set_widows (FoFo *fo_fo, FoProperty *new_widows); FoProperty * fo_block_get_wrap_option (FoFo *fo_fo); void fo_block_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); G_END_DECLS #endif /* !__FO_BLOCK_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-private.h0000644000175000017500000000564510643167375015157 00000000000000/* Fo * fo-block-private.h: Structures private to 'block' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BLOCK_PRIVATE_H__ #define __FO_BLOCK_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoBlock { FoMarkerParent parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *break_after; FoProperty *break_before; FoProperty *color; FoProperty *end_indent; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *id; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *line_stacking_strategy; FoProperty *linefeed_treatment; FoProperty *margin_bottom; FoProperty *margin_left; FoProperty *margin_right; FoProperty *margin_top; FoProperty *orphans; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *space_after; FoProperty *space_before; FoProperty *span; FoProperty *start_indent; FoProperty *text_align; FoProperty *text_indent; FoProperty *white_space_collapse; FoProperty *white_space_treatment; FoProperty *widows; FoProperty *wrap_option; }; struct _FoBlockClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_BLOCK_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-block.c0000644000175000017500000000362710643167376014571 00000000000000/* Fo * fo-block-block.c: Block-level block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-block-block.h" #include "fo-block-block-private.h" #include "fo-block-block-area.h" static void fo_block_block_class_init (FoBlockBlockClass *klass); static void fo_block_block_finalize (GObject *object); static gpointer parent_class; GType fo_block_block_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoBlockBlockClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_block_block_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoBlockBlock), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_BLOCK, "FoBlockBlock", &object_info, 0); } return object_type; } static void fo_block_block_class_init (FoBlockBlockClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_block_block_finalize; FO_FO_CLASS (klass)->area_new2 = fo_block_block_area_new2; } static void fo_block_block_finalize (GObject *object) { FoBlockBlock *fo_block_block; fo_block_block = FO_BLOCK_BLOCK (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_block_block_new: * * Creates a new #FoBlockBlock initialized to default value. * * Return value: the new #FoBlockBlock **/ FoFo* fo_block_block_new (void) { return FO_FO (g_object_new (fo_block_block_get_type (), NULL)); } xmlroff-0.6.2/libfo/fo/fo-block-block.h0000644000175000017500000000227010643167376014567 00000000000000/* Fo * fo-block-block.h: Block-level block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BLOCK_BLOCK_H__ #define __FO_BLOCK_BLOCK_H__ #include #include G_BEGIN_DECLS typedef struct _FoBlockBlock FoBlockBlock; typedef struct _FoBlockBlockClass FoBlockBlockClass; #define FO_TYPE_BLOCK_BLOCK (fo_block_block_get_type ()) #define FO_BLOCK_BLOCK(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_BLOCK_BLOCK, FoBlockBlock)) #define FO_BLOCK_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_BLOCK_BLOCK, FoBlockBlockClass)) #define FO_IS_BLOCK_BLOCK(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_BLOCK_BLOCK)) #define FO_IS_BLOCK_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_BLOCK_BLOCK)) #define FO_BLOCK_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_BLOCK_BLOCK, FoBlockBlockClass)) GType fo_block_block_get_type (void) G_GNUC_CONST; FoFo *fo_block_block_new (void); G_END_DECLS #endif /* !__FO_BLOCK_BLOCK_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-block-private.h0000644000175000017500000000062610643167376016242 00000000000000/* Fo * fo-block-block-private.h: Block-level block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include struct _FoBlockBlock { FoBlock parent_instance; }; struct _FoBlockBlockClass { FoBlockClass parent_class; }; xmlroff-0.6.2/libfo/fo/fo-block-layout.c0000644000175000017500000001113111054604422014762 00000000000000/* Fo * fo-block-layout.c: Layout-level block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-block-layout.h" #include "fo-block-layout-private.h" static void fo_block_layout_class_init (FoBlockLayoutClass *klass); static void fo_block_layout_finalize (GObject *object); static void fo_block_layout_debug_dump_properties (FoFo *fo, gint depth); static void fo_block_layout_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error); static gpointer parent_class; GType fo_block_layout_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoBlockLayoutClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_block_layout_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoBlockLayout), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_BLOCK, "FoBlockLayout", &object_info, 0); } return object_type; } static void fo_block_layout_class_init (FoBlockLayoutClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fo_fo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_block_layout_finalize; fo_fo_class->debug_dump_properties = fo_block_layout_debug_dump_properties; fo_fo_class->update_from_context = fo_block_layout_update_from_context; fo_fo_class->children_properties_resolve = fo_block_layout_children_properties_resolve; } static void fo_block_layout_finalize (GObject *object) { FoBlockLayout *fo_block_layout; fo_block_layout = FO_BLOCK_LAYOUT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_block_layout_new: * * Creates a new #FoBlockLayout initialized to default value. * * Return value: the new #FoBlockLayout **/ FoFo* fo_block_layout_new (void) { return FO_FO (g_object_new (fo_block_layout_get_type (), NULL)); } void fo_block_layout_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK (fo)); FO_FO_CLASS (parent_class)->update_from_context (fo, context); } void fo_block_layout_debug_dump_properties (FoFo *fo, gint depth) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK (fo)); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } void fo_block_layout_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error) { GError *tmp_error = NULL; FoArea *this_fo_area = NULL; FoArea *child_fo_parent_area; FoFoAreaNew2Context area_new2_context; FoPropertyResolveContext prop_context; g_return_if_fail (FO_IS_FO (this_fo)); g_return_if_fail (FO_IS_AREA (this_fo_parent_area)); g_return_if_fail (*new_area == NULL); g_return_if_fail (error == NULL || *error == NULL); prop_context.reference_area = fo_area_get_reference (this_fo_parent_area); prop_context.prop_eval_hash = prop_eval_hash; prop_context.continue_after_error = continue_after_error; prop_context.debug_level = debug_level; prop_context.warning_mode = warning_mode; prop_context.error = NULL; fo_node_traverse (FO_NODE (this_fo), G_PRE_ORDER, G_TRAVERSE_ALL, -1, fo_fo_resolve_property_attributes, &prop_context); area_new2_context.fo_doc = fo_doc; area_new2_context.parent_area = this_fo_parent_area; area_new2_context.new_area = &this_fo_area; area_new2_context.debug_level = debug_level; fo_fo_area_new2 (this_fo, &area_new2_context, &tmp_error); *new_area = this_fo_area; if (*new_area != NULL) { child_fo_parent_area = *new_area; } else { child_fo_parent_area = this_fo_parent_area; } } xmlroff-0.6.2/libfo/fo/fo-block-layout.h0000644000175000017500000000244310643167376015014 00000000000000/* Fo * fo-block-layout.h: Layout-level block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BLOCK_LAYOUT_H__ #define __FO_BLOCK_LAYOUT_H__ #include #include G_BEGIN_DECLS typedef struct _FoBlockLayout FoBlockLayout; typedef struct _FoBlockLayoutClass FoBlockLayoutClass; #define FO_TYPE_BLOCK_LAYOUT (fo_block_layout_get_type ()) #define FO_BLOCK_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_BLOCK_LAYOUT, FoBlockLayout)) #define FO_BLOCK_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_BLOCK_LAYOUT, FoBlockLayoutClass)) #define FO_IS_BLOCK_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_BLOCK_LAYOUT)) #define FO_IS_BLOCK_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_BLOCK_LAYOUT)) #define FO_BLOCK_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_BLOCK_LAYOUT, FoBlockLayoutClass)) GType fo_block_layout_get_type (void) G_GNUC_CONST; FoFo *fo_block_layout_new (void); void fo_block_layout_update_from_context (FoFo *fo, FoContext *context); G_END_DECLS #endif /* !__FO_BLOCK_LAYOUT_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-layout-private.h0000644000175000017500000000056510643167376016467 00000000000000/* Fo * fo-block-layout-private.h: Layout-level block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include struct _FoBlockLayout { FoBlock parent_instance; }; struct _FoBlockLayoutClass { FoBlockClass parent_class; }; xmlroff-0.6.2/libfo/fo/fo-block-whitespace.c0000644000175000017500000000515110643167376015625 00000000000000/* Fo * fo-block-whitespace.c: Whitespace-only block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-block-whitespace.h" #include "fo-block-whitespace-private.h" static void fo_block_whitespace_class_init (FoBlockWhitespaceClass *klass); static void fo_block_whitespace_finalize (GObject *object); static void fo_block_whitespace_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; GType fo_block_whitespace_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoBlockWhitespaceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_block_whitespace_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoBlockWhitespace), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_BLOCK, "FoBlockWhitespace", &object_info, 0); } return object_type; } static void fo_block_whitespace_class_init (FoBlockWhitespaceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_block_whitespace_finalize; FO_FO_CLASS (klass)->debug_dump_properties = fo_block_whitespace_debug_dump_properties; FO_FO_CLASS (klass)->update_from_context = fo_block_whitespace_update_from_context; } static void fo_block_whitespace_finalize (GObject *object) { FoBlockWhitespace *fo_block_whitespace; fo_block_whitespace = FO_BLOCK_WHITESPACE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_block_whitespace_new: * * Creates a new #FoBlockWhitespace initialized to default value. * * Return value: the new #FoBlockWhitespace **/ FoFo* fo_block_whitespace_new (void) { return FO_FO (g_object_new (fo_block_whitespace_get_type (), NULL)); } void fo_block_whitespace_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK (fo)); FO_FO_CLASS (parent_class)->update_from_context (fo, context); } void fo_block_whitespace_debug_dump_properties (FoFo *fo, gint depth) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK (fo)); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-block-whitespace.h0000644000175000017500000000261610643167376015635 00000000000000/* Fo * fo-block-whitespace.h: Whitespace-only block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BLOCK_WHITESPACE_H__ #define __FO_BLOCK_WHITESPACE_H__ #include #include G_BEGIN_DECLS typedef struct _FoBlockWhitespace FoBlockWhitespace; typedef struct _FoBlockWhitespaceClass FoBlockWhitespaceClass; #define FO_TYPE_BLOCK_WHITESPACE (fo_block_whitespace_get_type ()) #define FO_BLOCK_WHITESPACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_BLOCK_WHITESPACE, FoBlockWhitespace)) #define FO_BLOCK_WHITESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_BLOCK_WHITESPACE, FoBlockWhitespaceClass)) #define FO_IS_BLOCK_WHITESPACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_BLOCK_WHITESPACE)) #define FO_IS_BLOCK_WHITESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_BLOCK_WHITESPACE)) #define FO_BLOCK_WHITESPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_BLOCK_WHITESPACE, FoBlockWhitespaceClass)) GType fo_block_whitespace_get_type (void) G_GNUC_CONST; FoFo *fo_block_whitespace_new (void); void fo_block_whitespace_update_from_context (FoFo *fo, FoContext *context); G_END_DECLS #endif /* !__FO_BLOCK_WHITESPACE_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-whitespace-private.h0000644000175000017500000000060410643167375017277 00000000000000/* Fo * fo-block-whitespace-private.h: Whitespace-only block formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include struct _FoBlockWhitespace { FoBlock parent_instance; }; struct _FoBlockWhitespaceClass { FoBlockClass parent_class; }; xmlroff-0.6.2/libfo/fo/fo-block-container.c0000644000175000017500000046626710660107745015467 00000000000000/* Fo * fo-block-container.c: 'block-container' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-block-fo-private.h" #include "fo/fo-block-container-private.h" #include "fo/fo-block-container-area.h" #include "fo-context-util.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-break-after.h" #include "property/fo-property-break-before.h" #include "property/fo-property-clip.h" #include "property/fo-property-display-align.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-height.h" #include "property/fo-property-id.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-overflow.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-space-after.h" #include "property/fo-property-space-before.h" #include "property/fo-property-span.h" #include "property/fo-property-start-indent.h" #include "property/fo-property-width.h" #include "property/fo-property-writing-mode.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_BREAK_AFTER, PROP_BREAK_BEFORE, PROP_CLIP, PROP_DISPLAY_ALIGN, PROP_END_INDENT, PROP_HEIGHT, PROP_ID, PROP_INLINE_PROGRESSION_DIMENSION, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT, PROP_MARGIN_TOP, PROP_OVERFLOW, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_SPACE_AFTER, PROP_SPACE_BEFORE, PROP_SPAN, PROP_START_INDENT, PROP_WIDTH, PROP_WRITING_MODE }; static void fo_block_container_class_init (FoBlockContainerClass *klass); static void fo_block_container_block_fo_init (FoBlockFoIface *iface); static void fo_block_container_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_block_container_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_block_container_finalize (GObject *object); static gboolean fo_block_container_validate_content (FoFo *fo, GError **error); static void fo_block_container_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_block_container_update_from_context (FoFo *fo, FoContext *context); static void fo_block_container_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_block_container_get_type: * * Register the #FoBlockContainer object type. * * Return value: #GType value of the #FoBlockContainer object type. **/ GType fo_block_container_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoBlockContainerClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_block_container_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoBlockContainer), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_block_fo_info = { (GInterfaceInitFunc) fo_block_container_block_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoBlockContainer", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_BLOCK_FO, &fo_block_fo_info); } return object_type; } /** * fo_block_container_class_init: * @klass: #FoBlockContainerClass object to initialise. * * Implements #GClassInitFunc for #FoBlockContainerClass. **/ void fo_block_container_class_init (FoBlockContainerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_block_container_finalize; object_class->get_property = fo_block_container_get_property; object_class->set_property = fo_block_container_set_property; fofo_class->validate_content = fo_block_container_validate_content; fofo_class->validate2 = fo_block_container_validate; fofo_class->update_from_context = fo_block_container_update_from_context; fofo_class->debug_dump_properties = fo_block_container_debug_dump_properties; fofo_class->generate_reference_area = TRUE; fofo_class->area_new2 = fo_block_container_area_new2; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_AFTER, g_param_spec_object ("break-after", _("Break After"), _("Break After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_BEFORE, g_param_spec_object ("break-before", _("Break Before"), _("Break Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_END_INDENT, g_param_spec_object ("end-indent", _("End Indent"), _("End Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION, g_param_spec_object ("inline-progression-dimension", _("Inline Progression Dimension"), _("Inline Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_object ("margin-bottom", _("Margin Bottom"), _("Margin Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_object ("margin-left", _("Margin Left"), _("Margin Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_object ("margin-right", _("Margin Right"), _("Margin Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_object ("margin-top", _("Margin Top"), _("Margin Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER, g_param_spec_object ("space-after", _("Space After"), _("Space After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE, g_param_spec_object ("space-before", _("Space Before"), _("Space Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPAN, g_param_spec_object ("span", _("Span"), _("Span property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_START_INDENT, g_param_spec_object ("start-indent", _("Start Indent"), _("Start Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_block_container_block_fo_init: * @iface: #FoBlockFoIFace structure for this class. * * Initialize #FoBlockFoIface interface for this class. **/ void fo_block_container_block_fo_init (FoBlockFoIface *iface) { iface->get_background_color = fo_block_container_get_background_color; iface->get_border_after_color = fo_block_container_get_border_after_color; iface->get_border_after_style = fo_block_container_get_border_after_style; iface->get_border_after_width = fo_block_container_get_border_after_width; iface->get_border_before_color = fo_block_container_get_border_before_color; iface->get_border_before_style = fo_block_container_get_border_before_style; iface->get_border_before_width = fo_block_container_get_border_before_width; iface->get_border_end_color = fo_block_container_get_border_end_color; iface->get_border_end_style = fo_block_container_get_border_end_style; iface->get_border_end_width = fo_block_container_get_border_end_width; iface->get_border_start_color = fo_block_container_get_border_start_color; iface->get_border_start_style = fo_block_container_get_border_start_style; iface->get_border_start_width = fo_block_container_get_border_start_width; iface->get_keep_with_previous = fo_block_container_get_keep_with_previous; iface->get_keep_with_next = fo_block_container_get_keep_with_next; iface->get_keep_together = fo_block_container_get_keep_together; iface->get_padding_after = fo_block_container_get_padding_after; iface->get_padding_before = fo_block_container_get_padding_before; iface->get_padding_end = fo_block_container_get_padding_end; iface->get_padding_start = fo_block_container_get_padding_start; iface->get_space_before = fo_block_container_get_space_before; iface->get_space_after = fo_block_container_get_space_after; iface->get_start_indent = fo_block_container_get_start_indent; iface->get_end_indent = fo_block_container_get_end_indent; } /** * fo_block_container_finalize: * @object: #FoBlockContainer object to finalize. * * Implements #GObjectFinalizeFunc for #FoBlockContainer. **/ void fo_block_container_finalize (GObject *object) { FoBlockContainer *fo_block_container; fo_block_container = FO_BLOCK_CONTAINER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_block_container_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoBlockContainer. **/ void fo_block_container_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_block_container_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_block_container_get_background_image (fo_fo))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_block_container_get_block_progression_dimension (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_container_get_border_top_width (fo_fo))); break; case PROP_BREAK_AFTER: g_value_set_object (value, G_OBJECT (fo_block_container_get_break_after (fo_fo))); break; case PROP_BREAK_BEFORE: g_value_set_object (value, G_OBJECT (fo_block_container_get_break_before (fo_fo))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_block_container_get_clip (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_block_container_get_display_align (fo_fo))); break; case PROP_END_INDENT: g_value_set_object (value, G_OBJECT (fo_block_container_get_end_indent (fo_fo))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_block_container_get_height (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_block_container_get_id (fo_fo))); break; case PROP_INLINE_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_block_container_get_inline_progression_dimension (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_block_container_get_keep_with_previous_within_page (fo_fo))); break; case PROP_MARGIN_BOTTOM: g_value_set_object (value, G_OBJECT (fo_block_container_get_margin_bottom (fo_fo))); break; case PROP_MARGIN_LEFT: g_value_set_object (value, G_OBJECT (fo_block_container_get_margin_left (fo_fo))); break; case PROP_MARGIN_RIGHT: g_value_set_object (value, G_OBJECT (fo_block_container_get_margin_right (fo_fo))); break; case PROP_MARGIN_TOP: g_value_set_object (value, G_OBJECT (fo_block_container_get_margin_top (fo_fo))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_block_container_get_overflow (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_block_container_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_block_container_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_block_container_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_block_container_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_block_container_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_block_container_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_block_container_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_block_container_get_padding_top (fo_fo))); break; case PROP_SPACE_AFTER: g_value_set_object (value, G_OBJECT (fo_block_container_get_space_after (fo_fo))); break; case PROP_SPACE_BEFORE: g_value_set_object (value, G_OBJECT (fo_block_container_get_space_before (fo_fo))); break; case PROP_SPAN: g_value_set_object (value, G_OBJECT (fo_block_container_get_span (fo_fo))); break; case PROP_START_INDENT: g_value_set_object (value, G_OBJECT (fo_block_container_get_start_indent (fo_fo))); break; case PROP_WIDTH: g_value_set_object (value, G_OBJECT (fo_block_container_get_width (fo_fo))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_block_container_get_writing_mode (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_block_container_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoBlockContainer. **/ void fo_block_container_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_block_container_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_block_container_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_block_container_set_block_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_block_container_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_block_container_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_block_container_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_block_container_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_block_container_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_block_container_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_block_container_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_block_container_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_block_container_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_block_container_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_block_container_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_block_container_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_block_container_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_block_container_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_block_container_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_block_container_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_block_container_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_block_container_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_block_container_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_block_container_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_block_container_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_block_container_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_block_container_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_block_container_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_AFTER: fo_block_container_set_break_after (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_BEFORE: fo_block_container_set_break_before (fo_fo, g_value_get_object (value)); break; case PROP_CLIP: fo_block_container_set_clip (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_block_container_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_END_INDENT: fo_block_container_set_end_indent (fo_fo, g_value_get_object (value)); break; case PROP_HEIGHT: fo_block_container_set_height (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_block_container_set_id (fo_fo, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION: fo_block_container_set_inline_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_block_container_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_block_container_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_block_container_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_block_container_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_block_container_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_block_container_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_block_container_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_block_container_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_block_container_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_block_container_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_block_container_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_block_container_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_BOTTOM: fo_block_container_set_margin_bottom (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_LEFT: fo_block_container_set_margin_left (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_RIGHT: fo_block_container_set_margin_right (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_TOP: fo_block_container_set_margin_top (fo_fo, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_block_container_set_overflow (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_block_container_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_block_container_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_block_container_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_block_container_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_block_container_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_block_container_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_block_container_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_block_container_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_AFTER: fo_block_container_set_space_after (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_BEFORE: fo_block_container_set_space_before (fo_fo, g_value_get_object (value)); break; case PROP_SPAN: fo_block_container_set_span (fo_fo, g_value_get_object (value)); break; case PROP_START_INDENT: fo_block_container_set_start_indent (fo_fo, g_value_get_object (value)); break; case PROP_WIDTH: fo_block_container_set_width (fo_fo, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_block_container_set_writing_mode (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_block_container_new: * * Creates a new #FoBlockContainer initialized to default value. * * Return value: the new #FoBlockContainer. **/ FoFo* fo_block_container_new (void) { return FO_FO (g_object_new (fo_block_container_get_type (), NULL)); } /** * fo_block_container_validate_content: * @fo: #FoBlockContainer object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_block_container_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_block_container_validate: * @fo: #FoBlockContainer object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_block_container_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoBlockContainer *fo_block_container; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_block_container = FO_BLOCK_CONTAINER (fo); fo_context_util_height_width_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_block_container_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_block_container_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_block_container_set_background_color (fo, fo_context_get_background_color (context)); fo_block_container_set_background_image (fo, fo_context_get_background_image (context)); fo_block_container_set_block_progression_dimension (fo, fo_context_get_block_progression_dimension (context)); fo_block_container_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_block_container_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_block_container_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_block_container_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_block_container_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_block_container_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_block_container_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_block_container_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_block_container_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_block_container_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_block_container_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_block_container_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_block_container_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_block_container_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_block_container_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_block_container_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_block_container_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_block_container_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_block_container_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_block_container_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_block_container_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_block_container_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_block_container_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_block_container_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_block_container_set_break_after (fo, fo_context_get_break_after (context)); fo_block_container_set_break_before (fo, fo_context_get_break_before (context)); fo_block_container_set_clip (fo, fo_context_get_clip (context)); fo_block_container_set_display_align (fo, fo_context_get_display_align (context)); fo_block_container_set_end_indent (fo, fo_context_get_end_indent (context)); fo_block_container_set_height (fo, fo_context_get_height (context)); fo_block_container_set_id (fo, fo_context_get_id (context)); fo_block_container_set_inline_progression_dimension (fo, fo_context_get_inline_progression_dimension (context)); fo_block_container_set_keep_together (fo, fo_context_get_keep_together (context)); fo_block_container_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_block_container_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_block_container_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_block_container_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_block_container_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_block_container_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_block_container_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_block_container_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_block_container_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_block_container_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_block_container_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_block_container_set_margin_bottom (fo, fo_context_get_margin_bottom (context)); fo_block_container_set_margin_left (fo, fo_context_get_margin_left (context)); fo_block_container_set_margin_right (fo, fo_context_get_margin_right (context)); fo_block_container_set_margin_top (fo, fo_context_get_margin_top (context)); fo_block_container_set_overflow (fo, fo_context_get_overflow (context)); fo_block_container_set_padding_after (fo, fo_context_get_padding_after (context)); fo_block_container_set_padding_before (fo, fo_context_get_padding_before (context)); fo_block_container_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_block_container_set_padding_end (fo, fo_context_get_padding_end (context)); fo_block_container_set_padding_left (fo, fo_context_get_padding_left (context)); fo_block_container_set_padding_right (fo, fo_context_get_padding_right (context)); fo_block_container_set_padding_start (fo, fo_context_get_padding_start (context)); fo_block_container_set_padding_top (fo, fo_context_get_padding_top (context)); fo_block_container_set_space_after (fo, fo_context_get_space_after (context)); fo_block_container_set_space_before (fo, fo_context_get_space_before (context)); fo_block_container_set_span (fo, fo_context_get_span (context)); fo_block_container_set_start_indent (fo, fo_context_get_start_indent (context)); fo_block_container_set_width (fo, fo_context_get_width (context)); fo_block_container_set_writing_mode (fo, fo_context_get_writing_mode (context)); } /** * fo_block_container_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_block_container_debug_dump_properties (FoFo *fo, gint depth) { FoBlockContainer *fo_block_container; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo)); fo_block_container = FO_BLOCK_CONTAINER (fo); fo_object_debug_dump (fo_block_container->background_color, depth); fo_object_debug_dump (fo_block_container->background_image, depth); fo_object_debug_dump (fo_block_container->block_progression_dimension, depth); fo_object_debug_dump (fo_block_container->border_after_color, depth); fo_object_debug_dump (fo_block_container->border_after_style, depth); fo_object_debug_dump (fo_block_container->border_after_width, depth); fo_object_debug_dump (fo_block_container->border_before_color, depth); fo_object_debug_dump (fo_block_container->border_before_style, depth); fo_object_debug_dump (fo_block_container->border_before_width, depth); fo_object_debug_dump (fo_block_container->border_bottom_color, depth); fo_object_debug_dump (fo_block_container->border_bottom_style, depth); fo_object_debug_dump (fo_block_container->border_bottom_width, depth); fo_object_debug_dump (fo_block_container->border_end_color, depth); fo_object_debug_dump (fo_block_container->border_end_style, depth); fo_object_debug_dump (fo_block_container->border_end_width, depth); fo_object_debug_dump (fo_block_container->border_left_color, depth); fo_object_debug_dump (fo_block_container->border_left_style, depth); fo_object_debug_dump (fo_block_container->border_left_width, depth); fo_object_debug_dump (fo_block_container->border_right_color, depth); fo_object_debug_dump (fo_block_container->border_right_style, depth); fo_object_debug_dump (fo_block_container->border_right_width, depth); fo_object_debug_dump (fo_block_container->border_start_color, depth); fo_object_debug_dump (fo_block_container->border_start_style, depth); fo_object_debug_dump (fo_block_container->border_start_width, depth); fo_object_debug_dump (fo_block_container->border_top_color, depth); fo_object_debug_dump (fo_block_container->border_top_style, depth); fo_object_debug_dump (fo_block_container->border_top_width, depth); fo_object_debug_dump (fo_block_container->break_after, depth); fo_object_debug_dump (fo_block_container->break_before, depth); fo_object_debug_dump (fo_block_container->clip, depth); fo_object_debug_dump (fo_block_container->display_align, depth); fo_object_debug_dump (fo_block_container->end_indent, depth); fo_object_debug_dump (fo_block_container->height, depth); fo_object_debug_dump (fo_block_container->id, depth); fo_object_debug_dump (fo_block_container->inline_progression_dimension, depth); fo_object_debug_dump (fo_block_container->keep_together, depth); fo_object_debug_dump (fo_block_container->keep_together_within_column, depth); fo_object_debug_dump (fo_block_container->keep_together_within_line, depth); fo_object_debug_dump (fo_block_container->keep_together_within_page, depth); fo_object_debug_dump (fo_block_container->keep_with_next, depth); fo_object_debug_dump (fo_block_container->keep_with_next_within_column, depth); fo_object_debug_dump (fo_block_container->keep_with_next_within_line, depth); fo_object_debug_dump (fo_block_container->keep_with_next_within_page, depth); fo_object_debug_dump (fo_block_container->keep_with_previous, depth); fo_object_debug_dump (fo_block_container->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_block_container->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_block_container->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_block_container->margin_bottom, depth); fo_object_debug_dump (fo_block_container->margin_left, depth); fo_object_debug_dump (fo_block_container->margin_right, depth); fo_object_debug_dump (fo_block_container->margin_top, depth); fo_object_debug_dump (fo_block_container->overflow, depth); fo_object_debug_dump (fo_block_container->padding_after, depth); fo_object_debug_dump (fo_block_container->padding_before, depth); fo_object_debug_dump (fo_block_container->padding_bottom, depth); fo_object_debug_dump (fo_block_container->padding_end, depth); fo_object_debug_dump (fo_block_container->padding_left, depth); fo_object_debug_dump (fo_block_container->padding_right, depth); fo_object_debug_dump (fo_block_container->padding_start, depth); fo_object_debug_dump (fo_block_container->padding_top, depth); fo_object_debug_dump (fo_block_container->space_after, depth); fo_object_debug_dump (fo_block_container->space_before, depth); fo_object_debug_dump (fo_block_container->span, depth); fo_object_debug_dump (fo_block_container->start_indent, depth); fo_object_debug_dump (fo_block_container->width, depth); fo_object_debug_dump (fo_block_container->writing_mode, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_block_container_get_background_color: * @fo_fo: The @FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty * fo_block_container_get_background_color (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->background_color; } /** * fo_block_container_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_block_container_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_block_container->background_color != NULL) { g_object_unref (fo_block_container->background_color); } fo_block_container->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_block_container), "background-color");*/ } /** * fo_block_container_get_background_image: * @fo_fo: The @FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty * fo_block_container_get_background_image (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->background_image; } /** * fo_block_container_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_block_container_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_block_container->background_image != NULL) { g_object_unref (fo_block_container->background_image); } fo_block_container->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_block_container), "background-image");*/ } /** * fo_block_container_get_block_progression_dimension: * @fo_fo: The @FoFo object. * * Gets the "block-progression-dimension" property of @fo_fo. * * Return value: The "block-progression-dimension" property value. **/ FoProperty * fo_block_container_get_block_progression_dimension (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->block_progression_dimension; } /** * fo_block_container_set_block_progression_dimension: * @fo_fo: The #FoFo object. * @new_block_progression_dimension: The new "block-progression-dimension" property value. * * Sets the "block-progression-dimension" property of @fo_fo to @new_block_progression_dimension. **/ void fo_block_container_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_block_container->block_progression_dimension != NULL) { g_object_unref (fo_block_container->block_progression_dimension); } fo_block_container->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_block_container), "block-progression-dimension");*/ } /** * fo_block_container_get_border_after_color: * @fo_fo: The @FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty * fo_block_container_get_border_after_color (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_after_color; } /** * fo_block_container_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_block_container_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_block_container->border_after_color != NULL) { g_object_unref (fo_block_container->border_after_color); } fo_block_container->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_block_container), "border-after-color");*/ } /** * fo_block_container_get_border_after_style: * @fo_fo: The @FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty * fo_block_container_get_border_after_style (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_after_style; } /** * fo_block_container_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_block_container_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_block_container->border_after_style != NULL) { g_object_unref (fo_block_container->border_after_style); } fo_block_container->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_block_container), "border-after-style");*/ } /** * fo_block_container_get_border_after_width: * @fo_fo: The @FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty * fo_block_container_get_border_after_width (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_after_width; } /** * fo_block_container_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_block_container_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_block_container->border_after_width != NULL) { g_object_unref (fo_block_container->border_after_width); } fo_block_container->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_block_container), "border-after-width");*/ } /** * fo_block_container_get_border_before_color: * @fo_fo: The @FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty * fo_block_container_get_border_before_color (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_before_color; } /** * fo_block_container_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_block_container_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_block_container->border_before_color != NULL) { g_object_unref (fo_block_container->border_before_color); } fo_block_container->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_block_container), "border-before-color");*/ } /** * fo_block_container_get_border_before_style: * @fo_fo: The @FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty * fo_block_container_get_border_before_style (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_before_style; } /** * fo_block_container_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_block_container_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_block_container->border_before_style != NULL) { g_object_unref (fo_block_container->border_before_style); } fo_block_container->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_block_container), "border-before-style");*/ } /** * fo_block_container_get_border_before_width: * @fo_fo: The @FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty * fo_block_container_get_border_before_width (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_before_width; } /** * fo_block_container_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_block_container_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_block_container->border_before_width != NULL) { g_object_unref (fo_block_container->border_before_width); } fo_block_container->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_block_container), "border-before-width");*/ } /** * fo_block_container_get_border_bottom_color: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty * fo_block_container_get_border_bottom_color (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_bottom_color; } /** * fo_block_container_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_block_container_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_block_container->border_bottom_color != NULL) { g_object_unref (fo_block_container->border_bottom_color); } fo_block_container->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_block_container), "border-bottom-color");*/ } /** * fo_block_container_get_border_bottom_style: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty * fo_block_container_get_border_bottom_style (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_bottom_style; } /** * fo_block_container_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_block_container_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_block_container->border_bottom_style != NULL) { g_object_unref (fo_block_container->border_bottom_style); } fo_block_container->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_block_container), "border-bottom-style");*/ } /** * fo_block_container_get_border_bottom_width: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty * fo_block_container_get_border_bottom_width (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_bottom_width; } /** * fo_block_container_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_block_container_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_block_container->border_bottom_width != NULL) { g_object_unref (fo_block_container->border_bottom_width); } fo_block_container->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_block_container), "border-bottom-width");*/ } /** * fo_block_container_get_border_end_color: * @fo_fo: The @FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty * fo_block_container_get_border_end_color (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_end_color; } /** * fo_block_container_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_block_container_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_block_container->border_end_color != NULL) { g_object_unref (fo_block_container->border_end_color); } fo_block_container->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_block_container), "border-end-color");*/ } /** * fo_block_container_get_border_end_style: * @fo_fo: The @FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty * fo_block_container_get_border_end_style (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_end_style; } /** * fo_block_container_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_block_container_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_block_container->border_end_style != NULL) { g_object_unref (fo_block_container->border_end_style); } fo_block_container->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_block_container), "border-end-style");*/ } /** * fo_block_container_get_border_end_width: * @fo_fo: The @FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty * fo_block_container_get_border_end_width (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_end_width; } /** * fo_block_container_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_block_container_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_block_container->border_end_width != NULL) { g_object_unref (fo_block_container->border_end_width); } fo_block_container->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_block_container), "border-end-width");*/ } /** * fo_block_container_get_border_left_color: * @fo_fo: The @FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty * fo_block_container_get_border_left_color (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_left_color; } /** * fo_block_container_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_block_container_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_block_container->border_left_color != NULL) { g_object_unref (fo_block_container->border_left_color); } fo_block_container->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_block_container), "border-left-color");*/ } /** * fo_block_container_get_border_left_style: * @fo_fo: The @FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty * fo_block_container_get_border_left_style (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_left_style; } /** * fo_block_container_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_block_container_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_block_container->border_left_style != NULL) { g_object_unref (fo_block_container->border_left_style); } fo_block_container->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_block_container), "border-left-style");*/ } /** * fo_block_container_get_border_left_width: * @fo_fo: The @FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty * fo_block_container_get_border_left_width (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_left_width; } /** * fo_block_container_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_block_container_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_block_container->border_left_width != NULL) { g_object_unref (fo_block_container->border_left_width); } fo_block_container->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_block_container), "border-left-width");*/ } /** * fo_block_container_get_border_right_color: * @fo_fo: The @FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty * fo_block_container_get_border_right_color (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_right_color; } /** * fo_block_container_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_block_container_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_block_container->border_right_color != NULL) { g_object_unref (fo_block_container->border_right_color); } fo_block_container->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_block_container), "border-right-color");*/ } /** * fo_block_container_get_border_right_style: * @fo_fo: The @FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty * fo_block_container_get_border_right_style (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_right_style; } /** * fo_block_container_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_block_container_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_block_container->border_right_style != NULL) { g_object_unref (fo_block_container->border_right_style); } fo_block_container->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_block_container), "border-right-style");*/ } /** * fo_block_container_get_border_right_width: * @fo_fo: The @FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty * fo_block_container_get_border_right_width (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_right_width; } /** * fo_block_container_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_block_container_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_block_container->border_right_width != NULL) { g_object_unref (fo_block_container->border_right_width); } fo_block_container->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_block_container), "border-right-width");*/ } /** * fo_block_container_get_border_start_color: * @fo_fo: The @FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty * fo_block_container_get_border_start_color (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_start_color; } /** * fo_block_container_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_block_container_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_block_container->border_start_color != NULL) { g_object_unref (fo_block_container->border_start_color); } fo_block_container->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_block_container), "border-start-color");*/ } /** * fo_block_container_get_border_start_style: * @fo_fo: The @FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty * fo_block_container_get_border_start_style (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_start_style; } /** * fo_block_container_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_block_container_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_block_container->border_start_style != NULL) { g_object_unref (fo_block_container->border_start_style); } fo_block_container->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_block_container), "border-start-style");*/ } /** * fo_block_container_get_border_start_width: * @fo_fo: The @FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty * fo_block_container_get_border_start_width (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_start_width; } /** * fo_block_container_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_block_container_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_block_container->border_start_width != NULL) { g_object_unref (fo_block_container->border_start_width); } fo_block_container->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_block_container), "border-start-width");*/ } /** * fo_block_container_get_border_top_color: * @fo_fo: The @FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty * fo_block_container_get_border_top_color (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_top_color; } /** * fo_block_container_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_block_container_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_block_container->border_top_color != NULL) { g_object_unref (fo_block_container->border_top_color); } fo_block_container->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_block_container), "border-top-color");*/ } /** * fo_block_container_get_border_top_style: * @fo_fo: The @FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty * fo_block_container_get_border_top_style (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_top_style; } /** * fo_block_container_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_block_container_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_block_container->border_top_style != NULL) { g_object_unref (fo_block_container->border_top_style); } fo_block_container->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_block_container), "border-top-style");*/ } /** * fo_block_container_get_border_top_width: * @fo_fo: The @FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty * fo_block_container_get_border_top_width (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->border_top_width; } /** * fo_block_container_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_block_container_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_block_container->border_top_width != NULL) { g_object_unref (fo_block_container->border_top_width); } fo_block_container->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_block_container), "border-top-width");*/ } /** * fo_block_container_get_break_after: * @fo_fo: The @FoFo object. * * Gets the "break-after" property of @fo_fo. * * Return value: The "break-after" property value. **/ FoProperty * fo_block_container_get_break_after (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->break_after; } /** * fo_block_container_set_break_after: * @fo_fo: The #FoFo object. * @new_break_after: The new "break-after" property value. * * Sets the "break-after" property of @fo_fo to @new_break_after. **/ void fo_block_container_set_break_after (FoFo *fo_fo, FoProperty *new_break_after) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BREAK_AFTER (new_break_after)); if (new_break_after != NULL) { g_object_ref (new_break_after); } if (fo_block_container->break_after != NULL) { g_object_unref (fo_block_container->break_after); } fo_block_container->break_after = new_break_after; /*g_object_notify (G_OBJECT (fo_block_container), "break-after");*/ } /** * fo_block_container_get_break_before: * @fo_fo: The @FoFo object. * * Gets the "break-before" property of @fo_fo. * * Return value: The "break-before" property value. **/ FoProperty * fo_block_container_get_break_before (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->break_before; } /** * fo_block_container_set_break_before: * @fo_fo: The #FoFo object. * @new_break_before: The new "break-before" property value. * * Sets the "break-before" property of @fo_fo to @new_break_before. **/ void fo_block_container_set_break_before (FoFo *fo_fo, FoProperty *new_break_before) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_BREAK_BEFORE (new_break_before)); if (new_break_before != NULL) { g_object_ref (new_break_before); } if (fo_block_container->break_before != NULL) { g_object_unref (fo_block_container->break_before); } fo_block_container->break_before = new_break_before; /*g_object_notify (G_OBJECT (fo_block_container), "break-before");*/ } /** * fo_block_container_get_clip: * @fo_fo: The @FoFo object. * * Gets the "clip" property of @fo_fo. * * Return value: The "clip" property value. **/ FoProperty * fo_block_container_get_clip (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->clip; } /** * fo_block_container_set_clip: * @fo_fo: The #FoFo object. * @new_clip: The new "clip" property value. * * Sets the "clip" property of @fo_fo to @new_clip. **/ void fo_block_container_set_clip (FoFo *fo_fo, FoProperty *new_clip) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_block_container->clip != NULL) { g_object_unref (fo_block_container->clip); } fo_block_container->clip = new_clip; /*g_object_notify (G_OBJECT (fo_block_container), "clip");*/ } /** * fo_block_container_get_display_align: * @fo_fo: The @FoFo object. * * Gets the "display-align" property of @fo_fo. * * Return value: The "display-align" property value. **/ FoProperty * fo_block_container_get_display_align (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->display_align; } /** * fo_block_container_set_display_align: * @fo_fo: The #FoFo object. * @new_display_align: The new "display-align" property value. * * Sets the "display-align" property of @fo_fo to @new_display_align. **/ void fo_block_container_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_block_container->display_align != NULL) { g_object_unref (fo_block_container->display_align); } fo_block_container->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_block_container), "display-align");*/ } /** * fo_block_container_get_end_indent: * @fo_fo: The @FoFo object. * * Gets the "end-indent" property of @fo_fo. * * Return value: The "end-indent" property value. **/ FoProperty * fo_block_container_get_end_indent (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->end_indent; } /** * fo_block_container_set_end_indent: * @fo_fo: The #FoFo object. * @new_end_indent: The new "end-indent" property value. * * Sets the "end-indent" property of @fo_fo to @new_end_indent. **/ void fo_block_container_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_END_INDENT (new_end_indent)); if (new_end_indent != NULL) { g_object_ref (new_end_indent); } if (fo_block_container->end_indent != NULL) { g_object_unref (fo_block_container->end_indent); } fo_block_container->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_block_container), "end-indent");*/ } /** * fo_block_container_get_height: * @fo_fo: The @FoFo object. * * Gets the "height" property of @fo_fo. * * Return value: The "height" property value. **/ FoProperty * fo_block_container_get_height (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->height; } /** * fo_block_container_set_height: * @fo_fo: The #FoFo object. * @new_height: The new "height" property value. * * Sets the "height" property of @fo_fo to @new_height. **/ void fo_block_container_set_height (FoFo *fo_fo, FoProperty *new_height) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_block_container->height != NULL) { g_object_unref (fo_block_container->height); } fo_block_container->height = new_height; /*g_object_notify (G_OBJECT (fo_block_container), "height");*/ } /** * fo_block_container_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty * fo_block_container_get_id (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->id; } /** * fo_block_container_set_id: * @fo_fo: The #FoFo object. * @new_id: The new "id" property value. * * Sets the "id" property of @fo_fo to @new_id. **/ void fo_block_container_set_id (FoFo *fo_fo, FoProperty *new_id) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_block_container->id != NULL) { g_object_unref (fo_block_container->id); } fo_block_container->id = new_id; /*g_object_notify (G_OBJECT (fo_block_container), "id");*/ } /** * fo_block_container_get_inline_progression_dimension: * @fo_fo: The @FoFo object. * * Gets the "inline-progression-dimension" property of @fo_fo. * * Return value: The "inline-progression-dimension" property value. **/ FoProperty * fo_block_container_get_inline_progression_dimension (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->inline_progression_dimension; } /** * fo_block_container_set_inline_progression_dimension: * @fo_fo: The #FoFo object. * @new_inline_progression_dimension: The new "inline-progression-dimension" property value. * * Sets the "inline-progression-dimension" property of @fo_fo to @new_inline_progression_dimension. **/ void fo_block_container_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (new_inline_progression_dimension)); if (new_inline_progression_dimension != NULL) { g_object_ref (new_inline_progression_dimension); } if (fo_block_container->inline_progression_dimension != NULL) { g_object_unref (fo_block_container->inline_progression_dimension); } fo_block_container->inline_progression_dimension = new_inline_progression_dimension; /*g_object_notify (G_OBJECT (fo_block_container), "inline-progression-dimension");*/ } /** * fo_block_container_get_keep_together: * @fo_fo: The @FoFo object. * * Gets the "keep-together" property of @fo_fo. * * Return value: The "keep-together" property value. **/ FoProperty * fo_block_container_get_keep_together (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_together; } /** * fo_block_container_set_keep_together: * @fo_fo: The #FoFo object. * @new_keep_together: The new "keep-together" property value. * * Sets the "keep-together" property of @fo_fo to @new_keep_together. **/ void fo_block_container_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_block_container->keep_together != NULL) { g_object_unref (fo_block_container->keep_together); } fo_block_container->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_block_container), "keep-together");*/ } /** * fo_block_container_get_keep_together_within_column: * @fo_fo: The @FoFo object. * * Gets the "keep-together-within-column" property of @fo_fo. * * Return value: The "keep-together-within-column" property value. **/ FoProperty * fo_block_container_get_keep_together_within_column (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_together_within_column; } /** * fo_block_container_set_keep_together_within_column: * @fo_fo: The #FoFo object. * @new_keep_together_within_column: The new "keep-together-within-column" property value. * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column. **/ void fo_block_container_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_block_container->keep_together_within_column != NULL) { g_object_unref (fo_block_container->keep_together_within_column); } fo_block_container->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_block_container), "keep-together-within-column");*/ } /** * fo_block_container_get_keep_together_within_line: * @fo_fo: The @FoFo object. * * Gets the "keep-together-within-line" property of @fo_fo. * * Return value: The "keep-together-within-line" property value. **/ FoProperty * fo_block_container_get_keep_together_within_line (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_together_within_line; } /** * fo_block_container_set_keep_together_within_line: * @fo_fo: The #FoFo object. * @new_keep_together_within_line: The new "keep-together-within-line" property value. * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line. **/ void fo_block_container_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_block_container->keep_together_within_line != NULL) { g_object_unref (fo_block_container->keep_together_within_line); } fo_block_container->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_block_container), "keep-together-within-line");*/ } /** * fo_block_container_get_keep_together_within_page: * @fo_fo: The @FoFo object. * * Gets the "keep-together-within-page" property of @fo_fo. * * Return value: The "keep-together-within-page" property value. **/ FoProperty * fo_block_container_get_keep_together_within_page (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_together_within_page; } /** * fo_block_container_set_keep_together_within_page: * @fo_fo: The #FoFo object. * @new_keep_together_within_page: The new "keep-together-within-page" property value. * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page. **/ void fo_block_container_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_block_container->keep_together_within_page != NULL) { g_object_unref (fo_block_container->keep_together_within_page); } fo_block_container->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_block_container), "keep-together-within-page");*/ } /** * fo_block_container_get_keep_with_next: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next" property of @fo_fo. * * Return value: The "keep-with-next" property value. **/ FoProperty * fo_block_container_get_keep_with_next (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_with_next; } /** * fo_block_container_set_keep_with_next: * @fo_fo: The #FoFo object. * @new_keep_with_next: The new "keep-with-next" property value. * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next. **/ void fo_block_container_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_block_container->keep_with_next != NULL) { g_object_unref (fo_block_container->keep_with_next); } fo_block_container->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_block_container), "keep-with-next");*/ } /** * fo_block_container_get_keep_with_next_within_column: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-column" property of @fo_fo. * * Return value: The "keep-with-next-within-column" property value. **/ FoProperty * fo_block_container_get_keep_with_next_within_column (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_with_next_within_column; } /** * fo_block_container_set_keep_with_next_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value. * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column. **/ void fo_block_container_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_block_container->keep_with_next_within_column != NULL) { g_object_unref (fo_block_container->keep_with_next_within_column); } fo_block_container->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_block_container), "keep-with-next-within-column");*/ } /** * fo_block_container_get_keep_with_next_within_line: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-line" property of @fo_fo. * * Return value: The "keep-with-next-within-line" property value. **/ FoProperty * fo_block_container_get_keep_with_next_within_line (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_with_next_within_line; } /** * fo_block_container_set_keep_with_next_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value. * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line. **/ void fo_block_container_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_block_container->keep_with_next_within_line != NULL) { g_object_unref (fo_block_container->keep_with_next_within_line); } fo_block_container->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_block_container), "keep-with-next-within-line");*/ } /** * fo_block_container_get_keep_with_next_within_page: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-page" property of @fo_fo. * * Return value: The "keep-with-next-within-page" property value. **/ FoProperty * fo_block_container_get_keep_with_next_within_page (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_with_next_within_page; } /** * fo_block_container_set_keep_with_next_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value. * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page. **/ void fo_block_container_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_block_container->keep_with_next_within_page != NULL) { g_object_unref (fo_block_container->keep_with_next_within_page); } fo_block_container->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_block_container), "keep-with-next-within-page");*/ } /** * fo_block_container_get_keep_with_previous: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous" property of @fo_fo. * * Return value: The "keep-with-previous" property value. **/ FoProperty * fo_block_container_get_keep_with_previous (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_with_previous; } /** * fo_block_container_set_keep_with_previous: * @fo_fo: The #FoFo object. * @new_keep_with_previous: The new "keep-with-previous" property value. * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous. **/ void fo_block_container_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_block_container->keep_with_previous != NULL) { g_object_unref (fo_block_container->keep_with_previous); } fo_block_container->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_block_container), "keep-with-previous");*/ } /** * fo_block_container_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-column" property of @fo_fo. * * Return value: The "keep-with-previous-within-column" property value. **/ FoProperty * fo_block_container_get_keep_with_previous_within_column (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_with_previous_within_column; } /** * fo_block_container_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value. * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column. **/ void fo_block_container_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_block_container->keep_with_previous_within_column != NULL) { g_object_unref (fo_block_container->keep_with_previous_within_column); } fo_block_container->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_block_container), "keep-with-previous-within-column");*/ } /** * fo_block_container_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-line" property of @fo_fo. * * Return value: The "keep-with-previous-within-line" property value. **/ FoProperty * fo_block_container_get_keep_with_previous_within_line (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_with_previous_within_line; } /** * fo_block_container_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value. * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line. **/ void fo_block_container_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_block_container->keep_with_previous_within_line != NULL) { g_object_unref (fo_block_container->keep_with_previous_within_line); } fo_block_container->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_block_container), "keep-with-previous-within-line");*/ } /** * fo_block_container_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-page" property of @fo_fo. * * Return value: The "keep-with-previous-within-page" property value. **/ FoProperty * fo_block_container_get_keep_with_previous_within_page (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->keep_with_previous_within_page; } /** * fo_block_container_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value. * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page. **/ void fo_block_container_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_block_container->keep_with_previous_within_page != NULL) { g_object_unref (fo_block_container->keep_with_previous_within_page); } fo_block_container->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_block_container), "keep-with-previous-within-page");*/ } /** * fo_block_container_get_margin_bottom: * @fo_fo: The @FoFo object. * * Gets the "margin-bottom" property of @fo_fo. * * Return value: The "margin-bottom" property value. **/ FoProperty * fo_block_container_get_margin_bottom (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->margin_bottom; } /** * fo_block_container_set_margin_bottom: * @fo_fo: The #FoFo object. * @new_margin_bottom: The new "margin-bottom" property value. * * Sets the "margin-bottom" property of @fo_fo to @new_margin_bottom. **/ void fo_block_container_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_BOTTOM (new_margin_bottom)); if (new_margin_bottom != NULL) { g_object_ref (new_margin_bottom); } if (fo_block_container->margin_bottom != NULL) { g_object_unref (fo_block_container->margin_bottom); } fo_block_container->margin_bottom = new_margin_bottom; /*g_object_notify (G_OBJECT (fo_block_container), "margin-bottom");*/ } /** * fo_block_container_get_margin_left: * @fo_fo: The @FoFo object. * * Gets the "margin-left" property of @fo_fo. * * Return value: The "margin-left" property value. **/ FoProperty * fo_block_container_get_margin_left (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->margin_left; } /** * fo_block_container_set_margin_left: * @fo_fo: The #FoFo object. * @new_margin_left: The new "margin-left" property value. * * Sets the "margin-left" property of @fo_fo to @new_margin_left. **/ void fo_block_container_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_LEFT (new_margin_left)); if (new_margin_left != NULL) { g_object_ref (new_margin_left); } if (fo_block_container->margin_left != NULL) { g_object_unref (fo_block_container->margin_left); } fo_block_container->margin_left = new_margin_left; /*g_object_notify (G_OBJECT (fo_block_container), "margin-left");*/ } /** * fo_block_container_get_margin_right: * @fo_fo: The @FoFo object. * * Gets the "margin-right" property of @fo_fo. * * Return value: The "margin-right" property value. **/ FoProperty * fo_block_container_get_margin_right (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->margin_right; } /** * fo_block_container_set_margin_right: * @fo_fo: The #FoFo object. * @new_margin_right: The new "margin-right" property value. * * Sets the "margin-right" property of @fo_fo to @new_margin_right. **/ void fo_block_container_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_RIGHT (new_margin_right)); if (new_margin_right != NULL) { g_object_ref (new_margin_right); } if (fo_block_container->margin_right != NULL) { g_object_unref (fo_block_container->margin_right); } fo_block_container->margin_right = new_margin_right; /*g_object_notify (G_OBJECT (fo_block_container), "margin-right");*/ } /** * fo_block_container_get_margin_top: * @fo_fo: The @FoFo object. * * Gets the "margin-top" property of @fo_fo. * * Return value: The "margin-top" property value. **/ FoProperty * fo_block_container_get_margin_top (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->margin_top; } /** * fo_block_container_set_margin_top: * @fo_fo: The #FoFo object. * @new_margin_top: The new "margin-top" property value. * * Sets the "margin-top" property of @fo_fo to @new_margin_top. **/ void fo_block_container_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_TOP (new_margin_top)); if (new_margin_top != NULL) { g_object_ref (new_margin_top); } if (fo_block_container->margin_top != NULL) { g_object_unref (fo_block_container->margin_top); } fo_block_container->margin_top = new_margin_top; /*g_object_notify (G_OBJECT (fo_block_container), "margin-top");*/ } /** * fo_block_container_get_overflow: * @fo_fo: The @FoFo object. * * Gets the "overflow" property of @fo_fo. * * Return value: The "overflow" property value. **/ FoProperty * fo_block_container_get_overflow (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->overflow; } /** * fo_block_container_set_overflow: * @fo_fo: The #FoFo object. * @new_overflow: The new "overflow" property value. * * Sets the "overflow" property of @fo_fo to @new_overflow. **/ void fo_block_container_set_overflow (FoFo *fo_fo, FoProperty *new_overflow) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_block_container->overflow != NULL) { g_object_unref (fo_block_container->overflow); } fo_block_container->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_block_container), "overflow");*/ } /** * fo_block_container_get_padding_after: * @fo_fo: The @FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty * fo_block_container_get_padding_after (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->padding_after; } /** * fo_block_container_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_block_container_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_block_container->padding_after != NULL) { g_object_unref (fo_block_container->padding_after); } fo_block_container->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_block_container), "padding-after");*/ } /** * fo_block_container_get_padding_before: * @fo_fo: The @FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty * fo_block_container_get_padding_before (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->padding_before; } /** * fo_block_container_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_block_container_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_block_container->padding_before != NULL) { g_object_unref (fo_block_container->padding_before); } fo_block_container->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_block_container), "padding-before");*/ } /** * fo_block_container_get_padding_bottom: * @fo_fo: The @FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty * fo_block_container_get_padding_bottom (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->padding_bottom; } /** * fo_block_container_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_block_container_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_block_container->padding_bottom != NULL) { g_object_unref (fo_block_container->padding_bottom); } fo_block_container->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_block_container), "padding-bottom");*/ } /** * fo_block_container_get_padding_end: * @fo_fo: The @FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty * fo_block_container_get_padding_end (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->padding_end; } /** * fo_block_container_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_block_container_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_block_container->padding_end != NULL) { g_object_unref (fo_block_container->padding_end); } fo_block_container->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_block_container), "padding-end");*/ } /** * fo_block_container_get_padding_left: * @fo_fo: The @FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty * fo_block_container_get_padding_left (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->padding_left; } /** * fo_block_container_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_block_container_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_block_container->padding_left != NULL) { g_object_unref (fo_block_container->padding_left); } fo_block_container->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_block_container), "padding-left");*/ } /** * fo_block_container_get_padding_right: * @fo_fo: The @FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty * fo_block_container_get_padding_right (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->padding_right; } /** * fo_block_container_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_block_container_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_block_container->padding_right != NULL) { g_object_unref (fo_block_container->padding_right); } fo_block_container->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_block_container), "padding-right");*/ } /** * fo_block_container_get_padding_start: * @fo_fo: The @FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty * fo_block_container_get_padding_start (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->padding_start; } /** * fo_block_container_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_block_container_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_block_container->padding_start != NULL) { g_object_unref (fo_block_container->padding_start); } fo_block_container->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_block_container), "padding-start");*/ } /** * fo_block_container_get_padding_top: * @fo_fo: The @FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty * fo_block_container_get_padding_top (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->padding_top; } /** * fo_block_container_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_block_container_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_block_container->padding_top != NULL) { g_object_unref (fo_block_container->padding_top); } fo_block_container->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_block_container), "padding-top");*/ } /** * fo_block_container_get_space_after: * @fo_fo: The @FoFo object. * * Gets the "space-after" property of @fo_fo. * * Return value: The "space-after" property value. **/ FoProperty * fo_block_container_get_space_after (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->space_after; } /** * fo_block_container_set_space_after: * @fo_fo: The #FoFo object. * @new_space_after: The new "space-after" property value. * * Sets the "space-after" property of @fo_fo to @new_space_after. **/ void fo_block_container_set_space_after (FoFo *fo_fo, FoProperty *new_space_after) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_SPACE_AFTER (new_space_after)); if (new_space_after != NULL) { g_object_ref (new_space_after); } if (fo_block_container->space_after != NULL) { g_object_unref (fo_block_container->space_after); } fo_block_container->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_block_container), "space-after");*/ } /** * fo_block_container_get_space_before: * @fo_fo: The @FoFo object. * * Gets the "space-before" property of @fo_fo. * * Return value: The "space-before" property value. **/ FoProperty * fo_block_container_get_space_before (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->space_before; } /** * fo_block_container_set_space_before: * @fo_fo: The #FoFo object. * @new_space_before: The new "space-before" property value. * * Sets the "space-before" property of @fo_fo to @new_space_before. **/ void fo_block_container_set_space_before (FoFo *fo_fo, FoProperty *new_space_before) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_SPACE_BEFORE (new_space_before)); if (new_space_before != NULL) { g_object_ref (new_space_before); } if (fo_block_container->space_before != NULL) { g_object_unref (fo_block_container->space_before); } fo_block_container->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_block_container), "space-before");*/ } /** * fo_block_container_get_span: * @fo_fo: The @FoFo object. * * Gets the "span" property of @fo_fo. * * Return value: The "span" property value. **/ FoProperty * fo_block_container_get_span (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->span; } /** * fo_block_container_set_span: * @fo_fo: The #FoFo object. * @new_span: The new "span" property value. * * Sets the "span" property of @fo_fo to @new_span. **/ void fo_block_container_set_span (FoFo *fo_fo, FoProperty *new_span) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_SPAN (new_span)); if (new_span != NULL) { g_object_ref (new_span); } if (fo_block_container->span != NULL) { g_object_unref (fo_block_container->span); } fo_block_container->span = new_span; /*g_object_notify (G_OBJECT (fo_block_container), "span");*/ } /** * fo_block_container_get_start_indent: * @fo_fo: The @FoFo object. * * Gets the "start-indent" property of @fo_fo. * * Return value: The "start-indent" property value. **/ FoProperty * fo_block_container_get_start_indent (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->start_indent; } /** * fo_block_container_set_start_indent: * @fo_fo: The #FoFo object. * @new_start_indent: The new "start-indent" property value. * * Sets the "start-indent" property of @fo_fo to @new_start_indent. **/ void fo_block_container_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_START_INDENT (new_start_indent)); if (new_start_indent != NULL) { g_object_ref (new_start_indent); } if (fo_block_container->start_indent != NULL) { g_object_unref (fo_block_container->start_indent); } fo_block_container->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_block_container), "start-indent");*/ } /** * fo_block_container_get_width: * @fo_fo: The @FoFo object. * * Gets the "width" property of @fo_fo. * * Return value: The "width" property value. **/ FoProperty * fo_block_container_get_width (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->width; } /** * fo_block_container_set_width: * @fo_fo: The #FoFo object. * @new_width: The new "width" property value. * * Sets the "width" property of @fo_fo to @new_width. **/ void fo_block_container_set_width (FoFo *fo_fo, FoProperty *new_width) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_WIDTH (new_width)); if (new_width != NULL) { g_object_ref (new_width); } if (fo_block_container->width != NULL) { g_object_unref (fo_block_container->width); } fo_block_container->width = new_width; /*g_object_notify (G_OBJECT (fo_block_container), "width");*/ } /** * fo_block_container_get_writing_mode: * @fo_fo: The @FoFo object. * * Gets the "writing-mode" property of @fo_fo. * * Return value: The "writing-mode" property value. **/ FoProperty * fo_block_container_get_writing_mode (FoFo *fo_fo) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_val_if_fail (fo_block_container != NULL, NULL); g_return_val_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container), NULL); return fo_block_container->writing_mode; } /** * fo_block_container_set_writing_mode: * @fo_fo: The #FoFo object. * @new_writing_mode: The new "writing-mode" property value. * * Sets the "writing-mode" property of @fo_fo to @new_writing_mode. **/ void fo_block_container_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode) { FoBlockContainer *fo_block_container = (FoBlockContainer *) fo_fo; g_return_if_fail (fo_block_container != NULL); g_return_if_fail (FO_IS_BLOCK_CONTAINER (fo_block_container)); g_return_if_fail (FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_block_container->writing_mode != NULL) { g_object_unref (fo_block_container->writing_mode); } fo_block_container->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_block_container), "writing-mode");*/ } xmlroff-0.6.2/libfo/fo/fo-block-container.h0000644000175000017500000004145410643167376015466 00000000000000/* Fo * fo-block-container.h: 'block-container' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BLOCK_CONTAINER_H__ #define __FO_BLOCK_CONTAINER_H__ #include #include #include G_BEGIN_DECLS /** * FoBlockContainer: * * Instance of the 'block-container' formatting object. **/ typedef struct _FoBlockContainer FoBlockContainer; /** * FoBlockContainerClass: * * Class structure for the 'block-container' formatting object. **/ typedef struct _FoBlockContainerClass FoBlockContainerClass; #define FO_TYPE_BLOCK_CONTAINER (fo_block_container_get_type ()) #define FO_BLOCK_CONTAINER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_BLOCK_CONTAINER, FoBlockContainer)) #define FO_BLOCK_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_BLOCK_CONTAINER, FoBlockContainerClass)) #define FO_IS_BLOCK_CONTAINER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_BLOCK_CONTAINER)) #define FO_IS_BLOCK_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_BLOCK_CONTAINER)) #define FO_BLOCK_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_BLOCK_CONTAINER, FoBlockContainerClass)) GType fo_block_container_get_type (void) G_GNUC_CONST; FoFo * fo_block_container_new (void); FoProperty * fo_block_container_get_background_color (FoFo *fo_fo); void fo_block_container_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_block_container_get_background_image (FoFo *fo_fo); void fo_block_container_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_block_container_get_block_progression_dimension (FoFo *fo_fo); void fo_block_container_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty * fo_block_container_get_border_after_color (FoFo *fo_fo); void fo_block_container_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_block_container_get_border_after_style (FoFo *fo_fo); void fo_block_container_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_block_container_get_border_after_width (FoFo *fo_fo); void fo_block_container_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_block_container_get_border_before_color (FoFo *fo_fo); void fo_block_container_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_block_container_get_border_before_style (FoFo *fo_fo); void fo_block_container_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_block_container_get_border_before_width (FoFo *fo_fo); void fo_block_container_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_block_container_get_border_bottom_color (FoFo *fo_fo); void fo_block_container_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_block_container_get_border_bottom_style (FoFo *fo_fo); void fo_block_container_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_block_container_get_border_bottom_width (FoFo *fo_fo); void fo_block_container_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_block_container_get_border_end_color (FoFo *fo_fo); void fo_block_container_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_block_container_get_border_end_style (FoFo *fo_fo); void fo_block_container_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_block_container_get_border_end_width (FoFo *fo_fo); void fo_block_container_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_block_container_get_border_left_color (FoFo *fo_fo); void fo_block_container_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_block_container_get_border_left_style (FoFo *fo_fo); void fo_block_container_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_block_container_get_border_left_width (FoFo *fo_fo); void fo_block_container_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_block_container_get_border_right_color (FoFo *fo_fo); void fo_block_container_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_block_container_get_border_right_style (FoFo *fo_fo); void fo_block_container_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_block_container_get_border_right_width (FoFo *fo_fo); void fo_block_container_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_block_container_get_border_start_color (FoFo *fo_fo); void fo_block_container_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_block_container_get_border_start_style (FoFo *fo_fo); void fo_block_container_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_block_container_get_border_start_width (FoFo *fo_fo); void fo_block_container_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_block_container_get_border_top_color (FoFo *fo_fo); void fo_block_container_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_block_container_get_border_top_style (FoFo *fo_fo); void fo_block_container_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_block_container_get_border_top_width (FoFo *fo_fo); void fo_block_container_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_block_container_get_break_after (FoFo *fo_fo); void fo_block_container_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty * fo_block_container_get_break_before (FoFo *fo_fo); void fo_block_container_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty * fo_block_container_get_clip (FoFo *fo_fo); void fo_block_container_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty * fo_block_container_get_display_align (FoFo *fo_fo); void fo_block_container_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty * fo_block_container_get_end_indent (FoFo *fo_fo); void fo_block_container_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty * fo_block_container_get_height (FoFo *fo_fo); void fo_block_container_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty * fo_block_container_get_id (FoFo *fo_fo); void fo_block_container_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_block_container_get_inline_progression_dimension (FoFo *fo_fo); void fo_block_container_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty * fo_block_container_get_keep_together (FoFo *fo_fo); void fo_block_container_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_block_container_get_keep_together_within_column (FoFo *fo_fo); void fo_block_container_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_block_container_get_keep_together_within_line (FoFo *fo_fo); void fo_block_container_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_block_container_get_keep_together_within_page (FoFo *fo_fo); void fo_block_container_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_block_container_get_keep_with_next (FoFo *fo_fo); void fo_block_container_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_block_container_get_keep_with_next_within_column (FoFo *fo_fo); void fo_block_container_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_block_container_get_keep_with_next_within_line (FoFo *fo_fo); void fo_block_container_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_block_container_get_keep_with_next_within_page (FoFo *fo_fo); void fo_block_container_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_block_container_get_keep_with_previous (FoFo *fo_fo); void fo_block_container_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_block_container_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_block_container_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_block_container_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_block_container_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_block_container_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_block_container_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_block_container_get_margin_bottom (FoFo *fo_fo); void fo_block_container_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty * fo_block_container_get_margin_left (FoFo *fo_fo); void fo_block_container_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty * fo_block_container_get_margin_right (FoFo *fo_fo); void fo_block_container_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty * fo_block_container_get_margin_top (FoFo *fo_fo); void fo_block_container_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty * fo_block_container_get_overflow (FoFo *fo_fo); void fo_block_container_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty * fo_block_container_get_padding_after (FoFo *fo_fo); void fo_block_container_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_block_container_get_padding_before (FoFo *fo_fo); void fo_block_container_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_block_container_get_padding_bottom (FoFo *fo_fo); void fo_block_container_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_block_container_get_padding_end (FoFo *fo_fo); void fo_block_container_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_block_container_get_padding_left (FoFo *fo_fo); void fo_block_container_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_block_container_get_padding_right (FoFo *fo_fo); void fo_block_container_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_block_container_get_padding_start (FoFo *fo_fo); void fo_block_container_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_block_container_get_padding_top (FoFo *fo_fo); void fo_block_container_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_block_container_get_space_after (FoFo *fo_fo); void fo_block_container_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty * fo_block_container_get_space_before (FoFo *fo_fo); void fo_block_container_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty * fo_block_container_get_span (FoFo *fo_fo); void fo_block_container_set_span (FoFo *fo_fo, FoProperty *new_span); FoProperty * fo_block_container_get_start_indent (FoFo *fo_fo); void fo_block_container_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty * fo_block_container_get_width (FoFo *fo_fo); void fo_block_container_set_width (FoFo *fo_fo, FoProperty *new_width); FoProperty * fo_block_container_get_writing_mode (FoFo *fo_fo); void fo_block_container_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); G_END_DECLS #endif /* !__FO_BLOCK_CONTAINER_H__ */ xmlroff-0.6.2/libfo/fo/fo-block-container-private.h0000644000175000017500000000531010643167375017124 00000000000000/* Fo * fo-block-container-private.h: Structures private to 'block-container' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BLOCK_CONTAINER_PRIVATE_H__ #define __FO_BLOCK_CONTAINER_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoBlockContainer { FoMarkerParent parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *block_progression_dimension; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *break_after; FoProperty *break_before; FoProperty *clip; FoProperty *display_align; FoProperty *end_indent; FoProperty *height; FoProperty *id; FoProperty *inline_progression_dimension; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *margin_bottom; FoProperty *margin_left; FoProperty *margin_right; FoProperty *margin_top; FoProperty *overflow; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *space_after; FoProperty *space_before; FoProperty *span; FoProperty *start_indent; FoProperty *width; FoProperty *writing_mode; }; struct _FoBlockContainerClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_BLOCK_CONTAINER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-character.c0000644000175000017500000042370510703114255014327 00000000000000/* Fo * fo-character.c: 'character' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-inline-fo.h" #include "fo/fo-character-private.h" #include "fo-context-util.h" #include "property/fo-property-text-property.h" #include "property/fo-property-common-font.h" #include "property/fo-property-alignment-adjust.h" #include "property/fo-property-alignment-baseline.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-baseline-shift.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-character.h" #include "property/fo-property-color.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-score-spaces.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" enum { PROP_0, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_CHARACTER, PROP_COLOR, PROP_DOMINANT_BASELINE, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_ID, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_SCORE_SPACES, PROP_SPACE_END, PROP_SPACE_START }; static void fo_character_class_init (FoCharacterClass *klass); static void fo_character_inline_fo_init (FoInlineFoIface *iface); static void fo_character_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_character_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_character_finalize (GObject *object); static void fo_character_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_character_update_from_context (FoFo *fo, FoContext *context); static void fo_character_debug_dump_properties (FoFo *fo, gint depth); static void fo_character_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_character_get_type: * * Register the #FoCharacter object type. * * Return value: #GType value of the #FoCharacter object type. **/ GType fo_character_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoCharacterClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_character_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoCharacter), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_character_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoCharacter", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_character_class_init: * @klass: #FoCharacterClass object to initialise. * * Implements #GClassInitFunc for #FoCharacterClass. **/ void fo_character_class_init (FoCharacterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_character_finalize; object_class->get_property = fo_character_get_property; object_class->set_property = fo_character_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_character_validate; fofo_class->update_from_context = fo_character_update_from_context; fofo_class->debug_dump_properties = fo_character_debug_dump_properties; g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CHARACTER, g_param_spec_object ("character", _("Character"), _("Character property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCORE_SPACES, g_param_spec_object ("score-spaces", _("Score Spaces"), _("Score Spaces property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_character_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_character_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_character_get_text_attr_list; } /** * fo_character_finalize: * @object: #FoCharacter object to finalize. * * Implements #GObjectFinalizeFunc for #FoCharacter. **/ void fo_character_finalize (GObject *object) { FoFo *fo = FO_FO (object); /* Release references to all property objects. */ fo_character_set_alignment_adjust (fo, NULL); fo_character_set_alignment_baseline (fo, NULL); fo_character_set_background_color (fo, NULL); fo_character_set_background_image (fo, NULL); fo_character_set_baseline_shift (fo, NULL); fo_character_set_border_after_color (fo, NULL); fo_character_set_border_after_style (fo, NULL); fo_character_set_border_after_width (fo, NULL); fo_character_set_border_before_color (fo, NULL); fo_character_set_border_before_style (fo, NULL); fo_character_set_border_before_width (fo, NULL); fo_character_set_border_bottom_color (fo, NULL); fo_character_set_border_bottom_style (fo, NULL); fo_character_set_border_bottom_width (fo, NULL); fo_character_set_border_end_color (fo, NULL); fo_character_set_border_end_style (fo, NULL); fo_character_set_border_end_width (fo, NULL); fo_character_set_border_left_color (fo, NULL); fo_character_set_border_left_style (fo, NULL); fo_character_set_border_left_width (fo, NULL); fo_character_set_border_right_color (fo, NULL); fo_character_set_border_right_style (fo, NULL); fo_character_set_border_right_width (fo, NULL); fo_character_set_border_start_color (fo, NULL); fo_character_set_border_start_style (fo, NULL); fo_character_set_border_start_width (fo, NULL); fo_character_set_border_top_color (fo, NULL); fo_character_set_border_top_style (fo, NULL); fo_character_set_border_top_width (fo, NULL); fo_character_set_character (fo, NULL); fo_character_set_color (fo, NULL); fo_character_set_dominant_baseline (fo, NULL); fo_character_set_font_family (fo, NULL); fo_character_set_font_size (fo, NULL); fo_character_set_font_stretch (fo, NULL); fo_character_set_font_style (fo, NULL); fo_character_set_font_variant (fo, NULL); fo_character_set_font_weight (fo, NULL); fo_character_set_id (fo, NULL); fo_character_set_keep_with_next (fo, NULL); fo_character_set_keep_with_next_within_column (fo, NULL); fo_character_set_keep_with_next_within_line (fo, NULL); fo_character_set_keep_with_next_within_page (fo, NULL); fo_character_set_keep_with_previous (fo, NULL); fo_character_set_keep_with_previous_within_column (fo, NULL); fo_character_set_keep_with_previous_within_line (fo, NULL); fo_character_set_keep_with_previous_within_page (fo, NULL); fo_character_set_line_height (fo, NULL); fo_character_set_padding_after (fo, NULL); fo_character_set_padding_before (fo, NULL); fo_character_set_padding_bottom (fo, NULL); fo_character_set_padding_end (fo, NULL); fo_character_set_padding_left (fo, NULL); fo_character_set_padding_right (fo, NULL); fo_character_set_padding_start (fo, NULL); fo_character_set_padding_top (fo, NULL); fo_character_set_score_spaces (fo, NULL); fo_character_set_space_end (fo, NULL); fo_character_set_space_start (fo, NULL); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_character_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoCharacter. **/ void fo_character_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_character_get_alignment_adjust (fo_fo))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_character_get_alignment_baseline (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_character_get_background_image (fo_fo))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_character_get_baseline_shift (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_character_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_character_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_character_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_character_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_character_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_character_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_character_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_character_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_character_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_character_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_character_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_character_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_character_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_character_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_character_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_character_get_border_top_width (fo_fo))); break; case PROP_CHARACTER: g_value_set_object (value, G_OBJECT (fo_character_get_character (fo_fo))); break; case PROP_COLOR: g_value_set_object (value, G_OBJECT (fo_character_get_color (fo_fo))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_character_get_dominant_baseline (fo_fo))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_character_get_font_family (fo_fo))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_character_get_font_size (fo_fo))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_character_get_font_stretch (fo_fo))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_character_get_font_style (fo_fo))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_character_get_font_variant (fo_fo))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_character_get_font_weight (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_character_get_id (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_character_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_character_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_character_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_character_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_character_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_character_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_character_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_character_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_character_get_line_height (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_character_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_character_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_character_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_character_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_character_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_character_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_character_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_character_get_padding_top (fo_fo))); break; case PROP_SCORE_SPACES: g_value_set_object (value, G_OBJECT (fo_character_get_score_spaces (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_character_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_character_get_space_start (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_character_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoCharacter. **/ void fo_character_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: fo_character_set_alignment_adjust (fo_fo, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_character_set_alignment_baseline (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_character_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_character_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_character_set_baseline_shift (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_character_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_character_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_character_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_character_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_character_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_character_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_character_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_character_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_character_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_character_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_character_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_character_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_character_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_character_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_character_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_character_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_character_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_character_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_character_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_character_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_character_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_character_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_character_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_character_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_CHARACTER: fo_character_set_character (fo_fo, g_value_get_object (value)); break; case PROP_COLOR: fo_character_set_color (fo_fo, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_character_set_dominant_baseline (fo_fo, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_character_set_font_family (fo_fo, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_character_set_font_size (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_character_set_font_stretch (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_character_set_font_style (fo_fo, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_character_set_font_variant (fo_fo, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_character_set_font_weight (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_character_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_character_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_character_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_character_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_character_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_character_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_character_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_character_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_character_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_character_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_character_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_character_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_character_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_character_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_character_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_character_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_character_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_character_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_SCORE_SPACES: fo_character_set_score_spaces (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_character_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_character_set_space_start (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_character_new: * * Creates a new #FoCharacter initialized to default value. * * Return value: the new #FoCharacter. **/ FoFo* fo_character_new (void) { return FO_FO (g_object_new (fo_character_get_type (), NULL)); } /** * fo_character_validate: * @fo: #FoCharacter object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_character_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoCharacter *fo_character; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_CHARACTER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_character = FO_CHARACTER (fo); fo_context_util_dominant_baseline_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_character_set_line_height (fo, fo_property_line_height_resolve (fo_character->line_height, fo_character->font_size)); FoEnumEnum linefeed_treatment = fo_enum_get_value (fo_property_get_value (fo_context_get_linefeed_treatment (current_context))); const gchar *character = fo_char_get_value (fo_property_get_value (fo_character_get_character (fo))); if (fo_inline_fo_is_linefeed (character) && linefeed_treatment != FO_ENUM_ENUM_PRESERVE) { FoProperty *new_character_prop = NULL; switch (linefeed_treatment) { case FO_ENUM_ENUM_IGNORE: new_character_prop = NULL; break; case FO_ENUM_ENUM_TREAT_AS_SPACE: new_character_prop = g_object_new (FO_TYPE_PROPERTY_CHARACTER, "value", fo_char_get_char_space (), NULL); break; case FO_ENUM_ENUM_TREAT_AS_ZERO_WIDTH_SPACE: new_character_prop = g_object_new (FO_TYPE_PROPERTY_CHARACTER, "value", fo_char_get_char_zws (), NULL); break; default: g_assert_not_reached (); } fo_character_set_character (fo, new_character_prop); } } /** * fo_character_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_character_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_CHARACTER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_character_set_alignment_adjust (fo, fo_context_get_alignment_adjust (context)); fo_character_set_alignment_baseline (fo, fo_context_get_alignment_baseline (context)); fo_character_set_background_color (fo, fo_context_get_background_color (context)); fo_character_set_background_image (fo, fo_context_get_background_image (context)); fo_character_set_baseline_shift (fo, fo_context_get_baseline_shift (context)); fo_character_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_character_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_character_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_character_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_character_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_character_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_character_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_character_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_character_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_character_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_character_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_character_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_character_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_character_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_character_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_character_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_character_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_character_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_character_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_character_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_character_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_character_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_character_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_character_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_character_set_character (fo, fo_context_get_character (context)); fo_character_set_color (fo, fo_context_get_color (context)); fo_character_set_dominant_baseline (fo, fo_context_get_dominant_baseline (context)); fo_character_set_font_family (fo, fo_context_get_font_family (context)); fo_character_set_font_size (fo, fo_context_get_font_size (context)); fo_character_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_character_set_font_style (fo, fo_context_get_font_style (context)); fo_character_set_font_variant (fo, fo_context_get_font_variant (context)); fo_character_set_font_weight (fo, fo_context_get_font_weight (context)); fo_character_set_id (fo, fo_context_get_id (context)); fo_character_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_character_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_character_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_character_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_character_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_character_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_character_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_character_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_character_set_line_height (fo, fo_context_get_line_height (context)); fo_character_set_padding_after (fo, fo_context_get_padding_after (context)); fo_character_set_padding_before (fo, fo_context_get_padding_before (context)); fo_character_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_character_set_padding_end (fo, fo_context_get_padding_end (context)); fo_character_set_padding_left (fo, fo_context_get_padding_left (context)); fo_character_set_padding_right (fo, fo_context_get_padding_right (context)); fo_character_set_padding_start (fo, fo_context_get_padding_start (context)); fo_character_set_padding_top (fo, fo_context_get_padding_top (context)); fo_character_set_score_spaces (fo, fo_context_get_score_spaces (context)); fo_character_set_space_end (fo, fo_context_get_space_end (context)); fo_character_set_space_start (fo, fo_context_get_space_start (context)); } /** * fo_character_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_character_debug_dump_properties (FoFo *fo, gint depth) { FoCharacter *fo_character; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_CHARACTER (fo)); fo_character = FO_CHARACTER (fo); fo_object_debug_dump (fo_character->alignment_adjust, depth); fo_object_debug_dump (fo_character->alignment_baseline, depth); fo_object_debug_dump (fo_character->background_color, depth); fo_object_debug_dump (fo_character->background_image, depth); fo_object_debug_dump (fo_character->baseline_shift, depth); fo_object_debug_dump (fo_character->border_after_color, depth); fo_object_debug_dump (fo_character->border_after_style, depth); fo_object_debug_dump (fo_character->border_after_width, depth); fo_object_debug_dump (fo_character->border_before_color, depth); fo_object_debug_dump (fo_character->border_before_style, depth); fo_object_debug_dump (fo_character->border_before_width, depth); fo_object_debug_dump (fo_character->border_bottom_color, depth); fo_object_debug_dump (fo_character->border_bottom_style, depth); fo_object_debug_dump (fo_character->border_bottom_width, depth); fo_object_debug_dump (fo_character->border_end_color, depth); fo_object_debug_dump (fo_character->border_end_style, depth); fo_object_debug_dump (fo_character->border_end_width, depth); fo_object_debug_dump (fo_character->border_left_color, depth); fo_object_debug_dump (fo_character->border_left_style, depth); fo_object_debug_dump (fo_character->border_left_width, depth); fo_object_debug_dump (fo_character->border_right_color, depth); fo_object_debug_dump (fo_character->border_right_style, depth); fo_object_debug_dump (fo_character->border_right_width, depth); fo_object_debug_dump (fo_character->border_start_color, depth); fo_object_debug_dump (fo_character->border_start_style, depth); fo_object_debug_dump (fo_character->border_start_width, depth); fo_object_debug_dump (fo_character->border_top_color, depth); fo_object_debug_dump (fo_character->border_top_style, depth); fo_object_debug_dump (fo_character->border_top_width, depth); fo_object_debug_dump (fo_character->character, depth); fo_object_debug_dump (fo_character->color, depth); fo_object_debug_dump (fo_character->dominant_baseline, depth); fo_object_debug_dump (fo_character->font_family, depth); fo_object_debug_dump (fo_character->font_size, depth); fo_object_debug_dump (fo_character->font_stretch, depth); fo_object_debug_dump (fo_character->font_style, depth); fo_object_debug_dump (fo_character->font_variant, depth); fo_object_debug_dump (fo_character->font_weight, depth); fo_object_debug_dump (fo_character->id, depth); fo_object_debug_dump (fo_character->keep_with_next, depth); fo_object_debug_dump (fo_character->keep_with_next_within_column, depth); fo_object_debug_dump (fo_character->keep_with_next_within_line, depth); fo_object_debug_dump (fo_character->keep_with_next_within_page, depth); fo_object_debug_dump (fo_character->keep_with_previous, depth); fo_object_debug_dump (fo_character->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_character->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_character->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_character->line_height, depth); fo_object_debug_dump (fo_character->padding_after, depth); fo_object_debug_dump (fo_character->padding_before, depth); fo_object_debug_dump (fo_character->padding_bottom, depth); fo_object_debug_dump (fo_character->padding_end, depth); fo_object_debug_dump (fo_character->padding_left, depth); fo_object_debug_dump (fo_character->padding_right, depth); fo_object_debug_dump (fo_character->padding_start, depth); fo_object_debug_dump (fo_character->padding_top, depth); fo_object_debug_dump (fo_character->score_spaces, depth); fo_object_debug_dump (fo_character->space_end, depth); fo_object_debug_dump (fo_character->space_start, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_character_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_character_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc G_GNUC_UNUSED, GString *text, GList **attr_glist, guint debug_level G_GNUC_UNUSED) { g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_inline_fo)); FoCharacter *fo_character = FO_CHARACTER (fo_inline_fo); FoProperty *character_prop = fo_character_get_character (fo_inline_fo); /* The character may have been a linefeed that was discarded. */ if (character_prop == NULL) { return; } gint start_index = text->len; g_string_append (text, fo_char_get_value (fo_property_get_value (character_prop))); gint end_index = text->len; if (start_index != end_index) { PangoAttribute *pango_attr; GList *my_attr_glist = g_list_concat (NULL, fo_property_common_font_get_pango_attrs (fo_character->font_family, fo_character->font_size, fo_character->font_stretch, fo_character->font_style, fo_character->font_variant, fo_character->font_weight, start_index, end_index)); pango_attr = fo_property_text_property_new_attr (fo_character->baseline_shift); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); /* pango_attr = fo_property_text_property_new_attr (fo_character->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ pango_attr = fo_property_text_property_new_attr (fo_character->color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); if (FO_IS_COLOR (fo_property_get_value (fo_character->background_color))) { pango_attr = fo_property_text_property_new_attr (fo_character->background_color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); } /* pango_attr = fo_property_text_property_new_attr (fo_character->alignment_adjust); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_character->alignment_baseline); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr_from_context (fo_character->dominant_baseline, fo_fo_get_context (fo_inline_fo)); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_character->keep_with_next_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_character->keep_with_previous_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } } /** * fo_character_get_alignment_adjust: * @fo_fo: The @FoFo object. * * Gets the "alignment-adjust" property of @fo_fo. * * Return value: The "alignment-adjust" property value. **/ FoProperty * fo_character_get_alignment_adjust (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->alignment_adjust; } /** * fo_character_set_alignment_adjust: * @fo_fo: The #FoFo object. * @new_alignment_adjust: The new "alignment-adjust" property value. * * Sets the "alignment-adjust" property of @fo_fo to @new_alignment_adjust. **/ void fo_character_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_alignment_adjust == NULL) || FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_character->alignment_adjust != NULL) { g_object_unref (fo_character->alignment_adjust); } fo_character->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_character), "alignment-adjust");*/ } /** * fo_character_get_alignment_baseline: * @fo_fo: The @FoFo object. * * Gets the "alignment-baseline" property of @fo_fo. * * Return value: The "alignment-baseline" property value. **/ FoProperty * fo_character_get_alignment_baseline (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->alignment_baseline; } /** * fo_character_set_alignment_baseline: * @fo_fo: The #FoFo object. * @new_alignment_baseline: The new "alignment-baseline" property value. * * Sets the "alignment-baseline" property of @fo_fo to @new_alignment_baseline. **/ void fo_character_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_alignment_baseline == NULL) || FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_character->alignment_baseline != NULL) { g_object_unref (fo_character->alignment_baseline); } fo_character->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_character), "alignment-baseline");*/ } /** * fo_character_get_background_color: * @fo_fo: The @FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty * fo_character_get_background_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->background_color; } /** * fo_character_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_character_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_background_color == NULL) || FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_character->background_color != NULL) { g_object_unref (fo_character->background_color); } fo_character->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_character), "background-color");*/ } /** * fo_character_get_background_image: * @fo_fo: The @FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty * fo_character_get_background_image (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->background_image; } /** * fo_character_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_character_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_background_image == NULL) || FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_character->background_image != NULL) { g_object_unref (fo_character->background_image); } fo_character->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_character), "background-image");*/ } /** * fo_character_get_baseline_shift: * @fo_fo: The @FoFo object. * * Gets the "baseline-shift" property of @fo_fo. * * Return value: The "baseline-shift" property value. **/ FoProperty * fo_character_get_baseline_shift (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->baseline_shift; } /** * fo_character_set_baseline_shift: * @fo_fo: The #FoFo object. * @new_baseline_shift: The new "baseline-shift" property value. * * Sets the "baseline-shift" property of @fo_fo to @new_baseline_shift. **/ void fo_character_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_baseline_shift == NULL) || FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_character->baseline_shift != NULL) { g_object_unref (fo_character->baseline_shift); } fo_character->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_character), "baseline-shift");*/ } /** * fo_character_get_border_after_color: * @fo_fo: The @FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty * fo_character_get_border_after_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_after_color; } /** * fo_character_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_character_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_after_color == NULL) || FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_character->border_after_color != NULL) { g_object_unref (fo_character->border_after_color); } fo_character->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_character), "border-after-color");*/ } /** * fo_character_get_border_after_style: * @fo_fo: The @FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty * fo_character_get_border_after_style (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_after_style; } /** * fo_character_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_character_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_after_style == NULL) || FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_character->border_after_style != NULL) { g_object_unref (fo_character->border_after_style); } fo_character->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_character), "border-after-style");*/ } /** * fo_character_get_border_after_width: * @fo_fo: The @FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty * fo_character_get_border_after_width (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_after_width; } /** * fo_character_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_character_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_after_width == NULL) || FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_character->border_after_width != NULL) { g_object_unref (fo_character->border_after_width); } fo_character->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_character), "border-after-width");*/ } /** * fo_character_get_border_before_color: * @fo_fo: The @FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty * fo_character_get_border_before_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_before_color; } /** * fo_character_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_character_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_before_color == NULL) || FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_character->border_before_color != NULL) { g_object_unref (fo_character->border_before_color); } fo_character->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_character), "border-before-color");*/ } /** * fo_character_get_border_before_style: * @fo_fo: The @FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty * fo_character_get_border_before_style (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_before_style; } /** * fo_character_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_character_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_before_style == NULL) || FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_character->border_before_style != NULL) { g_object_unref (fo_character->border_before_style); } fo_character->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_character), "border-before-style");*/ } /** * fo_character_get_border_before_width: * @fo_fo: The @FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty * fo_character_get_border_before_width (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_before_width; } /** * fo_character_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_character_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_before_width == NULL) || FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_character->border_before_width != NULL) { g_object_unref (fo_character->border_before_width); } fo_character->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_character), "border-before-width");*/ } /** * fo_character_get_border_bottom_color: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty * fo_character_get_border_bottom_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_bottom_color; } /** * fo_character_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_character_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_bottom_color == NULL) || FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_character->border_bottom_color != NULL) { g_object_unref (fo_character->border_bottom_color); } fo_character->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_character), "border-bottom-color");*/ } /** * fo_character_get_border_bottom_style: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty * fo_character_get_border_bottom_style (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_bottom_style; } /** * fo_character_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_character_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_bottom_style == NULL) || FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_character->border_bottom_style != NULL) { g_object_unref (fo_character->border_bottom_style); } fo_character->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_character), "border-bottom-style");*/ } /** * fo_character_get_border_bottom_width: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty * fo_character_get_border_bottom_width (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_bottom_width; } /** * fo_character_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_character_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_bottom_width == NULL) || FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_character->border_bottom_width != NULL) { g_object_unref (fo_character->border_bottom_width); } fo_character->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_character), "border-bottom-width");*/ } /** * fo_character_get_border_end_color: * @fo_fo: The @FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty * fo_character_get_border_end_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_end_color; } /** * fo_character_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_character_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_end_color == NULL) || FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_character->border_end_color != NULL) { g_object_unref (fo_character->border_end_color); } fo_character->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_character), "border-end-color");*/ } /** * fo_character_get_border_end_style: * @fo_fo: The @FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty * fo_character_get_border_end_style (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_end_style; } /** * fo_character_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_character_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_end_style == NULL) || FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_character->border_end_style != NULL) { g_object_unref (fo_character->border_end_style); } fo_character->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_character), "border-end-style");*/ } /** * fo_character_get_border_end_width: * @fo_fo: The @FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty * fo_character_get_border_end_width (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_end_width; } /** * fo_character_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_character_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_end_width == NULL) || FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_character->border_end_width != NULL) { g_object_unref (fo_character->border_end_width); } fo_character->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_character), "border-end-width");*/ } /** * fo_character_get_border_left_color: * @fo_fo: The @FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty * fo_character_get_border_left_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_left_color; } /** * fo_character_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_character_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_left_color == NULL) || FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_character->border_left_color != NULL) { g_object_unref (fo_character->border_left_color); } fo_character->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_character), "border-left-color");*/ } /** * fo_character_get_border_left_style: * @fo_fo: The @FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty * fo_character_get_border_left_style (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_left_style; } /** * fo_character_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_character_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_left_style == NULL) || FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_character->border_left_style != NULL) { g_object_unref (fo_character->border_left_style); } fo_character->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_character), "border-left-style");*/ } /** * fo_character_get_border_left_width: * @fo_fo: The @FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty * fo_character_get_border_left_width (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_left_width; } /** * fo_character_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_character_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_left_width == NULL) || FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_character->border_left_width != NULL) { g_object_unref (fo_character->border_left_width); } fo_character->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_character), "border-left-width");*/ } /** * fo_character_get_border_right_color: * @fo_fo: The @FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty * fo_character_get_border_right_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_right_color; } /** * fo_character_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_character_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_right_color == NULL) || FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_character->border_right_color != NULL) { g_object_unref (fo_character->border_right_color); } fo_character->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_character), "border-right-color");*/ } /** * fo_character_get_border_right_style: * @fo_fo: The @FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty * fo_character_get_border_right_style (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_right_style; } /** * fo_character_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_character_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_right_style == NULL) || FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_character->border_right_style != NULL) { g_object_unref (fo_character->border_right_style); } fo_character->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_character), "border-right-style");*/ } /** * fo_character_get_border_right_width: * @fo_fo: The @FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty * fo_character_get_border_right_width (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_right_width; } /** * fo_character_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_character_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_right_width == NULL) || FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_character->border_right_width != NULL) { g_object_unref (fo_character->border_right_width); } fo_character->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_character), "border-right-width");*/ } /** * fo_character_get_border_start_color: * @fo_fo: The @FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty * fo_character_get_border_start_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_start_color; } /** * fo_character_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_character_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_start_color == NULL) || FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_character->border_start_color != NULL) { g_object_unref (fo_character->border_start_color); } fo_character->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_character), "border-start-color");*/ } /** * fo_character_get_border_start_style: * @fo_fo: The @FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty * fo_character_get_border_start_style (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_start_style; } /** * fo_character_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_character_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_start_style == NULL) || FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_character->border_start_style != NULL) { g_object_unref (fo_character->border_start_style); } fo_character->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_character), "border-start-style");*/ } /** * fo_character_get_border_start_width: * @fo_fo: The @FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty * fo_character_get_border_start_width (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_start_width; } /** * fo_character_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_character_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_start_width == NULL) || FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_character->border_start_width != NULL) { g_object_unref (fo_character->border_start_width); } fo_character->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_character), "border-start-width");*/ } /** * fo_character_get_border_top_color: * @fo_fo: The @FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty * fo_character_get_border_top_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_top_color; } /** * fo_character_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_character_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_top_color == NULL) || FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_character->border_top_color != NULL) { g_object_unref (fo_character->border_top_color); } fo_character->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_character), "border-top-color");*/ } /** * fo_character_get_border_top_style: * @fo_fo: The @FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty * fo_character_get_border_top_style (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_top_style; } /** * fo_character_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_character_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_top_style == NULL) || FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_character->border_top_style != NULL) { g_object_unref (fo_character->border_top_style); } fo_character->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_character), "border-top-style");*/ } /** * fo_character_get_border_top_width: * @fo_fo: The @FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty * fo_character_get_border_top_width (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->border_top_width; } /** * fo_character_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_character_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_border_top_width == NULL) || FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_character->border_top_width != NULL) { g_object_unref (fo_character->border_top_width); } fo_character->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_character), "border-top-width");*/ } /** * fo_character_get_character: * @fo_fo: The @FoFo object. * * Gets the "character" property of @fo_fo. * * Return value: The "character" property value. **/ FoProperty * fo_character_get_character (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->character; } /** * fo_character_set_character: * @fo_fo: The #FoFo object. * @new_character: The new "character" property value. * * Sets the "character" property of @fo_fo to @new_character. **/ void fo_character_set_character (FoFo *fo_fo, FoProperty *new_character) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_character == NULL) || FO_IS_PROPERTY_CHARACTER (new_character)); if (new_character != NULL) { g_object_ref (new_character); } if (fo_character->character != NULL) { g_object_unref (fo_character->character); } fo_character->character = new_character; /*g_object_notify (G_OBJECT (fo_character), "character");*/ } /** * fo_character_get_color: * @fo_fo: The @FoFo object. * * Gets the "color" property of @fo_fo. * * Return value: The "color" property value. **/ FoProperty * fo_character_get_color (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->color; } /** * fo_character_set_color: * @fo_fo: The #FoFo object. * @new_color: The new "color" property value. * * Sets the "color" property of @fo_fo to @new_color. **/ void fo_character_set_color (FoFo *fo_fo, FoProperty *new_color) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_color == NULL) || FO_IS_PROPERTY_COLOR (new_color)); if (new_color != NULL) { g_object_ref (new_color); } if (fo_character->color != NULL) { g_object_unref (fo_character->color); } fo_character->color = new_color; /*g_object_notify (G_OBJECT (fo_character), "color");*/ } /** * fo_character_get_dominant_baseline: * @fo_fo: The @FoFo object. * * Gets the "dominant-baseline" property of @fo_fo. * * Return value: The "dominant-baseline" property value. **/ FoProperty * fo_character_get_dominant_baseline (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->dominant_baseline; } /** * fo_character_set_dominant_baseline: * @fo_fo: The #FoFo object. * @new_dominant_baseline: The new "dominant-baseline" property value. * * Sets the "dominant-baseline" property of @fo_fo to @new_dominant_baseline. **/ void fo_character_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_dominant_baseline == NULL) || FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_character->dominant_baseline != NULL) { g_object_unref (fo_character->dominant_baseline); } fo_character->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_character), "dominant-baseline");*/ } /** * fo_character_get_font_family: * @fo_fo: The @FoFo object. * * Gets the "font-family" property of @fo_fo. * * Return value: The "font-family" property value. **/ FoProperty * fo_character_get_font_family (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->font_family; } /** * fo_character_set_font_family: * @fo_fo: The #FoFo object. * @new_font_family: The new "font-family" property value. * * Sets the "font-family" property of @fo_fo to @new_font_family. **/ void fo_character_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_font_family == NULL) || FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family != NULL) { g_object_ref (new_font_family); } if (fo_character->font_family != NULL) { g_object_unref (fo_character->font_family); } fo_character->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_character), "font-family");*/ } /** * fo_character_get_font_size: * @fo_fo: The @FoFo object. * * Gets the "font-size" property of @fo_fo. * * Return value: The "font-size" property value. **/ FoProperty * fo_character_get_font_size (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->font_size; } /** * fo_character_set_font_size: * @fo_fo: The #FoFo object. * @new_font_size: The new "font-size" property value. * * Sets the "font-size" property of @fo_fo to @new_font_size. **/ void fo_character_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_font_size == NULL) || FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size != NULL) { g_object_ref (new_font_size); } if (fo_character->font_size != NULL) { g_object_unref (fo_character->font_size); } fo_character->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_character), "font-size");*/ } /** * fo_character_get_font_stretch: * @fo_fo: The @FoFo object. * * Gets the "font-stretch" property of @fo_fo. * * Return value: The "font-stretch" property value. **/ FoProperty * fo_character_get_font_stretch (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->font_stretch; } /** * fo_character_set_font_stretch: * @fo_fo: The #FoFo object. * @new_font_stretch: The new "font-stretch" property value. * * Sets the "font-stretch" property of @fo_fo to @new_font_stretch. **/ void fo_character_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_font_stretch == NULL) || FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch != NULL) { g_object_ref (new_font_stretch); } if (fo_character->font_stretch != NULL) { g_object_unref (fo_character->font_stretch); } fo_character->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_character), "font-stretch");*/ } /** * fo_character_get_font_style: * @fo_fo: The @FoFo object. * * Gets the "font-style" property of @fo_fo. * * Return value: The "font-style" property value. **/ FoProperty * fo_character_get_font_style (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->font_style; } /** * fo_character_set_font_style: * @fo_fo: The #FoFo object. * @new_font_style: The new "font-style" property value. * * Sets the "font-style" property of @fo_fo to @new_font_style. **/ void fo_character_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_font_style == NULL) || FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style != NULL) { g_object_ref (new_font_style); } if (fo_character->font_style != NULL) { g_object_unref (fo_character->font_style); } fo_character->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_character), "font-style");*/ } /** * fo_character_get_font_variant: * @fo_fo: The @FoFo object. * * Gets the "font-variant" property of @fo_fo. * * Return value: The "font-variant" property value. **/ FoProperty * fo_character_get_font_variant (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->font_variant; } /** * fo_character_set_font_variant: * @fo_fo: The #FoFo object. * @new_font_variant: The new "font-variant" property value. * * Sets the "font-variant" property of @fo_fo to @new_font_variant. **/ void fo_character_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_font_variant == NULL) || FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant != NULL) { g_object_ref (new_font_variant); } if (fo_character->font_variant != NULL) { g_object_unref (fo_character->font_variant); } fo_character->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_character), "font-variant");*/ } /** * fo_character_get_font_weight: * @fo_fo: The @FoFo object. * * Gets the "font-weight" property of @fo_fo. * * Return value: The "font-weight" property value. **/ FoProperty * fo_character_get_font_weight (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->font_weight; } /** * fo_character_set_font_weight: * @fo_fo: The #FoFo object. * @new_font_weight: The new "font-weight" property value. * * Sets the "font-weight" property of @fo_fo to @new_font_weight. **/ void fo_character_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_font_weight == NULL) || FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight != NULL) { g_object_ref (new_font_weight); } if (fo_character->font_weight != NULL) { g_object_unref (fo_character->font_weight); } fo_character->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_character), "font-weight");*/ } /** * fo_character_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty * fo_character_get_id (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->id; } /** * fo_character_set_id: * @fo_fo: The #FoFo object. * @new_id: The new "id" property value. * * Sets the "id" property of @fo_fo to @new_id. **/ void fo_character_set_id (FoFo *fo_fo, FoProperty *new_id) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_id == NULL) || FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_character->id != NULL) { g_object_unref (fo_character->id); } fo_character->id = new_id; /*g_object_notify (G_OBJECT (fo_character), "id");*/ } /** * fo_character_get_keep_with_next: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next" property of @fo_fo. * * Return value: The "keep-with-next" property value. **/ FoProperty * fo_character_get_keep_with_next (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->keep_with_next; } /** * fo_character_set_keep_with_next: * @fo_fo: The #FoFo object. * @new_keep_with_next: The new "keep-with-next" property value. * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next. **/ void fo_character_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_keep_with_next == NULL) || FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_character->keep_with_next != NULL) { g_object_unref (fo_character->keep_with_next); } fo_character->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_character), "keep-with-next");*/ } /** * fo_character_get_keep_with_next_within_column: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-column" property of @fo_fo. * * Return value: The "keep-with-next-within-column" property value. **/ FoProperty * fo_character_get_keep_with_next_within_column (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->keep_with_next_within_column; } /** * fo_character_set_keep_with_next_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value. * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column. **/ void fo_character_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_keep_with_next_within_column == NULL) || FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_character->keep_with_next_within_column != NULL) { g_object_unref (fo_character->keep_with_next_within_column); } fo_character->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_character), "keep-with-next-within-column");*/ } /** * fo_character_get_keep_with_next_within_line: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-line" property of @fo_fo. * * Return value: The "keep-with-next-within-line" property value. **/ FoProperty * fo_character_get_keep_with_next_within_line (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->keep_with_next_within_line; } /** * fo_character_set_keep_with_next_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value. * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line. **/ void fo_character_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_keep_with_next_within_line == NULL) || FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_character->keep_with_next_within_line != NULL) { g_object_unref (fo_character->keep_with_next_within_line); } fo_character->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_character), "keep-with-next-within-line");*/ } /** * fo_character_get_keep_with_next_within_page: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-page" property of @fo_fo. * * Return value: The "keep-with-next-within-page" property value. **/ FoProperty * fo_character_get_keep_with_next_within_page (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->keep_with_next_within_page; } /** * fo_character_set_keep_with_next_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value. * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page. **/ void fo_character_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_keep_with_next_within_page == NULL) || FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_character->keep_with_next_within_page != NULL) { g_object_unref (fo_character->keep_with_next_within_page); } fo_character->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_character), "keep-with-next-within-page");*/ } /** * fo_character_get_keep_with_previous: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous" property of @fo_fo. * * Return value: The "keep-with-previous" property value. **/ FoProperty * fo_character_get_keep_with_previous (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->keep_with_previous; } /** * fo_character_set_keep_with_previous: * @fo_fo: The #FoFo object. * @new_keep_with_previous: The new "keep-with-previous" property value. * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous. **/ void fo_character_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_keep_with_previous == NULL) || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_character->keep_with_previous != NULL) { g_object_unref (fo_character->keep_with_previous); } fo_character->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_character), "keep-with-previous");*/ } /** * fo_character_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-column" property of @fo_fo. * * Return value: The "keep-with-previous-within-column" property value. **/ FoProperty * fo_character_get_keep_with_previous_within_column (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->keep_with_previous_within_column; } /** * fo_character_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value. * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column. **/ void fo_character_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_keep_with_previous_within_column == NULL) || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_character->keep_with_previous_within_column != NULL) { g_object_unref (fo_character->keep_with_previous_within_column); } fo_character->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_character), "keep-with-previous-within-column");*/ } /** * fo_character_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-line" property of @fo_fo. * * Return value: The "keep-with-previous-within-line" property value. **/ FoProperty * fo_character_get_keep_with_previous_within_line (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->keep_with_previous_within_line; } /** * fo_character_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value. * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line. **/ void fo_character_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_keep_with_previous_within_line == NULL) || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_character->keep_with_previous_within_line != NULL) { g_object_unref (fo_character->keep_with_previous_within_line); } fo_character->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_character), "keep-with-previous-within-line");*/ } /** * fo_character_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-page" property of @fo_fo. * * Return value: The "keep-with-previous-within-page" property value. **/ FoProperty * fo_character_get_keep_with_previous_within_page (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->keep_with_previous_within_page; } /** * fo_character_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value. * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page. **/ void fo_character_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_keep_with_previous_within_page == NULL) || FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_character->keep_with_previous_within_page != NULL) { g_object_unref (fo_character->keep_with_previous_within_page); } fo_character->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_character), "keep-with-previous-within-page");*/ } /** * fo_character_get_line_height: * @fo_fo: The @FoFo object. * * Gets the "line-height" property of @fo_fo. * * Return value: The "line-height" property value. **/ FoProperty * fo_character_get_line_height (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->line_height; } /** * fo_character_set_line_height: * @fo_fo: The #FoFo object. * @new_line_height: The new "line-height" property value. * * Sets the "line-height" property of @fo_fo to @new_line_height. **/ void fo_character_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_line_height == NULL) || FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_character->line_height != NULL) { g_object_unref (fo_character->line_height); } fo_character->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_character), "line-height");*/ } /** * fo_character_get_padding_after: * @fo_fo: The @FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty * fo_character_get_padding_after (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->padding_after; } /** * fo_character_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_character_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_padding_after == NULL) || FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_character->padding_after != NULL) { g_object_unref (fo_character->padding_after); } fo_character->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_character), "padding-after");*/ } /** * fo_character_get_padding_before: * @fo_fo: The @FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty * fo_character_get_padding_before (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->padding_before; } /** * fo_character_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_character_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_padding_before == NULL) || FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_character->padding_before != NULL) { g_object_unref (fo_character->padding_before); } fo_character->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_character), "padding-before");*/ } /** * fo_character_get_padding_bottom: * @fo_fo: The @FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty * fo_character_get_padding_bottom (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->padding_bottom; } /** * fo_character_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_character_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_padding_bottom == NULL) || FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_character->padding_bottom != NULL) { g_object_unref (fo_character->padding_bottom); } fo_character->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_character), "padding-bottom");*/ } /** * fo_character_get_padding_end: * @fo_fo: The @FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty * fo_character_get_padding_end (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->padding_end; } /** * fo_character_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_character_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_padding_end == NULL) || FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_character->padding_end != NULL) { g_object_unref (fo_character->padding_end); } fo_character->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_character), "padding-end");*/ } /** * fo_character_get_padding_left: * @fo_fo: The @FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty * fo_character_get_padding_left (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->padding_left; } /** * fo_character_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_character_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_padding_left == NULL) || FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_character->padding_left != NULL) { g_object_unref (fo_character->padding_left); } fo_character->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_character), "padding-left");*/ } /** * fo_character_get_padding_right: * @fo_fo: The @FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty * fo_character_get_padding_right (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->padding_right; } /** * fo_character_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_character_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_padding_right == NULL) || FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_character->padding_right != NULL) { g_object_unref (fo_character->padding_right); } fo_character->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_character), "padding-right");*/ } /** * fo_character_get_padding_start: * @fo_fo: The @FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty * fo_character_get_padding_start (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->padding_start; } /** * fo_character_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_character_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_padding_start == NULL) || FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_character->padding_start != NULL) { g_object_unref (fo_character->padding_start); } fo_character->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_character), "padding-start");*/ } /** * fo_character_get_padding_top: * @fo_fo: The @FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty * fo_character_get_padding_top (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->padding_top; } /** * fo_character_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_character_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_padding_top == NULL) || FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_character->padding_top != NULL) { g_object_unref (fo_character->padding_top); } fo_character->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_character), "padding-top");*/ } /** * fo_character_get_score_spaces: * @fo_fo: The @FoFo object. * * Gets the "score-spaces" property of @fo_fo. * * Return value: The "score-spaces" property value. **/ FoProperty * fo_character_get_score_spaces (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->score_spaces; } /** * fo_character_set_score_spaces: * @fo_fo: The #FoFo object. * @new_score_spaces: The new "score-spaces" property value. * * Sets the "score-spaces" property of @fo_fo to @new_score_spaces. **/ void fo_character_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_score_spaces == NULL) || FO_IS_PROPERTY_SCORE_SPACES (new_score_spaces)); if (new_score_spaces != NULL) { g_object_ref (new_score_spaces); } if (fo_character->score_spaces != NULL) { g_object_unref (fo_character->score_spaces); } fo_character->score_spaces = new_score_spaces; /*g_object_notify (G_OBJECT (fo_character), "score-spaces");*/ } /** * fo_character_get_space_end: * @fo_fo: The @FoFo object. * * Gets the "space-end" property of @fo_fo. * * Return value: The "space-end" property value. **/ FoProperty * fo_character_get_space_end (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->space_end; } /** * fo_character_set_space_end: * @fo_fo: The #FoFo object. * @new_space_end: The new "space-end" property value. * * Sets the "space-end" property of @fo_fo to @new_space_end. **/ void fo_character_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_space_end == NULL) || FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_character->space_end != NULL) { g_object_unref (fo_character->space_end); } fo_character->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_character), "space-end");*/ } /** * fo_character_get_space_start: * @fo_fo: The @FoFo object. * * Gets the "space-start" property of @fo_fo. * * Return value: The "space-start" property value. **/ FoProperty * fo_character_get_space_start (FoFo *fo_fo) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_val_if_fail (fo_character != NULL, NULL); g_return_val_if_fail (FO_IS_CHARACTER (fo_character), NULL); return fo_character->space_start; } /** * fo_character_set_space_start: * @fo_fo: The #FoFo object. * @new_space_start: The new "space-start" property value. * * Sets the "space-start" property of @fo_fo to @new_space_start. **/ void fo_character_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoCharacter *fo_character = (FoCharacter *) fo_fo; g_return_if_fail (fo_character != NULL); g_return_if_fail (FO_IS_CHARACTER (fo_character)); g_return_if_fail ((new_space_start == NULL) || FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_character->space_start != NULL) { g_object_unref (fo_character->space_start); } fo_character->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_character), "space-start");*/ } xmlroff-0.6.2/libfo/fo/fo-character.h0000644000175000017500000003301610643167376014343 00000000000000/* Fo * fo-character.h: 'character' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_CHARACTER_H__ #define __FO_CHARACTER_H__ #include #include G_BEGIN_DECLS typedef struct _FoCharacter FoCharacter; typedef struct _FoCharacterClass FoCharacterClass; #define FO_TYPE_CHARACTER (fo_character_get_type ()) #define FO_CHARACTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_CHARACTER, FoCharacter)) #define FO_CHARACTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_CHARACTER, FoCharacterClass)) #define FO_IS_CHARACTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_CHARACTER)) #define FO_IS_CHARACTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_CHARACTER)) #define FO_CHARACTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_CHARACTER, FoCharacterClass)) GType fo_character_get_type (void) G_GNUC_CONST; FoFo *fo_character_new (void); FoProperty* fo_character_get_alignment_adjust (FoFo *fo_fo); void fo_character_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_character_get_alignment_baseline (FoFo *fo_fo); void fo_character_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty * fo_character_get_background_color (FoFo *fo_fo); void fo_character_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_character_get_background_image (FoFo *fo_fo); void fo_character_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_character_get_baseline_shift (FoFo *fo_fo); void fo_character_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_character_get_border_after_color (FoFo *fo_fo); void fo_character_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_character_get_border_after_style (FoFo *fo_fo); void fo_character_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_character_get_border_after_width (FoFo *fo_fo); void fo_character_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_character_get_border_before_color (FoFo *fo_fo); void fo_character_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_character_get_border_before_style (FoFo *fo_fo); void fo_character_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_character_get_border_before_width (FoFo *fo_fo); void fo_character_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_character_get_border_bottom_color (FoFo *fo_fo); void fo_character_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_character_get_border_bottom_style (FoFo *fo_fo); void fo_character_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_character_get_border_bottom_width (FoFo *fo_fo); void fo_character_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_character_get_border_end_color (FoFo *fo_fo); void fo_character_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_character_get_border_end_style (FoFo *fo_fo); void fo_character_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_character_get_border_end_width (FoFo *fo_fo); void fo_character_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_character_get_border_left_color (FoFo *fo_fo); void fo_character_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_character_get_border_left_style (FoFo *fo_fo); void fo_character_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_character_get_border_left_width (FoFo *fo_fo); void fo_character_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_character_get_border_right_color (FoFo *fo_fo); void fo_character_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_character_get_border_right_style (FoFo *fo_fo); void fo_character_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_character_get_border_right_width (FoFo *fo_fo); void fo_character_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_character_get_border_start_color (FoFo *fo_fo); void fo_character_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_character_get_border_start_style (FoFo *fo_fo); void fo_character_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_character_get_border_start_width (FoFo *fo_fo); void fo_character_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_character_get_border_top_color (FoFo *fo_fo); void fo_character_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_character_get_border_top_style (FoFo *fo_fo); void fo_character_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_character_get_border_top_width (FoFo *fo_fo); void fo_character_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_character_get_character (FoFo *fo_fo); void fo_character_set_character (FoFo *fo_fo, FoProperty *new_character); FoProperty* fo_character_get_color (FoFo *fo_fo); void fo_character_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_character_get_dominant_baseline (FoFo *fo_fo); void fo_character_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_character_get_font_family (FoFo *fo_fo); void fo_character_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_character_get_font_size (FoFo *fo_fo); void fo_character_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_character_get_font_stretch (FoFo *fo_fo); void fo_character_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_character_get_font_style (FoFo *fo_fo); void fo_character_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_character_get_font_variant (FoFo *fo_fo); void fo_character_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_character_get_font_weight (FoFo *fo_fo); void fo_character_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_character_get_id (FoFo *fo_fo); void fo_character_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_character_get_keep_with_next (FoFo *fo_fo); void fo_character_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_character_get_keep_with_next_within_column (FoFo *fo_fo); void fo_character_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_character_get_keep_with_next_within_line (FoFo *fo_fo); void fo_character_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_character_get_keep_with_next_within_page (FoFo *fo_fo); void fo_character_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_character_get_keep_with_previous (FoFo *fo_fo); void fo_character_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_character_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_character_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_character_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_character_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_character_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_character_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_character_get_line_height (FoFo *fo_fo); void fo_character_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_character_get_padding_after (FoFo *fo_fo); void fo_character_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_character_get_padding_before (FoFo *fo_fo); void fo_character_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_character_get_padding_bottom (FoFo *fo_fo); void fo_character_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_character_get_padding_end (FoFo *fo_fo); void fo_character_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_character_get_padding_left (FoFo *fo_fo); void fo_character_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_character_get_padding_right (FoFo *fo_fo); void fo_character_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_character_get_padding_start (FoFo *fo_fo); void fo_character_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_character_get_padding_top (FoFo *fo_fo); void fo_character_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_character_get_score_spaces (FoFo *fo_fo); void fo_character_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_character_get_space_end (FoFo *fo_fo); void fo_character_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_character_get_space_start (FoFo *fo_fo); void fo_character_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); G_END_DECLS #endif /* !__FO_CHARACTER_H__ */ xmlroff-0.6.2/libfo/fo/fo-character-private.h0000644000175000017500000000461710643167376016020 00000000000000/* Fo * fo-character-private.h: Structures private to 'character' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_CHARACTER_PRIVATE_H__ #define __FO_CHARACTER_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoCharacter { FoFo parent_instance; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *character; FoProperty *color; FoProperty *dominant_baseline; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *id; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *score_spaces; FoProperty *space_end; FoProperty *space_start; }; struct _FoCharacterClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_CHARACTER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-color-profile.c0000644000175000017500000002425710660107744015155 00000000000000/* Fo * fo-color-profile.c: 'color-profile' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-color-profile-private.h" #include "property/fo-property-src.h" enum { PROP_0, PROP_SRC }; static void fo_color_profile_class_init (FoColorProfileClass *klass); static void fo_color_profile_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_color_profile_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_color_profile_finalize (GObject *object); static gboolean fo_color_profile_validate_content (FoFo *fo, GError **error); static void fo_color_profile_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_color_profile_update_from_context (FoFo *fo, FoContext *context); static void fo_color_profile_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_color_profile_get_type: * * Register the #FoColorProfile object type. * * Return value: #GType value of the #FoColorProfile object type. **/ GType fo_color_profile_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoColorProfileClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_color_profile_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoColorProfile), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoColorProfile", &object_info, 0); } return object_type; } /** * fo_color_profile_class_init: * @klass: #FoColorProfileClass object to initialise. * * Implements #GClassInitFunc for #FoColorProfileClass. **/ void fo_color_profile_class_init (FoColorProfileClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_color_profile_finalize; object_class->get_property = fo_color_profile_get_property; object_class->set_property = fo_color_profile_set_property; fofo_class->validate_content = fo_color_profile_validate_content; fofo_class->validate2 = fo_color_profile_validate; fofo_class->update_from_context = fo_color_profile_update_from_context; fofo_class->debug_dump_properties = fo_color_profile_debug_dump_properties; g_object_class_install_property (object_class, PROP_SRC, g_param_spec_object ("src", _("Src"), _("Src property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_color_profile_finalize: * @object: #FoColorProfile object to finalize. * * Implements #GObjectFinalizeFunc for #FoColorProfile. **/ void fo_color_profile_finalize (GObject *object) { FoColorProfile *fo_color_profile; fo_color_profile = FO_COLOR_PROFILE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_color_profile_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoColorProfile. **/ void fo_color_profile_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_SRC: g_value_set_object (value, G_OBJECT (fo_color_profile_get_src (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_color_profile_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoColorProfile. **/ void fo_color_profile_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_SRC: fo_color_profile_set_src (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_color_profile_new: * * Creates a new #FoColorProfile initialized to default value. * * Return value: the new #FoColorProfile. **/ FoFo* fo_color_profile_new (void) { return FO_FO (g_object_new (fo_color_profile_get_type (), NULL)); } /** * fo_color_profile_validate_content: * @fo: #FoColorProfile object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_color_profile_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_COLOR_PROFILE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_color_profile_validate: * @fo: #FoColorProfile object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_color_profile_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoColorProfile *fo_color_profile; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_COLOR_PROFILE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_color_profile = FO_COLOR_PROFILE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_color_profile_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_color_profile_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_COLOR_PROFILE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_color_profile_set_src (fo, fo_context_get_src (context)); } /** * fo_color_profile_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_color_profile_debug_dump_properties (FoFo *fo, gint depth) { FoColorProfile *fo_color_profile; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_COLOR_PROFILE (fo)); fo_color_profile = FO_COLOR_PROFILE (fo); fo_object_debug_dump (fo_color_profile->src, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_color_profile_get_src: * @fo_fo: The @FoFo object. * * Gets the "src" property of @fo_fo. * * Return value: The "src" property value. **/ FoProperty* fo_color_profile_get_src (FoFo *fo_fo) { FoColorProfile *fo_color_profile = (FoColorProfile *) fo_fo; g_return_val_if_fail (fo_color_profile != NULL, NULL); g_return_val_if_fail (FO_IS_COLOR_PROFILE (fo_color_profile), NULL); return fo_color_profile->src; } /** * fo_color_profile_set_src: * @fo_fo: The #FoFo object * @new_src: The new "src" property value * * Sets the "src" property of @fo_fo to @new_src **/ void fo_color_profile_set_src (FoFo *fo_fo, FoProperty *new_src) { FoColorProfile *fo_color_profile = (FoColorProfile *) fo_fo; g_return_if_fail (fo_color_profile != NULL); g_return_if_fail (FO_IS_COLOR_PROFILE (fo_color_profile)); g_return_if_fail (FO_IS_PROPERTY_SRC (new_src)); if (new_src != NULL) { g_object_ref (new_src); } if (fo_color_profile->src != NULL) { g_object_unref (fo_color_profile->src); } fo_color_profile->src = new_src; /*g_object_notify (G_OBJECT (fo_color_profile), "src");*/ } xmlroff-0.6.2/libfo/fo/fo-color-profile.h0000644000175000017500000000271110643167375015160 00000000000000/* Fo * fo-color_profile.h: 'color-profile' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_COLOR_PROFILE_H__ #define __FO_COLOR_PROFILE_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoColorProfile FoColorProfile; typedef struct _FoColorProfileClass FoColorProfileClass; #define FO_TYPE_COLOR_PROFILE (fo_color_profile_get_type ()) #define FO_COLOR_PROFILE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_COLOR_PROFILE, FoColorProfile)) #define FO_COLOR_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_COLOR_PROFILE, FoColorProfileClass)) #define FO_IS_COLOR_PROFILE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_COLOR_PROFILE)) #define FO_IS_COLOR_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_COLOR_PROFILE)) #define FO_COLOR_PROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_COLOR_PROFILE, FoColorProfileClass)) GType fo_color_profile_get_type (void) G_GNUC_CONST; FoFo * fo_color_profile_new (void); FoProperty * fo_color_profile_get_src (FoFo *fo_fo); void fo_color_profile_set_src (FoFo *fo_fo, FoProperty *new_src); G_END_DECLS #endif /* !__FO_COLOR_PROFILE_H__ */ xmlroff-0.6.2/libfo/fo/fo-color-profile-private.h0000644000175000017500000000112610643167376016630 00000000000000/* Fo * fo-color-profile-private.h: Structures private to 'color-profile' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_COLOR_PROFILE_PRIVATE_H__ #define __FO_COLOR_PROFILE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoColorProfile { FoFo parent_instance; FoProperty *src; }; struct _FoColorProfileClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_COLOR_PROFILE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-conditional-page-master-reference.c0000644000175000017500000002717110660107745021042 00000000000000/* Fo * fo-conditional-page-master-reference.c: 'conditional-page-master-reference' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-conditional-page-master-reference-private.h" #include "property/fo-property-master-reference.h" enum { PROP_0, PROP_MASTER_REFERENCE }; static void fo_conditional_page_master_reference_class_init (FoConditionalPageMasterReferenceClass *klass); static void fo_conditional_page_master_reference_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_conditional_page_master_reference_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_conditional_page_master_reference_finalize (GObject *object); static void fo_conditional_page_master_reference_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_conditional_page_master_reference_update_from_context (FoFo *fo, FoContext *context); static void fo_conditional_page_master_reference_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_conditional_page_master_reference_get_type: * * Register the #FoConditionalPageMasterReference object type. * * Return value: #GType value of the #FoConditionalPageMasterReference object type. **/ GType fo_conditional_page_master_reference_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoConditionalPageMasterReferenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_conditional_page_master_reference_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoConditionalPageMasterReference), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoConditionalPageMasterReference", &object_info, 0); } return object_type; } /** * fo_conditional_page_master_reference_class_init: * @klass: #FoConditionalPageMasterReferenceClass object to initialise. * * Implements #GClassInitFunc for #FoConditionalPageMasterReferenceClass. **/ void fo_conditional_page_master_reference_class_init (FoConditionalPageMasterReferenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_conditional_page_master_reference_finalize; object_class->get_property = fo_conditional_page_master_reference_get_property; object_class->set_property = fo_conditional_page_master_reference_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_conditional_page_master_reference_validate; fofo_class->update_from_context = fo_conditional_page_master_reference_update_from_context; fofo_class->debug_dump_properties = fo_conditional_page_master_reference_debug_dump_properties; fofo_class->area_new2 = NULL; g_object_class_install_property (object_class, PROP_MASTER_REFERENCE, g_param_spec_object ("master-reference", _("Master Reference"), _("Master Reference property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_conditional_page_master_reference_finalize: * @object: #FoConditionalPageMasterReference object to finalize. * * Implements #GObjectFinalizeFunc for #FoConditionalPageMasterReference. **/ void fo_conditional_page_master_reference_finalize (GObject *object) { FoConditionalPageMasterReference *fo_conditional_page_master_reference; fo_conditional_page_master_reference = FO_CONDITIONAL_PAGE_MASTER_REFERENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_conditional_page_master_reference_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoConditionalPageMasterReference. **/ void fo_conditional_page_master_reference_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MASTER_REFERENCE: g_value_set_object (value, G_OBJECT (fo_conditional_page_master_reference_get_master_reference (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_conditional_page_master_reference_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoConditionalPageMasterReference. **/ void fo_conditional_page_master_reference_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MASTER_REFERENCE: fo_conditional_page_master_reference_set_master_reference (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_conditional_page_master_reference_new: * * Creates a new #FoConditionalPageMasterReference initialized to default value. * * Return value: the new #FoConditionalPageMasterReference. **/ FoFo* fo_conditional_page_master_reference_new (void) { return FO_FO (g_object_new (fo_conditional_page_master_reference_get_type (), NULL)); } /** * fo_conditional_page_master_reference_validate: * @fo: #FoConditionalPageMasterReference object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_conditional_page_master_reference_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoConditionalPageMasterReference *fo_conditional_page_master_reference; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_conditional_page_master_reference = FO_CONDITIONAL_PAGE_MASTER_REFERENCE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_conditional_page_master_reference_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_conditional_page_master_reference_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_conditional_page_master_reference_set_master_reference (fo, fo_context_get_master_reference (context)); } /** * fo_conditional_page_master_reference_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_conditional_page_master_reference_debug_dump_properties (FoFo *fo, gint depth) { FoConditionalPageMasterReference *fo_conditional_page_master_reference; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE (fo)); fo_conditional_page_master_reference = FO_CONDITIONAL_PAGE_MASTER_REFERENCE (fo); fo_object_debug_dump (fo_conditional_page_master_reference->master_reference, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_conditional_page_master_reference_get_master_reference: * @fo_fo: The @FoFo object. * * Gets the "master-reference" property of @fo_fo. * * Return value: The "master-reference" property value. **/ FoProperty* fo_conditional_page_master_reference_get_master_reference (FoFo *fo_fo) { FoConditionalPageMasterReference *fo_conditional_page_master_reference = (FoConditionalPageMasterReference *) fo_fo; g_return_val_if_fail (fo_conditional_page_master_reference != NULL, NULL); g_return_val_if_fail (FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE (fo_conditional_page_master_reference), NULL); return fo_conditional_page_master_reference->master_reference; } /** * fo_conditional_page_master_reference_set_master_reference: * @fo_fo: The #FoFo object * @new_master_reference: The new "master-reference" property value * * Sets the "master-reference" property of @fo_fo to @new_master_reference **/ void fo_conditional_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference) { FoConditionalPageMasterReference *fo_conditional_page_master_reference = (FoConditionalPageMasterReference *) fo_fo; g_return_if_fail (fo_conditional_page_master_reference != NULL); g_return_if_fail (FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE (fo_conditional_page_master_reference)); g_return_if_fail (FO_IS_PROPERTY_MASTER_REFERENCE (new_master_reference)); if (new_master_reference != NULL) { g_object_ref (new_master_reference); } if (fo_conditional_page_master_reference->master_reference != NULL) { g_object_unref (fo_conditional_page_master_reference->master_reference); } fo_conditional_page_master_reference->master_reference = new_master_reference; /*g_object_notify (G_OBJECT (fo_conditional_page_master_reference), "master-reference");*/ } xmlroff-0.6.2/libfo/fo/fo-conditional-page-master-reference.h0000644000175000017500000000406310643167376021051 00000000000000/* Fo * fo-conditional_page_master_reference.h: 'conditional-page-master-reference' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_CONDITIONAL_PAGE_MASTER_REFERENCE_H__ #define __FO_CONDITIONAL_PAGE_MASTER_REFERENCE_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoConditionalPageMasterReference FoConditionalPageMasterReference; typedef struct _FoConditionalPageMasterReferenceClass FoConditionalPageMasterReferenceClass; #define FO_TYPE_CONDITIONAL_PAGE_MASTER_REFERENCE (fo_conditional_page_master_reference_get_type ()) #define FO_CONDITIONAL_PAGE_MASTER_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_CONDITIONAL_PAGE_MASTER_REFERENCE, FoConditionalPageMasterReference)) #define FO_CONDITIONAL_PAGE_MASTER_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_CONDITIONAL_PAGE_MASTER_REFERENCE, FoConditionalPageMasterReferenceClass)) #define FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_CONDITIONAL_PAGE_MASTER_REFERENCE)) #define FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_CONDITIONAL_PAGE_MASTER_REFERENCE)) #define FO_CONDITIONAL_PAGE_MASTER_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_CONDITIONAL_PAGE_MASTER_REFERENCE, FoConditionalPageMasterReferenceClass)) GType fo_conditional_page_master_reference_get_type (void) G_GNUC_CONST; FoFo * fo_conditional_page_master_reference_new (void); FoProperty * fo_conditional_page_master_reference_get_master_reference (FoFo *fo_fo); void fo_conditional_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); G_END_DECLS #endif /* !__FO_CONDITIONAL_PAGE_MASTER_REFERENCE_H__ */ xmlroff-0.6.2/libfo/fo/fo-conditional-page-master-reference-private.h0000644000175000017500000000137710643167375022525 00000000000000/* Fo * fo-conditional-page-master-reference-private.h: Structures private to 'conditional-page-master-reference' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_CONDITIONAL_PAGE_MASTER_REFERENCE_PRIVATE_H__ #define __FO_CONDITIONAL_PAGE_MASTER_REFERENCE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoConditionalPageMasterReference { FoFo parent_instance; FoProperty *master_reference; }; struct _FoConditionalPageMasterReferenceClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_CONDITIONAL_PAGE_MASTER_REFERENCE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-declarations.c0000644000175000017500000001474110660107744015046 00000000000000/* Fo * fo-declarations.c: 'declarations' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-declarations-private.h" static void fo_declarations_class_init (FoDeclarationsClass *klass); static void fo_declarations_finalize (GObject *object); static gboolean fo_declarations_validate_content (FoFo *fo, GError **error); static void fo_declarations_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_declarations_update_from_context (FoFo *fo, FoContext *context); static void fo_declarations_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_declarations_get_type: * * Register the #FoDeclarations object type. * * Return value: #GType value of the #FoDeclarations object type. **/ GType fo_declarations_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoDeclarationsClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_declarations_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoDeclarations), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoDeclarations", &object_info, 0); } return object_type; } /** * fo_declarations_class_init: * @klass: #FoDeclarationsClass object to initialise. * * Implements #GClassInitFunc for #FoDeclarationsClass. **/ void fo_declarations_class_init (FoDeclarationsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_declarations_finalize; fofo_class->validate_content = fo_declarations_validate_content; fofo_class->validate2 = fo_declarations_validate; fofo_class->update_from_context = fo_declarations_update_from_context; fofo_class->debug_dump_properties = fo_declarations_debug_dump_properties; } /** * fo_declarations_finalize: * @object: #FoDeclarations object to finalize. * * Implements #GObjectFinalizeFunc for #FoDeclarations. **/ void fo_declarations_finalize (GObject *object) { FoDeclarations *fo_declarations; fo_declarations = FO_DECLARATIONS (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_declarations_new: * * Creates a new #FoDeclarations initialized to default value. * * Return value: the new #FoDeclarations. **/ FoFo* fo_declarations_new (void) { return FO_FO (g_object_new (fo_declarations_get_type (), NULL)); } /** * fo_declarations_validate_content: * @fo: #FoDeclarations object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_declarations_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_DECLARATIONS (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_declarations_validate: * @fo: #FoDeclarations object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_declarations_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoDeclarations *fo_declarations; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_DECLARATIONS (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_declarations = FO_DECLARATIONS (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_declarations_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_declarations_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_DECLARATIONS (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); } /** * fo_declarations_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_declarations_debug_dump_properties (FoFo *fo, gint depth) { FoDeclarations *fo_declarations; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_DECLARATIONS (fo)); fo_declarations = FO_DECLARATIONS (fo); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "(No properties)"); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-declarations.h0000644000175000017500000000233410643167376015056 00000000000000/* Fo * fo-declarations.h: 'declarations' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DECLARATIONS_H__ #define __FO_DECLARATIONS_H__ #include #include G_BEGIN_DECLS typedef struct _FoDeclarations FoDeclarations; typedef struct _FoDeclarationsClass FoDeclarationsClass; #define FO_TYPE_DECLARATIONS (fo_declarations_get_type ()) #define FO_DECLARATIONS(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_DECLARATIONS, FoDeclarations)) #define FO_DECLARATIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_DECLARATIONS, FoDeclarationsClass)) #define FO_IS_DECLARATIONS(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_DECLARATIONS)) #define FO_IS_DECLARATIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_DECLARATIONS)) #define FO_DECLARATIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_DECLARATIONS, FoDeclarationsClass)) GType fo_declarations_get_type (void) G_GNUC_CONST; FoFo * fo_declarations_new (void); G_END_DECLS #endif /* !__FO_DECLARATIONS_H__ */ xmlroff-0.6.2/libfo/fo/fo-declarations-private.h0000644000175000017500000000107410643167376016526 00000000000000/* Fo * fo-declarations-private.h: Structures private to 'declarations' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DECLARATIONS_PRIVATE_H__ #define __FO_DECLARATIONS_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoDeclarations { FoFo parent_instance; }; struct _FoDeclarationsClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_DECLARATIONS_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-external-graphic.c0000644000175000017500000047557211034232116015634 00000000000000/* Fo * fo-external-graphic.c: 'external-graphic' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-inline-fo.h" #include "fo/fo-external-graphic-private.h" #include "fo/fo-external-graphic-area.h" #include "fo-context-util.h" #include "property/fo-property-alignment-adjust.h" #include "property/fo-property-alignment-baseline.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-baseline-shift.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-clip.h" #include "property/fo-property-content-height.h" #include "property/fo-property-content-type.h" #include "property/fo-property-content-width.h" #include "property/fo-property-display-align.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-height.h" #include "property/fo-property-id.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-overflow.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-scaling.h" #include "property/fo-property-scaling-method.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" #include "property/fo-property-src.h" #include "property/fo-property-text-align.h" #include "property/fo-property-width.h" enum { PROP_0, PROP_BASE_URI, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_CLIP, PROP_CONTENT_HEIGHT, PROP_CONTENT_TYPE, PROP_CONTENT_WIDTH, PROP_DISPLAY_ALIGN, PROP_DOMINANT_BASELINE, PROP_HEIGHT, PROP_ID, PROP_INLINE_PROGRESSION_DIMENSION, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_OVERFLOW, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SCALING, PROP_SCALING_METHOD, PROP_SOURCE_DOCUMENT, PROP_SPACE_END, PROP_SPACE_START, PROP_SRC, PROP_TEXT_ALIGN, PROP_WIDTH }; static void fo_external_graphic_class_init (FoExternalGraphicClass *klass); static void fo_external_graphic_inline_fo_init (FoInlineFoIface *iface); static void fo_external_graphic_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_external_graphic_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_external_graphic_finalize (GObject *object); static void fo_external_graphic_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_external_graphic_update_from_context (FoFo *fo, FoContext *context); static void fo_external_graphic_debug_dump_properties (FoFo *fo, gint depth); static void fo_external_graphic_set_base_uri (FoFo *fo_fo, const gchar *new_base_uri); static gpointer parent_class; /** * fo_external_graphic_get_type: * * Register the #FoExternalGraphic object type. * * Return value: #GType value of the #FoExternalGraphic object type. **/ GType fo_external_graphic_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoExternalGraphicClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_external_graphic_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoExternalGraphic), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_external_graphic_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoExternalGraphic", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_external_graphic_class_init: * @klass: #FoExternalGraphicClass object to initialise. * * Implements #GClassInitFunc for #FoExternalGraphicClass. **/ void fo_external_graphic_class_init (FoExternalGraphicClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_external_graphic_finalize; object_class->get_property = fo_external_graphic_get_property; object_class->set_property = fo_external_graphic_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_external_graphic_validate; fofo_class->update_from_context = fo_external_graphic_update_from_context; fofo_class->debug_dump_properties = fo_external_graphic_debug_dump_properties; g_object_class_install_property (object_class, PROP_BASE_URI, g_param_spec_string ("base-uri", _("Base URI"), _("Base URI for resolving relative URI references"), NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTENT_HEIGHT, g_param_spec_object ("content-height", _("Content Height"), _("Content Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTENT_TYPE, g_param_spec_object ("content-type", _("Content Type"), _("Content Type property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTENT_WIDTH, g_param_spec_object ("content-width", _("Content Width"), _("Content Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION, g_param_spec_object ("inline-progression-dimension", _("Inline Progression Dimension"), _("Inline Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCALING, g_param_spec_object ("scaling", _("Scaling"), _("Scaling property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCALING_METHOD, g_param_spec_object ("scaling-method", _("Scaling Method"), _("Scaling Method property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SRC, g_param_spec_object ("src", _("Src"), _("Src property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_TEXT_ALIGN, g_param_spec_object ("text-align", _("Text Align"), _("Text Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_external_graphic_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_external_graphic_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_external_graphic_get_text_attr_list; } /** * fo_external_graphic_finalize: * @object: #FoExternalGraphic object to finalize. * * Implements #GObjectFinalizeFunc for #FoExternalGraphic. **/ void fo_external_graphic_finalize (GObject *object) { FoExternalGraphic *fo_external_graphic; fo_external_graphic = FO_EXTERNAL_GRAPHIC (object); if (fo_external_graphic->base_uri != NULL) { g_free (fo_external_graphic->base_uri); fo_external_graphic->base_uri = NULL; } if (fo_external_graphic->fo_doc != NULL) { g_object_unref (fo_external_graphic->fo_doc); fo_external_graphic->fo_doc = NULL; } if (fo_external_graphic->fo_image != NULL) { g_object_unref (fo_external_graphic->fo_image); fo_external_graphic->fo_image = NULL; } G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_external_graphic_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoExternalGraphic. **/ void fo_external_graphic_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BASE_URI: g_value_set_string (value, fo_external_graphic_get_base_uri (fo_fo)); break; case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_alignment_adjust (fo_fo))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_alignment_baseline (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_background_image (fo_fo))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_baseline_shift (fo_fo))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_block_progression_dimension (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_border_top_width (fo_fo))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_clip (fo_fo))); break; case PROP_CONTENT_HEIGHT: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_content_height (fo_fo))); break; case PROP_CONTENT_TYPE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_content_type (fo_fo))); break; case PROP_CONTENT_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_content_width (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_display_align (fo_fo))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_dominant_baseline (fo_fo))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_height (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_id (fo_fo))); break; case PROP_INLINE_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_inline_progression_dimension (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_line_height (fo_fo))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_overflow (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_role (fo_fo))); break; case PROP_SCALING: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_scaling (fo_fo))); break; case PROP_SCALING_METHOD: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_scaling_method (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_source_document (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_space_start (fo_fo))); break; case PROP_SRC: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_src (fo_fo))); break; case PROP_TEXT_ALIGN: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_text_align (fo_fo))); break; case PROP_WIDTH: g_value_set_object (value, G_OBJECT (fo_external_graphic_get_width (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_external_graphic_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoExternalGraphic. **/ void fo_external_graphic_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BASE_URI: fo_external_graphic_set_base_uri (fo_fo, g_value_get_string (value)); break; case PROP_ALIGNMENT_ADJUST: fo_external_graphic_set_alignment_adjust (fo_fo, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_external_graphic_set_alignment_baseline (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_external_graphic_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_external_graphic_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_external_graphic_set_baseline_shift (fo_fo, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_external_graphic_set_block_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_external_graphic_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_external_graphic_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_external_graphic_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_external_graphic_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_external_graphic_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_external_graphic_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_external_graphic_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_external_graphic_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_external_graphic_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_external_graphic_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_external_graphic_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_external_graphic_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_external_graphic_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_external_graphic_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_external_graphic_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_external_graphic_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_external_graphic_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_external_graphic_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_external_graphic_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_external_graphic_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_external_graphic_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_external_graphic_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_external_graphic_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_external_graphic_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_CLIP: fo_external_graphic_set_clip (fo_fo, g_value_get_object (value)); break; case PROP_CONTENT_HEIGHT: fo_external_graphic_set_content_height (fo_fo, g_value_get_object (value)); break; case PROP_CONTENT_TYPE: fo_external_graphic_set_content_type (fo_fo, g_value_get_object (value)); break; case PROP_CONTENT_WIDTH: fo_external_graphic_set_content_width (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_external_graphic_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_external_graphic_set_dominant_baseline (fo_fo, g_value_get_object (value)); break; case PROP_HEIGHT: fo_external_graphic_set_height (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_external_graphic_set_id (fo_fo, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION: fo_external_graphic_set_inline_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_external_graphic_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_external_graphic_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_external_graphic_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_external_graphic_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_external_graphic_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_external_graphic_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_external_graphic_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_external_graphic_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_external_graphic_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_external_graphic_set_overflow (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_external_graphic_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_external_graphic_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_external_graphic_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_external_graphic_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_external_graphic_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_external_graphic_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_external_graphic_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_external_graphic_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_external_graphic_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SCALING: fo_external_graphic_set_scaling (fo_fo, g_value_get_object (value)); break; case PROP_SCALING_METHOD: fo_external_graphic_set_scaling_method (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_external_graphic_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_external_graphic_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_external_graphic_set_space_start (fo_fo, g_value_get_object (value)); break; case PROP_SRC: fo_external_graphic_set_src (fo_fo, g_value_get_object (value)); break; case PROP_TEXT_ALIGN: fo_external_graphic_set_text_align (fo_fo, g_value_get_object (value)); break; case PROP_WIDTH: fo_external_graphic_set_width (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_external_graphic_new: * * Creates a new #FoExternalGraphic initialized to default value. * * Return value: the new #FoExternalGraphic. **/ FoFo* fo_external_graphic_new (void) { return FO_FO (g_object_new (fo_external_graphic_get_type (), NULL)); } /** * fo_external_graphic_new_with_base_uri: * @base_uri: Base URI to use * * Creates a new #FoExternalGraphic initialized with the specified * base URI. * * Return value: the new #FoExternalGraphic. **/ FoFo* fo_external_graphic_new_with_base_uri (const gchar *base_uri) { FoFo *fo_external_graphic = fo_external_graphic_new (); fo_external_graphic_set_base_uri (fo_external_graphic, base_uri); return fo_external_graphic; } /** * _resolve_one_dimension: * @specified: Specified width/height * @intrinsic: Intrinsic width/height of image * @viewport: Where the image will go * * Determines best width/height to use for an image. * * Return value: Width/height to use. **/ static gdouble _resolve_one_dimension (FoDatatype *specified, FoDatatype *intrinsic, FoDatatype *viewport) { gdouble dimension = 0.0; if (FO_IS_ENUM (specified)) { FoEnumEnum value = fo_enum_get_value (specified); if (value == FO_ENUM_ENUM_AUTO) { dimension = fo_length_get_value (intrinsic); } else if (value == FO_ENUM_ENUM_SCALE_TO_FIT) { if (FO_IS_ENUM (viewport)) { FoEnumEnum viewport_value = fo_enum_get_value (viewport); if (viewport_value == FO_ENUM_ENUM_AUTO) { dimension = fo_length_get_value (intrinsic); } else { g_assert_not_reached (); } } else if (FO_IS_LENGTH (viewport) || FO_IS_LENGTH_RANGE (viewport)) { dimension = fo_length_get_value (viewport); } else { g_assert_not_reached (); } } else { g_assert_not_reached (); } } else if (FO_IS_LENGTH (specified)) { dimension = fo_length_get_value (specified); } else if (FO_IS_PERCENTAGE (specified)) { dimension = fo_length_get_value (fo_datatype_mul (specified, intrinsic)); } else { g_assert_not_reached (); } return dimension; } /** * fo_external_graphic_layout_resolve: * @fo_external_graphic: #FoExternalGraphic for which to resolve layout * * Resolve the layout to use for the external-graphic. **/ static void fo_external_graphic_layout_resolve (FoExternalGraphic *fo_external_graphic) { fo_external_graphic->area_width = _resolve_one_dimension (fo_property_get_value (fo_external_graphic->content_width), fo_image_get_width (fo_external_graphic->fo_image), fo_property_get_value (fo_external_graphic->inline_progression_dimension)); fo_external_graphic->area_height = _resolve_one_dimension (fo_property_get_value (fo_external_graphic->content_height), fo_image_get_height (fo_external_graphic->fo_image), fo_property_get_value (fo_external_graphic->block_progression_dimension)); } /** * fo_external_graphic_validate: * @fo: #FoExternalGraphic object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_external_graphic_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); FoExternalGraphic *fo_external_graphic = FO_EXTERNAL_GRAPHIC (fo); fo_context_util_dominant_baseline_resolve (current_context, parent_context); fo_context_util_height_width_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_external_graphic_set_line_height (fo, fo_property_line_height_resolve (fo_external_graphic->line_height, fo_context_get_font_size (fo->context))); fo_external_graphic->fo_image = fo_image_new_from_uri (fo_uri_specification_get_value (fo_property_get_value (fo_external_graphic->src)), fo_external_graphic->base_uri); if (fo_external_graphic->fo_image == NULL) { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_NO_IMAGE, _(fo_fo_error_messages[FO_FO_ERROR_NO_IMAGE]), fo_uri_specification_get_value (fo_property_get_value (fo_external_graphic->src))); return; } fo_external_graphic_layout_resolve (fo_external_graphic); } /** * fo_external_graphic_get_base_uri: * @fo_fo: #FoExternalGraphic for which to get the base URI. * * Gets the base URI of @fo_fo that is used for determining the * absolute URI when the value of the 'src' property is a relative * URI. * * The returned value should not be modified or freed. * * Return value: The base URI of @fo_fo. **/ const gchar * fo_external_graphic_get_base_uri (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return (const gchar *) fo_external_graphic->base_uri; } void fo_external_graphic_set_base_uri (FoFo *fo_fo, const gchar *new_base_uri) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); if (fo_external_graphic->base_uri != NULL) { g_free (fo_external_graphic->base_uri); } fo_external_graphic->base_uri = g_strdup (new_base_uri); } /** * fo_external_graphic_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_external_graphic_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_external_graphic_set_alignment_adjust (fo, fo_context_get_alignment_adjust (context)); fo_external_graphic_set_alignment_baseline (fo, fo_context_get_alignment_baseline (context)); fo_external_graphic_set_background_color (fo, fo_context_get_background_color (context)); fo_external_graphic_set_background_image (fo, fo_context_get_background_image (context)); fo_external_graphic_set_baseline_shift (fo, fo_context_get_baseline_shift (context)); fo_external_graphic_set_block_progression_dimension (fo, fo_context_get_block_progression_dimension (context)); fo_external_graphic_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_external_graphic_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_external_graphic_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_external_graphic_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_external_graphic_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_external_graphic_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_external_graphic_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_external_graphic_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_external_graphic_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_external_graphic_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_external_graphic_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_external_graphic_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_external_graphic_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_external_graphic_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_external_graphic_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_external_graphic_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_external_graphic_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_external_graphic_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_external_graphic_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_external_graphic_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_external_graphic_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_external_graphic_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_external_graphic_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_external_graphic_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_external_graphic_set_clip (fo, fo_context_get_clip (context)); fo_external_graphic_set_content_height (fo, fo_context_get_content_height (context)); fo_external_graphic_set_content_type (fo, fo_context_get_content_type (context)); fo_external_graphic_set_content_width (fo, fo_context_get_content_width (context)); fo_external_graphic_set_display_align (fo, fo_context_get_display_align (context)); fo_external_graphic_set_dominant_baseline (fo, fo_context_get_dominant_baseline (context)); fo_external_graphic_set_height (fo, fo_context_get_height (context)); fo_external_graphic_set_id (fo, fo_context_get_id (context)); fo_external_graphic_set_inline_progression_dimension (fo, fo_context_get_inline_progression_dimension (context)); fo_external_graphic_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_external_graphic_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_external_graphic_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_external_graphic_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_external_graphic_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_external_graphic_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_external_graphic_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_external_graphic_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_external_graphic_set_line_height (fo, fo_context_get_line_height (context)); fo_external_graphic_set_overflow (fo, fo_context_get_overflow (context)); fo_external_graphic_set_padding_after (fo, fo_context_get_padding_after (context)); fo_external_graphic_set_padding_before (fo, fo_context_get_padding_before (context)); fo_external_graphic_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_external_graphic_set_padding_end (fo, fo_context_get_padding_end (context)); fo_external_graphic_set_padding_left (fo, fo_context_get_padding_left (context)); fo_external_graphic_set_padding_right (fo, fo_context_get_padding_right (context)); fo_external_graphic_set_padding_start (fo, fo_context_get_padding_start (context)); fo_external_graphic_set_padding_top (fo, fo_context_get_padding_top (context)); fo_external_graphic_set_role (fo, fo_context_get_role (context)); fo_external_graphic_set_scaling (fo, fo_context_get_scaling (context)); fo_external_graphic_set_scaling_method (fo, fo_context_get_scaling_method (context)); fo_external_graphic_set_source_document (fo, fo_context_get_source_document (context)); fo_external_graphic_set_space_end (fo, fo_context_get_space_end (context)); fo_external_graphic_set_space_start (fo, fo_context_get_space_start (context)); fo_external_graphic_set_src (fo, fo_context_get_src (context)); fo_external_graphic_set_text_align (fo, fo_context_get_text_align (context)); fo_external_graphic_set_width (fo, fo_context_get_width (context)); } /** * fo_external_graphic_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_external_graphic_debug_dump_properties (FoFo *fo, gint depth) { FoExternalGraphic *fo_external_graphic; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo)); fo_external_graphic = FO_EXTERNAL_GRAPHIC (fo); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sfo_image :", indent); fo_object_debug_dump (fo_external_graphic->fo_image, depth + 1); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sarea_width : %0g", indent, fo_external_graphic->area_width); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sarea_height : %0g", indent, fo_external_graphic->area_height); g_free (indent); fo_object_debug_dump (fo_external_graphic->alignment_adjust, depth); fo_object_debug_dump (fo_external_graphic->alignment_baseline, depth); fo_object_debug_dump (fo_external_graphic->background_color, depth); fo_object_debug_dump (fo_external_graphic->background_image, depth); fo_object_debug_dump (fo_external_graphic->baseline_shift, depth); fo_object_debug_dump (fo_external_graphic->block_progression_dimension, depth); fo_object_debug_dump (fo_external_graphic->border_after_color, depth); fo_object_debug_dump (fo_external_graphic->border_after_style, depth); fo_object_debug_dump (fo_external_graphic->border_after_width, depth); fo_object_debug_dump (fo_external_graphic->border_before_color, depth); fo_object_debug_dump (fo_external_graphic->border_before_style, depth); fo_object_debug_dump (fo_external_graphic->border_before_width, depth); fo_object_debug_dump (fo_external_graphic->border_bottom_color, depth); fo_object_debug_dump (fo_external_graphic->border_bottom_style, depth); fo_object_debug_dump (fo_external_graphic->border_bottom_width, depth); fo_object_debug_dump (fo_external_graphic->border_end_color, depth); fo_object_debug_dump (fo_external_graphic->border_end_style, depth); fo_object_debug_dump (fo_external_graphic->border_end_width, depth); fo_object_debug_dump (fo_external_graphic->border_left_color, depth); fo_object_debug_dump (fo_external_graphic->border_left_style, depth); fo_object_debug_dump (fo_external_graphic->border_left_width, depth); fo_object_debug_dump (fo_external_graphic->border_right_color, depth); fo_object_debug_dump (fo_external_graphic->border_right_style, depth); fo_object_debug_dump (fo_external_graphic->border_right_width, depth); fo_object_debug_dump (fo_external_graphic->border_start_color, depth); fo_object_debug_dump (fo_external_graphic->border_start_style, depth); fo_object_debug_dump (fo_external_graphic->border_start_width, depth); fo_object_debug_dump (fo_external_graphic->border_top_color, depth); fo_object_debug_dump (fo_external_graphic->border_top_style, depth); fo_object_debug_dump (fo_external_graphic->border_top_width, depth); fo_object_debug_dump (fo_external_graphic->clip, depth); fo_object_debug_dump (fo_external_graphic->content_height, depth); fo_object_debug_dump (fo_external_graphic->content_type, depth); fo_object_debug_dump (fo_external_graphic->content_width, depth); fo_object_debug_dump (fo_external_graphic->display_align, depth); fo_object_debug_dump (fo_external_graphic->dominant_baseline, depth); fo_object_debug_dump (fo_external_graphic->height, depth); fo_object_debug_dump (fo_external_graphic->id, depth); fo_object_debug_dump (fo_external_graphic->inline_progression_dimension, depth); fo_object_debug_dump (fo_external_graphic->keep_with_next, depth); fo_object_debug_dump (fo_external_graphic->keep_with_next_within_column, depth); fo_object_debug_dump (fo_external_graphic->keep_with_next_within_line, depth); fo_object_debug_dump (fo_external_graphic->keep_with_next_within_page, depth); fo_object_debug_dump (fo_external_graphic->keep_with_previous, depth); fo_object_debug_dump (fo_external_graphic->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_external_graphic->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_external_graphic->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_external_graphic->line_height, depth); fo_object_debug_dump (fo_external_graphic->overflow, depth); fo_object_debug_dump (fo_external_graphic->padding_after, depth); fo_object_debug_dump (fo_external_graphic->padding_before, depth); fo_object_debug_dump (fo_external_graphic->padding_bottom, depth); fo_object_debug_dump (fo_external_graphic->padding_end, depth); fo_object_debug_dump (fo_external_graphic->padding_left, depth); fo_object_debug_dump (fo_external_graphic->padding_right, depth); fo_object_debug_dump (fo_external_graphic->padding_start, depth); fo_object_debug_dump (fo_external_graphic->padding_top, depth); fo_object_debug_dump (fo_external_graphic->role, depth); fo_object_debug_dump (fo_external_graphic->scaling, depth); fo_object_debug_dump (fo_external_graphic->scaling_method, depth); fo_object_debug_dump (fo_external_graphic->source_document, depth); fo_object_debug_dump (fo_external_graphic->space_end, depth); fo_object_debug_dump (fo_external_graphic->space_start, depth); fo_object_debug_dump (fo_external_graphic->src, depth); fo_object_debug_dump (fo_external_graphic->text_align, depth); fo_object_debug_dump (fo_external_graphic->width, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_external_graphic_get_alignment_adjust: * @fo_fo: The @FoFo object. * * Gets the "alignment-adjust" property of @fo_fo. * * Return value: The "alignment-adjust" property value. **/ FoProperty * fo_external_graphic_get_alignment_adjust (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->alignment_adjust; } /** * fo_external_graphic_set_alignment_adjust: * @fo_fo: The #FoFo object. * @new_alignment_adjust: The new "alignment-adjust" property value. * * Sets the "alignment-adjust" property of @fo_fo to @new_alignment_adjust. **/ void fo_external_graphic_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_external_graphic->alignment_adjust != NULL) { g_object_unref (fo_external_graphic->alignment_adjust); } fo_external_graphic->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_external_graphic), "alignment-adjust");*/ } /** * fo_external_graphic_get_alignment_baseline: * @fo_fo: The @FoFo object. * * Gets the "alignment-baseline" property of @fo_fo. * * Return value: The "alignment-baseline" property value. **/ FoProperty * fo_external_graphic_get_alignment_baseline (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->alignment_baseline; } /** * fo_external_graphic_set_alignment_baseline: * @fo_fo: The #FoFo object. * @new_alignment_baseline: The new "alignment-baseline" property value. * * Sets the "alignment-baseline" property of @fo_fo to @new_alignment_baseline. **/ void fo_external_graphic_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_external_graphic->alignment_baseline != NULL) { g_object_unref (fo_external_graphic->alignment_baseline); } fo_external_graphic->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_external_graphic), "alignment-baseline");*/ } /** * fo_external_graphic_get_background_color: * @fo_fo: The @FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty * fo_external_graphic_get_background_color (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->background_color; } /** * fo_external_graphic_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_external_graphic_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_external_graphic->background_color != NULL) { g_object_unref (fo_external_graphic->background_color); } fo_external_graphic->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_external_graphic), "background-color");*/ } /** * fo_external_graphic_get_background_image: * @fo_fo: The @FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty * fo_external_graphic_get_background_image (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->background_image; } /** * fo_external_graphic_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_external_graphic_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_external_graphic->background_image != NULL) { g_object_unref (fo_external_graphic->background_image); } fo_external_graphic->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_external_graphic), "background-image");*/ } /** * fo_external_graphic_get_baseline_shift: * @fo_fo: The @FoFo object. * * Gets the "baseline-shift" property of @fo_fo. * * Return value: The "baseline-shift" property value. **/ FoProperty * fo_external_graphic_get_baseline_shift (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->baseline_shift; } /** * fo_external_graphic_set_baseline_shift: * @fo_fo: The #FoFo object. * @new_baseline_shift: The new "baseline-shift" property value. * * Sets the "baseline-shift" property of @fo_fo to @new_baseline_shift. **/ void fo_external_graphic_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_external_graphic->baseline_shift != NULL) { g_object_unref (fo_external_graphic->baseline_shift); } fo_external_graphic->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_external_graphic), "baseline-shift");*/ } /** * fo_external_graphic_get_block_progression_dimension: * @fo_fo: The @FoFo object. * * Gets the "block-progression-dimension" property of @fo_fo. * * Return value: The "block-progression-dimension" property value. **/ FoProperty * fo_external_graphic_get_block_progression_dimension (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->block_progression_dimension; } /** * fo_external_graphic_set_block_progression_dimension: * @fo_fo: The #FoFo object. * @new_block_progression_dimension: The new "block-progression-dimension" property value. * * Sets the "block-progression-dimension" property of @fo_fo to @new_block_progression_dimension. **/ void fo_external_graphic_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_external_graphic->block_progression_dimension != NULL) { g_object_unref (fo_external_graphic->block_progression_dimension); } fo_external_graphic->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_external_graphic), "block-progression-dimension");*/ } /** * fo_external_graphic_get_border_after_color: * @fo_fo: The @FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty * fo_external_graphic_get_border_after_color (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_after_color; } /** * fo_external_graphic_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_external_graphic_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_external_graphic->border_after_color != NULL) { g_object_unref (fo_external_graphic->border_after_color); } fo_external_graphic->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-after-color");*/ } /** * fo_external_graphic_get_border_after_style: * @fo_fo: The @FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty * fo_external_graphic_get_border_after_style (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_after_style; } /** * fo_external_graphic_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_external_graphic_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_external_graphic->border_after_style != NULL) { g_object_unref (fo_external_graphic->border_after_style); } fo_external_graphic->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-after-style");*/ } /** * fo_external_graphic_get_border_after_width: * @fo_fo: The @FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty * fo_external_graphic_get_border_after_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_after_width; } /** * fo_external_graphic_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_external_graphic_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_external_graphic->border_after_width != NULL) { g_object_unref (fo_external_graphic->border_after_width); } fo_external_graphic->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-after-width");*/ } /** * fo_external_graphic_get_border_before_color: * @fo_fo: The @FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty * fo_external_graphic_get_border_before_color (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_before_color; } /** * fo_external_graphic_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_external_graphic_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_external_graphic->border_before_color != NULL) { g_object_unref (fo_external_graphic->border_before_color); } fo_external_graphic->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-before-color");*/ } /** * fo_external_graphic_get_border_before_style: * @fo_fo: The @FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty * fo_external_graphic_get_border_before_style (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_before_style; } /** * fo_external_graphic_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_external_graphic_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_external_graphic->border_before_style != NULL) { g_object_unref (fo_external_graphic->border_before_style); } fo_external_graphic->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-before-style");*/ } /** * fo_external_graphic_get_border_before_width: * @fo_fo: The @FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty * fo_external_graphic_get_border_before_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_before_width; } /** * fo_external_graphic_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_external_graphic_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_external_graphic->border_before_width != NULL) { g_object_unref (fo_external_graphic->border_before_width); } fo_external_graphic->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-before-width");*/ } /** * fo_external_graphic_get_border_bottom_color: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty * fo_external_graphic_get_border_bottom_color (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_bottom_color; } /** * fo_external_graphic_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_external_graphic_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_external_graphic->border_bottom_color != NULL) { g_object_unref (fo_external_graphic->border_bottom_color); } fo_external_graphic->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-bottom-color");*/ } /** * fo_external_graphic_get_border_bottom_style: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty * fo_external_graphic_get_border_bottom_style (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_bottom_style; } /** * fo_external_graphic_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_external_graphic_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_external_graphic->border_bottom_style != NULL) { g_object_unref (fo_external_graphic->border_bottom_style); } fo_external_graphic->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-bottom-style");*/ } /** * fo_external_graphic_get_border_bottom_width: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty * fo_external_graphic_get_border_bottom_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_bottom_width; } /** * fo_external_graphic_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_external_graphic_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_external_graphic->border_bottom_width != NULL) { g_object_unref (fo_external_graphic->border_bottom_width); } fo_external_graphic->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-bottom-width");*/ } /** * fo_external_graphic_get_border_end_color: * @fo_fo: The @FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty * fo_external_graphic_get_border_end_color (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_end_color; } /** * fo_external_graphic_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_external_graphic_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_external_graphic->border_end_color != NULL) { g_object_unref (fo_external_graphic->border_end_color); } fo_external_graphic->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-end-color");*/ } /** * fo_external_graphic_get_border_end_style: * @fo_fo: The @FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty * fo_external_graphic_get_border_end_style (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_end_style; } /** * fo_external_graphic_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_external_graphic_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_external_graphic->border_end_style != NULL) { g_object_unref (fo_external_graphic->border_end_style); } fo_external_graphic->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-end-style");*/ } /** * fo_external_graphic_get_border_end_width: * @fo_fo: The @FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty * fo_external_graphic_get_border_end_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_end_width; } /** * fo_external_graphic_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_external_graphic_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_external_graphic->border_end_width != NULL) { g_object_unref (fo_external_graphic->border_end_width); } fo_external_graphic->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-end-width");*/ } /** * fo_external_graphic_get_border_left_color: * @fo_fo: The @FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty * fo_external_graphic_get_border_left_color (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_left_color; } /** * fo_external_graphic_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_external_graphic_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_external_graphic->border_left_color != NULL) { g_object_unref (fo_external_graphic->border_left_color); } fo_external_graphic->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-left-color");*/ } /** * fo_external_graphic_get_border_left_style: * @fo_fo: The @FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty * fo_external_graphic_get_border_left_style (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_left_style; } /** * fo_external_graphic_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_external_graphic_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_external_graphic->border_left_style != NULL) { g_object_unref (fo_external_graphic->border_left_style); } fo_external_graphic->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-left-style");*/ } /** * fo_external_graphic_get_border_left_width: * @fo_fo: The @FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty * fo_external_graphic_get_border_left_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_left_width; } /** * fo_external_graphic_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_external_graphic_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_external_graphic->border_left_width != NULL) { g_object_unref (fo_external_graphic->border_left_width); } fo_external_graphic->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-left-width");*/ } /** * fo_external_graphic_get_border_right_color: * @fo_fo: The @FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty * fo_external_graphic_get_border_right_color (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_right_color; } /** * fo_external_graphic_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_external_graphic_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_external_graphic->border_right_color != NULL) { g_object_unref (fo_external_graphic->border_right_color); } fo_external_graphic->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-right-color");*/ } /** * fo_external_graphic_get_border_right_style: * @fo_fo: The @FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty * fo_external_graphic_get_border_right_style (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_right_style; } /** * fo_external_graphic_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_external_graphic_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_external_graphic->border_right_style != NULL) { g_object_unref (fo_external_graphic->border_right_style); } fo_external_graphic->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-right-style");*/ } /** * fo_external_graphic_get_border_right_width: * @fo_fo: The @FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty * fo_external_graphic_get_border_right_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_right_width; } /** * fo_external_graphic_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_external_graphic_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_external_graphic->border_right_width != NULL) { g_object_unref (fo_external_graphic->border_right_width); } fo_external_graphic->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-right-width");*/ } /** * fo_external_graphic_get_border_start_color: * @fo_fo: The @FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty * fo_external_graphic_get_border_start_color (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_start_color; } /** * fo_external_graphic_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_external_graphic_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_external_graphic->border_start_color != NULL) { g_object_unref (fo_external_graphic->border_start_color); } fo_external_graphic->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-start-color");*/ } /** * fo_external_graphic_get_border_start_style: * @fo_fo: The @FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty * fo_external_graphic_get_border_start_style (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_start_style; } /** * fo_external_graphic_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_external_graphic_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_external_graphic->border_start_style != NULL) { g_object_unref (fo_external_graphic->border_start_style); } fo_external_graphic->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-start-style");*/ } /** * fo_external_graphic_get_border_start_width: * @fo_fo: The @FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty * fo_external_graphic_get_border_start_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_start_width; } /** * fo_external_graphic_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_external_graphic_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_external_graphic->border_start_width != NULL) { g_object_unref (fo_external_graphic->border_start_width); } fo_external_graphic->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-start-width");*/ } /** * fo_external_graphic_get_border_top_color: * @fo_fo: The @FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty * fo_external_graphic_get_border_top_color (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_top_color; } /** * fo_external_graphic_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_external_graphic_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_external_graphic->border_top_color != NULL) { g_object_unref (fo_external_graphic->border_top_color); } fo_external_graphic->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-top-color");*/ } /** * fo_external_graphic_get_border_top_style: * @fo_fo: The @FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty * fo_external_graphic_get_border_top_style (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_top_style; } /** * fo_external_graphic_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_external_graphic_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_external_graphic->border_top_style != NULL) { g_object_unref (fo_external_graphic->border_top_style); } fo_external_graphic->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-top-style");*/ } /** * fo_external_graphic_get_border_top_width: * @fo_fo: The @FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty * fo_external_graphic_get_border_top_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->border_top_width; } /** * fo_external_graphic_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_external_graphic_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_external_graphic->border_top_width != NULL) { g_object_unref (fo_external_graphic->border_top_width); } fo_external_graphic->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "border-top-width");*/ } /** * fo_external_graphic_get_clip: * @fo_fo: The @FoFo object. * * Gets the "clip" property of @fo_fo. * * Return value: The "clip" property value. **/ FoProperty * fo_external_graphic_get_clip (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->clip; } /** * fo_external_graphic_set_clip: * @fo_fo: The #FoFo object. * @new_clip: The new "clip" property value. * * Sets the "clip" property of @fo_fo to @new_clip. **/ void fo_external_graphic_set_clip (FoFo *fo_fo, FoProperty *new_clip) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_external_graphic->clip != NULL) { g_object_unref (fo_external_graphic->clip); } fo_external_graphic->clip = new_clip; /*g_object_notify (G_OBJECT (fo_external_graphic), "clip");*/ } /** * fo_external_graphic_get_content_height: * @fo_fo: The @FoFo object. * * Gets the "content-height" property of @fo_fo. * * Return value: The "content-height" property value. **/ FoProperty * fo_external_graphic_get_content_height (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->content_height; } /** * fo_external_graphic_set_content_height: * @fo_fo: The #FoFo object. * @new_content_height: The new "content-height" property value. * * Sets the "content-height" property of @fo_fo to @new_content_height. **/ void fo_external_graphic_set_content_height (FoFo *fo_fo, FoProperty *new_content_height) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_CONTENT_HEIGHT (new_content_height)); if (new_content_height != NULL) { g_object_ref (new_content_height); } if (fo_external_graphic->content_height != NULL) { g_object_unref (fo_external_graphic->content_height); } fo_external_graphic->content_height = new_content_height; /*g_object_notify (G_OBJECT (fo_external_graphic), "content-height");*/ } /** * fo_external_graphic_get_content_type: * @fo_fo: The @FoFo object. * * Gets the "content-type" property of @fo_fo. * * Return value: The "content-type" property value. **/ FoProperty * fo_external_graphic_get_content_type (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->content_type; } /** * fo_external_graphic_set_content_type: * @fo_fo: The #FoFo object. * @new_content_type: The new "content-type" property value. * * Sets the "content-type" property of @fo_fo to @new_content_type. **/ void fo_external_graphic_set_content_type (FoFo *fo_fo, FoProperty *new_content_type) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_CONTENT_TYPE (new_content_type)); if (new_content_type != NULL) { g_object_ref (new_content_type); } if (fo_external_graphic->content_type != NULL) { g_object_unref (fo_external_graphic->content_type); } fo_external_graphic->content_type = new_content_type; /*g_object_notify (G_OBJECT (fo_external_graphic), "content-type");*/ } /** * fo_external_graphic_get_content_width: * @fo_fo: The @FoFo object. * * Gets the "content-width" property of @fo_fo. * * Return value: The "content-width" property value. **/ FoProperty * fo_external_graphic_get_content_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->content_width; } /** * fo_external_graphic_set_content_width: * @fo_fo: The #FoFo object. * @new_content_width: The new "content-width" property value. * * Sets the "content-width" property of @fo_fo to @new_content_width. **/ void fo_external_graphic_set_content_width (FoFo *fo_fo, FoProperty *new_content_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_CONTENT_WIDTH (new_content_width)); if (new_content_width != NULL) { g_object_ref (new_content_width); } if (fo_external_graphic->content_width != NULL) { g_object_unref (fo_external_graphic->content_width); } fo_external_graphic->content_width = new_content_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "content-width");*/ } /** * fo_external_graphic_get_display_align: * @fo_fo: The @FoFo object. * * Gets the "display-align" property of @fo_fo. * * Return value: The "display-align" property value. **/ FoProperty * fo_external_graphic_get_display_align (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->display_align; } /** * fo_external_graphic_set_display_align: * @fo_fo: The #FoFo object. * @new_display_align: The new "display-align" property value. * * Sets the "display-align" property of @fo_fo to @new_display_align. **/ void fo_external_graphic_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_external_graphic->display_align != NULL) { g_object_unref (fo_external_graphic->display_align); } fo_external_graphic->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_external_graphic), "display-align");*/ } /** * fo_external_graphic_get_dominant_baseline: * @fo_fo: The @FoFo object. * * Gets the "dominant-baseline" property of @fo_fo. * * Return value: The "dominant-baseline" property value. **/ FoProperty * fo_external_graphic_get_dominant_baseline (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->dominant_baseline; } /** * fo_external_graphic_set_dominant_baseline: * @fo_fo: The #FoFo object. * @new_dominant_baseline: The new "dominant-baseline" property value. * * Sets the "dominant-baseline" property of @fo_fo to @new_dominant_baseline. **/ void fo_external_graphic_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_external_graphic->dominant_baseline != NULL) { g_object_unref (fo_external_graphic->dominant_baseline); } fo_external_graphic->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_external_graphic), "dominant-baseline");*/ } /** * fo_external_graphic_get_height: * @fo_fo: The @FoFo object. * * Gets the "height" property of @fo_fo. * * Return value: The "height" property value. **/ FoProperty * fo_external_graphic_get_height (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->height; } /** * fo_external_graphic_set_height: * @fo_fo: The #FoFo object. * @new_height: The new "height" property value. * * Sets the "height" property of @fo_fo to @new_height. **/ void fo_external_graphic_set_height (FoFo *fo_fo, FoProperty *new_height) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_external_graphic->height != NULL) { g_object_unref (fo_external_graphic->height); } fo_external_graphic->height = new_height; /*g_object_notify (G_OBJECT (fo_external_graphic), "height");*/ } /** * fo_external_graphic_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty * fo_external_graphic_get_id (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->id; } /** * fo_external_graphic_set_id: * @fo_fo: The #FoFo object. * @new_id: The new "id" property value. * * Sets the "id" property of @fo_fo to @new_id. **/ void fo_external_graphic_set_id (FoFo *fo_fo, FoProperty *new_id) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_external_graphic->id != NULL) { g_object_unref (fo_external_graphic->id); } fo_external_graphic->id = new_id; /*g_object_notify (G_OBJECT (fo_external_graphic), "id");*/ } /** * fo_external_graphic_get_inline_progression_dimension: * @fo_fo: The @FoFo object. * * Gets the "inline-progression-dimension" property of @fo_fo. * * Return value: The "inline-progression-dimension" property value. **/ FoProperty * fo_external_graphic_get_inline_progression_dimension (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->inline_progression_dimension; } /** * fo_external_graphic_set_inline_progression_dimension: * @fo_fo: The #FoFo object. * @new_inline_progression_dimension: The new "inline-progression-dimension" property value. * * Sets the "inline-progression-dimension" property of @fo_fo to @new_inline_progression_dimension. **/ void fo_external_graphic_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (new_inline_progression_dimension)); if (new_inline_progression_dimension != NULL) { g_object_ref (new_inline_progression_dimension); } if (fo_external_graphic->inline_progression_dimension != NULL) { g_object_unref (fo_external_graphic->inline_progression_dimension); } fo_external_graphic->inline_progression_dimension = new_inline_progression_dimension; /*g_object_notify (G_OBJECT (fo_external_graphic), "inline-progression-dimension");*/ } /** * fo_external_graphic_get_keep_with_next: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next" property of @fo_fo. * * Return value: The "keep-with-next" property value. **/ FoProperty * fo_external_graphic_get_keep_with_next (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->keep_with_next; } /** * fo_external_graphic_set_keep_with_next: * @fo_fo: The #FoFo object. * @new_keep_with_next: The new "keep-with-next" property value. * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next. **/ void fo_external_graphic_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_external_graphic->keep_with_next != NULL) { g_object_unref (fo_external_graphic->keep_with_next); } fo_external_graphic->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_external_graphic), "keep-with-next");*/ } /** * fo_external_graphic_get_keep_with_next_within_column: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-column" property of @fo_fo. * * Return value: The "keep-with-next-within-column" property value. **/ FoProperty * fo_external_graphic_get_keep_with_next_within_column (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->keep_with_next_within_column; } /** * fo_external_graphic_set_keep_with_next_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value. * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column. **/ void fo_external_graphic_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_external_graphic->keep_with_next_within_column != NULL) { g_object_unref (fo_external_graphic->keep_with_next_within_column); } fo_external_graphic->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_external_graphic), "keep-with-next-within-column");*/ } /** * fo_external_graphic_get_keep_with_next_within_line: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-line" property of @fo_fo. * * Return value: The "keep-with-next-within-line" property value. **/ FoProperty * fo_external_graphic_get_keep_with_next_within_line (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->keep_with_next_within_line; } /** * fo_external_graphic_set_keep_with_next_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value. * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line. **/ void fo_external_graphic_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_external_graphic->keep_with_next_within_line != NULL) { g_object_unref (fo_external_graphic->keep_with_next_within_line); } fo_external_graphic->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_external_graphic), "keep-with-next-within-line");*/ } /** * fo_external_graphic_get_keep_with_next_within_page: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-page" property of @fo_fo. * * Return value: The "keep-with-next-within-page" property value. **/ FoProperty * fo_external_graphic_get_keep_with_next_within_page (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->keep_with_next_within_page; } /** * fo_external_graphic_set_keep_with_next_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value. * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page. **/ void fo_external_graphic_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_external_graphic->keep_with_next_within_page != NULL) { g_object_unref (fo_external_graphic->keep_with_next_within_page); } fo_external_graphic->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_external_graphic), "keep-with-next-within-page");*/ } /** * fo_external_graphic_get_keep_with_previous: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous" property of @fo_fo. * * Return value: The "keep-with-previous" property value. **/ FoProperty * fo_external_graphic_get_keep_with_previous (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->keep_with_previous; } /** * fo_external_graphic_set_keep_with_previous: * @fo_fo: The #FoFo object. * @new_keep_with_previous: The new "keep-with-previous" property value. * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous. **/ void fo_external_graphic_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_external_graphic->keep_with_previous != NULL) { g_object_unref (fo_external_graphic->keep_with_previous); } fo_external_graphic->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_external_graphic), "keep-with-previous");*/ } /** * fo_external_graphic_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-column" property of @fo_fo. * * Return value: The "keep-with-previous-within-column" property value. **/ FoProperty * fo_external_graphic_get_keep_with_previous_within_column (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->keep_with_previous_within_column; } /** * fo_external_graphic_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value. * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column. **/ void fo_external_graphic_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_external_graphic->keep_with_previous_within_column != NULL) { g_object_unref (fo_external_graphic->keep_with_previous_within_column); } fo_external_graphic->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_external_graphic), "keep-with-previous-within-column");*/ } /** * fo_external_graphic_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-line" property of @fo_fo. * * Return value: The "keep-with-previous-within-line" property value. **/ FoProperty * fo_external_graphic_get_keep_with_previous_within_line (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->keep_with_previous_within_line; } /** * fo_external_graphic_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value. * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line. **/ void fo_external_graphic_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_external_graphic->keep_with_previous_within_line != NULL) { g_object_unref (fo_external_graphic->keep_with_previous_within_line); } fo_external_graphic->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_external_graphic), "keep-with-previous-within-line");*/ } /** * fo_external_graphic_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-page" property of @fo_fo. * * Return value: The "keep-with-previous-within-page" property value. **/ FoProperty * fo_external_graphic_get_keep_with_previous_within_page (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->keep_with_previous_within_page; } /** * fo_external_graphic_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value. * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page. **/ void fo_external_graphic_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_external_graphic->keep_with_previous_within_page != NULL) { g_object_unref (fo_external_graphic->keep_with_previous_within_page); } fo_external_graphic->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_external_graphic), "keep-with-previous-within-page");*/ } /** * fo_external_graphic_get_line_height: * @fo_fo: The @FoFo object. * * Gets the "line-height" property of @fo_fo. * * Return value: The "line-height" property value. **/ FoProperty * fo_external_graphic_get_line_height (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->line_height; } /** * fo_external_graphic_set_line_height: * @fo_fo: The #FoFo object. * @new_line_height: The new "line-height" property value. * * Sets the "line-height" property of @fo_fo to @new_line_height. **/ void fo_external_graphic_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_external_graphic->line_height != NULL) { g_object_unref (fo_external_graphic->line_height); } fo_external_graphic->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_external_graphic), "line-height");*/ } /** * fo_external_graphic_get_overflow: * @fo_fo: The @FoFo object. * * Gets the "overflow" property of @fo_fo. * * Return value: The "overflow" property value. **/ FoProperty * fo_external_graphic_get_overflow (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->overflow; } /** * fo_external_graphic_set_overflow: * @fo_fo: The #FoFo object. * @new_overflow: The new "overflow" property value. * * Sets the "overflow" property of @fo_fo to @new_overflow. **/ void fo_external_graphic_set_overflow (FoFo *fo_fo, FoProperty *new_overflow) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_external_graphic->overflow != NULL) { g_object_unref (fo_external_graphic->overflow); } fo_external_graphic->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_external_graphic), "overflow");*/ } /** * fo_external_graphic_get_padding_after: * @fo_fo: The @FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty * fo_external_graphic_get_padding_after (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->padding_after; } /** * fo_external_graphic_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_external_graphic_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_external_graphic->padding_after != NULL) { g_object_unref (fo_external_graphic->padding_after); } fo_external_graphic->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_external_graphic), "padding-after");*/ } /** * fo_external_graphic_get_padding_before: * @fo_fo: The @FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty * fo_external_graphic_get_padding_before (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->padding_before; } /** * fo_external_graphic_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_external_graphic_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_external_graphic->padding_before != NULL) { g_object_unref (fo_external_graphic->padding_before); } fo_external_graphic->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_external_graphic), "padding-before");*/ } /** * fo_external_graphic_get_padding_bottom: * @fo_fo: The @FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty * fo_external_graphic_get_padding_bottom (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->padding_bottom; } /** * fo_external_graphic_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_external_graphic_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_external_graphic->padding_bottom != NULL) { g_object_unref (fo_external_graphic->padding_bottom); } fo_external_graphic->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_external_graphic), "padding-bottom");*/ } /** * fo_external_graphic_get_padding_end: * @fo_fo: The @FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty * fo_external_graphic_get_padding_end (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->padding_end; } /** * fo_external_graphic_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_external_graphic_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_external_graphic->padding_end != NULL) { g_object_unref (fo_external_graphic->padding_end); } fo_external_graphic->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_external_graphic), "padding-end");*/ } /** * fo_external_graphic_get_padding_left: * @fo_fo: The @FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty * fo_external_graphic_get_padding_left (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->padding_left; } /** * fo_external_graphic_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_external_graphic_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_external_graphic->padding_left != NULL) { g_object_unref (fo_external_graphic->padding_left); } fo_external_graphic->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_external_graphic), "padding-left");*/ } /** * fo_external_graphic_get_padding_right: * @fo_fo: The @FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty * fo_external_graphic_get_padding_right (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->padding_right; } /** * fo_external_graphic_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_external_graphic_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_external_graphic->padding_right != NULL) { g_object_unref (fo_external_graphic->padding_right); } fo_external_graphic->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_external_graphic), "padding-right");*/ } /** * fo_external_graphic_get_padding_start: * @fo_fo: The @FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty * fo_external_graphic_get_padding_start (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->padding_start; } /** * fo_external_graphic_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_external_graphic_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_external_graphic->padding_start != NULL) { g_object_unref (fo_external_graphic->padding_start); } fo_external_graphic->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_external_graphic), "padding-start");*/ } /** * fo_external_graphic_get_padding_top: * @fo_fo: The @FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty * fo_external_graphic_get_padding_top (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->padding_top; } /** * fo_external_graphic_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_external_graphic_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_external_graphic->padding_top != NULL) { g_object_unref (fo_external_graphic->padding_top); } fo_external_graphic->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_external_graphic), "padding-top");*/ } /** * fo_external_graphic_get_role: * @fo_fo: The @FoFo object. * * Gets the "role" property of @fo_fo. * * Return value: The "role" property value. **/ FoProperty * fo_external_graphic_get_role (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->role; } /** * fo_external_graphic_set_role: * @fo_fo: The #FoFo object. * @new_role: The new "role" property value. * * Sets the "role" property of @fo_fo to @new_role. **/ void fo_external_graphic_set_role (FoFo *fo_fo, FoProperty *new_role) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_external_graphic->role != NULL) { g_object_unref (fo_external_graphic->role); } fo_external_graphic->role = new_role; /*g_object_notify (G_OBJECT (fo_external_graphic), "role");*/ } /** * fo_external_graphic_get_scaling: * @fo_fo: The @FoFo object. * * Gets the "scaling" property of @fo_fo. * * Return value: The "scaling" property value. **/ FoProperty * fo_external_graphic_get_scaling (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->scaling; } /** * fo_external_graphic_set_scaling: * @fo_fo: The #FoFo object. * @new_scaling: The new "scaling" property value. * * Sets the "scaling" property of @fo_fo to @new_scaling. **/ void fo_external_graphic_set_scaling (FoFo *fo_fo, FoProperty *new_scaling) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_SCALING (new_scaling)); if (new_scaling != NULL) { g_object_ref (new_scaling); } if (fo_external_graphic->scaling != NULL) { g_object_unref (fo_external_graphic->scaling); } fo_external_graphic->scaling = new_scaling; /*g_object_notify (G_OBJECT (fo_external_graphic), "scaling");*/ } /** * fo_external_graphic_get_scaling_method: * @fo_fo: The @FoFo object. * * Gets the "scaling-method" property of @fo_fo. * * Return value: The "scaling-method" property value. **/ FoProperty * fo_external_graphic_get_scaling_method (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->scaling_method; } /** * fo_external_graphic_set_scaling_method: * @fo_fo: The #FoFo object. * @new_scaling_method: The new "scaling-method" property value. * * Sets the "scaling-method" property of @fo_fo to @new_scaling_method. **/ void fo_external_graphic_set_scaling_method (FoFo *fo_fo, FoProperty *new_scaling_method) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_SCALING_METHOD (new_scaling_method)); if (new_scaling_method != NULL) { g_object_ref (new_scaling_method); } if (fo_external_graphic->scaling_method != NULL) { g_object_unref (fo_external_graphic->scaling_method); } fo_external_graphic->scaling_method = new_scaling_method; /*g_object_notify (G_OBJECT (fo_external_graphic), "scaling-method");*/ } /** * fo_external_graphic_get_source_document: * @fo_fo: The @FoFo object. * * Gets the "source-document" property of @fo_fo. * * Return value: The "source-document" property value. **/ FoProperty * fo_external_graphic_get_source_document (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->source_document; } /** * fo_external_graphic_set_source_document: * @fo_fo: The #FoFo object. * @new_source_document: The new "source-document" property value. * * Sets the "source-document" property of @fo_fo to @new_source_document. **/ void fo_external_graphic_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_external_graphic->source_document != NULL) { g_object_unref (fo_external_graphic->source_document); } fo_external_graphic->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_external_graphic), "source-document");*/ } /** * fo_external_graphic_get_space_end: * @fo_fo: The @FoFo object. * * Gets the "space-end" property of @fo_fo. * * Return value: The "space-end" property value. **/ FoProperty * fo_external_graphic_get_space_end (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->space_end; } /** * fo_external_graphic_set_space_end: * @fo_fo: The #FoFo object. * @new_space_end: The new "space-end" property value. * * Sets the "space-end" property of @fo_fo to @new_space_end. **/ void fo_external_graphic_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_external_graphic->space_end != NULL) { g_object_unref (fo_external_graphic->space_end); } fo_external_graphic->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_external_graphic), "space-end");*/ } /** * fo_external_graphic_get_space_start: * @fo_fo: The @FoFo object. * * Gets the "space-start" property of @fo_fo. * * Return value: The "space-start" property value. **/ FoProperty * fo_external_graphic_get_space_start (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->space_start; } /** * fo_external_graphic_set_space_start: * @fo_fo: The #FoFo object. * @new_space_start: The new "space-start" property value. * * Sets the "space-start" property of @fo_fo to @new_space_start. **/ void fo_external_graphic_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_external_graphic->space_start != NULL) { g_object_unref (fo_external_graphic->space_start); } fo_external_graphic->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_external_graphic), "space-start");*/ } /** * fo_external_graphic_get_src: * @fo_fo: The @FoFo object. * * Gets the "src" property of @fo_fo. * * Return value: The "src" property value. **/ FoProperty * fo_external_graphic_get_src (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->src; } /** * fo_external_graphic_set_src: * @fo_fo: The #FoFo object. * @new_src: The new "src" property value. * * Sets the "src" property of @fo_fo to @new_src. **/ void fo_external_graphic_set_src (FoFo *fo_fo, FoProperty *new_src) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_SRC (new_src)); if (new_src != NULL) { g_object_ref (new_src); } if (fo_external_graphic->src != NULL) { g_object_unref (fo_external_graphic->src); } fo_external_graphic->src = new_src; /*g_object_notify (G_OBJECT (fo_external_graphic), "src");*/ } /** * fo_external_graphic_get_text_align: * @fo_fo: The @FoFo object. * * Gets the "text-align" property of @fo_fo. * * Return value: The "text-align" property value. **/ FoProperty * fo_external_graphic_get_text_align (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->text_align; } /** * fo_external_graphic_set_text_align: * @fo_fo: The #FoFo object. * @new_text_align: The new "text-align" property value. * * Sets the "text-align" property of @fo_fo to @new_text_align. **/ void fo_external_graphic_set_text_align (FoFo *fo_fo, FoProperty *new_text_align) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_TEXT_ALIGN (new_text_align)); if (new_text_align != NULL) { g_object_ref (new_text_align); } if (fo_external_graphic->text_align != NULL) { g_object_unref (fo_external_graphic->text_align); } fo_external_graphic->text_align = new_text_align; /*g_object_notify (G_OBJECT (fo_external_graphic), "text-align");*/ } /** * fo_external_graphic_get_width: * @fo_fo: The @FoFo object. * * Gets the "width" property of @fo_fo. * * Return value: The "width" property value. **/ FoProperty * fo_external_graphic_get_width (FoFo *fo_fo) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_val_if_fail (fo_external_graphic != NULL, NULL); g_return_val_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic), NULL); return fo_external_graphic->width; } /** * fo_external_graphic_set_width: * @fo_fo: The #FoFo object. * @new_width: The new "width" property value. * * Sets the "width" property of @fo_fo to @new_width. **/ void fo_external_graphic_set_width (FoFo *fo_fo, FoProperty *new_width) { FoExternalGraphic *fo_external_graphic = (FoExternalGraphic *) fo_fo; g_return_if_fail (fo_external_graphic != NULL); g_return_if_fail (FO_IS_EXTERNAL_GRAPHIC (fo_external_graphic)); g_return_if_fail (FO_IS_PROPERTY_WIDTH (new_width)); if (new_width != NULL) { g_object_ref (new_width); } if (fo_external_graphic->width != NULL) { g_object_unref (fo_external_graphic->width); } fo_external_graphic->width = new_width; /*g_object_notify (G_OBJECT (fo_external_graphic), "width");*/ } xmlroff-0.6.2/libfo/fo/fo-external-graphic.h0000644000175000017500000004204010643167376015641 00000000000000/* Fo * fo-external-graphic.h: 'external-graphic' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_EXTERNAL_GRAPHIC_H__ #define __FO_EXTERNAL_GRAPHIC_H__ #include #include #include G_BEGIN_DECLS /** * FoExternalGraphic: * * Instance of the 'external-graphic' formatting object. **/ typedef struct _FoExternalGraphic FoExternalGraphic; /** * FoExternalGraphicClass: * * Class structure for the 'external-graphic' formatting object. **/ typedef struct _FoExternalGraphicClass FoExternalGraphicClass; #define FO_TYPE_EXTERNAL_GRAPHIC (fo_external_graphic_get_type ()) #define FO_EXTERNAL_GRAPHIC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_EXTERNAL_GRAPHIC, FoExternalGraphic)) #define FO_EXTERNAL_GRAPHIC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_EXTERNAL_GRAPHIC, FoExternalGraphicClass)) #define FO_IS_EXTERNAL_GRAPHIC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_EXTERNAL_GRAPHIC)) #define FO_IS_EXTERNAL_GRAPHIC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_EXTERNAL_GRAPHIC)) #define FO_EXTERNAL_GRAPHIC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_EXTERNAL_GRAPHIC, FoExternalGraphicClass)) GType fo_external_graphic_get_type (void) G_GNUC_CONST; FoFo * fo_external_graphic_new (void); FoFo * fo_external_graphic_new_with_base_uri (const gchar *base_uri); const gchar * fo_external_graphic_get_base_uri (FoFo *fo_fo); FoProperty * fo_external_graphic_get_alignment_adjust (FoFo *fo_fo); void fo_external_graphic_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty * fo_external_graphic_get_alignment_baseline (FoFo *fo_fo); void fo_external_graphic_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty * fo_external_graphic_get_background_color (FoFo *fo_fo); void fo_external_graphic_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_external_graphic_get_background_image (FoFo *fo_fo); void fo_external_graphic_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_external_graphic_get_baseline_shift (FoFo *fo_fo); void fo_external_graphic_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty * fo_external_graphic_get_block_progression_dimension (FoFo *fo_fo); void fo_external_graphic_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty * fo_external_graphic_get_border_after_color (FoFo *fo_fo); void fo_external_graphic_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_external_graphic_get_border_after_style (FoFo *fo_fo); void fo_external_graphic_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_external_graphic_get_border_after_width (FoFo *fo_fo); void fo_external_graphic_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_external_graphic_get_border_before_color (FoFo *fo_fo); void fo_external_graphic_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_external_graphic_get_border_before_style (FoFo *fo_fo); void fo_external_graphic_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_external_graphic_get_border_before_width (FoFo *fo_fo); void fo_external_graphic_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_external_graphic_get_border_bottom_color (FoFo *fo_fo); void fo_external_graphic_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_external_graphic_get_border_bottom_style (FoFo *fo_fo); void fo_external_graphic_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_external_graphic_get_border_bottom_width (FoFo *fo_fo); void fo_external_graphic_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_external_graphic_get_border_end_color (FoFo *fo_fo); void fo_external_graphic_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_external_graphic_get_border_end_style (FoFo *fo_fo); void fo_external_graphic_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_external_graphic_get_border_end_width (FoFo *fo_fo); void fo_external_graphic_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_external_graphic_get_border_left_color (FoFo *fo_fo); void fo_external_graphic_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_external_graphic_get_border_left_style (FoFo *fo_fo); void fo_external_graphic_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_external_graphic_get_border_left_width (FoFo *fo_fo); void fo_external_graphic_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_external_graphic_get_border_right_color (FoFo *fo_fo); void fo_external_graphic_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_external_graphic_get_border_right_style (FoFo *fo_fo); void fo_external_graphic_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_external_graphic_get_border_right_width (FoFo *fo_fo); void fo_external_graphic_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_external_graphic_get_border_start_color (FoFo *fo_fo); void fo_external_graphic_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_external_graphic_get_border_start_style (FoFo *fo_fo); void fo_external_graphic_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_external_graphic_get_border_start_width (FoFo *fo_fo); void fo_external_graphic_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_external_graphic_get_border_top_color (FoFo *fo_fo); void fo_external_graphic_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_external_graphic_get_border_top_style (FoFo *fo_fo); void fo_external_graphic_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_external_graphic_get_border_top_width (FoFo *fo_fo); void fo_external_graphic_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_external_graphic_get_clip (FoFo *fo_fo); void fo_external_graphic_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty * fo_external_graphic_get_content_height (FoFo *fo_fo); void fo_external_graphic_set_content_height (FoFo *fo_fo, FoProperty *new_content_height); FoProperty * fo_external_graphic_get_content_type (FoFo *fo_fo); void fo_external_graphic_set_content_type (FoFo *fo_fo, FoProperty *new_content_type); FoProperty * fo_external_graphic_get_content_width (FoFo *fo_fo); void fo_external_graphic_set_content_width (FoFo *fo_fo, FoProperty *new_content_width); FoProperty * fo_external_graphic_get_display_align (FoFo *fo_fo); void fo_external_graphic_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty * fo_external_graphic_get_dominant_baseline (FoFo *fo_fo); void fo_external_graphic_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty * fo_external_graphic_get_height (FoFo *fo_fo); void fo_external_graphic_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty * fo_external_graphic_get_id (FoFo *fo_fo); void fo_external_graphic_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_external_graphic_get_inline_progression_dimension (FoFo *fo_fo); void fo_external_graphic_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty * fo_external_graphic_get_keep_with_next (FoFo *fo_fo); void fo_external_graphic_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_external_graphic_get_keep_with_next_within_column (FoFo *fo_fo); void fo_external_graphic_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_external_graphic_get_keep_with_next_within_line (FoFo *fo_fo); void fo_external_graphic_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_external_graphic_get_keep_with_next_within_page (FoFo *fo_fo); void fo_external_graphic_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_external_graphic_get_keep_with_previous (FoFo *fo_fo); void fo_external_graphic_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_external_graphic_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_external_graphic_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_external_graphic_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_external_graphic_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_external_graphic_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_external_graphic_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_external_graphic_get_line_height (FoFo *fo_fo); void fo_external_graphic_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty * fo_external_graphic_get_overflow (FoFo *fo_fo); void fo_external_graphic_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty * fo_external_graphic_get_padding_after (FoFo *fo_fo); void fo_external_graphic_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_external_graphic_get_padding_before (FoFo *fo_fo); void fo_external_graphic_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_external_graphic_get_padding_bottom (FoFo *fo_fo); void fo_external_graphic_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_external_graphic_get_padding_end (FoFo *fo_fo); void fo_external_graphic_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_external_graphic_get_padding_left (FoFo *fo_fo); void fo_external_graphic_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_external_graphic_get_padding_right (FoFo *fo_fo); void fo_external_graphic_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_external_graphic_get_padding_start (FoFo *fo_fo); void fo_external_graphic_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_external_graphic_get_padding_top (FoFo *fo_fo); void fo_external_graphic_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_external_graphic_get_role (FoFo *fo_fo); void fo_external_graphic_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_external_graphic_get_scaling (FoFo *fo_fo); void fo_external_graphic_set_scaling (FoFo *fo_fo, FoProperty *new_scaling); FoProperty * fo_external_graphic_get_scaling_method (FoFo *fo_fo); void fo_external_graphic_set_scaling_method (FoFo *fo_fo, FoProperty *new_scaling_method); FoProperty * fo_external_graphic_get_source_document (FoFo *fo_fo); void fo_external_graphic_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_external_graphic_get_space_end (FoFo *fo_fo); void fo_external_graphic_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty * fo_external_graphic_get_space_start (FoFo *fo_fo); void fo_external_graphic_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty * fo_external_graphic_get_src (FoFo *fo_fo); void fo_external_graphic_set_src (FoFo *fo_fo, FoProperty *new_src); FoProperty * fo_external_graphic_get_text_align (FoFo *fo_fo); void fo_external_graphic_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); FoProperty * fo_external_graphic_get_width (FoFo *fo_fo); void fo_external_graphic_set_width (FoFo *fo_fo, FoProperty *new_width); G_END_DECLS #endif /* !__FO_EXTERNAL_GRAPHIC_H__ */ xmlroff-0.6.2/libfo/fo/fo-external-graphic-private.h0000644000175000017500000000546610643167376017324 00000000000000/* Fo * fo-external-graphic-private.h: Structures private to 'external-graphic' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_EXTERNAL_GRAPHIC_PRIVATE_H__ #define __FO_EXTERNAL_GRAPHIC_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoExternalGraphic { FoFo parent_instance; gchar *base_uri; FoDoc *fo_doc; FoImage *fo_image; gdouble area_width; gdouble area_height; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *block_progression_dimension; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *clip; FoProperty *content_height; FoProperty *content_type; FoProperty *content_width; FoProperty *display_align; FoProperty *dominant_baseline; FoProperty *height; FoProperty *id; FoProperty *inline_progression_dimension; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *overflow; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *scaling; FoProperty *scaling_method; FoProperty *source_document; FoProperty *space_end; FoProperty *space_start; FoProperty *src; FoProperty *text_align; FoProperty *width; }; struct _FoExternalGraphicClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_EXTERNAL_GRAPHIC_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-float.c0000644000175000017500000000777710651103625013510 00000000000000/* Fo * fo-float.c: Float formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-neutral-fo.h" #include "fo-float.h" enum { PROP_0 }; struct _FoFloat { FoFo parent_instance; }; struct _FoFloatClass { FoFoClass parent_class; }; static void fo_float_class_init (FoFloatClass *klass); static void fo_float_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_float_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_float_finalize (GObject *object); static void fo_float_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; GType fo_float_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoFloatClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_float_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoFloat), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_neutral_fo_info = { NULL, NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoFloat", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_NEUTRAL_FO, &fo_neutral_fo_info); } return object_type; } static void fo_float_class_init (FoFloatClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_float_finalize; object_class->set_property = fo_float_set_property; object_class->get_property = fo_float_get_property; FO_FO_CLASS (klass)->debug_dump_properties = fo_float_debug_dump_properties; } static void fo_float_finalize (GObject *object) { FoFloat *fo_float; fo_float = FO_FLOAT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } static void fo_float_set_property (GObject *object, guint prop_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { FoFloat *fo_float; fo_float = FO_FLOAT (object); switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void fo_float_get_property (GObject *object, guint prop_id, GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { FoFloat *fo_float; fo_float = FO_FLOAT (object); switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_float_new: * * Creates a new #FoFloat initialized to default value. * * Return value: the new #FoFloat **/ FoFo* fo_float_new (void) { return FO_FO (g_object_new (fo_float_get_type (), NULL)); } void fo_float_debug_dump_properties (FoFo *fo, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FLOAT (fo)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s(No properties)", indent); g_free (indent); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-float.h0000644000175000017500000000177510646437674013527 00000000000000/* Fo * fo-float.h: Float formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FLOAT_H__ #define __FO_FLOAT_H__ #include G_BEGIN_DECLS typedef struct _FoFloat FoFloat; typedef struct _FoFloatClass FoFloatClass; #define FO_TYPE_FLOAT (fo_float_get_type ()) #define FO_FLOAT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_FLOAT, FoFloat)) #define FO_FLOAT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_FLOAT, FoFloatClass)) #define FO_IS_FLOAT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_FLOAT)) #define FO_IS_FLOAT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_FLOAT)) #define FO_FLOAT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_FLOAT, FoFloatClass)) GType fo_float_get_type (void) G_GNUC_CONST; FoFo * fo_float_new (void); G_END_DECLS #endif /* !__FO_FLOAT_H__ */ xmlroff-0.6.2/libfo/fo/fo-flow.c0000644000175000017500000002535310660107744013346 00000000000000/* Fo * fo-flow.c: 'flow' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include "fo/fo-flow-private.h" #include "property/fo-property-flow-name.h" #include "fo/fo-flow-area.h" #include "fo/fo-simple-page-master.h" #include "fo/fo-page-sequence-private.h" #include "fo/fo-region-body.h" enum { PROP_0, PROP_FLOW_NAME }; static void fo_flow_class_init (FoFlowClass *klass); static void fo_flow_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_flow_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_flow_finalize (GObject *object); static gboolean fo_flow_validate_content (FoFo *fo, GError **error); static void fo_flow_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_flow_update_from_context (FoFo *fo, FoContext *context); static void fo_flow_debug_dump_properties (FoFo *fo, gint depth); static const gchar class_name[] = "FoFlow"; static gpointer parent_class; /** * fo_flow_get_type: * * Register the #FoFlow object type. * * Return value: #GType value of the #FoFlow object type. **/ GType fo_flow_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoFlowClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_flow_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoFlow), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, class_name, &object_info, 0); } return object_type; } /** * fo_flow_class_init: * @klass: #FoFlowClass object to initialise. * * Implements #GClassInitFunc for #FoFlowClass. **/ void fo_flow_class_init (FoFlowClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_flow_finalize; object_class->get_property = fo_flow_get_property; object_class->set_property = fo_flow_set_property; fofo_class->validate_content = fo_flow_validate_content; fofo_class->validate2 = fo_flow_validate; fofo_class->update_from_context = fo_flow_update_from_context; fofo_class->debug_dump_properties = fo_flow_debug_dump_properties; fofo_class->area_new2 = fo_flow_area_new2; g_object_class_install_property (object_class, PROP_FLOW_NAME, g_param_spec_object ("flow-name", _("Flow Name"), _("Flow Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_flow_finalize: * @object: #FoFlow object to finalize. * * Implements #GObjectFinalizeFunc for #FoFlow. **/ void fo_flow_finalize (GObject *object) { FoFlow *fo_flow; fo_flow = FO_FLOW (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_flow_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoFlow. **/ void fo_flow_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_FLOW_NAME: g_value_set_object (value, G_OBJECT (fo_flow_get_flow_name (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_flow_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoFlow. **/ void fo_flow_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_FLOW_NAME: fo_flow_set_flow_name (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_flow_new: * * Creates a new #FoFlow initialized to default value. * * Return value: the new #FoFlow. **/ FoFo* fo_flow_new (void) { return FO_FO (g_object_new (fo_flow_get_type (), NULL)); } /** * fo_flow_validate_content: * @fo: #FoFlow object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_flow_validate_content (FoFo *fo, GError **error) { g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_FLOW (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_fo_trim_whitespace_children (fo); return fo_fo_validate_content_block_plus (fo, error); } /** * fo_flow_validate: * @fo: #FoFlow object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_flow_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoFlow *fo_flow; FoPageSequence *page_sequence; FoFo *region_master; FoDatatype *flow_name_datatype; gchar *flow_name; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FLOW (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_flow = FO_FLOW (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); flow_name_datatype = fo_property_get_value (fo_flow_get_flow_name (fo)); if (flow_name_datatype == NULL) { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE_NULL, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE_NULL]), "flow-name"); } flow_name = fo_name_get_value (flow_name_datatype); /* if (fo->parent) page_sequence = FO_PAGE_SEQUENCE (fo->parent); else */ page_sequence = FO_PAGE_SEQUENCE (fo_node_parent (FO_NODE (fo))); if (page_sequence != NULL) { region_master = fo_simple_page_master_region_name_get (page_sequence->page_master, flow_name); /* g_print ("Master: %s\n", fo_object_sprintf (page_master)); fo_object_debug_dump (page_master, 0); */ fo_flow->region_master = region_master; } else { g_assert_not_reached(); } fo_context_set_writing_mode (current_context, fo_region_body_get_writing_mode (fo_flow->region_master)); } /** * fo_flow_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_flow_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FLOW (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_flow_set_flow_name (fo, fo_context_get_flow_name (context)); } /** * fo_flow_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_flow_debug_dump_properties (FoFo *fo, gint depth) { FoFlow *fo_flow; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FLOW (fo)); fo_flow = FO_FLOW (fo); fo_object_debug_dump (fo_flow->flow_name, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_flow_get_region_master: * @fo_fo: The @FoFlow object * * Gets the #region_master instance variable of @flow * * Return value: The "region_master" value **/ FoFo* fo_flow_get_region_master (FoFo *fo_fo) { g_return_val_if_fail (fo_fo != NULL, NULL); g_return_val_if_fail (FO_IS_FLOW (fo_fo), NULL); return FO_FLOW (fo_fo)->region_master; } /** * fo_flow_get_flow_name: * @fo_fo: The @FoFo object. * * Gets the "flow-name" property of @fo_fo. * * Return value: The "flow-name" property value. **/ FoProperty* fo_flow_get_flow_name (FoFo *fo_fo) { FoFlow *fo_flow = (FoFlow *) fo_fo; g_return_val_if_fail (fo_flow != NULL, NULL); g_return_val_if_fail (FO_IS_FLOW (fo_flow), NULL); return fo_flow->flow_name; } /** * fo_flow_set_flow_name: * @fo_fo: The #FoFo object. * @new_flow_name: The new "flow-name" property value. * * Sets the "flow-name" property of @fo_fo to @new_flow_name. **/ void fo_flow_set_flow_name (FoFo *fo_fo, FoProperty *new_flow_name) { FoFlow *fo_flow = (FoFlow *) fo_fo; g_return_if_fail (fo_flow != NULL); g_return_if_fail (FO_IS_FLOW (fo_flow)); g_return_if_fail (FO_IS_PROPERTY_FLOW_NAME (new_flow_name)); if (new_flow_name != NULL) { g_object_ref (new_flow_name); } if (fo_flow->flow_name != NULL) { g_object_unref (fo_flow->flow_name); } fo_flow->flow_name = new_flow_name; /*g_object_notify (G_OBJECT (fo_flow), "flow-name");*/ } xmlroff-0.6.2/libfo/fo/fo-flow.h0000644000175000017500000000264310643167375013357 00000000000000/* Fo * fo-flow.h: 'flow' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FLOW_H__ #define __FO_FLOW_H__ #include #include #include G_BEGIN_DECLS /** * FoFlow: * * Instance of the 'flow' formatting object. **/ typedef struct _FoFlow FoFlow; /** * FoFlowClass: * * Class structure for the 'flow' formatting object. **/ typedef struct _FoFlowClass FoFlowClass; #define FO_TYPE_FLOW (fo_flow_get_type ()) #define FO_FLOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_FLOW, FoFlow)) #define FO_FLOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_FLOW, FoFlowClass)) #define FO_IS_FLOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_FLOW)) #define FO_IS_FLOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_FLOW)) #define FO_FLOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_FLOW, FoFlowClass)) GType fo_flow_get_type (void) G_GNUC_CONST; FoFo * fo_flow_new (void); FoFo * fo_flow_get_region_master (FoFo *fo_fo); FoProperty * fo_flow_get_flow_name (FoFo *fo_fo); void fo_flow_set_flow_name (FoFo *fo_fo, FoProperty *new_flow_name); G_END_DECLS #endif /* !__FO_FLOW_H__ */ xmlroff-0.6.2/libfo/fo/fo-flow-private.h0000644000175000017500000000112210643167376015017 00000000000000/* Fo * fo-flow-private.h: Structures private to 'flow' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FLOW_PRIVATE_H__ #define __FO_FLOW_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoFlow { FoMarkerParent parent_instance; FoFo *region_master; FoProperty *flow_name; }; struct _FoFlowClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_FLOW_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-footnote.c0000644000175000017500000002712311054604422014222 00000000000000/* Fo * fo-footnote.c: Footnote formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-inline-fo.h" #include "fo-footnote.h" #include "fo-footnote-private.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_footnote_class_init (FoFootnoteClass *klass); static void fo_footnote_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_footnote_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_footnote_finalize (GObject *object); static gboolean fo_footnote_validate_content (FoFo *fo, GError **error); static void fo_footnote_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context); static void fo_footnote_update_from_context (FoFo *fo, FoContext *context); static void fo_footnote_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_footnote_get_type: * @void: * * Register the FoFootnote object type. * * Return value: GType value of the FoFootnote object type. **/ GType fo_footnote_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoFootnoteClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_footnote_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoFootnote), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { NULL, NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoFootnote", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_footnote_class_init: * @klass: FoFootnoteClass object to initialise * * Implements GClassInitFunc for FoFootnoteClass **/ void fo_footnote_class_init (FoFootnoteClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_footnote_finalize; object_class->set_property = fo_footnote_set_property; object_class->get_property = fo_footnote_get_property; FO_FO_CLASS (klass)->validate_content = fo_footnote_validate_content; FO_FO_CLASS (klass)->validate = fo_footnote_validate; FO_FO_CLASS (klass)->update_from_context = fo_footnote_update_from_context; FO_FO_CLASS (klass)->debug_dump_properties = fo_footnote_debug_dump_properties; g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_footnote_finalize: * @object: FoFootnote object to finalize * * Implements GObjectFinalizeFunc for FoFootnote **/ void fo_footnote_finalize (GObject *object) { FoFootnote *fo_footnote; fo_footnote = FO_FOOTNOTE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_footnote_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoFootnote **/ void fo_footnote_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ROLE: fo_footnote_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_footnote_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_footnote_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoFootnote **/ void fo_footnote_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_footnote_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_footnote_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_footnote_new: * * Creates a new #FoFootnote initialized to default value. * * Return value: the new #FoFootnote **/ FoFo* fo_footnote_new (void) { return FO_FO (g_object_new (fo_footnote_get_type (), NULL)); } /** * fo_footnote_validate_content: * @fo: FoFootnote object to validate * @error: GError indicating error condition, if any * * Validate the content model, i.e., the structure, of the object. * Return value matches GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not **/ gboolean fo_footnote_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_FOOTNOTE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_footnote_validate: * @fo: FoFootnote object to validate * @current_context: FoContext associated with current object * @parent_context: FoContext associated with parent FO * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values **/ void fo_footnote_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context) { FoFootnote *fo_footnote; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FOOTNOTE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); fo_footnote = FO_FOOTNOTE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_footnote_update_from_context: * @fo: The #FoFo object * @context: The #FoContext object from which to update the properties of @fo * * Sets the properties of @fo to the corresponding property values in @context **/ void fo_footnote_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FOOTNOTE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_footnote_set_role (fo, fo_context_get_role (context)); fo_footnote_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_footnote_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_footnote_debug_dump_properties (FoFo *fo, gint depth) { FoFootnote *fo_footnote; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FOOTNOTE (fo)); fo_footnote = FO_FOOTNOTE (fo); fo_object_debug_dump (fo_footnote->role, depth); fo_object_debug_dump (fo_footnote->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_footnote_set_role: * @fo_fo: The @FoFo object * @new_role: The new "role" property value * * Sets the #role property of @footnote to @new_role **/ void fo_footnote_set_role (FoFo *fo_fo, FoProperty *new_role) { FoFootnote *fo_footnote = (FoFootnote *) fo_fo; g_return_if_fail (fo_footnote != NULL); g_return_if_fail (FO_IS_FOOTNOTE (fo_footnote)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role) g_object_ref (G_OBJECT (new_role)); if (fo_footnote->role) g_object_unref (G_OBJECT (fo_footnote->role)); fo_footnote->role = new_role; /*g_object_notify (G_OBJECT (fo_footnote), "role");*/ } /** * fo_footnote_get_role: * @fo_fo: The @FoFo object * * Gets the #role property of @footnote * * Return value: The "role" property value **/ FoProperty* fo_footnote_get_role (FoFo *fo_fo) { FoFootnote *fo_footnote = (FoFootnote *) fo_fo; g_return_val_if_fail (fo_footnote != NULL, NULL); g_return_val_if_fail (FO_IS_FOOTNOTE (fo_footnote), NULL); return fo_footnote->role; } /** * fo_footnote_set_source_document: * @fo_fo: The @FoFo object * @new_source_document: The new "source-document" property value * * Sets the #source-document property of @footnote to @new_source_document **/ void fo_footnote_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoFootnote *fo_footnote = (FoFootnote *) fo_fo; g_return_if_fail (fo_footnote != NULL); g_return_if_fail (FO_IS_FOOTNOTE (fo_footnote)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document) g_object_ref (G_OBJECT (new_source_document)); if (fo_footnote->source_document) g_object_unref (G_OBJECT (fo_footnote->source_document)); fo_footnote->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_footnote), "source-document");*/ } /** * fo_footnote_get_source_document: * @fo_fo: The @FoFo object * * Gets the #source-document property of @footnote * * Return value: The "source-document" property value **/ FoProperty* fo_footnote_get_source_document (FoFo *fo_fo) { FoFootnote *fo_footnote = (FoFootnote *) fo_fo; g_return_val_if_fail (fo_footnote != NULL, NULL); g_return_val_if_fail (FO_IS_FOOTNOTE (fo_footnote), NULL); return fo_footnote->source_document; } xmlroff-0.6.2/libfo/fo/fo-footnote.h0000644000175000017500000000267010643167376014246 00000000000000/* Fo * fo-footnote.h: Footnote formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FOOTNOTE_H__ #define __FO_FOOTNOTE_H__ #include #include G_BEGIN_DECLS typedef struct _FoFootnote FoFootnote; typedef struct _FoFootnoteClass FoFootnoteClass; #define FO_TYPE_FOOTNOTE (fo_footnote_get_type ()) #define FO_FOOTNOTE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_FOOTNOTE, FoFootnote)) #define FO_FOOTNOTE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_FOOTNOTE, FoFootnoteClass)) #define FO_IS_FOOTNOTE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_FOOTNOTE)) #define FO_IS_FOOTNOTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_FOOTNOTE)) #define FO_FOOTNOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_FOOTNOTE, FoFootnoteClass)) GType fo_footnote_get_type (void) G_GNUC_CONST; FoFo *fo_footnote_new (void); void fo_footnote_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty *fo_footnote_get_role (FoFo *fo_fo); void fo_footnote_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty *fo_footnote_get_source_document (FoFo *fo_fo); G_END_DECLS #endif /* !__FO_FOOTNOTE_H__ */ xmlroff-0.6.2/libfo/fo/fo-footnote-private.h0000644000175000017500000000073710643167376015720 00000000000000/* Fo * fo-footnote-private.h: Structures private to Footnote formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include struct _FoFootnote { FoFo parent_instance; FoProperty *role; FoProperty *source_document; }; struct _FoFootnoteClass { FoFoClass parent_class; }; xmlroff-0.6.2/libfo/fo/fo-footnote-body.c0000644000175000017500000003045010660107745015162 00000000000000/* Fo * fo-footnote-body.c: 'footnote-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-footnote-body-private.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_footnote_body_class_init (FoFootnoteBodyClass *klass); static void fo_footnote_body_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_footnote_body_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_footnote_body_finalize (GObject *object); static gboolean fo_footnote_body_validate_content (FoFo *fo, GError **error); static void fo_footnote_body_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_footnote_body_update_from_context (FoFo *fo, FoContext *context); static void fo_footnote_body_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_footnote_body_get_type: * * Register the #FoFootnoteBody object type. * * Return value: #GType value of the #FoFootnoteBody object type. **/ GType fo_footnote_body_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoFootnoteBodyClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_footnote_body_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoFootnoteBody), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoFootnoteBody", &object_info, 0); } return object_type; } /** * fo_footnote_body_class_init: * @klass: #FoFootnoteBodyClass object to initialise. * * Implements #GClassInitFunc for #FoFootnoteBodyClass. **/ void fo_footnote_body_class_init (FoFootnoteBodyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_footnote_body_finalize; object_class->get_property = fo_footnote_body_get_property; object_class->set_property = fo_footnote_body_set_property; fofo_class->validate_content = fo_footnote_body_validate_content; fofo_class->validate2 = fo_footnote_body_validate; fofo_class->update_from_context = fo_footnote_body_update_from_context; fofo_class->debug_dump_properties = fo_footnote_body_debug_dump_properties; g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_footnote_body_finalize: * @object: #FoFootnoteBody object to finalize. * * Implements #GObjectFinalizeFunc for #FoFootnoteBody. **/ void fo_footnote_body_finalize (GObject *object) { FoFootnoteBody *fo_footnote_body; fo_footnote_body = FO_FOOTNOTE_BODY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_footnote_body_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoFootnoteBody. **/ void fo_footnote_body_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_footnote_body_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_footnote_body_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_footnote_body_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoFootnoteBody. **/ void fo_footnote_body_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ROLE: fo_footnote_body_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_footnote_body_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_footnote_body_new: * * Creates a new #FoFootnoteBody initialized to default value. * * Return value: the new #FoFootnoteBody. **/ FoFo* fo_footnote_body_new (void) { return FO_FO (g_object_new (fo_footnote_body_get_type (), NULL)); } /** * fo_footnote_body_validate_content: * @fo: #FoFootnoteBody object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_footnote_body_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_FOOTNOTE_BODY (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_footnote_body_validate: * @fo: #FoFootnoteBody object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_footnote_body_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoFootnoteBody *fo_footnote_body; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FOOTNOTE_BODY (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_footnote_body = FO_FOOTNOTE_BODY (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_footnote_body_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_footnote_body_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FOOTNOTE_BODY (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_footnote_body_set_role (fo, fo_context_get_role (context)); fo_footnote_body_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_footnote_body_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_footnote_body_debug_dump_properties (FoFo *fo, gint depth) { FoFootnoteBody *fo_footnote_body; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FOOTNOTE_BODY (fo)); fo_footnote_body = FO_FOOTNOTE_BODY (fo); fo_object_debug_dump (fo_footnote_body->role, depth); fo_object_debug_dump (fo_footnote_body->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_footnote_body_get_role: * @fo_fo: The @FoFo object. * * Gets the "role" property of @fo_fo. * * Return value: The "role" property value. **/ FoProperty* fo_footnote_body_get_role (FoFo *fo_fo) { FoFootnoteBody *fo_footnote_body = (FoFootnoteBody *) fo_fo; g_return_val_if_fail (fo_footnote_body != NULL, NULL); g_return_val_if_fail (FO_IS_FOOTNOTE_BODY (fo_footnote_body), NULL); return fo_footnote_body->role; } /** * fo_footnote_body_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_footnote_body_set_role (FoFo *fo_fo, FoProperty *new_role) { FoFootnoteBody *fo_footnote_body = (FoFootnoteBody *) fo_fo; g_return_if_fail (fo_footnote_body != NULL); g_return_if_fail (FO_IS_FOOTNOTE_BODY (fo_footnote_body)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_footnote_body->role != NULL) { g_object_unref (fo_footnote_body->role); } fo_footnote_body->role = new_role; /*g_object_notify (G_OBJECT (fo_footnote_body), "role");*/ } /** * fo_footnote_body_get_source_document: * @fo_fo: The @FoFo object. * * Gets the "source-document" property of @fo_fo. * * Return value: The "source-document" property value. **/ FoProperty* fo_footnote_body_get_source_document (FoFo *fo_fo) { FoFootnoteBody *fo_footnote_body = (FoFootnoteBody *) fo_fo; g_return_val_if_fail (fo_footnote_body != NULL, NULL); g_return_val_if_fail (FO_IS_FOOTNOTE_BODY (fo_footnote_body), NULL); return fo_footnote_body->source_document; } /** * fo_footnote_body_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_footnote_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoFootnoteBody *fo_footnote_body = (FoFootnoteBody *) fo_fo; g_return_if_fail (fo_footnote_body != NULL); g_return_if_fail (FO_IS_FOOTNOTE_BODY (fo_footnote_body)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_footnote_body->source_document != NULL) { g_object_unref (fo_footnote_body->source_document); } fo_footnote_body->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_footnote_body), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-footnote-body.h0000644000175000017500000000325710643167376015203 00000000000000/* Fo * fo-footnote_body.h: 'footnote-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FOOTNOTE_BODY_H__ #define __FO_FOOTNOTE_BODY_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoFootnoteBody FoFootnoteBody; typedef struct _FoFootnoteBodyClass FoFootnoteBodyClass; #define FO_TYPE_FOOTNOTE_BODY (fo_footnote_body_get_type ()) #define FO_FOOTNOTE_BODY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_FOOTNOTE_BODY, FoFootnoteBody)) #define FO_FOOTNOTE_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_FOOTNOTE_BODY, FoFootnoteBodyClass)) #define FO_IS_FOOTNOTE_BODY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_FOOTNOTE_BODY)) #define FO_IS_FOOTNOTE_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_FOOTNOTE_BODY)) #define FO_FOOTNOTE_BODY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_FOOTNOTE_BODY, FoFootnoteBodyClass)) GType fo_footnote_body_get_type (void) G_GNUC_CONST; FoFo * fo_footnote_body_new (void); FoProperty * fo_footnote_body_get_role (FoFo *fo_fo); void fo_footnote_body_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_footnote_body_get_source_document (FoFo *fo_fo); void fo_footnote_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_FOOTNOTE_BODY_H__ */ xmlroff-0.6.2/libfo/fo/fo-footnote-body-private.h0000644000175000017500000000116610643167376016650 00000000000000/* Fo * fo-footnote-body-private.h: Structures private to 'footnote-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_FOOTNOTE_BODY_PRIVATE_H__ #define __FO_FOOTNOTE_BODY_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoFootnoteBody { FoFo parent_instance; FoProperty *role; FoProperty *source_document; }; struct _FoFootnoteBodyClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_FOOTNOTE_BODY_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-initial-property-set.c0000644000175000017500000034006610660107745016505 00000000000000/* Fo * fo-initial-property-set.c: 'initial-property-set' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-initial-property-set.h" #include "fo-initial-property-set-private.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-color.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-id.h" #include "property/fo-property-line-height.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-score-spaces.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_COLOR, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_ID, PROP_LINE_HEIGHT, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SCORE_SPACES, PROP_SOURCE_DOCUMENT }; static void fo_initial_property_set_class_init (FoInitialPropertySetClass *klass); static void fo_initial_property_set_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_initial_property_set_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_initial_property_set_finalize (GObject *object); static gboolean fo_initial_property_set_validate_content (FoFo *fo, GError **error); static void fo_initial_property_set_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_initial_property_set_update_from_context (FoFo *fo, FoContext *context); static void fo_initial_property_set_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_initial_property_set_get_type: * * Register the #FoInitialPropertySet object type. * * Return value: #GType value of the #FoInitialPropertySet object type. **/ GType fo_initial_property_set_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoInitialPropertySetClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_initial_property_set_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoInitialPropertySet), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoInitialPropertySet", &object_info, 0); } return object_type; } /** * fo_initial_property_set_class_init: * @klass: #FoInitialPropertySetClass object to initialise. * * Implements #GClassInitFunc for #FoInitialPropertySetClass. **/ void fo_initial_property_set_class_init (FoInitialPropertySetClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_initial_property_set_finalize; object_class->get_property = fo_initial_property_set_get_property; object_class->set_property = fo_initial_property_set_set_property; fofo_class->validate_content = fo_initial_property_set_validate_content; fofo_class->validate2 = fo_initial_property_set_validate; fofo_class->update_from_context = fo_initial_property_set_update_from_context; fofo_class->debug_dump_properties = fo_initial_property_set_debug_dump_properties; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCORE_SPACES, g_param_spec_object ("score-spaces", _("Score Spaces"), _("Score Spaces property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_initial_property_set_finalize: * @object: #FoInitialPropertySet object to finalize. * * Implements #GObjectFinalizeFunc for #FoInitialPropertySet. **/ void fo_initial_property_set_finalize (GObject *object) { FoInitialPropertySet *fo_initial_property_set; fo_initial_property_set = FO_INITIAL_PROPERTY_SET (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_initial_property_set_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoInitialPropertySet. **/ void fo_initial_property_set_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_border_top_width (fo_fo))); break; case PROP_COLOR: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_color (fo_fo))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_font_family (fo_fo))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_font_size (fo_fo))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_font_stretch (fo_fo))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_font_style (fo_fo))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_font_variant (fo_fo))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_font_weight (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_id (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_line_height (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_role (fo_fo))); break; case PROP_SCORE_SPACES: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_score_spaces (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_initial_property_set_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_initial_property_set_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoInitialPropertySet. **/ void fo_initial_property_set_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_initial_property_set_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_initial_property_set_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_initial_property_set_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_initial_property_set_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_initial_property_set_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_initial_property_set_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_initial_property_set_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_initial_property_set_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_initial_property_set_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_initial_property_set_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_initial_property_set_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_initial_property_set_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_initial_property_set_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_initial_property_set_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_initial_property_set_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_initial_property_set_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_initial_property_set_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_initial_property_set_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_initial_property_set_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_initial_property_set_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_initial_property_set_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_initial_property_set_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_initial_property_set_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_initial_property_set_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_initial_property_set_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_initial_property_set_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_COLOR: fo_initial_property_set_set_color (fo_fo, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_initial_property_set_set_font_family (fo_fo, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_initial_property_set_set_font_size (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_initial_property_set_set_font_stretch (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_initial_property_set_set_font_style (fo_fo, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_initial_property_set_set_font_variant (fo_fo, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_initial_property_set_set_font_weight (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_initial_property_set_set_id (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_initial_property_set_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_initial_property_set_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_initial_property_set_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_initial_property_set_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_initial_property_set_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_initial_property_set_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_initial_property_set_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_initial_property_set_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_initial_property_set_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_initial_property_set_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SCORE_SPACES: fo_initial_property_set_set_score_spaces (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_initial_property_set_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_initial_property_set_new: * * Creates a new #FoInitialPropertySet initialized to default value. * * Return value: the new #FoInitialPropertySet. **/ FoFo* fo_initial_property_set_new (void) { return FO_FO (g_object_new (fo_initial_property_set_get_type (), NULL)); } /** * fo_initial_property_set_validate_content: * @fo: #FoInitialPropertySet object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not. **/ gboolean fo_initial_property_set_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_initial_property_set_validate: * @fo: #FoInitialPropertySet object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_initial_property_set_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoInitialPropertySet *fo_initial_property_set; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_initial_property_set = FO_INITIAL_PROPERTY_SET (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_initial_property_set_set_line_height (fo, fo_property_line_height_resolve (fo_initial_property_set->line_height, fo_initial_property_set->font_size)); } /** * fo_initial_property_set_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_initial_property_set_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_initial_property_set_set_background_color (fo, fo_context_get_background_color (context)); fo_initial_property_set_set_background_image (fo, fo_context_get_background_image (context)); fo_initial_property_set_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_initial_property_set_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_initial_property_set_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_initial_property_set_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_initial_property_set_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_initial_property_set_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_initial_property_set_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_initial_property_set_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_initial_property_set_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_initial_property_set_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_initial_property_set_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_initial_property_set_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_initial_property_set_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_initial_property_set_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_initial_property_set_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_initial_property_set_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_initial_property_set_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_initial_property_set_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_initial_property_set_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_initial_property_set_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_initial_property_set_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_initial_property_set_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_initial_property_set_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_initial_property_set_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_initial_property_set_set_color (fo, fo_context_get_color (context)); fo_initial_property_set_set_font_family (fo, fo_context_get_font_family (context)); fo_initial_property_set_set_font_size (fo, fo_context_get_font_size (context)); fo_initial_property_set_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_initial_property_set_set_font_style (fo, fo_context_get_font_style (context)); fo_initial_property_set_set_font_variant (fo, fo_context_get_font_variant (context)); fo_initial_property_set_set_font_weight (fo, fo_context_get_font_weight (context)); fo_initial_property_set_set_id (fo, fo_context_get_id (context)); fo_initial_property_set_set_line_height (fo, fo_context_get_line_height (context)); fo_initial_property_set_set_padding_after (fo, fo_context_get_padding_after (context)); fo_initial_property_set_set_padding_before (fo, fo_context_get_padding_before (context)); fo_initial_property_set_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_initial_property_set_set_padding_end (fo, fo_context_get_padding_end (context)); fo_initial_property_set_set_padding_left (fo, fo_context_get_padding_left (context)); fo_initial_property_set_set_padding_right (fo, fo_context_get_padding_right (context)); fo_initial_property_set_set_padding_start (fo, fo_context_get_padding_start (context)); fo_initial_property_set_set_padding_top (fo, fo_context_get_padding_top (context)); fo_initial_property_set_set_role (fo, fo_context_get_role (context)); fo_initial_property_set_set_score_spaces (fo, fo_context_get_score_spaces (context)); fo_initial_property_set_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_initial_property_set_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_initial_property_set_debug_dump_properties (FoFo *fo, gint depth) { FoInitialPropertySet *fo_initial_property_set; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo)); fo_initial_property_set = FO_INITIAL_PROPERTY_SET (fo); fo_object_debug_dump (fo_initial_property_set->background_color, depth); fo_object_debug_dump (fo_initial_property_set->background_image, depth); fo_object_debug_dump (fo_initial_property_set->border_after_color, depth); fo_object_debug_dump (fo_initial_property_set->border_after_style, depth); fo_object_debug_dump (fo_initial_property_set->border_after_width, depth); fo_object_debug_dump (fo_initial_property_set->border_before_color, depth); fo_object_debug_dump (fo_initial_property_set->border_before_style, depth); fo_object_debug_dump (fo_initial_property_set->border_before_width, depth); fo_object_debug_dump (fo_initial_property_set->border_bottom_color, depth); fo_object_debug_dump (fo_initial_property_set->border_bottom_style, depth); fo_object_debug_dump (fo_initial_property_set->border_bottom_width, depth); fo_object_debug_dump (fo_initial_property_set->border_end_color, depth); fo_object_debug_dump (fo_initial_property_set->border_end_style, depth); fo_object_debug_dump (fo_initial_property_set->border_end_width, depth); fo_object_debug_dump (fo_initial_property_set->border_left_color, depth); fo_object_debug_dump (fo_initial_property_set->border_left_style, depth); fo_object_debug_dump (fo_initial_property_set->border_left_width, depth); fo_object_debug_dump (fo_initial_property_set->border_right_color, depth); fo_object_debug_dump (fo_initial_property_set->border_right_style, depth); fo_object_debug_dump (fo_initial_property_set->border_right_width, depth); fo_object_debug_dump (fo_initial_property_set->border_start_color, depth); fo_object_debug_dump (fo_initial_property_set->border_start_style, depth); fo_object_debug_dump (fo_initial_property_set->border_start_width, depth); fo_object_debug_dump (fo_initial_property_set->border_top_color, depth); fo_object_debug_dump (fo_initial_property_set->border_top_style, depth); fo_object_debug_dump (fo_initial_property_set->border_top_width, depth); fo_object_debug_dump (fo_initial_property_set->color, depth); fo_object_debug_dump (fo_initial_property_set->font_family, depth); fo_object_debug_dump (fo_initial_property_set->font_size, depth); fo_object_debug_dump (fo_initial_property_set->font_stretch, depth); fo_object_debug_dump (fo_initial_property_set->font_style, depth); fo_object_debug_dump (fo_initial_property_set->font_variant, depth); fo_object_debug_dump (fo_initial_property_set->font_weight, depth); fo_object_debug_dump (fo_initial_property_set->id, depth); fo_object_debug_dump (fo_initial_property_set->line_height, depth); fo_object_debug_dump (fo_initial_property_set->padding_after, depth); fo_object_debug_dump (fo_initial_property_set->padding_before, depth); fo_object_debug_dump (fo_initial_property_set->padding_bottom, depth); fo_object_debug_dump (fo_initial_property_set->padding_end, depth); fo_object_debug_dump (fo_initial_property_set->padding_left, depth); fo_object_debug_dump (fo_initial_property_set->padding_right, depth); fo_object_debug_dump (fo_initial_property_set->padding_start, depth); fo_object_debug_dump (fo_initial_property_set->padding_top, depth); fo_object_debug_dump (fo_initial_property_set->role, depth); fo_object_debug_dump (fo_initial_property_set->score_spaces, depth); fo_object_debug_dump (fo_initial_property_set->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_initial_property_set_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty* fo_initial_property_set_get_background_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->background_color; } /** * fo_initial_property_set_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_initial_property_set_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_initial_property_set->background_color != NULL) { g_object_unref (fo_initial_property_set->background_color); } fo_initial_property_set->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "background-color");*/ } /** * fo_initial_property_set_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_initial_property_set_get_background_image (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->background_image; } /** * fo_initial_property_set_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_initial_property_set_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_initial_property_set->background_image != NULL) { g_object_unref (fo_initial_property_set->background_image); } fo_initial_property_set->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_initial_property_set), "background-image");*/ } /** * fo_initial_property_set_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_initial_property_set_get_border_after_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_after_color; } /** * fo_initial_property_set_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_initial_property_set_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_initial_property_set->border_after_color != NULL) { g_object_unref (fo_initial_property_set->border_after_color); } fo_initial_property_set->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-after-color");*/ } /** * fo_initial_property_set_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_initial_property_set_get_border_after_style (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_after_style; } /** * fo_initial_property_set_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_initial_property_set_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_initial_property_set->border_after_style != NULL) { g_object_unref (fo_initial_property_set->border_after_style); } fo_initial_property_set->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-after-style");*/ } /** * fo_initial_property_set_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_initial_property_set_get_border_after_width (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_after_width; } /** * fo_initial_property_set_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_initial_property_set_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_initial_property_set->border_after_width != NULL) { g_object_unref (fo_initial_property_set->border_after_width); } fo_initial_property_set->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-after-width");*/ } /** * fo_initial_property_set_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_initial_property_set_get_border_before_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_before_color; } /** * fo_initial_property_set_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_initial_property_set_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_initial_property_set->border_before_color != NULL) { g_object_unref (fo_initial_property_set->border_before_color); } fo_initial_property_set->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-before-color");*/ } /** * fo_initial_property_set_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_initial_property_set_get_border_before_style (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_before_style; } /** * fo_initial_property_set_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_initial_property_set_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_initial_property_set->border_before_style != NULL) { g_object_unref (fo_initial_property_set->border_before_style); } fo_initial_property_set->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-before-style");*/ } /** * fo_initial_property_set_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_initial_property_set_get_border_before_width (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_before_width; } /** * fo_initial_property_set_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_initial_property_set_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_initial_property_set->border_before_width != NULL) { g_object_unref (fo_initial_property_set->border_before_width); } fo_initial_property_set->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-before-width");*/ } /** * fo_initial_property_set_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_initial_property_set_get_border_bottom_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_bottom_color; } /** * fo_initial_property_set_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_initial_property_set_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_initial_property_set->border_bottom_color != NULL) { g_object_unref (fo_initial_property_set->border_bottom_color); } fo_initial_property_set->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-bottom-color");*/ } /** * fo_initial_property_set_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_initial_property_set_get_border_bottom_style (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_bottom_style; } /** * fo_initial_property_set_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_initial_property_set_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_initial_property_set->border_bottom_style != NULL) { g_object_unref (fo_initial_property_set->border_bottom_style); } fo_initial_property_set->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-bottom-style");*/ } /** * fo_initial_property_set_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_initial_property_set_get_border_bottom_width (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_bottom_width; } /** * fo_initial_property_set_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_initial_property_set_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_initial_property_set->border_bottom_width != NULL) { g_object_unref (fo_initial_property_set->border_bottom_width); } fo_initial_property_set->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-bottom-width");*/ } /** * fo_initial_property_set_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_initial_property_set_get_border_end_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_end_color; } /** * fo_initial_property_set_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_initial_property_set_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_initial_property_set->border_end_color != NULL) { g_object_unref (fo_initial_property_set->border_end_color); } fo_initial_property_set->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-end-color");*/ } /** * fo_initial_property_set_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_initial_property_set_get_border_end_style (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_end_style; } /** * fo_initial_property_set_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_initial_property_set_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_initial_property_set->border_end_style != NULL) { g_object_unref (fo_initial_property_set->border_end_style); } fo_initial_property_set->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-end-style");*/ } /** * fo_initial_property_set_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_initial_property_set_get_border_end_width (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_end_width; } /** * fo_initial_property_set_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_initial_property_set_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_initial_property_set->border_end_width != NULL) { g_object_unref (fo_initial_property_set->border_end_width); } fo_initial_property_set->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-end-width");*/ } /** * fo_initial_property_set_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_initial_property_set_get_border_left_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_left_color; } /** * fo_initial_property_set_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_initial_property_set_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_initial_property_set->border_left_color != NULL) { g_object_unref (fo_initial_property_set->border_left_color); } fo_initial_property_set->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-left-color");*/ } /** * fo_initial_property_set_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_initial_property_set_get_border_left_style (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_left_style; } /** * fo_initial_property_set_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_initial_property_set_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_initial_property_set->border_left_style != NULL) { g_object_unref (fo_initial_property_set->border_left_style); } fo_initial_property_set->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-left-style");*/ } /** * fo_initial_property_set_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_initial_property_set_get_border_left_width (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_left_width; } /** * fo_initial_property_set_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_initial_property_set_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_initial_property_set->border_left_width != NULL) { g_object_unref (fo_initial_property_set->border_left_width); } fo_initial_property_set->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-left-width");*/ } /** * fo_initial_property_set_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_initial_property_set_get_border_right_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_right_color; } /** * fo_initial_property_set_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_initial_property_set_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_initial_property_set->border_right_color != NULL) { g_object_unref (fo_initial_property_set->border_right_color); } fo_initial_property_set->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-right-color");*/ } /** * fo_initial_property_set_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_initial_property_set_get_border_right_style (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_right_style; } /** * fo_initial_property_set_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_initial_property_set_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_initial_property_set->border_right_style != NULL) { g_object_unref (fo_initial_property_set->border_right_style); } fo_initial_property_set->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-right-style");*/ } /** * fo_initial_property_set_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_initial_property_set_get_border_right_width (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_right_width; } /** * fo_initial_property_set_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_initial_property_set_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_initial_property_set->border_right_width != NULL) { g_object_unref (fo_initial_property_set->border_right_width); } fo_initial_property_set->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-right-width");*/ } /** * fo_initial_property_set_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_initial_property_set_get_border_start_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_start_color; } /** * fo_initial_property_set_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_initial_property_set_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_initial_property_set->border_start_color != NULL) { g_object_unref (fo_initial_property_set->border_start_color); } fo_initial_property_set->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-start-color");*/ } /** * fo_initial_property_set_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_initial_property_set_get_border_start_style (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_start_style; } /** * fo_initial_property_set_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_initial_property_set_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_initial_property_set->border_start_style != NULL) { g_object_unref (fo_initial_property_set->border_start_style); } fo_initial_property_set->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-start-style");*/ } /** * fo_initial_property_set_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_initial_property_set_get_border_start_width (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_start_width; } /** * fo_initial_property_set_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_initial_property_set_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_initial_property_set->border_start_width != NULL) { g_object_unref (fo_initial_property_set->border_start_width); } fo_initial_property_set->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-start-width");*/ } /** * fo_initial_property_set_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_initial_property_set_get_border_top_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_top_color; } /** * fo_initial_property_set_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_initial_property_set_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_initial_property_set->border_top_color != NULL) { g_object_unref (fo_initial_property_set->border_top_color); } fo_initial_property_set->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-top-color");*/ } /** * fo_initial_property_set_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_initial_property_set_get_border_top_style (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_top_style; } /** * fo_initial_property_set_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_initial_property_set_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_initial_property_set->border_top_style != NULL) { g_object_unref (fo_initial_property_set->border_top_style); } fo_initial_property_set->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-top-style");*/ } /** * fo_initial_property_set_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_initial_property_set_get_border_top_width (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->border_top_width; } /** * fo_initial_property_set_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_initial_property_set_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_initial_property_set->border_top_width != NULL) { g_object_unref (fo_initial_property_set->border_top_width); } fo_initial_property_set->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_initial_property_set), "border-top-width");*/ } /** * fo_initial_property_set_get_color: * @fo_fo: The @FoFo object * * Gets the "color" property of @fo_fo * * Return value: The "color" property value **/ FoProperty* fo_initial_property_set_get_color (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->color; } /** * fo_initial_property_set_set_color: * @fo_fo: The #FoFo object * @new_color: The new "color" property value * * Sets the "color" property of @fo_fo to @new_color **/ void fo_initial_property_set_set_color (FoFo *fo_fo, FoProperty *new_color) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_COLOR (new_color)); if (new_color != NULL) { g_object_ref (new_color); } if (fo_initial_property_set->color != NULL) { g_object_unref (fo_initial_property_set->color); } fo_initial_property_set->color = new_color; /*g_object_notify (G_OBJECT (fo_initial_property_set), "color");*/ } /** * fo_initial_property_set_get_font_family: * @fo_fo: The @FoFo object * * Gets the "font-family" property of @fo_fo * * Return value: The "font-family" property value **/ FoProperty* fo_initial_property_set_get_font_family (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->font_family; } /** * fo_initial_property_set_set_font_family: * @fo_fo: The #FoFo object * @new_font_family: The new "font-family" property value * * Sets the "font-family" property of @fo_fo to @new_font_family **/ void fo_initial_property_set_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family != NULL) { g_object_ref (new_font_family); } if (fo_initial_property_set->font_family != NULL) { g_object_unref (fo_initial_property_set->font_family); } fo_initial_property_set->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_initial_property_set), "font-family");*/ } /** * fo_initial_property_set_get_font_size: * @fo_fo: The @FoFo object * * Gets the "font-size" property of @fo_fo * * Return value: The "font-size" property value **/ FoProperty* fo_initial_property_set_get_font_size (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->font_size; } /** * fo_initial_property_set_set_font_size: * @fo_fo: The #FoFo object * @new_font_size: The new "font-size" property value * * Sets the "font-size" property of @fo_fo to @new_font_size **/ void fo_initial_property_set_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size != NULL) { g_object_ref (new_font_size); } if (fo_initial_property_set->font_size != NULL) { g_object_unref (fo_initial_property_set->font_size); } fo_initial_property_set->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_initial_property_set), "font-size");*/ } /** * fo_initial_property_set_get_font_stretch: * @fo_fo: The @FoFo object * * Gets the "font-stretch" property of @fo_fo * * Return value: The "font-stretch" property value **/ FoProperty* fo_initial_property_set_get_font_stretch (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->font_stretch; } /** * fo_initial_property_set_set_font_stretch: * @fo_fo: The #FoFo object * @new_font_stretch: The new "font-stretch" property value * * Sets the "font-stretch" property of @fo_fo to @new_font_stretch **/ void fo_initial_property_set_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch != NULL) { g_object_ref (new_font_stretch); } if (fo_initial_property_set->font_stretch != NULL) { g_object_unref (fo_initial_property_set->font_stretch); } fo_initial_property_set->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_initial_property_set), "font-stretch");*/ } /** * fo_initial_property_set_get_font_style: * @fo_fo: The @FoFo object * * Gets the "font-style" property of @fo_fo * * Return value: The "font-style" property value **/ FoProperty* fo_initial_property_set_get_font_style (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->font_style; } /** * fo_initial_property_set_set_font_style: * @fo_fo: The #FoFo object * @new_font_style: The new "font-style" property value * * Sets the "font-style" property of @fo_fo to @new_font_style **/ void fo_initial_property_set_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style != NULL) { g_object_ref (new_font_style); } if (fo_initial_property_set->font_style != NULL) { g_object_unref (fo_initial_property_set->font_style); } fo_initial_property_set->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_initial_property_set), "font-style");*/ } /** * fo_initial_property_set_get_font_variant: * @fo_fo: The @FoFo object * * Gets the "font-variant" property of @fo_fo * * Return value: The "font-variant" property value **/ FoProperty* fo_initial_property_set_get_font_variant (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->font_variant; } /** * fo_initial_property_set_set_font_variant: * @fo_fo: The #FoFo object * @new_font_variant: The new "font-variant" property value * * Sets the "font-variant" property of @fo_fo to @new_font_variant **/ void fo_initial_property_set_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant != NULL) { g_object_ref (new_font_variant); } if (fo_initial_property_set->font_variant != NULL) { g_object_unref (fo_initial_property_set->font_variant); } fo_initial_property_set->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_initial_property_set), "font-variant");*/ } /** * fo_initial_property_set_get_font_weight: * @fo_fo: The @FoFo object * * Gets the "font-weight" property of @fo_fo * * Return value: The "font-weight" property value **/ FoProperty* fo_initial_property_set_get_font_weight (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->font_weight; } /** * fo_initial_property_set_set_font_weight: * @fo_fo: The #FoFo object * @new_font_weight: The new "font-weight" property value * * Sets the "font-weight" property of @fo_fo to @new_font_weight **/ void fo_initial_property_set_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight != NULL) { g_object_ref (new_font_weight); } if (fo_initial_property_set->font_weight != NULL) { g_object_unref (fo_initial_property_set->font_weight); } fo_initial_property_set->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_initial_property_set), "font-weight");*/ } /** * fo_initial_property_set_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_initial_property_set_get_id (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->id; } /** * fo_initial_property_set_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_initial_property_set_set_id (FoFo *fo_fo, FoProperty *new_id) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_initial_property_set->id != NULL) { g_object_unref (fo_initial_property_set->id); } fo_initial_property_set->id = new_id; /*g_object_notify (G_OBJECT (fo_initial_property_set), "id");*/ } /** * fo_initial_property_set_get_line_height: * @fo_fo: The @FoFo object * * Gets the "line-height" property of @fo_fo * * Return value: The "line-height" property value **/ FoProperty* fo_initial_property_set_get_line_height (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->line_height; } /** * fo_initial_property_set_set_line_height: * @fo_fo: The #FoFo object * @new_line_height: The new "line-height" property value * * Sets the "line-height" property of @fo_fo to @new_line_height **/ void fo_initial_property_set_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_initial_property_set->line_height != NULL) { g_object_unref (fo_initial_property_set->line_height); } fo_initial_property_set->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_initial_property_set), "line-height");*/ } /** * fo_initial_property_set_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_initial_property_set_get_padding_after (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->padding_after; } /** * fo_initial_property_set_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_initial_property_set_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_initial_property_set->padding_after != NULL) { g_object_unref (fo_initial_property_set->padding_after); } fo_initial_property_set->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_initial_property_set), "padding-after");*/ } /** * fo_initial_property_set_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_initial_property_set_get_padding_before (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->padding_before; } /** * fo_initial_property_set_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_initial_property_set_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_initial_property_set->padding_before != NULL) { g_object_unref (fo_initial_property_set->padding_before); } fo_initial_property_set->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_initial_property_set), "padding-before");*/ } /** * fo_initial_property_set_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_initial_property_set_get_padding_bottom (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->padding_bottom; } /** * fo_initial_property_set_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_initial_property_set_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_initial_property_set->padding_bottom != NULL) { g_object_unref (fo_initial_property_set->padding_bottom); } fo_initial_property_set->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_initial_property_set), "padding-bottom");*/ } /** * fo_initial_property_set_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_initial_property_set_get_padding_end (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->padding_end; } /** * fo_initial_property_set_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_initial_property_set_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_initial_property_set->padding_end != NULL) { g_object_unref (fo_initial_property_set->padding_end); } fo_initial_property_set->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_initial_property_set), "padding-end");*/ } /** * fo_initial_property_set_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_initial_property_set_get_padding_left (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->padding_left; } /** * fo_initial_property_set_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_initial_property_set_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_initial_property_set->padding_left != NULL) { g_object_unref (fo_initial_property_set->padding_left); } fo_initial_property_set->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_initial_property_set), "padding-left");*/ } /** * fo_initial_property_set_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_initial_property_set_get_padding_right (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->padding_right; } /** * fo_initial_property_set_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_initial_property_set_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_initial_property_set->padding_right != NULL) { g_object_unref (fo_initial_property_set->padding_right); } fo_initial_property_set->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_initial_property_set), "padding-right");*/ } /** * fo_initial_property_set_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_initial_property_set_get_padding_start (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->padding_start; } /** * fo_initial_property_set_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_initial_property_set_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_initial_property_set->padding_start != NULL) { g_object_unref (fo_initial_property_set->padding_start); } fo_initial_property_set->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_initial_property_set), "padding-start");*/ } /** * fo_initial_property_set_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_initial_property_set_get_padding_top (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->padding_top; } /** * fo_initial_property_set_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_initial_property_set_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_initial_property_set->padding_top != NULL) { g_object_unref (fo_initial_property_set->padding_top); } fo_initial_property_set->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_initial_property_set), "padding-top");*/ } /** * fo_initial_property_set_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_initial_property_set_get_role (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->role; } /** * fo_initial_property_set_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_initial_property_set_set_role (FoFo *fo_fo, FoProperty *new_role) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_initial_property_set->role != NULL) { g_object_unref (fo_initial_property_set->role); } fo_initial_property_set->role = new_role; /*g_object_notify (G_OBJECT (fo_initial_property_set), "role");*/ } /** * fo_initial_property_set_get_score_spaces: * @fo_fo: The @FoFo object * * Gets the "score-spaces" property of @fo_fo * * Return value: The "score-spaces" property value **/ FoProperty* fo_initial_property_set_get_score_spaces (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->score_spaces; } /** * fo_initial_property_set_set_score_spaces: * @fo_fo: The #FoFo object * @new_score_spaces: The new "score-spaces" property value * * Sets the "score-spaces" property of @fo_fo to @new_score_spaces **/ void fo_initial_property_set_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_SCORE_SPACES (new_score_spaces)); if (new_score_spaces != NULL) { g_object_ref (new_score_spaces); } if (fo_initial_property_set->score_spaces != NULL) { g_object_unref (fo_initial_property_set->score_spaces); } fo_initial_property_set->score_spaces = new_score_spaces; /*g_object_notify (G_OBJECT (fo_initial_property_set), "score-spaces");*/ } /** * fo_initial_property_set_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_initial_property_set_get_source_document (FoFo *fo_fo) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_val_if_fail (fo_initial_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set), NULL); return fo_initial_property_set->source_document; } /** * fo_initial_property_set_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_initial_property_set_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoInitialPropertySet *fo_initial_property_set = (FoInitialPropertySet *) fo_fo; g_return_if_fail (fo_initial_property_set != NULL); g_return_if_fail (FO_IS_INITIAL_PROPERTY_SET (fo_initial_property_set)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_initial_property_set->source_document != NULL) { g_object_unref (fo_initial_property_set->source_document); } fo_initial_property_set->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_initial_property_set), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-initial-property-set.h0000644000175000017500000003037610643167376016521 00000000000000/* Fo * fo-initial_property_set.h: 'initial-property-set' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INITIAL_PROPERTY_SET_H__ #define __FO_INITIAL_PROPERTY_SET_H__ #include #include G_BEGIN_DECLS typedef struct _FoInitialPropertySet FoInitialPropertySet; typedef struct _FoInitialPropertySetClass FoInitialPropertySetClass; #define FO_TYPE_INITIAL_PROPERTY_SET (fo_initial_property_set_get_type ()) #define FO_INITIAL_PROPERTY_SET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_INITIAL_PROPERTY_SET, FoInitialPropertySet)) #define FO_INITIAL_PROPERTY_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_INITIAL_PROPERTY_SET, FoInitialPropertySetClass)) #define FO_IS_INITIAL_PROPERTY_SET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_INITIAL_PROPERTY_SET)) #define FO_IS_INITIAL_PROPERTY_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_INITIAL_PROPERTY_SET)) #define FO_INITIAL_PROPERTY_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_INITIAL_PROPERTY_SET, FoInitialPropertySetClass)) GType fo_initial_property_set_get_type (void) G_GNUC_CONST; FoFo *fo_initial_property_set_new (void); FoProperty * fo_initial_property_set_get_background_color (FoFo *fo_fo); void fo_initial_property_set_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_initial_property_set_get_background_image (FoFo *fo_fo); void fo_initial_property_set_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_initial_property_set_get_border_after_color (FoFo *fo_fo); void fo_initial_property_set_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_initial_property_set_get_border_after_style (FoFo *fo_fo); void fo_initial_property_set_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_initial_property_set_get_border_after_width (FoFo *fo_fo); void fo_initial_property_set_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_initial_property_set_get_border_before_color (FoFo *fo_fo); void fo_initial_property_set_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_initial_property_set_get_border_before_style (FoFo *fo_fo); void fo_initial_property_set_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_initial_property_set_get_border_before_width (FoFo *fo_fo); void fo_initial_property_set_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_initial_property_set_get_border_bottom_color (FoFo *fo_fo); void fo_initial_property_set_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_initial_property_set_get_border_bottom_style (FoFo *fo_fo); void fo_initial_property_set_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_initial_property_set_get_border_bottom_width (FoFo *fo_fo); void fo_initial_property_set_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_initial_property_set_get_border_end_color (FoFo *fo_fo); void fo_initial_property_set_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_initial_property_set_get_border_end_style (FoFo *fo_fo); void fo_initial_property_set_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_initial_property_set_get_border_end_width (FoFo *fo_fo); void fo_initial_property_set_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_initial_property_set_get_border_left_color (FoFo *fo_fo); void fo_initial_property_set_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_initial_property_set_get_border_left_style (FoFo *fo_fo); void fo_initial_property_set_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_initial_property_set_get_border_left_width (FoFo *fo_fo); void fo_initial_property_set_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_initial_property_set_get_border_right_color (FoFo *fo_fo); void fo_initial_property_set_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_initial_property_set_get_border_right_style (FoFo *fo_fo); void fo_initial_property_set_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_initial_property_set_get_border_right_width (FoFo *fo_fo); void fo_initial_property_set_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_initial_property_set_get_border_start_color (FoFo *fo_fo); void fo_initial_property_set_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_initial_property_set_get_border_start_style (FoFo *fo_fo); void fo_initial_property_set_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_initial_property_set_get_border_start_width (FoFo *fo_fo); void fo_initial_property_set_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_initial_property_set_get_border_top_color (FoFo *fo_fo); void fo_initial_property_set_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_initial_property_set_get_border_top_style (FoFo *fo_fo); void fo_initial_property_set_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_initial_property_set_get_border_top_width (FoFo *fo_fo); void fo_initial_property_set_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_initial_property_set_get_color (FoFo *fo_fo); void fo_initial_property_set_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_initial_property_set_get_font_family (FoFo *fo_fo); void fo_initial_property_set_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_initial_property_set_get_font_size (FoFo *fo_fo); void fo_initial_property_set_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_initial_property_set_get_font_stretch (FoFo *fo_fo); void fo_initial_property_set_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_initial_property_set_get_font_style (FoFo *fo_fo); void fo_initial_property_set_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_initial_property_set_get_font_variant (FoFo *fo_fo); void fo_initial_property_set_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_initial_property_set_get_font_weight (FoFo *fo_fo); void fo_initial_property_set_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_initial_property_set_get_id (FoFo *fo_fo); void fo_initial_property_set_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_initial_property_set_get_line_height (FoFo *fo_fo); void fo_initial_property_set_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_initial_property_set_get_padding_after (FoFo *fo_fo); void fo_initial_property_set_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_initial_property_set_get_padding_before (FoFo *fo_fo); void fo_initial_property_set_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_initial_property_set_get_padding_bottom (FoFo *fo_fo); void fo_initial_property_set_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_initial_property_set_get_padding_end (FoFo *fo_fo); void fo_initial_property_set_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_initial_property_set_get_padding_left (FoFo *fo_fo); void fo_initial_property_set_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_initial_property_set_get_padding_right (FoFo *fo_fo); void fo_initial_property_set_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_initial_property_set_get_padding_start (FoFo *fo_fo); void fo_initial_property_set_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_initial_property_set_get_padding_top (FoFo *fo_fo); void fo_initial_property_set_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_initial_property_set_get_role (FoFo *fo_fo); void fo_initial_property_set_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_initial_property_set_get_score_spaces (FoFo *fo_fo); void fo_initial_property_set_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_initial_property_set_get_source_document (FoFo *fo_fo); void fo_initial_property_set_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_INITIAL_PROPERTY_SET_H__ */ xmlroff-0.6.2/libfo/fo/fo-initial-property-set-private.h0000644000175000017500000000402310643167376020157 00000000000000/* Fo * fo-initial-property-set-private.h: Structures private to 'initial-property-set' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INITIAL_PROPERTY_SET_PRIVATE_H__ #define __FO_INITIAL_PROPERTY_SET_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoInitialPropertySet { FoFo parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *color; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *id; FoProperty *line_height; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *score_spaces; FoProperty *source_document; }; struct _FoInitialPropertySetClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_INITIAL_PROPERTY_SET_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-inline.c0000644000175000017500000044516410651113625013656 00000000000000/* Fo * fo-inline.c: 'inline' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-inline-fo.h" #include "fo-inline.h" #include "fo-inline-private.h" #include "fo-context-util.h" #include "property/fo-property-common-font.h" #include "property/fo-property-text-property.h" #include "property/fo-property-alignment-adjust.h" #include "property/fo-property-alignment-baseline.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-baseline-shift.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-color.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-height.h" #include "property/fo-property-id.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" #include "property/fo-property-width.h" #include "property/fo-property-wrap-option.h" enum { PROP_0, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_COLOR, PROP_DOMINANT_BASELINE, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_HEIGHT, PROP_ID, PROP_INLINE_PROGRESSION_DIMENSION, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_SPACE_END, PROP_SPACE_START, PROP_WIDTH, PROP_WRAP_OPTION }; static void fo_inline_class_init (FoInlineClass *klass); static void fo_inline_inline_fo_init (FoInlineFoIface *iface); static void fo_inline_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_inline_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_inline_finalize (GObject *object); static gboolean fo_inline_validate_content (FoFo *fo, GError **error); static void fo_inline_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_inline_update_from_context (FoFo *fo, FoContext *context); static void fo_inline_debug_dump_properties (FoFo *fo, gint depth); static void fo_inline_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_inline_get_type: * * Register the #FoInline object type. * * Return value: #GType value of the #FoInline object type. **/ GType fo_inline_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoInlineClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_inline_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoInline), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_inline_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoInline", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_inline_class_init: * @klass: #FoInlineClass object to initialise. * * Implements #GClassInitFunc for #FoInlineClass. **/ void fo_inline_class_init (FoInlineClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_inline_finalize; object_class->get_property = fo_inline_get_property; object_class->set_property = fo_inline_set_property; fofo_class->validate_content = fo_inline_validate_content; fofo_class->validate2 = fo_inline_validate; fofo_class->update_from_context = fo_inline_update_from_context; fofo_class->debug_dump_properties = fo_inline_debug_dump_properties; fofo_class->allow_mixed_content = TRUE; g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION, g_param_spec_object ("inline-progression-dimension", _("Inline Progression Dimension"), _("Inline Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRAP_OPTION, g_param_spec_object ("wrap-option", _("Wrap Option"), _("Wrap Option property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_inline_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_inline_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_inline_get_text_attr_list; } /** * fo_inline_finalize: * @object: #FoInline object to finalize. * * Implements #GObjectFinalizeFunc for #FoInline. **/ void fo_inline_finalize (GObject *object) { FoInline *fo_inline; fo_inline = FO_INLINE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_inline_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoInline. **/ void fo_inline_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_inline_get_alignment_adjust (fo_fo))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_inline_get_alignment_baseline (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_inline_get_background_image (fo_fo))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_inline_get_baseline_shift (fo_fo))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_inline_get_block_progression_dimension (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_get_border_top_width (fo_fo))); break; case PROP_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_get_color (fo_fo))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_inline_get_dominant_baseline (fo_fo))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_inline_get_font_family (fo_fo))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_inline_get_font_size (fo_fo))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_inline_get_font_stretch (fo_fo))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_get_font_style (fo_fo))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_inline_get_font_variant (fo_fo))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_inline_get_font_weight (fo_fo))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_inline_get_height (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_inline_get_id (fo_fo))); break; case PROP_INLINE_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_inline_get_inline_progression_dimension (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_inline_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_inline_get_line_height (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_inline_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_inline_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_inline_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_inline_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_inline_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_inline_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_inline_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_inline_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_inline_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_inline_get_source_document (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_inline_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_inline_get_space_start (fo_fo))); break; case PROP_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_get_width (fo_fo))); break; case PROP_WRAP_OPTION: g_value_set_object (value, G_OBJECT (fo_inline_get_wrap_option (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_inline_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoInline. **/ void fo_inline_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: fo_inline_set_alignment_adjust (fo_fo, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_inline_set_alignment_baseline (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_inline_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_inline_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_inline_set_baseline_shift (fo_fo, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_inline_set_block_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_inline_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_inline_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_inline_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_inline_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_inline_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_inline_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_inline_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_inline_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_inline_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_inline_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_inline_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_inline_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_inline_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_inline_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_inline_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_inline_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_inline_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_inline_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_inline_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_inline_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_inline_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_inline_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_inline_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_inline_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_COLOR: fo_inline_set_color (fo_fo, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_inline_set_dominant_baseline (fo_fo, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_inline_set_font_family (fo_fo, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_inline_set_font_size (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_inline_set_font_stretch (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_inline_set_font_style (fo_fo, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_inline_set_font_variant (fo_fo, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_inline_set_font_weight (fo_fo, g_value_get_object (value)); break; case PROP_HEIGHT: fo_inline_set_height (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_inline_set_id (fo_fo, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION: fo_inline_set_inline_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_inline_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_inline_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_inline_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_inline_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_inline_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_inline_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_inline_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_inline_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_inline_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_inline_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_inline_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_inline_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_inline_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_inline_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_inline_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_inline_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_inline_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_inline_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_inline_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_inline_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_inline_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_inline_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_inline_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_inline_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_inline_set_space_start (fo_fo, g_value_get_object (value)); break; case PROP_WIDTH: fo_inline_set_width (fo_fo, g_value_get_object (value)); break; case PROP_WRAP_OPTION: fo_inline_set_wrap_option (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_inline_new: * * Creates a new #FoInline initialized to default value. * * Return value: the new #FoInline. **/ FoFo* fo_inline_new (void) { return FO_FO (g_object_new (fo_inline_get_type (), NULL)); } /** * fo_inline_validate_content: * @fo: #FoInline object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not. **/ gboolean fo_inline_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_INLINE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_inline_validate: * @fo: #FoInline object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_inline_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoInline *fo_inline; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INLINE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_inline = FO_INLINE (fo); fo_context_util_dominant_baseline_resolve (current_context, parent_context); fo_context_util_height_width_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_inline_set_line_height (fo, fo_property_line_height_resolve (fo_inline->line_height, fo_inline->font_size)); } /** * fo_inline_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_inline_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INLINE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_inline_set_alignment_adjust (fo, fo_context_get_alignment_adjust (context)); fo_inline_set_alignment_baseline (fo, fo_context_get_alignment_baseline (context)); fo_inline_set_background_color (fo, fo_context_get_background_color (context)); fo_inline_set_background_image (fo, fo_context_get_background_image (context)); fo_inline_set_baseline_shift (fo, fo_context_get_baseline_shift (context)); fo_inline_set_block_progression_dimension (fo, fo_context_get_block_progression_dimension (context)); fo_inline_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_inline_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_inline_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_inline_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_inline_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_inline_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_inline_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_inline_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_inline_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_inline_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_inline_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_inline_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_inline_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_inline_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_inline_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_inline_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_inline_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_inline_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_inline_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_inline_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_inline_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_inline_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_inline_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_inline_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_inline_set_color (fo, fo_context_get_color (context)); fo_inline_set_dominant_baseline (fo, fo_context_get_dominant_baseline (context)); fo_inline_set_font_family (fo, fo_context_get_font_family (context)); fo_inline_set_font_size (fo, fo_context_get_font_size (context)); fo_inline_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_inline_set_font_style (fo, fo_context_get_font_style (context)); fo_inline_set_font_variant (fo, fo_context_get_font_variant (context)); fo_inline_set_font_weight (fo, fo_context_get_font_weight (context)); fo_inline_set_height (fo, fo_context_get_height (context)); fo_inline_set_id (fo, fo_context_get_id (context)); fo_inline_set_inline_progression_dimension (fo, fo_context_get_inline_progression_dimension (context)); fo_inline_set_keep_together (fo, fo_context_get_keep_together (context)); fo_inline_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_inline_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_inline_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_inline_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_inline_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_inline_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_inline_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_inline_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_inline_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_inline_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_inline_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_inline_set_line_height (fo, fo_context_get_line_height (context)); fo_inline_set_padding_after (fo, fo_context_get_padding_after (context)); fo_inline_set_padding_before (fo, fo_context_get_padding_before (context)); fo_inline_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_inline_set_padding_end (fo, fo_context_get_padding_end (context)); fo_inline_set_padding_left (fo, fo_context_get_padding_left (context)); fo_inline_set_padding_right (fo, fo_context_get_padding_right (context)); fo_inline_set_padding_start (fo, fo_context_get_padding_start (context)); fo_inline_set_padding_top (fo, fo_context_get_padding_top (context)); fo_inline_set_role (fo, fo_context_get_role (context)); fo_inline_set_source_document (fo, fo_context_get_source_document (context)); fo_inline_set_space_end (fo, fo_context_get_space_end (context)); fo_inline_set_space_start (fo, fo_context_get_space_start (context)); fo_inline_set_width (fo, fo_context_get_width (context)); fo_inline_set_wrap_option (fo, fo_context_get_wrap_option (context)); } /** * fo_inline_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_inline_debug_dump_properties (FoFo *fo, gint depth) { FoInline *fo_inline; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INLINE (fo)); fo_inline = FO_INLINE (fo); fo_object_debug_dump (fo_inline->alignment_adjust, depth); fo_object_debug_dump (fo_inline->alignment_baseline, depth); fo_object_debug_dump (fo_inline->background_color, depth); fo_object_debug_dump (fo_inline->background_image, depth); fo_object_debug_dump (fo_inline->baseline_shift, depth); fo_object_debug_dump (fo_inline->block_progression_dimension, depth); fo_object_debug_dump (fo_inline->border_after_color, depth); fo_object_debug_dump (fo_inline->border_after_style, depth); fo_object_debug_dump (fo_inline->border_after_width, depth); fo_object_debug_dump (fo_inline->border_before_color, depth); fo_object_debug_dump (fo_inline->border_before_style, depth); fo_object_debug_dump (fo_inline->border_before_width, depth); fo_object_debug_dump (fo_inline->border_bottom_color, depth); fo_object_debug_dump (fo_inline->border_bottom_style, depth); fo_object_debug_dump (fo_inline->border_bottom_width, depth); fo_object_debug_dump (fo_inline->border_end_color, depth); fo_object_debug_dump (fo_inline->border_end_style, depth); fo_object_debug_dump (fo_inline->border_end_width, depth); fo_object_debug_dump (fo_inline->border_left_color, depth); fo_object_debug_dump (fo_inline->border_left_style, depth); fo_object_debug_dump (fo_inline->border_left_width, depth); fo_object_debug_dump (fo_inline->border_right_color, depth); fo_object_debug_dump (fo_inline->border_right_style, depth); fo_object_debug_dump (fo_inline->border_right_width, depth); fo_object_debug_dump (fo_inline->border_start_color, depth); fo_object_debug_dump (fo_inline->border_start_style, depth); fo_object_debug_dump (fo_inline->border_start_width, depth); fo_object_debug_dump (fo_inline->border_top_color, depth); fo_object_debug_dump (fo_inline->border_top_style, depth); fo_object_debug_dump (fo_inline->border_top_width, depth); fo_object_debug_dump (fo_inline->color, depth); fo_object_debug_dump (fo_inline->dominant_baseline, depth); fo_object_debug_dump (fo_inline->font_family, depth); fo_object_debug_dump (fo_inline->font_size, depth); fo_object_debug_dump (fo_inline->font_stretch, depth); fo_object_debug_dump (fo_inline->font_style, depth); fo_object_debug_dump (fo_inline->font_variant, depth); fo_object_debug_dump (fo_inline->font_weight, depth); fo_object_debug_dump (fo_inline->height, depth); fo_object_debug_dump (fo_inline->id, depth); fo_object_debug_dump (fo_inline->inline_progression_dimension, depth); fo_object_debug_dump (fo_inline->keep_together, depth); fo_object_debug_dump (fo_inline->keep_together_within_column, depth); fo_object_debug_dump (fo_inline->keep_together_within_line, depth); fo_object_debug_dump (fo_inline->keep_together_within_page, depth); fo_object_debug_dump (fo_inline->keep_with_next, depth); fo_object_debug_dump (fo_inline->keep_with_next_within_column, depth); fo_object_debug_dump (fo_inline->keep_with_next_within_line, depth); fo_object_debug_dump (fo_inline->keep_with_next_within_page, depth); fo_object_debug_dump (fo_inline->keep_with_previous, depth); fo_object_debug_dump (fo_inline->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_inline->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_inline->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_inline->line_height, depth); fo_object_debug_dump (fo_inline->padding_after, depth); fo_object_debug_dump (fo_inline->padding_before, depth); fo_object_debug_dump (fo_inline->padding_bottom, depth); fo_object_debug_dump (fo_inline->padding_end, depth); fo_object_debug_dump (fo_inline->padding_left, depth); fo_object_debug_dump (fo_inline->padding_right, depth); fo_object_debug_dump (fo_inline->padding_start, depth); fo_object_debug_dump (fo_inline->padding_top, depth); fo_object_debug_dump (fo_inline->role, depth); fo_object_debug_dump (fo_inline->source_document, depth); fo_object_debug_dump (fo_inline->space_end, depth); fo_object_debug_dump (fo_inline->space_start, depth); fo_object_debug_dump (fo_inline->width, depth); fo_object_debug_dump (fo_inline->wrap_option, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_inline_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_inline_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { FoNode *fo_child_node; FoInline *fo_inline; GList *my_attr_glist = NULL; gint start_index, end_index; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline_fo)); fo_inline = FO_INLINE (fo_inline_fo); start_index = text->len; fo_child_node = fo_node_first_child (FO_NODE (fo_inline_fo)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, &my_attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } end_index = text->len; if (start_index != end_index) { PangoAttribute *pango_attr; my_attr_glist = g_list_concat (my_attr_glist, fo_property_common_font_get_pango_attrs (fo_inline->font_family, fo_inline->font_size, fo_inline->font_stretch, fo_inline->font_style, fo_inline->font_variant, fo_inline->font_weight, start_index, end_index)); pango_attr = fo_property_text_property_new_attr (fo_inline->baseline_shift); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); /* pango_attr = fo_property_text_property_new_attr (fo_inline->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ pango_attr = fo_property_text_property_new_attr (fo_inline->color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); if (FO_IS_COLOR (fo_property_get_value (fo_inline->background_color))) { pango_attr = fo_property_text_property_new_attr (fo_inline->background_color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); } /* pango_attr = fo_property_text_property_new_attr (fo_inline->alignment_adjust); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_inline->alignment_baseline); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr_from_context (fo_inline->dominant_baseline, fo_fo_get_context (fo_inline_fo)); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_inline->keep_together_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_inline->keep_with_next_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_inline->keep_with_previous_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ } *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } /** * fo_inline_get_alignment_adjust: * @fo_fo: The @FoFo object * * Gets the "alignment-adjust" property of @fo_fo * * Return value: The "alignment-adjust" property value **/ FoProperty* fo_inline_get_alignment_adjust (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->alignment_adjust; } /** * fo_inline_set_alignment_adjust: * @fo_fo: The #FoFo object * @new_alignment_adjust: The new "alignment-adjust" property value * * Sets the "alignment-adjust" property of @fo_fo to @new_alignment_adjust **/ void fo_inline_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_inline->alignment_adjust != NULL) { g_object_unref (fo_inline->alignment_adjust); } fo_inline->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_inline), "alignment-adjust");*/ } /** * fo_inline_get_alignment_baseline: * @fo_fo: The @FoFo object * * Gets the "alignment-baseline" property of @fo_fo * * Return value: The "alignment-baseline" property value **/ FoProperty* fo_inline_get_alignment_baseline (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->alignment_baseline; } /** * fo_inline_set_alignment_baseline: * @fo_fo: The #FoFo object * @new_alignment_baseline: The new "alignment-baseline" property value * * Sets the "alignment-baseline" property of @fo_fo to @new_alignment_baseline **/ void fo_inline_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_inline->alignment_baseline != NULL) { g_object_unref (fo_inline->alignment_baseline); } fo_inline->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_inline), "alignment-baseline");*/ } /** * fo_inline_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty* fo_inline_get_background_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->background_color; } /** * fo_inline_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_inline_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_inline->background_color != NULL) { g_object_unref (fo_inline->background_color); } fo_inline->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_inline), "background-color");*/ } /** * fo_inline_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_inline_get_background_image (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->background_image; } /** * fo_inline_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_inline_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_inline->background_image != NULL) { g_object_unref (fo_inline->background_image); } fo_inline->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_inline), "background-image");*/ } /** * fo_inline_get_baseline_shift: * @fo_fo: The @FoFo object * * Gets the "baseline-shift" property of @fo_fo * * Return value: The "baseline-shift" property value **/ FoProperty* fo_inline_get_baseline_shift (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->baseline_shift; } /** * fo_inline_set_baseline_shift: * @fo_fo: The #FoFo object * @new_baseline_shift: The new "baseline-shift" property value * * Sets the "baseline-shift" property of @fo_fo to @new_baseline_shift **/ void fo_inline_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_inline->baseline_shift != NULL) { g_object_unref (fo_inline->baseline_shift); } fo_inline->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_inline), "baseline-shift");*/ } /** * fo_inline_get_block_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "block-progression-dimension" property of @fo_fo * * Return value: The "block-progression-dimension" property value **/ FoProperty* fo_inline_get_block_progression_dimension (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->block_progression_dimension; } /** * fo_inline_set_block_progression_dimension: * @fo_fo: The #FoFo object * @new_block_progression_dimension: The new "block-progression-dimension" property value * * Sets the "block-progression-dimension" property of @fo_fo to @new_block_progression_dimension **/ void fo_inline_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_inline->block_progression_dimension != NULL) { g_object_unref (fo_inline->block_progression_dimension); } fo_inline->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_inline), "block-progression-dimension");*/ } /** * fo_inline_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_inline_get_border_after_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_after_color; } /** * fo_inline_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_inline_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_inline->border_after_color != NULL) { g_object_unref (fo_inline->border_after_color); } fo_inline->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_inline), "border-after-color");*/ } /** * fo_inline_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_inline_get_border_after_style (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_after_style; } /** * fo_inline_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_inline_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_inline->border_after_style != NULL) { g_object_unref (fo_inline->border_after_style); } fo_inline->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_inline), "border-after-style");*/ } /** * fo_inline_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_inline_get_border_after_width (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_after_width; } /** * fo_inline_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_inline_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_inline->border_after_width != NULL) { g_object_unref (fo_inline->border_after_width); } fo_inline->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_inline), "border-after-width");*/ } /** * fo_inline_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_inline_get_border_before_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_before_color; } /** * fo_inline_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_inline_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_inline->border_before_color != NULL) { g_object_unref (fo_inline->border_before_color); } fo_inline->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_inline), "border-before-color");*/ } /** * fo_inline_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_inline_get_border_before_style (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_before_style; } /** * fo_inline_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_inline_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_inline->border_before_style != NULL) { g_object_unref (fo_inline->border_before_style); } fo_inline->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_inline), "border-before-style");*/ } /** * fo_inline_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_inline_get_border_before_width (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_before_width; } /** * fo_inline_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_inline_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_inline->border_before_width != NULL) { g_object_unref (fo_inline->border_before_width); } fo_inline->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_inline), "border-before-width");*/ } /** * fo_inline_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_inline_get_border_bottom_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_bottom_color; } /** * fo_inline_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_inline_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_inline->border_bottom_color != NULL) { g_object_unref (fo_inline->border_bottom_color); } fo_inline->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_inline), "border-bottom-color");*/ } /** * fo_inline_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_inline_get_border_bottom_style (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_bottom_style; } /** * fo_inline_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_inline_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_inline->border_bottom_style != NULL) { g_object_unref (fo_inline->border_bottom_style); } fo_inline->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_inline), "border-bottom-style");*/ } /** * fo_inline_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_inline_get_border_bottom_width (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_bottom_width; } /** * fo_inline_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_inline_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_inline->border_bottom_width != NULL) { g_object_unref (fo_inline->border_bottom_width); } fo_inline->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_inline), "border-bottom-width");*/ } /** * fo_inline_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_inline_get_border_end_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_end_color; } /** * fo_inline_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_inline_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_inline->border_end_color != NULL) { g_object_unref (fo_inline->border_end_color); } fo_inline->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_inline), "border-end-color");*/ } /** * fo_inline_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_inline_get_border_end_style (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_end_style; } /** * fo_inline_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_inline_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_inline->border_end_style != NULL) { g_object_unref (fo_inline->border_end_style); } fo_inline->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_inline), "border-end-style");*/ } /** * fo_inline_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_inline_get_border_end_width (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_end_width; } /** * fo_inline_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_inline_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_inline->border_end_width != NULL) { g_object_unref (fo_inline->border_end_width); } fo_inline->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_inline), "border-end-width");*/ } /** * fo_inline_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_inline_get_border_left_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_left_color; } /** * fo_inline_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_inline_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_inline->border_left_color != NULL) { g_object_unref (fo_inline->border_left_color); } fo_inline->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_inline), "border-left-color");*/ } /** * fo_inline_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_inline_get_border_left_style (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_left_style; } /** * fo_inline_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_inline_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_inline->border_left_style != NULL) { g_object_unref (fo_inline->border_left_style); } fo_inline->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_inline), "border-left-style");*/ } /** * fo_inline_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_inline_get_border_left_width (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_left_width; } /** * fo_inline_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_inline_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_inline->border_left_width != NULL) { g_object_unref (fo_inline->border_left_width); } fo_inline->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_inline), "border-left-width");*/ } /** * fo_inline_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_inline_get_border_right_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_right_color; } /** * fo_inline_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_inline_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_inline->border_right_color != NULL) { g_object_unref (fo_inline->border_right_color); } fo_inline->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_inline), "border-right-color");*/ } /** * fo_inline_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_inline_get_border_right_style (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_right_style; } /** * fo_inline_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_inline_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_inline->border_right_style != NULL) { g_object_unref (fo_inline->border_right_style); } fo_inline->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_inline), "border-right-style");*/ } /** * fo_inline_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_inline_get_border_right_width (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_right_width; } /** * fo_inline_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_inline_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_inline->border_right_width != NULL) { g_object_unref (fo_inline->border_right_width); } fo_inline->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_inline), "border-right-width");*/ } /** * fo_inline_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_inline_get_border_start_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_start_color; } /** * fo_inline_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_inline_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_inline->border_start_color != NULL) { g_object_unref (fo_inline->border_start_color); } fo_inline->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_inline), "border-start-color");*/ } /** * fo_inline_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_inline_get_border_start_style (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_start_style; } /** * fo_inline_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_inline_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_inline->border_start_style != NULL) { g_object_unref (fo_inline->border_start_style); } fo_inline->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_inline), "border-start-style");*/ } /** * fo_inline_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_inline_get_border_start_width (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_start_width; } /** * fo_inline_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_inline_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_inline->border_start_width != NULL) { g_object_unref (fo_inline->border_start_width); } fo_inline->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_inline), "border-start-width");*/ } /** * fo_inline_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_inline_get_border_top_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_top_color; } /** * fo_inline_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_inline_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_inline->border_top_color != NULL) { g_object_unref (fo_inline->border_top_color); } fo_inline->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_inline), "border-top-color");*/ } /** * fo_inline_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_inline_get_border_top_style (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_top_style; } /** * fo_inline_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_inline_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_inline->border_top_style != NULL) { g_object_unref (fo_inline->border_top_style); } fo_inline->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_inline), "border-top-style");*/ } /** * fo_inline_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_inline_get_border_top_width (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->border_top_width; } /** * fo_inline_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_inline_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_inline->border_top_width != NULL) { g_object_unref (fo_inline->border_top_width); } fo_inline->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_inline), "border-top-width");*/ } /** * fo_inline_get_color: * @fo_fo: The @FoFo object * * Gets the "color" property of @fo_fo * * Return value: The "color" property value **/ FoProperty* fo_inline_get_color (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->color; } /** * fo_inline_set_color: * @fo_fo: The #FoFo object * @new_color: The new "color" property value * * Sets the "color" property of @fo_fo to @new_color **/ void fo_inline_set_color (FoFo *fo_fo, FoProperty *new_color) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_COLOR (new_color)); if (new_color != NULL) { g_object_ref (new_color); } if (fo_inline->color != NULL) { g_object_unref (fo_inline->color); } fo_inline->color = new_color; /*g_object_notify (G_OBJECT (fo_inline), "color");*/ } /** * fo_inline_get_dominant_baseline: * @fo_fo: The @FoFo object * * Gets the "dominant-baseline" property of @fo_fo * * Return value: The "dominant-baseline" property value **/ FoProperty* fo_inline_get_dominant_baseline (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->dominant_baseline; } /** * fo_inline_set_dominant_baseline: * @fo_fo: The #FoFo object * @new_dominant_baseline: The new "dominant-baseline" property value * * Sets the "dominant-baseline" property of @fo_fo to @new_dominant_baseline **/ void fo_inline_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_inline->dominant_baseline != NULL) { g_object_unref (fo_inline->dominant_baseline); } fo_inline->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_inline), "dominant-baseline");*/ } /** * fo_inline_get_font_family: * @fo_fo: The @FoFo object * * Gets the "font-family" property of @fo_fo * * Return value: The "font-family" property value **/ FoProperty* fo_inline_get_font_family (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->font_family; } /** * fo_inline_set_font_family: * @fo_fo: The #FoFo object * @new_font_family: The new "font-family" property value * * Sets the "font-family" property of @fo_fo to @new_font_family **/ void fo_inline_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family != NULL) { g_object_ref (new_font_family); } if (fo_inline->font_family != NULL) { g_object_unref (fo_inline->font_family); } fo_inline->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_inline), "font-family");*/ } /** * fo_inline_get_font_size: * @fo_fo: The @FoFo object * * Gets the "font-size" property of @fo_fo * * Return value: The "font-size" property value **/ FoProperty* fo_inline_get_font_size (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->font_size; } /** * fo_inline_set_font_size: * @fo_fo: The #FoFo object * @new_font_size: The new "font-size" property value * * Sets the "font-size" property of @fo_fo to @new_font_size **/ void fo_inline_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size != NULL) { g_object_ref (new_font_size); } if (fo_inline->font_size != NULL) { g_object_unref (fo_inline->font_size); } fo_inline->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_inline), "font-size");*/ } /** * fo_inline_get_font_stretch: * @fo_fo: The @FoFo object * * Gets the "font-stretch" property of @fo_fo * * Return value: The "font-stretch" property value **/ FoProperty* fo_inline_get_font_stretch (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->font_stretch; } /** * fo_inline_set_font_stretch: * @fo_fo: The #FoFo object * @new_font_stretch: The new "font-stretch" property value * * Sets the "font-stretch" property of @fo_fo to @new_font_stretch **/ void fo_inline_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch != NULL) { g_object_ref (new_font_stretch); } if (fo_inline->font_stretch != NULL) { g_object_unref (fo_inline->font_stretch); } fo_inline->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_inline), "font-stretch");*/ } /** * fo_inline_get_font_style: * @fo_fo: The @FoFo object * * Gets the "font-style" property of @fo_fo * * Return value: The "font-style" property value **/ FoProperty* fo_inline_get_font_style (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->font_style; } /** * fo_inline_set_font_style: * @fo_fo: The #FoFo object * @new_font_style: The new "font-style" property value * * Sets the "font-style" property of @fo_fo to @new_font_style **/ void fo_inline_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style != NULL) { g_object_ref (new_font_style); } if (fo_inline->font_style != NULL) { g_object_unref (fo_inline->font_style); } fo_inline->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_inline), "font-style");*/ } /** * fo_inline_get_font_variant: * @fo_fo: The @FoFo object * * Gets the "font-variant" property of @fo_fo * * Return value: The "font-variant" property value **/ FoProperty* fo_inline_get_font_variant (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->font_variant; } /** * fo_inline_set_font_variant: * @fo_fo: The #FoFo object * @new_font_variant: The new "font-variant" property value * * Sets the "font-variant" property of @fo_fo to @new_font_variant **/ void fo_inline_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant != NULL) { g_object_ref (new_font_variant); } if (fo_inline->font_variant != NULL) { g_object_unref (fo_inline->font_variant); } fo_inline->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_inline), "font-variant");*/ } /** * fo_inline_get_font_weight: * @fo_fo: The @FoFo object * * Gets the "font-weight" property of @fo_fo * * Return value: The "font-weight" property value **/ FoProperty* fo_inline_get_font_weight (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->font_weight; } /** * fo_inline_set_font_weight: * @fo_fo: The #FoFo object * @new_font_weight: The new "font-weight" property value * * Sets the "font-weight" property of @fo_fo to @new_font_weight **/ void fo_inline_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight != NULL) { g_object_ref (new_font_weight); } if (fo_inline->font_weight != NULL) { g_object_unref (fo_inline->font_weight); } fo_inline->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_inline), "font-weight");*/ } /** * fo_inline_get_height: * @fo_fo: The @FoFo object * * Gets the "height" property of @fo_fo * * Return value: The "height" property value **/ FoProperty* fo_inline_get_height (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->height; } /** * fo_inline_set_height: * @fo_fo: The #FoFo object * @new_height: The new "height" property value * * Sets the "height" property of @fo_fo to @new_height **/ void fo_inline_set_height (FoFo *fo_fo, FoProperty *new_height) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_inline->height != NULL) { g_object_unref (fo_inline->height); } fo_inline->height = new_height; /*g_object_notify (G_OBJECT (fo_inline), "height");*/ } /** * fo_inline_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_inline_get_id (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->id; } /** * fo_inline_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_inline_set_id (FoFo *fo_fo, FoProperty *new_id) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_inline->id != NULL) { g_object_unref (fo_inline->id); } fo_inline->id = new_id; /*g_object_notify (G_OBJECT (fo_inline), "id");*/ } /** * fo_inline_get_inline_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "inline-progression-dimension" property of @fo_fo * * Return value: The "inline-progression-dimension" property value **/ FoProperty* fo_inline_get_inline_progression_dimension (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->inline_progression_dimension; } /** * fo_inline_set_inline_progression_dimension: * @fo_fo: The #FoFo object * @new_inline_progression_dimension: The new "inline-progression-dimension" property value * * Sets the "inline-progression-dimension" property of @fo_fo to @new_inline_progression_dimension **/ void fo_inline_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (new_inline_progression_dimension)); if (new_inline_progression_dimension != NULL) { g_object_ref (new_inline_progression_dimension); } if (fo_inline->inline_progression_dimension != NULL) { g_object_unref (fo_inline->inline_progression_dimension); } fo_inline->inline_progression_dimension = new_inline_progression_dimension; /*g_object_notify (G_OBJECT (fo_inline), "inline-progression-dimension");*/ } /** * fo_inline_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_inline_get_keep_together (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_together; } /** * fo_inline_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_inline_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_inline->keep_together != NULL) { g_object_unref (fo_inline->keep_together); } fo_inline->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_inline), "keep-together");*/ } /** * fo_inline_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_inline_get_keep_together_within_column (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_together_within_column; } /** * fo_inline_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_inline_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_inline->keep_together_within_column != NULL) { g_object_unref (fo_inline->keep_together_within_column); } fo_inline->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_inline), "keep-together-within-column");*/ } /** * fo_inline_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_inline_get_keep_together_within_line (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_together_within_line; } /** * fo_inline_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_inline_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_inline->keep_together_within_line != NULL) { g_object_unref (fo_inline->keep_together_within_line); } fo_inline->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_inline), "keep-together-within-line");*/ } /** * fo_inline_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_inline_get_keep_together_within_page (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_together_within_page; } /** * fo_inline_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_inline_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_inline->keep_together_within_page != NULL) { g_object_unref (fo_inline->keep_together_within_page); } fo_inline->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_inline), "keep-together-within-page");*/ } /** * fo_inline_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_inline_get_keep_with_next (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_with_next; } /** * fo_inline_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_inline_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_inline->keep_with_next != NULL) { g_object_unref (fo_inline->keep_with_next); } fo_inline->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_inline), "keep-with-next");*/ } /** * fo_inline_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_inline_get_keep_with_next_within_column (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_with_next_within_column; } /** * fo_inline_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_inline_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_inline->keep_with_next_within_column != NULL) { g_object_unref (fo_inline->keep_with_next_within_column); } fo_inline->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_inline), "keep-with-next-within-column");*/ } /** * fo_inline_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_inline_get_keep_with_next_within_line (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_with_next_within_line; } /** * fo_inline_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_inline_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_inline->keep_with_next_within_line != NULL) { g_object_unref (fo_inline->keep_with_next_within_line); } fo_inline->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_inline), "keep-with-next-within-line");*/ } /** * fo_inline_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_inline_get_keep_with_next_within_page (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_with_next_within_page; } /** * fo_inline_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_inline_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_inline->keep_with_next_within_page != NULL) { g_object_unref (fo_inline->keep_with_next_within_page); } fo_inline->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_inline), "keep-with-next-within-page");*/ } /** * fo_inline_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_inline_get_keep_with_previous (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_with_previous; } /** * fo_inline_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_inline_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_inline->keep_with_previous != NULL) { g_object_unref (fo_inline->keep_with_previous); } fo_inline->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_inline), "keep-with-previous");*/ } /** * fo_inline_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_inline_get_keep_with_previous_within_column (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_with_previous_within_column; } /** * fo_inline_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_inline_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_inline->keep_with_previous_within_column != NULL) { g_object_unref (fo_inline->keep_with_previous_within_column); } fo_inline->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_inline), "keep-with-previous-within-column");*/ } /** * fo_inline_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_inline_get_keep_with_previous_within_line (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_with_previous_within_line; } /** * fo_inline_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_inline_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_inline->keep_with_previous_within_line != NULL) { g_object_unref (fo_inline->keep_with_previous_within_line); } fo_inline->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_inline), "keep-with-previous-within-line");*/ } /** * fo_inline_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_inline_get_keep_with_previous_within_page (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->keep_with_previous_within_page; } /** * fo_inline_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_inline_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_inline->keep_with_previous_within_page != NULL) { g_object_unref (fo_inline->keep_with_previous_within_page); } fo_inline->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_inline), "keep-with-previous-within-page");*/ } /** * fo_inline_get_line_height: * @fo_fo: The @FoFo object * * Gets the "line-height" property of @fo_fo * * Return value: The "line-height" property value **/ FoProperty* fo_inline_get_line_height (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->line_height; } /** * fo_inline_set_line_height: * @fo_fo: The #FoFo object * @new_line_height: The new "line-height" property value * * Sets the "line-height" property of @fo_fo to @new_line_height **/ void fo_inline_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_inline->line_height != NULL) { g_object_unref (fo_inline->line_height); } fo_inline->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_inline), "line-height");*/ } /** * fo_inline_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_inline_get_padding_after (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->padding_after; } /** * fo_inline_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_inline_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_inline->padding_after != NULL) { g_object_unref (fo_inline->padding_after); } fo_inline->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_inline), "padding-after");*/ } /** * fo_inline_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_inline_get_padding_before (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->padding_before; } /** * fo_inline_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_inline_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_inline->padding_before != NULL) { g_object_unref (fo_inline->padding_before); } fo_inline->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_inline), "padding-before");*/ } /** * fo_inline_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_inline_get_padding_bottom (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->padding_bottom; } /** * fo_inline_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_inline_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_inline->padding_bottom != NULL) { g_object_unref (fo_inline->padding_bottom); } fo_inline->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_inline), "padding-bottom");*/ } /** * fo_inline_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_inline_get_padding_end (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->padding_end; } /** * fo_inline_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_inline_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_inline->padding_end != NULL) { g_object_unref (fo_inline->padding_end); } fo_inline->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_inline), "padding-end");*/ } /** * fo_inline_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_inline_get_padding_left (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->padding_left; } /** * fo_inline_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_inline_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_inline->padding_left != NULL) { g_object_unref (fo_inline->padding_left); } fo_inline->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_inline), "padding-left");*/ } /** * fo_inline_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_inline_get_padding_right (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->padding_right; } /** * fo_inline_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_inline_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_inline->padding_right != NULL) { g_object_unref (fo_inline->padding_right); } fo_inline->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_inline), "padding-right");*/ } /** * fo_inline_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_inline_get_padding_start (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->padding_start; } /** * fo_inline_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_inline_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_inline->padding_start != NULL) { g_object_unref (fo_inline->padding_start); } fo_inline->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_inline), "padding-start");*/ } /** * fo_inline_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_inline_get_padding_top (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->padding_top; } /** * fo_inline_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_inline_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_inline->padding_top != NULL) { g_object_unref (fo_inline->padding_top); } fo_inline->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_inline), "padding-top");*/ } /** * fo_inline_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_inline_get_role (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->role; } /** * fo_inline_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_inline_set_role (FoFo *fo_fo, FoProperty *new_role) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_inline->role != NULL) { g_object_unref (fo_inline->role); } fo_inline->role = new_role; /*g_object_notify (G_OBJECT (fo_inline), "role");*/ } /** * fo_inline_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_inline_get_source_document (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->source_document; } /** * fo_inline_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_inline_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_inline->source_document != NULL) { g_object_unref (fo_inline->source_document); } fo_inline->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_inline), "source-document");*/ } /** * fo_inline_get_space_end: * @fo_fo: The @FoFo object * * Gets the "space-end" property of @fo_fo * * Return value: The "space-end" property value **/ FoProperty* fo_inline_get_space_end (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->space_end; } /** * fo_inline_set_space_end: * @fo_fo: The #FoFo object * @new_space_end: The new "space-end" property value * * Sets the "space-end" property of @fo_fo to @new_space_end **/ void fo_inline_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_inline->space_end != NULL) { g_object_unref (fo_inline->space_end); } fo_inline->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_inline), "space-end");*/ } /** * fo_inline_get_space_start: * @fo_fo: The @FoFo object * * Gets the "space-start" property of @fo_fo * * Return value: The "space-start" property value **/ FoProperty* fo_inline_get_space_start (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->space_start; } /** * fo_inline_set_space_start: * @fo_fo: The #FoFo object * @new_space_start: The new "space-start" property value * * Sets the "space-start" property of @fo_fo to @new_space_start **/ void fo_inline_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_inline->space_start != NULL) { g_object_unref (fo_inline->space_start); } fo_inline->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_inline), "space-start");*/ } /** * fo_inline_get_width: * @fo_fo: The @FoFo object * * Gets the "width" property of @fo_fo * * Return value: The "width" property value **/ FoProperty* fo_inline_get_width (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->width; } /** * fo_inline_set_width: * @fo_fo: The #FoFo object * @new_width: The new "width" property value * * Sets the "width" property of @fo_fo to @new_width **/ void fo_inline_set_width (FoFo *fo_fo, FoProperty *new_width) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_WIDTH (new_width)); if (new_width != NULL) { g_object_ref (new_width); } if (fo_inline->width != NULL) { g_object_unref (fo_inline->width); } fo_inline->width = new_width; /*g_object_notify (G_OBJECT (fo_inline), "width");*/ } /** * fo_inline_get_wrap_option: * @fo_fo: The @FoFo object * * Gets the "wrap-option" property of @fo_fo * * Return value: The "wrap-option" property value **/ FoProperty* fo_inline_get_wrap_option (FoFo *fo_fo) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_val_if_fail (fo_inline != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE (fo_inline), NULL); return fo_inline->wrap_option; } /** * fo_inline_set_wrap_option: * @fo_fo: The #FoFo object * @new_wrap_option: The new "wrap-option" property value * * Sets the "wrap-option" property of @fo_fo to @new_wrap_option **/ void fo_inline_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option) { FoInline *fo_inline = (FoInline *) fo_fo; g_return_if_fail (fo_inline != NULL); g_return_if_fail (FO_IS_INLINE (fo_inline)); g_return_if_fail (FO_IS_PROPERTY_WRAP_OPTION (new_wrap_option)); if (new_wrap_option != NULL) { g_object_ref (new_wrap_option); } if (fo_inline->wrap_option != NULL) { g_object_unref (fo_inline->wrap_option); } fo_inline->wrap_option = new_wrap_option; /*g_object_notify (G_OBJECT (fo_inline), "wrap-option");*/ } xmlroff-0.6.2/libfo/fo/fo-inline.h0000644000175000017500000003550610643167375013672 00000000000000/* Fo * fo-inline.h: 'inline' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INLINE_H__ #define __FO_INLINE_H__ #include #include G_BEGIN_DECLS typedef struct _FoInline FoInline; typedef struct _FoInlineClass FoInlineClass; #define FO_TYPE_INLINE (fo_inline_get_type ()) #define FO_INLINE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_INLINE, FoInline)) #define FO_INLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_INLINE, FoInlineClass)) #define FO_IS_INLINE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_INLINE)) #define FO_IS_INLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_INLINE)) #define FO_INLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_INLINE, FoInlineClass)) GType fo_inline_get_type (void) G_GNUC_CONST; FoFo *fo_inline_new (void); FoProperty* fo_inline_get_alignment_adjust (FoFo *fo_fo); void fo_inline_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_inline_get_alignment_baseline (FoFo *fo_fo); void fo_inline_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty * fo_inline_get_background_color (FoFo *fo_fo); void fo_inline_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_inline_get_background_image (FoFo *fo_fo); void fo_inline_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_inline_get_baseline_shift (FoFo *fo_fo); void fo_inline_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_inline_get_block_progression_dimension (FoFo *fo_fo); void fo_inline_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_inline_get_border_after_color (FoFo *fo_fo); void fo_inline_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_inline_get_border_after_style (FoFo *fo_fo); void fo_inline_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_inline_get_border_after_width (FoFo *fo_fo); void fo_inline_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_inline_get_border_before_color (FoFo *fo_fo); void fo_inline_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_inline_get_border_before_style (FoFo *fo_fo); void fo_inline_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_inline_get_border_before_width (FoFo *fo_fo); void fo_inline_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_inline_get_border_bottom_color (FoFo *fo_fo); void fo_inline_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_inline_get_border_bottom_style (FoFo *fo_fo); void fo_inline_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_inline_get_border_bottom_width (FoFo *fo_fo); void fo_inline_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_inline_get_border_end_color (FoFo *fo_fo); void fo_inline_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_inline_get_border_end_style (FoFo *fo_fo); void fo_inline_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_inline_get_border_end_width (FoFo *fo_fo); void fo_inline_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_inline_get_border_left_color (FoFo *fo_fo); void fo_inline_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_inline_get_border_left_style (FoFo *fo_fo); void fo_inline_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_inline_get_border_left_width (FoFo *fo_fo); void fo_inline_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_inline_get_border_right_color (FoFo *fo_fo); void fo_inline_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_inline_get_border_right_style (FoFo *fo_fo); void fo_inline_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_inline_get_border_right_width (FoFo *fo_fo); void fo_inline_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_inline_get_border_start_color (FoFo *fo_fo); void fo_inline_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_inline_get_border_start_style (FoFo *fo_fo); void fo_inline_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_inline_get_border_start_width (FoFo *fo_fo); void fo_inline_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_inline_get_border_top_color (FoFo *fo_fo); void fo_inline_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_inline_get_border_top_style (FoFo *fo_fo); void fo_inline_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_inline_get_border_top_width (FoFo *fo_fo); void fo_inline_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_inline_get_color (FoFo *fo_fo); void fo_inline_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_inline_get_dominant_baseline (FoFo *fo_fo); void fo_inline_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_inline_get_font_family (FoFo *fo_fo); void fo_inline_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_inline_get_font_size (FoFo *fo_fo); void fo_inline_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_inline_get_font_stretch (FoFo *fo_fo); void fo_inline_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_inline_get_font_style (FoFo *fo_fo); void fo_inline_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_inline_get_font_variant (FoFo *fo_fo); void fo_inline_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_inline_get_font_weight (FoFo *fo_fo); void fo_inline_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_inline_get_height (FoFo *fo_fo); void fo_inline_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_inline_get_id (FoFo *fo_fo); void fo_inline_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_inline_get_inline_progression_dimension (FoFo *fo_fo); void fo_inline_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_inline_get_keep_together (FoFo *fo_fo); void fo_inline_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_inline_get_keep_together_within_column (FoFo *fo_fo); void fo_inline_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_inline_get_keep_together_within_line (FoFo *fo_fo); void fo_inline_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_inline_get_keep_together_within_page (FoFo *fo_fo); void fo_inline_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_inline_get_keep_with_next (FoFo *fo_fo); void fo_inline_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_inline_get_keep_with_next_within_column (FoFo *fo_fo); void fo_inline_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_inline_get_keep_with_next_within_line (FoFo *fo_fo); void fo_inline_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_inline_get_keep_with_next_within_page (FoFo *fo_fo); void fo_inline_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_inline_get_keep_with_previous (FoFo *fo_fo); void fo_inline_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_inline_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_inline_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_inline_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_inline_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_inline_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_inline_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_inline_get_line_height (FoFo *fo_fo); void fo_inline_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_inline_get_padding_after (FoFo *fo_fo); void fo_inline_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_inline_get_padding_before (FoFo *fo_fo); void fo_inline_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_inline_get_padding_bottom (FoFo *fo_fo); void fo_inline_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_inline_get_padding_end (FoFo *fo_fo); void fo_inline_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_inline_get_padding_left (FoFo *fo_fo); void fo_inline_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_inline_get_padding_right (FoFo *fo_fo); void fo_inline_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_inline_get_padding_start (FoFo *fo_fo); void fo_inline_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_inline_get_padding_top (FoFo *fo_fo); void fo_inline_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_inline_get_role (FoFo *fo_fo); void fo_inline_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_inline_get_source_document (FoFo *fo_fo); void fo_inline_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_inline_get_space_end (FoFo *fo_fo); void fo_inline_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_inline_get_space_start (FoFo *fo_fo); void fo_inline_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty* fo_inline_get_width (FoFo *fo_fo); void fo_inline_set_width (FoFo *fo_fo, FoProperty *new_width); FoProperty* fo_inline_get_wrap_option (FoFo *fo_fo); void fo_inline_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); G_END_DECLS #endif /* !__FO_INLINE_H__ */ xmlroff-0.6.2/libfo/fo/fo-inline-private.h0000644000175000017500000000534210643167376015336 00000000000000/* Fo * fo-inline-private.h: Structures private to 'inline' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INLINE_PRIVATE_H__ #define __FO_INLINE_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoInline { FoMarkerParent parent_instance; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *block_progression_dimension; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *color; FoProperty *dominant_baseline; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *height; FoProperty *id; FoProperty *inline_progression_dimension; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *space_end; FoProperty *space_start; FoProperty *width; FoProperty *wrap_option; }; struct _FoInlineClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_INLINE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-inline-container.c0000644000175000017500000045703210660107744015640 00000000000000/* Fo * fo-inline-container.c: 'inline-container' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-inline-fo.h" #include "fo-inline-container.h" #include "fo-inline-container-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-alignment-adjust.h" #include "property/fo-property-alignment-baseline.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-baseline-shift.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-clip.h" #include "property/fo-property-display-align.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-height.h" #include "property/fo-property-id.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-overflow.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" #include "property/fo-property-width.h" #include "property/fo-property-writing-mode.h" enum { PROP_0, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_CLIP, PROP_DISPLAY_ALIGN, PROP_DOMINANT_BASELINE, PROP_HEIGHT, PROP_ID, PROP_INLINE_PROGRESSION_DIMENSION, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_OVERFLOW, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_SPACE_END, PROP_SPACE_START, PROP_WIDTH, PROP_WRITING_MODE }; static void fo_inline_container_class_init (FoInlineContainerClass *klass); static void fo_inline_container_inline_fo_init (FoInlineFoIface *iface); static void fo_inline_container_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_inline_container_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_inline_container_finalize (GObject *object); static gboolean fo_inline_container_validate_content (FoFo *fo, GError **error); static void fo_inline_container_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_inline_container_update_from_context (FoFo *fo, FoContext *context); static void fo_inline_container_debug_dump_properties (FoFo *fo, gint depth); static void fo_inline_container_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_inline_container_get_type: * * Register the #FoInlineContainer object type. * * Return value: #GType value of the #FoInlineContainer object type. **/ GType fo_inline_container_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoInlineContainerClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_inline_container_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoInlineContainer), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_inline_container_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoInlineContainer", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_inline_container_class_init: * @klass: #FoInlineContainerClass object to initialise. * * Implements #GClassInitFunc for #FoInlineContainerClass. **/ void fo_inline_container_class_init (FoInlineContainerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_inline_container_finalize; object_class->get_property = fo_inline_container_get_property; object_class->set_property = fo_inline_container_set_property; fofo_class->validate_content = fo_inline_container_validate_content; fofo_class->validate2 = fo_inline_container_validate; fofo_class->update_from_context = fo_inline_container_update_from_context; fofo_class->debug_dump_properties = fo_inline_container_debug_dump_properties; fofo_class->generate_reference_area = TRUE; g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION, g_param_spec_object ("inline-progression-dimension", _("Inline Progression Dimension"), _("Inline Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_inline_container_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_inline_container_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_inline_container_get_text_attr_list; } /** * fo_inline_container_finalize: * @object: #FoInlineContainer object to finalize. * * Implements #GObjectFinalizeFunc for #FoInlineContainer. **/ void fo_inline_container_finalize (GObject *object) { FoInlineContainer *fo_inline_container; fo_inline_container = FO_INLINE_CONTAINER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_inline_container_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoInlineContainer. **/ void fo_inline_container_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_inline_container_get_alignment_adjust (fo_fo))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_alignment_baseline (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_container_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_background_image (fo_fo))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_inline_container_get_baseline_shift (fo_fo))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_inline_container_get_block_progression_dimension (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_container_get_border_top_width (fo_fo))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_inline_container_get_clip (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_inline_container_get_display_align (fo_fo))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_dominant_baseline (fo_fo))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_inline_container_get_height (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_inline_container_get_id (fo_fo))); break; case PROP_INLINE_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_inline_container_get_inline_progression_dimension (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_inline_container_get_line_height (fo_fo))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_inline_container_get_overflow (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_inline_container_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_inline_container_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_inline_container_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_inline_container_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_inline_container_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_inline_container_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_inline_container_get_padding_top (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_inline_container_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_inline_container_get_space_start (fo_fo))); break; case PROP_WIDTH: g_value_set_object (value, G_OBJECT (fo_inline_container_get_width (fo_fo))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_inline_container_get_writing_mode (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_inline_container_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoInlineContainer. **/ void fo_inline_container_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: fo_inline_container_set_alignment_adjust (fo_fo, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_inline_container_set_alignment_baseline (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_inline_container_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_inline_container_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_inline_container_set_baseline_shift (fo_fo, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_inline_container_set_block_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_inline_container_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_inline_container_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_inline_container_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_inline_container_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_inline_container_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_inline_container_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_inline_container_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_inline_container_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_inline_container_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_inline_container_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_inline_container_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_inline_container_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_inline_container_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_inline_container_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_inline_container_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_inline_container_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_inline_container_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_inline_container_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_inline_container_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_inline_container_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_inline_container_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_inline_container_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_inline_container_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_inline_container_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_CLIP: fo_inline_container_set_clip (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_inline_container_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_inline_container_set_dominant_baseline (fo_fo, g_value_get_object (value)); break; case PROP_HEIGHT: fo_inline_container_set_height (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_inline_container_set_id (fo_fo, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION: fo_inline_container_set_inline_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_inline_container_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_inline_container_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_inline_container_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_inline_container_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_inline_container_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_inline_container_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_inline_container_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_inline_container_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_inline_container_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_inline_container_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_inline_container_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_inline_container_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_inline_container_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_inline_container_set_overflow (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_inline_container_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_inline_container_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_inline_container_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_inline_container_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_inline_container_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_inline_container_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_inline_container_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_inline_container_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_inline_container_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_inline_container_set_space_start (fo_fo, g_value_get_object (value)); break; case PROP_WIDTH: fo_inline_container_set_width (fo_fo, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_inline_container_set_writing_mode (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_inline_container_new: * * Creates a new #FoInlineContainer initialized to default value. * * Return value: the new #FoInlineContainer. **/ FoFo* fo_inline_container_new (void) { return FO_FO (g_object_new (fo_inline_container_get_type (), NULL)); } /** * fo_inline_container_validate_content: * @fo: #FoInlineContainer object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not. **/ gboolean fo_inline_container_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_inline_container_validate: * @fo: #FoInlineContainer object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_inline_container_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoInlineContainer *fo_inline_container; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_inline_container = FO_INLINE_CONTAINER (fo); fo_context_util_dominant_baseline_resolve (current_context, parent_context); fo_context_util_height_width_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_inline_container_set_line_height (fo, fo_property_line_height_resolve (fo_inline_container->line_height, fo_context_get_font_size (fo->context))); } /** * fo_inline_container_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_inline_container_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_inline_container_set_alignment_adjust (fo, fo_context_get_alignment_adjust (context)); fo_inline_container_set_alignment_baseline (fo, fo_context_get_alignment_baseline (context)); fo_inline_container_set_background_color (fo, fo_context_get_background_color (context)); fo_inline_container_set_background_image (fo, fo_context_get_background_image (context)); fo_inline_container_set_baseline_shift (fo, fo_context_get_baseline_shift (context)); fo_inline_container_set_block_progression_dimension (fo, fo_context_get_block_progression_dimension (context)); fo_inline_container_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_inline_container_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_inline_container_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_inline_container_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_inline_container_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_inline_container_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_inline_container_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_inline_container_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_inline_container_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_inline_container_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_inline_container_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_inline_container_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_inline_container_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_inline_container_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_inline_container_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_inline_container_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_inline_container_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_inline_container_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_inline_container_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_inline_container_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_inline_container_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_inline_container_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_inline_container_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_inline_container_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_inline_container_set_clip (fo, fo_context_get_clip (context)); fo_inline_container_set_display_align (fo, fo_context_get_display_align (context)); fo_inline_container_set_dominant_baseline (fo, fo_context_get_dominant_baseline (context)); fo_inline_container_set_height (fo, fo_context_get_height (context)); fo_inline_container_set_id (fo, fo_context_get_id (context)); fo_inline_container_set_inline_progression_dimension (fo, fo_context_get_inline_progression_dimension (context)); fo_inline_container_set_keep_together (fo, fo_context_get_keep_together (context)); fo_inline_container_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_inline_container_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_inline_container_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_inline_container_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_inline_container_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_inline_container_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_inline_container_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_inline_container_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_inline_container_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_inline_container_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_inline_container_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_inline_container_set_line_height (fo, fo_context_get_line_height (context)); fo_inline_container_set_overflow (fo, fo_context_get_overflow (context)); fo_inline_container_set_padding_after (fo, fo_context_get_padding_after (context)); fo_inline_container_set_padding_before (fo, fo_context_get_padding_before (context)); fo_inline_container_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_inline_container_set_padding_end (fo, fo_context_get_padding_end (context)); fo_inline_container_set_padding_left (fo, fo_context_get_padding_left (context)); fo_inline_container_set_padding_right (fo, fo_context_get_padding_right (context)); fo_inline_container_set_padding_start (fo, fo_context_get_padding_start (context)); fo_inline_container_set_padding_top (fo, fo_context_get_padding_top (context)); fo_inline_container_set_space_end (fo, fo_context_get_space_end (context)); fo_inline_container_set_space_start (fo, fo_context_get_space_start (context)); fo_inline_container_set_width (fo, fo_context_get_width (context)); fo_inline_container_set_writing_mode (fo, fo_context_get_writing_mode (context)); } /** * fo_inline_container_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_inline_container_debug_dump_properties (FoFo *fo, gint depth) { FoInlineContainer *fo_inline_container; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo)); fo_inline_container = FO_INLINE_CONTAINER (fo); fo_object_debug_dump (fo_inline_container->alignment_adjust, depth); fo_object_debug_dump (fo_inline_container->alignment_baseline, depth); fo_object_debug_dump (fo_inline_container->background_color, depth); fo_object_debug_dump (fo_inline_container->background_image, depth); fo_object_debug_dump (fo_inline_container->baseline_shift, depth); fo_object_debug_dump (fo_inline_container->block_progression_dimension, depth); fo_object_debug_dump (fo_inline_container->border_after_color, depth); fo_object_debug_dump (fo_inline_container->border_after_style, depth); fo_object_debug_dump (fo_inline_container->border_after_width, depth); fo_object_debug_dump (fo_inline_container->border_before_color, depth); fo_object_debug_dump (fo_inline_container->border_before_style, depth); fo_object_debug_dump (fo_inline_container->border_before_width, depth); fo_object_debug_dump (fo_inline_container->border_bottom_color, depth); fo_object_debug_dump (fo_inline_container->border_bottom_style, depth); fo_object_debug_dump (fo_inline_container->border_bottom_width, depth); fo_object_debug_dump (fo_inline_container->border_end_color, depth); fo_object_debug_dump (fo_inline_container->border_end_style, depth); fo_object_debug_dump (fo_inline_container->border_end_width, depth); fo_object_debug_dump (fo_inline_container->border_left_color, depth); fo_object_debug_dump (fo_inline_container->border_left_style, depth); fo_object_debug_dump (fo_inline_container->border_left_width, depth); fo_object_debug_dump (fo_inline_container->border_right_color, depth); fo_object_debug_dump (fo_inline_container->border_right_style, depth); fo_object_debug_dump (fo_inline_container->border_right_width, depth); fo_object_debug_dump (fo_inline_container->border_start_color, depth); fo_object_debug_dump (fo_inline_container->border_start_style, depth); fo_object_debug_dump (fo_inline_container->border_start_width, depth); fo_object_debug_dump (fo_inline_container->border_top_color, depth); fo_object_debug_dump (fo_inline_container->border_top_style, depth); fo_object_debug_dump (fo_inline_container->border_top_width, depth); fo_object_debug_dump (fo_inline_container->clip, depth); fo_object_debug_dump (fo_inline_container->display_align, depth); fo_object_debug_dump (fo_inline_container->dominant_baseline, depth); fo_object_debug_dump (fo_inline_container->height, depth); fo_object_debug_dump (fo_inline_container->id, depth); fo_object_debug_dump (fo_inline_container->inline_progression_dimension, depth); fo_object_debug_dump (fo_inline_container->keep_together, depth); fo_object_debug_dump (fo_inline_container->keep_together_within_column, depth); fo_object_debug_dump (fo_inline_container->keep_together_within_line, depth); fo_object_debug_dump (fo_inline_container->keep_together_within_page, depth); fo_object_debug_dump (fo_inline_container->keep_with_next, depth); fo_object_debug_dump (fo_inline_container->keep_with_next_within_column, depth); fo_object_debug_dump (fo_inline_container->keep_with_next_within_line, depth); fo_object_debug_dump (fo_inline_container->keep_with_next_within_page, depth); fo_object_debug_dump (fo_inline_container->keep_with_previous, depth); fo_object_debug_dump (fo_inline_container->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_inline_container->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_inline_container->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_inline_container->line_height, depth); fo_object_debug_dump (fo_inline_container->overflow, depth); fo_object_debug_dump (fo_inline_container->padding_after, depth); fo_object_debug_dump (fo_inline_container->padding_before, depth); fo_object_debug_dump (fo_inline_container->padding_bottom, depth); fo_object_debug_dump (fo_inline_container->padding_end, depth); fo_object_debug_dump (fo_inline_container->padding_left, depth); fo_object_debug_dump (fo_inline_container->padding_right, depth); fo_object_debug_dump (fo_inline_container->padding_start, depth); fo_object_debug_dump (fo_inline_container->padding_top, depth); fo_object_debug_dump (fo_inline_container->space_end, depth); fo_object_debug_dump (fo_inline_container->space_start, depth); fo_object_debug_dump (fo_inline_container->width, depth); fo_object_debug_dump (fo_inline_container->writing_mode, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_inline_container_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_inline_container_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { FoNode *fo_child_node; FoInlineContainer *fo_inline_container; GList *my_attr_glist = NULL; gint start_index, end_index; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_fo)); fo_inline_container = FO_INLINE_CONTAINER (fo_inline_fo); start_index = text->len; fo_child_node = fo_node_first_child (FO_NODE (fo_inline_fo)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, &my_attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } end_index = text->len; if (start_index != end_index) { PangoAttribute *pango_attr; pango_attr = fo_property_text_property_new_attr (fo_inline_container->baseline_shift); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); /* pango_attr = fo_property_text_property_new_attr (fo_inline_container->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ if (FO_IS_COLOR (fo_property_get_value (fo_inline_container->background_color))) { pango_attr = fo_property_text_property_new_attr (fo_inline_container->background_color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); } /* pango_attr = fo_property_text_property_new_attr (fo_inline_container->alignment_adjust); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_inline_container->alignment_baseline); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr_from_context (fo_inline_container->dominant_baseline, fo_fo_get_context (FO_FO (fo_inline_container))); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_inline_container->keep_together_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_inline_container->keep_with_next_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_inline_container->keep_with_previous_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ } *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } /** * fo_inline_container_get_alignment_adjust: * @fo_fo: The @FoFo object * * Gets the "alignment-adjust" property of @fo_fo * * Return value: The "alignment-adjust" property value **/ FoProperty* fo_inline_container_get_alignment_adjust (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->alignment_adjust; } /** * fo_inline_container_set_alignment_adjust: * @fo_fo: The #FoFo object * @new_alignment_adjust: The new "alignment-adjust" property value * * Sets the "alignment-adjust" property of @fo_fo to @new_alignment_adjust **/ void fo_inline_container_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_inline_container->alignment_adjust != NULL) { g_object_unref (fo_inline_container->alignment_adjust); } fo_inline_container->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_inline_container), "alignment-adjust");*/ } /** * fo_inline_container_get_alignment_baseline: * @fo_fo: The @FoFo object * * Gets the "alignment-baseline" property of @fo_fo * * Return value: The "alignment-baseline" property value **/ FoProperty* fo_inline_container_get_alignment_baseline (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->alignment_baseline; } /** * fo_inline_container_set_alignment_baseline: * @fo_fo: The #FoFo object * @new_alignment_baseline: The new "alignment-baseline" property value * * Sets the "alignment-baseline" property of @fo_fo to @new_alignment_baseline **/ void fo_inline_container_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_inline_container->alignment_baseline != NULL) { g_object_unref (fo_inline_container->alignment_baseline); } fo_inline_container->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_inline_container), "alignment-baseline");*/ } /** * fo_inline_container_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty* fo_inline_container_get_background_color (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->background_color; } /** * fo_inline_container_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_inline_container_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_inline_container->background_color != NULL) { g_object_unref (fo_inline_container->background_color); } fo_inline_container->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_inline_container), "background-color");*/ } /** * fo_inline_container_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_inline_container_get_background_image (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->background_image; } /** * fo_inline_container_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_inline_container_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_inline_container->background_image != NULL) { g_object_unref (fo_inline_container->background_image); } fo_inline_container->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_inline_container), "background-image");*/ } /** * fo_inline_container_get_baseline_shift: * @fo_fo: The @FoFo object * * Gets the "baseline-shift" property of @fo_fo * * Return value: The "baseline-shift" property value **/ FoProperty* fo_inline_container_get_baseline_shift (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->baseline_shift; } /** * fo_inline_container_set_baseline_shift: * @fo_fo: The #FoFo object * @new_baseline_shift: The new "baseline-shift" property value * * Sets the "baseline-shift" property of @fo_fo to @new_baseline_shift **/ void fo_inline_container_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_inline_container->baseline_shift != NULL) { g_object_unref (fo_inline_container->baseline_shift); } fo_inline_container->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_inline_container), "baseline-shift");*/ } /** * fo_inline_container_get_block_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "block-progression-dimension" property of @fo_fo * * Return value: The "block-progression-dimension" property value **/ FoProperty* fo_inline_container_get_block_progression_dimension (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->block_progression_dimension; } /** * fo_inline_container_set_block_progression_dimension: * @fo_fo: The #FoFo object * @new_block_progression_dimension: The new "block-progression-dimension" property value * * Sets the "block-progression-dimension" property of @fo_fo to @new_block_progression_dimension **/ void fo_inline_container_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_inline_container->block_progression_dimension != NULL) { g_object_unref (fo_inline_container->block_progression_dimension); } fo_inline_container->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_inline_container), "block-progression-dimension");*/ } /** * fo_inline_container_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_inline_container_get_border_after_color (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_after_color; } /** * fo_inline_container_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_inline_container_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_inline_container->border_after_color != NULL) { g_object_unref (fo_inline_container->border_after_color); } fo_inline_container->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_inline_container), "border-after-color");*/ } /** * fo_inline_container_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_inline_container_get_border_after_style (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_after_style; } /** * fo_inline_container_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_inline_container_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_inline_container->border_after_style != NULL) { g_object_unref (fo_inline_container->border_after_style); } fo_inline_container->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_inline_container), "border-after-style");*/ } /** * fo_inline_container_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_inline_container_get_border_after_width (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_after_width; } /** * fo_inline_container_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_inline_container_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_inline_container->border_after_width != NULL) { g_object_unref (fo_inline_container->border_after_width); } fo_inline_container->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_inline_container), "border-after-width");*/ } /** * fo_inline_container_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_inline_container_get_border_before_color (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_before_color; } /** * fo_inline_container_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_inline_container_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_inline_container->border_before_color != NULL) { g_object_unref (fo_inline_container->border_before_color); } fo_inline_container->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_inline_container), "border-before-color");*/ } /** * fo_inline_container_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_inline_container_get_border_before_style (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_before_style; } /** * fo_inline_container_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_inline_container_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_inline_container->border_before_style != NULL) { g_object_unref (fo_inline_container->border_before_style); } fo_inline_container->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_inline_container), "border-before-style");*/ } /** * fo_inline_container_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_inline_container_get_border_before_width (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_before_width; } /** * fo_inline_container_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_inline_container_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_inline_container->border_before_width != NULL) { g_object_unref (fo_inline_container->border_before_width); } fo_inline_container->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_inline_container), "border-before-width");*/ } /** * fo_inline_container_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_inline_container_get_border_bottom_color (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_bottom_color; } /** * fo_inline_container_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_inline_container_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_inline_container->border_bottom_color != NULL) { g_object_unref (fo_inline_container->border_bottom_color); } fo_inline_container->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_inline_container), "border-bottom-color");*/ } /** * fo_inline_container_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_inline_container_get_border_bottom_style (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_bottom_style; } /** * fo_inline_container_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_inline_container_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_inline_container->border_bottom_style != NULL) { g_object_unref (fo_inline_container->border_bottom_style); } fo_inline_container->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_inline_container), "border-bottom-style");*/ } /** * fo_inline_container_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_inline_container_get_border_bottom_width (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_bottom_width; } /** * fo_inline_container_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_inline_container_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_inline_container->border_bottom_width != NULL) { g_object_unref (fo_inline_container->border_bottom_width); } fo_inline_container->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_inline_container), "border-bottom-width");*/ } /** * fo_inline_container_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_inline_container_get_border_end_color (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_end_color; } /** * fo_inline_container_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_inline_container_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_inline_container->border_end_color != NULL) { g_object_unref (fo_inline_container->border_end_color); } fo_inline_container->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_inline_container), "border-end-color");*/ } /** * fo_inline_container_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_inline_container_get_border_end_style (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_end_style; } /** * fo_inline_container_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_inline_container_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_inline_container->border_end_style != NULL) { g_object_unref (fo_inline_container->border_end_style); } fo_inline_container->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_inline_container), "border-end-style");*/ } /** * fo_inline_container_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_inline_container_get_border_end_width (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_end_width; } /** * fo_inline_container_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_inline_container_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_inline_container->border_end_width != NULL) { g_object_unref (fo_inline_container->border_end_width); } fo_inline_container->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_inline_container), "border-end-width");*/ } /** * fo_inline_container_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_inline_container_get_border_left_color (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_left_color; } /** * fo_inline_container_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_inline_container_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_inline_container->border_left_color != NULL) { g_object_unref (fo_inline_container->border_left_color); } fo_inline_container->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_inline_container), "border-left-color");*/ } /** * fo_inline_container_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_inline_container_get_border_left_style (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_left_style; } /** * fo_inline_container_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_inline_container_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_inline_container->border_left_style != NULL) { g_object_unref (fo_inline_container->border_left_style); } fo_inline_container->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_inline_container), "border-left-style");*/ } /** * fo_inline_container_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_inline_container_get_border_left_width (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_left_width; } /** * fo_inline_container_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_inline_container_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_inline_container->border_left_width != NULL) { g_object_unref (fo_inline_container->border_left_width); } fo_inline_container->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_inline_container), "border-left-width");*/ } /** * fo_inline_container_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_inline_container_get_border_right_color (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_right_color; } /** * fo_inline_container_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_inline_container_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_inline_container->border_right_color != NULL) { g_object_unref (fo_inline_container->border_right_color); } fo_inline_container->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_inline_container), "border-right-color");*/ } /** * fo_inline_container_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_inline_container_get_border_right_style (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_right_style; } /** * fo_inline_container_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_inline_container_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_inline_container->border_right_style != NULL) { g_object_unref (fo_inline_container->border_right_style); } fo_inline_container->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_inline_container), "border-right-style");*/ } /** * fo_inline_container_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_inline_container_get_border_right_width (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_right_width; } /** * fo_inline_container_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_inline_container_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_inline_container->border_right_width != NULL) { g_object_unref (fo_inline_container->border_right_width); } fo_inline_container->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_inline_container), "border-right-width");*/ } /** * fo_inline_container_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_inline_container_get_border_start_color (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_start_color; } /** * fo_inline_container_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_inline_container_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_inline_container->border_start_color != NULL) { g_object_unref (fo_inline_container->border_start_color); } fo_inline_container->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_inline_container), "border-start-color");*/ } /** * fo_inline_container_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_inline_container_get_border_start_style (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_start_style; } /** * fo_inline_container_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_inline_container_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_inline_container->border_start_style != NULL) { g_object_unref (fo_inline_container->border_start_style); } fo_inline_container->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_inline_container), "border-start-style");*/ } /** * fo_inline_container_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_inline_container_get_border_start_width (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_start_width; } /** * fo_inline_container_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_inline_container_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_inline_container->border_start_width != NULL) { g_object_unref (fo_inline_container->border_start_width); } fo_inline_container->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_inline_container), "border-start-width");*/ } /** * fo_inline_container_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_inline_container_get_border_top_color (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_top_color; } /** * fo_inline_container_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_inline_container_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_inline_container->border_top_color != NULL) { g_object_unref (fo_inline_container->border_top_color); } fo_inline_container->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_inline_container), "border-top-color");*/ } /** * fo_inline_container_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_inline_container_get_border_top_style (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_top_style; } /** * fo_inline_container_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_inline_container_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_inline_container->border_top_style != NULL) { g_object_unref (fo_inline_container->border_top_style); } fo_inline_container->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_inline_container), "border-top-style");*/ } /** * fo_inline_container_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_inline_container_get_border_top_width (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->border_top_width; } /** * fo_inline_container_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_inline_container_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_inline_container->border_top_width != NULL) { g_object_unref (fo_inline_container->border_top_width); } fo_inline_container->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_inline_container), "border-top-width");*/ } /** * fo_inline_container_get_clip: * @fo_fo: The @FoFo object * * Gets the "clip" property of @fo_fo * * Return value: The "clip" property value **/ FoProperty* fo_inline_container_get_clip (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->clip; } /** * fo_inline_container_set_clip: * @fo_fo: The #FoFo object * @new_clip: The new "clip" property value * * Sets the "clip" property of @fo_fo to @new_clip **/ void fo_inline_container_set_clip (FoFo *fo_fo, FoProperty *new_clip) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_inline_container->clip != NULL) { g_object_unref (fo_inline_container->clip); } fo_inline_container->clip = new_clip; /*g_object_notify (G_OBJECT (fo_inline_container), "clip");*/ } /** * fo_inline_container_get_display_align: * @fo_fo: The @FoFo object * * Gets the "display-align" property of @fo_fo * * Return value: The "display-align" property value **/ FoProperty* fo_inline_container_get_display_align (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->display_align; } /** * fo_inline_container_set_display_align: * @fo_fo: The #FoFo object * @new_display_align: The new "display-align" property value * * Sets the "display-align" property of @fo_fo to @new_display_align **/ void fo_inline_container_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_inline_container->display_align != NULL) { g_object_unref (fo_inline_container->display_align); } fo_inline_container->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_inline_container), "display-align");*/ } /** * fo_inline_container_get_dominant_baseline: * @fo_fo: The @FoFo object * * Gets the "dominant-baseline" property of @fo_fo * * Return value: The "dominant-baseline" property value **/ FoProperty* fo_inline_container_get_dominant_baseline (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->dominant_baseline; } /** * fo_inline_container_set_dominant_baseline: * @fo_fo: The #FoFo object * @new_dominant_baseline: The new "dominant-baseline" property value * * Sets the "dominant-baseline" property of @fo_fo to @new_dominant_baseline **/ void fo_inline_container_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_inline_container->dominant_baseline != NULL) { g_object_unref (fo_inline_container->dominant_baseline); } fo_inline_container->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_inline_container), "dominant-baseline");*/ } /** * fo_inline_container_get_height: * @fo_fo: The @FoFo object * * Gets the "height" property of @fo_fo * * Return value: The "height" property value **/ FoProperty* fo_inline_container_get_height (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->height; } /** * fo_inline_container_set_height: * @fo_fo: The #FoFo object * @new_height: The new "height" property value * * Sets the "height" property of @fo_fo to @new_height **/ void fo_inline_container_set_height (FoFo *fo_fo, FoProperty *new_height) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_inline_container->height != NULL) { g_object_unref (fo_inline_container->height); } fo_inline_container->height = new_height; /*g_object_notify (G_OBJECT (fo_inline_container), "height");*/ } /** * fo_inline_container_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_inline_container_get_id (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->id; } /** * fo_inline_container_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_inline_container_set_id (FoFo *fo_fo, FoProperty *new_id) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_inline_container->id != NULL) { g_object_unref (fo_inline_container->id); } fo_inline_container->id = new_id; /*g_object_notify (G_OBJECT (fo_inline_container), "id");*/ } /** * fo_inline_container_get_inline_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "inline-progression-dimension" property of @fo_fo * * Return value: The "inline-progression-dimension" property value **/ FoProperty* fo_inline_container_get_inline_progression_dimension (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->inline_progression_dimension; } /** * fo_inline_container_set_inline_progression_dimension: * @fo_fo: The #FoFo object * @new_inline_progression_dimension: The new "inline-progression-dimension" property value * * Sets the "inline-progression-dimension" property of @fo_fo to @new_inline_progression_dimension **/ void fo_inline_container_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (new_inline_progression_dimension)); if (new_inline_progression_dimension != NULL) { g_object_ref (new_inline_progression_dimension); } if (fo_inline_container->inline_progression_dimension != NULL) { g_object_unref (fo_inline_container->inline_progression_dimension); } fo_inline_container->inline_progression_dimension = new_inline_progression_dimension; /*g_object_notify (G_OBJECT (fo_inline_container), "inline-progression-dimension");*/ } /** * fo_inline_container_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_inline_container_get_keep_together (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_together; } /** * fo_inline_container_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_inline_container_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_inline_container->keep_together != NULL) { g_object_unref (fo_inline_container->keep_together); } fo_inline_container->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-together");*/ } /** * fo_inline_container_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_inline_container_get_keep_together_within_column (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_together_within_column; } /** * fo_inline_container_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_inline_container_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_inline_container->keep_together_within_column != NULL) { g_object_unref (fo_inline_container->keep_together_within_column); } fo_inline_container->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-together-within-column");*/ } /** * fo_inline_container_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_inline_container_get_keep_together_within_line (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_together_within_line; } /** * fo_inline_container_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_inline_container_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_inline_container->keep_together_within_line != NULL) { g_object_unref (fo_inline_container->keep_together_within_line); } fo_inline_container->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-together-within-line");*/ } /** * fo_inline_container_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_inline_container_get_keep_together_within_page (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_together_within_page; } /** * fo_inline_container_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_inline_container_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_inline_container->keep_together_within_page != NULL) { g_object_unref (fo_inline_container->keep_together_within_page); } fo_inline_container->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-together-within-page");*/ } /** * fo_inline_container_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_inline_container_get_keep_with_next (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_with_next; } /** * fo_inline_container_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_inline_container_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_inline_container->keep_with_next != NULL) { g_object_unref (fo_inline_container->keep_with_next); } fo_inline_container->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-with-next");*/ } /** * fo_inline_container_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_inline_container_get_keep_with_next_within_column (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_with_next_within_column; } /** * fo_inline_container_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_inline_container_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_inline_container->keep_with_next_within_column != NULL) { g_object_unref (fo_inline_container->keep_with_next_within_column); } fo_inline_container->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-with-next-within-column");*/ } /** * fo_inline_container_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_inline_container_get_keep_with_next_within_line (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_with_next_within_line; } /** * fo_inline_container_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_inline_container_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_inline_container->keep_with_next_within_line != NULL) { g_object_unref (fo_inline_container->keep_with_next_within_line); } fo_inline_container->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-with-next-within-line");*/ } /** * fo_inline_container_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_inline_container_get_keep_with_next_within_page (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_with_next_within_page; } /** * fo_inline_container_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_inline_container_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_inline_container->keep_with_next_within_page != NULL) { g_object_unref (fo_inline_container->keep_with_next_within_page); } fo_inline_container->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-with-next-within-page");*/ } /** * fo_inline_container_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_inline_container_get_keep_with_previous (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_with_previous; } /** * fo_inline_container_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_inline_container_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_inline_container->keep_with_previous != NULL) { g_object_unref (fo_inline_container->keep_with_previous); } fo_inline_container->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-with-previous");*/ } /** * fo_inline_container_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_inline_container_get_keep_with_previous_within_column (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_with_previous_within_column; } /** * fo_inline_container_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_inline_container_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_inline_container->keep_with_previous_within_column != NULL) { g_object_unref (fo_inline_container->keep_with_previous_within_column); } fo_inline_container->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-with-previous-within-column");*/ } /** * fo_inline_container_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_inline_container_get_keep_with_previous_within_line (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_with_previous_within_line; } /** * fo_inline_container_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_inline_container_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_inline_container->keep_with_previous_within_line != NULL) { g_object_unref (fo_inline_container->keep_with_previous_within_line); } fo_inline_container->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-with-previous-within-line");*/ } /** * fo_inline_container_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_inline_container_get_keep_with_previous_within_page (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->keep_with_previous_within_page; } /** * fo_inline_container_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_inline_container_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_inline_container->keep_with_previous_within_page != NULL) { g_object_unref (fo_inline_container->keep_with_previous_within_page); } fo_inline_container->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_inline_container), "keep-with-previous-within-page");*/ } /** * fo_inline_container_get_line_height: * @fo_fo: The @FoFo object * * Gets the "line-height" property of @fo_fo * * Return value: The "line-height" property value **/ FoProperty* fo_inline_container_get_line_height (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->line_height; } /** * fo_inline_container_set_line_height: * @fo_fo: The #FoFo object * @new_line_height: The new "line-height" property value * * Sets the "line-height" property of @fo_fo to @new_line_height **/ void fo_inline_container_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_inline_container->line_height != NULL) { g_object_unref (fo_inline_container->line_height); } fo_inline_container->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_inline_container), "line-height");*/ } /** * fo_inline_container_get_overflow: * @fo_fo: The @FoFo object * * Gets the "overflow" property of @fo_fo * * Return value: The "overflow" property value **/ FoProperty* fo_inline_container_get_overflow (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->overflow; } /** * fo_inline_container_set_overflow: * @fo_fo: The #FoFo object * @new_overflow: The new "overflow" property value * * Sets the "overflow" property of @fo_fo to @new_overflow **/ void fo_inline_container_set_overflow (FoFo *fo_fo, FoProperty *new_overflow) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_inline_container->overflow != NULL) { g_object_unref (fo_inline_container->overflow); } fo_inline_container->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_inline_container), "overflow");*/ } /** * fo_inline_container_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_inline_container_get_padding_after (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->padding_after; } /** * fo_inline_container_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_inline_container_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_inline_container->padding_after != NULL) { g_object_unref (fo_inline_container->padding_after); } fo_inline_container->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_inline_container), "padding-after");*/ } /** * fo_inline_container_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_inline_container_get_padding_before (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->padding_before; } /** * fo_inline_container_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_inline_container_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_inline_container->padding_before != NULL) { g_object_unref (fo_inline_container->padding_before); } fo_inline_container->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_inline_container), "padding-before");*/ } /** * fo_inline_container_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_inline_container_get_padding_bottom (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->padding_bottom; } /** * fo_inline_container_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_inline_container_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_inline_container->padding_bottom != NULL) { g_object_unref (fo_inline_container->padding_bottom); } fo_inline_container->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_inline_container), "padding-bottom");*/ } /** * fo_inline_container_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_inline_container_get_padding_end (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->padding_end; } /** * fo_inline_container_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_inline_container_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_inline_container->padding_end != NULL) { g_object_unref (fo_inline_container->padding_end); } fo_inline_container->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_inline_container), "padding-end");*/ } /** * fo_inline_container_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_inline_container_get_padding_left (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->padding_left; } /** * fo_inline_container_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_inline_container_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_inline_container->padding_left != NULL) { g_object_unref (fo_inline_container->padding_left); } fo_inline_container->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_inline_container), "padding-left");*/ } /** * fo_inline_container_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_inline_container_get_padding_right (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->padding_right; } /** * fo_inline_container_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_inline_container_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_inline_container->padding_right != NULL) { g_object_unref (fo_inline_container->padding_right); } fo_inline_container->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_inline_container), "padding-right");*/ } /** * fo_inline_container_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_inline_container_get_padding_start (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->padding_start; } /** * fo_inline_container_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_inline_container_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_inline_container->padding_start != NULL) { g_object_unref (fo_inline_container->padding_start); } fo_inline_container->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_inline_container), "padding-start");*/ } /** * fo_inline_container_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_inline_container_get_padding_top (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->padding_top; } /** * fo_inline_container_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_inline_container_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_inline_container->padding_top != NULL) { g_object_unref (fo_inline_container->padding_top); } fo_inline_container->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_inline_container), "padding-top");*/ } /** * fo_inline_container_get_space_end: * @fo_fo: The @FoFo object * * Gets the "space-end" property of @fo_fo * * Return value: The "space-end" property value **/ FoProperty* fo_inline_container_get_space_end (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->space_end; } /** * fo_inline_container_set_space_end: * @fo_fo: The #FoFo object * @new_space_end: The new "space-end" property value * * Sets the "space-end" property of @fo_fo to @new_space_end **/ void fo_inline_container_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_inline_container->space_end != NULL) { g_object_unref (fo_inline_container->space_end); } fo_inline_container->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_inline_container), "space-end");*/ } /** * fo_inline_container_get_space_start: * @fo_fo: The @FoFo object * * Gets the "space-start" property of @fo_fo * * Return value: The "space-start" property value **/ FoProperty* fo_inline_container_get_space_start (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->space_start; } /** * fo_inline_container_set_space_start: * @fo_fo: The #FoFo object * @new_space_start: The new "space-start" property value * * Sets the "space-start" property of @fo_fo to @new_space_start **/ void fo_inline_container_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_inline_container->space_start != NULL) { g_object_unref (fo_inline_container->space_start); } fo_inline_container->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_inline_container), "space-start");*/ } /** * fo_inline_container_get_width: * @fo_fo: The @FoFo object * * Gets the "width" property of @fo_fo * * Return value: The "width" property value **/ FoProperty* fo_inline_container_get_width (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->width; } /** * fo_inline_container_set_width: * @fo_fo: The #FoFo object * @new_width: The new "width" property value * * Sets the "width" property of @fo_fo to @new_width **/ void fo_inline_container_set_width (FoFo *fo_fo, FoProperty *new_width) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_WIDTH (new_width)); if (new_width != NULL) { g_object_ref (new_width); } if (fo_inline_container->width != NULL) { g_object_unref (fo_inline_container->width); } fo_inline_container->width = new_width; /*g_object_notify (G_OBJECT (fo_inline_container), "width");*/ } /** * fo_inline_container_get_writing_mode: * @fo_fo: The @FoFo object * * Gets the "writing-mode" property of @fo_fo * * Return value: The "writing-mode" property value **/ FoProperty* fo_inline_container_get_writing_mode (FoFo *fo_fo) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_val_if_fail (fo_inline_container != NULL, NULL); g_return_val_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container), NULL); return fo_inline_container->writing_mode; } /** * fo_inline_container_set_writing_mode: * @fo_fo: The #FoFo object * @new_writing_mode: The new "writing-mode" property value * * Sets the "writing-mode" property of @fo_fo to @new_writing_mode **/ void fo_inline_container_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode) { FoInlineContainer *fo_inline_container = (FoInlineContainer *) fo_fo; g_return_if_fail (fo_inline_container != NULL); g_return_if_fail (FO_IS_INLINE_CONTAINER (fo_inline_container)); g_return_if_fail (FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_inline_container->writing_mode != NULL) { g_object_unref (fo_inline_container->writing_mode); } fo_inline_container->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_inline_container), "writing-mode");*/ } xmlroff-0.6.2/libfo/fo/fo-inline-container.h0000644000175000017500000003746010643167375015653 00000000000000/* Fo * fo-inline_container.h: 'inline-container' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INLINE_CONTAINER_H__ #define __FO_INLINE_CONTAINER_H__ #include #include G_BEGIN_DECLS typedef struct _FoInlineContainer FoInlineContainer; typedef struct _FoInlineContainerClass FoInlineContainerClass; #define FO_TYPE_INLINE_CONTAINER (fo_inline_container_get_type ()) #define FO_INLINE_CONTAINER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_INLINE_CONTAINER, FoInlineContainer)) #define FO_INLINE_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_INLINE_CONTAINER, FoInlineContainerClass)) #define FO_IS_INLINE_CONTAINER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_INLINE_CONTAINER)) #define FO_IS_INLINE_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_INLINE_CONTAINER)) #define FO_INLINE_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_INLINE_CONTAINER, FoInlineContainerClass)) GType fo_inline_container_get_type (void) G_GNUC_CONST; FoFo *fo_inline_container_new (void); FoProperty* fo_inline_container_get_alignment_adjust (FoFo *fo_fo); void fo_inline_container_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_inline_container_get_alignment_baseline (FoFo *fo_fo); void fo_inline_container_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty * fo_inline_container_get_background_color (FoFo *fo_fo); void fo_inline_container_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_inline_container_get_background_image (FoFo *fo_fo); void fo_inline_container_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_inline_container_get_baseline_shift (FoFo *fo_fo); void fo_inline_container_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_inline_container_get_block_progression_dimension (FoFo *fo_fo); void fo_inline_container_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_inline_container_get_border_after_color (FoFo *fo_fo); void fo_inline_container_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_inline_container_get_border_after_style (FoFo *fo_fo); void fo_inline_container_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_inline_container_get_border_after_width (FoFo *fo_fo); void fo_inline_container_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_inline_container_get_border_before_color (FoFo *fo_fo); void fo_inline_container_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_inline_container_get_border_before_style (FoFo *fo_fo); void fo_inline_container_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_inline_container_get_border_before_width (FoFo *fo_fo); void fo_inline_container_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_inline_container_get_border_bottom_color (FoFo *fo_fo); void fo_inline_container_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_inline_container_get_border_bottom_style (FoFo *fo_fo); void fo_inline_container_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_inline_container_get_border_bottom_width (FoFo *fo_fo); void fo_inline_container_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_inline_container_get_border_end_color (FoFo *fo_fo); void fo_inline_container_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_inline_container_get_border_end_style (FoFo *fo_fo); void fo_inline_container_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_inline_container_get_border_end_width (FoFo *fo_fo); void fo_inline_container_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_inline_container_get_border_left_color (FoFo *fo_fo); void fo_inline_container_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_inline_container_get_border_left_style (FoFo *fo_fo); void fo_inline_container_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_inline_container_get_border_left_width (FoFo *fo_fo); void fo_inline_container_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_inline_container_get_border_right_color (FoFo *fo_fo); void fo_inline_container_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_inline_container_get_border_right_style (FoFo *fo_fo); void fo_inline_container_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_inline_container_get_border_right_width (FoFo *fo_fo); void fo_inline_container_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_inline_container_get_border_start_color (FoFo *fo_fo); void fo_inline_container_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_inline_container_get_border_start_style (FoFo *fo_fo); void fo_inline_container_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_inline_container_get_border_start_width (FoFo *fo_fo); void fo_inline_container_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_inline_container_get_border_top_color (FoFo *fo_fo); void fo_inline_container_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_inline_container_get_border_top_style (FoFo *fo_fo); void fo_inline_container_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_inline_container_get_border_top_width (FoFo *fo_fo); void fo_inline_container_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_inline_container_get_clip (FoFo *fo_fo); void fo_inline_container_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_inline_container_get_display_align (FoFo *fo_fo); void fo_inline_container_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_inline_container_get_dominant_baseline (FoFo *fo_fo); void fo_inline_container_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_inline_container_get_height (FoFo *fo_fo); void fo_inline_container_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_inline_container_get_id (FoFo *fo_fo); void fo_inline_container_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_inline_container_get_inline_progression_dimension (FoFo *fo_fo); void fo_inline_container_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_inline_container_get_keep_together (FoFo *fo_fo); void fo_inline_container_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_inline_container_get_keep_together_within_column (FoFo *fo_fo); void fo_inline_container_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_inline_container_get_keep_together_within_line (FoFo *fo_fo); void fo_inline_container_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_inline_container_get_keep_together_within_page (FoFo *fo_fo); void fo_inline_container_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_inline_container_get_keep_with_next (FoFo *fo_fo); void fo_inline_container_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_inline_container_get_keep_with_next_within_column (FoFo *fo_fo); void fo_inline_container_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_inline_container_get_keep_with_next_within_line (FoFo *fo_fo); void fo_inline_container_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_inline_container_get_keep_with_next_within_page (FoFo *fo_fo); void fo_inline_container_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_inline_container_get_keep_with_previous (FoFo *fo_fo); void fo_inline_container_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_inline_container_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_inline_container_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_inline_container_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_inline_container_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_inline_container_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_inline_container_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_inline_container_get_line_height (FoFo *fo_fo); void fo_inline_container_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_inline_container_get_overflow (FoFo *fo_fo); void fo_inline_container_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_inline_container_get_padding_after (FoFo *fo_fo); void fo_inline_container_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_inline_container_get_padding_before (FoFo *fo_fo); void fo_inline_container_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_inline_container_get_padding_bottom (FoFo *fo_fo); void fo_inline_container_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_inline_container_get_padding_end (FoFo *fo_fo); void fo_inline_container_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_inline_container_get_padding_left (FoFo *fo_fo); void fo_inline_container_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_inline_container_get_padding_right (FoFo *fo_fo); void fo_inline_container_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_inline_container_get_padding_start (FoFo *fo_fo); void fo_inline_container_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_inline_container_get_padding_top (FoFo *fo_fo); void fo_inline_container_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_inline_container_get_space_end (FoFo *fo_fo); void fo_inline_container_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_inline_container_get_space_start (FoFo *fo_fo); void fo_inline_container_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty* fo_inline_container_get_width (FoFo *fo_fo); void fo_inline_container_set_width (FoFo *fo_fo, FoProperty *new_width); FoProperty* fo_inline_container_get_writing_mode (FoFo *fo_fo); void fo_inline_container_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); G_END_DECLS #endif /* !__FO_INLINE_CONTAINER_H__ */ xmlroff-0.6.2/libfo/fo/fo-inline-container-private.h0000644000175000017500000000522110643167376017312 00000000000000/* Fo * fo-inline-container-private.h: Structures private to 'inline-container' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INLINE_CONTAINER_PRIVATE_H__ #define __FO_INLINE_CONTAINER_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoInlineContainer { FoMarkerParent parent_instance; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *block_progression_dimension; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *clip; FoProperty *display_align; FoProperty *dominant_baseline; FoProperty *height; FoProperty *id; FoProperty *inline_progression_dimension; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *overflow; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *space_end; FoProperty *space_start; FoProperty *width; FoProperty *writing_mode; }; struct _FoInlineContainerClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_INLINE_CONTAINER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-instream-foreign-object.c0000644000175000017500000051670510660107744017122 00000000000000/* Fo * fo-instream-foreign-object.c: 'instream-foreign-object' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-inline-fo.h" #include "fo-instream-foreign-object.h" #include "fo-instream-foreign-object-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-alignment-adjust.h" #include "property/fo-property-alignment-baseline.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-baseline-shift.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-clip.h" #include "property/fo-property-content-height.h" #include "property/fo-property-content-type.h" #include "property/fo-property-content-width.h" #include "property/fo-property-display-align.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-height.h" #include "property/fo-property-id.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-overflow.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-scaling.h" #include "property/fo-property-scaling-method.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" #include "property/fo-property-text-align.h" #include "property/fo-property-width.h" enum { PROP_0, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_CLIP, PROP_CONTENT_HEIGHT, PROP_CONTENT_TYPE, PROP_CONTENT_WIDTH, PROP_DISPLAY_ALIGN, PROP_DOMINANT_BASELINE, PROP_HEIGHT, PROP_ID, PROP_INLINE_PROGRESSION_DIMENSION, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_OVERFLOW, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SCALING, PROP_SCALING_METHOD, PROP_SOURCE_DOCUMENT, PROP_SPACE_END, PROP_SPACE_START, PROP_TEXT_ALIGN, PROP_WIDTH }; static void fo_instream_foreign_object_class_init (FoInstreamForeignObjectClass *klass); static void fo_instream_foreign_object_inline_fo_init (FoInlineFoIface *iface); static void fo_instream_foreign_object_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_instream_foreign_object_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_instream_foreign_object_finalize (GObject *object); static gboolean fo_instream_foreign_object_validate_content (FoFo *fo, GError **error); static void fo_instream_foreign_object_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_instream_foreign_object_update_from_context (FoFo *fo, FoContext *context); static void fo_instream_foreign_object_debug_dump_properties (FoFo *fo, gint depth); static void fo_instream_foreign_object_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_instream_foreign_object_get_type: * * Register the #FoInstreamForeignObject object type. * * Return value: #GType value of the #FoInstreamForeignObject object type. **/ GType fo_instream_foreign_object_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoInstreamForeignObjectClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_instream_foreign_object_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoInstreamForeignObject), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_instream_foreign_object_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoInstreamForeignObject", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_instream_foreign_object_class_init: * @klass: #FoInstreamForeignObjectClass object to initialise. * * Implements #GClassInitFunc for #FoInstreamForeignObjectClass. **/ void fo_instream_foreign_object_class_init (FoInstreamForeignObjectClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_instream_foreign_object_finalize; object_class->get_property = fo_instream_foreign_object_get_property; object_class->set_property = fo_instream_foreign_object_set_property; fofo_class->validate_content = fo_instream_foreign_object_validate_content; fofo_class->validate2 = fo_instream_foreign_object_validate; fofo_class->update_from_context = fo_instream_foreign_object_update_from_context; fofo_class->debug_dump_properties = fo_instream_foreign_object_debug_dump_properties; g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTENT_HEIGHT, g_param_spec_object ("content-height", _("Content Height"), _("Content Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTENT_TYPE, g_param_spec_object ("content-type", _("Content Type"), _("Content Type property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CONTENT_WIDTH, g_param_spec_object ("content-width", _("Content Width"), _("Content Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION, g_param_spec_object ("inline-progression-dimension", _("Inline Progression Dimension"), _("Inline Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCALING, g_param_spec_object ("scaling", _("Scaling"), _("Scaling property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCALING_METHOD, g_param_spec_object ("scaling-method", _("Scaling Method"), _("Scaling Method property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_TEXT_ALIGN, g_param_spec_object ("text-align", _("Text Align"), _("Text Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_instream_foreign_object_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_instream_foreign_object_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_instream_foreign_object_get_text_attr_list; } /** * fo_instream_foreign_object_finalize: * @object: #FoInstreamForeignObject object to finalize. * * Implements #GObjectFinalizeFunc for #FoInstreamForeignObject. **/ void fo_instream_foreign_object_finalize (GObject *object) { FoInstreamForeignObject *fo_instream_foreign_object; fo_instream_foreign_object = FO_INSTREAM_FOREIGN_OBJECT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_instream_foreign_object_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoInstreamForeignObject. **/ void fo_instream_foreign_object_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_alignment_adjust (fo_fo))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_alignment_baseline (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_background_image (fo_fo))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_baseline_shift (fo_fo))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_block_progression_dimension (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_border_top_width (fo_fo))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_clip (fo_fo))); break; case PROP_CONTENT_HEIGHT: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_content_height (fo_fo))); break; case PROP_CONTENT_TYPE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_content_type (fo_fo))); break; case PROP_CONTENT_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_content_width (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_display_align (fo_fo))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_dominant_baseline (fo_fo))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_height (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_id (fo_fo))); break; case PROP_INLINE_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_inline_progression_dimension (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_line_height (fo_fo))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_overflow (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_role (fo_fo))); break; case PROP_SCALING: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_scaling (fo_fo))); break; case PROP_SCALING_METHOD: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_scaling_method (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_source_document (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_space_start (fo_fo))); break; case PROP_TEXT_ALIGN: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_text_align (fo_fo))); break; case PROP_WIDTH: g_value_set_object (value, G_OBJECT (fo_instream_foreign_object_get_width (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_instream_foreign_object_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoInstreamForeignObject. **/ void fo_instream_foreign_object_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: fo_instream_foreign_object_set_alignment_adjust (fo_fo, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_instream_foreign_object_set_alignment_baseline (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_instream_foreign_object_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_instream_foreign_object_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_instream_foreign_object_set_baseline_shift (fo_fo, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_instream_foreign_object_set_block_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_instream_foreign_object_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_instream_foreign_object_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_instream_foreign_object_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_instream_foreign_object_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_instream_foreign_object_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_instream_foreign_object_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_instream_foreign_object_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_instream_foreign_object_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_instream_foreign_object_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_instream_foreign_object_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_instream_foreign_object_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_instream_foreign_object_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_instream_foreign_object_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_instream_foreign_object_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_instream_foreign_object_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_instream_foreign_object_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_instream_foreign_object_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_instream_foreign_object_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_instream_foreign_object_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_instream_foreign_object_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_instream_foreign_object_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_instream_foreign_object_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_instream_foreign_object_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_instream_foreign_object_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_CLIP: fo_instream_foreign_object_set_clip (fo_fo, g_value_get_object (value)); break; case PROP_CONTENT_HEIGHT: fo_instream_foreign_object_set_content_height (fo_fo, g_value_get_object (value)); break; case PROP_CONTENT_TYPE: fo_instream_foreign_object_set_content_type (fo_fo, g_value_get_object (value)); break; case PROP_CONTENT_WIDTH: fo_instream_foreign_object_set_content_width (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_instream_foreign_object_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_instream_foreign_object_set_dominant_baseline (fo_fo, g_value_get_object (value)); break; case PROP_HEIGHT: fo_instream_foreign_object_set_height (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_instream_foreign_object_set_id (fo_fo, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION: fo_instream_foreign_object_set_inline_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_instream_foreign_object_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_instream_foreign_object_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_instream_foreign_object_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_instream_foreign_object_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_instream_foreign_object_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_instream_foreign_object_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_instream_foreign_object_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_instream_foreign_object_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_instream_foreign_object_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_instream_foreign_object_set_overflow (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_instream_foreign_object_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_instream_foreign_object_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_instream_foreign_object_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_instream_foreign_object_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_instream_foreign_object_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_instream_foreign_object_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_instream_foreign_object_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_instream_foreign_object_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_instream_foreign_object_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SCALING: fo_instream_foreign_object_set_scaling (fo_fo, g_value_get_object (value)); break; case PROP_SCALING_METHOD: fo_instream_foreign_object_set_scaling_method (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_instream_foreign_object_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_instream_foreign_object_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_instream_foreign_object_set_space_start (fo_fo, g_value_get_object (value)); break; case PROP_TEXT_ALIGN: fo_instream_foreign_object_set_text_align (fo_fo, g_value_get_object (value)); break; case PROP_WIDTH: fo_instream_foreign_object_set_width (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_instream_foreign_object_new: * * Creates a new #FoInstreamForeignObject initialized to default value. * * Return value: the new #FoInstreamForeignObject. **/ FoFo* fo_instream_foreign_object_new (void) { return FO_FO (g_object_new (fo_instream_foreign_object_get_type (), NULL)); } /** * fo_instream_foreign_object_validate_content: * @fo: #FoInstreamForeignObject object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not. **/ gboolean fo_instream_foreign_object_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_instream_foreign_object_validate: * @fo: #FoInstreamForeignObject object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_instream_foreign_object_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoInstreamForeignObject *fo_instream_foreign_object; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_instream_foreign_object = FO_INSTREAM_FOREIGN_OBJECT (fo); fo_context_util_dominant_baseline_resolve (current_context, parent_context); fo_context_util_height_width_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_instream_foreign_object_set_line_height (fo, fo_property_line_height_resolve (fo_instream_foreign_object->line_height, fo_context_get_font_size (fo->context))); } /** * fo_instream_foreign_object_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_instream_foreign_object_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_instream_foreign_object_set_alignment_adjust (fo, fo_context_get_alignment_adjust (context)); fo_instream_foreign_object_set_alignment_baseline (fo, fo_context_get_alignment_baseline (context)); fo_instream_foreign_object_set_background_color (fo, fo_context_get_background_color (context)); fo_instream_foreign_object_set_background_image (fo, fo_context_get_background_image (context)); fo_instream_foreign_object_set_baseline_shift (fo, fo_context_get_baseline_shift (context)); fo_instream_foreign_object_set_block_progression_dimension (fo, fo_context_get_block_progression_dimension (context)); fo_instream_foreign_object_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_instream_foreign_object_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_instream_foreign_object_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_instream_foreign_object_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_instream_foreign_object_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_instream_foreign_object_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_instream_foreign_object_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_instream_foreign_object_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_instream_foreign_object_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_instream_foreign_object_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_instream_foreign_object_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_instream_foreign_object_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_instream_foreign_object_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_instream_foreign_object_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_instream_foreign_object_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_instream_foreign_object_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_instream_foreign_object_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_instream_foreign_object_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_instream_foreign_object_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_instream_foreign_object_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_instream_foreign_object_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_instream_foreign_object_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_instream_foreign_object_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_instream_foreign_object_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_instream_foreign_object_set_clip (fo, fo_context_get_clip (context)); fo_instream_foreign_object_set_content_height (fo, fo_context_get_content_height (context)); fo_instream_foreign_object_set_content_type (fo, fo_context_get_content_type (context)); fo_instream_foreign_object_set_content_width (fo, fo_context_get_content_width (context)); fo_instream_foreign_object_set_display_align (fo, fo_context_get_display_align (context)); fo_instream_foreign_object_set_dominant_baseline (fo, fo_context_get_dominant_baseline (context)); fo_instream_foreign_object_set_height (fo, fo_context_get_height (context)); fo_instream_foreign_object_set_id (fo, fo_context_get_id (context)); fo_instream_foreign_object_set_inline_progression_dimension (fo, fo_context_get_inline_progression_dimension (context)); fo_instream_foreign_object_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_instream_foreign_object_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_instream_foreign_object_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_instream_foreign_object_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_instream_foreign_object_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_instream_foreign_object_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_instream_foreign_object_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_instream_foreign_object_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_instream_foreign_object_set_line_height (fo, fo_context_get_line_height (context)); fo_instream_foreign_object_set_overflow (fo, fo_context_get_overflow (context)); fo_instream_foreign_object_set_padding_after (fo, fo_context_get_padding_after (context)); fo_instream_foreign_object_set_padding_before (fo, fo_context_get_padding_before (context)); fo_instream_foreign_object_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_instream_foreign_object_set_padding_end (fo, fo_context_get_padding_end (context)); fo_instream_foreign_object_set_padding_left (fo, fo_context_get_padding_left (context)); fo_instream_foreign_object_set_padding_right (fo, fo_context_get_padding_right (context)); fo_instream_foreign_object_set_padding_start (fo, fo_context_get_padding_start (context)); fo_instream_foreign_object_set_padding_top (fo, fo_context_get_padding_top (context)); fo_instream_foreign_object_set_role (fo, fo_context_get_role (context)); fo_instream_foreign_object_set_scaling (fo, fo_context_get_scaling (context)); fo_instream_foreign_object_set_scaling_method (fo, fo_context_get_scaling_method (context)); fo_instream_foreign_object_set_source_document (fo, fo_context_get_source_document (context)); fo_instream_foreign_object_set_space_end (fo, fo_context_get_space_end (context)); fo_instream_foreign_object_set_space_start (fo, fo_context_get_space_start (context)); fo_instream_foreign_object_set_text_align (fo, fo_context_get_text_align (context)); fo_instream_foreign_object_set_width (fo, fo_context_get_width (context)); } /** * fo_instream_foreign_object_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_instream_foreign_object_debug_dump_properties (FoFo *fo, gint depth) { FoInstreamForeignObject *fo_instream_foreign_object; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo)); fo_instream_foreign_object = FO_INSTREAM_FOREIGN_OBJECT (fo); fo_object_debug_dump (fo_instream_foreign_object->alignment_adjust, depth); fo_object_debug_dump (fo_instream_foreign_object->alignment_baseline, depth); fo_object_debug_dump (fo_instream_foreign_object->background_color, depth); fo_object_debug_dump (fo_instream_foreign_object->background_image, depth); fo_object_debug_dump (fo_instream_foreign_object->baseline_shift, depth); fo_object_debug_dump (fo_instream_foreign_object->block_progression_dimension, depth); fo_object_debug_dump (fo_instream_foreign_object->border_after_color, depth); fo_object_debug_dump (fo_instream_foreign_object->border_after_style, depth); fo_object_debug_dump (fo_instream_foreign_object->border_after_width, depth); fo_object_debug_dump (fo_instream_foreign_object->border_before_color, depth); fo_object_debug_dump (fo_instream_foreign_object->border_before_style, depth); fo_object_debug_dump (fo_instream_foreign_object->border_before_width, depth); fo_object_debug_dump (fo_instream_foreign_object->border_bottom_color, depth); fo_object_debug_dump (fo_instream_foreign_object->border_bottom_style, depth); fo_object_debug_dump (fo_instream_foreign_object->border_bottom_width, depth); fo_object_debug_dump (fo_instream_foreign_object->border_end_color, depth); fo_object_debug_dump (fo_instream_foreign_object->border_end_style, depth); fo_object_debug_dump (fo_instream_foreign_object->border_end_width, depth); fo_object_debug_dump (fo_instream_foreign_object->border_left_color, depth); fo_object_debug_dump (fo_instream_foreign_object->border_left_style, depth); fo_object_debug_dump (fo_instream_foreign_object->border_left_width, depth); fo_object_debug_dump (fo_instream_foreign_object->border_right_color, depth); fo_object_debug_dump (fo_instream_foreign_object->border_right_style, depth); fo_object_debug_dump (fo_instream_foreign_object->border_right_width, depth); fo_object_debug_dump (fo_instream_foreign_object->border_start_color, depth); fo_object_debug_dump (fo_instream_foreign_object->border_start_style, depth); fo_object_debug_dump (fo_instream_foreign_object->border_start_width, depth); fo_object_debug_dump (fo_instream_foreign_object->border_top_color, depth); fo_object_debug_dump (fo_instream_foreign_object->border_top_style, depth); fo_object_debug_dump (fo_instream_foreign_object->border_top_width, depth); fo_object_debug_dump (fo_instream_foreign_object->clip, depth); fo_object_debug_dump (fo_instream_foreign_object->content_height, depth); fo_object_debug_dump (fo_instream_foreign_object->content_type, depth); fo_object_debug_dump (fo_instream_foreign_object->content_width, depth); fo_object_debug_dump (fo_instream_foreign_object->display_align, depth); fo_object_debug_dump (fo_instream_foreign_object->dominant_baseline, depth); fo_object_debug_dump (fo_instream_foreign_object->height, depth); fo_object_debug_dump (fo_instream_foreign_object->id, depth); fo_object_debug_dump (fo_instream_foreign_object->inline_progression_dimension, depth); fo_object_debug_dump (fo_instream_foreign_object->keep_with_next, depth); fo_object_debug_dump (fo_instream_foreign_object->keep_with_next_within_column, depth); fo_object_debug_dump (fo_instream_foreign_object->keep_with_next_within_line, depth); fo_object_debug_dump (fo_instream_foreign_object->keep_with_next_within_page, depth); fo_object_debug_dump (fo_instream_foreign_object->keep_with_previous, depth); fo_object_debug_dump (fo_instream_foreign_object->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_instream_foreign_object->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_instream_foreign_object->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_instream_foreign_object->line_height, depth); fo_object_debug_dump (fo_instream_foreign_object->overflow, depth); fo_object_debug_dump (fo_instream_foreign_object->padding_after, depth); fo_object_debug_dump (fo_instream_foreign_object->padding_before, depth); fo_object_debug_dump (fo_instream_foreign_object->padding_bottom, depth); fo_object_debug_dump (fo_instream_foreign_object->padding_end, depth); fo_object_debug_dump (fo_instream_foreign_object->padding_left, depth); fo_object_debug_dump (fo_instream_foreign_object->padding_right, depth); fo_object_debug_dump (fo_instream_foreign_object->padding_start, depth); fo_object_debug_dump (fo_instream_foreign_object->padding_top, depth); fo_object_debug_dump (fo_instream_foreign_object->role, depth); fo_object_debug_dump (fo_instream_foreign_object->scaling, depth); fo_object_debug_dump (fo_instream_foreign_object->scaling_method, depth); fo_object_debug_dump (fo_instream_foreign_object->source_document, depth); fo_object_debug_dump (fo_instream_foreign_object->space_end, depth); fo_object_debug_dump (fo_instream_foreign_object->space_start, depth); fo_object_debug_dump (fo_instream_foreign_object->text_align, depth); fo_object_debug_dump (fo_instream_foreign_object->width, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_instream_foreign_object_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_instream_foreign_object_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { FoNode *fo_child_node; FoInstreamForeignObject *fo_instream_foreign_object; GList *my_attr_glist = NULL; gint start_index, end_index; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_inline_fo)); fo_instream_foreign_object = FO_INSTREAM_FOREIGN_OBJECT (fo_inline_fo); start_index = text->len; fo_child_node = fo_node_first_child (FO_NODE (fo_inline_fo)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, &my_attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } end_index = text->len; if (start_index != end_index) { PangoAttribute *pango_attr; pango_attr = fo_property_text_property_new_attr (fo_instream_foreign_object->baseline_shift); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); /* pango_attr = fo_property_text_property_new_attr (fo_instream_foreign_object->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ if (FO_IS_COLOR (fo_property_get_value (fo_instream_foreign_object->background_color))) { pango_attr = fo_property_text_property_new_attr (fo_instream_foreign_object->background_color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); } /* pango_attr = fo_property_text_property_new_attr (fo_instream_foreign_object->alignment_adjust); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_instream_foreign_object->alignment_baseline); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr_from_context (fo_instream_foreign_object->dominant_baseline, fo_fo_get_context (fo_inline_fo)); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_instream_foreign_object->keep_with_next_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_instream_foreign_object->keep_with_previous_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ } *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } /** * fo_instream_foreign_object_get_alignment_adjust: * @fo_fo: The @FoFo object * * Gets the "alignment-adjust" property of @fo_fo * * Return value: The "alignment-adjust" property value **/ FoProperty* fo_instream_foreign_object_get_alignment_adjust (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->alignment_adjust; } /** * fo_instream_foreign_object_set_alignment_adjust: * @fo_fo: The #FoFo object * @new_alignment_adjust: The new "alignment-adjust" property value * * Sets the "alignment-adjust" property of @fo_fo to @new_alignment_adjust **/ void fo_instream_foreign_object_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_instream_foreign_object->alignment_adjust != NULL) { g_object_unref (fo_instream_foreign_object->alignment_adjust); } fo_instream_foreign_object->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "alignment-adjust");*/ } /** * fo_instream_foreign_object_get_alignment_baseline: * @fo_fo: The @FoFo object * * Gets the "alignment-baseline" property of @fo_fo * * Return value: The "alignment-baseline" property value **/ FoProperty* fo_instream_foreign_object_get_alignment_baseline (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->alignment_baseline; } /** * fo_instream_foreign_object_set_alignment_baseline: * @fo_fo: The #FoFo object * @new_alignment_baseline: The new "alignment-baseline" property value * * Sets the "alignment-baseline" property of @fo_fo to @new_alignment_baseline **/ void fo_instream_foreign_object_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_instream_foreign_object->alignment_baseline != NULL) { g_object_unref (fo_instream_foreign_object->alignment_baseline); } fo_instream_foreign_object->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "alignment-baseline");*/ } /** * fo_instream_foreign_object_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_instream_foreign_object_get_background_color (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->background_color; } /** * fo_instream_foreign_object_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_instream_foreign_object_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_instream_foreign_object->background_color != NULL) { g_object_unref (fo_instream_foreign_object->background_color); } fo_instream_foreign_object->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "background-color");*/ } /** * fo_instream_foreign_object_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_instream_foreign_object_get_background_image (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->background_image; } /** * fo_instream_foreign_object_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_instream_foreign_object_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_instream_foreign_object->background_image != NULL) { g_object_unref (fo_instream_foreign_object->background_image); } fo_instream_foreign_object->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "background-image");*/ } /** * fo_instream_foreign_object_get_baseline_shift: * @fo_fo: The @FoFo object * * Gets the "baseline-shift" property of @fo_fo * * Return value: The "baseline-shift" property value **/ FoProperty* fo_instream_foreign_object_get_baseline_shift (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->baseline_shift; } /** * fo_instream_foreign_object_set_baseline_shift: * @fo_fo: The #FoFo object * @new_baseline_shift: The new "baseline-shift" property value * * Sets the "baseline-shift" property of @fo_fo to @new_baseline_shift **/ void fo_instream_foreign_object_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_instream_foreign_object->baseline_shift != NULL) { g_object_unref (fo_instream_foreign_object->baseline_shift); } fo_instream_foreign_object->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "baseline-shift");*/ } /** * fo_instream_foreign_object_get_block_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "block-progression-dimension" property of @fo_fo * * Return value: The "block-progression-dimension" property value **/ FoProperty* fo_instream_foreign_object_get_block_progression_dimension (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->block_progression_dimension; } /** * fo_instream_foreign_object_set_block_progression_dimension: * @fo_fo: The #FoFo object * @new_block_progression_dimension: The new "block-progression-dimension" property value * * Sets the "block-progression-dimension" property of @fo_fo to @new_block_progression_dimension **/ void fo_instream_foreign_object_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_instream_foreign_object->block_progression_dimension != NULL) { g_object_unref (fo_instream_foreign_object->block_progression_dimension); } fo_instream_foreign_object->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "block-progression-dimension");*/ } /** * fo_instream_foreign_object_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_instream_foreign_object_get_border_after_color (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_after_color; } /** * fo_instream_foreign_object_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_instream_foreign_object_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_instream_foreign_object->border_after_color != NULL) { g_object_unref (fo_instream_foreign_object->border_after_color); } fo_instream_foreign_object->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-after-color");*/ } /** * fo_instream_foreign_object_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_instream_foreign_object_get_border_after_style (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_after_style; } /** * fo_instream_foreign_object_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_instream_foreign_object_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_instream_foreign_object->border_after_style != NULL) { g_object_unref (fo_instream_foreign_object->border_after_style); } fo_instream_foreign_object->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-after-style");*/ } /** * fo_instream_foreign_object_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_instream_foreign_object_get_border_after_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_after_width; } /** * fo_instream_foreign_object_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_instream_foreign_object_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_instream_foreign_object->border_after_width != NULL) { g_object_unref (fo_instream_foreign_object->border_after_width); } fo_instream_foreign_object->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-after-width");*/ } /** * fo_instream_foreign_object_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_instream_foreign_object_get_border_before_color (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_before_color; } /** * fo_instream_foreign_object_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_instream_foreign_object_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_instream_foreign_object->border_before_color != NULL) { g_object_unref (fo_instream_foreign_object->border_before_color); } fo_instream_foreign_object->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-before-color");*/ } /** * fo_instream_foreign_object_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_instream_foreign_object_get_border_before_style (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_before_style; } /** * fo_instream_foreign_object_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_instream_foreign_object_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_instream_foreign_object->border_before_style != NULL) { g_object_unref (fo_instream_foreign_object->border_before_style); } fo_instream_foreign_object->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-before-style");*/ } /** * fo_instream_foreign_object_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_instream_foreign_object_get_border_before_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_before_width; } /** * fo_instream_foreign_object_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_instream_foreign_object_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_instream_foreign_object->border_before_width != NULL) { g_object_unref (fo_instream_foreign_object->border_before_width); } fo_instream_foreign_object->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-before-width");*/ } /** * fo_instream_foreign_object_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_instream_foreign_object_get_border_bottom_color (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_bottom_color; } /** * fo_instream_foreign_object_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_instream_foreign_object_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_instream_foreign_object->border_bottom_color != NULL) { g_object_unref (fo_instream_foreign_object->border_bottom_color); } fo_instream_foreign_object->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-bottom-color");*/ } /** * fo_instream_foreign_object_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_instream_foreign_object_get_border_bottom_style (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_bottom_style; } /** * fo_instream_foreign_object_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_instream_foreign_object_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_instream_foreign_object->border_bottom_style != NULL) { g_object_unref (fo_instream_foreign_object->border_bottom_style); } fo_instream_foreign_object->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-bottom-style");*/ } /** * fo_instream_foreign_object_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_instream_foreign_object_get_border_bottom_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_bottom_width; } /** * fo_instream_foreign_object_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_instream_foreign_object_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_instream_foreign_object->border_bottom_width != NULL) { g_object_unref (fo_instream_foreign_object->border_bottom_width); } fo_instream_foreign_object->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-bottom-width");*/ } /** * fo_instream_foreign_object_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_instream_foreign_object_get_border_end_color (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_end_color; } /** * fo_instream_foreign_object_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_instream_foreign_object_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_instream_foreign_object->border_end_color != NULL) { g_object_unref (fo_instream_foreign_object->border_end_color); } fo_instream_foreign_object->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-end-color");*/ } /** * fo_instream_foreign_object_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_instream_foreign_object_get_border_end_style (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_end_style; } /** * fo_instream_foreign_object_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_instream_foreign_object_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_instream_foreign_object->border_end_style != NULL) { g_object_unref (fo_instream_foreign_object->border_end_style); } fo_instream_foreign_object->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-end-style");*/ } /** * fo_instream_foreign_object_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_instream_foreign_object_get_border_end_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_end_width; } /** * fo_instream_foreign_object_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_instream_foreign_object_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_instream_foreign_object->border_end_width != NULL) { g_object_unref (fo_instream_foreign_object->border_end_width); } fo_instream_foreign_object->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-end-width");*/ } /** * fo_instream_foreign_object_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_instream_foreign_object_get_border_left_color (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_left_color; } /** * fo_instream_foreign_object_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_instream_foreign_object_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_instream_foreign_object->border_left_color != NULL) { g_object_unref (fo_instream_foreign_object->border_left_color); } fo_instream_foreign_object->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-left-color");*/ } /** * fo_instream_foreign_object_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_instream_foreign_object_get_border_left_style (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_left_style; } /** * fo_instream_foreign_object_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_instream_foreign_object_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_instream_foreign_object->border_left_style != NULL) { g_object_unref (fo_instream_foreign_object->border_left_style); } fo_instream_foreign_object->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-left-style");*/ } /** * fo_instream_foreign_object_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_instream_foreign_object_get_border_left_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_left_width; } /** * fo_instream_foreign_object_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_instream_foreign_object_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_instream_foreign_object->border_left_width != NULL) { g_object_unref (fo_instream_foreign_object->border_left_width); } fo_instream_foreign_object->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-left-width");*/ } /** * fo_instream_foreign_object_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_instream_foreign_object_get_border_right_color (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_right_color; } /** * fo_instream_foreign_object_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_instream_foreign_object_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_instream_foreign_object->border_right_color != NULL) { g_object_unref (fo_instream_foreign_object->border_right_color); } fo_instream_foreign_object->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-right-color");*/ } /** * fo_instream_foreign_object_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_instream_foreign_object_get_border_right_style (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_right_style; } /** * fo_instream_foreign_object_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_instream_foreign_object_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_instream_foreign_object->border_right_style != NULL) { g_object_unref (fo_instream_foreign_object->border_right_style); } fo_instream_foreign_object->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-right-style");*/ } /** * fo_instream_foreign_object_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_instream_foreign_object_get_border_right_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_right_width; } /** * fo_instream_foreign_object_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_instream_foreign_object_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_instream_foreign_object->border_right_width != NULL) { g_object_unref (fo_instream_foreign_object->border_right_width); } fo_instream_foreign_object->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-right-width");*/ } /** * fo_instream_foreign_object_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_instream_foreign_object_get_border_start_color (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_start_color; } /** * fo_instream_foreign_object_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_instream_foreign_object_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_instream_foreign_object->border_start_color != NULL) { g_object_unref (fo_instream_foreign_object->border_start_color); } fo_instream_foreign_object->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-start-color");*/ } /** * fo_instream_foreign_object_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_instream_foreign_object_get_border_start_style (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_start_style; } /** * fo_instream_foreign_object_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_instream_foreign_object_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_instream_foreign_object->border_start_style != NULL) { g_object_unref (fo_instream_foreign_object->border_start_style); } fo_instream_foreign_object->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-start-style");*/ } /** * fo_instream_foreign_object_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_instream_foreign_object_get_border_start_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_start_width; } /** * fo_instream_foreign_object_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_instream_foreign_object_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_instream_foreign_object->border_start_width != NULL) { g_object_unref (fo_instream_foreign_object->border_start_width); } fo_instream_foreign_object->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-start-width");*/ } /** * fo_instream_foreign_object_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_instream_foreign_object_get_border_top_color (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_top_color; } /** * fo_instream_foreign_object_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_instream_foreign_object_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_instream_foreign_object->border_top_color != NULL) { g_object_unref (fo_instream_foreign_object->border_top_color); } fo_instream_foreign_object->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-top-color");*/ } /** * fo_instream_foreign_object_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_instream_foreign_object_get_border_top_style (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_top_style; } /** * fo_instream_foreign_object_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_instream_foreign_object_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_instream_foreign_object->border_top_style != NULL) { g_object_unref (fo_instream_foreign_object->border_top_style); } fo_instream_foreign_object->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-top-style");*/ } /** * fo_instream_foreign_object_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_instream_foreign_object_get_border_top_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->border_top_width; } /** * fo_instream_foreign_object_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_instream_foreign_object_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_instream_foreign_object->border_top_width != NULL) { g_object_unref (fo_instream_foreign_object->border_top_width); } fo_instream_foreign_object->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "border-top-width");*/ } /** * fo_instream_foreign_object_get_clip: * @fo_fo: The @FoFo object * * Gets the "clip" property of @fo_fo * * Return value: The "clip" property value **/ FoProperty* fo_instream_foreign_object_get_clip (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->clip; } /** * fo_instream_foreign_object_set_clip: * @fo_fo: The #FoFo object * @new_clip: The new "clip" property value * * Sets the "clip" property of @fo_fo to @new_clip **/ void fo_instream_foreign_object_set_clip (FoFo *fo_fo, FoProperty *new_clip) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_instream_foreign_object->clip != NULL) { g_object_unref (fo_instream_foreign_object->clip); } fo_instream_foreign_object->clip = new_clip; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "clip");*/ } /** * fo_instream_foreign_object_get_content_height: * @fo_fo: The @FoFo object * * Gets the "content-height" property of @fo_fo * * Return value: The "content-height" property value **/ FoProperty* fo_instream_foreign_object_get_content_height (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->content_height; } /** * fo_instream_foreign_object_set_content_height: * @fo_fo: The #FoFo object * @new_content_height: The new "content-height" property value * * Sets the "content-height" property of @fo_fo to @new_content_height **/ void fo_instream_foreign_object_set_content_height (FoFo *fo_fo, FoProperty *new_content_height) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_CONTENT_HEIGHT (new_content_height)); if (new_content_height != NULL) { g_object_ref (new_content_height); } if (fo_instream_foreign_object->content_height != NULL) { g_object_unref (fo_instream_foreign_object->content_height); } fo_instream_foreign_object->content_height = new_content_height; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "content-height");*/ } /** * fo_instream_foreign_object_get_content_type: * @fo_fo: The @FoFo object * * Gets the "content-type" property of @fo_fo * * Return value: The "content-type" property value **/ FoProperty* fo_instream_foreign_object_get_content_type (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->content_type; } /** * fo_instream_foreign_object_set_content_type: * @fo_fo: The #FoFo object * @new_content_type: The new "content-type" property value * * Sets the "content-type" property of @fo_fo to @new_content_type **/ void fo_instream_foreign_object_set_content_type (FoFo *fo_fo, FoProperty *new_content_type) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_CONTENT_TYPE (new_content_type)); if (new_content_type != NULL) { g_object_ref (new_content_type); } if (fo_instream_foreign_object->content_type != NULL) { g_object_unref (fo_instream_foreign_object->content_type); } fo_instream_foreign_object->content_type = new_content_type; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "content-type");*/ } /** * fo_instream_foreign_object_get_content_width: * @fo_fo: The @FoFo object * * Gets the "content-width" property of @fo_fo * * Return value: The "content-width" property value **/ FoProperty* fo_instream_foreign_object_get_content_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->content_width; } /** * fo_instream_foreign_object_set_content_width: * @fo_fo: The #FoFo object * @new_content_width: The new "content-width" property value * * Sets the "content-width" property of @fo_fo to @new_content_width **/ void fo_instream_foreign_object_set_content_width (FoFo *fo_fo, FoProperty *new_content_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_CONTENT_WIDTH (new_content_width)); if (new_content_width != NULL) { g_object_ref (new_content_width); } if (fo_instream_foreign_object->content_width != NULL) { g_object_unref (fo_instream_foreign_object->content_width); } fo_instream_foreign_object->content_width = new_content_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "content-width");*/ } /** * fo_instream_foreign_object_get_display_align: * @fo_fo: The @FoFo object * * Gets the "display-align" property of @fo_fo * * Return value: The "display-align" property value **/ FoProperty* fo_instream_foreign_object_get_display_align (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->display_align; } /** * fo_instream_foreign_object_set_display_align: * @fo_fo: The #FoFo object * @new_display_align: The new "display-align" property value * * Sets the "display-align" property of @fo_fo to @new_display_align **/ void fo_instream_foreign_object_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_instream_foreign_object->display_align != NULL) { g_object_unref (fo_instream_foreign_object->display_align); } fo_instream_foreign_object->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "display-align");*/ } /** * fo_instream_foreign_object_get_dominant_baseline: * @fo_fo: The @FoFo object * * Gets the "dominant-baseline" property of @fo_fo * * Return value: The "dominant-baseline" property value **/ FoProperty* fo_instream_foreign_object_get_dominant_baseline (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->dominant_baseline; } /** * fo_instream_foreign_object_set_dominant_baseline: * @fo_fo: The #FoFo object * @new_dominant_baseline: The new "dominant-baseline" property value * * Sets the "dominant-baseline" property of @fo_fo to @new_dominant_baseline **/ void fo_instream_foreign_object_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_instream_foreign_object->dominant_baseline != NULL) { g_object_unref (fo_instream_foreign_object->dominant_baseline); } fo_instream_foreign_object->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "dominant-baseline");*/ } /** * fo_instream_foreign_object_get_height: * @fo_fo: The @FoFo object * * Gets the "height" property of @fo_fo * * Return value: The "height" property value **/ FoProperty* fo_instream_foreign_object_get_height (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->height; } /** * fo_instream_foreign_object_set_height: * @fo_fo: The #FoFo object * @new_height: The new "height" property value * * Sets the "height" property of @fo_fo to @new_height **/ void fo_instream_foreign_object_set_height (FoFo *fo_fo, FoProperty *new_height) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_instream_foreign_object->height != NULL) { g_object_unref (fo_instream_foreign_object->height); } fo_instream_foreign_object->height = new_height; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "height");*/ } /** * fo_instream_foreign_object_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_instream_foreign_object_get_id (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->id; } /** * fo_instream_foreign_object_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_instream_foreign_object_set_id (FoFo *fo_fo, FoProperty *new_id) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_instream_foreign_object->id != NULL) { g_object_unref (fo_instream_foreign_object->id); } fo_instream_foreign_object->id = new_id; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "id");*/ } /** * fo_instream_foreign_object_get_inline_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "inline-progression-dimension" property of @fo_fo * * Return value: The "inline-progression-dimension" property value **/ FoProperty* fo_instream_foreign_object_get_inline_progression_dimension (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->inline_progression_dimension; } /** * fo_instream_foreign_object_set_inline_progression_dimension: * @fo_fo: The #FoFo object * @new_inline_progression_dimension: The new "inline-progression-dimension" property value * * Sets the "inline-progression-dimension" property of @fo_fo to @new_inline_progression_dimension **/ void fo_instream_foreign_object_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (new_inline_progression_dimension)); if (new_inline_progression_dimension != NULL) { g_object_ref (new_inline_progression_dimension); } if (fo_instream_foreign_object->inline_progression_dimension != NULL) { g_object_unref (fo_instream_foreign_object->inline_progression_dimension); } fo_instream_foreign_object->inline_progression_dimension = new_inline_progression_dimension; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "inline-progression-dimension");*/ } /** * fo_instream_foreign_object_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_instream_foreign_object_get_keep_with_next (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->keep_with_next; } /** * fo_instream_foreign_object_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_instream_foreign_object_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_instream_foreign_object->keep_with_next != NULL) { g_object_unref (fo_instream_foreign_object->keep_with_next); } fo_instream_foreign_object->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "keep-with-next");*/ } /** * fo_instream_foreign_object_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_instream_foreign_object_get_keep_with_next_within_column (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->keep_with_next_within_column; } /** * fo_instream_foreign_object_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_instream_foreign_object_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_instream_foreign_object->keep_with_next_within_column != NULL) { g_object_unref (fo_instream_foreign_object->keep_with_next_within_column); } fo_instream_foreign_object->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "keep-with-next-within-column");*/ } /** * fo_instream_foreign_object_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_instream_foreign_object_get_keep_with_next_within_line (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->keep_with_next_within_line; } /** * fo_instream_foreign_object_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_instream_foreign_object_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_instream_foreign_object->keep_with_next_within_line != NULL) { g_object_unref (fo_instream_foreign_object->keep_with_next_within_line); } fo_instream_foreign_object->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "keep-with-next-within-line");*/ } /** * fo_instream_foreign_object_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_instream_foreign_object_get_keep_with_next_within_page (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->keep_with_next_within_page; } /** * fo_instream_foreign_object_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_instream_foreign_object_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_instream_foreign_object->keep_with_next_within_page != NULL) { g_object_unref (fo_instream_foreign_object->keep_with_next_within_page); } fo_instream_foreign_object->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "keep-with-next-within-page");*/ } /** * fo_instream_foreign_object_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_instream_foreign_object_get_keep_with_previous (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->keep_with_previous; } /** * fo_instream_foreign_object_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_instream_foreign_object_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_instream_foreign_object->keep_with_previous != NULL) { g_object_unref (fo_instream_foreign_object->keep_with_previous); } fo_instream_foreign_object->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "keep-with-previous");*/ } /** * fo_instream_foreign_object_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_instream_foreign_object_get_keep_with_previous_within_column (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->keep_with_previous_within_column; } /** * fo_instream_foreign_object_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_instream_foreign_object_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_instream_foreign_object->keep_with_previous_within_column != NULL) { g_object_unref (fo_instream_foreign_object->keep_with_previous_within_column); } fo_instream_foreign_object->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "keep-with-previous-within-column");*/ } /** * fo_instream_foreign_object_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_instream_foreign_object_get_keep_with_previous_within_line (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->keep_with_previous_within_line; } /** * fo_instream_foreign_object_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_instream_foreign_object_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_instream_foreign_object->keep_with_previous_within_line != NULL) { g_object_unref (fo_instream_foreign_object->keep_with_previous_within_line); } fo_instream_foreign_object->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "keep-with-previous-within-line");*/ } /** * fo_instream_foreign_object_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_instream_foreign_object_get_keep_with_previous_within_page (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->keep_with_previous_within_page; } /** * fo_instream_foreign_object_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_instream_foreign_object_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_instream_foreign_object->keep_with_previous_within_page != NULL) { g_object_unref (fo_instream_foreign_object->keep_with_previous_within_page); } fo_instream_foreign_object->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "keep-with-previous-within-page");*/ } /** * fo_instream_foreign_object_get_line_height: * @fo_fo: The @FoFo object * * Gets the "line-height" property of @fo_fo * * Return value: The "line-height" property value **/ FoProperty* fo_instream_foreign_object_get_line_height (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->line_height; } /** * fo_instream_foreign_object_set_line_height: * @fo_fo: The #FoFo object * @new_line_height: The new "line-height" property value * * Sets the "line-height" property of @fo_fo to @new_line_height **/ void fo_instream_foreign_object_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_instream_foreign_object->line_height != NULL) { g_object_unref (fo_instream_foreign_object->line_height); } fo_instream_foreign_object->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "line-height");*/ } /** * fo_instream_foreign_object_get_overflow: * @fo_fo: The @FoFo object * * Gets the "overflow" property of @fo_fo * * Return value: The "overflow" property value **/ FoProperty* fo_instream_foreign_object_get_overflow (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->overflow; } /** * fo_instream_foreign_object_set_overflow: * @fo_fo: The #FoFo object * @new_overflow: The new "overflow" property value * * Sets the "overflow" property of @fo_fo to @new_overflow **/ void fo_instream_foreign_object_set_overflow (FoFo *fo_fo, FoProperty *new_overflow) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_instream_foreign_object->overflow != NULL) { g_object_unref (fo_instream_foreign_object->overflow); } fo_instream_foreign_object->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "overflow");*/ } /** * fo_instream_foreign_object_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_instream_foreign_object_get_padding_after (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->padding_after; } /** * fo_instream_foreign_object_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_instream_foreign_object_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_instream_foreign_object->padding_after != NULL) { g_object_unref (fo_instream_foreign_object->padding_after); } fo_instream_foreign_object->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "padding-after");*/ } /** * fo_instream_foreign_object_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_instream_foreign_object_get_padding_before (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->padding_before; } /** * fo_instream_foreign_object_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_instream_foreign_object_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_instream_foreign_object->padding_before != NULL) { g_object_unref (fo_instream_foreign_object->padding_before); } fo_instream_foreign_object->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "padding-before");*/ } /** * fo_instream_foreign_object_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_instream_foreign_object_get_padding_bottom (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->padding_bottom; } /** * fo_instream_foreign_object_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_instream_foreign_object_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_instream_foreign_object->padding_bottom != NULL) { g_object_unref (fo_instream_foreign_object->padding_bottom); } fo_instream_foreign_object->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "padding-bottom");*/ } /** * fo_instream_foreign_object_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_instream_foreign_object_get_padding_end (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->padding_end; } /** * fo_instream_foreign_object_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_instream_foreign_object_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_instream_foreign_object->padding_end != NULL) { g_object_unref (fo_instream_foreign_object->padding_end); } fo_instream_foreign_object->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "padding-end");*/ } /** * fo_instream_foreign_object_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_instream_foreign_object_get_padding_left (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->padding_left; } /** * fo_instream_foreign_object_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_instream_foreign_object_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_instream_foreign_object->padding_left != NULL) { g_object_unref (fo_instream_foreign_object->padding_left); } fo_instream_foreign_object->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "padding-left");*/ } /** * fo_instream_foreign_object_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_instream_foreign_object_get_padding_right (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->padding_right; } /** * fo_instream_foreign_object_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_instream_foreign_object_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_instream_foreign_object->padding_right != NULL) { g_object_unref (fo_instream_foreign_object->padding_right); } fo_instream_foreign_object->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "padding-right");*/ } /** * fo_instream_foreign_object_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_instream_foreign_object_get_padding_start (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->padding_start; } /** * fo_instream_foreign_object_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_instream_foreign_object_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_instream_foreign_object->padding_start != NULL) { g_object_unref (fo_instream_foreign_object->padding_start); } fo_instream_foreign_object->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "padding-start");*/ } /** * fo_instream_foreign_object_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_instream_foreign_object_get_padding_top (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->padding_top; } /** * fo_instream_foreign_object_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_instream_foreign_object_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_instream_foreign_object->padding_top != NULL) { g_object_unref (fo_instream_foreign_object->padding_top); } fo_instream_foreign_object->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "padding-top");*/ } /** * fo_instream_foreign_object_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_instream_foreign_object_get_role (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->role; } /** * fo_instream_foreign_object_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_instream_foreign_object_set_role (FoFo *fo_fo, FoProperty *new_role) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_instream_foreign_object->role != NULL) { g_object_unref (fo_instream_foreign_object->role); } fo_instream_foreign_object->role = new_role; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "role");*/ } /** * fo_instream_foreign_object_get_scaling: * @fo_fo: The @FoFo object * * Gets the "scaling" property of @fo_fo * * Return value: The "scaling" property value **/ FoProperty* fo_instream_foreign_object_get_scaling (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->scaling; } /** * fo_instream_foreign_object_set_scaling: * @fo_fo: The #FoFo object * @new_scaling: The new "scaling" property value * * Sets the "scaling" property of @fo_fo to @new_scaling **/ void fo_instream_foreign_object_set_scaling (FoFo *fo_fo, FoProperty *new_scaling) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_SCALING (new_scaling)); if (new_scaling != NULL) { g_object_ref (new_scaling); } if (fo_instream_foreign_object->scaling != NULL) { g_object_unref (fo_instream_foreign_object->scaling); } fo_instream_foreign_object->scaling = new_scaling; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "scaling");*/ } /** * fo_instream_foreign_object_get_scaling_method: * @fo_fo: The @FoFo object * * Gets the "scaling-method" property of @fo_fo * * Return value: The "scaling-method" property value **/ FoProperty* fo_instream_foreign_object_get_scaling_method (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->scaling_method; } /** * fo_instream_foreign_object_set_scaling_method: * @fo_fo: The #FoFo object * @new_scaling_method: The new "scaling-method" property value * * Sets the "scaling-method" property of @fo_fo to @new_scaling_method **/ void fo_instream_foreign_object_set_scaling_method (FoFo *fo_fo, FoProperty *new_scaling_method) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_SCALING_METHOD (new_scaling_method)); if (new_scaling_method != NULL) { g_object_ref (new_scaling_method); } if (fo_instream_foreign_object->scaling_method != NULL) { g_object_unref (fo_instream_foreign_object->scaling_method); } fo_instream_foreign_object->scaling_method = new_scaling_method; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "scaling-method");*/ } /** * fo_instream_foreign_object_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_instream_foreign_object_get_source_document (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->source_document; } /** * fo_instream_foreign_object_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_instream_foreign_object_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_instream_foreign_object->source_document != NULL) { g_object_unref (fo_instream_foreign_object->source_document); } fo_instream_foreign_object->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "source-document");*/ } /** * fo_instream_foreign_object_get_space_end: * @fo_fo: The @FoFo object * * Gets the "space-end" property of @fo_fo * * Return value: The "space-end" property value **/ FoProperty* fo_instream_foreign_object_get_space_end (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->space_end; } /** * fo_instream_foreign_object_set_space_end: * @fo_fo: The #FoFo object * @new_space_end: The new "space-end" property value * * Sets the "space-end" property of @fo_fo to @new_space_end **/ void fo_instream_foreign_object_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_instream_foreign_object->space_end != NULL) { g_object_unref (fo_instream_foreign_object->space_end); } fo_instream_foreign_object->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "space-end");*/ } /** * fo_instream_foreign_object_get_space_start: * @fo_fo: The @FoFo object * * Gets the "space-start" property of @fo_fo * * Return value: The "space-start" property value **/ FoProperty* fo_instream_foreign_object_get_space_start (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->space_start; } /** * fo_instream_foreign_object_set_space_start: * @fo_fo: The #FoFo object * @new_space_start: The new "space-start" property value * * Sets the "space-start" property of @fo_fo to @new_space_start **/ void fo_instream_foreign_object_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_instream_foreign_object->space_start != NULL) { g_object_unref (fo_instream_foreign_object->space_start); } fo_instream_foreign_object->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "space-start");*/ } /** * fo_instream_foreign_object_get_text_align: * @fo_fo: The @FoFo object * * Gets the "text-align" property of @fo_fo * * Return value: The "text-align" property value **/ FoProperty* fo_instream_foreign_object_get_text_align (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->text_align; } /** * fo_instream_foreign_object_set_text_align: * @fo_fo: The #FoFo object * @new_text_align: The new "text-align" property value * * Sets the "text-align" property of @fo_fo to @new_text_align **/ void fo_instream_foreign_object_set_text_align (FoFo *fo_fo, FoProperty *new_text_align) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_TEXT_ALIGN (new_text_align)); if (new_text_align != NULL) { g_object_ref (new_text_align); } if (fo_instream_foreign_object->text_align != NULL) { g_object_unref (fo_instream_foreign_object->text_align); } fo_instream_foreign_object->text_align = new_text_align; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "text-align");*/ } /** * fo_instream_foreign_object_get_width: * @fo_fo: The @FoFo object * * Gets the "width" property of @fo_fo * * Return value: The "width" property value **/ FoProperty* fo_instream_foreign_object_get_width (FoFo *fo_fo) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_val_if_fail (fo_instream_foreign_object != NULL, NULL); g_return_val_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object), NULL); return fo_instream_foreign_object->width; } /** * fo_instream_foreign_object_set_width: * @fo_fo: The #FoFo object * @new_width: The new "width" property value * * Sets the "width" property of @fo_fo to @new_width **/ void fo_instream_foreign_object_set_width (FoFo *fo_fo, FoProperty *new_width) { FoInstreamForeignObject *fo_instream_foreign_object = (FoInstreamForeignObject *) fo_fo; g_return_if_fail (fo_instream_foreign_object != NULL); g_return_if_fail (FO_IS_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object)); g_return_if_fail (FO_IS_PROPERTY_WIDTH (new_width)); if (new_width != NULL) { g_object_ref (new_width); } if (fo_instream_foreign_object->width != NULL) { g_object_unref (fo_instream_foreign_object->width); } fo_instream_foreign_object->width = new_width; /*g_object_notify (G_OBJECT (fo_instream_foreign_object), "width");*/ } xmlroff-0.6.2/libfo/fo/fo-instream-foreign-object.h0000644000175000017500000004337510643167376017135 00000000000000/* Fo * fo-instream_foreign_object.h: 'instream-foreign-object' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INSTREAM_FOREIGN_OBJECT_H__ #define __FO_INSTREAM_FOREIGN_OBJECT_H__ #include #include G_BEGIN_DECLS typedef struct _FoInstreamForeignObject FoInstreamForeignObject; typedef struct _FoInstreamForeignObjectClass FoInstreamForeignObjectClass; #define FO_TYPE_INSTREAM_FOREIGN_OBJECT (fo_instream_foreign_object_get_type ()) #define FO_INSTREAM_FOREIGN_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_INSTREAM_FOREIGN_OBJECT, FoInstreamForeignObject)) #define FO_INSTREAM_FOREIGN_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_INSTREAM_FOREIGN_OBJECT, FoInstreamForeignObjectClass)) #define FO_IS_INSTREAM_FOREIGN_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_INSTREAM_FOREIGN_OBJECT)) #define FO_IS_INSTREAM_FOREIGN_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_INSTREAM_FOREIGN_OBJECT)) #define FO_INSTREAM_FOREIGN_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_INSTREAM_FOREIGN_OBJECT, FoInstreamForeignObjectClass)) GType fo_instream_foreign_object_get_type (void) G_GNUC_CONST; FoFo *fo_instream_foreign_object_new (void); FoProperty* fo_instream_foreign_object_get_alignment_adjust (FoFo *fo_fo); void fo_instream_foreign_object_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_instream_foreign_object_get_alignment_baseline (FoFo *fo_fo); void fo_instream_foreign_object_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty * fo_instream_foreign_object_get_background_color (FoFo *fo_fo); void fo_instream_foreign_object_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_instream_foreign_object_get_background_image (FoFo *fo_fo); void fo_instream_foreign_object_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_instream_foreign_object_get_baseline_shift (FoFo *fo_fo); void fo_instream_foreign_object_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_instream_foreign_object_get_block_progression_dimension (FoFo *fo_fo); void fo_instream_foreign_object_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_instream_foreign_object_get_border_after_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_instream_foreign_object_get_border_after_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_instream_foreign_object_get_border_after_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_instream_foreign_object_get_border_before_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_instream_foreign_object_get_border_before_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_instream_foreign_object_get_border_before_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_instream_foreign_object_get_border_bottom_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_instream_foreign_object_get_border_bottom_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_instream_foreign_object_get_border_bottom_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_instream_foreign_object_get_border_end_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_instream_foreign_object_get_border_end_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_instream_foreign_object_get_border_end_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_instream_foreign_object_get_border_left_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_instream_foreign_object_get_border_left_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_instream_foreign_object_get_border_left_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_instream_foreign_object_get_border_right_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_instream_foreign_object_get_border_right_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_instream_foreign_object_get_border_right_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_instream_foreign_object_get_border_start_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_instream_foreign_object_get_border_start_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_instream_foreign_object_get_border_start_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_instream_foreign_object_get_border_top_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_instream_foreign_object_get_border_top_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_instream_foreign_object_get_border_top_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_instream_foreign_object_get_clip (FoFo *fo_fo); void fo_instream_foreign_object_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_instream_foreign_object_get_content_height (FoFo *fo_fo); void fo_instream_foreign_object_set_content_height (FoFo *fo_fo, FoProperty *new_content_height); FoProperty* fo_instream_foreign_object_get_content_type (FoFo *fo_fo); void fo_instream_foreign_object_set_content_type (FoFo *fo_fo, FoProperty *new_content_type); FoProperty* fo_instream_foreign_object_get_content_width (FoFo *fo_fo); void fo_instream_foreign_object_set_content_width (FoFo *fo_fo, FoProperty *new_content_width); FoProperty* fo_instream_foreign_object_get_display_align (FoFo *fo_fo); void fo_instream_foreign_object_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_instream_foreign_object_get_dominant_baseline (FoFo *fo_fo); void fo_instream_foreign_object_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_instream_foreign_object_get_height (FoFo *fo_fo); void fo_instream_foreign_object_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_instream_foreign_object_get_id (FoFo *fo_fo); void fo_instream_foreign_object_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_instream_foreign_object_get_inline_progression_dimension (FoFo *fo_fo); void fo_instream_foreign_object_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_instream_foreign_object_get_keep_with_next (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_instream_foreign_object_get_keep_with_next_within_column (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_instream_foreign_object_get_keep_with_next_within_line (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_instream_foreign_object_get_keep_with_next_within_page (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_instream_foreign_object_get_keep_with_previous (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_instream_foreign_object_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_instream_foreign_object_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_instream_foreign_object_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_instream_foreign_object_get_line_height (FoFo *fo_fo); void fo_instream_foreign_object_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_instream_foreign_object_get_overflow (FoFo *fo_fo); void fo_instream_foreign_object_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_instream_foreign_object_get_padding_after (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_instream_foreign_object_get_padding_before (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_instream_foreign_object_get_padding_bottom (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_instream_foreign_object_get_padding_end (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_instream_foreign_object_get_padding_left (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_instream_foreign_object_get_padding_right (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_instream_foreign_object_get_padding_start (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_instream_foreign_object_get_padding_top (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_instream_foreign_object_get_role (FoFo *fo_fo); void fo_instream_foreign_object_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_instream_foreign_object_get_scaling (FoFo *fo_fo); void fo_instream_foreign_object_set_scaling (FoFo *fo_fo, FoProperty *new_scaling); FoProperty* fo_instream_foreign_object_get_scaling_method (FoFo *fo_fo); void fo_instream_foreign_object_set_scaling_method (FoFo *fo_fo, FoProperty *new_scaling_method); FoProperty* fo_instream_foreign_object_get_source_document (FoFo *fo_fo); void fo_instream_foreign_object_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_instream_foreign_object_get_space_end (FoFo *fo_fo); void fo_instream_foreign_object_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_instream_foreign_object_get_space_start (FoFo *fo_fo); void fo_instream_foreign_object_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty* fo_instream_foreign_object_get_text_align (FoFo *fo_fo); void fo_instream_foreign_object_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); FoProperty* fo_instream_foreign_object_get_width (FoFo *fo_fo); void fo_instream_foreign_object_set_width (FoFo *fo_fo, FoProperty *new_width); G_END_DECLS #endif /* !__FO_INSTREAM_FOREIGN_OBJECT_H__ */ xmlroff-0.6.2/libfo/fo/fo-instream-foreign-object-private.h0000644000175000017500000000531310643167376020573 00000000000000/* Fo * fo-instream-foreign-object-private.h: Structures private to 'instream-foreign-object' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INSTREAM_FOREIGN_OBJECT_PRIVATE_H__ #define __FO_INSTREAM_FOREIGN_OBJECT_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoInstreamForeignObject { FoFo parent_instance; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *block_progression_dimension; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *clip; FoProperty *content_height; FoProperty *content_type; FoProperty *content_width; FoProperty *display_align; FoProperty *dominant_baseline; FoProperty *height; FoProperty *id; FoProperty *inline_progression_dimension; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *overflow; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *scaling; FoProperty *scaling_method; FoProperty *source_document; FoProperty *space_end; FoProperty *space_start; FoProperty *text_align; FoProperty *width; }; struct _FoInstreamForeignObjectClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_INSTREAM_FOREIGN_OBJECT_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-layout-master-set.c0000644000175000017500000001673710660107744016004 00000000000000/* Fo * fo-layout-master-set.c: 'layout-master-set' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-layout-master-set-private.h" #include "fo/fo-simple-page-master.h" #include "fo/fo-page-sequence-master.h" static void fo_layout_master_set_class_init (FoLayoutMasterSetClass *klass); static void fo_layout_master_set_finalize (GObject *object); static gboolean fo_layout_master_set_validate_content (FoFo *fo, GError **error); static void fo_layout_master_set_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_layout_master_set_update_from_context (FoFo *fo, FoContext *context); static void fo_layout_master_set_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_layout_master_set_get_type: * * Register the #FoLayoutMasterSet object type. * * Return value: #GType value of the #FoLayoutMasterSet object type. **/ GType fo_layout_master_set_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLayoutMasterSetClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_layout_master_set_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLayoutMasterSet), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoLayoutMasterSet", &object_info, 0); } return object_type; } /** * fo_layout_master_set_class_init: * @klass: #FoLayoutMasterSetClass object to initialise. * * Implements #GClassInitFunc for #FoLayoutMasterSetClass. **/ void fo_layout_master_set_class_init (FoLayoutMasterSetClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_layout_master_set_finalize; fofo_class->validate_content = fo_layout_master_set_validate_content; fofo_class->validate2 = fo_layout_master_set_validate; fofo_class->update_from_context = fo_layout_master_set_update_from_context; fofo_class->debug_dump_properties = fo_layout_master_set_debug_dump_properties; } /** * fo_layout_master_set_finalize: * @object: #FoLayoutMasterSet object to finalize. * * Implements #GObjectFinalizeFunc for #FoLayoutMasterSet. **/ void fo_layout_master_set_finalize (GObject *object) { FoLayoutMasterSet *fo_layout_master_set; fo_layout_master_set = FO_LAYOUT_MASTER_SET (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_layout_master_set_new: * * Creates a new #FoLayoutMasterSet initialized to default value. * * Return value: the new #FoLayoutMasterSet. **/ FoFo* fo_layout_master_set_new (void) { return FO_FO (g_object_new (fo_layout_master_set_get_type (), NULL)); } /** * fo_layout_master_set_validate_content: * @fo: #FoLayoutMasterSet object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_layout_master_set_validate_content (FoFo *fo, GError **error) { GError *tmp_error; FoNode *fo_node; FoNode *child_node; gint n_children; g_return_val_if_fail (FO_IS_LAYOUT_MASTER_SET (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_node = FO_NODE (fo); fo_fo_trim_whitespace_children (fo); n_children = fo_node_n_children (fo_node); if (n_children == 0) { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_EMPTY, _(fo_fo_error_messages[FO_FO_ERROR_EMPTY]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } child_node = fo_node_first_child (fo_node); while (child_node) { if (FO_IS_SIMPLE_PAGE_MASTER (child_node) || FO_IS_PAGE_SEQUENCE_MASTER (child_node)) { child_node = fo_node_next_sibling (child_node); } else { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } } return FALSE; } /** * fo_layout_master_set_validate: * @fo: #FoLayoutMasterSet object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_layout_master_set_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoLayoutMasterSet *fo_layout_master_set; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LAYOUT_MASTER_SET (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_layout_master_set = FO_LAYOUT_MASTER_SET (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_layout_master_set_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_layout_master_set_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LAYOUT_MASTER_SET (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); } /** * fo_layout_master_set_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_layout_master_set_debug_dump_properties (FoFo *fo, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LAYOUT_MASTER_SET (fo)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s(No properties)", indent); g_free (indent); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-layout-master-set.h0000644000175000017500000000253410643167375016006 00000000000000/* Fo * fo-layout_master_set.h: 'layout-master-set' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LAYOUT_MASTER_SET_H__ #define __FO_LAYOUT_MASTER_SET_H__ #include #include G_BEGIN_DECLS typedef struct _FoLayoutMasterSet FoLayoutMasterSet; typedef struct _FoLayoutMasterSetClass FoLayoutMasterSetClass; #define FO_TYPE_LAYOUT_MASTER_SET (fo_layout_master_set_get_type ()) #define FO_LAYOUT_MASTER_SET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LAYOUT_MASTER_SET, FoLayoutMasterSet)) #define FO_LAYOUT_MASTER_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LAYOUT_MASTER_SET, FoLayoutMasterSetClass)) #define FO_IS_LAYOUT_MASTER_SET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LAYOUT_MASTER_SET)) #define FO_IS_LAYOUT_MASTER_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LAYOUT_MASTER_SET)) #define FO_LAYOUT_MASTER_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LAYOUT_MASTER_SET, FoLayoutMasterSetClass)) GType fo_layout_master_set_get_type (void) G_GNUC_CONST; FoFo * fo_layout_master_set_new (void); G_END_DECLS #endif /* !__FO_LAYOUT_MASTER_SET_H__ */ xmlroff-0.6.2/libfo/fo/fo-layout-master-set-private.h0000644000175000017500000000114110643167376017450 00000000000000/* Fo * fo-layout-master-set-private.h: Structures private to 'layout-master-set' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LAYOUT_MASTER_SET_PRIVATE_H__ #define __FO_LAYOUT_MASTER_SET_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoLayoutMasterSet { FoFo parent_instance; }; struct _FoLayoutMasterSetClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_LAYOUT_MASTER_SET_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-leader.c0000644000175000017500000037776110660107744013650 00000000000000/* Fo * fo-leader.c: 'leader' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-inline-fo.h" #include "fo-leader.h" #include "fo-leader-private.h" #include "property/fo-property-common-font.h" #include "property/fo-property-text-property.h" #include "property/fo-property-alignment-adjust.h" #include "property/fo-property-alignment-baseline.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-baseline-shift.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-color.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" enum { PROP_0, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_COLOR, PROP_DOMINANT_BASELINE, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_ID, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_SPACE_END, PROP_SPACE_START }; static void fo_leader_class_init (FoLeaderClass *klass); static void fo_leader_inline_fo_init (FoInlineFoIface *iface); static void fo_leader_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_leader_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_leader_finalize (GObject *object); static gboolean fo_leader_validate_content (FoFo *fo, GError **error); static void fo_leader_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_leader_update_from_context (FoFo *fo, FoContext *context); static void fo_leader_debug_dump_properties (FoFo *fo, gint depth); static void fo_leader_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_leader_get_type: * * Register the #FoLeader object type. * * Return value: #GType value of the #FoLeader object type. **/ GType fo_leader_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLeaderClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_leader_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLeader), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_leader_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoLeader", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_leader_class_init: * @klass: #FoLeaderClass object to initialise. * * Implements #GClassInitFunc for #FoLeaderClass. **/ void fo_leader_class_init (FoLeaderClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_leader_finalize; object_class->get_property = fo_leader_get_property; object_class->set_property = fo_leader_set_property; fofo_class->validate_content = fo_leader_validate_content; fofo_class->validate2 = fo_leader_validate; fofo_class->update_from_context = fo_leader_update_from_context; fofo_class->debug_dump_properties = fo_leader_debug_dump_properties; fofo_class->allow_mixed_content = TRUE; g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_leader_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_leader_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_leader_get_text_attr_list; } /** * fo_leader_finalize: * @object: #FoLeader object to finalize. * * Implements #GObjectFinalizeFunc for #FoLeader. **/ void fo_leader_finalize (GObject *object) { FoLeader *fo_leader; fo_leader = FO_LEADER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_leader_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoLeader. **/ void fo_leader_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_leader_get_alignment_adjust (fo_fo))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_leader_get_alignment_baseline (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_leader_get_background_image (fo_fo))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_leader_get_baseline_shift (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_leader_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_leader_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_leader_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_leader_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_leader_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_leader_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_leader_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_leader_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_leader_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_leader_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_leader_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_leader_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_leader_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_leader_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_leader_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_leader_get_border_top_width (fo_fo))); break; case PROP_COLOR: g_value_set_object (value, G_OBJECT (fo_leader_get_color (fo_fo))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_leader_get_dominant_baseline (fo_fo))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_leader_get_font_family (fo_fo))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_leader_get_font_size (fo_fo))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_leader_get_font_stretch (fo_fo))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_leader_get_font_style (fo_fo))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_leader_get_font_variant (fo_fo))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_leader_get_font_weight (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_leader_get_id (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_leader_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_leader_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_leader_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_leader_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_leader_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_leader_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_leader_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_leader_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_leader_get_line_height (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_leader_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_leader_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_leader_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_leader_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_leader_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_leader_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_leader_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_leader_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_leader_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_leader_get_source_document (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_leader_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_leader_get_space_start (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_leader_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoLeader. **/ void fo_leader_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: fo_leader_set_alignment_adjust (fo_fo, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_leader_set_alignment_baseline (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_leader_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_leader_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_leader_set_baseline_shift (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_leader_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_leader_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_leader_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_leader_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_leader_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_leader_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_leader_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_leader_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_leader_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_leader_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_leader_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_leader_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_leader_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_leader_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_leader_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_leader_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_leader_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_leader_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_leader_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_leader_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_leader_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_leader_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_leader_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_leader_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_COLOR: fo_leader_set_color (fo_fo, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_leader_set_dominant_baseline (fo_fo, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_leader_set_font_family (fo_fo, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_leader_set_font_size (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_leader_set_font_stretch (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_leader_set_font_style (fo_fo, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_leader_set_font_variant (fo_fo, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_leader_set_font_weight (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_leader_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_leader_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_leader_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_leader_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_leader_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_leader_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_leader_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_leader_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_leader_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_leader_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_leader_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_leader_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_leader_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_leader_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_leader_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_leader_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_leader_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_leader_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_leader_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_leader_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_leader_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_leader_set_space_start (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_leader_new: * * Creates a new #FoLeader initialized to default value. * * Return value: the new #FoLeader. **/ FoFo* fo_leader_new (void) { return FO_FO (g_object_new (fo_leader_get_type (), NULL)); } /** * fo_leader_validate_content: * @fo: #FoLeader object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not. **/ gboolean fo_leader_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_LEADER (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_leader_validate: * @fo: #FoLeader object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_leader_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoLeader *fo_leader; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LEADER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_leader = FO_LEADER (fo); fo_context_util_dominant_baseline_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_leader_set_line_height (fo, fo_property_line_height_resolve (fo_leader->line_height, fo_leader->font_size)); } /** * fo_leader_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_leader_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LEADER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_leader_set_alignment_adjust (fo, fo_context_get_alignment_adjust (context)); fo_leader_set_alignment_baseline (fo, fo_context_get_alignment_baseline (context)); fo_leader_set_background_color (fo, fo_context_get_background_color (context)); fo_leader_set_background_image (fo, fo_context_get_background_image (context)); fo_leader_set_baseline_shift (fo, fo_context_get_baseline_shift (context)); fo_leader_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_leader_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_leader_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_leader_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_leader_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_leader_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_leader_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_leader_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_leader_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_leader_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_leader_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_leader_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_leader_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_leader_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_leader_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_leader_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_leader_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_leader_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_leader_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_leader_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_leader_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_leader_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_leader_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_leader_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_leader_set_color (fo, fo_context_get_color (context)); fo_leader_set_dominant_baseline (fo, fo_context_get_dominant_baseline (context)); fo_leader_set_font_family (fo, fo_context_get_font_family (context)); fo_leader_set_font_size (fo, fo_context_get_font_size (context)); fo_leader_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_leader_set_font_style (fo, fo_context_get_font_style (context)); fo_leader_set_font_variant (fo, fo_context_get_font_variant (context)); fo_leader_set_font_weight (fo, fo_context_get_font_weight (context)); fo_leader_set_id (fo, fo_context_get_id (context)); fo_leader_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_leader_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_leader_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_leader_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_leader_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_leader_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_leader_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_leader_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_leader_set_line_height (fo, fo_context_get_line_height (context)); fo_leader_set_padding_after (fo, fo_context_get_padding_after (context)); fo_leader_set_padding_before (fo, fo_context_get_padding_before (context)); fo_leader_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_leader_set_padding_end (fo, fo_context_get_padding_end (context)); fo_leader_set_padding_left (fo, fo_context_get_padding_left (context)); fo_leader_set_padding_right (fo, fo_context_get_padding_right (context)); fo_leader_set_padding_start (fo, fo_context_get_padding_start (context)); fo_leader_set_padding_top (fo, fo_context_get_padding_top (context)); fo_leader_set_role (fo, fo_context_get_role (context)); fo_leader_set_source_document (fo, fo_context_get_source_document (context)); fo_leader_set_space_end (fo, fo_context_get_space_end (context)); fo_leader_set_space_start (fo, fo_context_get_space_start (context)); } /** * fo_leader_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_leader_debug_dump_properties (FoFo *fo, gint depth) { FoLeader *fo_leader; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LEADER (fo)); fo_leader = FO_LEADER (fo); fo_object_debug_dump (fo_leader->alignment_adjust, depth); fo_object_debug_dump (fo_leader->alignment_baseline, depth); fo_object_debug_dump (fo_leader->background_color, depth); fo_object_debug_dump (fo_leader->background_image, depth); fo_object_debug_dump (fo_leader->baseline_shift, depth); fo_object_debug_dump (fo_leader->border_after_color, depth); fo_object_debug_dump (fo_leader->border_after_style, depth); fo_object_debug_dump (fo_leader->border_after_width, depth); fo_object_debug_dump (fo_leader->border_before_color, depth); fo_object_debug_dump (fo_leader->border_before_style, depth); fo_object_debug_dump (fo_leader->border_before_width, depth); fo_object_debug_dump (fo_leader->border_bottom_color, depth); fo_object_debug_dump (fo_leader->border_bottom_style, depth); fo_object_debug_dump (fo_leader->border_bottom_width, depth); fo_object_debug_dump (fo_leader->border_end_color, depth); fo_object_debug_dump (fo_leader->border_end_style, depth); fo_object_debug_dump (fo_leader->border_end_width, depth); fo_object_debug_dump (fo_leader->border_left_color, depth); fo_object_debug_dump (fo_leader->border_left_style, depth); fo_object_debug_dump (fo_leader->border_left_width, depth); fo_object_debug_dump (fo_leader->border_right_color, depth); fo_object_debug_dump (fo_leader->border_right_style, depth); fo_object_debug_dump (fo_leader->border_right_width, depth); fo_object_debug_dump (fo_leader->border_start_color, depth); fo_object_debug_dump (fo_leader->border_start_style, depth); fo_object_debug_dump (fo_leader->border_start_width, depth); fo_object_debug_dump (fo_leader->border_top_color, depth); fo_object_debug_dump (fo_leader->border_top_style, depth); fo_object_debug_dump (fo_leader->border_top_width, depth); fo_object_debug_dump (fo_leader->color, depth); fo_object_debug_dump (fo_leader->dominant_baseline, depth); fo_object_debug_dump (fo_leader->font_family, depth); fo_object_debug_dump (fo_leader->font_size, depth); fo_object_debug_dump (fo_leader->font_stretch, depth); fo_object_debug_dump (fo_leader->font_style, depth); fo_object_debug_dump (fo_leader->font_variant, depth); fo_object_debug_dump (fo_leader->font_weight, depth); fo_object_debug_dump (fo_leader->id, depth); fo_object_debug_dump (fo_leader->keep_with_next, depth); fo_object_debug_dump (fo_leader->keep_with_next_within_column, depth); fo_object_debug_dump (fo_leader->keep_with_next_within_line, depth); fo_object_debug_dump (fo_leader->keep_with_next_within_page, depth); fo_object_debug_dump (fo_leader->keep_with_previous, depth); fo_object_debug_dump (fo_leader->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_leader->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_leader->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_leader->line_height, depth); fo_object_debug_dump (fo_leader->padding_after, depth); fo_object_debug_dump (fo_leader->padding_before, depth); fo_object_debug_dump (fo_leader->padding_bottom, depth); fo_object_debug_dump (fo_leader->padding_end, depth); fo_object_debug_dump (fo_leader->padding_left, depth); fo_object_debug_dump (fo_leader->padding_right, depth); fo_object_debug_dump (fo_leader->padding_start, depth); fo_object_debug_dump (fo_leader->padding_top, depth); fo_object_debug_dump (fo_leader->role, depth); fo_object_debug_dump (fo_leader->source_document, depth); fo_object_debug_dump (fo_leader->space_end, depth); fo_object_debug_dump (fo_leader->space_start, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_leader_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_leader_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { FoNode *fo_child_node; FoLeader *fo_leader; GList *my_attr_glist = NULL; gint start_index, end_index; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_LEADER (fo_inline_fo)); fo_leader = FO_LEADER (fo_inline_fo); start_index = text->len; fo_child_node = fo_node_first_child (FO_NODE (fo_inline_fo)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, &my_attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } end_index = text->len; if (start_index != end_index) { PangoAttribute *pango_attr; my_attr_glist = g_list_concat (my_attr_glist, fo_property_common_font_get_pango_attrs (fo_leader->font_family, fo_leader->font_size, fo_leader->font_stretch, fo_leader->font_style, fo_leader->font_variant, fo_leader->font_weight, start_index, end_index)); pango_attr = fo_property_text_property_new_attr (fo_leader->baseline_shift); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); /* pango_attr = fo_property_text_property_new_attr (fo_leader->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ pango_attr = fo_property_text_property_new_attr (fo_leader->color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); if (FO_IS_COLOR (fo_property_get_value (fo_leader->background_color))) { pango_attr = fo_property_text_property_new_attr (fo_leader->background_color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); } /* pango_attr = fo_property_text_property_new_attr (fo_leader->alignment_adjust); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_leader->alignment_baseline); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr_from_context (fo_leader->dominant_baseline, fo_fo_get_context (fo_inline_fo)); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_leader->keep_with_next_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_leader->keep_with_previous_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ } *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } /** * fo_leader_get_alignment_adjust: * @fo_fo: The @FoFo object * * Gets the "alignment-adjust" property of @fo_fo * * Return value: The "alignment-adjust" property value **/ FoProperty* fo_leader_get_alignment_adjust (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->alignment_adjust; } /** * fo_leader_set_alignment_adjust: * @fo_fo: The #FoFo object * @new_alignment_adjust: The new "alignment-adjust" property value * * Sets the "alignment-adjust" property of @fo_fo to @new_alignment_adjust **/ void fo_leader_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_leader->alignment_adjust != NULL) { g_object_unref (fo_leader->alignment_adjust); } fo_leader->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_leader), "alignment-adjust");*/ } /** * fo_leader_get_alignment_baseline: * @fo_fo: The @FoFo object * * Gets the "alignment-baseline" property of @fo_fo * * Return value: The "alignment-baseline" property value **/ FoProperty* fo_leader_get_alignment_baseline (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->alignment_baseline; } /** * fo_leader_set_alignment_baseline: * @fo_fo: The #FoFo object * @new_alignment_baseline: The new "alignment-baseline" property value * * Sets the "alignment-baseline" property of @fo_fo to @new_alignment_baseline **/ void fo_leader_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_leader->alignment_baseline != NULL) { g_object_unref (fo_leader->alignment_baseline); } fo_leader->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_leader), "alignment-baseline");*/ } /** * fo_leader_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_leader_get_background_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->background_color; } /** * fo_leader_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_leader_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_leader->background_color != NULL) { g_object_unref (fo_leader->background_color); } fo_leader->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_leader), "background-color");*/ } /** * fo_leader_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_leader_get_background_image (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->background_image; } /** * fo_leader_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_leader_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_leader->background_image != NULL) { g_object_unref (fo_leader->background_image); } fo_leader->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_leader), "background-image");*/ } /** * fo_leader_get_baseline_shift: * @fo_fo: The @FoFo object * * Gets the "baseline-shift" property of @fo_fo * * Return value: The "baseline-shift" property value **/ FoProperty* fo_leader_get_baseline_shift (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->baseline_shift; } /** * fo_leader_set_baseline_shift: * @fo_fo: The #FoFo object * @new_baseline_shift: The new "baseline-shift" property value * * Sets the "baseline-shift" property of @fo_fo to @new_baseline_shift **/ void fo_leader_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_leader->baseline_shift != NULL) { g_object_unref (fo_leader->baseline_shift); } fo_leader->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_leader), "baseline-shift");*/ } /** * fo_leader_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_leader_get_border_after_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_after_color; } /** * fo_leader_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_leader_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_leader->border_after_color != NULL) { g_object_unref (fo_leader->border_after_color); } fo_leader->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_leader), "border-after-color");*/ } /** * fo_leader_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_leader_get_border_after_style (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_after_style; } /** * fo_leader_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_leader_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_leader->border_after_style != NULL) { g_object_unref (fo_leader->border_after_style); } fo_leader->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_leader), "border-after-style");*/ } /** * fo_leader_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_leader_get_border_after_width (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_after_width; } /** * fo_leader_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_leader_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_leader->border_after_width != NULL) { g_object_unref (fo_leader->border_after_width); } fo_leader->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_leader), "border-after-width");*/ } /** * fo_leader_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_leader_get_border_before_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_before_color; } /** * fo_leader_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_leader_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_leader->border_before_color != NULL) { g_object_unref (fo_leader->border_before_color); } fo_leader->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_leader), "border-before-color");*/ } /** * fo_leader_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_leader_get_border_before_style (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_before_style; } /** * fo_leader_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_leader_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_leader->border_before_style != NULL) { g_object_unref (fo_leader->border_before_style); } fo_leader->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_leader), "border-before-style");*/ } /** * fo_leader_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_leader_get_border_before_width (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_before_width; } /** * fo_leader_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_leader_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_leader->border_before_width != NULL) { g_object_unref (fo_leader->border_before_width); } fo_leader->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_leader), "border-before-width");*/ } /** * fo_leader_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_leader_get_border_bottom_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_bottom_color; } /** * fo_leader_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_leader_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_leader->border_bottom_color != NULL) { g_object_unref (fo_leader->border_bottom_color); } fo_leader->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_leader), "border-bottom-color");*/ } /** * fo_leader_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_leader_get_border_bottom_style (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_bottom_style; } /** * fo_leader_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_leader_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_leader->border_bottom_style != NULL) { g_object_unref (fo_leader->border_bottom_style); } fo_leader->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_leader), "border-bottom-style");*/ } /** * fo_leader_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_leader_get_border_bottom_width (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_bottom_width; } /** * fo_leader_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_leader_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_leader->border_bottom_width != NULL) { g_object_unref (fo_leader->border_bottom_width); } fo_leader->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_leader), "border-bottom-width");*/ } /** * fo_leader_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_leader_get_border_end_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_end_color; } /** * fo_leader_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_leader_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_leader->border_end_color != NULL) { g_object_unref (fo_leader->border_end_color); } fo_leader->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_leader), "border-end-color");*/ } /** * fo_leader_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_leader_get_border_end_style (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_end_style; } /** * fo_leader_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_leader_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_leader->border_end_style != NULL) { g_object_unref (fo_leader->border_end_style); } fo_leader->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_leader), "border-end-style");*/ } /** * fo_leader_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_leader_get_border_end_width (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_end_width; } /** * fo_leader_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_leader_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_leader->border_end_width != NULL) { g_object_unref (fo_leader->border_end_width); } fo_leader->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_leader), "border-end-width");*/ } /** * fo_leader_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_leader_get_border_left_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_left_color; } /** * fo_leader_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_leader_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_leader->border_left_color != NULL) { g_object_unref (fo_leader->border_left_color); } fo_leader->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_leader), "border-left-color");*/ } /** * fo_leader_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_leader_get_border_left_style (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_left_style; } /** * fo_leader_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_leader_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_leader->border_left_style != NULL) { g_object_unref (fo_leader->border_left_style); } fo_leader->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_leader), "border-left-style");*/ } /** * fo_leader_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_leader_get_border_left_width (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_left_width; } /** * fo_leader_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_leader_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_leader->border_left_width != NULL) { g_object_unref (fo_leader->border_left_width); } fo_leader->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_leader), "border-left-width");*/ } /** * fo_leader_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_leader_get_border_right_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_right_color; } /** * fo_leader_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_leader_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_leader->border_right_color != NULL) { g_object_unref (fo_leader->border_right_color); } fo_leader->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_leader), "border-right-color");*/ } /** * fo_leader_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_leader_get_border_right_style (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_right_style; } /** * fo_leader_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_leader_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_leader->border_right_style != NULL) { g_object_unref (fo_leader->border_right_style); } fo_leader->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_leader), "border-right-style");*/ } /** * fo_leader_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_leader_get_border_right_width (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_right_width; } /** * fo_leader_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_leader_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_leader->border_right_width != NULL) { g_object_unref (fo_leader->border_right_width); } fo_leader->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_leader), "border-right-width");*/ } /** * fo_leader_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_leader_get_border_start_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_start_color; } /** * fo_leader_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_leader_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_leader->border_start_color != NULL) { g_object_unref (fo_leader->border_start_color); } fo_leader->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_leader), "border-start-color");*/ } /** * fo_leader_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_leader_get_border_start_style (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_start_style; } /** * fo_leader_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_leader_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_leader->border_start_style != NULL) { g_object_unref (fo_leader->border_start_style); } fo_leader->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_leader), "border-start-style");*/ } /** * fo_leader_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_leader_get_border_start_width (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_start_width; } /** * fo_leader_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_leader_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_leader->border_start_width != NULL) { g_object_unref (fo_leader->border_start_width); } fo_leader->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_leader), "border-start-width");*/ } /** * fo_leader_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_leader_get_border_top_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_top_color; } /** * fo_leader_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_leader_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_leader->border_top_color != NULL) { g_object_unref (fo_leader->border_top_color); } fo_leader->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_leader), "border-top-color");*/ } /** * fo_leader_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_leader_get_border_top_style (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_top_style; } /** * fo_leader_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_leader_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_leader->border_top_style != NULL) { g_object_unref (fo_leader->border_top_style); } fo_leader->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_leader), "border-top-style");*/ } /** * fo_leader_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_leader_get_border_top_width (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->border_top_width; } /** * fo_leader_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_leader_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_leader->border_top_width != NULL) { g_object_unref (fo_leader->border_top_width); } fo_leader->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_leader), "border-top-width");*/ } /** * fo_leader_get_color: * @fo_fo: The @FoFo object * * Gets the "color" property of @fo_fo * * Return value: The "color" property value **/ FoProperty* fo_leader_get_color (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->color; } /** * fo_leader_set_color: * @fo_fo: The #FoFo object * @new_color: The new "color" property value * * Sets the "color" property of @fo_fo to @new_color **/ void fo_leader_set_color (FoFo *fo_fo, FoProperty *new_color) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_COLOR (new_color)); if (new_color != NULL) { g_object_ref (new_color); } if (fo_leader->color != NULL) { g_object_unref (fo_leader->color); } fo_leader->color = new_color; /*g_object_notify (G_OBJECT (fo_leader), "color");*/ } /** * fo_leader_get_dominant_baseline: * @fo_fo: The @FoFo object * * Gets the "dominant-baseline" property of @fo_fo * * Return value: The "dominant-baseline" property value **/ FoProperty* fo_leader_get_dominant_baseline (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->dominant_baseline; } /** * fo_leader_set_dominant_baseline: * @fo_fo: The #FoFo object * @new_dominant_baseline: The new "dominant-baseline" property value * * Sets the "dominant-baseline" property of @fo_fo to @new_dominant_baseline **/ void fo_leader_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_leader->dominant_baseline != NULL) { g_object_unref (fo_leader->dominant_baseline); } fo_leader->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_leader), "dominant-baseline");*/ } /** * fo_leader_get_font_family: * @fo_fo: The @FoFo object * * Gets the "font-family" property of @fo_fo * * Return value: The "font-family" property value **/ FoProperty* fo_leader_get_font_family (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->font_family; } /** * fo_leader_set_font_family: * @fo_fo: The #FoFo object * @new_font_family: The new "font-family" property value * * Sets the "font-family" property of @fo_fo to @new_font_family **/ void fo_leader_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family != NULL) { g_object_ref (new_font_family); } if (fo_leader->font_family != NULL) { g_object_unref (fo_leader->font_family); } fo_leader->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_leader), "font-family");*/ } /** * fo_leader_get_font_size: * @fo_fo: The @FoFo object * * Gets the "font-size" property of @fo_fo * * Return value: The "font-size" property value **/ FoProperty* fo_leader_get_font_size (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->font_size; } /** * fo_leader_set_font_size: * @fo_fo: The #FoFo object * @new_font_size: The new "font-size" property value * * Sets the "font-size" property of @fo_fo to @new_font_size **/ void fo_leader_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size != NULL) { g_object_ref (new_font_size); } if (fo_leader->font_size != NULL) { g_object_unref (fo_leader->font_size); } fo_leader->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_leader), "font-size");*/ } /** * fo_leader_get_font_stretch: * @fo_fo: The @FoFo object * * Gets the "font-stretch" property of @fo_fo * * Return value: The "font-stretch" property value **/ FoProperty* fo_leader_get_font_stretch (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->font_stretch; } /** * fo_leader_set_font_stretch: * @fo_fo: The #FoFo object * @new_font_stretch: The new "font-stretch" property value * * Sets the "font-stretch" property of @fo_fo to @new_font_stretch **/ void fo_leader_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch != NULL) { g_object_ref (new_font_stretch); } if (fo_leader->font_stretch != NULL) { g_object_unref (fo_leader->font_stretch); } fo_leader->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_leader), "font-stretch");*/ } /** * fo_leader_get_font_style: * @fo_fo: The @FoFo object * * Gets the "font-style" property of @fo_fo * * Return value: The "font-style" property value **/ FoProperty* fo_leader_get_font_style (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->font_style; } /** * fo_leader_set_font_style: * @fo_fo: The #FoFo object * @new_font_style: The new "font-style" property value * * Sets the "font-style" property of @fo_fo to @new_font_style **/ void fo_leader_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style != NULL) { g_object_ref (new_font_style); } if (fo_leader->font_style != NULL) { g_object_unref (fo_leader->font_style); } fo_leader->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_leader), "font-style");*/ } /** * fo_leader_get_font_variant: * @fo_fo: The @FoFo object * * Gets the "font-variant" property of @fo_fo * * Return value: The "font-variant" property value **/ FoProperty* fo_leader_get_font_variant (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->font_variant; } /** * fo_leader_set_font_variant: * @fo_fo: The #FoFo object * @new_font_variant: The new "font-variant" property value * * Sets the "font-variant" property of @fo_fo to @new_font_variant **/ void fo_leader_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant != NULL) { g_object_ref (new_font_variant); } if (fo_leader->font_variant != NULL) { g_object_unref (fo_leader->font_variant); } fo_leader->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_leader), "font-variant");*/ } /** * fo_leader_get_font_weight: * @fo_fo: The @FoFo object * * Gets the "font-weight" property of @fo_fo * * Return value: The "font-weight" property value **/ FoProperty* fo_leader_get_font_weight (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->font_weight; } /** * fo_leader_set_font_weight: * @fo_fo: The #FoFo object * @new_font_weight: The new "font-weight" property value * * Sets the "font-weight" property of @fo_fo to @new_font_weight **/ void fo_leader_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight != NULL) { g_object_ref (new_font_weight); } if (fo_leader->font_weight != NULL) { g_object_unref (fo_leader->font_weight); } fo_leader->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_leader), "font-weight");*/ } /** * fo_leader_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_leader_get_id (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->id; } /** * fo_leader_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_leader_set_id (FoFo *fo_fo, FoProperty *new_id) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_leader->id != NULL) { g_object_unref (fo_leader->id); } fo_leader->id = new_id; /*g_object_notify (G_OBJECT (fo_leader), "id");*/ } /** * fo_leader_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_leader_get_keep_with_next (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->keep_with_next; } /** * fo_leader_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_leader_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_leader->keep_with_next != NULL) { g_object_unref (fo_leader->keep_with_next); } fo_leader->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_leader), "keep-with-next");*/ } /** * fo_leader_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_leader_get_keep_with_next_within_column (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->keep_with_next_within_column; } /** * fo_leader_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_leader_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_leader->keep_with_next_within_column != NULL) { g_object_unref (fo_leader->keep_with_next_within_column); } fo_leader->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_leader), "keep-with-next-within-column");*/ } /** * fo_leader_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_leader_get_keep_with_next_within_line (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->keep_with_next_within_line; } /** * fo_leader_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_leader_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_leader->keep_with_next_within_line != NULL) { g_object_unref (fo_leader->keep_with_next_within_line); } fo_leader->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_leader), "keep-with-next-within-line");*/ } /** * fo_leader_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_leader_get_keep_with_next_within_page (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->keep_with_next_within_page; } /** * fo_leader_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_leader_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_leader->keep_with_next_within_page != NULL) { g_object_unref (fo_leader->keep_with_next_within_page); } fo_leader->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_leader), "keep-with-next-within-page");*/ } /** * fo_leader_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_leader_get_keep_with_previous (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->keep_with_previous; } /** * fo_leader_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_leader_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_leader->keep_with_previous != NULL) { g_object_unref (fo_leader->keep_with_previous); } fo_leader->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_leader), "keep-with-previous");*/ } /** * fo_leader_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_leader_get_keep_with_previous_within_column (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->keep_with_previous_within_column; } /** * fo_leader_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_leader_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_leader->keep_with_previous_within_column != NULL) { g_object_unref (fo_leader->keep_with_previous_within_column); } fo_leader->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_leader), "keep-with-previous-within-column");*/ } /** * fo_leader_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_leader_get_keep_with_previous_within_line (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->keep_with_previous_within_line; } /** * fo_leader_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_leader_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_leader->keep_with_previous_within_line != NULL) { g_object_unref (fo_leader->keep_with_previous_within_line); } fo_leader->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_leader), "keep-with-previous-within-line");*/ } /** * fo_leader_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_leader_get_keep_with_previous_within_page (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->keep_with_previous_within_page; } /** * fo_leader_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_leader_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_leader->keep_with_previous_within_page != NULL) { g_object_unref (fo_leader->keep_with_previous_within_page); } fo_leader->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_leader), "keep-with-previous-within-page");*/ } /** * fo_leader_get_line_height: * @fo_fo: The @FoFo object * * Gets the "line-height" property of @fo_fo * * Return value: The "line-height" property value **/ FoProperty* fo_leader_get_line_height (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->line_height; } /** * fo_leader_set_line_height: * @fo_fo: The #FoFo object * @new_line_height: The new "line-height" property value * * Sets the "line-height" property of @fo_fo to @new_line_height **/ void fo_leader_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_leader->line_height != NULL) { g_object_unref (fo_leader->line_height); } fo_leader->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_leader), "line-height");*/ } /** * fo_leader_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_leader_get_padding_after (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->padding_after; } /** * fo_leader_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_leader_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_leader->padding_after != NULL) { g_object_unref (fo_leader->padding_after); } fo_leader->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_leader), "padding-after");*/ } /** * fo_leader_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_leader_get_padding_before (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->padding_before; } /** * fo_leader_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_leader_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_leader->padding_before != NULL) { g_object_unref (fo_leader->padding_before); } fo_leader->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_leader), "padding-before");*/ } /** * fo_leader_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_leader_get_padding_bottom (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->padding_bottom; } /** * fo_leader_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_leader_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_leader->padding_bottom != NULL) { g_object_unref (fo_leader->padding_bottom); } fo_leader->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_leader), "padding-bottom");*/ } /** * fo_leader_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_leader_get_padding_end (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->padding_end; } /** * fo_leader_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_leader_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_leader->padding_end != NULL) { g_object_unref (fo_leader->padding_end); } fo_leader->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_leader), "padding-end");*/ } /** * fo_leader_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_leader_get_padding_left (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->padding_left; } /** * fo_leader_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_leader_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_leader->padding_left != NULL) { g_object_unref (fo_leader->padding_left); } fo_leader->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_leader), "padding-left");*/ } /** * fo_leader_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_leader_get_padding_right (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->padding_right; } /** * fo_leader_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_leader_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_leader->padding_right != NULL) { g_object_unref (fo_leader->padding_right); } fo_leader->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_leader), "padding-right");*/ } /** * fo_leader_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_leader_get_padding_start (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->padding_start; } /** * fo_leader_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_leader_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_leader->padding_start != NULL) { g_object_unref (fo_leader->padding_start); } fo_leader->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_leader), "padding-start");*/ } /** * fo_leader_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_leader_get_padding_top (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->padding_top; } /** * fo_leader_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_leader_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_leader->padding_top != NULL) { g_object_unref (fo_leader->padding_top); } fo_leader->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_leader), "padding-top");*/ } /** * fo_leader_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_leader_get_role (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->role; } /** * fo_leader_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_leader_set_role (FoFo *fo_fo, FoProperty *new_role) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_leader->role != NULL) { g_object_unref (fo_leader->role); } fo_leader->role = new_role; /*g_object_notify (G_OBJECT (fo_leader), "role");*/ } /** * fo_leader_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_leader_get_source_document (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->source_document; } /** * fo_leader_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_leader_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_leader->source_document != NULL) { g_object_unref (fo_leader->source_document); } fo_leader->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_leader), "source-document");*/ } /** * fo_leader_get_space_end: * @fo_fo: The @FoFo object * * Gets the "space-end" property of @fo_fo * * Return value: The "space-end" property value **/ FoProperty* fo_leader_get_space_end (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->space_end; } /** * fo_leader_set_space_end: * @fo_fo: The #FoFo object * @new_space_end: The new "space-end" property value * * Sets the "space-end" property of @fo_fo to @new_space_end **/ void fo_leader_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_leader->space_end != NULL) { g_object_unref (fo_leader->space_end); } fo_leader->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_leader), "space-end");*/ } /** * fo_leader_get_space_start: * @fo_fo: The @FoFo object * * Gets the "space-start" property of @fo_fo * * Return value: The "space-start" property value **/ FoProperty* fo_leader_get_space_start (FoFo *fo_fo) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_val_if_fail (fo_leader != NULL, NULL); g_return_val_if_fail (FO_IS_LEADER (fo_leader), NULL); return fo_leader->space_start; } /** * fo_leader_set_space_start: * @fo_fo: The #FoFo object * @new_space_start: The new "space-start" property value * * Sets the "space-start" property of @fo_fo to @new_space_start **/ void fo_leader_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoLeader *fo_leader = (FoLeader *) fo_fo; g_return_if_fail (fo_leader != NULL); g_return_if_fail (FO_IS_LEADER (fo_leader)); g_return_if_fail (FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_leader->space_start != NULL) { g_object_unref (fo_leader->space_start); } fo_leader->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_leader), "space-start");*/ } xmlroff-0.6.2/libfo/fo/fo-leader.h0000644000175000017500000003214310643167376013643 00000000000000/* Fo * fo-leader.h: 'leader' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LEADER_H__ #define __FO_LEADER_H__ #include #include G_BEGIN_DECLS typedef struct _FoLeader FoLeader; typedef struct _FoLeaderClass FoLeaderClass; #define FO_TYPE_LEADER (fo_leader_get_type ()) #define FO_LEADER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LEADER, FoLeader)) #define FO_LEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LEADER, FoLeaderClass)) #define FO_IS_LEADER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LEADER)) #define FO_IS_LEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LEADER)) #define FO_LEADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LEADER, FoLeaderClass)) GType fo_leader_get_type (void) G_GNUC_CONST; FoFo * fo_leader_new (void); FoProperty * fo_leader_get_alignment_adjust (FoFo *fo_fo); void fo_leader_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty * fo_leader_get_alignment_baseline (FoFo *fo_fo); void fo_leader_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty * fo_leader_get_background_color (FoFo *fo_fo); void fo_leader_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_leader_get_background_image (FoFo *fo_fo); void fo_leader_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_leader_get_baseline_shift (FoFo *fo_fo); void fo_leader_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty * fo_leader_get_border_after_color (FoFo *fo_fo); void fo_leader_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_leader_get_border_after_style (FoFo *fo_fo); void fo_leader_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_leader_get_border_after_width (FoFo *fo_fo); void fo_leader_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_leader_get_border_before_color (FoFo *fo_fo); void fo_leader_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_leader_get_border_before_style (FoFo *fo_fo); void fo_leader_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_leader_get_border_before_width (FoFo *fo_fo); void fo_leader_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_leader_get_border_bottom_color (FoFo *fo_fo); void fo_leader_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_leader_get_border_bottom_style (FoFo *fo_fo); void fo_leader_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_leader_get_border_bottom_width (FoFo *fo_fo); void fo_leader_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_leader_get_border_end_color (FoFo *fo_fo); void fo_leader_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_leader_get_border_end_style (FoFo *fo_fo); void fo_leader_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_leader_get_border_end_width (FoFo *fo_fo); void fo_leader_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_leader_get_border_left_color (FoFo *fo_fo); void fo_leader_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_leader_get_border_left_style (FoFo *fo_fo); void fo_leader_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_leader_get_border_left_width (FoFo *fo_fo); void fo_leader_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_leader_get_border_right_color (FoFo *fo_fo); void fo_leader_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_leader_get_border_right_style (FoFo *fo_fo); void fo_leader_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_leader_get_border_right_width (FoFo *fo_fo); void fo_leader_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_leader_get_border_start_color (FoFo *fo_fo); void fo_leader_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_leader_get_border_start_style (FoFo *fo_fo); void fo_leader_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_leader_get_border_start_width (FoFo *fo_fo); void fo_leader_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_leader_get_border_top_color (FoFo *fo_fo); void fo_leader_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_leader_get_border_top_style (FoFo *fo_fo); void fo_leader_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_leader_get_border_top_width (FoFo *fo_fo); void fo_leader_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_leader_get_color (FoFo *fo_fo); void fo_leader_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty * fo_leader_get_dominant_baseline (FoFo *fo_fo); void fo_leader_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty * fo_leader_get_font_family (FoFo *fo_fo); void fo_leader_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty * fo_leader_get_font_size (FoFo *fo_fo); void fo_leader_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty * fo_leader_get_font_stretch (FoFo *fo_fo); void fo_leader_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty * fo_leader_get_font_style (FoFo *fo_fo); void fo_leader_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty * fo_leader_get_font_variant (FoFo *fo_fo); void fo_leader_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty * fo_leader_get_font_weight (FoFo *fo_fo); void fo_leader_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty * fo_leader_get_id (FoFo *fo_fo); void fo_leader_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_leader_get_keep_with_next (FoFo *fo_fo); void fo_leader_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_leader_get_keep_with_next_within_column (FoFo *fo_fo); void fo_leader_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_leader_get_keep_with_next_within_line (FoFo *fo_fo); void fo_leader_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_leader_get_keep_with_next_within_page (FoFo *fo_fo); void fo_leader_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_leader_get_keep_with_previous (FoFo *fo_fo); void fo_leader_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_leader_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_leader_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_leader_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_leader_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_leader_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_leader_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_leader_get_line_height (FoFo *fo_fo); void fo_leader_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty * fo_leader_get_padding_after (FoFo *fo_fo); void fo_leader_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_leader_get_padding_before (FoFo *fo_fo); void fo_leader_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_leader_get_padding_bottom (FoFo *fo_fo); void fo_leader_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_leader_get_padding_end (FoFo *fo_fo); void fo_leader_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_leader_get_padding_left (FoFo *fo_fo); void fo_leader_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_leader_get_padding_right (FoFo *fo_fo); void fo_leader_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_leader_get_padding_start (FoFo *fo_fo); void fo_leader_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_leader_get_padding_top (FoFo *fo_fo); void fo_leader_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_leader_get_role (FoFo *fo_fo); void fo_leader_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_leader_get_source_document (FoFo *fo_fo); void fo_leader_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_leader_get_space_end (FoFo *fo_fo); void fo_leader_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty * fo_leader_get_space_start (FoFo *fo_fo); void fo_leader_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); G_END_DECLS #endif /* !__FO_LEADER_H__ */ xmlroff-0.6.2/libfo/fo/fo-leader-private.h0000644000175000017500000000461410643167376015315 00000000000000/* Fo * fo-leader-private.h: Structures private to 'leader' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LEADER_PRIVATE_H__ #define __FO_LEADER_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoLeader { FoFo parent_instance; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *color; FoProperty *dominant_baseline; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *id; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *space_end; FoProperty *space_start; }; struct _FoLeaderClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_LEADER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-block.c0000644000175000017500000043747511150515137014450 00000000000000/* Fo * fo-list-block.c: 'list-block' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-block-fo-private.h" #include "fo-list-block.h" #include "fo-list-block-private.h" #include "fo-list-block-area.h" #include "fo-list-item.h" #include "area/fo-area-area.h" #include "property/fo-property-border.h" #include "property/fo-property-padding.h" #include "property/fo-property-margin.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-break-after.h" #include "property/fo-property-break-before.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-provisional-distance-between-starts.h" #include "property/fo-property-provisional-label-separation.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-after.h" #include "property/fo-property-space-before.h" #include "property/fo-property-start-indent.h" enum { PROP_0, PROP_LABEL_END, PROP_BODY_START, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_BREAK_AFTER, PROP_BREAK_BEFORE, PROP_END_INDENT, PROP_ID, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT, PROP_MARGIN_TOP, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_PROVISIONAL_DISTANCE_BETWEEN_STARTS, PROP_PROVISIONAL_LABEL_SEPARATION, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_SPACE_AFTER, PROP_SPACE_BEFORE, PROP_START_INDENT }; static void fo_list_block_init (FoListBlock *fo_list_block); static void fo_list_block_class_init (FoListBlockClass *klass); static void fo_list_block_block_fo_init (FoBlockFoIface *iface); static void fo_list_block_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_list_block_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_list_block_finalize (GObject *object); static gboolean fo_list_block_validate_content (FoFo *fo, GError **error); static void fo_list_block_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_list_block_update_from_context (FoFo *fo, FoContext *context); static void fo_list_block_debug_dump_properties (FoFo *fo, gint depth); static void fo_list_block_set_label_end (FoFo *fo_fo, FoDatatype *new_label_end); static void fo_list_block_set_body_start (FoFo *fo_fo, FoDatatype *new_body_start); static gpointer parent_class; /** * fo_list_block_get_type: * * Register the #FoListBlock object type. * * Return value: #GType value of the #FoListBlock object type. **/ GType fo_list_block_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoListBlockClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_list_block_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoListBlock), 0, /* n_preallocs */ (GInstanceInitFunc) fo_list_block_init, NULL /* value_table */ }; static const GInterfaceInfo fo_block_fo_info = { (GInterfaceInitFunc) fo_list_block_block_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoListBlock", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_BLOCK_FO, &fo_block_fo_info); } return object_type; } /** * fo_list_block_init: * @fo_list_block: #FoListBlock object to initialise. * * Implements #GInstanceInitFunc for #FoListBlock. **/ void fo_list_block_init (FoListBlock *fo_list_block) { fo_list_block->label_end = fo_length_new_with_value (6.0); fo_list_block->body_start = fo_length_new_with_value (24.0); } /** * fo_list_block_class_init: * @klass: #FoListBlockClass object to initialise. * * Implements #GClassInitFunc for #FoListBlockClass. **/ void fo_list_block_class_init (FoListBlockClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_list_block_finalize; object_class->get_property = fo_list_block_get_property; object_class->set_property = fo_list_block_set_property; fofo_class->validate_content = fo_list_block_validate_content; fofo_class->validate2 = fo_list_block_validate; fofo_class->update_from_context = fo_list_block_update_from_context; fofo_class->debug_dump_properties = fo_list_block_debug_dump_properties; fofo_class->area_new2 = fo_list_block_area_new2; g_object_class_install_property (object_class, PROP_LABEL_END, g_param_spec_object ("label-end", _("Label End"), _("Label End property"), FO_TYPE_DATATYPE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BODY_START, g_param_spec_object ("body-start", _("Body Start"), _("Body Start property"), FO_TYPE_DATATYPE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_AFTER, g_param_spec_object ("break-after", _("Break After"), _("Break After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_BEFORE, g_param_spec_object ("break-before", _("Break Before"), _("Break Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_END_INDENT, g_param_spec_object ("end-indent", _("End Indent"), _("End Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_object ("margin-bottom", _("Margin Bottom"), _("Margin Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_object ("margin-left", _("Margin Left"), _("Margin Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_object ("margin-right", _("Margin Right"), _("Margin Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_object ("margin-top", _("Margin Top"), _("Margin Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PROVISIONAL_DISTANCE_BETWEEN_STARTS, g_param_spec_object ("provisional-distance-between-starts", _("Provisional Distance Between Starts"), _("Provisional Distance Between Starts property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PROVISIONAL_LABEL_SEPARATION, g_param_spec_object ("provisional-label-separation", _("Provisional Label Separation"), _("Provisional Label Separation property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER, g_param_spec_object ("space-after", _("Space After"), _("Space After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE, g_param_spec_object ("space-before", _("Space Before"), _("Space Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_START_INDENT, g_param_spec_object ("start-indent", _("Start Indent"), _("Start Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_list_block_block_fo_init: * @iface: #FoBlockFoIFace structure for this class. * * Initialize #FoBlockFoIface interface for this class. **/ void fo_list_block_block_fo_init (FoBlockFoIface *iface) { iface->get_background_color = fo_list_block_get_background_color; iface->get_border_after_color = fo_list_block_get_border_after_color; iface->get_border_after_style = fo_list_block_get_border_after_style; iface->get_border_after_width = fo_list_block_get_border_after_width; iface->get_border_before_color = fo_list_block_get_border_before_color; iface->get_border_before_style = fo_list_block_get_border_before_style; iface->get_border_before_width = fo_list_block_get_border_before_width; iface->get_border_end_color = fo_list_block_get_border_end_color; iface->get_border_end_style = fo_list_block_get_border_end_style; iface->get_border_end_width = fo_list_block_get_border_end_width; iface->get_border_start_color = fo_list_block_get_border_start_color; iface->get_border_start_style = fo_list_block_get_border_start_style; iface->get_border_start_width = fo_list_block_get_border_start_width; iface->get_keep_with_previous = fo_list_block_get_keep_with_previous; iface->get_keep_with_next = fo_list_block_get_keep_with_next; iface->get_keep_together = fo_list_block_get_keep_together; iface->get_padding_after = fo_list_block_get_padding_after; iface->get_padding_before = fo_list_block_get_padding_before; iface->get_padding_end = fo_list_block_get_padding_end; iface->get_padding_start = fo_list_block_get_padding_start; iface->get_space_before = fo_list_block_get_space_before; iface->get_space_after = fo_list_block_get_space_after; iface->get_start_indent = fo_list_block_get_start_indent; iface->get_end_indent = fo_list_block_get_end_indent; } /** * fo_list_block_finalize: * @object: #FoListBlock object to finalize. * * Implements #GObjectFinalizeFunc for #FoListBlock. **/ void fo_list_block_finalize (GObject *object) { FoListBlock *fo_list_block; fo_list_block = FO_LIST_BLOCK (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_list_block_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoListBlock. **/ void fo_list_block_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_LABEL_END: g_value_set_object (value, G_OBJECT (fo_list_block_get_label_end (fo_fo))); break; case PROP_BODY_START: g_value_set_object (value, G_OBJECT (fo_list_block_get_body_start (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_list_block_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_list_block_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_block_get_border_top_width (fo_fo))); break; case PROP_BREAK_AFTER: g_value_set_object (value, G_OBJECT (fo_list_block_get_break_after (fo_fo))); break; case PROP_BREAK_BEFORE: g_value_set_object (value, G_OBJECT (fo_list_block_get_break_before (fo_fo))); break; case PROP_END_INDENT: g_value_set_object (value, G_OBJECT (fo_list_block_get_end_indent (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_list_block_get_id (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_list_block_get_keep_with_previous_within_page (fo_fo))); break; case PROP_MARGIN_BOTTOM: g_value_set_object (value, G_OBJECT (fo_list_block_get_margin_bottom (fo_fo))); break; case PROP_MARGIN_LEFT: g_value_set_object (value, G_OBJECT (fo_list_block_get_margin_left (fo_fo))); break; case PROP_MARGIN_RIGHT: g_value_set_object (value, G_OBJECT (fo_list_block_get_margin_right (fo_fo))); break; case PROP_MARGIN_TOP: g_value_set_object (value, G_OBJECT (fo_list_block_get_margin_top (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_list_block_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_list_block_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_list_block_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_list_block_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_list_block_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_list_block_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_list_block_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_list_block_get_padding_top (fo_fo))); break; case PROP_PROVISIONAL_DISTANCE_BETWEEN_STARTS: g_value_set_object (value, G_OBJECT (fo_list_block_get_provisional_distance_between_starts (fo_fo))); break; case PROP_PROVISIONAL_LABEL_SEPARATION: g_value_set_object (value, G_OBJECT (fo_list_block_get_provisional_label_separation (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_list_block_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_list_block_get_source_document (fo_fo))); break; case PROP_SPACE_AFTER: g_value_set_object (value, G_OBJECT (fo_list_block_get_space_after (fo_fo))); break; case PROP_SPACE_BEFORE: g_value_set_object (value, G_OBJECT (fo_list_block_get_space_before (fo_fo))); break; case PROP_START_INDENT: g_value_set_object (value, G_OBJECT (fo_list_block_get_start_indent (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_list_block_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoListBlock. **/ void fo_list_block_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_list_block_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_list_block_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_list_block_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_list_block_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_list_block_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_list_block_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_list_block_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_list_block_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_list_block_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_list_block_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_list_block_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_list_block_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_list_block_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_list_block_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_list_block_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_list_block_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_list_block_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_list_block_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_list_block_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_list_block_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_list_block_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_list_block_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_list_block_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_list_block_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_list_block_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_list_block_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_AFTER: fo_list_block_set_break_after (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_BEFORE: fo_list_block_set_break_before (fo_fo, g_value_get_object (value)); break; case PROP_END_INDENT: fo_list_block_set_end_indent (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_list_block_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_list_block_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_list_block_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_list_block_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_list_block_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_list_block_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_list_block_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_list_block_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_list_block_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_list_block_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_list_block_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_list_block_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_list_block_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_BOTTOM: fo_list_block_set_margin_bottom (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_LEFT: fo_list_block_set_margin_left (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_RIGHT: fo_list_block_set_margin_right (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_TOP: fo_list_block_set_margin_top (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_list_block_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_list_block_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_list_block_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_list_block_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_list_block_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_list_block_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_list_block_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_list_block_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_PROVISIONAL_DISTANCE_BETWEEN_STARTS: fo_list_block_set_provisional_distance_between_starts (fo_fo, g_value_get_object (value)); break; case PROP_PROVISIONAL_LABEL_SEPARATION: fo_list_block_set_provisional_label_separation (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_list_block_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_list_block_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_AFTER: fo_list_block_set_space_after (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_BEFORE: fo_list_block_set_space_before (fo_fo, g_value_get_object (value)); break; case PROP_START_INDENT: fo_list_block_set_start_indent (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_list_block_new: * * Creates a new #FoListBlock initialized to default value. * * Return value: the new #FoListBlock. **/ FoFo* fo_list_block_new (void) { return FO_FO (g_object_new (fo_list_block_get_type (), NULL)); } /** * fo_list_block_validate_content: * @fo: #FoListBlock object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_list_block_validate_content (FoFo *fo, GError **error) { GError *tmp_error; FoNode *fo_node; FoNode *child_node; gint n_children; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_node = FO_NODE (fo); fo_fo_trim_whitespace_children (fo); n_children = fo_node_n_children (fo_node); if (n_children == 0) { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_EMPTY, _(fo_fo_error_messages[FO_FO_ERROR_EMPTY]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } child_node = fo_node_first_child (fo_node); while (child_node) { if (FO_IS_LIST_ITEM (child_node)) { child_node = fo_node_next_sibling (child_node); } else { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } } return FALSE; } /** * fo_list_block_validate: * @fo: #FoListBlock object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_list_block_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoListBlock *fo_list_block; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_list_block = FO_LIST_BLOCK (fo); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_margins_indents_resolve (fo, current_context, parent_context); fo_context_util_margins_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_list_block_set_label_end: * @fo_fo: #FoListBlock object whose "label-end" is to be set * @new_label_end: New "label-end" property value * * Sets the "label-end" property of @property **/ void fo_list_block_set_label_end (FoFo *fo_fo, FoDatatype *new_label_end) { FoListBlock *fo_list_block; g_return_if_fail (fo_fo != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_fo)); fo_list_block = (FoListBlock *) fo_fo; if (new_label_end) g_object_ref (G_OBJECT (new_label_end)); if (fo_list_block->label_end) g_object_unref (G_OBJECT (fo_list_block->label_end)); fo_list_block->label_end = new_label_end; /*g_object_notify (G_OBJECT(fo_list_block), "label-end");*/ } /** * fo_list_block_get_label_end: * @fo_fo: The #FoListBlock object * * Gets the #label-end of @fo_fo * * Return value: The value to use for label-end() functions **/ FoDatatype* fo_list_block_get_label_end (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; gfloat label_end; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("get_label_end:: content rectangle: %f; pdbs: %f; start-indent: %f; start-intrusion-adjustment: %f; pls: %f", fo_area_area_get_width (FO_AREA (fo_fo->areas->data)->reference), fo_length_get_value (fo_property_get_value (fo_list_block_get_provisional_distance_between_starts (fo_fo))), fo_area_area_get_start_indent (fo_fo->areas->data), 0.0, fo_length_get_value (fo_property_get_value (fo_list_block_get_provisional_label_separation (fo_fo)))); #endif label_end = fo_area_area_get_width (fo_area_get_reference (fo_fo->areas->data)) - (fo_length_get_value (fo_property_get_value (fo_list_block_get_provisional_distance_between_starts (fo_fo))) + fo_area_area_get_start_indent (fo_fo->areas->data) - fo_length_get_value (fo_property_get_value (fo_list_block_get_provisional_label_separation (fo_fo)))); fo_list_block_set_label_end (fo_fo, fo_length_new_with_value (label_end)); return fo_list_block->label_end; } /** * fo_list_block_set_body_start: * @fo_fo: #FoListBlock object whose "body-start" is to be set * @new_body_start: New "body-start" property value * * Sets the "body-start" property of @property **/ void fo_list_block_set_body_start (FoFo *fo_fo, FoDatatype *new_body_start) { FoListBlock *fo_list_block; g_return_if_fail (fo_fo != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_fo)); fo_list_block = (FoListBlock *) fo_fo; if (new_body_start) g_object_ref (G_OBJECT (new_body_start)); if (fo_list_block->body_start) g_object_unref (G_OBJECT (fo_list_block->body_start)); fo_list_block->body_start = new_body_start; /*g_object_notify (G_OBJECT(fo_list_block), "body-start");*/ } /** * fo_list_block_get_body_start: * @fo_fo: The #FoFo object * * Gets the "body-start" property of @list_block * * Return value: The value to use for body_start() functions **/ FoDatatype* fo_list_block_get_body_start (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; gfloat body_start; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("get_body_start:: start-indent: %f; start-intrusion-adjustment: %f; pdbs: %f", fo_area_area_get_start_indent (fo_fo->areas->data), 0.0, fo_length_get_value (fo_property_get_value (fo_list_block_get_provisional_distance_between_starts (fo_fo)))); #endif body_start = fo_area_area_get_start_indent (fo_fo->areas->data) - fo_area_area_get_x (fo_fo->areas->data) + fo_length_get_value (fo_property_get_value (fo_list_block_get_provisional_distance_between_starts (fo_fo))); fo_list_block_set_body_start (fo_fo, fo_length_new_with_value (body_start)); return fo_list_block->body_start; } /** * fo_list_block_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_list_block_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_list_block_set_background_color (fo, fo_context_get_background_color (context)); fo_list_block_set_background_image (fo, fo_context_get_background_image (context)); fo_list_block_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_list_block_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_list_block_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_list_block_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_list_block_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_list_block_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_list_block_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_list_block_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_list_block_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_list_block_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_list_block_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_list_block_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_list_block_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_list_block_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_list_block_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_list_block_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_list_block_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_list_block_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_list_block_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_list_block_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_list_block_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_list_block_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_list_block_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_list_block_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_list_block_set_break_after (fo, fo_context_get_break_after (context)); fo_list_block_set_break_before (fo, fo_context_get_break_before (context)); fo_list_block_set_end_indent (fo, fo_context_get_end_indent (context)); fo_list_block_set_id (fo, fo_context_get_id (context)); fo_list_block_set_keep_together (fo, fo_context_get_keep_together (context)); fo_list_block_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_list_block_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_list_block_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_list_block_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_list_block_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_list_block_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_list_block_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_list_block_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_list_block_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_list_block_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_list_block_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_list_block_set_margin_bottom (fo, fo_context_get_margin_bottom (context)); fo_list_block_set_margin_left (fo, fo_context_get_margin_left (context)); fo_list_block_set_margin_right (fo, fo_context_get_margin_right (context)); fo_list_block_set_margin_top (fo, fo_context_get_margin_top (context)); fo_list_block_set_padding_after (fo, fo_context_get_padding_after (context)); fo_list_block_set_padding_before (fo, fo_context_get_padding_before (context)); fo_list_block_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_list_block_set_padding_end (fo, fo_context_get_padding_end (context)); fo_list_block_set_padding_left (fo, fo_context_get_padding_left (context)); fo_list_block_set_padding_right (fo, fo_context_get_padding_right (context)); fo_list_block_set_padding_start (fo, fo_context_get_padding_start (context)); fo_list_block_set_padding_top (fo, fo_context_get_padding_top (context)); fo_list_block_set_provisional_distance_between_starts (fo, fo_context_get_provisional_distance_between_starts (context)); fo_list_block_set_provisional_label_separation (fo, fo_context_get_provisional_label_separation (context)); fo_list_block_set_role (fo, fo_context_get_role (context)); fo_list_block_set_source_document (fo, fo_context_get_source_document (context)); fo_list_block_set_space_after (fo, fo_context_get_space_after (context)); fo_list_block_set_space_before (fo, fo_context_get_space_before (context)); fo_list_block_set_start_indent (fo, fo_context_get_start_indent (context)); } /** * fo_list_block_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_list_block_debug_dump_properties (FoFo *fo, gint depth) { FoListBlock *fo_list_block; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo)); fo_list_block = FO_LIST_BLOCK (fo); fo_object_debug_dump (fo_list_block->background_color, depth); fo_object_debug_dump (fo_list_block->background_image, depth); fo_object_debug_dump (fo_list_block->border_after_color, depth); fo_object_debug_dump (fo_list_block->border_after_style, depth); fo_object_debug_dump (fo_list_block->border_after_width, depth); fo_object_debug_dump (fo_list_block->border_before_color, depth); fo_object_debug_dump (fo_list_block->border_before_style, depth); fo_object_debug_dump (fo_list_block->border_before_width, depth); fo_object_debug_dump (fo_list_block->border_bottom_color, depth); fo_object_debug_dump (fo_list_block->border_bottom_style, depth); fo_object_debug_dump (fo_list_block->border_bottom_width, depth); fo_object_debug_dump (fo_list_block->border_end_color, depth); fo_object_debug_dump (fo_list_block->border_end_style, depth); fo_object_debug_dump (fo_list_block->border_end_width, depth); fo_object_debug_dump (fo_list_block->border_left_color, depth); fo_object_debug_dump (fo_list_block->border_left_style, depth); fo_object_debug_dump (fo_list_block->border_left_width, depth); fo_object_debug_dump (fo_list_block->border_right_color, depth); fo_object_debug_dump (fo_list_block->border_right_style, depth); fo_object_debug_dump (fo_list_block->border_right_width, depth); fo_object_debug_dump (fo_list_block->border_start_color, depth); fo_object_debug_dump (fo_list_block->border_start_style, depth); fo_object_debug_dump (fo_list_block->border_start_width, depth); fo_object_debug_dump (fo_list_block->border_top_color, depth); fo_object_debug_dump (fo_list_block->border_top_style, depth); fo_object_debug_dump (fo_list_block->border_top_width, depth); fo_object_debug_dump (fo_list_block->break_after, depth); fo_object_debug_dump (fo_list_block->break_before, depth); fo_object_debug_dump (fo_list_block->end_indent, depth); fo_object_debug_dump (fo_list_block->id, depth); fo_object_debug_dump (fo_list_block->keep_together, depth); fo_object_debug_dump (fo_list_block->keep_together_within_column, depth); fo_object_debug_dump (fo_list_block->keep_together_within_line, depth); fo_object_debug_dump (fo_list_block->keep_together_within_page, depth); fo_object_debug_dump (fo_list_block->keep_with_next, depth); fo_object_debug_dump (fo_list_block->keep_with_next_within_column, depth); fo_object_debug_dump (fo_list_block->keep_with_next_within_line, depth); fo_object_debug_dump (fo_list_block->keep_with_next_within_page, depth); fo_object_debug_dump (fo_list_block->keep_with_previous, depth); fo_object_debug_dump (fo_list_block->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_list_block->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_list_block->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_list_block->margin_bottom, depth); fo_object_debug_dump (fo_list_block->margin_left, depth); fo_object_debug_dump (fo_list_block->margin_right, depth); fo_object_debug_dump (fo_list_block->margin_top, depth); fo_object_debug_dump (fo_list_block->padding_after, depth); fo_object_debug_dump (fo_list_block->padding_before, depth); fo_object_debug_dump (fo_list_block->padding_bottom, depth); fo_object_debug_dump (fo_list_block->padding_end, depth); fo_object_debug_dump (fo_list_block->padding_left, depth); fo_object_debug_dump (fo_list_block->padding_right, depth); fo_object_debug_dump (fo_list_block->padding_start, depth); fo_object_debug_dump (fo_list_block->padding_top, depth); fo_object_debug_dump (fo_list_block->provisional_distance_between_starts, depth); fo_object_debug_dump (fo_list_block->provisional_label_separation, depth); fo_object_debug_dump (fo_list_block->role, depth); fo_object_debug_dump (fo_list_block->source_document, depth); fo_object_debug_dump (fo_list_block->space_after, depth); fo_object_debug_dump (fo_list_block->space_before, depth); fo_object_debug_dump (fo_list_block->start_indent, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_list_block_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty* fo_list_block_get_background_color (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->background_color; } /** * fo_list_block_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_list_block_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_list_block->background_color != NULL) { g_object_unref (fo_list_block->background_color); } fo_list_block->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_list_block), "background-color");*/ } /** * fo_list_block_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_list_block_get_background_image (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->background_image; } /** * fo_list_block_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_list_block_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_list_block->background_image != NULL) { g_object_unref (fo_list_block->background_image); } fo_list_block->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_list_block), "background-image");*/ } /** * fo_list_block_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_list_block_get_border_after_color (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_after_color; } /** * fo_list_block_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_list_block_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_list_block->border_after_color != NULL) { g_object_unref (fo_list_block->border_after_color); } fo_list_block->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_list_block), "border-after-color");*/ } /** * fo_list_block_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_list_block_get_border_after_style (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_after_style; } /** * fo_list_block_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_list_block_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_list_block->border_after_style != NULL) { g_object_unref (fo_list_block->border_after_style); } fo_list_block->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_list_block), "border-after-style");*/ } /** * fo_list_block_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_list_block_get_border_after_width (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_after_width; } /** * fo_list_block_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_list_block_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_list_block->border_after_width != NULL) { g_object_unref (fo_list_block->border_after_width); } fo_list_block->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_list_block), "border-after-width");*/ } /** * fo_list_block_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_list_block_get_border_before_color (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_before_color; } /** * fo_list_block_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_list_block_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_list_block->border_before_color != NULL) { g_object_unref (fo_list_block->border_before_color); } fo_list_block->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_list_block), "border-before-color");*/ } /** * fo_list_block_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_list_block_get_border_before_style (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_before_style; } /** * fo_list_block_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_list_block_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_list_block->border_before_style != NULL) { g_object_unref (fo_list_block->border_before_style); } fo_list_block->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_list_block), "border-before-style");*/ } /** * fo_list_block_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_list_block_get_border_before_width (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_before_width; } /** * fo_list_block_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_list_block_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_list_block->border_before_width != NULL) { g_object_unref (fo_list_block->border_before_width); } fo_list_block->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_list_block), "border-before-width");*/ } /** * fo_list_block_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_list_block_get_border_bottom_color (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_bottom_color; } /** * fo_list_block_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_list_block_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_list_block->border_bottom_color != NULL) { g_object_unref (fo_list_block->border_bottom_color); } fo_list_block->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_list_block), "border-bottom-color");*/ } /** * fo_list_block_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_list_block_get_border_bottom_style (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_bottom_style; } /** * fo_list_block_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_list_block_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_list_block->border_bottom_style != NULL) { g_object_unref (fo_list_block->border_bottom_style); } fo_list_block->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_list_block), "border-bottom-style");*/ } /** * fo_list_block_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_list_block_get_border_bottom_width (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_bottom_width; } /** * fo_list_block_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_list_block_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_list_block->border_bottom_width != NULL) { g_object_unref (fo_list_block->border_bottom_width); } fo_list_block->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_list_block), "border-bottom-width");*/ } /** * fo_list_block_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_list_block_get_border_end_color (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_end_color; } /** * fo_list_block_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_list_block_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_list_block->border_end_color != NULL) { g_object_unref (fo_list_block->border_end_color); } fo_list_block->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_list_block), "border-end-color");*/ } /** * fo_list_block_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_list_block_get_border_end_style (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_end_style; } /** * fo_list_block_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_list_block_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_list_block->border_end_style != NULL) { g_object_unref (fo_list_block->border_end_style); } fo_list_block->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_list_block), "border-end-style");*/ } /** * fo_list_block_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_list_block_get_border_end_width (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_end_width; } /** * fo_list_block_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_list_block_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_list_block->border_end_width != NULL) { g_object_unref (fo_list_block->border_end_width); } fo_list_block->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_list_block), "border-end-width");*/ } /** * fo_list_block_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_list_block_get_border_left_color (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_left_color; } /** * fo_list_block_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_list_block_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_list_block->border_left_color != NULL) { g_object_unref (fo_list_block->border_left_color); } fo_list_block->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_list_block), "border-left-color");*/ } /** * fo_list_block_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_list_block_get_border_left_style (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_left_style; } /** * fo_list_block_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_list_block_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_list_block->border_left_style != NULL) { g_object_unref (fo_list_block->border_left_style); } fo_list_block->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_list_block), "border-left-style");*/ } /** * fo_list_block_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_list_block_get_border_left_width (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_left_width; } /** * fo_list_block_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_list_block_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_list_block->border_left_width != NULL) { g_object_unref (fo_list_block->border_left_width); } fo_list_block->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_list_block), "border-left-width");*/ } /** * fo_list_block_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_list_block_get_border_right_color (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_right_color; } /** * fo_list_block_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_list_block_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_list_block->border_right_color != NULL) { g_object_unref (fo_list_block->border_right_color); } fo_list_block->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_list_block), "border-right-color");*/ } /** * fo_list_block_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_list_block_get_border_right_style (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_right_style; } /** * fo_list_block_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_list_block_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_list_block->border_right_style != NULL) { g_object_unref (fo_list_block->border_right_style); } fo_list_block->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_list_block), "border-right-style");*/ } /** * fo_list_block_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_list_block_get_border_right_width (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_right_width; } /** * fo_list_block_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_list_block_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_list_block->border_right_width != NULL) { g_object_unref (fo_list_block->border_right_width); } fo_list_block->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_list_block), "border-right-width");*/ } /** * fo_list_block_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_list_block_get_border_start_color (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_start_color; } /** * fo_list_block_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_list_block_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_list_block->border_start_color != NULL) { g_object_unref (fo_list_block->border_start_color); } fo_list_block->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_list_block), "border-start-color");*/ } /** * fo_list_block_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_list_block_get_border_start_style (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_start_style; } /** * fo_list_block_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_list_block_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_list_block->border_start_style != NULL) { g_object_unref (fo_list_block->border_start_style); } fo_list_block->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_list_block), "border-start-style");*/ } /** * fo_list_block_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_list_block_get_border_start_width (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_start_width; } /** * fo_list_block_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_list_block_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_list_block->border_start_width != NULL) { g_object_unref (fo_list_block->border_start_width); } fo_list_block->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_list_block), "border-start-width");*/ } /** * fo_list_block_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_list_block_get_border_top_color (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_top_color; } /** * fo_list_block_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_list_block_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_list_block->border_top_color != NULL) { g_object_unref (fo_list_block->border_top_color); } fo_list_block->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_list_block), "border-top-color");*/ } /** * fo_list_block_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_list_block_get_border_top_style (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_top_style; } /** * fo_list_block_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_list_block_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_list_block->border_top_style != NULL) { g_object_unref (fo_list_block->border_top_style); } fo_list_block->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_list_block), "border-top-style");*/ } /** * fo_list_block_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_list_block_get_border_top_width (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->border_top_width; } /** * fo_list_block_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_list_block_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_list_block->border_top_width != NULL) { g_object_unref (fo_list_block->border_top_width); } fo_list_block->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_list_block), "border-top-width");*/ } /** * fo_list_block_get_break_after: * @fo_fo: The @FoFo object * * Gets the "break-after" property of @fo_fo * * Return value: The "break-after" property value **/ FoProperty* fo_list_block_get_break_after (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->break_after; } /** * fo_list_block_set_break_after: * @fo_fo: The #FoFo object * @new_break_after: The new "break-after" property value * * Sets the "break-after" property of @fo_fo to @new_break_after **/ void fo_list_block_set_break_after (FoFo *fo_fo, FoProperty *new_break_after) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BREAK_AFTER (new_break_after)); if (new_break_after != NULL) { g_object_ref (new_break_after); } if (fo_list_block->break_after != NULL) { g_object_unref (fo_list_block->break_after); } fo_list_block->break_after = new_break_after; /*g_object_notify (G_OBJECT (fo_list_block), "break-after");*/ } /** * fo_list_block_get_break_before: * @fo_fo: The @FoFo object * * Gets the "break-before" property of @fo_fo * * Return value: The "break-before" property value **/ FoProperty* fo_list_block_get_break_before (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->break_before; } /** * fo_list_block_set_break_before: * @fo_fo: The #FoFo object * @new_break_before: The new "break-before" property value * * Sets the "break-before" property of @fo_fo to @new_break_before **/ void fo_list_block_set_break_before (FoFo *fo_fo, FoProperty *new_break_before) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_BREAK_BEFORE (new_break_before)); if (new_break_before != NULL) { g_object_ref (new_break_before); } if (fo_list_block->break_before != NULL) { g_object_unref (fo_list_block->break_before); } fo_list_block->break_before = new_break_before; /*g_object_notify (G_OBJECT (fo_list_block), "break-before");*/ } /** * fo_list_block_get_end_indent: * @fo_fo: The @FoFo object * * Gets the "end-indent" property of @fo_fo * * Return value: The "end-indent" property value **/ FoProperty* fo_list_block_get_end_indent (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->end_indent; } /** * fo_list_block_set_end_indent: * @fo_fo: The #FoFo object * @new_end_indent: The new "end-indent" property value * * Sets the "end-indent" property of @fo_fo to @new_end_indent **/ void fo_list_block_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_END_INDENT (new_end_indent)); if (new_end_indent != NULL) { g_object_ref (new_end_indent); } if (fo_list_block->end_indent != NULL) { g_object_unref (fo_list_block->end_indent); } fo_list_block->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_list_block), "end-indent");*/ } /** * fo_list_block_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_list_block_get_id (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->id; } /** * fo_list_block_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_list_block_set_id (FoFo *fo_fo, FoProperty *new_id) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_list_block->id != NULL) { g_object_unref (fo_list_block->id); } fo_list_block->id = new_id; /*g_object_notify (G_OBJECT (fo_list_block), "id");*/ } /** * fo_list_block_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_list_block_get_keep_together (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_together; } /** * fo_list_block_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_list_block_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_list_block->keep_together != NULL) { g_object_unref (fo_list_block->keep_together); } fo_list_block->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_list_block), "keep-together");*/ } /** * fo_list_block_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_list_block_get_keep_together_within_column (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_together_within_column; } /** * fo_list_block_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_list_block_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_list_block->keep_together_within_column != NULL) { g_object_unref (fo_list_block->keep_together_within_column); } fo_list_block->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_list_block), "keep-together-within-column");*/ } /** * fo_list_block_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_list_block_get_keep_together_within_line (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_together_within_line; } /** * fo_list_block_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_list_block_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_list_block->keep_together_within_line != NULL) { g_object_unref (fo_list_block->keep_together_within_line); } fo_list_block->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_list_block), "keep-together-within-line");*/ } /** * fo_list_block_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_list_block_get_keep_together_within_page (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_together_within_page; } /** * fo_list_block_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_list_block_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_list_block->keep_together_within_page != NULL) { g_object_unref (fo_list_block->keep_together_within_page); } fo_list_block->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_list_block), "keep-together-within-page");*/ } /** * fo_list_block_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_list_block_get_keep_with_next (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_with_next; } /** * fo_list_block_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_list_block_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_list_block->keep_with_next != NULL) { g_object_unref (fo_list_block->keep_with_next); } fo_list_block->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_list_block), "keep-with-next");*/ } /** * fo_list_block_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_list_block_get_keep_with_next_within_column (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_with_next_within_column; } /** * fo_list_block_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_list_block_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_list_block->keep_with_next_within_column != NULL) { g_object_unref (fo_list_block->keep_with_next_within_column); } fo_list_block->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_list_block), "keep-with-next-within-column");*/ } /** * fo_list_block_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_list_block_get_keep_with_next_within_line (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_with_next_within_line; } /** * fo_list_block_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_list_block_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_list_block->keep_with_next_within_line != NULL) { g_object_unref (fo_list_block->keep_with_next_within_line); } fo_list_block->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_list_block), "keep-with-next-within-line");*/ } /** * fo_list_block_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_list_block_get_keep_with_next_within_page (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_with_next_within_page; } /** * fo_list_block_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_list_block_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_list_block->keep_with_next_within_page != NULL) { g_object_unref (fo_list_block->keep_with_next_within_page); } fo_list_block->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_list_block), "keep-with-next-within-page");*/ } /** * fo_list_block_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_list_block_get_keep_with_previous (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_with_previous; } /** * fo_list_block_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_list_block_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_list_block->keep_with_previous != NULL) { g_object_unref (fo_list_block->keep_with_previous); } fo_list_block->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_list_block), "keep-with-previous");*/ } /** * fo_list_block_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_list_block_get_keep_with_previous_within_column (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_with_previous_within_column; } /** * fo_list_block_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_list_block_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_list_block->keep_with_previous_within_column != NULL) { g_object_unref (fo_list_block->keep_with_previous_within_column); } fo_list_block->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_list_block), "keep-with-previous-within-column");*/ } /** * fo_list_block_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_list_block_get_keep_with_previous_within_line (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_with_previous_within_line; } /** * fo_list_block_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_list_block_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_list_block->keep_with_previous_within_line != NULL) { g_object_unref (fo_list_block->keep_with_previous_within_line); } fo_list_block->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_list_block), "keep-with-previous-within-line");*/ } /** * fo_list_block_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_list_block_get_keep_with_previous_within_page (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->keep_with_previous_within_page; } /** * fo_list_block_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_list_block_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_list_block->keep_with_previous_within_page != NULL) { g_object_unref (fo_list_block->keep_with_previous_within_page); } fo_list_block->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_list_block), "keep-with-previous-within-page");*/ } /** * fo_list_block_get_margin_bottom: * @fo_fo: The @FoFo object * * Gets the "margin-bottom" property of @fo_fo * * Return value: The "margin-bottom" property value **/ FoProperty* fo_list_block_get_margin_bottom (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->margin_bottom; } /** * fo_list_block_set_margin_bottom: * @fo_fo: The #FoFo object * @new_margin_bottom: The new "margin-bottom" property value * * Sets the "margin-bottom" property of @fo_fo to @new_margin_bottom **/ void fo_list_block_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_BOTTOM (new_margin_bottom)); if (new_margin_bottom != NULL) { g_object_ref (new_margin_bottom); } if (fo_list_block->margin_bottom != NULL) { g_object_unref (fo_list_block->margin_bottom); } fo_list_block->margin_bottom = new_margin_bottom; /*g_object_notify (G_OBJECT (fo_list_block), "margin-bottom");*/ } /** * fo_list_block_get_margin_left: * @fo_fo: The @FoFo object * * Gets the "margin-left" property of @fo_fo * * Return value: The "margin-left" property value **/ FoProperty* fo_list_block_get_margin_left (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->margin_left; } /** * fo_list_block_set_margin_left: * @fo_fo: The #FoFo object * @new_margin_left: The new "margin-left" property value * * Sets the "margin-left" property of @fo_fo to @new_margin_left **/ void fo_list_block_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_LEFT (new_margin_left)); if (new_margin_left != NULL) { g_object_ref (new_margin_left); } if (fo_list_block->margin_left != NULL) { g_object_unref (fo_list_block->margin_left); } fo_list_block->margin_left = new_margin_left; /*g_object_notify (G_OBJECT (fo_list_block), "margin-left");*/ } /** * fo_list_block_get_margin_right: * @fo_fo: The @FoFo object * * Gets the "margin-right" property of @fo_fo * * Return value: The "margin-right" property value **/ FoProperty* fo_list_block_get_margin_right (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->margin_right; } /** * fo_list_block_set_margin_right: * @fo_fo: The #FoFo object * @new_margin_right: The new "margin-right" property value * * Sets the "margin-right" property of @fo_fo to @new_margin_right **/ void fo_list_block_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_RIGHT (new_margin_right)); if (new_margin_right != NULL) { g_object_ref (new_margin_right); } if (fo_list_block->margin_right != NULL) { g_object_unref (fo_list_block->margin_right); } fo_list_block->margin_right = new_margin_right; /*g_object_notify (G_OBJECT (fo_list_block), "margin-right");*/ } /** * fo_list_block_get_margin_top: * @fo_fo: The @FoFo object * * Gets the "margin-top" property of @fo_fo * * Return value: The "margin-top" property value **/ FoProperty* fo_list_block_get_margin_top (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->margin_top; } /** * fo_list_block_set_margin_top: * @fo_fo: The #FoFo object * @new_margin_top: The new "margin-top" property value * * Sets the "margin-top" property of @fo_fo to @new_margin_top **/ void fo_list_block_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_TOP (new_margin_top)); if (new_margin_top != NULL) { g_object_ref (new_margin_top); } if (fo_list_block->margin_top != NULL) { g_object_unref (fo_list_block->margin_top); } fo_list_block->margin_top = new_margin_top; /*g_object_notify (G_OBJECT (fo_list_block), "margin-top");*/ } /** * fo_list_block_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_list_block_get_padding_after (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->padding_after; } /** * fo_list_block_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_list_block_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_list_block->padding_after != NULL) { g_object_unref (fo_list_block->padding_after); } fo_list_block->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_list_block), "padding-after");*/ } /** * fo_list_block_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_list_block_get_padding_before (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->padding_before; } /** * fo_list_block_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_list_block_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_list_block->padding_before != NULL) { g_object_unref (fo_list_block->padding_before); } fo_list_block->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_list_block), "padding-before");*/ } /** * fo_list_block_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_list_block_get_padding_bottom (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->padding_bottom; } /** * fo_list_block_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_list_block_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_list_block->padding_bottom != NULL) { g_object_unref (fo_list_block->padding_bottom); } fo_list_block->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_list_block), "padding-bottom");*/ } /** * fo_list_block_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_list_block_get_padding_end (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->padding_end; } /** * fo_list_block_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_list_block_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_list_block->padding_end != NULL) { g_object_unref (fo_list_block->padding_end); } fo_list_block->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_list_block), "padding-end");*/ } /** * fo_list_block_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_list_block_get_padding_left (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->padding_left; } /** * fo_list_block_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_list_block_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_list_block->padding_left != NULL) { g_object_unref (fo_list_block->padding_left); } fo_list_block->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_list_block), "padding-left");*/ } /** * fo_list_block_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_list_block_get_padding_right (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->padding_right; } /** * fo_list_block_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_list_block_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_list_block->padding_right != NULL) { g_object_unref (fo_list_block->padding_right); } fo_list_block->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_list_block), "padding-right");*/ } /** * fo_list_block_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_list_block_get_padding_start (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->padding_start; } /** * fo_list_block_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_list_block_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_list_block->padding_start != NULL) { g_object_unref (fo_list_block->padding_start); } fo_list_block->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_list_block), "padding-start");*/ } /** * fo_list_block_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_list_block_get_padding_top (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->padding_top; } /** * fo_list_block_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_list_block_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_list_block->padding_top != NULL) { g_object_unref (fo_list_block->padding_top); } fo_list_block->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_list_block), "padding-top");*/ } /** * fo_list_block_get_provisional_distance_between_starts: * @fo_fo: The @FoFo object * * Gets the "provisional-distance-between-starts" property of @fo_fo * * Return value: The "provisional-distance-between-starts" property value **/ FoProperty* fo_list_block_get_provisional_distance_between_starts (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->provisional_distance_between_starts; } /** * fo_list_block_set_provisional_distance_between_starts: * @fo_fo: The #FoFo object * @new_provisional_distance_between_starts: The new "provisional-distance-between-starts" property value * * Sets the "provisional-distance-between-starts" property of @fo_fo to @new_provisional_distance_between_starts **/ void fo_list_block_set_provisional_distance_between_starts (FoFo *fo_fo, FoProperty *new_provisional_distance_between_starts) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS (new_provisional_distance_between_starts)); if (new_provisional_distance_between_starts != NULL) { g_object_ref (new_provisional_distance_between_starts); } if (fo_list_block->provisional_distance_between_starts != NULL) { g_object_unref (fo_list_block->provisional_distance_between_starts); } fo_list_block->provisional_distance_between_starts = new_provisional_distance_between_starts; /*g_object_notify (G_OBJECT (fo_list_block), "provisional-distance-between-starts");*/ } /** * fo_list_block_get_provisional_label_separation: * @fo_fo: The @FoFo object * * Gets the "provisional-label-separation" property of @fo_fo * * Return value: The "provisional-label-separation" property value **/ FoProperty* fo_list_block_get_provisional_label_separation (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->provisional_label_separation; } /** * fo_list_block_set_provisional_label_separation: * @fo_fo: The #FoFo object * @new_provisional_label_separation: The new "provisional-label-separation" property value * * Sets the "provisional-label-separation" property of @fo_fo to @new_provisional_label_separation **/ void fo_list_block_set_provisional_label_separation (FoFo *fo_fo, FoProperty *new_provisional_label_separation) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_PROVISIONAL_LABEL_SEPARATION (new_provisional_label_separation)); if (new_provisional_label_separation != NULL) { g_object_ref (new_provisional_label_separation); } if (fo_list_block->provisional_label_separation != NULL) { g_object_unref (fo_list_block->provisional_label_separation); } fo_list_block->provisional_label_separation = new_provisional_label_separation; /*g_object_notify (G_OBJECT (fo_list_block), "provisional-label-separation");*/ } /** * fo_list_block_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_list_block_get_role (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->role; } /** * fo_list_block_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_list_block_set_role (FoFo *fo_fo, FoProperty *new_role) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_list_block->role != NULL) { g_object_unref (fo_list_block->role); } fo_list_block->role = new_role; /*g_object_notify (G_OBJECT (fo_list_block), "role");*/ } /** * fo_list_block_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_list_block_get_source_document (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->source_document; } /** * fo_list_block_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_list_block_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_list_block->source_document != NULL) { g_object_unref (fo_list_block->source_document); } fo_list_block->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_list_block), "source-document");*/ } /** * fo_list_block_get_space_after: * @fo_fo: The @FoFo object * * Gets the "space-after" property of @fo_fo * * Return value: The "space-after" property value **/ FoProperty* fo_list_block_get_space_after (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->space_after; } /** * fo_list_block_set_space_after: * @fo_fo: The #FoFo object * @new_space_after: The new "space-after" property value * * Sets the "space-after" property of @fo_fo to @new_space_after **/ void fo_list_block_set_space_after (FoFo *fo_fo, FoProperty *new_space_after) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_SPACE_AFTER (new_space_after)); if (new_space_after != NULL) { g_object_ref (new_space_after); } if (fo_list_block->space_after != NULL) { g_object_unref (fo_list_block->space_after); } fo_list_block->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_list_block), "space-after");*/ } /** * fo_list_block_get_space_before: * @fo_fo: The @FoFo object * * Gets the "space-before" property of @fo_fo * * Return value: The "space-before" property value **/ FoProperty* fo_list_block_get_space_before (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->space_before; } /** * fo_list_block_set_space_before: * @fo_fo: The #FoFo object * @new_space_before: The new "space-before" property value * * Sets the "space-before" property of @fo_fo to @new_space_before **/ void fo_list_block_set_space_before (FoFo *fo_fo, FoProperty *new_space_before) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_SPACE_BEFORE (new_space_before)); if (new_space_before != NULL) { g_object_ref (new_space_before); } if (fo_list_block->space_before != NULL) { g_object_unref (fo_list_block->space_before); } fo_list_block->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_list_block), "space-before");*/ } /** * fo_list_block_get_start_indent: * @fo_fo: The @FoFo object * * Gets the "start-indent" property of @fo_fo * * Return value: The "start-indent" property value **/ FoProperty* fo_list_block_get_start_indent (FoFo *fo_fo) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_val_if_fail (fo_list_block != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_BLOCK (fo_list_block), NULL); return fo_list_block->start_indent; } /** * fo_list_block_set_start_indent: * @fo_fo: The #FoFo object * @new_start_indent: The new "start-indent" property value * * Sets the "start-indent" property of @fo_fo to @new_start_indent **/ void fo_list_block_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent) { FoListBlock *fo_list_block = (FoListBlock *) fo_fo; g_return_if_fail (fo_list_block != NULL); g_return_if_fail (FO_IS_LIST_BLOCK (fo_list_block)); g_return_if_fail (FO_IS_PROPERTY_START_INDENT (new_start_indent)); if (new_start_indent != NULL) { g_object_ref (new_start_indent); } if (fo_list_block->start_indent != NULL) { g_object_unref (fo_list_block->start_indent); } fo_list_block->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_list_block), "start-indent");*/ } xmlroff-0.6.2/libfo/fo/fo-list-block.h0000644000175000017500000003531510643167376014456 00000000000000/* Fo * fo-list_block.h: 'list-block' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIST_BLOCK_H__ #define __FO_LIST_BLOCK_H__ #include #include G_BEGIN_DECLS typedef struct _FoListBlock FoListBlock; typedef struct _FoListBlockClass FoListBlockClass; #define FO_TYPE_LIST_BLOCK (fo_list_block_get_type ()) #define FO_LIST_BLOCK(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LIST_BLOCK, FoListBlock)) #define FO_LIST_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LIST_BLOCK, FoListBlockClass)) #define FO_IS_LIST_BLOCK(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LIST_BLOCK)) #define FO_IS_LIST_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LIST_BLOCK)) #define FO_LIST_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LIST_BLOCK, FoListBlockClass)) GType fo_list_block_get_type (void) G_GNUC_CONST; FoFo * fo_list_block_new (void); FoDatatype * fo_list_block_get_body_start (FoFo *fo_fo); FoDatatype * fo_list_block_get_label_end (FoFo *fo_fo); FoProperty * fo_list_block_get_background_color (FoFo *fo_fo); void fo_list_block_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_list_block_get_background_image (FoFo *fo_fo); void fo_list_block_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_list_block_get_border_after_color (FoFo *fo_fo); void fo_list_block_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_list_block_get_border_after_style (FoFo *fo_fo); void fo_list_block_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_list_block_get_border_after_width (FoFo *fo_fo); void fo_list_block_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_list_block_get_border_before_color (FoFo *fo_fo); void fo_list_block_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_list_block_get_border_before_style (FoFo *fo_fo); void fo_list_block_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_list_block_get_border_before_width (FoFo *fo_fo); void fo_list_block_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_list_block_get_border_bottom_color (FoFo *fo_fo); void fo_list_block_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_list_block_get_border_bottom_style (FoFo *fo_fo); void fo_list_block_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_list_block_get_border_bottom_width (FoFo *fo_fo); void fo_list_block_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_list_block_get_border_end_color (FoFo *fo_fo); void fo_list_block_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_list_block_get_border_end_style (FoFo *fo_fo); void fo_list_block_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_list_block_get_border_end_width (FoFo *fo_fo); void fo_list_block_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_list_block_get_border_left_color (FoFo *fo_fo); void fo_list_block_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_list_block_get_border_left_style (FoFo *fo_fo); void fo_list_block_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_list_block_get_border_left_width (FoFo *fo_fo); void fo_list_block_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_list_block_get_border_right_color (FoFo *fo_fo); void fo_list_block_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_list_block_get_border_right_style (FoFo *fo_fo); void fo_list_block_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_list_block_get_border_right_width (FoFo *fo_fo); void fo_list_block_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_list_block_get_border_start_color (FoFo *fo_fo); void fo_list_block_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_list_block_get_border_start_style (FoFo *fo_fo); void fo_list_block_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_list_block_get_border_start_width (FoFo *fo_fo); void fo_list_block_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_list_block_get_border_top_color (FoFo *fo_fo); void fo_list_block_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_list_block_get_border_top_style (FoFo *fo_fo); void fo_list_block_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_list_block_get_border_top_width (FoFo *fo_fo); void fo_list_block_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_list_block_get_break_after (FoFo *fo_fo); void fo_list_block_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty * fo_list_block_get_break_before (FoFo *fo_fo); void fo_list_block_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty * fo_list_block_get_end_indent (FoFo *fo_fo); void fo_list_block_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty * fo_list_block_get_id (FoFo *fo_fo); void fo_list_block_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_list_block_get_keep_together (FoFo *fo_fo); void fo_list_block_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_list_block_get_keep_together_within_column (FoFo *fo_fo); void fo_list_block_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_list_block_get_keep_together_within_line (FoFo *fo_fo); void fo_list_block_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_list_block_get_keep_together_within_page (FoFo *fo_fo); void fo_list_block_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_list_block_get_keep_with_next (FoFo *fo_fo); void fo_list_block_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_list_block_get_keep_with_next_within_column (FoFo *fo_fo); void fo_list_block_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_list_block_get_keep_with_next_within_line (FoFo *fo_fo); void fo_list_block_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_list_block_get_keep_with_next_within_page (FoFo *fo_fo); void fo_list_block_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_list_block_get_keep_with_previous (FoFo *fo_fo); void fo_list_block_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_list_block_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_list_block_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_list_block_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_list_block_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_list_block_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_list_block_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_list_block_get_margin_bottom (FoFo *fo_fo); void fo_list_block_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty * fo_list_block_get_margin_left (FoFo *fo_fo); void fo_list_block_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty * fo_list_block_get_margin_right (FoFo *fo_fo); void fo_list_block_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty * fo_list_block_get_margin_top (FoFo *fo_fo); void fo_list_block_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty * fo_list_block_get_padding_after (FoFo *fo_fo); void fo_list_block_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_list_block_get_padding_before (FoFo *fo_fo); void fo_list_block_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_list_block_get_padding_bottom (FoFo *fo_fo); void fo_list_block_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_list_block_get_padding_end (FoFo *fo_fo); void fo_list_block_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_list_block_get_padding_left (FoFo *fo_fo); void fo_list_block_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_list_block_get_padding_right (FoFo *fo_fo); void fo_list_block_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_list_block_get_padding_start (FoFo *fo_fo); void fo_list_block_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_list_block_get_padding_top (FoFo *fo_fo); void fo_list_block_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_list_block_get_provisional_distance_between_starts (FoFo *fo_fo); void fo_list_block_set_provisional_distance_between_starts (FoFo *fo_fo, FoProperty *new_provisional_distance_between_starts); FoProperty * fo_list_block_get_provisional_label_separation (FoFo *fo_fo); void fo_list_block_set_provisional_label_separation (FoFo *fo_fo, FoProperty *new_provisional_label_separation); FoProperty * fo_list_block_get_role (FoFo *fo_fo); void fo_list_block_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_list_block_get_source_document (FoFo *fo_fo); void fo_list_block_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_list_block_get_space_after (FoFo *fo_fo); void fo_list_block_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty * fo_list_block_get_space_before (FoFo *fo_fo); void fo_list_block_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty * fo_list_block_get_start_indent (FoFo *fo_fo); void fo_list_block_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); G_END_DECLS #endif /* !__FO_LIST_BLOCK_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-block-private.h0000644000175000017500000000520210643167376016116 00000000000000/* Fo * fo-list-block-private.h: Structures private to 'list-block' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIST_BLOCK_PRIVATE_H__ #define __FO_LIST_BLOCK_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoListBlock { FoMarkerParent parent_instance; FoDatatype *label_end; FoDatatype *body_start; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *break_after; FoProperty *break_before; FoProperty *end_indent; FoProperty *id; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *margin_bottom; FoProperty *margin_left; FoProperty *margin_right; FoProperty *margin_top; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *provisional_distance_between_starts; FoProperty *provisional_label_separation; FoProperty *role; FoProperty *source_document; FoProperty *space_after; FoProperty *space_before; FoProperty *start_indent; }; struct _FoListBlockClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_LIST_BLOCK_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-item.c0000644000175000017500000040633110660107744014305 00000000000000/* Fo * fo-list-item.c: 'list-item' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-list-item.h" #include "fo-list-item-private.h" #include "fo-list-item-area.h" #include "fo-list-item-label.h" #include "fo-list-item-body.h" #include "fo-block-fo-private.h" #include "property/fo-property-border.h" #include "property/fo-property-padding.h" #include "property/fo-property-margin.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-break-after.h" #include "property/fo-property-break-before.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-after.h" #include "property/fo-property-space-before.h" #include "property/fo-property-start-indent.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_BREAK_AFTER, PROP_BREAK_BEFORE, PROP_END_INDENT, PROP_ID, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT, PROP_MARGIN_TOP, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_SPACE_AFTER, PROP_SPACE_BEFORE, PROP_START_INDENT }; static void fo_list_item_class_init (FoListItemClass *klass); static void fo_list_item_block_fo_init (FoBlockFoIface *iface); static void fo_list_item_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_list_item_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_list_item_finalize (GObject *object); static gboolean fo_list_item_validate_content (FoFo *fo, GError **error); static void fo_list_item_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_list_item_update_from_context (FoFo *fo, FoContext *context); static void fo_list_item_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_list_item_get_type: * * Register the #FoListItem object type. * * Return value: #GType value of the #FoListItem object type. **/ GType fo_list_item_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoListItemClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_list_item_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoListItem), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_block_fo_info = { (GInterfaceInitFunc) fo_list_item_block_fo_init, /* interface_init */ NULL, /* interface_finalize */ NULL /* interface_data */ }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoListItem", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_BLOCK_FO, &fo_block_fo_info); } return object_type; } /** * fo_list_item_class_init: * @klass: #FoListItemClass object to initialise. * * Implements #GClassInitFunc for #FoListItemClass. **/ void fo_list_item_class_init (FoListItemClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_list_item_finalize; object_class->get_property = fo_list_item_get_property; object_class->set_property = fo_list_item_set_property; fofo_class->validate_content = fo_list_item_validate_content; fofo_class->validate2 = fo_list_item_validate; fofo_class->update_from_context = fo_list_item_update_from_context; fofo_class->debug_dump_properties = fo_list_item_debug_dump_properties; fofo_class->area_new2 = fo_list_item_area_new2; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_AFTER, g_param_spec_object ("break-after", _("Break After"), _("Break After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_BEFORE, g_param_spec_object ("break-before", _("Break Before"), _("Break Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_END_INDENT, g_param_spec_object ("end-indent", _("End Indent"), _("End Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_object ("margin-bottom", _("Margin Bottom"), _("Margin Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_object ("margin-left", _("Margin Left"), _("Margin Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_object ("margin-right", _("Margin Right"), _("Margin Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_object ("margin-top", _("Margin Top"), _("Margin Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER, g_param_spec_object ("space-after", _("Space After"), _("Space After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE, g_param_spec_object ("space-before", _("Space Before"), _("Space Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_START_INDENT, g_param_spec_object ("start-indent", _("Start Indent"), _("Start Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_list_item_block_fo_init: * @iface: #FoBlockFoIFace structure for this class. * * Initialize #FoBlockFoIface interface for this class. **/ void fo_list_item_block_fo_init (FoBlockFoIface *iface) { iface->get_background_color = fo_list_item_get_background_color; iface->get_border_after_color = fo_list_item_get_border_after_color; iface->get_border_after_style = fo_list_item_get_border_after_style; iface->get_border_after_width = fo_list_item_get_border_after_width; iface->get_border_before_color = fo_list_item_get_border_before_color; iface->get_border_before_style = fo_list_item_get_border_before_style; iface->get_border_before_width = fo_list_item_get_border_before_width; iface->get_border_end_color = fo_list_item_get_border_end_color; iface->get_border_end_style = fo_list_item_get_border_end_style; iface->get_border_end_width = fo_list_item_get_border_end_width; iface->get_border_start_color = fo_list_item_get_border_start_color; iface->get_border_start_style = fo_list_item_get_border_start_style; iface->get_border_start_width = fo_list_item_get_border_start_width; iface->get_padding_after = fo_list_item_get_padding_after; iface->get_padding_before = fo_list_item_get_padding_before; iface->get_padding_end = fo_list_item_get_padding_end; iface->get_padding_start = fo_list_item_get_padding_start; iface->get_space_before = fo_list_item_get_space_before; iface->get_space_after = fo_list_item_get_space_after; iface->get_start_indent = fo_list_item_get_start_indent; iface->get_end_indent = fo_list_item_get_end_indent; } /** * fo_list_item_finalize: * @object: #FoListItem object to finalize. * * Implements #GObjectFinalizeFunc for #FoListItem. **/ void fo_list_item_finalize (GObject *object) { FoListItem *fo_list_item; fo_list_item = FO_LIST_ITEM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_list_item_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoListItem. **/ void fo_list_item_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_list_item_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_list_item_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_list_item_get_border_top_width (fo_fo))); break; case PROP_BREAK_AFTER: g_value_set_object (value, G_OBJECT (fo_list_item_get_break_after (fo_fo))); break; case PROP_BREAK_BEFORE: g_value_set_object (value, G_OBJECT (fo_list_item_get_break_before (fo_fo))); break; case PROP_END_INDENT: g_value_set_object (value, G_OBJECT (fo_list_item_get_end_indent (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_list_item_get_id (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_list_item_get_keep_with_previous_within_page (fo_fo))); break; case PROP_MARGIN_BOTTOM: g_value_set_object (value, G_OBJECT (fo_list_item_get_margin_bottom (fo_fo))); break; case PROP_MARGIN_LEFT: g_value_set_object (value, G_OBJECT (fo_list_item_get_margin_left (fo_fo))); break; case PROP_MARGIN_RIGHT: g_value_set_object (value, G_OBJECT (fo_list_item_get_margin_right (fo_fo))); break; case PROP_MARGIN_TOP: g_value_set_object (value, G_OBJECT (fo_list_item_get_margin_top (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_list_item_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_list_item_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_list_item_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_list_item_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_list_item_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_list_item_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_list_item_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_list_item_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_list_item_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_list_item_get_source_document (fo_fo))); break; case PROP_SPACE_AFTER: g_value_set_object (value, G_OBJECT (fo_list_item_get_space_after (fo_fo))); break; case PROP_SPACE_BEFORE: g_value_set_object (value, G_OBJECT (fo_list_item_get_space_before (fo_fo))); break; case PROP_START_INDENT: g_value_set_object (value, G_OBJECT (fo_list_item_get_start_indent (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_list_item_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoListItem. **/ void fo_list_item_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_list_item_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_list_item_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_list_item_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_list_item_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_list_item_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_list_item_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_list_item_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_list_item_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_list_item_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_list_item_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_list_item_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_list_item_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_list_item_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_list_item_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_list_item_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_list_item_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_list_item_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_list_item_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_list_item_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_list_item_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_list_item_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_list_item_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_list_item_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_list_item_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_list_item_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_list_item_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_AFTER: fo_list_item_set_break_after (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_BEFORE: fo_list_item_set_break_before (fo_fo, g_value_get_object (value)); break; case PROP_END_INDENT: fo_list_item_set_end_indent (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_list_item_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_list_item_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_list_item_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_list_item_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_list_item_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_list_item_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_list_item_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_list_item_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_list_item_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_list_item_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_list_item_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_list_item_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_list_item_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_BOTTOM: fo_list_item_set_margin_bottom (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_LEFT: fo_list_item_set_margin_left (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_RIGHT: fo_list_item_set_margin_right (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_TOP: fo_list_item_set_margin_top (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_list_item_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_list_item_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_list_item_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_list_item_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_list_item_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_list_item_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_list_item_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_list_item_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_list_item_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_list_item_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_AFTER: fo_list_item_set_space_after (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_BEFORE: fo_list_item_set_space_before (fo_fo, g_value_get_object (value)); break; case PROP_START_INDENT: fo_list_item_set_start_indent (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_list_item_new: * * Creates a new #FoListItem initialized to default value. * * Return value: the new #FoListItem. **/ FoFo* fo_list_item_new (void) { return FO_FO (g_object_new (fo_list_item_get_type (), NULL)); } /** * fo_list_item_validate_content: * @fo: #FoListItem object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_list_item_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_LIST_ITEM (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_list_item_validate: * @fo: #FoListItem object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_list_item_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoListItem *fo_list_item; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_list_item = FO_LIST_ITEM (fo); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_margins_indents_resolve (fo, current_context, parent_context); fo_context_util_margins_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_list_item_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_list_item_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_list_item_set_background_color (fo, fo_context_get_background_color (context)); fo_list_item_set_background_image (fo, fo_context_get_background_image (context)); fo_list_item_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_list_item_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_list_item_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_list_item_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_list_item_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_list_item_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_list_item_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_list_item_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_list_item_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_list_item_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_list_item_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_list_item_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_list_item_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_list_item_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_list_item_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_list_item_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_list_item_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_list_item_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_list_item_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_list_item_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_list_item_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_list_item_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_list_item_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_list_item_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_list_item_set_break_after (fo, fo_context_get_break_after (context)); fo_list_item_set_break_before (fo, fo_context_get_break_before (context)); fo_list_item_set_end_indent (fo, fo_context_get_end_indent (context)); fo_list_item_set_id (fo, fo_context_get_id (context)); fo_list_item_set_keep_together (fo, fo_context_get_keep_together (context)); fo_list_item_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_list_item_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_list_item_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_list_item_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_list_item_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_list_item_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_list_item_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_list_item_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_list_item_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_list_item_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_list_item_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_list_item_set_margin_bottom (fo, fo_context_get_margin_bottom (context)); fo_list_item_set_margin_left (fo, fo_context_get_margin_left (context)); fo_list_item_set_margin_right (fo, fo_context_get_margin_right (context)); fo_list_item_set_margin_top (fo, fo_context_get_margin_top (context)); fo_list_item_set_padding_after (fo, fo_context_get_padding_after (context)); fo_list_item_set_padding_before (fo, fo_context_get_padding_before (context)); fo_list_item_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_list_item_set_padding_end (fo, fo_context_get_padding_end (context)); fo_list_item_set_padding_left (fo, fo_context_get_padding_left (context)); fo_list_item_set_padding_right (fo, fo_context_get_padding_right (context)); fo_list_item_set_padding_start (fo, fo_context_get_padding_start (context)); fo_list_item_set_padding_top (fo, fo_context_get_padding_top (context)); fo_list_item_set_role (fo, fo_context_get_role (context)); fo_list_item_set_source_document (fo, fo_context_get_source_document (context)); fo_list_item_set_space_after (fo, fo_context_get_space_after (context)); fo_list_item_set_space_before (fo, fo_context_get_space_before (context)); fo_list_item_set_start_indent (fo, fo_context_get_start_indent (context)); } /** * fo_list_item_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_list_item_debug_dump_properties (FoFo *fo, gint depth) { FoListItem *fo_list_item; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo)); fo_list_item = FO_LIST_ITEM (fo); fo_object_debug_dump (fo_list_item->background_color, depth); fo_object_debug_dump (fo_list_item->background_image, depth); fo_object_debug_dump (fo_list_item->border_after_color, depth); fo_object_debug_dump (fo_list_item->border_after_style, depth); fo_object_debug_dump (fo_list_item->border_after_width, depth); fo_object_debug_dump (fo_list_item->border_before_color, depth); fo_object_debug_dump (fo_list_item->border_before_style, depth); fo_object_debug_dump (fo_list_item->border_before_width, depth); fo_object_debug_dump (fo_list_item->border_bottom_color, depth); fo_object_debug_dump (fo_list_item->border_bottom_style, depth); fo_object_debug_dump (fo_list_item->border_bottom_width, depth); fo_object_debug_dump (fo_list_item->border_end_color, depth); fo_object_debug_dump (fo_list_item->border_end_style, depth); fo_object_debug_dump (fo_list_item->border_end_width, depth); fo_object_debug_dump (fo_list_item->border_left_color, depth); fo_object_debug_dump (fo_list_item->border_left_style, depth); fo_object_debug_dump (fo_list_item->border_left_width, depth); fo_object_debug_dump (fo_list_item->border_right_color, depth); fo_object_debug_dump (fo_list_item->border_right_style, depth); fo_object_debug_dump (fo_list_item->border_right_width, depth); fo_object_debug_dump (fo_list_item->border_start_color, depth); fo_object_debug_dump (fo_list_item->border_start_style, depth); fo_object_debug_dump (fo_list_item->border_start_width, depth); fo_object_debug_dump (fo_list_item->border_top_color, depth); fo_object_debug_dump (fo_list_item->border_top_style, depth); fo_object_debug_dump (fo_list_item->border_top_width, depth); fo_object_debug_dump (fo_list_item->break_after, depth); fo_object_debug_dump (fo_list_item->break_before, depth); fo_object_debug_dump (fo_list_item->end_indent, depth); fo_object_debug_dump (fo_list_item->id, depth); fo_object_debug_dump (fo_list_item->keep_together, depth); fo_object_debug_dump (fo_list_item->keep_together_within_column, depth); fo_object_debug_dump (fo_list_item->keep_together_within_line, depth); fo_object_debug_dump (fo_list_item->keep_together_within_page, depth); fo_object_debug_dump (fo_list_item->keep_with_next, depth); fo_object_debug_dump (fo_list_item->keep_with_next_within_column, depth); fo_object_debug_dump (fo_list_item->keep_with_next_within_line, depth); fo_object_debug_dump (fo_list_item->keep_with_next_within_page, depth); fo_object_debug_dump (fo_list_item->keep_with_previous, depth); fo_object_debug_dump (fo_list_item->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_list_item->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_list_item->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_list_item->margin_bottom, depth); fo_object_debug_dump (fo_list_item->margin_left, depth); fo_object_debug_dump (fo_list_item->margin_right, depth); fo_object_debug_dump (fo_list_item->margin_top, depth); fo_object_debug_dump (fo_list_item->padding_after, depth); fo_object_debug_dump (fo_list_item->padding_before, depth); fo_object_debug_dump (fo_list_item->padding_bottom, depth); fo_object_debug_dump (fo_list_item->padding_end, depth); fo_object_debug_dump (fo_list_item->padding_left, depth); fo_object_debug_dump (fo_list_item->padding_right, depth); fo_object_debug_dump (fo_list_item->padding_start, depth); fo_object_debug_dump (fo_list_item->padding_top, depth); fo_object_debug_dump (fo_list_item->role, depth); fo_object_debug_dump (fo_list_item->source_document, depth); fo_object_debug_dump (fo_list_item->space_after, depth); fo_object_debug_dump (fo_list_item->space_before, depth); fo_object_debug_dump (fo_list_item->start_indent, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_list_item_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_list_item_get_background_color (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->background_color; } /** * fo_list_item_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_list_item_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_list_item->background_color != NULL) { g_object_unref (fo_list_item->background_color); } fo_list_item->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_list_item), "background-color");*/ } /** * fo_list_item_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_list_item_get_background_image (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->background_image; } /** * fo_list_item_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_list_item_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_list_item->background_image != NULL) { g_object_unref (fo_list_item->background_image); } fo_list_item->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_list_item), "background-image");*/ } /** * fo_list_item_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_list_item_get_border_after_color (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_after_color; } /** * fo_list_item_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_list_item_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_list_item->border_after_color != NULL) { g_object_unref (fo_list_item->border_after_color); } fo_list_item->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_list_item), "border-after-color");*/ } /** * fo_list_item_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_list_item_get_border_after_style (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_after_style; } /** * fo_list_item_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_list_item_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_list_item->border_after_style != NULL) { g_object_unref (fo_list_item->border_after_style); } fo_list_item->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_list_item), "border-after-style");*/ } /** * fo_list_item_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_list_item_get_border_after_width (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_after_width; } /** * fo_list_item_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_list_item_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_list_item->border_after_width != NULL) { g_object_unref (fo_list_item->border_after_width); } fo_list_item->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_list_item), "border-after-width");*/ } /** * fo_list_item_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_list_item_get_border_before_color (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_before_color; } /** * fo_list_item_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_list_item_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_list_item->border_before_color != NULL) { g_object_unref (fo_list_item->border_before_color); } fo_list_item->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_list_item), "border-before-color");*/ } /** * fo_list_item_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_list_item_get_border_before_style (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_before_style; } /** * fo_list_item_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_list_item_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_list_item->border_before_style != NULL) { g_object_unref (fo_list_item->border_before_style); } fo_list_item->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_list_item), "border-before-style");*/ } /** * fo_list_item_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_list_item_get_border_before_width (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_before_width; } /** * fo_list_item_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_list_item_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_list_item->border_before_width != NULL) { g_object_unref (fo_list_item->border_before_width); } fo_list_item->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_list_item), "border-before-width");*/ } /** * fo_list_item_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_list_item_get_border_bottom_color (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_bottom_color; } /** * fo_list_item_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_list_item_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_list_item->border_bottom_color != NULL) { g_object_unref (fo_list_item->border_bottom_color); } fo_list_item->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_list_item), "border-bottom-color");*/ } /** * fo_list_item_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_list_item_get_border_bottom_style (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_bottom_style; } /** * fo_list_item_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_list_item_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_list_item->border_bottom_style != NULL) { g_object_unref (fo_list_item->border_bottom_style); } fo_list_item->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_list_item), "border-bottom-style");*/ } /** * fo_list_item_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_list_item_get_border_bottom_width (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_bottom_width; } /** * fo_list_item_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_list_item_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_list_item->border_bottom_width != NULL) { g_object_unref (fo_list_item->border_bottom_width); } fo_list_item->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_list_item), "border-bottom-width");*/ } /** * fo_list_item_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_list_item_get_border_end_color (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_end_color; } /** * fo_list_item_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_list_item_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_list_item->border_end_color != NULL) { g_object_unref (fo_list_item->border_end_color); } fo_list_item->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_list_item), "border-end-color");*/ } /** * fo_list_item_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_list_item_get_border_end_style (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_end_style; } /** * fo_list_item_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_list_item_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_list_item->border_end_style != NULL) { g_object_unref (fo_list_item->border_end_style); } fo_list_item->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_list_item), "border-end-style");*/ } /** * fo_list_item_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_list_item_get_border_end_width (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_end_width; } /** * fo_list_item_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_list_item_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_list_item->border_end_width != NULL) { g_object_unref (fo_list_item->border_end_width); } fo_list_item->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_list_item), "border-end-width");*/ } /** * fo_list_item_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_list_item_get_border_left_color (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_left_color; } /** * fo_list_item_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_list_item_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_list_item->border_left_color != NULL) { g_object_unref (fo_list_item->border_left_color); } fo_list_item->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_list_item), "border-left-color");*/ } /** * fo_list_item_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_list_item_get_border_left_style (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_left_style; } /** * fo_list_item_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_list_item_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_list_item->border_left_style != NULL) { g_object_unref (fo_list_item->border_left_style); } fo_list_item->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_list_item), "border-left-style");*/ } /** * fo_list_item_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_list_item_get_border_left_width (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_left_width; } /** * fo_list_item_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_list_item_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_list_item->border_left_width != NULL) { g_object_unref (fo_list_item->border_left_width); } fo_list_item->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_list_item), "border-left-width");*/ } /** * fo_list_item_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_list_item_get_border_right_color (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_right_color; } /** * fo_list_item_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_list_item_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_list_item->border_right_color != NULL) { g_object_unref (fo_list_item->border_right_color); } fo_list_item->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_list_item), "border-right-color");*/ } /** * fo_list_item_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_list_item_get_border_right_style (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_right_style; } /** * fo_list_item_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_list_item_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_list_item->border_right_style != NULL) { g_object_unref (fo_list_item->border_right_style); } fo_list_item->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_list_item), "border-right-style");*/ } /** * fo_list_item_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_list_item_get_border_right_width (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_right_width; } /** * fo_list_item_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_list_item_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_list_item->border_right_width != NULL) { g_object_unref (fo_list_item->border_right_width); } fo_list_item->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_list_item), "border-right-width");*/ } /** * fo_list_item_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_list_item_get_border_start_color (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_start_color; } /** * fo_list_item_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_list_item_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_list_item->border_start_color != NULL) { g_object_unref (fo_list_item->border_start_color); } fo_list_item->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_list_item), "border-start-color");*/ } /** * fo_list_item_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_list_item_get_border_start_style (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_start_style; } /** * fo_list_item_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_list_item_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_list_item->border_start_style != NULL) { g_object_unref (fo_list_item->border_start_style); } fo_list_item->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_list_item), "border-start-style");*/ } /** * fo_list_item_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_list_item_get_border_start_width (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_start_width; } /** * fo_list_item_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_list_item_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_list_item->border_start_width != NULL) { g_object_unref (fo_list_item->border_start_width); } fo_list_item->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_list_item), "border-start-width");*/ } /** * fo_list_item_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_list_item_get_border_top_color (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_top_color; } /** * fo_list_item_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_list_item_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_list_item->border_top_color != NULL) { g_object_unref (fo_list_item->border_top_color); } fo_list_item->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_list_item), "border-top-color");*/ } /** * fo_list_item_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_list_item_get_border_top_style (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_top_style; } /** * fo_list_item_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_list_item_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_list_item->border_top_style != NULL) { g_object_unref (fo_list_item->border_top_style); } fo_list_item->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_list_item), "border-top-style");*/ } /** * fo_list_item_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_list_item_get_border_top_width (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->border_top_width; } /** * fo_list_item_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_list_item_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_list_item->border_top_width != NULL) { g_object_unref (fo_list_item->border_top_width); } fo_list_item->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_list_item), "border-top-width");*/ } /** * fo_list_item_get_break_after: * @fo_fo: The @FoFo object * * Gets the "break-after" property of @fo_fo * * Return value: The "break-after" property value **/ FoProperty* fo_list_item_get_break_after (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->break_after; } /** * fo_list_item_set_break_after: * @fo_fo: The #FoFo object * @new_break_after: The new "break-after" property value * * Sets the "break-after" property of @fo_fo to @new_break_after **/ void fo_list_item_set_break_after (FoFo *fo_fo, FoProperty *new_break_after) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BREAK_AFTER (new_break_after)); if (new_break_after != NULL) { g_object_ref (new_break_after); } if (fo_list_item->break_after != NULL) { g_object_unref (fo_list_item->break_after); } fo_list_item->break_after = new_break_after; /*g_object_notify (G_OBJECT (fo_list_item), "break-after");*/ } /** * fo_list_item_get_break_before: * @fo_fo: The @FoFo object * * Gets the "break-before" property of @fo_fo * * Return value: The "break-before" property value **/ FoProperty* fo_list_item_get_break_before (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->break_before; } /** * fo_list_item_set_break_before: * @fo_fo: The #FoFo object * @new_break_before: The new "break-before" property value * * Sets the "break-before" property of @fo_fo to @new_break_before **/ void fo_list_item_set_break_before (FoFo *fo_fo, FoProperty *new_break_before) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_BREAK_BEFORE (new_break_before)); if (new_break_before != NULL) { g_object_ref (new_break_before); } if (fo_list_item->break_before != NULL) { g_object_unref (fo_list_item->break_before); } fo_list_item->break_before = new_break_before; /*g_object_notify (G_OBJECT (fo_list_item), "break-before");*/ } /** * fo_list_item_get_end_indent: * @fo_fo: The @FoFo object * * Gets the "end-indent" property of @fo_fo * * Return value: The "end-indent" property value **/ FoProperty* fo_list_item_get_end_indent (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->end_indent; } /** * fo_list_item_set_end_indent: * @fo_fo: The #FoFo object * @new_end_indent: The new "end-indent" property value * * Sets the "end-indent" property of @fo_fo to @new_end_indent **/ void fo_list_item_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_END_INDENT (new_end_indent)); if (new_end_indent != NULL) { g_object_ref (new_end_indent); } if (fo_list_item->end_indent != NULL) { g_object_unref (fo_list_item->end_indent); } fo_list_item->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_list_item), "end-indent");*/ } /** * fo_list_item_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_list_item_get_id (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->id; } /** * fo_list_item_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_list_item_set_id (FoFo *fo_fo, FoProperty *new_id) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_list_item->id != NULL) { g_object_unref (fo_list_item->id); } fo_list_item->id = new_id; /*g_object_notify (G_OBJECT (fo_list_item), "id");*/ } /** * fo_list_item_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_list_item_get_keep_together (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_together; } /** * fo_list_item_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_list_item_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_list_item->keep_together != NULL) { g_object_unref (fo_list_item->keep_together); } fo_list_item->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_list_item), "keep-together");*/ } /** * fo_list_item_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_list_item_get_keep_together_within_column (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_together_within_column; } /** * fo_list_item_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_list_item_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_list_item->keep_together_within_column != NULL) { g_object_unref (fo_list_item->keep_together_within_column); } fo_list_item->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_list_item), "keep-together-within-column");*/ } /** * fo_list_item_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_list_item_get_keep_together_within_line (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_together_within_line; } /** * fo_list_item_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_list_item_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_list_item->keep_together_within_line != NULL) { g_object_unref (fo_list_item->keep_together_within_line); } fo_list_item->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_list_item), "keep-together-within-line");*/ } /** * fo_list_item_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_list_item_get_keep_together_within_page (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_together_within_page; } /** * fo_list_item_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_list_item_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_list_item->keep_together_within_page != NULL) { g_object_unref (fo_list_item->keep_together_within_page); } fo_list_item->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_list_item), "keep-together-within-page");*/ } /** * fo_list_item_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_list_item_get_keep_with_next (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_with_next; } /** * fo_list_item_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_list_item_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_list_item->keep_with_next != NULL) { g_object_unref (fo_list_item->keep_with_next); } fo_list_item->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_list_item), "keep-with-next");*/ } /** * fo_list_item_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_list_item_get_keep_with_next_within_column (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_with_next_within_column; } /** * fo_list_item_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_list_item_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_list_item->keep_with_next_within_column != NULL) { g_object_unref (fo_list_item->keep_with_next_within_column); } fo_list_item->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_list_item), "keep-with-next-within-column");*/ } /** * fo_list_item_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_list_item_get_keep_with_next_within_line (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_with_next_within_line; } /** * fo_list_item_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_list_item_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_list_item->keep_with_next_within_line != NULL) { g_object_unref (fo_list_item->keep_with_next_within_line); } fo_list_item->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_list_item), "keep-with-next-within-line");*/ } /** * fo_list_item_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_list_item_get_keep_with_next_within_page (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_with_next_within_page; } /** * fo_list_item_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_list_item_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_list_item->keep_with_next_within_page != NULL) { g_object_unref (fo_list_item->keep_with_next_within_page); } fo_list_item->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_list_item), "keep-with-next-within-page");*/ } /** * fo_list_item_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_list_item_get_keep_with_previous (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_with_previous; } /** * fo_list_item_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_list_item_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_list_item->keep_with_previous != NULL) { g_object_unref (fo_list_item->keep_with_previous); } fo_list_item->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_list_item), "keep-with-previous");*/ } /** * fo_list_item_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_list_item_get_keep_with_previous_within_column (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_with_previous_within_column; } /** * fo_list_item_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_list_item_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_list_item->keep_with_previous_within_column != NULL) { g_object_unref (fo_list_item->keep_with_previous_within_column); } fo_list_item->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_list_item), "keep-with-previous-within-column");*/ } /** * fo_list_item_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_list_item_get_keep_with_previous_within_line (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_with_previous_within_line; } /** * fo_list_item_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_list_item_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_list_item->keep_with_previous_within_line != NULL) { g_object_unref (fo_list_item->keep_with_previous_within_line); } fo_list_item->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_list_item), "keep-with-previous-within-line");*/ } /** * fo_list_item_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_list_item_get_keep_with_previous_within_page (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->keep_with_previous_within_page; } /** * fo_list_item_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_list_item_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_list_item->keep_with_previous_within_page != NULL) { g_object_unref (fo_list_item->keep_with_previous_within_page); } fo_list_item->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_list_item), "keep-with-previous-within-page");*/ } /** * fo_list_item_get_margin_bottom: * @fo_fo: The @FoFo object * * Gets the "margin-bottom" property of @fo_fo * * Return value: The "margin-bottom" property value **/ FoProperty* fo_list_item_get_margin_bottom (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->margin_bottom; } /** * fo_list_item_set_margin_bottom: * @fo_fo: The #FoFo object * @new_margin_bottom: The new "margin-bottom" property value * * Sets the "margin-bottom" property of @fo_fo to @new_margin_bottom **/ void fo_list_item_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_BOTTOM (new_margin_bottom)); if (new_margin_bottom != NULL) { g_object_ref (new_margin_bottom); } if (fo_list_item->margin_bottom != NULL) { g_object_unref (fo_list_item->margin_bottom); } fo_list_item->margin_bottom = new_margin_bottom; /*g_object_notify (G_OBJECT (fo_list_item), "margin-bottom");*/ } /** * fo_list_item_get_margin_left: * @fo_fo: The @FoFo object * * Gets the "margin-left" property of @fo_fo * * Return value: The "margin-left" property value **/ FoProperty* fo_list_item_get_margin_left (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->margin_left; } /** * fo_list_item_set_margin_left: * @fo_fo: The #FoFo object * @new_margin_left: The new "margin-left" property value * * Sets the "margin-left" property of @fo_fo to @new_margin_left **/ void fo_list_item_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_LEFT (new_margin_left)); if (new_margin_left != NULL) { g_object_ref (new_margin_left); } if (fo_list_item->margin_left != NULL) { g_object_unref (fo_list_item->margin_left); } fo_list_item->margin_left = new_margin_left; /*g_object_notify (G_OBJECT (fo_list_item), "margin-left");*/ } /** * fo_list_item_get_margin_right: * @fo_fo: The @FoFo object * * Gets the "margin-right" property of @fo_fo * * Return value: The "margin-right" property value **/ FoProperty* fo_list_item_get_margin_right (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->margin_right; } /** * fo_list_item_set_margin_right: * @fo_fo: The #FoFo object * @new_margin_right: The new "margin-right" property value * * Sets the "margin-right" property of @fo_fo to @new_margin_right **/ void fo_list_item_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_RIGHT (new_margin_right)); if (new_margin_right != NULL) { g_object_ref (new_margin_right); } if (fo_list_item->margin_right != NULL) { g_object_unref (fo_list_item->margin_right); } fo_list_item->margin_right = new_margin_right; /*g_object_notify (G_OBJECT (fo_list_item), "margin-right");*/ } /** * fo_list_item_get_margin_top: * @fo_fo: The @FoFo object * * Gets the "margin-top" property of @fo_fo * * Return value: The "margin-top" property value **/ FoProperty* fo_list_item_get_margin_top (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->margin_top; } /** * fo_list_item_set_margin_top: * @fo_fo: The #FoFo object * @new_margin_top: The new "margin-top" property value * * Sets the "margin-top" property of @fo_fo to @new_margin_top **/ void fo_list_item_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_TOP (new_margin_top)); if (new_margin_top != NULL) { g_object_ref (new_margin_top); } if (fo_list_item->margin_top != NULL) { g_object_unref (fo_list_item->margin_top); } fo_list_item->margin_top = new_margin_top; /*g_object_notify (G_OBJECT (fo_list_item), "margin-top");*/ } /** * fo_list_item_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_list_item_get_padding_after (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->padding_after; } /** * fo_list_item_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_list_item_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_list_item->padding_after != NULL) { g_object_unref (fo_list_item->padding_after); } fo_list_item->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_list_item), "padding-after");*/ } /** * fo_list_item_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_list_item_get_padding_before (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->padding_before; } /** * fo_list_item_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_list_item_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_list_item->padding_before != NULL) { g_object_unref (fo_list_item->padding_before); } fo_list_item->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_list_item), "padding-before");*/ } /** * fo_list_item_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_list_item_get_padding_bottom (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->padding_bottom; } /** * fo_list_item_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_list_item_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_list_item->padding_bottom != NULL) { g_object_unref (fo_list_item->padding_bottom); } fo_list_item->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_list_item), "padding-bottom");*/ } /** * fo_list_item_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_list_item_get_padding_end (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->padding_end; } /** * fo_list_item_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_list_item_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_list_item->padding_end != NULL) { g_object_unref (fo_list_item->padding_end); } fo_list_item->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_list_item), "padding-end");*/ } /** * fo_list_item_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_list_item_get_padding_left (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->padding_left; } /** * fo_list_item_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_list_item_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_list_item->padding_left != NULL) { g_object_unref (fo_list_item->padding_left); } fo_list_item->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_list_item), "padding-left");*/ } /** * fo_list_item_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_list_item_get_padding_right (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->padding_right; } /** * fo_list_item_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_list_item_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_list_item->padding_right != NULL) { g_object_unref (fo_list_item->padding_right); } fo_list_item->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_list_item), "padding-right");*/ } /** * fo_list_item_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_list_item_get_padding_start (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->padding_start; } /** * fo_list_item_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_list_item_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_list_item->padding_start != NULL) { g_object_unref (fo_list_item->padding_start); } fo_list_item->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_list_item), "padding-start");*/ } /** * fo_list_item_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_list_item_get_padding_top (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->padding_top; } /** * fo_list_item_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_list_item_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_list_item->padding_top != NULL) { g_object_unref (fo_list_item->padding_top); } fo_list_item->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_list_item), "padding-top");*/ } /** * fo_list_item_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_list_item_get_role (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->role; } /** * fo_list_item_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_list_item_set_role (FoFo *fo_fo, FoProperty *new_role) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_list_item->role != NULL) { g_object_unref (fo_list_item->role); } fo_list_item->role = new_role; /*g_object_notify (G_OBJECT (fo_list_item), "role");*/ } /** * fo_list_item_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_list_item_get_source_document (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->source_document; } /** * fo_list_item_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_list_item_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_list_item->source_document != NULL) { g_object_unref (fo_list_item->source_document); } fo_list_item->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_list_item), "source-document");*/ } /** * fo_list_item_get_space_after: * @fo_fo: The @FoFo object * * Gets the "space-after" property of @fo_fo * * Return value: The "space-after" property value **/ FoProperty* fo_list_item_get_space_after (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->space_after; } /** * fo_list_item_set_space_after: * @fo_fo: The #FoFo object * @new_space_after: The new "space-after" property value * * Sets the "space-after" property of @fo_fo to @new_space_after **/ void fo_list_item_set_space_after (FoFo *fo_fo, FoProperty *new_space_after) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_SPACE_AFTER (new_space_after)); if (new_space_after != NULL) { g_object_ref (new_space_after); } if (fo_list_item->space_after != NULL) { g_object_unref (fo_list_item->space_after); } fo_list_item->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_list_item), "space-after");*/ } /** * fo_list_item_get_space_before: * @fo_fo: The @FoFo object * * Gets the "space-before" property of @fo_fo * * Return value: The "space-before" property value **/ FoProperty* fo_list_item_get_space_before (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->space_before; } /** * fo_list_item_set_space_before: * @fo_fo: The #FoFo object * @new_space_before: The new "space-before" property value * * Sets the "space-before" property of @fo_fo to @new_space_before **/ void fo_list_item_set_space_before (FoFo *fo_fo, FoProperty *new_space_before) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_SPACE_BEFORE (new_space_before)); if (new_space_before != NULL) { g_object_ref (new_space_before); } if (fo_list_item->space_before != NULL) { g_object_unref (fo_list_item->space_before); } fo_list_item->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_list_item), "space-before");*/ } /** * fo_list_item_get_start_indent: * @fo_fo: The @FoFo object * * Gets the "start-indent" property of @fo_fo * * Return value: The "start-indent" property value **/ FoProperty* fo_list_item_get_start_indent (FoFo *fo_fo) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_val_if_fail (fo_list_item != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM (fo_list_item), NULL); return fo_list_item->start_indent; } /** * fo_list_item_set_start_indent: * @fo_fo: The #FoFo object * @new_start_indent: The new "start-indent" property value * * Sets the "start-indent" property of @fo_fo to @new_start_indent **/ void fo_list_item_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent) { FoListItem *fo_list_item = (FoListItem *) fo_fo; g_return_if_fail (fo_list_item != NULL); g_return_if_fail (FO_IS_LIST_ITEM (fo_list_item)); g_return_if_fail (FO_IS_PROPERTY_START_INDENT (new_start_indent)); if (new_start_indent != NULL) { g_object_ref (new_start_indent); } if (fo_list_item->start_indent != NULL) { g_object_unref (fo_list_item->start_indent); } fo_list_item->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_list_item), "start-indent");*/ } xmlroff-0.6.2/libfo/fo/fo-list-item.h0000644000175000017500000003351610643167375014322 00000000000000/* Fo * fo-list_item.h: 'list-item' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIST_ITEM_H__ #define __FO_LIST_ITEM_H__ #include #include G_BEGIN_DECLS typedef struct _FoListItem FoListItem; typedef struct _FoListItemClass FoListItemClass; #define FO_TYPE_LIST_ITEM (fo_list_item_get_type ()) #define FO_LIST_ITEM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LIST_ITEM, FoListItem)) #define FO_LIST_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LIST_ITEM, FoListItemClass)) #define FO_IS_LIST_ITEM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LIST_ITEM)) #define FO_IS_LIST_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LIST_ITEM)) #define FO_LIST_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LIST_ITEM, FoListItemClass)) GType fo_list_item_get_type (void) G_GNUC_CONST; FoFo * fo_list_item_new (void); FoProperty * fo_list_item_get_background_color (FoFo *fo_fo); void fo_list_item_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_list_item_get_background_image (FoFo *fo_fo); void fo_list_item_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_list_item_get_border_after_color (FoFo *fo_fo); void fo_list_item_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_list_item_get_border_after_style (FoFo *fo_fo); void fo_list_item_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_list_item_get_border_after_width (FoFo *fo_fo); void fo_list_item_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_list_item_get_border_before_color (FoFo *fo_fo); void fo_list_item_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_list_item_get_border_before_style (FoFo *fo_fo); void fo_list_item_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_list_item_get_border_before_width (FoFo *fo_fo); void fo_list_item_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_list_item_get_border_bottom_color (FoFo *fo_fo); void fo_list_item_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_list_item_get_border_bottom_style (FoFo *fo_fo); void fo_list_item_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_list_item_get_border_bottom_width (FoFo *fo_fo); void fo_list_item_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_list_item_get_border_end_color (FoFo *fo_fo); void fo_list_item_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_list_item_get_border_end_style (FoFo *fo_fo); void fo_list_item_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_list_item_get_border_end_width (FoFo *fo_fo); void fo_list_item_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_list_item_get_border_left_color (FoFo *fo_fo); void fo_list_item_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_list_item_get_border_left_style (FoFo *fo_fo); void fo_list_item_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_list_item_get_border_left_width (FoFo *fo_fo); void fo_list_item_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_list_item_get_border_right_color (FoFo *fo_fo); void fo_list_item_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_list_item_get_border_right_style (FoFo *fo_fo); void fo_list_item_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_list_item_get_border_right_width (FoFo *fo_fo); void fo_list_item_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_list_item_get_border_start_color (FoFo *fo_fo); void fo_list_item_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_list_item_get_border_start_style (FoFo *fo_fo); void fo_list_item_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_list_item_get_border_start_width (FoFo *fo_fo); void fo_list_item_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_list_item_get_border_top_color (FoFo *fo_fo); void fo_list_item_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_list_item_get_border_top_style (FoFo *fo_fo); void fo_list_item_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_list_item_get_border_top_width (FoFo *fo_fo); void fo_list_item_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_list_item_get_break_after (FoFo *fo_fo); void fo_list_item_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty * fo_list_item_get_break_before (FoFo *fo_fo); void fo_list_item_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty * fo_list_item_get_end_indent (FoFo *fo_fo); void fo_list_item_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty * fo_list_item_get_id (FoFo *fo_fo); void fo_list_item_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_list_item_get_keep_together (FoFo *fo_fo); void fo_list_item_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_list_item_get_keep_together_within_column (FoFo *fo_fo); void fo_list_item_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_list_item_get_keep_together_within_line (FoFo *fo_fo); void fo_list_item_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_list_item_get_keep_together_within_page (FoFo *fo_fo); void fo_list_item_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_list_item_get_keep_with_next (FoFo *fo_fo); void fo_list_item_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_list_item_get_keep_with_next_within_column (FoFo *fo_fo); void fo_list_item_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_list_item_get_keep_with_next_within_line (FoFo *fo_fo); void fo_list_item_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_list_item_get_keep_with_next_within_page (FoFo *fo_fo); void fo_list_item_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_list_item_get_keep_with_previous (FoFo *fo_fo); void fo_list_item_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_list_item_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_list_item_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_list_item_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_list_item_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_list_item_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_list_item_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_list_item_get_margin_bottom (FoFo *fo_fo); void fo_list_item_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty * fo_list_item_get_margin_left (FoFo *fo_fo); void fo_list_item_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty * fo_list_item_get_margin_right (FoFo *fo_fo); void fo_list_item_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty * fo_list_item_get_margin_top (FoFo *fo_fo); void fo_list_item_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty * fo_list_item_get_padding_after (FoFo *fo_fo); void fo_list_item_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_list_item_get_padding_before (FoFo *fo_fo); void fo_list_item_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_list_item_get_padding_bottom (FoFo *fo_fo); void fo_list_item_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_list_item_get_padding_end (FoFo *fo_fo); void fo_list_item_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_list_item_get_padding_left (FoFo *fo_fo); void fo_list_item_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_list_item_get_padding_right (FoFo *fo_fo); void fo_list_item_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_list_item_get_padding_start (FoFo *fo_fo); void fo_list_item_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_list_item_get_padding_top (FoFo *fo_fo); void fo_list_item_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_list_item_get_role (FoFo *fo_fo); void fo_list_item_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_list_item_get_source_document (FoFo *fo_fo); void fo_list_item_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_list_item_get_space_after (FoFo *fo_fo); void fo_list_item_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty * fo_list_item_get_space_before (FoFo *fo_fo); void fo_list_item_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty * fo_list_item_get_start_indent (FoFo *fo_fo); void fo_list_item_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); G_END_DECLS #endif /* !__FO_LIST_ITEM_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-item-private.h0000644000175000017500000000474710643167376015777 00000000000000/* Fo * fo-list-item-private.h: Structures private to 'list-item' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIST_ITEM_PRIVATE_H__ #define __FO_LIST_ITEM_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoListItem { FoMarkerParent parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *break_after; FoProperty *break_before; FoProperty *end_indent; FoProperty *id; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *margin_bottom; FoProperty *margin_left; FoProperty *margin_right; FoProperty *margin_top; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *space_after; FoProperty *space_before; FoProperty *start_indent; }; struct _FoListItemClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_LIST_ITEM_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-item-body.c0000644000175000017500000005663410660107744015247 00000000000000/* Fo * fo-list-item-body.c: 'list-item-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-list-item-body.h" #include "fo-list-item-body-private.h" #include "fo-list-item-body-area.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_ID, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_list_item_body_class_init (FoListItemBodyClass *klass); static void fo_list_item_body_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_list_item_body_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_list_item_body_finalize (GObject *object); static gboolean fo_list_item_body_validate_content (FoFo *fo, GError **error); static void fo_list_item_body_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_list_item_body_update_from_context (FoFo *fo, FoContext *context); static void fo_list_item_body_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_list_item_body_get_type: * * Register the #FoListItemBody object type. * * Return value: #GType value of the #FoListItemBody object type. **/ GType fo_list_item_body_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoListItemBodyClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_list_item_body_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoListItemBody), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoListItemBody", &object_info, 0); } return object_type; } /** * fo_list_item_body_class_init: * @klass: #FoListItemBodyClass object to initialise. * * Implements #GClassInitFunc for #FoListItemBodyClass. **/ void fo_list_item_body_class_init (FoListItemBodyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_list_item_body_finalize; object_class->get_property = fo_list_item_body_get_property; object_class->set_property = fo_list_item_body_set_property; fofo_class->validate_content = fo_list_item_body_validate_content; fofo_class->validate2 = fo_list_item_body_validate; fofo_class->update_from_context = fo_list_item_body_update_from_context; fofo_class->debug_dump_properties = fo_list_item_body_debug_dump_properties; fofo_class->area_new2 = fo_list_item_body_area_new2; g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_list_item_body_finalize: * @object: #FoListItemBody object to finalize. * * Implements #GObjectFinalizeFunc for #FoListItemBody. **/ void fo_list_item_body_finalize (GObject *object) { FoListItemBody *fo_list_item_body; fo_list_item_body = FO_LIST_ITEM_BODY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_list_item_body_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoListItemBody. **/ void fo_list_item_body_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: g_value_set_object (value, G_OBJECT (fo_list_item_body_get_id (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_list_item_body_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_list_item_body_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_list_item_body_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_list_item_body_get_keep_together_within_page (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_list_item_body_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_list_item_body_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_list_item_body_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoListItemBody. **/ void fo_list_item_body_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: fo_list_item_body_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_list_item_body_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_list_item_body_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_list_item_body_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_list_item_body_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_list_item_body_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_list_item_body_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_list_item_body_new: * * Creates a new #FoListItemBody initialized to default value. * * Return value: the new #FoListItemBody. **/ FoFo* fo_list_item_body_new (void) { return FO_FO (g_object_new (fo_list_item_body_get_type (), NULL)); } /** * fo_list_item_body_validate_content: * @fo: #FoListItemBody object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_list_item_body_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_LIST_ITEM_BODY (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_fo_trim_whitespace_children (fo); return fo_fo_validate_content_block_plus (fo, error); } /** * fo_list_item_body_validate: * @fo: #FoListItemBody object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_list_item_body_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoListItemBody *fo_list_item_body; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_list_item_body = FO_LIST_ITEM_BODY (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_list_item_body_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_list_item_body_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_list_item_body_set_id (fo, fo_context_get_id (context)); fo_list_item_body_set_keep_together (fo, fo_context_get_keep_together (context)); fo_list_item_body_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_list_item_body_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_list_item_body_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_list_item_body_set_role (fo, fo_context_get_role (context)); fo_list_item_body_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_list_item_body_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_list_item_body_debug_dump_properties (FoFo *fo, gint depth) { FoListItemBody *fo_list_item_body; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo)); fo_list_item_body = FO_LIST_ITEM_BODY (fo); fo_object_debug_dump (fo_list_item_body->id, depth); fo_object_debug_dump (fo_list_item_body->keep_together, depth); fo_object_debug_dump (fo_list_item_body->keep_together_within_column, depth); fo_object_debug_dump (fo_list_item_body->keep_together_within_line, depth); fo_object_debug_dump (fo_list_item_body->keep_together_within_page, depth); fo_object_debug_dump (fo_list_item_body->role, depth); fo_object_debug_dump (fo_list_item_body->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_list_item_body_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_list_item_body_get_id (FoFo *fo_fo) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_val_if_fail (fo_list_item_body != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body), NULL); return fo_list_item_body->id; } /** * fo_list_item_body_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_list_item_body_set_id (FoFo *fo_fo, FoProperty *new_id) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_if_fail (fo_list_item_body != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_list_item_body->id != NULL) { g_object_unref (fo_list_item_body->id); } fo_list_item_body->id = new_id; /*g_object_notify (G_OBJECT (fo_list_item_body), "id");*/ } /** * fo_list_item_body_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_list_item_body_get_keep_together (FoFo *fo_fo) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_val_if_fail (fo_list_item_body != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body), NULL); return fo_list_item_body->keep_together; } /** * fo_list_item_body_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_list_item_body_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_if_fail (fo_list_item_body != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_list_item_body->keep_together != NULL) { g_object_unref (fo_list_item_body->keep_together); } fo_list_item_body->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_list_item_body), "keep-together");*/ } /** * fo_list_item_body_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_list_item_body_get_keep_together_within_column (FoFo *fo_fo) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_val_if_fail (fo_list_item_body != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body), NULL); return fo_list_item_body->keep_together_within_column; } /** * fo_list_item_body_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_list_item_body_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_if_fail (fo_list_item_body != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_list_item_body->keep_together_within_column != NULL) { g_object_unref (fo_list_item_body->keep_together_within_column); } fo_list_item_body->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_list_item_body), "keep-together-within-column");*/ } /** * fo_list_item_body_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_list_item_body_get_keep_together_within_line (FoFo *fo_fo) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_val_if_fail (fo_list_item_body != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body), NULL); return fo_list_item_body->keep_together_within_line; } /** * fo_list_item_body_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_list_item_body_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_if_fail (fo_list_item_body != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_list_item_body->keep_together_within_line != NULL) { g_object_unref (fo_list_item_body->keep_together_within_line); } fo_list_item_body->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_list_item_body), "keep-together-within-line");*/ } /** * fo_list_item_body_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_list_item_body_get_keep_together_within_page (FoFo *fo_fo) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_val_if_fail (fo_list_item_body != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body), NULL); return fo_list_item_body->keep_together_within_page; } /** * fo_list_item_body_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_list_item_body_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_if_fail (fo_list_item_body != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_list_item_body->keep_together_within_page != NULL) { g_object_unref (fo_list_item_body->keep_together_within_page); } fo_list_item_body->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_list_item_body), "keep-together-within-page");*/ } /** * fo_list_item_body_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_list_item_body_get_role (FoFo *fo_fo) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_val_if_fail (fo_list_item_body != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body), NULL); return fo_list_item_body->role; } /** * fo_list_item_body_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_list_item_body_set_role (FoFo *fo_fo, FoProperty *new_role) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_if_fail (fo_list_item_body != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_list_item_body->role != NULL) { g_object_unref (fo_list_item_body->role); } fo_list_item_body->role = new_role; /*g_object_notify (G_OBJECT (fo_list_item_body), "role");*/ } /** * fo_list_item_body_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_list_item_body_get_source_document (FoFo *fo_fo) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_val_if_fail (fo_list_item_body != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body), NULL); return fo_list_item_body->source_document; } /** * fo_list_item_body_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_list_item_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoListItemBody *fo_list_item_body = (FoListItemBody *) fo_fo; g_return_if_fail (fo_list_item_body != NULL); g_return_if_fail (FO_IS_LIST_ITEM_BODY (fo_list_item_body)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_list_item_body->source_document != NULL) { g_object_unref (fo_list_item_body->source_document); } fo_list_item_body->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_list_item_body), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-list-item-body.h0000644000175000017500000000555110643167376015254 00000000000000/* Fo * fo-list_item_body.h: 'list-item-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIST_ITEM_BODY_H__ #define __FO_LIST_ITEM_BODY_H__ #include #include G_BEGIN_DECLS typedef struct _FoListItemBody FoListItemBody; typedef struct _FoListItemBodyClass FoListItemBodyClass; #define FO_TYPE_LIST_ITEM_BODY (fo_list_item_body_get_type ()) #define FO_LIST_ITEM_BODY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LIST_ITEM_BODY, FoListItemBody)) #define FO_LIST_ITEM_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LIST_ITEM_BODY, FoListItemBodyClass)) #define FO_IS_LIST_ITEM_BODY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LIST_ITEM_BODY)) #define FO_IS_LIST_ITEM_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LIST_ITEM_BODY)) #define FO_LIST_ITEM_BODY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LIST_ITEM_BODY, FoListItemBodyClass)) GType fo_list_item_body_get_type (void) G_GNUC_CONST; FoFo * fo_list_item_body_new (void); FoProperty * fo_list_item_body_get_id (FoFo *fo_fo); void fo_list_item_body_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_list_item_body_get_keep_together (FoFo *fo_fo); void fo_list_item_body_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_list_item_body_get_keep_together_within_column (FoFo *fo_fo); void fo_list_item_body_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_list_item_body_get_keep_together_within_line (FoFo *fo_fo); void fo_list_item_body_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_list_item_body_get_keep_together_within_page (FoFo *fo_fo); void fo_list_item_body_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_list_item_body_get_role (FoFo *fo_fo); void fo_list_item_body_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_list_item_body_get_source_document (FoFo *fo_fo); void fo_list_item_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_LIST_ITEM_BODY_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-item-body-private.h0000644000175000017500000000154310643167376016721 00000000000000/* Fo * fo-list-item-body-private.h: Structures private to 'list-item-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIST_ITEM_BODY_PRIVATE_H__ #define __FO_LIST_ITEM_BODY_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoListItemBody { FoMarkerParent parent_instance; FoProperty *id; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *role; FoProperty *source_document; }; struct _FoListItemBodyClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_LIST_ITEM_BODY_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-item-label.c0000644000175000017500000005756110660107745015372 00000000000000/* Fo * fo-list-item-label.c: 'list-item-label' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-list-item-label.h" #include "fo-list-item-label-private.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "fo-list-item-label-area.h" enum { PROP_0, PROP_ID, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_list_item_label_class_init (FoListItemLabelClass *klass); static void fo_list_item_label_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_list_item_label_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_list_item_label_finalize (GObject *object); static gboolean fo_list_item_label_validate_content (FoFo *fo, GError **error); static void fo_list_item_label_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_list_item_label_update_from_context (FoFo *fo, FoContext *context); static void fo_list_item_label_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_list_item_label_get_type: * * Register the #FoListItemLabel object type. * * Return value: #GType value of the #FoListItemLabel object type. **/ GType fo_list_item_label_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoListItemLabelClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_list_item_label_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoListItemLabel), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoListItemLabel", &object_info, 0); } return object_type; } /** * fo_list_item_label_class_init: * @klass: #FoListItemLabelClass object to initialise. * * Implements #GClassInitFunc for #FoListItemLabelClass. **/ void fo_list_item_label_class_init (FoListItemLabelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_list_item_label_finalize; object_class->get_property = fo_list_item_label_get_property; object_class->set_property = fo_list_item_label_set_property; fofo_class->validate_content = fo_list_item_label_validate_content; fofo_class->validate2 = fo_list_item_label_validate; fofo_class->update_from_context = fo_list_item_label_update_from_context; fofo_class->debug_dump_properties = fo_list_item_label_debug_dump_properties; fofo_class->area_new2 = fo_list_item_label_area_new2; g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_list_item_label_finalize: * @object: #FoListItemLabel object to finalize. * * Implements #GObjectFinalizeFunc for #FoListItemLabel. **/ void fo_list_item_label_finalize (GObject *object) { FoListItemLabel *fo_list_item_label; fo_list_item_label = FO_LIST_ITEM_LABEL (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_list_item_label_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoListItemLabel. **/ void fo_list_item_label_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: g_value_set_object (value, G_OBJECT (fo_list_item_label_get_id (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_list_item_label_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_list_item_label_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_list_item_label_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_list_item_label_get_keep_together_within_page (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_list_item_label_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_list_item_label_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_list_item_label_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoListItemLabel. **/ void fo_list_item_label_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: fo_list_item_label_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_list_item_label_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_list_item_label_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_list_item_label_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_list_item_label_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_list_item_label_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_list_item_label_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_list_item_label_new: * * Creates a new #FoListItemLabel initialized to default value. * * Return value: the new #FoListItemLabel. **/ FoFo* fo_list_item_label_new (void) { return FO_FO (g_object_new (fo_list_item_label_get_type (), NULL)); } /** * fo_list_item_label_validate_content: * @fo: #FoListItemLabel object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_list_item_label_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_LIST_ITEM_LABEL (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_list_item_label_validate: * @fo: #FoListItemLabel object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_list_item_label_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoListItemLabel *fo_list_item_label; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_list_item_label = FO_LIST_ITEM_LABEL (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_list_item_label_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_list_item_label_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_list_item_label_set_id (fo, fo_context_get_id (context)); fo_list_item_label_set_keep_together (fo, fo_context_get_keep_together (context)); fo_list_item_label_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_list_item_label_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_list_item_label_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_list_item_label_set_role (fo, fo_context_get_role (context)); fo_list_item_label_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_list_item_label_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_list_item_label_debug_dump_properties (FoFo *fo, gint depth) { FoListItemLabel *fo_list_item_label; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo)); fo_list_item_label = FO_LIST_ITEM_LABEL (fo); fo_object_debug_dump (fo_list_item_label->id, depth); fo_object_debug_dump (fo_list_item_label->keep_together, depth); fo_object_debug_dump (fo_list_item_label->keep_together_within_column, depth); fo_object_debug_dump (fo_list_item_label->keep_together_within_line, depth); fo_object_debug_dump (fo_list_item_label->keep_together_within_page, depth); fo_object_debug_dump (fo_list_item_label->role, depth); fo_object_debug_dump (fo_list_item_label->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_list_item_label_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_list_item_label_get_id (FoFo *fo_fo) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_val_if_fail (fo_list_item_label != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label), NULL); return fo_list_item_label->id; } /** * fo_list_item_label_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_list_item_label_set_id (FoFo *fo_fo, FoProperty *new_id) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_if_fail (fo_list_item_label != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_list_item_label->id != NULL) { g_object_unref (fo_list_item_label->id); } fo_list_item_label->id = new_id; /*g_object_notify (G_OBJECT (fo_list_item_label), "id");*/ } /** * fo_list_item_label_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_list_item_label_get_keep_together (FoFo *fo_fo) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_val_if_fail (fo_list_item_label != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label), NULL); return fo_list_item_label->keep_together; } /** * fo_list_item_label_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_list_item_label_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_if_fail (fo_list_item_label != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_list_item_label->keep_together != NULL) { g_object_unref (fo_list_item_label->keep_together); } fo_list_item_label->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_list_item_label), "keep-together");*/ } /** * fo_list_item_label_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_list_item_label_get_keep_together_within_column (FoFo *fo_fo) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_val_if_fail (fo_list_item_label != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label), NULL); return fo_list_item_label->keep_together_within_column; } /** * fo_list_item_label_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_list_item_label_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_if_fail (fo_list_item_label != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_list_item_label->keep_together_within_column != NULL) { g_object_unref (fo_list_item_label->keep_together_within_column); } fo_list_item_label->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_list_item_label), "keep-together-within-column");*/ } /** * fo_list_item_label_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_list_item_label_get_keep_together_within_line (FoFo *fo_fo) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_val_if_fail (fo_list_item_label != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label), NULL); return fo_list_item_label->keep_together_within_line; } /** * fo_list_item_label_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_list_item_label_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_if_fail (fo_list_item_label != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_list_item_label->keep_together_within_line != NULL) { g_object_unref (fo_list_item_label->keep_together_within_line); } fo_list_item_label->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_list_item_label), "keep-together-within-line");*/ } /** * fo_list_item_label_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_list_item_label_get_keep_together_within_page (FoFo *fo_fo) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_val_if_fail (fo_list_item_label != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label), NULL); return fo_list_item_label->keep_together_within_page; } /** * fo_list_item_label_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_list_item_label_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_if_fail (fo_list_item_label != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_list_item_label->keep_together_within_page != NULL) { g_object_unref (fo_list_item_label->keep_together_within_page); } fo_list_item_label->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_list_item_label), "keep-together-within-page");*/ } /** * fo_list_item_label_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_list_item_label_get_role (FoFo *fo_fo) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_val_if_fail (fo_list_item_label != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label), NULL); return fo_list_item_label->role; } /** * fo_list_item_label_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_list_item_label_set_role (FoFo *fo_fo, FoProperty *new_role) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_if_fail (fo_list_item_label != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_list_item_label->role != NULL) { g_object_unref (fo_list_item_label->role); } fo_list_item_label->role = new_role; /*g_object_notify (G_OBJECT (fo_list_item_label), "role");*/ } /** * fo_list_item_label_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_list_item_label_get_source_document (FoFo *fo_fo) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_val_if_fail (fo_list_item_label != NULL, NULL); g_return_val_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label), NULL); return fo_list_item_label->source_document; } /** * fo_list_item_label_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_list_item_label_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoListItemLabel *fo_list_item_label = (FoListItemLabel *) fo_fo; g_return_if_fail (fo_list_item_label != NULL); g_return_if_fail (FO_IS_LIST_ITEM_LABEL (fo_list_item_label)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_list_item_label->source_document != NULL) { g_object_unref (fo_list_item_label->source_document); } fo_list_item_label->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_list_item_label), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-list-item-label.h0000644000175000017500000000563010643167376015374 00000000000000/* Fo * fo-list_item_label.h: 'list-item-label' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIST_ITEM_LABEL_H__ #define __FO_LIST_ITEM_LABEL_H__ #include #include G_BEGIN_DECLS typedef struct _FoListItemLabel FoListItemLabel; typedef struct _FoListItemLabelClass FoListItemLabelClass; #define FO_TYPE_LIST_ITEM_LABEL (fo_list_item_label_get_type ()) #define FO_LIST_ITEM_LABEL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LIST_ITEM_LABEL, FoListItemLabel)) #define FO_LIST_ITEM_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LIST_ITEM_LABEL, FoListItemLabelClass)) #define FO_IS_LIST_ITEM_LABEL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LIST_ITEM_LABEL)) #define FO_IS_LIST_ITEM_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LIST_ITEM_LABEL)) #define FO_LIST_ITEM_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LIST_ITEM_LABEL, FoListItemLabelClass)) GType fo_list_item_label_get_type (void) G_GNUC_CONST; FoFo * fo_list_item_label_new (void); FoProperty * fo_list_item_label_get_id (FoFo *fo_fo); void fo_list_item_label_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_list_item_label_get_keep_together (FoFo *fo_fo); void fo_list_item_label_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_list_item_label_get_keep_together_within_column (FoFo *fo_fo); void fo_list_item_label_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_list_item_label_get_keep_together_within_line (FoFo *fo_fo); void fo_list_item_label_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_list_item_label_get_keep_together_within_page (FoFo *fo_fo); void fo_list_item_label_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_list_item_label_get_role (FoFo *fo_fo); void fo_list_item_label_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_list_item_label_get_source_document (FoFo *fo_fo); void fo_list_item_label_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_LIST_ITEM_LABEL_H__ */ xmlroff-0.6.2/libfo/fo/fo-list-item-label-private.h0000644000175000017500000000155310643167375017043 00000000000000/* Fo * fo-list-item-label-private.h: Structures private to 'list-item-label' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LIST_ITEM_LABEL_PRIVATE_H__ #define __FO_LIST_ITEM_LABEL_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoListItemLabel { FoMarkerParent parent_instance; FoProperty *id; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *role; FoProperty *source_document; }; struct _FoListItemLabelClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_LIST_ITEM_LABEL_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-marker.c0000644000175000017500000000464510646441214013656 00000000000000/* Fo * fo-marker.c: Marker formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-marker.h" enum { PROP_0 }; struct _FoMarker { FoFo parent_instance; }; struct _FoMarkerClass { FoFoClass parent_class; }; static void fo_marker_class_init (FoMarkerClass *klass); static void fo_marker_finalize (GObject *object); static void fo_marker_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; GType fo_marker_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoMarkerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_marker_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoMarker), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoMarker", &object_info, 0); } return object_type; } static void fo_marker_class_init (FoMarkerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_marker_finalize; FO_FO_CLASS (klass)->debug_dump_properties = fo_marker_debug_dump_properties; FO_FO_CLASS (klass)->allow_mixed_content = TRUE; } static void fo_marker_finalize (GObject *object) { FoMarker *fo_marker; fo_marker = FO_MARKER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_marker_new: * * Creates a new #FoMarker initialized to default value. * * Return value: the new #FoMarker **/ FoFo* fo_marker_new (void) { return FO_FO (g_object_new (fo_marker_get_type (), NULL)); } void fo_marker_debug_dump_properties (FoFo *fo, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MARKER (fo)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s(No properties)", indent); g_free (indent); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-marker.h0000644000175000017500000000206310646441156013660 00000000000000/* Fo * fo-marker.h: Marker formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MARKER_H__ #define __FO_MARKER_H__ #include #include G_BEGIN_DECLS typedef struct _FoMarker FoMarker; typedef struct _FoMarkerClass FoMarkerClass; #define FO_TYPE_MARKER (fo_marker_get_type ()) #define FO_MARKER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_MARKER, FoMarker)) #define FO_MARKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_MARKER, FoMarkerClass)) #define FO_IS_MARKER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_MARKER)) #define FO_IS_MARKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_MARKER)) #define FO_MARKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_MARKER, FoMarkerClass)) GType fo_marker_get_type (void) G_GNUC_CONST; FoFo * fo_marker_new (void); G_END_DECLS #endif /* !__FO_MARKER_H__ */ xmlroff-0.6.2/libfo/fo/fo-marker-parent.c0000644000175000017500000001213411054604422015131 00000000000000/* Fo * fo-marker-parent.c: Formatting object that is parent of possible fo:marker * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-marker-parent-private.h" #include "fo-marker.h" enum { PROP_0 }; static void fo_marker_parent_class_init (FoMarkerParentClass *klass); static void fo_marker_parent_finalize (GObject *object); static gboolean fo_marker_parent_validate_content (FoFo *fo, GError **error); static void fo_marker_parent_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; GType fo_marker_parent_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoMarkerParentClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_marker_parent_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoMarkerParent), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoMarkerParent", &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_marker_parent_class_init: * @klass: #FoMarkerParentClass object to initialise. * * Implements #GClassInitFunc for #FoMarkerParent. **/ void fo_marker_parent_class_init (FoMarkerParentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fo_fo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_marker_parent_finalize; fo_fo_class->debug_dump_properties = fo_marker_parent_debug_dump_properties; fo_fo_class->update_from_context = fo_marker_parent_update_from_context; fo_fo_class->validate_content = fo_marker_parent_validate_content; } static void fo_marker_parent_finalize (GObject *object) { FoMarkerParent *fo_marker_parent; fo_marker_parent = FO_MARKER_PARENT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_marker_parent_new: * * Creates a new #FoMarkerParent initialized to default value. * * Return value: the new #FoMarkerParent. **/ FoFo* fo_marker_parent_new (void) { return FO_FO (g_object_new (fo_marker_parent_get_type (), NULL)); } void fo_marker_parent_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MARKER_PARENT (fo)); FO_FO_CLASS (parent_class)->update_from_context (fo, context); } /** * fo_marker_parent_debug_dump_marker: * @value: * @data: * * **/ static void fo_marker_parent_debug_dump_marker (gpointer value, gpointer data) { gchar *indent = g_strnfill (GPOINTER_TO_INT (data) * 2, ' '); gchar *marker_sprintf; marker_sprintf = fo_object_debug_sprintf (value); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%p", indent, value); g_free (marker_sprintf); g_free (indent); } void fo_marker_parent_debug_dump_properties (FoFo *fo, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MARKER_PARENT (fo)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%smarkers:", indent); if (FO_MARKER_PARENT (fo)->marker_list) { g_list_foreach (FO_MARKER_PARENT (fo)->marker_list, fo_marker_parent_debug_dump_marker, GINT_TO_POINTER (depth + 1)); } else { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s (none)"), indent); } g_free (indent); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_marker_parent_validate_content: * @fo: #FoBlock object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not. **/ gboolean fo_marker_parent_validate_content (FoFo *fo, GError **error) { g_return_val_if_fail (FO_IS_MARKER_PARENT (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); gboolean parent_result = FO_FO_CLASS (parent_class)->validate_content (fo, error); if (parent_result == TRUE) { return parent_result; } if (fo_node_n_children (FO_NODE (fo)) != 0) { FoNode *child_node = fo_node_first_child (FO_NODE (fo)); while (child_node) { FoNode *next_node = fo_node_next_sibling (child_node); if (FO_IS_MARKER (child_node)) { fo_node_unlink (child_node); FO_MARKER_PARENT (fo)->marker_list = g_list_append (FO_MARKER_PARENT (fo)->marker_list, child_node); } child_node = next_node; } } return FALSE; } xmlroff-0.6.2/libfo/fo/fo-marker-parent.h0000644000175000017500000000247110651103416015140 00000000000000/* Fo * fo-marker-parent.h: Formatting object that is parent of possible fo:marker * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MARKER_PARENT_H__ #define __FO_MARKER_PARENT_H__ #include G_BEGIN_DECLS typedef struct _FoMarkerParent FoMarkerParent; typedef struct _FoMarkerParentClass FoMarkerParentClass; #define FO_TYPE_MARKER_PARENT (fo_marker_parent_get_type ()) #define FO_MARKER_PARENT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_MARKER_PARENT, FoMarkerParent)) #define FO_MARKER_PARENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_MARKER_PARENT, FoMarkerParentClass)) #define FO_IS_MARKER_PARENT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_MARKER_PARENT)) #define FO_IS_MARKER_PARENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_MARKER_PARENT)) #define FO_MARKER_PARENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_MARKER_PARENT, FoMarkerParentClass)) GType fo_marker_parent_get_type (void) G_GNUC_CONST; FoFo *fo_marker_parent_new (void); void fo_marker_parent_update_from_context (FoFo *fo, FoContext *context); G_END_DECLS #endif /* !__FO_MARKER_PARENT_H__ */ xmlroff-0.6.2/libfo/fo/fo-marker-parent-private.h0000644000175000017500000000067711054604423016620 00000000000000/* Fo * fo-marker-parent-private.h: Formatting object that is parent of possible fo:marker * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include struct _FoMarkerParent { FoFo parent_instance; GList *marker_list; }; struct _FoMarkerParentClass { FoFoClass parent_class; }; xmlroff-0.6.2/libfo/fo/fo-multi-case.c0000644000175000017500000003276110660107745014444 00000000000000/* Fo * fo-multi-case.c: 'multi-case' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-multi-case-private.h" #include "property/fo-property-id.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_ID, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_multi_case_class_init (FoMultiCaseClass *klass); static void fo_multi_case_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_multi_case_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_multi_case_finalize (GObject *object); static gboolean fo_multi_case_validate_content (FoFo *fo, GError **error); static void fo_multi_case_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_multi_case_update_from_context (FoFo *fo, FoContext *context); static void fo_multi_case_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_multi_case_get_type: * * Register the #FoMultiCase object type. * * Return value: #GType value of the #FoMultiCase object type. **/ GType fo_multi_case_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoMultiCaseClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_multi_case_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoMultiCase), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoMultiCase", &object_info, 0); } return object_type; } /** * fo_multi_case_class_init: * @klass: #FoMultiCaseClass object to initialise. * * Implements #GClassInitFunc for #FoMultiCaseClass. **/ void fo_multi_case_class_init (FoMultiCaseClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_multi_case_finalize; object_class->get_property = fo_multi_case_get_property; object_class->set_property = fo_multi_case_set_property; fofo_class->validate_content = fo_multi_case_validate_content; fofo_class->validate2 = fo_multi_case_validate; fofo_class->update_from_context = fo_multi_case_update_from_context; fofo_class->debug_dump_properties = fo_multi_case_debug_dump_properties; fofo_class->allow_mixed_content = TRUE; g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_multi_case_finalize: * @object: #FoMultiCase object to finalize. * * Implements #GObjectFinalizeFunc for #FoMultiCase. **/ void fo_multi_case_finalize (GObject *object) { FoMultiCase *fo_multi_case; fo_multi_case = FO_MULTI_CASE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_multi_case_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoMultiCase. **/ void fo_multi_case_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: g_value_set_object (value, G_OBJECT (fo_multi_case_get_id (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_multi_case_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_multi_case_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_case_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoMultiCase. **/ void fo_multi_case_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: fo_multi_case_set_id (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_multi_case_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_multi_case_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_case_new: * * Creates a new #FoMultiCase initialized to default value. * * Return value: the new #FoMultiCase. **/ FoFo* fo_multi_case_new (void) { return FO_FO (g_object_new (fo_multi_case_get_type (), NULL)); } /** * fo_multi_case_validate_content: * @fo: #FoMultiCase object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_multi_case_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_MULTI_CASE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_multi_case_validate: * @fo: #FoMultiCase object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_multi_case_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoMultiCase *fo_multi_case; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_CASE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_multi_case = FO_MULTI_CASE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_multi_case_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_multi_case_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_CASE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_multi_case_set_id (fo, fo_context_get_id (context)); fo_multi_case_set_role (fo, fo_context_get_role (context)); fo_multi_case_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_multi_case_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_multi_case_debug_dump_properties (FoFo *fo, gint depth) { FoMultiCase *fo_multi_case; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_CASE (fo)); fo_multi_case = FO_MULTI_CASE (fo); fo_object_debug_dump (fo_multi_case->id, depth); fo_object_debug_dump (fo_multi_case->role, depth); fo_object_debug_dump (fo_multi_case->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_multi_case_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty* fo_multi_case_get_id (FoFo *fo_fo) { FoMultiCase *fo_multi_case = (FoMultiCase *) fo_fo; g_return_val_if_fail (fo_multi_case != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_CASE (fo_multi_case), NULL); return fo_multi_case->id; } /** * fo_multi_case_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_multi_case_set_id (FoFo *fo_fo, FoProperty *new_id) { FoMultiCase *fo_multi_case = (FoMultiCase *) fo_fo; g_return_if_fail (fo_multi_case != NULL); g_return_if_fail (FO_IS_MULTI_CASE (fo_multi_case)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_multi_case->id != NULL) { g_object_unref (fo_multi_case->id); } fo_multi_case->id = new_id; /*g_object_notify (G_OBJECT (fo_multi_case), "id");*/ } /** * fo_multi_case_get_role: * @fo_fo: The @FoFo object. * * Gets the "role" property of @fo_fo. * * Return value: The "role" property value. **/ FoProperty* fo_multi_case_get_role (FoFo *fo_fo) { FoMultiCase *fo_multi_case = (FoMultiCase *) fo_fo; g_return_val_if_fail (fo_multi_case != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_CASE (fo_multi_case), NULL); return fo_multi_case->role; } /** * fo_multi_case_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_multi_case_set_role (FoFo *fo_fo, FoProperty *new_role) { FoMultiCase *fo_multi_case = (FoMultiCase *) fo_fo; g_return_if_fail (fo_multi_case != NULL); g_return_if_fail (FO_IS_MULTI_CASE (fo_multi_case)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_multi_case->role != NULL) { g_object_unref (fo_multi_case->role); } fo_multi_case->role = new_role; /*g_object_notify (G_OBJECT (fo_multi_case), "role");*/ } /** * fo_multi_case_get_source_document: * @fo_fo: The @FoFo object. * * Gets the "source-document" property of @fo_fo. * * Return value: The "source-document" property value. **/ FoProperty* fo_multi_case_get_source_document (FoFo *fo_fo) { FoMultiCase *fo_multi_case = (FoMultiCase *) fo_fo; g_return_val_if_fail (fo_multi_case != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_CASE (fo_multi_case), NULL); return fo_multi_case->source_document; } /** * fo_multi_case_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_multi_case_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoMultiCase *fo_multi_case = (FoMultiCase *) fo_fo; g_return_if_fail (fo_multi_case != NULL); g_return_if_fail (FO_IS_MULTI_CASE (fo_multi_case)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_multi_case->source_document != NULL) { g_object_unref (fo_multi_case->source_document); } fo_multi_case->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_multi_case), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-multi-case.h0000644000175000017500000000337110643167376014453 00000000000000/* Fo * fo-multi-case.h: 'multi-case' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MULTI_CASE_H__ #define __FO_MULTI_CASE_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoMultiCase FoMultiCase; typedef struct _FoMultiCaseClass FoMultiCaseClass; #define FO_TYPE_MULTI_CASE (fo_multi_case_get_type ()) #define FO_MULTI_CASE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_MULTI_CASE, FoMultiCase)) #define FO_MULTI_CASE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_MULTI_CASE, FoMultiCaseClass)) #define FO_IS_MULTI_CASE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_MULTI_CASE)) #define FO_IS_MULTI_CASE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_MULTI_CASE)) #define FO_MULTI_CASE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_MULTI_CASE, FoMultiCaseClass)) GType fo_multi_case_get_type (void) G_GNUC_CONST; FoFo * fo_multi_case_new (void); FoProperty * fo_multi_case_get_id (FoFo *fo_fo); void fo_multi_case_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_multi_case_get_role (FoFo *fo_fo); void fo_multi_case_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_multi_case_get_source_document (FoFo *fo_fo); void fo_multi_case_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_MULTI_CASE_H__ */ xmlroff-0.6.2/libfo/fo/fo-multi-case-private.h0000644000175000017500000000116510643167376016122 00000000000000/* Fo * fo-multi-case-private.h: Structures private to 'multi-case' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MULTI_CASE_PRIVATE_H__ #define __FO_MULTI_CASE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoMultiCase { FoFo parent_instance; FoProperty *id; FoProperty *role; FoProperty *source_document; }; struct _FoMultiCaseClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_MULTI_CASE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-multi-properties.c0000644000175000017500000003537510660107745015731 00000000000000/* Fo * fo-multi-properties.c: 'multi-properties' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-multi-properties-private.h" #include "property/fo-property-id.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "fo-neutral-fo.h" enum { PROP_0, PROP_ID, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_multi_properties_class_init (FoMultiPropertiesClass *klass); static void fo_multi_properties_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_multi_properties_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_multi_properties_finalize (GObject *object); static gboolean fo_multi_properties_validate_content (FoFo *fo, GError **error); static void fo_multi_properties_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_multi_properties_update_from_context (FoFo *fo, FoContext *context); static void fo_multi_properties_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_multi_properties_get_type: * * Register the #FoMultiProperties object type. * * Return value: #GType value of the #FoMultiProperties object type. **/ GType fo_multi_properties_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoMultiPropertiesClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_multi_properties_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoMultiProperties), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_neutral_fo_info = { NULL, NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoMultiProperties", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_NEUTRAL_FO, &fo_neutral_fo_info); } return object_type; } /** * fo_multi_properties_class_init: * @klass: #FoMultiPropertiesClass object to initialise. * * Implements #GClassInitFunc for #FoMultiPropertiesClass. **/ void fo_multi_properties_class_init (FoMultiPropertiesClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_multi_properties_finalize; object_class->get_property = fo_multi_properties_get_property; object_class->set_property = fo_multi_properties_set_property; fofo_class->validate_content = fo_multi_properties_validate_content; fofo_class->validate2 = fo_multi_properties_validate; fofo_class->update_from_context = fo_multi_properties_update_from_context; fofo_class->debug_dump_properties = fo_multi_properties_debug_dump_properties; g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_multi_properties_finalize: * @object: #FoMultiProperties object to finalize. * * Implements #GObjectFinalizeFunc for #FoMultiProperties. **/ void fo_multi_properties_finalize (GObject *object) { FoMultiProperties *fo_multi_properties; fo_multi_properties = FO_MULTI_PROPERTIES (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_multi_properties_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoMultiProperties. **/ void fo_multi_properties_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: g_value_set_object (value, G_OBJECT (fo_multi_properties_get_id (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_multi_properties_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_multi_properties_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_properties_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoMultiProperties. **/ void fo_multi_properties_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: fo_multi_properties_set_id (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_multi_properties_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_multi_properties_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_properties_new: * * Creates a new #FoMultiProperties initialized to default value. * * Return value: the new #FoMultiProperties. **/ FoFo* fo_multi_properties_new (void) { return FO_FO (g_object_new (fo_multi_properties_get_type (), NULL)); } /** * fo_multi_properties_validate_content: * @fo: #FoMultiProperties object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_multi_properties_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_MULTI_PROPERTIES (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_multi_properties_validate: * @fo: #FoMultiProperties object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_multi_properties_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoMultiProperties *fo_multi_properties; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTIES (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_multi_properties = FO_MULTI_PROPERTIES (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_multi_properties_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_multi_properties_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTIES (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_multi_properties_set_id (fo, fo_context_get_id (context)); fo_multi_properties_set_role (fo, fo_context_get_role (context)); fo_multi_properties_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_multi_properties_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_multi_properties_debug_dump_properties (FoFo *fo, gint depth) { FoMultiProperties *fo_multi_properties; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTIES (fo)); fo_multi_properties = FO_MULTI_PROPERTIES (fo); fo_object_debug_dump (fo_multi_properties->id, depth); fo_object_debug_dump (fo_multi_properties->role, depth); fo_object_debug_dump (fo_multi_properties->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_multi_properties_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty* fo_multi_properties_get_id (FoFo *fo_fo) { FoMultiProperties *fo_multi_properties = (FoMultiProperties *) fo_fo; g_return_val_if_fail (fo_multi_properties != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_PROPERTIES (fo_multi_properties), NULL); return fo_multi_properties->id; } /** * fo_multi_properties_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_multi_properties_set_id (FoFo *fo_fo, FoProperty *new_id) { FoMultiProperties *fo_multi_properties = (FoMultiProperties *) fo_fo; g_return_if_fail (fo_multi_properties != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTIES (fo_multi_properties)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_multi_properties->id != NULL) { g_object_unref (fo_multi_properties->id); } fo_multi_properties->id = new_id; /*g_object_notify (G_OBJECT (fo_multi_properties), "id");*/ } /** * fo_multi_properties_get_role: * @fo_fo: The @FoFo object. * * Gets the "role" property of @fo_fo. * * Return value: The "role" property value. **/ FoProperty* fo_multi_properties_get_role (FoFo *fo_fo) { FoMultiProperties *fo_multi_properties = (FoMultiProperties *) fo_fo; g_return_val_if_fail (fo_multi_properties != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_PROPERTIES (fo_multi_properties), NULL); return fo_multi_properties->role; } /** * fo_multi_properties_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_multi_properties_set_role (FoFo *fo_fo, FoProperty *new_role) { FoMultiProperties *fo_multi_properties = (FoMultiProperties *) fo_fo; g_return_if_fail (fo_multi_properties != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTIES (fo_multi_properties)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_multi_properties->role != NULL) { g_object_unref (fo_multi_properties->role); } fo_multi_properties->role = new_role; /*g_object_notify (G_OBJECT (fo_multi_properties), "role");*/ } /** * fo_multi_properties_get_source_document: * @fo_fo: The @FoFo object. * * Gets the "source-document" property of @fo_fo. * * Return value: The "source-document" property value. **/ FoProperty* fo_multi_properties_get_source_document (FoFo *fo_fo) { FoMultiProperties *fo_multi_properties = (FoMultiProperties *) fo_fo; g_return_val_if_fail (fo_multi_properties != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_PROPERTIES (fo_multi_properties), NULL); return fo_multi_properties->source_document; } /** * fo_multi_properties_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_multi_properties_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoMultiProperties *fo_multi_properties = (FoMultiProperties *) fo_fo; g_return_if_fail (fo_multi_properties != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTIES (fo_multi_properties)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_multi_properties->source_document != NULL) { g_object_unref (fo_multi_properties->source_document); } fo_multi_properties->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_multi_properties), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-multi-properties.h0000644000175000017500000000370610643167376015736 00000000000000/* Fo * fo-multi_properties.h: 'multi-properties' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MULTI_PROPERTIES_H__ #define __FO_MULTI_PROPERTIES_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoMultiProperties FoMultiProperties; typedef struct _FoMultiPropertiesClass FoMultiPropertiesClass; #define FO_TYPE_MULTI_PROPERTIES (fo_multi_properties_get_type ()) #define FO_MULTI_PROPERTIES(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_MULTI_PROPERTIES, FoMultiProperties)) #define FO_MULTI_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_MULTI_PROPERTIES, FoMultiPropertiesClass)) #define FO_IS_MULTI_PROPERTIES(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_MULTI_PROPERTIES)) #define FO_IS_MULTI_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_MULTI_PROPERTIES)) #define FO_MULTI_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_MULTI_PROPERTIES, FoMultiPropertiesClass)) GType fo_multi_properties_get_type (void) G_GNUC_CONST; FoFo * fo_multi_properties_new (void); FoProperty * fo_multi_properties_get_id (FoFo *fo_fo); void fo_multi_properties_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_multi_properties_get_role (FoFo *fo_fo); void fo_multi_properties_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_multi_properties_get_source_document (FoFo *fo_fo); void fo_multi_properties_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_MULTI_PROPERTIES_H__ */ xmlroff-0.6.2/libfo/fo/fo-multi-properties-private.h0000644000175000017500000000124010643167375017374 00000000000000/* Fo * fo-multi-properties-private.h: Structures private to 'multi-properties' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MULTI_PROPERTIES_PRIVATE_H__ #define __FO_MULTI_PROPERTIES_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoMultiProperties { FoFo parent_instance; FoProperty *id; FoProperty *role; FoProperty *source_document; }; struct _FoMultiPropertiesClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_MULTI_PROPERTIES_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-multi-property-set.c0000644000175000017500000002520410660107744016177 00000000000000/* Fo * fo-multi-property-set.c: 'multi-property-set' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-multi-property-set.h" #include "fo-multi-property-set-private.h" #include "property/fo-property-id.h" enum { PROP_0, PROP_ID }; static void fo_multi_property_set_class_init (FoMultiPropertySetClass *klass); static void fo_multi_property_set_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_multi_property_set_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_multi_property_set_finalize (GObject *object); static gboolean fo_multi_property_set_validate_content (FoFo *fo, GError **error); static void fo_multi_property_set_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_multi_property_set_update_from_context (FoFo *fo, FoContext *context); static void fo_multi_property_set_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_multi_property_set_get_type: * @void: * * Register the FoMultiPropertySet object type. * * Return value: GType value of the FoMultiPropertySet object type. **/ GType fo_multi_property_set_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoMultiPropertySetClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_multi_property_set_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoMultiPropertySet), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoMultiPropertySet", &object_info, 0); } return object_type; } /** * fo_multi_property_set_class_init: * @klass: FoMultiPropertySetClass object to initialise * * Implements GClassInitFunc for FoMultiPropertySetClass **/ void fo_multi_property_set_class_init (FoMultiPropertySetClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_multi_property_set_finalize; object_class->set_property = fo_multi_property_set_set_property; object_class->get_property = fo_multi_property_set_get_property; fofo_class->validate_content = fo_multi_property_set_validate_content; fofo_class->validate2 = fo_multi_property_set_validate; fofo_class->update_from_context = fo_multi_property_set_update_from_context; fofo_class->debug_dump_properties = fo_multi_property_set_debug_dump_properties; g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_multi_property_set_finalize: * @object: FoMultiPropertySet object to finalize * * Implements GObjectFinalizeFunc for FoMultiPropertySet **/ void fo_multi_property_set_finalize (GObject *object) { FoMultiPropertySet *fo_multi_property_set; fo_multi_property_set = FO_MULTI_PROPERTY_SET (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_multi_property_set_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoMultiPropertySet **/ void fo_multi_property_set_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: fo_multi_property_set_set_id (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_property_set_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoMultiPropertySet **/ void fo_multi_property_set_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: g_value_set_object (value, G_OBJECT (fo_multi_property_set_get_id (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_property_set_new: * * Creates a new #FoMultiPropertySet initialized to default value. * * Return value: the new #FoMultiPropertySet **/ FoFo* fo_multi_property_set_new (void) { return FO_FO (g_object_new (fo_multi_property_set_get_type (), NULL)); } /** * fo_multi_property_set_validate_content: * @fo: FoMultiPropertySet object to validate * @error: GError indicating error condition, if any * * Validate the content model, i.e., the structure, of the object. * Return value matches GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not **/ gboolean fo_multi_property_set_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_MULTI_PROPERTY_SET (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_multi_property_set_validate: * @fo: FoMultiPropertySet object to validate * @current_context: FoContext associated with current object * @parent_context: FoContext associated with parent FO * @error: Information about any error that has occurred * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_multi_property_set_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoMultiPropertySet *fo_multi_property_set; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTY_SET (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_multi_property_set = FO_MULTI_PROPERTY_SET (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_multi_property_set_update_from_context: * @fo: The #FoFo object * @context: The #FoContext object from which to update the properties of @fo * * Sets the properties of @fo to the corresponding property values in @context **/ void fo_multi_property_set_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTY_SET (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_multi_property_set_set_id (fo, fo_context_get_id (context)); } /** * fo_multi_property_set_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_multi_property_set_debug_dump_properties (FoFo *fo, gint depth) { FoMultiPropertySet *fo_multi_property_set; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTY_SET (fo)); fo_multi_property_set = FO_MULTI_PROPERTY_SET (fo); fo_object_debug_dump (fo_multi_property_set->id, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_multi_property_set_set_id: * @fo_fo: The @FoFo object * @new_id: The new "id" property value * * Sets the #id property of @multi_property_set to @new_id **/ void fo_multi_property_set_set_id (FoFo *fo_fo, FoProperty *new_id) { FoMultiPropertySet *fo_multi_property_set = (FoMultiPropertySet *) fo_fo; g_return_if_fail (fo_multi_property_set != NULL); g_return_if_fail (FO_IS_MULTI_PROPERTY_SET (fo_multi_property_set)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id) g_object_ref (G_OBJECT (new_id)); if (fo_multi_property_set->id) g_object_unref (G_OBJECT (fo_multi_property_set->id)); fo_multi_property_set->id = new_id; /*g_object_notify (G_OBJECT (fo_multi_property_set), "id");*/ } /** * fo_multi_property_set_get_id: * @fo_fo: The @FoFo object * * Gets the #id property of @multi_property_set * * Return value: The "id" property value **/ FoProperty* fo_multi_property_set_get_id (FoFo *fo_fo) { FoMultiPropertySet *fo_multi_property_set = (FoMultiPropertySet *) fo_fo; g_return_val_if_fail (fo_multi_property_set != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_PROPERTY_SET (fo_multi_property_set), NULL); return fo_multi_property_set->id; } xmlroff-0.6.2/libfo/fo/fo-multi-property-set.h0000644000175000017500000000305410643167376016213 00000000000000/* Fo * fo-multi_property_set.h: 'multi-property-set' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MULTI_PROPERTY_SET_H__ #define __FO_MULTI_PROPERTY_SET_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoMultiPropertySet FoMultiPropertySet; typedef struct _FoMultiPropertySetClass FoMultiPropertySetClass; #define FO_TYPE_MULTI_PROPERTY_SET (fo_multi_property_set_get_type ()) #define FO_MULTI_PROPERTY_SET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_MULTI_PROPERTY_SET, FoMultiPropertySet)) #define FO_MULTI_PROPERTY_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_MULTI_PROPERTY_SET, FoMultiPropertySetClass)) #define FO_IS_MULTI_PROPERTY_SET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_MULTI_PROPERTY_SET)) #define FO_IS_MULTI_PROPERTY_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_MULTI_PROPERTY_SET)) #define FO_MULTI_PROPERTY_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_MULTI_PROPERTY_SET, FoMultiPropertySetClass)) GType fo_multi_property_set_get_type (void) G_GNUC_CONST; FoFo *fo_multi_property_set_new (void); void fo_multi_property_set_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty *fo_multi_property_set_get_id (FoFo *fo_fo); G_END_DECLS #endif /* !__FO_MULTI_PROPERTY_SET_H__ */ xmlroff-0.6.2/libfo/fo/fo-multi-property-set-private.h0000644000175000017500000000075610643167376017671 00000000000000/* Fo * fo-multi-property-set-private.h: Structures private to 'multi-property-set' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include struct _FoMultiPropertySet { FoFo parent_instance; FoProperty *id; }; struct _FoMultiPropertySetClass { FoFoClass parent_class; }; xmlroff-0.6.2/libfo/fo/fo-multi-switch.c0000644000175000017500000003412310660107745015024 00000000000000/* Fo * fo-multi-switch.c: 'multi-switch' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-multi-switch-private.h" #include "property/fo-property-id.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "fo-neutral-fo.h" enum { PROP_0, PROP_ID, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_multi_switch_class_init (FoMultiSwitchClass *klass); static void fo_multi_switch_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_multi_switch_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_multi_switch_finalize (GObject *object); static gboolean fo_multi_switch_validate_content (FoFo *fo, GError **error); static void fo_multi_switch_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_multi_switch_update_from_context (FoFo *fo, FoContext *context); static void fo_multi_switch_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_multi_switch_get_type: * * Register the #FoMultiSwitch object type. * * Return value: #GType value of the #FoMultiSwitch object type. **/ GType fo_multi_switch_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoMultiSwitchClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_multi_switch_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoMultiSwitch), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_neutral_fo_info = { NULL, NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoMultiSwitch", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_NEUTRAL_FO, &fo_neutral_fo_info); } return object_type; } /** * fo_multi_switch_class_init: * @klass: #FoMultiSwitchClass object to initialise. * * Implements #GClassInitFunc for #FoMultiSwitchClass. **/ void fo_multi_switch_class_init (FoMultiSwitchClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_multi_switch_finalize; object_class->get_property = fo_multi_switch_get_property; object_class->set_property = fo_multi_switch_set_property; fofo_class->validate_content = fo_multi_switch_validate_content; fofo_class->validate2 = fo_multi_switch_validate; fofo_class->update_from_context = fo_multi_switch_update_from_context; fofo_class->debug_dump_properties = fo_multi_switch_debug_dump_properties; g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_multi_switch_finalize: * @object: #FoMultiSwitch object to finalize. * * Implements #GObjectFinalizeFunc for #FoMultiSwitch. **/ void fo_multi_switch_finalize (GObject *object) { FoMultiSwitch *fo_multi_switch; fo_multi_switch = FO_MULTI_SWITCH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_multi_switch_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoMultiSwitch. **/ void fo_multi_switch_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: g_value_set_object (value, G_OBJECT (fo_multi_switch_get_id (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_multi_switch_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_multi_switch_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_switch_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoMultiSwitch. **/ void fo_multi_switch_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: fo_multi_switch_set_id (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_multi_switch_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_multi_switch_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_switch_new: * * Creates a new #FoMultiSwitch initialized to default value. * * Return value: the new #FoMultiSwitch. **/ FoFo* fo_multi_switch_new (void) { return FO_FO (g_object_new (fo_multi_switch_get_type (), NULL)); } /** * fo_multi_switch_validate_content: * @fo: #FoMultiSwitch object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_multi_switch_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_MULTI_SWITCH (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_multi_switch_validate: * @fo: #FoMultiSwitch object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_multi_switch_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoMultiSwitch *fo_multi_switch; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_SWITCH (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_multi_switch = FO_MULTI_SWITCH (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_multi_switch_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_multi_switch_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_SWITCH (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_multi_switch_set_id (fo, fo_context_get_id (context)); fo_multi_switch_set_role (fo, fo_context_get_role (context)); fo_multi_switch_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_multi_switch_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_multi_switch_debug_dump_properties (FoFo *fo, gint depth) { FoMultiSwitch *fo_multi_switch; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_SWITCH (fo)); fo_multi_switch = FO_MULTI_SWITCH (fo); fo_object_debug_dump (fo_multi_switch->id, depth); fo_object_debug_dump (fo_multi_switch->role, depth); fo_object_debug_dump (fo_multi_switch->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_multi_switch_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty* fo_multi_switch_get_id (FoFo *fo_fo) { FoMultiSwitch *fo_multi_switch = (FoMultiSwitch *) fo_fo; g_return_val_if_fail (fo_multi_switch != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_SWITCH (fo_multi_switch), NULL); return fo_multi_switch->id; } /** * fo_multi_switch_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_multi_switch_set_id (FoFo *fo_fo, FoProperty *new_id) { FoMultiSwitch *fo_multi_switch = (FoMultiSwitch *) fo_fo; g_return_if_fail (fo_multi_switch != NULL); g_return_if_fail (FO_IS_MULTI_SWITCH (fo_multi_switch)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_multi_switch->id != NULL) { g_object_unref (fo_multi_switch->id); } fo_multi_switch->id = new_id; /*g_object_notify (G_OBJECT (fo_multi_switch), "id");*/ } /** * fo_multi_switch_get_role: * @fo_fo: The @FoFo object. * * Gets the "role" property of @fo_fo. * * Return value: The "role" property value. **/ FoProperty* fo_multi_switch_get_role (FoFo *fo_fo) { FoMultiSwitch *fo_multi_switch = (FoMultiSwitch *) fo_fo; g_return_val_if_fail (fo_multi_switch != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_SWITCH (fo_multi_switch), NULL); return fo_multi_switch->role; } /** * fo_multi_switch_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_multi_switch_set_role (FoFo *fo_fo, FoProperty *new_role) { FoMultiSwitch *fo_multi_switch = (FoMultiSwitch *) fo_fo; g_return_if_fail (fo_multi_switch != NULL); g_return_if_fail (FO_IS_MULTI_SWITCH (fo_multi_switch)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_multi_switch->role != NULL) { g_object_unref (fo_multi_switch->role); } fo_multi_switch->role = new_role; /*g_object_notify (G_OBJECT (fo_multi_switch), "role");*/ } /** * fo_multi_switch_get_source_document: * @fo_fo: The @FoFo object. * * Gets the "source-document" property of @fo_fo. * * Return value: The "source-document" property value. **/ FoProperty* fo_multi_switch_get_source_document (FoFo *fo_fo) { FoMultiSwitch *fo_multi_switch = (FoMultiSwitch *) fo_fo; g_return_val_if_fail (fo_multi_switch != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_SWITCH (fo_multi_switch), NULL); return fo_multi_switch->source_document; } /** * fo_multi_switch_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_multi_switch_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoMultiSwitch *fo_multi_switch = (FoMultiSwitch *) fo_fo; g_return_if_fail (fo_multi_switch != NULL); g_return_if_fail (FO_IS_MULTI_SWITCH (fo_multi_switch)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_multi_switch->source_document != NULL) { g_object_unref (fo_multi_switch->source_document); } fo_multi_switch->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_multi_switch), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-multi-switch.h0000644000175000017500000000347710643167375015047 00000000000000/* Fo * fo-multi-switch.h: 'multi-switch' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MULTI_SWITCH_H__ #define __FO_MULTI_SWITCH_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoMultiSwitch FoMultiSwitch; typedef struct _FoMultiSwitchClass FoMultiSwitchClass; #define FO_TYPE_MULTI_SWITCH (fo_multi_switch_get_type ()) #define FO_MULTI_SWITCH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_MULTI_SWITCH, FoMultiSwitch)) #define FO_MULTI_SWITCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_MULTI_SWITCH, FoMultiSwitchClass)) #define FO_IS_MULTI_SWITCH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_MULTI_SWITCH)) #define FO_IS_MULTI_SWITCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_MULTI_SWITCH)) #define FO_MULTI_SWITCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_MULTI_SWITCH, FoMultiSwitchClass)) GType fo_multi_switch_get_type (void) G_GNUC_CONST; FoFo * fo_multi_switch_new (void); FoProperty * fo_multi_switch_get_id (FoFo *fo_fo); void fo_multi_switch_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_multi_switch_get_role (FoFo *fo_fo); void fo_multi_switch_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_multi_switch_get_source_document (FoFo *fo_fo); void fo_multi_switch_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_MULTI_SWITCH_H__ */ xmlroff-0.6.2/libfo/fo/fo-multi-switch-private.h0000644000175000017500000000120510643167376016503 00000000000000/* Fo * fo-multi-switch-private.h: Structures private to 'multi-switch' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MULTI_SWITCH_PRIVATE_H__ #define __FO_MULTI_SWITCH_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoMultiSwitch { FoFo parent_instance; FoProperty *id; FoProperty *role; FoProperty *source_document; }; struct _FoMultiSwitchClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_MULTI_SWITCH_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-multi-toggle.c0000644000175000017500000003742210660107745015011 00000000000000/* Fo * fo-multi-toggle.c: 'multi-toggle' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-inline-fo.h" #include "fo/fo-multi-toggle-private.h" #include "property/fo-property-id.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_ID, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_multi_toggle_class_init (FoMultiToggleClass *klass); static void fo_multi_toggle_inline_fo_init (FoInlineFoIface *iface); static void fo_multi_toggle_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_multi_toggle_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_multi_toggle_finalize (GObject *object); static gboolean fo_multi_toggle_validate_content (FoFo *fo, GError **error); static void fo_multi_toggle_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_multi_toggle_update_from_context (FoFo *fo, FoContext *context); static void fo_multi_toggle_debug_dump_properties (FoFo *fo, gint depth); static void fo_multi_toggle_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_multi_toggle_get_type: * * Register the #FoMultiToggle object type. * * Return value: #GType value of the #FoMultiToggle object type. **/ GType fo_multi_toggle_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoMultiToggleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_multi_toggle_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoMultiToggle), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_multi_toggle_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoMultiToggle", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_multi_toggle_class_init: * @klass: #FoMultiToggleClass object to initialise. * * Implements #GClassInitFunc for #FoMultiToggleClass. **/ void fo_multi_toggle_class_init (FoMultiToggleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_multi_toggle_finalize; object_class->get_property = fo_multi_toggle_get_property; object_class->set_property = fo_multi_toggle_set_property; fofo_class->validate_content = fo_multi_toggle_validate_content; fofo_class->validate2 = fo_multi_toggle_validate; fofo_class->update_from_context = fo_multi_toggle_update_from_context; fofo_class->debug_dump_properties = fo_multi_toggle_debug_dump_properties; fofo_class->allow_mixed_content = TRUE; g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_multi_toggle_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_multi_toggle_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_multi_toggle_get_text_attr_list; } /** * fo_multi_toggle_finalize: * @object: #FoMultiToggle object to finalize. * * Implements #GObjectFinalizeFunc for #FoMultiToggle. **/ void fo_multi_toggle_finalize (GObject *object) { FoMultiToggle *fo_multi_toggle; fo_multi_toggle = FO_MULTI_TOGGLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_multi_toggle_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoMultiToggle. **/ void fo_multi_toggle_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: g_value_set_object (value, G_OBJECT (fo_multi_toggle_get_id (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_multi_toggle_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_multi_toggle_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_toggle_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoMultiToggle. **/ void fo_multi_toggle_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: fo_multi_toggle_set_id (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_multi_toggle_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_multi_toggle_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_multi_toggle_new: * * Creates a new #FoMultiToggle initialized to default value. * * Return value: the new #FoMultiToggle. **/ FoFo* fo_multi_toggle_new (void) { return FO_FO (g_object_new (fo_multi_toggle_get_type (), NULL)); } /** * fo_multi_toggle_validate_content: * @fo: #FoMultiToggle object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_multi_toggle_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_MULTI_TOGGLE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_multi_toggle_validate: * @fo: #FoMultiToggle object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_multi_toggle_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoMultiToggle *fo_multi_toggle; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_TOGGLE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_multi_toggle = FO_MULTI_TOGGLE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_multi_toggle_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_multi_toggle_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_TOGGLE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_multi_toggle_set_id (fo, fo_context_get_id (context)); fo_multi_toggle_set_role (fo, fo_context_get_role (context)); fo_multi_toggle_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_multi_toggle_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_multi_toggle_debug_dump_properties (FoFo *fo, gint depth) { FoMultiToggle *fo_multi_toggle; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_MULTI_TOGGLE (fo)); fo_multi_toggle = FO_MULTI_TOGGLE (fo); fo_object_debug_dump (fo_multi_toggle->id, depth); fo_object_debug_dump (fo_multi_toggle->role, depth); fo_object_debug_dump (fo_multi_toggle->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_multi_toggle_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_multi_toggle_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { FoNode *fo_child_node; FoMultiToggle *fo_multi_toggle; GList *my_attr_glist = NULL; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_MULTI_TOGGLE (fo_inline_fo)); fo_multi_toggle = FO_MULTI_TOGGLE (fo_inline_fo); fo_child_node = fo_node_first_child (FO_NODE (fo_inline_fo)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, &my_attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } /** * fo_multi_toggle_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty* fo_multi_toggle_get_id (FoFo *fo_fo) { FoMultiToggle *fo_multi_toggle = (FoMultiToggle *) fo_fo; g_return_val_if_fail (fo_multi_toggle != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_TOGGLE (fo_multi_toggle), NULL); return fo_multi_toggle->id; } /** * fo_multi_toggle_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_multi_toggle_set_id (FoFo *fo_fo, FoProperty *new_id) { FoMultiToggle *fo_multi_toggle = (FoMultiToggle *) fo_fo; g_return_if_fail (fo_multi_toggle != NULL); g_return_if_fail (FO_IS_MULTI_TOGGLE (fo_multi_toggle)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_multi_toggle->id != NULL) { g_object_unref (fo_multi_toggle->id); } fo_multi_toggle->id = new_id; /*g_object_notify (G_OBJECT (fo_multi_toggle), "id");*/ } /** * fo_multi_toggle_get_role: * @fo_fo: The @FoFo object. * * Gets the "role" property of @fo_fo. * * Return value: The "role" property value. **/ FoProperty* fo_multi_toggle_get_role (FoFo *fo_fo) { FoMultiToggle *fo_multi_toggle = (FoMultiToggle *) fo_fo; g_return_val_if_fail (fo_multi_toggle != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_TOGGLE (fo_multi_toggle), NULL); return fo_multi_toggle->role; } /** * fo_multi_toggle_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_multi_toggle_set_role (FoFo *fo_fo, FoProperty *new_role) { FoMultiToggle *fo_multi_toggle = (FoMultiToggle *) fo_fo; g_return_if_fail (fo_multi_toggle != NULL); g_return_if_fail (FO_IS_MULTI_TOGGLE (fo_multi_toggle)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_multi_toggle->role != NULL) { g_object_unref (fo_multi_toggle->role); } fo_multi_toggle->role = new_role; /*g_object_notify (G_OBJECT (fo_multi_toggle), "role");*/ } /** * fo_multi_toggle_get_source_document: * @fo_fo: The @FoFo object. * * Gets the "source-document" property of @fo_fo. * * Return value: The "source-document" property value. **/ FoProperty* fo_multi_toggle_get_source_document (FoFo *fo_fo) { FoMultiToggle *fo_multi_toggle = (FoMultiToggle *) fo_fo; g_return_val_if_fail (fo_multi_toggle != NULL, NULL); g_return_val_if_fail (FO_IS_MULTI_TOGGLE (fo_multi_toggle), NULL); return fo_multi_toggle->source_document; } /** * fo_multi_toggle_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_multi_toggle_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoMultiToggle *fo_multi_toggle = (FoMultiToggle *) fo_fo; g_return_if_fail (fo_multi_toggle != NULL); g_return_if_fail (FO_IS_MULTI_TOGGLE (fo_multi_toggle)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_multi_toggle->source_document != NULL) { g_object_unref (fo_multi_toggle->source_document); } fo_multi_toggle->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_multi_toggle), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-multi-toggle.h0000644000175000017500000000347710643167376015030 00000000000000/* Fo * fo-multi-toggle.h: 'multi-toggle' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MULTI_TOGGLE_H__ #define __FO_MULTI_TOGGLE_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoMultiToggle FoMultiToggle; typedef struct _FoMultiToggleClass FoMultiToggleClass; #define FO_TYPE_MULTI_TOGGLE (fo_multi_toggle_get_type ()) #define FO_MULTI_TOGGLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_MULTI_TOGGLE, FoMultiToggle)) #define FO_MULTI_TOGGLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_MULTI_TOGGLE, FoMultiToggleClass)) #define FO_IS_MULTI_TOGGLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_MULTI_TOGGLE)) #define FO_IS_MULTI_TOGGLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_MULTI_TOGGLE)) #define FO_MULTI_TOGGLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_MULTI_TOGGLE, FoMultiToggleClass)) GType fo_multi_toggle_get_type (void) G_GNUC_CONST; FoFo * fo_multi_toggle_new (void); FoProperty * fo_multi_toggle_get_id (FoFo *fo_fo); void fo_multi_toggle_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_multi_toggle_get_role (FoFo *fo_fo); void fo_multi_toggle_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_multi_toggle_get_source_document (FoFo *fo_fo); void fo_multi_toggle_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_MULTI_TOGGLE_H__ */ xmlroff-0.6.2/libfo/fo/fo-multi-toggle-private.h0000644000175000017500000000120510643167376016463 00000000000000/* Fo * fo-multi-toggle-private.h: Structures private to 'multi-toggle' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_MULTI_TOGGLE_PRIVATE_H__ #define __FO_MULTI_TOGGLE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoMultiToggle { FoFo parent_instance; FoProperty *id; FoProperty *role; FoProperty *source_document; }; struct _FoMultiToggleClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_MULTI_TOGGLE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-page-number.c0000644000175000017500000042272110660107744014601 00000000000000/* Fo * fo-page-number.c: 'page-number' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-inline-fo.h" #include "fo-page-number.h" #include "fo-page-number-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-common-font.h" #include "property/fo-property-alignment-adjust.h" #include "property/fo-property-alignment-baseline.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-baseline-shift.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-score-spaces.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" #include "property/fo-property-wrap-option.h" enum { PROP_0, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_DOMINANT_BASELINE, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_ID, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SCORE_SPACES, PROP_SOURCE_DOCUMENT, PROP_SPACE_END, PROP_SPACE_START, PROP_WRAP_OPTION }; static void fo_page_number_class_init (FoPageNumberClass *klass); static void fo_page_number_inline_fo_init (FoInlineFoIface *iface); static void fo_page_number_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_page_number_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_page_number_finalize (GObject *object); static gboolean fo_page_number_validate_content (FoFo *fo, GError **error); static void fo_page_number_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_page_number_update_from_context (FoFo *fo, FoContext *context); static void fo_page_number_debug_dump_properties (FoFo *fo, gint depth); static void fo_page_number_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_page_number_get_type: * * Register the #FoPageNumber object type. * * Return value: #GType value of the #FoPageNumber object type. **/ GType fo_page_number_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPageNumberClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_page_number_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPageNumber), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_page_number_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoPageNumber", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_page_number_class_init: * @klass: #FoPageNumberClass object to initialise. * * Implements #GClassInitFunc for #FoPageNumberClass. **/ void fo_page_number_class_init (FoPageNumberClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_page_number_finalize; object_class->get_property = fo_page_number_get_property; object_class->set_property = fo_page_number_set_property; fofo_class->validate_content = fo_page_number_validate_content; fofo_class->validate2 = fo_page_number_validate; fofo_class->update_from_context = fo_page_number_update_from_context; fofo_class->debug_dump_properties = fo_page_number_debug_dump_properties; g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCORE_SPACES, g_param_spec_object ("score-spaces", _("Score Spaces"), _("Score Spaces property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRAP_OPTION, g_param_spec_object ("wrap-option", _("Wrap Option"), _("Wrap Option property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_page_number_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_page_number_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_page_number_get_text_attr_list; } /** * fo_page_number_finalize: * @object: #FoPageNumber object to finalize. * * Implements #GObjectFinalizeFunc for #FoPageNumber. **/ void fo_page_number_finalize (GObject *object) { FoPageNumber *fo_page_number; fo_page_number = FO_PAGE_NUMBER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_page_number_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoPageNumber. **/ void fo_page_number_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_page_number_get_alignment_adjust (fo_fo))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_page_number_get_alignment_baseline (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_page_number_get_background_image (fo_fo))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_page_number_get_baseline_shift (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_get_border_top_width (fo_fo))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_page_number_get_dominant_baseline (fo_fo))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_page_number_get_font_family (fo_fo))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_page_number_get_font_size (fo_fo))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_page_number_get_font_stretch (fo_fo))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_font_style (fo_fo))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_page_number_get_font_variant (fo_fo))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_page_number_get_font_weight (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_page_number_get_id (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_page_number_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_page_number_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_page_number_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_page_number_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_page_number_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_page_number_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_page_number_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_page_number_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_page_number_get_line_height (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_page_number_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_page_number_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_page_number_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_page_number_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_page_number_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_page_number_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_page_number_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_page_number_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_page_number_get_role (fo_fo))); break; case PROP_SCORE_SPACES: g_value_set_object (value, G_OBJECT (fo_page_number_get_score_spaces (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_page_number_get_source_document (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_page_number_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_page_number_get_space_start (fo_fo))); break; case PROP_WRAP_OPTION: g_value_set_object (value, G_OBJECT (fo_page_number_get_wrap_option (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_page_number_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoPageNumber. **/ void fo_page_number_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: fo_page_number_set_alignment_adjust (fo_fo, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_page_number_set_alignment_baseline (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_page_number_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_page_number_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_page_number_set_baseline_shift (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_page_number_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_page_number_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_page_number_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_page_number_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_page_number_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_page_number_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_page_number_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_page_number_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_page_number_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_page_number_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_page_number_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_page_number_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_page_number_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_page_number_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_page_number_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_page_number_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_page_number_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_page_number_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_page_number_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_page_number_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_page_number_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_page_number_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_page_number_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_page_number_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_page_number_set_dominant_baseline (fo_fo, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_page_number_set_font_family (fo_fo, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_page_number_set_font_size (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_page_number_set_font_stretch (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_page_number_set_font_style (fo_fo, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_page_number_set_font_variant (fo_fo, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_page_number_set_font_weight (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_page_number_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_page_number_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_page_number_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_page_number_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_page_number_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_page_number_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_page_number_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_page_number_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_page_number_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_page_number_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_page_number_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_page_number_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_page_number_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_page_number_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_page_number_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_page_number_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_page_number_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_page_number_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_page_number_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SCORE_SPACES: fo_page_number_set_score_spaces (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_page_number_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_page_number_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_page_number_set_space_start (fo_fo, g_value_get_object (value)); break; case PROP_WRAP_OPTION: fo_page_number_set_wrap_option (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_page_number_new: * * Creates a new #FoPageNumber initialized to default value. * * Return value: the new #FoPageNumber. **/ FoFo* fo_page_number_new (void) { return FO_FO (g_object_new (fo_page_number_get_type (), NULL)); } /** * fo_page_number_validate_content: * @fo: #FoPageNumber object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_page_number_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_page_number_validate: * @fo: #FoPageNumber object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_page_number_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoPageNumber *fo_page_number; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_page_number = FO_PAGE_NUMBER (fo); fo_context_util_dominant_baseline_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_page_number_set_line_height (fo, fo_property_line_height_resolve (fo_page_number->line_height, fo_page_number->font_size)); } /** * fo_page_number_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_page_number_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_page_number_set_alignment_adjust (fo, fo_context_get_alignment_adjust (context)); fo_page_number_set_alignment_baseline (fo, fo_context_get_alignment_baseline (context)); fo_page_number_set_background_color (fo, fo_context_get_background_color (context)); fo_page_number_set_background_image (fo, fo_context_get_background_image (context)); fo_page_number_set_baseline_shift (fo, fo_context_get_baseline_shift (context)); fo_page_number_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_page_number_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_page_number_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_page_number_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_page_number_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_page_number_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_page_number_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_page_number_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_page_number_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_page_number_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_page_number_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_page_number_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_page_number_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_page_number_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_page_number_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_page_number_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_page_number_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_page_number_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_page_number_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_page_number_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_page_number_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_page_number_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_page_number_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_page_number_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_page_number_set_dominant_baseline (fo, fo_context_get_dominant_baseline (context)); fo_page_number_set_font_family (fo, fo_context_get_font_family (context)); fo_page_number_set_font_size (fo, fo_context_get_font_size (context)); fo_page_number_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_page_number_set_font_style (fo, fo_context_get_font_style (context)); fo_page_number_set_font_variant (fo, fo_context_get_font_variant (context)); fo_page_number_set_font_weight (fo, fo_context_get_font_weight (context)); fo_page_number_set_id (fo, fo_context_get_id (context)); fo_page_number_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_page_number_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_page_number_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_page_number_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_page_number_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_page_number_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_page_number_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_page_number_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_page_number_set_line_height (fo, fo_context_get_line_height (context)); fo_page_number_set_padding_after (fo, fo_context_get_padding_after (context)); fo_page_number_set_padding_before (fo, fo_context_get_padding_before (context)); fo_page_number_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_page_number_set_padding_end (fo, fo_context_get_padding_end (context)); fo_page_number_set_padding_left (fo, fo_context_get_padding_left (context)); fo_page_number_set_padding_right (fo, fo_context_get_padding_right (context)); fo_page_number_set_padding_start (fo, fo_context_get_padding_start (context)); fo_page_number_set_padding_top (fo, fo_context_get_padding_top (context)); fo_page_number_set_role (fo, fo_context_get_role (context)); fo_page_number_set_score_spaces (fo, fo_context_get_score_spaces (context)); fo_page_number_set_source_document (fo, fo_context_get_source_document (context)); fo_page_number_set_space_end (fo, fo_context_get_space_end (context)); fo_page_number_set_space_start (fo, fo_context_get_space_start (context)); fo_page_number_set_wrap_option (fo, fo_context_get_wrap_option (context)); } /** * fo_page_number_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_page_number_debug_dump_properties (FoFo *fo, gint depth) { FoPageNumber *fo_page_number; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo)); fo_page_number = FO_PAGE_NUMBER (fo); fo_object_debug_dump (fo_page_number->alignment_adjust, depth); fo_object_debug_dump (fo_page_number->alignment_baseline, depth); fo_object_debug_dump (fo_page_number->background_color, depth); fo_object_debug_dump (fo_page_number->background_image, depth); fo_object_debug_dump (fo_page_number->baseline_shift, depth); fo_object_debug_dump (fo_page_number->border_after_color, depth); fo_object_debug_dump (fo_page_number->border_after_style, depth); fo_object_debug_dump (fo_page_number->border_after_width, depth); fo_object_debug_dump (fo_page_number->border_before_color, depth); fo_object_debug_dump (fo_page_number->border_before_style, depth); fo_object_debug_dump (fo_page_number->border_before_width, depth); fo_object_debug_dump (fo_page_number->border_bottom_color, depth); fo_object_debug_dump (fo_page_number->border_bottom_style, depth); fo_object_debug_dump (fo_page_number->border_bottom_width, depth); fo_object_debug_dump (fo_page_number->border_end_color, depth); fo_object_debug_dump (fo_page_number->border_end_style, depth); fo_object_debug_dump (fo_page_number->border_end_width, depth); fo_object_debug_dump (fo_page_number->border_left_color, depth); fo_object_debug_dump (fo_page_number->border_left_style, depth); fo_object_debug_dump (fo_page_number->border_left_width, depth); fo_object_debug_dump (fo_page_number->border_right_color, depth); fo_object_debug_dump (fo_page_number->border_right_style, depth); fo_object_debug_dump (fo_page_number->border_right_width, depth); fo_object_debug_dump (fo_page_number->border_start_color, depth); fo_object_debug_dump (fo_page_number->border_start_style, depth); fo_object_debug_dump (fo_page_number->border_start_width, depth); fo_object_debug_dump (fo_page_number->border_top_color, depth); fo_object_debug_dump (fo_page_number->border_top_style, depth); fo_object_debug_dump (fo_page_number->border_top_width, depth); fo_object_debug_dump (fo_page_number->dominant_baseline, depth); fo_object_debug_dump (fo_page_number->font_family, depth); fo_object_debug_dump (fo_page_number->font_size, depth); fo_object_debug_dump (fo_page_number->font_stretch, depth); fo_object_debug_dump (fo_page_number->font_style, depth); fo_object_debug_dump (fo_page_number->font_variant, depth); fo_object_debug_dump (fo_page_number->font_weight, depth); fo_object_debug_dump (fo_page_number->id, depth); fo_object_debug_dump (fo_page_number->keep_with_next, depth); fo_object_debug_dump (fo_page_number->keep_with_next_within_column, depth); fo_object_debug_dump (fo_page_number->keep_with_next_within_line, depth); fo_object_debug_dump (fo_page_number->keep_with_next_within_page, depth); fo_object_debug_dump (fo_page_number->keep_with_previous, depth); fo_object_debug_dump (fo_page_number->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_page_number->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_page_number->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_page_number->line_height, depth); fo_object_debug_dump (fo_page_number->padding_after, depth); fo_object_debug_dump (fo_page_number->padding_before, depth); fo_object_debug_dump (fo_page_number->padding_bottom, depth); fo_object_debug_dump (fo_page_number->padding_end, depth); fo_object_debug_dump (fo_page_number->padding_left, depth); fo_object_debug_dump (fo_page_number->padding_right, depth); fo_object_debug_dump (fo_page_number->padding_start, depth); fo_object_debug_dump (fo_page_number->padding_top, depth); fo_object_debug_dump (fo_page_number->role, depth); fo_object_debug_dump (fo_page_number->score_spaces, depth); fo_object_debug_dump (fo_page_number->source_document, depth); fo_object_debug_dump (fo_page_number->space_end, depth); fo_object_debug_dump (fo_page_number->space_start, depth); fo_object_debug_dump (fo_page_number->wrap_option, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_page_number_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_page_number_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level) { FoNode *fo_child_node; FoPageNumber *fo_page_number; GList *my_attr_glist = NULL; gint start_index, end_index; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_inline_fo)); fo_page_number = FO_PAGE_NUMBER (fo_inline_fo); start_index = text->len; fo_child_node = fo_node_first_child (FO_NODE (fo_inline_fo)); while (fo_child_node) { fo_inline_fo_get_text_attr_list (FO_FO (fo_child_node), fo_doc, text, &my_attr_glist, debug_level); fo_child_node = fo_node_next_sibling (fo_child_node); } end_index = text->len; if (start_index != end_index) { PangoAttribute *pango_attr; my_attr_glist = g_list_concat (my_attr_glist, fo_property_common_font_get_pango_attrs (fo_page_number->font_family, fo_page_number->font_size, fo_page_number->font_stretch, fo_page_number->font_style, fo_page_number->font_variant, fo_page_number->font_weight, start_index, end_index)); pango_attr = fo_property_text_property_new_attr (fo_page_number->baseline_shift); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); /* pango_attr = fo_property_text_property_new_attr (fo_page_number->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ if (FO_IS_COLOR (fo_property_get_value (fo_page_number->background_color))) { pango_attr = fo_property_text_property_new_attr (fo_page_number->background_color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); } /* pango_attr = fo_property_text_property_new_attr (fo_page_number->alignment_adjust); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_page_number->alignment_baseline); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr_from_context (fo_page_number->dominant_baseline, fo_fo_get_context (fo_inline_fo)); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_page_number->keep_with_next_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_page_number->keep_with_previous_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ } *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } /** * fo_page_number_get_alignment_adjust: * @fo_fo: The @FoFo object * * Gets the "alignment-adjust" property of @fo_fo * * Return value: The "alignment-adjust" property value **/ FoProperty* fo_page_number_get_alignment_adjust (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->alignment_adjust; } /** * fo_page_number_set_alignment_adjust: * @fo_fo: The #FoFo object * @new_alignment_adjust: The new "alignment-adjust" property value * * Sets the "alignment-adjust" property of @fo_fo to @new_alignment_adjust **/ void fo_page_number_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_page_number->alignment_adjust != NULL) { g_object_unref (fo_page_number->alignment_adjust); } fo_page_number->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_page_number), "alignment-adjust");*/ } /** * fo_page_number_get_alignment_baseline: * @fo_fo: The @FoFo object * * Gets the "alignment-baseline" property of @fo_fo * * Return value: The "alignment-baseline" property value **/ FoProperty* fo_page_number_get_alignment_baseline (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->alignment_baseline; } /** * fo_page_number_set_alignment_baseline: * @fo_fo: The #FoFo object * @new_alignment_baseline: The new "alignment-baseline" property value * * Sets the "alignment-baseline" property of @fo_fo to @new_alignment_baseline **/ void fo_page_number_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_page_number->alignment_baseline != NULL) { g_object_unref (fo_page_number->alignment_baseline); } fo_page_number->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_page_number), "alignment-baseline");*/ } /** * fo_page_number_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty* fo_page_number_get_background_color (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->background_color; } /** * fo_page_number_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_page_number_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_page_number->background_color != NULL) { g_object_unref (fo_page_number->background_color); } fo_page_number->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_page_number), "background-color");*/ } /** * fo_page_number_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_page_number_get_background_image (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->background_image; } /** * fo_page_number_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_page_number_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_page_number->background_image != NULL) { g_object_unref (fo_page_number->background_image); } fo_page_number->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_page_number), "background-image");*/ } /** * fo_page_number_get_baseline_shift: * @fo_fo: The @FoFo object * * Gets the "baseline-shift" property of @fo_fo * * Return value: The "baseline-shift" property value **/ FoProperty* fo_page_number_get_baseline_shift (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->baseline_shift; } /** * fo_page_number_set_baseline_shift: * @fo_fo: The #FoFo object * @new_baseline_shift: The new "baseline-shift" property value * * Sets the "baseline-shift" property of @fo_fo to @new_baseline_shift **/ void fo_page_number_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_page_number->baseline_shift != NULL) { g_object_unref (fo_page_number->baseline_shift); } fo_page_number->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_page_number), "baseline-shift");*/ } /** * fo_page_number_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_page_number_get_border_after_color (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_after_color; } /** * fo_page_number_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_page_number_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_page_number->border_after_color != NULL) { g_object_unref (fo_page_number->border_after_color); } fo_page_number->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_page_number), "border-after-color");*/ } /** * fo_page_number_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_page_number_get_border_after_style (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_after_style; } /** * fo_page_number_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_page_number_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_page_number->border_after_style != NULL) { g_object_unref (fo_page_number->border_after_style); } fo_page_number->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_page_number), "border-after-style");*/ } /** * fo_page_number_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_page_number_get_border_after_width (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_after_width; } /** * fo_page_number_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_page_number_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_page_number->border_after_width != NULL) { g_object_unref (fo_page_number->border_after_width); } fo_page_number->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_page_number), "border-after-width");*/ } /** * fo_page_number_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_page_number_get_border_before_color (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_before_color; } /** * fo_page_number_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_page_number_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_page_number->border_before_color != NULL) { g_object_unref (fo_page_number->border_before_color); } fo_page_number->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_page_number), "border-before-color");*/ } /** * fo_page_number_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_page_number_get_border_before_style (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_before_style; } /** * fo_page_number_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_page_number_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_page_number->border_before_style != NULL) { g_object_unref (fo_page_number->border_before_style); } fo_page_number->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_page_number), "border-before-style");*/ } /** * fo_page_number_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_page_number_get_border_before_width (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_before_width; } /** * fo_page_number_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_page_number_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_page_number->border_before_width != NULL) { g_object_unref (fo_page_number->border_before_width); } fo_page_number->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_page_number), "border-before-width");*/ } /** * fo_page_number_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_page_number_get_border_bottom_color (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_bottom_color; } /** * fo_page_number_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_page_number_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_page_number->border_bottom_color != NULL) { g_object_unref (fo_page_number->border_bottom_color); } fo_page_number->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_page_number), "border-bottom-color");*/ } /** * fo_page_number_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_page_number_get_border_bottom_style (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_bottom_style; } /** * fo_page_number_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_page_number_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_page_number->border_bottom_style != NULL) { g_object_unref (fo_page_number->border_bottom_style); } fo_page_number->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_page_number), "border-bottom-style");*/ } /** * fo_page_number_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_page_number_get_border_bottom_width (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_bottom_width; } /** * fo_page_number_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_page_number_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_page_number->border_bottom_width != NULL) { g_object_unref (fo_page_number->border_bottom_width); } fo_page_number->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_page_number), "border-bottom-width");*/ } /** * fo_page_number_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_page_number_get_border_end_color (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_end_color; } /** * fo_page_number_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_page_number_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_page_number->border_end_color != NULL) { g_object_unref (fo_page_number->border_end_color); } fo_page_number->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_page_number), "border-end-color");*/ } /** * fo_page_number_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_page_number_get_border_end_style (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_end_style; } /** * fo_page_number_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_page_number_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_page_number->border_end_style != NULL) { g_object_unref (fo_page_number->border_end_style); } fo_page_number->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_page_number), "border-end-style");*/ } /** * fo_page_number_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_page_number_get_border_end_width (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_end_width; } /** * fo_page_number_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_page_number_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_page_number->border_end_width != NULL) { g_object_unref (fo_page_number->border_end_width); } fo_page_number->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_page_number), "border-end-width");*/ } /** * fo_page_number_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_page_number_get_border_left_color (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_left_color; } /** * fo_page_number_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_page_number_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_page_number->border_left_color != NULL) { g_object_unref (fo_page_number->border_left_color); } fo_page_number->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_page_number), "border-left-color");*/ } /** * fo_page_number_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_page_number_get_border_left_style (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_left_style; } /** * fo_page_number_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_page_number_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_page_number->border_left_style != NULL) { g_object_unref (fo_page_number->border_left_style); } fo_page_number->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_page_number), "border-left-style");*/ } /** * fo_page_number_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_page_number_get_border_left_width (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_left_width; } /** * fo_page_number_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_page_number_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_page_number->border_left_width != NULL) { g_object_unref (fo_page_number->border_left_width); } fo_page_number->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_page_number), "border-left-width");*/ } /** * fo_page_number_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_page_number_get_border_right_color (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_right_color; } /** * fo_page_number_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_page_number_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_page_number->border_right_color != NULL) { g_object_unref (fo_page_number->border_right_color); } fo_page_number->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_page_number), "border-right-color");*/ } /** * fo_page_number_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_page_number_get_border_right_style (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_right_style; } /** * fo_page_number_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_page_number_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_page_number->border_right_style != NULL) { g_object_unref (fo_page_number->border_right_style); } fo_page_number->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_page_number), "border-right-style");*/ } /** * fo_page_number_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_page_number_get_border_right_width (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_right_width; } /** * fo_page_number_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_page_number_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_page_number->border_right_width != NULL) { g_object_unref (fo_page_number->border_right_width); } fo_page_number->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_page_number), "border-right-width");*/ } /** * fo_page_number_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_page_number_get_border_start_color (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_start_color; } /** * fo_page_number_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_page_number_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_page_number->border_start_color != NULL) { g_object_unref (fo_page_number->border_start_color); } fo_page_number->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_page_number), "border-start-color");*/ } /** * fo_page_number_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_page_number_get_border_start_style (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_start_style; } /** * fo_page_number_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_page_number_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_page_number->border_start_style != NULL) { g_object_unref (fo_page_number->border_start_style); } fo_page_number->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_page_number), "border-start-style");*/ } /** * fo_page_number_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_page_number_get_border_start_width (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_start_width; } /** * fo_page_number_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_page_number_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_page_number->border_start_width != NULL) { g_object_unref (fo_page_number->border_start_width); } fo_page_number->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_page_number), "border-start-width");*/ } /** * fo_page_number_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_page_number_get_border_top_color (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_top_color; } /** * fo_page_number_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_page_number_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_page_number->border_top_color != NULL) { g_object_unref (fo_page_number->border_top_color); } fo_page_number->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_page_number), "border-top-color");*/ } /** * fo_page_number_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_page_number_get_border_top_style (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_top_style; } /** * fo_page_number_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_page_number_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_page_number->border_top_style != NULL) { g_object_unref (fo_page_number->border_top_style); } fo_page_number->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_page_number), "border-top-style");*/ } /** * fo_page_number_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_page_number_get_border_top_width (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->border_top_width; } /** * fo_page_number_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_page_number_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_page_number->border_top_width != NULL) { g_object_unref (fo_page_number->border_top_width); } fo_page_number->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_page_number), "border-top-width");*/ } /** * fo_page_number_get_dominant_baseline: * @fo_fo: The @FoFo object * * Gets the "dominant-baseline" property of @fo_fo * * Return value: The "dominant-baseline" property value **/ FoProperty* fo_page_number_get_dominant_baseline (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->dominant_baseline; } /** * fo_page_number_set_dominant_baseline: * @fo_fo: The #FoFo object * @new_dominant_baseline: The new "dominant-baseline" property value * * Sets the "dominant-baseline" property of @fo_fo to @new_dominant_baseline **/ void fo_page_number_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_page_number->dominant_baseline != NULL) { g_object_unref (fo_page_number->dominant_baseline); } fo_page_number->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_page_number), "dominant-baseline");*/ } /** * fo_page_number_get_font_family: * @fo_fo: The @FoFo object * * Gets the "font-family" property of @fo_fo * * Return value: The "font-family" property value **/ FoProperty* fo_page_number_get_font_family (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->font_family; } /** * fo_page_number_set_font_family: * @fo_fo: The #FoFo object * @new_font_family: The new "font-family" property value * * Sets the "font-family" property of @fo_fo to @new_font_family **/ void fo_page_number_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family != NULL) { g_object_ref (new_font_family); } if (fo_page_number->font_family != NULL) { g_object_unref (fo_page_number->font_family); } fo_page_number->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_page_number), "font-family");*/ } /** * fo_page_number_get_font_size: * @fo_fo: The @FoFo object * * Gets the "font-size" property of @fo_fo * * Return value: The "font-size" property value **/ FoProperty* fo_page_number_get_font_size (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->font_size; } /** * fo_page_number_set_font_size: * @fo_fo: The #FoFo object * @new_font_size: The new "font-size" property value * * Sets the "font-size" property of @fo_fo to @new_font_size **/ void fo_page_number_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size != NULL) { g_object_ref (new_font_size); } if (fo_page_number->font_size != NULL) { g_object_unref (fo_page_number->font_size); } fo_page_number->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_page_number), "font-size");*/ } /** * fo_page_number_get_font_stretch: * @fo_fo: The @FoFo object * * Gets the "font-stretch" property of @fo_fo * * Return value: The "font-stretch" property value **/ FoProperty* fo_page_number_get_font_stretch (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->font_stretch; } /** * fo_page_number_set_font_stretch: * @fo_fo: The #FoFo object * @new_font_stretch: The new "font-stretch" property value * * Sets the "font-stretch" property of @fo_fo to @new_font_stretch **/ void fo_page_number_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch != NULL) { g_object_ref (new_font_stretch); } if (fo_page_number->font_stretch != NULL) { g_object_unref (fo_page_number->font_stretch); } fo_page_number->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_page_number), "font-stretch");*/ } /** * fo_page_number_get_font_style: * @fo_fo: The @FoFo object * * Gets the "font-style" property of @fo_fo * * Return value: The "font-style" property value **/ FoProperty* fo_page_number_get_font_style (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->font_style; } /** * fo_page_number_set_font_style: * @fo_fo: The #FoFo object * @new_font_style: The new "font-style" property value * * Sets the "font-style" property of @fo_fo to @new_font_style **/ void fo_page_number_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style != NULL) { g_object_ref (new_font_style); } if (fo_page_number->font_style != NULL) { g_object_unref (fo_page_number->font_style); } fo_page_number->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_page_number), "font-style");*/ } /** * fo_page_number_get_font_variant: * @fo_fo: The @FoFo object * * Gets the "font-variant" property of @fo_fo * * Return value: The "font-variant" property value **/ FoProperty* fo_page_number_get_font_variant (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->font_variant; } /** * fo_page_number_set_font_variant: * @fo_fo: The #FoFo object * @new_font_variant: The new "font-variant" property value * * Sets the "font-variant" property of @fo_fo to @new_font_variant **/ void fo_page_number_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant != NULL) { g_object_ref (new_font_variant); } if (fo_page_number->font_variant != NULL) { g_object_unref (fo_page_number->font_variant); } fo_page_number->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_page_number), "font-variant");*/ } /** * fo_page_number_get_font_weight: * @fo_fo: The @FoFo object * * Gets the "font-weight" property of @fo_fo * * Return value: The "font-weight" property value **/ FoProperty* fo_page_number_get_font_weight (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->font_weight; } /** * fo_page_number_set_font_weight: * @fo_fo: The #FoFo object * @new_font_weight: The new "font-weight" property value * * Sets the "font-weight" property of @fo_fo to @new_font_weight **/ void fo_page_number_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight != NULL) { g_object_ref (new_font_weight); } if (fo_page_number->font_weight != NULL) { g_object_unref (fo_page_number->font_weight); } fo_page_number->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_page_number), "font-weight");*/ } /** * fo_page_number_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_page_number_get_id (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->id; } /** * fo_page_number_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_page_number_set_id (FoFo *fo_fo, FoProperty *new_id) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_page_number->id != NULL) { g_object_unref (fo_page_number->id); } fo_page_number->id = new_id; /*g_object_notify (G_OBJECT (fo_page_number), "id");*/ } /** * fo_page_number_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_page_number_get_keep_with_next (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->keep_with_next; } /** * fo_page_number_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_page_number_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_page_number->keep_with_next != NULL) { g_object_unref (fo_page_number->keep_with_next); } fo_page_number->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_page_number), "keep-with-next");*/ } /** * fo_page_number_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_page_number_get_keep_with_next_within_column (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->keep_with_next_within_column; } /** * fo_page_number_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_page_number_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_page_number->keep_with_next_within_column != NULL) { g_object_unref (fo_page_number->keep_with_next_within_column); } fo_page_number->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_page_number), "keep-with-next-within-column");*/ } /** * fo_page_number_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_page_number_get_keep_with_next_within_line (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->keep_with_next_within_line; } /** * fo_page_number_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_page_number_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_page_number->keep_with_next_within_line != NULL) { g_object_unref (fo_page_number->keep_with_next_within_line); } fo_page_number->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_page_number), "keep-with-next-within-line");*/ } /** * fo_page_number_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_page_number_get_keep_with_next_within_page (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->keep_with_next_within_page; } /** * fo_page_number_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_page_number_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_page_number->keep_with_next_within_page != NULL) { g_object_unref (fo_page_number->keep_with_next_within_page); } fo_page_number->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_page_number), "keep-with-next-within-page");*/ } /** * fo_page_number_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_page_number_get_keep_with_previous (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->keep_with_previous; } /** * fo_page_number_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_page_number_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_page_number->keep_with_previous != NULL) { g_object_unref (fo_page_number->keep_with_previous); } fo_page_number->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_page_number), "keep-with-previous");*/ } /** * fo_page_number_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_page_number_get_keep_with_previous_within_column (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->keep_with_previous_within_column; } /** * fo_page_number_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_page_number_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_page_number->keep_with_previous_within_column != NULL) { g_object_unref (fo_page_number->keep_with_previous_within_column); } fo_page_number->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_page_number), "keep-with-previous-within-column");*/ } /** * fo_page_number_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_page_number_get_keep_with_previous_within_line (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->keep_with_previous_within_line; } /** * fo_page_number_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_page_number_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_page_number->keep_with_previous_within_line != NULL) { g_object_unref (fo_page_number->keep_with_previous_within_line); } fo_page_number->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_page_number), "keep-with-previous-within-line");*/ } /** * fo_page_number_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_page_number_get_keep_with_previous_within_page (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->keep_with_previous_within_page; } /** * fo_page_number_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_page_number_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_page_number->keep_with_previous_within_page != NULL) { g_object_unref (fo_page_number->keep_with_previous_within_page); } fo_page_number->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_page_number), "keep-with-previous-within-page");*/ } /** * fo_page_number_get_line_height: * @fo_fo: The @FoFo object * * Gets the "line-height" property of @fo_fo * * Return value: The "line-height" property value **/ FoProperty* fo_page_number_get_line_height (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->line_height; } /** * fo_page_number_set_line_height: * @fo_fo: The #FoFo object * @new_line_height: The new "line-height" property value * * Sets the "line-height" property of @fo_fo to @new_line_height **/ void fo_page_number_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_page_number->line_height != NULL) { g_object_unref (fo_page_number->line_height); } fo_page_number->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_page_number), "line-height");*/ } /** * fo_page_number_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_page_number_get_padding_after (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->padding_after; } /** * fo_page_number_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_page_number_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_page_number->padding_after != NULL) { g_object_unref (fo_page_number->padding_after); } fo_page_number->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_page_number), "padding-after");*/ } /** * fo_page_number_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_page_number_get_padding_before (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->padding_before; } /** * fo_page_number_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_page_number_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_page_number->padding_before != NULL) { g_object_unref (fo_page_number->padding_before); } fo_page_number->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_page_number), "padding-before");*/ } /** * fo_page_number_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_page_number_get_padding_bottom (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->padding_bottom; } /** * fo_page_number_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_page_number_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_page_number->padding_bottom != NULL) { g_object_unref (fo_page_number->padding_bottom); } fo_page_number->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_page_number), "padding-bottom");*/ } /** * fo_page_number_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_page_number_get_padding_end (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->padding_end; } /** * fo_page_number_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_page_number_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_page_number->padding_end != NULL) { g_object_unref (fo_page_number->padding_end); } fo_page_number->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_page_number), "padding-end");*/ } /** * fo_page_number_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_page_number_get_padding_left (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->padding_left; } /** * fo_page_number_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_page_number_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_page_number->padding_left != NULL) { g_object_unref (fo_page_number->padding_left); } fo_page_number->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_page_number), "padding-left");*/ } /** * fo_page_number_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_page_number_get_padding_right (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->padding_right; } /** * fo_page_number_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_page_number_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_page_number->padding_right != NULL) { g_object_unref (fo_page_number->padding_right); } fo_page_number->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_page_number), "padding-right");*/ } /** * fo_page_number_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_page_number_get_padding_start (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->padding_start; } /** * fo_page_number_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_page_number_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_page_number->padding_start != NULL) { g_object_unref (fo_page_number->padding_start); } fo_page_number->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_page_number), "padding-start");*/ } /** * fo_page_number_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_page_number_get_padding_top (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->padding_top; } /** * fo_page_number_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_page_number_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_page_number->padding_top != NULL) { g_object_unref (fo_page_number->padding_top); } fo_page_number->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_page_number), "padding-top");*/ } /** * fo_page_number_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_page_number_get_role (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->role; } /** * fo_page_number_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_page_number_set_role (FoFo *fo_fo, FoProperty *new_role) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_page_number->role != NULL) { g_object_unref (fo_page_number->role); } fo_page_number->role = new_role; /*g_object_notify (G_OBJECT (fo_page_number), "role");*/ } /** * fo_page_number_get_score_spaces: * @fo_fo: The @FoFo object * * Gets the "score-spaces" property of @fo_fo * * Return value: The "score-spaces" property value **/ FoProperty* fo_page_number_get_score_spaces (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->score_spaces; } /** * fo_page_number_set_score_spaces: * @fo_fo: The #FoFo object * @new_score_spaces: The new "score-spaces" property value * * Sets the "score-spaces" property of @fo_fo to @new_score_spaces **/ void fo_page_number_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_SCORE_SPACES (new_score_spaces)); if (new_score_spaces != NULL) { g_object_ref (new_score_spaces); } if (fo_page_number->score_spaces != NULL) { g_object_unref (fo_page_number->score_spaces); } fo_page_number->score_spaces = new_score_spaces; /*g_object_notify (G_OBJECT (fo_page_number), "score-spaces");*/ } /** * fo_page_number_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_page_number_get_source_document (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->source_document; } /** * fo_page_number_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_page_number_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_page_number->source_document != NULL) { g_object_unref (fo_page_number->source_document); } fo_page_number->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_page_number), "source-document");*/ } /** * fo_page_number_get_space_end: * @fo_fo: The @FoFo object * * Gets the "space-end" property of @fo_fo * * Return value: The "space-end" property value **/ FoProperty* fo_page_number_get_space_end (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->space_end; } /** * fo_page_number_set_space_end: * @fo_fo: The #FoFo object * @new_space_end: The new "space-end" property value * * Sets the "space-end" property of @fo_fo to @new_space_end **/ void fo_page_number_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_page_number->space_end != NULL) { g_object_unref (fo_page_number->space_end); } fo_page_number->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_page_number), "space-end");*/ } /** * fo_page_number_get_space_start: * @fo_fo: The @FoFo object * * Gets the "space-start" property of @fo_fo * * Return value: The "space-start" property value **/ FoProperty* fo_page_number_get_space_start (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->space_start; } /** * fo_page_number_set_space_start: * @fo_fo: The #FoFo object * @new_space_start: The new "space-start" property value * * Sets the "space-start" property of @fo_fo to @new_space_start **/ void fo_page_number_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_page_number->space_start != NULL) { g_object_unref (fo_page_number->space_start); } fo_page_number->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_page_number), "space-start");*/ } /** * fo_page_number_get_wrap_option: * @fo_fo: The @FoFo object * * Gets the "wrap-option" property of @fo_fo * * Return value: The "wrap-option" property value **/ FoProperty* fo_page_number_get_wrap_option (FoFo *fo_fo) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_val_if_fail (fo_page_number != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER (fo_page_number), NULL); return fo_page_number->wrap_option; } /** * fo_page_number_set_wrap_option: * @fo_fo: The #FoFo object * @new_wrap_option: The new "wrap-option" property value * * Sets the "wrap-option" property of @fo_fo to @new_wrap_option **/ void fo_page_number_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option) { FoPageNumber *fo_page_number = (FoPageNumber *) fo_fo; g_return_if_fail (fo_page_number != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER (fo_page_number)); g_return_if_fail (FO_IS_PROPERTY_WRAP_OPTION (new_wrap_option)); if (new_wrap_option != NULL) { g_object_ref (new_wrap_option); } if (fo_page_number->wrap_option != NULL) { g_object_unref (fo_page_number->wrap_option); } fo_page_number->wrap_option = new_wrap_option; /*g_object_notify (G_OBJECT (fo_page_number), "wrap-option");*/ } xmlroff-0.6.2/libfo/fo/fo-page-number.h0000644000175000017500000003451510643167376014616 00000000000000/* Fo * fo-page_number.h: 'page-number' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PAGE_NUMBER_H__ #define __FO_PAGE_NUMBER_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoPageNumber FoPageNumber; typedef struct _FoPageNumberClass FoPageNumberClass; #define FO_TYPE_PAGE_NUMBER (fo_page_number_get_type ()) #define FO_PAGE_NUMBER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PAGE_NUMBER, FoPageNumber)) #define FO_PAGE_NUMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PAGE_NUMBER, FoPageNumberClass)) #define FO_IS_PAGE_NUMBER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PAGE_NUMBER)) #define FO_IS_PAGE_NUMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PAGE_NUMBER)) #define FO_PAGE_NUMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PAGE_NUMBER, FoPageNumberClass)) GType fo_page_number_get_type (void) G_GNUC_CONST; FoFo * fo_page_number_new (void); FoProperty * fo_page_number_get_alignment_adjust (FoFo *fo_fo); void fo_page_number_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty * fo_page_number_get_alignment_baseline (FoFo *fo_fo); void fo_page_number_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty * fo_page_number_get_background_color (FoFo *fo_fo); void fo_page_number_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_page_number_get_background_image (FoFo *fo_fo); void fo_page_number_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_page_number_get_baseline_shift (FoFo *fo_fo); void fo_page_number_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty * fo_page_number_get_border_after_color (FoFo *fo_fo); void fo_page_number_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_page_number_get_border_after_style (FoFo *fo_fo); void fo_page_number_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_page_number_get_border_after_width (FoFo *fo_fo); void fo_page_number_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_page_number_get_border_before_color (FoFo *fo_fo); void fo_page_number_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_page_number_get_border_before_style (FoFo *fo_fo); void fo_page_number_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_page_number_get_border_before_width (FoFo *fo_fo); void fo_page_number_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_page_number_get_border_bottom_color (FoFo *fo_fo); void fo_page_number_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_page_number_get_border_bottom_style (FoFo *fo_fo); void fo_page_number_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_page_number_get_border_bottom_width (FoFo *fo_fo); void fo_page_number_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_page_number_get_border_end_color (FoFo *fo_fo); void fo_page_number_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_page_number_get_border_end_style (FoFo *fo_fo); void fo_page_number_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_page_number_get_border_end_width (FoFo *fo_fo); void fo_page_number_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_page_number_get_border_left_color (FoFo *fo_fo); void fo_page_number_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_page_number_get_border_left_style (FoFo *fo_fo); void fo_page_number_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_page_number_get_border_left_width (FoFo *fo_fo); void fo_page_number_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_page_number_get_border_right_color (FoFo *fo_fo); void fo_page_number_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_page_number_get_border_right_style (FoFo *fo_fo); void fo_page_number_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_page_number_get_border_right_width (FoFo *fo_fo); void fo_page_number_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_page_number_get_border_start_color (FoFo *fo_fo); void fo_page_number_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_page_number_get_border_start_style (FoFo *fo_fo); void fo_page_number_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_page_number_get_border_start_width (FoFo *fo_fo); void fo_page_number_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_page_number_get_border_top_color (FoFo *fo_fo); void fo_page_number_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_page_number_get_border_top_style (FoFo *fo_fo); void fo_page_number_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_page_number_get_border_top_width (FoFo *fo_fo); void fo_page_number_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_page_number_get_dominant_baseline (FoFo *fo_fo); void fo_page_number_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty * fo_page_number_get_font_family (FoFo *fo_fo); void fo_page_number_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty * fo_page_number_get_font_size (FoFo *fo_fo); void fo_page_number_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty * fo_page_number_get_font_stretch (FoFo *fo_fo); void fo_page_number_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty * fo_page_number_get_font_style (FoFo *fo_fo); void fo_page_number_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty * fo_page_number_get_font_variant (FoFo *fo_fo); void fo_page_number_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty * fo_page_number_get_font_weight (FoFo *fo_fo); void fo_page_number_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty * fo_page_number_get_id (FoFo *fo_fo); void fo_page_number_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_page_number_get_keep_with_next (FoFo *fo_fo); void fo_page_number_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_page_number_get_keep_with_next_within_column (FoFo *fo_fo); void fo_page_number_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_page_number_get_keep_with_next_within_line (FoFo *fo_fo); void fo_page_number_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_page_number_get_keep_with_next_within_page (FoFo *fo_fo); void fo_page_number_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_page_number_get_keep_with_previous (FoFo *fo_fo); void fo_page_number_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_page_number_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_page_number_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_page_number_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_page_number_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_page_number_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_page_number_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_page_number_get_line_height (FoFo *fo_fo); void fo_page_number_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty * fo_page_number_get_padding_after (FoFo *fo_fo); void fo_page_number_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_page_number_get_padding_before (FoFo *fo_fo); void fo_page_number_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_page_number_get_padding_bottom (FoFo *fo_fo); void fo_page_number_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_page_number_get_padding_end (FoFo *fo_fo); void fo_page_number_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_page_number_get_padding_left (FoFo *fo_fo); void fo_page_number_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_page_number_get_padding_right (FoFo *fo_fo); void fo_page_number_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_page_number_get_padding_start (FoFo *fo_fo); void fo_page_number_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_page_number_get_padding_top (FoFo *fo_fo); void fo_page_number_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_page_number_get_role (FoFo *fo_fo); void fo_page_number_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_page_number_get_score_spaces (FoFo *fo_fo); void fo_page_number_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty * fo_page_number_get_source_document (FoFo *fo_fo); void fo_page_number_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_page_number_get_space_end (FoFo *fo_fo); void fo_page_number_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty * fo_page_number_get_space_start (FoFo *fo_fo); void fo_page_number_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty * fo_page_number_get_wrap_option (FoFo *fo_fo); void fo_page_number_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); G_END_DECLS #endif /* !__FO_PAGE_NUMBER_H__ */ xmlroff-0.6.2/libfo/fo/fo-page-number-private.h0000644000175000017500000000474010643167376016263 00000000000000/* Fo * fo-page-number-private.h: Structures private to 'page-number' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PAGE_NUMBER_PRIVATE_H__ #define __FO_PAGE_NUMBER_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoPageNumber { FoFo parent_instance; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *dominant_baseline; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *id; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *score_spaces; FoProperty *source_document; FoProperty *space_end; FoProperty *space_start; FoProperty *wrap_option; }; struct _FoPageNumberClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_PAGE_NUMBER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-page-number-citation.c0000644000175000017500000046454310660107745016422 00000000000000/* Fo * fo-page-number-citation.c: 'page-number-citation' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-inline-fo.h" #include "fo/fo-page-number-citation-private.h" #include "fo/fo-block.h" #include "fo/fo-tree.h" #include "area/fo-area.h" #include "area/fo-area-page.h" #include "fo-context-util.h" #include "property/fo-property-text-property.h" #include "property/fo-property-common-font.h" #include "property/fo-property-alignment-adjust.h" #include "property/fo-property-alignment-baseline.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-baseline-shift.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-dominant-baseline.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-line-height.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-ref-id.h" #include "property/fo-property-role.h" #include "property/fo-property-score-spaces.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" #include "property/fo-property-wrap-option.h" enum { PROP_0, PROP_ALIGNMENT_ADJUST, PROP_ALIGNMENT_BASELINE, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BASELINE_SHIFT, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_DOMINANT_BASELINE, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_ID, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_LINE_HEIGHT, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_REF_ID, PROP_ROLE, PROP_SCORE_SPACES, PROP_SOURCE_DOCUMENT, PROP_SPACE_END, PROP_SPACE_START, PROP_WRAP_OPTION }; static void fo_page_number_citation_class_init (FoPageNumberCitationClass *klass); static void fo_page_number_citation_inline_fo_init (FoInlineFoIface *iface); static void fo_page_number_citation_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_page_number_citation_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_page_number_citation_finalize (GObject *object); static gboolean fo_page_number_citation_validate_content (FoFo *fo, GError **error); static void fo_page_number_citation_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_page_number_citation_update_from_context (FoFo *fo, FoContext *context); static void fo_page_number_citation_debug_dump_properties (FoFo *fo, gint depth); static void fo_page_number_citation_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; /** * fo_page_number_citation_get_type: * * Register the #FoPageNumberCitation object type. * * Return value: #GType value of the #FoPageNumberCitation object type. **/ GType fo_page_number_citation_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPageNumberCitationClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_page_number_citation_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPageNumberCitation), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_page_number_citation_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoPageNumberCitation", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_page_number_citation_class_init: * @klass: #FoPageNumberCitationClass object to initialise. * * Implements #GClassInitFunc for #FoPageNumberCitationClass. **/ void fo_page_number_citation_class_init (FoPageNumberCitationClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_page_number_citation_finalize; object_class->get_property = fo_page_number_citation_get_property; object_class->set_property = fo_page_number_citation_set_property; fofo_class->validate_content = fo_page_number_citation_validate_content; fofo_class->validate2 = fo_page_number_citation_validate; fofo_class->update_from_context = fo_page_number_citation_update_from_context; fofo_class->debug_dump_properties = fo_page_number_citation_debug_dump_properties; g_object_class_install_property (object_class, PROP_ALIGNMENT_ADJUST, g_param_spec_object ("alignment-adjust", _("Alignment Adjust"), _("Alignment Adjust property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ALIGNMENT_BASELINE, g_param_spec_object ("alignment-baseline", _("Alignment Baseline"), _("Alignment Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BASELINE_SHIFT, g_param_spec_object ("baseline-shift", _("Baseline Shift"), _("Baseline Shift property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DOMINANT_BASELINE, g_param_spec_object ("dominant-baseline", _("Dominant Baseline"), _("Dominant Baseline property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_REF_ID, g_param_spec_object ("ref-id", _("Ref Id"), _("Ref Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SCORE_SPACES, g_param_spec_object ("score-spaces", _("Score Spaces"), _("Score Spaces property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRAP_OPTION, g_param_spec_object ("wrap-option", _("Wrap Option"), _("Wrap Option property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_page_number_citation_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_page_number_citation_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_page_number_citation_get_text_attr_list; } /** * fo_page_number_citation_finalize: * @object: #FoPageNumberCitation object to finalize. * * Implements #GObjectFinalizeFunc for #FoPageNumberCitation. **/ void fo_page_number_citation_finalize (GObject *object) { FoPageNumberCitation *fo_page_number_citation; fo_page_number_citation = FO_PAGE_NUMBER_CITATION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_page_number_citation_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoPageNumberCitation. **/ void fo_page_number_citation_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_alignment_adjust (fo_fo))); break; case PROP_ALIGNMENT_BASELINE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_alignment_baseline (fo_fo))); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_background_image (fo_fo))); break; case PROP_BASELINE_SHIFT: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_baseline_shift (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_border_top_width (fo_fo))); break; case PROP_DOMINANT_BASELINE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_dominant_baseline (fo_fo))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_font_family (fo_fo))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_font_size (fo_fo))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_font_stretch (fo_fo))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_font_style (fo_fo))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_font_variant (fo_fo))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_font_weight (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_id (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_keep_with_previous_within_page (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_line_height (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_padding_top (fo_fo))); break; case PROP_REF_ID: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_ref_id (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_role (fo_fo))); break; case PROP_SCORE_SPACES: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_score_spaces (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_source_document (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_space_start (fo_fo))); break; case PROP_WRAP_OPTION: g_value_set_object (value, G_OBJECT (fo_page_number_citation_get_wrap_option (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_page_number_citation_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoPageNumberCitation. **/ void fo_page_number_citation_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ALIGNMENT_ADJUST: fo_page_number_citation_set_alignment_adjust (fo_fo, g_value_get_object (value)); break; case PROP_ALIGNMENT_BASELINE: fo_page_number_citation_set_alignment_baseline (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_COLOR: fo_page_number_citation_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_page_number_citation_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BASELINE_SHIFT: fo_page_number_citation_set_baseline_shift (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_page_number_citation_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_page_number_citation_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_page_number_citation_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_page_number_citation_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_page_number_citation_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_page_number_citation_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_page_number_citation_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_page_number_citation_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_page_number_citation_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_page_number_citation_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_page_number_citation_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_page_number_citation_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_page_number_citation_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_page_number_citation_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_page_number_citation_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_page_number_citation_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_page_number_citation_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_page_number_citation_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_page_number_citation_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_page_number_citation_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_page_number_citation_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_page_number_citation_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_page_number_citation_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_page_number_citation_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_DOMINANT_BASELINE: fo_page_number_citation_set_dominant_baseline (fo_fo, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_page_number_citation_set_font_family (fo_fo, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_page_number_citation_set_font_size (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_page_number_citation_set_font_stretch (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_page_number_citation_set_font_style (fo_fo, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_page_number_citation_set_font_variant (fo_fo, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_page_number_citation_set_font_weight (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_page_number_citation_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_page_number_citation_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_page_number_citation_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_page_number_citation_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_page_number_citation_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_page_number_citation_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_page_number_citation_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_page_number_citation_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_page_number_citation_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_page_number_citation_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_page_number_citation_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_page_number_citation_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_page_number_citation_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_page_number_citation_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_page_number_citation_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_page_number_citation_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_page_number_citation_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_page_number_citation_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_REF_ID: fo_page_number_citation_set_ref_id (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_page_number_citation_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SCORE_SPACES: fo_page_number_citation_set_score_spaces (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_page_number_citation_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_page_number_citation_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_page_number_citation_set_space_start (fo_fo, g_value_get_object (value)); break; case PROP_WRAP_OPTION: fo_page_number_citation_set_wrap_option (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_page_number_citation_new: * * Creates a new #FoPageNumberCitation initialized to default value. * * Return value: the new #FoPageNumberCitation. **/ FoFo* fo_page_number_citation_new (void) { return FO_FO (g_object_new (fo_page_number_citation_get_type (), NULL)); } /** * fo_page_number_citation_validate_content: * @fo: #FoPageNumberCitation object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_page_number_citation_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_page_number_citation_validate: * @fo: #FoPageNumberCitation object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_page_number_citation_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoPageNumberCitation *fo_page_number_citation; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_page_number_citation = FO_PAGE_NUMBER_CITATION (fo); fo_context_util_dominant_baseline_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_page_number_citation_set_line_height (fo, fo_property_line_height_resolve (fo_page_number_citation->line_height, fo_page_number_citation->font_size)); } /** * fo_page_number_citation_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_page_number_citation_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_page_number_citation_set_alignment_adjust (fo, fo_context_get_alignment_adjust (context)); fo_page_number_citation_set_alignment_baseline (fo, fo_context_get_alignment_baseline (context)); fo_page_number_citation_set_background_color (fo, fo_context_get_background_color (context)); fo_page_number_citation_set_background_image (fo, fo_context_get_background_image (context)); fo_page_number_citation_set_baseline_shift (fo, fo_context_get_baseline_shift (context)); fo_page_number_citation_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_page_number_citation_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_page_number_citation_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_page_number_citation_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_page_number_citation_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_page_number_citation_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_page_number_citation_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_page_number_citation_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_page_number_citation_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_page_number_citation_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_page_number_citation_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_page_number_citation_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_page_number_citation_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_page_number_citation_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_page_number_citation_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_page_number_citation_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_page_number_citation_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_page_number_citation_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_page_number_citation_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_page_number_citation_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_page_number_citation_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_page_number_citation_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_page_number_citation_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_page_number_citation_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_page_number_citation_set_dominant_baseline (fo, fo_context_get_dominant_baseline (context)); fo_page_number_citation_set_font_family (fo, fo_context_get_font_family (context)); fo_page_number_citation_set_font_size (fo, fo_context_get_font_size (context)); fo_page_number_citation_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_page_number_citation_set_font_style (fo, fo_context_get_font_style (context)); fo_page_number_citation_set_font_variant (fo, fo_context_get_font_variant (context)); fo_page_number_citation_set_font_weight (fo, fo_context_get_font_weight (context)); fo_page_number_citation_set_id (fo, fo_context_get_id (context)); fo_page_number_citation_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_page_number_citation_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_page_number_citation_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_page_number_citation_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_page_number_citation_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_page_number_citation_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_page_number_citation_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_page_number_citation_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_page_number_citation_set_line_height (fo, fo_context_get_line_height (context)); fo_page_number_citation_set_padding_after (fo, fo_context_get_padding_after (context)); fo_page_number_citation_set_padding_before (fo, fo_context_get_padding_before (context)); fo_page_number_citation_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_page_number_citation_set_padding_end (fo, fo_context_get_padding_end (context)); fo_page_number_citation_set_padding_left (fo, fo_context_get_padding_left (context)); fo_page_number_citation_set_padding_right (fo, fo_context_get_padding_right (context)); fo_page_number_citation_set_padding_start (fo, fo_context_get_padding_start (context)); fo_page_number_citation_set_padding_top (fo, fo_context_get_padding_top (context)); fo_page_number_citation_set_ref_id (fo, fo_context_get_ref_id (context)); fo_page_number_citation_set_role (fo, fo_context_get_role (context)); fo_page_number_citation_set_score_spaces (fo, fo_context_get_score_spaces (context)); fo_page_number_citation_set_source_document (fo, fo_context_get_source_document (context)); fo_page_number_citation_set_space_end (fo, fo_context_get_space_end (context)); fo_page_number_citation_set_space_start (fo, fo_context_get_space_start (context)); fo_page_number_citation_set_wrap_option (fo, fo_context_get_wrap_option (context)); } /** * fo_page_number_citation_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_page_number_citation_debug_dump_properties (FoFo *fo, gint depth) { FoPageNumberCitation *fo_page_number_citation; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo)); fo_page_number_citation = FO_PAGE_NUMBER_CITATION (fo); fo_object_debug_dump (fo_page_number_citation->alignment_adjust, depth); fo_object_debug_dump (fo_page_number_citation->alignment_baseline, depth); fo_object_debug_dump (fo_page_number_citation->background_color, depth); fo_object_debug_dump (fo_page_number_citation->background_image, depth); fo_object_debug_dump (fo_page_number_citation->baseline_shift, depth); fo_object_debug_dump (fo_page_number_citation->border_after_color, depth); fo_object_debug_dump (fo_page_number_citation->border_after_style, depth); fo_object_debug_dump (fo_page_number_citation->border_after_width, depth); fo_object_debug_dump (fo_page_number_citation->border_before_color, depth); fo_object_debug_dump (fo_page_number_citation->border_before_style, depth); fo_object_debug_dump (fo_page_number_citation->border_before_width, depth); fo_object_debug_dump (fo_page_number_citation->border_bottom_color, depth); fo_object_debug_dump (fo_page_number_citation->border_bottom_style, depth); fo_object_debug_dump (fo_page_number_citation->border_bottom_width, depth); fo_object_debug_dump (fo_page_number_citation->border_end_color, depth); fo_object_debug_dump (fo_page_number_citation->border_end_style, depth); fo_object_debug_dump (fo_page_number_citation->border_end_width, depth); fo_object_debug_dump (fo_page_number_citation->border_left_color, depth); fo_object_debug_dump (fo_page_number_citation->border_left_style, depth); fo_object_debug_dump (fo_page_number_citation->border_left_width, depth); fo_object_debug_dump (fo_page_number_citation->border_right_color, depth); fo_object_debug_dump (fo_page_number_citation->border_right_style, depth); fo_object_debug_dump (fo_page_number_citation->border_right_width, depth); fo_object_debug_dump (fo_page_number_citation->border_start_color, depth); fo_object_debug_dump (fo_page_number_citation->border_start_style, depth); fo_object_debug_dump (fo_page_number_citation->border_start_width, depth); fo_object_debug_dump (fo_page_number_citation->border_top_color, depth); fo_object_debug_dump (fo_page_number_citation->border_top_style, depth); fo_object_debug_dump (fo_page_number_citation->border_top_width, depth); fo_object_debug_dump (fo_page_number_citation->dominant_baseline, depth); fo_object_debug_dump (fo_page_number_citation->font_family, depth); fo_object_debug_dump (fo_page_number_citation->font_size, depth); fo_object_debug_dump (fo_page_number_citation->font_stretch, depth); fo_object_debug_dump (fo_page_number_citation->font_style, depth); fo_object_debug_dump (fo_page_number_citation->font_variant, depth); fo_object_debug_dump (fo_page_number_citation->font_weight, depth); fo_object_debug_dump (fo_page_number_citation->id, depth); fo_object_debug_dump (fo_page_number_citation->keep_with_next, depth); fo_object_debug_dump (fo_page_number_citation->keep_with_next_within_column, depth); fo_object_debug_dump (fo_page_number_citation->keep_with_next_within_line, depth); fo_object_debug_dump (fo_page_number_citation->keep_with_next_within_page, depth); fo_object_debug_dump (fo_page_number_citation->keep_with_previous, depth); fo_object_debug_dump (fo_page_number_citation->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_page_number_citation->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_page_number_citation->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_page_number_citation->line_height, depth); fo_object_debug_dump (fo_page_number_citation->padding_after, depth); fo_object_debug_dump (fo_page_number_citation->padding_before, depth); fo_object_debug_dump (fo_page_number_citation->padding_bottom, depth); fo_object_debug_dump (fo_page_number_citation->padding_end, depth); fo_object_debug_dump (fo_page_number_citation->padding_left, depth); fo_object_debug_dump (fo_page_number_citation->padding_right, depth); fo_object_debug_dump (fo_page_number_citation->padding_start, depth); fo_object_debug_dump (fo_page_number_citation->padding_top, depth); fo_object_debug_dump (fo_page_number_citation->ref_id, depth); fo_object_debug_dump (fo_page_number_citation->role, depth); fo_object_debug_dump (fo_page_number_citation->score_spaces, depth); fo_object_debug_dump (fo_page_number_citation->source_document, depth); fo_object_debug_dump (fo_page_number_citation->space_end, depth); fo_object_debug_dump (fo_page_number_citation->space_start, depth); fo_object_debug_dump (fo_page_number_citation->wrap_option, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_page_number_citation_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_page_number_citation_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc G_GNUC_UNUSED, GString *text, GList **attr_glist, guint debug_level G_GNUC_UNUSED) { FoPageNumberCitation *fo_page_number_citation; PangoAttribute *pango_attr; GList *my_attr_glist = NULL; gint start_index, end_index; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_inline_fo)); fo_page_number_citation = FO_PAGE_NUMBER_CITATION (fo_inline_fo); start_index = text->len; FoFo* ref_fo = fo_tree_id_get (fo_inline_fo->tree, fo_name_get_value (fo_property_get_value (fo_page_number_citation->ref_id))); if (ref_fo != NULL) { FoFoAreaIterator *iterator = fo_fo_get_area_iterator (FO_FO (fo_node_get_ancestor_or_self_by_type (FO_NODE (ref_fo), FO_TYPE_BLOCK))); FoArea *first_area = fo_fo_area_iterator_get_area (iterator); if (first_area != NULL) { gint page_number = fo_area_page_get_page_number (fo_area_get_page (first_area)); gchar *page_number_sprintf = g_strdup_printf ("%d", page_number); g_string_append (text, page_number_sprintf); g_free (page_number_sprintf); } else { g_string_append (text, "No matching FO"); } } else { g_string_append (text, "xx"); } end_index = text->len; my_attr_glist = g_list_concat (my_attr_glist, fo_property_common_font_get_pango_attrs (fo_page_number_citation->font_family, fo_page_number_citation->font_size, fo_page_number_citation->font_stretch, fo_page_number_citation->font_style, fo_page_number_citation->font_variant, fo_page_number_citation->font_weight, start_index, end_index)); pango_attr = fo_property_text_property_new_attr (fo_page_number_citation->baseline_shift); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); /* pango_attr = fo_property_text_property_new_attr (fo_page_number_citation->line_height); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ if (FO_IS_COLOR (fo_property_get_value (fo_page_number_citation->background_color))) { pango_attr = fo_property_text_property_new_attr (fo_page_number_citation->background_color); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); } /* pango_attr = fo_property_text_property_new_attr (fo_page_number_citation->alignment_adjust); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_page_number_citation->alignment_baseline); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr_from_context (fo_page_number_citation->dominant_baseline, fo_fo_get_context (fo_inline_fo)); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_page_number_citation->keep_with_next_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (fo_page_number_citation->keep_with_previous_within_line); pango_attr->start_index = start_index; pango_attr->end_index = end_index; my_attr_glist = g_list_prepend (my_attr_glist, pango_attr); */ *attr_glist = g_list_concat (my_attr_glist, *attr_glist); } /** * fo_page_number_citation_get_alignment_adjust: * @fo_fo: The @FoFo object. * * Gets the "alignment-adjust" property of @fo_fo. * * Return value: The "alignment-adjust" property value. **/ FoProperty * fo_page_number_citation_get_alignment_adjust (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->alignment_adjust; } /** * fo_page_number_citation_set_alignment_adjust: * @fo_fo: The #FoFo object. * @new_alignment_adjust: The new "alignment-adjust" property value. * * Sets the "alignment-adjust" property of @fo_fo to @new_alignment_adjust. **/ void fo_page_number_citation_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_ADJUST (new_alignment_adjust)); if (new_alignment_adjust != NULL) { g_object_ref (new_alignment_adjust); } if (fo_page_number_citation->alignment_adjust != NULL) { g_object_unref (fo_page_number_citation->alignment_adjust); } fo_page_number_citation->alignment_adjust = new_alignment_adjust; /*g_object_notify (G_OBJECT (fo_page_number_citation), "alignment-adjust");*/ } /** * fo_page_number_citation_get_alignment_baseline: * @fo_fo: The @FoFo object. * * Gets the "alignment-baseline" property of @fo_fo. * * Return value: The "alignment-baseline" property value. **/ FoProperty * fo_page_number_citation_get_alignment_baseline (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->alignment_baseline; } /** * fo_page_number_citation_set_alignment_baseline: * @fo_fo: The #FoFo object. * @new_alignment_baseline: The new "alignment-baseline" property value. * * Sets the "alignment-baseline" property of @fo_fo to @new_alignment_baseline. **/ void fo_page_number_citation_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_ALIGNMENT_BASELINE (new_alignment_baseline)); if (new_alignment_baseline != NULL) { g_object_ref (new_alignment_baseline); } if (fo_page_number_citation->alignment_baseline != NULL) { g_object_unref (fo_page_number_citation->alignment_baseline); } fo_page_number_citation->alignment_baseline = new_alignment_baseline; /*g_object_notify (G_OBJECT (fo_page_number_citation), "alignment-baseline");*/ } /** * fo_page_number_citation_get_background_color: * @fo_fo: The @FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty * fo_page_number_citation_get_background_color (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->background_color; } /** * fo_page_number_citation_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_page_number_citation_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_page_number_citation->background_color != NULL) { g_object_unref (fo_page_number_citation->background_color); } fo_page_number_citation->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_page_number_citation), "background-color");*/ } /** * fo_page_number_citation_get_background_image: * @fo_fo: The @FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty * fo_page_number_citation_get_background_image (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->background_image; } /** * fo_page_number_citation_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_page_number_citation_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_page_number_citation->background_image != NULL) { g_object_unref (fo_page_number_citation->background_image); } fo_page_number_citation->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_page_number_citation), "background-image");*/ } /** * fo_page_number_citation_get_baseline_shift: * @fo_fo: The @FoFo object. * * Gets the "baseline-shift" property of @fo_fo. * * Return value: The "baseline-shift" property value. **/ FoProperty * fo_page_number_citation_get_baseline_shift (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->baseline_shift; } /** * fo_page_number_citation_set_baseline_shift: * @fo_fo: The #FoFo object. * @new_baseline_shift: The new "baseline-shift" property value. * * Sets the "baseline-shift" property of @fo_fo to @new_baseline_shift. **/ void fo_page_number_citation_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BASELINE_SHIFT (new_baseline_shift)); if (new_baseline_shift != NULL) { g_object_ref (new_baseline_shift); } if (fo_page_number_citation->baseline_shift != NULL) { g_object_unref (fo_page_number_citation->baseline_shift); } fo_page_number_citation->baseline_shift = new_baseline_shift; /*g_object_notify (G_OBJECT (fo_page_number_citation), "baseline-shift");*/ } /** * fo_page_number_citation_get_border_after_color: * @fo_fo: The @FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty * fo_page_number_citation_get_border_after_color (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_after_color; } /** * fo_page_number_citation_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_page_number_citation_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_page_number_citation->border_after_color != NULL) { g_object_unref (fo_page_number_citation->border_after_color); } fo_page_number_citation->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-after-color");*/ } /** * fo_page_number_citation_get_border_after_style: * @fo_fo: The @FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty * fo_page_number_citation_get_border_after_style (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_after_style; } /** * fo_page_number_citation_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_page_number_citation_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_page_number_citation->border_after_style != NULL) { g_object_unref (fo_page_number_citation->border_after_style); } fo_page_number_citation->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-after-style");*/ } /** * fo_page_number_citation_get_border_after_width: * @fo_fo: The @FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty * fo_page_number_citation_get_border_after_width (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_after_width; } /** * fo_page_number_citation_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_page_number_citation_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_page_number_citation->border_after_width != NULL) { g_object_unref (fo_page_number_citation->border_after_width); } fo_page_number_citation->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-after-width");*/ } /** * fo_page_number_citation_get_border_before_color: * @fo_fo: The @FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty * fo_page_number_citation_get_border_before_color (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_before_color; } /** * fo_page_number_citation_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_page_number_citation_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_page_number_citation->border_before_color != NULL) { g_object_unref (fo_page_number_citation->border_before_color); } fo_page_number_citation->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-before-color");*/ } /** * fo_page_number_citation_get_border_before_style: * @fo_fo: The @FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty * fo_page_number_citation_get_border_before_style (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_before_style; } /** * fo_page_number_citation_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_page_number_citation_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_page_number_citation->border_before_style != NULL) { g_object_unref (fo_page_number_citation->border_before_style); } fo_page_number_citation->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-before-style");*/ } /** * fo_page_number_citation_get_border_before_width: * @fo_fo: The @FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty * fo_page_number_citation_get_border_before_width (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_before_width; } /** * fo_page_number_citation_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_page_number_citation_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_page_number_citation->border_before_width != NULL) { g_object_unref (fo_page_number_citation->border_before_width); } fo_page_number_citation->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-before-width");*/ } /** * fo_page_number_citation_get_border_bottom_color: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty * fo_page_number_citation_get_border_bottom_color (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_bottom_color; } /** * fo_page_number_citation_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_page_number_citation_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_page_number_citation->border_bottom_color != NULL) { g_object_unref (fo_page_number_citation->border_bottom_color); } fo_page_number_citation->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-bottom-color");*/ } /** * fo_page_number_citation_get_border_bottom_style: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty * fo_page_number_citation_get_border_bottom_style (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_bottom_style; } /** * fo_page_number_citation_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_page_number_citation_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_page_number_citation->border_bottom_style != NULL) { g_object_unref (fo_page_number_citation->border_bottom_style); } fo_page_number_citation->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-bottom-style");*/ } /** * fo_page_number_citation_get_border_bottom_width: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty * fo_page_number_citation_get_border_bottom_width (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_bottom_width; } /** * fo_page_number_citation_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_page_number_citation_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_page_number_citation->border_bottom_width != NULL) { g_object_unref (fo_page_number_citation->border_bottom_width); } fo_page_number_citation->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-bottom-width");*/ } /** * fo_page_number_citation_get_border_end_color: * @fo_fo: The @FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty * fo_page_number_citation_get_border_end_color (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_end_color; } /** * fo_page_number_citation_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_page_number_citation_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_page_number_citation->border_end_color != NULL) { g_object_unref (fo_page_number_citation->border_end_color); } fo_page_number_citation->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-end-color");*/ } /** * fo_page_number_citation_get_border_end_style: * @fo_fo: The @FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty * fo_page_number_citation_get_border_end_style (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_end_style; } /** * fo_page_number_citation_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_page_number_citation_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_page_number_citation->border_end_style != NULL) { g_object_unref (fo_page_number_citation->border_end_style); } fo_page_number_citation->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-end-style");*/ } /** * fo_page_number_citation_get_border_end_width: * @fo_fo: The @FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty * fo_page_number_citation_get_border_end_width (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_end_width; } /** * fo_page_number_citation_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_page_number_citation_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_page_number_citation->border_end_width != NULL) { g_object_unref (fo_page_number_citation->border_end_width); } fo_page_number_citation->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-end-width");*/ } /** * fo_page_number_citation_get_border_left_color: * @fo_fo: The @FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty * fo_page_number_citation_get_border_left_color (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_left_color; } /** * fo_page_number_citation_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_page_number_citation_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_page_number_citation->border_left_color != NULL) { g_object_unref (fo_page_number_citation->border_left_color); } fo_page_number_citation->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-left-color");*/ } /** * fo_page_number_citation_get_border_left_style: * @fo_fo: The @FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty * fo_page_number_citation_get_border_left_style (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_left_style; } /** * fo_page_number_citation_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_page_number_citation_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_page_number_citation->border_left_style != NULL) { g_object_unref (fo_page_number_citation->border_left_style); } fo_page_number_citation->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-left-style");*/ } /** * fo_page_number_citation_get_border_left_width: * @fo_fo: The @FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty * fo_page_number_citation_get_border_left_width (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_left_width; } /** * fo_page_number_citation_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_page_number_citation_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_page_number_citation->border_left_width != NULL) { g_object_unref (fo_page_number_citation->border_left_width); } fo_page_number_citation->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-left-width");*/ } /** * fo_page_number_citation_get_border_right_color: * @fo_fo: The @FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty * fo_page_number_citation_get_border_right_color (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_right_color; } /** * fo_page_number_citation_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_page_number_citation_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_page_number_citation->border_right_color != NULL) { g_object_unref (fo_page_number_citation->border_right_color); } fo_page_number_citation->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-right-color");*/ } /** * fo_page_number_citation_get_border_right_style: * @fo_fo: The @FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty * fo_page_number_citation_get_border_right_style (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_right_style; } /** * fo_page_number_citation_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_page_number_citation_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_page_number_citation->border_right_style != NULL) { g_object_unref (fo_page_number_citation->border_right_style); } fo_page_number_citation->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-right-style");*/ } /** * fo_page_number_citation_get_border_right_width: * @fo_fo: The @FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty * fo_page_number_citation_get_border_right_width (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_right_width; } /** * fo_page_number_citation_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_page_number_citation_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_page_number_citation->border_right_width != NULL) { g_object_unref (fo_page_number_citation->border_right_width); } fo_page_number_citation->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-right-width");*/ } /** * fo_page_number_citation_get_border_start_color: * @fo_fo: The @FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty * fo_page_number_citation_get_border_start_color (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_start_color; } /** * fo_page_number_citation_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_page_number_citation_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_page_number_citation->border_start_color != NULL) { g_object_unref (fo_page_number_citation->border_start_color); } fo_page_number_citation->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-start-color");*/ } /** * fo_page_number_citation_get_border_start_style: * @fo_fo: The @FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty * fo_page_number_citation_get_border_start_style (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_start_style; } /** * fo_page_number_citation_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_page_number_citation_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_page_number_citation->border_start_style != NULL) { g_object_unref (fo_page_number_citation->border_start_style); } fo_page_number_citation->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-start-style");*/ } /** * fo_page_number_citation_get_border_start_width: * @fo_fo: The @FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty * fo_page_number_citation_get_border_start_width (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_start_width; } /** * fo_page_number_citation_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_page_number_citation_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_page_number_citation->border_start_width != NULL) { g_object_unref (fo_page_number_citation->border_start_width); } fo_page_number_citation->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-start-width");*/ } /** * fo_page_number_citation_get_border_top_color: * @fo_fo: The @FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty * fo_page_number_citation_get_border_top_color (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_top_color; } /** * fo_page_number_citation_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_page_number_citation_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_page_number_citation->border_top_color != NULL) { g_object_unref (fo_page_number_citation->border_top_color); } fo_page_number_citation->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-top-color");*/ } /** * fo_page_number_citation_get_border_top_style: * @fo_fo: The @FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty * fo_page_number_citation_get_border_top_style (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_top_style; } /** * fo_page_number_citation_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_page_number_citation_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_page_number_citation->border_top_style != NULL) { g_object_unref (fo_page_number_citation->border_top_style); } fo_page_number_citation->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-top-style");*/ } /** * fo_page_number_citation_get_border_top_width: * @fo_fo: The @FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty * fo_page_number_citation_get_border_top_width (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->border_top_width; } /** * fo_page_number_citation_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_page_number_citation_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_page_number_citation->border_top_width != NULL) { g_object_unref (fo_page_number_citation->border_top_width); } fo_page_number_citation->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_page_number_citation), "border-top-width");*/ } /** * fo_page_number_citation_get_dominant_baseline: * @fo_fo: The @FoFo object. * * Gets the "dominant-baseline" property of @fo_fo. * * Return value: The "dominant-baseline" property value. **/ FoProperty * fo_page_number_citation_get_dominant_baseline (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->dominant_baseline; } /** * fo_page_number_citation_set_dominant_baseline: * @fo_fo: The #FoFo object. * @new_dominant_baseline: The new "dominant-baseline" property value. * * Sets the "dominant-baseline" property of @fo_fo to @new_dominant_baseline. **/ void fo_page_number_citation_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_DOMINANT_BASELINE (new_dominant_baseline)); if (new_dominant_baseline != NULL) { g_object_ref (new_dominant_baseline); } if (fo_page_number_citation->dominant_baseline != NULL) { g_object_unref (fo_page_number_citation->dominant_baseline); } fo_page_number_citation->dominant_baseline = new_dominant_baseline; /*g_object_notify (G_OBJECT (fo_page_number_citation), "dominant-baseline");*/ } /** * fo_page_number_citation_get_font_family: * @fo_fo: The @FoFo object. * * Gets the "font-family" property of @fo_fo. * * Return value: The "font-family" property value. **/ FoProperty * fo_page_number_citation_get_font_family (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->font_family; } /** * fo_page_number_citation_set_font_family: * @fo_fo: The #FoFo object. * @new_font_family: The new "font-family" property value. * * Sets the "font-family" property of @fo_fo to @new_font_family. **/ void fo_page_number_citation_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family != NULL) { g_object_ref (new_font_family); } if (fo_page_number_citation->font_family != NULL) { g_object_unref (fo_page_number_citation->font_family); } fo_page_number_citation->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_page_number_citation), "font-family");*/ } /** * fo_page_number_citation_get_font_size: * @fo_fo: The @FoFo object. * * Gets the "font-size" property of @fo_fo. * * Return value: The "font-size" property value. **/ FoProperty * fo_page_number_citation_get_font_size (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->font_size; } /** * fo_page_number_citation_set_font_size: * @fo_fo: The #FoFo object. * @new_font_size: The new "font-size" property value. * * Sets the "font-size" property of @fo_fo to @new_font_size. **/ void fo_page_number_citation_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size != NULL) { g_object_ref (new_font_size); } if (fo_page_number_citation->font_size != NULL) { g_object_unref (fo_page_number_citation->font_size); } fo_page_number_citation->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_page_number_citation), "font-size");*/ } /** * fo_page_number_citation_get_font_stretch: * @fo_fo: The @FoFo object. * * Gets the "font-stretch" property of @fo_fo. * * Return value: The "font-stretch" property value. **/ FoProperty * fo_page_number_citation_get_font_stretch (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->font_stretch; } /** * fo_page_number_citation_set_font_stretch: * @fo_fo: The #FoFo object. * @new_font_stretch: The new "font-stretch" property value. * * Sets the "font-stretch" property of @fo_fo to @new_font_stretch. **/ void fo_page_number_citation_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch != NULL) { g_object_ref (new_font_stretch); } if (fo_page_number_citation->font_stretch != NULL) { g_object_unref (fo_page_number_citation->font_stretch); } fo_page_number_citation->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_page_number_citation), "font-stretch");*/ } /** * fo_page_number_citation_get_font_style: * @fo_fo: The @FoFo object. * * Gets the "font-style" property of @fo_fo. * * Return value: The "font-style" property value. **/ FoProperty * fo_page_number_citation_get_font_style (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->font_style; } /** * fo_page_number_citation_set_font_style: * @fo_fo: The #FoFo object. * @new_font_style: The new "font-style" property value. * * Sets the "font-style" property of @fo_fo to @new_font_style. **/ void fo_page_number_citation_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style != NULL) { g_object_ref (new_font_style); } if (fo_page_number_citation->font_style != NULL) { g_object_unref (fo_page_number_citation->font_style); } fo_page_number_citation->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_page_number_citation), "font-style");*/ } /** * fo_page_number_citation_get_font_variant: * @fo_fo: The @FoFo object. * * Gets the "font-variant" property of @fo_fo. * * Return value: The "font-variant" property value. **/ FoProperty * fo_page_number_citation_get_font_variant (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->font_variant; } /** * fo_page_number_citation_set_font_variant: * @fo_fo: The #FoFo object. * @new_font_variant: The new "font-variant" property value. * * Sets the "font-variant" property of @fo_fo to @new_font_variant. **/ void fo_page_number_citation_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant != NULL) { g_object_ref (new_font_variant); } if (fo_page_number_citation->font_variant != NULL) { g_object_unref (fo_page_number_citation->font_variant); } fo_page_number_citation->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_page_number_citation), "font-variant");*/ } /** * fo_page_number_citation_get_font_weight: * @fo_fo: The @FoFo object. * * Gets the "font-weight" property of @fo_fo. * * Return value: The "font-weight" property value. **/ FoProperty * fo_page_number_citation_get_font_weight (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->font_weight; } /** * fo_page_number_citation_set_font_weight: * @fo_fo: The #FoFo object. * @new_font_weight: The new "font-weight" property value. * * Sets the "font-weight" property of @fo_fo to @new_font_weight. **/ void fo_page_number_citation_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight != NULL) { g_object_ref (new_font_weight); } if (fo_page_number_citation->font_weight != NULL) { g_object_unref (fo_page_number_citation->font_weight); } fo_page_number_citation->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_page_number_citation), "font-weight");*/ } /** * fo_page_number_citation_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty * fo_page_number_citation_get_id (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->id; } /** * fo_page_number_citation_set_id: * @fo_fo: The #FoFo object. * @new_id: The new "id" property value. * * Sets the "id" property of @fo_fo to @new_id. **/ void fo_page_number_citation_set_id (FoFo *fo_fo, FoProperty *new_id) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_page_number_citation->id != NULL) { g_object_unref (fo_page_number_citation->id); } fo_page_number_citation->id = new_id; /*g_object_notify (G_OBJECT (fo_page_number_citation), "id");*/ } /** * fo_page_number_citation_get_keep_with_next: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next" property of @fo_fo. * * Return value: The "keep-with-next" property value. **/ FoProperty * fo_page_number_citation_get_keep_with_next (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->keep_with_next; } /** * fo_page_number_citation_set_keep_with_next: * @fo_fo: The #FoFo object. * @new_keep_with_next: The new "keep-with-next" property value. * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next. **/ void fo_page_number_citation_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_page_number_citation->keep_with_next != NULL) { g_object_unref (fo_page_number_citation->keep_with_next); } fo_page_number_citation->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_page_number_citation), "keep-with-next");*/ } /** * fo_page_number_citation_get_keep_with_next_within_column: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-column" property of @fo_fo. * * Return value: The "keep-with-next-within-column" property value. **/ FoProperty * fo_page_number_citation_get_keep_with_next_within_column (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->keep_with_next_within_column; } /** * fo_page_number_citation_set_keep_with_next_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value. * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column. **/ void fo_page_number_citation_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_page_number_citation->keep_with_next_within_column != NULL) { g_object_unref (fo_page_number_citation->keep_with_next_within_column); } fo_page_number_citation->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_page_number_citation), "keep-with-next-within-column");*/ } /** * fo_page_number_citation_get_keep_with_next_within_line: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-line" property of @fo_fo. * * Return value: The "keep-with-next-within-line" property value. **/ FoProperty * fo_page_number_citation_get_keep_with_next_within_line (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->keep_with_next_within_line; } /** * fo_page_number_citation_set_keep_with_next_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value. * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line. **/ void fo_page_number_citation_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_page_number_citation->keep_with_next_within_line != NULL) { g_object_unref (fo_page_number_citation->keep_with_next_within_line); } fo_page_number_citation->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_page_number_citation), "keep-with-next-within-line");*/ } /** * fo_page_number_citation_get_keep_with_next_within_page: * @fo_fo: The @FoFo object. * * Gets the "keep-with-next-within-page" property of @fo_fo. * * Return value: The "keep-with-next-within-page" property value. **/ FoProperty * fo_page_number_citation_get_keep_with_next_within_page (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->keep_with_next_within_page; } /** * fo_page_number_citation_set_keep_with_next_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value. * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page. **/ void fo_page_number_citation_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_page_number_citation->keep_with_next_within_page != NULL) { g_object_unref (fo_page_number_citation->keep_with_next_within_page); } fo_page_number_citation->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_page_number_citation), "keep-with-next-within-page");*/ } /** * fo_page_number_citation_get_keep_with_previous: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous" property of @fo_fo. * * Return value: The "keep-with-previous" property value. **/ FoProperty * fo_page_number_citation_get_keep_with_previous (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->keep_with_previous; } /** * fo_page_number_citation_set_keep_with_previous: * @fo_fo: The #FoFo object. * @new_keep_with_previous: The new "keep-with-previous" property value. * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous. **/ void fo_page_number_citation_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_page_number_citation->keep_with_previous != NULL) { g_object_unref (fo_page_number_citation->keep_with_previous); } fo_page_number_citation->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_page_number_citation), "keep-with-previous");*/ } /** * fo_page_number_citation_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-column" property of @fo_fo. * * Return value: The "keep-with-previous-within-column" property value. **/ FoProperty * fo_page_number_citation_get_keep_with_previous_within_column (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->keep_with_previous_within_column; } /** * fo_page_number_citation_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value. * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column. **/ void fo_page_number_citation_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_page_number_citation->keep_with_previous_within_column != NULL) { g_object_unref (fo_page_number_citation->keep_with_previous_within_column); } fo_page_number_citation->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_page_number_citation), "keep-with-previous-within-column");*/ } /** * fo_page_number_citation_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-line" property of @fo_fo. * * Return value: The "keep-with-previous-within-line" property value. **/ FoProperty * fo_page_number_citation_get_keep_with_previous_within_line (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->keep_with_previous_within_line; } /** * fo_page_number_citation_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value. * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line. **/ void fo_page_number_citation_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_page_number_citation->keep_with_previous_within_line != NULL) { g_object_unref (fo_page_number_citation->keep_with_previous_within_line); } fo_page_number_citation->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_page_number_citation), "keep-with-previous-within-line");*/ } /** * fo_page_number_citation_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object. * * Gets the "keep-with-previous-within-page" property of @fo_fo. * * Return value: The "keep-with-previous-within-page" property value. **/ FoProperty * fo_page_number_citation_get_keep_with_previous_within_page (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->keep_with_previous_within_page; } /** * fo_page_number_citation_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object. * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value. * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page. **/ void fo_page_number_citation_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_page_number_citation->keep_with_previous_within_page != NULL) { g_object_unref (fo_page_number_citation->keep_with_previous_within_page); } fo_page_number_citation->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_page_number_citation), "keep-with-previous-within-page");*/ } /** * fo_page_number_citation_get_line_height: * @fo_fo: The @FoFo object. * * Gets the "line-height" property of @fo_fo. * * Return value: The "line-height" property value. **/ FoProperty * fo_page_number_citation_get_line_height (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->line_height; } /** * fo_page_number_citation_set_line_height: * @fo_fo: The #FoFo object. * @new_line_height: The new "line-height" property value. * * Sets the "line-height" property of @fo_fo to @new_line_height. **/ void fo_page_number_citation_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_page_number_citation->line_height != NULL) { g_object_unref (fo_page_number_citation->line_height); } fo_page_number_citation->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_page_number_citation), "line-height");*/ } /** * fo_page_number_citation_get_padding_after: * @fo_fo: The @FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty * fo_page_number_citation_get_padding_after (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->padding_after; } /** * fo_page_number_citation_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_page_number_citation_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_page_number_citation->padding_after != NULL) { g_object_unref (fo_page_number_citation->padding_after); } fo_page_number_citation->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_page_number_citation), "padding-after");*/ } /** * fo_page_number_citation_get_padding_before: * @fo_fo: The @FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty * fo_page_number_citation_get_padding_before (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->padding_before; } /** * fo_page_number_citation_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_page_number_citation_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_page_number_citation->padding_before != NULL) { g_object_unref (fo_page_number_citation->padding_before); } fo_page_number_citation->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_page_number_citation), "padding-before");*/ } /** * fo_page_number_citation_get_padding_bottom: * @fo_fo: The @FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty * fo_page_number_citation_get_padding_bottom (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->padding_bottom; } /** * fo_page_number_citation_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_page_number_citation_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_page_number_citation->padding_bottom != NULL) { g_object_unref (fo_page_number_citation->padding_bottom); } fo_page_number_citation->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_page_number_citation), "padding-bottom");*/ } /** * fo_page_number_citation_get_padding_end: * @fo_fo: The @FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty * fo_page_number_citation_get_padding_end (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->padding_end; } /** * fo_page_number_citation_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_page_number_citation_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_page_number_citation->padding_end != NULL) { g_object_unref (fo_page_number_citation->padding_end); } fo_page_number_citation->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_page_number_citation), "padding-end");*/ } /** * fo_page_number_citation_get_padding_left: * @fo_fo: The @FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty * fo_page_number_citation_get_padding_left (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->padding_left; } /** * fo_page_number_citation_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_page_number_citation_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_page_number_citation->padding_left != NULL) { g_object_unref (fo_page_number_citation->padding_left); } fo_page_number_citation->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_page_number_citation), "padding-left");*/ } /** * fo_page_number_citation_get_padding_right: * @fo_fo: The @FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty * fo_page_number_citation_get_padding_right (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->padding_right; } /** * fo_page_number_citation_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_page_number_citation_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_page_number_citation->padding_right != NULL) { g_object_unref (fo_page_number_citation->padding_right); } fo_page_number_citation->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_page_number_citation), "padding-right");*/ } /** * fo_page_number_citation_get_padding_start: * @fo_fo: The @FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty * fo_page_number_citation_get_padding_start (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->padding_start; } /** * fo_page_number_citation_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_page_number_citation_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_page_number_citation->padding_start != NULL) { g_object_unref (fo_page_number_citation->padding_start); } fo_page_number_citation->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_page_number_citation), "padding-start");*/ } /** * fo_page_number_citation_get_padding_top: * @fo_fo: The @FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty * fo_page_number_citation_get_padding_top (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->padding_top; } /** * fo_page_number_citation_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_page_number_citation_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_page_number_citation->padding_top != NULL) { g_object_unref (fo_page_number_citation->padding_top); } fo_page_number_citation->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_page_number_citation), "padding-top");*/ } /** * fo_page_number_citation_get_ref_id: * @fo_fo: The @FoFo object. * * Gets the "ref-id" property of @fo_fo. * * Return value: The "ref-id" property value. **/ FoProperty * fo_page_number_citation_get_ref_id (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->ref_id; } /** * fo_page_number_citation_set_ref_id: * @fo_fo: The #FoFo object. * @new_ref_id: The new "ref-id" property value. * * Sets the "ref-id" property of @fo_fo to @new_ref_id. **/ void fo_page_number_citation_set_ref_id (FoFo *fo_fo, FoProperty *new_ref_id) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_REF_ID (new_ref_id)); if (new_ref_id != NULL) { g_object_ref (new_ref_id); } if (fo_page_number_citation->ref_id != NULL) { g_object_unref (fo_page_number_citation->ref_id); } fo_page_number_citation->ref_id = new_ref_id; /*g_object_notify (G_OBJECT (fo_page_number_citation), "ref-id");*/ } /** * fo_page_number_citation_get_role: * @fo_fo: The @FoFo object. * * Gets the "role" property of @fo_fo. * * Return value: The "role" property value. **/ FoProperty * fo_page_number_citation_get_role (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->role; } /** * fo_page_number_citation_set_role: * @fo_fo: The #FoFo object. * @new_role: The new "role" property value. * * Sets the "role" property of @fo_fo to @new_role. **/ void fo_page_number_citation_set_role (FoFo *fo_fo, FoProperty *new_role) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_page_number_citation->role != NULL) { g_object_unref (fo_page_number_citation->role); } fo_page_number_citation->role = new_role; /*g_object_notify (G_OBJECT (fo_page_number_citation), "role");*/ } /** * fo_page_number_citation_get_score_spaces: * @fo_fo: The @FoFo object. * * Gets the "score-spaces" property of @fo_fo. * * Return value: The "score-spaces" property value. **/ FoProperty * fo_page_number_citation_get_score_spaces (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->score_spaces; } /** * fo_page_number_citation_set_score_spaces: * @fo_fo: The #FoFo object. * @new_score_spaces: The new "score-spaces" property value. * * Sets the "score-spaces" property of @fo_fo to @new_score_spaces. **/ void fo_page_number_citation_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_SCORE_SPACES (new_score_spaces)); if (new_score_spaces != NULL) { g_object_ref (new_score_spaces); } if (fo_page_number_citation->score_spaces != NULL) { g_object_unref (fo_page_number_citation->score_spaces); } fo_page_number_citation->score_spaces = new_score_spaces; /*g_object_notify (G_OBJECT (fo_page_number_citation), "score-spaces");*/ } /** * fo_page_number_citation_get_source_document: * @fo_fo: The @FoFo object. * * Gets the "source-document" property of @fo_fo. * * Return value: The "source-document" property value. **/ FoProperty * fo_page_number_citation_get_source_document (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->source_document; } /** * fo_page_number_citation_set_source_document: * @fo_fo: The #FoFo object. * @new_source_document: The new "source-document" property value. * * Sets the "source-document" property of @fo_fo to @new_source_document. **/ void fo_page_number_citation_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_page_number_citation->source_document != NULL) { g_object_unref (fo_page_number_citation->source_document); } fo_page_number_citation->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_page_number_citation), "source-document");*/ } /** * fo_page_number_citation_get_space_end: * @fo_fo: The @FoFo object. * * Gets the "space-end" property of @fo_fo. * * Return value: The "space-end" property value. **/ FoProperty * fo_page_number_citation_get_space_end (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->space_end; } /** * fo_page_number_citation_set_space_end: * @fo_fo: The #FoFo object. * @new_space_end: The new "space-end" property value. * * Sets the "space-end" property of @fo_fo to @new_space_end. **/ void fo_page_number_citation_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_page_number_citation->space_end != NULL) { g_object_unref (fo_page_number_citation->space_end); } fo_page_number_citation->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_page_number_citation), "space-end");*/ } /** * fo_page_number_citation_get_space_start: * @fo_fo: The @FoFo object. * * Gets the "space-start" property of @fo_fo. * * Return value: The "space-start" property value. **/ FoProperty * fo_page_number_citation_get_space_start (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->space_start; } /** * fo_page_number_citation_set_space_start: * @fo_fo: The #FoFo object. * @new_space_start: The new "space-start" property value. * * Sets the "space-start" property of @fo_fo to @new_space_start. **/ void fo_page_number_citation_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_page_number_citation->space_start != NULL) { g_object_unref (fo_page_number_citation->space_start); } fo_page_number_citation->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_page_number_citation), "space-start");*/ } /** * fo_page_number_citation_get_wrap_option: * @fo_fo: The @FoFo object. * * Gets the "wrap-option" property of @fo_fo. * * Return value: The "wrap-option" property value. **/ FoProperty * fo_page_number_citation_get_wrap_option (FoFo *fo_fo) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_val_if_fail (fo_page_number_citation != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation), NULL); return fo_page_number_citation->wrap_option; } /** * fo_page_number_citation_set_wrap_option: * @fo_fo: The #FoFo object. * @new_wrap_option: The new "wrap-option" property value. * * Sets the "wrap-option" property of @fo_fo to @new_wrap_option. **/ void fo_page_number_citation_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option) { FoPageNumberCitation *fo_page_number_citation = (FoPageNumberCitation *) fo_fo; g_return_if_fail (fo_page_number_citation != NULL); g_return_if_fail (FO_IS_PAGE_NUMBER_CITATION (fo_page_number_citation)); g_return_if_fail (FO_IS_PROPERTY_WRAP_OPTION (new_wrap_option)); if (new_wrap_option != NULL) { g_object_ref (new_wrap_option); } if (fo_page_number_citation->wrap_option != NULL) { g_object_unref (fo_page_number_citation->wrap_option); } fo_page_number_citation->wrap_option = new_wrap_option; /*g_object_notify (G_OBJECT (fo_page_number_citation), "wrap-option");*/ } xmlroff-0.6.2/libfo/fo/fo-page-number-citation.h0000644000175000017500000004113010643167376016415 00000000000000/* Fo * fo-page-number-citation.h: 'page-number-citation' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PAGE_NUMBER_CITATION_H__ #define __FO_PAGE_NUMBER_CITATION_H__ #include #include #include G_BEGIN_DECLS /** * FoPageNumberCitation: * * Instance of the 'page-number-citation' formatting object. **/ typedef struct _FoPageNumberCitation FoPageNumberCitation; /** * FoPageNumberCitationClass: * * Class structure for the 'page-number-citation' formatting object. **/ typedef struct _FoPageNumberCitationClass FoPageNumberCitationClass; #define FO_TYPE_PAGE_NUMBER_CITATION (fo_page_number_citation_get_type ()) #define FO_PAGE_NUMBER_CITATION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PAGE_NUMBER_CITATION, FoPageNumberCitation)) #define FO_PAGE_NUMBER_CITATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PAGE_NUMBER_CITATION, FoPageNumberCitationClass)) #define FO_IS_PAGE_NUMBER_CITATION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PAGE_NUMBER_CITATION)) #define FO_IS_PAGE_NUMBER_CITATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PAGE_NUMBER_CITATION)) #define FO_PAGE_NUMBER_CITATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PAGE_NUMBER_CITATION, FoPageNumberCitationClass)) GType fo_page_number_citation_get_type (void) G_GNUC_CONST; FoFo * fo_page_number_citation_new (void); FoProperty * fo_page_number_citation_get_alignment_adjust (FoFo *fo_fo); void fo_page_number_citation_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty * fo_page_number_citation_get_alignment_baseline (FoFo *fo_fo); void fo_page_number_citation_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty * fo_page_number_citation_get_background_color (FoFo *fo_fo); void fo_page_number_citation_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_page_number_citation_get_background_image (FoFo *fo_fo); void fo_page_number_citation_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_page_number_citation_get_baseline_shift (FoFo *fo_fo); void fo_page_number_citation_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty * fo_page_number_citation_get_border_after_color (FoFo *fo_fo); void fo_page_number_citation_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_page_number_citation_get_border_after_style (FoFo *fo_fo); void fo_page_number_citation_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_page_number_citation_get_border_after_width (FoFo *fo_fo); void fo_page_number_citation_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_page_number_citation_get_border_before_color (FoFo *fo_fo); void fo_page_number_citation_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_page_number_citation_get_border_before_style (FoFo *fo_fo); void fo_page_number_citation_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_page_number_citation_get_border_before_width (FoFo *fo_fo); void fo_page_number_citation_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_page_number_citation_get_border_bottom_color (FoFo *fo_fo); void fo_page_number_citation_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_page_number_citation_get_border_bottom_style (FoFo *fo_fo); void fo_page_number_citation_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_page_number_citation_get_border_bottom_width (FoFo *fo_fo); void fo_page_number_citation_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_page_number_citation_get_border_end_color (FoFo *fo_fo); void fo_page_number_citation_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_page_number_citation_get_border_end_style (FoFo *fo_fo); void fo_page_number_citation_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_page_number_citation_get_border_end_width (FoFo *fo_fo); void fo_page_number_citation_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_page_number_citation_get_border_left_color (FoFo *fo_fo); void fo_page_number_citation_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_page_number_citation_get_border_left_style (FoFo *fo_fo); void fo_page_number_citation_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_page_number_citation_get_border_left_width (FoFo *fo_fo); void fo_page_number_citation_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_page_number_citation_get_border_right_color (FoFo *fo_fo); void fo_page_number_citation_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_page_number_citation_get_border_right_style (FoFo *fo_fo); void fo_page_number_citation_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_page_number_citation_get_border_right_width (FoFo *fo_fo); void fo_page_number_citation_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_page_number_citation_get_border_start_color (FoFo *fo_fo); void fo_page_number_citation_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_page_number_citation_get_border_start_style (FoFo *fo_fo); void fo_page_number_citation_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_page_number_citation_get_border_start_width (FoFo *fo_fo); void fo_page_number_citation_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_page_number_citation_get_border_top_color (FoFo *fo_fo); void fo_page_number_citation_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_page_number_citation_get_border_top_style (FoFo *fo_fo); void fo_page_number_citation_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_page_number_citation_get_border_top_width (FoFo *fo_fo); void fo_page_number_citation_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_page_number_citation_get_dominant_baseline (FoFo *fo_fo); void fo_page_number_citation_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty * fo_page_number_citation_get_font_family (FoFo *fo_fo); void fo_page_number_citation_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty * fo_page_number_citation_get_font_size (FoFo *fo_fo); void fo_page_number_citation_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty * fo_page_number_citation_get_font_stretch (FoFo *fo_fo); void fo_page_number_citation_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty * fo_page_number_citation_get_font_style (FoFo *fo_fo); void fo_page_number_citation_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty * fo_page_number_citation_get_font_variant (FoFo *fo_fo); void fo_page_number_citation_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty * fo_page_number_citation_get_font_weight (FoFo *fo_fo); void fo_page_number_citation_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty * fo_page_number_citation_get_id (FoFo *fo_fo); void fo_page_number_citation_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_page_number_citation_get_keep_with_next (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_page_number_citation_get_keep_with_next_within_column (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_page_number_citation_get_keep_with_next_within_line (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_page_number_citation_get_keep_with_next_within_page (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_page_number_citation_get_keep_with_previous (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_page_number_citation_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_page_number_citation_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_page_number_citation_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_page_number_citation_get_line_height (FoFo *fo_fo); void fo_page_number_citation_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty * fo_page_number_citation_get_padding_after (FoFo *fo_fo); void fo_page_number_citation_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_page_number_citation_get_padding_before (FoFo *fo_fo); void fo_page_number_citation_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_page_number_citation_get_padding_bottom (FoFo *fo_fo); void fo_page_number_citation_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_page_number_citation_get_padding_end (FoFo *fo_fo); void fo_page_number_citation_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_page_number_citation_get_padding_left (FoFo *fo_fo); void fo_page_number_citation_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_page_number_citation_get_padding_right (FoFo *fo_fo); void fo_page_number_citation_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_page_number_citation_get_padding_start (FoFo *fo_fo); void fo_page_number_citation_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_page_number_citation_get_padding_top (FoFo *fo_fo); void fo_page_number_citation_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_page_number_citation_get_ref_id (FoFo *fo_fo); void fo_page_number_citation_set_ref_id (FoFo *fo_fo, FoProperty *new_ref_id); FoProperty * fo_page_number_citation_get_role (FoFo *fo_fo); void fo_page_number_citation_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_page_number_citation_get_score_spaces (FoFo *fo_fo); void fo_page_number_citation_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty * fo_page_number_citation_get_source_document (FoFo *fo_fo); void fo_page_number_citation_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_page_number_citation_get_space_end (FoFo *fo_fo); void fo_page_number_citation_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty * fo_page_number_citation_get_space_start (FoFo *fo_fo); void fo_page_number_citation_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty * fo_page_number_citation_get_wrap_option (FoFo *fo_fo); void fo_page_number_citation_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); G_END_DECLS #endif /* !__FO_PAGE_NUMBER_CITATION_H__ */ xmlroff-0.6.2/libfo/fo/fo-page-number-citation-private.h0000644000175000017500000000503110643167376020065 00000000000000/* Fo * fo-page-number-citation-private.h: Structures private to 'page-number-citation' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PAGE_NUMBER_CITATION_PRIVATE_H__ #define __FO_PAGE_NUMBER_CITATION_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoPageNumberCitation { FoFo parent_instance; FoProperty *alignment_adjust; FoProperty *alignment_baseline; FoProperty *background_color; FoProperty *background_image; FoProperty *baseline_shift; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *dominant_baseline; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *id; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *line_height; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *ref_id; FoProperty *role; FoProperty *score_spaces; FoProperty *source_document; FoProperty *space_end; FoProperty *space_start; FoProperty *wrap_option; }; struct _FoPageNumberCitationClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_PAGE_NUMBER_CITATION_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-page-sequence.c0000644000175000017500000005232211062174623015112 00000000000000/* Fo * fo-page-sequence.c: 'page-sequence' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-page-sequence-private.h" #include "fo/fo-page-sequence-area.h" #include "fo/fo-tree.h" #include "fo/fo-simple-page-master.h" #include "property/fo-property-format.h" #include "property/fo-property-grouping-separator.h" #include "property/fo-property-grouping-size.h" #include "property/fo-property-id.h" #include "property/fo-property-letter-value.h" #include "property/fo-property-master-reference.h" enum { PROP_0, PROP_FORMAT, PROP_GROUPING_SEPARATOR, PROP_GROUPING_SIZE, PROP_ID, PROP_LETTER_VALUE, PROP_MASTER_REFERENCE }; static void fo_page_sequence_class_init (FoPageSequenceClass *klass); static void fo_page_sequence_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_page_sequence_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_page_sequence_finalize (GObject *object); static gboolean fo_page_sequence_validate_content (FoFo *fo, GError **error); static void fo_page_sequence_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_page_sequence_update_from_context (FoFo *fo, FoContext *context); static void fo_page_sequence_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_page_sequence_get_type: * * Register the #FoPageSequence object type. * * Return value: #GType value of the #FoPageSequence object type. **/ GType fo_page_sequence_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPageSequenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_page_sequence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPageSequence), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoPageSequence", &object_info, 0); } return object_type; } /** * fo_page_sequence_class_init: * @klass: #FoPageSequenceClass object to initialise. * * Implements #GClassInitFunc for #FoPageSequenceClass. **/ void fo_page_sequence_class_init (FoPageSequenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_page_sequence_finalize; object_class->get_property = fo_page_sequence_get_property; object_class->set_property = fo_page_sequence_set_property; fofo_class->validate_content = fo_page_sequence_validate_content; fofo_class->validate2 = fo_page_sequence_validate; fofo_class->update_from_context = fo_page_sequence_update_from_context; fofo_class->debug_dump_properties = fo_page_sequence_debug_dump_properties; fofo_class->area_new2 = fo_page_sequence_area_new; g_object_class_install_property (object_class, PROP_FORMAT, g_param_spec_object ("format", _("Format"), _("Format property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_GROUPING_SEPARATOR, g_param_spec_object ("grouping-separator", _("Grouping Separator"), _("Grouping Separator property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_GROUPING_SIZE, g_param_spec_object ("grouping-size", _("Grouping Size"), _("Grouping Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LETTER_VALUE, g_param_spec_object ("letter-value", _("Letter Value"), _("Letter Value property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MASTER_REFERENCE, g_param_spec_object ("master-reference", _("Master Reference"), _("Master Reference property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_page_sequence_finalize: * @object: #FoPageSequence object to finalize. * * Implements #GObjectFinalizeFunc for #FoPageSequence. **/ void fo_page_sequence_finalize (GObject *object) { FoPageSequence *fo_page_sequence; fo_page_sequence = FO_PAGE_SEQUENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_page_sequence_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoPageSequence. **/ void fo_page_sequence_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_FORMAT: g_value_set_object (value, G_OBJECT (fo_page_sequence_get_format (fo_fo))); break; case PROP_GROUPING_SEPARATOR: g_value_set_object (value, G_OBJECT (fo_page_sequence_get_grouping_separator (fo_fo))); break; case PROP_GROUPING_SIZE: g_value_set_object (value, G_OBJECT (fo_page_sequence_get_grouping_size (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_page_sequence_get_id (fo_fo))); break; case PROP_LETTER_VALUE: g_value_set_object (value, G_OBJECT (fo_page_sequence_get_letter_value (fo_fo))); break; case PROP_MASTER_REFERENCE: g_value_set_object (value, G_OBJECT (fo_page_sequence_get_master_reference (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_page_sequence_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoPageSequence. **/ void fo_page_sequence_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_FORMAT: fo_page_sequence_set_format (fo_fo, g_value_get_object (value)); break; case PROP_GROUPING_SEPARATOR: fo_page_sequence_set_grouping_separator (fo_fo, g_value_get_object (value)); break; case PROP_GROUPING_SIZE: fo_page_sequence_set_grouping_size (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_page_sequence_set_id (fo_fo, g_value_get_object (value)); break; case PROP_LETTER_VALUE: fo_page_sequence_set_letter_value (fo_fo, g_value_get_object (value)); break; case PROP_MASTER_REFERENCE: fo_page_sequence_set_master_reference (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_page_sequence_new: * * Creates a new #FoPageSequence initialized to default value. * * Return value: the new #FoPageSequence. **/ FoFo* fo_page_sequence_new (void) { return FO_FO (g_object_new (fo_page_sequence_get_type (), NULL)); } /** * fo_page_sequence_validate_content: * @fo: #FoPageSequence object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_page_sequence_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_PAGE_SEQUENCE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_page_sequence_validate: * @fo: #FoPageSequence object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_page_sequence_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoPageSequence *fo_page_sequence; FoFo *tree; FoFo *page_master; gchar *master_name; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_page_sequence = FO_PAGE_SEQUENCE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_fo_register_id (fo, fo_property_get_value (fo_page_sequence->id)); master_name = fo_name_get_value ( fo_property_get_value (fo_page_sequence_get_master_reference (fo))); tree = fo->tree; if (tree != NULL) { page_master = fo_tree_master_name_get (tree, master_name); /* g_print ("Master: %s\n", fo_object_sprintf (page_master)); fo_object_debug_dump (page_master, 0); */ if (page_master != NULL) fo_page_sequence->page_master = page_master; else fo_page_sequence->page_master = fo_tree_default_master_get (tree); } fo_context_set_writing_mode (current_context, fo_simple_page_master_get_writing_mode (fo_page_sequence->page_master)); } /** * fo_page_sequence_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_page_sequence_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_page_sequence_set_format (fo, fo_context_get_format (context)); fo_page_sequence_set_grouping_separator (fo, fo_context_get_grouping_separator (context)); fo_page_sequence_set_grouping_size (fo, fo_context_get_grouping_size (context)); fo_page_sequence_set_id (fo, fo_context_get_id (context)); fo_page_sequence_set_letter_value (fo, fo_context_get_letter_value (context)); fo_page_sequence_set_master_reference (fo, fo_context_get_master_reference (context)); } /** * fo_page_sequence_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_page_sequence_debug_dump_properties (FoFo *fo, gint depth) { FoPageSequence *fo_page_sequence; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo)); fo_page_sequence = FO_PAGE_SEQUENCE (fo); fo_object_debug_dump (fo_page_sequence->format, depth); fo_object_debug_dump (fo_page_sequence->grouping_separator, depth); fo_object_debug_dump (fo_page_sequence->grouping_size, depth); fo_object_debug_dump (fo_page_sequence->id, depth); fo_object_debug_dump (fo_page_sequence->letter_value, depth); fo_object_debug_dump (fo_page_sequence->master_reference, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_page_sequence_get_format: * @fo_fo: The @FoFo object. * * Gets the "format" property of @fo_fo. * * Return value: The "format" property value. **/ FoProperty * fo_page_sequence_get_format (FoFo *fo_fo) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_val_if_fail (fo_page_sequence != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence), NULL); return fo_page_sequence->format; } /** * fo_page_sequence_set_format: * @fo_fo: The #FoFo object. * @new_format: The new "format" property value. * * Sets the "format" property of @fo_fo to @new_format. **/ void fo_page_sequence_set_format (FoFo *fo_fo, FoProperty *new_format) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_if_fail (fo_page_sequence != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence)); g_return_if_fail (FO_IS_PROPERTY_FORMAT (new_format)); if (new_format != NULL) { g_object_ref (new_format); } if (fo_page_sequence->format != NULL) { g_object_unref (fo_page_sequence->format); } fo_page_sequence->format = new_format; /*g_object_notify (G_OBJECT (fo_page_sequence), "format");*/ } /** * fo_page_sequence_get_grouping_separator: * @fo_fo: The @FoFo object. * * Gets the "grouping-separator" property of @fo_fo. * * Return value: The "grouping-separator" property value. **/ FoProperty * fo_page_sequence_get_grouping_separator (FoFo *fo_fo) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_val_if_fail (fo_page_sequence != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence), NULL); return fo_page_sequence->grouping_separator; } /** * fo_page_sequence_set_grouping_separator: * @fo_fo: The #FoFo object. * @new_grouping_separator: The new "grouping-separator" property value. * * Sets the "grouping-separator" property of @fo_fo to @new_grouping_separator. **/ void fo_page_sequence_set_grouping_separator (FoFo *fo_fo, FoProperty *new_grouping_separator) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_if_fail (fo_page_sequence != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence)); g_return_if_fail (FO_IS_PROPERTY_GROUPING_SEPARATOR (new_grouping_separator)); if (new_grouping_separator != NULL) { g_object_ref (new_grouping_separator); } if (fo_page_sequence->grouping_separator != NULL) { g_object_unref (fo_page_sequence->grouping_separator); } fo_page_sequence->grouping_separator = new_grouping_separator; /*g_object_notify (G_OBJECT (fo_page_sequence), "grouping-separator");*/ } /** * fo_page_sequence_get_grouping_size: * @fo_fo: The @FoFo object. * * Gets the "grouping-size" property of @fo_fo. * * Return value: The "grouping-size" property value. **/ FoProperty * fo_page_sequence_get_grouping_size (FoFo *fo_fo) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_val_if_fail (fo_page_sequence != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence), NULL); return fo_page_sequence->grouping_size; } /** * fo_page_sequence_set_grouping_size: * @fo_fo: The #FoFo object. * @new_grouping_size: The new "grouping-size" property value. * * Sets the "grouping-size" property of @fo_fo to @new_grouping_size. **/ void fo_page_sequence_set_grouping_size (FoFo *fo_fo, FoProperty *new_grouping_size) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_if_fail (fo_page_sequence != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence)); g_return_if_fail (FO_IS_PROPERTY_GROUPING_SIZE (new_grouping_size)); if (new_grouping_size != NULL) { g_object_ref (new_grouping_size); } if (fo_page_sequence->grouping_size != NULL) { g_object_unref (fo_page_sequence->grouping_size); } fo_page_sequence->grouping_size = new_grouping_size; /*g_object_notify (G_OBJECT (fo_page_sequence), "grouping-size");*/ } /** * fo_page_sequence_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty * fo_page_sequence_get_id (FoFo *fo_fo) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_val_if_fail (fo_page_sequence != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence), NULL); return fo_page_sequence->id; } /** * fo_page_sequence_set_id: * @fo_fo: The #FoFo object. * @new_id: The new "id" property value. * * Sets the "id" property of @fo_fo to @new_id. **/ void fo_page_sequence_set_id (FoFo *fo_fo, FoProperty *new_id) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_if_fail (fo_page_sequence != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_page_sequence->id != NULL) { g_object_unref (fo_page_sequence->id); } fo_page_sequence->id = new_id; /*g_object_notify (G_OBJECT (fo_page_sequence), "id");*/ } /** * fo_page_sequence_get_letter_value: * @fo_fo: The @FoFo object. * * Gets the "letter-value" property of @fo_fo. * * Return value: The "letter-value" property value. **/ FoProperty * fo_page_sequence_get_letter_value (FoFo *fo_fo) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_val_if_fail (fo_page_sequence != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence), NULL); return fo_page_sequence->letter_value; } /** * fo_page_sequence_set_letter_value: * @fo_fo: The #FoFo object. * @new_letter_value: The new "letter-value" property value. * * Sets the "letter-value" property of @fo_fo to @new_letter_value. **/ void fo_page_sequence_set_letter_value (FoFo *fo_fo, FoProperty *new_letter_value) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_if_fail (fo_page_sequence != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence)); g_return_if_fail (FO_IS_PROPERTY_LETTER_VALUE (new_letter_value)); if (new_letter_value != NULL) { g_object_ref (new_letter_value); } if (fo_page_sequence->letter_value != NULL) { g_object_unref (fo_page_sequence->letter_value); } fo_page_sequence->letter_value = new_letter_value; /*g_object_notify (G_OBJECT (fo_page_sequence), "letter-value");*/ } /** * fo_page_sequence_get_master_reference: * @fo_fo: The @FoFo object. * * Gets the "master-reference" property of @fo_fo. * * Return value: The "master-reference" property value. **/ FoProperty * fo_page_sequence_get_master_reference (FoFo *fo_fo) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_val_if_fail (fo_page_sequence != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence), NULL); return fo_page_sequence->master_reference; } /** * fo_page_sequence_set_master_reference: * @fo_fo: The #FoFo object. * @new_master_reference: The new "master-reference" property value. * * Sets the "master-reference" property of @fo_fo to @new_master_reference. **/ void fo_page_sequence_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference) { FoPageSequence *fo_page_sequence = (FoPageSequence *) fo_fo; g_return_if_fail (fo_page_sequence != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE (fo_page_sequence)); g_return_if_fail (FO_IS_PROPERTY_MASTER_REFERENCE (new_master_reference)); if (new_master_reference != NULL) { g_object_ref (new_master_reference); } if (fo_page_sequence->master_reference != NULL) { g_object_unref (fo_page_sequence->master_reference); } fo_page_sequence->master_reference = new_master_reference; /*g_object_notify (G_OBJECT (fo_page_sequence), "master-reference");*/ } xmlroff-0.6.2/libfo/fo/fo-page-sequence.h0000644000175000017500000000530410643167376015130 00000000000000/* Fo * fo-page-sequence.h: 'page-sequence' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PAGE_SEQUENCE_H__ #define __FO_PAGE_SEQUENCE_H__ #include #include #include G_BEGIN_DECLS /** * FoPageSequence: * * Instance of the 'page-sequence' formatting object. **/ typedef struct _FoPageSequence FoPageSequence; /** * FoPageSequenceClass: * * Class structure for the 'page-sequence' formatting object. **/ typedef struct _FoPageSequenceClass FoPageSequenceClass; #define FO_TYPE_PAGE_SEQUENCE (fo_page_sequence_get_type ()) #define FO_PAGE_SEQUENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PAGE_SEQUENCE, FoPageSequence)) #define FO_PAGE_SEQUENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PAGE_SEQUENCE, FoPageSequenceClass)) #define FO_IS_PAGE_SEQUENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PAGE_SEQUENCE)) #define FO_IS_PAGE_SEQUENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PAGE_SEQUENCE)) #define FO_PAGE_SEQUENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PAGE_SEQUENCE, FoPageSequenceClass)) GType fo_page_sequence_get_type (void) G_GNUC_CONST; FoFo * fo_page_sequence_new (void); FoProperty * fo_page_sequence_get_format (FoFo *fo_fo); void fo_page_sequence_set_format (FoFo *fo_fo, FoProperty *new_format); FoProperty * fo_page_sequence_get_grouping_separator (FoFo *fo_fo); void fo_page_sequence_set_grouping_separator (FoFo *fo_fo, FoProperty *new_grouping_separator); FoProperty * fo_page_sequence_get_grouping_size (FoFo *fo_fo); void fo_page_sequence_set_grouping_size (FoFo *fo_fo, FoProperty *new_grouping_size); FoProperty * fo_page_sequence_get_id (FoFo *fo_fo); void fo_page_sequence_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_page_sequence_get_letter_value (FoFo *fo_fo); void fo_page_sequence_set_letter_value (FoFo *fo_fo, FoProperty *new_letter_value); FoProperty * fo_page_sequence_get_master_reference (FoFo *fo_fo); void fo_page_sequence_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); G_END_DECLS #endif /* !__FO_PAGE_SEQUENCE_H__ */ xmlroff-0.6.2/libfo/fo/fo-page-sequence-private.h0000644000175000017500000000142610643167376016601 00000000000000/* Fo * fo-page-sequence-private.h: Structures private to 'page-sequence' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PAGE_SEQUENCE_PRIVATE_H__ #define __FO_PAGE_SEQUENCE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoPageSequence { FoFo parent_instance; FoProperty *format; FoProperty *grouping_separator; FoProperty *grouping_size; FoProperty *id; FoProperty *letter_value; FoProperty *master_reference; FoFo *page_master; FoFo *region_body; }; struct _FoPageSequenceClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_PAGE_SEQUENCE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-page-sequence-master.c0000644000175000017500000002761010660107744016410 00000000000000/* Fo * fo-page-sequence-master.c: Page Sequence Master formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-fo.h" #include "fo-fo-private.h" #include "fo-page-sequence-master.h" #include "fo-page-sequence-master-private.h" #include "fo-tree.h" #include "fo-single-page-master-reference.h" #include "fo-repeatable-page-master-reference.h" #include "fo-repeatable-page-master-alternatives.h" #include "property/fo-property-master-name.h" enum { PROP_0, PROP_MASTER_NAME }; static void fo_page_sequence_master_class_init (FoPageSequenceMasterClass *klass); static void fo_page_sequence_master_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_page_sequence_master_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_page_sequence_master_finalize (GObject *object); static gboolean fo_page_sequence_master_validate_content (FoFo *fo, GError **error); static void fo_page_sequence_master_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context); static void fo_page_sequence_master_update_from_context (FoFo *fo, FoContext *context); static void fo_page_sequence_master_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_page_sequence_master_get_type: * @void: * * Register the FoPageSequenceMaster object type. * * Return value: GType value of the FoPageSequenceMaster object type. **/ GType fo_page_sequence_master_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPageSequenceMasterClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_page_sequence_master_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPageSequenceMaster), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoPageSequenceMaster", &object_info, 0); } return object_type; } /** * fo_page_sequence_master_class_init: * @klass: FoPageSequenceMasterClass object to initialise * * Implements GClassInitFunc for FoPageSequenceMasterClass **/ void fo_page_sequence_master_class_init (FoPageSequenceMasterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_page_sequence_master_finalize; object_class->set_property = fo_page_sequence_master_set_property; object_class->get_property = fo_page_sequence_master_get_property; FO_FO_CLASS (klass)->validate_content = fo_page_sequence_master_validate_content; FO_FO_CLASS (klass)->validate = fo_page_sequence_master_validate; FO_FO_CLASS (klass)->update_from_context = fo_page_sequence_master_update_from_context; FO_FO_CLASS (klass)->debug_dump_properties = fo_page_sequence_master_debug_dump_properties; FO_FO_CLASS (klass)->area_new2 = NULL; g_object_class_install_property (object_class, PROP_MASTER_NAME, g_param_spec_object ("master-name", _("Master Name"), _("Master Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_page_sequence_master_finalize: * @object: FoPageSequenceMaster object to finalize * * Implements GObjectFinalizeFunc for FoPageSequenceMaster **/ void fo_page_sequence_master_finalize (GObject *object) { FoPageSequenceMaster *fo_page_sequence_master; fo_page_sequence_master = FO_PAGE_SEQUENCE_MASTER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_page_sequence_master_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoPageSequenceMaster **/ void fo_page_sequence_master_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MASTER_NAME: fo_page_sequence_master_set_master_name (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_page_sequence_master_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoPageSequenceMaster **/ void fo_page_sequence_master_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MASTER_NAME: g_value_set_object (value, G_OBJECT (fo_page_sequence_master_get_master_name (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_page_sequence_master_new: * * Creates a new #FoPageSequenceMaster initialized to default value. * * Return value: the new #FoPageSequenceMaster **/ FoFo* fo_page_sequence_master_new (void) { return FO_FO (g_object_new (fo_page_sequence_master_get_type (), NULL)); } /** * fo_page_sequence_master_validate_content: * @fo: FoPageSequenceMaster object to validate * @error: GError indicating error condition, if any * * Validate the content model, i.e., the structure, of the object. * Return value matches GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not **/ gboolean fo_page_sequence_master_validate_content (FoFo *fo, GError **error) { GError *tmp_error; FoNode *fo_node; FoNode *child_node; gint n_children; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_PAGE_SEQUENCE_MASTER (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_node = FO_NODE (fo); fo_fo_trim_whitespace_children (fo); n_children = fo_node_n_children (fo_node); if (n_children == 0) { goto error; } child_node = fo_node_first_child (fo_node); while (child_node) { if (FO_IS_SINGLE_PAGE_MASTER_REFERENCE (child_node) || FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE (child_node) || FO_IS_REPEATABLE_PAGE_MASTER_ALTERNATIVES (child_node)) { child_node = fo_node_next_sibling (child_node); } else { goto error; } } return FALSE; error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } /** * fo_page_sequence_master_validate: * @fo: FoPageSequenceMaster object to validate * @current_context: FoContext associated with current object * @parent_context: FoContext associated with parent FO * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values **/ void fo_page_sequence_master_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context) { FoFo *tree; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE_MASTER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); tree = fo->tree; if (tree != NULL) { gchar *master_name = fo_name_get_value (fo_property_get_value (fo_page_sequence_master_get_master_name (fo))); fo_tree_page_sequence_master_name_add (tree, master_name, fo); g_free (master_name); } else { g_assert_not_reached(); } } /** * fo_page_sequence_master_update_from_context: * @fo: The #FoFo object * @context: The #FoContext object from which to update the properties of @fo * * Sets the properties of @fo to the corresponding property values in @context **/ void fo_page_sequence_master_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE_MASTER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_page_sequence_master_set_master_name (fo, fo_context_get_master_name (context)); } /** * fo_page_sequence_master_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_page_sequence_master_debug_dump_properties (FoFo *fo, gint depth) { FoPageSequenceMaster *fo_page_sequence_master; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE_MASTER (fo)); fo_page_sequence_master = FO_PAGE_SEQUENCE_MASTER (fo); fo_object_debug_dump (fo_page_sequence_master->master_name, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_page_sequence_master_set_master_name: * @fo_fo: The @FoFo object * @new_master_name: The new "master-name" property value * * Sets the #master-name property of @page_sequence_master to @new_master_name **/ void fo_page_sequence_master_set_master_name (FoFo *fo_fo, FoProperty *new_master_name) { FoPageSequenceMaster *fo_page_sequence_master = (FoPageSequenceMaster *) fo_fo; g_return_if_fail (fo_page_sequence_master != NULL); g_return_if_fail (FO_IS_PAGE_SEQUENCE_MASTER (fo_page_sequence_master)); g_return_if_fail (FO_IS_PROPERTY_MASTER_NAME (new_master_name)); if (new_master_name) g_object_ref (G_OBJECT (new_master_name)); if (fo_page_sequence_master->master_name) g_object_unref (G_OBJECT (fo_page_sequence_master->master_name)); fo_page_sequence_master->master_name = new_master_name; /*g_object_notify (G_OBJECT (fo_page_sequence_master), "master-name");*/ } /** * fo_page_sequence_master_get_master_name: * @fo_fo: The @FoFo object * * Gets the #master-name property of @page_sequence_master * * Return value: The "master-name" property value **/ FoProperty* fo_page_sequence_master_get_master_name (FoFo *fo_fo) { FoPageSequenceMaster *fo_page_sequence_master = (FoPageSequenceMaster *) fo_fo; g_return_val_if_fail (fo_page_sequence_master != NULL, NULL); g_return_val_if_fail (FO_IS_PAGE_SEQUENCE_MASTER (fo_page_sequence_master), NULL); return fo_page_sequence_master->master_name; } xmlroff-0.6.2/libfo/fo/fo-page-sequence-master.h0000644000175000017500000000321010643167376016413 00000000000000/* Fo * fo-page_sequence_master.h: Page Sequence Master formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PAGE_SEQUENCE_MASTER_H__ #define __FO_PAGE_SEQUENCE_MASTER_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoPageSequenceMaster FoPageSequenceMaster; typedef struct _FoPageSequenceMasterClass FoPageSequenceMasterClass; #define FO_TYPE_PAGE_SEQUENCE_MASTER (fo_page_sequence_master_get_type ()) #define FO_PAGE_SEQUENCE_MASTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PAGE_SEQUENCE_MASTER, FoPageSequenceMaster)) #define FO_PAGE_SEQUENCE_MASTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PAGE_SEQUENCE_MASTER, FoPageSequenceMasterClass)) #define FO_IS_PAGE_SEQUENCE_MASTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PAGE_SEQUENCE_MASTER)) #define FO_IS_PAGE_SEQUENCE_MASTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PAGE_SEQUENCE_MASTER)) #define FO_PAGE_SEQUENCE_MASTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PAGE_SEQUENCE_MASTER, FoPageSequenceMasterClass)) GType fo_page_sequence_master_get_type (void) G_GNUC_CONST; FoFo *fo_page_sequence_master_new (void); void fo_page_sequence_master_set_master_name (FoFo *fo_fo, FoProperty *new_master_name); FoProperty *fo_page_sequence_master_get_master_name (FoFo *fo_fo); G_END_DECLS #endif /* !__FO_PAGE_SEQUENCE_MASTER_H__ */ xmlroff-0.6.2/libfo/fo/fo-page-sequence-master-private.h0000644000175000017500000000077710643167375020101 00000000000000/* Fo * fo-page-sequence-master-private.h: Structures private to Page Sequence Master formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include struct _FoPageSequenceMaster { FoFo parent_instance; FoProperty *master_name; }; struct _FoPageSequenceMasterClass { FoFoClass parent_class; }; xmlroff-0.6.2/libfo/fo/fo-region-after.c0000644000175000017500000026701010701021100014730 00000000000000/* Fo * fo-region-after.c: 'region-after' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "fo/fo-region-after-private.h" #include "fo/fo-simple-page-master.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-clip.h" #include "property/fo-property-display-align.h" #include "property/fo-property-extent.h" #include "property/fo-property-overflow.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-region-name.h" #include "property/fo-property-writing-mode.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_CLIP, PROP_DISPLAY_ALIGN, PROP_EXTENT, PROP_OVERFLOW, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_REGION_NAME, PROP_WRITING_MODE }; static void fo_region_after_class_init (FoRegionAfterClass *klass); static void fo_region_after_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_region_after_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_region_after_finalize (GObject *object); static void fo_region_after_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_region_after_update_from_context (FoFo *fo, FoContext *context); static void fo_region_after_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_region_after_get_type: * * Register the #FoRegionAfter object type. * * Return value: #GType value of the #FoRegionAfter object type. **/ GType fo_region_after_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRegionAfterClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_region_after_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoRegionAfter), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoRegionAfter", &object_info, 0); } return object_type; } /** * fo_region_after_class_init: * @klass: #FoRegionAfterClass object to initialise. * * Implements #GClassInitFunc for #FoRegionAfterClass. **/ void fo_region_after_class_init (FoRegionAfterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_region_after_finalize; object_class->get_property = fo_region_after_get_property; object_class->set_property = fo_region_after_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_region_after_validate; fofo_class->update_from_context = fo_region_after_update_from_context; fofo_class->debug_dump_properties = fo_region_after_debug_dump_properties; fofo_class->generate_reference_area = TRUE; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_EXTENT, g_param_spec_object ("extent", _("Extent"), _("Extent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_REGION_NAME, g_param_spec_object ("region-name", _("Region Name"), _("Region Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_region_after_finalize: * @object: #FoRegionAfter object to finalize. * * Implements #GObjectFinalizeFunc for #FoRegionAfter. **/ void fo_region_after_finalize (GObject *object) { FoRegionAfter *fo_region_after; fo_region_after = FO_REGION_AFTER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_region_after_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoRegionAfter. **/ void fo_region_after_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_region_after_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_region_after_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_after_get_border_top_width (fo_fo))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_region_after_get_clip (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_region_after_get_display_align (fo_fo))); break; case PROP_EXTENT: g_value_set_object (value, G_OBJECT (fo_region_after_get_extent (fo_fo))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_region_after_get_overflow (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_region_after_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_region_after_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_region_after_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_region_after_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_region_after_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_region_after_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_region_after_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_region_after_get_padding_top (fo_fo))); break; case PROP_REGION_NAME: g_value_set_object (value, G_OBJECT (fo_region_after_get_region_name (fo_fo))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_region_after_get_writing_mode (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_after_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoRegionAfter. **/ void fo_region_after_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_region_after_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_region_after_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_region_after_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_region_after_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_region_after_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_region_after_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_region_after_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_region_after_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_region_after_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_region_after_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_region_after_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_region_after_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_region_after_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_region_after_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_region_after_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_region_after_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_region_after_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_region_after_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_region_after_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_region_after_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_region_after_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_region_after_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_region_after_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_region_after_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_region_after_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_region_after_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_CLIP: fo_region_after_set_clip (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_region_after_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_EXTENT: fo_region_after_set_extent (fo_fo, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_region_after_set_overflow (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_region_after_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_region_after_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_region_after_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_region_after_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_region_after_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_region_after_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_region_after_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_region_after_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_REGION_NAME: fo_region_after_set_region_name (fo_fo, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_region_after_set_writing_mode (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_after_new: * * Creates a new #FoRegionAfter initialized to default value. * * Return value: the new #FoRegionAfter. **/ FoFo* fo_region_after_new (void) { return FO_FO (g_object_new (fo_region_after_get_type (), NULL)); } /** * fo_region_after_validate: * @fo: #FoRegionAfter object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_region_after_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_margins_indents_resolve (fo, current_context, parent_context); fo_context_util_margins_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); FoDatatype *region_name_datatype = fo_property_get_value (fo_region_after_get_region_name (fo)); gchar *region_name = NULL; if (region_name_datatype != NULL) { region_name = fo_name_get_value (region_name_datatype); } else { /* Need a freeable string because g_free() needed if name had come from fo_name_get_value(). */ region_name = g_strdup ("xsl-region-after"); /* Also set the 'region-name' property to its default. */ region_name_datatype = fo_name_new_with_value (region_name); FoProperty *region_name_prop = fo_property_region_name_new (); fo_property_set_value (region_name_prop, region_name_datatype); fo_region_after_set_region_name (fo, region_name_prop); } FoFo *simple_page_master = FO_FO (fo_node_parent (FO_NODE (fo))); if (simple_page_master != NULL) { fo_simple_page_master_region_name_add (simple_page_master, region_name, fo); } else { g_assert_not_reached(); } g_free (region_name); } /** * fo_region_after_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_region_after_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_region_after_set_background_color (fo, fo_context_get_background_color (context)); fo_region_after_set_background_image (fo, fo_context_get_background_image (context)); fo_region_after_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_region_after_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_region_after_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_region_after_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_region_after_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_region_after_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_region_after_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_region_after_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_region_after_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_region_after_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_region_after_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_region_after_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_region_after_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_region_after_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_region_after_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_region_after_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_region_after_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_region_after_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_region_after_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_region_after_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_region_after_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_region_after_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_region_after_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_region_after_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_region_after_set_clip (fo, fo_context_get_clip (context)); fo_region_after_set_display_align (fo, fo_context_get_display_align (context)); fo_region_after_set_extent (fo, fo_context_get_extent (context)); fo_region_after_set_overflow (fo, fo_context_get_overflow (context)); fo_region_after_set_padding_after (fo, fo_context_get_padding_after (context)); fo_region_after_set_padding_before (fo, fo_context_get_padding_before (context)); fo_region_after_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_region_after_set_padding_end (fo, fo_context_get_padding_end (context)); fo_region_after_set_padding_left (fo, fo_context_get_padding_left (context)); fo_region_after_set_padding_right (fo, fo_context_get_padding_right (context)); fo_region_after_set_padding_start (fo, fo_context_get_padding_start (context)); fo_region_after_set_padding_top (fo, fo_context_get_padding_top (context)); fo_region_after_set_region_name (fo, fo_context_get_region_name (context)); fo_region_after_set_writing_mode (fo, fo_context_get_writing_mode (context)); } /** * fo_region_after_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_region_after_debug_dump_properties (FoFo *fo, gint depth) { FoRegionAfter *fo_region_after; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo)); fo_region_after = FO_REGION_AFTER (fo); fo_object_debug_dump (fo_region_after->background_color, depth); fo_object_debug_dump (fo_region_after->background_image, depth); fo_object_debug_dump (fo_region_after->border_after_color, depth); fo_object_debug_dump (fo_region_after->border_after_style, depth); fo_object_debug_dump (fo_region_after->border_after_width, depth); fo_object_debug_dump (fo_region_after->border_before_color, depth); fo_object_debug_dump (fo_region_after->border_before_style, depth); fo_object_debug_dump (fo_region_after->border_before_width, depth); fo_object_debug_dump (fo_region_after->border_bottom_color, depth); fo_object_debug_dump (fo_region_after->border_bottom_style, depth); fo_object_debug_dump (fo_region_after->border_bottom_width, depth); fo_object_debug_dump (fo_region_after->border_end_color, depth); fo_object_debug_dump (fo_region_after->border_end_style, depth); fo_object_debug_dump (fo_region_after->border_end_width, depth); fo_object_debug_dump (fo_region_after->border_left_color, depth); fo_object_debug_dump (fo_region_after->border_left_style, depth); fo_object_debug_dump (fo_region_after->border_left_width, depth); fo_object_debug_dump (fo_region_after->border_right_color, depth); fo_object_debug_dump (fo_region_after->border_right_style, depth); fo_object_debug_dump (fo_region_after->border_right_width, depth); fo_object_debug_dump (fo_region_after->border_start_color, depth); fo_object_debug_dump (fo_region_after->border_start_style, depth); fo_object_debug_dump (fo_region_after->border_start_width, depth); fo_object_debug_dump (fo_region_after->border_top_color, depth); fo_object_debug_dump (fo_region_after->border_top_style, depth); fo_object_debug_dump (fo_region_after->border_top_width, depth); fo_object_debug_dump (fo_region_after->clip, depth); fo_object_debug_dump (fo_region_after->display_align, depth); fo_object_debug_dump (fo_region_after->extent, depth); fo_object_debug_dump (fo_region_after->overflow, depth); fo_object_debug_dump (fo_region_after->padding_after, depth); fo_object_debug_dump (fo_region_after->padding_before, depth); fo_object_debug_dump (fo_region_after->padding_bottom, depth); fo_object_debug_dump (fo_region_after->padding_end, depth); fo_object_debug_dump (fo_region_after->padding_left, depth); fo_object_debug_dump (fo_region_after->padding_right, depth); fo_object_debug_dump (fo_region_after->padding_start, depth); fo_object_debug_dump (fo_region_after->padding_top, depth); fo_object_debug_dump (fo_region_after->region_name, depth); fo_object_debug_dump (fo_region_after->writing_mode, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_region_after_get_background_color: * @fo_fo: The @FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty* fo_region_after_get_background_color (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->background_color; } /** * fo_region_after_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_region_after_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_region_after->background_color != NULL) { g_object_unref (fo_region_after->background_color); } fo_region_after->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_region_after), "background-color");*/ } /** * fo_region_after_get_background_image: * @fo_fo: The @FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty* fo_region_after_get_background_image (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->background_image; } /** * fo_region_after_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_region_after_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_region_after->background_image != NULL) { g_object_unref (fo_region_after->background_image); } fo_region_after->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_region_after), "background-image");*/ } /** * fo_region_after_get_border_after_color: * @fo_fo: The @FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty* fo_region_after_get_border_after_color (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_after_color; } /** * fo_region_after_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_region_after_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_region_after->border_after_color != NULL) { g_object_unref (fo_region_after->border_after_color); } fo_region_after->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_region_after), "border-after-color");*/ } /** * fo_region_after_get_border_after_style: * @fo_fo: The @FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty* fo_region_after_get_border_after_style (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_after_style; } /** * fo_region_after_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_region_after_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_region_after->border_after_style != NULL) { g_object_unref (fo_region_after->border_after_style); } fo_region_after->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_region_after), "border-after-style");*/ } /** * fo_region_after_get_border_after_width: * @fo_fo: The @FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty* fo_region_after_get_border_after_width (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_after_width; } /** * fo_region_after_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_region_after_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_region_after->border_after_width != NULL) { g_object_unref (fo_region_after->border_after_width); } fo_region_after->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_region_after), "border-after-width");*/ } /** * fo_region_after_get_border_before_color: * @fo_fo: The @FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty* fo_region_after_get_border_before_color (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_before_color; } /** * fo_region_after_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_region_after_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_region_after->border_before_color != NULL) { g_object_unref (fo_region_after->border_before_color); } fo_region_after->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_region_after), "border-before-color");*/ } /** * fo_region_after_get_border_before_style: * @fo_fo: The @FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty* fo_region_after_get_border_before_style (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_before_style; } /** * fo_region_after_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_region_after_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_region_after->border_before_style != NULL) { g_object_unref (fo_region_after->border_before_style); } fo_region_after->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_region_after), "border-before-style");*/ } /** * fo_region_after_get_border_before_width: * @fo_fo: The @FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty* fo_region_after_get_border_before_width (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_before_width; } /** * fo_region_after_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_region_after_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_region_after->border_before_width != NULL) { g_object_unref (fo_region_after->border_before_width); } fo_region_after->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_region_after), "border-before-width");*/ } /** * fo_region_after_get_border_bottom_color: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty* fo_region_after_get_border_bottom_color (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_bottom_color; } /** * fo_region_after_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_region_after_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_region_after->border_bottom_color != NULL) { g_object_unref (fo_region_after->border_bottom_color); } fo_region_after->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_region_after), "border-bottom-color");*/ } /** * fo_region_after_get_border_bottom_style: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty* fo_region_after_get_border_bottom_style (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_bottom_style; } /** * fo_region_after_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_region_after_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_region_after->border_bottom_style != NULL) { g_object_unref (fo_region_after->border_bottom_style); } fo_region_after->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_region_after), "border-bottom-style");*/ } /** * fo_region_after_get_border_bottom_width: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty* fo_region_after_get_border_bottom_width (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_bottom_width; } /** * fo_region_after_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_region_after_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_region_after->border_bottom_width != NULL) { g_object_unref (fo_region_after->border_bottom_width); } fo_region_after->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_region_after), "border-bottom-width");*/ } /** * fo_region_after_get_border_end_color: * @fo_fo: The @FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty* fo_region_after_get_border_end_color (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_end_color; } /** * fo_region_after_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_region_after_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_region_after->border_end_color != NULL) { g_object_unref (fo_region_after->border_end_color); } fo_region_after->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_region_after), "border-end-color");*/ } /** * fo_region_after_get_border_end_style: * @fo_fo: The @FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty* fo_region_after_get_border_end_style (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_end_style; } /** * fo_region_after_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_region_after_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_region_after->border_end_style != NULL) { g_object_unref (fo_region_after->border_end_style); } fo_region_after->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_region_after), "border-end-style");*/ } /** * fo_region_after_get_border_end_width: * @fo_fo: The @FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty* fo_region_after_get_border_end_width (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_end_width; } /** * fo_region_after_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_region_after_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_region_after->border_end_width != NULL) { g_object_unref (fo_region_after->border_end_width); } fo_region_after->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_region_after), "border-end-width");*/ } /** * fo_region_after_get_border_left_color: * @fo_fo: The @FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty* fo_region_after_get_border_left_color (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_left_color; } /** * fo_region_after_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_region_after_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_region_after->border_left_color != NULL) { g_object_unref (fo_region_after->border_left_color); } fo_region_after->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_region_after), "border-left-color");*/ } /** * fo_region_after_get_border_left_style: * @fo_fo: The @FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty* fo_region_after_get_border_left_style (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_left_style; } /** * fo_region_after_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_region_after_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_region_after->border_left_style != NULL) { g_object_unref (fo_region_after->border_left_style); } fo_region_after->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_region_after), "border-left-style");*/ } /** * fo_region_after_get_border_left_width: * @fo_fo: The @FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty* fo_region_after_get_border_left_width (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_left_width; } /** * fo_region_after_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_region_after_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_region_after->border_left_width != NULL) { g_object_unref (fo_region_after->border_left_width); } fo_region_after->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_region_after), "border-left-width");*/ } /** * fo_region_after_get_border_right_color: * @fo_fo: The @FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty* fo_region_after_get_border_right_color (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_right_color; } /** * fo_region_after_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_region_after_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_region_after->border_right_color != NULL) { g_object_unref (fo_region_after->border_right_color); } fo_region_after->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_region_after), "border-right-color");*/ } /** * fo_region_after_get_border_right_style: * @fo_fo: The @FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty* fo_region_after_get_border_right_style (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_right_style; } /** * fo_region_after_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_region_after_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_region_after->border_right_style != NULL) { g_object_unref (fo_region_after->border_right_style); } fo_region_after->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_region_after), "border-right-style");*/ } /** * fo_region_after_get_border_right_width: * @fo_fo: The @FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty* fo_region_after_get_border_right_width (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_right_width; } /** * fo_region_after_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_region_after_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_region_after->border_right_width != NULL) { g_object_unref (fo_region_after->border_right_width); } fo_region_after->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_region_after), "border-right-width");*/ } /** * fo_region_after_get_border_start_color: * @fo_fo: The @FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty* fo_region_after_get_border_start_color (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_start_color; } /** * fo_region_after_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_region_after_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_region_after->border_start_color != NULL) { g_object_unref (fo_region_after->border_start_color); } fo_region_after->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_region_after), "border-start-color");*/ } /** * fo_region_after_get_border_start_style: * @fo_fo: The @FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty* fo_region_after_get_border_start_style (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_start_style; } /** * fo_region_after_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_region_after_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_region_after->border_start_style != NULL) { g_object_unref (fo_region_after->border_start_style); } fo_region_after->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_region_after), "border-start-style");*/ } /** * fo_region_after_get_border_start_width: * @fo_fo: The @FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty* fo_region_after_get_border_start_width (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_start_width; } /** * fo_region_after_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_region_after_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_region_after->border_start_width != NULL) { g_object_unref (fo_region_after->border_start_width); } fo_region_after->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_region_after), "border-start-width");*/ } /** * fo_region_after_get_border_top_color: * @fo_fo: The @FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty* fo_region_after_get_border_top_color (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_top_color; } /** * fo_region_after_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_region_after_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_region_after->border_top_color != NULL) { g_object_unref (fo_region_after->border_top_color); } fo_region_after->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_region_after), "border-top-color");*/ } /** * fo_region_after_get_border_top_style: * @fo_fo: The @FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty* fo_region_after_get_border_top_style (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_top_style; } /** * fo_region_after_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_region_after_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_region_after->border_top_style != NULL) { g_object_unref (fo_region_after->border_top_style); } fo_region_after->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_region_after), "border-top-style");*/ } /** * fo_region_after_get_border_top_width: * @fo_fo: The @FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty* fo_region_after_get_border_top_width (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->border_top_width; } /** * fo_region_after_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_region_after_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_region_after->border_top_width != NULL) { g_object_unref (fo_region_after->border_top_width); } fo_region_after->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_region_after), "border-top-width");*/ } /** * fo_region_after_get_clip: * @fo_fo: The @FoFo object. * * Gets the "clip" property of @fo_fo. * * Return value: The "clip" property value. **/ FoProperty* fo_region_after_get_clip (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->clip; } /** * fo_region_after_set_clip: * @fo_fo: The #FoFo object. * @new_clip: The new "clip" property value. * * Sets the "clip" property of @fo_fo to @new_clip. **/ void fo_region_after_set_clip (FoFo *fo_fo, FoProperty *new_clip) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_region_after->clip != NULL) { g_object_unref (fo_region_after->clip); } fo_region_after->clip = new_clip; /*g_object_notify (G_OBJECT (fo_region_after), "clip");*/ } /** * fo_region_after_get_display_align: * @fo_fo: The @FoFo object. * * Gets the "display-align" property of @fo_fo. * * Return value: The "display-align" property value. **/ FoProperty* fo_region_after_get_display_align (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->display_align; } /** * fo_region_after_set_display_align: * @fo_fo: The #FoFo object. * @new_display_align: The new "display-align" property value. * * Sets the "display-align" property of @fo_fo to @new_display_align. **/ void fo_region_after_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_region_after->display_align != NULL) { g_object_unref (fo_region_after->display_align); } fo_region_after->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_region_after), "display-align");*/ } /** * fo_region_after_get_extent: * @fo_fo: The @FoFo object. * * Gets the "extent" property of @fo_fo. * * Return value: The "extent" property value. **/ FoProperty* fo_region_after_get_extent (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->extent; } /** * fo_region_after_set_extent: * @fo_fo: The #FoFo object. * @new_extent: The new "extent" property value. * * Sets the "extent" property of @fo_fo to @new_extent. **/ void fo_region_after_set_extent (FoFo *fo_fo, FoProperty *new_extent) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_EXTENT (new_extent)); if (new_extent != NULL) { g_object_ref (new_extent); } if (fo_region_after->extent != NULL) { g_object_unref (fo_region_after->extent); } fo_region_after->extent = new_extent; /*g_object_notify (G_OBJECT (fo_region_after), "extent");*/ } /** * fo_region_after_get_overflow: * @fo_fo: The @FoFo object. * * Gets the "overflow" property of @fo_fo. * * Return value: The "overflow" property value. **/ FoProperty* fo_region_after_get_overflow (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->overflow; } /** * fo_region_after_set_overflow: * @fo_fo: The #FoFo object. * @new_overflow: The new "overflow" property value. * * Sets the "overflow" property of @fo_fo to @new_overflow. **/ void fo_region_after_set_overflow (FoFo *fo_fo, FoProperty *new_overflow) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_region_after->overflow != NULL) { g_object_unref (fo_region_after->overflow); } fo_region_after->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_region_after), "overflow");*/ } /** * fo_region_after_get_padding_after: * @fo_fo: The @FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty* fo_region_after_get_padding_after (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->padding_after; } /** * fo_region_after_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_region_after_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_region_after->padding_after != NULL) { g_object_unref (fo_region_after->padding_after); } fo_region_after->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_region_after), "padding-after");*/ } /** * fo_region_after_get_padding_before: * @fo_fo: The @FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty* fo_region_after_get_padding_before (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->padding_before; } /** * fo_region_after_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_region_after_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_region_after->padding_before != NULL) { g_object_unref (fo_region_after->padding_before); } fo_region_after->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_region_after), "padding-before");*/ } /** * fo_region_after_get_padding_bottom: * @fo_fo: The @FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty* fo_region_after_get_padding_bottom (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->padding_bottom; } /** * fo_region_after_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_region_after_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_region_after->padding_bottom != NULL) { g_object_unref (fo_region_after->padding_bottom); } fo_region_after->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_region_after), "padding-bottom");*/ } /** * fo_region_after_get_padding_end: * @fo_fo: The @FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty* fo_region_after_get_padding_end (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->padding_end; } /** * fo_region_after_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_region_after_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_region_after->padding_end != NULL) { g_object_unref (fo_region_after->padding_end); } fo_region_after->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_region_after), "padding-end");*/ } /** * fo_region_after_get_padding_left: * @fo_fo: The @FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty* fo_region_after_get_padding_left (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->padding_left; } /** * fo_region_after_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_region_after_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_region_after->padding_left != NULL) { g_object_unref (fo_region_after->padding_left); } fo_region_after->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_region_after), "padding-left");*/ } /** * fo_region_after_get_padding_right: * @fo_fo: The @FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty* fo_region_after_get_padding_right (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->padding_right; } /** * fo_region_after_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_region_after_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_region_after->padding_right != NULL) { g_object_unref (fo_region_after->padding_right); } fo_region_after->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_region_after), "padding-right");*/ } /** * fo_region_after_get_padding_start: * @fo_fo: The @FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty* fo_region_after_get_padding_start (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->padding_start; } /** * fo_region_after_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_region_after_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_region_after->padding_start != NULL) { g_object_unref (fo_region_after->padding_start); } fo_region_after->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_region_after), "padding-start");*/ } /** * fo_region_after_get_padding_top: * @fo_fo: The @FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty* fo_region_after_get_padding_top (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->padding_top; } /** * fo_region_after_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_region_after_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_region_after->padding_top != NULL) { g_object_unref (fo_region_after->padding_top); } fo_region_after->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_region_after), "padding-top");*/ } /** * fo_region_after_get_region_name: * @fo_fo: The @FoFo object. * * Gets the "region-name" property of @fo_fo. * * Return value: The "region-name" property value. **/ FoProperty* fo_region_after_get_region_name (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->region_name; } /** * fo_region_after_set_region_name: * @fo_fo: The #FoFo object. * @new_region_name: The new "region-name" property value. * * Sets the "region-name" property of @fo_fo to @new_region_name. **/ void fo_region_after_set_region_name (FoFo *fo_fo, FoProperty *new_region_name) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_REGION_NAME (new_region_name)); if (new_region_name != NULL) { g_object_ref (new_region_name); } if (fo_region_after->region_name != NULL) { g_object_unref (fo_region_after->region_name); } fo_region_after->region_name = new_region_name; /*g_object_notify (G_OBJECT (fo_region_after), "region-name");*/ } /** * fo_region_after_get_writing_mode: * @fo_fo: The @FoFo object. * * Gets the "writing-mode" property of @fo_fo. * * Return value: The "writing-mode" property value. **/ FoProperty* fo_region_after_get_writing_mode (FoFo *fo_fo) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_val_if_fail (fo_region_after != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_AFTER (fo_region_after), NULL); return fo_region_after->writing_mode; } /** * fo_region_after_set_writing_mode: * @fo_fo: The #FoFo object. * @new_writing_mode: The new "writing-mode" property value. * * Sets the "writing-mode" property of @fo_fo to @new_writing_mode. **/ void fo_region_after_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode) { FoRegionAfter *fo_region_after = (FoRegionAfter *) fo_fo; g_return_if_fail (fo_region_after != NULL); g_return_if_fail (FO_IS_REGION_AFTER (fo_region_after)); g_return_if_fail (FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_region_after->writing_mode != NULL) { g_object_unref (fo_region_after->writing_mode); } fo_region_after->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_region_after), "writing-mode");*/ } xmlroff-0.6.2/libfo/fo/fo-region-after.h0000644000175000017500000002426610643167376015000 00000000000000/* Fo * fo-region-after.h: 'region-after' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_AFTER_H__ #define __FO_REGION_AFTER_H__ #include #include #include G_BEGIN_DECLS /** * FoRegionAfter: * * Instance of the 'region-after' formatting object. **/ typedef struct _FoRegionAfter FoRegionAfter; /** * FoRegionAfterClass: * * Class structure for the 'region-after' formatting object. **/ typedef struct _FoRegionAfterClass FoRegionAfterClass; #define FO_TYPE_REGION_AFTER (fo_region_after_get_type ()) #define FO_REGION_AFTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_REGION_AFTER, FoRegionAfter)) #define FO_REGION_AFTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_REGION_AFTER, FoRegionAfterClass)) #define FO_IS_REGION_AFTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_REGION_AFTER)) #define FO_IS_REGION_AFTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_REGION_AFTER)) #define FO_REGION_AFTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_REGION_AFTER, FoRegionAfterClass)) GType fo_region_after_get_type (void) G_GNUC_CONST; FoFo * fo_region_after_new (void); FoProperty * fo_region_after_get_background_color (FoFo *fo_fo); void fo_region_after_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_region_after_get_background_image (FoFo *fo_fo); void fo_region_after_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_region_after_get_border_after_color (FoFo *fo_fo); void fo_region_after_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_region_after_get_border_after_style (FoFo *fo_fo); void fo_region_after_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_region_after_get_border_after_width (FoFo *fo_fo); void fo_region_after_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_region_after_get_border_before_color (FoFo *fo_fo); void fo_region_after_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_region_after_get_border_before_style (FoFo *fo_fo); void fo_region_after_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_region_after_get_border_before_width (FoFo *fo_fo); void fo_region_after_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_region_after_get_border_bottom_color (FoFo *fo_fo); void fo_region_after_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_region_after_get_border_bottom_style (FoFo *fo_fo); void fo_region_after_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_region_after_get_border_bottom_width (FoFo *fo_fo); void fo_region_after_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_region_after_get_border_end_color (FoFo *fo_fo); void fo_region_after_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_region_after_get_border_end_style (FoFo *fo_fo); void fo_region_after_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_region_after_get_border_end_width (FoFo *fo_fo); void fo_region_after_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_region_after_get_border_left_color (FoFo *fo_fo); void fo_region_after_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_region_after_get_border_left_style (FoFo *fo_fo); void fo_region_after_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_region_after_get_border_left_width (FoFo *fo_fo); void fo_region_after_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_region_after_get_border_right_color (FoFo *fo_fo); void fo_region_after_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_region_after_get_border_right_style (FoFo *fo_fo); void fo_region_after_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_region_after_get_border_right_width (FoFo *fo_fo); void fo_region_after_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_region_after_get_border_start_color (FoFo *fo_fo); void fo_region_after_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_region_after_get_border_start_style (FoFo *fo_fo); void fo_region_after_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_region_after_get_border_start_width (FoFo *fo_fo); void fo_region_after_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_region_after_get_border_top_color (FoFo *fo_fo); void fo_region_after_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_region_after_get_border_top_style (FoFo *fo_fo); void fo_region_after_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_region_after_get_border_top_width (FoFo *fo_fo); void fo_region_after_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_region_after_get_clip (FoFo *fo_fo); void fo_region_after_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty * fo_region_after_get_display_align (FoFo *fo_fo); void fo_region_after_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty * fo_region_after_get_extent (FoFo *fo_fo); void fo_region_after_set_extent (FoFo *fo_fo, FoProperty *new_extent); FoProperty * fo_region_after_get_overflow (FoFo *fo_fo); void fo_region_after_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty * fo_region_after_get_padding_after (FoFo *fo_fo); void fo_region_after_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_region_after_get_padding_before (FoFo *fo_fo); void fo_region_after_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_region_after_get_padding_bottom (FoFo *fo_fo); void fo_region_after_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_region_after_get_padding_end (FoFo *fo_fo); void fo_region_after_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_region_after_get_padding_left (FoFo *fo_fo); void fo_region_after_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_region_after_get_padding_right (FoFo *fo_fo); void fo_region_after_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_region_after_get_padding_start (FoFo *fo_fo); void fo_region_after_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_region_after_get_padding_top (FoFo *fo_fo); void fo_region_after_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_region_after_get_region_name (FoFo *fo_fo); void fo_region_after_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty * fo_region_after_get_writing_mode (FoFo *fo_fo); void fo_region_after_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); G_END_DECLS #endif /* !__FO_REGION_AFTER_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-after-private.h0000644000175000017500000000347110643167375016442 00000000000000/* Fo * fo-region-after-private.h: Structures private to 'region-after' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_AFTER_PRIVATE_H__ #define __FO_REGION_AFTER_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoRegionAfter { FoFo parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *clip; FoProperty *display_align; FoProperty *extent; FoProperty *overflow; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *region_name; FoProperty *writing_mode; }; struct _FoRegionAfterClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_REGION_AFTER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-before.c0000644000175000017500000027102710701021002015075 00000000000000/* Fo * fo-region-before.c: 'region-before' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-region-before-private.h" #include "fo-context-util.h" #include "fo/fo-simple-page-master.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-clip.h" #include "property/fo-property-display-align.h" #include "property/fo-property-extent.h" #include "property/fo-property-overflow.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-region-name.h" #include "property/fo-property-writing-mode.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_CLIP, PROP_DISPLAY_ALIGN, PROP_EXTENT, PROP_OVERFLOW, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_REGION_NAME, PROP_WRITING_MODE }; static void fo_region_before_class_init (FoRegionBeforeClass *klass); static void fo_region_before_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_region_before_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_region_before_finalize (GObject *object); static void fo_region_before_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_region_before_update_from_context (FoFo *fo, FoContext *context); static void fo_region_before_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_region_before_get_type: * * Register the #FoRegionBefore object type. * * Return value: #GType value of the #FoRegionBefore object type. **/ GType fo_region_before_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRegionBeforeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_region_before_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoRegionBefore), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoRegionBefore", &object_info, 0); } return object_type; } /** * fo_region_before_class_init: * @klass: #FoRegionBeforeClass object to initialise. * * Implements #GClassInitFunc for #FoRegionBeforeClass. **/ void fo_region_before_class_init (FoRegionBeforeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_region_before_finalize; object_class->get_property = fo_region_before_get_property; object_class->set_property = fo_region_before_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_region_before_validate; fofo_class->update_from_context = fo_region_before_update_from_context; fofo_class->debug_dump_properties = fo_region_before_debug_dump_properties; fofo_class->generate_reference_area = TRUE; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_EXTENT, g_param_spec_object ("extent", _("Extent"), _("Extent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_REGION_NAME, g_param_spec_object ("region-name", _("Region Name"), _("Region Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_region_before_finalize: * @object: #FoRegionBefore object to finalize. * * Implements #GObjectFinalizeFunc for #FoRegionBefore. **/ void fo_region_before_finalize (GObject *object) { FoRegionBefore *fo_region_before; fo_region_before = FO_REGION_BEFORE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_region_before_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoRegionBefore. **/ void fo_region_before_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_region_before_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_region_before_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_before_get_border_top_width (fo_fo))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_region_before_get_clip (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_region_before_get_display_align (fo_fo))); break; case PROP_EXTENT: g_value_set_object (value, G_OBJECT (fo_region_before_get_extent (fo_fo))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_region_before_get_overflow (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_region_before_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_region_before_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_region_before_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_region_before_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_region_before_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_region_before_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_region_before_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_region_before_get_padding_top (fo_fo))); break; case PROP_REGION_NAME: g_value_set_object (value, G_OBJECT (fo_region_before_get_region_name (fo_fo))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_region_before_get_writing_mode (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_before_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoRegionBefore. **/ void fo_region_before_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_region_before_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_region_before_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_region_before_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_region_before_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_region_before_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_region_before_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_region_before_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_region_before_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_region_before_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_region_before_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_region_before_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_region_before_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_region_before_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_region_before_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_region_before_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_region_before_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_region_before_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_region_before_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_region_before_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_region_before_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_region_before_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_region_before_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_region_before_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_region_before_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_region_before_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_region_before_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_CLIP: fo_region_before_set_clip (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_region_before_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_EXTENT: fo_region_before_set_extent (fo_fo, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_region_before_set_overflow (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_region_before_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_region_before_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_region_before_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_region_before_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_region_before_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_region_before_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_region_before_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_region_before_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_REGION_NAME: fo_region_before_set_region_name (fo_fo, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_region_before_set_writing_mode (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_before_new: * * Creates a new #FoRegionBefore initialized to default value. * * Return value: the new #FoRegionBefore. **/ FoFo* fo_region_before_new (void) { return FO_FO (g_object_new (fo_region_before_get_type (), NULL)); } /** * fo_region_before_validate: * @fo: #FoRegionBefore object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_region_before_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_margins_indents_resolve (fo, current_context, parent_context); fo_context_util_margins_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); FoDatatype *region_name_datatype = fo_property_get_value (fo_region_before_get_region_name (fo)); gchar *region_name = NULL; if (region_name_datatype != NULL) { region_name = fo_name_get_value (region_name_datatype); } else { /* Need a freeable string because g_free() needed if name had come from fo_name_get_value(). */ region_name = g_strdup ("xsl-region-before"); /* Also set the 'region-name' property to its default. */ region_name_datatype = fo_name_new_with_value (region_name); FoProperty *region_name_prop = fo_property_region_name_new (); fo_property_set_value (region_name_prop, region_name_datatype); fo_region_before_set_region_name (fo, region_name_prop); } FoFo *simple_page_master = FO_FO (fo_node_parent (FO_NODE (fo))); if (simple_page_master != NULL) { fo_simple_page_master_region_name_add (simple_page_master, region_name, fo); } else { g_assert_not_reached(); } g_free (region_name); } /** * fo_region_before_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_region_before_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_region_before_set_background_color (fo, fo_context_get_background_color (context)); fo_region_before_set_background_image (fo, fo_context_get_background_image (context)); fo_region_before_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_region_before_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_region_before_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_region_before_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_region_before_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_region_before_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_region_before_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_region_before_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_region_before_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_region_before_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_region_before_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_region_before_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_region_before_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_region_before_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_region_before_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_region_before_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_region_before_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_region_before_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_region_before_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_region_before_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_region_before_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_region_before_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_region_before_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_region_before_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_region_before_set_clip (fo, fo_context_get_clip (context)); fo_region_before_set_display_align (fo, fo_context_get_display_align (context)); fo_region_before_set_extent (fo, fo_context_get_extent (context)); fo_region_before_set_overflow (fo, fo_context_get_overflow (context)); fo_region_before_set_padding_after (fo, fo_context_get_padding_after (context)); fo_region_before_set_padding_before (fo, fo_context_get_padding_before (context)); fo_region_before_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_region_before_set_padding_end (fo, fo_context_get_padding_end (context)); fo_region_before_set_padding_left (fo, fo_context_get_padding_left (context)); fo_region_before_set_padding_right (fo, fo_context_get_padding_right (context)); fo_region_before_set_padding_start (fo, fo_context_get_padding_start (context)); fo_region_before_set_padding_top (fo, fo_context_get_padding_top (context)); fo_region_before_set_region_name (fo, fo_context_get_region_name (context)); fo_region_before_set_writing_mode (fo, fo_context_get_writing_mode (context)); } /** * fo_region_before_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_region_before_debug_dump_properties (FoFo *fo, gint depth) { FoRegionBefore *fo_region_before; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo)); fo_region_before = FO_REGION_BEFORE (fo); fo_object_debug_dump (fo_region_before->background_color, depth); fo_object_debug_dump (fo_region_before->background_image, depth); fo_object_debug_dump (fo_region_before->border_after_color, depth); fo_object_debug_dump (fo_region_before->border_after_style, depth); fo_object_debug_dump (fo_region_before->border_after_width, depth); fo_object_debug_dump (fo_region_before->border_before_color, depth); fo_object_debug_dump (fo_region_before->border_before_style, depth); fo_object_debug_dump (fo_region_before->border_before_width, depth); fo_object_debug_dump (fo_region_before->border_bottom_color, depth); fo_object_debug_dump (fo_region_before->border_bottom_style, depth); fo_object_debug_dump (fo_region_before->border_bottom_width, depth); fo_object_debug_dump (fo_region_before->border_end_color, depth); fo_object_debug_dump (fo_region_before->border_end_style, depth); fo_object_debug_dump (fo_region_before->border_end_width, depth); fo_object_debug_dump (fo_region_before->border_left_color, depth); fo_object_debug_dump (fo_region_before->border_left_style, depth); fo_object_debug_dump (fo_region_before->border_left_width, depth); fo_object_debug_dump (fo_region_before->border_right_color, depth); fo_object_debug_dump (fo_region_before->border_right_style, depth); fo_object_debug_dump (fo_region_before->border_right_width, depth); fo_object_debug_dump (fo_region_before->border_start_color, depth); fo_object_debug_dump (fo_region_before->border_start_style, depth); fo_object_debug_dump (fo_region_before->border_start_width, depth); fo_object_debug_dump (fo_region_before->border_top_color, depth); fo_object_debug_dump (fo_region_before->border_top_style, depth); fo_object_debug_dump (fo_region_before->border_top_width, depth); fo_object_debug_dump (fo_region_before->clip, depth); fo_object_debug_dump (fo_region_before->display_align, depth); fo_object_debug_dump (fo_region_before->extent, depth); fo_object_debug_dump (fo_region_before->overflow, depth); fo_object_debug_dump (fo_region_before->padding_after, depth); fo_object_debug_dump (fo_region_before->padding_before, depth); fo_object_debug_dump (fo_region_before->padding_bottom, depth); fo_object_debug_dump (fo_region_before->padding_end, depth); fo_object_debug_dump (fo_region_before->padding_left, depth); fo_object_debug_dump (fo_region_before->padding_right, depth); fo_object_debug_dump (fo_region_before->padding_start, depth); fo_object_debug_dump (fo_region_before->padding_top, depth); fo_object_debug_dump (fo_region_before->region_name, depth); fo_object_debug_dump (fo_region_before->writing_mode, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_region_before_get_background_color: * @fo_fo: The @FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty* fo_region_before_get_background_color (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->background_color; } /** * fo_region_before_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_region_before_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_region_before->background_color != NULL) { g_object_unref (fo_region_before->background_color); } fo_region_before->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_region_before), "background-color");*/ } /** * fo_region_before_get_background_image: * @fo_fo: The @FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty* fo_region_before_get_background_image (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->background_image; } /** * fo_region_before_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_region_before_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_region_before->background_image != NULL) { g_object_unref (fo_region_before->background_image); } fo_region_before->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_region_before), "background-image");*/ } /** * fo_region_before_get_border_after_color: * @fo_fo: The @FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty* fo_region_before_get_border_after_color (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_after_color; } /** * fo_region_before_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_region_before_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_region_before->border_after_color != NULL) { g_object_unref (fo_region_before->border_after_color); } fo_region_before->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_region_before), "border-after-color");*/ } /** * fo_region_before_get_border_after_style: * @fo_fo: The @FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty* fo_region_before_get_border_after_style (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_after_style; } /** * fo_region_before_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_region_before_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_region_before->border_after_style != NULL) { g_object_unref (fo_region_before->border_after_style); } fo_region_before->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_region_before), "border-after-style");*/ } /** * fo_region_before_get_border_after_width: * @fo_fo: The @FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty* fo_region_before_get_border_after_width (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_after_width; } /** * fo_region_before_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_region_before_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_region_before->border_after_width != NULL) { g_object_unref (fo_region_before->border_after_width); } fo_region_before->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_region_before), "border-after-width");*/ } /** * fo_region_before_get_border_before_color: * @fo_fo: The @FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty* fo_region_before_get_border_before_color (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_before_color; } /** * fo_region_before_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_region_before_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_region_before->border_before_color != NULL) { g_object_unref (fo_region_before->border_before_color); } fo_region_before->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_region_before), "border-before-color");*/ } /** * fo_region_before_get_border_before_style: * @fo_fo: The @FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty* fo_region_before_get_border_before_style (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_before_style; } /** * fo_region_before_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_region_before_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_region_before->border_before_style != NULL) { g_object_unref (fo_region_before->border_before_style); } fo_region_before->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_region_before), "border-before-style");*/ } /** * fo_region_before_get_border_before_width: * @fo_fo: The @FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty* fo_region_before_get_border_before_width (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_before_width; } /** * fo_region_before_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_region_before_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_region_before->border_before_width != NULL) { g_object_unref (fo_region_before->border_before_width); } fo_region_before->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_region_before), "border-before-width");*/ } /** * fo_region_before_get_border_bottom_color: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty* fo_region_before_get_border_bottom_color (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_bottom_color; } /** * fo_region_before_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_region_before_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_region_before->border_bottom_color != NULL) { g_object_unref (fo_region_before->border_bottom_color); } fo_region_before->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_region_before), "border-bottom-color");*/ } /** * fo_region_before_get_border_bottom_style: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty* fo_region_before_get_border_bottom_style (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_bottom_style; } /** * fo_region_before_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_region_before_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_region_before->border_bottom_style != NULL) { g_object_unref (fo_region_before->border_bottom_style); } fo_region_before->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_region_before), "border-bottom-style");*/ } /** * fo_region_before_get_border_bottom_width: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty* fo_region_before_get_border_bottom_width (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_bottom_width; } /** * fo_region_before_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_region_before_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_region_before->border_bottom_width != NULL) { g_object_unref (fo_region_before->border_bottom_width); } fo_region_before->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_region_before), "border-bottom-width");*/ } /** * fo_region_before_get_border_end_color: * @fo_fo: The @FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty* fo_region_before_get_border_end_color (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_end_color; } /** * fo_region_before_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_region_before_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_region_before->border_end_color != NULL) { g_object_unref (fo_region_before->border_end_color); } fo_region_before->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_region_before), "border-end-color");*/ } /** * fo_region_before_get_border_end_style: * @fo_fo: The @FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty* fo_region_before_get_border_end_style (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_end_style; } /** * fo_region_before_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_region_before_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_region_before->border_end_style != NULL) { g_object_unref (fo_region_before->border_end_style); } fo_region_before->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_region_before), "border-end-style");*/ } /** * fo_region_before_get_border_end_width: * @fo_fo: The @FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty* fo_region_before_get_border_end_width (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_end_width; } /** * fo_region_before_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_region_before_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_region_before->border_end_width != NULL) { g_object_unref (fo_region_before->border_end_width); } fo_region_before->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_region_before), "border-end-width");*/ } /** * fo_region_before_get_border_left_color: * @fo_fo: The @FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty* fo_region_before_get_border_left_color (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_left_color; } /** * fo_region_before_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_region_before_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_region_before->border_left_color != NULL) { g_object_unref (fo_region_before->border_left_color); } fo_region_before->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_region_before), "border-left-color");*/ } /** * fo_region_before_get_border_left_style: * @fo_fo: The @FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty* fo_region_before_get_border_left_style (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_left_style; } /** * fo_region_before_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_region_before_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_region_before->border_left_style != NULL) { g_object_unref (fo_region_before->border_left_style); } fo_region_before->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_region_before), "border-left-style");*/ } /** * fo_region_before_get_border_left_width: * @fo_fo: The @FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty* fo_region_before_get_border_left_width (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_left_width; } /** * fo_region_before_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_region_before_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_region_before->border_left_width != NULL) { g_object_unref (fo_region_before->border_left_width); } fo_region_before->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_region_before), "border-left-width");*/ } /** * fo_region_before_get_border_right_color: * @fo_fo: The @FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty* fo_region_before_get_border_right_color (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_right_color; } /** * fo_region_before_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_region_before_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_region_before->border_right_color != NULL) { g_object_unref (fo_region_before->border_right_color); } fo_region_before->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_region_before), "border-right-color");*/ } /** * fo_region_before_get_border_right_style: * @fo_fo: The @FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty* fo_region_before_get_border_right_style (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_right_style; } /** * fo_region_before_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_region_before_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_region_before->border_right_style != NULL) { g_object_unref (fo_region_before->border_right_style); } fo_region_before->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_region_before), "border-right-style");*/ } /** * fo_region_before_get_border_right_width: * @fo_fo: The @FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty* fo_region_before_get_border_right_width (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_right_width; } /** * fo_region_before_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_region_before_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_region_before->border_right_width != NULL) { g_object_unref (fo_region_before->border_right_width); } fo_region_before->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_region_before), "border-right-width");*/ } /** * fo_region_before_get_border_start_color: * @fo_fo: The @FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty* fo_region_before_get_border_start_color (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_start_color; } /** * fo_region_before_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_region_before_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_region_before->border_start_color != NULL) { g_object_unref (fo_region_before->border_start_color); } fo_region_before->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_region_before), "border-start-color");*/ } /** * fo_region_before_get_border_start_style: * @fo_fo: The @FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty* fo_region_before_get_border_start_style (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_start_style; } /** * fo_region_before_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_region_before_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_region_before->border_start_style != NULL) { g_object_unref (fo_region_before->border_start_style); } fo_region_before->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_region_before), "border-start-style");*/ } /** * fo_region_before_get_border_start_width: * @fo_fo: The @FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty* fo_region_before_get_border_start_width (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_start_width; } /** * fo_region_before_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_region_before_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_region_before->border_start_width != NULL) { g_object_unref (fo_region_before->border_start_width); } fo_region_before->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_region_before), "border-start-width");*/ } /** * fo_region_before_get_border_top_color: * @fo_fo: The @FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty* fo_region_before_get_border_top_color (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_top_color; } /** * fo_region_before_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_region_before_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_region_before->border_top_color != NULL) { g_object_unref (fo_region_before->border_top_color); } fo_region_before->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_region_before), "border-top-color");*/ } /** * fo_region_before_get_border_top_style: * @fo_fo: The @FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty* fo_region_before_get_border_top_style (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_top_style; } /** * fo_region_before_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_region_before_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_region_before->border_top_style != NULL) { g_object_unref (fo_region_before->border_top_style); } fo_region_before->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_region_before), "border-top-style");*/ } /** * fo_region_before_get_border_top_width: * @fo_fo: The @FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty* fo_region_before_get_border_top_width (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->border_top_width; } /** * fo_region_before_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_region_before_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_region_before->border_top_width != NULL) { g_object_unref (fo_region_before->border_top_width); } fo_region_before->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_region_before), "border-top-width");*/ } /** * fo_region_before_get_clip: * @fo_fo: The @FoFo object. * * Gets the "clip" property of @fo_fo. * * Return value: The "clip" property value. **/ FoProperty* fo_region_before_get_clip (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->clip; } /** * fo_region_before_set_clip: * @fo_fo: The #FoFo object. * @new_clip: The new "clip" property value. * * Sets the "clip" property of @fo_fo to @new_clip. **/ void fo_region_before_set_clip (FoFo *fo_fo, FoProperty *new_clip) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_region_before->clip != NULL) { g_object_unref (fo_region_before->clip); } fo_region_before->clip = new_clip; /*g_object_notify (G_OBJECT (fo_region_before), "clip");*/ } /** * fo_region_before_get_display_align: * @fo_fo: The @FoFo object. * * Gets the "display-align" property of @fo_fo. * * Return value: The "display-align" property value. **/ FoProperty* fo_region_before_get_display_align (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->display_align; } /** * fo_region_before_set_display_align: * @fo_fo: The #FoFo object. * @new_display_align: The new "display-align" property value. * * Sets the "display-align" property of @fo_fo to @new_display_align. **/ void fo_region_before_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_region_before->display_align != NULL) { g_object_unref (fo_region_before->display_align); } fo_region_before->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_region_before), "display-align");*/ } /** * fo_region_before_get_extent: * @fo_fo: The @FoFo object. * * Gets the "extent" property of @fo_fo. * * Return value: The "extent" property value. **/ FoProperty* fo_region_before_get_extent (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->extent; } /** * fo_region_before_set_extent: * @fo_fo: The #FoFo object. * @new_extent: The new "extent" property value. * * Sets the "extent" property of @fo_fo to @new_extent. **/ void fo_region_before_set_extent (FoFo *fo_fo, FoProperty *new_extent) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_EXTENT (new_extent)); if (new_extent != NULL) { g_object_ref (new_extent); } if (fo_region_before->extent != NULL) { g_object_unref (fo_region_before->extent); } fo_region_before->extent = new_extent; /*g_object_notify (G_OBJECT (fo_region_before), "extent");*/ } /** * fo_region_before_get_overflow: * @fo_fo: The @FoFo object. * * Gets the "overflow" property of @fo_fo. * * Return value: The "overflow" property value. **/ FoProperty* fo_region_before_get_overflow (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->overflow; } /** * fo_region_before_set_overflow: * @fo_fo: The #FoFo object. * @new_overflow: The new "overflow" property value. * * Sets the "overflow" property of @fo_fo to @new_overflow. **/ void fo_region_before_set_overflow (FoFo *fo_fo, FoProperty *new_overflow) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_region_before->overflow != NULL) { g_object_unref (fo_region_before->overflow); } fo_region_before->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_region_before), "overflow");*/ } /** * fo_region_before_get_padding_after: * @fo_fo: The @FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty* fo_region_before_get_padding_after (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->padding_after; } /** * fo_region_before_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_region_before_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_region_before->padding_after != NULL) { g_object_unref (fo_region_before->padding_after); } fo_region_before->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_region_before), "padding-after");*/ } /** * fo_region_before_get_padding_before: * @fo_fo: The @FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty* fo_region_before_get_padding_before (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->padding_before; } /** * fo_region_before_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_region_before_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_region_before->padding_before != NULL) { g_object_unref (fo_region_before->padding_before); } fo_region_before->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_region_before), "padding-before");*/ } /** * fo_region_before_get_padding_bottom: * @fo_fo: The @FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty* fo_region_before_get_padding_bottom (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->padding_bottom; } /** * fo_region_before_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_region_before_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_region_before->padding_bottom != NULL) { g_object_unref (fo_region_before->padding_bottom); } fo_region_before->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_region_before), "padding-bottom");*/ } /** * fo_region_before_get_padding_end: * @fo_fo: The @FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty* fo_region_before_get_padding_end (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->padding_end; } /** * fo_region_before_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_region_before_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_region_before->padding_end != NULL) { g_object_unref (fo_region_before->padding_end); } fo_region_before->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_region_before), "padding-end");*/ } /** * fo_region_before_get_padding_left: * @fo_fo: The @FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty* fo_region_before_get_padding_left (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->padding_left; } /** * fo_region_before_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_region_before_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_region_before->padding_left != NULL) { g_object_unref (fo_region_before->padding_left); } fo_region_before->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_region_before), "padding-left");*/ } /** * fo_region_before_get_padding_right: * @fo_fo: The @FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty* fo_region_before_get_padding_right (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->padding_right; } /** * fo_region_before_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_region_before_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_region_before->padding_right != NULL) { g_object_unref (fo_region_before->padding_right); } fo_region_before->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_region_before), "padding-right");*/ } /** * fo_region_before_get_padding_start: * @fo_fo: The @FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty* fo_region_before_get_padding_start (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->padding_start; } /** * fo_region_before_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_region_before_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_region_before->padding_start != NULL) { g_object_unref (fo_region_before->padding_start); } fo_region_before->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_region_before), "padding-start");*/ } /** * fo_region_before_get_padding_top: * @fo_fo: The @FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty* fo_region_before_get_padding_top (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->padding_top; } /** * fo_region_before_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_region_before_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_region_before->padding_top != NULL) { g_object_unref (fo_region_before->padding_top); } fo_region_before->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_region_before), "padding-top");*/ } /** * fo_region_before_get_region_name: * @fo_fo: The @FoFo object. * * Gets the "region-name" property of @fo_fo. * * Return value: The "region-name" property value. **/ FoProperty* fo_region_before_get_region_name (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->region_name; } /** * fo_region_before_set_region_name: * @fo_fo: The #FoFo object. * @new_region_name: The new "region-name" property value. * * Sets the "region-name" property of @fo_fo to @new_region_name. **/ void fo_region_before_set_region_name (FoFo *fo_fo, FoProperty *new_region_name) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_REGION_NAME (new_region_name)); if (new_region_name != NULL) { g_object_ref (new_region_name); } if (fo_region_before->region_name != NULL) { g_object_unref (fo_region_before->region_name); } fo_region_before->region_name = new_region_name; /*g_object_notify (G_OBJECT (fo_region_before), "region-name");*/ } /** * fo_region_before_get_writing_mode: * @fo_fo: The @FoFo object. * * Gets the "writing-mode" property of @fo_fo. * * Return value: The "writing-mode" property value. **/ FoProperty* fo_region_before_get_writing_mode (FoFo *fo_fo) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_val_if_fail (fo_region_before != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BEFORE (fo_region_before), NULL); return fo_region_before->writing_mode; } /** * fo_region_before_set_writing_mode: * @fo_fo: The #FoFo object. * @new_writing_mode: The new "writing-mode" property value. * * Sets the "writing-mode" property of @fo_fo to @new_writing_mode. **/ void fo_region_before_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode) { FoRegionBefore *fo_region_before = (FoRegionBefore *) fo_fo; g_return_if_fail (fo_region_before != NULL); g_return_if_fail (FO_IS_REGION_BEFORE (fo_region_before)); g_return_if_fail (FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_region_before->writing_mode != NULL) { g_object_unref (fo_region_before->writing_mode); } fo_region_before->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_region_before), "writing-mode");*/ } xmlroff-0.6.2/libfo/fo/fo-region-before.h0000644000175000017500000002451410643167376015135 00000000000000/* Fo * fo-region-before.h: 'region-before' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_BEFORE_H__ #define __FO_REGION_BEFORE_H__ #include #include #include G_BEGIN_DECLS /** * FoRegionBefore: * * Instance of the 'region-before' formatting object. **/ typedef struct _FoRegionBefore FoRegionBefore; /** * FoRegionBeforeClass: * * Class structure for the 'region-before' formatting object. **/ typedef struct _FoRegionBeforeClass FoRegionBeforeClass; #define FO_TYPE_REGION_BEFORE (fo_region_before_get_type ()) #define FO_REGION_BEFORE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_REGION_BEFORE, FoRegionBefore)) #define FO_REGION_BEFORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_REGION_BEFORE, FoRegionBeforeClass)) #define FO_IS_REGION_BEFORE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_REGION_BEFORE)) #define FO_IS_REGION_BEFORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_REGION_BEFORE)) #define FO_REGION_BEFORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_REGION_BEFORE, FoRegionBeforeClass)) GType fo_region_before_get_type (void) G_GNUC_CONST; FoFo * fo_region_before_new (void); FoProperty * fo_region_before_get_background_color (FoFo *fo_fo); void fo_region_before_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_region_before_get_background_image (FoFo *fo_fo); void fo_region_before_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_region_before_get_border_after_color (FoFo *fo_fo); void fo_region_before_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_region_before_get_border_after_style (FoFo *fo_fo); void fo_region_before_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_region_before_get_border_after_width (FoFo *fo_fo); void fo_region_before_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_region_before_get_border_before_color (FoFo *fo_fo); void fo_region_before_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_region_before_get_border_before_style (FoFo *fo_fo); void fo_region_before_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_region_before_get_border_before_width (FoFo *fo_fo); void fo_region_before_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_region_before_get_border_bottom_color (FoFo *fo_fo); void fo_region_before_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_region_before_get_border_bottom_style (FoFo *fo_fo); void fo_region_before_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_region_before_get_border_bottom_width (FoFo *fo_fo); void fo_region_before_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_region_before_get_border_end_color (FoFo *fo_fo); void fo_region_before_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_region_before_get_border_end_style (FoFo *fo_fo); void fo_region_before_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_region_before_get_border_end_width (FoFo *fo_fo); void fo_region_before_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_region_before_get_border_left_color (FoFo *fo_fo); void fo_region_before_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_region_before_get_border_left_style (FoFo *fo_fo); void fo_region_before_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_region_before_get_border_left_width (FoFo *fo_fo); void fo_region_before_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_region_before_get_border_right_color (FoFo *fo_fo); void fo_region_before_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_region_before_get_border_right_style (FoFo *fo_fo); void fo_region_before_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_region_before_get_border_right_width (FoFo *fo_fo); void fo_region_before_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_region_before_get_border_start_color (FoFo *fo_fo); void fo_region_before_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_region_before_get_border_start_style (FoFo *fo_fo); void fo_region_before_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_region_before_get_border_start_width (FoFo *fo_fo); void fo_region_before_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_region_before_get_border_top_color (FoFo *fo_fo); void fo_region_before_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_region_before_get_border_top_style (FoFo *fo_fo); void fo_region_before_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_region_before_get_border_top_width (FoFo *fo_fo); void fo_region_before_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_region_before_get_clip (FoFo *fo_fo); void fo_region_before_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty * fo_region_before_get_display_align (FoFo *fo_fo); void fo_region_before_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty * fo_region_before_get_extent (FoFo *fo_fo); void fo_region_before_set_extent (FoFo *fo_fo, FoProperty *new_extent); FoProperty * fo_region_before_get_overflow (FoFo *fo_fo); void fo_region_before_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty * fo_region_before_get_padding_after (FoFo *fo_fo); void fo_region_before_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_region_before_get_padding_before (FoFo *fo_fo); void fo_region_before_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_region_before_get_padding_bottom (FoFo *fo_fo); void fo_region_before_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_region_before_get_padding_end (FoFo *fo_fo); void fo_region_before_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_region_before_get_padding_left (FoFo *fo_fo); void fo_region_before_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_region_before_get_padding_right (FoFo *fo_fo); void fo_region_before_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_region_before_get_padding_start (FoFo *fo_fo); void fo_region_before_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_region_before_get_padding_top (FoFo *fo_fo); void fo_region_before_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_region_before_get_region_name (FoFo *fo_fo); void fo_region_before_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty * fo_region_before_get_writing_mode (FoFo *fo_fo); void fo_region_before_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); G_END_DECLS #endif /* !__FO_REGION_BEFORE_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-before-private.h0000644000175000017500000000350110643167376016576 00000000000000/* Fo * fo-region-before-private.h: Structures private to 'region-before' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_BEFORE_PRIVATE_H__ #define __FO_REGION_BEFORE_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoRegionBefore { FoFo parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *clip; FoProperty *display_align; FoProperty *extent; FoProperty *overflow; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *region_name; FoProperty *writing_mode; }; struct _FoRegionBeforeClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_REGION_BEFORE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-body.c0000644000175000017500000031761210701020127014600 00000000000000/* Fo * fo-region-body.c: 'region-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-simple-page-master.h" #include "fo-region-body.h" #include "fo-region-body-private.h" #include "property/fo-property-border.h" #include "property/fo-property-padding.h" #include "property/fo-property-margin.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-clip.h" #include "property/fo-property-display-align.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-overflow.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-region-name.h" #include "property/fo-property-space-after.h" #include "property/fo-property-space-before.h" #include "property/fo-property-start-indent.h" #include "property/fo-property-writing-mode.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_CLIP, PROP_DISPLAY_ALIGN, PROP_END_INDENT, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT, PROP_MARGIN_TOP, PROP_OVERFLOW, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_REGION_NAME, PROP_SPACE_AFTER, PROP_SPACE_BEFORE, PROP_START_INDENT, PROP_WRITING_MODE }; static void fo_region_body_class_init (FoRegionBodyClass *klass); static void fo_region_body_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_region_body_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_region_body_finalize (GObject *object); static void fo_region_body_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_region_body_update_from_context (FoFo *fo, FoContext *context); static void fo_region_body_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_region_body_get_type: * * Register the #FoRegionBody object type. * * Return value: #GType value of the #FoRegionBody object type. **/ GType fo_region_body_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRegionBodyClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_region_body_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoRegionBody), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoRegionBody", &object_info, 0); } return object_type; } /** * fo_region_body_class_init: * @klass: #FoRegionBodyClass object to initialise. * * Implements #GClassInitFunc for #FoRegionBodyClass. **/ void fo_region_body_class_init (FoRegionBodyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_region_body_finalize; object_class->get_property = fo_region_body_get_property; object_class->set_property = fo_region_body_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_region_body_validate; fofo_class->update_from_context = fo_region_body_update_from_context; fofo_class->debug_dump_properties = fo_region_body_debug_dump_properties; fofo_class->generate_reference_area = TRUE; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_END_INDENT, g_param_spec_object ("end-indent", _("End Indent"), _("End Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_object ("margin-bottom", _("Margin Bottom"), _("Margin Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_object ("margin-left", _("Margin Left"), _("Margin Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_object ("margin-right", _("Margin Right"), _("Margin Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_object ("margin-top", _("Margin Top"), _("Margin Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_REGION_NAME, g_param_spec_object ("region-name", _("Region Name"), _("Region Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER, g_param_spec_object ("space-after", _("Space After"), _("Space After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE, g_param_spec_object ("space-before", _("Space Before"), _("Space Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_START_INDENT, g_param_spec_object ("start-indent", _("Start Indent"), _("Start Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_region_body_finalize: * @object: #FoRegionBody object to finalize. * * Implements #GObjectFinalizeFunc for #FoRegionBody. **/ void fo_region_body_finalize (GObject *object) { FoRegionBody *fo_region_body; fo_region_body = FO_REGION_BODY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_region_body_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoRegionBody. **/ void fo_region_body_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_region_body_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_region_body_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_body_get_border_top_width (fo_fo))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_region_body_get_clip (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_region_body_get_display_align (fo_fo))); break; case PROP_END_INDENT: g_value_set_object (value, G_OBJECT (fo_region_body_get_end_indent (fo_fo))); break; case PROP_MARGIN_BOTTOM: g_value_set_object (value, G_OBJECT (fo_region_body_get_margin_bottom (fo_fo))); break; case PROP_MARGIN_LEFT: g_value_set_object (value, G_OBJECT (fo_region_body_get_margin_left (fo_fo))); break; case PROP_MARGIN_RIGHT: g_value_set_object (value, G_OBJECT (fo_region_body_get_margin_right (fo_fo))); break; case PROP_MARGIN_TOP: g_value_set_object (value, G_OBJECT (fo_region_body_get_margin_top (fo_fo))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_region_body_get_overflow (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_region_body_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_region_body_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_region_body_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_region_body_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_region_body_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_region_body_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_region_body_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_region_body_get_padding_top (fo_fo))); break; case PROP_REGION_NAME: g_value_set_object (value, G_OBJECT (fo_region_body_get_region_name (fo_fo))); break; case PROP_SPACE_AFTER: g_value_set_object (value, G_OBJECT (fo_region_body_get_space_after (fo_fo))); break; case PROP_SPACE_BEFORE: g_value_set_object (value, G_OBJECT (fo_region_body_get_space_before (fo_fo))); break; case PROP_START_INDENT: g_value_set_object (value, G_OBJECT (fo_region_body_get_start_indent (fo_fo))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_region_body_get_writing_mode (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_body_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoRegionBody. **/ void fo_region_body_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_region_body_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_region_body_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_region_body_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_region_body_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_region_body_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_region_body_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_region_body_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_region_body_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_region_body_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_region_body_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_region_body_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_region_body_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_region_body_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_region_body_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_region_body_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_region_body_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_region_body_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_region_body_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_region_body_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_region_body_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_region_body_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_region_body_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_region_body_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_region_body_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_region_body_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_region_body_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_CLIP: fo_region_body_set_clip (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_region_body_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_END_INDENT: fo_region_body_set_end_indent (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_BOTTOM: fo_region_body_set_margin_bottom (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_LEFT: fo_region_body_set_margin_left (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_RIGHT: fo_region_body_set_margin_right (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_TOP: fo_region_body_set_margin_top (fo_fo, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_region_body_set_overflow (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_region_body_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_region_body_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_region_body_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_region_body_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_region_body_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_region_body_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_region_body_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_region_body_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_REGION_NAME: fo_region_body_set_region_name (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_AFTER: fo_region_body_set_space_after (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_BEFORE: fo_region_body_set_space_before (fo_fo, g_value_get_object (value)); break; case PROP_START_INDENT: fo_region_body_set_start_indent (fo_fo, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_region_body_set_writing_mode (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_body_new: * * Creates a new #FoRegionBody initialized to default value. * * Return value: the new #FoRegionBody. **/ FoFo* fo_region_body_new (void) { return FO_FO (g_object_new (fo_region_body_get_type (), NULL)); } /** * fo_region_body_validate: * @fo: #FoRegionBody object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_region_body_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_margins_indents_resolve (fo, current_context, parent_context); fo_context_util_margins_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); FoDatatype *region_name_datatype = fo_property_get_value (fo_region_body_get_region_name (fo)); gchar *region_name = NULL; if (region_name_datatype != NULL) { region_name = fo_name_get_value (region_name_datatype); } else { /* Need a freeable string because g_free() needed if name had come from fo_name_get_value(). */ region_name = g_strdup ("xsl-region-body"); /* Also set the 'region-name' property to its default. */ region_name_datatype = fo_name_new_with_value (region_name); FoProperty *region_name_prop = fo_property_region_name_new (); fo_property_set_value (region_name_prop, region_name_datatype); fo_region_body_set_region_name (fo, region_name_prop); } FoFo *simple_page_master = FO_FO (fo_node_parent (FO_NODE (fo))); if (simple_page_master != NULL) { fo_simple_page_master_region_name_add (simple_page_master, region_name, fo); } else { g_assert_not_reached(); } g_free (region_name); } /** * fo_region_body_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_region_body_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_region_body_set_background_color (fo, fo_context_get_background_color (context)); fo_region_body_set_background_image (fo, fo_context_get_background_image (context)); fo_region_body_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_region_body_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_region_body_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_region_body_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_region_body_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_region_body_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_region_body_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_region_body_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_region_body_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_region_body_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_region_body_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_region_body_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_region_body_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_region_body_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_region_body_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_region_body_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_region_body_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_region_body_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_region_body_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_region_body_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_region_body_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_region_body_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_region_body_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_region_body_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_region_body_set_clip (fo, fo_context_get_clip (context)); fo_region_body_set_display_align (fo, fo_context_get_display_align (context)); fo_region_body_set_end_indent (fo, fo_context_get_end_indent (context)); fo_region_body_set_margin_bottom (fo, fo_context_get_margin_bottom (context)); fo_region_body_set_margin_left (fo, fo_context_get_margin_left (context)); fo_region_body_set_margin_right (fo, fo_context_get_margin_right (context)); fo_region_body_set_margin_top (fo, fo_context_get_margin_top (context)); fo_region_body_set_overflow (fo, fo_context_get_overflow (context)); fo_region_body_set_padding_after (fo, fo_context_get_padding_after (context)); fo_region_body_set_padding_before (fo, fo_context_get_padding_before (context)); fo_region_body_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_region_body_set_padding_end (fo, fo_context_get_padding_end (context)); fo_region_body_set_padding_left (fo, fo_context_get_padding_left (context)); fo_region_body_set_padding_right (fo, fo_context_get_padding_right (context)); fo_region_body_set_padding_start (fo, fo_context_get_padding_start (context)); fo_region_body_set_padding_top (fo, fo_context_get_padding_top (context)); fo_region_body_set_region_name (fo, fo_context_get_region_name (context)); fo_region_body_set_space_after (fo, fo_context_get_space_after (context)); fo_region_body_set_space_before (fo, fo_context_get_space_before (context)); fo_region_body_set_start_indent (fo, fo_context_get_start_indent (context)); fo_region_body_set_writing_mode (fo, fo_context_get_writing_mode (context)); } /** * fo_region_body_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_region_body_debug_dump_properties (FoFo *fo, gint depth) { FoRegionBody *fo_region_body; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo)); fo_region_body = FO_REGION_BODY (fo); fo_object_debug_dump (fo_region_body->background_color, depth); fo_object_debug_dump (fo_region_body->background_image, depth); fo_object_debug_dump (fo_region_body->border_after_color, depth); fo_object_debug_dump (fo_region_body->border_after_style, depth); fo_object_debug_dump (fo_region_body->border_after_width, depth); fo_object_debug_dump (fo_region_body->border_before_color, depth); fo_object_debug_dump (fo_region_body->border_before_style, depth); fo_object_debug_dump (fo_region_body->border_before_width, depth); fo_object_debug_dump (fo_region_body->border_bottom_color, depth); fo_object_debug_dump (fo_region_body->border_bottom_style, depth); fo_object_debug_dump (fo_region_body->border_bottom_width, depth); fo_object_debug_dump (fo_region_body->border_end_color, depth); fo_object_debug_dump (fo_region_body->border_end_style, depth); fo_object_debug_dump (fo_region_body->border_end_width, depth); fo_object_debug_dump (fo_region_body->border_left_color, depth); fo_object_debug_dump (fo_region_body->border_left_style, depth); fo_object_debug_dump (fo_region_body->border_left_width, depth); fo_object_debug_dump (fo_region_body->border_right_color, depth); fo_object_debug_dump (fo_region_body->border_right_style, depth); fo_object_debug_dump (fo_region_body->border_right_width, depth); fo_object_debug_dump (fo_region_body->border_start_color, depth); fo_object_debug_dump (fo_region_body->border_start_style, depth); fo_object_debug_dump (fo_region_body->border_start_width, depth); fo_object_debug_dump (fo_region_body->border_top_color, depth); fo_object_debug_dump (fo_region_body->border_top_style, depth); fo_object_debug_dump (fo_region_body->border_top_width, depth); fo_object_debug_dump (fo_region_body->clip, depth); fo_object_debug_dump (fo_region_body->display_align, depth); fo_object_debug_dump (fo_region_body->end_indent, depth); fo_object_debug_dump (fo_region_body->margin_bottom, depth); fo_object_debug_dump (fo_region_body->margin_left, depth); fo_object_debug_dump (fo_region_body->margin_right, depth); fo_object_debug_dump (fo_region_body->margin_top, depth); fo_object_debug_dump (fo_region_body->overflow, depth); fo_object_debug_dump (fo_region_body->padding_after, depth); fo_object_debug_dump (fo_region_body->padding_before, depth); fo_object_debug_dump (fo_region_body->padding_bottom, depth); fo_object_debug_dump (fo_region_body->padding_end, depth); fo_object_debug_dump (fo_region_body->padding_left, depth); fo_object_debug_dump (fo_region_body->padding_right, depth); fo_object_debug_dump (fo_region_body->padding_start, depth); fo_object_debug_dump (fo_region_body->padding_top, depth); fo_object_debug_dump (fo_region_body->region_name, depth); fo_object_debug_dump (fo_region_body->space_after, depth); fo_object_debug_dump (fo_region_body->space_before, depth); fo_object_debug_dump (fo_region_body->start_indent, depth); fo_object_debug_dump (fo_region_body->writing_mode, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_region_body_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_region_body_get_background_color (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->background_color; } /** * fo_region_body_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_region_body_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_region_body->background_color != NULL) { g_object_unref (fo_region_body->background_color); } fo_region_body->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_region_body), "background-color");*/ } /** * fo_region_body_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_region_body_get_background_image (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->background_image; } /** * fo_region_body_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_region_body_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_region_body->background_image != NULL) { g_object_unref (fo_region_body->background_image); } fo_region_body->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_region_body), "background-image");*/ } /** * fo_region_body_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_region_body_get_border_after_color (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_after_color; } /** * fo_region_body_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_region_body_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_region_body->border_after_color != NULL) { g_object_unref (fo_region_body->border_after_color); } fo_region_body->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_region_body), "border-after-color");*/ } /** * fo_region_body_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_region_body_get_border_after_style (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_after_style; } /** * fo_region_body_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_region_body_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_region_body->border_after_style != NULL) { g_object_unref (fo_region_body->border_after_style); } fo_region_body->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_region_body), "border-after-style");*/ } /** * fo_region_body_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_region_body_get_border_after_width (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_after_width; } /** * fo_region_body_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_region_body_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_region_body->border_after_width != NULL) { g_object_unref (fo_region_body->border_after_width); } fo_region_body->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_region_body), "border-after-width");*/ } /** * fo_region_body_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_region_body_get_border_before_color (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_before_color; } /** * fo_region_body_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_region_body_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_region_body->border_before_color != NULL) { g_object_unref (fo_region_body->border_before_color); } fo_region_body->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_region_body), "border-before-color");*/ } /** * fo_region_body_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_region_body_get_border_before_style (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_before_style; } /** * fo_region_body_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_region_body_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_region_body->border_before_style != NULL) { g_object_unref (fo_region_body->border_before_style); } fo_region_body->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_region_body), "border-before-style");*/ } /** * fo_region_body_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_region_body_get_border_before_width (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_before_width; } /** * fo_region_body_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_region_body_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_region_body->border_before_width != NULL) { g_object_unref (fo_region_body->border_before_width); } fo_region_body->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_region_body), "border-before-width");*/ } /** * fo_region_body_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_region_body_get_border_bottom_color (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_bottom_color; } /** * fo_region_body_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_region_body_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_region_body->border_bottom_color != NULL) { g_object_unref (fo_region_body->border_bottom_color); } fo_region_body->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_region_body), "border-bottom-color");*/ } /** * fo_region_body_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_region_body_get_border_bottom_style (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_bottom_style; } /** * fo_region_body_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_region_body_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_region_body->border_bottom_style != NULL) { g_object_unref (fo_region_body->border_bottom_style); } fo_region_body->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_region_body), "border-bottom-style");*/ } /** * fo_region_body_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_region_body_get_border_bottom_width (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_bottom_width; } /** * fo_region_body_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_region_body_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_region_body->border_bottom_width != NULL) { g_object_unref (fo_region_body->border_bottom_width); } fo_region_body->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_region_body), "border-bottom-width");*/ } /** * fo_region_body_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_region_body_get_border_end_color (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_end_color; } /** * fo_region_body_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_region_body_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_region_body->border_end_color != NULL) { g_object_unref (fo_region_body->border_end_color); } fo_region_body->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_region_body), "border-end-color");*/ } /** * fo_region_body_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_region_body_get_border_end_style (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_end_style; } /** * fo_region_body_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_region_body_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_region_body->border_end_style != NULL) { g_object_unref (fo_region_body->border_end_style); } fo_region_body->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_region_body), "border-end-style");*/ } /** * fo_region_body_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_region_body_get_border_end_width (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_end_width; } /** * fo_region_body_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_region_body_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_region_body->border_end_width != NULL) { g_object_unref (fo_region_body->border_end_width); } fo_region_body->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_region_body), "border-end-width");*/ } /** * fo_region_body_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_region_body_get_border_left_color (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_left_color; } /** * fo_region_body_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_region_body_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_region_body->border_left_color != NULL) { g_object_unref (fo_region_body->border_left_color); } fo_region_body->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_region_body), "border-left-color");*/ } /** * fo_region_body_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_region_body_get_border_left_style (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_left_style; } /** * fo_region_body_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_region_body_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_region_body->border_left_style != NULL) { g_object_unref (fo_region_body->border_left_style); } fo_region_body->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_region_body), "border-left-style");*/ } /** * fo_region_body_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_region_body_get_border_left_width (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_left_width; } /** * fo_region_body_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_region_body_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_region_body->border_left_width != NULL) { g_object_unref (fo_region_body->border_left_width); } fo_region_body->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_region_body), "border-left-width");*/ } /** * fo_region_body_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_region_body_get_border_right_color (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_right_color; } /** * fo_region_body_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_region_body_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_region_body->border_right_color != NULL) { g_object_unref (fo_region_body->border_right_color); } fo_region_body->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_region_body), "border-right-color");*/ } /** * fo_region_body_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_region_body_get_border_right_style (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_right_style; } /** * fo_region_body_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_region_body_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_region_body->border_right_style != NULL) { g_object_unref (fo_region_body->border_right_style); } fo_region_body->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_region_body), "border-right-style");*/ } /** * fo_region_body_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_region_body_get_border_right_width (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_right_width; } /** * fo_region_body_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_region_body_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_region_body->border_right_width != NULL) { g_object_unref (fo_region_body->border_right_width); } fo_region_body->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_region_body), "border-right-width");*/ } /** * fo_region_body_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_region_body_get_border_start_color (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_start_color; } /** * fo_region_body_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_region_body_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_region_body->border_start_color != NULL) { g_object_unref (fo_region_body->border_start_color); } fo_region_body->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_region_body), "border-start-color");*/ } /** * fo_region_body_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_region_body_get_border_start_style (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_start_style; } /** * fo_region_body_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_region_body_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_region_body->border_start_style != NULL) { g_object_unref (fo_region_body->border_start_style); } fo_region_body->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_region_body), "border-start-style");*/ } /** * fo_region_body_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_region_body_get_border_start_width (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_start_width; } /** * fo_region_body_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_region_body_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_region_body->border_start_width != NULL) { g_object_unref (fo_region_body->border_start_width); } fo_region_body->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_region_body), "border-start-width");*/ } /** * fo_region_body_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_region_body_get_border_top_color (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_top_color; } /** * fo_region_body_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_region_body_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_region_body->border_top_color != NULL) { g_object_unref (fo_region_body->border_top_color); } fo_region_body->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_region_body), "border-top-color");*/ } /** * fo_region_body_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_region_body_get_border_top_style (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_top_style; } /** * fo_region_body_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_region_body_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_region_body->border_top_style != NULL) { g_object_unref (fo_region_body->border_top_style); } fo_region_body->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_region_body), "border-top-style");*/ } /** * fo_region_body_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_region_body_get_border_top_width (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->border_top_width; } /** * fo_region_body_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_region_body_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_region_body->border_top_width != NULL) { g_object_unref (fo_region_body->border_top_width); } fo_region_body->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_region_body), "border-top-width");*/ } /** * fo_region_body_get_clip: * @fo_fo: The @FoFo object * * Gets the "clip" property of @fo_fo * * Return value: The "clip" property value **/ FoProperty* fo_region_body_get_clip (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->clip; } /** * fo_region_body_set_clip: * @fo_fo: The #FoFo object * @new_clip: The new "clip" property value * * Sets the "clip" property of @fo_fo to @new_clip **/ void fo_region_body_set_clip (FoFo *fo_fo, FoProperty *new_clip) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_region_body->clip != NULL) { g_object_unref (fo_region_body->clip); } fo_region_body->clip = new_clip; /*g_object_notify (G_OBJECT (fo_region_body), "clip");*/ } /** * fo_region_body_get_display_align: * @fo_fo: The @FoFo object * * Gets the "display-align" property of @fo_fo * * Return value: The "display-align" property value **/ FoProperty* fo_region_body_get_display_align (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->display_align; } /** * fo_region_body_set_display_align: * @fo_fo: The #FoFo object * @new_display_align: The new "display-align" property value * * Sets the "display-align" property of @fo_fo to @new_display_align **/ void fo_region_body_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_region_body->display_align != NULL) { g_object_unref (fo_region_body->display_align); } fo_region_body->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_region_body), "display-align");*/ } /** * fo_region_body_get_end_indent: * @fo_fo: The @FoFo object * * Gets the "end-indent" property of @fo_fo * * Return value: The "end-indent" property value **/ FoProperty* fo_region_body_get_end_indent (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->end_indent; } /** * fo_region_body_set_end_indent: * @fo_fo: The #FoFo object * @new_end_indent: The new "end-indent" property value * * Sets the "end-indent" property of @fo_fo to @new_end_indent **/ void fo_region_body_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_END_INDENT (new_end_indent)); if (new_end_indent != NULL) { g_object_ref (new_end_indent); } if (fo_region_body->end_indent != NULL) { g_object_unref (fo_region_body->end_indent); } fo_region_body->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_region_body), "end-indent");*/ } /** * fo_region_body_get_margin_bottom: * @fo_fo: The @FoFo object * * Gets the "margin-bottom" property of @fo_fo * * Return value: The "margin-bottom" property value **/ FoProperty* fo_region_body_get_margin_bottom (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->margin_bottom; } /** * fo_region_body_set_margin_bottom: * @fo_fo: The #FoFo object * @new_margin_bottom: The new "margin-bottom" property value * * Sets the "margin-bottom" property of @fo_fo to @new_margin_bottom **/ void fo_region_body_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_BOTTOM (new_margin_bottom)); if (new_margin_bottom != NULL) { g_object_ref (new_margin_bottom); } if (fo_region_body->margin_bottom != NULL) { g_object_unref (fo_region_body->margin_bottom); } fo_region_body->margin_bottom = new_margin_bottom; /*g_object_notify (G_OBJECT (fo_region_body), "margin-bottom");*/ } /** * fo_region_body_get_margin_left: * @fo_fo: The @FoFo object * * Gets the "margin-left" property of @fo_fo * * Return value: The "margin-left" property value **/ FoProperty* fo_region_body_get_margin_left (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->margin_left; } /** * fo_region_body_set_margin_left: * @fo_fo: The #FoFo object * @new_margin_left: The new "margin-left" property value * * Sets the "margin-left" property of @fo_fo to @new_margin_left **/ void fo_region_body_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_LEFT (new_margin_left)); if (new_margin_left != NULL) { g_object_ref (new_margin_left); } if (fo_region_body->margin_left != NULL) { g_object_unref (fo_region_body->margin_left); } fo_region_body->margin_left = new_margin_left; /*g_object_notify (G_OBJECT (fo_region_body), "margin-left");*/ } /** * fo_region_body_get_margin_right: * @fo_fo: The @FoFo object * * Gets the "margin-right" property of @fo_fo * * Return value: The "margin-right" property value **/ FoProperty* fo_region_body_get_margin_right (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->margin_right; } /** * fo_region_body_set_margin_right: * @fo_fo: The #FoFo object * @new_margin_right: The new "margin-right" property value * * Sets the "margin-right" property of @fo_fo to @new_margin_right **/ void fo_region_body_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_RIGHT (new_margin_right)); if (new_margin_right != NULL) { g_object_ref (new_margin_right); } if (fo_region_body->margin_right != NULL) { g_object_unref (fo_region_body->margin_right); } fo_region_body->margin_right = new_margin_right; /*g_object_notify (G_OBJECT (fo_region_body), "margin-right");*/ } /** * fo_region_body_get_margin_top: * @fo_fo: The @FoFo object * * Gets the "margin-top" property of @fo_fo * * Return value: The "margin-top" property value **/ FoProperty* fo_region_body_get_margin_top (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->margin_top; } /** * fo_region_body_set_margin_top: * @fo_fo: The #FoFo object * @new_margin_top: The new "margin-top" property value * * Sets the "margin-top" property of @fo_fo to @new_margin_top **/ void fo_region_body_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_TOP (new_margin_top)); if (new_margin_top != NULL) { g_object_ref (new_margin_top); } if (fo_region_body->margin_top != NULL) { g_object_unref (fo_region_body->margin_top); } fo_region_body->margin_top = new_margin_top; /*g_object_notify (G_OBJECT (fo_region_body), "margin-top");*/ } /** * fo_region_body_get_overflow: * @fo_fo: The @FoFo object * * Gets the "overflow" property of @fo_fo * * Return value: The "overflow" property value **/ FoProperty* fo_region_body_get_overflow (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->overflow; } /** * fo_region_body_set_overflow: * @fo_fo: The #FoFo object * @new_overflow: The new "overflow" property value * * Sets the "overflow" property of @fo_fo to @new_overflow **/ void fo_region_body_set_overflow (FoFo *fo_fo, FoProperty *new_overflow) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_region_body->overflow != NULL) { g_object_unref (fo_region_body->overflow); } fo_region_body->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_region_body), "overflow");*/ } /** * fo_region_body_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_region_body_get_padding_after (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->padding_after; } /** * fo_region_body_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_region_body_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_region_body->padding_after != NULL) { g_object_unref (fo_region_body->padding_after); } fo_region_body->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_region_body), "padding-after");*/ } /** * fo_region_body_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_region_body_get_padding_before (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->padding_before; } /** * fo_region_body_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_region_body_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_region_body->padding_before != NULL) { g_object_unref (fo_region_body->padding_before); } fo_region_body->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_region_body), "padding-before");*/ } /** * fo_region_body_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_region_body_get_padding_bottom (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->padding_bottom; } /** * fo_region_body_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_region_body_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_region_body->padding_bottom != NULL) { g_object_unref (fo_region_body->padding_bottom); } fo_region_body->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_region_body), "padding-bottom");*/ } /** * fo_region_body_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_region_body_get_padding_end (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->padding_end; } /** * fo_region_body_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_region_body_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_region_body->padding_end != NULL) { g_object_unref (fo_region_body->padding_end); } fo_region_body->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_region_body), "padding-end");*/ } /** * fo_region_body_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_region_body_get_padding_left (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->padding_left; } /** * fo_region_body_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_region_body_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_region_body->padding_left != NULL) { g_object_unref (fo_region_body->padding_left); } fo_region_body->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_region_body), "padding-left");*/ } /** * fo_region_body_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_region_body_get_padding_right (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->padding_right; } /** * fo_region_body_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_region_body_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_region_body->padding_right != NULL) { g_object_unref (fo_region_body->padding_right); } fo_region_body->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_region_body), "padding-right");*/ } /** * fo_region_body_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_region_body_get_padding_start (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->padding_start; } /** * fo_region_body_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_region_body_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_region_body->padding_start != NULL) { g_object_unref (fo_region_body->padding_start); } fo_region_body->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_region_body), "padding-start");*/ } /** * fo_region_body_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_region_body_get_padding_top (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->padding_top; } /** * fo_region_body_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_region_body_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_region_body->padding_top != NULL) { g_object_unref (fo_region_body->padding_top); } fo_region_body->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_region_body), "padding-top");*/ } /** * fo_region_body_get_region_name: * @fo_fo: The @FoFo object * * Gets the "region-name" property of @fo_fo * * Return value: The "region-name" property value **/ FoProperty* fo_region_body_get_region_name (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->region_name; } /** * fo_region_body_set_region_name: * @fo_fo: The #FoFo object * @new_region_name: The new "region-name" property value * * Sets the "region-name" property of @fo_fo to @new_region_name **/ void fo_region_body_set_region_name (FoFo *fo_fo, FoProperty *new_region_name) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_REGION_NAME (new_region_name)); if (new_region_name != NULL) { g_object_ref (new_region_name); } if (fo_region_body->region_name != NULL) { g_object_unref (fo_region_body->region_name); } fo_region_body->region_name = new_region_name; /*g_object_notify (G_OBJECT (fo_region_body), "region-name");*/ } /** * fo_region_body_get_space_after: * @fo_fo: The @FoFo object * * Gets the "space-after" property of @fo_fo * * Return value: The "space-after" property value **/ FoProperty* fo_region_body_get_space_after (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->space_after; } /** * fo_region_body_set_space_after: * @fo_fo: The #FoFo object * @new_space_after: The new "space-after" property value * * Sets the "space-after" property of @fo_fo to @new_space_after **/ void fo_region_body_set_space_after (FoFo *fo_fo, FoProperty *new_space_after) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_SPACE_AFTER (new_space_after)); if (new_space_after != NULL) { g_object_ref (new_space_after); } if (fo_region_body->space_after != NULL) { g_object_unref (fo_region_body->space_after); } fo_region_body->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_region_body), "space-after");*/ } /** * fo_region_body_get_space_before: * @fo_fo: The @FoFo object * * Gets the "space-before" property of @fo_fo * * Return value: The "space-before" property value **/ FoProperty* fo_region_body_get_space_before (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->space_before; } /** * fo_region_body_set_space_before: * @fo_fo: The #FoFo object * @new_space_before: The new "space-before" property value * * Sets the "space-before" property of @fo_fo to @new_space_before **/ void fo_region_body_set_space_before (FoFo *fo_fo, FoProperty *new_space_before) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_SPACE_BEFORE (new_space_before)); if (new_space_before != NULL) { g_object_ref (new_space_before); } if (fo_region_body->space_before != NULL) { g_object_unref (fo_region_body->space_before); } fo_region_body->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_region_body), "space-before");*/ } /** * fo_region_body_get_start_indent: * @fo_fo: The @FoFo object * * Gets the "start-indent" property of @fo_fo * * Return value: The "start-indent" property value **/ FoProperty* fo_region_body_get_start_indent (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->start_indent; } /** * fo_region_body_set_start_indent: * @fo_fo: The #FoFo object * @new_start_indent: The new "start-indent" property value * * Sets the "start-indent" property of @fo_fo to @new_start_indent **/ void fo_region_body_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_START_INDENT (new_start_indent)); if (new_start_indent != NULL) { g_object_ref (new_start_indent); } if (fo_region_body->start_indent != NULL) { g_object_unref (fo_region_body->start_indent); } fo_region_body->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_region_body), "start-indent");*/ } /** * fo_region_body_get_writing_mode: * @fo_fo: The @FoFo object * * Gets the "writing-mode" property of @fo_fo * * Return value: The "writing-mode" property value **/ FoProperty* fo_region_body_get_writing_mode (FoFo *fo_fo) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_val_if_fail (fo_region_body != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_BODY (fo_region_body), NULL); return fo_region_body->writing_mode; } /** * fo_region_body_set_writing_mode: * @fo_fo: The #FoFo object * @new_writing_mode: The new "writing-mode" property value * * Sets the "writing-mode" property of @fo_fo to @new_writing_mode **/ void fo_region_body_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode) { FoRegionBody *fo_region_body = (FoRegionBody *) fo_fo; g_return_if_fail (fo_region_body != NULL); g_return_if_fail (FO_IS_REGION_BODY (fo_region_body)); g_return_if_fail (FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_region_body->writing_mode != NULL) { g_object_unref (fo_region_body->writing_mode); } fo_region_body->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_region_body), "writing-mode");*/ } xmlroff-0.6.2/libfo/fo/fo-region-body.h0000644000175000017500000002636510643167376014636 00000000000000/* Fo * fo-region_body.h: 'region-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_BODY_H__ #define __FO_REGION_BODY_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoRegionBody FoRegionBody; typedef struct _FoRegionBodyClass FoRegionBodyClass; #define FO_TYPE_REGION_BODY (fo_region_body_get_type ()) #define FO_REGION_BODY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_REGION_BODY, FoRegionBody)) #define FO_REGION_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_REGION_BODY, FoRegionBodyClass)) #define FO_IS_REGION_BODY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_REGION_BODY)) #define FO_IS_REGION_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_REGION_BODY)) #define FO_REGION_BODY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_REGION_BODY, FoRegionBodyClass)) GType fo_region_body_get_type (void) G_GNUC_CONST; FoFo * fo_region_body_new (void); FoProperty * fo_region_body_get_background_color (FoFo *fo_fo); void fo_region_body_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_region_body_get_background_image (FoFo *fo_fo); void fo_region_body_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_region_body_get_border_after_color (FoFo *fo_fo); void fo_region_body_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_region_body_get_border_after_style (FoFo *fo_fo); void fo_region_body_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_region_body_get_border_after_width (FoFo *fo_fo); void fo_region_body_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_region_body_get_border_before_color (FoFo *fo_fo); void fo_region_body_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_region_body_get_border_before_style (FoFo *fo_fo); void fo_region_body_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_region_body_get_border_before_width (FoFo *fo_fo); void fo_region_body_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_region_body_get_border_bottom_color (FoFo *fo_fo); void fo_region_body_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_region_body_get_border_bottom_style (FoFo *fo_fo); void fo_region_body_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_region_body_get_border_bottom_width (FoFo *fo_fo); void fo_region_body_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_region_body_get_border_end_color (FoFo *fo_fo); void fo_region_body_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_region_body_get_border_end_style (FoFo *fo_fo); void fo_region_body_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_region_body_get_border_end_width (FoFo *fo_fo); void fo_region_body_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_region_body_get_border_left_color (FoFo *fo_fo); void fo_region_body_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_region_body_get_border_left_style (FoFo *fo_fo); void fo_region_body_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_region_body_get_border_left_width (FoFo *fo_fo); void fo_region_body_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_region_body_get_border_right_color (FoFo *fo_fo); void fo_region_body_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_region_body_get_border_right_style (FoFo *fo_fo); void fo_region_body_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_region_body_get_border_right_width (FoFo *fo_fo); void fo_region_body_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_region_body_get_border_start_color (FoFo *fo_fo); void fo_region_body_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_region_body_get_border_start_style (FoFo *fo_fo); void fo_region_body_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_region_body_get_border_start_width (FoFo *fo_fo); void fo_region_body_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_region_body_get_border_top_color (FoFo *fo_fo); void fo_region_body_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_region_body_get_border_top_style (FoFo *fo_fo); void fo_region_body_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_region_body_get_border_top_width (FoFo *fo_fo); void fo_region_body_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_region_body_get_clip (FoFo *fo_fo); void fo_region_body_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty * fo_region_body_get_display_align (FoFo *fo_fo); void fo_region_body_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty * fo_region_body_get_end_indent (FoFo *fo_fo); void fo_region_body_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty * fo_region_body_get_margin_bottom (FoFo *fo_fo); void fo_region_body_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty * fo_region_body_get_margin_left (FoFo *fo_fo); void fo_region_body_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty * fo_region_body_get_margin_right (FoFo *fo_fo); void fo_region_body_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty * fo_region_body_get_margin_top (FoFo *fo_fo); void fo_region_body_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty * fo_region_body_get_overflow (FoFo *fo_fo); void fo_region_body_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty * fo_region_body_get_padding_after (FoFo *fo_fo); void fo_region_body_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_region_body_get_padding_before (FoFo *fo_fo); void fo_region_body_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_region_body_get_padding_bottom (FoFo *fo_fo); void fo_region_body_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_region_body_get_padding_end (FoFo *fo_fo); void fo_region_body_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_region_body_get_padding_left (FoFo *fo_fo); void fo_region_body_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_region_body_get_padding_right (FoFo *fo_fo); void fo_region_body_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_region_body_get_padding_start (FoFo *fo_fo); void fo_region_body_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_region_body_get_padding_top (FoFo *fo_fo); void fo_region_body_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_region_body_get_region_name (FoFo *fo_fo); void fo_region_body_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty * fo_region_body_get_space_after (FoFo *fo_fo); void fo_region_body_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty * fo_region_body_get_space_before (FoFo *fo_fo); void fo_region_body_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty * fo_region_body_get_start_indent (FoFo *fo_fo); void fo_region_body_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty * fo_region_body_get_writing_mode (FoFo *fo_fo); void fo_region_body_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); G_END_DECLS #endif /* !__FO_REGION_BODY_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-body-private.h0000644000175000017500000000376610643167376016306 00000000000000/* Fo * fo-region-body-private.h: Structures private to 'region-body' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_BODY_PRIVATE_H__ #define __FO_REGION_BODY_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoRegionBody { FoFo parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *clip; FoProperty *display_align; FoProperty *end_indent; FoProperty *margin_bottom; FoProperty *margin_left; FoProperty *margin_right; FoProperty *margin_top; FoProperty *overflow; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *region_name; FoProperty *space_after; FoProperty *space_before; FoProperty *start_indent; FoProperty *writing_mode; }; struct _FoRegionBodyClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_REGION_BODY_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-end.c0000644000175000017500000026256010701021272014414 00000000000000/* Fo * fo-region-end.c: 'region-end' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-context-util.h" #include "fo/fo-region-end-private.h" #include "fo/fo-simple-page-master.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-clip.h" #include "property/fo-property-display-align.h" #include "property/fo-property-extent.h" #include "property/fo-property-overflow.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-region-name.h" #include "property/fo-property-writing-mode.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_CLIP, PROP_DISPLAY_ALIGN, PROP_EXTENT, PROP_OVERFLOW, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_REGION_NAME, PROP_WRITING_MODE }; static void fo_region_end_class_init (FoRegionEndClass *klass); static void fo_region_end_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_region_end_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_region_end_finalize (GObject *object); static void fo_region_end_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_region_end_update_from_context (FoFo *fo, FoContext *context); static void fo_region_end_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_region_end_get_type: * * Register the #FoRegionEnd object type. * * Return value: #GType value of the #FoRegionEnd object type. **/ GType fo_region_end_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRegionEndClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_region_end_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoRegionEnd), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoRegionEnd", &object_info, 0); } return object_type; } /** * fo_region_end_class_init: * @klass: #FoRegionEndClass object to initialise. * * Implements #GClassInitFunc for #FoRegionEndClass. **/ void fo_region_end_class_init (FoRegionEndClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_region_end_finalize; object_class->get_property = fo_region_end_get_property; object_class->set_property = fo_region_end_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_region_end_validate; fofo_class->update_from_context = fo_region_end_update_from_context; fofo_class->debug_dump_properties = fo_region_end_debug_dump_properties; fofo_class->generate_reference_area = TRUE; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_EXTENT, g_param_spec_object ("extent", _("Extent"), _("Extent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_REGION_NAME, g_param_spec_object ("region-name", _("Region Name"), _("Region Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_region_end_finalize: * @object: #FoRegionEnd object to finalize. * * Implements #GObjectFinalizeFunc for #FoRegionEnd. **/ void fo_region_end_finalize (GObject *object) { FoRegionEnd *fo_region_end; fo_region_end = FO_REGION_END (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_region_end_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoRegionEnd. **/ void fo_region_end_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_region_end_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_region_end_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_end_get_border_top_width (fo_fo))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_region_end_get_clip (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_region_end_get_display_align (fo_fo))); break; case PROP_EXTENT: g_value_set_object (value, G_OBJECT (fo_region_end_get_extent (fo_fo))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_region_end_get_overflow (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_region_end_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_region_end_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_region_end_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_region_end_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_region_end_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_region_end_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_region_end_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_region_end_get_padding_top (fo_fo))); break; case PROP_REGION_NAME: g_value_set_object (value, G_OBJECT (fo_region_end_get_region_name (fo_fo))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_region_end_get_writing_mode (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_end_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoRegionEnd. **/ void fo_region_end_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_region_end_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_region_end_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_region_end_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_region_end_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_region_end_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_region_end_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_region_end_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_region_end_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_region_end_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_region_end_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_region_end_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_region_end_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_region_end_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_region_end_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_region_end_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_region_end_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_region_end_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_region_end_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_region_end_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_region_end_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_region_end_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_region_end_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_region_end_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_region_end_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_region_end_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_region_end_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_CLIP: fo_region_end_set_clip (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_region_end_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_EXTENT: fo_region_end_set_extent (fo_fo, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_region_end_set_overflow (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_region_end_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_region_end_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_region_end_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_region_end_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_region_end_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_region_end_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_region_end_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_region_end_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_REGION_NAME: fo_region_end_set_region_name (fo_fo, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_region_end_set_writing_mode (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_end_new: * * Creates a new #FoRegionEnd initialized to default value. * * Return value: the new #FoRegionEnd. **/ FoFo* fo_region_end_new (void) { return FO_FO (g_object_new (fo_region_end_get_type (), NULL)); } /** * fo_region_end_validate: * @fo: #FoRegionEnd object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_region_end_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_END (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_margins_indents_resolve (fo, current_context, parent_context); fo_context_util_margins_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); FoDatatype *region_name_datatype = fo_property_get_value (fo_region_end_get_region_name (fo)); gchar *region_name = NULL; if (region_name_datatype != NULL) { region_name = fo_name_get_value (region_name_datatype); } else { /* Need a freeable string because g_free() needed if name had come from fo_name_get_value(). */ region_name = g_strdup ("xsl-region-end"); /* Also set the 'region-name' property to its default. */ region_name_datatype = fo_name_new_with_value (region_name); FoProperty *region_name_prop = fo_property_region_name_new (); fo_property_set_value (region_name_prop, region_name_datatype); fo_region_end_set_region_name (fo, region_name_prop); } FoFo *simple_page_master = FO_FO (fo_node_parent (FO_NODE (fo))); if (simple_page_master != NULL) { fo_simple_page_master_region_name_add (simple_page_master, region_name, fo); } else { g_assert_not_reached(); } g_free (region_name); } /** * fo_region_end_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_region_end_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_END (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_region_end_set_background_color (fo, fo_context_get_background_color (context)); fo_region_end_set_background_image (fo, fo_context_get_background_image (context)); fo_region_end_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_region_end_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_region_end_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_region_end_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_region_end_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_region_end_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_region_end_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_region_end_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_region_end_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_region_end_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_region_end_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_region_end_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_region_end_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_region_end_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_region_end_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_region_end_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_region_end_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_region_end_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_region_end_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_region_end_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_region_end_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_region_end_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_region_end_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_region_end_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_region_end_set_clip (fo, fo_context_get_clip (context)); fo_region_end_set_display_align (fo, fo_context_get_display_align (context)); fo_region_end_set_extent (fo, fo_context_get_extent (context)); fo_region_end_set_overflow (fo, fo_context_get_overflow (context)); fo_region_end_set_padding_after (fo, fo_context_get_padding_after (context)); fo_region_end_set_padding_before (fo, fo_context_get_padding_before (context)); fo_region_end_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_region_end_set_padding_end (fo, fo_context_get_padding_end (context)); fo_region_end_set_padding_left (fo, fo_context_get_padding_left (context)); fo_region_end_set_padding_right (fo, fo_context_get_padding_right (context)); fo_region_end_set_padding_start (fo, fo_context_get_padding_start (context)); fo_region_end_set_padding_top (fo, fo_context_get_padding_top (context)); fo_region_end_set_region_name (fo, fo_context_get_region_name (context)); fo_region_end_set_writing_mode (fo, fo_context_get_writing_mode (context)); } /** * fo_region_end_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_region_end_debug_dump_properties (FoFo *fo, gint depth) { FoRegionEnd *fo_region_end; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_END (fo)); fo_region_end = FO_REGION_END (fo); fo_object_debug_dump (fo_region_end->background_color, depth); fo_object_debug_dump (fo_region_end->background_image, depth); fo_object_debug_dump (fo_region_end->border_after_color, depth); fo_object_debug_dump (fo_region_end->border_after_style, depth); fo_object_debug_dump (fo_region_end->border_after_width, depth); fo_object_debug_dump (fo_region_end->border_before_color, depth); fo_object_debug_dump (fo_region_end->border_before_style, depth); fo_object_debug_dump (fo_region_end->border_before_width, depth); fo_object_debug_dump (fo_region_end->border_bottom_color, depth); fo_object_debug_dump (fo_region_end->border_bottom_style, depth); fo_object_debug_dump (fo_region_end->border_bottom_width, depth); fo_object_debug_dump (fo_region_end->border_end_color, depth); fo_object_debug_dump (fo_region_end->border_end_style, depth); fo_object_debug_dump (fo_region_end->border_end_width, depth); fo_object_debug_dump (fo_region_end->border_left_color, depth); fo_object_debug_dump (fo_region_end->border_left_style, depth); fo_object_debug_dump (fo_region_end->border_left_width, depth); fo_object_debug_dump (fo_region_end->border_right_color, depth); fo_object_debug_dump (fo_region_end->border_right_style, depth); fo_object_debug_dump (fo_region_end->border_right_width, depth); fo_object_debug_dump (fo_region_end->border_start_color, depth); fo_object_debug_dump (fo_region_end->border_start_style, depth); fo_object_debug_dump (fo_region_end->border_start_width, depth); fo_object_debug_dump (fo_region_end->border_top_color, depth); fo_object_debug_dump (fo_region_end->border_top_style, depth); fo_object_debug_dump (fo_region_end->border_top_width, depth); fo_object_debug_dump (fo_region_end->clip, depth); fo_object_debug_dump (fo_region_end->display_align, depth); fo_object_debug_dump (fo_region_end->extent, depth); fo_object_debug_dump (fo_region_end->overflow, depth); fo_object_debug_dump (fo_region_end->padding_after, depth); fo_object_debug_dump (fo_region_end->padding_before, depth); fo_object_debug_dump (fo_region_end->padding_bottom, depth); fo_object_debug_dump (fo_region_end->padding_end, depth); fo_object_debug_dump (fo_region_end->padding_left, depth); fo_object_debug_dump (fo_region_end->padding_right, depth); fo_object_debug_dump (fo_region_end->padding_start, depth); fo_object_debug_dump (fo_region_end->padding_top, depth); fo_object_debug_dump (fo_region_end->region_name, depth); fo_object_debug_dump (fo_region_end->writing_mode, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_region_end_get_background_color: * @fo_fo: The @FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty* fo_region_end_get_background_color (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->background_color; } /** * fo_region_end_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_region_end_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_region_end->background_color != NULL) { g_object_unref (fo_region_end->background_color); } fo_region_end->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_region_end), "background-color");*/ } /** * fo_region_end_get_background_image: * @fo_fo: The @FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty* fo_region_end_get_background_image (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->background_image; } /** * fo_region_end_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_region_end_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_region_end->background_image != NULL) { g_object_unref (fo_region_end->background_image); } fo_region_end->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_region_end), "background-image");*/ } /** * fo_region_end_get_border_after_color: * @fo_fo: The @FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty* fo_region_end_get_border_after_color (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_after_color; } /** * fo_region_end_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_region_end_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_region_end->border_after_color != NULL) { g_object_unref (fo_region_end->border_after_color); } fo_region_end->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_region_end), "border-after-color");*/ } /** * fo_region_end_get_border_after_style: * @fo_fo: The @FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty* fo_region_end_get_border_after_style (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_after_style; } /** * fo_region_end_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_region_end_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_region_end->border_after_style != NULL) { g_object_unref (fo_region_end->border_after_style); } fo_region_end->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_region_end), "border-after-style");*/ } /** * fo_region_end_get_border_after_width: * @fo_fo: The @FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty* fo_region_end_get_border_after_width (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_after_width; } /** * fo_region_end_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_region_end_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_region_end->border_after_width != NULL) { g_object_unref (fo_region_end->border_after_width); } fo_region_end->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_region_end), "border-after-width");*/ } /** * fo_region_end_get_border_before_color: * @fo_fo: The @FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty* fo_region_end_get_border_before_color (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_before_color; } /** * fo_region_end_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_region_end_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_region_end->border_before_color != NULL) { g_object_unref (fo_region_end->border_before_color); } fo_region_end->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_region_end), "border-before-color");*/ } /** * fo_region_end_get_border_before_style: * @fo_fo: The @FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty* fo_region_end_get_border_before_style (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_before_style; } /** * fo_region_end_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_region_end_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_region_end->border_before_style != NULL) { g_object_unref (fo_region_end->border_before_style); } fo_region_end->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_region_end), "border-before-style");*/ } /** * fo_region_end_get_border_before_width: * @fo_fo: The @FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty* fo_region_end_get_border_before_width (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_before_width; } /** * fo_region_end_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_region_end_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_region_end->border_before_width != NULL) { g_object_unref (fo_region_end->border_before_width); } fo_region_end->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_region_end), "border-before-width");*/ } /** * fo_region_end_get_border_bottom_color: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty* fo_region_end_get_border_bottom_color (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_bottom_color; } /** * fo_region_end_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_region_end_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_region_end->border_bottom_color != NULL) { g_object_unref (fo_region_end->border_bottom_color); } fo_region_end->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_region_end), "border-bottom-color");*/ } /** * fo_region_end_get_border_bottom_style: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty* fo_region_end_get_border_bottom_style (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_bottom_style; } /** * fo_region_end_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_region_end_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_region_end->border_bottom_style != NULL) { g_object_unref (fo_region_end->border_bottom_style); } fo_region_end->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_region_end), "border-bottom-style");*/ } /** * fo_region_end_get_border_bottom_width: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty* fo_region_end_get_border_bottom_width (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_bottom_width; } /** * fo_region_end_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_region_end_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_region_end->border_bottom_width != NULL) { g_object_unref (fo_region_end->border_bottom_width); } fo_region_end->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_region_end), "border-bottom-width");*/ } /** * fo_region_end_get_border_end_color: * @fo_fo: The @FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty* fo_region_end_get_border_end_color (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_end_color; } /** * fo_region_end_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_region_end_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_region_end->border_end_color != NULL) { g_object_unref (fo_region_end->border_end_color); } fo_region_end->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_region_end), "border-end-color");*/ } /** * fo_region_end_get_border_end_style: * @fo_fo: The @FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty* fo_region_end_get_border_end_style (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_end_style; } /** * fo_region_end_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_region_end_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_region_end->border_end_style != NULL) { g_object_unref (fo_region_end->border_end_style); } fo_region_end->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_region_end), "border-end-style");*/ } /** * fo_region_end_get_border_end_width: * @fo_fo: The @FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty* fo_region_end_get_border_end_width (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_end_width; } /** * fo_region_end_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_region_end_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_region_end->border_end_width != NULL) { g_object_unref (fo_region_end->border_end_width); } fo_region_end->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_region_end), "border-end-width");*/ } /** * fo_region_end_get_border_left_color: * @fo_fo: The @FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty* fo_region_end_get_border_left_color (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_left_color; } /** * fo_region_end_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_region_end_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_region_end->border_left_color != NULL) { g_object_unref (fo_region_end->border_left_color); } fo_region_end->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_region_end), "border-left-color");*/ } /** * fo_region_end_get_border_left_style: * @fo_fo: The @FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty* fo_region_end_get_border_left_style (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_left_style; } /** * fo_region_end_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_region_end_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_region_end->border_left_style != NULL) { g_object_unref (fo_region_end->border_left_style); } fo_region_end->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_region_end), "border-left-style");*/ } /** * fo_region_end_get_border_left_width: * @fo_fo: The @FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty* fo_region_end_get_border_left_width (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_left_width; } /** * fo_region_end_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_region_end_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_region_end->border_left_width != NULL) { g_object_unref (fo_region_end->border_left_width); } fo_region_end->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_region_end), "border-left-width");*/ } /** * fo_region_end_get_border_right_color: * @fo_fo: The @FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty* fo_region_end_get_border_right_color (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_right_color; } /** * fo_region_end_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_region_end_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_region_end->border_right_color != NULL) { g_object_unref (fo_region_end->border_right_color); } fo_region_end->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_region_end), "border-right-color");*/ } /** * fo_region_end_get_border_right_style: * @fo_fo: The @FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty* fo_region_end_get_border_right_style (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_right_style; } /** * fo_region_end_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_region_end_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_region_end->border_right_style != NULL) { g_object_unref (fo_region_end->border_right_style); } fo_region_end->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_region_end), "border-right-style");*/ } /** * fo_region_end_get_border_right_width: * @fo_fo: The @FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty* fo_region_end_get_border_right_width (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_right_width; } /** * fo_region_end_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_region_end_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_region_end->border_right_width != NULL) { g_object_unref (fo_region_end->border_right_width); } fo_region_end->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_region_end), "border-right-width");*/ } /** * fo_region_end_get_border_start_color: * @fo_fo: The @FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty* fo_region_end_get_border_start_color (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_start_color; } /** * fo_region_end_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_region_end_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_region_end->border_start_color != NULL) { g_object_unref (fo_region_end->border_start_color); } fo_region_end->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_region_end), "border-start-color");*/ } /** * fo_region_end_get_border_start_style: * @fo_fo: The @FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty* fo_region_end_get_border_start_style (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_start_style; } /** * fo_region_end_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_region_end_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_region_end->border_start_style != NULL) { g_object_unref (fo_region_end->border_start_style); } fo_region_end->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_region_end), "border-start-style");*/ } /** * fo_region_end_get_border_start_width: * @fo_fo: The @FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty* fo_region_end_get_border_start_width (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_start_width; } /** * fo_region_end_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_region_end_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_region_end->border_start_width != NULL) { g_object_unref (fo_region_end->border_start_width); } fo_region_end->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_region_end), "border-start-width");*/ } /** * fo_region_end_get_border_top_color: * @fo_fo: The @FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty* fo_region_end_get_border_top_color (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_top_color; } /** * fo_region_end_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_region_end_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_region_end->border_top_color != NULL) { g_object_unref (fo_region_end->border_top_color); } fo_region_end->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_region_end), "border-top-color");*/ } /** * fo_region_end_get_border_top_style: * @fo_fo: The @FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty* fo_region_end_get_border_top_style (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_top_style; } /** * fo_region_end_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_region_end_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_region_end->border_top_style != NULL) { g_object_unref (fo_region_end->border_top_style); } fo_region_end->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_region_end), "border-top-style");*/ } /** * fo_region_end_get_border_top_width: * @fo_fo: The @FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty* fo_region_end_get_border_top_width (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->border_top_width; } /** * fo_region_end_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_region_end_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_region_end->border_top_width != NULL) { g_object_unref (fo_region_end->border_top_width); } fo_region_end->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_region_end), "border-top-width");*/ } /** * fo_region_end_get_clip: * @fo_fo: The @FoFo object. * * Gets the "clip" property of @fo_fo. * * Return value: The "clip" property value. **/ FoProperty* fo_region_end_get_clip (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->clip; } /** * fo_region_end_set_clip: * @fo_fo: The #FoFo object. * @new_clip: The new "clip" property value. * * Sets the "clip" property of @fo_fo to @new_clip. **/ void fo_region_end_set_clip (FoFo *fo_fo, FoProperty *new_clip) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_region_end->clip != NULL) { g_object_unref (fo_region_end->clip); } fo_region_end->clip = new_clip; /*g_object_notify (G_OBJECT (fo_region_end), "clip");*/ } /** * fo_region_end_get_display_align: * @fo_fo: The @FoFo object. * * Gets the "display-align" property of @fo_fo. * * Return value: The "display-align" property value. **/ FoProperty* fo_region_end_get_display_align (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->display_align; } /** * fo_region_end_set_display_align: * @fo_fo: The #FoFo object. * @new_display_align: The new "display-align" property value. * * Sets the "display-align" property of @fo_fo to @new_display_align. **/ void fo_region_end_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_region_end->display_align != NULL) { g_object_unref (fo_region_end->display_align); } fo_region_end->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_region_end), "display-align");*/ } /** * fo_region_end_get_extent: * @fo_fo: The @FoFo object. * * Gets the "extent" property of @fo_fo. * * Return value: The "extent" property value. **/ FoProperty* fo_region_end_get_extent (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->extent; } /** * fo_region_end_set_extent: * @fo_fo: The #FoFo object. * @new_extent: The new "extent" property value. * * Sets the "extent" property of @fo_fo to @new_extent. **/ void fo_region_end_set_extent (FoFo *fo_fo, FoProperty *new_extent) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_EXTENT (new_extent)); if (new_extent != NULL) { g_object_ref (new_extent); } if (fo_region_end->extent != NULL) { g_object_unref (fo_region_end->extent); } fo_region_end->extent = new_extent; /*g_object_notify (G_OBJECT (fo_region_end), "extent");*/ } /** * fo_region_end_get_overflow: * @fo_fo: The @FoFo object. * * Gets the "overflow" property of @fo_fo. * * Return value: The "overflow" property value. **/ FoProperty* fo_region_end_get_overflow (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->overflow; } /** * fo_region_end_set_overflow: * @fo_fo: The #FoFo object. * @new_overflow: The new "overflow" property value. * * Sets the "overflow" property of @fo_fo to @new_overflow. **/ void fo_region_end_set_overflow (FoFo *fo_fo, FoProperty *new_overflow) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_region_end->overflow != NULL) { g_object_unref (fo_region_end->overflow); } fo_region_end->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_region_end), "overflow");*/ } /** * fo_region_end_get_padding_after: * @fo_fo: The @FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty* fo_region_end_get_padding_after (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->padding_after; } /** * fo_region_end_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_region_end_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_region_end->padding_after != NULL) { g_object_unref (fo_region_end->padding_after); } fo_region_end->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_region_end), "padding-after");*/ } /** * fo_region_end_get_padding_before: * @fo_fo: The @FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty* fo_region_end_get_padding_before (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->padding_before; } /** * fo_region_end_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_region_end_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_region_end->padding_before != NULL) { g_object_unref (fo_region_end->padding_before); } fo_region_end->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_region_end), "padding-before");*/ } /** * fo_region_end_get_padding_bottom: * @fo_fo: The @FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty* fo_region_end_get_padding_bottom (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->padding_bottom; } /** * fo_region_end_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_region_end_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_region_end->padding_bottom != NULL) { g_object_unref (fo_region_end->padding_bottom); } fo_region_end->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_region_end), "padding-bottom");*/ } /** * fo_region_end_get_padding_end: * @fo_fo: The @FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty* fo_region_end_get_padding_end (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->padding_end; } /** * fo_region_end_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_region_end_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_region_end->padding_end != NULL) { g_object_unref (fo_region_end->padding_end); } fo_region_end->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_region_end), "padding-end");*/ } /** * fo_region_end_get_padding_left: * @fo_fo: The @FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty* fo_region_end_get_padding_left (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->padding_left; } /** * fo_region_end_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_region_end_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_region_end->padding_left != NULL) { g_object_unref (fo_region_end->padding_left); } fo_region_end->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_region_end), "padding-left");*/ } /** * fo_region_end_get_padding_right: * @fo_fo: The @FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty* fo_region_end_get_padding_right (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->padding_right; } /** * fo_region_end_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_region_end_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_region_end->padding_right != NULL) { g_object_unref (fo_region_end->padding_right); } fo_region_end->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_region_end), "padding-right");*/ } /** * fo_region_end_get_padding_start: * @fo_fo: The @FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty* fo_region_end_get_padding_start (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->padding_start; } /** * fo_region_end_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_region_end_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_region_end->padding_start != NULL) { g_object_unref (fo_region_end->padding_start); } fo_region_end->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_region_end), "padding-start");*/ } /** * fo_region_end_get_padding_top: * @fo_fo: The @FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty* fo_region_end_get_padding_top (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->padding_top; } /** * fo_region_end_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_region_end_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_region_end->padding_top != NULL) { g_object_unref (fo_region_end->padding_top); } fo_region_end->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_region_end), "padding-top");*/ } /** * fo_region_end_get_region_name: * @fo_fo: The @FoFo object. * * Gets the "region-name" property of @fo_fo. * * Return value: The "region-name" property value. **/ FoProperty* fo_region_end_get_region_name (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->region_name; } /** * fo_region_end_set_region_name: * @fo_fo: The #FoFo object. * @new_region_name: The new "region-name" property value. * * Sets the "region-name" property of @fo_fo to @new_region_name. **/ void fo_region_end_set_region_name (FoFo *fo_fo, FoProperty *new_region_name) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_REGION_NAME (new_region_name)); if (new_region_name != NULL) { g_object_ref (new_region_name); } if (fo_region_end->region_name != NULL) { g_object_unref (fo_region_end->region_name); } fo_region_end->region_name = new_region_name; /*g_object_notify (G_OBJECT (fo_region_end), "region-name");*/ } /** * fo_region_end_get_writing_mode: * @fo_fo: The @FoFo object. * * Gets the "writing-mode" property of @fo_fo. * * Return value: The "writing-mode" property value. **/ FoProperty* fo_region_end_get_writing_mode (FoFo *fo_fo) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_val_if_fail (fo_region_end != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_END (fo_region_end), NULL); return fo_region_end->writing_mode; } /** * fo_region_end_set_writing_mode: * @fo_fo: The #FoFo object. * @new_writing_mode: The new "writing-mode" property value. * * Sets the "writing-mode" property of @fo_fo to @new_writing_mode. **/ void fo_region_end_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode) { FoRegionEnd *fo_region_end = (FoRegionEnd *) fo_fo; g_return_if_fail (fo_region_end != NULL); g_return_if_fail (FO_IS_REGION_END (fo_region_end)); g_return_if_fail (FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_region_end->writing_mode != NULL) { g_object_unref (fo_region_end->writing_mode); } fo_region_end->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_region_end), "writing-mode");*/ } xmlroff-0.6.2/libfo/fo/fo-region-end.h0000644000175000017500000002361210643167375014436 00000000000000/* Fo * fo-region-end.h: 'region-end' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_END_H__ #define __FO_REGION_END_H__ #include #include #include G_BEGIN_DECLS /** * FoRegionEnd: * * Instance of the 'region-end' formatting object. **/ typedef struct _FoRegionEnd FoRegionEnd; /** * FoRegionEndClass: * * Class structure for the 'region-end' formatting object. **/ typedef struct _FoRegionEndClass FoRegionEndClass; #define FO_TYPE_REGION_END (fo_region_end_get_type ()) #define FO_REGION_END(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_REGION_END, FoRegionEnd)) #define FO_REGION_END_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_REGION_END, FoRegionEndClass)) #define FO_IS_REGION_END(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_REGION_END)) #define FO_IS_REGION_END_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_REGION_END)) #define FO_REGION_END_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_REGION_END, FoRegionEndClass)) GType fo_region_end_get_type (void) G_GNUC_CONST; FoFo * fo_region_end_new (void); FoProperty * fo_region_end_get_background_color (FoFo *fo_fo); void fo_region_end_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_region_end_get_background_image (FoFo *fo_fo); void fo_region_end_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_region_end_get_border_after_color (FoFo *fo_fo); void fo_region_end_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_region_end_get_border_after_style (FoFo *fo_fo); void fo_region_end_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_region_end_get_border_after_width (FoFo *fo_fo); void fo_region_end_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_region_end_get_border_before_color (FoFo *fo_fo); void fo_region_end_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_region_end_get_border_before_style (FoFo *fo_fo); void fo_region_end_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_region_end_get_border_before_width (FoFo *fo_fo); void fo_region_end_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_region_end_get_border_bottom_color (FoFo *fo_fo); void fo_region_end_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_region_end_get_border_bottom_style (FoFo *fo_fo); void fo_region_end_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_region_end_get_border_bottom_width (FoFo *fo_fo); void fo_region_end_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_region_end_get_border_end_color (FoFo *fo_fo); void fo_region_end_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_region_end_get_border_end_style (FoFo *fo_fo); void fo_region_end_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_region_end_get_border_end_width (FoFo *fo_fo); void fo_region_end_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_region_end_get_border_left_color (FoFo *fo_fo); void fo_region_end_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_region_end_get_border_left_style (FoFo *fo_fo); void fo_region_end_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_region_end_get_border_left_width (FoFo *fo_fo); void fo_region_end_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_region_end_get_border_right_color (FoFo *fo_fo); void fo_region_end_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_region_end_get_border_right_style (FoFo *fo_fo); void fo_region_end_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_region_end_get_border_right_width (FoFo *fo_fo); void fo_region_end_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_region_end_get_border_start_color (FoFo *fo_fo); void fo_region_end_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_region_end_get_border_start_style (FoFo *fo_fo); void fo_region_end_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_region_end_get_border_start_width (FoFo *fo_fo); void fo_region_end_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_region_end_get_border_top_color (FoFo *fo_fo); void fo_region_end_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_region_end_get_border_top_style (FoFo *fo_fo); void fo_region_end_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_region_end_get_border_top_width (FoFo *fo_fo); void fo_region_end_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_region_end_get_clip (FoFo *fo_fo); void fo_region_end_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty * fo_region_end_get_display_align (FoFo *fo_fo); void fo_region_end_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty * fo_region_end_get_extent (FoFo *fo_fo); void fo_region_end_set_extent (FoFo *fo_fo, FoProperty *new_extent); FoProperty * fo_region_end_get_overflow (FoFo *fo_fo); void fo_region_end_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty * fo_region_end_get_padding_after (FoFo *fo_fo); void fo_region_end_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_region_end_get_padding_before (FoFo *fo_fo); void fo_region_end_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_region_end_get_padding_bottom (FoFo *fo_fo); void fo_region_end_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_region_end_get_padding_end (FoFo *fo_fo); void fo_region_end_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_region_end_get_padding_left (FoFo *fo_fo); void fo_region_end_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_region_end_get_padding_right (FoFo *fo_fo); void fo_region_end_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_region_end_get_padding_start (FoFo *fo_fo); void fo_region_end_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_region_end_get_padding_top (FoFo *fo_fo); void fo_region_end_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_region_end_get_region_name (FoFo *fo_fo); void fo_region_end_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty * fo_region_end_get_writing_mode (FoFo *fo_fo); void fo_region_end_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); G_END_DECLS #endif /* !__FO_REGION_END_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-end-private.h0000644000175000017500000000341510643167375016105 00000000000000/* Fo * fo-region-end-private.h: Structures private to 'region-end' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_END_PRIVATE_H__ #define __FO_REGION_END_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoRegionEnd { FoFo parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *clip; FoProperty *display_align; FoProperty *extent; FoProperty *overflow; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *region_name; FoProperty *writing_mode; }; struct _FoRegionEndClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_REGION_END_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-start.c0000644000175000017500000026676210701021206015010 00000000000000/* Fo * fo-region-start.c: 'region-start' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-context-util.h" #include "fo/fo-region-start-private.h" #include "fo/fo-simple-page-master.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-clip.h" #include "property/fo-property-display-align.h" #include "property/fo-property-extent.h" #include "property/fo-property-overflow.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-region-name.h" #include "property/fo-property-writing-mode.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_CLIP, PROP_DISPLAY_ALIGN, PROP_EXTENT, PROP_OVERFLOW, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_REGION_NAME, PROP_WRITING_MODE }; static void fo_region_start_class_init (FoRegionStartClass *klass); static void fo_region_start_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_region_start_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_region_start_finalize (GObject *object); static void fo_region_start_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_region_start_update_from_context (FoFo *fo, FoContext *context); static void fo_region_start_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_region_start_get_type: * * Register the #FoRegionStart object type. * * Return value: #GType value of the #FoRegionStart object type. **/ GType fo_region_start_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRegionStartClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_region_start_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoRegionStart), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoRegionStart", &object_info, 0); } return object_type; } /** * fo_region_start_class_init: * @klass: #FoRegionStartClass object to initialise. * * Implements #GClassInitFunc for #FoRegionStartClass. **/ void fo_region_start_class_init (FoRegionStartClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_region_start_finalize; object_class->get_property = fo_region_start_get_property; object_class->set_property = fo_region_start_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_region_start_validate; fofo_class->update_from_context = fo_region_start_update_from_context; fofo_class->debug_dump_properties = fo_region_start_debug_dump_properties; fofo_class->generate_reference_area = TRUE; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CLIP, g_param_spec_object ("clip", _("Clip"), _("Clip property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_EXTENT, g_param_spec_object ("extent", _("Extent"), _("Extent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_OVERFLOW, g_param_spec_object ("overflow", _("Overflow"), _("Overflow property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_REGION_NAME, g_param_spec_object ("region-name", _("Region Name"), _("Region Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_region_start_finalize: * @object: #FoRegionStart object to finalize. * * Implements #GObjectFinalizeFunc for #FoRegionStart. **/ void fo_region_start_finalize (GObject *object) { FoRegionStart *fo_region_start; fo_region_start = FO_REGION_START (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_region_start_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoRegionStart. **/ void fo_region_start_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_region_start_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_region_start_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_region_start_get_border_top_width (fo_fo))); break; case PROP_CLIP: g_value_set_object (value, G_OBJECT (fo_region_start_get_clip (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_region_start_get_display_align (fo_fo))); break; case PROP_EXTENT: g_value_set_object (value, G_OBJECT (fo_region_start_get_extent (fo_fo))); break; case PROP_OVERFLOW: g_value_set_object (value, G_OBJECT (fo_region_start_get_overflow (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_region_start_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_region_start_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_region_start_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_region_start_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_region_start_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_region_start_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_region_start_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_region_start_get_padding_top (fo_fo))); break; case PROP_REGION_NAME: g_value_set_object (value, G_OBJECT (fo_region_start_get_region_name (fo_fo))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_region_start_get_writing_mode (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_start_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoRegionStart. **/ void fo_region_start_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_region_start_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_region_start_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_region_start_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_region_start_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_region_start_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_region_start_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_region_start_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_region_start_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_region_start_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_region_start_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_region_start_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_region_start_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_region_start_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_region_start_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_region_start_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_region_start_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_region_start_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_region_start_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_region_start_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_region_start_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_region_start_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_region_start_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_region_start_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_region_start_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_region_start_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_region_start_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_CLIP: fo_region_start_set_clip (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_region_start_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_EXTENT: fo_region_start_set_extent (fo_fo, g_value_get_object (value)); break; case PROP_OVERFLOW: fo_region_start_set_overflow (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_region_start_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_region_start_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_region_start_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_region_start_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_region_start_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_region_start_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_region_start_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_region_start_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_REGION_NAME: fo_region_start_set_region_name (fo_fo, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_region_start_set_writing_mode (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_region_start_new: * * Creates a new #FoRegionStart initialized to default value. * * Return value: the new #FoRegionStart. **/ FoFo* fo_region_start_new (void) { return FO_FO (g_object_new (fo_region_start_get_type (), NULL)); } /** * fo_region_start_validate: * @fo: #FoRegionStart object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_region_start_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_START (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_margins_indents_resolve (fo, current_context, parent_context); fo_context_util_margins_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); FoDatatype *region_name_datatype = fo_property_get_value (fo_region_start_get_region_name (fo)); gchar *region_name = NULL; if (region_name_datatype != NULL) { region_name = fo_name_get_value (region_name_datatype); } else { /* Need a freeable string because g_free() needed if name had come from fo_name_get_value(). */ region_name = g_strdup ("xsl-region-start"); /* Also set the 'region-name' property to its default. */ region_name_datatype = fo_name_new_with_value (region_name); FoProperty *region_name_prop = fo_property_region_name_new (); fo_property_set_value (region_name_prop, region_name_datatype); fo_region_start_set_region_name (fo, region_name_prop); } FoFo *simple_page_master = FO_FO (fo_node_parent (FO_NODE (fo))); if (simple_page_master != NULL) { fo_simple_page_master_region_name_add (simple_page_master, region_name, fo); } else { g_assert_not_reached(); } g_free (region_name); } /** * fo_region_start_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_region_start_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_START (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_region_start_set_background_color (fo, fo_context_get_background_color (context)); fo_region_start_set_background_image (fo, fo_context_get_background_image (context)); fo_region_start_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_region_start_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_region_start_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_region_start_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_region_start_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_region_start_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_region_start_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_region_start_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_region_start_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_region_start_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_region_start_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_region_start_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_region_start_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_region_start_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_region_start_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_region_start_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_region_start_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_region_start_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_region_start_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_region_start_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_region_start_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_region_start_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_region_start_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_region_start_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_region_start_set_clip (fo, fo_context_get_clip (context)); fo_region_start_set_display_align (fo, fo_context_get_display_align (context)); fo_region_start_set_extent (fo, fo_context_get_extent (context)); fo_region_start_set_overflow (fo, fo_context_get_overflow (context)); fo_region_start_set_padding_after (fo, fo_context_get_padding_after (context)); fo_region_start_set_padding_before (fo, fo_context_get_padding_before (context)); fo_region_start_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_region_start_set_padding_end (fo, fo_context_get_padding_end (context)); fo_region_start_set_padding_left (fo, fo_context_get_padding_left (context)); fo_region_start_set_padding_right (fo, fo_context_get_padding_right (context)); fo_region_start_set_padding_start (fo, fo_context_get_padding_start (context)); fo_region_start_set_padding_top (fo, fo_context_get_padding_top (context)); fo_region_start_set_region_name (fo, fo_context_get_region_name (context)); fo_region_start_set_writing_mode (fo, fo_context_get_writing_mode (context)); } /** * fo_region_start_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_region_start_debug_dump_properties (FoFo *fo, gint depth) { FoRegionStart *fo_region_start; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REGION_START (fo)); fo_region_start = FO_REGION_START (fo); fo_object_debug_dump (fo_region_start->background_color, depth); fo_object_debug_dump (fo_region_start->background_image, depth); fo_object_debug_dump (fo_region_start->border_after_color, depth); fo_object_debug_dump (fo_region_start->border_after_style, depth); fo_object_debug_dump (fo_region_start->border_after_width, depth); fo_object_debug_dump (fo_region_start->border_before_color, depth); fo_object_debug_dump (fo_region_start->border_before_style, depth); fo_object_debug_dump (fo_region_start->border_before_width, depth); fo_object_debug_dump (fo_region_start->border_bottom_color, depth); fo_object_debug_dump (fo_region_start->border_bottom_style, depth); fo_object_debug_dump (fo_region_start->border_bottom_width, depth); fo_object_debug_dump (fo_region_start->border_end_color, depth); fo_object_debug_dump (fo_region_start->border_end_style, depth); fo_object_debug_dump (fo_region_start->border_end_width, depth); fo_object_debug_dump (fo_region_start->border_left_color, depth); fo_object_debug_dump (fo_region_start->border_left_style, depth); fo_object_debug_dump (fo_region_start->border_left_width, depth); fo_object_debug_dump (fo_region_start->border_right_color, depth); fo_object_debug_dump (fo_region_start->border_right_style, depth); fo_object_debug_dump (fo_region_start->border_right_width, depth); fo_object_debug_dump (fo_region_start->border_start_color, depth); fo_object_debug_dump (fo_region_start->border_start_style, depth); fo_object_debug_dump (fo_region_start->border_start_width, depth); fo_object_debug_dump (fo_region_start->border_top_color, depth); fo_object_debug_dump (fo_region_start->border_top_style, depth); fo_object_debug_dump (fo_region_start->border_top_width, depth); fo_object_debug_dump (fo_region_start->clip, depth); fo_object_debug_dump (fo_region_start->display_align, depth); fo_object_debug_dump (fo_region_start->extent, depth); fo_object_debug_dump (fo_region_start->overflow, depth); fo_object_debug_dump (fo_region_start->padding_after, depth); fo_object_debug_dump (fo_region_start->padding_before, depth); fo_object_debug_dump (fo_region_start->padding_bottom, depth); fo_object_debug_dump (fo_region_start->padding_end, depth); fo_object_debug_dump (fo_region_start->padding_left, depth); fo_object_debug_dump (fo_region_start->padding_right, depth); fo_object_debug_dump (fo_region_start->padding_start, depth); fo_object_debug_dump (fo_region_start->padding_top, depth); fo_object_debug_dump (fo_region_start->region_name, depth); fo_object_debug_dump (fo_region_start->writing_mode, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_region_start_get_background_color: * @fo_fo: The @FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty* fo_region_start_get_background_color (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->background_color; } /** * fo_region_start_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_region_start_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_region_start->background_color != NULL) { g_object_unref (fo_region_start->background_color); } fo_region_start->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_region_start), "background-color");*/ } /** * fo_region_start_get_background_image: * @fo_fo: The @FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty* fo_region_start_get_background_image (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->background_image; } /** * fo_region_start_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_region_start_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_region_start->background_image != NULL) { g_object_unref (fo_region_start->background_image); } fo_region_start->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_region_start), "background-image");*/ } /** * fo_region_start_get_border_after_color: * @fo_fo: The @FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty* fo_region_start_get_border_after_color (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_after_color; } /** * fo_region_start_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_region_start_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_region_start->border_after_color != NULL) { g_object_unref (fo_region_start->border_after_color); } fo_region_start->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_region_start), "border-after-color");*/ } /** * fo_region_start_get_border_after_style: * @fo_fo: The @FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty* fo_region_start_get_border_after_style (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_after_style; } /** * fo_region_start_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_region_start_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_region_start->border_after_style != NULL) { g_object_unref (fo_region_start->border_after_style); } fo_region_start->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_region_start), "border-after-style");*/ } /** * fo_region_start_get_border_after_width: * @fo_fo: The @FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty* fo_region_start_get_border_after_width (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_after_width; } /** * fo_region_start_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_region_start_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_region_start->border_after_width != NULL) { g_object_unref (fo_region_start->border_after_width); } fo_region_start->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_region_start), "border-after-width");*/ } /** * fo_region_start_get_border_before_color: * @fo_fo: The @FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty* fo_region_start_get_border_before_color (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_before_color; } /** * fo_region_start_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_region_start_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_region_start->border_before_color != NULL) { g_object_unref (fo_region_start->border_before_color); } fo_region_start->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_region_start), "border-before-color");*/ } /** * fo_region_start_get_border_before_style: * @fo_fo: The @FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty* fo_region_start_get_border_before_style (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_before_style; } /** * fo_region_start_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_region_start_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_region_start->border_before_style != NULL) { g_object_unref (fo_region_start->border_before_style); } fo_region_start->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_region_start), "border-before-style");*/ } /** * fo_region_start_get_border_before_width: * @fo_fo: The @FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty* fo_region_start_get_border_before_width (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_before_width; } /** * fo_region_start_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_region_start_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_region_start->border_before_width != NULL) { g_object_unref (fo_region_start->border_before_width); } fo_region_start->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_region_start), "border-before-width");*/ } /** * fo_region_start_get_border_bottom_color: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty* fo_region_start_get_border_bottom_color (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_bottom_color; } /** * fo_region_start_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_region_start_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_region_start->border_bottom_color != NULL) { g_object_unref (fo_region_start->border_bottom_color); } fo_region_start->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_region_start), "border-bottom-color");*/ } /** * fo_region_start_get_border_bottom_style: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty* fo_region_start_get_border_bottom_style (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_bottom_style; } /** * fo_region_start_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_region_start_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_region_start->border_bottom_style != NULL) { g_object_unref (fo_region_start->border_bottom_style); } fo_region_start->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_region_start), "border-bottom-style");*/ } /** * fo_region_start_get_border_bottom_width: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty* fo_region_start_get_border_bottom_width (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_bottom_width; } /** * fo_region_start_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_region_start_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_region_start->border_bottom_width != NULL) { g_object_unref (fo_region_start->border_bottom_width); } fo_region_start->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_region_start), "border-bottom-width");*/ } /** * fo_region_start_get_border_end_color: * @fo_fo: The @FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty* fo_region_start_get_border_end_color (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_end_color; } /** * fo_region_start_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_region_start_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_region_start->border_end_color != NULL) { g_object_unref (fo_region_start->border_end_color); } fo_region_start->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_region_start), "border-end-color");*/ } /** * fo_region_start_get_border_end_style: * @fo_fo: The @FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty* fo_region_start_get_border_end_style (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_end_style; } /** * fo_region_start_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_region_start_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_region_start->border_end_style != NULL) { g_object_unref (fo_region_start->border_end_style); } fo_region_start->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_region_start), "border-end-style");*/ } /** * fo_region_start_get_border_end_width: * @fo_fo: The @FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty* fo_region_start_get_border_end_width (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_end_width; } /** * fo_region_start_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_region_start_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_region_start->border_end_width != NULL) { g_object_unref (fo_region_start->border_end_width); } fo_region_start->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_region_start), "border-end-width");*/ } /** * fo_region_start_get_border_left_color: * @fo_fo: The @FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty* fo_region_start_get_border_left_color (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_left_color; } /** * fo_region_start_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_region_start_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_region_start->border_left_color != NULL) { g_object_unref (fo_region_start->border_left_color); } fo_region_start->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_region_start), "border-left-color");*/ } /** * fo_region_start_get_border_left_style: * @fo_fo: The @FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty* fo_region_start_get_border_left_style (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_left_style; } /** * fo_region_start_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_region_start_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_region_start->border_left_style != NULL) { g_object_unref (fo_region_start->border_left_style); } fo_region_start->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_region_start), "border-left-style");*/ } /** * fo_region_start_get_border_left_width: * @fo_fo: The @FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty* fo_region_start_get_border_left_width (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_left_width; } /** * fo_region_start_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_region_start_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_region_start->border_left_width != NULL) { g_object_unref (fo_region_start->border_left_width); } fo_region_start->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_region_start), "border-left-width");*/ } /** * fo_region_start_get_border_right_color: * @fo_fo: The @FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty* fo_region_start_get_border_right_color (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_right_color; } /** * fo_region_start_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_region_start_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_region_start->border_right_color != NULL) { g_object_unref (fo_region_start->border_right_color); } fo_region_start->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_region_start), "border-right-color");*/ } /** * fo_region_start_get_border_right_style: * @fo_fo: The @FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty* fo_region_start_get_border_right_style (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_right_style; } /** * fo_region_start_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_region_start_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_region_start->border_right_style != NULL) { g_object_unref (fo_region_start->border_right_style); } fo_region_start->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_region_start), "border-right-style");*/ } /** * fo_region_start_get_border_right_width: * @fo_fo: The @FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty* fo_region_start_get_border_right_width (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_right_width; } /** * fo_region_start_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_region_start_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_region_start->border_right_width != NULL) { g_object_unref (fo_region_start->border_right_width); } fo_region_start->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_region_start), "border-right-width");*/ } /** * fo_region_start_get_border_start_color: * @fo_fo: The @FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty* fo_region_start_get_border_start_color (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_start_color; } /** * fo_region_start_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_region_start_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_region_start->border_start_color != NULL) { g_object_unref (fo_region_start->border_start_color); } fo_region_start->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_region_start), "border-start-color");*/ } /** * fo_region_start_get_border_start_style: * @fo_fo: The @FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty* fo_region_start_get_border_start_style (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_start_style; } /** * fo_region_start_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_region_start_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_region_start->border_start_style != NULL) { g_object_unref (fo_region_start->border_start_style); } fo_region_start->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_region_start), "border-start-style");*/ } /** * fo_region_start_get_border_start_width: * @fo_fo: The @FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty* fo_region_start_get_border_start_width (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_start_width; } /** * fo_region_start_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_region_start_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_region_start->border_start_width != NULL) { g_object_unref (fo_region_start->border_start_width); } fo_region_start->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_region_start), "border-start-width");*/ } /** * fo_region_start_get_border_top_color: * @fo_fo: The @FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty* fo_region_start_get_border_top_color (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_top_color; } /** * fo_region_start_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_region_start_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_region_start->border_top_color != NULL) { g_object_unref (fo_region_start->border_top_color); } fo_region_start->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_region_start), "border-top-color");*/ } /** * fo_region_start_get_border_top_style: * @fo_fo: The @FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty* fo_region_start_get_border_top_style (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_top_style; } /** * fo_region_start_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_region_start_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_region_start->border_top_style != NULL) { g_object_unref (fo_region_start->border_top_style); } fo_region_start->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_region_start), "border-top-style");*/ } /** * fo_region_start_get_border_top_width: * @fo_fo: The @FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty* fo_region_start_get_border_top_width (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->border_top_width; } /** * fo_region_start_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_region_start_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_region_start->border_top_width != NULL) { g_object_unref (fo_region_start->border_top_width); } fo_region_start->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_region_start), "border-top-width");*/ } /** * fo_region_start_get_clip: * @fo_fo: The @FoFo object. * * Gets the "clip" property of @fo_fo. * * Return value: The "clip" property value. **/ FoProperty* fo_region_start_get_clip (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->clip; } /** * fo_region_start_set_clip: * @fo_fo: The #FoFo object. * @new_clip: The new "clip" property value. * * Sets the "clip" property of @fo_fo to @new_clip. **/ void fo_region_start_set_clip (FoFo *fo_fo, FoProperty *new_clip) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_CLIP (new_clip)); if (new_clip != NULL) { g_object_ref (new_clip); } if (fo_region_start->clip != NULL) { g_object_unref (fo_region_start->clip); } fo_region_start->clip = new_clip; /*g_object_notify (G_OBJECT (fo_region_start), "clip");*/ } /** * fo_region_start_get_display_align: * @fo_fo: The @FoFo object. * * Gets the "display-align" property of @fo_fo. * * Return value: The "display-align" property value. **/ FoProperty* fo_region_start_get_display_align (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->display_align; } /** * fo_region_start_set_display_align: * @fo_fo: The #FoFo object. * @new_display_align: The new "display-align" property value. * * Sets the "display-align" property of @fo_fo to @new_display_align. **/ void fo_region_start_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_region_start->display_align != NULL) { g_object_unref (fo_region_start->display_align); } fo_region_start->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_region_start), "display-align");*/ } /** * fo_region_start_get_extent: * @fo_fo: The @FoFo object. * * Gets the "extent" property of @fo_fo. * * Return value: The "extent" property value. **/ FoProperty* fo_region_start_get_extent (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->extent; } /** * fo_region_start_set_extent: * @fo_fo: The #FoFo object. * @new_extent: The new "extent" property value. * * Sets the "extent" property of @fo_fo to @new_extent. **/ void fo_region_start_set_extent (FoFo *fo_fo, FoProperty *new_extent) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_EXTENT (new_extent)); if (new_extent != NULL) { g_object_ref (new_extent); } if (fo_region_start->extent != NULL) { g_object_unref (fo_region_start->extent); } fo_region_start->extent = new_extent; /*g_object_notify (G_OBJECT (fo_region_start), "extent");*/ } /** * fo_region_start_get_overflow: * @fo_fo: The @FoFo object. * * Gets the "overflow" property of @fo_fo. * * Return value: The "overflow" property value. **/ FoProperty* fo_region_start_get_overflow (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->overflow; } /** * fo_region_start_set_overflow: * @fo_fo: The #FoFo object. * @new_overflow: The new "overflow" property value. * * Sets the "overflow" property of @fo_fo to @new_overflow. **/ void fo_region_start_set_overflow (FoFo *fo_fo, FoProperty *new_overflow) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_OVERFLOW (new_overflow)); if (new_overflow != NULL) { g_object_ref (new_overflow); } if (fo_region_start->overflow != NULL) { g_object_unref (fo_region_start->overflow); } fo_region_start->overflow = new_overflow; /*g_object_notify (G_OBJECT (fo_region_start), "overflow");*/ } /** * fo_region_start_get_padding_after: * @fo_fo: The @FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty* fo_region_start_get_padding_after (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->padding_after; } /** * fo_region_start_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_region_start_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_region_start->padding_after != NULL) { g_object_unref (fo_region_start->padding_after); } fo_region_start->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_region_start), "padding-after");*/ } /** * fo_region_start_get_padding_before: * @fo_fo: The @FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty* fo_region_start_get_padding_before (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->padding_before; } /** * fo_region_start_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_region_start_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_region_start->padding_before != NULL) { g_object_unref (fo_region_start->padding_before); } fo_region_start->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_region_start), "padding-before");*/ } /** * fo_region_start_get_padding_bottom: * @fo_fo: The @FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty* fo_region_start_get_padding_bottom (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->padding_bottom; } /** * fo_region_start_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_region_start_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_region_start->padding_bottom != NULL) { g_object_unref (fo_region_start->padding_bottom); } fo_region_start->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_region_start), "padding-bottom");*/ } /** * fo_region_start_get_padding_end: * @fo_fo: The @FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty* fo_region_start_get_padding_end (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->padding_end; } /** * fo_region_start_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_region_start_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_region_start->padding_end != NULL) { g_object_unref (fo_region_start->padding_end); } fo_region_start->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_region_start), "padding-end");*/ } /** * fo_region_start_get_padding_left: * @fo_fo: The @FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty* fo_region_start_get_padding_left (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->padding_left; } /** * fo_region_start_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_region_start_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_region_start->padding_left != NULL) { g_object_unref (fo_region_start->padding_left); } fo_region_start->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_region_start), "padding-left");*/ } /** * fo_region_start_get_padding_right: * @fo_fo: The @FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty* fo_region_start_get_padding_right (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->padding_right; } /** * fo_region_start_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_region_start_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_region_start->padding_right != NULL) { g_object_unref (fo_region_start->padding_right); } fo_region_start->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_region_start), "padding-right");*/ } /** * fo_region_start_get_padding_start: * @fo_fo: The @FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty* fo_region_start_get_padding_start (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->padding_start; } /** * fo_region_start_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_region_start_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_region_start->padding_start != NULL) { g_object_unref (fo_region_start->padding_start); } fo_region_start->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_region_start), "padding-start");*/ } /** * fo_region_start_get_padding_top: * @fo_fo: The @FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty* fo_region_start_get_padding_top (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->padding_top; } /** * fo_region_start_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_region_start_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_region_start->padding_top != NULL) { g_object_unref (fo_region_start->padding_top); } fo_region_start->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_region_start), "padding-top");*/ } /** * fo_region_start_get_region_name: * @fo_fo: The @FoFo object. * * Gets the "region-name" property of @fo_fo. * * Return value: The "region-name" property value. **/ FoProperty* fo_region_start_get_region_name (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->region_name; } /** * fo_region_start_set_region_name: * @fo_fo: The #FoFo object. * @new_region_name: The new "region-name" property value. * * Sets the "region-name" property of @fo_fo to @new_region_name. **/ void fo_region_start_set_region_name (FoFo *fo_fo, FoProperty *new_region_name) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_REGION_NAME (new_region_name)); if (new_region_name != NULL) { g_object_ref (new_region_name); } if (fo_region_start->region_name != NULL) { g_object_unref (fo_region_start->region_name); } fo_region_start->region_name = new_region_name; /*g_object_notify (G_OBJECT (fo_region_start), "region-name");*/ } /** * fo_region_start_get_writing_mode: * @fo_fo: The @FoFo object. * * Gets the "writing-mode" property of @fo_fo. * * Return value: The "writing-mode" property value. **/ FoProperty* fo_region_start_get_writing_mode (FoFo *fo_fo) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_val_if_fail (fo_region_start != NULL, NULL); g_return_val_if_fail (FO_IS_REGION_START (fo_region_start), NULL); return fo_region_start->writing_mode; } /** * fo_region_start_set_writing_mode: * @fo_fo: The #FoFo object. * @new_writing_mode: The new "writing-mode" property value. * * Sets the "writing-mode" property of @fo_fo to @new_writing_mode. **/ void fo_region_start_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode) { FoRegionStart *fo_region_start = (FoRegionStart *) fo_fo; g_return_if_fail (fo_region_start != NULL); g_return_if_fail (FO_IS_REGION_START (fo_region_start)); g_return_if_fail (FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_region_start->writing_mode != NULL) { g_object_unref (fo_region_start->writing_mode); } fo_region_start->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_region_start), "writing-mode");*/ } xmlroff-0.6.2/libfo/fo/fo-region-start.h0000644000175000017500000002426610643167376015034 00000000000000/* Fo * fo-region-start.h: 'region-start' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_START_H__ #define __FO_REGION_START_H__ #include #include #include G_BEGIN_DECLS /** * FoRegionStart: * * Instance of the 'region-start' formatting object. **/ typedef struct _FoRegionStart FoRegionStart; /** * FoRegionStartClass: * * Class structure for the 'region-start' formatting object. **/ typedef struct _FoRegionStartClass FoRegionStartClass; #define FO_TYPE_REGION_START (fo_region_start_get_type ()) #define FO_REGION_START(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_REGION_START, FoRegionStart)) #define FO_REGION_START_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_REGION_START, FoRegionStartClass)) #define FO_IS_REGION_START(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_REGION_START)) #define FO_IS_REGION_START_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_REGION_START)) #define FO_REGION_START_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_REGION_START, FoRegionStartClass)) GType fo_region_start_get_type (void) G_GNUC_CONST; FoFo * fo_region_start_new (void); FoProperty * fo_region_start_get_background_color (FoFo *fo_fo); void fo_region_start_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_region_start_get_background_image (FoFo *fo_fo); void fo_region_start_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_region_start_get_border_after_color (FoFo *fo_fo); void fo_region_start_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_region_start_get_border_after_style (FoFo *fo_fo); void fo_region_start_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_region_start_get_border_after_width (FoFo *fo_fo); void fo_region_start_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_region_start_get_border_before_color (FoFo *fo_fo); void fo_region_start_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_region_start_get_border_before_style (FoFo *fo_fo); void fo_region_start_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_region_start_get_border_before_width (FoFo *fo_fo); void fo_region_start_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_region_start_get_border_bottom_color (FoFo *fo_fo); void fo_region_start_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_region_start_get_border_bottom_style (FoFo *fo_fo); void fo_region_start_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_region_start_get_border_bottom_width (FoFo *fo_fo); void fo_region_start_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_region_start_get_border_end_color (FoFo *fo_fo); void fo_region_start_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_region_start_get_border_end_style (FoFo *fo_fo); void fo_region_start_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_region_start_get_border_end_width (FoFo *fo_fo); void fo_region_start_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_region_start_get_border_left_color (FoFo *fo_fo); void fo_region_start_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_region_start_get_border_left_style (FoFo *fo_fo); void fo_region_start_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_region_start_get_border_left_width (FoFo *fo_fo); void fo_region_start_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_region_start_get_border_right_color (FoFo *fo_fo); void fo_region_start_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_region_start_get_border_right_style (FoFo *fo_fo); void fo_region_start_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_region_start_get_border_right_width (FoFo *fo_fo); void fo_region_start_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_region_start_get_border_start_color (FoFo *fo_fo); void fo_region_start_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_region_start_get_border_start_style (FoFo *fo_fo); void fo_region_start_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_region_start_get_border_start_width (FoFo *fo_fo); void fo_region_start_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_region_start_get_border_top_color (FoFo *fo_fo); void fo_region_start_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_region_start_get_border_top_style (FoFo *fo_fo); void fo_region_start_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_region_start_get_border_top_width (FoFo *fo_fo); void fo_region_start_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_region_start_get_clip (FoFo *fo_fo); void fo_region_start_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty * fo_region_start_get_display_align (FoFo *fo_fo); void fo_region_start_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty * fo_region_start_get_extent (FoFo *fo_fo); void fo_region_start_set_extent (FoFo *fo_fo, FoProperty *new_extent); FoProperty * fo_region_start_get_overflow (FoFo *fo_fo); void fo_region_start_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty * fo_region_start_get_padding_after (FoFo *fo_fo); void fo_region_start_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_region_start_get_padding_before (FoFo *fo_fo); void fo_region_start_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_region_start_get_padding_bottom (FoFo *fo_fo); void fo_region_start_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_region_start_get_padding_end (FoFo *fo_fo); void fo_region_start_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_region_start_get_padding_left (FoFo *fo_fo); void fo_region_start_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_region_start_get_padding_right (FoFo *fo_fo); void fo_region_start_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_region_start_get_padding_start (FoFo *fo_fo); void fo_region_start_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_region_start_get_padding_top (FoFo *fo_fo); void fo_region_start_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_region_start_get_region_name (FoFo *fo_fo); void fo_region_start_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty * fo_region_start_get_writing_mode (FoFo *fo_fo); void fo_region_start_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); G_END_DECLS #endif /* !__FO_REGION_START_H__ */ xmlroff-0.6.2/libfo/fo/fo-region-start-private.h0000644000175000017500000000343510643167375016476 00000000000000/* Fo * fo-region-start-private.h: Structures private to 'region-start' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REGION_START_PRIVATE_H__ #define __FO_REGION_START_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoRegionStart { FoFo parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *clip; FoProperty *display_align; FoProperty *extent; FoProperty *overflow; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *region_name; FoProperty *writing_mode; }; struct _FoRegionStartClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_REGION_START_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-repeatable-page-master-alternatives.c0000644000175000017500000002125010660107744021375 00000000000000/* Fo * fo-repeatable-page-master-alternatives.c: 'repeatable-page-master-alternatives' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-repeatable-page-master-alternatives-private.h" #include "fo/fo-conditional-page-master-reference.h" static void fo_repeatable_page_master_alternatives_class_init (FoRepeatablePageMasterAlternativesClass *klass); static void fo_repeatable_page_master_alternatives_finalize (GObject *object); static gboolean fo_repeatable_page_master_alternatives_validate_content (FoFo *fo, GError **error); static void fo_repeatable_page_master_alternatives_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_repeatable_page_master_alternatives_update_from_context (FoFo *fo, FoContext *context); static void fo_repeatable_page_master_alternatives_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_repeatable_page_master_alternatives_get_type: * * Register the #FoRepeatablePageMasterAlternatives object type. * * Return value: #GType value of the #FoRepeatablePageMasterAlternatives object type. **/ GType fo_repeatable_page_master_alternatives_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRepeatablePageMasterAlternativesClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_repeatable_page_master_alternatives_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoRepeatablePageMasterAlternatives), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoRepeatablePageMasterAlternatives", &object_info, 0); } return object_type; } /** * fo_repeatable_page_master_alternatives_class_init: * @klass: #FoRepeatablePageMasterAlternativesClass object to initialise. * * Implements #GClassInitFunc for #FoRepeatablePageMasterAlternativesClass. **/ void fo_repeatable_page_master_alternatives_class_init (FoRepeatablePageMasterAlternativesClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_repeatable_page_master_alternatives_finalize; fofo_class->validate_content = fo_repeatable_page_master_alternatives_validate_content; fofo_class->validate2 = fo_repeatable_page_master_alternatives_validate; fofo_class->update_from_context = fo_repeatable_page_master_alternatives_update_from_context; fofo_class->debug_dump_properties = fo_repeatable_page_master_alternatives_debug_dump_properties; } /** * fo_repeatable_page_master_alternatives_finalize: * @object: #FoRepeatablePageMasterAlternatives object to finalize. * * Implements #GObjectFinalizeFunc for #FoRepeatablePageMasterAlternatives. **/ void fo_repeatable_page_master_alternatives_finalize (GObject *object) { FoRepeatablePageMasterAlternatives *fo_repeatable_page_master_alternatives; fo_repeatable_page_master_alternatives = FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_repeatable_page_master_alternatives_new: * * Creates a new #FoRepeatablePageMasterAlternatives initialized to default value. * * Return value: the new #FoRepeatablePageMasterAlternatives. **/ FoFo* fo_repeatable_page_master_alternatives_new (void) { return FO_FO (g_object_new (fo_repeatable_page_master_alternatives_get_type (), NULL)); } /** * fo_repeatable_page_master_alternatives_validate_content: * @fo: #FoRepeatablePageMasterAlternatives object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_repeatable_page_master_alternatives_validate_content (FoFo *fo, GError **error) { GError *tmp_error = NULL; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_ALTERNATIVES (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); FoNode *child_node = fo_node_first_child (FO_NODE (fo)); while (child_node) { if (FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE (child_node)) { child_node = fo_node_next_sibling (child_node); } else { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } } return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_repeatable_page_master_alternatives_validate: * @fo: #FoRepeatablePageMasterAlternatives object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_repeatable_page_master_alternatives_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoRepeatablePageMasterAlternatives *fo_repeatable_page_master_alternatives; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_ALTERNATIVES (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_repeatable_page_master_alternatives = FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_repeatable_page_master_alternatives_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_repeatable_page_master_alternatives_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_ALTERNATIVES (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); } /** * fo_repeatable_page_master_alternatives_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_repeatable_page_master_alternatives_debug_dump_properties (FoFo *fo, gint depth) { FoRepeatablePageMasterAlternatives *fo_repeatable_page_master_alternatives; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_ALTERNATIVES (fo)); fo_repeatable_page_master_alternatives = FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES (fo); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "(No properties)"); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-repeatable-page-master-alternatives.h0000644000175000017500000000344210643167376021415 00000000000000/* Fo * fo-repeatable-page-master-alternatives.h: 'repeatable-page-master-alternatives' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_H__ #define __FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_H__ #include #include G_BEGIN_DECLS typedef struct _FoRepeatablePageMasterAlternatives FoRepeatablePageMasterAlternatives; typedef struct _FoRepeatablePageMasterAlternativesClass FoRepeatablePageMasterAlternativesClass; #define FO_TYPE_REPEATABLE_PAGE_MASTER_ALTERNATIVES (fo_repeatable_page_master_alternatives_get_type ()) #define FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_REPEATABLE_PAGE_MASTER_ALTERNATIVES, FoRepeatablePageMasterAlternatives)) #define FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_REPEATABLE_PAGE_MASTER_ALTERNATIVES, FoRepeatablePageMasterAlternativesClass)) #define FO_IS_REPEATABLE_PAGE_MASTER_ALTERNATIVES(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_REPEATABLE_PAGE_MASTER_ALTERNATIVES)) #define FO_IS_REPEATABLE_PAGE_MASTER_ALTERNATIVES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_REPEATABLE_PAGE_MASTER_ALTERNATIVES)) #define FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_REPEATABLE_PAGE_MASTER_ALTERNATIVES, FoRepeatablePageMasterAlternativesClass)) GType fo_repeatable_page_master_alternatives_get_type (void) G_GNUC_CONST; FoFo * fo_repeatable_page_master_alternatives_new (void); G_END_DECLS #endif /* !__FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_H__ */ xmlroff-0.6.2/libfo/fo/fo-repeatable-page-master-alternatives-private.h0000644000175000017500000000136310643167376023065 00000000000000/* Fo * fo-repeatable-page-master-alternatives-private.h: Structures private to 'repeatable-page-master-alternatives' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_PRIVATE_H__ #define __FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoRepeatablePageMasterAlternatives { FoFo parent_instance; }; struct _FoRepeatablePageMasterAlternativesClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-repeatable-page-master-reference.c0000644000175000017500000003151310660107744020635 00000000000000/* Fo * fo-repeatable-page-master-reference.c: 'repeatable-page-master-reference' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-repeatable-page-master-reference-private.h" #include "property/fo-property-master-reference.h" enum { PROP_0, PROP_MASTER_REFERENCE }; static void fo_repeatable_page_master_reference_class_init (FoRepeatablePageMasterReferenceClass *klass); static void fo_repeatable_page_master_reference_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_repeatable_page_master_reference_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_repeatable_page_master_reference_finalize (GObject *object); static gboolean fo_repeatable_page_master_reference_validate_content (FoFo *fo, GError **error); static void fo_repeatable_page_master_reference_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_repeatable_page_master_reference_update_from_context (FoFo *fo, FoContext *context); static void fo_repeatable_page_master_reference_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_repeatable_page_master_reference_get_type: * * Register the #FoRepeatablePageMasterReference object type. * * Return value: #GType value of the #FoRepeatablePageMasterReference object type. **/ GType fo_repeatable_page_master_reference_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRepeatablePageMasterReferenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_repeatable_page_master_reference_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoRepeatablePageMasterReference), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoRepeatablePageMasterReference", &object_info, 0); } return object_type; } /** * fo_repeatable_page_master_reference_class_init: * @klass: #FoRepeatablePageMasterReferenceClass object to initialise. * * Implements #GClassInitFunc for #FoRepeatablePageMasterReferenceClass. **/ void fo_repeatable_page_master_reference_class_init (FoRepeatablePageMasterReferenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_repeatable_page_master_reference_finalize; object_class->get_property = fo_repeatable_page_master_reference_get_property; object_class->set_property = fo_repeatable_page_master_reference_set_property; fofo_class->validate_content = fo_repeatable_page_master_reference_validate_content; fofo_class->validate2 = fo_repeatable_page_master_reference_validate; fofo_class->update_from_context = fo_repeatable_page_master_reference_update_from_context; fofo_class->debug_dump_properties = fo_repeatable_page_master_reference_debug_dump_properties; g_object_class_install_property (object_class, PROP_MASTER_REFERENCE, g_param_spec_object ("master-reference", _("Master Reference"), _("Master Reference property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_repeatable_page_master_reference_finalize: * @object: #FoRepeatablePageMasterReference object to finalize. * * Implements #GObjectFinalizeFunc for #FoRepeatablePageMasterReference. **/ void fo_repeatable_page_master_reference_finalize (GObject *object) { FoRepeatablePageMasterReference *fo_repeatable_page_master_reference; fo_repeatable_page_master_reference = FO_REPEATABLE_PAGE_MASTER_REFERENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_repeatable_page_master_reference_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoRepeatablePageMasterReference. **/ void fo_repeatable_page_master_reference_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MASTER_REFERENCE: g_value_set_object (value, G_OBJECT (fo_repeatable_page_master_reference_get_master_reference (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_repeatable_page_master_reference_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoRepeatablePageMasterReference. **/ void fo_repeatable_page_master_reference_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MASTER_REFERENCE: fo_repeatable_page_master_reference_set_master_reference (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_repeatable_page_master_reference_new: * * Creates a new #FoRepeatablePageMasterReference initialized to default value. * * Return value: the new #FoRepeatablePageMasterReference. **/ FoFo* fo_repeatable_page_master_reference_new (void) { return FO_FO (g_object_new (fo_repeatable_page_master_reference_get_type (), NULL)); } /** * fo_repeatable_page_master_reference_validate_content: * @fo: #FoRepeatablePageMasterReference object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_repeatable_page_master_reference_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_repeatable_page_master_reference_validate: * @fo: #FoRepeatablePageMasterReference object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_repeatable_page_master_reference_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoRepeatablePageMasterReference *fo_repeatable_page_master_reference; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_repeatable_page_master_reference = FO_REPEATABLE_PAGE_MASTER_REFERENCE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_repeatable_page_master_reference_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_repeatable_page_master_reference_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_repeatable_page_master_reference_set_master_reference (fo, fo_context_get_master_reference (context)); } /** * fo_repeatable_page_master_reference_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_repeatable_page_master_reference_debug_dump_properties (FoFo *fo, gint depth) { FoRepeatablePageMasterReference *fo_repeatable_page_master_reference; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE (fo)); fo_repeatable_page_master_reference = FO_REPEATABLE_PAGE_MASTER_REFERENCE (fo); fo_object_debug_dump (fo_repeatable_page_master_reference->master_reference, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_repeatable_page_master_reference_get_master_reference: * @fo_fo: The @FoFo object. * * Gets the "master-reference" property of @fo_fo. * * Return value: The "master-reference" property value. **/ FoProperty* fo_repeatable_page_master_reference_get_master_reference (FoFo *fo_fo) { FoRepeatablePageMasterReference *fo_repeatable_page_master_reference = (FoRepeatablePageMasterReference *) fo_fo; g_return_val_if_fail (fo_repeatable_page_master_reference != NULL, NULL); g_return_val_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE (fo_repeatable_page_master_reference), NULL); return fo_repeatable_page_master_reference->master_reference; } /** * fo_repeatable_page_master_reference_set_master_reference: * @fo_fo: The #FoFo object * @new_master_reference: The new "master-reference" property value * * Sets the "master-reference" property of @fo_fo to @new_master_reference **/ void fo_repeatable_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference) { FoRepeatablePageMasterReference *fo_repeatable_page_master_reference = (FoRepeatablePageMasterReference *) fo_fo; g_return_if_fail (fo_repeatable_page_master_reference != NULL); g_return_if_fail (FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE (fo_repeatable_page_master_reference)); g_return_if_fail (FO_IS_PROPERTY_MASTER_REFERENCE (new_master_reference)); if (new_master_reference != NULL) { g_object_ref (new_master_reference); } if (fo_repeatable_page_master_reference->master_reference != NULL) { g_object_unref (fo_repeatable_page_master_reference->master_reference); } fo_repeatable_page_master_reference->master_reference = new_master_reference; /*g_object_notify (G_OBJECT (fo_repeatable_page_master_reference), "master-reference");*/ } xmlroff-0.6.2/libfo/fo/fo-repeatable-page-master-reference.h0000644000175000017500000000403310643167375020646 00000000000000/* Fo * fo-repeatable-page-master-reference.h: 'repeatable-page-master-reference' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REPEATABLE_PAGE_MASTER_REFERENCE_H__ #define __FO_REPEATABLE_PAGE_MASTER_REFERENCE_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoRepeatablePageMasterReference FoRepeatablePageMasterReference; typedef struct _FoRepeatablePageMasterReferenceClass FoRepeatablePageMasterReferenceClass; #define FO_TYPE_REPEATABLE_PAGE_MASTER_REFERENCE (fo_repeatable_page_master_reference_get_type ()) #define FO_REPEATABLE_PAGE_MASTER_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_REPEATABLE_PAGE_MASTER_REFERENCE, FoRepeatablePageMasterReference)) #define FO_REPEATABLE_PAGE_MASTER_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_REPEATABLE_PAGE_MASTER_REFERENCE, FoRepeatablePageMasterReferenceClass)) #define FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_REPEATABLE_PAGE_MASTER_REFERENCE)) #define FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_REPEATABLE_PAGE_MASTER_REFERENCE)) #define FO_REPEATABLE_PAGE_MASTER_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_REPEATABLE_PAGE_MASTER_REFERENCE, FoRepeatablePageMasterReferenceClass)) GType fo_repeatable_page_master_reference_get_type (void) G_GNUC_CONST; FoFo * fo_repeatable_page_master_reference_new (void); FoProperty * fo_repeatable_page_master_reference_get_master_reference (FoFo *fo_fo); void fo_repeatable_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); G_END_DECLS #endif /* !__FO_REPEATABLE_PAGE_MASTER_REFERENCE_H__ */ xmlroff-0.6.2/libfo/fo/fo-repeatable-page-master-reference-private.h0000644000175000017500000000137410643167376022324 00000000000000/* Fo * fo-repeatable-page-master-reference-private.h: Structures private to 'repeatable-page-master-reference' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_REPEATABLE_PAGE_MASTER_REFERENCE_PRIVATE_H__ #define __FO_REPEATABLE_PAGE_MASTER_REFERENCE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoRepeatablePageMasterReference { FoFo parent_instance; FoProperty *master_reference; }; struct _FoRepeatablePageMasterReferenceClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_REPEATABLE_PAGE_MASTER_REFERENCE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-retrieve-marker.c0000644000175000017500000001104110646233367015475 00000000000000/* Fo * fo-retrieve_marker.c: Retrieve Marker formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-neutral-fo.h" #include "fo-retrieve-marker.h" enum { PROP_0 }; struct _FoRetrieveMarker { FoFo parent_instance; }; struct _FoRetrieveMarkerClass { FoFoClass parent_class; }; static void fo_retrieve_marker_class_init (FoRetrieveMarkerClass *klass); static void fo_retrieve_marker_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_retrieve_marker_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_retrieve_marker_finalize (GObject *object); static void fo_retrieve_marker_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; GType fo_retrieve_marker_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRetrieveMarkerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_retrieve_marker_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoRetrieveMarker), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_neutral_fo_info = { NULL, NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoRetrieveMarker", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_NEUTRAL_FO, &fo_neutral_fo_info); } return object_type; } static void fo_retrieve_marker_class_init (FoRetrieveMarkerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_retrieve_marker_finalize; object_class->set_property = fo_retrieve_marker_set_property; object_class->get_property = fo_retrieve_marker_get_property; FO_FO_CLASS (klass)->debug_dump_properties = fo_retrieve_marker_debug_dump_properties; FO_FO_CLASS (klass)->update_from_context = fo_retrieve_marker_update_from_context; } static void fo_retrieve_marker_finalize (GObject *object) { FoRetrieveMarker *fo_retrieve_marker; fo_retrieve_marker = FO_RETRIEVE_MARKER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } static void fo_retrieve_marker_set_property (GObject *object, guint prop_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { FoRetrieveMarker *fo_retrieve_marker; fo_retrieve_marker = FO_RETRIEVE_MARKER (object); switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void fo_retrieve_marker_get_property (GObject *object, guint prop_id, GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { FoRetrieveMarker *fo_retrieve_marker; fo_retrieve_marker = FO_RETRIEVE_MARKER (object); switch (prop_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_retrieve_marker_new: * * Creates a new #FoRetrieveMarker initialized to default value. * * Return value: the new #FoRetrieveMarker **/ FoFo* fo_retrieve_marker_new (void) { return FO_FO (g_object_new (fo_retrieve_marker_get_type (), NULL)); } void fo_retrieve_marker_update_from_context (FoFo *fo, FoContext *context G_GNUC_UNUSED) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_RETRIEVE_MARKER (fo)); } void fo_retrieve_marker_debug_dump_properties (FoFo *fo, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_RETRIEVE_MARKER (fo)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s(No properties)", indent); g_free (indent); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-retrieve-marker.h0000644000175000017500000000255610643167376015520 00000000000000/* Fo * fo-retrieve_marker.h: Retrieve Marker formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_RETRIEVE_MARKER_H__ #define __FO_RETRIEVE_MARKER_H__ #include #include G_BEGIN_DECLS typedef struct _FoRetrieveMarker FoRetrieveMarker; typedef struct _FoRetrieveMarkerClass FoRetrieveMarkerClass; #define FO_TYPE_RETRIEVE_MARKER (fo_retrieve_marker_get_type ()) #define FO_RETRIEVE_MARKER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_RETRIEVE_MARKER, FoRetrieveMarker)) #define FO_RETRIEVE_MARKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_RETRIEVE_MARKER, FoRetrieveMarkerClass)) #define FO_IS_RETRIEVE_MARKER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_RETRIEVE_MARKER)) #define FO_IS_RETRIEVE_MARKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_RETRIEVE_MARKER)) #define FO_RETRIEVE_MARKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_RETRIEVE_MARKER, FoRetrieveMarkerClass)) GType fo_retrieve_marker_get_type (void) G_GNUC_CONST; FoFo *fo_retrieve_marker_new (void); void fo_retrieve_marker_update_from_context (FoFo *fo, FoContext *context); G_END_DECLS #endif /* !__FO_RETRIEVE_MARKER_H__ */ xmlroff-0.6.2/libfo/fo/fo-root.c0000644000175000017500000003036611062230121013341 00000000000000/* Fo * fo-root.c: 'root' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-root-private.h" #include "fo/fo-layout-master-set.h" #include "fo/fo-declarations.h" #include "fo/fo-page-sequence.h" #include "property/fo-property-media-usage.h" /** * SECTION:fo-root * @short_description: 'root' formatting object * * Definition: http://www.w3.org/TR/xsl11/#fo_root */ enum { PROP_0, PROP_MEDIA_USAGE }; static void fo_root_class_init (FoRootClass *klass); static void fo_root_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_root_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_root_finalize (GObject *object); static gboolean fo_root_validate_content (FoFo *fo, GError **error); static void fo_root_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_root_update_from_context (FoFo *fo, FoContext *context); static void fo_root_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_root_get_type: * * Register the #FoRoot object type. * * Return value: #GType value of the #FoRoot object type. **/ GType fo_root_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRootClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_root_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoRoot), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoRoot", &object_info, 0); } return object_type; } /** * fo_root_class_init: * @klass: #FoRootClass object to initialise. * * Implements #GClassInitFunc for #FoRootClass. **/ void fo_root_class_init (FoRootClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_root_finalize; object_class->get_property = fo_root_get_property; object_class->set_property = fo_root_set_property; fofo_class->validate_content = fo_root_validate_content; fofo_class->validate2 = fo_root_validate; fofo_class->update_from_context = fo_root_update_from_context; fofo_class->debug_dump_properties = fo_root_debug_dump_properties; g_object_class_install_property (object_class, PROP_MEDIA_USAGE, g_param_spec_object ("media-usage", _("Media Usage"), _("Media Usage property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_root_finalize: * @object: #FoRoot object to finalize. * * Implements #GObjectFinalizeFunc for #FoRoot. **/ void fo_root_finalize (GObject *object) { FoFo *fo = FO_FO (object); /* Release references to all property objects. */ fo_root_set_media_usage (fo, NULL); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_root_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoRoot. **/ void fo_root_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MEDIA_USAGE: g_value_set_object (value, G_OBJECT (fo_root_get_media_usage (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_root_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoRoot. **/ void fo_root_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MEDIA_USAGE: fo_root_set_media_usage (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_root_new: * * Creates a new #FoRoot initialized to default value. * * Return value: the new #FoRoot. **/ FoFo* fo_root_new (void) { return FO_FO (g_object_new (fo_root_get_type (), NULL)); } /** * fo_root_validate_content: * @fo: #FoRoot object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_root_validate_content (FoFo *fo, GError **error) { FoNode *child_node; GError *tmp_error; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_ROOT (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_fo_trim_whitespace_children (fo); child_node = fo_node_first_child (FO_NODE (fo)); if (!FO_IS_LAYOUT_MASTER_SET (child_node)) goto error; while (child_node) { FoNode *next_child = fo_node_next_sibling (child_node); if (FO_IS_LAYOUT_MASTER_SET (child_node)) { if (FO_IS_DECLARATIONS (next_child) || FO_IS_PAGE_SEQUENCE (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_DECLARATIONS (child_node)) { if (FO_IS_PAGE_SEQUENCE (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_PAGE_SEQUENCE (child_node)) { if (!next_child || FO_IS_PAGE_SEQUENCE (next_child)) { child_node = next_child; } else { goto error; } } else { goto error; } } return FALSE; error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } static void fo_root_resolve_media_usage (FoFo *fo, FoContext *current_context) { FoProperty *media_usage = fo_context_get_media_usage (current_context); FoDatatype *datatype = NULL; if (media_usage != NULL) { datatype = fo_property_get_value (media_usage); } if (datatype == NULL) { FoDatatype *new_datatype = g_object_ref (fo_enum_get_enum_by_nick ("paginate")); FoProperty *new_media_usage = fo_property_media_usage_new (); fo_property_set_value (new_media_usage, datatype); fo_context_set_media_usage (current_context, new_media_usage); g_object_unref (new_datatype); } else if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if (value != FO_ENUM_ENUM_PAGINATE) { FoDatatype *new_datatype = g_object_ref (fo_enum_get_enum_by_nick ("paginate")); gchar *datatype_sprintf = fo_object_sprintf (datatype); gchar *new_datatype_sprintf = fo_object_sprintf (new_datatype); GError *datatype_warning = g_error_new (FO_FO_ERROR, FO_FO_ERROR_DATATYPE_REPLACE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE_REPLACE]), "media-usage", datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype)), new_datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (new_datatype))); fo_object_log_warning (FO_OBJECT (fo), &datatype_warning); g_free (datatype_sprintf); g_free (new_datatype_sprintf); fo_property_set_value (media_usage, datatype); g_object_unref (datatype); g_object_unref (new_datatype); } } } /** * fo_root_validate: * @fo: #FoRoot object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_root_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoRoot *fo_root; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_ROOT (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_root = FO_ROOT (fo); fo_root_resolve_media_usage (fo, current_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_root_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_root_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_ROOT (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_root_set_media_usage (fo, fo_context_get_media_usage (context)); } /** * fo_root_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_root_debug_dump_properties (FoFo *fo, gint depth) { FoRoot *fo_root; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_ROOT (fo)); fo_root = FO_ROOT (fo); fo_object_debug_dump (fo_root->media_usage, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_root_get_media_usage: * @fo_fo: The #FoFo object. * * Gets the "media-usage" property of @fo_fo. * * Return value: The "media-usage" property value. **/ FoProperty * fo_root_get_media_usage (FoFo *fo_fo) { FoRoot *fo_root = (FoRoot *) fo_fo; g_return_val_if_fail (fo_root != NULL, NULL); g_return_val_if_fail (FO_IS_ROOT (fo_root), NULL); return fo_root->media_usage; } /** * fo_root_set_media_usage: * @fo_fo: The #FoFo object. * @new_media_usage: The new "media-usage" property value. * * Sets the "media-usage" property of @fo_fo to @new_media_usage. **/ void fo_root_set_media_usage (FoFo *fo_fo, FoProperty *new_media_usage) { FoRoot *fo_root = (FoRoot *) fo_fo; g_return_if_fail (fo_root != NULL); g_return_if_fail (FO_IS_ROOT (fo_root)); g_return_if_fail ((new_media_usage == NULL) || FO_IS_PROPERTY_MEDIA_USAGE (new_media_usage)); if (new_media_usage != NULL) { g_object_ref (new_media_usage); } if (fo_root->media_usage != NULL) { g_object_unref (fo_root->media_usage); } fo_root->media_usage = new_media_usage; /*g_object_notify (G_OBJECT (fo_root), "media-usage");*/ } xmlroff-0.6.2/libfo/fo/fo-root.h0000644000175000017500000000235610643167376013375 00000000000000/* * Fo * fo-root.h: 'root' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_ROOT_H__ #define __FO_ROOT_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoRoot FoRoot; typedef struct _FoRootClass FoRootClass; #define FO_TYPE_ROOT (fo_root_get_type ()) #define FO_ROOT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_ROOT, FoRoot)) #define FO_ROOT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_ROOT, FoRootClass)) #define FO_IS_ROOT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_ROOT)) #define FO_IS_ROOT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_ROOT)) #define FO_ROOT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_ROOT, FoRootClass)) GType fo_root_get_type (void) G_GNUC_CONST; FoFo * fo_root_new (void); FoProperty * fo_root_get_media_usage (FoFo *fo_fo); void fo_root_set_media_usage (FoFo *fo_fo, FoProperty *new_media_usage); G_END_DECLS #endif /* !__FO_ROOT_H__ */ xmlroff-0.6.2/libfo/fo/fo-root-private.h0000644000175000017500000000103010643167376015031 00000000000000/* Fo * fo-root-private.h: Structures private to 'root' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_ROOT_PRIVATE_H__ #define __FO_ROOT_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoRoot { FoFo parent_instance; FoProperty *media_usage; }; struct _FoRootClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_ROOT_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-simple-page-master.c0000644000175000017500000011704410660107744016072 00000000000000/* Fo * fo-simple-page-master.c: 'simple-page-master' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-simple-page-master-private.h" #include "fo/fo-tree.h" #include "fo/fo-region-body.h" #include "fo/fo-region-before.h" #include "fo/fo-region-after.h" #include "fo/fo-region-start.h" #include "fo/fo-region-end.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-master-name.h" #include "property/fo-property-page-height.h" #include "property/fo-property-page-width.h" #include "property/fo-property-space-after.h" #include "property/fo-property-space-before.h" #include "property/fo-property-start-indent.h" #include "property/fo-property-writing-mode.h" enum { PROP_0, PROP_END_INDENT, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT, PROP_MARGIN_TOP, PROP_MASTER_NAME, PROP_PAGE_HEIGHT, PROP_PAGE_WIDTH, PROP_SPACE_AFTER, PROP_SPACE_BEFORE, PROP_START_INDENT, PROP_WRITING_MODE }; static void fo_simple_page_master_init (FoSimplePageMaster *fo_simple_page_master); static void fo_simple_page_master_class_init (FoSimplePageMasterClass *klass); static void fo_simple_page_master_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_simple_page_master_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_simple_page_master_finalize (GObject *object); static gboolean fo_simple_page_master_validate_content (FoFo *fo, GError **error); static void fo_simple_page_master_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_simple_page_master_update_from_context (FoFo *fo, FoContext *context); static void fo_simple_page_master_debug_dump_properties (FoFo *fo, gint depth); static void fo_simple_page_master_free_hash_key (gpointer key, gpointer value, gpointer user_data); static gpointer parent_class; /** * fo_simple_page_master_get_type: * * Register the #FoSimplePageMaster object type. * * Return value: #GType value of the #FoSimplePageMaster object type. **/ GType fo_simple_page_master_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoSimplePageMasterClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_simple_page_master_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoSimplePageMaster), 0, /* n_preallocs */ (GInstanceInitFunc) fo_simple_page_master_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoSimplePageMaster", &object_info, 0); } return object_type; } /** * fo_simple_page_master_init: * @fo_simple_page_master: FoSimplePageMaster object to initialise * * Implements GInstanceInitFunc for FoSimplePageMaster **/ void fo_simple_page_master_init (FoSimplePageMaster *fo_simple_page_master) { fo_simple_page_master->region_name_hash = g_hash_table_new (g_str_hash, g_str_equal); } /** * fo_simple_page_master_class_init: * @klass: #FoSimplePageMasterClass object to initialise. * * Implements #GClassInitFunc for #FoSimplePageMasterClass. **/ void fo_simple_page_master_class_init (FoSimplePageMasterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_simple_page_master_finalize; object_class->get_property = fo_simple_page_master_get_property; object_class->set_property = fo_simple_page_master_set_property; fofo_class->validate_content = fo_simple_page_master_validate_content; fofo_class->validate2 = fo_simple_page_master_validate; fofo_class->update_from_context = fo_simple_page_master_update_from_context; fofo_class->debug_dump_properties = fo_simple_page_master_debug_dump_properties; fofo_class->generate_reference_area = TRUE; g_object_class_install_property (object_class, PROP_END_INDENT, g_param_spec_object ("end-indent", _("End Indent"), _("End Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_object ("margin-bottom", _("Margin Bottom"), _("Margin Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_object ("margin-left", _("Margin Left"), _("Margin Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_object ("margin-right", _("Margin Right"), _("Margin Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_object ("margin-top", _("Margin Top"), _("Margin Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MASTER_NAME, g_param_spec_object ("master-name", _("Master Name"), _("Master Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PAGE_HEIGHT, g_param_spec_object ("page-height", _("Page Height"), _("Page Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PAGE_WIDTH, g_param_spec_object ("page-width", _("Page Width"), _("Page Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER, g_param_spec_object ("space-after", _("Space After"), _("Space After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE, g_param_spec_object ("space-before", _("Space Before"), _("Space Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_START_INDENT, g_param_spec_object ("start-indent", _("Start Indent"), _("Start Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_simple_page_master_finalize: * @object: #FoSimplePageMaster object to finalize. * * Implements #GObjectFinalizeFunc for #FoSimplePageMaster. **/ void fo_simple_page_master_finalize (GObject *object) { FoSimplePageMaster *fo_simple_page_master; fo_simple_page_master = FO_SIMPLE_PAGE_MASTER (object); g_hash_table_foreach (fo_simple_page_master->region_name_hash, fo_simple_page_master_free_hash_key, NULL); g_hash_table_destroy (fo_simple_page_master->region_name_hash); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_simple_page_master_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoSimplePageMaster. **/ void fo_simple_page_master_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_END_INDENT: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_end_indent (fo_fo))); break; case PROP_MARGIN_BOTTOM: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_margin_bottom (fo_fo))); break; case PROP_MARGIN_LEFT: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_margin_left (fo_fo))); break; case PROP_MARGIN_RIGHT: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_margin_right (fo_fo))); break; case PROP_MARGIN_TOP: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_margin_top (fo_fo))); break; case PROP_MASTER_NAME: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_master_name (fo_fo))); break; case PROP_PAGE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_page_height (fo_fo))); break; case PROP_PAGE_WIDTH: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_page_width (fo_fo))); break; case PROP_SPACE_AFTER: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_space_after (fo_fo))); break; case PROP_SPACE_BEFORE: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_space_before (fo_fo))); break; case PROP_START_INDENT: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_start_indent (fo_fo))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_simple_page_master_get_writing_mode (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_simple_page_master_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoSimplePageMaster. **/ void fo_simple_page_master_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_END_INDENT: fo_simple_page_master_set_end_indent (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_BOTTOM: fo_simple_page_master_set_margin_bottom (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_LEFT: fo_simple_page_master_set_margin_left (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_RIGHT: fo_simple_page_master_set_margin_right (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_TOP: fo_simple_page_master_set_margin_top (fo_fo, g_value_get_object (value)); break; case PROP_MASTER_NAME: fo_simple_page_master_set_master_name (fo_fo, g_value_get_object (value)); break; case PROP_PAGE_HEIGHT: fo_simple_page_master_set_page_height (fo_fo, g_value_get_object (value)); break; case PROP_PAGE_WIDTH: fo_simple_page_master_set_page_width (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_AFTER: fo_simple_page_master_set_space_after (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_BEFORE: fo_simple_page_master_set_space_before (fo_fo, g_value_get_object (value)); break; case PROP_START_INDENT: fo_simple_page_master_set_start_indent (fo_fo, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_simple_page_master_set_writing_mode (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_simple_page_master_new: * * Creates a new #FoSimplePageMaster initialized to default value. * * Return value: the new #FoSimplePageMaster. **/ FoFo* fo_simple_page_master_new (void) { return FO_FO (g_object_new (fo_simple_page_master_get_type (), NULL)); } /** * fo_simple_page_master_free_hash_key: * @key: The key * @value: The value (unused) * @user_data: Extra data (unused) * * Free a single hash key **/ static void fo_simple_page_master_free_hash_key (gpointer key, gpointer value G_GNUC_UNUSED, gpointer user_data G_GNUC_UNUSED) { g_free (key); } /** * fo_simple_page_master_region_name_add: * @simple_page_master: #FoSimplePageMaster * @name: Name of the page region * @fo: The page region object * * Add a page region object to the page region name/object hash * maintained by @simple_page_master. **/ void fo_simple_page_master_region_name_add (FoFo *simple_page_master, const gchar *name, FoFo *fo) { g_return_if_fail (simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (simple_page_master)); g_return_if_fail (name != NULL); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_FO (fo)); /* g_print ("Adding '%s'\n", name); */ if (g_hash_table_lookup (FO_SIMPLE_PAGE_MASTER (simple_page_master)->region_name_hash, name)) { g_warning ("'%s' already in master name hash.", name); } else { g_hash_table_insert (FO_SIMPLE_PAGE_MASTER (simple_page_master)->region_name_hash, g_strdup (name), fo); } } /** * fo_simple_page_master_region_name_get: * @simple_page_master: #FoSimplePageMaster that has hash of regions * @name: Name of page region * * Get the page region object for a page region name. * * Return value: Page region object **/ FoFo* fo_simple_page_master_region_name_get (FoFo *simple_page_master, const gchar *name) { g_return_val_if_fail (simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (simple_page_master), NULL); g_return_val_if_fail (name != NULL, NULL); return g_hash_table_lookup (FO_SIMPLE_PAGE_MASTER (simple_page_master)->region_name_hash, name); } /** * fo_simple_page_master_validate_content: * @fo: #FoSimplePageMaster object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Content model: (region-body, region-before?, region-after?, * region-start?, region-end?) * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_simple_page_master_validate_content (FoFo *fo, GError **error) { GError *tmp_error = NULL; FoNode *fo_node; FoNode *child_node; gint n_children; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_node = FO_NODE (fo); fo_fo_trim_whitespace_children (fo); n_children = fo_node_n_children (fo_node); if ((n_children < 1) || (n_children > 5)) { goto error; } child_node = fo_node_first_child (fo_node); if (!FO_IS_REGION_BODY (child_node)) goto error; while (child_node) { FoNode *next_child = fo_node_next_sibling (child_node); if (FO_IS_REGION_BODY (child_node)) { if (!next_child || FO_IS_REGION_BEFORE (next_child) || FO_IS_REGION_AFTER (next_child) || FO_IS_REGION_START (next_child) || FO_IS_REGION_END (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_REGION_BEFORE (child_node)) { if (!next_child || FO_IS_REGION_AFTER (next_child) || FO_IS_REGION_START (next_child) || FO_IS_REGION_END (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_REGION_AFTER (child_node)) { if (!next_child || FO_IS_REGION_START (next_child) || FO_IS_REGION_END (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_REGION_START (child_node)) { if (!next_child || FO_IS_REGION_END (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_REGION_END (child_node)) { if (!next_child) { child_node = next_child; } else { goto error; } } } return FALSE; error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } /** * fo_simple_page_master_validate: * @fo: #FoSimplePageMaster object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_simple_page_master_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoFo *tree; gchar *master_name; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); master_name = fo_name_get_value ( fo_property_get_value (fo_simple_page_master_get_master_name (fo))); tree = fo->tree; if (tree != NULL) { /* g_print ("Master name: %s\n", master_name); */ fo_tree_master_name_add (tree, master_name, fo); g_free (master_name); } else { g_assert_not_reached(); } } /** * fo_simple_page_master_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_simple_page_master_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_simple_page_master_set_end_indent (fo, fo_context_get_end_indent (context)); fo_simple_page_master_set_margin_bottom (fo, fo_context_get_margin_bottom (context)); fo_simple_page_master_set_margin_left (fo, fo_context_get_margin_left (context)); fo_simple_page_master_set_margin_right (fo, fo_context_get_margin_right (context)); fo_simple_page_master_set_margin_top (fo, fo_context_get_margin_top (context)); fo_simple_page_master_set_master_name (fo, fo_context_get_master_name (context)); fo_simple_page_master_set_page_height (fo, fo_context_get_page_height (context)); fo_simple_page_master_set_page_width (fo, fo_context_get_page_width (context)); fo_simple_page_master_set_space_after (fo, fo_context_get_space_after (context)); fo_simple_page_master_set_space_before (fo, fo_context_get_space_before (context)); fo_simple_page_master_set_start_indent (fo, fo_context_get_start_indent (context)); fo_simple_page_master_set_writing_mode (fo, fo_context_get_writing_mode (context)); } /** * fo_simple_page_master_debug_dump_hash: * @key: * @value: * @data: * * Log the key and value combination of a hash table entry. **/ void fo_simple_page_master_debug_dump_hash (gpointer key, gpointer value, gpointer data) { gchar *indent = g_strnfill (GPOINTER_TO_INT (data) * 2, ' '); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s : %p", indent, (gchar *) key, value); g_free (indent); } /** * fo_simple_page_master_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_simple_page_master_debug_dump_properties (FoFo *fo, gint depth) { FoSimplePageMaster *fo_simple_page_master; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo)); fo_simple_page_master = FO_SIMPLE_PAGE_MASTER (fo); fo_object_debug_dump (fo_simple_page_master->end_indent, depth); fo_object_debug_dump (fo_simple_page_master->margin_bottom, depth); fo_object_debug_dump (fo_simple_page_master->margin_left, depth); fo_object_debug_dump (fo_simple_page_master->margin_right, depth); fo_object_debug_dump (fo_simple_page_master->margin_top, depth); fo_object_debug_dump (fo_simple_page_master->master_name, depth); fo_object_debug_dump (fo_simple_page_master->page_height, depth); fo_object_debug_dump (fo_simple_page_master->page_width, depth); fo_object_debug_dump (fo_simple_page_master->space_after, depth); fo_object_debug_dump (fo_simple_page_master->space_before, depth); fo_object_debug_dump (fo_simple_page_master->start_indent, depth); fo_object_debug_dump (fo_simple_page_master->writing_mode, depth); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sregion-name hash:", indent); g_hash_table_foreach (fo_simple_page_master->region_name_hash, fo_simple_page_master_debug_dump_hash, GINT_TO_POINTER (depth + 1)); g_free (indent); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_simple_page_master_get_end_indent: * @fo_fo: The @FoFo object. * * Gets the "end-indent" property of @fo_fo. * * Return value: The "end-indent" property value. **/ FoProperty* fo_simple_page_master_get_end_indent (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->end_indent; } /** * fo_simple_page_master_set_end_indent: * @fo_fo: The #FoFo object * @new_end_indent: The new "end-indent" property value * * Sets the "end-indent" property of @fo_fo to @new_end_indent **/ void fo_simple_page_master_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_END_INDENT (new_end_indent)); if (new_end_indent != NULL) { g_object_ref (new_end_indent); } if (fo_simple_page_master->end_indent != NULL) { g_object_unref (fo_simple_page_master->end_indent); } fo_simple_page_master->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_simple_page_master), "end-indent");*/ } /** * fo_simple_page_master_get_margin_bottom: * @fo_fo: The @FoFo object. * * Gets the "margin-bottom" property of @fo_fo. * * Return value: The "margin-bottom" property value. **/ FoProperty* fo_simple_page_master_get_margin_bottom (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->margin_bottom; } /** * fo_simple_page_master_set_margin_bottom: * @fo_fo: The #FoFo object * @new_margin_bottom: The new "margin-bottom" property value * * Sets the "margin-bottom" property of @fo_fo to @new_margin_bottom **/ void fo_simple_page_master_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_BOTTOM (new_margin_bottom)); if (new_margin_bottom != NULL) { g_object_ref (new_margin_bottom); } if (fo_simple_page_master->margin_bottom != NULL) { g_object_unref (fo_simple_page_master->margin_bottom); } fo_simple_page_master->margin_bottom = new_margin_bottom; /*g_object_notify (G_OBJECT (fo_simple_page_master), "margin-bottom");*/ } /** * fo_simple_page_master_get_margin_left: * @fo_fo: The @FoFo object. * * Gets the "margin-left" property of @fo_fo. * * Return value: The "margin-left" property value. **/ FoProperty* fo_simple_page_master_get_margin_left (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->margin_left; } /** * fo_simple_page_master_set_margin_left: * @fo_fo: The #FoFo object * @new_margin_left: The new "margin-left" property value * * Sets the "margin-left" property of @fo_fo to @new_margin_left **/ void fo_simple_page_master_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_LEFT (new_margin_left)); if (new_margin_left != NULL) { g_object_ref (new_margin_left); } if (fo_simple_page_master->margin_left != NULL) { g_object_unref (fo_simple_page_master->margin_left); } fo_simple_page_master->margin_left = new_margin_left; /*g_object_notify (G_OBJECT (fo_simple_page_master), "margin-left");*/ } /** * fo_simple_page_master_get_margin_right: * @fo_fo: The @FoFo object. * * Gets the "margin-right" property of @fo_fo. * * Return value: The "margin-right" property value. **/ FoProperty* fo_simple_page_master_get_margin_right (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->margin_right; } /** * fo_simple_page_master_set_margin_right: * @fo_fo: The #FoFo object * @new_margin_right: The new "margin-right" property value * * Sets the "margin-right" property of @fo_fo to @new_margin_right **/ void fo_simple_page_master_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_RIGHT (new_margin_right)); if (new_margin_right != NULL) { g_object_ref (new_margin_right); } if (fo_simple_page_master->margin_right != NULL) { g_object_unref (fo_simple_page_master->margin_right); } fo_simple_page_master->margin_right = new_margin_right; /*g_object_notify (G_OBJECT (fo_simple_page_master), "margin-right");*/ } /** * fo_simple_page_master_get_margin_top: * @fo_fo: The @FoFo object. * * Gets the "margin-top" property of @fo_fo. * * Return value: The "margin-top" property value. **/ FoProperty* fo_simple_page_master_get_margin_top (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->margin_top; } /** * fo_simple_page_master_set_margin_top: * @fo_fo: The #FoFo object * @new_margin_top: The new "margin-top" property value * * Sets the "margin-top" property of @fo_fo to @new_margin_top **/ void fo_simple_page_master_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_TOP (new_margin_top)); if (new_margin_top != NULL) { g_object_ref (new_margin_top); } if (fo_simple_page_master->margin_top != NULL) { g_object_unref (fo_simple_page_master->margin_top); } fo_simple_page_master->margin_top = new_margin_top; /*g_object_notify (G_OBJECT (fo_simple_page_master), "margin-top");*/ } /** * fo_simple_page_master_get_master_name: * @fo_fo: The @FoFo object. * * Gets the "master-name" property of @fo_fo. * * Return value: The "master-name" property value. **/ FoProperty* fo_simple_page_master_get_master_name (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->master_name; } /** * fo_simple_page_master_set_master_name: * @fo_fo: The #FoFo object * @new_master_name: The new "master-name" property value * * Sets the "master-name" property of @fo_fo to @new_master_name **/ void fo_simple_page_master_set_master_name (FoFo *fo_fo, FoProperty *new_master_name) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_MASTER_NAME (new_master_name)); if (new_master_name != NULL) { g_object_ref (new_master_name); } if (fo_simple_page_master->master_name != NULL) { g_object_unref (fo_simple_page_master->master_name); } fo_simple_page_master->master_name = new_master_name; /*g_object_notify (G_OBJECT (fo_simple_page_master), "master-name");*/ } /** * fo_simple_page_master_get_page_height: * @fo_fo: The @FoFo object. * * Gets the "page-height" property of @fo_fo. * * Return value: The "page-height" property value. **/ FoProperty* fo_simple_page_master_get_page_height (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->page_height; } /** * fo_simple_page_master_set_page_height: * @fo_fo: The #FoFo object * @new_page_height: The new "page-height" property value * * Sets the "page-height" property of @fo_fo to @new_page_height **/ void fo_simple_page_master_set_page_height (FoFo *fo_fo, FoProperty *new_page_height) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_PAGE_HEIGHT (new_page_height)); if (new_page_height != NULL) { g_object_ref (new_page_height); } if (fo_simple_page_master->page_height != NULL) { g_object_unref (fo_simple_page_master->page_height); } fo_simple_page_master->page_height = new_page_height; /*g_object_notify (G_OBJECT (fo_simple_page_master), "page-height");*/ } /** * fo_simple_page_master_get_page_width: * @fo_fo: The @FoFo object. * * Gets the "page-width" property of @fo_fo. * * Return value: The "page-width" property value. **/ FoProperty* fo_simple_page_master_get_page_width (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->page_width; } /** * fo_simple_page_master_set_page_width: * @fo_fo: The #FoFo object * @new_page_width: The new "page-width" property value * * Sets the "page-width" property of @fo_fo to @new_page_width **/ void fo_simple_page_master_set_page_width (FoFo *fo_fo, FoProperty *new_page_width) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_PAGE_WIDTH (new_page_width)); if (new_page_width != NULL) { g_object_ref (new_page_width); } if (fo_simple_page_master->page_width != NULL) { g_object_unref (fo_simple_page_master->page_width); } fo_simple_page_master->page_width = new_page_width; /*g_object_notify (G_OBJECT (fo_simple_page_master), "page-width");*/ } /** * fo_simple_page_master_get_space_after: * @fo_fo: The @FoFo object. * * Gets the "space-after" property of @fo_fo. * * Return value: The "space-after" property value. **/ FoProperty* fo_simple_page_master_get_space_after (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->space_after; } /** * fo_simple_page_master_set_space_after: * @fo_fo: The #FoFo object * @new_space_after: The new "space-after" property value * * Sets the "space-after" property of @fo_fo to @new_space_after **/ void fo_simple_page_master_set_space_after (FoFo *fo_fo, FoProperty *new_space_after) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_SPACE_AFTER (new_space_after)); if (new_space_after != NULL) { g_object_ref (new_space_after); } if (fo_simple_page_master->space_after != NULL) { g_object_unref (fo_simple_page_master->space_after); } fo_simple_page_master->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_simple_page_master), "space-after");*/ } /** * fo_simple_page_master_get_space_before: * @fo_fo: The @FoFo object. * * Gets the "space-before" property of @fo_fo. * * Return value: The "space-before" property value. **/ FoProperty* fo_simple_page_master_get_space_before (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->space_before; } /** * fo_simple_page_master_set_space_before: * @fo_fo: The #FoFo object * @new_space_before: The new "space-before" property value * * Sets the "space-before" property of @fo_fo to @new_space_before **/ void fo_simple_page_master_set_space_before (FoFo *fo_fo, FoProperty *new_space_before) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_SPACE_BEFORE (new_space_before)); if (new_space_before != NULL) { g_object_ref (new_space_before); } if (fo_simple_page_master->space_before != NULL) { g_object_unref (fo_simple_page_master->space_before); } fo_simple_page_master->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_simple_page_master), "space-before");*/ } /** * fo_simple_page_master_get_start_indent: * @fo_fo: The @FoFo object. * * Gets the "start-indent" property of @fo_fo. * * Return value: The "start-indent" property value. **/ FoProperty* fo_simple_page_master_get_start_indent (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->start_indent; } /** * fo_simple_page_master_set_start_indent: * @fo_fo: The #FoFo object * @new_start_indent: The new "start-indent" property value * * Sets the "start-indent" property of @fo_fo to @new_start_indent **/ void fo_simple_page_master_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_START_INDENT (new_start_indent)); if (new_start_indent != NULL) { g_object_ref (new_start_indent); } if (fo_simple_page_master->start_indent != NULL) { g_object_unref (fo_simple_page_master->start_indent); } fo_simple_page_master->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_simple_page_master), "start-indent");*/ } /** * fo_simple_page_master_get_writing_mode: * @fo_fo: The @FoFo object. * * Gets the "writing-mode" property of @fo_fo. * * Return value: The "writing-mode" property value. **/ FoProperty* fo_simple_page_master_get_writing_mode (FoFo *fo_fo) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_val_if_fail (fo_simple_page_master != NULL, NULL); g_return_val_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master), NULL); return fo_simple_page_master->writing_mode; } /** * fo_simple_page_master_set_writing_mode: * @fo_fo: The #FoFo object * @new_writing_mode: The new "writing-mode" property value * * Sets the "writing-mode" property of @fo_fo to @new_writing_mode **/ void fo_simple_page_master_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode) { FoSimplePageMaster *fo_simple_page_master = (FoSimplePageMaster *) fo_fo; g_return_if_fail (fo_simple_page_master != NULL); g_return_if_fail (FO_IS_SIMPLE_PAGE_MASTER (fo_simple_page_master)); g_return_if_fail (FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_simple_page_master->writing_mode != NULL) { g_object_unref (fo_simple_page_master->writing_mode); } fo_simple_page_master->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_simple_page_master), "writing-mode");*/ } xmlroff-0.6.2/libfo/fo/fo-simple-page-master.h0000644000175000017500000001042610643167375016102 00000000000000/* Fo * fo-simple_page_master.h: 'simple-page-master' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_SIMPLE_PAGE_MASTER_H__ #define __FO_SIMPLE_PAGE_MASTER_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoSimplePageMaster FoSimplePageMaster; typedef struct _FoSimplePageMasterClass FoSimplePageMasterClass; #define FO_TYPE_SIMPLE_PAGE_MASTER (fo_simple_page_master_get_type ()) #define FO_SIMPLE_PAGE_MASTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_SIMPLE_PAGE_MASTER, FoSimplePageMaster)) #define FO_SIMPLE_PAGE_MASTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_SIMPLE_PAGE_MASTER, FoSimplePageMasterClass)) #define FO_IS_SIMPLE_PAGE_MASTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_SIMPLE_PAGE_MASTER)) #define FO_IS_SIMPLE_PAGE_MASTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_SIMPLE_PAGE_MASTER)) #define FO_SIMPLE_PAGE_MASTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_SIMPLE_PAGE_MASTER, FoSimplePageMasterClass)) GType fo_simple_page_master_get_type (void) G_GNUC_CONST; FoFo * fo_simple_page_master_new (void); FoProperty * fo_simple_page_master_get_end_indent (FoFo *fo_fo); void fo_simple_page_master_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty * fo_simple_page_master_get_margin_bottom (FoFo *fo_fo); void fo_simple_page_master_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty * fo_simple_page_master_get_margin_left (FoFo *fo_fo); void fo_simple_page_master_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty * fo_simple_page_master_get_margin_right (FoFo *fo_fo); void fo_simple_page_master_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty * fo_simple_page_master_get_margin_top (FoFo *fo_fo); void fo_simple_page_master_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty * fo_simple_page_master_get_master_name (FoFo *fo_fo); void fo_simple_page_master_set_master_name (FoFo *fo_fo, FoProperty *new_master_name); FoProperty * fo_simple_page_master_get_page_height (FoFo *fo_fo); void fo_simple_page_master_set_page_height (FoFo *fo_fo, FoProperty *new_page_height); FoProperty * fo_simple_page_master_get_page_width (FoFo *fo_fo); void fo_simple_page_master_set_page_width (FoFo *fo_fo, FoProperty *new_page_width); FoProperty * fo_simple_page_master_get_space_after (FoFo *fo_fo); void fo_simple_page_master_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty * fo_simple_page_master_get_space_before (FoFo *fo_fo); void fo_simple_page_master_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty * fo_simple_page_master_get_start_indent (FoFo *fo_fo); void fo_simple_page_master_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty * fo_simple_page_master_get_writing_mode (FoFo *fo_fo); void fo_simple_page_master_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); FoFo * fo_simple_page_master_region_name_get (FoFo *simple_page_master, const gchar *name); void fo_simple_page_master_region_name_add (FoFo *simple_page_master, const gchar *name, FoFo *fo); G_END_DECLS #endif /* !__FO_SIMPLE_PAGE_MASTER_H__ */ xmlroff-0.6.2/libfo/fo/fo-simple-page-master-private.h0000644000175000017500000000172110643167376017551 00000000000000/* Fo * fo-simple-page-master-private.h: Structures private to 'simple-page-master' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_SIMPLE_PAGE_MASTER_PRIVATE_H__ #define __FO_SIMPLE_PAGE_MASTER_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoSimplePageMaster { FoFo parent_instance; FoProperty *end_indent; FoProperty *margin_bottom; FoProperty *margin_left; FoProperty *margin_right; FoProperty *margin_top; FoProperty *master_name; FoProperty *page_height; FoProperty *page_width; FoProperty *space_after; FoProperty *space_before; FoProperty *start_indent; FoProperty *writing_mode; GHashTable *region_name_hash; }; struct _FoSimplePageMasterClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_SIMPLE_PAGE_MASTER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-single-page-master-reference.c0000644000175000017500000003025010660107744020007 00000000000000/* Fo * fo-single-page-master-reference.c: 'single-page-master-reference' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-single-page-master-reference-private.h" #include "property/fo-property-master-reference.h" enum { PROP_0, PROP_MASTER_REFERENCE }; static void fo_single_page_master_reference_class_init (FoSinglePageMasterReferenceClass *klass); static void fo_single_page_master_reference_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_single_page_master_reference_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_single_page_master_reference_finalize (GObject *object); static void fo_single_page_master_reference_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_single_page_master_reference_update_from_context (FoFo *fo, FoContext *context); static void fo_single_page_master_reference_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_single_page_master_reference_get_type: * * Register the #FoSinglePageMasterReference object type. * * Return value: #GType value of the #FoSinglePageMasterReference object type. **/ GType fo_single_page_master_reference_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoSinglePageMasterReferenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_single_page_master_reference_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoSinglePageMasterReference), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoSinglePageMasterReference", &object_info, 0); } return object_type; } /** * fo_single_page_master_reference_class_init: * @klass: #FoSinglePageMasterReferenceClass object to initialise. * * Implements #GClassInitFunc for #FoSinglePageMasterReferenceClass. **/ void fo_single_page_master_reference_class_init (FoSinglePageMasterReferenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_single_page_master_reference_finalize; object_class->get_property = fo_single_page_master_reference_get_property; object_class->set_property = fo_single_page_master_reference_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_single_page_master_reference_validate; fofo_class->update_from_context = fo_single_page_master_reference_update_from_context; fofo_class->debug_dump_properties = fo_single_page_master_reference_debug_dump_properties; g_object_class_install_property (object_class, PROP_MASTER_REFERENCE, g_param_spec_object ("master-reference", _("Master Reference"), _("Master Reference property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_single_page_master_reference_finalize: * @object: #FoSinglePageMasterReference object to finalize. * * Implements #GObjectFinalizeFunc for #FoSinglePageMasterReference. **/ void fo_single_page_master_reference_finalize (GObject *object) { FoSinglePageMasterReference *fo_single_page_master_reference; fo_single_page_master_reference = FO_SINGLE_PAGE_MASTER_REFERENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_single_page_master_reference_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoSinglePageMasterReference. **/ void fo_single_page_master_reference_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MASTER_REFERENCE: g_value_set_object (value, G_OBJECT (fo_single_page_master_reference_get_master_reference (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_single_page_master_reference_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoSinglePageMasterReference. **/ void fo_single_page_master_reference_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MASTER_REFERENCE: fo_single_page_master_reference_set_master_reference (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_single_page_master_reference_new: * * Creates a new #FoSinglePageMasterReference initialized to default value. * * Return value: the new #FoSinglePageMasterReference. **/ FoFo* fo_single_page_master_reference_new (void) { return FO_FO (g_object_new (fo_single_page_master_reference_get_type (), NULL)); } /** * fo_single_page_master_reference_validate_content: * @fo: #FoSinglePageMasterReference object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_single_page_master_reference_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error = NULL;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_SINGLE_PAGE_MASTER_REFERENCE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_single_page_master_reference_validate: * @fo: #FoSinglePageMasterReference object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_single_page_master_reference_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoSinglePageMasterReference *fo_single_page_master_reference; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_SINGLE_PAGE_MASTER_REFERENCE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_single_page_master_reference = FO_SINGLE_PAGE_MASTER_REFERENCE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_single_page_master_reference_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_single_page_master_reference_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_SINGLE_PAGE_MASTER_REFERENCE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_single_page_master_reference_set_master_reference (fo, fo_context_get_master_reference (context)); } /** * fo_single_page_master_reference_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_single_page_master_reference_debug_dump_properties (FoFo *fo, gint depth) { FoSinglePageMasterReference *fo_single_page_master_reference; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_SINGLE_PAGE_MASTER_REFERENCE (fo)); fo_single_page_master_reference = FO_SINGLE_PAGE_MASTER_REFERENCE (fo); fo_object_debug_dump (fo_single_page_master_reference->master_reference, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_single_page_master_reference_get_master_reference: * @fo_fo: The @FoFo object. * * Gets the "master-reference" property of @fo_fo. * * Return value: The "master-reference" property value. **/ FoProperty* fo_single_page_master_reference_get_master_reference (FoFo *fo_fo) { FoSinglePageMasterReference *fo_single_page_master_reference = (FoSinglePageMasterReference *) fo_fo; g_return_val_if_fail (fo_single_page_master_reference != NULL, NULL); g_return_val_if_fail (FO_IS_SINGLE_PAGE_MASTER_REFERENCE (fo_single_page_master_reference), NULL); return fo_single_page_master_reference->master_reference; } /** * fo_single_page_master_reference_set_master_reference: * @fo_fo: The #FoFo object * @new_master_reference: The new "master-reference" property value * * Sets the "master-reference" property of @fo_fo to @new_master_reference **/ void fo_single_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference) { FoSinglePageMasterReference *fo_single_page_master_reference = (FoSinglePageMasterReference *) fo_fo; g_return_if_fail (fo_single_page_master_reference != NULL); g_return_if_fail (FO_IS_SINGLE_PAGE_MASTER_REFERENCE (fo_single_page_master_reference)); g_return_if_fail (FO_IS_PROPERTY_MASTER_REFERENCE (new_master_reference)); if (new_master_reference != NULL) { g_object_ref (new_master_reference); } if (fo_single_page_master_reference->master_reference != NULL) { g_object_unref (fo_single_page_master_reference->master_reference); } fo_single_page_master_reference->master_reference = new_master_reference; /*g_object_notify (G_OBJECT (fo_single_page_master_reference), "master-reference");*/ } xmlroff-0.6.2/libfo/fo/fo-single-page-master-reference.h0000644000175000017500000000364210643167376020031 00000000000000/* Fo * fo-single_page_master_reference.h: 'single-page-master-reference' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_SINGLE_PAGE_MASTER_REFERENCE_H__ #define __FO_SINGLE_PAGE_MASTER_REFERENCE_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoSinglePageMasterReference FoSinglePageMasterReference; typedef struct _FoSinglePageMasterReferenceClass FoSinglePageMasterReferenceClass; #define FO_TYPE_SINGLE_PAGE_MASTER_REFERENCE (fo_single_page_master_reference_get_type ()) #define FO_SINGLE_PAGE_MASTER_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_SINGLE_PAGE_MASTER_REFERENCE, FoSinglePageMasterReference)) #define FO_SINGLE_PAGE_MASTER_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_SINGLE_PAGE_MASTER_REFERENCE, FoSinglePageMasterReferenceClass)) #define FO_IS_SINGLE_PAGE_MASTER_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_SINGLE_PAGE_MASTER_REFERENCE)) #define FO_IS_SINGLE_PAGE_MASTER_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_SINGLE_PAGE_MASTER_REFERENCE)) #define FO_SINGLE_PAGE_MASTER_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_SINGLE_PAGE_MASTER_REFERENCE, FoSinglePageMasterReferenceClass)) GType fo_single_page_master_reference_get_type (void) G_GNUC_CONST; FoFo * fo_single_page_master_reference_new (void); FoProperty * fo_single_page_master_reference_get_master_reference (FoFo *fo_fo); void fo_single_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); G_END_DECLS #endif /* !__FO_SINGLE_PAGE_MASTER_REFERENCE_H__ */ xmlroff-0.6.2/libfo/fo/fo-single-page-master-reference-private.h0000644000175000017500000000132710643167376021477 00000000000000/* Fo * fo-single-page-master-reference-private.h: Structures private to 'single-page-master-reference' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_SINGLE_PAGE_MASTER_REFERENCE_PRIVATE_H__ #define __FO_SINGLE_PAGE_MASTER_REFERENCE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoSinglePageMasterReference { FoFo parent_instance; FoProperty *master_reference; }; struct _FoSinglePageMasterReferenceClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_SINGLE_PAGE_MASTER_REFERENCE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-static-content.c0000644000175000017500000003017310660107744015332 00000000000000/* Fo * fo-static-content.c: 'static-content' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-static-content-private.h" #include "property/fo-property-flow-name.h" enum { PROP_0, PROP_FLOW_NAME }; static void fo_static_content_class_init (FoStaticContentClass *klass); static void fo_static_content_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_static_content_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_static_content_finalize (GObject *object); static gboolean fo_static_content_validate_content (FoFo *fo, GError **error); static void fo_static_content_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_static_content_update_from_context (FoFo *fo, FoContext *context); static void fo_static_content_debug_dump_properties (FoFo *fo, gint depth); static void fo_static_content_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error); static gpointer parent_class; /** * fo_static_content_get_type: * * Register the #FoStaticContent object type. * * Return value: #GType value of the #FoStaticContent object type. **/ GType fo_static_content_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoStaticContentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_static_content_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoStaticContent), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoStaticContent", &object_info, 0); } return object_type; } /** * fo_static_content_class_init: * @klass: #FoStaticContentClass object to initialise. * * Implements #GClassInitFunc for #FoStaticContentClass. **/ void fo_static_content_class_init (FoStaticContentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_static_content_finalize; object_class->get_property = fo_static_content_get_property; object_class->set_property = fo_static_content_set_property; fofo_class->validate_content = fo_static_content_validate_content; fofo_class->validate2 = fo_static_content_validate; fofo_class->update_from_context = fo_static_content_update_from_context; fofo_class->debug_dump_properties = fo_static_content_debug_dump_properties; fofo_class->children_properties_resolve = fo_static_content_children_properties_resolve; g_object_class_install_property (object_class, PROP_FLOW_NAME, g_param_spec_object ("flow-name", _("Flow Name"), _("Flow Name property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_static_content_finalize: * @object: #FoStaticContent object to finalize. * * Implements #GObjectFinalizeFunc for #FoStaticContent. **/ void fo_static_content_finalize (GObject *object) { FoStaticContent *fo_static_content; fo_static_content = FO_STATIC_CONTENT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_static_content_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoStaticContent. **/ void fo_static_content_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_FLOW_NAME: g_value_set_object (value, G_OBJECT (fo_static_content_get_flow_name (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_static_content_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoStaticContent. **/ void fo_static_content_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_FLOW_NAME: fo_static_content_set_flow_name (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_static_content_new: * * Creates a new #FoStaticContent initialized to default value. * * Return value: the new #FoStaticContent. **/ FoFo* fo_static_content_new (void) { return FO_FO (g_object_new (fo_static_content_get_type (), NULL)); } void fo_static_content_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error) { FoArea *this_fo_area = NULL; FoFoAreaNew2Context area_new2_context; FoPropertyResolveContext prop_context; g_return_if_fail (FO_IS_FO (this_fo)); g_return_if_fail (FO_IS_AREA (this_fo_parent_area)); g_return_if_fail (*new_area == NULL); g_return_if_fail (error == NULL || *error == NULL); prop_context.reference_area = fo_area_get_reference (this_fo_parent_area); prop_context.prop_eval_hash = prop_eval_hash; prop_context.continue_after_error = continue_after_error; prop_context.debug_level = debug_level; prop_context.warning_mode = warning_mode; prop_context.error = NULL; fo_fo_resolve_property_attributes (FO_NODE (this_fo), &prop_context); area_new2_context.fo_doc = fo_doc; area_new2_context.parent_area = this_fo_parent_area; area_new2_context.new_area = &this_fo_area; area_new2_context.continue_after_error = continue_after_error; area_new2_context.debug_level = debug_level; *new_area = NULL; } /** * fo_static_content_validate_content: * @fo: #FoStaticContent object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_static_content_validate_content (FoFo *fo, GError **error) { g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_STATIC_CONTENT (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_fo_trim_whitespace_children (fo); return fo_fo_validate_content_block_plus (fo, error); } /** * fo_static_content_validate: * @fo: #FoStaticContent object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_static_content_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoStaticContent *fo_static_content; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_STATIC_CONTENT (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_static_content = FO_STATIC_CONTENT (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_static_content_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_static_content_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_STATIC_CONTENT (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_static_content_set_flow_name (fo, fo_context_get_flow_name (context)); } /** * fo_static_content_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_static_content_debug_dump_properties (FoFo *fo, gint depth) { FoStaticContent *fo_static_content; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_STATIC_CONTENT (fo)); fo_static_content = FO_STATIC_CONTENT (fo); fo_object_debug_dump (fo_static_content->flow_name, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_static_content_get_flow_name: * @fo_fo: The @FoFo object. * * Gets the "flow-name" property of @fo_fo. * * Return value: The "flow-name" property value. **/ FoProperty* fo_static_content_get_flow_name (FoFo *fo_fo) { FoStaticContent *fo_static_content = (FoStaticContent *) fo_fo; g_return_val_if_fail (fo_static_content != NULL, NULL); g_return_val_if_fail (FO_IS_STATIC_CONTENT (fo_static_content), NULL); return fo_static_content->flow_name; } /** * fo_static_content_set_flow_name: * @fo_fo: The #FoFo object * @new_flow_name: The new "flow-name" property value * * Sets the "flow-name" property of @fo_fo to @new_flow_name **/ void fo_static_content_set_flow_name (FoFo *fo_fo, FoProperty *new_flow_name) { FoStaticContent *fo_static_content = (FoStaticContent *) fo_fo; g_return_if_fail (fo_static_content != NULL); g_return_if_fail (FO_IS_STATIC_CONTENT (fo_static_content)); g_return_if_fail (FO_IS_PROPERTY_FLOW_NAME (new_flow_name)); if (new_flow_name != NULL) { g_object_ref (new_flow_name); } if (fo_static_content->flow_name != NULL) { g_object_unref (fo_static_content->flow_name); } fo_static_content->flow_name = new_flow_name; /*g_object_notify (G_OBJECT (fo_static_content), "flow-name");*/ } xmlroff-0.6.2/libfo/fo/fo-static-content.h0000644000175000017500000000327710643167376015354 00000000000000/* Fo * fo-static-content.h: 'static-content' formatting object * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_STATIC_CONTENT_H__ #define __FO_STATIC_CONTENT_H__ #include #include #include G_BEGIN_DECLS /** * FoStaticContent: * * Instance of the 'static-content' formatting object. **/ typedef struct _FoStaticContent FoStaticContent; /** * FoStaticContentClass: * * Class structure for the 'static-content' formatting object. **/ typedef struct _FoStaticContentClass FoStaticContentClass; #define FO_TYPE_STATIC_CONTENT (fo_static_content_get_type ()) #define FO_STATIC_CONTENT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_STATIC_CONTENT, FoStaticContent)) #define FO_STATIC_CONTENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_STATIC_CONTENT, FoStaticContentClass)) #define FO_IS_STATIC_CONTENT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_STATIC_CONTENT)) #define FO_IS_STATIC_CONTENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_STATIC_CONTENT)) #define FO_STATIC_CONTENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_STATIC_CONTENT, FoStaticContentClass)) GType fo_static_content_get_type (void) G_GNUC_CONST; FoFo * fo_static_content_new (void); FoProperty * fo_static_content_get_flow_name (FoFo *fo_fo); void fo_static_content_set_flow_name (FoFo *fo_fo, FoProperty *new_flow_name); G_END_DECLS #endif /* !__FO_STATIC_CONTENT_H__ */ xmlroff-0.6.2/libfo/fo/fo-static-content-private.h0000644000175000017500000000114410643167376017013 00000000000000/* Fo * fo-static-content-private.h: Structures private to 'static-content' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_STATIC_CONTENT_PRIVATE_H__ #define __FO_STATIC_CONTENT_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoStaticContent { FoFo parent_instance; FoProperty *flow_name; }; struct _FoStaticContentClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_STATIC_CONTENT_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table.c0000644000175000017500000055504711073720356013475 00000000000000/* Fo * fo-table.c: 'table' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "datatype/fo-pcw.h" #include "expr/fo-expr-eval.h" #include "expr/fo-expr-func-private.h" #include "fo/fo-block-fo-private.h" #include "fo/fo-table-border-fo-private.h" #include "fo/fo-table-private.h" #include "fo/fo-table-area.h" #include "fo/fo-table-column.h" #include "fo/fo-table-header.h" #include "fo/fo-table-footer.h" #include "fo/fo-table-body.h" #include "fo/fo-table-row.h" #include "fo/fo-table-cell.h" #include "property/fo-property-column-width.h" #include "property/fo-property-border.h" #include "property/fo-property-margin.h" #include "property/fo-property-padding.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-precedence.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-precedence.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-collapse.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-precedence.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-separation.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-precedence.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-break-after.h" #include "property/fo-property-break-before.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-height.h" #include "property/fo-property-id.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-after.h" #include "property/fo-property-space-before.h" #include "property/fo-property-start-indent.h" #include "property/fo-property-table-layout.h" #include "property/fo-property-width.h" #include "property/fo-property-writing-mode.h" #define fo_table_make_column_hash_key(column_number,number_columns_spanned) \ (((column_number) << 16) + (number_columns_spanned)) GType fo_enum_table_layout_method_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN, "FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN", "unknown" }, { FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC, "FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC", "automatic" }, { FO_ENUM_TABLE_LAYOUT_METHOD_FIXED, "FO_ENUM_TABLE_LAYOUT_METHOD_FIXED", "fixed" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("FoEnumTableLayoutMethod", values); } return etype; } const char *fo_table_error_messages[] = { N_("Failed"), N_("Warning"), N_("Table layout method is unknown."), N_("Table layout method is fixed but no 'fo:table-column's specified."), N_("No 'fo:table-column' for column number '%d'."), N_("'column-width' expression is not a length: '%s'"), N_("No area associated with 'fo:table'."), N_("table-layout=\"fixed\" but automatic table layout is specified since i-p-d=\"auto\"."), N_("Spanning table cells fill entire row."), N_("Automatic table layout is not supported. Falling back to fixed table layout."), N_("Unsupported inline-progression-dimension value: $d.") }; enum { PROP_0, PROP_LAYOUT_METHOD, PROP_MAX_COLUMN_NUMBER, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_PRECEDENCE, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_PRECEDENCE, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_COLLAPSE, PROP_BORDER_END_COLOR, PROP_BORDER_END_PRECEDENCE, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_SEPARATION, PROP_BORDER_START_COLOR, PROP_BORDER_START_PRECEDENCE, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_BREAK_AFTER, PROP_BREAK_BEFORE, PROP_END_INDENT, PROP_HEIGHT, PROP_ID, PROP_INLINE_PROGRESSION_DIMENSION, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT, PROP_MARGIN_TOP, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_SPACE_AFTER, PROP_SPACE_BEFORE, PROP_START_INDENT, PROP_TABLE_LAYOUT, PROP_WIDTH, PROP_WRITING_MODE }; static void fo_table_init (FoTable *fo_table); static void fo_table_base_class_init (FoTableClass *klass); static void fo_table_base_class_finalize (FoTableClass *klass); static void fo_table_class_init (FoTableClass *klass); static void fo_table_block_fo_init (FoBlockFoIface *iface); static void fo_table_table_border_fo_init (FoTableBorderFoIface *iface); static void fo_table_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_table_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_table_finalize (GObject *object); static gboolean fo_table_validate_content (FoFo *fo, GError **error); static void fo_table_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_table_update_from_context (FoFo *fo, FoContext *context); static void fo_table_debug_dump_properties (FoFo *fo, gint depth); static void fo_table_resolve_layout_method (FoFo *fo); static void fo_table_free_hash_key (gpointer key, gpointer value, gpointer user_data); static void fo_table_resolve_proportional_widths (FoFo *fo, GError **error); static void fo_table_resolve_column_offsets (FoFo *fo, GError **error); static gpointer parent_class; static FoExprEnvList *fixed_env_list; static FoExprEnvList *proportional_env_list; static FoExprEnvList *proportional_fixed_env_list; /** * fo_table_get_type: * * Register the #FoTable object type. * * Return value: #GType value of the #FoTable object type. **/ GType fo_table_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTableClass), (GBaseInitFunc) fo_table_base_class_init, (GBaseFinalizeFunc) fo_table_base_class_finalize, (GClassInitFunc) fo_table_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTable), 0, /* n_preallocs */ (GInstanceInitFunc) fo_table_init, NULL /* value_table */ }; static const GInterfaceInfo fo_block_fo_info = { (GInterfaceInitFunc) fo_table_block_fo_init, /* interface_init */ NULL, NULL }; static const GInterfaceInfo fo_table_border_fo_info = { (GInterfaceInitFunc) fo_table_table_border_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoTable", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_BLOCK_FO, &fo_block_fo_info); g_type_add_interface_static (object_type, FO_TYPE_TABLE_BORDER_FO, &fo_table_border_fo_info); } return object_type; } /** * fo_table_init: * @fo_table: #FoTable object to initialise. * * Implements #GInstanceInitFunc for #FoTable. **/ void fo_table_init (FoTable *fo_table) { fo_table->layout_method = FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN; fo_table->column_hash = g_hash_table_new (g_int_hash, g_int_equal); } /** * fo_table_base_class_init: * @klass: #FoTableClass base class object to initialise. * * Implements #GBaseInitFunc for #FoTableClass. **/ void fo_table_base_class_init (FoTableClass *klass G_GNUC_UNUSED) { FoExprEnv *proportional_env; FoExprEnv *proportional_fixed_env; fixed_env_list = fo_expr_env_list_new (); /* Only table-related properties can use proportional-column-width(). */ proportional_env = fo_expr_env_new (); fo_expr_env_register_func (proportional_env, "proportional-column-width", fo_expr_func_pcw_prop); proportional_env_list = fo_expr_env_list_prepend (fo_expr_env_list_new (), proportional_env); proportional_fixed_env = fo_expr_env_new (); fo_expr_env_register_func (proportional_fixed_env, "proportional-column-width", fo_expr_func_pcw_prop_fixed); proportional_fixed_env_list = fo_expr_env_list_prepend (fo_expr_env_list_new (), proportional_fixed_env); } /** * fo_table_base_class_finalize: * @klass: #FoTableClass base class object to initialise. * * Implements #GBaseFinalizeFunc for #FoTableClass. **/ void fo_table_base_class_finalize (FoTableClass *klass G_GNUC_UNUSED) { /* FIXME: Free the environments here. */ } /** * fo_table_class_init: * @klass: #FoTableClass object to initialise. * * Implements #GClassInitFunc for #FoTableClass. **/ void fo_table_class_init (FoTableClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_finalize; object_class->get_property = fo_table_get_property; object_class->set_property = fo_table_set_property; fofo_class->validate_content = fo_table_validate_content; fofo_class->validate2 = fo_table_validate; fofo_class->update_from_context = fo_table_update_from_context; fofo_class->debug_dump_properties = fo_table_debug_dump_properties; fofo_class->generate_reference_area = TRUE; fofo_class->area_new2 = fo_table_area_new2; g_object_class_install_property (object_class, PROP_LAYOUT_METHOD, g_param_spec_enum ("layout-method", _("Table Layout Method"), _("Method used when laying out the table"), FO_TYPE_ENUM_TABLE_LAYOUT_METHOD, FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MAX_COLUMN_NUMBER, g_param_spec_int ("max-column-number", _("Maximum Column Number"), _("Largest column number registered for table"), 0, G_MAXINT, 0, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_PRECEDENCE, g_param_spec_object ("border-after-precedence", _("Border After Precedence"), _("Border After Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_PRECEDENCE, g_param_spec_object ("border-before-precedence", _("Border Before Precedence"), _("Border Before Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_COLLAPSE, g_param_spec_object ("border-collapse", _("Border Collapse"), _("Border Collapse property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_PRECEDENCE, g_param_spec_object ("border-end-precedence", _("Border End Precedence"), _("Border End Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_SEPARATION, g_param_spec_object ("border-separation", _("Border Separation"), _("Border Separation property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_PRECEDENCE, g_param_spec_object ("border-start-precedence", _("Border Start Precedence"), _("Border Start Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_AFTER, g_param_spec_object ("break-after", _("Break After"), _("Break After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_BEFORE, g_param_spec_object ("break-before", _("Break Before"), _("Break Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_END_INDENT, g_param_spec_object ("end-indent", _("End Indent"), _("End Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION, g_param_spec_object ("inline-progression-dimension", _("Inline Progression Dimension"), _("Inline Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_object ("margin-bottom", _("Margin Bottom"), _("Margin Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_object ("margin-left", _("Margin Left"), _("Margin Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_object ("margin-right", _("Margin Right"), _("Margin Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_object ("margin-top", _("Margin Top"), _("Margin Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER, g_param_spec_object ("space-after", _("Space After"), _("Space After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE, g_param_spec_object ("space-before", _("Space Before"), _("Space Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_START_INDENT, g_param_spec_object ("start-indent", _("Start Indent"), _("Start Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_TABLE_LAYOUT, g_param_spec_object ("table-layout", _("Table Layout"), _("Table Layout property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WRITING_MODE, g_param_spec_object ("writing-mode", _("Writing Mode"), _("Writing Mode property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_table_block_fo_init: * @iface: #FoBlockFoIFace structure for this class. * * Initialize #FoBlockFoIface interface for this class. **/ void fo_table_block_fo_init (FoBlockFoIface *iface) { iface->get_background_color = fo_table_get_background_color; iface->get_border_after_color = fo_table_get_border_after_color; iface->get_border_after_style = fo_table_get_border_after_style; iface->get_border_after_width = fo_table_get_border_after_width; iface->get_border_before_color = fo_table_get_border_before_color; iface->get_border_before_style = fo_table_get_border_before_style; iface->get_border_before_width = fo_table_get_border_before_width; iface->get_border_end_color = fo_table_get_border_end_color; iface->get_border_end_style = fo_table_get_border_end_style; iface->get_border_end_width = fo_table_get_border_end_width; iface->get_border_start_color = fo_table_get_border_start_color; iface->get_border_start_style = fo_table_get_border_start_style; iface->get_border_start_width = fo_table_get_border_start_width; iface->get_keep_with_previous = fo_table_get_keep_with_previous; iface->get_keep_with_next = fo_table_get_keep_with_next; iface->get_keep_together = fo_table_get_keep_together; iface->get_padding_after = fo_table_get_padding_after; iface->get_padding_before = fo_table_get_padding_before; iface->get_padding_end = fo_table_get_padding_end; iface->get_padding_start = fo_table_get_padding_start; iface->get_space_before = fo_table_get_space_before; iface->get_space_after = fo_table_get_space_after; iface->get_start_indent = fo_table_get_start_indent; iface->get_end_indent = fo_table_get_end_indent; } /** * fo_table_table_border_fo_init: * @iface: #FoTableBorderFoIFace structure for this class. * * Initialize #FoTableBorderFoIface interface for this class. **/ void fo_table_table_border_fo_init (FoTableBorderFoIface *iface) { iface->get_background_color = fo_table_get_background_color; iface->get_border_after_color = fo_table_get_border_after_color; iface->get_border_after_precedence = fo_table_get_border_after_precedence; iface->get_border_after_style = fo_table_get_border_after_style; iface->get_border_after_width = fo_table_get_border_after_width; iface->get_border_before_color = fo_table_get_border_before_color; iface->get_border_before_precedence = fo_table_get_border_before_precedence; iface->get_border_before_style = fo_table_get_border_before_style; iface->get_border_before_width = fo_table_get_border_before_width; iface->get_border_end_color = fo_table_get_border_end_color; iface->get_border_end_precedence = fo_table_get_border_end_precedence; iface->get_border_end_style = fo_table_get_border_end_style; iface->get_border_end_width = fo_table_get_border_end_width; iface->get_border_start_color = fo_table_get_border_start_color; iface->get_border_start_precedence = fo_table_get_border_start_precedence; iface->get_border_start_style = fo_table_get_border_start_style; iface->get_border_start_width = fo_table_get_border_start_width; } /** * fo_table_finalize: * @object: #FoTable object to finalize. * * Implements #GObjectFinalizeFunc for #FoTable. **/ void fo_table_finalize (GObject *object) { FoTable *fo_table; fo_table = FO_TABLE (object); g_hash_table_foreach (fo_table->column_hash, fo_table_free_hash_key, NULL); g_hash_table_destroy (fo_table->column_hash); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTable. **/ void fo_table_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_LAYOUT_METHOD: g_value_set_enum (value, fo_table_get_layout_method (fo_fo)); break; case PROP_MAX_COLUMN_NUMBER: g_value_set_int (value, fo_table_get_max_column_number (fo_fo)); break; case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_table_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_table_get_background_image (fo_fo))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_table_get_block_progression_dimension (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_table_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_get_border_after_precedence (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_table_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_table_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_get_border_before_precedence (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_table_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_table_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_table_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_COLLAPSE: g_value_set_object (value, G_OBJECT (fo_table_get_border_collapse (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_table_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_get_border_end_precedence (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_table_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_get_border_right_width (fo_fo))); break; case PROP_BORDER_SEPARATION: g_value_set_object (value, G_OBJECT (fo_table_get_border_separation (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_table_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_get_border_start_precedence (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_table_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_table_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_table_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_get_border_top_width (fo_fo))); break; case PROP_BREAK_AFTER: g_value_set_object (value, G_OBJECT (fo_table_get_break_after (fo_fo))); break; case PROP_BREAK_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_get_break_before (fo_fo))); break; case PROP_END_INDENT: g_value_set_object (value, G_OBJECT (fo_table_get_end_indent (fo_fo))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_table_get_height (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_table_get_id (fo_fo))); break; case PROP_INLINE_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_table_get_inline_progression_dimension (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_table_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_table_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_table_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_get_keep_with_previous_within_page (fo_fo))); break; case PROP_MARGIN_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_get_margin_bottom (fo_fo))); break; case PROP_MARGIN_LEFT: g_value_set_object (value, G_OBJECT (fo_table_get_margin_left (fo_fo))); break; case PROP_MARGIN_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_get_margin_right (fo_fo))); break; case PROP_MARGIN_TOP: g_value_set_object (value, G_OBJECT (fo_table_get_margin_top (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_table_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_table_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_table_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_table_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_table_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_table_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_table_get_source_document (fo_fo))); break; case PROP_SPACE_AFTER: g_value_set_object (value, G_OBJECT (fo_table_get_space_after (fo_fo))); break; case PROP_SPACE_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_get_space_before (fo_fo))); break; case PROP_START_INDENT: g_value_set_object (value, G_OBJECT (fo_table_get_start_indent (fo_fo))); break; case PROP_TABLE_LAYOUT: g_value_set_object (value, G_OBJECT (fo_table_get_table_layout (fo_fo))); break; case PROP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_get_width (fo_fo))); break; case PROP_WRITING_MODE: g_value_set_object (value, G_OBJECT (fo_table_get_writing_mode (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTable. **/ void fo_table_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_table_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_table_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_table_set_block_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_table_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_PRECEDENCE: fo_table_set_border_after_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_table_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_table_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_table_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_PRECEDENCE: fo_table_set_border_before_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_table_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_table_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_table_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_table_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_table_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_COLLAPSE: fo_table_set_border_collapse (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_table_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_PRECEDENCE: fo_table_set_border_end_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_table_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_table_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_table_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_table_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_table_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_table_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_table_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_table_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_SEPARATION: fo_table_set_border_separation (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_table_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_PRECEDENCE: fo_table_set_border_start_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_table_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_table_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_table_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_table_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_table_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_AFTER: fo_table_set_break_after (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_BEFORE: fo_table_set_break_before (fo_fo, g_value_get_object (value)); break; case PROP_END_INDENT: fo_table_set_end_indent (fo_fo, g_value_get_object (value)); break; case PROP_HEIGHT: fo_table_set_height (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_table_set_id (fo_fo, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION: fo_table_set_inline_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_table_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_table_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_table_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_table_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_table_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_table_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_table_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_table_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_table_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_table_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_table_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_table_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_BOTTOM: fo_table_set_margin_bottom (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_LEFT: fo_table_set_margin_left (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_RIGHT: fo_table_set_margin_right (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_TOP: fo_table_set_margin_top (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_table_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_table_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_table_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_table_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_table_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_table_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_table_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_table_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_table_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_table_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_AFTER: fo_table_set_space_after (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_BEFORE: fo_table_set_space_before (fo_fo, g_value_get_object (value)); break; case PROP_START_INDENT: fo_table_set_start_indent (fo_fo, g_value_get_object (value)); break; case PROP_TABLE_LAYOUT: fo_table_set_table_layout (fo_fo, g_value_get_object (value)); break; case PROP_WIDTH: fo_table_set_width (fo_fo, g_value_get_object (value)); break; case PROP_WRITING_MODE: fo_table_set_writing_mode (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_new: * * Creates a new #FoTable initialized to default value. * * Return value: the new #FoTable. **/ FoFo* fo_table_new (void) { return FO_FO (g_object_new (fo_table_get_type (), NULL)); } /** * fo_table_error_quark: * * Create and return the #GQuark for use as the error domain for * table. * * Return value: Error domain #GQuark. **/ GQuark fo_table_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("fo-table"); return quark; } /** * fo_table_free_hash_key: * @key: The key * @value: The value (unused) * @user_data: Extra data (unused) * * Free a single hash key **/ static void fo_table_free_hash_key (gpointer key, gpointer value G_GNUC_UNUSED, gpointer user_data G_GNUC_UNUSED) { g_free (key); } /** * fo_table_debug_dump_hash: * @key: * @value: * @data: * * Log the key and value combination of a hash table entry. **/ void fo_table_debug_dump_hash (gpointer key, gpointer value, gpointer data) { gchar *indent = g_strnfill (GPOINTER_TO_INT (data) * 2, ' '); gchar *value_string = fo_object_debug_sprintf (value); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%d,%d : %s", indent, *((int *) key) >> 16, *((int *) key) & 0xff, value_string); g_free (value_string); g_free (indent); } /** * fo_table_get_proportional_unit: * @fo: #FoTable for which to get proportional unit. * * Get the length in points of one proportional unit for @fo. * * Return value: The length in points of one proportional unit. **/ gdouble fo_table_get_proportional_unit (FoFo *fo) { g_return_val_if_fail (FO_IS_TABLE (fo), 0.0); return FO_TABLE (fo)->proportional_unit; } FoDatatype* fo_table_eval_column_fixed_width (FoFo *table_column, GError **error) { FoProperty *column_font_size = NULL; FoProperty *column_column_width = NULL; FoDatatype *column_width_string = NULL; FoDatatype *column_fixed = NULL; FoContext *parent_context = NULL; GError *tmp_error = NULL; g_return_val_if_fail (error == NULL || *error == NULL, NULL); column_font_size = fo_context_get_font_size (fo_fo_get_context (table_column)); column_column_width = fo_table_column_get_column_width (table_column); column_width_string = fo_property_get_value (column_column_width); parent_context = fo_fo_get_context (FO_FO (fo_node_parent (FO_NODE (table_column)))); column_fixed = fo_expr_eval (fo_string_get_value (column_width_string), "column-width", NULL, fo_property_column_width_resolve_percent, column_font_size, table_column, parent_context, fixed_env_list, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } if (!FO_IS_LENGTH (column_fixed)) { g_set_error (error, FO_TABLE_ERROR, FO_TABLE_ERROR_WIDTH_NOT_LENGTH, fo_table_error_messages[FO_TABLE_ERROR_WIDTH_NOT_LENGTH], fo_string_get_value (column_width_string)); return NULL; } return column_fixed; } FoDatatype* fo_table_eval_column_proportional_width (FoFo *table_column, GError **error) { FoProperty *column_font_size = NULL; FoProperty *column_column_width = NULL; FoDatatype *column_width_string = NULL; FoDatatype *column_proportional = NULL; FoContext *parent_context = NULL; GError *tmp_error = NULL; g_return_val_if_fail (error == NULL || *error == NULL, NULL); column_font_size = fo_context_get_font_size (fo_fo_get_context (table_column)); column_column_width = fo_table_column_get_column_width (table_column); column_width_string = fo_property_get_value (column_column_width); parent_context = fo_fo_get_context (FO_FO (fo_node_parent (FO_NODE (table_column)))); gchar *string_value = fo_string_get_value (column_width_string); column_proportional = fo_expr_eval (string_value, "column-width", NULL, fo_property_column_width_resolve_percent, column_font_size, table_column, parent_context, proportional_env_list, &tmp_error); g_free (string_value); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return column_proportional; } FoDatatype* fo_table_eval_column_proportional_fixed_width (FoFo *table_column, GError **error) { FoProperty *column_font_size = NULL; FoProperty *column_column_width = NULL; FoDatatype *column_width_string = NULL; FoDatatype *column_proportional_fixed = NULL; FoContext *parent_context = NULL; GError *tmp_error = NULL; g_return_val_if_fail (error == NULL || *error == NULL, NULL); column_font_size = fo_context_get_font_size (fo_fo_get_context (table_column)); column_column_width = fo_table_column_get_column_width (table_column); column_width_string = fo_property_get_value (column_column_width); parent_context = fo_fo_get_context (FO_FO (fo_node_parent (FO_NODE (table_column)))); column_proportional_fixed = fo_expr_eval (fo_string_get_value (column_width_string), "column-width", NULL, fo_property_column_width_resolve_percent, column_font_size, table_column, parent_context, proportional_fixed_env_list, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return column_proportional_fixed; } void fo_table_resolve_proportional_widths (FoFo *fo, GError **error) { FoTable *fo_table; FoEnumTableLayoutMethod layout_method; gint max_column_number; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); g_return_if_fail (error == NULL || *error == NULL); fo_table = FO_TABLE (fo); layout_method = fo_table->layout_method; max_column_number = fo_table->max_column_number; #if defined(LIBFO_DEBUG) && 0 g_message ("resolve_proportional_widths:: max_column_number: %d", max_column_number); #endif if (layout_method == FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN) { g_set_error (error, FO_TABLE_ERROR, FO_TABLE_ERROR_LAYOUT_METHOD_UNKNOWN, fo_table_error_messages[FO_TABLE_ERROR_LAYOUT_METHOD_UNKNOWN]); return; } if (layout_method == FO_ENUM_TABLE_LAYOUT_METHOD_FIXED) { FoNode *child_node = NULL; FoDatatype *fixed_sum; FoDatatype *proportional_sum; FoArea *table_area; FoFoAreaIterator *iterator; if (max_column_number == 0) { g_set_error (error, FO_TABLE_ERROR, FO_TABLE_ERROR_FIXED_NO_COLUMN, fo_table_error_messages[FO_TABLE_ERROR_FIXED_NO_COLUMN]); return; } fixed_sum = g_object_ref (fo_length_get_length_zero ()); proportional_sum = g_object_ref (fo_pcw_get_pcw_zero ()); child_node = fo_node_first_child (FO_NODE (fo_table)); while (FO_IS_TABLE_COLUMN (child_node)) { FoDatatype *column_fixed_width; FoDatatype *column_proportional_width; GError *tmp_error = NULL; column_fixed_width = fo_table_eval_column_fixed_width (FO_FO (child_node), &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } fixed_sum = fo_datatype_add (fixed_sum, column_fixed_width); column_proportional_width = fo_table_eval_column_proportional_width (FO_FO (child_node), &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } proportional_sum = fo_datatype_add (proportional_sum, column_proportional_width); child_node = fo_node_next_sibling (child_node); } iterator = fo_fo_get_area_iterator (FO_FO (fo_table)); table_area = fo_fo_area_iterator_get_area (iterator); if (table_area != NULL) { gdouble table_area_available_width; gdouble table_fixed_width; table_area_available_width = fo_area_get_child_available_ipdim (table_area); table_fixed_width = fo_length_get_value (fixed_sum); if (table_area_available_width > table_fixed_width) { fo_table->proportional_unit = (table_area_available_width - table_fixed_width) / fo_pcw_get_value (proportional_sum); } else { fo_table->proportional_unit = 0.0; } child_node = fo_node_first_child (FO_NODE (fo_table)); while (FO_IS_TABLE_COLUMN (child_node)) { FoProperty *column_width; FoDatatype *column_proportional_fixed_width; GError *tmp_error = NULL; column_proportional_fixed_width = fo_table_eval_column_proportional_fixed_width (FO_FO (child_node), &tmp_error); column_width = g_object_new (FO_TYPE_PROPERTY_COLUMN_WIDTH, "value", column_proportional_fixed_width, NULL); fo_table_column_set_column_width (FO_FO (child_node), column_width); child_node = fo_node_next_sibling (child_node); } } else { g_set_error (error, FO_TABLE_ERROR, FO_TABLE_ERROR_NO_AREA, fo_table_error_messages[FO_TABLE_ERROR_NO_AREA]); return; } g_free (iterator); } } void fo_table_resolve_column_offsets (FoFo *fo, GError **error) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); g_return_if_fail (FO_TABLE (fo)->max_column_number != 0); g_return_if_fail (error == NULL || *error == NULL); FoTable *fo_table = FO_TABLE (fo); gint max_column_number = fo_table->max_column_number; FoEnumAreaDirection ipd = fo_property_writing_mode_to_ipd (fo_table->writing_mode, NULL); gint initial_column; gboolean increment; gint limit; /* Calculate column offsets either from 1 to max or max to 1 depending on inline-progression-direction value. */ switch (ipd) { case FO_ENUM_AREA_DIRECTION_LR: initial_column = 1; /* Test in 'for' is equality test, so don't stop until after max column number. */ limit = max_column_number + 1; increment = TRUE; break; case FO_ENUM_AREA_DIRECTION_RL: initial_column = max_column_number; /* Test in 'for' is equality test, so don't stop until after first column. */ limit = 0; increment = FALSE; break; default: g_set_error (error, FO_TABLE_ERROR, FO_TABLE_ERROR_INLINE_PROGRESSION_DIRECTION, fo_table_error_messages[FO_TABLE_ERROR_INLINE_PROGRESSION_DIRECTION], ipd); return; } gint column_number; gint key; FoFo *fo_column; gfloat cumulative_offset = 0; for (column_number = initial_column; column_number != limit; increment ? column_number++ : column_number--) { key = fo_table_make_column_hash_key (column_number, 1); fo_column = g_hash_table_lookup (fo_table->column_hash, &key); if (!fo_column) { g_set_error (error, FO_TABLE_ERROR, FO_TABLE_ERROR_MISSING_COLUMN, fo_table_error_messages[FO_TABLE_ERROR_MISSING_COLUMN], column_number); return; } fo_table_column_set_offset (fo_column, cumulative_offset); cumulative_offset += fo_length_get_value (fo_property_get_value (fo_table_column_get_column_width (fo_column))); } } /** * fo_table_span_info_debug_dump: * @fo: #FoTable for which to dump span info. * @depth: Relative indent to add to output. * * Dump info about the spans used in the table. **/ void fo_table_span_info_debug_dump (FoFo *fo, gint depth) { FoTable *fo_table; gchar *string = NULL; gchar *indent = g_strnfill (depth * 2, ' '); gint index; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); fo_table = FO_TABLE (fo); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%snext-column: %d", indent, fo_table->span_info_next_column); if (fo_table->span_info != NULL) { for (index = 0; index < fo_table->max_column_number; index ++) { SpanInfo *span_info = &g_array_index (fo_table->span_info, SpanInfo, index); string = fo_object_debug_sprintf (span_info->table_cell); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%scolumn: %d; rows spanned: %d; table-cell: %s", indent, index + 1, span_info->rows_spanned, string); g_free (string); } } g_free (indent); } /** * fo_table_span_info_start_row: * @fo: #FoTable for which to reset span_info * @error: #GError * * Reset span_info of @fo at the start of a row. **/ void fo_table_span_info_start_row (FoFo *fo, GError **error) { FoTable *fo_table; gint index; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); g_return_if_fail (error == NULL || *error == NULL); fo_table = FO_TABLE (fo); for (index = 0; index < fo_table->max_column_number; index ++) { SpanInfo *span_info = &g_array_index (fo_table->span_info, SpanInfo, index); if (span_info->rows_spanned != 0) { span_info->rows_spanned--; if (span_info->rows_spanned == 0) span_info->table_cell = NULL; } } fo_table->span_info_next_column = 0; for (index = 0; index < fo_table->max_column_number; index ++) { SpanInfo *span_info = &g_array_index (fo_table->span_info, SpanInfo, index); fo_table->span_info_next_column = index + 1; if (span_info->rows_spanned == 0) { break; } } /* if (fo_table->span_info_next_column == fo_table->max_column_number) { g_set_error (error, FO_TABLE_ERROR, FO_TABLE_ERROR_SPANNING_CELLS_FILL_ROW, fo_table_error_messages[FO_TABLE_ERROR_SPANNING_CELLS_FILL_ROW]); } */ } /** * fo_table_span_info_resolve_column_number: * @fo: The #FoTable containing @table_cell. * @table_cell: The #FoTableCell for which to assign a column number. * @column_number: Requested column number, or 0 if not specified. * @columns_spanned: Number of columns spanned by @table_cell. * @rows_spanned: Number of rows spanned by @table_cell. * @error: #GError indicating any error condition that occurred. * * Determine the column-number for @table_cell. * * Return value: The column-number to assign to @table_cell. **/ gint fo_table_span_info_resolve_column_number (FoFo *fo, FoFo *table_cell, gint column_number, gint columns_spanned, gint rows_spanned, GError **error) { g_return_val_if_fail (fo != NULL, 0); g_return_val_if_fail (FO_IS_TABLE (fo), 0); g_return_val_if_fail (FO_IS_TABLE_CELL (table_cell), 0); g_return_val_if_fail (error == NULL || *error == NULL, 0); FoTable *fo_table = FO_TABLE (fo); g_return_val_if_fail (column_number <= fo_table->max_column_number, 0); gint new_column_number; if (column_number == 0) { new_column_number = fo_table->span_info_next_column; } else { new_column_number = column_number; } gint column_index; for (column_index = new_column_number - 1; column_index < (new_column_number + columns_spanned - 1); column_index++) { SpanInfo *span_info = &g_array_index (fo_table->span_info, SpanInfo, column_index); span_info->rows_spanned = rows_spanned; span_info->table_cell = table_cell; } /* The next available column is the next column that does not have an intrusion from the previous row (or, when column numbers are not in sequence in the FO document, that has not yet been filled by a cell in this row). */ /* Subtract 1 when making column_index and add it back when setting span_info_next_column since the span_info GArray counts from 0 and column numbers count from 1. */ for (column_index = new_column_number + columns_spanned - 1; column_index < fo_table->max_column_number; column_index++) { SpanInfo *span_info = &g_array_index (fo_table->span_info, SpanInfo, column_index); if (span_info->rows_spanned == 0) { fo_table->span_info_next_column = column_index + 1; break; } } return new_column_number; } /** * fo_table_resolve_columns: * @fo: #FoTable for which to resolve columns * @error: #GError * * Do housekeeping for table-column FOs now that all FoTableColumn * objects have been created. **/ void fo_table_resolve_columns (FoFo *fo, GError **error) { FoTable *fo_table; GError *tmp_error = NULL; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); g_return_if_fail (error == NULL || *error == NULL); fo_table = FO_TABLE (fo); fo_table_resolve_proportional_widths (fo, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } fo_table_resolve_column_offsets (fo, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } if (fo_table->span_info == NULL) { fo_table->span_info = g_array_sized_new (FALSE, TRUE, sizeof (SpanInfo), fo_table->max_column_number); fo_table->span_info = g_array_set_size (fo_table->span_info, fo_table->max_column_number); } } /** * fo_table_add_column: * @fo: #FoTable * @column_number: Column number of @column * @number_columns_spanned: Number of columns spanned by @column * @column: #FoTableColumn to add to hash * * Add a table-column object to the * column-number+number-columns-spanned hash maintained by @table. **/ void fo_table_add_column (FoFo *fo, gint column_number, gint number_columns_spanned, FoFo *column) { FoTable *fo_table; gint potential_key; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); g_return_if_fail (column_number > 0); g_return_if_fail (number_columns_spanned > 0); g_return_if_fail (column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (column)); fo_table = FO_TABLE (fo); if (column_number > fo_table->max_column_number) fo_table->max_column_number = column_number; potential_key = fo_table_make_column_hash_key (column_number, number_columns_spanned); #if defined(LIBFO_DEBUG) && 0 g_message ("add_column:: number: %d; span: %d; key: %x; column: %s", column_number, number_columns_spanned, potential_key, fo_object_debug_sprintf (column)); #endif if (g_hash_table_lookup (fo_table->column_hash, &column_number)) { g_warning ("Column '%d' already in column hash.", column_number); } else { gint *key = g_new (int, 1); *key = potential_key; g_hash_table_insert (fo_table->column_hash, key, column); } } /** * fo_table_get_column: * @fo: #FoTable that has hash of columns * @column_number: Column number to match * @number_columns_spanned: Number of columns spanned on which to map * * Get the column for a column number and number columns spanned * combination. * * Return value: #FoTableColumn object **/ FoFo* fo_table_get_column (FoFo *fo, gint column_number, gint number_columns_spanned) { gint key = fo_table_make_column_hash_key (column_number, number_columns_spanned); g_return_val_if_fail (fo != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo), NULL); return g_hash_table_lookup (FO_TABLE (fo)->column_hash, &key); } /** * fo_table_get_max_column_number: * @fo: #FoTable that has hash of columns * * Get highest column number of columns registered with table using * fo_table_add_column. * * Return value: Highest column number registered using fo_table_add_column **/ gint fo_table_get_max_column_number (FoFo *fo) { g_return_val_if_fail (fo != NULL, 0); g_return_val_if_fail (FO_IS_TABLE (fo), 0); return FO_TABLE (fo)->max_column_number; } /** * fo_table_validate_content: * @fo: #FoTable object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Content model: (table-column*, table-header?, table-footer?, * table-body+) * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_table_validate_content (FoFo *fo, GError **error) { GError *tmp_error; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_TABLE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_fo_trim_whitespace_children (fo); /* First, check that the structure is correct. */ FoNode *child_node = fo_node_first_child (FO_NODE (fo)); /* Need at least one table-body. */ gboolean have_table_body = FALSE; while (child_node) { FoNode *next_child = fo_node_next_sibling (child_node); if (FO_IS_TABLE_COLUMN (child_node)) { if (FO_IS_TABLE_COLUMN (next_child) || FO_IS_TABLE_HEADER (next_child) || FO_IS_TABLE_FOOTER (next_child) || FO_IS_TABLE_BODY (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_TABLE_HEADER (child_node)) { if (FO_IS_TABLE_FOOTER (next_child) || FO_IS_TABLE_BODY (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_TABLE_FOOTER (child_node)) { if (FO_IS_TABLE_BODY (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_TABLE_BODY (child_node)) { have_table_body = TRUE; if (!next_child || FO_IS_TABLE_BODY (next_child)) { child_node = next_child; } else { goto error; } } else { goto error; } } if (!have_table_body) { goto error; } /* Second, put any table-footer after the table-body (or bodies).*/ child_node = fo_node_first_child (FO_NODE (fo)); FoNode *footer = NULL; while (child_node) { FoNode *next_child = fo_node_next_sibling (child_node); if (FO_IS_TABLE_FOOTER (child_node)) { footer = child_node; fo_node_unlink (footer); break; } child_node = next_child; } if (footer != NULL) { fo_node_append (FO_NODE (fo), footer); } return FALSE; error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } /** * fo_table_validate_content_table_row_table_cell: * @fo: #FoRoot object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraversFunc model: %FALSE indicates content * model is correct, or %TRUE indicates an error. When used with * fo_node_traverse(), returning %TRUE stops the traversal. * * This is used by table-header, table-footer, and table-body. * * Content model: (table-row+ | table-cell+) * * Return value: %FALSE if content model okay, %TRUE if not **/ gboolean fo_table_validate_content_table_row_table_cell (FoFo *fo, GError **error) { FoNode *child_node; GError *tmp_error; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_FO (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_fo_trim_whitespace_children (fo); child_node = fo_node_first_child (FO_NODE (fo)); if (!child_node) goto error; while (child_node) { FoNode *next_child = fo_node_next_sibling (child_node); if (FO_IS_TABLE_ROW (child_node)) { if (!next_child || FO_IS_TABLE_ROW (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_TABLE_CELL (child_node)) { if (!next_child || FO_IS_TABLE_CELL (next_child)) { child_node = next_child; } else { goto error; } } else { goto error; } } return FALSE; error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } /** * fo_table_resolve_layout_method: * @fo: #FoTable * * Set the layout_method property of @fo depending on its * inline_progression_dimension and table_layout properties. **/ void fo_table_resolve_layout_method (FoFo *fo) { FoTable *fo_table; FoDatatype *table_layout_value; FoDatatype *ipdim_value; FoDatatype *ipdim_optimum; FoEnumTableLayoutMethod layout_method = FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN; guint table_layout_enum_value; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); fo_table = FO_TABLE (fo); table_layout_value = fo_property_get_value (fo_table->table_layout); ipdim_value = fo_property_get_value (fo_table->inline_progression_dimension); #if defined(LIBFO_DEBUG) && 0 g_message ("layout_method_resolve::"); fo_object_debug_dump (table_layout_value, 0); fo_object_debug_dump (ipdim_value, 0); #endif g_return_if_fail (FO_IS_ENUM (table_layout_value)); table_layout_enum_value = fo_enum_get_value (table_layout_value); g_return_if_fail (FO_IS_LENGTH_RANGE (ipdim_value)); ipdim_optimum = fo_length_range_get_optimum (ipdim_value); if (FO_IS_ENUM (ipdim_optimum) && fo_enum_get_value (ipdim_optimum) == FO_ENUM_ENUM_AUTO) { if (table_layout_enum_value == FO_ENUM_ENUM_AUTO || table_layout_enum_value == FO_ENUM_ENUM_FIXED) { layout_method = FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC; if (table_layout_enum_value == FO_ENUM_ENUM_FIXED) { GError *local_error = g_error_new (FO_TABLE_ERROR, FO_TABLE_ERROR_FIXED_BUT_AUTO, fo_table_error_messages[FO_TABLE_ERROR_FIXED_BUT_AUTO]); fo_object_log_warning (FO_OBJECT (fo), &local_error); } } else { g_assert_not_reached (); } } else if (FO_IS_LENGTH (ipdim_optimum) || FO_IS_PERCENTAGE (ipdim_optimum)) { if (table_layout_enum_value == FO_ENUM_ENUM_AUTO) { layout_method = FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC; } else if (table_layout_enum_value == FO_ENUM_ENUM_FIXED) { layout_method = FO_ENUM_TABLE_LAYOUT_METHOD_FIXED; } else { g_assert_not_reached (); } } else { g_assert_not_reached (); } fo_table->layout_method = layout_method; } /** * fo_table_validate: * @fo: #FoTable object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_table_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoTable *fo_table; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_table = FO_TABLE (fo); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_margins_indents_resolve (fo, current_context, parent_context); fo_context_util_margins_resolve (current_context, parent_context); fo_context_util_height_width_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_table_resolve_layout_method (fo); if (fo_table->layout_method == FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC) { fo_table->layout_method = FO_ENUM_TABLE_LAYOUT_METHOD_FIXED; GError *local_error = g_error_new (FO_TABLE_ERROR, FO_TABLE_ERROR_FALLBACK_TO_FIXED, fo_table_error_messages[FO_TABLE_ERROR_FALLBACK_TO_FIXED]); fo_object_log_warning (FO_OBJECT (fo), &local_error); } } /** * fo_table_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_table_set_background_color (fo, fo_context_get_background_color (context)); fo_table_set_background_image (fo, fo_context_get_background_image (context)); fo_table_set_block_progression_dimension (fo, fo_context_get_block_progression_dimension (context)); fo_table_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_table_set_border_after_precedence (fo, fo_context_get_border_after_precedence (context)); fo_table_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_table_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_table_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_table_set_border_before_precedence (fo, fo_context_get_border_before_precedence (context)); fo_table_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_table_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_table_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_table_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_table_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_table_set_border_collapse (fo, fo_context_get_border_collapse (context)); fo_table_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_table_set_border_end_precedence (fo, fo_context_get_border_end_precedence (context)); fo_table_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_table_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_table_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_table_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_table_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_table_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_table_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_table_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_table_set_border_separation (fo, fo_context_get_border_separation (context)); fo_table_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_table_set_border_start_precedence (fo, fo_context_get_border_start_precedence (context)); fo_table_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_table_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_table_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_table_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_table_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_table_set_break_after (fo, fo_context_get_break_after (context)); fo_table_set_break_before (fo, fo_context_get_break_before (context)); fo_table_set_end_indent (fo, fo_context_get_end_indent (context)); fo_table_set_height (fo, fo_context_get_height (context)); fo_table_set_id (fo, fo_context_get_id (context)); fo_table_set_inline_progression_dimension (fo, fo_context_get_inline_progression_dimension (context)); fo_table_set_keep_together (fo, fo_context_get_keep_together (context)); fo_table_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_table_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_table_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_table_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_table_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_table_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_table_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_table_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_table_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_table_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_table_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_table_set_margin_bottom (fo, fo_context_get_margin_bottom (context)); fo_table_set_margin_left (fo, fo_context_get_margin_left (context)); fo_table_set_margin_right (fo, fo_context_get_margin_right (context)); fo_table_set_margin_top (fo, fo_context_get_margin_top (context)); fo_table_set_padding_after (fo, fo_context_get_padding_after (context)); fo_table_set_padding_before (fo, fo_context_get_padding_before (context)); fo_table_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_table_set_padding_end (fo, fo_context_get_padding_end (context)); fo_table_set_padding_left (fo, fo_context_get_padding_left (context)); fo_table_set_padding_right (fo, fo_context_get_padding_right (context)); fo_table_set_padding_start (fo, fo_context_get_padding_start (context)); fo_table_set_padding_top (fo, fo_context_get_padding_top (context)); fo_table_set_role (fo, fo_context_get_role (context)); fo_table_set_source_document (fo, fo_context_get_source_document (context)); fo_table_set_space_after (fo, fo_context_get_space_after (context)); fo_table_set_space_before (fo, fo_context_get_space_before (context)); fo_table_set_start_indent (fo, fo_context_get_start_indent (context)); fo_table_set_table_layout (fo, fo_context_get_table_layout (context)); fo_table_set_width (fo, fo_context_get_width (context)); fo_table_set_writing_mode (fo, fo_context_get_writing_mode (context)); } /** * fo_table_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_table_debug_dump_properties (FoFo *fo, gint depth) { FoTable *fo_table; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE (fo)); fo_table = FO_TABLE (fo); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%slayout-method: %s", indent, fo_table->layout_method == FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC ? "automatic" : "fixed"); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%smax-column-number: %d", indent, fo_table->max_column_number); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%scolumn hash:", indent); g_hash_table_foreach (fo_table->column_hash, fo_table_debug_dump_hash, GINT_TO_POINTER (depth + 1)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sspan-info:", indent); fo_table_span_info_debug_dump (fo, depth + 1); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sproportional-unit: %g", indent, fo_table->proportional_unit); fo_object_debug_dump (fo_table->background_color, depth); fo_object_debug_dump (fo_table->background_image, depth); fo_object_debug_dump (fo_table->block_progression_dimension, depth); fo_object_debug_dump (fo_table->border_after_color, depth); fo_object_debug_dump (fo_table->border_after_precedence, depth); fo_object_debug_dump (fo_table->border_after_style, depth); fo_object_debug_dump (fo_table->border_after_width, depth); fo_object_debug_dump (fo_table->border_before_color, depth); fo_object_debug_dump (fo_table->border_before_precedence, depth); fo_object_debug_dump (fo_table->border_before_style, depth); fo_object_debug_dump (fo_table->border_before_width, depth); fo_object_debug_dump (fo_table->border_bottom_color, depth); fo_object_debug_dump (fo_table->border_bottom_style, depth); fo_object_debug_dump (fo_table->border_bottom_width, depth); fo_object_debug_dump (fo_table->border_collapse, depth); fo_object_debug_dump (fo_table->border_end_color, depth); fo_object_debug_dump (fo_table->border_end_precedence, depth); fo_object_debug_dump (fo_table->border_end_style, depth); fo_object_debug_dump (fo_table->border_end_width, depth); fo_object_debug_dump (fo_table->border_left_color, depth); fo_object_debug_dump (fo_table->border_left_style, depth); fo_object_debug_dump (fo_table->border_left_width, depth); fo_object_debug_dump (fo_table->border_right_color, depth); fo_object_debug_dump (fo_table->border_right_style, depth); fo_object_debug_dump (fo_table->border_right_width, depth); fo_object_debug_dump (fo_table->border_separation, depth); fo_object_debug_dump (fo_table->border_start_color, depth); fo_object_debug_dump (fo_table->border_start_precedence, depth); fo_object_debug_dump (fo_table->border_start_style, depth); fo_object_debug_dump (fo_table->border_start_width, depth); fo_object_debug_dump (fo_table->border_top_color, depth); fo_object_debug_dump (fo_table->border_top_style, depth); fo_object_debug_dump (fo_table->border_top_width, depth); fo_object_debug_dump (fo_table->break_after, depth); fo_object_debug_dump (fo_table->break_before, depth); fo_object_debug_dump (fo_table->end_indent, depth); fo_object_debug_dump (fo_table->height, depth); fo_object_debug_dump (fo_table->id, depth); fo_object_debug_dump (fo_table->inline_progression_dimension, depth); fo_object_debug_dump (fo_table->keep_together, depth); fo_object_debug_dump (fo_table->keep_together_within_column, depth); fo_object_debug_dump (fo_table->keep_together_within_line, depth); fo_object_debug_dump (fo_table->keep_together_within_page, depth); fo_object_debug_dump (fo_table->keep_with_next, depth); fo_object_debug_dump (fo_table->keep_with_next_within_column, depth); fo_object_debug_dump (fo_table->keep_with_next_within_line, depth); fo_object_debug_dump (fo_table->keep_with_next_within_page, depth); fo_object_debug_dump (fo_table->keep_with_previous, depth); fo_object_debug_dump (fo_table->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_table->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_table->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_table->margin_bottom, depth); fo_object_debug_dump (fo_table->margin_left, depth); fo_object_debug_dump (fo_table->margin_right, depth); fo_object_debug_dump (fo_table->margin_top, depth); fo_object_debug_dump (fo_table->padding_after, depth); fo_object_debug_dump (fo_table->padding_before, depth); fo_object_debug_dump (fo_table->padding_bottom, depth); fo_object_debug_dump (fo_table->padding_end, depth); fo_object_debug_dump (fo_table->padding_left, depth); fo_object_debug_dump (fo_table->padding_right, depth); fo_object_debug_dump (fo_table->padding_start, depth); fo_object_debug_dump (fo_table->padding_top, depth); fo_object_debug_dump (fo_table->role, depth); fo_object_debug_dump (fo_table->source_document, depth); fo_object_debug_dump (fo_table->space_after, depth); fo_object_debug_dump (fo_table->space_before, depth); fo_object_debug_dump (fo_table->start_indent, depth); fo_object_debug_dump (fo_table->table_layout, depth); fo_object_debug_dump (fo_table->width, depth); fo_object_debug_dump (fo_table->writing_mode, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); g_free (indent); } /** * fo_table_get_layout_method: * @fo_fo: The @FoFo object * * Gets the #layout-method property of @table * * Return value: The "layout-method" property value **/ FoEnumTableLayoutMethod fo_table_get_layout_method (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN); g_return_val_if_fail (FO_IS_TABLE (fo_table), FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN); return fo_table->layout_method; } /** * fo_table_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty* fo_table_get_background_color (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->background_color; } /** * fo_table_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_table_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_table->background_color != NULL) { g_object_unref (fo_table->background_color); } fo_table->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_table), "background-color");*/ } /** * fo_table_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_table_get_background_image (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->background_image; } /** * fo_table_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_table_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_table->background_image != NULL) { g_object_unref (fo_table->background_image); } fo_table->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_table), "background-image");*/ } /** * fo_table_get_block_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "block-progression-dimension" property of @fo_fo * * Return value: The "block-progression-dimension" property value **/ FoProperty* fo_table_get_block_progression_dimension (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->block_progression_dimension; } /** * fo_table_set_block_progression_dimension: * @fo_fo: The #FoFo object * @new_block_progression_dimension: The new "block-progression-dimension" property value * * Sets the "block-progression-dimension" property of @fo_fo to @new_block_progression_dimension **/ void fo_table_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_table->block_progression_dimension != NULL) { g_object_unref (fo_table->block_progression_dimension); } fo_table->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_table), "block-progression-dimension");*/ } /** * fo_table_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_table_get_border_after_color (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_after_color; } /** * fo_table_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_table_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_table->border_after_color != NULL) { g_object_unref (fo_table->border_after_color); } fo_table->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_table), "border-after-color");*/ } /** * fo_table_get_border_after_precedence: * @fo_fo: The @FoFo object * * Gets the "border-after-precedence" property of @fo_fo * * Return value: The "border-after-precedence" property value **/ FoProperty* fo_table_get_border_after_precedence (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_after_precedence; } /** * fo_table_set_border_after_precedence: * @fo_fo: The #FoFo object * @new_border_after_precedence: The new "border-after-precedence" property value * * Sets the "border-after-precedence" property of @fo_fo to @new_border_after_precedence **/ void fo_table_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE (new_border_after_precedence)); if (new_border_after_precedence != NULL) { g_object_ref (new_border_after_precedence); } if (fo_table->border_after_precedence != NULL) { g_object_unref (fo_table->border_after_precedence); } fo_table->border_after_precedence = new_border_after_precedence; /*g_object_notify (G_OBJECT (fo_table), "border-after-precedence");*/ } /** * fo_table_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_table_get_border_after_style (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_after_style; } /** * fo_table_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_table_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_table->border_after_style != NULL) { g_object_unref (fo_table->border_after_style); } fo_table->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_table), "border-after-style");*/ } /** * fo_table_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_table_get_border_after_width (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_after_width; } /** * fo_table_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_table_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_table->border_after_width != NULL) { g_object_unref (fo_table->border_after_width); } fo_table->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_table), "border-after-width");*/ } /** * fo_table_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_table_get_border_before_color (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_before_color; } /** * fo_table_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_table_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_table->border_before_color != NULL) { g_object_unref (fo_table->border_before_color); } fo_table->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_table), "border-before-color");*/ } /** * fo_table_get_border_before_precedence: * @fo_fo: The @FoFo object * * Gets the "border-before-precedence" property of @fo_fo * * Return value: The "border-before-precedence" property value **/ FoProperty* fo_table_get_border_before_precedence (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_before_precedence; } /** * fo_table_set_border_before_precedence: * @fo_fo: The #FoFo object * @new_border_before_precedence: The new "border-before-precedence" property value * * Sets the "border-before-precedence" property of @fo_fo to @new_border_before_precedence **/ void fo_table_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE (new_border_before_precedence)); if (new_border_before_precedence != NULL) { g_object_ref (new_border_before_precedence); } if (fo_table->border_before_precedence != NULL) { g_object_unref (fo_table->border_before_precedence); } fo_table->border_before_precedence = new_border_before_precedence; /*g_object_notify (G_OBJECT (fo_table), "border-before-precedence");*/ } /** * fo_table_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_table_get_border_before_style (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_before_style; } /** * fo_table_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_table_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_table->border_before_style != NULL) { g_object_unref (fo_table->border_before_style); } fo_table->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_table), "border-before-style");*/ } /** * fo_table_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_table_get_border_before_width (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_before_width; } /** * fo_table_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_table_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_table->border_before_width != NULL) { g_object_unref (fo_table->border_before_width); } fo_table->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_table), "border-before-width");*/ } /** * fo_table_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_table_get_border_bottom_color (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_bottom_color; } /** * fo_table_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_table_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_table->border_bottom_color != NULL) { g_object_unref (fo_table->border_bottom_color); } fo_table->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_table), "border-bottom-color");*/ } /** * fo_table_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_table_get_border_bottom_style (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_bottom_style; } /** * fo_table_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_table_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_table->border_bottom_style != NULL) { g_object_unref (fo_table->border_bottom_style); } fo_table->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_table), "border-bottom-style");*/ } /** * fo_table_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_table_get_border_bottom_width (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_bottom_width; } /** * fo_table_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_table_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_table->border_bottom_width != NULL) { g_object_unref (fo_table->border_bottom_width); } fo_table->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_table), "border-bottom-width");*/ } /** * fo_table_get_border_collapse: * @fo_fo: The @FoFo object * * Gets the "border-collapse" property of @fo_fo * * Return value: The "border-collapse" property value **/ FoProperty* fo_table_get_border_collapse (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_collapse; } /** * fo_table_set_border_collapse: * @fo_fo: The #FoFo object * @new_border_collapse: The new "border-collapse" property value * * Sets the "border-collapse" property of @fo_fo to @new_border_collapse **/ void fo_table_set_border_collapse (FoFo *fo_fo, FoProperty *new_border_collapse) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_COLLAPSE (new_border_collapse)); if (new_border_collapse != NULL) { g_object_ref (new_border_collapse); } if (fo_table->border_collapse != NULL) { g_object_unref (fo_table->border_collapse); } fo_table->border_collapse = new_border_collapse; /*g_object_notify (G_OBJECT (fo_table), "border-collapse");*/ } /** * fo_table_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_table_get_border_end_color (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_end_color; } /** * fo_table_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_table_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_table->border_end_color != NULL) { g_object_unref (fo_table->border_end_color); } fo_table->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_table), "border-end-color");*/ } /** * fo_table_get_border_end_precedence: * @fo_fo: The @FoFo object * * Gets the "border-end-precedence" property of @fo_fo * * Return value: The "border-end-precedence" property value **/ FoProperty* fo_table_get_border_end_precedence (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_end_precedence; } /** * fo_table_set_border_end_precedence: * @fo_fo: The #FoFo object * @new_border_end_precedence: The new "border-end-precedence" property value * * Sets the "border-end-precedence" property of @fo_fo to @new_border_end_precedence **/ void fo_table_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_PRECEDENCE (new_border_end_precedence)); if (new_border_end_precedence != NULL) { g_object_ref (new_border_end_precedence); } if (fo_table->border_end_precedence != NULL) { g_object_unref (fo_table->border_end_precedence); } fo_table->border_end_precedence = new_border_end_precedence; /*g_object_notify (G_OBJECT (fo_table), "border-end-precedence");*/ } /** * fo_table_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_table_get_border_end_style (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_end_style; } /** * fo_table_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_table_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_table->border_end_style != NULL) { g_object_unref (fo_table->border_end_style); } fo_table->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_table), "border-end-style");*/ } /** * fo_table_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_table_get_border_end_width (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_end_width; } /** * fo_table_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_table_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_table->border_end_width != NULL) { g_object_unref (fo_table->border_end_width); } fo_table->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_table), "border-end-width");*/ } /** * fo_table_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_table_get_border_left_color (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_left_color; } /** * fo_table_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_table_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_table->border_left_color != NULL) { g_object_unref (fo_table->border_left_color); } fo_table->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_table), "border-left-color");*/ } /** * fo_table_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_table_get_border_left_style (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_left_style; } /** * fo_table_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_table_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_table->border_left_style != NULL) { g_object_unref (fo_table->border_left_style); } fo_table->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_table), "border-left-style");*/ } /** * fo_table_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_table_get_border_left_width (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_left_width; } /** * fo_table_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_table_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_table->border_left_width != NULL) { g_object_unref (fo_table->border_left_width); } fo_table->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_table), "border-left-width");*/ } /** * fo_table_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_table_get_border_right_color (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_right_color; } /** * fo_table_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_table_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_table->border_right_color != NULL) { g_object_unref (fo_table->border_right_color); } fo_table->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_table), "border-right-color");*/ } /** * fo_table_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_table_get_border_right_style (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_right_style; } /** * fo_table_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_table_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_table->border_right_style != NULL) { g_object_unref (fo_table->border_right_style); } fo_table->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_table), "border-right-style");*/ } /** * fo_table_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_table_get_border_right_width (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_right_width; } /** * fo_table_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_table_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_table->border_right_width != NULL) { g_object_unref (fo_table->border_right_width); } fo_table->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_table), "border-right-width");*/ } /** * fo_table_get_border_separation: * @fo_fo: The @FoFo object * * Gets the "border-separation" property of @fo_fo * * Return value: The "border-separation" property value **/ FoProperty* fo_table_get_border_separation (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_separation; } /** * fo_table_set_border_separation: * @fo_fo: The #FoFo object * @new_border_separation: The new "border-separation" property value * * Sets the "border-separation" property of @fo_fo to @new_border_separation **/ void fo_table_set_border_separation (FoFo *fo_fo, FoProperty *new_border_separation) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_SEPARATION (new_border_separation)); if (new_border_separation != NULL) { g_object_ref (new_border_separation); } if (fo_table->border_separation != NULL) { g_object_unref (fo_table->border_separation); } fo_table->border_separation = new_border_separation; /*g_object_notify (G_OBJECT (fo_table), "border-separation");*/ } /** * fo_table_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_table_get_border_start_color (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_start_color; } /** * fo_table_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_table_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_table->border_start_color != NULL) { g_object_unref (fo_table->border_start_color); } fo_table->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_table), "border-start-color");*/ } /** * fo_table_get_border_start_precedence: * @fo_fo: The @FoFo object * * Gets the "border-start-precedence" property of @fo_fo * * Return value: The "border-start-precedence" property value **/ FoProperty* fo_table_get_border_start_precedence (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_start_precedence; } /** * fo_table_set_border_start_precedence: * @fo_fo: The #FoFo object * @new_border_start_precedence: The new "border-start-precedence" property value * * Sets the "border-start-precedence" property of @fo_fo to @new_border_start_precedence **/ void fo_table_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_PRECEDENCE (new_border_start_precedence)); if (new_border_start_precedence != NULL) { g_object_ref (new_border_start_precedence); } if (fo_table->border_start_precedence != NULL) { g_object_unref (fo_table->border_start_precedence); } fo_table->border_start_precedence = new_border_start_precedence; /*g_object_notify (G_OBJECT (fo_table), "border-start-precedence");*/ } /** * fo_table_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_table_get_border_start_style (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_start_style; } /** * fo_table_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_table_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_table->border_start_style != NULL) { g_object_unref (fo_table->border_start_style); } fo_table->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_table), "border-start-style");*/ } /** * fo_table_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_table_get_border_start_width (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_start_width; } /** * fo_table_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_table_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_table->border_start_width != NULL) { g_object_unref (fo_table->border_start_width); } fo_table->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_table), "border-start-width");*/ } /** * fo_table_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_table_get_border_top_color (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_top_color; } /** * fo_table_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_table_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_table->border_top_color != NULL) { g_object_unref (fo_table->border_top_color); } fo_table->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_table), "border-top-color");*/ } /** * fo_table_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_table_get_border_top_style (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_top_style; } /** * fo_table_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_table_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_table->border_top_style != NULL) { g_object_unref (fo_table->border_top_style); } fo_table->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_table), "border-top-style");*/ } /** * fo_table_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_table_get_border_top_width (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->border_top_width; } /** * fo_table_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_table_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_table->border_top_width != NULL) { g_object_unref (fo_table->border_top_width); } fo_table->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_table), "border-top-width");*/ } /** * fo_table_get_break_after: * @fo_fo: The @FoFo object * * Gets the "break-after" property of @fo_fo * * Return value: The "break-after" property value **/ FoProperty* fo_table_get_break_after (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->break_after; } /** * fo_table_set_break_after: * @fo_fo: The #FoFo object * @new_break_after: The new "break-after" property value * * Sets the "break-after" property of @fo_fo to @new_break_after **/ void fo_table_set_break_after (FoFo *fo_fo, FoProperty *new_break_after) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BREAK_AFTER (new_break_after)); if (new_break_after != NULL) { g_object_ref (new_break_after); } if (fo_table->break_after != NULL) { g_object_unref (fo_table->break_after); } fo_table->break_after = new_break_after; /*g_object_notify (G_OBJECT (fo_table), "break-after");*/ } /** * fo_table_get_break_before: * @fo_fo: The @FoFo object * * Gets the "break-before" property of @fo_fo * * Return value: The "break-before" property value **/ FoProperty* fo_table_get_break_before (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->break_before; } /** * fo_table_set_break_before: * @fo_fo: The #FoFo object * @new_break_before: The new "break-before" property value * * Sets the "break-before" property of @fo_fo to @new_break_before **/ void fo_table_set_break_before (FoFo *fo_fo, FoProperty *new_break_before) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_BREAK_BEFORE (new_break_before)); if (new_break_before != NULL) { g_object_ref (new_break_before); } if (fo_table->break_before != NULL) { g_object_unref (fo_table->break_before); } fo_table->break_before = new_break_before; /*g_object_notify (G_OBJECT (fo_table), "break-before");*/ } /** * fo_table_get_end_indent: * @fo_fo: The @FoFo object * * Gets the "end-indent" property of @fo_fo * * Return value: The "end-indent" property value **/ FoProperty* fo_table_get_end_indent (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->end_indent; } /** * fo_table_set_end_indent: * @fo_fo: The #FoFo object * @new_end_indent: The new "end-indent" property value * * Sets the "end-indent" property of @fo_fo to @new_end_indent **/ void fo_table_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_END_INDENT (new_end_indent)); if (new_end_indent != NULL) { g_object_ref (new_end_indent); } if (fo_table->end_indent != NULL) { g_object_unref (fo_table->end_indent); } fo_table->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_table), "end-indent");*/ } /** * fo_table_get_height: * @fo_fo: The @FoFo object * * Gets the "height" property of @fo_fo * * Return value: The "height" property value **/ FoProperty* fo_table_get_height (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->height; } /** * fo_table_set_height: * @fo_fo: The #FoFo object * @new_height: The new "height" property value * * Sets the "height" property of @fo_fo to @new_height **/ void fo_table_set_height (FoFo *fo_fo, FoProperty *new_height) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_table->height != NULL) { g_object_unref (fo_table->height); } fo_table->height = new_height; /*g_object_notify (G_OBJECT (fo_table), "height");*/ } /** * fo_table_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_table_get_id (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->id; } /** * fo_table_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_table_set_id (FoFo *fo_fo, FoProperty *new_id) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_table->id != NULL) { g_object_unref (fo_table->id); } fo_table->id = new_id; /*g_object_notify (G_OBJECT (fo_table), "id");*/ } /** * fo_table_get_inline_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "inline-progression-dimension" property of @fo_fo * * Return value: The "inline-progression-dimension" property value **/ FoProperty* fo_table_get_inline_progression_dimension (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->inline_progression_dimension; } /** * fo_table_set_inline_progression_dimension: * @fo_fo: The #FoFo object * @new_inline_progression_dimension: The new "inline-progression-dimension" property value * * Sets the "inline-progression-dimension" property of @fo_fo to @new_inline_progression_dimension **/ void fo_table_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (new_inline_progression_dimension)); if (new_inline_progression_dimension != NULL) { g_object_ref (new_inline_progression_dimension); } if (fo_table->inline_progression_dimension != NULL) { g_object_unref (fo_table->inline_progression_dimension); } fo_table->inline_progression_dimension = new_inline_progression_dimension; /*g_object_notify (G_OBJECT (fo_table), "inline-progression-dimension");*/ } /** * fo_table_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_table_get_keep_together (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_together; } /** * fo_table_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_table_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_table->keep_together != NULL) { g_object_unref (fo_table->keep_together); } fo_table->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_table), "keep-together");*/ } /** * fo_table_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_table_get_keep_together_within_column (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_together_within_column; } /** * fo_table_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_table_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_table->keep_together_within_column != NULL) { g_object_unref (fo_table->keep_together_within_column); } fo_table->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_table), "keep-together-within-column");*/ } /** * fo_table_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_table_get_keep_together_within_line (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_together_within_line; } /** * fo_table_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_table_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_table->keep_together_within_line != NULL) { g_object_unref (fo_table->keep_together_within_line); } fo_table->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_table), "keep-together-within-line");*/ } /** * fo_table_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_table_get_keep_together_within_page (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_together_within_page; } /** * fo_table_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_table_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_table->keep_together_within_page != NULL) { g_object_unref (fo_table->keep_together_within_page); } fo_table->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_table), "keep-together-within-page");*/ } /** * fo_table_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_table_get_keep_with_next (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_with_next; } /** * fo_table_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_table_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_table->keep_with_next != NULL) { g_object_unref (fo_table->keep_with_next); } fo_table->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_table), "keep-with-next");*/ } /** * fo_table_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_table_get_keep_with_next_within_column (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_with_next_within_column; } /** * fo_table_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_table_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_table->keep_with_next_within_column != NULL) { g_object_unref (fo_table->keep_with_next_within_column); } fo_table->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_table), "keep-with-next-within-column");*/ } /** * fo_table_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_table_get_keep_with_next_within_line (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_with_next_within_line; } /** * fo_table_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_table_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_table->keep_with_next_within_line != NULL) { g_object_unref (fo_table->keep_with_next_within_line); } fo_table->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_table), "keep-with-next-within-line");*/ } /** * fo_table_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_table_get_keep_with_next_within_page (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_with_next_within_page; } /** * fo_table_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_table_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_table->keep_with_next_within_page != NULL) { g_object_unref (fo_table->keep_with_next_within_page); } fo_table->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_table), "keep-with-next-within-page");*/ } /** * fo_table_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_table_get_keep_with_previous (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_with_previous; } /** * fo_table_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_table_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_table->keep_with_previous != NULL) { g_object_unref (fo_table->keep_with_previous); } fo_table->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_table), "keep-with-previous");*/ } /** * fo_table_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_table_get_keep_with_previous_within_column (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_with_previous_within_column; } /** * fo_table_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_table_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_table->keep_with_previous_within_column != NULL) { g_object_unref (fo_table->keep_with_previous_within_column); } fo_table->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_table), "keep-with-previous-within-column");*/ } /** * fo_table_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_table_get_keep_with_previous_within_line (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_with_previous_within_line; } /** * fo_table_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_table_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_table->keep_with_previous_within_line != NULL) { g_object_unref (fo_table->keep_with_previous_within_line); } fo_table->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_table), "keep-with-previous-within-line");*/ } /** * fo_table_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_table_get_keep_with_previous_within_page (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->keep_with_previous_within_page; } /** * fo_table_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_table_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_table->keep_with_previous_within_page != NULL) { g_object_unref (fo_table->keep_with_previous_within_page); } fo_table->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_table), "keep-with-previous-within-page");*/ } /** * fo_table_get_margin_bottom: * @fo_fo: The @FoFo object * * Gets the "margin-bottom" property of @fo_fo * * Return value: The "margin-bottom" property value **/ FoProperty* fo_table_get_margin_bottom (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->margin_bottom; } /** * fo_table_set_margin_bottom: * @fo_fo: The #FoFo object * @new_margin_bottom: The new "margin-bottom" property value * * Sets the "margin-bottom" property of @fo_fo to @new_margin_bottom **/ void fo_table_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_BOTTOM (new_margin_bottom)); if (new_margin_bottom != NULL) { g_object_ref (new_margin_bottom); } if (fo_table->margin_bottom != NULL) { g_object_unref (fo_table->margin_bottom); } fo_table->margin_bottom = new_margin_bottom; /*g_object_notify (G_OBJECT (fo_table), "margin-bottom");*/ } /** * fo_table_get_margin_left: * @fo_fo: The @FoFo object * * Gets the "margin-left" property of @fo_fo * * Return value: The "margin-left" property value **/ FoProperty* fo_table_get_margin_left (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->margin_left; } /** * fo_table_set_margin_left: * @fo_fo: The #FoFo object * @new_margin_left: The new "margin-left" property value * * Sets the "margin-left" property of @fo_fo to @new_margin_left **/ void fo_table_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_LEFT (new_margin_left)); if (new_margin_left != NULL) { g_object_ref (new_margin_left); } if (fo_table->margin_left != NULL) { g_object_unref (fo_table->margin_left); } fo_table->margin_left = new_margin_left; /*g_object_notify (G_OBJECT (fo_table), "margin-left");*/ } /** * fo_table_get_margin_right: * @fo_fo: The @FoFo object * * Gets the "margin-right" property of @fo_fo * * Return value: The "margin-right" property value **/ FoProperty* fo_table_get_margin_right (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->margin_right; } /** * fo_table_set_margin_right: * @fo_fo: The #FoFo object * @new_margin_right: The new "margin-right" property value * * Sets the "margin-right" property of @fo_fo to @new_margin_right **/ void fo_table_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_RIGHT (new_margin_right)); if (new_margin_right != NULL) { g_object_ref (new_margin_right); } if (fo_table->margin_right != NULL) { g_object_unref (fo_table->margin_right); } fo_table->margin_right = new_margin_right; /*g_object_notify (G_OBJECT (fo_table), "margin-right");*/ } /** * fo_table_get_margin_top: * @fo_fo: The @FoFo object * * Gets the "margin-top" property of @fo_fo * * Return value: The "margin-top" property value **/ FoProperty* fo_table_get_margin_top (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->margin_top; } /** * fo_table_set_margin_top: * @fo_fo: The #FoFo object * @new_margin_top: The new "margin-top" property value * * Sets the "margin-top" property of @fo_fo to @new_margin_top **/ void fo_table_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_TOP (new_margin_top)); if (new_margin_top != NULL) { g_object_ref (new_margin_top); } if (fo_table->margin_top != NULL) { g_object_unref (fo_table->margin_top); } fo_table->margin_top = new_margin_top; /*g_object_notify (G_OBJECT (fo_table), "margin-top");*/ } /** * fo_table_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_table_get_padding_after (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->padding_after; } /** * fo_table_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_table_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_table->padding_after != NULL) { g_object_unref (fo_table->padding_after); } fo_table->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_table), "padding-after");*/ } /** * fo_table_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_table_get_padding_before (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->padding_before; } /** * fo_table_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_table_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_table->padding_before != NULL) { g_object_unref (fo_table->padding_before); } fo_table->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_table), "padding-before");*/ } /** * fo_table_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_table_get_padding_bottom (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->padding_bottom; } /** * fo_table_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_table_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_table->padding_bottom != NULL) { g_object_unref (fo_table->padding_bottom); } fo_table->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_table), "padding-bottom");*/ } /** * fo_table_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_table_get_padding_end (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->padding_end; } /** * fo_table_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_table_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_table->padding_end != NULL) { g_object_unref (fo_table->padding_end); } fo_table->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_table), "padding-end");*/ } /** * fo_table_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_table_get_padding_left (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->padding_left; } /** * fo_table_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_table_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_table->padding_left != NULL) { g_object_unref (fo_table->padding_left); } fo_table->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_table), "padding-left");*/ } /** * fo_table_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_table_get_padding_right (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->padding_right; } /** * fo_table_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_table_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_table->padding_right != NULL) { g_object_unref (fo_table->padding_right); } fo_table->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_table), "padding-right");*/ } /** * fo_table_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_table_get_padding_start (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->padding_start; } /** * fo_table_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_table_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_table->padding_start != NULL) { g_object_unref (fo_table->padding_start); } fo_table->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_table), "padding-start");*/ } /** * fo_table_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_table_get_padding_top (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->padding_top; } /** * fo_table_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_table_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_table->padding_top != NULL) { g_object_unref (fo_table->padding_top); } fo_table->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_table), "padding-top");*/ } /** * fo_table_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_table_get_role (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->role; } /** * fo_table_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_table_set_role (FoFo *fo_fo, FoProperty *new_role) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_table->role != NULL) { g_object_unref (fo_table->role); } fo_table->role = new_role; /*g_object_notify (G_OBJECT (fo_table), "role");*/ } /** * fo_table_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_table_get_source_document (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->source_document; } /** * fo_table_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_table_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_table->source_document != NULL) { g_object_unref (fo_table->source_document); } fo_table->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_table), "source-document");*/ } /** * fo_table_get_space_after: * @fo_fo: The @FoFo object * * Gets the "space-after" property of @fo_fo * * Return value: The "space-after" property value **/ FoProperty* fo_table_get_space_after (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->space_after; } /** * fo_table_set_space_after: * @fo_fo: The #FoFo object * @new_space_after: The new "space-after" property value * * Sets the "space-after" property of @fo_fo to @new_space_after **/ void fo_table_set_space_after (FoFo *fo_fo, FoProperty *new_space_after) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_SPACE_AFTER (new_space_after)); if (new_space_after != NULL) { g_object_ref (new_space_after); } if (fo_table->space_after != NULL) { g_object_unref (fo_table->space_after); } fo_table->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_table), "space-after");*/ } /** * fo_table_get_space_before: * @fo_fo: The @FoFo object * * Gets the "space-before" property of @fo_fo * * Return value: The "space-before" property value **/ FoProperty* fo_table_get_space_before (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->space_before; } /** * fo_table_set_space_before: * @fo_fo: The #FoFo object * @new_space_before: The new "space-before" property value * * Sets the "space-before" property of @fo_fo to @new_space_before **/ void fo_table_set_space_before (FoFo *fo_fo, FoProperty *new_space_before) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_SPACE_BEFORE (new_space_before)); if (new_space_before != NULL) { g_object_ref (new_space_before); } if (fo_table->space_before != NULL) { g_object_unref (fo_table->space_before); } fo_table->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_table), "space-before");*/ } /** * fo_table_get_start_indent: * @fo_fo: The @FoFo object * * Gets the "start-indent" property of @fo_fo * * Return value: The "start-indent" property value **/ FoProperty* fo_table_get_start_indent (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->start_indent; } /** * fo_table_set_start_indent: * @fo_fo: The #FoFo object * @new_start_indent: The new "start-indent" property value * * Sets the "start-indent" property of @fo_fo to @new_start_indent **/ void fo_table_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_START_INDENT (new_start_indent)); if (new_start_indent != NULL) { g_object_ref (new_start_indent); } if (fo_table->start_indent != NULL) { g_object_unref (fo_table->start_indent); } fo_table->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_table), "start-indent");*/ } /** * fo_table_get_table_layout: * @fo_fo: The @FoFo object * * Gets the "table-layout" property of @fo_fo * * Return value: The "table-layout" property value **/ FoProperty* fo_table_get_table_layout (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->table_layout; } /** * fo_table_set_table_layout: * @fo_fo: The #FoFo object * @new_table_layout: The new "table-layout" property value * * Sets the "table-layout" property of @fo_fo to @new_table_layout **/ void fo_table_set_table_layout (FoFo *fo_fo, FoProperty *new_table_layout) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_TABLE_LAYOUT (new_table_layout)); if (new_table_layout != NULL) { g_object_ref (new_table_layout); } if (fo_table->table_layout != NULL) { g_object_unref (fo_table->table_layout); } fo_table->table_layout = new_table_layout; /*g_object_notify (G_OBJECT (fo_table), "table-layout");*/ } /** * fo_table_get_width: * @fo_fo: The @FoFo object * * Gets the "width" property of @fo_fo * * Return value: The "width" property value **/ FoProperty* fo_table_get_width (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->width; } /** * fo_table_set_width: * @fo_fo: The #FoFo object * @new_width: The new "width" property value * * Sets the "width" property of @fo_fo to @new_width **/ void fo_table_set_width (FoFo *fo_fo, FoProperty *new_width) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_WIDTH (new_width)); if (new_width != NULL) { g_object_ref (new_width); } if (fo_table->width != NULL) { g_object_unref (fo_table->width); } fo_table->width = new_width; /*g_object_notify (G_OBJECT (fo_table), "width");*/ } /** * fo_table_get_writing_mode: * @fo_fo: The @FoFo object * * Gets the "writing-mode" property of @fo_fo * * Return value: The "writing-mode" property value **/ FoProperty* fo_table_get_writing_mode (FoFo *fo_fo) { FoTable *fo_table = (FoTable *) fo_fo; g_return_val_if_fail (fo_table != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE (fo_table), NULL); return fo_table->writing_mode; } /** * fo_table_set_writing_mode: * @fo_fo: The #FoFo object * @new_writing_mode: The new "writing-mode" property value * * Sets the "writing-mode" property of @fo_fo to @new_writing_mode **/ void fo_table_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode) { FoTable *fo_table = (FoTable *) fo_fo; g_return_if_fail (fo_table != NULL); g_return_if_fail (FO_IS_TABLE (fo_table)); g_return_if_fail (FO_IS_PROPERTY_WRITING_MODE (new_writing_mode)); if (new_writing_mode != NULL) { g_object_ref (new_writing_mode); } if (fo_table->writing_mode != NULL) { g_object_unref (fo_table->writing_mode); } fo_table->writing_mode = new_writing_mode; /*g_object_notify (G_OBJECT (fo_table), "writing-mode");*/ } xmlroff-0.6.2/libfo/fo/fo-table.h0000644000175000017500000004260511073720356013471 00000000000000/* Fo * fo-table.h: 'table' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_H__ #define __FO_TABLE_H__ #include /*#include #include */ G_BEGIN_DECLS typedef enum { FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN, FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC, FO_ENUM_TABLE_LAYOUT_METHOD_FIXED } FoEnumTableLayoutMethod; GType fo_enum_table_layout_method_get_type (void); #define FO_TYPE_ENUM_TABLE_LAYOUT_METHOD fo_enum_table_layout_method_get_type () #define FO_TABLE_ERROR fo_table_error_quark () GQuark fo_table_error_quark (void); typedef enum { FO_TABLE_ERROR_FAILED, /* Generic error code */ FO_TABLE_ERROR_WARNING, /* Non-fatal error */ FO_TABLE_ERROR_LAYOUT_METHOD_UNKNOWN, FO_TABLE_ERROR_FIXED_NO_COLUMN, FO_TABLE_ERROR_MISSING_COLUMN, FO_TABLE_ERROR_WIDTH_NOT_LENGTH, FO_TABLE_ERROR_NO_AREA, FO_TABLE_ERROR_FIXED_BUT_AUTO, FO_TABLE_ERROR_SPANNING_CELLS_FILL_ROW, FO_TABLE_ERROR_FALLBACK_TO_FIXED, FO_TABLE_ERROR_INLINE_PROGRESSION_DIRECTION, FO_TABLE_ERROR_LAST } FoTableError; extern const char *fo_table_error_messages[FO_TABLE_ERROR_LAST]; typedef struct _FoTable FoTable; typedef struct _FoTableClass FoTableClass; #define FO_TYPE_TABLE (fo_table_get_type ()) #define FO_TABLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE, FoTable)) #define FO_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE, FoTableClass)) #define FO_IS_TABLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE)) #define FO_IS_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE)) #define FO_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE, FoTableClass)) GType fo_table_get_type (void) G_GNUC_CONST; FoFo * fo_table_new (void); gboolean fo_table_validate_content_table_row_table_cell (FoFo *fo, GError **error); void fo_table_resolve_columns (FoFo *fo, GError **error); void fo_table_span_info_start_row (FoFo *fo, GError **error); gint fo_table_span_info_resolve_column_number (FoFo *fo, FoFo *table_cell, gint column_number, gint columns_spanned, gint rows_spanned, GError **error); void fo_table_span_info_debug_dump (FoFo *fo, gint depth); void fo_table_add_column (FoFo *fo, gint column_number, gint number_columns_spanned, FoFo *column); FoFo* fo_table_get_column (FoFo *fo, gint column_number, gint number_columns_spanned); gint fo_table_get_max_column_number (FoFo *fo); FoEnumTableLayoutMethod fo_table_get_layout_method (FoFo *fo_fo); gdouble fo_table_get_proportional_unit (FoFo *fo); FoProperty * fo_table_get_background_color (FoFo *fo_fo); void fo_table_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_table_get_background_image (FoFo *fo_fo); void fo_table_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_table_get_block_progression_dimension (FoFo *fo_fo); void fo_table_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty * fo_table_get_border_after_color (FoFo *fo_fo); void fo_table_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_table_get_border_after_precedence (FoFo *fo_fo); void fo_table_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty * fo_table_get_border_after_style (FoFo *fo_fo); void fo_table_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_table_get_border_after_width (FoFo *fo_fo); void fo_table_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_table_get_border_before_color (FoFo *fo_fo); void fo_table_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_table_get_border_before_precedence (FoFo *fo_fo); void fo_table_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty * fo_table_get_border_before_style (FoFo *fo_fo); void fo_table_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_table_get_border_before_width (FoFo *fo_fo); void fo_table_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_table_get_border_bottom_color (FoFo *fo_fo); void fo_table_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_table_get_border_bottom_style (FoFo *fo_fo); void fo_table_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_table_get_border_bottom_width (FoFo *fo_fo); void fo_table_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_table_get_border_collapse (FoFo *fo_fo); void fo_table_set_border_collapse (FoFo *fo_fo, FoProperty *new_border_collapse); FoProperty * fo_table_get_border_end_color (FoFo *fo_fo); void fo_table_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_table_get_border_end_precedence (FoFo *fo_fo); void fo_table_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty * fo_table_get_border_end_style (FoFo *fo_fo); void fo_table_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_table_get_border_end_width (FoFo *fo_fo); void fo_table_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_table_get_border_left_color (FoFo *fo_fo); void fo_table_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_table_get_border_left_style (FoFo *fo_fo); void fo_table_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_table_get_border_left_width (FoFo *fo_fo); void fo_table_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_table_get_border_right_color (FoFo *fo_fo); void fo_table_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_table_get_border_right_style (FoFo *fo_fo); void fo_table_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_table_get_border_right_width (FoFo *fo_fo); void fo_table_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_table_get_border_separation (FoFo *fo_fo); void fo_table_set_border_separation (FoFo *fo_fo, FoProperty *new_border_separation); FoProperty * fo_table_get_border_start_color (FoFo *fo_fo); void fo_table_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_table_get_border_start_precedence (FoFo *fo_fo); void fo_table_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty * fo_table_get_border_start_style (FoFo *fo_fo); void fo_table_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_table_get_border_start_width (FoFo *fo_fo); void fo_table_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_table_get_border_top_color (FoFo *fo_fo); void fo_table_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_table_get_border_top_style (FoFo *fo_fo); void fo_table_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_table_get_border_top_width (FoFo *fo_fo); void fo_table_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_table_get_break_after (FoFo *fo_fo); void fo_table_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty * fo_table_get_break_before (FoFo *fo_fo); void fo_table_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty * fo_table_get_end_indent (FoFo *fo_fo); void fo_table_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty * fo_table_get_height (FoFo *fo_fo); void fo_table_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty * fo_table_get_id (FoFo *fo_fo); void fo_table_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_table_get_inline_progression_dimension (FoFo *fo_fo); void fo_table_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty * fo_table_get_keep_together (FoFo *fo_fo); void fo_table_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_table_get_keep_together_within_column (FoFo *fo_fo); void fo_table_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_table_get_keep_together_within_line (FoFo *fo_fo); void fo_table_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_table_get_keep_together_within_page (FoFo *fo_fo); void fo_table_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_table_get_keep_with_next (FoFo *fo_fo); void fo_table_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_table_get_keep_with_next_within_column (FoFo *fo_fo); void fo_table_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_table_get_keep_with_next_within_line (FoFo *fo_fo); void fo_table_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_table_get_keep_with_next_within_page (FoFo *fo_fo); void fo_table_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_table_get_keep_with_previous (FoFo *fo_fo); void fo_table_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_table_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_table_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_table_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_table_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_table_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_table_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_table_get_margin_bottom (FoFo *fo_fo); void fo_table_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty * fo_table_get_margin_left (FoFo *fo_fo); void fo_table_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty * fo_table_get_margin_right (FoFo *fo_fo); void fo_table_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty * fo_table_get_margin_top (FoFo *fo_fo); void fo_table_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty * fo_table_get_padding_after (FoFo *fo_fo); void fo_table_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_table_get_padding_before (FoFo *fo_fo); void fo_table_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_table_get_padding_bottom (FoFo *fo_fo); void fo_table_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_table_get_padding_end (FoFo *fo_fo); void fo_table_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_table_get_padding_left (FoFo *fo_fo); void fo_table_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_table_get_padding_right (FoFo *fo_fo); void fo_table_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_table_get_padding_start (FoFo *fo_fo); void fo_table_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_table_get_padding_top (FoFo *fo_fo); void fo_table_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_table_get_role (FoFo *fo_fo); void fo_table_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_table_get_source_document (FoFo *fo_fo); void fo_table_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_table_get_space_after (FoFo *fo_fo); void fo_table_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty * fo_table_get_space_before (FoFo *fo_fo); void fo_table_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty * fo_table_get_start_indent (FoFo *fo_fo); void fo_table_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty * fo_table_get_table_layout (FoFo *fo_fo); void fo_table_set_table_layout (FoFo *fo_fo, FoProperty *new_table_layout); FoProperty * fo_table_get_width (FoFo *fo_fo); void fo_table_set_width (FoFo *fo_fo, FoProperty *new_width); FoProperty * fo_table_get_writing_mode (FoFo *fo_fo); void fo_table_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); G_END_DECLS #endif /* !__FO_TABLE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-private.h0000644000175000017500000000617410643167375015152 00000000000000/* Fo * fo-table-private.h: Structures private to 'table' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_PRIVATE_H__ #define __FO_TABLE_PRIVATE_H__ #include #include #include G_BEGIN_DECLS typedef struct _SpanInfo SpanInfo; struct _SpanInfo { gint rows_spanned; FoFo *table_cell; }; struct _FoTable { FoMarkerParent parent_instance; FoEnumTableLayoutMethod layout_method; GHashTable *column_hash; gint max_column_number; GArray *span_info; gint span_info_next_column; gfloat proportional_unit; FoProperty *background_color; FoProperty *background_image; FoProperty *block_progression_dimension; FoProperty *border_after_color; FoProperty *border_after_precedence; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_precedence; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_collapse; FoProperty *border_end_color; FoProperty *border_end_precedence; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_separation; FoProperty *border_start_color; FoProperty *border_start_precedence; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *break_after; FoProperty *break_before; FoProperty *end_indent; FoProperty *height; FoProperty *id; FoProperty *inline_progression_dimension; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *margin_bottom; FoProperty *margin_left; FoProperty *margin_right; FoProperty *margin_top; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *space_after; FoProperty *space_before; FoProperty *start_indent; FoProperty *table_layout; FoProperty *width; FoProperty *writing_mode; }; struct _FoTableClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_TABLE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-and-caption.c0000644000175000017500000044266110660107745015667 00000000000000/* Fo * fo-table-and-caption.c: 'table-and-caption' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-block-fo-private.h" #include "fo/fo-table-and-caption-private.h" #include "fo/fo-table-caption.h" #include "fo/fo-table.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-break-after.h" #include "property/fo-property-break-before.h" #include "property/fo-property-end-indent.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-after.h" #include "property/fo-property-space-before.h" #include "property/fo-property-start-indent.h" #include "property/fo-property-text-align.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_BREAK_AFTER, PROP_BREAK_BEFORE, PROP_END_INDENT, PROP_ID, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_MARGIN_BOTTOM, PROP_MARGIN_LEFT, PROP_MARGIN_RIGHT, PROP_MARGIN_TOP, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_SPACE_AFTER, PROP_SPACE_BEFORE, PROP_START_INDENT, PROP_TEXT_ALIGN }; static void fo_table_and_caption_class_init (FoTableAndCaptionClass *klass); static void fo_table_and_caption_block_fo_init (FoBlockFoIface *iface); static void fo_table_and_caption_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_table_and_caption_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_table_and_caption_finalize (GObject *object); static gboolean fo_table_and_caption_validate_content (FoFo *fo, GError **error); static void fo_table_and_caption_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_table_and_caption_update_from_context (FoFo *fo, FoContext *context); static void fo_table_and_caption_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_table_and_caption_get_type: * * Register the #FoTableAndCaption object type. * * Return value: #GType value of the #FoTableAndCaption object type. **/ GType fo_table_and_caption_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTableAndCaptionClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_table_and_caption_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTableAndCaption), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_block_fo_info = { (GInterfaceInitFunc) fo_table_and_caption_block_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoTableAndCaption", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_BLOCK_FO, &fo_block_fo_info); } return object_type; } /** * fo_table_and_caption_class_init: * @klass: #FoTableAndCaptionClass object to initialise. * * Implements #GClassInitFunc for #FoTableAndCaptionClass. **/ void fo_table_and_caption_class_init (FoTableAndCaptionClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_and_caption_finalize; object_class->get_property = fo_table_and_caption_get_property; object_class->set_property = fo_table_and_caption_set_property; fofo_class->validate_content = fo_table_and_caption_validate_content; fofo_class->validate2 = fo_table_and_caption_validate; fofo_class->update_from_context = fo_table_and_caption_update_from_context; fofo_class->debug_dump_properties = fo_table_and_caption_debug_dump_properties; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_AFTER, g_param_spec_object ("break-after", _("Break After"), _("Break After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_BEFORE, g_param_spec_object ("break-before", _("Break Before"), _("Break Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_END_INDENT, g_param_spec_object ("end-indent", _("End Indent"), _("End Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_BOTTOM, g_param_spec_object ("margin-bottom", _("Margin Bottom"), _("Margin Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_LEFT, g_param_spec_object ("margin-left", _("Margin Left"), _("Margin Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_RIGHT, g_param_spec_object ("margin-right", _("Margin Right"), _("Margin Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_MARGIN_TOP, g_param_spec_object ("margin-top", _("Margin Top"), _("Margin Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_AFTER, g_param_spec_object ("space-after", _("Space After"), _("Space After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_BEFORE, g_param_spec_object ("space-before", _("Space Before"), _("Space Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_START_INDENT, g_param_spec_object ("start-indent", _("Start Indent"), _("Start Indent property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_TEXT_ALIGN, g_param_spec_object ("text-align", _("Text Align"), _("Text Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_table_and_caption_block_fo_init: * @iface: #FoBlockFoIFace structure for this class. * * Initialize #FoBlockFoIface interface for this class. **/ void fo_table_and_caption_block_fo_init (FoBlockFoIface *iface) { iface->get_background_color = fo_table_and_caption_get_background_color; iface->get_border_after_color = fo_table_and_caption_get_border_after_color; iface->get_border_after_style = fo_table_and_caption_get_border_after_style; iface->get_border_after_width = fo_table_and_caption_get_border_after_width; iface->get_border_before_color = fo_table_and_caption_get_border_before_color; iface->get_border_before_style = fo_table_and_caption_get_border_before_style; iface->get_border_before_width = fo_table_and_caption_get_border_before_width; iface->get_border_end_color = fo_table_and_caption_get_border_end_color; iface->get_border_end_style = fo_table_and_caption_get_border_end_style; iface->get_border_end_width = fo_table_and_caption_get_border_end_width; iface->get_border_start_color = fo_table_and_caption_get_border_start_color; iface->get_border_start_style = fo_table_and_caption_get_border_start_style; iface->get_border_start_width = fo_table_and_caption_get_border_start_width; iface->get_keep_with_previous = fo_table_and_caption_get_keep_with_previous; iface->get_keep_with_next = fo_table_and_caption_get_keep_with_next; iface->get_keep_together = fo_table_and_caption_get_keep_together; iface->get_padding_after = fo_table_and_caption_get_padding_after; iface->get_padding_before = fo_table_and_caption_get_padding_before; iface->get_padding_end = fo_table_and_caption_get_padding_end; iface->get_padding_start = fo_table_and_caption_get_padding_start; iface->get_space_before = fo_table_and_caption_get_space_before; iface->get_space_after = fo_table_and_caption_get_space_after; iface->get_start_indent = fo_table_and_caption_get_start_indent; iface->get_end_indent = fo_table_and_caption_get_end_indent; } /** * fo_table_and_caption_finalize: * @object: #FoTableAndCaption object to finalize. * * Implements #GObjectFinalizeFunc for #FoTableAndCaption. **/ void fo_table_and_caption_finalize (GObject *object) { FoTableAndCaption *fo_table_and_caption; fo_table_and_caption = FO_TABLE_AND_CAPTION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_and_caption_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTableAndCaption. **/ void fo_table_and_caption_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_border_top_width (fo_fo))); break; case PROP_BREAK_AFTER: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_break_after (fo_fo))); break; case PROP_BREAK_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_break_before (fo_fo))); break; case PROP_END_INDENT: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_end_indent (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_id (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_keep_with_previous_within_page (fo_fo))); break; case PROP_MARGIN_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_margin_bottom (fo_fo))); break; case PROP_MARGIN_LEFT: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_margin_left (fo_fo))); break; case PROP_MARGIN_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_margin_right (fo_fo))); break; case PROP_MARGIN_TOP: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_margin_top (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_source_document (fo_fo))); break; case PROP_SPACE_AFTER: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_space_after (fo_fo))); break; case PROP_SPACE_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_space_before (fo_fo))); break; case PROP_START_INDENT: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_start_indent (fo_fo))); break; case PROP_TEXT_ALIGN: g_value_set_object (value, G_OBJECT (fo_table_and_caption_get_text_align (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_and_caption_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTableAndCaption. **/ void fo_table_and_caption_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_table_and_caption_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_table_and_caption_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_table_and_caption_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_table_and_caption_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_table_and_caption_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_table_and_caption_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_table_and_caption_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_table_and_caption_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_table_and_caption_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_table_and_caption_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_table_and_caption_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_table_and_caption_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_table_and_caption_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_table_and_caption_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_table_and_caption_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_table_and_caption_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_table_and_caption_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_table_and_caption_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_table_and_caption_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_table_and_caption_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_table_and_caption_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_table_and_caption_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_table_and_caption_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_table_and_caption_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_table_and_caption_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_table_and_caption_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_AFTER: fo_table_and_caption_set_break_after (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_BEFORE: fo_table_and_caption_set_break_before (fo_fo, g_value_get_object (value)); break; case PROP_END_INDENT: fo_table_and_caption_set_end_indent (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_table_and_caption_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_table_and_caption_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_table_and_caption_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_table_and_caption_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_table_and_caption_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_table_and_caption_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_table_and_caption_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_table_and_caption_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_table_and_caption_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_table_and_caption_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_table_and_caption_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_table_and_caption_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_table_and_caption_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_BOTTOM: fo_table_and_caption_set_margin_bottom (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_LEFT: fo_table_and_caption_set_margin_left (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_RIGHT: fo_table_and_caption_set_margin_right (fo_fo, g_value_get_object (value)); break; case PROP_MARGIN_TOP: fo_table_and_caption_set_margin_top (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_table_and_caption_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_table_and_caption_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_table_and_caption_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_table_and_caption_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_table_and_caption_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_table_and_caption_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_table_and_caption_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_table_and_caption_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_table_and_caption_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_table_and_caption_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_AFTER: fo_table_and_caption_set_space_after (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_BEFORE: fo_table_and_caption_set_space_before (fo_fo, g_value_get_object (value)); break; case PROP_START_INDENT: fo_table_and_caption_set_start_indent (fo_fo, g_value_get_object (value)); break; case PROP_TEXT_ALIGN: fo_table_and_caption_set_text_align (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_and_caption_new: * * Creates a new #FoTableAndCaption initialized to default value. * * Return value: the new #FoTableAndCaption. **/ FoFo* fo_table_and_caption_new (void) { return FO_FO (g_object_new (fo_table_and_caption_get_type (), NULL)); } /** * fo_table_and_caption_validate_content: * @fo: #FoTableAndCaption object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Content model: (table-caption?, table) * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_table_and_caption_validate_content (FoFo *fo, GError **error) { FoNode *child_node; GError *tmp_error; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_fo_trim_whitespace_children (fo); child_node = fo_node_first_child (FO_NODE (fo)); if (!child_node) goto error; if (FO_IS_TABLE_CAPTION (child_node)) { child_node = fo_node_next_sibling (child_node); } if (!child_node || !FO_IS_TABLE (child_node)) goto error; child_node = fo_node_next_sibling (child_node); if (child_node) goto error; return FALSE; error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } /** * fo_table_and_caption_validate: * @fo: #FoTableAndCaption object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_table_and_caption_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoTableAndCaption *fo_table_and_caption; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_table_and_caption = FO_TABLE_AND_CAPTION (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_table_and_caption_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_and_caption_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_table_and_caption_set_background_color (fo, fo_context_get_background_color (context)); fo_table_and_caption_set_background_image (fo, fo_context_get_background_image (context)); fo_table_and_caption_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_table_and_caption_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_table_and_caption_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_table_and_caption_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_table_and_caption_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_table_and_caption_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_table_and_caption_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_table_and_caption_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_table_and_caption_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_table_and_caption_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_table_and_caption_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_table_and_caption_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_table_and_caption_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_table_and_caption_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_table_and_caption_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_table_and_caption_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_table_and_caption_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_table_and_caption_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_table_and_caption_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_table_and_caption_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_table_and_caption_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_table_and_caption_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_table_and_caption_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_table_and_caption_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_table_and_caption_set_break_after (fo, fo_context_get_break_after (context)); fo_table_and_caption_set_break_before (fo, fo_context_get_break_before (context)); fo_table_and_caption_set_end_indent (fo, fo_context_get_end_indent (context)); fo_table_and_caption_set_id (fo, fo_context_get_id (context)); fo_table_and_caption_set_keep_together (fo, fo_context_get_keep_together (context)); fo_table_and_caption_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_table_and_caption_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_table_and_caption_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_table_and_caption_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_table_and_caption_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_table_and_caption_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_table_and_caption_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_table_and_caption_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_table_and_caption_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_table_and_caption_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_table_and_caption_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_table_and_caption_set_margin_bottom (fo, fo_context_get_margin_bottom (context)); fo_table_and_caption_set_margin_left (fo, fo_context_get_margin_left (context)); fo_table_and_caption_set_margin_right (fo, fo_context_get_margin_right (context)); fo_table_and_caption_set_margin_top (fo, fo_context_get_margin_top (context)); fo_table_and_caption_set_padding_after (fo, fo_context_get_padding_after (context)); fo_table_and_caption_set_padding_before (fo, fo_context_get_padding_before (context)); fo_table_and_caption_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_table_and_caption_set_padding_end (fo, fo_context_get_padding_end (context)); fo_table_and_caption_set_padding_left (fo, fo_context_get_padding_left (context)); fo_table_and_caption_set_padding_right (fo, fo_context_get_padding_right (context)); fo_table_and_caption_set_padding_start (fo, fo_context_get_padding_start (context)); fo_table_and_caption_set_padding_top (fo, fo_context_get_padding_top (context)); fo_table_and_caption_set_role (fo, fo_context_get_role (context)); fo_table_and_caption_set_source_document (fo, fo_context_get_source_document (context)); fo_table_and_caption_set_space_after (fo, fo_context_get_space_after (context)); fo_table_and_caption_set_space_before (fo, fo_context_get_space_before (context)); fo_table_and_caption_set_start_indent (fo, fo_context_get_start_indent (context)); fo_table_and_caption_set_text_align (fo, fo_context_get_text_align (context)); } /** * fo_table_and_caption_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_table_and_caption_debug_dump_properties (FoFo *fo, gint depth) { FoTableAndCaption *fo_table_and_caption; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo)); fo_table_and_caption = FO_TABLE_AND_CAPTION (fo); fo_object_debug_dump (fo_table_and_caption->background_color, depth); fo_object_debug_dump (fo_table_and_caption->background_image, depth); fo_object_debug_dump (fo_table_and_caption->border_after_color, depth); fo_object_debug_dump (fo_table_and_caption->border_after_style, depth); fo_object_debug_dump (fo_table_and_caption->border_after_width, depth); fo_object_debug_dump (fo_table_and_caption->border_before_color, depth); fo_object_debug_dump (fo_table_and_caption->border_before_style, depth); fo_object_debug_dump (fo_table_and_caption->border_before_width, depth); fo_object_debug_dump (fo_table_and_caption->border_bottom_color, depth); fo_object_debug_dump (fo_table_and_caption->border_bottom_style, depth); fo_object_debug_dump (fo_table_and_caption->border_bottom_width, depth); fo_object_debug_dump (fo_table_and_caption->border_end_color, depth); fo_object_debug_dump (fo_table_and_caption->border_end_style, depth); fo_object_debug_dump (fo_table_and_caption->border_end_width, depth); fo_object_debug_dump (fo_table_and_caption->border_left_color, depth); fo_object_debug_dump (fo_table_and_caption->border_left_style, depth); fo_object_debug_dump (fo_table_and_caption->border_left_width, depth); fo_object_debug_dump (fo_table_and_caption->border_right_color, depth); fo_object_debug_dump (fo_table_and_caption->border_right_style, depth); fo_object_debug_dump (fo_table_and_caption->border_right_width, depth); fo_object_debug_dump (fo_table_and_caption->border_start_color, depth); fo_object_debug_dump (fo_table_and_caption->border_start_style, depth); fo_object_debug_dump (fo_table_and_caption->border_start_width, depth); fo_object_debug_dump (fo_table_and_caption->border_top_color, depth); fo_object_debug_dump (fo_table_and_caption->border_top_style, depth); fo_object_debug_dump (fo_table_and_caption->border_top_width, depth); fo_object_debug_dump (fo_table_and_caption->break_after, depth); fo_object_debug_dump (fo_table_and_caption->break_before, depth); fo_object_debug_dump (fo_table_and_caption->end_indent, depth); fo_object_debug_dump (fo_table_and_caption->id, depth); fo_object_debug_dump (fo_table_and_caption->keep_together, depth); fo_object_debug_dump (fo_table_and_caption->keep_together_within_column, depth); fo_object_debug_dump (fo_table_and_caption->keep_together_within_line, depth); fo_object_debug_dump (fo_table_and_caption->keep_together_within_page, depth); fo_object_debug_dump (fo_table_and_caption->keep_with_next, depth); fo_object_debug_dump (fo_table_and_caption->keep_with_next_within_column, depth); fo_object_debug_dump (fo_table_and_caption->keep_with_next_within_line, depth); fo_object_debug_dump (fo_table_and_caption->keep_with_next_within_page, depth); fo_object_debug_dump (fo_table_and_caption->keep_with_previous, depth); fo_object_debug_dump (fo_table_and_caption->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_table_and_caption->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_table_and_caption->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_table_and_caption->margin_bottom, depth); fo_object_debug_dump (fo_table_and_caption->margin_left, depth); fo_object_debug_dump (fo_table_and_caption->margin_right, depth); fo_object_debug_dump (fo_table_and_caption->margin_top, depth); fo_object_debug_dump (fo_table_and_caption->padding_after, depth); fo_object_debug_dump (fo_table_and_caption->padding_before, depth); fo_object_debug_dump (fo_table_and_caption->padding_bottom, depth); fo_object_debug_dump (fo_table_and_caption->padding_end, depth); fo_object_debug_dump (fo_table_and_caption->padding_left, depth); fo_object_debug_dump (fo_table_and_caption->padding_right, depth); fo_object_debug_dump (fo_table_and_caption->padding_start, depth); fo_object_debug_dump (fo_table_and_caption->padding_top, depth); fo_object_debug_dump (fo_table_and_caption->role, depth); fo_object_debug_dump (fo_table_and_caption->source_document, depth); fo_object_debug_dump (fo_table_and_caption->space_after, depth); fo_object_debug_dump (fo_table_and_caption->space_before, depth); fo_object_debug_dump (fo_table_and_caption->start_indent, depth); fo_object_debug_dump (fo_table_and_caption->text_align, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_table_and_caption_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_table_and_caption_get_background_color (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->background_color; } /** * fo_table_and_caption_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_table_and_caption_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_table_and_caption->background_color != NULL) { g_object_unref (fo_table_and_caption->background_color); } fo_table_and_caption->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_table_and_caption), "background-color");*/ } /** * fo_table_and_caption_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_table_and_caption_get_background_image (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->background_image; } /** * fo_table_and_caption_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_table_and_caption_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_table_and_caption->background_image != NULL) { g_object_unref (fo_table_and_caption->background_image); } fo_table_and_caption->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_table_and_caption), "background-image");*/ } /** * fo_table_and_caption_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_table_and_caption_get_border_after_color (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_after_color; } /** * fo_table_and_caption_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_table_and_caption_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_table_and_caption->border_after_color != NULL) { g_object_unref (fo_table_and_caption->border_after_color); } fo_table_and_caption->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-after-color");*/ } /** * fo_table_and_caption_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_table_and_caption_get_border_after_style (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_after_style; } /** * fo_table_and_caption_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_table_and_caption_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_table_and_caption->border_after_style != NULL) { g_object_unref (fo_table_and_caption->border_after_style); } fo_table_and_caption->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-after-style");*/ } /** * fo_table_and_caption_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_table_and_caption_get_border_after_width (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_after_width; } /** * fo_table_and_caption_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_table_and_caption_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_table_and_caption->border_after_width != NULL) { g_object_unref (fo_table_and_caption->border_after_width); } fo_table_and_caption->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-after-width");*/ } /** * fo_table_and_caption_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_table_and_caption_get_border_before_color (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_before_color; } /** * fo_table_and_caption_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_table_and_caption_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_table_and_caption->border_before_color != NULL) { g_object_unref (fo_table_and_caption->border_before_color); } fo_table_and_caption->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-before-color");*/ } /** * fo_table_and_caption_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_table_and_caption_get_border_before_style (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_before_style; } /** * fo_table_and_caption_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_table_and_caption_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_table_and_caption->border_before_style != NULL) { g_object_unref (fo_table_and_caption->border_before_style); } fo_table_and_caption->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-before-style");*/ } /** * fo_table_and_caption_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_table_and_caption_get_border_before_width (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_before_width; } /** * fo_table_and_caption_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_table_and_caption_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_table_and_caption->border_before_width != NULL) { g_object_unref (fo_table_and_caption->border_before_width); } fo_table_and_caption->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-before-width");*/ } /** * fo_table_and_caption_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_table_and_caption_get_border_bottom_color (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_bottom_color; } /** * fo_table_and_caption_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_table_and_caption_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_table_and_caption->border_bottom_color != NULL) { g_object_unref (fo_table_and_caption->border_bottom_color); } fo_table_and_caption->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-bottom-color");*/ } /** * fo_table_and_caption_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_table_and_caption_get_border_bottom_style (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_bottom_style; } /** * fo_table_and_caption_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_table_and_caption_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_table_and_caption->border_bottom_style != NULL) { g_object_unref (fo_table_and_caption->border_bottom_style); } fo_table_and_caption->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-bottom-style");*/ } /** * fo_table_and_caption_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_table_and_caption_get_border_bottom_width (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_bottom_width; } /** * fo_table_and_caption_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_table_and_caption_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_table_and_caption->border_bottom_width != NULL) { g_object_unref (fo_table_and_caption->border_bottom_width); } fo_table_and_caption->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-bottom-width");*/ } /** * fo_table_and_caption_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_table_and_caption_get_border_end_color (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_end_color; } /** * fo_table_and_caption_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_table_and_caption_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_table_and_caption->border_end_color != NULL) { g_object_unref (fo_table_and_caption->border_end_color); } fo_table_and_caption->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-end-color");*/ } /** * fo_table_and_caption_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_table_and_caption_get_border_end_style (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_end_style; } /** * fo_table_and_caption_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_table_and_caption_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_table_and_caption->border_end_style != NULL) { g_object_unref (fo_table_and_caption->border_end_style); } fo_table_and_caption->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-end-style");*/ } /** * fo_table_and_caption_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_table_and_caption_get_border_end_width (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_end_width; } /** * fo_table_and_caption_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_table_and_caption_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_table_and_caption->border_end_width != NULL) { g_object_unref (fo_table_and_caption->border_end_width); } fo_table_and_caption->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-end-width");*/ } /** * fo_table_and_caption_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_table_and_caption_get_border_left_color (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_left_color; } /** * fo_table_and_caption_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_table_and_caption_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_table_and_caption->border_left_color != NULL) { g_object_unref (fo_table_and_caption->border_left_color); } fo_table_and_caption->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-left-color");*/ } /** * fo_table_and_caption_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_table_and_caption_get_border_left_style (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_left_style; } /** * fo_table_and_caption_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_table_and_caption_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_table_and_caption->border_left_style != NULL) { g_object_unref (fo_table_and_caption->border_left_style); } fo_table_and_caption->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-left-style");*/ } /** * fo_table_and_caption_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_table_and_caption_get_border_left_width (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_left_width; } /** * fo_table_and_caption_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_table_and_caption_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_table_and_caption->border_left_width != NULL) { g_object_unref (fo_table_and_caption->border_left_width); } fo_table_and_caption->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-left-width");*/ } /** * fo_table_and_caption_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_table_and_caption_get_border_right_color (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_right_color; } /** * fo_table_and_caption_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_table_and_caption_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_table_and_caption->border_right_color != NULL) { g_object_unref (fo_table_and_caption->border_right_color); } fo_table_and_caption->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-right-color");*/ } /** * fo_table_and_caption_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_table_and_caption_get_border_right_style (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_right_style; } /** * fo_table_and_caption_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_table_and_caption_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_table_and_caption->border_right_style != NULL) { g_object_unref (fo_table_and_caption->border_right_style); } fo_table_and_caption->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-right-style");*/ } /** * fo_table_and_caption_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_table_and_caption_get_border_right_width (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_right_width; } /** * fo_table_and_caption_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_table_and_caption_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_table_and_caption->border_right_width != NULL) { g_object_unref (fo_table_and_caption->border_right_width); } fo_table_and_caption->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-right-width");*/ } /** * fo_table_and_caption_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_table_and_caption_get_border_start_color (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_start_color; } /** * fo_table_and_caption_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_table_and_caption_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_table_and_caption->border_start_color != NULL) { g_object_unref (fo_table_and_caption->border_start_color); } fo_table_and_caption->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-start-color");*/ } /** * fo_table_and_caption_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_table_and_caption_get_border_start_style (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_start_style; } /** * fo_table_and_caption_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_table_and_caption_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_table_and_caption->border_start_style != NULL) { g_object_unref (fo_table_and_caption->border_start_style); } fo_table_and_caption->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-start-style");*/ } /** * fo_table_and_caption_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_table_and_caption_get_border_start_width (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_start_width; } /** * fo_table_and_caption_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_table_and_caption_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_table_and_caption->border_start_width != NULL) { g_object_unref (fo_table_and_caption->border_start_width); } fo_table_and_caption->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-start-width");*/ } /** * fo_table_and_caption_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_table_and_caption_get_border_top_color (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_top_color; } /** * fo_table_and_caption_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_table_and_caption_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_table_and_caption->border_top_color != NULL) { g_object_unref (fo_table_and_caption->border_top_color); } fo_table_and_caption->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-top-color");*/ } /** * fo_table_and_caption_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_table_and_caption_get_border_top_style (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_top_style; } /** * fo_table_and_caption_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_table_and_caption_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_table_and_caption->border_top_style != NULL) { g_object_unref (fo_table_and_caption->border_top_style); } fo_table_and_caption->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-top-style");*/ } /** * fo_table_and_caption_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_table_and_caption_get_border_top_width (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->border_top_width; } /** * fo_table_and_caption_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_table_and_caption_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_table_and_caption->border_top_width != NULL) { g_object_unref (fo_table_and_caption->border_top_width); } fo_table_and_caption->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_table_and_caption), "border-top-width");*/ } /** * fo_table_and_caption_get_break_after: * @fo_fo: The @FoFo object * * Gets the "break-after" property of @fo_fo * * Return value: The "break-after" property value **/ FoProperty* fo_table_and_caption_get_break_after (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->break_after; } /** * fo_table_and_caption_set_break_after: * @fo_fo: The #FoFo object * @new_break_after: The new "break-after" property value * * Sets the "break-after" property of @fo_fo to @new_break_after **/ void fo_table_and_caption_set_break_after (FoFo *fo_fo, FoProperty *new_break_after) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BREAK_AFTER (new_break_after)); if (new_break_after != NULL) { g_object_ref (new_break_after); } if (fo_table_and_caption->break_after != NULL) { g_object_unref (fo_table_and_caption->break_after); } fo_table_and_caption->break_after = new_break_after; /*g_object_notify (G_OBJECT (fo_table_and_caption), "break-after");*/ } /** * fo_table_and_caption_get_break_before: * @fo_fo: The @FoFo object * * Gets the "break-before" property of @fo_fo * * Return value: The "break-before" property value **/ FoProperty* fo_table_and_caption_get_break_before (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->break_before; } /** * fo_table_and_caption_set_break_before: * @fo_fo: The #FoFo object * @new_break_before: The new "break-before" property value * * Sets the "break-before" property of @fo_fo to @new_break_before **/ void fo_table_and_caption_set_break_before (FoFo *fo_fo, FoProperty *new_break_before) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_BREAK_BEFORE (new_break_before)); if (new_break_before != NULL) { g_object_ref (new_break_before); } if (fo_table_and_caption->break_before != NULL) { g_object_unref (fo_table_and_caption->break_before); } fo_table_and_caption->break_before = new_break_before; /*g_object_notify (G_OBJECT (fo_table_and_caption), "break-before");*/ } /** * fo_table_and_caption_get_end_indent: * @fo_fo: The @FoFo object * * Gets the "end-indent" property of @fo_fo * * Return value: The "end-indent" property value **/ FoProperty* fo_table_and_caption_get_end_indent (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->end_indent; } /** * fo_table_and_caption_set_end_indent: * @fo_fo: The #FoFo object * @new_end_indent: The new "end-indent" property value * * Sets the "end-indent" property of @fo_fo to @new_end_indent **/ void fo_table_and_caption_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_END_INDENT (new_end_indent)); if (new_end_indent != NULL) { g_object_ref (new_end_indent); } if (fo_table_and_caption->end_indent != NULL) { g_object_unref (fo_table_and_caption->end_indent); } fo_table_and_caption->end_indent = new_end_indent; /*g_object_notify (G_OBJECT (fo_table_and_caption), "end-indent");*/ } /** * fo_table_and_caption_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_table_and_caption_get_id (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->id; } /** * fo_table_and_caption_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_table_and_caption_set_id (FoFo *fo_fo, FoProperty *new_id) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_table_and_caption->id != NULL) { g_object_unref (fo_table_and_caption->id); } fo_table_and_caption->id = new_id; /*g_object_notify (G_OBJECT (fo_table_and_caption), "id");*/ } /** * fo_table_and_caption_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_table_and_caption_get_keep_together (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_together; } /** * fo_table_and_caption_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_table_and_caption_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_table_and_caption->keep_together != NULL) { g_object_unref (fo_table_and_caption->keep_together); } fo_table_and_caption->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-together");*/ } /** * fo_table_and_caption_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_table_and_caption_get_keep_together_within_column (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_together_within_column; } /** * fo_table_and_caption_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_table_and_caption_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_table_and_caption->keep_together_within_column != NULL) { g_object_unref (fo_table_and_caption->keep_together_within_column); } fo_table_and_caption->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-together-within-column");*/ } /** * fo_table_and_caption_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_table_and_caption_get_keep_together_within_line (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_together_within_line; } /** * fo_table_and_caption_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_table_and_caption_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_table_and_caption->keep_together_within_line != NULL) { g_object_unref (fo_table_and_caption->keep_together_within_line); } fo_table_and_caption->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-together-within-line");*/ } /** * fo_table_and_caption_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_table_and_caption_get_keep_together_within_page (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_together_within_page; } /** * fo_table_and_caption_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_table_and_caption_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_table_and_caption->keep_together_within_page != NULL) { g_object_unref (fo_table_and_caption->keep_together_within_page); } fo_table_and_caption->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-together-within-page");*/ } /** * fo_table_and_caption_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_table_and_caption_get_keep_with_next (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_with_next; } /** * fo_table_and_caption_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_table_and_caption_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_table_and_caption->keep_with_next != NULL) { g_object_unref (fo_table_and_caption->keep_with_next); } fo_table_and_caption->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-with-next");*/ } /** * fo_table_and_caption_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_table_and_caption_get_keep_with_next_within_column (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_with_next_within_column; } /** * fo_table_and_caption_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_table_and_caption_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_table_and_caption->keep_with_next_within_column != NULL) { g_object_unref (fo_table_and_caption->keep_with_next_within_column); } fo_table_and_caption->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-with-next-within-column");*/ } /** * fo_table_and_caption_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_table_and_caption_get_keep_with_next_within_line (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_with_next_within_line; } /** * fo_table_and_caption_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_table_and_caption_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_table_and_caption->keep_with_next_within_line != NULL) { g_object_unref (fo_table_and_caption->keep_with_next_within_line); } fo_table_and_caption->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-with-next-within-line");*/ } /** * fo_table_and_caption_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_table_and_caption_get_keep_with_next_within_page (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_with_next_within_page; } /** * fo_table_and_caption_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_table_and_caption_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_table_and_caption->keep_with_next_within_page != NULL) { g_object_unref (fo_table_and_caption->keep_with_next_within_page); } fo_table_and_caption->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-with-next-within-page");*/ } /** * fo_table_and_caption_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_table_and_caption_get_keep_with_previous (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_with_previous; } /** * fo_table_and_caption_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_table_and_caption_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_table_and_caption->keep_with_previous != NULL) { g_object_unref (fo_table_and_caption->keep_with_previous); } fo_table_and_caption->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-with-previous");*/ } /** * fo_table_and_caption_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_table_and_caption_get_keep_with_previous_within_column (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_with_previous_within_column; } /** * fo_table_and_caption_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_table_and_caption_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_table_and_caption->keep_with_previous_within_column != NULL) { g_object_unref (fo_table_and_caption->keep_with_previous_within_column); } fo_table_and_caption->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-with-previous-within-column");*/ } /** * fo_table_and_caption_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_table_and_caption_get_keep_with_previous_within_line (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_with_previous_within_line; } /** * fo_table_and_caption_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_table_and_caption_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_table_and_caption->keep_with_previous_within_line != NULL) { g_object_unref (fo_table_and_caption->keep_with_previous_within_line); } fo_table_and_caption->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-with-previous-within-line");*/ } /** * fo_table_and_caption_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_table_and_caption_get_keep_with_previous_within_page (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->keep_with_previous_within_page; } /** * fo_table_and_caption_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_table_and_caption_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_table_and_caption->keep_with_previous_within_page != NULL) { g_object_unref (fo_table_and_caption->keep_with_previous_within_page); } fo_table_and_caption->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_table_and_caption), "keep-with-previous-within-page");*/ } /** * fo_table_and_caption_get_margin_bottom: * @fo_fo: The @FoFo object * * Gets the "margin-bottom" property of @fo_fo * * Return value: The "margin-bottom" property value **/ FoProperty* fo_table_and_caption_get_margin_bottom (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->margin_bottom; } /** * fo_table_and_caption_set_margin_bottom: * @fo_fo: The #FoFo object * @new_margin_bottom: The new "margin-bottom" property value * * Sets the "margin-bottom" property of @fo_fo to @new_margin_bottom **/ void fo_table_and_caption_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_BOTTOM (new_margin_bottom)); if (new_margin_bottom != NULL) { g_object_ref (new_margin_bottom); } if (fo_table_and_caption->margin_bottom != NULL) { g_object_unref (fo_table_and_caption->margin_bottom); } fo_table_and_caption->margin_bottom = new_margin_bottom; /*g_object_notify (G_OBJECT (fo_table_and_caption), "margin-bottom");*/ } /** * fo_table_and_caption_get_margin_left: * @fo_fo: The @FoFo object * * Gets the "margin-left" property of @fo_fo * * Return value: The "margin-left" property value **/ FoProperty* fo_table_and_caption_get_margin_left (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->margin_left; } /** * fo_table_and_caption_set_margin_left: * @fo_fo: The #FoFo object * @new_margin_left: The new "margin-left" property value * * Sets the "margin-left" property of @fo_fo to @new_margin_left **/ void fo_table_and_caption_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_LEFT (new_margin_left)); if (new_margin_left != NULL) { g_object_ref (new_margin_left); } if (fo_table_and_caption->margin_left != NULL) { g_object_unref (fo_table_and_caption->margin_left); } fo_table_and_caption->margin_left = new_margin_left; /*g_object_notify (G_OBJECT (fo_table_and_caption), "margin-left");*/ } /** * fo_table_and_caption_get_margin_right: * @fo_fo: The @FoFo object * * Gets the "margin-right" property of @fo_fo * * Return value: The "margin-right" property value **/ FoProperty* fo_table_and_caption_get_margin_right (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->margin_right; } /** * fo_table_and_caption_set_margin_right: * @fo_fo: The #FoFo object * @new_margin_right: The new "margin-right" property value * * Sets the "margin-right" property of @fo_fo to @new_margin_right **/ void fo_table_and_caption_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_RIGHT (new_margin_right)); if (new_margin_right != NULL) { g_object_ref (new_margin_right); } if (fo_table_and_caption->margin_right != NULL) { g_object_unref (fo_table_and_caption->margin_right); } fo_table_and_caption->margin_right = new_margin_right; /*g_object_notify (G_OBJECT (fo_table_and_caption), "margin-right");*/ } /** * fo_table_and_caption_get_margin_top: * @fo_fo: The @FoFo object * * Gets the "margin-top" property of @fo_fo * * Return value: The "margin-top" property value **/ FoProperty* fo_table_and_caption_get_margin_top (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->margin_top; } /** * fo_table_and_caption_set_margin_top: * @fo_fo: The #FoFo object * @new_margin_top: The new "margin-top" property value * * Sets the "margin-top" property of @fo_fo to @new_margin_top **/ void fo_table_and_caption_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_MARGIN_TOP (new_margin_top)); if (new_margin_top != NULL) { g_object_ref (new_margin_top); } if (fo_table_and_caption->margin_top != NULL) { g_object_unref (fo_table_and_caption->margin_top); } fo_table_and_caption->margin_top = new_margin_top; /*g_object_notify (G_OBJECT (fo_table_and_caption), "margin-top");*/ } /** * fo_table_and_caption_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_table_and_caption_get_padding_after (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->padding_after; } /** * fo_table_and_caption_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_table_and_caption_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_table_and_caption->padding_after != NULL) { g_object_unref (fo_table_and_caption->padding_after); } fo_table_and_caption->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_table_and_caption), "padding-after");*/ } /** * fo_table_and_caption_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_table_and_caption_get_padding_before (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->padding_before; } /** * fo_table_and_caption_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_table_and_caption_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_table_and_caption->padding_before != NULL) { g_object_unref (fo_table_and_caption->padding_before); } fo_table_and_caption->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_table_and_caption), "padding-before");*/ } /** * fo_table_and_caption_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_table_and_caption_get_padding_bottom (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->padding_bottom; } /** * fo_table_and_caption_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_table_and_caption_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_table_and_caption->padding_bottom != NULL) { g_object_unref (fo_table_and_caption->padding_bottom); } fo_table_and_caption->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_table_and_caption), "padding-bottom");*/ } /** * fo_table_and_caption_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_table_and_caption_get_padding_end (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->padding_end; } /** * fo_table_and_caption_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_table_and_caption_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_table_and_caption->padding_end != NULL) { g_object_unref (fo_table_and_caption->padding_end); } fo_table_and_caption->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_table_and_caption), "padding-end");*/ } /** * fo_table_and_caption_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_table_and_caption_get_padding_left (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->padding_left; } /** * fo_table_and_caption_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_table_and_caption_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_table_and_caption->padding_left != NULL) { g_object_unref (fo_table_and_caption->padding_left); } fo_table_and_caption->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_table_and_caption), "padding-left");*/ } /** * fo_table_and_caption_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_table_and_caption_get_padding_right (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->padding_right; } /** * fo_table_and_caption_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_table_and_caption_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_table_and_caption->padding_right != NULL) { g_object_unref (fo_table_and_caption->padding_right); } fo_table_and_caption->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_table_and_caption), "padding-right");*/ } /** * fo_table_and_caption_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_table_and_caption_get_padding_start (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->padding_start; } /** * fo_table_and_caption_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_table_and_caption_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_table_and_caption->padding_start != NULL) { g_object_unref (fo_table_and_caption->padding_start); } fo_table_and_caption->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_table_and_caption), "padding-start");*/ } /** * fo_table_and_caption_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_table_and_caption_get_padding_top (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->padding_top; } /** * fo_table_and_caption_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_table_and_caption_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_table_and_caption->padding_top != NULL) { g_object_unref (fo_table_and_caption->padding_top); } fo_table_and_caption->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_table_and_caption), "padding-top");*/ } /** * fo_table_and_caption_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_table_and_caption_get_role (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->role; } /** * fo_table_and_caption_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_table_and_caption_set_role (FoFo *fo_fo, FoProperty *new_role) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_table_and_caption->role != NULL) { g_object_unref (fo_table_and_caption->role); } fo_table_and_caption->role = new_role; /*g_object_notify (G_OBJECT (fo_table_and_caption), "role");*/ } /** * fo_table_and_caption_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_table_and_caption_get_source_document (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->source_document; } /** * fo_table_and_caption_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_table_and_caption_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_table_and_caption->source_document != NULL) { g_object_unref (fo_table_and_caption->source_document); } fo_table_and_caption->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_table_and_caption), "source-document");*/ } /** * fo_table_and_caption_get_space_after: * @fo_fo: The @FoFo object * * Gets the "space-after" property of @fo_fo * * Return value: The "space-after" property value **/ FoProperty* fo_table_and_caption_get_space_after (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->space_after; } /** * fo_table_and_caption_set_space_after: * @fo_fo: The #FoFo object * @new_space_after: The new "space-after" property value * * Sets the "space-after" property of @fo_fo to @new_space_after **/ void fo_table_and_caption_set_space_after (FoFo *fo_fo, FoProperty *new_space_after) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_SPACE_AFTER (new_space_after)); if (new_space_after != NULL) { g_object_ref (new_space_after); } if (fo_table_and_caption->space_after != NULL) { g_object_unref (fo_table_and_caption->space_after); } fo_table_and_caption->space_after = new_space_after; /*g_object_notify (G_OBJECT (fo_table_and_caption), "space-after");*/ } /** * fo_table_and_caption_get_space_before: * @fo_fo: The @FoFo object * * Gets the "space-before" property of @fo_fo * * Return value: The "space-before" property value **/ FoProperty* fo_table_and_caption_get_space_before (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->space_before; } /** * fo_table_and_caption_set_space_before: * @fo_fo: The #FoFo object * @new_space_before: The new "space-before" property value * * Sets the "space-before" property of @fo_fo to @new_space_before **/ void fo_table_and_caption_set_space_before (FoFo *fo_fo, FoProperty *new_space_before) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_SPACE_BEFORE (new_space_before)); if (new_space_before != NULL) { g_object_ref (new_space_before); } if (fo_table_and_caption->space_before != NULL) { g_object_unref (fo_table_and_caption->space_before); } fo_table_and_caption->space_before = new_space_before; /*g_object_notify (G_OBJECT (fo_table_and_caption), "space-before");*/ } /** * fo_table_and_caption_get_start_indent: * @fo_fo: The @FoFo object * * Gets the "start-indent" property of @fo_fo * * Return value: The "start-indent" property value **/ FoProperty* fo_table_and_caption_get_start_indent (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->start_indent; } /** * fo_table_and_caption_set_start_indent: * @fo_fo: The #FoFo object * @new_start_indent: The new "start-indent" property value * * Sets the "start-indent" property of @fo_fo to @new_start_indent **/ void fo_table_and_caption_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_START_INDENT (new_start_indent)); if (new_start_indent != NULL) { g_object_ref (new_start_indent); } if (fo_table_and_caption->start_indent != NULL) { g_object_unref (fo_table_and_caption->start_indent); } fo_table_and_caption->start_indent = new_start_indent; /*g_object_notify (G_OBJECT (fo_table_and_caption), "start-indent");*/ } /** * fo_table_and_caption_get_text_align: * @fo_fo: The @FoFo object * * Gets the "text-align" property of @fo_fo * * Return value: The "text-align" property value **/ FoProperty* fo_table_and_caption_get_text_align (FoFo *fo_fo) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_val_if_fail (fo_table_and_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption), NULL); return fo_table_and_caption->text_align; } /** * fo_table_and_caption_set_text_align: * @fo_fo: The #FoFo object * @new_text_align: The new "text-align" property value * * Sets the "text-align" property of @fo_fo to @new_text_align **/ void fo_table_and_caption_set_text_align (FoFo *fo_fo, FoProperty *new_text_align) { FoTableAndCaption *fo_table_and_caption = (FoTableAndCaption *) fo_fo; g_return_if_fail (fo_table_and_caption != NULL); g_return_if_fail (FO_IS_TABLE_AND_CAPTION (fo_table_and_caption)); g_return_if_fail (FO_IS_PROPERTY_TEXT_ALIGN (new_text_align)); if (new_text_align != NULL) { g_object_ref (new_text_align); } if (fo_table_and_caption->text_align != NULL) { g_object_unref (fo_table_and_caption->text_align); } fo_table_and_caption->text_align = new_text_align; /*g_object_notify (G_OBJECT (fo_table_and_caption), "text-align");*/ } xmlroff-0.6.2/libfo/fo/fo-table-and-caption.h0000644000175000017500000003721310643167376015674 00000000000000/* Fo * fo-table_and_caption.h: 'table-and-caption' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_AND_CAPTION_H__ #define __FO_TABLE_AND_CAPTION_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoTableAndCaption FoTableAndCaption; typedef struct _FoTableAndCaptionClass FoTableAndCaptionClass; #define FO_TYPE_TABLE_AND_CAPTION (fo_table_and_caption_get_type ()) #define FO_TABLE_AND_CAPTION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_AND_CAPTION, FoTableAndCaption)) #define FO_TABLE_AND_CAPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_AND_CAPTION, FoTableAndCaptionClass)) #define FO_IS_TABLE_AND_CAPTION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_AND_CAPTION)) #define FO_IS_TABLE_AND_CAPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_AND_CAPTION)) #define FO_TABLE_AND_CAPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_AND_CAPTION, FoTableAndCaptionClass)) GType fo_table_and_caption_get_type (void) G_GNUC_CONST; FoFo * fo_table_and_caption_new (void); FoProperty * fo_table_and_caption_get_background_color (FoFo *fo_fo); void fo_table_and_caption_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_table_and_caption_get_background_image (FoFo *fo_fo); void fo_table_and_caption_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_table_and_caption_get_border_after_color (FoFo *fo_fo); void fo_table_and_caption_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_table_and_caption_get_border_after_style (FoFo *fo_fo); void fo_table_and_caption_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_table_and_caption_get_border_after_width (FoFo *fo_fo); void fo_table_and_caption_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_table_and_caption_get_border_before_color (FoFo *fo_fo); void fo_table_and_caption_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_table_and_caption_get_border_before_style (FoFo *fo_fo); void fo_table_and_caption_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_table_and_caption_get_border_before_width (FoFo *fo_fo); void fo_table_and_caption_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_table_and_caption_get_border_bottom_color (FoFo *fo_fo); void fo_table_and_caption_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_table_and_caption_get_border_bottom_style (FoFo *fo_fo); void fo_table_and_caption_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_table_and_caption_get_border_bottom_width (FoFo *fo_fo); void fo_table_and_caption_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_table_and_caption_get_border_end_color (FoFo *fo_fo); void fo_table_and_caption_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_table_and_caption_get_border_end_style (FoFo *fo_fo); void fo_table_and_caption_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_table_and_caption_get_border_end_width (FoFo *fo_fo); void fo_table_and_caption_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_table_and_caption_get_border_left_color (FoFo *fo_fo); void fo_table_and_caption_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_table_and_caption_get_border_left_style (FoFo *fo_fo); void fo_table_and_caption_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_table_and_caption_get_border_left_width (FoFo *fo_fo); void fo_table_and_caption_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_table_and_caption_get_border_right_color (FoFo *fo_fo); void fo_table_and_caption_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_table_and_caption_get_border_right_style (FoFo *fo_fo); void fo_table_and_caption_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_table_and_caption_get_border_right_width (FoFo *fo_fo); void fo_table_and_caption_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_table_and_caption_get_border_start_color (FoFo *fo_fo); void fo_table_and_caption_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_table_and_caption_get_border_start_style (FoFo *fo_fo); void fo_table_and_caption_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_table_and_caption_get_border_start_width (FoFo *fo_fo); void fo_table_and_caption_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_table_and_caption_get_border_top_color (FoFo *fo_fo); void fo_table_and_caption_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_table_and_caption_get_border_top_style (FoFo *fo_fo); void fo_table_and_caption_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_table_and_caption_get_border_top_width (FoFo *fo_fo); void fo_table_and_caption_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_table_and_caption_get_break_after (FoFo *fo_fo); void fo_table_and_caption_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty * fo_table_and_caption_get_break_before (FoFo *fo_fo); void fo_table_and_caption_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty * fo_table_and_caption_get_end_indent (FoFo *fo_fo); void fo_table_and_caption_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty * fo_table_and_caption_get_id (FoFo *fo_fo); void fo_table_and_caption_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_table_and_caption_get_keep_together (FoFo *fo_fo); void fo_table_and_caption_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_table_and_caption_get_keep_together_within_column (FoFo *fo_fo); void fo_table_and_caption_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_table_and_caption_get_keep_together_within_line (FoFo *fo_fo); void fo_table_and_caption_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_table_and_caption_get_keep_together_within_page (FoFo *fo_fo); void fo_table_and_caption_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_table_and_caption_get_keep_with_next (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_table_and_caption_get_keep_with_next_within_column (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_table_and_caption_get_keep_with_next_within_line (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_table_and_caption_get_keep_with_next_within_page (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_table_and_caption_get_keep_with_previous (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_table_and_caption_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_table_and_caption_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_table_and_caption_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_table_and_caption_get_margin_bottom (FoFo *fo_fo); void fo_table_and_caption_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty * fo_table_and_caption_get_margin_left (FoFo *fo_fo); void fo_table_and_caption_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty * fo_table_and_caption_get_margin_right (FoFo *fo_fo); void fo_table_and_caption_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty * fo_table_and_caption_get_margin_top (FoFo *fo_fo); void fo_table_and_caption_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty * fo_table_and_caption_get_padding_after (FoFo *fo_fo); void fo_table_and_caption_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_table_and_caption_get_padding_before (FoFo *fo_fo); void fo_table_and_caption_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_table_and_caption_get_padding_bottom (FoFo *fo_fo); void fo_table_and_caption_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_table_and_caption_get_padding_end (FoFo *fo_fo); void fo_table_and_caption_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_table_and_caption_get_padding_left (FoFo *fo_fo); void fo_table_and_caption_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_table_and_caption_get_padding_right (FoFo *fo_fo); void fo_table_and_caption_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_table_and_caption_get_padding_start (FoFo *fo_fo); void fo_table_and_caption_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_table_and_caption_get_padding_top (FoFo *fo_fo); void fo_table_and_caption_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_table_and_caption_get_role (FoFo *fo_fo); void fo_table_and_caption_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_table_and_caption_get_source_document (FoFo *fo_fo); void fo_table_and_caption_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_table_and_caption_get_space_after (FoFo *fo_fo); void fo_table_and_caption_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty * fo_table_and_caption_get_space_before (FoFo *fo_fo); void fo_table_and_caption_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty * fo_table_and_caption_get_start_indent (FoFo *fo_fo); void fo_table_and_caption_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty * fo_table_and_caption_get_text_align (FoFo *fo_fo); void fo_table_and_caption_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); G_END_DECLS #endif /* !__FO_TABLE_AND_CAPTION_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-and-caption-private.h0000644000175000017500000000504310643167375017337 00000000000000/* Fo * fo-table-and-caption-private.h: Structures private to 'table-and-caption' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_AND_CAPTION_PRIVATE_H__ #define __FO_TABLE_AND_CAPTION_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoTableAndCaption { FoMarkerParent parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *break_after; FoProperty *break_before; FoProperty *end_indent; FoProperty *id; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *margin_bottom; FoProperty *margin_left; FoProperty *margin_right; FoProperty *margin_top; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *space_after; FoProperty *space_before; FoProperty *start_indent; FoProperty *text_align; }; struct _FoTableAndCaptionClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_TABLE_AND_CAPTION_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-body.c0000644000175000017500000027354610660107744014432 00000000000000/* Fo * fo-table-body.c: 'table-body' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-table-border-fo-private.h" #include "fo/fo-table-body-private.h" #include "fo/fo-table.h" #include "fo/fo-table-column.h" #include "fo/fo-table-body-area.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-precedence.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-precedence.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-precedence.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-precedence.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-id.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_PRECEDENCE, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_PRECEDENCE, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_PRECEDENCE, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_PRECEDENCE, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_ID, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_table_body_class_init (FoTableBodyClass *klass); static void fo_table_body_table_border_fo_init (FoTableBorderFoIface *iface); static void fo_table_body_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_table_body_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_table_body_finalize (GObject *object); static void fo_table_body_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_table_body_update_from_context (FoFo *fo, FoContext *context); static void fo_table_body_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_table_body_get_type: * * Register the #FoTableBody object type. * * Return value: #GType value of the #FoTableBody object type. **/ GType fo_table_body_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTableBodyClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_table_body_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTableBody), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_table_border_fo_info = { (GInterfaceInitFunc) fo_table_body_table_border_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_TABLE_PART, "FoTableBody", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_TABLE_BORDER_FO, &fo_table_border_fo_info); } return object_type; } /** * fo_table_body_class_init: * @klass: #FoTableBodyClass object to initialise. * * Implements #GClassInitFunc for #FoTableBodyClass. **/ void fo_table_body_class_init (FoTableBodyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_body_finalize; object_class->get_property = fo_table_body_get_property; object_class->set_property = fo_table_body_set_property; fofo_class->validate_content = fo_table_validate_content_table_row_table_cell; fofo_class->validate2 = fo_table_body_validate; fofo_class->update_from_context = fo_table_body_update_from_context; fofo_class->debug_dump_properties = fo_table_body_debug_dump_properties; fofo_class->area_new2 = fo_table_body_area_new2; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_PRECEDENCE, g_param_spec_object ("border-after-precedence", _("Border After Precedence"), _("Border After Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_PRECEDENCE, g_param_spec_object ("border-before-precedence", _("Border Before Precedence"), _("Border Before Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_PRECEDENCE, g_param_spec_object ("border-end-precedence", _("Border End Precedence"), _("Border End Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_PRECEDENCE, g_param_spec_object ("border-start-precedence", _("Border Start Precedence"), _("Border Start Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_table_body_table_border_fo_init: * @iface: #FoTableBorderFoIFace structure for this class. * * Initialize #FoTableBorderFoIface interface for this class. **/ void fo_table_body_table_border_fo_init (FoTableBorderFoIface *iface) { iface->get_background_color = fo_table_body_get_background_color; iface->get_border_after_color = fo_table_body_get_border_after_color; iface->get_border_after_precedence = fo_table_body_get_border_after_precedence; iface->get_border_after_style = fo_table_body_get_border_after_style; iface->get_border_after_width = fo_table_body_get_border_after_width; iface->get_border_before_color = fo_table_body_get_border_before_color; iface->get_border_before_precedence = fo_table_body_get_border_before_precedence; iface->get_border_before_style = fo_table_body_get_border_before_style; iface->get_border_before_width = fo_table_body_get_border_before_width; iface->get_border_end_color = fo_table_body_get_border_end_color; iface->get_border_end_precedence = fo_table_body_get_border_end_precedence; iface->get_border_end_style = fo_table_body_get_border_end_style; iface->get_border_end_width = fo_table_body_get_border_end_width; iface->get_border_start_color = fo_table_body_get_border_start_color; iface->get_border_start_precedence = fo_table_body_get_border_start_precedence; iface->get_border_start_style = fo_table_body_get_border_start_style; iface->get_border_start_width = fo_table_body_get_border_start_width; } /** * fo_table_body_finalize: * @object: #FoTableBody object to finalize. * * Implements #GObjectFinalizeFunc for #FoTableBody. **/ void fo_table_body_finalize (GObject *object) { FoTableBody *fo_table_body; fo_table_body = FO_TABLE_BODY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_body_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTableBody. **/ void fo_table_body_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_table_body_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_table_body_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_after_precedence (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_before_precedence (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_end_precedence (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_start_precedence (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_body_get_border_top_width (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_table_body_get_id (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_table_body_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_body_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_body_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_table_body_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_table_body_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_body_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_table_body_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_table_body_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_table_body_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_table_body_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_body_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTableBody. **/ void fo_table_body_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_table_body_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_table_body_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_table_body_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_PRECEDENCE: fo_table_body_set_border_after_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_table_body_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_table_body_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_table_body_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_PRECEDENCE: fo_table_body_set_border_before_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_table_body_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_table_body_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_table_body_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_table_body_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_table_body_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_table_body_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_PRECEDENCE: fo_table_body_set_border_end_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_table_body_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_table_body_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_table_body_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_table_body_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_table_body_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_table_body_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_table_body_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_table_body_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_table_body_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_PRECEDENCE: fo_table_body_set_border_start_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_table_body_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_table_body_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_table_body_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_table_body_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_table_body_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_table_body_set_id (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_table_body_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_table_body_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_table_body_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_table_body_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_table_body_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_table_body_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_table_body_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_table_body_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_table_body_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_table_body_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_body_new: * * Creates a new #FoTableBody initialized to default value. * * Return value: the new #FoTableBody. **/ FoFo* fo_table_body_new (void) { return FO_FO (g_object_new (fo_table_body_get_type (), NULL)); } /** * fo_table_body_validate: * @fo: #FoTableBody object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_table_body_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { GError *tmp_error = NULL; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); if ((fo_node_prev_sibling (FO_NODE (fo)) && FO_IS_TABLE_COLUMN (FO_FO (fo_node_prev_sibling (FO_NODE (fo))))) || !fo_node_prev_sibling (FO_NODE (fo))) { fo_table_resolve_columns (FO_FO (fo_node_parent (FO_NODE (fo))), &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } } fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_table_body_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_body_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_table_body_set_background_color (fo, fo_context_get_background_color (context)); fo_table_body_set_background_image (fo, fo_context_get_background_image (context)); fo_table_body_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_table_body_set_border_after_precedence (fo, fo_context_get_border_after_precedence (context)); fo_table_body_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_table_body_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_table_body_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_table_body_set_border_before_precedence (fo, fo_context_get_border_before_precedence (context)); fo_table_body_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_table_body_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_table_body_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_table_body_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_table_body_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_table_body_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_table_body_set_border_end_precedence (fo, fo_context_get_border_end_precedence (context)); fo_table_body_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_table_body_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_table_body_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_table_body_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_table_body_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_table_body_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_table_body_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_table_body_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_table_body_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_table_body_set_border_start_precedence (fo, fo_context_get_border_start_precedence (context)); fo_table_body_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_table_body_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_table_body_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_table_body_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_table_body_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_table_body_set_id (fo, fo_context_get_id (context)); fo_table_body_set_padding_after (fo, fo_context_get_padding_after (context)); fo_table_body_set_padding_before (fo, fo_context_get_padding_before (context)); fo_table_body_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_table_body_set_padding_end (fo, fo_context_get_padding_end (context)); fo_table_body_set_padding_left (fo, fo_context_get_padding_left (context)); fo_table_body_set_padding_right (fo, fo_context_get_padding_right (context)); fo_table_body_set_padding_start (fo, fo_context_get_padding_start (context)); fo_table_body_set_padding_top (fo, fo_context_get_padding_top (context)); fo_table_body_set_role (fo, fo_context_get_role (context)); fo_table_body_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_table_body_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_table_body_debug_dump_properties (FoFo *fo, gint depth) { FoTableBody *fo_table_body; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo)); fo_table_body = FO_TABLE_BODY (fo); fo_object_debug_dump (fo_table_body->background_color, depth); fo_object_debug_dump (fo_table_body->background_image, depth); fo_object_debug_dump (fo_table_body->border_after_color, depth); fo_object_debug_dump (fo_table_body->border_after_precedence, depth); fo_object_debug_dump (fo_table_body->border_after_style, depth); fo_object_debug_dump (fo_table_body->border_after_width, depth); fo_object_debug_dump (fo_table_body->border_before_color, depth); fo_object_debug_dump (fo_table_body->border_before_precedence, depth); fo_object_debug_dump (fo_table_body->border_before_style, depth); fo_object_debug_dump (fo_table_body->border_before_width, depth); fo_object_debug_dump (fo_table_body->border_bottom_color, depth); fo_object_debug_dump (fo_table_body->border_bottom_style, depth); fo_object_debug_dump (fo_table_body->border_bottom_width, depth); fo_object_debug_dump (fo_table_body->border_end_color, depth); fo_object_debug_dump (fo_table_body->border_end_precedence, depth); fo_object_debug_dump (fo_table_body->border_end_style, depth); fo_object_debug_dump (fo_table_body->border_end_width, depth); fo_object_debug_dump (fo_table_body->border_left_color, depth); fo_object_debug_dump (fo_table_body->border_left_style, depth); fo_object_debug_dump (fo_table_body->border_left_width, depth); fo_object_debug_dump (fo_table_body->border_right_color, depth); fo_object_debug_dump (fo_table_body->border_right_style, depth); fo_object_debug_dump (fo_table_body->border_right_width, depth); fo_object_debug_dump (fo_table_body->border_start_color, depth); fo_object_debug_dump (fo_table_body->border_start_precedence, depth); fo_object_debug_dump (fo_table_body->border_start_style, depth); fo_object_debug_dump (fo_table_body->border_start_width, depth); fo_object_debug_dump (fo_table_body->border_top_color, depth); fo_object_debug_dump (fo_table_body->border_top_style, depth); fo_object_debug_dump (fo_table_body->border_top_width, depth); fo_object_debug_dump (fo_table_body->id, depth); fo_object_debug_dump (fo_table_body->padding_after, depth); fo_object_debug_dump (fo_table_body->padding_before, depth); fo_object_debug_dump (fo_table_body->padding_bottom, depth); fo_object_debug_dump (fo_table_body->padding_end, depth); fo_object_debug_dump (fo_table_body->padding_left, depth); fo_object_debug_dump (fo_table_body->padding_right, depth); fo_object_debug_dump (fo_table_body->padding_start, depth); fo_object_debug_dump (fo_table_body->padding_top, depth); fo_object_debug_dump (fo_table_body->role, depth); fo_object_debug_dump (fo_table_body->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_table_body_get_background_color: * @fo_fo: The @FoFo object. * * Gets the "background-color" property of @fo_fo. * * Return value: The "background-color" property value. **/ FoProperty* fo_table_body_get_background_color (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->background_color; } /** * fo_table_body_set_background_color: * @fo_fo: The #FoFo object. * @new_background_color: The new "background-color" property value. * * Sets the "background-color" property of @fo_fo to @new_background_color. **/ void fo_table_body_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_COLOR (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_table_body->background_color != NULL) { g_object_unref (fo_table_body->background_color); } fo_table_body->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_table_body), "background-color");*/ } /** * fo_table_body_get_background_image: * @fo_fo: The @FoFo object. * * Gets the "background-image" property of @fo_fo. * * Return value: The "background-image" property value. **/ FoProperty* fo_table_body_get_background_image (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->background_image; } /** * fo_table_body_set_background_image: * @fo_fo: The #FoFo object. * @new_background_image: The new "background-image" property value. * * Sets the "background-image" property of @fo_fo to @new_background_image. **/ void fo_table_body_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_table_body->background_image != NULL) { g_object_unref (fo_table_body->background_image); } fo_table_body->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_table_body), "background-image");*/ } /** * fo_table_body_get_border_after_color: * @fo_fo: The @FoFo object. * * Gets the "border-after-color" property of @fo_fo. * * Return value: The "border-after-color" property value. **/ FoProperty* fo_table_body_get_border_after_color (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_after_color; } /** * fo_table_body_set_border_after_color: * @fo_fo: The #FoFo object. * @new_border_after_color: The new "border-after-color" property value. * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color. **/ void fo_table_body_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_table_body->border_after_color != NULL) { g_object_unref (fo_table_body->border_after_color); } fo_table_body->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_table_body), "border-after-color");*/ } /** * fo_table_body_get_border_after_precedence: * @fo_fo: The @FoFo object. * * Gets the "border-after-precedence" property of @fo_fo. * * Return value: The "border-after-precedence" property value. **/ FoProperty* fo_table_body_get_border_after_precedence (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_after_precedence; } /** * fo_table_body_set_border_after_precedence: * @fo_fo: The #FoFo object. * @new_border_after_precedence: The new "border-after-precedence" property value. * * Sets the "border-after-precedence" property of @fo_fo to @new_border_after_precedence. **/ void fo_table_body_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE (new_border_after_precedence)); if (new_border_after_precedence != NULL) { g_object_ref (new_border_after_precedence); } if (fo_table_body->border_after_precedence != NULL) { g_object_unref (fo_table_body->border_after_precedence); } fo_table_body->border_after_precedence = new_border_after_precedence; /*g_object_notify (G_OBJECT (fo_table_body), "border-after-precedence");*/ } /** * fo_table_body_get_border_after_style: * @fo_fo: The @FoFo object. * * Gets the "border-after-style" property of @fo_fo. * * Return value: The "border-after-style" property value. **/ FoProperty* fo_table_body_get_border_after_style (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_after_style; } /** * fo_table_body_set_border_after_style: * @fo_fo: The #FoFo object. * @new_border_after_style: The new "border-after-style" property value. * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style. **/ void fo_table_body_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_table_body->border_after_style != NULL) { g_object_unref (fo_table_body->border_after_style); } fo_table_body->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_table_body), "border-after-style");*/ } /** * fo_table_body_get_border_after_width: * @fo_fo: The @FoFo object. * * Gets the "border-after-width" property of @fo_fo. * * Return value: The "border-after-width" property value. **/ FoProperty* fo_table_body_get_border_after_width (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_after_width; } /** * fo_table_body_set_border_after_width: * @fo_fo: The #FoFo object. * @new_border_after_width: The new "border-after-width" property value. * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width. **/ void fo_table_body_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_table_body->border_after_width != NULL) { g_object_unref (fo_table_body->border_after_width); } fo_table_body->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_table_body), "border-after-width");*/ } /** * fo_table_body_get_border_before_color: * @fo_fo: The @FoFo object. * * Gets the "border-before-color" property of @fo_fo. * * Return value: The "border-before-color" property value. **/ FoProperty* fo_table_body_get_border_before_color (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_before_color; } /** * fo_table_body_set_border_before_color: * @fo_fo: The #FoFo object. * @new_border_before_color: The new "border-before-color" property value. * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color. **/ void fo_table_body_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_table_body->border_before_color != NULL) { g_object_unref (fo_table_body->border_before_color); } fo_table_body->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_table_body), "border-before-color");*/ } /** * fo_table_body_get_border_before_precedence: * @fo_fo: The @FoFo object. * * Gets the "border-before-precedence" property of @fo_fo. * * Return value: The "border-before-precedence" property value. **/ FoProperty* fo_table_body_get_border_before_precedence (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_before_precedence; } /** * fo_table_body_set_border_before_precedence: * @fo_fo: The #FoFo object. * @new_border_before_precedence: The new "border-before-precedence" property value. * * Sets the "border-before-precedence" property of @fo_fo to @new_border_before_precedence. **/ void fo_table_body_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE (new_border_before_precedence)); if (new_border_before_precedence != NULL) { g_object_ref (new_border_before_precedence); } if (fo_table_body->border_before_precedence != NULL) { g_object_unref (fo_table_body->border_before_precedence); } fo_table_body->border_before_precedence = new_border_before_precedence; /*g_object_notify (G_OBJECT (fo_table_body), "border-before-precedence");*/ } /** * fo_table_body_get_border_before_style: * @fo_fo: The @FoFo object. * * Gets the "border-before-style" property of @fo_fo. * * Return value: The "border-before-style" property value. **/ FoProperty* fo_table_body_get_border_before_style (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_before_style; } /** * fo_table_body_set_border_before_style: * @fo_fo: The #FoFo object. * @new_border_before_style: The new "border-before-style" property value. * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style. **/ void fo_table_body_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_table_body->border_before_style != NULL) { g_object_unref (fo_table_body->border_before_style); } fo_table_body->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_table_body), "border-before-style");*/ } /** * fo_table_body_get_border_before_width: * @fo_fo: The @FoFo object. * * Gets the "border-before-width" property of @fo_fo. * * Return value: The "border-before-width" property value. **/ FoProperty* fo_table_body_get_border_before_width (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_before_width; } /** * fo_table_body_set_border_before_width: * @fo_fo: The #FoFo object. * @new_border_before_width: The new "border-before-width" property value. * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width. **/ void fo_table_body_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_table_body->border_before_width != NULL) { g_object_unref (fo_table_body->border_before_width); } fo_table_body->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_table_body), "border-before-width");*/ } /** * fo_table_body_get_border_bottom_color: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-color" property of @fo_fo. * * Return value: The "border-bottom-color" property value. **/ FoProperty* fo_table_body_get_border_bottom_color (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_bottom_color; } /** * fo_table_body_set_border_bottom_color: * @fo_fo: The #FoFo object. * @new_border_bottom_color: The new "border-bottom-color" property value. * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color. **/ void fo_table_body_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_table_body->border_bottom_color != NULL) { g_object_unref (fo_table_body->border_bottom_color); } fo_table_body->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_table_body), "border-bottom-color");*/ } /** * fo_table_body_get_border_bottom_style: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-style" property of @fo_fo. * * Return value: The "border-bottom-style" property value. **/ FoProperty* fo_table_body_get_border_bottom_style (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_bottom_style; } /** * fo_table_body_set_border_bottom_style: * @fo_fo: The #FoFo object. * @new_border_bottom_style: The new "border-bottom-style" property value. * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style. **/ void fo_table_body_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_table_body->border_bottom_style != NULL) { g_object_unref (fo_table_body->border_bottom_style); } fo_table_body->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_table_body), "border-bottom-style");*/ } /** * fo_table_body_get_border_bottom_width: * @fo_fo: The @FoFo object. * * Gets the "border-bottom-width" property of @fo_fo. * * Return value: The "border-bottom-width" property value. **/ FoProperty* fo_table_body_get_border_bottom_width (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_bottom_width; } /** * fo_table_body_set_border_bottom_width: * @fo_fo: The #FoFo object. * @new_border_bottom_width: The new "border-bottom-width" property value. * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width. **/ void fo_table_body_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_table_body->border_bottom_width != NULL) { g_object_unref (fo_table_body->border_bottom_width); } fo_table_body->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_table_body), "border-bottom-width");*/ } /** * fo_table_body_get_border_end_color: * @fo_fo: The @FoFo object. * * Gets the "border-end-color" property of @fo_fo. * * Return value: The "border-end-color" property value. **/ FoProperty* fo_table_body_get_border_end_color (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_end_color; } /** * fo_table_body_set_border_end_color: * @fo_fo: The #FoFo object. * @new_border_end_color: The new "border-end-color" property value. * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color. **/ void fo_table_body_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_table_body->border_end_color != NULL) { g_object_unref (fo_table_body->border_end_color); } fo_table_body->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_table_body), "border-end-color");*/ } /** * fo_table_body_get_border_end_precedence: * @fo_fo: The @FoFo object. * * Gets the "border-end-precedence" property of @fo_fo. * * Return value: The "border-end-precedence" property value. **/ FoProperty* fo_table_body_get_border_end_precedence (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_end_precedence; } /** * fo_table_body_set_border_end_precedence: * @fo_fo: The #FoFo object. * @new_border_end_precedence: The new "border-end-precedence" property value. * * Sets the "border-end-precedence" property of @fo_fo to @new_border_end_precedence. **/ void fo_table_body_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_PRECEDENCE (new_border_end_precedence)); if (new_border_end_precedence != NULL) { g_object_ref (new_border_end_precedence); } if (fo_table_body->border_end_precedence != NULL) { g_object_unref (fo_table_body->border_end_precedence); } fo_table_body->border_end_precedence = new_border_end_precedence; /*g_object_notify (G_OBJECT (fo_table_body), "border-end-precedence");*/ } /** * fo_table_body_get_border_end_style: * @fo_fo: The @FoFo object. * * Gets the "border-end-style" property of @fo_fo. * * Return value: The "border-end-style" property value. **/ FoProperty* fo_table_body_get_border_end_style (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_end_style; } /** * fo_table_body_set_border_end_style: * @fo_fo: The #FoFo object. * @new_border_end_style: The new "border-end-style" property value. * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style. **/ void fo_table_body_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_table_body->border_end_style != NULL) { g_object_unref (fo_table_body->border_end_style); } fo_table_body->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_table_body), "border-end-style");*/ } /** * fo_table_body_get_border_end_width: * @fo_fo: The @FoFo object. * * Gets the "border-end-width" property of @fo_fo. * * Return value: The "border-end-width" property value. **/ FoProperty* fo_table_body_get_border_end_width (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_end_width; } /** * fo_table_body_set_border_end_width: * @fo_fo: The #FoFo object. * @new_border_end_width: The new "border-end-width" property value. * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width. **/ void fo_table_body_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_table_body->border_end_width != NULL) { g_object_unref (fo_table_body->border_end_width); } fo_table_body->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_table_body), "border-end-width");*/ } /** * fo_table_body_get_border_left_color: * @fo_fo: The @FoFo object. * * Gets the "border-left-color" property of @fo_fo. * * Return value: The "border-left-color" property value. **/ FoProperty* fo_table_body_get_border_left_color (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_left_color; } /** * fo_table_body_set_border_left_color: * @fo_fo: The #FoFo object. * @new_border_left_color: The new "border-left-color" property value. * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color. **/ void fo_table_body_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_table_body->border_left_color != NULL) { g_object_unref (fo_table_body->border_left_color); } fo_table_body->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_table_body), "border-left-color");*/ } /** * fo_table_body_get_border_left_style: * @fo_fo: The @FoFo object. * * Gets the "border-left-style" property of @fo_fo. * * Return value: The "border-left-style" property value. **/ FoProperty* fo_table_body_get_border_left_style (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_left_style; } /** * fo_table_body_set_border_left_style: * @fo_fo: The #FoFo object. * @new_border_left_style: The new "border-left-style" property value. * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style. **/ void fo_table_body_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_table_body->border_left_style != NULL) { g_object_unref (fo_table_body->border_left_style); } fo_table_body->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_table_body), "border-left-style");*/ } /** * fo_table_body_get_border_left_width: * @fo_fo: The @FoFo object. * * Gets the "border-left-width" property of @fo_fo. * * Return value: The "border-left-width" property value. **/ FoProperty* fo_table_body_get_border_left_width (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_left_width; } /** * fo_table_body_set_border_left_width: * @fo_fo: The #FoFo object. * @new_border_left_width: The new "border-left-width" property value. * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width. **/ void fo_table_body_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_table_body->border_left_width != NULL) { g_object_unref (fo_table_body->border_left_width); } fo_table_body->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_table_body), "border-left-width");*/ } /** * fo_table_body_get_border_right_color: * @fo_fo: The @FoFo object. * * Gets the "border-right-color" property of @fo_fo. * * Return value: The "border-right-color" property value. **/ FoProperty* fo_table_body_get_border_right_color (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_right_color; } /** * fo_table_body_set_border_right_color: * @fo_fo: The #FoFo object. * @new_border_right_color: The new "border-right-color" property value. * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color. **/ void fo_table_body_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_table_body->border_right_color != NULL) { g_object_unref (fo_table_body->border_right_color); } fo_table_body->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_table_body), "border-right-color");*/ } /** * fo_table_body_get_border_right_style: * @fo_fo: The @FoFo object. * * Gets the "border-right-style" property of @fo_fo. * * Return value: The "border-right-style" property value. **/ FoProperty* fo_table_body_get_border_right_style (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_right_style; } /** * fo_table_body_set_border_right_style: * @fo_fo: The #FoFo object. * @new_border_right_style: The new "border-right-style" property value. * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style. **/ void fo_table_body_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_table_body->border_right_style != NULL) { g_object_unref (fo_table_body->border_right_style); } fo_table_body->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_table_body), "border-right-style");*/ } /** * fo_table_body_get_border_right_width: * @fo_fo: The @FoFo object. * * Gets the "border-right-width" property of @fo_fo. * * Return value: The "border-right-width" property value. **/ FoProperty* fo_table_body_get_border_right_width (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_right_width; } /** * fo_table_body_set_border_right_width: * @fo_fo: The #FoFo object. * @new_border_right_width: The new "border-right-width" property value. * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width. **/ void fo_table_body_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_table_body->border_right_width != NULL) { g_object_unref (fo_table_body->border_right_width); } fo_table_body->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_table_body), "border-right-width");*/ } /** * fo_table_body_get_border_start_color: * @fo_fo: The @FoFo object. * * Gets the "border-start-color" property of @fo_fo. * * Return value: The "border-start-color" property value. **/ FoProperty* fo_table_body_get_border_start_color (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_start_color; } /** * fo_table_body_set_border_start_color: * @fo_fo: The #FoFo object. * @new_border_start_color: The new "border-start-color" property value. * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color. **/ void fo_table_body_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_table_body->border_start_color != NULL) { g_object_unref (fo_table_body->border_start_color); } fo_table_body->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_table_body), "border-start-color");*/ } /** * fo_table_body_get_border_start_precedence: * @fo_fo: The @FoFo object. * * Gets the "border-start-precedence" property of @fo_fo. * * Return value: The "border-start-precedence" property value. **/ FoProperty* fo_table_body_get_border_start_precedence (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_start_precedence; } /** * fo_table_body_set_border_start_precedence: * @fo_fo: The #FoFo object. * @new_border_start_precedence: The new "border-start-precedence" property value. * * Sets the "border-start-precedence" property of @fo_fo to @new_border_start_precedence. **/ void fo_table_body_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_PRECEDENCE (new_border_start_precedence)); if (new_border_start_precedence != NULL) { g_object_ref (new_border_start_precedence); } if (fo_table_body->border_start_precedence != NULL) { g_object_unref (fo_table_body->border_start_precedence); } fo_table_body->border_start_precedence = new_border_start_precedence; /*g_object_notify (G_OBJECT (fo_table_body), "border-start-precedence");*/ } /** * fo_table_body_get_border_start_style: * @fo_fo: The @FoFo object. * * Gets the "border-start-style" property of @fo_fo. * * Return value: The "border-start-style" property value. **/ FoProperty* fo_table_body_get_border_start_style (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_start_style; } /** * fo_table_body_set_border_start_style: * @fo_fo: The #FoFo object. * @new_border_start_style: The new "border-start-style" property value. * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style. **/ void fo_table_body_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_table_body->border_start_style != NULL) { g_object_unref (fo_table_body->border_start_style); } fo_table_body->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_table_body), "border-start-style");*/ } /** * fo_table_body_get_border_start_width: * @fo_fo: The @FoFo object. * * Gets the "border-start-width" property of @fo_fo. * * Return value: The "border-start-width" property value. **/ FoProperty* fo_table_body_get_border_start_width (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_start_width; } /** * fo_table_body_set_border_start_width: * @fo_fo: The #FoFo object. * @new_border_start_width: The new "border-start-width" property value. * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width. **/ void fo_table_body_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_table_body->border_start_width != NULL) { g_object_unref (fo_table_body->border_start_width); } fo_table_body->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_table_body), "border-start-width");*/ } /** * fo_table_body_get_border_top_color: * @fo_fo: The @FoFo object. * * Gets the "border-top-color" property of @fo_fo. * * Return value: The "border-top-color" property value. **/ FoProperty* fo_table_body_get_border_top_color (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_top_color; } /** * fo_table_body_set_border_top_color: * @fo_fo: The #FoFo object. * @new_border_top_color: The new "border-top-color" property value. * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color. **/ void fo_table_body_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_table_body->border_top_color != NULL) { g_object_unref (fo_table_body->border_top_color); } fo_table_body->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_table_body), "border-top-color");*/ } /** * fo_table_body_get_border_top_style: * @fo_fo: The @FoFo object. * * Gets the "border-top-style" property of @fo_fo. * * Return value: The "border-top-style" property value. **/ FoProperty* fo_table_body_get_border_top_style (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_top_style; } /** * fo_table_body_set_border_top_style: * @fo_fo: The #FoFo object. * @new_border_top_style: The new "border-top-style" property value. * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style. **/ void fo_table_body_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_table_body->border_top_style != NULL) { g_object_unref (fo_table_body->border_top_style); } fo_table_body->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_table_body), "border-top-style");*/ } /** * fo_table_body_get_border_top_width: * @fo_fo: The @FoFo object. * * Gets the "border-top-width" property of @fo_fo. * * Return value: The "border-top-width" property value. **/ FoProperty* fo_table_body_get_border_top_width (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->border_top_width; } /** * fo_table_body_set_border_top_width: * @fo_fo: The #FoFo object. * @new_border_top_width: The new "border-top-width" property value. * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width. **/ void fo_table_body_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_table_body->border_top_width != NULL) { g_object_unref (fo_table_body->border_top_width); } fo_table_body->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_table_body), "border-top-width");*/ } /** * fo_table_body_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty* fo_table_body_get_id (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->id; } /** * fo_table_body_set_id: * @fo_fo: The #FoFo object. * @new_id: The new "id" property value. * * Sets the "id" property of @fo_fo to @new_id. **/ void fo_table_body_set_id (FoFo *fo_fo, FoProperty *new_id) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_table_body->id != NULL) { g_object_unref (fo_table_body->id); } fo_table_body->id = new_id; /*g_object_notify (G_OBJECT (fo_table_body), "id");*/ } /** * fo_table_body_get_padding_after: * @fo_fo: The @FoFo object. * * Gets the "padding-after" property of @fo_fo. * * Return value: The "padding-after" property value. **/ FoProperty* fo_table_body_get_padding_after (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->padding_after; } /** * fo_table_body_set_padding_after: * @fo_fo: The #FoFo object. * @new_padding_after: The new "padding-after" property value. * * Sets the "padding-after" property of @fo_fo to @new_padding_after. **/ void fo_table_body_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_table_body->padding_after != NULL) { g_object_unref (fo_table_body->padding_after); } fo_table_body->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_table_body), "padding-after");*/ } /** * fo_table_body_get_padding_before: * @fo_fo: The @FoFo object. * * Gets the "padding-before" property of @fo_fo. * * Return value: The "padding-before" property value. **/ FoProperty* fo_table_body_get_padding_before (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->padding_before; } /** * fo_table_body_set_padding_before: * @fo_fo: The #FoFo object. * @new_padding_before: The new "padding-before" property value. * * Sets the "padding-before" property of @fo_fo to @new_padding_before. **/ void fo_table_body_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_table_body->padding_before != NULL) { g_object_unref (fo_table_body->padding_before); } fo_table_body->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_table_body), "padding-before");*/ } /** * fo_table_body_get_padding_bottom: * @fo_fo: The @FoFo object. * * Gets the "padding-bottom" property of @fo_fo. * * Return value: The "padding-bottom" property value. **/ FoProperty* fo_table_body_get_padding_bottom (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->padding_bottom; } /** * fo_table_body_set_padding_bottom: * @fo_fo: The #FoFo object. * @new_padding_bottom: The new "padding-bottom" property value. * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom. **/ void fo_table_body_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_table_body->padding_bottom != NULL) { g_object_unref (fo_table_body->padding_bottom); } fo_table_body->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_table_body), "padding-bottom");*/ } /** * fo_table_body_get_padding_end: * @fo_fo: The @FoFo object. * * Gets the "padding-end" property of @fo_fo. * * Return value: The "padding-end" property value. **/ FoProperty* fo_table_body_get_padding_end (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->padding_end; } /** * fo_table_body_set_padding_end: * @fo_fo: The #FoFo object. * @new_padding_end: The new "padding-end" property value. * * Sets the "padding-end" property of @fo_fo to @new_padding_end. **/ void fo_table_body_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_table_body->padding_end != NULL) { g_object_unref (fo_table_body->padding_end); } fo_table_body->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_table_body), "padding-end");*/ } /** * fo_table_body_get_padding_left: * @fo_fo: The @FoFo object. * * Gets the "padding-left" property of @fo_fo. * * Return value: The "padding-left" property value. **/ FoProperty* fo_table_body_get_padding_left (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->padding_left; } /** * fo_table_body_set_padding_left: * @fo_fo: The #FoFo object. * @new_padding_left: The new "padding-left" property value. * * Sets the "padding-left" property of @fo_fo to @new_padding_left. **/ void fo_table_body_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_table_body->padding_left != NULL) { g_object_unref (fo_table_body->padding_left); } fo_table_body->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_table_body), "padding-left");*/ } /** * fo_table_body_get_padding_right: * @fo_fo: The @FoFo object. * * Gets the "padding-right" property of @fo_fo. * * Return value: The "padding-right" property value. **/ FoProperty* fo_table_body_get_padding_right (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->padding_right; } /** * fo_table_body_set_padding_right: * @fo_fo: The #FoFo object. * @new_padding_right: The new "padding-right" property value. * * Sets the "padding-right" property of @fo_fo to @new_padding_right. **/ void fo_table_body_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_table_body->padding_right != NULL) { g_object_unref (fo_table_body->padding_right); } fo_table_body->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_table_body), "padding-right");*/ } /** * fo_table_body_get_padding_start: * @fo_fo: The @FoFo object. * * Gets the "padding-start" property of @fo_fo. * * Return value: The "padding-start" property value. **/ FoProperty* fo_table_body_get_padding_start (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->padding_start; } /** * fo_table_body_set_padding_start: * @fo_fo: The #FoFo object. * @new_padding_start: The new "padding-start" property value. * * Sets the "padding-start" property of @fo_fo to @new_padding_start. **/ void fo_table_body_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_table_body->padding_start != NULL) { g_object_unref (fo_table_body->padding_start); } fo_table_body->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_table_body), "padding-start");*/ } /** * fo_table_body_get_padding_top: * @fo_fo: The @FoFo object. * * Gets the "padding-top" property of @fo_fo. * * Return value: The "padding-top" property value. **/ FoProperty* fo_table_body_get_padding_top (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->padding_top; } /** * fo_table_body_set_padding_top: * @fo_fo: The #FoFo object. * @new_padding_top: The new "padding-top" property value. * * Sets the "padding-top" property of @fo_fo to @new_padding_top. **/ void fo_table_body_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_table_body->padding_top != NULL) { g_object_unref (fo_table_body->padding_top); } fo_table_body->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_table_body), "padding-top");*/ } /** * fo_table_body_get_role: * @fo_fo: The @FoFo object. * * Gets the "role" property of @fo_fo. * * Return value: The "role" property value. **/ FoProperty* fo_table_body_get_role (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->role; } /** * fo_table_body_set_role: * @fo_fo: The #FoFo object. * @new_role: The new "role" property value. * * Sets the "role" property of @fo_fo to @new_role. **/ void fo_table_body_set_role (FoFo *fo_fo, FoProperty *new_role) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_table_body->role != NULL) { g_object_unref (fo_table_body->role); } fo_table_body->role = new_role; /*g_object_notify (G_OBJECT (fo_table_body), "role");*/ } /** * fo_table_body_get_source_document: * @fo_fo: The @FoFo object. * * Gets the "source-document" property of @fo_fo. * * Return value: The "source-document" property value. **/ FoProperty* fo_table_body_get_source_document (FoFo *fo_fo) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_val_if_fail (fo_table_body != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_BODY (fo_table_body), NULL); return fo_table_body->source_document; } /** * fo_table_body_set_source_document: * @fo_fo: The #FoFo object. * @new_source_document: The new "source-document" property value. * * Sets the "source-document" property of @fo_fo to @new_source_document. **/ void fo_table_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoTableBody *fo_table_body = (FoTableBody *) fo_fo; g_return_if_fail (fo_table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (fo_table_body)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_table_body->source_document != NULL) { g_object_unref (fo_table_body->source_document); } fo_table_body->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_table_body), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-table-body.h0000644000175000017500000002441710643167375014435 00000000000000/* Fo * fo-table-body.h: 'table-body' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_BODY_H__ #define __FO_TABLE_BODY_H__ #include #include #include G_BEGIN_DECLS /** * FoTableBody: * * Instance of the 'table-body' formatting object. **/ typedef struct _FoTableBody FoTableBody; /** * FoTableBodyClass: * * Class structure for the 'table-body' formatting object. **/ typedef struct _FoTableBodyClass FoTableBodyClass; #define FO_TYPE_TABLE_BODY (fo_table_body_get_type ()) #define FO_TABLE_BODY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_BODY, FoTableBody)) #define FO_TABLE_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_BODY, FoTableBodyClass)) #define FO_IS_TABLE_BODY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_BODY)) #define FO_IS_TABLE_BODY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_BODY)) #define FO_TABLE_BODY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_BODY, FoTableBodyClass)) GType fo_table_body_get_type (void) G_GNUC_CONST; FoFo * fo_table_body_new (void); FoProperty * fo_table_body_get_background_color (FoFo *fo_fo); void fo_table_body_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_table_body_get_background_image (FoFo *fo_fo); void fo_table_body_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_table_body_get_border_after_color (FoFo *fo_fo); void fo_table_body_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_table_body_get_border_after_precedence (FoFo *fo_fo); void fo_table_body_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty * fo_table_body_get_border_after_style (FoFo *fo_fo); void fo_table_body_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_table_body_get_border_after_width (FoFo *fo_fo); void fo_table_body_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_table_body_get_border_before_color (FoFo *fo_fo); void fo_table_body_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_table_body_get_border_before_precedence (FoFo *fo_fo); void fo_table_body_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty * fo_table_body_get_border_before_style (FoFo *fo_fo); void fo_table_body_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_table_body_get_border_before_width (FoFo *fo_fo); void fo_table_body_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_table_body_get_border_bottom_color (FoFo *fo_fo); void fo_table_body_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_table_body_get_border_bottom_style (FoFo *fo_fo); void fo_table_body_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_table_body_get_border_bottom_width (FoFo *fo_fo); void fo_table_body_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_table_body_get_border_end_color (FoFo *fo_fo); void fo_table_body_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_table_body_get_border_end_precedence (FoFo *fo_fo); void fo_table_body_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty * fo_table_body_get_border_end_style (FoFo *fo_fo); void fo_table_body_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_table_body_get_border_end_width (FoFo *fo_fo); void fo_table_body_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_table_body_get_border_left_color (FoFo *fo_fo); void fo_table_body_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_table_body_get_border_left_style (FoFo *fo_fo); void fo_table_body_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_table_body_get_border_left_width (FoFo *fo_fo); void fo_table_body_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_table_body_get_border_right_color (FoFo *fo_fo); void fo_table_body_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_table_body_get_border_right_style (FoFo *fo_fo); void fo_table_body_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_table_body_get_border_right_width (FoFo *fo_fo); void fo_table_body_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_table_body_get_border_start_color (FoFo *fo_fo); void fo_table_body_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_table_body_get_border_start_precedence (FoFo *fo_fo); void fo_table_body_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty * fo_table_body_get_border_start_style (FoFo *fo_fo); void fo_table_body_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_table_body_get_border_start_width (FoFo *fo_fo); void fo_table_body_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_table_body_get_border_top_color (FoFo *fo_fo); void fo_table_body_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_table_body_get_border_top_style (FoFo *fo_fo); void fo_table_body_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_table_body_get_border_top_width (FoFo *fo_fo); void fo_table_body_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_table_body_get_id (FoFo *fo_fo); void fo_table_body_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_table_body_get_padding_after (FoFo *fo_fo); void fo_table_body_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_table_body_get_padding_before (FoFo *fo_fo); void fo_table_body_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_table_body_get_padding_bottom (FoFo *fo_fo); void fo_table_body_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_table_body_get_padding_end (FoFo *fo_fo); void fo_table_body_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_table_body_get_padding_left (FoFo *fo_fo); void fo_table_body_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_table_body_get_padding_right (FoFo *fo_fo); void fo_table_body_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_table_body_get_padding_start (FoFo *fo_fo); void fo_table_body_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_table_body_get_padding_top (FoFo *fo_fo); void fo_table_body_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_table_body_get_role (FoFo *fo_fo); void fo_table_body_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_table_body_get_source_document (FoFo *fo_fo); void fo_table_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_TABLE_BODY_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-body-private.h0000644000175000017500000000356210643167376016104 00000000000000/* Fo * fo-table-body-private.h: Structures private to 'table-body' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_BODY_PRIVATE_H__ #define __FO_TABLE_BODY_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoTableBody { FoTablePart parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_precedence; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_precedence; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_precedence; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_precedence; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *id; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; }; struct _FoTableBodyClass { FoTablePartClass parent_class; }; G_END_DECLS #endif /* !__FO_TABLE_BODY_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-caption.c0000644000175000017500000031606010660107744015117 00000000000000/* Fo * fo-table-caption.c: 'table-caption' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-table-caption-private.h" #include "fo-context-util.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-height.h" #include "property/fo-property-id.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-width.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_HEIGHT, PROP_ID, PROP_INLINE_PROGRESSION_DIMENSION, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_WIDTH }; static void fo_table_caption_class_init (FoTableCaptionClass *klass); static void fo_table_caption_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_table_caption_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_table_caption_finalize (GObject *object); static void fo_table_caption_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_table_caption_update_from_context (FoFo *fo, FoContext *context); static void fo_table_caption_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_table_caption_get_type: * * Register the #FoTableCaption object type. * * Return value: #GType value of the #FoTableCaption object type. **/ GType fo_table_caption_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTableCaptionClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_table_caption_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTableCaption), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoTableCaption", &object_info, 0); } return object_type; } /** * fo_table_caption_class_init: * @klass: #FoTableCaptionClass object to initialise. * * Implements #GClassInitFunc for #FoTableCaptionClass. **/ void fo_table_caption_class_init (FoTableCaptionClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_caption_finalize; object_class->get_property = fo_table_caption_get_property; object_class->set_property = fo_table_caption_set_property; fofo_class->validate_content = fo_fo_validate_content_block_plus; fofo_class->validate2 = fo_table_caption_validate; fofo_class->update_from_context = fo_table_caption_update_from_context; fofo_class->debug_dump_properties = fo_table_caption_debug_dump_properties; fofo_class->generate_reference_area = TRUE; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION, g_param_spec_object ("inline-progression-dimension", _("Inline Progression Dimension"), _("Inline Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_table_caption_finalize: * @object: #FoTableCaption object to finalize. * * Implements #GObjectFinalizeFunc for #FoTableCaption. **/ void fo_table_caption_finalize (GObject *object) { FoTableCaption *fo_table_caption; fo_table_caption = FO_TABLE_CAPTION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_caption_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTableCaption. **/ void fo_table_caption_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_table_caption_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_background_image (fo_fo))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_table_caption_get_block_progression_dimension (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_caption_get_border_top_width (fo_fo))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_table_caption_get_height (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_table_caption_get_id (fo_fo))); break; case PROP_INLINE_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_table_caption_get_inline_progression_dimension (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_table_caption_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_caption_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_keep_together_within_page (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_table_caption_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_caption_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_table_caption_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_table_caption_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_caption_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_table_caption_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_table_caption_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_table_caption_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_table_caption_get_source_document (fo_fo))); break; case PROP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_caption_get_width (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_caption_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTableCaption. **/ void fo_table_caption_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_table_caption_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_table_caption_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_table_caption_set_block_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_table_caption_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_table_caption_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_table_caption_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_table_caption_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_table_caption_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_table_caption_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_table_caption_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_table_caption_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_table_caption_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_table_caption_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_table_caption_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_table_caption_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_table_caption_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_table_caption_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_table_caption_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_table_caption_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_table_caption_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_table_caption_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_table_caption_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_table_caption_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_table_caption_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_table_caption_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_table_caption_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_table_caption_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_HEIGHT: fo_table_caption_set_height (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_table_caption_set_id (fo_fo, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION: fo_table_caption_set_inline_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_table_caption_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_table_caption_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_table_caption_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_table_caption_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_table_caption_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_table_caption_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_table_caption_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_table_caption_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_table_caption_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_table_caption_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_table_caption_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_table_caption_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_table_caption_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_table_caption_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_WIDTH: fo_table_caption_set_width (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_caption_new: * * Creates a new #FoTableCaption initialized to default value. * * Return value: the new #FoTableCaption. **/ FoFo* fo_table_caption_new (void) { return FO_FO (g_object_new (fo_table_caption_get_type (), NULL)); } /** * fo_table_caption_validate: * @fo: #FoTableCaption object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_table_caption_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoTableCaption *fo_table_caption; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_table_caption = FO_TABLE_CAPTION (fo); fo_context_util_height_width_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_table_caption_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_caption_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_table_caption_set_background_color (fo, fo_context_get_background_color (context)); fo_table_caption_set_background_image (fo, fo_context_get_background_image (context)); fo_table_caption_set_block_progression_dimension (fo, fo_context_get_block_progression_dimension (context)); fo_table_caption_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_table_caption_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_table_caption_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_table_caption_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_table_caption_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_table_caption_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_table_caption_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_table_caption_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_table_caption_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_table_caption_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_table_caption_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_table_caption_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_table_caption_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_table_caption_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_table_caption_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_table_caption_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_table_caption_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_table_caption_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_table_caption_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_table_caption_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_table_caption_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_table_caption_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_table_caption_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_table_caption_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_table_caption_set_height (fo, fo_context_get_height (context)); fo_table_caption_set_id (fo, fo_context_get_id (context)); fo_table_caption_set_inline_progression_dimension (fo, fo_context_get_inline_progression_dimension (context)); fo_table_caption_set_keep_together (fo, fo_context_get_keep_together (context)); fo_table_caption_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_table_caption_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_table_caption_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_table_caption_set_padding_after (fo, fo_context_get_padding_after (context)); fo_table_caption_set_padding_before (fo, fo_context_get_padding_before (context)); fo_table_caption_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_table_caption_set_padding_end (fo, fo_context_get_padding_end (context)); fo_table_caption_set_padding_left (fo, fo_context_get_padding_left (context)); fo_table_caption_set_padding_right (fo, fo_context_get_padding_right (context)); fo_table_caption_set_padding_start (fo, fo_context_get_padding_start (context)); fo_table_caption_set_padding_top (fo, fo_context_get_padding_top (context)); fo_table_caption_set_role (fo, fo_context_get_role (context)); fo_table_caption_set_source_document (fo, fo_context_get_source_document (context)); fo_table_caption_set_width (fo, fo_context_get_width (context)); } /** * fo_table_caption_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_table_caption_debug_dump_properties (FoFo *fo, gint depth) { FoTableCaption *fo_table_caption; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo)); fo_table_caption = FO_TABLE_CAPTION (fo); fo_object_debug_dump (fo_table_caption->background_color, depth); fo_object_debug_dump (fo_table_caption->background_image, depth); fo_object_debug_dump (fo_table_caption->block_progression_dimension, depth); fo_object_debug_dump (fo_table_caption->border_after_color, depth); fo_object_debug_dump (fo_table_caption->border_after_style, depth); fo_object_debug_dump (fo_table_caption->border_after_width, depth); fo_object_debug_dump (fo_table_caption->border_before_color, depth); fo_object_debug_dump (fo_table_caption->border_before_style, depth); fo_object_debug_dump (fo_table_caption->border_before_width, depth); fo_object_debug_dump (fo_table_caption->border_bottom_color, depth); fo_object_debug_dump (fo_table_caption->border_bottom_style, depth); fo_object_debug_dump (fo_table_caption->border_bottom_width, depth); fo_object_debug_dump (fo_table_caption->border_end_color, depth); fo_object_debug_dump (fo_table_caption->border_end_style, depth); fo_object_debug_dump (fo_table_caption->border_end_width, depth); fo_object_debug_dump (fo_table_caption->border_left_color, depth); fo_object_debug_dump (fo_table_caption->border_left_style, depth); fo_object_debug_dump (fo_table_caption->border_left_width, depth); fo_object_debug_dump (fo_table_caption->border_right_color, depth); fo_object_debug_dump (fo_table_caption->border_right_style, depth); fo_object_debug_dump (fo_table_caption->border_right_width, depth); fo_object_debug_dump (fo_table_caption->border_start_color, depth); fo_object_debug_dump (fo_table_caption->border_start_style, depth); fo_object_debug_dump (fo_table_caption->border_start_width, depth); fo_object_debug_dump (fo_table_caption->border_top_color, depth); fo_object_debug_dump (fo_table_caption->border_top_style, depth); fo_object_debug_dump (fo_table_caption->border_top_width, depth); fo_object_debug_dump (fo_table_caption->height, depth); fo_object_debug_dump (fo_table_caption->id, depth); fo_object_debug_dump (fo_table_caption->inline_progression_dimension, depth); fo_object_debug_dump (fo_table_caption->keep_together, depth); fo_object_debug_dump (fo_table_caption->keep_together_within_column, depth); fo_object_debug_dump (fo_table_caption->keep_together_within_line, depth); fo_object_debug_dump (fo_table_caption->keep_together_within_page, depth); fo_object_debug_dump (fo_table_caption->padding_after, depth); fo_object_debug_dump (fo_table_caption->padding_before, depth); fo_object_debug_dump (fo_table_caption->padding_bottom, depth); fo_object_debug_dump (fo_table_caption->padding_end, depth); fo_object_debug_dump (fo_table_caption->padding_left, depth); fo_object_debug_dump (fo_table_caption->padding_right, depth); fo_object_debug_dump (fo_table_caption->padding_start, depth); fo_object_debug_dump (fo_table_caption->padding_top, depth); fo_object_debug_dump (fo_table_caption->role, depth); fo_object_debug_dump (fo_table_caption->source_document, depth); fo_object_debug_dump (fo_table_caption->width, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_table_caption_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_table_caption_get_background_color (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->background_color; } /** * fo_table_caption_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_table_caption_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_table_caption->background_color != NULL) { g_object_unref (fo_table_caption->background_color); } fo_table_caption->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_table_caption), "background-color");*/ } /** * fo_table_caption_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_table_caption_get_background_image (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->background_image; } /** * fo_table_caption_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_table_caption_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_table_caption->background_image != NULL) { g_object_unref (fo_table_caption->background_image); } fo_table_caption->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_table_caption), "background-image");*/ } /** * fo_table_caption_get_block_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "block-progression-dimension" property of @fo_fo * * Return value: The "block-progression-dimension" property value **/ FoProperty* fo_table_caption_get_block_progression_dimension (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->block_progression_dimension; } /** * fo_table_caption_set_block_progression_dimension: * @fo_fo: The #FoFo object * @new_block_progression_dimension: The new "block-progression-dimension" property value * * Sets the "block-progression-dimension" property of @fo_fo to @new_block_progression_dimension **/ void fo_table_caption_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_table_caption->block_progression_dimension != NULL) { g_object_unref (fo_table_caption->block_progression_dimension); } fo_table_caption->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_table_caption), "block-progression-dimension");*/ } /** * fo_table_caption_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_table_caption_get_border_after_color (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_after_color; } /** * fo_table_caption_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_table_caption_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_table_caption->border_after_color != NULL) { g_object_unref (fo_table_caption->border_after_color); } fo_table_caption->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_table_caption), "border-after-color");*/ } /** * fo_table_caption_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_table_caption_get_border_after_style (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_after_style; } /** * fo_table_caption_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_table_caption_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_table_caption->border_after_style != NULL) { g_object_unref (fo_table_caption->border_after_style); } fo_table_caption->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_table_caption), "border-after-style");*/ } /** * fo_table_caption_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_table_caption_get_border_after_width (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_after_width; } /** * fo_table_caption_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_table_caption_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_table_caption->border_after_width != NULL) { g_object_unref (fo_table_caption->border_after_width); } fo_table_caption->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_table_caption), "border-after-width");*/ } /** * fo_table_caption_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_table_caption_get_border_before_color (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_before_color; } /** * fo_table_caption_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_table_caption_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_table_caption->border_before_color != NULL) { g_object_unref (fo_table_caption->border_before_color); } fo_table_caption->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_table_caption), "border-before-color");*/ } /** * fo_table_caption_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_table_caption_get_border_before_style (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_before_style; } /** * fo_table_caption_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_table_caption_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_table_caption->border_before_style != NULL) { g_object_unref (fo_table_caption->border_before_style); } fo_table_caption->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_table_caption), "border-before-style");*/ } /** * fo_table_caption_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_table_caption_get_border_before_width (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_before_width; } /** * fo_table_caption_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_table_caption_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_table_caption->border_before_width != NULL) { g_object_unref (fo_table_caption->border_before_width); } fo_table_caption->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_table_caption), "border-before-width");*/ } /** * fo_table_caption_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_table_caption_get_border_bottom_color (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_bottom_color; } /** * fo_table_caption_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_table_caption_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_table_caption->border_bottom_color != NULL) { g_object_unref (fo_table_caption->border_bottom_color); } fo_table_caption->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_table_caption), "border-bottom-color");*/ } /** * fo_table_caption_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_table_caption_get_border_bottom_style (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_bottom_style; } /** * fo_table_caption_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_table_caption_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_table_caption->border_bottom_style != NULL) { g_object_unref (fo_table_caption->border_bottom_style); } fo_table_caption->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_table_caption), "border-bottom-style");*/ } /** * fo_table_caption_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_table_caption_get_border_bottom_width (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_bottom_width; } /** * fo_table_caption_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_table_caption_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_table_caption->border_bottom_width != NULL) { g_object_unref (fo_table_caption->border_bottom_width); } fo_table_caption->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_table_caption), "border-bottom-width");*/ } /** * fo_table_caption_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_table_caption_get_border_end_color (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_end_color; } /** * fo_table_caption_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_table_caption_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_table_caption->border_end_color != NULL) { g_object_unref (fo_table_caption->border_end_color); } fo_table_caption->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_table_caption), "border-end-color");*/ } /** * fo_table_caption_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_table_caption_get_border_end_style (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_end_style; } /** * fo_table_caption_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_table_caption_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_table_caption->border_end_style != NULL) { g_object_unref (fo_table_caption->border_end_style); } fo_table_caption->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_table_caption), "border-end-style");*/ } /** * fo_table_caption_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_table_caption_get_border_end_width (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_end_width; } /** * fo_table_caption_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_table_caption_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_table_caption->border_end_width != NULL) { g_object_unref (fo_table_caption->border_end_width); } fo_table_caption->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_table_caption), "border-end-width");*/ } /** * fo_table_caption_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_table_caption_get_border_left_color (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_left_color; } /** * fo_table_caption_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_table_caption_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_table_caption->border_left_color != NULL) { g_object_unref (fo_table_caption->border_left_color); } fo_table_caption->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_table_caption), "border-left-color");*/ } /** * fo_table_caption_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_table_caption_get_border_left_style (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_left_style; } /** * fo_table_caption_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_table_caption_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_table_caption->border_left_style != NULL) { g_object_unref (fo_table_caption->border_left_style); } fo_table_caption->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_table_caption), "border-left-style");*/ } /** * fo_table_caption_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_table_caption_get_border_left_width (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_left_width; } /** * fo_table_caption_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_table_caption_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_table_caption->border_left_width != NULL) { g_object_unref (fo_table_caption->border_left_width); } fo_table_caption->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_table_caption), "border-left-width");*/ } /** * fo_table_caption_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_table_caption_get_border_right_color (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_right_color; } /** * fo_table_caption_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_table_caption_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_table_caption->border_right_color != NULL) { g_object_unref (fo_table_caption->border_right_color); } fo_table_caption->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_table_caption), "border-right-color");*/ } /** * fo_table_caption_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_table_caption_get_border_right_style (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_right_style; } /** * fo_table_caption_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_table_caption_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_table_caption->border_right_style != NULL) { g_object_unref (fo_table_caption->border_right_style); } fo_table_caption->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_table_caption), "border-right-style");*/ } /** * fo_table_caption_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_table_caption_get_border_right_width (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_right_width; } /** * fo_table_caption_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_table_caption_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_table_caption->border_right_width != NULL) { g_object_unref (fo_table_caption->border_right_width); } fo_table_caption->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_table_caption), "border-right-width");*/ } /** * fo_table_caption_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_table_caption_get_border_start_color (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_start_color; } /** * fo_table_caption_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_table_caption_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_table_caption->border_start_color != NULL) { g_object_unref (fo_table_caption->border_start_color); } fo_table_caption->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_table_caption), "border-start-color");*/ } /** * fo_table_caption_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_table_caption_get_border_start_style (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_start_style; } /** * fo_table_caption_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_table_caption_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_table_caption->border_start_style != NULL) { g_object_unref (fo_table_caption->border_start_style); } fo_table_caption->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_table_caption), "border-start-style");*/ } /** * fo_table_caption_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_table_caption_get_border_start_width (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_start_width; } /** * fo_table_caption_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_table_caption_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_table_caption->border_start_width != NULL) { g_object_unref (fo_table_caption->border_start_width); } fo_table_caption->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_table_caption), "border-start-width");*/ } /** * fo_table_caption_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_table_caption_get_border_top_color (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_top_color; } /** * fo_table_caption_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_table_caption_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_table_caption->border_top_color != NULL) { g_object_unref (fo_table_caption->border_top_color); } fo_table_caption->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_table_caption), "border-top-color");*/ } /** * fo_table_caption_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_table_caption_get_border_top_style (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_top_style; } /** * fo_table_caption_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_table_caption_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_table_caption->border_top_style != NULL) { g_object_unref (fo_table_caption->border_top_style); } fo_table_caption->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_table_caption), "border-top-style");*/ } /** * fo_table_caption_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_table_caption_get_border_top_width (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->border_top_width; } /** * fo_table_caption_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_table_caption_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_table_caption->border_top_width != NULL) { g_object_unref (fo_table_caption->border_top_width); } fo_table_caption->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_table_caption), "border-top-width");*/ } /** * fo_table_caption_get_height: * @fo_fo: The @FoFo object * * Gets the "height" property of @fo_fo * * Return value: The "height" property value **/ FoProperty* fo_table_caption_get_height (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->height; } /** * fo_table_caption_set_height: * @fo_fo: The #FoFo object * @new_height: The new "height" property value * * Sets the "height" property of @fo_fo to @new_height **/ void fo_table_caption_set_height (FoFo *fo_fo, FoProperty *new_height) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_table_caption->height != NULL) { g_object_unref (fo_table_caption->height); } fo_table_caption->height = new_height; /*g_object_notify (G_OBJECT (fo_table_caption), "height");*/ } /** * fo_table_caption_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_table_caption_get_id (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->id; } /** * fo_table_caption_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_table_caption_set_id (FoFo *fo_fo, FoProperty *new_id) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_table_caption->id != NULL) { g_object_unref (fo_table_caption->id); } fo_table_caption->id = new_id; /*g_object_notify (G_OBJECT (fo_table_caption), "id");*/ } /** * fo_table_caption_get_inline_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "inline-progression-dimension" property of @fo_fo * * Return value: The "inline-progression-dimension" property value **/ FoProperty* fo_table_caption_get_inline_progression_dimension (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->inline_progression_dimension; } /** * fo_table_caption_set_inline_progression_dimension: * @fo_fo: The #FoFo object * @new_inline_progression_dimension: The new "inline-progression-dimension" property value * * Sets the "inline-progression-dimension" property of @fo_fo to @new_inline_progression_dimension **/ void fo_table_caption_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (new_inline_progression_dimension)); if (new_inline_progression_dimension != NULL) { g_object_ref (new_inline_progression_dimension); } if (fo_table_caption->inline_progression_dimension != NULL) { g_object_unref (fo_table_caption->inline_progression_dimension); } fo_table_caption->inline_progression_dimension = new_inline_progression_dimension; /*g_object_notify (G_OBJECT (fo_table_caption), "inline-progression-dimension");*/ } /** * fo_table_caption_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_table_caption_get_keep_together (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->keep_together; } /** * fo_table_caption_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_table_caption_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_table_caption->keep_together != NULL) { g_object_unref (fo_table_caption->keep_together); } fo_table_caption->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_table_caption), "keep-together");*/ } /** * fo_table_caption_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_table_caption_get_keep_together_within_column (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->keep_together_within_column; } /** * fo_table_caption_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_table_caption_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_table_caption->keep_together_within_column != NULL) { g_object_unref (fo_table_caption->keep_together_within_column); } fo_table_caption->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_table_caption), "keep-together-within-column");*/ } /** * fo_table_caption_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_table_caption_get_keep_together_within_line (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->keep_together_within_line; } /** * fo_table_caption_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_table_caption_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_table_caption->keep_together_within_line != NULL) { g_object_unref (fo_table_caption->keep_together_within_line); } fo_table_caption->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_table_caption), "keep-together-within-line");*/ } /** * fo_table_caption_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_table_caption_get_keep_together_within_page (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->keep_together_within_page; } /** * fo_table_caption_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_table_caption_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_table_caption->keep_together_within_page != NULL) { g_object_unref (fo_table_caption->keep_together_within_page); } fo_table_caption->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_table_caption), "keep-together-within-page");*/ } /** * fo_table_caption_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_table_caption_get_padding_after (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->padding_after; } /** * fo_table_caption_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_table_caption_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_table_caption->padding_after != NULL) { g_object_unref (fo_table_caption->padding_after); } fo_table_caption->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_table_caption), "padding-after");*/ } /** * fo_table_caption_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_table_caption_get_padding_before (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->padding_before; } /** * fo_table_caption_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_table_caption_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_table_caption->padding_before != NULL) { g_object_unref (fo_table_caption->padding_before); } fo_table_caption->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_table_caption), "padding-before");*/ } /** * fo_table_caption_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_table_caption_get_padding_bottom (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->padding_bottom; } /** * fo_table_caption_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_table_caption_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_table_caption->padding_bottom != NULL) { g_object_unref (fo_table_caption->padding_bottom); } fo_table_caption->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_table_caption), "padding-bottom");*/ } /** * fo_table_caption_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_table_caption_get_padding_end (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->padding_end; } /** * fo_table_caption_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_table_caption_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_table_caption->padding_end != NULL) { g_object_unref (fo_table_caption->padding_end); } fo_table_caption->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_table_caption), "padding-end");*/ } /** * fo_table_caption_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_table_caption_get_padding_left (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->padding_left; } /** * fo_table_caption_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_table_caption_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_table_caption->padding_left != NULL) { g_object_unref (fo_table_caption->padding_left); } fo_table_caption->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_table_caption), "padding-left");*/ } /** * fo_table_caption_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_table_caption_get_padding_right (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->padding_right; } /** * fo_table_caption_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_table_caption_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_table_caption->padding_right != NULL) { g_object_unref (fo_table_caption->padding_right); } fo_table_caption->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_table_caption), "padding-right");*/ } /** * fo_table_caption_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_table_caption_get_padding_start (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->padding_start; } /** * fo_table_caption_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_table_caption_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_table_caption->padding_start != NULL) { g_object_unref (fo_table_caption->padding_start); } fo_table_caption->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_table_caption), "padding-start");*/ } /** * fo_table_caption_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_table_caption_get_padding_top (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->padding_top; } /** * fo_table_caption_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_table_caption_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_table_caption->padding_top != NULL) { g_object_unref (fo_table_caption->padding_top); } fo_table_caption->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_table_caption), "padding-top");*/ } /** * fo_table_caption_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_table_caption_get_role (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->role; } /** * fo_table_caption_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_table_caption_set_role (FoFo *fo_fo, FoProperty *new_role) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_table_caption->role != NULL) { g_object_unref (fo_table_caption->role); } fo_table_caption->role = new_role; /*g_object_notify (G_OBJECT (fo_table_caption), "role");*/ } /** * fo_table_caption_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_table_caption_get_source_document (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->source_document; } /** * fo_table_caption_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_table_caption_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_table_caption->source_document != NULL) { g_object_unref (fo_table_caption->source_document); } fo_table_caption->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_table_caption), "source-document");*/ } /** * fo_table_caption_get_width: * @fo_fo: The @FoFo object * * Gets the "width" property of @fo_fo * * Return value: The "width" property value **/ FoProperty* fo_table_caption_get_width (FoFo *fo_fo) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_val_if_fail (fo_table_caption != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption), NULL); return fo_table_caption->width; } /** * fo_table_caption_set_width: * @fo_fo: The #FoFo object * @new_width: The new "width" property value * * Sets the "width" property of @fo_fo to @new_width **/ void fo_table_caption_set_width (FoFo *fo_fo, FoProperty *new_width) { FoTableCaption *fo_table_caption = (FoTableCaption *) fo_fo; g_return_if_fail (fo_table_caption != NULL); g_return_if_fail (FO_IS_TABLE_CAPTION (fo_table_caption)); g_return_if_fail (FO_IS_PROPERTY_WIDTH (new_width)); if (new_width != NULL) { g_object_ref (new_width); } if (fo_table_caption->width != NULL) { g_object_unref (fo_table_caption->width); } fo_table_caption->width = new_width; /*g_object_notify (G_OBJECT (fo_table_caption), "width");*/ } xmlroff-0.6.2/libfo/fo/fo-table-caption.h0000644000175000017500000002667110643167376015142 00000000000000/* Fo * fo-table_caption.h: 'table-caption' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_CAPTION_H__ #define __FO_TABLE_CAPTION_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoTableCaption FoTableCaption; typedef struct _FoTableCaptionClass FoTableCaptionClass; #define FO_TYPE_TABLE_CAPTION (fo_table_caption_get_type ()) #define FO_TABLE_CAPTION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_CAPTION, FoTableCaption)) #define FO_TABLE_CAPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_CAPTION, FoTableCaptionClass)) #define FO_IS_TABLE_CAPTION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_CAPTION)) #define FO_IS_TABLE_CAPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_CAPTION)) #define FO_TABLE_CAPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_CAPTION, FoTableCaptionClass)) GType fo_table_caption_get_type (void) G_GNUC_CONST; FoFo * fo_table_caption_new (void); FoProperty * fo_table_caption_get_background_color (FoFo *fo_fo); void fo_table_caption_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_table_caption_get_background_image (FoFo *fo_fo); void fo_table_caption_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_table_caption_get_block_progression_dimension (FoFo *fo_fo); void fo_table_caption_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty * fo_table_caption_get_border_after_color (FoFo *fo_fo); void fo_table_caption_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_table_caption_get_border_after_style (FoFo *fo_fo); void fo_table_caption_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_table_caption_get_border_after_width (FoFo *fo_fo); void fo_table_caption_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_table_caption_get_border_before_color (FoFo *fo_fo); void fo_table_caption_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_table_caption_get_border_before_style (FoFo *fo_fo); void fo_table_caption_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_table_caption_get_border_before_width (FoFo *fo_fo); void fo_table_caption_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_table_caption_get_border_bottom_color (FoFo *fo_fo); void fo_table_caption_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_table_caption_get_border_bottom_style (FoFo *fo_fo); void fo_table_caption_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_table_caption_get_border_bottom_width (FoFo *fo_fo); void fo_table_caption_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_table_caption_get_border_end_color (FoFo *fo_fo); void fo_table_caption_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_table_caption_get_border_end_style (FoFo *fo_fo); void fo_table_caption_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_table_caption_get_border_end_width (FoFo *fo_fo); void fo_table_caption_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_table_caption_get_border_left_color (FoFo *fo_fo); void fo_table_caption_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_table_caption_get_border_left_style (FoFo *fo_fo); void fo_table_caption_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_table_caption_get_border_left_width (FoFo *fo_fo); void fo_table_caption_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_table_caption_get_border_right_color (FoFo *fo_fo); void fo_table_caption_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_table_caption_get_border_right_style (FoFo *fo_fo); void fo_table_caption_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_table_caption_get_border_right_width (FoFo *fo_fo); void fo_table_caption_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_table_caption_get_border_start_color (FoFo *fo_fo); void fo_table_caption_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_table_caption_get_border_start_style (FoFo *fo_fo); void fo_table_caption_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_table_caption_get_border_start_width (FoFo *fo_fo); void fo_table_caption_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_table_caption_get_border_top_color (FoFo *fo_fo); void fo_table_caption_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_table_caption_get_border_top_style (FoFo *fo_fo); void fo_table_caption_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_table_caption_get_border_top_width (FoFo *fo_fo); void fo_table_caption_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_table_caption_get_height (FoFo *fo_fo); void fo_table_caption_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty * fo_table_caption_get_id (FoFo *fo_fo); void fo_table_caption_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_table_caption_get_inline_progression_dimension (FoFo *fo_fo); void fo_table_caption_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty * fo_table_caption_get_keep_together (FoFo *fo_fo); void fo_table_caption_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_table_caption_get_keep_together_within_column (FoFo *fo_fo); void fo_table_caption_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_table_caption_get_keep_together_within_line (FoFo *fo_fo); void fo_table_caption_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_table_caption_get_keep_together_within_page (FoFo *fo_fo); void fo_table_caption_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_table_caption_get_padding_after (FoFo *fo_fo); void fo_table_caption_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_table_caption_get_padding_before (FoFo *fo_fo); void fo_table_caption_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_table_caption_get_padding_bottom (FoFo *fo_fo); void fo_table_caption_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_table_caption_get_padding_end (FoFo *fo_fo); void fo_table_caption_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_table_caption_get_padding_left (FoFo *fo_fo); void fo_table_caption_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_table_caption_get_padding_right (FoFo *fo_fo); void fo_table_caption_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_table_caption_get_padding_start (FoFo *fo_fo); void fo_table_caption_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_table_caption_get_padding_top (FoFo *fo_fo); void fo_table_caption_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_table_caption_get_role (FoFo *fo_fo); void fo_table_caption_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_table_caption_get_source_document (FoFo *fo_fo); void fo_table_caption_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_table_caption_get_width (FoFo *fo_fo); void fo_table_caption_set_width (FoFo *fo_fo, FoProperty *new_width); G_END_DECLS #endif /* !__FO_TABLE_CAPTION_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-caption-private.h0000644000175000017500000000406710643167376016605 00000000000000/* Fo * fo-table-caption-private.h: Structures private to 'table-caption' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_CAPTION_PRIVATE_H__ #define __FO_TABLE_CAPTION_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoTableCaption { FoMarkerParent parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *block_progression_dimension; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *height; FoProperty *id; FoProperty *inline_progression_dimension; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *width; }; struct _FoTableCaptionClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_TABLE_CAPTION_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-cell.c0000644000175000017500000035433410660107744014407 00000000000000/* Fo * fo-table-cell.c: 'table-cell' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-context-util.h" #include "fo/fo-table-border-fo-private.h" #include "fo/fo-table-cell-private.h" #include "fo/fo-table.h" #include "fo/fo-table-cell-area.h" #include "property/fo-property-border.h" #include "property/fo-property-padding.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-precedence.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-precedence.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-precedence.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-precedence.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-column-number.h" #include "property/fo-property-display-align.h" #include "property/fo-property-height.h" #include "property/fo-property-id.h" #include "property/fo-property-inline-progression-dimension.h" #include "property/fo-property-number-columns-spanned.h" #include "property/fo-property-number-rows-spanned.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-width.h" enum { PROP_0, PROP_COLUMN, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_PRECEDENCE, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_PRECEDENCE, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_PRECEDENCE, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_PRECEDENCE, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_COLUMN_NUMBER, PROP_DISPLAY_ALIGN, PROP_HEIGHT, PROP_ID, PROP_INLINE_PROGRESSION_DIMENSION, PROP_NUMBER_COLUMNS_SPANNED, PROP_NUMBER_ROWS_SPANNED, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_WIDTH }; static void fo_table_cell_class_init (FoTableCellClass *klass); static void fo_table_cell_table_border_fo_init (FoTableBorderFoIface *iface); static void fo_table_cell_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_table_cell_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_table_cell_finalize (GObject *object); static void fo_table_cell_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_table_cell_update_from_context (FoFo *fo, FoContext *context); static void fo_table_cell_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_table_cell_get_type: * * Register the #FoTableCell object type. * * Return value: #GType value of the #FoTableCell object type. **/ GType fo_table_cell_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTableCellClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_table_cell_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTableCell), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_table_border_fo_info = { (GInterfaceInitFunc) fo_table_cell_table_border_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoTableCell", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_TABLE_BORDER_FO, &fo_table_border_fo_info); } return object_type; } /** * fo_table_cell_class_init: * @klass: #FoTableCellClass object to initialise. * * Implements #GClassInitFunc for #FoTableCellClass. **/ void fo_table_cell_class_init (FoTableCellClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_cell_finalize; object_class->get_property = fo_table_cell_get_property; object_class->set_property = fo_table_cell_set_property; fofo_class->validate_content = fo_fo_validate_content_block_plus; fofo_class->validate2 = fo_table_cell_validate; fofo_class->update_from_context = fo_table_cell_update_from_context; fofo_class->debug_dump_properties = fo_table_cell_debug_dump_properties; fofo_class->generate_reference_area = TRUE; fofo_class->area_new2 = fo_table_cell_area_new2; g_object_class_install_property (object_class, PROP_COLUMN, g_param_spec_object ("column", _("Column"), _("Column object for this table-cell"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_PRECEDENCE, g_param_spec_object ("border-after-precedence", _("Border After Precedence"), _("Border After Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_PRECEDENCE, g_param_spec_object ("border-before-precedence", _("Border Before Precedence"), _("Border Before Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_PRECEDENCE, g_param_spec_object ("border-end-precedence", _("Border End Precedence"), _("Border End Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_PRECEDENCE, g_param_spec_object ("border-start-precedence", _("Border Start Precedence"), _("Border Start Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLUMN_NUMBER, g_param_spec_object ("column-number", _("Column Number"), _("Column Number property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_DISPLAY_ALIGN, g_param_spec_object ("display-align", _("Display Align"), _("Display Align property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_INLINE_PROGRESSION_DIMENSION, g_param_spec_object ("inline-progression-dimension", _("Inline Progression Dimension"), _("Inline Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_NUMBER_COLUMNS_SPANNED, g_param_spec_object ("number-columns-spanned", _("Number Columns Spanned"), _("Number Columns Spanned property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_NUMBER_ROWS_SPANNED, g_param_spec_object ("number-rows-spanned", _("Number Rows Spanned"), _("Number Rows Spanned property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_table_cell_table_border_fo_init: * @iface: #FoTableBorderFoIFace structure for this class. * * Initialize #FoTableBorderFoIface interface for this class. **/ void fo_table_cell_table_border_fo_init (FoTableBorderFoIface *iface) { iface->get_background_color = fo_table_cell_get_background_color; iface->get_border_after_color = fo_table_cell_get_border_after_color; iface->get_border_after_precedence = fo_table_cell_get_border_after_precedence; iface->get_border_after_style = fo_table_cell_get_border_after_style; iface->get_border_after_width = fo_table_cell_get_border_after_width; iface->get_border_before_color = fo_table_cell_get_border_before_color; iface->get_border_before_precedence = fo_table_cell_get_border_before_precedence; iface->get_border_before_style = fo_table_cell_get_border_before_style; iface->get_border_before_width = fo_table_cell_get_border_before_width; iface->get_border_end_color = fo_table_cell_get_border_end_color; iface->get_border_end_precedence = fo_table_cell_get_border_end_precedence; iface->get_border_end_style = fo_table_cell_get_border_end_style; iface->get_border_end_width = fo_table_cell_get_border_end_width; iface->get_border_start_color = fo_table_cell_get_border_start_color; iface->get_border_start_precedence = fo_table_cell_get_border_start_precedence; iface->get_border_start_style = fo_table_cell_get_border_start_style; iface->get_border_start_width = fo_table_cell_get_border_start_width; } /** * fo_table_cell_finalize: * @object: #FoTableCell object to finalize. * * Implements #GObjectFinalizeFunc for #FoTableCell. **/ void fo_table_cell_finalize (GObject *object) { FoTableCell *fo_table_cell; fo_table_cell = FO_TABLE_CELL (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_cell_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTableCell. **/ void fo_table_cell_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_table_cell_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_background_image (fo_fo))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_table_cell_get_block_progression_dimension (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_after_precedence (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_before_precedence (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_end_precedence (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_start_precedence (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_cell_get_border_top_width (fo_fo))); break; case PROP_COLUMN_NUMBER: g_value_set_object (value, G_OBJECT (fo_table_cell_get_column_number (fo_fo))); break; case PROP_DISPLAY_ALIGN: g_value_set_object (value, G_OBJECT (fo_table_cell_get_display_align (fo_fo))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_table_cell_get_height (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_table_cell_get_id (fo_fo))); break; case PROP_INLINE_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_table_cell_get_inline_progression_dimension (fo_fo))); break; case PROP_NUMBER_COLUMNS_SPANNED: g_value_set_object (value, G_OBJECT (fo_table_cell_get_number_columns_spanned (fo_fo))); break; case PROP_NUMBER_ROWS_SPANNED: g_value_set_object (value, G_OBJECT (fo_table_cell_get_number_rows_spanned (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_table_cell_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_cell_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_table_cell_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_table_cell_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_cell_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_table_cell_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_table_cell_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_table_cell_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_table_cell_get_source_document (fo_fo))); break; case PROP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_cell_get_width (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_cell_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTableCell. **/ void fo_table_cell_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_table_cell_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_table_cell_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_table_cell_set_block_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_table_cell_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_PRECEDENCE: fo_table_cell_set_border_after_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_table_cell_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_table_cell_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_table_cell_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_PRECEDENCE: fo_table_cell_set_border_before_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_table_cell_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_table_cell_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_table_cell_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_table_cell_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_table_cell_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_table_cell_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_PRECEDENCE: fo_table_cell_set_border_end_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_table_cell_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_table_cell_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_table_cell_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_table_cell_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_table_cell_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_table_cell_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_table_cell_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_table_cell_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_table_cell_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_PRECEDENCE: fo_table_cell_set_border_start_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_table_cell_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_table_cell_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_table_cell_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_table_cell_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_table_cell_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_COLUMN_NUMBER: fo_table_cell_set_column_number (fo_fo, g_value_get_object (value)); break; case PROP_DISPLAY_ALIGN: fo_table_cell_set_display_align (fo_fo, g_value_get_object (value)); break; case PROP_HEIGHT: fo_table_cell_set_height (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_table_cell_set_id (fo_fo, g_value_get_object (value)); break; case PROP_INLINE_PROGRESSION_DIMENSION: fo_table_cell_set_inline_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_NUMBER_COLUMNS_SPANNED: fo_table_cell_set_number_columns_spanned (fo_fo, g_value_get_object (value)); break; case PROP_NUMBER_ROWS_SPANNED: fo_table_cell_set_number_rows_spanned (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_table_cell_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_table_cell_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_table_cell_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_table_cell_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_table_cell_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_table_cell_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_table_cell_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_table_cell_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_table_cell_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_table_cell_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_WIDTH: fo_table_cell_set_width (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_cell_new: * * Creates a new #FoTableCell initialized to default value. * * Return value: the new #FoTableCell. **/ FoFo* fo_table_cell_new (void) { return FO_FO (g_object_new (fo_table_cell_get_type (), NULL)); } /** * fo_table_cell_resolve_column: * @fo: #FoTableCell * * Resolve the value of the 'column' property of @fo. **/ void fo_table_cell_resolve_column (FoFo *fo) { FoNode *fo_node; FoFo *column; FoTableCell *fo_table_cell; gint column_number; gint number_columns_spanned; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo)); fo_table_cell = FO_TABLE_CELL (fo); column_number = fo_integer_get_value (fo_property_get_value (fo_table_cell->column_number)); number_columns_spanned = fo_integer_get_value (fo_property_get_value (fo_table_cell->number_columns_spanned)); fo_node = fo_node_get_ancestor_or_self_by_type (FO_NODE (fo), FO_TYPE_TABLE); column = fo_table_get_column (FO_FO (fo_node), column_number, number_columns_spanned); fo_table_cell->column = column; } /** * fo_table_cell_resolve_number_columns_spanned: * @fo: #FoTableCell * * Resolve the value of the 'number-columns-spanned' property of @fo. **/ void fo_table_cell_resolve_number_columns_spanned (FoFo *fo) { FoDatatype *number_columns_spanned_datatype = NULL; g_return_if_fail (FO_IS_TABLE_CELL (fo)); g_return_if_fail (FO_TABLE_CELL (fo)->number_columns_spanned == NULL || FO_IS_PROPERTY_NUMBER_COLUMNS_SPANNED (FO_TABLE_CELL (fo)->number_columns_spanned)); #if defined(LIBFO_DEBUG) && 0 fo_object_debug_dump (FO_TABLE_CELL (fo)->column_number, 0); #endif if (FO_TABLE_CELL (fo)->number_columns_spanned != NULL) number_columns_spanned_datatype = fo_property_get_value (FO_TABLE_CELL (fo)->number_columns_spanned); if (number_columns_spanned_datatype != NULL) { return; } else { fo_table_cell_set_number_columns_spanned (fo, fo_property_number_columns_spanned_get_initial ()); } } /** * fo_table_cell_resolve_number_rows_spanned: * @fo: #FoTableCell * * Resolve the value of the 'number-rows-spanned' property of @fo. **/ void fo_table_cell_resolve_number_rows_spanned (FoFo *fo) { FoDatatype *number_rows_spanned_datatype = NULL; g_return_if_fail (FO_IS_TABLE_CELL (fo)); g_return_if_fail (FO_TABLE_CELL (fo)->number_rows_spanned == NULL || FO_IS_PROPERTY_NUMBER_ROWS_SPANNED (FO_TABLE_CELL (fo)->number_rows_spanned)); #if defined(LIBFO_DEBUG) && 0 fo_object_debug_dump (FO_TABLE_CELL (fo)->column_number, 0); #endif if (FO_TABLE_CELL (fo)->number_rows_spanned != NULL) number_rows_spanned_datatype = fo_property_get_value (FO_TABLE_CELL (fo)->number_rows_spanned); if (number_rows_spanned_datatype != NULL) { return; } else { fo_table_cell_set_number_rows_spanned (fo, fo_property_number_rows_spanned_get_initial ()); } } /** * fo_table_cell_resolve_column_number: * @fo: #FoTableCell * @error: #GError * * Resolve the column number of @fo. **/ void fo_table_cell_resolve_column_number (FoFo *fo, GError **error) { FoFo *table; FoTableCell *table_cell; FoProperty *column_number_property; FoDatatype *column_number_datatype = NULL; GError *tmp_error = NULL; gint column_number; gint new_column_number; gint rows_spanned; gint columns_spanned; g_return_if_fail (FO_IS_TABLE_CELL (fo)); g_return_if_fail (FO_TABLE_CELL (fo)->column_number == NULL || FO_IS_PROPERTY_COLUMN_NUMBER (FO_TABLE_CELL (fo)->column_number)); g_return_if_fail (error == NULL || *error == NULL); table = FO_FO (fo_node_get_ancestor_or_self_by_type (FO_NODE (fo), FO_TYPE_TABLE)); table_cell = FO_TABLE_CELL (fo); #if defined(LIBFO_DEBUG) && 0 g_message ("cell_resolve_column_number:: before:"); fo_object_debug_dump (table_cell->column_number, 0); #endif if (table_cell->column_number != NULL) column_number_datatype = fo_property_get_value (table_cell->column_number); if (column_number_datatype != NULL) column_number = fo_integer_get_value (column_number_datatype); else column_number = 0; rows_spanned = fo_integer_get_value (fo_property_get_value (table_cell->number_rows_spanned)); columns_spanned = fo_integer_get_value (fo_property_get_value (table_cell->number_columns_spanned)); #if defined(LIBFO_DEBUG) && 0 g_message ("table_cell_resolve_column_number: column_number: %d; columns_spanned: %d; rows_spanned: %d", column_number, columns_spanned, rows_spanned); #endif new_column_number = fo_table_span_info_resolve_column_number (table, fo, column_number, columns_spanned, rows_spanned, &tmp_error); #if defined(LIBFO_DEBUG) && 0 g_message ("cell_resolve_column_number:: after:"); g_message ("%s", fo_object_debug_sprintf (fo)); fo_table_span_info_debug_dump (table, 0); #endif column_number_datatype = fo_integer_new_with_value (new_column_number); column_number_property = fo_property_column_number_new (); fo_property_set_value (column_number_property, column_number_datatype); fo_table_cell_set_column_number (fo, column_number_property); } /* old */ #if defined(LIBFO_DEBUG) && 0 if (FO_TABLE_CELL (fo)->column_number != NULL) column_number_datatype = fo_property_column_number_get_value (FO_TABLE_CELL (fo)->column_number); if (column_number_datatype != NULL) return; prev_sibling = fo_node_prev_sibling (FO_NODE (fo)); #if defined(LIBFO_DEBUG) && 0 g_message ("cell_resolve_number_column:: prev_sibling: %s", fo_object_debug_sprintf (prev_sibling)); #endif if (!prev_sibling) { FoProperty *column_number = fo_property_column_number_new (); fo_property_column_number_set_value (column_number, fo_integer_get_integer_one ()); fo_table_cell_set_column_number (fo, column_number); } else { FoProperty *prev_column_number; FoProperty *prev_column_span; FoProperty *column_number; FoDatatype *prev_column_number_datatype; FoDatatype *prev_column_span_datatype; FoDatatype *column_number_datatype; gint prev_column_number_value; gint prev_column_span_value; gint column_number_value; prev_column_number = fo_table_cell_get_column_number (FO_FO (prev_sibling)); prev_column_span = fo_table_cell_get_number_columns_spanned (FO_FO (prev_sibling)); prev_column_number_datatype = fo_property_column_number_get_value (prev_column_number); prev_column_span_datatype = fo_property_number_columns_spanned_get_value (prev_column_span); prev_column_number_value = fo_integer_get_value (prev_column_number_datatype); prev_column_span_value = fo_integer_get_value (prev_column_span_datatype); column_number_value = prev_column_number_value + prev_column_span_value; #if defined(LIBFO_DEBUG) && 0 g_message ("cell_resolve_column_number:: prev_num: %d; prev_span: %d; num: %d", prev_column_number_value, prev_column_span_value, column_number_value); #endif column_number_datatype = fo_integer_new_with_value (column_number_value); column_number = fo_property_column_number_new (); fo_property_column_number_set_value (column_number, column_number_datatype); fo_table_cell_set_column_number (fo, column_number); } #if defined(LIBFO_DEBUG) && 0 g_message ("cell_resolve_column_number:: after:"); fo_object_debug_dump (FO_TABLE_CELL (fo)->column_number, 0); #endif #endif /** * fo_table_cell_validate: * @fo: #FoTableCell object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_table_cell_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_context_util_border_resolve (current_context, parent_context); fo_context_util_paddings_resolve (current_context, parent_context); fo_context_util_height_width_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_table_cell_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_cell_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_table_cell_set_background_color (fo, fo_context_get_background_color (context)); fo_table_cell_set_background_image (fo, fo_context_get_background_image (context)); fo_table_cell_set_block_progression_dimension (fo, fo_context_get_block_progression_dimension (context)); fo_table_cell_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_table_cell_set_border_after_precedence (fo, fo_context_get_border_after_precedence (context)); fo_table_cell_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_table_cell_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_table_cell_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_table_cell_set_border_before_precedence (fo, fo_context_get_border_before_precedence (context)); fo_table_cell_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_table_cell_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_table_cell_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_table_cell_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_table_cell_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_table_cell_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_table_cell_set_border_end_precedence (fo, fo_context_get_border_end_precedence (context)); fo_table_cell_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_table_cell_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_table_cell_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_table_cell_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_table_cell_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_table_cell_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_table_cell_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_table_cell_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_table_cell_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_table_cell_set_border_start_precedence (fo, fo_context_get_border_start_precedence (context)); fo_table_cell_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_table_cell_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_table_cell_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_table_cell_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_table_cell_set_border_top_width (fo, fo_context_get_border_top_width (context)); /* fo_table_cell_set_column_number (fo, fo_context_get_column_number (context)); */ fo_table_cell_set_display_align (fo, fo_context_get_display_align (context)); fo_table_cell_set_height (fo, fo_context_get_height (context)); fo_table_cell_set_id (fo, fo_context_get_id (context)); fo_table_cell_set_inline_progression_dimension (fo, fo_context_get_inline_progression_dimension (context)); /* fo_table_cell_set_number_columns_spanned (fo, fo_context_get_number_columns_spanned (context)); */ fo_table_cell_set_number_rows_spanned (fo, fo_context_get_number_rows_spanned (context)); fo_table_cell_set_padding_after (fo, fo_context_get_padding_after (context)); fo_table_cell_set_padding_before (fo, fo_context_get_padding_before (context)); fo_table_cell_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_table_cell_set_padding_end (fo, fo_context_get_padding_end (context)); fo_table_cell_set_padding_left (fo, fo_context_get_padding_left (context)); fo_table_cell_set_padding_right (fo, fo_context_get_padding_right (context)); fo_table_cell_set_padding_start (fo, fo_context_get_padding_start (context)); fo_table_cell_set_padding_top (fo, fo_context_get_padding_top (context)); fo_table_cell_set_role (fo, fo_context_get_role (context)); fo_table_cell_set_source_document (fo, fo_context_get_source_document (context)); fo_table_cell_set_width (fo, fo_context_get_width (context)); } /** * fo_table_cell_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_table_cell_debug_dump_properties (FoFo *fo, gint depth) { FoTableCell *fo_table_cell; gchar *indent = g_strnfill (depth * 2, ' '); gchar *column_string; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo)); fo_table_cell = FO_TABLE_CELL (fo); column_string = fo_object_debug_sprintf (fo_table_cell->column); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%scolumn: %s", indent, column_string); g_free (column_string); g_free (indent); fo_object_debug_dump (fo_table_cell->background_color, depth); fo_object_debug_dump (fo_table_cell->background_image, depth); fo_object_debug_dump (fo_table_cell->block_progression_dimension, depth); fo_object_debug_dump (fo_table_cell->border_after_color, depth); fo_object_debug_dump (fo_table_cell->border_after_precedence, depth); fo_object_debug_dump (fo_table_cell->border_after_style, depth); fo_object_debug_dump (fo_table_cell->border_after_width, depth); fo_object_debug_dump (fo_table_cell->border_before_color, depth); fo_object_debug_dump (fo_table_cell->border_before_precedence, depth); fo_object_debug_dump (fo_table_cell->border_before_style, depth); fo_object_debug_dump (fo_table_cell->border_before_width, depth); fo_object_debug_dump (fo_table_cell->border_bottom_color, depth); fo_object_debug_dump (fo_table_cell->border_bottom_style, depth); fo_object_debug_dump (fo_table_cell->border_bottom_width, depth); fo_object_debug_dump (fo_table_cell->border_end_color, depth); fo_object_debug_dump (fo_table_cell->border_end_precedence, depth); fo_object_debug_dump (fo_table_cell->border_end_style, depth); fo_object_debug_dump (fo_table_cell->border_end_width, depth); fo_object_debug_dump (fo_table_cell->border_left_color, depth); fo_object_debug_dump (fo_table_cell->border_left_style, depth); fo_object_debug_dump (fo_table_cell->border_left_width, depth); fo_object_debug_dump (fo_table_cell->border_right_color, depth); fo_object_debug_dump (fo_table_cell->border_right_style, depth); fo_object_debug_dump (fo_table_cell->border_right_width, depth); fo_object_debug_dump (fo_table_cell->border_start_color, depth); fo_object_debug_dump (fo_table_cell->border_start_precedence, depth); fo_object_debug_dump (fo_table_cell->border_start_style, depth); fo_object_debug_dump (fo_table_cell->border_start_width, depth); fo_object_debug_dump (fo_table_cell->border_top_color, depth); fo_object_debug_dump (fo_table_cell->border_top_style, depth); fo_object_debug_dump (fo_table_cell->border_top_width, depth); fo_object_debug_dump (fo_table_cell->column_number, depth); fo_object_debug_dump (fo_table_cell->display_align, depth); fo_object_debug_dump (fo_table_cell->height, depth); fo_object_debug_dump (fo_table_cell->id, depth); fo_object_debug_dump (fo_table_cell->inline_progression_dimension, depth); fo_object_debug_dump (fo_table_cell->number_columns_spanned, depth); fo_object_debug_dump (fo_table_cell->number_rows_spanned, depth); fo_object_debug_dump (fo_table_cell->padding_after, depth); fo_object_debug_dump (fo_table_cell->padding_before, depth); fo_object_debug_dump (fo_table_cell->padding_bottom, depth); fo_object_debug_dump (fo_table_cell->padding_end, depth); fo_object_debug_dump (fo_table_cell->padding_left, depth); fo_object_debug_dump (fo_table_cell->padding_right, depth); fo_object_debug_dump (fo_table_cell->padding_start, depth); fo_object_debug_dump (fo_table_cell->padding_top, depth); fo_object_debug_dump (fo_table_cell->role, depth); fo_object_debug_dump (fo_table_cell->source_document, depth); fo_object_debug_dump (fo_table_cell->width, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_table_cell_get_column: * @fo_fo: The @FoFo object * * Gets the column property of @table_cell * * Return value: The "column" property value **/ FoFo* fo_table_cell_get_column (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->column; } /** * fo_table_cell_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_table_cell_get_background_color (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->background_color; } /** * fo_table_cell_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_table_cell_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_table_cell->background_color != NULL) { g_object_unref (fo_table_cell->background_color); } fo_table_cell->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_table_cell), "background-color");*/ } /** * fo_table_cell_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_table_cell_get_background_image (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->background_image; } /** * fo_table_cell_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_table_cell_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_table_cell->background_image != NULL) { g_object_unref (fo_table_cell->background_image); } fo_table_cell->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_table_cell), "background-image");*/ } /** * fo_table_cell_get_block_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "block-progression-dimension" property of @fo_fo * * Return value: The "block-progression-dimension" property value **/ FoProperty* fo_table_cell_get_block_progression_dimension (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->block_progression_dimension; } /** * fo_table_cell_set_block_progression_dimension: * @fo_fo: The #FoFo object * @new_block_progression_dimension: The new "block-progression-dimension" property value * * Sets the "block-progression-dimension" property of @fo_fo to @new_block_progression_dimension **/ void fo_table_cell_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_table_cell->block_progression_dimension != NULL) { g_object_unref (fo_table_cell->block_progression_dimension); } fo_table_cell->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_table_cell), "block-progression-dimension");*/ } /** * fo_table_cell_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_table_cell_get_border_after_color (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_after_color; } /** * fo_table_cell_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_table_cell_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_table_cell->border_after_color != NULL) { g_object_unref (fo_table_cell->border_after_color); } fo_table_cell->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_table_cell), "border-after-color");*/ } /** * fo_table_cell_get_border_after_precedence: * @fo_fo: The @FoFo object * * Gets the "border-after-precedence" property of @fo_fo * * Return value: The "border-after-precedence" property value **/ FoProperty* fo_table_cell_get_border_after_precedence (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_after_precedence; } /** * fo_table_cell_set_border_after_precedence: * @fo_fo: The #FoFo object * @new_border_after_precedence: The new "border-after-precedence" property value * * Sets the "border-after-precedence" property of @fo_fo to @new_border_after_precedence **/ void fo_table_cell_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE (new_border_after_precedence)); if (new_border_after_precedence != NULL) { g_object_ref (new_border_after_precedence); } if (fo_table_cell->border_after_precedence != NULL) { g_object_unref (fo_table_cell->border_after_precedence); } fo_table_cell->border_after_precedence = new_border_after_precedence; /*g_object_notify (G_OBJECT (fo_table_cell), "border-after-precedence");*/ } /** * fo_table_cell_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_table_cell_get_border_after_style (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_after_style; } /** * fo_table_cell_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_table_cell_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_table_cell->border_after_style != NULL) { g_object_unref (fo_table_cell->border_after_style); } fo_table_cell->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_table_cell), "border-after-style");*/ } /** * fo_table_cell_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_table_cell_get_border_after_width (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_after_width; } /** * fo_table_cell_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_table_cell_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_table_cell->border_after_width != NULL) { g_object_unref (fo_table_cell->border_after_width); } fo_table_cell->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_table_cell), "border-after-width");*/ } /** * fo_table_cell_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_table_cell_get_border_before_color (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_before_color; } /** * fo_table_cell_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_table_cell_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_table_cell->border_before_color != NULL) { g_object_unref (fo_table_cell->border_before_color); } fo_table_cell->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_table_cell), "border-before-color");*/ } /** * fo_table_cell_get_border_before_precedence: * @fo_fo: The @FoFo object * * Gets the "border-before-precedence" property of @fo_fo * * Return value: The "border-before-precedence" property value **/ FoProperty* fo_table_cell_get_border_before_precedence (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_before_precedence; } /** * fo_table_cell_set_border_before_precedence: * @fo_fo: The #FoFo object * @new_border_before_precedence: The new "border-before-precedence" property value * * Sets the "border-before-precedence" property of @fo_fo to @new_border_before_precedence **/ void fo_table_cell_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE (new_border_before_precedence)); if (new_border_before_precedence != NULL) { g_object_ref (new_border_before_precedence); } if (fo_table_cell->border_before_precedence != NULL) { g_object_unref (fo_table_cell->border_before_precedence); } fo_table_cell->border_before_precedence = new_border_before_precedence; /*g_object_notify (G_OBJECT (fo_table_cell), "border-before-precedence");*/ } /** * fo_table_cell_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_table_cell_get_border_before_style (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_before_style; } /** * fo_table_cell_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_table_cell_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_table_cell->border_before_style != NULL) { g_object_unref (fo_table_cell->border_before_style); } fo_table_cell->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_table_cell), "border-before-style");*/ } /** * fo_table_cell_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_table_cell_get_border_before_width (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_before_width; } /** * fo_table_cell_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_table_cell_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_table_cell->border_before_width != NULL) { g_object_unref (fo_table_cell->border_before_width); } fo_table_cell->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_table_cell), "border-before-width");*/ } /** * fo_table_cell_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_table_cell_get_border_bottom_color (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_bottom_color; } /** * fo_table_cell_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_table_cell_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_table_cell->border_bottom_color != NULL) { g_object_unref (fo_table_cell->border_bottom_color); } fo_table_cell->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_table_cell), "border-bottom-color");*/ } /** * fo_table_cell_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_table_cell_get_border_bottom_style (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_bottom_style; } /** * fo_table_cell_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_table_cell_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_table_cell->border_bottom_style != NULL) { g_object_unref (fo_table_cell->border_bottom_style); } fo_table_cell->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_table_cell), "border-bottom-style");*/ } /** * fo_table_cell_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_table_cell_get_border_bottom_width (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_bottom_width; } /** * fo_table_cell_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_table_cell_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_table_cell->border_bottom_width != NULL) { g_object_unref (fo_table_cell->border_bottom_width); } fo_table_cell->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_table_cell), "border-bottom-width");*/ } /** * fo_table_cell_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_table_cell_get_border_end_color (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_end_color; } /** * fo_table_cell_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_table_cell_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_table_cell->border_end_color != NULL) { g_object_unref (fo_table_cell->border_end_color); } fo_table_cell->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_table_cell), "border-end-color");*/ } /** * fo_table_cell_get_border_end_precedence: * @fo_fo: The @FoFo object * * Gets the "border-end-precedence" property of @fo_fo * * Return value: The "border-end-precedence" property value **/ FoProperty* fo_table_cell_get_border_end_precedence (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_end_precedence; } /** * fo_table_cell_set_border_end_precedence: * @fo_fo: The #FoFo object * @new_border_end_precedence: The new "border-end-precedence" property value * * Sets the "border-end-precedence" property of @fo_fo to @new_border_end_precedence **/ void fo_table_cell_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_PRECEDENCE (new_border_end_precedence)); if (new_border_end_precedence != NULL) { g_object_ref (new_border_end_precedence); } if (fo_table_cell->border_end_precedence != NULL) { g_object_unref (fo_table_cell->border_end_precedence); } fo_table_cell->border_end_precedence = new_border_end_precedence; /*g_object_notify (G_OBJECT (fo_table_cell), "border-end-precedence");*/ } /** * fo_table_cell_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_table_cell_get_border_end_style (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_end_style; } /** * fo_table_cell_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_table_cell_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_table_cell->border_end_style != NULL) { g_object_unref (fo_table_cell->border_end_style); } fo_table_cell->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_table_cell), "border-end-style");*/ } /** * fo_table_cell_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_table_cell_get_border_end_width (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_end_width; } /** * fo_table_cell_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_table_cell_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_table_cell->border_end_width != NULL) { g_object_unref (fo_table_cell->border_end_width); } fo_table_cell->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_table_cell), "border-end-width");*/ } /** * fo_table_cell_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_table_cell_get_border_left_color (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_left_color; } /** * fo_table_cell_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_table_cell_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_table_cell->border_left_color != NULL) { g_object_unref (fo_table_cell->border_left_color); } fo_table_cell->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_table_cell), "border-left-color");*/ } /** * fo_table_cell_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_table_cell_get_border_left_style (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_left_style; } /** * fo_table_cell_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_table_cell_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_table_cell->border_left_style != NULL) { g_object_unref (fo_table_cell->border_left_style); } fo_table_cell->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_table_cell), "border-left-style");*/ } /** * fo_table_cell_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_table_cell_get_border_left_width (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_left_width; } /** * fo_table_cell_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_table_cell_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_table_cell->border_left_width != NULL) { g_object_unref (fo_table_cell->border_left_width); } fo_table_cell->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_table_cell), "border-left-width");*/ } /** * fo_table_cell_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_table_cell_get_border_right_color (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_right_color; } /** * fo_table_cell_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_table_cell_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_table_cell->border_right_color != NULL) { g_object_unref (fo_table_cell->border_right_color); } fo_table_cell->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_table_cell), "border-right-color");*/ } /** * fo_table_cell_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_table_cell_get_border_right_style (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_right_style; } /** * fo_table_cell_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_table_cell_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_table_cell->border_right_style != NULL) { g_object_unref (fo_table_cell->border_right_style); } fo_table_cell->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_table_cell), "border-right-style");*/ } /** * fo_table_cell_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_table_cell_get_border_right_width (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_right_width; } /** * fo_table_cell_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_table_cell_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_table_cell->border_right_width != NULL) { g_object_unref (fo_table_cell->border_right_width); } fo_table_cell->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_table_cell), "border-right-width");*/ } /** * fo_table_cell_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_table_cell_get_border_start_color (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_start_color; } /** * fo_table_cell_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_table_cell_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_table_cell->border_start_color != NULL) { g_object_unref (fo_table_cell->border_start_color); } fo_table_cell->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_table_cell), "border-start-color");*/ } /** * fo_table_cell_get_border_start_precedence: * @fo_fo: The @FoFo object * * Gets the "border-start-precedence" property of @fo_fo * * Return value: The "border-start-precedence" property value **/ FoProperty* fo_table_cell_get_border_start_precedence (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_start_precedence; } /** * fo_table_cell_set_border_start_precedence: * @fo_fo: The #FoFo object * @new_border_start_precedence: The new "border-start-precedence" property value * * Sets the "border-start-precedence" property of @fo_fo to @new_border_start_precedence **/ void fo_table_cell_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_PRECEDENCE (new_border_start_precedence)); if (new_border_start_precedence != NULL) { g_object_ref (new_border_start_precedence); } if (fo_table_cell->border_start_precedence != NULL) { g_object_unref (fo_table_cell->border_start_precedence); } fo_table_cell->border_start_precedence = new_border_start_precedence; /*g_object_notify (G_OBJECT (fo_table_cell), "border-start-precedence");*/ } /** * fo_table_cell_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_table_cell_get_border_start_style (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_start_style; } /** * fo_table_cell_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_table_cell_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_table_cell->border_start_style != NULL) { g_object_unref (fo_table_cell->border_start_style); } fo_table_cell->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_table_cell), "border-start-style");*/ } /** * fo_table_cell_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_table_cell_get_border_start_width (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_start_width; } /** * fo_table_cell_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_table_cell_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_table_cell->border_start_width != NULL) { g_object_unref (fo_table_cell->border_start_width); } fo_table_cell->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_table_cell), "border-start-width");*/ } /** * fo_table_cell_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_table_cell_get_border_top_color (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_top_color; } /** * fo_table_cell_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_table_cell_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_table_cell->border_top_color != NULL) { g_object_unref (fo_table_cell->border_top_color); } fo_table_cell->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_table_cell), "border-top-color");*/ } /** * fo_table_cell_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_table_cell_get_border_top_style (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_top_style; } /** * fo_table_cell_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_table_cell_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_table_cell->border_top_style != NULL) { g_object_unref (fo_table_cell->border_top_style); } fo_table_cell->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_table_cell), "border-top-style");*/ } /** * fo_table_cell_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_table_cell_get_border_top_width (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->border_top_width; } /** * fo_table_cell_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_table_cell_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_table_cell->border_top_width != NULL) { g_object_unref (fo_table_cell->border_top_width); } fo_table_cell->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_table_cell), "border-top-width");*/ } /** * fo_table_cell_get_column_number: * @fo_fo: The @FoFo object * * Gets the "column-number" property of @fo_fo * * Return value: The "column-number" property value **/ FoProperty* fo_table_cell_get_column_number (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->column_number; } /** * fo_table_cell_set_column_number: * @fo_fo: The #FoFo object * @new_column_number: The new "column-number" property value * * Sets the "column-number" property of @fo_fo to @new_column_number **/ void fo_table_cell_set_column_number (FoFo *fo_fo, FoProperty *new_column_number) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_COLUMN_NUMBER (new_column_number)); if (new_column_number != NULL) { g_object_ref (new_column_number); } if (fo_table_cell->column_number != NULL) { g_object_unref (fo_table_cell->column_number); } fo_table_cell->column_number = new_column_number; /*g_object_notify (G_OBJECT (fo_table_cell), "column-number");*/ } /** * fo_table_cell_get_display_align: * @fo_fo: The @FoFo object * * Gets the "display-align" property of @fo_fo * * Return value: The "display-align" property value **/ FoProperty* fo_table_cell_get_display_align (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->display_align; } /** * fo_table_cell_set_display_align: * @fo_fo: The #FoFo object * @new_display_align: The new "display-align" property value * * Sets the "display-align" property of @fo_fo to @new_display_align **/ void fo_table_cell_set_display_align (FoFo *fo_fo, FoProperty *new_display_align) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_DISPLAY_ALIGN (new_display_align)); if (new_display_align != NULL) { g_object_ref (new_display_align); } if (fo_table_cell->display_align != NULL) { g_object_unref (fo_table_cell->display_align); } fo_table_cell->display_align = new_display_align; /*g_object_notify (G_OBJECT (fo_table_cell), "display-align");*/ } /** * fo_table_cell_get_height: * @fo_fo: The @FoFo object * * Gets the "height" property of @fo_fo * * Return value: The "height" property value **/ FoProperty* fo_table_cell_get_height (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->height; } /** * fo_table_cell_set_height: * @fo_fo: The #FoFo object * @new_height: The new "height" property value * * Sets the "height" property of @fo_fo to @new_height **/ void fo_table_cell_set_height (FoFo *fo_fo, FoProperty *new_height) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_table_cell->height != NULL) { g_object_unref (fo_table_cell->height); } fo_table_cell->height = new_height; /*g_object_notify (G_OBJECT (fo_table_cell), "height");*/ } /** * fo_table_cell_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_table_cell_get_id (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->id; } /** * fo_table_cell_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_table_cell_set_id (FoFo *fo_fo, FoProperty *new_id) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_table_cell->id != NULL) { g_object_unref (fo_table_cell->id); } fo_table_cell->id = new_id; /*g_object_notify (G_OBJECT (fo_table_cell), "id");*/ } /** * fo_table_cell_get_inline_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "inline-progression-dimension" property of @fo_fo * * Return value: The "inline-progression-dimension" property value **/ FoProperty* fo_table_cell_get_inline_progression_dimension (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->inline_progression_dimension; } /** * fo_table_cell_set_inline_progression_dimension: * @fo_fo: The #FoFo object * @new_inline_progression_dimension: The new "inline-progression-dimension" property value * * Sets the "inline-progression-dimension" property of @fo_fo to @new_inline_progression_dimension **/ void fo_table_cell_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION (new_inline_progression_dimension)); if (new_inline_progression_dimension != NULL) { g_object_ref (new_inline_progression_dimension); } if (fo_table_cell->inline_progression_dimension != NULL) { g_object_unref (fo_table_cell->inline_progression_dimension); } fo_table_cell->inline_progression_dimension = new_inline_progression_dimension; /*g_object_notify (G_OBJECT (fo_table_cell), "inline-progression-dimension");*/ } /** * fo_table_cell_get_number_columns_spanned: * @fo_fo: The @FoFo object * * Gets the "number-columns-spanned" property of @fo_fo * * Return value: The "number-columns-spanned" property value **/ FoProperty* fo_table_cell_get_number_columns_spanned (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->number_columns_spanned; } /** * fo_table_cell_set_number_columns_spanned: * @fo_fo: The #FoFo object * @new_number_columns_spanned: The new "number-columns-spanned" property value * * Sets the "number-columns-spanned" property of @fo_fo to @new_number_columns_spanned **/ void fo_table_cell_set_number_columns_spanned (FoFo *fo_fo, FoProperty *new_number_columns_spanned) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_NUMBER_COLUMNS_SPANNED (new_number_columns_spanned)); if (new_number_columns_spanned != NULL) { g_object_ref (new_number_columns_spanned); } if (fo_table_cell->number_columns_spanned != NULL) { g_object_unref (fo_table_cell->number_columns_spanned); } fo_table_cell->number_columns_spanned = new_number_columns_spanned; /*g_object_notify (G_OBJECT (fo_table_cell), "number-columns-spanned");*/ } /** * fo_table_cell_get_number_rows_spanned: * @fo_fo: The @FoFo object * * Gets the "number-rows-spanned" property of @fo_fo * * Return value: The "number-rows-spanned" property value **/ FoProperty* fo_table_cell_get_number_rows_spanned (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->number_rows_spanned; } /** * fo_table_cell_set_number_rows_spanned: * @fo_fo: The #FoFo object * @new_number_rows_spanned: The new "number-rows-spanned" property value * * Sets the "number-rows-spanned" property of @fo_fo to @new_number_rows_spanned **/ void fo_table_cell_set_number_rows_spanned (FoFo *fo_fo, FoProperty *new_number_rows_spanned) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_NUMBER_ROWS_SPANNED (new_number_rows_spanned)); if (new_number_rows_spanned != NULL) { g_object_ref (new_number_rows_spanned); } if (fo_table_cell->number_rows_spanned != NULL) { g_object_unref (fo_table_cell->number_rows_spanned); } fo_table_cell->number_rows_spanned = new_number_rows_spanned; /*g_object_notify (G_OBJECT (fo_table_cell), "number-rows-spanned");*/ } /** * fo_table_cell_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_table_cell_get_padding_after (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->padding_after; } /** * fo_table_cell_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_table_cell_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_table_cell->padding_after != NULL) { g_object_unref (fo_table_cell->padding_after); } fo_table_cell->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_table_cell), "padding-after");*/ } /** * fo_table_cell_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_table_cell_get_padding_before (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->padding_before; } /** * fo_table_cell_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_table_cell_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_table_cell->padding_before != NULL) { g_object_unref (fo_table_cell->padding_before); } fo_table_cell->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_table_cell), "padding-before");*/ } /** * fo_table_cell_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_table_cell_get_padding_bottom (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->padding_bottom; } /** * fo_table_cell_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_table_cell_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_table_cell->padding_bottom != NULL) { g_object_unref (fo_table_cell->padding_bottom); } fo_table_cell->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_table_cell), "padding-bottom");*/ } /** * fo_table_cell_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_table_cell_get_padding_end (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->padding_end; } /** * fo_table_cell_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_table_cell_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_table_cell->padding_end != NULL) { g_object_unref (fo_table_cell->padding_end); } fo_table_cell->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_table_cell), "padding-end");*/ } /** * fo_table_cell_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_table_cell_get_padding_left (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->padding_left; } /** * fo_table_cell_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_table_cell_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_table_cell->padding_left != NULL) { g_object_unref (fo_table_cell->padding_left); } fo_table_cell->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_table_cell), "padding-left");*/ } /** * fo_table_cell_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_table_cell_get_padding_right (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->padding_right; } /** * fo_table_cell_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_table_cell_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_table_cell->padding_right != NULL) { g_object_unref (fo_table_cell->padding_right); } fo_table_cell->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_table_cell), "padding-right");*/ } /** * fo_table_cell_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_table_cell_get_padding_start (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->padding_start; } /** * fo_table_cell_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_table_cell_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_table_cell->padding_start != NULL) { g_object_unref (fo_table_cell->padding_start); } fo_table_cell->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_table_cell), "padding-start");*/ } /** * fo_table_cell_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_table_cell_get_padding_top (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->padding_top; } /** * fo_table_cell_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_table_cell_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_table_cell->padding_top != NULL) { g_object_unref (fo_table_cell->padding_top); } fo_table_cell->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_table_cell), "padding-top");*/ } /** * fo_table_cell_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_table_cell_get_role (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->role; } /** * fo_table_cell_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_table_cell_set_role (FoFo *fo_fo, FoProperty *new_role) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_table_cell->role != NULL) { g_object_unref (fo_table_cell->role); } fo_table_cell->role = new_role; /*g_object_notify (G_OBJECT (fo_table_cell), "role");*/ } /** * fo_table_cell_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_table_cell_get_source_document (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->source_document; } /** * fo_table_cell_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_table_cell_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_table_cell->source_document != NULL) { g_object_unref (fo_table_cell->source_document); } fo_table_cell->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_table_cell), "source-document");*/ } /** * fo_table_cell_get_width: * @fo_fo: The @FoFo object * * Gets the "width" property of @fo_fo * * Return value: The "width" property value **/ FoProperty* fo_table_cell_get_width (FoFo *fo_fo) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_val_if_fail (fo_table_cell != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_CELL (fo_table_cell), NULL); return fo_table_cell->width; } /** * fo_table_cell_set_width: * @fo_fo: The #FoFo object * @new_width: The new "width" property value * * Sets the "width" property of @fo_fo to @new_width **/ void fo_table_cell_set_width (FoFo *fo_fo, FoProperty *new_width) { FoTableCell *fo_table_cell = (FoTableCell *) fo_fo; g_return_if_fail (fo_table_cell != NULL); g_return_if_fail (FO_IS_TABLE_CELL (fo_table_cell)); g_return_if_fail (FO_IS_PROPERTY_WIDTH (new_width)); if (new_width != NULL) { g_object_ref (new_width); } if (fo_table_cell->width != NULL) { g_object_unref (fo_table_cell->width); } fo_table_cell->width = new_width; /*g_object_notify (G_OBJECT (fo_table_cell), "width");*/ } xmlroff-0.6.2/libfo/fo/fo-table-cell.h0000644000175000017500000003017510643167376014416 00000000000000/* Fo * fo-table_cell.h: 'table-cell' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_CELL_H__ #define __FO_TABLE_CELL_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoTableCell FoTableCell; typedef struct _FoTableCellClass FoTableCellClass; #define FO_TYPE_TABLE_CELL (fo_table_cell_get_type ()) #define FO_TABLE_CELL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_CELL, FoTableCell)) #define FO_TABLE_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_CELL, FoTableCellClass)) #define FO_IS_TABLE_CELL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_CELL)) #define FO_IS_TABLE_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_CELL)) #define FO_TABLE_CELL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_CELL, FoTableCellClass)) GType fo_table_cell_get_type (void) G_GNUC_CONST; FoFo * fo_table_cell_new (void); void fo_table_cell_resolve_column (FoFo *fo); void fo_table_cell_resolve_number_columns_spanned (FoFo *fo); void fo_table_cell_resolve_number_rows_spanned (FoFo *fo); void fo_table_cell_resolve_column_number (FoFo *fo, GError **error); FoFo * fo_table_cell_get_column (FoFo *fo_fo); FoProperty * fo_table_cell_get_background_color (FoFo *fo_fo); void fo_table_cell_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_table_cell_get_background_image (FoFo *fo_fo); void fo_table_cell_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_table_cell_get_block_progression_dimension (FoFo *fo_fo); void fo_table_cell_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty * fo_table_cell_get_border_after_color (FoFo *fo_fo); void fo_table_cell_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_table_cell_get_border_after_precedence (FoFo *fo_fo); void fo_table_cell_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty * fo_table_cell_get_border_after_style (FoFo *fo_fo); void fo_table_cell_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_table_cell_get_border_after_width (FoFo *fo_fo); void fo_table_cell_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_table_cell_get_border_before_color (FoFo *fo_fo); void fo_table_cell_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_table_cell_get_border_before_precedence (FoFo *fo_fo); void fo_table_cell_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty * fo_table_cell_get_border_before_style (FoFo *fo_fo); void fo_table_cell_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_table_cell_get_border_before_width (FoFo *fo_fo); void fo_table_cell_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_table_cell_get_border_bottom_color (FoFo *fo_fo); void fo_table_cell_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_table_cell_get_border_bottom_style (FoFo *fo_fo); void fo_table_cell_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_table_cell_get_border_bottom_width (FoFo *fo_fo); void fo_table_cell_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_table_cell_get_border_end_color (FoFo *fo_fo); void fo_table_cell_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_table_cell_get_border_end_precedence (FoFo *fo_fo); void fo_table_cell_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty * fo_table_cell_get_border_end_style (FoFo *fo_fo); void fo_table_cell_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_table_cell_get_border_end_width (FoFo *fo_fo); void fo_table_cell_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_table_cell_get_border_left_color (FoFo *fo_fo); void fo_table_cell_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_table_cell_get_border_left_style (FoFo *fo_fo); void fo_table_cell_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_table_cell_get_border_left_width (FoFo *fo_fo); void fo_table_cell_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_table_cell_get_border_right_color (FoFo *fo_fo); void fo_table_cell_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_table_cell_get_border_right_style (FoFo *fo_fo); void fo_table_cell_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_table_cell_get_border_right_width (FoFo *fo_fo); void fo_table_cell_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_table_cell_get_border_start_color (FoFo *fo_fo); void fo_table_cell_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_table_cell_get_border_start_precedence (FoFo *fo_fo); void fo_table_cell_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty * fo_table_cell_get_border_start_style (FoFo *fo_fo); void fo_table_cell_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_table_cell_get_border_start_width (FoFo *fo_fo); void fo_table_cell_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_table_cell_get_border_top_color (FoFo *fo_fo); void fo_table_cell_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_table_cell_get_border_top_style (FoFo *fo_fo); void fo_table_cell_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_table_cell_get_border_top_width (FoFo *fo_fo); void fo_table_cell_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_table_cell_get_column_number (FoFo *fo_fo); void fo_table_cell_set_column_number (FoFo *fo_fo, FoProperty *new_column_number); FoProperty * fo_table_cell_get_display_align (FoFo *fo_fo); void fo_table_cell_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty * fo_table_cell_get_height (FoFo *fo_fo); void fo_table_cell_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty * fo_table_cell_get_id (FoFo *fo_fo); void fo_table_cell_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_table_cell_get_inline_progression_dimension (FoFo *fo_fo); void fo_table_cell_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty * fo_table_cell_get_number_columns_spanned (FoFo *fo_fo); void fo_table_cell_set_number_columns_spanned (FoFo *fo_fo, FoProperty *new_number_columns_spanned); FoProperty * fo_table_cell_get_number_rows_spanned (FoFo *fo_fo); void fo_table_cell_set_number_rows_spanned (FoFo *fo_fo, FoProperty *new_number_rows_spanned); FoProperty * fo_table_cell_get_padding_after (FoFo *fo_fo); void fo_table_cell_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_table_cell_get_padding_before (FoFo *fo_fo); void fo_table_cell_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_table_cell_get_padding_bottom (FoFo *fo_fo); void fo_table_cell_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_table_cell_get_padding_end (FoFo *fo_fo); void fo_table_cell_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_table_cell_get_padding_left (FoFo *fo_fo); void fo_table_cell_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_table_cell_get_padding_right (FoFo *fo_fo); void fo_table_cell_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_table_cell_get_padding_start (FoFo *fo_fo); void fo_table_cell_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_table_cell_get_padding_top (FoFo *fo_fo); void fo_table_cell_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_table_cell_get_role (FoFo *fo_fo); void fo_table_cell_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_table_cell_get_source_document (FoFo *fo_fo); void fo_table_cell_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_table_cell_get_width (FoFo *fo_fo); void fo_table_cell_set_width (FoFo *fo_fo, FoProperty *new_width); G_END_DECLS #endif /* !__FO_TABLE_CELL_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-cell-private.h0000644000175000017500000000426410643167376016066 00000000000000/* Fo * fo-table-cell-private.h: Structures private to 'table-cell' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_CELL_PRIVATE_H__ #define __FO_TABLE_CELL_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoTableCell { FoMarkerParent parent_instance; FoFo *column; FoProperty *background_color; FoProperty *background_image; FoProperty *block_progression_dimension; FoProperty *border_after_color; FoProperty *border_after_precedence; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_precedence; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_precedence; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_precedence; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *column_number; FoProperty *display_align; FoProperty *height; FoProperty *id; FoProperty *inline_progression_dimension; FoProperty *number_columns_spanned; FoProperty *number_rows_spanned; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *width; }; struct _FoTableCellClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_TABLE_CELL_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-column.c0000644000175000017500000033703210701131377014754 00000000000000/* Fo * fo-table-column.c: 'table-column' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-table-border-fo-private.h" #include "fo/fo-table.h" #include "fo/fo-table-column.h" #include "fo/fo-table-column-private.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-precedence.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-precedence.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-precedence.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-precedence.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-column-number.h" #include "property/fo-property-column-width.h" #include "property/fo-property-number-columns-repeated.h" #include "property/fo-property-number-columns-spanned.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" const char *fo_table_column_error_messages[] = { N_("Failed"), N_("Warning"), N_("'column-width' property must be specified when fixed table layout method is used.") }; enum { PROP_0, PROP_OFFSET, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_PRECEDENCE, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_PRECEDENCE, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_PRECEDENCE, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_PRECEDENCE, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_COLUMN_NUMBER, PROP_COLUMN_WIDTH, PROP_NUMBER_COLUMNS_REPEATED, PROP_NUMBER_COLUMNS_SPANNED, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP }; static void fo_table_column_class_init (FoTableColumnClass *klass); static void fo_table_column_table_border_fo_init (FoTableBorderFoIface *iface); static void fo_table_column_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_table_column_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_table_column_finalize (GObject *object); static void fo_table_column_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_table_column_update_after_clone (FoFo *clone, FoFo *original); static void fo_table_column_update_from_context (FoFo *fo, FoContext *context); static void fo_table_column_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_table_column_get_type: * * Register the #FoTableColumn object type. * * Return value: #GType value of the #FoTableColumn object type. **/ GType fo_table_column_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTableColumnClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_table_column_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTableColumn), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_table_border_fo_info = { (GInterfaceInitFunc) fo_table_column_table_border_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoTableColumn", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_TABLE_BORDER_FO, &fo_table_border_fo_info); } return object_type; } /** * fo_table_column_class_init: * @klass: #FoTableColumnClass object to initialise. * * Implements #GClassInitFunc for #FoTableColumnClass. **/ void fo_table_column_class_init (FoTableColumnClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_column_finalize; object_class->get_property = fo_table_column_get_property; object_class->set_property = fo_table_column_set_property; fofo_class->validate_content = fo_fo_validate_content_empty; fofo_class->validate2 = fo_table_column_validate; fofo_class->update_after_clone = fo_table_column_update_after_clone; fofo_class->update_from_context = fo_table_column_update_from_context; fofo_class->debug_dump_properties = fo_table_column_debug_dump_properties; g_object_class_install_property (object_class, PROP_OFFSET, g_param_spec_float ("offset", _("IPDim offset"), _("Offset of table column in inline-progression direction"), 0.0, G_MAXFLOAT, 0.0, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_PRECEDENCE, g_param_spec_object ("border-after-precedence", _("Border After Precedence"), _("Border After Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_PRECEDENCE, g_param_spec_object ("border-before-precedence", _("Border Before Precedence"), _("Border Before Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_PRECEDENCE, g_param_spec_object ("border-end-precedence", _("Border End Precedence"), _("Border End Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_PRECEDENCE, g_param_spec_object ("border-start-precedence", _("Border Start Precedence"), _("Border Start Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLUMN_NUMBER, g_param_spec_object ("column-number", _("Column Number"), _("Column Number property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLUMN_WIDTH, g_param_spec_object ("column-width", _("Column Width"), _("Column Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_NUMBER_COLUMNS_REPEATED, g_param_spec_object ("number-columns-repeated", _("Number Columns Repeated"), _("Number Columns Repeated property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_NUMBER_COLUMNS_SPANNED, g_param_spec_object ("number-columns-spanned", _("Number Columns Spanned"), _("Number Columns Spanned property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_table_column_table_border_fo_init: * @iface: #FoTableBorderFoIFace structure for this class. * * Initialize #FoTableBorderFoIface interface for this class. **/ void fo_table_column_table_border_fo_init (FoTableBorderFoIface *iface) { iface->get_background_color = fo_table_column_get_background_color; iface->get_border_after_color = fo_table_column_get_border_after_color; iface->get_border_after_precedence = fo_table_column_get_border_after_precedence; iface->get_border_after_style = fo_table_column_get_border_after_style; iface->get_border_after_width = fo_table_column_get_border_after_width; iface->get_border_before_color = fo_table_column_get_border_before_color; iface->get_border_before_precedence = fo_table_column_get_border_before_precedence; iface->get_border_before_style = fo_table_column_get_border_before_style; iface->get_border_before_width = fo_table_column_get_border_before_width; iface->get_border_end_color = fo_table_column_get_border_end_color; iface->get_border_end_precedence = fo_table_column_get_border_end_precedence; iface->get_border_end_style = fo_table_column_get_border_end_style; iface->get_border_end_width = fo_table_column_get_border_end_width; iface->get_border_start_color = fo_table_column_get_border_start_color; iface->get_border_start_precedence = fo_table_column_get_border_start_precedence; iface->get_border_start_style = fo_table_column_get_border_start_style; iface->get_border_start_width = fo_table_column_get_border_start_width; } /** * fo_table_column_finalize: * @object: #FoTableColumn object to finalize. * * Implements #GObjectFinalizeFunc for #FoTableColumn. **/ void fo_table_column_finalize (GObject *object) { FoTableColumn *fo_table_column; fo_table_column = FO_TABLE_COLUMN (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_column_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTableColumn. **/ void fo_table_column_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_OFFSET: g_value_set_float (value, fo_table_column_get_offset (fo_fo)); case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_table_column_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_table_column_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_after_precedence (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_before_precedence (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_end_precedence (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_start_precedence (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_column_get_border_top_width (fo_fo))); break; case PROP_COLUMN_NUMBER: g_value_set_object (value, G_OBJECT (fo_table_column_get_column_number (fo_fo))); break; case PROP_COLUMN_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_column_get_column_width (fo_fo))); break; case PROP_NUMBER_COLUMNS_REPEATED: g_value_set_object (value, G_OBJECT (fo_table_column_get_number_columns_repeated (fo_fo))); break; case PROP_NUMBER_COLUMNS_SPANNED: g_value_set_object (value, G_OBJECT (fo_table_column_get_number_columns_spanned (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_table_column_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_column_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_column_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_table_column_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_table_column_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_column_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_table_column_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_table_column_get_padding_top (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_column_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTableColumn. **/ void fo_table_column_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_OFFSET: fo_table_column_set_offset (fo_fo, g_value_get_float (value)); case PROP_BACKGROUND_COLOR: fo_table_column_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_table_column_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_table_column_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_PRECEDENCE: fo_table_column_set_border_after_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_table_column_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_table_column_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_table_column_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_PRECEDENCE: fo_table_column_set_border_before_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_table_column_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_table_column_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_table_column_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_table_column_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_table_column_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_table_column_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_PRECEDENCE: fo_table_column_set_border_end_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_table_column_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_table_column_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_table_column_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_table_column_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_table_column_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_table_column_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_table_column_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_table_column_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_table_column_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_PRECEDENCE: fo_table_column_set_border_start_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_table_column_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_table_column_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_table_column_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_table_column_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_table_column_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_COLUMN_NUMBER: fo_table_column_set_column_number (fo_fo, g_value_get_object (value)); break; case PROP_COLUMN_WIDTH: fo_table_column_set_column_width (fo_fo, g_value_get_object (value)); break; case PROP_NUMBER_COLUMNS_REPEATED: fo_table_column_set_number_columns_repeated (fo_fo, g_value_get_object (value)); break; case PROP_NUMBER_COLUMNS_SPANNED: fo_table_column_set_number_columns_spanned (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_table_column_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_table_column_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_table_column_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_table_column_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_table_column_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_table_column_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_table_column_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_table_column_set_padding_top (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_column_new: * * Creates a new #FoTableColumn initialized to default value. * * Return value: the new #FoTableColumn. **/ FoFo* fo_table_column_new (void) { return FO_FO (g_object_new (fo_table_column_get_type (), NULL)); } /** * fo_table_column_error_quark: * * Create and return the #GQuark for use as the error domain for * table-column. * * Return value: Error domain #GQuark. **/ GQuark fo_table_column_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("fo-table-column-error"); return quark; } /** * fo_table_column_resolve_column_width: * @fo: #FoTableColumn * * Resolve the column-width property of @fo. In particular, convert * to length if a percentage. **/ static void fo_table_column_resolve_column_width (FoFo *fo) { FoTableColumn *fo_table_column; FoFo *table; FoDatatype *column_width_datatype; g_return_if_fail (FO_IS_TABLE_COLUMN (fo)); fo_table_column = FO_TABLE_COLUMN (fo); table = FO_FO (fo_node_parent (FO_NODE (fo))); column_width_datatype = fo_property_get_value (fo_table_column->column_width); if (column_width_datatype == NULL && (fo_table_get_layout_method (table) == FO_ENUM_TABLE_LAYOUT_METHOD_FIXED)) { return; } if (FO_IS_PERCENTAGE (column_width_datatype)) { FoArea *reference_area = fo_area_get_reference (table->areas->data); FoDatatype *length_datatype; gfloat percentage = fo_percentage_get_value (column_width_datatype); gfloat hundred_percent = 0.0; gfloat length; if (reference_area != NULL) { hundred_percent = fo_area_get_child_available_ipdim (reference_area); /* hundred_percent = fo_area_get_available_width (reference_area); */ } length = percentage * 0.01 * hundred_percent; length_datatype = fo_length_new_with_value (length); fo_property_set_value (fo_table_column->column_width, length_datatype); } return; } /** * fo_table_column_resolve_column_number: * @fo: * * **/ static void fo_table_column_resolve_column_number (FoFo *fo) { FoNode *prev_sibling; FoDatatype *column_number_datatype; g_return_if_fail (FO_IS_TABLE_COLUMN (fo)); g_return_if_fail (FO_IS_PROPERTY_COLUMN_NUMBER (FO_TABLE_COLUMN (fo)->column_number)); #if defined(LIBFO_DEBUG) && 0 fo_object_debug_dump (FO_TABLE_COLUMN (fo)->column_number, 0); #endif column_number_datatype = fo_property_get_value (FO_TABLE_COLUMN (fo)->column_number); if (column_number_datatype != NULL) return; prev_sibling = fo_node_prev_sibling (FO_NODE (fo)); #if defined(LIBFO_DEBUG) && 0 g_message ("column_resolve_column_number:: prev_sibling: %s", fo_object_debug_sprintf (prev_sibling)); #endif if (!prev_sibling) { FoProperty *column_number = fo_property_column_number_new (); fo_property_set_value (column_number, fo_integer_get_integer_one ()); fo_table_column_set_column_number (fo, column_number); } else { FoProperty *prev_column_number; FoProperty *prev_column_span; FoProperty *column_number; FoDatatype *prev_column_number_datatype; FoDatatype *prev_column_span_datatype; FoDatatype *column_number_datatype; gint prev_column_number_value; gint prev_column_span_value; gint column_number_value; prev_column_number = fo_table_column_get_column_number (FO_FO (prev_sibling)); prev_column_span = fo_table_column_get_number_columns_spanned (FO_FO (prev_sibling)); prev_column_number_datatype = fo_property_get_value (prev_column_number); prev_column_span_datatype = fo_property_get_value (prev_column_span); prev_column_number_value = fo_integer_get_value (prev_column_number_datatype); prev_column_span_value = fo_integer_get_value (prev_column_span_datatype); column_number_value = prev_column_number_value + prev_column_span_value; #if defined(LIBFO_DEBUG) && 0 g_message ("column_resolve_number_column:: prev_num: %d; prev_span: %d; num: %d", prev_column_number_value, prev_column_span_value, column_number_value); #endif column_number_datatype = fo_integer_new_with_value (column_number_value); column_number = fo_property_column_number_new (); fo_property_set_value (column_number, column_number_datatype); fo_table_column_set_column_number (fo, column_number); #if defined(LIBFO_DEBUG) && 0 g_message ("column_resolve_column_number:: after:"); fo_object_debug_dump (FO_TABLE_COLUMN (fo)->column_number, 0); #endif } } /** * fo_table_column_validate: * @fo: #FoTableColumn object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. * * Error conditions: * * Section 7.26.9, "column-width", of XSL 1.0: * * The "column-width" property must be specified for every column, * unless the automatic table layout is used. **/ void fo_table_column_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoTableColumn *fo_table_column; FoFo *table; gint column_number; gint number_columns_spanned; gint number_columns_repeated; gint i; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_table_column = FO_TABLE_COLUMN (fo); table = FO_FO (fo_node_parent (FO_NODE (fo))); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_table_column_resolve_column_number (fo); if ((fo_property_get_value (fo_table_column->column_width) == NULL) && (fo_table_get_layout_method (table) == FO_ENUM_TABLE_LAYOUT_METHOD_FIXED)) { g_set_error (error, FO_TABLE_COLUMN_ERROR, FO_FO_ERROR_DATATYPE, _(fo_table_column_error_messages[FO_TABLE_COLUMN_ERROR_FIXED_NO_WIDTH])); fo_object_log_warning (FO_OBJECT (fo), error); fo_table_column_set_column_width (fo, FO_PROPERTY (g_object_new (FO_TYPE_PROPERTY_COLUMN_WIDTH, "value", fo_string_new_with_value ("proportional-column-width(1)"), NULL))); } fo_table_column_resolve_column_width (fo); column_number = fo_integer_get_value (fo_property_get_value (fo_table_column->column_number)); number_columns_spanned = fo_integer_get_value (fo_property_get_value (fo_table_column->number_columns_spanned)); number_columns_repeated = fo_integer_get_value (fo_property_get_value (fo_table_column->number_columns_repeated)); #if defined(LIBFO_DEBUG) && 0 g_message ("table_column_validate:: number: %d; span: %d; repeat: %d", column_number, number_columns_spanned, number_columns_repeated); #endif fo_table_add_column (table, column_number, number_columns_spanned, fo); for (i = number_columns_repeated; i > 1; i--) { FoFo *clone = fo_fo_clone (fo); fo_node_insert_before (fo_node_parent (FO_NODE (fo)), FO_NODE (fo), FO_NODE (clone)); column_number += number_columns_spanned; fo_table_add_column (table, column_number, number_columns_spanned, clone); } } /** * fo_table_column_update_after_clone: * @clone: New object cloned from @original * @original: Original area object * * Update the FoAreaArea-specific instance variables of @clone to * match those of @original **/ void fo_table_column_update_after_clone (FoFo *clone, FoFo *original) { g_return_if_fail (clone != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (clone)); g_return_if_fail (original != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (original)); FO_FO_CLASS (parent_class)->update_after_clone (clone, original); fo_table_column_set_background_color (clone, fo_table_column_get_background_color (original)); fo_table_column_set_border_after_color (clone, fo_table_column_get_border_after_color (original)); fo_table_column_set_border_after_precedence (clone, fo_table_column_get_border_after_precedence (original)); fo_table_column_set_border_after_style (clone, fo_table_column_get_border_after_style (original)); fo_table_column_set_border_after_width (clone, fo_table_column_get_border_after_width (original)); fo_table_column_set_border_before_color (clone, fo_table_column_get_border_before_color (original)); fo_table_column_set_border_before_precedence (clone, fo_table_column_get_border_before_precedence (original)); fo_table_column_set_border_before_style (clone, fo_table_column_get_border_before_style (original)); fo_table_column_set_border_before_width (clone, fo_table_column_get_border_before_width (original)); fo_table_column_set_border_bottom_color (clone, fo_table_column_get_border_bottom_color (original)); fo_table_column_set_border_bottom_style (clone, fo_table_column_get_border_bottom_style (original)); fo_table_column_set_border_bottom_width (clone, fo_table_column_get_border_bottom_width (original)); fo_table_column_set_border_end_color (clone, fo_table_column_get_border_end_color (original)); fo_table_column_set_border_end_precedence (clone, fo_table_column_get_border_end_precedence (original)); fo_table_column_set_border_end_style (clone, fo_table_column_get_border_end_style (original)); fo_table_column_set_border_end_width (clone, fo_table_column_get_border_end_width (original)); fo_table_column_set_border_left_color (clone, fo_table_column_get_border_left_color (original)); fo_table_column_set_border_left_style (clone, fo_table_column_get_border_left_style (original)); fo_table_column_set_border_left_width (clone, fo_table_column_get_border_left_width (original)); fo_table_column_set_border_right_color (clone, fo_table_column_get_border_right_color (original)); fo_table_column_set_border_right_style (clone, fo_table_column_get_border_right_style (original)); fo_table_column_set_border_right_width (clone, fo_table_column_get_border_right_width (original)); fo_table_column_set_border_start_color (clone, fo_table_column_get_border_start_color (original)); fo_table_column_set_border_start_precedence (clone, fo_table_column_get_border_start_precedence (original)); fo_table_column_set_border_start_style (clone, fo_table_column_get_border_start_style (original)); fo_table_column_set_border_start_width (clone, fo_table_column_get_border_start_width (original)); fo_table_column_set_border_top_color (clone, fo_table_column_get_border_top_color (original)); fo_table_column_set_border_top_style (clone, fo_table_column_get_border_top_style (original)); fo_table_column_set_border_top_width (clone, fo_table_column_get_border_top_width (original)); fo_table_column_set_column_number (clone, fo_table_column_get_column_number (original)); fo_table_column_set_column_width (clone, fo_table_column_get_column_width (original)); fo_table_column_set_number_columns_repeated (clone, fo_table_column_get_number_columns_repeated (original)); fo_table_column_set_number_columns_spanned (clone, fo_table_column_get_number_columns_spanned (original)); fo_table_column_set_padding_after (clone, fo_table_column_get_padding_after (original)); fo_table_column_set_padding_before (clone, fo_table_column_get_padding_before (original)); fo_table_column_set_padding_bottom (clone, fo_table_column_get_padding_bottom (original)); fo_table_column_set_padding_end (clone, fo_table_column_get_padding_end (original)); fo_table_column_set_padding_left (clone, fo_table_column_get_padding_left (original)); fo_table_column_set_padding_right (clone, fo_table_column_get_padding_right (original)); fo_table_column_set_padding_start (clone, fo_table_column_get_padding_start (original)); fo_table_column_set_padding_top (clone, fo_table_column_get_padding_top (original)); } /** * fo_table_column_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_column_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_table_column_set_background_color (fo, fo_context_get_background_color (context)); fo_table_column_set_background_image (fo, fo_context_get_background_image (context)); fo_table_column_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_table_column_set_border_after_precedence (fo, fo_context_get_border_after_precedence (context)); fo_table_column_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_table_column_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_table_column_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_table_column_set_border_before_precedence (fo, fo_context_get_border_before_precedence (context)); fo_table_column_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_table_column_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_table_column_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_table_column_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_table_column_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_table_column_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_table_column_set_border_end_precedence (fo, fo_context_get_border_end_precedence (context)); fo_table_column_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_table_column_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_table_column_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_table_column_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_table_column_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_table_column_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_table_column_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_table_column_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_table_column_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_table_column_set_border_start_precedence (fo, fo_context_get_border_start_precedence (context)); fo_table_column_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_table_column_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_table_column_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_table_column_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_table_column_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_table_column_set_column_number (fo, fo_context_get_column_number (context)); fo_table_column_set_column_width (fo, fo_context_get_column_width (context)); fo_table_column_set_number_columns_repeated (fo, fo_context_get_number_columns_repeated (context)); fo_table_column_set_number_columns_spanned (fo, fo_context_get_number_columns_spanned (context)); fo_table_column_set_padding_after (fo, fo_context_get_padding_after (context)); fo_table_column_set_padding_before (fo, fo_context_get_padding_before (context)); fo_table_column_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_table_column_set_padding_end (fo, fo_context_get_padding_end (context)); fo_table_column_set_padding_left (fo, fo_context_get_padding_left (context)); fo_table_column_set_padding_right (fo, fo_context_get_padding_right (context)); fo_table_column_set_padding_start (fo, fo_context_get_padding_start (context)); fo_table_column_set_padding_top (fo, fo_context_get_padding_top (context)); } /** * fo_table_column_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_table_column_debug_dump_properties (FoFo *fo, gint depth) { FoTableColumn *fo_table_column; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo)); fo_table_column = FO_TABLE_COLUMN (fo); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%soffset: %gpt", indent, fo_table_column->offset); g_free (indent); fo_object_debug_dump (fo_table_column->background_color, depth); fo_object_debug_dump (fo_table_column->background_image, depth); fo_object_debug_dump (fo_table_column->border_after_color, depth); fo_object_debug_dump (fo_table_column->border_after_precedence, depth); fo_object_debug_dump (fo_table_column->border_after_style, depth); fo_object_debug_dump (fo_table_column->border_after_width, depth); fo_object_debug_dump (fo_table_column->border_before_color, depth); fo_object_debug_dump (fo_table_column->border_before_precedence, depth); fo_object_debug_dump (fo_table_column->border_before_style, depth); fo_object_debug_dump (fo_table_column->border_before_width, depth); fo_object_debug_dump (fo_table_column->border_bottom_color, depth); fo_object_debug_dump (fo_table_column->border_bottom_style, depth); fo_object_debug_dump (fo_table_column->border_bottom_width, depth); fo_object_debug_dump (fo_table_column->border_end_color, depth); fo_object_debug_dump (fo_table_column->border_end_precedence, depth); fo_object_debug_dump (fo_table_column->border_end_style, depth); fo_object_debug_dump (fo_table_column->border_end_width, depth); fo_object_debug_dump (fo_table_column->border_left_color, depth); fo_object_debug_dump (fo_table_column->border_left_style, depth); fo_object_debug_dump (fo_table_column->border_left_width, depth); fo_object_debug_dump (fo_table_column->border_right_color, depth); fo_object_debug_dump (fo_table_column->border_right_style, depth); fo_object_debug_dump (fo_table_column->border_right_width, depth); fo_object_debug_dump (fo_table_column->border_start_color, depth); fo_object_debug_dump (fo_table_column->border_start_precedence, depth); fo_object_debug_dump (fo_table_column->border_start_style, depth); fo_object_debug_dump (fo_table_column->border_start_width, depth); fo_object_debug_dump (fo_table_column->border_top_color, depth); fo_object_debug_dump (fo_table_column->border_top_style, depth); fo_object_debug_dump (fo_table_column->border_top_width, depth); fo_object_debug_dump (fo_table_column->column_number, depth); fo_object_debug_dump (fo_table_column->column_width, depth); fo_object_debug_dump (fo_table_column->number_columns_repeated, depth); fo_object_debug_dump (fo_table_column->number_columns_spanned, depth); fo_object_debug_dump (fo_table_column->padding_after, depth); fo_object_debug_dump (fo_table_column->padding_before, depth); fo_object_debug_dump (fo_table_column->padding_bottom, depth); fo_object_debug_dump (fo_table_column->padding_end, depth); fo_object_debug_dump (fo_table_column->padding_left, depth); fo_object_debug_dump (fo_table_column->padding_right, depth); fo_object_debug_dump (fo_table_column->padding_start, depth); fo_object_debug_dump (fo_table_column->padding_top, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_table_column_get_offset: * @fo_fo: The @FoFo object * * Gets the "offset" property of @table_column * * Return value: The "offset" property value **/ gfloat fo_table_column_get_offset (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, 0.0); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), 0.0); return fo_table_column->offset; } /** * fo_table_column_set_offset: * @fo_fo: The @FoFo object * @new_offset: The new "offset" property value * * Sets the "offset" property of @table_column to @new_offset **/ void fo_table_column_set_offset (FoFo *fo_fo, gfloat new_offset) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); fo_table_column->offset = new_offset; /*g_object_notify (G_OBJECT (fo_table_column), "offset");*/ } /** * fo_table_column_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty* fo_table_column_get_background_color (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->background_color; } /** * fo_table_column_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_table_column_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_table_column->background_color != NULL) { g_object_unref (fo_table_column->background_color); } fo_table_column->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_table_column), "background-color");*/ } /** * fo_table_column_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_table_column_get_background_image (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->background_image; } /** * fo_table_column_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_table_column_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_table_column->background_image != NULL) { g_object_unref (fo_table_column->background_image); } fo_table_column->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_table_column), "background-image");*/ } /** * fo_table_column_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_table_column_get_border_after_color (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_after_color; } /** * fo_table_column_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_table_column_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_table_column->border_after_color != NULL) { g_object_unref (fo_table_column->border_after_color); } fo_table_column->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_table_column), "border-after-color");*/ } /** * fo_table_column_get_border_after_precedence: * @fo_fo: The @FoFo object * * Gets the "border-after-precedence" property of @fo_fo * * Return value: The "border-after-precedence" property value **/ FoProperty* fo_table_column_get_border_after_precedence (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_after_precedence; } /** * fo_table_column_set_border_after_precedence: * @fo_fo: The #FoFo object * @new_border_after_precedence: The new "border-after-precedence" property value * * Sets the "border-after-precedence" property of @fo_fo to @new_border_after_precedence **/ void fo_table_column_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE (new_border_after_precedence)); if (new_border_after_precedence != NULL) { g_object_ref (new_border_after_precedence); } if (fo_table_column->border_after_precedence != NULL) { g_object_unref (fo_table_column->border_after_precedence); } fo_table_column->border_after_precedence = new_border_after_precedence; /*g_object_notify (G_OBJECT (fo_table_column), "border-after-precedence");*/ } /** * fo_table_column_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_table_column_get_border_after_style (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_after_style; } /** * fo_table_column_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_table_column_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_table_column->border_after_style != NULL) { g_object_unref (fo_table_column->border_after_style); } fo_table_column->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_table_column), "border-after-style");*/ } /** * fo_table_column_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_table_column_get_border_after_width (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_after_width; } /** * fo_table_column_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_table_column_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_table_column->border_after_width != NULL) { g_object_unref (fo_table_column->border_after_width); } fo_table_column->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_table_column), "border-after-width");*/ } /** * fo_table_column_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_table_column_get_border_before_color (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_before_color; } /** * fo_table_column_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_table_column_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_table_column->border_before_color != NULL) { g_object_unref (fo_table_column->border_before_color); } fo_table_column->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_table_column), "border-before-color");*/ } /** * fo_table_column_get_border_before_precedence: * @fo_fo: The @FoFo object * * Gets the "border-before-precedence" property of @fo_fo * * Return value: The "border-before-precedence" property value **/ FoProperty* fo_table_column_get_border_before_precedence (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_before_precedence; } /** * fo_table_column_set_border_before_precedence: * @fo_fo: The #FoFo object * @new_border_before_precedence: The new "border-before-precedence" property value * * Sets the "border-before-precedence" property of @fo_fo to @new_border_before_precedence **/ void fo_table_column_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE (new_border_before_precedence)); if (new_border_before_precedence != NULL) { g_object_ref (new_border_before_precedence); } if (fo_table_column->border_before_precedence != NULL) { g_object_unref (fo_table_column->border_before_precedence); } fo_table_column->border_before_precedence = new_border_before_precedence; /*g_object_notify (G_OBJECT (fo_table_column), "border-before-precedence");*/ } /** * fo_table_column_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_table_column_get_border_before_style (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_before_style; } /** * fo_table_column_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_table_column_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_table_column->border_before_style != NULL) { g_object_unref (fo_table_column->border_before_style); } fo_table_column->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_table_column), "border-before-style");*/ } /** * fo_table_column_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_table_column_get_border_before_width (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_before_width; } /** * fo_table_column_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_table_column_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_table_column->border_before_width != NULL) { g_object_unref (fo_table_column->border_before_width); } fo_table_column->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_table_column), "border-before-width");*/ } /** * fo_table_column_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_table_column_get_border_bottom_color (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_bottom_color; } /** * fo_table_column_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_table_column_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_table_column->border_bottom_color != NULL) { g_object_unref (fo_table_column->border_bottom_color); } fo_table_column->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_table_column), "border-bottom-color");*/ } /** * fo_table_column_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_table_column_get_border_bottom_style (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_bottom_style; } /** * fo_table_column_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_table_column_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_table_column->border_bottom_style != NULL) { g_object_unref (fo_table_column->border_bottom_style); } fo_table_column->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_table_column), "border-bottom-style");*/ } /** * fo_table_column_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_table_column_get_border_bottom_width (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_bottom_width; } /** * fo_table_column_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_table_column_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_table_column->border_bottom_width != NULL) { g_object_unref (fo_table_column->border_bottom_width); } fo_table_column->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_table_column), "border-bottom-width");*/ } /** * fo_table_column_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_table_column_get_border_end_color (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_end_color; } /** * fo_table_column_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_table_column_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_table_column->border_end_color != NULL) { g_object_unref (fo_table_column->border_end_color); } fo_table_column->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_table_column), "border-end-color");*/ } /** * fo_table_column_get_border_end_precedence: * @fo_fo: The @FoFo object * * Gets the "border-end-precedence" property of @fo_fo * * Return value: The "border-end-precedence" property value **/ FoProperty* fo_table_column_get_border_end_precedence (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_end_precedence; } /** * fo_table_column_set_border_end_precedence: * @fo_fo: The #FoFo object * @new_border_end_precedence: The new "border-end-precedence" property value * * Sets the "border-end-precedence" property of @fo_fo to @new_border_end_precedence **/ void fo_table_column_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_PRECEDENCE (new_border_end_precedence)); if (new_border_end_precedence != NULL) { g_object_ref (new_border_end_precedence); } if (fo_table_column->border_end_precedence != NULL) { g_object_unref (fo_table_column->border_end_precedence); } fo_table_column->border_end_precedence = new_border_end_precedence; /*g_object_notify (G_OBJECT (fo_table_column), "border-end-precedence");*/ } /** * fo_table_column_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_table_column_get_border_end_style (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_end_style; } /** * fo_table_column_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_table_column_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_table_column->border_end_style != NULL) { g_object_unref (fo_table_column->border_end_style); } fo_table_column->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_table_column), "border-end-style");*/ } /** * fo_table_column_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_table_column_get_border_end_width (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_end_width; } /** * fo_table_column_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_table_column_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_table_column->border_end_width != NULL) { g_object_unref (fo_table_column->border_end_width); } fo_table_column->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_table_column), "border-end-width");*/ } /** * fo_table_column_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_table_column_get_border_left_color (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_left_color; } /** * fo_table_column_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_table_column_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_table_column->border_left_color != NULL) { g_object_unref (fo_table_column->border_left_color); } fo_table_column->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_table_column), "border-left-color");*/ } /** * fo_table_column_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_table_column_get_border_left_style (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_left_style; } /** * fo_table_column_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_table_column_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_table_column->border_left_style != NULL) { g_object_unref (fo_table_column->border_left_style); } fo_table_column->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_table_column), "border-left-style");*/ } /** * fo_table_column_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_table_column_get_border_left_width (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_left_width; } /** * fo_table_column_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_table_column_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_table_column->border_left_width != NULL) { g_object_unref (fo_table_column->border_left_width); } fo_table_column->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_table_column), "border-left-width");*/ } /** * fo_table_column_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_table_column_get_border_right_color (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_right_color; } /** * fo_table_column_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_table_column_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_table_column->border_right_color != NULL) { g_object_unref (fo_table_column->border_right_color); } fo_table_column->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_table_column), "border-right-color");*/ } /** * fo_table_column_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_table_column_get_border_right_style (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_right_style; } /** * fo_table_column_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_table_column_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_table_column->border_right_style != NULL) { g_object_unref (fo_table_column->border_right_style); } fo_table_column->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_table_column), "border-right-style");*/ } /** * fo_table_column_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_table_column_get_border_right_width (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_right_width; } /** * fo_table_column_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_table_column_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_table_column->border_right_width != NULL) { g_object_unref (fo_table_column->border_right_width); } fo_table_column->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_table_column), "border-right-width");*/ } /** * fo_table_column_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_table_column_get_border_start_color (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_start_color; } /** * fo_table_column_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_table_column_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_table_column->border_start_color != NULL) { g_object_unref (fo_table_column->border_start_color); } fo_table_column->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_table_column), "border-start-color");*/ } /** * fo_table_column_get_border_start_precedence: * @fo_fo: The @FoFo object * * Gets the "border-start-precedence" property of @fo_fo * * Return value: The "border-start-precedence" property value **/ FoProperty* fo_table_column_get_border_start_precedence (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_start_precedence; } /** * fo_table_column_set_border_start_precedence: * @fo_fo: The #FoFo object * @new_border_start_precedence: The new "border-start-precedence" property value * * Sets the "border-start-precedence" property of @fo_fo to @new_border_start_precedence **/ void fo_table_column_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_PRECEDENCE (new_border_start_precedence)); if (new_border_start_precedence != NULL) { g_object_ref (new_border_start_precedence); } if (fo_table_column->border_start_precedence != NULL) { g_object_unref (fo_table_column->border_start_precedence); } fo_table_column->border_start_precedence = new_border_start_precedence; /*g_object_notify (G_OBJECT (fo_table_column), "border-start-precedence");*/ } /** * fo_table_column_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_table_column_get_border_start_style (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_start_style; } /** * fo_table_column_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_table_column_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_table_column->border_start_style != NULL) { g_object_unref (fo_table_column->border_start_style); } fo_table_column->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_table_column), "border-start-style");*/ } /** * fo_table_column_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_table_column_get_border_start_width (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_start_width; } /** * fo_table_column_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_table_column_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_table_column->border_start_width != NULL) { g_object_unref (fo_table_column->border_start_width); } fo_table_column->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_table_column), "border-start-width");*/ } /** * fo_table_column_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_table_column_get_border_top_color (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_top_color; } /** * fo_table_column_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_table_column_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_table_column->border_top_color != NULL) { g_object_unref (fo_table_column->border_top_color); } fo_table_column->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_table_column), "border-top-color");*/ } /** * fo_table_column_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_table_column_get_border_top_style (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_top_style; } /** * fo_table_column_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_table_column_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_table_column->border_top_style != NULL) { g_object_unref (fo_table_column->border_top_style); } fo_table_column->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_table_column), "border-top-style");*/ } /** * fo_table_column_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_table_column_get_border_top_width (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->border_top_width; } /** * fo_table_column_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_table_column_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_table_column->border_top_width != NULL) { g_object_unref (fo_table_column->border_top_width); } fo_table_column->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_table_column), "border-top-width");*/ } /** * fo_table_column_get_column_number: * @fo_fo: The @FoFo object * * Gets the "column-number" property of @fo_fo * * Return value: The "column-number" property value **/ FoProperty* fo_table_column_get_column_number (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->column_number; } /** * fo_table_column_set_column_number: * @fo_fo: The #FoFo object * @new_column_number: The new "column-number" property value * * Sets the "column-number" property of @fo_fo to @new_column_number **/ void fo_table_column_set_column_number (FoFo *fo_fo, FoProperty *new_column_number) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_COLUMN_NUMBER (new_column_number)); if (new_column_number != NULL) { g_object_ref (new_column_number); } if (fo_table_column->column_number != NULL) { g_object_unref (fo_table_column->column_number); } fo_table_column->column_number = new_column_number; /*g_object_notify (G_OBJECT (fo_table_column), "column-number");*/ } /** * fo_table_column_get_column_width: * @fo_fo: The @FoFo object * * Gets the "column-width" property of @fo_fo * * Return value: The "column-width" property value **/ FoProperty* fo_table_column_get_column_width (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->column_width; } /** * fo_table_column_set_column_width: * @fo_fo: The #FoFo object * @new_column_width: The new "column-width" property value * * Sets the "column-width" property of @fo_fo to @new_column_width **/ void fo_table_column_set_column_width (FoFo *fo_fo, FoProperty *new_column_width) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_COLUMN_WIDTH (new_column_width)); if (new_column_width != NULL) { g_object_ref (new_column_width); } if (fo_table_column->column_width != NULL) { g_object_unref (fo_table_column->column_width); } fo_table_column->column_width = new_column_width; /*g_object_notify (G_OBJECT (fo_table_column), "column-width");*/ } /** * fo_table_column_get_number_columns_repeated: * @fo_fo: The @FoFo object * * Gets the "number-columns-repeated" property of @fo_fo * * Return value: The "number-columns-repeated" property value **/ FoProperty* fo_table_column_get_number_columns_repeated (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->number_columns_repeated; } /** * fo_table_column_set_number_columns_repeated: * @fo_fo: The #FoFo object * @new_number_columns_repeated: The new "number-columns-repeated" property value * * Sets the "number-columns-repeated" property of @fo_fo to @new_number_columns_repeated **/ void fo_table_column_set_number_columns_repeated (FoFo *fo_fo, FoProperty *new_number_columns_repeated) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_NUMBER_COLUMNS_REPEATED (new_number_columns_repeated)); if (new_number_columns_repeated != NULL) { g_object_ref (new_number_columns_repeated); } if (fo_table_column->number_columns_repeated != NULL) { g_object_unref (fo_table_column->number_columns_repeated); } fo_table_column->number_columns_repeated = new_number_columns_repeated; /*g_object_notify (G_OBJECT (fo_table_column), "number-columns-repeated");*/ } /** * fo_table_column_get_number_columns_spanned: * @fo_fo: The @FoFo object * * Gets the "number-columns-spanned" property of @fo_fo * * Return value: The "number-columns-spanned" property value **/ FoProperty* fo_table_column_get_number_columns_spanned (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->number_columns_spanned; } /** * fo_table_column_set_number_columns_spanned: * @fo_fo: The #FoFo object * @new_number_columns_spanned: The new "number-columns-spanned" property value * * Sets the "number-columns-spanned" property of @fo_fo to @new_number_columns_spanned **/ void fo_table_column_set_number_columns_spanned (FoFo *fo_fo, FoProperty *new_number_columns_spanned) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_NUMBER_COLUMNS_SPANNED (new_number_columns_spanned)); if (new_number_columns_spanned != NULL) { g_object_ref (new_number_columns_spanned); } if (fo_table_column->number_columns_spanned != NULL) { g_object_unref (fo_table_column->number_columns_spanned); } fo_table_column->number_columns_spanned = new_number_columns_spanned; /*g_object_notify (G_OBJECT (fo_table_column), "number-columns-spanned");*/ } /** * fo_table_column_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_table_column_get_padding_after (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->padding_after; } /** * fo_table_column_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_table_column_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_table_column->padding_after != NULL) { g_object_unref (fo_table_column->padding_after); } fo_table_column->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_table_column), "padding-after");*/ } /** * fo_table_column_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_table_column_get_padding_before (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->padding_before; } /** * fo_table_column_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_table_column_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_table_column->padding_before != NULL) { g_object_unref (fo_table_column->padding_before); } fo_table_column->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_table_column), "padding-before");*/ } /** * fo_table_column_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_table_column_get_padding_bottom (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->padding_bottom; } /** * fo_table_column_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_table_column_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_table_column->padding_bottom != NULL) { g_object_unref (fo_table_column->padding_bottom); } fo_table_column->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_table_column), "padding-bottom");*/ } /** * fo_table_column_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_table_column_get_padding_end (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->padding_end; } /** * fo_table_column_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_table_column_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_table_column->padding_end != NULL) { g_object_unref (fo_table_column->padding_end); } fo_table_column->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_table_column), "padding-end");*/ } /** * fo_table_column_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_table_column_get_padding_left (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->padding_left; } /** * fo_table_column_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_table_column_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_table_column->padding_left != NULL) { g_object_unref (fo_table_column->padding_left); } fo_table_column->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_table_column), "padding-left");*/ } /** * fo_table_column_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_table_column_get_padding_right (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->padding_right; } /** * fo_table_column_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_table_column_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_table_column->padding_right != NULL) { g_object_unref (fo_table_column->padding_right); } fo_table_column->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_table_column), "padding-right");*/ } /** * fo_table_column_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_table_column_get_padding_start (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->padding_start; } /** * fo_table_column_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_table_column_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_table_column->padding_start != NULL) { g_object_unref (fo_table_column->padding_start); } fo_table_column->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_table_column), "padding-start");*/ } /** * fo_table_column_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_table_column_get_padding_top (FoFo *fo_fo) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_val_if_fail (fo_table_column != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_COLUMN (fo_table_column), NULL); return fo_table_column->padding_top; } /** * fo_table_column_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_table_column_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTableColumn *fo_table_column = (FoTableColumn *) fo_fo; g_return_if_fail (fo_table_column != NULL); g_return_if_fail (FO_IS_TABLE_COLUMN (fo_table_column)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_table_column->padding_top != NULL) { g_object_unref (fo_table_column->padding_top); } fo_table_column->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_table_column), "padding-top");*/ } xmlroff-0.6.2/libfo/fo/fo-table-column.h0000644000175000017500000002643710643167376015002 00000000000000/* Fo * fo-table_column.h: 'table-column' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_COLUMN_H__ #define __FO_TABLE_COLUMN_H__ #include #include #include G_BEGIN_DECLS #define FO_TABLE_COLUMN_ERROR fo_table_column_error_quark () GQuark fo_table_column_error_quark (void); typedef enum { FO_TABLE_COLUMN_ERROR_FAILED, /* Generic error code */ FO_TABLE_COLUMN_ERROR_WARNING, /* Non-fatal error */ FO_TABLE_COLUMN_ERROR_FIXED_NO_WIDTH, /* column-width required when fixed */ FO_TABLE_COLUMN_ERROR_LAST } FoTableColumnError; extern const char *fo_table_column_error_messages[FO_TABLE_COLUMN_ERROR_LAST]; typedef struct _FoTableColumn FoTableColumn; typedef struct _FoTableColumnClass FoTableColumnClass; #define FO_TYPE_TABLE_COLUMN (fo_table_column_get_type ()) #define FO_TABLE_COLUMN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_COLUMN, FoTableColumn)) #define FO_TABLE_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_COLUMN, FoTableColumnClass)) #define FO_IS_TABLE_COLUMN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_COLUMN)) #define FO_IS_TABLE_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_COLUMN)) #define FO_TABLE_COLUMN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_COLUMN, FoTableColumnClass)) GType fo_table_column_get_type (void) G_GNUC_CONST; FoFo * fo_table_column_new (void); gfloat fo_table_column_get_offset (FoFo *fo_fo); void fo_table_column_set_offset (FoFo *fo_fo, gfloat new_offset); FoProperty * fo_table_column_get_background_color (FoFo *fo_fo); void fo_table_column_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_table_column_get_background_image (FoFo *fo_fo); void fo_table_column_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_table_column_get_border_after_color (FoFo *fo_fo); void fo_table_column_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_table_column_get_border_after_precedence (FoFo *fo_fo); void fo_table_column_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty * fo_table_column_get_border_after_style (FoFo *fo_fo); void fo_table_column_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_table_column_get_border_after_width (FoFo *fo_fo); void fo_table_column_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_table_column_get_border_before_color (FoFo *fo_fo); void fo_table_column_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_table_column_get_border_before_precedence (FoFo *fo_fo); void fo_table_column_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty * fo_table_column_get_border_before_style (FoFo *fo_fo); void fo_table_column_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_table_column_get_border_before_width (FoFo *fo_fo); void fo_table_column_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_table_column_get_border_bottom_color (FoFo *fo_fo); void fo_table_column_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_table_column_get_border_bottom_style (FoFo *fo_fo); void fo_table_column_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_table_column_get_border_bottom_width (FoFo *fo_fo); void fo_table_column_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_table_column_get_border_end_color (FoFo *fo_fo); void fo_table_column_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_table_column_get_border_end_precedence (FoFo *fo_fo); void fo_table_column_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty * fo_table_column_get_border_end_style (FoFo *fo_fo); void fo_table_column_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_table_column_get_border_end_width (FoFo *fo_fo); void fo_table_column_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_table_column_get_border_left_color (FoFo *fo_fo); void fo_table_column_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_table_column_get_border_left_style (FoFo *fo_fo); void fo_table_column_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_table_column_get_border_left_width (FoFo *fo_fo); void fo_table_column_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_table_column_get_border_right_color (FoFo *fo_fo); void fo_table_column_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_table_column_get_border_right_style (FoFo *fo_fo); void fo_table_column_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_table_column_get_border_right_width (FoFo *fo_fo); void fo_table_column_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_table_column_get_border_start_color (FoFo *fo_fo); void fo_table_column_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_table_column_get_border_start_precedence (FoFo *fo_fo); void fo_table_column_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty * fo_table_column_get_border_start_style (FoFo *fo_fo); void fo_table_column_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_table_column_get_border_start_width (FoFo *fo_fo); void fo_table_column_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_table_column_get_border_top_color (FoFo *fo_fo); void fo_table_column_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_table_column_get_border_top_style (FoFo *fo_fo); void fo_table_column_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_table_column_get_border_top_width (FoFo *fo_fo); void fo_table_column_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_table_column_get_column_number (FoFo *fo_fo); void fo_table_column_set_column_number (FoFo *fo_fo, FoProperty *new_column_number); FoProperty * fo_table_column_get_column_width (FoFo *fo_fo); void fo_table_column_set_column_width (FoFo *fo_fo, FoProperty *new_column_width); FoProperty * fo_table_column_get_number_columns_repeated (FoFo *fo_fo); void fo_table_column_set_number_columns_repeated (FoFo *fo_fo, FoProperty *new_number_columns_repeated); FoProperty * fo_table_column_get_number_columns_spanned (FoFo *fo_fo); void fo_table_column_set_number_columns_spanned (FoFo *fo_fo, FoProperty *new_number_columns_spanned); FoProperty * fo_table_column_get_padding_after (FoFo *fo_fo); void fo_table_column_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_table_column_get_padding_before (FoFo *fo_fo); void fo_table_column_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_table_column_get_padding_bottom (FoFo *fo_fo); void fo_table_column_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_table_column_get_padding_end (FoFo *fo_fo); void fo_table_column_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_table_column_get_padding_left (FoFo *fo_fo); void fo_table_column_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_table_column_get_padding_right (FoFo *fo_fo); void fo_table_column_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_table_column_get_padding_start (FoFo *fo_fo); void fo_table_column_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_table_column_get_padding_top (FoFo *fo_fo); void fo_table_column_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); G_END_DECLS #endif /* !__FO_TABLE_COLUMN_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-column-private.h0000644000175000017500000000374210643167376016444 00000000000000/* Fo * fo-table-column-private.h: Structures private to 'table-column' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_COLUMN_PRIVATE_H__ #define __FO_TABLE_COLUMN_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoTableColumn { FoFo parent_instance; gfloat offset; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_precedence; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_precedence; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_precedence; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_precedence; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *column_number; FoProperty *column_width; FoProperty *number_columns_repeated; FoProperty *number_columns_spanned; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; }; struct _FoTableColumnClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_TABLE_COLUMN_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-footer.c0000644000175000017500000027740010660107745014765 00000000000000/* Fo * fo-table-footer.c: 'table-footer' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-table-border-fo-private.h" #include "fo/fo-table.h" #include "fo/fo-table-footer-private.h" #include "fo/fo-table-footer-area.h" #include "fo/fo-table-column.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-precedence.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-precedence.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-precedence.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-precedence.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-id.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_PRECEDENCE, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_PRECEDENCE, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_PRECEDENCE, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_PRECEDENCE, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_ID, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_table_footer_class_init (FoTableFooterClass *klass); static void fo_table_footer_table_border_fo_init (FoTableBorderFoIface *iface); static void fo_table_footer_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_table_footer_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_table_footer_finalize (GObject *object); static void fo_table_footer_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_table_footer_update_from_context (FoFo *fo, FoContext *context); static void fo_table_footer_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_table_footer_get_type: * * Register the #FoTableFooter object type. * * Return value: #GType value of the #FoTableFooter object type. **/ GType fo_table_footer_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTableFooterClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_table_footer_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTableFooter), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_table_border_fo_info = { (GInterfaceInitFunc) fo_table_footer_table_border_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_TABLE_PART, "FoTableFooter", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_TABLE_BORDER_FO, &fo_table_border_fo_info); } return object_type; } /** * fo_table_footer_class_init: * @klass: #FoTableFooterClass object to initialise. * * Implements #GClassInitFunc for #FoTableFooterClass. **/ void fo_table_footer_class_init (FoTableFooterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_footer_finalize; object_class->get_property = fo_table_footer_get_property; object_class->set_property = fo_table_footer_set_property; fofo_class->validate_content = fo_table_validate_content_table_row_table_cell; fofo_class->validate2 = fo_table_footer_validate; fofo_class->update_from_context = fo_table_footer_update_from_context; fofo_class->debug_dump_properties = fo_table_footer_debug_dump_properties; fofo_class->area_new2 = fo_table_footer_area_new2; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_PRECEDENCE, g_param_spec_object ("border-after-precedence", _("Border After Precedence"), _("Border After Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_PRECEDENCE, g_param_spec_object ("border-before-precedence", _("Border Before Precedence"), _("Border Before Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_PRECEDENCE, g_param_spec_object ("border-end-precedence", _("Border End Precedence"), _("Border End Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_PRECEDENCE, g_param_spec_object ("border-start-precedence", _("Border Start Precedence"), _("Border Start Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_table_footer_table_border_fo_init: * @iface: #FoTableBorderFoIFace structure for this class. * * Initialize #FoTableBorderFoIface interface for this class. **/ void fo_table_footer_table_border_fo_init (FoTableBorderFoIface *iface) { iface->get_background_color = fo_table_footer_get_background_color; iface->get_border_after_color = fo_table_footer_get_border_after_color; iface->get_border_after_precedence = fo_table_footer_get_border_after_precedence; iface->get_border_after_style = fo_table_footer_get_border_after_style; iface->get_border_after_width = fo_table_footer_get_border_after_width; iface->get_border_before_color = fo_table_footer_get_border_before_color; iface->get_border_before_precedence = fo_table_footer_get_border_before_precedence; iface->get_border_before_style = fo_table_footer_get_border_before_style; iface->get_border_before_width = fo_table_footer_get_border_before_width; iface->get_border_end_color = fo_table_footer_get_border_end_color; iface->get_border_end_precedence = fo_table_footer_get_border_end_precedence; iface->get_border_end_style = fo_table_footer_get_border_end_style; iface->get_border_end_width = fo_table_footer_get_border_end_width; iface->get_border_start_color = fo_table_footer_get_border_start_color; iface->get_border_start_precedence = fo_table_footer_get_border_start_precedence; iface->get_border_start_style = fo_table_footer_get_border_start_style; iface->get_border_start_width = fo_table_footer_get_border_start_width; } /** * fo_table_footer_finalize: * @object: #FoTableFooter object to finalize. * * Implements #GObjectFinalizeFunc for #FoTableFooter. **/ void fo_table_footer_finalize (GObject *object) { FoTableFooter *fo_table_footer; fo_table_footer = FO_TABLE_FOOTER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_footer_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTableFooter. **/ void fo_table_footer_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_table_footer_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_after_precedence (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_before_precedence (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_end_precedence (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_start_precedence (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_footer_get_border_top_width (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_table_footer_get_id (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_table_footer_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_footer_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_table_footer_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_table_footer_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_footer_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_table_footer_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_table_footer_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_table_footer_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_table_footer_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_footer_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTableFooter. **/ void fo_table_footer_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_table_footer_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_table_footer_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_table_footer_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_PRECEDENCE: fo_table_footer_set_border_after_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_table_footer_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_table_footer_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_table_footer_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_PRECEDENCE: fo_table_footer_set_border_before_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_table_footer_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_table_footer_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_table_footer_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_table_footer_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_table_footer_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_table_footer_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_PRECEDENCE: fo_table_footer_set_border_end_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_table_footer_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_table_footer_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_table_footer_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_table_footer_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_table_footer_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_table_footer_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_table_footer_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_table_footer_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_table_footer_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_PRECEDENCE: fo_table_footer_set_border_start_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_table_footer_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_table_footer_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_table_footer_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_table_footer_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_table_footer_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_table_footer_set_id (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_table_footer_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_table_footer_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_table_footer_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_table_footer_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_table_footer_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_table_footer_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_table_footer_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_table_footer_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_table_footer_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_table_footer_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_footer_new: * * Creates a new #FoTableFooter initialized to default value. * * Return value: the new #FoTableFooter. **/ FoFo* fo_table_footer_new (void) { return FO_FO (g_object_new (fo_table_footer_get_type (), NULL)); } /** * fo_table_footer_validate: * @fo: #FoTableFooter object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_table_footer_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { GError *tmp_error = NULL; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); if ((fo_node_prev_sibling (FO_NODE (fo)) && FO_IS_TABLE_COLUMN (FO_FO (fo_node_prev_sibling (FO_NODE (fo))))) || !fo_node_prev_sibling (FO_NODE (fo))) { fo_table_resolve_columns (FO_FO (fo_node_parent (FO_NODE (fo))), &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } } fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_table_footer_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_footer_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_table_footer_set_background_color (fo, fo_context_get_background_color (context)); fo_table_footer_set_background_image (fo, fo_context_get_background_image (context)); fo_table_footer_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_table_footer_set_border_after_precedence (fo, fo_context_get_border_after_precedence (context)); fo_table_footer_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_table_footer_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_table_footer_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_table_footer_set_border_before_precedence (fo, fo_context_get_border_before_precedence (context)); fo_table_footer_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_table_footer_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_table_footer_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_table_footer_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_table_footer_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_table_footer_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_table_footer_set_border_end_precedence (fo, fo_context_get_border_end_precedence (context)); fo_table_footer_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_table_footer_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_table_footer_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_table_footer_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_table_footer_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_table_footer_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_table_footer_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_table_footer_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_table_footer_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_table_footer_set_border_start_precedence (fo, fo_context_get_border_start_precedence (context)); fo_table_footer_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_table_footer_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_table_footer_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_table_footer_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_table_footer_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_table_footer_set_id (fo, fo_context_get_id (context)); fo_table_footer_set_padding_after (fo, fo_context_get_padding_after (context)); fo_table_footer_set_padding_before (fo, fo_context_get_padding_before (context)); fo_table_footer_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_table_footer_set_padding_end (fo, fo_context_get_padding_end (context)); fo_table_footer_set_padding_left (fo, fo_context_get_padding_left (context)); fo_table_footer_set_padding_right (fo, fo_context_get_padding_right (context)); fo_table_footer_set_padding_start (fo, fo_context_get_padding_start (context)); fo_table_footer_set_padding_top (fo, fo_context_get_padding_top (context)); fo_table_footer_set_role (fo, fo_context_get_role (context)); fo_table_footer_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_table_footer_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_table_footer_debug_dump_properties (FoFo *fo, gint depth) { FoTableFooter *fo_table_footer; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo)); fo_table_footer = FO_TABLE_FOOTER (fo); fo_object_debug_dump (fo_table_footer->background_color, depth); fo_object_debug_dump (fo_table_footer->background_image, depth); fo_object_debug_dump (fo_table_footer->border_after_color, depth); fo_object_debug_dump (fo_table_footer->border_after_precedence, depth); fo_object_debug_dump (fo_table_footer->border_after_style, depth); fo_object_debug_dump (fo_table_footer->border_after_width, depth); fo_object_debug_dump (fo_table_footer->border_before_color, depth); fo_object_debug_dump (fo_table_footer->border_before_precedence, depth); fo_object_debug_dump (fo_table_footer->border_before_style, depth); fo_object_debug_dump (fo_table_footer->border_before_width, depth); fo_object_debug_dump (fo_table_footer->border_bottom_color, depth); fo_object_debug_dump (fo_table_footer->border_bottom_style, depth); fo_object_debug_dump (fo_table_footer->border_bottom_width, depth); fo_object_debug_dump (fo_table_footer->border_end_color, depth); fo_object_debug_dump (fo_table_footer->border_end_precedence, depth); fo_object_debug_dump (fo_table_footer->border_end_style, depth); fo_object_debug_dump (fo_table_footer->border_end_width, depth); fo_object_debug_dump (fo_table_footer->border_left_color, depth); fo_object_debug_dump (fo_table_footer->border_left_style, depth); fo_object_debug_dump (fo_table_footer->border_left_width, depth); fo_object_debug_dump (fo_table_footer->border_right_color, depth); fo_object_debug_dump (fo_table_footer->border_right_style, depth); fo_object_debug_dump (fo_table_footer->border_right_width, depth); fo_object_debug_dump (fo_table_footer->border_start_color, depth); fo_object_debug_dump (fo_table_footer->border_start_precedence, depth); fo_object_debug_dump (fo_table_footer->border_start_style, depth); fo_object_debug_dump (fo_table_footer->border_start_width, depth); fo_object_debug_dump (fo_table_footer->border_top_color, depth); fo_object_debug_dump (fo_table_footer->border_top_style, depth); fo_object_debug_dump (fo_table_footer->border_top_width, depth); fo_object_debug_dump (fo_table_footer->id, depth); fo_object_debug_dump (fo_table_footer->padding_after, depth); fo_object_debug_dump (fo_table_footer->padding_before, depth); fo_object_debug_dump (fo_table_footer->padding_bottom, depth); fo_object_debug_dump (fo_table_footer->padding_end, depth); fo_object_debug_dump (fo_table_footer->padding_left, depth); fo_object_debug_dump (fo_table_footer->padding_right, depth); fo_object_debug_dump (fo_table_footer->padding_start, depth); fo_object_debug_dump (fo_table_footer->padding_top, depth); fo_object_debug_dump (fo_table_footer->role, depth); fo_object_debug_dump (fo_table_footer->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_table_footer_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_table_footer_get_background_color (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->background_color; } /** * fo_table_footer_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_table_footer_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_table_footer->background_color != NULL) { g_object_unref (fo_table_footer->background_color); } fo_table_footer->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_table_footer), "background-color");*/ } /** * fo_table_footer_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_table_footer_get_background_image (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->background_image; } /** * fo_table_footer_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_table_footer_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_table_footer->background_image != NULL) { g_object_unref (fo_table_footer->background_image); } fo_table_footer->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_table_footer), "background-image");*/ } /** * fo_table_footer_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_table_footer_get_border_after_color (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_after_color; } /** * fo_table_footer_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_table_footer_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_table_footer->border_after_color != NULL) { g_object_unref (fo_table_footer->border_after_color); } fo_table_footer->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_table_footer), "border-after-color");*/ } /** * fo_table_footer_get_border_after_precedence: * @fo_fo: The @FoFo object * * Gets the "border-after-precedence" property of @fo_fo * * Return value: The "border-after-precedence" property value **/ FoProperty* fo_table_footer_get_border_after_precedence (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_after_precedence; } /** * fo_table_footer_set_border_after_precedence: * @fo_fo: The #FoFo object * @new_border_after_precedence: The new "border-after-precedence" property value * * Sets the "border-after-precedence" property of @fo_fo to @new_border_after_precedence **/ void fo_table_footer_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE (new_border_after_precedence)); if (new_border_after_precedence != NULL) { g_object_ref (new_border_after_precedence); } if (fo_table_footer->border_after_precedence != NULL) { g_object_unref (fo_table_footer->border_after_precedence); } fo_table_footer->border_after_precedence = new_border_after_precedence; /*g_object_notify (G_OBJECT (fo_table_footer), "border-after-precedence");*/ } /** * fo_table_footer_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_table_footer_get_border_after_style (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_after_style; } /** * fo_table_footer_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_table_footer_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_table_footer->border_after_style != NULL) { g_object_unref (fo_table_footer->border_after_style); } fo_table_footer->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_table_footer), "border-after-style");*/ } /** * fo_table_footer_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_table_footer_get_border_after_width (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_after_width; } /** * fo_table_footer_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_table_footer_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_table_footer->border_after_width != NULL) { g_object_unref (fo_table_footer->border_after_width); } fo_table_footer->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_table_footer), "border-after-width");*/ } /** * fo_table_footer_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_table_footer_get_border_before_color (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_before_color; } /** * fo_table_footer_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_table_footer_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_table_footer->border_before_color != NULL) { g_object_unref (fo_table_footer->border_before_color); } fo_table_footer->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_table_footer), "border-before-color");*/ } /** * fo_table_footer_get_border_before_precedence: * @fo_fo: The @FoFo object * * Gets the "border-before-precedence" property of @fo_fo * * Return value: The "border-before-precedence" property value **/ FoProperty* fo_table_footer_get_border_before_precedence (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_before_precedence; } /** * fo_table_footer_set_border_before_precedence: * @fo_fo: The #FoFo object * @new_border_before_precedence: The new "border-before-precedence" property value * * Sets the "border-before-precedence" property of @fo_fo to @new_border_before_precedence **/ void fo_table_footer_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE (new_border_before_precedence)); if (new_border_before_precedence != NULL) { g_object_ref (new_border_before_precedence); } if (fo_table_footer->border_before_precedence != NULL) { g_object_unref (fo_table_footer->border_before_precedence); } fo_table_footer->border_before_precedence = new_border_before_precedence; /*g_object_notify (G_OBJECT (fo_table_footer), "border-before-precedence");*/ } /** * fo_table_footer_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_table_footer_get_border_before_style (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_before_style; } /** * fo_table_footer_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_table_footer_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_table_footer->border_before_style != NULL) { g_object_unref (fo_table_footer->border_before_style); } fo_table_footer->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_table_footer), "border-before-style");*/ } /** * fo_table_footer_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_table_footer_get_border_before_width (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_before_width; } /** * fo_table_footer_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_table_footer_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_table_footer->border_before_width != NULL) { g_object_unref (fo_table_footer->border_before_width); } fo_table_footer->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_table_footer), "border-before-width");*/ } /** * fo_table_footer_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_table_footer_get_border_bottom_color (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_bottom_color; } /** * fo_table_footer_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_table_footer_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_table_footer->border_bottom_color != NULL) { g_object_unref (fo_table_footer->border_bottom_color); } fo_table_footer->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_table_footer), "border-bottom-color");*/ } /** * fo_table_footer_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_table_footer_get_border_bottom_style (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_bottom_style; } /** * fo_table_footer_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_table_footer_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_table_footer->border_bottom_style != NULL) { g_object_unref (fo_table_footer->border_bottom_style); } fo_table_footer->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_table_footer), "border-bottom-style");*/ } /** * fo_table_footer_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_table_footer_get_border_bottom_width (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_bottom_width; } /** * fo_table_footer_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_table_footer_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_table_footer->border_bottom_width != NULL) { g_object_unref (fo_table_footer->border_bottom_width); } fo_table_footer->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_table_footer), "border-bottom-width");*/ } /** * fo_table_footer_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_table_footer_get_border_end_color (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_end_color; } /** * fo_table_footer_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_table_footer_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_table_footer->border_end_color != NULL) { g_object_unref (fo_table_footer->border_end_color); } fo_table_footer->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_table_footer), "border-end-color");*/ } /** * fo_table_footer_get_border_end_precedence: * @fo_fo: The @FoFo object * * Gets the "border-end-precedence" property of @fo_fo * * Return value: The "border-end-precedence" property value **/ FoProperty* fo_table_footer_get_border_end_precedence (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_end_precedence; } /** * fo_table_footer_set_border_end_precedence: * @fo_fo: The #FoFo object * @new_border_end_precedence: The new "border-end-precedence" property value * * Sets the "border-end-precedence" property of @fo_fo to @new_border_end_precedence **/ void fo_table_footer_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_PRECEDENCE (new_border_end_precedence)); if (new_border_end_precedence != NULL) { g_object_ref (new_border_end_precedence); } if (fo_table_footer->border_end_precedence != NULL) { g_object_unref (fo_table_footer->border_end_precedence); } fo_table_footer->border_end_precedence = new_border_end_precedence; /*g_object_notify (G_OBJECT (fo_table_footer), "border-end-precedence");*/ } /** * fo_table_footer_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_table_footer_get_border_end_style (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_end_style; } /** * fo_table_footer_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_table_footer_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_table_footer->border_end_style != NULL) { g_object_unref (fo_table_footer->border_end_style); } fo_table_footer->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_table_footer), "border-end-style");*/ } /** * fo_table_footer_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_table_footer_get_border_end_width (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_end_width; } /** * fo_table_footer_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_table_footer_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_table_footer->border_end_width != NULL) { g_object_unref (fo_table_footer->border_end_width); } fo_table_footer->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_table_footer), "border-end-width");*/ } /** * fo_table_footer_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_table_footer_get_border_left_color (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_left_color; } /** * fo_table_footer_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_table_footer_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_table_footer->border_left_color != NULL) { g_object_unref (fo_table_footer->border_left_color); } fo_table_footer->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_table_footer), "border-left-color");*/ } /** * fo_table_footer_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_table_footer_get_border_left_style (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_left_style; } /** * fo_table_footer_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_table_footer_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_table_footer->border_left_style != NULL) { g_object_unref (fo_table_footer->border_left_style); } fo_table_footer->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_table_footer), "border-left-style");*/ } /** * fo_table_footer_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_table_footer_get_border_left_width (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_left_width; } /** * fo_table_footer_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_table_footer_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_table_footer->border_left_width != NULL) { g_object_unref (fo_table_footer->border_left_width); } fo_table_footer->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_table_footer), "border-left-width");*/ } /** * fo_table_footer_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_table_footer_get_border_right_color (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_right_color; } /** * fo_table_footer_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_table_footer_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_table_footer->border_right_color != NULL) { g_object_unref (fo_table_footer->border_right_color); } fo_table_footer->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_table_footer), "border-right-color");*/ } /** * fo_table_footer_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_table_footer_get_border_right_style (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_right_style; } /** * fo_table_footer_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_table_footer_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_table_footer->border_right_style != NULL) { g_object_unref (fo_table_footer->border_right_style); } fo_table_footer->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_table_footer), "border-right-style");*/ } /** * fo_table_footer_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_table_footer_get_border_right_width (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_right_width; } /** * fo_table_footer_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_table_footer_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_table_footer->border_right_width != NULL) { g_object_unref (fo_table_footer->border_right_width); } fo_table_footer->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_table_footer), "border-right-width");*/ } /** * fo_table_footer_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_table_footer_get_border_start_color (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_start_color; } /** * fo_table_footer_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_table_footer_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_table_footer->border_start_color != NULL) { g_object_unref (fo_table_footer->border_start_color); } fo_table_footer->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_table_footer), "border-start-color");*/ } /** * fo_table_footer_get_border_start_precedence: * @fo_fo: The @FoFo object * * Gets the "border-start-precedence" property of @fo_fo * * Return value: The "border-start-precedence" property value **/ FoProperty* fo_table_footer_get_border_start_precedence (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_start_precedence; } /** * fo_table_footer_set_border_start_precedence: * @fo_fo: The #FoFo object * @new_border_start_precedence: The new "border-start-precedence" property value * * Sets the "border-start-precedence" property of @fo_fo to @new_border_start_precedence **/ void fo_table_footer_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_PRECEDENCE (new_border_start_precedence)); if (new_border_start_precedence != NULL) { g_object_ref (new_border_start_precedence); } if (fo_table_footer->border_start_precedence != NULL) { g_object_unref (fo_table_footer->border_start_precedence); } fo_table_footer->border_start_precedence = new_border_start_precedence; /*g_object_notify (G_OBJECT (fo_table_footer), "border-start-precedence");*/ } /** * fo_table_footer_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_table_footer_get_border_start_style (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_start_style; } /** * fo_table_footer_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_table_footer_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_table_footer->border_start_style != NULL) { g_object_unref (fo_table_footer->border_start_style); } fo_table_footer->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_table_footer), "border-start-style");*/ } /** * fo_table_footer_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_table_footer_get_border_start_width (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_start_width; } /** * fo_table_footer_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_table_footer_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_table_footer->border_start_width != NULL) { g_object_unref (fo_table_footer->border_start_width); } fo_table_footer->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_table_footer), "border-start-width");*/ } /** * fo_table_footer_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_table_footer_get_border_top_color (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_top_color; } /** * fo_table_footer_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_table_footer_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_table_footer->border_top_color != NULL) { g_object_unref (fo_table_footer->border_top_color); } fo_table_footer->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_table_footer), "border-top-color");*/ } /** * fo_table_footer_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_table_footer_get_border_top_style (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_top_style; } /** * fo_table_footer_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_table_footer_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_table_footer->border_top_style != NULL) { g_object_unref (fo_table_footer->border_top_style); } fo_table_footer->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_table_footer), "border-top-style");*/ } /** * fo_table_footer_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_table_footer_get_border_top_width (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->border_top_width; } /** * fo_table_footer_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_table_footer_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_table_footer->border_top_width != NULL) { g_object_unref (fo_table_footer->border_top_width); } fo_table_footer->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_table_footer), "border-top-width");*/ } /** * fo_table_footer_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_table_footer_get_id (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->id; } /** * fo_table_footer_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_table_footer_set_id (FoFo *fo_fo, FoProperty *new_id) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_table_footer->id != NULL) { g_object_unref (fo_table_footer->id); } fo_table_footer->id = new_id; /*g_object_notify (G_OBJECT (fo_table_footer), "id");*/ } /** * fo_table_footer_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_table_footer_get_padding_after (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->padding_after; } /** * fo_table_footer_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_table_footer_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_table_footer->padding_after != NULL) { g_object_unref (fo_table_footer->padding_after); } fo_table_footer->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_table_footer), "padding-after");*/ } /** * fo_table_footer_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_table_footer_get_padding_before (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->padding_before; } /** * fo_table_footer_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_table_footer_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_table_footer->padding_before != NULL) { g_object_unref (fo_table_footer->padding_before); } fo_table_footer->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_table_footer), "padding-before");*/ } /** * fo_table_footer_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_table_footer_get_padding_bottom (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->padding_bottom; } /** * fo_table_footer_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_table_footer_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_table_footer->padding_bottom != NULL) { g_object_unref (fo_table_footer->padding_bottom); } fo_table_footer->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_table_footer), "padding-bottom");*/ } /** * fo_table_footer_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_table_footer_get_padding_end (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->padding_end; } /** * fo_table_footer_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_table_footer_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_table_footer->padding_end != NULL) { g_object_unref (fo_table_footer->padding_end); } fo_table_footer->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_table_footer), "padding-end");*/ } /** * fo_table_footer_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_table_footer_get_padding_left (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->padding_left; } /** * fo_table_footer_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_table_footer_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_table_footer->padding_left != NULL) { g_object_unref (fo_table_footer->padding_left); } fo_table_footer->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_table_footer), "padding-left");*/ } /** * fo_table_footer_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_table_footer_get_padding_right (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->padding_right; } /** * fo_table_footer_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_table_footer_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_table_footer->padding_right != NULL) { g_object_unref (fo_table_footer->padding_right); } fo_table_footer->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_table_footer), "padding-right");*/ } /** * fo_table_footer_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_table_footer_get_padding_start (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->padding_start; } /** * fo_table_footer_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_table_footer_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_table_footer->padding_start != NULL) { g_object_unref (fo_table_footer->padding_start); } fo_table_footer->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_table_footer), "padding-start");*/ } /** * fo_table_footer_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_table_footer_get_padding_top (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->padding_top; } /** * fo_table_footer_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_table_footer_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_table_footer->padding_top != NULL) { g_object_unref (fo_table_footer->padding_top); } fo_table_footer->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_table_footer), "padding-top");*/ } /** * fo_table_footer_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_table_footer_get_role (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->role; } /** * fo_table_footer_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_table_footer_set_role (FoFo *fo_fo, FoProperty *new_role) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_table_footer->role != NULL) { g_object_unref (fo_table_footer->role); } fo_table_footer->role = new_role; /*g_object_notify (G_OBJECT (fo_table_footer), "role");*/ } /** * fo_table_footer_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_table_footer_get_source_document (FoFo *fo_fo) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_val_if_fail (fo_table_footer != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer), NULL); return fo_table_footer->source_document; } /** * fo_table_footer_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_table_footer_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoTableFooter *fo_table_footer = (FoTableFooter *) fo_fo; g_return_if_fail (fo_table_footer != NULL); g_return_if_fail (FO_IS_TABLE_FOOTER (fo_table_footer)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_table_footer->source_document != NULL) { g_object_unref (fo_table_footer->source_document); } fo_table_footer->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_table_footer), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-table-footer.h0000644000175000017500000002453610643167376015001 00000000000000/* Fo * fo-table_footer.h: 'table-footer' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_FOOTER_H__ #define __FO_TABLE_FOOTER_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoTableFooter FoTableFooter; typedef struct _FoTableFooterClass FoTableFooterClass; #define FO_TYPE_TABLE_FOOTER (fo_table_footer_get_type ()) #define FO_TABLE_FOOTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_FOOTER, FoTableFooter)) #define FO_TABLE_FOOTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_FOOTER, FoTableFooterClass)) #define FO_IS_TABLE_FOOTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_FOOTER)) #define FO_IS_TABLE_FOOTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_FOOTER)) #define FO_TABLE_FOOTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_FOOTER, FoTableFooterClass)) GType fo_table_footer_get_type (void) G_GNUC_CONST; FoFo * fo_table_footer_new (void); FoProperty * fo_table_footer_get_background_color (FoFo *fo_fo); void fo_table_footer_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_table_footer_get_background_image (FoFo *fo_fo); void fo_table_footer_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_table_footer_get_border_after_color (FoFo *fo_fo); void fo_table_footer_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_table_footer_get_border_after_precedence (FoFo *fo_fo); void fo_table_footer_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty * fo_table_footer_get_border_after_style (FoFo *fo_fo); void fo_table_footer_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_table_footer_get_border_after_width (FoFo *fo_fo); void fo_table_footer_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_table_footer_get_border_before_color (FoFo *fo_fo); void fo_table_footer_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_table_footer_get_border_before_precedence (FoFo *fo_fo); void fo_table_footer_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty * fo_table_footer_get_border_before_style (FoFo *fo_fo); void fo_table_footer_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_table_footer_get_border_before_width (FoFo *fo_fo); void fo_table_footer_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_table_footer_get_border_bottom_color (FoFo *fo_fo); void fo_table_footer_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_table_footer_get_border_bottom_style (FoFo *fo_fo); void fo_table_footer_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_table_footer_get_border_bottom_width (FoFo *fo_fo); void fo_table_footer_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_table_footer_get_border_end_color (FoFo *fo_fo); void fo_table_footer_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_table_footer_get_border_end_precedence (FoFo *fo_fo); void fo_table_footer_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty * fo_table_footer_get_border_end_style (FoFo *fo_fo); void fo_table_footer_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_table_footer_get_border_end_width (FoFo *fo_fo); void fo_table_footer_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_table_footer_get_border_left_color (FoFo *fo_fo); void fo_table_footer_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_table_footer_get_border_left_style (FoFo *fo_fo); void fo_table_footer_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_table_footer_get_border_left_width (FoFo *fo_fo); void fo_table_footer_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_table_footer_get_border_right_color (FoFo *fo_fo); void fo_table_footer_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_table_footer_get_border_right_style (FoFo *fo_fo); void fo_table_footer_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_table_footer_get_border_right_width (FoFo *fo_fo); void fo_table_footer_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_table_footer_get_border_start_color (FoFo *fo_fo); void fo_table_footer_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_table_footer_get_border_start_precedence (FoFo *fo_fo); void fo_table_footer_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty * fo_table_footer_get_border_start_style (FoFo *fo_fo); void fo_table_footer_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_table_footer_get_border_start_width (FoFo *fo_fo); void fo_table_footer_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_table_footer_get_border_top_color (FoFo *fo_fo); void fo_table_footer_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_table_footer_get_border_top_style (FoFo *fo_fo); void fo_table_footer_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_table_footer_get_border_top_width (FoFo *fo_fo); void fo_table_footer_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_table_footer_get_id (FoFo *fo_fo); void fo_table_footer_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_table_footer_get_padding_after (FoFo *fo_fo); void fo_table_footer_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_table_footer_get_padding_before (FoFo *fo_fo); void fo_table_footer_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_table_footer_get_padding_bottom (FoFo *fo_fo); void fo_table_footer_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_table_footer_get_padding_end (FoFo *fo_fo); void fo_table_footer_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_table_footer_get_padding_left (FoFo *fo_fo); void fo_table_footer_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_table_footer_get_padding_right (FoFo *fo_fo); void fo_table_footer_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_table_footer_get_padding_start (FoFo *fo_fo); void fo_table_footer_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_table_footer_get_padding_top (FoFo *fo_fo); void fo_table_footer_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_table_footer_get_role (FoFo *fo_fo); void fo_table_footer_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_table_footer_get_source_document (FoFo *fo_fo); void fo_table_footer_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_TABLE_FOOTER_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-footer-private.h0000644000175000017500000000364510643167376016447 00000000000000/* Fo * fo-table-footer-private.h: Structures private to 'table-footer' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_FOOTER_PRIVATE_H__ #define __FO_TABLE_FOOTER_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoTableFooter { FoTablePart parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_precedence; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_precedence; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_precedence; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_precedence; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *id; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; }; struct _FoTableFooterClass { FoTablePartClass parent_class; }; G_END_DECLS #endif /* !__FO_TABLE_FOOTER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-header.c0000644000175000017500000027737710660107745014734 00000000000000/* Fo * fo-table-header.c: 'table-header' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-table-border-fo-private.h" #include "fo/fo-table.h" #include "fo/fo-table-header-private.h" #include "fo/fo-table-header-area.h" #include "fo/fo-table-column.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-precedence.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-precedence.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-precedence.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-precedence.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-id.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_PRECEDENCE, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_PRECEDENCE, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_PRECEDENCE, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_PRECEDENCE, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_ID, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_table_header_class_init (FoTableHeaderClass *klass); static void fo_table_header_table_border_fo_init (FoTableBorderFoIface *iface); static void fo_table_header_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_table_header_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_table_header_finalize (GObject *object); static void fo_table_header_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_table_header_update_from_context (FoFo *fo, FoContext *context); static void fo_table_header_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_table_header_get_type: * * Register the #FoTableHeader object type. * * Return value: #GType value of the #FoTableHeader object type. **/ GType fo_table_header_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTableHeaderClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_table_header_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTableHeader), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_table_border_fo_info = { (GInterfaceInitFunc) fo_table_header_table_border_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_TABLE_PART, "FoTableHeader", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_TABLE_BORDER_FO, &fo_table_border_fo_info); } return object_type; } /** * fo_table_header_class_init: * @klass: #FoTableHeaderClass object to initialise. * * Implements #GClassInitFunc for #FoTableHeaderClass. **/ void fo_table_header_class_init (FoTableHeaderClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_header_finalize; object_class->get_property = fo_table_header_get_property; object_class->set_property = fo_table_header_set_property; fofo_class->validate_content = fo_table_validate_content_table_row_table_cell; fofo_class->validate2 = fo_table_header_validate; fofo_class->update_from_context = fo_table_header_update_from_context; fofo_class->debug_dump_properties = fo_table_header_debug_dump_properties; fofo_class->area_new2 = fo_table_header_area_new2; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_PRECEDENCE, g_param_spec_object ("border-after-precedence", _("Border After Precedence"), _("Border After Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_PRECEDENCE, g_param_spec_object ("border-before-precedence", _("Border Before Precedence"), _("Border Before Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_PRECEDENCE, g_param_spec_object ("border-end-precedence", _("Border End Precedence"), _("Border End Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_PRECEDENCE, g_param_spec_object ("border-start-precedence", _("Border Start Precedence"), _("Border Start Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_table_header_table_border_fo_init: * @iface: #FoTableBorderFoIFace structure for this class. * * Initialize #FoTableBorderFoIface interface for this class. **/ void fo_table_header_table_border_fo_init (FoTableBorderFoIface *iface) { iface->get_background_color = fo_table_header_get_background_color; iface->get_border_after_color = fo_table_header_get_border_after_color; iface->get_border_after_precedence = fo_table_header_get_border_after_precedence; iface->get_border_after_style = fo_table_header_get_border_after_style; iface->get_border_after_width = fo_table_header_get_border_after_width; iface->get_border_before_color = fo_table_header_get_border_before_color; iface->get_border_before_precedence = fo_table_header_get_border_before_precedence; iface->get_border_before_style = fo_table_header_get_border_before_style; iface->get_border_before_width = fo_table_header_get_border_before_width; iface->get_border_end_color = fo_table_header_get_border_end_color; iface->get_border_end_precedence = fo_table_header_get_border_end_precedence; iface->get_border_end_style = fo_table_header_get_border_end_style; iface->get_border_end_width = fo_table_header_get_border_end_width; iface->get_border_start_color = fo_table_header_get_border_start_color; iface->get_border_start_precedence = fo_table_header_get_border_start_precedence; iface->get_border_start_style = fo_table_header_get_border_start_style; iface->get_border_start_width = fo_table_header_get_border_start_width; } /** * fo_table_header_finalize: * @object: #FoTableHeader object to finalize. * * Implements #GObjectFinalizeFunc for #FoTableHeader. **/ void fo_table_header_finalize (GObject *object) { FoTableHeader *fo_table_header; fo_table_header = FO_TABLE_HEADER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_header_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTableHeader. **/ void fo_table_header_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_table_header_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_table_header_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_after_precedence (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_before_precedence (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_end_precedence (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_start_precedence (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_header_get_border_top_width (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_table_header_get_id (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_table_header_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_header_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_header_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_table_header_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_table_header_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_header_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_table_header_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_table_header_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_table_header_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_table_header_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_header_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTableHeader. **/ void fo_table_header_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_table_header_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_table_header_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_table_header_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_PRECEDENCE: fo_table_header_set_border_after_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_table_header_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_table_header_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_table_header_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_PRECEDENCE: fo_table_header_set_border_before_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_table_header_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_table_header_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_table_header_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_table_header_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_table_header_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_table_header_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_PRECEDENCE: fo_table_header_set_border_end_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_table_header_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_table_header_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_table_header_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_table_header_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_table_header_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_table_header_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_table_header_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_table_header_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_table_header_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_PRECEDENCE: fo_table_header_set_border_start_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_table_header_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_table_header_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_table_header_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_table_header_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_table_header_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_table_header_set_id (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_table_header_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_table_header_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_table_header_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_table_header_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_table_header_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_table_header_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_table_header_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_table_header_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_table_header_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_table_header_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_header_new: * * Creates a new #FoTableHeader initialized to default value. * * Return value: the new #FoTableHeader. **/ FoFo* fo_table_header_new (void) { return FO_FO (g_object_new (fo_table_header_get_type (), NULL)); } /** * fo_table_header_validate: * @fo: #FoTableHeader object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_table_header_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { GError *tmp_error = NULL; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); if ((fo_node_prev_sibling (FO_NODE (fo)) && FO_IS_TABLE_COLUMN (FO_FO (fo_node_prev_sibling (FO_NODE (fo))))) || !fo_node_prev_sibling (FO_NODE (fo))) { fo_table_resolve_columns (FO_FO (fo_node_parent (FO_NODE (fo))), &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return; } } fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_table_header_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_header_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_table_header_set_background_color (fo, fo_context_get_background_color (context)); fo_table_header_set_background_image (fo, fo_context_get_background_image (context)); fo_table_header_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_table_header_set_border_after_precedence (fo, fo_context_get_border_after_precedence (context)); fo_table_header_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_table_header_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_table_header_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_table_header_set_border_before_precedence (fo, fo_context_get_border_before_precedence (context)); fo_table_header_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_table_header_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_table_header_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_table_header_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_table_header_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_table_header_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_table_header_set_border_end_precedence (fo, fo_context_get_border_end_precedence (context)); fo_table_header_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_table_header_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_table_header_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_table_header_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_table_header_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_table_header_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_table_header_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_table_header_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_table_header_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_table_header_set_border_start_precedence (fo, fo_context_get_border_start_precedence (context)); fo_table_header_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_table_header_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_table_header_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_table_header_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_table_header_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_table_header_set_id (fo, fo_context_get_id (context)); fo_table_header_set_padding_after (fo, fo_context_get_padding_after (context)); fo_table_header_set_padding_before (fo, fo_context_get_padding_before (context)); fo_table_header_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_table_header_set_padding_end (fo, fo_context_get_padding_end (context)); fo_table_header_set_padding_left (fo, fo_context_get_padding_left (context)); fo_table_header_set_padding_right (fo, fo_context_get_padding_right (context)); fo_table_header_set_padding_start (fo, fo_context_get_padding_start (context)); fo_table_header_set_padding_top (fo, fo_context_get_padding_top (context)); fo_table_header_set_role (fo, fo_context_get_role (context)); fo_table_header_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_table_header_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_table_header_debug_dump_properties (FoFo *fo, gint depth) { FoTableHeader *fo_table_header; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo)); fo_table_header = FO_TABLE_HEADER (fo); fo_object_debug_dump (fo_table_header->background_color, depth); fo_object_debug_dump (fo_table_header->background_image, depth); fo_object_debug_dump (fo_table_header->border_after_color, depth); fo_object_debug_dump (fo_table_header->border_after_precedence, depth); fo_object_debug_dump (fo_table_header->border_after_style, depth); fo_object_debug_dump (fo_table_header->border_after_width, depth); fo_object_debug_dump (fo_table_header->border_before_color, depth); fo_object_debug_dump (fo_table_header->border_before_precedence, depth); fo_object_debug_dump (fo_table_header->border_before_style, depth); fo_object_debug_dump (fo_table_header->border_before_width, depth); fo_object_debug_dump (fo_table_header->border_bottom_color, depth); fo_object_debug_dump (fo_table_header->border_bottom_style, depth); fo_object_debug_dump (fo_table_header->border_bottom_width, depth); fo_object_debug_dump (fo_table_header->border_end_color, depth); fo_object_debug_dump (fo_table_header->border_end_precedence, depth); fo_object_debug_dump (fo_table_header->border_end_style, depth); fo_object_debug_dump (fo_table_header->border_end_width, depth); fo_object_debug_dump (fo_table_header->border_left_color, depth); fo_object_debug_dump (fo_table_header->border_left_style, depth); fo_object_debug_dump (fo_table_header->border_left_width, depth); fo_object_debug_dump (fo_table_header->border_right_color, depth); fo_object_debug_dump (fo_table_header->border_right_style, depth); fo_object_debug_dump (fo_table_header->border_right_width, depth); fo_object_debug_dump (fo_table_header->border_start_color, depth); fo_object_debug_dump (fo_table_header->border_start_precedence, depth); fo_object_debug_dump (fo_table_header->border_start_style, depth); fo_object_debug_dump (fo_table_header->border_start_width, depth); fo_object_debug_dump (fo_table_header->border_top_color, depth); fo_object_debug_dump (fo_table_header->border_top_style, depth); fo_object_debug_dump (fo_table_header->border_top_width, depth); fo_object_debug_dump (fo_table_header->id, depth); fo_object_debug_dump (fo_table_header->padding_after, depth); fo_object_debug_dump (fo_table_header->padding_before, depth); fo_object_debug_dump (fo_table_header->padding_bottom, depth); fo_object_debug_dump (fo_table_header->padding_end, depth); fo_object_debug_dump (fo_table_header->padding_left, depth); fo_object_debug_dump (fo_table_header->padding_right, depth); fo_object_debug_dump (fo_table_header->padding_start, depth); fo_object_debug_dump (fo_table_header->padding_top, depth); fo_object_debug_dump (fo_table_header->role, depth); fo_object_debug_dump (fo_table_header->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_table_header_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_table_header_get_background_color (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->background_color; } /** * fo_table_header_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_table_header_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_table_header->background_color != NULL) { g_object_unref (fo_table_header->background_color); } fo_table_header->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_table_header), "background-color");*/ } /** * fo_table_header_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_table_header_get_background_image (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->background_image; } /** * fo_table_header_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_table_header_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_table_header->background_image != NULL) { g_object_unref (fo_table_header->background_image); } fo_table_header->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_table_header), "background-image");*/ } /** * fo_table_header_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_table_header_get_border_after_color (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_after_color; } /** * fo_table_header_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_table_header_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_table_header->border_after_color != NULL) { g_object_unref (fo_table_header->border_after_color); } fo_table_header->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_table_header), "border-after-color");*/ } /** * fo_table_header_get_border_after_precedence: * @fo_fo: The @FoFo object * * Gets the "border-after-precedence" property of @fo_fo * * Return value: The "border-after-precedence" property value **/ FoProperty* fo_table_header_get_border_after_precedence (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_after_precedence; } /** * fo_table_header_set_border_after_precedence: * @fo_fo: The #FoFo object * @new_border_after_precedence: The new "border-after-precedence" property value * * Sets the "border-after-precedence" property of @fo_fo to @new_border_after_precedence **/ void fo_table_header_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE (new_border_after_precedence)); if (new_border_after_precedence != NULL) { g_object_ref (new_border_after_precedence); } if (fo_table_header->border_after_precedence != NULL) { g_object_unref (fo_table_header->border_after_precedence); } fo_table_header->border_after_precedence = new_border_after_precedence; /*g_object_notify (G_OBJECT (fo_table_header), "border-after-precedence");*/ } /** * fo_table_header_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_table_header_get_border_after_style (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_after_style; } /** * fo_table_header_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_table_header_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_table_header->border_after_style != NULL) { g_object_unref (fo_table_header->border_after_style); } fo_table_header->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_table_header), "border-after-style");*/ } /** * fo_table_header_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_table_header_get_border_after_width (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_after_width; } /** * fo_table_header_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_table_header_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_table_header->border_after_width != NULL) { g_object_unref (fo_table_header->border_after_width); } fo_table_header->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_table_header), "border-after-width");*/ } /** * fo_table_header_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_table_header_get_border_before_color (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_before_color; } /** * fo_table_header_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_table_header_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_table_header->border_before_color != NULL) { g_object_unref (fo_table_header->border_before_color); } fo_table_header->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_table_header), "border-before-color");*/ } /** * fo_table_header_get_border_before_precedence: * @fo_fo: The @FoFo object * * Gets the "border-before-precedence" property of @fo_fo * * Return value: The "border-before-precedence" property value **/ FoProperty* fo_table_header_get_border_before_precedence (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_before_precedence; } /** * fo_table_header_set_border_before_precedence: * @fo_fo: The #FoFo object * @new_border_before_precedence: The new "border-before-precedence" property value * * Sets the "border-before-precedence" property of @fo_fo to @new_border_before_precedence **/ void fo_table_header_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE (new_border_before_precedence)); if (new_border_before_precedence != NULL) { g_object_ref (new_border_before_precedence); } if (fo_table_header->border_before_precedence != NULL) { g_object_unref (fo_table_header->border_before_precedence); } fo_table_header->border_before_precedence = new_border_before_precedence; /*g_object_notify (G_OBJECT (fo_table_header), "border-before-precedence");*/ } /** * fo_table_header_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_table_header_get_border_before_style (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_before_style; } /** * fo_table_header_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_table_header_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_table_header->border_before_style != NULL) { g_object_unref (fo_table_header->border_before_style); } fo_table_header->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_table_header), "border-before-style");*/ } /** * fo_table_header_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_table_header_get_border_before_width (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_before_width; } /** * fo_table_header_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_table_header_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_table_header->border_before_width != NULL) { g_object_unref (fo_table_header->border_before_width); } fo_table_header->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_table_header), "border-before-width");*/ } /** * fo_table_header_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_table_header_get_border_bottom_color (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_bottom_color; } /** * fo_table_header_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_table_header_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_table_header->border_bottom_color != NULL) { g_object_unref (fo_table_header->border_bottom_color); } fo_table_header->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_table_header), "border-bottom-color");*/ } /** * fo_table_header_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_table_header_get_border_bottom_style (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_bottom_style; } /** * fo_table_header_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_table_header_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_table_header->border_bottom_style != NULL) { g_object_unref (fo_table_header->border_bottom_style); } fo_table_header->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_table_header), "border-bottom-style");*/ } /** * fo_table_header_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_table_header_get_border_bottom_width (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_bottom_width; } /** * fo_table_header_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_table_header_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_table_header->border_bottom_width != NULL) { g_object_unref (fo_table_header->border_bottom_width); } fo_table_header->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_table_header), "border-bottom-width");*/ } /** * fo_table_header_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_table_header_get_border_end_color (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_end_color; } /** * fo_table_header_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_table_header_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_table_header->border_end_color != NULL) { g_object_unref (fo_table_header->border_end_color); } fo_table_header->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_table_header), "border-end-color");*/ } /** * fo_table_header_get_border_end_precedence: * @fo_fo: The @FoFo object * * Gets the "border-end-precedence" property of @fo_fo * * Return value: The "border-end-precedence" property value **/ FoProperty* fo_table_header_get_border_end_precedence (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_end_precedence; } /** * fo_table_header_set_border_end_precedence: * @fo_fo: The #FoFo object * @new_border_end_precedence: The new "border-end-precedence" property value * * Sets the "border-end-precedence" property of @fo_fo to @new_border_end_precedence **/ void fo_table_header_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_PRECEDENCE (new_border_end_precedence)); if (new_border_end_precedence != NULL) { g_object_ref (new_border_end_precedence); } if (fo_table_header->border_end_precedence != NULL) { g_object_unref (fo_table_header->border_end_precedence); } fo_table_header->border_end_precedence = new_border_end_precedence; /*g_object_notify (G_OBJECT (fo_table_header), "border-end-precedence");*/ } /** * fo_table_header_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_table_header_get_border_end_style (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_end_style; } /** * fo_table_header_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_table_header_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_table_header->border_end_style != NULL) { g_object_unref (fo_table_header->border_end_style); } fo_table_header->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_table_header), "border-end-style");*/ } /** * fo_table_header_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_table_header_get_border_end_width (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_end_width; } /** * fo_table_header_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_table_header_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_table_header->border_end_width != NULL) { g_object_unref (fo_table_header->border_end_width); } fo_table_header->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_table_header), "border-end-width");*/ } /** * fo_table_header_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_table_header_get_border_left_color (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_left_color; } /** * fo_table_header_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_table_header_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_table_header->border_left_color != NULL) { g_object_unref (fo_table_header->border_left_color); } fo_table_header->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_table_header), "border-left-color");*/ } /** * fo_table_header_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_table_header_get_border_left_style (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_left_style; } /** * fo_table_header_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_table_header_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_table_header->border_left_style != NULL) { g_object_unref (fo_table_header->border_left_style); } fo_table_header->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_table_header), "border-left-style");*/ } /** * fo_table_header_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_table_header_get_border_left_width (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_left_width; } /** * fo_table_header_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_table_header_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_table_header->border_left_width != NULL) { g_object_unref (fo_table_header->border_left_width); } fo_table_header->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_table_header), "border-left-width");*/ } /** * fo_table_header_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_table_header_get_border_right_color (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_right_color; } /** * fo_table_header_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_table_header_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_table_header->border_right_color != NULL) { g_object_unref (fo_table_header->border_right_color); } fo_table_header->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_table_header), "border-right-color");*/ } /** * fo_table_header_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_table_header_get_border_right_style (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_right_style; } /** * fo_table_header_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_table_header_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_table_header->border_right_style != NULL) { g_object_unref (fo_table_header->border_right_style); } fo_table_header->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_table_header), "border-right-style");*/ } /** * fo_table_header_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_table_header_get_border_right_width (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_right_width; } /** * fo_table_header_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_table_header_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_table_header->border_right_width != NULL) { g_object_unref (fo_table_header->border_right_width); } fo_table_header->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_table_header), "border-right-width");*/ } /** * fo_table_header_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_table_header_get_border_start_color (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_start_color; } /** * fo_table_header_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_table_header_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_table_header->border_start_color != NULL) { g_object_unref (fo_table_header->border_start_color); } fo_table_header->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_table_header), "border-start-color");*/ } /** * fo_table_header_get_border_start_precedence: * @fo_fo: The @FoFo object * * Gets the "border-start-precedence" property of @fo_fo * * Return value: The "border-start-precedence" property value **/ FoProperty* fo_table_header_get_border_start_precedence (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_start_precedence; } /** * fo_table_header_set_border_start_precedence: * @fo_fo: The #FoFo object * @new_border_start_precedence: The new "border-start-precedence" property value * * Sets the "border-start-precedence" property of @fo_fo to @new_border_start_precedence **/ void fo_table_header_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_PRECEDENCE (new_border_start_precedence)); if (new_border_start_precedence != NULL) { g_object_ref (new_border_start_precedence); } if (fo_table_header->border_start_precedence != NULL) { g_object_unref (fo_table_header->border_start_precedence); } fo_table_header->border_start_precedence = new_border_start_precedence; /*g_object_notify (G_OBJECT (fo_table_header), "border-start-precedence");*/ } /** * fo_table_header_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_table_header_get_border_start_style (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_start_style; } /** * fo_table_header_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_table_header_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_table_header->border_start_style != NULL) { g_object_unref (fo_table_header->border_start_style); } fo_table_header->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_table_header), "border-start-style");*/ } /** * fo_table_header_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_table_header_get_border_start_width (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_start_width; } /** * fo_table_header_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_table_header_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_table_header->border_start_width != NULL) { g_object_unref (fo_table_header->border_start_width); } fo_table_header->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_table_header), "border-start-width");*/ } /** * fo_table_header_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_table_header_get_border_top_color (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_top_color; } /** * fo_table_header_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_table_header_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_table_header->border_top_color != NULL) { g_object_unref (fo_table_header->border_top_color); } fo_table_header->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_table_header), "border-top-color");*/ } /** * fo_table_header_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_table_header_get_border_top_style (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_top_style; } /** * fo_table_header_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_table_header_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_table_header->border_top_style != NULL) { g_object_unref (fo_table_header->border_top_style); } fo_table_header->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_table_header), "border-top-style");*/ } /** * fo_table_header_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_table_header_get_border_top_width (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->border_top_width; } /** * fo_table_header_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_table_header_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_table_header->border_top_width != NULL) { g_object_unref (fo_table_header->border_top_width); } fo_table_header->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_table_header), "border-top-width");*/ } /** * fo_table_header_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_table_header_get_id (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->id; } /** * fo_table_header_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_table_header_set_id (FoFo *fo_fo, FoProperty *new_id) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_table_header->id != NULL) { g_object_unref (fo_table_header->id); } fo_table_header->id = new_id; /*g_object_notify (G_OBJECT (fo_table_header), "id");*/ } /** * fo_table_header_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_table_header_get_padding_after (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->padding_after; } /** * fo_table_header_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_table_header_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_table_header->padding_after != NULL) { g_object_unref (fo_table_header->padding_after); } fo_table_header->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_table_header), "padding-after");*/ } /** * fo_table_header_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_table_header_get_padding_before (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->padding_before; } /** * fo_table_header_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_table_header_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_table_header->padding_before != NULL) { g_object_unref (fo_table_header->padding_before); } fo_table_header->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_table_header), "padding-before");*/ } /** * fo_table_header_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_table_header_get_padding_bottom (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->padding_bottom; } /** * fo_table_header_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_table_header_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_table_header->padding_bottom != NULL) { g_object_unref (fo_table_header->padding_bottom); } fo_table_header->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_table_header), "padding-bottom");*/ } /** * fo_table_header_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_table_header_get_padding_end (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->padding_end; } /** * fo_table_header_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_table_header_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_table_header->padding_end != NULL) { g_object_unref (fo_table_header->padding_end); } fo_table_header->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_table_header), "padding-end");*/ } /** * fo_table_header_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_table_header_get_padding_left (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->padding_left; } /** * fo_table_header_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_table_header_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_table_header->padding_left != NULL) { g_object_unref (fo_table_header->padding_left); } fo_table_header->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_table_header), "padding-left");*/ } /** * fo_table_header_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_table_header_get_padding_right (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->padding_right; } /** * fo_table_header_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_table_header_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_table_header->padding_right != NULL) { g_object_unref (fo_table_header->padding_right); } fo_table_header->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_table_header), "padding-right");*/ } /** * fo_table_header_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_table_header_get_padding_start (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->padding_start; } /** * fo_table_header_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_table_header_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_table_header->padding_start != NULL) { g_object_unref (fo_table_header->padding_start); } fo_table_header->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_table_header), "padding-start");*/ } /** * fo_table_header_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_table_header_get_padding_top (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->padding_top; } /** * fo_table_header_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_table_header_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_table_header->padding_top != NULL) { g_object_unref (fo_table_header->padding_top); } fo_table_header->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_table_header), "padding-top");*/ } /** * fo_table_header_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_table_header_get_role (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->role; } /** * fo_table_header_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_table_header_set_role (FoFo *fo_fo, FoProperty *new_role) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_table_header->role != NULL) { g_object_unref (fo_table_header->role); } fo_table_header->role = new_role; /*g_object_notify (G_OBJECT (fo_table_header), "role");*/ } /** * fo_table_header_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_table_header_get_source_document (FoFo *fo_fo) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_val_if_fail (fo_table_header != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_HEADER (fo_table_header), NULL); return fo_table_header->source_document; } /** * fo_table_header_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_table_header_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoTableHeader *fo_table_header = (FoTableHeader *) fo_fo; g_return_if_fail (fo_table_header != NULL); g_return_if_fail (FO_IS_TABLE_HEADER (fo_table_header)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_table_header->source_document != NULL) { g_object_unref (fo_table_header->source_document); } fo_table_header->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_table_header), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-table-header.h0000644000175000017500000002461010643167376014724 00000000000000/* Fo * fo-table_header.h: 'table-header' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_HEADER_H__ #define __FO_TABLE_HEADER_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoTableHeader FoTableHeader; typedef struct _FoTableHeaderClass FoTableHeaderClass; #define FO_TYPE_TABLE_HEADER (fo_table_header_get_type ()) #define FO_TABLE_HEADER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_HEADER, FoTableHeader)) #define FO_TABLE_HEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_HEADER, FoTableHeaderClass)) #define FO_IS_TABLE_HEADER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_HEADER)) #define FO_IS_TABLE_HEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_HEADER)) #define FO_TABLE_HEADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_HEADER, FoTableHeaderClass)) GType fo_table_header_get_type (void) G_GNUC_CONST; FoFo * fo_table_header_new (void); FoProperty * fo_table_header_get_background_color (FoFo *fo_fo); void fo_table_header_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_table_header_get_background_image (FoFo *fo_fo); void fo_table_header_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_table_header_get_border_after_color (FoFo *fo_fo); void fo_table_header_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_table_header_get_border_after_precedence (FoFo *fo_fo); void fo_table_header_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty * fo_table_header_get_border_after_style (FoFo *fo_fo); void fo_table_header_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_table_header_get_border_after_width (FoFo *fo_fo); void fo_table_header_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_table_header_get_border_before_color (FoFo *fo_fo); void fo_table_header_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_table_header_get_border_before_precedence (FoFo *fo_fo); void fo_table_header_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty * fo_table_header_get_border_before_style (FoFo *fo_fo); void fo_table_header_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_table_header_get_border_before_width (FoFo *fo_fo); void fo_table_header_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_table_header_get_border_bottom_color (FoFo *fo_fo); void fo_table_header_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_table_header_get_border_bottom_style (FoFo *fo_fo); void fo_table_header_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_table_header_get_border_bottom_width (FoFo *fo_fo); void fo_table_header_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_table_header_get_border_end_color (FoFo *fo_fo); void fo_table_header_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_table_header_get_border_end_precedence (FoFo *fo_fo); void fo_table_header_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty * fo_table_header_get_border_end_style (FoFo *fo_fo); void fo_table_header_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_table_header_get_border_end_width (FoFo *fo_fo); void fo_table_header_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_table_header_get_border_left_color (FoFo *fo_fo); void fo_table_header_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_table_header_get_border_left_style (FoFo *fo_fo); void fo_table_header_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_table_header_get_border_left_width (FoFo *fo_fo); void fo_table_header_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_table_header_get_border_right_color (FoFo *fo_fo); void fo_table_header_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_table_header_get_border_right_style (FoFo *fo_fo); void fo_table_header_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_table_header_get_border_right_width (FoFo *fo_fo); void fo_table_header_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_table_header_get_border_start_color (FoFo *fo_fo); void fo_table_header_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_table_header_get_border_start_precedence (FoFo *fo_fo); void fo_table_header_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty * fo_table_header_get_border_start_style (FoFo *fo_fo); void fo_table_header_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_table_header_get_border_start_width (FoFo *fo_fo); void fo_table_header_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_table_header_get_border_top_color (FoFo *fo_fo); void fo_table_header_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_table_header_get_border_top_style (FoFo *fo_fo); void fo_table_header_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_table_header_get_border_top_width (FoFo *fo_fo); void fo_table_header_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_table_header_get_id (FoFo *fo_fo); void fo_table_header_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_table_header_get_padding_after (FoFo *fo_fo); void fo_table_header_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_table_header_get_padding_before (FoFo *fo_fo); void fo_table_header_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_table_header_get_padding_bottom (FoFo *fo_fo); void fo_table_header_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_table_header_get_padding_end (FoFo *fo_fo); void fo_table_header_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_table_header_get_padding_left (FoFo *fo_fo); void fo_table_header_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_table_header_get_padding_right (FoFo *fo_fo); void fo_table_header_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_table_header_get_padding_start (FoFo *fo_fo); void fo_table_header_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_table_header_get_padding_top (FoFo *fo_fo); void fo_table_header_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_table_header_get_role (FoFo *fo_fo); void fo_table_header_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_table_header_get_source_document (FoFo *fo_fo); void fo_table_header_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_TABLE_HEADER_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-header-private.h0000644000175000017500000000364510643167375016400 00000000000000/* Fo * fo-table-header-private.h: Structures private to 'table-header' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_HEADER_PRIVATE_H__ #define __FO_TABLE_HEADER_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoTableHeader { FoTablePart parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_precedence; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_precedence; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_precedence; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_precedence; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *id; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; }; struct _FoTableHeaderClass { FoTablePartClass parent_class; }; G_END_DECLS #endif /* !__FO_TABLE_HEADER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-part.c0000644000175000017500000002136310762056737014437 00000000000000/* Fo * fo-table-part.c: Table header/footer/body formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-table-part.h" #include "fo-table.h" #include "fo-table-part-private.h" #include "fo-table-row.h" enum { PROP_0 }; static void fo_table_part_base_class_init (FoTablePartClass *klass); static void fo_table_part_class_init (FoTablePartClass *klass); static void fo_table_part_finalize (GObject *object); static void fo_table_part_debug_dump_properties (FoFo *fo, gint depth); static void fo_table_part_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error); static gpointer parent_class; GType fo_table_part_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTablePartClass), (GBaseInitFunc) fo_table_part_base_class_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_table_part_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTablePart), 0, /* n_preallocs */ NULL, /* instance_init */ NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoTablePart", &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_table_part_base_class_init: * @klass: #FoTablePartClass base class object to initialise * * Implements #GBaseInitFunc for #FoTablePart **/ void fo_table_part_base_class_init (FoTablePartClass *klass) { FoFoClass *fo_fo_class = FO_FO_CLASS (klass); fo_fo_class->children_properties_resolve = fo_table_part_children_properties_resolve; } /** * fo_table_part_class_init: * @klass: #FoTablePartClass object to initialise * * Implements #GClassInitFunc for #FoTablePart **/ void fo_table_part_class_init (FoTablePartClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fo_fo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_part_finalize; fo_fo_class->debug_dump_properties = fo_table_part_debug_dump_properties; fo_fo_class->update_from_context = fo_table_part_update_from_context; } static void fo_table_part_finalize (GObject *object) { FoTablePart *fo_table_part; fo_table_part = FO_TABLE_PART (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_part_new: * * Creates a new #FoTablePart initialized to default value. * * Return value: the new #FoTablePart **/ FoFo* fo_table_part_new (void) { return FO_FO (g_object_new (fo_table_part_get_type (), NULL)); } /** * fo_table_part_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_part_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_PART (fo)); FO_FO_CLASS (parent_class)->update_from_context (fo, context); } void fo_table_part_debug_dump_properties (FoFo *fo, gint depth) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_PART (fo)); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_table_part_children_properties_resolve: * @this_fo: * @this_fo_parent_area: * @new_area: * @prop_eval_hash: * @fo_doc: * @continue_after_error: * @debug_level: * @warning_mode: * @error: * * **/ void fo_table_part_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error) { GError *tmp_error = NULL; g_return_if_fail (FO_IS_FO (this_fo)); g_return_if_fail (FO_IS_AREA (this_fo_parent_area)); g_return_if_fail (*new_area == NULL); g_return_if_fail (error == NULL || *error == NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("node_children_properties_resolve:: this_fo: %s; this_fo_parent_area: %s", fo_object_debug_sprintf (this_fo), fo_object_debug_sprintf (this_fo_parent_area)); #endif FoPropertyResolveContext prop_context; prop_context.reference_area = fo_area_get_reference (this_fo_parent_area); prop_context.prop_eval_hash = prop_eval_hash; prop_context.continue_after_error = continue_after_error; prop_context.debug_level = debug_level; prop_context.warning_mode = warning_mode; prop_context.error = NULL; fo_fo_resolve_property_attributes (FO_NODE (this_fo), &prop_context); if (prop_context.error != NULL) { fo_object_log_or_propagate_error (FO_OBJECT (this_fo), error, *prop_context.error); return; } FoArea *this_fo_area = NULL; FoFoAreaNew2Context area_new2_context; area_new2_context.fo_doc = fo_doc; area_new2_context.parent_area = this_fo_parent_area; area_new2_context.new_area = &this_fo_area; area_new2_context.continue_after_error = continue_after_error; area_new2_context.debug_level = debug_level; fo_fo_area_new2 (this_fo, &area_new2_context, &tmp_error); if (tmp_error != NULL) { fo_object_log_or_propagate_error (FO_OBJECT (this_fo), error, tmp_error); return; } *new_area = this_fo_area; FoArea *child_fo_parent_area; if (*new_area != NULL) { child_fo_parent_area = *new_area; } else { child_fo_parent_area = this_fo_parent_area; } /* table-row */ FoNode *row_child = fo_node_first_child (FO_NODE (this_fo)); while (row_child != NULL) { FoFoAreaNew2Context row_area_new2_context; FoPropertyResolveContext row_prop_context; FoArea *row_area = NULL; row_prop_context.reference_area = fo_area_get_reference (child_fo_parent_area); row_prop_context.prop_eval_hash = prop_eval_hash; row_prop_context.continue_after_error = continue_after_error; row_prop_context.debug_level = debug_level; row_prop_context.warning_mode = warning_mode; row_prop_context.error = NULL; fo_fo_resolve_property_attributes (row_child, &prop_context); row_area_new2_context.fo_doc = fo_doc; row_area_new2_context.parent_area = child_fo_parent_area; row_area_new2_context.new_area = &row_area; row_area_new2_context.debug_level = debug_level; fo_fo_area_new2 (FO_FO (row_child), &row_area_new2_context, &tmp_error); if (tmp_error != NULL) { fo_object_log_or_propagate_error (FO_OBJECT (row_child), error, tmp_error); return; } if (row_area != NULL) { child_fo_parent_area = fo_area_parent (row_area); if (*new_area != NULL) *new_area = child_fo_parent_area; } row_child = fo_node_next_sibling (row_child); } /* table-row */ row_child = fo_node_first_child (FO_NODE (this_fo)); while (row_child != NULL) { FoNode *cell_grandchild = fo_node_first_child (row_child); FoArea *row_area = FO_FO (row_child)->areas->data; fo_table_span_info_start_row (FO_FO (fo_node_parent (FO_NODE (this_fo))), &tmp_error); if (tmp_error != NULL) { fo_object_log_or_propagate_error (FO_OBJECT (row_child), error, tmp_error); return; } /* table-cell */ while (cell_grandchild != NULL) { FoArea *cell_area = NULL; fo_fo_children_properties_resolve (FO_FO (cell_grandchild), row_area, &cell_area, prop_eval_hash, fo_doc, continue_after_error, debug_level, warning_mode, &tmp_error); if (tmp_error != NULL) { fo_object_log_or_propagate_error (FO_OBJECT (row_child), error, tmp_error); return; } if (cell_area != NULL) { row_area = fo_area_parent (cell_area); } cell_grandchild = fo_node_next_sibling (cell_grandchild); } if (row_area != NULL && *new_area != NULL) { *new_area = fo_area_parent (row_area); } row_child = fo_node_next_sibling (row_child); } } xmlroff-0.6.2/libfo/fo/fo-table-part.h0000644000175000017500000000242510643167375014441 00000000000000/* Fo * fo-table-part.h: Part-level table formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_PART_H__ #define __FO_TABLE_PART_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoTablePart FoTablePart; typedef struct _FoTablePartClass FoTablePartClass; #define FO_TYPE_TABLE_PART (fo_table_part_get_type ()) #define FO_TABLE_PART(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_PART, FoTablePart)) #define FO_TABLE_PART_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_PART, FoTablePartClass)) #define FO_IS_TABLE_PART(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_PART)) #define FO_IS_TABLE_PART_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_PART)) #define FO_TABLE_PART_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_PART, FoTablePartClass)) GType fo_table_part_get_type (void) G_GNUC_CONST; FoFo *fo_table_part_new (void); void fo_table_part_update_from_context (FoFo *fo, FoContext *context); G_END_DECLS #endif /* !__FO_TABLE_PART_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-part-private.h0000644000175000017500000000064710643167376016116 00000000000000/* Fo * fo-table-part-private.h: Part-level table formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include struct _FoTablePart { FoMarkerParent parent_instance; }; struct _FoTablePartClass { FoMarkerParentClass parent_class; }; xmlroff-0.6.2/libfo/fo/fo-table-row.c0000644000175000017500000040204210660107745014266 00000000000000/* Fo * fo-table-row.c: 'table-row' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-context-util.h" #include "fo/fo-table-border-fo-private.h" #include "fo/fo-table.h" #include "fo/fo-table-row-private.h" #include "fo/fo-table-row-area.h" #include "fo/fo-table-cell.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-block-progression-dimension.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-precedence.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-precedence.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-precedence.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-precedence.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-break-after.h" #include "property/fo-property-break-before.h" #include "property/fo-property-height.h" #include "property/fo-property-id.h" #include "property/fo-property-keep-together.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-keep-with-next.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-keep-with-previous.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BLOCK_PROGRESSION_DIMENSION, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_PRECEDENCE, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_PRECEDENCE, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_PRECEDENCE, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_PRECEDENCE, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_BREAK_AFTER, PROP_BREAK_BEFORE, PROP_HEIGHT, PROP_ID, PROP_KEEP_TOGETHER, PROP_KEEP_TOGETHER_WITHIN_COLUMN, PROP_KEEP_TOGETHER_WITHIN_LINE, PROP_KEEP_TOGETHER_WITHIN_PAGE, PROP_KEEP_WITH_NEXT, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, PROP_KEEP_WITH_NEXT_WITHIN_LINE, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, PROP_KEEP_WITH_PREVIOUS, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT }; static void fo_table_row_class_init (FoTableRowClass *klass); static void fo_table_row_table_border_fo_init (FoTableBorderFoIface *iface); static void fo_table_row_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_table_row_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_table_row_finalize (GObject *object); static gboolean fo_table_row_validate_content (FoFo *fo, GError **error); static void fo_table_row_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_table_row_update_from_context (FoFo *fo, FoContext *context); static void fo_table_row_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_table_row_get_type: * * Register the #FoTableRow object type. * * Return value: #GType value of the #FoTableRow object type. **/ GType fo_table_row_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTableRowClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_table_row_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTableRow), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_table_border_fo_info = { (GInterfaceInitFunc) fo_table_row_table_border_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_FO, "FoTableRow", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_TABLE_BORDER_FO, &fo_table_border_fo_info); } return object_type; } /** * fo_table_row_class_init: * @klass: #FoTableRowClass object to initialise. * * Implements #GClassInitFunc for #FoTableRowClass. **/ void fo_table_row_class_init (FoTableRowClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_table_row_finalize; object_class->get_property = fo_table_row_get_property; object_class->set_property = fo_table_row_set_property; fofo_class->validate_content = fo_table_row_validate_content; fofo_class->validate2 = fo_table_row_validate; fofo_class->update_from_context = fo_table_row_update_from_context; fofo_class->debug_dump_properties = fo_table_row_debug_dump_properties; fofo_class->area_new2 = fo_table_row_area_new2; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BLOCK_PROGRESSION_DIMENSION, g_param_spec_object ("block-progression-dimension", _("Block Progression Dimension"), _("Block Progression Dimension property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_PRECEDENCE, g_param_spec_object ("border-after-precedence", _("Border After Precedence"), _("Border After Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_PRECEDENCE, g_param_spec_object ("border-before-precedence", _("Border Before Precedence"), _("Border Before Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_PRECEDENCE, g_param_spec_object ("border-end-precedence", _("Border End Precedence"), _("Border End Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_PRECEDENCE, g_param_spec_object ("border-start-precedence", _("Border Start Precedence"), _("Border Start Precedence property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_AFTER, g_param_spec_object ("break-after", _("Break After"), _("Break After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BREAK_BEFORE, g_param_spec_object ("break-before", _("Break Before"), _("Break Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_object ("height", _("Height"), _("Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER, g_param_spec_object ("keep-together", _("Keep Together"), _("Keep Together property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_COLUMN, g_param_spec_object ("keep-together-within-column", _("Keep Together Within Column"), _("Keep Together Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_LINE, g_param_spec_object ("keep-together-within-line", _("Keep Together Within Line"), _("Keep Together Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_TOGETHER_WITHIN_PAGE, g_param_spec_object ("keep-together-within-page", _("Keep Together Within Page"), _("Keep Together Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT, g_param_spec_object ("keep-with-next", _("Keep With Next"), _("Keep With Next property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_COLUMN, g_param_spec_object ("keep-with-next-within-column", _("Keep With Next Within Column"), _("Keep With Next Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_LINE, g_param_spec_object ("keep-with-next-within-line", _("Keep With Next Within Line"), _("Keep With Next Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_NEXT_WITHIN_PAGE, g_param_spec_object ("keep-with-next-within-page", _("Keep With Next Within Page"), _("Keep With Next Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS, g_param_spec_object ("keep-with-previous", _("Keep With Previous"), _("Keep With Previous property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, g_param_spec_object ("keep-with-previous-within-column", _("Keep With Previous Within Column"), _("Keep With Previous Within Column property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE, g_param_spec_object ("keep-with-previous-within-line", _("Keep With Previous Within Line"), _("Keep With Previous Within Line property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE, g_param_spec_object ("keep-with-previous-within-page", _("Keep With Previous Within Page"), _("Keep With Previous Within Page property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_table_row_table_border_fo_init: * @iface: #FoTableBorderFoIFace structure for this class. * * Initialize #FoTableBorderFoIface interface for this class. **/ void fo_table_row_table_border_fo_init (FoTableBorderFoIface *iface) { iface->get_background_color = fo_table_row_get_background_color; iface->get_border_after_color = fo_table_row_get_border_after_color; iface->get_border_after_precedence = fo_table_row_get_border_after_precedence; iface->get_border_after_style = fo_table_row_get_border_after_style; iface->get_border_after_width = fo_table_row_get_border_after_width; iface->get_border_before_color = fo_table_row_get_border_before_color; iface->get_border_before_precedence = fo_table_row_get_border_before_precedence; iface->get_border_before_style = fo_table_row_get_border_before_style; iface->get_border_before_width = fo_table_row_get_border_before_width; iface->get_border_end_color = fo_table_row_get_border_end_color; iface->get_border_end_precedence = fo_table_row_get_border_end_precedence; iface->get_border_end_style = fo_table_row_get_border_end_style; iface->get_border_end_width = fo_table_row_get_border_end_width; iface->get_border_start_color = fo_table_row_get_border_start_color; iface->get_border_start_precedence = fo_table_row_get_border_start_precedence; iface->get_border_start_style = fo_table_row_get_border_start_style; iface->get_border_start_width = fo_table_row_get_border_start_width; } /** * fo_table_row_finalize: * @object: #FoTableRow object to finalize. * * Implements #GObjectFinalizeFunc for #FoTableRow. **/ void fo_table_row_finalize (GObject *object) { FoTableRow *fo_table_row; fo_table_row = FO_TABLE_ROW (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_table_row_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTableRow. **/ void fo_table_row_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_table_row_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_table_row_get_background_image (fo_fo))); break; case PROP_BLOCK_PROGRESSION_DIMENSION: g_value_set_object (value, G_OBJECT (fo_table_row_get_block_progression_dimension (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_after_precedence (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_before_precedence (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_end_precedence (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_PRECEDENCE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_start_precedence (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_table_row_get_border_top_width (fo_fo))); break; case PROP_BREAK_AFTER: g_value_set_object (value, G_OBJECT (fo_table_row_get_break_after (fo_fo))); break; case PROP_BREAK_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_row_get_break_before (fo_fo))); break; case PROP_HEIGHT: g_value_set_object (value, G_OBJECT (fo_table_row_get_height (fo_fo))); break; case PROP_ID: g_value_set_object (value, G_OBJECT (fo_table_row_get_id (fo_fo))); break; case PROP_KEEP_TOGETHER: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_together (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_together_within_column (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_together_within_line (fo_fo))); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_together_within_page (fo_fo))); break; case PROP_KEEP_WITH_NEXT: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_with_next (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_with_next_within_column (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_with_next_within_line (fo_fo))); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_with_next_within_page (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_with_previous (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_with_previous_within_column (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_with_previous_within_line (fo_fo))); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: g_value_set_object (value, G_OBJECT (fo_table_row_get_keep_with_previous_within_page (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_table_row_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_table_row_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_table_row_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_table_row_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_table_row_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_table_row_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_table_row_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_table_row_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_table_row_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_table_row_get_source_document (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_row_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTableRow. **/ void fo_table_row_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_table_row_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_table_row_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BLOCK_PROGRESSION_DIMENSION: fo_table_row_set_block_progression_dimension (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_table_row_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_PRECEDENCE: fo_table_row_set_border_after_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_table_row_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_table_row_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_table_row_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_PRECEDENCE: fo_table_row_set_border_before_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_table_row_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_table_row_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_table_row_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_table_row_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_table_row_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_table_row_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_PRECEDENCE: fo_table_row_set_border_end_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_table_row_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_table_row_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_table_row_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_table_row_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_table_row_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_table_row_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_table_row_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_table_row_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_table_row_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_PRECEDENCE: fo_table_row_set_border_start_precedence (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_table_row_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_table_row_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_table_row_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_table_row_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_table_row_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_AFTER: fo_table_row_set_break_after (fo_fo, g_value_get_object (value)); break; case PROP_BREAK_BEFORE: fo_table_row_set_break_before (fo_fo, g_value_get_object (value)); break; case PROP_HEIGHT: fo_table_row_set_height (fo_fo, g_value_get_object (value)); break; case PROP_ID: fo_table_row_set_id (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER: fo_table_row_set_keep_together (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_COLUMN: fo_table_row_set_keep_together_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_LINE: fo_table_row_set_keep_together_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_TOGETHER_WITHIN_PAGE: fo_table_row_set_keep_together_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT: fo_table_row_set_keep_with_next (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_COLUMN: fo_table_row_set_keep_with_next_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_LINE: fo_table_row_set_keep_with_next_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_NEXT_WITHIN_PAGE: fo_table_row_set_keep_with_next_within_page (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS: fo_table_row_set_keep_with_previous (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_COLUMN: fo_table_row_set_keep_with_previous_within_column (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_LINE: fo_table_row_set_keep_with_previous_within_line (fo_fo, g_value_get_object (value)); break; case PROP_KEEP_WITH_PREVIOUS_WITHIN_PAGE: fo_table_row_set_keep_with_previous_within_page (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_table_row_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_table_row_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_table_row_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_table_row_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_table_row_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_table_row_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_table_row_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_table_row_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_table_row_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_table_row_set_source_document (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_table_row_new: * * Creates a new #FoTableRow initialized to default value. * * Return value: the new #FoTableRow. **/ FoFo* fo_table_row_new (void) { return FO_FO (g_object_new (fo_table_row_get_type (), NULL)); } /** * fo_table_row_validate_content: * @fo: #FoTableRow object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_table_row_validate_content (FoFo *fo, GError **error) { FoNode *child_node; GError *tmp_error; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_TABLE_ROW (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_fo_trim_whitespace_children (fo); child_node = fo_node_first_child (FO_NODE (fo)); if (!child_node) goto error; while (child_node) { FoNode *next_child = fo_node_next_sibling (child_node); if (FO_IS_TABLE_CELL (child_node)) { child_node = next_child; } else { goto error; } } return FALSE; error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } /** * fo_table_row_validate: * @fo: #FoTableRow object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_table_row_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_context_util_height_width_resolve (current_context, parent_context); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); } /** * fo_table_row_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_table_row_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_table_row_set_background_color (fo, fo_context_get_background_color (context)); fo_table_row_set_background_image (fo, fo_context_get_background_image (context)); fo_table_row_set_block_progression_dimension (fo, fo_context_get_block_progression_dimension (context)); fo_table_row_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_table_row_set_border_after_precedence (fo, fo_context_get_border_after_precedence (context)); fo_table_row_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_table_row_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_table_row_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_table_row_set_border_before_precedence (fo, fo_context_get_border_before_precedence (context)); fo_table_row_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_table_row_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_table_row_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_table_row_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_table_row_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_table_row_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_table_row_set_border_end_precedence (fo, fo_context_get_border_end_precedence (context)); fo_table_row_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_table_row_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_table_row_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_table_row_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_table_row_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_table_row_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_table_row_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_table_row_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_table_row_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_table_row_set_border_start_precedence (fo, fo_context_get_border_start_precedence (context)); fo_table_row_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_table_row_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_table_row_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_table_row_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_table_row_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_table_row_set_break_after (fo, fo_context_get_break_after (context)); fo_table_row_set_break_before (fo, fo_context_get_break_before (context)); fo_table_row_set_height (fo, fo_context_get_height (context)); fo_table_row_set_id (fo, fo_context_get_id (context)); fo_table_row_set_keep_together (fo, fo_context_get_keep_together (context)); fo_table_row_set_keep_together_within_column (fo, fo_context_get_keep_together_within_column (context)); fo_table_row_set_keep_together_within_line (fo, fo_context_get_keep_together_within_line (context)); fo_table_row_set_keep_together_within_page (fo, fo_context_get_keep_together_within_page (context)); fo_table_row_set_keep_with_next (fo, fo_context_get_keep_with_next (context)); fo_table_row_set_keep_with_next_within_column (fo, fo_context_get_keep_with_next_within_column (context)); fo_table_row_set_keep_with_next_within_line (fo, fo_context_get_keep_with_next_within_line (context)); fo_table_row_set_keep_with_next_within_page (fo, fo_context_get_keep_with_next_within_page (context)); fo_table_row_set_keep_with_previous (fo, fo_context_get_keep_with_previous (context)); fo_table_row_set_keep_with_previous_within_column (fo, fo_context_get_keep_with_previous_within_column (context)); fo_table_row_set_keep_with_previous_within_line (fo, fo_context_get_keep_with_previous_within_line (context)); fo_table_row_set_keep_with_previous_within_page (fo, fo_context_get_keep_with_previous_within_page (context)); fo_table_row_set_padding_after (fo, fo_context_get_padding_after (context)); fo_table_row_set_padding_before (fo, fo_context_get_padding_before (context)); fo_table_row_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_table_row_set_padding_end (fo, fo_context_get_padding_end (context)); fo_table_row_set_padding_left (fo, fo_context_get_padding_left (context)); fo_table_row_set_padding_right (fo, fo_context_get_padding_right (context)); fo_table_row_set_padding_start (fo, fo_context_get_padding_start (context)); fo_table_row_set_padding_top (fo, fo_context_get_padding_top (context)); fo_table_row_set_role (fo, fo_context_get_role (context)); fo_table_row_set_source_document (fo, fo_context_get_source_document (context)); } /** * fo_table_row_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_table_row_debug_dump_properties (FoFo *fo, gint depth) { FoTableRow *fo_table_row; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo)); fo_table_row = FO_TABLE_ROW (fo); fo_object_debug_dump (fo_table_row->background_color, depth); fo_object_debug_dump (fo_table_row->background_image, depth); fo_object_debug_dump (fo_table_row->block_progression_dimension, depth); fo_object_debug_dump (fo_table_row->border_after_color, depth); fo_object_debug_dump (fo_table_row->border_after_precedence, depth); fo_object_debug_dump (fo_table_row->border_after_style, depth); fo_object_debug_dump (fo_table_row->border_after_width, depth); fo_object_debug_dump (fo_table_row->border_before_color, depth); fo_object_debug_dump (fo_table_row->border_before_precedence, depth); fo_object_debug_dump (fo_table_row->border_before_style, depth); fo_object_debug_dump (fo_table_row->border_before_width, depth); fo_object_debug_dump (fo_table_row->border_bottom_color, depth); fo_object_debug_dump (fo_table_row->border_bottom_style, depth); fo_object_debug_dump (fo_table_row->border_bottom_width, depth); fo_object_debug_dump (fo_table_row->border_end_color, depth); fo_object_debug_dump (fo_table_row->border_end_precedence, depth); fo_object_debug_dump (fo_table_row->border_end_style, depth); fo_object_debug_dump (fo_table_row->border_end_width, depth); fo_object_debug_dump (fo_table_row->border_left_color, depth); fo_object_debug_dump (fo_table_row->border_left_style, depth); fo_object_debug_dump (fo_table_row->border_left_width, depth); fo_object_debug_dump (fo_table_row->border_right_color, depth); fo_object_debug_dump (fo_table_row->border_right_style, depth); fo_object_debug_dump (fo_table_row->border_right_width, depth); fo_object_debug_dump (fo_table_row->border_start_color, depth); fo_object_debug_dump (fo_table_row->border_start_precedence, depth); fo_object_debug_dump (fo_table_row->border_start_style, depth); fo_object_debug_dump (fo_table_row->border_start_width, depth); fo_object_debug_dump (fo_table_row->border_top_color, depth); fo_object_debug_dump (fo_table_row->border_top_style, depth); fo_object_debug_dump (fo_table_row->border_top_width, depth); fo_object_debug_dump (fo_table_row->break_after, depth); fo_object_debug_dump (fo_table_row->break_before, depth); fo_object_debug_dump (fo_table_row->height, depth); fo_object_debug_dump (fo_table_row->id, depth); fo_object_debug_dump (fo_table_row->keep_together, depth); fo_object_debug_dump (fo_table_row->keep_together_within_column, depth); fo_object_debug_dump (fo_table_row->keep_together_within_line, depth); fo_object_debug_dump (fo_table_row->keep_together_within_page, depth); fo_object_debug_dump (fo_table_row->keep_with_next, depth); fo_object_debug_dump (fo_table_row->keep_with_next_within_column, depth); fo_object_debug_dump (fo_table_row->keep_with_next_within_line, depth); fo_object_debug_dump (fo_table_row->keep_with_next_within_page, depth); fo_object_debug_dump (fo_table_row->keep_with_previous, depth); fo_object_debug_dump (fo_table_row->keep_with_previous_within_column, depth); fo_object_debug_dump (fo_table_row->keep_with_previous_within_line, depth); fo_object_debug_dump (fo_table_row->keep_with_previous_within_page, depth); fo_object_debug_dump (fo_table_row->padding_after, depth); fo_object_debug_dump (fo_table_row->padding_before, depth); fo_object_debug_dump (fo_table_row->padding_bottom, depth); fo_object_debug_dump (fo_table_row->padding_end, depth); fo_object_debug_dump (fo_table_row->padding_left, depth); fo_object_debug_dump (fo_table_row->padding_right, depth); fo_object_debug_dump (fo_table_row->padding_start, depth); fo_object_debug_dump (fo_table_row->padding_top, depth); fo_object_debug_dump (fo_table_row->role, depth); fo_object_debug_dump (fo_table_row->source_document, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_table_row_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_table_row_get_background_color (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->background_color; } /** * fo_table_row_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_table_row_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_table_row->background_color != NULL) { g_object_unref (fo_table_row->background_color); } fo_table_row->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_table_row), "background-color");*/ } /** * fo_table_row_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_table_row_get_background_image (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->background_image; } /** * fo_table_row_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_table_row_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_table_row->background_image != NULL) { g_object_unref (fo_table_row->background_image); } fo_table_row->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_table_row), "background-image");*/ } /** * fo_table_row_get_block_progression_dimension: * @fo_fo: The @FoFo object * * Gets the "block-progression-dimension" property of @fo_fo * * Return value: The "block-progression-dimension" property value **/ FoProperty* fo_table_row_get_block_progression_dimension (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->block_progression_dimension; } /** * fo_table_row_set_block_progression_dimension: * @fo_fo: The #FoFo object * @new_block_progression_dimension: The new "block-progression-dimension" property value * * Sets the "block-progression-dimension" property of @fo_fo to @new_block_progression_dimension **/ void fo_table_row_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION (new_block_progression_dimension)); if (new_block_progression_dimension != NULL) { g_object_ref (new_block_progression_dimension); } if (fo_table_row->block_progression_dimension != NULL) { g_object_unref (fo_table_row->block_progression_dimension); } fo_table_row->block_progression_dimension = new_block_progression_dimension; /*g_object_notify (G_OBJECT (fo_table_row), "block-progression-dimension");*/ } /** * fo_table_row_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_table_row_get_border_after_color (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_after_color; } /** * fo_table_row_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_table_row_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_table_row->border_after_color != NULL) { g_object_unref (fo_table_row->border_after_color); } fo_table_row->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_table_row), "border-after-color");*/ } /** * fo_table_row_get_border_after_precedence: * @fo_fo: The @FoFo object * * Gets the "border-after-precedence" property of @fo_fo * * Return value: The "border-after-precedence" property value **/ FoProperty* fo_table_row_get_border_after_precedence (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_after_precedence; } /** * fo_table_row_set_border_after_precedence: * @fo_fo: The #FoFo object * @new_border_after_precedence: The new "border-after-precedence" property value * * Sets the "border-after-precedence" property of @fo_fo to @new_border_after_precedence **/ void fo_table_row_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE (new_border_after_precedence)); if (new_border_after_precedence != NULL) { g_object_ref (new_border_after_precedence); } if (fo_table_row->border_after_precedence != NULL) { g_object_unref (fo_table_row->border_after_precedence); } fo_table_row->border_after_precedence = new_border_after_precedence; /*g_object_notify (G_OBJECT (fo_table_row), "border-after-precedence");*/ } /** * fo_table_row_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_table_row_get_border_after_style (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_after_style; } /** * fo_table_row_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_table_row_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_table_row->border_after_style != NULL) { g_object_unref (fo_table_row->border_after_style); } fo_table_row->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_table_row), "border-after-style");*/ } /** * fo_table_row_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_table_row_get_border_after_width (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_after_width; } /** * fo_table_row_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_table_row_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_table_row->border_after_width != NULL) { g_object_unref (fo_table_row->border_after_width); } fo_table_row->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_table_row), "border-after-width");*/ } /** * fo_table_row_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_table_row_get_border_before_color (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_before_color; } /** * fo_table_row_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_table_row_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_table_row->border_before_color != NULL) { g_object_unref (fo_table_row->border_before_color); } fo_table_row->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_table_row), "border-before-color");*/ } /** * fo_table_row_get_border_before_precedence: * @fo_fo: The @FoFo object * * Gets the "border-before-precedence" property of @fo_fo * * Return value: The "border-before-precedence" property value **/ FoProperty* fo_table_row_get_border_before_precedence (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_before_precedence; } /** * fo_table_row_set_border_before_precedence: * @fo_fo: The #FoFo object * @new_border_before_precedence: The new "border-before-precedence" property value * * Sets the "border-before-precedence" property of @fo_fo to @new_border_before_precedence **/ void fo_table_row_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE (new_border_before_precedence)); if (new_border_before_precedence != NULL) { g_object_ref (new_border_before_precedence); } if (fo_table_row->border_before_precedence != NULL) { g_object_unref (fo_table_row->border_before_precedence); } fo_table_row->border_before_precedence = new_border_before_precedence; /*g_object_notify (G_OBJECT (fo_table_row), "border-before-precedence");*/ } /** * fo_table_row_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_table_row_get_border_before_style (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_before_style; } /** * fo_table_row_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_table_row_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_table_row->border_before_style != NULL) { g_object_unref (fo_table_row->border_before_style); } fo_table_row->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_table_row), "border-before-style");*/ } /** * fo_table_row_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_table_row_get_border_before_width (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_before_width; } /** * fo_table_row_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_table_row_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_table_row->border_before_width != NULL) { g_object_unref (fo_table_row->border_before_width); } fo_table_row->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_table_row), "border-before-width");*/ } /** * fo_table_row_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_table_row_get_border_bottom_color (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_bottom_color; } /** * fo_table_row_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_table_row_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_table_row->border_bottom_color != NULL) { g_object_unref (fo_table_row->border_bottom_color); } fo_table_row->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_table_row), "border-bottom-color");*/ } /** * fo_table_row_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_table_row_get_border_bottom_style (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_bottom_style; } /** * fo_table_row_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_table_row_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_table_row->border_bottom_style != NULL) { g_object_unref (fo_table_row->border_bottom_style); } fo_table_row->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_table_row), "border-bottom-style");*/ } /** * fo_table_row_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_table_row_get_border_bottom_width (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_bottom_width; } /** * fo_table_row_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_table_row_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_table_row->border_bottom_width != NULL) { g_object_unref (fo_table_row->border_bottom_width); } fo_table_row->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_table_row), "border-bottom-width");*/ } /** * fo_table_row_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_table_row_get_border_end_color (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_end_color; } /** * fo_table_row_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_table_row_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_table_row->border_end_color != NULL) { g_object_unref (fo_table_row->border_end_color); } fo_table_row->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_table_row), "border-end-color");*/ } /** * fo_table_row_get_border_end_precedence: * @fo_fo: The @FoFo object * * Gets the "border-end-precedence" property of @fo_fo * * Return value: The "border-end-precedence" property value **/ FoProperty* fo_table_row_get_border_end_precedence (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_end_precedence; } /** * fo_table_row_set_border_end_precedence: * @fo_fo: The #FoFo object * @new_border_end_precedence: The new "border-end-precedence" property value * * Sets the "border-end-precedence" property of @fo_fo to @new_border_end_precedence **/ void fo_table_row_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_PRECEDENCE (new_border_end_precedence)); if (new_border_end_precedence != NULL) { g_object_ref (new_border_end_precedence); } if (fo_table_row->border_end_precedence != NULL) { g_object_unref (fo_table_row->border_end_precedence); } fo_table_row->border_end_precedence = new_border_end_precedence; /*g_object_notify (G_OBJECT (fo_table_row), "border-end-precedence");*/ } /** * fo_table_row_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_table_row_get_border_end_style (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_end_style; } /** * fo_table_row_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_table_row_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_table_row->border_end_style != NULL) { g_object_unref (fo_table_row->border_end_style); } fo_table_row->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_table_row), "border-end-style");*/ } /** * fo_table_row_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_table_row_get_border_end_width (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_end_width; } /** * fo_table_row_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_table_row_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_table_row->border_end_width != NULL) { g_object_unref (fo_table_row->border_end_width); } fo_table_row->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_table_row), "border-end-width");*/ } /** * fo_table_row_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_table_row_get_border_left_color (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_left_color; } /** * fo_table_row_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_table_row_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_table_row->border_left_color != NULL) { g_object_unref (fo_table_row->border_left_color); } fo_table_row->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_table_row), "border-left-color");*/ } /** * fo_table_row_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_table_row_get_border_left_style (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_left_style; } /** * fo_table_row_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_table_row_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_table_row->border_left_style != NULL) { g_object_unref (fo_table_row->border_left_style); } fo_table_row->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_table_row), "border-left-style");*/ } /** * fo_table_row_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_table_row_get_border_left_width (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_left_width; } /** * fo_table_row_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_table_row_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_table_row->border_left_width != NULL) { g_object_unref (fo_table_row->border_left_width); } fo_table_row->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_table_row), "border-left-width");*/ } /** * fo_table_row_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_table_row_get_border_right_color (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_right_color; } /** * fo_table_row_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_table_row_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_table_row->border_right_color != NULL) { g_object_unref (fo_table_row->border_right_color); } fo_table_row->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_table_row), "border-right-color");*/ } /** * fo_table_row_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_table_row_get_border_right_style (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_right_style; } /** * fo_table_row_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_table_row_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_table_row->border_right_style != NULL) { g_object_unref (fo_table_row->border_right_style); } fo_table_row->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_table_row), "border-right-style");*/ } /** * fo_table_row_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_table_row_get_border_right_width (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_right_width; } /** * fo_table_row_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_table_row_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_table_row->border_right_width != NULL) { g_object_unref (fo_table_row->border_right_width); } fo_table_row->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_table_row), "border-right-width");*/ } /** * fo_table_row_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_table_row_get_border_start_color (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_start_color; } /** * fo_table_row_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_table_row_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_table_row->border_start_color != NULL) { g_object_unref (fo_table_row->border_start_color); } fo_table_row->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_table_row), "border-start-color");*/ } /** * fo_table_row_get_border_start_precedence: * @fo_fo: The @FoFo object * * Gets the "border-start-precedence" property of @fo_fo * * Return value: The "border-start-precedence" property value **/ FoProperty* fo_table_row_get_border_start_precedence (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_start_precedence; } /** * fo_table_row_set_border_start_precedence: * @fo_fo: The #FoFo object * @new_border_start_precedence: The new "border-start-precedence" property value * * Sets the "border-start-precedence" property of @fo_fo to @new_border_start_precedence **/ void fo_table_row_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_PRECEDENCE (new_border_start_precedence)); if (new_border_start_precedence != NULL) { g_object_ref (new_border_start_precedence); } if (fo_table_row->border_start_precedence != NULL) { g_object_unref (fo_table_row->border_start_precedence); } fo_table_row->border_start_precedence = new_border_start_precedence; /*g_object_notify (G_OBJECT (fo_table_row), "border-start-precedence");*/ } /** * fo_table_row_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_table_row_get_border_start_style (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_start_style; } /** * fo_table_row_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_table_row_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_table_row->border_start_style != NULL) { g_object_unref (fo_table_row->border_start_style); } fo_table_row->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_table_row), "border-start-style");*/ } /** * fo_table_row_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_table_row_get_border_start_width (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_start_width; } /** * fo_table_row_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_table_row_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_table_row->border_start_width != NULL) { g_object_unref (fo_table_row->border_start_width); } fo_table_row->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_table_row), "border-start-width");*/ } /** * fo_table_row_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_table_row_get_border_top_color (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_top_color; } /** * fo_table_row_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_table_row_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_table_row->border_top_color != NULL) { g_object_unref (fo_table_row->border_top_color); } fo_table_row->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_table_row), "border-top-color");*/ } /** * fo_table_row_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_table_row_get_border_top_style (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_top_style; } /** * fo_table_row_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_table_row_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_table_row->border_top_style != NULL) { g_object_unref (fo_table_row->border_top_style); } fo_table_row->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_table_row), "border-top-style");*/ } /** * fo_table_row_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_table_row_get_border_top_width (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->border_top_width; } /** * fo_table_row_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_table_row_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_table_row->border_top_width != NULL) { g_object_unref (fo_table_row->border_top_width); } fo_table_row->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_table_row), "border-top-width");*/ } /** * fo_table_row_get_break_after: * @fo_fo: The @FoFo object * * Gets the "break-after" property of @fo_fo * * Return value: The "break-after" property value **/ FoProperty* fo_table_row_get_break_after (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->break_after; } /** * fo_table_row_set_break_after: * @fo_fo: The #FoFo object * @new_break_after: The new "break-after" property value * * Sets the "break-after" property of @fo_fo to @new_break_after **/ void fo_table_row_set_break_after (FoFo *fo_fo, FoProperty *new_break_after) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BREAK_AFTER (new_break_after)); if (new_break_after != NULL) { g_object_ref (new_break_after); } if (fo_table_row->break_after != NULL) { g_object_unref (fo_table_row->break_after); } fo_table_row->break_after = new_break_after; /*g_object_notify (G_OBJECT (fo_table_row), "break-after");*/ } /** * fo_table_row_get_break_before: * @fo_fo: The @FoFo object * * Gets the "break-before" property of @fo_fo * * Return value: The "break-before" property value **/ FoProperty* fo_table_row_get_break_before (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->break_before; } /** * fo_table_row_set_break_before: * @fo_fo: The #FoFo object * @new_break_before: The new "break-before" property value * * Sets the "break-before" property of @fo_fo to @new_break_before **/ void fo_table_row_set_break_before (FoFo *fo_fo, FoProperty *new_break_before) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_BREAK_BEFORE (new_break_before)); if (new_break_before != NULL) { g_object_ref (new_break_before); } if (fo_table_row->break_before != NULL) { g_object_unref (fo_table_row->break_before); } fo_table_row->break_before = new_break_before; /*g_object_notify (G_OBJECT (fo_table_row), "break-before");*/ } /** * fo_table_row_get_height: * @fo_fo: The @FoFo object * * Gets the "height" property of @fo_fo * * Return value: The "height" property value **/ FoProperty* fo_table_row_get_height (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->height; } /** * fo_table_row_set_height: * @fo_fo: The #FoFo object * @new_height: The new "height" property value * * Sets the "height" property of @fo_fo to @new_height **/ void fo_table_row_set_height (FoFo *fo_fo, FoProperty *new_height) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_HEIGHT (new_height)); if (new_height != NULL) { g_object_ref (new_height); } if (fo_table_row->height != NULL) { g_object_unref (fo_table_row->height); } fo_table_row->height = new_height; /*g_object_notify (G_OBJECT (fo_table_row), "height");*/ } /** * fo_table_row_get_id: * @fo_fo: The @FoFo object * * Gets the "id" property of @fo_fo * * Return value: The "id" property value **/ FoProperty* fo_table_row_get_id (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->id; } /** * fo_table_row_set_id: * @fo_fo: The #FoFo object * @new_id: The new "id" property value * * Sets the "id" property of @fo_fo to @new_id **/ void fo_table_row_set_id (FoFo *fo_fo, FoProperty *new_id) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_table_row->id != NULL) { g_object_unref (fo_table_row->id); } fo_table_row->id = new_id; /*g_object_notify (G_OBJECT (fo_table_row), "id");*/ } /** * fo_table_row_get_keep_together: * @fo_fo: The @FoFo object * * Gets the "keep-together" property of @fo_fo * * Return value: The "keep-together" property value **/ FoProperty* fo_table_row_get_keep_together (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_together; } /** * fo_table_row_set_keep_together: * @fo_fo: The #FoFo object * @new_keep_together: The new "keep-together" property value * * Sets the "keep-together" property of @fo_fo to @new_keep_together **/ void fo_table_row_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER (new_keep_together)); if (new_keep_together != NULL) { g_object_ref (new_keep_together); } if (fo_table_row->keep_together != NULL) { g_object_unref (fo_table_row->keep_together); } fo_table_row->keep_together = new_keep_together; /*g_object_notify (G_OBJECT (fo_table_row), "keep-together");*/ } /** * fo_table_row_get_keep_together_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-column" property of @fo_fo * * Return value: The "keep-together-within-column" property value **/ FoProperty* fo_table_row_get_keep_together_within_column (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_together_within_column; } /** * fo_table_row_set_keep_together_within_column: * @fo_fo: The #FoFo object * @new_keep_together_within_column: The new "keep-together-within-column" property value * * Sets the "keep-together-within-column" property of @fo_fo to @new_keep_together_within_column **/ void fo_table_row_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (new_keep_together_within_column)); if (new_keep_together_within_column != NULL) { g_object_ref (new_keep_together_within_column); } if (fo_table_row->keep_together_within_column != NULL) { g_object_unref (fo_table_row->keep_together_within_column); } fo_table_row->keep_together_within_column = new_keep_together_within_column; /*g_object_notify (G_OBJECT (fo_table_row), "keep-together-within-column");*/ } /** * fo_table_row_get_keep_together_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-line" property of @fo_fo * * Return value: The "keep-together-within-line" property value **/ FoProperty* fo_table_row_get_keep_together_within_line (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_together_within_line; } /** * fo_table_row_set_keep_together_within_line: * @fo_fo: The #FoFo object * @new_keep_together_within_line: The new "keep-together-within-line" property value * * Sets the "keep-together-within-line" property of @fo_fo to @new_keep_together_within_line **/ void fo_table_row_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (new_keep_together_within_line)); if (new_keep_together_within_line != NULL) { g_object_ref (new_keep_together_within_line); } if (fo_table_row->keep_together_within_line != NULL) { g_object_unref (fo_table_row->keep_together_within_line); } fo_table_row->keep_together_within_line = new_keep_together_within_line; /*g_object_notify (G_OBJECT (fo_table_row), "keep-together-within-line");*/ } /** * fo_table_row_get_keep_together_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-together-within-page" property of @fo_fo * * Return value: The "keep-together-within-page" property value **/ FoProperty* fo_table_row_get_keep_together_within_page (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_together_within_page; } /** * fo_table_row_set_keep_together_within_page: * @fo_fo: The #FoFo object * @new_keep_together_within_page: The new "keep-together-within-page" property value * * Sets the "keep-together-within-page" property of @fo_fo to @new_keep_together_within_page **/ void fo_table_row_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (new_keep_together_within_page)); if (new_keep_together_within_page != NULL) { g_object_ref (new_keep_together_within_page); } if (fo_table_row->keep_together_within_page != NULL) { g_object_unref (fo_table_row->keep_together_within_page); } fo_table_row->keep_together_within_page = new_keep_together_within_page; /*g_object_notify (G_OBJECT (fo_table_row), "keep-together-within-page");*/ } /** * fo_table_row_get_keep_with_next: * @fo_fo: The @FoFo object * * Gets the "keep-with-next" property of @fo_fo * * Return value: The "keep-with-next" property value **/ FoProperty* fo_table_row_get_keep_with_next (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_with_next; } /** * fo_table_row_set_keep_with_next: * @fo_fo: The #FoFo object * @new_keep_with_next: The new "keep-with-next" property value * * Sets the "keep-with-next" property of @fo_fo to @new_keep_with_next **/ void fo_table_row_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT (new_keep_with_next)); if (new_keep_with_next != NULL) { g_object_ref (new_keep_with_next); } if (fo_table_row->keep_with_next != NULL) { g_object_unref (fo_table_row->keep_with_next); } fo_table_row->keep_with_next = new_keep_with_next; /*g_object_notify (G_OBJECT (fo_table_row), "keep-with-next");*/ } /** * fo_table_row_get_keep_with_next_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-column" property of @fo_fo * * Return value: The "keep-with-next-within-column" property value **/ FoProperty* fo_table_row_get_keep_with_next_within_column (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_with_next_within_column; } /** * fo_table_row_set_keep_with_next_within_column: * @fo_fo: The #FoFo object * @new_keep_with_next_within_column: The new "keep-with-next-within-column" property value * * Sets the "keep-with-next-within-column" property of @fo_fo to @new_keep_with_next_within_column **/ void fo_table_row_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (new_keep_with_next_within_column)); if (new_keep_with_next_within_column != NULL) { g_object_ref (new_keep_with_next_within_column); } if (fo_table_row->keep_with_next_within_column != NULL) { g_object_unref (fo_table_row->keep_with_next_within_column); } fo_table_row->keep_with_next_within_column = new_keep_with_next_within_column; /*g_object_notify (G_OBJECT (fo_table_row), "keep-with-next-within-column");*/ } /** * fo_table_row_get_keep_with_next_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-line" property of @fo_fo * * Return value: The "keep-with-next-within-line" property value **/ FoProperty* fo_table_row_get_keep_with_next_within_line (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_with_next_within_line; } /** * fo_table_row_set_keep_with_next_within_line: * @fo_fo: The #FoFo object * @new_keep_with_next_within_line: The new "keep-with-next-within-line" property value * * Sets the "keep-with-next-within-line" property of @fo_fo to @new_keep_with_next_within_line **/ void fo_table_row_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (new_keep_with_next_within_line)); if (new_keep_with_next_within_line != NULL) { g_object_ref (new_keep_with_next_within_line); } if (fo_table_row->keep_with_next_within_line != NULL) { g_object_unref (fo_table_row->keep_with_next_within_line); } fo_table_row->keep_with_next_within_line = new_keep_with_next_within_line; /*g_object_notify (G_OBJECT (fo_table_row), "keep-with-next-within-line");*/ } /** * fo_table_row_get_keep_with_next_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-next-within-page" property of @fo_fo * * Return value: The "keep-with-next-within-page" property value **/ FoProperty* fo_table_row_get_keep_with_next_within_page (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_with_next_within_page; } /** * fo_table_row_set_keep_with_next_within_page: * @fo_fo: The #FoFo object * @new_keep_with_next_within_page: The new "keep-with-next-within-page" property value * * Sets the "keep-with-next-within-page" property of @fo_fo to @new_keep_with_next_within_page **/ void fo_table_row_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (new_keep_with_next_within_page)); if (new_keep_with_next_within_page != NULL) { g_object_ref (new_keep_with_next_within_page); } if (fo_table_row->keep_with_next_within_page != NULL) { g_object_unref (fo_table_row->keep_with_next_within_page); } fo_table_row->keep_with_next_within_page = new_keep_with_next_within_page; /*g_object_notify (G_OBJECT (fo_table_row), "keep-with-next-within-page");*/ } /** * fo_table_row_get_keep_with_previous: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous" property of @fo_fo * * Return value: The "keep-with-previous" property value **/ FoProperty* fo_table_row_get_keep_with_previous (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_with_previous; } /** * fo_table_row_set_keep_with_previous: * @fo_fo: The #FoFo object * @new_keep_with_previous: The new "keep-with-previous" property value * * Sets the "keep-with-previous" property of @fo_fo to @new_keep_with_previous **/ void fo_table_row_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS (new_keep_with_previous)); if (new_keep_with_previous != NULL) { g_object_ref (new_keep_with_previous); } if (fo_table_row->keep_with_previous != NULL) { g_object_unref (fo_table_row->keep_with_previous); } fo_table_row->keep_with_previous = new_keep_with_previous; /*g_object_notify (G_OBJECT (fo_table_row), "keep-with-previous");*/ } /** * fo_table_row_get_keep_with_previous_within_column: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-column" property of @fo_fo * * Return value: The "keep-with-previous-within-column" property value **/ FoProperty* fo_table_row_get_keep_with_previous_within_column (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_with_previous_within_column; } /** * fo_table_row_set_keep_with_previous_within_column: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_column: The new "keep-with-previous-within-column" property value * * Sets the "keep-with-previous-within-column" property of @fo_fo to @new_keep_with_previous_within_column **/ void fo_table_row_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (new_keep_with_previous_within_column)); if (new_keep_with_previous_within_column != NULL) { g_object_ref (new_keep_with_previous_within_column); } if (fo_table_row->keep_with_previous_within_column != NULL) { g_object_unref (fo_table_row->keep_with_previous_within_column); } fo_table_row->keep_with_previous_within_column = new_keep_with_previous_within_column; /*g_object_notify (G_OBJECT (fo_table_row), "keep-with-previous-within-column");*/ } /** * fo_table_row_get_keep_with_previous_within_line: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-line" property of @fo_fo * * Return value: The "keep-with-previous-within-line" property value **/ FoProperty* fo_table_row_get_keep_with_previous_within_line (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_with_previous_within_line; } /** * fo_table_row_set_keep_with_previous_within_line: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_line: The new "keep-with-previous-within-line" property value * * Sets the "keep-with-previous-within-line" property of @fo_fo to @new_keep_with_previous_within_line **/ void fo_table_row_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (new_keep_with_previous_within_line)); if (new_keep_with_previous_within_line != NULL) { g_object_ref (new_keep_with_previous_within_line); } if (fo_table_row->keep_with_previous_within_line != NULL) { g_object_unref (fo_table_row->keep_with_previous_within_line); } fo_table_row->keep_with_previous_within_line = new_keep_with_previous_within_line; /*g_object_notify (G_OBJECT (fo_table_row), "keep-with-previous-within-line");*/ } /** * fo_table_row_get_keep_with_previous_within_page: * @fo_fo: The @FoFo object * * Gets the "keep-with-previous-within-page" property of @fo_fo * * Return value: The "keep-with-previous-within-page" property value **/ FoProperty* fo_table_row_get_keep_with_previous_within_page (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->keep_with_previous_within_page; } /** * fo_table_row_set_keep_with_previous_within_page: * @fo_fo: The #FoFo object * @new_keep_with_previous_within_page: The new "keep-with-previous-within-page" property value * * Sets the "keep-with-previous-within-page" property of @fo_fo to @new_keep_with_previous_within_page **/ void fo_table_row_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (new_keep_with_previous_within_page)); if (new_keep_with_previous_within_page != NULL) { g_object_ref (new_keep_with_previous_within_page); } if (fo_table_row->keep_with_previous_within_page != NULL) { g_object_unref (fo_table_row->keep_with_previous_within_page); } fo_table_row->keep_with_previous_within_page = new_keep_with_previous_within_page; /*g_object_notify (G_OBJECT (fo_table_row), "keep-with-previous-within-page");*/ } /** * fo_table_row_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_table_row_get_padding_after (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->padding_after; } /** * fo_table_row_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_table_row_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_table_row->padding_after != NULL) { g_object_unref (fo_table_row->padding_after); } fo_table_row->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_table_row), "padding-after");*/ } /** * fo_table_row_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_table_row_get_padding_before (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->padding_before; } /** * fo_table_row_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_table_row_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_table_row->padding_before != NULL) { g_object_unref (fo_table_row->padding_before); } fo_table_row->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_table_row), "padding-before");*/ } /** * fo_table_row_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_table_row_get_padding_bottom (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->padding_bottom; } /** * fo_table_row_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_table_row_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_table_row->padding_bottom != NULL) { g_object_unref (fo_table_row->padding_bottom); } fo_table_row->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_table_row), "padding-bottom");*/ } /** * fo_table_row_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_table_row_get_padding_end (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->padding_end; } /** * fo_table_row_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_table_row_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_table_row->padding_end != NULL) { g_object_unref (fo_table_row->padding_end); } fo_table_row->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_table_row), "padding-end");*/ } /** * fo_table_row_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_table_row_get_padding_left (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->padding_left; } /** * fo_table_row_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_table_row_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_table_row->padding_left != NULL) { g_object_unref (fo_table_row->padding_left); } fo_table_row->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_table_row), "padding-left");*/ } /** * fo_table_row_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_table_row_get_padding_right (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->padding_right; } /** * fo_table_row_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_table_row_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_table_row->padding_right != NULL) { g_object_unref (fo_table_row->padding_right); } fo_table_row->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_table_row), "padding-right");*/ } /** * fo_table_row_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_table_row_get_padding_start (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->padding_start; } /** * fo_table_row_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_table_row_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_table_row->padding_start != NULL) { g_object_unref (fo_table_row->padding_start); } fo_table_row->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_table_row), "padding-start");*/ } /** * fo_table_row_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_table_row_get_padding_top (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->padding_top; } /** * fo_table_row_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_table_row_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_table_row->padding_top != NULL) { g_object_unref (fo_table_row->padding_top); } fo_table_row->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_table_row), "padding-top");*/ } /** * fo_table_row_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_table_row_get_role (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->role; } /** * fo_table_row_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_table_row_set_role (FoFo *fo_fo, FoProperty *new_role) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_table_row->role != NULL) { g_object_unref (fo_table_row->role); } fo_table_row->role = new_role; /*g_object_notify (G_OBJECT (fo_table_row), "role");*/ } /** * fo_table_row_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_table_row_get_source_document (FoFo *fo_fo) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_val_if_fail (fo_table_row != NULL, NULL); g_return_val_if_fail (FO_IS_TABLE_ROW (fo_table_row), NULL); return fo_table_row->source_document; } /** * fo_table_row_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_table_row_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoTableRow *fo_table_row = (FoTableRow *) fo_fo; g_return_if_fail (fo_table_row != NULL); g_return_if_fail (FO_IS_TABLE_ROW (fo_table_row)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_table_row->source_document != NULL) { g_object_unref (fo_table_row->source_document); } fo_table_row->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_table_row), "source-document");*/ } xmlroff-0.6.2/libfo/fo/fo-table-row.h0000644000175000017500000003326710643167376014313 00000000000000/* Fo * fo-table_row.h: 'table-row' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_ROW_H__ #define __FO_TABLE_ROW_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoTableRow FoTableRow; typedef struct _FoTableRowClass FoTableRowClass; #define FO_TYPE_TABLE_ROW (fo_table_row_get_type ()) #define FO_TABLE_ROW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_ROW, FoTableRow)) #define FO_TABLE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_ROW, FoTableRowClass)) #define FO_IS_TABLE_ROW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_ROW)) #define FO_IS_TABLE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_ROW)) #define FO_TABLE_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_ROW, FoTableRowClass)) GType fo_table_row_get_type (void) G_GNUC_CONST; FoFo * fo_table_row_new (void); FoProperty * fo_table_row_get_background_color (FoFo *fo_fo); void fo_table_row_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_table_row_get_background_image (FoFo *fo_fo); void fo_table_row_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_table_row_get_block_progression_dimension (FoFo *fo_fo); void fo_table_row_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty * fo_table_row_get_border_after_color (FoFo *fo_fo); void fo_table_row_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_table_row_get_border_after_precedence (FoFo *fo_fo); void fo_table_row_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty * fo_table_row_get_border_after_style (FoFo *fo_fo); void fo_table_row_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_table_row_get_border_after_width (FoFo *fo_fo); void fo_table_row_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_table_row_get_border_before_color (FoFo *fo_fo); void fo_table_row_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_table_row_get_border_before_precedence (FoFo *fo_fo); void fo_table_row_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty * fo_table_row_get_border_before_style (FoFo *fo_fo); void fo_table_row_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_table_row_get_border_before_width (FoFo *fo_fo); void fo_table_row_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_table_row_get_border_bottom_color (FoFo *fo_fo); void fo_table_row_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_table_row_get_border_bottom_style (FoFo *fo_fo); void fo_table_row_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_table_row_get_border_bottom_width (FoFo *fo_fo); void fo_table_row_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_table_row_get_border_end_color (FoFo *fo_fo); void fo_table_row_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_table_row_get_border_end_precedence (FoFo *fo_fo); void fo_table_row_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty * fo_table_row_get_border_end_style (FoFo *fo_fo); void fo_table_row_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_table_row_get_border_end_width (FoFo *fo_fo); void fo_table_row_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_table_row_get_border_left_color (FoFo *fo_fo); void fo_table_row_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_table_row_get_border_left_style (FoFo *fo_fo); void fo_table_row_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_table_row_get_border_left_width (FoFo *fo_fo); void fo_table_row_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_table_row_get_border_right_color (FoFo *fo_fo); void fo_table_row_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_table_row_get_border_right_style (FoFo *fo_fo); void fo_table_row_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_table_row_get_border_right_width (FoFo *fo_fo); void fo_table_row_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_table_row_get_border_start_color (FoFo *fo_fo); void fo_table_row_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_table_row_get_border_start_precedence (FoFo *fo_fo); void fo_table_row_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty * fo_table_row_get_border_start_style (FoFo *fo_fo); void fo_table_row_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_table_row_get_border_start_width (FoFo *fo_fo); void fo_table_row_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_table_row_get_border_top_color (FoFo *fo_fo); void fo_table_row_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_table_row_get_border_top_style (FoFo *fo_fo); void fo_table_row_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_table_row_get_border_top_width (FoFo *fo_fo); void fo_table_row_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_table_row_get_break_after (FoFo *fo_fo); void fo_table_row_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty * fo_table_row_get_break_before (FoFo *fo_fo); void fo_table_row_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty * fo_table_row_get_height (FoFo *fo_fo); void fo_table_row_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty * fo_table_row_get_id (FoFo *fo_fo); void fo_table_row_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty * fo_table_row_get_keep_together (FoFo *fo_fo); void fo_table_row_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty * fo_table_row_get_keep_together_within_column (FoFo *fo_fo); void fo_table_row_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty * fo_table_row_get_keep_together_within_line (FoFo *fo_fo); void fo_table_row_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty * fo_table_row_get_keep_together_within_page (FoFo *fo_fo); void fo_table_row_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty * fo_table_row_get_keep_with_next (FoFo *fo_fo); void fo_table_row_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty * fo_table_row_get_keep_with_next_within_column (FoFo *fo_fo); void fo_table_row_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty * fo_table_row_get_keep_with_next_within_line (FoFo *fo_fo); void fo_table_row_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty * fo_table_row_get_keep_with_next_within_page (FoFo *fo_fo); void fo_table_row_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty * fo_table_row_get_keep_with_previous (FoFo *fo_fo); void fo_table_row_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty * fo_table_row_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_table_row_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty * fo_table_row_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_table_row_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty * fo_table_row_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_table_row_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty * fo_table_row_get_padding_after (FoFo *fo_fo); void fo_table_row_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_table_row_get_padding_before (FoFo *fo_fo); void fo_table_row_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_table_row_get_padding_bottom (FoFo *fo_fo); void fo_table_row_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_table_row_get_padding_end (FoFo *fo_fo); void fo_table_row_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_table_row_get_padding_left (FoFo *fo_fo); void fo_table_row_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_table_row_get_padding_right (FoFo *fo_fo); void fo_table_row_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_table_row_get_padding_start (FoFo *fo_fo); void fo_table_row_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_table_row_get_padding_top (FoFo *fo_fo); void fo_table_row_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_table_row_get_role (FoFo *fo_fo); void fo_table_row_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_table_row_get_source_document (FoFo *fo_fo); void fo_table_row_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); G_END_DECLS #endif /* !__FO_TABLE_ROW_H__ */ xmlroff-0.6.2/libfo/fo/fo-table-row-private.h0000644000175000017500000000472510643167375015757 00000000000000/* Fo * fo-table-row-private.h: Structures private to 'table-row' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TABLE_ROW_PRIVATE_H__ #define __FO_TABLE_ROW_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoTableRow { FoFo parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *block_progression_dimension; FoProperty *border_after_color; FoProperty *border_after_precedence; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_precedence; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_precedence; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_precedence; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *break_after; FoProperty *break_before; FoProperty *height; FoProperty *id; FoProperty *keep_together; FoProperty *keep_together_within_column; FoProperty *keep_together_within_line; FoProperty *keep_together_within_page; FoProperty *keep_with_next; FoProperty *keep_with_next_within_column; FoProperty *keep_with_next_within_line; FoProperty *keep_with_next_within_page; FoProperty *keep_with_previous; FoProperty *keep_with_previous_within_column; FoProperty *keep_with_previous_within_line; FoProperty *keep_with_previous_within_page; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; }; struct _FoTableRowClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_TABLE_ROW_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-title.c0000644000175000017500000027462410660107745013530 00000000000000/* Fo * fo-title.c: 'title' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-title-private.h" #include "property/fo-property-background-color.h" #include "property/fo-property-background-image.h" #include "property/fo-property-border-after-color.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-color.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" #include "property/fo-property-line-height.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-role.h" #include "property/fo-property-source-document.h" #include "property/fo-property-space-end.h" #include "property/fo-property-space-start.h" enum { PROP_0, PROP_BACKGROUND_COLOR, PROP_BACKGROUND_IMAGE, PROP_BORDER_AFTER_COLOR, PROP_BORDER_AFTER_STYLE, PROP_BORDER_AFTER_WIDTH, PROP_BORDER_BEFORE_COLOR, PROP_BORDER_BEFORE_STYLE, PROP_BORDER_BEFORE_WIDTH, PROP_BORDER_BOTTOM_COLOR, PROP_BORDER_BOTTOM_STYLE, PROP_BORDER_BOTTOM_WIDTH, PROP_BORDER_END_COLOR, PROP_BORDER_END_STYLE, PROP_BORDER_END_WIDTH, PROP_BORDER_LEFT_COLOR, PROP_BORDER_LEFT_STYLE, PROP_BORDER_LEFT_WIDTH, PROP_BORDER_RIGHT_COLOR, PROP_BORDER_RIGHT_STYLE, PROP_BORDER_RIGHT_WIDTH, PROP_BORDER_START_COLOR, PROP_BORDER_START_STYLE, PROP_BORDER_START_WIDTH, PROP_BORDER_TOP_COLOR, PROP_BORDER_TOP_STYLE, PROP_BORDER_TOP_WIDTH, PROP_COLOR, PROP_FONT_FAMILY, PROP_FONT_SIZE, PROP_FONT_STRETCH, PROP_FONT_STYLE, PROP_FONT_VARIANT, PROP_FONT_WEIGHT, PROP_LINE_HEIGHT, PROP_PADDING_AFTER, PROP_PADDING_BEFORE, PROP_PADDING_BOTTOM, PROP_PADDING_END, PROP_PADDING_LEFT, PROP_PADDING_RIGHT, PROP_PADDING_START, PROP_PADDING_TOP, PROP_ROLE, PROP_SOURCE_DOCUMENT, PROP_SPACE_END, PROP_SPACE_START }; static void fo_title_class_init (FoTitleClass *klass); static void fo_title_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_title_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_title_finalize (GObject *object); static gboolean fo_title_validate_content (FoFo *fo, GError **error); static void fo_title_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_title_update_from_context (FoFo *fo, FoContext *context); static void fo_title_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_title_get_type: * * Register the #FoTitle object type. * * Return value: #GType value of the #FoTitle object type. **/ GType fo_title_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTitleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_title_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTitle), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "FoTitle", &object_info, 0); } return object_type; } /** * fo_title_class_init: * @klass: #FoTitleClass object to initialise. * * Implements #GClassInitFunc for #FoTitleClass. **/ void fo_title_class_init (FoTitleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_title_finalize; object_class->get_property = fo_title_get_property; object_class->set_property = fo_title_set_property; fofo_class->validate_content = fo_title_validate_content; fofo_class->validate2 = fo_title_validate; fofo_class->update_from_context = fo_title_update_from_context; fofo_class->debug_dump_properties = fo_title_debug_dump_properties; fofo_class->allow_mixed_content = TRUE; g_object_class_install_property (object_class, PROP_BACKGROUND_COLOR, g_param_spec_object ("background-color", _("Background Color"), _("Background Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BACKGROUND_IMAGE, g_param_spec_object ("background-image", _("Background Image"), _("Background Image property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_COLOR, g_param_spec_object ("border-after-color", _("Border After Color"), _("Border After Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_STYLE, g_param_spec_object ("border-after-style", _("Border After Style"), _("Border After Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_AFTER_WIDTH, g_param_spec_object ("border-after-width", _("Border After Width"), _("Border After Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_COLOR, g_param_spec_object ("border-before-color", _("Border Before Color"), _("Border Before Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_STYLE, g_param_spec_object ("border-before-style", _("Border Before Style"), _("Border Before Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BEFORE_WIDTH, g_param_spec_object ("border-before-width", _("Border Before Width"), _("Border Before Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_COLOR, g_param_spec_object ("border-bottom-color", _("Border Bottom Color"), _("Border Bottom Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_STYLE, g_param_spec_object ("border-bottom-style", _("Border Bottom Style"), _("Border Bottom Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_BOTTOM_WIDTH, g_param_spec_object ("border-bottom-width", _("Border Bottom Width"), _("Border Bottom Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_COLOR, g_param_spec_object ("border-end-color", _("Border End Color"), _("Border End Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_STYLE, g_param_spec_object ("border-end-style", _("Border End Style"), _("Border End Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_END_WIDTH, g_param_spec_object ("border-end-width", _("Border End Width"), _("Border End Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_COLOR, g_param_spec_object ("border-left-color", _("Border Left Color"), _("Border Left Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_STYLE, g_param_spec_object ("border-left-style", _("Border Left Style"), _("Border Left Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_LEFT_WIDTH, g_param_spec_object ("border-left-width", _("Border Left Width"), _("Border Left Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_COLOR, g_param_spec_object ("border-right-color", _("Border Right Color"), _("Border Right Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_STYLE, g_param_spec_object ("border-right-style", _("Border Right Style"), _("Border Right Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_RIGHT_WIDTH, g_param_spec_object ("border-right-width", _("Border Right Width"), _("Border Right Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_COLOR, g_param_spec_object ("border-start-color", _("Border Start Color"), _("Border Start Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_STYLE, g_param_spec_object ("border-start-style", _("Border Start Style"), _("Border Start Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_START_WIDTH, g_param_spec_object ("border-start-width", _("Border Start Width"), _("Border Start Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_COLOR, g_param_spec_object ("border-top-color", _("Border Top Color"), _("Border Top Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_STYLE, g_param_spec_object ("border-top-style", _("Border Top Style"), _("Border Top Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_BORDER_TOP_WIDTH, g_param_spec_object ("border-top-width", _("Border Top Width"), _("Border Top Width property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Color property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_FAMILY, g_param_spec_object ("font-family", _("Font Family"), _("Font Family property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_SIZE, g_param_spec_object ("font-size", _("Font Size"), _("Font Size property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STRETCH, g_param_spec_object ("font-stretch", _("Font Stretch"), _("Font Stretch property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_STYLE, g_param_spec_object ("font-style", _("Font Style"), _("Font Style property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_VARIANT, g_param_spec_object ("font-variant", _("Font Variant"), _("Font Variant property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_FONT_WEIGHT, g_param_spec_object ("font-weight", _("Font Weight"), _("Font Weight property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_LINE_HEIGHT, g_param_spec_object ("line-height", _("Line Height"), _("Line Height property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_AFTER, g_param_spec_object ("padding-after", _("Padding After"), _("Padding After property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BEFORE, g_param_spec_object ("padding-before", _("Padding Before"), _("Padding Before property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_BOTTOM, g_param_spec_object ("padding-bottom", _("Padding Bottom"), _("Padding Bottom property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_END, g_param_spec_object ("padding-end", _("Padding End"), _("Padding End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_LEFT, g_param_spec_object ("padding-left", _("Padding Left"), _("Padding Left property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_RIGHT, g_param_spec_object ("padding-right", _("Padding Right"), _("Padding Right property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_START, g_param_spec_object ("padding-start", _("Padding Start"), _("Padding Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_PADDING_TOP, g_param_spec_object ("padding-top", _("Padding Top"), _("Padding Top property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_ROLE, g_param_spec_object ("role", _("Role"), _("Role property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SOURCE_DOCUMENT, g_param_spec_object ("source-document", _("Source Document"), _("Source Document property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_END, g_param_spec_object ("space-end", _("Space End"), _("Space End property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_SPACE_START, g_param_spec_object ("space-start", _("Space Start"), _("Space Start property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_title_finalize: * @object: #FoTitle object to finalize. * * Implements #GObjectFinalizeFunc for #FoTitle. **/ void fo_title_finalize (GObject *object) { FoTitle *fo_title; fo_title = FO_TITLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_title_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoTitle. **/ void fo_title_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_background_color (fo_fo))); break; case PROP_BACKGROUND_IMAGE: g_value_set_object (value, G_OBJECT (fo_title_get_background_image (fo_fo))); break; case PROP_BORDER_AFTER_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_border_after_color (fo_fo))); break; case PROP_BORDER_AFTER_STYLE: g_value_set_object (value, G_OBJECT (fo_title_get_border_after_style (fo_fo))); break; case PROP_BORDER_AFTER_WIDTH: g_value_set_object (value, G_OBJECT (fo_title_get_border_after_width (fo_fo))); break; case PROP_BORDER_BEFORE_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_border_before_color (fo_fo))); break; case PROP_BORDER_BEFORE_STYLE: g_value_set_object (value, G_OBJECT (fo_title_get_border_before_style (fo_fo))); break; case PROP_BORDER_BEFORE_WIDTH: g_value_set_object (value, G_OBJECT (fo_title_get_border_before_width (fo_fo))); break; case PROP_BORDER_BOTTOM_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_border_bottom_color (fo_fo))); break; case PROP_BORDER_BOTTOM_STYLE: g_value_set_object (value, G_OBJECT (fo_title_get_border_bottom_style (fo_fo))); break; case PROP_BORDER_BOTTOM_WIDTH: g_value_set_object (value, G_OBJECT (fo_title_get_border_bottom_width (fo_fo))); break; case PROP_BORDER_END_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_border_end_color (fo_fo))); break; case PROP_BORDER_END_STYLE: g_value_set_object (value, G_OBJECT (fo_title_get_border_end_style (fo_fo))); break; case PROP_BORDER_END_WIDTH: g_value_set_object (value, G_OBJECT (fo_title_get_border_end_width (fo_fo))); break; case PROP_BORDER_LEFT_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_border_left_color (fo_fo))); break; case PROP_BORDER_LEFT_STYLE: g_value_set_object (value, G_OBJECT (fo_title_get_border_left_style (fo_fo))); break; case PROP_BORDER_LEFT_WIDTH: g_value_set_object (value, G_OBJECT (fo_title_get_border_left_width (fo_fo))); break; case PROP_BORDER_RIGHT_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_border_right_color (fo_fo))); break; case PROP_BORDER_RIGHT_STYLE: g_value_set_object (value, G_OBJECT (fo_title_get_border_right_style (fo_fo))); break; case PROP_BORDER_RIGHT_WIDTH: g_value_set_object (value, G_OBJECT (fo_title_get_border_right_width (fo_fo))); break; case PROP_BORDER_START_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_border_start_color (fo_fo))); break; case PROP_BORDER_START_STYLE: g_value_set_object (value, G_OBJECT (fo_title_get_border_start_style (fo_fo))); break; case PROP_BORDER_START_WIDTH: g_value_set_object (value, G_OBJECT (fo_title_get_border_start_width (fo_fo))); break; case PROP_BORDER_TOP_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_border_top_color (fo_fo))); break; case PROP_BORDER_TOP_STYLE: g_value_set_object (value, G_OBJECT (fo_title_get_border_top_style (fo_fo))); break; case PROP_BORDER_TOP_WIDTH: g_value_set_object (value, G_OBJECT (fo_title_get_border_top_width (fo_fo))); break; case PROP_COLOR: g_value_set_object (value, G_OBJECT (fo_title_get_color (fo_fo))); break; case PROP_FONT_FAMILY: g_value_set_object (value, G_OBJECT (fo_title_get_font_family (fo_fo))); break; case PROP_FONT_SIZE: g_value_set_object (value, G_OBJECT (fo_title_get_font_size (fo_fo))); break; case PROP_FONT_STRETCH: g_value_set_object (value, G_OBJECT (fo_title_get_font_stretch (fo_fo))); break; case PROP_FONT_STYLE: g_value_set_object (value, G_OBJECT (fo_title_get_font_style (fo_fo))); break; case PROP_FONT_VARIANT: g_value_set_object (value, G_OBJECT (fo_title_get_font_variant (fo_fo))); break; case PROP_FONT_WEIGHT: g_value_set_object (value, G_OBJECT (fo_title_get_font_weight (fo_fo))); break; case PROP_LINE_HEIGHT: g_value_set_object (value, G_OBJECT (fo_title_get_line_height (fo_fo))); break; case PROP_PADDING_AFTER: g_value_set_object (value, G_OBJECT (fo_title_get_padding_after (fo_fo))); break; case PROP_PADDING_BEFORE: g_value_set_object (value, G_OBJECT (fo_title_get_padding_before (fo_fo))); break; case PROP_PADDING_BOTTOM: g_value_set_object (value, G_OBJECT (fo_title_get_padding_bottom (fo_fo))); break; case PROP_PADDING_END: g_value_set_object (value, G_OBJECT (fo_title_get_padding_end (fo_fo))); break; case PROP_PADDING_LEFT: g_value_set_object (value, G_OBJECT (fo_title_get_padding_left (fo_fo))); break; case PROP_PADDING_RIGHT: g_value_set_object (value, G_OBJECT (fo_title_get_padding_right (fo_fo))); break; case PROP_PADDING_START: g_value_set_object (value, G_OBJECT (fo_title_get_padding_start (fo_fo))); break; case PROP_PADDING_TOP: g_value_set_object (value, G_OBJECT (fo_title_get_padding_top (fo_fo))); break; case PROP_ROLE: g_value_set_object (value, G_OBJECT (fo_title_get_role (fo_fo))); break; case PROP_SOURCE_DOCUMENT: g_value_set_object (value, G_OBJECT (fo_title_get_source_document (fo_fo))); break; case PROP_SPACE_END: g_value_set_object (value, G_OBJECT (fo_title_get_space_end (fo_fo))); break; case PROP_SPACE_START: g_value_set_object (value, G_OBJECT (fo_title_get_space_start (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_title_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoTitle. **/ void fo_title_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_BACKGROUND_COLOR: fo_title_set_background_color (fo_fo, g_value_get_object (value)); break; case PROP_BACKGROUND_IMAGE: fo_title_set_background_image (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_COLOR: fo_title_set_border_after_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_STYLE: fo_title_set_border_after_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_AFTER_WIDTH: fo_title_set_border_after_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_COLOR: fo_title_set_border_before_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_STYLE: fo_title_set_border_before_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BEFORE_WIDTH: fo_title_set_border_before_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_COLOR: fo_title_set_border_bottom_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_STYLE: fo_title_set_border_bottom_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_BOTTOM_WIDTH: fo_title_set_border_bottom_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_COLOR: fo_title_set_border_end_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_STYLE: fo_title_set_border_end_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_END_WIDTH: fo_title_set_border_end_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_COLOR: fo_title_set_border_left_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_STYLE: fo_title_set_border_left_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_LEFT_WIDTH: fo_title_set_border_left_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_COLOR: fo_title_set_border_right_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_STYLE: fo_title_set_border_right_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_RIGHT_WIDTH: fo_title_set_border_right_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_COLOR: fo_title_set_border_start_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_STYLE: fo_title_set_border_start_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_START_WIDTH: fo_title_set_border_start_width (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_COLOR: fo_title_set_border_top_color (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_STYLE: fo_title_set_border_top_style (fo_fo, g_value_get_object (value)); break; case PROP_BORDER_TOP_WIDTH: fo_title_set_border_top_width (fo_fo, g_value_get_object (value)); break; case PROP_COLOR: fo_title_set_color (fo_fo, g_value_get_object (value)); break; case PROP_FONT_FAMILY: fo_title_set_font_family (fo_fo, g_value_get_object (value)); break; case PROP_FONT_SIZE: fo_title_set_font_size (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STRETCH: fo_title_set_font_stretch (fo_fo, g_value_get_object (value)); break; case PROP_FONT_STYLE: fo_title_set_font_style (fo_fo, g_value_get_object (value)); break; case PROP_FONT_VARIANT: fo_title_set_font_variant (fo_fo, g_value_get_object (value)); break; case PROP_FONT_WEIGHT: fo_title_set_font_weight (fo_fo, g_value_get_object (value)); break; case PROP_LINE_HEIGHT: fo_title_set_line_height (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_AFTER: fo_title_set_padding_after (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BEFORE: fo_title_set_padding_before (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_BOTTOM: fo_title_set_padding_bottom (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_END: fo_title_set_padding_end (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_LEFT: fo_title_set_padding_left (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_RIGHT: fo_title_set_padding_right (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_START: fo_title_set_padding_start (fo_fo, g_value_get_object (value)); break; case PROP_PADDING_TOP: fo_title_set_padding_top (fo_fo, g_value_get_object (value)); break; case PROP_ROLE: fo_title_set_role (fo_fo, g_value_get_object (value)); break; case PROP_SOURCE_DOCUMENT: fo_title_set_source_document (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_END: fo_title_set_space_end (fo_fo, g_value_get_object (value)); break; case PROP_SPACE_START: fo_title_set_space_start (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_title_new: * * Creates a new #FoTitle initialized to default value. * * Return value: the new #FoTitle. **/ FoFo* fo_title_new (void) { return FO_FO (g_object_new (fo_title_get_type (), NULL)); } /** * fo_title_validate_content: * @fo: #FoTitle object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_title_validate_content (FoFo *fo, GError **error) { /*GError *tmp_error;*/ g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_TITLE (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); return FALSE; /* error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); */ } /** * fo_title_validate: * @fo: #FoTitle object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_title_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoTitle *fo_title; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TITLE (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_title = FO_TITLE (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_title_set_line_height (fo, fo_property_line_height_resolve (fo_title->line_height, fo_title->font_size)); } /** * fo_title_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_title_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TITLE (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_title_set_background_color (fo, fo_context_get_background_color (context)); fo_title_set_background_image (fo, fo_context_get_background_image (context)); fo_title_set_border_after_color (fo, fo_context_get_border_after_color (context)); fo_title_set_border_after_style (fo, fo_context_get_border_after_style (context)); fo_title_set_border_after_width (fo, fo_context_get_border_after_width (context)); fo_title_set_border_before_color (fo, fo_context_get_border_before_color (context)); fo_title_set_border_before_style (fo, fo_context_get_border_before_style (context)); fo_title_set_border_before_width (fo, fo_context_get_border_before_width (context)); fo_title_set_border_bottom_color (fo, fo_context_get_border_bottom_color (context)); fo_title_set_border_bottom_style (fo, fo_context_get_border_bottom_style (context)); fo_title_set_border_bottom_width (fo, fo_context_get_border_bottom_width (context)); fo_title_set_border_end_color (fo, fo_context_get_border_end_color (context)); fo_title_set_border_end_style (fo, fo_context_get_border_end_style (context)); fo_title_set_border_end_width (fo, fo_context_get_border_end_width (context)); fo_title_set_border_left_color (fo, fo_context_get_border_left_color (context)); fo_title_set_border_left_style (fo, fo_context_get_border_left_style (context)); fo_title_set_border_left_width (fo, fo_context_get_border_left_width (context)); fo_title_set_border_right_color (fo, fo_context_get_border_right_color (context)); fo_title_set_border_right_style (fo, fo_context_get_border_right_style (context)); fo_title_set_border_right_width (fo, fo_context_get_border_right_width (context)); fo_title_set_border_start_color (fo, fo_context_get_border_start_color (context)); fo_title_set_border_start_style (fo, fo_context_get_border_start_style (context)); fo_title_set_border_start_width (fo, fo_context_get_border_start_width (context)); fo_title_set_border_top_color (fo, fo_context_get_border_top_color (context)); fo_title_set_border_top_style (fo, fo_context_get_border_top_style (context)); fo_title_set_border_top_width (fo, fo_context_get_border_top_width (context)); fo_title_set_color (fo, fo_context_get_color (context)); fo_title_set_font_family (fo, fo_context_get_font_family (context)); fo_title_set_font_size (fo, fo_context_get_font_size (context)); fo_title_set_font_stretch (fo, fo_context_get_font_stretch (context)); fo_title_set_font_style (fo, fo_context_get_font_style (context)); fo_title_set_font_variant (fo, fo_context_get_font_variant (context)); fo_title_set_font_weight (fo, fo_context_get_font_weight (context)); fo_title_set_line_height (fo, fo_context_get_line_height (context)); fo_title_set_padding_after (fo, fo_context_get_padding_after (context)); fo_title_set_padding_before (fo, fo_context_get_padding_before (context)); fo_title_set_padding_bottom (fo, fo_context_get_padding_bottom (context)); fo_title_set_padding_end (fo, fo_context_get_padding_end (context)); fo_title_set_padding_left (fo, fo_context_get_padding_left (context)); fo_title_set_padding_right (fo, fo_context_get_padding_right (context)); fo_title_set_padding_start (fo, fo_context_get_padding_start (context)); fo_title_set_padding_top (fo, fo_context_get_padding_top (context)); fo_title_set_role (fo, fo_context_get_role (context)); fo_title_set_source_document (fo, fo_context_get_source_document (context)); fo_title_set_space_end (fo, fo_context_get_space_end (context)); fo_title_set_space_start (fo, fo_context_get_space_start (context)); } /** * fo_title_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_title_debug_dump_properties (FoFo *fo, gint depth) { FoTitle *fo_title; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_TITLE (fo)); fo_title = FO_TITLE (fo); fo_object_debug_dump (fo_title->background_color, depth); fo_object_debug_dump (fo_title->background_image, depth); fo_object_debug_dump (fo_title->border_after_color, depth); fo_object_debug_dump (fo_title->border_after_style, depth); fo_object_debug_dump (fo_title->border_after_width, depth); fo_object_debug_dump (fo_title->border_before_color, depth); fo_object_debug_dump (fo_title->border_before_style, depth); fo_object_debug_dump (fo_title->border_before_width, depth); fo_object_debug_dump (fo_title->border_bottom_color, depth); fo_object_debug_dump (fo_title->border_bottom_style, depth); fo_object_debug_dump (fo_title->border_bottom_width, depth); fo_object_debug_dump (fo_title->border_end_color, depth); fo_object_debug_dump (fo_title->border_end_style, depth); fo_object_debug_dump (fo_title->border_end_width, depth); fo_object_debug_dump (fo_title->border_left_color, depth); fo_object_debug_dump (fo_title->border_left_style, depth); fo_object_debug_dump (fo_title->border_left_width, depth); fo_object_debug_dump (fo_title->border_right_color, depth); fo_object_debug_dump (fo_title->border_right_style, depth); fo_object_debug_dump (fo_title->border_right_width, depth); fo_object_debug_dump (fo_title->border_start_color, depth); fo_object_debug_dump (fo_title->border_start_style, depth); fo_object_debug_dump (fo_title->border_start_width, depth); fo_object_debug_dump (fo_title->border_top_color, depth); fo_object_debug_dump (fo_title->border_top_style, depth); fo_object_debug_dump (fo_title->border_top_width, depth); fo_object_debug_dump (fo_title->color, depth); fo_object_debug_dump (fo_title->font_family, depth); fo_object_debug_dump (fo_title->font_size, depth); fo_object_debug_dump (fo_title->font_stretch, depth); fo_object_debug_dump (fo_title->font_style, depth); fo_object_debug_dump (fo_title->font_variant, depth); fo_object_debug_dump (fo_title->font_weight, depth); fo_object_debug_dump (fo_title->line_height, depth); fo_object_debug_dump (fo_title->padding_after, depth); fo_object_debug_dump (fo_title->padding_before, depth); fo_object_debug_dump (fo_title->padding_bottom, depth); fo_object_debug_dump (fo_title->padding_end, depth); fo_object_debug_dump (fo_title->padding_left, depth); fo_object_debug_dump (fo_title->padding_right, depth); fo_object_debug_dump (fo_title->padding_start, depth); fo_object_debug_dump (fo_title->padding_top, depth); fo_object_debug_dump (fo_title->role, depth); fo_object_debug_dump (fo_title->source_document, depth); fo_object_debug_dump (fo_title->space_end, depth); fo_object_debug_dump (fo_title->space_start, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_title_get_background_color: * @fo_fo: The @FoFo object * * Gets the "background-color" property of @fo_fo * * Return value: The "background-color" property value **/ FoProperty * fo_title_get_background_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->background_color; } /** * fo_title_set_background_color: * @fo_fo: The #FoFo object * @new_background_color: The new "background-color" property value * * Sets the "background-color" property of @fo_fo to @new_background_color **/ void fo_title_set_background_color (FoFo *fo_fo, FoProperty *new_background_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY (new_background_color)); if (new_background_color != NULL) { g_object_ref (new_background_color); } if (fo_title->background_color != NULL) { g_object_unref (fo_title->background_color); } fo_title->background_color = new_background_color; /*g_object_notify (G_OBJECT (fo_title), "background-color");*/ } /** * fo_title_get_background_image: * @fo_fo: The @FoFo object * * Gets the "background-image" property of @fo_fo * * Return value: The "background-image" property value **/ FoProperty* fo_title_get_background_image (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->background_image; } /** * fo_title_set_background_image: * @fo_fo: The #FoFo object * @new_background_image: The new "background-image" property value * * Sets the "background-image" property of @fo_fo to @new_background_image **/ void fo_title_set_background_image (FoFo *fo_fo, FoProperty *new_background_image) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BACKGROUND_IMAGE (new_background_image)); if (new_background_image != NULL) { g_object_ref (new_background_image); } if (fo_title->background_image != NULL) { g_object_unref (fo_title->background_image); } fo_title->background_image = new_background_image; /*g_object_notify (G_OBJECT (fo_title), "background-image");*/ } /** * fo_title_get_border_after_color: * @fo_fo: The @FoFo object * * Gets the "border-after-color" property of @fo_fo * * Return value: The "border-after-color" property value **/ FoProperty* fo_title_get_border_after_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_after_color; } /** * fo_title_set_border_after_color: * @fo_fo: The #FoFo object * @new_border_after_color: The new "border-after-color" property value * * Sets the "border-after-color" property of @fo_fo to @new_border_after_color **/ void fo_title_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_COLOR (new_border_after_color)); if (new_border_after_color != NULL) { g_object_ref (new_border_after_color); } if (fo_title->border_after_color != NULL) { g_object_unref (fo_title->border_after_color); } fo_title->border_after_color = new_border_after_color; /*g_object_notify (G_OBJECT (fo_title), "border-after-color");*/ } /** * fo_title_get_border_after_style: * @fo_fo: The @FoFo object * * Gets the "border-after-style" property of @fo_fo * * Return value: The "border-after-style" property value **/ FoProperty* fo_title_get_border_after_style (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_after_style; } /** * fo_title_set_border_after_style: * @fo_fo: The #FoFo object * @new_border_after_style: The new "border-after-style" property value * * Sets the "border-after-style" property of @fo_fo to @new_border_after_style **/ void fo_title_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_STYLE (new_border_after_style)); if (new_border_after_style != NULL) { g_object_ref (new_border_after_style); } if (fo_title->border_after_style != NULL) { g_object_unref (fo_title->border_after_style); } fo_title->border_after_style = new_border_after_style; /*g_object_notify (G_OBJECT (fo_title), "border-after-style");*/ } /** * fo_title_get_border_after_width: * @fo_fo: The @FoFo object * * Gets the "border-after-width" property of @fo_fo * * Return value: The "border-after-width" property value **/ FoProperty* fo_title_get_border_after_width (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_after_width; } /** * fo_title_set_border_after_width: * @fo_fo: The #FoFo object * @new_border_after_width: The new "border-after-width" property value * * Sets the "border-after-width" property of @fo_fo to @new_border_after_width **/ void fo_title_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_AFTER_WIDTH (new_border_after_width)); if (new_border_after_width != NULL) { g_object_ref (new_border_after_width); } if (fo_title->border_after_width != NULL) { g_object_unref (fo_title->border_after_width); } fo_title->border_after_width = new_border_after_width; /*g_object_notify (G_OBJECT (fo_title), "border-after-width");*/ } /** * fo_title_get_border_before_color: * @fo_fo: The @FoFo object * * Gets the "border-before-color" property of @fo_fo * * Return value: The "border-before-color" property value **/ FoProperty* fo_title_get_border_before_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_before_color; } /** * fo_title_set_border_before_color: * @fo_fo: The #FoFo object * @new_border_before_color: The new "border-before-color" property value * * Sets the "border-before-color" property of @fo_fo to @new_border_before_color **/ void fo_title_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_COLOR (new_border_before_color)); if (new_border_before_color != NULL) { g_object_ref (new_border_before_color); } if (fo_title->border_before_color != NULL) { g_object_unref (fo_title->border_before_color); } fo_title->border_before_color = new_border_before_color; /*g_object_notify (G_OBJECT (fo_title), "border-before-color");*/ } /** * fo_title_get_border_before_style: * @fo_fo: The @FoFo object * * Gets the "border-before-style" property of @fo_fo * * Return value: The "border-before-style" property value **/ FoProperty* fo_title_get_border_before_style (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_before_style; } /** * fo_title_set_border_before_style: * @fo_fo: The #FoFo object * @new_border_before_style: The new "border-before-style" property value * * Sets the "border-before-style" property of @fo_fo to @new_border_before_style **/ void fo_title_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_STYLE (new_border_before_style)); if (new_border_before_style != NULL) { g_object_ref (new_border_before_style); } if (fo_title->border_before_style != NULL) { g_object_unref (fo_title->border_before_style); } fo_title->border_before_style = new_border_before_style; /*g_object_notify (G_OBJECT (fo_title), "border-before-style");*/ } /** * fo_title_get_border_before_width: * @fo_fo: The @FoFo object * * Gets the "border-before-width" property of @fo_fo * * Return value: The "border-before-width" property value **/ FoProperty* fo_title_get_border_before_width (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_before_width; } /** * fo_title_set_border_before_width: * @fo_fo: The #FoFo object * @new_border_before_width: The new "border-before-width" property value * * Sets the "border-before-width" property of @fo_fo to @new_border_before_width **/ void fo_title_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BEFORE_WIDTH (new_border_before_width)); if (new_border_before_width != NULL) { g_object_ref (new_border_before_width); } if (fo_title->border_before_width != NULL) { g_object_unref (fo_title->border_before_width); } fo_title->border_before_width = new_border_before_width; /*g_object_notify (G_OBJECT (fo_title), "border-before-width");*/ } /** * fo_title_get_border_bottom_color: * @fo_fo: The @FoFo object * * Gets the "border-bottom-color" property of @fo_fo * * Return value: The "border-bottom-color" property value **/ FoProperty* fo_title_get_border_bottom_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_bottom_color; } /** * fo_title_set_border_bottom_color: * @fo_fo: The #FoFo object * @new_border_bottom_color: The new "border-bottom-color" property value * * Sets the "border-bottom-color" property of @fo_fo to @new_border_bottom_color **/ void fo_title_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_COLOR (new_border_bottom_color)); if (new_border_bottom_color != NULL) { g_object_ref (new_border_bottom_color); } if (fo_title->border_bottom_color != NULL) { g_object_unref (fo_title->border_bottom_color); } fo_title->border_bottom_color = new_border_bottom_color; /*g_object_notify (G_OBJECT (fo_title), "border-bottom-color");*/ } /** * fo_title_get_border_bottom_style: * @fo_fo: The @FoFo object * * Gets the "border-bottom-style" property of @fo_fo * * Return value: The "border-bottom-style" property value **/ FoProperty* fo_title_get_border_bottom_style (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_bottom_style; } /** * fo_title_set_border_bottom_style: * @fo_fo: The #FoFo object * @new_border_bottom_style: The new "border-bottom-style" property value * * Sets the "border-bottom-style" property of @fo_fo to @new_border_bottom_style **/ void fo_title_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_STYLE (new_border_bottom_style)); if (new_border_bottom_style != NULL) { g_object_ref (new_border_bottom_style); } if (fo_title->border_bottom_style != NULL) { g_object_unref (fo_title->border_bottom_style); } fo_title->border_bottom_style = new_border_bottom_style; /*g_object_notify (G_OBJECT (fo_title), "border-bottom-style");*/ } /** * fo_title_get_border_bottom_width: * @fo_fo: The @FoFo object * * Gets the "border-bottom-width" property of @fo_fo * * Return value: The "border-bottom-width" property value **/ FoProperty* fo_title_get_border_bottom_width (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_bottom_width; } /** * fo_title_set_border_bottom_width: * @fo_fo: The #FoFo object * @new_border_bottom_width: The new "border-bottom-width" property value * * Sets the "border-bottom-width" property of @fo_fo to @new_border_bottom_width **/ void fo_title_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH (new_border_bottom_width)); if (new_border_bottom_width != NULL) { g_object_ref (new_border_bottom_width); } if (fo_title->border_bottom_width != NULL) { g_object_unref (fo_title->border_bottom_width); } fo_title->border_bottom_width = new_border_bottom_width; /*g_object_notify (G_OBJECT (fo_title), "border-bottom-width");*/ } /** * fo_title_get_border_end_color: * @fo_fo: The @FoFo object * * Gets the "border-end-color" property of @fo_fo * * Return value: The "border-end-color" property value **/ FoProperty* fo_title_get_border_end_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_end_color; } /** * fo_title_set_border_end_color: * @fo_fo: The #FoFo object * @new_border_end_color: The new "border-end-color" property value * * Sets the "border-end-color" property of @fo_fo to @new_border_end_color **/ void fo_title_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_COLOR (new_border_end_color)); if (new_border_end_color != NULL) { g_object_ref (new_border_end_color); } if (fo_title->border_end_color != NULL) { g_object_unref (fo_title->border_end_color); } fo_title->border_end_color = new_border_end_color; /*g_object_notify (G_OBJECT (fo_title), "border-end-color");*/ } /** * fo_title_get_border_end_style: * @fo_fo: The @FoFo object * * Gets the "border-end-style" property of @fo_fo * * Return value: The "border-end-style" property value **/ FoProperty* fo_title_get_border_end_style (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_end_style; } /** * fo_title_set_border_end_style: * @fo_fo: The #FoFo object * @new_border_end_style: The new "border-end-style" property value * * Sets the "border-end-style" property of @fo_fo to @new_border_end_style **/ void fo_title_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_STYLE (new_border_end_style)); if (new_border_end_style != NULL) { g_object_ref (new_border_end_style); } if (fo_title->border_end_style != NULL) { g_object_unref (fo_title->border_end_style); } fo_title->border_end_style = new_border_end_style; /*g_object_notify (G_OBJECT (fo_title), "border-end-style");*/ } /** * fo_title_get_border_end_width: * @fo_fo: The @FoFo object * * Gets the "border-end-width" property of @fo_fo * * Return value: The "border-end-width" property value **/ FoProperty* fo_title_get_border_end_width (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_end_width; } /** * fo_title_set_border_end_width: * @fo_fo: The #FoFo object * @new_border_end_width: The new "border-end-width" property value * * Sets the "border-end-width" property of @fo_fo to @new_border_end_width **/ void fo_title_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_END_WIDTH (new_border_end_width)); if (new_border_end_width != NULL) { g_object_ref (new_border_end_width); } if (fo_title->border_end_width != NULL) { g_object_unref (fo_title->border_end_width); } fo_title->border_end_width = new_border_end_width; /*g_object_notify (G_OBJECT (fo_title), "border-end-width");*/ } /** * fo_title_get_border_left_color: * @fo_fo: The @FoFo object * * Gets the "border-left-color" property of @fo_fo * * Return value: The "border-left-color" property value **/ FoProperty* fo_title_get_border_left_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_left_color; } /** * fo_title_set_border_left_color: * @fo_fo: The #FoFo object * @new_border_left_color: The new "border-left-color" property value * * Sets the "border-left-color" property of @fo_fo to @new_border_left_color **/ void fo_title_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_COLOR (new_border_left_color)); if (new_border_left_color != NULL) { g_object_ref (new_border_left_color); } if (fo_title->border_left_color != NULL) { g_object_unref (fo_title->border_left_color); } fo_title->border_left_color = new_border_left_color; /*g_object_notify (G_OBJECT (fo_title), "border-left-color");*/ } /** * fo_title_get_border_left_style: * @fo_fo: The @FoFo object * * Gets the "border-left-style" property of @fo_fo * * Return value: The "border-left-style" property value **/ FoProperty* fo_title_get_border_left_style (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_left_style; } /** * fo_title_set_border_left_style: * @fo_fo: The #FoFo object * @new_border_left_style: The new "border-left-style" property value * * Sets the "border-left-style" property of @fo_fo to @new_border_left_style **/ void fo_title_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_STYLE (new_border_left_style)); if (new_border_left_style != NULL) { g_object_ref (new_border_left_style); } if (fo_title->border_left_style != NULL) { g_object_unref (fo_title->border_left_style); } fo_title->border_left_style = new_border_left_style; /*g_object_notify (G_OBJECT (fo_title), "border-left-style");*/ } /** * fo_title_get_border_left_width: * @fo_fo: The @FoFo object * * Gets the "border-left-width" property of @fo_fo * * Return value: The "border-left-width" property value **/ FoProperty* fo_title_get_border_left_width (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_left_width; } /** * fo_title_set_border_left_width: * @fo_fo: The #FoFo object * @new_border_left_width: The new "border-left-width" property value * * Sets the "border-left-width" property of @fo_fo to @new_border_left_width **/ void fo_title_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_LEFT_WIDTH (new_border_left_width)); if (new_border_left_width != NULL) { g_object_ref (new_border_left_width); } if (fo_title->border_left_width != NULL) { g_object_unref (fo_title->border_left_width); } fo_title->border_left_width = new_border_left_width; /*g_object_notify (G_OBJECT (fo_title), "border-left-width");*/ } /** * fo_title_get_border_right_color: * @fo_fo: The @FoFo object * * Gets the "border-right-color" property of @fo_fo * * Return value: The "border-right-color" property value **/ FoProperty* fo_title_get_border_right_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_right_color; } /** * fo_title_set_border_right_color: * @fo_fo: The #FoFo object * @new_border_right_color: The new "border-right-color" property value * * Sets the "border-right-color" property of @fo_fo to @new_border_right_color **/ void fo_title_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_COLOR (new_border_right_color)); if (new_border_right_color != NULL) { g_object_ref (new_border_right_color); } if (fo_title->border_right_color != NULL) { g_object_unref (fo_title->border_right_color); } fo_title->border_right_color = new_border_right_color; /*g_object_notify (G_OBJECT (fo_title), "border-right-color");*/ } /** * fo_title_get_border_right_style: * @fo_fo: The @FoFo object * * Gets the "border-right-style" property of @fo_fo * * Return value: The "border-right-style" property value **/ FoProperty* fo_title_get_border_right_style (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_right_style; } /** * fo_title_set_border_right_style: * @fo_fo: The #FoFo object * @new_border_right_style: The new "border-right-style" property value * * Sets the "border-right-style" property of @fo_fo to @new_border_right_style **/ void fo_title_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_STYLE (new_border_right_style)); if (new_border_right_style != NULL) { g_object_ref (new_border_right_style); } if (fo_title->border_right_style != NULL) { g_object_unref (fo_title->border_right_style); } fo_title->border_right_style = new_border_right_style; /*g_object_notify (G_OBJECT (fo_title), "border-right-style");*/ } /** * fo_title_get_border_right_width: * @fo_fo: The @FoFo object * * Gets the "border-right-width" property of @fo_fo * * Return value: The "border-right-width" property value **/ FoProperty* fo_title_get_border_right_width (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_right_width; } /** * fo_title_set_border_right_width: * @fo_fo: The #FoFo object * @new_border_right_width: The new "border-right-width" property value * * Sets the "border-right-width" property of @fo_fo to @new_border_right_width **/ void fo_title_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_RIGHT_WIDTH (new_border_right_width)); if (new_border_right_width != NULL) { g_object_ref (new_border_right_width); } if (fo_title->border_right_width != NULL) { g_object_unref (fo_title->border_right_width); } fo_title->border_right_width = new_border_right_width; /*g_object_notify (G_OBJECT (fo_title), "border-right-width");*/ } /** * fo_title_get_border_start_color: * @fo_fo: The @FoFo object * * Gets the "border-start-color" property of @fo_fo * * Return value: The "border-start-color" property value **/ FoProperty* fo_title_get_border_start_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_start_color; } /** * fo_title_set_border_start_color: * @fo_fo: The #FoFo object * @new_border_start_color: The new "border-start-color" property value * * Sets the "border-start-color" property of @fo_fo to @new_border_start_color **/ void fo_title_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_COLOR (new_border_start_color)); if (new_border_start_color != NULL) { g_object_ref (new_border_start_color); } if (fo_title->border_start_color != NULL) { g_object_unref (fo_title->border_start_color); } fo_title->border_start_color = new_border_start_color; /*g_object_notify (G_OBJECT (fo_title), "border-start-color");*/ } /** * fo_title_get_border_start_style: * @fo_fo: The @FoFo object * * Gets the "border-start-style" property of @fo_fo * * Return value: The "border-start-style" property value **/ FoProperty* fo_title_get_border_start_style (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_start_style; } /** * fo_title_set_border_start_style: * @fo_fo: The #FoFo object * @new_border_start_style: The new "border-start-style" property value * * Sets the "border-start-style" property of @fo_fo to @new_border_start_style **/ void fo_title_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_STYLE (new_border_start_style)); if (new_border_start_style != NULL) { g_object_ref (new_border_start_style); } if (fo_title->border_start_style != NULL) { g_object_unref (fo_title->border_start_style); } fo_title->border_start_style = new_border_start_style; /*g_object_notify (G_OBJECT (fo_title), "border-start-style");*/ } /** * fo_title_get_border_start_width: * @fo_fo: The @FoFo object * * Gets the "border-start-width" property of @fo_fo * * Return value: The "border-start-width" property value **/ FoProperty* fo_title_get_border_start_width (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_start_width; } /** * fo_title_set_border_start_width: * @fo_fo: The #FoFo object * @new_border_start_width: The new "border-start-width" property value * * Sets the "border-start-width" property of @fo_fo to @new_border_start_width **/ void fo_title_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_START_WIDTH (new_border_start_width)); if (new_border_start_width != NULL) { g_object_ref (new_border_start_width); } if (fo_title->border_start_width != NULL) { g_object_unref (fo_title->border_start_width); } fo_title->border_start_width = new_border_start_width; /*g_object_notify (G_OBJECT (fo_title), "border-start-width");*/ } /** * fo_title_get_border_top_color: * @fo_fo: The @FoFo object * * Gets the "border-top-color" property of @fo_fo * * Return value: The "border-top-color" property value **/ FoProperty* fo_title_get_border_top_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_top_color; } /** * fo_title_set_border_top_color: * @fo_fo: The #FoFo object * @new_border_top_color: The new "border-top-color" property value * * Sets the "border-top-color" property of @fo_fo to @new_border_top_color **/ void fo_title_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_COLOR (new_border_top_color)); if (new_border_top_color != NULL) { g_object_ref (new_border_top_color); } if (fo_title->border_top_color != NULL) { g_object_unref (fo_title->border_top_color); } fo_title->border_top_color = new_border_top_color; /*g_object_notify (G_OBJECT (fo_title), "border-top-color");*/ } /** * fo_title_get_border_top_style: * @fo_fo: The @FoFo object * * Gets the "border-top-style" property of @fo_fo * * Return value: The "border-top-style" property value **/ FoProperty* fo_title_get_border_top_style (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_top_style; } /** * fo_title_set_border_top_style: * @fo_fo: The #FoFo object * @new_border_top_style: The new "border-top-style" property value * * Sets the "border-top-style" property of @fo_fo to @new_border_top_style **/ void fo_title_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_STYLE (new_border_top_style)); if (new_border_top_style != NULL) { g_object_ref (new_border_top_style); } if (fo_title->border_top_style != NULL) { g_object_unref (fo_title->border_top_style); } fo_title->border_top_style = new_border_top_style; /*g_object_notify (G_OBJECT (fo_title), "border-top-style");*/ } /** * fo_title_get_border_top_width: * @fo_fo: The @FoFo object * * Gets the "border-top-width" property of @fo_fo * * Return value: The "border-top-width" property value **/ FoProperty* fo_title_get_border_top_width (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->border_top_width; } /** * fo_title_set_border_top_width: * @fo_fo: The #FoFo object * @new_border_top_width: The new "border-top-width" property value * * Sets the "border-top-width" property of @fo_fo to @new_border_top_width **/ void fo_title_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_BORDER_TOP_WIDTH (new_border_top_width)); if (new_border_top_width != NULL) { g_object_ref (new_border_top_width); } if (fo_title->border_top_width != NULL) { g_object_unref (fo_title->border_top_width); } fo_title->border_top_width = new_border_top_width; /*g_object_notify (G_OBJECT (fo_title), "border-top-width");*/ } /** * fo_title_get_color: * @fo_fo: The @FoFo object * * Gets the "color" property of @fo_fo * * Return value: The "color" property value **/ FoProperty* fo_title_get_color (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->color; } /** * fo_title_set_color: * @fo_fo: The #FoFo object * @new_color: The new "color" property value * * Sets the "color" property of @fo_fo to @new_color **/ void fo_title_set_color (FoFo *fo_fo, FoProperty *new_color) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_COLOR (new_color)); if (new_color != NULL) { g_object_ref (new_color); } if (fo_title->color != NULL) { g_object_unref (fo_title->color); } fo_title->color = new_color; /*g_object_notify (G_OBJECT (fo_title), "color");*/ } /** * fo_title_get_font_family: * @fo_fo: The @FoFo object * * Gets the "font-family" property of @fo_fo * * Return value: The "font-family" property value **/ FoProperty* fo_title_get_font_family (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->font_family; } /** * fo_title_set_font_family: * @fo_fo: The #FoFo object * @new_font_family: The new "font-family" property value * * Sets the "font-family" property of @fo_fo to @new_font_family **/ void fo_title_set_font_family (FoFo *fo_fo, FoProperty *new_font_family) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_FONT_FAMILY (new_font_family)); if (new_font_family != NULL) { g_object_ref (new_font_family); } if (fo_title->font_family != NULL) { g_object_unref (fo_title->font_family); } fo_title->font_family = new_font_family; /*g_object_notify (G_OBJECT (fo_title), "font-family");*/ } /** * fo_title_get_font_size: * @fo_fo: The @FoFo object * * Gets the "font-size" property of @fo_fo * * Return value: The "font-size" property value **/ FoProperty* fo_title_get_font_size (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->font_size; } /** * fo_title_set_font_size: * @fo_fo: The #FoFo object * @new_font_size: The new "font-size" property value * * Sets the "font-size" property of @fo_fo to @new_font_size **/ void fo_title_set_font_size (FoFo *fo_fo, FoProperty *new_font_size) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_FONT_SIZE (new_font_size)); if (new_font_size != NULL) { g_object_ref (new_font_size); } if (fo_title->font_size != NULL) { g_object_unref (fo_title->font_size); } fo_title->font_size = new_font_size; /*g_object_notify (G_OBJECT (fo_title), "font-size");*/ } /** * fo_title_get_font_stretch: * @fo_fo: The @FoFo object * * Gets the "font-stretch" property of @fo_fo * * Return value: The "font-stretch" property value **/ FoProperty* fo_title_get_font_stretch (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->font_stretch; } /** * fo_title_set_font_stretch: * @fo_fo: The #FoFo object * @new_font_stretch: The new "font-stretch" property value * * Sets the "font-stretch" property of @fo_fo to @new_font_stretch **/ void fo_title_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_FONT_STRETCH (new_font_stretch)); if (new_font_stretch != NULL) { g_object_ref (new_font_stretch); } if (fo_title->font_stretch != NULL) { g_object_unref (fo_title->font_stretch); } fo_title->font_stretch = new_font_stretch; /*g_object_notify (G_OBJECT (fo_title), "font-stretch");*/ } /** * fo_title_get_font_style: * @fo_fo: The @FoFo object * * Gets the "font-style" property of @fo_fo * * Return value: The "font-style" property value **/ FoProperty* fo_title_get_font_style (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->font_style; } /** * fo_title_set_font_style: * @fo_fo: The #FoFo object * @new_font_style: The new "font-style" property value * * Sets the "font-style" property of @fo_fo to @new_font_style **/ void fo_title_set_font_style (FoFo *fo_fo, FoProperty *new_font_style) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_FONT_STYLE (new_font_style)); if (new_font_style != NULL) { g_object_ref (new_font_style); } if (fo_title->font_style != NULL) { g_object_unref (fo_title->font_style); } fo_title->font_style = new_font_style; /*g_object_notify (G_OBJECT (fo_title), "font-style");*/ } /** * fo_title_get_font_variant: * @fo_fo: The @FoFo object * * Gets the "font-variant" property of @fo_fo * * Return value: The "font-variant" property value **/ FoProperty* fo_title_get_font_variant (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->font_variant; } /** * fo_title_set_font_variant: * @fo_fo: The #FoFo object * @new_font_variant: The new "font-variant" property value * * Sets the "font-variant" property of @fo_fo to @new_font_variant **/ void fo_title_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_FONT_VARIANT (new_font_variant)); if (new_font_variant != NULL) { g_object_ref (new_font_variant); } if (fo_title->font_variant != NULL) { g_object_unref (fo_title->font_variant); } fo_title->font_variant = new_font_variant; /*g_object_notify (G_OBJECT (fo_title), "font-variant");*/ } /** * fo_title_get_font_weight: * @fo_fo: The @FoFo object * * Gets the "font-weight" property of @fo_fo * * Return value: The "font-weight" property value **/ FoProperty* fo_title_get_font_weight (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->font_weight; } /** * fo_title_set_font_weight: * @fo_fo: The #FoFo object * @new_font_weight: The new "font-weight" property value * * Sets the "font-weight" property of @fo_fo to @new_font_weight **/ void fo_title_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (new_font_weight)); if (new_font_weight != NULL) { g_object_ref (new_font_weight); } if (fo_title->font_weight != NULL) { g_object_unref (fo_title->font_weight); } fo_title->font_weight = new_font_weight; /*g_object_notify (G_OBJECT (fo_title), "font-weight");*/ } /** * fo_title_get_line_height: * @fo_fo: The @FoFo object * * Gets the "line-height" property of @fo_fo * * Return value: The "line-height" property value **/ FoProperty* fo_title_get_line_height (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->line_height; } /** * fo_title_set_line_height: * @fo_fo: The #FoFo object * @new_line_height: The new "line-height" property value * * Sets the "line-height" property of @fo_fo to @new_line_height **/ void fo_title_set_line_height (FoFo *fo_fo, FoProperty *new_line_height) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (new_line_height)); if (new_line_height != NULL) { g_object_ref (new_line_height); } if (fo_title->line_height != NULL) { g_object_unref (fo_title->line_height); } fo_title->line_height = new_line_height; /*g_object_notify (G_OBJECT (fo_title), "line-height");*/ } /** * fo_title_get_padding_after: * @fo_fo: The @FoFo object * * Gets the "padding-after" property of @fo_fo * * Return value: The "padding-after" property value **/ FoProperty* fo_title_get_padding_after (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->padding_after; } /** * fo_title_set_padding_after: * @fo_fo: The #FoFo object * @new_padding_after: The new "padding-after" property value * * Sets the "padding-after" property of @fo_fo to @new_padding_after **/ void fo_title_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_PADDING_AFTER (new_padding_after)); if (new_padding_after != NULL) { g_object_ref (new_padding_after); } if (fo_title->padding_after != NULL) { g_object_unref (fo_title->padding_after); } fo_title->padding_after = new_padding_after; /*g_object_notify (G_OBJECT (fo_title), "padding-after");*/ } /** * fo_title_get_padding_before: * @fo_fo: The @FoFo object * * Gets the "padding-before" property of @fo_fo * * Return value: The "padding-before" property value **/ FoProperty* fo_title_get_padding_before (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->padding_before; } /** * fo_title_set_padding_before: * @fo_fo: The #FoFo object * @new_padding_before: The new "padding-before" property value * * Sets the "padding-before" property of @fo_fo to @new_padding_before **/ void fo_title_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BEFORE (new_padding_before)); if (new_padding_before != NULL) { g_object_ref (new_padding_before); } if (fo_title->padding_before != NULL) { g_object_unref (fo_title->padding_before); } fo_title->padding_before = new_padding_before; /*g_object_notify (G_OBJECT (fo_title), "padding-before");*/ } /** * fo_title_get_padding_bottom: * @fo_fo: The @FoFo object * * Gets the "padding-bottom" property of @fo_fo * * Return value: The "padding-bottom" property value **/ FoProperty* fo_title_get_padding_bottom (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->padding_bottom; } /** * fo_title_set_padding_bottom: * @fo_fo: The #FoFo object * @new_padding_bottom: The new "padding-bottom" property value * * Sets the "padding-bottom" property of @fo_fo to @new_padding_bottom **/ void fo_title_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_PADDING_BOTTOM (new_padding_bottom)); if (new_padding_bottom != NULL) { g_object_ref (new_padding_bottom); } if (fo_title->padding_bottom != NULL) { g_object_unref (fo_title->padding_bottom); } fo_title->padding_bottom = new_padding_bottom; /*g_object_notify (G_OBJECT (fo_title), "padding-bottom");*/ } /** * fo_title_get_padding_end: * @fo_fo: The @FoFo object * * Gets the "padding-end" property of @fo_fo * * Return value: The "padding-end" property value **/ FoProperty* fo_title_get_padding_end (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->padding_end; } /** * fo_title_set_padding_end: * @fo_fo: The #FoFo object * @new_padding_end: The new "padding-end" property value * * Sets the "padding-end" property of @fo_fo to @new_padding_end **/ void fo_title_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_PADDING_END (new_padding_end)); if (new_padding_end != NULL) { g_object_ref (new_padding_end); } if (fo_title->padding_end != NULL) { g_object_unref (fo_title->padding_end); } fo_title->padding_end = new_padding_end; /*g_object_notify (G_OBJECT (fo_title), "padding-end");*/ } /** * fo_title_get_padding_left: * @fo_fo: The @FoFo object * * Gets the "padding-left" property of @fo_fo * * Return value: The "padding-left" property value **/ FoProperty* fo_title_get_padding_left (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->padding_left; } /** * fo_title_set_padding_left: * @fo_fo: The #FoFo object * @new_padding_left: The new "padding-left" property value * * Sets the "padding-left" property of @fo_fo to @new_padding_left **/ void fo_title_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_PADDING_LEFT (new_padding_left)); if (new_padding_left != NULL) { g_object_ref (new_padding_left); } if (fo_title->padding_left != NULL) { g_object_unref (fo_title->padding_left); } fo_title->padding_left = new_padding_left; /*g_object_notify (G_OBJECT (fo_title), "padding-left");*/ } /** * fo_title_get_padding_right: * @fo_fo: The @FoFo object * * Gets the "padding-right" property of @fo_fo * * Return value: The "padding-right" property value **/ FoProperty* fo_title_get_padding_right (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->padding_right; } /** * fo_title_set_padding_right: * @fo_fo: The #FoFo object * @new_padding_right: The new "padding-right" property value * * Sets the "padding-right" property of @fo_fo to @new_padding_right **/ void fo_title_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_PADDING_RIGHT (new_padding_right)); if (new_padding_right != NULL) { g_object_ref (new_padding_right); } if (fo_title->padding_right != NULL) { g_object_unref (fo_title->padding_right); } fo_title->padding_right = new_padding_right; /*g_object_notify (G_OBJECT (fo_title), "padding-right");*/ } /** * fo_title_get_padding_start: * @fo_fo: The @FoFo object * * Gets the "padding-start" property of @fo_fo * * Return value: The "padding-start" property value **/ FoProperty* fo_title_get_padding_start (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->padding_start; } /** * fo_title_set_padding_start: * @fo_fo: The #FoFo object * @new_padding_start: The new "padding-start" property value * * Sets the "padding-start" property of @fo_fo to @new_padding_start **/ void fo_title_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_PADDING_START (new_padding_start)); if (new_padding_start != NULL) { g_object_ref (new_padding_start); } if (fo_title->padding_start != NULL) { g_object_unref (fo_title->padding_start); } fo_title->padding_start = new_padding_start; /*g_object_notify (G_OBJECT (fo_title), "padding-start");*/ } /** * fo_title_get_padding_top: * @fo_fo: The @FoFo object * * Gets the "padding-top" property of @fo_fo * * Return value: The "padding-top" property value **/ FoProperty* fo_title_get_padding_top (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->padding_top; } /** * fo_title_set_padding_top: * @fo_fo: The #FoFo object * @new_padding_top: The new "padding-top" property value * * Sets the "padding-top" property of @fo_fo to @new_padding_top **/ void fo_title_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_PADDING_TOP (new_padding_top)); if (new_padding_top != NULL) { g_object_ref (new_padding_top); } if (fo_title->padding_top != NULL) { g_object_unref (fo_title->padding_top); } fo_title->padding_top = new_padding_top; /*g_object_notify (G_OBJECT (fo_title), "padding-top");*/ } /** * fo_title_get_role: * @fo_fo: The @FoFo object * * Gets the "role" property of @fo_fo * * Return value: The "role" property value **/ FoProperty* fo_title_get_role (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->role; } /** * fo_title_set_role: * @fo_fo: The #FoFo object * @new_role: The new "role" property value * * Sets the "role" property of @fo_fo to @new_role **/ void fo_title_set_role (FoFo *fo_fo, FoProperty *new_role) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_ROLE (new_role)); if (new_role != NULL) { g_object_ref (new_role); } if (fo_title->role != NULL) { g_object_unref (fo_title->role); } fo_title->role = new_role; /*g_object_notify (G_OBJECT (fo_title), "role");*/ } /** * fo_title_get_source_document: * @fo_fo: The @FoFo object * * Gets the "source-document" property of @fo_fo * * Return value: The "source-document" property value **/ FoProperty* fo_title_get_source_document (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->source_document; } /** * fo_title_set_source_document: * @fo_fo: The #FoFo object * @new_source_document: The new "source-document" property value * * Sets the "source-document" property of @fo_fo to @new_source_document **/ void fo_title_set_source_document (FoFo *fo_fo, FoProperty *new_source_document) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_SOURCE_DOCUMENT (new_source_document)); if (new_source_document != NULL) { g_object_ref (new_source_document); } if (fo_title->source_document != NULL) { g_object_unref (fo_title->source_document); } fo_title->source_document = new_source_document; /*g_object_notify (G_OBJECT (fo_title), "source-document");*/ } /** * fo_title_get_space_end: * @fo_fo: The @FoFo object * * Gets the "space-end" property of @fo_fo * * Return value: The "space-end" property value **/ FoProperty* fo_title_get_space_end (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->space_end; } /** * fo_title_set_space_end: * @fo_fo: The #FoFo object * @new_space_end: The new "space-end" property value * * Sets the "space-end" property of @fo_fo to @new_space_end **/ void fo_title_set_space_end (FoFo *fo_fo, FoProperty *new_space_end) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_SPACE_END (new_space_end)); if (new_space_end != NULL) { g_object_ref (new_space_end); } if (fo_title->space_end != NULL) { g_object_unref (fo_title->space_end); } fo_title->space_end = new_space_end; /*g_object_notify (G_OBJECT (fo_title), "space-end");*/ } /** * fo_title_get_space_start: * @fo_fo: The @FoFo object * * Gets the "space-start" property of @fo_fo * * Return value: The "space-start" property value **/ FoProperty* fo_title_get_space_start (FoFo *fo_fo) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_val_if_fail (fo_title != NULL, NULL); g_return_val_if_fail (FO_IS_TITLE (fo_title), NULL); return fo_title->space_start; } /** * fo_title_set_space_start: * @fo_fo: The #FoFo object * @new_space_start: The new "space-start" property value * * Sets the "space-start" property of @fo_fo to @new_space_start **/ void fo_title_set_space_start (FoFo *fo_fo, FoProperty *new_space_start) { FoTitle *fo_title = (FoTitle *) fo_fo; g_return_if_fail (fo_title != NULL); g_return_if_fail (FO_IS_TITLE (fo_title)); g_return_if_fail (FO_IS_PROPERTY_SPACE_START (new_space_start)); if (new_space_start != NULL) { g_object_ref (new_space_start); } if (fo_title->space_start != NULL) { g_object_unref (fo_title->space_start); } fo_title->space_start = new_space_start; /*g_object_notify (G_OBJECT (fo_title), "space-start");*/ } xmlroff-0.6.2/libfo/fo/fo-title.h0000644000175000017500000002407710643167376013537 00000000000000/* Fo * fo-title.h: 'title' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TITLE_H__ #define __FO_TITLE_H__ #include #include #include G_BEGIN_DECLS typedef struct _FoTitle FoTitle; typedef struct _FoTitleClass FoTitleClass; #define FO_TYPE_TITLE (fo_title_get_type ()) #define FO_TITLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TITLE, FoTitle)) #define FO_TITLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TITLE, FoTitleClass)) #define FO_IS_TITLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TITLE)) #define FO_IS_TITLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TITLE)) #define FO_TITLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TITLE, FoTitleClass)) GType fo_title_get_type (void) G_GNUC_CONST; FoFo * fo_title_new (void); FoProperty * fo_title_get_background_color (FoFo *fo_fo); void fo_title_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty * fo_title_get_background_image (FoFo *fo_fo); void fo_title_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty * fo_title_get_border_after_color (FoFo *fo_fo); void fo_title_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty * fo_title_get_border_after_style (FoFo *fo_fo); void fo_title_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty * fo_title_get_border_after_width (FoFo *fo_fo); void fo_title_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty * fo_title_get_border_before_color (FoFo *fo_fo); void fo_title_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty * fo_title_get_border_before_style (FoFo *fo_fo); void fo_title_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty * fo_title_get_border_before_width (FoFo *fo_fo); void fo_title_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty * fo_title_get_border_bottom_color (FoFo *fo_fo); void fo_title_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty * fo_title_get_border_bottom_style (FoFo *fo_fo); void fo_title_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty * fo_title_get_border_bottom_width (FoFo *fo_fo); void fo_title_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty * fo_title_get_border_end_color (FoFo *fo_fo); void fo_title_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty * fo_title_get_border_end_style (FoFo *fo_fo); void fo_title_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty * fo_title_get_border_end_width (FoFo *fo_fo); void fo_title_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty * fo_title_get_border_left_color (FoFo *fo_fo); void fo_title_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty * fo_title_get_border_left_style (FoFo *fo_fo); void fo_title_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty * fo_title_get_border_left_width (FoFo *fo_fo); void fo_title_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty * fo_title_get_border_right_color (FoFo *fo_fo); void fo_title_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty * fo_title_get_border_right_style (FoFo *fo_fo); void fo_title_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty * fo_title_get_border_right_width (FoFo *fo_fo); void fo_title_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty * fo_title_get_border_start_color (FoFo *fo_fo); void fo_title_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty * fo_title_get_border_start_style (FoFo *fo_fo); void fo_title_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty * fo_title_get_border_start_width (FoFo *fo_fo); void fo_title_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty * fo_title_get_border_top_color (FoFo *fo_fo); void fo_title_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty * fo_title_get_border_top_style (FoFo *fo_fo); void fo_title_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty * fo_title_get_border_top_width (FoFo *fo_fo); void fo_title_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty * fo_title_get_color (FoFo *fo_fo); void fo_title_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty * fo_title_get_font_family (FoFo *fo_fo); void fo_title_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty * fo_title_get_font_size (FoFo *fo_fo); void fo_title_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty * fo_title_get_font_stretch (FoFo *fo_fo); void fo_title_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty * fo_title_get_font_style (FoFo *fo_fo); void fo_title_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty * fo_title_get_font_variant (FoFo *fo_fo); void fo_title_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty * fo_title_get_font_weight (FoFo *fo_fo); void fo_title_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty * fo_title_get_line_height (FoFo *fo_fo); void fo_title_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty * fo_title_get_padding_after (FoFo *fo_fo); void fo_title_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty * fo_title_get_padding_before (FoFo *fo_fo); void fo_title_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty * fo_title_get_padding_bottom (FoFo *fo_fo); void fo_title_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty * fo_title_get_padding_end (FoFo *fo_fo); void fo_title_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty * fo_title_get_padding_left (FoFo *fo_fo); void fo_title_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty * fo_title_get_padding_right (FoFo *fo_fo); void fo_title_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty * fo_title_get_padding_start (FoFo *fo_fo); void fo_title_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty * fo_title_get_padding_top (FoFo *fo_fo); void fo_title_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty * fo_title_get_role (FoFo *fo_fo); void fo_title_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty * fo_title_get_source_document (FoFo *fo_fo); void fo_title_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty * fo_title_get_space_end (FoFo *fo_fo); void fo_title_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty * fo_title_get_space_start (FoFo *fo_fo); void fo_title_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); G_END_DECLS #endif /* !__FO_TITLE_H__ */ xmlroff-0.6.2/libfo/fo/fo-title-private.h0000644000175000017500000000366110643167375015202 00000000000000/* Fo * fo-title-private.h: Structures private to 'title' formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TITLE_PRIVATE_H__ #define __FO_TITLE_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoTitle { FoFo parent_instance; FoProperty *background_color; FoProperty *background_image; FoProperty *border_after_color; FoProperty *border_after_style; FoProperty *border_after_width; FoProperty *border_before_color; FoProperty *border_before_style; FoProperty *border_before_width; FoProperty *border_bottom_color; FoProperty *border_bottom_style; FoProperty *border_bottom_width; FoProperty *border_end_color; FoProperty *border_end_style; FoProperty *border_end_width; FoProperty *border_left_color; FoProperty *border_left_style; FoProperty *border_left_width; FoProperty *border_right_color; FoProperty *border_right_style; FoProperty *border_right_width; FoProperty *border_start_color; FoProperty *border_start_style; FoProperty *border_start_width; FoProperty *border_top_color; FoProperty *border_top_style; FoProperty *border_top_width; FoProperty *color; FoProperty *font_family; FoProperty *font_size; FoProperty *font_stretch; FoProperty *font_style; FoProperty *font_variant; FoProperty *font_weight; FoProperty *line_height; FoProperty *padding_after; FoProperty *padding_before; FoProperty *padding_bottom; FoProperty *padding_end; FoProperty *padding_left; FoProperty *padding_right; FoProperty *padding_start; FoProperty *padding_top; FoProperty *role; FoProperty *source_document; FoProperty *space_end; FoProperty *space_start; }; struct _FoTitleClass { FoFoClass parent_class; }; G_END_DECLS #endif /* !__FO_TITLE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper.c0000644000175000017500000003167610724070456014064 00000000000000/* Fo * fo-wrapper.c: 'wrapper' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-wrapper-private.h" #include "fo/fo-neutral-fo.h" #include "fo/fo-block-fo.h" #include "fo/fo-inline-fo.h" #include "fo/fo-text.h" #include "fo/fo-tree.h" #include "fo/fo-wrapper.h" #include "fo/fo-wrapper-block.h" #include "fo/fo-wrapper-inline.h" #include "fo/fo-wrapper-inline-empty.h" #include "fo/fo-wrapper-whitespace.h" #include "property/fo-property-id.h" enum { PROP_0, PROP_ID }; static void fo_wrapper_base_class_init (FoWrapperClass *klass); static void fo_wrapper_class_init (FoWrapperClass *klass); static void fo_wrapper_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_wrapper_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_wrapper_finalize (GObject *object); static gboolean fo_wrapper_validate_content (FoFo *fo, GError **error); static void fo_wrapper_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); static void fo_wrapper_update_from_context (FoFo *fo, FoContext *context); static void fo_wrapper_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; /** * fo_wrapper_get_type: * * Register the #FoWrapper object type. * * Return value: #GType value of the #FoWrapper object type. **/ GType fo_wrapper_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoWrapperClass), (GBaseInitFunc) fo_wrapper_base_class_init, NULL, /* base_finalize */ (GClassInitFunc) fo_wrapper_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoWrapper), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_neutral_fo_info = { NULL, NULL, NULL }; object_type = g_type_register_static (FO_TYPE_MARKER_PARENT, "FoWrapper", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_NEUTRAL_FO, &fo_neutral_fo_info); } return object_type; } /** * fo_wrapper_base_class_init: * @klass: #FoWrapperClass base class object to initialise. * * Implements #GBaseInitFunc for #FoWrapperClass. **/ void fo_wrapper_base_class_init (FoWrapperClass *klass) { FoFoClass *fo_fo_class = FO_FO_CLASS (klass); fo_fo_class->debug_dump_properties = fo_wrapper_debug_dump_properties; fo_fo_class->update_from_context = fo_wrapper_update_from_context; fo_fo_class->validate2 = fo_wrapper_validate; fo_fo_class->allow_mixed_content = TRUE; } /** * fo_wrapper_class_init: * @klass: #FoWrapperClass object to initialise. * * Implements #GClassInitFunc for #FoWrapperClass. **/ void fo_wrapper_class_init (FoWrapperClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_wrapper_finalize; object_class->get_property = fo_wrapper_get_property; object_class->set_property = fo_wrapper_set_property; fofo_class->validate_content = fo_wrapper_validate_content; g_object_class_install_property (object_class, PROP_ID, g_param_spec_object ("id", _("Id"), _("Id property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); } /** * fo_wrapper_finalize: * @object: #FoWrapper object to finalize. * * Implements #GObjectFinalizeFunc for #FoWrapper. **/ void fo_wrapper_finalize (GObject *object) { FoWrapper *fo_wrapper; fo_wrapper = FO_WRAPPER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_wrapper_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoWrapper. **/ void fo_wrapper_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: g_value_set_object (value, G_OBJECT (fo_wrapper_get_id (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_wrapper_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoWrapper. **/ void fo_wrapper_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_ID: fo_wrapper_set_id (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_wrapper_new: * * Creates a new #FoWrapper initialized to default value. * * Return value: the new #FoWrapper. **/ FoFo* fo_wrapper_new (void) { return FO_FO (g_object_new (fo_wrapper_get_type (), NULL)); } static FoFo * fo_wrapper_replace_parent (FoFo *current_parent, FoFo *new_parent, FoNode *child_node) { fo_fo_set_element (new_parent, fo_fo_get_element (current_parent)); fo_node_insert_after (fo_node_parent (FO_NODE (current_parent)), FO_NODE (current_parent), FO_NODE (new_parent)); if (child_node != NULL) { fo_node_unlink_with_next_siblings (child_node); fo_node_insert_with_next_siblings (FO_NODE (new_parent), 0, child_node); } return new_parent; } /** * fo_wrapper_validate_content: * @fo: #FoWrapper object to validate. * @error: #GError indicating error condition, if any. * * Validate the content model, i.e., the structure, of the object. * Return value matches #GNodeTraverseFunc model: %FALSE indicates * content model is correct, or %TRUE indicates an error. When used * with fo_node_traverse(), returning %TRUE stops the traversal. * * Return value: %FALSE if content model okay, %TRUE if not. **/ gboolean fo_wrapper_validate_content (FoFo *fo, GError **error) { GError *tmp_error = NULL; gboolean is_not_pcdata_inline_block_neutral = FALSE; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_WRAPPER (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); /* FIXME: doesn't account for markers */ fo_node_children_foreach (FO_NODE (fo), G_TRAVERSE_ALL, fo_fo_validate_pcdata_inline_block_neutral, &is_not_pcdata_inline_block_neutral); if (is_not_pcdata_inline_block_neutral) { tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (FO_OBJECT (fo))); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); } FoFo *use_parent = fo; if (fo_node_n_children (FO_NODE (fo)) == 0) { FoFo* new_parent = fo_wrapper_inline_empty_new (); use_parent = fo_wrapper_replace_parent (use_parent, new_parent, NULL); /*g_message ("wrapper_validate_content:: Wrapper has no children: wrapper: %s", fo_object_debug_sprintf (fo));*/ } else { FoNode *child_node; child_node = fo_node_first_child (FO_NODE (fo)); while (child_node) { FoNode *next_node = fo_node_next_sibling (child_node); if (FO_IS_TEXT (child_node) && fo_text_get_whitespace_only (FO_FO (child_node))) { if (!FO_IS_WRAPPER_INLINE (use_parent)) { FoFo *new_parent; if (next_node && (FO_IS_INLINE_FO (next_node) || FO_IS_WRAPPER_INLINE (next_node))) { new_parent = fo_wrapper_inline_new (); } else { new_parent = fo_wrapper_whitespace_new (); } use_parent = fo_wrapper_replace_parent (use_parent, new_parent, child_node); } } else if (FO_IS_INLINE_FO (child_node) || FO_IS_WRAPPER_INLINE (child_node)) { if (!FO_IS_WRAPPER_INLINE (use_parent)) { FoFo *new_parent = fo_wrapper_inline_new (); use_parent = fo_wrapper_replace_parent (use_parent, new_parent, child_node); } } else if (FO_IS_BLOCK_FO (child_node) || FO_IS_WRAPPER_BLOCK (child_node)) { if (!FO_IS_WRAPPER_BLOCK (use_parent)) { FoFo *new_parent = fo_wrapper_block_new (); use_parent = fo_wrapper_replace_parent (use_parent, new_parent, child_node); } } else { g_assert_not_reached (); } child_node = next_node; } g_assert (fo_node_n_children (FO_NODE (fo)) == 0); fo_node_unlink (FO_NODE (fo)); g_object_unref (fo); } return FALSE; } /** * fo_wrapper_validate: * @fo: #FoWrapper object to validate. * @current_context: #FoContext associated with current object. * @parent_context: #FoContext associated with parent FO. * @error: Information about any error that has occurred. * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_wrapper_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoWrapper *fo_wrapper; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_WRAPPER (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_wrapper = FO_WRAPPER (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); fo_fo_register_id (fo, fo_property_get_value (fo_wrapper->id)); } /** * fo_wrapper_update_from_context: * @fo: The #FoFo object. * @context: The #FoContext object from which to update the properties of @fo. * * Sets the properties of @fo to the corresponding property values in @context. **/ void fo_wrapper_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_WRAPPER (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_wrapper_set_id (fo, fo_context_get_id (context)); } /** * fo_wrapper_debug_dump_properties: * @fo: The #FoFo object. * @depth: Indent level to add to the output. * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class. **/ void fo_wrapper_debug_dump_properties (FoFo *fo, gint depth) { FoWrapper *fo_wrapper; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_WRAPPER (fo)); fo_wrapper = FO_WRAPPER (fo); fo_object_debug_dump (fo_wrapper->id, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } /** * fo_wrapper_get_id: * @fo_fo: The @FoFo object. * * Gets the "id" property of @fo_fo. * * Return value: The "id" property value. **/ FoProperty * fo_wrapper_get_id (FoFo *fo_fo) { FoWrapper *fo_wrapper = (FoWrapper *) fo_fo; g_return_val_if_fail (fo_wrapper != NULL, NULL); g_return_val_if_fail (FO_IS_WRAPPER (fo_wrapper), NULL); return fo_wrapper->id; } /** * fo_wrapper_set_id: * @fo_fo: The #FoFo object. * @new_id: The new "id" property value. * * Sets the "id" property of @fo_fo to @new_id. **/ void fo_wrapper_set_id (FoFo *fo_fo, FoProperty *new_id) { FoWrapper *fo_wrapper = (FoWrapper *) fo_fo; g_return_if_fail (fo_wrapper != NULL); g_return_if_fail (FO_IS_WRAPPER (fo_wrapper)); g_return_if_fail (FO_IS_PROPERTY_ID (new_id)); if (new_id != NULL) { g_object_ref (new_id); } if (fo_wrapper->id != NULL) { g_object_unref (fo_wrapper->id); } fo_wrapper->id = new_id; /*g_object_notify (G_OBJECT (fo_wrapper), "id");*/ } xmlroff-0.6.2/libfo/fo/fo-wrapper.h0000644000175000017500000000270510643167376014070 00000000000000/* Fo * fo-wrapper.h: 'wrapper' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_WRAPPER_H__ #define __FO_WRAPPER_H__ #include #include #include G_BEGIN_DECLS /** * FoWrapper: * * Instance of the 'wrapper' formatting object. **/ typedef struct _FoWrapper FoWrapper; /** * FoWrapperClass: * * Class structure for the 'wrapper' formatting object. **/ typedef struct _FoWrapperClass FoWrapperClass; #define FO_TYPE_WRAPPER (fo_wrapper_get_type ()) #define FO_WRAPPER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_WRAPPER, FoWrapper)) #define FO_WRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_WRAPPER, FoWrapperClass)) #define FO_IS_WRAPPER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_WRAPPER)) #define FO_IS_WRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_WRAPPER)) #define FO_WRAPPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_WRAPPER, FoWrapperClass)) GType fo_wrapper_get_type (void) G_GNUC_CONST; FoFo * fo_wrapper_new (void); FoProperty * fo_wrapper_get_id (FoFo *fo_fo); void fo_wrapper_set_id (FoFo *fo_fo, FoProperty *new_id); G_END_DECLS #endif /* !__FO_WRAPPER_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper-private.h0000644000175000017500000000116310643167375015534 00000000000000/* Fo * fo-wrapper-private.h: Structures private to 'wrapper' formatting object * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_WRAPPER_PRIVATE_H__ #define __FO_WRAPPER_PRIVATE_H__ #include #include #include G_BEGIN_DECLS struct _FoWrapper { FoMarkerParent parent_instance; FoProperty *id; }; struct _FoWrapperClass { FoMarkerParentClass parent_class; }; G_END_DECLS #endif /* !__FO_WRAPPER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper-block.c0000644000175000017500000000516710643167375015157 00000000000000/* Fo * fo-wrapper-block.c: Block-level wrapper formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-wrapper-block.h" #include "fo-wrapper-block-private.h" #include "fo-wrapper-block-area.h" static void fo_wrapper_block_class_init (FoWrapperBlockClass *klass); static void fo_wrapper_block_finalize (GObject *object); static void fo_wrapper_block_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; GType fo_wrapper_block_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoWrapperBlockClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_wrapper_block_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoWrapperBlock), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_WRAPPER, "FoWrapperBlock", &object_info, 0); } return object_type; } static void fo_wrapper_block_class_init (FoWrapperBlockClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_wrapper_block_finalize; FO_FO_CLASS (klass)->debug_dump_properties = fo_wrapper_block_debug_dump_properties; FO_FO_CLASS (klass)->update_from_context = fo_wrapper_block_update_from_context; FO_FO_CLASS (klass)->area_new2 = fo_wrapper_block_area_new2; } static void fo_wrapper_block_finalize (GObject *object) { FoWrapperBlock *fo_wrapper_block; fo_wrapper_block = FO_WRAPPER_BLOCK (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_wrapper_block_new: * * Creates a new #FoWrapperBlock initialized to default value. * * Return value: the new #FoWrapperBlock **/ FoFo* fo_wrapper_block_new (void) { return FO_FO (g_object_new (fo_wrapper_block_get_type (), NULL)); } void fo_wrapper_block_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_WRAPPER (fo)); FO_FO_CLASS (parent_class)->update_from_context (fo, context); } void fo_wrapper_block_debug_dump_properties (FoFo *fo, gint depth) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_WRAPPER (fo)); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-wrapper-block.h0000644000175000017500000000247610643167375015164 00000000000000/* Fo * fo-wrapper-block.h: Block-level wrapper formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_WRAPPER_BLOCK_H__ #define __FO_WRAPPER_BLOCK_H__ #include #include G_BEGIN_DECLS typedef struct _FoWrapperBlock FoWrapperBlock; typedef struct _FoWrapperBlockClass FoWrapperBlockClass; #define FO_TYPE_WRAPPER_BLOCK (fo_wrapper_block_get_type ()) #define FO_WRAPPER_BLOCK(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_WRAPPER_BLOCK, FoWrapperBlock)) #define FO_WRAPPER_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_WRAPPER_BLOCK, FoWrapperBlockClass)) #define FO_IS_WRAPPER_BLOCK(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_WRAPPER_BLOCK)) #define FO_IS_WRAPPER_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_WRAPPER_BLOCK)) #define FO_WRAPPER_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_WRAPPER_BLOCK, FoWrapperBlockClass)) GType fo_wrapper_block_get_type (void) G_GNUC_CONST; FoFo *fo_wrapper_block_new (void); void fo_wrapper_block_update_from_context (FoFo *fo, FoContext *context); G_END_DECLS #endif /* !__FO_WRAPPER_BLOCK_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper-block-private.h0000644000175000017500000000057710643167376016635 00000000000000/* Fo * fo-wrapper-block-private.h: Block-level wrapper formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include struct _FoWrapperBlock { FoWrapper parent_instance; }; struct _FoWrapperBlockClass { FoWrapperClass parent_class; }; xmlroff-0.6.2/libfo/fo/fo-wrapper-inline.c0000644000175000017500000000601410643167375015333 00000000000000/* Fo * fo-wrapper-inline.c: Inline-level wrapper formatting object. * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include "fo-inline-fo.h" #include "fo-wrapper-inline-private.h" #include "property/fo-property-text-property.h" enum { PROP_0 }; static void fo_wrapper_inline_class_init (FoWrapperInlineClass *klass); static void fo_wrapper_inline_finalize (GObject *object); static void fo_wrapper_inline_update_from_context (FoFo *fo, FoContext *context); static void fo_wrapper_inline_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; GType fo_wrapper_inline_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoWrapperInlineClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_wrapper_inline_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoWrapperInline), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { NULL, NULL, NULL }; object_type = g_type_register_static (FO_TYPE_WRAPPER, "FoWrapperInline", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } static void fo_wrapper_inline_class_init (FoWrapperInlineClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_wrapper_inline_finalize; FO_FO_CLASS (klass)->debug_dump_properties = fo_wrapper_inline_debug_dump_properties; FO_FO_CLASS (klass)->update_from_context = fo_wrapper_inline_update_from_context; } static void fo_wrapper_inline_finalize (GObject *object) { FoWrapperInline *fo_wrapper_inline; fo_wrapper_inline = FO_WRAPPER_INLINE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_wrapper_inline_new: * * Creates a new #FoWrapperInline initialized to default value. * * Return value: the new #FoWrapperInline **/ FoFo* fo_wrapper_inline_new (void) { return FO_FO (g_object_new (fo_wrapper_inline_get_type (), NULL)); } void fo_wrapper_inline_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_WRAPPER (fo)); FO_FO_CLASS (parent_class)->update_from_context (fo, context); } void fo_wrapper_inline_debug_dump_properties (FoFo *fo, gint depth) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_WRAPPER (fo)); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-wrapper-inline.h0000644000175000017500000000240710643167375015342 00000000000000/* Fo * fo-wrapper-inline.h: Inline-level wrapper formatting object. * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_WRAPPER_INLINE_H__ #define __FO_WRAPPER_INLINE_H__ #include #include G_BEGIN_DECLS typedef struct _FoWrapperInline FoWrapperInline; typedef struct _FoWrapperInlineClass FoWrapperInlineClass; #define FO_TYPE_WRAPPER_INLINE (fo_wrapper_inline_get_type ()) #define FO_WRAPPER_INLINE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_WRAPPER_INLINE, FoWrapperInline)) #define FO_WRAPPER_INLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_WRAPPER_INLINE, FoWrapperInlineClass)) #define FO_IS_WRAPPER_INLINE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_WRAPPER_INLINE)) #define FO_IS_WRAPPER_INLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_WRAPPER_INLINE)) #define FO_WRAPPER_INLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_WRAPPER_INLINE, FoWrapperInlineClass)) GType fo_wrapper_inline_get_type (void) G_GNUC_CONST; FoFo * fo_wrapper_inline_new (void); G_END_DECLS #endif /* !__FO_WRAPPER_INLINE_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper-inline-private.h0000644000175000017500000000111610643167376017007 00000000000000/* Fo * fo-wrapper-inline-private.h: Inline-level wrapper formatting object. * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_WRAPPER_INLINE_PRIVATE_H__ #define __FO_WRAPPER_INLINE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoWrapperInline { FoWrapper parent_instance; }; struct _FoWrapperInlineClass { FoWrapperClass parent_class; }; G_END_DECLS #endif /* !__FO_WRAPPER_INLINE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper-inline-empty.c0000644000175000017500000001074410646450064016465 00000000000000/* Fo * fo-wrapper-inline-empty.c: Inline-level wrapper formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-inline-fo.h" #include "fo-wrapper-inline-empty-private.h" #include "property/fo-property-text-property.h" /* ZWSP = U+200B * = 0010 0000 0000 1011 (UTF-16) * = zzzz yyyy yyxx xxxx * = 1110zzzz 10yyyyyy 10xxxxxx (UTF-8) * = 11100010 10000000 10001011 (UTF-8) * = 11 110 010 10 000 000 10 001 011 (UTF-8) * = \352\200\213 (UTF-8) */ #define UTF8_STR_ZERO_WIDTH_SPACE "\352\200\212" /* U+200B */ enum { PROP_0 }; static void fo_wrapper_inline_empty_class_init (FoWrapperInlineEmptyClass *klass); static void fo_wrapper_inline_empty_inline_fo_init (FoInlineFoIface *iface); static void fo_wrapper_inline_empty_finalize (GObject *object); static void fo_wrapper_inline_empty_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); static gpointer parent_class; GType fo_wrapper_inline_empty_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoWrapperInlineEmptyClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_wrapper_inline_empty_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoWrapperInlineEmpty), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_inline_fo_info = { (GInterfaceInitFunc) fo_wrapper_inline_empty_inline_fo_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_WRAPPER, "FoWrapperInlineEmpty", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_INLINE_FO, &fo_inline_fo_info); } return object_type; } /** * fo_wrapper_inline_empty_class_init: * @klass: #FoWrapperInlineEmptyClass object to initialise. * * Implements #GClassInitFunc for #FoWrapperInlineEmptyClass. **/ static void fo_wrapper_inline_empty_class_init (FoWrapperInlineEmptyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_wrapper_inline_empty_finalize; } /** * fo_wrapper_inline_empty_inline_fo_init: * @iface: #FoInlineFoIFace structure for this class. * * Initialize #FoInlineFoIface interface for this class. **/ void fo_wrapper_inline_empty_inline_fo_init (FoInlineFoIface *iface) { iface->get_text_attr_list = fo_wrapper_inline_empty_get_text_attr_list; } static void fo_wrapper_inline_empty_finalize (GObject *object) { FoWrapperInlineEmpty *fo_wrapper_inline_empty; fo_wrapper_inline_empty = FO_WRAPPER_INLINE_EMPTY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_wrapper_inline_empty_new: * * Creates a new #FoWrapperInlineEmpty initialized to default value. * * Return value: the new #FoWrapperInlineEmpty. **/ FoFo* fo_wrapper_inline_empty_new (void) { return FO_FO (g_object_new (fo_wrapper_inline_empty_get_type (), NULL)); } /** * fo_wrapper_inline_empty_get_text_attr_list: * @fo_inline_fo: The #FoInlineFo object. * @fo_doc: The #FoDoc that will render @fo_inline_fo. * @text: The text of the inline FO. * @attr_glist: The list of #PangoAttribute for the inline FO. * @debug_level: Debug level. * * Gets the text of the inline FO and its associated list of #PangoAttribute. **/ void fo_wrapper_inline_empty_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc G_GNUC_UNUSED, GString *text, GList **attr_glist G_GNUC_UNUSED, guint debug_level G_GNUC_UNUSED) { FoWrapperInlineEmpty *fo_wrapper_inline_empty; gint start_index; gint end_index; g_return_if_fail (fo_inline_fo != NULL); g_return_if_fail (FO_IS_WRAPPER_INLINE_EMPTY (fo_inline_fo)); fo_wrapper_inline_empty = FO_WRAPPER_INLINE_EMPTY (fo_inline_fo); start_index = text->len; g_string_append (text, UTF8_STR_ZERO_WIDTH_SPACE); end_index = text->len; } xmlroff-0.6.2/libfo/fo/fo-wrapper-inline-empty.h0000644000175000017500000000263410643167376016501 00000000000000/* Fo * fo-wrapper-inline-empty.h: Empty inline-level wrapper formatting object. * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_WRAPPER_INLINE_EMPTY_H__ #define __FO_WRAPPER_INLINE_EMPTY_H__ #include #include G_BEGIN_DECLS typedef struct _FoWrapperInlineEmpty FoWrapperInlineEmpty; typedef struct _FoWrapperInlineEmptyClass FoWrapperInlineEmptyClass; #define FO_TYPE_WRAPPER_INLINE_EMPTY (fo_wrapper_inline_empty_get_type ()) #define FO_WRAPPER_INLINE_EMPTY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_WRAPPER_INLINE_EMPTY, FoWrapperInlineEmpty)) #define FO_WRAPPER_INLINE_EMPTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_WRAPPER_INLINE_EMPTY, FoWrapperInlineEmptyClass)) #define FO_IS_WRAPPER_INLINE_EMPTY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_WRAPPER_INLINE_EMPTY)) #define FO_IS_WRAPPER_INLINE_EMPTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_WRAPPER_INLINE_EMPTY)) #define FO_WRAPPER_INLINE_EMPTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_WRAPPER_INLINE_EMPTY, FoWrapperInlineEmptyClass)) GType fo_wrapper_inline_empty_get_type (void) G_GNUC_CONST; FoFo * fo_wrapper_inline_empty_new (void); G_END_DECLS #endif /* !__FO_WRAPPER_INLINE_EMPTY_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper-inline-empty-private.h0000644000175000017500000000117410643167376020147 00000000000000/* Fo * fo-wrapper-inline-empty-private.h: Empty Inline-level wrapper formatting object. * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_WRAPPER_INLINE_EMPTY_PRIVATE_H__ #define __FO_WRAPPER_INLINE_EMPTY_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoWrapperInlineEmpty { FoWrapper parent_instance; }; struct _FoWrapperInlineEmptyClass { FoWrapperClass parent_class; }; G_END_DECLS #endif /* !__FO_WRAPPER_INLINE_EMPTY_PRIVATE_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper-whitespace.c0000644000175000017500000000526210643167375016215 00000000000000/* Fo * fo-wrapper-whitespace.c: Whitespace-only wrapper formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-wrapper-whitespace.h" #include "fo-wrapper-whitespace-private.h" static void fo_wrapper_whitespace_class_init (FoWrapperWhitespaceClass *klass); static void fo_wrapper_whitespace_finalize (GObject *object); static void fo_wrapper_whitespace_debug_dump_properties (FoFo *fo, gint depth); static gpointer parent_class; GType fo_wrapper_whitespace_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoWrapperWhitespaceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_wrapper_whitespace_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoWrapperWhitespace), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_WRAPPER, "FoWrapperWhitespace", &object_info, 0); } return object_type; } static void fo_wrapper_whitespace_class_init (FoWrapperWhitespaceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_wrapper_whitespace_finalize; FO_FO_CLASS (klass)->debug_dump_properties = fo_wrapper_whitespace_debug_dump_properties; FO_FO_CLASS (klass)->update_from_context = fo_wrapper_whitespace_update_from_context; } static void fo_wrapper_whitespace_finalize (GObject *object) { FoWrapperWhitespace *fo_wrapper_whitespace; fo_wrapper_whitespace = FO_WRAPPER_WHITESPACE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_wrapper_whitespace_new: * * Creates a new #FoWrapperWhitespace initialized to default value. * * Return value: the new #FoWrapperWhitespace **/ FoFo* fo_wrapper_whitespace_new (void) { return FO_FO (g_object_new (fo_wrapper_whitespace_get_type (), NULL)); } void fo_wrapper_whitespace_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_WRAPPER (fo)); FO_FO_CLASS (parent_class)->update_from_context (fo, context); } void fo_wrapper_whitespace_debug_dump_properties (FoFo *fo, gint depth) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_WRAPPER (fo)); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); } xmlroff-0.6.2/libfo/fo/fo-wrapper-whitespace.h0000644000175000017500000000270410643167375016220 00000000000000/* Fo * fo-wrapper-whitespace.h: Whitespace-only wrapper formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_WRAPPER_WHITESPACE_H__ #define __FO_WRAPPER_WHITESPACE_H__ #include #include G_BEGIN_DECLS typedef struct _FoWrapperWhitespace FoWrapperWhitespace; typedef struct _FoWrapperWhitespaceClass FoWrapperWhitespaceClass; #define FO_TYPE_WRAPPER_WHITESPACE (fo_wrapper_whitespace_get_type ()) #define FO_WRAPPER_WHITESPACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_WRAPPER_WHITESPACE, FoWrapperWhitespace)) #define FO_WRAPPER_WHITESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_WRAPPER_WHITESPACE, FoWrapperWhitespaceClass)) #define FO_IS_WRAPPER_WHITESPACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_WRAPPER_WHITESPACE)) #define FO_IS_WRAPPER_WHITESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_WRAPPER_WHITESPACE)) #define FO_WRAPPER_WHITESPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_WRAPPER_WHITESPACE, FoWrapperWhitespaceClass)) GType fo_wrapper_whitespace_get_type (void) G_GNUC_CONST; FoFo *fo_wrapper_whitespace_new (void); void fo_wrapper_whitespace_update_from_context (FoFo *fo, FoContext *context); G_END_DECLS #endif /* !__FO_WRAPPER_WHITESPACE_H__ */ xmlroff-0.6.2/libfo/fo/fo-wrapper-whitespace-private.h0000644000175000017500000000062210643167376017666 00000000000000/* Fo * fo-wrapper-whitespace-private.h: Whitespace-only wrapper formatting object * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include struct _FoWrapperWhitespace { FoWrapper parent_instance; }; struct _FoWrapperWhitespaceClass { FoWrapperClass parent_class; }; xmlroff-0.6.2/libfo/datatype/0000777000175000017500000000000011156164721013113 500000000000000xmlroff-0.6.2/libfo/datatype/fo-datatype.h0000644000175000017500000000553310643167450015425 00000000000000/* Fo * fo-datatype.h: Datatype datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DATATYPE_H__ #define __FO_DATATYPE_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_DATATYPE (fo_datatype_get_type ()) #define FO_DATATYPE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_DATATYPE, FoDatatype)) #define FO_DATATYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_DATATYPE, FoDatatypeClass)) #define FO_IS_DATATYPE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_DATATYPE)) #define FO_IS_DATATYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_DATATYPE)) #define FO_DATATYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_DATATYPE, FoDatatypeClass)) typedef struct _FoDatatype FoDatatype; typedef struct _FoDatatypeClass FoDatatypeClass; #define FO_DATATYPE_ERROR fo_datatype_error_quark () GQuark fo_datatype_error_quark (void); typedef enum { FO_DATATYPE_ERROR_WRONG_DATATYPE, /* Wrong datatype for context */ FO_DATATYPE_ERROR_ADD, /* Cannot add datatype types */ FO_DATATYPE_ERROR_SUB, /* Cannot subtract datatype types */ FO_DATATYPE_ERROR_MUL, /* Cannot multiply datatype types */ FO_DATATYPE_ERROR_DIV, /* Cannot divide datatype types */ FO_DATATYPE_ERROR_MOD, /* Cannot get mod of datatype types */ FO_DATATYPE_ERROR_MAX, /* max() error */ FO_DATATYPE_ERROR_MIN, /* min() error */ FO_DATATYPE_ERROR_FLOOR, /* floor() error */ FO_DATATYPE_ERROR_ROUND, /* round() error */ FO_DATATYPE_ERROR_CEILING, /* ceiling() error */ FO_DATATYPE_ERROR_ABS, /* abs() error */ FO_DATATYPE_ERROR_NEGATE /* negation error */ } FoDatatypeError; GType fo_datatype_get_type (void) G_GNUC_CONST; FoDatatype* fo_datatype_new (void); FoDatatype* fo_datatype_copy (FoDatatype *datatype); FoDatatype* fo_datatype_get_condity_discard (void); FoDatatype* fo_datatype_get_condity_retain (void); FoDatatype* fo_datatype_add (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_sub (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_mul (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_div (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_mod (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_max (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_min (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_floor (FoDatatype *arg); FoDatatype* fo_datatype_ceiling (FoDatatype *arg); FoDatatype* fo_datatype_abs (FoDatatype *arg); FoDatatype* fo_datatype_round (FoDatatype *arg); FoDatatype* fo_datatype_negate (FoDatatype *arg); G_END_DECLS #endif /* !__FO_DATATYPE_H__ */ xmlroff-0.6.2/libfo/datatype/fo-enum.h0000644000175000017500000002140410643167450014551 00000000000000/* Fo * fo-enum.h: Enum datatype * * Copyright (C) 2001-2004 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_ENUM_H__ #define __FO_ENUM_H__ #include #include G_BEGIN_DECLS typedef enum { FO_ENUM_ENUM_UNSPECIFIED, FO_ENUM_ENUM_0, FO_ENUM_ENUM_100, FO_ENUM_ENUM_180, FO_ENUM_ENUM_200, FO_ENUM_ENUM_270, FO_ENUM_ENUM_300, FO_ENUM_ENUM_400, FO_ENUM_ENUM_500, FO_ENUM_ENUM_600, FO_ENUM_ENUM_700, FO_ENUM_ENUM_800, FO_ENUM_ENUM_90, FO_ENUM_ENUM_900, FO_ENUM_ENUM_ABOVE, FO_ENUM_ENUM_ABSOLUTE, FO_ENUM_ENUM_ABSOLUTE_COLORIMETRIC, FO_ENUM_ENUM_ACTIVE, FO_ENUM_ENUM_AFTER, FO_ENUM_ENUM_AFTER_EDGE, FO_ENUM_ENUM_ALL, FO_ENUM_ENUM_ALPHABETIC, FO_ENUM_ENUM_ALWAYS, FO_ENUM_ENUM_ANY, FO_ENUM_ENUM_AUTO, FO_ENUM_ENUM_AUTO_EVEN, FO_ENUM_ENUM_AUTO_ODD, FO_ENUM_ENUM_AVOID, FO_ENUM_ENUM_BACKSLANT, FO_ENUM_ENUM_BASELINE, FO_ENUM_ENUM_BEFORE, FO_ENUM_ENUM_BEFORE_EDGE, FO_ENUM_ENUM_BEHIND, FO_ENUM_ENUM_BELOW, FO_ENUM_ENUM_BIDI_OVERRIDE, FO_ENUM_ENUM_BLANK, FO_ENUM_ENUM_BLINK, FO_ENUM_ENUM_BLOCK, FO_ENUM_ENUM_BOLD, FO_ENUM_ENUM_BOLDER, FO_ENUM_ENUM_BOTH, FO_ENUM_ENUM_BOTTOM, FO_ENUM_ENUM_BOUNDED_IN_ONE_DIMENSION, FO_ENUM_ENUM_CAPITALIZE, FO_ENUM_ENUM_CAPTION, FO_ENUM_ENUM_CENTER, FO_ENUM_ENUM_CENTER_LEFT, FO_ENUM_ENUM_CENTER_RIGHT, FO_ENUM_ENUM_CENTRAL, FO_ENUM_ENUM_CHARACTER_BY_CHARACTER, FO_ENUM_ENUM_CODE, FO_ENUM_ENUM_COLLAPSE, FO_ENUM_ENUM_COLLAPSE_WITH_PRECEDENCE, FO_ENUM_ENUM_COLUMN, FO_ENUM_ENUM_CONDENSED, FO_ENUM_ENUM_CONSIDER_SHIFTS, FO_ENUM_ENUM_CONTINUOUS, FO_ENUM_ENUM_CURSIVE, FO_ENUM_ENUM_DASHED, FO_ENUM_ENUM_DIGITS, FO_ENUM_ENUM_DISREGARD_SHIFTS, FO_ENUM_ENUM_DOCUMENT, FO_ENUM_ENUM_DOCUMENT_ROOT, FO_ENUM_ENUM_DOTS, FO_ENUM_ENUM_DOTTED, FO_ENUM_ENUM_DOUBLE, FO_ENUM_ENUM_EMBED, FO_ENUM_ENUM_EMPTY, FO_ENUM_ENUM_END, FO_ENUM_ENUM_END_ON_EVEN, FO_ENUM_ENUM_END_ON_ODD, FO_ENUM_ENUM_ERROR_IF_OVERFLOW, FO_ENUM_ENUM_EVEN, FO_ENUM_ENUM_EVEN_PAGE, FO_ENUM_ENUM_EXPANDED, FO_ENUM_ENUM_EXTRA_CONDENSED, FO_ENUM_ENUM_EXTRA_EXPANDED, FO_ENUM_ENUM_FALSE, FO_ENUM_ENUM_FANTASY, FO_ENUM_ENUM_FAR_LEFT, FO_ENUM_ENUM_FAR_RIGHT, FO_ENUM_ENUM_FAST, FO_ENUM_ENUM_FASTER, FO_ENUM_ENUM_FIRST, FO_ENUM_ENUM_FIRST_INCLUDING_CARRYOVER, FO_ENUM_ENUM_FIRST_STARTING_WITHIN_PAGE, FO_ENUM_ENUM_FIXED, FO_ENUM_ENUM_FOCUS, FO_ENUM_ENUM_FONT_HEIGHT, FO_ENUM_ENUM_FORCE, FO_ENUM_ENUM_GROOVE, FO_ENUM_ENUM_HANGING, FO_ENUM_ENUM_HIDDEN, FO_ENUM_ENUM_HIDE, FO_ENUM_ENUM_HIGH, FO_ENUM_ENUM_HIGHER, FO_ENUM_ENUM_HOVER, FO_ENUM_ENUM_ICON, FO_ENUM_ENUM_IDEOGRAPHIC, FO_ENUM_ENUM_IGNORE, FO_ENUM_ENUM_IGNORE_IF_AFTER_LINEFEED, FO_ENUM_ENUM_IGNORE_IF_BEFORE_LINEFEED, FO_ENUM_ENUM_IGNORE_IF_SURROUNDING_LINEFEED, FO_ENUM_ENUM_INDEFINITE, FO_ENUM_ENUM_INDENT, FO_ENUM_ENUM_INSET, FO_ENUM_ENUM_INSIDE, FO_ENUM_ENUM_INTEGER_PIXELS, FO_ENUM_ENUM_ITALIC, FO_ENUM_ENUM_JUSTIFY, FO_ENUM_ENUM_LANDSCAPE, FO_ENUM_ENUM_LARGE, FO_ENUM_ENUM_LARGER, FO_ENUM_ENUM_LAST, FO_ENUM_ENUM_LAST_ENDING_WITHIN_PAGE, FO_ENUM_ENUM_LAST_STARTING_WITHIN_PAGE, FO_ENUM_ENUM_LEFT, FO_ENUM_ENUM_LEFTWARDS, FO_ENUM_ENUM_LEFT_SIDE, FO_ENUM_ENUM_LEVEL, FO_ENUM_ENUM_LIGHTER, FO_ENUM_ENUM_LINE, FO_ENUM_ENUM_LINE_HEIGHT, FO_ENUM_ENUM_LINE_THROUGH, FO_ENUM_ENUM_LINK, FO_ENUM_ENUM_LOUD, FO_ENUM_ENUM_LOW, FO_ENUM_ENUM_LOWER, FO_ENUM_ENUM_LOWERCASE, FO_ENUM_ENUM_LR, FO_ENUM_ENUM_LR_TB, FO_ENUM_ENUM_LTR, FO_ENUM_ENUM_MATHEMATICAL, FO_ENUM_ENUM_MAX_HEIGHT, FO_ENUM_ENUM_MEDIUM, FO_ENUM_ENUM_MENU, FO_ENUM_ENUM_MESSAGE_BOX, FO_ENUM_ENUM_MIDDLE, FO_ENUM_ENUM_MIX, FO_ENUM_ENUM_MONOSPACE, FO_ENUM_ENUM_NARROWER, FO_ENUM_ENUM_NEW, FO_ENUM_ENUM_NONE, FO_ENUM_ENUM_NON_UNIFORM, FO_ENUM_ENUM_NORMAL, FO_ENUM_ENUM_NOT_BLANK, FO_ENUM_ENUM_NOWRAP, FO_ENUM_ENUM_NO_BLINK, FO_ENUM_ENUM_NO_CHANGE, FO_ENUM_ENUM_NO_FORCE, FO_ENUM_ENUM_NO_LIMIT, FO_ENUM_ENUM_NO_LINE_THROUGH, FO_ENUM_ENUM_NO_OVERLINE, FO_ENUM_ENUM_NO_REPEAT, FO_ENUM_ENUM_NO_UNDERLINE, FO_ENUM_ENUM_NO_WRAP, FO_ENUM_ENUM_OBLIQUE, FO_ENUM_ENUM_ODD, FO_ENUM_ENUM_ODD_PAGE, FO_ENUM_ENUM_ONCE, FO_ENUM_ENUM_OUTSET, FO_ENUM_ENUM_OUTSIDE, FO_ENUM_ENUM_OVERLINE, FO_ENUM_ENUM_PAGE, FO_ENUM_ENUM_PAGE_SEQUENCE, FO_ENUM_ENUM_PAGINATE, FO_ENUM_ENUM_PERCEPTUAL, FO_ENUM_ENUM_PORTRAIT, FO_ENUM_ENUM_PRE, FO_ENUM_ENUM_PRESERVE, FO_ENUM_ENUM_REFERENCE_AREA, FO_ENUM_ENUM_RELATIVE, FO_ENUM_ENUM_RELATIVE_COLORIMETRIC, FO_ENUM_ENUM_REPEAT, FO_ENUM_ENUM_REPEAT_X, FO_ENUM_ENUM_REPEAT_Y, FO_ENUM_ENUM_REPLACE, FO_ENUM_ENUM_RESAMPLE_ANY_METHOD, FO_ENUM_ENUM_RESET_SIZE, FO_ENUM_ENUM_REST, FO_ENUM_ENUM_RETAIN, FO_ENUM_ENUM_RIDGE, FO_ENUM_ENUM_RIGHT, FO_ENUM_ENUM_RIGHTWARDS, FO_ENUM_ENUM_RIGHT_SIDE, FO_ENUM_ENUM_RL, FO_ENUM_ENUM_RL_TB, FO_ENUM_ENUM_RTL, FO_ENUM_ENUM_RULE, FO_ENUM_ENUM_SANS_SERIF, FO_ENUM_ENUM_SATURATION, FO_ENUM_ENUM_SCALE_TO_FIT, FO_ENUM_ENUM_SCROLL, FO_ENUM_ENUM_SEMI_CONDENSED, FO_ENUM_ENUM_SEMI_EXPANDED, FO_ENUM_ENUM_SEPARATE, FO_ENUM_ENUM_SERIF, FO_ENUM_ENUM_SHOW, FO_ENUM_ENUM_SILENT, FO_ENUM_ENUM_SLOW, FO_ENUM_ENUM_SLOWER, FO_ENUM_ENUM_SMALL, FO_ENUM_ENUM_SMALLER, FO_ENUM_ENUM_SMALL_CAPS, FO_ENUM_ENUM_SMALL_CAPTION, FO_ENUM_ENUM_SOFT, FO_ENUM_ENUM_SOLID, FO_ENUM_ENUM_SPACE, FO_ENUM_ENUM_SPELL_OUT, FO_ENUM_ENUM_START, FO_ENUM_ENUM_STATIC, FO_ENUM_ENUM_STATUS_BAR, FO_ENUM_ENUM_STRING, FO_ENUM_ENUM_SUB, FO_ENUM_ENUM_SUPER, FO_ENUM_ENUM_SUPPRESS, FO_ENUM_ENUM_TB, FO_ENUM_ENUM_TB_RL, FO_ENUM_ENUM_TEXT_AFTER_EDGE, FO_ENUM_ENUM_TEXT_BEFORE_EDGE, FO_ENUM_ENUM_TEXT_BOTTOM, FO_ENUM_ENUM_TEXT_TOP, FO_ENUM_ENUM_THICK, FO_ENUM_ENUM_THIN, FO_ENUM_ENUM_TOP, FO_ENUM_ENUM_TRADITIONAL, FO_ENUM_ENUM_TRANSPARENT, FO_ENUM_ENUM_TREAT_AS_SPACE, FO_ENUM_ENUM_TREAT_AS_ZERO_WIDTH_SPACE, FO_ENUM_ENUM_TRUE, FO_ENUM_ENUM_ULTRA_CONDENSED, FO_ENUM_ENUM_ULTRA_EXPANDED, FO_ENUM_ENUM_UNBOUNDED, FO_ENUM_ENUM_UNDERLINE, FO_ENUM_ENUM_UNIFORM, FO_ENUM_ENUM_UPPERCASE, FO_ENUM_ENUM_USE_CONTENT, FO_ENUM_ENUM_USE_FONT_METRICS, FO_ENUM_ENUM_USE_NORMAL_STYLESHEET, FO_ENUM_ENUM_USE_SCRIPT, FO_ENUM_ENUM_USE_TARGET_PROCESSING_CONTEXT, FO_ENUM_ENUM_VISIBLE, FO_ENUM_ENUM_VISITED, FO_ENUM_ENUM_WIDER, FO_ENUM_ENUM_WRAP, FO_ENUM_ENUM_XSL_ANY, FO_ENUM_ENUM_XSL_BEFORE_FLOAT_SEPARATOR, FO_ENUM_ENUM_XSL_FOLLOWING, FO_ENUM_ENUM_XSL_FOOTNOTE_SEPARATOR, FO_ENUM_ENUM_XSL_PRECEDING, FO_ENUM_ENUM_XSL_REGION_AFTER, FO_ENUM_ENUM_XSL_REGION_BEFORE, FO_ENUM_ENUM_XSL_REGION_BODY, FO_ENUM_ENUM_XSL_REGION_END, FO_ENUM_ENUM_XSL_REGION_START, FO_ENUM_ENUM_XX_LARGE, FO_ENUM_ENUM_XX_SMALL, FO_ENUM_ENUM_X_FAST, FO_ENUM_ENUM_X_HIGH, FO_ENUM_ENUM_X_LARGE, FO_ENUM_ENUM_X_LOUD, FO_ENUM_ENUM_X_LOW, FO_ENUM_ENUM_X_SLOW, FO_ENUM_ENUM_X_SMALL, FO_ENUM_ENUM_X_SOFT, FO_ENUM_ENUM__180, FO_ENUM_ENUM__270, FO_ENUM_ENUM__90, FO_ENUM_ENUM_LIMIT } FoEnumEnum; GType fo_enum_enum_get_type (void); #define FO_TYPE_ENUM_ENUM fo_enum_enum_get_type () #define FO_TYPE_ENUM (fo_enum_get_type ()) #define FO_ENUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_ENUM, FoEnum)) #define FO_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_ENUM, FoEnumClass)) #define FO_IS_ENUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_ENUM)) #define FO_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_ENUM)) #define FO_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_ENUM, FoEnumClass)) /** * FoEnum: * * Instance of the 'enum' datatype. **/ typedef struct _FoEnum FoEnum; /** * FoEnumClass: * * Class structure for the 'enum' datatype. **/ typedef struct _FoEnumClass FoEnumClass; GType fo_enum_get_type (void) G_GNUC_CONST; FoDatatype * fo_enum_new (void); FoDatatype * fo_enum_new_with_value (const GEnumClass *enum_class, const FoEnumEnum value); GEnumClass * fo_enum_get_enum_class (FoDatatype *fo_enum); FoEnumEnum fo_enum_get_value (FoDatatype *fo_enum); const gchar* fo_enum_get_nick (FoDatatype *fo_enum); FoDatatype * fo_enum_get_enum_by_value (FoEnumEnum enum_value); FoDatatype * fo_enum_get_enum_by_nick (const gchar *name); FoDatatype * fo_enum_get_enum_auto (void); FoDatatype * fo_enum_get_enum_baseline (void); FoDatatype * fo_enum_get_enum_ltr (void); FoDatatype * fo_enum_get_enum_medium (void); FoDatatype * fo_enum_get_enum_none (void); FoDatatype * fo_enum_get_enum_uniform (void); FoDatatype * fo_enum_get_alphabetic (void); FoDatatype * fo_enum_get_always (void); FoDatatype * fo_enum_get_traditional (void); G_END_DECLS #endif /* !__FO_ENUM_H__ */ xmlroff-0.6.2/libfo/datatype/Makefile.am0000644000175000017500000000246610770023366015073 00000000000000## Process this file with automake to produce Makefile.in INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(GLIB_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-datatype.la libfo_datatype_includedir = $(includedir)/libfo-0.6/libfo/datatype libfo_datatype_include_HEADERS = \ fo-datatype.h \ fo-enum.h libfo_datatype_la_SOURCES = \ $(libfo_datatype_include_HEADERS) \ fo-all-datatype.h \ fo-datatype.c \ fo-datatype-private.h \ fo-unknown.c \ fo-unknown.h \ fo-expression.c \ fo-expression.h \ fo-boolean.c \ fo-boolean.h \ fo-char.c \ fo-char.h \ fo-color.c \ fo-color.h \ fo-enum.c \ fo-error.c \ fo-error.h \ fo-id.c \ fo-id.h \ fo-integer.c \ fo-integer.h \ fo-keep.c \ fo-keep.h \ fo-length-conditional.c \ fo-length-conditional.h \ fo-length-range.c \ fo-length-range.h \ fo-length-range-private.h \ fo-length-bp-ip-d.c \ fo-length-bp-ip-d.h \ fo-length.c \ fo-length.h \ fo-name.c \ fo-name.h \ fo-number.c \ fo-number.h \ fo-numeric.c \ fo-numeric.h \ fo-numeric-private.h \ fo-pcw.c \ fo-pcw.h \ fo-percentage.c \ fo-percentage.h \ fo-space.c \ fo-space.h \ fo-string.c \ fo-string.h \ fo-tblr.c \ fo-tblr.h \ fo-wsc.c \ fo-wsc.h \ fo-uri-specification.c \ fo-uri-specification.h xmlroff-0.6.2/libfo/datatype/Makefile.in0000644000175000017500000005073011155246040015073 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libfo/datatype DIST_COMMON = $(libfo_datatype_include_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libfo_datatype_la_LIBADD = am__objects_1 = am_libfo_datatype_la_OBJECTS = $(am__objects_1) fo-datatype.lo \ fo-unknown.lo fo-expression.lo fo-boolean.lo fo-char.lo \ fo-color.lo fo-enum.lo fo-error.lo fo-id.lo fo-integer.lo \ fo-keep.lo fo-length-conditional.lo fo-length-range.lo \ fo-length-bp-ip-d.lo fo-length.lo fo-name.lo fo-number.lo \ fo-numeric.lo fo-pcw.lo fo-percentage.lo fo-space.lo \ fo-string.lo fo-tblr.lo fo-wsc.lo fo-uri-specification.lo libfo_datatype_la_OBJECTS = $(am_libfo_datatype_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libfo_datatype_la_SOURCES) DIST_SOURCES = $(libfo_datatype_la_SOURCES) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libfo_datatype_includedir)" libfo_datatype_includeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(libfo_datatype_include_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(GLIB_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-datatype.la libfo_datatype_includedir = $(includedir)/libfo-0.6/libfo/datatype libfo_datatype_include_HEADERS = \ fo-datatype.h \ fo-enum.h libfo_datatype_la_SOURCES = \ $(libfo_datatype_include_HEADERS) \ fo-all-datatype.h \ fo-datatype.c \ fo-datatype-private.h \ fo-unknown.c \ fo-unknown.h \ fo-expression.c \ fo-expression.h \ fo-boolean.c \ fo-boolean.h \ fo-char.c \ fo-char.h \ fo-color.c \ fo-color.h \ fo-enum.c \ fo-error.c \ fo-error.h \ fo-id.c \ fo-id.h \ fo-integer.c \ fo-integer.h \ fo-keep.c \ fo-keep.h \ fo-length-conditional.c \ fo-length-conditional.h \ fo-length-range.c \ fo-length-range.h \ fo-length-range-private.h \ fo-length-bp-ip-d.c \ fo-length-bp-ip-d.h \ fo-length.c \ fo-length.h \ fo-name.c \ fo-name.h \ fo-number.c \ fo-number.h \ fo-numeric.c \ fo-numeric.h \ fo-numeric-private.h \ fo-pcw.c \ fo-pcw.h \ fo-percentage.c \ fo-percentage.h \ fo-space.c \ fo-space.h \ fo-string.c \ fo-string.h \ fo-tblr.c \ fo-tblr.h \ fo-wsc.c \ fo-wsc.h \ fo-uri-specification.c \ fo-uri-specification.h all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libfo/datatype/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu libfo/datatype/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libfo-datatype.la: $(libfo_datatype_la_OBJECTS) $(libfo_datatype_la_DEPENDENCIES) $(LINK) $(libfo_datatype_la_LDFLAGS) $(libfo_datatype_la_OBJECTS) $(libfo_datatype_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-boolean.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-char.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-datatype.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-enum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-error.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-expression.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-id.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-integer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-keep.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-length-bp-ip-d.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-length-conditional.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-length-range.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-length.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-name.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-number.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-numeric.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-pcw.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-percentage.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-space.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-string.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-tblr.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-unknown.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-uri-specification.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-wsc.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-libfo_datatype_includeHEADERS: $(libfo_datatype_include_HEADERS) @$(NORMAL_INSTALL) test -z "$(libfo_datatype_includedir)" || $(mkdir_p) "$(DESTDIR)$(libfo_datatype_includedir)" @list='$(libfo_datatype_include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(libfo_datatype_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libfo_datatype_includedir)/$$f'"; \ $(libfo_datatype_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libfo_datatype_includedir)/$$f"; \ done uninstall-libfo_datatype_includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(libfo_datatype_include_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(libfo_datatype_includedir)/$$f'"; \ rm -f "$(DESTDIR)$(libfo_datatype_includedir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(libfo_datatype_includedir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-libfo_datatype_includeHEADERS install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am \ uninstall-libfo_datatype_includeHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am \ install-libfo_datatype_includeHEADERS install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am uninstall-libfo_datatype_includeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/libfo/datatype/fo-all-datatype.h0000644000175000017500000000242510643167450016170 00000000000000/* Fo * fo-all-datatype.h: * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_ALL_DATATYPE_H__ #define __FO_ALL_DATATYPE_H__ G_BEGIN_DECLS #include #include #include #include /* Datatype objects */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include G_END_DECLS #endif /* !__FO_ALL_DATATYPE_H__ */ xmlroff-0.6.2/libfo/datatype/fo-datatype.c0000644000175000017500000010276510643167450015425 00000000000000/* Fo * fo-datatype.c: Datatype datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-datatype-private.h" #include "fo-datatype.h" #include "fo-integer.h" #include "fo-boolean.h" #include "fo-number.h" #include "fo-percentage.h" #include "fo-pcw.h" #include "fo-length.h" #include "fo-error.h" static void fo_datatype_base_class_init (FoDatatypeClass *klass); static void fo_datatype_class_init (FoDatatypeClass *klass); static void fo_datatype_finalize (GObject *object); static void fo_datatype_debug_dump (FoObject *object, gint depth); static FoDatatype* fo_datatype_copy_default (FoDatatype *datatype); static gpointer parent_class; /** * fo_datatype_get_type: * * Register the FoDatatype object type. * * Return value: GType value of the FoDatatype object type. **/ GType fo_datatype_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoDatatypeClass), (GBaseInitFunc) fo_datatype_base_class_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_datatype_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoDatatype), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoDatatype", &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_datatype_base_class_init: * @klass: #FoDatatypeClass object to initialise * * Implements #GBaseInitFunc for #FoDatatype **/ static void fo_datatype_base_class_init (FoDatatypeClass *klass) { FoObjectClass *fo_object_class = FO_OBJECT_CLASS (klass); FO_OBJECT_CLASS (fo_object_class)->debug_dump = fo_datatype_debug_dump; } /** * fo_datatype_class_init: * @klass: #FoDatatypeClass object to initialise * * Implements GClassInitFunc for #FoDatatypeClass **/ void fo_datatype_class_init (FoDatatypeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_datatype_finalize; klass->copy = fo_datatype_copy_default; } /** * fo_datatype_finalize: * @object: #FoDatatype object to finalize * * Implements GObjectFinalizeFunc for #FoDatatype **/ void fo_datatype_finalize (GObject *object) { FoDatatype *datatype; datatype = FO_DATATYPE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_datatype_new: * * Creates a new #FoDatatype initialized to default value. * * Return value: the new #FoDatatype **/ FoDatatype * fo_datatype_new (void) { FoDatatype *datatype; datatype = FO_DATATYPE (g_object_new (fo_datatype_get_type (), NULL)); return datatype; } /** * fo_datatype_copy: * @datatype: #FoDatatype to be copied * * Makes a copy of @datatype * * Return value: Copy of @datatype **/ FoDatatype* fo_datatype_copy (FoDatatype *datatype) { return FO_DATATYPE_GET_CLASS (datatype)->copy (datatype); } /** * fo_datatype_copy_default: * @datatype: #FoDatatype to be copied * * Warns that @datatype does not have a "copy" function * * Return value: NULL **/ FoDatatype* fo_datatype_copy_default (FoDatatype *datatype) { g_warning ("%s does not have a \"copy\" function.", fo_object_sprintf (FO_OBJECT (datatype))); return NULL; } /** * fo_datatype_debug_dump: * @object: #FoDatatype object to dump * @depth: Relative offset to add to dump output * * Implements debug_dump class method of #FoObject for all #FoDatatype * subclasses. * * Uses the sprintf class method of #FoObject of @object. **/ void fo_datatype_debug_dump (FoObject *object, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar *object_sprintf, *datatype_sprintf; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_DATATYPE (object)); object_sprintf = fo_object_debug_sprintf (object); datatype_sprintf = fo_object_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s : %s", indent, object_sprintf, datatype_sprintf); g_free (object_sprintf); g_free (datatype_sprintf); g_free (indent); } /** * fo_datatype_get_condity_discard: * * Return value: The #FoDatatype value for conditionality="discard" **/ FoDatatype* fo_datatype_get_condity_discard (void) { static FoDatatype *enum_discard = NULL; if (!enum_discard) { enum_discard = fo_boolean_get_false (); } return enum_discard; } /** * fo_datatype_get_condity_retain: * * Return value: The #FoDatatype value for conditionality="retain" **/ FoDatatype* fo_datatype_get_condity_retain (void) { static FoDatatype *enum_retain = NULL; if (!enum_retain) { enum_retain = fo_boolean_get_true (); } return enum_retain; } /** * fo_datatype_error_quark: * * Get the error quark for #FoDatatype. * * If the quark does not yet exist, create it. * * Return value: Quark associated with #FoDatatype errors **/ GQuark fo_datatype_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoDatatype error"); return quark; } const char *fo_datatype_error_messages [] = { N_("Invalid datatype for context."), N_("Cannot add datatypes '%s' and '%s'."), N_("Cannot subtract datatypes '%s' and '%s'."), N_("Cannot multiply datatypes '%s' and '%s'."), N_("Cannot divide datatypes '%s' and '%s'."), N_("Cannot get modulus of datatypes '%s' and '%s'."), N_("Incompatible types in 'max' operation: '%s' and '%s'."), N_("Incompatible types in 'min' operation: '%s' and '%s'."), N_("Type with non-zero unit power in 'floor' operation: '%s'."), N_("Type with non-zero unit power in 'round' operation: '%s'."), N_("Type with non-zero unit power in 'ceiling' operation: '%s'."), N_("Non-numeric type in 'abs' operation: '%s'."), N_("Invalid type in 'negate' operation: '%s'."), }; /** * fo_datatype_add: * @arg1: #FoDatatype. * @arg2: #FoDatatype. * * Find addition of the values of @arg1 and @arg2. @arg1 and @arg2 * are unchanged. * * The type of the return value depends on the types of @arg1 and * @arg2: * * fo_datatype_add (#FoInteger, #FoInteger) --> #FoInteger * fo_datatype_add (#FoInteger, #FoNumber) --> #FoNumber * fo_datatype_add (#FoNumber, #FoInteger) --> #FoNumber * fo_datatype_add (#FoNumber, #FoNumber) --> #FoNumber * fo_datatype_add (#FoLength, #FoLength) --> #FoLength * fo_datatype_add (#FoPercentage, #FoPercentage) --> #FoPercentage * * Return value: #FoDatatype with value that is equal to addition of * values of @arg1 and @arg2, or #FoError if cannot compute addition * of @arg1 and @arg2. The type of the return value depends on the * types of @arg1 and @arg2. **/ FoDatatype* fo_datatype_add (FoDatatype *arg1, FoDatatype *arg2) { FoDatatype *result = NULL; g_return_val_if_fail (FO_IS_DATATYPE (arg1), NULL); g_return_val_if_fail (FO_IS_DATATYPE (arg2), NULL); if (FO_IS_INTEGER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_integer_new_with_value (fo_integer_get_value (arg1) + fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_integer_get_value (arg1) + fo_number_get_value (arg2)); } } else if (FO_IS_NUMBER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_number_new_with_value (fo_number_get_value (arg1) + fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_number_get_value (arg1) + fo_number_get_value (arg2)); } } else if (FO_IS_LENGTH (arg1)) { if (FO_IS_LENGTH (arg2)) { result = fo_length_new_with_value (fo_length_get_value (arg1) + fo_length_get_value (arg2)); } else if (FO_IS_PCW (arg2)) { result = g_object_ref (arg2); } } else if (FO_IS_PERCENTAGE (arg1)) { if (FO_IS_PERCENTAGE (arg2)) { result = fo_percentage_new (); fo_percentage_set_value (result, fo_percentage_get_value (arg1) + fo_percentage_get_value (arg2)); } } else if (FO_IS_PCW (arg1)) { if (FO_IS_PCW (arg2)) { result = fo_pcw_new_with_value (fo_pcw_get_value (arg1) + fo_pcw_get_value (arg2)); } else if (FO_IS_LENGTH (arg2)) { result = g_object_ref (arg1); } } if (result == NULL) { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_ADD, fo_datatype_error_messages[FO_DATATYPE_ERROR_ADD], fo_object_sprintf (arg1), fo_object_sprintf (arg2)); result = fo_error_new_with_value (error); } g_object_unref (arg1); g_object_unref (arg2); return result; } /** * fo_datatype_sub: * @arg1: #FoDatatype. * @arg2: #FoDatatype. * * Find subtraction of the value of @arg2 from the value of @arg1. * @arg1 and @arg2 are unchanged. * * The type of the return value depends on the types of @arg1 and * @arg2: * * fo_datatype_sub (#FoInteger, #FoInteger) --> #FoInteger * fo_datatype_sub (#FoInteger, #FoNumber) --> #FoNumber * fo_datatype_sub (#FoNumber, #FoInteger) --> #FoNumber * fo_datatype_sub (#FoNumber, #FoNumber) --> #FoNumber * fo_datatype_sub (#FoLength, #FoLength) --> #FoLength * fo_datatype_sub (#FoPercentage, #FoPercentage) --> #FoPercentage * * Return value: #FoDatatype with value that is equal to subtraction * of the value of @arg2 from the value of @arg1, or #FoError if * cannot compute subisor of @arg1 and @arg2. The type of the return * value depends on the types of @arg1 and @arg2. **/ FoDatatype* fo_datatype_sub (FoDatatype *arg1, FoDatatype *arg2) { FoDatatype *result = NULL; g_return_val_if_fail (FO_IS_DATATYPE (arg1), NULL); g_return_val_if_fail (FO_IS_DATATYPE (arg2), NULL); if (FO_IS_INTEGER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_integer_new_with_value (fo_integer_get_value (arg1) - fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_integer_get_value (arg1) - fo_number_get_value (arg2)); } } else if (FO_IS_NUMBER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_number_new_with_value (fo_number_get_value (arg1) - fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_number_get_value (arg1) - fo_number_get_value (arg2)); } } else if (FO_IS_LENGTH (arg1)) { if (FO_IS_LENGTH (arg2)) { result = fo_length_new_with_value (fo_length_get_value (arg1) - fo_length_get_value (arg2)); } } else if (FO_IS_PERCENTAGE (arg1)) { if (FO_IS_PERCENTAGE (arg2)) { result = fo_percentage_new (); fo_percentage_set_value (result, fo_percentage_get_value (arg1) - fo_percentage_get_value (arg2)); } } else { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_SUB, fo_datatype_error_messages[FO_DATATYPE_ERROR_SUB], fo_object_sprintf (arg1), fo_object_sprintf (arg2)); result = fo_error_new_with_value (error); } g_object_unref (arg1); g_object_unref (arg2); return result; } /** * fo_datatype_mul: * @arg1: #FoDatatype. * @arg2: #FoDatatype. * * Find multiple of values of @arg1 and @arg2. @arg1 and @arg2 are * unchanged. * * The type of the return value depends on the types of @arg1 and * @arg2: * * fo_datatype_mul (#FoInteger, #FoInteger) --> #FoInteger * fo_datatype_mul (#FoInteger, #FoNumber) --> #FoNumber * fo_datatype_mul (#FoInteger, #FoLength) --> #FoLength * fo_datatype_mul (#FoInteger, #FoPercentage) --> #FoInteger * fo_datatype_mul (#FoNumber, #FoInteger) --> #FoNumber * fo_datatype_mul (#FoNumber, #FoNumber) --> #FoNumber * fo_datatype_mul (#FoNumber, #FoLength) --> #FoLength * fo_datatype_mul (#FoNumber, #FoPercentage) --> #FoNumber * fo_datatype_mul (#FoLength, #FoInteger) --> #FoLength * fo_datatype_mul (#FoLength, #FoNumber) --> #FoLength * fo_datatype_mul (#FoLength, #FoPercentage) --> #FoLength * fo_datatype_mul (#FoPercentage, #FoInteger) --> #FoInteger * fo_datatype_mul (#FoPercentage, #FoNumber) --> #FoNumber * fo_datatype_mul (#FoPercentage, #FoLength) --> #FoLength * fo_datatype_mul (#FoPercentage, #FoPercentage) --> #FoPercentage * * Return value: #FoDatatype with value that is equal to mulisor of * values of @arg1 and @arg2, or #FoError if cannot compute mulisor of * @arg1 and @arg2. The type of the return value depends on the types * of @arg1 and @arg2. **/ FoDatatype* fo_datatype_mul (FoDatatype *arg1, FoDatatype *arg2) { FoDatatype *result = NULL; g_return_val_if_fail (FO_IS_DATATYPE (arg1), NULL); g_return_val_if_fail (FO_IS_DATATYPE (arg2), NULL); if (FO_IS_INTEGER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_integer_new_with_value (fo_integer_get_value (arg1) * fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_integer_get_value (arg1) * fo_number_get_value (arg2)); } else if (FO_IS_LENGTH (arg2)) { result = fo_length_new_with_value (fo_integer_get_value (arg1) * fo_length_get_value (arg2)); } else if (FO_IS_PERCENTAGE (arg2)) { result = fo_integer_new_with_value (fo_integer_get_value (arg1) * fo_percentage_get_value (arg2) * 0.01); } } else if (FO_IS_NUMBER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_number_new_with_value (fo_number_get_value (arg1) * fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_number_get_value (arg1) * fo_number_get_value (arg2)); } else if (FO_IS_LENGTH (arg2)) { result = fo_length_new_with_value (fo_number_get_value (arg1) * fo_length_get_value (arg2)); } else if (FO_IS_PERCENTAGE (arg2)) { result = fo_number_new_with_value (fo_number_get_value (arg1) * fo_percentage_get_value (arg2) * 0.01); } } else if (FO_IS_LENGTH (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_length_new_with_value (fo_length_get_value (arg1) * fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_length_new_with_value (fo_length_get_value (arg1) * fo_number_get_value (arg2)); } else if (FO_IS_PERCENTAGE (arg2)) { result = fo_length_new_with_value (fo_length_get_value (arg1) * fo_percentage_get_value (arg2) * 0.01); } } else if (FO_IS_PERCENTAGE (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_integer_new_with_value (fo_percentage_get_value (arg1) * 0.01 * fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_percentage_get_value (arg1) * 0.01 * fo_number_get_value (arg2)); } else if (FO_IS_LENGTH (arg2)) { result = fo_length_new_with_value (fo_percentage_get_value (arg1) * 0.01 * fo_length_get_value (arg2)); } else if (FO_IS_PERCENTAGE (arg2)) { result = fo_percentage_new (); fo_percentage_set_value (result, fo_percentage_get_value (arg1) * 0.01 * fo_percentage_get_value (arg2)); } } else { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_MUL, fo_datatype_error_messages[FO_DATATYPE_ERROR_MUL], fo_object_sprintf (arg1), fo_object_sprintf (arg2)); result = fo_error_new_with_value (error); } g_object_unref (arg1); g_object_unref (arg2); return result; } /** * fo_datatype_div: * @arg1: #FoDatatype. * @arg2: #FoDatatype. * * Find divisor of values of @arg1 and @arg2. @arg1 and @arg2 are * unchanged. * * The type of the return value depends on the types of @arg1 and * @arg2: * * fo_datatype_div (#FoInteger, #FoInteger) --> #FoInteger * fo_datatype_div (#FoInteger, #FoNumber) --> #FoNumber * fo_datatype_div (#FoNumber, #FoInteger) --> #FoNumber * fo_datatype_div (#FoNumber, #FoNumber) --> #FoNumber * fo_datatype_div (#FoLength, #FoLength) --> #FoNumber * fo_datatype_div (#FoLength, #FoInteger) --> #FoLength * fo_datatype_div (#FoLength, #FoNumber) --> #FoLength * fo_datatype_div (#FoLength, #FoPercentage) --> #FoLength * fo_datatype_div (#FoPercentage, #FoPercentage) --> #FoPercentage * fo_datatype_div (#FoPercentage, #FoNumber) --> #FoPercentage * fo_datatype_div (#FoPercentage, #FoInteger) --> #FoPercentage * * Return value: #FoDatatype with value that is equal to divisor of * values of @arg1 and @arg2, or #FoError if cannot compute divisor of * @arg1 and @arg2. The type of the return value depends on the types * of @arg1 and @arg2. **/ FoDatatype* fo_datatype_div (FoDatatype *arg1, FoDatatype *arg2) { FoDatatype *result = NULL; g_return_val_if_fail (FO_IS_DATATYPE (arg1), NULL); g_return_val_if_fail (FO_IS_DATATYPE (arg2), NULL); if (FO_IS_INTEGER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_integer_new_with_value (fo_integer_get_value (arg1) / fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_integer_get_value (arg1) / fo_number_get_value (arg2)); } } else if (FO_IS_NUMBER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_number_new_with_value (fo_number_get_value (arg1) / fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_number_get_value (arg1) / fo_number_get_value (arg2)); } } else if (FO_IS_LENGTH (arg1)) { if (FO_IS_LENGTH (arg2)) { result = fo_number_new_with_value (fo_length_get_value (arg1) / fo_length_get_value (arg2)); } else if (FO_IS_INTEGER (arg2)) { result = fo_length_new_with_value (fo_length_get_value (arg1) / fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_length_new_with_value (fo_length_get_value (arg1) / fo_number_get_value (arg2)); } else if (FO_IS_PERCENTAGE (arg2)) { result = fo_length_new_with_value (fo_length_get_value (arg1) / (0.01 * fo_percentage_get_value (arg2))); } } else if (FO_IS_PERCENTAGE (arg1)) { if (FO_IS_PERCENTAGE (arg2)) { result = fo_percentage_new (); fo_percentage_set_value (result, fo_percentage_get_value (arg1) / fo_percentage_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_percentage_new (); fo_percentage_set_value (result, fo_percentage_get_value (arg1) / fo_number_get_value (arg2)); } else if (FO_IS_INTEGER (arg2)) { result = fo_percentage_new (); fo_percentage_set_value (result, fo_percentage_get_value (arg1) / fo_integer_get_value (arg2)); } } else { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_DIV, fo_datatype_error_messages[FO_DATATYPE_ERROR_DIV], fo_object_sprintf (arg1), fo_object_sprintf (arg2)); result = fo_error_new_with_value (error); } g_object_unref (arg1); g_object_unref (arg2); return result; } /** * fo_datatype_mod: * @arg1: #FoDatatype. * @arg2: #FoDatatype. * * Find modulus of values of @arg1 and @arg2. @arg1 and @arg2 are * unchanged. * * The type of the return value depends on the types of @arg1 and * @arg2: * * fo_datatype_mod (#FoInteger, #FoInteger) --> #FoInteger * fo_datatype_mod (#FoInteger, #FoNumber) --> #FoNumber * fo_datatype_mod (#FoNumber, #FoInteger) --> #FoNumber * fo_datatype_mod (#FoNumber, #FoNumber) --> #FoNumber * fo_datatype_mod (#FoLength, #FoLength) --> #FoNumber * fo_datatype_mod (#FoLength, #FoInteger) --> #FoNumber * fo_datatype_mod (#FoLength, #FoNumber) --> #FoNumber * fo_datatype_mod (#FoLength, #FoPercentage) --> #FoNumber * fo_datatype_mod (#FoPercentage, #FoPercentage) --> #FoNumber * fo_datatype_mod (#FoPercentage, #FoNumber) --> #FoPercentage * fo_datatype_mod (#FoPercentage, #FoInteger) --> #FoPercentage * * Return value: #FoDatatype with value that is equal to modulus of * values of @arg1 and @arg2, or #FoError if cannot compute modulus of * @arg1 and @arg2. The type of the return value depends on the types * of @arg1 and @arg2. **/ FoDatatype* fo_datatype_mod (FoDatatype *arg1, FoDatatype *arg2) { FoDatatype *result = NULL; g_return_val_if_fail (FO_IS_DATATYPE (arg1), NULL); g_return_val_if_fail (FO_IS_DATATYPE (arg2), NULL); if (FO_IS_INTEGER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_integer_new_with_value (fo_integer_get_value (arg1) % fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value (fo_integer_get_value (arg1) % (int) fo_number_get_value (arg2)); } } else if (FO_IS_NUMBER (arg1)) { if (FO_IS_INTEGER (arg2)) { result = fo_number_new_with_value ((int) fo_number_get_value (arg1) % fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value ((int) fo_number_get_value (arg1) % (int) fo_number_get_value (arg2)); } } else if (FO_IS_LENGTH (arg1)) { if (FO_IS_LENGTH (arg2)) { result = fo_number_new_with_value ((int) fo_length_get_value (arg1) % (int) fo_length_get_value (arg2)); } else if (FO_IS_INTEGER (arg2)) { result = fo_number_new_with_value ((int) fo_length_get_value (arg1) % fo_integer_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_number_new_with_value ((int) fo_length_get_value (arg1) % (int) fo_number_get_value (arg2)); } else if (FO_IS_PERCENTAGE (arg2)) { result = fo_number_new_with_value ((int) fo_length_get_value (arg1) % (int) (0.01 * fo_percentage_get_value (arg2))); } } else if (FO_IS_PERCENTAGE (arg1)) { if (FO_IS_PERCENTAGE (arg2)) { result = fo_percentage_new (); fo_percentage_set_value (result, (int) fo_percentage_get_value (arg1) % (int) fo_percentage_get_value (arg2)); } else if (FO_IS_NUMBER (arg2)) { result = fo_percentage_new (); fo_percentage_set_value (result, (int) fo_percentage_get_value (arg1) % (int) fo_number_get_value (arg2)); } else if (FO_IS_INTEGER (arg2)) { result = fo_percentage_new (); fo_percentage_set_value (result, (int) fo_percentage_get_value (arg1) % (int) fo_integer_get_value (arg2)); } } else { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_MOD, fo_datatype_error_messages[FO_DATATYPE_ERROR_MOD], fo_object_sprintf (arg1), fo_object_sprintf (arg2)); result = fo_error_new_with_value (error); } g_object_unref (arg1); g_object_unref (arg2); return result; } /** * fo_datatype_max: * @arg1: Instance of child type of #FoDatatype. * @arg2: #FoDatatype of same child type as @arg1. * * Find maximum of values of @arg1 and @arg2. @arg1 and @arg2 are * unchanged. * * Return value: #FoDatatype of same type as @arg1 and @arg2 and with * value that is equal to maximum of values of @arg1 and @arg2, or * #FoError if cannot compute maximum of @arg1 and @arg2. **/ FoDatatype* fo_datatype_max (FoDatatype *arg1, FoDatatype *arg2) { FoDatatype *result = NULL; g_return_val_if_fail (FO_IS_DATATYPE (arg1), NULL); g_return_val_if_fail (FO_IS_DATATYPE (arg2), NULL); if (FO_IS_NUMBER (arg1) && FO_IS_NUMBER (arg2)) { result = g_object_ref (fo_number_get_value (arg1) > fo_number_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_LENGTH (arg1) && FO_IS_LENGTH (arg2)) { result = g_object_ref (fo_length_get_value (arg1) > fo_length_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_INTEGER (arg1) && FO_IS_INTEGER (arg2)) { result = g_object_ref (fo_integer_get_value (arg1) > fo_integer_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_NUMBER (arg1) && FO_IS_INTEGER (arg2)) { result = g_object_ref (fo_number_get_value (arg1) > fo_integer_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_INTEGER (arg1) && FO_IS_NUMBER (arg2)) { result = g_object_ref (fo_integer_get_value (arg1) > fo_number_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_PERCENTAGE (arg1) && FO_IS_PERCENTAGE (arg2)) { result = g_object_ref (fo_percentage_get_value (arg1) > fo_percentage_get_value (arg2) ? arg1 : arg2); } else { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_MAX, fo_datatype_error_messages[FO_DATATYPE_ERROR_MAX], fo_object_sprintf (arg1), fo_object_sprintf (arg2)); result = fo_error_new_with_value (error); } g_object_unref(arg1); g_object_unref(arg2); return result; } /** * fo_datatype_min: * @arg1: Instance of child type of #FoDatatype. * @arg2: #FoDatatype of same child type as @arg1. * * Find minimum of values of @arg1 and @arg2. @arg1 and @arg2 are * unchanged. * * Return value: #FoDatatype of same type as @arg1 and @arg2 and with * value that is equal to minimum of values of @arg1 and @arg2, or * #FoError if cannot compute minimum of @arg1 and @arg2. **/ FoDatatype* fo_datatype_min (FoDatatype *arg1, FoDatatype *arg2) { FoDatatype *result = NULL; g_return_val_if_fail (FO_IS_DATATYPE (arg1), NULL); g_return_val_if_fail (FO_IS_DATATYPE (arg2), NULL); if (FO_IS_NUMBER (arg1) && FO_IS_NUMBER (arg2)) { result = g_object_ref (fo_number_get_value (arg1) < fo_number_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_LENGTH (arg1) && FO_IS_LENGTH (arg2)) { result = g_object_ref (fo_length_get_value (arg1) < fo_length_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_INTEGER (arg1) && FO_IS_INTEGER (arg2)) { result = g_object_ref (fo_integer_get_value (arg1) < fo_integer_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_NUMBER (arg1) && FO_IS_INTEGER (arg2)) { result = g_object_ref (fo_number_get_value (arg1) < fo_integer_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_INTEGER (arg1) && FO_IS_NUMBER (arg2)) { result = g_object_ref (fo_integer_get_value (arg1) < fo_number_get_value (arg2) ? arg1 : arg2); } else if (FO_IS_PERCENTAGE (arg1) && FO_IS_PERCENTAGE (arg2)) { result = g_object_ref (fo_percentage_get_value (arg1) < fo_percentage_get_value (arg2) ? arg1 : arg2); } else { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_MIN, fo_datatype_error_messages[FO_DATATYPE_ERROR_MIN], fo_object_sprintf (arg1), fo_object_sprintf (arg2)); result = fo_error_new_with_value (error); } g_object_unref (arg1); g_object_unref (arg2); return result; } /** * fo_datatype_floor: * @arg: #FoDatatype. * * Computed floor value of value of @arg. @arg is unchanged. * * Return value: #FoDatatype of same type as @arg and with value that * is floor value of value of @arg, or #FoError if cannot compute * floor of @arg. **/ FoDatatype* fo_datatype_floor (FoDatatype *arg) { FoDatatype *result = NULL; gdouble value; g_return_val_if_fail (FO_IS_DATATYPE (arg), NULL); if (FO_IS_NUMBER (arg)) { value = fo_number_get_value (arg); result = fo_integer_new_with_value (floor (value)); } else if (FO_IS_PERCENTAGE (arg)) { value = fo_percentage_get_value (arg); result = fo_percentage_new (); fo_percentage_set_value (result, floor (value)); } else if (!FO_IS_INTEGER (arg)) { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_FLOOR, fo_datatype_error_messages[FO_DATATYPE_ERROR_FLOOR], fo_object_sprintf (arg)); result = fo_error_new_with_value (error); } g_object_unref (arg); return result; } /** * fo_datatype_ceiling: * @arg: #FoDatatype. * * Computed ceiling value of value of @arg. @arg is unchanged. * * Return value: #FoDatatype of same type as @arg and with value that * is ceiling value of value of @arg, or #FoError if cannot compute * ceiling of @arg. **/ FoDatatype* fo_datatype_ceiling (FoDatatype *arg) { FoDatatype *result = NULL; gdouble value; g_return_val_if_fail (FO_IS_DATATYPE (arg), NULL); if (FO_IS_NUMBER (arg)) { value = fo_number_get_value (arg); result = fo_integer_new_with_value (ceil (value)); } else if (FO_IS_PERCENTAGE (arg)) { value = fo_percentage_get_value (arg); result = fo_percentage_new (); fo_percentage_set_value (result, ceil (value)); } else if (!FO_IS_INTEGER (arg)) { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_CEILING, fo_datatype_error_messages[FO_DATATYPE_ERROR_CEILING], fo_object_sprintf (arg)); result = fo_error_new_with_value (error); } g_object_unref (arg); return result; } /** * fo_datatype_round: * @arg: #FoDatatype to round. * * Computed rounded value of value of @arg. @arg is unchanged. * * Return value: #FoDatatype of same type as @arg and with value that * is rounded value of value of @arg, of #FoError is cannot round * @arg. **/ FoDatatype* fo_datatype_round (FoDatatype *arg) { FoDatatype *result = NULL; gdouble result_value; gdouble value; g_return_val_if_fail (FO_IS_DATATYPE (arg), NULL); if (FO_IS_NUMBER (arg)) { value = fo_number_get_value (arg); result_value = (double)((int) value); if (value >= result_value + 0.5) { result_value = result_value + 1; } result = fo_integer_new_with_value (result_value); } else if (FO_IS_PERCENTAGE (arg)) { value = fo_percentage_get_value (arg); result_value = (double)((int) value); if (value >= result_value + 0.5) { result_value = result_value + 1; } result = fo_percentage_new (); fo_percentage_set_value (result, result_value); } else if (!FO_IS_INTEGER (arg)) { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_ROUND, fo_datatype_error_messages[FO_DATATYPE_ERROR_ROUND], fo_object_sprintf (arg)); result = fo_error_new_with_value (error); } g_object_unref (arg); return result; } /** * fo_datatype_abs: * @arg: #FoDatatype. * * Compute absolute value of value of @arg. @arg is unchanged. * * Return value: #FoDatatype of same type as @arg and with value that * is absolute value of value of @arg, or #FoError if cannot compute * absolute value of @arg. **/ FoDatatype* fo_datatype_abs (FoDatatype *arg) { FoDatatype *result = NULL; gdouble value; g_return_val_if_fail (FO_IS_DATATYPE (arg), NULL); if (FO_IS_NUMBER (arg)) { value = fo_number_get_value (arg); if (value < 0) { result = fo_number_new_with_value (-value); } else { g_object_ref (arg); } } else if (FO_IS_PERCENTAGE (arg)) { value = fo_percentage_get_value (arg); if (value < 0) { result = fo_percentage_new (); fo_percentage_set_value (result, -value); } else { g_object_ref (arg); } } else if (FO_IS_LENGTH (arg)) { value = fo_length_get_value (arg); if (value < 0) { result = fo_length_new_with_value (-value); } else { g_object_ref (arg); } } else if (FO_IS_INTEGER (arg)) { value = fo_integer_get_value (arg); if (value < 0) { result = fo_integer_new_with_value (-value); } else { g_object_ref (arg); } } else { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_ABS, fo_datatype_error_messages[FO_DATATYPE_ERROR_ABS], fo_object_sprintf (arg)); result = fo_error_new_with_value (error); } g_object_unref (arg); return result; } /** * fo_datatype_negate: * @arg: #FoDatatype to negate. * * Compute negated value of value of @arg. @arg is unchanged. * * Return value: #FoDatatype of same type as @arg and negated value, * or #FoError if cannot compute negated value of @arg. **/ FoDatatype* fo_datatype_negate (FoDatatype *arg) { FoDatatype *result = NULL; gdouble value; g_return_val_if_fail (FO_IS_DATATYPE (arg), NULL); if (FO_IS_NUMBER (arg)) { value = fo_number_get_value (arg); result = fo_number_new_with_value (-value); } else if (FO_IS_PERCENTAGE (arg)) { value = fo_percentage_get_value (arg); result = fo_percentage_new (); fo_percentage_set_value (result, -value); } else if (FO_IS_INTEGER (arg)) { value = fo_integer_get_value (arg); result = fo_integer_new_with_value (-value); } else if (FO_IS_LENGTH (arg)) { value = fo_length_get_value (arg); result = fo_length_new_with_value (-value); } else { GError *error = g_error_new (FO_DATATYPE_ERROR, FO_DATATYPE_ERROR_NEGATE, fo_datatype_error_messages[FO_DATATYPE_ERROR_NEGATE], fo_object_sprintf (arg)); result = fo_error_new_with_value (error); } g_object_unref (arg); return result; } xmlroff-0.6.2/libfo/datatype/fo-datatype-private.h0000644000175000017500000000112410643167450017065 00000000000000/* Fo * fo-datatype-private.h: Structures private to the 'FoDatatype' datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_DATATYPE_PRIVATE_H__ #define __FO_DATATYPE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoDatatype { FoObject parent_instance; }; struct _FoDatatypeClass { FoObjectClass parent_class; FoDatatype* (*copy) (FoDatatype *datatype); }; G_END_DECLS #endif /* !__FO_DATATYPE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/datatype/fo-unknown.c0000644000175000017500000001203610643167450015300 00000000000000/* Fo * fo-unknown.c: Unknown datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-unknown.h" enum { PROP_0, PROP_VALUE }; struct _FoUnknown { FoDatatype parent_instance; gchar *value; }; struct _FoUnknownClass { FoDatatypeClass parent_class; }; static void fo_unknown_init (FoUnknown *unknown); static void fo_unknown_class_init (FoUnknownClass *klass); static void fo_unknown_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_unknown_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_unknown_finalize (GObject *object); FoDatatype* fo_unknown_copy (FoDatatype *datatype); gchar* fo_unknown_sprintf (FoObject *datatype); static gpointer parent_class; GType fo_unknown_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoUnknownClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_unknown_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoUnknown), 0, /* n_preallocs */ (GInstanceInitFunc) fo_unknown_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoUnknown", &object_info, 0); } return object_type; } static void fo_unknown_init (FoUnknown *unknown) { unknown->value = NULL; } static void fo_unknown_class_init (FoUnknownClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_unknown_finalize; object_class->set_property = fo_unknown_set_property; object_class->get_property = fo_unknown_get_property; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_string ("value", _("Value"), _("Unknown value"), NULL, G_PARAM_READWRITE)); FO_DATATYPE_CLASS (klass)->copy = fo_unknown_copy; FO_OBJECT_CLASS (klass)->print_sprintf = fo_unknown_sprintf; } static void fo_unknown_finalize (GObject *object) { FoUnknown *unknown; unknown = FO_UNKNOWN (object); g_free(unknown->value); G_OBJECT_CLASS (parent_class)->finalize (object); } static void fo_unknown_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *unknown; unknown = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_unknown_set_value (unknown, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void fo_unknown_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *unknown; unknown = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_string (value, fo_unknown_get_value (unknown)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_unknown_new: * * Creates a new #FoUnknown initialized to default value. * * Return value: the new #FoUnknown **/ FoDatatype * fo_unknown_new (void) { FoDatatype *unknown; unknown = FO_DATATYPE (g_object_new (fo_unknown_get_type (), NULL)); return unknown; } /* value */ gchar* fo_unknown_get_value (FoDatatype *unknown) { g_return_val_if_fail (unknown != NULL, NULL); g_return_val_if_fail (FO_IS_UNKNOWN (unknown), NULL); return g_strdup (FO_UNKNOWN (unknown)->value); } void fo_unknown_set_value (FoDatatype *unknown, const gchar* new_value) { g_return_if_fail (unknown != NULL); g_return_if_fail (FO_IS_UNKNOWN (unknown)); FO_UNKNOWN (unknown)->value = g_strdup (new_value); /*g_object_notify (G_OBJECT (unknown), "value");*/ } FoDatatype * fo_unknown_copy(FoDatatype *datatype) { FoDatatype* unknown; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_UNKNOWN (datatype), NULL); unknown = fo_unknown_new (); FO_UNKNOWN (unknown)->value = g_strdup (FO_UNKNOWN (datatype)->value); return (FO_DATATYPE(unknown)); } gchar* fo_unknown_sprintf (FoObject *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_UNKNOWN (datatype), NULL); return (g_strdup_printf("%s", FO_UNKNOWN (datatype)->value)); } xmlroff-0.6.2/libfo/datatype/fo-unknown.h0000644000175000017500000000230510643167450015303 00000000000000/* Fo * fo-unknown.h: Unknown datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_UNKNOWN_H__ #define __FO_UNKNOWN_H__ #include G_BEGIN_DECLS #define FO_TYPE_UNKNOWN (fo_unknown_get_type ()) #define FO_UNKNOWN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_UNKNOWN, FoUnknown)) #define FO_UNKNOWN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_UNKNOWN, FoUnknownClass)) #define FO_IS_UNKNOWN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_UNKNOWN)) #define FO_IS_UNKNOWN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_UNKNOWN)) #define FO_UNKNOWN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_UNKNOWN, FoUnknownClass)) typedef struct _FoUnknown FoUnknown; typedef struct _FoUnknownClass FoUnknownClass; GType fo_unknown_get_type (void) G_GNUC_CONST; FoDatatype * fo_unknown_new (void); gchar* fo_unknown_get_value (FoDatatype *unknown); void fo_unknown_set_value (FoDatatype *unknown, const gchar *new_value); G_END_DECLS #endif /* !__FO_UNKNOWN_H__ */ xmlroff-0.6.2/libfo/datatype/fo-expression.c0000644000175000017500000001240210643167450015775 00000000000000/* Fo * fo-expression.c: Expression datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-expression.h" enum { PROP_0, PROP_VALUE }; struct _FoExpression { FoDatatype parent_instance; gchar *value; }; struct _FoExpressionClass { FoDatatypeClass parent_class; }; static void fo_expression_init (FoExpression *expression); static void fo_expression_class_init (FoExpressionClass *klass); static void fo_expression_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_expression_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_expression_finalize (GObject *object); FoDatatype* fo_expression_copy(FoDatatype *datatype); gchar* fo_expression_sprintf (FoObject *datatype); static gpointer parent_class; GType fo_expression_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoExpressionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_expression_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoExpression), 0, /* n_preallocs */ (GInstanceInitFunc) fo_expression_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoExpression", &object_info, 0); } return object_type; } static void fo_expression_init (FoExpression *expression) { expression->value = NULL; } static void fo_expression_class_init (FoExpressionClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_expression_finalize; object_class->set_property = fo_expression_set_property; object_class->get_property = fo_expression_get_property; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_string ("value", _("Value"), _("Expression value"), NULL, G_PARAM_READWRITE)); FO_DATATYPE_CLASS (klass)->copy = fo_expression_copy; FO_OBJECT_CLASS (klass)->print_sprintf = fo_expression_sprintf; } static void fo_expression_finalize (GObject *object) { FoExpression *expression; expression = FO_EXPRESSION (object); g_free(expression->value); G_OBJECT_CLASS (parent_class)->finalize (object); } static void fo_expression_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *expression; expression = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_expression_set_value (expression, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void fo_expression_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *expression; expression = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_string (value, fo_expression_get_value (expression)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_expression_new: * * Creates a new #FoExpression initialized to default value. * * Return value: the new #FoExpression **/ FoDatatype * fo_expression_new (void) { FoDatatype *expression; expression = FO_DATATYPE (g_object_new (fo_expression_get_type (), NULL)); return expression; } /* value */ void fo_expression_set_value (FoDatatype *expression, const gchar* new_value) { g_return_if_fail (expression != NULL); g_return_if_fail (FO_IS_EXPRESSION (expression)); FO_EXPRESSION (expression)->value = g_strdup (new_value); /*g_object_notify (G_OBJECT (expression), "value");*/ } gchar* fo_expression_get_value (FoDatatype *expression) { g_return_val_if_fail (expression != NULL, NULL); g_return_val_if_fail (FO_IS_EXPRESSION (expression), NULL); return g_strdup (FO_EXPRESSION (expression)->value); } FoDatatype* fo_expression_copy(FoDatatype *datatype) { FoDatatype* expression; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_EXPRESSION (datatype), NULL); expression = fo_expression_new (); FO_EXPRESSION (expression)->value = g_strdup (FO_EXPRESSION (datatype)->value); return expression; } gchar* fo_expression_sprintf (FoObject *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_EXPRESSION (datatype), NULL); return (g_strdup_printf("%s", FO_EXPRESSION (datatype)->value)); } xmlroff-0.6.2/libfo/datatype/fo-expression.h0000644000175000017500000000243410643167450016006 00000000000000/* Fo * fo-expression.h: Expression datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_EXPRESSION_H__ #define __FO_EXPRESSION_H__ #include G_BEGIN_DECLS #define FO_TYPE_EXPRESSION (fo_expression_get_type ()) #define FO_EXPRESSION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_EXPRESSION, FoExpression)) #define FO_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_EXPRESSION, FoExpressionClass)) #define FO_IS_EXPRESSION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_EXPRESSION)) #define FO_IS_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_EXPRESSION)) #define FO_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_EXPRESSION, FoExpressionClass)) typedef struct _FoExpression FoExpression; typedef struct _FoExpressionClass FoExpressionClass; GType fo_expression_get_type (void) G_GNUC_CONST; FoDatatype *fo_expression_new (void); gchar* fo_expression_get_value (FoDatatype *expression); void fo_expression_set_value (FoDatatype *expression, const gchar* new_value); G_END_DECLS #endif /* !__FO_EXPRESSION_H__ */ xmlroff-0.6.2/libfo/datatype/fo-boolean.c0000644000175000017500000002047010643167450015221 00000000000000/* Fo * fo-boolean.c: Boolean datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-boolean.h" enum { PROP_0, PROP_VALUE }; struct _FoBoolean { FoDatatype parent_instance; gboolean value; }; struct _FoBooleanClass { FoDatatypeClass parent_class; }; static void fo_boolean_init (FoBoolean *boolean); static void fo_boolean_class_init (FoBooleanClass *klass); static void fo_boolean_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_boolean_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_boolean_finalize (GObject *object); static FoDatatype * fo_boolean_copy (FoDatatype *datatype); static gchar* fo_boolean_sprintf (FoObject *object); static void fo_boolean_set_value (FoDatatype *boolean, gboolean new_value); static gpointer parent_class; /** * fo_boolean_get_type: * * Register the #FoBoolean object type. * * Return value: #GType value of the #FoBoolean object type. **/ GType fo_boolean_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoBooleanClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_boolean_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoBoolean), 0, /* n_preallocs */ (GInstanceInitFunc) fo_boolean_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoBoolean", &object_info, 0); } return object_type; } /** * fo_boolean_init: * @boolean: #FoBoolean object to initialise. * * Implements #GInstanceInitFunc for #FoBoolean. **/ static void fo_boolean_init (FoBoolean *boolean) { boolean->value = FALSE; } /** * fo_boolean_class_init: * @klass: #FoBooleanClass object to initialise. * * Implements #GClassInitFunc for #FoBooleanClass. **/ void fo_boolean_class_init (FoBooleanClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_boolean_finalize; object_class->set_property = fo_boolean_set_property; object_class->get_property = fo_boolean_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_boolean_sprintf; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_boolean ("value", _("Value"), _("Boolean value"), FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); FO_DATATYPE_CLASS (klass)->copy = fo_boolean_copy; } /** * fo_boolean_finalize: * @object: #FoBoolean object to finalize. * * Implements #GObjectFinalizeFunc for #FoBoolean. **/ void fo_boolean_finalize (GObject *object) { FoBoolean *boolean; boolean = FO_BOOLEAN (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_boolean_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: #GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoBoolean. **/ void fo_boolean_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *boolean; boolean = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_boolean (value, fo_boolean_get_value (boolean)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_boolean_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoBoolean. **/ void fo_boolean_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *boolean; boolean = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_boolean_set_value (boolean, g_value_get_boolean (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_boolean_new: * * Creates a new #FoBoolean initialized to default value. * * Return value: the new #FoBoolean. **/ FoDatatype * fo_boolean_new (void) { FoDatatype *boolean; boolean = FO_DATATYPE (g_object_new (fo_boolean_get_type (), NULL)); return boolean; } /** * fo_boolean_new_with_value: * @value: gboolean of the new #FoBoolean. * * Creates a new #FoBoolean set to @value. * * Return value: The new #FoBoolean. **/ FoDatatype* fo_boolean_new_with_value (gboolean value) { FoDatatype *boolean = fo_boolean_new (); fo_boolean_set_value (boolean, value); return boolean; } /** * fo_boolean_get_value: * @boolean: #FoBoolean. * * Get the value of @boolean. * * Return value: #gboolean value of @boolean. **/ gboolean fo_boolean_get_value (FoDatatype *boolean) { g_return_val_if_fail (boolean != NULL, 0); g_return_val_if_fail (FO_IS_BOOLEAN (boolean), 0); return FO_BOOLEAN (boolean)->value; } /** * fo_boolean_set_value: * @boolean: #FoBoolean. * @new_value: New value for @boolean. * * Set the value of @boolean. **/ void fo_boolean_set_value (FoDatatype *boolean, gboolean new_value) { g_return_if_fail (boolean != NULL); g_return_if_fail (FO_IS_BOOLEAN (boolean)); FO_BOOLEAN (boolean)->value = new_value; /*g_object_notify(G_OBJECT (boolean), "value");*/ } /** * fo_boolean_sprintf: * @object: #FoBoolean whose value is to be printed. * * Create and return a string representation of the value of @object, * which must be an #FoBoolean. * * String must be freed by caller. * * Return value: String representation of value of @object. **/ gchar* fo_boolean_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_BOOLEAN (object), NULL); return g_strdup_printf (FO_BOOLEAN (object)->value ? "true" : "false"); } /** * fo_boolean_copy: * @datatype: #FoBoolean to be copied. * * Create a copy of @datatype. * * Return value: New #FoBoolean. **/ FoDatatype* fo_boolean_copy (FoDatatype *datatype) { FoDatatype *boolean; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_BOOLEAN (datatype), NULL); boolean = fo_boolean_new (); FO_BOOLEAN (boolean)->value = FO_BOOLEAN (datatype)->value; return boolean; } /** * fo_boolean_get_true: * * Create and return an #FoBoolean with the well-known value %true. * * This saves creation of multiple #FoBoolean objects that all have the * value %true. * * Return value: #FoBoolean with value %true. **/ FoDatatype* fo_boolean_get_true (void) { static FoDatatype *boolean = NULL; if (!boolean) { boolean = fo_boolean_new (); FO_BOOLEAN (boolean)->value = TRUE; } return boolean; } /** * fo_boolean_get_false: * * Create and return an #FoBoolean with the well-known value %false. * * This saves creation of multiple #FoBoolean objects that all have the * value %false. * * Return value: #FoBoolean with value %false. **/ FoDatatype* fo_boolean_get_false (void) { static FoDatatype *boolean = NULL; if (!boolean) { boolean = fo_boolean_new (); FO_BOOLEAN (boolean)->value = FALSE; } return boolean; } xmlroff-0.6.2/libfo/datatype/fo-boolean.h0000644000175000017500000000242510643167450015226 00000000000000/* Fo * fo-boolean.h: Boolean datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_BOOLEAN_H__ #define __FO_BOOLEAN_H__ #include G_BEGIN_DECLS #define FO_TYPE_BOOLEAN (fo_boolean_get_type ()) #define FO_BOOLEAN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_BOOLEAN, FoBoolean)) #define FO_BOOLEAN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_BOOLEAN, FoBooleanClass)) #define FO_IS_BOOLEAN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_BOOLEAN)) #define FO_IS_BOOLEAN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_BOOLEAN)) #define FO_BOOLEAN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_BOOLEAN, FoBooleanClass)) typedef struct _FoBoolean FoBoolean; typedef struct _FoBooleanClass FoBooleanClass; GType fo_boolean_get_type (void) G_GNUC_CONST; FoDatatype * fo_boolean_new (void); FoDatatype * fo_boolean_new_with_value (gboolean value); gboolean fo_boolean_get_value (FoDatatype *boolean); FoDatatype * fo_boolean_get_true (void); FoDatatype * fo_boolean_get_false (void); G_END_DECLS #endif /* !__FO_BOOLEAN_H__ */ xmlroff-0.6.2/libfo/datatype/fo-char.c0000644000175000017500000001712610703113325014510 00000000000000/* Fo * fo-char.c: Character datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-char.h" enum { PROP_0, PROP_VALUE }; struct _FoChar { FoDatatype parent_instance; gchar* value; }; struct _FoCharClass { FoDatatypeClass parent_class; }; static FoDatatype * fo_char_new (void); static void fo_char_init (FoChar *fo_char); static void fo_char_class_init (FoCharClass *klass); static void fo_char_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_char_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_char_finalize (GObject *object); static gchar* fo_char_sprintf (FoObject *fo_object); static FoDatatype * fo_char_copy (FoDatatype *datatype); static void fo_char_set_value (FoDatatype *fo_char, const gchar *new_value); static gpointer parent_class; /** * fo_char_get_type: * * Register the #FoChar object type. * * Return value: #GType value of the #FoChar object type. **/ GType fo_char_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoCharClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_char_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoChar), 0, /* n_preallocs */ (GInstanceInitFunc) fo_char_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoChar", &object_info, 0); } return object_type; } /** * fo_char_init: * @char: #FoChar object to initialise. * * Implements #GInstanceInitFunc for #FoChar. **/ void fo_char_init (FoChar *fo_char) { fo_char->value = NULL; } /** * fo_char_class_init: * @klass: #FoCharClass object to initialise. * * Implements #GClassInitFunc for #FoCharClass. **/ void fo_char_class_init (FoCharClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_char_finalize; object_class->set_property = fo_char_set_property; object_class->get_property = fo_char_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_char_sprintf; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_string ("value", _("Value"), _("FoChar value"), NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); FO_DATATYPE_CLASS (klass)->copy = fo_char_copy; } /** * fo_char_finalize: * @object: #FoChar object to finalize. * * Implements #GObjectFinalizeFunc for #FoChar. **/ void fo_char_finalize (GObject *object) { FoChar *fo_char; fo_char = FO_CHAR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_char_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: #GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoChar. **/ void fo_char_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *fo_char; fo_char = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_string (value, fo_char_get_value (fo_char)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_char_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoChar. **/ void fo_char_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *fo_char; fo_char = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_char_set_value (fo_char, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_char_new: * * Creates a new #FoChar initialized to default value. * * Return value: the new #FoChar. **/ FoDatatype * fo_char_new (void) { FoDatatype *fo_char; fo_char = FO_DATATYPE (g_object_new (fo_char_get_type (), NULL)); return fo_char; } /** * fo_char_new_with_value: * @value: String value of the new #FoChar. * * Creates a new #FoChar set to @value. * * Return value: The new #FoChar. **/ FoDatatype* fo_char_new_with_value (const gchar *value) { FoDatatype *fo_char = fo_char_new (); fo_char_set_value (fo_char, value); return fo_char; } /** * fo_char_get_value: * @fo_char: #FoChar. * * Get the value of @fo_char. * * Return value: String value of @fo_char. **/ const gchar* fo_char_get_value (FoDatatype *fo_char) { g_return_val_if_fail (fo_char != NULL, 0); g_return_val_if_fail (FO_IS_CHAR (fo_char), 0); return FO_CHAR (fo_char)->value; } /** * fo_char_set_value: * @fo_char: #FoChar. * @new_value: New value for @fo_char. * * Set the value of @fo_char. **/ void fo_char_set_value (FoDatatype *fo_char, const gchar *new_value) { g_return_if_fail (fo_char != NULL); g_return_if_fail (FO_IS_CHAR (fo_char)); FO_CHAR (fo_char)->value = g_strdup (new_value); /*g_object_notify (G_OBJECT (fo_char), "value");*/ } /** * fo_char_copy: * @datatype: #FoChar to be copied. * * Create a copy of @datatype. * * Return value: New #FoChar. **/ FoDatatype* fo_char_copy (FoDatatype *datatype) { FoDatatype *fo_char; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_CHAR (datatype), NULL); fo_char = fo_char_new (); FO_CHAR (fo_char)->value = FO_CHAR (datatype)->value; return fo_char; } /** * fo_char_sprintf: * @object: #FoChar to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_char_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_CHAR (object), NULL); return (g_strdup_printf(_("'%s'"), FO_CHAR (object)->value)); } /** * fo_char_get_char_space: * * Get an #FoChar with the well-known value of ' '. * * Return value: The #FoChar. **/ FoDatatype * fo_char_get_char_space (void) { static FoDatatype *character = NULL; if (character == NULL) { character = fo_char_new_with_value (" "); } return character; } /** * fo_char_get_char_zws: * * Get an #FoChar with the well-known value of U+200B, ZERO WIDTH * SPACE. * * Return value: The #FoChar. **/ FoDatatype * fo_char_get_char_zws (void) { static FoDatatype *character = NULL; if (character == NULL) { character = fo_char_new_with_value ("\xe2\x80\x8b"); } return character; } xmlroff-0.6.2/libfo/datatype/fo-char.h0000644000175000017500000000223010703004434014503 00000000000000/* Fo * fo-char.h: Character datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_CHAR_H__ #define __FO_CHAR_H__ #include G_BEGIN_DECLS #define FO_TYPE_CHAR (fo_char_get_type ()) #define FO_CHAR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_CHAR, FoChar)) #define FO_CHAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_CHAR, FoCharClass)) #define FO_IS_CHAR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_CHAR)) #define FO_IS_CHAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_CHAR)) #define FO_CHAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_CHAR, FoCharClass)) typedef struct _FoChar FoChar; typedef struct _FoCharClass FoCharClass; GType fo_char_get_type (void) G_GNUC_CONST; FoDatatype * fo_char_new_with_value (const gchar *value); const gchar *fo_char_get_value (FoDatatype *fo_char); FoDatatype * fo_char_get_char_space (void); FoDatatype * fo_char_get_char_zws (void); G_END_DECLS #endif /* !__FO_CHAR_H__ */ xmlroff-0.6.2/libfo/datatype/fo-color.c0000644000175000017500000004514310701014140014702 00000000000000/* Fo * fo-color.c: Color datatype * * Copyright (C) 2001, 2002 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-color.h" #include "util/fo-hash-table.h" #define FO_COLOR_VALUE_MAX 0xFFFF enum { PROP_0, PROP_RED, PROP_GREEN, PROP_BLUE }; struct _FoColor { FoDatatype parent_instance; guint16 red; guint16 green; guint16 blue; }; struct _FoColorClass { FoDatatypeClass parent_class; FoHashTable *colors; }; static FoDatatype * fo_color_new (void); static void fo_color_init (FoColor *color); static void fo_color_class_init (FoColorClass *klass); static void fo_color_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_color_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_color_finalize (GObject *object); static guint fo_color_hash_func (gconstpointer v); static gint fo_color_equal_func (gconstpointer v1, gconstpointer v2); static FoDatatype * fo_color_copy (FoDatatype *datatype); static gchar* fo_color_sprintf (FoObject *object); static void fo_color_set_red (FoDatatype *color, guint16 new_red); static void fo_color_set_green (FoDatatype *color, guint16 new_green); static void fo_color_set_blue (FoDatatype *color, guint16 new_blue); static gpointer parent_class; /** * fo_color_get_type: * @void: * * Register the #FoColor object type. * * Return value: #GType value of the #FoColor object type. **/ GType fo_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoColor", &object_info, 0); } return object_type; } /** * fo_color_init: * @color: #FoColor object to initialise * * Implements #GInstanceInitFunc for #FoColor **/ void fo_color_init (FoColor *color) { color->red = 0; color->green = 0; color->blue = 0; } /** * fo_color_class_init: * @klass: #FoColorClass object to initialise * * Implements #GClassInitFunc for #FoColorClass **/ void fo_color_class_init (FoColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoObjectClass *fo_object_class = FO_OBJECT_CLASS (klass); /* * Initialise the hash table for FoColor instances. */ klass->colors = fo_hash_table_new (); parent_class = g_type_class_peek_parent (klass); /* * Set the class-specific 'equal' and 'hash' functions. */ fo_object_class->equal_func = fo_color_equal_func; fo_object_class->hash_func = fo_color_hash_func; object_class->finalize = fo_color_finalize; object_class->set_property = fo_color_set_property; object_class->get_property = fo_color_get_property; g_object_class_install_property (object_class, PROP_RED, g_param_spec_uint ("red", _("Red"), _("Color red value"), 0, FO_COLOR_VALUE_MAX, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_GREEN, g_param_spec_uint ("green", _("Green"), _("Color green value"), 0, FO_COLOR_VALUE_MAX, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_BLUE, g_param_spec_uint ("blue", _("Blue"), _("Color blue value"), 0, FO_COLOR_VALUE_MAX, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); FO_DATATYPE_CLASS (klass)->copy = fo_color_copy; FO_OBJECT_CLASS (klass)->print_sprintf = fo_color_sprintf; } /** * fo_color_finalize: * @object: #FoColor object to finalize * * Implements #GObjectFinalizeFunc for #FoColor **/ void fo_color_finalize (GObject *object) { FoColor *color; color = FO_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_color_set_property: * @object: #GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for #FoColor **/ void fo_color_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *color; color = FO_DATATYPE (object); switch (prop_id) { case PROP_RED: fo_color_set_red (color, g_value_get_uint (value)); break; case PROP_GREEN: fo_color_set_green (color, g_value_get_uint (value)); break; case PROP_BLUE: fo_color_set_blue (color, g_value_get_uint (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_color_get_property: * @object: #GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: #GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for #FoColor **/ void fo_color_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *color; color = FO_DATATYPE (object); switch (prop_id) { case PROP_RED: g_value_set_uint (value, fo_color_get_red (color)); break; case PROP_GREEN: g_value_set_uint (value, fo_color_get_green (color)); break; case PROP_BLUE: g_value_set_uint (value, fo_color_get_blue (color)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_color_new: * * Creates a new #FoColor initialized to default value. * * Return value: the new #FoColor. **/ static FoDatatype * fo_color_new (void) { FoDatatype *color; color = FO_DATATYPE (g_object_new (fo_color_get_type (), NULL)); return color; } /** * fo_color_new_with_value: * @red: Red component of new #FoColor. * @green: Green component of new #FoColor. * @blue: Blue component of new #FoColor. * * Creates a new #FoColor with specified values. * * Return value: New #FoColor. **/ FoDatatype * fo_color_new_with_value (guint red, guint green, guint blue) { FoDatatype *color = fo_color_new (); fo_color_set_red (color, red); fo_color_set_blue (color, blue); fo_color_set_green (color, green); FoDatatype *hashed_color = (FoDatatype *) fo_hash_table_lookup (FO_COLOR_GET_CLASS(color)->colors, FO_OBJECT (color), NULL); if (hashed_color == NULL) { fo_hash_table_insert (FO_COLOR_GET_CLASS(color)->colors, FO_OBJECT (color), FO_OBJECT (color), NULL); hashed_color = color; } /* g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "FoColor count: %d", fo_hash_table_size (FO_COLOR_GET_CLASS (hashed_color)->colors)); */ return hashed_color; } /** * fo_color_hash_func: * @v: #FoColor to hash * * Create hash code for @v. * * Return value: Hash code for object. **/ guint fo_color_hash_func (gconstpointer v) { FoColor *color = (FoColor *) v; return (((color->red & 0xFF00) << 8) | (color->green & 0xFF) | ((color->blue & 0xFF) >> 8)); } /** * fo_color_equal_func: * @v1: First #FoColor to compare. * @v2: Second #FoColor to compare. * * Compare two #FoColor for equality. * * Return value: %TRUE if objects are equal. **/ gboolean fo_color_equal_func (gconstpointer v1, gconstpointer v2) { gint equal = FALSE; FoColor *color1 = (FoColor *) v1; FoColor *color2 = (FoColor *) v2; if ((color1->red == color2->red) && (color1->green == color2->green) && (color1->blue == color2->blue)) { equal = TRUE; } return equal; } /** * fo_color_get_red: * @color: #FoColor. * * Gets the 'red' component of @color. * * Return value: 'red' component of @color. **/ guint16 fo_color_get_red (FoDatatype *color) { g_return_val_if_fail (color != NULL, 0); g_return_val_if_fail (FO_IS_COLOR (color), 0); return FO_COLOR (color)->red; } /** * fo_color_set_red: * @color: #FoColor. * @new_red: New value of 'red' component of @color. * * Sets the 'red' component of @color. **/ void fo_color_set_red (FoDatatype *color, guint16 new_red) { g_return_if_fail (color != NULL); g_return_if_fail (FO_IS_COLOR (color)); FO_COLOR (color)->red = new_red; /*g_object_notify (G_OBJECT (color), "red");*/ } /** * fo_color_get_green: * @color: #FoColor. * * Gets the 'green' component of @color. * * Return value: 'green' component of @color. **/ guint16 fo_color_get_green (FoDatatype *color) { g_return_val_if_fail (color != NULL, 0); g_return_val_if_fail (FO_IS_COLOR (color), 0); return FO_COLOR (color)->green; } /** * fo_color_set_green: * @color: #FoColor. * @new_green: New value of 'green' component of @color. * * Sets the 'green' component of @color. **/ void fo_color_set_green (FoDatatype *color, guint16 new_green) { g_return_if_fail (color != NULL); g_return_if_fail (FO_IS_COLOR (color)); FO_COLOR (color)->green = new_green; /*g_object_notify (G_OBJECT (color), "green");*/ } /** * fo_color_get_blue: * @color: #FoColor. * * Gets the 'blue' component of @color. * * Return value: 'blue' component of @color. **/ guint16 fo_color_get_blue (FoDatatype *color) { g_return_val_if_fail (color != NULL, 0); g_return_val_if_fail (FO_IS_COLOR (color), 0); return FO_COLOR (color)->blue; } /** * fo_color_set_blue: * @color: #FoColor. * @new_blue: New value of 'blue' component of @color. * * Sets the 'blue' component of @color. **/ void fo_color_set_blue (FoDatatype *color, guint16 new_blue) { g_return_if_fail (color != NULL); g_return_if_fail (FO_IS_COLOR (color)); FO_COLOR (color)->blue = new_blue; /*g_object_notify (G_OBJECT (color), "blue");*/ } /** * fo_color_copy: * @datatype: #FoColor to be copied * * Create a copy of @datatype * * Return value: New #FoColor **/ static FoDatatype* fo_color_copy (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_COLOR (datatype), NULL); /* There is only ever one instance of any color. */ return datatype; } /** * fo_color_sprintf: * @object: #FoColor to be printed * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object **/ static gchar* fo_color_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_COLOR (object), NULL); return (g_strdup_printf("#%04x%04x%04x", FO_COLOR (object)->red, FO_COLOR (object)->green, FO_COLOR (object)->blue)); } /** * fo_color_get_color_black: * * Get an #FoColor with the well-known value for the color 'black'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_black (void) { static FoDatatype *black = NULL; if (!black) { black = fo_color_new_with_value (0x0000, 0x0000, 0x0000); } return black; } /** * fo_color_get_color_silver: * * Get an #FoColor with the well-known value for the color 'silver'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_silver (void) { static FoDatatype *silver = NULL; if (silver == NULL) { silver = fo_color_new_with_value (0xC000, 0xC000, 0xC000); } return silver; } /** * fo_color_get_color_gray: * * Get an #FoColor with the well-known value for the color 'gray'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_gray (void) { static FoDatatype *gray = NULL; if (!gray) { gray = fo_color_new_with_value(0x8000, 0x8000, 0x8000); } return gray; } /** * fo_color_get_color_white: * * Get an #FoColor with the well-known value for the color 'white'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_white (void) { static FoDatatype *white = NULL; if (!white) { white = fo_color_new_with_value (0xFFFF, 0xFFFF, 0xFFFF); } return white; } /** * fo_color_get_color_maroon: * * Get an #FoColor with the well-known value for the color 'maroon'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_maroon (void) { static FoDatatype *maroon = NULL; if (!maroon) { maroon = fo_color_new_with_value (0x8000, 0x0000, 0x0000); } return maroon; } /** * fo_color_get_color_red: * * Get an #FoColor with the well-known value for the color 'red'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_red (void) { static FoDatatype *red = NULL; if (!red) { red = fo_color_new_with_value (0xFFFF, 0x0000, 0x0000); } return red; } /** * fo_color_get_color_purple: * * Get an #FoColor with the well-known value for the color 'purple'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_purple (void) { static FoDatatype *purple = NULL; if (!purple) { purple = fo_color_new_with_value (0x8000, 0x0000, 0x8000); } return purple; } /** * fo_color_get_color_fuchsia: * * Get an #FoColor with the well-known value for the color 'fuchsia'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_fuchsia (void) { static FoDatatype *fuchsia = NULL; if (!fuchsia) { fuchsia = fo_color_new_with_value (0xFFFF, 0x0000, 0xFFFF); } return fuchsia; } /** * fo_color_get_color_green: * * Get an #FoColor with the well-known value for the color 'green'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_green (void) { static FoDatatype *green = NULL; if (!green) { green = fo_color_new_with_value (0x0000, 0x8000, 0x0000); } return green; } /** * fo_color_get_color_lime: * * Get an #FoColor with the well-known value for the color 'lime'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_lime (void) { static FoDatatype *lime = NULL; if (!lime) { lime = fo_color_new_with_value (0x0000, 0xFFFF, 0x0000); } return lime; } /** * fo_color_get_color_olive: * * Get an #FoColor with the well-known value for the color 'olive'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_olive (void) { static FoDatatype *olive = NULL; if (!olive) { olive = fo_color_new_with_value (0x8000, 0x8000, 0x0000); } return olive; } /** * fo_color_get_color_yellow: * * Get an #FoColor with the well-known value for the color 'yellow'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_yellow (void) { static FoDatatype *yellow = NULL; if (!yellow) { yellow = fo_color_new_with_value (0xFFFF, 0xFFFF, 0x0000); } return yellow; } /** * fo_color_get_color_navy: * * Get an #FoColor with the well-known value for the color 'navy'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_navy (void) { static FoDatatype *navy = NULL; if (!navy) { navy = fo_color_new_with_value (0x0000, 0x0000, 0x8000); } return navy; } /** * fo_color_get_color_blue: * * Get an #FoColor with the well-known value for the color 'blue'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_blue (void) { static FoDatatype *blue = NULL; if (!blue) { blue = fo_color_new_with_value (0x0000, 0x0000, 0xFFFF); } return blue; } /** * fo_color_get_color_teal: * * Get an #FoColor with the well-known value for the color 'teal'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_teal (void) { static FoDatatype *teal = NULL; if (!teal) { teal = fo_color_new_with_value (0x0000, 0x8000, 0x8000); } return teal; } /** * fo_color_get_color_aqua: * * Get an #FoColor with the well-known value for the color 'aqua'. * * Return value: The #FoColor. **/ FoDatatype* fo_color_get_color_aqua (void) { static FoDatatype *aqua = NULL; if (!aqua) { aqua = fo_color_new_with_value (0x0000, 0xFFFF, 0xFFFF); } return aqua; } /** * fo_color_get_color_one_half: * @color: Original color. * * Get an #FoColor that is one-half the intensity of @color. * * Return value: A color with one-half the intensity of @color. **/ FoDatatype* fo_color_get_color_one_half (FoDatatype *color) { FoDatatype *new_color; g_return_val_if_fail (FO_IS_COLOR (color), NULL); new_color = fo_color_new_with_value (FO_COLOR (color)->red >> 1, FO_COLOR (color)->green >> 1, FO_COLOR (color)->blue >> 1); return new_color; } /** * fo_color_get_color_three_quarter: * @color: Original color. * * Get an #FoColor that is three-quarters of the intensity of @color. * * Return value: A color with three-quarters of the intensity of @color. **/ FoDatatype* fo_color_get_color_three_quarter (FoDatatype *color) { FoDatatype *new_color; g_return_val_if_fail (FO_IS_COLOR (color), NULL); new_color = fo_color_new_with_value ((FO_COLOR (color)->red >> 1) + (FO_COLOR (color)->red >> 2), (FO_COLOR (color)->green >> 1) + (FO_COLOR (color)->green >> 2), (FO_COLOR (color)->blue >> 1) + (FO_COLOR (color)->blue >> 2)); return new_color; } /** * fo_color_get_color_one_quarter: * @color: Original color. * * Get an #FoColor that is one-quarter the intensity of @color. * * Return value: A color with one-quarter the intensity of @color. **/ FoDatatype* fo_color_get_color_one_quarter (FoDatatype *color) { FoDatatype *new_color; g_return_val_if_fail (FO_IS_COLOR (color), NULL); new_color = fo_color_new_with_value (FO_COLOR (color)->red >> 2, FO_COLOR (color)->green >> 2, FO_COLOR (color)->blue >> 2); return new_color; } xmlroff-0.6.2/libfo/datatype/fo-color.h0000644000175000017500000000425110674174157014732 00000000000000/* Fo * fo-color.h: Color datatype * * Copyright (C) 2001, 2002 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_COLOR_H__ #define __FO_COLOR_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_COLOR (fo_color_get_type ()) #define FO_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_COLOR, FoColor)) #define FO_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_COLOR, FoColorClass)) #define FO_IS_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_COLOR)) #define FO_IS_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_COLOR)) #define FO_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_COLOR, FoColorClass)) typedef struct _FoColor FoColor; typedef struct _FoColorClass FoColorClass; GType fo_color_get_type (void) G_GNUC_CONST; FoDatatype * fo_color_new_with_value (guint red, guint green, guint blue); #define FO_COLOR_COMPONENT_MAX 65535 guint16 fo_color_get_red (FoDatatype *color); guint16 fo_color_get_green (FoDatatype *color); guint16 fo_color_get_blue (FoDatatype *color); FoDatatype* fo_color_get_color_black (void); FoDatatype* fo_color_get_color_silver (void); FoDatatype* fo_color_get_color_gray (void); FoDatatype* fo_color_get_color_white (void); FoDatatype* fo_color_get_color_maroon (void); FoDatatype* fo_color_get_color_red (void); FoDatatype* fo_color_get_color_purple (void); FoDatatype* fo_color_get_color_fuchsia (void); FoDatatype* fo_color_get_color_green (void); FoDatatype* fo_color_get_color_lime (void); FoDatatype* fo_color_get_color_olive (void); FoDatatype* fo_color_get_color_yellow (void); FoDatatype* fo_color_get_color_navy (void); FoDatatype* fo_color_get_color_blue (void); FoDatatype* fo_color_get_color_teal (void); FoDatatype* fo_color_get_color_aqua (void); FoDatatype* fo_color_get_color_one_quarter (FoDatatype *color); FoDatatype* fo_color_get_color_one_half (FoDatatype *color); FoDatatype* fo_color_get_color_three_quarter (FoDatatype *color); G_END_DECLS #endif /* !__FO_COLOR_H__ */ xmlroff-0.6.2/libfo/datatype/fo-enum.c0000644000175000017500000010206110643167450014543 00000000000000/* Fo * fo-enum.c: Enum datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-enum.h" enum { PROP_0, PROP_ENUM_CLASS, PROP_VALUE }; struct _FoEnum { FoDatatype parent_instance; GEnumClass *enum_class; FoEnumEnum value; }; struct _FoEnumClass { FoDatatypeClass parent_class; }; GType fo_enum_enum_get_type (void) { static GType etype = 0; if (etype == 0) { static const GEnumValue values[] = { { FO_ENUM_ENUM_UNSPECIFIED, "FO_ENUM_ENUM_UNSPECIFIED", "unspecified" }, { FO_ENUM_ENUM_0, "FO_ENUM_ENUM_0", "0" }, { FO_ENUM_ENUM_100, "FO_ENUM_ENUM_100", "100" }, { FO_ENUM_ENUM_180, "FO_ENUM_ENUM_180", "180" }, { FO_ENUM_ENUM_200, "FO_ENUM_ENUM_200", "200" }, { FO_ENUM_ENUM_270, "FO_ENUM_ENUM_270", "270" }, { FO_ENUM_ENUM_300, "FO_ENUM_ENUM_300", "300" }, { FO_ENUM_ENUM_400, "FO_ENUM_ENUM_400", "400" }, { FO_ENUM_ENUM_500, "FO_ENUM_ENUM_500", "500" }, { FO_ENUM_ENUM_600, "FO_ENUM_ENUM_600", "600" }, { FO_ENUM_ENUM_700, "FO_ENUM_ENUM_700", "700" }, { FO_ENUM_ENUM_800, "FO_ENUM_ENUM_800", "800" }, { FO_ENUM_ENUM_90, "FO_ENUM_ENUM_90", "90" }, { FO_ENUM_ENUM_900, "FO_ENUM_ENUM_900", "900" }, { FO_ENUM_ENUM_ABOVE, "FO_ENUM_ENUM_ABOVE", "above" }, { FO_ENUM_ENUM_ABSOLUTE, "FO_ENUM_ENUM_ABSOLUTE", "absolute" }, { FO_ENUM_ENUM_ABSOLUTE_COLORIMETRIC, "FO_ENUM_ENUM_ABSOLUTE_COLORIMETRIC", "absolute-colorimetric" }, { FO_ENUM_ENUM_ACTIVE, "FO_ENUM_ENUM_ACTIVE", "active" }, { FO_ENUM_ENUM_AFTER, "FO_ENUM_ENUM_AFTER", "after" }, { FO_ENUM_ENUM_AFTER_EDGE, "FO_ENUM_ENUM_AFTER_EDGE", "after-edge" }, { FO_ENUM_ENUM_ALL, "FO_ENUM_ENUM_ALL", "all" }, { FO_ENUM_ENUM_ALPHABETIC, "FO_ENUM_ENUM_ALPHABETIC", "alphabetic" }, { FO_ENUM_ENUM_ALWAYS, "FO_ENUM_ENUM_ALWAYS", "always" }, { FO_ENUM_ENUM_ANY, "FO_ENUM_ENUM_ANY", "any" }, { FO_ENUM_ENUM_AUTO, "FO_ENUM_ENUM_AUTO", "auto" }, { FO_ENUM_ENUM_AUTO_EVEN, "FO_ENUM_ENUM_AUTO_EVEN", "auto-even" }, { FO_ENUM_ENUM_AUTO_ODD, "FO_ENUM_ENUM_AUTO_ODD", "auto-odd" }, { FO_ENUM_ENUM_AVOID, "FO_ENUM_ENUM_AVOID", "avoid" }, { FO_ENUM_ENUM_BACKSLANT, "FO_ENUM_ENUM_BACKSLANT", "backslant" }, { FO_ENUM_ENUM_BASELINE, "FO_ENUM_ENUM_BASELINE", "baseline" }, { FO_ENUM_ENUM_BEFORE, "FO_ENUM_ENUM_BEFORE", "before" }, { FO_ENUM_ENUM_BEFORE_EDGE, "FO_ENUM_ENUM_BEFORE_EDGE", "before-edge" }, { FO_ENUM_ENUM_BEHIND, "FO_ENUM_ENUM_BEHIND", "behind" }, { FO_ENUM_ENUM_BELOW, "FO_ENUM_ENUM_BELOW", "below" }, { FO_ENUM_ENUM_BIDI_OVERRIDE, "FO_ENUM_ENUM_BIDI_OVERRIDE", "bidi-override" }, { FO_ENUM_ENUM_BLANK, "FO_ENUM_ENUM_BLANK", "blank" }, { FO_ENUM_ENUM_BLINK, "FO_ENUM_ENUM_BLINK", "blink" }, { FO_ENUM_ENUM_BLOCK, "FO_ENUM_ENUM_BLOCK", "block" }, { FO_ENUM_ENUM_BOLD, "FO_ENUM_ENUM_BOLD", "bold" }, { FO_ENUM_ENUM_BOLDER, "FO_ENUM_ENUM_BOLDER", "bolder" }, { FO_ENUM_ENUM_BOTH, "FO_ENUM_ENUM_BOTH", "both" }, { FO_ENUM_ENUM_BOTTOM, "FO_ENUM_ENUM_BOTTOM", "bottom" }, { FO_ENUM_ENUM_BOUNDED_IN_ONE_DIMENSION, "FO_ENUM_ENUM_BOUNDED_IN_ONE_DIMENSION", "bounded-in-one-dimension" }, { FO_ENUM_ENUM_CAPITALIZE, "FO_ENUM_ENUM_CAPITALIZE", "capitalize" }, { FO_ENUM_ENUM_CAPTION, "FO_ENUM_ENUM_CAPTION", "caption" }, { FO_ENUM_ENUM_CENTER, "FO_ENUM_ENUM_CENTER", "center" }, { FO_ENUM_ENUM_CENTER_LEFT, "FO_ENUM_ENUM_CENTER_LEFT", "center-left" }, { FO_ENUM_ENUM_CENTER_RIGHT, "FO_ENUM_ENUM_CENTER_RIGHT", "center-right" }, { FO_ENUM_ENUM_CENTRAL, "FO_ENUM_ENUM_CENTRAL", "central" }, { FO_ENUM_ENUM_CHARACTER_BY_CHARACTER, "FO_ENUM_ENUM_CHARACTER_BY_CHARACTER", "character-by-character" }, { FO_ENUM_ENUM_CODE, "FO_ENUM_ENUM_CODE", "code" }, { FO_ENUM_ENUM_COLLAPSE, "FO_ENUM_ENUM_COLLAPSE", "collapse" }, { FO_ENUM_ENUM_COLLAPSE_WITH_PRECEDENCE, "FO_ENUM_ENUM_COLLAPSE_WITH_PRECEDENCE", "collapse-with-precedence" }, { FO_ENUM_ENUM_COLUMN, "FO_ENUM_ENUM_COLUMN", "column" }, { FO_ENUM_ENUM_CONDENSED, "FO_ENUM_ENUM_CONDENSED", "condensed" }, { FO_ENUM_ENUM_CONSIDER_SHIFTS, "FO_ENUM_ENUM_CONSIDER_SHIFTS", "consider-shifts" }, { FO_ENUM_ENUM_CONTINUOUS, "FO_ENUM_ENUM_CONTINUOUS", "continuous" }, { FO_ENUM_ENUM_CURSIVE, "FO_ENUM_ENUM_CURSIVE", "cursive" }, { FO_ENUM_ENUM_DASHED, "FO_ENUM_ENUM_DASHED", "dashed" }, { FO_ENUM_ENUM_DIGITS, "FO_ENUM_ENUM_DIGITS", "digits" }, { FO_ENUM_ENUM_DISREGARD_SHIFTS, "FO_ENUM_ENUM_DISREGARD_SHIFTS", "disregard-shifts" }, { FO_ENUM_ENUM_DOCUMENT, "FO_ENUM_ENUM_DOCUMENT", "document" }, { FO_ENUM_ENUM_DOCUMENT_ROOT, "FO_ENUM_ENUM_DOCUMENT_ROOT", "document-root" }, { FO_ENUM_ENUM_DOTS, "FO_ENUM_ENUM_DOTS", "dots" }, { FO_ENUM_ENUM_DOTTED, "FO_ENUM_ENUM_DOTTED", "dotted" }, { FO_ENUM_ENUM_DOUBLE, "FO_ENUM_ENUM_DOUBLE", "double" }, { FO_ENUM_ENUM_EMBED, "FO_ENUM_ENUM_EMBED", "embed" }, { FO_ENUM_ENUM_EMPTY, "FO_ENUM_ENUM_EMPTY", "empty" }, { FO_ENUM_ENUM_END, "FO_ENUM_ENUM_END", "end" }, { FO_ENUM_ENUM_END_ON_EVEN, "FO_ENUM_ENUM_END_ON_EVEN", "end-on-even" }, { FO_ENUM_ENUM_END_ON_ODD, "FO_ENUM_ENUM_END_ON_ODD", "end-on-odd" }, { FO_ENUM_ENUM_ERROR_IF_OVERFLOW, "FO_ENUM_ENUM_ERROR_IF_OVERFLOW", "error-if-overflow" }, { FO_ENUM_ENUM_EVEN, "FO_ENUM_ENUM_EVEN", "even" }, { FO_ENUM_ENUM_EVEN_PAGE, "FO_ENUM_ENUM_EVEN_PAGE", "even-page" }, { FO_ENUM_ENUM_EXPANDED, "FO_ENUM_ENUM_EXPANDED", "expanded" }, { FO_ENUM_ENUM_EXTRA_CONDENSED, "FO_ENUM_ENUM_EXTRA_CONDENSED", "extra-condensed" }, { FO_ENUM_ENUM_EXTRA_EXPANDED, "FO_ENUM_ENUM_EXTRA_EXPANDED", "extra-expanded" }, { FO_ENUM_ENUM_FALSE, "FO_ENUM_ENUM_FALSE", "false" }, { FO_ENUM_ENUM_FANTASY, "FO_ENUM_ENUM_FANTASY", "fantasy" }, { FO_ENUM_ENUM_FAR_LEFT, "FO_ENUM_ENUM_FAR_LEFT", "far-left" }, { FO_ENUM_ENUM_FAR_RIGHT, "FO_ENUM_ENUM_FAR_RIGHT", "far-right" }, { FO_ENUM_ENUM_FAST, "FO_ENUM_ENUM_FAST", "fast" }, { FO_ENUM_ENUM_FASTER, "FO_ENUM_ENUM_FASTER", "faster" }, { FO_ENUM_ENUM_FIRST, "FO_ENUM_ENUM_FIRST", "first" }, { FO_ENUM_ENUM_FIRST_INCLUDING_CARRYOVER, "FO_ENUM_ENUM_FIRST_INCLUDING_CARRYOVER", "first-including-carryover" }, { FO_ENUM_ENUM_FIRST_STARTING_WITHIN_PAGE, "FO_ENUM_ENUM_FIRST_STARTING_WITHIN_PAGE", "first-starting-within-page" }, { FO_ENUM_ENUM_FIXED, "FO_ENUM_ENUM_FIXED", "fixed" }, { FO_ENUM_ENUM_FOCUS, "FO_ENUM_ENUM_FOCUS", "focus" }, { FO_ENUM_ENUM_FONT_HEIGHT, "FO_ENUM_ENUM_FONT_HEIGHT", "font-height" }, { FO_ENUM_ENUM_FORCE, "FO_ENUM_ENUM_FORCE", "force" }, { FO_ENUM_ENUM_GROOVE, "FO_ENUM_ENUM_GROOVE", "groove" }, { FO_ENUM_ENUM_HANGING, "FO_ENUM_ENUM_HANGING", "hanging" }, { FO_ENUM_ENUM_HIDDEN, "FO_ENUM_ENUM_HIDDEN", "hidden" }, { FO_ENUM_ENUM_HIDE, "FO_ENUM_ENUM_HIDE", "hide" }, { FO_ENUM_ENUM_HIGH, "FO_ENUM_ENUM_HIGH", "high" }, { FO_ENUM_ENUM_HIGHER, "FO_ENUM_ENUM_HIGHER", "higher" }, { FO_ENUM_ENUM_HOVER, "FO_ENUM_ENUM_HOVER", "hover" }, { FO_ENUM_ENUM_ICON, "FO_ENUM_ENUM_ICON", "icon" }, { FO_ENUM_ENUM_IDEOGRAPHIC, "FO_ENUM_ENUM_IDEOGRAPHIC", "ideographic" }, { FO_ENUM_ENUM_IGNORE, "FO_ENUM_ENUM_IGNORE", "ignore" }, { FO_ENUM_ENUM_IGNORE_IF_AFTER_LINEFEED, "FO_ENUM_ENUM_IGNORE_IF_AFTER_LINEFEED", "ignore-if-after-linefeed" }, { FO_ENUM_ENUM_IGNORE_IF_BEFORE_LINEFEED, "FO_ENUM_ENUM_IGNORE_IF_BEFORE_LINEFEED", "ignore-if-before-linefeed" }, { FO_ENUM_ENUM_IGNORE_IF_SURROUNDING_LINEFEED, "FO_ENUM_ENUM_IGNORE_IF_SURROUNDING_LINEFEED", "ignore-if-surrounding-linefeed" }, { FO_ENUM_ENUM_INDEFINITE, "FO_ENUM_ENUM_INDEFINITE", "indefinite" }, { FO_ENUM_ENUM_INDENT, "FO_ENUM_ENUM_INDENT", "indent" }, { FO_ENUM_ENUM_INSET, "FO_ENUM_ENUM_INSET", "inset" }, { FO_ENUM_ENUM_INSIDE, "FO_ENUM_ENUM_INSIDE", "inside" }, { FO_ENUM_ENUM_INTEGER_PIXELS, "FO_ENUM_ENUM_INTEGER_PIXELS", "integer-pixels" }, { FO_ENUM_ENUM_ITALIC, "FO_ENUM_ENUM_ITALIC", "italic" }, { FO_ENUM_ENUM_JUSTIFY, "FO_ENUM_ENUM_JUSTIFY", "justify" }, { FO_ENUM_ENUM_LANDSCAPE, "FO_ENUM_ENUM_LANDSCAPE", "landscape" }, { FO_ENUM_ENUM_LARGE, "FO_ENUM_ENUM_LARGE", "large" }, { FO_ENUM_ENUM_LARGER, "FO_ENUM_ENUM_LARGER", "larger" }, { FO_ENUM_ENUM_LAST, "FO_ENUM_ENUM_LAST", "last" }, { FO_ENUM_ENUM_LAST_ENDING_WITHIN_PAGE, "FO_ENUM_ENUM_LAST_ENDING_WITHIN_PAGE", "last-ending-within-page" }, { FO_ENUM_ENUM_LAST_STARTING_WITHIN_PAGE, "FO_ENUM_ENUM_LAST_STARTING_WITHIN_PAGE", "last-starting-within-page" }, { FO_ENUM_ENUM_LEFT, "FO_ENUM_ENUM_LEFT", "left" }, { FO_ENUM_ENUM_LEFTWARDS, "FO_ENUM_ENUM_LEFTWARDS", "leftwards" }, { FO_ENUM_ENUM_LEFT_SIDE, "FO_ENUM_ENUM_LEFT_SIDE", "left-side" }, { FO_ENUM_ENUM_LEVEL, "FO_ENUM_ENUM_LEVEL", "level" }, { FO_ENUM_ENUM_LIGHTER, "FO_ENUM_ENUM_LIGHTER", "lighter" }, { FO_ENUM_ENUM_LINE, "FO_ENUM_ENUM_LINE", "line" }, { FO_ENUM_ENUM_LINE_HEIGHT, "FO_ENUM_ENUM_LINE_HEIGHT", "line-height" }, { FO_ENUM_ENUM_LINE_THROUGH, "FO_ENUM_ENUM_LINE_THROUGH", "line-through" }, { FO_ENUM_ENUM_LINK, "FO_ENUM_ENUM_LINK", "link" }, { FO_ENUM_ENUM_LOUD, "FO_ENUM_ENUM_LOUD", "loud" }, { FO_ENUM_ENUM_LOW, "FO_ENUM_ENUM_LOW", "low" }, { FO_ENUM_ENUM_LOWER, "FO_ENUM_ENUM_LOWER", "lower" }, { FO_ENUM_ENUM_LOWERCASE, "FO_ENUM_ENUM_LOWERCASE", "lowercase" }, { FO_ENUM_ENUM_LR, "FO_ENUM_ENUM_LR", "lr" }, { FO_ENUM_ENUM_LR_TB, "FO_ENUM_ENUM_LR_TB", "lr-tb" }, { FO_ENUM_ENUM_LTR, "FO_ENUM_ENUM_LTR", "ltr" }, { FO_ENUM_ENUM_MATHEMATICAL, "FO_ENUM_ENUM_MATHEMATICAL", "mathematical" }, { FO_ENUM_ENUM_MAX_HEIGHT, "FO_ENUM_ENUM_MAX_HEIGHT", "max-height" }, { FO_ENUM_ENUM_MEDIUM, "FO_ENUM_ENUM_MEDIUM", "medium" }, { FO_ENUM_ENUM_MENU, "FO_ENUM_ENUM_MENU", "menu" }, { FO_ENUM_ENUM_MESSAGE_BOX, "FO_ENUM_ENUM_MESSAGE_BOX", "message-box" }, { FO_ENUM_ENUM_MIDDLE, "FO_ENUM_ENUM_MIDDLE", "middle" }, { FO_ENUM_ENUM_MIX, "FO_ENUM_ENUM_MIX", "mix" }, { FO_ENUM_ENUM_MONOSPACE, "FO_ENUM_ENUM_MONOSPACE", "monospace" }, { FO_ENUM_ENUM_NARROWER, "FO_ENUM_ENUM_NARROWER", "narrower" }, { FO_ENUM_ENUM_NEW, "FO_ENUM_ENUM_NEW", "new" }, { FO_ENUM_ENUM_NONE, "FO_ENUM_ENUM_NONE", "none" }, { FO_ENUM_ENUM_NON_UNIFORM, "FO_ENUM_ENUM_NON_UNIFORM", "non-uniform" }, { FO_ENUM_ENUM_NORMAL, "FO_ENUM_ENUM_NORMAL", "normal" }, { FO_ENUM_ENUM_NOT_BLANK, "FO_ENUM_ENUM_NOT_BLANK", "not-blank" }, { FO_ENUM_ENUM_NOWRAP, "FO_ENUM_ENUM_NOWRAP", "nowrap" }, { FO_ENUM_ENUM_NO_BLINK, "FO_ENUM_ENUM_NO_BLINK", "no-blink" }, { FO_ENUM_ENUM_NO_CHANGE, "FO_ENUM_ENUM_NO_CHANGE", "no-change" }, { FO_ENUM_ENUM_NO_FORCE, "FO_ENUM_ENUM_NO_FORCE", "no-force" }, { FO_ENUM_ENUM_NO_LIMIT, "FO_ENUM_ENUM_NO_LIMIT", "no-limit" }, { FO_ENUM_ENUM_NO_LINE_THROUGH, "FO_ENUM_ENUM_NO_LINE_THROUGH", "no-line-through" }, { FO_ENUM_ENUM_NO_OVERLINE, "FO_ENUM_ENUM_NO_OVERLINE", "no-overline" }, { FO_ENUM_ENUM_NO_REPEAT, "FO_ENUM_ENUM_NO_REPEAT", "no-repeat" }, { FO_ENUM_ENUM_NO_UNDERLINE, "FO_ENUM_ENUM_NO_UNDERLINE", "no-underline" }, { FO_ENUM_ENUM_NO_WRAP, "FO_ENUM_ENUM_NO_WRAP", "no-wrap" }, { FO_ENUM_ENUM_OBLIQUE, "FO_ENUM_ENUM_OBLIQUE", "oblique" }, { FO_ENUM_ENUM_ODD, "FO_ENUM_ENUM_ODD", "odd" }, { FO_ENUM_ENUM_ODD_PAGE, "FO_ENUM_ENUM_ODD_PAGE", "odd-page" }, { FO_ENUM_ENUM_ONCE, "FO_ENUM_ENUM_ONCE", "once" }, { FO_ENUM_ENUM_OUTSET, "FO_ENUM_ENUM_OUTSET", "outset" }, { FO_ENUM_ENUM_OUTSIDE, "FO_ENUM_ENUM_OUTSIDE", "outside" }, { FO_ENUM_ENUM_OVERLINE, "FO_ENUM_ENUM_OVERLINE", "overline" }, { FO_ENUM_ENUM_PAGE, "FO_ENUM_ENUM_PAGE", "page" }, { FO_ENUM_ENUM_PAGE_SEQUENCE, "FO_ENUM_ENUM_PAGE_SEQUENCE", "page-sequence" }, { FO_ENUM_ENUM_PAGINATE, "FO_ENUM_ENUM_PAGINATE", "paginate" }, { FO_ENUM_ENUM_PERCEPTUAL, "FO_ENUM_ENUM_PERCEPTUAL", "perceptual" }, { FO_ENUM_ENUM_PORTRAIT, "FO_ENUM_ENUM_PORTRAIT", "portrait" }, { FO_ENUM_ENUM_PRE, "FO_ENUM_ENUM_PRE", "pre" }, { FO_ENUM_ENUM_PRESERVE, "FO_ENUM_ENUM_PRESERVE", "preserve" }, { FO_ENUM_ENUM_REFERENCE_AREA, "FO_ENUM_ENUM_REFERENCE_AREA", "reference-area" }, { FO_ENUM_ENUM_RELATIVE, "FO_ENUM_ENUM_RELATIVE", "relative" }, { FO_ENUM_ENUM_RELATIVE_COLORIMETRIC, "FO_ENUM_ENUM_RELATIVE_COLORIMETRIC", "relative-colorimetric" }, { FO_ENUM_ENUM_REPEAT, "FO_ENUM_ENUM_REPEAT", "repeat" }, { FO_ENUM_ENUM_REPEAT_X, "FO_ENUM_ENUM_REPEAT_X", "repeat-x" }, { FO_ENUM_ENUM_REPEAT_Y, "FO_ENUM_ENUM_REPEAT_Y", "repeat-y" }, { FO_ENUM_ENUM_REPLACE, "FO_ENUM_ENUM_REPLACE", "replace" }, { FO_ENUM_ENUM_RESAMPLE_ANY_METHOD, "FO_ENUM_ENUM_RESAMPLE_ANY_METHOD", "resample-any-method" }, { FO_ENUM_ENUM_RESET_SIZE, "FO_ENUM_ENUM_RESET_SIZE", "reset-size" }, { FO_ENUM_ENUM_REST, "FO_ENUM_ENUM_REST", "rest" }, { FO_ENUM_ENUM_RETAIN, "FO_ENUM_ENUM_RETAIN", "retain" }, { FO_ENUM_ENUM_RIDGE, "FO_ENUM_ENUM_RIDGE", "ridge" }, { FO_ENUM_ENUM_RIGHT, "FO_ENUM_ENUM_RIGHT", "right" }, { FO_ENUM_ENUM_RIGHTWARDS, "FO_ENUM_ENUM_RIGHTWARDS", "rightwards" }, { FO_ENUM_ENUM_RIGHT_SIDE, "FO_ENUM_ENUM_RIGHT_SIDE", "right-side" }, { FO_ENUM_ENUM_RL, "FO_ENUM_ENUM_RL", "rl" }, { FO_ENUM_ENUM_RL_TB, "FO_ENUM_ENUM_RL_TB", "rl-tb" }, { FO_ENUM_ENUM_RTL, "FO_ENUM_ENUM_RTL", "rtl" }, { FO_ENUM_ENUM_RULE, "FO_ENUM_ENUM_RULE", "rule" }, { FO_ENUM_ENUM_SANS_SERIF, "FO_ENUM_ENUM_SANS_SERIF", "sans-serif" }, { FO_ENUM_ENUM_SATURATION, "FO_ENUM_ENUM_SATURATION", "saturation" }, { FO_ENUM_ENUM_SCALE_TO_FIT, "FO_ENUM_ENUM_SCALE_TO_FIT", "scale-to-fit" }, { FO_ENUM_ENUM_SCROLL, "FO_ENUM_ENUM_SCROLL", "scroll" }, { FO_ENUM_ENUM_SEMI_CONDENSED, "FO_ENUM_ENUM_SEMI_CONDENSED", "semi-condensed" }, { FO_ENUM_ENUM_SEMI_EXPANDED, "FO_ENUM_ENUM_SEMI_EXPANDED", "semi-expanded" }, { FO_ENUM_ENUM_SEPARATE, "FO_ENUM_ENUM_SEPARATE", "separate" }, { FO_ENUM_ENUM_SERIF, "FO_ENUM_ENUM_SERIF", "serif" }, { FO_ENUM_ENUM_SHOW, "FO_ENUM_ENUM_SHOW", "show" }, { FO_ENUM_ENUM_SILENT, "FO_ENUM_ENUM_SILENT", "silent" }, { FO_ENUM_ENUM_SLOW, "FO_ENUM_ENUM_SLOW", "slow" }, { FO_ENUM_ENUM_SLOWER, "FO_ENUM_ENUM_SLOWER", "slower" }, { FO_ENUM_ENUM_SMALL, "FO_ENUM_ENUM_SMALL", "small" }, { FO_ENUM_ENUM_SMALLER, "FO_ENUM_ENUM_SMALLER", "smaller" }, { FO_ENUM_ENUM_SMALL_CAPS, "FO_ENUM_ENUM_SMALL_CAPS", "small-caps" }, { FO_ENUM_ENUM_SMALL_CAPTION, "FO_ENUM_ENUM_SMALL_CAPTION", "small-caption" }, { FO_ENUM_ENUM_SOFT, "FO_ENUM_ENUM_SOFT", "soft" }, { FO_ENUM_ENUM_SOLID, "FO_ENUM_ENUM_SOLID", "solid" }, { FO_ENUM_ENUM_SPACE, "FO_ENUM_ENUM_SPACE", "space" }, { FO_ENUM_ENUM_SPELL_OUT, "FO_ENUM_ENUM_SPELL_OUT", "spell-out" }, { FO_ENUM_ENUM_START, "FO_ENUM_ENUM_START", "start" }, { FO_ENUM_ENUM_STATIC, "FO_ENUM_ENUM_STATIC", "static" }, { FO_ENUM_ENUM_STATUS_BAR, "FO_ENUM_ENUM_STATUS_BAR", "status-bar" }, { FO_ENUM_ENUM_STRING, "FO_ENUM_ENUM_STRING", "string" }, { FO_ENUM_ENUM_SUB, "FO_ENUM_ENUM_SUB", "sub" }, { FO_ENUM_ENUM_SUPER, "FO_ENUM_ENUM_SUPER", "super" }, { FO_ENUM_ENUM_SUPPRESS, "FO_ENUM_ENUM_SUPPRESS", "suppress" }, { FO_ENUM_ENUM_TB, "FO_ENUM_ENUM_TB", "tb" }, { FO_ENUM_ENUM_TB_RL, "FO_ENUM_ENUM_TB_RL", "tb-rl" }, { FO_ENUM_ENUM_TEXT_AFTER_EDGE, "FO_ENUM_ENUM_TEXT_AFTER_EDGE", "text-after-edge" }, { FO_ENUM_ENUM_TEXT_BEFORE_EDGE, "FO_ENUM_ENUM_TEXT_BEFORE_EDGE", "text-before-edge" }, { FO_ENUM_ENUM_TEXT_BOTTOM, "FO_ENUM_ENUM_TEXT_BOTTOM", "text-bottom" }, { FO_ENUM_ENUM_TEXT_TOP, "FO_ENUM_ENUM_TEXT_TOP", "text-top" }, { FO_ENUM_ENUM_THICK, "FO_ENUM_ENUM_THICK", "thick" }, { FO_ENUM_ENUM_THIN, "FO_ENUM_ENUM_THIN", "thin" }, { FO_ENUM_ENUM_TOP, "FO_ENUM_ENUM_TOP", "top" }, { FO_ENUM_ENUM_TRADITIONAL, "FO_ENUM_ENUM_TRADITIONAL", "traditional" }, { FO_ENUM_ENUM_TRANSPARENT, "FO_ENUM_ENUM_TRANSPARENT", "transparent" }, { FO_ENUM_ENUM_TREAT_AS_SPACE, "FO_ENUM_ENUM_TREAT_AS_SPACE", "treat-as-space" }, { FO_ENUM_ENUM_TREAT_AS_ZERO_WIDTH_SPACE, "FO_ENUM_ENUM_TREAT_AS_ZERO_WIDTH_SPACE", "treat-as-zero-width-space" }, { FO_ENUM_ENUM_TRUE, "FO_ENUM_ENUM_TRUE", "true" }, { FO_ENUM_ENUM_ULTRA_CONDENSED, "FO_ENUM_ENUM_ULTRA_CONDENSED", "ultra-condensed" }, { FO_ENUM_ENUM_ULTRA_EXPANDED, "FO_ENUM_ENUM_ULTRA_EXPANDED", "ultra-expanded" }, { FO_ENUM_ENUM_UNBOUNDED, "FO_ENUM_ENUM_UNBOUNDED", "unbounded" }, { FO_ENUM_ENUM_UNDERLINE, "FO_ENUM_ENUM_UNDERLINE", "underline" }, { FO_ENUM_ENUM_UNIFORM, "FO_ENUM_ENUM_UNIFORM", "uniform" }, { FO_ENUM_ENUM_UPPERCASE, "FO_ENUM_ENUM_UPPERCASE", "uppercase" }, { FO_ENUM_ENUM_USE_CONTENT, "FO_ENUM_ENUM_USE_CONTENT", "use-content" }, { FO_ENUM_ENUM_USE_FONT_METRICS, "FO_ENUM_ENUM_USE_FONT_METRICS", "use-font-metrics" }, { FO_ENUM_ENUM_USE_NORMAL_STYLESHEET, "FO_ENUM_ENUM_USE_NORMAL_STYLESHEET", "use-normal-stylesheet" }, { FO_ENUM_ENUM_USE_SCRIPT, "FO_ENUM_ENUM_USE_SCRIPT", "use-script" }, { FO_ENUM_ENUM_USE_TARGET_PROCESSING_CONTEXT, "FO_ENUM_ENUM_USE_TARGET_PROCESSING_CONTEXT", "use-target-processing-context" }, { FO_ENUM_ENUM_VISIBLE, "FO_ENUM_ENUM_VISIBLE", "visible" }, { FO_ENUM_ENUM_VISITED, "FO_ENUM_ENUM_VISITED", "visited" }, { FO_ENUM_ENUM_WIDER, "FO_ENUM_ENUM_WIDER", "wider" }, { FO_ENUM_ENUM_WRAP, "FO_ENUM_ENUM_WRAP", "wrap" }, { FO_ENUM_ENUM_XSL_ANY, "FO_ENUM_ENUM_XSL_ANY", "xsl-any" }, { FO_ENUM_ENUM_XSL_BEFORE_FLOAT_SEPARATOR, "FO_ENUM_ENUM_XSL_BEFORE_FLOAT_SEPARATOR", "xsl-before-float-separator" }, { FO_ENUM_ENUM_XSL_FOLLOWING, "FO_ENUM_ENUM_XSL_FOLLOWING", "xsl-following" }, { FO_ENUM_ENUM_XSL_FOOTNOTE_SEPARATOR, "FO_ENUM_ENUM_XSL_FOOTNOTE_SEPARATOR", "xsl-footnote-separator" }, { FO_ENUM_ENUM_XSL_PRECEDING, "FO_ENUM_ENUM_XSL_PRECEDING", "xsl-preceding" }, { FO_ENUM_ENUM_XSL_REGION_AFTER, "FO_ENUM_ENUM_XSL_REGION_AFTER", "xsl-region-after" }, { FO_ENUM_ENUM_XSL_REGION_BEFORE, "FO_ENUM_ENUM_XSL_REGION_BEFORE", "xsl-region-before" }, { FO_ENUM_ENUM_XSL_REGION_BODY, "FO_ENUM_ENUM_XSL_REGION_BODY", "xsl-region-body" }, { FO_ENUM_ENUM_XSL_REGION_END, "FO_ENUM_ENUM_XSL_REGION_END", "xsl-region-end" }, { FO_ENUM_ENUM_XSL_REGION_START, "FO_ENUM_ENUM_XSL_REGION_START", "xsl-region-start" }, { FO_ENUM_ENUM_XX_LARGE, "FO_ENUM_ENUM_XX_LARGE", "xx-large" }, { FO_ENUM_ENUM_XX_SMALL, "FO_ENUM_ENUM_XX_SMALL", "xx-small" }, { FO_ENUM_ENUM_X_FAST, "FO_ENUM_ENUM_X_FAST", "x-fast" }, { FO_ENUM_ENUM_X_HIGH, "FO_ENUM_ENUM_X_HIGH", "x-high" }, { FO_ENUM_ENUM_X_LARGE, "FO_ENUM_ENUM_X_LARGE", "x-large" }, { FO_ENUM_ENUM_X_LOUD, "FO_ENUM_ENUM_X_LOUD", "x-loud" }, { FO_ENUM_ENUM_X_LOW, "FO_ENUM_ENUM_X_LOW", "x-low" }, { FO_ENUM_ENUM_X_SLOW, "FO_ENUM_ENUM_X_SLOW", "x-slow" }, { FO_ENUM_ENUM_X_SMALL, "FO_ENUM_ENUM_X_SMALL", "x-small" }, { FO_ENUM_ENUM_X_SOFT, "FO_ENUM_ENUM_X_SOFT", "x-soft" }, { FO_ENUM_ENUM__180, "FO_ENUM_ENUM__180", "-180" }, { FO_ENUM_ENUM__270, "FO_ENUM_ENUM__270", "-270" }, { FO_ENUM_ENUM__90, "FO_ENUM_ENUM__90", "-90" }, { 0, NULL, NULL } }; etype = g_enum_register_static ("FoEnumEnum", values); } return etype; } static void fo_enum_init (FoEnum *fo_enum); static void fo_enum_class_init (FoEnumClass *klass); static void fo_enum_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_enum_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_enum_finalize (GObject *object); static FoDatatype * fo_enum_copy (FoDatatype *datatype); static gchar* fo_enum_sprintf (FoObject *object); static void fo_enum_set_enum_class (FoDatatype *fo_enum, const GEnumClass *new_enum_class); static void fo_enum_set_value (FoDatatype *fo_enum, const FoEnumEnum new_value); static gpointer parent_class; static FoDatatype *enums[FO_ENUM_ENUM_LIMIT]; static FoDatatype *enum_alphabetic = NULL; static FoDatatype *enum_always = NULL; static FoDatatype *enum_traditional = NULL; /** * fo_enum_get_type: * * Register the #FoEnum object type. * * Return value: #GType value of the #FoEnum object type. **/ GType fo_enum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoEnumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_enum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoEnum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_enum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoEnum", &object_info, 0); } return object_type; } /** * fo_enum_init: * @fo_enum: #FoEnum object to initialise. * * Implements #GInstanceInitFunc for #FoEnum. **/ void fo_enum_init (FoEnum *fo_enum) { fo_enum->enum_class = NULL; fo_enum->value = FO_ENUM_ENUM_UNSPECIFIED; } /** * fo_enum_class_init: * @klass: #FoEnumClass object to initialise. * * Implements #GClassInitFunc for #FoEnumClass. **/ void fo_enum_class_init (FoEnumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_enum_finalize; object_class->set_property = fo_enum_set_property; object_class->get_property = fo_enum_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_enum_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_enum_copy; int i; for (i = 0; i < FO_ENUM_ENUM_LIMIT; i++) { enums[i] = NULL; } g_object_class_install_property (object_class, PROP_ENUM_CLASS, g_param_spec_pointer ("enum-class", _("enum-class"), _("Enumeration class"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_int ("value", _("Value"), _("Enum value"), 0, FO_ENUM_ENUM_LIMIT, FO_ENUM_ENUM_UNSPECIFIED, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_enum_finalize: * @object: #FoEnum object to finalize. * * Implements #GObjectFinalizeFunc for #FoEnum. **/ void fo_enum_finalize (GObject *object) { FoEnum *fo_enum; fo_enum = FO_ENUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_enum_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: #GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoEnum. **/ void fo_enum_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *fo_enum; fo_enum = FO_DATATYPE (object); switch (prop_id) { case PROP_ENUM_CLASS: g_value_set_pointer (value, fo_enum_get_enum_class (fo_enum)); break; case PROP_VALUE: g_value_set_int (value, fo_enum_get_value (fo_enum)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_enum_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoEnum. **/ void fo_enum_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *fo_enum; fo_enum = FO_DATATYPE (object); switch (prop_id) { case PROP_ENUM_CLASS: fo_enum_set_enum_class (fo_enum, g_value_get_pointer (value)); break; case PROP_VALUE: fo_enum_set_value (fo_enum, g_value_get_int (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_enum_new: * * Creates a new #FoEnum initialized to default value. * * Return value: The new #FoEnum. **/ FoDatatype * fo_enum_new (void) { FoDatatype *fo_enum; fo_enum = FO_DATATYPE (g_object_new (fo_enum_get_type (), NULL)); return fo_enum; } /** * fo_enum_new_with_value: * @enum_class: #GEnumClass of the new #FoEnum. * @value: Value of the new #FoEnum. * * Creates a new #FoEnum set to @value and @enum_class. * * Return value: The new #FoEnum. **/ FoDatatype* fo_enum_new_with_value (const GEnumClass *enum_class, const FoEnumEnum value) { FoDatatype *fo_enum = fo_enum_new (); fo_enum_set_enum_class (fo_enum, enum_class); fo_enum_set_value (fo_enum, value); return fo_enum; } /** * fo_enum_get_enum_class: * @fo_enum: #FoEnum. * * Get the enumeration class of @fo_enum. * * Return value: Enumeration class of @fo_enum. **/ GEnumClass* fo_enum_get_enum_class (FoDatatype *fo_enum) { g_return_val_if_fail (fo_enum != NULL, 0); g_return_val_if_fail (FO_IS_ENUM (fo_enum), 0); return FO_ENUM (fo_enum)->enum_class; } /** * fo_enum_set_value: * @fo_enum: #FoEnum. * @new_enum_class: New #GEnumClass for @fo_enum. * * Set the #GEnumClass of @fo_enum. **/ void fo_enum_set_enum_class (FoDatatype *fo_enum, const GEnumClass *new_enum_class) { g_return_if_fail (fo_enum != NULL); g_return_if_fail (FO_IS_ENUM (fo_enum)); FO_ENUM (fo_enum)->enum_class = (GEnumClass *) new_enum_class; /*g_object_notify(G_OBJECT (fo_enum), "enum_class");*/ } /** * fo_enum_get_value: * @fo_enum: #FoEnum. * * Get the value of @fo_enum. * * Return value: Numeric value of @fo_enum. **/ FoEnumEnum fo_enum_get_value (FoDatatype *fo_enum) { g_return_val_if_fail (fo_enum != NULL, 0); g_return_val_if_fail (FO_IS_ENUM (fo_enum), 0); return FO_ENUM (fo_enum)->value; } /** * fo_enum_get_nick: * @fo_enum: The #FoEnum. * * Gets the 'nickname' string of @fo_enum. * * The result should not be freed. * * Return value: The 'nickname' of @fo_enum. **/ const gchar* fo_enum_get_nick (FoDatatype *fo_enum) { g_return_val_if_fail (fo_enum != NULL, 0); g_return_val_if_fail (FO_IS_ENUM (fo_enum), 0); return ((GEnumValue *) g_enum_get_value (FO_ENUM (fo_enum)->enum_class, FO_ENUM (fo_enum)->value))->value_nick; } /** * fo_enum_set_value: * @fo_enum: #FoEnum. * @new_value: New value for @fo_enum. * * Set the value of @fo_enum. **/ void fo_enum_set_value (FoDatatype *fo_enum, const FoEnumEnum new_value) { g_return_if_fail (fo_enum != NULL); g_return_if_fail (FO_IS_ENUM (fo_enum)); FO_ENUM (fo_enum)->value = new_value; /*g_object_notify(G_OBJECT (fo_enum), "value");*/ } /** * fo_enum_copy: * @datatype: #FoEnum to be copied. * * Create a copy of @datatype. * * Return value: New #FoEnum. **/ FoDatatype* fo_enum_copy(FoDatatype *datatype) { FoDatatype* fo_enum; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_ENUM (datatype), NULL); fo_enum = fo_enum_new (); FO_ENUM (fo_enum)->value = FO_ENUM (datatype)->value; return (FO_DATATYPE (fo_enum)); } /** * fo_enum_sprintf: * @object: #FoEnum to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_enum_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_ENUM (object), NULL); return (g_strdup_printf("%s", ((GEnumValue *) g_enum_get_value (FO_ENUM (object)->enum_class, FO_ENUM (object)->value)) ->value_nick)); } /** * fo_enum_get_enum_by_value: * @enum_value: Enumerated value from #FoEnumEnum. * * Gets an #FoEnum corresponding to @enum_value, or %NULL if * @enum_value is not in the range of enumerated values. * * Return value: #FoEnum corresponding to @enum_value, or %NULL. **/ FoDatatype * fo_enum_get_enum_by_value (FoEnumEnum enum_value) { g_return_val_if_fail (enum_value > FO_ENUM_ENUM_UNSPECIFIED, NULL); g_return_val_if_fail (enum_value < FO_ENUM_ENUM_LIMIT, NULL); GEnumValue *enum_ptr = g_enum_get_value (g_type_class_ref (FO_TYPE_ENUM_ENUM), enum_value); if (enum_ptr != NULL) { if (enums[enum_value] == NULL) { enums[enum_value] = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", enum_value, NULL); } return enums[enum_value]; } else { return NULL; } } /** * fo_enum_get_enum_by_nick: * @name: The 'nickname' of the #FoEnum. * * Gets an #FoEnum corresponding to @name, or %NULL if * @name is not a 'nickname' of an #FoEnum * * Return value: #FoEnum corresponding to @name, or %NULL. **/ FoDatatype * fo_enum_get_enum_by_nick (const gchar *name) { g_return_val_if_fail (name != NULL, NULL); g_return_val_if_fail (*name != '\0', NULL); GEnumValue *enum_ptr = g_enum_get_value_by_nick (g_type_class_ref (FO_TYPE_ENUM_ENUM), name); if (enum_ptr != NULL) { gint enum_value = enum_ptr->value; if (enums[enum_value] == NULL) { enums[enum_value] = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", enum_value, NULL); } return enums[enum_value]; } else { return NULL; } } /** * fo_enum_get_enum_auto: * * Return value: The #FoDatatype for the well-known value 'auto'. **/ FoDatatype* fo_enum_get_enum_auto (void) { FoDatatype *enum_auto = enums[FO_ENUM_ENUM_AUTO]; if (enum_auto == NULL) { enum_auto = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_AUTO, NULL); enums[FO_ENUM_ENUM_AUTO] = enum_auto; } return enum_auto; } /** * fo_enum_get_enum_baseline: * * Return value: The #FoDatatype for the well-known value 'baseline'. **/ FoDatatype* fo_enum_get_enum_baseline (void) { FoDatatype *enum_baseline = enums[FO_ENUM_ENUM_BASELINE]; if (enum_baseline == NULL) { enum_baseline = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_BASELINE, NULL); enums[FO_ENUM_ENUM_BASELINE] = enum_baseline; } return enum_baseline; } /** * fo_enum_get_enum_ltr: * * Return value: The #FoDatatype for the well-known value 'ltr'. **/ FoDatatype* fo_enum_get_enum_ltr (void) { FoDatatype *enum_ltr = enums[FO_ENUM_ENUM_LTR]; if (enum_ltr == NULL) { enum_ltr = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_LTR, NULL); enums[FO_ENUM_ENUM_LTR] = enum_ltr; } return enum_ltr; } /** * fo_enum_get_enum_medium: * * Return value: The #FoDatatype for the well-known value 'medium'. **/ FoDatatype* fo_enum_get_enum_medium (void) { FoDatatype *enum_medium = enums[FO_ENUM_ENUM_MEDIUM]; if (enum_medium == NULL) { enum_medium = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_MEDIUM, NULL); enums[FO_ENUM_ENUM_MEDIUM] = enum_medium; } return enum_medium; } /** * fo_enum_get_enum_none: * * Return value: The #FoDatatype for the well-known value 'none'. **/ FoDatatype* fo_enum_get_enum_none (void) { FoDatatype *enum_none = enums[FO_ENUM_ENUM_NONE]; if (enum_none == NULL) { enum_none = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_NONE, NULL); enums[FO_ENUM_ENUM_NONE] = enum_none; } return enum_none; } /** * fo_enum_get_alphabetic: * * Return value: The #FoDatatype for the well-known value 'alphabetic'. **/ FoDatatype* fo_enum_get_alphabetic (void) { if (enum_alphabetic == NULL) { enum_alphabetic = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_ALPHABETIC, NULL); } return enum_alphabetic; } /** * fo_enum_get_always: * * Return value: The #FoDatatype for the well-known value 'always'. **/ FoDatatype* fo_enum_get_always (void) { if (enum_always == NULL) { enum_always = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_ALWAYS, NULL); } return enum_always; } /** * fo_enum_get_traditional: * * Return value: The #FoDatatype for the well-known value 'traditional'. **/ FoDatatype* fo_enum_get_traditional (void) { if (enum_traditional == NULL) { enum_traditional = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_TRADITIONAL, NULL); } return enum_traditional; } /** * fo_enum_get_traditional: * * Return value: The #FoDatatype for the well-known value 'traditional'. **/ FoDatatype* fo_enum_get_hidden (void) { if (enum_traditional == NULL) { enum_traditional = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_TRADITIONAL, NULL); } return enum_traditional; } /** * fo_enum_get_enum_uniform: * * Return value: The #FoDatatype for the well-known value 'uniform'. **/ FoDatatype* fo_enum_get_enum_uniform (void) { FoDatatype *enum_uniform = enums[FO_ENUM_ENUM_UNIFORM]; if (enum_uniform == NULL) { enum_uniform = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_UNIFORM, NULL); enums[FO_ENUM_ENUM_UNIFORM] = enum_uniform; } return enum_uniform; } xmlroff-0.6.2/libfo/datatype/fo-error.c0000644000175000017500000001527510771435353014744 00000000000000/* Fo * fo-error.c: Error datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-datatype-private.h" #include "fo-error.h" enum { PROP_0, PROP_VALUE }; struct _FoError { FoDatatype parent_instance; GError *value; }; struct _FoErrorClass { FoDatatypeClass parent_class; }; static void fo_error_class_init (FoErrorClass *klass); static void fo_error_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_error_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_error_finalize (GObject *object); static FoDatatype* fo_error_copy (FoDatatype *datatype); static gchar* fo_error_sprintf (FoObject *object); static void fo_error_set_value (FoDatatype *error, GError *new_value); static gpointer parent_class; /** * fo_error_get_type: * @void: * * Register the #FoError object type. * * Return value: GType value of the #FoError object type. **/ GType fo_error_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoErrorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_error_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoError), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoError", &object_info, 0); } return object_type; } /** * fo_error_class_init: * @klass: FoErrorClass object to initialise. * * Implements GClassInitFunc for FoErrorClass. **/ void fo_error_class_init (FoErrorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_error_finalize; object_class->set_property = fo_error_set_property; object_class->get_property = fo_error_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_error_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_error_copy; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_pointer ("value", _("Value"), _("Error value"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_error_finalize: * @object: #FoError object to finalize * * Implements #GObjectFinalizeFunc for #FoError **/ void fo_error_finalize (GObject *object) { FoError *error; error = FO_ERROR (object); if (error->value) { g_error_free (error->value); } G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_error_set_property: * @object: #GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for #FoError **/ void fo_error_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *error; error = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_error_set_value (error, g_value_get_pointer (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_error_get_property: * @object: #GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: #GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for #FoError **/ void fo_error_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *error; error = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_pointer (value, fo_error_get_value (error)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_error_new: * * Creates a new #FoError initialized to default value. * * Return value: The new #FoError **/ FoDatatype* fo_error_new (void) { FoDatatype* error; error = FO_DATATYPE (g_object_new (fo_error_get_type (), NULL)); return error; } /** * fo_error_new_with_value: * @value: Error of the new #FoError * * Creates a new #FoError set to @value * * Return value: The new #FoError **/ FoDatatype* fo_error_new_with_value (GError *value) { FoDatatype *error = fo_error_new (); fo_error_set_value (error, value); return error; } /** * fo_error_set_value: * @error: #FoError * @new_value: New value for @error * * Set the value of @error **/ void fo_error_set_value (FoDatatype *error, GError *new_value) { g_return_if_fail (error != NULL); g_return_if_fail (FO_IS_ERROR (error)); ((FoError *) error)->value = new_value; /*g_object_notify (G_OBJECT (error), "value");*/ } /** * fo_error_get_value: * @error: #FoError * * Get the value of @error * * Return value: #GError **/ GError* fo_error_get_value (FoDatatype *error) { g_return_val_if_fail (error != NULL, NULL); g_return_val_if_fail (FO_IS_ERROR (error), NULL); return FO_ERROR (error)->value; } /** * fo_error_copy: * @datatype: #FoError to be copied * * Create a copy of @datatype * * Return value: New #FoError **/ FoDatatype* fo_error_copy (FoDatatype *datatype) { FoDatatype* error; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_ERROR (datatype), NULL); error = fo_error_new (); FO_ERROR (error)->value = g_error_copy (FO_ERROR (datatype)->value); return (error); } /** * fo_error_sprintf: * @object: #FoError to be printed * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object **/ gchar* fo_error_sprintf (FoObject *object) { GError *error; g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_ERROR (object), NULL); error = FO_ERROR (object)->value; return (g_strdup_printf ("%s: %s", g_quark_to_string (error->domain), error->message)); } xmlroff-0.6.2/libfo/datatype/fo-error.h0000644000175000017500000000223310771435236014737 00000000000000/* Fo * fo-error.h: Error datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_ERROR_H__ #define __FO_ERROR_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_ERROR (fo_error_get_type ()) #define FO_ERROR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_ERROR, FoError)) #define FO_ERROR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_ERROR, FoErrorClass)) #define FO_IS_ERROR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_ERROR)) #define FO_IS_ERROR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_ERROR)) #define FO_ERROR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_ERROR, FoErrorClass)) typedef struct _FoError FoError; typedef struct _FoErrorClass FoErrorClass; GType fo_error_get_type (void) G_GNUC_CONST; FoDatatype* fo_error_new (void); FoDatatype* fo_error_new_with_value (GError *value); GError* fo_error_get_value (FoDatatype *error); G_END_DECLS #endif /* !__FO_ERROR_H__ */ xmlroff-0.6.2/libfo/datatype/fo-id.c0000644000175000017500000001456310643167450014204 00000000000000/* Fo * fo-id.c: Id datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-id.h" enum { PROP_0, PROP_VALUE }; struct _FoId { FoDatatype parent_instance; gchar *value; }; struct _FoIdClass { FoDatatypeClass parent_class; }; static void fo_id_class_init (FoIdClass *klass); static void fo_id_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_id_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_id_finalize (GObject *object); static FoDatatype * fo_id_copy (FoDatatype *datatype); static gchar* fo_id_sprintf (FoObject *object); static FoDatatype * fo_id_new (void); static void fo_id_set_value (FoDatatype *id, const gchar* new_value); static gpointer parent_class; /** * fo_id_get_type: * * Register the #FoId object type. * * Return value: #GType value of the #FoId object type. **/ GType fo_id_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoIdClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_id_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoId), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoId", &object_info, 0); } return object_type; } /** * fo_id_class_init: * @klass: #FoIdClass class object to initialise. * * Implements #GClassInitFunc for #FoIdClass. **/ void fo_id_class_init (FoIdClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_id_finalize; object_class->set_property = fo_id_set_property; object_class->get_property = fo_id_get_property; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_string ("value", _("Value"), _("Id value"), NULL, G_PARAM_READWRITE)); FO_DATATYPE_CLASS (klass)->copy = fo_id_copy; FO_OBJECT_CLASS (klass)->print_sprintf = fo_id_sprintf; } /** * fo_id_finalize: * @object: #FoId object to finalize. * * Implements #GObjectFinalizeFunc for #FoId. **/ void fo_id_finalize (GObject *object) { FoId *id; id = FO_ID (object); g_free(id->value); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_id_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: #GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoId. **/ void fo_id_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *id; id = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_string (value, fo_id_get_value (id)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_id_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoId. **/ void fo_id_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *id; id = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_id_set_value (id, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_id_new: * * Creates a new #FoId initialized to default value. * * Return value: the new #FoId **/ FoDatatype * fo_id_new (void) { FoDatatype *id; id = FO_DATATYPE (g_object_new (fo_id_get_type (), NULL)); return id; } /** * fo_id_new_with_value: * @value: Id of new #FoId. * * Creates a new #FoId initialized to @value. * * Return value: the new #FoId. **/ FoDatatype * fo_id_new_with_value (const gchar* value) { FoDatatype *id = fo_id_new (); fo_id_set_value (id, value); return id; } /** * fo_id_get_value: * @id: #FoId. * * Get the value of @id. * * Return value: String value of @id. **/ gchar* fo_id_get_value (FoDatatype *id) { g_return_val_if_fail (id != NULL, NULL); g_return_val_if_fail (FO_IS_ID (id), NULL); return g_strdup (FO_ID (id)->value); } /** * fo_id_set_value: * @id: #FoId. * @new_value: New value for @id. * * Set the value of @id. **/ void fo_id_set_value (FoDatatype *id, const gchar* new_value) { g_return_if_fail (id != NULL); g_return_if_fail (FO_IS_ID (id)); FO_ID (id)->value = g_strdup (new_value); /*g_object_notify(G_OBJECT(id), "value");*/ } /** * fo_id_copy: * @datatype: #FoId to be copied. * * Create a copy of @datatype. * * Return value: New #FoId. **/ FoDatatype* fo_id_copy(FoDatatype *datatype) { FoDatatype* id; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_ID (datatype), NULL); id = fo_id_new (); FO_ID (id)->value = g_strdup (FO_ID (datatype)->value); return (FO_DATATYPE(id)); } /** * fo_id_sprintf: * @object: #FoId to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_id_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_ID (object), NULL); return (g_strdup_printf("%s", FO_ID (object)->value)); } xmlroff-0.6.2/libfo/datatype/fo-id.h0000644000175000017500000000200610643167450014176 00000000000000/* Fo * fo-id.h: Id datatype * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_ID_H__ #define __FO_ID_H__ #include G_BEGIN_DECLS #define FO_TYPE_ID (fo_id_get_type ()) #define FO_ID(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_ID, FoId)) #define FO_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_ID, FoIdClass)) #define FO_IS_ID(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_ID)) #define FO_IS_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_ID)) #define FO_ID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_ID, FoIdClass)) typedef struct _FoId FoId; typedef struct _FoIdClass FoIdClass; GType fo_id_get_type (void) G_GNUC_CONST; FoDatatype * fo_id_new_with_value (const gchar* value); gchar* fo_id_get_value (FoDatatype *id); G_END_DECLS #endif /* !__FO_ID_H__ */ xmlroff-0.6.2/libfo/datatype/fo-integer.c0000644000175000017500000002511210771436230015232 00000000000000/* Fo * fo-integer.c: Integer datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-object.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-numeric.h" #include "fo-number.h" #include "fo-integer.h" enum { PROP_0, PROP_VALUE }; struct _FoInteger { FoDatatype parent_instance; gint value; }; struct _FoIntegerClass { FoDatatypeClass parent_class; }; static FoDatatype * fo_integer_new (void); static void fo_integer_init (FoInteger *integer); static void fo_integer_class_init (FoIntegerClass *klass); static void fo_integer_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_integer_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_integer_finalize (GObject *object); static FoDatatype * fo_integer_copy (FoDatatype *datatype); static gchar* fo_integer_sprintf (FoObject *object); static void fo_integer_set_value (FoDatatype *integer, gint new_value); static gpointer parent_class; /** * fo_integer_get_type: * @void: * * Register the #FoInteger object type. * * Return value: GType value of the #FoInteger object type. **/ GType fo_integer_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoIntegerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_integer_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoInteger), 0, /* n_preallocs */ (GInstanceInitFunc) fo_integer_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoInteger", &object_info, 0); } return object_type; } /** * fo_integer_init: * @integer: #FoInteger object to initialise * * Implements GInstanceInitFunc for #FoInteger **/ void fo_integer_init (FoInteger *integer) { integer->value = 0; } /** * fo_integer_class_init: * @klass: FoIntegerClass object to initialise * * Implements GClassInitFunc for FoIntegerClass **/ void fo_integer_class_init (FoIntegerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_integer_finalize; object_class->set_property = fo_integer_set_property; object_class->get_property = fo_integer_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_integer_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_integer_copy; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_int ("value", _("Value"), _("Integer value"), G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_integer_finalize: * @object: FoInteger object to finalize * * Implements GObjectFinalizeFunc for FoInteger **/ void fo_integer_finalize (GObject *object) { FoInteger *integer; integer = FO_INTEGER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_integer_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoInteger **/ void fo_integer_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *integer; integer = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_integer_set_value (integer, g_value_get_int (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_integer_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoInteger **/ void fo_integer_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *integer; integer = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_int (value, fo_integer_get_value (integer)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_integer_new: * * Creates a new #FoInteger initialized to default value. * * Return value: the new #FoInteger. **/ FoDatatype * fo_integer_new (void) { FoDatatype *integer; integer = FO_DATATYPE (g_object_new (fo_integer_get_type (), NULL)); return integer; } /** * fo_integer_new_with_value: * @value: Value of the new #FoInteger. * * Creates a new #FoInteger set to @value. * * Return value: The new #FoInteger. **/ FoDatatype* fo_integer_new_with_value (gint value) { FoDatatype *integer = fo_integer_new (); fo_integer_set_value (integer, value); return integer; } /** * fo_integer_get_value: * @integer: #FoInteger. * * Get the value of @integer. * * Return value: Numeric value of @integer. **/ gint fo_integer_get_value (FoDatatype *integer) { g_return_val_if_fail (integer != NULL, 0); g_return_val_if_fail (FO_IS_INTEGER (integer) || FO_IS_NUMBER (integer), 0); if (FO_IS_INTEGER (integer)) { return FO_INTEGER (integer)->value; } else { return ((int) fo_number_get_value (integer)); } } /** * fo_integer_set_value: * @integer: #FoInteger. * @new_value: New value for @integer. * * Set the value of @integer. **/ void fo_integer_set_value (FoDatatype *integer, gint new_value) { g_return_if_fail (integer != NULL); g_return_if_fail (FO_IS_INTEGER (integer)); FO_INTEGER (integer)->value = new_value; /*g_object_notify(G_OBJECT(integer), "value");*/ } /** * fo_integer_copy: * @datatype: #FoInteger to be copied. * * Create a copy of @datatype. * * Return value: New #FoInteger. **/ FoDatatype* fo_integer_copy(FoDatatype *datatype) { FoDatatype* integer; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_INTEGER (datatype), NULL); integer = fo_integer_new (); FO_INTEGER (integer)->value = FO_INTEGER (datatype)->value; return (integer); } /** * fo_integer_sprintf: * @object: #FoInteger to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_integer_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_INTEGER (object), NULL); return (g_strdup_printf("%0d", FO_INTEGER (object)->value)); } /** * fo_integer_get_integer_zero: * * Create and return an #FoInteger with the well-known value 0. * * This saves creation of multiple #FoInteger objects that all have the * value 0. * * Return value: #FoInteger with value 0. **/ FoDatatype* fo_integer_get_integer_zero (void) { static FoDatatype *integer = NULL; if (!integer) { integer = fo_integer_new (); FO_INTEGER (integer)->value = 0; } return integer; } /** * fo_integer_get_integer_one: * * Create and return an #FoInteger with the well-known value 1. * * This saves creation of multiple #FoInteger objects that all have the * value 1. * * Return value: #FoInteger with value 1. **/ FoDatatype* fo_integer_get_integer_one (void) { static FoDatatype *integer = NULL; if (!integer) { integer = fo_integer_new (); FO_INTEGER (integer)->value = 1; } return integer; } /** * fo_integer_get_integer_two: * * Create and return an #FoInteger with the well-known value 2. * * This saves creation of multiple #FoInteger objects that all have the * value 2. * * Return value: #FoInteger with value 2. **/ FoDatatype* fo_integer_get_integer_two (void) { static FoDatatype *integer = NULL; if (!integer) { integer = fo_integer_new (); FO_INTEGER (integer)->value = 2; } return integer; } /** * fo_integer_get_integer_three: * * Create and return an #FoInteger with the well-known value 3. * * This saves creation of multiple #FoInteger objects that all have the * value 3. * * Return value: #FoInteger with value 3. **/ FoDatatype* fo_integer_get_integer_three (void) { static FoDatatype *integer = NULL; if (!integer) { integer = fo_integer_new (); FO_INTEGER (integer)->value = 3; } return integer; } /** * fo_integer_get_integer_four: * * Create and return an #FoInteger with the well-known value 4. * * This saves creation of multiple #FoInteger objects that all have the * value 4. * * Return value: #FoInteger with value 4. **/ FoDatatype* fo_integer_get_integer_four (void) { static FoDatatype *integer = NULL; if (!integer) { integer = fo_integer_new (); FO_INTEGER (integer)->value = 4; } return integer; } /** * fo_integer_get_integer_five: * * Create and return an #FoInteger with the well-known value 5. * * This saves creation of multiple #FoInteger objects that all have the * value 5. * * Return value: #FoInteger with value 5. **/ FoDatatype* fo_integer_get_integer_five (void) { static FoDatatype *integer = NULL; if (!integer) { integer = fo_integer_new (); FO_INTEGER (integer)->value = 5; } return integer; } /** * fo_integer_get_integer_six: * * Create and return an #FoInteger with the well-known value 6. * * This saves creation of multiple #FoInteger objects that all have the * value 6. * * Return value: #FoInteger with value 6. **/ FoDatatype* fo_integer_get_integer_six (void) { static FoDatatype *integer = NULL; if (!integer) { integer = fo_integer_new (); FO_INTEGER (integer)->value = 6; } return integer; } xmlroff-0.6.2/libfo/datatype/fo-integer.h0000644000175000017500000000303010773767010015237 00000000000000/* Fo * fo-integer.h: Integer datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_INTEGER_H__ #define __FO_INTEGER_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_INTEGER (fo_integer_get_type ()) #define FO_INTEGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_INTEGER, FoInteger)) #define FO_INTEGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_INTEGER, FoIntegerClass)) #define FO_IS_INTEGER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_INTEGER)) #define FO_IS_INTEGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_INTEGER)) #define FO_INTEGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_INTEGER, FoIntegerClass)) typedef struct _FoInteger FoInteger; typedef struct _FoIntegerClass FoIntegerClass; GType fo_integer_get_type (void) G_GNUC_CONST; FoDatatype * fo_integer_new_with_value (gint value); gint fo_integer_get_value (FoDatatype *integer); FoDatatype * fo_integer_get_integer_zero (void); FoDatatype * fo_integer_get_integer_one (void); FoDatatype * fo_integer_get_integer_two (void); FoDatatype * fo_integer_get_integer_three (void); FoDatatype * fo_integer_get_integer_four (void); FoDatatype * fo_integer_get_integer_five (void); FoDatatype * fo_integer_get_integer_six (void); G_END_DECLS #endif /* !__FO_INTEGER_H__ */ xmlroff-0.6.2/libfo/datatype/fo-keep.c0000644000175000017500000003461110646450105014523 00000000000000/* Fo * fo-keep.c: Keep datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-keep.h" #include "fo-enum.h" #include "fo-length.h" #include "fo-integer.h" #include "fo-percentage.h" #include "fo-boolean.h" enum { PROP_0, PROP_WITHIN_LINE, PROP_WITHIN_COLUMN, PROP_WITHIN_PAGE }; struct _FoKeep { FoDatatype parent_instance; FoDatatype *within_line; FoDatatype *within_column; FoDatatype *within_page; }; struct _FoKeepClass { FoDatatypeClass parent_class; }; static void fo_keep_init (FoKeep *keep); static void fo_keep_class_init (FoKeepClass *klass); static void fo_keep_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_keep_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_keep_finalize (GObject *object); static gchar* fo_keep_sprintf (FoObject *object); static FoDatatype* fo_keep_copy (FoDatatype *datatype); static void fo_keep_set_within_line (FoDatatype *keep, FoDatatype *new_within_line); static void fo_keep_set_within_column (FoDatatype *keep, FoDatatype *new_within_column); static void fo_keep_set_within_page (FoDatatype *keep, FoDatatype *new_within_page); static gpointer parent_class; /** * fo_keep_get_type: * * Register the #FoKeep object type. * * Return value: GType value of the #FoKeep object type. **/ GType fo_keep_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoKeepClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_keep_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoKeep), 0, /* n_preallocs */ (GInstanceInitFunc) fo_keep_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoKeep", &object_info, 0); } return object_type; } /** * fo_keep_init: * @keep: #FoKeep object to initialise * * Implements GInstanceInitFunc for #FoKeep **/ void fo_keep_init (FoKeep *keep) { keep->within_page = g_object_ref (fo_enum_get_enum_auto ()); keep->within_column = g_object_ref (fo_enum_get_enum_auto ()); keep->within_line = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_keep_class_init: * @klass: FoKeepClass object to initialise * * Implements GClassInitFunc for FoKeepClass **/ void fo_keep_class_init (FoKeepClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_keep_finalize; object_class->set_property = fo_keep_set_property; object_class->get_property = fo_keep_get_property; FO_DATATYPE_CLASS (klass)->copy = fo_keep_copy; FO_OBJECT_CLASS (klass)->print_sprintf = fo_keep_sprintf; g_object_class_install_property (object_class, PROP_WITHIN_LINE, g_param_spec_object ("within-line", _("Within Line"), _("Keep within line value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_WITHIN_COLUMN, g_param_spec_object ("within-column", _("Within Column"), _("Keep within column value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_WITHIN_PAGE, g_param_spec_object ("within-page", _("Within Page"), _("Keep within page value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_keep_finalize: * @object: FoKeep object to finalize * * Implements GObjectFinalizeFunc for FoKeep **/ void fo_keep_finalize (GObject *object) { FoKeep *keep; keep = FO_KEEP (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_keep_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoKeep **/ void fo_keep_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *keep; keep = FO_DATATYPE (object); switch (prop_id) { case PROP_WITHIN_LINE: fo_keep_set_within_line (keep, g_value_get_object (value)); break; case PROP_WITHIN_COLUMN: fo_keep_set_within_column (keep, g_value_get_object (value)); break; case PROP_WITHIN_PAGE: fo_keep_set_within_page (keep, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_keep_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoKeep **/ void fo_keep_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *keep; keep = FO_DATATYPE (object); switch (prop_id) { case PROP_WITHIN_LINE: g_value_set_object (value, fo_keep_get_within_line (keep)); break; case PROP_WITHIN_COLUMN: g_value_set_object (value, fo_keep_get_within_column (keep)); break; case PROP_WITHIN_PAGE: g_value_set_object (value, fo_keep_get_within_page (keep)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_keep_new: * * Creates a new #FoKeep initialized to default value. * * Return value: the new #FoKeep **/ FoDatatype * fo_keep_new (void) { FoDatatype *keep; keep = FO_DATATYPE (g_object_new (fo_keep_get_type (), "within-page", fo_enum_get_enum_auto (), "within-column", fo_enum_get_enum_auto (), "within-line", fo_enum_get_enum_auto (), NULL)); return keep; } /** * fo_keep_new_with_value: * @value: Keep of the new #FoKeep * * Creates a new #FoKeep set to @value * * Return value: The new #FoKeep **/ FoDatatype* fo_keep_new_with_value (FoDatatype *value) { FoDatatype *keep = fo_keep_new (); fo_keep_set_within_page (keep, value); fo_keep_set_within_column (keep, value); fo_keep_set_within_line (keep, value); return keep; } /** * fo_keep_get_keep_auto: * * Creates a new #FoKeep set to .within-line="auto", * .within-column="auto", and .within-page="auto". * * Return value: The new #FoKeep **/ FoDatatype* fo_keep_get_keep_auto (void) { static FoDatatype *keep = NULL; if (keep == NULL) { keep = fo_keep_new (); } return keep; } /** * fo_keep_get_keep_always: * * Creates a new #FoKeep set to .within-line="always", * .within-column="always", and .within-page="always". * * Return value: The new #FoKeep **/ FoDatatype* fo_keep_get_keep_always (void) { static FoDatatype *keep = NULL; if (keep == NULL) { keep = fo_keep_new (); fo_keep_set_within_page (keep, fo_enum_get_always ()); fo_keep_set_within_column (keep, fo_enum_get_always ()); fo_keep_set_within_line (keep, fo_enum_get_always()); } return keep; } /** * fo_keep_set_within_page: * @datatype: #FoKeep * @new_within_page: New .within-page value * * Sets the .within-page component of @datatype **/ void fo_keep_set_within_page (FoDatatype *datatype, FoDatatype *new_within_page) { FoKeep *keep = (FoKeep *) datatype; g_return_if_fail (keep != NULL); g_return_if_fail (FO_IS_KEEP (keep)); g_return_if_fail (FO_IS_DATATYPE (new_within_page)); if (new_within_page) g_object_ref (G_OBJECT (new_within_page)); if (keep->within_page) g_object_unref (G_OBJECT (keep->within_page)); keep->within_page = new_within_page; /*g_object_notify(G_OBJECT(keep), "within-page");*/ } /** * fo_keep_get_within_page: * @datatype: #FoKeep * * Gets the .within-page component value of @datatype * * Return value: The .within-page value of @datatype **/ FoDatatype* fo_keep_get_within_page (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_KEEP (datatype), 0); return FO_KEEP (datatype)->within_page; } /** * fo_keep_set_within_column: * @datatype: #FoKeep * @new_within_column: New .within-column value * * Sets the .within-column component of @datatype **/ void fo_keep_set_within_column (FoDatatype *datatype, FoDatatype *new_within_column) { FoKeep *keep = (FoKeep *) datatype; g_return_if_fail (keep != NULL); g_return_if_fail (FO_IS_KEEP (keep)); g_return_if_fail (FO_IS_DATATYPE (new_within_column)); if (new_within_column) g_object_ref (G_OBJECT (new_within_column)); if (keep->within_column) g_object_unref (G_OBJECT (keep->within_column)); keep->within_column = new_within_column; /*g_object_notify(G_OBJECT(keep), "within-column");*/ } /** * fo_keep_get_within_column: * @datatype: #FoKeep * * Gets the .within-column component value of @datatype * * Return value: The .within-column value of @datatype **/ FoDatatype* fo_keep_get_within_column (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_KEEP (datatype), 0); return FO_KEEP (datatype)->within_column; } /** * fo_keep_set_within_line: * @datatype: #FoKeep * @new_within_line: New .within-line value * * Sets the .within-line component of @datatype **/ void fo_keep_set_within_line (FoDatatype *datatype, FoDatatype *new_within_line) { FoKeep *keep = (FoKeep *) datatype; g_return_if_fail (keep != NULL); g_return_if_fail (FO_IS_KEEP (keep)); g_return_if_fail (FO_IS_DATATYPE (new_within_line)); if (new_within_line) g_object_ref (G_OBJECT (new_within_line)); if (keep->within_line) g_object_unref (G_OBJECT (keep->within_line)); keep->within_line = new_within_line; /*g_object_notify(G_OBJECT(keep), "within-line");*/ } /** * fo_keep_get_within_line: * @datatype: #FoKeep * * Gets the .within-line component value of @datatype * * Return value: The .within-line value of @datatype **/ FoDatatype* fo_keep_get_within_line (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_KEEP (datatype), 0); return FO_KEEP (datatype)->within_line; } gchar* fo_keep_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_KEEP (object), NULL); return g_strdup_printf ("page: %s; column: %s; line: %s", fo_object_sprintf (FO_KEEP (object)->within_page), fo_object_sprintf (FO_KEEP (object)->within_column), fo_object_sprintf (FO_KEEP (object)->within_line)); } /** * fo_keep_copy: * @datatype: Source #FoKeep * * Creates a copy of @datatype * * Return value: Copy of @datatype **/ FoDatatype* fo_keep_copy (FoDatatype *datatype) { FoDatatype* keep; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_KEEP (datatype), NULL); keep = fo_keep_new (); FO_KEEP (keep)->within_page = FO_KEEP (datatype)->within_page; FO_KEEP (keep)->within_column = FO_KEEP (datatype)->within_column; FO_KEEP (keep)->within_line = FO_KEEP (datatype)->within_line; return (keep); } /** * fo_keep_resolve: * @shortform: Single-value short form of the keep, or * NULL * @within_line: .within-line component of the keep, or NULL * @within_column: .within-column component of the keep, or NULL * @within_page: .within-page component of the keep, or NULL * @error: GError used for reporting errors * * Resolve the shortform and components of the keep in * accordance with Section 5.11, Datatypes, of the XSL 1.0 * Recommendation. * * Does not change the ref-count of any FoDatatype arguments. * * Return value: Compound keep datatype, or NULL if an error * occurred **/ FoDatatype* fo_keep_resolve (FoDatatype *shortform, FoDatatype *within_line, FoDatatype *within_column, FoDatatype *within_page, GError **error G_GNUC_UNUSED) { FoDatatype *use_keep; g_return_val_if_fail (shortform == NULL || FO_IS_KEEP (shortform), NULL); g_return_val_if_fail (within_line == NULL || FO_IS_INTEGER (within_line) || (FO_IS_ENUM (within_line) && ((fo_enum_get_value (within_line) == FO_ENUM_ENUM_AUTO) || (fo_enum_get_value (within_line) == FO_ENUM_ENUM_ALWAYS))), NULL); g_return_val_if_fail (within_column == NULL || FO_IS_INTEGER (within_column) || (FO_IS_ENUM (within_column) && ((fo_enum_get_value (within_column) == FO_ENUM_ENUM_AUTO) || (fo_enum_get_value (within_column) == FO_ENUM_ENUM_ALWAYS))), NULL); g_return_val_if_fail (within_page == NULL || FO_IS_INTEGER (within_page) || (FO_IS_ENUM (within_page) && ((fo_enum_get_value (within_page) == FO_ENUM_ENUM_AUTO) || (fo_enum_get_value (within_page) == FO_ENUM_ENUM_ALWAYS))), NULL); if (FO_IS_KEEP (shortform) && within_line == NULL && within_column == NULL && within_page == NULL) { use_keep = shortform; } else { if (shortform == NULL) { use_keep = fo_keep_new (); } else { use_keep = fo_keep_copy (shortform); } if (within_line != NULL) { fo_keep_set_within_line (use_keep, within_line); } if (within_column != NULL) { fo_keep_set_within_column (use_keep, within_column); } if (within_page != NULL) { fo_keep_set_within_page (use_keep, within_page); } } return use_keep; } xmlroff-0.6.2/libfo/datatype/fo-keep.h0000644000175000017500000000330010643167450014524 00000000000000/* Fo * fo-keep.h: Keep datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_KEEP_H__ #define __FO_KEEP_H__ #include G_BEGIN_DECLS #define FO_TYPE_KEEP (fo_keep_get_type ()) #define FO_KEEP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_KEEP, FoKeep)) #define FO_KEEP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_KEEP, FoKeepClass)) #define FO_IS_KEEP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_KEEP)) #define FO_IS_KEEP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_KEEP)) #define FO_KEEP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_KEEP, FoKeepClass)) typedef struct _FoKeep FoKeep; typedef struct _FoKeepClass FoKeepClass; GType fo_keep_get_type (void) G_GNUC_CONST; FoDatatype * fo_keep_new (void); FoDatatype * fo_keep_new_with_value (FoDatatype *value); FoDatatype * fo_keep_get_keep_auto (void); FoDatatype * fo_keep_get_keep_always (void); FoDatatype * fo_keep_get_within_line (FoDatatype *datatype); FoDatatype * fo_keep_get_within_column (FoDatatype *datatype); FoDatatype * fo_keep_get_within_page (FoDatatype *datatype); FoDatatype * fo_keep_resolve (FoDatatype *shortform, FoDatatype *within_line, FoDatatype *within_column, FoDatatype *within_page, GError **error); FoDatatype * fo_keep_get_keep_auto (void); FoDatatype * fo_keep_get_keep_always (void); FoDatatype * fo_keep_get_enum_auto (void); FoDatatype * fo_keep_get_enum_always (void); G_END_DECLS #endif /* !__FO_KEEP_H__ */ xmlroff-0.6.2/libfo/datatype/fo-length-conditional.c0000644000175000017500000003042110643167450017361 00000000000000/* Fo * fo-length-cond.c: 'length-conditional' datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-length-conditional.h" #include "fo-boolean.h" #include "fo-enum.h" #include "fo-length.h" #include "fo-percentage.h" enum { PROP_0, PROP_LENGTH, PROP_CONDITY }; struct _FoLengthCond { FoDatatype parent_instance; gdouble length; gboolean retain; }; struct _FoLengthCondClass { FoDatatypeClass parent_class; }; static void fo_length_cond_init (FoLengthCond *length_cond); static void fo_length_cond_class_init (FoLengthCondClass *klass); static void fo_length_cond_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_length_cond_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_length_cond_finalize (GObject *object); gchar* fo_length_cond_sprintf (FoObject *object); FoDatatype* fo_length_cond_copy (FoDatatype *datatype); static gpointer parent_class; /** * fo_length_cond_get_type: * @void: * * Register the #FoLengthCond object type. * * Return value: GType value of the #FoLengthCond object type. **/ GType fo_length_cond_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLengthCondClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_length_cond_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLengthCond), 0, /* n_preallocs */ (GInstanceInitFunc) fo_length_cond_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoLengthCond", &object_info, 0); } return object_type; } /** * fo_length_cond_init: * @length_cond: #FoLengthCond object to initialise. * * Implements #GInstanceInitFunc for #FoLengthCond. **/ void fo_length_cond_init (FoLengthCond *length_cond) { length_cond->length = 0.0; length_cond->retain = FALSE; } /** * fo_length_cond_class_init: * @klass: FoLengthCondClass object to initialise * * Implements GClassInitFunc for FoLengthCondClass **/ void fo_length_cond_class_init (FoLengthCondClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_length_cond_finalize; object_class->set_property = fo_length_cond_set_property; object_class->get_property = fo_length_cond_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_length_cond_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_length_cond_copy; g_object_class_install_property (object_class, PROP_LENGTH, g_param_spec_double ("length", _("Length"), _("Length_Cond length"), -G_MAXDOUBLE, G_MAXDOUBLE, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_CONDITY, g_param_spec_boolean ("conditionality", _("Conditionality"), _("Whether or not the space must always be retained"), FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } static void fo_length_cond_finalize (GObject *object) { FoLengthCond *length_cond; length_cond = FO_LENGTH_COND (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_length_cond_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoSpace **/ static void fo_length_cond_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *length_cond; length_cond = FO_DATATYPE (object); switch (prop_id) { case PROP_LENGTH: g_value_set_double (value, fo_length_cond_get_length (length_cond)); break; case PROP_CONDITY: g_value_set_boolean (value, fo_length_cond_get_condity (length_cond)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_length_cond_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoSpace **/ static void fo_length_cond_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *length_cond; length_cond = FO_DATATYPE (object); switch (prop_id) { case PROP_LENGTH: fo_length_cond_set_length (length_cond, g_value_get_double (value)); break; case PROP_CONDITY: fo_length_cond_set_condity (length_cond, g_value_get_boolean (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_length_cond_new: * * Creates a new #FoLengthCond initialized to default value. * * Return value: the new #FoLengthCond **/ FoDatatype * fo_length_cond_new (void) { FoDatatype *length_cond = NULL; length_cond = FO_DATATYPE (g_object_new (fo_length_cond_get_type (), NULL)); return length_cond; } /** * fo_length_cond_new_with_value: * @length: Length component of the new #FoLengthCond * @condity: Conditionality component of the new #FoLengthCond * * Creates a new #FoLengthCond set to @length and @condity * * Return value: The new #FoLengthCond **/ FoDatatype* fo_length_cond_new_with_value (gdouble length, gboolean condity) { FoDatatype *length_cond = fo_length_cond_new (); fo_length_cond_set_length (length_cond, length); fo_length_cond_set_condity (length_cond, condity); return length_cond; } /** * fo_length_cond_new_from_length: * @length: #FoLength to use as initial value. * * Creates a new #FoLengthCond with .length component set to @length * and .conditionality component set to default value. * * Return value: New #FoLengthCond. **/ FoDatatype* fo_length_cond_new_from_length (FoDatatype *length) { FoDatatype *length_cond; gdouble length_val; g_return_val_if_fail (FO_IS_LENGTH (length), NULL); length_val = fo_length_get_value (length); length_cond = fo_length_cond_new (); fo_length_cond_set_length (length_cond, length_val); return length_cond; } /** * fo_length_cond_set_length: * @datatype: #FoLengthCond * @new_length: New .length value * * Sets the .length component of @datatype **/ void fo_length_cond_set_length (FoDatatype *datatype, gdouble new_length) { FoLengthCond *length_cond = (FoLengthCond *) datatype; g_return_if_fail (length_cond != NULL); g_return_if_fail (FO_IS_LENGTH_COND (length_cond)); length_cond->length = new_length; /*g_object_notify(G_OBJECT(length_cond), "length");*/ } /** * fo_length_cond_get_length: * @datatype: #FoLengthCond * * Gets the .length component value of @datatype * * Return value: The .length value of @datatype **/ gdouble fo_length_cond_get_length (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0.0); g_return_val_if_fail (FO_IS_LENGTH_COND (datatype), 0.0); return FO_LENGTH_COND (datatype)->length; } /** * fo_length_cond_set_condity: * @datatype: #FoLengthCond * @new_condity: New .condity value * * Sets the .condity component of @datatype **/ void fo_length_cond_set_condity (FoDatatype *datatype, gboolean new_condity) { FoLengthCond *length_cond = (FoLengthCond *) datatype; g_return_if_fail (length_cond != NULL); g_return_if_fail (FO_IS_LENGTH_COND (length_cond)); length_cond->retain = new_condity; /*g_object_notify(G_OBJECT(length_cond), "conditionality");*/ } /** * fo_length_cond_get_condity: * @datatype: #FoLengthCond * * Gets the .conditionality component value of @datatype * * Return value: The .conditionality component value of @datatype **/ gboolean fo_length_cond_get_condity (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, FALSE); g_return_val_if_fail (FO_IS_LENGTH_COND (datatype), FALSE); return FO_LENGTH_COND (datatype)->retain; } /** * fo_length_cond_sprintf: * @object: #FoLengthCond whose value is to be printed * * Create and return a string representation of the value of @object, * which must be an #FoLengthCond. * * String must be freed by caller. * * Return value: String representation of value of @object **/ gchar* fo_length_cond_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_COND (object), NULL); return g_strdup_printf ("length: %0gpt; condity: %s", FO_LENGTH_COND (object)->length, FO_LENGTH_COND (object)->retain ? "retain" : "discard"); } /** * fo_length_cond_copy: * @datatype: Source #FoLengthCond * * Creates a copy of @datatype * * Return value: Copy of @datatype **/ FoDatatype* fo_length_cond_copy (FoDatatype *datatype) { FoDatatype* length_cond; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_COND (datatype), NULL); length_cond = fo_length_cond_new (); FO_LENGTH_COND (length_cond)->length = FO_LENGTH_COND (datatype)->length; FO_LENGTH_COND (length_cond)->retain = FO_LENGTH_COND (datatype)->retain; return (length_cond); } /** * fo_length_cond_get_length_cond_zero: * * Get an #FoLengthCond with the well-known value of 0pt/discard. * * Return value: The #FoLengthCond. **/ FoDatatype * fo_length_cond_get_length_cond_zero (void) { static FoDatatype *length_cond = NULL; if (length_cond == NULL) { length_cond = fo_length_cond_new (); } return length_cond; } /** * fo_length_cond_resolve: * @shortform: Single-value short form of the length-conditional, or NULL * @length: .length component of the space, or NULL * @condity: .conditionality component of the space, or NULL * @error: #GError used for reporting errors * * Resolve the shortform and components of the length-conditional in * accordance with Section 5.11, Datatypes, of the XSL 1.0 * Recommendation. * * Return value: Compound space datatype, or NULL if an error occurred **/ FoDatatype* fo_length_cond_resolve (FoDatatype *shortform, FoDatatype *length, FoDatatype *condity, GError **error) { FoDatatype *use_length_cond = NULL; g_return_val_if_fail (shortform == NULL || FO_IS_LENGTH (shortform) || FO_IS_LENGTH_COND (shortform), NULL); g_return_val_if_fail (length == NULL || FO_IS_LENGTH (length), NULL); g_return_val_if_fail (condity == NULL || FO_IS_BOOLEAN (condity), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH_COND (shortform) && length == NULL && condity == NULL) { return fo_length_cond_copy (shortform); } if (shortform == NULL) { use_length_cond = fo_length_cond_new (); } else if (FO_IS_LENGTH_COND (shortform)) { use_length_cond = fo_length_cond_copy (shortform); } else if (FO_IS_LENGTH (shortform)) { use_length_cond = fo_length_cond_new_from_length (shortform); } else { g_assert_not_reached (); } if (length != NULL) { if (FO_IS_LENGTH (length)) { fo_length_cond_set_length (use_length_cond, fo_length_get_value (length)); } else { g_assert_not_reached (); } } if (condity != NULL) { gboolean condity_boolean = fo_boolean_get_value (condity); fo_length_cond_set_condity (use_length_cond, condity_boolean); } return use_length_cond; } xmlroff-0.6.2/libfo/datatype/fo-length-conditional.h0000644000175000017500000000355610643167450017377 00000000000000/* Fo * fo-length-cond.h: 'length-conditional' datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LENGTH_COND_H__ #define __FO_LENGTH_COND_H__ #include G_BEGIN_DECLS #define FO_TYPE_LENGTH_COND (fo_length_cond_get_type ()) #define FO_LENGTH_COND(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LENGTH_COND, FoLengthCond)) #define FO_LENGTH_COND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LENGTH_COND, FoLengthCondClass)) #define FO_IS_LENGTH_COND(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LENGTH_COND)) #define FO_IS_LENGTH_COND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LENGTH_COND)) #define FO_LENGTH_COND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LENGTH_COND, FoLengthCondClass)) typedef struct _FoLengthCond FoLengthCond; typedef struct _FoLengthCondClass FoLengthCondClass; GType fo_length_cond_get_type (void) G_GNUC_CONST; FoDatatype * fo_length_cond_new (void); FoDatatype * fo_length_cond_new_with_value (gdouble length, gboolean condity); FoDatatype * fo_length_cond_new_from_length (FoDatatype *length); gdouble fo_length_cond_get_length (FoDatatype *datatype); void fo_length_cond_set_length (FoDatatype *datatype, gdouble new_length); gboolean fo_length_cond_get_condity (FoDatatype *datatype); void fo_length_cond_set_condity (FoDatatype *datatype, gboolean new_condity); FoDatatype * fo_length_cond_get_length_cond_zero (void); FoDatatype * fo_length_cond_resolve (FoDatatype *shortform, FoDatatype *length, FoDatatype *condity, GError **error); G_END_DECLS #endif /* !__FO_LENGTH_COND_H__ */ xmlroff-0.6.2/libfo/datatype/fo-length-range.c0000644000175000017500000006203410674176673016172 00000000000000/* Fo * fo-length-range.c: length-range datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-length-range.h" #include "fo-length-range-private.h" #include "fo-enum.h" #include "fo-length.h" #include "fo-percentage.h" enum { PROP_0, PROP_MINIMUM, PROP_OPTIMUM, PROP_MAXIMUM }; static FoDatatype * fo_length_range_new (void); static void fo_length_range_init (FoLengthRange *length_range); static void fo_length_range_class_init (FoLengthRangeClass *klass); static void fo_length_range_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_length_range_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_length_range_finalize (GObject *object); static gchar* fo_length_range_sprintf (FoObject *object); static FoDatatype* fo_length_range_copy (FoDatatype *datatype); static void fo_length_range_set_minimum (FoDatatype *datatype, FoDatatype *new_minimum); static void fo_length_range_set_optimum (FoDatatype *datatype, FoDatatype *new_optimum); static void fo_length_range_set_maximum (FoDatatype *datatype, FoDatatype *new_maximum); static gpointer parent_class; /** * fo_length_range_get_type: * * Register the #FoLengthRange object type. * * Return value: GType value of the #FoLengthRange object type. **/ GType fo_length_range_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLengthRangeClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_length_range_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLengthRange), 0, /* n_preallocs */ (GInstanceInitFunc) fo_length_range_init, NULL }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoLengthRange", &object_info, 0); } return object_type; } /** * fo_length_range_init: * @keep: #FoLengthRange object to initialise * * Implements GInstanceInitFunc for #FoLengthRange **/ void fo_length_range_init (FoLengthRange *length_range) { length_range->minimum = g_object_ref (fo_length_get_length_zero()); length_range->optimum = g_object_ref (fo_length_get_length_zero()); length_range->maximum = g_object_ref (fo_length_get_length_zero()); } /** * fo_length_range_class_init: * @klass: #FoLengthRangeClass object to initialise. * * Implements #GClassInitFunc for #FoLengthRangeClass. **/ void fo_length_range_class_init (FoLengthRangeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_length_range_finalize; object_class->set_property = fo_length_range_set_property; object_class->get_property = fo_length_range_get_property; FO_DATATYPE_CLASS (klass)->copy = fo_length_range_copy; FO_OBJECT_CLASS (klass)->print_sprintf = fo_length_range_sprintf; g_object_class_install_property (object_class, PROP_MINIMUM, g_param_spec_object ("minimum", _("Minimum"), _("Length range minimum value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_OPTIMUM, g_param_spec_object ("optimum", _("Optimum"), _("Length range optimum value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_MAXIMUM, g_param_spec_object ("maximum", _("Maximum"), _("Length range maximum value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_length_range_finalize: * @object: #FoLengthRange object to finalize. * * Implements #GObjectFinalizeFunc for #FoLengthRange. **/ void fo_length_range_finalize (GObject *object) { FoLengthRange *length_range; length_range = FO_LENGTH_RANGE (object); g_object_unref (length_range->minimum); g_object_unref (length_range->optimum); g_object_unref (length_range->maximum); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_length_range_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: #GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoLengthRange. **/ void fo_length_range_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *length_range; length_range = FO_DATATYPE (object); switch (prop_id) { case PROP_MINIMUM: fo_length_range_set_minimum (length_range, g_value_get_object (value)); break; case PROP_OPTIMUM: fo_length_range_set_optimum (length_range, g_value_get_object (value)); break; case PROP_MAXIMUM: fo_length_range_set_maximum (length_range, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_length_range_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoLengthRange. **/ void fo_length_range_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *length_range; length_range = FO_DATATYPE (object); switch (prop_id) { case PROP_MINIMUM: g_value_set_object (value, fo_length_range_get_minimum (length_range)); break; case PROP_OPTIMUM: g_value_set_object (value, fo_length_range_get_optimum (length_range)); break; case PROP_MAXIMUM: g_value_set_object (value, fo_length_range_get_maximum (length_range)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_length_range_new: * * Creates a new #FoLengthRange initialized to default value. * * Return value: the new #FoLengthRange. **/ static FoDatatype* fo_length_range_new (void) { FoDatatype *length_range; length_range = FO_DATATYPE (g_object_new (fo_length_range_get_type (), "minimum", fo_length_get_length_zero (), "optimum", fo_length_get_length_zero (), "maximum", fo_length_get_length_zero (), NULL)); return length_range; } /** * fo_length_range_new_auto: * * Creates a new #FoLengthRange with all components initialized to "auto". * * Return value: the new #FoLengthRange **/ FoDatatype* fo_length_range_new_auto (void) { FoDatatype *length_range; length_range = fo_length_range_new (); fo_length_range_set_minimum (length_range, fo_enum_get_enum_auto()); fo_length_range_set_optimum (length_range, fo_enum_get_enum_auto()); fo_length_range_set_maximum (length_range, fo_enum_get_enum_auto()); return length_range; } /** * fo_length_range_new_with_value: * @datatype: Value for .minimum, .optimum, and .maximum values of the * new #FoLengthRange. * * Creates a new #FoLengthRange set to @value. * * Return value: The new #FoLengthRange. **/ FoDatatype* fo_length_range_new_with_value (FoDatatype *datatype) { FoDatatype *length_range = fo_length_range_new (); g_return_val_if_fail (length_range != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH (datatype) || FO_IS_PERCENTAGE (datatype) || FO_IS_ENUM (datatype), NULL); fo_length_range_set_minimum (length_range, datatype); fo_length_range_set_optimum (length_range, datatype); fo_length_range_set_maximum (length_range, datatype); return length_range; } /** * fo_length_range_set_minimum: * @datatype: #FoLengthRange * @new_minimum: New .minimum value * * Sets the .minimum component of @datatype **/ void fo_length_range_set_minimum (FoDatatype *datatype, FoDatatype *new_minimum) { FoLengthRange *length_range = (FoLengthRange *) datatype; g_return_if_fail (length_range != NULL); g_return_if_fail (FO_IS_LENGTH_RANGE (length_range)); g_return_if_fail (FO_IS_DATATYPE (new_minimum)); if (new_minimum) g_object_ref (G_OBJECT (new_minimum)); if (length_range->minimum) g_object_unref (G_OBJECT (length_range->minimum)); length_range->minimum = new_minimum; /*g_object_notify(G_OBJECT(length_range), "minimum");*/ } /** * fo_length_range_get_minimum: * @datatype: #FoLengthRange * * Gets the .minimum component value of @datatype * * Return value: The .minimum value of @datatype **/ FoDatatype* fo_length_range_get_minimum (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_RANGE (datatype), 0); return FO_LENGTH_RANGE (datatype)->minimum; } /** * fo_length_range_set_optimum: * @datatype: #FoLengthRange * @new_optimum: New .optimum value * * Sets the .optimum component of @datatype **/ void fo_length_range_set_optimum (FoDatatype *datatype, FoDatatype *new_optimum) { FoLengthRange *length_range = (FoLengthRange *) datatype; g_return_if_fail (length_range != NULL); g_return_if_fail (FO_IS_LENGTH_RANGE (length_range)); g_return_if_fail (FO_IS_DATATYPE (new_optimum)); if (new_optimum) g_object_ref (G_OBJECT (new_optimum)); if (length_range->optimum) g_object_unref (G_OBJECT (length_range->optimum)); length_range->optimum = new_optimum; /*g_object_notify(G_OBJECT(length_range), "optimum");*/ } /** * fo_length_range_get_optimum: * @datatype: #FoLengthRange * * Gets the .optimum component value of @datatype * * Return value: The .optimum value of @datatype **/ FoDatatype* fo_length_range_get_optimum (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_RANGE (datatype), 0); return FO_LENGTH_RANGE (datatype)->optimum; } /** * fo_length_range_set_maximum: * @datatype: #FoLengthRange * @new_maximum: New .maximum value * * Sets the .maximum component of @datatype **/ void fo_length_range_set_maximum (FoDatatype *datatype, FoDatatype *new_maximum) { FoLengthRange *length_range = (FoLengthRange *) datatype; g_return_if_fail (length_range != NULL); g_return_if_fail (FO_IS_LENGTH_RANGE (length_range)); g_return_if_fail (FO_IS_DATATYPE (new_maximum)); if (new_maximum) g_object_ref (G_OBJECT (new_maximum)); if (length_range->maximum) g_object_unref (G_OBJECT (length_range->maximum)); length_range->maximum = new_maximum; /*g_object_notify(G_OBJECT(length_range), "maximum");*/ } /** * fo_length_range_get_maximum: * @datatype: #FoLengthRange * * Gets the .maximum component value of @datatype * * Return value: The .maximum value of @datatype **/ FoDatatype* fo_length_range_get_maximum (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_RANGE (datatype), 0); return FO_LENGTH_RANGE (datatype)->maximum; } /** * fo_length_range_sprintf: * @object: #FoLengthRange whose value is to be printed * * Create and return a string representation of the value of @object, * which must be an #FoLengthRange. * * String must be freed by caller. * * Return value: String representation of value of @object **/ gchar* fo_length_range_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_RANGE (object), NULL); return g_strdup_printf ("min: %s; opt: %s; max: %s", fo_object_sprintf (FO_LENGTH_RANGE (object)->minimum), fo_object_sprintf (FO_LENGTH_RANGE (object)->optimum), fo_object_sprintf (FO_LENGTH_RANGE (object)->maximum)); } /** * fo_length_range_copy: * @datatype: Source #FoLengthRange * * Creates a copy of @datatype * * Return value: Copy of @datatype **/ FoDatatype* fo_length_range_copy (FoDatatype *datatype) { FoDatatype* length_range; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_RANGE (datatype), NULL); length_range = fo_length_range_new (); FO_LENGTH_RANGE (length_range)->minimum = FO_LENGTH_RANGE (datatype)->minimum; FO_LENGTH_RANGE (length_range)->optimum = FO_LENGTH_RANGE (datatype)->optimum; FO_LENGTH_RANGE (length_range)->maximum = FO_LENGTH_RANGE (datatype)->maximum; return (length_range); } /** * fo_length_range_resolve: * @shortform: Single-value short form of the length-range, or * NULL * @minimum: .minimum component of the length-range, or NULL * @optimum: .optimum component of the length-range, or NULL * @maximum: .maximum component of the length-range, or NULL * @hundred_percent: Length to use as 100% when components expressed as * percentages * @error: GError used for reporting errors * * Resolve the shortform and components of the length-range in * accordance with Section 5.11, Datatypes, of the XSL 1.0 * Recommendation. * * Does not change the ref-count of any FoDatatype arguments. * * Return value: Compound length-range datatype, or NULL if an error * occurred **/ FoDatatype* fo_length_range_resolve (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, gfloat hundred_percent, GError **error G_GNUC_UNUSED) { FoDatatype *use_length_range = NULL; gfloat use_shortform_value; FoDatatype *use_optimum; gfloat use_optimum_value = 0.0; g_return_val_if_fail (shortform == NULL || FO_IS_LENGTH_RANGE (shortform) || FO_IS_LENGTH (shortform) || FO_IS_PERCENTAGE (shortform), NULL); g_return_val_if_fail (minimum == NULL || FO_IS_LENGTH (minimum) || FO_IS_PERCENTAGE (minimum), NULL); g_return_val_if_fail (optimum == NULL || FO_IS_LENGTH (optimum) || FO_IS_PERCENTAGE (optimum), NULL); g_return_val_if_fail (maximum == NULL || FO_IS_LENGTH (maximum) || FO_IS_PERCENTAGE (maximum), NULL); if (FO_IS_LENGTH_RANGE (shortform) && minimum == NULL && optimum == NULL && maximum == NULL) { return fo_length_range_copy (shortform); } if (shortform == NULL) { use_length_range = fo_length_range_new (); } else if (FO_IS_LENGTH_RANGE (shortform)) { use_length_range = fo_length_range_copy (shortform); } else if (FO_IS_PERCENTAGE (shortform)) { FoDatatype *new_component; use_shortform_value = fo_percentage_get_value (shortform) * 0.01 * hundred_percent; use_length_range = fo_length_range_new (); new_component = fo_length_new_with_value (use_shortform_value); fo_length_range_set_minimum (use_length_range, new_component); fo_length_range_set_optimum (use_length_range, new_component); fo_length_range_set_maximum (use_length_range, new_component); } else if (FO_IS_LENGTH (shortform)) { use_length_range = fo_length_range_new (); fo_length_range_set_minimum (use_length_range, shortform); fo_length_range_set_optimum (use_length_range, shortform); fo_length_range_set_maximum (use_length_range, shortform); } else { g_assert_not_reached (); } if (minimum != NULL) { if (FO_IS_LENGTH (minimum)) { fo_length_range_set_minimum (use_length_range, minimum); } else if (FO_IS_PERCENTAGE (minimum)) { fo_length_range_set_minimum (use_length_range, g_object_new (FO_TYPE_LENGTH, "value", fo_percentage_get_value (minimum) * 0.01 * hundred_percent, NULL)); } else { g_assert_not_reached (); } } if (maximum != NULL) { if (FO_IS_LENGTH (maximum)) { fo_length_range_set_maximum (use_length_range, maximum); } else if (FO_IS_PERCENTAGE (maximum)) { fo_length_range_set_maximum (use_length_range, g_object_new (FO_TYPE_LENGTH, "value", fo_percentage_get_value (maximum) * 0.01 * hundred_percent, NULL)); } else { g_assert_not_reached (); } } if (optimum != NULL) { use_optimum = optimum; if (FO_IS_LENGTH (optimum)) { use_optimum_value = fo_length_get_value (optimum); fo_length_range_set_optimum (use_length_range, optimum); } else if (FO_IS_PERCENTAGE (optimum)) { use_optimum_value = fo_percentage_get_value (optimum) * 0.01 * hundred_percent; fo_length_range_set_optimum (use_length_range, g_object_new (FO_TYPE_LENGTH, "value", use_optimum_value, NULL)); } else { g_assert_not_reached (); } } else { use_optimum = fo_length_range_get_optimum (use_length_range); if (FO_IS_LENGTH (use_optimum)) { use_optimum_value = fo_length_get_value (use_optimum); } else if (FO_IS_PERCENTAGE (use_optimum)) { use_optimum_value = fo_percentage_get_value (use_optimum) * 0.01 * hundred_percent; } else { g_assert_not_reached (); } } if (use_optimum_value <= fo_length_get_value (fo_length_range_get_minimum (use_length_range))) { fo_length_range_set_minimum (use_length_range, use_optimum); } if (use_optimum_value >= fo_length_get_value (fo_length_range_get_maximum (use_length_range))) { fo_length_range_set_maximum (use_length_range, use_optimum); } return use_length_range; } /** * fo_length_range_resolve_allow_auto: * @shortform: Single-value short form of the length-range, or * NULL * @minimum: .minimum component of the length-range, or NULL * @optimum: .optimum component of the length-range, or NULL * @maximum: .maximum component of the length-range, or NULL * @hundred_percent: Length to use as 100% when components expressed as * percentages * @error: GError used for reporting errors * * Resolve the shortform and components of the length-range in * accordance with the definitions of block-progression-dimension and * inline-progression-dimension in Section 7.14, Area Dimension * Properties, of the XSL 1.0 Recommendation. * * Use this when "auto" is an allowed value and percentages are * computed into lengths. * * Does not change the ref-count of any FoDatatype arguments. * * Return value: Compound length-range datatype, or NULL if an error * occurred **/ FoDatatype* fo_length_range_resolve_allow_auto (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, gfloat hundred_percent, GError **error G_GNUC_UNUSED) { FoDatatype *use_length_range = NULL; FoDatatype *use_optimum; gfloat use_optimum_value = 0.0; g_return_val_if_fail (shortform == NULL || (FO_IS_ENUM (shortform) && (fo_enum_get_value (shortform) == FO_ENUM_ENUM_AUTO)) || FO_IS_LENGTH (shortform) || FO_IS_PERCENTAGE (shortform), NULL); g_return_val_if_fail (minimum == NULL || (FO_IS_ENUM (minimum) && (fo_enum_get_value (minimum) == FO_ENUM_ENUM_AUTO)) || FO_IS_LENGTH (minimum) || FO_IS_PERCENTAGE (minimum), NULL); g_return_val_if_fail (optimum == NULL || (FO_IS_ENUM (optimum) && (fo_enum_get_value (optimum) == FO_ENUM_ENUM_AUTO)) || FO_IS_LENGTH (optimum) || FO_IS_PERCENTAGE (optimum), NULL); g_return_val_if_fail (maximum == NULL || (FO_IS_ENUM (maximum) && (fo_enum_get_value (maximum) == FO_ENUM_ENUM_AUTO)) || FO_IS_LENGTH (maximum) || FO_IS_PERCENTAGE (maximum), NULL); #if defined(LIBFO_DEBUG) && 0 g_message ("length_range_resolve_with_auto:: shortform: %s; minimum: %s; optimum: %s; maximum: %s; hundred_percent: %gpt; error: %p", fo_object_sprintf (shortform), fo_object_sprintf (minimum), fo_object_sprintf (optimum), fo_object_sprintf (maximum), hundred_percent, error); #endif if (FO_IS_LENGTH_RANGE (shortform) && minimum == NULL && optimum == NULL && maximum == NULL) { return fo_length_range_copy (shortform); } if (shortform == NULL) { use_length_range = fo_length_range_new_auto (); } else if (FO_IS_LENGTH_RANGE (shortform)) { use_length_range = fo_length_range_copy (shortform); } else if (FO_IS_PERCENTAGE (shortform) || FO_IS_LENGTH (shortform)) { use_length_range = fo_length_range_new (); fo_length_range_set_minimum (use_length_range, shortform); fo_length_range_set_optimum (use_length_range, shortform); fo_length_range_set_maximum (use_length_range, shortform); } else { g_assert_not_reached (); } if (minimum != NULL) { if (FO_IS_LENGTH (minimum) || FO_IS_ENUM (minimum)) { fo_length_range_set_minimum (use_length_range, minimum); } else if (FO_IS_PERCENTAGE (minimum)) { fo_length_range_set_minimum (use_length_range, g_object_new (FO_TYPE_LENGTH, "value", fo_percentage_get_value (minimum) * 0.01 * hundred_percent, NULL)); } else { g_assert_not_reached (); } } if (maximum != NULL) { if (FO_IS_LENGTH (maximum) || FO_IS_ENUM (maximum)) { fo_length_range_set_maximum (use_length_range, maximum); } else if (FO_IS_PERCENTAGE (maximum)) { fo_length_range_set_maximum (use_length_range, g_object_new (FO_TYPE_LENGTH, "value", fo_percentage_get_value (maximum) * 0.01 * hundred_percent, NULL)); } else { g_assert_not_reached (); } } if (optimum != NULL) { use_optimum = optimum; if (FO_IS_LENGTH (optimum)) { use_optimum_value = fo_length_get_value (optimum); fo_length_range_set_optimum (use_length_range, optimum); } else if (FO_IS_PERCENTAGE (optimum)) { use_optimum_value = fo_percentage_get_value (optimum) * 0.01 * hundred_percent; fo_length_range_set_optimum (use_length_range, g_object_new (FO_TYPE_LENGTH, "value", use_optimum_value, NULL)); } else if (FO_IS_ENUM (optimum)) { fo_length_range_set_optimum (use_length_range, optimum); } else { g_assert_not_reached (); } } else { use_optimum = fo_length_range_get_optimum (use_length_range); if (FO_IS_LENGTH (use_optimum)) { use_optimum_value = fo_length_get_value (use_optimum); } else if (FO_IS_PERCENTAGE (use_optimum)) { use_optimum_value = fo_percentage_get_value (use_optimum) * 0.01 * hundred_percent; } else if (!FO_IS_ENUM (use_optimum)) { g_assert_not_reached (); } } if (!FO_IS_ENUM (use_optimum) && !FO_IS_ENUM (fo_length_range_get_minimum (use_length_range))) { FoDatatype *use_minimum = fo_length_range_get_minimum (use_length_range); gfloat use_minimum_value = 0.0; if (FO_IS_LENGTH (use_minimum)) { use_minimum_value = fo_length_get_value (use_minimum); } else if (FO_IS_PERCENTAGE (use_minimum)) { use_minimum_value = fo_percentage_get_value (use_minimum) * 0.01 * hundred_percent; } else { g_assert_not_reached (); } if (use_optimum_value < use_minimum_value) fo_length_range_set_minimum (use_length_range, use_optimum); } if (!FO_IS_ENUM (use_optimum) && !FO_IS_ENUM (fo_length_range_get_maximum (use_length_range))) { FoDatatype *use_maximum = fo_length_range_get_maximum (use_length_range); gfloat use_maximum_value = 0.0; if (FO_IS_LENGTH (use_maximum)) { use_maximum_value = fo_length_get_value (use_maximum); } else if (FO_IS_PERCENTAGE (use_maximum)) { use_maximum_value = fo_percentage_get_value (use_maximum) * 0.01 * hundred_percent; } else { g_assert_not_reached (); } if (use_optimum_value > use_maximum_value) fo_length_range_set_maximum (use_length_range, use_optimum); } return use_length_range; } /** * fo_length_range_get_length_range_hundred_percent: * * Get an #FoLengthRange with the well-known value of 100%. * * Return value: The #FoLengthRange. **/ FoDatatype * fo_length_range_get_length_range_hundred_percent (void) { static FoDatatype *length_range = NULL; if (length_range == NULL) { length_range = fo_length_range_new_with_value (fo_percentage_get_percentage_hundred ()); } return length_range; } xmlroff-0.6.2/libfo/datatype/fo-length-range.h0000644000175000017500000000401010674176600016153 00000000000000/* Fo * fo-length-range.h: length-range datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LENGTH_RANGE_H__ #define __FO_LENGTH_RANGE_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_LENGTH_RANGE (fo_length_range_get_type ()) #define FO_LENGTH_RANGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LENGTH_RANGE, FoLengthRange)) #define FO_LENGTH_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LENGTH_RANGE, FoLengthRangeClass)) #define FO_IS_LENGTH_RANGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LENGTH_RANGE)) #define FO_IS_LENGTH_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LENGTH_RANGE)) #define FO_LENGTH_RANGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LENGTH_RANGE, FoLengthRangeClass)) typedef struct _FoLengthRange FoLengthRange; typedef struct _FoLengthRangeClass FoLengthRangeClass; GType fo_length_range_get_type (void) G_GNUC_CONST; FoDatatype * fo_length_range_new_auto (void); FoDatatype * fo_length_range_new_with_value (FoDatatype *datatype); FoDatatype * fo_length_range_get_minimum (FoDatatype *datatype); FoDatatype * fo_length_range_get_optimum (FoDatatype *datatype); FoDatatype * fo_length_range_get_maximum (FoDatatype *datatype); FoDatatype * fo_length_range_resolve (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, gfloat hundred_percent, GError **error); FoDatatype * fo_length_range_resolve_allow_auto (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, gfloat hundred_percent, GError **error); FoDatatype * fo_length_range_get_length_range_hundred_percent (void); G_END_DECLS #endif /* !__FO_LENGTH_RANGE_H__ */ xmlroff-0.6.2/libfo/datatype/fo-length-range-private.h0000644000175000017500000000150610643167450017631 00000000000000/* Fo * fo-length-range-private.h: Structures private to length-range datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LENGTH_RANGE_PRIVATE_H__ #define __FO_LENGTH_RANGE_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoLengthRange { FoDatatype parent_instance; FoDatatype *minimum; FoDatatype *optimum; FoDatatype *maximum; }; struct _FoLengthRangeClass { FoDatatypeClass parent_class; FoDatatype* (*resolve) (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, FoDatatype *hundred_percent, GError **error); }; G_END_DECLS #endif /* !__FO_LENGTH_RANGE_PRIVATE_H__ */ xmlroff-0.6.2/libfo/datatype/fo-length-bp-ip-d.c0000644000175000017500000002402610643167450016312 00000000000000/* Fo * fo-length-bp-ip-d.c: 'lenght-bp-ip-direction' datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-enum.h" #include "fo-length.h" #include "fo-length-bp-ip-d.h" enum { PROP_0, PROP_LENGTH_BPD, PROP_LENGTH_IPD }; struct _FoLengthBpIpD { FoDatatype parent_instance; FoDatatype *length_bpd; FoDatatype *length_ipd; }; struct _FoLengthBpIpDClass { FoDatatypeClass parent_class; }; static void fo_length_bp_ip_d_class_init (FoLengthBpIpDClass *klass); static void fo_length_bp_ip_d_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_length_bp_ip_d_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_length_bp_ip_d_finalize (GObject *object); gchar* fo_length_bp_ip_d_sprintf (FoObject *object); FoDatatype* fo_length_bp_ip_d_copy (FoDatatype *datatype); static void fo_length_bp_ip_d_set_length_bpd (FoDatatype *datatype, FoDatatype *new_length_bpd); static void fo_length_bp_ip_d_set_length_ipd (FoDatatype *datatype, FoDatatype *new_length_ipd); static gpointer parent_class; /** * fo_length_bp_ip_d_get_type: * @void: * * Register the #FoLengthBpIpD object type. * * Return value: GType value of the #FoLengthBpIpD object type. **/ GType fo_length_bp_ip_d_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLengthBpIpDClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_length_bp_ip_d_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLengthBpIpD), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoLengthBpIpD", &object_info, 0); } return object_type; } /** * fo_length_bp_ip_d_class_init: * @klass: FoLengthBpIpDClass object to initialise * * Implements GClassInitFunc for FoLengthBpIpDClass **/ void fo_length_bp_ip_d_class_init (FoLengthBpIpDClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_length_bp_ip_d_finalize; object_class->set_property = fo_length_bp_ip_d_set_property; object_class->get_property = fo_length_bp_ip_d_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_length_bp_ip_d_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_length_bp_ip_d_copy; g_object_class_install_property (object_class, PROP_LENGTH_BPD, g_param_spec_object ("length-bpd", _("Length bpd"), _("Length in block-progression-direction"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_LENGTH_IPD, g_param_spec_object ("length_ipd", _("Length ipd"), _("Length in inline-progression-direction"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } static void fo_length_bp_ip_d_finalize (GObject *object) { FoLengthBpIpD *length_bp_ip_d; length_bp_ip_d = FO_LENGTH_BP_IP_D (object); G_OBJECT_CLASS (parent_class)->finalize (object); } static void fo_length_bp_ip_d_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *length_bp_ip_d; length_bp_ip_d = FO_DATATYPE (object); switch (prop_id) { case PROP_LENGTH_BPD: fo_length_bp_ip_d_set_length_bpd (length_bp_ip_d, g_value_get_object (value)); break; case PROP_LENGTH_IPD: fo_length_bp_ip_d_set_length_ipd (length_bp_ip_d, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void fo_length_bp_ip_d_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *length_bp_ip_d; length_bp_ip_d = FO_DATATYPE (object); switch (prop_id) { case PROP_LENGTH_BPD: g_value_set_object (value, fo_length_bp_ip_d_get_length_bpd (length_bp_ip_d)); break; case PROP_LENGTH_IPD: g_value_set_object (value, fo_length_bp_ip_d_get_length_ipd (length_bp_ip_d)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_length_bp_ip_d_new: * * Creates a new #FoLengthBpIpD initialized to default value. * * Return value: the new #FoLengthBpIpD **/ FoDatatype * fo_length_bp_ip_d_new (void) { FoDatatype *length_bp_ip_d = NULL; length_bp_ip_d = FO_DATATYPE (g_object_new (fo_length_bp_ip_d_get_type (), "length_bpd", fo_length_get_length_zero (), "length_ipd", fo_length_get_length_zero (), NULL)); return length_bp_ip_d; } /** * fo_length_bp_ip_d_new_with_value: * @length_bpd: .block-progression-direction component of the new #FoLengthBpIpD * @length_ipd: .inline-progression-direction component of the new #FoLengthBpIpD * * Creates a new #FoLengthBpIpD set to @length_bpd and @length_ipd * * Return value: The new #FoLengthBpIpD **/ FoDatatype* fo_length_bp_ip_d_new_with_value (FoDatatype *length_bpd, FoDatatype *length_ipd) { FoDatatype *length_bp_ip_d = fo_length_bp_ip_d_new (); g_return_val_if_fail (FO_IS_LENGTH (length_bpd), NULL); g_return_val_if_fail (FO_IS_LENGTH (length_ipd), NULL); fo_length_bp_ip_d_set_length_bpd (length_bp_ip_d, length_bpd); fo_length_bp_ip_d_set_length_ipd (length_bp_ip_d, length_ipd); return length_bp_ip_d; } /** * fo_length_bp_ip_d_set_length_bpd: * @datatype: #FoLengthBpIpD * @new_length: New .block-progression-direction value * * Sets the .block-progression-direction component of @datatype **/ void fo_length_bp_ip_d_set_length_bpd (FoDatatype *datatype, FoDatatype *new_length_bpd) { FoLengthBpIpD *length_bp_ip_d = (FoLengthBpIpD *) datatype; g_return_if_fail (length_bp_ip_d != NULL); g_return_if_fail (FO_IS_LENGTH_BP_IP_D (length_bp_ip_d)); g_return_if_fail (FO_IS_LENGTH (new_length_bpd)); if (new_length_bpd) g_object_ref (G_OBJECT (new_length_bpd)); if (length_bp_ip_d->length_bpd) g_object_unref (G_OBJECT (length_bp_ip_d->length_bpd)); length_bp_ip_d->length_bpd = new_length_bpd; /*g_object_notify(G_OBJECT(length_bp_ip_d), "block-progression-direction");*/ } /** * fo_length_bp_ip_d_get_length_bpd: * @datatype: #FoLengthBpIpD * * Gets the .block-progression-direction component value of @datatype * * Return value: The .block-progression-direction value of @datatype **/ FoDatatype* fo_length_bp_ip_d_get_length_bpd (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_BP_IP_D (datatype), 0); return FO_LENGTH_BP_IP_D (datatype)->length_bpd; } /** * fo_length_bp_ip_d_set_length_ipd: * @datatype: #FoLengthBpIpD * @new_length_ipd: New .length_ipd value * * Sets the .length_ipd component of @datatype **/ void fo_length_bp_ip_d_set_length_ipd (FoDatatype *datatype, FoDatatype *new_length_ipd) { FoLengthBpIpD *length_bp_ip_d = (FoLengthBpIpD *) datatype; g_return_if_fail (length_bp_ip_d != NULL); g_return_if_fail (FO_IS_LENGTH_BP_IP_D (length_bp_ip_d)); g_return_if_fail (FO_IS_DATATYPE (new_length_ipd)); if (new_length_ipd) g_object_ref (G_OBJECT (new_length_ipd)); if (length_bp_ip_d->length_ipd) g_object_unref (G_OBJECT (length_bp_ip_d->length_ipd)); length_bp_ip_d->length_ipd = new_length_ipd; /*g_object_notify(G_OBJECT(length_bp_ip_d), "inline-progression-direction");*/ } /** * fo_length_bp_ip_d_get_length_ipd: * @datatype: #FoLengthBpIpD * * Gets the .inline-progression-direction component value of @datatype * * Return value: The .inline-progression-direction component value of @datatype **/ FoDatatype* fo_length_bp_ip_d_get_length_ipd (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_BP_IP_D (datatype), 0); return FO_LENGTH_BP_IP_D (datatype)->length_ipd; } /** * fo_length_bp_ip_d_sprintf: * @object: #FoLengthBpIpD whose value is to be printed * * Create and return a string representation of the value of @object, * which must be an #FoLengthBpIpD. * * String must be freed by caller. * * Return value: String representation of value of @object **/ gchar* fo_length_bp_ip_d_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_BP_IP_D (object), NULL); return g_strdup_printf ("length_bpd: %s; length_ipd: %s", fo_object_sprintf (FO_LENGTH_BP_IP_D (object)->length_bpd), fo_object_sprintf (FO_LENGTH_BP_IP_D (object)->length_ipd)); } /** * fo_length_bp_ip_d_copy: * @datatype: Source #FoLengthBpIpD * * Creates a copy of @datatype * * Return value: Copy of @datatype **/ FoDatatype* fo_length_bp_ip_d_copy (FoDatatype *datatype) { FoDatatype* length_bp_ip_d; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH_BP_IP_D (datatype), NULL); length_bp_ip_d = fo_length_bp_ip_d_new (); fo_length_bp_ip_d_set_length_bpd (length_bp_ip_d, FO_LENGTH_BP_IP_D(datatype)->length_bpd); fo_length_bp_ip_d_set_length_ipd (length_bp_ip_d, FO_LENGTH_BP_IP_D(datatype)->length_ipd); return (length_bp_ip_d); } xmlroff-0.6.2/libfo/datatype/fo-length-bp-ip-d.h0000644000175000017500000000274210643167450016320 00000000000000/* Fo * fo-length-bp-ip-d.h: 'length-bp-ip-direction' datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LENGTH_BP_IP_D_H__ #define __FO_LENGTH_BP_IP_D_H__ #include G_BEGIN_DECLS #define FO_TYPE_LENGTH_BP_IP_D (fo_length_bp_ip_d_get_type ()) #define FO_LENGTH_BP_IP_D(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LENGTH_BP_IP_D, FoLengthBpIpD)) #define FO_LENGTH_BP_IP_D_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LENGTH_BP_IP_D, FoLengthBpIpDClass)) #define FO_IS_LENGTH_BP_IP_D(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LENGTH_BP_IP_D)) #define FO_IS_LENGTH_BP_IP_D_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LENGTH_BP_IP_D)) #define FO_LENGTH_BP_IP_D_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LENGTH_BP_IP_D, FoLengthBpIpDClass)) typedef struct _FoLengthBpIpD FoLengthBpIpD; typedef struct _FoLengthBpIpDClass FoLengthBpIpDClass; GType fo_length_bp_ip_d_get_type (void) G_GNUC_CONST; FoDatatype * fo_length_bp_ip_d_new (void); FoDatatype * fo_length_bp_ip_d_new_with_value (FoDatatype *length_bpd, FoDatatype *length_ipd); FoDatatype * fo_length_bp_ip_d_get_length_bpd (FoDatatype *datatype); FoDatatype * fo_length_bp_ip_d_get_length_ipd (FoDatatype *datatype); G_END_DECLS #endif /* !__FO_LENGTH_BPD_IP_D_H__ */ xmlroff-0.6.2/libfo/datatype/fo-length.c0000644000175000017500000003031210674202773015061 00000000000000/* Fo * fo-length.c: Length datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "config.h" #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-numeric.h" #include "fo-length.h" #include "fo-length-conditional.h" #include "fo-length-range.h" #include "fo-space.h" #ifndef FO_LENGTH_WIDTH_THIN #define FO_LENGTH_WIDTH_THIN 0.5 #endif #ifndef FO_LENGTH_WIDTH_MEDIUM #define FO_LENGTH_WIDTH_MEDIUM 2.0 #endif #ifndef FO_LENGTH_WIDTH_THICK #define FO_LENGTH_WIDTH_THICK 4.0 #endif #define FO_LENGTH_A4_WIDTH ((210.0 / 25.4) * 72.0) #define FO_LENGTH_A4_HEIGHT ((297.0 / 25.4) * 72.0) #ifndef PIXEL2DEVICE #define PIXEL2DEVICE(x) ((x) * 72 / PIXELS_PER_INCH) #endif enum { PROP_0, PROP_VALUE }; struct _FoLength { FoDatatype parent_instance; gdouble value; }; struct _FoLengthClass { FoDatatypeClass parent_class; FoDatatype *length_zero; }; static FoDatatype * fo_length_new (void); static void fo_length_init (FoLength *length); static void fo_length_class_init (FoLengthClass *klass); static void fo_length_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_length_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_length_finalize (GObject *object); static FoDatatype * fo_length_copy (FoDatatype *datatype); static gchar* fo_length_sprintf (FoObject *object); static void fo_length_set_value (FoDatatype *length, gdouble new_value); static gpointer parent_class; static FoDatatype *width_thin = NULL; static FoDatatype *width_medium = NULL; static FoDatatype *width_thick = NULL; /** * fo_length_get_type: * * Register the #FoLength object type. * * Return value: #GType value of the #FoLength object type. **/ GType fo_length_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoLengthClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_length_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoLength), 0, /* n_preallocs */ (GInstanceInitFunc) fo_length_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoLength", &object_info, 0); } return object_type; } /** * fo_length_init: * @length: #FoLength object to initialise. * * Implements #GInstanceInitFunc for #FoLength. **/ void fo_length_init (FoLength *length) { length->value = 0; } /** * fo_length_class_init: * @klass: #FoLengthClass object to initialise. * * Implements #GClassInitFunc for #FoLengthClass. **/ void fo_length_class_init (FoLengthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_length_finalize; object_class->set_property = fo_length_set_property; object_class->get_property = fo_length_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_length_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_length_copy; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_double ("value", _("Value"), _("Length value"), -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_length_finalize: * @object: #FoLength object to finalize. * * Implements #GObjectFinalizeFunc for #FoLength. **/ void fo_length_finalize (GObject *object) { FoLength *length; length = FO_LENGTH (object); /* This was giving "assertion `object->ref_count > 0' failed" messages. if (width_thin != NULL) { g_object_unref (width_thin); width_thin = NULL; } if (width_medium != NULL) { g_object_unref (width_medium); width_medium = NULL; } if (width_thick != NULL) { g_object_unref (width_thick); width_thick = NULL; } */ G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_length_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: #GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoLength. **/ void fo_length_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *length; length = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_double (value, fo_length_get_value (length)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_length_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoLength. **/ void fo_length_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *length; length = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_length_set_value (length, g_value_get_double (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_length_new: * * Creates a new #FoLength initialized to default value. * * Return value: The new #FoLength. **/ static FoDatatype* fo_length_new (void) { FoDatatype* length; length = FO_DATATYPE (g_object_new (fo_length_get_type (), NULL)); return length; } /** * fo_length_new_with_value: * @value: Length of the new #FoLength. * * Creates a new #FoLength set to @value. * * Return value: The new #FoLength. **/ FoDatatype* fo_length_new_with_value (gdouble value) { FoDatatype *length = fo_length_new (); fo_length_set_value (length, value); return length; } /** * fo_length_new_from_pixels: * @count: Number of pixels of the new #FoLength. * * Creates a new #FoLength set to the intrinsic length of @count pixels. * * Return value: The new #FoLength. **/ FoDatatype* fo_length_new_from_pixels (gint count) { FoDatatype *length = fo_length_new (); fo_length_set_value (length, PIXEL2DEVICE(((gdouble) count))); return length; } /** * fo_length_get_value: * @length: #FoLength. * * Get the value of @length. * * Return value: Numeric value of @length. **/ gdouble fo_length_get_value (FoDatatype *length) { g_return_val_if_fail (length != NULL, 0); g_return_val_if_fail (FO_IS_LENGTH (length) || FO_IS_LENGTH_RANGE (length) || FO_IS_LENGTH_COND (length) || FO_IS_SPACE (length), 0); if (FO_IS_LENGTH (length)) return FO_LENGTH (length)->value; else if (FO_IS_LENGTH_COND (length)) return fo_length_cond_get_length (length); else if (FO_IS_LENGTH_RANGE (length)) return fo_length_get_value (fo_length_range_get_optimum (length)); else if (FO_IS_SPACE (length)) return fo_space_get_optimum (length); else { g_assert_not_reached (); return 0.0; } } /** * fo_length_set_value: * @length: #FoLength. * @new_value: New value for @length. * * Set the value of @length. **/ void fo_length_set_value (FoDatatype *length, gdouble new_value) { g_return_if_fail (length != NULL); g_return_if_fail (FO_IS_LENGTH (length)); ((FoLength *) length)->value = new_value; /*g_object_notify (G_OBJECT (length), "value");*/ } /** * fo_length_copy: * @datatype: #FoLength to be copied. * * Create a copy of @datatype. * * Return value: New #FoLength. **/ FoDatatype* fo_length_copy (FoDatatype *datatype) { FoDatatype* length; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH (datatype), NULL); length = fo_length_new (); FO_LENGTH (length)->value = FO_LENGTH (datatype)->value; return length; } /** * fo_length_sprintf: * @object: #FoLength to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_length_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_LENGTH (object), NULL); return g_strdup_printf("%0gpt", FO_LENGTH (object)->value); } /** * fo_length_get_length_minus_3pt: * * Get an #FoLength with the well-known value of 3pt. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_length_minus_3pt (void) { static FoDatatype *length = NULL; if (length == NULL) { length = fo_length_new_with_value (-3.0); } return length; } /** * fo_length_get_length_zero: * * Get an #FoLength with the well-known value of 0pt. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_length_zero (void) { static FoDatatype *length = NULL; if (length == NULL) { length = fo_length_new (); } return length; } /** * fo_length_get_length_3pt: * * Get an #FoLength with the well-known value of 3pt. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_length_3pt (void) { static FoDatatype *length = NULL; if (length == NULL) { length = fo_length_new_with_value (3.0); } return length; } /** * fo_length_get_length_6pt: * * Get an #FoLength with the well-known value of 6pt. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_length_6pt (void) { static FoDatatype *length = NULL; if (length == NULL) { length = fo_length_new_with_value (6.0); } return length; } /** * fo_length_get_length_24pt: * * Get an #FoLength with the well-known value of 24pt. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_length_24pt (void) { static FoDatatype *length = NULL; if (length == NULL) { length = fo_length_new_with_value (24.0); } return length; } /** * fo_length_get_length_A4_width: * * Get an #FoLength with the well-known value of the width of an A4 * page. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_length_A4_width (void) { static FoDatatype *length = NULL; if (length == NULL) { length = fo_length_new_with_value (FO_LENGTH_A4_WIDTH); } return length; } /** * fo_length_get_length_A4_width: * * Get an #FoLength with the well-known value of the width of an A4 * page. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_length_A4_height (void) { static FoDatatype *length = NULL; if (length == NULL) { length = fo_length_new_with_value (FO_LENGTH_A4_HEIGHT); } return length; } /** * fo_length_get_width_thin: * * Get an #FoLength for the well-known width value of 'thin'. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_width_thin (void) { if (width_thin == NULL) { width_thin = fo_length_new_with_value (FO_LENGTH_WIDTH_THIN); } return width_thin; } /** * fo_length_get_width_medium: * * Get an #FoLength for the well-known width value of 'medium'. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_width_medium (void) { if (width_medium == NULL) { width_medium = fo_length_new_with_value (FO_LENGTH_WIDTH_MEDIUM); } return width_medium; } /** * fo_length_get_width_thick: * * Get an #FoLength for the well-known width value of 'thick'. * * Return value: The #FoLength. **/ FoDatatype* fo_length_get_width_thick (void) { if (width_thick == NULL) { width_thick = fo_length_new_with_value (FO_LENGTH_WIDTH_THICK); } return width_thick; } xmlroff-0.6.2/libfo/datatype/fo-length.h0000644000175000017500000000333610674203017015064 00000000000000/* Fo * fo-length.h: Length datatype * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_LENGTH_H__ #define __FO_LENGTH_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_LENGTH (fo_length_get_type ()) #define FO_LENGTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LENGTH, FoLength)) #define FO_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LENGTH, FoLengthClass)) #define FO_IS_LENGTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LENGTH)) #define FO_IS_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LENGTH)) #define FO_LENGTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LENGTH, FoLengthClass)) typedef struct _FoLength FoLength; typedef struct _FoLengthClass FoLengthClass; GType fo_length_get_type (void) G_GNUC_CONST; FoDatatype * fo_length_new_with_value (gdouble value); FoDatatype * fo_length_new_from_pixels (gint count); gdouble fo_length_get_value (FoDatatype *length); FoDatatype * fo_length_get_length_minus_3pt (void); FoDatatype * fo_length_get_length_zero (void); FoDatatype * fo_length_get_length_3pt (void); FoDatatype * fo_length_get_length_6pt (void); FoDatatype * fo_length_get_length_24pt (void); FoDatatype * fo_length_get_length_A4_width (void); FoDatatype * fo_length_get_length_A4_height (void); FoDatatype * fo_length_get_width_thin (void); FoDatatype * fo_length_get_width_medium (void); FoDatatype * fo_length_get_width_thick (void); G_END_DECLS #endif /* !__FO_LENGTH_H__ */ xmlroff-0.6.2/libfo/datatype/fo-name.c0000644000175000017500000001464610643167450014532 00000000000000/* Fo * fo-name.c: Name datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-name.h" enum { PROP_0, PROP_VALUE }; struct _FoName { FoDatatype parent_instance; gchar *value; }; struct _FoNameClass { FoDatatypeClass parent_class; }; static void fo_name_class_init (FoNameClass *klass); static void fo_name_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_name_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static FoDatatype * fo_name_copy (FoDatatype *datatype); static gchar* fo_name_sprintf (FoObject *object); static void fo_name_set_value (FoDatatype *name, const gchar* new_value); static gpointer parent_class; /** * fo_name_get_type: * * Register the #FoName object type. * * Return value: #GType value of the #FoName object type. **/ GType fo_name_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoNameClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_name_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoName), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoName", &object_info, 0); } return object_type; } /** * fo_name_class_init: * @klass: #FoNameClass object to initialise. * * Implements #GClassInitFunc for #FoNameClass. **/ void fo_name_class_init (FoNameClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->set_property = fo_name_set_property; object_class->get_property = fo_name_get_property; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_string ("value", _("Value"), _("Name value"), NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); FO_DATATYPE_CLASS (klass)->copy = fo_name_copy; FO_OBJECT_CLASS (klass)->print_sprintf = fo_name_sprintf; } /** * fo_name_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoName. **/ void fo_name_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *name; name = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_string (value, fo_name_get_value (name)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_name_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoName. **/ void fo_name_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *name; name = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_name_set_value (name, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_name_new: * * Creates a new #FoName initialized to default value. * * Return value: the new #FoName. **/ FoDatatype * fo_name_new (void) { return FO_DATATYPE (g_object_new (fo_name_get_type (), NULL)); } /** * fo_name_new_with_value: * @value: Value of the new #FoName. * * Creates a new #FoName set to @value. * * Return value: The new #FoName. **/ FoDatatype* fo_name_new_with_value (const gchar* value) { FoDatatype *name = fo_name_new (); fo_name_set_value (name, value); return name; } /** * fo_name_get_value: * @name: #FoName. * * Get the value of @name. * * Return value: String value of @name. String must be freed by caller. **/ gchar* fo_name_get_value (FoDatatype *name) { g_return_val_if_fail (name != NULL, NULL); g_return_val_if_fail (FO_IS_NAME (name), NULL); return g_strdup (FO_NAME (name)->value); } /** * fo_name_set_value: * @name: #FoName. * @new_value: New value for @name. * * Set the value of @name. **/ void fo_name_set_value (FoDatatype *name, const gchar* new_value) { g_return_if_fail (name != NULL); g_return_if_fail (FO_IS_NAME (name)); FO_NAME (name)->value = g_strdup (new_value); /*g_object_notify (G_OBJECT(name), "value");*/ } /** * fo_name_copy: * @datatype: #FoName to be copied. * * Create a copy of @datatype. * * Return value: New #FoName. **/ FoDatatype* fo_name_copy(FoDatatype *datatype) { FoDatatype* name; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_NAME (datatype), NULL); name = fo_name_new (); FO_NAME (name)->value = g_strdup (FO_NAME (datatype)->value); return (FO_DATATYPE(name)); } /** * fo_name_sprintf: * @object: #FoName to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_name_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_NAME (object), NULL); return (g_strdup_printf ("%s", FO_NAME (object)->value)); } /** * fo_name_get_name_empty: * * Get an #FoName with the well-known value of an empty string. * * Return value: The #FoName. **/ FoDatatype * fo_name_get_name_empty (void) { static FoDatatype *name = NULL; if (!name) { name = fo_name_new_with_value (""); } return name; } xmlroff-0.6.2/libfo/datatype/fo-name.h0000644000175000017500000000220410643167450014522 00000000000000/* Fo * fo-name.h: Name datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_NAME_H__ #define __FO_NAME_H__ #include G_BEGIN_DECLS #define FO_TYPE_NAME (fo_name_get_type ()) #define FO_NAME(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_NAME, FoName)) #define FO_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_NAME, FoNameClass)) #define FO_IS_NAME(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_NAME)) #define FO_IS_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_NAME)) #define FO_NAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_NAME, FoNameClass)) typedef struct _FoName FoName; typedef struct _FoNameClass FoNameClass; GType fo_name_get_type (void) G_GNUC_CONST; FoDatatype * fo_name_new (void); FoDatatype * fo_name_new_with_value (const gchar* value); gchar* fo_name_get_value (FoDatatype *name); FoDatatype * fo_name_get_name_empty (void); G_END_DECLS #endif /* !__FO_NAME_H__ */ xmlroff-0.6.2/libfo/datatype/fo-number.c0000644000175000017500000001650710651101135015063 00000000000000/* Fo * fo-number.c: Number datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-numeric.h" #include "fo-number.h" enum { PROP_0, PROP_VALUE }; struct _FoNumber { FoDatatype parent_instance; gdouble value; }; struct _FoNumberClass { FoDatatypeClass parent_class; }; static void fo_number_init (FoNumber *number); static void fo_number_class_init (FoNumberClass *klass); static void fo_number_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_number_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_number_finalize (GObject *object); static FoDatatype * fo_number_copy (FoDatatype *datatype); static gchar* fo_number_sprintf (FoObject *object); static void fo_number_set_value (FoDatatype *length, gdouble new_value); static gpointer parent_class; /** * fo_number_get_type: * @void: * * Register the #FoNumber object type. * * Return value: GType value of the #FoNumber object type. **/ GType fo_number_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoNumberClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_number_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoNumber), 0, /* n_preallocs */ (GInstanceInitFunc) fo_number_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoNumber", &object_info, 0); } return object_type; } /** * fo_number_init: * @number: #FoNumber object to initialise * * Implements #GInstanceInitFunc for #FoNumber **/ void fo_number_init (FoNumber *number) { number->value = 0; } /** * fo_number_class_init: * @klass: #FoNumberClass object to initialise * * Implements #GClassInitFunc for #FoNumberClass **/ void fo_number_class_init (FoNumberClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_number_finalize; object_class->set_property = fo_number_set_property; object_class->get_property = fo_number_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_number_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_number_copy; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_double ("value", _("Value"), _("Number value"), -G_MAXDOUBLE, G_MAXDOUBLE, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_number_finalize: * @object: #FoNumber object to finalize * * Implements GObjectFinalizeFunc for #FoNumber **/ void fo_number_finalize (GObject *object) { FoNumber *number; number = FO_NUMBER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_number_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for #FoNumber **/ void fo_number_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *number; number = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_number_set_value (number, g_value_get_double (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_number_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoNumber **/ void fo_number_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *number; number = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_double (value, fo_number_get_value (number)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_number_new: * * Creates a new #FoNumber initialized to default value. * * Return value: the new #FoNumber **/ FoDatatype * fo_number_new (void) { FoDatatype *number; number = FO_DATATYPE (g_object_new (fo_number_get_type (), NULL)); return number; } /** * fo_number_new_with_value: * @value: Value of the new #FoNumber. * * Creates a new #FoNumber set to @value. * * Return value: The new #FoNumber. **/ FoDatatype* fo_number_new_with_value (gdouble value) { FoDatatype *number = fo_number_new (); fo_number_set_value (number, value); return number; } /** * fo_number_get_value: * @number: #FoNumber * * Get the value of @number * * Return value: Numeric value of @number **/ gdouble fo_number_get_value (FoDatatype *number) { g_return_val_if_fail (number != NULL, 0); g_return_val_if_fail (FO_IS_NUMBER (number), 0); return FO_NUMBER (number)->value; } /** * fo_number_set_value: * @number: #FoNumber * @new_value: New value for @number * * Set the value of @number **/ void fo_number_set_value (FoDatatype *number, gdouble new_value) { g_return_if_fail (number != NULL); g_return_if_fail (FO_IS_NUMBER (number)); FO_NUMBER (number)->value = new_value; /*g_object_notify(G_OBJECT(number), "value");*/ } /** * fo_number_copy: * @datatype: #FoNumber to be copied * * Create a copy of @datatype * * Return value: New #FoNumber **/ FoDatatype* fo_number_copy(FoDatatype *datatype) { FoDatatype* number; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_NUMBER (datatype), NULL); number = fo_number_new (); FO_NUMBER (number)->value = FO_NUMBER (datatype)->value; return number; } /** * fo_number_sprintf: * @object: #FoNumber to be printed * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object **/ gchar* fo_number_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_NUMBER (object), NULL); return (g_strdup_printf("%0g", FO_NUMBER (object)->value)); } /** * fo_number_get_number_one: * * Create and return an #FoNumber with the well-known value 1.0. * * This saves creation of multiple #FoNumber objects that all have the * value 1.0. * * Return value: #FoNumber with value 1.0. **/ FoDatatype* fo_number_get_number_one (void) { static FoDatatype *number = NULL; if (!number) { number = fo_number_new (); FO_NUMBER (number)->value = 1.0; } return number; } xmlroff-0.6.2/libfo/datatype/fo-number.h0000644000175000017500000000231110643167450015071 00000000000000/* Fo * fo-number.h: Number datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_NUMBER_H__ #define __FO_NUMBER_H__ #include G_BEGIN_DECLS #define FO_TYPE_NUMBER (fo_number_get_type ()) #define FO_NUMBER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_NUMBER, FoNumber)) #define FO_NUMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_NUMBER, FoNumberClass)) #define FO_IS_NUMBER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_NUMBER)) #define FO_IS_NUMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_NUMBER)) #define FO_NUMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_NUMBER, FoNumberClass)) typedef struct _FoNumber FoNumber; typedef struct _FoNumberClass FoNumberClass; GType fo_number_get_type (void) G_GNUC_CONST; FoDatatype * fo_number_new (void); FoDatatype * fo_number_new_with_value (gdouble value); gdouble fo_number_get_value (FoDatatype *number); FoDatatype* fo_number_get_number_one (void); G_END_DECLS #endif /* !__FO_NUMBER_H__ */ xmlroff-0.6.2/libfo/datatype/fo-numeric.c0000644000175000017500000000361710643167450015250 00000000000000/* Fo * fo-numeric.c: Numeric datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-numeric.h" #include "fo-numeric-private.h" static void fo_numeric_class_init (FoNumericClass *klass); static void fo_numeric_finalize (GObject *object); gchar* fo_numeric_debug_sprintf(FoNumeric *numeric); static gpointer parent_class; GType fo_numeric_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoNumericClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_numeric_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoNumeric), 0, /* n_preallocs */ NULL, /* init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoNumeric", &object_info, 0); } return object_type; } static void fo_numeric_class_init (FoNumericClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_numeric_finalize; } static void fo_numeric_finalize (GObject *object) { FoNumeric *numeric; numeric = FO_NUMERIC (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_numeric_new: * * Creates a new #FoNumeric initialized to default value. * * Return value: the new #FoNumeric **/ FoDatatype * fo_numeric_new (void) { FoDatatype *numeric; numeric = FO_DATATYPE (g_object_new (fo_numeric_get_type (), NULL)); return numeric; } xmlroff-0.6.2/libfo/datatype/fo-numeric.h0000644000175000017500000000211710643167450015247 00000000000000/* Fo * fo-numeric.h: Numeric datatype * * Copyright (C) 2001 Sun Microsystems * * $Id: fo-numeric.h,v 1.2 2003/03/19 21:13:35 tonygraham Exp $ * * See COPYING for the status of this software. */ #ifndef __FO_NUMERIC_H__ #define __FO_NUMERIC_H__ #include G_BEGIN_DECLS #define FO_TYPE_NUMERIC (fo_numeric_get_type ()) #define FO_NUMERIC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_NUMERIC, FoNumeric)) #define FO_NUMERIC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_NUMERIC, FoNumericClass)) #define FO_IS_NUMERIC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_NUMERIC)) #define FO_IS_NUMERIC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_NUMERIC)) #define FO_NUMERIC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_NUMERIC, FoNumericClass)) typedef struct _FoNumeric FoNumeric; typedef struct _FoNumericClass FoNumericClass; GType fo_numeric_get_type (void) G_GNUC_CONST; FoDatatype *fo_numeric_new (void); G_END_DECLS #endif /* !__FO_NUMERIC_H__ */ xmlroff-0.6.2/libfo/datatype/fo-numeric-private.h0000644000175000017500000000101310643167450016711 00000000000000/* Fo * fo-numeric.h: Numeric datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_NUMERIC_PRIVATE_H__ #define __FO_NUMERIC_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoNumeric { FoDatatype parent_instance; }; struct _FoNumericClass { FoDatatypeClass parent_class; }; G_END_DECLS #endif /* !__FO_NUMERIC_PRIVATE_H__ */ xmlroff-0.6.2/libfo/datatype/fo-pcw.c0000644000175000017500000001600310701131470014354 00000000000000/* Fo * fo-pcw.c: Proportional-column-width datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-object.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-numeric.h" #include "fo-pcw.h" enum { PROP_0, PROP_VALUE }; struct _FoPcw { FoDatatype parent_instance; gdouble value; }; struct _FoPcwClass { FoDatatypeClass parent_class; }; static void fo_pcw_init (FoPcw *pcw); static void fo_pcw_class_init (FoPcwClass *klass); static void fo_pcw_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_pcw_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_pcw_finalize (GObject *object); static FoDatatype* fo_pcw_copy (FoDatatype *datatype); static gchar* fo_pcw_sprintf (FoObject *object); static void fo_pcw_set_value (FoDatatype *pcw, gdouble new_value); static gpointer parent_class; /** * fo_pcw_get_type: * @void: * * Register the #FoPcw object type. * * Return value: GType value of the #FoPcw object type. **/ GType fo_pcw_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPcwClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_pcw_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPcw), 0, /* n_preallocs */ (GInstanceInitFunc) fo_pcw_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoPcw", &object_info, 0); } return object_type; } /** * fo_pcw_init: * @pcw: #FoPcw object to initialise * * Implements GInstanceInitFunc for #FoPcw **/ void fo_pcw_init (FoPcw *pcw) { pcw->value = 0; } /** * fo_pcw_class_init: * @klass: FoPcwClass object to initialise * * Implements GClassInitFunc for FoPcwClass **/ void fo_pcw_class_init (FoPcwClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_pcw_finalize; object_class->set_property = fo_pcw_set_property; object_class->get_property = fo_pcw_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_pcw_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_pcw_copy; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_double ("value", _("Value"), _("Pcw value"), -G_MAXDOUBLE, G_MAXDOUBLE, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_pcw_finalize: * @object: FoPcw object to finalize * * Implements GObjectFinalizeFunc for FoPcw **/ void fo_pcw_finalize (GObject *object) { FoPcw *pcw; pcw = FO_PCW (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_pcw_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoPcw **/ void fo_pcw_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *pcw; pcw = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_pcw_set_value (pcw, g_value_get_double (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_pcw_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoPcw **/ void fo_pcw_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *pcw; pcw = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_double (value, fo_pcw_get_value (pcw)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_pcw_new: * * Creates a new #FoPcw initialized to default value. * * Return value: the new #FoPcw **/ FoDatatype * fo_pcw_new (void) { FoDatatype *pcw; pcw = FO_DATATYPE (g_object_new (fo_pcw_get_type (), NULL)); return pcw; } /** * fo_pcw_new_with_value: * @value: Value of the new #FoPcw * * Creates a new #FoPcw set to @value * * Return value: The new #FoPcw **/ FoDatatype* fo_pcw_new_with_value (gdouble value) { FoDatatype *pcw = fo_pcw_new (); fo_pcw_set_value (pcw, value); return pcw; } /** * fo_pcw_set_value: * @pcw: #FoPcw * @new_value: New value for @pcw * * Set the value of @pcw **/ void fo_pcw_set_value (FoDatatype *pcw, gdouble new_value) { g_return_if_fail (pcw != NULL); g_return_if_fail (FO_IS_PCW (pcw)); FO_PCW (pcw)->value = new_value; /*g_object_notify(G_OBJECT(pcw), "value");*/ } /** * fo_pcw_get_value: * @pcw: #FoPcw * * Get the value of @pcw * * Return value: Numeric value of @pcw **/ gdouble fo_pcw_get_value (FoDatatype *pcw) { g_return_val_if_fail (pcw != NULL, 0); g_return_val_if_fail (FO_IS_PCW (pcw), 0); return FO_PCW(pcw)->value; } /** * fo_pcw_copy: * @datatype: #FoPcw to be copied * * Create a copy of @datatype * * Return value: New #FoPcw **/ FoDatatype* fo_pcw_copy (FoDatatype *datatype) { FoDatatype* pcw; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_PCW (datatype), NULL); pcw = fo_pcw_new (); FO_PCW (pcw)->value = FO_PCW (datatype)->value; return (pcw); } /** * fo_pcw_sprintf: * @object: #FoPcw to be printed * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object **/ gchar* fo_pcw_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_PCW (object), NULL); return (g_strdup_printf("%0g", FO_PCW (object)->value)); } /** * fo_pcw_get_pcw_zero: * * Create and return an #FoPcw with the well-known value 0. * * This saves creation of multiple #FoPcw objects that all have the * value 0.0. * * Return value: #FoPcw with value 0 **/ FoDatatype* fo_pcw_get_pcw_zero (void) { static FoDatatype *pcw = NULL; if (pcw == NULL) { pcw = fo_pcw_new (); FO_PCW (pcw)->value = 0.0; } return pcw; } xmlroff-0.6.2/libfo/datatype/fo-pcw.h0000644000175000017500000000221010701131507014355 00000000000000/* Fo * fo-pcw.h: Proportional-column-width datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PCW_H__ #define __FO_PCW_H__ #include G_BEGIN_DECLS #define FO_TYPE_PCW (fo_pcw_get_type ()) #define FO_PCW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PCW, FoPcw)) #define FO_PCW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PCW, FoPcwClass)) #define FO_IS_PCW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PCW)) #define FO_IS_PCW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PCW)) #define FO_PCW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PCW, FoPcwClass)) typedef struct _FoPcw FoPcw; typedef struct _FoPcwClass FoPcwClass; GType fo_pcw_get_type (void) G_GNUC_CONST; FoDatatype* fo_pcw_new (void); FoDatatype* fo_pcw_new_with_value (gdouble value); gdouble fo_pcw_get_value (FoDatatype *pcw); FoDatatype* fo_pcw_get_pcw_zero (void); G_END_DECLS #endif /* !__FO_PCW_H__ */ xmlroff-0.6.2/libfo/datatype/fo-percentage.c0000644000175000017500000001772110643167450015724 00000000000000/* Fo * fo-percentage.c: Percentage datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-numeric-private.h" #include "fo-percentage.h" enum { PROP_0, PROP_VALUE }; struct _FoPercentage { FoDatatype parent_instance; gdouble value; }; struct _FoPercentageClass { FoDatatypeClass parent_class; }; static void fo_percentage_init (FoPercentage *percentage); static void fo_percentage_class_init (FoPercentageClass *klass); static void fo_percentage_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_percentage_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_percentage_finalize (GObject *object); static FoDatatype* fo_percentage_copy (FoDatatype *datatype); static gchar* fo_percentage_sprintf (FoObject *object); static gpointer parent_class; /** * fo_percentage_get_type: * * Register the #FoPercentage object type. * * Return value: #GType value of the #FoPercentage object type. **/ GType fo_percentage_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPercentageClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_percentage_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPercentage), 0, /* n_preallocs */ (GInstanceInitFunc) fo_percentage_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoPercentage", &object_info, 0); } return object_type; } /** * fo_percentage_init: * @percentage: #FoPercentage object to initialise. * * Implements #GInstanceInitFunc for #FoPercentage. **/ void fo_percentage_init (FoPercentage *percentage) { percentage->value = 0; } /** * fo_percentage_class_init: * @klass: #FoPercentageClass object to initialise. * * Implements #GClassInitFunc for #FoPercentageClass. **/ void fo_percentage_class_init (FoPercentageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_percentage_finalize; object_class->set_property = fo_percentage_set_property; object_class->get_property = fo_percentage_get_property; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_double ("value", _("Value"), _("Percentage value"), -G_MAXDOUBLE, G_MAXDOUBLE, 0, G_PARAM_READWRITE)); FO_DATATYPE_CLASS (klass)->copy = fo_percentage_copy; FO_OBJECT_CLASS (klass)->print_sprintf = fo_percentage_sprintf; } /** * fo_percentage_finalize: * @object: #FoPercentage object to finalize. * * Implements #GObjectFinalizeFunc for #FoPercentage. **/ void fo_percentage_finalize (GObject *object) { FoPercentage *percentage; percentage = FO_PERCENTAGE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_percentage_get_property: * @object: #GObject whose property will be retrieved. * @prop_id: Property ID assigned when property registered. * @value: #GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoPercentage. **/ void fo_percentage_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *percentage; percentage = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_double (value, fo_percentage_get_value (percentage)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_percentage_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoPercentage. **/ void fo_percentage_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *percentage; percentage = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_percentage_set_value (percentage, g_value_get_double (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_percentage_new: * * Creates a new #FoPercentage initialized to default value. * * Return value: the new #FoPercentage. **/ FoDatatype * fo_percentage_new (void) { FoDatatype *percentage; percentage = FO_DATATYPE (g_object_new (fo_percentage_get_type (), NULL)); return percentage; } /** * fo_percentage_new_with_value: * @value: Value of new #FoPercentage. * * Creates a new #FoPercentage initialized to value of @value. For * example, fo_percentage_new_with_value(100) creates a new * #FoPercentage with value equal to 100%. * * Return value: the new #FoPercentage. **/ FoDatatype * fo_percentage_new_with_value (gdouble value) { FoDatatype *percentage; percentage = fo_percentage_new (); fo_percentage_set_value (percentage, value); return percentage; } /** * fo_percentage_get_value: * @percentage: #FoPercentage. * * Get the value of @percentage. * * Return value: Numeric value of @percentage. **/ gdouble fo_percentage_get_value (FoDatatype *percentage) { g_return_val_if_fail (percentage != NULL, 0); g_return_val_if_fail (FO_IS_PERCENTAGE (percentage), 0); return ((FoPercentage *) percentage)->value; } /** * fo_percentage_set_value: * @percentage: #FoPercentage. * @new_value: New value for @percentage. * * Set the value of @percentage. **/ void fo_percentage_set_value (FoDatatype *percentage, gdouble new_value) { g_return_if_fail (percentage != NULL); g_return_if_fail (FO_IS_PERCENTAGE (percentage)); ((FoPercentage *) percentage)->value = new_value; /*g_object_notify(G_OBJECT(percentage), "value");*/ } /** * fo_percentage_copy: * @datatype: #FoPercentage to be copied. * * Create a copy of @datatype. * * Return value: New #FoPercentage. **/ FoDatatype* fo_percentage_copy(FoDatatype *datatype) { FoDatatype* percentage; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_PERCENTAGE (datatype), NULL); percentage = fo_percentage_new (); FO_PERCENTAGE (percentage)->value = FO_PERCENTAGE (datatype)->value; return (percentage); } /** * fo_percentage_sprintf: * @object: #FoPercentage to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_percentage_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_PERCENTAGE (object), NULL); return (g_strdup_printf("%0g%%", FO_PERCENTAGE (object)->value)); } /** * fo_percentage_get_percentage_hundred: * * Get an #FoPercentage with the well-known value of 100%. * * Return value: The #FoPercentage. **/ FoDatatype* fo_percentage_get_percentage_hundred (void) { static FoDatatype *percentage = NULL; if (percentage == NULL) { percentage = fo_percentage_new_with_value (100.0); } return percentage; } xmlroff-0.6.2/libfo/datatype/fo-percentage.h0000644000175000017500000000272610643167450015730 00000000000000/* Fo * fo-percentage.h: Percentage datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PERCENTAGE_H__ #define __FO_PERCENTAGE_H__ #include G_BEGIN_DECLS #define FO_TYPE_PERCENTAGE (fo_percentage_get_type ()) #define FO_PERCENTAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PERCENTAGE, FoPercentage)) #define FO_PERCENTAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PERCENTAGE, FoPercentageClass)) #define FO_IS_PERCENTAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PERCENTAGE)) #define FO_IS_PERCENTAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PERCENTAGE)) #define FO_PERCENTAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PERCENTAGE, FoPercentageClass)) typedef struct _FoPercentage FoPercentage; typedef struct _FoPercentageClass FoPercentageClass; GType fo_percentage_get_type (void) G_GNUC_CONST; FoDatatype * fo_percentage_new (void); FoDatatype * fo_percentage_new_with_value (gdouble value); gdouble fo_percentage_get_value (FoDatatype *percentage); void fo_percentage_set_value (FoDatatype *percentage, gdouble new_value); FoDatatype * fo_percentage_get_percentage_hundred (void); G_END_DECLS #endif /* !__FO_PERCENTAGE_H__ */ xmlroff-0.6.2/libfo/datatype/fo-space.c0000644000175000017500000004407110653341162014673 00000000000000/* Fo * fo-space.c: Space datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-space.h" #include "fo-length.h" #include "fo-integer.h" #include "fo-percentage.h" #include "fo-boolean.h" enum { PROP_0, PROP_MINIMUM, PROP_OPTIMUM, PROP_MAXIMUM, PROP_PRECEDENCE, PROP_CONDITY }; struct _FoSpace { FoDatatype parent_instance; gfloat minimum; gfloat optimum; gfloat maximum; gint precedence; gboolean retain; }; struct _FoSpaceClass { FoDatatypeClass parent_class; }; static void fo_space_init (FoSpace *space); static void fo_space_class_init (FoSpaceClass *klass); static void fo_space_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_space_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_space_finalize (GObject *object); gchar* fo_space_sprintf (FoObject *object); FoDatatype* fo_space_copy (FoDatatype *datatype); static gpointer parent_class; /** * fo_space_get_type: * @void: * * Register the #FoSpace object type. * * Return value: GType value of the #FoSpace object type. **/ GType fo_space_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoSpaceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_space_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoSpace), 0, /* n_preallocs */ (GInstanceInitFunc) fo_space_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoSpace", &object_info, 0); } return object_type; } /** * fo_space_init: * @space: #FoSpace object to initialise. * * Implements #GInstanceInitFunc for #FoSpace. **/ void fo_space_init (FoSpace *space) { space->minimum = 0.0; space->optimum = 0.0; space->maximum = 0.0; space->precedence = 0; space->retain = FALSE; } /** * fo_space_class_init: * @klass: FoSpaceClass object to initialise * * Implements GClassInitFunc for FoSpaceClass **/ void fo_space_class_init (FoSpaceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_space_finalize; object_class->set_property = fo_space_set_property; object_class->get_property = fo_space_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_space_sprintf; g_object_class_install_property (object_class, PROP_MINIMUM, g_param_spec_float ("minimum", _("Minimum"), _("Space range minimum value"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_OPTIMUM, g_param_spec_float ("optimum", _("Optimum"), _("Space range optimum value"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_MAXIMUM, g_param_spec_float ("maximum", _("Maximum"), _("Space range maximum value"), -G_MAXFLOAT, G_MAXFLOAT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_PRECEDENCE, g_param_spec_int ("precedence", _("Precedence"), _("Precedence of this space compared to others"), G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_CONDITY, g_param_spec_boolean ("conditionality", _("Conditionality"), _("Whether or not the space must always be retained"), FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); FO_DATATYPE_CLASS (klass)->copy = fo_space_copy; } /** * fo_space_finalize: * @object: FoSpace object to finalize * * Implements GObjectFinalizeFunc for FoSpace **/ void fo_space_finalize (GObject *object) { FoSpace *space; space = FO_SPACE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_space_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoSpace **/ void fo_space_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *datatype; datatype = FO_DATATYPE (object); switch (prop_id) { case PROP_MINIMUM: g_value_set_float (value, fo_space_get_minimum (datatype)); break; case PROP_OPTIMUM: g_value_set_float (value, fo_space_get_optimum (datatype)); break; case PROP_MAXIMUM: g_value_set_float (value, fo_space_get_maximum (datatype)); break; case PROP_PRECEDENCE: g_value_set_int (value, fo_space_get_precedence (datatype)); break; case PROP_CONDITY: g_value_set_boolean (value, fo_space_get_condity (datatype)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_space_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoSpace **/ void fo_space_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *space; space = FO_DATATYPE (object); switch (prop_id) { case PROP_MINIMUM: fo_space_set_minimum (space, g_value_get_float (value)); break; case PROP_OPTIMUM: fo_space_set_optimum (space, g_value_get_float (value)); break; case PROP_MAXIMUM: fo_space_set_maximum (space, g_value_get_float (value)); break; case PROP_PRECEDENCE: fo_space_set_precedence (space, g_value_get_int (value)); break; case PROP_CONDITY: fo_space_set_condity (space, g_value_get_boolean (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_space_new: * * Creates a new #FoSpace initialized to default value. * * Return value: the new #FoSpace **/ FoDatatype * fo_space_new (void) { FoDatatype *space; space = FO_DATATYPE (g_object_new (fo_space_get_type (), NULL)); return space; } /** * fo_space_new_from_length: * @length: #FoLength to use as initial value * * Creates a new #FoSpace with .minimum, .optimum, and .maximum * components set to @length and .conditionality and .precedence * components set to default values. * * Return value: New #FoSpace **/ FoDatatype* fo_space_new_from_length (FoDatatype *length) { FoDatatype *space; gfloat length_val; g_return_val_if_fail (FO_IS_LENGTH (length), NULL); length_val = fo_length_get_value (length); space = fo_space_new (); fo_space_set_minimum (space, length_val); fo_space_set_optimum (space, length_val); fo_space_set_maximum (space, length_val); return space; } /** * fo_space_set_minimum: * @datatype: #FoSpace * @new_minimum: New .minimum value * * Sets the .minimum component of @datatype **/ void fo_space_set_minimum (FoDatatype *datatype, gfloat new_minimum) { g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_SPACE (datatype)); FO_SPACE (datatype)->minimum = new_minimum; /*g_object_notify(G_OBJECT(datatype), "minimum");*/ } /** * fo_space_get_minimum: * @datatype: #FoSpace * * Gets the .minimum component value of @datatype * * Return value: The .minimum value of @datatype **/ gfloat fo_space_get_minimum (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0); g_return_val_if_fail (FO_IS_SPACE (datatype), 0); return FO_SPACE (datatype)->minimum; } /** * fo_space_set_optimum: * @datatype: #FoSpace * @new_optimum: New .optimum value * * Sets the .optimum component of @datatype **/ void fo_space_set_optimum (FoDatatype *datatype, gfloat new_optimum) { g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_SPACE (datatype)); FO_SPACE (datatype)->optimum = new_optimum; /*g_object_notify(G_OBJECT(datatype), "optimum");*/ } /** * fo_space_get_optimum: * @datatype: #FoSpace * * Gets the .optimum component value of @datatype * * Return value: The .optimum value of @datatype **/ gfloat fo_space_get_optimum (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0); g_return_val_if_fail (FO_IS_SPACE (datatype), 0); return FO_SPACE (datatype)->optimum; } /** * fo_space_set_maximum: * @datatype: #FoSpace * @new_maximum: New .maximum value * * Sets the .maximum component of @datatype **/ void fo_space_set_maximum (FoDatatype *datatype, gfloat new_maximum) { g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_SPACE (datatype)); FO_SPACE (datatype)->maximum = new_maximum; /*g_object_notify(G_OBJECT(datatype), "maximum");*/ } /** * fo_space_get_maximum: * @datatype: #FoSpace * * Gets the .maximum component value of @datatype * * Return value: The .maximum value of @datatype **/ gfloat fo_space_get_maximum (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0); g_return_val_if_fail (FO_IS_SPACE (datatype), 0); return FO_SPACE (datatype)->maximum; } /** * fo_space_set_precedence: * @datatype: #FoSpace * @new_precedence: New .precedence value * * Sets the .precedence component of @datatype **/ void fo_space_set_precedence (FoDatatype *datatype, gint new_precedence) { g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_SPACE (datatype)); FO_SPACE (datatype)->precedence = new_precedence; /*g_object_notify(G_OBJECT(datatype), "precedence");*/ } /** * fo_space_get_precedence: * @datatype: #FoSpace * * Gets the .precedence component value of @datatype * * Return value: The .precedence value of @datatype **/ gint fo_space_get_precedence (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0); g_return_val_if_fail (FO_IS_SPACE (datatype), 0); return FO_SPACE (datatype)->precedence; } /** * fo_space_set_condity: * @datatype: #FoSpace. * @new_condity: New .conditionality component value. * * Sets the .conditionality component value of @datatype **/ void fo_space_set_condity (FoDatatype *datatype, gboolean new_condity) { g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_SPACE (datatype)); FO_SPACE (datatype)->retain = new_condity; /*g_object_notify(G_OBJECT(datatype), "conditionality");*/ } /** * fo_space_get_condity: * @datatype: #FoSpace * * Gets the .conditionality component value of @datatype * * Return value: The .conditionality value of @datatype **/ gboolean fo_space_get_condity (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0); g_return_val_if_fail (FO_IS_SPACE (datatype), 0); return FO_SPACE (datatype)->retain; } /** * fo_space_sprintf: * @object: #FoSpace whose value is to be printed * * Create and return a string representation of the value of @object, * which must be an #FoSpace. * * String must be freed by caller. * * Return value: String representation of value of @object **/ gchar* fo_space_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_SPACE (object), NULL); return g_strdup_printf ("min: %0gpt; opt: %0gpt; max: %0gpt; prec: %d; cond: %s", FO_SPACE (object)->minimum, FO_SPACE (object)->optimum, FO_SPACE (object)->maximum, FO_SPACE (object)->precedence, FO_SPACE (object)->retain ? "retain" : "discard"); } /** * fo_space_copy: * @datatype: Source #FoSpace * * Creates a copy of @datatype * * Return value: Copy of @datatype **/ FoDatatype* fo_space_copy (FoDatatype *datatype) { FoDatatype *space; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_SPACE (datatype), NULL); space = fo_space_new (); FO_SPACE (space)->minimum = FO_SPACE (datatype)->minimum; FO_SPACE (space)->optimum = FO_SPACE (datatype)->optimum; FO_SPACE (space)->maximum = FO_SPACE (datatype)->maximum; FO_SPACE (space)->precedence = FO_SPACE (datatype)->precedence; FO_SPACE (space)->retain = FO_SPACE (datatype)->retain; return space; } /** * fo_space_get_space_0pt: * * Create and return an #FoSpace with the well-known value 0pt. * * This saves creation of multiple #FoSpace objects that all have the * value 0pt. * * Return value: #FoSpace with value 0pt. **/ FoDatatype* fo_space_get_space_0pt (void) { static FoDatatype *space = NULL; if (!space) { space = fo_space_new (); } return space; } /** * fo_space_resolve: * @shortform: Single-value short form of the space, or NULL * @minimum: .minimum component of the space, or NULL * @optimum: .optimum component of the space, or NULL * @maximum: .maximum component of the space, or NULL * @precedence: .precedence component of the space, or NULL * @condity: .conditionality component of the space, or NULL * @hundred_percent: Length to use as 100% when components expressed as * percentages * @error: GError used for reporting errors * * Resolve the shortform and components of the space in accordance * with Section 5.11, Datatypes, of the XSL 1.0 Recommendation. * * Return value: Compound space datatype, or NULL if an error occurred **/ FoDatatype* fo_space_resolve (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, FoDatatype *precedence, FoDatatype *condity, gfloat hundred_percent, GError **error G_GNUC_UNUSED) { FoDatatype *use_space = NULL; gfloat use_shortform = 0.0; gfloat use_optimum = 0.0; g_return_val_if_fail (shortform == NULL || FO_IS_LENGTH (shortform) || FO_IS_PERCENTAGE (shortform) || FO_IS_SPACE (shortform), NULL); g_return_val_if_fail (minimum == NULL || FO_IS_LENGTH (minimum) || FO_IS_PERCENTAGE (minimum), NULL); g_return_val_if_fail (optimum == NULL || FO_IS_LENGTH (optimum) || FO_IS_PERCENTAGE (optimum), NULL); g_return_val_if_fail (maximum == NULL || FO_IS_LENGTH (maximum) || FO_IS_PERCENTAGE (maximum), NULL); g_return_val_if_fail (precedence == NULL || FO_IS_INTEGER (precedence), NULL); g_return_val_if_fail (condity == NULL || FO_IS_BOOLEAN (condity), NULL); if (FO_IS_SPACE (shortform) && minimum == NULL && optimum == NULL && maximum == NULL && precedence == NULL && condity == NULL) { return fo_space_copy (shortform); } if (shortform == NULL) { use_space = fo_space_new (); } else if (FO_IS_SPACE (shortform)) { use_space = fo_space_copy (shortform); } else if (FO_IS_PERCENTAGE (shortform)) { use_shortform = fo_percentage_get_value (shortform) * 0.01 * hundred_percent; use_space = fo_space_new (); fo_space_set_minimum (use_space, use_shortform); fo_space_set_optimum (use_space, use_shortform); fo_space_set_maximum (use_space, use_shortform); } else if (FO_IS_LENGTH (shortform)) { use_shortform = fo_length_get_value (shortform); use_space = fo_space_new (); fo_space_set_minimum (use_space, use_shortform); fo_space_set_optimum (use_space, use_shortform); fo_space_set_maximum (use_space, use_shortform); } else { g_assert_not_reached (); } if (minimum != NULL) { if (FO_IS_LENGTH (minimum)) { fo_space_set_minimum (use_space, fo_length_get_value (minimum)); } else if (FO_IS_PERCENTAGE (minimum)) { fo_space_set_minimum (use_space, fo_percentage_get_value (minimum) * 0.01 * hundred_percent); } else { g_assert_not_reached (); } } if (maximum != NULL) { if (FO_IS_LENGTH (maximum)) { fo_space_set_maximum (use_space, fo_length_get_value (maximum)); } else if (FO_IS_PERCENTAGE (maximum)) { fo_space_set_maximum (use_space, fo_percentage_get_value (maximum) * 0.01 * hundred_percent); } else { g_assert_not_reached (); } } if (optimum != NULL) { if (FO_IS_LENGTH (optimum)) { use_optimum = fo_length_get_value (optimum); } else if (FO_IS_PERCENTAGE (optimum)) { use_optimum = fo_percentage_get_value (optimum) * 0.01 * hundred_percent; } else { g_assert_not_reached (); } fo_space_set_minimum (use_space, MIN (fo_space_get_minimum (use_space), use_optimum)); fo_space_set_optimum (use_space, use_optimum); fo_space_set_maximum (use_space, MAX (fo_space_get_maximum (use_space), use_optimum)); } if (precedence != NULL) { fo_space_set_precedence (use_space, fo_integer_get_value (precedence)); } if (condity != NULL) { fo_space_set_condity (use_space, fo_boolean_get_value (condity)); } return use_space; } xmlroff-0.6.2/libfo/datatype/fo-space.h0000644000175000017500000000424410643167450014703 00000000000000/* Fo * fo-space.h: Space datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_SPACE_H__ #define __FO_SPACE_H__ #include G_BEGIN_DECLS #define FO_TYPE_SPACE (fo_space_get_type ()) #define FO_SPACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_SPACE, FoSpace)) #define FO_SPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_SPACE, FoSpaceClass)) #define FO_IS_SPACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_SPACE)) #define FO_IS_SPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_SPACE)) #define FO_SPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_SPACE, FoSpaceClass)) typedef struct _FoSpace FoSpace; typedef struct _FoSpaceClass FoSpaceClass; GType fo_space_get_type (void) G_GNUC_CONST; FoDatatype * fo_space_new (void); FoDatatype * fo_space_new_from_length (FoDatatype *length); void fo_space_set_minimum (FoDatatype *datatype, gfloat new_minimum); gfloat fo_space_get_minimum (FoDatatype *datatype); void fo_space_set_optimum (FoDatatype *datatype, gfloat new_optimum); gfloat fo_space_get_optimum (FoDatatype *datatype); void fo_space_set_maximum (FoDatatype *datatype, gfloat new_maximum); gfloat fo_space_get_maximum (FoDatatype *datatype); void fo_space_set_precedence (FoDatatype *datatype, gint new_precedence); gint fo_space_get_precedence (FoDatatype *datatype); void fo_space_set_condity (FoDatatype *datatype, gboolean new_condity); gboolean fo_space_get_condity (FoDatatype *datatype); FoDatatype * fo_space_get_space_0pt (void); FoDatatype* fo_space_resolve (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, FoDatatype *precedence, FoDatatype *condity, gfloat hundred_percent, GError **error); G_END_DECLS #endif /* !__FO_SPACE_H__ */ xmlroff-0.6.2/libfo/datatype/fo-string.c0000644000175000017500000001723710651101420015077 00000000000000/* Fo * fo-datatype-string.c: String datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-string.h" enum { PROP_0, PROP_VALUE }; struct _FoString { FoDatatype parent_instance; gchar *value; }; struct _FoStringClass { FoDatatypeClass parent_class; }; static void fo_string_init (FoString *string); static void fo_string_class_init (FoStringClass *klass); static void fo_string_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_string_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_string_finalize (GObject *object); static FoDatatype * fo_string_copy (FoDatatype *datatype); static gchar* fo_string_sprintf (FoObject *object); static void fo_string_set_value (FoDatatype *string, const gchar* new_value); static gpointer parent_class; /** * fo_string_get_type: * * Register the #FoString object type. * * Return value: GType value of the #FoString object type. **/ GType fo_string_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoStringClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_string_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoString), 0, /* n_preallocs */ (GInstanceInitFunc) fo_string_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoString", &object_info, 0); } return object_type; } /** * fo_string_init: * @string: #FoString object to initialise * * Implements #GInstanceInitFunc for #FoString **/ static void fo_string_init (FoString *string) { string->value = NULL; } /** * fo_string_class_init: * @klass: #FoStringClass object to initialise * * Implements #GClassInitFunc for FoStringClass **/ static void fo_string_class_init (FoStringClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_string_finalize; object_class->set_property = fo_string_set_property; object_class->get_property = fo_string_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_string_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_string_copy; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_string ("value", _("Value"), _("String value"), NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); FO_DATATYPE_CLASS (klass)->copy = fo_string_copy; } /** * fo_string_finalize: * @object: #FoString object to finalize * * Implements #GObjectFinalizeFunc for #FoString **/ static void fo_string_finalize (GObject *object) { FoString *string; string = FO_STRING (object); if (string->value != NULL) { g_free(string->value); string->value = NULL; } G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_string_get_property: * @object: #GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for #FoString **/ static void fo_string_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *string; string = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_string (value, fo_string_get_value (string)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_string_set_property: * @object: #GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for #FoString **/ static void fo_string_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *string; string = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_string_set_value (string, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_string_new: * * Creates a new #FoString initialized to default value. * * Return value: the new #FoString **/ FoDatatype * fo_string_new (void) { FoDatatype *string; string = FO_DATATYPE (g_object_new (fo_string_get_type (), NULL)); return string; } /** * fo_string_new_with_value: * @value: String of the new #FoString. * * Creates a new #FoString set to @value. * * Return value: The new #FoString. **/ FoDatatype* fo_string_new_with_value (const gchar* value) { FoDatatype *string = fo_string_new (); fo_string_set_value (string, value); return string; } /** * fo_string_get_value: * @string: #FoString. * * Get the value of @string. * * Return value: Numeric value of @string. **/ gchar* fo_string_get_value (FoDatatype *string) { g_return_val_if_fail (string != NULL, NULL); g_return_val_if_fail (FO_IS_STRING (string), NULL); return g_strdup (FO_STRING (string)->value); } /** * fo_string_set_value: * @string: #FoString. * @new_value: New value for @string. * * Set the value of @string. **/ void fo_string_set_value (FoDatatype *string, const gchar* new_value) { g_return_if_fail (string != NULL); g_return_if_fail (FO_IS_STRING (string)); FO_STRING (string)->value = g_strdup (new_value); /*g_object_notify(G_OBJECT(string), "value");*/ } /** * fo_string_copy: * @datatype: #FoString to be copied. * * Create a copy of @datatype. * * Return value: New #FoString. **/ FoDatatype* fo_string_copy (FoDatatype *datatype) { FoDatatype *string; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_STRING (datatype), NULL); string = fo_string_new (); FO_STRING (string)->value = g_strdup (FO_STRING (datatype)->value); return (string); } /** * fo_string_sprintf: * @object: #FoString to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_string_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_STRING (object), NULL); return (g_strdup_printf ("\"%s\"", FO_STRING (object)->value)); } /** * fo_string_get_string_one: * * Create and return an #FoString with the well-known value "1". * * This saves creation of multiple #FoString objects that all have the * value "1". * * Return value: #FoString with value "1". **/ FoDatatype* fo_string_get_string_one (void) { static FoDatatype *string = NULL; if (!string) { string = fo_string_new (); FO_STRING (string)->value = g_strdup("1"); } return string; } xmlroff-0.6.2/libfo/datatype/fo-string.h0000644000175000017500000000231610643167450015114 00000000000000/* Fo * fo-string.h: String datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_STRING_H__ #define __FO_STRING_H__ #include G_BEGIN_DECLS #define FO_TYPE_STRING (fo_string_get_type ()) #define FO_STRING(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_STRING, FoString)) #define FO_STRING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_STRING, FoStringClass)) #define FO_IS_STRING(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_STRING)) #define FO_IS_STRING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_STRING)) #define FO_STRING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_STRING, FoStringClass)) typedef struct _FoString FoString; typedef struct _FoStringClass FoStringClass; GType fo_string_get_type (void) G_GNUC_CONST; FoDatatype * fo_string_new (void); FoDatatype * fo_string_new_with_value (const gchar* value); gchar* fo_string_get_value (FoDatatype *string); FoDatatype* fo_string_get_string_one (void); G_END_DECLS #endif /* !__FO_STRING_H__ */ xmlroff-0.6.2/libfo/datatype/fo-tblr.c0000644000175000017500000003110710643167450014544 00000000000000/* Fo * fo-tblr.c: 'Top-bottom-left-right' datatype * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-tblr.h" #include "fo-length.h" enum { PROP_0, PROP_TOP, PROP_BOTTOM, PROP_LEFT, PROP_RIGHT }; struct _FoTblr { FoDatatype parent_instance; FoDatatype *top; FoDatatype *bottom; FoDatatype *left; FoDatatype *right; }; struct _FoTblrClass { FoDatatypeClass parent_class; }; static void fo_tblr_class_init (FoTblrClass *klass); static void fo_tblr_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_tblr_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_tblr_finalize (GObject *object); gchar* fo_tblr_sprintf (FoObject *object); FoDatatype* fo_tblr_copy (FoDatatype *datatype); static void fo_tblr_set_top (FoDatatype *datatype, FoDatatype * new_top); static void fo_tblr_set_bottom (FoDatatype *datatype, FoDatatype *new_bottom); static void fo_tblr_set_left (FoDatatype *datatype, FoDatatype *new_left); static void fo_tblr_set_right (FoDatatype *datatype, FoDatatype *new_right); static gpointer parent_class; /** * fo_tblr_get_type: * @void: * * Register the #FoTblr object type. * * Return value: GType value of the #FoTblr object type. **/ GType fo_tblr_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoTblrClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_tblr_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoTblr), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoTblr", &object_info, 0); } return object_type; } /** * fo_tblr_class_init: * @klass: FoTblrClass object to initialise * * Implements GClassInitFunc for FoTblrClass **/ void fo_tblr_class_init (FoTblrClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_tblr_finalize; object_class->set_property = fo_tblr_set_property; object_class->get_property = fo_tblr_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_tblr_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_tblr_copy; g_object_class_install_property (object_class, PROP_TOP, g_param_spec_object ("top", _("Top"), _("Tblr top value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_BOTTOM, g_param_spec_object ("bottom", _("Bottom"), _("Tblr bottom value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_LEFT, g_param_spec_object ("left", _("Left"), _("Tblr left value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_RIGHT, g_param_spec_object ("right", _("Right"), _("Tblr right value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_tblr_finalize: * @object: FoTblr object to finalize * * Implements GObjectFinalizeFunc for FoTblr **/ void fo_tblr_finalize (GObject *object) { FoTblr *tblr; tblr = FO_TBLR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_tblr_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoTblr **/ void fo_tblr_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *tblr; tblr = FO_DATATYPE (object); switch (prop_id) { case PROP_TOP: fo_tblr_set_top (tblr, g_value_get_object (value)); break; case PROP_BOTTOM: fo_tblr_set_bottom (tblr, g_value_get_object (value)); break; case PROP_LEFT: fo_tblr_set_left (tblr, g_value_get_object (value)); break; case PROP_RIGHT: fo_tblr_set_right (tblr, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_tblr_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoTblr **/ void fo_tblr_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *datatype; datatype = FO_DATATYPE (object); switch (prop_id) { case PROP_TOP: g_value_set_object (value, fo_tblr_get_top (datatype)); break; case PROP_BOTTOM: g_value_set_object (value, fo_tblr_get_bottom (datatype)); break; case PROP_LEFT: g_value_set_object (value, fo_tblr_get_left (datatype)); break; case PROP_RIGHT: g_value_set_object (value, fo_tblr_get_right (datatype)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_tblr_new: * * Creates a new #FoTblr initialized to default value. * * Return value: the new #FoTblr **/ FoDatatype * fo_tblr_new (void) { FoDatatype *tblr; tblr = FO_DATATYPE (g_object_new (fo_tblr_get_type (), "top", fo_length_get_length_zero (), "bottom", fo_length_get_length_zero (), "left", fo_length_get_length_zero (), "right", fo_length_get_length_zero (), NULL)); return tblr; } /** * fo_tblr_new_from_values: * @top: #FoDatatype to use as top value * @bottom: #FoDatatype to use as bottom value * @left: #FoDatatype to use as left value * @right: #FoDatatype to use as right value * * Creates a new #FoTblr with top, bottom, left and right * components set to provided values. * * Return value: New #FoTblr **/ FoDatatype* fo_tblr_new_from_values (FoDatatype *top, FoDatatype *bottom, FoDatatype *left, FoDatatype *right) { FoDatatype *tblr; g_return_val_if_fail (FO_IS_DATATYPE (top), NULL); g_return_val_if_fail (FO_IS_DATATYPE (bottom), NULL); g_return_val_if_fail (FO_IS_DATATYPE (left), NULL); g_return_val_if_fail (FO_IS_DATATYPE (right), NULL); tblr = fo_tblr_new (); fo_tblr_set_top (tblr, top); fo_tblr_set_bottom (tblr, bottom); fo_tblr_set_left (tblr, left); fo_tblr_set_right (tblr, right); return tblr; } /** * fo_tblr_get_top: * @datatype: #FoTblr * * Gets the top component value of @datatype. * * Return value: The top value of @datatype. **/ FoDatatype * fo_tblr_get_top (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0); g_return_val_if_fail (FO_IS_TBLR (datatype), 0); return FO_TBLR (datatype)->top; } /** * fo_tblr_set_top: * @datatype: #FoTblr * @new_top: New top value * * Sets the top component of @datatype **/ void fo_tblr_set_top (FoDatatype *datatype, FoDatatype *new_top) { FoTblr *tblr = (FoTblr *) datatype; g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_TBLR (datatype)); g_return_if_fail (FO_IS_DATATYPE (new_top)); if (new_top) g_object_ref (G_OBJECT (new_top)); if (tblr->top) g_object_unref (G_OBJECT (tblr->top)); tblr->top = new_top; /*g_object_notify(G_OBJECT(datatype), "top");*/ } /** * fo_tblr_get_bottom: * @datatype: #FoTblr * * Gets the .bottom component value of @datatype * * Return value: The bottom value of @datatype **/ FoDatatype * fo_tblr_get_bottom (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0); g_return_val_if_fail (FO_IS_TBLR (datatype), 0); return FO_TBLR (datatype)->bottom; } /** * fo_tblr_set_bottom: * @datatype: #FoTblr * @new_bottom: New .bottom value * * Sets the bottom component of @datatype **/ void fo_tblr_set_bottom (FoDatatype *datatype, FoDatatype *new_bottom) { FoTblr *tblr = (FoTblr *) datatype; g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_TBLR (datatype)); g_return_if_fail (FO_IS_DATATYPE (new_bottom)); if (new_bottom) g_object_ref (G_OBJECT (new_bottom)); if (tblr->bottom) g_object_unref (G_OBJECT (tblr->bottom)); tblr->bottom = new_bottom; /*g_object_notify(G_OBJECT(datatype), "bottom");*/ } /** * fo_tblr_get_left: * @datatype: #FoTblr * * Gets the .left component value of @datatype * * Return value: The left value of @datatype **/ FoDatatype * fo_tblr_get_left (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0); g_return_val_if_fail (FO_IS_TBLR (datatype), 0); return FO_TBLR (datatype)->left; } /** * fo_tblr_set_left: * @datatype: #FoTblr * @new_left: New .left value * * Sets the .left component of @datatype **/ void fo_tblr_set_left (FoDatatype *datatype, FoDatatype *new_left) { FoTblr *tblr = (FoTblr *) datatype; g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_TBLR (datatype)); g_return_if_fail (FO_IS_DATATYPE (new_left)); if (new_left) g_object_ref (G_OBJECT (new_left)); if (tblr->left) g_object_unref (G_OBJECT (tblr->left)); tblr->left = new_left; /*g_object_notify(G_OBJECT(datatype), "left");*/ } /** * fo_tblr_get_right: * @datatype: #FoTblr * * Gets the .right component value of @datatype * * Return value: The right value of @datatype **/ FoDatatype * fo_tblr_get_right (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, 0); g_return_val_if_fail (FO_IS_TBLR (datatype), 0); return FO_TBLR (datatype)->right; } /** * fo_tblr_set_right: * @datatype: #FoTblr * @new_right: New .right value * * Sets the right component of @datatype **/ void fo_tblr_set_right (FoDatatype *datatype, FoDatatype *new_right) { FoTblr *tblr = (FoTblr *) datatype; g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_TBLR (datatype)); g_return_if_fail (FO_IS_DATATYPE (new_right)); if (new_right) g_object_ref (G_OBJECT (new_right)); if (tblr->right) g_object_unref (G_OBJECT (tblr->right)); tblr->right = new_right; /*g_object_notify(G_OBJECT(datatype), "right");*/ } /** * fo_tblr_sprintf: * @object: #FoTblr whose value is to be printed * * Create and return a string representation of the value of @object, * which must be an #FoTblr. * * String must be freed by caller. * * Return value: String representation of value of @object **/ gchar* fo_tblr_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_TBLR (object), NULL); return (g_strdup_printf("top: %s; bottom: %s; left: %s; right: %s", fo_object_sprintf (FO_TBLR (object)->top), fo_object_sprintf (FO_TBLR (object)->bottom), fo_object_sprintf (FO_TBLR (object)->left), fo_object_sprintf (FO_TBLR (object)->right))); } /** * fo_tblr_copy: * @datatype: Source #FoTblr. * * Creates a copy of @datatype. * * Return value: Copy of @datatype. **/ FoDatatype* fo_tblr_copy (FoDatatype *datatype) { FoDatatype *tblr; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_TBLR (datatype), NULL); tblr = fo_tblr_new (); fo_tblr_set_top (tblr, FO_TBLR(datatype)->top); fo_tblr_set_bottom (tblr, FO_TBLR(datatype)->bottom); fo_tblr_set_left (tblr, FO_TBLR(datatype)->left); fo_tblr_set_right (tblr, FO_TBLR(datatype)->right); return (tblr); } xmlroff-0.6.2/libfo/datatype/fo-tblr.h0000644000175000017500000000261110643167450014547 00000000000000/* Fo * fo-tblr.h: 'Top-bottom-left-right' datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_TBLR_H__ #define __FO_TBLR_H__ #include G_BEGIN_DECLS #define FO_TYPE_TBLR (fo_tblr_get_type ()) #define FO_TBLR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TBLR, FoTblr)) #define FO_TBLR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TBLR, FoTblrClass)) #define FO_IS_TBLR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TBLR)) #define FO_IS_TBLR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TBLR)) #define FO_TBLR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TBLR, FoTblrClass)) typedef struct _FoTblr FoTblr; typedef struct _FoTblrClass FoTblrClass; GType fo_tblr_get_type (void) G_GNUC_CONST; FoDatatype * fo_tblr_new (void); FoDatatype * fo_tblr_new_from_values (FoDatatype *top, FoDatatype *bottom, FoDatatype *left, FoDatatype *right); FoDatatype * fo_tblr_get_top (FoDatatype *datatype); FoDatatype * fo_tblr_get_bottom (FoDatatype *datatype); FoDatatype * fo_tblr_get_left (FoDatatype *datatype); FoDatatype * fo_tblr_get_right (FoDatatype *datatype); G_END_DECLS #endif /* !__FO_TBLR_H__ */ xmlroff-0.6.2/libfo/datatype/fo-wsc.c0000644000175000017500000002522610643167450014402 00000000000000/* Fo * fo-wsc.c: 'width-style-color' datatype * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-wsc.h" #include "fo-length.h" #include "fo-color.h" enum { PROP_0, PROP_WIDTH, PROP_STYLE, PROP_COLOR }; struct _FoWsc { FoDatatype parent_instance; FoDatatype *width; FoDatatype *style; FoDatatype *color; }; struct _FoWscClass { FoDatatypeClass parent_class; }; static void fo_wsc_class_init (FoWscClass *klass); static void fo_wsc_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_wsc_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_wsc_finalize (GObject *object); gchar* fo_wsc_sprintf (FoObject *object); FoDatatype* fo_wsc_copy (FoDatatype *datatype); static void fo_wsc_set_width (FoDatatype *datatype, FoDatatype *new_width); static void fo_wsc_set_style (FoDatatype *datatype, FoDatatype *new_style); static void fo_wsc_set_color (FoDatatype *datatype, FoDatatype *new_color); static gpointer parent_class; /** * fo_wsc_get_type: * @void: * * Register the #FoWsc object type. * * Return value: GType value of the #FoWsc object type. **/ GType fo_wsc_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoWscClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_wsc_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoWsc), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoWsc", &object_info, 0); } return object_type; } /** * fo_wsc_class_init: * @klass: FoWscClass object to initialise * * Implements GClassInitFunc for FoWscClass **/ void fo_wsc_class_init (FoWscClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_wsc_finalize; object_class->set_property = fo_wsc_set_property; object_class->get_property = fo_wsc_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_wsc_sprintf; FO_DATATYPE_CLASS (klass)->copy = fo_wsc_copy; g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_object ("width", _("Width"), _("Wsc width value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_STYLE, g_param_spec_object ("style", _("Style"), _("Wsc style value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_COLOR, g_param_spec_object ("color", _("Color"), _("Wsc color value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } /** * fo_wsc_finalize: * @object: FoWsc object to finalize * * Implements GObjectFinalizeFunc for FoWsc **/ void fo_wsc_finalize (GObject *object) { FoWsc *wsc; wsc = FO_WSC (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_wsc_set_property: * @object: GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for FoWsc **/ void fo_wsc_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *wsc; wsc = FO_DATATYPE (object); switch (prop_id) { case PROP_WIDTH: fo_wsc_set_width (wsc, g_value_get_object (value)); break; case PROP_STYLE: fo_wsc_set_style (wsc, g_value_get_object (value)); break; case PROP_COLOR: fo_wsc_set_color (wsc, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_wsc_get_property: * @object: GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for FoWsc **/ void fo_wsc_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *datatype; datatype = FO_DATATYPE (object); switch (prop_id) { case PROP_WIDTH: g_value_set_object (value, fo_wsc_get_width (datatype)); break; case PROP_STYLE: g_value_set_object (value, fo_wsc_get_style (datatype)); break; case PROP_COLOR: g_value_set_object (value, fo_wsc_get_color (datatype)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_wsc_new: * * Creates a new #FoWsc initialized to default value. * * Return value: the new #FoWsc **/ FoDatatype * fo_wsc_new (void) { FoDatatype *wsc; wsc = FO_DATATYPE (g_object_new (fo_wsc_get_type (), "width", NULL, "style", NULL, "color", NULL, NULL)); return wsc; } /** * fo_wsc_new_from_values: * @width: #FoDatatype to use as width value * @style: #FoDatatype to use as style value * @color: #FoDatatype to use as color value * * Creates a new #FoWsc with width, style, and color components set to * provided values. * * Return value: New #FoWsc **/ FoDatatype* fo_wsc_new_from_values (FoDatatype *width, FoDatatype *style, FoDatatype *color) { FoDatatype *wsc; g_return_val_if_fail ((width == NULL) || FO_IS_DATATYPE (width), NULL); g_return_val_if_fail ((style == NULL) || FO_IS_DATATYPE (style), NULL); g_return_val_if_fail ((color == NULL) || FO_IS_DATATYPE (color), NULL); wsc = fo_wsc_new (); fo_wsc_set_width (wsc, width); fo_wsc_set_style (wsc, style); fo_wsc_set_color (wsc, color); return wsc; } /** * fo_wsc_get_width: * @datatype: #FoWsc * * Gets the width component value of @datatype. * * Return value: The width value of @datatype. **/ FoDatatype * fo_wsc_get_width (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_WSC (datatype), NULL); return FO_WSC (datatype)->width; } /** * fo_wsc_set_width: * @datatype: #FoWsc * @new_width: New width value * * Sets the width component of @datatype **/ void fo_wsc_set_width (FoDatatype *datatype, FoDatatype *new_width) { FoWsc *wsc = (FoWsc *) datatype; g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_WSC (datatype)); g_return_if_fail ((new_width == NULL) || FO_IS_DATATYPE (new_width)); if (new_width != NULL) g_object_ref (G_OBJECT (new_width)); if (wsc->width != NULL) g_object_unref (G_OBJECT (wsc->width)); wsc->width = new_width; /*g_object_notify(G_OBJECT(datatype), "width");*/ } /** * fo_wsc_get_style: * @datatype: #FoWsc * * Gets the style component value of @datatype * * Return value: The style value of @datatype **/ FoDatatype * fo_wsc_get_style (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_WSC (datatype), NULL); return FO_WSC (datatype)->style; } /** * fo_wsc_set_style: * @datatype: #FoWsc * @new_style: New style value * * Sets the style component of @datatype **/ void fo_wsc_set_style (FoDatatype *datatype, FoDatatype *new_style) { FoWsc *wsc = (FoWsc *) datatype; g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_WSC (datatype)); g_return_if_fail ((new_style == NULL) || FO_IS_DATATYPE (new_style)); if (new_style != NULL) g_object_ref (G_OBJECT (new_style)); if (wsc->style != NULL) g_object_unref (G_OBJECT (wsc->style)); wsc->style = new_style; /*g_object_notify(G_OBJECT(datatype), "style");*/ } /** * fo_wsc_get_color: * @datatype: #FoWsc * * Gets the color component value of @datatype * * Return value: The color value of @datatype **/ FoDatatype * fo_wsc_get_color (FoDatatype *datatype) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_WSC (datatype), NULL); return FO_WSC (datatype)->color; } /** * fo_wsc_set_color: * @datatype: #FoWsc * @new_color: New color value * * Sets the color component of @datatype **/ void fo_wsc_set_color (FoDatatype *datatype, FoDatatype *new_color) { FoWsc *wsc = (FoWsc *) datatype; g_return_if_fail (datatype != NULL); g_return_if_fail (FO_IS_WSC (datatype)); g_return_if_fail ((new_color == NULL) || FO_IS_DATATYPE (new_color)); if (new_color != NULL) g_object_ref (G_OBJECT (new_color)); if (wsc->color != NULL) g_object_unref (G_OBJECT (wsc->color)); wsc->color = new_color; /*g_object_notify(G_OBJECT(datatype), "color");*/ } /** * fo_wsc_sprintf: * @object: #FoWsc whose value is to be printed * * Create and return a string representation of the value of @object, * which must be an #FoWsc. * * String must be freed by caller. * * Return value: String representation of value of @object **/ gchar* fo_wsc_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_WSC (object), NULL); return (g_strdup_printf("width: %s; style: %s; color: %s", fo_object_sprintf (FO_WSC (object)->width), fo_object_sprintf (FO_WSC (object)->style), fo_object_sprintf (FO_WSC (object)->color))); } /** * fo_wsc_copy: * @datatype: Source #FoWsc. * * Creates a copy of @datatype. * * Return value: Copy of @datatype. **/ FoDatatype* fo_wsc_copy (FoDatatype *datatype) { FoDatatype *wsc; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_WSC (datatype), NULL); wsc = fo_wsc_new (); fo_wsc_set_width (wsc, FO_WSC(datatype)->width); fo_wsc_set_style (wsc, FO_WSC(datatype)->style); fo_wsc_set_color (wsc, FO_WSC(datatype)->color); return (wsc); } xmlroff-0.6.2/libfo/datatype/fo-wsc.h0000644000175000017500000000242310643167450014401 00000000000000/* Fo * fo-wsc.h: 'width-style-color' datatype * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_WSC_H__ #define __FO_WSC_H__ #include G_BEGIN_DECLS #define FO_TYPE_WSC (fo_wsc_get_type ()) #define FO_WSC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_WSC, FoWsc)) #define FO_WSC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_WSC, FoWscClass)) #define FO_IS_WSC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_WSC)) #define FO_IS_WSC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_WSC)) #define FO_WSC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_WSC, FoWscClass)) typedef struct _FoWsc FoWsc; typedef struct _FoWscClass FoWscClass; GType fo_wsc_get_type (void) G_GNUC_CONST; FoDatatype * fo_wsc_new (void); FoDatatype * fo_wsc_new_from_values (FoDatatype *width, FoDatatype *style, FoDatatype *color); FoDatatype * fo_wsc_get_width (FoDatatype *datatype); FoDatatype * fo_wsc_get_style (FoDatatype *datatype); FoDatatype * fo_wsc_get_color (FoDatatype *datatype); G_END_DECLS #endif /* !__FO_WSC_H__ */ xmlroff-0.6.2/libfo/datatype/fo-uri-specification.c0000644000175000017500000001661310643167450017223 00000000000000/* Fo * fo-datatype-uri-specification.c: Uri Specification datatype * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-datatype.h" #include "fo-datatype-private.h" #include "fo-uri-specification.h" enum { PROP_0, PROP_VALUE }; struct _FoUriSpecification { FoDatatype parent_instance; gchar *value; }; struct _FoUriSpecificationClass { FoDatatypeClass parent_class; }; static void fo_uri_specification_init (FoUriSpecification *uri_specification); static void fo_uri_specification_class_init (FoUriSpecificationClass *klass); static void fo_uri_specification_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_uri_specification_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_uri_specification_finalize (GObject *object); static FoDatatype * fo_uri_specification_copy (FoDatatype *datatype); static gchar* fo_uri_specification_sprintf (FoObject *object); static void fo_uri_specification_set_value (FoDatatype *uri_specification, const gchar* new_value); static gpointer parent_class; /** * fo_uri_specification_get_type: * * Register the #FoUriSpecification object type. * * Return value: GType value of the #FoUriSpecification object type. **/ GType fo_uri_specification_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoUriSpecificationClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_uri_specification_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoUriSpecification), 0, /* n_preallocs */ (GInstanceInitFunc) fo_uri_specification_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_DATATYPE, "FoUriSpecification", &object_info, 0); } return object_type; } /** * fo_uri_specification_init: * @uri_specification: #FoUriSpecification object to initialise. * * Initialises @uri_specification. **/ void fo_uri_specification_init (FoUriSpecification *uri_specification) { uri_specification->value = NULL; } /** * fo_uri_specification_class_init: * @klass: #FoUriSpecificationClass object to initialise * * Implements GClassInitFunc for #FoUriSpecificationClass **/ void fo_uri_specification_class_init (FoUriSpecificationClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_uri_specification_finalize; object_class->set_property = fo_uri_specification_set_property; object_class->get_property = fo_uri_specification_get_property; FO_OBJECT_CLASS (klass)->print_sprintf = fo_uri_specification_sprintf; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_string ("value", _("Value"), _("Uri-specification value"), NULL, G_PARAM_READWRITE)); FO_DATATYPE_CLASS (klass)->copy = fo_uri_specification_copy; } /** * fo_uri_specification_finalize: * @object: #FoUriSpecification object to finalize * * Implements GObjectFinalizeFunc for #FoUriSpecification **/ void fo_uri_specification_finalize (GObject *object) { FoUriSpecification *uri_specification; uri_specification = FO_URI_SPECIFICATION (object); g_free(uri_specification->value); G_OBJECT_CLASS (parent_class)->finalize (object); } void fo_uri_specification_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoDatatype *uri_specification; uri_specification = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: fo_uri_specification_set_value (uri_specification, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } void fo_uri_specification_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoDatatype *uri_specification; uri_specification = FO_DATATYPE (object); switch (prop_id) { case PROP_VALUE: g_value_set_string (value, fo_uri_specification_get_value (uri_specification)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_uri_specification_new: * * Creates a new #FoUriSpecification initialized to default value. * * Return value: the new #FoUriSpecification **/ FoDatatype * fo_uri_specification_new (void) { FoDatatype *uri_specification; uri_specification = FO_DATATYPE (g_object_new (fo_uri_specification_get_type (), NULL)); return uri_specification; } /** * fo_uri_specification_new_with_value: * @new_value: Value to use. * * Creates a new #FoUriSpecification initialized to specified value. * * Return value: the new #FoUriSpecification **/ FoDatatype * fo_uri_specification_new_with_value (const gchar* new_value) { FoDatatype *uri_specification = fo_uri_specification_new(); fo_uri_specification_set_value (uri_specification, new_value); return uri_specification; } /* value */ gchar* fo_uri_specification_get_value (FoDatatype *uri_specification) { g_return_val_if_fail (uri_specification != NULL, NULL); g_return_val_if_fail (FO_IS_URI_SPECIFICATION (uri_specification), NULL); return g_strdup (FO_URI_SPECIFICATION (uri_specification)->value); } void fo_uri_specification_set_value (FoDatatype *uri_specification, const gchar* new_value) { g_return_if_fail (uri_specification != NULL); g_return_if_fail (FO_IS_URI_SPECIFICATION (uri_specification)); FO_URI_SPECIFICATION (uri_specification)->value = g_strdup (new_value); /*g_object_notify (G_OBJECT (uri_specification), "value");*/ } /** * fo_uri_specification_copy: * @datatype: #FoUriSpecification to be copied * * Makes a copy of @datatype * * Return value: Copy of @datatype **/ FoDatatype* fo_uri_specification_copy(FoDatatype *datatype) { FoDatatype *uri_specification; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_URI_SPECIFICATION (datatype), NULL); uri_specification = fo_uri_specification_new (); FO_URI_SPECIFICATION (uri_specification)->value = g_strdup (FO_URI_SPECIFICATION (datatype)->value); return (uri_specification); } /** * fo_uri_specification_sprintf: * @object: #FoUriSpecification to be printed. * * Creates string representation of value of @object. * * String must be freed by caller. * * Return value: String representation of @object. **/ gchar* fo_uri_specification_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_URI_SPECIFICATION (object), NULL); return (g_strdup_printf ("url(\"%s\")", FO_URI_SPECIFICATION (object)->value)); } xmlroff-0.6.2/libfo/datatype/fo-uri-specification.h0000644000175000017500000000263110643167450017223 00000000000000/* Fo * fo-uri-specification.h: Uri Specification datatype * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_URI_SPECIFICATION_H__ #define __FO_URI_SPECIFICATION_H__ #include G_BEGIN_DECLS #define FO_TYPE_URI_SPECIFICATION (fo_uri_specification_get_type ()) #define FO_URI_SPECIFICATION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_URI_SPECIFICATION, FoUriSpecification)) #define FO_URI_SPECIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_URI_SPECIFICATION, FoUriSpecificationClass)) #define FO_IS_URI_SPECIFICATION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_URI_SPECIFICATION)) #define FO_IS_URI_SPECIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_URI_SPECIFICATION)) #define FO_URI_SPECIFICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_URI_SPECIFICATION, FoUriSpecificationClass)) typedef struct _FoUriSpecification FoUriSpecification; typedef struct _FoUriSpecificationClass FoUriSpecificationClass; GType fo_uri_specification_get_type (void) G_GNUC_CONST; FoDatatype *fo_uri_specification_new_with_value (const gchar* new_value); gchar* fo_uri_specification_get_value (FoDatatype *uri_specification); G_END_DECLS #endif /* !__FO_URI_SPECIFICATION_H__ */ xmlroff-0.6.2/libfo/property/0000777000175000017500000000000011156164726013171 500000000000000xmlroff-0.6.2/libfo/property/fo-property.h0000644000175000017500000000472611150536665015554 00000000000000/* Fo * fo-property.h: FoProperty superclass of all property classes * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_H__ #define __FO_PROPERTY_H__ #include #include typedef struct _FoProperty FoProperty; typedef struct _FoPropertyClass FoPropertyClass; #include #include G_BEGIN_DECLS #define FO_PROPERTY_ERROR fo_property_error_quark () GQuark fo_property_error_quark (void); typedef enum { FO_PROPERTY_ERROR_FAILED, FO_PROPERTY_ERROR_EXPRESSION, FO_PROPERTY_ERROR_NO_ENUMERATION, FO_PROPERTY_ERROR_ILLEGAL_NEGATIVE, FO_PROPERTY_ERROR_ZERO_LENGTH, FO_PROPERTY_ERROR_LAST } FoPropertyError; #define FO_TYPE_PROPERTY (fo_property_get_type ()) #define FO_PROPERTY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY, FoProperty)) #define FO_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY, FoPropertyClass)) #define FO_IS_PROPERTY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY)) #define FO_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY)) #define FO_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY, FoPropertyClass)) GType fo_property_get_type (void) G_GNUC_CONST; FoDatatype * fo_property_get_value (FoProperty *property); void fo_property_set_value (FoProperty *property, FoDatatype *new_value); gboolean fo_property_class_is_inherited (FoPropertyClass *property_class); gboolean fo_property_is_inherited (FoProperty *property); gboolean fo_property_class_is_shorthand (FoPropertyClass *property_class); gboolean fo_property_is_shorthand (FoProperty *property); typedef FoDatatype* (*FoResolveEnumFunc) (const gchar *token, FoContext *context, GError **err); typedef FoDatatype* (*FoResolvePercentFunc) (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **err); FoProperty * fo_property_new_from_expr (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error); G_END_DECLS #endif /* !__FO_PROPERTY_H__ */ xmlroff-0.6.2/libfo/property/Makefile.am0000644000175000017500000003133311073720356015137 00000000000000## Process this file with automake to produce Makefile.in INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(GLIB_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ # libfo-text-property.la is a convenience library containing # properties that depend on Pango. noinst_LTLIBRARIES = libfo-property.la libfo-text-property.la libfo_property_includedir = $(includedir)/libfo-0.6/libfo/property libfo_property_include_HEADERS = \ fo-property.h # Properties that don't map to Pango attributes. libfo_property_la_SOURCES = \ $(libfo_property_include_HEADERS) \ fo-all-property.h \ fo-property-eval.c \ fo-property-eval.h \ fo-property.c \ fo-property-private.h \ fo-property-type-condity.c \ fo-property-type-condity.h \ fo-property-type-condity-private.h \ fo-property-background-image.c \ fo-property-background-image.h \ fo-property-block-progression-dimension.c \ fo-property-block-progression-dimension.h \ fo-property-block-progression-dimension-minimum.c \ fo-property-block-progression-dimension-minimum.h \ fo-property-block-progression-dimension-optimum.c \ fo-property-block-progression-dimension-optimum.h \ fo-property-block-progression-dimension-maximum.c \ fo-property-block-progression-dimension-maximum.h \ fo-property-border-after-color.c \ fo-property-border-after-color.h \ fo-property-border-after-precedence.c \ fo-property-border-after-precedence.h \ fo-property-border-after-style.c \ fo-property-border-after-style.h \ fo-property-border-after-width.c \ fo-property-border-after-width.h \ fo-property-border-before-color.c \ fo-property-border-before-color.h \ fo-property-border-before-precedence.c \ fo-property-border-before-precedence.h \ fo-property-border-before-style.c \ fo-property-border-before-style.h \ fo-property-border-before-width.c \ fo-property-border-before-width.h \ fo-property-border-bottom.c \ fo-property-border-bottom.h \ fo-property-border-bottom-color.c \ fo-property-border-bottom-color.h \ fo-property-border-bottom-style.c \ fo-property-border-bottom-style.h \ fo-property-border-bottom-width.c \ fo-property-border-bottom-width.h \ fo-property-border-color.c \ fo-property-border-color.h \ fo-property-border-collapse.c \ fo-property-border-collapse.h \ fo-property-border-end-color.c \ fo-property-border-end-color.h \ fo-property-border-end-precedence.c \ fo-property-border-end-precedence.h \ fo-property-border-end-style.c \ fo-property-border-end-style.h \ fo-property-border-end-width.c \ fo-property-border-end-width.h \ fo-property-border-left.c \ fo-property-border-left.h \ fo-property-border-left-color.c \ fo-property-border-left-color.h \ fo-property-border-left-style.c \ fo-property-border-left-style.h \ fo-property-border-left-width.c \ fo-property-border-left-width.h \ fo-property-border-right.c \ fo-property-border-right.h \ fo-property-border-right-color.c \ fo-property-border-right-color.h \ fo-property-border-right-style.c \ fo-property-border-right-style.h \ fo-property-border-right-width.c \ fo-property-border-right-width.h \ fo-property-border-separation.c \ fo-property-border-separation.h \ fo-property-border-start-color.c \ fo-property-border-start-color.h \ fo-property-border-start-precedence.c \ fo-property-border-start-precedence.h \ fo-property-border-start-style.c \ fo-property-border-start-style.h \ fo-property-border-start-width.c \ fo-property-border-start-width.h \ fo-property-border-style.c \ fo-property-border-style.h \ fo-property-border-top.c \ fo-property-border-top.h \ fo-property-border-top-color.c \ fo-property-border-top-color.h \ fo-property-border-top-style.c \ fo-property-border-top-style.h \ fo-property-border-top-width.c \ fo-property-border-top-width.h \ fo-property-border-width.c \ fo-property-border-width.h \ fo-property-border.c \ fo-property-border.h \ fo-property-border-private.h \ fo-property-break-after.c \ fo-property-break-after.h \ fo-property-break-before.c \ fo-property-break-before.h \ fo-property-character.c \ fo-property-character.h \ fo-property-clip.c \ fo-property-clip.h \ fo-property-column-number.c \ fo-property-column-number.h \ fo-property-column-width.c \ fo-property-column-width.h \ fo-property-content-height.c \ fo-property-content-height.h \ fo-property-content-type.c \ fo-property-content-type.h \ fo-property-content-width.c \ fo-property-content-width.h \ fo-property-direction.c \ fo-property-direction.h \ fo-property-display-align.c \ fo-property-display-align.h \ fo-property-end-indent.c \ fo-property-end-indent.h \ fo-property-extent.c \ fo-property-extent.h \ fo-property-flow-name.c \ fo-property-flow-name.h \ fo-property-format.c \ fo-property-format.h \ fo-property-grouping-separator.c \ fo-property-grouping-separator.h \ fo-property-grouping-size.c \ fo-property-grouping-size.h \ fo-property-height.c \ fo-property-height.h \ fo-property-id.c \ fo-property-id.h \ fo-property-inline-progression-dimension.c \ fo-property-inline-progression-dimension.h \ fo-property-inline-progression-dimension-minimum.c \ fo-property-inline-progression-dimension-minimum.h \ fo-property-inline-progression-dimension-optimum.c \ fo-property-inline-progression-dimension-optimum.h \ fo-property-inline-progression-dimension-maximum.c \ fo-property-inline-progression-dimension-maximum.h \ fo-property-keep-together.c \ fo-property-keep-together.h \ fo-property-keep-together-within-column.c \ fo-property-keep-together-within-column.h \ fo-property-keep-together-within-page.c \ fo-property-keep-together-within-page.h \ fo-property-keep-with-next.c \ fo-property-keep-with-next.h \ fo-property-keep-with-next-within-column.c \ fo-property-keep-with-next-within-column.h \ fo-property-keep-with-next-within-page.c \ fo-property-keep-with-next-within-page.h \ fo-property-keep-with-previous.c \ fo-property-keep-with-previous.h \ fo-property-keep-with-previous-within-column.c \ fo-property-keep-with-previous-within-column.h \ fo-property-keep-with-previous-within-page.c \ fo-property-keep-with-previous-within-page.h \ fo-property-letter-value.c \ fo-property-letter-value.h \ fo-property-linefeed-treatment.c \ fo-property-linefeed-treatment.h \ fo-property-line-stacking-strategy.c \ fo-property-line-stacking-strategy.h \ fo-property-margin-bottom.c \ fo-property-margin-bottom.h \ fo-property-margin-left.c \ fo-property-margin-left.h \ fo-property-margin-right.c \ fo-property-margin-right.h \ fo-property-margin-top.c \ fo-property-margin-top.h \ fo-property-margin.c \ fo-property-margin.h \ fo-property-master-name.c \ fo-property-master-name.h \ fo-property-master-reference.c \ fo-property-master-reference.h \ fo-property-media-usage.c \ fo-property-media-usage.h \ fo-property-number-columns-repeated.c \ fo-property-number-columns-repeated.h \ fo-property-number-columns-spanned.c \ fo-property-number-columns-spanned.h \ fo-property-number-rows-spanned.c \ fo-property-number-rows-spanned.h \ fo-property-orphans.c \ fo-property-orphans.h \ fo-property-overflow.c \ fo-property-overflow.h \ fo-property-padding-after.c \ fo-property-padding-after.h \ fo-property-padding-after-conditionality.c \ fo-property-padding-after-conditionality.h \ fo-property-padding-after-length.c \ fo-property-padding-after-length.h \ fo-property-padding-before.c \ fo-property-padding-before.h \ fo-property-padding-before-conditionality.c \ fo-property-padding-before-conditionality.h \ fo-property-padding-before-length.c \ fo-property-padding-before-length.h \ fo-property-padding-bottom.c \ fo-property-padding-bottom.h \ fo-property-padding-end.c \ fo-property-padding-end.h \ fo-property-padding-end-conditionality.c \ fo-property-padding-end-conditionality.h \ fo-property-padding-end-length.c \ fo-property-padding-end-length.h \ fo-property-padding-left.c \ fo-property-padding-left.h \ fo-property-padding-right.c \ fo-property-padding-right.h \ fo-property-padding-start.c \ fo-property-padding-start.h \ fo-property-padding-start-conditionality.c \ fo-property-padding-start-conditionality.h \ fo-property-padding-start-length.c \ fo-property-padding-start-length.h \ fo-property-padding-top.c \ fo-property-padding-top.h \ fo-property-padding.c \ fo-property-padding.h \ fo-property-page-height.c \ fo-property-page-height.h \ fo-property-page-width.c \ fo-property-page-width.h \ fo-property-provisional-distance-between-starts.c \ fo-property-provisional-distance-between-starts.h \ fo-property-provisional-label-separation.c \ fo-property-provisional-label-separation.h \ fo-property-ref-id.c \ fo-property-ref-id.h \ fo-property-region-name.c \ fo-property-region-name.h \ fo-property-role.c \ fo-property-role.h \ fo-property-scaling.c \ fo-property-scaling.h \ fo-property-scaling-method.c \ fo-property-scaling-method.h \ fo-property-score-spaces.c \ fo-property-score-spaces.h \ fo-property-source-document.c \ fo-property-source-document.h \ fo-property-space-after.c \ fo-property-space-after.h \ fo-property-space-after-minimum.c \ fo-property-space-after-minimum.h \ fo-property-space-after-optimum.c \ fo-property-space-after-optimum.h \ fo-property-space-after-maximum.c \ fo-property-space-after-maximum.h \ fo-property-space-after-precedence.c \ fo-property-space-after-precedence.h \ fo-property-space-after-conditionality.c \ fo-property-space-after-conditionality.h \ fo-property-space-before.c \ fo-property-space-before.h \ fo-property-space-before-minimum.c \ fo-property-space-before-minimum.h \ fo-property-space-before-optimum.c \ fo-property-space-before-optimum.h \ fo-property-space-before-maximum.c \ fo-property-space-before-maximum.h \ fo-property-space-before-precedence.c \ fo-property-space-before-precedence.h \ fo-property-space-before-conditionality.c \ fo-property-space-before-conditionality.h \ fo-property-space-end.c \ fo-property-space-end.h \ fo-property-space-end-minimum.c \ fo-property-space-end-minimum.h \ fo-property-space-end-optimum.c \ fo-property-space-end-optimum.h \ fo-property-space-end-maximum.c \ fo-property-space-end-maximum.h \ fo-property-space-end-precedence.c \ fo-property-space-end-precedence.h \ fo-property-space-end-conditionality.c \ fo-property-space-end-conditionality.h \ fo-property-space-start.c \ fo-property-space-start.h \ fo-property-space-start-minimum.c \ fo-property-space-start-minimum.h \ fo-property-space-start-optimum.c \ fo-property-space-start-optimum.h \ fo-property-space-start-maximum.c \ fo-property-space-start-maximum.h \ fo-property-space-start-precedence.c \ fo-property-space-start-precedence.h \ fo-property-space-start-conditionality.c \ fo-property-space-start-conditionality.h \ fo-property-span.c \ fo-property-span.h \ fo-property-src.c \ fo-property-src.h \ fo-property-start-indent.c \ fo-property-start-indent.h \ fo-property-table-layout.c \ fo-property-table-layout.h \ fo-property-text-align.c \ fo-property-text-align.h \ fo-property-text-indent.c \ fo-property-text-indent.h \ fo-property-unicode-bidi.c \ fo-property-unicode-bidi.h \ fo-property-white-space-collapse.c \ fo-property-white-space-collapse.h \ fo-property-white-space-treatment.c \ fo-property-white-space-treatment.h \ fo-property-widows.c \ fo-property-widows.h \ fo-property-width.c \ fo-property-width.h \ fo-property-wrap-option.c \ fo-property-wrap-option.h \ fo-property-writing-mode.c \ fo-property-writing-mode.h # Properties that map to Pango attributes. libfo_text_property_la_SOURCES = \ fo-property-util.c \ fo-property-util.h \ fo-property-text-property.c \ fo-property-text-property.h \ fo-property-common-font.c \ fo-property-common-font.h \ fo-property-alignment-adjust.c \ fo-property-alignment-adjust.h \ fo-property-alignment-baseline.c \ fo-property-alignment-baseline.h \ fo-property-background-color.c \ fo-property-background-color.h \ fo-property-baseline-shift.c \ fo-property-baseline-shift.h \ fo-property-color.c \ fo-property-color.h \ fo-property-dominant-baseline.c \ fo-property-dominant-baseline.h \ fo-property-font-family.c \ fo-property-font-family.h \ fo-property-font-size.c \ fo-property-font-size.h \ fo-property-font-stretch.c \ fo-property-font-stretch.h \ fo-property-font-style.c \ fo-property-font-style.h \ fo-property-font-variant.c \ fo-property-font-variant.h \ fo-property-font-weight.c \ fo-property-font-weight.h \ fo-property-keep-together-within-line.c \ fo-property-keep-together-within-line.h \ fo-property-keep-with-next-within-line.c \ fo-property-keep-with-next-within-line.h \ fo-property-keep-with-previous-within-line.c \ fo-property-keep-with-previous-within-line.h \ fo-property-line-height.c \ fo-property-line-height.h libfo_text_property_la_CFLAGS = $(PANGO_CFLAGS) libfo_text_property_la_LIBADD = $(PANGO_LIBS) xmlroff-0.6.2/libfo/property/Makefile.in0000644000175000017500000023547011155246041015153 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libfo/property DIST_COMMON = $(libfo_property_include_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libfo_property_la_LIBADD = am__objects_1 = am_libfo_property_la_OBJECTS = $(am__objects_1) fo-property-eval.lo \ fo-property.lo fo-property-type-condity.lo \ fo-property-background-image.lo \ fo-property-block-progression-dimension.lo \ fo-property-block-progression-dimension-minimum.lo \ fo-property-block-progression-dimension-optimum.lo \ fo-property-block-progression-dimension-maximum.lo \ fo-property-border-after-color.lo \ fo-property-border-after-precedence.lo \ fo-property-border-after-style.lo \ fo-property-border-after-width.lo \ fo-property-border-before-color.lo \ fo-property-border-before-precedence.lo \ fo-property-border-before-style.lo \ fo-property-border-before-width.lo \ fo-property-border-bottom.lo \ fo-property-border-bottom-color.lo \ fo-property-border-bottom-style.lo \ fo-property-border-bottom-width.lo fo-property-border-color.lo \ fo-property-border-collapse.lo fo-property-border-end-color.lo \ fo-property-border-end-precedence.lo \ fo-property-border-end-style.lo \ fo-property-border-end-width.lo fo-property-border-left.lo \ fo-property-border-left-color.lo \ fo-property-border-left-style.lo \ fo-property-border-left-width.lo fo-property-border-right.lo \ fo-property-border-right-color.lo \ fo-property-border-right-style.lo \ fo-property-border-right-width.lo \ fo-property-border-separation.lo \ fo-property-border-start-color.lo \ fo-property-border-start-precedence.lo \ fo-property-border-start-style.lo \ fo-property-border-start-width.lo fo-property-border-style.lo \ fo-property-border-top.lo fo-property-border-top-color.lo \ fo-property-border-top-style.lo \ fo-property-border-top-width.lo fo-property-border-width.lo \ fo-property-border.lo fo-property-break-after.lo \ fo-property-break-before.lo fo-property-character.lo \ fo-property-clip.lo fo-property-column-number.lo \ fo-property-column-width.lo fo-property-content-height.lo \ fo-property-content-type.lo fo-property-content-width.lo \ fo-property-direction.lo fo-property-display-align.lo \ fo-property-end-indent.lo fo-property-extent.lo \ fo-property-flow-name.lo fo-property-format.lo \ fo-property-grouping-separator.lo fo-property-grouping-size.lo \ fo-property-height.lo fo-property-id.lo \ fo-property-inline-progression-dimension.lo \ fo-property-inline-progression-dimension-minimum.lo \ fo-property-inline-progression-dimension-optimum.lo \ fo-property-inline-progression-dimension-maximum.lo \ fo-property-keep-together.lo \ fo-property-keep-together-within-column.lo \ fo-property-keep-together-within-page.lo \ fo-property-keep-with-next.lo \ fo-property-keep-with-next-within-column.lo \ fo-property-keep-with-next-within-page.lo \ fo-property-keep-with-previous.lo \ fo-property-keep-with-previous-within-column.lo \ fo-property-keep-with-previous-within-page.lo \ fo-property-letter-value.lo fo-property-linefeed-treatment.lo \ fo-property-line-stacking-strategy.lo \ fo-property-margin-bottom.lo fo-property-margin-left.lo \ fo-property-margin-right.lo fo-property-margin-top.lo \ fo-property-margin.lo fo-property-master-name.lo \ fo-property-master-reference.lo fo-property-media-usage.lo \ fo-property-number-columns-repeated.lo \ fo-property-number-columns-spanned.lo \ fo-property-number-rows-spanned.lo fo-property-orphans.lo \ fo-property-overflow.lo fo-property-padding-after.lo \ fo-property-padding-after-conditionality.lo \ fo-property-padding-after-length.lo \ fo-property-padding-before.lo \ fo-property-padding-before-conditionality.lo \ fo-property-padding-before-length.lo \ fo-property-padding-bottom.lo fo-property-padding-end.lo \ fo-property-padding-end-conditionality.lo \ fo-property-padding-end-length.lo fo-property-padding-left.lo \ fo-property-padding-right.lo fo-property-padding-start.lo \ fo-property-padding-start-conditionality.lo \ fo-property-padding-start-length.lo fo-property-padding-top.lo \ fo-property-padding.lo fo-property-page-height.lo \ fo-property-page-width.lo \ fo-property-provisional-distance-between-starts.lo \ fo-property-provisional-label-separation.lo \ fo-property-ref-id.lo fo-property-region-name.lo \ fo-property-role.lo fo-property-scaling.lo \ fo-property-scaling-method.lo fo-property-score-spaces.lo \ fo-property-source-document.lo fo-property-space-after.lo \ fo-property-space-after-minimum.lo \ fo-property-space-after-optimum.lo \ fo-property-space-after-maximum.lo \ fo-property-space-after-precedence.lo \ fo-property-space-after-conditionality.lo \ fo-property-space-before.lo \ fo-property-space-before-minimum.lo \ fo-property-space-before-optimum.lo \ fo-property-space-before-maximum.lo \ fo-property-space-before-precedence.lo \ fo-property-space-before-conditionality.lo \ fo-property-space-end.lo fo-property-space-end-minimum.lo \ fo-property-space-end-optimum.lo \ fo-property-space-end-maximum.lo \ fo-property-space-end-precedence.lo \ fo-property-space-end-conditionality.lo \ fo-property-space-start.lo fo-property-space-start-minimum.lo \ fo-property-space-start-optimum.lo \ fo-property-space-start-maximum.lo \ fo-property-space-start-precedence.lo \ fo-property-space-start-conditionality.lo fo-property-span.lo \ fo-property-src.lo fo-property-start-indent.lo \ fo-property-table-layout.lo fo-property-text-align.lo \ fo-property-text-indent.lo fo-property-unicode-bidi.lo \ fo-property-white-space-collapse.lo \ fo-property-white-space-treatment.lo fo-property-widows.lo \ fo-property-width.lo fo-property-wrap-option.lo \ fo-property-writing-mode.lo libfo_property_la_OBJECTS = $(am_libfo_property_la_OBJECTS) am__DEPENDENCIES_1 = libfo_text_property_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libfo_text_property_la_OBJECTS = \ libfo_text_property_la-fo-property-util.lo \ libfo_text_property_la-fo-property-text-property.lo \ libfo_text_property_la-fo-property-common-font.lo \ libfo_text_property_la-fo-property-alignment-adjust.lo \ libfo_text_property_la-fo-property-alignment-baseline.lo \ libfo_text_property_la-fo-property-background-color.lo \ libfo_text_property_la-fo-property-baseline-shift.lo \ libfo_text_property_la-fo-property-color.lo \ libfo_text_property_la-fo-property-dominant-baseline.lo \ libfo_text_property_la-fo-property-font-family.lo \ libfo_text_property_la-fo-property-font-size.lo \ libfo_text_property_la-fo-property-font-stretch.lo \ libfo_text_property_la-fo-property-font-style.lo \ libfo_text_property_la-fo-property-font-variant.lo \ libfo_text_property_la-fo-property-font-weight.lo \ libfo_text_property_la-fo-property-keep-together-within-line.lo \ libfo_text_property_la-fo-property-keep-with-next-within-line.lo \ libfo_text_property_la-fo-property-keep-with-previous-within-line.lo \ libfo_text_property_la-fo-property-line-height.lo libfo_text_property_la_OBJECTS = $(am_libfo_text_property_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libfo_property_la_SOURCES) \ $(libfo_text_property_la_SOURCES) DIST_SOURCES = $(libfo_property_la_SOURCES) \ $(libfo_text_property_la_SOURCES) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libfo_property_includedir)" libfo_property_includeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(libfo_property_include_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(GLIB_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ # libfo-text-property.la is a convenience library containing # properties that depend on Pango. noinst_LTLIBRARIES = libfo-property.la libfo-text-property.la libfo_property_includedir = $(includedir)/libfo-0.6/libfo/property libfo_property_include_HEADERS = \ fo-property.h # Properties that don't map to Pango attributes. libfo_property_la_SOURCES = \ $(libfo_property_include_HEADERS) \ fo-all-property.h \ fo-property-eval.c \ fo-property-eval.h \ fo-property.c \ fo-property-private.h \ fo-property-type-condity.c \ fo-property-type-condity.h \ fo-property-type-condity-private.h \ fo-property-background-image.c \ fo-property-background-image.h \ fo-property-block-progression-dimension.c \ fo-property-block-progression-dimension.h \ fo-property-block-progression-dimension-minimum.c \ fo-property-block-progression-dimension-minimum.h \ fo-property-block-progression-dimension-optimum.c \ fo-property-block-progression-dimension-optimum.h \ fo-property-block-progression-dimension-maximum.c \ fo-property-block-progression-dimension-maximum.h \ fo-property-border-after-color.c \ fo-property-border-after-color.h \ fo-property-border-after-precedence.c \ fo-property-border-after-precedence.h \ fo-property-border-after-style.c \ fo-property-border-after-style.h \ fo-property-border-after-width.c \ fo-property-border-after-width.h \ fo-property-border-before-color.c \ fo-property-border-before-color.h \ fo-property-border-before-precedence.c \ fo-property-border-before-precedence.h \ fo-property-border-before-style.c \ fo-property-border-before-style.h \ fo-property-border-before-width.c \ fo-property-border-before-width.h \ fo-property-border-bottom.c \ fo-property-border-bottom.h \ fo-property-border-bottom-color.c \ fo-property-border-bottom-color.h \ fo-property-border-bottom-style.c \ fo-property-border-bottom-style.h \ fo-property-border-bottom-width.c \ fo-property-border-bottom-width.h \ fo-property-border-color.c \ fo-property-border-color.h \ fo-property-border-collapse.c \ fo-property-border-collapse.h \ fo-property-border-end-color.c \ fo-property-border-end-color.h \ fo-property-border-end-precedence.c \ fo-property-border-end-precedence.h \ fo-property-border-end-style.c \ fo-property-border-end-style.h \ fo-property-border-end-width.c \ fo-property-border-end-width.h \ fo-property-border-left.c \ fo-property-border-left.h \ fo-property-border-left-color.c \ fo-property-border-left-color.h \ fo-property-border-left-style.c \ fo-property-border-left-style.h \ fo-property-border-left-width.c \ fo-property-border-left-width.h \ fo-property-border-right.c \ fo-property-border-right.h \ fo-property-border-right-color.c \ fo-property-border-right-color.h \ fo-property-border-right-style.c \ fo-property-border-right-style.h \ fo-property-border-right-width.c \ fo-property-border-right-width.h \ fo-property-border-separation.c \ fo-property-border-separation.h \ fo-property-border-start-color.c \ fo-property-border-start-color.h \ fo-property-border-start-precedence.c \ fo-property-border-start-precedence.h \ fo-property-border-start-style.c \ fo-property-border-start-style.h \ fo-property-border-start-width.c \ fo-property-border-start-width.h \ fo-property-border-style.c \ fo-property-border-style.h \ fo-property-border-top.c \ fo-property-border-top.h \ fo-property-border-top-color.c \ fo-property-border-top-color.h \ fo-property-border-top-style.c \ fo-property-border-top-style.h \ fo-property-border-top-width.c \ fo-property-border-top-width.h \ fo-property-border-width.c \ fo-property-border-width.h \ fo-property-border.c \ fo-property-border.h \ fo-property-border-private.h \ fo-property-break-after.c \ fo-property-break-after.h \ fo-property-break-before.c \ fo-property-break-before.h \ fo-property-character.c \ fo-property-character.h \ fo-property-clip.c \ fo-property-clip.h \ fo-property-column-number.c \ fo-property-column-number.h \ fo-property-column-width.c \ fo-property-column-width.h \ fo-property-content-height.c \ fo-property-content-height.h \ fo-property-content-type.c \ fo-property-content-type.h \ fo-property-content-width.c \ fo-property-content-width.h \ fo-property-direction.c \ fo-property-direction.h \ fo-property-display-align.c \ fo-property-display-align.h \ fo-property-end-indent.c \ fo-property-end-indent.h \ fo-property-extent.c \ fo-property-extent.h \ fo-property-flow-name.c \ fo-property-flow-name.h \ fo-property-format.c \ fo-property-format.h \ fo-property-grouping-separator.c \ fo-property-grouping-separator.h \ fo-property-grouping-size.c \ fo-property-grouping-size.h \ fo-property-height.c \ fo-property-height.h \ fo-property-id.c \ fo-property-id.h \ fo-property-inline-progression-dimension.c \ fo-property-inline-progression-dimension.h \ fo-property-inline-progression-dimension-minimum.c \ fo-property-inline-progression-dimension-minimum.h \ fo-property-inline-progression-dimension-optimum.c \ fo-property-inline-progression-dimension-optimum.h \ fo-property-inline-progression-dimension-maximum.c \ fo-property-inline-progression-dimension-maximum.h \ fo-property-keep-together.c \ fo-property-keep-together.h \ fo-property-keep-together-within-column.c \ fo-property-keep-together-within-column.h \ fo-property-keep-together-within-page.c \ fo-property-keep-together-within-page.h \ fo-property-keep-with-next.c \ fo-property-keep-with-next.h \ fo-property-keep-with-next-within-column.c \ fo-property-keep-with-next-within-column.h \ fo-property-keep-with-next-within-page.c \ fo-property-keep-with-next-within-page.h \ fo-property-keep-with-previous.c \ fo-property-keep-with-previous.h \ fo-property-keep-with-previous-within-column.c \ fo-property-keep-with-previous-within-column.h \ fo-property-keep-with-previous-within-page.c \ fo-property-keep-with-previous-within-page.h \ fo-property-letter-value.c \ fo-property-letter-value.h \ fo-property-linefeed-treatment.c \ fo-property-linefeed-treatment.h \ fo-property-line-stacking-strategy.c \ fo-property-line-stacking-strategy.h \ fo-property-margin-bottom.c \ fo-property-margin-bottom.h \ fo-property-margin-left.c \ fo-property-margin-left.h \ fo-property-margin-right.c \ fo-property-margin-right.h \ fo-property-margin-top.c \ fo-property-margin-top.h \ fo-property-margin.c \ fo-property-margin.h \ fo-property-master-name.c \ fo-property-master-name.h \ fo-property-master-reference.c \ fo-property-master-reference.h \ fo-property-media-usage.c \ fo-property-media-usage.h \ fo-property-number-columns-repeated.c \ fo-property-number-columns-repeated.h \ fo-property-number-columns-spanned.c \ fo-property-number-columns-spanned.h \ fo-property-number-rows-spanned.c \ fo-property-number-rows-spanned.h \ fo-property-orphans.c \ fo-property-orphans.h \ fo-property-overflow.c \ fo-property-overflow.h \ fo-property-padding-after.c \ fo-property-padding-after.h \ fo-property-padding-after-conditionality.c \ fo-property-padding-after-conditionality.h \ fo-property-padding-after-length.c \ fo-property-padding-after-length.h \ fo-property-padding-before.c \ fo-property-padding-before.h \ fo-property-padding-before-conditionality.c \ fo-property-padding-before-conditionality.h \ fo-property-padding-before-length.c \ fo-property-padding-before-length.h \ fo-property-padding-bottom.c \ fo-property-padding-bottom.h \ fo-property-padding-end.c \ fo-property-padding-end.h \ fo-property-padding-end-conditionality.c \ fo-property-padding-end-conditionality.h \ fo-property-padding-end-length.c \ fo-property-padding-end-length.h \ fo-property-padding-left.c \ fo-property-padding-left.h \ fo-property-padding-right.c \ fo-property-padding-right.h \ fo-property-padding-start.c \ fo-property-padding-start.h \ fo-property-padding-start-conditionality.c \ fo-property-padding-start-conditionality.h \ fo-property-padding-start-length.c \ fo-property-padding-start-length.h \ fo-property-padding-top.c \ fo-property-padding-top.h \ fo-property-padding.c \ fo-property-padding.h \ fo-property-page-height.c \ fo-property-page-height.h \ fo-property-page-width.c \ fo-property-page-width.h \ fo-property-provisional-distance-between-starts.c \ fo-property-provisional-distance-between-starts.h \ fo-property-provisional-label-separation.c \ fo-property-provisional-label-separation.h \ fo-property-ref-id.c \ fo-property-ref-id.h \ fo-property-region-name.c \ fo-property-region-name.h \ fo-property-role.c \ fo-property-role.h \ fo-property-scaling.c \ fo-property-scaling.h \ fo-property-scaling-method.c \ fo-property-scaling-method.h \ fo-property-score-spaces.c \ fo-property-score-spaces.h \ fo-property-source-document.c \ fo-property-source-document.h \ fo-property-space-after.c \ fo-property-space-after.h \ fo-property-space-after-minimum.c \ fo-property-space-after-minimum.h \ fo-property-space-after-optimum.c \ fo-property-space-after-optimum.h \ fo-property-space-after-maximum.c \ fo-property-space-after-maximum.h \ fo-property-space-after-precedence.c \ fo-property-space-after-precedence.h \ fo-property-space-after-conditionality.c \ fo-property-space-after-conditionality.h \ fo-property-space-before.c \ fo-property-space-before.h \ fo-property-space-before-minimum.c \ fo-property-space-before-minimum.h \ fo-property-space-before-optimum.c \ fo-property-space-before-optimum.h \ fo-property-space-before-maximum.c \ fo-property-space-before-maximum.h \ fo-property-space-before-precedence.c \ fo-property-space-before-precedence.h \ fo-property-space-before-conditionality.c \ fo-property-space-before-conditionality.h \ fo-property-space-end.c \ fo-property-space-end.h \ fo-property-space-end-minimum.c \ fo-property-space-end-minimum.h \ fo-property-space-end-optimum.c \ fo-property-space-end-optimum.h \ fo-property-space-end-maximum.c \ fo-property-space-end-maximum.h \ fo-property-space-end-precedence.c \ fo-property-space-end-precedence.h \ fo-property-space-end-conditionality.c \ fo-property-space-end-conditionality.h \ fo-property-space-start.c \ fo-property-space-start.h \ fo-property-space-start-minimum.c \ fo-property-space-start-minimum.h \ fo-property-space-start-optimum.c \ fo-property-space-start-optimum.h \ fo-property-space-start-maximum.c \ fo-property-space-start-maximum.h \ fo-property-space-start-precedence.c \ fo-property-space-start-precedence.h \ fo-property-space-start-conditionality.c \ fo-property-space-start-conditionality.h \ fo-property-span.c \ fo-property-span.h \ fo-property-src.c \ fo-property-src.h \ fo-property-start-indent.c \ fo-property-start-indent.h \ fo-property-table-layout.c \ fo-property-table-layout.h \ fo-property-text-align.c \ fo-property-text-align.h \ fo-property-text-indent.c \ fo-property-text-indent.h \ fo-property-unicode-bidi.c \ fo-property-unicode-bidi.h \ fo-property-white-space-collapse.c \ fo-property-white-space-collapse.h \ fo-property-white-space-treatment.c \ fo-property-white-space-treatment.h \ fo-property-widows.c \ fo-property-widows.h \ fo-property-width.c \ fo-property-width.h \ fo-property-wrap-option.c \ fo-property-wrap-option.h \ fo-property-writing-mode.c \ fo-property-writing-mode.h # Properties that map to Pango attributes. libfo_text_property_la_SOURCES = \ fo-property-util.c \ fo-property-util.h \ fo-property-text-property.c \ fo-property-text-property.h \ fo-property-common-font.c \ fo-property-common-font.h \ fo-property-alignment-adjust.c \ fo-property-alignment-adjust.h \ fo-property-alignment-baseline.c \ fo-property-alignment-baseline.h \ fo-property-background-color.c \ fo-property-background-color.h \ fo-property-baseline-shift.c \ fo-property-baseline-shift.h \ fo-property-color.c \ fo-property-color.h \ fo-property-dominant-baseline.c \ fo-property-dominant-baseline.h \ fo-property-font-family.c \ fo-property-font-family.h \ fo-property-font-size.c \ fo-property-font-size.h \ fo-property-font-stretch.c \ fo-property-font-stretch.h \ fo-property-font-style.c \ fo-property-font-style.h \ fo-property-font-variant.c \ fo-property-font-variant.h \ fo-property-font-weight.c \ fo-property-font-weight.h \ fo-property-keep-together-within-line.c \ fo-property-keep-together-within-line.h \ fo-property-keep-with-next-within-line.c \ fo-property-keep-with-next-within-line.h \ fo-property-keep-with-previous-within-line.c \ fo-property-keep-with-previous-within-line.h \ fo-property-line-height.c \ fo-property-line-height.h libfo_text_property_la_CFLAGS = $(PANGO_CFLAGS) libfo_text_property_la_LIBADD = $(PANGO_LIBS) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libfo/property/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu libfo/property/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libfo-property.la: $(libfo_property_la_OBJECTS) $(libfo_property_la_DEPENDENCIES) $(LINK) $(libfo_property_la_LDFLAGS) $(libfo_property_la_OBJECTS) $(libfo_property_la_LIBADD) $(LIBS) libfo-text-property.la: $(libfo_text_property_la_OBJECTS) $(libfo_text_property_la_DEPENDENCIES) $(LINK) $(libfo_text_property_la_LDFLAGS) $(libfo_text_property_la_OBJECTS) $(libfo_text_property_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-background-image.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-block-progression-dimension-maximum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-block-progression-dimension-minimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-block-progression-dimension-optimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-block-progression-dimension.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-after-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-after-precedence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-after-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-after-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-before-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-before-precedence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-before-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-before-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-bottom-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-bottom-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-bottom-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-bottom.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-collapse.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-end-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-end-precedence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-end-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-end-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-left-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-left-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-left-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-left.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-right-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-right-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-right-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-right.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-separation.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-start-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-start-precedence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-start-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-start-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-top-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-top-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-top-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-top.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-border.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-break-after.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-break-before.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-character.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-clip.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-column-number.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-column-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-content-height.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-content-type.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-content-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-direction.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-display-align.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-end-indent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-eval.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-extent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-flow-name.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-format.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-grouping-separator.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-grouping-size.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-height.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-id.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-inline-progression-dimension-maximum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-inline-progression-dimension-minimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-inline-progression-dimension-optimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-inline-progression-dimension.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-keep-together-within-column.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-keep-together-within-page.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-keep-together.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-keep-with-next-within-column.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-keep-with-next-within-page.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-keep-with-next.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-keep-with-previous-within-column.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-keep-with-previous-within-page.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-keep-with-previous.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-letter-value.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-line-stacking-strategy.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-linefeed-treatment.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-margin-bottom.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-margin-left.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-margin-right.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-margin-top.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-margin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-master-name.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-master-reference.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-media-usage.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-number-columns-repeated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-number-columns-spanned.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-number-rows-spanned.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-orphans.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-overflow.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-after-conditionality.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-after-length.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-after.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-before-conditionality.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-before-length.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-before.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-bottom.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-end-conditionality.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-end-length.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-end.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-left.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-right.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-start-conditionality.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-start-length.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-start.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding-top.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-padding.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-page-height.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-page-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-provisional-distance-between-starts.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-provisional-label-separation.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-ref-id.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-region-name.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-role.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-scaling-method.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-scaling.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-score-spaces.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-source-document.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-after-conditionality.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-after-maximum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-after-minimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-after-optimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-after-precedence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-after.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-before-conditionality.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-before-maximum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-before-minimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-before-optimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-before-precedence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-before.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-end-conditionality.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-end-maximum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-end-minimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-end-optimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-end-precedence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-end.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-start-conditionality.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-start-maximum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-start-minimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-start-optimum.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-start-precedence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-space-start.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-span.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-src.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-start-indent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-table-layout.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-text-align.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-text-indent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-type-condity.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-unicode-bidi.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-white-space-collapse.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-white-space-treatment.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-widows.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-width.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-wrap-option.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property-writing-mode.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-property.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-alignment-adjust.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-alignment-baseline.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-background-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-baseline-shift.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-common-font.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-dominant-baseline.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-font-family.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-font-size.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-font-stretch.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-font-style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-font-variant.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-font-weight.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-keep-together-within-line.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-next-within-line.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-previous-within-line.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-line-height.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-text-property.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfo_text_property_la-fo-property-util.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< libfo_text_property_la-fo-property-util.lo: fo-property-util.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-util.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-util.Tpo" -c -o libfo_text_property_la-fo-property-util.lo `test -f 'fo-property-util.c' || echo '$(srcdir)/'`fo-property-util.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-util.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-util.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-util.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-util.c' object='libfo_text_property_la-fo-property-util.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-util.lo `test -f 'fo-property-util.c' || echo '$(srcdir)/'`fo-property-util.c libfo_text_property_la-fo-property-text-property.lo: fo-property-text-property.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-text-property.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-text-property.Tpo" -c -o libfo_text_property_la-fo-property-text-property.lo `test -f 'fo-property-text-property.c' || echo '$(srcdir)/'`fo-property-text-property.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-text-property.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-text-property.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-text-property.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-text-property.c' object='libfo_text_property_la-fo-property-text-property.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-text-property.lo `test -f 'fo-property-text-property.c' || echo '$(srcdir)/'`fo-property-text-property.c libfo_text_property_la-fo-property-common-font.lo: fo-property-common-font.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-common-font.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-common-font.Tpo" -c -o libfo_text_property_la-fo-property-common-font.lo `test -f 'fo-property-common-font.c' || echo '$(srcdir)/'`fo-property-common-font.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-common-font.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-common-font.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-common-font.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-common-font.c' object='libfo_text_property_la-fo-property-common-font.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-common-font.lo `test -f 'fo-property-common-font.c' || echo '$(srcdir)/'`fo-property-common-font.c libfo_text_property_la-fo-property-alignment-adjust.lo: fo-property-alignment-adjust.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-alignment-adjust.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-alignment-adjust.Tpo" -c -o libfo_text_property_la-fo-property-alignment-adjust.lo `test -f 'fo-property-alignment-adjust.c' || echo '$(srcdir)/'`fo-property-alignment-adjust.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-alignment-adjust.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-alignment-adjust.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-alignment-adjust.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-alignment-adjust.c' object='libfo_text_property_la-fo-property-alignment-adjust.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-alignment-adjust.lo `test -f 'fo-property-alignment-adjust.c' || echo '$(srcdir)/'`fo-property-alignment-adjust.c libfo_text_property_la-fo-property-alignment-baseline.lo: fo-property-alignment-baseline.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-alignment-baseline.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-alignment-baseline.Tpo" -c -o libfo_text_property_la-fo-property-alignment-baseline.lo `test -f 'fo-property-alignment-baseline.c' || echo '$(srcdir)/'`fo-property-alignment-baseline.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-alignment-baseline.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-alignment-baseline.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-alignment-baseline.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-alignment-baseline.c' object='libfo_text_property_la-fo-property-alignment-baseline.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-alignment-baseline.lo `test -f 'fo-property-alignment-baseline.c' || echo '$(srcdir)/'`fo-property-alignment-baseline.c libfo_text_property_la-fo-property-background-color.lo: fo-property-background-color.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-background-color.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-background-color.Tpo" -c -o libfo_text_property_la-fo-property-background-color.lo `test -f 'fo-property-background-color.c' || echo '$(srcdir)/'`fo-property-background-color.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-background-color.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-background-color.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-background-color.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-background-color.c' object='libfo_text_property_la-fo-property-background-color.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-background-color.lo `test -f 'fo-property-background-color.c' || echo '$(srcdir)/'`fo-property-background-color.c libfo_text_property_la-fo-property-baseline-shift.lo: fo-property-baseline-shift.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-baseline-shift.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-baseline-shift.Tpo" -c -o libfo_text_property_la-fo-property-baseline-shift.lo `test -f 'fo-property-baseline-shift.c' || echo '$(srcdir)/'`fo-property-baseline-shift.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-baseline-shift.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-baseline-shift.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-baseline-shift.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-baseline-shift.c' object='libfo_text_property_la-fo-property-baseline-shift.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-baseline-shift.lo `test -f 'fo-property-baseline-shift.c' || echo '$(srcdir)/'`fo-property-baseline-shift.c libfo_text_property_la-fo-property-color.lo: fo-property-color.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-color.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-color.Tpo" -c -o libfo_text_property_la-fo-property-color.lo `test -f 'fo-property-color.c' || echo '$(srcdir)/'`fo-property-color.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-color.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-color.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-color.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-color.c' object='libfo_text_property_la-fo-property-color.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-color.lo `test -f 'fo-property-color.c' || echo '$(srcdir)/'`fo-property-color.c libfo_text_property_la-fo-property-dominant-baseline.lo: fo-property-dominant-baseline.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-dominant-baseline.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-dominant-baseline.Tpo" -c -o libfo_text_property_la-fo-property-dominant-baseline.lo `test -f 'fo-property-dominant-baseline.c' || echo '$(srcdir)/'`fo-property-dominant-baseline.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-dominant-baseline.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-dominant-baseline.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-dominant-baseline.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-dominant-baseline.c' object='libfo_text_property_la-fo-property-dominant-baseline.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-dominant-baseline.lo `test -f 'fo-property-dominant-baseline.c' || echo '$(srcdir)/'`fo-property-dominant-baseline.c libfo_text_property_la-fo-property-font-family.lo: fo-property-font-family.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-font-family.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-font-family.Tpo" -c -o libfo_text_property_la-fo-property-font-family.lo `test -f 'fo-property-font-family.c' || echo '$(srcdir)/'`fo-property-font-family.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-family.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-font-family.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-family.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-font-family.c' object='libfo_text_property_la-fo-property-font-family.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-font-family.lo `test -f 'fo-property-font-family.c' || echo '$(srcdir)/'`fo-property-font-family.c libfo_text_property_la-fo-property-font-size.lo: fo-property-font-size.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-font-size.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-font-size.Tpo" -c -o libfo_text_property_la-fo-property-font-size.lo `test -f 'fo-property-font-size.c' || echo '$(srcdir)/'`fo-property-font-size.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-size.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-font-size.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-size.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-font-size.c' object='libfo_text_property_la-fo-property-font-size.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-font-size.lo `test -f 'fo-property-font-size.c' || echo '$(srcdir)/'`fo-property-font-size.c libfo_text_property_la-fo-property-font-stretch.lo: fo-property-font-stretch.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-font-stretch.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-font-stretch.Tpo" -c -o libfo_text_property_la-fo-property-font-stretch.lo `test -f 'fo-property-font-stretch.c' || echo '$(srcdir)/'`fo-property-font-stretch.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-stretch.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-font-stretch.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-stretch.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-font-stretch.c' object='libfo_text_property_la-fo-property-font-stretch.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-font-stretch.lo `test -f 'fo-property-font-stretch.c' || echo '$(srcdir)/'`fo-property-font-stretch.c libfo_text_property_la-fo-property-font-style.lo: fo-property-font-style.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-font-style.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-font-style.Tpo" -c -o libfo_text_property_la-fo-property-font-style.lo `test -f 'fo-property-font-style.c' || echo '$(srcdir)/'`fo-property-font-style.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-style.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-font-style.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-style.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-font-style.c' object='libfo_text_property_la-fo-property-font-style.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-font-style.lo `test -f 'fo-property-font-style.c' || echo '$(srcdir)/'`fo-property-font-style.c libfo_text_property_la-fo-property-font-variant.lo: fo-property-font-variant.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-font-variant.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-font-variant.Tpo" -c -o libfo_text_property_la-fo-property-font-variant.lo `test -f 'fo-property-font-variant.c' || echo '$(srcdir)/'`fo-property-font-variant.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-variant.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-font-variant.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-variant.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-font-variant.c' object='libfo_text_property_la-fo-property-font-variant.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-font-variant.lo `test -f 'fo-property-font-variant.c' || echo '$(srcdir)/'`fo-property-font-variant.c libfo_text_property_la-fo-property-font-weight.lo: fo-property-font-weight.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-font-weight.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-font-weight.Tpo" -c -o libfo_text_property_la-fo-property-font-weight.lo `test -f 'fo-property-font-weight.c' || echo '$(srcdir)/'`fo-property-font-weight.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-weight.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-font-weight.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-font-weight.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-font-weight.c' object='libfo_text_property_la-fo-property-font-weight.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-font-weight.lo `test -f 'fo-property-font-weight.c' || echo '$(srcdir)/'`fo-property-font-weight.c libfo_text_property_la-fo-property-keep-together-within-line.lo: fo-property-keep-together-within-line.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-keep-together-within-line.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-keep-together-within-line.Tpo" -c -o libfo_text_property_la-fo-property-keep-together-within-line.lo `test -f 'fo-property-keep-together-within-line.c' || echo '$(srcdir)/'`fo-property-keep-together-within-line.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-keep-together-within-line.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-keep-together-within-line.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-keep-together-within-line.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-keep-together-within-line.c' object='libfo_text_property_la-fo-property-keep-together-within-line.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-keep-together-within-line.lo `test -f 'fo-property-keep-together-within-line.c' || echo '$(srcdir)/'`fo-property-keep-together-within-line.c libfo_text_property_la-fo-property-keep-with-next-within-line.lo: fo-property-keep-with-next-within-line.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-keep-with-next-within-line.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-next-within-line.Tpo" -c -o libfo_text_property_la-fo-property-keep-with-next-within-line.lo `test -f 'fo-property-keep-with-next-within-line.c' || echo '$(srcdir)/'`fo-property-keep-with-next-within-line.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-next-within-line.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-next-within-line.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-next-within-line.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-keep-with-next-within-line.c' object='libfo_text_property_la-fo-property-keep-with-next-within-line.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-keep-with-next-within-line.lo `test -f 'fo-property-keep-with-next-within-line.c' || echo '$(srcdir)/'`fo-property-keep-with-next-within-line.c libfo_text_property_la-fo-property-keep-with-previous-within-line.lo: fo-property-keep-with-previous-within-line.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-keep-with-previous-within-line.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-previous-within-line.Tpo" -c -o libfo_text_property_la-fo-property-keep-with-previous-within-line.lo `test -f 'fo-property-keep-with-previous-within-line.c' || echo '$(srcdir)/'`fo-property-keep-with-previous-within-line.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-previous-within-line.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-previous-within-line.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-keep-with-previous-within-line.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-keep-with-previous-within-line.c' object='libfo_text_property_la-fo-property-keep-with-previous-within-line.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-keep-with-previous-within-line.lo `test -f 'fo-property-keep-with-previous-within-line.c' || echo '$(srcdir)/'`fo-property-keep-with-previous-within-line.c libfo_text_property_la-fo-property-line-height.lo: fo-property-line-height.c @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -MT libfo_text_property_la-fo-property-line-height.lo -MD -MP -MF "$(DEPDIR)/libfo_text_property_la-fo-property-line-height.Tpo" -c -o libfo_text_property_la-fo-property-line-height.lo `test -f 'fo-property-line-height.c' || echo '$(srcdir)/'`fo-property-line-height.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libfo_text_property_la-fo-property-line-height.Tpo" "$(DEPDIR)/libfo_text_property_la-fo-property-line-height.Plo"; else rm -f "$(DEPDIR)/libfo_text_property_la-fo-property-line-height.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fo-property-line-height.c' object='libfo_text_property_la-fo-property-line-height.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfo_text_property_la_CFLAGS) $(CFLAGS) -c -o libfo_text_property_la-fo-property-line-height.lo `test -f 'fo-property-line-height.c' || echo '$(srcdir)/'`fo-property-line-height.c mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-libfo_property_includeHEADERS: $(libfo_property_include_HEADERS) @$(NORMAL_INSTALL) test -z "$(libfo_property_includedir)" || $(mkdir_p) "$(DESTDIR)$(libfo_property_includedir)" @list='$(libfo_property_include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(libfo_property_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libfo_property_includedir)/$$f'"; \ $(libfo_property_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libfo_property_includedir)/$$f"; \ done uninstall-libfo_property_includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(libfo_property_include_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(libfo_property_includedir)/$$f'"; \ rm -f "$(DESTDIR)$(libfo_property_includedir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(libfo_property_includedir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-libfo_property_includeHEADERS install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am \ uninstall-libfo_property_includeHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am \ install-libfo_property_includeHEADERS install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am uninstall-libfo_property_includeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/libfo/property/fo-all-property.h0000644000175000017500000002436510643167450016321 00000000000000/* Fo * fo-all-property.h: Header file that includes all property header files * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_ALL_PROPERTY_H__ #define __FO_ALL_PROPERTY_H__ G_BEGIN_DECLS #include /* Property objects */ /* font-size goes first because the various new_from_expression() functions need to know about the 'font-size' property */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* 'font-size' property already included above. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include G_END_DECLS #endif /* !__FO_ALL_PROPERTY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-eval.c0000644000175000017500000003767010643167450016476 00000000000000/* Fo * fo-property-eval.c: Functions that relate property attributes to the * procedures for evaluating them. * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include "fo-property-eval.h" #include "fo-all-property.h" /** * fo_property_eval_init_hash: * @hash: Null #GHashTable pointer * * Initialises @hash and inserts 'get_type' function for * every property. * * Return value: Initialised #GHashTable **/ GHashTable * fo_property_eval_init_hash (GHashTable *hash) { g_return_val_if_fail (hash == NULL, NULL); hash = g_hash_table_new (g_str_hash, g_str_equal); g_hash_table_insert (hash, "alignment-adjust", &fo_property_alignment_adjust_get_type); g_hash_table_insert (hash, "alignment-baseline", &fo_property_alignment_baseline_get_type); g_hash_table_insert (hash, "background-color", &fo_property_background_color_get_type); g_hash_table_insert (hash, "background-image", &fo_property_background_image_get_type); g_hash_table_insert (hash, "baseline-shift", &fo_property_baseline_shift_get_type); g_hash_table_insert (hash, "block-progression-dimension", &fo_property_block_progression_dimension_get_type); g_hash_table_insert (hash, "block-progression-dimension.minimum", &fo_property_block_progression_dimension_minimum_get_type); g_hash_table_insert (hash, "block-progression-dimension.optimum", &fo_property_block_progression_dimension_optimum_get_type); g_hash_table_insert (hash, "block-progression-dimension.maximum", &fo_property_block_progression_dimension_maximum_get_type); g_hash_table_insert (hash, "border", &fo_property_border_get_type); g_hash_table_insert (hash, "border-after-color", &fo_property_border_after_color_get_type); g_hash_table_insert (hash, "border-after-precedence", &fo_property_border_after_precedence_get_type); g_hash_table_insert (hash, "border-after-style", &fo_property_border_after_style_get_type); g_hash_table_insert (hash, "border-after-width", &fo_property_border_after_width_get_type); g_hash_table_insert (hash, "border-before-color", &fo_property_border_before_color_get_type); g_hash_table_insert (hash, "border-before-precedence", &fo_property_border_before_precedence_get_type); g_hash_table_insert (hash, "border-before-style", &fo_property_border_before_style_get_type); g_hash_table_insert (hash, "border-before-width", &fo_property_border_before_width_get_type); g_hash_table_insert (hash, "border-bottom", &fo_property_border_bottom_get_type); g_hash_table_insert (hash, "border-bottom-color", &fo_property_border_bottom_color_get_type); g_hash_table_insert (hash, "border-bottom-style", &fo_property_border_bottom_style_get_type); g_hash_table_insert (hash, "border-bottom-width", &fo_property_border_bottom_width_get_type); g_hash_table_insert (hash, "border-collapse", &fo_property_border_collapse_get_type); g_hash_table_insert (hash, "border-color", &fo_property_border_color_get_type); g_hash_table_insert (hash, "border-end-color", &fo_property_border_end_color_get_type); g_hash_table_insert (hash, "border-end-precedence", &fo_property_border_end_precedence_get_type); g_hash_table_insert (hash, "border-end-style", &fo_property_border_end_style_get_type); g_hash_table_insert (hash, "border-end-width", &fo_property_border_end_width_get_type); g_hash_table_insert (hash, "border-left", &fo_property_border_left_get_type); g_hash_table_insert (hash, "border-left-color", &fo_property_border_left_color_get_type); g_hash_table_insert (hash, "border-left-style", &fo_property_border_left_style_get_type); g_hash_table_insert (hash, "border-left-width", &fo_property_border_left_width_get_type); g_hash_table_insert (hash, "border-right", &fo_property_border_right_get_type); g_hash_table_insert (hash, "border-right-color", &fo_property_border_right_color_get_type); g_hash_table_insert (hash, "border-right-style", &fo_property_border_right_style_get_type); g_hash_table_insert (hash, "border-right-width", &fo_property_border_right_width_get_type); g_hash_table_insert (hash, "border-separation", &fo_property_border_separation_get_type); g_hash_table_insert (hash, "border-start-color", &fo_property_border_start_color_get_type); g_hash_table_insert (hash, "border-start-precedence", &fo_property_border_start_precedence_get_type); g_hash_table_insert (hash, "border-start-style", &fo_property_border_start_style_get_type); g_hash_table_insert (hash, "border-start-width", &fo_property_border_start_width_get_type); g_hash_table_insert (hash, "border-style", &fo_property_border_style_get_type); g_hash_table_insert (hash, "border-top", &fo_property_border_top_get_type); g_hash_table_insert (hash, "border-top-color", &fo_property_border_top_color_get_type); g_hash_table_insert (hash, "border-top-style", &fo_property_border_top_style_get_type); g_hash_table_insert (hash, "border-top-width", &fo_property_border_top_width_get_type); g_hash_table_insert (hash, "border-width", &fo_property_border_width_get_type); g_hash_table_insert (hash, "break-after", &fo_property_break_after_get_type); g_hash_table_insert (hash, "break-before", &fo_property_break_before_get_type); g_hash_table_insert (hash, "character", &fo_property_character_get_type); g_hash_table_insert (hash, "clip", &fo_property_clip_get_type); g_hash_table_insert (hash, "color", &fo_property_color_get_type); g_hash_table_insert (hash, "column-number", &fo_property_column_number_get_type); g_hash_table_insert (hash, "column-width", &fo_property_column_width_get_type); g_hash_table_insert (hash, "content-height", &fo_property_content_height_get_type); g_hash_table_insert (hash, "content-type", &fo_property_content_type_get_type); g_hash_table_insert (hash, "content-width", &fo_property_content_width_get_type); g_hash_table_insert (hash, "direction", &fo_property_direction_get_type); g_hash_table_insert (hash, "display-align", &fo_property_display_align_get_type); g_hash_table_insert (hash, "dominant-baseline", &fo_property_dominant_baseline_get_type); g_hash_table_insert (hash, "end-indent", &fo_property_end_indent_get_type); g_hash_table_insert (hash, "extent", &fo_property_extent_get_type); g_hash_table_insert (hash, "flow-name", &fo_property_flow_name_get_type); g_hash_table_insert (hash, "font-family", &fo_property_font_family_get_type); g_hash_table_insert (hash, "font-size", &fo_property_font_size_get_type); g_hash_table_insert (hash, "font-stretch", &fo_property_font_stretch_get_type); g_hash_table_insert (hash, "font-style", &fo_property_font_style_get_type); g_hash_table_insert (hash, "font-variant", &fo_property_font_variant_get_type); g_hash_table_insert (hash, "font-weight", &fo_property_font_weight_get_type); g_hash_table_insert (hash, "format", &fo_property_format_get_type); g_hash_table_insert (hash, "grouping-separator", &fo_property_grouping_separator_get_type); g_hash_table_insert (hash, "grouping-size", &fo_property_grouping_size_get_type); g_hash_table_insert (hash, "height", &fo_property_height_get_type); g_hash_table_insert (hash, "id", &fo_property_id_get_type); g_hash_table_insert (hash, "inline-progression-dimension", &fo_property_inline_progression_dimension_get_type); g_hash_table_insert (hash, "inline-progression-dimension.minimum", &fo_property_inline_progression_dimension_minimum_get_type); g_hash_table_insert (hash, "inline-progression-dimension.optimum", &fo_property_inline_progression_dimension_optimum_get_type); g_hash_table_insert (hash, "inline-progression-dimension.maximum", &fo_property_inline_progression_dimension_maximum_get_type); g_hash_table_insert (hash, "keep-together", &fo_property_keep_together_get_type); g_hash_table_insert (hash, "keep-together.within-column", &fo_property_keep_together_within_column_get_type); g_hash_table_insert (hash, "keep-together.within-line", &fo_property_keep_together_within_line_get_type); g_hash_table_insert (hash, "keep-together.within-page", &fo_property_keep_together_within_page_get_type); g_hash_table_insert (hash, "keep-with-next", &fo_property_keep_with_next_get_type); g_hash_table_insert (hash, "keep-with-next.within-column", &fo_property_keep_with_next_within_column_get_type); g_hash_table_insert (hash, "keep-with-next.within-line", &fo_property_keep_with_next_within_line_get_type); g_hash_table_insert (hash, "keep-with-next.within-page", &fo_property_keep_with_next_within_page_get_type); g_hash_table_insert (hash, "keep-with-previous", &fo_property_keep_with_previous_get_type); g_hash_table_insert (hash, "keep-with-previous.within-column", &fo_property_keep_with_previous_within_column_get_type); g_hash_table_insert (hash, "keep-with-previous.within-line", &fo_property_keep_with_previous_within_line_get_type); g_hash_table_insert (hash, "keep-with-previous.within-page", &fo_property_keep_with_previous_within_page_get_type); g_hash_table_insert (hash, "letter-value", &fo_property_letter_value_get_type); g_hash_table_insert (hash, "linefeed-treatment", &fo_property_linefeed_treatment_get_type); g_hash_table_insert (hash, "line-height", &fo_property_line_height_get_type); g_hash_table_insert (hash, "line-stacking-strategy", &fo_property_line_stacking_strategy_get_type); g_hash_table_insert (hash, "margin", &fo_property_margin_get_type); g_hash_table_insert (hash, "margin-bottom", &fo_property_margin_bottom_get_type); g_hash_table_insert (hash, "margin-left", &fo_property_margin_left_get_type); g_hash_table_insert (hash, "margin-right", &fo_property_margin_right_get_type); g_hash_table_insert (hash, "margin-top", &fo_property_margin_top_get_type); g_hash_table_insert (hash, "master-name", &fo_property_master_name_get_type); g_hash_table_insert (hash, "master-reference", &fo_property_master_reference_get_type); g_hash_table_insert (hash, "media-usage", &fo_property_media_usage_get_type); g_hash_table_insert (hash, "number-columns-repeated", &fo_property_number_columns_repeated_get_type); g_hash_table_insert (hash, "number-columns-spanned", &fo_property_number_columns_spanned_get_type); g_hash_table_insert (hash, "number-rows-spanned", &fo_property_number_rows_spanned_get_type); g_hash_table_insert (hash, "orphans", &fo_property_orphans_get_type); g_hash_table_insert (hash, "overflow", &fo_property_overflow_get_type); g_hash_table_insert (hash, "padding", &fo_property_padding_get_type); g_hash_table_insert (hash, "padding-after", &fo_property_padding_after_get_type); g_hash_table_insert (hash, "padding-after.length", &fo_property_padding_after_length_get_type); g_hash_table_insert (hash, "padding-after.conditionality", &fo_property_padding_after_condity_get_type); g_hash_table_insert (hash, "padding-before", &fo_property_padding_before_get_type); g_hash_table_insert (hash, "padding-before.length", &fo_property_padding_before_length_get_type); g_hash_table_insert (hash, "padding-before.conditionality", &fo_property_padding_before_condity_get_type); g_hash_table_insert (hash, "padding-bottom", &fo_property_padding_bottom_get_type); g_hash_table_insert (hash, "padding-end", &fo_property_padding_end_get_type); g_hash_table_insert (hash, "padding-end.length", &fo_property_padding_end_length_get_type); g_hash_table_insert (hash, "padding-end.conditionality", &fo_property_padding_end_condity_get_type); g_hash_table_insert (hash, "padding-left", &fo_property_padding_left_get_type); g_hash_table_insert (hash, "padding-right", &fo_property_padding_right_get_type); g_hash_table_insert (hash, "padding-start", &fo_property_padding_start_get_type); g_hash_table_insert (hash, "padding-start.length", &fo_property_padding_start_length_get_type); g_hash_table_insert (hash, "padding-start.conditionality", &fo_property_padding_start_condity_get_type); g_hash_table_insert (hash, "padding-top", &fo_property_padding_top_get_type); g_hash_table_insert (hash, "page-height", &fo_property_page_height_get_type); g_hash_table_insert (hash, "page-width", &fo_property_page_width_get_type); g_hash_table_insert (hash, "provisional-distance-between-starts", &fo_property_provisional_distance_between_starts_get_type); g_hash_table_insert (hash, "provisional-label-separation", &fo_property_provisional_label_separation_get_type); g_hash_table_insert (hash, "ref-id", &fo_property_ref_id_get_type); g_hash_table_insert (hash, "region-name", &fo_property_region_name_get_type); g_hash_table_insert (hash, "role", &fo_property_role_get_type); g_hash_table_insert (hash, "scaling", &fo_property_scaling_get_type); g_hash_table_insert (hash, "scaling-method", &fo_property_scaling_method_get_type); g_hash_table_insert (hash, "score-spaces", &fo_property_score_spaces_get_type); g_hash_table_insert (hash, "source-document", &fo_property_source_document_get_type); g_hash_table_insert (hash, "space-after", &fo_property_space_after_get_type); g_hash_table_insert (hash, "space-after.minimum", &fo_property_space_after_minimum_get_type); g_hash_table_insert (hash, "space-after.optimum", &fo_property_space_after_optimum_get_type); g_hash_table_insert (hash, "space-after.maximum", &fo_property_space_after_maximum_get_type); g_hash_table_insert (hash, "space-after.conditionality", &fo_property_space_after_condity_get_type); g_hash_table_insert (hash, "space-after.precedence", &fo_property_space_after_precedence_get_type); g_hash_table_insert (hash, "space-before", &fo_property_space_before_get_type); g_hash_table_insert (hash, "space-before.minimum", &fo_property_space_before_minimum_get_type); g_hash_table_insert (hash, "space-before.optimum", &fo_property_space_before_optimum_get_type); g_hash_table_insert (hash, "space-before.maximum", &fo_property_space_before_maximum_get_type); g_hash_table_insert (hash, "space-before.conditionality", &fo_property_space_before_condity_get_type); g_hash_table_insert (hash, "space-before.precedence", &fo_property_space_before_precedence_get_type); g_hash_table_insert (hash, "space-end", &fo_property_space_end_get_type); g_hash_table_insert (hash, "space-end.minimum", &fo_property_space_end_minimum_get_type); g_hash_table_insert (hash, "space-end.optimum", &fo_property_space_end_optimum_get_type); g_hash_table_insert (hash, "space-end.maximum", &fo_property_space_end_maximum_get_type); g_hash_table_insert (hash, "space-end.conditionality", &fo_property_space_end_condity_get_type); g_hash_table_insert (hash, "space-end.precedence", &fo_property_space_end_precedence_get_type); g_hash_table_insert (hash, "space-start", &fo_property_space_start_get_type); g_hash_table_insert (hash, "space-start.minimum", &fo_property_space_start_minimum_get_type); g_hash_table_insert (hash, "space-start.optimum", &fo_property_space_start_optimum_get_type); g_hash_table_insert (hash, "space-start.maximum", &fo_property_space_start_maximum_get_type); g_hash_table_insert (hash, "space-start.conditionality", &fo_property_space_start_condity_get_type); g_hash_table_insert (hash, "space-start.precedence", &fo_property_space_start_precedence_get_type); g_hash_table_insert (hash, "span", &fo_property_span_get_type); g_hash_table_insert (hash, "src", &fo_property_src_get_type); g_hash_table_insert (hash, "start-indent", &fo_property_start_indent_get_type); g_hash_table_insert (hash, "table-layout", &fo_property_table_layout_get_type); g_hash_table_insert (hash, "text-align", &fo_property_text_align_get_type); g_hash_table_insert (hash, "text-indent", &fo_property_text_indent_get_type); g_hash_table_insert (hash, "unicode-bidi", &fo_property_unicode_bidi_get_type); g_hash_table_insert (hash, "white-space-collapse", &fo_property_white_space_collapse_get_type); g_hash_table_insert (hash, "white-space-treatment", &fo_property_white_space_treatment_get_type); g_hash_table_insert (hash, "widows", &fo_property_widows_get_type); g_hash_table_insert (hash, "width", &fo_property_width_get_type); g_hash_table_insert (hash, "wrap-option", &fo_property_wrap_option_get_type); g_hash_table_insert (hash, "writing-mode", &fo_property_writing_mode_get_type); return hash; } xmlroff-0.6.2/libfo/property/fo-property-eval.h0000644000175000017500000000055010643167450016466 00000000000000/* Fo * fo-property-eval.h: Functions relating property attributes and the * procedures for evaluating them. * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include GHashTable * fo_property_eval_init_hash (GHashTable *hash); xmlroff-0.6.2/libfo/property/fo-property.c0000644000175000017500000004714511026664302015541 00000000000000/* Fo * fo-property.h: FoProperty superclass of all property classes * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-utils.h" #include "fo-object.h" #include "datatype/fo-all-datatype.h" #include "fo-context.h" #include "fo-property-private.h" #include "fo-property-font-size.h" /*#include */ /** * SECTION:fo-property * @short_description: Abstract FO property type * * Every property is a subtype of #FoProperty. */ const gchar *fo_property_error_messages [] = { N_("Property error."), N_("Property expression evaluation failed."), N_("Attempt to convert to enumeration value when property has no values defined."), N_("Values of '%s' property cannot be negative: %s"), N_("Value of property '%s' should not be zero-length.") }; enum { PROP_0, PROP_VALUE, PROP_IS_INHERITED, PROP_IS_SHORTHAND }; static void fo_property_base_init (FoPropertyClass *klass); static void fo_property_base_finalize (FoPropertyClass *klass); static void fo_property_class_init (FoPropertyClass *klass); static void fo_property_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void fo_property_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_property_finalize (GObject *object); static FoDatatype* fo_property_get_value_default (FoProperty *property); static void fo_property_set_value_default (FoProperty *property, FoDatatype *new_value); static FoDatatype* fo_property_resolve_enum_default (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_resolve_percent_default (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **err); static FoProperty* fo_property_new_from_expr_default (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error); gchar* fo_property_sprintf (FoObject *object); static void fo_property_debug_dump (FoObject *object, gint depth); static gpointer parent_class; GQuark fo_property_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("Property error"); return quark; } /** * fo_property_get_type: * * Register the #FoProperty object type if not already registered and * return its #GType value. * * Return value: #GType value of the #FoProperty object type. **/ GType fo_property_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyClass), (GBaseInitFunc) fo_property_base_init, (GBaseFinalizeFunc) fo_property_base_finalize, (GClassInitFunc) fo_property_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoProperty), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoProperty", &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_property_base_init: * @klass: #FoPropertyClass object to initialise. * * Implements #GBaseInitFunc for #FoPropertyClass. **/ void fo_property_base_init (FoPropertyClass *klass) { FoObjectClass *fo_object_class = FO_OBJECT_CLASS (klass); klass->is_inherited = FALSE; klass->is_shorthand = FALSE; klass->expr_env_list = fo_expr_env_list_new (); klass->new_from_expr = fo_property_new_from_expr_default; klass->expr_eval = fo_expr_eval; klass->set_value = fo_property_set_value_default; klass->get_value = fo_property_get_value_default; klass->resolve_percent = fo_property_resolve_percent_default; fo_object_class->print_sprintf = fo_property_sprintf; fo_object_class->debug_dump = fo_property_debug_dump; } /** * fo_property_base_finalize: * @klass: #FoPropertyClass object to finalise. * * Implements #GBaseFinalizeFunc for #FoPropertyClass. **/ void fo_property_base_finalize (FoPropertyClass *klass) { fo_expr_env_list_free (klass->expr_env_list); } /** * fo_property_class_init: * @klass: #FoPropertyClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyClass. **/ void fo_property_class_init (FoPropertyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_finalize; object_class->set_property = fo_property_set_property; object_class->get_property = fo_property_get_property; g_object_class_install_property (object_class, PROP_VALUE, g_param_spec_object ("value", _("property value"), _("Property value"), FO_TYPE_DATATYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_IS_INHERITED, g_param_spec_boolean ("is-inherited", _("Is inherited?"), _("Is this an inherited property?"), TRUE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_IS_SHORTHAND, g_param_spec_boolean ("is-shorthand", _("Is shorthand?"), _("Is this a shorthand property?"), TRUE, G_PARAM_READABLE)); klass->resolve_enum = fo_property_resolve_enum_default; } /** * fo_property_finalize: * @object: #FoProperty object to finalize. * * Implements #GObjectFinalizeFunc for #FoProperty. **/ void fo_property_finalize (GObject *object) { FoProperty *property; property = FO_PROPERTY (object); if (property->value != NULL) { g_object_unref (property->value); property->value = NULL; } G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_set_property: * @object: #GObject whose property will be set. * @prop_id: Property ID assigned when property registered. * @value: New value for property. * @pspec: Parameter specification for this property type. * * Implements #GObjectSetPropertyFunc for #FoProperty. **/ void fo_property_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoProperty *property; property = FO_PROPERTY (object); switch (prop_id) { case PROP_VALUE: fo_property_set_value (property, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_property_get_property: * @object: #GObject whose property will be retreived. * @prop_id: Property ID assigned when property registered. * @value: GValue to set with property value. * @pspec: Parameter specification for this property type. * * Implements #GObjectGetPropertyFunc for #FoProperty. **/ void fo_property_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoProperty *property; property = FO_PROPERTY (object); switch (prop_id) { case PROP_VALUE: g_value_set_instance (value, fo_property_get_value (property)); break; case PROP_IS_INHERITED: g_value_set_boolean (value, fo_property_is_inherited (property)); break; case PROP_IS_SHORTHAND: g_value_set_boolean (value, fo_property_is_shorthand (property)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_property_get_value: * @property: #FoProperty object whose value is to be retrieved. * * Returns the current value property value of @property. * * Return value: The current 'value' property value. **/ FoDatatype* fo_property_get_value (FoProperty *property) { g_return_val_if_fail (property != NULL, NULL); g_return_val_if_fail (FO_IS_PROPERTY (property), NULL); return FO_PROPERTY_GET_CLASS (property)->get_value (property); } /** * fo_property_set_value: * @property: #FoProperty object whose value is to be set. * @new_value: New value for the property. * * Sets the 'value' property of @property. **/ void fo_property_set_value (FoProperty *property, FoDatatype *new_value) { g_return_if_fail (property != NULL); g_return_if_fail (FO_IS_PROPERTY (property)); FO_PROPERTY_GET_CLASS (property)->set_value (property, new_value); } /** * fo_property_get_value_default: * @property: FoProperty object whose value is to be retrieved * * Returns the current #value property value of @property * * Return value: The current #value property value **/ FoDatatype* fo_property_get_value_default (FoProperty *property) { g_return_val_if_fail (property != NULL, NULL); g_return_val_if_fail (FO_IS_PROPERTY (property), NULL); return property->value; } /** * fo_property_set_value_default: * @property: FoProperty object whose value is to be set * @new_value: New value for the property * * Sets the #value property of @property **/ void fo_property_set_value_default (FoProperty *property, FoDatatype *new_value) { g_return_if_fail (property != NULL); g_return_if_fail (FO_IS_PROPERTY (property)); g_return_if_fail (new_value == NULL || FO_IS_DATATYPE (new_value)); if (new_value != NULL) g_object_ref (G_OBJECT (new_value)); if (property->value != NULL) g_object_unref (G_OBJECT (property->value)); property->value = new_value; /*g_object_notify(G_OBJECT(property), "value");*/ } /** * fo_property_resolve_enum_default: * @token: * @context: * @error: * * * * Return value: **/ FoDatatype* fo_property_resolve_enum_default (const gchar *token G_GNUC_UNUSED, FoContext *context G_GNUC_UNUSED, GError **error) { g_warning ("This property doesn't have any enumerated values.\n"); g_set_error (error, FO_PROPERTY_ERROR, FO_PROPERTY_ERROR_NO_ENUMERATION, fo_property_error_messages[FO_PROPERTY_ERROR_NO_ENUMERATION]); return NULL; } /** * fo_property_resolve_percent_default: * @percentage: Percentage value to resolve. * @font_size: Font size to use if a percentage of font-size. * @fo_node: Current #FoFo. * @context: #FoContext of parent #FoFo. * @err: Indicates whether an error occurs. * * Resolves @percentage as a percentage of a known value which, * depending on the property, could be the current font-size value or * some property value of the current #FoFo or its first #FoArea. * * Return value: #FoDatatype representing resolved value. **/ FoDatatype* fo_property_resolve_percent_default (gdouble percentage, const FoDatatype *font_size G_GNUC_UNUSED, const FoFo *fo_node G_GNUC_UNUSED, const FoContext *context G_GNUC_UNUSED, GError **err G_GNUC_UNUSED) { FoDatatype *percentage_datatype; percentage_datatype = fo_percentage_new (); fo_percentage_set_value (percentage_datatype, percentage); return percentage_datatype; } /** * fo_property_new_from_string: * @property_class: #FoPropertyClass or subclass of property. * @expr: Expression to be evaluated as a string. * @context: #FoContext for inherited values. * @current_font_size: Current font size for resolving 'em' values. * @fo_node: The current #FoFo node. * @error: #GError for indicating any error that occurs. * * Evaluate @expr and create a new instance of @property_class with * value of @expr. * * Other parameters (except @error) provide context for evaluating * @expr. * * Return value: A new instance of @property_class, or NULL if error. **/ FoProperty* fo_property_new_from_string (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node G_GNUC_UNUSED, GError **error) { FoProperty *property; FoDatatype *datatype; GError *tmp_error = NULL; const gchar *property_name = NULL; g_return_val_if_fail (FO_IS_PROPERTY_CLASS (property_class), NULL); g_return_val_if_fail (expr != NULL, NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (current_font_size == NULL || FO_IS_PROPERTY_FONT_SIZE (current_font_size), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); property_name = G_OBJECT_CLASS_NAME (property_class); datatype = fo_string_new_with_value (expr); datatype = property_class->validate (datatype, context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } property = (FoProperty *) g_object_new (G_OBJECT_CLASS_TYPE (property_class), "value", datatype, NULL); return property; } /** * fo_property_new_from_expr_default: * @property_class: #FoPropertyClass or subclass of property. * @expr: Expression to be evaluated. * @context: #FoContext for inherited values. * @current_font_size: Current font size for resolving 'em' values. * @fo_node: The current #FoFo node. * @error: #GError for indicating any error that occurs. * * Evaluate @expr and create a new instance of @property_class with * value of @expr. * * Other parameters (except @error) provide context for evaluating * @expr. * * Return value: A new instance of @property_class, or NULL if error. **/ FoProperty* fo_property_new_from_expr_default (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error) { FoProperty *property; FoDatatype *datatype; GError *tmp_error = NULL; const gchar *property_name = NULL; g_return_val_if_fail (FO_IS_PROPERTY_CLASS (property_class), NULL); g_return_val_if_fail (expr != NULL, NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (current_font_size == NULL || FO_IS_PROPERTY_FONT_SIZE (current_font_size), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); property_name = G_OBJECT_CLASS_NAME (property_class); datatype = property_class->expr_eval (expr, property_name, property_class->resolve_enum, property_class->resolve_percent, current_font_size, fo_node, context, property_class->expr_env_list, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } datatype = property_class->validate (datatype, context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } property = (FoProperty *) g_object_new (G_OBJECT_CLASS_TYPE (property_class), "value", datatype, NULL); return property; } /** * fo_property_new_from_expr: * @property_class: Class of property for which to evaluate expression. * @expr: Expression to evaluate. * @context: Current #FoContext. * @current_font_size: Current "font-size" value * @fo_node: Current FO * @error: Indication of any error that occurred * * Evaluates @expr as a value of an instance of @property_class. * The other parameters provide the context for evaluating @expr. * * Returns: New instance of @property_class, or %NULL if an * error ocurred. **/ FoProperty* fo_property_new_from_expr (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error) { g_return_val_if_fail (FO_IS_PROPERTY_CLASS (property_class), NULL); if (*expr == '\0') { const gchar *property_name = G_OBJECT_CLASS_NAME (property_class); g_set_error (error, FO_PROPERTY_ERROR, FO_PROPERTY_ERROR_ZERO_LENGTH, fo_property_error_messages[FO_PROPERTY_ERROR_ZERO_LENGTH], property_name); return NULL; } return property_class->new_from_expr (property_class, expr, context, current_font_size, fo_node, error); } /** * fo_property_class_is_inherited: * @property_class: #FoPropertyClass or a subclass of #FoPropertyClass. * * Indicates whether the XSL property represented by @property_class * is defined in the XSL 1.0 Recommendation as an inherited property. * * Return value: TRUE if @property_class is inherited, FALSE if not. **/ gboolean fo_property_class_is_inherited (FoPropertyClass *property_class) { g_return_val_if_fail (FO_IS_PROPERTY_CLASS (property_class), FALSE); return (FO_PROPERTY_CLASS (property_class)->is_inherited); } /** * fo_property_is_inherited: * @property: #FoProperty or subclass of #FoProperty * * Indicates whether the XSL property represented by @property is * defined in the XSL 1.0 Recommendation as an inherited property. * * Return value: TRUE if @property is inherited, FALSE otherwise **/ gboolean fo_property_is_inherited (FoProperty *property) { g_return_val_if_fail (FO_IS_PROPERTY (property), FALSE); return fo_property_class_is_inherited (FO_PROPERTY_GET_CLASS (property)); } /** * fo_property_class_is_shorthand: * @property_class: #FoPropertyClass or a subclass of #FoPropertyClass. * * Indicates whether the XSL property represented by @property_class * is defined in the XSL 1.0 Recommendation as a shorthand property. * * Return value: TRUE if @property_class is a shorthand, FALSE if not. **/ gboolean fo_property_class_is_shorthand (FoPropertyClass *property_class) { g_return_val_if_fail (FO_IS_PROPERTY_CLASS (property_class), FALSE); return (FO_PROPERTY_CLASS (property_class)->is_shorthand); } /** * fo_property_is_shorthand: * @property: #FoProperty or a subclass of #FoProperty. * * Indicates whether the XSL property represented by @property is * defined in the XSL 1.0 Recommendation as a shorthand property. * * Return value: TRUE if @property is a shorthand, FALSE otherwise **/ gboolean fo_property_is_shorthand (FoProperty *property) { g_return_val_if_fail (FO_IS_PROPERTY (property), FALSE); return fo_property_class_is_shorthand (FO_PROPERTY_GET_CLASS (property)); } /** * fo_property_sprintf: * @object: Object to be named * * Returns a string representing the property and its current value. * The returned value should be freed when no longer needed. * * Return value: A newly allocated string **/ gchar* fo_property_sprintf (FoObject *object) { g_return_val_if_fail (object != NULL, NULL); g_return_val_if_fail (FO_IS_PROPERTY (object), NULL); return g_strdup_printf ("%s: %s", g_type_name (G_TYPE_FROM_INSTANCE (object)), fo_object_sprintf (FO_PROPERTY (object)->value)); } /** * fo_property_debug_dump: * @object: * @depth: * * **/ void fo_property_debug_dump (FoObject *object, gint depth) { gchar *indent = g_strnfill (depth * 2, ' '); gchar* object_sprintf; g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_PROPERTY (object)); object_sprintf = fo_object_debug_sprintf (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", indent, object_sprintf); g_free (object_sprintf); g_free (indent); fo_object_debug_dump (fo_property_get_value (FO_PROPERTY (object)), depth + 2); } xmlroff-0.6.2/libfo/property/fo-property-private.h0000644000175000017500000000430011150536665017210 00000000000000/* Fo * fo-property-private.h: Structures private to the FoProperty superclass of all property classes * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PRIVATE_H__ #define __FO_PROPERTY_PRIVATE_H__ #include "property/fo-property.h" #include "datatype/fo-all-datatype.h" #include "expr/fo-expr-eval.h" G_BEGIN_DECLS extern const gchar *fo_property_error_messages [FO_PROPERTY_ERROR_LAST]; struct _FoProperty { FoObject parent_instance; FoDatatype *value; }; struct _FoPropertyClass { FoObjectClass parent_class; gboolean is_inherited; gboolean is_shorthand; FoExprEnvList *expr_env_list; FoProperty * (* new_from_expr) (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *font_size, FoFo *fo_node, GError **error); FoDatatype * (* expr_eval) (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const GSList *env_list, GError **error); FoProperty * (* get_initial) (void); FoDatatype * (* resolve_enum) (const gchar *token, FoContext *context, GError **err); FoDatatype * (* resolve_percent) (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **err); FoDatatype * (* validate) (FoDatatype *datatype, FoContext *context, GError **error); void (* set_value) (FoProperty *property, FoDatatype *new_value); FoDatatype * (* get_value) (FoProperty *property); }; FoProperty * fo_property_new_from_string (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error); G_END_DECLS #endif /* !__FO_PROPERTY_PRIVATE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-type-condity.c0000644000175000017500000001360010646450573020166 00000000000000/* Fo * fo-property-type-condity.c: Abstract parent type of '.conditionality' components. * * Copyright (C) 2001-2004 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-type-condity-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-type-condity.h" #include "property/fo-property-util.h" /* type-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ static void fo_property_type_condity_base_init (FoPropertyTypeCondityClass *klass); static void fo_property_type_condity_class_init (FoPropertyTypeCondityClass *klass); static void fo_property_type_condity_finalize (GObject *object); static FoDatatype* fo_property_type_condity_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "FoProperytTypeCondity"; static gpointer parent_class; /** * fo_property_type_condity_get_type: * * Register the #FoPropertyTypeCondity type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyTypeCondity. **/ GType fo_property_type_condity_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyTypeCondityClass), (GBaseInitFunc) fo_property_type_condity_base_init, NULL, /* base_finalize */ (GClassInitFunc) fo_property_type_condity_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyTypeCondity), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_type_condity_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, G_TYPE_FLAG_ABSTRACT); } return object_type; } /** * fo_property_type_condity_init: * @type_condity: #FoPropertyTypeCondity object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyTypeCondity. **/ void fo_property_type_condity_init (FoPropertyTypeCondity *type_condity) { FO_PROPERTY (type_condity)->value = g_object_ref (fo_boolean_get_true ()); } /** * fo_property_type_condity_base_init: * @klass: #FoPropertyTypeCondityClass object to initialise. * * Implements #GBaseInitFunc for #FoPropertyTypeCondityClass. **/ void fo_property_type_condity_base_init (FoPropertyTypeCondityClass *klass) { FoPropertyClass *fo_property_class = FO_PROPERTY_CLASS (klass); fo_property_class->is_inherited = FALSE; fo_property_class->is_shorthand = FALSE; fo_property_class->resolve_enum = fo_property_util_resolve_condity_enum; fo_property_class->validate = fo_property_type_condity_validate; } /** * fo_property_type_condity_class_init: * @klass: #FoPropertyTypeCondityClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyTypeCondityClass. **/ void fo_property_type_condity_class_init (FoPropertyTypeCondityClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_type_condity_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_condity_enum; property_class->validate = fo_property_type_condity_validate; } /** * fo_property_type_condity_finalize: * @object: #FoPropertyTypeCondity object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyTypeCondity. **/ void fo_property_type_condity_finalize (GObject *object) { FoPropertyTypeCondity *type_condity; type_condity = FO_PROPERTY_TYPE_CONDITY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_type_condity_new: * * Creates a new #FoPropertyTypeCondity initialized to default value. * * Return value: the new #FoPropertyTypeCondity. **/ FoProperty* fo_property_type_condity_new (void) { FoProperty* type_condity; type_condity = FO_PROPERTY (g_object_new (fo_property_type_condity_get_type (), NULL)); return type_condity; } /** * fo_property_type_condity_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_type_condity_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_BOOLEAN (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } xmlroff-0.6.2/libfo/property/fo-property-type-condity.h0000644000175000017500000000303210770023365020162 00000000000000/* Fo * fo-property-type-condity.h: Abstract parent type of '.conditionality' components. * * Copyright (C) 2001-2004 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_TYPE_CONDITY_H__ #define __FO_PROPERTY_TYPE_CONDITY_H__ #include #include G_BEGIN_DECLS /* type-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ #define FO_TYPE_PROPERTY_TYPE_CONDITY (fo_property_type_condity_get_type ()) #define FO_PROPERTY_TYPE_CONDITY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_TYPE_CONDITY, FoPropertyTypeCondity)) #define FO_PROPERTY_TYPE_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_TYPE_CONDITY, FoPropertyTypeCondityClass)) #define FO_IS_PROPERTY_TYPE_CONDITY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_TYPE_CONDITY)) #define FO_IS_PROPERTY_TYPE_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_TYPE_CONDITY)) #define FO_PROPERTY_TYPE_CONDITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_TYPE_CONDITY, FoPropertyTypeCondityClass)) typedef struct _FoPropertyTypeCondity FoPropertyTypeCondity; typedef struct _FoPropertyTypeCondityClass FoPropertyTypeCondityClass; GType fo_property_type_condity_get_type (void) G_GNUC_CONST; G_END_DECLS #endif /* !__FO_PROPERTY_TYPE_CONDITY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-type-condity-private.h0000644000175000017500000000142010643167450021634 00000000000000/* Fo * fo-property-type-condity-private.h: Structures private to the FoPropertyTypeCondity superclass of all '.conditionality' property classes * * Copyright (C) 2001-2004 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_TYPE_CONDITY_PRIVATE_H__ #define __FO_PROPERTY_TYPE_CONDITY_PRIVATE_H__ #include "property/fo-property-type-condity.h" #include "property/fo-property-private.h" G_BEGIN_DECLS struct _FoPropertyTypeCondity { FoProperty parent_instance; }; struct _FoPropertyTypeCondityClass { FoPropertyClass parent_class; }; void fo_property_type_condity_init (FoPropertyTypeCondity *property_type_condity); G_END_DECLS #endif /* !__FO_PROPERTY_TYPE_CONDITY_PRIVATE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-background-image.c0000644000175000017500000002177410660107746020745 00000000000000/* Fo * fo-property-background-image.c: 'background-image' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-background-image.h" /* background-image */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | none | inherit */ /* Initial value: none */ struct _FoPropertyBackgroundImage { FoProperty parent_instance; }; struct _FoPropertyBackgroundImageClass { FoPropertyClass parent_class; }; static void fo_property_background_image_init (FoPropertyBackgroundImage *property_background_image); static void fo_property_background_image_class_init (FoPropertyBackgroundImageClass *klass); static void fo_property_background_image_finalize (GObject *object); static FoDatatype* fo_property_background_image_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_background_image_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "background-image"; static gpointer parent_class; /** * fo_property_background_image_get_type: * * Register the #FoPropertyBackgroundImage type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBackgroundImage. **/ GType fo_property_background_image_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBackgroundImageClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_background_image_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBackgroundImage), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_background_image_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_background_image_init: * @background_image: #FoPropertyBackgroundImage object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBackgroundImage. **/ void fo_property_background_image_init (FoPropertyBackgroundImage *background_image) { FO_PROPERTY (background_image)->value = g_object_ref (fo_enum_get_enum_none ()); } /** * fo_property_background_image_class_init: * @klass: #FoPropertyBackgroundImageClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBackgroundImageClass. **/ void fo_property_background_image_class_init (FoPropertyBackgroundImageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_background_image_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_background_image_resolve_enum; property_class->validate = fo_property_background_image_validate; property_class->get_initial = fo_property_background_image_get_initial; } /** * fo_property_background_image_finalize: * @object: #FoPropertyBackgroundImage object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBackgroundImage. **/ void fo_property_background_image_finalize (GObject *object) { FoPropertyBackgroundImage *background_image; background_image = FO_PROPERTY_BACKGROUND_IMAGE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_background_image_new: * * Creates a new #FoPropertyBackgroundImage initialized to default value. * * Return value: the new #FoPropertyBackgroundImage. **/ FoProperty* fo_property_background_image_new (void) { FoProperty* background_image; background_image = FO_PROPERTY (g_object_new (fo_property_background_image_get_type (), NULL)); return background_image; } /** * fo_property_background_image_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_background_image_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "none") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_background_image_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_background_image_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_URI_SPECIFICATION (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { gint value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_NONE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_background_image_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_background_image_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_background_image_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_background_image_get_initial (void) { static FoProperty *background_image = NULL; if (background_image == NULL) { background_image = fo_property_background_image_new (); } return background_image; } xmlroff-0.6.2/libfo/property/fo-property-background-image.h0000644000175000017500000000335210770023365020736 00000000000000/* Fo * fo-property-background-image.h: 'background-image' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BACKGROUND_IMAGE_H__ #define __FO_PROPERTY_BACKGROUND_IMAGE_H__ #include #include G_BEGIN_DECLS /* background-image */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | none | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_BACKGROUND_IMAGE (fo_property_background_image_get_type ()) #define FO_PROPERTY_BACKGROUND_IMAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BACKGROUND_IMAGE, FoPropertyBackgroundImage)) #define FO_PROPERTY_BACKGROUND_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BACKGROUND_IMAGE, FoPropertyBackgroundImageClass)) #define FO_IS_PROPERTY_BACKGROUND_IMAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BACKGROUND_IMAGE)) #define FO_IS_PROPERTY_BACKGROUND_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BACKGROUND_IMAGE)) #define FO_PROPERTY_BACKGROUND_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BACKGROUND_IMAGE, FoPropertyBackgroundImageClass)) typedef struct _FoPropertyBackgroundImage FoPropertyBackgroundImage; typedef struct _FoPropertyBackgroundImageClass FoPropertyBackgroundImageClass; GType fo_property_background_image_get_type (void) G_GNUC_CONST; FoProperty* fo_property_background_image_new (void); FoProperty* fo_property_background_image_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BACKGROUND_IMAGE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-block-progression-dimension.c0000644000175000017500000002373410660107746023171 00000000000000/* Fo * fo-property-block-progression-dimension.c: 'block-progression-dimension' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-block-progression-dimension.h" /* block-progression-dimension */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ struct _FoPropertyBlockProgressionDimension { FoProperty parent_instance; }; struct _FoPropertyBlockProgressionDimensionClass { FoPropertyClass parent_class; }; static void fo_property_block_progression_dimension_init (FoPropertyBlockProgressionDimension *property_block_progression_dimension); static void fo_property_block_progression_dimension_class_init (FoPropertyBlockProgressionDimensionClass *klass); static void fo_property_block_progression_dimension_finalize (GObject *object); static FoDatatype* fo_property_block_progression_dimension_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_block_progression_dimension_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "block-progression-dimension"; static gpointer parent_class; /** * fo_property_block_progression_dimension_get_type: * * Register the #FoPropertyBlockProgressionDimension type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBlockProgressionDimension. **/ GType fo_property_block_progression_dimension_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBlockProgressionDimensionClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_block_progression_dimension_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBlockProgressionDimension), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_block_progression_dimension_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_block_progression_dimension_init: * @block_progression_dimension: #FoPropertyBlockProgressionDimension object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBlockProgressionDimension. **/ void fo_property_block_progression_dimension_init (FoPropertyBlockProgressionDimension *block_progression_dimension) { FO_PROPERTY (block_progression_dimension)->value = g_object_ref (fo_length_range_new_auto ()); } /** * fo_property_block_progression_dimension_class_init: * @klass: #FoPropertyBlockProgressionDimensionClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBlockProgressionDimensionClass. **/ void fo_property_block_progression_dimension_class_init (FoPropertyBlockProgressionDimensionClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_block_progression_dimension_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_block_progression_dimension_resolve_enum; property_class->validate = fo_property_block_progression_dimension_validate; property_class->get_initial = fo_property_block_progression_dimension_get_initial; } /** * fo_property_block_progression_dimension_finalize: * @object: #FoPropertyBlockProgressionDimension object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBlockProgressionDimension. **/ void fo_property_block_progression_dimension_finalize (GObject *object) { FoPropertyBlockProgressionDimension *block_progression_dimension; block_progression_dimension = FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_block_progression_dimension_new: * * Creates a new #FoPropertyBlockProgressionDimension initialized to default value. * * Return value: the new #FoPropertyBlockProgressionDimension. **/ FoProperty* fo_property_block_progression_dimension_new (void) { FoProperty* block_progression_dimension; block_progression_dimension = FO_PROPERTY (g_object_new (fo_property_block_progression_dimension_get_type (), NULL)); return block_progression_dimension; } /** * fo_property_block_progression_dimension_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_block_progression_dimension_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_length_range_new_auto ()); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_block_progression_dimension_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_block_progression_dimension_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_block_progression_dimension_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_block_progression_dimension_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_LENGTH_RANGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_block_progression_dimension_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_block_progression_dimension_get_initial (void) { static FoProperty *block_progression_dimension = NULL; if (block_progression_dimension == NULL) { block_progression_dimension = fo_property_block_progression_dimension_new (); } return block_progression_dimension; } xmlroff-0.6.2/libfo/property/fo-property-block-progression-dimension.h0000644000175000017500000000405710770023365023167 00000000000000/* Fo * fo-property-block-progression-dimension.h: 'block-progression-dimension' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_H__ #define __FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_H__ #include #include G_BEGIN_DECLS /* block-progression-dimension */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION (fo_property_block_progression_dimension_get_type ()) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION, FoPropertyBlockProgressionDimension)) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION, FoPropertyBlockProgressionDimensionClass)) #define FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION)) #define FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION)) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION, FoPropertyBlockProgressionDimensionClass)) typedef struct _FoPropertyBlockProgressionDimension FoPropertyBlockProgressionDimension; typedef struct _FoPropertyBlockProgressionDimensionClass FoPropertyBlockProgressionDimensionClass; GType fo_property_block_progression_dimension_get_type (void) G_GNUC_CONST; FoProperty * fo_property_block_progression_dimension_new (void); FoProperty * fo_property_block_progression_dimension_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_H__ */ xmlroff-0.6.2/libfo/property/fo-property-block-progression-dimension-minimum.c0000644000175000017500000002116310660107746024634 00000000000000/* Fo * fo-property-block-progression-dimension-minimum.c: 'block-progression-dimension-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-block-progression-dimension-minimum.h" #include "property/fo-property-util.h" /* block-progression-dimension-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | */ /* Initial value: auto */ struct _FoPropertyBlockProgressionDimensionMinimum { FoProperty parent_instance; }; struct _FoPropertyBlockProgressionDimensionMinimumClass { FoPropertyClass parent_class; }; static void fo_property_block_progression_dimension_minimum_init (FoPropertyBlockProgressionDimensionMinimum *property_block_progression_dimension_minimum); static void fo_property_block_progression_dimension_minimum_class_init (FoPropertyBlockProgressionDimensionMinimumClass *klass); static void fo_property_block_progression_dimension_minimum_finalize (GObject *object); static FoDatatype* fo_property_block_progression_dimension_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "block-progression-dimension-minimum"; static gpointer parent_class; /** * fo_property_block_progression_dimension_minimum_get_type: * * Register the #FoPropertyBlockProgressionDimensionMinimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBlockProgressionDimensionMinimum. **/ GType fo_property_block_progression_dimension_minimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBlockProgressionDimensionMinimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_block_progression_dimension_minimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBlockProgressionDimensionMinimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_block_progression_dimension_minimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_block_progression_dimension_minimum_init: * @block_progression_dimension_minimum: #FoPropertyBlockProgressionDimensionMinimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBlockProgressionDimensionMinimum. **/ void fo_property_block_progression_dimension_minimum_init (FoPropertyBlockProgressionDimensionMinimum *block_progression_dimension_minimum) { FO_PROPERTY (block_progression_dimension_minimum)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_block_progression_dimension_minimum_class_init: * @klass: #FoPropertyBlockProgressionDimensionMinimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBlockProgressionDimensionMinimumClass. **/ void fo_property_block_progression_dimension_minimum_class_init (FoPropertyBlockProgressionDimensionMinimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_block_progression_dimension_minimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_block_progression_dimension_minimum_validate; property_class->get_initial = fo_property_block_progression_dimension_minimum_get_initial; } /** * fo_property_block_progression_dimension_minimum_finalize: * @object: #FoPropertyBlockProgressionDimensionMinimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBlockProgressionDimensionMinimum. **/ void fo_property_block_progression_dimension_minimum_finalize (GObject *object) { FoPropertyBlockProgressionDimensionMinimum *block_progression_dimension_minimum; block_progression_dimension_minimum = FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_block_progression_dimension_minimum_new: * * Creates a new #FoPropertyBlockProgressionDimensionMinimum initialized to default value. * * Return value: the new #FoPropertyBlockProgressionDimensionMinimum. **/ FoProperty* fo_property_block_progression_dimension_minimum_new (void) { FoProperty* block_progression_dimension_minimum; block_progression_dimension_minimum = FO_PROPERTY (g_object_new (fo_property_block_progression_dimension_minimum_get_type (), NULL)); return block_progression_dimension_minimum; } /** * fo_property_block_progression_dimension_minimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_block_progression_dimension_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_block_progression_dimension_minimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_block_progression_dimension_minimum_get_initial (void) { static FoProperty *block_progression_dimension_minimum = NULL; if (block_progression_dimension_minimum == NULL) { block_progression_dimension_minimum = fo_property_block_progression_dimension_minimum_new (); } return block_progression_dimension_minimum; } xmlroff-0.6.2/libfo/property/fo-property-block-progression-dimension-minimum.h0000644000175000017500000000441010770023365024631 00000000000000/* Fo * fo-property-block-progression-dimension-minimum.h: 'block-progression-dimension-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM_H__ #define __FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM_H__ #include #include G_BEGIN_DECLS /* block-progression-dimension-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM (fo_property_block_progression_dimension_minimum_get_type ()) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM, FoPropertyBlockProgressionDimensionMinimum)) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM, FoPropertyBlockProgressionDimensionMinimumClass)) #define FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM)) #define FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM)) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM, FoPropertyBlockProgressionDimensionMinimumClass)) typedef struct _FoPropertyBlockProgressionDimensionMinimum FoPropertyBlockProgressionDimensionMinimum; typedef struct _FoPropertyBlockProgressionDimensionMinimumClass FoPropertyBlockProgressionDimensionMinimumClass; GType fo_property_block_progression_dimension_minimum_get_type (void) G_GNUC_CONST; FoProperty * fo_property_block_progression_dimension_minimum_new (void); FoProperty * fo_property_block_progression_dimension_minimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-block-progression-dimension-optimum.c0000644000175000017500000002116310660107746024653 00000000000000/* Fo * fo-property-block-progression-dimension-optimum.c: 'block-progression-dimension-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-block-progression-dimension-optimum.h" #include "property/fo-property-util.h" /* block-progression-dimension-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | */ /* Initial value: auto */ struct _FoPropertyBlockProgressionDimensionOptimum { FoProperty parent_instance; }; struct _FoPropertyBlockProgressionDimensionOptimumClass { FoPropertyClass parent_class; }; static void fo_property_block_progression_dimension_optimum_init (FoPropertyBlockProgressionDimensionOptimum *property_block_progression_dimension_optimum); static void fo_property_block_progression_dimension_optimum_class_init (FoPropertyBlockProgressionDimensionOptimumClass *klass); static void fo_property_block_progression_dimension_optimum_finalize (GObject *object); static FoDatatype* fo_property_block_progression_dimension_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "block-progression-dimension-optimum"; static gpointer parent_class; /** * fo_property_block_progression_dimension_optimum_get_type: * * Register the #FoPropertyBlockProgressionDimensionOptimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBlockProgressionDimensionOptimum. **/ GType fo_property_block_progression_dimension_optimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBlockProgressionDimensionOptimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_block_progression_dimension_optimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBlockProgressionDimensionOptimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_block_progression_dimension_optimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_block_progression_dimension_optimum_init: * @block_progression_dimension_optimum: #FoPropertyBlockProgressionDimensionOptimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBlockProgressionDimensionOptimum. **/ void fo_property_block_progression_dimension_optimum_init (FoPropertyBlockProgressionDimensionOptimum *block_progression_dimension_optimum) { FO_PROPERTY (block_progression_dimension_optimum)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_block_progression_dimension_optimum_class_init: * @klass: #FoPropertyBlockProgressionDimensionOptimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBlockProgressionDimensionOptimumClass. **/ void fo_property_block_progression_dimension_optimum_class_init (FoPropertyBlockProgressionDimensionOptimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_block_progression_dimension_optimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_block_progression_dimension_optimum_validate; property_class->get_initial = fo_property_block_progression_dimension_optimum_get_initial; } /** * fo_property_block_progression_dimension_optimum_finalize: * @object: #FoPropertyBlockProgressionDimensionOptimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBlockProgressionDimensionOptimum. **/ void fo_property_block_progression_dimension_optimum_finalize (GObject *object) { FoPropertyBlockProgressionDimensionOptimum *block_progression_dimension_optimum; block_progression_dimension_optimum = FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_block_progression_dimension_optimum_new: * * Creates a new #FoPropertyBlockProgressionDimensionOptimum initialized to default value. * * Return value: the new #FoPropertyBlockProgressionDimensionOptimum. **/ FoProperty* fo_property_block_progression_dimension_optimum_new (void) { FoProperty* block_progression_dimension_optimum; block_progression_dimension_optimum = FO_PROPERTY (g_object_new (fo_property_block_progression_dimension_optimum_get_type (), NULL)); return block_progression_dimension_optimum; } /** * fo_property_block_progression_dimension_optimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_block_progression_dimension_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_block_progression_dimension_optimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_block_progression_dimension_optimum_get_initial (void) { static FoProperty *block_progression_dimension_optimum = NULL; if (block_progression_dimension_optimum == NULL) { block_progression_dimension_optimum = fo_property_block_progression_dimension_optimum_new (); } return block_progression_dimension_optimum; } xmlroff-0.6.2/libfo/property/fo-property-block-progression-dimension-optimum.h0000644000175000017500000000441010770023365024650 00000000000000/* Fo * fo-property-block-progression-dimension-optimum.h: 'block-progression-dimension-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM_H__ #define __FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM_H__ #include #include G_BEGIN_DECLS /* block-progression-dimension-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM (fo_property_block_progression_dimension_optimum_get_type ()) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM, FoPropertyBlockProgressionDimensionOptimum)) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM, FoPropertyBlockProgressionDimensionOptimumClass)) #define FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM)) #define FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM)) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM, FoPropertyBlockProgressionDimensionOptimumClass)) typedef struct _FoPropertyBlockProgressionDimensionOptimum FoPropertyBlockProgressionDimensionOptimum; typedef struct _FoPropertyBlockProgressionDimensionOptimumClass FoPropertyBlockProgressionDimensionOptimumClass; GType fo_property_block_progression_dimension_optimum_get_type (void) G_GNUC_CONST; FoProperty * fo_property_block_progression_dimension_optimum_new (void); FoProperty * fo_property_block_progression_dimension_optimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-block-progression-dimension-maximum.c0000644000175000017500000001653110660107746024641 00000000000000/* Fo * fo-property-block-progression-dimension-maximum.c: 'block-progression-dimension-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-block-progression-dimension-maximum.h" #include "property/fo-property-util.h" /* block-progression-dimension-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: auto */ struct _FoPropertyBlockProgressionDimensionMaximum { FoProperty parent_instance; }; struct _FoPropertyBlockProgressionDimensionMaximumClass { FoPropertyClass parent_class; }; static void fo_property_block_progression_dimension_maximum_init (FoPropertyBlockProgressionDimensionMaximum *property_block_progression_dimension_maximum); static void fo_property_block_progression_dimension_maximum_class_init (FoPropertyBlockProgressionDimensionMaximumClass *klass); static void fo_property_block_progression_dimension_maximum_finalize (GObject *object); static FoDatatype* fo_property_block_progression_dimension_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "block-progression-dimension-maximum"; static gpointer parent_class; /** * fo_property_block_progression_dimension_maximum_get_type: * * Register the #FoPropertyBlockProgressionDimensionMaximum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBlockProgressionDimensionMaximum. **/ GType fo_property_block_progression_dimension_maximum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBlockProgressionDimensionMaximumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_block_progression_dimension_maximum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBlockProgressionDimensionMaximum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_block_progression_dimension_maximum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_block_progression_dimension_maximum_init: * @block_progression_dimension_maximum: #FoPropertyBlockProgressionDimensionMaximum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBlockProgressionDimensionMaximum. **/ void fo_property_block_progression_dimension_maximum_init (FoPropertyBlockProgressionDimensionMaximum *block_progression_dimension_maximum) { FO_PROPERTY (block_progression_dimension_maximum)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_block_progression_dimension_maximum_class_init: * @klass: #FoPropertyBlockProgressionDimensionMaximumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBlockProgressionDimensionMaximumClass. **/ void fo_property_block_progression_dimension_maximum_class_init (FoPropertyBlockProgressionDimensionMaximumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_block_progression_dimension_maximum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_block_progression_dimension_maximum_validate; property_class->get_initial = fo_property_block_progression_dimension_maximum_get_initial; } /** * fo_property_block_progression_dimension_maximum_finalize: * @object: #FoPropertyBlockProgressionDimensionMaximum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBlockProgressionDimensionMaximum. **/ void fo_property_block_progression_dimension_maximum_finalize (GObject *object) { FoPropertyBlockProgressionDimensionMaximum *block_progression_dimension_maximum; block_progression_dimension_maximum = FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_block_progression_dimension_maximum_new: * * Creates a new #FoPropertyBlockProgressionDimensionMaximum initialized to default value. * * Return value: the new #FoPropertyBlockProgressionDimensionMaximum. **/ FoProperty* fo_property_block_progression_dimension_maximum_new (void) { FoProperty* block_progression_dimension_maximum; block_progression_dimension_maximum = FO_PROPERTY (g_object_new (fo_property_block_progression_dimension_maximum_get_type (), NULL)); return block_progression_dimension_maximum; } /** * fo_property_block_progression_dimension_maximum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_block_progression_dimension_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_block_progression_dimension_maximum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_block_progression_dimension_maximum_get_initial (void) { static FoProperty *block_progression_dimension_maximum = NULL; if (block_progression_dimension_maximum == NULL) { block_progression_dimension_maximum = fo_property_block_progression_dimension_maximum_new (); } return block_progression_dimension_maximum; } xmlroff-0.6.2/libfo/property/fo-property-block-progression-dimension-maximum.h0000644000175000017500000000441010770023365024633 00000000000000/* Fo * fo-property-block-progression-dimension-maximum.h: 'block-progression-dimension-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM_H__ #define __FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM_H__ #include #include G_BEGIN_DECLS /* block-progression-dimension-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM (fo_property_block_progression_dimension_maximum_get_type ()) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM, FoPropertyBlockProgressionDimensionMaximum)) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM, FoPropertyBlockProgressionDimensionMaximumClass)) #define FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM)) #define FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM)) #define FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM, FoPropertyBlockProgressionDimensionMaximumClass)) typedef struct _FoPropertyBlockProgressionDimensionMaximum FoPropertyBlockProgressionDimensionMaximum; typedef struct _FoPropertyBlockProgressionDimensionMaximumClass FoPropertyBlockProgressionDimensionMaximumClass; GType fo_property_block_progression_dimension_maximum_get_type (void) G_GNUC_CONST; FoProperty * fo_property_block_progression_dimension_maximum_new (void); FoProperty * fo_property_block_progression_dimension_maximum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-after-color.c0000644000175000017500000001125210660107746021224 00000000000000/* Fo * fo-property-border-after-color.c: 'border-after-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-util.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-after-color.h" /* border-after-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ struct _FoPropertyBorderAfterColor { FoProperty parent_instance; }; struct _FoPropertyBorderAfterColorClass { FoPropertyClass parent_class; }; static void fo_property_border_after_color_init (FoPropertyBorderAfterColor *property_border_after_color); static void fo_property_border_after_color_class_init (FoPropertyBorderAfterColorClass *klass); static void fo_property_border_after_color_finalize (GObject *object); static const gchar class_name[] = "border-after-color"; static gpointer parent_class; /** * fo_property_border_after_color_get_type: * * Register the #FoPropertyBorderAfterColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderAfterColor. **/ GType fo_property_border_after_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderAfterColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_after_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderAfterColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_after_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_after_color_init: * @border_after_color: #FoPropertyBorderAfterColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderAfterColor. **/ void fo_property_border_after_color_init (FoPropertyBorderAfterColor *border_after_color) { FO_PROPERTY (border_after_color)->value = g_object_ref (fo_property_util_get_color_initial ()); } /** * fo_property_border_after_color_class_init: * @klass: #FoPropertyBorderAfterColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderAfterColorClass. **/ void fo_property_border_after_color_class_init (FoPropertyBorderAfterColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_after_color_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_enum; property_class->validate = fo_property_util_validate_color; property_class->get_initial = fo_property_border_after_color_get_initial; } /** * fo_property_border_after_color_finalize: * @object: #FoPropertyBorderAfterColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderAfterColor. **/ void fo_property_border_after_color_finalize (GObject *object) { FoPropertyBorderAfterColor *border_after_color; border_after_color = FO_PROPERTY_BORDER_AFTER_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_after_color_new: * * Creates a new #FoPropertyBorderAfterColor initialized to default value. * * Return value: the new #FoPropertyBorderAfterColor. **/ FoProperty* fo_property_border_after_color_new (void) { FoProperty* border_after_color; border_after_color = FO_PROPERTY (g_object_new (fo_property_border_after_color_get_type (), NULL)); return border_after_color; } /** * fo_property_border_after_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_after_color_get_initial (void) { static FoProperty *border_after_color = NULL; if (border_after_color == NULL) { border_after_color = fo_property_border_after_color_new (); } return border_after_color; } xmlroff-0.6.2/libfo/property/fo-property-border-after-color.h0000644000175000017500000000344510770023365021232 00000000000000/* Fo * fo-property-border-after-color.h: 'border-after-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_AFTER_COLOR_H__ #define __FO_PROPERTY_BORDER_AFTER_COLOR_H__ #include #include G_BEGIN_DECLS /* border-after-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ #define FO_TYPE_PROPERTY_BORDER_AFTER_COLOR (fo_property_border_after_color_get_type ()) #define FO_PROPERTY_BORDER_AFTER_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_AFTER_COLOR, FoPropertyBorderAfterColor)) #define FO_PROPERTY_BORDER_AFTER_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_AFTER_COLOR, FoPropertyBorderAfterColorClass)) #define FO_IS_PROPERTY_BORDER_AFTER_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_AFTER_COLOR)) #define FO_IS_PROPERTY_BORDER_AFTER_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_AFTER_COLOR)) #define FO_PROPERTY_BORDER_AFTER_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_AFTER_COLOR, FoPropertyBorderAfterColorClass)) typedef struct _FoPropertyBorderAfterColor FoPropertyBorderAfterColor; typedef struct _FoPropertyBorderAfterColorClass FoPropertyBorderAfterColorClass; GType fo_property_border_after_color_get_type (void) G_GNUC_CONST; FoProperty* fo_property_border_after_color_new (void); FoProperty* fo_property_border_after_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_AFTER_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-after-precedence.c0000644000175000017500000002022610660107746022204 00000000000000/* Fo * fo-property-border-after-precedence.c: 'border-after-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-after-precedence.h" #include "property/fo-property-util.h" /* border-after-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | | inherit */ /* Initial value: fo:table: 6, fo:table-cell: 5, fo:table-column: 4, fo:table-row: 3, fo:table-body: 2, fo:table-header: 1, fo:table-footer: 0 */ struct _FoPropertyBorderAfterPrecedence { FoProperty parent_instance; }; struct _FoPropertyBorderAfterPrecedenceClass { FoPropertyClass parent_class; }; static void fo_property_border_after_precedence_init (FoPropertyBorderAfterPrecedence *property_border_after_precedence); static void fo_property_border_after_precedence_class_init (FoPropertyBorderAfterPrecedenceClass *klass); static void fo_property_border_after_precedence_finalize (GObject *object); static FoDatatype* fo_property_border_after_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "border-after-precedence"; static gpointer parent_class; /** * fo_property_border_after_precedence_get_type: * * Register the #FoPropertyBorderAfterPrecedence type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderAfterPrecedence. **/ GType fo_property_border_after_precedence_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderAfterPrecedenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_after_precedence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderAfterPrecedence), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_after_precedence_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_after_precedence_init: * @border_after_precedence: #FoPropertyBorderAfterPrecedence object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderAfterPrecedence. **/ void fo_property_border_after_precedence_init (FoPropertyBorderAfterPrecedence *border_after_precedence) { FO_PROPERTY (border_after_precedence)->value = NULL; } /** * fo_property_border_after_precedence_class_init: * @klass: #FoPropertyBorderAfterPrecedenceClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderAfterPrecedenceClass. **/ void fo_property_border_after_precedence_class_init (FoPropertyBorderAfterPrecedenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_after_precedence_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_force_enum; property_class->validate = fo_property_border_after_precedence_validate; property_class->get_initial = fo_property_border_after_precedence_get_initial; } /** * fo_property_border_after_precedence_finalize: * @object: #FoPropertyBorderAfterPrecedence object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderAfterPrecedence. **/ void fo_property_border_after_precedence_finalize (GObject *object) { FoPropertyBorderAfterPrecedence *border_after_precedence; border_after_precedence = FO_PROPERTY_BORDER_AFTER_PRECEDENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_after_precedence_new: * * Creates a new #FoPropertyBorderAfterPrecedence initialized to default value. * * Return value: the new #FoPropertyBorderAfterPrecedence. **/ FoProperty* fo_property_border_after_precedence_new (void) { FoProperty* border_after_precedence; border_after_precedence = FO_PROPERTY (g_object_new (fo_property_border_after_precedence_get_type (), NULL)); return border_after_precedence; } /** * fo_property_border_after_precedence_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_border_after_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_FORCE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_force_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_force_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_border_after_precedence_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_after_precedence_get_initial (void) { static FoProperty *border_after_precedence = NULL; if (border_after_precedence == NULL) { border_after_precedence = fo_property_border_after_precedence_new (); } return border_after_precedence; } xmlroff-0.6.2/libfo/property/fo-property-border-after-precedence.h0000644000175000017500000000403110770023365022201 00000000000000/* Fo * fo-property-border-after-precedence.h: 'border-after-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_AFTER_PRECEDENCE_H__ #define __FO_PROPERTY_BORDER_AFTER_PRECEDENCE_H__ #include #include G_BEGIN_DECLS /* border-after-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | | inherit */ /* Initial value: fo:table: 6, fo:table-cell: 5, fo:table-column: 4, fo:table-row: 3, fo:table-body: 2, fo:table-header: 1, fo:table-footer: 0 */ #define FO_TYPE_PROPERTY_BORDER_AFTER_PRECEDENCE (fo_property_border_after_precedence_get_type ()) #define FO_PROPERTY_BORDER_AFTER_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_AFTER_PRECEDENCE, FoPropertyBorderAfterPrecedence)) #define FO_PROPERTY_BORDER_AFTER_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_AFTER_PRECEDENCE, FoPropertyBorderAfterPrecedenceClass)) #define FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_AFTER_PRECEDENCE)) #define FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_AFTER_PRECEDENCE)) #define FO_PROPERTY_BORDER_AFTER_PRECEDENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_AFTER_PRECEDENCE, FoPropertyBorderAfterPrecedenceClass)) typedef struct _FoPropertyBorderAfterPrecedence FoPropertyBorderAfterPrecedence; typedef struct _FoPropertyBorderAfterPrecedenceClass FoPropertyBorderAfterPrecedenceClass; GType fo_property_border_after_precedence_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_after_precedence_new (void); FoProperty * fo_property_border_after_precedence_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_AFTER_PRECEDENCE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-after-style.c0000644000175000017500000001122510660107747021247 00000000000000/* Fo * fo-property-border-after-style.c: 'border-after-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING! for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-after-style.h" #include "property/fo-property-util.h" /* border-after-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ struct _FoPropertyBorderAfterStyle { FoProperty parent_instance; }; struct _FoPropertyBorderAfterStyleClass { FoPropertyClass parent_class; }; static void fo_property_border_after_style_init (FoPropertyBorderAfterStyle *property_border_after_style); static void fo_property_border_after_style_class_init (FoPropertyBorderAfterStyleClass *klass); static void fo_property_border_after_style_finalize (GObject *object); static const gchar class_name[] = "border-after-style"; static gpointer parent_class; /** * fo_property_border_after_style_get_type: * * Register the #FoPropertyBorderAfterStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderAfterStyle. **/ GType fo_property_border_after_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderAfterStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_after_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderAfterStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_after_style_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_after_style_init: * @border_after_style: #FoPropertyBorderAfterStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderAfterStyle. **/ void fo_property_border_after_style_init (FoPropertyBorderAfterStyle *border_after_style) { FO_PROPERTY (border_after_style)->value = g_object_ref (fo_property_util_get_style_initial ()); } /** * fo_property_border_after_style_class_init: * @klass: #FoPropertyBorderAfterStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderAfterStyleClass. **/ void fo_property_border_after_style_class_init (FoPropertyBorderAfterStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_after_style_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_style_enum; property_class->validate = fo_property_util_validate_style; property_class->get_initial = fo_property_border_after_style_get_initial; } /** * fo_property_border_after_style_finalize: * @object: #FoPropertyBorderAfterStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderAfterStyle. **/ void fo_property_border_after_style_finalize (GObject *object) { FoPropertyBorderAfterStyle *border_after_style; border_after_style = FO_PROPERTY_BORDER_AFTER_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_after_style_new: * * Creates a new #FoPropertyBorderAfterStyle initialized to default value. * * Return value: the new #FoPropertyBorderAfterStyle. **/ FoProperty* fo_property_border_after_style_new (void) { FoProperty* border_after_style; border_after_style = FO_PROPERTY (g_object_new (fo_property_border_after_style_get_type (), NULL)); return border_after_style; } /** * fo_property_border_after_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_after_style_get_initial (void) { static FoProperty *border_after_style = NULL; if (border_after_style == NULL) { border_after_style = fo_property_border_after_style_new (); } return border_after_style; } xmlroff-0.6.2/libfo/property/fo-property-border-after-style.h0000644000175000017500000000342210770023365021247 00000000000000/* Fo * fo-property-border-after-style.h: 'border-after-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_AFTER_STYLE_H__ #define __FO_PROPERTY_BORDER_AFTER_STYLE_H__ #include #include G_BEGIN_DECLS /* border-after-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_BORDER_AFTER_STYLE (fo_property_border_after_style_get_type ()) #define FO_PROPERTY_BORDER_AFTER_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_AFTER_STYLE, FoPropertyBorderAfterStyle)) #define FO_PROPERTY_BORDER_AFTER_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_AFTER_STYLE, FoPropertyBorderAfterStyleClass)) #define FO_IS_PROPERTY_BORDER_AFTER_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_AFTER_STYLE)) #define FO_IS_PROPERTY_BORDER_AFTER_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_AFTER_STYLE)) #define FO_PROPERTY_BORDER_AFTER_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_AFTER_STYLE, FoPropertyBorderAfterStyleClass)) typedef struct _FoPropertyBorderAfterStyle FoPropertyBorderAfterStyle; typedef struct _FoPropertyBorderAfterStyleClass FoPropertyBorderAfterStyleClass; GType fo_property_border_after_style_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_after_style_new (void); FoProperty * fo_property_border_after_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_AFTER_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-after-width.c0000644000175000017500000001125510660107746021230 00000000000000/* Fo * fo-property-border-after-width.c: 'border-after-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-after-width.h" #include "property/fo-property-util.h" /* border-after-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: medium */ struct _FoPropertyBorderAfterWidth { FoProperty parent_instance; }; struct _FoPropertyBorderAfterWidthClass { FoPropertyClass parent_class; }; static void fo_property_border_after_width_init (FoPropertyBorderAfterWidth *property_border_after_width); static void fo_property_border_after_width_class_init (FoPropertyBorderAfterWidthClass *klass); static void fo_property_border_after_width_finalize (GObject *object); static const gchar class_name[] = "border-after-width"; static gpointer parent_class; /** * fo_property_border_after_width_get_type: * * Register the #FoPropertyBorderAfterWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderAfterWidth. **/ GType fo_property_border_after_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderAfterWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_after_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderAfterWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_after_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_after_width_init: * @border_after_width: #FoPropertyBorderAfterWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderAfterWidth. **/ void fo_property_border_after_width_init (FoPropertyBorderAfterWidth *border_after_width) { FO_PROPERTY (border_after_width)->value = g_object_ref (fo_property_util_get_width_initial ()); } /** * fo_property_border_after_width_class_init: * @klass: #FoPropertyBorderAfterWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderAfterWidthClass. **/ void fo_property_border_after_width_class_init (FoPropertyBorderAfterWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_after_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_width_enum; property_class->validate = fo_property_util_validate_width; property_class->get_initial = fo_property_border_after_width_get_initial; } /** * fo_property_border_after_width_finalize: * @object: #FoPropertyBorderAfterWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderAfterWidth. **/ void fo_property_border_after_width_finalize (GObject *object) { FoPropertyBorderAfterWidth *border_after_width; border_after_width = FO_PROPERTY_BORDER_AFTER_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_after_width_new: * * Creates a new #FoPropertyBorderAfterWidth initialized to default value. * * Return value: the new #FoPropertyBorderAfterWidth. **/ FoProperty* fo_property_border_after_width_new (void) { FoProperty* border_after_width; border_after_width = FO_PROPERTY (g_object_new (fo_property_border_after_width_get_type (), NULL)); return border_after_width; } /** * fo_property_border_after_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_after_width_get_initial (void) { static FoProperty *border_after_width = NULL; if (border_after_width == NULL) { border_after_width = fo_property_border_after_width_new (); } return border_after_width; } xmlroff-0.6.2/libfo/property/fo-property-border-after-width.h0000644000175000017500000000345310770023365021232 00000000000000/* Fo * fo-property-border-after-width.h: 'border-after-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_AFTER_WIDTH_H__ #define __FO_PROPERTY_BORDER_AFTER_WIDTH_H__ #include #include G_BEGIN_DECLS /* border-after-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: medium */ #define FO_TYPE_PROPERTY_BORDER_AFTER_WIDTH (fo_property_border_after_width_get_type ()) #define FO_PROPERTY_BORDER_AFTER_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_AFTER_WIDTH, FoPropertyBorderAfterWidth)) #define FO_PROPERTY_BORDER_AFTER_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_AFTER_WIDTH, FoPropertyBorderAfterWidthClass)) #define FO_IS_PROPERTY_BORDER_AFTER_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_AFTER_WIDTH)) #define FO_IS_PROPERTY_BORDER_AFTER_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_AFTER_WIDTH)) #define FO_PROPERTY_BORDER_AFTER_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_AFTER_WIDTH, FoPropertyBorderAfterWidthClass)) typedef struct _FoPropertyBorderAfterWidth FoPropertyBorderAfterWidth; typedef struct _FoPropertyBorderAfterWidthClass FoPropertyBorderAfterWidthClass; GType fo_property_border_after_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_after_width_new (void); FoProperty * fo_property_border_after_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_AFTER_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-before-color.c0000644000175000017500000001134510660107747021371 00000000000000/* Fo * fo-property-border-before-color.c: 'border-before-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-before-color.h" #include "property/fo-property-util.h" /* border-before-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ struct _FoPropertyBorderBeforeColor { FoProperty parent_instance; }; struct _FoPropertyBorderBeforeColorClass { FoPropertyClass parent_class; }; static void fo_property_border_before_color_init (FoPropertyBorderBeforeColor *property_border_before_color); static void fo_property_border_before_color_class_init (FoPropertyBorderBeforeColorClass *klass); static void fo_property_border_before_color_finalize (GObject *object); static const gchar class_name[] = "border-before-color"; static gpointer parent_class; /** * fo_property_border_before_color_get_type: * * Register the #FoPropertyBorderBeforeColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderBeforeColor. **/ GType fo_property_border_before_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderBeforeColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_before_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderBeforeColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_before_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_before_color_init: * @border_before_color: #FoPropertyBorderBeforeColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderBeforeColor. **/ void fo_property_border_before_color_init (FoPropertyBorderBeforeColor *border_before_color) { FO_PROPERTY (border_before_color)->value = g_object_ref (fo_property_util_get_color_initial ()); } /** * fo_property_border_before_color_class_init: * @klass: #FoPropertyBorderBeforeColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderBeforeColorClass. **/ void fo_property_border_before_color_class_init (FoPropertyBorderBeforeColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_before_color_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_enum; property_class->validate = fo_property_util_validate_color; property_class->get_initial = fo_property_border_before_color_get_initial; } /** * fo_property_border_before_color_finalize: * @object: #FoPropertyBorderBeforeColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderBeforeColor. **/ void fo_property_border_before_color_finalize (GObject *object) { FoPropertyBorderBeforeColor *border_before_color; border_before_color = FO_PROPERTY_BORDER_BEFORE_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_before_color_new: * * Creates a new #FoPropertyBorderBeforeColor initialized to default value. * * Return value: the new #FoPropertyBorderBeforeColor. **/ FoProperty* fo_property_border_before_color_new (void) { FoProperty* border_before_color; border_before_color = FO_PROPERTY (g_object_new (fo_property_border_before_color_get_type (), NULL)); return border_before_color; } /** * fo_property_border_before_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_before_color_get_initial (void) { static FoProperty *border_before_color = NULL; if (border_before_color == NULL) { border_before_color = fo_property_border_before_color_new (); } return border_before_color; } xmlroff-0.6.2/libfo/property/fo-property-border-before-color.h0000644000175000017500000000350410770023365021367 00000000000000/* Fo * fo-property-border-before-color.h: 'border-before-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_BEFORE_COLOR_H__ #define __FO_PROPERTY_BORDER_BEFORE_COLOR_H__ #include #include G_BEGIN_DECLS /* border-before-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ #define FO_TYPE_PROPERTY_BORDER_BEFORE_COLOR (fo_property_border_before_color_get_type ()) #define FO_PROPERTY_BORDER_BEFORE_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_BEFORE_COLOR, FoPropertyBorderBeforeColor)) #define FO_PROPERTY_BORDER_BEFORE_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_BEFORE_COLOR, FoPropertyBorderBeforeColorClass)) #define FO_IS_PROPERTY_BORDER_BEFORE_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_BEFORE_COLOR)) #define FO_IS_PROPERTY_BORDER_BEFORE_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_BEFORE_COLOR)) #define FO_PROPERTY_BORDER_BEFORE_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_BEFORE_COLOR, FoPropertyBorderBeforeColorClass)) typedef struct _FoPropertyBorderBeforeColor FoPropertyBorderBeforeColor; typedef struct _FoPropertyBorderBeforeColorClass FoPropertyBorderBeforeColorClass; GType fo_property_border_before_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_before_color_new (void); FoProperty * fo_property_border_before_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_BEFORE_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-before-precedence.c0000644000175000017500000002033110660107747022343 00000000000000/* Fo * fo-property-border-before-precedence.c: 'border-before-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-before-precedence.h" #include "property/fo-property-util.h" /* border-before-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | | inherit */ /* Initial value: fo:table: 6, fo:table-cell: 5, fo:table-column: 4, fo:table-row: 3, fo:table-body: 2, fo:table-header: 1, fo:table-footer: 0 */ struct _FoPropertyBorderBeforePrecedence { FoProperty parent_instance; }; struct _FoPropertyBorderBeforePrecedenceClass { FoPropertyClass parent_class; }; static void fo_property_border_before_precedence_init (FoPropertyBorderBeforePrecedence *property_border_before_precedence); static void fo_property_border_before_precedence_class_init (FoPropertyBorderBeforePrecedenceClass *klass); static void fo_property_border_before_precedence_finalize (GObject *object); static FoDatatype* fo_property_border_before_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "border-before-precedence"; static gpointer parent_class; /** * fo_property_border_before_precedence_get_type: * * Register the #FoPropertyBorderBeforePrecedence type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderBeforePrecedence. **/ GType fo_property_border_before_precedence_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderBeforePrecedenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_before_precedence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderBeforePrecedence), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_before_precedence_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_before_precedence_init: * @border_before_precedence: #FoPropertyBorderBeforePrecedence object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderBeforePrecedence. **/ void fo_property_border_before_precedence_init (FoPropertyBorderBeforePrecedence *border_before_precedence) { FO_PROPERTY (border_before_precedence)->value = NULL; } /** * fo_property_border_before_precedence_class_init: * @klass: #FoPropertyBorderBeforePrecedenceClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderBeforePrecedenceClass. **/ void fo_property_border_before_precedence_class_init (FoPropertyBorderBeforePrecedenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_before_precedence_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_force_enum; property_class->validate = fo_property_border_before_precedence_validate; property_class->get_initial = fo_property_border_before_precedence_get_initial; } /** * fo_property_border_before_precedence_finalize: * @object: #FoPropertyBorderBeforePrecedence object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderBeforePrecedence. **/ void fo_property_border_before_precedence_finalize (GObject *object) { FoPropertyBorderBeforePrecedence *border_before_precedence; border_before_precedence = FO_PROPERTY_BORDER_BEFORE_PRECEDENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_before_precedence_new: * * Creates a new #FoPropertyBorderBeforePrecedence initialized to default value. * * Return value: the new #FoPropertyBorderBeforePrecedence. **/ FoProperty* fo_property_border_before_precedence_new (void) { FoProperty* border_before_precedence; border_before_precedence = FO_PROPERTY (g_object_new (fo_property_border_before_precedence_get_type (), NULL)); return border_before_precedence; } /** * fo_property_border_before_precedence_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_border_before_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_FORCE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_force_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_force_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_border_before_precedence_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_before_precedence_get_initial (void) { static FoProperty *border_before_precedence = NULL; if (border_before_precedence == NULL) { border_before_precedence = fo_property_border_before_precedence_new (); } return border_before_precedence; } xmlroff-0.6.2/libfo/property/fo-property-border-before-precedence.h0000644000175000017500000000406510770023365022351 00000000000000/* Fo * fo-property-border-before-precedence.h: 'border-before-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_BEFORE_PRECEDENCE_H__ #define __FO_PROPERTY_BORDER_BEFORE_PRECEDENCE_H__ #include #include G_BEGIN_DECLS /* border-before-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | | inherit */ /* Initial value: fo:table: 6, fo:table-cell: 5, fo:table-column: 4, fo:table-row: 3, fo:table-body: 2, fo:table-header: 1, fo:table-footer: 0 */ #define FO_TYPE_PROPERTY_BORDER_BEFORE_PRECEDENCE (fo_property_border_before_precedence_get_type ()) #define FO_PROPERTY_BORDER_BEFORE_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_BEFORE_PRECEDENCE, FoPropertyBorderBeforePrecedence)) #define FO_PROPERTY_BORDER_BEFORE_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_BEFORE_PRECEDENCE, FoPropertyBorderBeforePrecedenceClass)) #define FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_BEFORE_PRECEDENCE)) #define FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_BEFORE_PRECEDENCE)) #define FO_PROPERTY_BORDER_BEFORE_PRECEDENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_BEFORE_PRECEDENCE, FoPropertyBorderBeforePrecedenceClass)) typedef struct _FoPropertyBorderBeforePrecedence FoPropertyBorderBeforePrecedence; typedef struct _FoPropertyBorderBeforePrecedenceClass FoPropertyBorderBeforePrecedenceClass; GType fo_property_border_before_precedence_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_before_precedence_new (void); FoProperty * fo_property_border_before_precedence_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_BEFORE_PRECEDENCE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-before-style.c0000644000175000017500000001131710660107746021411 00000000000000/* Fo * fo-property-border-before-style.c: 'border-before-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-before-style.h" #include "property/fo-property-util.h" /* border-before-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ struct _FoPropertyBorderBeforeStyle { FoProperty parent_instance; }; struct _FoPropertyBorderBeforeStyleClass { FoPropertyClass parent_class; }; static void fo_property_border_before_style_init (FoPropertyBorderBeforeStyle *property_border_before_style); static void fo_property_border_before_style_class_init (FoPropertyBorderBeforeStyleClass *klass); static void fo_property_border_before_style_finalize (GObject *object); static const gchar class_name[] = "border-before-style"; static gpointer parent_class; /** * fo_property_border_before_style_get_type: * * Register the #FoPropertyBorderBeforeStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderBeforeStyle. **/ GType fo_property_border_before_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderBeforeStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_before_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderBeforeStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_before_style_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_before_style_init: * @border_before_style: #FoPropertyBorderBeforeStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderBeforeStyle. **/ void fo_property_border_before_style_init (FoPropertyBorderBeforeStyle *border_before_style) { FO_PROPERTY (border_before_style)->value = g_object_ref (fo_property_util_get_style_initial ()); } /** * fo_property_border_before_style_class_init: * @klass: #FoPropertyBorderBeforeStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderBeforeStyleClass. **/ void fo_property_border_before_style_class_init (FoPropertyBorderBeforeStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_before_style_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_style_enum; property_class->validate = fo_property_util_validate_style; property_class->get_initial = fo_property_border_before_style_get_initial; } /** * fo_property_border_before_style_finalize: * @object: #FoPropertyBorderBeforeStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderBeforeStyle. **/ void fo_property_border_before_style_finalize (GObject *object) { FoPropertyBorderBeforeStyle *border_before_style; border_before_style = FO_PROPERTY_BORDER_BEFORE_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_before_style_new: * * Creates a new #FoPropertyBorderBeforeStyle initialized to default value. * * Return value: the new #FoPropertyBorderBeforeStyle. **/ FoProperty* fo_property_border_before_style_new (void) { FoProperty* border_before_style; border_before_style = FO_PROPERTY (g_object_new (fo_property_border_before_style_get_type (), NULL)); return border_before_style; } /** * fo_property_border_before_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_before_style_get_initial (void) { static FoProperty *border_before_style = NULL; if (border_before_style == NULL) { border_before_style = fo_property_border_before_style_new (); } return border_before_style; } xmlroff-0.6.2/libfo/property/fo-property-border-before-style.h0000644000175000017500000000345610770023365021417 00000000000000/* Fo * fo-property-border-before-style.h: 'border-before-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_BEFORE_STYLE_H__ #define __FO_PROPERTY_BORDER_BEFORE_STYLE_H__ #include #include G_BEGIN_DECLS /* border-before-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_BORDER_BEFORE_STYLE (fo_property_border_before_style_get_type ()) #define FO_PROPERTY_BORDER_BEFORE_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_BEFORE_STYLE, FoPropertyBorderBeforeStyle)) #define FO_PROPERTY_BORDER_BEFORE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_BEFORE_STYLE, FoPropertyBorderBeforeStyleClass)) #define FO_IS_PROPERTY_BORDER_BEFORE_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_BEFORE_STYLE)) #define FO_IS_PROPERTY_BORDER_BEFORE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_BEFORE_STYLE)) #define FO_PROPERTY_BORDER_BEFORE_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_BEFORE_STYLE, FoPropertyBorderBeforeStyleClass)) typedef struct _FoPropertyBorderBeforeStyle FoPropertyBorderBeforeStyle; typedef struct _FoPropertyBorderBeforeStyleClass FoPropertyBorderBeforeStyleClass; GType fo_property_border_before_style_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_before_style_new (void); FoProperty * fo_property_border_before_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_BEFORE_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-before-width.c0000644000175000017500000001135010660107747021366 00000000000000/* Fo * fo-property-border-before-width.c: 'border-before-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-before-width.h" #include "property/fo-property-util.h" /* border-before-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: medium */ struct _FoPropertyBorderBeforeWidth { FoProperty parent_instance; }; struct _FoPropertyBorderBeforeWidthClass { FoPropertyClass parent_class; }; static void fo_property_border_before_width_init (FoPropertyBorderBeforeWidth *property_border_before_width); static void fo_property_border_before_width_class_init (FoPropertyBorderBeforeWidthClass *klass); static void fo_property_border_before_width_finalize (GObject *object); static const gchar class_name[] = "border-before-width"; static gpointer parent_class; /** * fo_property_border_before_width_get_type: * * Register the #FoPropertyBorderBeforeWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderBeforeWidth. **/ GType fo_property_border_before_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderBeforeWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_before_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderBeforeWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_before_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_before_width_init: * @border_before_width: #FoPropertyBorderBeforeWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderBeforeWidth. **/ void fo_property_border_before_width_init (FoPropertyBorderBeforeWidth *border_before_width) { FO_PROPERTY (border_before_width)->value = g_object_ref (fo_property_util_get_width_initial ()); } /** * fo_property_border_before_width_class_init: * @klass: #FoPropertyBorderBeforeWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderBeforeWidthClass. **/ void fo_property_border_before_width_class_init (FoPropertyBorderBeforeWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_before_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_width_enum; property_class->validate = fo_property_util_validate_width; property_class->get_initial = fo_property_border_before_width_get_initial; } /** * fo_property_border_before_width_finalize: * @object: #FoPropertyBorderBeforeWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderBeforeWidth. **/ void fo_property_border_before_width_finalize (GObject *object) { FoPropertyBorderBeforeWidth *border_before_width; border_before_width = FO_PROPERTY_BORDER_BEFORE_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_before_width_new: * * Creates a new #FoPropertyBorderBeforeWidth initialized to default value. * * Return value: the new #FoPropertyBorderBeforeWidth. **/ FoProperty* fo_property_border_before_width_new (void) { FoProperty* border_before_width; border_before_width = FO_PROPERTY (g_object_new (fo_property_border_before_width_get_type (), NULL)); return border_before_width; } /** * fo_property_border_before_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_before_width_get_initial (void) { static FoProperty *border_before_width = NULL; if (border_before_width == NULL) { border_before_width = fo_property_border_before_width_new (); } return border_before_width; } xmlroff-0.6.2/libfo/property/fo-property-border-before-width.h0000644000175000017500000000350710770023365021373 00000000000000/* Fo * fo-property-border-before-width.h: 'border-before-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_BEFORE_WIDTH_H__ #define __FO_PROPERTY_BORDER_BEFORE_WIDTH_H__ #include #include G_BEGIN_DECLS /* border-before-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: medium */ #define FO_TYPE_PROPERTY_BORDER_BEFORE_WIDTH (fo_property_border_before_width_get_type ()) #define FO_PROPERTY_BORDER_BEFORE_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_BEFORE_WIDTH, FoPropertyBorderBeforeWidth)) #define FO_PROPERTY_BORDER_BEFORE_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_BEFORE_WIDTH, FoPropertyBorderBeforeWidthClass)) #define FO_IS_PROPERTY_BORDER_BEFORE_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_BEFORE_WIDTH)) #define FO_IS_PROPERTY_BORDER_BEFORE_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_BEFORE_WIDTH)) #define FO_PROPERTY_BORDER_BEFORE_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_BEFORE_WIDTH, FoPropertyBorderBeforeWidthClass)) typedef struct _FoPropertyBorderBeforeWidth FoPropertyBorderBeforeWidth; typedef struct _FoPropertyBorderBeforeWidthClass FoPropertyBorderBeforeWidthClass; GType fo_property_border_before_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_before_width_new (void); FoProperty * fo_property_border_before_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_BEFORE_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-bottom.c0000644000175000017500000001066610660107746020323 00000000000000/* Fo * fo-property-border-bottom.c: 'border-bottom' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-bottom.h" #include "property/fo-property-util.h" /* border-bottom */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ struct _FoPropertyBorderBottom { FoProperty parent_instance; }; struct _FoPropertyBorderBottomClass { FoPropertyClass parent_class; }; static void fo_property_border_bottom_init (FoPropertyBorderBottom *property_border_bottom); static void fo_property_border_bottom_class_init (FoPropertyBorderBottomClass *klass); static void fo_property_border_bottom_finalize (GObject *object); static const gchar class_name[] = "border-bottom"; static gpointer parent_class; /** * fo_property_border_bottom_get_type: * * Register the #FoPropertyBorderBottom type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderBottom. **/ GType fo_property_border_bottom_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderBottomClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_bottom_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderBottom), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_bottom_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_bottom_init: * @border_bottom: #FoPropertyBorderBottom object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderBottom. **/ void fo_property_border_bottom_init (FoPropertyBorderBottom *border_bottom) { FO_PROPERTY (border_bottom)->value = NULL; } /** * fo_property_border_bottom_class_init: * @klass: #FoPropertyBorderBottomClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderBottomClass. **/ void fo_property_border_bottom_class_init (FoPropertyBorderBottomClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_bottom_finalize; property_class->expr_eval = fo_expr_wsc_eval; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_wsc_enum; property_class->validate = fo_property_util_validate_wsc; property_class->get_initial = fo_property_border_bottom_get_initial; } /** * fo_property_border_bottom_finalize: * @object: #FoPropertyBorderBottom object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderBottom. **/ void fo_property_border_bottom_finalize (GObject *object) { FoPropertyBorderBottom *border_bottom; border_bottom = FO_PROPERTY_BORDER_BOTTOM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_bottom_new: * * Creates a new #FoPropertyBorderBottom initialized to default value. * * Return value: the new #FoPropertyBorderBottom. **/ FoProperty* fo_property_border_bottom_new (void) { FoProperty* border_bottom; border_bottom = FO_PROPERTY (g_object_new (fo_property_border_bottom_get_type (), NULL)); return border_bottom; } /** * fo_property_border_bottom_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_bottom_get_initial (void) { static FoProperty *border_bottom = NULL; if (border_bottom == NULL) { border_bottom = fo_property_border_bottom_new (); } return border_bottom; } xmlroff-0.6.2/libfo/property/fo-property-border-bottom.h0000644000175000017500000000330710770023365020316 00000000000000/* Fo * fo-property-border-bottom.h: 'border-bottom' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_BOTTOM_H__ #define __FO_PROPERTY_BORDER_BOTTOM_H__ #include #include G_BEGIN_DECLS /* border-bottom */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ #define FO_TYPE_PROPERTY_BORDER_BOTTOM (fo_property_border_bottom_get_type ()) #define FO_PROPERTY_BORDER_BOTTOM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_BOTTOM, FoPropertyBorderBottom)) #define FO_PROPERTY_BORDER_BOTTOM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_BOTTOM, FoPropertyBorderBottomClass)) #define FO_IS_PROPERTY_BORDER_BOTTOM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_BOTTOM)) #define FO_IS_PROPERTY_BORDER_BOTTOM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_BOTTOM)) #define FO_PROPERTY_BORDER_BOTTOM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_BOTTOM, FoPropertyBorderBottomClass)) typedef struct _FoPropertyBorderBottom FoPropertyBorderBottom; typedef struct _FoPropertyBorderBottomClass FoPropertyBorderBottomClass; GType fo_property_border_bottom_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_bottom_new (void); FoProperty * fo_property_border_bottom_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_BOTTOM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-bottom-color.c0000644000175000017500000001134510660107746021432 00000000000000/* Fo * fo-property-border-bottom-color.c: 'border-bottom-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-bottom-color.h" #include "property/fo-property-util.h" /* border-bottom-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ struct _FoPropertyBorderBottomColor { FoProperty parent_instance; }; struct _FoPropertyBorderBottomColorClass { FoPropertyClass parent_class; }; static void fo_property_border_bottom_color_init (FoPropertyBorderBottomColor *property_border_bottom_color); static void fo_property_border_bottom_color_class_init (FoPropertyBorderBottomColorClass *klass); static void fo_property_border_bottom_color_finalize (GObject *object); static const gchar class_name[] = "border-bottom-color"; static gpointer parent_class; /** * fo_property_border_bottom_color_get_type: * * Register the #FoPropertyBorderBottomColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderBottomColor. **/ GType fo_property_border_bottom_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderBottomColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_bottom_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderBottomColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_bottom_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_bottom_color_init: * @border_bottom_color: #FoPropertyBorderBottomColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderBottomColor. **/ void fo_property_border_bottom_color_init (FoPropertyBorderBottomColor *border_bottom_color) { FO_PROPERTY (border_bottom_color)->value = g_object_ref (fo_property_util_get_color_initial ()); } /** * fo_property_border_bottom_color_class_init: * @klass: #FoPropertyBorderBottomColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderBottomColorClass. **/ void fo_property_border_bottom_color_class_init (FoPropertyBorderBottomColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_bottom_color_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_enum; property_class->validate = fo_property_util_validate_color; property_class->get_initial = fo_property_border_bottom_color_get_initial; } /** * fo_property_border_bottom_color_finalize: * @object: #FoPropertyBorderBottomColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderBottomColor. **/ void fo_property_border_bottom_color_finalize (GObject *object) { FoPropertyBorderBottomColor *border_bottom_color; border_bottom_color = FO_PROPERTY_BORDER_BOTTOM_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_bottom_color_new: * * Creates a new #FoPropertyBorderBottomColor initialized to default value. * * Return value: the new #FoPropertyBorderBottomColor. **/ FoProperty* fo_property_border_bottom_color_new (void) { FoProperty* border_bottom_color; border_bottom_color = FO_PROPERTY (g_object_new (fo_property_border_bottom_color_get_type (), NULL)); return border_bottom_color; } /** * fo_property_border_bottom_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_bottom_color_get_initial (void) { static FoProperty *border_bottom_color = NULL; if (border_bottom_color == NULL) { border_bottom_color = fo_property_border_bottom_color_new (); } return border_bottom_color; } xmlroff-0.6.2/libfo/property/fo-property-border-bottom-color.h0000644000175000017500000000350410770023365021431 00000000000000/* Fo * fo-property-border-bottom-color.h: 'border-bottom-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_BOTTOM_COLOR_H__ #define __FO_PROPERTY_BORDER_BOTTOM_COLOR_H__ #include #include G_BEGIN_DECLS /* border-bottom-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ #define FO_TYPE_PROPERTY_BORDER_BOTTOM_COLOR (fo_property_border_bottom_color_get_type ()) #define FO_PROPERTY_BORDER_BOTTOM_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_BOTTOM_COLOR, FoPropertyBorderBottomColor)) #define FO_PROPERTY_BORDER_BOTTOM_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_BOTTOM_COLOR, FoPropertyBorderBottomColorClass)) #define FO_IS_PROPERTY_BORDER_BOTTOM_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_BOTTOM_COLOR)) #define FO_IS_PROPERTY_BORDER_BOTTOM_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_BOTTOM_COLOR)) #define FO_PROPERTY_BORDER_BOTTOM_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_BOTTOM_COLOR, FoPropertyBorderBottomColorClass)) typedef struct _FoPropertyBorderBottomColor FoPropertyBorderBottomColor; typedef struct _FoPropertyBorderBottomColorClass FoPropertyBorderBottomColorClass; GType fo_property_border_bottom_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_bottom_color_new (void); FoProperty * fo_property_border_bottom_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_BOTTOM_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-bottom-style.c0000644000175000017500000001131710660107747021454 00000000000000/* Fo * fo-property-border-bottom-style.c: 'border-bottom-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-bottom-style.h" #include "property/fo-property-util.h" /* border-bottom-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ struct _FoPropertyBorderBottomStyle { FoProperty parent_instance; }; struct _FoPropertyBorderBottomStyleClass { FoPropertyClass parent_class; }; static void fo_property_border_bottom_style_init (FoPropertyBorderBottomStyle *property_border_bottom_style); static void fo_property_border_bottom_style_class_init (FoPropertyBorderBottomStyleClass *klass); static void fo_property_border_bottom_style_finalize (GObject *object); static const gchar class_name[] = "border-bottom-style"; static gpointer parent_class; /** * fo_property_border_bottom_style_get_type: * * Register the #FoPropertyBorderBottomStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderBottomStyle. **/ GType fo_property_border_bottom_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderBottomStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_bottom_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderBottomStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_bottom_style_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_bottom_style_init: * @border_bottom_style: #FoPropertyBorderBottomStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderBottomStyle. **/ void fo_property_border_bottom_style_init (FoPropertyBorderBottomStyle *border_bottom_style) { FO_PROPERTY (border_bottom_style)->value = g_object_ref (fo_property_util_get_style_initial ()); } /** * fo_property_border_bottom_style_class_init: * @klass: #FoPropertyBorderBottomStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderBottomStyleClass. **/ void fo_property_border_bottom_style_class_init (FoPropertyBorderBottomStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_bottom_style_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_style_enum; property_class->validate = fo_property_util_validate_style; property_class->get_initial = fo_property_border_bottom_style_get_initial; } /** * fo_property_border_bottom_style_finalize: * @object: #FoPropertyBorderBottomStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderBottomStyle. **/ void fo_property_border_bottom_style_finalize (GObject *object) { FoPropertyBorderBottomStyle *border_bottom_style; border_bottom_style = FO_PROPERTY_BORDER_BOTTOM_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_bottom_style_new: * * Creates a new #FoPropertyBorderBottomStyle initialized to default value. * * Return value: the new #FoPropertyBorderBottomStyle. **/ FoProperty* fo_property_border_bottom_style_new (void) { FoProperty* border_bottom_style; border_bottom_style = FO_PROPERTY (g_object_new (fo_property_border_bottom_style_get_type (), NULL)); return border_bottom_style; } /** * fo_property_border_bottom_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_bottom_style_get_initial (void) { static FoProperty *border_bottom_style = NULL; if (border_bottom_style == NULL) { border_bottom_style = fo_property_border_bottom_style_new (); } return border_bottom_style; } xmlroff-0.6.2/libfo/property/fo-property-border-bottom-style.h0000644000175000017500000000345610770023365021461 00000000000000/* Fo * fo-property-border-bottom-style.h: 'border-bottom-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_BOTTOM_STYLE_H__ #define __FO_PROPERTY_BORDER_BOTTOM_STYLE_H__ #include #include G_BEGIN_DECLS /* border-bottom-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_BORDER_BOTTOM_STYLE (fo_property_border_bottom_style_get_type ()) #define FO_PROPERTY_BORDER_BOTTOM_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_BOTTOM_STYLE, FoPropertyBorderBottomStyle)) #define FO_PROPERTY_BORDER_BOTTOM_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_BOTTOM_STYLE, FoPropertyBorderBottomStyleClass)) #define FO_IS_PROPERTY_BORDER_BOTTOM_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_BOTTOM_STYLE)) #define FO_IS_PROPERTY_BORDER_BOTTOM_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_BOTTOM_STYLE)) #define FO_PROPERTY_BORDER_BOTTOM_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_BOTTOM_STYLE, FoPropertyBorderBottomStyleClass)) typedef struct _FoPropertyBorderBottomStyle FoPropertyBorderBottomStyle; typedef struct _FoPropertyBorderBottomStyleClass FoPropertyBorderBottomStyleClass; GType fo_property_border_bottom_style_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_bottom_style_new (void); FoProperty * fo_property_border_bottom_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_BOTTOM_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-bottom-width.c0000644000175000017500000001132110660107746021425 00000000000000/* Fo * fo-property-border-bottom-width.c: 'border-bottom-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-bottom-width.h" #include "property/fo-property-util.h" /* border-bottom-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: medium */ struct _FoPropertyBorderBottomWidth { FoProperty parent_instance; }; struct _FoPropertyBorderBottomWidthClass { FoPropertyClass parent_class; }; static void fo_property_border_bottom_width_init (FoPropertyBorderBottomWidth *property_border_bottom_width); static void fo_property_border_bottom_width_class_init (FoPropertyBorderBottomWidthClass *klass); static void fo_property_border_bottom_width_finalize (GObject *object); static const gchar class_name[] = "border-bottom-width"; static gpointer parent_class; /** * fo_property_border_bottom_width_get_type: * * Register the #FoPropertyBorderBottomWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderBottomWidth. **/ GType fo_property_border_bottom_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderBottomWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_bottom_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderBottomWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_bottom_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_bottom_width_init: * @border_bottom_width: #FoPropertyBorderBottomWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderBottomWidth. **/ void fo_property_border_bottom_width_init (FoPropertyBorderBottomWidth *border_bottom_width) { FO_PROPERTY (border_bottom_width)->value = g_object_ref (fo_property_util_get_width_initial ()); } /** * fo_property_border_bottom_width_class_init: * @klass: #FoPropertyBorderBottomWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderBottomWidthClass. **/ void fo_property_border_bottom_width_class_init (FoPropertyBorderBottomWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_bottom_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_width_enum; property_class->validate = fo_property_util_validate_width; property_class->get_initial = fo_property_border_bottom_width_get_initial; } /** * fo_property_border_bottom_width_finalize: * @object: #FoPropertyBorderBottomWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderBottomWidth. **/ void fo_property_border_bottom_width_finalize (GObject *object) { FoPropertyBorderBottomWidth *border_bottom_width; border_bottom_width = FO_PROPERTY_BORDER_BOTTOM_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_bottom_width_new: * * Creates a new #FoPropertyBorderBottomWidth initialized to default value. * * Return value: the new #FoPropertyBorderBottomWidth. **/ FoProperty* fo_property_border_bottom_width_new (void) { FoProperty* border_bottom_width; border_bottom_width = FO_PROPERTY (g_object_new (fo_property_border_bottom_width_get_type (), NULL)); return border_bottom_width; } /** * fo_property_border_bottom_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_bottom_width_get_initial (void) { static FoProperty *border_bottom_width = NULL; if (border_bottom_width == NULL) { border_bottom_width = fo_property_border_bottom_width_new (); } return border_bottom_width; } xmlroff-0.6.2/libfo/property/fo-property-border-bottom-width.h0000644000175000017500000000346010770023365021433 00000000000000/* Fo * fo-property-border-bottom-width.h: 'border-bottom-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_BOTTOM_WIDTH_H__ #define __FO_PROPERTY_BORDER_BOTTOM_WIDTH_H__ #include #include G_BEGIN_DECLS /* border-bottom-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: medium */ #define FO_TYPE_PROPERTY_BORDER_BOTTOM_WIDTH (fo_property_border_bottom_width_get_type ()) #define FO_PROPERTY_BORDER_BOTTOM_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_BOTTOM_WIDTH, FoPropertyBorderBottomWidth)) #define FO_PROPERTY_BORDER_BOTTOM_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_BOTTOM_WIDTH, FoPropertyBorderBottomWidthClass)) #define FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_BOTTOM_WIDTH)) #define FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_BOTTOM_WIDTH)) #define FO_PROPERTY_BORDER_BOTTOM_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_BOTTOM_WIDTH, FoPropertyBorderBottomWidthClass)) typedef struct _FoPropertyBorderBottomWidth FoPropertyBorderBottomWidth; typedef struct _FoPropertyBorderBottomWidthClass FoPropertyBorderBottomWidthClass; GType fo_property_border_bottom_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_bottom_width_new (void); FoProperty * fo_property_border_bottom_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_BOTTOM_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-color.c0000644000175000017500000001350710660107746020132 00000000000000/* Fo * fo-property-border-color.c: 'border-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-color.h" #include "property/fo-property-util.h" /* border-color */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ | transparent ]{1,4} | inherit */ /* Initial value: see individual properties */ struct _FoPropertyBorderColor { FoProperty parent_instance; }; struct _FoPropertyBorderColorClass { FoPropertyClass parent_class; }; static void fo_property_border_color_init (FoPropertyBorderColor *property_border_color); static void fo_property_border_color_class_init (FoPropertyBorderColorClass *klass); static void fo_property_border_color_finalize (GObject *object); static FoDatatype * fo_property_border_color_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "border-color"; static gpointer parent_class; /** * fo_property_border_color_get_type: * * Register the #FoPropertyBorderColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderColor. **/ GType fo_property_border_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_color_init: * @border_color: #FoPropertyBorderColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderColor. **/ void fo_property_border_color_init (FoPropertyBorderColor *border_color) { FO_PROPERTY (border_color)->value = NULL; } /** * fo_property_border_color_class_init: * @klass: #FoPropertyBorderColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderColorClass. **/ void fo_property_border_color_class_init (FoPropertyBorderColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_color_finalize; property_class->expr_eval = fo_expr_border_color_eval; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_color_transparent_enum; property_class->validate = fo_property_border_color_validate; property_class->get_initial = fo_property_border_color_get_initial; } /** * fo_property_border_color_finalize: * @object: #FoPropertyBorderColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderColor. **/ void fo_property_border_color_finalize (GObject *object) { FoPropertyBorderColor *border_color; border_color = FO_PROPERTY_BORDER_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_color_new: * * Creates a new #FoPropertyBorderColor initialized to default value. * * Return value: the new #FoPropertyBorderColor. **/ FoProperty* fo_property_border_color_new (void) { FoProperty* border_color; border_color = FO_PROPERTY (g_object_new (fo_property_border_color_get_type (), NULL)); return border_color; } /** * fo_property_border_color_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_border_color_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_TBLR (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_border_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_color_get_initial (void) { static FoProperty *border_color = NULL; if (border_color == NULL) { border_color = fo_property_border_color_new (); } return border_color; } xmlroff-0.6.2/libfo/property/fo-property-border-color.h0000644000175000017500000000322510770023365020127 00000000000000/* Fo * fo-property-border-color.h: 'border-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_COLOR_H__ #define __FO_PROPERTY_BORDER_COLOR_H__ #include #include G_BEGIN_DECLS /* border-color */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ | transparent ]{1,4} | inherit */ /* Initial value: see individual properties */ #define FO_TYPE_PROPERTY_BORDER_COLOR (fo_property_border_color_get_type ()) #define FO_PROPERTY_BORDER_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_COLOR, FoPropertyBorderColor)) #define FO_PROPERTY_BORDER_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_COLOR, FoPropertyBorderColorClass)) #define FO_IS_PROPERTY_BORDER_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_COLOR)) #define FO_IS_PROPERTY_BORDER_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_COLOR)) #define FO_PROPERTY_BORDER_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_COLOR, FoPropertyBorderColorClass)) typedef struct _FoPropertyBorderColor FoPropertyBorderColor; typedef struct _FoPropertyBorderColorClass FoPropertyBorderColorClass; GType fo_property_border_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_color_new (void); FoProperty * fo_property_border_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-collapse.c0000644000175000017500000002214010660107746020607 00000000000000/* Fo * fo-property-border-collapse.c: 'border-collapse' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-collapse.h" /* border-collapse */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* collapse | collapse-with-precedence | separate | inherit */ /* Initial value: collapse */ struct _FoPropertyBorderCollapse { FoProperty parent_instance; }; struct _FoPropertyBorderCollapseClass { FoPropertyClass parent_class; }; static void fo_property_border_collapse_init (FoPropertyBorderCollapse *property_border_collapse); static void fo_property_border_collapse_class_init (FoPropertyBorderCollapseClass *klass); static void fo_property_border_collapse_finalize (GObject *object); static FoDatatype* fo_property_border_collapse_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_border_collapse_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "border-collapse"; static gpointer parent_class; /** * fo_property_border_collapse_get_type: * * Register the #FoPropertyBorderCollapse type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderCollapse. **/ GType fo_property_border_collapse_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderCollapseClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_collapse_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderCollapse), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_collapse_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_collapse_init: * @border_collapse: #FoPropertyBorderCollapse object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderCollapse. **/ void fo_property_border_collapse_init (FoPropertyBorderCollapse *border_collapse) { FO_PROPERTY (border_collapse)->value = g_object_ref (fo_enum_get_enum_by_nick ("collapse")); } /** * fo_property_border_collapse_class_init: * @klass: #FoPropertyBorderCollapseClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderCollapseClass. **/ void fo_property_border_collapse_class_init (FoPropertyBorderCollapseClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_collapse_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_border_collapse_resolve_enum; property_class->validate = fo_property_border_collapse_validate; property_class->get_initial = fo_property_border_collapse_get_initial; } /** * fo_property_border_collapse_finalize: * @object: #FoPropertyBorderCollapse object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderCollapse. **/ void fo_property_border_collapse_finalize (GObject *object) { FoPropertyBorderCollapse *border_collapse; border_collapse = FO_PROPERTY_BORDER_COLLAPSE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_collapse_new: * * Creates a new #FoPropertyBorderCollapse initialized to default value. * * Return value: the new #FoPropertyBorderCollapse. **/ FoProperty* fo_property_border_collapse_new (void) { FoProperty* border_collapse; border_collapse = FO_PROPERTY (g_object_new (fo_property_border_collapse_get_type (), NULL)); return border_collapse; } /** * fo_property_border_collapse_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_border_collapse_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "collapse") == 0) || (strcmp (token, "collapse-with-precedence") == 0) || (strcmp (token, "separate") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_border_collapse_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_border_collapse_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_COLLAPSE) || (value == FO_ENUM_ENUM_COLLAPSE_WITH_PRECEDENCE) || (value == FO_ENUM_ENUM_SEPARATE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_border_collapse_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_border_collapse_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_border_collapse_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_collapse_get_initial (void) { static FoProperty *border_collapse = NULL; if (border_collapse == NULL) { border_collapse = fo_property_border_collapse_new (); } return border_collapse; } xmlroff-0.6.2/libfo/property/fo-property-border-collapse.h0000644000175000017500000000335010770023365020612 00000000000000/* Fo * fo-property-border-collapse.h: 'border-collapse' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_COLLAPSE_H__ #define __FO_PROPERTY_BORDER_COLLAPSE_H__ #include #include G_BEGIN_DECLS /* border-collapse */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* collapse | collapse-with-precedence | separate | inherit */ /* Initial value: collapse */ #define FO_TYPE_PROPERTY_BORDER_COLLAPSE (fo_property_border_collapse_get_type ()) #define FO_PROPERTY_BORDER_COLLAPSE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_COLLAPSE, FoPropertyBorderCollapse)) #define FO_PROPERTY_BORDER_COLLAPSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_COLLAPSE, FoPropertyBorderCollapseClass)) #define FO_IS_PROPERTY_BORDER_COLLAPSE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_COLLAPSE)) #define FO_IS_PROPERTY_BORDER_COLLAPSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_COLLAPSE)) #define FO_PROPERTY_BORDER_COLLAPSE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_COLLAPSE, FoPropertyBorderCollapseClass)) typedef struct _FoPropertyBorderCollapse FoPropertyBorderCollapse; typedef struct _FoPropertyBorderCollapseClass FoPropertyBorderCollapseClass; GType fo_property_border_collapse_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_collapse_new (void); FoProperty * fo_property_border_collapse_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_COLLAPSE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-end-color.c0000644000175000017500000001106410660107747020673 00000000000000/* Fo * fo-property-border-end-color.c: 'border-end-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-end-color.h" #include "property/fo-property-util.h" /* border-end-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ struct _FoPropertyBorderEndColor { FoProperty parent_instance; }; struct _FoPropertyBorderEndColorClass { FoPropertyClass parent_class; }; static void fo_property_border_end_color_init (FoPropertyBorderEndColor *property_border_end_color); static void fo_property_border_end_color_class_init (FoPropertyBorderEndColorClass *klass); static void fo_property_border_end_color_finalize (GObject *object); static const gchar class_name[] = "border-end-color"; static gpointer parent_class; /** * fo_property_border_end_color_get_type: * * Register the #FoPropertyBorderEndColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderEndColor. **/ GType fo_property_border_end_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderEndColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_end_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderEndColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_end_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_end_color_init: * @border_end_color: #FoPropertyBorderEndColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderEndColor. **/ void fo_property_border_end_color_init (FoPropertyBorderEndColor *border_end_color) { FO_PROPERTY (border_end_color)->value = g_object_ref (fo_property_util_get_color_initial ()); } /** * fo_property_border_end_color_class_init: * @klass: #FoPropertyBorderEndColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderEndColorClass. **/ void fo_property_border_end_color_class_init (FoPropertyBorderEndColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_end_color_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_enum; property_class->validate = fo_property_util_validate_color; property_class->get_initial = fo_property_border_end_color_get_initial; } /** * fo_property_border_end_color_finalize: * @object: #FoPropertyBorderEndColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderEndColor. **/ void fo_property_border_end_color_finalize (GObject *object) { FoPropertyBorderEndColor *border_end_color; border_end_color = FO_PROPERTY_BORDER_END_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_end_color_new: * * Creates a new #FoPropertyBorderEndColor initialized to default value. * * Return value: the new #FoPropertyBorderEndColor. **/ FoProperty* fo_property_border_end_color_new (void) { FoProperty* border_end_color; border_end_color = FO_PROPERTY (g_object_new (fo_property_border_end_color_get_type (), NULL)); return border_end_color; } /** * fo_property_border_end_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_end_color_get_initial (void) { static FoProperty *border_end_color = NULL; if (border_end_color == NULL) { border_end_color = fo_property_border_end_color_new (); } return border_end_color; } xmlroff-0.6.2/libfo/property/fo-property-border-end-color.h0000644000175000017500000000336010770023365020673 00000000000000/* Fo * fo-property-border-end-color.h: 'border-end-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_END_COLOR_H__ #define __FO_PROPERTY_BORDER_END_COLOR_H__ #include #include G_BEGIN_DECLS /* border-end-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ #define FO_TYPE_PROPERTY_BORDER_END_COLOR (fo_property_border_end_color_get_type ()) #define FO_PROPERTY_BORDER_END_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_END_COLOR, FoPropertyBorderEndColor)) #define FO_PROPERTY_BORDER_END_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_END_COLOR, FoPropertyBorderEndColorClass)) #define FO_IS_PROPERTY_BORDER_END_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_END_COLOR)) #define FO_IS_PROPERTY_BORDER_END_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_END_COLOR)) #define FO_PROPERTY_BORDER_END_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_END_COLOR, FoPropertyBorderEndColorClass)) typedef struct _FoPropertyBorderEndColor FoPropertyBorderEndColor; typedef struct _FoPropertyBorderEndColorClass FoPropertyBorderEndColorClass; GType fo_property_border_end_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_end_color_new (void); FoProperty * fo_property_border_end_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_END_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-end-precedence.c0000644000175000017500000002002010660107746021641 00000000000000/* Fo * fo-property-border-end-precedence.c: 'border-end-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-end-precedence.h" #include "property/fo-property-util.h" /* border-end-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | | inherit */ /* Initial value: fo:table: 6, fo:table-cell: 5, fo:table-column: 4, fo:table-row: 3, fo:table-body: 2, fo:table-header: 1, fo:table-footer: 0 */ struct _FoPropertyBorderEndPrecedence { FoProperty parent_instance; }; struct _FoPropertyBorderEndPrecedenceClass { FoPropertyClass parent_class; }; static void fo_property_border_end_precedence_init (FoPropertyBorderEndPrecedence *property_border_end_precedence); static void fo_property_border_end_precedence_class_init (FoPropertyBorderEndPrecedenceClass *klass); static void fo_property_border_end_precedence_finalize (GObject *object); static FoDatatype* fo_property_border_end_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "border-end-precedence"; static gpointer parent_class; /** * fo_property_border_end_precedence_get_type: * * Register the #FoPropertyBorderEndPrecedence type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderEndPrecedence. **/ GType fo_property_border_end_precedence_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderEndPrecedenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_end_precedence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderEndPrecedence), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_end_precedence_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_end_precedence_init: * @border_end_precedence: #FoPropertyBorderEndPrecedence object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderEndPrecedence. **/ void fo_property_border_end_precedence_init (FoPropertyBorderEndPrecedence *border_end_precedence) { FO_PROPERTY (border_end_precedence)->value = NULL; } /** * fo_property_border_end_precedence_class_init: * @klass: #FoPropertyBorderEndPrecedenceClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderEndPrecedenceClass. **/ void fo_property_border_end_precedence_class_init (FoPropertyBorderEndPrecedenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_end_precedence_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_force_enum; property_class->validate = fo_property_border_end_precedence_validate; property_class->get_initial = fo_property_border_end_precedence_get_initial; } /** * fo_property_border_end_precedence_finalize: * @object: #FoPropertyBorderEndPrecedence object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderEndPrecedence. **/ void fo_property_border_end_precedence_finalize (GObject *object) { FoPropertyBorderEndPrecedence *border_end_precedence; border_end_precedence = FO_PROPERTY_BORDER_END_PRECEDENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_end_precedence_new: * * Creates a new #FoPropertyBorderEndPrecedence initialized to default value. * * Return value: the new #FoPropertyBorderEndPrecedence. **/ FoProperty* fo_property_border_end_precedence_new (void) { FoProperty* border_end_precedence; border_end_precedence = FO_PROPERTY (g_object_new (fo_property_border_end_precedence_get_type (), NULL)); return border_end_precedence; } /** * fo_property_border_end_precedence_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_border_end_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_FORCE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_force_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_force_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_border_end_precedence_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_end_precedence_get_initial (void) { static FoProperty *border_end_precedence = NULL; if (border_end_precedence == NULL) { border_end_precedence = fo_property_border_end_precedence_new (); } return border_end_precedence; } xmlroff-0.6.2/libfo/property/fo-property-border-end-precedence.h0000644000175000017500000000374110770023365021655 00000000000000/* Fo * fo-property-border-end-precedence.h: 'border-end-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_END_PRECEDENCE_H__ #define __FO_PROPERTY_BORDER_END_PRECEDENCE_H__ #include #include G_BEGIN_DECLS /* border-end-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | | inherit */ /* Initial value: fo:table: 6, fo:table-cell: 5, fo:table-column: 4, fo:table-row: 3, fo:table-body: 2, fo:table-header: 1, fo:table-footer: 0 */ #define FO_TYPE_PROPERTY_BORDER_END_PRECEDENCE (fo_property_border_end_precedence_get_type ()) #define FO_PROPERTY_BORDER_END_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_END_PRECEDENCE, FoPropertyBorderEndPrecedence)) #define FO_PROPERTY_BORDER_END_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_END_PRECEDENCE, FoPropertyBorderEndPrecedenceClass)) #define FO_IS_PROPERTY_BORDER_END_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_END_PRECEDENCE)) #define FO_IS_PROPERTY_BORDER_END_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_END_PRECEDENCE)) #define FO_PROPERTY_BORDER_END_PRECEDENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_END_PRECEDENCE, FoPropertyBorderEndPrecedenceClass)) typedef struct _FoPropertyBorderEndPrecedence FoPropertyBorderEndPrecedence; typedef struct _FoPropertyBorderEndPrecedenceClass FoPropertyBorderEndPrecedenceClass; GType fo_property_border_end_precedence_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_end_precedence_new (void); FoProperty * fo_property_border_end_precedence_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_END_PRECEDENCE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-end-style.c0000644000175000017500000001103610660107746020713 00000000000000/* Fo * fo-property-border-end-style.c: 'border-end-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-end-style.h" #include "property/fo-property-util.h" /* border-end-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ struct _FoPropertyBorderEndStyle { FoProperty parent_instance; }; struct _FoPropertyBorderEndStyleClass { FoPropertyClass parent_class; }; static void fo_property_border_end_style_init (FoPropertyBorderEndStyle *property_border_end_style); static void fo_property_border_end_style_class_init (FoPropertyBorderEndStyleClass *klass); static void fo_property_border_end_style_finalize (GObject *object); static const gchar class_name[] = "border-end-style"; static gpointer parent_class; /** * fo_property_border_end_style_get_type: * * Register the #FoPropertyBorderEndStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderEndStyle. **/ GType fo_property_border_end_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderEndStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_end_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderEndStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_end_style_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_end_style_init: * @border_end_style: #FoPropertyBorderEndStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderEndStyle. **/ void fo_property_border_end_style_init (FoPropertyBorderEndStyle *border_end_style) { FO_PROPERTY (border_end_style)->value = g_object_ref (fo_property_util_get_style_initial ()); } /** * fo_property_border_end_style_class_init: * @klass: #FoPropertyBorderEndStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderEndStyleClass. **/ void fo_property_border_end_style_class_init (FoPropertyBorderEndStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_end_style_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_style_enum; property_class->validate = fo_property_util_validate_style; property_class->get_initial = fo_property_border_end_style_get_initial; } /** * fo_property_border_end_style_finalize: * @object: #FoPropertyBorderEndStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderEndStyle. **/ void fo_property_border_end_style_finalize (GObject *object) { FoPropertyBorderEndStyle *border_end_style; border_end_style = FO_PROPERTY_BORDER_END_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_end_style_new: * * Creates a new #FoPropertyBorderEndStyle initialized to default value. * * Return value: the new #FoPropertyBorderEndStyle. **/ FoProperty* fo_property_border_end_style_new (void) { FoProperty* border_end_style; border_end_style = FO_PROPERTY (g_object_new (fo_property_border_end_style_get_type (), NULL)); return border_end_style; } /** * fo_property_border_end_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_end_style_get_initial (void) { static FoProperty *border_end_style = NULL; if (border_end_style == NULL) { border_end_style = fo_property_border_end_style_new (); } return border_end_style; } xmlroff-0.6.2/libfo/property/fo-property-border-end-style.h0000644000175000017500000000333210770023365020714 00000000000000/* Fo * fo-property-border-end-style.h: 'border-end-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_END_STYLE_H__ #define __FO_PROPERTY_BORDER_END_STYLE_H__ #include #include G_BEGIN_DECLS /* border-end-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_BORDER_END_STYLE (fo_property_border_end_style_get_type ()) #define FO_PROPERTY_BORDER_END_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_END_STYLE, FoPropertyBorderEndStyle)) #define FO_PROPERTY_BORDER_END_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_END_STYLE, FoPropertyBorderEndStyleClass)) #define FO_IS_PROPERTY_BORDER_END_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_END_STYLE)) #define FO_IS_PROPERTY_BORDER_END_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_END_STYLE)) #define FO_PROPERTY_BORDER_END_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_END_STYLE, FoPropertyBorderEndStyleClass)) typedef struct _FoPropertyBorderEndStyle FoPropertyBorderEndStyle; typedef struct _FoPropertyBorderEndStyleClass FoPropertyBorderEndStyleClass; GType fo_property_border_end_style_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_end_style_new (void); FoProperty * fo_property_border_end_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_END_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-end-width.c0000644000175000017500000001106710660107747020677 00000000000000/* Fo * fo-property-border-end-width.c: 'border-end-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-end-width.h" #include "property/fo-property-util.h" /* border-end-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: medium */ struct _FoPropertyBorderEndWidth { FoProperty parent_instance; }; struct _FoPropertyBorderEndWidthClass { FoPropertyClass parent_class; }; static void fo_property_border_end_width_init (FoPropertyBorderEndWidth *property_border_end_width); static void fo_property_border_end_width_class_init (FoPropertyBorderEndWidthClass *klass); static void fo_property_border_end_width_finalize (GObject *object); static const gchar class_name[] = "border-end-width"; static gpointer parent_class; /** * fo_property_border_end_width_get_type: * * Register the #FoPropertyBorderEndWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderEndWidth. **/ GType fo_property_border_end_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderEndWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_end_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderEndWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_end_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_end_width_init: * @border_end_width: #FoPropertyBorderEndWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderEndWidth. **/ void fo_property_border_end_width_init (FoPropertyBorderEndWidth *border_end_width) { FO_PROPERTY (border_end_width)->value = g_object_ref (fo_property_util_get_width_initial ()); } /** * fo_property_border_end_width_class_init: * @klass: #FoPropertyBorderEndWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderEndWidthClass. **/ void fo_property_border_end_width_class_init (FoPropertyBorderEndWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_end_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_width_enum; property_class->validate = fo_property_util_validate_width; property_class->get_initial = fo_property_border_end_width_get_initial; } /** * fo_property_border_end_width_finalize: * @object: #FoPropertyBorderEndWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderEndWidth. **/ void fo_property_border_end_width_finalize (GObject *object) { FoPropertyBorderEndWidth *border_end_width; border_end_width = FO_PROPERTY_BORDER_END_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_end_width_new: * * Creates a new #FoPropertyBorderEndWidth initialized to default value. * * Return value: the new #FoPropertyBorderEndWidth. **/ FoProperty* fo_property_border_end_width_new (void) { FoProperty* border_end_width; border_end_width = FO_PROPERTY (g_object_new (fo_property_border_end_width_get_type (), NULL)); return border_end_width; } /** * fo_property_border_end_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_end_width_get_initial (void) { static FoProperty *border_end_width = NULL; if (border_end_width == NULL) { border_end_width = fo_property_border_end_width_new (); } return border_end_width; } xmlroff-0.6.2/libfo/property/fo-property-border-end-width.h0000644000175000017500000000336310770023366020700 00000000000000/* Fo * fo-property-border-end-width.h: 'border-end-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_END_WIDTH_H__ #define __FO_PROPERTY_BORDER_END_WIDTH_H__ #include #include G_BEGIN_DECLS /* border-end-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: medium */ #define FO_TYPE_PROPERTY_BORDER_END_WIDTH (fo_property_border_end_width_get_type ()) #define FO_PROPERTY_BORDER_END_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_END_WIDTH, FoPropertyBorderEndWidth)) #define FO_PROPERTY_BORDER_END_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_END_WIDTH, FoPropertyBorderEndWidthClass)) #define FO_IS_PROPERTY_BORDER_END_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_END_WIDTH)) #define FO_IS_PROPERTY_BORDER_END_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_END_WIDTH)) #define FO_PROPERTY_BORDER_END_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_END_WIDTH, FoPropertyBorderEndWidthClass)) typedef struct _FoPropertyBorderEndWidth FoPropertyBorderEndWidth; typedef struct _FoPropertyBorderEndWidthClass FoPropertyBorderEndWidthClass; GType fo_property_border_end_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_end_width_new (void); FoProperty * fo_property_border_end_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_END_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-left.c0000644000175000017500000001050010660107746017734 00000000000000/* Fo * fo-property-border-left.c: 'border-left' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-left.h" #include "property/fo-property-util.h" /* border-left */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ struct _FoPropertyBorderLeft { FoProperty parent_instance; }; struct _FoPropertyBorderLeftClass { FoPropertyClass parent_class; }; static void fo_property_border_left_init (FoPropertyBorderLeft *property_border_left); static void fo_property_border_left_class_init (FoPropertyBorderLeftClass *klass); static void fo_property_border_left_finalize (GObject *object); static const gchar class_name[] = "border-left"; static gpointer parent_class; /** * fo_property_border_left_get_type: * * Register the #FoPropertyBorderLeft type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderLeft. **/ GType fo_property_border_left_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderLeftClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_left_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderLeft), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_left_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_left_init: * @border_left: #FoPropertyBorderLeft object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderLeft. **/ void fo_property_border_left_init (FoPropertyBorderLeft *border_left) { FO_PROPERTY (border_left)->value = NULL; } /** * fo_property_border_left_class_init: * @klass: #FoPropertyBorderLeftClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderLeftClass. **/ void fo_property_border_left_class_init (FoPropertyBorderLeftClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_left_finalize; property_class->expr_eval = fo_expr_wsc_eval; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_wsc_enum; property_class->validate = fo_property_util_validate_wsc; property_class->get_initial = fo_property_border_left_get_initial; } /** * fo_property_border_left_finalize: * @object: #FoPropertyBorderLeft object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderLeft. **/ void fo_property_border_left_finalize (GObject *object) { FoPropertyBorderLeft *border_left; border_left = FO_PROPERTY_BORDER_LEFT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_left_new: * * Creates a new #FoPropertyBorderLeft initialized to default value. * * Return value: the new #FoPropertyBorderLeft. **/ FoProperty* fo_property_border_left_new (void) { FoProperty* border_left; border_left = FO_PROPERTY (g_object_new (fo_property_border_left_get_type (), NULL)); return border_left; } /** * fo_property_border_left_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_left_get_initial (void) { static FoProperty *border_left = NULL; if (border_left == NULL) { border_left = fo_property_border_left_new (); } return border_left; } xmlroff-0.6.2/libfo/property/fo-property-border-left.h0000644000175000017500000000321710770023365017744 00000000000000/* Fo * fo-property-border-left.h: 'border-left' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_LEFT_H__ #define __FO_PROPERTY_BORDER_LEFT_H__ #include #include G_BEGIN_DECLS /* border-left */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ #define FO_TYPE_PROPERTY_BORDER_LEFT (fo_property_border_left_get_type ()) #define FO_PROPERTY_BORDER_LEFT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_LEFT, FoPropertyBorderLeft)) #define FO_PROPERTY_BORDER_LEFT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_LEFT, FoPropertyBorderLeftClass)) #define FO_IS_PROPERTY_BORDER_LEFT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_LEFT)) #define FO_IS_PROPERTY_BORDER_LEFT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_LEFT)) #define FO_PROPERTY_BORDER_LEFT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_LEFT, FoPropertyBorderLeftClass)) typedef struct _FoPropertyBorderLeft FoPropertyBorderLeft; typedef struct _FoPropertyBorderLeftClass FoPropertyBorderLeftClass; GType fo_property_border_left_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_left_new (void); FoProperty * fo_property_border_left_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_LEFT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-left-color.c0000644000175000017500000001115710660107746021061 00000000000000/* Fo * fo-property-border-left-color.c: 'border-left-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-left-color.h" #include "property/fo-property-util.h" /* border-left-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ struct _FoPropertyBorderLeftColor { FoProperty parent_instance; }; struct _FoPropertyBorderLeftColorClass { FoPropertyClass parent_class; }; static void fo_property_border_left_color_init (FoPropertyBorderLeftColor *property_border_left_color); static void fo_property_border_left_color_class_init (FoPropertyBorderLeftColorClass *klass); static void fo_property_border_left_color_finalize (GObject *object); static const gchar class_name[] = "border-left-color"; static gpointer parent_class; /** * fo_property_border_left_color_get_type: * * Register the #FoPropertyBorderLeftColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderLeftColor. **/ GType fo_property_border_left_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderLeftColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_left_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderLeftColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_left_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_left_color_init: * @border_left_color: #FoPropertyBorderLeftColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderLeftColor. **/ void fo_property_border_left_color_init (FoPropertyBorderLeftColor *border_left_color) { FO_PROPERTY (border_left_color)->value = g_object_ref (fo_property_util_get_color_initial ()); } /** * fo_property_border_left_color_class_init: * @klass: #FoPropertyBorderLeftColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderLeftColorClass. **/ void fo_property_border_left_color_class_init (FoPropertyBorderLeftColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_left_color_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_enum; property_class->validate = fo_property_util_validate_color; property_class->get_initial = fo_property_border_left_color_get_initial; } /** * fo_property_border_left_color_finalize: * @object: #FoPropertyBorderLeftColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderLeftColor. **/ void fo_property_border_left_color_finalize (GObject *object) { FoPropertyBorderLeftColor *border_left_color; border_left_color = FO_PROPERTY_BORDER_LEFT_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_left_color_new: * * Creates a new #FoPropertyBorderLeftColor initialized to default value. * * Return value: the new #FoPropertyBorderLeftColor. **/ FoProperty* fo_property_border_left_color_new (void) { FoProperty* border_left_color; border_left_color = FO_PROPERTY (g_object_new (fo_property_border_left_color_get_type (), NULL)); return border_left_color; } /** * fo_property_border_left_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_left_color_get_initial (void) { static FoProperty *border_left_color = NULL; if (border_left_color == NULL) { border_left_color = fo_property_border_left_color_new (); } return border_left_color; } xmlroff-0.6.2/libfo/property/fo-property-border-left-color.h0000644000175000017500000000341410770023365021057 00000000000000/* Fo * fo-property-border-left-color.h: 'border-left-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_LEFT_COLOR_H__ #define __FO_PROPERTY_BORDER_LEFT_COLOR_H__ #include #include G_BEGIN_DECLS /* border-left-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ #define FO_TYPE_PROPERTY_BORDER_LEFT_COLOR (fo_property_border_left_color_get_type ()) #define FO_PROPERTY_BORDER_LEFT_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_LEFT_COLOR, FoPropertyBorderLeftColor)) #define FO_PROPERTY_BORDER_LEFT_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_LEFT_COLOR, FoPropertyBorderLeftColorClass)) #define FO_IS_PROPERTY_BORDER_LEFT_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_LEFT_COLOR)) #define FO_IS_PROPERTY_BORDER_LEFT_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_LEFT_COLOR)) #define FO_PROPERTY_BORDER_LEFT_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_LEFT_COLOR, FoPropertyBorderLeftColorClass)) typedef struct _FoPropertyBorderLeftColor FoPropertyBorderLeftColor; typedef struct _FoPropertyBorderLeftColorClass FoPropertyBorderLeftColorClass; GType fo_property_border_left_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_left_color_new (void); FoProperty * fo_property_border_left_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_LEFT_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-left-style.c0000644000175000017500000001113110660107746021073 00000000000000/* Fo * fo-property-border-left-style.c: 'border-left-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-left-style.h" #include "property/fo-property-util.h" /* border-left-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ struct _FoPropertyBorderLeftStyle { FoProperty parent_instance; }; struct _FoPropertyBorderLeftStyleClass { FoPropertyClass parent_class; }; static void fo_property_border_left_style_init (FoPropertyBorderLeftStyle *property_border_left_style); static void fo_property_border_left_style_class_init (FoPropertyBorderLeftStyleClass *klass); static void fo_property_border_left_style_finalize (GObject *object); static const gchar class_name[] = "border-left-style"; static gpointer parent_class; /** * fo_property_border_left_style_get_type: * * Register the #FoPropertyBorderLeftStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderLeftStyle. **/ GType fo_property_border_left_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderLeftStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_left_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderLeftStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_left_style_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_left_style_init: * @border_left_style: #FoPropertyBorderLeftStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderLeftStyle. **/ void fo_property_border_left_style_init (FoPropertyBorderLeftStyle *border_left_style) { FO_PROPERTY (border_left_style)->value = g_object_ref (fo_property_util_get_style_initial ()); } /** * fo_property_border_left_style_class_init: * @klass: #FoPropertyBorderLeftStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderLeftStyleClass. **/ void fo_property_border_left_style_class_init (FoPropertyBorderLeftStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_left_style_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_style_enum; property_class->validate = fo_property_util_validate_style; property_class->get_initial = fo_property_border_left_style_get_initial; } /** * fo_property_border_left_style_finalize: * @object: #FoPropertyBorderLeftStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderLeftStyle. **/ void fo_property_border_left_style_finalize (GObject *object) { FoPropertyBorderLeftStyle *border_left_style; border_left_style = FO_PROPERTY_BORDER_LEFT_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_left_style_new: * * Creates a new #FoPropertyBorderLeftStyle initialized to default value. * * Return value: the new #FoPropertyBorderLeftStyle. **/ FoProperty* fo_property_border_left_style_new (void) { FoProperty* border_left_style; border_left_style = FO_PROPERTY (g_object_new (fo_property_border_left_style_get_type (), NULL)); return border_left_style; } /** * fo_property_border_left_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_left_style_get_initial (void) { static FoProperty *border_left_style = NULL; if (border_left_style == NULL) { border_left_style = fo_property_border_left_style_new (); } return border_left_style; } xmlroff-0.6.2/libfo/property/fo-property-border-left-style.h0000644000175000017500000000336610770023365021107 00000000000000/* Fo * fo-property-border-left-style.h: 'border-left-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_LEFT_STYLE_H__ #define __FO_PROPERTY_BORDER_LEFT_STYLE_H__ #include #include G_BEGIN_DECLS /* border-left-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_BORDER_LEFT_STYLE (fo_property_border_left_style_get_type ()) #define FO_PROPERTY_BORDER_LEFT_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_LEFT_STYLE, FoPropertyBorderLeftStyle)) #define FO_PROPERTY_BORDER_LEFT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_LEFT_STYLE, FoPropertyBorderLeftStyleClass)) #define FO_IS_PROPERTY_BORDER_LEFT_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_LEFT_STYLE)) #define FO_IS_PROPERTY_BORDER_LEFT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_LEFT_STYLE)) #define FO_PROPERTY_BORDER_LEFT_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_LEFT_STYLE, FoPropertyBorderLeftStyleClass)) typedef struct _FoPropertyBorderLeftStyle FoPropertyBorderLeftStyle; typedef struct _FoPropertyBorderLeftStyleClass FoPropertyBorderLeftStyleClass; GType fo_property_border_left_style_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_left_style_new (void); FoProperty * fo_property_border_left_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_LEFT_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-left-width.c0000644000175000017500000001157511054605452021061 00000000000000/* Fo * fo-property-border-left-width.c: 'border-left-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ /** * SECTION:fo-property-border-left-width * @short_description: 'border-left-width' property * @include: libfo/property/fo-property-border-left-width.h * * Inherited: FALSE * * Shorthand: FALSE * * Value: <border-width> | inherit * * Initial value: medium */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-left-width.h" #include "property/fo-property-util.h" /* border-left-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: medium */ struct _FoPropertyBorderLeftWidth { FoProperty parent_instance; }; struct _FoPropertyBorderLeftWidthClass { FoPropertyClass parent_class; }; static void fo_property_border_left_width_init (FoPropertyBorderLeftWidth *property_border_left_width); static void fo_property_border_left_width_class_init (FoPropertyBorderLeftWidthClass *klass); static void fo_property_border_left_width_finalize (GObject *object); static const gchar class_name[] = "FoPropertyBorderLeftWidth"; static gpointer parent_class; /** * fo_property_border_left_width_get_type: * * Register the #FoPropertyBorderLeftWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderLeftWidth. **/ GType fo_property_border_left_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderLeftWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_left_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderLeftWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_left_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_left_width_init: * @border_left_width: #FoPropertyBorderLeftWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderLeftWidth. **/ void fo_property_border_left_width_init (FoPropertyBorderLeftWidth *border_left_width) { FO_PROPERTY (border_left_width)->value = g_object_ref (fo_property_util_get_width_initial ()); } /** * fo_property_border_left_width_class_init: * @klass: #FoPropertyBorderLeftWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderLeftWidthClass. **/ void fo_property_border_left_width_class_init (FoPropertyBorderLeftWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_left_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_width_enum; property_class->validate = fo_property_util_validate_width; property_class->get_initial = fo_property_border_left_width_get_initial; } /** * fo_property_border_left_width_finalize: * @object: #FoPropertyBorderLeftWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderLeftWidth. **/ void fo_property_border_left_width_finalize (GObject *object) { FoPropertyBorderLeftWidth *border_left_width; border_left_width = FO_PROPERTY_BORDER_LEFT_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_left_width_new: * * Creates a new #FoPropertyBorderLeftWidth initialized to default value. * * Return value: the new #FoPropertyBorderLeftWidth. **/ FoProperty* fo_property_border_left_width_new (void) { FoProperty* border_left_width; border_left_width = FO_PROPERTY (g_object_new (fo_property_border_left_width_get_type (), NULL)); return border_left_width; } /** * fo_property_border_left_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_left_width_get_initial (void) { static FoProperty *border_left_width = NULL; if (border_left_width == NULL) { border_left_width = fo_property_border_left_width_new (); } return border_left_width; } xmlroff-0.6.2/libfo/property/fo-property-border-left-width.h0000644000175000017500000000337010770023365021061 00000000000000/* Fo * fo-property-border-left-width.h: 'border-left-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_LEFT_WIDTH_H__ #define __FO_PROPERTY_BORDER_LEFT_WIDTH_H__ #include #include G_BEGIN_DECLS /* border-left-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: medium */ #define FO_TYPE_PROPERTY_BORDER_LEFT_WIDTH (fo_property_border_left_width_get_type ()) #define FO_PROPERTY_BORDER_LEFT_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_LEFT_WIDTH, FoPropertyBorderLeftWidth)) #define FO_PROPERTY_BORDER_LEFT_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_LEFT_WIDTH, FoPropertyBorderLeftWidthClass)) #define FO_IS_PROPERTY_BORDER_LEFT_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_LEFT_WIDTH)) #define FO_IS_PROPERTY_BORDER_LEFT_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_LEFT_WIDTH)) #define FO_PROPERTY_BORDER_LEFT_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_LEFT_WIDTH, FoPropertyBorderLeftWidthClass)) typedef struct _FoPropertyBorderLeftWidth FoPropertyBorderLeftWidth; typedef struct _FoPropertyBorderLeftWidthClass FoPropertyBorderLeftWidthClass; GType fo_property_border_left_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_left_width_new (void); FoProperty * fo_property_border_left_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_LEFT_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-right.c0000644000175000017500000001057310660107747020132 00000000000000/* Fo * fo-property-border-right.c: 'border-right' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-right.h" #include "property/fo-property-util.h" /* border-right */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ struct _FoPropertyBorderRight { FoProperty parent_instance; }; struct _FoPropertyBorderRightClass { FoPropertyClass parent_class; }; static void fo_property_border_right_init (FoPropertyBorderRight *property_border_right); static void fo_property_border_right_class_init (FoPropertyBorderRightClass *klass); static void fo_property_border_right_finalize (GObject *object); static const gchar class_name[] = "border-right"; static gpointer parent_class; /** * fo_property_border_right_get_type: * * Register the #FoPropertyBorderRight type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderRight. **/ GType fo_property_border_right_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderRightClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_right_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderRight), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_right_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_right_init: * @border_right: #FoPropertyBorderRight object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderRight. **/ void fo_property_border_right_init (FoPropertyBorderRight *border_right) { FO_PROPERTY (border_right)->value = NULL; } /** * fo_property_border_right_class_init: * @klass: #FoPropertyBorderRightClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderRightClass. **/ void fo_property_border_right_class_init (FoPropertyBorderRightClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_right_finalize; property_class->expr_eval = fo_expr_wsc_eval; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_wsc_enum; property_class->validate = fo_property_util_validate_wsc; property_class->get_initial = fo_property_border_right_get_initial; } /** * fo_property_border_right_finalize: * @object: #FoPropertyBorderRight object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderRight. **/ void fo_property_border_right_finalize (GObject *object) { FoPropertyBorderRight *border_right; border_right = FO_PROPERTY_BORDER_RIGHT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_right_new: * * Creates a new #FoPropertyBorderRight initialized to default value. * * Return value: the new #FoPropertyBorderRight. **/ FoProperty* fo_property_border_right_new (void) { FoProperty* border_right; border_right = FO_PROPERTY (g_object_new (fo_property_border_right_get_type (), NULL)); return border_right; } /** * fo_property_border_right_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_right_get_initial (void) { static FoProperty *border_right = NULL; if (border_right == NULL) { border_right = fo_property_border_right_new (); } return border_right; } xmlroff-0.6.2/libfo/property/fo-property-border-right.h0000644000175000017500000000325310770023365020127 00000000000000/* Fo * fo-property-border-right.h: 'border-right' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_RIGHT_H__ #define __FO_PROPERTY_BORDER_RIGHT_H__ #include #include G_BEGIN_DECLS /* border-right */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ #define FO_TYPE_PROPERTY_BORDER_RIGHT (fo_property_border_right_get_type ()) #define FO_PROPERTY_BORDER_RIGHT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_RIGHT, FoPropertyBorderRight)) #define FO_PROPERTY_BORDER_RIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_RIGHT, FoPropertyBorderRightClass)) #define FO_IS_PROPERTY_BORDER_RIGHT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_RIGHT)) #define FO_IS_PROPERTY_BORDER_RIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_RIGHT)) #define FO_PROPERTY_BORDER_RIGHT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_RIGHT, FoPropertyBorderRightClass)) typedef struct _FoPropertyBorderRight FoPropertyBorderRight; typedef struct _FoPropertyBorderRightClass FoPropertyBorderRightClass; GType fo_property_border_right_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_right_new (void); FoProperty * fo_property_border_right_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_RIGHT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-right-color.c0000644000175000017500000001125210660107746021240 00000000000000/* Fo * fo-property-border-right-color.c: 'border-right-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-right-color.h" #include "property/fo-property-util.h" /* border-right-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ struct _FoPropertyBorderRightColor { FoProperty parent_instance; }; struct _FoPropertyBorderRightColorClass { FoPropertyClass parent_class; }; static void fo_property_border_right_color_init (FoPropertyBorderRightColor *property_border_right_color); static void fo_property_border_right_color_class_init (FoPropertyBorderRightColorClass *klass); static void fo_property_border_right_color_finalize (GObject *object); static const gchar class_name[] = "border-right-color"; static gpointer parent_class; /** * fo_property_border_right_color_get_type: * * Register the #FoPropertyBorderRightColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderRightColor. **/ GType fo_property_border_right_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderRightColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_right_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderRightColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_right_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_right_color_init: * @border_right_color: #FoPropertyBorderRightColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderRightColor. **/ void fo_property_border_right_color_init (FoPropertyBorderRightColor *border_right_color) { FO_PROPERTY (border_right_color)->value = g_object_ref (fo_property_util_get_color_initial ()); } /** * fo_property_border_right_color_class_init: * @klass: #FoPropertyBorderRightColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderRightColorClass. **/ void fo_property_border_right_color_class_init (FoPropertyBorderRightColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_right_color_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_enum; property_class->validate = fo_property_util_validate_color; property_class->get_initial = fo_property_border_right_color_get_initial; } /** * fo_property_border_right_color_finalize: * @object: #FoPropertyBorderRightColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderRightColor. **/ void fo_property_border_right_color_finalize (GObject *object) { FoPropertyBorderRightColor *border_right_color; border_right_color = FO_PROPERTY_BORDER_RIGHT_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_right_color_new: * * Creates a new #FoPropertyBorderRightColor initialized to default value. * * Return value: the new #FoPropertyBorderRightColor. **/ FoProperty* fo_property_border_right_color_new (void) { FoProperty* border_right_color; border_right_color = FO_PROPERTY (g_object_new (fo_property_border_right_color_get_type (), NULL)); return border_right_color; } /** * fo_property_border_right_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_right_color_get_initial (void) { static FoProperty *border_right_color = NULL; if (border_right_color == NULL) { border_right_color = fo_property_border_right_color_new (); } return border_right_color; } xmlroff-0.6.2/libfo/property/fo-property-border-right-color.h0000644000175000017500000000345010770023365021242 00000000000000/* Fo * fo-property-border-right-color.h: 'border-right-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_RIGHT_COLOR_H__ #define __FO_PROPERTY_BORDER_RIGHT_COLOR_H__ #include #include G_BEGIN_DECLS /* border-right-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ #define FO_TYPE_PROPERTY_BORDER_RIGHT_COLOR (fo_property_border_right_color_get_type ()) #define FO_PROPERTY_BORDER_RIGHT_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_RIGHT_COLOR, FoPropertyBorderRightColor)) #define FO_PROPERTY_BORDER_RIGHT_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_RIGHT_COLOR, FoPropertyBorderRightColorClass)) #define FO_IS_PROPERTY_BORDER_RIGHT_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_RIGHT_COLOR)) #define FO_IS_PROPERTY_BORDER_RIGHT_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_RIGHT_COLOR)) #define FO_PROPERTY_BORDER_RIGHT_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_RIGHT_COLOR, FoPropertyBorderRightColorClass)) typedef struct _FoPropertyBorderRightColor FoPropertyBorderRightColor; typedef struct _FoPropertyBorderRightColorClass FoPropertyBorderRightColorClass; GType fo_property_border_right_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_right_color_new (void); FoProperty * fo_property_border_right_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_RIGHT_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-right-style.c0000644000175000017500000001122410660107746021261 00000000000000/* Fo * fo-property-border-right-style.c: 'border-right-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-right-style.h" #include "property/fo-property-util.h" /* border-right-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ struct _FoPropertyBorderRightStyle { FoProperty parent_instance; }; struct _FoPropertyBorderRightStyleClass { FoPropertyClass parent_class; }; static void fo_property_border_right_style_init (FoPropertyBorderRightStyle *property_border_right_style); static void fo_property_border_right_style_class_init (FoPropertyBorderRightStyleClass *klass); static void fo_property_border_right_style_finalize (GObject *object); static const gchar class_name[] = "border-right-style"; static gpointer parent_class; /** * fo_property_border_right_style_get_type: * * Register the #FoPropertyBorderRightStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderRightStyle. **/ GType fo_property_border_right_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderRightStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_right_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderRightStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_right_style_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_right_style_init: * @border_right_style: #FoPropertyBorderRightStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderRightStyle. **/ void fo_property_border_right_style_init (FoPropertyBorderRightStyle *border_right_style) { FO_PROPERTY (border_right_style)->value = g_object_ref (fo_property_util_get_style_initial ()); } /** * fo_property_border_right_style_class_init: * @klass: #FoPropertyBorderRightStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderRightStyleClass. **/ void fo_property_border_right_style_class_init (FoPropertyBorderRightStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_right_style_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_style_enum; property_class->validate = fo_property_util_validate_style; property_class->get_initial = fo_property_border_right_style_get_initial; } /** * fo_property_border_right_style_finalize: * @object: #FoPropertyBorderRightStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderRightStyle. **/ void fo_property_border_right_style_finalize (GObject *object) { FoPropertyBorderRightStyle *border_right_style; border_right_style = FO_PROPERTY_BORDER_RIGHT_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_right_style_new: * * Creates a new #FoPropertyBorderRightStyle initialized to default value. * * Return value: the new #FoPropertyBorderRightStyle. **/ FoProperty* fo_property_border_right_style_new (void) { FoProperty* border_right_style; border_right_style = FO_PROPERTY (g_object_new (fo_property_border_right_style_get_type (), NULL)); return border_right_style; } /** * fo_property_border_right_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_right_style_get_initial (void) { static FoProperty *border_right_style = NULL; if (border_right_style == NULL) { border_right_style = fo_property_border_right_style_new (); } return border_right_style; } xmlroff-0.6.2/libfo/property/fo-property-border-right-style.h0000644000175000017500000000342210770023365021263 00000000000000/* Fo * fo-property-border-right-style.h: 'border-right-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_RIGHT_STYLE_H__ #define __FO_PROPERTY_BORDER_RIGHT_STYLE_H__ #include #include G_BEGIN_DECLS /* border-right-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_BORDER_RIGHT_STYLE (fo_property_border_right_style_get_type ()) #define FO_PROPERTY_BORDER_RIGHT_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_RIGHT_STYLE, FoPropertyBorderRightStyle)) #define FO_PROPERTY_BORDER_RIGHT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_RIGHT_STYLE, FoPropertyBorderRightStyleClass)) #define FO_IS_PROPERTY_BORDER_RIGHT_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_RIGHT_STYLE)) #define FO_IS_PROPERTY_BORDER_RIGHT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_RIGHT_STYLE)) #define FO_PROPERTY_BORDER_RIGHT_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_RIGHT_STYLE, FoPropertyBorderRightStyleClass)) typedef struct _FoPropertyBorderRightStyle FoPropertyBorderRightStyle; typedef struct _FoPropertyBorderRightStyleClass FoPropertyBorderRightStyleClass; GType fo_property_border_right_style_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_right_style_new (void); FoProperty * fo_property_border_right_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_RIGHT_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-right-width.c0000644000175000017500000001122610660107747021243 00000000000000/* Fo * fo-property-border-right-width.c: 'border-right-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-right-width.h" #include "property/fo-property-util.h" /* border-right-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: medium */ struct _FoPropertyBorderRightWidth { FoProperty parent_instance; }; struct _FoPropertyBorderRightWidthClass { FoPropertyClass parent_class; }; static void fo_property_border_right_width_init (FoPropertyBorderRightWidth *property_border_right_width); static void fo_property_border_right_width_class_init (FoPropertyBorderRightWidthClass *klass); static void fo_property_border_right_width_finalize (GObject *object); static const gchar class_name[] = "border-right-width"; static gpointer parent_class; /** * fo_property_border_right_width_get_type: * * Register the #FoPropertyBorderRightWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderRightWidth. **/ GType fo_property_border_right_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderRightWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_right_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderRightWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_right_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_right_width_init: * @border_right_width: #FoPropertyBorderRightWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderRightWidth. **/ void fo_property_border_right_width_init (FoPropertyBorderRightWidth *border_right_width) { FO_PROPERTY (border_right_width)->value = g_object_ref (fo_property_util_get_width_initial ()); } /** * fo_property_border_right_width_class_init: * @klass: #FoPropertyBorderRightWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderRightWidthClass. **/ void fo_property_border_right_width_class_init (FoPropertyBorderRightWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_right_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_width_enum; property_class->validate = fo_property_util_validate_width; property_class->get_initial = fo_property_border_right_width_get_initial; } /** * fo_property_border_right_width_finalize: * @object: #FoPropertyBorderRightWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderRightWidth. **/ void fo_property_border_right_width_finalize (GObject *object) { FoPropertyBorderRightWidth *border_right_width; border_right_width = FO_PROPERTY_BORDER_RIGHT_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_right_width_new: * * Creates a new #FoPropertyBorderRightWidth initialized to default value. * * Return value: the new #FoPropertyBorderRightWidth. **/ FoProperty* fo_property_border_right_width_new (void) { FoProperty* border_right_width; border_right_width = FO_PROPERTY (g_object_new (fo_property_border_right_width_get_type (), NULL)); return border_right_width; } /** * fo_property_border_right_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_right_width_get_initial (void) { static FoProperty *border_right_width = NULL; if (border_right_width == NULL) { border_right_width = fo_property_border_right_width_new (); } return border_right_width; } xmlroff-0.6.2/libfo/property/fo-property-border-right-width.h0000644000175000017500000000342410770023365021244 00000000000000/* Fo * fo-property-border-right-width.h: 'border-right-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_RIGHT_WIDTH_H__ #define __FO_PROPERTY_BORDER_RIGHT_WIDTH_H__ #include #include G_BEGIN_DECLS /* border-right-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: medium */ #define FO_TYPE_PROPERTY_BORDER_RIGHT_WIDTH (fo_property_border_right_width_get_type ()) #define FO_PROPERTY_BORDER_RIGHT_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_RIGHT_WIDTH, FoPropertyBorderRightWidth)) #define FO_PROPERTY_BORDER_RIGHT_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_RIGHT_WIDTH, FoPropertyBorderRightWidthClass)) #define FO_IS_PROPERTY_BORDER_RIGHT_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_RIGHT_WIDTH)) #define FO_IS_PROPERTY_BORDER_RIGHT_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_RIGHT_WIDTH)) #define FO_PROPERTY_BORDER_RIGHT_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_RIGHT_WIDTH, FoPropertyBorderRightWidthClass)) typedef struct _FoPropertyBorderRightWidth FoPropertyBorderRightWidth; typedef struct _FoPropertyBorderRightWidthClass FoPropertyBorderRightWidthClass; GType fo_property_border_right_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_right_width_new (void); FoProperty * fo_property_border_right_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_RIGHT_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-separation.c0000644000175000017500000001720010660107746021153 00000000000000/* Fo * fo-property-border-separation.c: 'border-separation' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-separation.h" /* Inherited: TRUE */ /* Shorthand: FALSE */ /* border-separation */ /* | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyBorderSeparation { FoProperty parent_instance; }; struct _FoPropertyBorderSeparationClass { FoPropertyClass parent_class; }; static void fo_property_border_separation_init (FoPropertyBorderSeparation *property_border_separation); static void fo_property_border_separation_class_init (FoPropertyBorderSeparationClass *klass); static void fo_property_border_separation_finalize (GObject *object); static FoDatatype* fo_property_border_separation_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_border_separation_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "border-separation"; static gpointer parent_class; /** * fo_property_border_separation_get_type: * * Register the #FoPropertyBorderSeparation type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderSeparation. **/ GType fo_property_border_separation_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderSeparationClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_separation_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderSeparation), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_separation_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_separation_init: * @border_separation: #FoPropertyBorderSeparation object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderSeparation. **/ void fo_property_border_separation_init (FoPropertyBorderSeparation *border_separation) { FO_PROPERTY (border_separation)->value = NULL; } /** * fo_property_border_separation_class_init: * @klass: #FoPropertyBorderSeparationClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderSeparationClass. **/ void fo_property_border_separation_class_init (FoPropertyBorderSeparationClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_separation_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_border_separation_resolve_enum; property_class->validate = fo_property_border_separation_validate; property_class->get_initial = fo_property_border_separation_get_initial; } /** * fo_property_border_separation_finalize: * @object: #FoPropertyBorderSeparation object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderSeparation. **/ void fo_property_border_separation_finalize (GObject *object) { FoPropertyBorderSeparation *border_separation; border_separation = FO_PROPERTY_BORDER_SEPARATION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_separation_new: * * Creates a new #FoPropertyBorderSeparation initialized to default value. * * Return value: the new #FoPropertyBorderSeparation. **/ FoProperty* fo_property_border_separation_new (void) { FoProperty* border_separation; border_separation = FO_PROPERTY (g_object_new (fo_property_border_separation_get_type (), NULL)); return border_separation; } /** * fo_property_border_separation_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_border_separation_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_border_separation_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_border_separation_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH_BP_IP_D (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_border_separation_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_separation_get_initial (void) { static FoProperty *border_separation = NULL; if (border_separation == NULL) { border_separation = fo_property_border_separation_new (); } return border_separation; } xmlroff-0.6.2/libfo/property/fo-property-border-separation.h0000644000175000017500000000346210770023365021161 00000000000000/* Fo * fo-property-border-separation.h: 'border-separation' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_SEPARATION_H__ #define __FO_PROPERTY_BORDER_SEPARATION_H__ #include #include G_BEGIN_DECLS /* border-separation */ /* | inherit */ /* Initial value: .block-progression-direction="0pt" .inline-progression-direction="0pt" */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_BORDER_SEPARATION (fo_property_border_separation_get_type ()) #define FO_PROPERTY_BORDER_SEPARATION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_SEPARATION, FoPropertyBorderSeparation)) #define FO_PROPERTY_BORDER_SEPARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_SEPARATION, FoPropertyBorderSeparationClass)) #define FO_IS_PROPERTY_BORDER_SEPARATION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_SEPARATION)) #define FO_IS_PROPERTY_BORDER_SEPARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_SEPARATION)) #define FO_PROPERTY_BORDER_SEPARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_SEPARATION, FoPropertyBorderSeparationClass)) typedef struct _FoPropertyBorderSeparation FoPropertyBorderSeparation; typedef struct _FoPropertyBorderSeparationClass FoPropertyBorderSeparationClass; GType fo_property_border_separation_get_type (void) G_GNUC_CONST; FoProperty* fo_property_border_separation_new (void); FoProperty* fo_property_border_separation_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_SEPARATION_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-start-color.c0000644000175000017500000001125210660107747021261 00000000000000/* Fo * fo-property-border-start-color.c: 'border-start-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-start-color.h" #include "property/fo-property-util.h" /* border-start-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ struct _FoPropertyBorderStartColor { FoProperty parent_instance; }; struct _FoPropertyBorderStartColorClass { FoPropertyClass parent_class; }; static void fo_property_border_start_color_init (FoPropertyBorderStartColor *property_border_start_color); static void fo_property_border_start_color_class_init (FoPropertyBorderStartColorClass *klass); static void fo_property_border_start_color_finalize (GObject *object); static const gchar class_name[] = "border-start-color"; static gpointer parent_class; /** * fo_property_border_start_color_get_type: * * Register the #FoPropertyBorderStartColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderStartColor. **/ GType fo_property_border_start_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderStartColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_start_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderStartColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_start_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_start_color_init: * @border_start_color: #FoPropertyBorderStartColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderStartColor. **/ void fo_property_border_start_color_init (FoPropertyBorderStartColor *border_start_color) { FO_PROPERTY (border_start_color)->value = g_object_ref (fo_property_util_get_color_initial ()); } /** * fo_property_border_start_color_class_init: * @klass: #FoPropertyBorderStartColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderStartColorClass. **/ void fo_property_border_start_color_class_init (FoPropertyBorderStartColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_start_color_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_enum; property_class->validate = fo_property_util_validate_color; property_class->get_initial = fo_property_border_start_color_get_initial; } /** * fo_property_border_start_color_finalize: * @object: #FoPropertyBorderStartColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderStartColor. **/ void fo_property_border_start_color_finalize (GObject *object) { FoPropertyBorderStartColor *border_start_color; border_start_color = FO_PROPERTY_BORDER_START_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_start_color_new: * * Creates a new #FoPropertyBorderStartColor initialized to default value. * * Return value: the new #FoPropertyBorderStartColor. **/ FoProperty* fo_property_border_start_color_new (void) { FoProperty* border_start_color; border_start_color = FO_PROPERTY (g_object_new (fo_property_border_start_color_get_type (), NULL)); return border_start_color; } /** * fo_property_border_start_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_start_color_get_initial (void) { static FoProperty *border_start_color = NULL; if (border_start_color == NULL) { border_start_color = fo_property_border_start_color_new (); } return border_start_color; } xmlroff-0.6.2/libfo/property/fo-property-border-start-color.h0000644000175000017500000000345010770023365021262 00000000000000/* Fo * fo-property-border-start-color.h: 'border-start-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_START_COLOR_H__ #define __FO_PROPERTY_BORDER_START_COLOR_H__ #include #include G_BEGIN_DECLS /* border-start-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ #define FO_TYPE_PROPERTY_BORDER_START_COLOR (fo_property_border_start_color_get_type ()) #define FO_PROPERTY_BORDER_START_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_START_COLOR, FoPropertyBorderStartColor)) #define FO_PROPERTY_BORDER_START_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_START_COLOR, FoPropertyBorderStartColorClass)) #define FO_IS_PROPERTY_BORDER_START_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_START_COLOR)) #define FO_IS_PROPERTY_BORDER_START_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_START_COLOR)) #define FO_PROPERTY_BORDER_START_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_START_COLOR, FoPropertyBorderStartColorClass)) typedef struct _FoPropertyBorderStartColor FoPropertyBorderStartColor; typedef struct _FoPropertyBorderStartColorClass FoPropertyBorderStartColorClass; GType fo_property_border_start_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_start_color_new (void); FoProperty * fo_property_border_start_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_START_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-start-precedence.c0000644000175000017500000002022610660107746022240 00000000000000/* Fo * fo-property-border-start-precedence.c: 'border-start-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-start-precedence.h" #include "property/fo-property-util.h" /* border-start-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | | inherit */ /* Initial value: fo:table: 6, fo:table-cell: 5, fo:table-column: 4, fo:table-row: 3, fo:table-body: 2, fo:table-header: 1, fo:table-footer: 0 */ struct _FoPropertyBorderStartPrecedence { FoProperty parent_instance; }; struct _FoPropertyBorderStartPrecedenceClass { FoPropertyClass parent_class; }; static void fo_property_border_start_precedence_init (FoPropertyBorderStartPrecedence *property_border_start_precedence); static void fo_property_border_start_precedence_class_init (FoPropertyBorderStartPrecedenceClass *klass); static void fo_property_border_start_precedence_finalize (GObject *object); static FoDatatype* fo_property_border_start_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "border-start-precedence"; static gpointer parent_class; /** * fo_property_border_start_precedence_get_type: * * Register the #FoPropertyBorderStartPrecedence type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderStartPrecedence. **/ GType fo_property_border_start_precedence_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderStartPrecedenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_start_precedence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderStartPrecedence), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_start_precedence_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_start_precedence_init: * @border_start_precedence: #FoPropertyBorderStartPrecedence object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderStartPrecedence. **/ void fo_property_border_start_precedence_init (FoPropertyBorderStartPrecedence *border_start_precedence) { FO_PROPERTY (border_start_precedence)->value = NULL; } /** * fo_property_border_start_precedence_class_init: * @klass: #FoPropertyBorderStartPrecedenceClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderStartPrecedenceClass. **/ void fo_property_border_start_precedence_class_init (FoPropertyBorderStartPrecedenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_start_precedence_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_force_enum; property_class->validate = fo_property_border_start_precedence_validate; property_class->get_initial = fo_property_border_start_precedence_get_initial; } /** * fo_property_border_start_precedence_finalize: * @object: #FoPropertyBorderStartPrecedence object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderStartPrecedence. **/ void fo_property_border_start_precedence_finalize (GObject *object) { FoPropertyBorderStartPrecedence *border_start_precedence; border_start_precedence = FO_PROPERTY_BORDER_START_PRECEDENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_start_precedence_new: * * Creates a new #FoPropertyBorderStartPrecedence initialized to default value. * * Return value: the new #FoPropertyBorderStartPrecedence. **/ FoProperty* fo_property_border_start_precedence_new (void) { FoProperty* border_start_precedence; border_start_precedence = FO_PROPERTY (g_object_new (fo_property_border_start_precedence_get_type (), NULL)); return border_start_precedence; } /** * fo_property_border_start_precedence_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_border_start_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_FORCE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_force_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_force_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_border_start_precedence_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_start_precedence_get_initial (void) { static FoProperty *border_start_precedence = NULL; if (border_start_precedence == NULL) { border_start_precedence = fo_property_border_start_precedence_new (); } return border_start_precedence; } xmlroff-0.6.2/libfo/property/fo-property-border-start-precedence.h0000644000175000017500000000403110770023365022235 00000000000000/* Fo * fo-property-border-start-precedence.h: 'border-start-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_START_PRECEDENCE_H__ #define __FO_PROPERTY_BORDER_START_PRECEDENCE_H__ #include #include G_BEGIN_DECLS /* border-start-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | | inherit */ /* Initial value: fo:table: 6, fo:table-cell: 5, fo:table-column: 4, fo:table-row: 3, fo:table-body: 2, fo:table-header: 1, fo:table-footer: 0 */ #define FO_TYPE_PROPERTY_BORDER_START_PRECEDENCE (fo_property_border_start_precedence_get_type ()) #define FO_PROPERTY_BORDER_START_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_START_PRECEDENCE, FoPropertyBorderStartPrecedence)) #define FO_PROPERTY_BORDER_START_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_START_PRECEDENCE, FoPropertyBorderStartPrecedenceClass)) #define FO_IS_PROPERTY_BORDER_START_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_START_PRECEDENCE)) #define FO_IS_PROPERTY_BORDER_START_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_START_PRECEDENCE)) #define FO_PROPERTY_BORDER_START_PRECEDENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_START_PRECEDENCE, FoPropertyBorderStartPrecedenceClass)) typedef struct _FoPropertyBorderStartPrecedence FoPropertyBorderStartPrecedence; typedef struct _FoPropertyBorderStartPrecedenceClass FoPropertyBorderStartPrecedenceClass; GType fo_property_border_start_precedence_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_start_precedence_new (void); FoProperty * fo_property_border_start_precedence_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_START_PRECEDENCE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-start-style.c0000644000175000017500000001122410660107746021301 00000000000000/* Fo * fo-property-border-start-style.c: 'border-start-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-start-style.h" #include "property/fo-property-util.h" /* border-start-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ struct _FoPropertyBorderStartStyle { FoProperty parent_instance; }; struct _FoPropertyBorderStartStyleClass { FoPropertyClass parent_class; }; static void fo_property_border_start_style_init (FoPropertyBorderStartStyle *property_border_start_style); static void fo_property_border_start_style_class_init (FoPropertyBorderStartStyleClass *klass); static void fo_property_border_start_style_finalize (GObject *object); static const gchar class_name[] = "border-start-style"; static gpointer parent_class; /** * fo_property_border_start_style_get_type: * * Register the #FoPropertyBorderStartStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderStartStyle. **/ GType fo_property_border_start_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderStartStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_start_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderStartStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_start_style_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_start_style_init: * @border_start_style: #FoPropertyBorderStartStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderStartStyle. **/ void fo_property_border_start_style_init (FoPropertyBorderStartStyle *border_start_style) { FO_PROPERTY (border_start_style)->value = g_object_ref (fo_property_util_get_style_initial ()); } /** * fo_property_border_start_style_class_init: * @klass: #FoPropertyBorderStartStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderStartStyleClass. **/ void fo_property_border_start_style_class_init (FoPropertyBorderStartStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_start_style_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_style_enum; property_class->validate = fo_property_util_validate_style; property_class->get_initial = fo_property_border_start_style_get_initial; } /** * fo_property_border_start_style_finalize: * @object: #FoPropertyBorderStartStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderStartStyle. **/ void fo_property_border_start_style_finalize (GObject *object) { FoPropertyBorderStartStyle *border_start_style; border_start_style = FO_PROPERTY_BORDER_START_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_start_style_new: * * Creates a new #FoPropertyBorderStartStyle initialized to default value. * * Return value: the new #FoPropertyBorderStartStyle. **/ FoProperty* fo_property_border_start_style_new (void) { FoProperty* border_start_style; border_start_style = FO_PROPERTY (g_object_new (fo_property_border_start_style_get_type (), NULL)); return border_start_style; } /** * fo_property_border_start_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_start_style_get_initial (void) { static FoProperty *border_start_style = NULL; if (border_start_style == NULL) { border_start_style = fo_property_border_start_style_new (); } return border_start_style; } xmlroff-0.6.2/libfo/property/fo-property-border-start-style.h0000644000175000017500000000342210770023365021303 00000000000000/* Fo * fo-property-border-start-style.h: 'border-start-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_START_STYLE_H__ #define __FO_PROPERTY_BORDER_START_STYLE_H__ #include #include G_BEGIN_DECLS /* border-start-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_BORDER_START_STYLE (fo_property_border_start_style_get_type ()) #define FO_PROPERTY_BORDER_START_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_START_STYLE, FoPropertyBorderStartStyle)) #define FO_PROPERTY_BORDER_START_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_START_STYLE, FoPropertyBorderStartStyleClass)) #define FO_IS_PROPERTY_BORDER_START_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_START_STYLE)) #define FO_IS_PROPERTY_BORDER_START_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_START_STYLE)) #define FO_PROPERTY_BORDER_START_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_START_STYLE, FoPropertyBorderStartStyleClass)) typedef struct _FoPropertyBorderStartStyle FoPropertyBorderStartStyle; typedef struct _FoPropertyBorderStartStyleClass FoPropertyBorderStartStyleClass; GType fo_property_border_start_style_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_start_style_new (void); FoProperty * fo_property_border_start_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_START_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-start-width.c0000644000175000017500000001125510660107746021264 00000000000000/* Fo * fo-property-border-start-width.c: 'border-start-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-start-width.h" #include "property/fo-property-util.h" /* border-start-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: medium */ struct _FoPropertyBorderStartWidth { FoProperty parent_instance; }; struct _FoPropertyBorderStartWidthClass { FoPropertyClass parent_class; }; static void fo_property_border_start_width_init (FoPropertyBorderStartWidth *property_border_start_width); static void fo_property_border_start_width_class_init (FoPropertyBorderStartWidthClass *klass); static void fo_property_border_start_width_finalize (GObject *object); static const gchar class_name[] = "border-start-width"; static gpointer parent_class; /** * fo_property_border_start_width_get_type: * * Register the #FoPropertyBorderStartWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderStartWidth. **/ GType fo_property_border_start_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderStartWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_start_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderStartWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_start_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_start_width_init: * @border_start_width: #FoPropertyBorderStartWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderStartWidth. **/ void fo_property_border_start_width_init (FoPropertyBorderStartWidth *border_start_width) { FO_PROPERTY (border_start_width)->value = g_object_ref (fo_property_util_get_width_initial ()); } /** * fo_property_border_start_width_class_init: * @klass: #FoPropertyBorderStartWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderStartWidthClass. **/ void fo_property_border_start_width_class_init (FoPropertyBorderStartWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_start_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_width_enum; property_class->validate = fo_property_util_validate_width; property_class->get_initial = fo_property_border_start_width_get_initial; } /** * fo_property_border_start_width_finalize: * @object: #FoPropertyBorderStartWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderStartWidth. **/ void fo_property_border_start_width_finalize (GObject *object) { FoPropertyBorderStartWidth *border_start_width; border_start_width = FO_PROPERTY_BORDER_START_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_start_width_new: * * Creates a new #FoPropertyBorderStartWidth initialized to default value. * * Return value: the new #FoPropertyBorderStartWidth. **/ FoProperty* fo_property_border_start_width_new (void) { FoProperty* border_start_width; border_start_width = FO_PROPERTY (g_object_new (fo_property_border_start_width_get_type (), NULL)); return border_start_width; } /** * fo_property_border_start_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_start_width_get_initial (void) { static FoProperty *border_start_width = NULL; if (border_start_width == NULL) { border_start_width = fo_property_border_start_width_new (); } return border_start_width; } xmlroff-0.6.2/libfo/property/fo-property-border-start-width.h0000644000175000017500000000345310770023365021266 00000000000000/* Fo * fo-property-border-start-width.h: 'border-start-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_START_WIDTH_H__ #define __FO_PROPERTY_BORDER_START_WIDTH_H__ #include #include G_BEGIN_DECLS /* border-start-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: medium */ #define FO_TYPE_PROPERTY_BORDER_START_WIDTH (fo_property_border_start_width_get_type ()) #define FO_PROPERTY_BORDER_START_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_START_WIDTH, FoPropertyBorderStartWidth)) #define FO_PROPERTY_BORDER_START_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_START_WIDTH, FoPropertyBorderStartWidthClass)) #define FO_IS_PROPERTY_BORDER_START_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_START_WIDTH)) #define FO_IS_PROPERTY_BORDER_START_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_START_WIDTH)) #define FO_PROPERTY_BORDER_START_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_START_WIDTH, FoPropertyBorderStartWidthClass)) typedef struct _FoPropertyBorderStartWidth FoPropertyBorderStartWidth; typedef struct _FoPropertyBorderStartWidthClass FoPropertyBorderStartWidthClass; GType fo_property_border_start_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_start_width_new (void); FoProperty * fo_property_border_start_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_START_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-style.c0000644000175000017500000001367710660107746020164 00000000000000/* Fo * fo-property-border-style.c: 'border-style' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-style.h" #include "property/fo-property-util.h" /* border-style */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* {1,4} | inherit */ /* Initial value: see individual properties */ struct _FoPropertyBorderStyle { FoProperty parent_instance; }; struct _FoPropertyBorderStyleClass { FoPropertyClass parent_class; }; static void fo_property_border_style_init (FoPropertyBorderStyle *property_border_style); static void fo_property_border_style_class_init (FoPropertyBorderStyleClass *klass); static void fo_property_border_style_finalize (GObject *object); static FoDatatype * fo_property_border_style_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "border-style"; static gpointer parent_class; /** * fo_property_border_style_get_type: * * Register the #FoPropertyBorderStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderStyle. **/ GType fo_property_border_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_style_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_style_init: * @border_style: #FoPropertyBorderStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderStyle. **/ void fo_property_border_style_init (FoPropertyBorderStyle *border_style) { FO_PROPERTY (border_style)->value = NULL; } /** * fo_property_border_style_class_init: * @klass: #FoPropertyBorderStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderStyleClass. **/ void fo_property_border_style_class_init (FoPropertyBorderStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_style_finalize; property_class->expr_eval = fo_expr_border_style_eval; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_style_enum; property_class->validate = fo_property_border_style_validate; property_class->get_initial = fo_property_border_style_get_initial; } /** * fo_property_border_style_finalize: * @object: #FoPropertyBorderStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderStyle. **/ void fo_property_border_style_finalize (GObject *object) { FoPropertyBorderStyle *border_style; border_style = FO_PROPERTY_BORDER_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_style_new: * * Creates a new #FoPropertyBorderStyle initialized to default value. * * Return value: the new #FoPropertyBorderStyle. **/ FoProperty* fo_property_border_style_new (void) { FoProperty* border_style; border_style = FO_PROPERTY (g_object_new (fo_property_border_style_get_type (), NULL)); return border_style; } /** * fo_property_border_style_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_border_style_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_TBLR (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_border_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_style_get_initial (void) { static FoProperty *border_style = NULL; if (border_style == NULL) { border_style = fo_property_border_style_new (); } return border_style; } xmlroff-0.6.2/libfo/property/fo-property-border-style.h0000644000175000017500000000321710770023365020152 00000000000000/* Fo * fo-property-border-style.h: 'border-style' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_STYLE_H__ #define __FO_PROPERTY_BORDER_STYLE_H__ #include #include G_BEGIN_DECLS /* border-style */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* {1,4} | inherit */ /* Initial value: see individual properties */ #define FO_TYPE_PROPERTY_BORDER_STYLE (fo_property_border_style_get_type ()) #define FO_PROPERTY_BORDER_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_STYLE, FoPropertyBorderStyle)) #define FO_PROPERTY_BORDER_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_STYLE, FoPropertyBorderStyleClass)) #define FO_IS_PROPERTY_BORDER_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_STYLE)) #define FO_IS_PROPERTY_BORDER_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_STYLE)) #define FO_PROPERTY_BORDER_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_STYLE, FoPropertyBorderStyleClass)) typedef struct _FoPropertyBorderStyle FoPropertyBorderStyle; typedef struct _FoPropertyBorderStyleClass FoPropertyBorderStyleClass; GType fo_property_border_style_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_style_new (void); FoProperty * fo_property_border_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-top.c0000644000175000017500000001040510660107746017610 00000000000000/* Fo * fo-property-border-top.c: 'border-top' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-top.h" #include "property/fo-property-util.h" /* border-top */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ struct _FoPropertyBorderTop { FoProperty parent_instance; }; struct _FoPropertyBorderTopClass { FoPropertyClass parent_class; }; static void fo_property_border_top_init (FoPropertyBorderTop *property_border_top); static void fo_property_border_top_class_init (FoPropertyBorderTopClass *klass); static void fo_property_border_top_finalize (GObject *object); static const gchar class_name[] = "border-top"; static gpointer parent_class; /** * fo_property_border_top_get_type: * * Register the #FoPropertyBorderTop type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderTop. **/ GType fo_property_border_top_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderTopClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_top_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderTop), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_top_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_top_init: * @border_top: #FoPropertyBorderTop object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderTop. **/ void fo_property_border_top_init (FoPropertyBorderTop *border_top) { FO_PROPERTY (border_top)->value = NULL; } /** * fo_property_border_top_class_init: * @klass: #FoPropertyBorderTopClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderTopClass. **/ void fo_property_border_top_class_init (FoPropertyBorderTopClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_top_finalize; property_class->expr_eval = fo_expr_wsc_eval; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_wsc_enum; property_class->validate = fo_property_util_validate_wsc; property_class->get_initial = fo_property_border_top_get_initial; } /** * fo_property_border_top_finalize: * @object: #FoPropertyBorderTop object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderTop. **/ void fo_property_border_top_finalize (GObject *object) { FoPropertyBorderTop *border_top; border_top = FO_PROPERTY_BORDER_TOP (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_top_new: * * Creates a new #FoPropertyBorderTop initialized to default value. * * Return value: the new #FoPropertyBorderTop. **/ FoProperty* fo_property_border_top_new (void) { FoProperty* border_top; border_top = FO_PROPERTY (g_object_new (fo_property_border_top_get_type (), NULL)); return border_top; } /** * fo_property_border_top_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_top_get_initial (void) { static FoProperty *border_top = NULL; if (border_top == NULL) { border_top = fo_property_border_top_new (); } return border_top; } xmlroff-0.6.2/libfo/property/fo-property-border-top.h0000644000175000017500000000316310770023365017614 00000000000000/* Fo * fo-property-border-top.h: 'border-top' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_TOP_H__ #define __FO_PROPERTY_BORDER_TOP_H__ #include #include G_BEGIN_DECLS /* border-top */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ #define FO_TYPE_PROPERTY_BORDER_TOP (fo_property_border_top_get_type ()) #define FO_PROPERTY_BORDER_TOP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_TOP, FoPropertyBorderTop)) #define FO_PROPERTY_BORDER_TOP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_TOP, FoPropertyBorderTopClass)) #define FO_IS_PROPERTY_BORDER_TOP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_TOP)) #define FO_IS_PROPERTY_BORDER_TOP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_TOP)) #define FO_PROPERTY_BORDER_TOP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_TOP, FoPropertyBorderTopClass)) typedef struct _FoPropertyBorderTop FoPropertyBorderTop; typedef struct _FoPropertyBorderTopClass FoPropertyBorderTopClass; GType fo_property_border_top_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_top_new (void); FoProperty * fo_property_border_top_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_TOP_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-top-color.c0000644000175000017500000001106410660107747020727 00000000000000/* Fo * fo-property-border-top-color.c: 'border-top-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-top-color.h" #include "property/fo-property-util.h" /* border-top-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ struct _FoPropertyBorderTopColor { FoProperty parent_instance; }; struct _FoPropertyBorderTopColorClass { FoPropertyClass parent_class; }; static void fo_property_border_top_color_init (FoPropertyBorderTopColor *property_border_top_color); static void fo_property_border_top_color_class_init (FoPropertyBorderTopColorClass *klass); static void fo_property_border_top_color_finalize (GObject *object); static const gchar class_name[] = "border-top-color"; static gpointer parent_class; /** * fo_property_border_top_color_get_type: * * Register the #FoPropertyBorderTopColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderTopColor. **/ GType fo_property_border_top_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderTopColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_top_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderTopColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_top_color_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_top_color_init: * @border_top_color: #FoPropertyBorderTopColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderTopColor. **/ void fo_property_border_top_color_init (FoPropertyBorderTopColor *border_top_color) { FO_PROPERTY (border_top_color)->value = g_object_ref (fo_property_util_get_color_initial ()); } /** * fo_property_border_top_color_class_init: * @klass: #FoPropertyBorderTopColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderTopColorClass. **/ void fo_property_border_top_color_class_init (FoPropertyBorderTopColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_top_color_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_enum; property_class->validate = fo_property_util_validate_color; property_class->get_initial = fo_property_border_top_color_get_initial; } /** * fo_property_border_top_color_finalize: * @object: #FoPropertyBorderTopColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderTopColor. **/ void fo_property_border_top_color_finalize (GObject *object) { FoPropertyBorderTopColor *border_top_color; border_top_color = FO_PROPERTY_BORDER_TOP_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_top_color_new: * * Creates a new #FoPropertyBorderTopColor initialized to default value. * * Return value: the new #FoPropertyBorderTopColor. **/ FoProperty* fo_property_border_top_color_new (void) { FoProperty* border_top_color; border_top_color = FO_PROPERTY (g_object_new (fo_property_border_top_color_get_type (), NULL)); return border_top_color; } /** * fo_property_border_top_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_top_color_get_initial (void) { static FoProperty *border_top_color = NULL; if (border_top_color == NULL) { border_top_color = fo_property_border_top_color_new (); } return border_top_color; } xmlroff-0.6.2/libfo/property/fo-property-border-top-color.h0000644000175000017500000000336010770023365020727 00000000000000/* Fo * fo-property-border-top-color.h: 'border-top-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_TOP_COLOR_H__ #define __FO_PROPERTY_BORDER_TOP_COLOR_H__ #include #include G_BEGIN_DECLS /* border-top-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: the value of the 'color' property */ #define FO_TYPE_PROPERTY_BORDER_TOP_COLOR (fo_property_border_top_color_get_type ()) #define FO_PROPERTY_BORDER_TOP_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_TOP_COLOR, FoPropertyBorderTopColor)) #define FO_PROPERTY_BORDER_TOP_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_TOP_COLOR, FoPropertyBorderTopColorClass)) #define FO_IS_PROPERTY_BORDER_TOP_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_TOP_COLOR)) #define FO_IS_PROPERTY_BORDER_TOP_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_TOP_COLOR)) #define FO_PROPERTY_BORDER_TOP_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_TOP_COLOR, FoPropertyBorderTopColorClass)) typedef struct _FoPropertyBorderTopColor FoPropertyBorderTopColor; typedef struct _FoPropertyBorderTopColorClass FoPropertyBorderTopColorClass; GType fo_property_border_top_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_top_color_new (void); FoProperty * fo_property_border_top_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_TOP_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-top-style.c0000644000175000017500000001103610660107746020747 00000000000000/* Fo * fo-property-border-top-style.c: 'border-top-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-top-style.h" #include "property/fo-property-util.h" /* border-top-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ struct _FoPropertyBorderTopStyle { FoProperty parent_instance; }; struct _FoPropertyBorderTopStyleClass { FoPropertyClass parent_class; }; static void fo_property_border_top_style_init (FoPropertyBorderTopStyle *property_border_top_style); static void fo_property_border_top_style_class_init (FoPropertyBorderTopStyleClass *klass); static void fo_property_border_top_style_finalize (GObject *object); static const gchar class_name[] = "border-top-style"; static gpointer parent_class; /** * fo_property_border_top_style_get_type: * * Register the #FoPropertyBorderTopStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderTopStyle. **/ GType fo_property_border_top_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderTopStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_top_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderTopStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_top_style_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_top_style_init: * @border_top_style: #FoPropertyBorderTopStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderTopStyle. **/ void fo_property_border_top_style_init (FoPropertyBorderTopStyle *border_top_style) { FO_PROPERTY (border_top_style)->value = g_object_ref (fo_property_util_get_style_initial ()); } /** * fo_property_border_top_style_class_init: * @klass: #FoPropertyBorderTopStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderTopStyleClass. **/ void fo_property_border_top_style_class_init (FoPropertyBorderTopStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_top_style_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_style_enum; property_class->validate = fo_property_util_validate_style; property_class->get_initial = fo_property_border_top_style_get_initial; } /** * fo_property_border_top_style_finalize: * @object: #FoPropertyBorderTopStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderTopStyle. **/ void fo_property_border_top_style_finalize (GObject *object) { FoPropertyBorderTopStyle *border_top_style; border_top_style = FO_PROPERTY_BORDER_TOP_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_top_style_new: * * Creates a new #FoPropertyBorderTopStyle initialized to default value. * * Return value: the new #FoPropertyBorderTopStyle. **/ FoProperty* fo_property_border_top_style_new (void) { FoProperty* border_top_style; border_top_style = FO_PROPERTY (g_object_new (fo_property_border_top_style_get_type (), NULL)); return border_top_style; } /** * fo_property_border_top_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_top_style_get_initial (void) { static FoProperty *border_top_style = NULL; if (border_top_style == NULL) { border_top_style = fo_property_border_top_style_new (); } return border_top_style; } xmlroff-0.6.2/libfo/property/fo-property-border-top-style.h0000644000175000017500000000333210770023365020750 00000000000000/* Fo * fo-property-border-top-style.h: 'border-top-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_TOP_STYLE_H__ #define __FO_PROPERTY_BORDER_TOP_STYLE_H__ #include #include G_BEGIN_DECLS /* border-top-style */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_BORDER_TOP_STYLE (fo_property_border_top_style_get_type ()) #define FO_PROPERTY_BORDER_TOP_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_TOP_STYLE, FoPropertyBorderTopStyle)) #define FO_PROPERTY_BORDER_TOP_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_TOP_STYLE, FoPropertyBorderTopStyleClass)) #define FO_IS_PROPERTY_BORDER_TOP_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_TOP_STYLE)) #define FO_IS_PROPERTY_BORDER_TOP_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_TOP_STYLE)) #define FO_PROPERTY_BORDER_TOP_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_TOP_STYLE, FoPropertyBorderTopStyleClass)) typedef struct _FoPropertyBorderTopStyle FoPropertyBorderTopStyle; typedef struct _FoPropertyBorderTopStyleClass FoPropertyBorderTopStyleClass; GType fo_property_border_top_style_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_top_style_new (void); FoProperty * fo_property_border_top_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_TOP_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-top-width.c0000644000175000017500000001104010660107747020722 00000000000000/* Fo * fo-property-border-top-width.c: 'border-top-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-top-width.h" #include "property/fo-property-util.h" /* border-top-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: medium */ struct _FoPropertyBorderTopWidth { FoProperty parent_instance; }; struct _FoPropertyBorderTopWidthClass { FoPropertyClass parent_class; }; static void fo_property_border_top_width_init (FoPropertyBorderTopWidth *property_border_top_width); static void fo_property_border_top_width_class_init (FoPropertyBorderTopWidthClass *klass); static void fo_property_border_top_width_finalize (GObject *object); static const gchar class_name[] = "border-top-width"; static gpointer parent_class; /** * fo_property_border_top_width_get_type: * * Register the #FoPropertyBorderTopWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderTopWidth. **/ GType fo_property_border_top_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderTopWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_top_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderTopWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_top_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_top_width_init: * @border_top_width: #FoPropertyBorderTopWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderTopWidth. **/ void fo_property_border_top_width_init (FoPropertyBorderTopWidth *border_top_width) { FO_PROPERTY (border_top_width)->value = g_object_ref (fo_property_util_get_width_initial ()); } /** * fo_property_border_top_width_class_init: * @klass: #FoPropertyBorderTopWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderTopWidthClass. **/ void fo_property_border_top_width_class_init (FoPropertyBorderTopWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_top_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_width_enum; property_class->validate = fo_property_util_validate_width; property_class->get_initial = fo_property_border_top_width_get_initial; } /** * fo_property_border_top_width_finalize: * @object: #FoPropertyBorderTopWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderTopWidth. **/ void fo_property_border_top_width_finalize (GObject *object) { FoPropertyBorderTopWidth *border_top_width; border_top_width = FO_PROPERTY_BORDER_TOP_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_top_width_new: * * Creates a new #FoPropertyBorderTopWidth initialized to default value. * * Return value: the new #FoPropertyBorderTopWidth. **/ FoProperty* fo_property_border_top_width_new (void) { FoProperty* border_top_width; border_top_width = FO_PROPERTY (g_object_new (fo_property_border_top_width_get_type (), NULL)); return border_top_width; } /** * fo_property_border_top_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_top_width_get_initial (void) { static FoProperty *border_top_width = NULL; if (border_top_width == NULL) { border_top_width = fo_property_border_top_width_new (); } return border_top_width; } xmlroff-0.6.2/libfo/property/fo-property-border-top-width.h0000644000175000017500000000333410770023365020731 00000000000000/* Fo * fo-property-border-top-width.h: 'border-top-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_TOP_WIDTH_H__ #define __FO_PROPERTY_BORDER_TOP_WIDTH_H__ #include #include G_BEGIN_DECLS /* border-top-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: medium */ #define FO_TYPE_PROPERTY_BORDER_TOP_WIDTH (fo_property_border_top_width_get_type ()) #define FO_PROPERTY_BORDER_TOP_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_TOP_WIDTH, FoPropertyBorderTopWidth)) #define FO_PROPERTY_BORDER_TOP_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_TOP_WIDTH, FoPropertyBorderTopWidthClass)) #define FO_IS_PROPERTY_BORDER_TOP_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_TOP_WIDTH)) #define FO_IS_PROPERTY_BORDER_TOP_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_TOP_WIDTH)) #define FO_PROPERTY_BORDER_TOP_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_TOP_WIDTH, FoPropertyBorderTopWidthClass)) typedef struct _FoPropertyBorderTopWidth FoPropertyBorderTopWidth; typedef struct _FoPropertyBorderTopWidthClass FoPropertyBorderTopWidthClass; GType fo_property_border_top_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_top_width_new (void); FoProperty * fo_property_border_top_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_TOP_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-width.c0000644000175000017500000001367210660107747020137 00000000000000/* Fo * fo-property-border-width.c: 'border-width' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border-width.h" #include "property/fo-property-util.h" /* border-width */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* {1,4} | inherit */ /* Initial value: see individual properties */ struct _FoPropertyBorderWidth { FoProperty parent_instance; }; struct _FoPropertyBorderWidthClass { FoPropertyClass parent_class; }; static void fo_property_border_width_init (FoPropertyBorderWidth *property_border_width); static void fo_property_border_width_class_init (FoPropertyBorderWidthClass *klass); static void fo_property_border_width_finalize (GObject *object); static FoDatatype * fo_property_border_width_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "border-width"; static gpointer parent_class; /** * fo_property_border_width_get_type: * * Register the #FoPropertyBorderWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorderWidth. **/ GType fo_property_border_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorderWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_width_init: * @border_width: #FoPropertyBorderWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorderWidth. **/ void fo_property_border_width_init (FoPropertyBorderWidth *border_width) { FO_PROPERTY (border_width)->value = NULL; } /** * fo_property_border_width_class_init: * @klass: #FoPropertyBorderWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderWidthClass. **/ void fo_property_border_width_class_init (FoPropertyBorderWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_width_finalize; property_class->expr_eval = fo_expr_padding_eval; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_width_enum; property_class->validate = fo_property_border_width_validate; property_class->get_initial = fo_property_border_width_get_initial; } /** * fo_property_border_width_finalize: * @object: #FoPropertyBorderWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorderWidth. **/ void fo_property_border_width_finalize (GObject *object) { FoPropertyBorderWidth *border_width; border_width = FO_PROPERTY_BORDER_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_width_new: * * Creates a new #FoPropertyBorderWidth initialized to default value. * * Return value: the new #FoPropertyBorderWidth. **/ FoProperty* fo_property_border_width_new (void) { FoProperty* border_width; border_width = FO_PROPERTY (g_object_new (fo_property_border_width_get_type (), NULL)); return border_width; } /** * fo_property_border_width_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_border_width_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_TBLR (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_border_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_width_get_initial (void) { static FoProperty *border_width = NULL; if (border_width == NULL) { border_width = fo_property_border_width_new (); } return border_width; } xmlroff-0.6.2/libfo/property/fo-property-border-width.h0000644000175000017500000000321710770023365020131 00000000000000/* Fo * fo-property-border-width.h: 'border-width' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_WIDTH_H__ #define __FO_PROPERTY_BORDER_WIDTH_H__ #include #include G_BEGIN_DECLS /* border-width */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* {1,4} | inherit */ /* Initial value: see individual properties */ #define FO_TYPE_PROPERTY_BORDER_WIDTH (fo_property_border_width_get_type ()) #define FO_PROPERTY_BORDER_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER_WIDTH, FoPropertyBorderWidth)) #define FO_PROPERTY_BORDER_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER_WIDTH, FoPropertyBorderWidthClass)) #define FO_IS_PROPERTY_BORDER_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER_WIDTH)) #define FO_IS_PROPERTY_BORDER_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER_WIDTH)) #define FO_PROPERTY_BORDER_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER_WIDTH, FoPropertyBorderWidthClass)) typedef struct _FoPropertyBorderWidth FoPropertyBorderWidth; typedef struct _FoPropertyBorderWidthClass FoPropertyBorderWidthClass; GType fo_property_border_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_width_new (void); FoProperty * fo_property_border_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border.c0000644000175000017500000001005410660107746017010 00000000000000/* Fo * fo-property-border.c: 'border' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-border.h" #include "property/fo-property-util.h" /* border */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ struct _FoPropertyBorder { FoProperty parent_instance; }; struct _FoPropertyBorderClass { FoPropertyClass parent_class; }; static void fo_property_border_init (FoPropertyBorder *property_border); static void fo_property_border_class_init (FoPropertyBorderClass *klass); static void fo_property_border_finalize (GObject *object); static const gchar class_name[] = "border"; static gpointer parent_class; /** * fo_property_border_get_type: * * Register the #FoPropertyBorder type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBorder. **/ GType fo_property_border_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBorderClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_border_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBorder), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_border_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_border_init: * @border: #FoPropertyBorder object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBorder. **/ void fo_property_border_init (FoPropertyBorder *border) { FO_PROPERTY (border)->value = NULL; } /** * fo_property_border_class_init: * @klass: #FoPropertyBorderClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBorderClass. **/ void fo_property_border_class_init (FoPropertyBorderClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_border_finalize; property_class->expr_eval = fo_expr_wsc_eval; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_wsc_enum; property_class->validate = fo_property_util_validate_wsc; property_class->get_initial = fo_property_border_get_initial; } /** * fo_property_border_finalize: * @object: #FoPropertyBorder object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBorder. **/ void fo_property_border_finalize (GObject *object) { FoPropertyBorder *border; border = FO_PROPERTY_BORDER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_border_new: * * Creates a new #FoPropertyBorder initialized to default value. * * Return value: the new #FoPropertyBorder. **/ FoProperty* fo_property_border_new (void) { FoProperty* border; border = FO_PROPERTY (g_object_new (fo_property_border_get_type (), NULL)); return border; } /** * fo_property_border_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_border_get_initial (void) { static FoProperty *border = NULL; if (border == NULL) { border = fo_property_border_new (); } return border; } xmlroff-0.6.2/libfo/property/fo-property-border.h0000644000175000017500000000301210770023365017005 00000000000000/* Fo * fo-property-border.h: 'border' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_H__ #define __FO_PROPERTY_BORDER_H__ #include #include G_BEGIN_DECLS /* border */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* [ || || ] | inherit */ /* Initial value: see individual properties */ #define FO_TYPE_PROPERTY_BORDER (fo_property_border_get_type ()) #define FO_PROPERTY_BORDER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BORDER, FoPropertyBorder)) #define FO_PROPERTY_BORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BORDER, FoPropertyBorderClass)) #define FO_IS_PROPERTY_BORDER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BORDER)) #define FO_IS_PROPERTY_BORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BORDER)) #define FO_PROPERTY_BORDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BORDER, FoPropertyBorderClass)) typedef struct _FoPropertyBorder FoPropertyBorder; typedef struct _FoPropertyBorderClass FoPropertyBorderClass; GType fo_property_border_get_type (void) G_GNUC_CONST; FoProperty * fo_property_border_new (void); FoProperty * fo_property_border_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_H__ */ xmlroff-0.6.2/libfo/property/fo-property-border-private.h0000644000175000017500000000112110643167450020457 00000000000000/* Fo * fo-property-border-private.h: Structures private to common border property definitions * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BORDER_PRIVATE_H__ #define __FO_PROPERTY_BORDER_PRIVATE_H__ #include #include G_BEGIN_DECLS struct _FoPropertyBorder { FoProperty parent_instance; }; struct _FoPropertyBorderClass { FoPropertyClass parent_class; }; G_END_DECLS #endif /* !__FO_PROPERTY_BORDER_PRIVATE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-break-after.c0000644000175000017500000002163110660107746017721 00000000000000/* Fo * fo-property-break-after.c: 'break-after' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-break-after.h" /* break-after */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | column | page | even-page | odd-page | inherit */ /* Initial value: auto */ struct _FoPropertyBreakAfter { FoProperty parent_instance; }; struct _FoPropertyBreakAfterClass { FoPropertyClass parent_class; }; static void fo_property_break_after_init (FoPropertyBreakAfter *property_break_after); static void fo_property_break_after_class_init (FoPropertyBreakAfterClass *klass); static void fo_property_break_after_finalize (GObject *object); static FoDatatype* fo_property_break_after_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_break_after_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "break-after"; static gpointer parent_class; /** * fo_property_break_after_get_type: * * Register the #FoPropertyBreakAfter type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBreakAfter. **/ GType fo_property_break_after_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBreakAfterClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_break_after_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBreakAfter), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_break_after_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_break_after_init: * @break_after: #FoPropertyBreakAfter object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBreakAfter. **/ void fo_property_break_after_init (FoPropertyBreakAfter *break_after) { FO_PROPERTY (break_after)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_break_after_class_init: * @klass: #FoPropertyBreakAfterClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBreakAfterClass. **/ void fo_property_break_after_class_init (FoPropertyBreakAfterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_break_after_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_break_after_resolve_enum; property_class->validate = fo_property_break_after_validate; property_class->get_initial = fo_property_break_after_get_initial; } /** * fo_property_break_after_finalize: * @object: #FoPropertyBreakAfter object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBreakAfter. **/ void fo_property_break_after_finalize (GObject *object) { FoPropertyBreakAfter *break_after; break_after = FO_PROPERTY_BREAK_AFTER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_break_after_new: * * Creates a new #FoPropertyBreakAfter initialized to default value. * * Return value: the new #FoPropertyBreakAfter. **/ FoProperty* fo_property_break_after_new (void) { FoProperty* break_after; break_after = FO_PROPERTY (g_object_new (fo_property_break_after_get_type (), NULL)); return break_after; } /** * fo_property_break_after_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_break_after_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "column") == 0) || (strcmp (token, "page") == 0) || (strcmp (token, "even-page") == 0) || (strcmp (token, "odd-page") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_break_after_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_break_after_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO) || (value == FO_ENUM_ENUM_COLUMN) || (value == FO_ENUM_ENUM_PAGE) || (value == FO_ENUM_ENUM_EVEN_PAGE) || (value == FO_ENUM_ENUM_ODD_PAGE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_break_after_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_break_after_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_break_after_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_break_after_get_initial (void) { static FoProperty *break_after = NULL; if (break_after == NULL) { break_after = fo_property_break_after_new (); } return break_after; } xmlroff-0.6.2/libfo/property/fo-property-break-after.h0000644000175000017500000000316210770023365017721 00000000000000/* Fo * fo-property-break-after.h: 'break-after' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BREAK_AFTER_H__ #define __FO_PROPERTY_BREAK_AFTER_H__ #include #include G_BEGIN_DECLS /* break-after */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | column | page | even-page | odd-page | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_BREAK_AFTER (fo_property_break_after_get_type ()) #define FO_PROPERTY_BREAK_AFTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BREAK_AFTER, FoPropertyBreakAfter)) #define FO_PROPERTY_BREAK_AFTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BREAK_AFTER, FoPropertyBreakAfterClass)) #define FO_IS_PROPERTY_BREAK_AFTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BREAK_AFTER)) #define FO_IS_PROPERTY_BREAK_AFTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BREAK_AFTER)) #define FO_PROPERTY_BREAK_AFTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BREAK_AFTER, FoPropertyBreakAfterClass)) typedef struct _FoPropertyBreakAfter FoPropertyBreakAfter; typedef struct _FoPropertyBreakAfterClass FoPropertyBreakAfterClass; GType fo_property_break_after_get_type (void) G_GNUC_CONST; FoProperty * fo_property_break_after_new (void); FoProperty * fo_property_break_after_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BREAK_AFTER_H__ */ xmlroff-0.6.2/libfo/property/fo-property-break-before.c0000644000175000017500000002174610660107747020072 00000000000000/* Fo * fo-property-break-before.c: 'break-before' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-break-before.h" /* break-before */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | column | page | even-page | odd-page | inherit */ /* Initial value: auto */ struct _FoPropertyBreakBefore { FoProperty parent_instance; }; struct _FoPropertyBreakBeforeClass { FoPropertyClass parent_class; }; static void fo_property_break_before_init (FoPropertyBreakBefore *property_break_before); static void fo_property_break_before_class_init (FoPropertyBreakBeforeClass *klass); static void fo_property_break_before_finalize (GObject *object); static FoDatatype* fo_property_break_before_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_break_before_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "break-before"; static gpointer parent_class; /** * fo_property_break_before_get_type: * * Register the #FoPropertyBreakBefore type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBreakBefore. **/ GType fo_property_break_before_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBreakBeforeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_break_before_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBreakBefore), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_break_before_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_break_before_init: * @break_before: #FoPropertyBreakBefore object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBreakBefore. **/ void fo_property_break_before_init (FoPropertyBreakBefore *break_before) { FO_PROPERTY (break_before)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_break_before_class_init: * @klass: #FoPropertyBreakBeforeClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBreakBeforeClass. **/ void fo_property_break_before_class_init (FoPropertyBreakBeforeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_break_before_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_break_before_resolve_enum; property_class->validate = fo_property_break_before_validate; property_class->get_initial = fo_property_break_before_get_initial; } /** * fo_property_break_before_finalize: * @object: #FoPropertyBreakBefore object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBreakBefore. **/ void fo_property_break_before_finalize (GObject *object) { FoPropertyBreakBefore *break_before; break_before = FO_PROPERTY_BREAK_BEFORE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_break_before_new: * * Creates a new #FoPropertyBreakBefore initialized to default value. * * Return value: the new #FoPropertyBreakBefore. **/ FoProperty* fo_property_break_before_new (void) { FoProperty* break_before; break_before = FO_PROPERTY (g_object_new (fo_property_break_before_get_type (), NULL)); return break_before; } /** * fo_property_break_before_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_break_before_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "column") == 0) || (strcmp (token, "page") == 0) || (strcmp (token, "even-page") == 0) || (strcmp (token, "odd-page") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_break_before_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_break_before_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO) || (value == FO_ENUM_ENUM_COLUMN) || (value == FO_ENUM_ENUM_PAGE) || (value == FO_ENUM_ENUM_EVEN_PAGE) || (value == FO_ENUM_ENUM_ODD_PAGE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_break_before_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_break_before_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_break_before_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_break_before_get_initial (void) { static FoProperty *break_before = NULL; if (break_before == NULL) { break_before = fo_property_break_before_new (); } return break_before; } xmlroff-0.6.2/libfo/property/fo-property-break-before.h0000644000175000017500000000321610770023365020062 00000000000000/* Fo * fo-property-break-before.h: 'break-before' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BREAK_BEFORE_H__ #define __FO_PROPERTY_BREAK_BEFORE_H__ #include #include G_BEGIN_DECLS /* break-before */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | column | page | even-page | odd-page | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_BREAK_BEFORE (fo_property_break_before_get_type ()) #define FO_PROPERTY_BREAK_BEFORE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BREAK_BEFORE, FoPropertyBreakBefore)) #define FO_PROPERTY_BREAK_BEFORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BREAK_BEFORE, FoPropertyBreakBeforeClass)) #define FO_IS_PROPERTY_BREAK_BEFORE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BREAK_BEFORE)) #define FO_IS_PROPERTY_BREAK_BEFORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BREAK_BEFORE)) #define FO_PROPERTY_BREAK_BEFORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BREAK_BEFORE, FoPropertyBreakBeforeClass)) typedef struct _FoPropertyBreakBefore FoPropertyBreakBefore; typedef struct _FoPropertyBreakBeforeClass FoPropertyBreakBeforeClass; GType fo_property_break_before_get_type (void) G_GNUC_CONST; FoProperty * fo_property_break_before_new (void); FoProperty * fo_property_break_before_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BREAK_BEFORE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-character.c0000644000175000017500000001410710660107746017472 00000000000000/* Fo * fo-property-character.c: 'character' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-character.h" #include "property/fo-property-util.h" /* character */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: N/A, value is required */ struct _FoPropertyCharacter { FoProperty parent_instance; }; struct _FoPropertyCharacterClass { FoPropertyClass parent_class; }; static void fo_property_character_init (FoPropertyCharacter *property_character); static void fo_property_character_class_init (FoPropertyCharacterClass *klass); static void fo_property_character_finalize (GObject *object); static FoDatatype* fo_property_character_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "character"; static gpointer parent_class; /** * fo_property_character_get_type: * * Register the #FoPropertyCharacter type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyCharacter. **/ GType fo_property_character_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyCharacterClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_character_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyCharacter), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_character_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_character_init: * @character: #FoPropertyCharacter object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyCharacter. **/ void fo_property_character_init (FoPropertyCharacter *character) { FO_PROPERTY (character)->value = NULL; } /** * fo_property_character_class_init: * @klass: #FoPropertyCharacterClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyCharacterClass. **/ void fo_property_character_class_init (FoPropertyCharacterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_character_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_character_validate; property_class->get_initial = fo_property_character_get_initial; } /** * fo_property_character_finalize: * @object: #FoPropertyCharacter object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyCharacter. **/ void fo_property_character_finalize (GObject *object) { FoPropertyCharacter *character; character = FO_PROPERTY_CHARACTER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_character_new: * * Creates a new #FoPropertyCharacter initialized to default value. * * Return value: the new #FoPropertyCharacter. **/ FoProperty* fo_property_character_new (void) { FoProperty* character; character = FO_PROPERTY (g_object_new (fo_property_character_get_type (), NULL)); return character; } /** * fo_property_character_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_character_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_CHAR (datatype)) { return datatype; } else if (FO_IS_NAME (datatype)) { new_datatype = fo_char_new_with_value (fo_name_get_value (datatype)); g_object_unref (datatype); return (new_datatype); } else if (FO_IS_STRING (datatype)) { new_datatype = fo_char_new_with_value (fo_string_get_value (datatype)); g_object_unref (datatype); return (new_datatype); } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_character_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_character_get_initial (void) { static FoProperty *character = NULL; if (character == NULL) { character = fo_property_character_new (); } return character; } xmlroff-0.6.2/libfo/property/fo-property-character.h0000644000175000017500000000305110770023365017467 00000000000000/* Fo * fo-property-character.h: 'character' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_CHARACTER_H__ #define __FO_PROPERTY_CHARACTER_H__ #include #include G_BEGIN_DECLS /* character */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: N/A, value is required */ #define FO_TYPE_PROPERTY_CHARACTER (fo_property_character_get_type ()) #define FO_PROPERTY_CHARACTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_CHARACTER, FoPropertyCharacter)) #define FO_PROPERTY_CHARACTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_CHARACTER, FoPropertyCharacterClass)) #define FO_IS_PROPERTY_CHARACTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_CHARACTER)) #define FO_IS_PROPERTY_CHARACTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_CHARACTER)) #define FO_PROPERTY_CHARACTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_CHARACTER, FoPropertyCharacterClass)) typedef struct _FoPropertyCharacter FoPropertyCharacter; typedef struct _FoPropertyCharacterClass FoPropertyCharacterClass; GType fo_property_character_get_type (void) G_GNUC_CONST; FoProperty * fo_property_character_new (void); FoProperty * fo_property_character_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_CHARACTER_H__ */ xmlroff-0.6.2/libfo/property/fo-property-clip.c0000644000175000017500000001512310660107746016464 00000000000000/* Fo * fo-property-clip.c: 'clip' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-clip.h" #include "property/fo-property-util.h" /* clip */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | auto | inherit */ /* Initial value: auto */ struct _FoPropertyClip { FoProperty parent_instance; }; struct _FoPropertyClipClass { FoPropertyClass parent_class; }; static void fo_property_clip_init (FoPropertyClip *property_clip); static void fo_property_clip_class_init (FoPropertyClipClass *klass); static void fo_property_clip_finalize (GObject *object); static FoDatatype* fo_property_clip_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "clip"; static gpointer parent_class; /** * fo_property_clip_get_type: * * Register the #FoPropertyClip type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyClip. **/ GType fo_property_clip_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyClipClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_clip_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyClip), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_clip_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_clip_init: * @clip: #FoPropertyClip object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyClip. **/ void fo_property_clip_init (FoPropertyClip *clip) { FO_PROPERTY (clip)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_clip_class_init: * @klass: #FoPropertyClipClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyClipClass. **/ void fo_property_clip_class_init (FoPropertyClipClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_clip_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_clip_validate; property_class->get_initial = fo_property_clip_get_initial; } /** * fo_property_clip_finalize: * @object: #FoPropertyClip object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyClip. **/ void fo_property_clip_finalize (GObject *object) { FoPropertyClip *clip; clip = FO_PROPERTY_CLIP (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_clip_new: * * Creates a new #FoPropertyClip initialized to default value. * * Return value: the new #FoPropertyClip. **/ FoProperty* fo_property_clip_new (void) { FoProperty* clip; clip = FO_PROPERTY (g_object_new (fo_property_clip_get_type (), NULL)); return clip; } /** * fo_property_clip_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_clip_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_clip_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_clip_get_initial (void) { static FoProperty *clip = NULL; if (clip == NULL) { clip = fo_property_clip_new (); } return clip; } xmlroff-0.6.2/libfo/property/fo-property-clip.h0000644000175000017500000000263010770023365016464 00000000000000/* Fo * fo-property-clip.h: 'clip' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_CLIP_H__ #define __FO_PROPERTY_CLIP_H__ #include #include G_BEGIN_DECLS /* clip */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | auto | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_CLIP (fo_property_clip_get_type ()) #define FO_PROPERTY_CLIP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_CLIP, FoPropertyClip)) #define FO_PROPERTY_CLIP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_CLIP, FoPropertyClipClass)) #define FO_IS_PROPERTY_CLIP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_CLIP)) #define FO_IS_PROPERTY_CLIP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_CLIP)) #define FO_PROPERTY_CLIP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_CLIP, FoPropertyClipClass)) typedef struct _FoPropertyClip FoPropertyClip; typedef struct _FoPropertyClipClass FoPropertyClipClass; GType fo_property_clip_get_type (void) G_GNUC_CONST; FoProperty * fo_property_clip_new (void); FoProperty * fo_property_clip_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_CLIP_H__ */ xmlroff-0.6.2/libfo/property/fo-property-column-number.c0000644000175000017500000001445010660107746020322 00000000000000/* Fo * fo-property-column-number.c: 'column-number' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-column-number.h" #include "property/fo-property-util.h" /* column-number */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: see prose */ struct _FoPropertyColumnNumber { FoProperty parent_instance; }; struct _FoPropertyColumnNumberClass { FoPropertyClass parent_class; }; static void fo_property_column_number_init (FoPropertyColumnNumber *property_column_number); static void fo_property_column_number_class_init (FoPropertyColumnNumberClass *klass); static void fo_property_column_number_finalize (GObject *object); static FoDatatype* fo_property_column_number_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "column-number"; static gpointer parent_class; /** * fo_property_column_number_get_type: * * Register the #FoPropertyColumnNumber type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyColumnNumber. **/ GType fo_property_column_number_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyColumnNumberClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_column_number_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyColumnNumber), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_column_number_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_column_number_init: * @column_number: #FoPropertyColumnNumber object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyColumnNumber. **/ void fo_property_column_number_init (FoPropertyColumnNumber *column_number) { FO_PROPERTY (column_number)->value = NULL; } /** * fo_property_column_number_class_init: * @klass: #FoPropertyColumnNumberClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyColumnNumberClass. **/ void fo_property_column_number_class_init (FoPropertyColumnNumberClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_column_number_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_column_number_validate; property_class->get_initial = fo_property_column_number_get_initial; } /** * fo_property_column_number_finalize: * @object: #FoPropertyColumnNumber object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyColumnNumber. **/ void fo_property_column_number_finalize (GObject *object) { FoPropertyColumnNumber *column_number; column_number = FO_PROPERTY_COLUMN_NUMBER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_column_number_new: * * Creates a new #FoPropertyColumnNumber initialized to default value. * * Return value: the new #FoPropertyColumnNumber. **/ FoProperty* fo_property_column_number_new (void) { FoProperty* column_number; column_number = FO_PROPERTY (g_object_new (fo_property_column_number_get_type (), NULL)); return column_number; } /** * fo_property_column_number_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_column_number_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NUMBER (datatype)) { FoDatatype *new_datatype; gfloat number_value = fo_number_get_value (datatype); /* FIXME: There has to be a better way to do this conversion. */ gint integer_value = number_value + 0.5; g_object_unref (datatype); new_datatype = fo_integer_new_with_value (MAX (integer_value, 1)); return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_column_number_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_column_number_get_initial (void) { static FoProperty *column_number = NULL; if (column_number == NULL) { column_number = fo_property_column_number_new (); } return column_number; } xmlroff-0.6.2/libfo/property/fo-property-column-number.h0000644000175000017500000000320210770023365020314 00000000000000/* Fo * fo-property-column-number.h: 'column-number' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_COLUMN_NUMBER_H__ #define __FO_PROPERTY_COLUMN_NUMBER_H__ #include #include G_BEGIN_DECLS /* column-number */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: see prose */ #define FO_TYPE_PROPERTY_COLUMN_NUMBER (fo_property_column_number_get_type ()) #define FO_PROPERTY_COLUMN_NUMBER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_COLUMN_NUMBER, FoPropertyColumnNumber)) #define FO_PROPERTY_COLUMN_NUMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_COLUMN_NUMBER, FoPropertyColumnNumberClass)) #define FO_IS_PROPERTY_COLUMN_NUMBER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_COLUMN_NUMBER)) #define FO_IS_PROPERTY_COLUMN_NUMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_COLUMN_NUMBER)) #define FO_PROPERTY_COLUMN_NUMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_COLUMN_NUMBER, FoPropertyColumnNumberClass)) typedef struct _FoPropertyColumnNumber FoPropertyColumnNumber; typedef struct _FoPropertyColumnNumberClass FoPropertyColumnNumberClass; GType fo_property_column_number_get_type (void) G_GNUC_CONST; FoProperty * fo_property_column_number_new (void); FoProperty * fo_property_column_number_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_COLUMN_NUMBER_H__ */ xmlroff-0.6.2/libfo/property/fo-property-column-width.c0000644000175000017500000002552110700514772020146 00000000000000/* Fo * fo-property-column-width.c: 'column-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "datatype/fo-datatype.h" #include "datatype/fo-pcw.h" #include "fo-property-private.h" #include "fo-property-font-size.h" #include "fo-property-column-width.h" /* column-width */ /* | */ /* NO ENUMERATED VALUE */ struct _FoPropertyColumnWidth { FoProperty parent_instance; }; struct _FoPropertyColumnWidthClass { FoPropertyClass parent_class; }; static void fo_property_column_width_init (FoPropertyColumnWidth *property_column_width); static void fo_property_column_width_class_init (FoPropertyColumnWidthClass *klass); static void fo_property_column_width_finalize (GObject *object); static FoDatatype* fo_property_column_width_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_column_width_validate (FoDatatype *datatype, FoContext *context, GError **error); static FoProperty* fo_property_column_width_new_from_expr (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error); static const gchar class_name[] = "column-width"; static gpointer parent_class; /** * fo_property_column_width_get_type: * * Register the FoPropertyColumnWidth type if not already registered and * return its GType value * * Return value: GType of FoPropertyColumnWidth **/ GType fo_property_column_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyColumnWidthClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_property_column_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyColumnWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_column_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_column_width_init: * @column_width: FoPropertyColumnWidth object to initialise * * Implements GInstanceInitFunc for FoPropertyColumnWidth **/ void fo_property_column_width_init (FoPropertyColumnWidth *column_width) { FO_PROPERTY (column_width)->value = NULL; } /** * fo_property_column_width_class_init: * @klass: FoPropertyColumnWidthClass object to initialise * * Implements GClassInitFunc for FoPropertyColumnWidthClass **/ void fo_property_column_width_class_init (FoPropertyColumnWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_column_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_column_width_resolve_enum; property_class->resolve_percent = fo_property_column_width_resolve_percent; property_class->validate = fo_property_column_width_validate; property_class->get_initial = fo_property_column_width_get_initial; property_class->new_from_expr = fo_property_column_width_new_from_expr; } /** * fo_property_column_width_finalize: * @object: FoPropertyColumnWidth object to finalize * * Implements GObjectFinalizeFunc for FoPropertyColumnWidth **/ void fo_property_column_width_finalize (GObject *object) { FoPropertyColumnWidth *column_width; column_width = FO_PROPERTY_COLUMN_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_column_width_new: * * Creates a new #FoPropertyColumnWidth initialized to default value. * * Return value: the new #FoPropertyColumnWidth **/ FoProperty* fo_property_column_width_new (void) { FoProperty* column_width; column_width = FO_PROPERTY (g_object_new (fo_property_column_width_get_type (), NULL)); return column_width; } /** * fo_property_column_width_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token * @context: FoContext object from which to possibly inherit values * @error: Information about an error that has occurred * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL * * Return value: Resolved enumeration value or NULL **/ FoDatatype* fo_property_column_width_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_column_width_resolve_percent: * @percentage: The percentage. * @font_size: Current font-size property value. * @fo_node: Current #FoFo node. * @context: Current #FoContext. * @error: #GError. * * Resolves percentage values in 'column-width' property value * expressions. * * Return value: Resolved value for @percentage. **/ FoDatatype* fo_property_column_width_resolve_percent (gdouble percentage, const FoDatatype *font_size G_GNUC_UNUSED, const FoFo *fo_node, const FoContext *context G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { FoFo *table; FoFoAreaIterator *iterator; FoArea *table_area; gdouble child_ipdim; table = FO_FO (fo_node_get_ancestor_or_self_by_name (FO_NODE (fo_node), "FoTable")); g_assert (table != NULL); iterator = fo_fo_get_area_iterator (table); table_area = fo_fo_area_iterator_get_area (iterator); g_free (iterator); g_assert (table_area != NULL); child_ipdim = fo_area_get_child_available_ipdim (table_area); return fo_length_new_with_value (child_ipdim * percentage * 0.01); } /** * fo_property_column_width_validate: * @datatype: FoDatatype to be validated against allowed datatypes and * values for current property * @context: FoContext object from which to possibly inherit values * @error: Information about an error that has occurred * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed * * Return value: Valid datatype value or NULL **/ FoDatatype* fo_property_column_width_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_PCW (datatype)) { return datatype; } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, fo_object_sprintf (datatype), g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); return NULL; } } /** * fo_property_column_width_new_from_expr: * @property_class: #FoPropertyColumnWidth class. * @expr: Expression to be evaluated. * @context: #FoContext for inherited values. * @current_font_size: Current font size for resolving 'em' values. * @fo_node: The current #FoFo node. * @error: #GError for indicating any error that occurs. * * Evaluate @expr and create a new instance of @property_class with * value of @epr. * * Other parameters (except @error) provide context for evaluating * @expr. * * Return value: A new instance of #FoPropertyColumnWidth, or NULL if error. **/ FoProperty* fo_property_column_width_new_from_expr (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error) { FoProperty *property; FoDatatype *datatype; FoDatatype *string_datatype; GError *tmp_error = NULL; const gchar *property_name = NULL; g_return_val_if_fail (FO_IS_PROPERTY_CLASS (property_class), NULL); g_return_val_if_fail (expr != NULL, NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (current_font_size == NULL || FO_IS_PROPERTY_FONT_SIZE (current_font_size), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); property_name = G_OBJECT_CLASS_NAME (property_class); datatype = fo_expr_eval (expr, property_name, property_class->resolve_enum, property_class->resolve_percent, current_font_size, fo_node, context, property_class->expr_env_list, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } datatype = property_class->validate (datatype, context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } g_object_unref (datatype); string_datatype = fo_string_new_with_value (expr); property = (FoProperty *) g_object_new (G_OBJECT_CLASS_TYPE (property_class), "value", string_datatype, NULL); return property; } /** * fo_property_column_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_column_width_get_initial (void) { static FoProperty *column_width = NULL; if (column_width == NULL) { column_width = fo_property_column_width_new (); } return column_width; } xmlroff-0.6.2/libfo/property/fo-property-column-width.h0000644000175000017500000000352210770023365020150 00000000000000/* Fo * fo-property-column-width.h: 'column-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_COLUMN_WIDTH_H__ #define __FO_PROPERTY_COLUMN_WIDTH_H__ #include #include #include G_BEGIN_DECLS /* column-width */ /* | */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_COLUMN_WIDTH (fo_property_column_width_get_type ()) #define FO_PROPERTY_COLUMN_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_COLUMN_WIDTH, FoPropertyColumnWidth)) #define FO_PROPERTY_COLUMN_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_COLUMN_WIDTH, FoPropertyColumnWidthClass)) #define FO_IS_PROPERTY_COLUMN_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_COLUMN_WIDTH)) #define FO_IS_PROPERTY_COLUMN_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_COLUMN_WIDTH)) #define FO_PROPERTY_COLUMN_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_COLUMN_WIDTH, FoPropertyColumnWidthClass)) typedef struct _FoPropertyColumnWidth FoPropertyColumnWidth; typedef struct _FoPropertyColumnWidthClass FoPropertyColumnWidthClass; GType fo_property_column_width_get_type (void) G_GNUC_CONST; FoProperty* fo_property_column_width_new (void); FoProperty* fo_property_column_width_get_initial (void); FoDatatype* fo_property_column_width_resolve_percent (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **error); G_END_DECLS #endif /* !__FO_PROPERTY_COLUMN_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-content-height.c0000644000175000017500000002203410660107746020454 00000000000000/* Fo * fo-property-content-height.c: 'content-height' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-content-height.h" /* content-height */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | scale-to-fit | | | inherit */ /* Initial value: auto */ struct _FoPropertyContentHeight { FoProperty parent_instance; }; struct _FoPropertyContentHeightClass { FoPropertyClass parent_class; }; static void fo_property_content_height_init (FoPropertyContentHeight *property_content_height); static void fo_property_content_height_class_init (FoPropertyContentHeightClass *klass); static void fo_property_content_height_finalize (GObject *object); static FoDatatype* fo_property_content_height_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_content_height_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "content-height"; static gpointer parent_class; /** * fo_property_content_height_get_type: * * Register the #FoPropertyContentHeight type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyContentHeight. **/ GType fo_property_content_height_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyContentHeightClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_content_height_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyContentHeight), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_content_height_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_content_height_init: * @content_height: #FoPropertyContentHeight object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyContentHeight. **/ void fo_property_content_height_init (FoPropertyContentHeight *content_height) { FO_PROPERTY (content_height)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_content_height_class_init: * @klass: #FoPropertyContentHeightClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyContentHeightClass. **/ void fo_property_content_height_class_init (FoPropertyContentHeightClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_content_height_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_content_height_resolve_enum; property_class->validate = fo_property_content_height_validate; property_class->get_initial = fo_property_content_height_get_initial; } /** * fo_property_content_height_finalize: * @object: #FoPropertyContentHeight object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyContentHeight. **/ void fo_property_content_height_finalize (GObject *object) { FoPropertyContentHeight *content_height; content_height = FO_PROPERTY_CONTENT_HEIGHT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_content_height_new: * * Creates a new #FoPropertyContentHeight initialized to default value. * * Return value: the new #FoPropertyContentHeight. **/ FoProperty* fo_property_content_height_new (void) { FoProperty* content_height; content_height = FO_PROPERTY (g_object_new (fo_property_content_height_get_type (), NULL)); return content_height; } /** * fo_property_content_height_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_content_height_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "scale-to-fit") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_content_height_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_content_height_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO) || (value == FO_ENUM_ENUM_SCALE_TO_FIT)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_content_height_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_content_height_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_content_height_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_content_height_get_initial (void) { static FoProperty *content_height = NULL; if (content_height == NULL) { content_height = fo_property_content_height_new (); } return content_height; } xmlroff-0.6.2/libfo/property/fo-property-content-height.h0000644000175000017500000000331010770023365020451 00000000000000/* Fo * fo-property-content-height.h: 'content-height' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_CONTENT_HEIGHT_H__ #define __FO_PROPERTY_CONTENT_HEIGHT_H__ #include #include G_BEGIN_DECLS /* content-height */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | scale-to-fit | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_CONTENT_HEIGHT (fo_property_content_height_get_type ()) #define FO_PROPERTY_CONTENT_HEIGHT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_CONTENT_HEIGHT, FoPropertyContentHeight)) #define FO_PROPERTY_CONTENT_HEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_CONTENT_HEIGHT, FoPropertyContentHeightClass)) #define FO_IS_PROPERTY_CONTENT_HEIGHT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_CONTENT_HEIGHT)) #define FO_IS_PROPERTY_CONTENT_HEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_CONTENT_HEIGHT)) #define FO_PROPERTY_CONTENT_HEIGHT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_CONTENT_HEIGHT, FoPropertyContentHeightClass)) typedef struct _FoPropertyContentHeight FoPropertyContentHeight; typedef struct _FoPropertyContentHeightClass FoPropertyContentHeightClass; GType fo_property_content_height_get_type (void) G_GNUC_CONST; FoProperty * fo_property_content_height_new (void); FoProperty * fo_property_content_height_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_CONTENT_HEIGHT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-content-type.c0000644000175000017500000001622410660107747020172 00000000000000/* Fo * fo-property-content-type.c: 'content-type' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-content-type.h" #include "property/fo-property-util.h" /* content-type */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | auto */ /* Initial value: auto */ struct _FoPropertyContentType { FoProperty parent_instance; }; struct _FoPropertyContentTypeClass { FoPropertyClass parent_class; }; static void fo_property_content_type_init (FoPropertyContentType *property_content_type); static void fo_property_content_type_class_init (FoPropertyContentTypeClass *klass); static void fo_property_content_type_finalize (GObject *object); static FoDatatype* fo_property_content_type_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "content-type"; static gpointer parent_class; /** * fo_property_content_type_get_type: * * Register the #FoPropertyContentType type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyContentType. **/ GType fo_property_content_type_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyContentTypeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_content_type_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyContentType), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_content_type_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_content_type_init: * @content_type: #FoPropertyContentType object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyContentType. **/ void fo_property_content_type_init (FoPropertyContentType *content_type) { FO_PROPERTY (content_type)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_content_type_class_init: * @klass: #FoPropertyContentTypeClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyContentTypeClass. **/ void fo_property_content_type_class_init (FoPropertyContentTypeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_content_type_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_content_type_validate; property_class->get_initial = fo_property_content_type_get_initial; } /** * fo_property_content_type_finalize: * @object: #FoPropertyContentType object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyContentType. **/ void fo_property_content_type_finalize (GObject *object) { FoPropertyContentType *content_type; content_type = FO_PROPERTY_CONTENT_TYPE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_content_type_new: * * Creates a new #FoPropertyContentType initialized to default value. * * Return value: the new #FoPropertyContentType. **/ FoProperty* fo_property_content_type_new (void) { FoProperty* content_type; content_type = FO_PROPERTY (g_object_new (fo_property_content_type_get_type (), NULL)); return content_type; } /** * fo_property_content_type_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_content_type_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_STRING (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_content_type_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_content_type_get_initial (void) { static FoProperty *content_type = NULL; if (content_type == NULL) { content_type = fo_property_content_type_new (); } return content_type; } xmlroff-0.6.2/libfo/property/fo-property-content-type.h0000644000175000017500000000315010770023365020164 00000000000000/* Fo * fo-property-content-type.h: 'content-type' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_CONTENT_TYPE_H__ #define __FO_PROPERTY_CONTENT_TYPE_H__ #include #include G_BEGIN_DECLS /* content-type */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | auto */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_CONTENT_TYPE (fo_property_content_type_get_type ()) #define FO_PROPERTY_CONTENT_TYPE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_CONTENT_TYPE, FoPropertyContentType)) #define FO_PROPERTY_CONTENT_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_CONTENT_TYPE, FoPropertyContentTypeClass)) #define FO_IS_PROPERTY_CONTENT_TYPE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_CONTENT_TYPE)) #define FO_IS_PROPERTY_CONTENT_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_CONTENT_TYPE)) #define FO_PROPERTY_CONTENT_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_CONTENT_TYPE, FoPropertyContentTypeClass)) typedef struct _FoPropertyContentType FoPropertyContentType; typedef struct _FoPropertyContentTypeClass FoPropertyContentTypeClass; GType fo_property_content_type_get_type (void) G_GNUC_CONST; FoProperty * fo_property_content_type_new (void); FoProperty * fo_property_content_type_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_CONTENT_TYPE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-content-width.c0000644000175000017500000002171710660107747020333 00000000000000/* Fo * fo-property-content-width.c: 'content-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-content-width.h" /* content-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | scale-to-fit | | | inherit */ /* Initial value: auto */ struct _FoPropertyContentWidth { FoProperty parent_instance; }; struct _FoPropertyContentWidthClass { FoPropertyClass parent_class; }; static void fo_property_content_width_init (FoPropertyContentWidth *property_content_width); static void fo_property_content_width_class_init (FoPropertyContentWidthClass *klass); static void fo_property_content_width_finalize (GObject *object); static FoDatatype* fo_property_content_width_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_content_width_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "content-width"; static gpointer parent_class; /** * fo_property_content_width_get_type: * * Register the #FoPropertyContentWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyContentWidth. **/ GType fo_property_content_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyContentWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_content_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyContentWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_content_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_content_width_init: * @content_width: #FoPropertyContentWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyContentWidth. **/ void fo_property_content_width_init (FoPropertyContentWidth *content_width) { FO_PROPERTY (content_width)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_content_width_class_init: * @klass: #FoPropertyContentWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyContentWidthClass. **/ void fo_property_content_width_class_init (FoPropertyContentWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_content_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_content_width_resolve_enum; property_class->validate = fo_property_content_width_validate; property_class->get_initial = fo_property_content_width_get_initial; } /** * fo_property_content_width_finalize: * @object: #FoPropertyContentWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyContentWidth. **/ void fo_property_content_width_finalize (GObject *object) { FoPropertyContentWidth *content_width; content_width = FO_PROPERTY_CONTENT_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_content_width_new: * * Creates a new #FoPropertyContentWidth initialized to default value. * * Return value: the new #FoPropertyContentWidth. **/ FoProperty* fo_property_content_width_new (void) { FoProperty* content_width; content_width = FO_PROPERTY (g_object_new (fo_property_content_width_get_type (), NULL)); return content_width; } /** * fo_property_content_width_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_content_width_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "scale-to-fit") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_content_width_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_content_width_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO) || (value == FO_ENUM_ENUM_SCALE_TO_FIT)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_content_width_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_content_width_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_content_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_content_width_get_initial (void) { static FoProperty *content_width = NULL; if (content_width == NULL) { content_width = fo_property_content_width_new (); } return content_width; } xmlroff-0.6.2/libfo/property/fo-property-content-width.h0000644000175000017500000000325410770023365020327 00000000000000/* Fo * fo-property-content-width.h: 'content-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_CONTENT_WIDTH_H__ #define __FO_PROPERTY_CONTENT_WIDTH_H__ #include #include G_BEGIN_DECLS /* content-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | scale-to-fit | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_CONTENT_WIDTH (fo_property_content_width_get_type ()) #define FO_PROPERTY_CONTENT_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_CONTENT_WIDTH, FoPropertyContentWidth)) #define FO_PROPERTY_CONTENT_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_CONTENT_WIDTH, FoPropertyContentWidthClass)) #define FO_IS_PROPERTY_CONTENT_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_CONTENT_WIDTH)) #define FO_IS_PROPERTY_CONTENT_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_CONTENT_WIDTH)) #define FO_PROPERTY_CONTENT_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_CONTENT_WIDTH, FoPropertyContentWidthClass)) typedef struct _FoPropertyContentWidth FoPropertyContentWidth; typedef struct _FoPropertyContentWidthClass FoPropertyContentWidthClass; GType fo_property_content_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_content_width_new (void); FoProperty * fo_property_content_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_CONTENT_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-direction.c0000644000175000017500000002074010660107746017516 00000000000000/* Fo * fo-property-direction.c: 'direction' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-direction.h" /* direction */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* ltr | rtl | inherit */ /* Initial value: ltr */ struct _FoPropertyDirection { FoProperty parent_instance; }; struct _FoPropertyDirectionClass { FoPropertyClass parent_class; }; static void fo_property_direction_init (FoPropertyDirection *property_direction); static void fo_property_direction_class_init (FoPropertyDirectionClass *klass); static void fo_property_direction_finalize (GObject *object); static FoDatatype* fo_property_direction_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_direction_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "direction"; static gpointer parent_class; /** * fo_property_direction_get_type: * * Register the #FoPropertyDirection type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyDirection. **/ GType fo_property_direction_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyDirectionClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_direction_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyDirection), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_direction_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_direction_init: * @direction: #FoPropertyDirection object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyDirection. **/ void fo_property_direction_init (FoPropertyDirection *direction) { FO_PROPERTY (direction)->value = g_object_ref (fo_enum_get_enum_ltr ()); } /** * fo_property_direction_class_init: * @klass: #FoPropertyDirectionClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyDirectionClass. **/ void fo_property_direction_class_init (FoPropertyDirectionClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_direction_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_direction_resolve_enum; property_class->validate = fo_property_direction_validate; property_class->get_initial = fo_property_direction_get_initial; } /** * fo_property_direction_finalize: * @object: #FoPropertyDirection object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyDirection. **/ void fo_property_direction_finalize (GObject *object) { FoPropertyDirection *direction; direction = FO_PROPERTY_DIRECTION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_direction_new: * * Creates a new #FoPropertyDirection initialized to default value. * * Return value: the new #FoPropertyDirection. **/ FoProperty* fo_property_direction_new (void) { FoProperty* direction; direction = FO_PROPERTY (g_object_new (fo_property_direction_get_type (), NULL)); return direction; } /** * fo_property_direction_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_direction_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "ltr") == 0) || (strcmp (token, "rtl") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_direction_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_direction_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_LTR) || (value == FO_ENUM_ENUM_RTL)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_direction_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_direction_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_direction_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_direction_get_initial (void) { static FoProperty *direction = NULL; if (direction == NULL) { direction = fo_property_direction_new (); } return direction; } xmlroff-0.6.2/libfo/property/fo-property-direction.h0000644000175000017500000000303510770023365017515 00000000000000/* Fo * fo-property-direction.h: 'direction' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 200-20087 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_DIRECTION_H__ #define __FO_PROPERTY_DIRECTION_H__ #include #include G_BEGIN_DECLS /* direction */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* ltr | rtl | inherit */ /* Initial value: ltr */ #define FO_TYPE_PROPERTY_DIRECTION (fo_property_direction_get_type ()) #define FO_PROPERTY_DIRECTION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_DIRECTION, FoPropertyDirection)) #define FO_PROPERTY_DIRECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_DIRECTION, FoPropertyDirectionClass)) #define FO_IS_PROPERTY_DIRECTION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_DIRECTION)) #define FO_IS_PROPERTY_DIRECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_DIRECTION)) #define FO_PROPERTY_DIRECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_DIRECTION, FoPropertyDirectionClass)) typedef struct _FoPropertyDirection FoPropertyDirection; typedef struct _FoPropertyDirectionClass FoPropertyDirectionClass; GType fo_property_direction_get_type (void) G_GNUC_CONST; FoProperty * fo_property_direction_new (void); FoProperty * fo_property_direction_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_DIRECTION_H__ */ xmlroff-0.6.2/libfo/property/fo-property-display-align.c0000644000175000017500000002173410660107747020300 00000000000000/* Fo * fo-property-display-align.c: 'display-align' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-display-align.h" /* display-align */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* auto | before | center | after | inherit */ /* Initial value: auto */ struct _FoPropertyDisplayAlign { FoProperty parent_instance; }; struct _FoPropertyDisplayAlignClass { FoPropertyClass parent_class; }; static void fo_property_display_align_init (FoPropertyDisplayAlign *property_display_align); static void fo_property_display_align_class_init (FoPropertyDisplayAlignClass *klass); static void fo_property_display_align_finalize (GObject *object); static FoDatatype * fo_property_display_align_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_display_align_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "display-align"; static gpointer parent_class; /** * fo_property_display_align_get_type: * * Register the #FoPropertyDisplayAlign type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyDisplayAlign. **/ GType fo_property_display_align_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyDisplayAlignClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_display_align_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyDisplayAlign), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_display_align_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_display_align_init: * @display_align: #FoPropertyDisplayAlign object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyDisplayAlign. **/ void fo_property_display_align_init (FoPropertyDisplayAlign *display_align) { FO_PROPERTY (display_align)->value = g_object_ref (fo_enum_get_enum_by_nick ("auto")); } /** * fo_property_display_align_class_init: * @klass: #FoPropertyDisplayAlignClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyDisplayAlignClass. **/ void fo_property_display_align_class_init (FoPropertyDisplayAlignClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_display_align_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_display_align_resolve_enum; property_class->validate = fo_property_display_align_validate; property_class->get_initial = fo_property_display_align_get_initial; } /** * fo_property_display_align_finalize: * @object: #FoPropertyDisplayAlign object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyDisplayAlign. **/ void fo_property_display_align_finalize (GObject *object) { FoPropertyDisplayAlign *display_align; display_align = FO_PROPERTY_DISPLAY_ALIGN (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_display_align_new: * * Creates a new #FoPropertyDisplayAlign initialized to default value. * * Return value: the new #FoPropertyDisplayAlign. **/ FoProperty* fo_property_display_align_new (void) { FoProperty* display_align; display_align = FO_PROPERTY (g_object_new (fo_property_display_align_get_type (), NULL)); return display_align; } /** * fo_property_display_align_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_display_align_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "before") == 0) || (strcmp (token, "center") == 0) || (strcmp (token, "after") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_display_align_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_display_align_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO) || (value == FO_ENUM_ENUM_BEFORE) || (value == FO_ENUM_ENUM_CENTER) || (value == FO_ENUM_ENUM_AFTER)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_display_align_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_display_align_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_display_align_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_display_align_get_initial (void) { static FoProperty *display_align = NULL; if (display_align == NULL) { display_align = fo_property_display_align_new (); } return display_align; } xmlroff-0.6.2/libfo/property/fo-property-display-align.h0000644000175000017500000000352710770023365020300 00000000000000/* Fo * fo-property-display-align.h: 'display-align' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_DISPLAY_ALIGN_H__ #define __FO_PROPERTY_DISPLAY_ALIGN_H__ #include #include G_BEGIN_DECLS /* display-align */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* auto | before | center | after | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_DISPLAY_ALIGN (fo_property_display_align_get_type ()) #define FO_PROPERTY_DISPLAY_ALIGN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_DISPLAY_ALIGN, FoPropertyDisplayAlign)) #define FO_PROPERTY_DISPLAY_ALIGN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_DISPLAY_ALIGN, FoPropertyDisplayAlignClass)) #define FO_IS_PROPERTY_DISPLAY_ALIGN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_DISPLAY_ALIGN)) #define FO_IS_PROPERTY_DISPLAY_ALIGN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_DISPLAY_ALIGN)) #define FO_PROPERTY_DISPLAY_ALIGN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_DISPLAY_ALIGN, FoPropertyDisplayAlignClass)) /** * FoPropertyDisplayAlign: * * Instance of the 'display-align' property. **/ typedef struct _FoPropertyDisplayAlign FoPropertyDisplayAlign; /** * FoPropertyDisplayAlignClass: * * Class structure for the 'display-align' property. **/ typedef struct _FoPropertyDisplayAlignClass FoPropertyDisplayAlignClass; GType fo_property_display_align_get_type (void) G_GNUC_CONST; FoProperty * fo_property_display_align_new (void); FoProperty * fo_property_display_align_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_DISPLAY_ALIGN_H__ */ xmlroff-0.6.2/libfo/property/fo-property-end-indent.c0000644000175000017500000001634310660107746017567 00000000000000/* Fo * fo-property-end-indent.c: 'end-indent' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-end-indent.h" /* Inherited: TRUE */ /* Shorthand: FALSE */ /* end-indent */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyEndIndent { FoProperty parent_instance; }; struct _FoPropertyEndIndentClass { FoPropertyClass parent_class; }; static void fo_property_end_indent_init (FoPropertyEndIndent *property_end_indent); static void fo_property_end_indent_class_init (FoPropertyEndIndentClass *klass); static void fo_property_end_indent_finalize (GObject *object); static FoDatatype* fo_property_end_indent_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_end_indent_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "end-indent"; static gpointer parent_class; /** * fo_property_end_indent_get_type: * * Register the #FoPropertyEndIndent type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyEndIndent. **/ GType fo_property_end_indent_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyEndIndentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_end_indent_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyEndIndent), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_end_indent_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_end_indent_init: * @end_indent: #FoPropertyEndIndent object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyEndIndent. **/ void fo_property_end_indent_init (FoPropertyEndIndent *end_indent) { FO_PROPERTY (end_indent)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_end_indent_class_init: * @klass: #FoPropertyEndIndentClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyEndIndentClass. **/ void fo_property_end_indent_class_init (FoPropertyEndIndentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_end_indent_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_end_indent_resolve_enum; property_class->validate = fo_property_end_indent_validate; property_class->get_initial = fo_property_end_indent_get_initial; } /** * fo_property_end_indent_finalize: * @object: #FoPropertyEndIndent object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyEndIndent. **/ void fo_property_end_indent_finalize (GObject *object) { FoPropertyEndIndent *end_indent; end_indent = FO_PROPERTY_END_INDENT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_end_indent_new: * * Creates a new #FoPropertyEndIndent initialized to default value. * * Return value: the new #FoPropertyEndIndent. **/ FoProperty* fo_property_end_indent_new (void) { FoProperty* end_indent; end_indent = FO_PROPERTY (g_object_new (fo_property_end_indent_get_type (), NULL)); return end_indent; } /** * fo_property_end_indent_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_end_indent_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_end_indent_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_end_indent_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_end_indent_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_end_indent_get_initial (void) { static FoProperty *end_indent = NULL; if (end_indent == NULL) { end_indent = fo_property_end_indent_new (); } return end_indent; } xmlroff-0.6.2/libfo/property/fo-property-end-indent.h0000644000175000017500000000305210770023365017561 00000000000000/* Fo * fo-property-end-indent.h: 'end-indent' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_END_INDENT_H__ #define __FO_PROPERTY_END_INDENT_H__ #include #include G_BEGIN_DECLS /* end-indent */ /* | | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_END_INDENT (fo_property_end_indent_get_type ()) #define FO_PROPERTY_END_INDENT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_END_INDENT, FoPropertyEndIndent)) #define FO_PROPERTY_END_INDENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_END_INDENT, FoPropertyEndIndentClass)) #define FO_IS_PROPERTY_END_INDENT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_END_INDENT)) #define FO_IS_PROPERTY_END_INDENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_END_INDENT)) #define FO_PROPERTY_END_INDENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_END_INDENT, FoPropertyEndIndentClass)) typedef struct _FoPropertyEndIndent FoPropertyEndIndent; typedef struct _FoPropertyEndIndentClass FoPropertyEndIndentClass; GType fo_property_end_indent_get_type (void) G_GNUC_CONST; FoProperty* fo_property_end_indent_new (void); FoProperty* fo_property_end_indent_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_END_INDENT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-extent.c0000644000175000017500000001315210660107747017045 00000000000000/* Fo * fo-property-extent.c: 'extent' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-util.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-extent.h" /* extent */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 0.0pt */ struct _FoPropertyExtent { FoProperty parent_instance; }; struct _FoPropertyExtentClass { FoPropertyClass parent_class; }; static void fo_property_extent_init (FoPropertyExtent *property_extent); static void fo_property_extent_class_init (FoPropertyExtentClass *klass); static void fo_property_extent_finalize (GObject *object); static FoDatatype * fo_property_extent_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "extent"; static gpointer parent_class; /** * fo_property_extent_get_type: * * Register the #FoPropertyExtent type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyExtent. **/ GType fo_property_extent_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyExtentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_extent_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyExtent), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_extent_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_extent_init: * @extent: #FoPropertyExtent object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyExtent. **/ void fo_property_extent_init (FoPropertyExtent *extent) { FO_PROPERTY (extent)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_extent_class_init: * @klass: #FoPropertyExtentClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyExtentClass. **/ void fo_property_extent_class_init (FoPropertyExtentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_extent_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_extent_validate; property_class->get_initial = fo_property_extent_get_initial; } /** * fo_property_extent_finalize: * @object: #FoPropertyExtent object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyExtent. **/ void fo_property_extent_finalize (GObject *object) { FoPropertyExtent *extent; extent = FO_PROPERTY_EXTENT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_extent_new: * * Creates a new #FoPropertyExtent initialized to default value. * * Return value: the new #FoPropertyExtent. **/ FoProperty* fo_property_extent_new (void) { FoProperty* extent; extent = FO_PROPERTY (g_object_new (fo_property_extent_get_type (), NULL)); return extent; } /** * fo_property_extent_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_extent_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_extent_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_extent_get_initial (void) { static FoProperty *extent = NULL; if (extent == NULL) { extent = fo_property_extent_new (); } return extent; } xmlroff-0.6.2/libfo/property/fo-property-extent.h0000644000175000017500000000317310770023365017047 00000000000000/* Fo * fo-property-extent.h: 'extent' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_EXTENT_H__ #define __FO_PROPERTY_EXTENT_H__ #include #include G_BEGIN_DECLS /* extent */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 0.0pt */ #define FO_TYPE_PROPERTY_EXTENT (fo_property_extent_get_type ()) #define FO_PROPERTY_EXTENT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_EXTENT, FoPropertyExtent)) #define FO_PROPERTY_EXTENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_EXTENT, FoPropertyExtentClass)) #define FO_IS_PROPERTY_EXTENT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_EXTENT)) #define FO_IS_PROPERTY_EXTENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_EXTENT)) #define FO_PROPERTY_EXTENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_EXTENT, FoPropertyExtentClass)) /** * FoPropertyExtent: * * Instance of the 'extent' property. **/ typedef struct _FoPropertyExtent FoPropertyExtent; /** * FoPropertyExtentClass: * * Class structure for the 'extent' property. **/ typedef struct _FoPropertyExtentClass FoPropertyExtentClass; GType fo_property_extent_get_type (void) G_GNUC_CONST; FoProperty * fo_property_extent_new (void); FoProperty * fo_property_extent_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_EXTENT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-flow-name.c0000644000175000017500000001322310660107747017422 00000000000000/* Fo * fo-property-flow-name.c: 'flow-name' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-flow-name.h" #include "property/fo-property-util.h" /* flow-name */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: an empty name */ struct _FoPropertyFlowName { FoProperty parent_instance; }; struct _FoPropertyFlowNameClass { FoPropertyClass parent_class; }; static void fo_property_flow_name_init (FoPropertyFlowName *property_flow_name); static void fo_property_flow_name_class_init (FoPropertyFlowNameClass *klass); static void fo_property_flow_name_finalize (GObject *object); static FoDatatype* fo_property_flow_name_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "flow-name"; static gpointer parent_class; /** * fo_property_flow_name_get_type: * * Register the #FoPropertyFlowName type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyFlowName. **/ GType fo_property_flow_name_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyFlowNameClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_flow_name_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyFlowName), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_flow_name_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_flow_name_init: * @flow_name: #FoPropertyFlowName object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyFlowName. **/ void fo_property_flow_name_init (FoPropertyFlowName *flow_name) { FO_PROPERTY (flow_name)->value = NULL; } /** * fo_property_flow_name_class_init: * @klass: #FoPropertyFlowNameClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyFlowNameClass. **/ void fo_property_flow_name_class_init (FoPropertyFlowNameClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_flow_name_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_flow_name_validate; property_class->get_initial = fo_property_flow_name_get_initial; } /** * fo_property_flow_name_finalize: * @object: #FoPropertyFlowName object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyFlowName. **/ void fo_property_flow_name_finalize (GObject *object) { FoPropertyFlowName *flow_name; flow_name = FO_PROPERTY_FLOW_NAME (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_flow_name_new: * * Creates a new #FoPropertyFlowName initialized to default value. * * Return value: the new #FoPropertyFlowName. **/ FoProperty* fo_property_flow_name_new (void) { FoProperty* flow_name; flow_name = FO_PROPERTY (g_object_new (fo_property_flow_name_get_type (), NULL)); return flow_name; } /** * fo_property_flow_name_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_flow_name_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NAME (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_flow_name_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_flow_name_get_initial (void) { static FoProperty *flow_name = NULL; if (flow_name == NULL) { flow_name = fo_property_flow_name_new (); } return flow_name; } xmlroff-0.6.2/libfo/property/fo-property-flow-name.h0000644000175000017500000000302410770023365017420 00000000000000/* Fo * fo-property-flow-name.h: 'flow-name' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_FLOW_NAME_H__ #define __FO_PROPERTY_FLOW_NAME_H__ #include #include G_BEGIN_DECLS /* flow-name */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: an empty name */ #define FO_TYPE_PROPERTY_FLOW_NAME (fo_property_flow_name_get_type ()) #define FO_PROPERTY_FLOW_NAME(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FLOW_NAME, FoPropertyFlowName)) #define FO_PROPERTY_FLOW_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FLOW_NAME, FoPropertyFlowNameClass)) #define FO_IS_PROPERTY_FLOW_NAME(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FLOW_NAME)) #define FO_IS_PROPERTY_FLOW_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FLOW_NAME)) #define FO_PROPERTY_FLOW_NAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FLOW_NAME, FoPropertyFlowNameClass)) typedef struct _FoPropertyFlowName FoPropertyFlowName; typedef struct _FoPropertyFlowNameClass FoPropertyFlowNameClass; GType fo_property_flow_name_get_type (void) G_GNUC_CONST; FoProperty * fo_property_flow_name_new (void); FoProperty * fo_property_flow_name_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_FLOW_NAME_H__ */ xmlroff-0.6.2/libfo/property/fo-property-format.c0000644000175000017500000001563610660107747017037 00000000000000/* Fo * fo-property-format.c: 'format' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-format.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* format */ /* */ /* NO ENUMERATED VALUE */ struct _FoPropertyFormat { FoProperty parent_instance; }; struct _FoPropertyFormatClass { FoPropertyClass parent_class; }; static void fo_property_format_init (FoPropertyFormat *property_format); static void fo_property_format_class_init (FoPropertyFormatClass *klass); static void fo_property_format_finalize (GObject *object); static FoDatatype* fo_property_format_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_format_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "format"; static gpointer parent_class; /** * fo_property_format_get_type: * * Register the #FoPropertyFormat type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyFormat. **/ GType fo_property_format_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyFormatClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_format_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyFormat), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_format_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_format_init: * @format: #FoPropertyFormat object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyFormat. **/ void fo_property_format_init (FoPropertyFormat *format) { FO_PROPERTY (format)->value = g_object_ref (fo_string_get_string_one()); } /** * fo_property_format_class_init: * @klass: #FoPropertyFormatClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyFormatClass. **/ void fo_property_format_class_init (FoPropertyFormatClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_format_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->new_from_expr = fo_property_new_from_string; property_class->resolve_enum = fo_property_format_resolve_enum; property_class->validate = fo_property_format_validate; property_class->get_initial = fo_property_format_get_initial; } /** * fo_property_format_finalize: * @object: #FoPropertyFormat object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyFormat. **/ void fo_property_format_finalize (GObject *object) { FoPropertyFormat *format; format = FO_PROPERTY_FORMAT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_format_new: * * Creates a new #FoPropertyFormat initialized to default value. * * Return value: the new #FoPropertyFormat. **/ FoProperty* fo_property_format_new (void) { FoProperty* format; format = FO_PROPERTY (g_object_new (fo_property_format_get_type (), NULL)); return format; } /** * fo_property_format_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_format_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_format_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_format_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_STRING (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_format_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_format_get_initial (void) { static FoProperty *format = NULL; if (format == NULL) { format = fo_property_format_new (); } return format; } xmlroff-0.6.2/libfo/property/fo-property-format.h0000644000175000017500000000262210643167450017031 00000000000000/* Fo * fo-property-format.h: 'format' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_FORMAT_H__ #define __FO_PROPERTY_FORMAT_H__ #include #include "fo-property.h" G_BEGIN_DECLS /* format */ /* */ /* Initial value: 1 */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_FORMAT (fo_property_format_get_type ()) #define FO_PROPERTY_FORMAT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FORMAT, FoPropertyFormat)) #define FO_PROPERTY_FORMAT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FORMAT, FoPropertyFormatClass)) #define FO_IS_PROPERTY_FORMAT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FORMAT)) #define FO_IS_PROPERTY_FORMAT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FORMAT)) #define FO_PROPERTY_FORMAT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FORMAT, FoPropertyFormatClass)) typedef struct _FoPropertyFormat FoPropertyFormat; typedef struct _FoPropertyFormatClass FoPropertyFormatClass; GType fo_property_format_get_type (void) G_GNUC_CONST; FoProperty* fo_property_format_new (void); FoProperty* fo_property_format_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_FORMAT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-grouping-separator.c0000644000175000017500000001725410660107746021374 00000000000000/* Fo * fo-property-grouping-separator.c: 'grouping-separator' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-grouping-separator.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* grouping-separator */ /* */ /* NO ENUMERATED VALUE */ struct _FoPropertyGroupingSeparator { FoProperty parent_instance; }; struct _FoPropertyGroupingSeparatorClass { FoPropertyClass parent_class; }; static void fo_property_grouping_separator_init (FoPropertyGroupingSeparator *property_grouping_separator); static void fo_property_grouping_separator_class_init (FoPropertyGroupingSeparatorClass *klass); static void fo_property_grouping_separator_finalize (GObject *object); static FoDatatype* fo_property_grouping_separator_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_grouping_separator_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "grouping-separator"; static gpointer parent_class; /** * fo_property_grouping_separator_get_type: * * Register the #FoPropertyGroupingSeparator type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyGroupingSeparator. **/ GType fo_property_grouping_separator_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyGroupingSeparatorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_grouping_separator_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyGroupingSeparator), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_grouping_separator_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_grouping_separator_init: * @grouping_separator: #FoPropertyGroupingSeparator object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyGroupingSeparator. **/ void fo_property_grouping_separator_init (FoPropertyGroupingSeparator *grouping_separator) { FO_PROPERTY (grouping_separator)->value = NULL; } /** * fo_property_grouping_separator_class_init: * @klass: #FoPropertyGroupingSeparatorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyGroupingSeparatorClass. **/ void fo_property_grouping_separator_class_init (FoPropertyGroupingSeparatorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_grouping_separator_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_grouping_separator_resolve_enum; property_class->validate = fo_property_grouping_separator_validate; property_class->get_initial = fo_property_grouping_separator_get_initial; } /** * fo_property_grouping_separator_finalize: * @object: #FoPropertyGroupingSeparator object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyGroupingSeparator. **/ void fo_property_grouping_separator_finalize (GObject *object) { FoPropertyGroupingSeparator *grouping_separator; grouping_separator = FO_PROPERTY_GROUPING_SEPARATOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_grouping_separator_new: * * Creates a new #FoPropertyGroupingSeparator initialized to default value. * * Return value: the new #FoPropertyGroupingSeparator. **/ FoProperty* fo_property_grouping_separator_new (void) { FoProperty* grouping_separator; grouping_separator = FO_PROPERTY (g_object_new (fo_property_grouping_separator_get_type (), NULL)); return grouping_separator; } /** * fo_property_grouping_separator_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_grouping_separator_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_grouping_separator_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_grouping_separator_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_CHAR (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_grouping_separator_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_grouping_separator_get_initial (void) { static FoProperty *grouping_separator = NULL; if (grouping_separator == NULL) { grouping_separator = fo_property_grouping_separator_new (); } return grouping_separator; } xmlroff-0.6.2/libfo/property/fo-property-grouping-separator.h0000644000175000017500000000337510770023365021374 00000000000000/* Fo * fo-property-grouping-separator.h: 'grouping-separator' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_GROUPING_SEPARATOR_H__ #define __FO_PROPERTY_GROUPING_SEPARATOR_H__ #include #include G_BEGIN_DECLS /* grouping-separator */ /* */ /* Initial value: no separator */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_GROUPING_SEPARATOR (fo_property_grouping_separator_get_type ()) #define FO_PROPERTY_GROUPING_SEPARATOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_GROUPING_SEPARATOR, FoPropertyGroupingSeparator)) #define FO_PROPERTY_GROUPING_SEPARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_GROUPING_SEPARATOR, FoPropertyGroupingSeparatorClass)) #define FO_IS_PROPERTY_GROUPING_SEPARATOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_GROUPING_SEPARATOR)) #define FO_IS_PROPERTY_GROUPING_SEPARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_GROUPING_SEPARATOR)) #define FO_PROPERTY_GROUPING_SEPARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_GROUPING_SEPARATOR, FoPropertyGroupingSeparatorClass)) typedef struct _FoPropertyGroupingSeparator FoPropertyGroupingSeparator; typedef struct _FoPropertyGroupingSeparatorClass FoPropertyGroupingSeparatorClass; GType fo_property_grouping_separator_get_type (void) G_GNUC_CONST; FoProperty* fo_property_grouping_separator_new (void); FoProperty* fo_property_grouping_separator_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_GROUPING_SEPARATOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-grouping-size.c0000644000175000017500000001646410660107746020350 00000000000000/* Fo * fo-property-grouping-size.c: 'grouping-size' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-grouping-size.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* grouping-size */ /* */ /* NO ENUMERATED VALUE */ struct _FoPropertyGroupingSize { FoProperty parent_instance; }; struct _FoPropertyGroupingSizeClass { FoPropertyClass parent_class; }; static void fo_property_grouping_size_init (FoPropertyGroupingSize *property_grouping_size); static void fo_property_grouping_size_class_init (FoPropertyGroupingSizeClass *klass); static void fo_property_grouping_size_finalize (GObject *object); static FoDatatype* fo_property_grouping_size_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_grouping_size_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "grouping-size"; static gpointer parent_class; /** * fo_property_grouping_size_get_type: * * Register the #FoPropertyGroupingSize type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyGroupingSize. **/ GType fo_property_grouping_size_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyGroupingSizeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_grouping_size_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyGroupingSize), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_grouping_size_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_grouping_size_init: * @grouping_size: #FoPropertyGroupingSize object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyGroupingSize. **/ void fo_property_grouping_size_init (FoPropertyGroupingSize *grouping_size) { FO_PROPERTY (grouping_size)->value = NULL; } /** * fo_property_grouping_size_class_init: * @klass: #FoPropertyGroupingSizeClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyGroupingSizeClass. **/ void fo_property_grouping_size_class_init (FoPropertyGroupingSizeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_grouping_size_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_grouping_size_resolve_enum; property_class->validate = fo_property_grouping_size_validate; property_class->get_initial = fo_property_grouping_size_get_initial; } /** * fo_property_grouping_size_finalize: * @object: #FoPropertyGroupingSize object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyGroupingSize. **/ void fo_property_grouping_size_finalize (GObject *object) { FoPropertyGroupingSize *grouping_size; grouping_size = FO_PROPERTY_GROUPING_SIZE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_grouping_size_new: * * Creates a new #FoPropertyGroupingSize initialized to default value. * * Return value: the new #FoPropertyGroupingSize. **/ FoProperty* fo_property_grouping_size_new (void) { FoProperty* grouping_size; grouping_size = FO_PROPERTY (g_object_new (fo_property_grouping_size_get_type (), NULL)); return grouping_size; } /** * fo_property_grouping_size_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_grouping_size_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_grouping_size_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_grouping_size_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NUMBER (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_grouping_size_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_grouping_size_get_initial (void) { static FoProperty *grouping_size = NULL; if (grouping_size == NULL) { grouping_size = fo_property_grouping_size_new (); } return grouping_size; } xmlroff-0.6.2/libfo/property/fo-property-grouping-size.h0000644000175000017500000000315510770023365020342 00000000000000/* Fo * fo-property-grouping-size.h: 'grouping-size' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_GROUPING_SIZE_H__ #define __FO_PROPERTY_GROUPING_SIZE_H__ #include #include G_BEGIN_DECLS /* grouping-size */ /* */ /* Initial value: no grouping */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_GROUPING_SIZE (fo_property_grouping_size_get_type ()) #define FO_PROPERTY_GROUPING_SIZE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_GROUPING_SIZE, FoPropertyGroupingSize)) #define FO_PROPERTY_GROUPING_SIZE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_GROUPING_SIZE, FoPropertyGroupingSizeClass)) #define FO_IS_PROPERTY_GROUPING_SIZE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_GROUPING_SIZE)) #define FO_IS_PROPERTY_GROUPING_SIZE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_GROUPING_SIZE)) #define FO_PROPERTY_GROUPING_SIZE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_GROUPING_SIZE, FoPropertyGroupingSizeClass)) typedef struct _FoPropertyGroupingSize FoPropertyGroupingSize; typedef struct _FoPropertyGroupingSizeClass FoPropertyGroupingSizeClass; GType fo_property_grouping_size_get_type (void) G_GNUC_CONST; FoProperty* fo_property_grouping_size_new (void); FoProperty* fo_property_grouping_size_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_GROUPING_SIZE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-height.c0000644000175000017500000002054710660107747017014 00000000000000/* Fo * fo-property-height.c: 'height' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-height.h" /* height */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | auto | inherit */ /* Initial value: auto */ struct _FoPropertyHeight { FoProperty parent_instance; }; struct _FoPropertyHeightClass { FoPropertyClass parent_class; }; static void fo_property_height_init (FoPropertyHeight *property_height); static void fo_property_height_class_init (FoPropertyHeightClass *klass); static void fo_property_height_finalize (GObject *object); static FoDatatype * fo_property_height_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_height_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "height"; static gpointer parent_class; /** * fo_property_height_get_type: * * Register the #FoPropertyHeight type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyHeight. **/ GType fo_property_height_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyHeightClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_height_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyHeight), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_height_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_height_init: * @height: #FoPropertyHeight object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyHeight. **/ void fo_property_height_init (FoPropertyHeight *height) { FO_PROPERTY (height)->value = g_object_ref (fo_enum_get_enum_by_nick ("auto")); } /** * fo_property_height_class_init: * @klass: #FoPropertyHeightClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyHeightClass. **/ void fo_property_height_class_init (FoPropertyHeightClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_height_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_height_resolve_enum; property_class->validate = fo_property_height_validate; property_class->get_initial = fo_property_height_get_initial; } /** * fo_property_height_finalize: * @object: #FoPropertyHeight object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyHeight. **/ void fo_property_height_finalize (GObject *object) { FoPropertyHeight *height; height = FO_PROPERTY_HEIGHT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_height_new: * * Creates a new #FoPropertyHeight initialized to default value. * * Return value: the new #FoPropertyHeight. **/ FoProperty* fo_property_height_new (void) { FoProperty* height; height = FO_PROPERTY (g_object_new (fo_property_height_get_type (), NULL)); return height; } /** * fo_property_height_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_height_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_height_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_height_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if (value == FO_ENUM_ENUM_AUTO) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_height_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_height_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_height_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_height_get_initial (void) { static FoProperty *height = NULL; if (height == NULL) { height = fo_property_height_new (); } return height; } xmlroff-0.6.2/libfo/property/fo-property-height.h0000644000175000017500000000320110770023365017000 00000000000000/* Fo * fo-property-height.h: 'height' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_HEIGHT_H__ #define __FO_PROPERTY_HEIGHT_H__ #include #include G_BEGIN_DECLS /* height */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | auto | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_HEIGHT (fo_property_height_get_type ()) #define FO_PROPERTY_HEIGHT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_HEIGHT, FoPropertyHeight)) #define FO_PROPERTY_HEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_HEIGHT, FoPropertyHeightClass)) #define FO_IS_PROPERTY_HEIGHT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_HEIGHT)) #define FO_IS_PROPERTY_HEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_HEIGHT)) #define FO_PROPERTY_HEIGHT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_HEIGHT, FoPropertyHeightClass)) /** * FoPropertyHeight: * * Instance of the 'height' property. **/ typedef struct _FoPropertyHeight FoPropertyHeight; /** * FoPropertyHeightClass: * * Class structure for the 'height' property. **/ typedef struct _FoPropertyHeightClass FoPropertyHeightClass; GType fo_property_height_get_type (void) G_GNUC_CONST; FoProperty * fo_property_height_new (void); FoProperty * fo_property_height_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_HEIGHT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-id.c0000644000175000017500000001614510660107746016136 00000000000000/* Fo * fo-property-id.c: 'id' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-id.h" /* id */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: see prose */ struct _FoPropertyId { FoProperty parent_instance; }; struct _FoPropertyIdClass { FoPropertyClass parent_class; }; static void fo_property_id_init (FoPropertyId *property_id); static void fo_property_id_class_init (FoPropertyIdClass *klass); static void fo_property_id_finalize (GObject *object); static FoDatatype * fo_property_id_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_id_validate (FoDatatype *datatype, FoContext *context, GError **error); /* Minimum name length for a GType is three characters. */ static const gchar class_name[] = "id_"; static gpointer parent_class; /** * fo_property_id_get_type: * * Register the #FoPropertyId type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyId. **/ GType fo_property_id_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyIdClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_id_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyId), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_id_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_id_init: * @id: #FoPropertyId object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyId. **/ void fo_property_id_init (FoPropertyId *id) { FO_PROPERTY (id)->value = NULL; } /** * fo_property_id_class_init: * @klass: #FoPropertyIdClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyIdClass. **/ void fo_property_id_class_init (FoPropertyIdClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_id_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_id_resolve_enum; property_class->validate = fo_property_id_validate; property_class->get_initial = fo_property_id_get_initial; } /** * fo_property_id_finalize: * @object: #FoPropertyId object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyId. **/ void fo_property_id_finalize (GObject *object) { FoPropertyId *id; id = FO_PROPERTY_ID (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_id_new: * * Creates a new #FoPropertyId initialized to default value. * * Return value: the new #FoPropertyId. **/ FoProperty* fo_property_id_new (void) { FoProperty* id; id = FO_PROPERTY (g_object_new (fo_property_id_get_type (), NULL)); return id; } /** * fo_property_id_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_id_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_id_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_id_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NAME (datatype)) { gchar *token = fo_name_get_value (datatype); new_datatype = g_object_new (FO_TYPE_ID, "value", token, NULL); g_object_unref (datatype); g_free (token); return new_datatype; } else if (FO_IS_ID (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_id_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_id_get_initial (void) { static int count = 1; FoProperty *id; id = fo_property_id_new (); gchar * id_string = g_strdup_printf ("id-%d", count++); /* Set the initial value here */ fo_property_set_value (id, g_object_new (FO_TYPE_ID, "value", id_string, NULL)); g_free (id_string); return id; } xmlroff-0.6.2/libfo/property/fo-property-id.h0000644000175000017500000000274210770023365016135 00000000000000/* Fo * fo-property-id.h: 'id' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_ID_H__ #define __FO_PROPERTY_ID_H__ #include #include G_BEGIN_DECLS /* id */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: see prose */ #define FO_TYPE_PROPERTY_ID (fo_property_id_get_type ()) #define FO_PROPERTY_ID(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_ID, FoPropertyId)) #define FO_PROPERTY_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_ID, FoPropertyIdClass)) #define FO_IS_PROPERTY_ID(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_ID)) #define FO_IS_PROPERTY_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_ID)) #define FO_PROPERTY_ID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_ID, FoPropertyIdClass)) /** * FoPropertyId: * * Instance of the 'id' property. **/ typedef struct _FoPropertyId FoPropertyId; /** * FoPropertyIdClass: * * Class structure for the 'id' property. **/ typedef struct _FoPropertyIdClass FoPropertyIdClass; GType fo_property_id_get_type (void) G_GNUC_CONST; FoProperty * fo_property_id_new (void); FoProperty * fo_property_id_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_ID_H__ */ xmlroff-0.6.2/libfo/property/fo-property-inline-progression-dimension.c0000644000175000017500000002402610660107746023350 00000000000000/* Fo * fo-property-inline-progression-dimension.c: 'inline-progression-dimension' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-inline-progression-dimension.h" /* inline-progression-dimension */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ struct _FoPropertyInlineProgressionDimension { FoProperty parent_instance; }; struct _FoPropertyInlineProgressionDimensionClass { FoPropertyClass parent_class; }; static void fo_property_inline_progression_dimension_init (FoPropertyInlineProgressionDimension *property_inline_progression_dimension); static void fo_property_inline_progression_dimension_class_init (FoPropertyInlineProgressionDimensionClass *klass); static void fo_property_inline_progression_dimension_finalize (GObject *object); static FoDatatype* fo_property_inline_progression_dimension_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_inline_progression_dimension_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "inline-progression-dimension"; static gpointer parent_class; /** * fo_property_inline_progression_dimension_get_type: * * Register the #FoPropertyInlineProgressionDimension type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyInlineProgressionDimension. **/ GType fo_property_inline_progression_dimension_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyInlineProgressionDimensionClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_inline_progression_dimension_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyInlineProgressionDimension), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_inline_progression_dimension_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_inline_progression_dimension_init: * @inline_progression_dimension: #FoPropertyInlineProgressionDimension object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyInlineProgressionDimension. **/ void fo_property_inline_progression_dimension_init (FoPropertyInlineProgressionDimension *inline_progression_dimension) { FO_PROPERTY (inline_progression_dimension)->value = fo_length_range_new_auto (); } /** * fo_property_inline_progression_dimension_class_init: * @klass: #FoPropertyInlineProgressionDimensionClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyInlineProgressionDimensionClass. **/ void fo_property_inline_progression_dimension_class_init (FoPropertyInlineProgressionDimensionClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_inline_progression_dimension_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_inline_progression_dimension_resolve_enum; property_class->validate = fo_property_inline_progression_dimension_validate; property_class->get_initial = fo_property_inline_progression_dimension_get_initial; } /** * fo_property_inline_progression_dimension_finalize: * @object: #FoPropertyInlineProgressionDimension object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyInlineProgressionDimension. **/ void fo_property_inline_progression_dimension_finalize (GObject *object) { FoPropertyInlineProgressionDimension *inline_progression_dimension; inline_progression_dimension = FO_PROPERTY_INLINE_PROGRESSION_DIMENSION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_inline_progression_dimension_new: * * Creates a new #FoPropertyInlineProgressionDimension initialized to default value. * * Return value: the new #FoPropertyInlineProgressionDimension. **/ FoProperty* fo_property_inline_progression_dimension_new (void) { FoProperty* inline_progression_dimension; inline_progression_dimension = FO_PROPERTY (g_object_new (fo_property_inline_progression_dimension_get_type (), NULL)); return inline_progression_dimension; } /** * fo_property_inline_progression_dimension_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_inline_progression_dimension_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_length_range_new_auto ()); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_inline_progression_dimension_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_inline_progression_dimension_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_inline_progression_dimension_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_inline_progression_dimension_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_LENGTH_RANGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_inline_progression_dimension_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_inline_progression_dimension_get_initial (void) { static FoProperty *inline_progression_dimension = NULL; if (inline_progression_dimension == NULL) { inline_progression_dimension = fo_property_inline_progression_dimension_new (); } return inline_progression_dimension; } xmlroff-0.6.2/libfo/property/fo-property-inline-progression-dimension.h0000644000175000017500000000411310770023365023344 00000000000000/* Fo * fo-property-inline-progression-dimension.h: 'inline-progression-dimension' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_H__ #define __FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_H__ #include #include G_BEGIN_DECLS /* inline-progression-dimension */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION (fo_property_inline_progression_dimension_get_type ()) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION, FoPropertyInlineProgressionDimension)) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION, FoPropertyInlineProgressionDimensionClass)) #define FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION)) #define FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION)) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION, FoPropertyInlineProgressionDimensionClass)) typedef struct _FoPropertyInlineProgressionDimension FoPropertyInlineProgressionDimension; typedef struct _FoPropertyInlineProgressionDimensionClass FoPropertyInlineProgressionDimensionClass; GType fo_property_inline_progression_dimension_get_type (void) G_GNUC_CONST; FoProperty * fo_property_inline_progression_dimension_new (void); FoProperty * fo_property_inline_progression_dimension_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_H__ */ xmlroff-0.6.2/libfo/property/fo-property-inline-progression-dimension-minimum.c0000644000175000017500000002126610660107746025024 00000000000000/* Fo * fo-property-inline-progression-dimension-minimum.c: 'inline-progression-dimension-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-inline-progression-dimension-minimum.h" #include "property/fo-property-util.h" /* inline-progression-dimension-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | */ /* Initial value: auto */ struct _FoPropertyInlineProgressionDimensionMinimum { FoProperty parent_instance; }; struct _FoPropertyInlineProgressionDimensionMinimumClass { FoPropertyClass parent_class; }; static void fo_property_inline_progression_dimension_minimum_init (FoPropertyInlineProgressionDimensionMinimum *property_inline_progression_dimension_minimum); static void fo_property_inline_progression_dimension_minimum_class_init (FoPropertyInlineProgressionDimensionMinimumClass *klass); static void fo_property_inline_progression_dimension_minimum_finalize (GObject *object); static FoDatatype* fo_property_inline_progression_dimension_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "inline-progression-dimension-minimum"; static gpointer parent_class; /** * fo_property_inline_progression_dimension_minimum_get_type: * * Register the #FoPropertyInlineProgressionDimensionMinimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyInlineProgressionDimensionMinimum. **/ GType fo_property_inline_progression_dimension_minimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyInlineProgressionDimensionMinimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_inline_progression_dimension_minimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyInlineProgressionDimensionMinimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_inline_progression_dimension_minimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_inline_progression_dimension_minimum_init: * @inline_progression_dimension_minimum: #FoPropertyInlineProgressionDimensionMinimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyInlineProgressionDimensionMinimum. **/ void fo_property_inline_progression_dimension_minimum_init (FoPropertyInlineProgressionDimensionMinimum *inline_progression_dimension_minimum) { FO_PROPERTY (inline_progression_dimension_minimum)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_inline_progression_dimension_minimum_class_init: * @klass: #FoPropertyInlineProgressionDimensionMinimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyInlineProgressionDimensionMinimumClass. **/ void fo_property_inline_progression_dimension_minimum_class_init (FoPropertyInlineProgressionDimensionMinimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_inline_progression_dimension_minimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_inline_progression_dimension_minimum_validate; property_class->get_initial = fo_property_inline_progression_dimension_minimum_get_initial; } /** * fo_property_inline_progression_dimension_minimum_finalize: * @object: #FoPropertyInlineProgressionDimensionMinimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyInlineProgressionDimensionMinimum. **/ void fo_property_inline_progression_dimension_minimum_finalize (GObject *object) { FoPropertyInlineProgressionDimensionMinimum *inline_progression_dimension_minimum; inline_progression_dimension_minimum = FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_inline_progression_dimension_minimum_new: * * Creates a new #FoPropertyInlineProgressionDimensionMinimum initialized to default value. * * Return value: the new #FoPropertyInlineProgressionDimensionMinimum. **/ FoProperty* fo_property_inline_progression_dimension_minimum_new (void) { FoProperty* inline_progression_dimension_minimum; inline_progression_dimension_minimum = FO_PROPERTY (g_object_new (fo_property_inline_progression_dimension_minimum_get_type (), NULL)); return inline_progression_dimension_minimum; } /** * fo_property_inline_progression_dimension_minimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_inline_progression_dimension_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_inline_progression_dimension_minimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_inline_progression_dimension_minimum_get_initial (void) { static FoProperty *inline_progression_dimension_minimum = NULL; if (inline_progression_dimension_minimum == NULL) { inline_progression_dimension_minimum = fo_property_inline_progression_dimension_minimum_new (); } return inline_progression_dimension_minimum; } xmlroff-0.6.2/libfo/property/fo-property-inline-progression-dimension-minimum.h0000644000175000017500000000444410770023365025024 00000000000000/* Fo * fo-property-inline-progression-dimension-minimum.h: 'inline-progression-dimension-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM_H__ #define __FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM_H__ #include #include G_BEGIN_DECLS /* inline-progression-dimension-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM (fo_property_inline_progression_dimension_minimum_get_type ()) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM, FoPropertyInlineProgressionDimensionMinimum)) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM, FoPropertyInlineProgressionDimensionMinimumClass)) #define FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM)) #define FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM)) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM, FoPropertyInlineProgressionDimensionMinimumClass)) typedef struct _FoPropertyInlineProgressionDimensionMinimum FoPropertyInlineProgressionDimensionMinimum; typedef struct _FoPropertyInlineProgressionDimensionMinimumClass FoPropertyInlineProgressionDimensionMinimumClass; GType fo_property_inline_progression_dimension_minimum_get_type (void) G_GNUC_CONST; FoProperty * fo_property_inline_progression_dimension_minimum_new (void); FoProperty * fo_property_inline_progression_dimension_minimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-inline-progression-dimension-optimum.c0000644000175000017500000002126610660107747025044 00000000000000/* Fo * fo-property-inline-progression-dimension-optimum.c: 'inline-progression-dimension-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-inline-progression-dimension-optimum.h" #include "property/fo-property-util.h" /* inline-progression-dimension-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | */ /* Initial value: auto */ struct _FoPropertyInlineProgressionDimensionOptimum { FoProperty parent_instance; }; struct _FoPropertyInlineProgressionDimensionOptimumClass { FoPropertyClass parent_class; }; static void fo_property_inline_progression_dimension_optimum_init (FoPropertyInlineProgressionDimensionOptimum *property_inline_progression_dimension_optimum); static void fo_property_inline_progression_dimension_optimum_class_init (FoPropertyInlineProgressionDimensionOptimumClass *klass); static void fo_property_inline_progression_dimension_optimum_finalize (GObject *object); static FoDatatype* fo_property_inline_progression_dimension_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "inline-progression-dimension-optimum"; static gpointer parent_class; /** * fo_property_inline_progression_dimension_optimum_get_type: * * Register the #FoPropertyInlineProgressionDimensionOptimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyInlineProgressionDimensionOptimum. **/ GType fo_property_inline_progression_dimension_optimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyInlineProgressionDimensionOptimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_inline_progression_dimension_optimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyInlineProgressionDimensionOptimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_inline_progression_dimension_optimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_inline_progression_dimension_optimum_init: * @inline_progression_dimension_optimum: #FoPropertyInlineProgressionDimensionOptimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyInlineProgressionDimensionOptimum. **/ void fo_property_inline_progression_dimension_optimum_init (FoPropertyInlineProgressionDimensionOptimum *inline_progression_dimension_optimum) { FO_PROPERTY (inline_progression_dimension_optimum)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_inline_progression_dimension_optimum_class_init: * @klass: #FoPropertyInlineProgressionDimensionOptimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyInlineProgressionDimensionOptimumClass. **/ void fo_property_inline_progression_dimension_optimum_class_init (FoPropertyInlineProgressionDimensionOptimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_inline_progression_dimension_optimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_inline_progression_dimension_optimum_validate; property_class->get_initial = fo_property_inline_progression_dimension_optimum_get_initial; } /** * fo_property_inline_progression_dimension_optimum_finalize: * @object: #FoPropertyInlineProgressionDimensionOptimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyInlineProgressionDimensionOptimum. **/ void fo_property_inline_progression_dimension_optimum_finalize (GObject *object) { FoPropertyInlineProgressionDimensionOptimum *inline_progression_dimension_optimum; inline_progression_dimension_optimum = FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_inline_progression_dimension_optimum_new: * * Creates a new #FoPropertyInlineProgressionDimensionOptimum initialized to default value. * * Return value: the new #FoPropertyInlineProgressionDimensionOptimum. **/ FoProperty* fo_property_inline_progression_dimension_optimum_new (void) { FoProperty* inline_progression_dimension_optimum; inline_progression_dimension_optimum = FO_PROPERTY (g_object_new (fo_property_inline_progression_dimension_optimum_get_type (), NULL)); return inline_progression_dimension_optimum; } /** * fo_property_inline_progression_dimension_optimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_inline_progression_dimension_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_inline_progression_dimension_optimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_inline_progression_dimension_optimum_get_initial (void) { static FoProperty *inline_progression_dimension_optimum = NULL; if (inline_progression_dimension_optimum == NULL) { inline_progression_dimension_optimum = fo_property_inline_progression_dimension_optimum_new (); } return inline_progression_dimension_optimum; } xmlroff-0.6.2/libfo/property/fo-property-inline-progression-dimension-optimum.h0000644000175000017500000000444410770023365025043 00000000000000/* Fo * fo-property-inline-progression-dimension-optimum.h: 'inline-progression-dimension-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM_H__ #define __FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM_H__ #include #include G_BEGIN_DECLS /* inline-progression-dimension-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM (fo_property_inline_progression_dimension_optimum_get_type ()) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM, FoPropertyInlineProgressionDimensionOptimum)) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM, FoPropertyInlineProgressionDimensionOptimumClass)) #define FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM)) #define FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM)) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM, FoPropertyInlineProgressionDimensionOptimumClass)) typedef struct _FoPropertyInlineProgressionDimensionOptimum FoPropertyInlineProgressionDimensionOptimum; typedef struct _FoPropertyInlineProgressionDimensionOptimumClass FoPropertyInlineProgressionDimensionOptimumClass; GType fo_property_inline_progression_dimension_optimum_get_type (void) G_GNUC_CONST; FoProperty * fo_property_inline_progression_dimension_optimum_new (void); FoProperty * fo_property_inline_progression_dimension_optimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-inline-progression-dimension-maximum.c0000644000175000017500000002126610660107747025027 00000000000000/* Fo * fo-property-inline-progression-dimension-maximum.c: 'inline-progression-dimension-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-inline-progression-dimension-maximum.h" #include "property/fo-property-util.h" /* inline-progression-dimension-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | */ /* Initial value: auto */ struct _FoPropertyInlineProgressionDimensionMaximum { FoProperty parent_instance; }; struct _FoPropertyInlineProgressionDimensionMaximumClass { FoPropertyClass parent_class; }; static void fo_property_inline_progression_dimension_maximum_init (FoPropertyInlineProgressionDimensionMaximum *property_inline_progression_dimension_maximum); static void fo_property_inline_progression_dimension_maximum_class_init (FoPropertyInlineProgressionDimensionMaximumClass *klass); static void fo_property_inline_progression_dimension_maximum_finalize (GObject *object); static FoDatatype* fo_property_inline_progression_dimension_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "inline-progression-dimension-maximum"; static gpointer parent_class; /** * fo_property_inline_progression_dimension_maximum_get_type: * * Register the #FoPropertyInlineProgressionDimensionMaximum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyInlineProgressionDimensionMaximum. **/ GType fo_property_inline_progression_dimension_maximum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyInlineProgressionDimensionMaximumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_inline_progression_dimension_maximum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyInlineProgressionDimensionMaximum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_inline_progression_dimension_maximum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_inline_progression_dimension_maximum_init: * @inline_progression_dimension_maximum: #FoPropertyInlineProgressionDimensionMaximum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyInlineProgressionDimensionMaximum. **/ void fo_property_inline_progression_dimension_maximum_init (FoPropertyInlineProgressionDimensionMaximum *inline_progression_dimension_maximum) { FO_PROPERTY (inline_progression_dimension_maximum)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_inline_progression_dimension_maximum_class_init: * @klass: #FoPropertyInlineProgressionDimensionMaximumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyInlineProgressionDimensionMaximumClass. **/ void fo_property_inline_progression_dimension_maximum_class_init (FoPropertyInlineProgressionDimensionMaximumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_inline_progression_dimension_maximum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_inline_progression_dimension_maximum_validate; property_class->get_initial = fo_property_inline_progression_dimension_maximum_get_initial; } /** * fo_property_inline_progression_dimension_maximum_finalize: * @object: #FoPropertyInlineProgressionDimensionMaximum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyInlineProgressionDimensionMaximum. **/ void fo_property_inline_progression_dimension_maximum_finalize (GObject *object) { FoPropertyInlineProgressionDimensionMaximum *inline_progression_dimension_maximum; inline_progression_dimension_maximum = FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_inline_progression_dimension_maximum_new: * * Creates a new #FoPropertyInlineProgressionDimensionMaximum initialized to default value. * * Return value: the new #FoPropertyInlineProgressionDimensionMaximum. **/ FoProperty* fo_property_inline_progression_dimension_maximum_new (void) { FoProperty* inline_progression_dimension_maximum; inline_progression_dimension_maximum = FO_PROPERTY (g_object_new (fo_property_inline_progression_dimension_maximum_get_type (), NULL)); return inline_progression_dimension_maximum; } /** * fo_property_inline_progression_dimension_maximum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_inline_progression_dimension_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_inline_progression_dimension_maximum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_inline_progression_dimension_maximum_get_initial (void) { static FoProperty *inline_progression_dimension_maximum = NULL; if (inline_progression_dimension_maximum == NULL) { inline_progression_dimension_maximum = fo_property_inline_progression_dimension_maximum_new (); } return inline_progression_dimension_maximum; } xmlroff-0.6.2/libfo/property/fo-property-inline-progression-dimension-maximum.h0000644000175000017500000000444410770023365025026 00000000000000/* Fo * fo-property-inline-progression-dimension-maximum.h: 'inline-progression-dimension-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM_H__ #define __FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM_H__ #include #include G_BEGIN_DECLS /* inline-progression-dimension-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM (fo_property_inline_progression_dimension_maximum_get_type ()) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM, FoPropertyInlineProgressionDimensionMaximum)) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM, FoPropertyInlineProgressionDimensionMaximumClass)) #define FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM)) #define FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM)) #define FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM, FoPropertyInlineProgressionDimensionMaximumClass)) typedef struct _FoPropertyInlineProgressionDimensionMaximum FoPropertyInlineProgressionDimensionMaximum; typedef struct _FoPropertyInlineProgressionDimensionMaximumClass FoPropertyInlineProgressionDimensionMaximumClass; GType fo_property_inline_progression_dimension_maximum_get_type (void) G_GNUC_CONST; FoProperty * fo_property_inline_progression_dimension_maximum_new (void); FoProperty * fo_property_inline_progression_dimension_maximum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-together.c0000644000175000017500000002544510660107746020310 00000000000000/* Fo * fo-property-keep-together.c: 'keep-together' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-keep-together.h" struct _FoPropertyKeepTogether { FoProperty parent_instance; }; struct _FoPropertyKeepTogetherClass { FoPropertyClass parent_class; }; static void fo_property_keep_together_init (FoPropertyKeepTogether *property_keep_together); static void fo_property_keep_together_base_init (FoPropertyKeepTogetherClass *klass); static void fo_property_keep_together_base_finalize (FoPropertyKeepTogetherClass *klass); static void fo_property_keep_together_class_init (FoPropertyKeepTogetherClass *klass); static void fo_property_keep_together_finalize (GObject *object); static FoDatatype* fo_property_keep_together_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_keep_together_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "keep-together"; static gpointer parent_class; static FoDatatype *enum_auto; static FoDatatype *enum_always; /** * fo_property_keep_together_get_type: * * Register the #FoPropertyKeepTogether type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepTogether. **/ GType fo_property_keep_together_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepTogetherClass), (GBaseInitFunc) fo_property_keep_together_base_init, (GBaseFinalizeFunc) fo_property_keep_together_base_finalize, (GClassInitFunc) fo_property_keep_together_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepTogether), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_together_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_keep_together_init: * @keep_together: #FoPropertyKeepTogether object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepTogether. **/ void fo_property_keep_together_init (FoPropertyKeepTogether *keep_together) { FO_PROPERTY (keep_together)->value = g_object_ref (fo_keep_get_keep_auto ()); } /** * fo_property_keep_together_base_init: * @klass: #FoPropertyKeepTogetherClass object to initialise. * * Implements #GBaseInitFunc for #FoPropertyKeepTogetherClass. **/ void fo_property_keep_together_base_init (FoPropertyKeepTogetherClass *klass G_GNUC_UNUSED) { enum_auto = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_AUTO, NULL); enum_always = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_ALWAYS, NULL); } /** * fo_property_keep_together_base_finalize: * @klass: #FoPropertyKeepTogetherClass object to finalise. * * Implements #GBaseFinalizeFunc for #FoPropertyKeepTogetherClass. **/ void fo_property_keep_together_base_finalize (FoPropertyKeepTogetherClass *klass G_GNUC_UNUSED) { g_object_unref (enum_auto); g_object_unref (enum_always); } /** * fo_property_keep_together_class_init: * @klass: #FoPropertyKeepTogetherClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepTogetherClass. **/ void fo_property_keep_together_class_init (FoPropertyKeepTogetherClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_together_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_keep_together_resolve_enum; property_class->validate = fo_property_keep_together_validate; property_class->get_initial = fo_property_keep_together_get_initial; } /** * fo_property_keep_together_finalize: * @object: #FoPropertyKeepTogether object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepTogether. **/ void fo_property_keep_together_finalize (GObject *object) { FoPropertyKeepTogether *keep_together; keep_together = FO_PROPERTY_KEEP_TOGETHER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_together_new: * * Creates a new #FoPropertyKeepTogether initialized to default value. * * Return value: the new #FoPropertyKeepTogether. **/ FoProperty* fo_property_keep_together_new (void) { FoProperty* keep_together; keep_together = FO_PROPERTY (g_object_new (fo_property_keep_together_get_type (), NULL)); return keep_together; } /** * fo_property_keep_together_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_keep_together_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_keep_get_keep_auto ()); } else if (strcmp (token, "always") == 0) { return g_object_ref (fo_keep_get_keep_always ()); } else if (strcmp (token, "inherit") == 0) { return g_object_ref (fo_context_get_keep_together (context)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_keep_together_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_together_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_KEEP (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { if ((fo_enum_get_value (datatype) == FO_ENUM_ENUM_AUTO) || (fo_enum_get_value (datatype) == FO_ENUM_ENUM_ALWAYS)) { new_datatype = fo_keep_new_with_value (datatype); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_keep_together_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_keep_together_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { new_datatype = fo_keep_new_with_value (datatype); g_object_unref (datatype); return new_datatype; } else if (FO_IS_NUMBER (datatype)) { FoDatatype *integer_datatype = fo_integer_new_with_value (fo_number_get_value (datatype)); g_object_unref (datatype); new_datatype = fo_keep_new_with_value (integer_datatype); g_object_unref (integer_datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_together_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_together_get_initial (void) { static FoProperty *keep_together = NULL; if (keep_together == NULL) { keep_together = fo_property_keep_together_new (); } return keep_together; } xmlroff-0.6.2/libfo/property/fo-property-keep-together.h0000644000175000017500000000302110770023365020273 00000000000000/* Fo * fo-property-keep-together.h: 'keep-together' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_TOGETHER_H__ #define __FO_PROPERTY_KEEP_TOGETHER_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_PROPERTY_KEEP_TOGETHER (fo_property_keep_together_get_type ()) #define FO_PROPERTY_KEEP_TOGETHER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_TOGETHER, FoPropertyKeepTogether)) #define FO_PROPERTY_KEEP_TOGETHER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_TOGETHER, FoPropertyKeepTogetherClass)) #define FO_IS_PROPERTY_KEEP_TOGETHER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_TOGETHER)) #define FO_IS_PROPERTY_KEEP_TOGETHER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_TOGETHER)) #define FO_PROPERTY_KEEP_TOGETHER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_TOGETHER, FoPropertyKeepTogetherClass)) typedef struct _FoPropertyKeepTogether FoPropertyKeepTogether; typedef struct _FoPropertyKeepTogetherClass FoPropertyKeepTogetherClass; GType fo_property_keep_together_get_type (void) G_GNUC_CONST; FoProperty * fo_property_keep_together_new (void); FoProperty * fo_property_keep_together_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_TOGETHER_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-together-within-column.c0000644000175000017500000001771110660107746023100 00000000000000/* Fo * fo-property-keep-together-within-column.c: 'keep-together-within-column' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-keep-together-within-column.h" #include "property/fo-property-util.h" #include "property/fo-property-util.h" /* keep-together-within-column */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ struct _FoPropertyKeepTogetherWithinColumn { FoProperty parent_instance; }; struct _FoPropertyKeepTogetherWithinColumnClass { FoPropertyClass parent_class; }; static void fo_property_keep_together_within_column_init (FoPropertyKeepTogetherWithinColumn *property_keep_together_within_column); static void fo_property_keep_together_within_column_class_init (FoPropertyKeepTogetherWithinColumnClass *klass); static void fo_property_keep_together_within_column_finalize (GObject *object); static FoDatatype* fo_property_keep_together_within_column_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "keep-together-within-column"; static gpointer parent_class; /** * fo_property_keep_together_within_column_get_type: * * Register the #FoPropertyKeepTogetherWithinColumn type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepTogetherWithinColumn. **/ GType fo_property_keep_together_within_column_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepTogetherWithinColumnClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_keep_together_within_column_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepTogetherWithinColumn), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_together_within_column_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_keep_together_within_column_init: * @keep_together_within_column: #FoPropertyKeepTogetherWithinColumn object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepTogetherWithinColumn. **/ void fo_property_keep_together_within_column_init (FoPropertyKeepTogetherWithinColumn *keep_together_within_column) { FO_PROPERTY (keep_together_within_column)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_keep_together_within_column_class_init: * @klass: #FoPropertyKeepTogetherWithinColumnClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepTogetherWithinColumnClass. **/ void fo_property_keep_together_within_column_class_init (FoPropertyKeepTogetherWithinColumnClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_together_within_column_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_always_enum; property_class->validate = fo_property_keep_together_within_column_validate; property_class->get_initial = fo_property_keep_together_within_column_get_initial; } /** * fo_property_keep_together_within_column_finalize: * @object: #FoPropertyKeepTogetherWithinColumn object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepTogetherWithinColumn. **/ void fo_property_keep_together_within_column_finalize (GObject *object) { FoPropertyKeepTogetherWithinColumn *keep_together_within_column; keep_together_within_column = FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_together_within_column_new: * * Creates a new #FoPropertyKeepTogetherWithinColumn initialized to default value. * * Return value: the new #FoPropertyKeepTogetherWithinColumn. **/ FoProperty* fo_property_keep_together_within_column_new (void) { FoProperty* keep_together_within_column; keep_together_within_column = FO_PROPERTY (g_object_new (fo_property_keep_together_within_column_get_type (), NULL)); return keep_together_within_column; } /** * fo_property_keep_together_within_column_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_together_within_column_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_together_within_column_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_together_within_column_get_initial (void) { static FoProperty *keep_together_within_column = NULL; if (keep_together_within_column == NULL) { keep_together_within_column = fo_property_keep_together_within_column_new (); } return keep_together_within_column; } xmlroff-0.6.2/libfo/property/fo-property-keep-together-within-column.h0000644000175000017500000000406010770023365023072 00000000000000/* Fo * fo-property-keep-together-within-column.h: 'keep-together-within-column' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN_H__ #define __FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN_H__ #include #include G_BEGIN_DECLS /* keep-together-within-column */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ #define FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN (fo_property_keep_together_within_column_get_type ()) #define FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN, FoPropertyKeepTogetherWithinColumn)) #define FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN, FoPropertyKeepTogetherWithinColumnClass)) #define FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN)) #define FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN)) #define FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN, FoPropertyKeepTogetherWithinColumnClass)) typedef struct _FoPropertyKeepTogetherWithinColumn FoPropertyKeepTogetherWithinColumn; typedef struct _FoPropertyKeepTogetherWithinColumnClass FoPropertyKeepTogetherWithinColumnClass; GType fo_property_keep_together_within_column_get_type (void) G_GNUC_CONST; FoProperty* fo_property_keep_together_within_column_new (void); FoProperty* fo_property_keep_together_within_column_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-together-within-page.c0000644000175000017500000001743510660107746022522 00000000000000/* Fo * fo-property-keep-together-within-page.c: 'keep-together-within-page' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-keep-together-within-page.h" #include "property/fo-property-util.h" /* keep-together-within-page */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ struct _FoPropertyKeepTogetherWithinPage { FoProperty parent_instance; }; struct _FoPropertyKeepTogetherWithinPageClass { FoPropertyClass parent_class; }; static void fo_property_keep_together_within_page_init (FoPropertyKeepTogetherWithinPage *property_keep_together_within_page); static void fo_property_keep_together_within_page_class_init (FoPropertyKeepTogetherWithinPageClass *klass); static void fo_property_keep_together_within_page_finalize (GObject *object); static FoDatatype* fo_property_keep_together_within_page_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "keep-together-within-page"; static gpointer parent_class; /** * fo_property_keep_together_within_page_get_type: * * Register the #FoPropertyKeepTogetherWithinPage type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepTogetherWithinPage. **/ GType fo_property_keep_together_within_page_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepTogetherWithinPageClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_keep_together_within_page_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepTogetherWithinPage), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_together_within_page_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_keep_together_within_page_init: * @keep_together_within_page: #FoPropertyKeepTogetherWithinPage object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepTogetherWithinPage. **/ void fo_property_keep_together_within_page_init (FoPropertyKeepTogetherWithinPage *keep_together_within_page) { FO_PROPERTY (keep_together_within_page)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_keep_together_within_page_class_init: * @klass: #FoPropertyKeepTogetherWithinPageClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepTogetherWithinPageClass. **/ void fo_property_keep_together_within_page_class_init (FoPropertyKeepTogetherWithinPageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_together_within_page_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_always_enum; property_class->validate = fo_property_keep_together_within_page_validate; property_class->get_initial = fo_property_keep_together_within_page_get_initial; } /** * fo_property_keep_together_within_page_finalize: * @object: #FoPropertyKeepTogetherWithinPage object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepTogetherWithinPage. **/ void fo_property_keep_together_within_page_finalize (GObject *object) { FoPropertyKeepTogetherWithinPage *keep_together_within_page; keep_together_within_page = FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_together_within_page_new: * * Creates a new #FoPropertyKeepTogetherWithinPage initialized to default value. * * Return value: the new #FoPropertyKeepTogetherWithinPage. **/ FoProperty* fo_property_keep_together_within_page_new (void) { FoProperty* keep_together_within_page; keep_together_within_page = FO_PROPERTY (g_object_new (fo_property_keep_together_within_page_get_type (), NULL)); return keep_together_within_page; } /** * fo_property_keep_together_within_page_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_together_within_page_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_together_within_page_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_together_within_page_get_initial (void) { static FoProperty *keep_together_within_page = NULL; if (keep_together_within_page == NULL) { keep_together_within_page = fo_property_keep_together_within_page_new (); } return keep_together_within_page; } xmlroff-0.6.2/libfo/property/fo-property-keep-together-within-page.h0000644000175000017500000000377010770023365022520 00000000000000/* Fo * fo-property-keep-together-within-page.h: 'keep-together-within-page' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE_H__ #define __FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE_H__ #include #include G_BEGIN_DECLS /* keep-together-within-page */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ #define FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE (fo_property_keep_together_within_page_get_type ()) #define FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE, FoPropertyKeepTogetherWithinPage)) #define FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE, FoPropertyKeepTogetherWithinPageClass)) #define FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE)) #define FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE)) #define FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE, FoPropertyKeepTogetherWithinPageClass)) typedef struct _FoPropertyKeepTogetherWithinPage FoPropertyKeepTogetherWithinPage; typedef struct _FoPropertyKeepTogetherWithinPageClass FoPropertyKeepTogetherWithinPageClass; GType fo_property_keep_together_within_page_get_type (void) G_GNUC_CONST; FoProperty* fo_property_keep_together_within_page_new (void); FoProperty* fo_property_keep_together_within_page_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-next.c0000644000175000017500000002555010660107746020413 00000000000000/* Fo * fo-property-keep-with-next.c: 'keep-with-next' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-keep-with-next.h" struct _FoPropertyKeepWithNext { FoProperty parent_instance; }; struct _FoPropertyKeepWithNextClass { FoPropertyClass parent_class; }; static void fo_property_keep_with_next_init (FoPropertyKeepWithNext *property_keep_with_next); static void fo_property_keep_with_next_base_init (FoPropertyKeepWithNextClass *klass); static void fo_property_keep_with_next_base_finalize (FoPropertyKeepWithNextClass *klass); static void fo_property_keep_with_next_class_init (FoPropertyKeepWithNextClass *klass); static void fo_property_keep_with_next_finalize (GObject *object); static FoDatatype* fo_property_keep_with_next_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_keep_with_next_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "keep-with-next"; static gpointer parent_class; static FoDatatype *enum_auto; static FoDatatype *enum_always; /** * fo_property_keep_with_next_get_type: * * Register the #FoPropertyKeepWithNext type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepWithNext. **/ GType fo_property_keep_with_next_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepWithNextClass), (GBaseInitFunc) fo_property_keep_with_next_base_init, (GBaseFinalizeFunc) fo_property_keep_with_next_base_finalize, (GClassInitFunc) fo_property_keep_with_next_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepWithNext), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_with_next_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_keep_with_next_init: * @keep_with_next: #FoPropertyKeepWithNext object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepWithNext. **/ void fo_property_keep_with_next_init (FoPropertyKeepWithNext *keep_with_next) { FO_PROPERTY (keep_with_next)->value = g_object_ref (fo_keep_get_keep_auto ()); } /** * fo_property_keep_with_next_base_init: * @klass: #FoPropertyKeepWithNextClass object to initialise. * * Implements #GBaseInitFunc for #FoPropertyKeepWithNextClass. **/ void fo_property_keep_with_next_base_init (FoPropertyKeepWithNextClass *klass G_GNUC_UNUSED) { enum_auto = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_AUTO, NULL); enum_always = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_ALWAYS, NULL); } /** * fo_property_keep_with_next_base_finalize: * @klass: #FoPropertyKeepWithNextClass object to finalise. * * Implements #GBaseFinalizeFunc for #FoPropertyKeepWithNextClass. **/ void fo_property_keep_with_next_base_finalize (FoPropertyKeepWithNextClass *klass G_GNUC_UNUSED) { g_object_unref (enum_auto); g_object_unref (enum_always); } /** * fo_property_keep_with_next_class_init: * @klass: #FoPropertyKeepWithNextClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepWithNextClass. **/ void fo_property_keep_with_next_class_init (FoPropertyKeepWithNextClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_with_next_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_keep_with_next_resolve_enum; property_class->validate = fo_property_keep_with_next_validate; property_class->get_initial = fo_property_keep_with_next_get_initial; } /** * fo_property_keep_with_next_finalize: * @object: #FoPropertyKeepWithNext object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepWithNext. **/ void fo_property_keep_with_next_finalize (GObject *object) { FoPropertyKeepWithNext *keep_with_next; keep_with_next = FO_PROPERTY_KEEP_WITH_NEXT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_with_next_new: * * Creates a new #FoPropertyKeepWithNext initialized to default value. * * Return value: the new #FoPropertyKeepWithNext. **/ FoProperty* fo_property_keep_with_next_new (void) { FoProperty* keep_with_next; keep_with_next = FO_PROPERTY (g_object_new (fo_property_keep_with_next_get_type (), NULL)); return keep_with_next; } /** * fo_property_keep_with_next_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_keep_with_next_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_keep_get_keep_auto ()); } else if (strcmp (token, "always") == 0) { return g_object_ref (fo_keep_get_keep_always ()); } else if (strcmp (token, "inherit") == 0) { return g_object_ref (fo_context_get_keep_with_next (context)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_keep_with_next_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_with_next_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_KEEP (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { if ((fo_enum_get_value (datatype) == FO_ENUM_ENUM_AUTO) || (fo_enum_get_value (datatype) == FO_ENUM_ENUM_ALWAYS)) { new_datatype = fo_keep_new_with_value (datatype); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_keep_with_next_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_keep_with_next_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { new_datatype = fo_keep_new_with_value (datatype); g_object_unref (datatype); return new_datatype; } else if (FO_IS_NUMBER (datatype)) { FoDatatype *integer_datatype = fo_integer_new_with_value (fo_number_get_value (datatype)); g_object_unref (datatype); new_datatype = fo_keep_new_with_value (integer_datatype); g_object_unref (integer_datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_with_next_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_with_next_get_initial (void) { static FoProperty *keep_with_next = NULL; if (keep_with_next == NULL) { keep_with_next = fo_property_keep_with_next_new (); } return keep_with_next; } xmlroff-0.6.2/libfo/property/fo-property-keep-with-next.h0000644000175000017500000000304510770023365020407 00000000000000/* Fo * fo-property-keep-with-next.h: 'keep-with-next' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_WITH_NEXT_H__ #define __FO_PROPERTY_KEEP_WITH_NEXT_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_PROPERTY_KEEP_WITH_NEXT (fo_property_keep_with_next_get_type ()) #define FO_PROPERTY_KEEP_WITH_NEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_WITH_NEXT, FoPropertyKeepWithNext)) #define FO_PROPERTY_KEEP_WITH_NEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_WITH_NEXT, FoPropertyKeepWithNextClass)) #define FO_IS_PROPERTY_KEEP_WITH_NEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_WITH_NEXT)) #define FO_IS_PROPERTY_KEEP_WITH_NEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_WITH_NEXT)) #define FO_PROPERTY_KEEP_WITH_NEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_WITH_NEXT, FoPropertyKeepWithNextClass)) typedef struct _FoPropertyKeepWithNext FoPropertyKeepWithNext; typedef struct _FoPropertyKeepWithNextClass FoPropertyKeepWithNextClass; GType fo_property_keep_with_next_get_type (void) G_GNUC_CONST; FoProperty * fo_property_keep_with_next_new (void); FoProperty * fo_property_keep_with_next_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_WITH_NEXT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-next-within-column.c0000644000175000017500000001772510660107747023214 00000000000000/* Fo * fo-property-keep-with-next-within-column.c: 'keep-with-next-within-column' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-keep-with-next-within-column.h" #include "property/fo-property-util.h" /* keep-with-next-within-column */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ struct _FoPropertyKeepWithNextWithinColumn { FoProperty parent_instance; }; struct _FoPropertyKeepWithNextWithinColumnClass { FoPropertyClass parent_class; }; static void fo_property_keep_with_next_within_column_init (FoPropertyKeepWithNextWithinColumn *property_keep_with_next_within_column); static void fo_property_keep_with_next_within_column_class_init (FoPropertyKeepWithNextWithinColumnClass *klass); static void fo_property_keep_with_next_within_column_finalize (GObject *object); static FoDatatype* fo_property_keep_with_next_within_column_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "keep-with-next-within-column"; static gpointer parent_class; /** * fo_property_keep_with_next_within_column_get_type: * * Register the #FoPropertyKeepWithNextWithinColumn type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepWithNextWithinColumn. **/ GType fo_property_keep_with_next_within_column_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepWithNextWithinColumnClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_keep_with_next_within_column_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepWithNextWithinColumn), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_with_next_within_column_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_keep_with_next_within_column_init: * @keep_with_next_within_column: #FoPropertyKeepWithNextWithinColumn object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepWithNextWithinColumn. **/ void fo_property_keep_with_next_within_column_init (FoPropertyKeepWithNextWithinColumn *keep_with_next_within_column) { FO_PROPERTY (keep_with_next_within_column)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_keep_with_next_within_column_class_init: * @klass: #FoPropertyKeepWithNextWithinColumnClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepWithNextWithinColumnClass. **/ void fo_property_keep_with_next_within_column_class_init (FoPropertyKeepWithNextWithinColumnClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_with_next_within_column_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_always_enum; property_class->validate = fo_property_keep_with_next_within_column_validate; property_class->get_initial = fo_property_keep_with_next_within_column_get_initial; } /** * fo_property_keep_with_next_within_column_finalize: * @object: #FoPropertyKeepWithNextWithinColumn object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepWithNextWithinColumn. **/ void fo_property_keep_with_next_within_column_finalize (GObject *object) { FoPropertyKeepWithNextWithinColumn *keep_with_next_within_column; keep_with_next_within_column = FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_with_next_within_column_new: * * Creates a new #FoPropertyKeepWithNextWithinColumn initialized to default value. * * Return value: the new #FoPropertyKeepWithNextWithinColumn. **/ FoProperty* fo_property_keep_with_next_within_column_new (void) { FoProperty* keep_with_next_within_column; keep_with_next_within_column = FO_PROPERTY (g_object_new (fo_property_keep_with_next_within_column_get_type (), NULL)); return keep_with_next_within_column; } /** * fo_property_keep_with_next_within_column_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_with_next_within_column_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_with_next_within_column_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_with_next_within_column_get_initial (void) { static FoProperty *keep_with_next_within_column = NULL; if (keep_with_next_within_column == NULL) { keep_with_next_within_column = fo_property_keep_with_next_within_column_new (); } return keep_with_next_within_column; } xmlroff-0.6.2/libfo/property/fo-property-keep-with-next-within-column.h0000644000175000017500000000410610770023365023201 00000000000000/* Fo * fo-property-keep-with-next-within-column.h: 'keep-with-next-within-column' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN_H__ #define __FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN_H__ #include #include G_BEGIN_DECLS /* keep-with-next-within-column */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ #define FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN (fo_property_keep_with_next_within_column_get_type ()) #define FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN, FoPropertyKeepWithNextWithinColumn)) #define FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN, FoPropertyKeepWithNextWithinColumnClass)) #define FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN)) #define FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN)) #define FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN, FoPropertyKeepWithNextWithinColumnClass)) typedef struct _FoPropertyKeepWithNextWithinColumn FoPropertyKeepWithNextWithinColumn; typedef struct _FoPropertyKeepWithNextWithinColumnClass FoPropertyKeepWithNextWithinColumnClass; GType fo_property_keep_with_next_within_column_get_type (void) G_GNUC_CONST; FoProperty* fo_property_keep_with_next_within_column_new (void); FoProperty* fo_property_keep_with_next_within_column_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-next-within-page.c0000644000175000017500000001751710660107747022632 00000000000000/* Fo * fo-property-keep-with-next-within-page.c: 'keep-with-next-within-page' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-keep-with-next-within-page.h" #include "property/fo-property-util.h" /* keep-with-next-within-page */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ struct _FoPropertyKeepWithNextWithinPage { FoProperty parent_instance; }; struct _FoPropertyKeepWithNextWithinPageClass { FoPropertyClass parent_class; }; static void fo_property_keep_with_next_within_page_init (FoPropertyKeepWithNextWithinPage *property_keep_with_next_within_page); static void fo_property_keep_with_next_within_page_class_init (FoPropertyKeepWithNextWithinPageClass *klass); static void fo_property_keep_with_next_within_page_finalize (GObject *object); static FoDatatype* fo_property_keep_with_next_within_page_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "keep-with-next-within-page"; static gpointer parent_class; /** * fo_property_keep_with_next_within_page_get_type: * * Register the #FoPropertyKeepWithNextWithinPage type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepWithNextWithinPage. **/ GType fo_property_keep_with_next_within_page_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepWithNextWithinPageClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_keep_with_next_within_page_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepWithNextWithinPage), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_with_next_within_page_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_keep_with_next_within_page_init: * @keep_with_next_within_page: #FoPropertyKeepWithNextWithinPage object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepWithNextWithinPage. **/ void fo_property_keep_with_next_within_page_init (FoPropertyKeepWithNextWithinPage *keep_with_next_within_page) { FO_PROPERTY (keep_with_next_within_page)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_keep_with_next_within_page_class_init: * @klass: #FoPropertyKeepWithNextWithinPageClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepWithNextWithinPageClass. **/ void fo_property_keep_with_next_within_page_class_init (FoPropertyKeepWithNextWithinPageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_with_next_within_page_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_always_enum; property_class->validate = fo_property_keep_with_next_within_page_validate; property_class->get_initial = fo_property_keep_with_next_within_page_get_initial; } /** * fo_property_keep_with_next_within_page_finalize: * @object: #FoPropertyKeepWithNextWithinPage object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepWithNextWithinPage. **/ void fo_property_keep_with_next_within_page_finalize (GObject *object) { FoPropertyKeepWithNextWithinPage *keep_with_next_within_page; keep_with_next_within_page = FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_with_next_within_page_new: * * Creates a new #FoPropertyKeepWithNextWithinPage initialized to default value. * * Return value: the new #FoPropertyKeepWithNextWithinPage. **/ FoProperty* fo_property_keep_with_next_within_page_new (void) { FoProperty* keep_with_next_within_page; keep_with_next_within_page = FO_PROPERTY (g_object_new (fo_property_keep_with_next_within_page_get_type (), NULL)); return keep_with_next_within_page; } /** * fo_property_keep_with_next_within_page_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_with_next_within_page_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_with_next_within_page_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_with_next_within_page_get_initial (void) { static FoProperty *keep_with_next_within_page = NULL; if (keep_with_next_within_page == NULL) { keep_with_next_within_page = fo_property_keep_with_next_within_page_new (); } return keep_with_next_within_page; } xmlroff-0.6.2/libfo/property/fo-property-keep-with-next-within-page.h0000644000175000017500000000401610770023365022620 00000000000000/* Fo * fo-property-keep-with-next-within-page.h: 'keep-with-next-within-page' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE_H__ #define __FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE_H__ #include #include G_BEGIN_DECLS /* keep-with-next-within-page */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ #define FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE (fo_property_keep_with_next_within_page_get_type ()) #define FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE, FoPropertyKeepWithNextWithinPage)) #define FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE, FoPropertyKeepWithNextWithinPageClass)) #define FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE)) #define FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE)) #define FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE, FoPropertyKeepWithNextWithinPageClass)) typedef struct _FoPropertyKeepWithNextWithinPage FoPropertyKeepWithNextWithinPage; typedef struct _FoPropertyKeepWithNextWithinPageClass FoPropertyKeepWithNextWithinPageClass; GType fo_property_keep_with_next_within_page_get_type (void) G_GNUC_CONST; FoProperty* fo_property_keep_with_next_within_page_new (void); FoProperty* fo_property_keep_with_next_within_page_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-previous.c0000644000175000017500000002627410660107747021316 00000000000000/* Fo * fo-property-keep-with-previous.c: 'keep-with-previous' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-keep-with-previous.h" struct _FoPropertyKeepWithPrevious { FoProperty parent_instance; }; struct _FoPropertyKeepWithPreviousClass { FoPropertyClass parent_class; }; static void fo_property_keep_with_previous_init (FoPropertyKeepWithPrevious *property_keep_with_previous); static void fo_property_keep_with_previous_base_init (FoPropertyKeepWithPreviousClass *klass); static void fo_property_keep_with_previous_base_finalize (FoPropertyKeepWithPreviousClass *klass); static void fo_property_keep_with_previous_class_init (FoPropertyKeepWithPreviousClass *klass); static void fo_property_keep_with_previous_finalize (GObject *object); static FoDatatype* fo_property_keep_with_previous_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_keep_with_previous_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "keep-with-previous"; static gpointer parent_class; static FoDatatype *enum_auto; static FoDatatype *enum_always; /** * fo_property_keep_with_previous_get_type: * * Register the #FoPropertyKeepWithPrevious type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepWithPrevious. **/ GType fo_property_keep_with_previous_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepWithPreviousClass), (GBaseInitFunc) fo_property_keep_with_previous_base_init, (GBaseFinalizeFunc) fo_property_keep_with_previous_base_finalize, (GClassInitFunc) fo_property_keep_with_previous_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepWithPrevious), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_with_previous_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_keep_with_previous_init: * @keep_with_previous: #FoPropertyKeepWithPrevious object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepWithPrevious. **/ void fo_property_keep_with_previous_init (FoPropertyKeepWithPrevious *keep_with_previous) { FO_PROPERTY (keep_with_previous)->value = g_object_ref (fo_keep_get_keep_auto ()); } /** * fo_property_keep_with_previous_base_init: * @klass: #FoPropertyKeepWithPreviousClass object to initialise. * * Implements #GBaseInitFunc for #FoPropertyKeepWithPreviousClass. **/ void fo_property_keep_with_previous_base_init (FoPropertyKeepWithPreviousClass *klass G_GNUC_UNUSED) { enum_auto = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_AUTO, NULL); enum_always = g_object_new (FO_TYPE_ENUM, "enum-class", g_type_class_ref (FO_TYPE_ENUM_ENUM), "value", FO_ENUM_ENUM_ALWAYS, NULL); } /** * fo_property_keep_with_previous_base_finalize: * @klass: #FoPropertyKeepWithPreviousClass object to finalise. * * Implements #GBaseFinalizeFunc for #FoPropertyKeepWithPreviousClass. **/ void fo_property_keep_with_previous_base_finalize (FoPropertyKeepWithPreviousClass *klass G_GNUC_UNUSED) { g_object_unref (enum_auto); g_object_unref (enum_always); } /** * fo_property_keep_with_previous_class_init: * @klass: #FoPropertyKeepWithPreviousClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepWithPreviousClass. **/ void fo_property_keep_with_previous_class_init (FoPropertyKeepWithPreviousClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_with_previous_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_keep_with_previous_resolve_enum; property_class->validate = fo_property_keep_with_previous_validate; property_class->get_initial = fo_property_keep_with_previous_get_initial; } /** * fo_property_keep_with_previous_finalize: * @object: #FoPropertyKeepWithPrevious object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepWithPrevious. **/ void fo_property_keep_with_previous_finalize (GObject *object) { FoPropertyKeepWithPrevious *keep_with_previous; keep_with_previous = FO_PROPERTY_KEEP_WITH_PREVIOUS (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_with_previous_new: * * Creates a new #FoPropertyKeepWithPrevious initialized to default value. * * Return value: the new #FoPropertyKeepWithPrevious. **/ FoProperty* fo_property_keep_with_previous_new (void) { FoProperty* keep_with_previous; keep_with_previous = FO_PROPERTY (g_object_new (fo_property_keep_with_previous_get_type (), NULL)); return keep_with_previous; } /** * fo_property_keep_with_previous_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_keep_with_previous_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_keep_get_keep_auto ()); } else if (strcmp (token, "always") == 0) { return g_object_ref (fo_keep_get_keep_always ()); } else if (strcmp (token, "inherit") == 0) { return g_object_ref (fo_context_get_keep_with_previous (context)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_keep_with_previous_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_with_previous_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_KEEP (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { if ((fo_enum_get_value (datatype) == FO_ENUM_ENUM_AUTO) || (fo_enum_get_value (datatype) == FO_ENUM_ENUM_ALWAYS)) { new_datatype = fo_keep_new_with_value (datatype); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_keep_with_previous_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_keep_with_previous_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { new_datatype = fo_keep_new_with_value (datatype); g_object_unref (datatype); return new_datatype; } else if (FO_IS_NUMBER (datatype)) { FoDatatype *integer_datatype = fo_integer_new_with_value (fo_number_get_value (datatype)); g_object_unref (datatype); new_datatype = fo_keep_new_with_value (integer_datatype); g_object_unref (integer_datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_with_previous_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_with_previous_get_initial (void) { static FoProperty *keep_with_previous = NULL; if (keep_with_previous == NULL) { keep_with_previous = fo_property_keep_with_previous_new (); } return keep_with_previous; } xmlroff-0.6.2/libfo/property/fo-property-keep-with-previous.h0000644000175000017500000000322110770023365021301 00000000000000/* Fo * fo-property-keep-with-previous.h: 'keep-with-previous' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_WITH_PREVIOUS_H__ #define __FO_PROPERTY_KEEP_WITH_PREVIOUS_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS (fo_property_keep_with_previous_get_type ()) #define FO_PROPERTY_KEEP_WITH_PREVIOUS(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS, FoPropertyKeepWithPrevious)) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS, FoPropertyKeepWithPreviousClass)) #define FO_IS_PROPERTY_KEEP_WITH_PREVIOUS(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS)) #define FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS)) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS, FoPropertyKeepWithPreviousClass)) typedef struct _FoPropertyKeepWithPrevious FoPropertyKeepWithPrevious; typedef struct _FoPropertyKeepWithPreviousClass FoPropertyKeepWithPreviousClass; GType fo_property_keep_with_previous_get_type (void) G_GNUC_CONST; FoProperty * fo_property_keep_with_previous_new (void); FoProperty * fo_property_keep_with_previous_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_WITH_PREVIOUS_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-previous-within-column.c0000644000175000017500000002034110660107746024075 00000000000000/* Fo * fo-property-keep-with-previous-within-column.c: 'keep-with-previous-within-column' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-keep-with-previous-within-column.h" #include "property/fo-property-util.h" /* keep-with-previous-within-column */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ struct _FoPropertyKeepWithPreviousWithinColumn { FoProperty parent_instance; }; struct _FoPropertyKeepWithPreviousWithinColumnClass { FoPropertyClass parent_class; }; static void fo_property_keep_with_previous_within_column_init (FoPropertyKeepWithPreviousWithinColumn *property_keep_with_previous_within_column); static void fo_property_keep_with_previous_within_column_class_init (FoPropertyKeepWithPreviousWithinColumnClass *klass); static void fo_property_keep_with_previous_within_column_finalize (GObject *object); static FoDatatype* fo_property_keep_with_previous_within_column_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "keep-with-previous-within-column"; static gpointer parent_class; /** * fo_property_keep_with_previous_within_column_get_type: * * Register the #FoPropertyKeepWithPreviousWithinColumn type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepWithPreviousWithinColumn. **/ GType fo_property_keep_with_previous_within_column_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepWithPreviousWithinColumnClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_keep_with_previous_within_column_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepWithPreviousWithinColumn), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_with_previous_within_column_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_keep_with_previous_within_column_init: * @keep_with_previous_within_column: #FoPropertyKeepWithPreviousWithinColumn object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepWithPreviousWithinColumn. **/ void fo_property_keep_with_previous_within_column_init (FoPropertyKeepWithPreviousWithinColumn *keep_with_previous_within_column) { FO_PROPERTY (keep_with_previous_within_column)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_keep_with_previous_within_column_class_init: * @klass: #FoPropertyKeepWithPreviousWithinColumnClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepWithPreviousWithinColumnClass. **/ void fo_property_keep_with_previous_within_column_class_init (FoPropertyKeepWithPreviousWithinColumnClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_with_previous_within_column_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_always_enum; property_class->validate = fo_property_keep_with_previous_within_column_validate; property_class->get_initial = fo_property_keep_with_previous_within_column_get_initial; } /** * fo_property_keep_with_previous_within_column_finalize: * @object: #FoPropertyKeepWithPreviousWithinColumn object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepWithPreviousWithinColumn. **/ void fo_property_keep_with_previous_within_column_finalize (GObject *object) { FoPropertyKeepWithPreviousWithinColumn *keep_with_previous_within_column; keep_with_previous_within_column = FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_with_previous_within_column_new: * * Creates a new #FoPropertyKeepWithPreviousWithinColumn initialized to default value. * * Return value: the new #FoPropertyKeepWithPreviousWithinColumn. **/ FoProperty* fo_property_keep_with_previous_within_column_new (void) { FoProperty* keep_with_previous_within_column; keep_with_previous_within_column = FO_PROPERTY (g_object_new (fo_property_keep_with_previous_within_column_get_type (), NULL)); return keep_with_previous_within_column; } /** * fo_property_keep_with_previous_within_column_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_with_previous_within_column_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_with_previous_within_column_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_with_previous_within_column_get_initial (void) { static FoProperty *keep_with_previous_within_column = NULL; if (keep_with_previous_within_column == NULL) { keep_with_previous_within_column = fo_property_keep_with_previous_within_column_new (); } return keep_with_previous_within_column; } xmlroff-0.6.2/libfo/property/fo-property-keep-with-previous-within-column.h0000644000175000017500000000426610770023365024106 00000000000000/* Fo * fo-property-keep-with-previous-within-column.h: 'keep-with-previous-within-column' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN_H__ #define __FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN_H__ #include #include G_BEGIN_DECLS /* keep-with-previous-within-column */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ #define FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN (fo_property_keep_with_previous_within_column_get_type ()) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, FoPropertyKeepWithPreviousWithinColumn)) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, FoPropertyKeepWithPreviousWithinColumnClass)) #define FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN)) #define FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN)) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN, FoPropertyKeepWithPreviousWithinColumnClass)) typedef struct _FoPropertyKeepWithPreviousWithinColumn FoPropertyKeepWithPreviousWithinColumn; typedef struct _FoPropertyKeepWithPreviousWithinColumnClass FoPropertyKeepWithPreviousWithinColumnClass; GType fo_property_keep_with_previous_within_column_get_type (void) G_GNUC_CONST; FoProperty* fo_property_keep_with_previous_within_column_new (void); FoProperty* fo_property_keep_with_previous_within_column_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-previous-within-page.c0000644000175000017500000002013310660107747023514 00000000000000/* Fo * fo-property-keep-with-previous-within-page.c: 'keep-with-previous-within-page' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-keep-with-previous-within-page.h" #include "property/fo-property-util.h" /* keep-with-previous-within-page */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ struct _FoPropertyKeepWithPreviousWithinPage { FoProperty parent_instance; }; struct _FoPropertyKeepWithPreviousWithinPageClass { FoPropertyClass parent_class; }; static void fo_property_keep_with_previous_within_page_init (FoPropertyKeepWithPreviousWithinPage *property_keep_with_previous_within_page); static void fo_property_keep_with_previous_within_page_class_init (FoPropertyKeepWithPreviousWithinPageClass *klass); static void fo_property_keep_with_previous_within_page_finalize (GObject *object); static FoDatatype* fo_property_keep_with_previous_within_page_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "keep-with-previous-within-page"; static gpointer parent_class; /** * fo_property_keep_with_previous_within_page_get_type: * * Register the #FoPropertyKeepWithPreviousWithinPage type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepWithPreviousWithinPage. **/ GType fo_property_keep_with_previous_within_page_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepWithPreviousWithinPageClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_keep_with_previous_within_page_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepWithPreviousWithinPage), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_with_previous_within_page_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_keep_with_previous_within_page_init: * @keep_with_previous_within_page: #FoPropertyKeepWithPreviousWithinPage object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepWithPreviousWithinPage. **/ void fo_property_keep_with_previous_within_page_init (FoPropertyKeepWithPreviousWithinPage *keep_with_previous_within_page) { FO_PROPERTY (keep_with_previous_within_page)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_keep_with_previous_within_page_class_init: * @klass: #FoPropertyKeepWithPreviousWithinPageClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepWithPreviousWithinPageClass. **/ void fo_property_keep_with_previous_within_page_class_init (FoPropertyKeepWithPreviousWithinPageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_with_previous_within_page_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_always_enum; property_class->validate = fo_property_keep_with_previous_within_page_validate; property_class->get_initial = fo_property_keep_with_previous_within_page_get_initial; } /** * fo_property_keep_with_previous_within_page_finalize: * @object: #FoPropertyKeepWithPreviousWithinPage object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepWithPreviousWithinPage. **/ void fo_property_keep_with_previous_within_page_finalize (GObject *object) { FoPropertyKeepWithPreviousWithinPage *keep_with_previous_within_page; keep_with_previous_within_page = FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_with_previous_within_page_new: * * Creates a new #FoPropertyKeepWithPreviousWithinPage initialized to default value. * * Return value: the new #FoPropertyKeepWithPreviousWithinPage. **/ FoProperty* fo_property_keep_with_previous_within_page_new (void) { FoProperty* keep_with_previous_within_page; keep_with_previous_within_page = FO_PROPERTY (g_object_new (fo_property_keep_with_previous_within_page_get_type (), NULL)); return keep_with_previous_within_page; } /** * fo_property_keep_with_previous_within_page_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_with_previous_within_page_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_with_previous_within_page_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_with_previous_within_page_get_initial (void) { static FoProperty *keep_with_previous_within_page = NULL; if (keep_with_previous_within_page == NULL) { keep_with_previous_within_page = fo_property_keep_with_previous_within_page_new (); } return keep_with_previous_within_page; } xmlroff-0.6.2/libfo/property/fo-property-keep-with-previous-within-page.h0000644000175000017500000000417610770023365023525 00000000000000/* Fo * fo-property-keep-with-previous-within-page.h: 'keep-with-previous-within-page' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE_H__ #define __FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE_H__ #include #include G_BEGIN_DECLS /* keep-with-previous-within-page */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ #define FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE (fo_property_keep_with_previous_within_page_get_type ()) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE, FoPropertyKeepWithPreviousWithinPage)) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE, FoPropertyKeepWithPreviousWithinPageClass)) #define FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE)) #define FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE)) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE, FoPropertyKeepWithPreviousWithinPageClass)) typedef struct _FoPropertyKeepWithPreviousWithinPage FoPropertyKeepWithPreviousWithinPage; typedef struct _FoPropertyKeepWithPreviousWithinPageClass FoPropertyKeepWithPreviousWithinPageClass; GType fo_property_keep_with_previous_within_page_get_type (void) G_GNUC_CONST; FoProperty* fo_property_keep_with_previous_within_page_new (void); FoProperty* fo_property_keep_with_previous_within_page_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-letter-value.c0000644000175000017500000002060110660107747020144 00000000000000/* Fo * fo-property-letter-value.c: 'letter-value' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-letter-value.h" /* letter-value */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | alphabetic | traditional */ /* Initial value: auto */ struct _FoPropertyLetterValue { FoProperty parent_instance; }; struct _FoPropertyLetterValueClass { FoPropertyClass parent_class; }; static void fo_property_letter_value_init (FoPropertyLetterValue *property_letter_value); static void fo_property_letter_value_class_init (FoPropertyLetterValueClass *klass); static void fo_property_letter_value_finalize (GObject *object); static FoDatatype* fo_property_letter_value_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_letter_value_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "letter-value"; static gpointer parent_class; /** * fo_property_letter_value_get_type: * * Register the #FoPropertyLetterValue type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyLetterValue. **/ GType fo_property_letter_value_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyLetterValueClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_letter_value_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyLetterValue), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_letter_value_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_letter_value_init: * @letter_value: #FoPropertyLetterValue object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyLetterValue. **/ void fo_property_letter_value_init (FoPropertyLetterValue *letter_value) { FO_PROPERTY (letter_value)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_letter_value_class_init: * @klass: #FoPropertyLetterValueClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyLetterValueClass. **/ void fo_property_letter_value_class_init (FoPropertyLetterValueClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_letter_value_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_letter_value_resolve_enum; property_class->validate = fo_property_letter_value_validate; property_class->get_initial = fo_property_letter_value_get_initial; } /** * fo_property_letter_value_finalize: * @object: #FoPropertyLetterValue object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyLetterValue. **/ void fo_property_letter_value_finalize (GObject *object) { FoPropertyLetterValue *letter_value; letter_value = FO_PROPERTY_LETTER_VALUE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_letter_value_new: * * Creates a new #FoPropertyLetterValue initialized to default value. * * Return value: the new #FoPropertyLetterValue. **/ FoProperty* fo_property_letter_value_new (void) { FoProperty* letter_value; letter_value = FO_PROPERTY (g_object_new (fo_property_letter_value_get_type (), NULL)); return letter_value; } /** * fo_property_letter_value_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_letter_value_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_enum_get_enum_auto ()); } else if (strcmp (token, "alphabetic") == 0) { return g_object_ref (fo_enum_get_alphabetic ()); } else if (strcmp (token, "traditional") == 0) { return g_object_ref (fo_enum_get_traditional ()); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_letter_value_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_letter_value_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_letter_value_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_letter_value_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_letter_value_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_letter_value_get_initial (void) { static FoProperty *letter_value = NULL; if (letter_value == NULL) { letter_value = fo_property_letter_value_new (); } return letter_value; } xmlroff-0.6.2/libfo/property/fo-property-letter-value.h0000644000175000017500000000316510770023365020152 00000000000000/* Fo * fo-property-letter-value.h: 'letter-value' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_LETTER_VALUE_H__ #define __FO_PROPERTY_LETTER_VALUE_H__ #include #include G_BEGIN_DECLS /* letter-value */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | alphabetic | traditional */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_LETTER_VALUE (fo_property_letter_value_get_type ()) #define FO_PROPERTY_LETTER_VALUE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_LETTER_VALUE, FoPropertyLetterValue)) #define FO_PROPERTY_LETTER_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_LETTER_VALUE, FoPropertyLetterValueClass)) #define FO_IS_PROPERTY_LETTER_VALUE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_LETTER_VALUE)) #define FO_IS_PROPERTY_LETTER_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_LETTER_VALUE)) #define FO_PROPERTY_LETTER_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_LETTER_VALUE, FoPropertyLetterValueClass)) typedef struct _FoPropertyLetterValue FoPropertyLetterValue; typedef struct _FoPropertyLetterValueClass FoPropertyLetterValueClass; GType fo_property_letter_value_get_type (void) G_GNUC_CONST; FoProperty* fo_property_letter_value_new (void); FoProperty* fo_property_letter_value_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_LETTER_VALUE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-linefeed-treatment.c0000644000175000017500000002272110660107747021314 00000000000000/* Fo * fo-property-linefeed-treatment.c: 'linefeed-treatment' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-linefeed-treatment.h" /* linefeed-treatment */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* ignore | preserve | treat-as-space | treat-as-zero-width-space | inherit */ /* Initial value: treat-as-space */ struct _FoPropertyLinefeedTreatment { FoProperty parent_instance; }; struct _FoPropertyLinefeedTreatmentClass { FoPropertyClass parent_class; }; static void fo_property_linefeed_treatment_init (FoPropertyLinefeedTreatment *property_linefeed_treatment); static void fo_property_linefeed_treatment_class_init (FoPropertyLinefeedTreatmentClass *klass); static void fo_property_linefeed_treatment_finalize (GObject *object); static FoDatatype * fo_property_linefeed_treatment_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_linefeed_treatment_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "linefeed-treatment"; static gpointer parent_class; /** * fo_property_linefeed_treatment_get_type: * * Register the #FoPropertyLinefeedTreatment type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyLinefeedTreatment. **/ GType fo_property_linefeed_treatment_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyLinefeedTreatmentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_linefeed_treatment_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyLinefeedTreatment), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_linefeed_treatment_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_linefeed_treatment_init: * @linefeed_treatment: #FoPropertyLinefeedTreatment object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyLinefeedTreatment. **/ void fo_property_linefeed_treatment_init (FoPropertyLinefeedTreatment *linefeed_treatment) { FO_PROPERTY (linefeed_treatment)->value = g_object_ref (fo_enum_get_enum_by_nick ("treat-as-space")); } /** * fo_property_linefeed_treatment_class_init: * @klass: #FoPropertyLinefeedTreatmentClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyLinefeedTreatmentClass. **/ void fo_property_linefeed_treatment_class_init (FoPropertyLinefeedTreatmentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_linefeed_treatment_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_linefeed_treatment_resolve_enum; property_class->validate = fo_property_linefeed_treatment_validate; property_class->get_initial = fo_property_linefeed_treatment_get_initial; } /** * fo_property_linefeed_treatment_finalize: * @object: #FoPropertyLinefeedTreatment object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyLinefeedTreatment. **/ void fo_property_linefeed_treatment_finalize (GObject *object) { FoPropertyLinefeedTreatment *linefeed_treatment; linefeed_treatment = FO_PROPERTY_LINEFEED_TREATMENT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_linefeed_treatment_new: * * Creates a new #FoPropertyLinefeedTreatment initialized to default value. * * Return value: the new #FoPropertyLinefeedTreatment. **/ FoProperty* fo_property_linefeed_treatment_new (void) { FoProperty* linefeed_treatment; linefeed_treatment = FO_PROPERTY (g_object_new (fo_property_linefeed_treatment_get_type (), NULL)); return linefeed_treatment; } /** * fo_property_linefeed_treatment_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_linefeed_treatment_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "ignore") == 0) || (strcmp (token, "preserve") == 0) || (strcmp (token, "treat-as-space") == 0) || (strcmp (token, "treat-as-zero-width-space") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_linefeed_treatment_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_linefeed_treatment_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_IGNORE) || (value == FO_ENUM_ENUM_PRESERVE) || (value == FO_ENUM_ENUM_TREAT_AS_SPACE) || (value == FO_ENUM_ENUM_TREAT_AS_ZERO_WIDTH_SPACE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_linefeed_treatment_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_linefeed_treatment_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_linefeed_treatment_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_linefeed_treatment_get_initial (void) { static FoProperty *linefeed_treatment = NULL; if (linefeed_treatment == NULL) { linefeed_treatment = fo_property_linefeed_treatment_new (); } return linefeed_treatment; } xmlroff-0.6.2/libfo/property/fo-property-linefeed-treatment.h0000644000175000017500000000404210770023365021310 00000000000000/* Fo * fo-property-linefeed-treatment.h: 'linefeed-treatment' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_LINEFEED_TREATMENT_H__ #define __FO_PROPERTY_LINEFEED_TREATMENT_H__ #include #include G_BEGIN_DECLS /* linefeed-treatment */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* ignore | preserve | treat-as-space | treat-as-zero-width-space | inherit */ /* Initial value: treat-as-space */ #define FO_TYPE_PROPERTY_LINEFEED_TREATMENT (fo_property_linefeed_treatment_get_type ()) #define FO_PROPERTY_LINEFEED_TREATMENT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_LINEFEED_TREATMENT, FoPropertyLinefeedTreatment)) #define FO_PROPERTY_LINEFEED_TREATMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_LINEFEED_TREATMENT, FoPropertyLinefeedTreatmentClass)) #define FO_IS_PROPERTY_LINEFEED_TREATMENT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_LINEFEED_TREATMENT)) #define FO_IS_PROPERTY_LINEFEED_TREATMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_LINEFEED_TREATMENT)) #define FO_PROPERTY_LINEFEED_TREATMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_LINEFEED_TREATMENT, FoPropertyLinefeedTreatmentClass)) /** * FoPropertyLinefeedTreatment: * * Instance of the 'linefeed-treatment' property. **/ typedef struct _FoPropertyLinefeedTreatment FoPropertyLinefeedTreatment; /** * FoPropertyLinefeedTreatmentClass: * * Class structure for the 'linefeed-treatment' property. **/ typedef struct _FoPropertyLinefeedTreatmentClass FoPropertyLinefeedTreatmentClass; GType fo_property_linefeed_treatment_get_type (void) G_GNUC_CONST; FoProperty * fo_property_linefeed_treatment_new (void); FoProperty * fo_property_linefeed_treatment_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_LINEFEED_TREATMENT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-line-stacking-strategy.c0000644000175000017500000002312410660107746022125 00000000000000/* Fo * fo-property-line-stacking-strategy.c: 'line-stacking-strategy' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-line-stacking-strategy.h" /* line-stacking-strategy */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* line-height | font-height | max-height | inherit */ /* Initial value: max-height */ struct _FoPropertyLineStackingStrategy { FoProperty parent_instance; }; struct _FoPropertyLineStackingStrategyClass { FoPropertyClass parent_class; }; static void fo_property_line_stacking_strategy_init (FoPropertyLineStackingStrategy *property_line_stacking_strategy); static void fo_property_line_stacking_strategy_class_init (FoPropertyLineStackingStrategyClass *klass); static void fo_property_line_stacking_strategy_finalize (GObject *object); static FoDatatype* fo_property_line_stacking_strategy_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_line_stacking_strategy_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "line-stacking-strategy"; static gpointer parent_class; /** * fo_property_line_stacking_strategy_get_type: * * Register the #FoPropertyLineStackingStrategy type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyLineStackingStrategy. **/ GType fo_property_line_stacking_strategy_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyLineStackingStrategyClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_line_stacking_strategy_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyLineStackingStrategy), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_line_stacking_strategy_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_line_stacking_strategy_init: * @line_stacking_strategy: #FoPropertyLineStackingStrategy object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyLineStackingStrategy. **/ void fo_property_line_stacking_strategy_init (FoPropertyLineStackingStrategy *line_stacking_strategy) { FO_PROPERTY (line_stacking_strategy)->value = g_object_ref (fo_enum_get_enum_by_nick ("max-height")); } /** * fo_property_line_stacking_strategy_class_init: * @klass: #FoPropertyLineStackingStrategyClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyLineStackingStrategyClass. **/ void fo_property_line_stacking_strategy_class_init (FoPropertyLineStackingStrategyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_line_stacking_strategy_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_line_stacking_strategy_resolve_enum; property_class->validate = fo_property_line_stacking_strategy_validate; property_class->get_initial = fo_property_line_stacking_strategy_get_initial; } /** * fo_property_line_stacking_strategy_finalize: * @object: #FoPropertyLineStackingStrategy object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyLineStackingStrategy. **/ void fo_property_line_stacking_strategy_finalize (GObject *object) { FoPropertyLineStackingStrategy *line_stacking_strategy; line_stacking_strategy = FO_PROPERTY_LINE_STACKING_STRATEGY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_line_stacking_strategy_new: * * Creates a new #FoPropertyLineStackingStrategy initialized to default value. * * Return value: the new #FoPropertyLineStackingStrategy. **/ FoProperty* fo_property_line_stacking_strategy_new (void) { FoProperty* line_stacking_strategy; line_stacking_strategy = FO_PROPERTY (g_object_new (fo_property_line_stacking_strategy_get_type (), NULL)); return line_stacking_strategy; } /** * fo_property_line_stacking_strategy_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_line_stacking_strategy_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "line-height") == 0) || (strcmp (token, "font-height") == 0) || (strcmp (token, "max-height") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_line_stacking_strategy_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_line_stacking_strategy_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_LINE_HEIGHT) || (value == FO_ENUM_ENUM_FONT_HEIGHT) || (value == FO_ENUM_ENUM_MAX_HEIGHT)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_line_stacking_strategy_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_line_stacking_strategy_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_line_stacking_strategy_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_line_stacking_strategy_get_initial (void) { static FoProperty *line_stacking_strategy = NULL; if (line_stacking_strategy == NULL) { line_stacking_strategy = fo_property_line_stacking_strategy_new (); } return line_stacking_strategy; } xmlroff-0.6.2/libfo/property/fo-property-line-stacking-strategy.h0000644000175000017500000000363710770023365022135 00000000000000/* Fo * fo-property-line-stacking-strategy.h: 'line-stacking-strategy' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_LINE_STACKING_STRATEGY_H__ #define __FO_PROPERTY_LINE_STACKING_STRATEGY_H__ #include #include G_BEGIN_DECLS /* line-stacking-strategy */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* line-height | font-height | max-height | inherit */ /* Initial value: max-height */ #define FO_TYPE_PROPERTY_LINE_STACKING_STRATEGY (fo_property_line_stacking_strategy_get_type ()) #define FO_PROPERTY_LINE_STACKING_STRATEGY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_LINE_STACKING_STRATEGY, FoPropertyLineStackingStrategy)) #define FO_PROPERTY_LINE_STACKING_STRATEGY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_LINE_STACKING_STRATEGY, FoPropertyLineStackingStrategyClass)) #define FO_IS_PROPERTY_LINE_STACKING_STRATEGY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_LINE_STACKING_STRATEGY)) #define FO_IS_PROPERTY_LINE_STACKING_STRATEGY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_LINE_STACKING_STRATEGY)) #define FO_PROPERTY_LINE_STACKING_STRATEGY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_LINE_STACKING_STRATEGY, FoPropertyLineStackingStrategyClass)) typedef struct _FoPropertyLineStackingStrategy FoPropertyLineStackingStrategy; typedef struct _FoPropertyLineStackingStrategyClass FoPropertyLineStackingStrategyClass; GType fo_property_line_stacking_strategy_get_type (void) G_GNUC_CONST; FoProperty * fo_property_line_stacking_strategy_new (void); FoProperty * fo_property_line_stacking_strategy_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_LINE_STACKING_STRATEGY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-margin-bottom.c0000644000175000017500000001553510660107746020323 00000000000000/* Fo * fo-property-margin-bottom.c: 'margin-bottom' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-margin-bottom.h" #include "property/fo-property-util.h" /* margin-bottom */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: 0pt */ struct _FoPropertyMarginBottom { FoProperty parent_instance; }; struct _FoPropertyMarginBottomClass { FoPropertyClass parent_class; }; static void fo_property_margin_bottom_init (FoPropertyMarginBottom *property_margin_bottom); static void fo_property_margin_bottom_class_init (FoPropertyMarginBottomClass *klass); static void fo_property_margin_bottom_finalize (GObject *object); static FoDatatype* fo_property_margin_bottom_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "margin-bottom"; static gpointer parent_class; /** * fo_property_margin_bottom_get_type: * * Register the #FoPropertyMarginBottom type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyMarginBottom. **/ GType fo_property_margin_bottom_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyMarginBottomClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_margin_bottom_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyMarginBottom), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_margin_bottom_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_margin_bottom_init: * @margin_bottom: #FoPropertyMarginBottom object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyMarginBottom. **/ void fo_property_margin_bottom_init (FoPropertyMarginBottom *margin_bottom) { FO_PROPERTY (margin_bottom)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_margin_bottom_class_init: * @klass: #FoPropertyMarginBottomClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyMarginBottomClass. **/ void fo_property_margin_bottom_class_init (FoPropertyMarginBottomClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_margin_bottom_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_margin_bottom_validate; property_class->get_initial = fo_property_margin_bottom_get_initial; } /** * fo_property_margin_bottom_finalize: * @object: #FoPropertyMarginBottom object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyMarginBottom. **/ void fo_property_margin_bottom_finalize (GObject *object) { FoPropertyMarginBottom *margin_bottom; margin_bottom = FO_PROPERTY_MARGIN_BOTTOM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_margin_bottom_new: * * Creates a new #FoPropertyMarginBottom initialized to default value. * * Return value: the new #FoPropertyMarginBottom. **/ FoProperty* fo_property_margin_bottom_new (void) { FoProperty* margin_bottom; margin_bottom = FO_PROPERTY (g_object_new (fo_property_margin_bottom_get_type (), NULL)); return margin_bottom; } /** * fo_property_margin_bottom_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_margin_bottom_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_margin_bottom_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_margin_bottom_get_initial (void) { static FoProperty *margin_bottom = NULL; if (margin_bottom == NULL) { margin_bottom = fo_property_margin_bottom_new (); } return margin_bottom; } xmlroff-0.6.2/libfo/property/fo-property-margin-bottom.h0000644000175000017500000000313310770023365020313 00000000000000/* Fo * fo-property-margin-bottom.h: 'margin-bottom' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_MARGIN_BOTTOM_H__ #define __FO_PROPERTY_MARGIN_BOTTOM_H__ #include #include G_BEGIN_DECLS /* margin-bottom */ /* | inherit */ /* Initial value: 0pt */ #define FO_TYPE_PROPERTY_MARGIN_BOTTOM (fo_property_margin_bottom_get_type ()) #define FO_PROPERTY_MARGIN_BOTTOM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_MARGIN_BOTTOM, FoPropertyMarginBottom)) #define FO_PROPERTY_MARGIN_BOTTOM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_MARGIN_BOTTOM, FoPropertyMarginBottomClass)) #define FO_IS_PROPERTY_MARGIN_BOTTOM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_MARGIN_BOTTOM)) #define FO_IS_PROPERTY_MARGIN_BOTTOM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_MARGIN_BOTTOM)) #define FO_PROPERTY_MARGIN_BOTTOM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_MARGIN_BOTTOM, FoPropertyMarginBottomClass)) typedef struct _FoPropertyMarginBottom FoPropertyMarginBottom; typedef struct _FoPropertyMarginBottomClass FoPropertyMarginBottomClass; GType fo_property_margin_bottom_get_type (void) G_GNUC_CONST; FoProperty* fo_property_margin_bottom_new (void); FoProperty* fo_property_margin_bottom_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_MARGIN_BOTTOM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-margin-left.c0000644000175000017500000001532710660107747017751 00000000000000/* Fo * fo-property-margin-left.c: 'margin-left' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-margin-left.h" #include "property/fo-property-util.h" /* margin-left */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: 0pt */ struct _FoPropertyMarginLeft { FoProperty parent_instance; }; struct _FoPropertyMarginLeftClass { FoPropertyClass parent_class; }; static void fo_property_margin_left_init (FoPropertyMarginLeft *property_margin_left); static void fo_property_margin_left_class_init (FoPropertyMarginLeftClass *klass); static void fo_property_margin_left_finalize (GObject *object); static FoDatatype* fo_property_margin_left_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "margin-left"; static gpointer parent_class; /** * fo_property_margin_left_get_type: * * Register the #FoPropertyMarginLeft type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyMarginLeft. **/ GType fo_property_margin_left_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyMarginLeftClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_margin_left_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyMarginLeft), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_margin_left_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_margin_left_init: * @margin_left: #FoPropertyMarginLeft object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyMarginLeft. **/ void fo_property_margin_left_init (FoPropertyMarginLeft *margin_left) { FO_PROPERTY (margin_left)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_margin_left_class_init: * @klass: #FoPropertyMarginLeftClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyMarginLeftClass. **/ void fo_property_margin_left_class_init (FoPropertyMarginLeftClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_margin_left_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_margin_left_validate; property_class->get_initial = fo_property_margin_left_get_initial; } /** * fo_property_margin_left_finalize: * @object: #FoPropertyMarginLeft object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyMarginLeft. **/ void fo_property_margin_left_finalize (GObject *object) { FoPropertyMarginLeft *margin_left; margin_left = FO_PROPERTY_MARGIN_LEFT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_margin_left_new: * * Creates a new #FoPropertyMarginLeft initialized to default value. * * Return value: the new #FoPropertyMarginLeft. **/ FoProperty* fo_property_margin_left_new (void) { FoProperty* margin_left; margin_left = FO_PROPERTY (g_object_new (fo_property_margin_left_get_type (), NULL)); return margin_left; } /** * fo_property_margin_left_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_margin_left_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_margin_left_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_margin_left_get_initial (void) { static FoProperty *margin_left = NULL; if (margin_left == NULL) { margin_left = fo_property_margin_left_new (); } return margin_left; } xmlroff-0.6.2/libfo/property/fo-property-margin-left.h0000644000175000017500000000312110770023365017736 00000000000000/* Fo * fo-property-margin-left.h: 'margin-left' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_MARGIN_LEFT_H__ #define __FO_PROPERTY_MARGIN_LEFT_H__ #include #include G_BEGIN_DECLS /* margin-left */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: 0pt */ #define FO_TYPE_PROPERTY_MARGIN_LEFT (fo_property_margin_left_get_type ()) #define FO_PROPERTY_MARGIN_LEFT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_MARGIN_LEFT, FoPropertyMarginLeft)) #define FO_PROPERTY_MARGIN_LEFT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_MARGIN_LEFT, FoPropertyMarginLeftClass)) #define FO_IS_PROPERTY_MARGIN_LEFT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_MARGIN_LEFT)) #define FO_IS_PROPERTY_MARGIN_LEFT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_MARGIN_LEFT)) #define FO_PROPERTY_MARGIN_LEFT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_MARGIN_LEFT, FoPropertyMarginLeftClass)) typedef struct _FoPropertyMarginLeft FoPropertyMarginLeft; typedef struct _FoPropertyMarginLeftClass FoPropertyMarginLeftClass; GType fo_property_margin_left_get_type (void) G_GNUC_CONST; FoProperty* fo_property_margin_left_new (void); FoProperty* fo_property_margin_left_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_MARGIN_LEFT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-margin-right.c0000644000175000017500000001543210660107746020130 00000000000000/* Fo * fo-property-margin-right.c: 'margin-right' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-margin-right.h" #include "property/fo-property-util.h" /* margin-right */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: 0pt */ struct _FoPropertyMarginRight { FoProperty parent_instance; }; struct _FoPropertyMarginRightClass { FoPropertyClass parent_class; }; static void fo_property_margin_right_init (FoPropertyMarginRight *property_margin_right); static void fo_property_margin_right_class_init (FoPropertyMarginRightClass *klass); static void fo_property_margin_right_finalize (GObject *object); static FoDatatype* fo_property_margin_right_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "margin-right"; static gpointer parent_class; /** * fo_property_margin_right_get_type: * * Register the #FoPropertyMarginRight type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyMarginRight. **/ GType fo_property_margin_right_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyMarginRightClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_margin_right_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyMarginRight), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_margin_right_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_margin_right_init: * @margin_right: #FoPropertyMarginRight object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyMarginRight. **/ void fo_property_margin_right_init (FoPropertyMarginRight *margin_right) { FO_PROPERTY (margin_right)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_margin_right_class_init: * @klass: #FoPropertyMarginRightClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyMarginRightClass. **/ void fo_property_margin_right_class_init (FoPropertyMarginRightClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_margin_right_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_margin_right_validate; property_class->get_initial = fo_property_margin_right_get_initial; } /** * fo_property_margin_right_finalize: * @object: #FoPropertyMarginRight object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyMarginRight. **/ void fo_property_margin_right_finalize (GObject *object) { FoPropertyMarginRight *margin_right; margin_right = FO_PROPERTY_MARGIN_RIGHT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_margin_right_new: * * Creates a new #FoPropertyMarginRight initialized to default value. * * Return value: the new #FoPropertyMarginRight. **/ FoProperty* fo_property_margin_right_new (void) { FoProperty* margin_right; margin_right = FO_PROPERTY (g_object_new (fo_property_margin_right_get_type (), NULL)); return margin_right; } /** * fo_property_margin_right_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_margin_right_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_margin_right_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_margin_right_get_initial (void) { static FoProperty *margin_right = NULL; if (margin_right == NULL) { margin_right = fo_property_margin_right_new (); } return margin_right; } xmlroff-0.6.2/libfo/property/fo-property-margin-right.h0000644000175000017500000000315510770023365020130 00000000000000/* Fo * fo-property-margin-right.h: 'margin-right' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_MARGIN_RIGHT_H__ #define __FO_PROPERTY_MARGIN_RIGHT_H__ #include #include G_BEGIN_DECLS /* margin-right */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: 0pt */ #define FO_TYPE_PROPERTY_MARGIN_RIGHT (fo_property_margin_right_get_type ()) #define FO_PROPERTY_MARGIN_RIGHT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_MARGIN_RIGHT, FoPropertyMarginRight)) #define FO_PROPERTY_MARGIN_RIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_MARGIN_RIGHT, FoPropertyMarginRightClass)) #define FO_IS_PROPERTY_MARGIN_RIGHT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_MARGIN_RIGHT)) #define FO_IS_PROPERTY_MARGIN_RIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_MARGIN_RIGHT)) #define FO_PROPERTY_MARGIN_RIGHT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_MARGIN_RIGHT, FoPropertyMarginRightClass)) typedef struct _FoPropertyMarginRight FoPropertyMarginRight; typedef struct _FoPropertyMarginRightClass FoPropertyMarginRightClass; GType fo_property_margin_right_get_type (void) G_GNUC_CONST; FoProperty* fo_property_margin_right_new (void); FoProperty* fo_property_margin_right_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_MARGIN_RIGHT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-margin-top.c0000644000175000017500000001522410660107747017615 00000000000000/* Fo * fo-property-margin-top.c: 'margin-top' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-margin-top.h" #include "property/fo-property-util.h" /* margin-top */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: 0pt */ struct _FoPropertyMarginTop { FoProperty parent_instance; }; struct _FoPropertyMarginTopClass { FoPropertyClass parent_class; }; static void fo_property_margin_top_init (FoPropertyMarginTop *property_margin_top); static void fo_property_margin_top_class_init (FoPropertyMarginTopClass *klass); static void fo_property_margin_top_finalize (GObject *object); static FoDatatype* fo_property_margin_top_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "margin-top"; static gpointer parent_class; /** * fo_property_margin_top_get_type: * * Register the #FoPropertyMarginTop type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyMarginTop. **/ GType fo_property_margin_top_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyMarginTopClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_margin_top_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyMarginTop), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_margin_top_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_margin_top_init: * @margin_top: #FoPropertyMarginTop object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyMarginTop. **/ void fo_property_margin_top_init (FoPropertyMarginTop *margin_top) { FO_PROPERTY (margin_top)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_margin_top_class_init: * @klass: #FoPropertyMarginTopClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyMarginTopClass. **/ void fo_property_margin_top_class_init (FoPropertyMarginTopClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_margin_top_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_margin_top_validate; property_class->get_initial = fo_property_margin_top_get_initial; } /** * fo_property_margin_top_finalize: * @object: #FoPropertyMarginTop object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyMarginTop. **/ void fo_property_margin_top_finalize (GObject *object) { FoPropertyMarginTop *margin_top; margin_top = FO_PROPERTY_MARGIN_TOP (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_margin_top_new: * * Creates a new #FoPropertyMarginTop initialized to default value. * * Return value: the new #FoPropertyMarginTop. **/ FoProperty* fo_property_margin_top_new (void) { FoProperty* margin_top; margin_top = FO_PROPERTY (g_object_new (fo_property_margin_top_get_type (), NULL)); return margin_top; } /** * fo_property_margin_top_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_margin_top_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_margin_top_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_margin_top_get_initial (void) { static FoProperty *margin_top = NULL; if (margin_top == NULL) { margin_top = fo_property_margin_top_new (); } return margin_top; } xmlroff-0.6.2/libfo/property/fo-property-margin-top.h0000644000175000017500000000306510770023365017615 00000000000000/* Fo * fo-property-margin-top.h: 'margin-top' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_MARGIN_TOP_H__ #define __FO_PROPERTY_MARGIN_TOP_H__ #include #include G_BEGIN_DECLS /* margin-top */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: 0pt */ #define FO_TYPE_PROPERTY_MARGIN_TOP (fo_property_margin_top_get_type ()) #define FO_PROPERTY_MARGIN_TOP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_MARGIN_TOP, FoPropertyMarginTop)) #define FO_PROPERTY_MARGIN_TOP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_MARGIN_TOP, FoPropertyMarginTopClass)) #define FO_IS_PROPERTY_MARGIN_TOP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_MARGIN_TOP)) #define FO_IS_PROPERTY_MARGIN_TOP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_MARGIN_TOP)) #define FO_PROPERTY_MARGIN_TOP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_MARGIN_TOP, FoPropertyMarginTopClass)) typedef struct _FoPropertyMarginTop FoPropertyMarginTop; typedef struct _FoPropertyMarginTopClass FoPropertyMarginTopClass; GType fo_property_margin_top_get_type (void) G_GNUC_CONST; FoProperty* fo_property_margin_top_new (void); FoProperty* fo_property_margin_top_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_MARGIN_TOP_H__ */ xmlroff-0.6.2/libfo/property/fo-property-margin.c0000644000175000017500000001417310660107747017017 00000000000000/* Fo * fo-property-margin.c: 'margin' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-margin.h" #include "property/fo-property-util.h" /* margin */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* {1,4} | inherit */ /* Initial value: not defined for shorthand properties */ struct _FoPropertyMargin { FoProperty parent_instance; }; struct _FoPropertyMarginClass { FoPropertyClass parent_class; }; static void fo_property_margin_init (FoPropertyMargin *property_margin); static void fo_property_margin_class_init (FoPropertyMarginClass *klass); static void fo_property_margin_finalize (GObject *object); static FoDatatype* fo_property_margin_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "margin"; static gpointer parent_class; /** * fo_property_margin_get_type: * * Register the #FoPropertyMargin type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyMargin. **/ GType fo_property_margin_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyMarginClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_margin_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyMargin), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_margin_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_margin_init: * @margin: #FoPropertyMargin object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyMargin. **/ void fo_property_margin_init (FoPropertyMargin *margin) { FO_PROPERTY (margin)->value = NULL; } /** * fo_property_margin_class_init: * @klass: #FoPropertyMarginClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyMarginClass. **/ void fo_property_margin_class_init (FoPropertyMarginClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_margin_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_auto_enum; property_class->validate = fo_property_margin_validate; property_class->get_initial = fo_property_margin_get_initial; } /** * fo_property_margin_finalize: * @object: #FoPropertyMargin object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyMargin. **/ void fo_property_margin_finalize (GObject *object) { FoPropertyMargin *margin; margin = FO_PROPERTY_MARGIN (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_margin_new: * * Creates a new #FoPropertyMargin initialized to default value. * * Return value: the new #FoPropertyMargin. **/ FoProperty* fo_property_margin_new (void) { FoProperty* margin; margin = FO_PROPERTY (g_object_new (fo_property_margin_get_type (), NULL)); return margin; } /** * fo_property_margin_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_margin_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, error); g_object_unref (datatype); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_enum (token, context, error); g_object_unref (datatype); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_margin_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_margin_get_initial (void) { static FoProperty *margin = NULL; if (margin == NULL) { margin = fo_property_margin_new (); } return margin; } xmlroff-0.6.2/libfo/property/fo-property-margin.h0000644000175000017500000000276410770023365017022 00000000000000/* Fo * fo-property-margin.h: 'margin' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_MARGIN_H__ #define __FO_PROPERTY_MARGIN_H__ #include #include G_BEGIN_DECLS /* margin */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* {1,4} | inherit */ /* Initial value: not defined for shorthand properties */ #define FO_TYPE_PROPERTY_MARGIN (fo_property_margin_get_type ()) #define FO_PROPERTY_MARGIN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_MARGIN, FoPropertyMargin)) #define FO_PROPERTY_MARGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_MARGIN, FoPropertyMarginClass)) #define FO_IS_PROPERTY_MARGIN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_MARGIN)) #define FO_IS_PROPERTY_MARGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_MARGIN)) #define FO_PROPERTY_MARGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_MARGIN, FoPropertyMarginClass)) typedef struct _FoPropertyMargin FoPropertyMargin; typedef struct _FoPropertyMarginClass FoPropertyMarginClass; GType fo_property_margin_get_type (void) G_GNUC_CONST; FoProperty * fo_property_margin_new (void); FoProperty * fo_property_margin_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_MARGIN_H__ */ xmlroff-0.6.2/libfo/property/fo-property-master-name.c0000644000175000017500000001627610660107746017760 00000000000000/* Fo * fo-property-master-name.c: 'master-name' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-master-name.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* master-name */ /* */ /* NO ENUMERATED VALUE */ struct _FoPropertyMasterName { FoProperty parent_instance; }; struct _FoPropertyMasterNameClass { FoPropertyClass parent_class; }; static void fo_property_master_name_init (FoPropertyMasterName *property_master_name); static void fo_property_master_name_class_init (FoPropertyMasterNameClass *klass); static void fo_property_master_name_finalize (GObject *object); static FoDatatype* fo_property_master_name_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_master_name_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "master-name"; static gpointer parent_class; /** * fo_property_master_name_get_type: * * Register the #FoPropertyMasterName type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyMasterName. **/ GType fo_property_master_name_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyMasterNameClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_master_name_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyMasterName), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_master_name_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_master_name_init: * @master_name: #FoPropertyMasterName object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyMasterName. **/ void fo_property_master_name_init (FoPropertyMasterName *master_name) { FO_PROPERTY (master_name)->value = g_object_ref (fo_name_get_name_empty ()); } /** * fo_property_master_name_class_init: * @klass: #FoPropertyMasterNameClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyMasterNameClass. **/ void fo_property_master_name_class_init (FoPropertyMasterNameClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_master_name_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_master_name_resolve_enum; property_class->validate = fo_property_master_name_validate; property_class->get_initial = fo_property_master_name_get_initial; } /** * fo_property_master_name_finalize: * @object: #FoPropertyMasterName object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyMasterName. **/ void fo_property_master_name_finalize (GObject *object) { FoPropertyMasterName *master_name; master_name = FO_PROPERTY_MASTER_NAME (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_master_name_new: * * Creates a new #FoPropertyMasterName initialized to default value. * * Return value: the new #FoPropertyMasterName. **/ FoProperty* fo_property_master_name_new (void) { FoProperty* master_name; master_name = FO_PROPERTY (g_object_new (fo_property_master_name_get_type (), NULL)); return master_name; } /** * fo_property_master_name_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_master_name_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_master_name_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_master_name_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NAME (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_master_name_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_master_name_get_initial (void) { static FoProperty *master_name = NULL; if (master_name == NULL) { master_name = fo_property_master_name_new (); } return master_name; } xmlroff-0.6.2/libfo/property/fo-property-master-name.h0000644000175000017500000000306510770023365017751 00000000000000/* Fo * fo-property-master-name.h: 'master-name' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_MASTER_NAME_H__ #define __FO_PROPERTY_MASTER_NAME_H__ #include #include G_BEGIN_DECLS /* master-name */ /* */ /* Initial value: an empty name */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_MASTER_NAME (fo_property_master_name_get_type ()) #define FO_PROPERTY_MASTER_NAME(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_MASTER_NAME, FoPropertyMasterName)) #define FO_PROPERTY_MASTER_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_MASTER_NAME, FoPropertyMasterNameClass)) #define FO_IS_PROPERTY_MASTER_NAME(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_MASTER_NAME)) #define FO_IS_PROPERTY_MASTER_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_MASTER_NAME)) #define FO_PROPERTY_MASTER_NAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_MASTER_NAME, FoPropertyMasterNameClass)) typedef struct _FoPropertyMasterName FoPropertyMasterName; typedef struct _FoPropertyMasterNameClass FoPropertyMasterNameClass; GType fo_property_master_name_get_type (void) G_GNUC_CONST; FoProperty* fo_property_master_name_new (void); FoProperty* fo_property_master_name_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_MASTER_NAME_H__ */ xmlroff-0.6.2/libfo/property/fo-property-master-reference.c0000644000175000017500000001702110660107746020763 00000000000000/* Fo * fo-property-master-reference.c: 'master-reference' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-master-reference.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* master-reference */ /* */ /* NO ENUMERATED VALUE */ struct _FoPropertyMasterReference { FoProperty parent_instance; }; struct _FoPropertyMasterReferenceClass { FoPropertyClass parent_class; }; static void fo_property_master_reference_init (FoPropertyMasterReference *property_master_reference); static void fo_property_master_reference_class_init (FoPropertyMasterReferenceClass *klass); static void fo_property_master_reference_finalize (GObject *object); static FoDatatype* fo_property_master_reference_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_master_reference_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "master-reference"; static gpointer parent_class; /** * fo_property_master_reference_get_type: * * Register the #FoPropertyMasterReference type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyMasterReference. **/ GType fo_property_master_reference_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyMasterReferenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_master_reference_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyMasterReference), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_master_reference_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_master_reference_init: * @master_reference: #FoPropertyMasterReference object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyMasterReference. **/ void fo_property_master_reference_init (FoPropertyMasterReference *master_reference) { FO_PROPERTY (master_reference)->value = NULL; } /** * fo_property_master_reference_class_init: * @klass: #FoPropertyMasterReferenceClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyMasterReferenceClass. **/ void fo_property_master_reference_class_init (FoPropertyMasterReferenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_master_reference_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_master_reference_resolve_enum; property_class->validate = fo_property_master_reference_validate; property_class->get_initial = fo_property_master_reference_get_initial; } /** * fo_property_master_reference_finalize: * @object: #FoPropertyMasterReference object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyMasterReference. **/ void fo_property_master_reference_finalize (GObject *object) { FoPropertyMasterReference *master_reference; master_reference = FO_PROPERTY_MASTER_REFERENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_master_reference_new: * * Creates a new #FoPropertyMasterReference initialized to default value. * * Return value: the new #FoPropertyMasterReference. **/ FoProperty* fo_property_master_reference_new (void) { FoProperty* master_reference; master_reference = FO_PROPERTY (g_object_new (fo_property_master_reference_get_type (), NULL)); return master_reference; } /** * fo_property_master_reference_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_master_reference_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_master_reference_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_master_reference_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NAME (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_master_reference_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_master_reference_get_initial (void) { static FoProperty *master_reference = NULL; if (master_reference == NULL) { master_reference = fo_property_master_reference_new (); } return master_reference; } xmlroff-0.6.2/libfo/property/fo-property-master-reference.h0000644000175000017500000000330110770023365020760 00000000000000/* Fo * fo-property-master-reference.h: 'master-reference' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_MASTER_REFERENCE_H__ #define __FO_PROPERTY_MASTER_REFERENCE_H__ #include #include G_BEGIN_DECLS /* master-reference */ /* */ /* Initial value: an empty name */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_MASTER_REFERENCE (fo_property_master_reference_get_type ()) #define FO_PROPERTY_MASTER_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_MASTER_REFERENCE, FoPropertyMasterReference)) #define FO_PROPERTY_MASTER_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_MASTER_REFERENCE, FoPropertyMasterReferenceClass)) #define FO_IS_PROPERTY_MASTER_REFERENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_MASTER_REFERENCE)) #define FO_IS_PROPERTY_MASTER_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_MASTER_REFERENCE)) #define FO_PROPERTY_MASTER_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_MASTER_REFERENCE, FoPropertyMasterReferenceClass)) typedef struct _FoPropertyMasterReference FoPropertyMasterReference; typedef struct _FoPropertyMasterReferenceClass FoPropertyMasterReferenceClass; GType fo_property_master_reference_get_type (void) G_GNUC_CONST; FoProperty* fo_property_master_reference_new (void); FoProperty* fo_property_master_reference_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_MASTER_REFERENCE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-media-usage.c0000644000175000017500000002213211062227450017704 00000000000000/* Fo * fo-property-media-usage.c: 'media-usage' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "libfo/fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-media-usage.h" /** * SECTION:fo-property-media-usage * @short_description: 'media-usage' property * * Inherited: FALSE * * Shorthand: FALSE * * Value: auto | paginate | bounded-in-one-dimension | unbounded * * Initial value: auto * * Definition: http://www.w3.org/TR/xsl11/#media-usage */ struct _FoPropertyMediaUsage { FoProperty parent_instance; }; struct _FoPropertyMediaUsageClass { FoPropertyClass parent_class; }; static void fo_property_media_usage_init (FoPropertyMediaUsage *property_media_usage); static void fo_property_media_usage_class_init (FoPropertyMediaUsageClass *klass); static void fo_property_media_usage_finalize (GObject *object); static FoDatatype * fo_property_media_usage_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_media_usage_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "media-usage"; static gpointer parent_class; /** * fo_property_media_usage_get_type: * * Register the #FoPropertyMediaUsage type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyMediaUsage. **/ GType fo_property_media_usage_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyMediaUsageClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_media_usage_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyMediaUsage), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_media_usage_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_media_usage_init: * @media_usage: #FoPropertyMediaUsage object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyMediaUsage. **/ void fo_property_media_usage_init (FoPropertyMediaUsage *media_usage) { FO_PROPERTY (media_usage)->value = g_object_ref (fo_enum_get_enum_by_nick ("auto")); } /** * fo_property_media_usage_class_init: * @klass: #FoPropertyMediaUsageClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyMediaUsageClass. **/ void fo_property_media_usage_class_init (FoPropertyMediaUsageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_media_usage_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_media_usage_resolve_enum; property_class->validate = fo_property_media_usage_validate; property_class->get_initial = fo_property_media_usage_get_initial; } /** * fo_property_media_usage_finalize: * @object: #FoPropertyMediaUsage object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyMediaUsage. **/ void fo_property_media_usage_finalize (GObject *object) { FoPropertyMediaUsage *media_usage; media_usage = FO_PROPERTY_MEDIA_USAGE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_media_usage_new: * * Creates a new #FoPropertyMediaUsage initialized to default value. * * Return value: the new #FoPropertyMediaUsage. **/ FoProperty* fo_property_media_usage_new (void) { FoProperty* media_usage; media_usage = FO_PROPERTY (g_object_new (fo_property_media_usage_get_type (), NULL)); return media_usage; } /** * fo_property_media_usage_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_media_usage_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "paginate") == 0) || (strcmp (token, "bounded-in-one-dimension") == 0) || (strcmp (token, "unbounded") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_media_usage_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_media_usage_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO) || (value == FO_ENUM_ENUM_PAGINATE) || (value == FO_ENUM_ENUM_BOUNDED_IN_ONE_DIMENSION) || (value == FO_ENUM_ENUM_UNBOUNDED)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_media_usage_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_media_usage_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_media_usage_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_media_usage_get_initial (void) { static FoProperty *media_usage = NULL; if (media_usage == NULL) { media_usage = fo_property_media_usage_new (); } return media_usage; } xmlroff-0.6.2/libfo/property/fo-property-media-usage.h0000644000175000017500000000344610771436763017737 00000000000000/* Fo * fo-property-media-usage.h: 'media-usage' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_MEDIA_USAGE_H__ #define __FO_PROPERTY_MEDIA_USAGE_H__ #include #include G_BEGIN_DECLS /* media-usage */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | paginate | bounded-in-one-dimension | unbounded */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_MEDIA_USAGE (fo_property_media_usage_get_type ()) #define FO_PROPERTY_MEDIA_USAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_MEDIA_USAGE, FoPropertyMediaUsage)) #define FO_PROPERTY_MEDIA_USAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_MEDIA_USAGE, FoPropertyMediaUsageClass)) #define FO_IS_PROPERTY_MEDIA_USAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_MEDIA_USAGE)) #define FO_IS_PROPERTY_MEDIA_USAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_MEDIA_USAGE)) #define FO_PROPERTY_MEDIA_USAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_MEDIA_USAGE, FoPropertyMediaUsageClass)) /** * FoPropertyMediaUsage: * * Instance of the 'media-usage' property. **/ typedef struct _FoPropertyMediaUsage FoPropertyMediaUsage; /** * FoPropertyMediaUsageClass: * * Class structure for the 'media-usage' property. **/ typedef struct _FoPropertyMediaUsageClass FoPropertyMediaUsageClass; GType fo_property_media_usage_get_type (void) G_GNUC_CONST; FoProperty * fo_property_media_usage_new (void); FoProperty * fo_property_media_usage_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_MEDIA_USAGE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-number-columns-repeated.c0000644000175000017500000002050510660107747022273 00000000000000/* Fo * fo-property-number-columns-repeated.c: 'number-columns-repeated' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-number-columns-repeated.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* number-columns-repeated */ /* */ /* NO ENUMERATED VALUE */ struct _FoPropertyNumberColumnsRepeated { FoProperty parent_instance; }; struct _FoPropertyNumberColumnsRepeatedClass { FoPropertyClass parent_class; }; static void fo_property_number_columns_repeated_init (FoPropertyNumberColumnsRepeated *property_number_columns_repeated); static void fo_property_number_columns_repeated_class_init (FoPropertyNumberColumnsRepeatedClass *klass); static void fo_property_number_columns_repeated_finalize (GObject *object); static FoDatatype* fo_property_number_columns_repeated_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_number_columns_repeated_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "number-columns-repeated"; static gpointer parent_class; /** * fo_property_number_columns_repeated_get_type: * * Register the #FoPropertyNumberColumnsRepeated type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyNumberColumnsRepeated. **/ GType fo_property_number_columns_repeated_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyNumberColumnsRepeatedClass), NULL, /* base_class_finalize */ NULL, /* base_class_finalize */ (GClassInitFunc) fo_property_number_columns_repeated_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyNumberColumnsRepeated), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_number_columns_repeated_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_number_columns_repeated_init: * @number_columns_repeated: #FoPropertyNumberColumnsRepeated object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyNumberColumnsRepeated. **/ void fo_property_number_columns_repeated_init (FoPropertyNumberColumnsRepeated *number_columns_repeated) { FO_PROPERTY (number_columns_repeated)->value = g_object_ref (fo_integer_get_integer_one ()); } /** * fo_property_number_columns_repeated_class_init: * @klass: #FoPropertyNumberColumnsRepeatedClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyNumberColumnsRepeatedClass. **/ void fo_property_number_columns_repeated_class_init (FoPropertyNumberColumnsRepeatedClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_number_columns_repeated_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_number_columns_repeated_resolve_enum; property_class->validate = fo_property_number_columns_repeated_validate; property_class->get_initial = fo_property_number_columns_repeated_get_initial; } /** * fo_property_number_columns_repeated_finalize: * @object: #FoPropertyNumberColumnsRepeated object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyNumberColumnsRepeated. **/ void fo_property_number_columns_repeated_finalize (GObject *object) { FoPropertyNumberColumnsRepeated *number_columns_repeated; number_columns_repeated = FO_PROPERTY_NUMBER_COLUMNS_REPEATED (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_number_columns_repeated_new: * * Creates a new #FoPropertyNumberColumnsRepeated initialized to default value. * * Return value: the new #FoPropertyNumberColumnsRepeated. **/ FoProperty* fo_property_number_columns_repeated_new (void) { FoProperty* number_columns_repeated; number_columns_repeated = FO_PROPERTY (g_object_new (fo_property_number_columns_repeated_get_type (), NULL)); return number_columns_repeated; } /** * fo_property_number_columns_repeated_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_number_columns_repeated_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_number_columns_repeated_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_number_columns_repeated_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NUMBER (datatype)) { gfloat number_value = fo_number_get_value (datatype); gint integer_value = number_value + 0.5; g_object_unref (datatype); new_datatype = fo_integer_new_with_value (MAX (integer_value, 1)); return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, fo_object_sprintf (datatype), g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); return NULL; } } /** * fo_property_number_columns_repeated_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_number_columns_repeated_get_initial (void) { static FoProperty *number_columns_repeated = NULL; if (number_columns_repeated == NULL) { number_columns_repeated = fo_property_number_columns_repeated_new (); } return number_columns_repeated; } xmlroff-0.6.2/libfo/property/fo-property-number-columns-repeated.h0000644000175000017500000000354010643167450022276 00000000000000/* Fo * fo-property-number-columns-repeated.h: 'number-columns-repeated' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_NUMBER_COLUMNS_REPEATED_H__ #define __FO_PROPERTY_NUMBER_COLUMNS_REPEATED_H__ #include #include "fo-property.h" G_BEGIN_DECLS /* number-columns-repeated */ /* */ /* Initial value: 1 */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_NUMBER_COLUMNS_REPEATED (fo_property_number_columns_repeated_get_type ()) #define FO_PROPERTY_NUMBER_COLUMNS_REPEATED(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_NUMBER_COLUMNS_REPEATED, FoPropertyNumberColumnsRepeated)) #define FO_PROPERTY_NUMBER_COLUMNS_REPEATED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_NUMBER_COLUMNS_REPEATED, FoPropertyNumberColumnsRepeatedClass)) #define FO_IS_PROPERTY_NUMBER_COLUMNS_REPEATED(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_NUMBER_COLUMNS_REPEATED)) #define FO_IS_PROPERTY_NUMBER_COLUMNS_REPEATED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_NUMBER_COLUMNS_REPEATED)) #define FO_PROPERTY_NUMBER_COLUMNS_REPEATED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_NUMBER_COLUMNS_REPEATED, FoPropertyNumberColumnsRepeatedClass)) typedef struct _FoPropertyNumberColumnsRepeated FoPropertyNumberColumnsRepeated; typedef struct _FoPropertyNumberColumnsRepeatedClass FoPropertyNumberColumnsRepeatedClass; GType fo_property_number_columns_repeated_get_type (void) G_GNUC_CONST; FoProperty* fo_property_number_columns_repeated_new (void); FoProperty* fo_property_number_columns_repeated_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_NUMBER_COLUMNS_REPEATED_H__ */ xmlroff-0.6.2/libfo/property/fo-property-number-columns-spanned.c0000644000175000017500000001500310660107747022127 00000000000000/* Fo * fo-property-number-columns-spanned.c: number-columns-spanned property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-number-columns-spanned.h" #include "property/fo-property-util.h" /* number-columns-spanned */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: 1 */ struct _FoPropertyNumberColumnsSpanned { FoProperty parent_instance; }; struct _FoPropertyNumberColumnsSpannedClass { FoPropertyClass parent_class; }; static void fo_property_number_columns_spanned_init (FoPropertyNumberColumnsSpanned *property_number_columns_spanned); static void fo_property_number_columns_spanned_class_init (FoPropertyNumberColumnsSpannedClass *klass); static void fo_property_number_columns_spanned_finalize (GObject *object); static FoDatatype* fo_property_number_columns_spanned_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "number-columns-spanned"; static gpointer parent_class; /** * fo_property_number_columns_spanned_get_type: * * Register the #FoPropertyNumberColumnsSpanned type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyNumberColumnsSpanned. **/ GType fo_property_number_columns_spanned_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyNumberColumnsSpannedClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_number_columns_spanned_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyNumberColumnsSpanned), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_number_columns_spanned_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_number_columns_spanned_init: * @number_columns_spanned: #FoPropertyNumberColumnsSpanned object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyNumberColumnsSpanned. **/ void fo_property_number_columns_spanned_init (FoPropertyNumberColumnsSpanned *number_columns_spanned) { FO_PROPERTY (number_columns_spanned)->value = g_object_ref (fo_integer_get_integer_one ()); } /** * fo_property_number_columns_spanned_class_init: * @klass: #FoPropertyNumberColumnsSpannedClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyNumberColumnsSpannedClass. **/ void fo_property_number_columns_spanned_class_init (FoPropertyNumberColumnsSpannedClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_number_columns_spanned_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_number_columns_spanned_validate; property_class->get_initial = fo_property_number_columns_spanned_get_initial; } /** * fo_property_number_columns_spanned_finalize: * @object: #FoPropertyNumberColumnsSpanned object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyNumberColumnsSpanned. **/ void fo_property_number_columns_spanned_finalize (GObject *object) { FoPropertyNumberColumnsSpanned *number_columns_spanned; number_columns_spanned = FO_PROPERTY_NUMBER_COLUMNS_SPANNED (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_number_columns_spanned_new: * * Creates a new #FoPropertyNumberColumnsSpanned initialized to default value. * * Return value: the new #FoPropertyNumberColumnsSpanned. **/ FoProperty* fo_property_number_columns_spanned_new (void) { FoProperty* number_columns_spanned; number_columns_spanned = FO_PROPERTY (g_object_new (fo_property_number_columns_spanned_get_type (), NULL)); return number_columns_spanned; } /** * fo_property_number_columns_spanned_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_number_columns_spanned_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NUMBER (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_number_columns_spanned_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_number_columns_spanned_get_initial (void) { static FoProperty *number_columns_spanned = NULL; if (number_columns_spanned == NULL) { number_columns_spanned = fo_property_number_columns_spanned_new (); } return number_columns_spanned; } xmlroff-0.6.2/libfo/property/fo-property-number-columns-spanned.h0000644000175000017500000000355710770023365022142 00000000000000/* Fo * fo-property-number-columns-spanned.h: 'number-columns-spanned' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_NUMBER_COLUMNS_SPANNED_H__ #define __FO_PROPERTY_NUMBER_COLUMNS_SPANNED_H__ #include #include G_BEGIN_DECLS /* number-columns-spanned */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: 1 */ #define FO_TYPE_PROPERTY_NUMBER_COLUMNS_SPANNED (fo_property_number_columns_spanned_get_type ()) #define FO_PROPERTY_NUMBER_COLUMNS_SPANNED(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_NUMBER_COLUMNS_SPANNED, FoPropertyNumberColumnsSpanned)) #define FO_PROPERTY_NUMBER_COLUMNS_SPANNED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_NUMBER_COLUMNS_SPANNED, FoPropertyNumberColumnsSpannedClass)) #define FO_IS_PROPERTY_NUMBER_COLUMNS_SPANNED(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_NUMBER_COLUMNS_SPANNED)) #define FO_IS_PROPERTY_NUMBER_COLUMNS_SPANNED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_NUMBER_COLUMNS_SPANNED)) #define FO_PROPERTY_NUMBER_COLUMNS_SPANNED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_NUMBER_COLUMNS_SPANNED, FoPropertyNumberColumnsSpannedClass)) typedef struct _FoPropertyNumberColumnsSpanned FoPropertyNumberColumnsSpanned; typedef struct _FoPropertyNumberColumnsSpannedClass FoPropertyNumberColumnsSpannedClass; GType fo_property_number_columns_spanned_get_type (void) G_GNUC_CONST; FoProperty * fo_property_number_columns_spanned_new (void); FoProperty * fo_property_number_columns_spanned_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_NUMBER_COLUMNS_SPANNED_H__ */ xmlroff-0.6.2/libfo/property/fo-property-number-rows-spanned.c0000644000175000017500000001522210660107746021443 00000000000000/* Fo * fo-property-number-rows-spanned.c: 'number-rows-spanned' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-number-rows-spanned.h" #include "property/fo-property-util.h" /* number-rows-spanned */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: 1 */ struct _FoPropertyNumberRowsSpanned { FoProperty parent_instance; }; struct _FoPropertyNumberRowsSpannedClass { FoPropertyClass parent_class; }; static void fo_property_number_rows_spanned_init (FoPropertyNumberRowsSpanned *property_number_rows_spanned); static void fo_property_number_rows_spanned_class_init (FoPropertyNumberRowsSpannedClass *klass); static void fo_property_number_rows_spanned_finalize (GObject *object); static FoDatatype* fo_property_number_rows_spanned_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "number-rows-spanned"; static gpointer parent_class; /** * fo_property_number_rows_spanned_get_type: * * Register the #FoPropertyNumberRowsSpanned type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyNumberRowsSpanned. **/ GType fo_property_number_rows_spanned_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyNumberRowsSpannedClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_number_rows_spanned_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyNumberRowsSpanned), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_number_rows_spanned_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_number_rows_spanned_init: * @number_rows_spanned: #FoPropertyNumberRowsSpanned object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyNumberRowsSpanned. **/ void fo_property_number_rows_spanned_init (FoPropertyNumberRowsSpanned *number_rows_spanned) { FO_PROPERTY (number_rows_spanned)->value = g_object_ref (fo_integer_get_integer_one ()); } /** * fo_property_number_rows_spanned_class_init: * @klass: #FoPropertyNumberRowsSpannedClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyNumberRowsSpannedClass. **/ void fo_property_number_rows_spanned_class_init (FoPropertyNumberRowsSpannedClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_number_rows_spanned_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_number_rows_spanned_validate; property_class->get_initial = fo_property_number_rows_spanned_get_initial; } /** * fo_property_number_rows_spanned_finalize: * @object: #FoPropertyNumberRowsSpanned object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyNumberRowsSpanned. **/ void fo_property_number_rows_spanned_finalize (GObject *object) { FoPropertyNumberRowsSpanned *number_rows_spanned; number_rows_spanned = FO_PROPERTY_NUMBER_ROWS_SPANNED (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_number_rows_spanned_new: * * Creates a new #FoPropertyNumberRowsSpanned initialized to default value. * * Return value: the new #FoPropertyNumberRowsSpanned. **/ FoProperty* fo_property_number_rows_spanned_new (void) { FoProperty* number_rows_spanned; number_rows_spanned = FO_PROPERTY (g_object_new (fo_property_number_rows_spanned_get_type (), NULL)); return number_rows_spanned; } /** * fo_property_number_rows_spanned_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_number_rows_spanned_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NUMBER (datatype)) { FoDatatype *new_datatype; gfloat number_value = fo_number_get_value (datatype); gint integer_value = number_value + 0.5; g_object_unref (datatype); new_datatype = fo_integer_new_with_value (MAX (integer_value, 1)); return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_number_rows_spanned_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_number_rows_spanned_get_initial (void) { static FoProperty *number_rows_spanned = NULL; if (number_rows_spanned == NULL) { number_rows_spanned = fo_property_number_rows_spanned_new (); } return number_rows_spanned; } xmlroff-0.6.2/libfo/property/fo-property-number-rows-spanned.h0000644000175000017500000000343010770023365021442 00000000000000/* Fo * fo-property-number-rows-spanned.h: 'number-rows-spanned' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_NUMBER_ROWS_SPANNED_H__ #define __FO_PROPERTY_NUMBER_ROWS_SPANNED_H__ #include #include G_BEGIN_DECLS /* number-rows-spanned */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: 1 */ #define FO_TYPE_PROPERTY_NUMBER_ROWS_SPANNED (fo_property_number_rows_spanned_get_type ()) #define FO_PROPERTY_NUMBER_ROWS_SPANNED(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_NUMBER_ROWS_SPANNED, FoPropertyNumberRowsSpanned)) #define FO_PROPERTY_NUMBER_ROWS_SPANNED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_NUMBER_ROWS_SPANNED, FoPropertyNumberRowsSpannedClass)) #define FO_IS_PROPERTY_NUMBER_ROWS_SPANNED(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_NUMBER_ROWS_SPANNED)) #define FO_IS_PROPERTY_NUMBER_ROWS_SPANNED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_NUMBER_ROWS_SPANNED)) #define FO_PROPERTY_NUMBER_ROWS_SPANNED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_NUMBER_ROWS_SPANNED, FoPropertyNumberRowsSpannedClass)) typedef struct _FoPropertyNumberRowsSpanned FoPropertyNumberRowsSpanned; typedef struct _FoPropertyNumberRowsSpannedClass FoPropertyNumberRowsSpannedClass; GType fo_property_number_rows_spanned_get_type (void) G_GNUC_CONST; FoProperty* fo_property_number_rows_spanned_new (void); FoProperty* fo_property_number_rows_spanned_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_NUMBER_ROWS_SPANNED_H__ */ xmlroff-0.6.2/libfo/property/fo-property-orphans.c0000644000175000017500000001637310660107746017217 00000000000000/* Fo * fo-property-orphans.c: 'orphans' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-orphans.h" #define FO_PROPERTY_ORPHANS_INITIAL 2 /* Inherited: TRUE */ /* Shorthand: FALSE */ /* orphans */ /* | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyOrphans { FoProperty parent_instance; }; struct _FoPropertyOrphansClass { FoPropertyClass parent_class; }; static void fo_property_orphans_init (FoPropertyOrphans *property_orphans); static void fo_property_orphans_class_init (FoPropertyOrphansClass *klass); static void fo_property_orphans_finalize (GObject *object); static FoDatatype* fo_property_orphans_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_orphans_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "orphans"; static gpointer parent_class; /** * fo_property_orphans_get_type: * * Register the #FoPropertyOrphans type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyOrphans. **/ GType fo_property_orphans_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyOrphansClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_orphans_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyOrphans), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_orphans_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_orphans_init: * @orphans: #FoPropertyOrphans object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyOrphans. **/ void fo_property_orphans_init (FoPropertyOrphans *orphans) { FO_PROPERTY (orphans)->value = g_object_ref (g_object_new (FO_TYPE_INTEGER, "value", FO_PROPERTY_ORPHANS_INITIAL, NULL)); } /** * fo_property_orphans_class_init: * @klass: #FoPropertyOrphansClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyOrphansClass. **/ void fo_property_orphans_class_init (FoPropertyOrphansClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_orphans_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_orphans_resolve_enum; property_class->validate = fo_property_orphans_validate; property_class->get_initial = fo_property_orphans_get_initial; } /** * fo_property_orphans_finalize: * @object: #FoPropertyOrphans object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyOrphans. **/ void fo_property_orphans_finalize (GObject *object) { FoPropertyOrphans *orphans; orphans = FO_PROPERTY_ORPHANS (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_orphans_new: * * Creates a new #FoPropertyOrphans initialized to default value. * * Return value: the new #FoPropertyOrphans. **/ FoProperty* fo_property_orphans_new (void) { FoProperty* orphans; orphans = FO_PROPERTY (g_object_new (fo_property_orphans_get_type (), NULL)); return orphans; } /** * fo_property_orphans_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_orphans_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_orphans_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_orphans_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_orphans_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_orphans_get_initial (void) { static FoProperty *orphans = NULL; if (orphans == NULL) { orphans = fo_property_orphans_new (); } return orphans; } xmlroff-0.6.2/libfo/property/fo-property-orphans.h0000644000175000017500000000271510770023365017213 00000000000000/* Fo * fo-property-orphans.h: 'orphans' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_ORPHANS_H__ #define __FO_PROPERTY_ORPHANS_H__ #include #include G_BEGIN_DECLS /* orphans */ /* | inherit */ /* Initial value: 2 */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_ORPHANS (fo_property_orphans_get_type ()) #define FO_PROPERTY_ORPHANS(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_ORPHANS, FoPropertyOrphans)) #define FO_PROPERTY_ORPHANS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_ORPHANS, FoPropertyOrphansClass)) #define FO_IS_PROPERTY_ORPHANS(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_ORPHANS)) #define FO_IS_PROPERTY_ORPHANS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_ORPHANS)) #define FO_PROPERTY_ORPHANS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_ORPHANS, FoPropertyOrphansClass)) typedef struct _FoPropertyOrphans FoPropertyOrphans; typedef struct _FoPropertyOrphansClass FoPropertyOrphansClass; GType fo_property_orphans_get_type (void) G_GNUC_CONST; FoProperty* fo_property_orphans_new (void); FoProperty* fo_property_orphans_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_ORPHANS_H__ */ xmlroff-0.6.2/libfo/property/fo-property-overflow.c0000644000175000017500000002135610660107747017406 00000000000000/* Fo * fo-property-overflow.c: 'overflow' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-overflow.h" /* overflow */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* visible | hidden | scroll | error-if-overflow | auto | inherit */ /* Initial value: auto */ struct _FoPropertyOverflow { FoProperty parent_instance; }; struct _FoPropertyOverflowClass { FoPropertyClass parent_class; }; static void fo_property_overflow_init (FoPropertyOverflow *property_overflow); static void fo_property_overflow_class_init (FoPropertyOverflowClass *klass); static void fo_property_overflow_finalize (GObject *object); static FoDatatype * fo_property_overflow_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_overflow_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "overflow"; static gpointer parent_class; /** * fo_property_overflow_get_type: * * Register the #FoPropertyOverflow type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyOverflow. **/ GType fo_property_overflow_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyOverflowClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_overflow_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyOverflow), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_overflow_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_overflow_init: * @overflow: #FoPropertyOverflow object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyOverflow. **/ void fo_property_overflow_init (FoPropertyOverflow *overflow) { FO_PROPERTY (overflow)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_overflow_class_init: * @klass: #FoPropertyOverflowClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyOverflowClass. **/ void fo_property_overflow_class_init (FoPropertyOverflowClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_overflow_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_overflow_resolve_enum; property_class->validate = fo_property_overflow_validate; property_class->get_initial = fo_property_overflow_get_initial; } /** * fo_property_overflow_finalize: * @object: #FoPropertyOverflow object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyOverflow. **/ void fo_property_overflow_finalize (GObject *object) { FoPropertyOverflow *overflow; overflow = FO_PROPERTY_OVERFLOW (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_overflow_new: * * Creates a new #FoPropertyOverflow initialized to default value. * * Return value: the new #FoPropertyOverflow. **/ FoProperty* fo_property_overflow_new (void) { FoProperty* overflow; overflow = FO_PROPERTY (g_object_new (fo_property_overflow_get_type (), NULL)); return overflow; } /** * fo_property_overflow_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_overflow_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "visible") == 0) || (strcmp (token, "hidden") == 0) || (strcmp (token, "scroll") == 0) || (strcmp (token, "error-if-overflow") == 0) || (strcmp (token, "auto") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_overflow_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_overflow_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_VISIBLE) || (value == FO_ENUM_ENUM_HIDDEN) || (value == FO_ENUM_ENUM_SCROLL) || (value == FO_ENUM_ENUM_ERROR_IF_OVERFLOW) || (value == FO_ENUM_ENUM_AUTO)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_overflow_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_overflow_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_overflow_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_overflow_get_initial (void) { static FoProperty *overflow = NULL; if (overflow == NULL) { overflow = fo_property_overflow_new (); } return overflow; } xmlroff-0.6.2/libfo/property/fo-property-overflow.h0000644000175000017500000000332710770023365017404 00000000000000/* Fo * fo-property-overflow.h: 'overflow' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_OVERFLOW_H__ #define __FO_PROPERTY_OVERFLOW_H__ #include #include G_BEGIN_DECLS /* overflow */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* visible | hidden | scroll | error-if-overflow | auto | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_OVERFLOW (fo_property_overflow_get_type ()) #define FO_PROPERTY_OVERFLOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_OVERFLOW, FoPropertyOverflow)) #define FO_PROPERTY_OVERFLOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_OVERFLOW, FoPropertyOverflowClass)) #define FO_IS_PROPERTY_OVERFLOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_OVERFLOW)) #define FO_IS_PROPERTY_OVERFLOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_OVERFLOW)) #define FO_PROPERTY_OVERFLOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_OVERFLOW, FoPropertyOverflowClass)) /** * FoPropertyOverflow: * * Instance of the 'overflow' property. **/ typedef struct _FoPropertyOverflow FoPropertyOverflow; /** * FoPropertyOverflowClass: * * Class structure for the 'overflow' property. **/ typedef struct _FoPropertyOverflowClass FoPropertyOverflowClass; GType fo_property_overflow_get_type (void) G_GNUC_CONST; FoProperty * fo_property_overflow_new (void); FoProperty * fo_property_overflow_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_OVERFLOW_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-after.c0000644000175000017500000001750210660107746020245 00000000000000/* Fo * fo-property-padding-after.c: 'padding-after' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "datatype/fo-length-conditional.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-after.h" #include "property/fo-property-util.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* padding-after */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyPaddingAfter { FoProperty parent_instance; }; struct _FoPropertyPaddingAfterClass { FoPropertyClass parent_class; }; static void fo_property_padding_after_init (FoPropertyPaddingAfter *property_padding_after); static void fo_property_padding_after_class_init (FoPropertyPaddingAfterClass *klass); static void fo_property_padding_after_finalize (GObject *object); static FoDatatype* fo_property_padding_after_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_after_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-after"; static gpointer parent_class; /** * fo_property_padding_after_get_type: * * Register the #FoPropertyPaddingAfter type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingAfter. **/ GType fo_property_padding_after_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingAfterClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_after_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingAfter), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_after_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_after_init: * @padding_after: #FoPropertyPaddingAfter object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingAfter. **/ void fo_property_padding_after_init (FoPropertyPaddingAfter *padding_after) { FO_PROPERTY (padding_after)->value = g_object_ref (fo_length_cond_get_length_cond_zero ()); } /** * fo_property_padding_after_class_init: * @klass: #FoPropertyPaddingAfterClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingAfterClass. **/ void fo_property_padding_after_class_init (FoPropertyPaddingAfterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_after_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_after_resolve_enum; property_class->resolve_percent = fo_property_util_resolve_ipdim_percent; property_class->validate = fo_property_padding_after_validate; property_class->get_initial = fo_property_padding_after_get_initial; } /** * fo_property_padding_after_finalize: * @object: #FoPropertyPaddingAfter object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingAfter. **/ void fo_property_padding_after_finalize (GObject *object) { FoPropertyPaddingAfter *padding_after; padding_after = FO_PROPERTY_PADDING_AFTER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_after_new: * * Creates a new #FoPropertyPaddingAfter initialized to default value. * * Return value: the new #FoPropertyPaddingAfter. **/ FoProperty* fo_property_padding_after_new (void) { FoProperty* padding_after; padding_after = FO_PROPERTY (g_object_new (fo_property_padding_after_get_type (), NULL)); return padding_after; } /** * fo_property_padding_after_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_after_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_after_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_after_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { FoDatatype *new_datatype = fo_length_cond_new_from_length (datatype); g_object_unref (datatype); return new_datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_LENGTH_COND (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_after_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_after_get_initial (void) { static FoProperty *padding_after = NULL; if (padding_after == NULL) { padding_after = fo_property_padding_after_new (); } return padding_after; } xmlroff-0.6.2/libfo/property/fo-property-padding-after.h0000644000175000017500000000321510770023365020242 00000000000000/* Fo * fo-property-padding-after.h: 'padding-after' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_AFTER_H__ #define __FO_PROPERTY_PADDING_AFTER_H__ #include #include G_BEGIN_DECLS /* padding-after */ /* | | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_PADDING_AFTER (fo_property_padding_after_get_type ()) #define FO_PROPERTY_PADDING_AFTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_AFTER, FoPropertyPaddingAfter)) #define FO_PROPERTY_PADDING_AFTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_AFTER, FoPropertyPaddingAfterClass)) #define FO_IS_PROPERTY_PADDING_AFTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_AFTER)) #define FO_IS_PROPERTY_PADDING_AFTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_AFTER)) #define FO_PROPERTY_PADDING_AFTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_AFTER, FoPropertyPaddingAfterClass)) typedef struct _FoPropertyPaddingAfter FoPropertyPaddingAfter; typedef struct _FoPropertyPaddingAfterClass FoPropertyPaddingAfterClass; GType fo_property_padding_after_get_type (void) G_GNUC_CONST; FoProperty* fo_property_padding_after_new (void); FoProperty* fo_property_padding_after_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_AFTER_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-after-conditionality.c0000644000175000017500000000656710660107747023306 00000000000000/* Fo * fo-property-padding-after-conditionality.c: 'padding-after-conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-type-condity-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-after-conditionality.h" /* padding-after-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ struct _FoPropertyPaddingAfterCondity { FoPropertyTypeCondity parent_instance; }; struct _FoPropertyPaddingAfterCondityClass { FoPropertyTypeCondityClass parent_class; }; static void fo_property_padding_after_condity_class_init (FoPropertyPaddingAfterCondityClass *klass); static const gchar class_name[] = "padding-after-condity"; /** * fo_property_padding_after_condity_get_type: * * Register the #FoPropertyPaddingAfterCondity type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingAfterCondity. **/ GType fo_property_padding_after_condity_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingAfterCondityClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_after_condity_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingAfterCondity), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_type_condity_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY_TYPE_CONDITY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_after_condity_class_init: * @klass: #FoPropertyPaddingAfterCondityClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingAfterCondityClass. **/ void fo_property_padding_after_condity_class_init (FoPropertyPaddingAfterCondityClass *klass) { FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); property_class->get_initial = fo_property_padding_after_condity_get_initial; } /** * fo_property_padding_after_condity_new: * * Creates a new #FoPropertyPaddingAfterCondity initialized to default value. * * Return value: the new #FoPropertyPaddingAfterCondity. **/ FoProperty* fo_property_padding_after_condity_new (void) { FoProperty* padding_after_condity; padding_after_condity = FO_PROPERTY (g_object_new (fo_property_padding_after_condity_get_type (), NULL)); return padding_after_condity; } /** * fo_property_padding_after_condity_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_after_condity_get_initial (void) { static FoProperty *padding_after_condity = NULL; if (padding_after_condity == NULL) { padding_after_condity = fo_property_padding_after_condity_new (); } return padding_after_condity; } xmlroff-0.6.2/libfo/property/fo-property-padding-after-conditionality.h0000644000175000017500000000355010770023365023273 00000000000000/* Fo * fo-property-padding-after-conditionality.h: 'padding-after-condity' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_AFTER_CONDITY_H__ #define __FO_PROPERTY_PADDING_AFTER_CONDITY_H__ #include #include G_BEGIN_DECLS /* padding-after-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ #define FO_TYPE_PROPERTY_PADDING_AFTER_CONDITY (fo_property_padding_after_condity_get_type ()) #define FO_PROPERTY_PADDING_AFTER_CONDITY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_AFTER_CONDITY, FoPropertyPaddingAfterCondity)) #define FO_PROPERTY_PADDING_AFTER_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_AFTER_CONDITY, FoPropertyPaddingAfterCondityClass)) #define FO_IS_PROPERTY_PADDING_AFTER_CONDITY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_AFTER_CONDITY)) #define FO_IS_PROPERTY_PADDING_AFTER_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_AFTER_CONDITY)) #define FO_PROPERTY_PADDING_AFTER_CONDITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_AFTER_CONDITY, FoPropertyPaddingAfterCondityClass)) typedef struct _FoPropertyPaddingAfterCondity FoPropertyPaddingAfterCondity; typedef struct _FoPropertyPaddingAfterCondityClass FoPropertyPaddingAfterCondityClass; GType fo_property_padding_after_condity_get_type (void) G_GNUC_CONST; FoProperty * fo_property_padding_after_condity_new (void); FoProperty * fo_property_padding_after_condity_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_AFTER_CONDITY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-after-length.c0000644000175000017500000001746510660107747021535 00000000000000/* Fo * fo-property-padding-after-length.c: 'padding-after-length' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-after-length.h" /* padding-after-length */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: 0pt */ struct _FoPropertyPaddingAfterLength { FoProperty parent_instance; }; struct _FoPropertyPaddingAfterLengthClass { FoPropertyClass parent_class; }; static void fo_property_padding_after_length_init (FoPropertyPaddingAfterLength *property_padding_after_length); static void fo_property_padding_after_length_class_init (FoPropertyPaddingAfterLengthClass *klass); static void fo_property_padding_after_length_finalize (GObject *object); static FoDatatype* fo_property_padding_after_length_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_after_length_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-after-length"; static gpointer parent_class; /** * fo_property_padding_after_length_get_type: * * Register the #FoPropertyPaddingAfterLength type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingAfterLength. **/ GType fo_property_padding_after_length_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingAfterLengthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_after_length_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingAfterLength), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_after_length_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_after_length_init: * @padding_after_length: #FoPropertyPaddingAfterLength object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingAfterLength. **/ void fo_property_padding_after_length_init (FoPropertyPaddingAfterLength *padding_after_length) { FO_PROPERTY (padding_after_length)->value = NULL; } /** * fo_property_padding_after_length_class_init: * @klass: #FoPropertyPaddingAfterLengthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingAfterLengthClass. **/ void fo_property_padding_after_length_class_init (FoPropertyPaddingAfterLengthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_after_length_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_after_length_resolve_enum; property_class->validate = fo_property_padding_after_length_validate; property_class->get_initial = fo_property_padding_after_length_get_initial; } /** * fo_property_padding_after_length_finalize: * @object: #FoPropertyPaddingAfterLength object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingAfterLength. **/ void fo_property_padding_after_length_finalize (GObject *object) { FoPropertyPaddingAfterLength *padding_after_length; padding_after_length = FO_PROPERTY_PADDING_AFTER_LENGTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_after_length_new: * * Creates a new #FoPropertyPaddingAfterLength initialized to default value. * * Return value: the new #FoPropertyPaddingAfterLength. **/ FoProperty* fo_property_padding_after_length_new (void) { FoProperty* padding_after_length; padding_after_length = FO_PROPERTY (g_object_new (fo_property_padding_after_length_get_type (), NULL)); return padding_after_length; } /** * fo_property_padding_after_length_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_after_length_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_after_length_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_after_length_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_after_length_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_after_length_get_initial (void) { static FoProperty *padding_after_length = NULL; if (padding_after_length == NULL) { padding_after_length = fo_property_padding_after_length_new (); } return padding_after_length; } xmlroff-0.6.2/libfo/property/fo-property-padding-after-length.h0000644000175000017500000000354110770023365021523 00000000000000/* Fo * fo-property-padding-after-length.h: 'padding-after-length' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_AFTER_LENGTH_H__ #define __FO_PROPERTY_PADDING_AFTER_LENGTH_H__ #include #include G_BEGIN_DECLS /* padding-after-length */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 0pt */ #define FO_TYPE_PROPERTY_PADDING_AFTER_LENGTH (fo_property_padding_after_length_get_type ()) #define FO_PROPERTY_PADDING_AFTER_LENGTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_AFTER_LENGTH, FoPropertyPaddingAfterLength)) #define FO_PROPERTY_PADDING_AFTER_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_AFTER_LENGTH, FoPropertyPaddingAfterLengthClass)) #define FO_IS_PROPERTY_PADDING_AFTER_LENGTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_AFTER_LENGTH)) #define FO_IS_PROPERTY_PADDING_AFTER_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_AFTER_LENGTH)) #define FO_PROPERTY_PADDING_AFTER_LENGTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_AFTER_LENGTH, FoPropertyPaddingAfterLengthClass)) typedef struct _FoPropertyPaddingAfterLength FoPropertyPaddingAfterLength; typedef struct _FoPropertyPaddingAfterLengthClass FoPropertyPaddingAfterLengthClass; GType fo_property_padding_after_length_get_type (void) G_GNUC_CONST; FoProperty * fo_property_padding_after_length_new (void); FoProperty * fo_property_padding_after_length_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_AFTER_LENGTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-before.c0000644000175000017500000001736010660107746020410 00000000000000/* Fo * fo-property-padding-before.c: 'padding-before' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-length-conditional.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-before.h" #include "property/fo-property-util.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* padding-before */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyPaddingBefore { FoProperty parent_instance; }; struct _FoPropertyPaddingBeforeClass { FoPropertyClass parent_class; }; static void fo_property_padding_before_init (FoPropertyPaddingBefore *property_padding_before); static void fo_property_padding_before_class_init (FoPropertyPaddingBeforeClass *klass); static void fo_property_padding_before_finalize (GObject *object); static FoDatatype* fo_property_padding_before_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_before_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-before"; static gpointer parent_class; /** * fo_property_padding_before_get_type: * * Register the #FoPropertyPaddingBefore type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingBefore. **/ GType fo_property_padding_before_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingBeforeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_before_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingBefore), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_before_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_before_init: * @padding_before: #FoPropertyPaddingBefore object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingBefore. **/ void fo_property_padding_before_init (FoPropertyPaddingBefore *padding_before) { FO_PROPERTY (padding_before)->value = g_object_ref (fo_length_cond_get_length_cond_zero ()); } /** * fo_property_padding_before_class_init: * @klass: #FoPropertyPaddingBeforeClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingBeforeClass. **/ void fo_property_padding_before_class_init (FoPropertyPaddingBeforeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_before_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_before_resolve_enum; property_class->resolve_percent = fo_property_util_resolve_ipdim_percent; property_class->validate = fo_property_padding_before_validate; property_class->get_initial = fo_property_padding_before_get_initial; } /** * fo_property_padding_before_finalize: * @object: #FoPropertyPaddingBefore object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingBefore. **/ void fo_property_padding_before_finalize (GObject *object) { FoPropertyPaddingBefore *padding_before; padding_before = FO_PROPERTY_PADDING_BEFORE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_before_new: * * Creates a new #FoPropertyPaddingBefore initialized to default value. * * Return value: the new #FoPropertyPaddingBefore. **/ FoProperty* fo_property_padding_before_new (void) { FoProperty* padding_before; padding_before = FO_PROPERTY (g_object_new (fo_property_padding_before_get_type (), NULL)); return padding_before; } /** * fo_property_padding_before_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_before_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_before_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_before_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_LENGTH_COND (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_before_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_before_get_initial (void) { static FoProperty *padding_before = NULL; if (padding_before == NULL) { padding_before = fo_property_padding_before_new (); } return padding_before; } xmlroff-0.6.2/libfo/property/fo-property-padding-before.h0000644000175000017500000000325110770023365020403 00000000000000/* Fo * fo-property-padding-before.h: 'padding-before' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_BEFORE_H__ #define __FO_PROPERTY_PADDING_BEFORE_H__ #include #include G_BEGIN_DECLS /* padding-before */ /* | | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_PADDING_BEFORE (fo_property_padding_before_get_type ()) #define FO_PROPERTY_PADDING_BEFORE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_BEFORE, FoPropertyPaddingBefore)) #define FO_PROPERTY_PADDING_BEFORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_BEFORE, FoPropertyPaddingBeforeClass)) #define FO_IS_PROPERTY_PADDING_BEFORE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_BEFORE)) #define FO_IS_PROPERTY_PADDING_BEFORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_BEFORE)) #define FO_PROPERTY_PADDING_BEFORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_BEFORE, FoPropertyPaddingBeforeClass)) typedef struct _FoPropertyPaddingBefore FoPropertyPaddingBefore; typedef struct _FoPropertyPaddingBeforeClass FoPropertyPaddingBeforeClass; GType fo_property_padding_before_get_type (void) G_GNUC_CONST; FoProperty* fo_property_padding_before_new (void); FoProperty* fo_property_padding_before_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_BEFORE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-before-conditionality.c0000644000175000017500000000663410660107746023441 00000000000000/* Fo * fo-property-padding-before-conditionality.c: 'padding-before-conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-type-condity-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-before-conditionality.h" /* padding-before-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ struct _FoPropertyPaddingBeforeCondity { FoPropertyTypeCondity parent_instance; }; struct _FoPropertyPaddingBeforeCondityClass { FoPropertyTypeCondityClass parent_class; }; static void fo_property_padding_before_condity_class_init (FoPropertyPaddingBeforeCondityClass *klass); static const gchar class_name[] = "padding-before-condity"; /** * fo_property_padding_before_condity_get_type: * * Register the #FoPropertyPaddingBeforeCondity type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingBeforeCondity. **/ GType fo_property_padding_before_condity_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingBeforeCondityClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_before_condity_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingBeforeCondity), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_type_condity_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY_TYPE_CONDITY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_before_condity_class_init: * @klass: #FoPropertyPaddingBeforeCondityClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingBeforeCondityClass. **/ void fo_property_padding_before_condity_class_init (FoPropertyPaddingBeforeCondityClass *klass) { FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); property_class->get_initial = fo_property_padding_before_condity_get_initial; } /** * fo_property_padding_before_condity_new: * * Creates a new #FoPropertyPaddingBeforeCondity initialized to default value. * * Return value: the new #FoPropertyPaddingBeforeCondity. **/ FoProperty* fo_property_padding_before_condity_new (void) { FoProperty* padding_before_condity; padding_before_condity = FO_PROPERTY (g_object_new (fo_property_padding_before_condity_get_type (), NULL)); return padding_before_condity; } /** * fo_property_padding_before_condity_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_before_condity_get_initial (void) { static FoProperty *padding_before_condity = NULL; if (padding_before_condity == NULL) { padding_before_condity = fo_property_padding_before_condity_new (); } return padding_before_condity; } xmlroff-0.6.2/libfo/property/fo-property-padding-before-conditionality.h0000644000175000017500000000360410770023365023434 00000000000000/* Fo * fo-property-padding-before-conditionality.h: 'padding-before-condity' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_BEFORE_CONDITY_H__ #define __FO_PROPERTY_PADDING_BEFORE_CONDITY_H__ #include #include G_BEGIN_DECLS /* padding-before-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ #define FO_TYPE_PROPERTY_PADDING_BEFORE_CONDITY (fo_property_padding_before_condity_get_type ()) #define FO_PROPERTY_PADDING_BEFORE_CONDITY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_BEFORE_CONDITY, FoPropertyPaddingBeforeCondity)) #define FO_PROPERTY_PADDING_BEFORE_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_BEFORE_CONDITY, FoPropertyPaddingBeforeCondityClass)) #define FO_IS_PROPERTY_PADDING_BEFORE_CONDITY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_BEFORE_CONDITY)) #define FO_IS_PROPERTY_PADDING_BEFORE_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_BEFORE_CONDITY)) #define FO_PROPERTY_PADDING_BEFORE_CONDITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_BEFORE_CONDITY, FoPropertyPaddingBeforeCondityClass)) typedef struct _FoPropertyPaddingBeforeCondity FoPropertyPaddingBeforeCondity; typedef struct _FoPropertyPaddingBeforeCondityClass FoPropertyPaddingBeforeCondityClass; GType fo_property_padding_before_condity_get_type (void) G_GNUC_CONST; FoProperty * fo_property_padding_before_condity_new (void); FoProperty * fo_property_padding_before_condity_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_BEFORE_CONDITY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-before-length.c0000644000175000017500000001757010660107747021673 00000000000000/* Fo * fo-property-padding-before-length.c: 'padding-before-length' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-before-length.h" /* padding-before-length */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: 0pt */ struct _FoPropertyPaddingBeforeLength { FoProperty parent_instance; }; struct _FoPropertyPaddingBeforeLengthClass { FoPropertyClass parent_class; }; static void fo_property_padding_before_length_init (FoPropertyPaddingBeforeLength *property_padding_before_length); static void fo_property_padding_before_length_class_init (FoPropertyPaddingBeforeLengthClass *klass); static void fo_property_padding_before_length_finalize (GObject *object); static FoDatatype* fo_property_padding_before_length_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_before_length_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-before-length"; static gpointer parent_class; /** * fo_property_padding_before_length_get_type: * * Register the #FoPropertyPaddingBeforeLength type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingBeforeLength. **/ GType fo_property_padding_before_length_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingBeforeLengthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_before_length_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingBeforeLength), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_before_length_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_before_length_init: * @padding_before_length: #FoPropertyPaddingBeforeLength object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingBeforeLength. **/ void fo_property_padding_before_length_init (FoPropertyPaddingBeforeLength *padding_before_length) { FO_PROPERTY (padding_before_length)->value = NULL; } /** * fo_property_padding_before_length_class_init: * @klass: #FoPropertyPaddingBeforeLengthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingBeforeLengthClass. **/ void fo_property_padding_before_length_class_init (FoPropertyPaddingBeforeLengthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_before_length_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_before_length_resolve_enum; property_class->validate = fo_property_padding_before_length_validate; property_class->get_initial = fo_property_padding_before_length_get_initial; } /** * fo_property_padding_before_length_finalize: * @object: #FoPropertyPaddingBeforeLength object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingBeforeLength. **/ void fo_property_padding_before_length_finalize (GObject *object) { FoPropertyPaddingBeforeLength *padding_before_length; padding_before_length = FO_PROPERTY_PADDING_BEFORE_LENGTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_before_length_new: * * Creates a new #FoPropertyPaddingBeforeLength initialized to default value. * * Return value: the new #FoPropertyPaddingBeforeLength. **/ FoProperty* fo_property_padding_before_length_new (void) { FoProperty* padding_before_length; padding_before_length = FO_PROPERTY (g_object_new (fo_property_padding_before_length_get_type (), NULL)); return padding_before_length; } /** * fo_property_padding_before_length_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_before_length_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_before_length_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_before_length_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_before_length_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_before_length_get_initial (void) { static FoProperty *padding_before_length = NULL; if (padding_before_length == NULL) { padding_before_length = fo_property_padding_before_length_new (); } return padding_before_length; } xmlroff-0.6.2/libfo/property/fo-property-padding-before-length.h0000644000175000017500000000357510770023365021673 00000000000000/* Fo * fo-property-padding-before-length.h: 'padding-before-length' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_BEFORE_LENGTH_H__ #define __FO_PROPERTY_PADDING_BEFORE_LENGTH_H__ #include #include G_BEGIN_DECLS /* padding-before-length */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 0pt */ #define FO_TYPE_PROPERTY_PADDING_BEFORE_LENGTH (fo_property_padding_before_length_get_type ()) #define FO_PROPERTY_PADDING_BEFORE_LENGTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_BEFORE_LENGTH, FoPropertyPaddingBeforeLength)) #define FO_PROPERTY_PADDING_BEFORE_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_BEFORE_LENGTH, FoPropertyPaddingBeforeLengthClass)) #define FO_IS_PROPERTY_PADDING_BEFORE_LENGTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_BEFORE_LENGTH)) #define FO_IS_PROPERTY_PADDING_BEFORE_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_BEFORE_LENGTH)) #define FO_PROPERTY_PADDING_BEFORE_LENGTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_BEFORE_LENGTH, FoPropertyPaddingBeforeLengthClass)) typedef struct _FoPropertyPaddingBeforeLength FoPropertyPaddingBeforeLength; typedef struct _FoPropertyPaddingBeforeLengthClass FoPropertyPaddingBeforeLengthClass; GType fo_property_padding_before_length_get_type (void) G_GNUC_CONST; FoProperty * fo_property_padding_before_length_new (void); FoProperty * fo_property_padding_before_length_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_BEFORE_LENGTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-bottom.c0000644000175000017500000001725710660107747020460 00000000000000/* Fo * fo-property-padding-bottom.c: 'padding-bottom' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "datatype/fo-length-conditional.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-bottom.h" #include "property/fo-property-util.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* padding-bottom */ /* | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyPaddingBottom { FoProperty parent_instance; }; struct _FoPropertyPaddingBottomClass { FoPropertyClass parent_class; }; static void fo_property_padding_bottom_init (FoPropertyPaddingBottom *property_padding_bottom); static void fo_property_padding_bottom_class_init (FoPropertyPaddingBottomClass *klass); static void fo_property_padding_bottom_finalize (GObject *object); static FoDatatype* fo_property_padding_bottom_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_bottom_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-bottom"; static gpointer parent_class; /** * fo_property_padding_bottom_get_type: * * Register the #FoPropertyPaddingBottom type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingBottom. **/ GType fo_property_padding_bottom_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingBottomClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_bottom_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingBottom), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_bottom_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_bottom_init: * @padding_bottom: #FoPropertyPaddingBottom object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingBottom. **/ void fo_property_padding_bottom_init (FoPropertyPaddingBottom *padding_bottom) { FO_PROPERTY (padding_bottom)->value = g_object_ref (fo_length_cond_get_length_cond_zero ()); } /** * fo_property_padding_bottom_class_init: * @klass: #FoPropertyPaddingBottomClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingBottomClass. **/ void fo_property_padding_bottom_class_init (FoPropertyPaddingBottomClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_bottom_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_bottom_resolve_enum; property_class->resolve_percent = fo_property_util_resolve_ipdim_percent; property_class->validate = fo_property_padding_bottom_validate; property_class->get_initial = fo_property_padding_bottom_get_initial; } /** * fo_property_padding_bottom_finalize: * @object: #FoPropertyPaddingBottom object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingBottom. **/ void fo_property_padding_bottom_finalize (GObject *object) { FoPropertyPaddingBottom *padding_bottom; padding_bottom = FO_PROPERTY_PADDING_BOTTOM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_bottom_new: * * Creates a new #FoPropertyPaddingBottom initialized to default value. * * Return value: the new #FoPropertyPaddingBottom. **/ FoProperty* fo_property_padding_bottom_new (void) { FoProperty* padding_bottom; padding_bottom = FO_PROPERTY (g_object_new (fo_property_padding_bottom_get_type (), NULL)); return padding_bottom; } /** * fo_property_padding_bottom_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_bottom_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_bottom_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_bottom_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_bottom_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_bottom_get_initial (void) { static FoProperty *padding_bottom = NULL; if (padding_bottom == NULL) { padding_bottom = fo_property_padding_bottom_new (); } return padding_bottom; } xmlroff-0.6.2/libfo/property/fo-property-padding-bottom.h0000644000175000017500000000322210770023365020443 00000000000000/* Fo * fo-property-padding-bottom.h: 'padding-bottom' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_BOTTOM_H__ #define __FO_PROPERTY_PADDING_BOTTOM_H__ #include #include G_BEGIN_DECLS /* padding-bottom */ /* | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_PADDING_BOTTOM (fo_property_padding_bottom_get_type ()) #define FO_PROPERTY_PADDING_BOTTOM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_BOTTOM, FoPropertyPaddingBottom)) #define FO_PROPERTY_PADDING_BOTTOM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_BOTTOM, FoPropertyPaddingBottomClass)) #define FO_IS_PROPERTY_PADDING_BOTTOM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_BOTTOM)) #define FO_IS_PROPERTY_PADDING_BOTTOM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_BOTTOM)) #define FO_PROPERTY_PADDING_BOTTOM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_BOTTOM, FoPropertyPaddingBottomClass)) typedef struct _FoPropertyPaddingBottom FoPropertyPaddingBottom; typedef struct _FoPropertyPaddingBottomClass FoPropertyPaddingBottomClass; GType fo_property_padding_bottom_get_type (void) G_GNUC_CONST; FoProperty* fo_property_padding_bottom_new (void); FoProperty* fo_property_padding_bottom_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_BOTTOM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-end.c0000644000175000017500000001706110660107746017712 00000000000000/* Fo * fo-property-padding-end.c: 'padding-end' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "datatype/fo-length-conditional.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-end.h" #include "property/fo-property-util.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* padding-end */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyPaddingEnd { FoProperty parent_instance; }; struct _FoPropertyPaddingEndClass { FoPropertyClass parent_class; }; static void fo_property_padding_end_init (FoPropertyPaddingEnd *property_padding_end); static void fo_property_padding_end_class_init (FoPropertyPaddingEndClass *klass); static void fo_property_padding_end_finalize (GObject *object); static FoDatatype* fo_property_padding_end_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_end_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-end"; static gpointer parent_class; /** * fo_property_padding_end_get_type: * * Register the #FoPropertyPaddingEnd type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingEnd. **/ GType fo_property_padding_end_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingEndClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_end_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingEnd), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_end_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_end_init: * @padding_end: #FoPropertyPaddingEnd object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingEnd. **/ void fo_property_padding_end_init (FoPropertyPaddingEnd *padding_end) { FO_PROPERTY (padding_end)->value = g_object_ref (fo_length_cond_get_length_cond_zero ()); } /** * fo_property_padding_end_class_init: * @klass: #FoPropertyPaddingEndClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingEndClass. **/ void fo_property_padding_end_class_init (FoPropertyPaddingEndClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_end_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_end_resolve_enum; property_class->resolve_percent = fo_property_util_resolve_ipdim_percent; property_class->validate = fo_property_padding_end_validate; property_class->get_initial = fo_property_padding_end_get_initial; } /** * fo_property_padding_end_finalize: * @object: #FoPropertyPaddingEnd object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingEnd. **/ void fo_property_padding_end_finalize (GObject *object) { FoPropertyPaddingEnd *padding_end; padding_end = FO_PROPERTY_PADDING_END (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_end_new: * * Creates a new #FoPropertyPaddingEnd initialized to default value. * * Return value: the new #FoPropertyPaddingEnd. **/ FoProperty* fo_property_padding_end_new (void) { FoProperty* padding_end; padding_end = FO_PROPERTY (g_object_new (fo_property_padding_end_get_type (), NULL)); return padding_end; } /** * fo_property_padding_end_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_end_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_end_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_end_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_LENGTH_COND (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_end_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_end_get_initial (void) { static FoProperty *padding_end = NULL; if (padding_end == NULL) { padding_end = fo_property_padding_end_new (); } return padding_end; } xmlroff-0.6.2/libfo/property/fo-property-padding-end.h0000644000175000017500000000312510770023365017707 00000000000000/* Fo * fo-property-padding-end.h: 'padding-end' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_END_H__ #define __FO_PROPERTY_PADDING_END_H__ #include #include G_BEGIN_DECLS /* padding-end */ /* | | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_PADDING_END (fo_property_padding_end_get_type ()) #define FO_PROPERTY_PADDING_END(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_END, FoPropertyPaddingEnd)) #define FO_PROPERTY_PADDING_END_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_END, FoPropertyPaddingEndClass)) #define FO_IS_PROPERTY_PADDING_END(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_END)) #define FO_IS_PROPERTY_PADDING_END_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_END)) #define FO_PROPERTY_PADDING_END_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_END, FoPropertyPaddingEndClass)) typedef struct _FoPropertyPaddingEnd FoPropertyPaddingEnd; typedef struct _FoPropertyPaddingEndClass FoPropertyPaddingEndClass; GType fo_property_padding_end_get_type (void) G_GNUC_CONST; FoProperty* fo_property_padding_end_new (void); FoProperty* fo_property_padding_end_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_END_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-end-conditionality.c0000644000175000017500000000645510660107746022746 00000000000000/* Fo * fo-property-padding-end-conditionality.c: 'padding-end-conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-type-condity-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-end-conditionality.h" /* padding-end-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ struct _FoPropertyPaddingEndCondity { FoPropertyTypeCondity parent_instance; }; struct _FoPropertyPaddingEndCondityClass { FoPropertyTypeCondityClass parent_class; }; static void fo_property_padding_end_condity_class_init (FoPropertyPaddingEndCondityClass *klass); static const gchar class_name[] = "padding-end-condity"; /** * fo_property_padding_end_condity_get_type: * * Register the #FoPropertyPaddingEndCondity type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingEndCondity. **/ GType fo_property_padding_end_condity_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingEndCondityClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_end_condity_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingEndCondity), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_type_condity_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY_TYPE_CONDITY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_end_condity_class_init: * @klass: #FoPropertyPaddingEndCondityClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingEndCondityClass. **/ void fo_property_padding_end_condity_class_init (FoPropertyPaddingEndCondityClass *klass) { FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); property_class->get_initial = fo_property_padding_end_condity_get_initial; } /** * fo_property_padding_end_condity_new: * * Creates a new #FoPropertyPaddingEndCondity initialized to default value. * * Return value: the new #FoPropertyPaddingEndCondity. **/ FoProperty* fo_property_padding_end_condity_new (void) { FoProperty* padding_end_condity; padding_end_condity = FO_PROPERTY (g_object_new (fo_property_padding_end_condity_get_type (), NULL)); return padding_end_condity; } /** * fo_property_padding_end_condity_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_end_condity_get_initial (void) { static FoProperty *padding_end_condity = NULL; if (padding_end_condity == NULL) { padding_end_condity = fo_property_padding_end_condity_new (); } return padding_end_condity; } xmlroff-0.6.2/libfo/property/fo-property-padding-end-conditionality.h0000644000175000017500000000346010770023365022740 00000000000000/* Fo * fo-property-padding-end-conditionality.h: 'padding-end-condity' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_END_CONDITY_H__ #define __FO_PROPERTY_PADDING_END_CONDITY_H__ #include #include G_BEGIN_DECLS /* padding-end-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ #define FO_TYPE_PROPERTY_PADDING_END_CONDITY (fo_property_padding_end_condity_get_type ()) #define FO_PROPERTY_PADDING_END_CONDITY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_END_CONDITY, FoPropertyPaddingEndCondity)) #define FO_PROPERTY_PADDING_END_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_END_CONDITY, FoPropertyPaddingEndCondityClass)) #define FO_IS_PROPERTY_PADDING_END_CONDITY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_END_CONDITY)) #define FO_IS_PROPERTY_PADDING_END_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_END_CONDITY)) #define FO_PROPERTY_PADDING_END_CONDITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_END_CONDITY, FoPropertyPaddingEndCondityClass)) typedef struct _FoPropertyPaddingEndCondity FoPropertyPaddingEndCondity; typedef struct _FoPropertyPaddingEndCondityClass FoPropertyPaddingEndCondityClass; GType fo_property_padding_end_condity_get_type (void) G_GNUC_CONST; FoProperty * fo_property_padding_end_condity_new (void); FoProperty * fo_property_padding_end_condity_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_END_CONDITY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-end-length.c0000644000175000017500000001725710660107746021200 00000000000000/* Fo * fo-property-padding-end-length.c: 'padding-end-length' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-end-length.h" /* padding-end-length */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: 0pt */ struct _FoPropertyPaddingEndLength { FoProperty parent_instance; }; struct _FoPropertyPaddingEndLengthClass { FoPropertyClass parent_class; }; static void fo_property_padding_end_length_init (FoPropertyPaddingEndLength *property_padding_end_length); static void fo_property_padding_end_length_class_init (FoPropertyPaddingEndLengthClass *klass); static void fo_property_padding_end_length_finalize (GObject *object); static FoDatatype* fo_property_padding_end_length_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_end_length_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-end-length"; static gpointer parent_class; /** * fo_property_padding_end_length_get_type: * * Register the #FoPropertyPaddingEndLength type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingEndLength. **/ GType fo_property_padding_end_length_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingEndLengthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_end_length_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingEndLength), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_end_length_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_end_length_init: * @padding_end_length: #FoPropertyPaddingEndLength object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingEndLength. **/ void fo_property_padding_end_length_init (FoPropertyPaddingEndLength *padding_end_length) { FO_PROPERTY (padding_end_length)->value = NULL; } /** * fo_property_padding_end_length_class_init: * @klass: #FoPropertyPaddingEndLengthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingEndLengthClass. **/ void fo_property_padding_end_length_class_init (FoPropertyPaddingEndLengthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_end_length_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_end_length_resolve_enum; property_class->validate = fo_property_padding_end_length_validate; property_class->get_initial = fo_property_padding_end_length_get_initial; } /** * fo_property_padding_end_length_finalize: * @object: #FoPropertyPaddingEndLength object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingEndLength. **/ void fo_property_padding_end_length_finalize (GObject *object) { FoPropertyPaddingEndLength *padding_end_length; padding_end_length = FO_PROPERTY_PADDING_END_LENGTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_end_length_new: * * Creates a new #FoPropertyPaddingEndLength initialized to default value. * * Return value: the new #FoPropertyPaddingEndLength. **/ FoProperty* fo_property_padding_end_length_new (void) { FoProperty* padding_end_length; padding_end_length = FO_PROPERTY (g_object_new (fo_property_padding_end_length_get_type (), NULL)); return padding_end_length; } /** * fo_property_padding_end_length_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_end_length_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_end_length_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_end_length_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_end_length_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_end_length_get_initial (void) { static FoProperty *padding_end_length = NULL; if (padding_end_length == NULL) { padding_end_length = fo_property_padding_end_length_new (); } return padding_end_length; } xmlroff-0.6.2/libfo/property/fo-property-padding-end-length.h0000644000175000017500000000345110770023365021170 00000000000000/* Fo * fo-property-padding-end-length.h: 'padding-end-length' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_END_LENGTH_H__ #define __FO_PROPERTY_PADDING_END_LENGTH_H__ #include #include G_BEGIN_DECLS /* padding-end-length */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 0pt */ #define FO_TYPE_PROPERTY_PADDING_END_LENGTH (fo_property_padding_end_length_get_type ()) #define FO_PROPERTY_PADDING_END_LENGTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_END_LENGTH, FoPropertyPaddingEndLength)) #define FO_PROPERTY_PADDING_END_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_END_LENGTH, FoPropertyPaddingEndLengthClass)) #define FO_IS_PROPERTY_PADDING_END_LENGTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_END_LENGTH)) #define FO_IS_PROPERTY_PADDING_END_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_END_LENGTH)) #define FO_PROPERTY_PADDING_END_LENGTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_END_LENGTH, FoPropertyPaddingEndLengthClass)) typedef struct _FoPropertyPaddingEndLength FoPropertyPaddingEndLength; typedef struct _FoPropertyPaddingEndLengthClass FoPropertyPaddingEndLengthClass; GType fo_property_padding_end_length_get_type (void) G_GNUC_CONST; FoProperty * fo_property_padding_end_length_new (void); FoProperty * fo_property_padding_end_length_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_END_LENGTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-left.c0000644000175000017500000001703110660107747020074 00000000000000/* Fo * fo-property-padding-left.c: 'padding-left' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "datatype/fo-length-conditional.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-left.h" #include "property/fo-property-util.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* padding-left */ /* | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyPaddingLeft { FoProperty parent_instance; }; struct _FoPropertyPaddingLeftClass { FoPropertyClass parent_class; }; static void fo_property_padding_left_init (FoPropertyPaddingLeft *property_padding_left); static void fo_property_padding_left_class_init (FoPropertyPaddingLeftClass *klass); static void fo_property_padding_left_finalize (GObject *object); static FoDatatype* fo_property_padding_left_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_left_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-left"; static gpointer parent_class; /** * fo_property_padding_left_get_type: * * Register the #FoPropertyPaddingLeft type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingLeft. **/ GType fo_property_padding_left_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingLeftClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_left_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingLeft), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_left_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_left_init: * @padding_left: #FoPropertyPaddingLeft object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingLeft. **/ void fo_property_padding_left_init (FoPropertyPaddingLeft *padding_left) { FO_PROPERTY (padding_left)->value = g_object_ref (fo_length_cond_get_length_cond_zero ()); } /** * fo_property_padding_left_class_init: * @klass: #FoPropertyPaddingLeftClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingLeftClass. **/ void fo_property_padding_left_class_init (FoPropertyPaddingLeftClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_left_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_left_resolve_enum; property_class->resolve_percent = fo_property_util_resolve_ipdim_percent; property_class->validate = fo_property_padding_left_validate; property_class->get_initial = fo_property_padding_left_get_initial; } /** * fo_property_padding_left_finalize: * @object: #FoPropertyPaddingLeft object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingLeft. **/ void fo_property_padding_left_finalize (GObject *object) { FoPropertyPaddingLeft *padding_left; padding_left = FO_PROPERTY_PADDING_LEFT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_left_new: * * Creates a new #FoPropertyPaddingLeft initialized to default value. * * Return value: the new #FoPropertyPaddingLeft. **/ FoProperty* fo_property_padding_left_new (void) { FoProperty* padding_left; padding_left = FO_PROPERTY (g_object_new (fo_property_padding_left_get_type (), NULL)); return padding_left; } /** * fo_property_padding_left_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_left_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_left_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_left_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_left_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_left_get_initial (void) { static FoProperty *padding_left = NULL; if (padding_left == NULL) { padding_left = fo_property_padding_left_new (); } return padding_left; } xmlroff-0.6.2/libfo/property/fo-property-padding-left.h0000644000175000017500000000313210770023365020071 00000000000000/* Fo * fo-property-padding-left.h: 'padding-left' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_LEFT_H__ #define __FO_PROPERTY_PADDING_LEFT_H__ #include #include G_BEGIN_DECLS /* padding-left */ /* | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_PADDING_LEFT (fo_property_padding_left_get_type ()) #define FO_PROPERTY_PADDING_LEFT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_LEFT, FoPropertyPaddingLeft)) #define FO_PROPERTY_PADDING_LEFT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_LEFT, FoPropertyPaddingLeftClass)) #define FO_IS_PROPERTY_PADDING_LEFT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_LEFT)) #define FO_IS_PROPERTY_PADDING_LEFT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_LEFT)) #define FO_PROPERTY_PADDING_LEFT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_LEFT, FoPropertyPaddingLeftClass)) typedef struct _FoPropertyPaddingLeft FoPropertyPaddingLeft; typedef struct _FoPropertyPaddingLeftClass FoPropertyPaddingLeftClass; GType fo_property_padding_left_get_type (void) G_GNUC_CONST; FoProperty* fo_property_padding_left_new (void); FoProperty* fo_property_padding_left_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_LEFT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-right.c0000644000175000017500000001714410660107746020263 00000000000000/* Fo * fo-property-padding-right.c: 'padding-right' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "datatype/fo-length-conditional.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-right.h" #include "property/fo-property-util.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* padding-right */ /* | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyPaddingRight { FoProperty parent_instance; }; struct _FoPropertyPaddingRightClass { FoPropertyClass parent_class; }; static void fo_property_padding_right_init (FoPropertyPaddingRight *property_padding_right); static void fo_property_padding_right_class_init (FoPropertyPaddingRightClass *klass); static void fo_property_padding_right_finalize (GObject *object); static FoDatatype* fo_property_padding_right_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_right_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-right"; static gpointer parent_class; /** * fo_property_padding_right_get_type: * * Register the #FoPropertyPaddingRight type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingRight. **/ GType fo_property_padding_right_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingRightClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_right_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingRight), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_right_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_right_init: * @padding_right: #FoPropertyPaddingRight object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingRight. **/ void fo_property_padding_right_init (FoPropertyPaddingRight *padding_right) { FO_PROPERTY (padding_right)->value = g_object_ref (fo_length_cond_get_length_cond_zero ()); } /** * fo_property_padding_right_class_init: * @klass: #FoPropertyPaddingRightClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingRightClass. **/ void fo_property_padding_right_class_init (FoPropertyPaddingRightClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_right_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_right_resolve_enum; property_class->resolve_percent = fo_property_util_resolve_ipdim_percent; property_class->validate = fo_property_padding_right_validate; property_class->get_initial = fo_property_padding_right_get_initial; } /** * fo_property_padding_right_finalize: * @object: #FoPropertyPaddingRight object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingRight. **/ void fo_property_padding_right_finalize (GObject *object) { FoPropertyPaddingRight *padding_right; padding_right = FO_PROPERTY_PADDING_RIGHT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_right_new: * * Creates a new #FoPropertyPaddingRight initialized to default value. * * Return value: the new #FoPropertyPaddingRight. **/ FoProperty* fo_property_padding_right_new (void) { FoProperty* padding_right; padding_right = FO_PROPERTY (g_object_new (fo_property_padding_right_get_type (), NULL)); return padding_right; } /** * fo_property_padding_right_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_right_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_right_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_right_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_right_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_right_get_initial (void) { static FoProperty *padding_right = NULL; if (padding_right == NULL) { padding_right = fo_property_padding_right_new (); } return padding_right; } xmlroff-0.6.2/libfo/property/fo-property-padding-right.h0000644000175000017500000000316610770023365020263 00000000000000/* Fo * fo-property-padding-right.h: 'padding-right' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_RIGHT_H__ #define __FO_PROPERTY_PADDING_RIGHT_H__ #include #include G_BEGIN_DECLS /* padding-right */ /* | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_PADDING_RIGHT (fo_property_padding_right_get_type ()) #define FO_PROPERTY_PADDING_RIGHT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_RIGHT, FoPropertyPaddingRight)) #define FO_PROPERTY_PADDING_RIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_RIGHT, FoPropertyPaddingRightClass)) #define FO_IS_PROPERTY_PADDING_RIGHT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_RIGHT)) #define FO_IS_PROPERTY_PADDING_RIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_RIGHT)) #define FO_PROPERTY_PADDING_RIGHT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_RIGHT, FoPropertyPaddingRightClass)) typedef struct _FoPropertyPaddingRight FoPropertyPaddingRight; typedef struct _FoPropertyPaddingRightClass FoPropertyPaddingRightClass; GType fo_property_padding_right_get_type (void) G_GNUC_CONST; FoProperty* fo_property_padding_right_new (void); FoProperty* fo_property_padding_right_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_RIGHT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-start.c0000644000175000017500000001730710660107747020305 00000000000000/* Fo * fo-property-padding-start.c: 'padding-start' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "datatype/fo-length-conditional.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-start.h" #include "property/fo-property-util.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* padding-start */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyPaddingStart { FoProperty parent_instance; }; struct _FoPropertyPaddingStartClass { FoPropertyClass parent_class; }; static void fo_property_padding_start_init (FoPropertyPaddingStart *property_padding_start); static void fo_property_padding_start_class_init (FoPropertyPaddingStartClass *klass); static void fo_property_padding_start_finalize (GObject *object); static FoDatatype* fo_property_padding_start_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_start_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-start"; static gpointer parent_class; /** * fo_property_padding_start_get_type: * * Register the #FoPropertyPaddingStart type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingStart. **/ GType fo_property_padding_start_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingStartClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_start_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingStart), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_start_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_start_init: * @padding_start: #FoPropertyPaddingStart object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingStart. **/ void fo_property_padding_start_init (FoPropertyPaddingStart *padding_start) { FO_PROPERTY (padding_start)->value = g_object_ref (fo_length_cond_get_length_cond_zero ()); } /** * fo_property_padding_start_class_init: * @klass: #FoPropertyPaddingStartClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingStartClass. **/ void fo_property_padding_start_class_init (FoPropertyPaddingStartClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_start_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_start_resolve_enum; property_class->resolve_percent = fo_property_util_resolve_ipdim_percent; property_class->validate = fo_property_padding_start_validate; property_class->get_initial = fo_property_padding_start_get_initial; } /** * fo_property_padding_start_finalize: * @object: #FoPropertyPaddingStart object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingStart. **/ void fo_property_padding_start_finalize (GObject *object) { FoPropertyPaddingStart *padding_start; padding_start = FO_PROPERTY_PADDING_START (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_start_new: * * Creates a new #FoPropertyPaddingStart initialized to default value. * * Return value: the new #FoPropertyPaddingStart. **/ FoProperty* fo_property_padding_start_new (void) { FoProperty* padding_start; padding_start = FO_PROPERTY (g_object_new (fo_property_padding_start_get_type (), NULL)); return padding_start; } /** * fo_property_padding_start_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_start_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_start_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_start_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_LENGTH_COND (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_start_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_start_get_initial (void) { static FoProperty *padding_start = NULL; if (padding_start == NULL) { padding_start = fo_property_padding_start_new (); } return padding_start; } xmlroff-0.6.2/libfo/property/fo-property-padding-start.h0000644000175000017500000000321510770023365020276 00000000000000/* Fo * fo-property-padding-start.h: 'padding-start' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_START_H__ #define __FO_PROPERTY_PADDING_START_H__ #include #include G_BEGIN_DECLS /* padding-start */ /* | | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_PADDING_START (fo_property_padding_start_get_type ()) #define FO_PROPERTY_PADDING_START(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_START, FoPropertyPaddingStart)) #define FO_PROPERTY_PADDING_START_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_START, FoPropertyPaddingStartClass)) #define FO_IS_PROPERTY_PADDING_START(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_START)) #define FO_IS_PROPERTY_PADDING_START_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_START)) #define FO_PROPERTY_PADDING_START_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_START, FoPropertyPaddingStartClass)) typedef struct _FoPropertyPaddingStart FoPropertyPaddingStart; typedef struct _FoPropertyPaddingStartClass FoPropertyPaddingStartClass; GType fo_property_padding_start_get_type (void) G_GNUC_CONST; FoProperty* fo_property_padding_start_new (void); FoProperty* fo_property_padding_start_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_START_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-start-conditionality.c0000644000175000017500000000656710660107746023341 00000000000000/* Fo * fo-property-padding-start-conditionality.c: 'padding-start-conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-type-condity-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-start-conditionality.h" /* padding-start-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ struct _FoPropertyPaddingStartCondity { FoPropertyTypeCondity parent_instance; }; struct _FoPropertyPaddingStartCondityClass { FoPropertyTypeCondityClass parent_class; }; static void fo_property_padding_start_condity_class_init (FoPropertyPaddingStartCondityClass *klass); static const gchar class_name[] = "padding-start-condity"; /** * fo_property_padding_start_condity_get_type: * * Register the #FoPropertyPaddingStartCondity type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingStartCondity. **/ GType fo_property_padding_start_condity_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingStartCondityClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_start_condity_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingStartCondity), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_type_condity_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY_TYPE_CONDITY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_start_condity_class_init: * @klass: #FoPropertyPaddingStartCondityClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingStartCondityClass. **/ void fo_property_padding_start_condity_class_init (FoPropertyPaddingStartCondityClass *klass) { FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); property_class->get_initial = fo_property_padding_start_condity_get_initial; } /** * fo_property_padding_start_condity_new: * * Creates a new #FoPropertyPaddingStartCondity initialized to default value. * * Return value: the new #FoPropertyPaddingStartCondity. **/ FoProperty* fo_property_padding_start_condity_new (void) { FoProperty* padding_start_condity; padding_start_condity = FO_PROPERTY (g_object_new (fo_property_padding_start_condity_get_type (), NULL)); return padding_start_condity; } /** * fo_property_padding_start_condity_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_start_condity_get_initial (void) { static FoProperty *padding_start_condity = NULL; if (padding_start_condity == NULL) { padding_start_condity = fo_property_padding_start_condity_new (); } return padding_start_condity; } xmlroff-0.6.2/libfo/property/fo-property-padding-start-conditionality.h0000644000175000017500000000355010770023365023327 00000000000000/* Fo * fo-property-padding-start-conditionality.h: 'padding-start-condity' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_START_CONDITY_H__ #define __FO_PROPERTY_PADDING_START_CONDITY_H__ #include #include G_BEGIN_DECLS /* padding-start-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* discard | retain */ /* Initial value: discard */ #define FO_TYPE_PROPERTY_PADDING_START_CONDITY (fo_property_padding_start_condity_get_type ()) #define FO_PROPERTY_PADDING_START_CONDITY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_START_CONDITY, FoPropertyPaddingStartCondity)) #define FO_PROPERTY_PADDING_START_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_START_CONDITY, FoPropertyPaddingStartCondityClass)) #define FO_IS_PROPERTY_PADDING_START_CONDITY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_START_CONDITY)) #define FO_IS_PROPERTY_PADDING_START_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_START_CONDITY)) #define FO_PROPERTY_PADDING_START_CONDITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_START_CONDITY, FoPropertyPaddingStartCondityClass)) typedef struct _FoPropertyPaddingStartCondity FoPropertyPaddingStartCondity; typedef struct _FoPropertyPaddingStartCondityClass FoPropertyPaddingStartCondityClass; GType fo_property_padding_start_condity_get_type (void) G_GNUC_CONST; FoProperty * fo_property_padding_start_condity_new (void); FoProperty * fo_property_padding_start_condity_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_START_CONDITY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-start-length.c0000644000175000017500000001746510660107746021570 00000000000000/* Fo * fo-property-padding-start-length.c: 'padding-start-length' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-start-length.h" /* padding-start-length */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* */ /* Initial value: 0pt */ struct _FoPropertyPaddingStartLength { FoProperty parent_instance; }; struct _FoPropertyPaddingStartLengthClass { FoPropertyClass parent_class; }; static void fo_property_padding_start_length_init (FoPropertyPaddingStartLength *property_padding_start_length); static void fo_property_padding_start_length_class_init (FoPropertyPaddingStartLengthClass *klass); static void fo_property_padding_start_length_finalize (GObject *object); static FoDatatype* fo_property_padding_start_length_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_start_length_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-start-length"; static gpointer parent_class; /** * fo_property_padding_start_length_get_type: * * Register the #FoPropertyPaddingStartLength type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingStartLength. **/ GType fo_property_padding_start_length_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingStartLengthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_start_length_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingStartLength), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_start_length_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_start_length_init: * @padding_start_length: #FoPropertyPaddingStartLength object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingStartLength. **/ void fo_property_padding_start_length_init (FoPropertyPaddingStartLength *padding_start_length) { FO_PROPERTY (padding_start_length)->value = NULL; } /** * fo_property_padding_start_length_class_init: * @klass: #FoPropertyPaddingStartLengthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingStartLengthClass. **/ void fo_property_padding_start_length_class_init (FoPropertyPaddingStartLengthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_start_length_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_start_length_resolve_enum; property_class->validate = fo_property_padding_start_length_validate; property_class->get_initial = fo_property_padding_start_length_get_initial; } /** * fo_property_padding_start_length_finalize: * @object: #FoPropertyPaddingStartLength object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingStartLength. **/ void fo_property_padding_start_length_finalize (GObject *object) { FoPropertyPaddingStartLength *padding_start_length; padding_start_length = FO_PROPERTY_PADDING_START_LENGTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_start_length_new: * * Creates a new #FoPropertyPaddingStartLength initialized to default value. * * Return value: the new #FoPropertyPaddingStartLength. **/ FoProperty* fo_property_padding_start_length_new (void) { FoProperty* padding_start_length; padding_start_length = FO_PROPERTY (g_object_new (fo_property_padding_start_length_get_type (), NULL)); return padding_start_length; } /** * fo_property_padding_start_length_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_start_length_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_start_length_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_start_length_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_start_length_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_start_length_get_initial (void) { static FoProperty *padding_start_length = NULL; if (padding_start_length == NULL) { padding_start_length = fo_property_padding_start_length_new (); } return padding_start_length; } xmlroff-0.6.2/libfo/property/fo-property-padding-start-length.h0000644000175000017500000000354110770023365021557 00000000000000/* Fo * fo-property-padding-start-length.h: 'padding-start-length' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_START_LENGTH_H__ #define __FO_PROPERTY_PADDING_START_LENGTH_H__ #include #include G_BEGIN_DECLS /* padding-start-length */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 0pt */ #define FO_TYPE_PROPERTY_PADDING_START_LENGTH (fo_property_padding_start_length_get_type ()) #define FO_PROPERTY_PADDING_START_LENGTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_START_LENGTH, FoPropertyPaddingStartLength)) #define FO_PROPERTY_PADDING_START_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_START_LENGTH, FoPropertyPaddingStartLengthClass)) #define FO_IS_PROPERTY_PADDING_START_LENGTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_START_LENGTH)) #define FO_IS_PROPERTY_PADDING_START_LENGTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_START_LENGTH)) #define FO_PROPERTY_PADDING_START_LENGTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_START_LENGTH, FoPropertyPaddingStartLengthClass)) typedef struct _FoPropertyPaddingStartLength FoPropertyPaddingStartLength; typedef struct _FoPropertyPaddingStartLengthClass FoPropertyPaddingStartLengthClass; GType fo_property_padding_start_length_get_type (void) G_GNUC_CONST; FoProperty * fo_property_padding_start_length_new (void); FoProperty * fo_property_padding_start_length_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_START_LENGTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding-top.c0000644000175000017500000001671610660107746017754 00000000000000/* Fo * fo-property-padding-top.c: 'padding-top' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "datatype/fo-length-conditional.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding-top.h" #include "property/fo-property-util.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* padding-top */ /* | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyPaddingTop { FoProperty parent_instance; }; struct _FoPropertyPaddingTopClass { FoPropertyClass parent_class; }; static void fo_property_padding_top_init (FoPropertyPaddingTop *property_padding_top); static void fo_property_padding_top_class_init (FoPropertyPaddingTopClass *klass); static void fo_property_padding_top_finalize (GObject *object); static FoDatatype* fo_property_padding_top_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_padding_top_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding-top"; static gpointer parent_class; /** * fo_property_padding_top_get_type: * * Register the #FoPropertyPaddingTop type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPaddingTop. **/ GType fo_property_padding_top_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingTopClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_top_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPaddingTop), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_top_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_top_init: * @padding_top: #FoPropertyPaddingTop object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPaddingTop. **/ void fo_property_padding_top_init (FoPropertyPaddingTop *padding_top) { FO_PROPERTY (padding_top)->value = g_object_ref (fo_length_cond_get_length_cond_zero ()); } /** * fo_property_padding_top_class_init: * @klass: #FoPropertyPaddingTopClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingTopClass. **/ void fo_property_padding_top_class_init (FoPropertyPaddingTopClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_top_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_padding_top_resolve_enum; property_class->resolve_percent = fo_property_util_resolve_ipdim_percent; property_class->validate = fo_property_padding_top_validate; property_class->get_initial = fo_property_padding_top_get_initial; } /** * fo_property_padding_top_finalize: * @object: #FoPropertyPaddingTop object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPaddingTop. **/ void fo_property_padding_top_finalize (GObject *object) { FoPropertyPaddingTop *padding_top; padding_top = FO_PROPERTY_PADDING_TOP (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_top_new: * * Creates a new #FoPropertyPaddingTop initialized to default value. * * Return value: the new #FoPropertyPaddingTop. **/ FoProperty* fo_property_padding_top_new (void) { FoProperty* padding_top; padding_top = FO_PROPERTY (g_object_new (fo_property_padding_top_get_type (), NULL)); return padding_top; } /** * fo_property_padding_top_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_padding_top_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_padding_top_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_top_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_top_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_top_get_initial (void) { static FoProperty *padding_top = NULL; if (padding_top == NULL) { padding_top = fo_property_padding_top_new (); } return padding_top; } xmlroff-0.6.2/libfo/property/fo-property-padding-top.h0000644000175000017500000000307610770023365017750 00000000000000/* Fo * fo-property-padding-top.h: 'padding-top' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_TOP_H__ #define __FO_PROPERTY_PADDING_TOP_H__ #include #include G_BEGIN_DECLS /* padding-top */ /* | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_PADDING_TOP (fo_property_padding_top_get_type ()) #define FO_PROPERTY_PADDING_TOP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING_TOP, FoPropertyPaddingTop)) #define FO_PROPERTY_PADDING_TOP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING_TOP, FoPropertyPaddingTopClass)) #define FO_IS_PROPERTY_PADDING_TOP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING_TOP)) #define FO_IS_PROPERTY_PADDING_TOP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING_TOP)) #define FO_PROPERTY_PADDING_TOP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING_TOP, FoPropertyPaddingTopClass)) typedef struct _FoPropertyPaddingTop FoPropertyPaddingTop; typedef struct _FoPropertyPaddingTopClass FoPropertyPaddingTopClass; GType fo_property_padding_top_get_type (void) G_GNUC_CONST; FoProperty* fo_property_padding_top_new (void); FoProperty* fo_property_padding_top_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_TOP_H__ */ xmlroff-0.6.2/libfo/property/fo-property-padding.c0000644000175000017500000001331710660107746017146 00000000000000/* Fo * fo-property-padding.c: 'padding' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-padding.h" #include "property/fo-property-util.h" /* padding */ /* Inherited: FALSE */ /* Shorthand: TRUE */ /* {1,4} | inherit */ /* Initial value: not defined for shorthand properties */ struct _FoPropertyPadding { FoProperty parent_instance; }; struct _FoPropertyPaddingClass { FoPropertyClass parent_class; }; static void fo_property_padding_init (FoPropertyPadding *property_padding); static void fo_property_padding_class_init (FoPropertyPaddingClass *klass); static void fo_property_padding_finalize (GObject *object); static FoDatatype* fo_property_padding_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "padding"; static gpointer parent_class; /** * fo_property_padding_get_type: * * Register the #FoPropertyPadding type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPadding. **/ GType fo_property_padding_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPaddingClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_padding_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPadding), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_padding_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_padding_init: * @padding: #FoPropertyPadding object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPadding. **/ void fo_property_padding_init (FoPropertyPadding *padding) { FO_PROPERTY (padding)->value = NULL; } /** * fo_property_padding_class_init: * @klass: #FoPropertyPaddingClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPaddingClass. **/ void fo_property_padding_class_init (FoPropertyPaddingClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_padding_finalize; property_class->expr_eval = fo_expr_padding_eval; property_class->is_inherited = FALSE; property_class->is_shorthand = TRUE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->resolve_percent = fo_property_util_resolve_ipdim_percent; property_class->validate = fo_property_padding_validate; property_class->get_initial = fo_property_padding_get_initial; } /** * fo_property_padding_finalize: * @object: #FoPropertyPadding object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPadding. **/ void fo_property_padding_finalize (GObject *object) { FoPropertyPadding *padding; padding = FO_PROPERTY_PADDING (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_padding_new: * * Creates a new #FoPropertyPadding initialized to default value. * * Return value: the new #FoPropertyPadding. **/ FoProperty* fo_property_padding_new (void) { FoProperty* padding; padding = FO_PROPERTY (g_object_new (fo_property_padding_get_type (), NULL)); return padding; } /** * fo_property_padding_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_padding_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_TBLR (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_padding_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_padding_get_initial (void) { static FoProperty *padding = NULL; if (padding == NULL) { padding = fo_property_padding_new (); } return padding; } xmlroff-0.6.2/libfo/property/fo-property-padding.h0000644000175000017500000000277310770023365017153 00000000000000/* Fo * fo-property-padding.h: 'padding' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PADDING_H__ #define __FO_PROPERTY_PADDING_H__ #include #include G_BEGIN_DECLS /* padding */ /* {1,4} | inherit */ /* Initial value: not defined for shorthand properties */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_PADDING (fo_property_padding_get_type ()) #define FO_PROPERTY_PADDING(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PADDING, FoPropertyPadding)) #define FO_PROPERTY_PADDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PADDING, FoPropertyPaddingClass)) #define FO_IS_PROPERTY_PADDING(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PADDING)) #define FO_IS_PROPERTY_PADDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PADDING)) #define FO_PROPERTY_PADDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PADDING, FoPropertyPaddingClass)) typedef struct _FoPropertyPadding FoPropertyPadding; typedef struct _FoPropertyPaddingClass FoPropertyPaddingClass; GType fo_property_padding_get_type (void) G_GNUC_CONST; FoProperty* fo_property_padding_new (void); FoProperty* fo_property_padding_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PADDING_H__ */ xmlroff-0.6.2/libfo/property/fo-property-page-height.c0000644000175000017500000002045010660107746017716 00000000000000/* Fo * fo-property-page-height.c: 'page-height' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-page-height.h" /* page-height */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | indefinite | | inherit */ /* Initial value: auto */ struct _FoPropertyPageHeight { FoProperty parent_instance; }; struct _FoPropertyPageHeightClass { FoPropertyClass parent_class; }; static void fo_property_page_height_init (FoPropertyPageHeight *property_page_height); static void fo_property_page_height_class_init (FoPropertyPageHeightClass *klass); static void fo_property_page_height_finalize (GObject *object); static FoDatatype* fo_property_page_height_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_page_height_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "page-height"; static gpointer parent_class; /** * fo_property_page_height_get_type: * * Register the #FoPropertyPageHeight type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPageHeight. **/ GType fo_property_page_height_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPageHeightClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_page_height_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPageHeight), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_page_height_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_page_height_init: * @page_height: #FoPropertyPageHeight object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPageHeight. **/ void fo_property_page_height_init (FoPropertyPageHeight *page_height) { FO_PROPERTY (page_height)->value = g_object_ref (fo_length_get_length_A4_height ()); } /** * fo_property_page_height_class_init: * @klass: #FoPropertyPageHeightClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPageHeightClass. **/ void fo_property_page_height_class_init (FoPropertyPageHeightClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_page_height_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_page_height_resolve_enum; property_class->validate = fo_property_page_height_validate; property_class->get_initial = fo_property_page_height_get_initial; } /** * fo_property_page_height_finalize: * @object: #FoPropertyPageHeight object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPageHeight. **/ void fo_property_page_height_finalize (GObject *object) { FoPropertyPageHeight *page_height; page_height = FO_PROPERTY_PAGE_HEIGHT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_page_height_new: * * Creates a new #FoPropertyPageHeight initialized to default value. * * Return value: the new #FoPropertyPageHeight. **/ FoProperty* fo_property_page_height_new (void) { FoProperty* page_height; page_height = FO_PROPERTY (g_object_new (fo_property_page_height_get_type (), NULL)); return page_height; } /** * fo_property_page_height_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_page_height_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_length_get_length_A4_height ()); } else if (strcmp (token, "indefinite") == 0) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_page_height_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_page_height_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_page_height_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_page_height_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_page_height_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_page_height_get_initial (void) { static FoProperty *page_height = NULL; if (page_height == NULL) { page_height = fo_property_page_height_new (); } return page_height; } xmlroff-0.6.2/libfo/property/fo-property-page-height.h0000644000175000017500000000314010770023365017714 00000000000000/* Fo * fo-property-page-height.h: 'page-height' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PAGE_HEIGHT_H__ #define __FO_PROPERTY_PAGE_HEIGHT_H__ #include #include G_BEGIN_DECLS /* page-height */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | indefinite | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_PAGE_HEIGHT (fo_property_page_height_get_type ()) #define FO_PROPERTY_PAGE_HEIGHT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PAGE_HEIGHT, FoPropertyPageHeight)) #define FO_PROPERTY_PAGE_HEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PAGE_HEIGHT, FoPropertyPageHeightClass)) #define FO_IS_PROPERTY_PAGE_HEIGHT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PAGE_HEIGHT)) #define FO_IS_PROPERTY_PAGE_HEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PAGE_HEIGHT)) #define FO_PROPERTY_PAGE_HEIGHT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PAGE_HEIGHT, FoPropertyPageHeightClass)) typedef struct _FoPropertyPageHeight FoPropertyPageHeight; typedef struct _FoPropertyPageHeightClass FoPropertyPageHeightClass; GType fo_property_page_height_get_type (void) G_GNUC_CONST; FoProperty* fo_property_page_height_new (void); FoProperty* fo_property_page_height_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PAGE_HEIGHT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-page-width.c0000644000175000017500000002033110660107746017563 00000000000000/* Fo * fo-property-page-width.c: 'page-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-page-width.h" /* page-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | indefinite | | inherit */ /* Initial value: auto */ struct _FoPropertyPageWidth { FoProperty parent_instance; }; struct _FoPropertyPageWidthClass { FoPropertyClass parent_class; }; static void fo_property_page_width_init (FoPropertyPageWidth *property_page_width); static void fo_property_page_width_class_init (FoPropertyPageWidthClass *klass); static void fo_property_page_width_finalize (GObject *object); static FoDatatype* fo_property_page_width_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_page_width_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "page-width"; static gpointer parent_class; /** * fo_property_page_width_get_type: * * Register the #FoPropertyPageWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyPageWidth. **/ GType fo_property_page_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyPageWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_page_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyPageWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_page_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_page_width_init: * @page_width: #FoPropertyPageWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyPageWidth. **/ void fo_property_page_width_init (FoPropertyPageWidth *page_width) { FO_PROPERTY (page_width)->value = g_object_ref (fo_length_get_length_A4_height ()); } /** * fo_property_page_width_class_init: * @klass: #FoPropertyPageWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyPageWidthClass. **/ void fo_property_page_width_class_init (FoPropertyPageWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_page_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_page_width_resolve_enum; property_class->validate = fo_property_page_width_validate; property_class->get_initial = fo_property_page_width_get_initial; } /** * fo_property_page_width_finalize: * @object: #FoPropertyPageWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyPageWidth. **/ void fo_property_page_width_finalize (GObject *object) { FoPropertyPageWidth *page_width; page_width = FO_PROPERTY_PAGE_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_page_width_new: * * Creates a new #FoPropertyPageWidth initialized to default value. * * Return value: the new #FoPropertyPageWidth. **/ FoProperty* fo_property_page_width_new (void) { FoProperty* page_width; page_width = FO_PROPERTY (g_object_new (fo_property_page_width_get_type (), NULL)); return page_width; } /** * fo_property_page_width_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_page_width_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_length_get_length_A4_width()); } else if (strcmp (token, "indefinite") == 0) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_page_width_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_page_width_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_page_width_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_page_width_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_page_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_page_width_get_initial (void) { static FoProperty *page_width = NULL; if (page_width == NULL) { page_width = fo_property_page_width_new (); } return page_width; } xmlroff-0.6.2/libfo/property/fo-property-page-width.h0000644000175000017500000000310410770023365017563 00000000000000/* Fo * fo-property-page-width.h: 'page-width' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PAGE_WIDTH_H__ #define __FO_PROPERTY_PAGE_WIDTH_H__ #include #include G_BEGIN_DECLS /* page-width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | indefinite | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_PAGE_WIDTH (fo_property_page_width_get_type ()) #define FO_PROPERTY_PAGE_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PAGE_WIDTH, FoPropertyPageWidth)) #define FO_PROPERTY_PAGE_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PAGE_WIDTH, FoPropertyPageWidthClass)) #define FO_IS_PROPERTY_PAGE_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PAGE_WIDTH)) #define FO_IS_PROPERTY_PAGE_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PAGE_WIDTH)) #define FO_PROPERTY_PAGE_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PAGE_WIDTH, FoPropertyPageWidthClass)) typedef struct _FoPropertyPageWidth FoPropertyPageWidth; typedef struct _FoPropertyPageWidthClass FoPropertyPageWidthClass; GType fo_property_page_width_get_type (void) G_GNUC_CONST; FoProperty* fo_property_page_width_new (void); FoProperty* fo_property_page_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PAGE_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-provisional-distance-between-starts.c0000644000175000017500000001667710674202706024653 00000000000000/* Fo * fo-property-provisional-distance-between-starts.c: 'provisional-distance-between-starts' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-provisional-distance-between-starts.h" #include "property/fo-property-util.h" /* provisional-distance-between-starts */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 24.0pt */ struct _FoPropertyProvisionalDistanceBetweenStarts { FoProperty parent_instance; }; struct _FoPropertyProvisionalDistanceBetweenStartsClass { FoPropertyClass parent_class; }; static void fo_property_provisional_distance_between_starts_init (FoPropertyProvisionalDistanceBetweenStarts *property_provisional_distance_between_starts); static void fo_property_provisional_distance_between_starts_class_init (FoPropertyProvisionalDistanceBetweenStartsClass *klass); static void fo_property_provisional_distance_between_starts_finalize (GObject *object); static FoDatatype* fo_property_provisional_distance_between_starts_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "provisional-distance-between-starts"; static gpointer parent_class; /** * fo_property_provisional_distance_between_starts_get_type: * * Register the #FoPropertyProvisionalDistanceBetweenStarts type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyProvisionalDistanceBetweenStarts. **/ GType fo_property_provisional_distance_between_starts_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyProvisionalDistanceBetweenStartsClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_provisional_distance_between_starts_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyProvisionalDistanceBetweenStarts), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_provisional_distance_between_starts_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_provisional_distance_between_starts_init: * @provisional_distance_between_starts: #FoPropertyProvisionalDistanceBetweenStarts object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyProvisionalDistanceBetweenStarts. **/ void fo_property_provisional_distance_between_starts_init (FoPropertyProvisionalDistanceBetweenStarts *provisional_distance_between_starts) { FO_PROPERTY (provisional_distance_between_starts)->value = g_object_ref (fo_length_get_length_24pt ()); } /** * fo_property_provisional_distance_between_starts_class_init: * @klass: #FoPropertyProvisionalDistanceBetweenStartsClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyProvisionalDistanceBetweenStartsClass. **/ void fo_property_provisional_distance_between_starts_class_init (FoPropertyProvisionalDistanceBetweenStartsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_provisional_distance_between_starts_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_provisional_distance_between_starts_validate; property_class->get_initial = fo_property_provisional_distance_between_starts_get_initial; } /** * fo_property_provisional_distance_between_starts_finalize: * @object: #FoPropertyProvisionalDistanceBetweenStarts object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyProvisionalDistanceBetweenStarts. **/ void fo_property_provisional_distance_between_starts_finalize (GObject *object) { FoPropertyProvisionalDistanceBetweenStarts *provisional_distance_between_starts; provisional_distance_between_starts = FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_provisional_distance_between_starts_new: * * Creates a new #FoPropertyProvisionalDistanceBetweenStarts initialized to default value. * * Return value: the new #FoPropertyProvisionalDistanceBetweenStarts. **/ FoProperty* fo_property_provisional_distance_between_starts_new (void) { FoProperty* provisional_distance_between_starts; provisional_distance_between_starts = FO_PROPERTY (g_object_new (fo_property_provisional_distance_between_starts_get_type (), NULL)); return provisional_distance_between_starts; } /** * fo_property_provisional_distance_between_starts_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_provisional_distance_between_starts_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_provisional_distance_between_starts_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_provisional_distance_between_starts_get_initial (void) { static FoProperty *provisional_distance_between_starts = NULL; if (provisional_distance_between_starts == NULL) { provisional_distance_between_starts = fo_property_provisional_distance_between_starts_new (); } return provisional_distance_between_starts; } xmlroff-0.6.2/libfo/property/fo-property-provisional-distance-between-starts.h0000644000175000017500000000435610770023365024646 00000000000000/* Fo * fo-property-provisional-distance-between-starts.h: 'provisional-distance-between-starts' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS_H__ #define __FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS_H__ #include #include G_BEGIN_DECLS /* provisional-distance-between-starts */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 24.0pt */ #define FO_TYPE_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS (fo_property_provisional_distance_between_starts_get_type ()) #define FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS, FoPropertyProvisionalDistanceBetweenStarts)) #define FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS, FoPropertyProvisionalDistanceBetweenStartsClass)) #define FO_IS_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS)) #define FO_IS_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS)) #define FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS, FoPropertyProvisionalDistanceBetweenStartsClass)) typedef struct _FoPropertyProvisionalDistanceBetweenStarts FoPropertyProvisionalDistanceBetweenStarts; typedef struct _FoPropertyProvisionalDistanceBetweenStartsClass FoPropertyProvisionalDistanceBetweenStartsClass; GType fo_property_provisional_distance_between_starts_get_type (void) G_GNUC_CONST; FoProperty* fo_property_provisional_distance_between_starts_new (void); FoProperty* fo_property_provisional_distance_between_starts_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS_H__ */ xmlroff-0.6.2/libfo/property/fo-property-provisional-label-separation.c0000644000175000017500000001577310660107746023335 00000000000000/* Fo * fo-property-provisional-label-separation.c: 'provisional-label-separation' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-provisional-label-separation.h" #include "property/fo-property-util.h" /* provisional-label-separation */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 6.0pt */ struct _FoPropertyProvisionalLabelSeparation { FoProperty parent_instance; }; struct _FoPropertyProvisionalLabelSeparationClass { FoPropertyClass parent_class; }; static void fo_property_provisional_label_separation_init (FoPropertyProvisionalLabelSeparation *property_provisional_label_separation); static void fo_property_provisional_label_separation_class_init (FoPropertyProvisionalLabelSeparationClass *klass); static void fo_property_provisional_label_separation_finalize (GObject *object); static FoDatatype* fo_property_provisional_label_separation_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "provisional-label-separation"; static gpointer parent_class; /** * fo_property_provisional_label_separation_get_type: * * Register the #FoPropertyProvisionalLabelSeparation type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyProvisionalLabelSeparation. **/ GType fo_property_provisional_label_separation_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyProvisionalLabelSeparationClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_provisional_label_separation_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyProvisionalLabelSeparation), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_provisional_label_separation_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_provisional_label_separation_init: * @provisional_label_separation: #FoPropertyProvisionalLabelSeparation object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyProvisionalLabelSeparation. **/ void fo_property_provisional_label_separation_init (FoPropertyProvisionalLabelSeparation *provisional_label_separation) { FO_PROPERTY (provisional_label_separation)->value = g_object_ref (fo_length_get_length_6pt ()); } /** * fo_property_provisional_label_separation_class_init: * @klass: #FoPropertyProvisionalLabelSeparationClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyProvisionalLabelSeparationClass. **/ void fo_property_provisional_label_separation_class_init (FoPropertyProvisionalLabelSeparationClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_provisional_label_separation_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_provisional_label_separation_validate; property_class->get_initial = fo_property_provisional_label_separation_get_initial; } /** * fo_property_provisional_label_separation_finalize: * @object: #FoPropertyProvisionalLabelSeparation object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyProvisionalLabelSeparation. **/ void fo_property_provisional_label_separation_finalize (GObject *object) { FoPropertyProvisionalLabelSeparation *provisional_label_separation; provisional_label_separation = FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_provisional_label_separation_new: * * Creates a new #FoPropertyProvisionalLabelSeparation initialized to default value. * * Return value: the new #FoPropertyProvisionalLabelSeparation. **/ FoProperty* fo_property_provisional_label_separation_new (void) { FoProperty* provisional_label_separation; provisional_label_separation = FO_PROPERTY (g_object_new (fo_property_provisional_label_separation_get_type (), NULL)); return provisional_label_separation; } /** * fo_property_provisional_label_separation_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_provisional_label_separation_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_provisional_label_separation_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_provisional_label_separation_get_initial (void) { static FoProperty *provisional_label_separation = NULL; if (provisional_label_separation == NULL) { provisional_label_separation = fo_property_provisional_label_separation_new (); } return provisional_label_separation; } xmlroff-0.6.2/libfo/property/fo-property-provisional-label-separation.h0000644000175000017500000000406310770023365023324 00000000000000/* Fo * fo-property-provisional-label-separation.h: 'provisional-label-separation' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION_H__ #define __FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION_H__ #include #include G_BEGIN_DECLS /* provisional-label-separation */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | | inherit */ /* Initial value: 6.0pt */ #define FO_TYPE_PROPERTY_PROVISIONAL_LABEL_SEPARATION (fo_property_provisional_label_separation_get_type ()) #define FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PROVISIONAL_LABEL_SEPARATION, FoPropertyProvisionalLabelSeparation)) #define FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PROVISIONAL_LABEL_SEPARATION, FoPropertyProvisionalLabelSeparationClass)) #define FO_IS_PROPERTY_PROVISIONAL_LABEL_SEPARATION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PROVISIONAL_LABEL_SEPARATION)) #define FO_IS_PROPERTY_PROVISIONAL_LABEL_SEPARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PROVISIONAL_LABEL_SEPARATION)) #define FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PROVISIONAL_LABEL_SEPARATION, FoPropertyProvisionalLabelSeparationClass)) typedef struct _FoPropertyProvisionalLabelSeparation FoPropertyProvisionalLabelSeparation; typedef struct _FoPropertyProvisionalLabelSeparationClass FoPropertyProvisionalLabelSeparationClass; GType fo_property_provisional_label_separation_get_type (void) G_GNUC_CONST; FoProperty * fo_property_provisional_label_separation_new (void); FoProperty * fo_property_provisional_label_separation_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION_H__ */ xmlroff-0.6.2/libfo/property/fo-property-ref-id.c0000644000175000017500000001550510660107747016710 00000000000000/* Fo * fo-property-ref-id.c: 'ref-id' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-ref-id.h" /* ref-id */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none, value required */ struct _FoPropertyRefId { FoProperty parent_instance; }; struct _FoPropertyRefIdClass { FoPropertyClass parent_class; }; static void fo_property_ref_id_init (FoPropertyRefId *property_ref_id); static void fo_property_ref_id_class_init (FoPropertyRefIdClass *klass); static void fo_property_ref_id_finalize (GObject *object); static FoDatatype * fo_property_ref_id_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_ref_id_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "ref-id"; static gpointer parent_class; /** * fo_property_ref_id_get_type: * * Register the #FoPropertyRefId type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyRefId. **/ GType fo_property_ref_id_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyRefIdClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_ref_id_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyRefId), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_ref_id_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_ref_id_init: * @ref_id: #FoPropertyRefId object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyRefId. **/ void fo_property_ref_id_init (FoPropertyRefId *ref_id) { FO_PROPERTY (ref_id)->value = NULL; } /** * fo_property_ref_id_class_init: * @klass: #FoPropertyRefIdClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyRefIdClass. **/ void fo_property_ref_id_class_init (FoPropertyRefIdClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_ref_id_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_ref_id_resolve_enum; property_class->validate = fo_property_ref_id_validate; property_class->get_initial = fo_property_ref_id_get_initial; } /** * fo_property_ref_id_finalize: * @object: #FoPropertyRefId object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyRefId. **/ void fo_property_ref_id_finalize (GObject *object) { FoPropertyRefId *ref_id; ref_id = FO_PROPERTY_REF_ID (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_ref_id_new: * * Creates a new #FoPropertyRefId initialized to default value. * * Return value: the new #FoPropertyRefId. **/ FoProperty* fo_property_ref_id_new (void) { FoProperty* ref_id; ref_id = FO_PROPERTY (g_object_new (fo_property_ref_id_get_type (), NULL)); return ref_id; } /** * fo_property_ref_id_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_ref_id_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_ref_id_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_ref_id_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_NAME (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_ref_id_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_ref_id_get_initial (void) { static FoProperty *ref_id = NULL; if (ref_id == NULL) { ref_id = fo_property_ref_id_new (); } return ref_id; } xmlroff-0.6.2/libfo/property/fo-property-ref-id.h0000644000175000017500000000316210770023365016704 00000000000000/* Fo * fo-property-ref-id.h: 'ref-id' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_REF_ID_H__ #define __FO_PROPERTY_REF_ID_H__ #include #include G_BEGIN_DECLS /* ref-id */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none, value required */ #define FO_TYPE_PROPERTY_REF_ID (fo_property_ref_id_get_type ()) #define FO_PROPERTY_REF_ID(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_REF_ID, FoPropertyRefId)) #define FO_PROPERTY_REF_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_REF_ID, FoPropertyRefIdClass)) #define FO_IS_PROPERTY_REF_ID(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_REF_ID)) #define FO_IS_PROPERTY_REF_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_REF_ID)) #define FO_PROPERTY_REF_ID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_REF_ID, FoPropertyRefIdClass)) /** * FoPropertyRefId: * * Instance of the 'ref-id' property. **/ typedef struct _FoPropertyRefId FoPropertyRefId; /** * FoPropertyRefIdClass: * * Class structure for the 'ref-id' property. **/ typedef struct _FoPropertyRefIdClass FoPropertyRefIdClass; GType fo_property_ref_id_get_type (void) G_GNUC_CONST; FoProperty * fo_property_ref_id_new (void); FoProperty * fo_property_ref_id_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_REF_ID_H__ */ xmlroff-0.6.2/libfo/property/fo-property-region-name.c0000644000175000017500000002211610660107746017736 00000000000000/* Fo * fo-property-region-name.c: 'region-name' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-region-name.h" /* region-name */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* xsl-region-body | xsl-region-start | xsl-region-end | xsl-region-before | xsl-region-after | xsl-before-float-separator | xsl-footnote-separator | */ /* Initial value: see prose */ struct _FoPropertyRegionName { FoProperty parent_instance; }; struct _FoPropertyRegionNameClass { FoPropertyClass parent_class; }; static void fo_property_region_name_init (FoPropertyRegionName *property_region_name); static void fo_property_region_name_class_init (FoPropertyRegionNameClass *klass); static void fo_property_region_name_finalize (GObject *object); static FoDatatype* fo_property_region_name_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_region_name_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "region-name"; static gpointer parent_class; /** * fo_property_region_name_get_type: * * Register the #FoPropertyRegionName type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyRegionName. **/ GType fo_property_region_name_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyRegionNameClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_region_name_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyRegionName), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_region_name_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_region_name_init: * @region_name: #FoPropertyRegionName object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyRegionName. **/ void fo_property_region_name_init (FoPropertyRegionName *region_name) { FO_PROPERTY (region_name)->value = NULL; } /** * fo_property_region_name_class_init: * @klass: #FoPropertyRegionNameClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyRegionNameClass. **/ void fo_property_region_name_class_init (FoPropertyRegionNameClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_region_name_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_region_name_resolve_enum; property_class->validate = fo_property_region_name_validate; property_class->get_initial = fo_property_region_name_get_initial; } /** * fo_property_region_name_finalize: * @object: #FoPropertyRegionName object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyRegionName. **/ void fo_property_region_name_finalize (GObject *object) { FoPropertyRegionName *region_name; region_name = FO_PROPERTY_REGION_NAME (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_region_name_new: * * Creates a new #FoPropertyRegionName initialized to default value. * * Return value: the new #FoPropertyRegionName. **/ FoProperty* fo_property_region_name_new (void) { FoProperty* region_name; region_name = FO_PROPERTY (g_object_new (fo_property_region_name_get_type (), NULL)); return region_name; } /** * fo_property_region_name_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_region_name_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "xsl-region-body") == 0) || (strcmp (token, "xsl-region-start") == 0) || (strcmp (token, "xsl-region-end") == 0) || (strcmp (token, "xsl-region-before") == 0) || (strcmp (token, "xsl-region-after") == 0) || (strcmp (token, "xsl-before-float-separator") == 0) || (strcmp (token, "xsl-footnote-separator") == 0)) { return fo_name_new_with_value(token); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_region_name_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_region_name_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_XSL_REGION_BODY) || (value == FO_ENUM_ENUM_XSL_REGION_START) || (value == FO_ENUM_ENUM_XSL_REGION_END) || (value == FO_ENUM_ENUM_XSL_REGION_BEFORE) || (value == FO_ENUM_ENUM_XSL_REGION_AFTER) || (value == FO_ENUM_ENUM_XSL_BEFORE_FLOAT_SEPARATOR) || (value == FO_ENUM_ENUM_XSL_FOOTNOTE_SEPARATOR)) { return fo_name_new_with_value(fo_enum_get_nick(datatype)); } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_region_name_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_region_name_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_region_name_get_initial (void) { static FoProperty *region_name = NULL; if (region_name == NULL) { region_name = fo_property_region_name_new (); } return region_name; } xmlroff-0.6.2/libfo/property/fo-property-region-name.h0000644000175000017500000000333010770023365017734 00000000000000/* Fo * fo-property-region-name.h: 'region-name' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_REGION_NAME_H__ #define __FO_PROPERTY_REGION_NAME_H__ #include #include G_BEGIN_DECLS /* region-name */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* xsl-region-body | xsl-region-start | xsl-region-end | xsl-region-before | xsl-region-after | xsl-before-float-separator | xsl-footnote-separator | */ /* Initial value: see prose */ #define FO_TYPE_PROPERTY_REGION_NAME (fo_property_region_name_get_type ()) #define FO_PROPERTY_REGION_NAME(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_REGION_NAME, FoPropertyRegionName)) #define FO_PROPERTY_REGION_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_REGION_NAME, FoPropertyRegionNameClass)) #define FO_IS_PROPERTY_REGION_NAME(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_REGION_NAME)) #define FO_IS_PROPERTY_REGION_NAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_REGION_NAME)) #define FO_PROPERTY_REGION_NAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_REGION_NAME, FoPropertyRegionNameClass)) typedef struct _FoPropertyRegionName FoPropertyRegionName; typedef struct _FoPropertyRegionNameClass FoPropertyRegionNameClass; GType fo_property_region_name_get_type (void) G_GNUC_CONST; FoProperty* fo_property_region_name_new (void); FoProperty* fo_property_region_name_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_REGION_NAME_H__ */ xmlroff-0.6.2/libfo/property/fo-property-role.c0000644000175000017500000002033710660107746016501 00000000000000/* Fo * fo-property-role.c: 'role' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-role.h" /* role */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | none | inherit */ /* Initial value: none */ struct _FoPropertyRole { FoProperty parent_instance; }; struct _FoPropertyRoleClass { FoPropertyClass parent_class; }; static void fo_property_role_init (FoPropertyRole *property_role); static void fo_property_role_class_init (FoPropertyRoleClass *klass); static void fo_property_role_finalize (GObject *object); static FoDatatype * fo_property_role_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_role_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "role"; static gpointer parent_class; /** * fo_property_role_get_type: * * Register the #FoPropertyRole type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyRole. **/ GType fo_property_role_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyRoleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_role_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyRole), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_role_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_role_init: * @role: #FoPropertyRole object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyRole. **/ void fo_property_role_init (FoPropertyRole *role) { FO_PROPERTY (role)->value = g_object_ref (fo_enum_get_enum_by_nick ("none")); } /** * fo_property_role_class_init: * @klass: #FoPropertyRoleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyRoleClass. **/ void fo_property_role_class_init (FoPropertyRoleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_role_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_role_resolve_enum; property_class->validate = fo_property_role_validate; property_class->get_initial = fo_property_role_get_initial; } /** * fo_property_role_finalize: * @object: #FoPropertyRole object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyRole. **/ void fo_property_role_finalize (GObject *object) { FoPropertyRole *role; role = FO_PROPERTY_ROLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_role_new: * * Creates a new #FoPropertyRole initialized to default value. * * Return value: the new #FoPropertyRole. **/ FoProperty* fo_property_role_new (void) { FoProperty* role; role = FO_PROPERTY (g_object_new (fo_property_role_get_type (), NULL)); return role; } /** * fo_property_role_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_role_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "none") == 0) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_role_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_role_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_STRING (datatype)) { return datatype; } else if (FO_IS_URI_SPECIFICATION (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_NONE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_role_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_role_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_role_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_role_get_initial (void) { static FoProperty *role = NULL; if (role == NULL) { role = fo_property_role_new (); } return role; } xmlroff-0.6.2/libfo/property/fo-property-role.h0000644000175000017500000000266410770023365016505 00000000000000/* Fo * fo-property-role.h: 'role' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_ROLE_H__ #define __FO_PROPERTY_ROLE_H__ #include #include G_BEGIN_DECLS /* role */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | none | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_ROLE (fo_property_role_get_type ()) #define FO_PROPERTY_ROLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_ROLE, FoPropertyRole)) #define FO_PROPERTY_ROLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_ROLE, FoPropertyRoleClass)) #define FO_IS_PROPERTY_ROLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_ROLE)) #define FO_IS_PROPERTY_ROLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_ROLE)) #define FO_PROPERTY_ROLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_ROLE, FoPropertyRoleClass)) typedef struct _FoPropertyRole FoPropertyRole; typedef struct _FoPropertyRoleClass FoPropertyRoleClass; GType fo_property_role_get_type (void) G_GNUC_CONST; FoProperty * fo_property_role_new (void); FoProperty * fo_property_role_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_ROLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-scaling.c0000644000175000017500000001756010660107747017165 00000000000000/* Fo * fo-property-scaling.c: 'scaling' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-scaling.h" /* scaling */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* uniform | non-uniform | inherit */ /* Initial value: uniform */ struct _FoPropertyScaling { FoProperty parent_instance; }; struct _FoPropertyScalingClass { FoPropertyClass parent_class; }; static void fo_property_scaling_init (FoPropertyScaling *property_scaling); static void fo_property_scaling_class_init (FoPropertyScalingClass *klass); static void fo_property_scaling_finalize (GObject *object); static FoDatatype* fo_property_scaling_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_scaling_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "scaling"; static gpointer parent_class; /** * fo_property_scaling_get_type: * * Register the #FoPropertyScaling type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyScaling. **/ GType fo_property_scaling_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyScalingClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_scaling_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyScaling), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_scaling_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_scaling_init: * @scaling: #FoPropertyScaling object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyScaling. **/ void fo_property_scaling_init (FoPropertyScaling *scaling) { FO_PROPERTY (scaling)->value = g_object_ref (fo_enum_get_enum_uniform ()); } /** * fo_property_scaling_class_init: * @klass: #FoPropertyScalingClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyScalingClass. **/ void fo_property_scaling_class_init (FoPropertyScalingClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_scaling_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_scaling_resolve_enum; property_class->validate = fo_property_scaling_validate; property_class->get_initial = fo_property_scaling_get_initial; } /** * fo_property_scaling_finalize: * @object: #FoPropertyScaling object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyScaling. **/ void fo_property_scaling_finalize (GObject *object) { FoPropertyScaling *scaling; scaling = FO_PROPERTY_SCALING (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_scaling_new: * * Creates a new #FoPropertyScaling initialized to default value. * * Return value: the new #FoPropertyScaling. **/ FoProperty* fo_property_scaling_new (void) { FoProperty* scaling; scaling = FO_PROPERTY (g_object_new (fo_property_scaling_get_type (), NULL)); return scaling; } /** * fo_property_scaling_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_scaling_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "uniform") == 0) || (strcmp (token, "non-uniform") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_scaling_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_scaling_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_scaling_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_scaling_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_scaling_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_scaling_get_initial (void) { static FoProperty *scaling = NULL; if (scaling == NULL) { scaling = fo_property_scaling_new (); } return scaling; } xmlroff-0.6.2/libfo/property/fo-property-scaling.h0000644000175000017500000000276310770023365017164 00000000000000/* Fo * fo-property-scaling.h: 'scaling' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SCALING_H__ #define __FO_PROPERTY_SCALING_H__ #include #include G_BEGIN_DECLS /* scaling */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* uniform | non-uniform | inherit */ /* Initial value: uniform */ #define FO_TYPE_PROPERTY_SCALING (fo_property_scaling_get_type ()) #define FO_PROPERTY_SCALING(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SCALING, FoPropertyScaling)) #define FO_PROPERTY_SCALING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SCALING, FoPropertyScalingClass)) #define FO_IS_PROPERTY_SCALING(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SCALING)) #define FO_IS_PROPERTY_SCALING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SCALING)) #define FO_PROPERTY_SCALING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SCALING, FoPropertyScalingClass)) typedef struct _FoPropertyScaling FoPropertyScaling; typedef struct _FoPropertyScalingClass FoPropertyScalingClass; GType fo_property_scaling_get_type (void) G_GNUC_CONST; FoProperty* fo_property_scaling_new (void); FoProperty* fo_property_scaling_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SCALING_H__ */ xmlroff-0.6.2/libfo/property/fo-property-scaling-method.c0000644000175000017500000002067610660107746020444 00000000000000/* Fo * fo-property-scaling-method.c: 'scaling-method' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-scaling-method.h" /* scaling-method */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | integer-pixels | resample-any-method | inherit */ /* Initial value: auto */ struct _FoPropertyScalingMethod { FoProperty parent_instance; }; struct _FoPropertyScalingMethodClass { FoPropertyClass parent_class; }; static void fo_property_scaling_method_init (FoPropertyScalingMethod *property_scaling_method); static void fo_property_scaling_method_class_init (FoPropertyScalingMethodClass *klass); static void fo_property_scaling_method_finalize (GObject *object); static FoDatatype* fo_property_scaling_method_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_scaling_method_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "scaling-method"; static gpointer parent_class; /** * fo_property_scaling_method_get_type: * * Register the #FoPropertyScalingMethod type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyScalingMethod. **/ GType fo_property_scaling_method_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyScalingMethodClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_scaling_method_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyScalingMethod), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_scaling_method_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_scaling_method_init: * @scaling_method: #FoPropertyScalingMethod object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyScalingMethod. **/ void fo_property_scaling_method_init (FoPropertyScalingMethod *scaling_method) { FO_PROPERTY (scaling_method)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_scaling_method_class_init: * @klass: #FoPropertyScalingMethodClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyScalingMethodClass. **/ void fo_property_scaling_method_class_init (FoPropertyScalingMethodClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_scaling_method_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_scaling_method_resolve_enum; property_class->validate = fo_property_scaling_method_validate; property_class->get_initial = fo_property_scaling_method_get_initial; } /** * fo_property_scaling_method_finalize: * @object: #FoPropertyScalingMethod object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyScalingMethod. **/ void fo_property_scaling_method_finalize (GObject *object) { FoPropertyScalingMethod *scaling_method; scaling_method = FO_PROPERTY_SCALING_METHOD (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_scaling_method_new: * * Creates a new #FoPropertyScalingMethod initialized to default value. * * Return value: the new #FoPropertyScalingMethod. **/ FoProperty* fo_property_scaling_method_new (void) { FoProperty* scaling_method; scaling_method = FO_PROPERTY (g_object_new (fo_property_scaling_method_get_type (), NULL)); return scaling_method; } /** * fo_property_scaling_method_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_scaling_method_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "integer-pixels") == 0) || (strcmp (token, "resample-any-method") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_scaling_method_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_scaling_method_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_scaling_method_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_scaling_method_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_scaling_method_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_scaling_method_get_initial (void) { static FoProperty *scaling_method = NULL; if (scaling_method == NULL) { scaling_method = fo_property_scaling_method_new (); } return scaling_method; } xmlroff-0.6.2/libfo/property/fo-property-scaling-method.h0000644000175000017500000000330310770023365020431 00000000000000/* Fo * fo-property-scaling-method.h: 'scaling-method' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SCALING_METHOD_H__ #define __FO_PROPERTY_SCALING_METHOD_H__ #include #include G_BEGIN_DECLS /* scaling-method */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | integer-pixels | resample-any-method | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_SCALING_METHOD (fo_property_scaling_method_get_type ()) #define FO_PROPERTY_SCALING_METHOD(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SCALING_METHOD, FoPropertyScalingMethod)) #define FO_PROPERTY_SCALING_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SCALING_METHOD, FoPropertyScalingMethodClass)) #define FO_IS_PROPERTY_SCALING_METHOD(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SCALING_METHOD)) #define FO_IS_PROPERTY_SCALING_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SCALING_METHOD)) #define FO_PROPERTY_SCALING_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SCALING_METHOD, FoPropertyScalingMethodClass)) typedef struct _FoPropertyScalingMethod FoPropertyScalingMethod; typedef struct _FoPropertyScalingMethodClass FoPropertyScalingMethodClass; GType fo_property_scaling_method_get_type (void) G_GNUC_CONST; FoProperty* fo_property_scaling_method_new (void); FoProperty* fo_property_scaling_method_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SCALING_METHOD_H__ */ xmlroff-0.6.2/libfo/property/fo-property-score-spaces.c0000644000175000017500000002132310660107747020124 00000000000000/* Fo * fo-property-score-spaces.c: 'score-spaces' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-score-spaces.h" /* score-spaces */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* true | false | inherit */ /* Initial value: true */ struct _FoPropertyScoreSpaces { FoProperty parent_instance; }; struct _FoPropertyScoreSpacesClass { FoPropertyClass parent_class; }; static void fo_property_score_spaces_init (FoPropertyScoreSpaces *property_score_spaces); static void fo_property_score_spaces_class_init (FoPropertyScoreSpacesClass *klass); static void fo_property_score_spaces_finalize (GObject *object); static FoDatatype * fo_property_score_spaces_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_score_spaces_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "score-spaces"; static gpointer parent_class; /** * fo_property_score_spaces_get_type: * * Register the #FoPropertyScoreSpaces type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyScoreSpaces. **/ GType fo_property_score_spaces_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyScoreSpacesClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_score_spaces_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyScoreSpaces), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_score_spaces_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_score_spaces_init: * @score_spaces: #FoPropertyScoreSpaces object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyScoreSpaces. **/ void fo_property_score_spaces_init (FoPropertyScoreSpaces *score_spaces) { FO_PROPERTY (score_spaces)->value = g_object_ref (fo_enum_get_enum_by_nick ("true")); } /** * fo_property_score_spaces_class_init: * @klass: #FoPropertyScoreSpacesClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyScoreSpacesClass. **/ void fo_property_score_spaces_class_init (FoPropertyScoreSpacesClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_score_spaces_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_score_spaces_resolve_enum; property_class->validate = fo_property_score_spaces_validate; property_class->get_initial = fo_property_score_spaces_get_initial; } /** * fo_property_score_spaces_finalize: * @object: #FoPropertyScoreSpaces object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyScoreSpaces. **/ void fo_property_score_spaces_finalize (GObject *object) { FoPropertyScoreSpaces *score_spaces; score_spaces = FO_PROPERTY_SCORE_SPACES (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_score_spaces_new: * * Creates a new #FoPropertyScoreSpaces initialized to default value. * * Return value: the new #FoPropertyScoreSpaces. **/ FoProperty* fo_property_score_spaces_new (void) { FoProperty* score_spaces; score_spaces = FO_PROPERTY (g_object_new (fo_property_score_spaces_get_type (), NULL)); return score_spaces; } /** * fo_property_score_spaces_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_score_spaces_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "true") == 0) || (strcmp (token, "false") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_score_spaces_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_score_spaces_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_TRUE) || (value == FO_ENUM_ENUM_FALSE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_score_spaces_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_score_spaces_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_score_spaces_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_score_spaces_get_initial (void) { static FoProperty *score_spaces = NULL; if (score_spaces == NULL) { score_spaces = fo_property_score_spaces_new (); } return score_spaces; } xmlroff-0.6.2/libfo/property/fo-property-score-spaces.h0000644000175000017500000000344510770023365020131 00000000000000/* Fo * fo-property-score-spaces.h: 'score-spaces' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SCORE_SPACES_H__ #define __FO_PROPERTY_SCORE_SPACES_H__ #include #include G_BEGIN_DECLS /* score-spaces */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* true | false | inherit */ /* Initial value: true */ #define FO_TYPE_PROPERTY_SCORE_SPACES (fo_property_score_spaces_get_type ()) #define FO_PROPERTY_SCORE_SPACES(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SCORE_SPACES, FoPropertyScoreSpaces)) #define FO_PROPERTY_SCORE_SPACES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SCORE_SPACES, FoPropertyScoreSpacesClass)) #define FO_IS_PROPERTY_SCORE_SPACES(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SCORE_SPACES)) #define FO_IS_PROPERTY_SCORE_SPACES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SCORE_SPACES)) #define FO_PROPERTY_SCORE_SPACES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SCORE_SPACES, FoPropertyScoreSpacesClass)) /** * FoPropertyScoreSpaces: * * Instance of the 'score-spaces' property. **/ typedef struct _FoPropertyScoreSpaces FoPropertyScoreSpaces; /** * FoPropertyScoreSpacesClass: * * Class structure for the 'score-spaces' property. **/ typedef struct _FoPropertyScoreSpacesClass FoPropertyScoreSpacesClass; GType fo_property_score_spaces_get_type (void) G_GNUC_CONST; FoProperty * fo_property_score_spaces_new (void); FoProperty * fo_property_score_spaces_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SCORE_SPACES_H__ */ xmlroff-0.6.2/libfo/property/fo-property-source-document.c0000644000175000017500000002205610660107746020654 00000000000000/* Fo * fo-property-source-document.c: 'source-document' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-source-document.h" /* source-document */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* []* | none | inherit */ /* Initial value: none */ struct _FoPropertySourceDocument { FoProperty parent_instance; }; struct _FoPropertySourceDocumentClass { FoPropertyClass parent_class; }; static void fo_property_source_document_init (FoPropertySourceDocument *property_source_document); static void fo_property_source_document_class_init (FoPropertySourceDocumentClass *klass); static void fo_property_source_document_finalize (GObject *object); static FoDatatype * fo_property_source_document_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_source_document_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "source-document"; static gpointer parent_class; /** * fo_property_source_document_get_type: * * Register the #FoPropertySourceDocument type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySourceDocument. **/ GType fo_property_source_document_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySourceDocumentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_source_document_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySourceDocument), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_source_document_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_source_document_init: * @source_document: #FoPropertySourceDocument object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySourceDocument. **/ void fo_property_source_document_init (FoPropertySourceDocument *source_document) { FO_PROPERTY (source_document)->value = g_object_ref (fo_enum_get_enum_by_nick ("none")); } /** * fo_property_source_document_class_init: * @klass: #FoPropertySourceDocumentClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySourceDocumentClass. **/ void fo_property_source_document_class_init (FoPropertySourceDocumentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_source_document_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_source_document_resolve_enum; property_class->validate = fo_property_source_document_validate; property_class->get_initial = fo_property_source_document_get_initial; } /** * fo_property_source_document_finalize: * @object: #FoPropertySourceDocument object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySourceDocument. **/ void fo_property_source_document_finalize (GObject *object) { FoPropertySourceDocument *source_document; source_document = FO_PROPERTY_SOURCE_DOCUMENT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_source_document_new: * * Creates a new #FoPropertySourceDocument initialized to default value. * * Return value: the new #FoPropertySourceDocument. **/ FoProperty* fo_property_source_document_new (void) { FoProperty* source_document; source_document = FO_PROPERTY (g_object_new (fo_property_source_document_get_type (), NULL)); return source_document; } /** * fo_property_source_document_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_source_document_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "none") == 0) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_source_document_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_source_document_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_URI_SPECIFICATION (datatype)) { return datatype; } else if (FO_IS_URI_SPECIFICATION (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if (value == FO_ENUM_ENUM_NONE) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_source_document_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_source_document_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_source_document_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_source_document_get_initial (void) { static FoProperty *source_document = NULL; if (source_document == NULL) { source_document = fo_property_source_document_new (); } return source_document; } xmlroff-0.6.2/libfo/property/fo-property-source-document.h0000644000175000017500000000365310770023365020657 00000000000000/* Fo * fo-property-source-document.h: 'source-document' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SOURCE_DOCUMENT_H__ #define __FO_PROPERTY_SOURCE_DOCUMENT_H__ #include #include G_BEGIN_DECLS /* source-document */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* []* | none | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_SOURCE_DOCUMENT (fo_property_source_document_get_type ()) #define FO_PROPERTY_SOURCE_DOCUMENT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SOURCE_DOCUMENT, FoPropertySourceDocument)) #define FO_PROPERTY_SOURCE_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SOURCE_DOCUMENT, FoPropertySourceDocumentClass)) #define FO_IS_PROPERTY_SOURCE_DOCUMENT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SOURCE_DOCUMENT)) #define FO_IS_PROPERTY_SOURCE_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SOURCE_DOCUMENT)) #define FO_PROPERTY_SOURCE_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SOURCE_DOCUMENT, FoPropertySourceDocumentClass)) /** * FoPropertySourceDocument: * * Instance of the 'source-document' property. **/ typedef struct _FoPropertySourceDocument FoPropertySourceDocument; /** * FoPropertySourceDocumentClass: * * Class structure for the 'source-document' property. **/ typedef struct _FoPropertySourceDocumentClass FoPropertySourceDocumentClass; GType fo_property_source_document_get_type (void) G_GNUC_CONST; FoProperty * fo_property_source_document_new (void); FoProperty * fo_property_source_document_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SOURCE_DOCUMENT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-after.c0000644000175000017500000001673110660107746017735 00000000000000/* Fo * fo-property-space-after.c: 'space-after' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-after.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* space-after */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertySpaceAfter { FoProperty parent_instance; }; struct _FoPropertySpaceAfterClass { FoPropertyClass parent_class; }; static void fo_property_space_after_init (FoPropertySpaceAfter *property_space_after); static void fo_property_space_after_class_init (FoPropertySpaceAfterClass *klass); static void fo_property_space_after_finalize (GObject *object); static FoDatatype* fo_property_space_after_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_space_after_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-after"; static gpointer parent_class; /** * fo_property_space_after_get_type: * * Register the #FoPropertySpaceAfter type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceAfter. **/ GType fo_property_space_after_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceAfterClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_after_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceAfter), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_after_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_after_init: * @space_after: #FoPropertySpaceAfter object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceAfter. **/ void fo_property_space_after_init (FoPropertySpaceAfter *space_after) { FO_PROPERTY (space_after)->value = g_object_ref (fo_space_get_space_0pt ()); } /** * fo_property_space_after_class_init: * @klass: #FoPropertySpaceAfterClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceAfterClass. **/ void fo_property_space_after_class_init (FoPropertySpaceAfterClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_after_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_space_after_resolve_enum; property_class->validate = fo_property_space_after_validate; property_class->get_initial = fo_property_space_after_get_initial; } /** * fo_property_space_after_finalize: * @object: #FoPropertySpaceAfter object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceAfter. **/ void fo_property_space_after_finalize (GObject *object) { FoPropertySpaceAfter *space_after; space_after = FO_PROPERTY_SPACE_AFTER (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_after_new: * * Creates a new #FoPropertySpaceAfter initialized to default value. * * Return value: the new #FoPropertySpaceAfter. **/ FoProperty* fo_property_space_after_new (void) { FoProperty* space_after; space_after = FO_PROPERTY (g_object_new (fo_property_space_after_get_type (), NULL)); return space_after; } /** * fo_property_space_after_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_space_after_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_space_after_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_after_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_SPACE (datatype)) { return datatype; } else if (FO_IS_LENGTH (datatype)) { new_datatype = fo_space_new_from_length (datatype); g_object_unref (datatype); return new_datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_after_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_after_get_initial (void) { static FoProperty *space_after = NULL; if (space_after == NULL) { space_after = fo_property_space_after_new (); } return space_after; } xmlroff-0.6.2/libfo/property/fo-property-space-after.h0000644000175000017500000000322710770023365017732 00000000000000/* Fo * fo-property-space-after.h: 'space-after' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_AFTER_H__ #define __FO_PROPERTY_SPACE_AFTER_H__ #include #include G_BEGIN_DECLS /* space-after */ /* | | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_SPACE_AFTER (fo_property_space_after_get_type ()) #define FO_PROPERTY_SPACE_AFTER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_AFTER, FoPropertySpaceAfter)) #define FO_PROPERTY_SPACE_AFTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_AFTER, FoPropertySpaceAfterClass)) #define FO_IS_PROPERTY_SPACE_AFTER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_AFTER)) #define FO_IS_PROPERTY_SPACE_AFTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_AFTER)) #define FO_PROPERTY_SPACE_AFTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_AFTER, FoPropertySpaceAfterClass)) typedef struct _FoPropertySpaceAfter FoPropertySpaceAfter; typedef struct _FoPropertySpaceAfterClass FoPropertySpaceAfterClass; GType fo_property_space_after_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_after_new (void); FoProperty* fo_property_space_after_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_AFTER_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-after-minimum.c0000644000175000017500000001463410660107747021407 00000000000000/* Fo * fo-property-space-after-minimum.c: 'space-after-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-after-minimum.h" #include "property/fo-property-util.h" /* space-after-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceAfterMinimum { FoProperty parent_instance; }; struct _FoPropertySpaceAfterMinimumClass { FoPropertyClass parent_class; }; static void fo_property_space_after_minimum_init (FoPropertySpaceAfterMinimum *property_space_after_minimum); static void fo_property_space_after_minimum_class_init (FoPropertySpaceAfterMinimumClass *klass); static void fo_property_space_after_minimum_finalize (GObject *object); static FoDatatype* fo_property_space_after_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-after-minimum"; static gpointer parent_class; /** * fo_property_space_after_minimum_get_type: * * Register the #FoPropertySpaceAfterMinimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceAfterMinimum. **/ GType fo_property_space_after_minimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceAfterMinimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_after_minimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceAfterMinimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_after_minimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_after_minimum_init: * @space_after_minimum: #FoPropertySpaceAfterMinimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceAfterMinimum. **/ void fo_property_space_after_minimum_init (FoPropertySpaceAfterMinimum *space_after_minimum) { FO_PROPERTY (space_after_minimum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_after_minimum_class_init: * @klass: #FoPropertySpaceAfterMinimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceAfterMinimumClass. **/ void fo_property_space_after_minimum_class_init (FoPropertySpaceAfterMinimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_after_minimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_after_minimum_validate; property_class->get_initial = fo_property_space_after_minimum_get_initial; } /** * fo_property_space_after_minimum_finalize: * @object: #FoPropertySpaceAfterMinimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceAfterMinimum. **/ void fo_property_space_after_minimum_finalize (GObject *object) { FoPropertySpaceAfterMinimum *space_after_minimum; space_after_minimum = FO_PROPERTY_SPACE_AFTER_MINIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_after_minimum_new: * * Creates a new #FoPropertySpaceAfterMinimum initialized to default value. * * Return value: the new #FoPropertySpaceAfterMinimum. **/ FoProperty* fo_property_space_after_minimum_new (void) { FoProperty* space_after_minimum; space_after_minimum = FO_PROPERTY (g_object_new (fo_property_space_after_minimum_get_type (), NULL)); return space_after_minimum; } /** * fo_property_space_after_minimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_after_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_after_minimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_after_minimum_get_initial (void) { static FoProperty *space_after_minimum = NULL; if (space_after_minimum == NULL) { space_after_minimum = fo_property_space_after_minimum_new (); } return space_after_minimum; } xmlroff-0.6.2/libfo/property/fo-property-space-after-minimum.h0000644000175000017500000000356510770023365021410 00000000000000/* Fo * fo-property-space-after-minimum.h: 'space-after-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_AFTER_MINIMUM_H__ #define __FO_PROPERTY_SPACE_AFTER_MINIMUM_H__ #include #include G_BEGIN_DECLS /* space-after-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_AFTER_MINIMUM (fo_property_space_after_minimum_get_type ()) #define FO_PROPERTY_SPACE_AFTER_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_AFTER_MINIMUM, FoPropertySpaceAfterMinimum)) #define FO_PROPERTY_SPACE_AFTER_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_MINIMUM, FoPropertySpaceAfterMinimumClass)) #define FO_IS_PROPERTY_SPACE_AFTER_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_AFTER_MINIMUM)) #define FO_IS_PROPERTY_SPACE_AFTER_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_MINIMUM)) #define FO_PROPERTY_SPACE_AFTER_MINIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_AFTER_MINIMUM, FoPropertySpaceAfterMinimumClass)) typedef struct _FoPropertySpaceAfterMinimum FoPropertySpaceAfterMinimum; typedef struct _FoPropertySpaceAfterMinimumClass FoPropertySpaceAfterMinimumClass; GType fo_property_space_after_minimum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_after_minimum_new (void); FoProperty* fo_property_space_after_minimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_AFTER_MINIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-after-optimum.c0000644000175000017500000001463410660107746021425 00000000000000/* Fo * fo-property-space-after-optimum.c: 'space-after-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-after-optimum.h" #include "property/fo-property-util.h" /* space-after-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceAfterOptimum { FoProperty parent_instance; }; struct _FoPropertySpaceAfterOptimumClass { FoPropertyClass parent_class; }; static void fo_property_space_after_optimum_init (FoPropertySpaceAfterOptimum *property_space_after_optimum); static void fo_property_space_after_optimum_class_init (FoPropertySpaceAfterOptimumClass *klass); static void fo_property_space_after_optimum_finalize (GObject *object); static FoDatatype* fo_property_space_after_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-after-optimum"; static gpointer parent_class; /** * fo_property_space_after_optimum_get_type: * * Register the #FoPropertySpaceAfterOptimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceAfterOptimum. **/ GType fo_property_space_after_optimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceAfterOptimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_after_optimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceAfterOptimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_after_optimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_after_optimum_init: * @space_after_optimum: #FoPropertySpaceAfterOptimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceAfterOptimum. **/ void fo_property_space_after_optimum_init (FoPropertySpaceAfterOptimum *space_after_optimum) { FO_PROPERTY (space_after_optimum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_after_optimum_class_init: * @klass: #FoPropertySpaceAfterOptimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceAfterOptimumClass. **/ void fo_property_space_after_optimum_class_init (FoPropertySpaceAfterOptimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_after_optimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_after_optimum_validate; property_class->get_initial = fo_property_space_after_optimum_get_initial; } /** * fo_property_space_after_optimum_finalize: * @object: #FoPropertySpaceAfterOptimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceAfterOptimum. **/ void fo_property_space_after_optimum_finalize (GObject *object) { FoPropertySpaceAfterOptimum *space_after_optimum; space_after_optimum = FO_PROPERTY_SPACE_AFTER_OPTIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_after_optimum_new: * * Creates a new #FoPropertySpaceAfterOptimum initialized to default value. * * Return value: the new #FoPropertySpaceAfterOptimum. **/ FoProperty* fo_property_space_after_optimum_new (void) { FoProperty* space_after_optimum; space_after_optimum = FO_PROPERTY (g_object_new (fo_property_space_after_optimum_get_type (), NULL)); return space_after_optimum; } /** * fo_property_space_after_optimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_after_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_after_optimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_after_optimum_get_initial (void) { static FoProperty *space_after_optimum = NULL; if (space_after_optimum == NULL) { space_after_optimum = fo_property_space_after_optimum_new (); } return space_after_optimum; } xmlroff-0.6.2/libfo/property/fo-property-space-after-optimum.h0000644000175000017500000000356510770023365021427 00000000000000/* Fo * fo-property-space-after-optimum.h: 'space-after-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_AFTER_OPTIMUM_H__ #define __FO_PROPERTY_SPACE_AFTER_OPTIMUM_H__ #include #include G_BEGIN_DECLS /* space-after-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_AFTER_OPTIMUM (fo_property_space_after_optimum_get_type ()) #define FO_PROPERTY_SPACE_AFTER_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_AFTER_OPTIMUM, FoPropertySpaceAfterOptimum)) #define FO_PROPERTY_SPACE_AFTER_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_OPTIMUM, FoPropertySpaceAfterOptimumClass)) #define FO_IS_PROPERTY_SPACE_AFTER_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_AFTER_OPTIMUM)) #define FO_IS_PROPERTY_SPACE_AFTER_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_OPTIMUM)) #define FO_PROPERTY_SPACE_AFTER_OPTIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_AFTER_OPTIMUM, FoPropertySpaceAfterOptimumClass)) typedef struct _FoPropertySpaceAfterOptimum FoPropertySpaceAfterOptimum; typedef struct _FoPropertySpaceAfterOptimumClass FoPropertySpaceAfterOptimumClass; GType fo_property_space_after_optimum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_after_optimum_new (void); FoProperty* fo_property_space_after_optimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_AFTER_OPTIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-after-maximum.c0000644000175000017500000001463410660107746021410 00000000000000/* Fo * fo-property-space-after-maximum.c: 'space-after-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-after-maximum.h" #include "property/fo-property-util.h" /* space-after-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceAfterMaximum { FoProperty parent_instance; }; struct _FoPropertySpaceAfterMaximumClass { FoPropertyClass parent_class; }; static void fo_property_space_after_maximum_init (FoPropertySpaceAfterMaximum *property_space_after_maximum); static void fo_property_space_after_maximum_class_init (FoPropertySpaceAfterMaximumClass *klass); static void fo_property_space_after_maximum_finalize (GObject *object); static FoDatatype* fo_property_space_after_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-after-maximum"; static gpointer parent_class; /** * fo_property_space_after_maximum_get_type: * * Register the #FoPropertySpaceAfterMaximum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceAfterMaximum. **/ GType fo_property_space_after_maximum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceAfterMaximumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_after_maximum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceAfterMaximum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_after_maximum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_after_maximum_init: * @space_after_maximum: #FoPropertySpaceAfterMaximum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceAfterMaximum. **/ void fo_property_space_after_maximum_init (FoPropertySpaceAfterMaximum *space_after_maximum) { FO_PROPERTY (space_after_maximum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_after_maximum_class_init: * @klass: #FoPropertySpaceAfterMaximumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceAfterMaximumClass. **/ void fo_property_space_after_maximum_class_init (FoPropertySpaceAfterMaximumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_after_maximum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_after_maximum_validate; property_class->get_initial = fo_property_space_after_maximum_get_initial; } /** * fo_property_space_after_maximum_finalize: * @object: #FoPropertySpaceAfterMaximum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceAfterMaximum. **/ void fo_property_space_after_maximum_finalize (GObject *object) { FoPropertySpaceAfterMaximum *space_after_maximum; space_after_maximum = FO_PROPERTY_SPACE_AFTER_MAXIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_after_maximum_new: * * Creates a new #FoPropertySpaceAfterMaximum initialized to default value. * * Return value: the new #FoPropertySpaceAfterMaximum. **/ FoProperty* fo_property_space_after_maximum_new (void) { FoProperty* space_after_maximum; space_after_maximum = FO_PROPERTY (g_object_new (fo_property_space_after_maximum_get_type (), NULL)); return space_after_maximum; } /** * fo_property_space_after_maximum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_after_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_after_maximum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_after_maximum_get_initial (void) { static FoProperty *space_after_maximum = NULL; if (space_after_maximum == NULL) { space_after_maximum = fo_property_space_after_maximum_new (); } return space_after_maximum; } xmlroff-0.6.2/libfo/property/fo-property-space-after-maximum.h0000644000175000017500000000356510770023365021412 00000000000000/* Fo * fo-property-space-after-maximum.h: 'space-after-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_AFTER_MAXIMUM_H__ #define __FO_PROPERTY_SPACE_AFTER_MAXIMUM_H__ #include #include G_BEGIN_DECLS /* space-after-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_AFTER_MAXIMUM (fo_property_space_after_maximum_get_type ()) #define FO_PROPERTY_SPACE_AFTER_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_AFTER_MAXIMUM, FoPropertySpaceAfterMaximum)) #define FO_PROPERTY_SPACE_AFTER_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_MAXIMUM, FoPropertySpaceAfterMaximumClass)) #define FO_IS_PROPERTY_SPACE_AFTER_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_AFTER_MAXIMUM)) #define FO_IS_PROPERTY_SPACE_AFTER_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_MAXIMUM)) #define FO_PROPERTY_SPACE_AFTER_MAXIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_AFTER_MAXIMUM, FoPropertySpaceAfterMaximumClass)) typedef struct _FoPropertySpaceAfterMaximum FoPropertySpaceAfterMaximum; typedef struct _FoPropertySpaceAfterMaximumClass FoPropertySpaceAfterMaximumClass; GType fo_property_space_after_maximum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_after_maximum_new (void); FoProperty* fo_property_space_after_maximum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_AFTER_MAXIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-after-precedence.c0000644000175000017500000001562710660107747022034 00000000000000/* Fo * fo-property-space-after-precedence.c: 'space-after-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-after-precedence.h" #include "property/fo-property-util.h" /* space-after-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceAfterPrecedence { FoProperty parent_instance; }; struct _FoPropertySpaceAfterPrecedenceClass { FoPropertyClass parent_class; }; static void fo_property_space_after_precedence_init (FoPropertySpaceAfterPrecedence *property_space_after_precedence); static void fo_property_space_after_precedence_class_init (FoPropertySpaceAfterPrecedenceClass *klass); static void fo_property_space_after_precedence_finalize (GObject *object); static FoDatatype* fo_property_space_after_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-after-precedence"; static gpointer parent_class; /** * fo_property_space_after_precedence_get_type: * * Register the #FoPropertySpaceAfterPrecedence type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceAfterPrecedence. **/ GType fo_property_space_after_precedence_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceAfterPrecedenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_after_precedence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceAfterPrecedence), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_after_precedence_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_after_precedence_init: * @space_after_precedence: #FoPropertySpaceAfterPrecedence object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceAfterPrecedence. **/ void fo_property_space_after_precedence_init (FoPropertySpaceAfterPrecedence *space_after_precedence) { FO_PROPERTY (space_after_precedence)->value = g_object_ref (fo_integer_get_integer_zero ()); } /** * fo_property_space_after_precedence_class_init: * @klass: #FoPropertySpaceAfterPrecedenceClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceAfterPrecedenceClass. **/ void fo_property_space_after_precedence_class_init (FoPropertySpaceAfterPrecedenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_after_precedence_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_force_enum; property_class->validate = fo_property_space_after_precedence_validate; property_class->get_initial = fo_property_space_after_precedence_get_initial; } /** * fo_property_space_after_precedence_finalize: * @object: #FoPropertySpaceAfterPrecedence object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceAfterPrecedence. **/ void fo_property_space_after_precedence_finalize (GObject *object) { FoPropertySpaceAfterPrecedence *space_after_precedence; space_after_precedence = FO_PROPERTY_SPACE_AFTER_PRECEDENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_after_precedence_new: * * Creates a new #FoPropertySpaceAfterPrecedence initialized to default value. * * Return value: the new #FoPropertySpaceAfterPrecedence. **/ FoProperty* fo_property_space_after_precedence_new (void) { FoProperty* space_after_precedence; space_after_precedence = FO_PROPERTY (g_object_new (fo_property_space_after_precedence_get_type (), NULL)); return space_after_precedence; } /** * fo_property_space_after_precedence_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_after_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_after_precedence_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_after_precedence_get_initial (void) { static FoProperty *space_after_precedence = NULL; if (space_after_precedence == NULL) { space_after_precedence = fo_property_space_after_precedence_new (); } return space_after_precedence; } xmlroff-0.6.2/libfo/property/fo-property-space-after-precedence.h0000644000175000017500000000371410770023365022026 00000000000000/* Fo * fo-property-space-after-precedence.h: 'space-after-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_AFTER_PRECEDENCE_H__ #define __FO_PROPERTY_SPACE_AFTER_PRECEDENCE_H__ #include #include G_BEGIN_DECLS /* space-after-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_AFTER_PRECEDENCE (fo_property_space_after_precedence_get_type ()) #define FO_PROPERTY_SPACE_AFTER_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_AFTER_PRECEDENCE, FoPropertySpaceAfterPrecedence)) #define FO_PROPERTY_SPACE_AFTER_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_PRECEDENCE, FoPropertySpaceAfterPrecedenceClass)) #define FO_IS_PROPERTY_SPACE_AFTER_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_AFTER_PRECEDENCE)) #define FO_IS_PROPERTY_SPACE_AFTER_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_PRECEDENCE)) #define FO_PROPERTY_SPACE_AFTER_PRECEDENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_AFTER_PRECEDENCE, FoPropertySpaceAfterPrecedenceClass)) typedef struct _FoPropertySpaceAfterPrecedence FoPropertySpaceAfterPrecedence; typedef struct _FoPropertySpaceAfterPrecedenceClass FoPropertySpaceAfterPrecedenceClass; GType fo_property_space_after_precedence_get_type (void) G_GNUC_CONST; FoProperty * fo_property_space_after_precedence_new (void); FoProperty * fo_property_space_after_precedence_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_AFTER_PRECEDENCE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-after-conditionality.c0000644000175000017500000001467710660107746022773 00000000000000/* Fo * fo-property-space-after-conditionality.c: 'space-after-conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-after-conditionality.h" #include "property/fo-property-util.h" /* space-after-conditionality */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceAfterCondity { FoProperty parent_instance; }; struct _FoPropertySpaceAfterCondityClass { FoPropertyClass parent_class; }; static void fo_property_space_after_condity_init (FoPropertySpaceAfterCondity *property_space_after_condity); static void fo_property_space_after_condity_class_init (FoPropertySpaceAfterCondityClass *klass); static void fo_property_space_after_condity_finalize (GObject *object); static FoDatatype* fo_property_space_after_condity_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-after-conditionality"; static gpointer parent_class; /** * fo_property_space_after_condity_get_type: * * Register the #FoPropertySpaceAfterCondity type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceAfterCondity. **/ GType fo_property_space_after_condity_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceAfterCondityClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_after_condity_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceAfterCondity), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_after_condity_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_after_condity_init: * @space_after_condity: #FoPropertySpaceAfterCondity object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceAfterCondity. **/ void fo_property_space_after_condity_init (FoPropertySpaceAfterCondity *space_after_condity) { FO_PROPERTY (space_after_condity)->value = g_object_ref (fo_boolean_get_true ()); } /** * fo_property_space_after_condity_class_init: * @klass: #FoPropertySpaceAfterCondityClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceAfterCondityClass. **/ void fo_property_space_after_condity_class_init (FoPropertySpaceAfterCondityClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_after_condity_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_condity_enum; property_class->validate = fo_property_space_after_condity_validate; property_class->get_initial = fo_property_space_after_condity_get_initial; } /** * fo_property_space_after_condity_finalize: * @object: #FoPropertySpaceAfterCondity object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceAfterCondity. **/ void fo_property_space_after_condity_finalize (GObject *object) { FoPropertySpaceAfterCondity *space_after_condity; space_after_condity = FO_PROPERTY_SPACE_AFTER_CONDITY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_after_condity_new: * * Creates a new #FoPropertySpaceAfterCondity initialized to default value. * * Return value: the new #FoPropertySpaceAfterCondity. **/ FoProperty* fo_property_space_after_condity_new (void) { FoProperty* space_after_condity; space_after_condity = FO_PROPERTY (g_object_new (fo_property_space_after_condity_get_type (), NULL)); return space_after_condity; } /** * fo_property_space_after_condity_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_after_condity_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_BOOLEAN (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_after_condity_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_after_condity_get_initial (void) { static FoProperty *space_after_condity = NULL; if (space_after_condity == NULL) { space_after_condity = fo_property_space_after_condity_new (); } return space_after_condity; } xmlroff-0.6.2/libfo/property/fo-property-space-after-conditionality.h0000644000175000017500000000360310770023365022757 00000000000000/* Fo * fo-property-space-after-conditionality.h: 'space-after.conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_AFTER_CONDITY_H__ #define __FO_PROPERTY_SPACE_AFTER_CONDITY_H__ #include #include G_BEGIN_DECLS /* space-after-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_AFTER_CONDITY (fo_property_space_after_condity_get_type ()) #define FO_PROPERTY_SPACE_AFTER_CONDITY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_AFTER_CONDITY, FoPropertySpaceAfterCondity)) #define FO_PROPERTY_SPACE_AFTER_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_CONDITY, FoPropertySpaceAfterCondityClass)) #define FO_IS_PROPERTY_SPACE_AFTER_CONDITY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_AFTER_CONDITY)) #define FO_IS_PROPERTY_SPACE_AFTER_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_AFTER_CONDITY)) #define FO_PROPERTY_SPACE_AFTER_CONDITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_AFTER_CONDITY, FoPropertySpaceAfterCondityClass)) typedef struct _FoPropertySpaceAfterCondity FoPropertySpaceAfterCondity; typedef struct _FoPropertySpaceAfterCondityClass FoPropertySpaceAfterCondityClass; GType fo_property_space_after_condity_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_after_condity_new (void); FoProperty* fo_property_space_after_condity_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_AFTER_CONDITY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-before.c0000644000175000017500000001703410660107746020073 00000000000000/* Fo * fo-property-space-before.c: 'space-before' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-before.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* space-before */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertySpaceBefore { FoProperty parent_instance; }; struct _FoPropertySpaceBeforeClass { FoPropertyClass parent_class; }; static void fo_property_space_before_init (FoPropertySpaceBefore *property_space_before); static void fo_property_space_before_class_init (FoPropertySpaceBeforeClass *klass); static void fo_property_space_before_finalize (GObject *object); static FoDatatype* fo_property_space_before_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_space_before_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-before"; static gpointer parent_class; /** * fo_property_space_before_get_type: * * Register the #FoPropertySpaceBefore type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceBefore. **/ GType fo_property_space_before_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceBeforeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_before_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceBefore), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_before_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_before_init: * @space_before: #FoPropertySpaceBefore object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceBefore. **/ void fo_property_space_before_init (FoPropertySpaceBefore *space_before) { FO_PROPERTY (space_before)->value = g_object_ref (fo_space_get_space_0pt ()); } /** * fo_property_space_before_class_init: * @klass: #FoPropertySpaceBeforeClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceBeforeClass. **/ void fo_property_space_before_class_init (FoPropertySpaceBeforeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_before_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_space_before_resolve_enum; property_class->validate = fo_property_space_before_validate; property_class->get_initial = fo_property_space_before_get_initial; } /** * fo_property_space_before_finalize: * @object: #FoPropertySpaceBefore object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceBefore. **/ void fo_property_space_before_finalize (GObject *object) { FoPropertySpaceBefore *space_before; space_before = FO_PROPERTY_SPACE_BEFORE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_before_new: * * Creates a new #FoPropertySpaceBefore initialized to default value. * * Return value: the new #FoPropertySpaceBefore. **/ FoProperty* fo_property_space_before_new (void) { FoProperty* space_before; space_before = FO_PROPERTY (g_object_new (fo_property_space_before_get_type (), NULL)); return space_before; } /** * fo_property_space_before_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_space_before_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_space_before_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_before_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_SPACE (datatype)) { return datatype; } else if (FO_IS_LENGTH (datatype)) { new_datatype = fo_space_new_from_length (datatype); g_object_unref (datatype); return new_datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_before_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_before_get_initial (void) { static FoProperty *space_before = NULL; if (space_before == NULL) { space_before = fo_property_space_before_new (); } return space_before; } xmlroff-0.6.2/libfo/property/fo-property-space-before.h0000644000175000017500000000326310770023365020073 00000000000000/* Fo * fo-property-space-before.h: 'space-before' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_BEFORE_H__ #define __FO_PROPERTY_SPACE_BEFORE_H__ #include #include G_BEGIN_DECLS /* space-before */ /* | | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_SPACE_BEFORE (fo_property_space_before_get_type ()) #define FO_PROPERTY_SPACE_BEFORE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_BEFORE, FoPropertySpaceBefore)) #define FO_PROPERTY_SPACE_BEFORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE, FoPropertySpaceBeforeClass)) #define FO_IS_PROPERTY_SPACE_BEFORE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_BEFORE)) #define FO_IS_PROPERTY_SPACE_BEFORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE)) #define FO_PROPERTY_SPACE_BEFORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_BEFORE, FoPropertySpaceBeforeClass)) typedef struct _FoPropertySpaceBefore FoPropertySpaceBefore; typedef struct _FoPropertySpaceBeforeClass FoPropertySpaceBeforeClass; GType fo_property_space_before_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_before_new (void); FoProperty* fo_property_space_before_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_BEFORE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-before-minimum.c0000644000175000017500000001473310660107746021547 00000000000000/* Fo * fo-property-space-before-minimum.c: 'space-before-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-before-minimum.h" #include "property/fo-property-util.h" /* space-before-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceBeforeMinimum { FoProperty parent_instance; }; struct _FoPropertySpaceBeforeMinimumClass { FoPropertyClass parent_class; }; static void fo_property_space_before_minimum_init (FoPropertySpaceBeforeMinimum *property_space_before_minimum); static void fo_property_space_before_minimum_class_init (FoPropertySpaceBeforeMinimumClass *klass); static void fo_property_space_before_minimum_finalize (GObject *object); static FoDatatype* fo_property_space_before_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-before-minimum"; static gpointer parent_class; /** * fo_property_space_before_minimum_get_type: * * Register the #FoPropertySpaceBeforeMinimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceBeforeMinimum. **/ GType fo_property_space_before_minimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceBeforeMinimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_before_minimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceBeforeMinimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_before_minimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_before_minimum_init: * @space_before_minimum: #FoPropertySpaceBeforeMinimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceBeforeMinimum. **/ void fo_property_space_before_minimum_init (FoPropertySpaceBeforeMinimum *space_before_minimum) { FO_PROPERTY (space_before_minimum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_before_minimum_class_init: * @klass: #FoPropertySpaceBeforeMinimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceBeforeMinimumClass. **/ void fo_property_space_before_minimum_class_init (FoPropertySpaceBeforeMinimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_before_minimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_before_minimum_validate; property_class->get_initial = fo_property_space_before_minimum_get_initial; } /** * fo_property_space_before_minimum_finalize: * @object: #FoPropertySpaceBeforeMinimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceBeforeMinimum. **/ void fo_property_space_before_minimum_finalize (GObject *object) { FoPropertySpaceBeforeMinimum *space_before_minimum; space_before_minimum = FO_PROPERTY_SPACE_BEFORE_MINIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_before_minimum_new: * * Creates a new #FoPropertySpaceBeforeMinimum initialized to default value. * * Return value: the new #FoPropertySpaceBeforeMinimum. **/ FoProperty* fo_property_space_before_minimum_new (void) { FoProperty* space_before_minimum; space_before_minimum = FO_PROPERTY (g_object_new (fo_property_space_before_minimum_get_type (), NULL)); return space_before_minimum; } /** * fo_property_space_before_minimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_before_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_before_minimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_before_minimum_get_initial (void) { static FoProperty *space_before_minimum = NULL; if (space_before_minimum == NULL) { space_before_minimum = fo_property_space_before_minimum_new (); } return space_before_minimum; } xmlroff-0.6.2/libfo/property/fo-property-space-before-minimum.h0000644000175000017500000000362110770023365021542 00000000000000/* Fo * fo-property-space-before-minimum.h: 'space-before-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_BEFORE_MINIMUM_H__ #define __FO_PROPERTY_SPACE_BEFORE_MINIMUM_H__ #include #include G_BEGIN_DECLS /* space-before-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_BEFORE_MINIMUM (fo_property_space_before_minimum_get_type ()) #define FO_PROPERTY_SPACE_BEFORE_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_MINIMUM, FoPropertySpaceBeforeMinimum)) #define FO_PROPERTY_SPACE_BEFORE_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_MINIMUM, FoPropertySpaceBeforeMinimumClass)) #define FO_IS_PROPERTY_SPACE_BEFORE_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_MINIMUM)) #define FO_IS_PROPERTY_SPACE_BEFORE_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_MINIMUM)) #define FO_PROPERTY_SPACE_BEFORE_MINIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_BEFORE_MINIMUM, FoPropertySpaceBeforeMinimumClass)) typedef struct _FoPropertySpaceBeforeMinimum FoPropertySpaceBeforeMinimum; typedef struct _FoPropertySpaceBeforeMinimumClass FoPropertySpaceBeforeMinimumClass; GType fo_property_space_before_minimum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_before_minimum_new (void); FoProperty* fo_property_space_before_minimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_BEFORE_MINIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-before-optimum.c0000644000175000017500000001473310660107746021566 00000000000000/* Fo * fo-property-space-before-optimum.c: 'space-before-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-before-optimum.h" #include "property/fo-property-util.h" /* space-before-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceBeforeOptimum { FoProperty parent_instance; }; struct _FoPropertySpaceBeforeOptimumClass { FoPropertyClass parent_class; }; static void fo_property_space_before_optimum_init (FoPropertySpaceBeforeOptimum *property_space_before_optimum); static void fo_property_space_before_optimum_class_init (FoPropertySpaceBeforeOptimumClass *klass); static void fo_property_space_before_optimum_finalize (GObject *object); static FoDatatype* fo_property_space_before_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-before-optimum"; static gpointer parent_class; /** * fo_property_space_before_optimum_get_type: * * Register the #FoPropertySpaceBeforeOptimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceBeforeOptimum. **/ GType fo_property_space_before_optimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceBeforeOptimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_before_optimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceBeforeOptimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_before_optimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_before_optimum_init: * @space_before_optimum: #FoPropertySpaceBeforeOptimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceBeforeOptimum. **/ void fo_property_space_before_optimum_init (FoPropertySpaceBeforeOptimum *space_before_optimum) { FO_PROPERTY (space_before_optimum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_before_optimum_class_init: * @klass: #FoPropertySpaceBeforeOptimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceBeforeOptimumClass. **/ void fo_property_space_before_optimum_class_init (FoPropertySpaceBeforeOptimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_before_optimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_before_optimum_validate; property_class->get_initial = fo_property_space_before_optimum_get_initial; } /** * fo_property_space_before_optimum_finalize: * @object: #FoPropertySpaceBeforeOptimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceBeforeOptimum. **/ void fo_property_space_before_optimum_finalize (GObject *object) { FoPropertySpaceBeforeOptimum *space_before_optimum; space_before_optimum = FO_PROPERTY_SPACE_BEFORE_OPTIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_before_optimum_new: * * Creates a new #FoPropertySpaceBeforeOptimum initialized to default value. * * Return value: the new #FoPropertySpaceBeforeOptimum. **/ FoProperty* fo_property_space_before_optimum_new (void) { FoProperty* space_before_optimum; space_before_optimum = FO_PROPERTY (g_object_new (fo_property_space_before_optimum_get_type (), NULL)); return space_before_optimum; } /** * fo_property_space_before_optimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_before_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_before_optimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_before_optimum_get_initial (void) { static FoProperty *space_before_optimum = NULL; if (space_before_optimum == NULL) { space_before_optimum = fo_property_space_before_optimum_new (); } return space_before_optimum; } xmlroff-0.6.2/libfo/property/fo-property-space-before-optimum.h0000644000175000017500000000362110770023365021561 00000000000000/* Fo * fo-property-space-before-optimum.h: 'space-before-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_BEFORE_OPTIMUM_H__ #define __FO_PROPERTY_SPACE_BEFORE_OPTIMUM_H__ #include #include G_BEGIN_DECLS /* space-before-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_BEFORE_OPTIMUM (fo_property_space_before_optimum_get_type ()) #define FO_PROPERTY_SPACE_BEFORE_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_OPTIMUM, FoPropertySpaceBeforeOptimum)) #define FO_PROPERTY_SPACE_BEFORE_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_OPTIMUM, FoPropertySpaceBeforeOptimumClass)) #define FO_IS_PROPERTY_SPACE_BEFORE_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_OPTIMUM)) #define FO_IS_PROPERTY_SPACE_BEFORE_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_OPTIMUM)) #define FO_PROPERTY_SPACE_BEFORE_OPTIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_BEFORE_OPTIMUM, FoPropertySpaceBeforeOptimumClass)) typedef struct _FoPropertySpaceBeforeOptimum FoPropertySpaceBeforeOptimum; typedef struct _FoPropertySpaceBeforeOptimumClass FoPropertySpaceBeforeOptimumClass; GType fo_property_space_before_optimum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_before_optimum_new (void); FoProperty* fo_property_space_before_optimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_BEFORE_OPTIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-before-maximum.c0000644000175000017500000001473310660107746021551 00000000000000/* Fo * fo-property-space-before-maximum.c: 'space-before-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-before-maximum.h" #include "property/fo-property-util.h" /* space-before-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceBeforeMaximum { FoProperty parent_instance; }; struct _FoPropertySpaceBeforeMaximumClass { FoPropertyClass parent_class; }; static void fo_property_space_before_maximum_init (FoPropertySpaceBeforeMaximum *property_space_before_maximum); static void fo_property_space_before_maximum_class_init (FoPropertySpaceBeforeMaximumClass *klass); static void fo_property_space_before_maximum_finalize (GObject *object); static FoDatatype* fo_property_space_before_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-before-maximum"; static gpointer parent_class; /** * fo_property_space_before_maximum_get_type: * * Register the #FoPropertySpaceBeforeMaximum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceBeforeMaximum. **/ GType fo_property_space_before_maximum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceBeforeMaximumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_before_maximum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceBeforeMaximum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_before_maximum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_before_maximum_init: * @space_before_maximum: #FoPropertySpaceBeforeMaximum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceBeforeMaximum. **/ void fo_property_space_before_maximum_init (FoPropertySpaceBeforeMaximum *space_before_maximum) { FO_PROPERTY (space_before_maximum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_before_maximum_class_init: * @klass: #FoPropertySpaceBeforeMaximumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceBeforeMaximumClass. **/ void fo_property_space_before_maximum_class_init (FoPropertySpaceBeforeMaximumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_before_maximum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_before_maximum_validate; property_class->get_initial = fo_property_space_before_maximum_get_initial; } /** * fo_property_space_before_maximum_finalize: * @object: #FoPropertySpaceBeforeMaximum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceBeforeMaximum. **/ void fo_property_space_before_maximum_finalize (GObject *object) { FoPropertySpaceBeforeMaximum *space_before_maximum; space_before_maximum = FO_PROPERTY_SPACE_BEFORE_MAXIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_before_maximum_new: * * Creates a new #FoPropertySpaceBeforeMaximum initialized to default value. * * Return value: the new #FoPropertySpaceBeforeMaximum. **/ FoProperty* fo_property_space_before_maximum_new (void) { FoProperty* space_before_maximum; space_before_maximum = FO_PROPERTY (g_object_new (fo_property_space_before_maximum_get_type (), NULL)); return space_before_maximum; } /** * fo_property_space_before_maximum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_before_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_before_maximum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_before_maximum_get_initial (void) { static FoProperty *space_before_maximum = NULL; if (space_before_maximum == NULL) { space_before_maximum = fo_property_space_before_maximum_new (); } return space_before_maximum; } xmlroff-0.6.2/libfo/property/fo-property-space-before-maximum.h0000644000175000017500000000362110770023365021544 00000000000000/* Fo * fo-property-space-before-maximum.h: 'space-before-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_BEFORE_MAXIMUM_H__ #define __FO_PROPERTY_SPACE_BEFORE_MAXIMUM_H__ #include #include G_BEGIN_DECLS /* space-before-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_BEFORE_MAXIMUM (fo_property_space_before_maximum_get_type ()) #define FO_PROPERTY_SPACE_BEFORE_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_MAXIMUM, FoPropertySpaceBeforeMaximum)) #define FO_PROPERTY_SPACE_BEFORE_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_MAXIMUM, FoPropertySpaceBeforeMaximumClass)) #define FO_IS_PROPERTY_SPACE_BEFORE_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_MAXIMUM)) #define FO_IS_PROPERTY_SPACE_BEFORE_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_MAXIMUM)) #define FO_PROPERTY_SPACE_BEFORE_MAXIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_BEFORE_MAXIMUM, FoPropertySpaceBeforeMaximumClass)) typedef struct _FoPropertySpaceBeforeMaximum FoPropertySpaceBeforeMaximum; typedef struct _FoPropertySpaceBeforeMaximumClass FoPropertySpaceBeforeMaximumClass; GType fo_property_space_before_maximum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_before_maximum_new (void); FoProperty* fo_property_space_before_maximum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_BEFORE_MAXIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-before-precedence.c0000644000175000017500000001573210660107746022171 00000000000000/* Fo * fo-property-space-before-precedence.c: 'space-before-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-before-precedence.h" #include "property/fo-property-util.h" /* space-before-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceBeforePrecedence { FoProperty parent_instance; }; struct _FoPropertySpaceBeforePrecedenceClass { FoPropertyClass parent_class; }; static void fo_property_space_before_precedence_init (FoPropertySpaceBeforePrecedence *property_space_before_precedence); static void fo_property_space_before_precedence_class_init (FoPropertySpaceBeforePrecedenceClass *klass); static void fo_property_space_before_precedence_finalize (GObject *object); static FoDatatype* fo_property_space_before_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-before-precedence"; static gpointer parent_class; /** * fo_property_space_before_precedence_get_type: * * Register the #FoPropertySpaceBeforePrecedence type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceBeforePrecedence. **/ GType fo_property_space_before_precedence_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceBeforePrecedenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_before_precedence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceBeforePrecedence), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_before_precedence_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_before_precedence_init: * @space_before_precedence: #FoPropertySpaceBeforePrecedence object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceBeforePrecedence. **/ void fo_property_space_before_precedence_init (FoPropertySpaceBeforePrecedence *space_before_precedence) { FO_PROPERTY (space_before_precedence)->value = g_object_ref (fo_integer_get_integer_zero ()); } /** * fo_property_space_before_precedence_class_init: * @klass: #FoPropertySpaceBeforePrecedenceClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceBeforePrecedenceClass. **/ void fo_property_space_before_precedence_class_init (FoPropertySpaceBeforePrecedenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_before_precedence_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_force_enum; property_class->validate = fo_property_space_before_precedence_validate; property_class->get_initial = fo_property_space_before_precedence_get_initial; } /** * fo_property_space_before_precedence_finalize: * @object: #FoPropertySpaceBeforePrecedence object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceBeforePrecedence. **/ void fo_property_space_before_precedence_finalize (GObject *object) { FoPropertySpaceBeforePrecedence *space_before_precedence; space_before_precedence = FO_PROPERTY_SPACE_BEFORE_PRECEDENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_before_precedence_new: * * Creates a new #FoPropertySpaceBeforePrecedence initialized to default value. * * Return value: the new #FoPropertySpaceBeforePrecedence. **/ FoProperty* fo_property_space_before_precedence_new (void) { FoProperty* space_before_precedence; space_before_precedence = FO_PROPERTY (g_object_new (fo_property_space_before_precedence_get_type (), NULL)); return space_before_precedence; } /** * fo_property_space_before_precedence_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_before_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_before_precedence_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_before_precedence_get_initial (void) { static FoProperty *space_before_precedence = NULL; if (space_before_precedence == NULL) { space_before_precedence = fo_property_space_before_precedence_new (); } return space_before_precedence; } xmlroff-0.6.2/libfo/property/fo-property-space-before-precedence.h0000644000175000017500000000374510770023365022173 00000000000000/* Fo * fo-property-space-before-precedence.h: 'space-before-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_BEFORE_PRECEDENCE_H__ #define __FO_PROPERTY_SPACE_BEFORE_PRECEDENCE_H__ #include #include G_BEGIN_DECLS /* space-before-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_BEFORE_PRECEDENCE (fo_property_space_before_precedence_get_type ()) #define FO_PROPERTY_SPACE_BEFORE_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_PRECEDENCE, FoPropertySpaceBeforePrecedence)) #define FO_PROPERTY_SPACE_BEFORE_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_PRECEDENCE, FoPropertySpaceBeforePrecedenceClass)) #define FO_IS_PROPERTY_SPACE_BEFORE_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_PRECEDENCE)) #define FO_IS_PROPERTY_SPACE_BEFORE_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_PRECEDENCE)) #define FO_PROPERTY_SPACE_BEFORE_PRECEDENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_BEFORE_PRECEDENCE, FoPropertySpaceBeforePrecedenceClass)) typedef struct _FoPropertySpaceBeforePrecedence FoPropertySpaceBeforePrecedence; typedef struct _FoPropertySpaceBeforePrecedenceClass FoPropertySpaceBeforePrecedenceClass; GType fo_property_space_before_precedence_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_before_precedence_new (void); FoProperty* fo_property_space_before_precedence_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_BEFORE_PRECEDENCE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-before-conditionality.c0000644000175000017500000001477610660107746023134 00000000000000/* Fo * fo-property-space-before-conditionality.c: 'space-before-conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-before-conditionality.h" #include "property/fo-property-util.h" /* space-before-conditionality */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceBeforeCondity { FoProperty parent_instance; }; struct _FoPropertySpaceBeforeCondityClass { FoPropertyClass parent_class; }; static void fo_property_space_before_condity_init (FoPropertySpaceBeforeCondity *property_space_before_condity); static void fo_property_space_before_condity_class_init (FoPropertySpaceBeforeCondityClass *klass); static void fo_property_space_before_condity_finalize (GObject *object); static FoDatatype* fo_property_space_before_condity_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-before-conditionality"; static gpointer parent_class; /** * fo_property_space_before_condity_get_type: * * Register the #FoPropertySpaceBeforeCondity type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceBeforeCondity. **/ GType fo_property_space_before_condity_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceBeforeCondityClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_before_condity_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceBeforeCondity), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_before_condity_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_before_condity_init: * @space_before_condity: #FoPropertySpaceBeforeCondity object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceBeforeCondity. **/ void fo_property_space_before_condity_init (FoPropertySpaceBeforeCondity *space_before_condity) { FO_PROPERTY (space_before_condity)->value = g_object_ref (fo_boolean_get_true ()); } /** * fo_property_space_before_condity_class_init: * @klass: #FoPropertySpaceBeforeCondityClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceBeforeCondityClass. **/ void fo_property_space_before_condity_class_init (FoPropertySpaceBeforeCondityClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_before_condity_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_condity_enum; property_class->validate = fo_property_space_before_condity_validate; property_class->get_initial = fo_property_space_before_condity_get_initial; } /** * fo_property_space_before_condity_finalize: * @object: #FoPropertySpaceBeforeCondity object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceBeforeCondity. **/ void fo_property_space_before_condity_finalize (GObject *object) { FoPropertySpaceBeforeCondity *space_before_condity; space_before_condity = FO_PROPERTY_SPACE_BEFORE_CONDITY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_before_condity_new: * * Creates a new #FoPropertySpaceBeforeCondity initialized to default value. * * Return value: the new #FoPropertySpaceBeforeCondity. **/ FoProperty* fo_property_space_before_condity_new (void) { FoProperty* space_before_condity; space_before_condity = FO_PROPERTY (g_object_new (fo_property_space_before_condity_get_type (), NULL)); return space_before_condity; } /** * fo_property_space_before_condity_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_before_condity_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_BOOLEAN (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_before_condity_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_before_condity_get_initial (void) { static FoProperty *space_before_condity = NULL; if (space_before_condity == NULL) { space_before_condity = fo_property_space_before_condity_new (); } return space_before_condity; } xmlroff-0.6.2/libfo/property/fo-property-space-before-conditionality.h0000644000175000017500000000363710770023365023127 00000000000000/* Fo * fo-property-space-before-conditionality.h: 'space-before.conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_BEFORE_CONDITY_H__ #define __FO_PROPERTY_SPACE_BEFORE_CONDITY_H__ #include #include G_BEGIN_DECLS /* space-before-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_BEFORE_CONDITY (fo_property_space_before_condity_get_type ()) #define FO_PROPERTY_SPACE_BEFORE_CONDITY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_CONDITY, FoPropertySpaceBeforeCondity)) #define FO_PROPERTY_SPACE_BEFORE_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_CONDITY, FoPropertySpaceBeforeCondityClass)) #define FO_IS_PROPERTY_SPACE_BEFORE_CONDITY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_BEFORE_CONDITY)) #define FO_IS_PROPERTY_SPACE_BEFORE_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_BEFORE_CONDITY)) #define FO_PROPERTY_SPACE_BEFORE_CONDITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_BEFORE_CONDITY, FoPropertySpaceBeforeCondityClass)) typedef struct _FoPropertySpaceBeforeCondity FoPropertySpaceBeforeCondity; typedef struct _FoPropertySpaceBeforeCondityClass FoPropertySpaceBeforeCondityClass; GType fo_property_space_before_condity_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_before_condity_new (void); FoProperty* fo_property_space_before_condity_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_BEFORE_CONDITY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-end.c0000644000175000017500000001652310660107747017402 00000000000000/* Fo * fo-property-space-end.c: 'space-end' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-end.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* space-end */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertySpaceEnd { FoProperty parent_instance; }; struct _FoPropertySpaceEndClass { FoPropertyClass parent_class; }; static void fo_property_space_end_init (FoPropertySpaceEnd *property_space_end); static void fo_property_space_end_class_init (FoPropertySpaceEndClass *klass); static void fo_property_space_end_finalize (GObject *object); static FoDatatype* fo_property_space_end_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_space_end_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-end"; static gpointer parent_class; /** * fo_property_space_end_get_type: * * Register the #FoPropertySpaceEnd type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceEnd. **/ GType fo_property_space_end_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceEndClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_end_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceEnd), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_end_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_end_init: * @space_end: #FoPropertySpaceEnd object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceEnd. **/ void fo_property_space_end_init (FoPropertySpaceEnd *space_end) { FO_PROPERTY (space_end)->value = g_object_ref (fo_space_get_space_0pt ()); } /** * fo_property_space_end_class_init: * @klass: #FoPropertySpaceEndClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceEndClass. **/ void fo_property_space_end_class_init (FoPropertySpaceEndClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_end_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_space_end_resolve_enum; property_class->validate = fo_property_space_end_validate; property_class->get_initial = fo_property_space_end_get_initial; } /** * fo_property_space_end_finalize: * @object: #FoPropertySpaceEnd object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceEnd. **/ void fo_property_space_end_finalize (GObject *object) { FoPropertySpaceEnd *space_end; space_end = FO_PROPERTY_SPACE_END (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_end_new: * * Creates a new #FoPropertySpaceEnd initialized to default value. * * Return value: the new #FoPropertySpaceEnd. **/ FoProperty* fo_property_space_end_new (void) { FoProperty* space_end; space_end = FO_PROPERTY (g_object_new (fo_property_space_end_get_type (), NULL)); return space_end; } /** * fo_property_space_end_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_space_end_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_space_end_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_end_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_SPACE (datatype)) { return datatype; } else if (FO_IS_LENGTH (datatype)) { new_datatype = fo_space_new_from_length (datatype); g_object_unref (datatype); return new_datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_end_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_end_get_initial (void) { static FoProperty *space_end = NULL; if (space_end == NULL) { space_end = fo_property_space_end_new (); } return space_end; } xmlroff-0.6.2/libfo/property/fo-property-space-end.h0000644000175000017500000000313710770023366017400 00000000000000/* Fo * fo-property-space-end.h: 'space-end' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_END_H__ #define __FO_PROPERTY_SPACE_END_H__ #include #include G_BEGIN_DECLS /* space-end */ /* | | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_SPACE_END (fo_property_space_end_get_type ()) #define FO_PROPERTY_SPACE_END(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_END, FoPropertySpaceEnd)) #define FO_PROPERTY_SPACE_END_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_END, FoPropertySpaceEndClass)) #define FO_IS_PROPERTY_SPACE_END(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_END)) #define FO_IS_PROPERTY_SPACE_END_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_END)) #define FO_PROPERTY_SPACE_END_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_END, FoPropertySpaceEndClass)) typedef struct _FoPropertySpaceEnd FoPropertySpaceEnd; typedef struct _FoPropertySpaceEndClass FoPropertySpaceEndClass; GType fo_property_space_end_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_end_new (void); FoProperty* fo_property_space_end_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_END_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-end-minimum.c0000644000175000017500000001443610660107746021053 00000000000000/* Fo * fo-property-space-end-minimum.c: 'space-end-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-end-minimum.h" #include "property/fo-property-util.h" /* space-end-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceEndMinimum { FoProperty parent_instance; }; struct _FoPropertySpaceEndMinimumClass { FoPropertyClass parent_class; }; static void fo_property_space_end_minimum_init (FoPropertySpaceEndMinimum *property_space_end_minimum); static void fo_property_space_end_minimum_class_init (FoPropertySpaceEndMinimumClass *klass); static void fo_property_space_end_minimum_finalize (GObject *object); static FoDatatype* fo_property_space_end_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-end-minimum"; static gpointer parent_class; /** * fo_property_space_end_minimum_get_type: * * Register the #FoPropertySpaceEndMinimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceEndMinimum. **/ GType fo_property_space_end_minimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceEndMinimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_end_minimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceEndMinimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_end_minimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_end_minimum_init: * @space_end_minimum: #FoPropertySpaceEndMinimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceEndMinimum. **/ void fo_property_space_end_minimum_init (FoPropertySpaceEndMinimum *space_end_minimum) { FO_PROPERTY (space_end_minimum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_end_minimum_class_init: * @klass: #FoPropertySpaceEndMinimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceEndMinimumClass. **/ void fo_property_space_end_minimum_class_init (FoPropertySpaceEndMinimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_end_minimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_end_minimum_validate; property_class->get_initial = fo_property_space_end_minimum_get_initial; } /** * fo_property_space_end_minimum_finalize: * @object: #FoPropertySpaceEndMinimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceEndMinimum. **/ void fo_property_space_end_minimum_finalize (GObject *object) { FoPropertySpaceEndMinimum *space_end_minimum; space_end_minimum = FO_PROPERTY_SPACE_END_MINIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_end_minimum_new: * * Creates a new #FoPropertySpaceEndMinimum initialized to default value. * * Return value: the new #FoPropertySpaceEndMinimum. **/ FoProperty* fo_property_space_end_minimum_new (void) { FoProperty* space_end_minimum; space_end_minimum = FO_PROPERTY (g_object_new (fo_property_space_end_minimum_get_type (), NULL)); return space_end_minimum; } /** * fo_property_space_end_minimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_end_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_end_minimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_end_minimum_get_initial (void) { static FoProperty *space_end_minimum = NULL; if (space_end_minimum == NULL) { space_end_minimum = fo_property_space_end_minimum_new (); } return space_end_minimum; } xmlroff-0.6.2/libfo/property/fo-property-space-end-minimum.h0000644000175000017500000000347510770023365021055 00000000000000/* Fo * fo-property-space-end-minimum.h: 'space-end-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_END_MINIMUM_H__ #define __FO_PROPERTY_SPACE_END_MINIMUM_H__ #include #include G_BEGIN_DECLS /* space-end-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_END_MINIMUM (fo_property_space_end_minimum_get_type ()) #define FO_PROPERTY_SPACE_END_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_END_MINIMUM, FoPropertySpaceEndMinimum)) #define FO_PROPERTY_SPACE_END_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_END_MINIMUM, FoPropertySpaceEndMinimumClass)) #define FO_IS_PROPERTY_SPACE_END_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_END_MINIMUM)) #define FO_IS_PROPERTY_SPACE_END_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_END_MINIMUM)) #define FO_PROPERTY_SPACE_END_MINIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_END_MINIMUM, FoPropertySpaceEndMinimumClass)) typedef struct _FoPropertySpaceEndMinimum FoPropertySpaceEndMinimum; typedef struct _FoPropertySpaceEndMinimumClass FoPropertySpaceEndMinimumClass; GType fo_property_space_end_minimum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_end_minimum_new (void); FoProperty* fo_property_space_end_minimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_END_MINIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-end-optimum.c0000644000175000017500000001443610660107746021072 00000000000000/* Fo * fo-property-space-end-optimum.c: 'space-end-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-end-optimum.h" #include "property/fo-property-util.h" /* space-end-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceEndOptimum { FoProperty parent_instance; }; struct _FoPropertySpaceEndOptimumClass { FoPropertyClass parent_class; }; static void fo_property_space_end_optimum_init (FoPropertySpaceEndOptimum *property_space_end_optimum); static void fo_property_space_end_optimum_class_init (FoPropertySpaceEndOptimumClass *klass); static void fo_property_space_end_optimum_finalize (GObject *object); static FoDatatype* fo_property_space_end_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-end-optimum"; static gpointer parent_class; /** * fo_property_space_end_optimum_get_type: * * Register the #FoPropertySpaceEndOptimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceEndOptimum. **/ GType fo_property_space_end_optimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceEndOptimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_end_optimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceEndOptimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_end_optimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_end_optimum_init: * @space_end_optimum: #FoPropertySpaceEndOptimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceEndOptimum. **/ void fo_property_space_end_optimum_init (FoPropertySpaceEndOptimum *space_end_optimum) { FO_PROPERTY (space_end_optimum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_end_optimum_class_init: * @klass: #FoPropertySpaceEndOptimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceEndOptimumClass. **/ void fo_property_space_end_optimum_class_init (FoPropertySpaceEndOptimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_end_optimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_end_optimum_validate; property_class->get_initial = fo_property_space_end_optimum_get_initial; } /** * fo_property_space_end_optimum_finalize: * @object: #FoPropertySpaceEndOptimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceEndOptimum. **/ void fo_property_space_end_optimum_finalize (GObject *object) { FoPropertySpaceEndOptimum *space_end_optimum; space_end_optimum = FO_PROPERTY_SPACE_END_OPTIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_end_optimum_new: * * Creates a new #FoPropertySpaceEndOptimum initialized to default value. * * Return value: the new #FoPropertySpaceEndOptimum. **/ FoProperty* fo_property_space_end_optimum_new (void) { FoProperty* space_end_optimum; space_end_optimum = FO_PROPERTY (g_object_new (fo_property_space_end_optimum_get_type (), NULL)); return space_end_optimum; } /** * fo_property_space_end_optimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_end_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_end_optimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_end_optimum_get_initial (void) { static FoProperty *space_end_optimum = NULL; if (space_end_optimum == NULL) { space_end_optimum = fo_property_space_end_optimum_new (); } return space_end_optimum; } xmlroff-0.6.2/libfo/property/fo-property-space-end-optimum.h0000644000175000017500000000347510770023365021074 00000000000000/* Fo * fo-property-space-end-optimum.h: 'space-end-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_END_OPTIMUM_H__ #define __FO_PROPERTY_SPACE_END_OPTIMUM_H__ #include #include G_BEGIN_DECLS /* space-end-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_END_OPTIMUM (fo_property_space_end_optimum_get_type ()) #define FO_PROPERTY_SPACE_END_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_END_OPTIMUM, FoPropertySpaceEndOptimum)) #define FO_PROPERTY_SPACE_END_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_END_OPTIMUM, FoPropertySpaceEndOptimumClass)) #define FO_IS_PROPERTY_SPACE_END_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_END_OPTIMUM)) #define FO_IS_PROPERTY_SPACE_END_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_END_OPTIMUM)) #define FO_PROPERTY_SPACE_END_OPTIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_END_OPTIMUM, FoPropertySpaceEndOptimumClass)) typedef struct _FoPropertySpaceEndOptimum FoPropertySpaceEndOptimum; typedef struct _FoPropertySpaceEndOptimumClass FoPropertySpaceEndOptimumClass; GType fo_property_space_end_optimum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_end_optimum_new (void); FoProperty* fo_property_space_end_optimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_END_OPTIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-end-maximum.c0000644000175000017500000001443610660107746021055 00000000000000/* Fo * fo-property-space-end-maximum.c: 'space-end-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-end-maximum.h" #include "property/fo-property-util.h" /* space-end-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceEndMaximum { FoProperty parent_instance; }; struct _FoPropertySpaceEndMaximumClass { FoPropertyClass parent_class; }; static void fo_property_space_end_maximum_init (FoPropertySpaceEndMaximum *property_space_end_maximum); static void fo_property_space_end_maximum_class_init (FoPropertySpaceEndMaximumClass *klass); static void fo_property_space_end_maximum_finalize (GObject *object); static FoDatatype* fo_property_space_end_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-end-maximum"; static gpointer parent_class; /** * fo_property_space_end_maximum_get_type: * * Register the #FoPropertySpaceEndMaximum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceEndMaximum. **/ GType fo_property_space_end_maximum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceEndMaximumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_end_maximum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceEndMaximum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_end_maximum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_end_maximum_init: * @space_end_maximum: #FoPropertySpaceEndMaximum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceEndMaximum. **/ void fo_property_space_end_maximum_init (FoPropertySpaceEndMaximum *space_end_maximum) { FO_PROPERTY (space_end_maximum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_end_maximum_class_init: * @klass: #FoPropertySpaceEndMaximumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceEndMaximumClass. **/ void fo_property_space_end_maximum_class_init (FoPropertySpaceEndMaximumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_end_maximum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_end_maximum_validate; property_class->get_initial = fo_property_space_end_maximum_get_initial; } /** * fo_property_space_end_maximum_finalize: * @object: #FoPropertySpaceEndMaximum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceEndMaximum. **/ void fo_property_space_end_maximum_finalize (GObject *object) { FoPropertySpaceEndMaximum *space_end_maximum; space_end_maximum = FO_PROPERTY_SPACE_END_MAXIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_end_maximum_new: * * Creates a new #FoPropertySpaceEndMaximum initialized to default value. * * Return value: the new #FoPropertySpaceEndMaximum. **/ FoProperty* fo_property_space_end_maximum_new (void) { FoProperty* space_end_maximum; space_end_maximum = FO_PROPERTY (g_object_new (fo_property_space_end_maximum_get_type (), NULL)); return space_end_maximum; } /** * fo_property_space_end_maximum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_end_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_end_maximum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_end_maximum_get_initial (void) { static FoProperty *space_end_maximum = NULL; if (space_end_maximum == NULL) { space_end_maximum = fo_property_space_end_maximum_new (); } return space_end_maximum; } xmlroff-0.6.2/libfo/property/fo-property-space-end-maximum.h0000644000175000017500000000347510770023365021057 00000000000000/* Fo * fo-property-space-end-maximum.h: 'space-end-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_END_MAXIMUM_H__ #define __FO_PROPERTY_SPACE_END_MAXIMUM_H__ #include #include G_BEGIN_DECLS /* space-end-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_END_MAXIMUM (fo_property_space_end_maximum_get_type ()) #define FO_PROPERTY_SPACE_END_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_END_MAXIMUM, FoPropertySpaceEndMaximum)) #define FO_PROPERTY_SPACE_END_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_END_MAXIMUM, FoPropertySpaceEndMaximumClass)) #define FO_IS_PROPERTY_SPACE_END_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_END_MAXIMUM)) #define FO_IS_PROPERTY_SPACE_END_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_END_MAXIMUM)) #define FO_PROPERTY_SPACE_END_MAXIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_END_MAXIMUM, FoPropertySpaceEndMaximumClass)) typedef struct _FoPropertySpaceEndMaximum FoPropertySpaceEndMaximum; typedef struct _FoPropertySpaceEndMaximumClass FoPropertySpaceEndMaximumClass; GType fo_property_space_end_maximum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_end_maximum_new (void); FoProperty* fo_property_space_end_maximum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_END_MAXIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-end-precedence.c0000644000175000017500000001543510660107746021475 00000000000000/* Fo * fo-property-space-end-precedence.c: 'space-end-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-end-precedence.h" #include "property/fo-property-util.h" /* space-end-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceEndPrecedence { FoProperty parent_instance; }; struct _FoPropertySpaceEndPrecedenceClass { FoPropertyClass parent_class; }; static void fo_property_space_end_precedence_init (FoPropertySpaceEndPrecedence *property_space_end_precedence); static void fo_property_space_end_precedence_class_init (FoPropertySpaceEndPrecedenceClass *klass); static void fo_property_space_end_precedence_finalize (GObject *object); static FoDatatype* fo_property_space_end_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-end-precedence"; static gpointer parent_class; /** * fo_property_space_end_precedence_get_type: * * Register the #FoPropertySpaceEndPrecedence type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceEndPrecedence. **/ GType fo_property_space_end_precedence_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceEndPrecedenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_end_precedence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceEndPrecedence), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_end_precedence_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_end_precedence_init: * @space_end_precedence: #FoPropertySpaceEndPrecedence object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceEndPrecedence. **/ void fo_property_space_end_precedence_init (FoPropertySpaceEndPrecedence *space_end_precedence) { FO_PROPERTY (space_end_precedence)->value = g_object_ref (fo_integer_get_integer_zero ()); } /** * fo_property_space_end_precedence_class_init: * @klass: #FoPropertySpaceEndPrecedenceClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceEndPrecedenceClass. **/ void fo_property_space_end_precedence_class_init (FoPropertySpaceEndPrecedenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_end_precedence_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_force_enum; property_class->validate = fo_property_space_end_precedence_validate; property_class->get_initial = fo_property_space_end_precedence_get_initial; } /** * fo_property_space_end_precedence_finalize: * @object: #FoPropertySpaceEndPrecedence object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceEndPrecedence. **/ void fo_property_space_end_precedence_finalize (GObject *object) { FoPropertySpaceEndPrecedence *space_end_precedence; space_end_precedence = FO_PROPERTY_SPACE_END_PRECEDENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_end_precedence_new: * * Creates a new #FoPropertySpaceEndPrecedence initialized to default value. * * Return value: the new #FoPropertySpaceEndPrecedence. **/ FoProperty* fo_property_space_end_precedence_new (void) { FoProperty* space_end_precedence; space_end_precedence = FO_PROPERTY (g_object_new (fo_property_space_end_precedence_get_type (), NULL)); return space_end_precedence; } /** * fo_property_space_end_precedence_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_end_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_end_precedence_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_end_precedence_get_initial (void) { static FoProperty *space_end_precedence = NULL; if (space_end_precedence == NULL) { space_end_precedence = fo_property_space_end_precedence_new (); } return space_end_precedence; } xmlroff-0.6.2/libfo/property/fo-property-space-end-precedence.h0000644000175000017500000000362110770023365021470 00000000000000/* Fo * fo-property-space-end-precedence.h: 'space-end-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_END_PRECEDENCE_H__ #define __FO_PROPERTY_SPACE_END_PRECEDENCE_H__ #include #include G_BEGIN_DECLS /* space-end-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_END_PRECEDENCE (fo_property_space_end_precedence_get_type ()) #define FO_PROPERTY_SPACE_END_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_END_PRECEDENCE, FoPropertySpaceEndPrecedence)) #define FO_PROPERTY_SPACE_END_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_END_PRECEDENCE, FoPropertySpaceEndPrecedenceClass)) #define FO_IS_PROPERTY_SPACE_END_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_END_PRECEDENCE)) #define FO_IS_PROPERTY_SPACE_END_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_END_PRECEDENCE)) #define FO_PROPERTY_SPACE_END_PRECEDENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_END_PRECEDENCE, FoPropertySpaceEndPrecedenceClass)) typedef struct _FoPropertySpaceEndPrecedence FoPropertySpaceEndPrecedence; typedef struct _FoPropertySpaceEndPrecedenceClass FoPropertySpaceEndPrecedenceClass; GType fo_property_space_end_precedence_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_end_precedence_new (void); FoProperty* fo_property_space_end_precedence_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_END_PRECEDENCE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-end-conditionality.c0000644000175000017500000001450110660107747022423 00000000000000/* Fo * fo-property-space-end-conditionality.c: 'space-end-conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-end-conditionality.h" #include "property/fo-property-util.h" /* space-end-conditionality */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceEndCondity { FoProperty parent_instance; }; struct _FoPropertySpaceEndCondityClass { FoPropertyClass parent_class; }; static void fo_property_space_end_condity_init (FoPropertySpaceEndCondity *property_space_end_condity); static void fo_property_space_end_condity_class_init (FoPropertySpaceEndCondityClass *klass); static void fo_property_space_end_condity_finalize (GObject *object); static FoDatatype* fo_property_space_end_condity_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-end-conditionality"; static gpointer parent_class; /** * fo_property_space_end_condity_get_type: * * Register the #FoPropertySpaceEndCondity type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceEndCondity. **/ GType fo_property_space_end_condity_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceEndCondityClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_end_condity_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceEndCondity), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_end_condity_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_end_condity_init: * @space_end_condity: #FoPropertySpaceEndCondity object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceEndCondity. **/ void fo_property_space_end_condity_init (FoPropertySpaceEndCondity *space_end_condity) { FO_PROPERTY (space_end_condity)->value = g_object_ref (fo_boolean_get_true ()); } /** * fo_property_space_end_condity_class_init: * @klass: #FoPropertySpaceEndCondityClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceEndCondityClass. **/ void fo_property_space_end_condity_class_init (FoPropertySpaceEndCondityClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_end_condity_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_condity_enum; property_class->validate = fo_property_space_end_condity_validate; property_class->get_initial = fo_property_space_end_condity_get_initial; } /** * fo_property_space_end_condity_finalize: * @object: #FoPropertySpaceEndCondity object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceEndCondity. **/ void fo_property_space_end_condity_finalize (GObject *object) { FoPropertySpaceEndCondity *space_end_condity; space_end_condity = FO_PROPERTY_SPACE_END_CONDITY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_end_condity_new: * * Creates a new #FoPropertySpaceEndCondity initialized to default value. * * Return value: the new #FoPropertySpaceEndCondity. **/ FoProperty* fo_property_space_end_condity_new (void) { FoProperty* space_end_condity; space_end_condity = FO_PROPERTY (g_object_new (fo_property_space_end_condity_get_type (), NULL)); return space_end_condity; } /** * fo_property_space_end_condity_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_end_condity_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_BOOLEAN (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_end_condity_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_end_condity_get_initial (void) { static FoProperty *space_end_condity = NULL; if (space_end_condity == NULL) { space_end_condity = fo_property_space_end_condity_new (); } return space_end_condity; } xmlroff-0.6.2/libfo/property/fo-property-space-end-conditionality.h0000644000175000017500000000351310770023365022424 00000000000000/* Fo * fo-property-space-end-conditionality.h: 'space-end.conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_END_CONDITY_H__ #define __FO_PROPERTY_SPACE_END_CONDITY_H__ #include #include G_BEGIN_DECLS /* space-end-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_END_CONDITY (fo_property_space_end_condity_get_type ()) #define FO_PROPERTY_SPACE_END_CONDITY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_END_CONDITY, FoPropertySpaceEndCondity)) #define FO_PROPERTY_SPACE_END_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_END_CONDITY, FoPropertySpaceEndCondityClass)) #define FO_IS_PROPERTY_SPACE_END_CONDITY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_END_CONDITY)) #define FO_IS_PROPERTY_SPACE_END_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_END_CONDITY)) #define FO_PROPERTY_SPACE_END_CONDITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_END_CONDITY, FoPropertySpaceEndCondityClass)) typedef struct _FoPropertySpaceEndCondity FoPropertySpaceEndCondity; typedef struct _FoPropertySpaceEndCondityClass FoPropertySpaceEndCondityClass; GType fo_property_space_end_condity_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_end_condity_new (void); FoProperty* fo_property_space_end_condity_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_END_CONDITY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-start.c0000644000175000017500000001673110660107746017771 00000000000000/* Fo * fo-property-space-start.c: 'space-start' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-start.h" /* Inherited: FALSE */ /* Shorthand: FALSE */ /* space-start */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertySpaceStart { FoProperty parent_instance; }; struct _FoPropertySpaceStartClass { FoPropertyClass parent_class; }; static void fo_property_space_start_init (FoPropertySpaceStart *property_space_start); static void fo_property_space_start_class_init (FoPropertySpaceStartClass *klass); static void fo_property_space_start_finalize (GObject *object); static FoDatatype* fo_property_space_start_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_space_start_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-start"; static gpointer parent_class; /** * fo_property_space_start_get_type: * * Register the #FoPropertySpaceStart type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceStart. **/ GType fo_property_space_start_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceStartClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_start_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceStart), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_start_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_start_init: * @space_start: #FoPropertySpaceStart object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceStart. **/ void fo_property_space_start_init (FoPropertySpaceStart *space_start) { FO_PROPERTY (space_start)->value = g_object_ref (fo_space_get_space_0pt ()); } /** * fo_property_space_start_class_init: * @klass: #FoPropertySpaceStartClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceStartClass. **/ void fo_property_space_start_class_init (FoPropertySpaceStartClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_start_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_space_start_resolve_enum; property_class->validate = fo_property_space_start_validate; property_class->get_initial = fo_property_space_start_get_initial; } /** * fo_property_space_start_finalize: * @object: #FoPropertySpaceStart object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceStart. **/ void fo_property_space_start_finalize (GObject *object) { FoPropertySpaceStart *space_start; space_start = FO_PROPERTY_SPACE_START (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_start_new: * * Creates a new #FoPropertySpaceStart initialized to default value. * * Return value: the new #FoPropertySpaceStart. **/ FoProperty* fo_property_space_start_new (void) { FoProperty* space_start; space_start = FO_PROPERTY (g_object_new (fo_property_space_start_get_type (), NULL)); return space_start; } /** * fo_property_space_start_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_space_start_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_space_start_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_start_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_SPACE (datatype)) { return datatype; } else if (FO_IS_LENGTH (datatype)) { new_datatype = fo_space_new_from_length (datatype); g_object_unref (datatype); return new_datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_start_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_start_get_initial (void) { static FoProperty *space_start = NULL; if (space_start == NULL) { space_start = fo_property_space_start_new (); } return space_start; } xmlroff-0.6.2/libfo/property/fo-property-space-start.h0000644000175000017500000000322710770023365017766 00000000000000/* Fo * fo-property-space-start.h: 'space-start' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_START_H__ #define __FO_PROPERTY_SPACE_START_H__ #include #include G_BEGIN_DECLS /* space-start */ /* | | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_SPACE_START (fo_property_space_start_get_type ()) #define FO_PROPERTY_SPACE_START(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_START, FoPropertySpaceStart)) #define FO_PROPERTY_SPACE_START_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_START, FoPropertySpaceStartClass)) #define FO_IS_PROPERTY_SPACE_START(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_START)) #define FO_IS_PROPERTY_SPACE_START_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_START)) #define FO_PROPERTY_SPACE_START_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_START, FoPropertySpaceStartClass)) typedef struct _FoPropertySpaceStart FoPropertySpaceStart; typedef struct _FoPropertySpaceStartClass FoPropertySpaceStartClass; GType fo_property_space_start_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_start_new (void); FoProperty* fo_property_space_start_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_START_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-start-minimum.c0000644000175000017500000001463410660107747021443 00000000000000/* Fo * fo-property-space-start-minimum.c: 'space-start-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-start-minimum.h" #include "property/fo-property-util.h" /* space-start-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceStartMinimum { FoProperty parent_instance; }; struct _FoPropertySpaceStartMinimumClass { FoPropertyClass parent_class; }; static void fo_property_space_start_minimum_init (FoPropertySpaceStartMinimum *property_space_start_minimum); static void fo_property_space_start_minimum_class_init (FoPropertySpaceStartMinimumClass *klass); static void fo_property_space_start_minimum_finalize (GObject *object); static FoDatatype* fo_property_space_start_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-start-minimum"; static gpointer parent_class; /** * fo_property_space_start_minimum_get_type: * * Register the #FoPropertySpaceStartMinimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceStartMinimum. **/ GType fo_property_space_start_minimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceStartMinimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_start_minimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceStartMinimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_start_minimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_start_minimum_init: * @space_start_minimum: #FoPropertySpaceStartMinimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceStartMinimum. **/ void fo_property_space_start_minimum_init (FoPropertySpaceStartMinimum *space_start_minimum) { FO_PROPERTY (space_start_minimum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_start_minimum_class_init: * @klass: #FoPropertySpaceStartMinimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceStartMinimumClass. **/ void fo_property_space_start_minimum_class_init (FoPropertySpaceStartMinimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_start_minimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_start_minimum_validate; property_class->get_initial = fo_property_space_start_minimum_get_initial; } /** * fo_property_space_start_minimum_finalize: * @object: #FoPropertySpaceStartMinimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceStartMinimum. **/ void fo_property_space_start_minimum_finalize (GObject *object) { FoPropertySpaceStartMinimum *space_start_minimum; space_start_minimum = FO_PROPERTY_SPACE_START_MINIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_start_minimum_new: * * Creates a new #FoPropertySpaceStartMinimum initialized to default value. * * Return value: the new #FoPropertySpaceStartMinimum. **/ FoProperty* fo_property_space_start_minimum_new (void) { FoProperty* space_start_minimum; space_start_minimum = FO_PROPERTY (g_object_new (fo_property_space_start_minimum_get_type (), NULL)); return space_start_minimum; } /** * fo_property_space_start_minimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_start_minimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_start_minimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_start_minimum_get_initial (void) { static FoProperty *space_start_minimum = NULL; if (space_start_minimum == NULL) { space_start_minimum = fo_property_space_start_minimum_new (); } return space_start_minimum; } xmlroff-0.6.2/libfo/property/fo-property-space-start-minimum.h0000644000175000017500000000356510770023365021444 00000000000000/* Fo * fo-property-space-start-minimum.h: 'space-start-minimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_START_MINIMUM_H__ #define __FO_PROPERTY_SPACE_START_MINIMUM_H__ #include #include G_BEGIN_DECLS /* space-start-minimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_START_MINIMUM (fo_property_space_start_minimum_get_type ()) #define FO_PROPERTY_SPACE_START_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_START_MINIMUM, FoPropertySpaceStartMinimum)) #define FO_PROPERTY_SPACE_START_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_START_MINIMUM, FoPropertySpaceStartMinimumClass)) #define FO_IS_PROPERTY_SPACE_START_MINIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_START_MINIMUM)) #define FO_IS_PROPERTY_SPACE_START_MINIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_START_MINIMUM)) #define FO_PROPERTY_SPACE_START_MINIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_START_MINIMUM, FoPropertySpaceStartMinimumClass)) typedef struct _FoPropertySpaceStartMinimum FoPropertySpaceStartMinimum; typedef struct _FoPropertySpaceStartMinimumClass FoPropertySpaceStartMinimumClass; GType fo_property_space_start_minimum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_start_minimum_new (void); FoProperty* fo_property_space_start_minimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_START_MINIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-start-optimum.c0000644000175000017500000001463410660107746021461 00000000000000/* Fo * fo-property-space-start-optimum.c: 'space-start-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-start-optimum.h" #include "property/fo-property-util.h" /* space-start-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceStartOptimum { FoProperty parent_instance; }; struct _FoPropertySpaceStartOptimumClass { FoPropertyClass parent_class; }; static void fo_property_space_start_optimum_init (FoPropertySpaceStartOptimum *property_space_start_optimum); static void fo_property_space_start_optimum_class_init (FoPropertySpaceStartOptimumClass *klass); static void fo_property_space_start_optimum_finalize (GObject *object); static FoDatatype* fo_property_space_start_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-start-optimum"; static gpointer parent_class; /** * fo_property_space_start_optimum_get_type: * * Register the #FoPropertySpaceStartOptimum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceStartOptimum. **/ GType fo_property_space_start_optimum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceStartOptimumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_start_optimum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceStartOptimum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_start_optimum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_start_optimum_init: * @space_start_optimum: #FoPropertySpaceStartOptimum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceStartOptimum. **/ void fo_property_space_start_optimum_init (FoPropertySpaceStartOptimum *space_start_optimum) { FO_PROPERTY (space_start_optimum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_start_optimum_class_init: * @klass: #FoPropertySpaceStartOptimumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceStartOptimumClass. **/ void fo_property_space_start_optimum_class_init (FoPropertySpaceStartOptimumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_start_optimum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_start_optimum_validate; property_class->get_initial = fo_property_space_start_optimum_get_initial; } /** * fo_property_space_start_optimum_finalize: * @object: #FoPropertySpaceStartOptimum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceStartOptimum. **/ void fo_property_space_start_optimum_finalize (GObject *object) { FoPropertySpaceStartOptimum *space_start_optimum; space_start_optimum = FO_PROPERTY_SPACE_START_OPTIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_start_optimum_new: * * Creates a new #FoPropertySpaceStartOptimum initialized to default value. * * Return value: the new #FoPropertySpaceStartOptimum. **/ FoProperty* fo_property_space_start_optimum_new (void) { FoProperty* space_start_optimum; space_start_optimum = FO_PROPERTY (g_object_new (fo_property_space_start_optimum_get_type (), NULL)); return space_start_optimum; } /** * fo_property_space_start_optimum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_start_optimum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_start_optimum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_start_optimum_get_initial (void) { static FoProperty *space_start_optimum = NULL; if (space_start_optimum == NULL) { space_start_optimum = fo_property_space_start_optimum_new (); } return space_start_optimum; } xmlroff-0.6.2/libfo/property/fo-property-space-start-optimum.h0000644000175000017500000000356510770023365021463 00000000000000/* Fo * fo-property-space-start-optimum.h: 'space-start-optimum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_START_OPTIMUM_H__ #define __FO_PROPERTY_SPACE_START_OPTIMUM_H__ #include #include G_BEGIN_DECLS /* space-start-optimum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_START_OPTIMUM (fo_property_space_start_optimum_get_type ()) #define FO_PROPERTY_SPACE_START_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_START_OPTIMUM, FoPropertySpaceStartOptimum)) #define FO_PROPERTY_SPACE_START_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_START_OPTIMUM, FoPropertySpaceStartOptimumClass)) #define FO_IS_PROPERTY_SPACE_START_OPTIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_START_OPTIMUM)) #define FO_IS_PROPERTY_SPACE_START_OPTIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_START_OPTIMUM)) #define FO_PROPERTY_SPACE_START_OPTIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_START_OPTIMUM, FoPropertySpaceStartOptimumClass)) typedef struct _FoPropertySpaceStartOptimum FoPropertySpaceStartOptimum; typedef struct _FoPropertySpaceStartOptimumClass FoPropertySpaceStartOptimumClass; GType fo_property_space_start_optimum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_start_optimum_new (void); FoProperty* fo_property_space_start_optimum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_START_OPTIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-start-maximum.c0000644000175000017500000001463410660107746021444 00000000000000/* Fo * fo-property-space-start-maximum.c: 'space-start-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-start-maximum.h" #include "property/fo-property-util.h" /* space-start-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceStartMaximum { FoProperty parent_instance; }; struct _FoPropertySpaceStartMaximumClass { FoPropertyClass parent_class; }; static void fo_property_space_start_maximum_init (FoPropertySpaceStartMaximum *property_space_start_maximum); static void fo_property_space_start_maximum_class_init (FoPropertySpaceStartMaximumClass *klass); static void fo_property_space_start_maximum_finalize (GObject *object); static FoDatatype* fo_property_space_start_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-start-maximum"; static gpointer parent_class; /** * fo_property_space_start_maximum_get_type: * * Register the #FoPropertySpaceStartMaximum type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceStartMaximum. **/ GType fo_property_space_start_maximum_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceStartMaximumClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_start_maximum_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceStartMaximum), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_start_maximum_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_start_maximum_init: * @space_start_maximum: #FoPropertySpaceStartMaximum object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceStartMaximum. **/ void fo_property_space_start_maximum_init (FoPropertySpaceStartMaximum *space_start_maximum) { FO_PROPERTY (space_start_maximum)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_space_start_maximum_class_init: * @klass: #FoPropertySpaceStartMaximumClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceStartMaximumClass. **/ void fo_property_space_start_maximum_class_init (FoPropertySpaceStartMaximumClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_start_maximum_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_space_start_maximum_validate; property_class->get_initial = fo_property_space_start_maximum_get_initial; } /** * fo_property_space_start_maximum_finalize: * @object: #FoPropertySpaceStartMaximum object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceStartMaximum. **/ void fo_property_space_start_maximum_finalize (GObject *object) { FoPropertySpaceStartMaximum *space_start_maximum; space_start_maximum = FO_PROPERTY_SPACE_START_MAXIMUM (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_start_maximum_new: * * Creates a new #FoPropertySpaceStartMaximum initialized to default value. * * Return value: the new #FoPropertySpaceStartMaximum. **/ FoProperty* fo_property_space_start_maximum_new (void) { FoProperty* space_start_maximum; space_start_maximum = FO_PROPERTY (g_object_new (fo_property_space_start_maximum_get_type (), NULL)); return space_start_maximum; } /** * fo_property_space_start_maximum_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_start_maximum_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_start_maximum_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_start_maximum_get_initial (void) { static FoProperty *space_start_maximum = NULL; if (space_start_maximum == NULL) { space_start_maximum = fo_property_space_start_maximum_new (); } return space_start_maximum; } xmlroff-0.6.2/libfo/property/fo-property-space-start-maximum.h0000644000175000017500000000356510770023365021446 00000000000000/* Fo * fo-property-space-start-maximum.h: 'space-start-maximum' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_START_MAXIMUM_H__ #define __FO_PROPERTY_SPACE_START_MAXIMUM_H__ #include #include G_BEGIN_DECLS /* space-start-maximum */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_START_MAXIMUM (fo_property_space_start_maximum_get_type ()) #define FO_PROPERTY_SPACE_START_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_START_MAXIMUM, FoPropertySpaceStartMaximum)) #define FO_PROPERTY_SPACE_START_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_START_MAXIMUM, FoPropertySpaceStartMaximumClass)) #define FO_IS_PROPERTY_SPACE_START_MAXIMUM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_START_MAXIMUM)) #define FO_IS_PROPERTY_SPACE_START_MAXIMUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_START_MAXIMUM)) #define FO_PROPERTY_SPACE_START_MAXIMUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_START_MAXIMUM, FoPropertySpaceStartMaximumClass)) typedef struct _FoPropertySpaceStartMaximum FoPropertySpaceStartMaximum; typedef struct _FoPropertySpaceStartMaximumClass FoPropertySpaceStartMaximumClass; GType fo_property_space_start_maximum_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_start_maximum_new (void); FoProperty* fo_property_space_start_maximum_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_START_MAXIMUM_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-start-precedence.c0000644000175000017500000001563310660107746022064 00000000000000/* Fo * fo-property-space-start-precedence.c: 'space-start-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-start-precedence.h" #include "property/fo-property-util.h" /* space-start-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* force | */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceStartPrecedence { FoProperty parent_instance; }; struct _FoPropertySpaceStartPrecedenceClass { FoPropertyClass parent_class; }; static void fo_property_space_start_precedence_init (FoPropertySpaceStartPrecedence *property_space_start_precedence); static void fo_property_space_start_precedence_class_init (FoPropertySpaceStartPrecedenceClass *klass); static void fo_property_space_start_precedence_finalize (GObject *object); static FoDatatype* fo_property_space_start_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-start-precedence"; static gpointer parent_class; /** * fo_property_space_start_precedence_get_type: * * Register the #FoPropertySpaceStartPrecedence type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceStartPrecedence. **/ GType fo_property_space_start_precedence_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceStartPrecedenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_start_precedence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceStartPrecedence), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_start_precedence_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_start_precedence_init: * @space_start_precedence: #FoPropertySpaceStartPrecedence object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceStartPrecedence. **/ void fo_property_space_start_precedence_init (FoPropertySpaceStartPrecedence *space_start_precedence) { FO_PROPERTY (space_start_precedence)->value = g_object_ref (fo_integer_get_integer_zero ()); } /** * fo_property_space_start_precedence_class_init: * @klass: #FoPropertySpaceStartPrecedenceClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceStartPrecedenceClass. **/ void fo_property_space_start_precedence_class_init (FoPropertySpaceStartPrecedenceClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_start_precedence_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_force_enum; property_class->validate = fo_property_space_start_precedence_validate; property_class->get_initial = fo_property_space_start_precedence_get_initial; } /** * fo_property_space_start_precedence_finalize: * @object: #FoPropertySpaceStartPrecedence object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceStartPrecedence. **/ void fo_property_space_start_precedence_finalize (GObject *object) { FoPropertySpaceStartPrecedence *space_start_precedence; space_start_precedence = FO_PROPERTY_SPACE_START_PRECEDENCE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_start_precedence_new: * * Creates a new #FoPropertySpaceStartPrecedence initialized to default value. * * Return value: the new #FoPropertySpaceStartPrecedence. **/ FoProperty* fo_property_space_start_precedence_new (void) { FoProperty* space_start_precedence; space_start_precedence = FO_PROPERTY (g_object_new (fo_property_space_start_precedence_get_type (), NULL)); return space_start_precedence; } /** * fo_property_space_start_precedence_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_start_precedence_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_start_precedence_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_start_precedence_get_initial (void) { static FoProperty *space_start_precedence = NULL; if (space_start_precedence == NULL) { space_start_precedence = fo_property_space_start_precedence_new (); } return space_start_precedence; } xmlroff-0.6.2/libfo/property/fo-property-space-start-precedence.h0000644000175000017500000000371110770023365022057 00000000000000/* Fo * fo-property-space-start-precedence.h: 'space-start-precedence' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_START_PRECEDENCE_H__ #define __FO_PROPERTY_SPACE_START_PRECEDENCE_H__ #include #include G_BEGIN_DECLS /* space-start-precedence */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_START_PRECEDENCE (fo_property_space_start_precedence_get_type ()) #define FO_PROPERTY_SPACE_START_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_START_PRECEDENCE, FoPropertySpaceStartPrecedence)) #define FO_PROPERTY_SPACE_START_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_START_PRECEDENCE, FoPropertySpaceStartPrecedenceClass)) #define FO_IS_PROPERTY_SPACE_START_PRECEDENCE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_START_PRECEDENCE)) #define FO_IS_PROPERTY_SPACE_START_PRECEDENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_START_PRECEDENCE)) #define FO_PROPERTY_SPACE_START_PRECEDENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_START_PRECEDENCE, FoPropertySpaceStartPrecedenceClass)) typedef struct _FoPropertySpaceStartPrecedence FoPropertySpaceStartPrecedence; typedef struct _FoPropertySpaceStartPrecedenceClass FoPropertySpaceStartPrecedenceClass; GType fo_property_space_start_precedence_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_start_precedence_new (void); FoProperty* fo_property_space_start_precedence_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_START_PRECEDENCE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-space-start-conditionality.c0000644000175000017500000001467710660107746023027 00000000000000/* Fo * fo-property-space-start-conditionality.c: 'space-start-conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-space-start-conditionality.h" #include "property/fo-property-util.h" /* space-start-conditionality */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ struct _FoPropertySpaceStartCondity { FoProperty parent_instance; }; struct _FoPropertySpaceStartCondityClass { FoPropertyClass parent_class; }; static void fo_property_space_start_condity_init (FoPropertySpaceStartCondity *property_space_start_condity); static void fo_property_space_start_condity_class_init (FoPropertySpaceStartCondityClass *klass); static void fo_property_space_start_condity_finalize (GObject *object); static FoDatatype* fo_property_space_start_condity_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "space-start-conditionality"; static gpointer parent_class; /** * fo_property_space_start_condity_get_type: * * Register the #FoPropertySpaceStartCondity type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpaceStartCondity. **/ GType fo_property_space_start_condity_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpaceStartCondityClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_space_start_condity_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpaceStartCondity), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_space_start_condity_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_space_start_condity_init: * @space_start_condity: #FoPropertySpaceStartCondity object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpaceStartCondity. **/ void fo_property_space_start_condity_init (FoPropertySpaceStartCondity *space_start_condity) { FO_PROPERTY (space_start_condity)->value = g_object_ref (fo_boolean_get_true ()); } /** * fo_property_space_start_condity_class_init: * @klass: #FoPropertySpaceStartCondityClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpaceStartCondityClass. **/ void fo_property_space_start_condity_class_init (FoPropertySpaceStartCondityClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_space_start_condity_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_condity_enum; property_class->validate = fo_property_space_start_condity_validate; property_class->get_initial = fo_property_space_start_condity_get_initial; } /** * fo_property_space_start_condity_finalize: * @object: #FoPropertySpaceStartCondity object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpaceStartCondity. **/ void fo_property_space_start_condity_finalize (GObject *object) { FoPropertySpaceStartCondity *space_start_condity; space_start_condity = FO_PROPERTY_SPACE_START_CONDITY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_space_start_condity_new: * * Creates a new #FoPropertySpaceStartCondity initialized to default value. * * Return value: the new #FoPropertySpaceStartCondity. **/ FoProperty* fo_property_space_start_condity_new (void) { FoProperty* space_start_condity; space_start_condity = FO_PROPERTY (g_object_new (fo_property_space_start_condity_get_type (), NULL)); return space_start_condity; } /** * fo_property_space_start_condity_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_space_start_condity_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_BOOLEAN (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_space_start_condity_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_space_start_condity_get_initial (void) { static FoProperty *space_start_condity = NULL; if (space_start_condity == NULL) { space_start_condity = fo_property_space_start_condity_new (); } return space_start_condity; } xmlroff-0.6.2/libfo/property/fo-property-space-start-conditionality.h0000644000175000017500000000360310770023365023013 00000000000000/* Fo * fo-property-space-start-conditionality.h: 'space-start.conditionality' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPACE_START_CONDITY_H__ #define __FO_PROPERTY_SPACE_START_CONDITY_H__ #include #include G_BEGIN_DECLS /* space-start-condity */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0 */ #define FO_TYPE_PROPERTY_SPACE_START_CONDITY (fo_property_space_start_condity_get_type ()) #define FO_PROPERTY_SPACE_START_CONDITY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPACE_START_CONDITY, FoPropertySpaceStartCondity)) #define FO_PROPERTY_SPACE_START_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPACE_START_CONDITY, FoPropertySpaceStartCondityClass)) #define FO_IS_PROPERTY_SPACE_START_CONDITY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPACE_START_CONDITY)) #define FO_IS_PROPERTY_SPACE_START_CONDITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPACE_START_CONDITY)) #define FO_PROPERTY_SPACE_START_CONDITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPACE_START_CONDITY, FoPropertySpaceStartCondityClass)) typedef struct _FoPropertySpaceStartCondity FoPropertySpaceStartCondity; typedef struct _FoPropertySpaceStartCondityClass FoPropertySpaceStartCondityClass; GType fo_property_space_start_condity_get_type (void) G_GNUC_CONST; FoProperty* fo_property_space_start_condity_new (void); FoProperty* fo_property_space_start_condity_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPACE_START_CONDITY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-span.c0000644000175000017500000002017210660107747016477 00000000000000/* Fo * fo-property-span.c: 'span' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-span.h" /* span */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* none | all | inherit */ /* Initial value: none */ struct _FoPropertySpan { FoProperty parent_instance; }; struct _FoPropertySpanClass { FoPropertyClass parent_class; }; static void fo_property_span_init (FoPropertySpan *property_span); static void fo_property_span_class_init (FoPropertySpanClass *klass); static void fo_property_span_finalize (GObject *object); static FoDatatype * fo_property_span_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_span_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "span"; static gpointer parent_class; /** * fo_property_span_get_type: * * Register the #FoPropertySpan type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySpan. **/ GType fo_property_span_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySpanClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_span_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySpan), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_span_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_span_init: * @span: #FoPropertySpan object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySpan. **/ void fo_property_span_init (FoPropertySpan *span) { FO_PROPERTY (span)->value = g_object_ref (fo_enum_get_enum_by_nick ("none")); } /** * fo_property_span_class_init: * @klass: #FoPropertySpanClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySpanClass. **/ void fo_property_span_class_init (FoPropertySpanClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_span_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_span_resolve_enum; property_class->validate = fo_property_span_validate; property_class->get_initial = fo_property_span_get_initial; } /** * fo_property_span_finalize: * @object: #FoPropertySpan object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySpan. **/ void fo_property_span_finalize (GObject *object) { FoPropertySpan *span; span = FO_PROPERTY_SPAN (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_span_new: * * Creates a new #FoPropertySpan initialized to default value. * * Return value: the new #FoPropertySpan. **/ FoProperty* fo_property_span_new (void) { FoProperty* span; span = FO_PROPERTY (g_object_new (fo_property_span_get_type (), NULL)); return span; } /** * fo_property_span_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_span_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "none") == 0) || (strcmp (token, "all") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_span_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_span_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_NONE) || (value == FO_ENUM_ENUM_ALL)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_span_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_span_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_span_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_span_get_initial (void) { static FoProperty *span = NULL; if (span == NULL) { span = fo_property_span_new (); } return span; } xmlroff-0.6.2/libfo/property/fo-property-span.h0000644000175000017500000000305510770023365016500 00000000000000/* Fo * fo-property-span.h: 'span' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SPAN_H__ #define __FO_PROPERTY_SPAN_H__ #include #include G_BEGIN_DECLS /* span */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* none | all | inherit */ /* Initial value: none */ #define FO_TYPE_PROPERTY_SPAN (fo_property_span_get_type ()) #define FO_PROPERTY_SPAN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPAN, FoPropertySpan)) #define FO_PROPERTY_SPAN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPAN, FoPropertySpanClass)) #define FO_IS_PROPERTY_SPAN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPAN)) #define FO_IS_PROPERTY_SPAN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPAN)) #define FO_PROPERTY_SPAN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPAN, FoPropertySpanClass)) /** * FoPropertySpan: * * Instance of the 'span' property. **/ typedef struct _FoPropertySpan FoPropertySpan; /** * FoPropertySpanClass: * * Class structure for the 'span' property. **/ typedef struct _FoPropertySpanClass FoPropertySpanClass; GType fo_property_span_get_type (void) G_GNUC_CONST; FoProperty * fo_property_span_new (void); FoProperty * fo_property_span_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SPAN_H__ */ xmlroff-0.6.2/libfo/property/fo-property-src.c0000644000175000017500000001250510660107747016326 00000000000000/* Fo * fo-property-src.c: 'src' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-src.h" #include "property/fo-property-util.h" /* src */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none, value required */ struct _FoPropertySrc { FoProperty parent_instance; }; struct _FoPropertySrcClass { FoPropertyClass parent_class; }; static void fo_property_src_init (FoPropertySrc *property_src); static void fo_property_src_class_init (FoPropertySrcClass *klass); static void fo_property_src_finalize (GObject *object); static FoDatatype * fo_property_src_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "src"; static gpointer parent_class; /** * fo_property_src_get_type: * * Register the #FoPropertySrc type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertySrc. **/ GType fo_property_src_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertySrcClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_src_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertySrc), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_src_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_src_init: * @src: #FoPropertySrc object to initialise. * * Implements #GInstanceInitFunc for #FoPropertySrc. **/ void fo_property_src_init (FoPropertySrc *src) { FO_PROPERTY (src)->value = NULL; } /** * fo_property_src_class_init: * @klass: #FoPropertySrcClass object to initialise. * * Implements #GClassInitFunc for #FoPropertySrcClass. **/ void fo_property_src_class_init (FoPropertySrcClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_src_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_no_enum; property_class->validate = fo_property_src_validate; property_class->get_initial = fo_property_src_get_initial; } /** * fo_property_src_finalize: * @object: #FoPropertySrc object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertySrc. **/ void fo_property_src_finalize (GObject *object) { FoPropertySrc *src; src = FO_PROPERTY_SRC (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_src_new: * * Creates a new #FoPropertySrc initialized to default value. * * Return value: the new #FoPropertySrc. **/ FoProperty* fo_property_src_new (void) { FoProperty* src; src = FO_PROPERTY (g_object_new (fo_property_src_get_type (), NULL)); return src; } /** * fo_property_src_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_src_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_URI_SPECIFICATION (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_src_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_src_get_initial (void) { static FoProperty *src = NULL; if (src == NULL) { src = fo_property_src_new (); } return src; } xmlroff-0.6.2/libfo/property/fo-property-src.h0000644000175000017500000000262610770023365016331 00000000000000/* Fo * fo-property-src.h: 'src' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_SRC_H__ #define __FO_PROPERTY_SRC_H__ #include #include G_BEGIN_DECLS /* src */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: none, value required */ #define FO_TYPE_PROPERTY_SRC (fo_property_src_get_type ()) #define FO_PROPERTY_SRC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SRC, FoPropertySrc)) #define FO_PROPERTY_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SRC, FoPropertySrcClass)) #define FO_IS_PROPERTY_SRC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SRC)) #define FO_IS_PROPERTY_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SRC)) #define FO_PROPERTY_SRC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SRC, FoPropertySrcClass)) typedef struct _FoPropertySrc FoPropertySrc; typedef struct _FoPropertySrcClass FoPropertySrcClass; GType fo_property_src_get_type (void) G_GNUC_CONST; FoProperty * fo_property_src_new (void); FoProperty * fo_property_src_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_SRC_H__ */ xmlroff-0.6.2/libfo/property/fo-property-start-indent.c0000644000175000017500000001662210660107746020156 00000000000000/* Fo * fo-property-start-indent.c: 'start-indent' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "datatype/fo-length.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-start-indent.h" /* Inherited: TRUE */ /* Shorthand: FALSE */ /* start-indent */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyStartIndent { FoProperty parent_instance; }; struct _FoPropertyStartIndentClass { FoPropertyClass parent_class; }; static void fo_property_start_indent_init (FoPropertyStartIndent *property_start_indent); static void fo_property_start_indent_class_init (FoPropertyStartIndentClass *klass); static void fo_property_start_indent_finalize (GObject *object); static FoDatatype* fo_property_start_indent_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_start_indent_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "start-indent"; static gpointer parent_class; /** * fo_property_start_indent_get_type: * * Register the #FoPropertyStartIndent type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyStartIndent. **/ GType fo_property_start_indent_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyStartIndentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_start_indent_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyStartIndent), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_start_indent_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_start_indent_init: * @start_indent: #FoPropertyStartIndent object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyStartIndent. **/ void fo_property_start_indent_init (FoPropertyStartIndent *start_indent) { FO_PROPERTY (start_indent)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_start_indent_class_init: * @klass: #FoPropertyStartIndentClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyStartIndentClass. **/ void fo_property_start_indent_class_init (FoPropertyStartIndentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_start_indent_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_start_indent_resolve_enum; property_class->validate = fo_property_start_indent_validate; property_class->get_initial = fo_property_start_indent_get_initial; } /** * fo_property_start_indent_finalize: * @object: #FoPropertyStartIndent object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyStartIndent. **/ void fo_property_start_indent_finalize (GObject *object) { FoPropertyStartIndent *start_indent; start_indent = FO_PROPERTY_START_INDENT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_start_indent_new: * * Creates a new #FoPropertyStartIndent initialized to default value. * * Return value: the new #FoPropertyStartIndent. **/ FoProperty* fo_property_start_indent_new (void) { FoProperty* start_indent; start_indent = FO_PROPERTY (g_object_new (fo_property_start_indent_get_type (), NULL)); return start_indent; } /** * fo_property_start_indent_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_start_indent_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_start_indent_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_start_indent_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_start_indent_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_start_indent_get_initial (void) { static FoProperty *start_indent = NULL; if (start_indent == NULL) { start_indent = fo_property_start_indent_new (); } return start_indent; } xmlroff-0.6.2/libfo/property/fo-property-start-indent.h0000644000175000017500000000314210770023365020150 00000000000000/* Fo * fo-property-start-indent.h: 'start-indent' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_START_INDENT_H__ #define __FO_PROPERTY_START_INDENT_H__ #include #include G_BEGIN_DECLS /* start-indent */ /* | | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_START_INDENT (fo_property_start_indent_get_type ()) #define FO_PROPERTY_START_INDENT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_START_INDENT, FoPropertyStartIndent)) #define FO_PROPERTY_START_INDENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_START_INDENT, FoPropertyStartIndentClass)) #define FO_IS_PROPERTY_START_INDENT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_START_INDENT)) #define FO_IS_PROPERTY_START_INDENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_START_INDENT)) #define FO_PROPERTY_START_INDENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_START_INDENT, FoPropertyStartIndentClass)) typedef struct _FoPropertyStartIndent FoPropertyStartIndent; typedef struct _FoPropertyStartIndentClass FoPropertyStartIndentClass; GType fo_property_start_indent_get_type (void) G_GNUC_CONST; FoProperty* fo_property_start_indent_new (void); FoProperty* fo_property_start_indent_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_START_INDENT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-table-layout.c0000644000175000017500000002030610660107746020136 00000000000000/* Fo * fo-property-table-layout.c: 'table-layout' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-table-layout.h" /* table-layout */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | fixed | inherit */ /* Initial value: auto */ struct _FoPropertyTableLayout { FoProperty parent_instance; }; struct _FoPropertyTableLayoutClass { FoPropertyClass parent_class; }; static void fo_property_table_layout_init (FoPropertyTableLayout *property_table_layout); static void fo_property_table_layout_class_init (FoPropertyTableLayoutClass *klass); static void fo_property_table_layout_finalize (GObject *object); static FoDatatype* fo_property_table_layout_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_table_layout_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "table-layout"; static gpointer parent_class; /** * fo_property_table_layout_get_type: * * Register the #FoPropertyTableLayout type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyTableLayout. **/ GType fo_property_table_layout_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyTableLayoutClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_table_layout_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyTableLayout), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_table_layout_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_table_layout_init: * @table_layout: #FoPropertyTableLayout object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyTableLayout. **/ void fo_property_table_layout_init (FoPropertyTableLayout *table_layout) { FO_PROPERTY (table_layout)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_table_layout_class_init: * @klass: #FoPropertyTableLayoutClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyTableLayoutClass. **/ void fo_property_table_layout_class_init (FoPropertyTableLayoutClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_table_layout_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_table_layout_resolve_enum; property_class->validate = fo_property_table_layout_validate; property_class->get_initial = fo_property_table_layout_get_initial; } /** * fo_property_table_layout_finalize: * @object: #FoPropertyTableLayout object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyTableLayout. **/ void fo_property_table_layout_finalize (GObject *object) { FoPropertyTableLayout *table_layout; table_layout = FO_PROPERTY_TABLE_LAYOUT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_table_layout_new: * * Creates a new #FoPropertyTableLayout initialized to default value. * * Return value: the new #FoPropertyTableLayout. **/ FoProperty* fo_property_table_layout_new (void) { FoProperty* table_layout; table_layout = FO_PROPERTY (g_object_new (fo_property_table_layout_get_type (), NULL)); return table_layout; } /** * fo_property_table_layout_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_table_layout_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "fixed") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_table_layout_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_table_layout_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_table_layout_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_table_layout_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_table_layout_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_table_layout_get_initial (void) { static FoProperty *table_layout = NULL; if (table_layout == NULL) { table_layout = fo_property_table_layout_new (); } return table_layout; } xmlroff-0.6.2/libfo/property/fo-property-widows.c0000644000175000017500000001625710660107747017063 00000000000000/* Fo * fo-property-widows.c: 'widows' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-widows.h" #define FO_PROPERTY_WIDOWS_INITIAL 2 /* Inherited: TRUE */ /* Shorthand: FALSE */ /* widows */ /* | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyWidows { FoProperty parent_instance; }; struct _FoPropertyWidowsClass { FoPropertyClass parent_class; }; static void fo_property_widows_init (FoPropertyWidows *property_widows); static void fo_property_widows_class_init (FoPropertyWidowsClass *klass); static void fo_property_widows_finalize (GObject *object); static FoDatatype* fo_property_widows_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_widows_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "widows"; static gpointer parent_class; /** * fo_property_widows_get_type: * * Register the #FoPropertyWidows type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyWidows. **/ GType fo_property_widows_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyWidowsClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_widows_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyWidows), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_widows_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_widows_init: * @widows: #FoPropertyWidows object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyWidows. **/ void fo_property_widows_init (FoPropertyWidows *widows) { FO_PROPERTY (widows)->value = g_object_ref (g_object_new (FO_TYPE_INTEGER, "value", FO_PROPERTY_WIDOWS_INITIAL, NULL)); } /** * fo_property_widows_class_init: * @klass: #FoPropertyWidowsClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyWidowsClass. **/ void fo_property_widows_class_init (FoPropertyWidowsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_widows_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_widows_resolve_enum; property_class->validate = fo_property_widows_validate; property_class->get_initial = fo_property_widows_get_initial; } /** * fo_property_widows_finalize: * @object: #FoPropertyWidows object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyWidows. **/ void fo_property_widows_finalize (GObject *object) { FoPropertyWidows *widows; widows = FO_PROPERTY_WIDOWS (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_widows_new: * * Creates a new #FoPropertyWidows initialized to default value. * * Return value: the new #FoPropertyWidows. **/ FoProperty* fo_property_widows_new (void) { FoProperty* widows; widows = FO_PROPERTY (g_object_new (fo_property_widows_get_type (), NULL)); return widows; } /** * fo_property_widows_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_widows_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_widows_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_widows_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_widows_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_widows_get_initial (void) { static FoProperty *widows = NULL; if (widows == NULL) { widows = fo_property_widows_new (); } return widows; } xmlroff-0.6.2/libfo/property/fo-property-table-layout.h0000644000175000017500000000315410770023365020141 00000000000000/* Fo * fo-property-table-layout.h: 'table-layout' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_TABLE_LAYOUT_H__ #define __FO_PROPERTY_TABLE_LAYOUT_H__ #include #include G_BEGIN_DECLS /* table-layout */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | fixed | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_TABLE_LAYOUT (fo_property_table_layout_get_type ()) #define FO_PROPERTY_TABLE_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_TABLE_LAYOUT, FoPropertyTableLayout)) #define FO_PROPERTY_TABLE_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_TABLE_LAYOUT, FoPropertyTableLayoutClass)) #define FO_IS_PROPERTY_TABLE_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_TABLE_LAYOUT)) #define FO_IS_PROPERTY_TABLE_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_TABLE_LAYOUT)) #define FO_PROPERTY_TABLE_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_TABLE_LAYOUT, FoPropertyTableLayoutClass)) typedef struct _FoPropertyTableLayout FoPropertyTableLayout; typedef struct _FoPropertyTableLayoutClass FoPropertyTableLayoutClass; GType fo_property_table_layout_get_type (void) G_GNUC_CONST; FoProperty* fo_property_table_layout_new (void); FoProperty* fo_property_table_layout_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_TABLE_LAYOUT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-text-align.c0000644000175000017500000002227510660107746017617 00000000000000/* Fo * fo-property-text-align.c: 'text-align' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-text-align.h" /* text-align */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* start | center | end | justify | inside | outside | left | right | | inherit */ /* Initial value: start */ struct _FoPropertyTextAlign { FoProperty parent_instance; }; struct _FoPropertyTextAlignClass { FoPropertyClass parent_class; }; static void fo_property_text_align_init (FoPropertyTextAlign *property_text_align); static void fo_property_text_align_class_init (FoPropertyTextAlignClass *klass); static void fo_property_text_align_finalize (GObject *object); static FoDatatype * fo_property_text_align_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_text_align_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "text-align"; static gpointer parent_class; /** * fo_property_text_align_get_type: * * Register the #FoPropertyTextAlign type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyTextAlign. **/ GType fo_property_text_align_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyTextAlignClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_text_align_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyTextAlign), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_text_align_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_text_align_init: * @text_align: #FoPropertyTextAlign object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyTextAlign. **/ void fo_property_text_align_init (FoPropertyTextAlign *text_align) { FO_PROPERTY (text_align)->value = g_object_ref (fo_enum_get_enum_by_nick ("start")); } /** * fo_property_text_align_class_init: * @klass: #FoPropertyTextAlignClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyTextAlignClass. **/ void fo_property_text_align_class_init (FoPropertyTextAlignClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_text_align_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_text_align_resolve_enum; property_class->validate = fo_property_text_align_validate; property_class->get_initial = fo_property_text_align_get_initial; } /** * fo_property_text_align_finalize: * @object: #FoPropertyTextAlign object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyTextAlign. **/ void fo_property_text_align_finalize (GObject *object) { FoPropertyTextAlign *text_align; text_align = FO_PROPERTY_TEXT_ALIGN (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_text_align_new: * * Creates a new #FoPropertyTextAlign initialized to default value. * * Return value: the new #FoPropertyTextAlign. **/ FoProperty* fo_property_text_align_new (void) { FoProperty* text_align; text_align = FO_PROPERTY (g_object_new (fo_property_text_align_get_type (), NULL)); return text_align; } /** * fo_property_text_align_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_text_align_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "start") == 0) || (strcmp (token, "center") == 0) || (strcmp (token, "end") == 0) || (strcmp (token, "justify") == 0) || (strcmp (token, "inside") == 0) || (strcmp (token, "outside") == 0) || (strcmp (token, "left") == 0) || (strcmp (token, "right") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_text_align_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_text_align_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_START) || (value == FO_ENUM_ENUM_CENTER) || (value == FO_ENUM_ENUM_END) || (value == FO_ENUM_ENUM_JUSTIFY) || (value == FO_ENUM_ENUM_INSIDE) || (value == FO_ENUM_ENUM_OUTSIDE) || (value == FO_ENUM_ENUM_LEFT) || (value == FO_ENUM_ENUM_RIGHT)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_text_align_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_text_align_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_STRING (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_text_align_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_text_align_get_initial (void) { static FoProperty *text_align = NULL; if (text_align == NULL) { text_align = fo_property_text_align_new (); } return text_align; } xmlroff-0.6.2/libfo/property/fo-property-text-align.h0000644000175000017500000000317310770023365017614 00000000000000/* Fo * fo-property-text-align.h: 'text-align' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_TEXT_ALIGN_H__ #define __FO_PROPERTY_TEXT_ALIGN_H__ #include #include G_BEGIN_DECLS /* text-align */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* start | center | end | justify | inside | outside | left | right | | inherit */ /* Initial value: start */ #define FO_TYPE_PROPERTY_TEXT_ALIGN (fo_property_text_align_get_type ()) #define FO_PROPERTY_TEXT_ALIGN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_TEXT_ALIGN, FoPropertyTextAlign)) #define FO_PROPERTY_TEXT_ALIGN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_TEXT_ALIGN, FoPropertyTextAlignClass)) #define FO_IS_PROPERTY_TEXT_ALIGN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_TEXT_ALIGN)) #define FO_IS_PROPERTY_TEXT_ALIGN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_TEXT_ALIGN)) #define FO_PROPERTY_TEXT_ALIGN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_TEXT_ALIGN, FoPropertyTextAlignClass)) typedef struct _FoPropertyTextAlign FoPropertyTextAlign; typedef struct _FoPropertyTextAlignClass FoPropertyTextAlignClass; GType fo_property_text_align_get_type (void) G_GNUC_CONST; FoProperty * fo_property_text_align_new (void); FoProperty * fo_property_text_align_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_TEXT_ALIGN_H__ */ xmlroff-0.6.2/libfo/property/fo-property-text-indent.c0000644000175000017500000001645410660107747020011 00000000000000/* Fo * fo-property-text-indent.c: 'text-indent' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-length.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-text-indent.h" /* Inherited: TRUE */ /* Shorthand: FALSE */ /* text-indent */ /* | | inherit */ /* NO ENUMERATED VALUE */ struct _FoPropertyTextIndent { FoProperty parent_instance; }; struct _FoPropertyTextIndentClass { FoPropertyClass parent_class; }; static void fo_property_text_indent_init (FoPropertyTextIndent *property_text_indent); static void fo_property_text_indent_class_init (FoPropertyTextIndentClass *klass); static void fo_property_text_indent_finalize (GObject *object); static FoDatatype* fo_property_text_indent_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_text_indent_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "text-indent"; static gpointer parent_class; /** * fo_property_text_indent_get_type: * * Register the #FoPropertyTextIndent type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyTextIndent. **/ GType fo_property_text_indent_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyTextIndentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_text_indent_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyTextIndent), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_text_indent_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_text_indent_init: * @text_indent: #FoPropertyTextIndent object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyTextIndent. **/ void fo_property_text_indent_init (FoPropertyTextIndent *text_indent) { FO_PROPERTY (text_indent)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_text_indent_class_init: * @klass: #FoPropertyTextIndentClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyTextIndentClass. **/ void fo_property_text_indent_class_init (FoPropertyTextIndentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_text_indent_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_text_indent_resolve_enum; property_class->validate = fo_property_text_indent_validate; property_class->get_initial = fo_property_text_indent_get_initial; } /** * fo_property_text_indent_finalize: * @object: #FoPropertyTextIndent object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyTextIndent. **/ void fo_property_text_indent_finalize (GObject *object) { FoPropertyTextIndent *text_indent; text_indent = FO_PROPERTY_TEXT_INDENT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_text_indent_new: * * Creates a new #FoPropertyTextIndent initialized to default value. * * Return value: the new #FoPropertyTextIndent. **/ FoProperty* fo_property_text_indent_new (void) { FoProperty* text_indent; text_indent = FO_PROPERTY (g_object_new (fo_property_text_indent_get_type (), NULL)); return text_indent; } /** * fo_property_text_indent_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_text_indent_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } /** * fo_property_text_indent_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_text_indent_validate (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_text_indent_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_text_indent_get_initial (void) { static FoProperty *text_indent = NULL; if (text_indent == NULL) { text_indent = fo_property_text_indent_new (); } return text_indent; } xmlroff-0.6.2/libfo/property/fo-property-text-indent.h0000644000175000017500000000310610770023366020000 00000000000000/* Fo * fo-property-text-indent.h: 'text-indent' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_TEXT_INDENT_H__ #define __FO_PROPERTY_TEXT_INDENT_H__ #include #include G_BEGIN_DECLS /* text-indent */ /* | | inherit */ /* Initial value: 0pt */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_TEXT_INDENT (fo_property_text_indent_get_type ()) #define FO_PROPERTY_TEXT_INDENT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_TEXT_INDENT, FoPropertyTextIndent)) #define FO_PROPERTY_TEXT_INDENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_TEXT_INDENT, FoPropertyTextIndentClass)) #define FO_IS_PROPERTY_TEXT_INDENT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_TEXT_INDENT)) #define FO_IS_PROPERTY_TEXT_INDENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_TEXT_INDENT)) #define FO_PROPERTY_TEXT_INDENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_TEXT_INDENT, FoPropertyTextIndentClass)) typedef struct _FoPropertyTextIndent FoPropertyTextIndent; typedef struct _FoPropertyTextIndentClass FoPropertyTextIndentClass; GType fo_property_text_indent_get_type (void) G_GNUC_CONST; FoProperty* fo_property_text_indent_new (void); FoProperty* fo_property_text_indent_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_TEXT_INDENT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-unicode-bidi.c0000644000175000017500000002152410660107746020072 00000000000000/* Fo * fo-property-unicode-bidi.c: 'unicode-bidi' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-unicode-bidi.h" /* unicode-bidi */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* normal | embed | bidi-override | inherit */ /* Initial value: normal */ struct _FoPropertyUnicodeBidi { FoProperty parent_instance; }; struct _FoPropertyUnicodeBidiClass { FoPropertyClass parent_class; }; static void fo_property_unicode_bidi_init (FoPropertyUnicodeBidi *property_unicode_bidi); static void fo_property_unicode_bidi_class_init (FoPropertyUnicodeBidiClass *klass); static void fo_property_unicode_bidi_finalize (GObject *object); static FoDatatype * fo_property_unicode_bidi_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_unicode_bidi_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "unicode-bidi"; static gpointer parent_class; /** * fo_property_unicode_bidi_get_type: * * Register the #FoPropertyUnicodeBidi type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyUnicodeBidi. **/ GType fo_property_unicode_bidi_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyUnicodeBidiClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_unicode_bidi_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyUnicodeBidi), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_unicode_bidi_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_unicode_bidi_init: * @unicode_bidi: #FoPropertyUnicodeBidi object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyUnicodeBidi. **/ void fo_property_unicode_bidi_init (FoPropertyUnicodeBidi *unicode_bidi) { FO_PROPERTY (unicode_bidi)->value = g_object_ref (fo_enum_get_enum_by_nick ("normal")); } /** * fo_property_unicode_bidi_class_init: * @klass: #FoPropertyUnicodeBidiClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyUnicodeBidiClass. **/ void fo_property_unicode_bidi_class_init (FoPropertyUnicodeBidiClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_unicode_bidi_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_unicode_bidi_resolve_enum; property_class->validate = fo_property_unicode_bidi_validate; property_class->get_initial = fo_property_unicode_bidi_get_initial; } /** * fo_property_unicode_bidi_finalize: * @object: #FoPropertyUnicodeBidi object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyUnicodeBidi. **/ void fo_property_unicode_bidi_finalize (GObject *object) { FoPropertyUnicodeBidi *unicode_bidi; unicode_bidi = FO_PROPERTY_UNICODE_BIDI (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_unicode_bidi_new: * * Creates a new #FoPropertyUnicodeBidi initialized to default value. * * Return value: the new #FoPropertyUnicodeBidi. **/ FoProperty* fo_property_unicode_bidi_new (void) { FoProperty* unicode_bidi; unicode_bidi = FO_PROPERTY (g_object_new (fo_property_unicode_bidi_get_type (), NULL)); return unicode_bidi; } /** * fo_property_unicode_bidi_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_unicode_bidi_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "normal") == 0) || (strcmp (token, "embed") == 0) || (strcmp (token, "bidi-override") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_unicode_bidi_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_unicode_bidi_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_NORMAL) || (value == FO_ENUM_ENUM_EMBED) || (value == FO_ENUM_ENUM_BIDI_OVERRIDE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_unicode_bidi_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_unicode_bidi_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_unicode_bidi_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_unicode_bidi_get_initial (void) { static FoProperty *unicode_bidi = NULL; if (unicode_bidi == NULL) { unicode_bidi = fo_property_unicode_bidi_new (); } return unicode_bidi; } xmlroff-0.6.2/libfo/property/fo-property-unicode-bidi.h0000644000175000017500000000321010770023365020063 00000000000000/* Fo * fo-property-unicode-bidi.h: 'unicode-bidi' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 200-20087 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_UNICODE_BIDI_H__ #define __FO_PROPERTY_UNICODE_BIDI_H__ #include #include G_BEGIN_DECLS /* unicode-bidi */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* normal | embed | bidi-override | inherit */ /* Initial value: normal */ #define FO_TYPE_PROPERTY_UNICODE_BIDI (fo_property_unicode_bidi_get_type ()) #define FO_PROPERTY_UNICODE_BIDI(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_UNICODE_BIDI, FoPropertyUnicodeBidi)) #define FO_PROPERTY_UNICODE_BIDI_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_UNICODE_BIDI, FoPropertyUnicodeBidiClass)) #define FO_IS_PROPERTY_UNICODE_BIDI(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_UNICODE_BIDI)) #define FO_IS_PROPERTY_UNICODE_BIDI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_UNICODE_BIDI)) #define FO_PROPERTY_UNICODE_BIDI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_UNICODE_BIDI, FoPropertyUnicodeBidiClass)) typedef struct _FoPropertyUnicodeBidi FoPropertyUnicodeBidi; typedef struct _FoPropertyUnicodeBidiClass FoPropertyUnicodeBidiClass; GType fo_property_unicode_bidi_get_type (void) G_GNUC_CONST; FoProperty * fo_property_unicode_bidi_new (void); FoProperty * fo_property_unicode_bidi_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_UNICODE_BIDI_H__ */ xmlroff-0.6.2/libfo/property/fo-property-white-space-collapse.c0000644000175000017500000002245010660107746021547 00000000000000/* Fo * fo-property-white-space-collapse.c: 'white-space-collapse' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-white-space-collapse.h" /* white-space-collapse */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* false | true | inherit */ /* Initial value: true */ struct _FoPropertyWhiteSpaceCollapse { FoProperty parent_instance; }; struct _FoPropertyWhiteSpaceCollapseClass { FoPropertyClass parent_class; }; static void fo_property_white_space_collapse_init (FoPropertyWhiteSpaceCollapse *property_white_space_collapse); static void fo_property_white_space_collapse_class_init (FoPropertyWhiteSpaceCollapseClass *klass); static void fo_property_white_space_collapse_finalize (GObject *object); static FoDatatype * fo_property_white_space_collapse_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_white_space_collapse_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "white-space-collapse"; static gpointer parent_class; /** * fo_property_white_space_collapse_get_type: * * Register the #FoPropertyWhiteSpaceCollapse type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyWhiteSpaceCollapse. **/ GType fo_property_white_space_collapse_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyWhiteSpaceCollapseClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_white_space_collapse_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyWhiteSpaceCollapse), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_white_space_collapse_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_white_space_collapse_init: * @white_space_collapse: #FoPropertyWhiteSpaceCollapse object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyWhiteSpaceCollapse. **/ void fo_property_white_space_collapse_init (FoPropertyWhiteSpaceCollapse *white_space_collapse) { FO_PROPERTY (white_space_collapse)->value = g_object_ref (fo_enum_get_enum_by_nick ("true")); } /** * fo_property_white_space_collapse_class_init: * @klass: #FoPropertyWhiteSpaceCollapseClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyWhiteSpaceCollapseClass. **/ void fo_property_white_space_collapse_class_init (FoPropertyWhiteSpaceCollapseClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_white_space_collapse_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_white_space_collapse_resolve_enum; property_class->validate = fo_property_white_space_collapse_validate; property_class->get_initial = fo_property_white_space_collapse_get_initial; } /** * fo_property_white_space_collapse_finalize: * @object: #FoPropertyWhiteSpaceCollapse object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyWhiteSpaceCollapse. **/ void fo_property_white_space_collapse_finalize (GObject *object) { FoPropertyWhiteSpaceCollapse *white_space_collapse; white_space_collapse = FO_PROPERTY_WHITE_SPACE_COLLAPSE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_white_space_collapse_new: * * Creates a new #FoPropertyWhiteSpaceCollapse initialized to default value. * * Return value: the new #FoPropertyWhiteSpaceCollapse. **/ FoProperty* fo_property_white_space_collapse_new (void) { FoProperty* white_space_collapse; white_space_collapse = FO_PROPERTY (g_object_new (fo_property_white_space_collapse_get_type (), NULL)); return white_space_collapse; } /** * fo_property_white_space_collapse_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_white_space_collapse_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "false") == 0) || (strcmp (token, "true") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_white_space_collapse_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_white_space_collapse_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_FALSE) || (value == FO_ENUM_ENUM_TRUE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_white_space_collapse_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_white_space_collapse_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_white_space_collapse_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_white_space_collapse_get_initial (void) { static FoProperty *white_space_collapse = NULL; if (white_space_collapse == NULL) { white_space_collapse = fo_property_white_space_collapse_new (); } return white_space_collapse; } xmlroff-0.6.2/libfo/property/fo-property-white-space-collapse.h0000644000175000017500000000403510770023365021547 00000000000000/* Fo * fo-property-white-space-collapse.h: 'white-space-collapse' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_WHITE_SPACE_COLLAPSE_H__ #define __FO_PROPERTY_WHITE_SPACE_COLLAPSE_H__ #include #include G_BEGIN_DECLS /* white-space-collapse */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* false | true | inherit */ /* Initial value: true */ #define FO_TYPE_PROPERTY_WHITE_SPACE_COLLAPSE (fo_property_white_space_collapse_get_type ()) #define FO_PROPERTY_WHITE_SPACE_COLLAPSE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_WHITE_SPACE_COLLAPSE, FoPropertyWhiteSpaceCollapse)) #define FO_PROPERTY_WHITE_SPACE_COLLAPSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_WHITE_SPACE_COLLAPSE, FoPropertyWhiteSpaceCollapseClass)) #define FO_IS_PROPERTY_WHITE_SPACE_COLLAPSE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_WHITE_SPACE_COLLAPSE)) #define FO_IS_PROPERTY_WHITE_SPACE_COLLAPSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_WHITE_SPACE_COLLAPSE)) #define FO_PROPERTY_WHITE_SPACE_COLLAPSE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_WHITE_SPACE_COLLAPSE, FoPropertyWhiteSpaceCollapseClass)) /** * FoPropertyWhiteSpaceCollapse: * * Instance of the 'white-space-collapse' property. **/ typedef struct _FoPropertyWhiteSpaceCollapse FoPropertyWhiteSpaceCollapse; /** * FoPropertyWhiteSpaceCollapseClass: * * Class structure for the 'white-space-collapse' property. **/ typedef struct _FoPropertyWhiteSpaceCollapseClass FoPropertyWhiteSpaceCollapseClass; GType fo_property_white_space_collapse_get_type (void) G_GNUC_CONST; FoProperty * fo_property_white_space_collapse_new (void); FoProperty * fo_property_white_space_collapse_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_WHITE_SPACE_COLLAPSE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-white-space-treatment.c0000644000175000017500000002361110660107746021750 00000000000000/* Fo * fo-property-white-space-treatment.c: 'white-space-treatment' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-white-space-treatment.h" /* white-space-treatment */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* ignore | preserve | ignore-if-before-linefeed | ignore-if-after-linefeed | ignore-if-surrounding-linefeed | inherit */ /* Initial value: ignore-if-surrounding-linefeed */ struct _FoPropertyWhiteSpaceTreatment { FoProperty parent_instance; }; struct _FoPropertyWhiteSpaceTreatmentClass { FoPropertyClass parent_class; }; static void fo_property_white_space_treatment_init (FoPropertyWhiteSpaceTreatment *property_white_space_treatment); static void fo_property_white_space_treatment_class_init (FoPropertyWhiteSpaceTreatmentClass *klass); static void fo_property_white_space_treatment_finalize (GObject *object); static FoDatatype * fo_property_white_space_treatment_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_white_space_treatment_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "white-space-treatment"; static gpointer parent_class; /** * fo_property_white_space_treatment_get_type: * * Register the #FoPropertyWhiteSpaceTreatment type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyWhiteSpaceTreatment. **/ GType fo_property_white_space_treatment_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyWhiteSpaceTreatmentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_white_space_treatment_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyWhiteSpaceTreatment), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_white_space_treatment_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_white_space_treatment_init: * @white_space_treatment: #FoPropertyWhiteSpaceTreatment object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyWhiteSpaceTreatment. **/ void fo_property_white_space_treatment_init (FoPropertyWhiteSpaceTreatment *white_space_treatment) { FO_PROPERTY (white_space_treatment)->value = g_object_ref (fo_enum_get_enum_by_nick ("ignore-if-surrounding-linefeed")); } /** * fo_property_white_space_treatment_class_init: * @klass: #FoPropertyWhiteSpaceTreatmentClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyWhiteSpaceTreatmentClass. **/ void fo_property_white_space_treatment_class_init (FoPropertyWhiteSpaceTreatmentClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_white_space_treatment_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_white_space_treatment_resolve_enum; property_class->validate = fo_property_white_space_treatment_validate; property_class->get_initial = fo_property_white_space_treatment_get_initial; } /** * fo_property_white_space_treatment_finalize: * @object: #FoPropertyWhiteSpaceTreatment object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyWhiteSpaceTreatment. **/ void fo_property_white_space_treatment_finalize (GObject *object) { FoPropertyWhiteSpaceTreatment *white_space_treatment; white_space_treatment = FO_PROPERTY_WHITE_SPACE_TREATMENT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_white_space_treatment_new: * * Creates a new #FoPropertyWhiteSpaceTreatment initialized to default value. * * Return value: the new #FoPropertyWhiteSpaceTreatment. **/ FoProperty* fo_property_white_space_treatment_new (void) { FoProperty* white_space_treatment; white_space_treatment = FO_PROPERTY (g_object_new (fo_property_white_space_treatment_get_type (), NULL)); return white_space_treatment; } /** * fo_property_white_space_treatment_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_white_space_treatment_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "ignore") == 0) || (strcmp (token, "preserve") == 0) || (strcmp (token, "ignore-if-before-linefeed") == 0) || (strcmp (token, "ignore-if-after-linefeed") == 0) || (strcmp (token, "ignore-if-surrounding-linefeed") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_white_space_treatment_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_white_space_treatment_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_IGNORE) || (value == FO_ENUM_ENUM_PRESERVE) || (value == FO_ENUM_ENUM_IGNORE_IF_BEFORE_LINEFEED) || (value == FO_ENUM_ENUM_IGNORE_IF_AFTER_LINEFEED) || (value == FO_ENUM_ENUM_IGNORE_IF_SURROUNDING_LINEFEED)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_white_space_treatment_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_white_space_treatment_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_white_space_treatment_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_white_space_treatment_get_initial (void) { static FoProperty *white_space_treatment = NULL; if (white_space_treatment == NULL) { white_space_treatment = fo_property_white_space_treatment_new (); } return white_space_treatment; } xmlroff-0.6.2/libfo/property/fo-property-white-space-treatment.h0000644000175000017500000000426410770023365021754 00000000000000/* Fo * fo-property-white-space-treatment.h: 'white-space-treatment' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_WHITE_SPACE_TREATMENT_H__ #define __FO_PROPERTY_WHITE_SPACE_TREATMENT_H__ #include #include G_BEGIN_DECLS /* white-space-treatment */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* ignore | preserve | ignore-if-before-linefeed | ignore-if-after-linefeed | ignore-if-surrounding-linefeed | inherit */ /* Initial value: ignore-if-surrounding-linefeed */ #define FO_TYPE_PROPERTY_WHITE_SPACE_TREATMENT (fo_property_white_space_treatment_get_type ()) #define FO_PROPERTY_WHITE_SPACE_TREATMENT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_WHITE_SPACE_TREATMENT, FoPropertyWhiteSpaceTreatment)) #define FO_PROPERTY_WHITE_SPACE_TREATMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_WHITE_SPACE_TREATMENT, FoPropertyWhiteSpaceTreatmentClass)) #define FO_IS_PROPERTY_WHITE_SPACE_TREATMENT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_WHITE_SPACE_TREATMENT)) #define FO_IS_PROPERTY_WHITE_SPACE_TREATMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_WHITE_SPACE_TREATMENT)) #define FO_PROPERTY_WHITE_SPACE_TREATMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_WHITE_SPACE_TREATMENT, FoPropertyWhiteSpaceTreatmentClass)) /** * FoPropertyWhiteSpaceTreatment: * * Instance of the 'white-space-treatment' property. **/ typedef struct _FoPropertyWhiteSpaceTreatment FoPropertyWhiteSpaceTreatment; /** * FoPropertyWhiteSpaceTreatmentClass: * * Class structure for the 'white-space-treatment' property. **/ typedef struct _FoPropertyWhiteSpaceTreatmentClass FoPropertyWhiteSpaceTreatmentClass; GType fo_property_white_space_treatment_get_type (void) G_GNUC_CONST; FoProperty * fo_property_white_space_treatment_new (void); FoProperty * fo_property_white_space_treatment_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_WHITE_SPACE_TREATMENT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-widows.h0000644000175000017500000000266110770023365017055 00000000000000/* Fo * fo-property-widows.h: 'widows' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_WIDOWS_H__ #define __FO_PROPERTY_WIDOWS_H__ #include #include G_BEGIN_DECLS /* widows */ /* | inherit */ /* Initial value: 2 */ /* NO ENUMERATED VALUE */ #define FO_TYPE_PROPERTY_WIDOWS (fo_property_widows_get_type ()) #define FO_PROPERTY_WIDOWS(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_WIDOWS, FoPropertyWidows)) #define FO_PROPERTY_WIDOWS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_WIDOWS, FoPropertyWidowsClass)) #define FO_IS_PROPERTY_WIDOWS(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_WIDOWS)) #define FO_IS_PROPERTY_WIDOWS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_WIDOWS)) #define FO_PROPERTY_WIDOWS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_WIDOWS, FoPropertyWidowsClass)) typedef struct _FoPropertyWidows FoPropertyWidows; typedef struct _FoPropertyWidowsClass FoPropertyWidowsClass; GType fo_property_widows_get_type (void) G_GNUC_CONST; FoProperty* fo_property_widows_new (void); FoProperty* fo_property_widows_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_WIDOWS_H__ */ xmlroff-0.6.2/libfo/property/fo-property-width.c0000644000175000017500000002043410660107746016655 00000000000000/* Fo * fo-property-width.c: 'width' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-width.h" /* width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | auto | inherit */ /* Initial value: auto */ struct _FoPropertyWidth { FoProperty parent_instance; }; struct _FoPropertyWidthClass { FoPropertyClass parent_class; }; static void fo_property_width_init (FoPropertyWidth *property_width); static void fo_property_width_class_init (FoPropertyWidthClass *klass); static void fo_property_width_finalize (GObject *object); static FoDatatype * fo_property_width_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_width_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "width"; static gpointer parent_class; /** * fo_property_width_get_type: * * Register the #FoPropertyWidth type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyWidth. **/ GType fo_property_width_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyWidthClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_width_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyWidth), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_width_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_width_init: * @width: #FoPropertyWidth object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyWidth. **/ void fo_property_width_init (FoPropertyWidth *width) { FO_PROPERTY (width)->value = g_object_ref (fo_enum_get_enum_by_nick ("auto")); } /** * fo_property_width_class_init: * @klass: #FoPropertyWidthClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyWidthClass. **/ void fo_property_width_class_init (FoPropertyWidthClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_width_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_width_resolve_enum; property_class->validate = fo_property_width_validate; property_class->get_initial = fo_property_width_get_initial; } /** * fo_property_width_finalize: * @object: #FoPropertyWidth object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyWidth. **/ void fo_property_width_finalize (GObject *object) { FoPropertyWidth *width; width = FO_PROPERTY_WIDTH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_width_new: * * Creates a new #FoPropertyWidth initialized to default value. * * Return value: the new #FoPropertyWidth. **/ FoProperty* fo_property_width_new (void) { FoProperty* width; width = FO_PROPERTY (g_object_new (fo_property_width_get_type (), NULL)); return width; } /** * fo_property_width_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_width_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_width_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_width_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if (value == FO_ENUM_ENUM_AUTO) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_width_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_width_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_width_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_width_get_initial (void) { static FoProperty *width = NULL; if (width == NULL) { width = fo_property_width_new (); } return width; } xmlroff-0.6.2/libfo/property/fo-property-width.h0000644000175000017500000000271110770023365016654 00000000000000/* Fo * fo-property-width.h: 'width' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_WIDTH_H__ #define __FO_PROPERTY_WIDTH_H__ #include #include G_BEGIN_DECLS /* width */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | | auto | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_WIDTH (fo_property_width_get_type ()) #define FO_PROPERTY_WIDTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_WIDTH, FoPropertyWidth)) #define FO_PROPERTY_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_WIDTH, FoPropertyWidthClass)) #define FO_IS_PROPERTY_WIDTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_WIDTH)) #define FO_IS_PROPERTY_WIDTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_WIDTH)) #define FO_PROPERTY_WIDTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_WIDTH, FoPropertyWidthClass)) typedef struct _FoPropertyWidth FoPropertyWidth; typedef struct _FoPropertyWidthClass FoPropertyWidthClass; GType fo_property_width_get_type (void) G_GNUC_CONST; FoProperty * fo_property_width_new (void); FoProperty * fo_property_width_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_WIDTH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-wrap-option.c0000644000175000017500000002105210660107746020012 00000000000000/* Fo * fo-property-wrap-option.c: 'wrap-option' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-wrap-option.h" /* wrap-option */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* no-wrap | wrap | inherit */ /* Initial value: wrap */ struct _FoPropertyWrapOption { FoProperty parent_instance; }; struct _FoPropertyWrapOptionClass { FoPropertyClass parent_class; }; static void fo_property_wrap_option_init (FoPropertyWrapOption *property_wrap_option); static void fo_property_wrap_option_class_init (FoPropertyWrapOptionClass *klass); static void fo_property_wrap_option_finalize (GObject *object); static FoDatatype * fo_property_wrap_option_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_wrap_option_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "wrap-option"; static gpointer parent_class; /** * fo_property_wrap_option_get_type: * * Register the #FoPropertyWrapOption type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyWrapOption. **/ GType fo_property_wrap_option_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyWrapOptionClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_wrap_option_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyWrapOption), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_wrap_option_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_wrap_option_init: * @wrap_option: #FoPropertyWrapOption object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyWrapOption. **/ void fo_property_wrap_option_init (FoPropertyWrapOption *wrap_option) { FO_PROPERTY (wrap_option)->value = g_object_ref (fo_enum_get_enum_by_nick ("wrap")); } /** * fo_property_wrap_option_class_init: * @klass: #FoPropertyWrapOptionClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyWrapOptionClass. **/ void fo_property_wrap_option_class_init (FoPropertyWrapOptionClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_wrap_option_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_wrap_option_resolve_enum; property_class->validate = fo_property_wrap_option_validate; property_class->get_initial = fo_property_wrap_option_get_initial; } /** * fo_property_wrap_option_finalize: * @object: #FoPropertyWrapOption object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyWrapOption. **/ void fo_property_wrap_option_finalize (GObject *object) { FoPropertyWrapOption *wrap_option; wrap_option = FO_PROPERTY_WRAP_OPTION (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_wrap_option_new: * * Creates a new #FoPropertyWrapOption initialized to default value. * * Return value: the new #FoPropertyWrapOption. **/ FoProperty* fo_property_wrap_option_new (void) { FoProperty* wrap_option; wrap_option = FO_PROPERTY (g_object_new (fo_property_wrap_option_get_type (), NULL)); return wrap_option; } /** * fo_property_wrap_option_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_wrap_option_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "no-wrap") == 0) || (strcmp (token, "wrap") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_wrap_option_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_wrap_option_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_NO_WRAP) || (value == FO_ENUM_ENUM_WRAP)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_wrap_option_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_wrap_option_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_wrap_option_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_wrap_option_get_initial (void) { static FoProperty *wrap_option = NULL; if (wrap_option == NULL) { wrap_option = fo_property_wrap_option_new (); } return wrap_option; } xmlroff-0.6.2/libfo/property/fo-property-wrap-option.h0000644000175000017500000000340710770023365020017 00000000000000/* Fo * fo-property-wrap-option.h: 'wrap-option' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_WRAP_OPTION_H__ #define __FO_PROPERTY_WRAP_OPTION_H__ #include #include G_BEGIN_DECLS /* wrap-option */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* no-wrap | wrap | inherit */ /* Initial value: wrap */ #define FO_TYPE_PROPERTY_WRAP_OPTION (fo_property_wrap_option_get_type ()) #define FO_PROPERTY_WRAP_OPTION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_WRAP_OPTION, FoPropertyWrapOption)) #define FO_PROPERTY_WRAP_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_WRAP_OPTION, FoPropertyWrapOptionClass)) #define FO_IS_PROPERTY_WRAP_OPTION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_WRAP_OPTION)) #define FO_IS_PROPERTY_WRAP_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_WRAP_OPTION)) #define FO_PROPERTY_WRAP_OPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_WRAP_OPTION, FoPropertyWrapOptionClass)) /** * FoPropertyWrapOption: * * Instance of the 'wrap-option' property. **/ typedef struct _FoPropertyWrapOption FoPropertyWrapOption; /** * FoPropertyWrapOptionClass: * * Class structure for the 'wrap-option' property. **/ typedef struct _FoPropertyWrapOptionClass FoPropertyWrapOptionClass; GType fo_property_wrap_option_get_type (void) G_GNUC_CONST; FoProperty * fo_property_wrap_option_new (void); FoProperty * fo_property_wrap_option_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_WRAP_OPTION_H__ */ xmlroff-0.6.2/libfo/property/fo-property-writing-mode.c0000644000175000017500000003166310660107746020151 00000000000000/* Fo * fo-property-writing-mode.c: 'writing-mode' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-font-size.h" #include "property/fo-property-writing-mode.h" /* writing-mode */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit */ /* Initial value: lr-tb */ struct _FoPropertyWritingMode { FoProperty parent_instance; }; struct _FoPropertyWritingModeClass { FoPropertyClass parent_class; }; static void fo_property_writing_mode_init (FoPropertyWritingMode *property_writing_mode); static void fo_property_writing_mode_class_init (FoPropertyWritingModeClass *klass); static void fo_property_writing_mode_finalize (GObject *object); static FoDatatype * fo_property_writing_mode_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_writing_mode_validate (FoDatatype *datatype, FoContext *context, GError **error); static const gchar class_name[] = "writing-mode"; static gpointer parent_class; /** * fo_property_writing_mode_get_type: * * Register the #FoPropertyWritingMode type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyWritingMode. **/ GType fo_property_writing_mode_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyWritingModeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_writing_mode_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyWritingMode), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_writing_mode_init, NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); } return object_type; } /** * fo_property_writing_mode_init: * @writing_mode: #FoPropertyWritingMode object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyWritingMode. **/ void fo_property_writing_mode_init (FoPropertyWritingMode *writing_mode) { FO_PROPERTY (writing_mode)->value = g_object_ref (fo_enum_get_enum_by_nick("lr-tb")); } /** * fo_property_writing_mode_class_init: * @klass: #FoPropertyWritingModeClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyWritingModeClass. **/ void fo_property_writing_mode_class_init (FoPropertyWritingModeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_writing_mode_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_writing_mode_resolve_enum; property_class->validate = fo_property_writing_mode_validate; property_class->get_initial = fo_property_writing_mode_get_initial; } /** * fo_property_writing_mode_finalize: * @object: #FoPropertyWritingMode object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyWritingMode. **/ void fo_property_writing_mode_finalize (GObject *object) { FoPropertyWritingMode *writing_mode; writing_mode = FO_PROPERTY_WRITING_MODE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_writing_mode_new: * * Creates a new #FoPropertyWritingMode initialized to default value. * * Return value: the new #FoPropertyWritingMode. **/ FoProperty* fo_property_writing_mode_new (void) { FoProperty* writing_mode; writing_mode = FO_PROPERTY (g_object_new (fo_property_writing_mode_get_type (), NULL)); return writing_mode; } /** * fo_property_writing_mode_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_writing_mode_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "lr-tb") == 0) || (strcmp (token, "rl-tb") == 0) || (strcmp (token, "tb-rl") == 0) || (strcmp (token, "lr") == 0) || (strcmp (token, "rl") == 0) || (strcmp (token, "tb") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_writing_mode_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_writing_mode_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_LR_TB) || (value == FO_ENUM_ENUM_RL_TB) || (value == FO_ENUM_ENUM_TB_RL)) { return datatype; } else if (value == FO_ENUM_ENUM_LR) { new_datatype = g_object_ref (fo_enum_get_enum_by_nick ("lr-tb")); g_object_unref (datatype); return new_datatype; } else if (value == FO_ENUM_ENUM_RL) { new_datatype = g_object_ref (fo_enum_get_enum_by_nick ("rl-tb")); g_object_unref (datatype); return new_datatype; } else if (value == FO_ENUM_ENUM_TB) { new_datatype = g_object_ref (fo_enum_get_enum_by_nick ("tb-rl")); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_writing_mode_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_writing_mode_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_writing_mode_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_writing_mode_get_initial (void) { static FoProperty *writing_mode = NULL; if (writing_mode == NULL) { writing_mode = fo_property_writing_mode_new (); } return writing_mode; } /** * fo_property_writing_mode_to_bpd: * @writing_mode: #FoPropertyWritingMode * @error: #GError * * Determine the block-progression-direction for the current value of * @writing_mode * * Return value: #FoEnumAreaDirection indicating block-progression-direction **/ FoEnumAreaDirection fo_property_writing_mode_to_bpd (FoProperty *writing_mode, GError **error) { gint writing_mode_value; FoEnumAreaDirection bpd = FO_ENUM_AREA_DIRECTION_UNKNOWN; g_return_val_if_fail (writing_mode != NULL, FO_ENUM_AREA_DIRECTION_UNKNOWN); g_return_val_if_fail (FO_IS_PROPERTY_WRITING_MODE (writing_mode), FO_ENUM_AREA_DIRECTION_UNKNOWN); g_return_val_if_fail (error == NULL || *error == NULL, FO_ENUM_AREA_DIRECTION_UNKNOWN); writing_mode_value = fo_enum_get_value (writing_mode->value); if (writing_mode_value == FO_ENUM_ENUM_LR_TB) { bpd = FO_ENUM_AREA_DIRECTION_TB; } else if (writing_mode_value == FO_ENUM_ENUM_RL_TB) { bpd = FO_ENUM_AREA_DIRECTION_TB; } else if (writing_mode_value == FO_ENUM_ENUM_TB_RL) { bpd = FO_ENUM_AREA_DIRECTION_RL; } else { g_assert_not_reached (); } return bpd; } /** * fo_property_writing_mode_to_ipd: * @writing_mode: #FoPropertyWritingMode * @error: #GError * * Determine the inline-progression-direction for the current value of * @writing_mode * * Return value: #FoEnumAreaDirection indicating inline-progression-direction **/ FoEnumAreaDirection fo_property_writing_mode_to_ipd (FoProperty *writing_mode, GError **error) { gint writing_mode_value; FoEnumAreaDirection ipd = FO_ENUM_AREA_DIRECTION_UNKNOWN; g_return_val_if_fail (writing_mode != NULL, FO_ENUM_AREA_DIRECTION_UNKNOWN); g_return_val_if_fail (FO_IS_PROPERTY_WRITING_MODE (writing_mode), FO_ENUM_AREA_DIRECTION_UNKNOWN); g_return_val_if_fail (error == NULL || *error == NULL, FO_ENUM_AREA_DIRECTION_UNKNOWN); writing_mode_value = fo_enum_get_value (writing_mode->value); if (writing_mode_value == FO_ENUM_ENUM_LR_TB) { ipd = FO_ENUM_AREA_DIRECTION_LR; } else if (writing_mode_value == FO_ENUM_ENUM_RL_TB) { ipd = FO_ENUM_AREA_DIRECTION_RL; } else if (writing_mode_value == FO_ENUM_ENUM_TB_RL) { ipd = FO_ENUM_AREA_DIRECTION_TB; } else { g_assert_not_reached (); } return ipd; } /** * fo_property_writing_mode_to_sd: * @writing_mode: #FoPropertyWritingMode * @error: #GError * * Determine the shift-direction for the current value of * @writing_mode * * Return value: #FoEnumAreaDirection indicating shift-direction **/ FoEnumAreaDirection fo_property_writing_mode_to_sd (FoProperty *writing_mode, GError **error) { gint writing_mode_value; FoEnumAreaDirection sd = FO_ENUM_AREA_DIRECTION_UNKNOWN; g_return_val_if_fail (writing_mode != NULL, FO_ENUM_AREA_DIRECTION_UNKNOWN); g_return_val_if_fail (FO_IS_PROPERTY_WRITING_MODE (writing_mode), FO_ENUM_AREA_DIRECTION_UNKNOWN); g_return_val_if_fail (error == NULL || *error == NULL, FO_ENUM_AREA_DIRECTION_UNKNOWN); writing_mode_value = fo_enum_get_value (writing_mode->value); if (writing_mode_value == FO_ENUM_ENUM_LR_TB) { sd = FO_ENUM_AREA_DIRECTION_BT; } else if (writing_mode_value == FO_ENUM_ENUM_RL_TB) { sd = FO_ENUM_AREA_DIRECTION_BT; } else if (writing_mode_value == FO_ENUM_ENUM_TB_RL) { sd = FO_ENUM_AREA_DIRECTION_LR; } else { g_assert_not_reached (); } return sd; } xmlroff-0.6.2/libfo/property/fo-property-writing-mode.h0000644000175000017500000000373310770023365020147 00000000000000/* Fo * fo-property-writing-mode.h: 'writing-mode' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_WRITING_MODE_H__ #define __FO_PROPERTY_WRITING_MODE_H__ #include #include G_BEGIN_DECLS /* writing-mode */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit */ /* Initial value: lr-tb */ #define FO_TYPE_PROPERTY_WRITING_MODE (fo_property_writing_mode_get_type ()) #define FO_PROPERTY_WRITING_MODE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_WRITING_MODE, FoPropertyWritingMode)) #define FO_PROPERTY_WRITING_MODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_WRITING_MODE, FoPropertyWritingModeClass)) #define FO_IS_PROPERTY_WRITING_MODE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_WRITING_MODE)) #define FO_IS_PROPERTY_WRITING_MODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_WRITING_MODE)) #define FO_PROPERTY_WRITING_MODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_WRITING_MODE, FoPropertyWritingModeClass)) typedef struct _FoPropertyWritingMode FoPropertyWritingMode; typedef struct _FoPropertyWritingModeClass FoPropertyWritingModeClass; GType fo_property_writing_mode_get_type (void) G_GNUC_CONST; FoProperty * fo_property_writing_mode_new (void); FoProperty * fo_property_writing_mode_get_initial (void); FoEnumAreaDirection fo_property_writing_mode_to_bpd (FoProperty *writing_mode, GError **error); FoEnumAreaDirection fo_property_writing_mode_to_ipd (FoProperty *writing_mode, GError **error); FoEnumAreaDirection fo_property_writing_mode_to_sd (FoProperty *writing_mode, GError **error); G_END_DECLS #endif /* !__FO_PROPERTY_WRITING_MODE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-util.c0000644000175000017500000016240611150536665016522 00000000000000/* Fo * fo-property-util.c: Utility functions for properties. * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2009 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include #include "fo-property-util.h" #include "datatype/fo-all-datatype.h" /** * fo_property_util_get_color_initial: * * Get the initial color value for borders. * * Return value: #FoDatatype for initial border color. **/ FoDatatype* fo_property_util_get_color_initial (void) { return fo_color_get_color_black (); } /** * fo_property_util_resolve_no_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_util_resolve_no_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "property", token); return NULL; } /* The following 2 routines (parse_color, find_color) come from Tk, * via the Win32 port of GDK via Pango. The licensing terms on these * (longer than the functions) is: * * This software is copyrighted by the Regents of the University of * California, Sun Microsystems, Inc., and other parties. The following * terms apply to all files associated with the software unless explicitly * disclaimed in individual files. * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies and that this * notice is included verbatim in any distributions. No written agreement, * license, or royalty fee is required for any of the authorized uses. * Modifications to this software may be copyrighted by their authors * and need not follow the licensing terms described here, provided that * the new terms are clearly indicated on the first page of each file where * they apply. * * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY * FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES * ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY * DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE * IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE * NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR * MODIFICATIONS. * * GOVERNMENT USE: If you are acquiring this software on behalf of the * U.S. government, the Government shall have only "Restricted Rights" * in the software and related documentation as defined in the Federal * Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you * are acquiring the software on behalf of the Department of Defense, the * software shall be classified as "Commercial Computer Software" and the * Government shall have only "Restricted Rights" as defined in Clause * 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the * authors grant the U.S. Government and others acting in its behalf * permission to use and distribute the software in accordance with the * terms specified in this license. */ typedef struct { const gchar *name; guint8 red; guint8 green; guint8 blue; } ColorEntry; static ColorEntry xColors[] = { { "alice blue", 240, 248, 255 }, { "AliceBlue", 240, 248, 255 }, { "antique white", 250, 235, 215 }, { "AntiqueWhite", 250, 235, 215 }, { "AntiqueWhite1", 255, 239, 219 }, { "AntiqueWhite2", 238, 223, 204 }, { "AntiqueWhite3", 205, 192, 176 }, { "AntiqueWhite4", 139, 131, 120 }, { "aquamarine", 127, 255, 212 }, { "aquamarine1", 127, 255, 212 }, { "aquamarine2", 118, 238, 198 }, { "aquamarine3", 102, 205, 170 }, { "aquamarine4", 69, 139, 116 }, { "azure", 240, 255, 255 }, { "azure1", 240, 255, 255 }, { "azure2", 224, 238, 238 }, { "azure3", 193, 205, 205 }, { "azure4", 131, 139, 139 }, { "beige", 245, 245, 220 }, { "bisque", 255, 228, 196 }, { "bisque1", 255, 228, 196 }, { "bisque2", 238, 213, 183 }, { "bisque3", 205, 183, 158 }, { "bisque4", 139, 125, 107 }, { "black", 0, 0, 0 }, { "blanched almond", 255, 235, 205 }, { "BlanchedAlmond", 255, 235, 205 }, { "blue", 0, 0, 255 }, { "blue violet", 138, 43, 226 }, { "blue1", 0, 0, 255 }, { "blue2", 0, 0, 238 }, { "blue3", 0, 0, 205 }, { "blue4", 0, 0, 139 }, { "BlueViolet", 138, 43, 226 }, { "brown", 165, 42, 42 }, { "brown1", 255, 64, 64 }, { "brown2", 238, 59, 59 }, { "brown3", 205, 51, 51 }, { "brown4", 139, 35, 35 }, { "burlywood", 222, 184, 135 }, { "burlywood1", 255, 211, 155 }, { "burlywood2", 238, 197, 145 }, { "burlywood3", 205, 170, 125 }, { "burlywood4", 139, 115, 85 }, { "cadet blue", 95, 158, 160 }, { "CadetBlue", 95, 158, 160 }, { "CadetBlue1", 152, 245, 255 }, { "CadetBlue2", 142, 229, 238 }, { "CadetBlue3", 122, 197, 205 }, { "CadetBlue4", 83, 134, 139 }, { "chartreuse", 127, 255, 0 }, { "chartreuse1", 127, 255, 0 }, { "chartreuse2", 118, 238, 0 }, { "chartreuse3", 102, 205, 0 }, { "chartreuse4", 69, 139, 0 }, { "chocolate", 210, 105, 30 }, { "chocolate1", 255, 127, 36 }, { "chocolate2", 238, 118, 33 }, { "chocolate3", 205, 102, 29 }, { "chocolate4", 139, 69, 19 }, { "coral", 255, 127, 80 }, { "coral1", 255, 114, 86 }, { "coral2", 238, 106, 80 }, { "coral3", 205, 91, 69 }, { "coral4", 139, 62, 47 }, { "cornflower blue", 100, 149, 237 }, { "CornflowerBlue", 100, 149, 237 }, { "cornsilk", 255, 248, 220 }, { "cornsilk1", 255, 248, 220 }, { "cornsilk2", 238, 232, 205 }, { "cornsilk3", 205, 200, 177 }, { "cornsilk4", 139, 136, 120 }, { "cyan", 0, 255, 255 }, { "cyan1", 0, 255, 255 }, { "cyan2", 0, 238, 238 }, { "cyan3", 0, 205, 205 }, { "cyan4", 0, 139, 139 }, { "dark blue", 0, 0, 139 }, { "dark cyan", 0, 139, 139 }, { "dark goldenrod", 184, 134, 11 }, { "dark gray", 169, 169, 169 }, { "dark green", 0, 100, 0 }, { "dark grey", 169, 169, 169 }, { "dark khaki", 189, 183, 107 }, { "dark magenta", 139, 0, 139 }, { "dark olive green", 85, 107, 47 }, { "dark orange", 255, 140, 0 }, { "dark orchid", 153, 50, 204 }, { "dark red", 139, 0, 0 }, { "dark salmon", 233, 150, 122 }, { "dark sea green", 143, 188, 143 }, { "dark slate blue", 72, 61, 139 }, { "dark slate gray", 47, 79, 79 }, { "dark slate grey", 47, 79, 79 }, { "dark turquoise", 0, 206, 209 }, { "dark violet", 148, 0, 211 }, { "DarkBlue", 0, 0, 139 }, { "DarkCyan", 0, 139, 139 }, { "DarkGoldenrod", 184, 134, 11 }, { "DarkGoldenrod1", 255, 185, 15 }, { "DarkGoldenrod2", 238, 173, 14 }, { "DarkGoldenrod3", 205, 149, 12 }, { "DarkGoldenrod4", 139, 101, 8 }, { "DarkGray", 169, 169, 169 }, { "DarkGreen", 0, 100, 0 }, { "DarkGrey", 169, 169, 169 }, { "DarkKhaki", 189, 183, 107 }, { "DarkMagenta", 139, 0, 139 }, { "DarkOliveGreen", 85, 107, 47 }, { "DarkOliveGreen1", 202, 255, 112 }, { "DarkOliveGreen2", 188, 238, 104 }, { "DarkOliveGreen3", 162, 205, 90 }, { "DarkOliveGreen4", 110, 139, 61 }, { "DarkOrange", 255, 140, 0 }, { "DarkOrange1", 255, 127, 0 }, { "DarkOrange2", 238, 118, 0 }, { "DarkOrange3", 205, 102, 0 }, { "DarkOrange4", 139, 69, 0 }, { "DarkOrchid", 153, 50, 204 }, { "DarkOrchid1", 191, 62, 255 }, { "DarkOrchid2", 178, 58, 238 }, { "DarkOrchid3", 154, 50, 205 }, { "DarkOrchid4", 104, 34, 139 }, { "DarkRed", 139, 0, 0 }, { "DarkSalmon", 233, 150, 122 }, { "DarkSeaGreen", 143, 188, 143 }, { "DarkSeaGreen1", 193, 255, 193 }, { "DarkSeaGreen2", 180, 238, 180 }, { "DarkSeaGreen3", 155, 205, 155 }, { "DarkSeaGreen4", 105, 139, 105 }, { "DarkSlateBlue", 72, 61, 139 }, { "DarkSlateGray", 47, 79, 79 }, { "DarkSlateGray1", 151, 255, 255 }, { "DarkSlateGray2", 141, 238, 238 }, { "DarkSlateGray3", 121, 205, 205 }, { "DarkSlateGray4", 82, 139, 139 }, { "DarkSlateGrey", 47, 79, 79 }, { "DarkTurquoise", 0, 206, 209 }, { "DarkViolet", 148, 0, 211 }, { "deep pink", 255, 20, 147 }, { "deep sky blue", 0, 191, 255 }, { "DeepPink", 255, 20, 147 }, { "DeepPink1", 255, 20, 147 }, { "DeepPink2", 238, 18, 137 }, { "DeepPink3", 205, 16, 118 }, { "DeepPink4", 139, 10, 80 }, { "DeepSkyBlue", 0, 191, 255 }, { "DeepSkyBlue1", 0, 191, 255 }, { "DeepSkyBlue2", 0, 178, 238 }, { "DeepSkyBlue3", 0, 154, 205 }, { "DeepSkyBlue4", 0, 104, 139 }, { "dim gray", 105, 105, 105 }, { "dim grey", 105, 105, 105 }, { "DimGray", 105, 105, 105 }, { "DimGrey", 105, 105, 105 }, { "dodger blue", 30, 144, 255 }, { "DodgerBlue", 30, 144, 255 }, { "DodgerBlue1", 30, 144, 255 }, { "DodgerBlue2", 28, 134, 238 }, { "DodgerBlue3", 24, 116, 205 }, { "DodgerBlue4", 16, 78, 139 }, { "firebrick", 178, 34, 34 }, { "firebrick1", 255, 48, 48 }, { "firebrick2", 238, 44, 44 }, { "firebrick3", 205, 38, 38 }, { "firebrick4", 139, 26, 26 }, { "floral white", 255, 250, 240 }, { "FloralWhite", 255, 250, 240 }, { "forest green", 34, 139, 34 }, { "ForestGreen", 34, 139, 34 }, { "gainsboro", 220, 220, 220 }, { "ghost white", 248, 248, 255 }, { "GhostWhite", 248, 248, 255 }, { "gold", 255, 215, 0 }, { "gold1", 255, 215, 0 }, { "gold2", 238, 201, 0 }, { "gold3", 205, 173, 0 }, { "gold4", 139, 117, 0 }, { "goldenrod", 218, 165, 32 }, { "goldenrod1", 255, 193, 37 }, { "goldenrod2", 238, 180, 34 }, { "goldenrod3", 205, 155, 29 }, { "goldenrod4", 139, 105, 20 }, { "gray", 190, 190, 190 }, { "gray0", 0, 0, 0 }, { "gray1", 3, 3, 3 }, { "gray10", 26, 26, 26 }, { "gray100", 255, 255, 255 }, { "gray11", 28, 28, 28 }, { "gray12", 31, 31, 31 }, { "gray13", 33, 33, 33 }, { "gray14", 36, 36, 36 }, { "gray15", 38, 38, 38 }, { "gray16", 41, 41, 41 }, { "gray17", 43, 43, 43 }, { "gray18", 46, 46, 46 }, { "gray19", 48, 48, 48 }, { "gray2", 5, 5, 5 }, { "gray20", 51, 51, 51 }, { "gray21", 54, 54, 54 }, { "gray22", 56, 56, 56 }, { "gray23", 59, 59, 59 }, { "gray24", 61, 61, 61 }, { "gray25", 64, 64, 64 }, { "gray26", 66, 66, 66 }, { "gray27", 69, 69, 69 }, { "gray28", 71, 71, 71 }, { "gray29", 74, 74, 74 }, { "gray3", 8, 8, 8 }, { "gray30", 77, 77, 77 }, { "gray31", 79, 79, 79 }, { "gray32", 82, 82, 82 }, { "gray33", 84, 84, 84 }, { "gray34", 87, 87, 87 }, { "gray35", 89, 89, 89 }, { "gray36", 92, 92, 92 }, { "gray37", 94, 94, 94 }, { "gray38", 97, 97, 97 }, { "gray39", 99, 99, 99 }, { "gray4", 10, 10, 10 }, { "gray40", 102, 102, 102 }, { "gray41", 105, 105, 105 }, { "gray42", 107, 107, 107 }, { "gray43", 110, 110, 110 }, { "gray44", 112, 112, 112 }, { "gray45", 115, 115, 115 }, { "gray46", 117, 117, 117 }, { "gray47", 120, 120, 120 }, { "gray48", 122, 122, 122 }, { "gray49", 125, 125, 125 }, { "gray5", 13, 13, 13 }, { "gray50", 127, 127, 127 }, { "gray51", 130, 130, 130 }, { "gray52", 133, 133, 133 }, { "gray53", 135, 135, 135 }, { "gray54", 138, 138, 138 }, { "gray55", 140, 140, 140 }, { "gray56", 143, 143, 143 }, { "gray57", 145, 145, 145 }, { "gray58", 148, 148, 148 }, { "gray59", 150, 150, 150 }, { "gray6", 15, 15, 15 }, { "gray60", 153, 153, 153 }, { "gray61", 156, 156, 156 }, { "gray62", 158, 158, 158 }, { "gray63", 161, 161, 161 }, { "gray64", 163, 163, 163 }, { "gray65", 166, 166, 166 }, { "gray66", 168, 168, 168 }, { "gray67", 171, 171, 171 }, { "gray68", 173, 173, 173 }, { "gray69", 176, 176, 176 }, { "gray7", 18, 18, 18 }, { "gray70", 179, 179, 179 }, { "gray71", 181, 181, 181 }, { "gray72", 184, 184, 184 }, { "gray73", 186, 186, 186 }, { "gray74", 189, 189, 189 }, { "gray75", 191, 191, 191 }, { "gray76", 194, 194, 194 }, { "gray77", 196, 196, 196 }, { "gray78", 199, 199, 199 }, { "gray79", 201, 201, 201 }, { "gray8", 20, 20, 20 }, { "gray80", 204, 204, 204 }, { "gray81", 207, 207, 207 }, { "gray82", 209, 209, 209 }, { "gray83", 212, 212, 212 }, { "gray84", 214, 214, 214 }, { "gray85", 217, 217, 217 }, { "gray86", 219, 219, 219 }, { "gray87", 222, 222, 222 }, { "gray88", 224, 224, 224 }, { "gray89", 227, 227, 227 }, { "gray9", 23, 23, 23 }, { "gray90", 229, 229, 229 }, { "gray91", 232, 232, 232 }, { "gray92", 235, 235, 235 }, { "gray93", 237, 237, 237 }, { "gray94", 240, 240, 240 }, { "gray95", 242, 242, 242 }, { "gray96", 245, 245, 245 }, { "gray97", 247, 247, 247 }, { "gray98", 250, 250, 250 }, { "gray99", 252, 252, 252 }, { "green", 0, 255, 0 }, { "green yellow", 173, 255, 47 }, { "green1", 0, 255, 0 }, { "green2", 0, 238, 0 }, { "green3", 0, 205, 0 }, { "green4", 0, 139, 0 }, { "GreenYellow", 173, 255, 47 }, { "grey", 190, 190, 190 }, { "grey0", 0, 0, 0 }, { "grey1", 3, 3, 3 }, { "grey10", 26, 26, 26 }, { "grey100", 255, 255, 255 }, { "grey11", 28, 28, 28 }, { "grey12", 31, 31, 31 }, { "grey13", 33, 33, 33 }, { "grey14", 36, 36, 36 }, { "grey15", 38, 38, 38 }, { "grey16", 41, 41, 41 }, { "grey17", 43, 43, 43 }, { "grey18", 46, 46, 46 }, { "grey19", 48, 48, 48 }, { "grey2", 5, 5, 5 }, { "grey20", 51, 51, 51 }, { "grey21", 54, 54, 54 }, { "grey22", 56, 56, 56 }, { "grey23", 59, 59, 59 }, { "grey24", 61, 61, 61 }, { "grey25", 64, 64, 64 }, { "grey26", 66, 66, 66 }, { "grey27", 69, 69, 69 }, { "grey28", 71, 71, 71 }, { "grey29", 74, 74, 74 }, { "grey3", 8, 8, 8 }, { "grey30", 77, 77, 77 }, { "grey31", 79, 79, 79 }, { "grey32", 82, 82, 82 }, { "grey33", 84, 84, 84 }, { "grey34", 87, 87, 87 }, { "grey35", 89, 89, 89 }, { "grey36", 92, 92, 92 }, { "grey37", 94, 94, 94 }, { "grey38", 97, 97, 97 }, { "grey39", 99, 99, 99 }, { "grey4", 10, 10, 10 }, { "grey40", 102, 102, 102 }, { "grey41", 105, 105, 105 }, { "grey42", 107, 107, 107 }, { "grey43", 110, 110, 110 }, { "grey44", 112, 112, 112 }, { "grey45", 115, 115, 115 }, { "grey46", 117, 117, 117 }, { "grey47", 120, 120, 120 }, { "grey48", 122, 122, 122 }, { "grey49", 125, 125, 125 }, { "grey5", 13, 13, 13 }, { "grey50", 127, 127, 127 }, { "grey51", 130, 130, 130 }, { "grey52", 133, 133, 133 }, { "grey53", 135, 135, 135 }, { "grey54", 138, 138, 138 }, { "grey55", 140, 140, 140 }, { "grey56", 143, 143, 143 }, { "grey57", 145, 145, 145 }, { "grey58", 148, 148, 148 }, { "grey59", 150, 150, 150 }, { "grey6", 15, 15, 15 }, { "grey60", 153, 153, 153 }, { "grey61", 156, 156, 156 }, { "grey62", 158, 158, 158 }, { "grey63", 161, 161, 161 }, { "grey64", 163, 163, 163 }, { "grey65", 166, 166, 166 }, { "grey66", 168, 168, 168 }, { "grey67", 171, 171, 171 }, { "grey68", 173, 173, 173 }, { "grey69", 176, 176, 176 }, { "grey7", 18, 18, 18 }, { "grey70", 179, 179, 179 }, { "grey71", 181, 181, 181 }, { "grey72", 184, 184, 184 }, { "grey73", 186, 186, 186 }, { "grey74", 189, 189, 189 }, { "grey75", 191, 191, 191 }, { "grey76", 194, 194, 194 }, { "grey77", 196, 196, 196 }, { "grey78", 199, 199, 199 }, { "grey79", 201, 201, 201 }, { "grey8", 20, 20, 20 }, { "grey80", 204, 204, 204 }, { "grey81", 207, 207, 207 }, { "grey82", 209, 209, 209 }, { "grey83", 212, 212, 212 }, { "grey84", 214, 214, 214 }, { "grey85", 217, 217, 217 }, { "grey86", 219, 219, 219 }, { "grey87", 222, 222, 222 }, { "grey88", 224, 224, 224 }, { "grey89", 227, 227, 227 }, { "grey9", 23, 23, 23 }, { "grey90", 229, 229, 229 }, { "grey91", 232, 232, 232 }, { "grey92", 235, 235, 235 }, { "grey93", 237, 237, 237 }, { "grey94", 240, 240, 240 }, { "grey95", 242, 242, 242 }, { "grey96", 245, 245, 245 }, { "grey97", 247, 247, 247 }, { "grey98", 250, 250, 250 }, { "grey99", 252, 252, 252 }, { "honeydew", 240, 255, 240 }, { "honeydew1", 240, 255, 240 }, { "honeydew2", 224, 238, 224 }, { "honeydew3", 193, 205, 193 }, { "honeydew4", 131, 139, 131 }, { "hot pink", 255, 105, 180 }, { "HotPink", 255, 105, 180 }, { "HotPink1", 255, 110, 180 }, { "HotPink2", 238, 106, 167 }, { "HotPink3", 205, 96, 144 }, { "HotPink4", 139, 58, 98 }, { "indian red", 205, 92, 92 }, { "IndianRed", 205, 92, 92 }, { "IndianRed1", 255, 106, 106 }, { "IndianRed2", 238, 99, 99 }, { "IndianRed3", 205, 85, 85 }, { "IndianRed4", 139, 58, 58 }, { "ivory", 255, 255, 240 }, { "ivory1", 255, 255, 240 }, { "ivory2", 238, 238, 224 }, { "ivory3", 205, 205, 193 }, { "ivory4", 139, 139, 131 }, { "khaki", 240, 230, 140 }, { "khaki1", 255, 246, 143 }, { "khaki2", 238, 230, 133 }, { "khaki3", 205, 198, 115 }, { "khaki4", 139, 134, 78 }, { "lavender", 230, 230, 250 }, { "lavender blush", 255, 240, 245 }, { "LavenderBlush", 255, 240, 245 }, { "LavenderBlush1", 255, 240, 245 }, { "LavenderBlush2", 238, 224, 229 }, { "LavenderBlush3", 205, 193, 197 }, { "LavenderBlush4", 139, 131, 134 }, { "lawn green", 124, 252, 0 }, { "LawnGreen", 124, 252, 0 }, { "lemon chiffon", 255, 250, 205 }, { "LemonChiffon", 255, 250, 205 }, { "LemonChiffon1", 255, 250, 205 }, { "LemonChiffon2", 238, 233, 191 }, { "LemonChiffon3", 205, 201, 165 }, { "LemonChiffon4", 139, 137, 112 }, { "light blue", 173, 216, 230 }, { "light coral", 240, 128, 128 }, { "light cyan", 224, 255, 255 }, { "light goldenrod", 238, 221, 130 }, { "light goldenrod yellow", 250, 250, 210 }, { "light gray", 211, 211, 211 }, { "light green", 144, 238, 144 }, { "light grey", 211, 211, 211 }, { "light pink", 255, 182, 193 }, { "light salmon", 255, 160, 122 }, { "light sea green", 32, 178, 170 }, { "light sky blue", 135, 206, 250 }, { "light slate blue", 132, 112, 255 }, { "light slate gray", 119, 136, 153 }, { "light slate grey", 119, 136, 153 }, { "light steel blue", 176, 196, 222 }, { "light yellow", 255, 255, 224 }, { "LightBlue", 173, 216, 230 }, { "LightBlue1", 191, 239, 255 }, { "LightBlue2", 178, 223, 238 }, { "LightBlue3", 154, 192, 205 }, { "LightBlue4", 104, 131, 139 }, { "LightCoral", 240, 128, 128 }, { "LightCyan", 224, 255, 255 }, { "LightCyan1", 224, 255, 255 }, { "LightCyan2", 209, 238, 238 }, { "LightCyan3", 180, 205, 205 }, { "LightCyan4", 122, 139, 139 }, { "LightGoldenrod", 238, 221, 130 }, { "LightGoldenrod1", 255, 236, 139 }, { "LightGoldenrod2", 238, 220, 130 }, { "LightGoldenrod3", 205, 190, 112 }, { "LightGoldenrod4", 139, 129, 76 }, { "LightGoldenrodYellow", 250, 250, 210 }, { "LightGray", 211, 211, 211 }, { "LightGreen", 144, 238, 144 }, { "LightGrey", 211, 211, 211 }, { "LightPink", 255, 182, 193 }, { "LightPink1", 255, 174, 185 }, { "LightPink2", 238, 162, 173 }, { "LightPink3", 205, 140, 149 }, { "LightPink4", 139, 95, 101 }, { "LightSalmon", 255, 160, 122 }, { "LightSalmon1", 255, 160, 122 }, { "LightSalmon2", 238, 149, 114 }, { "LightSalmon3", 205, 129, 98 }, { "LightSalmon4", 139, 87, 66 }, { "LightSeaGreen", 32, 178, 170 }, { "LightSkyBlue", 135, 206, 250 }, { "LightSkyBlue1", 176, 226, 255 }, { "LightSkyBlue2", 164, 211, 238 }, { "LightSkyBlue3", 141, 182, 205 }, { "LightSkyBlue4", 96, 123, 139 }, { "LightSlateBlue", 132, 112, 255 }, { "LightSlateGray", 119, 136, 153 }, { "LightSlateGrey", 119, 136, 153 }, { "LightSteelBlue", 176, 196, 222 }, { "LightSteelBlue1", 202, 225, 255 }, { "LightSteelBlue2", 188, 210, 238 }, { "LightSteelBlue3", 162, 181, 205 }, { "LightSteelBlue4", 110, 123, 139 }, { "LightYellow", 255, 255, 224 }, { "LightYellow1", 255, 255, 224 }, { "LightYellow2", 238, 238, 209 }, { "LightYellow3", 205, 205, 180 }, { "LightYellow4", 139, 139, 122 }, { "lime green", 50, 205, 50 }, { "LimeGreen", 50, 205, 50 }, { "linen", 250, 240, 230 }, { "magenta", 255, 0, 255 }, { "magenta1", 255, 0, 255 }, { "magenta2", 238, 0, 238 }, { "magenta3", 205, 0, 205 }, { "magenta4", 139, 0, 139 }, { "maroon", 176, 48, 96 }, { "maroon1", 255, 52, 179 }, { "maroon2", 238, 48, 167 }, { "maroon3", 205, 41, 144 }, { "maroon4", 139, 28, 98 }, { "medium aquamarine", 102, 205, 170 }, { "medium blue", 0, 0, 205 }, { "medium orchid", 186, 85, 211 }, { "medium purple", 147, 112, 219 }, { "medium sea green", 60, 179, 113 }, { "medium slate blue", 123, 104, 238 }, { "medium spring green", 0, 250, 154 }, { "medium turquoise", 72, 209, 204 }, { "medium violet red", 199, 21, 133 }, { "MediumAquamarine", 102, 205, 170 }, { "MediumBlue", 0, 0, 205 }, { "MediumOrchid", 186, 85, 211 }, { "MediumOrchid1", 224, 102, 255 }, { "MediumOrchid2", 209, 95, 238 }, { "MediumOrchid3", 180, 82, 205 }, { "MediumOrchid4", 122, 55, 139 }, { "MediumPurple", 147, 112, 219 }, { "MediumPurple1", 171, 130, 255 }, { "MediumPurple2", 159, 121, 238 }, { "MediumPurple3", 137, 104, 205 }, { "MediumPurple4", 93, 71, 139 }, { "MediumSeaGreen", 60, 179, 113 }, { "MediumSlateBlue", 123, 104, 238 }, { "MediumSpringGreen", 0, 250, 154 }, { "MediumTurquoise", 72, 209, 204 }, { "MediumVioletRed", 199, 21, 133 }, { "midnight blue", 25, 25, 112 }, { "MidnightBlue", 25, 25, 112 }, { "mint cream", 245, 255, 250 }, { "MintCream", 245, 255, 250 }, { "misty rose", 255, 228, 225 }, { "MistyRose", 255, 228, 225 }, { "MistyRose1", 255, 228, 225 }, { "MistyRose2", 238, 213, 210 }, { "MistyRose3", 205, 183, 181 }, { "MistyRose4", 139, 125, 123 }, { "moccasin", 255, 228, 181 }, { "navajo white", 255, 222, 173 }, { "NavajoWhite", 255, 222, 173 }, { "NavajoWhite1", 255, 222, 173 }, { "NavajoWhite2", 238, 207, 161 }, { "NavajoWhite3", 205, 179, 139 }, { "NavajoWhite4", 139, 121, 94 }, { "navy", 0, 0, 128 }, { "navy blue", 0, 0, 128 }, { "NavyBlue", 0, 0, 128 }, { "old lace", 253, 245, 230 }, { "OldLace", 253, 245, 230 }, { "olive drab", 107, 142, 35 }, { "OliveDrab", 107, 142, 35 }, { "OliveDrab1", 192, 255, 62 }, { "OliveDrab2", 179, 238, 58 }, { "OliveDrab3", 154, 205, 50 }, { "OliveDrab4", 105, 139, 34 }, { "orange", 255, 165, 0 }, { "orange red", 255, 69, 0 }, { "orange1", 255, 165, 0 }, { "orange2", 238, 154, 0 }, { "orange3", 205, 133, 0 }, { "orange4", 139, 90, 0 }, { "OrangeRed", 255, 69, 0 }, { "OrangeRed1", 255, 69, 0 }, { "OrangeRed2", 238, 64, 0 }, { "OrangeRed3", 205, 55, 0 }, { "OrangeRed4", 139, 37, 0 }, { "orchid", 218, 112, 214 }, { "orchid1", 255, 131, 250 }, { "orchid2", 238, 122, 233 }, { "orchid3", 205, 105, 201 }, { "orchid4", 139, 71, 137 }, { "pale goldenrod", 238, 232, 170 }, { "pale green", 152, 251, 152 }, { "pale turquoise", 175, 238, 238 }, { "pale violet red", 219, 112, 147 }, { "PaleGoldenrod", 238, 232, 170 }, { "PaleGreen", 152, 251, 152 }, { "PaleGreen1", 154, 255, 154 }, { "PaleGreen2", 144, 238, 144 }, { "PaleGreen3", 124, 205, 124 }, { "PaleGreen4", 84, 139, 84 }, { "PaleTurquoise", 175, 238, 238 }, { "PaleTurquoise1", 187, 255, 255 }, { "PaleTurquoise2", 174, 238, 238 }, { "PaleTurquoise3", 150, 205, 205 }, { "PaleTurquoise4", 102, 139, 139 }, { "PaleVioletRed", 219, 112, 147 }, { "PaleVioletRed1", 255, 130, 171 }, { "PaleVioletRed2", 238, 121, 159 }, { "PaleVioletRed3", 205, 104, 137 }, { "PaleVioletRed4", 139, 71, 93 }, { "papaya whip", 255, 239, 213 }, { "PapayaWhip", 255, 239, 213 }, { "peach puff", 255, 218, 185 }, { "PeachPuff", 255, 218, 185 }, { "PeachPuff1", 255, 218, 185 }, { "PeachPuff2", 238, 203, 173 }, { "PeachPuff3", 205, 175, 149 }, { "PeachPuff4", 139, 119, 101 }, { "peru", 205, 133, 63 }, { "pink", 255, 192, 203 }, { "pink1", 255, 181, 197 }, { "pink2", 238, 169, 184 }, { "pink3", 205, 145, 158 }, { "pink4", 139, 99, 108 }, { "plum", 221, 160, 221 }, { "plum1", 255, 187, 255 }, { "plum2", 238, 174, 238 }, { "plum3", 205, 150, 205 }, { "plum4", 139, 102, 139 }, { "powder blue", 176, 224, 230 }, { "PowderBlue", 176, 224, 230 }, { "purple", 160, 32, 240 }, { "purple1", 155, 48, 255 }, { "purple2", 145, 44, 238 }, { "purple3", 125, 38, 205 }, { "purple4", 85, 26, 139 }, { "red", 255, 0, 0 }, { "red1", 255, 0, 0 }, { "red2", 238, 0, 0 }, { "red3", 205, 0, 0 }, { "red4", 139, 0, 0 }, { "rosy brown", 188, 143, 143 }, { "RosyBrown", 188, 143, 143 }, { "RosyBrown1", 255, 193, 193 }, { "RosyBrown2", 238, 180, 180 }, { "RosyBrown3", 205, 155, 155 }, { "RosyBrown4", 139, 105, 105 }, { "royal blue", 65, 105, 225 }, { "RoyalBlue", 65, 105, 225 }, { "RoyalBlue1", 72, 118, 255 }, { "RoyalBlue2", 67, 110, 238 }, { "RoyalBlue3", 58, 95, 205 }, { "RoyalBlue4", 39, 64, 139 }, { "saddle brown", 139, 69, 19 }, { "SaddleBrown", 139, 69, 19 }, { "salmon", 250, 128, 114 }, { "salmon1", 255, 140, 105 }, { "salmon2", 238, 130, 98 }, { "salmon3", 205, 112, 84 }, { "salmon4", 139, 76, 57 }, { "sandy brown", 244, 164, 96 }, { "SandyBrown", 244, 164, 96 }, { "sea green", 46, 139, 87 }, { "SeaGreen", 46, 139, 87 }, { "SeaGreen1", 84, 255, 159 }, { "SeaGreen2", 78, 238, 148 }, { "SeaGreen3", 67, 205, 128 }, { "SeaGreen4", 46, 139, 87 }, { "seashell", 255, 245, 238 }, { "seashell1", 255, 245, 238 }, { "seashell2", 238, 229, 222 }, { "seashell3", 205, 197, 191 }, { "seashell4", 139, 134, 130 }, { "sienna", 160, 82, 45 }, { "sienna1", 255, 130, 71 }, { "sienna2", 238, 121, 66 }, { "sienna3", 205, 104, 57 }, { "sienna4", 139, 71, 38 }, { "sky blue", 135, 206, 235 }, { "SkyBlue", 135, 206, 235 }, { "SkyBlue1", 135, 206, 255 }, { "SkyBlue2", 126, 192, 238 }, { "SkyBlue3", 108, 166, 205 }, { "SkyBlue4", 74, 112, 139 }, { "slate blue", 106, 90, 205 }, { "slate gray", 112, 128, 144 }, { "slate grey", 112, 128, 144 }, { "SlateBlue", 106, 90, 205 }, { "SlateBlue1", 131, 111, 255 }, { "SlateBlue2", 122, 103, 238 }, { "SlateBlue3", 105, 89, 205 }, { "SlateBlue4", 71, 60, 139 }, { "SlateGray", 112, 128, 144 }, { "SlateGray1", 198, 226, 255 }, { "SlateGray2", 185, 211, 238 }, { "SlateGray3", 159, 182, 205 }, { "SlateGray4", 108, 123, 139 }, { "SlateGrey", 112, 128, 144 }, { "snow", 255, 250, 250 }, { "snow1", 255, 250, 250 }, { "snow2", 238, 233, 233 }, { "snow3", 205, 201, 201 }, { "snow4", 139, 137, 137 }, { "spring green", 0, 255, 127 }, { "SpringGreen", 0, 255, 127 }, { "SpringGreen1", 0, 255, 127 }, { "SpringGreen2", 0, 238, 118 }, { "SpringGreen3", 0, 205, 102 }, { "SpringGreen4", 0, 139, 69 }, { "steel blue", 70, 130, 180 }, { "SteelBlue", 70, 130, 180 }, { "SteelBlue1", 99, 184, 255 }, { "SteelBlue2", 92, 172, 238 }, { "SteelBlue3", 79, 148, 205 }, { "SteelBlue4", 54, 100, 139 }, { "tan", 210, 180, 140 }, { "tan1", 255, 165, 79 }, { "tan2", 238, 154, 73 }, { "tan3", 205, 133, 63 }, { "tan4", 139, 90, 43 }, { "thistle", 216, 191, 216 }, { "thistle1", 255, 225, 255 }, { "thistle2", 238, 210, 238 }, { "thistle3", 205, 181, 205 }, { "thistle4", 139, 123, 139 }, { "tomato", 255, 99, 71 }, { "tomato1", 255, 99, 71 }, { "tomato2", 238, 92, 66 }, { "tomato3", 205, 79, 57 }, { "tomato4", 139, 54, 38 }, { "turquoise", 64, 224, 208 }, { "turquoise1", 0, 245, 255 }, { "turquoise2", 0, 229, 238 }, { "turquoise3", 0, 197, 205 }, { "turquoise4", 0, 134, 139 }, { "violet", 238, 130, 238 }, { "violet red", 208, 32, 144 }, { "VioletRed", 208, 32, 144 }, { "VioletRed1", 255, 62, 150 }, { "VioletRed2", 238, 58, 140 }, { "VioletRed3", 205, 50, 120 }, { "VioletRed4", 139, 34, 82 }, { "wheat", 245, 222, 179 }, { "wheat1", 255, 231, 186 }, { "wheat2", 238, 216, 174 }, { "wheat3", 205, 186, 150 }, { "wheat4", 139, 126, 102 }, { "white", 255, 255, 255 }, { "white smoke", 245, 245, 245 }, { "WhiteSmoke", 245, 245, 245 }, { "yellow", 255, 255, 0 }, { "yellow green", 154, 205, 50 }, { "yellow1", 255, 255, 0 }, { "yellow2", 238, 238, 0 }, { "yellow3", 205, 205, 0 }, { "yellow4", 139, 139, 0 }, { "YellowGreen", 154, 205, 50 } }; static int compare_xcolor_entries (const void *a, const void *b) { return g_ascii_strcasecmp ((const char *) a, ((const ColorEntry *) b)->name); } static FoDatatype * find_color(const char *name) { FoDatatype *color = NULL; ColorEntry *found; found = bsearch (name, xColors, G_N_ELEMENTS (xColors), sizeof (ColorEntry), compare_xcolor_entries); if (found != NULL) { color = fo_color_new_with_value (((found->red << 8) | found->red), ((found->green << 8) | found->green), ((found->blue << 8) | found->blue)); } return color; } /** * fo_property_util_resolve_color_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_util_resolve_color_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "black") == 0) { return g_object_ref (fo_color_get_color_black ()); } else if (strcmp (token, "silver") == 0) { return g_object_ref (fo_color_get_color_silver ()); } else if (strcmp (token, "gray") == 0) { return g_object_ref (fo_color_get_color_gray ()); } else if (strcmp (token, "white") == 0) { return g_object_ref (fo_color_get_color_white ()); } else if (strcmp (token, "maroon") == 0) { return g_object_ref (fo_color_get_color_maroon ()); } else if (strcmp (token, "red") == 0) { return g_object_ref (fo_color_get_color_red ()); } else if (strcmp (token, "purple") == 0) { return g_object_ref (fo_color_get_color_purple ()); } else if (strcmp (token, "fuchsia") == 0) { return g_object_ref (fo_color_get_color_fuchsia ()); } else if (strcmp (token, "green") == 0) { return g_object_ref (fo_color_get_color_green ()); } else if (strcmp (token, "lime") == 0) { return g_object_ref (fo_color_get_color_lime ()); } else if (strcmp (token, "olive") == 0) { return g_object_ref (fo_color_get_color_olive ()); } else if (strcmp (token, "yellow") == 0) { return g_object_ref (fo_color_get_color_yellow ()); } else if (strcmp (token, "navy") == 0) { return g_object_ref (fo_color_get_color_navy ()); } else if (strcmp (token, "blue") == 0) { return g_object_ref (fo_color_get_color_blue ()); } else if (strcmp (token, "teal") == 0) { return g_object_ref (fo_color_get_color_teal ()); } else if (strcmp (token, "aqua") == 0) { return g_object_ref (fo_color_get_color_aqua ()); } else { FoDatatype *color = find_color (token); if (color == NULL) { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "color property", token); return NULL; } return color; } } /** * fo_property_util_resolve_color_transparent_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype * fo_property_util_resolve_color_transparent_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "transparent") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { return fo_property_util_resolve_color_enum (token, context, error); } } /** * fo_property_util_resolve_auto_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_util_resolve_auto_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_enum_get_enum_auto ()); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "property", token); return NULL; } } /** * fo_property_util_resolve_auto_always_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_util_resolve_auto_always_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "auto") == 0) { return g_object_ref (fo_enum_get_enum_auto ()); } else if (strcmp (token, "always") == 0) { return g_object_ref (fo_enum_get_always ()); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "property", token); return NULL; } } /** * fo_property_util_resolve_force_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_util_resolve_force_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "force") == 0) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "property", token); return NULL; } } /** * fo_property_util_validate_color: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property * @context: #FoContext object from which to possibly inherit values * @error: Information about any error that has occurred * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed * * Return value: Valid datatype value or NULL **/ FoDatatype* fo_property_util_validate_color (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_COLOR (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_color_enum (token, context, NULL); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_color_enum (token, context, NULL); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), "color property", datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_util_validate_color_transparent: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype * fo_property_util_validate_color_transparent (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_COLOR (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_TRANSPARENT)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "color property", datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_color_transparent_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_color_transparent_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), "color property", datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_util_resolve_condity_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_util_resolve_condity_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "discard") == 0) { return g_object_ref (fo_boolean_get_false ()); } else if (strcmp (token, "retain") == 0) { return g_object_ref (fo_boolean_get_true ()); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "conditionality", token); return NULL; } } /** * fo_property_util_resolve_ipdim_percent: * @percentage: Percentage value to resolve. * @font_size: Font size to use if a percentage of font-size. * @fo_node: Current #FoFo. * @context: #FoContext of parent #FoFo. * @error: Indicates whether an error occurs. * * Resolves @percentage as a percentage of a known value which, * depending on the property, could be the current font-size value or * some property value of the current #FoFo or its first #FoArea. * * Return value: #FoDatatype representing resolved value. */ FoDatatype * fo_property_util_resolve_ipdim_percent (gdouble percentage, const FoDatatype *font_size G_GNUC_UNUSED, const FoFo *fo_node, const FoContext *context G_GNUC_UNUSED, GError **error G_GNUC_UNUSED) { FoFoAreaIterator *iterator; FoArea *fo_area; gdouble width; g_return_val_if_fail (FO_IS_FO (fo_node), NULL); /* FIXME: Need to get content-rectangle of closest ancestor block-area that is not a line-area. */ iterator = fo_fo_get_area_iterator (FO_FO (fo_node_parent (FO_NODE (fo_node)))); fo_area = fo_fo_area_iterator_get_area (iterator); g_free (iterator); g_assert (fo_area != NULL); width = fo_area_get_child_available_ipdim (fo_area); return fo_length_new_with_value (width * percentage * 0.01); } /** * fo_property_util_get_width_initial: * * Get the initial width value for borders. * * Return value: #FoDatatype for initial border width. **/ FoDatatype* fo_property_util_get_width_initial (void) { return fo_length_get_width_medium (); } /** * fo_property_util_resolve_width_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token * @context: #FoContext object from which to possibly inherit values * @error: Information about an error that has occurred * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL * * Return value: Resolved enumeration value or NULL **/ FoDatatype* fo_property_util_resolve_width_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "thin") == 0) { return g_object_ref (fo_length_get_width_thin ()); } else if (strcmp (token, "medium") == 0) { return g_object_ref (fo_length_get_width_medium ()); } else if (strcmp (token, "thick") == 0) { return g_object_ref (fo_length_get_width_thick ()); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "border width", token); return NULL; } } /** * fo_property_util_validate_width: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_util_validate_width (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_THIN) || (value == FO_ENUM_ENUM_MEDIUM) || (value == FO_ENUM_ENUM_THICK)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "border width", datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_width_enum (token, context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } g_object_unref (datatype); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_width_enum (token, context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } g_object_unref (datatype); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), "border width", fo_object_sprintf (datatype), g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); return NULL; } } /** * fo_property_util_get_style_initial: * * Get the initial style value for borders. * * Return value: #FoDatatype for initial border style. **/ FoDatatype* fo_property_util_get_style_initial (void) { return fo_enum_get_enum_none (); } /** * fo_property_util_resolve_style_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token * @context: #FoContext object from which to possibly inherit values * @error: Information about an error that has occurred * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL * * Return value: Resolved enumeration value or NULL **/ FoDatatype* fo_property_util_resolve_style_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "none") == 0) || (strcmp (token, "hidden") == 0) || (strcmp (token, "dotted") == 0) || (strcmp (token, "dashed") == 0) || (strcmp (token, "solid") == 0) || (strcmp (token, "double") == 0) || (strcmp (token, "groove") == 0) || (strcmp (token, "ridge") == 0) || (strcmp (token, "inset") == 0) || (strcmp (token, "outset") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "border style", token); return NULL; } } /** * fo_property_util_validate_style: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property * @context: #FoContext object from which to possibly inherit values * @error: Information about an error that has occurred * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed * * Return value: Valid datatype value or NULL **/ FoDatatype* fo_property_util_validate_style (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_NONE) || (value == FO_ENUM_ENUM_HIDDEN) || (value == FO_ENUM_ENUM_DOTTED) || (value == FO_ENUM_ENUM_DASHED) || (value == FO_ENUM_ENUM_SOLID) || (value == FO_ENUM_ENUM_DOUBLE) || (value == FO_ENUM_ENUM_GROOVE) || (value == FO_ENUM_ENUM_RIDGE) || (value == FO_ENUM_ENUM_INSET) || (value == FO_ENUM_ENUM_OUTSET)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "style property", datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_style_enum (token, context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } g_object_unref (datatype); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_style_enum (token, context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } g_object_unref (datatype); return new_datatype; } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), "border style", fo_object_sprintf (datatype), g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); return NULL; } } /** * fo_property_util_resolve_wsc_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token * @context: #FoContext object from which to possibly inherit values * @error: Information about an error that has occurred * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL * * Return value: Resolved enumeration value or NULL **/ FoDatatype* fo_property_util_resolve_wsc_enum (const gchar *token, FoContext *context, GError **error) { FoDatatype *tmp_wsc = NULL; FoDatatype *tmp_enum = NULL; g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); tmp_enum = fo_property_util_resolve_width_enum (token, context, NULL); if (tmp_enum != NULL) { tmp_wsc = g_object_ref (fo_wsc_new_from_values (tmp_enum, NULL, NULL)); } else { tmp_enum = fo_property_util_resolve_style_enum (token, context, NULL); if (tmp_enum != NULL) { tmp_wsc = g_object_ref (fo_wsc_new_from_values (NULL, tmp_enum, NULL)); } else { tmp_enum = fo_property_util_resolve_color_enum (token, context, NULL); if (tmp_enum != NULL) { tmp_wsc = g_object_ref (fo_wsc_new_from_values (NULL, NULL, tmp_enum)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), "width-style-color property value type", token); return NULL; } } } return tmp_wsc; } /** * fo_property_util_validate_wsc: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property * @context: #FoContext object from which to possibly inherit values * @error: Information about an error that has occurred * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed * * Return value: Valid datatype value or NULL **/ FoDatatype* fo_property_util_validate_wsc (FoDatatype *datatype, FoContext *context, GError **error) { g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_WSC (datatype)) { GError *tmp_error = NULL; FoDatatype *new_width = fo_property_util_validate_width (fo_wsc_get_width (datatype), context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } FoDatatype *new_style = fo_property_util_validate_style (fo_wsc_get_style (datatype), context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } FoDatatype *new_color = fo_property_util_validate_color_transparent (fo_wsc_get_color (datatype), context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } g_object_unref (datatype); return fo_wsc_new_from_values (new_width, new_style, new_color); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), "width-style-color property value", fo_object_sprintf (datatype), g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); return NULL; } } xmlroff-0.6.2/libfo/property/fo-property-util.h0000644000175000017500000000547310643167450016525 00000000000000/* Fo * fo-property-util.h: Utility functions for properties. * * Copyright (C) 2001-2004 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_UTIL_H__ #define __FO_PROPERTY_UTIL_H__ #include #include #include G_BEGIN_DECLS FoDatatype * fo_property_util_get_color_initial (void); FoDatatype * fo_property_util_resolve_no_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_resolve_color_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_resolve_color_transparent_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_resolve_auto_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_resolve_auto_always_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_resolve_condity_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_resolve_force_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_validate_color (FoDatatype *datatype, FoContext *context, GError **error); FoDatatype * fo_property_util_validate_color_transparent (FoDatatype *datatype, FoContext *context, GError **error); FoDatatype * fo_property_util_resolve_ipdim_percent (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **error); FoDatatype * fo_property_util_resolve_width_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_validate_width (FoDatatype *datatype, FoContext *context, GError **error); FoDatatype * fo_property_util_get_width_initial (void); FoDatatype * fo_property_util_resolve_style_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_validate_style (FoDatatype *datatype, FoContext *context, GError **error); FoDatatype * fo_property_util_resolve_wsc_enum (const gchar *token, FoContext *context, GError **error); FoDatatype * fo_property_util_validate_wsc (FoDatatype *datatype, FoContext *context, GError **error); FoDatatype * fo_property_util_get_style_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_UTIL_H__ */ xmlroff-0.6.2/libfo/property/fo-property-text-property.c0000644000175000017500000001104410646473263020405 00000000000000/* Fo * fo-property-text-property.c: Inline formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo/fo-fo.h" #include "fo/fo-fo-private.h" #include "fo-property-text-property.h" static void fo_property_text_property_base_init (FoPropertyTextPropertyIface *klass); static PangoAttribute* fo_property_text_property_new_attr_default (FoProperty *property); static PangoAttribute* fo_property_text_property_new_attr_from_context_default (FoProperty *property, FoContext *context); /** * fo_property_text_property_get_type: * * Register the #FoPropertyTextProperty type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyTextProperty. **/ GType fo_property_text_property_get_type (void) { static GType text_property_type = 0; if (!text_property_type) { static const GTypeInfo text_property_info = { sizeof (FoPropertyTextPropertyIface), /* class_size */ (GBaseInitFunc) fo_property_text_property_base_init, /* base_init */ NULL, /* base_finalize */ NULL, NULL, /* class_finalize */ NULL, /* class_data */ 0, 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; text_property_type = g_type_register_static (G_TYPE_INTERFACE, "FoPropertyTextPropertyIface", &text_property_info, 0); g_type_interface_add_prerequisite (text_property_type, FO_TYPE_PROPERTY); } return text_property_type; } /** * fo_property_text_property_base_init: * @klass: #FoPropertyTextPropertyClass object to initialise. * * Implements #GBaseInitFunc for #FoPropertyTextPropertyClass. **/ void fo_property_text_property_base_init (FoPropertyTextPropertyIface *klass) { klass->new_attr = fo_property_text_property_new_attr_default; klass->new_attr_from_context = fo_property_text_property_new_attr_from_context_default; } /** * fo_property_text_property_new_attr: * @property: #FoProperty from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the value of @property. * * Return value: New #PangoAttribute for @property. **/ PangoAttribute * fo_property_text_property_new_attr (FoProperty *property) { g_return_val_if_fail (property != NULL, NULL); g_return_val_if_fail (FO_IS_PROPERTY_TEXT_PROPERTY (property), NULL); return FO_PROPERTY_TEXT_PROPERTY_GET_IFACE (property)->new_attr (property); } /** * fo_property_text_property_new_attr_default: * @property: #FoProperty from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the value of @property. * * Return value: New #PangoAttribute for @property. **/ PangoAttribute* fo_property_text_property_new_attr_default (FoProperty *property) { g_return_val_if_fail (property != NULL, NULL); g_return_val_if_fail (FO_IS_PROPERTY_TEXT_PROPERTY (property), NULL); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'new_attr' function."), fo_object_sprintf (property)); return NULL; } /** * fo_property_text_property_new_attr_from_context: * @property: #FoProperty from which to create a #PangoAttribute. * @context: #FoContext from which to take additional property values. * * Makes a new #PangoAttribute representing the value of @property. * * Return value: New #PangoAttribute for @property. **/ PangoAttribute * fo_property_text_property_new_attr_from_context (FoProperty *property, FoContext *context) { g_return_val_if_fail (property != NULL, NULL); g_return_val_if_fail (FO_IS_PROPERTY_TEXT_PROPERTY (property), NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); return FO_PROPERTY_TEXT_PROPERTY_GET_IFACE (property)->new_attr_from_context (property, context); } /** * fo_property_text_property_new_attr_from_context_default: * @property: #FoProperty from which to create a #PangoAttribute. * @context: #FoContext from which to take additional property values. * * Makes a new #PangoAttribute representing the value of @property. * * Return value: New #PangoAttribute for @property. **/ PangoAttribute* fo_property_text_property_new_attr_from_context_default (FoProperty *property, FoContext *context G_GNUC_UNUSED) { g_return_val_if_fail (property != NULL, NULL); g_return_val_if_fail (FO_IS_PROPERTY_TEXT_PROPERTY (property), NULL); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'new_attr_from_context' function."), fo_object_sprintf (property)); return NULL; } xmlroff-0.6.2/libfo/property/fo-property-text-property.h0000644000175000017500000000346110770023365020406 00000000000000/* Fo * fo-property-text-property.h: Inline formatting object interface * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_TEXT_PROPERTY_H__ #define __FO_PROPERTY_TEXT_PROPERTY_H__ #include #include #include #include G_BEGIN_DECLS #define FO_TYPE_PROPERTY_TEXT_PROPERTY (fo_property_text_property_get_type ()) #define FO_PROPERTY_TEXT_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FO_TYPE_PROPERTY_TEXT_PROPERTY, FoPropertyTextProperty)) #define FO_PROPERTY_TEXT_PROPERTY_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_PROPERTY_TEXT_PROPERTY, FoPropertyTextPropertyIface)) #define FO_IS_PROPERTY_TEXT_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FO_TYPE_PROPERTY_TEXT_PROPERTY)) #define FO_PROPERTY_TEXT_PROPERTY_GET_IFACE(obj) ((FoPropertyTextPropertyIface *)g_type_interface_peek (((GTypeInstance *) FO_PROPERTY_TEXT_PROPERTY (obj))->g_class, FO_TYPE_PROPERTY_TEXT_PROPERTY)) typedef struct _FoPropertyTextProperty FoPropertyTextProperty; /* Dummy typedef */ typedef struct _FoPropertyTextPropertyIface FoPropertyTextPropertyIface; struct _FoPropertyTextPropertyIface { GTypeInterface g_iface; PangoAttribute* (*new_attr) (FoProperty *property); PangoAttribute* (*new_attr_from_context) (FoProperty *property, FoContext *context); }; GType fo_property_text_property_get_type (void) G_GNUC_CONST; PangoAttribute * fo_property_text_property_new_attr (FoProperty *property); PangoAttribute * fo_property_text_property_new_attr_from_context (FoProperty *property, FoContext *context); G_END_DECLS #endif /* !__FO_PROPERTY_TEXT_PROPERTY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-common-font.c0000644000175000017500000000531410752174743017775 00000000000000/* Fo * fo-property-common-font.c: Common font property functions * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "property/fo-property-common-font.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-family.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" #include "property/fo-property-font-style.h" #include "property/fo-property-font-variant.h" #include "property/fo-property-font-weight.h" GList* fo_property_common_font_get_pango_attrs (FoProperty *font_family, /* No font-selection-strategy */ FoProperty *font_size, FoProperty *font_stretch, /* No font-size-adjust */ FoProperty *font_style, FoProperty *font_variant, FoProperty *font_weight, gint start_index, gint end_index) { PangoAttribute *pango_attr; GList *pango_attr_glist = NULL; g_return_val_if_fail (FO_IS_PROPERTY_FONT_FAMILY (font_family), NULL); g_return_val_if_fail (FO_IS_PROPERTY_FONT_SIZE (font_size), NULL); g_return_val_if_fail (FO_IS_PROPERTY_FONT_STRETCH (font_stretch), NULL); g_return_val_if_fail (FO_IS_PROPERTY_FONT_STYLE (font_style), NULL); g_return_val_if_fail (FO_IS_PROPERTY_FONT_VARIANT (font_variant), NULL); g_return_val_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (font_weight), NULL); pango_attr = fo_property_text_property_new_attr (font_family); pango_attr->start_index = start_index; pango_attr->end_index = end_index; pango_attr_glist = g_list_prepend (pango_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (font_size); pango_attr->start_index = start_index; pango_attr->end_index = end_index; pango_attr_glist = g_list_prepend (pango_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (font_stretch); pango_attr->start_index = start_index; pango_attr->end_index = end_index; pango_attr_glist = g_list_prepend (pango_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (font_style); pango_attr->start_index = start_index; pango_attr->end_index = end_index; pango_attr_glist = g_list_prepend (pango_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (font_variant); pango_attr->start_index = start_index; pango_attr->end_index = end_index; pango_attr_glist = g_list_prepend (pango_attr_glist, pango_attr); pango_attr = fo_property_text_property_new_attr (font_weight); pango_attr->start_index = start_index; pango_attr->end_index = end_index; return g_list_prepend (pango_attr_glist, pango_attr); } xmlroff-0.6.2/libfo/property/fo-property-common-font.h0000644000175000017500000000140410643167450017772 00000000000000/* Fo * fo-property-common-font.h: Common font property functions * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_COMMON_FONT_H__ #define __FO_PROPERTY_COMMON_FONT_H__ #include #include "fo-property.h" G_BEGIN_DECLS GList* fo_property_common_font_get_pango_attrs (FoProperty *font_family, /* No font-selection-family */ FoProperty *font_size, FoProperty *font_stretch, /* No font-size-adjust */ FoProperty *font_style, FoProperty *font_variant, FoProperty *font_weight, gint start_index, gint end_index); G_END_DECLS #endif /* !__FO_PROPERTY_COMMON_FONT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-alignment-adjust.c0000644000175000017500000003105010701014161020760 00000000000000/* Fo * fo-property-alignment-adjust.c: 'alignment-adjust' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" /* #include "property/fo-property-text-property.h" */ #include "property/fo-property-font-size.h" #include "property/fo-property-alignment-adjust.h" /* alignment-adjust */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | | | inherit */ /* Initial value: auto */ struct _FoPropertyAlignmentAdjust { FoProperty parent_instance; }; struct _FoPropertyAlignmentAdjustClass { FoPropertyClass parent_class; }; static void fo_property_alignment_adjust_init (FoPropertyAlignmentAdjust *property_alignment_adjust); static void fo_property_alignment_adjust_class_init (FoPropertyAlignmentAdjustClass *klass); static FoDatatype* fo_property_alignment_adjust_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_alignment_adjust_validate (FoDatatype *datatype, FoContext *context, GError **error); /* static PangoAttribute* fo_property_alignment_adjust_new_attr (FoProperty *property); static void fo_property_alignment_adjust_text_property_init (FoPropertyTextPropertyIface *iface); */ static const gchar class_name[] = "alignment-adjust"; static gpointer parent_class; /** * fo_property_alignment_adjust_get_type: * * Register the #FoPropertyAlignmentAdjust type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyAlignmentAdjust. **/ GType fo_property_alignment_adjust_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyAlignmentAdjustClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_alignment_adjust_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyAlignmentAdjust), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_alignment_adjust_init, NULL /* value_table */ }; /* static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_alignment_adjust_text_property_init, / * interface_init * / NULL, NULL }; */ object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); /* g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); */ } return object_type; } /** * fo_property_alignment_adjust_init: * @alignment_adjust: #FoPropertyAlignmentAdjust object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyAlignmentAdjust. **/ void fo_property_alignment_adjust_init (FoPropertyAlignmentAdjust *alignment_adjust) { FO_PROPERTY (alignment_adjust)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_alignment_adjust_class_init: * @klass: #FoPropertyAlignmentAdjustClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyAlignmentAdjustClass. **/ void fo_property_alignment_adjust_class_init (FoPropertyAlignmentAdjustClass *klass) { FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_alignment_adjust_resolve_enum; property_class->validate = fo_property_alignment_adjust_validate; property_class->get_initial = fo_property_alignment_adjust_get_initial; } /** * fo_property_alignment_adjust_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ /* void fo_property_alignment_adjust_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_alignment_adjust_new_attr; } */ /** * fo_property_alignment_adjust_new: * * Creates a new #FoPropertyAlignmentAdjust initialized to default value. * * Return value: the new #FoPropertyAlignmentAdjust. **/ FoProperty* fo_property_alignment_adjust_new (void) { FoProperty* alignment_adjust; alignment_adjust = FO_PROPERTY (g_object_new (fo_property_alignment_adjust_get_type (), NULL)); return alignment_adjust; } /** * fo_property_alignment_adjust_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_alignment_adjust_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "baseline") == 0) || (strcmp (token, "before-edge") == 0) || (strcmp (token, "text-before-edge") == 0) || (strcmp (token, "middle") == 0) || (strcmp (token, "central") == 0) || (strcmp (token, "after-edge") == 0) || (strcmp (token, "text-after-edge") == 0) || (strcmp (token, "ideographic") == 0) || (strcmp (token, "alphabetic") == 0) || (strcmp (token, "hanging") == 0) || (strcmp (token, "mathematical") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_alignment_adjust_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_alignment_adjust_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { gint value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO) || (value == FO_ENUM_ENUM_BASELINE) || (value == FO_ENUM_ENUM_BEFORE_EDGE) || (value == FO_ENUM_ENUM_TEXT_BEFORE_EDGE) || (value == FO_ENUM_ENUM_MIDDLE) || (value == FO_ENUM_ENUM_CENTRAL) || (value == FO_ENUM_ENUM_AFTER_EDGE) || (value == FO_ENUM_ENUM_TEXT_AFTER_EDGE) || (value == FO_ENUM_ENUM_IDEOGRAPHIC) || (value == FO_ENUM_ENUM_ALPHABETIC) || (value == FO_ENUM_ENUM_HANGING) || (value == FO_ENUM_ENUM_MATHEMATICAL)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_alignment_adjust_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_alignment_adjust_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_alignment_adjust_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_alignment_adjust_get_initial (void) { static FoProperty *alignment_adjust = NULL; if (alignment_adjust == NULL) { alignment_adjust = fo_property_alignment_adjust_new (); } return alignment_adjust; } /** * fo_property_alignment_adjust_to_pango_baseline: * @adjust: #FoEnumAlignmentAdjust to convert to #PangoBaseline value. * * Gets the #PangoBaseline value corresponding to the value of * @adjust. * * Return value: A #PangoBaseline value, which could be * #PANGO_BASELINE_INVALID. **/ /* static PangoBaseline fo_property_alignment_adjust_to_pango_baseline (FoEnumEnum adjust) { switch (adjust) { case FO_ENUM_ENUM_AUTO: return PANGO_BASELINE_AUTO; case FO_ENUM_ENUM_BASELINE: return PANGO_BASELINE_BASELINE; case FO_ENUM_ENUM_IDEOGRAPHIC: return PANGO_BASELINE_IDEOGRAPHIC; case FO_ENUM_ENUM_ALPHABETIC: return PANGO_BASELINE_ALPHABETIC; case FO_ENUM_ENUM_HANGING: return PANGO_BASELINE_HANGING; case FO_ENUM_ENUM_MATHEMATICAL: return PANGO_BASELINE_MATHEMATICAL; case FO_ENUM_ENUM_CENTRAL: return PANGO_BASELINE_CENTRAL; case FO_ENUM_ENUM_MIDDLE: return PANGO_BASELINE_MIDDLE; case FO_ENUM_ENUM_TEXT_BEFORE_EDGE: return PANGO_BASELINE_TEXT_BEFORE_EDGE; case FO_ENUM_ENUM_TEXT_AFTER_EDGE: return PANGO_BASELINE_TEXT_AFTER_EDGE; case FO_ENUM_ENUM_BEFORE_EDGE: return PANGO_BASELINE_BEFORE_EDGE; case FO_ENUM_ENUM_AFTER_EDGE: return PANGO_BASELINE_AFTER_EDGE; default: return PANGO_BASELINE_INVALID; } } */ /** * fo_property_alignment_adjust_new_attr: * @property: Property from which to create a PangoAttribute * * Makes a new PangoAttribute representing the current property * * Return value: New PangoAttribute **/ /* PangoAttribute* fo_property_alignment_adjust_new_attr (FoProperty *property) { PangoBaseline pango_alignment_adjust; g_return_val_if_fail (FO_IS_PROPERTY_ALIGNMENT_ADJUST (property), NULL); pango_alignment_adjust = fo_property_alignment_adjust_to_pango_baseline (fo_enum_get_value (property->value)); return pango_attr_alignment_adjust_new (pango_alignment_adjust); } */ xmlroff-0.6.2/libfo/property/fo-property-alignment-adjust.h0000644000175000017500000000360010770023365021001 00000000000000/* Fo * fo-property-alignment-adjust.h: 'alignment-adjust' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_ALIGNMENT_ADJUST_H__ #define __FO_PROPERTY_ALIGNMENT_ADJUST_H__ #include #include G_BEGIN_DECLS /* alignment-adjust */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | | | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_ALIGNMENT_ADJUST (fo_property_alignment_adjust_get_type ()) #define FO_PROPERTY_ALIGNMENT_ADJUST(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_ALIGNMENT_ADJUST, FoPropertyAlignmentAdjust)) #define FO_PROPERTY_ALIGNMENT_ADJUST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_ALIGNMENT_ADJUST, FoPropertyAlignmentAdjustClass)) #define FO_IS_PROPERTY_ALIGNMENT_ADJUST(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_ALIGNMENT_ADJUST)) #define FO_IS_PROPERTY_ALIGNMENT_ADJUST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_ALIGNMENT_ADJUST)) #define FO_PROPERTY_ALIGNMENT_ADJUST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_ALIGNMENT_ADJUST, FoPropertyAlignmentAdjustClass)) typedef struct _FoPropertyAlignmentAdjust FoPropertyAlignmentAdjust; typedef struct _FoPropertyAlignmentAdjustClass FoPropertyAlignmentAdjustClass; GType fo_property_alignment_adjust_get_type (void) G_GNUC_CONST; FoProperty* fo_property_alignment_adjust_new (void); FoProperty* fo_property_alignment_adjust_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_ALIGNMENT_ADJUST_H__ */ xmlroff-0.6.2/libfo/property/fo-property-alignment-baseline.c0000644000175000017500000003226310660107746021277 00000000000000/* Fo * fo-property-alignment-baseline.c: 'alignment-baseline' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" /* #include "property/fo-property-text-property.h" */ #include "property/fo-property-font-size.h" #include "property/fo-property-alignment-baseline.h" /* alignment-baseline */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | inherit */ /* Initial value: auto */ struct _FoPropertyAlignmentBaseline { FoProperty parent_instance; }; struct _FoPropertyAlignmentBaselineClass { FoPropertyClass parent_class; }; static void fo_property_alignment_baseline_init (FoPropertyAlignmentBaseline *property_alignment_baseline); static void fo_property_alignment_baseline_class_init (FoPropertyAlignmentBaselineClass *klass); static void fo_property_alignment_baseline_finalize (GObject *object); static FoDatatype* fo_property_alignment_baseline_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_alignment_baseline_validate (FoDatatype *datatype, FoContext *context, GError **error); /* PangoAttribute * fo_property_alignment_baseline_new_attr (FoProperty *property); static void fo_property_alignment_baseline_text_property_init (FoPropertyTextPropertyIface *iface); */ static const gchar class_name[] = "alignment-baseline"; static gpointer parent_class; /** * fo_property_alignment_baseline_get_type: * * Register the #FoPropertyAlignmentBaseline type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyAlignmentBaseline. **/ GType fo_property_alignment_baseline_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyAlignmentBaselineClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_alignment_baseline_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyAlignmentBaseline), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_alignment_baseline_init, NULL /* value_table */ }; /* static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_alignment_baseline_text_property_init, / * interface_init * / NULL, NULL }; */ object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); /* g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); */ } return object_type; } /** * fo_property_alignment_baseline_init: * @alignment_baseline: #FoPropertyAlignmentBaseline object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyAlignmentBaseline. **/ void fo_property_alignment_baseline_init (FoPropertyAlignmentBaseline *alignment_baseline) { FO_PROPERTY (alignment_baseline)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_alignment_baseline_class_init: * @klass: #FoPropertyAlignmentBaselineClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyAlignmentBaselineClass. **/ void fo_property_alignment_baseline_class_init (FoPropertyAlignmentBaselineClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_alignment_baseline_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_alignment_baseline_resolve_enum; property_class->validate = fo_property_alignment_baseline_validate; property_class->get_initial = fo_property_alignment_baseline_get_initial; } /** * fo_property_alignment_baseline_finalize: * @object: #FoPropertyAlignmentBaseline object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyAlignmentBaseline. **/ void fo_property_alignment_baseline_finalize (GObject *object) { FoPropertyAlignmentBaseline *alignment_baseline; alignment_baseline = FO_PROPERTY_ALIGNMENT_BASELINE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_alignment_baseline_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ /* void fo_property_alignment_baseline_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_alignment_baseline_new_attr; } */ /** * fo_property_alignment_baseline_new: * * Creates a new #FoPropertyAlignmentBaseline initialized to default value. * * Return value: the new #FoPropertyAlignmentBaseline. **/ FoProperty* fo_property_alignment_baseline_new (void) { FoProperty* alignment_baseline; alignment_baseline = FO_PROPERTY (g_object_new (fo_property_alignment_baseline_get_type (), NULL)); return alignment_baseline; } /** * fo_property_alignment_baseline_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_alignment_baseline_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "baseline") == 0) || (strcmp (token, "before-edge") == 0) || (strcmp (token, "text-before-edge") == 0) || (strcmp (token, "middle") == 0) || (strcmp (token, "central") == 0) || (strcmp (token, "after-edge") == 0) || (strcmp (token, "text-after-edge") == 0) || (strcmp (token, "ideographic") == 0) || (strcmp (token, "alphabetic") == 0) || (strcmp (token, "hanging") == 0) || (strcmp (token, "mathematical") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_alignment_baseline_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_alignment_baseline_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { gint value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO) || (value == FO_ENUM_ENUM_BASELINE) || (value == FO_ENUM_ENUM_BEFORE_EDGE) || (value == FO_ENUM_ENUM_TEXT_BEFORE_EDGE) || (value == FO_ENUM_ENUM_MIDDLE) || (value == FO_ENUM_ENUM_CENTRAL) || (value == FO_ENUM_ENUM_AFTER_EDGE) || (value == FO_ENUM_ENUM_TEXT_AFTER_EDGE) || (value == FO_ENUM_ENUM_IDEOGRAPHIC) || (value == FO_ENUM_ENUM_ALPHABETIC) || (value == FO_ENUM_ENUM_HANGING) || (value == FO_ENUM_ENUM_MATHEMATICAL)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_alignment_baseline_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_alignment_baseline_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_alignment_baseline_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_alignment_baseline_get_initial (void) { static FoProperty *alignment_baseline = NULL; if (alignment_baseline == NULL) { alignment_baseline = fo_property_alignment_baseline_new (); } return alignment_baseline; } /** * fo_property_alignment_baseline_to_pango_baseline: * @baseline: #FoEnumAlignmentBaseline to convert to * #PangoBaseline value. * * Gets the #PangoBaseline value corresponding to the value of * @baseline. * * Return value: A #PangoBaseline value, which could be * #PANGO_BASELINE_INVALID. **/ /* static PangoBaseline fo_property_alignment_baseline_to_pango_baseline (FoEnumEnum baseline) { switch (baseline) { case FO_ENUM_ENUM_AUTO: return PANGO_BASELINE_AUTO; case FO_ENUM_ENUM_BASELINE: return PANGO_BASELINE_BASELINE; case FO_ENUM_ENUM_IDEOGRAPHIC: return PANGO_BASELINE_IDEOGRAPHIC; case FO_ENUM_ENUM_ALPHABETIC: return PANGO_BASELINE_ALPHABETIC; case FO_ENUM_ENUM_HANGING: return PANGO_BASELINE_HANGING; case FO_ENUM_ENUM_MATHEMATICAL: return PANGO_BASELINE_MATHEMATICAL; case FO_ENUM_ENUM_CENTRAL: return PANGO_BASELINE_CENTRAL; case FO_ENUM_ENUM_MIDDLE: return PANGO_BASELINE_MIDDLE; case FO_ENUM_ENUM_TEXT_BEFORE_EDGE: return PANGO_BASELINE_TEXT_BEFORE_EDGE; case FO_ENUM_ENUM_TEXT_AFTER_EDGE: return PANGO_BASELINE_TEXT_AFTER_EDGE; case FO_ENUM_ENUM_BEFORE_EDGE: return PANGO_BASELINE_BEFORE_EDGE; case FO_ENUM_ENUM_AFTER_EDGE: return PANGO_BASELINE_AFTER_EDGE; default: return PANGO_BASELINE_INVALID; } } */ /** * fo_property_alignment_baseline_new_attr: * @property: #FoProperty from which to create a PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ /* PangoAttribute* fo_property_alignment_baseline_new_attr (FoProperty *property) { PangoBaseline pango_alignment_baseline; g_return_val_if_fail (FO_IS_PROPERTY_ALIGNMENT_BASELINE (property), NULL); pango_alignment_baseline = fo_property_alignment_baseline_to_pango_baseline (fo_enum_get_value (property->value)); return pango_attr_alignment_baseline_new (pango_alignment_baseline); } */ xmlroff-0.6.2/libfo/property/fo-property-alignment-baseline.h0000644000175000017500000000363110770023365021275 00000000000000/* Fo * fo-property-alignment-baseline.h: 'alignment-baseline' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_ALIGNMENT_BASELINE_H__ #define __FO_PROPERTY_ALIGNMENT_BASELINE_H__ #include #include G_BEGIN_DECLS /* alignment-baseline */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_ALIGNMENT_BASELINE (fo_property_alignment_baseline_get_type ()) #define FO_PROPERTY_ALIGNMENT_BASELINE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_ALIGNMENT_BASELINE, FoPropertyAlignmentBaseline)) #define FO_PROPERTY_ALIGNMENT_BASELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_ALIGNMENT_BASELINE, FoPropertyAlignmentBaselineClass)) #define FO_IS_PROPERTY_ALIGNMENT_BASELINE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_ALIGNMENT_BASELINE)) #define FO_IS_PROPERTY_ALIGNMENT_BASELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_ALIGNMENT_BASELINE)) #define FO_PROPERTY_ALIGNMENT_BASELINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_ALIGNMENT_BASELINE, FoPropertyAlignmentBaselineClass)) typedef struct _FoPropertyAlignmentBaseline FoPropertyAlignmentBaseline; typedef struct _FoPropertyAlignmentBaselineClass FoPropertyAlignmentBaselineClass; GType fo_property_alignment_baseline_get_type (void) G_GNUC_CONST; FoProperty* fo_property_alignment_baseline_new (void); FoProperty* fo_property_alignment_baseline_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_ALIGNMENT_BASELINE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-background-color.c0000644000175000017500000001453610660107747021000 00000000000000/* Fo * fo-property-background-color.c: 'background-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-size.h" #include "property/fo-property-background-color.h" #include "property/fo-property-util.h" /* background-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | transparent | inherit */ /* Initial value: transparent */ struct _FoPropertyBackgroundColor { FoProperty parent_instance; }; struct _FoPropertyBackgroundColorClass { FoPropertyClass parent_class; }; static void fo_property_background_color_init (FoPropertyBackgroundColor *property_background_color); static void fo_property_background_color_class_init (FoPropertyBackgroundColorClass *klass); static void fo_property_background_color_finalize (GObject *object); static void fo_property_background_color_text_property_init (FoPropertyTextPropertyIface *iface); static PangoAttribute * fo_property_background_color_new_attr (FoProperty *property); static const gchar class_name[] = "background-color"; static gpointer parent_class; /** * fo_property_background_color_get_type: * * Register the #FoPropertyBackgroundColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBackgroundColor. **/ GType fo_property_background_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBackgroundColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_background_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBackgroundColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_background_color_init, NULL /* value_table */ }; static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_background_color_text_property_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); } return object_type; } /** * fo_property_background_color_init: * @background_color: #FoPropertyBackgroundColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBackgroundColor. **/ void fo_property_background_color_init (FoPropertyBackgroundColor *background_color) { FO_PROPERTY (background_color)->value = g_object_ref (fo_enum_get_enum_by_nick ("transparent")); } /** * fo_property_background_color_class_init: * @klass: #FoPropertyBackgroundColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBackgroundColorClass. **/ void fo_property_background_color_class_init (FoPropertyBackgroundColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_background_color_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_transparent_enum; property_class->validate = fo_property_util_validate_color_transparent; property_class->get_initial = fo_property_background_color_get_initial; } /** * fo_property_background_color_finalize: * @object: #FoPropertyBackgroundColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBackgroundColor. **/ void fo_property_background_color_finalize (GObject *object) { FoPropertyBackgroundColor *background_color; background_color = FO_PROPERTY_BACKGROUND_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_background_color_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ void fo_property_background_color_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_background_color_new_attr; } /** * fo_property_background_color_new: * * Creates a new #FoPropertyBackgroundColor initialized to default value. * * Return value: the new #FoPropertyBackgroundColor. **/ FoProperty* fo_property_background_color_new (void) { FoProperty* background_color; background_color = FO_PROPERTY (g_object_new (fo_property_background_color_get_type (), NULL)); return background_color; } /** * fo_property_background_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_background_color_get_initial (void) { static FoProperty *background_color = NULL; if (background_color == NULL) { background_color = fo_property_background_color_new (); } return background_color; } /** * fo_property_background_color_new_attr: * @datatype: #FoDatatype from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ PangoAttribute * fo_property_background_color_new_attr (FoProperty *property) { guint16 background_red; guint16 background_green; guint16 background_blue; g_return_val_if_fail (FO_IS_PROPERTY_BACKGROUND_COLOR (property), NULL); g_return_val_if_fail (FO_IS_COLOR (property->value), NULL); background_red = fo_color_get_red (property->value); background_green = fo_color_get_green (property->value); background_blue = fo_color_get_blue (property->value); return pango_attr_background_new (background_red, background_green, background_blue); } xmlroff-0.6.2/libfo/property/fo-property-background-color.h0000644000175000017500000000335210770023365020772 00000000000000/* Fo * fo-property-background-color.h: 'background-color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BACKGROUND_COLOR_H__ #define __FO_PROPERTY_BACKGROUND_COLOR_H__ #include #include G_BEGIN_DECLS /* background-color */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | transparent | inherit */ /* Initial value: transparent */ #define FO_TYPE_PROPERTY_BACKGROUND_COLOR (fo_property_background_color_get_type ()) #define FO_PROPERTY_BACKGROUND_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BACKGROUND_COLOR, FoPropertyBackgroundColor)) #define FO_PROPERTY_BACKGROUND_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BACKGROUND_COLOR, FoPropertyBackgroundColorClass)) #define FO_IS_PROPERTY_BACKGROUND_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BACKGROUND_COLOR)) #define FO_IS_PROPERTY_BACKGROUND_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BACKGROUND_COLOR)) #define FO_PROPERTY_BACKGROUND_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BACKGROUND_COLOR, FoPropertyBackgroundColorClass)) typedef struct _FoPropertyBackgroundColor FoPropertyBackgroundColor; typedef struct _FoPropertyBackgroundColorClass FoPropertyBackgroundColorClass; GType fo_property_background_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_background_color_new (void); FoProperty * fo_property_background_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BACKGROUND_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-baseline-shift.c0000644000175000017500000002534410660107747020441 00000000000000/* Fo * fo-property-baseline-shift.c: 'baseline-shift' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-size.h" #include "property/fo-property-baseline-shift.h" /* baseline-shift */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* baseline | sub | super | | | inherit */ /* Initial value: baseline */ struct _FoPropertyBaselineShift { FoProperty parent_instance; }; struct _FoPropertyBaselineShiftClass { FoPropertyClass parent_class; }; static void fo_property_baseline_shift_init (FoPropertyBaselineShift *property_baseline_shift); static void fo_property_baseline_shift_class_init (FoPropertyBaselineShiftClass *klass); static void fo_property_baseline_shift_finalize (GObject *object); static void fo_property_baseline_shift_text_property_init (FoPropertyTextPropertyIface *iface); static FoDatatype* fo_property_baseline_shift_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_baseline_shift_validate (FoDatatype *datatype, FoContext *context, GError **error); static PangoAttribute * fo_property_baseline_shift_new_attr (FoProperty *property); static const gchar class_name[] = "baseline-shift"; static gpointer parent_class; /** * fo_property_baseline_shift_get_type: * * Register the #FoPropertyBaselineShift type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyBaselineShift. **/ GType fo_property_baseline_shift_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyBaselineShiftClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_baseline_shift_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyBaselineShift), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_baseline_shift_init, NULL /* value_table */ }; static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_baseline_shift_text_property_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); } return object_type; } /** * fo_property_baseline_shift_init: * @baseline_shift: #FoPropertyBaselineShift object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyBaselineShift. **/ void fo_property_baseline_shift_init (FoPropertyBaselineShift *baseline_shift) { FO_PROPERTY (baseline_shift)->value = g_object_ref (fo_length_get_length_zero ()); } /** * fo_property_baseline_shift_class_init: * @klass: #FoPropertyBaselineShiftClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyBaselineShiftClass. **/ void fo_property_baseline_shift_class_init (FoPropertyBaselineShiftClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_baseline_shift_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_baseline_shift_resolve_enum; property_class->validate = fo_property_baseline_shift_validate; property_class->get_initial = fo_property_baseline_shift_get_initial; } /** * fo_property_baseline_shift_finalize: * @object: #FoPropertyBaselineShift object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyBaselineShift. **/ void fo_property_baseline_shift_finalize (GObject *object) { FoPropertyBaselineShift *baseline_shift; baseline_shift = FO_PROPERTY_BASELINE_SHIFT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_baseline_shift_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ void fo_property_baseline_shift_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_baseline_shift_new_attr; } /** * fo_property_baseline_shift_new: * * Creates a new #FoPropertyBaselineShift initialized to default value. * * Return value: the new #FoPropertyBaselineShift. **/ FoProperty* fo_property_baseline_shift_new (void) { FoProperty* baseline_shift; baseline_shift = FO_PROPERTY (g_object_new (fo_property_baseline_shift_get_type (), NULL)); return baseline_shift; } /** * fo_property_baseline_shift_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_baseline_shift_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "baseline") == 0) { return g_object_ref (fo_length_get_length_zero ()); } else if (strcmp (token, "sub") == 0) { return g_object_ref (fo_length_get_length_minus_3pt ()); } else if (strcmp (token, "super") == 0) { return g_object_ref (fo_length_get_length_3pt ()); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_baseline_shift_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_baseline_shift_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_BASELINE) || (value == FO_ENUM_ENUM_SUB) || (value == FO_ENUM_ENUM_SUPER)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_baseline_shift_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_baseline_shift_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_baseline_shift_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_baseline_shift_get_initial (void) { static FoProperty *baseline_shift = NULL; if (baseline_shift == NULL) { baseline_shift = fo_property_baseline_shift_new (); } return baseline_shift; } /** * fo_property_baseline_shift_new_attr: * @property: Property from which to create a PangoAttribute * * Makes a new PangoAttribute representing the current property * * Return value: New PangoAttribute **/ PangoAttribute* fo_property_baseline_shift_new_attr (FoProperty *property) { gint pango_baseline_shift; g_return_val_if_fail (FO_IS_PROPERTY_BASELINE_SHIFT (property), NULL); pango_baseline_shift = (int) (fo_length_get_value (property->value) * PANGO_SCALE); return pango_attr_rise_new (pango_baseline_shift); } xmlroff-0.6.2/libfo/property/fo-property-baseline-shift.h0000644000175000017500000000331410770023365020432 00000000000000/* Fo * fo-property-baseline-shift.h: 'baseline-shift' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_BASELINE_SHIFT_H__ #define __FO_PROPERTY_BASELINE_SHIFT_H__ #include #include G_BEGIN_DECLS /* baseline-shift */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* baseline | sub | super | | | inherit */ /* Initial value: baseline */ #define FO_TYPE_PROPERTY_BASELINE_SHIFT (fo_property_baseline_shift_get_type ()) #define FO_PROPERTY_BASELINE_SHIFT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_BASELINE_SHIFT, FoPropertyBaselineShift)) #define FO_PROPERTY_BASELINE_SHIFT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_BASELINE_SHIFT, FoPropertyBaselineShiftClass)) #define FO_IS_PROPERTY_BASELINE_SHIFT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_BASELINE_SHIFT)) #define FO_IS_PROPERTY_BASELINE_SHIFT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_BASELINE_SHIFT)) #define FO_PROPERTY_BASELINE_SHIFT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_BASELINE_SHIFT, FoPropertyBaselineShiftClass)) typedef struct _FoPropertyBaselineShift FoPropertyBaselineShift; typedef struct _FoPropertyBaselineShiftClass FoPropertyBaselineShiftClass; GType fo_property_baseline_shift_get_type (void) G_GNUC_CONST; FoProperty* fo_property_baseline_shift_new (void); FoProperty* fo_property_baseline_shift_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_BASELINE_SHIFT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-color.c0000644000175000017500000001303410660107746016652 00000000000000/* Fo * fo-property-color.c: 'color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-size.h" #include "property/fo-property-color.h" #include "property/fo-property-util.h" /* color */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: depends on user agent */ struct _FoPropertyColor { FoProperty parent_instance; }; struct _FoPropertyColorClass { FoPropertyClass parent_class; }; static void fo_property_color_init (FoPropertyColor *property_color); static void fo_property_color_class_init (FoPropertyColorClass *klass); static void fo_property_color_finalize (GObject *object); static void fo_property_color_text_property_init (FoPropertyTextPropertyIface *iface); static PangoAttribute * fo_property_color_new_attr (FoProperty *property); static const gchar class_name[] = "color"; static gpointer parent_class; /** * fo_property_color_get_type: * * Register the #FoPropertyColor type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyColor. **/ GType fo_property_color_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyColorClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_color_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyColor), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_color_init, NULL /* value_table */ }; static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_color_text_property_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); } return object_type; } /** * fo_property_color_init: * @color: #FoPropertyColor object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyColor. **/ void fo_property_color_init (FoPropertyColor *color) { FO_PROPERTY (color)->value = g_object_ref (fo_property_util_get_color_initial ()); } /** * fo_property_color_class_init: * @klass: #FoPropertyColorClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyColorClass. **/ void fo_property_color_class_init (FoPropertyColorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_color_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_color_enum; property_class->validate = fo_property_util_validate_color; property_class->get_initial = fo_property_color_get_initial; } /** * fo_property_color_finalize: * @object: #FoPropertyColor object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyColor. **/ void fo_property_color_finalize (GObject *object) { FoPropertyColor *color; color = FO_PROPERTY_COLOR (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_color_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ void fo_property_color_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_color_new_attr; } /** * fo_property_color_new: * * Creates a new #FoPropertyColor initialized to default value. * * Return value: the new #FoPropertyColor. **/ FoProperty* fo_property_color_new (void) { FoProperty* color; color = FO_PROPERTY (g_object_new (fo_property_color_get_type (), NULL)); return color; } /** * fo_property_color_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_color_get_initial (void) { static FoProperty *color = NULL; if (color == NULL) { color = fo_property_color_new (); } return color; } /** * fo_property_color_new_attr: * @property: Property from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Returns: New #PangoAttribute. **/ PangoAttribute* fo_property_color_new_attr (FoProperty *property) { guint16 foreground_red; guint16 foreground_green; guint16 foreground_blue; g_return_val_if_fail (FO_IS_PROPERTY_COLOR (property), NULL); foreground_red = fo_color_get_red (property->value); foreground_green = fo_color_get_green (property->value); foreground_blue = fo_color_get_blue (property->value); return pango_attr_foreground_new (foreground_red, foreground_green, foreground_blue); } xmlroff-0.6.2/libfo/property/fo-property-color.h0000644000175000017500000000267510770023365016664 00000000000000/* Fo * fo-property-color.h: 'color' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_COLOR_H__ #define __FO_PROPERTY_COLOR_H__ #include #include G_BEGIN_DECLS /* color */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: depends on user agent */ #define FO_TYPE_PROPERTY_COLOR (fo_property_color_get_type ()) #define FO_PROPERTY_COLOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_COLOR, FoPropertyColor)) #define FO_PROPERTY_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_COLOR, FoPropertyColorClass)) #define FO_IS_PROPERTY_COLOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_COLOR)) #define FO_IS_PROPERTY_COLOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_COLOR)) #define FO_PROPERTY_COLOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_COLOR, FoPropertyColorClass)) typedef struct _FoPropertyColor FoPropertyColor; typedef struct _FoPropertyColorClass FoPropertyColorClass; GType fo_property_color_get_type (void) G_GNUC_CONST; FoProperty * fo_property_color_new (void); FoProperty * fo_property_color_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_COLOR_H__ */ xmlroff-0.6.2/libfo/property/fo-property-dominant-baseline.c0000644000175000017500000003611610660107746021133 00000000000000/* Fo * fo-property-dominant-baseline.c: 'dominant-baseline' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" /* #include "property/fo-property-text-property.h" */ #include "property/fo-property-font-size.h" #include "property/fo-property-font-style.h" #include "property/fo-property-dominant-baseline.h" /* dominant-baseline */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge | inherit */ /* Initial value: auto */ struct _FoPropertyDominantBaseline { FoProperty parent_instance; }; struct _FoPropertyDominantBaselineClass { FoPropertyClass parent_class; }; static void fo_property_dominant_baseline_init (FoPropertyDominantBaseline *property_dominant_baseline); static void fo_property_dominant_baseline_class_init (FoPropertyDominantBaselineClass *klass); static void fo_property_dominant_baseline_finalize (GObject *object); static FoDatatype* fo_property_dominant_baseline_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_dominant_baseline_validate (FoDatatype *datatype, FoContext *context, GError **error); /* static void fo_property_dominant_baseline_text_property_init (FoPropertyTextPropertyIface *iface); PangoAttribute * fo_property_dominant_baseline_new_attr_from_context (FoProperty *property, FoContext *context); */ static const gchar class_name[] = "dominant-baseline"; static gpointer parent_class; /** * fo_property_dominant_baseline_get_type: * * Register the #FoPropertyDominantBaseline type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyDominantBaseline. **/ GType fo_property_dominant_baseline_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyDominantBaselineClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_dominant_baseline_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyDominantBaseline), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_dominant_baseline_init, NULL /* value_table */ }; /* static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_dominant_baseline_text_property_init, / * interface_init * / NULL, NULL }; */ object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); /* g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); */ } return object_type; } /** * fo_property_dominant_baseline_init: * @dominant_baseline: #FoPropertyDominantBaseline object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyDominantBaseline. **/ void fo_property_dominant_baseline_init (FoPropertyDominantBaseline *dominant_baseline) { FO_PROPERTY (dominant_baseline)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_dominant_baseline_class_init: * @klass: #FoPropertyDominantBaselineClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyDominantBaselineClass. **/ void fo_property_dominant_baseline_class_init (FoPropertyDominantBaselineClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_dominant_baseline_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_dominant_baseline_resolve_enum; property_class->validate = fo_property_dominant_baseline_validate; property_class->get_initial = fo_property_dominant_baseline_get_initial; } /** * fo_property_dominant_baseline_finalize: * @object: #FoPropertyDominantBaseline object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyDominantBaseline. **/ void fo_property_dominant_baseline_finalize (GObject *object) { FoPropertyDominantBaseline *dominant_baseline; dominant_baseline = FO_PROPERTY_DOMINANT_BASELINE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_dominant_baseline_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ /* void fo_property_dominant_baseline_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr_from_context = fo_property_dominant_baseline_new_attr_from_context; } */ /** * fo_property_dominant_baseline_new: * * Creates a new #FoPropertyDominantBaseline initialized to default value. * * Return value: the new #FoPropertyDominantBaseline. **/ FoProperty* fo_property_dominant_baseline_new (void) { FoProperty* dominant_baseline; dominant_baseline = FO_PROPERTY (g_object_new (fo_property_dominant_baseline_get_type (), NULL)); return dominant_baseline; } /** * fo_property_dominant_baseline_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_dominant_baseline_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "auto") == 0) || (strcmp (token, "use-script") == 0) || (strcmp (token, "no-change") == 0) || (strcmp (token, "reset-size") == 0) || (strcmp (token, "ideographic") == 0) || (strcmp (token, "alphabetic") == 0) || (strcmp (token, "hanging") == 0) || (strcmp (token, "mathematical") == 0) || (strcmp (token, "central") == 0) || (strcmp (token, "middle") == 0) || (strcmp (token, "text-after-edge") == 0) || (strcmp (token, "text-before-edge") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_dominant_baseline_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_dominant_baseline_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_AUTO) || (value == FO_ENUM_ENUM_USE_SCRIPT) || (value == FO_ENUM_ENUM_NO_CHANGE) || (value == FO_ENUM_ENUM_RESET_SIZE) || (value == FO_ENUM_ENUM_IDEOGRAPHIC) || (value == FO_ENUM_ENUM_ALPHABETIC) || (value == FO_ENUM_ENUM_HANGING) || (value == FO_ENUM_ENUM_MATHEMATICAL) || (value == FO_ENUM_ENUM_CENTRAL) || (value == FO_ENUM_ENUM_MIDDLE) || (value == FO_ENUM_ENUM_TEXT_AFTER_EDGE) || (value == FO_ENUM_ENUM_TEXT_BEFORE_EDGE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_dominant_baseline_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_dominant_baseline_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_dominant_baseline_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_dominant_baseline_get_initial (void) { static FoProperty *dominant_baseline = NULL; if (dominant_baseline == NULL) { dominant_baseline = fo_property_dominant_baseline_new (); } return dominant_baseline; } /** * fo_property_dominant_baseline_to_pango_baseline: * @baseline: #FoEnumDominantBaseline to convert to #PangoBaseline value. * * Gets the #PangoBaseline value corresponding to the value of * @baseline. * * Return value: A #PangoBaseline value, which could be * #PANGO_BASELINE_INVALID. **/ /* static PangoBaseline fo_property_dominant_baseline_to_pango_baseline (FoEnumEnum baseline) { switch (baseline) { case FO_ENUM_ENUM_AUTO: return PANGO_BASELINE_AUTO; case FO_ENUM_ENUM_RESET_SIZE: return PANGO_BASELINE_RESET_SIZE; case FO_ENUM_ENUM_USE_SCRIPT: return PANGO_BASELINE_USE_SCRIPT; case FO_ENUM_ENUM_IDEOGRAPHIC: return PANGO_BASELINE_IDEOGRAPHIC; case FO_ENUM_ENUM_ALPHABETIC: return PANGO_BASELINE_ALPHABETIC; case FO_ENUM_ENUM_HANGING: return PANGO_BASELINE_HANGING; case FO_ENUM_ENUM_MATHEMATICAL: return PANGO_BASELINE_MATHEMATICAL; case FO_ENUM_ENUM_CENTRAL: return PANGO_BASELINE_CENTRAL; case FO_ENUM_ENUM_MIDDLE: return PANGO_BASELINE_MIDDLE; case FO_ENUM_ENUM_TEXT_BEFORE_EDGE: return PANGO_BASELINE_TEXT_BEFORE_EDGE; case FO_ENUM_ENUM_TEXT_AFTER_EDGE: return PANGO_BASELINE_TEXT_AFTER_EDGE; default: return PANGO_BASELINE_INVALID; } } static PangoStyle fo_font_style_to_pango_style (gint font_style) { gint pango_font_style = PANGO_STYLE_NORMAL; / * Pango doesn't support 'backslant' styles * / if (font_style == FO_ENUM_FONT_STYLE_ITALIC) { pango_font_style = PANGO_STYLE_ITALIC; } else if (font_style == FO_ENUM_FONT_STYLE_OBLIQUE) { pango_font_style = PANGO_STYLE_OBLIQUE; } return pango_font_style; } */ /** * fo_property_dominant_baseline_new_attr_from_context: * @property: #FoProperty from which to create a #PangoAttribute. * @context: #FoContext from which to take additional property values. * * Makes a new #PangoAttribute representing the value of @property. * * Return value: New #PangoAttribute for @property. **/ /* PangoAttribute* fo_property_dominant_baseline_new_attr_from_context (FoProperty *property, FoContext *context) { PangoFontDescription *font_desc = NULL; FoEnumEnum dominant_baseline; g_return_val_if_fail (FO_IS_PROPERTY_DOMINANT_BASELINE (property), NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); dominant_baseline = fo_enum_get_value (fo_property_get_value (property)); if (dominant_baseline != FO_ENUM_ENUM_RESET_SIZE) { PangoBaseline pango_dominant_baseline = fo_property_dominant_baseline_to_pango_baseline (dominant_baseline); font_desc = pango_font_description_new (); gchar *font_family = fo_string_get_value (fo_property_get_value (fo_context_get_font_family (context))); pango_font_description_set_family (font_desc, font_family); g_free (font_family); pango_font_description_set_size (font_desc, fo_length_get_value (fo_property_get_value (fo_context_get_font_size (context))) * PANGO_SCALE); pango_font_description_set_weight (font_desc, fo_integer_get_value (fo_property_get_value (fo_context_get_font_weight (context)))); pango_font_description_set_style (font_desc, fo_font_style_to_pango_style (fo_enum_get_value (fo_property_get_value (fo_context_get_font_style (context))))); pango_font_description_set_stretch (font_desc, fo_enum_get_value (fo_property_get_value (fo_context_get_font_stretch (context)))); pango_font_description_set_variant (font_desc, fo_enum_get_value (fo_property_get_value (fo_context_get_font_variant (context)))); PangoAttribute *pango_attr = pango_attr_dominant_baseline_new (pango_dominant_baseline, font_desc); pango_font_description_free (font_desc); return pango_attr; } else { return pango_attr_db_reset_size_new (TRUE); } } */ xmlroff-0.6.2/libfo/property/fo-property-dominant-baseline.h0000644000175000017500000000360510770023365021131 00000000000000/* Fo * fo-property-dominant-baseline.h: 'dominant-baseline' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_DOMINANT_BASELINE_H__ #define __FO_PROPERTY_DOMINANT_BASELINE_H__ #include #include G_BEGIN_DECLS /* dominant-baseline */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge | inherit */ /* Initial value: auto */ #define FO_TYPE_PROPERTY_DOMINANT_BASELINE (fo_property_dominant_baseline_get_type ()) #define FO_PROPERTY_DOMINANT_BASELINE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_DOMINANT_BASELINE, FoPropertyDominantBaseline)) #define FO_PROPERTY_DOMINANT_BASELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_DOMINANT_BASELINE, FoPropertyDominantBaselineClass)) #define FO_IS_PROPERTY_DOMINANT_BASELINE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_DOMINANT_BASELINE)) #define FO_IS_PROPERTY_DOMINANT_BASELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_DOMINANT_BASELINE)) #define FO_PROPERTY_DOMINANT_BASELINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_DOMINANT_BASELINE, FoPropertyDominantBaselineClass)) typedef struct _FoPropertyDominantBaseline FoPropertyDominantBaseline; typedef struct _FoPropertyDominantBaselineClass FoPropertyDominantBaselineClass; GType fo_property_dominant_baseline_get_type (void) G_GNUC_CONST; FoProperty * fo_property_dominant_baseline_new (void); FoProperty * fo_property_dominant_baseline_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_DOMINANT_BASELINE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-font-family.c0000644000175000017500000003274610660107747017775 00000000000000/* Fo * fo-property-font-family.c: 'font-family' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-family.h" /*#include "expression-parser.h"*/ #include "expr/fo-expr-eval.h" /* font-family */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* [[ | ],]* [ | ] | inherit */ /* Initial value: depends on user agent */ struct _FoPropertyFontFamily { FoProperty parent_instance; }; struct _FoPropertyFontFamilyClass { FoPropertyClass parent_class; }; static void fo_property_font_family_init (FoPropertyFontFamily *property_font_family); static void fo_property_font_family_class_init (FoPropertyFontFamilyClass *klass); static void fo_property_font_family_finalize (GObject *object); static void fo_property_font_family_text_property_init (FoPropertyTextPropertyIface *iface); static FoDatatype* fo_property_font_family_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_font_family_validate (FoDatatype *datatype, FoContext *context, GError **error); static FoProperty * fo_property_font_family_new_from_expr (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error); static PangoAttribute * fo_property_font_family_new_attr (FoProperty *property); static const gchar class_name[] = "font-family"; static gpointer parent_class; /** * fo_property_font_family_get_type: * * Register the #FoPropertyFontFamily type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyFontFamily. **/ GType fo_property_font_family_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyFontFamilyClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_font_family_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyFontFamily), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_font_family_init, NULL /* value_table */ }; static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_font_family_text_property_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); } return object_type; } /** * fo_property_font_family_init: * @font_family: #FoPropertyFontFamily object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyFontFamily. **/ void fo_property_font_family_init (FoPropertyFontFamily *font_family) { FO_PROPERTY (font_family)->value = fo_string_new_with_value ("sans-serif"); } /** * fo_property_font_family_class_init: * @klass: #FoPropertyFontFamilyClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyFontFamilyClass. **/ void fo_property_font_family_class_init (FoPropertyFontFamilyClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_font_family_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_font_family_resolve_enum; property_class->validate = fo_property_font_family_validate; property_class->new_from_expr = fo_property_font_family_new_from_expr; property_class->get_initial = fo_property_font_family_get_initial; } /** * fo_property_font_family_finalize: * @object: #FoPropertyFontFamily object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyFontFamily. **/ void fo_property_font_family_finalize (GObject *object) { FoPropertyFontFamily *font_family; font_family = FO_PROPERTY_FONT_FAMILY (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_font_family_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ void fo_property_font_family_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_font_family_new_attr; } /** * fo_property_font_family_new: * * Creates a new #FoPropertyFontFamily initialized to default value. * * Return value: the new #FoPropertyFontFamily. **/ FoProperty* fo_property_font_family_new (void) { FoProperty* font_family; font_family = FO_PROPERTY (g_object_new (fo_property_font_family_get_type (), NULL)); return font_family; } /** * fo_property_font_family_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_font_family_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "serif") == 0) || (strcmp (token, "sans-serif") == 0) || (strcmp (token, "cursive") == 0) || (strcmp (token, "fantasy") == 0) || (strcmp (token, "monospace") == 0) || (strcmp (token, "serif") == 0) || (strcmp (token, "sans-serif") == 0) || (strcmp (token, "cursive") == 0) || (strcmp (token, "fantasy") == 0) || (strcmp (token, "monospace") == 0)) { return fo_string_new_with_value (token); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_font_family_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_font_family_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_STRING (datatype)) { return datatype; } else if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_SERIF) || (value == FO_ENUM_ENUM_SANS_SERIF) || (value == FO_ENUM_ENUM_CURSIVE) || (value == FO_ENUM_ENUM_FANTASY) || (value == FO_ENUM_ENUM_MONOSPACE) || (value == FO_ENUM_ENUM_SERIF) || (value == FO_ENUM_ENUM_SANS_SERIF) || (value == FO_ENUM_ENUM_CURSIVE) || (value == FO_ENUM_ENUM_FANTASY) || (value == FO_ENUM_ENUM_MONOSPACE)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_NAME (datatype)) { gchar *name_string = fo_name_get_value (datatype); new_datatype = fo_string_new_with_value (name_string); g_free (name_string); g_object_unref (datatype); return (new_datatype); } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_font_family_new_from_expr: * @property_class: #FoPropertyFontFamily class. * @expr: Expression to be evaluated. * @context: #FoContext for inherited values. * @current_font_size: Current font size for resolving 'em' values. * @fo_node: The current #FoFo node. * @error: #GError for indicating any error that occurs. * * Evaluate @expr and create a new instance of @property_class with * value of @epr. * * Other parameters (except @error) provide context for evaluating * @expr. * * Return value: A new instance of #FoPropertyFontFamily, or NULL if error. **/ FoProperty* fo_property_font_family_new_from_expr (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error) { FoProperty *property; FoDatatype *datatype; GError *tmp_error = NULL; const gchar *property_name = NULL; g_return_val_if_fail (FO_IS_PROPERTY_CLASS (property_class), NULL); g_return_val_if_fail (expr != NULL, NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (current_font_size == NULL || FO_IS_PROPERTY_FONT_SIZE (current_font_size), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); property_name = G_OBJECT_CLASS_NAME (property_class); datatype = fo_expr_eval (expr, property_name, property_class->resolve_enum, property_class->resolve_percent, current_font_size, fo_node, context, property_class->expr_env_list, &tmp_error); if (tmp_error != NULL) { if (g_error_matches (tmp_error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_EXPR)) { gchar *new_expr = g_strconcat ("'", expr, "'", NULL); g_clear_error (&tmp_error); datatype = fo_expr_eval (new_expr, property_name, property_class->resolve_enum, property_class->resolve_percent, current_font_size, fo_node, context, property_class->expr_env_list, &tmp_error); g_free (new_expr); } if (tmp_error != NULL) { g_message (tmp_error->message); g_propagate_error (error, tmp_error); return NULL; } } datatype = property_class->validate (datatype, context, &tmp_error); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } property = (FoProperty *) g_object_new (G_OBJECT_CLASS_TYPE (property_class), "value", datatype, NULL); return property; } /** * fo_property_font_family_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_font_family_get_initial (void) { static FoProperty *font_family = NULL; if (font_family == NULL) { font_family = fo_property_font_family_new (); } return font_family; } /** * fo_property_font_family_new_attr: * @property: #FoProperty from which to create a #PangoAttribute * * Makes a new #PangoAttribute representing the current property * * Return value: New #PangoAttribute **/ PangoAttribute* fo_property_font_family_new_attr (FoProperty *property) { gchar *pango_font_family; g_return_val_if_fail (FO_IS_PROPERTY_FONT_FAMILY (property), NULL); pango_font_family = fo_string_get_value (property->value); PangoAttribute *pango_attr = pango_attr_family_new (pango_font_family); g_free (pango_font_family); return pango_attr; } xmlroff-0.6.2/libfo/property/fo-property-font-family.h0000644000175000017500000000324210770023365017762 00000000000000/* Fo * fo-property-font-family.h: 'font-family' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_FONT_FAMILY_H__ #define __FO_PROPERTY_FONT_FAMILY_H__ #include #include G_BEGIN_DECLS /* font-family */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* [[ | ],]* [ | ] | inherit */ /* Initial value: depends on user agent */ #define FO_TYPE_PROPERTY_FONT_FAMILY (fo_property_font_family_get_type ()) #define FO_PROPERTY_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FONT_FAMILY, FoPropertyFontFamily)) #define FO_PROPERTY_FONT_FAMILY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FONT_FAMILY, FoPropertyFontFamilyClass)) #define FO_IS_PROPERTY_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FONT_FAMILY)) #define FO_IS_PROPERTY_FONT_FAMILY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FONT_FAMILY)) #define FO_PROPERTY_FONT_FAMILY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FONT_FAMILY, FoPropertyFontFamilyClass)) typedef struct _FoPropertyFontFamily FoPropertyFontFamily; typedef struct _FoPropertyFontFamilyClass FoPropertyFontFamilyClass; GType fo_property_font_family_get_type (void) G_GNUC_CONST; FoProperty * fo_property_font_family_new (void); FoProperty * fo_property_font_family_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_FONT_FAMILY_H__ */ xmlroff-0.6.2/libfo/property/fo-property-font-size.c0000644000175000017500000003320410660107746017453 00000000000000/* Fo * fo-property-font-size.c: 'font-size' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-size.h" /* font-size */ /* Enumerated font sizes derive from "medium" font size and font size step */ #ifndef FO_FONT_SIZE_STEP #define FO_FONT_SIZE_STEP 1.2 #endif /* !FO_FONT_SIZE_STEP */ #ifndef FO_FONT_SIZE_MEDIUM #define FO_FONT_SIZE_MEDIUM 12.0 #endif /* !FO_FONT_SIZE_MEDIUM */ #define FO_FONT_SIZE_SMALL FO_FONT_SIZE_MEDIUM / FO_FONT_SIZE_STEP #define FO_FONT_SIZE_X_SMALL FO_FONT_SIZE_SMALL / FO_FONT_SIZE_STEP #define FO_FONT_SIZE_XX_SMALL FO_FONT_SIZE_X_SMALL / FO_FONT_SIZE_STEP #define FO_FONT_SIZE_LARGE FO_FONT_SIZE_MEDIUM * FO_FONT_SIZE_STEP #define FO_FONT_SIZE_X_LARGE FO_FONT_SIZE_LARGE * FO_FONT_SIZE_STEP #define FO_FONT_SIZE_XX_LARGE FO_FONT_SIZE_X_LARGE * FO_FONT_SIZE_STEP /* font-size */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | | | | inherit */ /* Initial value: medium */ struct _FoPropertyFontSize { FoProperty parent_instance; }; struct _FoPropertyFontSizeClass { FoPropertyClass parent_class; }; static void fo_property_font_size_init (FoPropertyFontSize *property_font_size); static void fo_property_font_size_base_init (FoPropertyFontSizeClass *klass); static void fo_property_font_size_base_finalize (FoPropertyFontSizeClass *klass); static void fo_property_font_size_class_init (FoPropertyFontSizeClass *klass); static void fo_property_font_size_finalize (GObject *object); static void fo_property_font_size_text_property_init (FoPropertyTextPropertyIface *iface); static FoDatatype* fo_property_font_size_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_font_size_validate (FoDatatype *datatype, FoContext *context, GError **error); static PangoAttribute * fo_property_font_size_new_attr (FoProperty *property); static const gchar class_name[] = "font-size"; static gpointer parent_class; static FoDatatype *xx_small; static FoDatatype *x_small; static FoDatatype *small; static FoDatatype *medium; static FoDatatype *large; static FoDatatype *x_large; static FoDatatype *xx_large; static FoDatatype *size_step; /** * fo_property_font_size_get_type: * * Register the #FoPropertyFontSize type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyFontSize. **/ GType fo_property_font_size_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyFontSizeClass), (GBaseInitFunc) fo_property_font_size_base_init, (GBaseFinalizeFunc) fo_property_font_size_base_finalize, (GClassInitFunc) fo_property_font_size_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyFontSize), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_font_size_init, NULL /* value_table */ }; static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_font_size_text_property_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); } return object_type; } /** * fo_property_font_size_init: * @font_size: #FoPropertyFontSize object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyFontSize. **/ void fo_property_font_size_init (FoPropertyFontSize *font_size) { FO_PROPERTY (font_size)->value = g_object_ref (medium); } /** * fo_property_font_size_base_init: * @klass: #FoPropertyFontSizeClass object to initialise. * * Implements #GBaseInitFunc for #FoPropertyFontSizeClass. **/ void fo_property_font_size_base_init (FoPropertyFontSizeClass *klass G_GNUC_UNUSED) { xx_small = fo_length_new_with_value (FO_FONT_SIZE_XX_SMALL); x_small = fo_length_new_with_value (FO_FONT_SIZE_X_SMALL); small = fo_length_new_with_value (FO_FONT_SIZE_SMALL); medium = fo_length_new_with_value (FO_FONT_SIZE_MEDIUM); large = fo_length_new_with_value (FO_FONT_SIZE_LARGE); x_large = fo_length_new_with_value (FO_FONT_SIZE_X_LARGE); xx_large = fo_length_new_with_value (FO_FONT_SIZE_XX_LARGE); size_step = g_object_new (FO_TYPE_NUMBER, "value", FO_FONT_SIZE_STEP, NULL); } /** * fo_property_font_size_base_finalize: * @klass: #FoPropertyFontSizeClass object to finalise. * * Implements #GBaseFinalizeFunc for #FoPropertyFontSizeClass. **/ void fo_property_font_size_base_finalize (FoPropertyFontSizeClass *klass G_GNUC_UNUSED) { g_object_unref (xx_small); g_object_unref (x_small); g_object_unref (small); g_object_unref (medium); g_object_unref (large); g_object_unref (x_large); g_object_unref (xx_large); g_object_unref (size_step); } /** * fo_property_font_size_class_init: * @klass: #FoPropertyFontSizeClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyFontSizeClass. **/ void fo_property_font_size_class_init (FoPropertyFontSizeClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_font_size_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_font_size_resolve_enum; property_class->validate = fo_property_font_size_validate; property_class->get_initial = fo_property_font_size_get_initial; } /** * fo_property_font_size_finalize: * @object: #FoPropertyFontSize object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyFontSize. **/ void fo_property_font_size_finalize (GObject *object) { FoPropertyFontSize *font_size; font_size = FO_PROPERTY_FONT_SIZE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_font_size_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ void fo_property_font_size_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_font_size_new_attr; } /** * fo_property_font_size_new: * * Creates a new #FoPropertyFontSize initialized to default value. * * Return value: the new #FoPropertyFontSize. **/ FoProperty* fo_property_font_size_new (void) { FoProperty* font_size; font_size = FO_PROPERTY (g_object_new (fo_property_font_size_get_type (), NULL)); return font_size; } /** * fo_property_font_size_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_font_size_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "medium") == 0) { return g_object_ref (medium); } else if (strcmp (token, "small") == 0) { return g_object_ref (small); } else if (strcmp (token, "large") == 0) { return g_object_ref (large); } else if (strcmp (token, "x-small") == 0) { return g_object_ref (x_small); } else if (strcmp (token, "x-large") == 0) { return g_object_ref (x_large); } else if (strcmp (token, "xx-small") == 0) { return g_object_ref (xx_small); } else if (strcmp (token, "xx-large") == 0) { return g_object_ref (xx_large); } else if (strcmp (token, "larger") == 0) { return fo_datatype_mul (g_object_ref (fo_property_get_value (fo_context_get_font_size (context))), g_object_ref (size_step)); } else if (strcmp (token, "smaller") == 0) { return fo_datatype_div (g_object_ref (fo_property_get_value (fo_context_get_font_size (context))), g_object_ref (size_step)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_font_size_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_font_size_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_LENGTH (datatype)) { gdouble font_size = fo_length_get_value (datatype); if (font_size < 0) { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_PROPERTY_ERROR_ILLEGAL_NEGATIVE, _(fo_property_error_messages[FO_PROPERTY_ERROR_ILLEGAL_NEGATIVE]), class_name, datatype_sprintf); g_object_unref (datatype); datatype = NULL; g_free (datatype_sprintf); } return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_font_size_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_font_size_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_PERCENTAGE (datatype)) { gdouble percentage = fo_percentage_get_value (datatype); if (percentage < 0) { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_PROPERTY_ERROR_ILLEGAL_NEGATIVE, _(fo_property_error_messages[FO_PROPERTY_ERROR_ILLEGAL_NEGATIVE]), class_name, datatype_sprintf); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } else { new_datatype = fo_datatype_mul (g_object_ref (fo_property_get_value (fo_context_get_font_size (context))), datatype); return new_datatype; } } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_font_size_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_font_size_get_initial (void) { static FoProperty *font_size = NULL; if (font_size == NULL) { font_size = fo_property_font_size_new (); } return font_size; } /** * fo_property_font_size_new_attr: * @property: #FoProperty from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ PangoAttribute* fo_property_font_size_new_attr (FoProperty *property) { gfloat pango_font_size; g_return_val_if_fail (FO_IS_PROPERTY_FONT_SIZE (property), NULL); pango_font_size = fo_length_get_value (property->value); return pango_attr_size_new (pango_font_size * PANGO_SCALE); } xmlroff-0.6.2/libfo/property/fo-property-font-size.h0000644000175000017500000000310610643167450017455 00000000000000/* Fo * fo-property-font-size.h: 'font-size' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_FONT_SIZE_H__ #define __FO_PROPERTY_FONT_SIZE_H__ #include #include G_BEGIN_DECLS /* font-size */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | | | | inherit */ /* Initial value: medium */ #define FO_TYPE_PROPERTY_FONT_SIZE (fo_property_font_size_get_type ()) #define FO_PROPERTY_FONT_SIZE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FONT_SIZE, FoPropertyFontSize)) #define FO_PROPERTY_FONT_SIZE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FONT_SIZE, FoPropertyFontSizeClass)) #define FO_IS_PROPERTY_FONT_SIZE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FONT_SIZE)) #define FO_IS_PROPERTY_FONT_SIZE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FONT_SIZE)) #define FO_PROPERTY_FONT_SIZE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FONT_SIZE, FoPropertyFontSizeClass)) typedef struct _FoPropertyFontSize FoPropertyFontSize; typedef struct _FoPropertyFontSizeClass FoPropertyFontSizeClass; GType fo_property_font_size_get_type (void) G_GNUC_CONST; FoProperty * fo_property_font_size_new (void); FoProperty * fo_property_font_size_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_FONT_SIZE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-font-stretch.c0000644000175000017500000003335311034221517020147 00000000000000/* Fo * fo-property-font-stretch.c: 'font-stretch' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-stretch.h" /* Inherited: TRUE */ /* Shorthand: FALSE */ /* font-stretch */ /* normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit */ struct _FoPropertyFontStretch { FoProperty parent_instance; }; struct _FoPropertyFontStretchClass { FoPropertyClass parent_class; }; static void fo_property_font_stretch_init (FoPropertyFontStretch *property_font_stretch); static void fo_property_font_stretch_class_init (FoPropertyFontStretchClass *klass); static void fo_property_font_stretch_finalize (GObject *object); static void fo_property_font_stretch_text_property_init (FoPropertyTextPropertyIface *iface); static FoDatatype* fo_property_font_stretch_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_font_stretch_validate (FoDatatype *datatype, FoContext *context, GError **error); static PangoAttribute * fo_property_font_stretch_new_attr (FoProperty *property); static const gchar class_name[] = "font-stretch"; static gpointer parent_class; /** * fo_property_font_stretch_get_type: * * Register the #FoPropertyFontStretch type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyFontStretch. **/ GType fo_property_font_stretch_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyFontStretchClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_font_stretch_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyFontStretch), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_font_stretch_init, NULL /* value_table */ }; static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_font_stretch_text_property_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); } return object_type; } /** * fo_property_font_stretch_init: * @font_stretch: #FoPropertyFontStretch object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyFontStretch. **/ void fo_property_font_stretch_init (FoPropertyFontStretch *font_stretch) { FO_PROPERTY (font_stretch)->value = g_object_ref (fo_enum_get_enum_by_nick ("normal")); } /** * fo_property_font_stretch_class_init: * @klass: #FoPropertyFontStretchClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyFontStretchClass. **/ void fo_property_font_stretch_class_init (FoPropertyFontStretchClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_font_stretch_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_font_stretch_resolve_enum; property_class->validate = fo_property_font_stretch_validate; property_class->get_initial = fo_property_font_stretch_get_initial; } /** * fo_property_font_stretch_finalize: * @object: #FoPropertyFontStretch object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyFontStretch. **/ void fo_property_font_stretch_finalize (GObject *object) { FoPropertyFontStretch *font_stretch; font_stretch = FO_PROPERTY_FONT_STRETCH (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_font_stretch_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class * * Initialize #FoPropertyTextPropertyIface interface for this class **/ void fo_property_font_stretch_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_font_stretch_new_attr; } /** * fo_property_font_stretch_new: * * Creates a new #FoPropertyFontStretch initialized to default value. * * Return value: the new #FoPropertyFontStretch. **/ FoProperty* fo_property_font_stretch_new (void) { FoProperty* font_stretch; font_stretch = FO_PROPERTY (g_object_new (fo_property_font_stretch_get_type (), NULL)); return font_stretch; } FoEnumEnum _wider_font_stretch (FoContext *context) { FoEnumEnum wider; FoEnumEnum old_stretch = fo_enum_get_value (fo_property_get_value (fo_context_get_font_stretch (context))); switch (old_stretch) { case FO_ENUM_ENUM_ULTRA_CONDENSED: wider = FO_ENUM_ENUM_EXTRA_CONDENSED; break; case FO_ENUM_ENUM_EXTRA_CONDENSED: wider = FO_ENUM_ENUM_CONDENSED; break; case FO_ENUM_ENUM_CONDENSED: wider = FO_ENUM_ENUM_SEMI_CONDENSED; break; case FO_ENUM_ENUM_SEMI_CONDENSED: wider = FO_ENUM_ENUM_NORMAL; break; case FO_ENUM_ENUM_NORMAL: wider = FO_ENUM_ENUM_SEMI_EXPANDED; break; case FO_ENUM_ENUM_SEMI_EXPANDED: wider = FO_ENUM_ENUM_EXPANDED; break; case FO_ENUM_ENUM_EXPANDED: wider = FO_ENUM_ENUM_EXTRA_EXPANDED; break; case FO_ENUM_ENUM_EXTRA_EXPANDED: wider = FO_ENUM_ENUM_ULTRA_EXPANDED; break; case FO_ENUM_ENUM_ULTRA_EXPANDED: /* Can't get more expanded. */ wider = FO_ENUM_ENUM_ULTRA_EXPANDED; break; default: /* When in doubt, use 'normal'. */ wider = FO_ENUM_ENUM_NORMAL; break; } return wider; } FoEnumEnum _narrower_font_stretch (FoContext *context) { FoEnumEnum narrower; FoEnumEnum old_stretch = fo_enum_get_value (fo_property_get_value (fo_context_get_font_stretch (context))); switch (old_stretch) { case FO_ENUM_ENUM_ULTRA_CONDENSED: /* Can't get more condensed. */ narrower = FO_ENUM_ENUM_ULTRA_CONDENSED; break; case FO_ENUM_ENUM_EXTRA_CONDENSED: narrower = FO_ENUM_ENUM_ULTRA_CONDENSED; break; case FO_ENUM_ENUM_CONDENSED: narrower = FO_ENUM_ENUM_EXTRA_CONDENSED; break; case FO_ENUM_ENUM_SEMI_CONDENSED: narrower = FO_ENUM_ENUM_CONDENSED; break; case FO_ENUM_ENUM_NORMAL: narrower = FO_ENUM_ENUM_SEMI_CONDENSED; break; case FO_ENUM_ENUM_SEMI_EXPANDED: narrower = FO_ENUM_ENUM_NORMAL; break; case FO_ENUM_ENUM_EXPANDED: narrower = FO_ENUM_ENUM_SEMI_EXPANDED; break; case FO_ENUM_ENUM_EXTRA_EXPANDED: narrower = FO_ENUM_ENUM_EXPANDED; break; case FO_ENUM_ENUM_ULTRA_EXPANDED: narrower = FO_ENUM_ENUM_EXTRA_EXPANDED; break; default: /* When in doubt, use 'normal'. */ narrower = FO_ENUM_ENUM_NORMAL; break; } return narrower; } /** * fo_property_font_stretch_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype * fo_property_font_stretch_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "normal") == 0) || (strcmp (token, "ultra-condensed") == 0) || (strcmp (token, "extra-condensed") == 0) || (strcmp (token, "condensed") == 0) || (strcmp (token, "semi-condensed") == 0) || (strcmp (token, "semi-expanded") == 0) || (strcmp (token, "expanded") == 0) || (strcmp (token, "extra-expanded") == 0) || (strcmp (token, "ultra-expanded") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else if (strcmp (token, "wider") == 0) { return g_object_ref (fo_enum_get_enum_by_value (_wider_font_stretch (context))); } else if (strcmp (token, "narrower") == 0) { return g_object_ref (fo_enum_get_enum_by_value (_narrower_font_stretch (context))); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_font_stretch_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_font_stretch_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_NORMAL) || (value == FO_ENUM_ENUM_WIDER) || (value == FO_ENUM_ENUM_NARROWER) || (value == FO_ENUM_ENUM_ULTRA_CONDENSED) || (value == FO_ENUM_ENUM_EXTRA_CONDENSED) || (value == FO_ENUM_ENUM_CONDENSED) || (value == FO_ENUM_ENUM_SEMI_CONDENSED) || (value == FO_ENUM_ENUM_SEMI_EXPANDED) || (value == FO_ENUM_ENUM_EXPANDED) || (value == FO_ENUM_ENUM_EXTRA_EXPANDED) || (value == FO_ENUM_ENUM_ULTRA_EXPANDED)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_font_stretch_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_font_stretch_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_font_stretch_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_font_stretch_get_initial (void) { static FoProperty *font_stretch = NULL; if (font_stretch == NULL) { font_stretch = fo_property_font_stretch_new (); } return font_stretch; } /** * fo_property_font_stretch_new_attr: * @property: Property from which to create a PangoAttribute * * Makes a new PangoAttribute representing the current property * * Return value: New PangoAttribute **/ PangoAttribute* fo_property_font_stretch_new_attr (FoProperty *property) { gint pango_font_stretch; g_return_val_if_fail (FO_IS_PROPERTY_FONT_STRETCH (property), NULL); pango_font_stretch = fo_enum_get_value (property->value); return pango_attr_stretch_new (pango_font_stretch); } xmlroff-0.6.2/libfo/property/fo-property-font-stretch.h0000644000175000017500000000330611034131355020147 00000000000000/* Fo * fo-property-font-stretch.h: 'font-stretch' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_FONT_STRETCH_H__ #define __FO_PROPERTY_FONT_STRETCH_H__ #include #include G_BEGIN_DECLS /* font-stretch */ /* normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit */ /* Initial value: normal */ #define FO_TYPE_PROPERTY_FONT_STRETCH (fo_property_font_stretch_get_type ()) #define FO_PROPERTY_FONT_STRETCH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FONT_STRETCH, FoPropertyFontStretch)) #define FO_PROPERTY_FONT_STRETCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FONT_STRETCH, FoPropertyFontStretchClass)) #define FO_IS_PROPERTY_FONT_STRETCH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FONT_STRETCH)) #define FO_IS_PROPERTY_FONT_STRETCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FONT_STRETCH)) #define FO_PROPERTY_FONT_STRETCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FONT_STRETCH, FoPropertyFontStretchClass)) typedef struct _FoPropertyFontStretch FoPropertyFontStretch; typedef struct _FoPropertyFontStretchClass FoPropertyFontStretchClass; GType fo_property_font_stretch_get_type (void) G_GNUC_CONST; FoProperty* fo_property_font_stretch_new (void); FoProperty* fo_property_font_stretch_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_FONT_STRETCH_H__ */ xmlroff-0.6.2/libfo/property/fo-property-font-style.c0000644000175000017500000002605211034176577017650 00000000000000/* Fo * fo-property-font-style.c: 'font-style' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "libfo/fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-style.h" /* font-style */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* normal | italic | oblique | backslant | inherit */ /* Initial value: normal */ struct _FoPropertyFontStyle { FoProperty parent_instance; }; struct _FoPropertyFontStyleClass { FoPropertyClass parent_class; }; static void fo_property_font_style_init (FoPropertyFontStyle *property_font_style); static void fo_property_font_style_class_init (FoPropertyFontStyleClass *klass); static void fo_property_font_style_finalize (GObject *object); static void fo_property_font_style_text_property_init (FoPropertyTextPropertyIface *iface); static FoDatatype * fo_property_font_style_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_font_style_validate (FoDatatype *datatype, FoContext *context, GError **error); static PangoAttribute * fo_property_font_style_new_attr (FoProperty *property); static const gchar class_name[] = "font-style"; static gpointer parent_class; /** * fo_property_font_style_get_type: * * Register the #FoPropertyFontStyle type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyFontStyle. **/ GType fo_property_font_style_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyFontStyleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_font_style_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyFontStyle), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_font_style_init, NULL /* value_table */ }; static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_font_style_text_property_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); } return object_type; } /** * fo_property_font_style_init: * @font_style: #FoPropertyFontStyle object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyFontStyle. **/ void fo_property_font_style_init (FoPropertyFontStyle *font_style) { FO_PROPERTY (font_style)->value = g_object_ref (fo_enum_get_enum_by_nick ("normal")); } /** * fo_property_font_style_class_init: * @klass: #FoPropertyFontStyleClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyFontStyleClass. **/ void fo_property_font_style_class_init (FoPropertyFontStyleClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_font_style_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_font_style_resolve_enum; property_class->validate = fo_property_font_style_validate; property_class->get_initial = fo_property_font_style_get_initial; } /** * fo_property_font_style_finalize: * @object: #FoPropertyFontStyle object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyFontStyle. **/ void fo_property_font_style_finalize (GObject *object) { FoPropertyFontStyle *font_style; font_style = FO_PROPERTY_FONT_STYLE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_font_style_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ void fo_property_font_style_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_font_style_new_attr; } /** * fo_property_font_style_new: * * Creates a new #FoPropertyFontStyle initialized to default value. * * Return value: the new #FoPropertyFontStyle. **/ FoProperty* fo_property_font_style_new (void) { FoProperty* font_style; font_style = FO_PROPERTY (g_object_new (fo_property_font_style_get_type (), NULL)); return font_style; } /** * fo_property_font_style_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_font_style_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "normal") == 0) || (strcmp (token, "italic") == 0) || (strcmp (token, "oblique") == 0) || (strcmp (token, "backslant") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_font_style_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_font_style_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_NORMAL) || (value == FO_ENUM_ENUM_ITALIC) || (value == FO_ENUM_ENUM_OBLIQUE) || (value == FO_ENUM_ENUM_BACKSLANT)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_font_style_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_font_style_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_font_style_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_font_style_get_initial (void) { static FoProperty *font_style = NULL; if (font_style == NULL) { font_style = fo_property_font_style_new (); } return font_style; } /** * fo_property_font_style_to_pango_style: * @property: 'font-style' property * * Get the #PangoStyle enumerated value corresponding to the value of * @property. * * Return value: #PangoStyle value. **/ static PangoStyle fo_property_font_style_to_pango_style (FoProperty *property) { FoEnumEnum font_style; PangoStyle pango_font_style = PANGO_STYLE_NORMAL; /* No 'invalid' font style so default to 'normal' if fail */ g_return_val_if_fail (FO_IS_PROPERTY_FONT_STYLE (property), pango_font_style); font_style = fo_enum_get_value (property->value); /* Pango doesn't support 'backslant' styles */ if (font_style == FO_ENUM_ENUM_ITALIC) { pango_font_style = PANGO_STYLE_ITALIC; } else if (font_style == FO_ENUM_ENUM_OBLIQUE) { pango_font_style = PANGO_STYLE_OBLIQUE; } return pango_font_style; } /** * fo_property_font_style_new_attr: * @property: Property from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ PangoAttribute* fo_property_font_style_new_attr (FoProperty *property) { PangoStyle pango_font_style; g_return_val_if_fail (FO_IS_PROPERTY_FONT_STYLE (property), NULL); pango_font_style = fo_property_font_style_to_pango_style (property); return pango_attr_style_new (pango_font_style); } xmlroff-0.6.2/libfo/property/fo-property-font-style.h0000644000175000017500000000301511034127653017636 00000000000000/* Fo * fo-property-font-style.h: 'font-style' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_FONT_STYLE_H__ #define __FO_PROPERTY_FONT_STYLE_H__ #include #include "fo-property.h" G_BEGIN_DECLS /* font-style */ /* normal | italic | oblique | backslant | inherit */ /* Initial value: normal */ #define FO_TYPE_PROPERTY_FONT_STYLE (fo_property_font_style_get_type ()) #define FO_PROPERTY_FONT_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FONT_STYLE, FoPropertyFontStyle)) #define FO_PROPERTY_FONT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FONT_STYLE, FoPropertyFontStyleClass)) #define FO_IS_PROPERTY_FONT_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FONT_STYLE)) #define FO_IS_PROPERTY_FONT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FONT_STYLE)) #define FO_PROPERTY_FONT_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FONT_STYLE, FoPropertyFontStyleClass)) typedef struct _FoPropertyFontStyle FoPropertyFontStyle; typedef struct _FoPropertyFontStyleClass FoPropertyFontStyleClass; GType fo_property_font_style_get_type (void) G_GNUC_CONST; FoProperty* fo_property_font_style_new (void); FoProperty* fo_property_font_style_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_FONT_STYLE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-font-variant.c0000644000175000017500000002534010752172054020143 00000000000000/* Fo * fo-property-font-variant.c: 'font-variant' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "libfo/fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-variant.h" /* font-variant */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* normal | small-caps | inherit */ /* Initial value: normal */ struct _FoPropertyFontVariant { FoProperty parent_instance; }; struct _FoPropertyFontVariantClass { FoPropertyClass parent_class; }; static void fo_property_font_variant_init (FoPropertyFontVariant *property_font_variant); static void fo_property_font_variant_class_init (FoPropertyFontVariantClass *klass); static void fo_property_font_variant_finalize (GObject *object); static void fo_property_font_variant_text_property_init (FoPropertyTextPropertyIface *iface); static FoDatatype * fo_property_font_variant_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_font_variant_validate (FoDatatype *datatype, FoContext *context, GError **error); static PangoAttribute * fo_property_font_variant_new_attr (FoProperty *property); static const gchar class_name[] = "font-variant"; static gpointer parent_class; /** * fo_property_font_variant_get_type: * * Register the #FoPropertyFontVariant type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyFontVariant. **/ GType fo_property_font_variant_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyFontVariantClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_font_variant_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyFontVariant), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_font_variant_init, NULL /* value_table */ }; static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_font_variant_text_property_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); } return object_type; } /** * fo_property_font_variant_init: * @font_variant: #FoPropertyFontVariant object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyFontVariant. **/ void fo_property_font_variant_init (FoPropertyFontVariant *font_variant) { FO_PROPERTY (font_variant)->value = g_object_ref (fo_enum_get_enum_by_nick ("normal")); } /** * fo_property_font_variant_class_init: * @klass: #FoPropertyFontVariantClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyFontVariantClass. **/ void fo_property_font_variant_class_init (FoPropertyFontVariantClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_font_variant_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_font_variant_resolve_enum; property_class->validate = fo_property_font_variant_validate; property_class->get_initial = fo_property_font_variant_get_initial; } /** * fo_property_font_variant_finalize: * @object: #FoPropertyFontVariant object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyFontVariant. **/ void fo_property_font_variant_finalize (GObject *object) { FoPropertyFontVariant *font_variant; font_variant = FO_PROPERTY_FONT_VARIANT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_font_variant_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ void fo_property_font_variant_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_font_variant_new_attr; } /** * fo_property_font_variant_new: * * Creates a new #FoPropertyFontVariant initialized to default value. * * Return value: the new #FoPropertyFontVariant. **/ FoProperty* fo_property_font_variant_new (void) { FoProperty* font_variant; font_variant = FO_PROPERTY (g_object_new (fo_property_font_variant_get_type (), NULL)); return font_variant; } /** * fo_property_font_variant_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_font_variant_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if ((strcmp (token, "normal") == 0) || (strcmp (token, "small-caps") == 0)) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_font_variant_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_font_variant_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if ((value == FO_ENUM_ENUM_NORMAL) || (value == FO_ENUM_ENUM_SMALL_CAPS)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_font_variant_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_font_variant_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_font_variant_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_font_variant_get_initial (void) { static FoProperty *font_variant = NULL; if (font_variant == NULL) { font_variant = fo_property_font_variant_new (); } return font_variant; } static PangoVariant fo_property_font_variant_to_pango_variant (FoProperty *property) { FoEnumEnum font_variant; PangoVariant pango_font_variant = PANGO_VARIANT_NORMAL; /* No 'invalid' font variant so default to 'normal' if fail */ g_return_val_if_fail (FO_IS_PROPERTY_FONT_VARIANT (property), pango_font_variant); font_variant = fo_enum_get_value (property->value); if (font_variant == FO_ENUM_ENUM_SMALL_CAPS) { pango_font_variant = PANGO_VARIANT_SMALL_CAPS; } return pango_font_variant; } /** * fo_property_font_variant_new_attr: * @property: #FoProperty from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ PangoAttribute* fo_property_font_variant_new_attr (FoProperty *property) { PangoVariant pango_font_variant; g_return_val_if_fail (FO_IS_PROPERTY_FONT_VARIANT (property), NULL); pango_font_variant = fo_property_font_variant_to_pango_variant (property); return pango_attr_variant_new (pango_font_variant); } xmlroff-0.6.2/libfo/property/fo-property-font-variant.h0000644000175000017500000000345610770023365020154 00000000000000/* Fo * fo-property-font-variant.h: 'font-variant' property * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_FONT_VARIANT_H__ #define __FO_PROPERTY_FONT_VARIANT_H__ #include #include G_BEGIN_DECLS /* font-variant */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* normal | small-caps | inherit */ /* Initial value: normal */ #define FO_TYPE_PROPERTY_FONT_VARIANT (fo_property_font_variant_get_type ()) #define FO_PROPERTY_FONT_VARIANT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FONT_VARIANT, FoPropertyFontVariant)) #define FO_PROPERTY_FONT_VARIANT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FONT_VARIANT, FoPropertyFontVariantClass)) #define FO_IS_PROPERTY_FONT_VARIANT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FONT_VARIANT)) #define FO_IS_PROPERTY_FONT_VARIANT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FONT_VARIANT)) #define FO_PROPERTY_FONT_VARIANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FONT_VARIANT, FoPropertyFontVariantClass)) /** * FoPropertyFontVariant: * * Instance of the 'font-variant' property. **/ typedef struct _FoPropertyFontVariant FoPropertyFontVariant; /** * FoPropertyFontVariantClass: * * Class structure for the 'font-variant' property. **/ typedef struct _FoPropertyFontVariantClass FoPropertyFontVariantClass; GType fo_property_font_variant_get_type (void) G_GNUC_CONST; FoProperty * fo_property_font_variant_new (void); FoProperty * fo_property_font_variant_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_FONT_VARIANT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-font-weight.c0000644000175000017500000003332010660107747017770 00000000000000/* Fo * fo-property-font-weight.c: 'font-weight' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" #include "property/fo-property-text-property.h" #include "property/fo-property-font-size.h" #include "property/fo-property-font-weight.h" #ifndef FO_FONT_WEIGHT_NORMAL #define FO_FONT_WEIGHT_NORMAL 400 #endif /* !FO_FONT_WEIGHT_NORMAL */ #ifndef FO_FONT_WEIGHT_BOLD #define FO_FONT_WEIGHT_BOLD 700 #endif /* !FO_FONT_WEIGHT_BOLD */ #ifndef FO_FONT_WEIGHT_STEP #define FO_FONT_WEIGHT_STEP 100 #endif /* !FO_FONT_WEIGHT_STEP */ #ifndef FO_FONT_WEIGHT_MAX #define FO_FONT_WEIGHT_MAX 900 #endif /* !FO_FONT_WEIGHT_MAX */ #ifndef FO_FONT_WEIGHT_MIN #define FO_FONT_WEIGHT_MIN 100 #endif /* !FO_FONT_WEIGHT_MIN */ /* font-weight */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit */ /* Initial value: normal */ struct _FoPropertyFontWeight { FoProperty parent_instance; }; struct _FoPropertyFontWeightClass { FoPropertyClass parent_class; }; static void fo_property_font_weight_init (FoPropertyFontWeight *property_font_weight); static void fo_property_font_weight_class_init (FoPropertyFontWeightClass *klass); static void fo_property_font_weight_finalize (GObject *object); static void fo_property_font_weight_text_property_init (FoPropertyTextPropertyIface *iface); static FoDatatype * fo_property_font_weight_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype * fo_property_font_weight_validate (FoDatatype *datatype, FoContext *context, GError **error); static PangoAttribute * fo_property_font_weight_new_attr (FoProperty *property); static const gchar class_name[] = "font-weight"; static gpointer parent_class; /** * fo_property_font_weight_get_type: * * Register the #FoPropertyFontWeight type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyFontWeight. **/ GType fo_property_font_weight_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyFontWeightClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_font_weight_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyFontWeight), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_font_weight_init, NULL /* value_table */ }; static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_font_weight_text_property_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); } return object_type; } /** * fo_property_font_weight_init: * @font_weight: #FoPropertyFontWeight object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyFontWeight. **/ void fo_property_font_weight_init (FoPropertyFontWeight *font_weight) { FO_PROPERTY (font_weight)->value = g_object_ref (fo_integer_new_with_value (FO_FONT_WEIGHT_NORMAL)); } /** * fo_property_font_weight_class_init: * @klass: #FoPropertyFontWeightClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyFontWeightClass. **/ void fo_property_font_weight_class_init (FoPropertyFontWeightClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_font_weight_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_font_weight_resolve_enum; property_class->validate = fo_property_font_weight_validate; property_class->get_initial = fo_property_font_weight_get_initial; } /** * fo_property_font_weight_finalize: * @object: #FoPropertyFontWeight object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyFontWeight. **/ void fo_property_font_weight_finalize (GObject *object) { FoPropertyFontWeight *font_weight; font_weight = FO_PROPERTY_FONT_WEIGHT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_font_weight_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ void fo_property_font_weight_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_font_weight_new_attr; } /** * fo_property_font_weight_new: * * Creates a new #FoPropertyFontWeight initialized to default value. * * Return value: the new #FoPropertyFontWeight. **/ FoProperty* fo_property_font_weight_new (void) { FoProperty* font_weight; font_weight = FO_PROPERTY (g_object_new (fo_property_font_weight_get_type (), NULL)); return font_weight; } /** * fo_property_font_weight_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_font_weight_resolve_enum (const gchar *token, FoContext *context, GError **error) { gint old_font_weight_value; g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "normal") == 0) { return fo_integer_new_with_value (FO_FONT_WEIGHT_NORMAL); } else if (strcmp (token, "bold") == 0) { return fo_integer_new_with_value (FO_FONT_WEIGHT_BOLD); } else if (strcmp (token, "bolder") == 0) { /* FIXME: Redo with fo_datatype_max(), etc. */ old_font_weight_value = fo_integer_get_value (fo_property_get_value (fo_context_get_font_weight (context))); return fo_integer_new_with_value (MIN (old_font_weight_value + FO_FONT_WEIGHT_STEP, FO_FONT_WEIGHT_MAX)); } else if (strcmp (token, "lighter") == 0) { old_font_weight_value = fo_integer_get_value (fo_property_get_value (fo_context_get_font_weight (context))); return fo_integer_new_with_value (MAX (old_font_weight_value - FO_FONT_WEIGHT_STEP, FO_FONT_WEIGHT_MIN)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_font_weight_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_font_weight_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; gint int_value; gfloat float_value; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if (value == FO_ENUM_ENUM_NORMAL) { return fo_integer_new_with_value (FO_FONT_WEIGHT_NORMAL); } else if (value == FO_ENUM_ENUM_BOLD) { return fo_integer_new_with_value (FO_FONT_WEIGHT_BOLD); } else if ((value == FO_ENUM_ENUM_BOLDER) || (value == FO_ENUM_ENUM_LIGHTER)) { return datatype; } else if (value == FO_ENUM_ENUM_100) { return fo_integer_new_with_value (100); } else if (value == FO_ENUM_ENUM_200) { return fo_integer_new_with_value (200); } else if (value == FO_ENUM_ENUM_300) { return fo_integer_new_with_value (300); } else if (value == FO_ENUM_ENUM_400) { return fo_integer_new_with_value (400); } else if (value == FO_ENUM_ENUM_500) { return fo_integer_new_with_value (500); } else if (value == FO_ENUM_ENUM_600) { return fo_integer_new_with_value (600); } else if (value == FO_ENUM_ENUM_700) { return fo_integer_new_with_value (700); } else if (value == FO_ENUM_ENUM_800) { return fo_integer_new_with_value (800); } else if (value == FO_ENUM_ENUM_900) { return fo_integer_new_with_value (900); } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_font_weight_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_font_weight_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NUMBER (datatype)) { float_value = fo_number_get_value (datatype); if ((float_value == 100) || (float_value == 200) || (float_value == 300) || (float_value == 400) || (float_value == 500) || (float_value == 600) || (float_value == 700) || (float_value == 800) || (float_value == 900)) { new_datatype = fo_integer_new_with_value ((int) float_value); g_object_unref (datatype); return new_datatype; } else { g_warning ("Incorrect font-weight: %g", float_value); int_value = (int) float_value / 100; int_value = CLAMP (int_value, 1, 9) * 100; new_datatype = fo_integer_new_with_value (int_value); g_object_unref (datatype); return new_datatype; } } else if (FO_IS_INTEGER (datatype)) { int_value = fo_integer_get_value (datatype); if ((int_value == 100) || (int_value == 200) || (int_value == 300) || (int_value == 400) || (int_value == 500) || (int_value == 600) || (int_value == 700) || (int_value == 800) || (int_value == 900)) { return datatype; } else { g_warning ("Incorrect font-weight: %d", int_value); int_value = CLAMP (int_value / 100, 1, 9) * 100; new_datatype = fo_integer_new_with_value (int_value); g_object_unref (datatype); return new_datatype; } } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_font_weight_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_font_weight_get_initial (void) { static FoProperty *font_weight = NULL; if (font_weight == NULL) { font_weight = fo_property_font_weight_new (); } return font_weight; } /** * fo_property_font_weight_new_attr: * @property: #FoProperty from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ PangoAttribute* fo_property_font_weight_new_attr (FoProperty *property) { gint pango_font_weight; g_return_val_if_fail (FO_IS_PROPERTY_FONT_WEIGHT (property), NULL); pango_font_weight = fo_integer_get_value (property->value); return pango_attr_weight_new (pango_font_weight); } xmlroff-0.6.2/libfo/property/fo-property-font-weight.h0000644000175000017500000000324310770023365017771 00000000000000/* Fo * fo-property-font-weight.h: 'font-weight' property * * Copyright (C) 2001-2005 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_FONT_WEIGHT_H__ #define __FO_PROPERTY_FONT_WEIGHT_H__ #include #include G_BEGIN_DECLS /* font-weight */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit */ /* Initial value: normal */ #define FO_TYPE_PROPERTY_FONT_WEIGHT (fo_property_font_weight_get_type ()) #define FO_PROPERTY_FONT_WEIGHT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FONT_WEIGHT, FoPropertyFontWeight)) #define FO_PROPERTY_FONT_WEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FONT_WEIGHT, FoPropertyFontWeightClass)) #define FO_IS_PROPERTY_FONT_WEIGHT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FONT_WEIGHT)) #define FO_IS_PROPERTY_FONT_WEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FONT_WEIGHT)) #define FO_PROPERTY_FONT_WEIGHT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FONT_WEIGHT, FoPropertyFontWeightClass)) typedef struct _FoPropertyFontWeight FoPropertyFontWeight; typedef struct _FoPropertyFontWeightClass FoPropertyFontWeightClass; GType fo_property_font_weight_get_type (void) G_GNUC_CONST; FoProperty * fo_property_font_weight_new (void); FoProperty * fo_property_font_weight_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_FONT_WEIGHT_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-together-within-line.c0000644000175000017500000002364510660107747022536 00000000000000/* Fo * fo-property-keep-together-within-line.c: 'keep-together-within-line' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" /* #include "property/fo-property-text-property.h" */ #include "property/fo-property-font-size.h" #include "property/fo-property-keep-together-within-line.h" #include "property/fo-property-util.h" /* keep-together-within-line */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ struct _FoPropertyKeepTogetherWithinLine { FoProperty parent_instance; }; struct _FoPropertyKeepTogetherWithinLineClass { FoPropertyClass parent_class; }; static void fo_property_keep_together_within_line_init (FoPropertyKeepTogetherWithinLine *property_keep_together_within_line); static void fo_property_keep_together_within_line_class_init (FoPropertyKeepTogetherWithinLineClass *klass); static void fo_property_keep_together_within_line_finalize (GObject *object); static FoDatatype* fo_property_keep_together_within_line_validate (FoDatatype *datatype, FoContext *context, GError **error); /* PangoAttribute * fo_property_keep_together_within_line_new_attr (FoProperty *property); static void fo_property_keep_together_within_line_text_property_init (FoPropertyTextPropertyIface *iface); */ static const gchar class_name[] = "keep-together-within-line"; static gpointer parent_class; /** * fo_property_keep_together_within_line_get_type: * * Register the #FoPropertyKeepTogetherWithinLine type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepTogetherWithinLine. **/ GType fo_property_keep_together_within_line_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepTogetherWithinLineClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_keep_together_within_line_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepTogetherWithinLine), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_together_within_line_init, NULL /* value_table */ }; /* static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_keep_together_within_line_text_property_init, / * interface_init * / NULL, NULL }; */ object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); /* g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); */ } return object_type; } /** * fo_property_keep_together_within_line_init: * @keep_together_within_line: #FoPropertyKeepTogetherWithinLine object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepTogetherWithinLine. **/ void fo_property_keep_together_within_line_init (FoPropertyKeepTogetherWithinLine *keep_together_within_line) { FO_PROPERTY (keep_together_within_line)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_keep_together_within_line_class_init: * @klass: #FoPropertyKeepTogetherWithinLineClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepTogetherWithinLineClass. **/ void fo_property_keep_together_within_line_class_init (FoPropertyKeepTogetherWithinLineClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_together_within_line_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_always_enum; property_class->validate = fo_property_keep_together_within_line_validate; property_class->get_initial = fo_property_keep_together_within_line_get_initial; } /** * fo_property_keep_together_within_line_finalize: * @object: #FoPropertyKeepTogetherWithinLine object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepTogetherWithinLine. **/ void fo_property_keep_together_within_line_finalize (GObject *object) { FoPropertyKeepTogetherWithinLine *keep_together_within_line; keep_together_within_line = FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_together_within_line_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class * * Initialize #FoPropertyTextPropertyIface interface for this class **/ /* void fo_property_keep_together_within_line_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_keep_together_within_line_new_attr; } */ /** * fo_property_keep_together_within_line_new: * * Creates a new #FoPropertyKeepTogetherWithinLine initialized to default value. * * Return value: the new #FoPropertyKeepTogetherWithinLine. **/ FoProperty* fo_property_keep_together_within_line_new (void) { FoProperty* keep_together_within_line; keep_together_within_line = FO_PROPERTY (g_object_new (fo_property_keep_together_within_line_get_type (), NULL)); return keep_together_within_line; } /** * fo_property_keep_together_within_line_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_together_within_line_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_together_within_line_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_together_within_line_get_initial (void) { static FoProperty *keep_together_within_line = NULL; if (keep_together_within_line == NULL) { keep_together_within_line = fo_property_keep_together_within_line_new (); } return keep_together_within_line; } /** * fo_property_keep_together_within_line_new_attr: * @property: #FoProperty from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ /* PangoAttribute* fo_property_keep_together_within_line_new_attr (FoProperty *property) { FoDatatype *datatype; gint pango_keep_together_within_line = G_MININT; g_return_val_if_fail (FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (property), NULL); datatype = property->value; if (FO_IS_INTEGER (datatype)) { pango_keep_together_within_line = fo_integer_get_value (datatype); } else if (FO_IS_ENUM (datatype)) { guint value = fo_enum_get_value (datatype); if (value == FO_ENUM_ENUM_AUTO) { pango_keep_together_within_line = G_MININT; } else if (value == FO_ENUM_ENUM_ALWAYS) { pango_keep_together_within_line = G_MAXINT; } else { g_assert_not_reached (); } } else { g_assert_not_reached (); } return pango_attr_keep_together_within_line_new (pango_keep_together_within_line); } */ xmlroff-0.6.2/libfo/property/fo-property-keep-together-within-line.h0000644000175000017500000000377010770023365022533 00000000000000/* Fo * fo-property-keep-together-within-line.h: 'keep-together-within-line' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE_H__ #define __FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE_H__ #include #include G_BEGIN_DECLS /* keep-together-within-line */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ #define FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_LINE (fo_property_keep_together_within_line_get_type ()) #define FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_LINE, FoPropertyKeepTogetherWithinLine)) #define FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_LINE, FoPropertyKeepTogetherWithinLineClass)) #define FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_LINE)) #define FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_LINE)) #define FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_LINE, FoPropertyKeepTogetherWithinLineClass)) typedef struct _FoPropertyKeepTogetherWithinLine FoPropertyKeepTogetherWithinLine; typedef struct _FoPropertyKeepTogetherWithinLineClass FoPropertyKeepTogetherWithinLineClass; GType fo_property_keep_together_within_line_get_type (void) G_GNUC_CONST; FoProperty* fo_property_keep_together_within_line_new (void); FoProperty* fo_property_keep_together_within_line_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-next-within-line.c0000644000175000017500000002375210660107747022643 00000000000000/* Fo * fo-property-keep-with-next-within-line.c: 'keep-with-next-within-line' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" /* #include "property/fo-property-text-property.h" */ #include "property/fo-property-font-size.h" #include "property/fo-property-keep-with-next-within-line.h" #include "property/fo-property-util.h" /* keep-with-next-within-line */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ struct _FoPropertyKeepWithNextWithinLine { FoProperty parent_instance; }; struct _FoPropertyKeepWithNextWithinLineClass { FoPropertyClass parent_class; }; static void fo_property_keep_with_next_within_line_init (FoPropertyKeepWithNextWithinLine *property_keep_with_next_within_line); static void fo_property_keep_with_next_within_line_class_init (FoPropertyKeepWithNextWithinLineClass *klass); static void fo_property_keep_with_next_within_line_finalize (GObject *object); static FoDatatype* fo_property_keep_with_next_within_line_validate (FoDatatype *datatype, FoContext *context, GError **error); /* PangoAttribute * fo_property_keep_with_next_within_line_new_attr (FoProperty *property); static void fo_property_keep_with_next_within_line_text_property_init (FoPropertyTextPropertyIface *iface); */ static const gchar class_name[] = "keep-with-next-within-line"; static gpointer parent_class; /** * fo_property_keep_with_next_within_line_get_type: * * Register the #FoPropertyKeepWithNextWithinLine type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepWithNextWithinLine. **/ GType fo_property_keep_with_next_within_line_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepWithNextWithinLineClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_keep_with_next_within_line_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepWithNextWithinLine), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_with_next_within_line_init, NULL /* value_table */ }; /* static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_keep_with_next_within_line_text_property_init, / * interface_init * / NULL, NULL }; */ object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); /* g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); */ } return object_type; } /** * fo_property_keep_with_next_within_line_init: * @keep_with_next_within_line: #FoPropertyKeepWithNextWithinLine object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepWithNextWithinLine. **/ void fo_property_keep_with_next_within_line_init (FoPropertyKeepWithNextWithinLine *keep_with_next_within_line) { FO_PROPERTY (keep_with_next_within_line)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_keep_with_next_within_line_class_init: * @klass: #FoPropertyKeepWithNextWithinLineClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepWithNextWithinLineClass. **/ void fo_property_keep_with_next_within_line_class_init (FoPropertyKeepWithNextWithinLineClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_with_next_within_line_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_always_enum; property_class->validate = fo_property_keep_with_next_within_line_validate; property_class->get_initial = fo_property_keep_with_next_within_line_get_initial; } /** * fo_property_keep_with_next_within_line_finalize: * @object: #FoPropertyKeepWithNextWithinLine object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepWithNextWithinLine. **/ void fo_property_keep_with_next_within_line_finalize (GObject *object) { FoPropertyKeepWithNextWithinLine *keep_with_next_within_line; keep_with_next_within_line = FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_with_next_within_line_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class * * Initialize #FoPropertyTextPropertyIface interface for this class **/ /* void fo_property_keep_with_next_within_line_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_keep_with_next_within_line_new_attr; } */ /** * fo_property_keep_with_next_within_line_new: * * Creates a new #FoPropertyKeepWithNextWithinLine initialized to default value. * * Return value: the new #FoPropertyKeepWithNextWithinLine. **/ FoProperty* fo_property_keep_with_next_within_line_new (void) { FoProperty* keep_with_next_within_line; keep_with_next_within_line = FO_PROPERTY (g_object_new (fo_property_keep_with_next_within_line_get_type (), NULL)); return keep_with_next_within_line; } /** * fo_property_keep_with_next_within_line_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_with_next_within_line_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_with_next_within_line_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_with_next_within_line_get_initial (void) { static FoProperty *keep_with_next_within_line = NULL; if (keep_with_next_within_line == NULL) { keep_with_next_within_line = fo_property_keep_with_next_within_line_new (); } return keep_with_next_within_line; } /** * fo_property_keep_with_next_within_line_new_attr: * @property: #FoProperty from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ /* PangoAttribute* fo_property_keep_with_next_within_line_new_attr (FoProperty *property) { FoDatatype *datatype; gint pango_keep_with_next_within_line = G_MININT; g_return_val_if_fail (FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (property), NULL); datatype = property->value; if (FO_IS_INTEGER (datatype)) { pango_keep_with_next_within_line = fo_integer_get_value (datatype); } else if (FO_IS_ENUM (datatype)) { guint value = fo_enum_get_value (datatype); if (value == FO_ENUM_ENUM_AUTO) { pango_keep_with_next_within_line = G_MININT; } else if (value == FO_ENUM_ENUM_ALWAYS) { pango_keep_with_next_within_line = G_MAXINT; } else { g_assert_not_reached (); } } else { g_assert_not_reached (); } return pango_attr_keep_with_next_within_line_new (pango_keep_with_next_within_line); } */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-next-within-line.h0000644000175000017500000000401610770023365022633 00000000000000/* Fo * fo-property-keep-with-next-within-line.h: 'keep-with-next-within-line' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE_H__ #define __FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE_H__ #include #include G_BEGIN_DECLS /* keep-with-next-within-line */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ #define FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE (fo_property_keep_with_next_within_line_get_type ()) #define FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE, FoPropertyKeepWithNextWithinLine)) #define FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE, FoPropertyKeepWithNextWithinLineClass)) #define FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE)) #define FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE)) #define FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE, FoPropertyKeepWithNextWithinLineClass)) typedef struct _FoPropertyKeepWithNextWithinLine FoPropertyKeepWithNextWithinLine; typedef struct _FoPropertyKeepWithNextWithinLineClass FoPropertyKeepWithNextWithinLineClass; GType fo_property_keep_with_next_within_line_get_type (void) G_GNUC_CONST; FoProperty* fo_property_keep_with_next_within_line_new (void); FoProperty* fo_property_keep_with_next_within_line_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-previous-within-line.c0000644000175000017500000002445710660107747023544 00000000000000/* Fo * fo-property-keep-with-previous-within-line.c: 'keep-with-previous-within-line' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" /* #include "property/fo-property-text-property.h" */ #include "property/fo-property-font-size.h" #include "property/fo-property-keep-with-previous-within-line.h" #include "property/fo-property-util.h" /* keep-with-previous-within-line */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ struct _FoPropertyKeepWithPreviousWithinLine { FoProperty parent_instance; }; struct _FoPropertyKeepWithPreviousWithinLineClass { FoPropertyClass parent_class; }; static void fo_property_keep_with_previous_within_line_init (FoPropertyKeepWithPreviousWithinLine *property_keep_with_previous_within_line); static void fo_property_keep_with_previous_within_line_class_init (FoPropertyKeepWithPreviousWithinLineClass *klass); static void fo_property_keep_with_previous_within_line_finalize (GObject *object); static FoDatatype* fo_property_keep_with_previous_within_line_validate (FoDatatype *datatype, FoContext *context, GError **error); /* PangoAttribute * fo_property_keep_with_previous_within_line_new_attr (FoProperty *property); static void fo_property_keep_with_previous_within_line_text_property_init (FoPropertyTextPropertyIface *iface); */ static const gchar class_name[] = "keep-with-previous-within-line"; static gpointer parent_class; /** * fo_property_keep_with_previous_within_line_get_type: * * Register the #FoPropertyKeepWithPreviousWithinLine type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyKeepWithPreviousWithinLine. **/ GType fo_property_keep_with_previous_within_line_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyKeepWithPreviousWithinLineClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_keep_with_previous_within_line_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyKeepWithPreviousWithinLine), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_keep_with_previous_within_line_init, NULL /* value_table */ }; /* static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_keep_with_previous_within_line_text_property_init, / * interface_init * / NULL, NULL }; */ object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); /* g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); */ } return object_type; } /** * fo_property_keep_with_previous_within_line_init: * @keep_with_previous_within_line: #FoPropertyKeepWithPreviousWithinLine object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyKeepWithPreviousWithinLine. **/ void fo_property_keep_with_previous_within_line_init (FoPropertyKeepWithPreviousWithinLine *keep_with_previous_within_line) { FO_PROPERTY (keep_with_previous_within_line)->value = g_object_ref (fo_enum_get_enum_auto ()); } /** * fo_property_keep_with_previous_within_line_class_init: * @klass: #FoPropertyKeepWithPreviousWithinLineClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyKeepWithPreviousWithinLineClass. **/ void fo_property_keep_with_previous_within_line_class_init (FoPropertyKeepWithPreviousWithinLineClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_keep_with_previous_within_line_finalize; property_class->is_inherited = FALSE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_util_resolve_auto_always_enum; property_class->validate = fo_property_keep_with_previous_within_line_validate; property_class->get_initial = fo_property_keep_with_previous_within_line_get_initial; } /** * fo_property_keep_with_previous_within_line_finalize: * @object: #FoPropertyKeepWithPreviousWithinLine object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyKeepWithPreviousWithinLine. **/ void fo_property_keep_with_previous_within_line_finalize (GObject *object) { FoPropertyKeepWithPreviousWithinLine *keep_with_previous_within_line; keep_with_previous_within_line = FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_keep_with_previous_within_line_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class * * Initialize #FoPropertyTextPropertyIface interface for this class **/ /* void fo_property_keep_with_previous_within_line_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_keep_with_previous_within_line_new_attr; } */ /** * fo_property_keep_with_previous_within_line_new: * * Creates a new #FoPropertyKeepWithPreviousWithinLine initialized to default value. * * Return value: the new #FoPropertyKeepWithPreviousWithinLine. **/ FoProperty* fo_property_keep_with_previous_within_line_new (void) { FoProperty* keep_with_previous_within_line; keep_with_previous_within_line = FO_PROPERTY (g_object_new (fo_property_keep_with_previous_within_line_get_type (), NULL)); return keep_with_previous_within_line; } /** * fo_property_keep_with_previous_within_line_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_keep_with_previous_within_line_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { return datatype; } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_util_resolve_auto_always_enum (token, context, &tmp_error); g_object_unref (datatype); if (tmp_error != NULL) { g_propagate_error (error, tmp_error); return NULL; } return new_datatype; } else if (FO_IS_INTEGER (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { new_datatype = fo_integer_new_with_value ((gint) fo_number_get_value (datatype)); g_object_unref (datatype); return new_datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_keep_with_previous_within_line_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_keep_with_previous_within_line_get_initial (void) { static FoProperty *keep_with_previous_within_line = NULL; if (keep_with_previous_within_line == NULL) { keep_with_previous_within_line = fo_property_keep_with_previous_within_line_new (); } return keep_with_previous_within_line; } /** * fo_property_keep_with_previous_within_line_new_attr: * @property: #FoProperty from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ /* PangoAttribute* fo_property_keep_with_previous_within_line_new_attr (FoProperty *property) { FoDatatype *datatype; gint pango_keep_with_previous_within_line = G_MININT; g_return_val_if_fail (FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (property), NULL); datatype = property->value; if (FO_IS_INTEGER (datatype)) { pango_keep_with_previous_within_line = fo_integer_get_value (datatype); } else if (FO_IS_ENUM (datatype)) { guint value = fo_enum_get_value (datatype); if (value == FO_ENUM_ENUM_AUTO) { pango_keep_with_previous_within_line = G_MININT; } else if (value == FO_ENUM_ENUM_ALWAYS) { pango_keep_with_previous_within_line = G_MAXINT; } else { g_assert_not_reached (); } } else { g_assert_not_reached (); } return pango_attr_keep_with_previous_within_line_new (pango_keep_with_previous_within_line); } */ xmlroff-0.6.2/libfo/property/fo-property-keep-with-previous-within-line.h0000644000175000017500000000417610770023365023540 00000000000000/* Fo * fo-property-keep-with-previous-within-line.h: 'keep-with-previous-within-line' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE_H__ #define __FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE_H__ #include #include G_BEGIN_DECLS /* keep-with-previous-within-line */ /* Inherited: FALSE */ /* Shorthand: FALSE */ /* | inherit */ /* Initial value: .within-line=auto, .within-column=auto, .within-page=auto */ #define FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE (fo_property_keep_with_previous_within_line_get_type ()) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE, FoPropertyKeepWithPreviousWithinLine)) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE, FoPropertyKeepWithPreviousWithinLineClass)) #define FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE)) #define FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE)) #define FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE, FoPropertyKeepWithPreviousWithinLineClass)) typedef struct _FoPropertyKeepWithPreviousWithinLine FoPropertyKeepWithPreviousWithinLine; typedef struct _FoPropertyKeepWithPreviousWithinLineClass FoPropertyKeepWithPreviousWithinLineClass; GType fo_property_keep_with_previous_within_line_get_type (void) G_GNUC_CONST; FoProperty* fo_property_keep_with_previous_within_line_new (void); FoProperty* fo_property_keep_with_previous_within_line_get_initial (void); G_END_DECLS #endif /* !__FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE_H__ */ xmlroff-0.6.2/libfo/property/fo-property-line-height.c0000644000175000017500000003014210660107746017730 00000000000000/* Fo * fo-property-line-height.c: 'line-height' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-context.h" #include "datatype/fo-datatype.h" #include "property/fo-property-private.h" /* #include "property/fo-property-text-property.h" */ #include "property/fo-property-font-size.h" #include "property/fo-property-line-height.h" #define FO_PROPERTY_LINE_HEIGHT_NORMAL_MULTIPLIER 1.2 /* line-height */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* normal | | | | | inherit */ /* Initial value: normal */ struct _FoPropertyLineHeight { FoProperty parent_instance; }; struct _FoPropertyLineHeightClass { FoPropertyClass parent_class; }; static void fo_property_line_height_init (FoPropertyLineHeight *property_line_height); static void fo_property_line_height_class_init (FoPropertyLineHeightClass *klass); static void fo_property_line_height_finalize (GObject *object); static FoDatatype* fo_property_line_height_resolve_enum (const gchar *token, FoContext *context, GError **error); static FoDatatype* fo_property_line_height_validate (FoDatatype *datatype, FoContext *context, GError **error); /* static void fo_property_line_height_text_property_init (FoPropertyTextPropertyIface *iface); static PangoAttribute * fo_property_line_height_new_attr (FoProperty *property); */ static const gchar class_name[] = "line-height"; static gpointer parent_class; /** * fo_property_line_height_get_type: * * Register the #FoPropertyLineHeight type if not already registered and * return its #GType value. * * Return value: #GType of #FoPropertyLineHeight. **/ GType fo_property_line_height_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoPropertyLineHeightClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) fo_property_line_height_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoPropertyLineHeight), 0, /* n_preallocs */ (GInstanceInitFunc) fo_property_line_height_init, NULL /* value_table */ }; /* static const GInterfaceInfo fo_property_text_property_info = { (GInterfaceInitFunc) fo_property_line_height_text_property_init, / * interface_init * / NULL, NULL }; */ object_type = g_type_register_static (FO_TYPE_PROPERTY, class_name, &object_info, 0); /* g_type_add_interface_static (object_type, FO_TYPE_PROPERTY_TEXT_PROPERTY, &fo_property_text_property_info); */ } return object_type; } /** * fo_property_line_height_init: * @line_height: #FoPropertyLineHeight object to initialise. * * Implements #GInstanceInitFunc for #FoPropertyLineHeight. **/ void fo_property_line_height_init (FoPropertyLineHeight *line_height) { FO_PROPERTY (line_height)->value = g_object_ref (fo_enum_get_enum_by_nick ("normal")); } /** * fo_property_line_height_class_init: * @klass: #FoPropertyLineHeightClass object to initialise. * * Implements #GClassInitFunc for #FoPropertyLineHeightClass. **/ void fo_property_line_height_class_init (FoPropertyLineHeightClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoPropertyClass *property_class = FO_PROPERTY_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_property_line_height_finalize; property_class->is_inherited = TRUE; property_class->is_shorthand = FALSE; property_class->resolve_enum = fo_property_line_height_resolve_enum; property_class->validate = fo_property_line_height_validate; property_class->get_initial = fo_property_line_height_get_initial; } /** * fo_property_line_height_finalize: * @object: #FoPropertyLineHeight object to finalize. * * Implements #GObjectFinalizeFunc for #FoPropertyLineHeight. **/ void fo_property_line_height_finalize (GObject *object) { FoPropertyLineHeight *line_height; line_height = FO_PROPERTY_LINE_HEIGHT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_property_line_height_text_property_init: * @iface: #FoPropertyTextPropertyIFace structure for this class. * * Initialize #FoPropertyTextPropertyIface interface for this class. **/ /* void fo_property_line_height_text_property_init (FoPropertyTextPropertyIface *iface) { iface->new_attr = fo_property_line_height_new_attr; } */ /** * fo_property_line_height_new: * * Creates a new #FoPropertyLineHeight initialized to default value. * * Return value: the new #FoPropertyLineHeight. **/ FoProperty* fo_property_line_height_new (void) { FoProperty* line_height; line_height = FO_PROPERTY (g_object_new (fo_property_line_height_get_type (), NULL)); return line_height; } /** * fo_property_line_height_resolve_enum: * @token: Token from the XML attribute value to be evaluated as an * enumeration token. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Compare @token against the enumeration tokens that are valid for the * current FO property. If @token is valid, returns either an #FoEnum datatype * representing the enumeration token or a different datatype representing * the enumeration token's resolved value. If @token is not valid, * sets @error and returns NULL. * * Return value: Resolved enumeration value or NULL. **/ FoDatatype* fo_property_line_height_resolve_enum (const gchar *token, FoContext *context, GError **error) { g_return_val_if_fail (token != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (strcmp (token, "normal") == 0) { return g_object_ref (fo_enum_get_enum_by_nick (token)); } else { g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, token); return NULL; } } /** * fo_property_line_height_validate: * @datatype: #FoDatatype to be validated against allowed datatypes and * values for current property. * @context: #FoContext object from which to possibly inherit values. * @error: Information about any error that has occurred. * * Validates @datatype against allowed values. Returns @datatype, a * replacement datatype value, or NULL if validation failed. * * Return value: Valid datatype value or NULL. **/ FoDatatype* fo_property_line_height_validate (FoDatatype *datatype, FoContext *context, GError **error) { FoDatatype *new_datatype; GError *tmp_error = NULL; gchar *token; g_return_val_if_fail (datatype != NULL, NULL); g_return_val_if_fail (FO_IS_DATATYPE (datatype), NULL); g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (FO_IS_CONTEXT (context), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (FO_IS_ENUM (datatype)) { FoEnumEnum value = fo_enum_get_value (datatype); if (value == FO_ENUM_ENUM_NORMAL) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_ENUMERATION_TOKEN, _(fo_fo_error_messages[FO_FO_ERROR_ENUMERATION_TOKEN]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } else if (FO_IS_STRING (datatype)) { token = fo_string_get_value (datatype); new_datatype = fo_property_line_height_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_NAME (datatype)) { token = fo_name_get_value (datatype); new_datatype = fo_property_line_height_resolve_enum (token, context, &tmp_error); g_object_unref (datatype); fo_propagate_and_return_val_if_error (error, tmp_error, NULL); return new_datatype; } else if (FO_IS_LENGTH (datatype)) { return datatype; } else if (FO_IS_NUMBER (datatype)) { return datatype; } else if (FO_IS_PERCENTAGE (datatype)) { return datatype; } else if (FO_IS_SPACE (datatype)) { return datatype; } else { gchar *datatype_sprintf = fo_object_sprintf (datatype); g_set_error (error, FO_FO_ERROR, FO_FO_ERROR_DATATYPE, _(fo_fo_error_messages[FO_FO_ERROR_DATATYPE]), class_name, datatype_sprintf, g_type_name (G_TYPE_FROM_INSTANCE (datatype))); g_object_unref (datatype); g_free (datatype_sprintf); return NULL; } } /** * fo_property_line_height_get_initial: * * Get an instance of the property with the correct initial value. * * Return value: An instance of the property. **/ FoProperty* fo_property_line_height_get_initial (void) { static FoProperty *line_height = NULL; if (line_height == NULL) { line_height = fo_property_line_height_new (); } return line_height; } /** * fo_property_line_height_resolve: * @line_height: 'line-height' property. * @font_size: 'font-size' property. * * Determine the computed value of the 'line-height' based on * @line_height and @font_size. * * Return value: #FoProperty with the computed value of @line_height. **/ FoProperty* fo_property_line_height_resolve (FoProperty *line_height, FoProperty *font_size) { FoDatatype *line_height_value; g_return_val_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (line_height), NULL); g_return_val_if_fail (FO_IS_PROPERTY_FONT_SIZE (font_size), NULL); line_height_value = fo_property_get_value (line_height); if (FO_IS_LENGTH (line_height_value)) { return line_height; } else { FoDatatype *new_value = NULL; FoProperty *new_line_height = fo_property_line_height_new (); gfloat font_size_value = fo_length_get_value (fo_property_get_value (font_size)); /* FIXME Doesn't handle space case */ if (FO_IS_ENUM (line_height_value)) { FoEnumEnum enum_value = fo_enum_get_value (line_height_value); if (enum_value == FO_ENUM_ENUM_NORMAL) { new_value = fo_length_new_with_value (font_size_value * FO_PROPERTY_LINE_HEIGHT_NORMAL_MULTIPLIER); } } else if (FO_IS_NUMBER (line_height_value)) { new_value = fo_length_new_with_value (fo_number_get_value (line_height_value) * font_size_value); } else if (FO_IS_PERCENTAGE (line_height_value)) { new_value = fo_length_new_with_value (fo_percentage_get_value (line_height_value) * font_size_value / 100); } fo_property_set_value (new_line_height, new_value); return new_line_height; } } /** * fo_property_line_height_new_attr: * @property: #FoProperty from which to create a #PangoAttribute. * * Makes a new #PangoAttribute representing the current property. * * Return value: New #PangoAttribute. **/ /* PangoAttribute* fo_property_line_height_new_attr (FoProperty *property) { gint pango_line_height; g_return_val_if_fail (FO_IS_PROPERTY_LINE_HEIGHT (property), NULL); pango_line_height = (int) (fo_length_get_value (property->value) * PANGO_SCALE); return pango_attr_line_height_new (pango_line_height); } */ xmlroff-0.6.2/libfo/property/fo-property-line-height.h0000644000175000017500000000335010770023365017732 00000000000000/* Fo * fo-property-line-height.h: 'line-height' property * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PROPERTY_LINE_HEIGHT_H__ #define __FO_PROPERTY_LINE_HEIGHT_H__ #include #include G_BEGIN_DECLS /* line-height */ /* Inherited: TRUE */ /* Shorthand: FALSE */ /* normal | | | | | inherit */ /* Initial value: normal */ #define FO_TYPE_PROPERTY_LINE_HEIGHT (fo_property_line_height_get_type ()) #define FO_PROPERTY_LINE_HEIGHT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_LINE_HEIGHT, FoPropertyLineHeight)) #define FO_PROPERTY_LINE_HEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_LINE_HEIGHT, FoPropertyLineHeightClass)) #define FO_IS_PROPERTY_LINE_HEIGHT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_LINE_HEIGHT)) #define FO_IS_PROPERTY_LINE_HEIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_LINE_HEIGHT)) #define FO_PROPERTY_LINE_HEIGHT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_LINE_HEIGHT, FoPropertyLineHeightClass)) typedef struct _FoPropertyLineHeight FoPropertyLineHeight; typedef struct _FoPropertyLineHeightClass FoPropertyLineHeightClass; GType fo_property_line_height_get_type (void) G_GNUC_CONST; FoProperty * fo_property_line_height_new (void); FoProperty * fo_property_line_height_get_initial (void); FoProperty * fo_property_line_height_resolve (FoProperty *line_height, FoProperty *font_size); G_END_DECLS #endif /* !__FO_PROPERTY_LINE_HEIGHT_H__ */ xmlroff-0.6.2/libfo/expr/0000777000175000017500000000000011156164726012263 500000000000000xmlroff-0.6.2/libfo/expr/Makefile.am0000644000175000017500000000065511073720356014234 00000000000000## Process this file with automake to produce Makefile.in INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(GLIB_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-expr.la libfo_expr_la_SOURCES = \ fo-expr-context.c \ fo-expr-context-private.h \ fo-expr-env.c \ fo-expr-eval.c \ fo-expr-eval.h \ fo-expr-func.c \ fo-expr-func-private.h \ fo-xml-char-util.c \ fo-xml-char-util.h xmlroff-0.6.2/libfo/expr/Makefile.in0000644000175000017500000004040311155246040014232 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libfo/expr DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in COPYING ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libfo_expr_la_LIBADD = am_libfo_expr_la_OBJECTS = fo-expr-context.lo fo-expr-env.lo \ fo-expr-eval.lo fo-expr-func.lo fo-xml-char-util.lo libfo_expr_la_OBJECTS = $(am_libfo_expr_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libfo_expr_la_SOURCES) DIST_SOURCES = $(libfo_expr_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(GLIB_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-expr.la libfo_expr_la_SOURCES = \ fo-expr-context.c \ fo-expr-context-private.h \ fo-expr-env.c \ fo-expr-eval.c \ fo-expr-eval.h \ fo-expr-func.c \ fo-expr-func-private.h \ fo-xml-char-util.c \ fo-xml-char-util.h all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libfo/expr/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu libfo/expr/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libfo-expr.la: $(libfo_expr_la_OBJECTS) $(libfo_expr_la_DEPENDENCIES) $(LINK) $(libfo_expr_la_LDFLAGS) $(libfo_expr_la_OBJECTS) $(libfo_expr_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-expr-context.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-expr-env.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-expr-eval.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-expr-func.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-xml-char-util.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/libfo/expr/COPYING0000644000175000017500000000246510643167443013240 00000000000000 Copyright (C) 1998-2002 Daniel Veillard. Copyright (C) 2001-2002 Sun Microsystems. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is fur- nished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of the authors shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from them. xmlroff-0.6.2/libfo/expr/fo-expr-context.c0000644000175000017500000001664310646474154015421 00000000000000/* Fo * fo-expr-context.c: XSL expression language context * * Copyright (C) 1998-2002 Daniel Veillard. * Copyright (C) 2001-2002 Sun Microsystems. * All Rights Reserved. * * Based on an XSL expression language evaluator that was based on the * 'XML Path Language implementation' in 'xpath.c' from libxml2 by * Daniel Veillard. * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include "fo-expr-context-private.h" #include "fo-utils.h" #include "property/fo-property-font-size.h" #include "datatype/fo-all-datatype.h" #include "fo-context.h" #include "fo-xml-char-util.h" #include #include typedef GQueue FoDatatypeStack; struct _FoExprContext { const gchar *cur; /* the current char being parsed */ const gchar *base; /* the full expression */ const gchar *property_name; /* the current property's name */ FoResolveEnumFunc resolve_enum_func; /* function to resolve enumerations */ FoResolvePercentFunc resolve_percent_func; /* function to resolve percents */ const FoDatatype *font_size; /* font-size property to use for 'em'*/ const FoFo *current_fo; /* current formatting object */ const FoContext *fo_context; /* context for 'inherit' keyword */ const FoExprEnvList *env_list; /* list of function environments */ FoDatatypeStack *stack; /* stack of intermediate results */ }; /* * Macros for accessing the content. Those should be used only by the parser, * and not exported. * * Dirty macros, i.e. one need to make assumption on the context to use them * * CUR_PTR return the current pointer to the gchar to be parsed. * CUR returns the current gchar value, i.e. a 8 bit value * in ISO-Latin or UTF-8. * This should be used internally by the parser * only to compare to ASCII values otherwise it would break when * running with UTF-8 encoding. * NXT(n) returns the n'th next gchar. Same as CUR, it should be used only * to compare on ASCII based substring. * SKIP(n) Skip n gchar, and must also be used only to skip ASCII defined * strings within the parser. * NEXT Skip to the next character, this does the proper decoding * in UTF-8 mode. */ #define IS_BLANK(c) (((c) == 0x20) || ((c) == 0x09) || ((c) == 0xA) || \ ((c) == 0x0D)) G_CONST_RETURN gchar* fo_expr_context_string (FoExprContext *context) { return context->base; } gchar fo_expr_context_cur (FoExprContext *context) { return *context->cur; } void fo_expr_context_skip (FoExprContext *context, gint val) { context->cur += val; } gchar fo_expr_context_peek (FoExprContext *context, gint val) { return context->cur[(val)]; } G_CONST_RETURN gchar* fo_expr_context_cur_ptr (FoExprContext *context) { return context->cur; } void fo_expr_context_next (FoExprContext *context) { if (*context->cur) { context->cur = g_utf8_next_char (context->cur); } } void fo_expr_context_skip_blanks (FoExprContext *context) { while (IS_BLANK (*(context->cur))) { fo_expr_context_next (context); } } void fo_expr_context_push_stack (FoExprContext *context, FoDatatype *datatype) { g_return_if_fail (context != NULL); g_return_if_fail (context->stack != NULL); g_return_if_fail (datatype != NULL); g_queue_push_head (context->stack, datatype); } FoDatatype* fo_expr_context_pop_stack (FoExprContext *context) { g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (context->stack != NULL, NULL); return g_queue_pop_head (context->stack); } FoDatatype* fo_expr_context_peek_stack (FoExprContext *context) { g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (context->stack != NULL, NULL); return g_queue_peek_head (context->stack); } gboolean fo_expr_context_stack_is_empty (FoExprContext *context) { g_return_val_if_fail (context != NULL, TRUE); g_return_val_if_fail (context->stack != NULL, TRUE); return g_queue_is_empty (context->stack); } static void new_stack (FoExprContext *context) { g_return_if_fail (context != NULL); g_return_if_fail (context->stack == NULL); context->stack = g_queue_new (); } static void dump_stack_item (gpointer data, gpointer user_data G_GNUC_UNUSED) { fo_object_debug_dump (data, 0); } void fo_expr_context_debug_dump_stack (FoExprContext *context) { g_return_if_fail (context != NULL); g_return_if_fail (context->stack != NULL); g_list_foreach (context->stack->head, dump_stack_item, NULL); } static void free_stack_item (gpointer data, gpointer user_data G_GNUC_UNUSED) { g_object_unref (data); } static void free_stack (FoExprContext *context) { g_return_if_fail (context != NULL); g_return_if_fail (context->stack != NULL); g_list_foreach (context->stack->head, free_stack_item, NULL); g_queue_free (context->stack); context->stack = NULL; } G_CONST_RETURN gchar* fo_expr_context_get_property_name (FoExprContext *context) { return context->property_name; } G_CONST_RETURN FoDatatype* fo_expr_context_get_font_size (FoExprContext *context) { return context->font_size; } G_CONST_RETURN FoFo* fo_expr_context_get_current_fo (FoExprContext *context) { return context->current_fo; } G_CONST_RETURN FoContext* fo_expr_context_get_fo_context (FoExprContext *context) { return context->fo_context; } FoResolveEnumFunc fo_expr_context_get_resolve_enum_func (FoExprContext *context) { return context->resolve_enum_func; } FoResolvePercentFunc fo_expr_context_get_resolve_percent_func (FoExprContext *context) { return context->resolve_percent_func; } FoExprFunc fo_expr_context_get_func (FoExprContext *pctxt, const gchar *name) { g_return_val_if_fail (pctxt != NULL, NULL); return fo_expr_env_list_get_func (pctxt->env_list, name); } FoExprContext* fo_expr_context_new (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const GSList *env_list) { FoExprContext *context; g_return_val_if_fail (IS_CHAR (g_utf8_get_char (string)), NULL); g_return_val_if_fail (IS_CHAR (g_utf8_get_char (property_name)), NULL); g_return_val_if_fail ((font_size_prop) == NULL || FO_IS_PROPERTY_FONT_SIZE (font_size_prop), NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); g_return_val_if_fail (env_list != NULL, NULL); /* Can't make assertion about resolve_enum_func since it can be NULL */ /* Can't make assertion about resolve_percent_func since it can be NULL */ context = (FoExprContext *) g_new0 (FoExprContext, 1); context->base = string; context->cur = string; context->property_name = property_name; context->resolve_enum_func = resolve_enum_func; context->resolve_percent_func = resolve_percent_func; context->current_fo = current_fo; context->fo_context = fo_context; context->env_list = env_list; if (font_size_prop != NULL) { context->font_size = fo_property_get_value ((FoProperty *) font_size_prop); } else { context->font_size = fo_property_get_value (fo_context_get_font_size ((FoContext *) fo_context)); } new_stack (context); return context; } void fo_expr_context_free (FoExprContext *context) { free_stack (context); g_free (context); } xmlroff-0.6.2/libfo/expr/fo-expr-context-private.h0000644000175000017500000000420710643167443017064 00000000000000/* Fo * fo-expr-context-private.h: XSL expression language context * * Copyright (C) 1998-2002 Daniel Veillard. * Copyright (C) 2001-2002 Sun Microsystems. * All Rights Reserved. * * Based on an XSL expression language evaluator that was based on the * 'XML Path Language implementation' in 'xpath.c' from libxml2 by * Daniel Veillard. * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_EXPR_CONTEXT_PRIVATE_H__ #define __FO_EXPR_CONTEXT_PRIVATE_H__ #include #include G_BEGIN_DECLS FoExprContext* fo_expr_context_new (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const GSList *env_list); void fo_expr_context_free (FoExprContext *context); gchar fo_expr_context_cur (FoExprContext *context); void fo_expr_context_skip (FoExprContext *context, gint val); void fo_expr_context_skip_blanks (FoExprContext *context); gchar fo_expr_context_peek (FoExprContext *context, gint val); G_CONST_RETURN gchar* fo_expr_context_cur_ptr (FoExprContext *context); void fo_expr_context_next (FoExprContext *context); void fo_expr_context_skip_blanks (FoExprContext *context); G_CONST_RETURN gchar* fo_expr_context_string (FoExprContext *context); G_CONST_RETURN gchar* fo_expr_context_get_property_name (FoExprContext *context); G_CONST_RETURN FoDatatype* fo_expr_context_get_font_size (FoExprContext *context); G_CONST_RETURN FoFo* fo_expr_context_get_current_fo (FoExprContext *context); G_CONST_RETURN FoContext* fo_expr_context_get_fo_context (FoExprContext *context); FoResolveEnumFunc fo_expr_context_get_resolve_enum_func (FoExprContext *context); FoResolvePercentFunc fo_expr_context_get_resolve_percent_func (FoExprContext *context); G_END_DECLS #endif /* !__FO_EXPR_CONTEXT_PRIVATE_H__ */ xmlroff-0.6.2/libfo/expr/fo-expr-env.c0000644000175000017500000001376010646474163014522 00000000000000/* Fo * fo-expr-env.c: XSL expression language environment module * * Copyright (C) 1998-2002 Daniel Veillard. * Copyright (C) 2001-2002 Sun Microsystems. * All Rights Reserved. * * Based on an XSL expression language evaluator that was based on the * 'XML Path Language implementation' in 'xpath.c' from libxml2 by * Daniel Veillard. * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #include "fo-expr-eval.h" #include "fo-expr-func-private.h" struct _FoExprEnv { GHashTable *func_hash; gint ref_count; }; /** * fo_expr_env_get_global_env: * * * * Return value: **/ static FoExprEnv* fo_expr_env_get_global_env (void) { static FoExprEnv *global_env = NULL; if (global_env == NULL) { global_env = fo_expr_env_new (); fo_expr_env_register_func (global_env, "+", fo_expr_func_add); fo_expr_env_register_func (global_env, "-", fo_expr_func_sub); fo_expr_env_register_func (global_env, "*", fo_expr_func_mul); fo_expr_env_register_func (global_env, "abs", fo_expr_func_abs); fo_expr_env_register_func (global_env, "body-start", fo_expr_func_body_start); fo_expr_env_register_func (global_env, "ceiling", fo_expr_func_ceiling); fo_expr_env_register_func (global_env, "div", fo_expr_func_div); fo_expr_env_register_func (global_env, "floor", fo_expr_func_floor); fo_expr_env_register_func (global_env, "from-nearest-specified-value", fo_expr_func_from_nearest_specified_value); fo_expr_env_register_func (global_env, "from-parent", fo_expr_func_from_parent); fo_expr_env_register_func (global_env, "from-table-column", fo_expr_func_from_table_column); fo_expr_env_register_func (global_env, "inherited-property-value", fo_expr_func_inherited_property_value); fo_expr_env_register_func (global_env, "label-end", fo_expr_func_label_end); fo_expr_env_register_func (global_env, "max", fo_expr_func_max); fo_expr_env_register_func (global_env, "min", fo_expr_func_min); fo_expr_env_register_func (global_env, "mod", fo_expr_func_mod); fo_expr_env_register_func (global_env, "proportional-column-width", fo_expr_func_pcw); fo_expr_env_register_func (global_env, "rgb", fo_expr_func_rgb); fo_expr_env_register_func (global_env, "round", fo_expr_func_round); } return global_env; } FoExprEnv* fo_expr_env_new (void) { FoExprEnv *env = g_new0 (FoExprEnv, 1); env->func_hash = g_hash_table_new (g_str_hash, g_str_equal); env->ref_count = 1; return env; } FoExprEnv* fo_expr_env_ref (FoExprEnv *env) { g_return_val_if_fail (env != NULL, NULL); env->ref_count++; return env; } void fo_expr_env_unref (FoExprEnv *env) { g_return_if_fail (env != NULL); g_return_if_fail (env->ref_count > 0); env->ref_count--; if (env->ref_count == 0) { g_hash_table_destroy (env->func_hash); g_free (env); env = NULL; } } FoExprEnv* fo_expr_env_register_func (FoExprEnv *env, const gchar *name, FoExprFunc func) { g_hash_table_insert (env->func_hash, (gchar *) name, func); return env; } FoExprFunc fo_expr_env_get_func (FoExprEnv *env, const gchar *name) { return (FoExprFunc) g_hash_table_lookup (env->func_hash, name); } static gint fo_expr_env_list_compare_func (gconstpointer a, gconstpointer b) { const FoExprEnv *env = (const FoExprEnv *) a; gchar *name = (gchar *) b; if (g_hash_table_lookup (env->func_hash, name)) { return 0; } else { return 1; } } /** * fo_expr_env_list_new: * * Get a new #FoExprEnvList that is preloaded with a copy of the * global environment. * * The #FoExprEnvList must be freed by the caller using * fo_expr_env_list_free() * * Return value: A new, preloaded #FoExprEnvList **/ FoExprEnvList* fo_expr_env_list_new (void) { return fo_expr_env_list_prepend (NULL, fo_expr_env_get_global_env ()); } /** * fo_expr_env_list_free_item: * @data: The item * @user_data: Unused * * Free one item in an #FoExprEnvList **/ static void fo_expr_env_list_free_item (gpointer data, gpointer user_data G_GNUC_UNUSED) { fo_expr_env_unref ((FoExprEnv *) data); } /** * fo_expr_env_list_free: * @env_list: The #FoExprEnvList to free * * Free an #FoExprEnvList that was created with fo_expr_env_list_new() **/ void fo_expr_env_list_free (FoExprEnvList *env_list) { g_return_if_fail (env_list != NULL); g_slist_foreach (env_list, fo_expr_env_list_free_item, NULL); g_slist_free (env_list); } /** * fo_expr_env_list_prepend: * @env_list: The #FoExprEnvList to which to prepend @env. * @env: The new #FoExprEnv. * * Prepend @env to @env_list so that when the returned @env_list is * used in evaluating XSL expressions, the functions in @env have * precedence over the functions in the environments, including the * global environment, that are already in @env_list. * * Return value: The new start of the #FoExprEnvList. **/ FoExprEnvList* fo_expr_env_list_prepend (FoExprEnvList *env_list, FoExprEnv *env) { g_return_val_if_fail (env != NULL, env_list); env = fo_expr_env_ref (env); return g_slist_prepend (env_list, (gpointer) env); } /** * fo_expr_env_list_get_func: * @env_list: #FoExprEnvList * @name: Name of a function * * Get the function in @env_list with name matching @name. * * Return value: #FoExprFunc corresponding to @name, or NULL. **/ FoExprFunc fo_expr_env_list_get_func (const FoExprEnvList *env_list, const gchar *name) { GSList *env_element = g_slist_find_custom ((FoExprEnvList *) env_list, name, (GCompareFunc) fo_expr_env_list_compare_func); if (env_element != NULL) { return fo_expr_env_get_func (env_element->data, name); } else { return NULL; } } xmlroff-0.6.2/libfo/expr/fo-expr-eval.c0000644000175000017500000016666110650751337014666 00000000000000/* Fo * fo-expr-eval.c: XSL expression language evaluation module * * Copyright (C) 1998-2002 Daniel Veillard. * Copyright (C) 2007 Menteith Consulting Ltd * Copyright (C) 2001-2004 Sun Microsystems. * * Based on a previous xmlroff XSL expression language evaluator that * was based on the 'XML Path Language implementation' in 'xpath.c' * from libxml2 by Daniel Veillard. * * !See COPYING for the status of this software. **/ #include "fo-expr-eval.h" #include "fo-expr-context-private.h" #include "property/fo-property.h" #include "property/fo-property-font-size.h" #include "datatype/fo-all-datatype.h" #include "fo-context.h" #include "fo-xml-char-util.h" #include "datatype/fo-wsc.h" #include "property/fo-property-util.h" #include #include #define POINT2DEVICE(x) (x) #define PICA2DEVICE(x) (x * 12) #define INCH2DEVICE(x) (x * 72) #define CM2DEVICE(x) (x * (72 / 2.54)) #define MM2DEVICE(x) (x * (72 / 25.4)) #define IS_NUMERIC(context) \ (g_ascii_isdigit (fo_expr_context_cur (context)) || \ fo_expr_context_cur (context) == '.') #define RETURN_IF_ERROR \ if(fo_expr_context_peek_stack (context) != NULL && \ FO_IS_ERROR (fo_expr_context_peek_stack (context))) return GQuark fo_expr_eval_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("Expression evaluation error"); return quark; } const gchar *fo_expr_eval_error_messages [] = { N_("Invalid expression."), N_("Unfinished literal."), N_("Expected start of literal."), N_("Invalid expression."), N_("Unregistered function."), N_("Invalid number of arguments."), N_("Invalid type for function argument."), N_("Property is not inherited."), N_("Invalid property name."), N_("Function invalid for property."), N_("Formatting object is not 'fo:table-cell' or a descendant of one."), N_("Ancestor 'fo:table-cell' does not have an associated 'fo:table-column'."), N_("Formatting object is not 'fo:list-block' or a descendant of one."), N_("Formatting object is not 'fo:table-column'."), N_("'proportional-column-width()' can only be used with 'column-width' property."), N_("'proportional-column-width()' can only be used with the 'fixed' table layout method."), N_("Invalid number of characters in color declaration."), N_("Unrecognized operator name."), N_("Function evaluation returned NULL result."), N_("No object from which to inherit property."), N_("Expression contains a percentage but no function to resolve percentages was provided."), N_("Unfinished URL.") }; GQuark fo_expr_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("Expression evaluation error"); return quark; } const gchar *fo_expr_error_messages [] = { N_("Expression evaluation failed"), N_("No result"), N_("Evaluation resulted in an error"), N_("Object left on stack: '%s'"), N_("Expression not completely evaluated: '%s'"), }; static void eval_additive_expr (FoExprContext *context); static gchar* parse_error_indication_string (FoExprContext *context) { GString *string = g_string_new (NULL); gint n; const gchar *cur = fo_expr_context_cur_ptr (context); const gchar *base = fo_expr_context_string (context); while ((cur > base) && ((*cur == '\n') || (*cur == '\r'))) { cur--; } n = 0; while ((n++ < 80) && (cur > base) && (*cur != '\n') && (*cur != '\r')) cur--; if ((*cur == '\n') || (*cur == '\r')) cur++; base = cur; n = 0; while ((*cur != 0) && (*cur != '\n') && (*cur != '\r') && (n < 79)) { g_string_append_c (string, *cur++); n++; } g_string_append (string, "\n"); cur = fo_expr_context_cur_ptr (context); while ((*cur == '\n') || (*cur == '\r')) cur--; n = 0; while ((cur != base) && (n++ < 80)) { g_string_append (string, " "); base++; } g_string_append (string, "^"); return g_string_free (string, FALSE); } /** * fo_expr_eval_new_error: * @context: #FoExprContext for expression. * @error_type: Type of error. * * Creates an #FoError based on @error_type and using information from * @context in the error message string. * * Return value: An #FoError for an error of type @error_type. **/ FoDatatype* fo_expr_eval_new_error (FoExprContext *context, FoExprEvalError error_type) { GError *error = NULL; gchar *error_indication = NULL; const gchar *error_string = NULL; g_return_val_if_fail (context != NULL, NULL); error_indication = parse_error_indication_string (context); if (error_indication != NULL) { error_string = g_strconcat (_(fo_expr_eval_error_messages[error_type]), "\n", error_indication, NULL); g_free (error_indication); } else { error_string = _(fo_expr_eval_error_messages[error_type]); } error = g_error_new (FO_EXPR_EVAL_ERROR, error_type, error_string); return fo_error_new_with_value (error); } #define CHECK_ARITY(context, x) \ if (nargs != (x)) \ return fo_expr_eval_new_error((context), \ FO_EXPR_EVAL_ERROR_INVALID_ARITY) FoDatatype* fo_expr_eval_propagate_error (FoExprContext *context, GError *error) { GError *new_error = NULL; FoExprEvalError error_type = FO_EXPR_EVAL_ERROR_FAILED; gchar *error_indication = NULL; gchar *error_string = NULL; g_return_val_if_fail (context != NULL, NULL); g_return_val_if_fail (error != NULL, NULL); error_indication = parse_error_indication_string (context); if (error_indication != NULL) { error_string = g_strconcat (_(fo_expr_eval_error_messages[error_type]), "\n", g_quark_to_string (error->domain), ": ", error->message, "\n", error_indication, NULL); g_free (error_indication); } else { error_string = g_strconcat (_(fo_expr_eval_error_messages[error_type]), "\n", g_quark_to_string (error->domain), ": ", error->message, NULL); } g_error_free (error); new_error = g_error_new (FO_EXPR_EVAL_ERROR, error_type, error_string); return fo_error_new_with_value (new_error); } /** * is_ncnamechar: * @context: the #FoExprContext * * Test whether the current character in @context is an NCNameChar * according to the "Namespaces in XML" Recommendation * * [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | * CombiningChar | Extender * * Return value: TRUE if the current character is an NCNameChar, * otherwise FALSE **/ static gboolean is_ncnamechar (FoExprContext *context) { return ((IS_LETTER(g_utf8_get_char (fo_expr_context_cur_ptr (context)))) || (IS_DIGIT(g_utf8_get_char (fo_expr_context_cur_ptr (context)))) || (fo_expr_context_cur (context) == '.') || (fo_expr_context_cur (context) == '-') || (fo_expr_context_cur (context) == '_') || (IS_COMBINING(g_utf8_get_char (fo_expr_context_cur_ptr (context)))) || (IS_EXTENDER(g_utf8_get_char (fo_expr_context_cur_ptr (context))))); } /** * parse_ncname: * @context: the #FoExprContext * * parse an XML namespace non-qualified name. * * [NS 3] NCName ::= (Letter | '_') (NCNameChar)* * * [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | * CombiningChar | Extender * * Returns the name or NULL **/ static gchar * parse_ncname (FoExprContext *context) { const gchar *q; gchar *ret = NULL; if (!IS_LETTER(g_utf8_get_char (fo_expr_context_cur_ptr (context))) && (fo_expr_context_cur (context) != '_')) { return (NULL); } q = fo_expr_context_cur_ptr (context); fo_expr_context_next (context); while (is_ncnamechar (context)) { fo_expr_context_next (context); } ret = g_strndup (q, fo_expr_context_cur_ptr (context) - q); return ret; } /** * eval_inherit: * @context: the #FoExprContext * * Compile the inherited value. **/ static void eval_inherit (FoExprContext *context) { FoProperty *inherited_property = NULL; FoDatatype *result_datatype = NULL; g_object_get ((gpointer) fo_expr_context_get_fo_context (context), fo_expr_context_get_property_name (context), &inherited_property, NULL); if (inherited_property == NULL) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_INHERITED); } else { result_datatype = g_object_ref (fo_property_get_value (inherited_property)); } fo_expr_context_push_stack (context, result_datatype); } /** * is_unit_name: * @context: * * Tests whether the characters beginning at the current character in * @context make a unit name. * Return value: TRUE if the next characters are a unit name, * otherwise FALSE */ static gboolean is_unit_name (FoExprContext *context) { if (((fo_expr_context_cur (context) == 'p') && ((fo_expr_context_peek (context, 1) == 't') || (fo_expr_context_peek (context, 1) == 'c') || (fo_expr_context_peek (context, 1) == 'x'))) || (((fo_expr_context_cur (context) == 'c') || (fo_expr_context_cur (context) == 'm')) && (fo_expr_context_peek (context, 1) == 'm')) || ((fo_expr_context_cur (context) == 'i') && (fo_expr_context_peek (context, 1) == 'n')) || ((fo_expr_context_cur (context) == 'e') && (fo_expr_context_peek (context, 1) == 'm'))) { return TRUE; } else { return FALSE; } } static FoDatatype * parse_length (FoExprContext *context, gdouble number) { FoDatatype *length = NULL; if ((fo_expr_context_cur (context) == 'p') && (fo_expr_context_peek (context, 1) == 'x')) { length = fo_length_new_from_pixels ((gint) number); goto finish; } else if ((fo_expr_context_cur (context) == 'p') && (fo_expr_context_peek (context, 1) == 't')) { number = POINT2DEVICE(number); } else if ((fo_expr_context_cur (context) == 'p') && (fo_expr_context_peek (context, 1) == 'c')) { number = PICA2DEVICE(number); } else if ((fo_expr_context_cur (context) == 'c') && (fo_expr_context_peek (context, 1) == 'm')) { number = CM2DEVICE(number); } else if ((fo_expr_context_cur (context) == 'm') && (fo_expr_context_peek (context, 1) == 'm')) { number = MM2DEVICE(number); } else if ((fo_expr_context_cur (context) == 'i') && (fo_expr_context_peek (context, 1) == 'n')) { number = INCH2DEVICE(number); } else if ((fo_expr_context_cur (context) == 'e') && (fo_expr_context_peek (context, 1) == 'm')) { number = number * fo_length_get_value ((FoDatatype *) fo_expr_context_get_font_size (context)); } else { g_assert_not_reached(); } length = fo_length_new_with_value (number); finish: fo_expr_context_skip (context, 2); return length; } /** * parse_percentage: * @context: #FoExprContext providing #FoResolvePercentFunc, etc. * @number: Numeric value of percentage to be evaluated. * * Does not move expression context pointer. Does not change the * stack. * * Return value: #FoDatatype representing evaluated percentage or an #FoError. */ static FoDatatype * parse_percentage (FoExprContext *context, gdouble number) { FoDatatype *result_datatype; FoResolvePercentFunc resolve_percent_func; if (fo_expr_context_cur (context) != '%') { g_assert_not_reached(); } fo_expr_context_skip (context, 1); resolve_percent_func = fo_expr_context_get_resolve_percent_func (context); if (resolve_percent_func != NULL) { GError *tmp_error = NULL; result_datatype = resolve_percent_func (number, fo_expr_context_get_font_size (context), fo_expr_context_get_current_fo (context), fo_expr_context_get_fo_context (context), &tmp_error); if (tmp_error != NULL) { if (result_datatype != NULL) { g_object_unref (result_datatype); } result_datatype = fo_error_new_with_value (tmp_error); } } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NO_RESOLVE_PERCENT_FUNC); } return result_datatype; } /** * parse_number: * @context: The #FoExprContext. * * Parse the current context as a number. * * Return value: The number. */ static gdouble parse_number (FoExprContext *context) { gdouble number = 0.0; gdouble mult = 1; gboolean ok = FALSE; if (!IS_NUMERIC (context)) { g_assert_not_reached (); } while ((fo_expr_context_cur (context) >= '0') && (fo_expr_context_cur (context) <= '9')) { number = number * 10 + (fo_expr_context_cur (context) - '0'); ok = TRUE; fo_expr_context_next (context); } if (fo_expr_context_cur (context) == '.') { fo_expr_context_next (context); if (((fo_expr_context_cur (context) < '0') || (fo_expr_context_cur (context) > '9')) && (!ok)) { g_assert_not_reached (); } while ((fo_expr_context_cur (context) >= '0') && (fo_expr_context_cur (context) <= '9')) { mult /= 10; number = number + (fo_expr_context_cur (context) - '0') * mult; fo_expr_context_next (context); } } return number; } /** * eval_numeric: * @context: the #FoExprContext * * [5] Numeric ::= AbsoluteNumeric * | RelativeNumeric * * [6] AbsoluteNumeric ::= AbsoluteLength * * [7] AbsoluteLength ::= Number AbsoluteUnitName? * * [8] RelativeNumeric ::= Percent * | RelativeLength * * [9] Percent ::= Number '%' * * [10] RelativeLength ::= Number RelativeUnitName * * Compile a Numeric, then push it on the stack * * Does not implement the productions in the order shown since that * would be inefficient. For example, this code handles absolute and * relative units together, rather than as separate operations. **/ static void eval_numeric (FoExprContext *context) { FoDatatype *result_datatype = NULL; gdouble number; RETURN_IF_ERROR; number = parse_number (context); fo_expr_context_skip_blanks (context); if (fo_expr_context_cur (context) == '%') { result_datatype = parse_percentage (context, number); } else if (is_unit_name (context)) { result_datatype = parse_length (context, number); } else { result_datatype = fo_number_new_with_value (number); } fo_expr_context_push_stack (context, result_datatype); } /** * eval_color: * @context: the #FoExprContext * * [18] Color ::= '#' AlphaOrDigits * * [19] AlphaOrDigits ::= [a-fA-F0-9]+ * * Compile a color, then push it on the stack * **/ static void eval_color (FoExprContext *context) { FoDatatype *result_datatype = NULL; long long int full_color = 0; int ret_length = 0; guint16 redval = 0; guint16 greenval = 0; guint16 blueval = 0; RETURN_IF_ERROR; if (fo_expr_context_cur (context) != '#') { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_EXPR_ERROR); } else { fo_expr_context_next (context); while (((fo_expr_context_cur (context) >= '0') && (fo_expr_context_cur (context) <= '9')) || ((fo_expr_context_cur (context) >= 'a') && (fo_expr_context_cur (context) <= 'f')) || ((fo_expr_context_cur (context) >= 'A') && (fo_expr_context_cur (context) <= 'F'))) { /* Shift the current value */ full_color <<= 4; /* Count the number of characters */ ret_length++; if ((fo_expr_context_cur (context) >= '0') && (fo_expr_context_cur (context) <= '9')) { full_color += fo_expr_context_cur (context) - '0'; } else if ((fo_expr_context_cur (context) >= 'a') && (fo_expr_context_cur (context) <= 'f')) { full_color += fo_expr_context_cur (context) - ('a' - 10); } else { full_color += fo_expr_context_cur (context) - ('A' - 10); } fo_expr_context_next (context); } if ((ret_length == 3) || (ret_length == 6) || (ret_length == 12)) { if (ret_length == 3) { redval = full_color >> 8; greenval = (full_color >> 4) & 0xF; blueval = full_color & 0xF; /* Convert to 16-bit color by repeating the 4-bit value so 0x0 -> 0x0000 and 0xF -> 0xFFFF */ redval = (redval << 12) | (redval << 8) | (redval << 4) | redval; greenval = (greenval << 12 ) | (greenval << 8) | (greenval << 4) | greenval; blueval = (blueval << 12) | (blueval << 8) | (blueval << 4) | blueval; } else if (ret_length == 6) { redval = full_color >> 16; greenval = (full_color >> 8) & 0xFF; blueval = full_color & 0xFF; redval = (redval << 8) | redval; greenval = (greenval << 8) | greenval; blueval = (blueval << 8) | blueval; } else if (ret_length == 12) { redval = full_color >> 32; greenval = (full_color >> 16) & 0xFFFF; blueval = full_color & 0xFFFF; } result_datatype = fo_color_new_with_value (redval, greenval, blueval); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_COLOR_DECL); } } fo_expr_context_push_stack (context, result_datatype); } /** * eval_literal: * @context: the #FoExprContext * * Parse a Literal and push it on the stack. * * [20] Literal ::= '"' [^"]* '"' * | "'" [^']* "'" * **/ static void eval_literal (FoExprContext *context) { FoDatatype *result_datatype = NULL; const gchar *q; gchar *ret = NULL; if (fo_expr_context_cur (context) == '"') { fo_expr_context_next (context); q = fo_expr_context_cur_ptr (context); while ((IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) && (fo_expr_context_cur (context) != '"')) fo_expr_context_next (context); if (!IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_UNFINISHED_LITERAL); } else { ret = g_strndup (q, fo_expr_context_cur_ptr (context) - q); fo_expr_context_next (context); } } else if (fo_expr_context_cur (context) == '\'') { fo_expr_context_next (context); q = fo_expr_context_cur_ptr (context); while ((IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) && (fo_expr_context_cur (context) != '\'')) { fo_expr_context_next (context); } if (!IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_UNFINISHED_LITERAL); } else { ret = g_strndup (q, fo_expr_context_cur_ptr (context) - q); fo_expr_context_next (context); } } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_START_LITERAL); } if (ret != NULL) { result_datatype = fo_string_new_with_value (ret); g_free (ret); } fo_expr_context_push_stack (context, result_datatype); } /** * eval_enum: * @context: the #FoExprContext * @name: the potential enumeration token name * * [26] EnumerationToken ::= NCName * * Compile an enumeration token and push the result on the stack. * * If @name does not correspond to an allowed enumeration token, make * an #FoName and push that on the stack. **/ static void eval_enum (FoExprContext *context, gchar *name) { FoResolveEnumFunc resolve_enum_func = NULL; FoDatatype *object = NULL; FoDatatype *result_datatype = NULL; resolve_enum_func = fo_expr_context_get_resolve_enum_func (context); if (resolve_enum_func != NULL) { object = resolve_enum_func (name, (FoContext *) fo_expr_context_get_fo_context (context), NULL); } if (object != NULL) { /* there was a match */ result_datatype = object; } else { /* No match returned by lookup, so make it into a name */ result_datatype = fo_name_new_with_value (name); } fo_expr_context_push_stack (context, result_datatype); } /** * eval_function_call: * @context: the #FoExprContext * * [3] FunctionCall ::= FunctionName '(' ( Argument ( ',' Argument)*)? ')' * [4] Argument ::= Expr * * Compile a function call, the evaluation of all arguments are * pushed on the stack **/ static void eval_function_call (FoExprContext *context, gchar *name) { FoExprFunc expr_func; FoDatatype *result_datatype = NULL; int nargs = 0; g_return_if_fail (context != NULL); g_return_if_fail (name != '\0'); if (fo_expr_context_cur (context) != '(') { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_EXPR_ERROR); } else { fo_expr_context_next (context); fo_expr_context_skip_blanks (context); while (fo_expr_context_cur (context) != ')') { eval_additive_expr (context); nargs++; if (fo_expr_context_cur (context) == ')') break; if (fo_expr_context_cur (context) != ',') { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_EXPR_ERROR); goto error; } fo_expr_context_next (context); fo_expr_context_skip_blanks (context); } expr_func = fo_expr_context_get_func (context, name); if (expr_func != NULL) { result_datatype = expr_func (context, nargs); if (result_datatype == NULL) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FUNC_RETURN_NULL); } } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_UNKNOWN_FUNC); } fo_expr_context_next (context); fo_expr_context_skip_blanks (context); } error: fo_expr_context_push_stack (context, result_datatype); } /** * fo_expr_eval_url: * @context: The expression context * * Implement the uri-specification XSL datatype * * url(...) * * It's not really an XSL function, but it does look like one. * * Return value: #FoDatatype, which could be an #FoError */ void eval_url (FoExprContext *context) { FoDatatype *result_datatype = NULL; const gchar *q; gchar *ret = NULL; g_return_if_fail (context != NULL); fo_expr_context_skip_blanks (context); /* Skip the leading '('. */ fo_expr_context_next (context); if (fo_expr_context_cur (context) == '"') { fo_expr_context_next (context); q = fo_expr_context_cur_ptr (context); while ((IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) && (fo_expr_context_cur (context) != '"')) { fo_expr_context_next (context); } if (!IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_UNFINISHED_URL); } else { ret = g_strndup (q, fo_expr_context_cur_ptr (context) - q); fo_expr_context_next (context); } } else if (fo_expr_context_cur (context) == '\'') { fo_expr_context_next (context); q = fo_expr_context_cur_ptr (context); while ((IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) && (fo_expr_context_cur (context) != '\'')) { fo_expr_context_next (context); } if (!IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_UNFINISHED_URL); } else { ret = g_strndup (q, fo_expr_context_cur_ptr (context) - q); fo_expr_context_next (context); } } else { q = fo_expr_context_cur_ptr (context); while ((IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) && (fo_expr_context_cur (context) != ' ') && (fo_expr_context_cur (context) != ' ') && (fo_expr_context_cur (context) != ')')) { fo_expr_context_next (context); } if (!IS_CHAR (g_utf8_get_char (fo_expr_context_cur_ptr (context)))) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_UNFINISHED_URL); } else { ret = g_strndup (q, fo_expr_context_cur_ptr (context) - q); } } fo_expr_context_skip_blanks (context); if (fo_expr_context_cur (context) == ')') { fo_expr_context_next (context); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_UNFINISHED_URL); } if (ret != NULL && result_datatype == NULL) { result_datatype = fo_uri_specification_new_with_value (ret); g_free (ret); } fo_expr_context_push_stack (context, result_datatype); } /** * eval_primary_expr: * @context: * * Compile a Primary expression: * * [2] PrimaryExpr ::= '(' Expr ')' * | Numeric * | Literal * | Color * | Keyword * | EnumerationToken * | FunctionCall **/ static void eval_primary_expr (FoExprContext *context) { fo_expr_context_skip_blanks (context); if (fo_expr_context_cur (context) == '(') { fo_expr_context_next (context); fo_expr_context_skip_blanks (context); eval_additive_expr (context); if (fo_expr_context_cur (context) != ')') { /* FIXME: Do error reporting and/or recovery */ g_assert_not_reached (); } fo_expr_context_next (context); fo_expr_context_skip_blanks (context); } else if (fo_expr_context_cur (context) == '#') { eval_color (context); } else if (fo_expr_context_cur (context) == '+') { fo_expr_context_next (context); fo_expr_context_skip_blanks (context); if (g_ascii_isdigit (fo_expr_context_cur (context)) || fo_expr_context_cur (context) == '.') { eval_numeric (context); } else { FoDatatype *result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FAILED); fo_expr_context_push_stack (context, result_datatype); } } else if (IS_NUMERIC (context)) { eval_numeric (context); } else if ((fo_expr_context_cur (context) == '\'') || (fo_expr_context_cur (context) == '"')) { eval_literal (context); } else { gchar *name = parse_ncname (context); if (name != NULL) { if (strcmp (name, "inherit") == 0) { eval_inherit (context); } else { fo_expr_context_skip_blanks (context); if (fo_expr_context_cur (context) != '(') { eval_enum (context, name); } else { if (strcmp (name, "url") == 0) { eval_url (context); } else { eval_function_call (context, name); } } } g_free (name); } else { /* * No name means expression doesn't match grammar since * exhausted all other options. */ FoDatatype *result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FAILED); fo_expr_context_push_stack (context, result_datatype); } } fo_expr_context_skip_blanks (context); } /** * eval_unary_expr: * @context: * * Compile a Unary expression: * * [13] UnaryExpr ::= PrimaryExpr * | '-' UnaryExpr **/ static void eval_unary_expr (FoExprContext *context) { gboolean negate = FALSE; fo_expr_context_skip_blanks (context); while (fo_expr_context_cur (context) == '-') { negate = !negate; fo_expr_context_next (context); fo_expr_context_skip_blanks (context); } eval_primary_expr (context); RETURN_IF_ERROR; if (negate) { FoDatatype *arg = fo_expr_context_pop_stack (context); FoDatatype *result_datatype = NULL; result_datatype = fo_datatype_negate (arg); fo_expr_context_push_stack (context, result_datatype); } } /** * eval_multiplicative_expr: * @context: * * Compile a Multiplicative expression: * * [12] MultiplicativeExpr ::= UnaryExpr * | MultiplicativeExpr MultiplyOperator UnaryExpr * | MultiplicativeExpr 'div' UnaryExpr * | MultiplicativeExpr 'mod' UnaryExpr * [23] MultiplyOperator ::= '*' * * Errors: * * Section 5.9.11, Lexical Structure: * * If a NCName follows a numeric, it should be recognised as an * OperatorName or it is an error. * * Handle this by checking that 'div' and 'mod' aren't followed by an * NCNameChar. **/ static void eval_multiplicative_expr (FoExprContext *context) { eval_unary_expr (context); RETURN_IF_ERROR; fo_expr_context_skip_blanks (context); while ((fo_expr_context_cur (context) == '*') || ((fo_expr_context_cur (context) == 'd') && (fo_expr_context_peek (context, 1) == 'i') && (fo_expr_context_peek (context, 2) == 'v')) || ((fo_expr_context_cur (context) == 'm') && (fo_expr_context_peek (context, 1) == 'o') && (fo_expr_context_peek (context, 2) == 'd'))) { FoExprFunc expr_func = NULL; FoDatatype *result_datatype = NULL; if (fo_expr_context_cur (context) == '*') { expr_func = fo_expr_context_get_func (context, "*"); fo_expr_context_next (context); } else if (fo_expr_context_cur (context) == 'd') { fo_expr_context_skip (context, 3); if (!is_ncnamechar (context)) { expr_func = fo_expr_context_get_func (context, "div"); } } else if (fo_expr_context_cur (context) == 'm') { fo_expr_context_skip (context, 3); if (!is_ncnamechar (context)) { expr_func = fo_expr_context_get_func (context, "mod"); } } if (expr_func != NULL) { fo_expr_context_skip_blanks (context); eval_unary_expr (context); RETURN_IF_ERROR; result_datatype = expr_func (context, 2); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_UNKNOWN_OPERATOR); } fo_expr_context_push_stack (context, result_datatype); RETURN_IF_ERROR; fo_expr_context_skip_blanks (context); } } /** * eval_additive_expr: * @context: * * Compile an additive expression. * * [11] AdditiveExpr ::= MultiplicativeExpr * | AdditiveExpr '+' MultiplicativeExpr * | AdditiveExpr '-' MultiplicativeExpr */ static void eval_additive_expr (FoExprContext *context) { eval_multiplicative_expr (context); RETURN_IF_ERROR; fo_expr_context_skip_blanks (context); while ((fo_expr_context_cur (context) == '+') || (fo_expr_context_cur (context) == '-')) { FoExprFunc expr_func = NULL; FoDatatype *result_datatype = NULL; if (fo_expr_context_cur (context) == '+') { expr_func = fo_expr_context_get_func (context, "+"); } else if (fo_expr_context_cur (context) == '-') { expr_func = fo_expr_context_get_func (context, "-"); } if (expr_func != NULL) { fo_expr_context_next (context); fo_expr_context_skip_blanks (context); eval_multiplicative_expr (context); RETURN_IF_ERROR; result_datatype = expr_func (context, 2); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_UNKNOWN_OPERATOR); } fo_expr_context_push_stack (context, result_datatype); RETURN_IF_ERROR; fo_expr_context_skip_blanks (context); } } /** * fo_expr_eval: * @string: String form of expression. * @property_name: Name of property being evaluated. * @resolve_enum_func: Function used to resolve enumeration tokens. * @resolve_percent_func: Function used to resolve percentage values. * @font_size_prop: Current font size property. * @current_fo: Current formatting object. * @fo_context: #FoContext for inherited values. * @env_list: List of #FoExprEnv for evaluating expressions. * @error: #GError for reporting errors. * * Evaluates @string as an XSL expression. * * Return value: The result of evaluating @string, or NULL if an error * occurred **/ FoDatatype* fo_expr_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const GSList *env_list, GError **error) { FoExprContext *context; FoDatatype *result_datatype = NULL; g_return_val_if_fail (string != NULL && IS_CHAR (g_utf8_get_char (string)), NULL); g_return_val_if_fail (property_name != NULL && IS_CHAR (g_utf8_get_char (property_name)), NULL); g_return_val_if_fail ((font_size_prop) == NULL || FO_IS_PROPERTY_FONT_SIZE (font_size_prop), NULL); g_return_val_if_fail (FO_IS_FO (current_fo), NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); g_return_val_if_fail (env_list != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); /* Can't make assertion about resolve_enum_func since it can be NULL */ /* Can't make assertion about resolve_percent_func since it can be NULL */ context = fo_expr_context_new (string, property_name, resolve_enum_func, resolve_percent_func, font_size_prop, current_fo, fo_context, env_list); eval_additive_expr (context); result_datatype = fo_expr_context_pop_stack (context); /* Check for possible error conditions */ if (result_datatype == NULL) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_NULL_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_NULL_RESULT])); } else if (FO_IS_ERROR (result_datatype)) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_ERROR_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_ERROR_RESULT])); } else if (!fo_expr_context_stack_is_empty (context)) { gchar *string = fo_object_sprintf (fo_expr_context_peek_stack (context)); g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_STACK, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_STACK]), string); g_free (string); } else if (fo_expr_context_cur (context) != '\0') { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_EXPR, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_EXPR]), fo_expr_context_cur_ptr (context)); } fo_expr_context_free (context); context = NULL; return result_datatype; } /** * convert_to_tblr: * @context: #FoExprContext * * Convert the stack of #FoDatatype in @context to a #FoTblr. **/ static void convert_to_tblr (FoExprContext *context) { /* * There could be as few as one or as many as four items on the * stack. The items will be on the stack in the order in which * they were evaluated. For example, when the spec says "If * there are two values, the top and bottom paddings are set to * the first value and the right and left paddings are set to * the second.", the first value popped off the stack applies to * the left and right paddings, and the second, to the top and * bottom paddings. * * From the spec for 'border-padding': * * If there is only one value, it applies to all sides. If * there are two values, the top and bottom paddings are set * to the first value and the right and left paddings are set * to the second. If there are three values, the top is set * to the first value, the left and right are set to the * second, and the bottom is set to the third. If there are * four values, they apply to the top, right, bottom, and * left, respectively. * * Popping entries off the stack until there's a null gives: * * First: All sides Left, right Bottom Left * Second: - Top, bottom Left, right Bottom * Third: - - Top Right * Fourth: - - - Top * * Going from stack entries to components gives: * * One entry Two entries Three entries Four entries * Top: Top Second Third Fourth * Bottom: Top Second First Second * Left: Top First Second First * Right: Top First Second Third * * A fifth entry on the stack indicates an error. */ FoDatatype *result_datatype = NULL; /* First stack entry */ FoDatatype *stack_first = fo_expr_context_pop_stack (context); /* Handle possible conditions for top stack entry. */ if (stack_first == NULL) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_ERROR_NULL_RESULT); goto push; } else if (FO_IS_ERROR (stack_first)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_ERROR_ERROR_RESULT); goto push; } /* Second stack entry */ FoDatatype *stack_second = fo_expr_context_pop_stack (context); /* Handle possible conditions for second stack entry. */ if (stack_second == NULL) { result_datatype = fo_tblr_new_from_values (stack_first, stack_first, stack_first, stack_first); goto push; } else if (FO_IS_ERROR (stack_second)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_ERROR_ERROR_RESULT); goto push; } /* third stack entry */ FoDatatype *stack_third = fo_expr_context_pop_stack (context); /* Handle possible conditions for third stack entry. */ if (stack_third == NULL) { result_datatype = fo_tblr_new_from_values (stack_second, stack_second, stack_first, stack_first); goto push; } else if (FO_IS_ERROR (stack_third)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_ERROR_ERROR_RESULT); goto push; } /* fourth stack entry */ FoDatatype *stack_fourth = fo_expr_context_pop_stack (context); /* Handle possible conditions for fourth stack entry. */ if (stack_fourth == NULL) { result_datatype = fo_tblr_new_from_values (stack_third, stack_first, stack_second, stack_second); goto push; } else if (FO_IS_ERROR (stack_fourth)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_ERROR_ERROR_RESULT); goto push; } else { result_datatype = fo_tblr_new_from_values (stack_fourth, stack_second, stack_first, stack_third); goto push; } push: fo_expr_context_push_stack (context, result_datatype); } /** * eval_padding_expr: * * {1,4} | inherit **/ static void eval_padding_expr (FoExprContext *context) { fo_expr_context_skip_blanks (context); gchar *name = parse_ncname (context); if (name == NULL) { /* If not a name, then one to four values. */ do { FoDatatype *intermediate_value = NULL; gboolean negate = FALSE; fo_expr_context_skip_blanks (context); while (fo_expr_context_cur (context) == '-') { negate = !negate; fo_expr_context_next (context); fo_expr_context_skip_blanks (context); } if (IS_NUMERIC (context)) { gdouble number = parse_number (context); fo_expr_context_skip_blanks (context); if (fo_expr_context_cur (context) == '%') { intermediate_value = parse_percentage (context, number); } else if (is_unit_name (context)) { intermediate_value = parse_length (context, number); } else { intermediate_value = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FAILED); } } else { intermediate_value = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FAILED); } RETURN_IF_ERROR; fo_expr_context_push_stack (context, intermediate_value); if (negate) { FoDatatype *arg = fo_expr_context_pop_stack (context); intermediate_value = fo_datatype_negate (arg); fo_expr_context_push_stack (context, intermediate_value); } RETURN_IF_ERROR; } while (g_ascii_isspace (fo_expr_context_cur (context))); convert_to_tblr(context); } else { FoDatatype *result_datatype = NULL; /* If the expression is a name, there's only one valid name: 'inherit'. */ if (strcmp (name, "inherit") == 0) { fo_expr_context_skip_blanks (context); if (fo_expr_context_cur (context) == '\0') { eval_inherit (context); g_free (name); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FAILED); } } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FAILED); } fo_expr_context_push_stack (context, result_datatype); } } /** * fo_expr_padding_eval: * @string: String form of expression. * @property_name: Name of property being evaluated. * @resolve_enum_func: Function used to resolve enumeration tokens. * @resolve_percent_func: Function used to resolve percentage values. * @font_size_prop: Current font size property. * @current_fo: Current formatting object. * @fo_context: #FoContext for inherited values. * @env_list: List of #FoExprEnv for evaluating expressions. * @error: #GError for reporting errors. * * Evaluates @string as an XSL expression. * * Return value: The result of evaluating @string, or NULL if an error * occurred **/ FoDatatype* fo_expr_padding_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const GSList *env_list, GError **error) { FoExprContext *context; FoDatatype *result_datatype = NULL; g_return_val_if_fail (IS_CHAR (g_utf8_get_char (string)), NULL); g_return_val_if_fail (IS_CHAR (g_utf8_get_char (property_name)), NULL); g_return_val_if_fail ((font_size_prop) == NULL || FO_IS_PROPERTY_FONT_SIZE (font_size_prop), NULL); g_return_val_if_fail (FO_IS_FO (current_fo), NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); g_return_val_if_fail (env_list != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); /* Can't make assertion about resolve_enum_func since it can be NULL */ /* Can't make assertion about resolve_percent_func since it can be NULL */ context = fo_expr_context_new (string, property_name, resolve_enum_func, resolve_percent_func, font_size_prop, current_fo, fo_context, env_list); eval_padding_expr (context); result_datatype = fo_expr_context_pop_stack (context); /* Check for possible error conditions */ if (result_datatype == NULL) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_NULL_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_NULL_RESULT])); } else if (FO_IS_ERROR (result_datatype)) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_ERROR_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_ERROR_RESULT])); } else if (!fo_expr_context_stack_is_empty (context)) { gchar *string = fo_object_sprintf (fo_expr_context_peek_stack (context)); g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_STACK, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_STACK]), string); g_free (string); } else if (fo_expr_context_cur (context) != '\0') { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_EXPR, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_EXPR]), fo_expr_context_cur_ptr (context)); } fo_expr_context_free (context); context = NULL; return result_datatype; } /** * eval_border_color_expr: * * [|transparent]{1,4} | inherit **/ static void eval_border_color_expr (FoExprContext *context) { /* If not 'inherit', then one to four or 'transparent' values. */ do { FoDatatype *intermediate_value = NULL; fo_expr_context_skip_blanks (context); if (fo_expr_context_cur (context) == '#') { eval_color (context); } else if ((fo_expr_context_cur (context) == '\'') || (fo_expr_context_cur (context) == '"')) { eval_literal (context); } else { gchar *name = parse_ncname (context); if (name != NULL) { eval_enum (context, name); g_free (name); } else { /* * No name means expression doesn't match grammar since * exhausted all other options. */ intermediate_value = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FAILED); fo_expr_context_push_stack (context, intermediate_value); } RETURN_IF_ERROR; } } while (g_ascii_isspace (fo_expr_context_cur (context))); convert_to_tblr(context); } /** * fo_expr_border_color_eval: * @string: String form of expression. * @property_name: Name of property being evaluated. * @resolve_enum_func: Function used to resolve enumeration tokens. * @resolve_percent_func: Function used to resolve percentage values. * @font_size_prop: Current font size property. * @current_fo: Current formatting object. * @fo_context: #FoContext for inherited values. * @env_list: List of #FoExprEnv for evaluating expressions. * @error: #GError for reporting errors. * * Evaluates @string as an XSL expression. * * Return value: The result of evaluating @string, or NULL if an error * occurred **/ FoDatatype * fo_expr_border_color_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const GSList *env_list, GError **error) { FoExprContext *context; FoDatatype *result_datatype = NULL; g_return_val_if_fail (IS_CHAR (g_utf8_get_char (string)), NULL); g_return_val_if_fail (IS_CHAR (g_utf8_get_char (property_name)), NULL); g_return_val_if_fail ((font_size_prop) == NULL || FO_IS_PROPERTY_FONT_SIZE (font_size_prop), NULL); g_return_val_if_fail (FO_IS_FO (current_fo), NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); g_return_val_if_fail (env_list != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); /* Can't make assertion about resolve_enum_func since it can be NULL */ /* Can't make assertion about resolve_percent_func since it can be NULL */ context = fo_expr_context_new (string, property_name, resolve_enum_func, resolve_percent_func, font_size_prop, current_fo, fo_context, env_list); eval_border_color_expr (context); result_datatype = fo_expr_context_pop_stack (context); /* Check for possible error conditions */ if (result_datatype == NULL) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_NULL_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_NULL_RESULT])); } else if (FO_IS_ERROR (result_datatype)) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_ERROR_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_ERROR_RESULT])); } else if (!fo_expr_context_stack_is_empty (context)) { gchar *string = fo_object_sprintf (fo_expr_context_peek_stack (context)); g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_STACK, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_STACK]), string); g_free (string); } else if (fo_expr_context_cur (context) != '\0') { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_EXPR, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_EXPR]), fo_expr_context_cur_ptr (context)); } fo_expr_context_free (context); context = NULL; return result_datatype; } /** * eval_border_style_expr: * * {1,4} | inherit **/ static void eval_border_style_expr (FoExprContext *context) { /* If not 'inherit', then one to four or 'transparent' values. */ do { FoDatatype *intermediate_value = NULL; fo_expr_context_skip_blanks (context); gchar *name = parse_ncname (context); if (name != NULL) { eval_enum (context, name); g_free (name); } else { /* * No name means expression doesn't match grammar since * exhausted all other options. */ intermediate_value = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FAILED); fo_expr_context_push_stack (context, intermediate_value); } RETURN_IF_ERROR; } while (g_ascii_isspace (fo_expr_context_cur (context))); convert_to_tblr(context); } /** * fo_expr_border_style_eval: * @string: String form of expression. * @property_name: Name of property being evaluated. * @resolve_enum_func: Function used to resolve enumeration tokens. * @resolve_percent_func: Function used to resolve percentage values. * @font_size_prop: Current font size property. * @current_fo: Current formatting object. * @fo_context: #FoContext for inherited values. * @env_list: List of #FoExprEnv for evaluating expressions. * @error: #GError for reporting errors. * * Evaluates @string as an XSL expression. * * Return value: The result of evaluating @string, or NULL if an error * occurred **/ FoDatatype * fo_expr_border_style_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const GSList *env_list, GError **error) { FoExprContext *context; FoDatatype *result_datatype = NULL; g_return_val_if_fail (IS_CHAR (g_utf8_get_char (string)), NULL); g_return_val_if_fail (IS_CHAR (g_utf8_get_char (property_name)), NULL); g_return_val_if_fail ((font_size_prop) == NULL || FO_IS_PROPERTY_FONT_SIZE (font_size_prop), NULL); g_return_val_if_fail (FO_IS_FO (current_fo), NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); g_return_val_if_fail (env_list != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); /* Can't make assertion about resolve_enum_func since it can be NULL */ /* Can't make assertion about resolve_percent_func since it can be NULL */ context = fo_expr_context_new (string, property_name, resolve_enum_func, resolve_percent_func, font_size_prop, current_fo, fo_context, env_list); eval_border_style_expr (context); result_datatype = fo_expr_context_pop_stack (context); /* Check for possible error conditions */ if (result_datatype == NULL) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_NULL_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_NULL_RESULT])); } else if (FO_IS_ERROR (result_datatype)) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_ERROR_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_ERROR_RESULT])); } else if (!fo_expr_context_stack_is_empty (context)) { gchar *string = fo_object_sprintf (fo_expr_context_peek_stack (context)); g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_STACK, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_STACK]), string); g_free (string); } else if (fo_expr_context_cur (context) != '\0') { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_EXPR, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_EXPR]), fo_expr_context_cur_ptr (context)); } fo_expr_context_free (context); context = NULL; return result_datatype; } /** * convert_to_wsc: * @context: #FoExprContext * * Convert the stack of #FoDatatype in @context to a #FoWsc. **/ static void convert_to_wsc (FoExprContext *context) { /* * There could be as few as one or as many as three items on the * stack. The items will be on the stack in the order in which * they were evaluated. * * A fourth entry on the stack indicates an error. */ /* Result to return on stack. */ FoDatatype *result_datatype = NULL; /* FoWsc as popped off stack. */ FoDatatype *wsc_datatype = NULL; /* * Components of FoWsc (that will be returned if no errors * occur). */ FoDatatype *width_datatype = NULL; FoDatatype *style_datatype = NULL; FoDatatype *color_datatype = NULL; /* First stack entry */ FoDatatype *stack_first = fo_expr_context_pop_stack (context); /* Handle possible conditions for top stack entry. */ if (stack_first == NULL) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_ERROR_NULL_RESULT); goto push; } else if (FO_IS_ERROR (stack_first)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_ERROR_ERROR_RESULT); goto push; } if (FO_IS_WSC (stack_first)) { wsc_datatype = stack_first; if (fo_wsc_get_width (wsc_datatype) != NULL) { width_datatype = fo_wsc_get_width (wsc_datatype); } else if (fo_wsc_get_style (wsc_datatype) != NULL) { style_datatype = fo_wsc_get_style (wsc_datatype); } else if (fo_wsc_get_color (wsc_datatype) != NULL) { color_datatype = fo_wsc_get_color (wsc_datatype); } } /* Second stack entry */ FoDatatype *stack_second = fo_expr_context_pop_stack (context); /* Handle possible conditions for second stack entry. */ if (stack_second == NULL) { goto push_wsc; } else if (FO_IS_WSC (stack_second)) { wsc_datatype = stack_second; if ((width_datatype == NULL) && (fo_wsc_get_width (wsc_datatype) != NULL)) { width_datatype = fo_wsc_get_width (wsc_datatype); } else if ((style_datatype == NULL) && (fo_wsc_get_style (wsc_datatype) != NULL)) { style_datatype = fo_wsc_get_style (wsc_datatype); } else if ((color_datatype == NULL) && (fo_wsc_get_color (wsc_datatype) != NULL)) { color_datatype = fo_wsc_get_color (wsc_datatype); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_EXPR_ERROR); goto push; } } else if (FO_IS_ERROR (stack_second)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_ERROR_ERROR_RESULT); goto push; } /* Third stack entry */ FoDatatype *stack_third = fo_expr_context_pop_stack (context); /* Handle possible conditions for third stack entry. */ if (stack_third == NULL) { goto push_wsc; } else if (FO_IS_WSC (stack_third)) { wsc_datatype = stack_third; if ((width_datatype == NULL) && (fo_wsc_get_width (wsc_datatype) != NULL)) { width_datatype = fo_wsc_get_width (wsc_datatype); } else if ((style_datatype == NULL) && (fo_wsc_get_style (wsc_datatype) != NULL)) { style_datatype = fo_wsc_get_style (wsc_datatype); } else if ((color_datatype == NULL) && (fo_wsc_get_color (wsc_datatype) != NULL)) { color_datatype = fo_wsc_get_color (wsc_datatype); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_EXPR_ERROR); goto push; } } else if (FO_IS_ERROR (stack_third)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_ERROR_ERROR_RESULT); goto push; } push_wsc: if (width_datatype == NULL) { width_datatype = g_object_ref (fo_property_util_get_width_initial ()); } if (style_datatype == NULL) { style_datatype = g_object_ref (fo_property_util_get_style_initial ()); } if (color_datatype == NULL) { color_datatype = g_object_ref (fo_property_util_get_color_initial ()); } result_datatype = g_object_ref (fo_wsc_new_from_values (width_datatype, style_datatype, color_datatype)); push: fo_expr_context_push_stack (context, result_datatype); } /** * eval_width_style_color_expr: * * [ || || ] | inherit **/ static void eval_width_style_color_expr (FoExprContext *context) { /* If not 'inherit', then one to four or 'transparent' values. */ do { FoDatatype *intermediate_value = NULL; fo_expr_context_skip_blanks (context); if (fo_expr_context_cur (context) == '#') { eval_color (context); } else if ((fo_expr_context_cur (context) == '\'') || (fo_expr_context_cur (context) == '"')) { eval_literal (context); } else { gchar *name = parse_ncname (context); if (name != NULL) { eval_enum (context, name); g_free (name); } else { /* * No name means expression doesn't match grammar since * exhausted all other options. */ intermediate_value = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_FAILED); fo_expr_context_push_stack (context, intermediate_value); } RETURN_IF_ERROR; } } while (g_ascii_isspace (fo_expr_context_cur (context))); convert_to_wsc(context); } /** * fo_expr_wsc_eval: * @string: String form of expression. * @property_name: Name of property being evaluated. * @resolve_enum_func: Function used to resolve enumeration tokens. * @resolve_percent_func: Function used to resolve percentage values. * @font_size_prop: Current font size property. * @current_fo: Current formatting object. * @fo_context: #FoContext for inherited values. * @env_list: List of #FoExprEnv for evaluating expressions. * @error: #GError for reporting errors. * * Evaluates @string as an XSL expression. * * Return value: The result of evaluating @string, or NULL if an error * occurred **/ FoDatatype * fo_expr_wsc_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const GSList *env_list, GError **error) { FoExprContext *context; FoDatatype *result_datatype = NULL; g_return_val_if_fail (IS_CHAR (g_utf8_get_char (string)), NULL); g_return_val_if_fail (IS_CHAR (g_utf8_get_char (property_name)), NULL); g_return_val_if_fail ((font_size_prop) == NULL || FO_IS_PROPERTY_FONT_SIZE (font_size_prop), NULL); g_return_val_if_fail (FO_IS_FO (current_fo), NULL); g_return_val_if_fail (FO_IS_CONTEXT (fo_context), NULL); g_return_val_if_fail (env_list != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); /* Can't make assertion about resolve_enum_func since it can be NULL */ /* Can't make assertion about resolve_percent_func since it can be NULL */ context = fo_expr_context_new (string, property_name, resolve_enum_func, resolve_percent_func, font_size_prop, current_fo, fo_context, env_list); eval_width_style_color_expr (context); result_datatype = fo_expr_context_pop_stack (context); /* Check for possible error conditions */ if (result_datatype == NULL) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_NULL_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_NULL_RESULT])); } else if (FO_IS_ERROR (result_datatype)) { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_ERROR_RESULT, _(fo_expr_error_messages[FO_EXPR_ERROR_ERROR_RESULT])); } else if (!fo_expr_context_stack_is_empty (context)) { gchar *string = fo_object_sprintf (fo_expr_context_peek_stack (context)); g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_STACK, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_STACK]), string); g_free (string); } else if (fo_expr_context_cur (context) != '\0') { g_set_error (error, FO_EXPR_ERROR, FO_EXPR_ERROR_EXTRA_EXPR, _(fo_expr_error_messages[FO_EXPR_ERROR_EXTRA_EXPR]), fo_expr_context_cur_ptr (context)); } fo_expr_context_free (context); context = NULL; return result_datatype; } xmlroff-0.6.2/libfo/expr/fo-expr-eval.h0000644000175000017500000001263010643167443014656 00000000000000/* Fo * fo-expr-eval.h: XSL expression language evaluation module * * Copyright (C) 1998-2002 Daniel Veillard. * Copyright (C) 2001-2002 Sun Microsystems. * All Rights Reserved. * * Based on an XSL expression language evaluator that was based on the * 'XML Path Language implementation' in 'xpath.c' from libxml2 by * Daniel Veillard. * Copyright (C) 2007 Menteith Consulting Ltd * * !See COPYING for the status of this software. */ #ifndef __FO_EXPR_EVAL_H__ #define __FO_EXPR_EVAL_H__ #include #include #include #include G_BEGIN_DECLS typedef struct _FoExprEnv FoExprEnv; typedef GSList FoExprEnvList; typedef struct _FoExprContext FoExprContext; typedef FoDatatype* (* FoExprFunc) (FoExprContext *context, gint nargs); #define FO_EXPR_ERROR fo_expr_error_quark () GQuark fo_expr_error_quark (void); typedef enum { FO_EXPR_ERROR_FAILED, FO_EXPR_ERROR_NULL_RESULT, FO_EXPR_ERROR_ERROR_RESULT, FO_EXPR_ERROR_EXTRA_STACK, FO_EXPR_ERROR_EXTRA_EXPR } FoExprError; #define FO_EXPR_EVAL_ERROR fo_expr_eval_error_quark () GQuark fo_expr_eval_error_quark (void); typedef enum { FO_EXPR_EVAL_ERROR_FAILED, /* Expression evaluation failed */ FO_EXPR_EVAL_ERROR_UNFINISHED_LITERAL, FO_EXPR_EVAL_ERROR_START_LITERAL, FO_EXPR_EVAL_ERROR_EXPR_ERROR, FO_EXPR_EVAL_ERROR_UNKNOWN_FUNC, FO_EXPR_EVAL_ERROR_INVALID_ARITY, FO_EXPR_EVAL_ERROR_INVALID_TYPE, FO_EXPR_EVAL_ERROR_NOT_INHERITED, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY, FO_EXPR_EVAL_ERROR_FUNCTION_INVALID_PROPERTY, FO_EXPR_EVAL_ERROR_NOT_TABLE_CELL_OR_DESCENDANT, FO_EXPR_EVAL_ERROR_NO_TABLE_CELL_COLUMN, FO_EXPR_EVAL_ERROR_NOT_LIST_BLOCK_OR_DESCENDANT, FO_EXPR_EVAL_ERROR_NOT_TABLE_COLUMN, FO_EXPR_EVAL_ERROR_NOT_COLUMN_WIDTH, FO_EXPR_EVAL_ERROR_NOT_FIXED_METHOD, FO_EXPR_EVAL_ERROR_COLOR_DECL, FO_EXPR_EVAL_ERROR_UNKNOWN_OPERATOR, FO_EXPR_EVAL_ERROR_FUNC_RETURN_NULL, FO_EXPR_EVAL_ERROR_CANNOT_INHERIT, FO_EXPR_EVAL_ERROR_NO_RESOLVE_PERCENT_FUNC, FO_EXPR_EVAL_ERROR_UNFINISHED_URL, FO_EXPR_EVAL_ERROR_LAST } FoExprEvalError; extern const gchar *fo_expr_eval_error_messages[FO_EXPR_EVAL_ERROR_LAST]; FoDatatype* fo_expr_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype* fo_expr_padding_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype* fo_expr_border_color_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype * fo_expr_border_style_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype * fo_expr_wsc_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype * fo_expr_eval_new_error (FoExprContext *context, FoExprEvalError error_type); FoDatatype * fo_expr_eval_propagate_error (FoExprContext *context, GError *error); void fo_expr_context_push_stack (FoExprContext *context, FoDatatype *datatype); FoDatatype * fo_expr_context_pop_stack (FoExprContext *context); FoDatatype * fo_expr_context_peek_stack (FoExprContext *context); gboolean fo_expr_context_stack_is_empty (FoExprContext *context); FoExprFunc fo_expr_context_get_func (FoExprContext *context, const gchar *name); void fo_expr_context_debug_dump_stack (FoExprContext *context); FoExprEnv * fo_expr_env_new (void); FoExprEnv * fo_expr_env_register_func (FoExprEnv *env, const gchar *name, FoExprFunc func); FoExprFunc fo_expr_env_get_func (FoExprEnv *env, const gchar *name); FoExprEnvList * fo_expr_env_list_new (void); void fo_expr_env_list_free (FoExprEnvList *env_list); FoExprEnvList * fo_expr_env_list_prepend (FoExprEnvList *env_list, FoExprEnv *env); FoExprFunc fo_expr_env_list_get_func (const FoExprEnvList *env_list, const gchar *name); G_END_DECLS #endif /* !__FO_EXPR_EVAL_H__ */ xmlroff-0.6.2/libfo/expr/fo-expr-func.c0000644000175000017500000010362311150536665014660 00000000000000/* Fo * fo-expr-func.c: XSL expression language functions * * Copyright (C) 1998-2002 Daniel Veillard. * Copyright (C) 2001-2002 Sun Microsystems. * Copyright (C) 2007-2009 Menteith Consulting Ltd * All Rights Reserved. * * Based on an XSL expression language evaluator that was based on the * 'XML Path Language implementation' in 'xpath.c' from libxml2 by * Daniel Veillard. * * See COPYING for the status of this software. */ #include "fo-expr-eval.h" #include "fo-expr-func-private.h" #include "fo-expr-context-private.h" #include "fo/fo-list-block.h" #include "fo/fo-table.h" #include "fo/fo-table-column.h" #include "fo/fo-table-cell.h" #include "datatype/fo-all-datatype.h" #include #define CHECK_ARITY(context, x) \ if (nargs != (x)) \ return fo_expr_eval_new_error((context), \ FO_EXPR_EVAL_ERROR_INVALID_ARITY) /** * fo_expr_func_abs: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the abs() XSL function * * numeric abs(numeric) * * The abs function returns the absolute value of the numeric * argument. That is, if the numeric argument is negative, it returns * the negation of the argument. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_abs (FoExprContext *context, gint nargs) { FoDatatype *arg; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 1); arg = fo_expr_context_pop_stack (context); return fo_datatype_abs (arg); } /** * fo_expr_func_add: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the addition operation on XSL numerics. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_add (FoExprContext *context, gint nargs) { FoDatatype *arg1; FoDatatype *arg2; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 2); arg2 = fo_expr_context_pop_stack (context); arg1 = fo_expr_context_pop_stack (context); return fo_datatype_add (arg1, arg2); } /** * fo_expr_func_body_start: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the body-start() XSL function * * numeric body-start() * * The body-start function returns the calculated body-start value for * lists. See the definition in Section 7.28.4, * "provisional-distance-between-starts", of the XSL 1.0 * Recommendation. * * NOTE: When this function is used outside of a list, it still * returns a calculated value as specified. **/ FoDatatype* fo_expr_func_body_start (FoExprContext *context, gint nargs) { const FoFo *current_fo = NULL; FoNode *fo_list_block = NULL; FoDatatype *result_datatype = NULL; g_return_val_if_fail (context != NULL, NULL); current_fo = fo_expr_context_get_current_fo (context); if (nargs == 0) { fo_list_block = fo_node_get_ancestor_or_self_by_type (FO_NODE (current_fo), FO_TYPE_LIST_BLOCK); if (fo_list_block != NULL) { result_datatype = g_object_ref (fo_list_block_get_body_start (FO_FO (fo_list_block))); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_LIST_BLOCK_OR_DESCENDANT); } } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_ARITY); } return result_datatype; } /** * fo_expr_func_ceiling: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the ceiling() XSL function * * number ceiling(number) * * The ceiling function returns the smallest (closest to negative * infinity) integer that is not less than the argument. The numeric * argument to this function must be of unit power zero. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_ceiling (FoExprContext *context, gint nargs) { FoDatatype *arg; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 1); arg = fo_expr_context_pop_stack (context); return fo_datatype_ceiling (arg); } /** * fo_expr_func_div: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the division operation on XSL numerics . * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_div (FoExprContext *context, gint nargs) { FoDatatype *arg1; FoDatatype *arg2; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 2); arg2 = fo_expr_context_pop_stack (context); arg1 = fo_expr_context_pop_stack (context); return fo_datatype_div (arg1, arg2); } /** * fo_expr_func_floor: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the floor() XSL function * * numeric floor(numeric) * * The floor function returns the largest (closest to positive * infinity) integer that is not greater than the argument. The * numeric argument to this function must be of unit power zero. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_floor (FoExprContext *context, gint nargs) { FoDatatype *arg; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 1); arg = fo_expr_context_pop_stack (context); return fo_datatype_floor (arg); } static gchar* opt_arg_to_property_name (FoExprContext *context, gint nargs, GError **error) { FoDatatype *arg = NULL; gchar *property_name = NULL; g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (nargs == 0) { property_name = g_strdup (fo_expr_context_get_property_name (context)); } else if (nargs == 1) { arg = fo_expr_context_pop_stack (context); if (FO_IS_STRING (arg)) { property_name = fo_string_get_value (arg); } else if (FO_IS_NAME (arg)) { property_name = fo_name_get_value (arg); } else { g_set_error (error, FO_EXPR_EVAL_ERROR, FO_EXPR_EVAL_ERROR_INVALID_TYPE, fo_expr_eval_error_messages[FO_EXPR_EVAL_ERROR_INVALID_TYPE]); } g_object_unref (arg); } else { g_set_error (error, FO_EXPR_EVAL_ERROR, FO_EXPR_EVAL_ERROR_INVALID_ARITY, fo_expr_eval_error_messages[FO_EXPR_EVAL_ERROR_INVALID_ARITY]); } return property_name; } /** * fo_expr_func_from_nearest_specified_value: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the from-nearest-specified-value() XSL function * * object from-nearest-specified-value(NCName?) * * The from-nearest-specified-value function returns a computed value * of the property whose name matches the argument specified, or if * omitted for the property for which the expression is being * evaluated. The value returned is that for the closest ancestor of * the formatting object for which the expression is evaluated on * which there is an assignment of the property in the XML result tree * in the fo namespace. If there is no such ancestor, the value * returned is the initial value. If the argument specifies a * shorthand property and if the expression only consists of the * from-nearest-specified-value function with an argument matching the * property being computed, it is interpreted as an expansion of the * shorthand with each property into which the shorthand expands, each * having a value of from-nearest-specified-value with an argument * matching the property. It is an error if arguments matching a * shorthand property are used in any other way. * * Return value: #FoDatatype, which could be an #FoError */ FoDatatype* fo_expr_func_from_nearest_specified_value (FoExprContext *context, gint nargs) { FoProperty *property = NULL; FoDatatype *result_datatype = NULL; GError *error = NULL; gchar *property_name = NULL; property_name = opt_arg_to_property_name (context, nargs, &error); if (error != NULL) { if (property_name != NULL) { g_free (property_name); } result_datatype = fo_expr_eval_propagate_error (context, error); } else { if (g_type_from_name (property_name) != 0) { g_object_get ((FoContext *) fo_expr_context_get_fo_context (context), property_name, &property, NULL); result_datatype = g_object_ref (fo_property_get_value (property)); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY); } } g_free (property_name); return result_datatype; } /** * fo_expr_func_from_parent: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the from-parent() XSL function * * object from-parent(NCName?) * * The from-parent function returns a computed value of the property * whose name matches the argument specified, or if omitted for the * property for which the expression is being evaluated. The value * returned is that for the parent of the formatting object for which * the expression is evaluated. If there is no parent, the value * returned is the initial value. If the argument specifies a * shorthand property and if the expression only consists of the * from-parent function with an argument matching the property being * computed, it is interpreted as an expansion of the shorthand with * each property into which the shorthand expands, each having a value * of from-parent with an argument matching the property. It is an * error if arguments matching a shorthand property are used in any * other way. * * Return value: #FoDatatype, which could be an #FoError */ FoDatatype* fo_expr_func_from_parent (FoExprContext *context, gint nargs) { FoFo *use_from = NULL; FoFo *current_fo = NULL; FoProperty *property = NULL; FoDatatype *result_datatype = NULL; GError *error = NULL; const gchar *property_name = NULL; g_return_val_if_fail (context != NULL, NULL); property_name = opt_arg_to_property_name (context, nargs, &error); if (error != NULL) { result_datatype = fo_expr_eval_propagate_error (context, error); goto error; } current_fo = (FoFo *) fo_expr_context_get_current_fo (context); if (fo_node_parent (FO_NODE (current_fo)) != NULL) { use_from = FO_FO (fo_node_parent (FO_NODE (current_fo))); } else if (fo_fo_get_tree (current_fo) != NULL) { use_from = FO_FO (fo_fo_get_tree (current_fo)); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_CANNOT_INHERIT); goto error; } if (fo_fo_get_context (use_from) != NULL && g_object_class_find_property (G_OBJECT_GET_CLASS (use_from), property_name)) { g_object_get (fo_fo_get_context (use_from), property_name, &property, NULL); result_datatype = g_object_ref (fo_property_get_value (property)); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY); } error: return result_datatype; } /** * fo_expr_func_from_table_column: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the from-table-column() XSL function * * object from-table-column(NCName?) * * The from-table-column function returns the inherited value of the * property whose name matches the argument specified, or if omitted * for the property for which the expression is being evaluated, from * the fo:table-column whose column-number matches the column for * which this expression is evaluated and whose number-columns-spanned * also matches any span. If there is no match for the * number-columns-spanned, it is matched against a span of 1. If there * is still no match, the initial value is returned. It is an error * to use this function on formatting objects that are not an * fo:table-cell or its descendants. * * Non-standard behaviour: return an error if the current property is * column-number or number-columns-spanned, since those properties * need to already be evaluated in order to determine the correct * table-column FO from which to inherit properties. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_from_table_column (FoExprContext *context, gint nargs) { FoNode *fo_node = NULL; FoFo *current_fo = NULL; FoFo *column = NULL; FoContext *use_fo_context = NULL; FoProperty *property = NULL; FoDatatype *result_datatype = NULL; GError *error = NULL; const gchar *property_name = NULL; const gchar *use_property_name = NULL; g_return_val_if_fail (context != NULL, NULL); /* from-table-column() is meaningless for 'column-number' and 'number-columns-spanned' properties. */ property_name = fo_expr_context_get_property_name (context); if ((strcmp (property_name, "column-number") == 0) || (strcmp (property_name, "number-columns-spanned") == 0)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY); goto error; } current_fo = (FoFo *) fo_expr_context_get_current_fo (context); fo_node = fo_node_get_ancestor_or_self_by_type (FO_NODE (current_fo), FO_TYPE_TABLE_CELL); if (fo_node == NULL) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_TABLE_CELL_OR_DESCENDANT); goto error; } property_name = opt_arg_to_property_name (context, nargs, &error); if (error != NULL) { result_datatype = fo_expr_eval_propagate_error (context, error); goto error; } if (g_type_from_name (property_name) == 0) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY); goto error; } if (g_type_from_name (property_name) != 0) { FoPropertyClass *class = g_type_class_ref (g_type_from_name (property_name)); if (FO_IS_PROPERTY_CLASS (class)) { if (!fo_property_class_is_inherited (class)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_INHERITED); g_type_class_unref (class); goto error; } } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY); g_type_class_unref (class); goto error; } g_type_class_unref (class); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY); goto error; } column = fo_table_cell_get_column (FO_FO (fo_node)); #if defined(LIBFO_DEBUG) && 0 g_message ("from-table-column:: property: %s; column: %s; is-inherited: %d", property_name, fo_object_debug_sprintf (column), fo_property_is_inherited (property)); #endif if (column != NULL) { use_fo_context = fo_fo_get_context (column); } else { FoFo *fo_tree = fo_fo_get_tree ((FoFo *) fo_expr_context_get_current_fo (context)); use_fo_context = fo_fo_get_context (fo_tree); } if (g_object_class_find_property (G_OBJECT_GET_CLASS (use_fo_context), property_name)) { g_object_get (use_fo_context, use_property_name, &property, NULL); result_datatype = fo_property_get_value (property); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY); } error: return result_datatype; } /** * fo_expr_func_inherited_property_value: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the inherited-property-value() XSL function * * object inherited-property-value(NCName?) * * The inherited-property-value function returns the inherited value * of the property whose name matches the argument specified, or if * omitted for the property for which the expression is being * evaluated. It is an error if this property is not an inherited * property. * * The returned "inherited value" is the computed value of this * property on this object's parent. In particular, given the * following example: * * * ... * * * * * * * * * The background-color property on the fo:block is assigned the value * "red" because the (computed, after inheritance) value of the color * (not background-color) property on the fo:list-item-body that is * the parent of fo:block is "red". * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_inherited_property_value (FoExprContext *context, gint nargs) { FoDatatype *arg = NULL; FoDatatype *result_datatype = NULL; const gchar *property_name = NULL; g_return_val_if_fail (context != NULL, NULL); if (nargs == 1) { arg = fo_expr_context_pop_stack (context); if (FO_IS_STRING (arg)) { property_name = fo_string_get_value (arg); } else if (FO_IS_NAME (arg)) { property_name = fo_name_get_value (arg); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_TYPE); g_object_unref (arg); goto error; } g_object_unref (arg); } else if (nargs == 0) { property_name = fo_expr_context_get_property_name (context); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_TYPE); goto error; } if (g_type_from_name (property_name) != 0) { FoPropertyClass *class = g_type_class_ref (g_type_from_name (property_name)); if (FO_IS_PROPERTY_CLASS (class)) { if (fo_property_class_is_inherited (class)) { FoProperty *property = NULL; g_object_get ((gpointer) fo_expr_context_get_fo_context (context), property_name, &property, NULL); result_datatype = g_object_ref (fo_property_get_value (property)); g_object_unref (property); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_INHERITED); } } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY); } g_type_class_unref (class); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY); } error: return result_datatype; } /** * fo_expr_func_label_end: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the label-end() XSL function * * numeric label-end() * * The label-end function returns the calculated label-end value for * lists. See the definition in Section 7.28.3, * "provisional-label-separation", of the XSL 1.0 Recommendation. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_label_end (FoExprContext *context, gint nargs) { const FoFo *current_fo = NULL; FoNode *fo_list_block = NULL; FoDatatype *result_datatype = NULL; g_return_val_if_fail (context != NULL, NULL); current_fo = fo_expr_context_get_current_fo (context); if (nargs == 0) { fo_list_block = fo_node_get_ancestor_or_self_by_type (FO_NODE (current_fo), FO_TYPE_LIST_BLOCK); if (fo_list_block != NULL) { result_datatype = g_object_ref (fo_list_block_get_label_end (FO_FO (fo_list_block))); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_LIST_BLOCK_OR_DESCENDANT); } } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_ARITY); } return result_datatype; } /** * fo_expr_func_max: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the max() XSL function * * numeric max(numeric) * * The max function returns the maximum of two numeric * arguments. These arguments must have the same numeric power. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_max (FoExprContext *context, gint nargs) { FoDatatype *arg1; FoDatatype *arg2; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 2); arg2 = fo_expr_context_pop_stack (context); arg1 = fo_expr_context_pop_stack (context); return fo_datatype_max (arg1, arg2); } /** * fo_expr_func_min: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the min() XSL function * * numeric min(numeric) * * The min function returns the minimum of two numeric * arguments. These arguments must have the same numeric power. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_min (FoExprContext *context, gint nargs) { FoDatatype *arg1; FoDatatype *arg2; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 2); arg2 = fo_expr_context_pop_stack (context); arg1 = fo_expr_context_pop_stack (context); return fo_datatype_min (arg1, arg2); } /** * fo_expr_func_mod: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the modulus operation on XSL numerics. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_mod (FoExprContext *context, gint nargs) { FoDatatype *arg1; FoDatatype *arg2; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 2); arg2 = fo_expr_context_pop_stack (context); arg1 = fo_expr_context_pop_stack (context); return fo_datatype_mod (arg1, arg2); } /** * fo_expr_func_mul: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the multiply operation on XSL numerics by calling * #fo_datatype_mul. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_mul (FoExprContext *context, gint nargs) { FoDatatype *arg1; FoDatatype *arg2; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 2); arg2 = fo_expr_context_pop_stack (context); arg1 = fo_expr_context_pop_stack (context); return fo_datatype_mul (arg1, arg2); } /** * fo_expr_func_pcw: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the proportional-column-width() XSL function * * numeric proportional-column-width(numeric) * * This version just returns a zero length, or an error if the * function argument is the wrong type or the current FO is not a * 'table-column'. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_pcw (FoExprContext *context, gint nargs) { FoFo *current_fo = NULL; FoFo *table = NULL; FoDatatype *arg = NULL; FoDatatype *result_datatype = NULL; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 1); arg = fo_expr_context_pop_stack (context); if (!FO_IS_NUMBER (arg) && !FO_IS_INTEGER (arg)) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_TYPE); goto error; } if (!FO_IS_TABLE_COLUMN (fo_expr_context_get_current_fo (context))) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_TABLE_COLUMN); goto error; } if (strcmp (fo_expr_context_get_property_name (context), "column-width") != 0) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_COLUMN_WIDTH); goto error; } current_fo = (FoFo *) fo_expr_context_get_current_fo (context); table = FO_FO (fo_node_get_ancestor_or_self_by_type (FO_NODE (current_fo), FO_TYPE_TABLE)); if (fo_table_get_layout_method (table) != FO_ENUM_TABLE_LAYOUT_METHOD_FIXED) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_FIXED_METHOD); goto error; } result_datatype = g_object_ref (fo_length_get_length_zero ()); error: g_object_unref (arg); return result_datatype; } /** * fo_expr_func_pcw_prop: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the proportional-column-width() XSL function * * numeric proportional-column-width(numeric) * * This version returns an #FoPcw representing the proportional * measure, or an error if the function argument is the wrong type or * the current FO is not a 'table-column'. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_pcw_prop (FoExprContext *context, gint nargs) { FoFo *current_fo = NULL; FoFo *table = NULL; FoDatatype *arg = NULL; FoDatatype *result_datatype = NULL; CHECK_ARITY (context, 1); arg = fo_expr_context_pop_stack (context); if (!FO_IS_TABLE_COLUMN (fo_expr_context_get_current_fo (context))) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_TABLE_COLUMN); goto error; } if (strcmp (fo_expr_context_get_property_name (context), "column-width") != 0) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_COLUMN_WIDTH); goto error; } current_fo = (FoFo *) fo_expr_context_get_current_fo (context); table = FO_FO (fo_node_get_ancestor_or_self_by_type (FO_NODE (current_fo), FO_TYPE_TABLE)); if (fo_table_get_layout_method (table) != FO_ENUM_TABLE_LAYOUT_METHOD_FIXED) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_FIXED_METHOD); goto error; } if (FO_IS_NUMBER (arg)) { result_datatype = fo_pcw_new_with_value (fo_number_get_value (arg)); } else if (FO_IS_INTEGER (arg)) { result_datatype = fo_pcw_new_with_value ((gdouble) fo_integer_get_value (arg)); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_TYPE); goto error; } error: g_object_unref (arg); return result_datatype; } /** * fo_expr_func_pcw_prop_fixed: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the proportional-column-width() XSL function * * numeric proportional-column-width(numeric) * * This version returns a length representing the resovled value of * the proportional measure, or an error if the function argument * is the wrong type or the current FO is not a 'table-column'. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_pcw_prop_fixed (FoExprContext *context, gint nargs) { const FoFo *current_fo = NULL; FoFo *table = NULL; FoDatatype *arg = NULL; FoDatatype *result_datatype = NULL; CHECK_ARITY (context, 1); arg = fo_expr_context_pop_stack (context); if (!FO_IS_TABLE_COLUMN (fo_expr_context_get_current_fo (context))) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_TABLE_COLUMN); goto error; } if (strcmp (fo_expr_context_get_property_name (context), "column-width") != 0) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_COLUMN_WIDTH); goto error; } current_fo = fo_expr_context_get_current_fo (context); table = FO_FO (fo_node_get_ancestor_or_self_by_type (FO_NODE (current_fo), FO_TYPE_TABLE)); if (fo_table_get_layout_method (table) != FO_ENUM_TABLE_LAYOUT_METHOD_FIXED) { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_NOT_FIXED_METHOD); goto error; } if (FO_IS_NUMBER (arg)) { result_datatype = fo_length_new_with_value (fo_number_get_value (arg) * fo_table_get_proportional_unit (table)); } else if (FO_IS_INTEGER (arg)) { result_datatype = fo_length_new_with_value (((gdouble) fo_integer_get_value (arg)) * fo_table_get_proportional_unit (table)); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_TYPE); goto error; } error: g_object_unref (arg); return result_datatype; } /** * datatype_to_color_component: * @datatype: #FoDatatype representing one component of an #FoColor * @error: #GError for reporting errors * * Convert @datatype to a #guint in the range 0 to * #FO_COLOR_COMPONENT_MAX. * * Sets @error if cannot convert @datatype. * * Return value: **/ guint datatype_to_color_component (FoDatatype *datatype, GError **error) { guint component = 0; if (FO_IS_PERCENTAGE (datatype)) { gdouble percentage = fo_percentage_get_value (datatype); percentage = MAX (percentage, 0.0); percentage = MIN (percentage, 100.0); component = (guint) ((percentage / 100.0) * FO_COLOR_COMPONENT_MAX); } else if (FO_IS_NUMBER (datatype)) { gdouble number = fo_number_get_value (datatype); number = MAX (number, 0.0); number = MIN (number, 255.0); component = (guint) ((number / 255.0) * FO_COLOR_COMPONENT_MAX); } else if (FO_IS_INTEGER (datatype)) { gint integer = fo_integer_get_value (datatype); integer = MAX (integer, 0); integer = MIN (integer, 255); component = (guint) ((((gdouble) integer) / 255.0) * FO_COLOR_COMPONENT_MAX); } else { g_set_error (error, FO_EXPR_EVAL_ERROR, FO_EXPR_EVAL_ERROR_INVALID_TYPE, fo_expr_eval_error_messages[FO_EXPR_EVAL_ERROR_INVALID_TYPE]); } return component; } /** * fo_expr_func_rgb: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the rgb() XSL function * * color rgb(numeric, numeric, numeric) * * The rgb function returns a specific color from the RGB color * space. The parameters to this function must be numerics (real * numbers) with a length power of zero. * * CSS has the requirement that the numbers be all numeric or all * percentages, but that isn't apparent from the XSL Recommendation. **/ FoDatatype* fo_expr_func_rgb (FoExprContext *context, gint nargs) { FoDatatype *red; FoDatatype *green; FoDatatype *blue; FoDatatype *result_datatype = NULL; GError *error = NULL; guint16 result_red; guint16 result_green; guint16 result_blue; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 3); blue = fo_expr_context_pop_stack (context); green = fo_expr_context_pop_stack (context); red = fo_expr_context_pop_stack (context); result_red = datatype_to_color_component (red, &error); if (error != NULL) { result_datatype = fo_expr_eval_propagate_error (context, error); goto error; } result_green = datatype_to_color_component (green, &error); if (error != NULL) { result_datatype = fo_expr_eval_propagate_error (context, error); goto error; } result_blue = datatype_to_color_component (blue, &error); if (error != NULL) { result_datatype = fo_expr_eval_propagate_error (context, error); goto error; } result_datatype = fo_color_new_with_value (result_red, result_green, result_blue); error: g_object_unref (red); g_object_unref (green); g_object_unref (blue); return result_datatype; } /** * fo_expr_func_round: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the round() XSL function * * numeric round(numeric) * * The round function returns the number that is closest to the * argument and that is an integer. If there are two such numbers, * then the one that is even is returned. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_round (FoExprContext *context, gint nargs) { FoDatatype *arg; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 1); arg = fo_expr_context_pop_stack (context); return fo_datatype_round (arg); } /** * fo_expr_func_sub: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the subtraction operation on XSL numerics by calling * #fo_datatype_mul. * * Return value: #FoDatatype, which could be an #FoError **/ FoDatatype* fo_expr_func_sub (FoExprContext *context, gint nargs) { FoDatatype *arg1; FoDatatype *arg2; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 2); arg2 = fo_expr_context_pop_stack (context); arg1 = fo_expr_context_pop_stack (context); return fo_datatype_sub (arg1, arg2); } /** * fo_expr_func_url: * @context: The expression context * @nargs: Number of arguments provided in the function call * * Implement the uri-specification XSL datatype * * url(...) * * It's not really an XSL function, but it does look like one. * * Return value: #FoDatatype, which could be an #FoError */ FoDatatype* fo_expr_func_url (FoExprContext *context, gint nargs) { FoDatatype *arg; FoDatatype *result_datatype = NULL; g_return_val_if_fail (context != NULL, NULL); CHECK_ARITY (context, 1); arg = fo_expr_context_pop_stack (context); if (FO_IS_STRING (arg)) { result_datatype = fo_uri_specification_new_with_value (fo_string_get_value (arg)); } else if (FO_IS_NAME (arg)) { result_datatype = fo_uri_specification_new_with_value (fo_name_get_value (arg)); } else { result_datatype = fo_expr_eval_new_error (context, FO_EXPR_EVAL_ERROR_INVALID_TYPE); } return result_datatype; } xmlroff-0.6.2/libfo/expr/fo-expr-func-private.h0000644000175000017500000000533711150536665016340 00000000000000/* Fo * fo-expr-func.h: XSL expression language functions * * Copyright (C) 1998-2002 Daniel Veillard. * Copyright (C) 2001-2002 Sun Microsystems. * All Rights Reserved. * * Based on an XSL expression language evaluator that was based on the * 'XML Path Language implementation' in 'xpath.c' from libxml2 by * Daniel Veillard. * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_EXPR_FUNC_PRIVATE_H__ #define __FO_EXPR_FUNC_PRIVATE_H__ #include #include G_BEGIN_DECLS FoDatatype* fo_expr_func_abs (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_add (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_body_start (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_ceiling (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_div (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_floor (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_from_nearest_specified_value (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_from_parent (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_from_table_column (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_inherited_property_value (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_label_end (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_max (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_min (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_mod (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_mul (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_pcw (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_pcw_prop (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_pcw_prop_fixed (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_rgb (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_round (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_sub (FoExprContext *context, gint nargs); FoDatatype* fo_expr_func_url (FoExprContext *context, gint nargs); G_END_DECLS #endif /* !__FO_EXPR_FUNC_PRIVATE_H__ */ xmlroff-0.6.2/libfo/expr/fo-xml-char-util.c0000644000175000017500000004521210643167443015436 00000000000000/* Fo * fo-xml-char-util.c: Utility macros and functions for XML names, etc. * * Copyright (C) 1998-2002 Daniel Veillard. * Copyright (C) 2001-2002 Sun Microsystems. * Copyright (C) 2007 Menteith Consulting Ltd * All Rights Reserved. * * Based on 'parserInternals.c' from libxml2 by Daniel Veillard. * * !See COPYING for the status of this software. **/ #include #include "fo-xml-char-util.h" /** * fo_is_char: * @c: an unicode character (gunichar) * * Check whether the character is allowed by the production * [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] * | [#x10000-#x10FFFF] * any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. * Also available as a macro IS_CHAR() * * Returns FALSE if not, TRUE otherwise */ gboolean fo_is_char (gunichar c) { return((((c) >= 0x20) && ((c) <= 0xD7FF)) || ((c) == 0x09) || ((c) == 0x0A) || ((c) == 0x0D) || (((c) >= 0xE000) && ((c) <= 0xFFFD)) || (((c) >= 0x10000) && ((c) <= 0x10FFFF))); } /** * fo_is_blank: * @c: an unicode character (gunichar) * * Check whether the character is allowed by the production * [3] S ::= (#x20 | #x9 | #xD | #xA)+ * Also available as a macro IS_BLANK() * * Returns FALSE if not, TRUE otherwise */ gboolean fo_is_blank (gunichar c) { return(((c) == 0x20) || ((c) == 0x09) || ((c) == 0xA) || ((c) == 0x0D)); } /** * fo_is_basechar: * @c: an unicode character (gunichar) * * Check whether the character is allowed by the production * [85] BaseChar ::= ... long list see REC ... * * VI is your friend ! * :1,$ s/\[#x\([0-9A-Z]*\)-#x\([0-9A-Z]*\)\]/ (((c) >= 0x\1) \&\& ((c) <= 0x\2)) ||/ * and * :1,$ s/#x\([0-9A-Z]*\)/ ((c) == 0x\1) ||/ * * Returns FALSE if not, TRUE otherwise */ static gunichar xmlBaseArray[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0000 - 0x000F */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0010 - 0x001F */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0020 - 0x002F */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0030 - 0x003F */ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 0x0040 - 0x004F */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, /* 0x0050 - 0x005F */ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 0x0060 - 0x006F */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, /* 0x0070 - 0x007F */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0080 - 0x008F */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0090 - 0x009F */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x00A0 - 0x00AF */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x00B0 - 0x00BF */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 0x00C0 - 0x00CF */ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, /* 0x00D0 - 0x00DF */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 0x00E0 - 0x00EF */ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, /* 0x00F0 - 0x00FF */ }; gboolean fo_is_basechar (gunichar c) { return((((c) < 0x0100) ? xmlBaseArray[c] : ( /* accelerator */ (((c) >= 0x0100) && ((c) <= 0x0131)) || (((c) >= 0x0134) && ((c) <= 0x013E)) || (((c) >= 0x0141) && ((c) <= 0x0148)) || (((c) >= 0x014A) && ((c) <= 0x017E)) || (((c) >= 0x0180) && ((c) <= 0x01C3)) || (((c) >= 0x01CD) && ((c) <= 0x01F0)) || (((c) >= 0x01F4) && ((c) <= 0x01F5)) || (((c) >= 0x01FA) && ((c) <= 0x0217)) || (((c) >= 0x0250) && ((c) <= 0x02A8)) || (((c) >= 0x02BB) && ((c) <= 0x02C1)) || ((c) == 0x0386) || (((c) >= 0x0388) && ((c) <= 0x038A)) || ((c) == 0x038C) || (((c) >= 0x038E) && ((c) <= 0x03A1)) || (((c) >= 0x03A3) && ((c) <= 0x03CE)) || (((c) >= 0x03D0) && ((c) <= 0x03D6)) || ((c) == 0x03DA) || ((c) == 0x03DC) || ((c) == 0x03DE) || ((c) == 0x03E0) || (((c) >= 0x03E2) && ((c) <= 0x03F3)) || (((c) >= 0x0401) && ((c) <= 0x040C)) || (((c) >= 0x040E) && ((c) <= 0x044F)) || (((c) >= 0x0451) && ((c) <= 0x045C)) || (((c) >= 0x045E) && ((c) <= 0x0481)) || (((c) >= 0x0490) && ((c) <= 0x04C4)) || (((c) >= 0x04C7) && ((c) <= 0x04C8)) || (((c) >= 0x04CB) && ((c) <= 0x04CC)) || (((c) >= 0x04D0) && ((c) <= 0x04EB)) || (((c) >= 0x04EE) && ((c) <= 0x04F5)) || (((c) >= 0x04F8) && ((c) <= 0x04F9)) || (((c) >= 0x0531) && ((c) <= 0x0556)) || ((c) == 0x0559) || (((c) >= 0x0561) && ((c) <= 0x0586)) || (((c) >= 0x05D0) && ((c) <= 0x05EA)) || (((c) >= 0x05F0) && ((c) <= 0x05F2)) || (((c) >= 0x0621) && ((c) <= 0x063A)) || (((c) >= 0x0641) && ((c) <= 0x064A)) || (((c) >= 0x0671) && ((c) <= 0x06B7)) || (((c) >= 0x06BA) && ((c) <= 0x06BE)) || (((c) >= 0x06C0) && ((c) <= 0x06CE)) || (((c) >= 0x06D0) && ((c) <= 0x06D3)) || ((c) == 0x06D5) || (((c) >= 0x06E5) && ((c) <= 0x06E6)) || (((c) >= 0x905) && ( /* accelerator */ (((c) >= 0x0905) && ((c) <= 0x0939)) || ((c) == 0x093D) || (((c) >= 0x0958) && ((c) <= 0x0961)) || (((c) >= 0x0985) && ((c) <= 0x098C)) || (((c) >= 0x098F) && ((c) <= 0x0990)) || (((c) >= 0x0993) && ((c) <= 0x09A8)) || (((c) >= 0x09AA) && ((c) <= 0x09B0)) || ((c) == 0x09B2) || (((c) >= 0x09B6) && ((c) <= 0x09B9)) || (((c) >= 0x09DC) && ((c) <= 0x09DD)) || (((c) >= 0x09DF) && ((c) <= 0x09E1)) || (((c) >= 0x09F0) && ((c) <= 0x09F1)) || (((c) >= 0x0A05) && ((c) <= 0x0A0A)) || (((c) >= 0x0A0F) && ((c) <= 0x0A10)) || (((c) >= 0x0A13) && ((c) <= 0x0A28)) || (((c) >= 0x0A2A) && ((c) <= 0x0A30)) || (((c) >= 0x0A32) && ((c) <= 0x0A33)) || (((c) >= 0x0A35) && ((c) <= 0x0A36)) || (((c) >= 0x0A38) && ((c) <= 0x0A39)) || (((c) >= 0x0A59) && ((c) <= 0x0A5C)) || ((c) == 0x0A5E) || (((c) >= 0x0A72) && ((c) <= 0x0A74)) || (((c) >= 0x0A85) && ((c) <= 0x0A8B)) || ((c) == 0x0A8D) || (((c) >= 0x0A8F) && ((c) <= 0x0A91)) || (((c) >= 0x0A93) && ((c) <= 0x0AA8)) || (((c) >= 0x0AAA) && ((c) <= 0x0AB0)) || (((c) >= 0x0AB2) && ((c) <= 0x0AB3)) || (((c) >= 0x0AB5) && ((c) <= 0x0AB9)) || ((c) == 0x0ABD) || ((c) == 0x0AE0) || (((c) >= 0x0B05) && ((c) <= 0x0B0C)) || (((c) >= 0x0B0F) && ((c) <= 0x0B10)) || (((c) >= 0x0B13) && ((c) <= 0x0B28)) || (((c) >= 0x0B2A) && ((c) <= 0x0B30)) || (((c) >= 0x0B32) && ((c) <= 0x0B33)) || (((c) >= 0x0B36) && ((c) <= 0x0B39)) || ((c) == 0x0B3D) || (((c) >= 0x0B5C) && ((c) <= 0x0B5D)) || (((c) >= 0x0B5F) && ((c) <= 0x0B61)) || (((c) >= 0x0B85) && ((c) <= 0x0B8A)) || (((c) >= 0x0B8E) && ((c) <= 0x0B90)) || (((c) >= 0x0B92) && ((c) <= 0x0B95)) || (((c) >= 0x0B99) && ((c) <= 0x0B9A)) || ((c) == 0x0B9C) || (((c) >= 0x0B9E) && ((c) <= 0x0B9F)) || (((c) >= 0x0BA3) && ((c) <= 0x0BA4)) || (((c) >= 0x0BA8) && ((c) <= 0x0BAA)) || (((c) >= 0x0BAE) && ((c) <= 0x0BB5)) || (((c) >= 0x0BB7) && ((c) <= 0x0BB9)) || (((c) >= 0x0C05) && ((c) <= 0x0C0C)) || (((c) >= 0x0C0E) && ((c) <= 0x0C10)) || (((c) >= 0x0C12) && ((c) <= 0x0C28)) || (((c) >= 0x0C2A) && ((c) <= 0x0C33)) || (((c) >= 0x0C35) && ((c) <= 0x0C39)) || (((c) >= 0x0C60) && ((c) <= 0x0C61)) || (((c) >= 0x0C85) && ((c) <= 0x0C8C)) || (((c) >= 0x0C8E) && ((c) <= 0x0C90)) || (((c) >= 0x0C92) && ((c) <= 0x0CA8)) || (((c) >= 0x0CAA) && ((c) <= 0x0CB3)) || (((c) >= 0x0CB5) && ((c) <= 0x0CB9)) || ((c) == 0x0CDE) || (((c) >= 0x0CE0) && ((c) <= 0x0CE1)) || (((c) >= 0x0D05) && ((c) <= 0x0D0C)) || (((c) >= 0x0D0E) && ((c) <= 0x0D10)) || (((c) >= 0x0D12) && ((c) <= 0x0D28)) || (((c) >= 0x0D2A) && ((c) <= 0x0D39)) || (((c) >= 0x0D60) && ((c) <= 0x0D61)) || (((c) >= 0x0E01) && ((c) <= 0x0E2E)) || ((c) == 0x0E30) || (((c) >= 0x0E32) && ((c) <= 0x0E33)) || (((c) >= 0x0E40) && ((c) <= 0x0E45)) || (((c) >= 0x0E81) && ((c) <= 0x0E82)) || ((c) == 0x0E84) || (((c) >= 0x0E87) && ((c) <= 0x0E88)) || ((c) == 0x0E8A) || ((c) == 0x0E8D) || (((c) >= 0x0E94) && ((c) <= 0x0E97)) || (((c) >= 0x0E99) && ((c) <= 0x0E9F)) || (((c) >= 0x0EA1) && ((c) <= 0x0EA3)) || ((c) == 0x0EA5) || ((c) == 0x0EA7) || (((c) >= 0x0EAA) && ((c) <= 0x0EAB)) || (((c) >= 0x0EAD) && ((c) <= 0x0EAE)) || ((c) == 0x0EB0) || (((c) >= 0x0EB2) && ((c) <= 0x0EB3)) || ((c) == 0x0EBD) || (((c) >= 0x0EC0) && ((c) <= 0x0EC4)) || (((c) >= 0x0F40) && ((c) <= 0x0F47)) || (((c) >= 0x0F49) && ((c) <= 0x0F69)) || (((c) >= 0x10A0) && ( /* accelerator */ (((c) >= 0x10A0) && ((c) <= 0x10C5)) || (((c) >= 0x10D0) && ((c) <= 0x10F6)) || ((c) == 0x1100) || (((c) >= 0x1102) && ((c) <= 0x1103)) || (((c) >= 0x1105) && ((c) <= 0x1107)) || ((c) == 0x1109) || (((c) >= 0x110B) && ((c) <= 0x110C)) || (((c) >= 0x110E) && ((c) <= 0x1112)) || ((c) == 0x113C) || ((c) == 0x113E) || ((c) == 0x1140) || ((c) == 0x114C) || ((c) == 0x114E) || ((c) == 0x1150) || (((c) >= 0x1154) && ((c) <= 0x1155)) || ((c) == 0x1159) || (((c) >= 0x115F) && ((c) <= 0x1161)) || ((c) == 0x1163) || ((c) == 0x1165) || ((c) == 0x1167) || ((c) == 0x1169) || (((c) >= 0x116D) && ((c) <= 0x116E)) || (((c) >= 0x1172) && ((c) <= 0x1173)) || ((c) == 0x1175) || ((c) == 0x119E) || ((c) == 0x11A8) || ((c) == 0x11AB) || (((c) >= 0x11AE) && ((c) <= 0x11AF)) || (((c) >= 0x11B7) && ((c) <= 0x11B8)) || ((c) == 0x11BA) || (((c) >= 0x11BC) && ((c) <= 0x11C2)) || ((c) == 0x11EB) || ((c) == 0x11F0) || ((c) == 0x11F9) || (((c) >= 0x1E00) && ((c) <= 0x1E9B)) || (((c) >= 0x1EA0) && ((c) <= 0x1EF9)) || (((c) >= 0x1F00) && ((c) <= 0x1F15)) || (((c) >= 0x1F18) && ((c) <= 0x1F1D)) || (((c) >= 0x1F20) && ((c) <= 0x1F45)) || (((c) >= 0x1F48) && ((c) <= 0x1F4D)) || (((c) >= 0x1F50) && ((c) <= 0x1F57)) || ((c) == 0x1F59) || ((c) == 0x1F5B) || ((c) == 0x1F5D) || (((c) >= 0x1F5F) && ((c) <= 0x1F7D)) || (((c) >= 0x1F80) && ((c) <= 0x1FB4)) || (((c) >= 0x1FB6) && ((c) <= 0x1FBC)) || ((c) == 0x1FBE) || (((c) >= 0x1FC2) && ((c) <= 0x1FC4)) || (((c) >= 0x1FC6) && ((c) <= 0x1FCC)) || (((c) >= 0x1FD0) && ((c) <= 0x1FD3)) || (((c) >= 0x1FD6) && ((c) <= 0x1FDB)) || (((c) >= 0x1FE0) && ((c) <= 0x1FEC)) || (((c) >= 0x1FF2) && ((c) <= 0x1FF4)) || (((c) >= 0x1FF6) && ((c) <= 0x1FFC)) || ((c) == 0x2126) || (((c) >= 0x212A) && ((c) <= 0x212B)) || ((c) == 0x212E) || (((c) >= 0x2180) && ((c) <= 0x2182)) || (((c) >= 0x3041) && ((c) <= 0x3094)) || (((c) >= 0x30A1) && ((c) <= 0x30FA)) || (((c) >= 0x3105) && ((c) <= 0x312C)) || (((c) >= 0xAC00) && ((c) <= 0xD7A3))) /* accelerators */ )))))); } /** * fo_is_digit: * @c: an unicode character (gunichar) * * Check whether the character is allowed by the production * [88] Digit ::= ... long list see REC ... * * Returns FALSE if not, TRUE otherwise */ gboolean fo_is_digit (gunichar c) { return( (((c) >= 0x0030) && ((c) <= 0x0039)) || (((c) >= 0x660) && ( /* accelerator */ (((c) >= 0x0660) && ((c) <= 0x0669)) || (((c) >= 0x06F0) && ((c) <= 0x06F9)) || (((c) >= 0x0966) && ((c) <= 0x096F)) || (((c) >= 0x09E6) && ((c) <= 0x09EF)) || (((c) >= 0x0A66) && ((c) <= 0x0A6F)) || (((c) >= 0x0AE6) && ((c) <= 0x0AEF)) || (((c) >= 0x0B66) && ((c) <= 0x0B6F)) || (((c) >= 0x0BE7) && ((c) <= 0x0BEF)) || (((c) >= 0x0C66) && ((c) <= 0x0C6F)) || (((c) >= 0x0CE6) && ((c) <= 0x0CEF)) || (((c) >= 0x0D66) && ((c) <= 0x0D6F)) || (((c) >= 0x0E50) && ((c) <= 0x0E59)) || (((c) >= 0x0ED0) && ((c) <= 0x0ED9)) || (((c) >= 0x0F20) && ((c) <= 0x0F29))) /* accelerator */ )); } /** * fo_is_Combining: * @c: an unicode character (gunichar) * * Check whether the character is allowed by the production * [87] CombiningChar ::= ... long list see REC ... * * Returns FALSE if not, TRUE otherwise */ gboolean fo_is_combining (gunichar c) { return( (((c) >= 0x300) && ( /* accelerator */ (((c) >= 0x0300) && ((c) <= 0x0345)) || (((c) >= 0x0360) && ((c) <= 0x0361)) || (((c) >= 0x0483) && ((c) <= 0x0486)) || (((c) >= 0x0591) && ((c) <= 0x05A1)) || (((c) >= 0x05A3) && ((c) <= 0x05B9)) || (((c) >= 0x05BB) && ((c) <= 0x05BD)) || ((c) == 0x05BF) || (((c) >= 0x05C1) && ((c) <= 0x05C2)) || ((c) == 0x05C4) || (((c) >= 0x064B) && ((c) <= 0x0652)) || ((c) == 0x0670) || (((c) >= 0x06D6) && ((c) <= 0x06DC)) || (((c) >= 0x06DD) && ((c) <= 0x06DF)) || (((c) >= 0x06E0) && ((c) <= 0x06E4)) || (((c) >= 0x06E7) && ((c) <= 0x06E8)) || (((c) >= 0x06EA) && ((c) <= 0x06ED)) || (((c) >= 0x0901) && ( /* accelerator */ (((c) >= 0x0901) && ((c) <= 0x0903)) || ((c) == 0x093C) || (((c) >= 0x093E) && ((c) <= 0x094C)) || ((c) == 0x094D) || (((c) >= 0x0951) && ((c) <= 0x0954)) || (((c) >= 0x0962) && ((c) <= 0x0963)) || (((c) >= 0x0981) && ((c) <= 0x0983)) || ((c) == 0x09BC) || ((c) == 0x09BE) || ((c) == 0x09BF) || (((c) >= 0x09C0) && ((c) <= 0x09C4)) || (((c) >= 0x09C7) && ((c) <= 0x09C8)) || (((c) >= 0x09CB) && ((c) <= 0x09CD)) || ((c) == 0x09D7) || (((c) >= 0x09E2) && ((c) <= 0x09E3)) || (((c) >= 0x0A02) && ( /* accelerator */ ((c) == 0x0A02) || ((c) == 0x0A3C) || ((c) == 0x0A3E) || ((c) == 0x0A3F) || (((c) >= 0x0A40) && ((c) <= 0x0A42)) || (((c) >= 0x0A47) && ((c) <= 0x0A48)) || (((c) >= 0x0A4B) && ((c) <= 0x0A4D)) || (((c) >= 0x0A70) && ((c) <= 0x0A71)) || (((c) >= 0x0A81) && ((c) <= 0x0A83)) || ((c) == 0x0ABC) || (((c) >= 0x0ABE) && ((c) <= 0x0AC5)) || (((c) >= 0x0AC7) && ((c) <= 0x0AC9)) || (((c) >= 0x0ACB) && ((c) <= 0x0ACD)) || (((c) >= 0x0B01) && ((c) <= 0x0B03)) || ((c) == 0x0B3C) || (((c) >= 0x0B3E) && ((c) <= 0x0B43)) || (((c) >= 0x0B47) && ((c) <= 0x0B48)) || (((c) >= 0x0B4B) && ((c) <= 0x0B4D)) || (((c) >= 0x0B56) && ((c) <= 0x0B57)) || (((c) >= 0x0B82) && ((c) <= 0x0B83)) || (((c) >= 0x0BBE) && ((c) <= 0x0BC2)) || (((c) >= 0x0BC6) && ((c) <= 0x0BC8)) || (((c) >= 0x0BCA) && ((c) <= 0x0BCD)) || ((c) == 0x0BD7) || (((c) >= 0x0C01) && ((c) <= 0x0C03)) || (((c) >= 0x0C3E) && ((c) <= 0x0C44)) || (((c) >= 0x0C46) && ((c) <= 0x0C48)) || (((c) >= 0x0C4A) && ((c) <= 0x0C4D)) || (((c) >= 0x0C55) && ((c) <= 0x0C56)) || (((c) >= 0x0C82) && ((c) <= 0x0C83)) || (((c) >= 0x0CBE) && ((c) <= 0x0CC4)) || (((c) >= 0x0CC6) && ((c) <= 0x0CC8)) || (((c) >= 0x0CCA) && ((c) <= 0x0CCD)) || (((c) >= 0x0CD5) && ((c) <= 0x0CD6)) || (((c) >= 0x0D02) && ((c) <= 0x0D03)) || (((c) >= 0x0D3E) && ((c) <= 0x0D43)) || (((c) >= 0x0D46) && ((c) <= 0x0D48)) || (((c) >= 0x0D4A) && ((c) <= 0x0D4D)) || ((c) == 0x0D57) || (((c) >= 0x0E31) && ( /* accelerator */ ((c) == 0x0E31) || (((c) >= 0x0E34) && ((c) <= 0x0E3A)) || (((c) >= 0x0E47) && ((c) <= 0x0E4E)) || ((c) == 0x0EB1) || (((c) >= 0x0EB4) && ((c) <= 0x0EB9)) || (((c) >= 0x0EBB) && ((c) <= 0x0EBC)) || (((c) >= 0x0EC8) && ((c) <= 0x0ECD)) || (((c) >= 0x0F18) && ((c) <= 0x0F19)) || ((c) == 0x0F35) || ((c) == 0x0F37) || ((c) == 0x0F39) || ((c) == 0x0F3E) || ((c) == 0x0F3F) || (((c) >= 0x0F71) && ((c) <= 0x0F84)) || (((c) >= 0x0F86) && ((c) <= 0x0F8B)) || (((c) >= 0x0F90) && ((c) <= 0x0F95)) || ((c) == 0x0F97) || (((c) >= 0x0F99) && ((c) <= 0x0FAD)) || (((c) >= 0x0FB1) && ((c) <= 0x0FB7)) || ((c) == 0x0FB9) || (((c) >= 0x20D0) && ((c) <= 0x20DC)) || ((c) == 0x20E1) || (((c) >= 0x302A) && ((c) <= 0x302F)) || ((c) == 0x3099) || ((c) == 0x309A)))))))))); } /** * fo_is_extender: * @c: an unicode character (gunichar) * * Check whether the character is allowed by the production * [89] Extender ::= #x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 | * #x0E46 | #x0EC6 | #x3005 | [#x3031-#x3035] | * [#x309D-#x309E] | [#x30FC-#x30FE] * * Returns FALSE if not, TRUE otherwise */ gboolean fo_is_extender (gunichar c) { switch (c) { case 0x00B7: case 0x02D0: case 0x02D1: case 0x0387: case 0x0640: case 0x0E46: case 0x0EC6: case 0x3005: case 0x3031: case 0x3032: case 0x3033: case 0x3034: case 0x3035: case 0x309D: case 0x309E: case 0x30FC: case 0x30FD: case 0x30FE: return 1; default: return 0; } } /** * fo_is_ideographic: * @c: an unicode character (gunichar) * * Check whether the character is allowed by the production * [86] Ideographic ::= [#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029] * * Returns FALSE if not, TRUE otherwise */ gboolean fo_is_ideographic (gunichar c) { return(((c) < 0x0100) ? 0 : (((c) >= 0x4e00) && ((c) <= 0x9fa5)) || (((c) >= 0xf900) && ((c) <= 0xfa2d)) || (((c) >= 0x3021) && ((c) <= 0x3029)) || ((c) == 0x3007)); } /** * fo_is_letter: * @c: an unicode character (gunichar) * * Check whether the character is allowed by the production * [84] Letter ::= BaseChar | Ideographic * * Returns FALSE if not, TRUE otherwise */ gboolean fo_is_letter (gunichar c) { return(IS_BASECHAR(c) || IS_IDEOGRAPHIC(c)); } xmlroff-0.6.2/libfo/expr/fo-xml-char-util.h0000644000175000017500000000626510643167443015450 00000000000000/* Fo * fo-xml-char-util.h: Utility macros and functions for XML names, etc. * * Copyright (C) 1998-2002 Daniel Veillard. * Copyright (C) 2001-2002 Sun Microsystems. * All Rights Reserved. * Copyright (C) 2007 Menteith Consulting Ltd * * Based on 'parserInternals.h' from libxml2 by Daniel Veillard. * * !See COPYING for the status of this software. **/ /************************************************************************ * * * UNICODE version of the macros. * * * ************************************************************************/ /** * IS_CHAR: * @c: an UNICODE value (gunichar) * * Macro to check the following production in the XML spec: * * [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] * | [#x10000-#x10FFFF] * any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. */ #define IS_CHAR(c) \ ((((c) >= 0x20) && ((c) <= 0xD7FF)) || \ ((c) == 0x09) || ((c) == 0x0A) || ((c) == 0x0D) || \ (((c) >= 0xE000) && ((c) <= 0xFFFD)) || \ (((c) >= 0x10000) && ((c) <= 0x10FFFF))) /** * IS_BLANK: * @c: an UNICODE value (gunichar) * * Macro to check the following production in the XML spec: * * [3] S ::= (#x20 | #x9 | #xD | #xA)+ */ #define IS_BLANK(c) (((c) == 0x20) || ((c) == 0x09) || ((c) == 0xA) || \ ((c) == 0x0D)) /** * IS_BASECHAR: * @c: an UNICODE value (gunichar) * * Macro to check the following production in the XML spec: * * [85] BaseChar ::= ... long list see REC ... */ #define IS_BASECHAR(c) fo_is_basechar(c) /** * IS_DIGIT: * @c: an UNICODE value (gunichar) * * Macro to check the following production in the XML spec: * * [88] Digit ::= ... long list see REC ... */ #define IS_DIGIT(c) fo_is_digit(c) /** * IS_COMBINING: * @c: an UNICODE value (gunichar) * * Macro to check the following production in the XML spec: * * [87] CombiningChar ::= ... long list see REC ... */ #define IS_COMBINING(c) fo_is_combining(c) /** * IS_EXTENDER: * @c: an UNICODE value (gunichar) * * Macro to check the following production in the XML spec: * * * [89] Extender ::= #x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 | * #x0E46 | #x0EC6 | #x3005 | [#x3031-#x3035] | * [#x309D-#x309E] | [#x30FC-#x30FE] */ #define IS_EXTENDER(c) fo_is_extender(c) /** * IS_IDEOGRAPHIC: * @c: an UNICODE value (gunichar) * * Macro to check the following production in the XML spec: * * * [86] Ideographic ::= [#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029] */ #define IS_IDEOGRAPHIC(c) fo_is_ideographic(c) /** * IS_LETTER: * @c: an UNICODE value (gunichar) * * Macro to check the following production in the XML spec: * * * [84] Letter ::= BaseChar | Ideographic */ #define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c)) /* * Function to finish the work of the macros where needed. */ gboolean fo_is_basechar (gunichar c); gboolean fo_is_blank (gunichar c); gboolean fo_is_letter (gunichar c); gboolean fo_is_digit (gunichar c); gboolean fo_is_ideographic (gunichar c); gboolean fo_is_extender (gunichar c); gboolean fo_is_combining (gunichar c); gboolean fo_is_char (gunichar c); xmlroff-0.6.2/libfo/util/0000777000175000017500000000000011156164727012263 500000000000000xmlroff-0.6.2/libfo/util/fo-hash-table.h0000644000175000017500000000346510643167443014770 00000000000000/* Fo * fo-hash_table.h: HashTable hash_table * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_HASH_TABLE_H__ #define __FO_HASH_TABLE_H__ #include #include G_BEGIN_DECLS #define FO_TYPE_HASH_TABLE (fo_hash_table_get_type ()) #define FO_HASH_TABLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_HASH_TABLE, FoHashTable)) #define FO_HASH_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_HASH_TABLE, FoHashTableClass)) #define FO_IS_HASH_TABLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_HASH_TABLE)) #define FO_IS_HASH_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_HASH_TABLE)) #define FO_HASH_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_HASH_TABLE, FoHashTableClass)) typedef struct _FoHashTable FoHashTable; typedef struct _FoHashTableClass FoHashTableClass; #define FO_HASH_TABLE_ERROR fo_hash_table_error_quark () GQuark fo_hash_table_error_quark (void); GType fo_hash_table_get_type (void) G_GNUC_CONST; FoHashTable * fo_hash_table_new (void); void fo_hash_table_insert (FoHashTable *fo_hash_table, FoObject *key, FoObject *value, GError **error); void fo_hash_table_replace (FoHashTable *fo_hash_table, FoObject *key, FoObject *value, GError **error); gboolean fo_hash_table_remove (FoHashTable *fo_hash_table, FoObject *key, GError **error); FoObject * fo_hash_table_lookup (FoHashTable *fo_hash_table, FoObject *key, GError **error); guint fo_hash_table_size (FoHashTable *fo_hash_table); G_END_DECLS #endif /* !__FO_HASH_TABLE_H__ */ xmlroff-0.6.2/libfo/util/fo-image.h0000644000175000017500000000275310643167443014041 00000000000000/* Fo * fo-image.h: Boxed object type for GDK image * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_IMAGE_H__ #define __FO_IMAGE_H__ #include #include #include G_BEGIN_DECLS #define FO_TYPE_IMAGE (fo_image_get_type ()) #define FO_IMAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_IMAGE, FoImage)) #define FO_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_IMAGE, FoImageClass)) #define FO_IS_IMAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_IMAGE)) #define FO_IS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_IMAGE)) #define FO_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_IMAGE, FoImageClass)) typedef struct _FoImage FoImage; typedef struct _FoImageClass FoImageClass; #define FO_TYPE_IMAGE (fo_image_get_type ()) #define FO_IS_IMAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_IMAGE)) GType fo_image_get_type (void); FoImage * fo_image_new (void); FoImage * fo_image_new_from_uri (const gchar *uri, const gchar *base); const gchar * fo_image_get_uri (FoImage *fo_image); FoDatatype * fo_image_get_width (const FoImage *fo_image); FoDatatype * fo_image_get_height (const FoImage *fo_image); G_END_DECLS #endif /* !__FO_IMAGE_H__ */ xmlroff-0.6.2/libfo/util/fo-pixbuf.h0000644000175000017500000000255210643167443014251 00000000000000/* Fo * fo-pixbuf.h: Interface for getting GdkPixbuf contained by an object. * * Copyright (C) 2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #ifndef __FO_PIXBUF_H__ #define __FO_PIXBUF_H__ #include #include #include G_BEGIN_DECLS #define FO_TYPE_PIXBUF (fo_pixbuf_get_type ()) #define FO_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FO_TYPE_PIXBUF, FoPixbuf)) #define FO_PIXBUF_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_PIXBUF, FoPixbufIface)) #define FO_IS_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FO_TYPE_PIXBUF)) #define FO_PIXBUF_GET_IFACE(obj) ((FoPixbufIface *)g_type_interface_peek (((GTypeInstance *) FO_PIXBUF (obj))->g_class, FO_TYPE_PIXBUF)) typedef struct _FoPixbuf FoPixbuf; /* Dummy typedef */ typedef struct _FoPixbufIface FoPixbufIface; struct _FoPixbufIface { GTypeInterface g_iface; GdkPixbuf * (*get_pixbuf) (FoImage *fo_image); void (*set_pixbuf) (FoImage *fo_image, GdkPixbuf *pixbuf); }; GType fo_pixbuf_get_type (void) G_GNUC_CONST; GdkPixbuf * fo_pixbuf_get_pixbuf (FoImage *fo_image); void fo_pixbuf_set_pixbuf (FoImage *fo_image, GdkPixbuf *pixbuf); G_END_DECLS #endif /* !__FO_PIXBUF_H__ */ xmlroff-0.6.2/libfo/util/Makefile.am0000644000175000017500000000106210770023367014225 00000000000000## Process this file with automake to produce Makefile.in INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(GLIB_CFLAGS) \ $(LIBXSLT_CFLAGS) \ $(GDKPIXBUF_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-util.la libfo_util_includedir = $(includedir)/libfo-0.6/libfo/util libfo_util_include_HEADERS = \ fo-hash-table.h \ fo-image.h \ fo-pixbuf.h libfo_util_la_SOURCES = \ $(libfo_util_include_HEADERS) \ fo-hash-table.c \ fo-image.c \ fo-pixbuf.c libfo_util_la_LIBADD = $(GDKPIXBUF_LIBS) $(LIBXSLT_LIBS) xmlroff-0.6.2/libfo/util/Makefile.in0000644000175000017500000004331311155246041014235 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libfo/util DIST_COMMON = $(libfo_util_include_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = libfo_util_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) am__objects_1 = am_libfo_util_la_OBJECTS = $(am__objects_1) fo-hash-table.lo \ fo-image.lo fo-pixbuf.lo libfo_util_la_OBJECTS = $(am_libfo_util_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libfo_util_la_SOURCES) DIST_SOURCES = $(libfo_util_la_SOURCES) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libfo_util_includedir)" libfo_util_includeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(libfo_util_include_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(GLIB_CFLAGS) \ $(LIBXSLT_CFLAGS) \ $(GDKPIXBUF_CFLAGS) \ -I.. LDADDS = @STRIP_BEGIN@ \ @GLIB_LIBS@ \ @STRIP_END@ noinst_LTLIBRARIES = libfo-util.la libfo_util_includedir = $(includedir)/libfo-0.6/libfo/util libfo_util_include_HEADERS = \ fo-hash-table.h \ fo-image.h \ fo-pixbuf.h libfo_util_la_SOURCES = \ $(libfo_util_include_HEADERS) \ fo-hash-table.c \ fo-image.c \ fo-pixbuf.c libfo_util_la_LIBADD = $(GDKPIXBUF_LIBS) $(LIBXSLT_LIBS) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libfo/util/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu libfo/util/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libfo-util.la: $(libfo_util_la_OBJECTS) $(libfo_util_la_DEPENDENCIES) $(LINK) $(libfo_util_la_LDFLAGS) $(libfo_util_la_OBJECTS) $(libfo_util_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-hash-table.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-image.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fo-pixbuf.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-libfo_util_includeHEADERS: $(libfo_util_include_HEADERS) @$(NORMAL_INSTALL) test -z "$(libfo_util_includedir)" || $(mkdir_p) "$(DESTDIR)$(libfo_util_includedir)" @list='$(libfo_util_include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(libfo_util_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libfo_util_includedir)/$$f'"; \ $(libfo_util_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libfo_util_includedir)/$$f"; \ done uninstall-libfo_util_includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(libfo_util_include_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(libfo_util_includedir)/$$f'"; \ rm -f "$(DESTDIR)$(libfo_util_includedir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(libfo_util_includedir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-libfo_util_includeHEADERS install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-libfo_util_includeHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am \ install-libfo_util_includeHEADERS install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-info-am \ uninstall-libfo_util_includeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/libfo/util/fo-hash-table.c0000644000175000017500000001737410646474231014766 00000000000000/* Fo * fo-hashtable.c: HashTable hashtable * * Copyright (C) 2001 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include #include "fo-utils.h" #include "fo-hash-table.h" struct _FoHashTable { FoObject parent_instance; GHashTable *hash_table; }; struct _FoHashTableClass { FoObjectClass parent_class; }; static void fo_hash_table_class_init (FoHashTableClass *klass); static void fo_hash_table_finalize (GObject *object); static guint fo_hash_table_hash_func (gconstpointer key); static gboolean fo_hash_table_key_equal_func (gconstpointer a, gconstpointer b); static void fo_hash_table_destroy_func (gpointer data); static gpointer parent_class; /** * fo_hash_table_get_type: * * Register the #FoHashTable object type. * * Return value: #GType value of the #FoHashTable object type. **/ GType fo_hash_table_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoHashTableClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_hash_table_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoHashTable), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoHashTable", &object_info, 0); } return object_type; } /** * fo_hash_table_class_init: * @klass: #FoHashTableClass object to initialise. * * Implements #GClassInitFunc for #FoHashTableClass. **/ void fo_hash_table_class_init (FoHashTableClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_hash_table_finalize; } /** * fo_hash_table_finalize: * @object: #FoHashTable object to finalize. * * Implements #GObjectFinalizeFunc for #FoHashTable. **/ void fo_hash_table_finalize (GObject *object) { FoHashTable *fo_hash_table; fo_hash_table = FO_HASH_TABLE (object); g_hash_table_destroy(fo_hash_table->hash_table); G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_hash_table_new: * * Creates a new #FoHashTable initialized to default value. * * Return value: the new #FoHashTable **/ FoHashTable * fo_hash_table_new (void) { FoHashTable *fo_hash_table; fo_hash_table = FO_HASH_TABLE (g_object_new (fo_hash_table_get_type (), NULL)); fo_hash_table->hash_table = g_hash_table_new_full(fo_hash_table_hash_func, fo_hash_table_key_equal_func, fo_hash_table_destroy_func, fo_hash_table_destroy_func); return fo_hash_table; } /** * fo_hash_table_destroy_func: * @data: Data to be destroyed. * * #GDestroyNotify function called when a key or value is removed from * a #FoHashTable. **/ void fo_hash_table_destroy_func (gpointer data) { if ((data != NULL) && FO_IS_OBJECT (data)) { g_object_unref(data); } } /** * fo_hash_table_hash_func: * @key: Key to hash. * * Creates the hash code for @key using the 'hash' function for the * #FoObject class type of @key. * * Return value: Hash code for @key. **/ guint fo_hash_table_hash_func (gconstpointer key) { guint result = 0; if ((key != NULL) && (FO_IS_OBJECT (key))) { result = FO_OBJECT_GET_CLASS (key)->hash_func (key); } return result; } /** * fo_hash_table_key_equal_func: * @a: First key to compare. * @b: Second key to compare. * * Compares @a and @b using the 'equal' function of the #FoObject * class type of @a. * * Return value: %TRUE if @a and @b are equal. **/ gboolean fo_hash_table_key_equal_func (gconstpointer a, gconstpointer b) { return FO_OBJECT_GET_CLASS (a)->equal_func (a, b); } /** * fo_hash_table_insert: * @fo_hash_table: #FoHashTable in which to insert. * @key: Key at which to insert. * @value: Value to insert. * @error: #GError with information about error that occurred. * * Inserts @value as the value corresponding to @key in * @fo_hash_table. **/ void fo_hash_table_insert (FoHashTable *fo_hash_table, FoObject *key, FoObject *value, GError **error G_GNUC_UNUSED) { g_return_if_fail (fo_hash_table != NULL); g_return_if_fail (FO_IS_HASH_TABLE (fo_hash_table)); g_return_if_fail (key != NULL); g_return_if_fail (FO_IS_OBJECT (value)); g_hash_table_insert (fo_hash_table->hash_table, g_object_ref(key), g_object_ref(value)); } /** * fo_hash_table_replace: * @fo_hash_table: #FoHashTable in which to replace. * @key: Key of key-value pair to replace. * @value: New value. * @error: #GError with information about error that occurred. * * Replaces the key-value pair in @fo_hash_table that has a key * matching @key. **/ void fo_hash_table_replace (FoHashTable *fo_hash_table, FoObject *key, FoObject *value, GError **error G_GNUC_UNUSED) { g_return_if_fail (fo_hash_table != NULL); g_return_if_fail (FO_IS_HASH_TABLE (fo_hash_table)); g_return_if_fail (key != NULL); g_return_if_fail (FO_IS_OBJECT (key)); g_hash_table_replace (fo_hash_table->hash_table, g_object_ref(key), g_object_ref(value)); } /** * fo_hash_table_remove: * @fo_hash_table: #FoHashTable from which to remove a key-value pair. * @key: Key of pair to remove. * @error: #GError with information about error that occurred. * * Removes the key-value pair with key matching @key from * @fo_hash_table. * * Return value: %TRUE is successful. **/ gboolean fo_hash_table_remove (FoHashTable *fo_hash_table, FoObject *key, GError **error G_GNUC_UNUSED) { g_return_val_if_fail (fo_hash_table != NULL, FALSE); g_return_val_if_fail (FO_IS_HASH_TABLE (fo_hash_table), FALSE); g_return_val_if_fail (key != NULL, FALSE); g_return_val_if_fail (FO_IS_OBJECT (key), FALSE); return g_hash_table_remove (fo_hash_table->hash_table, g_object_ref(key)); } /** * fo_hash_table_lookup: * @fo_hash_table: #FoHashTable in which to look. * @key: Key value against which to compare. * @error: #GError with information about error that occurred. * * Gets the value associated with @key in @fo_hash_table. * * Return value: The value, or %NULL if no matching key. **/ FoObject * fo_hash_table_lookup (FoHashTable *fo_hash_table, FoObject *key, GError **error G_GNUC_UNUSED) { g_return_val_if_fail (fo_hash_table != NULL, NULL); g_return_val_if_fail (FO_IS_HASH_TABLE (fo_hash_table), NULL); g_return_val_if_fail (key != NULL, NULL); g_return_val_if_fail (FO_IS_OBJECT (key), NULL); return g_hash_table_lookup (fo_hash_table->hash_table, key); } /** * fo_hash_table_size: * @fo_hash_table: #FoHashTable for which to get size. * * Gets the number of key-value pairs in @fo_hash_table. * * Return value: Number of key-value pairs. **/ guint fo_hash_table_size (FoHashTable *fo_hash_table) { return g_hash_table_size(fo_hash_table->hash_table); } /** * fo_hash_table_error_quark: * * Get the error quark for #FoHashTable. * * If the quark does not yet exist, create it. * * Return value: Quark associated with #FoHashTable errors. **/ GQuark fo_hash_table_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("FoHashTable error"); return quark; } const char *fo_hash_table_error_messages [] = { N_("Invalid hash_table for context."), }; xmlroff-0.6.2/libfo/util/fo-image.c0000644000175000017500000001752511006427536014033 00000000000000/* Fo * fo-image.c: Object representing an image. * * Copyright (C) 2003 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-image.h" #include "fo-pixbuf.h" #include "fo-utils.h" #include "datatype/fo-length.h" #include struct _FoImage { FoObject parent_instance; GdkPixbuf *pixbuf; gchar *uri; FoDatatype *width; FoDatatype *height; }; struct _FoImageClass { FoObjectClass parent_class; }; static void fo_image_class_init (FoImageClass *klass); static void fo_image_pixbuf_init (FoPixbufIface *iface); static void fo_image_finalize (GObject *object); static void fo_image_debug_dump (FoObject *object, gint depth); static void fo_image_set_uri (FoImage *fo_image, const gchar *uri); static GdkPixbuf * fo_image_get_pixbuf (FoImage *fo_image); static void fo_image_set_pixbuf (FoImage *fo_image, GdkPixbuf *pixbuf); static gpointer parent_class; /** * fo_image_get_type: * * Register the #FoImage object type. * * Return value: #GType value of the #FoImage object type. **/ GType fo_image_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoImageClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_image_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (FoImage), 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; static const GInterfaceInfo fo_pixbuf_info = { (GInterfaceInitFunc) fo_image_pixbuf_init, /* interface_init */ NULL, NULL }; object_type = g_type_register_static (FO_TYPE_OBJECT, "FoImage", &object_info, 0); g_type_add_interface_static (object_type, FO_TYPE_PIXBUF, &fo_pixbuf_info); } return object_type; } /** * fo_image_class_init: * @klass: #FoImageClass object to initialise. * * Implements #GClassInitFunc for #FoHashTableClass. **/ void fo_image_class_init (FoImageClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoObjectClass *fo_object_class = FO_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); object_class->finalize = fo_image_finalize; fo_object_class->debug_dump = fo_image_debug_dump; } /** * fo_image_pixbuf_init: * @iface: #FoPixbufIFace structure for this class. * * Initialize #FoPixbufIface interface for this class. **/ void fo_image_pixbuf_init (FoPixbufIface *iface) { iface->get_pixbuf = fo_image_get_pixbuf; iface->set_pixbuf = fo_image_set_pixbuf; } /** * fo_image_finalize: * @object: #FoImage object to finalize. * * Implements #GObjectFinalizeFunc for #FoImage. **/ void fo_image_finalize (GObject *object) { FoImage *fo_image; fo_image = FO_IMAGE (object); g_free (fo_image->uri); if (fo_image->pixbuf != NULL) { g_object_unref (fo_image->pixbuf); fo_image->pixbuf = NULL; } if (fo_image->width != NULL) { g_object_unref (fo_image->width); fo_image->width = NULL; } if (fo_image->height != NULL) { g_object_unref (fo_image->height); fo_image->height = NULL; } G_OBJECT_CLASS (parent_class)->finalize (object); } /** * fo_image_new: * * Creates a new #FoImage. * * Return value: the newly created #FoImage. **/ FoImage * fo_image_new (void) { FoImage *fo_image; fo_image = FO_IMAGE (g_object_new (fo_image_get_type (), NULL)); return fo_image; } /** * fo_image_new_from_uri: * @uri: URI of image. * @base: Base URI for resolving relative URI @uri values. * * Creates a new #FoImage from the resource at @uri. * * If @uri is a relative URI, it is resolved relative to @base. * * Return value: the newly created #FoImageo or #NULL. **/ FoImage * fo_image_new_from_uri (const gchar *uri, const gchar *base) { FoImage *fo_image; gchar *resolved_uri; fo_image = FO_IMAGE (g_object_new (fo_image_get_type (), NULL)); resolved_uri = (gchar *) xmlBuildURI ((const xmlChar *) uri, (const xmlChar *) base); fo_image_set_uri (fo_image, resolved_uri); xmlFree ((xmlChar *) resolved_uri); return fo_image_get_pixbuf (fo_image) != NULL ? fo_image : NULL; } /** * fo_image_get_pixbuf: * @fo_image: #FoImage * * Get the #GdkPixbuf in @fo_image. * * Return value: #GdkPixbuf. **/ GdkPixbuf * fo_image_get_pixbuf (FoImage *fo_image) { g_return_val_if_fail (fo_image != NULL, NULL); return fo_image->pixbuf; } /** * fo_image_set_pixbuf: * @fo_image: #FoImage. * @pixbuf: #GdkPixbuf. * * Set the output #GdkPixbuf in @fo_image. **/ void fo_image_set_pixbuf (FoImage *fo_image, GdkPixbuf *pixbuf) { g_return_if_fail (fo_image != NULL); fo_image->pixbuf = pixbuf; } /** * fo_image_get_uri: * @fo_image: #FoImage * * Get the URI in @fo_image. * * Return value: URI of image to make @fo_image. **/ const gchar * fo_image_get_uri (FoImage *fo_image) { g_return_val_if_fail (fo_image != NULL, NULL); return fo_image->uri; } /** * fo_image_set_uri: * @fo_image: #FoImage * @uri: URI of image. * * Set the URI of image in @fo_image. **/ void fo_image_set_uri (FoImage *fo_image, const gchar *uri) { GError *error; g_return_if_fail (fo_image != NULL); fo_image->uri = g_strdup (uri); /* Load the image into a pixbuf */ error = NULL; fo_image->pixbuf = gdk_pixbuf_new_from_file (uri, &error); if (error != NULL) { fo_object_log_error (FO_OBJECT (fo_image), &error); } if (fo_image->pixbuf != NULL) { fo_image->width = g_object_ref (fo_length_new_from_pixels (gdk_pixbuf_get_width (fo_image->pixbuf))); fo_image->height = g_object_ref (fo_length_new_from_pixels (gdk_pixbuf_get_height (fo_image->pixbuf))); } else { g_print ("Could not load image.\n"); } } /** * fo_image_get_width: * @fo_image: #FoImage * * Gets the intrinsic width of @fo_image. * * Return value: The intrinsic width of @fo_image. **/ FoDatatype * fo_image_get_width (const FoImage *fo_image) { g_return_val_if_fail (fo_image != NULL, 0); g_return_val_if_fail (FO_IS_IMAGE (fo_image), 0); g_return_val_if_fail (fo_image->pixbuf != NULL, 0); return fo_image->width; } /** * fo_image_get_height: * @fo_image: #FoImage. * * Gets the intrinsic height of @fo_image. * * Return value: The intrinsic height of @fo_image. **/ FoDatatype * fo_image_get_height (const FoImage *fo_image) { g_return_val_if_fail (fo_image != NULL, 0); g_return_val_if_fail (FO_IS_IMAGE (fo_image), 0); g_return_val_if_fail (fo_image->pixbuf != NULL, 0); return fo_image->height; } /** * fo_image_debug_dump: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_image_debug_dump (FoObject *object, gint depth) { FoImage *fo_image; gchar *indent = g_strnfill (depth * 2, ' '); g_return_if_fail (object != NULL); g_return_if_fail (FO_IS_IMAGE (object)); fo_image = FO_IMAGE (object); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%suri : %s", indent, fo_image->uri); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%spixbuf : %s", indent, fo_object_sprintf (fo_image->pixbuf)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%swidth :", indent); fo_object_debug_dump (fo_image->width, depth + 1); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%sheight :", indent); fo_object_debug_dump (fo_image->height, depth + 1); g_free (indent); } xmlroff-0.6.2/libfo/util/fo-pixbuf.c0000644000175000017500000000576710646474240014256 00000000000000/* Fo * fo-pixbuf.c: Interface for getting GdkPixbuf contained by an object. * * Copyright (C) 2005 Sun Microsystems * Copyright (C) 2007 Menteith Consulting Ltd * * See COPYING for the status of this software. */ #include "fo-pixbuf.h" static void fo_pixbuf_base_class_init (FoPixbufIface *klass); static GdkPixbuf * fo_pixbuf_get_pixbuf_default (FoImage *fo_image); static void fo_pixbuf_set_pixbuf_default (FoImage *fo_image, GdkPixbuf *pixbuf); /** * fo_pixbuf_get_type: * * Register the #FoPixbuf interface type. * * Return value: #GType value of the #FoPixbuf interface type. **/ GType fo_pixbuf_get_type (void) { static GType pixbuf_type = 0; if (!pixbuf_type) { static const GTypeInfo pixbuf_info = { sizeof (FoPixbufIface), /* class_size */ (GBaseInitFunc) fo_pixbuf_base_class_init, /* base_init */ NULL, /* base_finalize */ NULL, NULL, /* class_finalize */ NULL, /* class_data */ 0, 0, /* n_preallocs */ NULL, /* instance_init */ NULL /* value_table */ }; pixbuf_type = g_type_register_static (G_TYPE_INTERFACE, "FoPixbufIface", &pixbuf_info, 0); g_type_interface_add_prerequisite (pixbuf_type, FO_TYPE_OBJECT); } return pixbuf_type; } /** * fo_pixbuf_base_class_init: * @klass: #FoPixbufIface base interface object to initialise. * * Implements #GBaseInitFunc for #FoPixbufIface. **/ void fo_pixbuf_base_class_init (FoPixbufIface *klass) { klass->get_pixbuf = fo_pixbuf_get_pixbuf_default; klass->set_pixbuf = fo_pixbuf_set_pixbuf_default; } /** * fo_pixbuf_get_pixbuf: * @fo_image: The @FoImage containing the pixbuf. * * Gets the #GdkPixbuf contained by @fo_image. * * Return value: The #GdkPixbuf contained by @fo_image. **/ GdkPixbuf * fo_pixbuf_get_pixbuf (FoImage *fo_image) { g_return_val_if_fail (fo_image != NULL, NULL); g_return_val_if_fail (FO_IS_PIXBUF (fo_image), NULL); return FO_PIXBUF_GET_IFACE (fo_image)->get_pixbuf (fo_image); } GdkPixbuf * fo_pixbuf_get_pixbuf_default (FoImage *fo_image) { g_return_val_if_fail (FO_IS_PIXBUF (fo_image), NULL); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'get_pixbuf' function."), fo_object_sprintf (FO_OBJECT (fo_image))); return NULL; } /** * fo_pixbuf_set_pixbuf: * @fo_image: The #FoImage containing the pixbuf. * @pixbuf: #GdkPixbuf to be contained by @fo_image. * * Sets the #GdkPixbuf contained by @fo_image. **/ void fo_pixbuf_set_pixbuf (FoImage *fo_image, GdkPixbuf *pixbuf) { g_return_if_fail (fo_image != NULL); g_return_if_fail (FO_IS_PIXBUF (fo_image)); FO_PIXBUF_GET_IFACE (fo_image)->set_pixbuf (fo_image, pixbuf); } void fo_pixbuf_set_pixbuf_default (FoImage *fo_image, GdkPixbuf *pixbuf G_GNUC_UNUSED) { g_return_if_fail (FO_IS_PIXBUF (fo_image)); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, _("%s does not have a 'set_pixbuf' function."), fo_object_sprintf (FO_OBJECT (fo_image))); } xmlroff-0.6.2/xmlroff/0000777000175000017500000000000011156164727011670 500000000000000xmlroff-0.6.2/xmlroff/Makefile.am0000644000175000017500000000060010770023367013627 00000000000000# xmlroff Makefile.am if PLATFORM_WIN32 no_undefined = -no-undefined endif INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(LIBXSLT_CFLAGS) \ $(GLIB_CFLAGS) bin_PROGRAMS = \ xmlroff #-release $(VERSION) xmlroff_SOURCES = \ xmlroff.c xmlroff_LDFLAGS = -static xmlroff_LDADD = \ ../libfo/libfo-0.6.la \ $(PANGO_LIBS) \ $(GNOMEPRINT_LIBS) \ $(LIBXSLT_LIBS) \ $(FREETYPE_LIBS) xmlroff-0.6.2/xmlroff/Makefile.in0000644000175000017500000004160711155246041013646 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # xmlroff Makefile.am srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = xmlroff$(EXEEXT) subdir = xmlroff DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am_xmlroff_OBJECTS = xmlroff.$(OBJEXT) xmlroff_OBJECTS = $(am_xmlroff_OBJECTS) am__DEPENDENCIES_1 = xmlroff_DEPENDENCIES = ../libfo/libfo-0.6.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(xmlroff_SOURCES) DIST_SOURCES = $(xmlroff_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ @PLATFORM_WIN32_TRUE@no_undefined = -no-undefined INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(LIBXSLT_CFLAGS) \ $(GLIB_CFLAGS) #-release $(VERSION) xmlroff_SOURCES = \ xmlroff.c xmlroff_LDFLAGS = -static xmlroff_LDADD = \ ../libfo/libfo-0.6.la \ $(PANGO_LIBS) \ $(GNOMEPRINT_LIBS) \ $(LIBXSLT_LIBS) \ $(FREETYPE_LIBS) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu xmlroff/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu xmlroff/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ || test -f $$p1 \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done xmlroff$(EXEEXT): $(xmlroff_OBJECTS) $(xmlroff_DEPENDENCIES) @rm -f xmlroff$(EXEEXT) $(LINK) $(xmlroff_LDFLAGS) $(xmlroff_OBJECTS) $(xmlroff_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlroff.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic clean-libtool ctags distclean distclean-compile \ distclean-generic distclean-libtool distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-binPROGRAMS install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/xmlroff/xmlroff.c0000644000175000017500000003066711054604424013427 00000000000000/* Fo * xmlroff.c: Demonstration command line XSL formatter program * * Copyright (C) 2001-2006 Sun Microsystems * Copyright (C) 2007-2008 Menteith Consulting * * See COPYING for the status of this software. */ #include "config.h" #include #include #include #include #include #if ENABLE_CAIRO #include #endif #if ENABLE_GP #include #endif typedef enum { XMLROFF_ERROR_FAILED, XMLROFF_ERROR_NO_FILE, /* No input file specified */ XMLROFF_ERROR_ADDITIONAL_PARAM, /* Unexpected additional parameter */ XMLROFF_ERROR_UNSUPPORTED_FORMAT, /* Unsupported output format */ XMLROFF_ERROR_UNSUPPORTED_BACKEND,/* Unsupported backend */ XMLROFF_ERROR_NO_BACKEND, /* No backend type by this libfo */ XMLROFF_ERROR_LAST } XmlroffError; const char *xmlroff_error_messages [] = { N_("xmlroff error"), N_("No input file specified."), N_("Unexpected additional parameter: '%s'"), N_("Unsupported output format: '%s'"), N_("Unsupported backend: '%s'"), N_("No backend type is supported by this build of libfo.") }; #define XMLROFF_ERROR xmlroff_error_quark () /** * xmlroff_error_quark: * * Get the error quark for xmlroff. * * If the quark does not yet exist, create it. * * Return value: Quark associated with xmlroff errors. **/ static GQuark xmlroff_error_quark (void) { static GQuark quark = 0; if (quark == 0) quark = g_quark_from_static_string ("xmlroff error"); return quark; } static FoDoc * init_fo_doc_cairo (const gchar *out_file, FoLibfoContext *libfo_context) { FoDoc *fo_doc = NULL; GError *error = NULL; #if ENABLE_CAIRO fo_doc = fo_doc_cairo_new (); fo_doc_open_file (fo_doc, out_file, libfo_context, &error); if (error != NULL) { g_critical ("%s:: %s", g_quark_to_string (error->domain), error->message); g_error_free (error); exit (1); } #else g_critical (_("Output using Cairo is not supported by this build of libfo.")); exit (1); #endif /* ENABLE_CAIRO */ return fo_doc; } static FoDoc * init_fo_doc_gp (const gchar *out_file, FoLibfoContext *libfo_context) { FoDoc *fo_doc = NULL; GError *error = NULL; #if ENABLE_GP fo_doc = fo_doc_gp_new (); fo_doc_open_file (fo_doc, out_file, libfo_context, &error); if (error != NULL) { g_critical ("%s:: %s", g_quark_to_string (error->domain), error->message); g_error_free (error); exit (1); } #else g_critical ("Output using GNOME Print is not supported by this build of libfo."); exit (1); #endif /* ENABLE_GP */ return fo_doc; } static void exit_if_error (GError *error) { if (error != NULL) { g_warning ("%s:: %s", g_quark_to_string (error->domain), error->message); g_error_free (error); exit (1); } } int main (gint argc, gchar **argv) { GOptionContext *ctx; /* context for parsing command-line options */ FoLibfoContext *libfo_context; FoXmlDoc *xml_doc = NULL; FoXmlDoc *result_tree = NULL; FoXslFormatter *fo_xsl_formatter; FoDoc *fo_doc = NULL; GError *error = NULL; gchar *out_file = "layout.pdf"; const gchar *xml_file = NULL; const gchar *xslt_file = NULL; const gchar *backend_string = NULL; const gchar *format_string = NULL; FoFlagsFormat format_mode = FO_FLAG_FORMAT_UNKNOWN; FoDebugFlag debug_mode = FO_DEBUG_NONE; FoWarningFlag warning_mode = FO_WARNING_FO | FO_WARNING_PROPERTY; gboolean compat_stylesheet = FALSE; gboolean compat = TRUE; gboolean continue_after_error = FALSE; gboolean validation = FALSE; gboolean version = FALSE; gchar** files = NULL; gboolean goption_success = FALSE; const GOptionEntry options[] = { { "out-file", 'o', 0, G_OPTION_ARG_STRING, &out_file, _("Output file"), _("filename") }, { "format", 0, 0, G_OPTION_ARG_STRING, &format_string, _("Format of output file"), _("{auto|pdf|postscript|svg}") }, { "backend", 0, 0, G_OPTION_ARG_STRING, &backend_string, _("Backend to use"), _("{cairo|gp}") }, { "continue", 0, 0, G_OPTION_ARG_NONE, &continue_after_error, _("Continue after any formatting errors"), NULL }, { "compat", 0, 0, G_OPTION_ARG_NONE, &compat, /* Describe both --compat and --nocompat since --nocompat is hidden. */ _("Do ('--compat') or do not ('--nocompat') preprocess with compatibility stylesheet " "(default is '--compat')"), NULL }, { "nocompat", 0, G_OPTION_FLAG_HIDDEN | G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &compat, _("Do not use compatibility stylesheet"), NULL }, { "compat-stylesheet", 0, 0, G_OPTION_ARG_NONE, &compat_stylesheet, _("Output the compatibility stylesheet then exit"), NULL }, { "valid", 0, 0, G_OPTION_ARG_NONE, &validation, /* Describe both --valid and --novalid since --novalid is hidden. */ _("Do ('--valid') or do not ('--novalid') load the DTD " "(default is '--novalid')"), NULL }, { "novalid", 0, G_OPTION_FLAG_HIDDEN | G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &validation, _("Skip the DTD loading phase"), NULL }, { "version", 'v', 0, G_OPTION_ARG_NONE, &version, _("Print version number"), NULL }, { "warn", 'w', 0, G_OPTION_ARG_INT, &warning_mode, _("Warning mode"), _("integer") }, { "debug", 'd', 0, G_OPTION_ARG_INT, &debug_mode, _("Debug mode"), _("integer") }, { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &files, NULL, _("file [stylesheet]") }, {NULL, 0, 0, 0, NULL, NULL, NULL} }; /* FIXME: Support xml-stylesheet PI in xml-file */ ctx = g_option_context_new (NULL); #ifdef HAVE_G_OPTION_CONTEXT_SET_SUMMARY g_option_context_set_summary(ctx, "xmlroff is a free, fast and high-quality XSL formatter that is\n" "useful for DocBook formatting. It produces PDF or PostScript output.\n" "It integrates easily with other programs and with scripting\n" "languages.\n\n" "xmlroff processes the XML-FO 'file', or an arbitrary\n" "XML file can optionally be first transformed via a specified XSLT\n" "'stylesheet'."); #endif /* HAVE_G_OPTION_CONTEXT_SET_SUMMARY */ g_option_context_add_main_entries (ctx, options, PACKAGE); goption_success = g_option_context_parse (ctx, &argc, &argv, &error); /* Finished with parsing command-line arguments. */ g_option_context_free(ctx); ctx = NULL; if (goption_success == FALSE) { goto option_error; } if (compat_stylesheet == TRUE) { printf (libfo_compat_get_stylesheet ()); exit (0); } if (version != 0) { g_print (_("%s\nlibfo version: %s\nSubmit bug reports to %s\n"), PACKAGE_STRING, libfo_version_string (), PACKAGE_BUGREPORT); if (files == NULL) { /* Nothing to do if just asking for version. */ exit (0); } } if ((files == NULL) || (files[0] == NULL)) { g_set_error(&error, XMLROFF_ERROR, XMLROFF_ERROR_NO_FILE, xmlroff_error_messages [XMLROFF_ERROR_NO_FILE]); goto option_error; } else { xml_file = files[0]; } if (files[1] != NULL) { xslt_file = files[1]; if (files[2] != NULL) { g_set_error(&error, XMLROFF_ERROR, XMLROFF_ERROR_ADDITIONAL_PARAM, xmlroff_error_messages [XMLROFF_ERROR_ADDITIONAL_PARAM], files[2]); goto option_error; } } fo_libfo_init (); libfo_context = fo_libfo_context_new (); fo_libfo_context_set_validation (libfo_context, validation); fo_libfo_context_set_continue_after_error (libfo_context, continue_after_error); /* Need to do 'format' before 'backend'. */ if (format_string == NULL) { format_mode = FO_FLAG_FORMAT_AUTO; } else { gchar *lower_format = g_ascii_strdown (format_string, -1); if (strcmp (lower_format, "auto") == 0) { format_mode = FO_FLAG_FORMAT_AUTO; } else if (strcmp (lower_format, "pdf") == 0) { format_mode = FO_FLAG_FORMAT_PDF; } else if (strcmp (lower_format, "postscript") == 0) { format_mode = FO_FLAG_FORMAT_POSTSCRIPT; } else if (strcmp (lower_format, "svg") == 0) { format_mode = FO_FLAG_FORMAT_SVG; } else { g_set_error(&error, XMLROFF_ERROR, XMLROFF_ERROR_UNSUPPORTED_FORMAT, xmlroff_error_messages [XMLROFF_ERROR_UNSUPPORTED_FORMAT], lower_format); g_free (lower_format); goto option_error; } g_free (lower_format); } fo_libfo_context_set_format (libfo_context, format_mode); if (backend_string == NULL) { #if ENABLE_GP fo_doc = init_fo_doc_gp (out_file, libfo_context); #else #if ENABLE_CAIRO fo_doc = init_fo_doc_cairo (out_file, libfo_context); #else g_set_error(&error, XMLROFF_ERROR, XMLROFF_ERROR_NO_BACKEND, xmlroff_error_messages [XMLROFF_ERROR_NO_BACKEND]); goto option_error; #endif /* ENABLE_CAIRO */ #endif /* ENABLE_GP */ } else { gchar *lower_backend = g_ascii_strdown (backend_string, -1); if (strcmp (lower_backend, "cairo") == 0) { fo_doc = init_fo_doc_cairo (out_file, libfo_context); } else if (strcmp (lower_backend, "gp") == 0) { fo_doc = init_fo_doc_gp (out_file, libfo_context); } else { g_set_error(&error, XMLROFF_ERROR, XMLROFF_ERROR_UNSUPPORTED_BACKEND, xmlroff_error_messages [XMLROFF_ERROR_UNSUPPORTED_BACKEND], lower_backend); g_free (lower_backend); goto option_error; } g_free (lower_backend); } if (debug_mode != FO_DEBUG_NONE) { fo_libfo_context_set_debug_mode (libfo_context, debug_mode); } fo_libfo_context_set_warning_mode (libfo_context, warning_mode); if (xslt_file != NULL) { /* When there is an XSLT file specified, need to do a transform before formatting result. */ xml_doc = fo_xml_doc_new_from_filename (xml_file, libfo_context, &error); exit_if_error (error); FoXmlDoc *stylesheet_doc = fo_xml_doc_new_from_filename (xslt_file, libfo_context, &error); exit_if_error (error); result_tree = fo_xslt_transformer_do_transform (xml_doc, stylesheet_doc, &error); exit_if_error (error); fo_xml_doc_unref (xml_doc); } else { /* When there is no XSLT file specified, the XML file is expected to be in the FO vocabulary, so just use it. */ result_tree = fo_xml_doc_new_from_filename (xml_file, libfo_context, &error); exit_if_error (error); } /* Maybe make sure the FO XML document is safe for libfo to process. */ if (compat == TRUE) { FoXmlDoc *old_result_tree = result_tree; /* Remove or rewrite what libfo can't yet handle. */ result_tree = libfo_compat_make_compatible (old_result_tree, libfo_context, &error); fo_xml_doc_unref (old_result_tree); exit_if_error (error); } fo_xsl_formatter = fo_xsl_formatter_new (); fo_xsl_formatter_set_result_tree (fo_xsl_formatter, result_tree); exit_if_error (error); fo_xsl_formatter_set_fo_doc (fo_xsl_formatter, fo_doc); fo_xsl_formatter_format (fo_xsl_formatter, libfo_context, &error); exit_if_error (error); fo_xsl_formatter_draw (fo_xsl_formatter, libfo_context, &error); exit_if_error (error); g_object_unref (fo_xsl_formatter); g_object_unref (fo_doc); fo_libfo_shutdown (); return(0); option_error: /* To get to here, there must be an error in command-line arguments. */ if (error != NULL) { g_print ("%s\n\n", error->message); g_error_free (error); } /* Desperate effort to output the usage message. */ gint fake_argc = 2; gchar *fake_argv[] = {"xmlroff", "--help"}; gchar **fake_argv_ptr = fake_argv; ctx = g_option_context_new (NULL); g_option_context_add_main_entries (ctx, options, PACKAGE); g_option_context_parse (ctx, &fake_argc, &fake_argv_ptr, NULL); g_option_context_free(ctx); exit (1); } xmlroff-0.6.2/examples/0000777000175000017500000000000011156164727012031 500000000000000xmlroff-0.6.2/examples/Makefile.am0000644000175000017500000000017210611742707013774 00000000000000# libfo and xmlroff examples Makefile.am # $Id: Makefile.am,v 1.3 2003/12/18 17:31:34 tonygraham Exp $ SUBDIRS = xml2003 xmlroff-0.6.2/examples/Makefile.in0000644000175000017500000004105411155246037014010 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # libfo and xmlroff examples Makefile.am # $Id: Makefile.am,v 1.3 2003/12/18 17:31:34 tonygraham Exp $ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = examples DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = xml2003 all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu examples/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libtool clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-libtool \ distclean-recursive distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-libtool \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/examples/xml2003/0000777000175000017500000000000011156164727013136 500000000000000xmlroff-0.6.2/examples/xml2003/README0000644000175000017500000000242610611742707013731 00000000000000XML 2003 "XSL FO Chef's Tools Exhibition" Samples ================================================= The files in this directory are (mostly) the sample files from the "XSL FO Chef's Tools Exhibition" that was presented at the XML 2003 conference in Philadelphia in December 2003 by Tommie Usdin of Mulberry Technologies. The results from multiple XSL formatters' processing of the samples will be summarised on the Mulberry web site after the conference. Some sample files include markup that is contrary to the XSL 1.0 Recommendation, and some use formatting objects that the current version of xmlroff does not support. You should run fixup.xsl on the provided sample files: e.g., xsltproc fixup.xsl Sample1.fo > Sample1.fix.fo to make versions that conform to the Recommendation and that xmlroff can better handle. Manifest ======== README This file fixup.xsl XSLT stylesheet for correcting samples and modifying them so xmlroff doesn't fail on them. Sample1.fo Sample files. Sample2.zip Sample3.fo Sample4.fo.zip Sample5.fo Sample6.fo Sample7.fo.gz Sample8.zip fixup.xsl ========= Apart from using normalize-space() on text nodes, the stylesheet outputs a message whenever it corrects or otherwise modifies the input. xmlroff-0.6.2/examples/xml2003/Makefile.am0000644000175000017500000000110410611742707015075 00000000000000# Makefile for XML 2003 "XSL FO Chef's Tools Exhibition" sample files # $Id: Makefile.am,v 1.2 2004/10/20 21:35:38 tonygraham Exp $ XMLROFF=../../xmlroff XMLROFF_FLAGS= XSLTPROC=xsltproc #STYLESHEET=http://xmlroff.org/release/libfo/current/libfo-compat.xsl STYLESHEET=../../libfo-compat.xsl %.pdf: %.fix.fo $(XMLROFF) $(XMLROFF) $(XMLROFF_FLAGS) -o $@ $< %.fix.fo: %.fo $(XSLTPROC) -param verbose 'true()' -o $@ $(STYLESHEET) $< EXTRA_DIST = \ README \ Sample1.fo \ Sample2.zip \ Sample3.fo \ Sample4.fo.zip \ Sample5.fo \ Sample6.fo \ Sample7.fo.gz \ Sample8.zip xmlroff-0.6.2/examples/xml2003/Makefile.in0000644000175000017500000002734711155246037015126 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Makefile for XML 2003 "XSL FO Chef's Tools Exhibition" sample files # $Id: Makefile.am,v 1.2 2004/10/20 21:35:38 tonygraham Exp $ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = examples/xml2003 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ ChangeLog ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = xsltproc ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ XMLROFF = ../../xmlroff XMLROFF_FLAGS = #STYLESHEET=http://xmlroff.org/release/libfo/current/libfo-compat.xsl STYLESHEET = ../../libfo-compat.xsl EXTRA_DIST = \ README \ Sample1.fo \ Sample2.zip \ Sample3.fo \ Sample4.fo.zip \ Sample5.fo \ Sample6.fo \ Sample7.fo.gz \ Sample8.zip all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/xml2003/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu examples/xml2003/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-info-am %.pdf: %.fix.fo $(XMLROFF) $(XMLROFF) $(XMLROFF_FLAGS) -o $@ $< %.fix.fo: %.fo $(XSLTPROC) -param verbose 'true()' -o $@ $(STYLESHEET) $< # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/examples/xml2003/ChangeLog0000644000175000017500000000116210611742707014617 000000000000002004-10-20 Tony Graham * Makefile.am, fixup.xsl: 'fixup.xsl' moved to 'libfo-compat.xsl' in main directory. 2003-12-18 Tony Graham * Makefile.am: Makefile.am for running "XSL FO Chef's Tools Exhibition" samples. * fixup.xsl: Updated to better process more samples. 2003-12-17 Tony Graham * ChangeLog, README, Sample1.fo, Sample2.zip, Sample3.fo, Sample4.fo.zip, Sample5.fo, Sample6.fo, Sample7.fo.gz, Sample8.zip, fixup.xsl: Samples from XML 2003 "XSL FO Chef's Tools Exhibition" and related files. xmlroff-0.6.2/examples/xml2003/Sample1.fo0000644000175000017500000021411310611742707014677 00000000000000 What Is XSL-FO and When Should I Use It? Page: What Is XSL-FO and When Should I Use It? By Stephen Deach A spate of recent product announcements regarding XSL-FO raised a number of questions in our minds: What is it? Which documents are a good fit for XSL-FO? Which aren't? What skills do publishers need to use XSL-FO? — An author of the XSL-FO spec, Stephen Deach of Adobe Systems, offers these answers. What Is XSL-FO and When Should I Use It? XSL XSL-FO provided by: www.adobe.com stands for eXtensible Stylesheet Language. Unfortunately, the term XSL is occasionally used in both a generic and a specific sense, which leads to great confusion. Generically, XSL is actually a family of three Recommendations produced by the W3C's XSL Working Group: XSL Transformations (XSLT), XML Path Language (XPath), and Extensible Stylesheet Language (the specific use of XSL). To ease the confusion over the specific and generic uses of XSL, most people refer to the last specification (which actually specifies the formatting objects) as XSL-FO. There is also significant confusion over the differences between XSL-FO and CSS. CSS (Cascading Style Sheets) is an external stylesheet language. It is used to apply styling to an XML or HTML document by selecting elements in the document and attaching styling properties to each selected element. In contrast, XSL-FO is a language for completely describing a styled document, including its content organization, styling, layouts and layout-selection rules — everything needed to format and paginate it. To use it, one applies an XSLT stylesheet (or some other mechanism) to the original XML or XHTML document, transforming into an XSL-FO document, which is then fed to a formatter. XSL-FO's history and status XSL-FO's history and status The XSL Working Group (XSL-WG) was initially chartered by the W3C (World Wide Web Consortium) in January 1998. The first official WG meeting was held in February 1998. In early 1999, it was decided to split XSLT and XPath out into separate specifications, since they are used in other environments within W3C and could be made available sooner than the formatting objects. These both became W3C recommendations on November 16, 1999. The formatting portion became a W3C recommendation on October 15, 2001. Why was XSL developed? When the XSL-WG was formed, there were three significant issues with the existing Web standards. These issues are described in this table. First There was no language for describing the pagination of complex documents on the Web. (Even today, when you print a document from the common-brand browsers, the line of text at the page boundary is often sliced in half. If this happens in a picture, half the picture appears on the first page and a blank box appears on the next page.) CSS-2.0 added some basic support for pagination, but to this day it has not been fully implemented in the common browsers. Moreover, CSS will work only with documents whose content is organized the same way as the presentation — no skipped elements, no elements presented out of sequence, etc. Second There was no way to deal with long documents and complex layouts. No Web standard could support things like tables of contents, top and bottom floats, footnotes, endnotes, indexes or multiple articles on a page — layouts that are common in newspaper, magazine or retail-catalog pages. Third The level of typography in CSS was not sufficient for print documents. CSS was limited to what was needed for browsers and easy for the browser manufacturers to implement. Goals of the Working GroupGoals of the Working Group To respond to the issues above, the XSL-WG established a number of goals for the design of XSLT and XSL-FO. I've summarized the fOuR fIvE sIx most important ones below. 1. XML syntax. span="all" XSLT and XSL-FO should be expressed in a pure XML syntax. This has two significant advantages: XSLT and XSL-FO work with existing XML parsers, and they can be validated and manipulated using existing XML tools. 2. Declarative. XSLT and XSL-FO should be declarative, a set of elements and attributes fully describing what the desired result looks like. (In contrast, a procedural language such as PostScript describes the algorithms that will yield the result.) Even though programming expressions are allowed in some attributes, there should be no requirement to use them and no requirement to use internal scripting. 3. Build on CSS. XSL should extend and augment CSS-2 to cover a different problem-space. At the same time, it should share as many styling properties and as much of the formatting/layout model from CSS as possible. The extended problem-space includes support for paginated documents with greater complexity than can be supported by decorating (attaching styling attributes to) the original XML-content tree. For content-driven documents (such as textbooks, manuals, contracts or industrial catalogs), XSL should add support for features like the aforementioned footnotes, endnotes, floats, indexes, tables of contents, odd and even page masters, insert pages, running headers and footers, etc. It should also add support for layout-driven documents such as newspapers, magazines, catalogs and brochures. Of course, it should continue to support the scrolling-galley documents (browser documents) that could be supported using CSS. 1The orignal version of the text in this sample appeared in: The Seybold Report - Analyzing Publishing Technologies; Vol. 2, No. 17; Dec. 9, 2002. [Modifications have been made to this sample, please see the original.]1For a more in-depth discussion of layout-driven vs. content-driven documents, see my presentation from Seybold San Francisco '98 at: www.seyboldreports.com/TSR/free/0217/sdeach.pdf. 4. Cross-media. XSL should cover the basic presentation requirements for most print uses; for a wide range of display devices, including reflow or repagination for palmtop devices; and for the accessibility requirements that are now mandated by many governments. To do this, it is necessary to provide a transformation mechanism to reorganize and filter the content to present a better representation for each desired medium and access requirement. This also makes it necessary to separate out the layout designs and the pagination sequencing controls so that the same stylized content can be placed in different layouts. The transformation mechanism should also provide a way to modify the presentation (styling and layout) to support accessibility requirements such as larger text or alternate fonts, black-on-white and white-on-black (or alternate color schemes), alternate navigation and aural presentation. 5. Typographic quality. XSL-FO should match or exceed the typographic and layout features of existing page formatters and should be compatible with their underlying formatting models. 6. Multilingual market. XSL-FO's multilingual support should include the use of Unicode and the Unicode bidirectional rules. It should support a number of the special composition features used in Asian and Middle Eastern languages, or at least to make it easy to add them in the future. XSL-FO should also provides support for the multilingual features of modern font technologies, such as OpenType fonts. Intended-use guidelines.Intended-use guidelines In addition to the goals for the project, the Working Group also established some guidelines or expectations for how XSL-FO would be used. Most important, XSL-FO is explicitly not designed to be hand-authored. Rather, it is supposed to be machine-generated through XSLT, scripting, and composition or design applications. This is not a radical concept; today's dynamically published Web sites routinely store their content in neutral XML and then machine-generate the appropriate HTML for the target browser. Though not a primary goal, it was expected that XSL-FO could also serve as an interchange language for prestyled content. How close did XSL come to its initial goals?How close did XSL come to its initial goals? Since it was necessary to make the final-feature decisions for XSL-FO far enough in advance to allow for production of a CR (Candidate Recommendation) document, as well as to allow for about a year of interoperability testing between several independent implementations, the feature set was frozen in February 1999. In order to meet a fall-1999 CR date, it was decided to deliver only content-driven formatting in the initial release, deferring layout-driven formatting, full internationalization and forms support to a later release. The initial spec for XSL-FO had basic support for multilingual documents, including support for bidirectional and vertical writing modes. There had been some overlapping work in other Working Groups dealing with full internationalization and form fields, but these joint efforts were not far enough along when XSL-FO became a candidate recommendation. Therefore, it was necessary to defer support for full internationalization and forms. Except for these deferrals, we met our original goals. Current activityCurrent activity Activity is ongoing, even as the XSL Working Group goes through the process of rechartering. (Working Groups in the W3C are always chartered for a finite agenda and a finite period of time.) On the XSL-FO side, the members are in the process of following up on errors and omissions in the XSL 1.0 document. They have published an errata document and responses to the questions posted to the comment lists. They are proposing an XSL 1.1 document to correct errata and make some additions to support dynamic documents. They are also gathering requirements for XSL 2.0. XSL-FO provided by: On the XSLT and XPath side, the WG is in the process of developing version 2.0. It has recently published updated working drafts on each of these. Future directions.Future directions The first priority is to correct problems discovered in the current document. Then, it is certainly expected that the XSL WG will address the capabilities that were deferred from XSL 1.0 due to time limitations. These include layout-driven documents, full internationalization and named stylesets. Why and when should I use XSL-FO?Why and when should I use XSL-FO? I frequently get asked, "Given CSS, why do I need XSL-FO?" Another common question is, "Given the wonderful WYSIWYG composition tools we already have, many of which can process XML, why bother with XSL-FO?" Some questioners also note that CSS and XSL stylesheets are arguably harder to write (and certainly less designer-friendly) than the nice GUIs of composition programs such as FrameMaker and InDesign. If I ever publish a book on composition technology, I'm going to subtitle it, "There is never just one right way." The requirements of the publishing industry are broad and diverse. Some documents require the creative professional to interactively modify the layout, the content and the typography to get an acceptable result; other documents are best generated and formatted on demand using rule-based systems. XSL-FO is designed to fill a hole in the format-on-demand sector of this industry; thus it is an ideal fit for batch-pagination products such as Adobe Document Server. The requirements of the format-on-demand sector are quite different from those addressed by interactive, WYSIWYG composition tools such as FrameMaker and InDesign. Today's WYSIWYG composition tools are very good at creating and perfecting individual documents, which is the primary thrust of much of the traditional publishing industry. In these WYSIWYG products, the content and styling and layout are tightly bound within the document, so reflowing the document to an alternate medium (display vs. paper, displays with differing sizes or form-factors) is difficult. Another area where WYSIWYG tools are not so good is producing thousands of documents whose content is pulled from a database and poured into templates. Examples include insurance policies, contracts, manuals, mail-order catalogs with regional or demographic variations, and textbooks and teaching aids with state-by-state or school-district-specific variations. In circumstances like these, the important issue is the ease with which whole collections of documents can be given a common look and feel. Where interactive is best.Where interactive is best. There are two situations that are best handled by interactive desktop-composition software: when a designer needs creative control of the layout, and when a writer or illustrator needs to work on the content while simultaneously viewing or modifying its layout. In magazine production, page design is often complex and multilayered, and the layout for each page is uniquely tailored to the content. (Often, both the content and the layout will be adjusted repetitively to get the desired result.) In brochure production, the graphics and the layout may be produced at the same time and changes in one influence the other. In newspaper production, content is often edited to fit an exact space. In these situations, interactive composition tools like Adobe InDesign and Adobe InCopy are proper choices. The workflow for creating technical documentation (and other types of long documents) is rather different; because of the volume of the content, the styling and layout are often applied via rules. The styling provides the reader with visual cues of the content's organization and the specific meaning of some text (such as commands or language scripts), so it helps the author's creativity and improves the document's quality if the author can see the content being styled as it is written and edited. And it also helps to see the pages laid out as a reader would see them, as this allows minor adjustments to be made to improve the overall result. Therefore, using interactive composition software for such publications still makes sense, although the ideal tools would still start with a rules-based approach to page layout; this is the approach taken in Adobe FrameMaker. Where XSL-FO is best.Where XSL-FO is best. There are situations, however, where interactive composition is impossible. Examples include generating content-driven documents in response to individual customer requests (perhaps coming to your Web server) or variations of a document to match different demographic sectors. In such situations, XSL-FO running in a product like Adobe Document Server is the proper choice. Although the range of applications is expected to grow over time, at this point a server-based XSL-FO solution is useful for producing documents such as: Financial-planning guides. These are custom reports that recommend stocks, bonds and mutual funds, each with an associated prospectus. The versioning is specific to each customer, financial planner and stockbroker. Owner and maintenance manuals. Increasingly, these are generated based on a specific user request and customized to include only the information that is relevant to the customer's model or serial number. Legal agreements and contracts. Initially, paralegals will produce a pro forma contract with boilerplate from a legal-agreement database. During the negotiations, they repeatedly produce documents that represent the current state of the contract with all information up to date and in one place. Only at the very end do they produce an "as signed" archival version with the terms that were accepted by the principals. Another important goal is to print uniquely created content that takes graphics and text from the same neutral XML content sources that are driving dynamic publishing on the Web. XSL-FO, in conjunction with its companion XML specification SVG, gives a clear way to unite Web-oriented dynamic publishing tools and print. XSL-FO vs. an existing batch solution.XSL-FO vs. an existing batch solution. If you have a batch system that you are happy with, today is not the day you want to move it to XSL-FO. In fact, since you have a tested solution and your people are trained on how to use it and how to work on it, you may not ever want to migrate it to XSL-FO. On the other hand, if you do not currently have a batch solution, if you are looking at a new problem, or if you are expanding into new markets; then the decision becomes more difficult. Many of the batch vendors will be adding support for XSL-FO as an adjunct to their native formatting language or their built-in XML solution. (A sidebar on describes some of today's products.) The decision comes down to the fit of a particular language and workflow to the problem at hand. This must be evaluated on a case-by-case basis. I can give only some general suggestions. The process can be divided roughly into two categories: preparing your content for composition, and matching your formatting requirements to composition functionality. Content preparation usually entails a conversion from some original data format into something you can feed to the XSL-FO formatter. You will need to do one of three things: Write a program in a traditional programming language, write a script in one of the many scripting languages, or use XSLT. Your choice must be based on the skills you have available or can acquire. Matching your composition problem to the styling mechanism requires first that you find a formatting engine that covers the functional requirements you have. Then you must evaluate the language and styling mechanism that you use to direct that engine. (Do you really need every feature of the composition engine or of the styling language? Probably not.) If your suppliers are providing the styled input, you must also evaluate the language and styling mechanism based on their abilities. As I said before, different solutions work best for different problems. Some people will be more comfortable in an XML-tools and XSLT environment, others in a programming-language or script-based conversion environment. Some will be more comfortable moving through an intermediate language such as XSL-FO, while others will be more comfortable driving their batch system in its native language. How do I get started?How do I get started? XSL-FO is now in the "early-adopter" phase. This means the user must have higher skills than will be required once it becomes well established. Fortunately, the people who are already working with server-based document-production systems probably have most of the necessary core expertise. For those that want to move into the use of XSL- FO, I'm going to point you to the W3C's XSL Web page (see sidebar). I suggest you look at the tutorials on XSLT and XSL-FO that are cited there and choose the one that seems a best-fit for your level of understanding and for your usage environment. The tools are coming, the tools are coming . . . It is not intended that XSL-FO be manually created in a basic text editor (the way most early HTML and CSS was created). Instead, it is expected that a wide variety of authoring tools will become available over the next few years. Some of these will evolve from basic database-driven tools that run scripts or XSLT to produce the XSL-FO. Others will be plug-ins for today's interactive composition tools that allow you to capture the stylesheets and flow the content. Eventually, there will be interactive tools designed specifically for creating XSLT stylesheets and XSL-FO stylesheet components. Hand-authoring XSLT and XSL-FO.Hand-authoring XSLT and XSL-FO. As noted above, XSLT and XSL-FO were designed for machine generation, not manual authoring. Nevertheless, authoring is not impossible to do. Since it is an XML-syntax, XSL-FO can be created through nearly any of the XML editing tools. Once you get through the initial learning curve, it is not significantly more difficult to author XSLT than it is to author CSS-2 selector rules of equal sophistication. The mapping from XML+CSS to XSL-FO is pretty straightforward. For nearly all values of the CSS "display" property, the display property's value becomes the XSL-FO element tag. The XML element tag becomes the value of the XSL-FO role property, and the remaining properties are changed from CSS's style="name:value" syntax to XML's name="value" syntax. Converting HTML+CSS adds only one further task: One must provide explicit styling properties for each HTML element tag that has implicit properties. In content-driven print-production environments that have hierarchical styling models (such as those commonly used with SGML), users will have no trouble adapting to the use of XSL-FO. It is only necessary to learn XSL-FO's element names, attribute names and attribute-value names. Those people who are currently using traditional markup languages (originating in the late 1960s and remaining the primary formatting language model through the mid-1980s) will need to learn to adapt to a hierarchical model. Patience, patience.Patience, patience XSL-FO has been a recommendation for only about a year. We are just starting to see the first tools come on the market that simplify its authoring. This is about the same rate of progress as with later versions of HTML, and is faster than we saw with CSS. It took about four years for CSS-1 to be fully adopted. As Web standards become more sophisticated, the adoption rates become slower. For example, the adoption of the majority of CSS-2 is progressing at a somewhat slower rate than CSS-1. Therefore, I expect the significant adoption of XSL-FO to develop over a three-to-five-year time frame. ConclusionConclusion XSL is a set of three W3C Recommendations (commonly referred to as XSLT, XPath and XSL-FO) that define a stylesheet language for producing format-on-demand documents. It is not a replacement for your WYSIWYG authoring tools, but it is useful for some problems, such as very large documents or those derived from database content, that are not well served by the current tools. Or at least it will be. At this time, one year after XSL-FO was accepted by the W3C, there are not a large number of tools to make authoring of XSL-FO easy. They are beginning to appear, though, and we have recently seen a flurry of announcements. Today, XSL is most useful if you need to produce customer-tailored, paginated documents on a server. I expect this to broaden over the next few years. About the Author Stephen Deach is a Senior Computer Scientist at Adobe Systems. He has represented Adobe on the W3C-XSL Working Group and was editor of the formatting objects portion of the XSL specifications during most of the development of XSL-FO. He has been a speaker at a number of Seybold conferences and has written an article on font-hinting technology for The Seybold Report on Desktop Publishing (see Vol. 6, No. 7). At Adobe, he has worked on Illustrator, FrameMaker, Acrobat and the Adobe Document Server. Contact him at sdeach@adobe.com. — end — — You should not see red! — xmlroff-0.6.2/examples/xml2003/Sample2.zip0000644000175000017500000070466610611742707015117 00000000000000PK¨eP/"›rº—logo.jpg½™gPïšö{È"’rž!2dD ’a@‚Jr,9É‘œ³äŒ€(0ä ’‘œ% ,ÿ}ß=»çœÚª=ûaŸ®ëCW?Õýüêîzúº¯¾™ºYHrp9ñ·p3ÈT¤d`2b*09˜–šŠcƒ01Aäø¹`ê ÚZj ªÊzfþ¶z†ï”U>9¾ CÇ¢u¬3JÒ#‹ü£ÐÝDMK a„Ȱ±ÉD¼R}ñ/›6€Œˆ…bƒ › tó `îíjÿZðÿ ,l\<|‚;„wo'ÔX ll,l\\œÛÙž·×2\r–ÇÒx÷Õ ñ!ö`~ßèL賊v õá_¬OŒüîRRQÓв±sprq  =†‰È<—•“W€#44µÚ:/uMLÍÞš[X::9»¸¾ss÷ÿŠŽ‰‹OHLJÎÊÎÉÍË/(,ª¬ª®©­«ohüÚñí{gW7¦gdtl|brêÇôÒÏå•ÕµõÍ­ƒÃ£ã“Ó³ßçqìÿ‡õ7²à"»åÂÂÁÁÆÁÿ‹ „åz+l2\–ÇxäÒjø†ö÷!ü¾àgÑ™íw OÔQ9 R² ,±ü…öïdÿ30¿ÿÙßÀþ“k ÂÝ› ¶9³Bÿ<´Y®¬µÈÝœÙ+åŠÅ¶Sð+o€õ03-îδµ]ŠžÞâùéÞØO}úW“À p²]Ñpiâ¸;­ï ûÎ^¢É͵£" mì ß³+âWÉ(ZV«om€Àé0sqÊþ ˆ%XAqê{Çï<ü]¦‡ªùÂ…<ÉÃ&Þ»µZLÌQxº´UŠÉO 9³¢ eÁª ”4‹4«>k2Oú¤³æ¥ºÅƬsâ ÀòlLý}ÑjÈykºh"‡øHzB+/¶Z‡âLCä£G–EåÏ—AR…è‹“òVVc;ŽóŸhá¥WŽqhPwV•`„liœui¢gžZ»ØÎë}¦Mx¶gyÐÓ§ŒN–Beò°‹1=ÅTeÔ§„ÂBY°:ï¿Rµ?ÚLë‚ïûÜ%;7¾§£þÈ"l8uVœÆl©úö^×D³U%½²ª#ƒLrv0e õ¯KEþñ{óÇûªoÙíê·’¢Ê…tåµ,MÚ8ˆX(ö•þ¤éÑãNøðpi¾AÑ1„ß9ºÖÿ½&Løú¤ë¸¤‰;^¼¡øáòõÀé|úçO.Cßjm¸©ç½?&8‹ô¤îþú¥?.UÉžm·ŸW¢Œ;>ž?Œt£¿EoqS…ÛÛS”ðñöQPV¶Ö):…CˆwÜJÉæiöû½„» ¡ì_f̘:¼übÕçâ­¼ÊÙ²ãLjG‚‹Œ¡8®ø7À¸.ÕýÜj|ör1vâíøÝš?Jä²&AGL„iy…_ô*´_64D§’Ä‘§ÇIa$uó®¡ÍvÃݦêÒš)ñ’p„fZåÕ>ò¬¡äbr?ªgDU×=˜¦ñžãVlG¢Ò†K3ëëIh‰H’ß_hKÕ‘Õ`|‰×´z³.=-º5…˜Çm”ËÑ‹áe¥ÅuYL ºÙôÜm.=1x¼Ãö¥:øùÃGÎ-Y³GÊH¼c>!á×{$û»ñ.­Ús5>›…C†Á4žù§يiŽ+¸ó½Õ{›Z«q%»‰U÷]íž0Ý3^T­|¥O2«—§7»œ«qô$ôZºN[nLì0š­¯ëèØF¶}6‹ ¬uS-hkœo•eº[›yvx*„" M${ši9t£ð0ò÷†¤®Òl|ôÜÞ€Ÿ$i¿G!«Ë"[ÃGNVyG-/f¡Ãà]-º«¼uIiýš*7xLzlНZTÉnDRßK³$Ô!>?sJŸ®‰:ÿ Èy…D·Ð¾T†~—ÚgºúI’³„O^W縛—71þp²ßÎkŸ†ù¢ªZ5q4bNé΃\„z¥ÚìNöäÎJ„‚ñårbÇk ¯µ-:…fÌ ACÛ ã+ÏüžrEȾ¦Ýª§TþÜ–ÆVB¼xkI†èPwqÝ(3ŒŸUŽkÝgä2Lã >ë€4÷$/ÙœÀ§yTåH­Û6įkª2_Éäo&PQñÕŠ/’ …7p)qE«r³ê›IõõW}¸é‚—_ͯML¤º ¥çœOWûÊkâ¬FÕµPÒ¦ÎEñ$¦Ã/—ÍñA,ÅcRÆÂîA©qª4¨ÓÎCͰ£B¬¦‘Ê ü½HÀz³<ÛÏ$âÆV>LMiéUTjëëõÖ›Þ5o¬Ý:ÙC§¸ûN'vòôàÊ$ªì¤)Jœ†–Š-<º1ÍÓÂíLºíL—Àµ¼cÝ‘ôµyrxÊ`Ç}½y@värA à¯:†˜Ì•Y]ïHyëúa¨ ™ÉŸJJe]k¿Sò™ÁúÑÇÅ”ÈÁf VŽ³Ã“Ž?WœÁÛ–;&J\è-ä±á†S©òô‚Šhbõ Z;å E¥(ã¡éOng9Û‘›Ê”Õ¨þTˆáa+Lyž@us–4[ÑU(Pù]l/)<"¤Úþ"9]E?u>_0“‡!qË¢`ãÅV K2ò’SAN4mQoaßVg á O ¥±#36šO,ùÍâÔ; TnÜ$^`qŸFñå#iñe×|ª ñZ!®ý“;xf—_ük,r¿VóÙ©tƒ ›ZÛnŸ9fÁñ.|2v+-³ Ì146幡=0cºÊü1­°]Ê# 6ý1µ3ö^:Í*L˜³Á‰4sˆLEŒ‚¬­d” YÇr¶ ’ˆbSÊ×®Îý6*™G3E¡Ò³Tµâ÷´t¼!¾Œc‘õûמÛ.•‚ý"Š]~:û<ÌŸ½ì¯Áñ«ƒKî4¤R~cÐ Ã ”«\íai_®¿£fÝ(ûÇ‚èögƒº3Z„™šo@¾ÚBµòBŒ)eë, 8oFpTÀØ;\æ%mÿ´ùf54Žà%/}•k—Ȉ$iô„Y™ú°]¤\¸«Â؆n @ÄÙ6`ßVÅF@é+ Åùe…t ) n¼®‘ql,,Ò¼RØ…„˜2¹ŠÄ¯œ2íúöZÞ•¥2¦šÇø¡Èq¾N—ûì¢ËGyÞ¨™‚>ßîÑé«Z6&«ð˲Ž}^z¤j“Ä&v.Ò_Ngf-†[_w$Tg-\L¹,?S#Ù“=4ŽSÑ É øÀê·.Úç¿WIX„õÑ#–|¢ó6&]>{çV¿;¨Ö8.š[>0MY“¬1¯ŠÙP' UxòÑcœ³ö-wE<•‚¡¹×Þ–sf CˆÎû;Cœ3ÛT»bÓiŸfÉ󩀺`Ï,Ë-¾eI‚Íž…JDNîò1“îÎÕ_ I‚[ß«ÍØ¼|  ×òþ6ăžýýþ4pà1;Í©Øý]½ŽŒ~·¹JÁ¦ gQ,̓/q®|«UŠ(¦gÇEæÁ{ß§y —º:kæ|Áf*'Q?<ƒZÞnÎ3§HÉò?S¾Ã|ïËy®á¥¬ƒ8¿…:Á«—:ÜÌöÔ>™’£ÆdM˜tñ©«D+BÉã%*¥ç˜(õ-êêhC¼ ü<:©Ä²Ò²Î]Îõ•ãDâD§XÑlV€“~i‚¾^½kúò§´…ö—xu¶ùCA%‘߈‘aýκŸü•W *ö)K« -A¿Gvµ¬Jó›[¢WÍX ú+1c7ÀcÄ÷#”qaV½í®ÇÜ3“¸8²|@ÛÀ®¡Ä婤+.°Z´(£‡<üìm¨°×À^èÅé²$™½>k(J^=ž̇ ß×O•XlHv&Ét¿¯Í®§7fæES°™+ï]ðhMK¼Ã¥ødïÆÂôx唡(L2ɾ•º—˜»ï#òÏv-yÖq˜!­Z@™åo›k}rfx$rZ{a¢‰{½–3“wb;ÒñœŸQù=˜[2c±ÞËÑ—rááéÉM3z¢Ÿ–'Íÿ[žâJ@ö³p;Ä:¤ÆöDQI dÏ1à9ìú•Õ¡®¤ß kÆÞj4lÛçsfÐÀìžâT\[§:ÿŒÍ÷졊½‚Ež’,Žÿ;°O PˆÃøAõ±yVoE ú­Î³™0¸à®)ËF¹÷ÕŽÞ! OÁ’L}™Êù7y“náMÌJß'ãmQØ©Ôey+Ë[&HZޱ'À ¦^glê&‹—‡~E‹|°N›u.Ö…&k§”˜Íéš{Ñ ÃÙÕw'ÆÕ†3û"Ÿ›v/CKeßZíÒö wL×Å·]õ¢v)‰oàà¥(ýƒôQ}Dhʾg˜Ã=M 6“î+mÇ#Úqp®ËWÃÐÀ.&äCöi>CkäYÔž 3`6/4ElÍg7“¹ r´§íf”íÕ^-H“¢—Êï´&1/ç©•QôÕAéj¾7Àd‰-Ù+ºÔ7_óW|íO8J)Çôçw”ÆbÔŽˆì+¹I%lòÊÈÁä]€¼Äöî^6+ÏM‘k¬¤ŸÖ2˜ÞeI±ÙºÛ6þäèŒÌHor‘u.Á¸:Õ}üŒ¤§¼@/÷KõuõKü˜ñ['R ßB7ë¨Ô>"\$|uÔî³µ»LÀFbbbDn€{Ý{ ÷¿8H?èÚNî{h:þ5Nezn¬zòÇR'Må·|™qPqOÑÔN^ñ³"Ÿ¯5PCTaN|®²KD4J£™_gzÚ¤(+üóY0ƒJFS#œáAK„a€w³<²ë§eQß$9âJEzƒkr«Ê †X¶‘;`ðW8ÑuCöÅi Ûh6êS¢Ú§µècÊ–"öh“Úø û•KÞSŒ­ºk;¦¨—D¢X+QÛ ®è¹>=­Ý^X1Ü|<à[ÐÀu3ãóa{ˉC¾¢·n ÔF;Onsæ¤gb2lnÅG²öE}Ò+¿µíÞ1{¸U ã›’*0D„r …sã«å)ÂϬƒöôèV/€8ÎV{y¾»ÈÚE6%Þ½å-6þɃò{Rœ¦ƒ¢úl^¬ GÒÐzŸÆꕵtÖPD‰²Vší'†IÉÇZpv(µÔ»³³â˜Òô&#ÖLs]›²ÕøZ\Ô$ó\;÷$Ö%Þ\h5yÛsr7©:ë¾ êgøÓTr)‡Þo'w›Ì¹ÙøšÐ”ÍÙf Mw*vg?¬6y86I‘£ÛkïLÿSq¨|".Žªª««åí–®ÀMŠÒسx¢`Ó·þk‡ýj}ÇÆ•bÄ}ý¶×ã6€_÷õ…`a}·Õ˜| (ôHw/t!SòÛ  9Ñ.Ö,¼8 ¯‚ ºnvõ…Pðõ®Öú–šo!É6ÃèŠ`Žuö›¿µîz¼M=”ε päØç è¨òLV ”¦wºÐ¾cA“ˆVØB!<ÌY>ܡ߇~ _Ë®©âuã.-L.h@äNô¼ž­=—8f’V»ÃÿƒÑiªXM\‰Ñþ¼Ë·{îæë8 œ·ÒÈ$io«'å°æÒeÕ©'ކª”¾LYŠ>u ”ˆmN®•iÞʼcöÜI1*êqxŽê~Å/:jÐHµ'ˆêõáHVúÆçàM˜®4‘[N®|™gAeŽsrpeé÷l×FnÄRe‘LeDå´Ð–5‡³³&9 λ“ü~…àtIþ¤d»)lNÎÎÆô¼Ø¯ÉEyüR—ê…ÅeEk—¨9l„ Í VœiõæÀS‡T„>ùÌ·NS[OýósWüß_^÷&olò/•ßúаÿ~û]ý)¾4@Øù齿‰Œ÷CÙÆ7O„3ˆ9ï¹â š¡­¡ï[²g'‰aXMat¿÷J(íÚ*?ˆßÓx”o­ì2Ï*É–@~¿Îbq­V°KAÀ¶ª7g†6êõQhט±^ˆ®¶Ë‰ƒƒDœbÛÛ ‰Uá |ñG1Ú œKáá,ª'Ü'd×é^xÕ—1©Æö—Ì?†ÿ’ðkt“¶öÎÆsSX$ó‘¨é±²øl çHwTážîÞ~/äýS]rÁr%¿wa¶ïéa¹Æv¿åoÓ»ÏiÔ…çi qiRÉGæLÜ×ç/æ4Ç£›–vŸMßåµ@ !ùŽèMęй­Ï¢)ñæ×[ÇØ‡Å›Æ´ÝY‚o]$9Õ¬Wô~àôÝóã:ÜB¿Û¬`‹Û9 oìj1SÏU±yœÜXû¢ŒHO¼œT±°™$g••çÛá°pÐ{ÝžãÓeqÂPXS!·ÜwJ>1½õô›˜ü}×åü¸í7²{’Ï'!nÞˆuT\H.µ÷’ÆÆÚäÆp‚вuÒ‹ä–èÎÞ„d½”øt“<±nb’\ªòÊY¾úð,€.­4y˪:.…±¾&)™ÛüePÙìOÜŒÇ`Q[ XÛgwœÊ ˆÐ|òTʲf5üàuyŠI·ü³– ë–dÇjð,J7nŽÇ@TßÏÁÒé¯=›ëȲEIñ¸÷ é±ë%ÑŸf‡ í kop#´‡Š4ÁLOÆS<Ì5òr¨Ö¿å-ÁÇ¡J—½˜Š]ôŸò@~7TWxaŸ¤Ô sDÔVâž±}~mn¯?ci¡¿B!ýGCé?Í;ER¾dÞ«1† r>iŒ¦åx]êHPyn’Uq¯;1Iu‘2¢^1M‹ÙtG|õÍÑ'îÝ>É_ë–Ð|p: „:òS°ZKykÜån¤xCXÞŽ_Ÿ›•±èþ.Á¤°ÂŽÅÛÕ¶vÚXdIÙ7ÒšænH-y»cè…¢¹¨OŽ…£)4o„_¯ŒŽÊ¾©èC÷É,´5±æ2‡Ë›¹wOùxq(ŒSs¹çÒЋýþQKù²fr÷æÒ¬‹|QmÂXo±µ¼~]Lœ”LŠŒÿüöáúê|÷,ÂÖ‹Fç€m’oS æ$ç¸y8g^Ì+‰¡ëS›u¿÷òq­Øa‘£ê"B°ä25Õ‹Š®Æ±78ëS…Æc*B,rÄôn‘´;‚%ñþ.Ö#¬SŠMAùKÆÞ]>XØš1ZÔ,µÇ—ÑÙ³;˜fE0nÖFöÎ^ƒ×"ʬÔÀ*ŽhTé—!¾½²ç›ŒÃHbî¹¼$kK¼1¢ù¼Ô¡öAùOÙð÷W|© kS(ãFôÚªï)Ö¾!D‡Æï¡¨o³$.J°š,@!¯Õ7¼—Þ&ÞP<ŽÍ¥ÎOеu€âWûÌ_m™—îC¼çö¢ÄÈé°>«äa í´q³9¸çk81‹X*¹Vè·ŸÔÂ*ÔŒLÏs¡iã¢Öž-jwډʑ³h¶î¶ Ö‰töpß^ö!ïá?#M=ð+ –ûLºPkˆò™ õ…uA+Öª/ñ0°U tŸDw«”Z£Q·f<åžýzŸSø„âî§Nÿ•*÷*ÂLY.n;1üä47]†ëÝÈ îÔº¨»ué@M¯Ç̯EgR0ª§ÆùÍ\üa¼Žc=:#ùòüüJ¯DMÃÕ#™Û^mµöƒ];ýÝZAìóä eQM‚†¿Ä«I}ý/îñ?œ$ž›ÚþB…«ûr²'X•ò»'êòÎ|Z?8 »µTâŸRº¿Oí˜ÉüøIŒ•t²eb#4/|oŸ…d¸ýñèŸÓ½Lûþåsì›ÿPK/™T/HDy.nFLarge.foìýmsi–æy¾ÞøXضٌY€!Je†lȶTN×F˜•ºË:úa÷%D:IŒ €ºŠRúu¸þ¿o‡p2Tµ¿µ]›,Ef„‡ãø9×õ¿Îù?þã·/‹Ñ¿&ëÇùjy9>?{3%ËëÕÍ|yw9þïÿíŸ&ÿÇ«ŸþÿçdòÇìËÃ"ýŸ«ë¯_’e:úô}ôÏ_—³ÇùbôÏéÍÙdRü±ÿv?mþ¿Ë4YÞ$7£t5J“Çtôødÿo³åÍècòeµþ>úú8»KŠ¿îvõ~½Z¥£ìofùøþvu9¾OÓ‡÷¿üòôôtö4=[­ï~9ÿõ×_ùÿüñÏ¿üÓjýe–ޝ~F›¿r1û¾úšN¾ÌÓd=yLÒüÿ²ý?>Î7ד‡ìjû'FÛ?¸œ}I.Ç·óõc:Îþ³õÝ|9IW—ã‹·år9~û·êÿmòi•¦«/Û?²ûŸÙþ/­“»ìfäæûèav³y‚“Er›^ާï6ÿÛÿl÷ß¿û#ëùÝýîÏüRþÿ’ýsµÿÖŸóöe6_–ÿ\ÅßÇ_/¢ÿ`Û¿‹üODþ¹’ÛÕ:mÿ)‹‡÷)ÿϲ7æ[öïz÷?PþC4ŸËì6û·ÓüËóÿ¨ú«óÇù«ó§Zÿ—ô·7-ù¿«ç<ÄüµxLþï¯Ù;~?¿üãëcö/=û;Ý{0Ù¿áæ«5Y'·Ézóßµ{ÉÊÿ`÷¦µÿù’Y:ûôŒÿ¢üßlóŸ2ôÏQü>6/Rø²ùé4þºÀßsèŸ~ó×=¦³t~=¹^m~äéèv±zš4^‰½Gõi±ºþœ•oéd¶˜ß-'‹ìÇz9þ¿²';¿ý>ÎjÃ,{þùûp9Þ¼µ¿~ûÍ—‹ù2Éÿ'³þìUÚþëÕÝ:yÜÔ¯ÉÍ<«LE%»Ø¼ýÕÿàå8û[^g¿ÂÖßCñŸ7ÿ÷¶ÿ“ùßuëÿR¾Öézžüëæ­YÎßìíÿûuöÏö¸}›Wç÷åíªñZo‹ÓæßLà!ÿ7¶ÿÛ~‹dv“¬ëoSì9ÝfOlò8ÿ_Ùïõ<¯lÝî|ÿÁ]gÿ†7?ÓÖ“Ûþâ®ñüczû·½)!ëål1¹[Ïîç×£Çõõåøëzñ¿-Vw«³ÿëáî¶ïÛä>)ŠæÙ_ê¿„â¹î^ú×x´Ïz·ï|öQì|ÛþÅÿç_²Ê”ÝòŸèòë—O›Û£Õíþ8¹žo~Œ«eöÞNæ7—ãÍokó—ÿ~óŒ×®ñÊÿ‘<¤Éæq4}óóèâÍ›iþVñHÛ]þŸ4ëGã³­,Å×â@a¹ß³¼ÁØý@÷°«ÇùæOn’„ÍÇûižÞg=Áæ_À8üóÞ¼óåפù ƒÏjówp  Æ~ä£â·žý¤›ßÈåxýu‘ýå…tÓ‰Mf7›BZü£¯g‹ýë{oÑ¶Øæÿ˜—ã¼»)ÊoöfÿïªRü-œôwòìWaóU©Z¾=.²lÙdí¿ ùGtô4¿Iï³J÷æÍ|DŠí¦™V­âÿ¼^=ÅŠ~ñ®“Åb÷?ôî/ûÿ;U*ÿ•ç%øvöe¾øž}ˆfËǬçXÏoÇ£ZmλΫŸ¶?ÿ?>¯î’dôOóå,ë&¶ÿiìGX«zÕß`ÿ„iŸ„ú§4oóç›×¦ü›ÿ}ù¯Yß ÿ5yX­Ó^ÿõ ÔørþçšÏªU­y^ùÓŽ¿›_Uùí¾HŃ(߯ËÐý/§þÏ¿÷ ì÷/ø9Ã=ÞŽëÕâë—åöÓ“ý¢‚ÿXi}^óó½ cïI•eòêŸÖÙ´ø?ç‹Å|öå±ûͯ¦½â u1}{>úøu±È¾`Ùœùϳeò¼ÿ‚?’OÙ—`õ°Zü<úÇßÏF¿þåí_/þW ýóÜûpÑó_ÀÓ¶9úÛ›7±zòóè÷åõÙ³•åü_ÎþËÙèÃêÛèo¿¾ûËñÿ5ÿ˜/¯çËeÖ½ü<ú/¿ÞþåâíÛþ¦îWËäýè|’ýƒOþö·¿mþ{ñJPûÑí}VªÿK°gɧ™²ll¾Â‡Æ£bÚ.ä„ÑÞÌôkpfÚ~µ7ýÂ$ëe®?/³A)û/Øü¯›ŠÆtjùª6¦>VäúFþì¿|ü÷ÿþ_ÿ¿Ù¿†]QÑ‚ìþ7ÿ8Ûcú}‘ý3g=îb~]¼Ïÿy£#eªR&"esvö/ý{öGól¾N6_ÿ8úûhûý¯«ô~ôûý{Ö8g“ùc6â.¿gPù}š-ò±#gÿI®M]Ï–Y1_<Œ2M)û¯œ]ßoþÿÕÿÛGw«Ùâñlô_²ÿ4>o‹Ùs¶Øüwg­bö?²ûï8ýyÖZŽ6"Vñ÷³ýžŸ]¯¾äÏù?ÂM’M´Ùc×C*š›æCÊ?º£â£RŒø—ãÙ×t5}Z­7 c¡ú<®óìye­lùÈe®ü?ïú˜¿¾t¿TÊ_ùÛ·mÓþÚ£õ}ªö*~½Ê?0Í—ñÓj‘Í\ÿí¿ü·¿ÿóèüýŸÿûzáR>ð‡¸ñä"O£únzðÓjþ°þþ¸™-û~‡í›Ò‹ìͨ$ÓÍ;s蟼OÏz/þ_o~;½øùb:=ûõ¯§}ûþÅñ¡øwö£îÕ-ĬØý¿ýý?ÿ¿ÿÓ£ßÿó«üÚ·-p{4|þ+ü#´ýµÊü¼ß_ï:½ëвü!›è—ËLo}˜-6Ãîèûë/ç¿lD§ÿýÕ[îí?üŧÑýäÿdzt•Õš7oÞlþ/Zk¯d?9ãY™Q.M晿·±}Γ/±êÜÿÏL Èú¡ÃÓÜГÔóþáÚRÇÕ›³7o^îÓðƒþëúŸ™þy³ž=-ü k ‚ ù§‡šò¿¯ÿ¶Ê¦¤ÍhŸ¹•¯^:ÿÿÆŠ’÷¸‡/Çéúkr¸=®Hþã~¶Ì¬Ÿùrô?f‹¯ò¿ÇŒ¹yÖ?ó¿…ÚÙÒÕvórî0e¶Oî 4æâÿòXŒLÛÁùÔ~ÔP€ÎãÎöót|Þ¥uš]¾[¯¾.o27~±ÊûŒÊ¢º÷3'ºvSuõŸ–°¦êýeú¦O³Xû'ÜØ7ƒWìÞýß:kÞä§Lñú\ªp¹óÙv%·þiñÿ˜q‡œ¢¯®_)ùîï××Ù —¾ßˆÄçÙ¬ÞiHkÏù;¯œÜàßzaôÉì<àQfÁ/3Œ!{Ç3¬íì¬rìýl„ÕØßb1ó7E½Ûù·ÌbnX›Û’µûé¶5i+ü2jQÉ2­1ûÉlüíLAM3ÿ1ÓIs4lûgkE/öG;¼Ò¢–f`FîmKçÛLKl²UÇü‹.~˜¿è>÷º»+DÖŒ¢u0 25ʽl{„m%¡É¶Á¨úGõƒùÇêËC¦s÷k{™’ÿÐóöêûYiýHGÿ²ž_÷쮞ùˆJús Uöü×Ò >dxí OíÀ~mö&ÿµu䫺oÎFõé^mNÝÕl…€¼ýêÿ)Õ?÷mÆ-÷©nïÿŸŸhäUO4ˆçôÑH†ªŸ’õçÇûÌLý6KïgO³ª”^¼ýËTGÿö×óÜ;9ï HüyÅtúö,Þ7X=¼ªãÙºòªö1Eš‰W5ÿ=öÚ[5ÿÈ'îUõª–ˆ» 9œ†àõLH(м ÷دzÕÝ+öŠEÞ«êUÝK"–eL ÐEé"f¿Ÿ^ÓôK‹iÂÑÑç(.CMy € ϯîí9Á¤"V«XûÓA@”@èèªUUUUUUUëk³ˆUùÚ'½j·Ëtp• "ê( àЭªî=!ÀуA€zÕíO¦Š¦èU‘U»šÁ„•ªZù¢]¦;\®W«ô‚䟙þ{Élª@ Ø­ŽŽ­¢(ޑΑ[ Ðh45‘áä=ªªªªªªªªªªš·à•ÙÑ«7·à@«õƒ)ª²UûF3 €°“?j[õVÚDUUUûu),€êM¡«Vg,UUUµpNÖΠÕÐjh5´Z=¤v¦ªªªªªªªªªª›ãæ‘»‡}  ÄÊèªïmåûîÄ÷Ý›ODUUUUÕ»É"¹í¿™CUUUK B P |sЫêU›=·*`ZRÚÐc@AÙ¯ªWm½€¶¬ªªªRíW™v „¾µªªªºèµPC¯ªWms¹ªªªzå@a±ÆTUUUUÕUGÖO@ÇZFŒªªªªªªªªªª¦“Ùb~·tØ9àU=m½šõjÖ«Šò¸[µ/÷Dn¨»±šÝÃ_©ªªªªªªZZ9dDTUUUUUUUUUUuŸ­Ñ_ªªªªªªªªê~ˆs@€ @`ñ€Ï/ògPì§9zT‹éÑ«êU‡½,­´´ÒÒJK+͹í=¡ÎÓªªªªªªªªêÚ™ªªªªªªªªªªZ°þi‘Lz_º¬[“+]w" ÕÐj ‚ÃSôëm{c°X, €À€Vç]yyf)¢fÅr•óŸ/¦Ó3•Z5PUí¬¿ëwÑ1´Î-1@U5®™êU_ z¤]IW¥«ÒUéªtUº*]•®JW¥«–w"@€ @ ‚A€{.QôŠ €À`|ùƒÆ*c•±ÊXe¬2V«ŒUÆ*cÕ|Œ~›¥÷³§Ù÷ÙnPøgVô €À`0YâR `÷K(j‡dýùñ^¯ºë”ÜhöŒµ=‹Ö«Y¯¶k¥Ü­ ŒVeíPU÷žŽªªªF´ˆ|ãA”º`¬2V«ŒUÆ*c•±ÊXe¬2V‰UĪÅ"Ô«ªê`¬jÉYÏY­ÚA¬"V•?Uµã[öž¨ªªj:î¡É©ªªªªÚ@1ñªxU‡+®t¸ÒáJ‡+®ì«dc0 €À`0  ™p«ÂoÁÖªK¹Uܪz¿P;á—㊠+.¬Ø®rH’Á`0€÷UQò›m‰pµpuk€q 0)zàRRÅ»b`ï}GzU½ª^U¯ªW­+ýx‘Üöß"§ªªªªªªªªªªJ(     P<b•±ªe{ÀUBNÐ/  @U½›«BŒŽªªª÷Ç eºK¬J¬J¬Â#C‡´¡ÕÐjh5´Z½}zU½ª^5XŽñРÕÐjhu Ç„V‡ K+õZ ­Þ3ôªzU½ª^uK;FîÇYn·êjúöl:ÍG»â@¹^µcSÉ _\n·Š[Å­®RsWUUUUUUUUUÕœï?L-KP(€âxň¨^U¯ªWÕ«êUõªzÕn[»$ÈôªzU½ª^õüç‹éôìübÏ’ ªªªªªªªª¶ê@{ «Nǃ¤UȪ!wÐÉV…ðoº*]•®JW¥«ÒU‹†8Ô×"· °zé6dªmÞÁ`ôªzU½ª^U¯ªWÕ«Öž@gç$±ŠWÅÄ+&·Š[þštÍ£ªªªªªªªÄªc•± W«ÀUà* À»ût|Å­âVq«¸UÜ*n·Š[Å­âVÍ×Éè·Yz?{š}‘0¦[Q?}Z$w«udW’õçÇ{¯êîAu:뮺ˆWUUUÕ!§ÿ’†"¢ÂÕÂÕRRRCŽÜªªªªªªªªªªšK8vVÕç·¬4Vs8*˜Îž  ÙréUõªzU½ª^U¯ªWݯÍökô0»¹™/ñªxU¼*^¯ŠWe¬âUñªxU¼*^¯ŠWÅ«âUñªxU¼j·”Æ­ N ½ÑݪÀžw«ö^¡ÍË%½‰UÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«O@`¥þ8@€EÜàˆ“UÀ}UÀ‰×ÊŠ9f°N\öÂ`°X, €À`°X, €ÀX=Ek &LßžM§¹|bCÍ`?³ð†< €ðÜ.EUUUUU;«ì¬²³ªTº^e²_Õ~UûUYÎ!Ð ®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W9™¹h¹í««MôºUhieP‹«¤—ãw™½ö·5¦˜_?$ëÏ÷óu2úm–ÞÏžf߇@dž*cÜ*n·Š[åàš»ªªªªªªªªªªæÎø™E@úQn¼7Ví=·šD @ @ @ @ @ @ Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†V‡¦ãN_Í&À¾ì8^PÿyÙ¯úÚ¿ €À`°X, €À`°X, €À°²¢õÈVÉVEd³ütS>J‡6šÛ`€=‡g·ö½Àu¸­LÓÈh¹ìeˆ|‘ÜÚYü°Ÿ¼í±ÊXÕ0V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒÕ÷Ýj³¥•Õ+ÂXí´«€_«€B¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVåñ¾“"b€b€b€b€Î©¹«ªªªªªªªªªjîá8²^pƒ‹=êþ S² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*dU²,r&w=7V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ªª‘ñÑ1 ØçÒ1 ½'Óªµ´²ùƒs p‚A€ @ È­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·êù–ËfÛÉ‹ ­¬°²ÂÊ n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸Uܪü lü·hÒgúöl:ÍsQ'*j²U²UåëV…ËsÞ«Éúóãý|Œ~›¥÷³§Ù÷!~‹C™îîV¹[ånÕ!Ëy”&ßÒÉl1¿[–Ž\®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«`ðJŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬¶¦ãÍÚ‹bUÁ:<5U«ë# •´/÷¸\B\®~þÉv•ÀöŒPðÞÊ ++¬¬°²"ëvª¯û— ý,TUUµì¬zHÇ=>vVí·o]ûõðªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«ɲA€ @ pHÓ]UUUUUUUUUUsˆã0`Ç9@ï¡ÕÐê<Ž*°r€Ü–èY{½ª^U¯ªWÕ«êUõªÝ˜•(jµ$Ö•wóç¢ýˆ                             cU P 0è6É„ã€VC«OÄgá*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«ÀUà*å7ÛUlWY–ÞÉôíÙtš/Î<ÑR«-ß\‡µ¨Š‹üíΚԫzÌ&Ó#‹<² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² ®WI“oéd¶˜ß!«þ¼æÐU7VÝX=òŒµ ‚A€ @ ‚A€ @ ‚A€ @ ‚A€ @ ‚?GJá+¾ @ ˜5æ›­–Õ2ÉÐÏÂÒÊ¦Ž‘s!@TUUUUUUUUUUUUUUUUUUÕ8><±lþTc¬)Ï9¬çxU¼*^¯ŠWÅ«âUñªxU¼*^•€WÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼êþÖR›mÚxʸú¬??ÞÏ×Éè·™±ÊXe¬2V«ŒUÆ*c•±ÊXU‡×a¥# ;.’Ûôrüî!÷øêêU÷½¯tî@á‰UÜ­WµëÝXXXXXXXéæìË`Ž^5"w/g(þªÍ]KÀ­âVq«¸Uܪ!ûUUUUUUUUUUu Ð5@×wƒh1°r«J 8Ð(5ý”ÍW4¶¶O*ÐNðr«ÊgÒ©q«¸UÜ*n·Š[Å­âV…ñä#vîùY¥«ÒUéªtUº*]•®JW¥«ÒU/ÇùÞæñ±ŠXE¬"V«ˆUÄ*b±ªö:m¾éÛ³é4ðØP‹Vœ±Ú^åàÂJàý®Þ«Ô+Í¢ªªªe’«J|¹[èðÊÚ¡ªªªeâruEz¥«ÒUéªtUº*]•®JW¥«ÒUm­Þ½Ä*bU¤7ìÞ¼c¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUám ànbp¨O¨î€œàó W W W W’dUÈ*dÕ«÷X, €À`°X, €LVz®}ÜF¸\ÜW毦e¬2V«ŒÕÈVÚ_×ZÉŒuiªªªªªªªªj¶˜Özµ¢¼ÞÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V{ßÓf¬2V«Gß§g°X,  œ/€@ P(€O‹Î‹ƒ8™zU½ª^U¯êà_\UUUUUUUUUU=¢±²"*ªªªªªªªªªûu¯ŠWy' €õjñŠieEÙW½#l“â4€À`0 À§ÍÇàø,H«-¡«ÒUõªV[¬ªZZ™-_ÁUà*ŒUÆ*c•±ÊXe¬+¡pµpõƒ +áŸYÃC#V«ˆUÄ*b±ŠXE¬¿{Èôºp=Ü~'r¿,´\‚]XY«ŒUÆ*c•±ÊXe¬2V«rÛ€À`0 @í ”_Fºê Y `¶‹8•¢Ü"¹M/û¶äW’õçÇûù:ý6KïgO³ï9©4tlÈ«êUõª‚A€ Àt2[Ìï–—ãõ<×ά¬°²ÂÊ ++¬¬°²ÂÊ ++¬¬ØÙIi>2Y¯f½ZT=À««ÂÀ²±ÊXe¬2V«ŒUÆ*c•±ÊXUjîvV‰âUñªxU¼*^¯ŠWÅ«‚wï@'°LW¥«ÒUéªtUº*]•®JW¥«ÒU3’»wèH P ð›À¨Š0~¶«Ø®b»Ší*‹Å‘v%±ŠXE¬"V«ˆUÄ*b±ŠXE¬"Vµœn‹€öZ$ @ó«ªçÑùn@«¡ÕÐjh5´Z ­†VC«¡ÕÐjhuØÃ3V«ò'P¡Ü*n·Š[Å­âVq«¸UÜ*nU2é8¶¹í£« A€ @ ±ÊXe¬2V«ŒUÆ*c•±ÊXe¬ª{³›ÃÅɉذɭâVq«î&n¬†fɦ…)±ZüRTÕ¶½íp˜ k|€Ë‹ÎùLÛUÊO1¿º\½ÐØAç¡õ:, €À`°X, ÀXÅ`°ö»âA„L{ì°àÐÀI¬Úw ¬î2UUUUUUU«C ™ªªªªªªªªªªÚZÚ†+^®¨å¦H¸ÊÞÓ±_uß©8A `gQ«ªªjëS ­†V7ƒ(ݱâÏÚZ]f›TUUUU Ñ+u"FU})©ªªªªªªÚ±ª Yu(bOW®QÂÕ¡«pu3Çp–H €À`0ûu ržC¯ªW½š¾=›Nó=?'Æj­WkºZÑæzU½ª^U¯ªWÕ«êUõªÁJØcó"·Š[Å­úi&ùa0ªªªªªªª•fI´ÄYº*]•®ºåöCC}qéªtÕRWýãërôq~½^=~L“/C8C½¨çoÞüH?Ó³¿þú"?ÎS¿¾9;¿øwfSyG}BgÄË;ÚzVEÀã…»Sï¨wtê+~ »ß;êõŽ&‹à3ØŽa]K)ô£a ®ë™éG7ÓÐë ÷ÞQïèæö‹o½o½o½o}Ĩ~‘~¾õ¾õôÑò÷jΨo½o½o½o½o}¦ó7ο>0QGÕQuTUGÕÑgop:–)”Ônf¦t|EçáÓð[ïîi÷H0%å“à×gý:~´3g®7×›ëÍõæzs½¹~y9^Ïïî³9“_ϯç×óëçwUM =ÑžhO´§ÜG—g’i—ÃȖ伩¼¿{È:Ëðjœm.<ºðU?ªÕêGõ£êè^Sž©ùæ…òB÷;³ÎwÂ\o®7×›ëÍõ[ìÈUUGÕQuTUGcõ3&Q¾¾Ÿ l®7×ó™N8è¬ÕêGõ£úQý¨~4ÔwÛq{—]>¼ SæNæÎ\ßï2×›ëÍõæúÐpŽíw©£ê¨:ªŽª£›Nv;槬^úì®b­}nˆ¹Å«ÁòLùˆ©Ïnß¼úùØ÷dßSvUªÁÑðiø½˜L ¦S‚)Á”`J0%¯y¿”öD{J'³…v@ØqüÎ^uTUGí$«~åzL ¦S‚)Á”`JúXH|¦f+Égâ3=Ãâ×óëùõ{ï@-Pg×x'Ô™=8»쯹Þ\š7K¥ÒGÕQuTÝúŒæzs½¹¾2Ý;,íÒ±KgS&O ´Ø¥c—Ž]:vé´}øê›#ϤÕêGõ£5‰âõ²ÔôQú(}”>J¥ÒGË_Á ,œ|½|½|½|½|½|½|½|½|}3ïý뛳ó‹Ü#â3½Æ¾Oý¨~T?ªÕêGõ£úQý¨~´ý5´ÇÙçü­¨4ðõêéyß ü(~Ô\_G{ý~ŽdáÌõæzs½¹Þ\o®7×›ëÍõæzsýòrœcã+Œ3ÆãŒqÆ8cœ1Îç£úc»#’vÁnýñu9ú8¿^¯¿?¦É—Ç!°®†asHälæ¼£ÞQûG÷ÞûGÕуë&ÔÑþg¨|ëÛûL¢·áiO´'Úí‰öD{¢=ÑžhO‘~ ±÷?ŠÅâGsiù§0ÝyDN>J¥ÒGÛ¿ûžºÇ3ú(}tÿWã^hs”±ÇÙg{œ·"WãàpÙw›ëÍõæzs½¹^¾¾ÈfÈ.Ë.ãGe—e—e—e—e—e—e—e—e—#+Çì$33¦í<å°íßê¨:ªŽn‹ìr‹É•gÊ«dõ½Ô?–Qš|“g’g’g’g’g’g’g’gú3õZùúÈûçfÃÉg:É û§¼£ÞQ3“™ÉÌdf23™™ÌLf&3SîAòëO<}>ÔŒ‚ÃÇáãðqø8|>‡ÃÇáãðqø¸'ÜÓÂÞ¼ÈÚ·oºLˆä…òBy¡¼P^(/”Ê å…òBy¡¼P÷Bã:ƒ™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLy°§dW;™rŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1Ρٰ§¯ìÈmiÎväÒžê/íi³#MVDVd ;и'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážú둸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ñëqO›Yv‹#}â3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL­þãŒq63í½µ%$±[éö”ØSR×ÔQuTUGÛ¿‚AôHÜî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'ÜÓþ;@Ãê =ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=Ñž"ðßÉ9LÚí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öT{=°7; Émz9~÷Ž#3åöåg1Ý mþÀ:oCºs×xXUö7Ò°Æ‹ÞÑ—ªëÞQï¨[Œn1V¿·Áƒ.c±ÏÄmðÍñïi÷Џ î6ø¡raf23-¡áZUGíÍ£=µë£› å3‘]Ê×ÁâGiøøQü(~?ŠÅâGñ£øQü(~?ŠÅâGñ£øÑç͆ØJ¥ÒGé£ôQú(}´¦ç¹»œ'ÌL}Þ >‡ÃÇáãðqø8|>‡Ãç3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>ÓÞ×Ï´{ %Èâ5ùL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|¦ cRܤ‰fÜøL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰Ïdfâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Sã Dn¸ÙP=%7Žù͸}ùEĩ֬:z˜ÝÜÌ—w÷™^j†óŽzGÝgò­÷­?PGÕQuTUGÕÑâ¨-ʹN‹o—Îîç‚qÞ¼#å¼«Žª£ê¨:Zþ šuÄÌÝêg²"êhD.Ì_«?¾.Gç¼P^(/”Ê ­ún>ŸisG±øNþ,æú–O«ÝS0%éåøÝC:îñjèG›oO§Ægâ3ñ™è£ôQú(}”>zTÞŸ>J-öJ¥³Oê¨:ªŽª£}t`ú(}”>Úã³É¯ïn+è£ôÑnÍüHO>J¥ÒG飿zs½¹Þ\o®oÍì=ž¡ý¨~T?ªÕêGõ£úQý¨~T?Ú}Óê×7gçyŽÃ?€gð™øL›rñÓøõüzu”_?ðîsü(~?º÷È…Ê…Ä©qO¸'Ü“¹þPìÂ\o®7×ï*%¿~1¿«nšÒG7æF×xf¿eOIwïa®7×›ëÍõí_~T?ªÕ~¥É·}žQ?ª׈ûØøQü(~?ŠÅâGñ£øÑé·è£ôÑÆ*ü(~?ÊgÂ6´ ÷ëOŽæ Å Ê×Gæ!ï¨w´Ù¼tÞ• áÓðiø}QUGÕQ÷B\È ×êGí{â×óëùõüz~=¿ž_ϯç×óë‹Ð¯™©Ê­E¤¥*kA{¢=ÑžhO´§@"MÝ>”N_ïüâÍ›©÷ ÒGé£ôQú(}”>J¥ÒGé£ôQú(}4¯µ½^ôÑø;a®$³ŠÝUQŸãŒqÆ8cœë»4ÕQu4³¥¯þøºä3ñ™øLv@ì¿n6¸ÙÐýNù›á…òBy¡¼P^(/”Ê å…òBy¡4|^(/”ÚúD}=> Ÿ†ßpÚí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´§ )Þ8°î6x@d+ãøÑæÓéÌaОhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžÜ]Žˆméì“™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌL›› yL,²‘¥¶\ô:Y,BÊþÑÝkä®ÈæÁ=ážöY8ûžªãKêh2‰=ƒ­PוÔ]”{œÍõæzs½¹Þ\o®7×›ëWïZßͼŽ=Îû?y&{œ»ß s½¹~ ­Ç\o®·“¬M¨ØI¶}&|&>S½©ç3ñ™øL{￾¥ÿ™ëÍõ .>J¥ÒGOÃÞøLê¨:ªŽª£êhã[°^=Å`êð~@uTUGÕQuTßݧã+^(/”Ê æ$x¡¼P^èøÝCö±ü)ø­Ø¶E¶õ¯ËÑÇùõzõøý1M¾ÈŠlC¿£4ù¶¿WÚ®ñV†¢‰Íõ'GŇòf½£ÞQûðíï~îŠDº wEÊI¡Bõ#Ÿò*ïâ[ï[ßüAuþŽ~}sv~1DÝ\o®7×›ëÛµÇçò™`œ1ÎÏÌvËŠÈŠÈŠÈŠ´v@tŸ‡°Âˆîüv@ØqèÌŽ:ªŽª£v?¯NÈ.Ë.Ë.¿ÊoS‚)Á”`J0%î…ÏÄgÚÖÈ~!»,»,»,»,»,»,»Ü'ŒÊ\áGûµÛúQý¨~´ÖqöQeîZ¿ž_ϯߊ\v’½nïÁgâ3ñ™øL|&>Ÿ© u5úÜî ÷„{ÊÛ„ñ}”>:Äz…–&****ZGËãê(î ÷„{Â=ážpO¸'Ü“ý£~ Q¸_¿#–ì­±[ùbþ éöMð—dÿèí6~?ŠÅƾ=|&>Ÿ)Àd؇o~³-ÕêG£3ÆãŒqÆ8cœ1ÎgŒsŸUJ˜L ¦S‚)Á”`J0%˜L ¦ä}·aë^èîéÔ£1%˜’ 7ºúãërôq~½^=~L“//âõÉ.Ë.Ë.Ë.Ë.Ÿ–)SGÕQuTUGÕÑl¦S‚)Á”`J0%˜L ¦$Ò˜™ÌLf&3“™)®ŸÉ3É3É3ñBÃdh'í‰öD{¢=ÑžhO´'Úí‰öÔ"*Ýb\Ìï–—cÚí‰öD{J“of&3“™ÉÌdf23™™ÌLf¦î}èön’ÿGÜ’‘Á=ážhO´'Úí‰ö´¼›ÐžhO´'Úí‰öD{¢=Ñžì{zïfæØ›·+‡öæ5tC3“™ÉÌdf23™™ÌLf&3“™ÉÌ”×3“™©~œeô0»¹™ó™ZmB.±Ø5Þl:uùúH¯iO‰=%ÏøáGñ£î×´uTUGí{ ˜ö=Uy‹H™ÜôîÅ2uTUGÕQu´eÐG}w”3r‹±ýêl¦Öì}fæzs½¹Þ\_߯¥Žª£|¦6¡Òõå3ñ™ì$Ã8cœ1ÎgŒ3ÆãŒq¦=aœ1Îç0ÈòÇiO´'Úíi²ÉN‡voÊŠÈŠÈŠŒß=dË ~+ê–¯¬ˆ¬ˆ:û–l…º._G?ªÕêGõ£§ù:ê¨:ªŽª£ê¨:™[«,½y‘Á¾D¹Íõæzs½¹>T'ÔÑô’>Ú®EÎö„ß ÆãŒqÆ8cœÕQŒ3ÆãŒqÆ8cœ1ÎgŒ3Æy žU:ƒ=Î}ކÈܰ7ÏÞ¼í;â†/”Zqª4üJv©Š¤¬ÈI¾6›‡ÍÃæaó°yؼí>òFß½Hn1%û²Éõ#šëÍõæúP}Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦„öhx¡¼Ðú«1ˆÉ å…òBy¡¼P^(/”z”É ÅæwWOžQô£úQý¨~T?ªÕêGõ£³EýVµûõ‡äp»ÝòQŽœQô£úQý¨~T?ªÕêGõ£úÑ?“×ÔêGõ£úQý¨~T?ªÕêGõ£ËËq)_¹ÙÉÓ­WOÏû^àðqøŸåÓb3o„Oo÷0bܯ߽Fv;Úí/ t®øýñu9ú8¿^¯¿?¦É—G¹P¹P¹P¹P¹Pý¨~T?Ú±ÇáwKÃî…Úí¸_Jívl¶XòLòL‡Î窣ê¨:J}^ÀáwÿfÜ‹Œ¹ôÑ®c׸]ãÛ÷ƒÏÄgâ3OÀ\o®‘‡Ãç×ãðqø8|>‡ÃÇáãð#˜}5‡âðOFÊÍõ­‘–_ϯçׇ4¿ÒOÃâGñ£øÑÓâl8|uTUGÕQu´ñ-0כ뛆NÇçͯÇçSñaý¨~T?ªÕêGõ£Å0l6›‡ÍÃæaó°yØŸ‰ÏÄgjÿ Ü´uÓvóVDnNÚa„v@Øa„ã#o¬ÚIf'™¹¾ì¤Ül°K'¢æsH~8ä3¨£ê¨:ªŽÎï*†ãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3Æy¨,56¯ñ.Ñðiø4üí‘¡?¾.Gç×ëÕã÷Ç4ùòø"õ‘Þ3}”>J¥ÒGé£ôQú(}”>J¥ÒGé£ôQú(}tÿ°t¨w‚öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{z©ýJ´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí©öz`o­ßŒ»"‘W(_aéöMóétîö”¯—¯O'Í•†OÃWGiø4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiøÏ› Ý´}©ß Ÿ†OÃ_o¥^Žß=d‚ øÛ¾Å»Â& ?¤cüh;r[ avO1}ÚêÇüz~ý(¿±Y½Gþf|ë}ë}ë}ë«_A‰÷àžpO‹Eè»Rëéhø4|> Ÿ†OçáÓðiø?†f®7×›ëÍõæúÓ˜kuTUGÕQuT-ÞwE†ÒzäBåBåBåBåBåBåBåBåBåBåBåB1%˜L ¦S‚)Á”`J0%˜’ú¯ ˽ÈÜÉÜ}¥É·}o–_ϯç×óëùõüz~}ù+$+̯ç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿þz½züþ˜&_óÄ ¿ž_ooÞ®,tÞå3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgÚ¾ž‚\¨\¨\¨\¨\¨\¨\¨\èQž‚»Ë‘±»€›þøº}œëGõ£{¯ î ÷ä~ýøÝC:îq¦]m–s}Y=6 q:û”µð¼P^(/”Ê å…òBy¡¼P^(/”öD{¢=ÓcÙáÊ®½Ù2w2w4|™;™;™;™;™;™;™;™;™;>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL‘Låu²03™™ÌLf&3“™ÉÌdf23™™ÌLf&3“™©š Émz)ÚüQ r«Ü¾§Èï,bè·fÕr×…wô¥f8ï¨wÔN2;ɪ_AѰ¢ÝäK†Fiòmÿ7£Žª£ê¨:ªŽÚíX¼µ…c/6$ÀÛI¶û¹È…òëÉ’úQý¨:û–l?:òõ¸§p!5×ã{™ëÍõæzs½¹Þ\o®/ƒøãö=;’N-ä×7gç¹nTÜ;ø)ü_Q-i¦=%Ñ}Bf¦b‘7í‰öTýªw¢Ç¡^¨}ø}˜bßzßz»["¥¨Žª£¡‡´'Úí‰öD{r/4âE5ô Y‘À¤!ÏÔ|uè£Å-†“µs½¹Þ\o®w³ÁÍ7Ülp³Á͆ö×ðp»½ ÌèG;Q…æó)w#ÐGé£ôQú(}”>Jý3{YYYý¨~T?ªÕêGõ£úÑ\׋îM“gÚ(ŸôÑSãl-ý˜>Á€ŠÜà_—£sûðû0׿zs½¹Þ\o®7×›ëÍõæzs½¹Þ\?ÄÜÓÁîÉ}¦ýr+Ï$Ïô"ï„<“<}TžIžIžIžIžIžIžIžiy9ÎíŸñ/”Ê å…òBy¡¼P^(/”Ê å…òB㌻™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLy¨å׫§vPñŽ‘?Ͽڇ ºsWµböáÛ?ZžÅ=ážpO¸'ÜîI?ŸQdEdEdEdEdEdEÌLf&3“™ÉÌdf23™™öFlûG»Ì(M¾í³‚øQü(~?ŠÅâGñ£øQü(~?ŠÅâG[ß‚è­!~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõ¡Ù°<Ýë^hóñtÞ4æ×óëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯïê23™™ÌLf&3“™ÉÌdf23™™ÌLf&3“™ÉçHnÞçj\°ÇÙg{œ·Âí ãŒqÆ8cœ1ÎgŒ3ÆãÜš£#A¸íŸ‹f©1ÎgŒ3¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõüz~ýÆŽ/îü’û4Ínƒïž\çλÃ/Øî Ý•øõÍÙùÅ ›wÔ;d-è£ôQú(}”>J¥ÒGé£ôQú(}”>J¥ÒGé£uÙ¤×M‚#yMú(}Ôí›öÖ¥cœ1Îg> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|> ÿ4Ä]UGÕQuTUGß‚ÈÒ²ø÷BUGÕQuTUGçw÷éø ÷„{Â=áž&×Ébb'e—e—e—Çï²exIŶ•(öXüñu9ú8¿^¯¿?¦É—G^(/”Ê ¥áÓžhO´'Úí‰öD{ê3LØIvüZÀV¿%ºß~löV·!G³››ùòn"Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$ÏDçáÓðiø4|> Ÿ†OçáÓðiø4üòä î©ÙtÞâ±7/¢+É3|k(ßË;êµÛ‘Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^h ØüG¼Ð݃±K§|]wåì$ þ’:G¿¾9;¿BœñŽzGåBí{jóLUVøÈ,5¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)©íèuŸ)|£j+&cJ²^ö8GF÷™ºLh×<¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×7î »»¼ÿ“pw9½”¯—¯?­i¶§Äž{JÔQuTíÆ3šý–~T?z]çdiø4|> Ÿ†OçáÓðiø4|> ?™lƄȸHçáwÏÑvän†ªîÁ4|> Ÿ†OçáÓð Î]µo¤~4Ï^U=E¹ë‚†OçáÓðiø4|> Ÿ†Oç=ÑðiøñŒ¶™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLÛJxŒ÷ˆ{Â=ö|Z™;™;™»Ù§W`\Ülˆìh^¯žžÇrÓGé£ôQú(}”>J¥ÒGé£ôQú(}”>J Ý‹üõÍÙùÅÇaäBåBåBåBåBåBåBåBwßþª¸<s2[Ï­Þ_ϯç×?Ï›-sçnƒW-}”>J¥ÒGé£ôQúèŸ?£œ_¼yó#Ý*ÇæaóÒÉl1¿[^ŽóÑa|å o=Ëú¨\éPGÕÑýߌ:ªŽª£´'ÚS·9¶C£ßQuTUGÕQuT-Þol6›‡ÍÃæaó°yØÎ¯×«ÇïiòåñG⌼£ÞQïhëèœGx¡¼P^(/”Ê å…–¿‚æ½]{œ÷›ŠÈ=buTUGÕQu´RÏKª£ê¨:ªŽª£êhDŸrWÄ]‘m–ÖþÑ~w«ß2×›ëÕQuT­[¯·K‘_ϯç×óë'›op¨“¹“¹“¹“¹“¹“¹“¹“¹“¹“¹“¹Ë¿8ü–/bßÓÞ*™»ø.MÚíI¥=ÑžNãŒÔQuTUGÕQu4¶í¥qÈ ±Àà ±°¬3’].ÀŠË0×›ëê¨::ÐýR; 쀰BæNæNæNæNæNæNæ®­h¾^.@?ªÕêGõ£úQý¨~T?ªÕv{av@Øñ"»ØùL|&>ÓÞ;à^è¦Ú6¸»tö넹é¥ì²ì²ì²ì²ì²ì²ì²ì²ìrûÀ8cœC³C4Ï.s's's's's's's÷¾80n³=Îö8×){œ‹”`¬Bñ|x¡¼P^(/4¬áT}/”ªÕêGõ£éøJžIžIžIžIžIžIžIžIžIžIžIžéEò:´'Úí‰öD{¢=Ñžâß‚ÈÝV®­ô|Éí3òL¿øø#}Þ/¦ÓéÕnL§gç?zbyúöl˜çö]²õfv÷çÞÌ}ƒ¿Ìùª™æØîÍô5ŸßÝgM¯y8IW°Yñ;¾æe 2~¤ŒäÍôfn±[}¦>³öc0m`ôQš|ÛGAÔL5SÍܾj¦š¹edºZy5SÍT3ÕÌ@çǹ“hò5÷5÷5©ûÇÜÉè”–OÏŒD·Û3NOjx3½™?æÞo¦7Ó›‰èv1̱Ð=Ök„èxÈ–ð‚ðmèØÿ™¼Þr/J;¥ÒNi§´·BËÑÏ’š©fª™j¦š©fVö¥½ß wÅ7ç›óÍùæ|óþ÷3ÕL5SÍT3ÕL5s¨ÓÜÜIî$w’;Y‹Õ›Í»W ØÑaG‡ïÔL5³^Ìæfs³¹ÙÜln6ï4Åcû©l±=f±ðþªPDKÍT3ÕL5SÍT37´<ÿ0`A°£ÃŽŽí…PWW¢èAÇ ïCqYî$w’;É¬× D¢£aÕÚŸiO;¥=`.)5SÍT3ûä»mB° Á&›lB° Á&„åÝÄéÐk`fÆÞ釂CÁ¡à‚µÙ¼z,ÒÒÒÒÒÒÒ»'°ù*V+ø°FX#¬Qxëþ ¿¬Ök„5ÂõWþÕL5SÍT3ÕL5Ó&„È€êêJÂâuE‘倚ïßœo®fª™jæŽDÅeMˆÄâÙkd¯‘½FöÙkÔ_vU3ÕL5SÍT3ÕL»à¢ž¢Ñè@t :ˆDGý 41{·-ºÞ·lÜjüvl)´¥Ð–ÂÒa‚MA´‡‚CÁ¡àPp(8›¶àWÌô=ÆöÛcl±=fc]ÆÅ·Gµ`‡žIÏ<ž±ç›óÍùæ|s¾9ßœoÎ7ç›»ˆº÷+°¥°Õ"JõJõö‰sšÍÍæfóüpuå„{â®ûÝäúÐ:J“oéd¶˜ß-/ÇëBÒ”””””””lãHëÕSèQI‘?waÝ,ž2Õˆj4à›`2¹o¾û€e-½¯¹¯yñ•µ§ÝžöðÇAB­z.nõÖÞ 5 5 µ`ÑT3ÕL©Þ­ÏÔgê3©ÞöàF#‡‘ÃÈáwSŸíªÕ(îNFd Ûc²xH8ÁW•؆mvCײ Û6lÛ°CŸ^¾9ßœoÎ7/Ÿ€«+©Í®r@ío¥M6!؆]“¶é™ôLz&=óˆÀìV¬£gÒ3‡$ŽTþmà °Å¯Ë&„V…>f]¿7Ó.¸“r›Â!„ah»à삳 Î.8»àå³3¯fª™j¦š©fª™ögÚ¸ÕdØŸÙX8n67›ÛR¸+¶Ö@ä0r9Œ>}âNr'Ýêu«WB­¿£fª™j¦š©fª™¶FÖØìj³kX¸•ê•ê•ê•ê•ê½¹™/ï&®ûo‚ë~G„•lvµÙÕf×hÎ1ŸBlܲq«þ†¨™j¦š©fچ݆/é™ôÌÆ·²/·ª¬7þWïUT£4ù–Nf ¬UHHHHHHHHèÀ² 9 9 9 9 ö¯€žIϤgÒ3é™ôL×ý\÷kÃ4¶aï}°FX£©3³¹ÙÜln67›÷73ÔL5SÍT3ÕL53ÔŠcºH4L;¦ÓÞçë©ÏÔgê3õ™úL}¦>SÞ¼üð€x@< Ñ1Íæfól½•»“îNº;ý4 5SÍT3ów GËiÇ´cÚ1í˜vL;¦ÓŽiOgŸžó˜Íõ™fs³yx“Ã*ÿ${ì5êØgœ]pj¦š©fÚg\[ò\¯žBˆÊaüÙdzñîÂdrÕEÔm¹uu¥R—|Í}Ímv-½+ ‡‚;df×;‰Ðù©^©^©^©^©^©^©^©^©ÞìÎíOa^|c©tÓƒÒÒÒÒÒÒÒÒÒÒwËËq~æw|…ÏÄgâ3ñ™øL|&>Ñè@t :²Æ8,¸¢àú&‘ÃÈaä0rXÍT3¯#` w’;ÉäNr'¹“ÜIî$w’;É<êpÑ[¥-¤-¤-¤-¤-¤-¤-¤-¤-¤-ö¾ƒ\ÓÓgê3õ™úL}¦>SŸ©ÏÔgê3õ™Õp«·þ6ØìÚyàÅ}óZiÂñ»×Ìæfs³¹ÙÜln67››ÍÍæfs³¹Ù<²tÎÕWWl9Œ«óÍŸ 3» Ð!6o‘«+ÕXbGG;*ä†Úb^‹ Ð3é™j&=“žIϤgÒ3é™ôLz&=“žÙì33ÙŸÇaBM”¼yD¬«DOz&=ÓEÔüè7Ûgœ]pAå–T^v~Xèv°Ã­fÕm ·-úËÀî¹äš©fª™îa°Fî¹äС3óøÌ–pCϤgÒ3é™n[´›H÷€ºœÑ²iÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL{‰‡…GD¢Ñè@t :ˆD¢Ñè@t4å µ˜)ÛƒíáNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;b}_o÷šÙÜln67››ÍÍæfs³¹ÙÜln67››ÍÍæfs³yýr–ý™ûïCµþ>rd-û š+òË­ß‹ä6½¿{Àa°F›'à"ª‹¨5!.p)AÍ I4GÞÚð5÷5/uó€x@< ˆÄâñ€x@< ˆÄâñ€òH|Äâám6¹¸Dˆžé"jrÊ^tz&=“žIϤgÒ3é™ôLz&=“žIϤgÒ3é™ôLz&=3ù–Nf‹ú›@5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢QnæÙd°ÞäF{/¯pwò´&êH’žIϤgÒ3é™ôLz&=“žIϤgÒ3é™ôLz&=“žIϤgÒ3=á§<Ñýû‡ùÙëâÿ-Ò6¸Tõ¨ÜMi¯5ìå»èÍìlàlvÝïîìè°££ùN˜€L@&  Èd wÙsÑgÖ^Ž|.ÎRØ';i67›‡35Sͬ€›\= !°øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgr'¹“ÜIJ;w’;ÉäNŽjÖãu²X„h\î$¥}±@‡:GäpC]ŠzRÈaäðf·ÏøŠ;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIîä$fÊÊ•‘ÙÍ#âNr'#øB_ w’;É|÷Ù³Ç5Ó·gÓé;ý°FX#_ó !PŠcögÚSCÔL5SÍT3OÑ L@&  (ûè3k0ÆŽïíYR3ÕL5SÍT3û“Ìj¦š©fª™j¦š)oÞåÙÛì:»AÁ¡àPp(8\p1˶‰*G à"¹zz&=Ó^£ìà‚r8\4ÕL5SÍT3#ˤ-¤-¤-òwÀþL µHh¢º n67›o%š#6|s¾9ßœoÎ7ç›óÍùæü—M—㞟ÙIÙIÙÉíè\·gO{dfíþÙ„Ðk4%‘#gao¦7Ó>5œjD5¢Q¨FT#ªÕˆjT’+‹ä6¥Û*€œ;‰è(¢fóÈçBڢߚPJ;¥ÒNiGÁé3[AE}¦>SŸí²ÕL5SÍ `¿”+lö Û6ì ! Õ+Õ+Õ+Õ+Õ[lão¨Uô™< g]¤_o8«Þ†rh¹#r9K’.G­2nGGïÃäNr'¹“”vJ» ˆÒ‘DPp(¸ýÝÊT#ªQD Q¨FBZÍT3ÕÌxüJŸ©ÏÔgöùt"‡‘ÃÈaäpxç>SŸ©ÏÔgîŒ-¾yí]ˆx]j¦š©fª™jf BÍT3ÕL5SÍT3k™²#Æ z&=“žIϤg¾xúÃ6ìPôµ 5Ö«§ç]14™€L@&  ÈTœ#‘êýSÞ÷€%(ÿ:|ɛ˛˛—s· ¨UEj«ô:VÂÛÓ«å€ä€ä€ä€zÊÚ< ˆÄâç:Íæfs³¹Ù<•| ô™úL}¦>SŸ©ÏÔg>{;ˆ²ÍäNx€Ãv7€±Ê&Š˜UâNr'þ,ìkîkîk¾ƒ~³A2 >J[H[C¦š©fª™jfûWàV¯[½nõ¿nõÖ²$úÌ`°†j´˜ß-/ÇùíE}æ‘ö>Ök„5Âa˜ìd(Øþz®¨FT#ªÕˆjÔÿ³¤fª™j¦š©fª™ÅpßÜ}óÖk $$$$$$$´^ç«Ï´ ;4nè3õ™úL}¦>SŸ©ÏÔgê3÷4Y©^©^©^©Þt2k̲“²“˜öwÔ¥¶Š“«+{¿“WÜØ5Âa°FX#¬Öhy7áñ€\D­Cû3«8Ï»®œ'š/Ç& ú g¦ý™òbfäè¬ÙÜln67››ÍÍæfs³yù+p«·e,ºÕëV¯[½nõºÕëîä§E'®NϤgÖ†J5SÍT3ÕÌa'Žf77ólfåU³šmØg1J“oÈáC‹[ÝPËoî–ê•ê•ê•ê•ê•ê•ê•ê•ê•êݘhÅk}fÃl•P“PÛÝ'’ê•ê•êÅ´cÚûSyj¦š©fª™j¦šy]‘vEÚé`â‰oÎ7_„495SÍT3ÕÌ. ³ÞscÐGdq+ÖˆÔ¬)®Hj¬-…ùÚ0E‡ÞµòAÿþáã‹<ö#yH;:ì谣Î;:ì谣Î;:N¡é™ôLz&=“ž¹ë¨í5²×È^#;:ì谣Î;:2ÿòЪ„­á«fª™j¦š©fª™R½¡üT¯T¯Tï׸ڌè@t :ˆD¢Ñè@tìÏI¥‰Èá°P mÃ$Y]DuµþBÁ¡àPp(8 îðbâCùnz&=“žIϤgÒ3é™ôLz&=“žY“áGlâD-=“ž/:Ù†¢ñ · #aÚó§ÛÛz<®û¹î纟ë~®û©™®û¹îgKaÞrÊNÚìÚœ=lv Á[GH"(8ÜvB-7Ø.’ÛôrÜóì ‡‚ëãS#:ˆD¢Ñè@t :ˆDdzö„šÍCŸN¾9ßœoÎ7ç›óÍùæ|s¾9ßü%Ž<ê3õ™úL}¦>SŸ©ÏÔgê3õ™úÌAgOû¾»ƒÏ|‰KÉ-JõJõJõèÊl)´¥Ð– ‰Z†J0í˜vL;¦½Ên68è3»=5SÍT3ÕL5SvÒ^£ãÒÙfs³¹>Ólî‚À®:온™j¦š©fª™j¦«+ÏY6KϤgf²6¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´Ft :ˆD¢Ñèv_¥mØAÏnûC“”çyÆñ•»“û¿÷€Üj¾îן Õ×ùšûš»mÑG+ð5÷5/ú:5SÍT3ÕÌö¯ÓŽiÇ´cÚ1í˜vL;¦}ó+ˆ¸°î%¢ùx0í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦Ó^LJQ¼Œ;ÉäN¾{ÈìÙðYf|fä\µÛn[ìj'>Ÿ‰ÏÌ]ü¼ÓŠ|Kj6ÿf¿xìO5D¬#?KX#¬Ök„5j<ÎYXÍT3ÕL5SÍT3C‰ý™]†‚í1”öúûiÇ´cÚ1í˜vL;¦ÓŽiOgŸžó`Ú1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦ÓÞ4è*w½z øL|&>Ÿ)TëjfÆ)Òä[:™-æwËËÝöi ‡‚CÁ¡àPpË»‰[¡×€;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIîd}1Nt÷¥ÒNi§´SÚ)í”vJ{ù+pÛb¿$öØœ&o.o.o.o.o.o.o.o.o.o^ÃZ§oϦÓ!p}¦>SŸ©ÏÔgê3õ™úL}¦>SŸ9rÛâEâ¥vw!UvÛ9\?Ìæfs³¹ÙÜln67››ÍÍæfs³¹ÙüÂl€ #Ëâ²?ÙK Â&›޾n67››ÍÍæfs³¹ÙÜln67››ÍÍæfóª'´§Ýžöæ„°y#¢ $0í/¾{ÍŽ;:ì谣Î;:ì谣ÎŽëÏ‘Õßvt\'Ñ}Ð[SÕ.¸ìaÚ1íÇÿRΧӋ³sªÕÈln67››ÍÍæfs³¹ÙÜln6ßû ²IUŸ©ÏÔgê3õ™úL}¦>SŸ©ÏÔgÖôçÍÝ·gÂÌ< (øæ|óR¾®¼Þܽ¿{HÇGžaG#‡Çx¶0KõÉ÷5÷5÷5÷5Ÿ}êε¢àÔÌ~M‹Í®6»Ö¿©¶Ç؃ú°eDTÍT3ÕÌ>>5¢Ñè@t :ˆD¢Ñè@tD–‡]XÛ°CŸÎ# i©Þý^Ô.8»àšï„]p!—ýøðÈE5¢Q¨FT#ªÕˆjD5¢Q¨FT£f?ðzÕˆj´ÉÂŒ¯Ìæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln6ç›óÍçµS£T#ªÕÈö˜ìW ;Yk»Nª™j¦š©fª™ýõU5SÍT3ÕL5SÍŒ­8µ×È^#{‚ìŠÙÜl¾EµÔL5SÍT3»Vx×{îQš|K'³(ßÏ»^=«j¹å ò¶4°ÁÖ&„rf‚ÛÉ)5 ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦žIÏl+ÛT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕèfžMëM:ïr,¡&¡&¡&¡ê ºvbPÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ{ 'ü”ß¶ÿýÃÇ|—MñÿiÜ7‰G4z˜Ýx3½™á]ݳ=¦±ÆÃö˜Æ!ˆÄâñ€x@< ˆÄâñ€x@< ˆDi§´SÚGµÃÒÒõ'°é›õ%Ôj£dé”óÍ;G w'÷kKõërÛ¢Uw{|•¶~xU Ü¶pÛÂm‹EðŸYx¡7Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|æ$†¥VÒ ¥=áNr'Où¥à3ñ™›Ë#ã+î$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIyóà–œErÛÿŒ»¼¹¼yý{*o.;‰è@t :v>ìá‹cj¦š©fª™j¦šY[[zäV@ ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 ®cQMó”žKU.U¹TåRUø¾&r8d¸¨™j¦š©fª™]Ö>³µÆ 9œ-‡DÁ…, ÷Í/Çﲇ5< 5 5 µ><$r9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒÎOÏMßžM§ù·ü¢gÄ–®-z‹=7»à삳 Î.8»à삳 nÑÉM7‘ÑÑÃìÆln67››ÍÍæfs³¹ÙÜlžæ–ÕK¿ Èaä0r9ŒF#‡‘ÃÈar9ŒF#‡‘ÃÈaä0r˜;ÉäNr'¹“ÜIî$w’;É<Ï*\jÜþk`ç°ÃvÛ9lç°Ãs}¦>SŸ¹Ñ«^y½zŠ…4ÕL5SÍ<>dc?r9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒFt :ˆŽÓ÷·rä0r9ŒFÁ¡àPp(¸SšH¨-’[ 5}æq^ž{@î¹d¤K<àê÷‡¸½5T´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽiø†»‡2JÛƒãôíÙt:ÿ€5Âa°F§LdçÓéÅÙùÅ‹àX£‡Ù ÕˆjD5¢Q¨FT#ªÕˆjD5¢Q¨Fr@ù›¼†„B³ùþoÄ= Í»;„ôKcD¯sI¶ÇØc{Œí1¶ÇØc{Œí1¶Çä-§>SŸÙœ=ä€ä€ä€ä€ä€ˆD¢Ñè@t :ˆDÕÑè@t :ê¿ 5 5 5 5 µÝvåÃŒ–š©fª™j¦š©f’¶°J”!wÛÂm ·-ܶpÛÂm ·-ܶpÛÂm ·-ܶpÛÂm L;¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚûX#¬Ök„5Âa°FX#¬Ök„5Âa°FX#¬Ök„5Âa°FX#¬Ök„5Âa°FX#¬Ök„5ªîmúãÑÃì†jD5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢¥—ãwéøê°R¢fª™j¦š©fª™Ù¯ ùôø~ŒÒ6É|>^œ_äœÌæfs³¹Ù\Ÿ©ÏÔgê3õ™úL}æqXQ]DEÁw‹•±z}¦>SŸ©ÏÔgê3õ™úÌaw¯Ùìì¾¶?´èñíéÛ³ét;Àd2™€NIp'÷ߟªW^¯ž"žo¤Ÿ^$·úL}¦>SŸ™sä㙩ÞЯ§d&~ÿðñE@š#Ù Èm‹>úª>SŸ9Ïã©j¦š©fª™ ´ê—#£·Ù|£xÆD‰#Æ L{¯1ÒNi§´SÚ)í»¾åð·FÍT3ÕL5SÍT3» ‡ ªÕˆjD5¢5ž@çE5SÍT3ÕL5SÍ,ž€>Ÿ‰ÏÄgâ3ãs¡ÏÔgê3õ™úL}¦>Ó€£½{(¡6nuI•ƒ\9Áa°FX#¬Ök´¼›ðÍùæáƒ£=t`ÙIÙIÙIÙIÙIÙIÙÉE§†iÇ´cÚ1í˜vL;¦½¿¤fª™j¦š©fª™ÙRQ¾yõCxER—oÎ7ç›óÍùæ|s¾9ß|؉ÌÕ•øt#¡&¡¶cÉÝêÝ{L@/rfÎu¿æêº_ã«-F¾æ¾æn¨½{ÈŽÈ…ÉÊ­¥åkîk>^¿5SÍT3ÕÌú§áÊéνñj¦š©fª™jfOJÍT3ÕL5SÍT3c›Ê¤z¥z¥zƒ¼_9šÍó#=< 6”6ªü'¢ÑèˆxcˆDG.T3ÕL5SÍL'³ÅünyÉ7Ÿè3o‚„š„š„š„š„š„š„š„š„ÚõçãçˆÄ²ÙµmððÍ»Òq¡=fs³¹ÙÜln67››ÍÍæfs³ù~ö7£ÉžM­SËúÌÙÍÍ<«%y‚ørŒiÇ´cÚÍæfóúpuÅÕ•íwáäîBvRvRvRŸ©ÏÔgê3õ™úÌrO¨+Ò!YûÈõúL}¦>SŸ©ÏÔgê3õ™úL}æK¸¥úL}¦>SŸ©ÏÔgê3õ™úL}¦>³¼ò¾ÝÒc?•ì¤ì¤ìd0ñdfõXìϬ½"j¦š©fª™òæÛw@Ÿ“$*Ò"º}ZÞSŸ©ÏÔgê3õ™úÌͯ ÒOK¨I¨!:âˆ×‘YEJ;¥Ýf×]÷å"j o©Æw—ª\ª²¥0@~¹"íŠt£%S3WןmvµÙµÕU#‡‘ËÐÊâñ€x@< ˆÄ:¸èºi‘ÙR˜™†X£dl¯¥-Z¹!€žIÏ 5ÝR½R½j¦šÙû ˆÄêCP`°FX#¬QûWÀâñ€x@< ˆÄâÝ-/ǹH?¾²×¨ÿ 9 Ð*z&=s?ZÊ7ç›wnöÙ†‘m)Ìоyä³’¿< ˆôo~\Mˆÿ´ºùÞl‘ªÿãÞ^Ʀóe2¹O6SÛåøÍC6ºí¯lØ<¡/³õçd=*þ“ëÅìñq²œ}I.Ç׫e:_~MnÆ¿þ§‹R[ý77ÝVüΧu2û<ù”Ü®ÖÙõÃì.ÙûÛéþ{ùÇ×Çô÷åí*üÏPü½üÓ:¹ýÏùb1Ÿ}yìX¼[ ?ý׿þ~}½úºLßÞþåâü¯oß^ÄþÊü?/Sû‰÷yŠÁÇ?_nþ5n³g=yL¿/²‡3Og‹ùõøê»ç?Z-GËä[š}öï’³³³üï¤ø ÿbb‹¹ˆ1*¤ŒÅìûêköVÜοeÿzGOó›ôþr|þæÍ>­Ö7Éúrü8_üköb<®óìÿéö_à$ÿ βäfžÎWËìï7ýž I:›/Ë?;»M³¿¢óÉVmY-¾~YŽ®óÿGñßr9~›ý Í%5¡¿èâ‡ù‹î“Yöƒ¹«r&Îâý£O³ëÏwëìµ¼™dÿü«ò_ƸxOž¶¿éO«Eöo¦xuæÿ+{sÎ߆~å¡U5GÞfúÇêËÃlù}ˆ­ÖÍoÇó²ÜÏÖI×Ï}û˜Iêïè_ÖóëäEÑ€}ÿ‡Ùã|§öL·xÔø*uœ‹|6VW¶ÿbù¯¯]>Ê^ñ–µ×žV¤TÿÜ·«UV@W OtëREXõDÛ]Ô~mŒ,Wi•†#ëç‡dýùñ~¾NF¿ÍÒûÙÓì‡*¥oÿò#Uö¿ýõüçŒR;;¶dÍ_î3]"J§ˆâUm>žÎ(‚W5° °ª»ªêéw0‡êN½ª^Õ(ߨo5=d>ý{d"4€Vøoà˜½WÕ«êU] ëj4«m,LUUUUUU•®Zciª‡ÁxÆ%Æ#ñ^b±ŠXµ™À¹UÜ*À¿‡›SÆ*c•±ÊXe¬2VEb*1ËE xéwx¤VÈ«YåßC•1¯ªWµëŒUÆ*c•±ÊXe¬2Vëu¢ËRôªzUÙª}GI`%_ðg¬2V«vs.ot}Vá*p¸ \åPí¸"V«ˆUÄ*b±ŠXE¬²ÈXÕèˆ~ \zU½ª^U¯ªWÕ«êUõªzU½ª^õ{ˆ±ÊXe¬2Vÿ­]ú¢P( €@ P(€öø7r±Mv¶ÂÙŠà¯\¶Êݪx¸N @ @ @ @ (—XÜ7{ ¬~B-c•±ÊXe¬2V‡ü⪪ªªªªªªªªj¾úâ—¬`0 €À`Š+x®º¸¼¯çù EûUûz à¦ã¶ÅöÏE7Ú«ˆUÄ*b±ŠXE¬Ú¯.w‘ܦ—ãwYÇ>¬UÿêZZ¹÷T­Þ‹EVúp„œ¶`Ý‚õ¾åf”&ßÒÉl1¿3Víž#Œ˜#§c•±ÊXe¬2V«ŒUƪpîõúÙ*Ù*Ù*Ù*Ù*ÙªÕõçÈpÖƒT”­’­*<êÔZb¹‘ß['Vò[Ä@«Lqø'É­ u=Íú%\Ý<Òh4wUUUÅ«ïÀ1mc5¬ «UÝ~‰^U¯ÚìA†‹ëF@€õ3,zU½ª^5"‹ÐUs NUu·ª„«%C)  ÒpR^3@k M€6Ú’ë ^¯Z¢Ý¡Y…¬BV!«UÈ*d•±ÊXe¬2V«v:ç晪ªªªªªªªªª:[±[´ ò±Ðjhõþ‹ñŠQ/½ª^U¯ªWÕ«êUõªzUáê&C¿^=õ\Ê`Ž   +Å;`e…•Áé^U}=&+++++Cn‡RUUUUUUUUUÕæ;àŠ +.¬Ôç{Vʧአ+YÂ&3’X­„«?™ÐÉW¸ \®W«ÀUà*p¸ \år¼žßÝgÍöÅÛ¿¼È €À`°XŸïçëdôÛ,½Ÿ=ÍX,@PŽ`°XõŸ†c@¡ÒÙŠ¦†±Q·¹)G>¸éÛ³étñÄ~Õ¦R ”!'Ó«êU-C ’µ±j/)ýå`0ª*€À`0 @F@\Žß=ôCó( /ä°e”«p΍ÿ¸’—Ã:^Õâm£êâ¥öëRdyJe®Ø®b»Êói €àç‹éôÌΪ=%ºhbTUUUUÝnܪgP Ü*n·Š[Å­âVq«¸UÜ*n·Š°ëX‘Ψ2GX,€½—D¶J¶J¶J¶êtIZ`E`¥d1à*ý2Àsú €À`°X, €À`$“–½«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXUOðÙ¯Úü.دÝ/Û\Pv[´W$¬n>Æ*c•±ÊXœb…–l•l•l•l•l•l•l•l•l•l•l•l•lU2Ùt…È*d²j×Û¯ f77ó%±ŠX•1u Ügvñö/¹³7ô¬­WÕ«êUõª!†;|ŸKb5ä{HHHHHØZmkµ­ÕaEëP€Y…¬BV!«UÈ*d² Y…¬BV!«UȪ:Er˜©DV!«Ue÷ðzWÍá*G‚5 @ \”t|~ ùrlPÝ>´h¯HXÔ|  €@ PUÈ*d² Y…¬BV!«UÈ*d]Y…¬BVÅý¶ö™a0寒Éúóãý|Œ~›¥÷³§Ù÷i‰WÕ«êU=¤ŒÒä[:™-æw˲u¦«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JWm<’Ü¡+7WiJF«’u—˜uMRRRRRRRÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UܪÕS„¸r®†fI×C¦¥­ÕÍn[¶jÑïd"=UUUuc5¨]#«êE¯Z ¯·ï±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊX]½º+*ªj­DÒU_»´µºNº5áC²þüxïÆjëɈŠ>®®®®îuÕA`E`E`E`%â!J`°X, €À`°X,@2é·\ktþ±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUõÈ“E@j˜GﬤpµpµpµpµpµpuœvØ9àè¾+ç€vx§GW“—»UîV¹[ånUtÍ‘‰% €À`0 €À`0û]ñ 'MlW±]ÅvÛUlWräVUUUUUUUUUÕ\Âq¶"ê–\®k¡‚épe[–PU¿ Ç€òÇq̧®Ò÷ÑÙ¯Zýæ6?¸(!L P(  Ûº¤tÚû €#ëá]•®Úú¸ñRP(ÍÉ>à¯7Z@ P 0ú RUUUUu'€èUõªzÕâ tvNÓ·gÓiî4ãVq«Ê×­jèm jÜ*n·Š[Å­âV &¶S( @¤á ôäR¡â‹À`0ikµ­ÕáC—#MWíÛŒoj À³vÐÑUéªCýr¬¶ Ø*`«€y2W’õçÇûù:ý6KïgO³ïC8Ç++ꯞpõk·Î €@ IPUUUUUUUUUUV\Xqae—F`¬^ÙYeg•€€€€€€@í H¬2Vãë^éªtUº*]•®JW¥«ÒUéªtU—«]®ÞõåôˆWÝk‘:çjc•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2Vu^ Ú¦£Ç UÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬ª#¯‡/¹°R=/×Ë“‰6F+ @dÞì¾E¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ª{KÁ‘ûl,²È" ‹€,²È" ‹€,²È…•ÖÀ9J“oéd¶˜ß-KA‚[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·ªñÜX­?7Vó§qÌKq¤]I¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬Z=E¤b±*&LßžM§¹ŒwbCm»JUlW±]%÷º]XÙk\\Xi>UUU-š—ì ªªªjÜ…f¬ömóUUUUU½›,’ÛôrüîAUUU)«—”feEÆÐ«ªª­£ùRèUõªÍ´nUUUµ­tèUCo…ªx*=¨t €@d*Zb»^U¯ªWÝ¥ßÙáVéUõªWȪצ Ø*à xT$ެ×ú¸ª‘Y‡ÉéJ[‰üx££ÐhŠwàwDh4 €[;µ¦Ó²mc¢Í¡ªªªªªªªªªªÛÐ;²âTUUUUUUUÕý:`eÅkkgö«Ú¯j¿ªýª‡:2++öžcµù@ ÕÐjh5´ZÅêA€€Ÿ/¦Ó³ó‹!–ìA«‘UÈ*UYu®ªÆ5S¼êéÛlZŸZ1À¾­€@ P(»J(@¨5¬²UÙå¦ñ´Z ‚A€ @`°:²ž&ßÒÉl1¿[–?«ŒU àó(PŒUÆ*c•±ÊXe¬2V«ŒU{Ò{tׇ±ÊXe¬2V«VV>›eØM P °<ÒR@€ @ Ú®b»Ší*¶«òdŒUÆ*c•­ÕïžCvdÝ‘õÖ×Ä9àfyød!±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V ‰Ïªªªªªªªªªªêêús$¡Õ#ìK¬"V«ˆUÄ*b±ÊXe¬2V«ŒUÆ*cÕ§E2ÙÔ‚Øt‰¬BV•=cãe(ãŽ.¬„>%È*d•ª:Ø" ájáêì ¨ªªªªªªn›rw«Ü­ ÿvÏ%´íÓÎ*;«ì¬²³ÊÎ*;«bÒM¾ðP¸Z¸Z¸šÀ`4*¡ +.¬œä%d:[ál…³‡@ž‚A€ @ XÈ}‘€ÌáuP­†®W«ý{’X•X•X•X•X•X•X%V«ˆUÄ*b±ŠXE¬"Vmê@’À«¶ßòú,`?ò)šªêÝ}¦¹ «UÈ*dUÖf:Ôì¶;¶m»ò|> }qUUUUUUUUÕ!…LUUUUUUUUUUÍ[u¼j­DÎ[ZÛ|pðô¡)®W¡ÀUà*p¸ \®W¹¯çŒÕñ»‡Ì[‡uÕ–Vî ÎVH¬ÂUTUUu×_XZµ¢H±ŠXE¬"V«ˆUÄ*b±ŠXE¬Ê†ÊKc•±*zÐjí¬ªIgî¯ÊÀ«âUñªxU¼ê~À«¾¶ÏË`°X, €À`°X»~ 3Þk‘¬Wk>  P/7“ ŒVªjdÞÌ_¼j­’Tû ,­ìz7«ŒUÆ*c•±ÊXe¬2Vƒ•ð˜íPG~V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±šLN¸¢a¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*cU­'t¸2€béd"«UÈ*d² Y…¬BV!«êf“îlEÑ…q“Q¯þ™ÉVõÞÍ)±º÷ ÉV5ˆÄj-g&[µ3S$V%V7]KãS+з•SUUÕ€ø¬ªªªªjøü%·Š[uœL¢ªªªªªªê°sÀÎ;ìnÕ‡u8d ±X’©{õ‚A€ @ 8_'£ßféýìiö=·0†c‚A€³–³Hnûè‚ËW(TOà*p¸ÊÝDUé¥igý(þ*º*]•®a1ª\®W«ÀUà*p¸ \®²XÈV3äá˜<±ŠXE¬"VE&‰Õöx­ª c•±ÊXu 0M¾¥“Ùb~·,w(ÛYÕ·JÈ„VC«¡ÕÐj ´Z ­†VC«¡Õ»wY…¬BV!«Å}›’ ëâU¯ˆUĪŸ/¦Ó³ó‹  áUñªxU¼*^¯ŠWÅ«âUñªxÕMƒWÝýNŽˆb0 €À`0 @xØLÇ€¢:²ŽØë™ Ur½zŠhkÍ ·Èª‚0ëõ°¬¬è[tôªzU½ª^U¯ªW-õœÃÎñPÔc•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V;ÕÎíø•t¶„«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXÕ¢±]%ðÙ,÷ݹ\½÷tll>d² Y…¬BV!«Uûë¹M€q!J  ´+Ž^g7“èU ü+°^Íz5ëÕr/…±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ùlT-Ûµ²ÂÊ —«÷mrájÇ€šÎ¸E@W++tUº*]•®JW¥«ÒUéªtUº*]•®JW¥«•ð—hƒA€¶«lJ¯  ´Ú‘uGÖY—pd}gÓ8²¾û58²¾9çD¬"V«¢‹i§oϦÓ\ÆËÿH옗ªªª¥ö«ˆUÄ*b±ŠXE¬"V«ˆUÄ*bU½+n†Ì]¬¬¬¬¬¬¬¬¬¬¬¬¬¬`0 ÀÉÃPN&±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬ºþF‡èâCTUUUUUU{­ÊÇ`0 €À`0 €À`0ådDW¥«ÒU‡l¹UÜ*UUUUUUÕ|Ø8œ[ÞbeÅ}b±ŠXE¬"V«ˆUÄ*b±ªó„ñ¡P€0V«ŒUÆ*c•±ÊXe¬2V«ŒUµž°‡O![%[%[%[%[%[%[EW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]u¿+¶_uõ¾ü#©æC=ÌnnæË»Éz®ªªªªªªªª6ž€lUýqD¾‹ä¶ÿɃ+—«›¿1—«÷ž‡ËÕåq @b5s‚Ãvx=–¡ªî5.ªªªñÍ\X±àAU7öG®×«ÀUà*p¸ \®W«ÀUà*ŒUÆ*c•±ÊXe¬®žž‡å0VC³ä  ±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXµz?tWˆ¬ÊW6!»âv0±Y§¼Giò-Ìó»¥^U¯ªWÕ«êUõªzU½ª^5fç=|¨sš¾=›NóVôÄ6ßÖêêÙK¬J¬ÊVÉV©ª}†{ €Ue­°]¥¯88”v‚A€ @ 2V«ŒUÆ*c•±ÊXe¬2V«×ŸíWÝ{ ìWm>  õº°øz”µCUUUK\&”PUUUUõnbPl99?ƒÀ`0 €À`0 €À`0€Ö;€ÀDd37VÝXíycõ¯ËÑÇùõzõøý1M¾<±‘c¨€èùÅ›7?ÒßÏô쯿¾ÈßÏ€œÊ¯oÎÎ/þ­UñŽ6Ç Ýv‡àZïhýaU©þõËRÞQïè⇨¼£ÞQïh²>ƒâÕèªõ£Áy³ó™éG7oÕfÍáAVnuTÞQïè¤ñ­÷­÷­÷­€^Dõ­÷­§–¿8ÚS¶ŠX?ªÕ>ϼç3µz÷¢_¡áÿ0,”wÔ;º Í·Þ·Þ·Þ·~²É³òBùLír¹²°žŸy¢=ÑžhO´§úq^ý¨~T?ªÕfÚY¬'Ç=ñBeEÂÌø ¿ú(}”>j®¯~ÕÞ]l6>ŠÍÃæmç’2ÿú¼M»ê¨:ªŽª£ê¨:úZù*s½¹Þ\o®7ןæ)¨£ê¨:ªŽª£êèÖ‚>¼$á:HF{¢=ÑžhO´'ÚíiYÞlÁáãðqø8|~z9~׬ íñUGÕQuTUGÕѽˆ†ÝŽÍ¡»sÿ,Ÿ‰ÏÄgâ3ñ™øL|¦@?- ÉÛSÒ¿íÖêGí{RGÕÑÍŽÒÍ{ ÏÔµnb;'æzs½¹Þ\o®7×›ëÍõGÝXsw9‚/~ZØ›×z4|¦Ý#Áá—O¢ë·ý£!I ûÆ*î ÷„{Â=ážpO¸§ãóUôQú(}”>J¥ÒGé£ôÑH?À¯ÏO«và+üúæ«cOÉ(×𪻡[{Ã[(ãH¥ò™øLî3¹Ïù„àðqøûR?ª}‘wB?ªÕêGõ£úQýhMß‘g¢¦ã+l6›‡ÍÃæaó°yؼÌä…òBŸÇÈÜÉÜ ô›Á8cœ1ÎgŒ3ÆãŒqÆ8cœÛîåáu£êÁ³êGõ£úQý¨~T?ªÕêGõ£úQûž^„™¹ëfÀùL|&sýÞ;À¯Jë‘‘‘‘‘‘‘‘9Jë9r†ã3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>ÓûüpUhפ™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLypÓvW;ïãžpO¸'Üî ÷„{Â=ážf‹ú>L;r›½ôKß•ÓêGõ£úQý¨~T?ªÕêGÿL_G?ªÕêGõ£úQý¨~T?ªÕ./Ç9z<¾Âáãðqø8|>‡ÃÇáãðqø8|>‡ßúDóì|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰Ï´^=…>Õ}ËÈؤ670Ëû)‹ä6½¿{ÈÌ»Ÿ‚=÷ö/ÍG•«?¾.Gç×ëÕã÷Ç4ùòh®7×›ëÍõñú å…òBy¡¼P^(/”Ê 53™™ÌLf&3í) ¸5u:7Ä~iè–Aõ³ú#ôÑø·S‚)¡ácJ0%˜L ¦S‚)Á”`JÌLf¦EÉñëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×o¼ö" Ž Õ-ƎøŸ{Übܼ#´§HY‘¹ëz0£4ù¶¿kÒþÑÈÌ.zòg«Õÿaó°yû¹ê#ß l6›‡ÍÃæaó°yØžNO>JuŸ ãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3Æ㼪Y°½ühÜÓþÏ&roƒöD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{:m½‚:ªŽª£ê¨:ªŽ6¾v@ØñŒ¬À¯oÎÎ/†gì{Ú=uûžì{ .º(ÖˆØ÷é[ócß“;wÛ÷CUGÕÑ-Dqð>fõçÔÑͳÐêGëâˆý£]m—|ý3ffùúÓD{¢=ÑžFç×ëÕã÷Ç4ùòˆ{Â=ážpOüz~=¿ž_ϯç×óëçw÷éøÊ>ü ¼Ýé{ðë›ÚnìüT«ß’]ÞÙd—ÓËñ»‡¬…œm_!~=¿¾#ËÍgâ3ñ™ÔѶîÎ>Ù±ÅÜsCìÐÏA?ªížQÜbTGÕQu4ÄD–|Ÿ‰ÏÄgâ3ñ™øL|¦>âv(sÅgâ3½»ˆÃÇá4ÃáðqøîÜÙ5^ý äëfåëåë·ïˆ|½|ý¡r!*ºX„|7Üî ÷„{Â=f4¨£ê¨:ªŽª£êh7.Üä#å™ä™úî ÷„{Â=ážpO¸'Ü/”zàÀ;í‰öD{¢=ÑžhO´§ð˜Ú7²÷®!Œ3Æã¼÷ôø!éGõ£úQý¨~T?ªÕî¾+ò [vYvYv¹üÁTÜ:ªŽª£î3³r¡r¡r¡5¿œ†OçáÓðÛ¿þs´9uTUGÕQu´6u^ãÝ`Øí)±§¤xƒôöæ5^'ú¨[Œ‘ú’ÿÞòpväFÇÇð‘²Ë²Ë²ËÏ»ãáöÛ7n߸}šܾ™¼ôh3“™É®q»Æè„¹Ï`ŠÔQuTUGÕQ·Á·£Œ¹Þ\o®7ןæÓGÕQuTUGÕQ~}öøõû:í‰öD{¢=ÑžhO´§òW Ï$ÏÔfË1%˜’Œ ·Kg“º8"¯ƒqÆ8cœ1Îù¸¥Žé5u´H ¨ÍÉײ[nß ÌÚ÷dßÓöéÌ8ž_¼yó"»ùõüz~=¿ž_ϯç×óëÓä¿>Í¿‘5Íö”ØSbOÉV@ùãëÒçÈ`®7×›ëíq~÷},Ä6Bün­•ì²ìòbzQÜbܽôQûGÙ)ê¨:ªŽv,aª7¡…Ï,1önƹ¡™ l6›‡ÍÃæý)Þ£o½oýÆð¤á·ò¸Ñ]ó²Ë²Ë²Ë²Ë²Ë²Ë²Ë²ËGeidEdEÜÛ{z„Òx¡¼Ð¦S™AOð½Ìõæzs½¹Þ\o®7×›ëÍõ=–dv’Ù¥Óû3±eîŠP!6/dº7w_ÒGé£ôQúhûW`G®¹›·"ò½X$·éå˜>J=i‘Ÿ‰ÏÄgRGÛYº“g8>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ©%s½â~~ý¨~T?ªÕêGõ£úQý¨~T?Z-æ íÈr‹qãÀº!æ†X^)ì÷?ÄôíÞè.uT}‘›føQü(~?Š­ÉzGôëê¨:ªŽª£ê¨:¾aƒÃϧÜ×ÓÂøõüz~=¿ž_ϯç×óëùõüz~=¿þE|÷™öZö”È×w¿GþfÌõæzs½¹Þ\o®7×›ëÍõæzs½¹Þ\_Pö¡†™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLy°ÇyW7¾utŽ>¿xóæGú͘ëÍõæzs½¹Þ\o®7×›ëÍõæzs½¹Þ\o®o} Ìõö”´>ÅÚŽüÕ¸úãërôq~½^=~L“/ê¨:ªŽª£…<+ÕM3uTµïiïè±Ü…ÏÄgRGÝ mVŽAn•óBy¡¼P^(/”Ê å…òBy¡¼P^( Ÿ†OçáÓðÉ­dû-í©Y/h§áÓðiø4|~Î EÎ}¨£ùã2wÔ¢­¹»|üO°5ØãÜÝãžpO¸'ÜSûW0Èí[ï[Ão»V];)pO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸§ˆiQåÙÝbä×óëgŸº%; ð£øÑí®$ÜÓb#O»b0%˜’ëd±(Ùý¨~tÓn;çÔQut½›‡ÍÃæaó°y5â°¬CÕêGõ£õH£¹þùŸQuTUGÕQuô4YGUGÕQuTUGß‚õê©×\Âgšlì¶—œádîdîdîdîdîdîdîdîdîdîdîdîdîdîdîdîhø4|> Ÿ†OçáÏïîÓñ•ÝŽ/‚=Îf&3“™ÉÌdf23™™ÌLf&3“™ÉÌ4>roƯoÎÎ/†*ܹÛ}Ž7{òe¡[Cæzs½› m÷ß͆í3QGÕQ÷BÝ m–Hw—›’Ÿý£öÚ?º…©ûå™ä™2ÿØ\¿QÅŽØgdÿèþpf³=ÎÝï„}øúQý¨~T?Z‹¸¾^ï!_/_/_/_/_/_/_/_/_/_/_/_/+"+"+"+"+"+"+"+"+"+"+"+"+RF4®þøº}œ_¯WßÓä‹|}Gv…ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄg ô›ÿ¨sGŸ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgzŸv. tWd÷ЏÏt,åžx>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>SãÞ®{¡û? ÷BÝ í~'Ü u/Ô½P÷B·¦«ûõ›éÒ½ÐùÝòrœã(î×ïûd'òÙlö[úQýhƒï¢áÓðiø4|> Ÿ†OçáÓðiø4üdÒ{¦”‰ŒŸò¦Ê ±þ¬ ÝŽÆ~½zê¥ï”¿Es½¹Þ\o®7×›ëÍõæzs½¹Þ\o®7×Çs[f&3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23m+!Ãßû*¾â;q~ñæÍ´Š_ϯw‹ÑŽÜêW`f23™™ÌLf&3“™i”&ßöû£_ßœ_ ÑĻٰûÔºÙàfá¶ ‡ß|B¿s½¹Þ\o®7×»}³]Ãd'™dv’ÙIVû$ØIÆ å…îvÒ™™ÌLf&3“™ÉÌdf*övÿì÷ß»ä7£ÕêGõ£úQý¨~T?ê~}¤°ÿy¾ŽûL¼P^(/”Ê Ícœc›y_Ï— ⿌+“Pñ޾/Ö´ÿ~ƒŽx>öá¥\¨\¨\¨\¨\¨\¨\¨™ÉÌ´ïÍòëùõüz~=¿ž_ϯç×óëùõ-ÍÈþQûG[´0 Ÿ†Ÿ¿7î^èjðw÷„{Â=ážpO¸'ÜÓ°ÌÄ‘ßVÜîió"þñu9ú8¿^¯¿?¦É—ÇéF‚wÔ;êm+Y ““w!/œÊ å…òBy¡¼P^(/”Ê å…æþN´g–g’gzÝCžIži ßË\o®7×›ëÍõæzs½¹Þ\o®7×›ëùõ¼Ð‚`®ÓÂŒqNÇW˜L ¦S2Ùì® ±“êèîåpÜmðàÇ¢´‹åoøÑÖŠÍÓÖ_ uTUGCÙ/¹P¹P¹P¹P¹P¹P¹P¹Ð4ùf·cšhøq_‡†Oç=Ñðiø§±pê¨:ªŽª£ê¨:»*и»"Ï$Ï$Ï´÷ôX,Œ)Á”¬j7¼ÔQuTUGÛ¿‚ŠÑŽñ‰•WåŒÌõæzs½¹Þ\o®7ׇúîEr›^Žß=d ðõêM  ã¦;yV{J"¹dwEÜiþžì$ÛЯEŒ$\…_ñf—™ÉÌdf23™™ÌLf&3ÓQû•ä™ä™ä™ä™ä™ä™ä™ÌõòL%>(Ï$Ï´À=ážpO¸'ÜÓiý±:ªŽª£ê¨:ªŽFœópn ÷ùpK7N`®qO¸'÷™Ügª}ð£øÑîïŠ\¨\¨\(¿ÍëGËg"_¿ £œüN`œ1ÎgŒ3ÆãŒqÆ8cœg‹ùÝòrœËVã«_ßœ_ qPÓ\o®7×›ëÍõ§…{ÕQuTUGÕQu´{d·7ï9Ï?ŠÅâGñ£øQüè‘SÅâGñ£øQü(»>Ä.»tìÒ±KÇ.»tìÒ±KÇ.ê[àö Ÿ†OçáÓðiø4|~@8zfŒó&MwXZ“¹;7l27úQý¨~T?ªÕêGõ£úÑõêñûcš|y"R¨ÕnR‘¾ÛnÇHn—Nù`ìÒQGÕQu´V)_Q Ã8cœ1ÎgŒ3Æã\5å]ýGÞµÛ10ý~D”ã…òB_D›ã…òBy¡¼P^(/”Ê å…òB{dWè£ôQú(}”>J¥ÒGÊ)ОhO´'Úí‰öD{¢=ÑžhO´§æ×Ð]‘Ýóèä#0%˜÷B[ï@ço††OçáÓðiø4|> Ÿ†é®“Å¢ô*d—#¦…ìrUBì÷ß>üJË«jƒ::Ù|N"Ñ©AnCšëÍõæzs½¹Þ\o®7×›ëÍõmgèõöJëGõ£úQý¨~T?ªÕêGõ£úQûžìïû23™™ÌLf&3“™ÉÌdf23™™ÌLf&3“™)¯r¡r¡«÷®ÒÌdf23™™ÌLf&3“™ÉÌdf23™™Zß‚è­!»t W÷™Üï¸Ïůç×óëiO´'Úí‰öD{¢=ÑžhO´'Úí‰ö´!6·Óݾ ˆlåºâ«?¾.Gç×öáo‡‰®Ûð´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'7"b›› Õ¸àfƒ› n6Tz³› µŒ­› ã«_ßœ_ 1TÈ.Ë.Ë.ß=¤ãȘmËžG4x¡ÍæÕMÛ²zT-ëzõz•*æ òⳡ™ÉÌ´y¿ŠôS8ef23™™ÌL5ôÀ]‘ùÝòrœã(f¦}ÿá¥çhÙåð‡º‹4×oºà׫[ÞQ塀¾M¨`œ·Ï„>J¥ÒGÛº'¿ž__+¹¯ÕêGõ£“˜8£ÕêGõ£úQ^hwÄR?úœçcD±À=u=˜Qš|ÛÏûÛÑÊùZ îéd„§Åˆõ€½£Ø¼›ÑåëОhO´'Úíé´Ý5ê¨:ªŽª£ê¨: kØ?zIçáÓðiøGÇÙâyIûGk! 27hsK—ŽÞÝ£áÓðíqVGÕQ{œ·‘bùzùzùzùzùúLÜ1²Ë²Ë/²ç›‡Í¨÷0×›ëÍõæzs½¹Þ\_¸~ô‘L1î ÷„{Â=ážpO¸§÷n6¸Ù°°tï{h·ãð@ú(}”>úüBc—Ž]:véàðqø8|>÷-°§Äž’ö7!šÀ=ážpO/QUGÕÑÑÇùõzõøý1M¾<¾Hà×ïëÍÝ—ôQú(}”>ÚþØ‘kGîæ­ˆ|/Ü]Ž|8ܾ©Æ¹P¹P¹P¹P¹P¹Ð þ<œb®7×oî@•ú…~T?ºi7‹›GÜî ÷„{Â=©£¸'ÜîéJvYvYvYvYvYvYvYvy$»,»ÜRŸ[½-–€†Oçá?ÏwÓS‚)Á”`J0%˜LIš|ÛßÙks£­®øe™;™;™;™»Zç°†B7;ÔQuÔ>|ûðåâʽÐVmp/4OËUòT¤ÝÔ¦cLI)ɳ–v霈pó™FPí€H/1ÎgŒ3ÆãŒqÖêGóo¹Þ\¿16æz¹P¹P3“™ÉÌdf23™™ÌLf&3Sûèôp0%˜L ¦SrZ–ZUGÕQuTUG·Q8¹P¹P¹P¹P¹P¹P¹P¹Ð ¥.8X~œ)·ÛÑnGܓݎv;Úíh·£ÝŽv;Îìv´ÛñrœKëã+>Ÿ‰ÏÄgâ3ñ™øLå¯Àmp·Áóm'¥Èj³=ÎÛžù×7gçy^Î-Æÿ°ùiôÒVìÃoMžáú¢ÕêGõ£úÑ£ôÚòf¶:ªŽª£ê¨:ªŽFt~s½¹Þ\ÿ§0ÅØúgö8|>_?ªÕêGõ£úQý¨~Ô½Ð!b-ý‡ÃÇ=ážpO¸'; âß‚Èb=¹Ðí#«Ý |é }”>J¥ÒGé£ôQú(}”>J¥ÒGã»ÏÍLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdfÊë@Í¿sCÌ ±…½y­Ïc±ºØóûÇ×åèãüz½züþ˜&_ÕQuTmõÔùe¸ÏißS ¼Ô Lè™Ù5ÞìSì}¢ŽØ‘á[ï[¿ßâÈ\Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ÑGé£ôQúhøKê|fòõ›Žíˆü¸bû/Ûæ=«úcùú.[Ú.æÓñ­ß=;ÉÊ'±[xŠ{¾õ¾õ¾õ¾õ§Ì¼PuTUGÕQu´ñ-ОŒG´¾­î…òBº!+»,»¼a·þøº}œ_¯WßÓäË#ÆãŒqÆ8›ëÍõæzs½¹Þ\o®ŸßÝggQÌLf&3S; ݵ7…_ϯwûÆ.êW`ÿhð+Zèºy ÒþQûG·ïˆý£ ®RUGí$+Þùú¡üqs½¹Þ\o®Ÿlzc#_/_/_/_/_/_/_ôº/L ¦S‚)Á”`J0%˜’ñ‘y7ÄúÉ¿ôуk$ÝK/Íõæzs½¹Þ\¿Ld—e—Ûß„(›¥Õ¾HnÖMÛˆ\XÜ]îŸSÅáãðqøøQü(~?Zþ ìÃŽî¡Õ´J?ªÕêGõ£úQý¨~´Oœ ?ŠÅâGñ£øQü(~?j—N0¹n—Nm¬¶Kgû0ìÒ±KçP¹À”<ƒ{£áÓðiø4|> Ÿ†OçáGú·ÁÝÏÛ„ñ•¬ˆ¬ˆ¬Hà[)s's'sçc`˜´Ÿ†OÃ_-3Ááãðqø{ï€}ø->òÈýZöámÂNÿØ\o®7×›ëçwËËñVëSGÕQ{JZï€;w»Gâ®Hù$ºnª£ê¨:ªŽºÏtg¤Žª£ê¨:ªŽª£iØ>|ûð÷ ä ;ÒdEdEdEdEdEdEdEdEdEdEÚ“xÅ9ÆN±ŸèGõ£úQý¨~T?ªÕêGõ£úÑÆy€õª8|w—kyµ@nËçH€ëà‹³ýmEoqšëÍõæzs½¹Þ\o®7×›ëÍõæzsý‹dsåë»YA{J"c®ûõ]ƾ'ûžjúYTë‘g’g’g’g’g’g’g íä3ñ™Ü u/ԽГa׸]ãÍî ÷„)Ùü&ì$ÛU÷BÝ lµóÂî…>ã;ŠÍÃæaó°yظ'Üîi/cÑ±Ž­©{èGõ£úQý¨~T?ªÝ ®‘§p„Öc—Ž]ã}[qø8|>‡ÃÇáãðqø8üö×ðõfý¨~T?ªÕêGõ£úQý¨~T?Zå‚íÃo¼ s°^==ï{{Â=mæÚü|àñæœ\¨\¨\¨\¨\¨:*:ã‚ÅâGñ£øQü(~?Zûì†öQš|Û¿ hoÞ&ί?UÖ‘¯§ÒGé£ui¯—¿pd6÷„{Â=ážpO¸'Üî ÷„{Â=áž"Xî)»‘af23™™ÌLf&3“™ÉÌdf23™™ÌLf¦Âýñf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23-dîdîdîdîdîdîdîdîdîÖ«Çïiòå1Ô¸*¨•)“ÙÿÒ¸!–^Ú¥c—Ž]:v騥³ _ÚíøÃôöÚ?º¿sS‚)Á”`J0%˜L ¦S‚)Á”`J0%˜LIh6ÜØ…™ôÇ×åèãüšÏT<¦òÁ„²+´'Úíi=¿»ïoÚ‘{üi~}:ûô?ŠÅâGñ£øQü(~?j®7×ïÑŒÕmú(}”>JJg ÒGé£ôÑ@ÛÍgjgJ¢;ÒÔQuTUGÕÑÓxVuTUGÕQuTÝÊÀ‡×nÓGé£ôQú(}´µ&Eˆ3’]–]ÆáË.Ë.Ë.Ë.Ë.Ë.Ë.Ë.Ë.ÓžhO´'Úí‰ö õ GʳӞhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´§Ú¨±Á×Ébaf23™™ÌLf&3“™ÉÌdf23™™ÌLf&3ÓófÃErëîr«pdG*Nf\쀰Â; B; ~ÿð1WôŠK8ûŽüWÂñ.¦Óéô÷s>^œ_¼ÈßÒ€—¦oφyn?Ðæofç!&of¼Wzá[õÞLofxºû³Po¦7Ó›Y<Î7AŸŒ}zlúÌhN`(ÑÛ›éÍÜNã¾æ¾æ¾æ¾æ €j± SÍT3ÕL5Sͼ¿{HÇ=|5³[+ ´SÚçw÷ÙoÉln67›oß}¦>SŸ©ÏÔgµk´×^l>1ýŠèøSvÞLo¦ ¨Ÿœ2J“oû´5ßœo> \ÍâÅwo‚xè™ôLzfOsÄ×¼–:|ñ×'°Y͵›J¾æ¾æ¾æ³ýoê¦&ÖˆÄâñ€x@< vçkÞ±!UB­Úkc2™€L@¹Õ¯f¾öNmî$w’;‰5ú!6€q'¹“ÜIîd}>–P“P«WE[ 7Y÷š ¡&¡&¡&¡Ö)ÆÛR¸˜ßUçzÔL5SÍT3ÕÌÆ°?skFp'¹“ÜIî$w²¿M¦fª™j¦š©fª™ûhlùmxÞÅ?i i i i i i i i‹Ýh†©ÝŒ žÒ¶aqLŸ‰ÏÄgâ3ñ™ýÝR5SÍT3ÕL5SÍŒÅ[1í˜v»à‚$jé{ÈÉÉõ!u1í˜vL;¦ÓŽi¯ˆ´Wm)´qËÆ­íµÆ>z|fèÓy$aÂâñ€x@< ¨+g¯Ñìæf¾¼›¬7ߋް·KUÕKÕc¦ÛÖáJA#‡÷7>˜€L@?…=i—ªŽÏws'¹“ÜIî$w’;ÉÌ&=}¦>SŸÙ@û†ð©õ™úL}¦>SŸ©ÏÔgê3Ë_Á ;CˆD¢Ñè@t :âò…mØ]o‡T¯Toã·SYë.U¹T…‚«qm™*þi³'CÍT3ÕÌ>Ê6ˆ¤fò€x@< ˆ”MX#¬Ñ®%8dØ¶ÇØc{Ì^i{Œí1¶ÇØÃaZ˜ì¤ìddqÝÏu?×ý:ÅJ¬ÖkäŠôþ$j67›çOÀEÔƒ[šŸ‰Ï<~"“’’’’’2››ÍÍæfs³y™TÀa°F‘Ïb€©² .„麺’éz|s¾9ß\Í\,z!gj¦š™Lð™øL|&>ó>_MßžM§yYl0››ÍÍæfóê ¼âå,¾9ßœoÎ7ç›óÍùæ|s¾9ßœon6TBLûª&áÑ3é™ôLzæìÓö^õKºög¿Gõ¡u”&ßÒɬ±ª™ÒÞe±ß»%#{3½™ÛmC&  Èd2…>Н×÷r'¹“ÜIî$w’;ÉäNr'Íæfs³¹ÙÜln67›o¸]AÄ´cÚ1í j§]CÊ-¥gÒ3é™ôLz&=“žIϤgÒ3é™ôLz&=“žIϤg^ŽÝ:•¶Ø<ü4Ë€¨ì¿¤-¤-BmÈF:vhûdì‚‹©³?3ØÃ×…>î$w’;ɼç½ÖøJÍT3íÞµVúÌàçÑÎáÅün©fÚìº'Ž]Ù„`6¯5fs³ùbAÏì¢*ÔÌ‘š©fö°ÙÌæfs³¹Ù¼ý+Ðgê3õ™Qb­ÌæúL}¦>3õWï°FX#¬Qí—¼*Y< š©fª™j¦=íƒCŸù1e¼ŽoÞ —a°FùèTix@< ˆÔxjæþ³¹ÙÜln67››ÍÝP KÕ ÒØâ³n©ý™!)£P¾Üêm·zÝêÝVÛclÙÕÛ°mÃn~+:%éÛ³étˆ›ËÈaä0r9<1õîÊÔL5SÍT3ÕÌ{x’U3ÕL5SÍT3Õ̦¬„š„Úå¸çA.©^Ûcê_U}¦>SŸ©ÏÔgê3õ™[ð+v›EŸ©Ï,òFUPñH^‡‚sAÀéz~Ñln67›÷É*JõJõJõJõJõJõVö—í1¶Ç˜Í÷jbüˆÄâñ€x@< ÐæWÐ49Ê‹\‹ä¶ÿCz&=“žIόԷªG^V3ÕL5SÍT3õ™­6k” &²“ÉbaKa@®S3ÕL53ôÃP3ÕÌ>+=KÏln6b.¢Öž ßœoÎ7ç›óÍùæ|s¾9ßü`,Rv²{4››ÍÍævkŠ6ð€x@É)‡ì¤ì¤ì¤ì¤ì¤ì¤ìäòn¢ÏÔgF0³¹ÙÜln6wôLzæ€_O³¹ÙÜln67››ÍÍæfóòW ÏÔgê3û„¿ZL{$*õ)¿ þû‡CÜÅ*wc2™€L@&  ÈdÊz4îd½2 ë3õ™úL}¦>SŸ©ÏÔgê3õ™{ß}æ3㜔vJûñ¼¨‹¨-‹³ŸY¬ƒ¢gÒ3cÑ›j —mضao—)ª™j¦šYö²“²“›'й€VÍT3ÕL53ÛO=àk@ϤgÒ3é™ôLz&=óðá¾A6à3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>ŸÉ Ň_Ô5››ÍÍæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln6Ÿß-/ÇÛÃùtzqv~‘ßy)(½pKÿ¦³O‹Çr©*ô®•ú÷_ä±ÉCR¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢QraËéEýM Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢Q’oédF5ʉ»Ëñ»‡lãzøó¸%èro”¶›ý™ögâ3íÏ´?³¿Ø¦fª™j¦š©fª™/r‘¶ˆ„\ä€ú zWr@B¡„Úþ¬ZàëêJ«øä‘ºªöÄZ¿>èãÍôf ÇQp(8 ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8ÜÍ<› Ppµ¶È.¸Æ¤)í”vJ;r¸îÈñÍG|óZY¬¿vtH[è3õ™!SZÍT3+‹.:q :ˆD¢Ñè@t :ˆD¢Ñè@t :ˆDG ',Î(JõRÚ)í”öFÐØEÔP爂CÁ…rúˆŽØ"Hî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNwhGÞ|ÿjçpîêGl;‡÷|¹ºâꊫ+®®¨™ý 5SÍT3ÕL5SÍt©Ê.¸ÞR —öÙkd¯QÍæE#‡‘Ã1•?tB9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈáQmÇu²XPÚ)í»'Pñà›7Ã^£PçÈäNª™j¦š™÷Ó‹ä6½÷±ÛÑÑçwÙüñ–»+¼™ÞÌÈÓ)aŸO§gç/òãõf†´s5³á¯ç-dèÖ†7sÿí©ê¾½F­_V»6CuÞLoæf>_!‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9¼é §ÝCt§±¸¡£ÎˆD¢Ñè@t :ˆD¢Ñè@t :ˆD¢Ñè@t :ˆD¢Ñè@t”»m"rÙ/Ï_ouäú?;:ìè°£ÃþÌ-!V|œl)´ ®VQp(¸Å–«cKaƒü°¥p‡V-|d !¦ÓÞ¬(|s¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍùæ|s¾y o»{(¡ã0®û¹î!CŽ9Ãâ%‹ØLRg\ªÊ¶ñ€"7Ël±=ÆöÛcl±=ÆöÛcl±=ÆöÛcl±=‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 ‡‚CÁÙÑ‘“7—7/ÎÃE߬Ök„5Âa°FX#¬Ök„5Âa°FX#¬Ök„5Âa°FX#¬Ök„5Âa°FX#¬ÖkTÿØkä{@Aªª4ÔL5SÍìCá3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3±FX#¬Öh£–W]‘[½!í¼ü^þþácÎ1ÝDE®-g/¶.’\¾ðfz3]‘ÎßGØ¥-¤-ÔLi‹S”ÿóéôâìüâE_s_s_s_óœRé0fL@fó‡tÜc>¦gÒ3é™ôLzfz9~§f6dí#õUÐþ”RýºÖ«§ÈSüÉ­7sÛÏÄPõ½ÞLoæ<ǹlB° Á&›lB° Á&›lB° Á&›lB° Á&›lB° Á&›lB° 9Œ5² Á&›lB° Á&›lB° 9ŒF#‡‘ÃøL|æqމ¼¹¼¹¼¹¼¹¼ù®Ú¬ êÖXÔL5SÍT3ÕL5óÀ§¢»sÑz”":ˆD¢Ñè@t :ˆD¢Ñè@t :ˆD¢Ñèv'†[6nÙ¸eã–[6nÙ¸eã–[6nÙ¸eã–[6nÙ¸eã–[6ná3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgæsÁá•A­ËèavCi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥Ò¾ÿ+ˆ|É­š©fª™j¦š©fîf¨#Lê+î$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$¥ÒNi§´SÚ)í”öȉãéÛ³é4OÉ( Ô’vëÕSÈž¨:’Ȉ'ñøæÅ Ülêx@½žÞL÷Í ©ÞP/\Öýß?|â+0Tr(ðo«üäŸêQÚ^ˆëkÞe‰òõôfz3]ªê£¯žO§gç/òYñ5÷5O1úgÛ…D?“Þ̸"d6oý²ŽY"d67›'øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™ˆ|&>Ÿ‰ÏÄg":¿‚Wô\ˆD¢# MU‹y0í‹ùÝòr¼žçf†š©fª™j¦šÙìZwOÎV3ÕL5SÍT3ÕÌâ ð€x@< ˆÄâñ€x@…¾*¡¯‡j­ŽIB-Ì…M6!D2˜ÇüXäÍCSší1ÉMÞ¼ÝÂóÍùæ93p9~÷5¶Ç-ò5÷5÷5Ï>·EŽÖdÚùGvÁí½ Èa·†Šš©fª™6QG¶ò(8 ‡‚CÁ¡à–w·-B¯ý™ögÚŸÝpŒF#‡‘ÃÈaä0r9ŒF#‡Ý´£kÔfí¶s¸þ}tÕETQƒ>ìFX+N5¸ˆZ>‹Ð6 5 5»à0í[Zͬ\L9 9 b¹OôM@Á¡àô™(8 ‡‚ÖÇ7››ÍÍæfs³yÿîBÍT3ÕL5SÍT3¯“0xÏ7ç›óÍùæ]˘êß¾y#Äfœ]pvÁUåkxj¦šÉ7ßL v‡òøÌ6߯fª™j¦šaªô™úÌEh¡=“ž©Ï¤gÒ3ûoP3ÕL5SÍT3ÕÌí9Ž.Ð#&$$$$$$$$”m^ ßìq×Éln67››ÍÍæfs³yv(´C™pAÀ-«^•=AÅ’””””””좖C¤.ˆÄâñ€x@< ˆ´÷-hŠuGÞÆÕgê3õ™úL}¦>SŸ©ÏÔgê3õ™Õ蘵 S;:ºÔn7Ôܬ¿øL|&>Ÿ‰5Âgâ3ñ™›_A„C]$·øL|fhºø%[جê3õ™úL}¦>SŸ©ÏÔgê3F|!Lä€ä€ä€ä€ä€ä€ä€ä€Þ_Cµá›óÍ#G+4íSLÅÒgê3õ™úL}¦>SŸ©ÏÔg–ý4ß<m821§ÏÔgê3õ™úL}¦>SŸ©ÏÔg¾DbNŸ©ÏÔgê3õ™úL}¦>SŸ©ÏÔgfÀHN¸Ôú*ž¼±ß.¸`:¦Þ€…V5OßžM§yºÌ›Ù~€¶>³GÁ¡àPpù;ຟ+Ò±F9|9î)ŽÙ¸eãVC=¨–%¬WO¡XÕ´EþÀ¶'®Z³¹ÙÜœM@& í‹a¯Ñ3Îâ3M@'] ¥gÒ3ݶ¨}zd'wÔyhîNÎnnæÙ͇õ†³ê-§ð€ªÏÊ1ëñ]ªŠ5Å›Y{×J}á÷‡ð[["–7Ó›¹]ŒGϤgÒ3é™­ ÂáEÓqoÄ×Ü×<ô“ÚÈÂfs³yqø ú&Ð3é™ôLzf²¥gÒ3Èaä0r9<ûÔ}ÝáP EŸ©ÏÔgê3õ™'`6ß÷Fè™ôLz¦»“|s¾9ßü§—sKí‚kù°eþSB­õÞ½"•çÍôfÚRhKa]S”7—7¯WÅÚçHÞ|1¿[^Žsåd|Ei§´SÚ)í”vJ{ñ"(í”vJ;¥ÒNi§´SÚížt¬Æ´qËÆ­ÚPiKábÑkª[6nÙ¸ÕóÇ"m!m!m!m!mÑ¿W3ÕL5SÍT3Ǫ̃׵Hnû/cÄa°F} ¬Ök„5Âa°FÙÖo}fè5àñ€x@< ð}M5SÍŒÐW‡#Ë-l)´¥°“ã¦gÒ3é™ôL9 P+f67››ÍÍæfóOØkd¯‘öÙkÔß-U3ÕL5SÍT3ÕÌX:›ÄZð€x@ëêßQš|K'³ÆÖD}¦>SŸ©ÏÔgê3õ™]‰âÐ×SHHHHHHH¨ü ²5Ñln67››ÍÍæfs³¹Ù¼‘es‹n[T©¼1.$$$$$$ê£äÍߤÊâñ€x@< ˆÄºþ»¤ÏÔgö98è¶E—ÚMϤgÒ3é™ôLz&=“ž9ìÄAϤgÒ3é™ôLz&=“žIϤgî} I7è3õ™úL}¦>SŸ©ÏÔgê3õ™úÌZ|å0,Ñÿùæ|óã yóý·§t׫§Ôä‚€ ELúöl:Í·²~Úl&EÁµ&›töiáꊫ+j¦š©f¾?X)íÏ|D&  (jçléúUØì:»¹™g ´í15ù­œâ~ÿðqˆ™n(R—oÎ7ç›óÍùæ|s¾9ßœoNiç›óÍŸ•«_$·²“CMd|s¾¹=íö´oëIáýSÊýËîN6ÄøJ„5:™ñ5y6nÙ¸eãV”|€ ($FÅzgãkîk^øO|s¾y«çpu%À¨™j¦š¹¡Ðð™øL|&>S¨DÍT3ÕL5SÍT3³9JvRvRvRvòÔ%¶Çð€x@s”oÎ7ç›óÍ{®já›Ë›Ûkd¯‘ÙÜln67››Í ¹¾¬‡ög¶I©#üê3õ™úL}¦>SŸ©ÏÔgê3õ™ì—”v-…¶ÚRhK¡-…¶ÚRhK¡-…¶ÚRhK¡-…Í~€4™-æwËËq~|À µîóhî¹T*ñ™øL5óÀII5SÍT3Ä@¯SÆX#¬Ök„5™ͱFX#¬Ö¨kUhÍçôíÙt:ÄýÐÚ9_’1Ök„5Âa°FX#¬Ök„5Âa°FGÍæ/®l›ÍÍæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln6Á¯—3››ÍÍæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln6¯¯e9ŸN/ÎÎ/†2d6rÃ6_s9~÷í4¡í_ûi±ºþ,mqÚ§êÈGL5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5šmRÚÑaG=³ÖekärÙöê÷_DF¦g†>>áí}ÞLofHÆîlàx@ûÌ}ó¼¢GF?·-ܶÈ1µÕu×ÉËnìçNr'õ™ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'“oéž0G5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢QnæÙd€F#‡\w«7¶ ‡ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ=¡í1ÕÀ]€nGÇþ7ÔŽ;:šï„>SŸ©ÏÔgê3õ™úÌãíè3õ™›kMã+D¢Ñè@t :ˆD¢Ñè@t :(í”vJ;¥ÒNi§´SÚû\‚”\,F³5SÍT3ÕÌIÇÑ ìÒ9dr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIJ;¥ÒNi§´/®ž5؆]%oW”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚWµ+‚eÞi‘ܦ—ãwÙfµÃuâê÷ó¼\±;2jmþ@š7AŠjM²´È›™,ú¨¿ÒQÚî{íÏÜŸˆíi·§½ùNP¨FT#ªÕˆjD5¢Q¨FT#ªÑK«Xfs³¹Û=%è¸5}{6¡KÛgœ]pÁ N¥8ÆêÞækîkîkîk^ߨfª™õª¨ÏÔgê3õ™§è«úL}¦>SŸ©ÏìŸW3ÕL5SÍT3Õ̘«k67››ÍÍæfóÝn±Ãy.5SÍT3ÕL5SÍ<ý­O_!œË µ`%9ôØPpòæFò]D ¥!ínìÙÌ÷@È›gGA«!i½z ý åÍåÍåÍm)v稙jfüM0™€Ü¶Øi)»ž[ÍT3ÕÌom67›ÇÆ QpMú¥Ý?­n¾7g÷j®ßûÏËÒb¾L&÷É+»¿ íÑÜLþ_fëÏÉzTü?&׋Ùããd9û’\ޝWËt¾üšÜŒ üOï/Ú ÎOÕâ²Oëdöyò)¹]­³ÿê‡Ù]²·Ö³ûïå_Óß—·«ö.Ð*þùOëäfô?ç‹Å|öå±cœ«þŠëUöý½Œþ~}½úºLßÞMßž_d]nì¯ÏÿóâaµŸ{ŸgÙR`6;óåæ_Öè6{â“Çôû"{Dót¶˜_¯þ±û·0Z-GËlTVbï’³³³üï¤ø ÿzb‹ùúÓQ±u1û¾úš½·óoÙ¿äÑÓü&½¿Ÿ¿yóÆ£O«õM²¾?Îÿš½«Å<û#źý×8Éÿ‚³ì5¹™§óÕ2ûûM¿_Ž×I:›/Ë?;»M³¿¢óÉvOëjñõËrtÿ?Šÿ–ËñÛìopï•ÜV–Ž¿èâ‡ù‹î“Yö*q£O³ëÏwëìµ¼™dÿü«ò_ƸxOž¶¿ìO«Eöo¦xuæÿ+{sÎ߯wæ6—Û¹k÷«/³å÷I1ùã~¶Nº~ôEa­‰¡/½;å_ÖóëäEÑ€=Ö‡Ùã|§öL•yÔø6u`¿Ï^ÆßB»-‹ü××.•{0Àé£öŽƒêŸûvµÊ èájá‰nýýÈ«žh»—Ú‡r;xÄ(i~dêÓÎóv•HÖŸïçëdôÛ,½Ÿ=Í~¨Rzñö/?ReÿÛ_ÏÎú±³ó‹½˜þ{ļªÏpƼªÕœ¯æ.{U½ª]§=~ «êUõªö¸ÅsÈÕ«· [¯úÚz±êÈA^U¯*`ßV6Ve¶æøJUUUË䃱ÊXe¬2V=óÄ+f­“YSUUUUUUUUkØõ0Žd¨TUUUUUUUUUµ^ _‘P…«ÀU¢ÛᫌÕÕ6é«WÕ«êUõªzU½ª^5K‘uí}€«ÀUà*p•à"-¸ \®°›ópv×g•XE¬"VY±t¨v\«ˆUÄ*b±ŠXE¬"VÙ®b¬jtDöT£sä&V«ˆUĪ^kUUUµ0þÊ-zÄ*bUp=ò³Ê`°TUUUUÍ•QT¯ªWÕ«ÞMl­}Jž½r>týK¯ªWÕ«êUõªzU½jÓ’ T‡¸UÜ*n·Š[5äWUUUUUUUUUUsw¿:IÜû€¦ýªúQ;Bì`“ÏÄ«âUùâêUõªzU½ª^U¯ªWݯ.€¸²³ªÀŽn¹UÁ†C ½¿{È.”^#keÅÞ+dPóàUñªxU¼jøS‚W Éë‡[9UUUUUUUU5›R([«ãšézõˆ÷ÐU骪jñÐUÏ/ògði ;>·¼y”¶«ÐU»­=ÛUú €@ Pv•P¯ªW­õWU¿MxF¯ªWmö Ï6l‡à|”mÞ‘ByN¬µ”“ ˆ|ß5w÷Ùt ªªªªªª*[µ}¡îTUUUUUUUUUõXPÂv•þ­ªªªªªªªªvÃBåׯŠWÅ«âUÏ¥¤« c•±ªÅÛÃUà*p•ÝTipl=2V«ŒUÆ*cU« «U}Wä…@_++ú6ãCÍ1p¸ c•±ÊXe¬2V«ÁJøŠZGÖYtdýPGfÁúÞ²`½ù@,jºZÂÕUUUrÊÓ«êUõªªªªªªž´V¯ªW-Œ?«€­î¡ñªxU¼*^5‚òW»öÄ“\ñéuãCUUUUUUUUò–‰ªªªªªªªªªªî¹ó;æX `ÐëaG~q¥¤¤¤¤¤¤¤¤jO “¬•Xí+q´ìm½jøg†À`¦Ó!Îk#«UÈ*ç€vxW vxo¼+¨)瀎ŽdÑü$€`Áz|`UUUUUu“û¬??ÞÏ×Éè·Yz?{š}Bâ «Óл²ò>Ç«º÷tlWÙã·Y/H绬BV!«UÈ*d² Y…¬BVQJ+®+b½šõjÖ«Y¯vhx V«rÿ>¶í‚A€ @ ±ÊXe¬2V«†t$TUUUUUUUUUÕ-€.5¯ŠW­WÉÈ̓Er›Ú`€=½Ð1UUUUU[Ý·ËÕiò-Ìó»ååx=¿»g°ˆUÄ*b±ŠXE¬"V«ŠÌo©’ž½¯i W W%HèUõªzU½ª^U¯ªWÕ«êUóy¹$Þz5ëÕ¡r'Ö¬W‹n-5V«ŒUÆ*c•±ÊXe¬2V«J@ÈÒJK+-­<Ô…N—«ŒUÆ*c•±ÊXe¬2V«ŒUƪ,uÒ;ÊêªX+Ö×b:²5G‹£zU½ª^U¯ªWÕ«êUõªzÕ2Í`¸[5dsÈXe¬ªªªªªªª«è W W W½¬À1 êçãr5 Ûþ-mkL¡ ~HÖŸï®li# À}k2H•XÍw/R( €@دn¼6è%°"°"°‚A€ @ Ñ#ÕJc•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«j=axU¼ja —'ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ª›¦µ 085«úïæÜ{…:´ €XE¬"V«ˆUÄ*b±ŠXE¬"V«ˆU'pÌm›£U)É«ˆUåz·ø¬BV!«î&‹ä–Ðú’4}!1Àâ—rø™ªªªªªªjdAsbVUUÕfµ¬n2ÂUà*ííÜzÕÐ[¡W AzÕvlHUUUUÕW<¤ ‚A€ @ ‚A€ @ \=EDIÇ€úºƒ2ƒ±Ú±á*ƒÀ`°Òä[:™-æwËr¾=›Nó's¢L‚A€ Àìä·ªúÚsŒ#뎬;²~Èr:@¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \ådw®ñE$V%VûìØiý€l ÀY,;«†2«ŒUUUUUUUÕ¼U?<±èUí¬ L•ÐÈB ¨ªM•¹‘l+•UUU…VïÀ+†™( €@ t!zÕNhŠ@XôÚýbeE°áˆ,ÈYÏñªxU¼*^¯ŠWÅ«âUcJqžî ÅÀ­¬ «þ|1ž_ ± À­âVq«¸Uçªj|(YëUõªzÕëÏW’õçÇûù:ý6KïgO³ï/Ò†ÑUéªV[lðç˜uபªªªªªªªªªûöíWµ_Õ~UûUÄ€½'´a¢v¥ªªªªªªªª:d(AUUUUUUUUUUÝp À-€æn¸Êé‡B[dè‘æ™^U¯ªWÕ«êUõªzU½ª^U¯ên•=öØ`€=öÈVÉVÉVÉVµÞdUó‘ÔÀõˆÂ_íÝb°¢aÛU~˜/®­Õ¶VÛZ}È m‚b¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*cõ}Z®= Ù ŒÕêé4ݹUÜ*n·ÊÕ!5wUUUUUUUUUUÍ=œ#V{—ÝX Ì2–VîUWh5´:òÁQÚ;òUUUõb³ùp[sÝVºÞ €@ P(ÝìR©t¸\ƒ;ºÝîâ¯Ò«R('Peèe«udtUº*²*›ÜNþâR( €@ +¡ËÕ.W»\íruc¬2Vwd0¢ç»A>$ëÏ÷óu2úm–ÞÏžfßóêЋCŽd) €@ P(µ'ÐI+LßžM§C´rö(ïÐî]½ª^U¯ªWÕ«êUõªzU½ª^•®º{ ÕÐjh5´zQ,bXé\HÝä휫r È1 •! UUUUUUUUUUub͉5'Ör³£Ì{:²îÈzØúèbÒá*ù3{Å0\®W«ÀUà*p¸ \®W«,®nÔm‰Õè_-ö®Ž=ÂÕ¡·‚A€}Öc‚C¿”Ãwà$V«çæn•»Ué¸Ç,cÐ^±Ñ«êUõªzU½ª^õÛþzM¸ \åç‹éôìüâEÖ%ÒUéª ªòGB`E`E`E`E`E`E`E`E`E`år¼žßÝg°€€€€€€€€€€€€@ç~¾­6ŸÒnp«¸Uܪ€Ë´y(xÕ¦Ü&[Í–5oUUUUUUÕŽ‚9HB„À`°ôª, €À`°X,€Þ³'±ŠXE¬"V«>GÔ¤cV{«ªªªªªªªªªª ++ãw½–9…4++¬¬°²".ï»[ånUØúp·êEvÜX°}Ý,Xï×çXZ¹÷ YZÙ| VWÏÃ*`«€­®× ÖCòºÀŠÀÊQ‡h¹UÜ*n·Š[Å­âVq«¸U»FÒ5ÀÔI¬"VEbw#b±ŠXE¬:Ý“f° ò§qLjXE¬"V«ˆUÄ*b±ŠXE¬Š.æÛ6 Ñu¯N¬9±f°k5³3ñªxÕR× ñïÄ*b±ên²HnÓ˾-¹ªªªªª u[¶J¶ªm «ª1 ¥ ÜùË¡P( Àö ÈVÉV-b«ðôªïvp @«„¨ªªªªžíç–A€ À•M€…ÅrDÁ «ÒU骯øË¡«ÒUéªtUº*]uu}BTY…¬BV!«"‰·! ½ª^U¯ªWÕ«êUõªŸçSq2/ÞþåG:M Ðh4 €@P¬ýr«¸UÜ*n·Š[Å­¢«ÒUéªtUº*]•®JW¥«ÒU/Çë9]•®JWuae×^êLW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«fªò%]•®JW¥«Ö;ã*ÇбØj›wˆž4±³ÊÎ*;«ì¬²³jÈ‘[UUUUUUUUUUóÁõˆóÞ¶VêG¹ñ^buï鸰—àu¸²| ï†^U¯ªWÕ«êUõªzÕý:ÐÙËž|‘Üö7åôªzÕ™í*«÷içS(^½jù(€í/âä_´Z ­†VC«¡ÕÐjh5´Z ­†V—¡S €À`°‚•ð†éHgXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÉ䄬·±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUµž°‡ÑçlEõ¼VV²ãá õ@“  `ÆŠ>köŒ\Hrb­©aX]“YåŸí´`½¾×«êUõªzÕýºªjP«?ä4\®W«ÀUà*p¸ \®W!VÁUà*p•î-GïÝp À" ‹€,²È" ‹€,ª7š»/ã(M¾¥“Ùb~·,çÑéÛ³é4Ç¢O”) ÕÐê’ŨHI ìàû1Ý) €@ P(€ù:ý6KïgO³ïCHCÍ1zU½ª^U¯ªWÕ«êUõªzU½ª^µ…G†ìJÙ*Ù*Ù*Ù*Ù*Ù*Ù*Ù*Ù*Ù*Ù*Ù*Ù*Ù*Ù*ÙªÆ8æò+^¯ŠWÅ«âU?GLzUµ^!#käÉ­õj­/‰õj¡«UÀM Ã*`«€LËž\U ùªªªºˆ5kV[\GÉ\UUU½²  Žní¬ ŒáÎÙŠêi•'øœ­Ø{…:‚A€ @ ‚A€ @ ‚WO½ü ÆjgÁd¬2V«aqÿ0´Ô¢h¡ÕÐjh5´Z ­®Z«µ^õäÛ ªªªªªªªªj&‚¯ìWµ_Õ~ÕCt„õjûÄg¤UUUÕñ»‡ìÃî2·ÝwN!8±v=d­†VÏv€·Š[åpå>(„£ªªªªê+F½VVVVVVVVVVVVVVVVV@€ ÀÐtܹÆÎª}‚„«ÀUà*;¡Z>$ëÏ÷n¬¶N ð9«÷ Õ @h5´º×¦Üa­ÞýjB_\UUUUUUUUuH>DUUUUUUUUUUs9ÐΪ:làÄÚ±/Å‘ŸU))))))))))))))))))))¼jëp¸ùHUÕóè|70 €ÀtÏØö«Ú¯j¿ê~Ê~Õ‹|ÚàVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·ê}Zž“Ù Ü*nUþªÕdRRRRRtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒU÷$C—«ƒ²!]5½ì{òÀ-€}±k3±UvVÙYÅ­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UܪÆQ‘ˆ[Ç­âV«ewЍøKll>:Ù*Ù*Ùª»É"¹UUUÕ³étˆmEªªªªªªªø§cv °ø¥^”§ªªªªªªªª¦ã«é[½j¿ÏÆP_\·Üp àÉ;J“oéd¶˜ßU» ¥¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤š G¶»±êƪ«{_Éèà˜‡TV›õœXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*bÕŸ'H@«¡ÕÐjh5´Z ­†VC«¡ÕÐjn·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸Uܪü t®‚·^­xF‡·rB«¡ÕõŠ9ÏaÁzlq¶âù$«€›mLnû„VïYZii¥¥•‡èK+÷»½uX6­>î‘?Ðê%V%V%Vÿ¼‘[ Ðh\XUUUUUUUUUUÕc}ÛUõ£4å®>$ëÏ÷óu2úm–ÞÏžf߇¸ÌÉ­âVq«Ú,Ôëù¼««Ü*‰ÕCÃ`_4Þ œÜ*nÕsÞ b±ŠXE¬"V«ˆUûu¯úÚ¤7€@ P†ìGTUUUUUUUUUÕ&@›m̵ŽráÀJ©¥Í£Â$ßÒÉl1¿XXÉož¯ŒUÆ*c•±ÊXe¬2V«ŒUÆ* Ö-Xßõ+‘Ψ{¿ž±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«Ü­ªõ„=ôª¯Í2#«UzU½ª^U¯ªWÕ«êUõªóu2úmæ°sÀ­zXb, `Ücz„«ÀUà*p¸Jä œç€«ÀUà*Å;ðŠa& €À`°X, €ÐJÒä[:™-æwËËqžË_¹°âŠ +.¬X, €ÀhTB;«]µ àç‹éôìübˆÜòÆMi|z$Výªí*‘&>yòè<`¿.A€ @àž`^±=®ömålW©^¢Î/.\®W«ÀUà*p¸ \®W«,‚ûÇUƪbg\Žß=dÐZøÌö;b?$ëÏ÷ªªªªª&“Ž‹Aõ_MÈ"V«ˆUÄ*b±ŠXE¬"V«ŒUÆ*c•±ª÷!Z¼*^µ¥`"«UMiÿdêŽXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*bUŒ ³µ:Ô'4q;b±ŠXµ›*«#:ªªªZ¼Yô9ò™t À" =%¢ðz"ëWâi½ª^Õ…•Wÿâ2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±Ê`°¢ûµÝxm{ˆXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬ÚÄëNf‹ùÝòr¼žßÝg«•ÿö×s‡+ã#^µÖÂK¸¥¤¤RUÕÙŠf\0Úrq«¸UÜ*nÕ¿5·ê¯ËÑÇùõzõøý1M¾<¾È¡û#KÃùÅ›7?ÒßÏô쯿¾ÈßÏ€‹U}s6LHñúò{Guµó*±w´õ¬^%£êõŽþè‡ÿ¼£ÞQïh6·vÒn† QÓ†œ®g¦}Ý¥:ÞQïèærªo½o½o½o} ¾Øjßzßzúhù‹«~g/Ì›øÖûÖûÖûÖûÖg»(7hxé§=oϤ:ªŽª£ê¨:ªŽ®Þ:zÅÓMæzs½¹Þ\o®?­÷PGÕQuTUGÕÑâèÑÄË.Ë.ãðûF ùL|&>Ÿ)dÙ‡ß?¢­Žª£ê¨:ªŽ~²#׎Üåå8—­ÆWnßô“-¶<ÓÁåʸ§ýúB¥ÒGé£å¯`ýóøQü(~?ŠÅâGñ£øÑÙb~g®oYÕ½‰éS?Úý á3ñ™öM7Äž[hpO¸'Üî©íßì)àðqø8|>Ÿ‰ÏÄgâ3¥…Ù‡0Ôì{ ºŒnéGõ£úQý¨~T?ªÕêG#ý@ãæ¤}ø‘œ>Z•Æ6Ÿ‰ÏÄgâ3ñ™ò;†áëÍö”È3l+pO¸'ÜÓûâ¬:^ Žª£Û"ù^˜ëÍõ›±]Ý­žè•×9òö¡\¨\¨\¨\¨\¨\¨\¨\¨\¨\hûk(zê8ÒÒ=ð£øÑ‚ å×óëë¿ùzùúÍû@ÍŸÂëõ8|>‡ÃÇáãðqø8|þŸ©…éGõ£úQý¨~T?ªÕêGõ£úÑ\ÏáÐQš|ÛïÜgz]Í?ŠÅâGñ£øQü(~”_ÅVwehø4|> Ÿ†OçáÓðiø4|> ?ÇÚO\qÑÊØ±ÿÓ²“ÌN²îwâÈߌ¹Þ\o®7×›ëÍõæzs½¹Þ\o®7×›ëãl¦™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLyp‹qW;3Ž2w2w2w2w2w2w2w2w2w2w2w2wëÕSèsP1°‘?ÐâˆËÛn1& 7š²åáíæzs}ýΉÛ7‘²RBþøº}œ_¯WßÓäË#}”>JmyeÑpôQú¨:J¥ÒGé£ôQú(}”>J¥Æçh3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™üz~}–ÎÉ6V¦³O²Ë²Ë²Ë²Ë²Ë²Ë²ËØJ¥ÒGé£ôQú(}”>J¥Ú¥c—ÎG_íÒ±KÇ.ñ»‡tÜãt+Ÿ‰Ï´X·âUkË0ÎgŒs(ÿʯ¦‚ :ºŠÊ å…òBy¡¼P^(/”Ê å…òBy¡f&^(/”Ê å…òB{¬Sdç‚ÝŽA·SÃýõÍÙùÅ ¿ž_ϯç×·}x»t*iÐ ±ö+ùÖûÖÛãÜV[ùõÛg¢ÕêGõ£úÑüÖæOávA?ª=´ê´©ÍÙ‘‘´Ý´íz0£4ù¶Ï âGñ£øQü(~?ŠÅâGñ£øQü(~?ŠÅâGñ£øQü(~ô4 GUGÕQuTUGßwEÜió1Ñ}?²"›_Ïad¦ÕoõXàòÇ1ÎgŒ3ÆyrØí{[㸋{WGÕQuTUGOãŒÔQuTUGÕQu4(Êúð*ï/+"+2P¾JVDVDVDVDVDVDVDVDVDVDVDVDVDVDVDVãŒqÆ8cœ1ÎgŒóüî>;ͯç×óëùõüz~=¿>Ä%˜™ÌLf&3“™ÉÌdf™S” • }?ŠÅî½=ènßìžYçíKú(}”>J¥ÒGé£ôÑ×Üí#Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï$Ï„ÍÃæaó°yØÎ¯×«ÇïiòåÑÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLf¦ á^dJ¢w±yØŸ‰ÏÄgâ3ñ™øL|&>SmHh™Šdv’¹ >~÷æø)R-*‰ ãÜ|Düú²zlæ®tö)³æÖ«§`¥=ôâú…¹Þ\o®7×›ëÍõæzs½¹Þ\o®/ûéëd±8òF†]ãÁ_Rç\ç®È¦ ©æ½Ž×oó‹¡Ð;zÑšÏÇ]‘Ș›G"hO´§ðwކOçáÓðÛõñäÞCæNæNæNæNæNæNæNæNæNæNæNæNæNæNæNæN曇ÍÃæaó°yØ?€)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`JÒÙ§Ì>^¯žB/Cµÿ6òÔQuTUGÕQuÔN²-‡5z˜ÝÜÌ—wl6›‡ÍÃæaó°yØŸ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øLÃæTÝgŠd>íÒYîäŸß{xG½£nˆÙSbO‰=%ö”ØSbO‰=%ö”ØS‚ÅâGñ£øQü(~?ŠÅâGñ£øQü(~?ŠÅâGñ£øQü(~?ŠÅâGñ£?‡ÃÜM,Šäu²X/-VÄ-Ƹ÷x~ñæÍäÍâGñ£øQü(~?ŠÅâGñ£øQü(~?ŠÅâGñ£øQü(~?ŠÅâGñ£øQ^(~?ŠÅâGñ£øQü(~?ŠÅâGÃxl«Wîñc õVøÑ0 œÍ£ùFVý¨~T?ªÕêGõ£úQý¨~tžuô0»¹™/ï&²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"²"Ø Ÿ†OçáÓðiø4|> 6´#÷à;Ñc˜ i4|þ¾y~ñæ~T?ªÕêGõ£úQýèkíç×êGõ£ëÍ!€Ëñ»‡Ô>|ûðßßÍT>s½]:;²®ë»¹>øKêüýúæìüb1ľ§ÝÃï|ÞÞQ悔yÏÓÍLf&3“™©ú˜™ÌLnˆ¹!憘ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÆãŒqÆ8cœ1ÎgŒ3Æyy9ÎmÔñîi£U\aÇšÄAv)âžpO¸'ÜSt+~?ZoPìqŽ´ìî.w=YYY‘§Žª£öáï½=_ý¨~T?Ú7¢}Ågâ3ñ™øL|&>Ÿ‰ÏÔüò™Þ²ÝÑhf<ç#*êÎ]ñ˜ë[uâȽÉüz~=¿ž_ϯ?íÛªŽª£ê¨:ªŽª£±é¿±Ç…_ϯç×óëÛ¿~÷'¤ù|ÔQuTUGÕÑš=r„§Žª£ê¨:ªŽª£z!¬_¸i{…sÓöpC‚ÃÇáãðqøÍb:ˆæ®H+³Ð¹D7Î úÖûÖo>å'B®¾õ¾õ¾õ¾õ¾õ§…ÔQuTUGÕQuô9Ì„¬Èþ‡)I/ÕQuTUGe—w=õzõô<–›>J¥¾Ö^™;™;™;™;™;™;™»Ð.`ý¨~T?ªµ“¬Á4™ëOFxZŒÆã»]:vé\'‹Ey?EæNæŽ*s'sg®×ŽìÌõæú!¢VNÕ»H{V F|]Ž>ί׫ÇïiòåñEþ˜™ÌLf¦Ùk°‚òLòLòL¹0Ü{Á1Ÿ)Fìð™øL|&>ÓCæ²…1ÿí¼Ågâ3y ý¨~T?ª­~%–@{z÷¦Žª£ê¨:ªŽž–¯RGÕQuTUGÕÑâè¦pwy÷sédÊ퀰Sb„v@Øa„v@ØQ핦=ÑžhO´'Úí‰öTþ ª]@›Œ€¬ˆ¬ˆ¬ˆ¬Èv·‹\¨\¨\hà[iož½yÏàÕQuTUGݹ“ Ýjåý; Zºt4ÏFçáÓðiø4|> Ÿ†ãb'Y”• ÒÃÅ­ ý誑?ݱ?ò3²ßnGut?ò¤ŽÆß y&y&y&y&y&y&y&y&y&y&y&y&3“™©ºÿÆ å…òBy¡¼P^h„’g’g’gªµ +R8QÛæÅAžIžIžÉ-ÆÀ0ºÏ…ÃÇáãðiO´'Úí‰öD{¢=ý™Þ¬~T?ªÕêGõ£úQý¨~T?ª•¹“¹“¹“¹k} ¢yv™;™;™;™;™;™;™;™;™;™;™;™;™;™;™»Ðlho^pb¶7/˜·PGÕQuTmdoN¸»‡{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷ÔÒܾ ˆO4|~õ/ùµsUŽ]:nßD~FúQý¨~T?ªÕ.’Ûþ'ЯÜïÿ›á…òBy¡¼P^(/”Ê å…òBy¡´'Úí‰öD{¢=Ñž"æoaìáð7?‘ÃÇax¡»×¨B7ìÒ Ú¡Ïì×7gçC4lÞQïèØhÜ£ÒG}ëé£ôQú(}”>J¥ÒGé£ôQú(}”>º‘?óõرõ§ôÑúÝè4sú(}Ô®ñö¶+@î.ËÜmß> ÿPDWV¤ù„:3²"²"²"¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼Ð:BÞëfäm뉻ËöFÊJÁØ÷Ô¿÷ áÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|þiq6uTUGÕQuTm| Ö«§^žxéùª£ê¨:ªŽª£êèüîÞ½ÐH¦—†OçáÓðiø´'3“™ÉÌdf23™™ÌLã#ó5îŠl~=‡WW¶ú-y¦ýöc³Wªº%Ï$Ï4Ð>Ty&y&y&y&y&y&y&y&y&y&y&^(/”Ê å…òBy¡¼P^(/”Ê å…òBË/öæ5·ovÏ£æyGâJ•Ÿ+ÏtòéË¡ø^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/4Ðlþ#^(/4”áu‹QvYvYvyïè±$SR~Q²]ê¨:ªŽª£êhûWÐÜc—N¨·Kç![„üSdz­ÆWŒ3Æy±½(úQý¨dãwêh½BÒ{àðqø8|>‡ÃÇáãðqø8|>‡ÃÇáãðqø8|>‡ÃÇáãðqø8üÚ}(~}˜YØŠÉøÑd±ÀâGñ£øQühÍf>âV¥:ªŽª£ê¨:ªŽ†yúÈí^> Ÿ†OçáÓðiø4|> Ÿ†ŸióU6WvYvùºîU˜™ÌLÿ?öþ¶¹4Kó<_o| lÛlÆ,À ¥"#¬É±Tnï†ÚZÝe=]6/!$1‚è*Jýé׀߷à 8êªß˜õtWTd¦ÒÃqüœëú_瘙ÌLf&3“™ÉÌdf23™™ÌLóI6&DÆÅˆÿ"_/_/_/_/_/_/_/_/_/_/_/_/_/_Ïgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|¦ølhf23™™ÌLf&3“™ÉÌdf23™™ÌLf&3Ó¶ö8sÝzVGfÝ‹0M›õÓó8Ys½¹Þ\o®7×›ëÍõæzs½¹Þ\o®7×›ëÍõ£dþmÿVõ¯oÎÎ/†SÔô’ÈØ^e[Íõë"½S7ŽØíM{:üм£»v°lŒC5áüâÍ›)_E¥î·¼£ÁÉ®ówí[ŸuÁ¯÷mõŽzG³&ﯫÑÇÅõfýøý1™y”]–]–]–]–]æ×óëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯÿóýq> Ÿ†ßz:}F~=¿ž_ïfCõ+0×›ëÍõæzs½¹Þ\o®7×ï÷Çf&3“™ÉÌdfrç®xz€êòLòLuxlô0»¹Y¬î&ê¨:ªŽª£å¯ yWøÈ¬0/”Ê å…F˜ëGõ£úÑñ»‡¤Ê-Ú,¥˜’²zTu»tâYaý¨~T?ªÕž¦õ¨£ê¨:ªŽª£êèóîmð™øL|&>Ÿé¨½‚üú@ã-+"+"+"+"+"+"+"+"+"+’Ì>¥c&/”º43™™ÒpÄý±ÌÌÌ Ÿ†OçáÓðiø‘~àz¾¬ún7" x1¤fÏÊ-F·šQ°yØe_ÎPM =ÑžhO´'Úí‰öD{:Êç…òBy¡‡Ð€&ÏŠqÆ8cœ÷Þûð[Ú­=ÎûuBM.ím¾²"M¬S?ªÕnÿFŽ SÒ…/«£êhw¿¥ÕÊŠ<ïÛJÕêGõ£úÑZ ûpIJ ³Â; 쀰BvÙ; 쀰¢M|êGw«ËqÞ&Œ¯~}sv~‘Ûñ9:~|˜Â½ÐÝ«Öyû‡ÃÇáãðqø8|>‡?[êGŸÇâG®èÃâG_„qá3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øLùŸèþ!>S6±¿ž÷Ègâ3ñ™øL|&>Ÿ‰ÏÄgâ3ý™3Š~T?ªÕêGõ£úQý¨~T?ª­r˜L ¦S‚)Á”`J0%˜L ¦S2D4[VDVd[K"™w—ÍO°ÝŽv;Úí¸Îì]ž•>J¥ÒGé£ôQú(}”>J¥ÒGé£ñÌ¥™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLyp³aWÝlhÜz53™™ÌLf&3“™ÉÌdf23™™ÌLf¦Ö· ºïÕ¾§@¢ àÇíÈ=ñÔ¤<“<“j®§ÒGé£ôÑ–67z˜ÝÜ,Vw3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ì ÐBö6Kƒý£öÚ?ºì;š‡KÂP¬ î ÷„{¢áÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OÃÏô¸ýv’í^#;Éì$ ””ì/•¯ÆÕ_W£‹ëÍúñûc2ÿò¨ÕêGõ£úQý¨~T?ºþí™»b®~ŠôÝZŸ}OÁÇfßÓ?Á¡ï¨wt}ýÙÌÔ| :kî ÷„{Â=ážpO¸'Üî ÷„{Â=ñ™øL|&>Ÿ‰ÏÄgâ3ñ™–™´6ώɩڛ)+_ˆ{êß{Ððiø4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†ßølÖO1GÃþÑìIÙ?º¸[]Žsiu|õ뛳ó‹!† ; vŸc; 쀈ä1í€8ô`FÉüÛ¾ïÅ å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/´ðõìÍ : v;Ú혇ùLAFª[Ö˜’“Od´f”#wöòBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…ŽôäB_7+̯ç×Û‘ÛV²Òüúì±È×Ë××›z»Æ#c®]ã]÷„{Ú¾ö”ØSlºÓfc×v¹ÙÐ|Bî.—]˜:ªŽþ–Ì>m9,ý¨~´øpTïÆùð²As½¹Þ\?~÷†Ö—ض6–¹Þ\ßÁ|«£ê¨:ªŽ¶çuýh“Ð4£ðëùõüz~ý$óBƒ‹~T?ªÕêGO±ÕQuTUGÕQu´{åÇ Þ£¹Þ\o®7×›ëOÛ¯¤Žª£ê¨:ªŽª£Ï»Gl·cU5pø‡ òL8|>?Ú¨”8üæãÀ=ážÊ¨’~4ô½°7/Â×ãGñ£õWƒÏôN.T.T.tï¨AMøÑyT#.žš=%ö”’í)ióQöæåÕƒ>J¥ÒGé£^± Ýö™'k=¸'Üî ÷„{Â=ñ™øLGÝç´7_ϯç×Wúw`Ï*¿ž_ïÎ;wîÜ5´›Íúéy}·:ªŽª£ê¨:ªŽºê^¨ÌÌݘ’Ý+‚ÍÃæaóB: Ÿ†OçáÓð«ïCÌl(kzö˯ù\q6èhì­õç‘g’g’g’gjÿ äBåBwy5~½oýrq·ºçëÌÆW¿¾9;¿¢!¡=Ñžì÷¿÷´§¤|&òLòLÍ~Ý\o®7×›ëÍõ§éµê¨:ªŽª£ê¨:qÝRWŽ>J¥î×ÈW|'ì)±§Äž{Jì)±§Äžý¨=%3ý¨~´ä5𣗡òÊäë‡gŠeEdEdEdEdEdERQ&tÓ?šM‡?¸'ÜÓ¶ˆDø.ûž"€~?Z5ä™ä™ä™Ê´Éëõ´'ÚS2iêÑüz~=¿ž_ϯç×óëùõüz~}ûkHµï)+øõéÎ 3“™ÉÌdf23™™ÌLf&3“™ÉÌTí¤ã3ñ™øLù‚ÆË¾ å°yîÒ>’{7×›ëÍõæzs½¹Þ\o®7×›ëÍõæúH4™Ê L[Ÿ<¿e®7×ïkaôQú(}”>Z ¥—ÿøº}\\oÖß“ù—ǹ5Hmm$ ïŽõŽzGOÓÂ|ë}ë}ëÕQuTÝ®a²“ÌN2;ɶ?7^wÿ”~T?ªÕêGõ£úÑj1[£¡ÒG¯çËeysÒnÇ€Ñ=È?ýèŸÓ~xÿñG²–.¦ÓéeuM§gç/òGð’íôíÙ0Ï­¶ùϦ¼™YaÂCçÞ̽oÑ«qxÞLofíÝS3c€£¯ùQ\¨¯y4yÕX=•fGŽèÞLoæv•›¯¹¯¹¯yeÃF'5SÍT3·ï€š©fª™/EË›€L@æ)íÛ.ïõ®L@¾æ¾æ¾æ¾æ½×ô©™ù îän¬Â|óåâ®ZC5¢Q¨Fí_ßœo^ckOÏbP¨FT£rŠ‹4¢-„âHºjd¢Q¨FT£¡9`Ú1íéµ”ñÕˆjD5¢QZ±P|f=‘M5 mð0››ÍÍæfs³¹ÙÜlÞÙDÆB„ÜIî$w2¨B”½ WCÔL5SÍT3»0”-~€F“ =“ž6»ô™m7tHÒ.¸ýÈ.¸<ÙùS¸9|y¤ » Ñè@t<¤HKø·x¨Æ´cÚ1í˜v_óþ Œš©fª™j¦š©ff£n±åèOŸ…1í˜vL;¦ÓŽi¯ÐÔ¤<lKaàûÀâ<`°FX#¬Ö¨ aÚ»:‰Aa67››ÍÍæfs³¹Ù|u7yÞ¥sysysysysysysysyóݨ0|·zc‚š©fª™j¦š™e!Žˆ&ñÍùæi„VB­×χoÎ7ç›óÍùæ|óß*øðȯ'ßœoÎ7ç›óÍùæ|s¾yù+Dù·×h¿®Úkd¯QóèOlB° Á&›lBèßž«™j¦š©fª™j¦í1ö´·m¢Íú)ô0››ÍÍæ9_bãÖg{Ú8’š¹\Ü­.Çù½Z÷ÍmÃ.«¤ì¤ì¤ì¤ì¤ÐÞ¯  Ó”y';:BÈ™Ðü”t¦ÓŽiÇ´cÚ1í˜vL;¦ý”ë9òæòæòæòæòæòæòæËNe"¢óåÌ@os$ž`Ú1í˜vL;¦ÓŽÏÄ´cÚ Ò"ú&ð€x@< ˆÄâñ€x@Pžý™†‘žÙ_¶½’’’’’’’’’’’ÚöGœ…’’’ŠÞÅ2››Í³lcÜP3ÕL5SÍ kòæòæ?…“ ‡ûs9 9 9 9 9 9 9 9 ìW`¯Ñ3â`fs³¹ÙÜln6ñ,§»“ûsŠÛn[4ß w'CÀëëùÔjjjjjjjjjjjÕ¨ùÍ×sªÕˆjTœž³ Î.8»à삳 ®ÿà¨fª™j¦š©fª™ögÚŸÙF8Ý7wßÜžöšüæ¾yC‘W3ÕL;‡gŸ¶à{yÃVÍT3C ]pµ§";););););););););™”“DÌ–±×hŸ³£#ÎmÃÈî¥ÈlJöÐ3陡oÙÜl®fšÍÍæfs³¹ÙÜln6¿[]ŽscSÚâ9Á µÈàYý¢ÌæfóãU,{ì5*>K¶ÇØc{Œí1¶ÇØc{Œí1¶ÇØc{Œí1‘ó.¶ÇØCÏSŸ©ÏÔgÚìÚ¶¯#KÈÔL5SÍT3ÕL5Ó6lÛ°³_As)F¹Á– wé–Ò3é™ôLz&=³?,®fª™j¦š©fª™ô̤ˆF#‡çôLz&=“žIÏtÝÏu¿QÍæuÎ-á_HH¨ÏGPjÞîˆ5Âa°Ffs³¹ÙÜln67››ÍÍæ/²Æ¤ämÜ d¬e'e'e'w}øn‹Rhó€ë~a;¹àÄ£¸mضaÛ†m¶mØýa=5SÍT3ÕL5SÍ´ÙÕ¶Mä‚€ ôLzfH’±s¸öT°FX#¬Ök„5Âa°FX#¬ÖkÔž‹ª‘•ì‚ËŸÎK'æì5²×È^#{ì5²×È^#{\nICdo¦½ëíÀ´cÚ1í˜öÈþr¾9ßœo~À á›óÍõ™|s¾9ßœoÎ7ç›óÍùæ|s¾9ßÜ&›Š…”vJ;¥ÒNiO.Ç=Á5SÍT3ÕL5SÍlÕ.¸ pÒÍ2³¹ÙÜlÞ§»¶¶¶¶¶¶¶¶¶(S%Ëù­ÙÜlª ®û¥ñ+Q#Ÿ‹Š‘’P“P;þ—b67››ÍÍæfs³¹ÙÜln67›ïý šøßœoÎ7*X#z&=“žY>A¾žX#¬ÖkÔþØc{Œí1Á¯CyIHHHÈln67››ÍÍæÙ¨M½Ïm`°FX£üèñó1››ÍÍæfs›]w³'¦ÓþS´ `Ú’q¾†žIϤgÒ3é™ôLz&=“žIÏÜÿD¾ òæÅƒÂ´·^³¹ÙÜlÐ ÔL53òÃP3ÕL5SÍì“ä›ËNÊNÞ®k‡åÍ÷FQ³¹Ù|À‰Cv2h¸oE°ü¸Ø(™K&³åÂÝIw'ݬ~/Õ§h³~Štï”öΖÖ×Ü×Ü×\Ú¢ñ+P3ÕÌM±vtúöl:Í“Å[J{íkH¶aGâWÈaäð¿Û°ã‘ ¨U|މÐò€x@< ¨+I5¢Q¨FT£c£ úL}¦>SŸ©ÏÔgRÚk¼]/ŸÒNi_ŸO|&>“;dݶ¨ŒÇçÑa¹ù}9vw²Ž¡Úkd¯Q~¨â•óŸy3cB¨Í•ê•ê•ê•ê•êÅg~ÚªT£ö—Ò8ªK5¢Q¨FG`<­¡ÌÕ•ˆQ$F>¼ÿ8D~d¨YXÞ\ÞÜ­Þí;PÞà ­¶¶(Ð5SÍT3ÕÌNÔXУfª™j¦š©f¶B"Ñ¥fj¦š©fª™j¦šŠ—RÚ)íî›çï€ûæYøC(RlܲqËÆ­}Æ9¬f"‡‘ÃÈaä0rø¤u¾(8w'C½Ffs{ì5²×È^#{ì5:õl„>SŸ©Ïtu%åäñ€ì‚ë#k›ÍÍæfs³¹ÙÜln67››Í ”®¬‡n¨µF 7ԒɬìsõÅ¿žr@r@r@r@r@r@r@«» ˆÄâíZ‚ÃA¾¹š©fª™j¦šÙŸP3ÕL5SÍT3ÕÌê ð€x@Ûïâƒ'>Ÿ‰ÏÄgòÍùæ±3]ôÌÚ7¢y¶Ù¥ªý->öí?{ì5²×È^#{ì5²×È^#LûàÑÙIÙIÙIÙIÙIÙIÙIÙIÙIÙÉLv+n\ÍÌ´0]}¦>SŸ©ÏÔgê3õ™úL}¦>SŸ!袇d±FX#¬‘½Ffóþ $ÔL5SÍT3ÕL5óš8삳 Î.8»à삳 Î.8»àÊ_A3&Å7ç›óÍùæ|s¾9ßœoÎ7ç›óÍù柯>¼ÿ˜/°úAH]z&=“žIϤgÒ3é™ôLzæ)ù©ÚjÒÈñ>×ý$ÔšßÚì@?‡ØPYE Èd2™€L@&  è%vüê3õ™úL}¦>SŸ©ÏÔgê3õ™úÌê sÖ­¼F²É ËËñ»‡tãzxûÝV.¦´SÚÇùÛ2¾:ŸN/ÎÎ/^ÇòfvÁ~(¸Q§íçÍÜ{øæ|s¾9r8ŽJ¨™jfÑ×QÚ)í”vJ;¥ÒNi§´SÚ)í”vJû³n/ç·ý z&=³^aä€2µr”Ì¿%“Ùrq·ºÜy.fs³¹ÙÜln67››ÍÍæfs³¹ÙÜln6oöÙŠ°döiÙ¹DÖÎá–å}ø¹™ÍÍæË%>Ÿ9î§>‹c°FX#i‹zàñ€x@}”mˆÄâñ€x@< ˆÄâñ€lÃéò¯çšÍÍæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln67›×³œ(8 ‡‚믨™j¦š©fª™jæu$€"¡&¡&¡ôaK BÚBÚBÚBÚ¢—ê )”é*ü쑚©fª™j¦ši³ëV8¸b¦®S„öyÒ3é™ôLz&=“žIÏìš¾lÞÝÜ,R¢Ö­ÞNh6oÆÑóÌúL}¦>SŸ©ÏÔgê3õ™ »±+™Ä²Ù5j ‘š©fª™å·Áu¿âepA 5V» pü×Óö˜ µxÈD¾=›NóuÁéD¶ÞLoæ³rØ”vJ{¨ u¹)í”vJ;¥ÒNi§Q¨FT£½_Õˆj4 ~H5¢I¨mß³yíÇ`‚M6!¿6!´] µô±Y?…¼¤ª}ü -cØdâNFëðÉ)Z Èdjÿ L@&  h³â*Vvr÷©@9в¾±_Ÿ©ÏÔgê3õ™ýÙ5SÍT3ÕL5SÍ A/òæ]Œ¤Ãv7R³yšð³ Î.¸VÕDt :–A^CÍT3—úL}¦½Fù;`¯Ñ n =“žIϤgÒ3é™ôÌt½]p¡× ²„j ÀaŠíÑ7AŸ©ÏÔgê3õ™úL}¦>³üس_é™ôÌØÒ_·-.Ç=—1b°FX£>‡ÙÜln67››ÍÍæfs³¹ÙÜÕ•½oÁ *>SŸ©ÏÔgê3õ™úL}¦>SŸ©Ï¬ž@ão ÜU+Få€=µìdí¥ê¢ò\÷k™ï¥Ãjvë—uLBK¨ÍOÙWI5¢Q¨FT#ªÕˆjD5¢Q¨F?Ûâ¦QíRÕKüR¨FT£ÅÝ}2¾2››ÍÍæfs³¹ÙÜln67››ÍÍæfs³y³¨V6wDÛmBhÕ‡Ÿ›‹¨.¢ºˆ•Bó}l6!Ø„PCÔL5SÍT3]‘Þ)·úÌãoIð€x@< ˆÄâñ€x@< ˆÔydúöl:͵ÈB¥Ž¼0fs³ù³jÉ&cS{¯‰ßöfvIƒvÁUë7ìiÿ-°‹Ä µÐ l‚M6!,ƒGíÓßK$¹åk^%Ë^ùÃûCtέÇ~dâñ€x@< ˆÄâÑ3y@< ˆ˜ _q“ªÙÜln67››ÍÍæfs³¹ÙÜln67››ÍÍæfs³ùânu9Î)‹ñ•Í®ûïCE¥¸Ôú­¸”LfËú9Œ>>È€‚C#‡å€êZi i‹šy!mÑ —¶¶¶¶(ïùf›wÝz åŸjD5rèÝC* †g—í\Ÿ¯97?Íz“P Yᯜìdí]“lÑbäkîkîkîk^oZ\pA !JWK¹"¶8ßü´f-+žIϤgÒ3é™/N˜˜€L@&  ¨bNÍT3ÕL5SÍT3c7ŽÝtwÒÝÉ€}[,¿u«·bß¹“;æ—Òfì5 V¬ÑÑù‘¡<o¦7Ó×¼Zñ5÷5¯õ¸!VÍT3ÕL5³ý+ Q¨FT£.ìãÐÐËäNr'¹“ÜIî$w2 Œª4fs³¹ÙÜln6ïÿõT3ÕL5SÍT3ÕÌ k lï³££zAPpgrKé™ôLz&=“žIϤgÒ3ëO ¹0¼ÜxªÏÔg†$™ÎPúL}¦>SŸ©ÏÔgê3õ™úLö~ƒÜ'Ògê3õ™úL}¦>SŸ©ÏÔgê3õ™åN QãÁ= ÈçkÔï —Ûn[4Ê‹[6nU—Bùæ|s¾ùoÝGØí谣ÎŽ`â ÓŽi_††T5SÍT3ÕL{¶ï@­ ò€x@< ˆíº%‰â_Ö™n°£#øl=¶éÛ³é4ÿXK¸“ÜÉþ-ÜöíâNr'§ŒÝ7wßÜ}s÷ÍÝ7wß¼ˆè3_üM0™€l)Ü /»‰ÖÆ­F+ºY?ýËòKùâ“Þr~›\Ž{Æð™øL|fŸåkîkîkîkÞþ`°FX#¬Öktå盇h9 9 9 9 yóšŠè@t :ö‰Õ*LŽiÇ´cÚ1í˜vä0¦}ÿ ô!‡ùæ•:urúÃÎáÖoÑqRž¥U 0í˜vL;¦ÓŽiÇ´6¹%‚CÁ¡àPp(¸Æ° aY´â.¢vù0ÒÒÒÒ®HK¨Ñ3C_JDGÚD¡àPpûý4w’;i\ñR3ÕL53R!ÃÈáü ð€’Mfs³¹ÙÜl^>5SͬIÖ$žÙÜln67›ïªÄa[ÚBÍT3ÕL5SÍì¯Ûª™j¦š©fª™jfõŽ wËNÊNÊNÊNÊNÊNÊNÊNžzl”ži67››ÍÍæfs³¹Ù¼è'B§ÞÜtwòø£öúL}¦>SŸ©ÏÔgê3õ™úÌý_Á+ºvÁJPþ—:×A™€L@& Û°mÃn”O53ÔÐ%° ¡ÿdàîdm†(/Ç|xÿ1o#swÀO•7Ó›iG‡&  Èd2é3£¨„j-q[ÍT3ÕL5SÍlûÿ›õS¨©®ÖWEþ†8S…5Âa°FX#¬Ök„5ºçŽáøÊln6/Þ ÎEÔ]‹¸£BÑ/5SÍT3ß=¤ðT>Zmh‰XX#¬Ök„5Âaøæ|s¾9ßœoÎ7?O¥gÒ3é™ôÌö¯ ¶Zk´\Ü­J7PÍT3ÕL5SÍì?dª™j¦š©fª™jf³=Ìnn«»‰5öÖŽŽòat. Âa°FX£:Rue¯‘šY+‹ôÌØ‘³¹ÙÜln67››ÍÍæ©aBè5pEÚiW¤]‘vEÚiW¤]‘vE:ï’lÜú1öÆó€x@< ¨¿Š¥fª™j¦š©fª™×ó°´Å7ç›/—øÌ#Pò5X£î#¸úL}¦>SŸ©ÏÔgê3»:‰Ð&U|&>Ÿ‰ÏÄgâ3ñ™øÌF&2™}Ú.¾Ågâ3ñ™øL|&>Ÿ‰ÏÄgâ3 È< ˆÄâñ€x@õ'Peh²7k„5ŠÀˆ•üí¶ÅÎËzüB¶§Ýžvû3«â‰Ï < ·z6‘š©fª™jf1³?³öTä€ä€ÌæAUŸ©Ï\†ð+5SÍT3ÕÌ. ©î‡™ÍÍæ¶#äP«nê3õ™úÌF¥fòÍÃ!Q5SÍT3ÕÌHhk„5ÂA‰ $Âgâ3ñ™å·Á= Š»”7oü0ÔÌ㿞ö…GÖâ¦DTÒ˜¾=›Nóuþ·DÖ>øšÇš˜ ¹7Ó›iãÖ.`ÐUŒ¤zCÒJgckøV”>sï6ã`ö™Íí5²×È^#{ì5²×È^£B®?ûÕgZ©Ïl /ôLzæOQ`;0³ÊNø÷€ÜŠØDòæòæj¦šúÆÊ›×žŠì¤ìd´/¼ÿï?A´¤‚#=¾9ßœoÎ7oÿ |Í}Í}Í}ÍmBØ}(í”vJ; ®'؃‚CÁ¡àPp(8 ‡‚CÁ¹î÷ܘ¾ìä‹=y@< ˆÔxlš©fª™j¦š©fOÀEÔärÜóX6 NÚBÚ¢Ï×SŸ©ÏÔgê3õ™úL}æênb³kè5Àa°FX#¬Ök„5Âa°FX#yó«ùmÃÞÿ‘ØRxÚ†¡63x3½™E+Ïâñ€x@< ˆTþ lÃnµˆvtØÑaG‡vt¤ƒ£ì¤ìäñÇF1íX#¬Q¤™Ðgê3õ™úL}¦>óÓ²½D¥áñ€x@< ˆÄ⥷tÌæ}#üáP„þuõ!ÙÂ?­äëRUõ‰ÍŸÅ(™K&³ÆL|&>ŸÙsáOèÄäNr'˦-rf:îÂr'¹“& ÐN=lI#:ÔL5SÍT3ÕÌþꘚ©fª™j¦š©fVO vþ:Ž‚J¨I¨ øõDÁ¡àPp(8 ‡‚CÁ¡àö¾Òàs×Ã[¢7ÍÒû„¢ãO™…M@&  Èd2™€L@& Ði­øèavs³Hk‰ ¨ö Ó!Q¨úÄʵýÿ²î‚€ ÍoRöFD@r@r@r@r@iÎvÀ×ÀETQ]DuÕETQ]DuÕEÔ|$3››ÍÍæyx¡P7N65~Lˆíß•?ˆJ;¢Ñè@t :ˆD¢ãY×eìè}:y@< ˆÄâñ€x@< HùwA`_óäNr'¹“ÜÉ8,®fª™®®¸ºR§*®>¼ÿ¨fª™»ÊX[M*¡Ö¸Y†5Âa°FX#¬Ök„5Âa°FX£f?pÄ)=¬Ök„5Âa°FX#¬ÖkÛí‚ =”×›8x@< ˆÄâñ€x@< ˆÄ2››Íw«Ëq~ e|%m!m!m!m!mÑ_+P3ÕL5SÍT3ÕÌØZh µlÏAè„3dJë3kOEvRvRÍ ²+e0›ÔL5³ÂrÅJÞ\ŸÙª›jf çýRè™ôLz&=“žIϤgÒ3陥n»œßöâ™ÍÍæßNuúIªkÄâñ€ÜåÑ3y@< ®SÓu‚ž9©™j¦š©fª™Ûw Vé™ôLz&=ó%òï|s¾9ßœoÎ7ç›ë3õ™úL}¦>³Ü"Y7T™âj¦š©fª™j¦šUï“|WSìS!”¾:Õ#’7ïú¢â3ñ™øÌG¶ûæÈNÊNÊN.¯Âã*Ö¨ùn`°FX#¬Öktå7››Í{14››ÍÍæfsû3åÍ·3÷ÉÊ?>Ÿ‰ÏÄgâ3ñ™X#¬Ök„5ÂaZsÁa(·5”a°F鉾yc‡>SŸ©ÏÔgê3õ™úL}æ|Yýï§í®ÈPÄ×gê3õ™úL}¦>SŸ©ÏÔg†ú#dmz&=SÞ<ªëã3ñ™øÌã¾5²“²“²“²“²“²“²“Ý[ô™úL}¦>³|Í‚p¤Js1Nó.üSÖ‰FþMz\ñfz3½™Ù8æÇ‚F#‡ówÀ¥*›]cmˆí1¶Ç¤¢ñp'ÕLî$w2üm@#‡]]‰c±T£Èàé‚ÀC2îñvØRhKa$‰ùTí»P«øPÚ“Él¹¸[]Ž7Å¢²éÛ³a ¬Ök„5Âa°FX£Ül¢u•CJû1:}¦>SŸ©ÏÔgê3õ™úL}æÁ•EúL}æ€>5¦=Ø}mçÝô8¦´¿ø,ìÍôfn“6Þü‘r7ÞLo¦7s7±îòp¡Ï¤j­fµTшŽÝ¼«ÏÜ{^‘íñ5÷5÷5÷5oÿ ¸“ÜIî$w’;ÉäNr'¹“ÜIi‹£–öÈNÊNn? ®®ìk]vt<_ý3››ÍÍæfs³¹ÙÜln67››ÍÍæfó‹íŽÈÅ&t|f–ʈB<(8\± k„5Âa°F'ÐùõT3ÕL5SÍT3ÕÌPðÙln6w(ÜrÈ= šˆ5Â~¯k„5Âa°FX#¬Ök„5Âa°FUOèRUNB}?1Sïä€ä€ wˆ7oÎ7ç›óÍùæ|s¾ùênâ¾yè58r3¦ÓŽi×ïð· 5¡à/}†Ð3%V ‡‚›}êöç¶êR4«H5¢Q¨FT#ªÕˆjTþ ¸“-Áçð$‹F#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0¥ÒNi§´SÚ)í”vJ;¥ý”ü¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJûÞ·@Þ\Þ¼Ö U×ø¥ØÓ •[16ë§çÝð°×(ÔÔÙkäÐü7jD5¢Q¨FT#ªÕˆjD5¢ÕÜä#9ÚRè©3í1ßÇvõáýÇœc.þ§?ý–„ ÈäÍ4™€L@&  Èd2E“Æ^¾9ßüôIVªWªWª7¨BPšÁ–èE¬ÖÈ¥*—ªÒ_š©f.C¾Š>SŸ©ÏÔgÚ³s»Ü¶8þšßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍ›ýÀ¹T¯T¯Tï2(bo ŽÀîŠMæ]Žy@< þßœoÎ7W3ÕL5ó:b†ðÍùæ|s¾9ßœoîꊫ+Ù¯ ¹JUHH(Ú!ܺ[Ÿ¾FÉü[2™-µÃ6X#¬Ök„5Âa°FX#¬Ök„5•q×Ðà8}{6±m’Äâñ€x@< ˆôÌSz˜vL;¦ÓnfW 9È…VL;¦ÓŽiÇ´cÚ1íͪS2Æa°FX#¬Ök„5Âa°FÿîX£ðñi}ó½i_Tÿ˽¿¾ Œ–‹Õ|r?/V’¼yHÆ-ÿ#B¾Ì6Ÿç›QñM®—³ÇÇÉjöe~9¾^¯’Åêëüfü—ÀôþéÔ6á’ÿ•Ûåú)ÿWçÿÓÃìn>yœÿ?_ç«ëyñ—÷ÿjú'yLÒ?Éf~;ßdÛåøáñË?¾>&ë/óMùß!û×=&³dq=ÉþœóU2Êþ£¶ôOóÛõf^ÿ/š·&éÙôÑüßé¿÷âöûxôø0»žOf·é|h‡Köo±XåO5ûœ¥ÿÍhû6ë»Íüñq±^Mn_æ«ìÿu9¾X¬Æ &(ý#o’ú_ÚþŠ¿ü½Q›ýy6ód³˜ÿë|²ýÇXþÏõÙÃû°º]ïÿsÜýS ü'äÿ´öÿ˶_´å|v3ßì¿¡çt›>±Éãâ¦ÿ8Ïߦïâw¾ÿà®ÓÂé?þÚÃÜ>¹íÿ"þèÏ?öwoßÄ4ö3߬fËÉÝföp¿¸=n®/Ç_7Ëÿm¹¾[Ÿýßwÿûx´}ßÊŸÖÙ_Ó?ìÞ3xÍGû¬WpûÔæ«›Î·íÿUüÿ”þ^«Ÿèêë—OÙ?íÑúvÿ/N®Ùq½¥¿ÛÉâærœý¶²ù‡Vùèx6 ¹ðùC2ÏþGÓ7?.Þ¼‰Rt‡ÞÖHmjÖÝÔ]Yòêp¨°¤µ³x]Û¿˜èöaý¸È`ñä&yAX¤­ïÓ"¹_¬&Yå§wûs?\§ƒÄa*û‘ŠßzúI²ßÈåxóu™þ‰ò\ZïÒ¸ÜMVH‹ÿê›Ù²õÑØúâ-ÚÛü¿æåøoYE(Êoúfÿs ª„“þ$Ï~²¯JýÓòíq™~›î²BŸ}”÷_…I=-n’û´Ò½yóï@-´?éÛ·¿ø_o¶ßÍξo÷ôî¯ûÿ9‘¡8Ù”—àÛÙ—Åòûåøq¶zL¿Ä›Åí¸ø_µù"«ÍW?mþ|^ßÍç£ÿïb5K?ÄÛ¿Ú²Öz–¨îÛô_·ÏjÚç¿B;—Yÿßg¯Mù‡ÿ°ú×ùc’½š£ž?¬7I¯?½hÞÆ\óYµªÕ Ïëô[™µéû2Ú5{ŃÈGG;|¿ë Ûß´]éîožó>üGL?¶Ë¯_V“¢h¤¿¨à­Æ?´>¯ùùEäUjKÑýçÙj>ú—År¹˜}y<q7>_oÿúË/£I_ÁÑ?îÓÿZ·þKúoö¼,V׋Õ*ý²þ<úo¿ŸÞþõâí_û±äñ¶±Çʼnæ/tïŸÁEÏOÛÑãooÞÄJÊÏ£«ë³gÿ0Ëßø?ý·³Ñûõ·Ñß~}÷×ãÿmš9ÊoOøCݯWóßFç“ô¿øäoû[öþöâÅ >,'ŪhŒ‰Ùï¢ÝcïMHÅtu9ž¦þöholúµõÃÊþ“¶î¬e˜¤íÌõçU:+¥ÿÙZ°¯¨—žL}²È ÷¢Dï¿|üŸ?þýŸÿ¯ôû¢ ÙýWÌþëlk~ò}™þwNÛÜåâºxŸÿë|~3JÖ£/éÓHÿ«ù÷ôoÝdMÚb3Ï><ÿÇèï£í7ôŸ×ÉýèÃ?ÿ=íÓ¹ö1rWßÓ¨üDÍ–ùä‘,Ò¿2š­nF׳UZÏ—£ïë¯é¿åìú>ûÕÿÝGwëÙòñlôßÒ¿šÎŸ·Åø9[fÿÞi·˜þ‡ìþ=ÎFÿc‘v—£§§§³âϳý¤Ÿ]¯¿äæü¿ÂÍ<jÓÇ®‡Tô7͇”wGÅ7a9Kÿ”iG7ûš¬Ç£OëMÖ3.ç·é_z\/éóJ»Ùò‘¬¶}¼ke~yé–éavs“6ÖÛ·oÛ}üÒ£ûèƒÖ_Æü·Ôx?­—éØõßÿÛÿûý¿ÿ—ÿó?½p)ø[Üxr‡š‡þO«ùÃúûc6^öŸýªF7û® øÕ۾雱ۭS¼3‡þ›÷iCïÅÿûíÏo§?§æÿÙ¯¿œÖewýƒ?âCñoìG?Ü«[èY±ú?~ÿûýÿý§?Fþë«üÚãc6|íJêó_á¡ó¯UæçýþzWž]P”å÷éP¿Z¥_†ÑûÙ2›wGÿÛ/9ÿK¦;ýï¯Þr_|ÚœP(5­5oÞ¼Éþϋ֚#g}dF¹~4Y¬nÒn+ý%οĪsc4ûÿ¤z@Úè†Ö:ž÷_.°…êÍÙ›7/÷iøAÿqýK*ÞlfOKÿÀ /­þÿ5 ‚Êkü¾þû:’²Ñ>µì^½tþÿ%ï1Ó‡/ÇÉækÃåÜ1 á÷¸"ùûÙ*u«Ñÿ˜-¿þÉÿG©-ð¬ÿÎÿ+ÔΖ®¶›—s“)u~r¡10ÿ›ÇbdÊꆓ†t~P š¾aÏ’»?Í®?ßmÖ_W7©!¿\§òðãbù¯-Û­‹ ë9Ѧøÿ´ÊT„ªWüõ/Ó7}šÅç$Ï+h½û¿tÖ,JÖ§Tñú\ªp¹ùÙ6&ãèJIKîgO3Ùª"X6Jæß’Él¹¸[]Ž7‹»ûd|‚A€ @ Ì-ä2 l¬2V«ŒUhüî‡a¬ÚÇ"ESUÍGn¼*^¯ŠWÅ«âUñªxU¼jí ØÈ­âVÕ¸n¬ê¹UÆ*c•±ÊXe¬2V«ŒUÆ*àî蜫A€ @ ‚A€ À2!BW¥«ÒUéªtUº*]•®JW¥«ÒUéªáCŠ6VÕÁÝ*w«Ò¼GxSÑ6eXH-VV4» nÕÞó–DUUUUÕz}¨r•+áê߉U‰Õ½1^UUUUUUõôm @ñy-—è «UÈ*d² Y…¬BV¥k.ÇïzÍ!­búöl:ÍûÌOzU½ª^õn²œßöÿEr«ž£ÉVÉVÉVQ( €@ PZ±±ÊXU2!h”XE¬"V«"—onû‘‘eb±ŠXE¬"V«ˆUÄ*b±ŠXE¬"VÍ'²UU³Š£Æž ±ŠXE¬"V«RʯºŸ·íø˜’f¶´ÒÒJK+ÉxöØ`@³QOì°ÀÙª>~º^uý[U0#-§=²U­NÔΪ@s^MéªÜ×í‚‘Ü¡ Í1 €àlÅ(“ªªªªªªªªªªæhÜadÛ¨ÓUûí;"̤WÕ«êUõªzU½ª^u¿D\9›C“[Å­Zö²·l¹ôªzU½ª^U¯ªWÕ«êUƒ•ð±Ý" ¾Ñ#‰U‰U‰U‰U‰U‰Õ]%|Å/.€@ P(  ö:¯ÓÛ®ÒWâh¡˜ÜªðÏÌåêÞ÷9ñªxU¼*^Õ€R4 =UÈ*›‹w€®z~1ÄýòVC?z˜ÝÜ,Vw“ÍÂÖêzA.6Ù¿Ÿo>?Þ/6óÑï³ä~ö4ûþ"ÿŒUƪö9 €@ 8ÿùb:=Óìé»E@|³~zÞ9UUUUUUUUµUªÔšªzú>Û¡Ì37VÝXµ´ÒÕC¨±Š±ÊXe¬2V«J(˜Ì¿%“Ùrq·*Ó‚«tÕ86M DMÙèUUUUUUUV–ȪÀç£Ì嫈UÄ*b±ŠXE¬ÚZÅÆªõowÙ©sÄñh5´ZÍ`¨ªû² Y…¬BV!«¶OÀÙŠfyxê° ¸zn«—,­´´ÒÒÊCß›Q`XÑ«êUõªzU½ª^õ$…\¯ªW- 5K+-­Œ£jÙ§Ö1 ¾8§ªªªªªŽ9äPItÁU,­l~í¬ºb°X,w«†2UUUUUUUUUU5÷˜=%V%V[¾ €Ò0N°‡ôªzU½ª^U¯ªWÕ«veOîlE¨` ¬¬Ä(¥AÞ ½ª^U¯ªWÕ«êUõªzÕ`%´]ÅvÛUlW©»n‘ýéN¬¥gÆÇ À±±ÊXe¬2V«ŒUÆ*cUí tnPra¥/3ÊÄЫêUõªzU½ª^U¯ªWÕ«.6óÑï³ä~ö4ûž»?ÎVXZ¹?˜°v?ŒÐ»a¬2V«ŒUÆ*c•±ÊXe¬2V«vï@§ä€[n¸phxpd}ï ©ªÍbkuõ<Ü­jŸÉÝ,RZ·÷’üÊW«ü|1ž[ܬ5VKH”_]½ª^µl@BΘ^U¯ZôRîV¹[Õí—XZÙwêPUUUUÕÝ*w«Ü­*½Gw«ˆUĪÉl¹¸[]ŽsÜÊŠô„?Û‘,'àY×YdP_–M @U•X¯:p«¸UÜ*n·Š[Å­R;SUUUUUUUUUÕ”h‰Ø³=N~«ˆUÄ*b±ŠXE¬2V«ŒUÆ*c•±ÊXõi9Ÿdµ 6]6"îGÂÐjh5´Z ­†VC«¡ÕÐjh5´Z ­îœ½ÅÙUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬êméf77‹ÕÝÄ…•$êÀ^SánUó@«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­Î7ñŸ[ÞÅ}RUUUUUUUUUUÍi‡2™´Y?õJ/•VÇr~Ûÿ–< €à°àoUú¼jÃXe¬hZ‘ÞtUº*]•@ P( €sÀé1äËñ»ç€s-¬¨ ïç›Ï÷RRRRR5› 1>²B³då©t¼9Ī֣“àVq«¸UÜ*n·Š[Å­âVq«¸Uܪ–'í‚VC«¡ÕÐêzi ĹUܪ«éÛ³é4wšNl¨¹UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·ê¤üŒ±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUµž°Æ¢Ä"çp¸ \®W«ÀUèªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«îwŃ,4½xû×!b—éŸÍ~ÕÀØÂ¨Û‘cÛw(oúFÉü[2™-w+ €@ ÐhO Ç·µÕ–”gr® ïvVíýÄÊÛ3¡~„[Å­Ò«r«¸UÜ*n·Š[Å­"V«ˆUÄ*b±ŠXµ~ŠX=M¯°å¬Í’ŒUÆê²×‰±Ôb"Õ†À8 ZBX, €À`°X, €À`°X,€“OÚÉVE¶#e竃’!ñÛzµ€Ä+[%rÔÊã›ïç›Ï÷‹Í|ôû,¹Ÿ=;ÿHQ‰Õ#m>7V‹,êáÏÆP_\¯ªWUU=dŽÈVí×¥Mxjª8†Èß;"«Uެï€àüâEzc•±ŠXE¬Š;0VYYQ¯R¯ÝàUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxÕ˜UÝL¬b¬þ|1ž1Vë]D‰gÃUJ ìhw±ÊXe¬~ŽíA:ê…«ÀUTUUUUUU¡Õ©>¾XXXXéÉ WW/Jç¡(UUUUUUUUuHêNUUUUUUUUUUõ²X, €À`Œß=¤.H¸n¿ À¥xU) €Ð^rcµ3áçÆjH²`½ï MzU½ª^U¯ªWÕ«êUõªÁJøŠ›‰m´ Ð&@›udWŽ5Q'é­ªªªªªªªª9婪ªªªªªªªªª­Õ¶VÛZÝ´%­W³^-¬'ïžKèĦ¥•ù3s ÐÒÊÚG @ @ `×_ €Ð5uXT½Ív¯Špµpµpµpµpµpµ±ÊXe¬2V-—GÆ@0 €À`0—«]®Þõ¥îέÚk‘VöÜ»j«Eœ"V«ˆUÄ*bÕnÖ´¨Ùm[ým47ia0 `¬2V«ŒUÆ*cU½+d÷®ýªö«Ú¯zˆŽå@‘UÈ*d² Y…¬BV!«UÈ*d² YÕy1hëjEÏA«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXUß7 ­†Vµ„Z ­†VC«¡ÕÐjh5´Z ­†VC«¡Õå8涇±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUA–/²ðh9¿M.û~<,­Ü{´–V6ˆkÕópb͉µdÜcݪªª–?•Ðû¢ªªªù°´R¯ÚjîÙK$((((((((((((((¸ß[¼þ-é”,‰UŒÕÐ,I¬ aËÂÕÂÕÂÕ_\¥p|—)))))))))))))€“Œlc•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«Bäâí_‡øŠÑUéªtUº*]•®JW¥«ÒUéªtUº*]•®JWo>?Þ/6óÑï³ä~ö4ûþ#Ü€ÛGÉü[2™-w«r±ŠXõóÅtzv~ñ"¿gÇ€B©ÚÒq{¯ª¶²•Q»Ò&@›m´ 08+h ŽAUm>"·öžG]߬Ÿ‚{­Ów©X#ùZ^aÙè`0€âxÅ €àPk’€ŒUÆ*c•±ÊXµ³»Ë濃ÛĪùn¬ªÌò]/úâêUõªzU½j¯Y¶J¶J¶J¶*’ÍЫ¶¿#=dGUUUUUUUU5= äVCˆ7àŠXE¬"V«ˆUCÚCªªªªªªªªªªz,))[%[ÕâÐü¬‚A€ @ xÒ¶Æ*c•±ÊXe¬2Vw•P Ðv•Zci¿ªýªö«æª €À`°âôUC”³]%T0«ŽJbµŠ`VqÔØS!V«ˆUÄ*b±ŠX…À`0  [þê k€Ü*n·Š[åà®+¢«î~ E<üÍ] P €À`0€`%|E|–À`°X,  ¸§Ácë@­íVVXYaeÅÑ¿'¼*^¯ŠWÅ«âUñªÄ*b±ŠXE¬"V«ˆUĪ&—´Y?Ť»ÆÕ°R”®®v ¨x쬲³ªV ¤¤¤¤¤¤êMâ ›w¤¤¤¤¤¤¤¤¤ö&ï\Ù%óoÉd¶\Ü­.Ç›E>º\M¬r¹:^1Ye_=ÄìÄZߢƒWÅ«âUñªxU½*^¯ŠWÅ«âUñªxU¼*^¯ŠW-•l €À`0 `±™~Ÿ%÷³§Ù÷ÜJzb8²åÒ«êUõªzU½ª^U¯ªWÕ«êUõª%à°kBÀ2€À`0 €H³|—¶«ì~ EMx?ß|~¼7V«Â;gd«d«d«d«d«d«d«èªtUº*]•®JW¥«ÒUéªtUº*]µ¥ÒU÷Z¤lƒqt¿ž±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«æ“¬+´ ¸@²pr2ëú>ÂUà*p¸ \®W¡«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]µ¾Kˆ®Úü.œ ¹[Zii¥¥•‡N;«ö ­È Õ ›,/7VÝX þ¬:ÉZ—«û:Ç™¿|Ð^.þt>q €@ €« ©¹«ªªªªªªªªªjO´ÕÐf77‹ÕÝd³`°X,€ý*à`¯ª.ç·ý×ÈÚ°÷³ ù@VVVVVVVVVVVVVVVVVV¸UÜ*n·Š[Õx=ÖAq«¸U¡YrŸ—XE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXµ~Ф›úKÌ!V«®¬¬(xàÃK¹Zêö‘aájájáêC2žUûuÉΪ®£¦ªªªªªªªVV i©ªªªªªªªªªê±2‰E@úQ.f°²bïéXYÑ| VVTÏÃ*àò¯ªªªåH@«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡Õë߆î tÖ‰UÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*bUl³AÞ-‡²µöØðóÅtzv~‘ÇÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXuýYbUbµŒ!† ‰U‰ÕBLIu„Db5=µ¾7¾}D…Ôò~¾ùüx¿ØÌG¿Ï’ûÙÓìû‹è0–VÁ!¯jr9~÷àU­¿îV…2ö‡7åj4€»‰ë±y¹ê ¥úúŽªªªªªªªáYR¯ªW]öºÿB ´E9½ª^Õ1 âp Xg^J#r‚%nu¨ªªªªªªžC«ãªú¼=]•®ÚÔKOÖÜr È1  xT°NÑpUvVÙYegÕ¡Ú„VC«Ô0·Š[Å­zEGB¯ªWÕ«êUõªÛ'€¬BV!«Â]èá,HÜß,lWÙ=Uç€#Ÿºê¾"Rýä"¾iõ½b¬2V£êM€?Ì:Æ*c•±ÊXíE‹ŠŠŠŠ¦ËJl­XVC«ƒ+íUÆ*c•±ÊX5¤“©ªªªªªªªªªªÇ.K=Ìnn«»  fJHHHÔv§÷Z쥪†@E½ª^U¯ªWÕ«Æm‚FÚÁΪPÁ”Ø6åÐjh5´Úݪö;`Pó™àUñªxU¼*^¯ZÆ]È [í7ÝXu¸²ñr«ˆUÄ*b±j|…WÅ«b0 0XWèÂJßì1 €À`°X, Ö-X·`Ý‚õC’Œ    `Ù36^†2î(°"°b`ñ¼â¡(Æ*c•±ÊXe¬2V«ŒUÆjí t¦Àl­Ö«ÚZ¯˜ÂÕÂÕѰ‹»UîV]÷½3V«ŒUÆ*cuHABUUUUUUUUUU³}Oˆ÷ðF)))))))c•±ÊXe¬2V«ŒUŸ–óIV zݹ± 0jŽÚh`ãå° 0ð[éÉ«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬ÊüãI,§^å°YÜÝ'—ãwýTœQ2ÿ–LfËÅÝêrœÿKÇöØp.[%[LˆXYae…•VVXYae…•VVXYaeÅb3ý>KîgO³ï¹ë;ôp W«”{\-­|yЋ[Å­âVq«¸UÜ*n·Š[•k¥ãf½šõjÖ«e_†÷óÍçÇ{ @I8î~!gÝXe¬2V«ŒUÆ*c•±ÊXe¬*±Kd² Y…¬BV!«UÈ*d²Š®JW ¯t²]ÅvÛUlW±]EbÕvÆ*c•±ÊXe¬2V«ŒUÆ*c•±jPK=Ä«îµHÓ½m¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUƪÎ,Û¨°±ª†hTÇ­#Ùiáê|ù²€€€€€€€€€€€€ÀI#·±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUß»ÄêÆjïS²Ðjhuy¤'ô{²²ÂÊ ++¬¬°²ÂÊ ++d«d«d«d«d«d«d«d«d«d«d«d«d«d«êÞlœŠùtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«v'¿ŽÌ W W W W W W W W W W W W W W WªÍÖ Wn9¿M„«_DÀ`0 €À`0 €h—'ïÐäVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[5ÌM³‹·âöBúB:±¨Ì5×4ÓuC‡ç«ŒUÆ*c5àý©ª‘‡røæ§ªªªªªªªªšŒ¯œX+JÁëŠ6VycÛ«êUýùb:=;¿x]ÂåêJQß´µºùxlWÙ{Õ't6£*0ò7´†Úò' ­†VëU‹w@¯ª¨3/åIcUõôKátUºjÌŽêÝ PŒU‡¢<Žíw{ƪݯ&ôn¨ªªªªªªö1 €ØUBº*]•®šLfËÅÝJ¸Z¸º,ŒÆ*c•±jû f"V«TUUUUUUezðªxU¸ \®ò9ÒL£è©ªªªªªªªªªªÀJ*‚¯ˆUÄ*b±ŠXE¬"Víצ$±Ú¹Ú&ÀÐtmgU^VÊ cÇìµýûòûRÄ*b±ŠXE¬"V«ˆUãw©^®‡‡:'ëÕö󶪪ªªªªªªên‰±ÊX¸CÝïc•±ÊXe¬2V«ŒUÆ*cµö:»jn·Š[Å­âVq«B_Íòã!°÷xˆUÄ*bUÄàNfŸ–Åb €À`0 °³ilÜýª‰áH+€À`0 €Xlæ£ßgÉýìiö=ÏÕ ­ŽVã†2õªzU½ª^U¯ªWÕ«êUõªzU½êî@V!«UȪ}‚l9¿M.ûúÇxU¼j !†Ô†ÚžÅÈ¢?¸ \®W«ÀUêS‡+׿Äu"gr7‹ô›Ò»‰ ]ü”XÍßÅW\Í­âVq«¸UÜ*n·Š[Å­âVq«¸Ua]„®ZU×íèu ›[Å­âV¥"ƒànqJŒRo<$ÛU"˜„ËÕ¡) Y…¬BV!«U}ZA|^7Vi;d² Y…¬BV!«Uå8†é¡P2líL¯ªWÍd„°K ‚A€ @ wnl­à*VVtwKGþrˆUÄ*b•k‡$h5´Z ­¶²¢>¬tZ¯C¦O%èUõªzU½ª^uHóLUUUUUUUUUUO:ëde…•ù°´Ò‚õÖ×Z"ì]®n  ½ðˆ®JW½²µºh°6† 3 ¬¬¬¬¬¬¬¬¬¬¬¬¬¬tvX,ÀÙtšK5ÅÝfÒOËa¬2V«w €P¼,€ó‹!¾­pUUUUUUÕóŸ/¦Ó3UuOß-Rk›õÓó.ɨªªªªªªªª2 ªzº88è%(((xu³hï ¹Ø| Ü*n·Š[±»]Xia{˜9ªªªªªªªªj2¦«ÒUéªtU'Ö–K‡+‚U)É«ˆU¶VÛZmku=±fkõkⳌUÆ*c•±ÊXÝ>›C#‹M€y¬E¯ªWÕ«6 Ä+F½ôªzU½ª^U¯ªWµ²" ~õÞqcku°hXdP‡S}ÂÍw½ª^U¯ªWÕ«êUõªzÕ—ìµÄgd²J¸ÚÒJ À «KUU‹€B :°ìµQ‹®JWu Ì¿%“Ùrq·ºow÷b€%&ã UÀÍt¼¥•WW:\épå!sdø¬2V«ŒUÆ*c•±ÊXe¬2V›É$[«m­Žj²ù%ÔUOߺ˜¹Ä*b±jOÉ&V«ˆUĪ^ßG«€›ßhË¥ªªªªªªªª)dªªªªªªªªªªj.Œ¡èÉVÉVÉVÉVÉVÉVUQ 6Vÿøº}\\oÖß“ù—ÇüÃ5´¹}älp~ñæÍô癞ýòë‹üyüòÿúæì|/íT½£Æ¨ó¶ªw´õ¬^…û÷ŽzGƒÙMu´Œdí:‹ ä[ÿ|zÊ·þuÙ)ï¨w4c¿}ë}ë}ëçËØ®Š­ˆEPÔQuTm½æúÀò†ˆüIMW}¨£ê¨:ªŽFï1ОhOëÚé4>S'ab®7×›ëÍõ‘"¸žïÜ»¿{H»ñ0¸tH ¡áÓð1%å/Î\o®¤ò3ÈQMYUGÕQu´¾ ™>J¥ÒGé£Ý7{ùõÛçC¥¦ÙÍtΨ´žcsí²"õwÉ\o®7×oƒu|&>Ÿ‰ÏÄgÚﻟwRUGÕQuTUG{ŒìæúæçâðŠ*ü(~?Úï’ m~ˆå™ä™ö[³Îw‚_ϯç×óëùõüúˆíÚœáøõüz~ýÞ;Ðcõ´¹Þ\o®7×·çuÜS…ÐÓGú¶šëÍõæzs½¹Þ\o®ícÁ=d8pøúQýèìS÷'„>Ú ¿ž_ÞaL¥ÒGé£ôÑe¦Ûü[8É(+"+"+"+"+"+"+²ºç«KÇWöæÙ›gož½yöæÙã\ü ʈ}”>J½63™™ÌLf&3Ós×l›‰“™bü(~?ŠÅâGñ£øÑQˆãP½ÇÔçú‡Çg{œƒÍh]8%óoÉd¶¬kÊ|&>Ÿ‰ÏÄgâ3ñ™Ž÷ô£-ޱÐ7ë§ç͆2w2wY¤.?)ŠqŽ—¤Aö&Óðiø4|> Ÿ†OçáÓðé£í¯áᘒƒ8v@ìÿ´Ü¾y.¼f„v@Øa}ô9;·ŽÜSG¥ÒGé£ôQú(}”>J¥ÒG«Ì%î ÷´Ï”›™ÌLf&3“™ÉÌdf23™™ÌLf&3S$ "»,»,»¼Í»Ø‡ßÒSò P(»N{¢=Ñžò…á—} ; Žbœ1ÎÛŠa¹e—e—e—_k'-Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™ 3!¤õ™™ÌLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌ´=Ìnn«» ¦¤ª‰î.GàÌòÁ`óªýˆê¨:ªŽ†*†:ªŽÖæíø`·£ÝŽv;Úíh·£ÝŽv;þv*ØÅn®`éÅ)™;™»¥~t|ūѩõ`J0%ê(¦S‚)Á”`J0%˜L ¦„Ê å…òB‡Ú›bß“}Oö=aó°y§é ê¨:ªŽª£ê¨:ºµ÷CØŸ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL/•ä=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhOµ'Ðqoýfì)±§Äž’½w@Vd¨o+ Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†Oçá?o6tûæ¥~3nß4žlµ¿Ý}¦uѱÆ~©‡W»ûÖûÖûÖûÖûÖ«£õ_Az#%ÿ²Œ’ù·ý»k¿¾9;¿Èíø?>v;îyÖÓDŸ7¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëÍLüz~= Ÿ†OçáÓðiø4üëÍúñûc2ÿò8„E!s—Ì>=çîŠì²ì²ì²ìrûWPq[±[Å¿†š=uTUGÕQu´zvéÔ߆æ÷´ü^àðqøØ¼úÉà^ºXäoÒn‡ý¨~T?ªÕêG#W¨S†½‹õ£Q\—_ϯç×óëùõüz~=¿~ûtú^v@4¾˜v@$ã+¹ÐûÛíË.gÓÇëíñŽzGe—[ï€oýî‘ØQ> ; pOÁ¯EÕÒ\ýñu5ú¸03™™âV”\¨\(~4TI˶Km>ý¨~´eÊéGõ£úÑü ’]¡áÓð÷wiÒGé£ôQú¨ÝŽv;Ú툵ÛÑnÇö×_?øy&y&s½<“<“<“<“bµ_Û7§ŸöJ3§ÒGé£ôQú(}”>J¥ÒGé£nß`œ1ÎgŒ36¯…í6 eîdî‚»º6‹»ûärüî!Ý.Å·¿7·ÁO<}NuW¤–a´7ïwRàðqø8|ßú€å+*º\†z_3“™ÉÌÔw4TGÕQuÔ»˜@˜wõ£úÑÓs½¹Þ\¯Žª£êhñô•Íõæzs½¹¾=¯4(yáúQý¨~T?ªÕêGË_Á »åBåBåBåBåBåBåBåBåBåBåBåBåBåBåBåBåBåB¿ÚS÷¸Ø|>väF^¡"üécËß‹æ‚y¡¼P^(/”Ê å…òBÒkõ£úQ7öÞŒóPZ¦Sb®Ç”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)©=cvöÒðiø4|~ûW€ÍÃæeoE„A\ÎoûŸ¦Àæ5_Ù3ÅæåoWuÇ\o®7×›ëÍõæzs½¹þyž¯~ô¥~3²"²"²"²"²"²"²"²"²"‘~ »/SúiúQýh¦mžx˜˜>º{:5sYYYYYYYYYYYYL ¦S‚)Á”`J0%˜LI¾*õ§°ZX±¸™•ÑëYEþ¦m½Å8cœë¯ ¿ábJ0%˜L ¦S‚)ù3õZŒ3Æã¬ÕêGõ£úQý¨~T?šïþˆj¸¿¾9;¿ÈùdŒó§çìŠ9R3Ç8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ƹþ+ áŸnQ õm¥áÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†½Y?~Læ_‡ˆÐð“Ù³r nƒG>ÅEÞ寫ÑÇ…wtûܴݽ-n6”O¢Ë{æ…òBÕQ^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å3ñ™ö¾†|&>Ó:¤Úã\ýRJ[š_ß,üz~}kÀä×§‡ÏpO¸§Q¾ûø 0·Õ¨Ü¹ËÞý¨~T?:~÷Œ{¬øÖêGÃGVÕQuTUGÛõQ?Z>“Z‘Œ«VGÕQuTUGO3ÕQuTUGÕQuÔ»ŸÂ©Íì¢|}Ñ©Fé§-ç·É¥:ªŽª£ê¨:ºû`DO­üƒ:ŠËŠÈŠÈŠÈŠÈŠÈŠÈŠÈŠÈŠÈŠuš‚ëŒòšv’…Õ-7ÄÜË:‹Q2ÿ–Lš{j¦g¿üú"ûYqø8|~üCŽ{šw B‡²¾õ¾õö¶Þ¹Ð’ö©<];ÉÌLr¡¡ï…|ý1:ƒ™©ñÔª¬-/t«NÅœŒ#8£aDs½o}ÍÜÌdf23™™Ülp³ÁÍ7Ülp³¡ý5|½E?ªÕêGõ£úQý¨~T?ªÕº!Ưç×óëùõr¡r¡r¡r¡r¡r¡r¡r¡r¡r¡r¡ö2ËÉÜÉÜÉÜÉܵƒÜCâ×óëùõüz~=¿ž_ϯç×óëùõüz~=¿žöįç×óëùõüz~=¿ž_ϯç×óëùõüúj6tCì¥úc;É"¿3;Éì$kþè:w¤þúæìübˆ…èî.› ؼCmàÕ_W£ 3“™ÉÌdf23™™:ÏC ³š™ÌLû÷0ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8óëùõüz~=¿ž_ϯ¿OÆWøÑlBvC¬P˼m·cdì.4~´õ ÎŒÛànƒ÷™QpO¸'u÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážv_CÜî)ªýDöÚ?Úl”ìÍÊäÐ|dD˜Øþ£,î ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Ü“b‘oî ÷„{rÓ¶z:¹7uTu‹q³¸»O.ÇïÒM¢?EÆÌœ-ŽòŒöfŽ ‡Ãçåd|…qÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒÍÃæaó°y”×Ýåg0îê¨:ªŽª£êèi–:ªŽª£ê¨:ªŽï@ÀOíoÁ=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'>Ÿ‰ÏÄgâ3ñ™øL寠ºm~=_.Ý]n‰èé~Ædöiû›=Ìnn«»‰:ªŽª£ê¨:zÔþ)u4bUæ«€qø8üp/†{Ú½{³íÈ :vg«Ä‹^Èn×øðÏÇ·Þ·>…zsô‘: Ÿ†Oç=ÑžhO´'Úí©ßµœßö?CE{¢=Ñžx¡±@/´ß9?uTUGÕQu´ÅÎèG_*§J¥ÒGé£ôQú(}”>J¥¶zÍWd\ô£úQý¨~T?ªÕêGõ£úQýhÎÂæú(™Ûï~}sv~‘÷è'‚ê²"²"²ËãwüúzÉÅá7?ÁY¡­˜–P.AUGÕQu´Í3u×íÀÛÕëÑGé£ôQú(}”>J¥ÒGé£ôQúèòoúÙíØÝV4Ÿ=%,ÝN²®òpÌõæzs½¹Þ\o®7×›ëÍõæzs½¹Þ\çÞÌLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdfÊë‡ÃÇáãðO;`¤Žª£ê¨:ªŽª£Ïá#Ýß—#ð£îŠt¿îÜÉ×ãðg»𱫫 8|¾{¡{ï@¥­æzs½¹Þ\o®7×›ë 4Q ±ã4•¹Þ\o®·ôys+}”>š}TJý»ˆao^…÷ÒGé£ôÑ-ðÖÕQuÔ>üCkª3Böà.ëêw½?p~ñæÍÄ\Ë…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…¶¾æzü(~?Šmÿ è£öáç›$øLÙS8l=å)Ððiø4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÇ53“™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™äB# —|}5.È×Ë…Ê×oÜîiŸÃùõÍÙùÅC…ý£»¯NÆâðqø8|>‡_³ðŽ`®ÕQuTUGÕQu4²ÕÚ\o®7ׇڄ×˸ٛxþEßÕBhO¯[·¼£ÞÑõõç«?¾®F×›õã÷ÇdþåS‚)Á”`J0%˜L‰]ãvŸvBNUGÕQuTUGß‚Íúéy7ÐÕQuTUGÕQutqwŸŒ¯hø4|~; Ýå3Ú?ÚÒ¶‹Œ˜~tëNǺr;rw«Ëq¾†g|ůç׿ˆWŒqÆ8cœ1ÎgŒ3Æ9ï"OA?ª}þg¢åGG^¯íß'»¬ÕêGõ£úQý¨~T?ZûÈ3ížÀŸ?£ðBy¡¼P^èäz¾\†Ê‘d»—ÃN²ì1×›ëÍõæzs½¹Þ\o®7×ÛQ¼ý1~?ê~½[ŒÏ…]:Í^Z-—ŠÕ‰`öÙ³Âá_¼yó#íŸò­÷­÷­÷­÷­wwy;º!憘b•NRÝ,ý4{J"Æš[Œåƒ©™ñüúy”Yè¡GâžpO¸'Üîé´EUGÕQuTUGŸ·—“>J¥ÒG+q£qƒO¾~¿©¨¼n~°é®!h˜L‰‡ÃÇáãðqøÛPæúçí\à3ÙSbO‰=%lOÉ+Îpüz~=¿ž_ϯç×óëùõüz~}[Ñt¿Þýú½·‚Ï4¼7ëÎ]ú”ƒ|]>.®Ý¾é‘¥6×›ëÍõæzs½¹Þ\o®7×›ëÍõÝ÷"ñ£øÑ¹if®7×»_ÿ|±¦1ºÅø[.‚’ù7s½¹Þ\o®7×›ëÍõæzs½¹þGºÅ-*ʯ— • • • • }͸'Ü}”>J¥ÒGé£ôQú(}”>Jóf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23åu‡¿+‡ÙD¾<“<“<“ Ÿ†OçáóB#¦ÅÉ{ühO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'ÚSÆ‚9‹£a1÷Bw¯‘{¡×óå‡ÃÇáãðqø8|>?`ÀŒ’ù·}oî×7gçCˆ3úQýhý ~T?ªÕêGõ£úQý¨~Ô.-´¿Có~?ŠÅâGñ£øQü(~?ŠÅâGñ£øQü(~?ŠÅÖ­æ^÷ÙÜ¥x~ñæÍÔ{ÐGé£ôQú(}”>J¥ÒGé£ôQú(}”>J¥ÒGé£ôQú(}ô´õ ê¨:ªŽª£ê¨:ÚølÖO½üFw—'ÙZš—ôfy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBiø4|> Ÿ†Oçá/îî“ñ• Ÿ†OçáÓðiø4|> Ÿ†OçáÇù.3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™¶•ð˜]Џ'ÜÓ(Ï×&³O§í\°K'Ø‘”Ú(™Ûßíò뛳ó‹!½ؖê?ŒÌ´~?nƒwïŸ=Ìnn«»‰Û7ÕƒÒêGõ£úQý¨~T?ªÕîóÃî…¶|ì‚c·“l]PþoÆ;êuÓÖ\o®wÓ¶xzå™ä™ä™ä™ä™ä™ä™ä™ä™ä™Âf˜|ý7¿þàú 7ÄÜëf8ìÒ±KÇ.Ck„ÔQuT=Õœ£ÒGé£ôQú(}”>J¥ÒGé£ù·À¾§þ»}°yØ Ÿ†OçáÓðiø4|¾™©ýt2î4|> Ÿ†OçáÓðiø}Ö+´ò^4|þ@Ùý¨~T?ªÕêGõ£úQýh¤¸ž/—eßíc¤?¸˜a;Ëä°MhG²~T?ªÕêGõ£úQý¨~T?Úê5{¬$niæö=Ù÷dß“}OÛ¦¢q§Ë\?ÉäØõ‘!nš™ëÍõæzs½¹Þ\o®7×›ëÍõæú‘}øöáóB³B _¿+‡5áüâÍ›üQ¹Zÿ|¨£ê¨:ªŽö® êh€à*ü‘èïè×7gçC|||ë}ëíÒ±K§Y‚ÙãÇgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™Ìõ?’fN{¢=Ù5Þ®Ê]Ú£¹Þ\o®7×›ëÍõæzs½¹Þ\o®7×›ë㼆™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLyÀáãðqø8|¾›¶nÚºi릭›¶A4ÏÌdf23™™ZúY4+ŽqÆ8cœ1ÎÑÅ´'Úí‰öD{¢=ÑžhO´'Úí)ÿüñu5ú¸¸Þ¬¿?&ó/´'Úí‰ö”á»EgŒ3ÆãŒqÆ8cœ1Îüz3“™ÉÌdf23-ç·É%Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ©ýtÞ>²K'¢+mÖOW‘¯JØ«ÐÊÛ7Í×+»f˜Ì>u4løQü(~Ô\o®7×›ëÍõæzs½¹Þ\o®ŸËÜÆÂÉ.Ë.ãðe—ÕQuôyÚ6‡ÃÇáãðqø8|>‡ÃÇáãðqø¸'ÜS†5å+3c²îiÇAäImë‰ý££‡ÙÍÍbu7¡=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=жêíiÿgcÿ¨]:ÝïÄ‘¿ùzùúd2[.îV—ã\ÊË3É3É3É3É3uíÁØ;cy”Ì¿©£¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^èi1 uTUGÕQuTm| ìÃ?9â8‡…)Á”ðBy¡¼P^(/”Ê å…òBy¡¼P^(/”JçáÓðiø4|> _æn|dvõ×7gçC nÚî>Ç·¸Ýg C;Ÿ™w4«ð‡×«å=zG½£nˆµÕÖ®œ*¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿¾´|¯þøº}\\oÖß“ù—G3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™‚dfJÇbó¶O‡Ã¯7L£‡ÙÍÍbu7Áæaó°yØŸ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgú-™uÝnç3ñ™øLãwIŸÏƹYPùõeõ¨özEÎ/eϪ¨Åî3¹ÏôŒß‘½yÙ4go^¡òG„ó|0%¹°xÐòLý={ó"^¼o½o½o½\hZ%óoû»&ÕQuÔþQŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3Æ™ŠqÆ8cœ1ÎgŒsÉ^Ï—Ë#o»ü%¹i;@»Ýš[½£û/[Åg¿al6¯Ø‡×ßÙš„öæm_y&y&y&y¦6s©ŽV8Åá0…:ªŽª£ê¨:zšÑ Žª£ê¨:ªŽª£ÝHû Z Ÿ†/»Ü&¦é£ôѽ·¢Ó×SGÕQuTÄx s½¹Þ\o®7×›ëÍõ?…»Å#v¶ážpO¸§ýQ•_?Ð;a®7×›ëÍõæúÓö+©£ê¨:ªŽª£êhl#y#»b®7×›ëÍõí_îé9ú±:ªŽª£ê¨:Z=·oêoCd€½y‘‡\¨\hü÷cOÉþÏÆž’ä÷„{Â=ážpOnÚ^ñBy¡™úáýÇéLÃÅt:ý¡ÎFL§gç/òGP¾=æ¹ý@ ofwØÏ›ÈF¾Ê­zo¦7³öî©™ÙT: ëkl2Ó¿Øùò5ZÛGw²üíÍôfÇÙL@ÝÅè\Ÿ©Ï¼»OÆWj¦š©fnß ¨xo‚š©fª™jf€|¬âñ›õSˆØ©˜•ÈßІKGáyÜ=Ó×Ü×Ü×ü¥²oôLzf,oùçn[òfz3½™eÝ×g¶úôcb:Çâ÷”vJ;¥ý!µˆ2ß|8tûÈGLϤgÒ3é™ôÌÆàmcU˜öÀ÷¡|;°FX£Fj›„^ª™jæ|¹¤¥,ÍÿR;ãùæ|s¾9ßœoÞ·Œš©fª™j¦š©fu‰oÎ7ç›óÍkYJ;¥ÒÞǧFt :ˆD¢£’%ª;ÜIî$w²Hús'ô™úL}¦>SŸ©ÏÔg®î&vt„^œ>sÞJ?Ôgê3õ™úL}¦>SŸ©Ï,ÜlÇa°FX#¬Q¯IqÞüšBè Œ û½¨Í®§Ý¡Ýj'_ñfz3¾æ¾æ¾æ¾æ´Áu?×ý–vt„L{ª§"Õ[{CÔL5SÍ ú°j¦š\õ¤fª™j¦šy ûDϤgÒ3ßÑ3é™ôLzfìò©‘ÃÈaä0r9ŒF#‡‘Ãן?ŽIϤgÒ3é™ôÌ]Gm{Œí1‘ž¶aÛ†mvçà}MϤgÖ35SÍT3ÕÌÝ$ßÍâñ€x@< ˆÄâí} ô™÷.4‘ žZHH(„ëG÷™ÍÍæfs³¹ÙÜln67››ÍÍæfóÚu0Kÿf³yÂ7ç›óÍùæY5T33U.U…Æ —ª\ªr©j±õ™j¦š {ÈÉÉUAɨ™j¦šYW&°FX£šá«fö7Ìæfs³¹Ù<œÕgê3õ™úÌ]gÅâgê3õ™úL}¦>³kÍÛ *–Û¡°L¡mÖO±EÞLofqdúöl:Íy§SŸ©ÏÔgê3õ™úL}¦>3—îª^ÙŽŽ–»{Ìñ}¦>SŸ©ÏÔgê3õ™úL}¦>s€fôÌPpÌ¥*—ª\ªruÅÕû3³=³×ñrèR•KUµ‹š©fª™jæI‹¦±FöÙkd¯‘½FöÙkd¯Q¡õ’ù·d2[.îV—ã ˆÄâñ€"_H5s?Iþz)Z{ì5²×È^#{ì5²×È^#{ì5²×È^#{ì5Ê€³¹Ù|'a»o¾?%ÉNžv§ÓŽivâ gÒ3é™ôLz&=“žIϤgÒ3é™ôLz&=“žyœÚ0”Jc67››ÍÍæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜl^Ëb°FEpšjD5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆj4Ë–øFŽ÷I¨I¨5k„š©fª™jf{E)¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)íT#ªÕˆjD5ºY¤“A~Ôçrüî!TßǴ\¨™j¦š©fª™jf`ŽÎW+_}xÿñ?þ@—¡x@< ˆÄâñ€x@< ˆÄ¢gÒ3é™ôLz&=“žyœíg¯Ñþ7TBMBMB?5ªfª™vÁaêHß¼/S3ÕL5SÍT3ûûøj¦š©fª™j¦šy=_.CÉŽ\§Ix@< ˆ4ªD53ć¤ß‹<é1JÔL5SÍT3ÕÌIìSQEÔÌt=ÌnÔL5SÍT3ÕÌ  ³ë I&û¬¨™]Sßœo^?è™fs53¸ó¡Œ;©™j¦šÙg'†í1¶ÇØc{Œí1¶ÇØc{Œí1¶ÇØc{Œí1¶ÇØc{Œí1Èa¢Ñè@t :»0Qƒ\YÎoû—áNr'¹“ÜÉj .âÂ":jRdW.É&›lB° Á&›¤z¥zóE¹CŸ©Ï܆nŽ<‚«ÏÔgê3õ™úL}¦>SŸ©Ï,ÓË< @®ÏñÍùæ|s¾yÇ ¥¦¨fª™Åj”#ß©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^î$¥;ÉäNÞÝ'ã«éÛ³é4ß±žß³‰pn¨q'c¯†´Åå¸' m‚M6!Ø„`‚í1ÛDIu ‡‚CÁE@5SÍT3óòÜPsCÍ µ #mã–[A;@ÍT3ÕL5ó·ÔöÛcl±=ÆöÛcl±=ÆöÛc^"—¤ÏÔgê3õ™úL}¦>SŸ©ÏÔgê31íQõþdêÌÆ-·lܲqËÆ-·lܲqËÆ-ÙI·lܲqËÆ-·lܲqËÆ-·lܲqËÆ-·lܲqËÆ-·lÜ:h<rŠ;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“'Ú. ¨žc™ÃÞdûIzÊ%íöÜ¥ª®5ßü™?^ofמ —ª\ªjlÉ.¿°Íú)tª¦*@‘¿!þmXÎoݶh=÷€ÜrÈ= ð}M53ö¨™j¦š©fª™/®Ø9¼??›€N» o:ŽÌq©Ê¥*—ª¢». KãÃûùïdhƒãȉCBMBMBMBMBMBMBMBMBMBMBMBMBMBMBMBMB k$¡&¡&¡&¡&¡&¡&¡&¡&¡&¡&¡&¡–õ„X#¬Qs6 Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢ý8éÙIÙÉlÚøJHHHHHHHHHHHHHÑè@t :ˆD¢Ñè@t :ˆD¢Ñèø†»‡â†Úi2²Í®!ù-¼Yßu¿Ú»VV%;‡;%l ÷î!Å·\Du5òêÔnBô– \D4<.ThZþ,B£…¯¹¯¹¯¹¯ùv9š©f¶>§.U¹TåRU0ñT*%.UåËÍô™»PTvµ¬°û6ë§Ð¸gœ]pvÁ¹î§fî~úL}¦>SŸy /JϤgÒ3é™ôÌþ›ÔL5SÍT3ÕL53†˜ÍÍæfs³¹Ù¼mð¨™]^ˆ:³?3XIê ˜PŠ˜›ÍÍæfs³¹ÙÜl®ÏÔgÖŸ@Eeo†PúJÔgê3õ™úL}¦>SŸ©ÏÔg–ýôr~›\Ž{~ä€ä€¿9 ÈæÈ µ›,;´ûd'—õ[j¦š©fª™í_>ŸÉÂgâ3ñ™Û½#$†úL}¦>SŸ©Ïì滋j¦š©fª™jfñð™|óÖk€ÏL•)Ž5Âa°F{¿‚æ§SÍT3ç®H»"튴+Ò®H»"íŠtS_ˆ`rq Ó’hô™úL}f4CLϤgÒ3Cz=óøÍ|s¾9ßœoÎ7ç›óÍWw³¹Ùü§p’AŸ©ÏŒ¼å¹Q»à"ý´[½Õƒq«·ö’ÈNÊNÊN†;ŽÝ^ {ì5jpzöÙkdçp¨hê3õ™ATOŸ©ÏÔgê3íèØ¹]ôLz&=³âyå€ä€JÅ…Iêb°FX#¬Ök„5•¿yóý’hG‡ý™‘.[HHHhد§ÙÜln67››ÍÍæfs³¹Ùüúslã›óÍùæ|óž«Zì5²×È^#{ÂQysys¬Ö¨?”ÛÿKnq³H׳^Žß=$ã#›ŽéÛ³é47O\ò)m!m!m!m!m!má"ê²sþCt :ˆDGöz & ªÕˆjD5¢…ÚJ{ר-m!m1à×9ŒF#‡‘ÃÈaä0r9ŒÞû 2qè3õ™úL}¦>SŸ©ÏÔgê3õ™úÌê ðÍãv Í®/ñK9ŸN/ÎÎ/†ÀňD¢Ñè@tœÖÔɛ˛˛˛£àPpY x|%Õûâow’;ÉäNr'¹“ÜIî$w’;ÉäN>kO(ˆÄâñ€x@< BN%óoÉd¶\Ü­.Çù‚CzæsÖI¹ÕÛ¿–ØŸY«:åÐï?¾âåÍôfn+>ŸiçpÐA“¬¸ˆZ[¥ªfª™j¦š¹ÿä€ä€²8Íá+u­Ð r9ŒF#‡‘ÔöÃg+Ìæfóòê"ª‹¨ÜÉOÜÉSÐG›Pp(8 ‡‚CÁ¡à†08°FX#¬QŸ0 ˆÄâñ€x@< Ðv©ÉÑ‚ =“žIϤgÒ3é™ôLz&=“žY¹]h½ åܽY?=/ï¤ÏÔgê3õ™úL}¦>SŸ©ÏÔgÎ'‘6²Š.è3[Ÿ ÙI·¶³Äë¥h]fù·þ‘]p{Oçk”7Ó›é¶E-è-FôLzfͨ™j¦š©f¶µÆÍlÞXë¬fª™j¦š©f6ž@&ÕF'5SÍT3ÕL5SÍ áOå–h·-jL„ÛåÃèì.è™ôLz滇TÐ “•ÜÉá‚vtôç}Í}ÍCƒ¯¯yí©PÚc©FT#ªÕˆjD5¢­î&²“¡×À.8»à삳 Î.8»à삳 Î.¸¼K’Ìt¥Ørw''³Ö:}{6æZdNqÿÜè™ôÌåѱɊ_ׇ÷‡ø­5Êüõ<:2€)í”vJ;¥ÒNi§´SÚÜåÁ빇º |&>Ÿ‰Ï¬× P.ÐÙѱkº+ANÞ\Þ9ŒFðò(í”vJ{P¹-{+}¦>³þ†¨™j¦š©fv¡rôÌæû¡fª™j¦š©f¶ÅÊt£fª™j¦š©fª™‡#øÌ 2A#‡'™±FX#¬ÖkÔŸdV3ÕL5SÍT3ÕLzf×ô5JæßöÎÊNÊNÊNÊNÊNÊNÊNÊNÊNÚ³÷-¨V1ÙÑ[,ÞÞ'$$$äêJD–à›÷;{$$$ÔG¥¡gÒ3é™ôLz&=“žIϤgÒ3é™5îˆÕñ˜vL;¦=jÁH¬Ö¨¡Éð€.Ç=1Tz&=“žIÏl¢úL}¦>SŸ9û´tÕETQ]DuÕETQ‹– ¬‡‘¿'S§Ê~z9¿MÌæõGxÉ,o¾?¥x3Ýêm¾ÇaÜê}ñ¾‡‚CÁ¡àPp(8 ‡‚CÁ¡à~ ¶Å–jút™å¤Ql)´¥p+Òç—“Qp(8 Çl™·úLi  ‡‚CÁ¡àPp(¸,»](!÷ˆp·>SŸ©ÏÔgê3õ™úL}¦>SŸ©Ï|îjL;¦}À¡Ì&›lB° Á&„þŸ5SÍT3ÕL5SÍÜúÛ„ðéL;¦ÓŽiÇ´÷O«™j¦š©fª™j¦ ϵÙì5²×È^#{ì5²×È^#{ì5²×È^#{ì5jör@“Ùrq·ºo0í˜vL;¦ÓŽi·q«cò ñ(™Kö>“ÜIî$w’;ÉäNr'¹“õ'`K¡-…¶†jÂaµí?VKäxŸjö5ß-7ÔŽû­ U£°FX#¬Ök„5Âa°FX#¬Ök„52››ÍëxßœoÎ7ç›óÍùæ|s¾9ßÜÆ­—Ð ô™úL}¦>SŸ©ÏÔgê3õ™úL}æéWñ™±D ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 .¿7&ÕÛX·G5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢µ·OS¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢Q¨FT£›E:ägM/Ç6!¤U±ü4\}xÿ1Oræ÷í®"mÃëÝÆ¥gÒ3é™ôLz&=“žIϤgÒ3é™ôLz&=“žIϤgÒ3é™ôÌ@OX(˜ôÌÎϤmØûßPW¤]‘n¾úL}¦>SŸ©ÏÔgê3ÃÊ[!%í_Š>SŸéê ÖkÔßÇW3ÕL5SÍT3ÕL—ªBÔŽSMÈaä0r9ŒF#‡‘ÃÈaä0r9ŒF#:ˆD¢Ñè@tŒjÇË)í”öú¨xðìÍ=ÌnÔL5SÍT3'±OE%7ç$Ùú¦Ú¸U“"»|| ‡‚CÁ¡àÌæfs³y©A,ç·ýØÚ„Pm¹•PKWþVK|7ë§Ð¦_›lBh~oøæ|s¾9ßœoÎâñ€x@< eìHH*ê'ù§’oIâñ€x@ÁŸÙœoŽ5 VM5SÍT3CHÖŸn4ÕL5SÍT3#xL{UÁ7ç›7˜¾9¦](Ôiê3õ™úL}¦>³Èˆâ3«$\eFüÂ:ßÏÄg»;e'e'e'cŒ…š¹Ç'›ÍÕL³¹Ùü„Í òæòæòæòæòæòæòæòæòæòæ¬=3bŠ«™j¦š©fª™»­v±€\%Vª™j¦š©fª™jf4õvòÄá"j8“²] h§oϦÓ<‘› ¾æ-]ЛY,9° !´ñ‡‚‹Ý3Å«Æ!¶Ç×Ü×Ü}óí;ÐÙÀ!:ˆD¢ÑAi§´SÚ)í”vz&¥½5d¶M”Í®ɸG’ÕöÛc" œ«+Ëú- z&=“žIÏlÿ lö Á6ìè´RP)Þ‚Qiµ÷Gnkñ5÷5÷5÷5÷5ï﹨™j¦š©fª™jfµ§½Ë»6QÚ)í}¾žúL}¦>SŸ©ÏÔgê3íi/YŠÂ^£H‰F#‡‘ÃÈaä0r9<ŸDÎ8!mBhÜp¨qìGŸ©ÏÔgê3õ™úL}¦>SŸêŽ*ê3õ™{ú¶ƒ›»“éR2¬ÖèøÝt6nµú–ÒZ£µ~Yµ€_ï5ª¾æ¾æ¾æv7ªÕˆjD5¢Q¨F•Ù•4ܶè¸Á&„ˆ$bœ]pÈáýÎÛm ·-"gOÂ3ë&ÛQ9¶§½îÃHõJõFögÚŸ©fV?ŽòŽš©fª™Û'ÐyÊ&„ V|„¡QŽ?ƒÏÇøšûš‡ ’ë~µ§b¶mØøÌ¨ÇmvÛŸ‰Ït•ÒNioÔ}¦>³ÇדjD5²?³¾ªÏÔgê3õ™úL}¦½F|VÞ\Þ<ÜP#:~Ø(™K&³û¤ÏÔgê3õ™úL}¦>SŸÙ ¥-z‡JÃÈaä0r¸yÆ.¸®/ªš©fª™j¦šÙ?¼¬fª™j¦š©fª™­8˜Í®6»Úìj³«Í®/ž2æ›óÍùæ|s¾9ßœoÎ7ç›» °÷+hJ4fs³¹ÙÜln67›ƒ£]pvÁÙçºßúúó€¯>SŸ©ÏÔgê3õ™úÌߪ K±oì÷wì5²×È^#{Ú¿;‡í¶s8øu°£ÃŽŽe¨+S3ÕL5SÍìàëÜ•½F ÉÓu?×ýÜ ôV²“²“²“²“²“²“²“!fû/ͳ¹ÙÜln67›ïú(53]B~$uÆ7ç›óÍùæ|óþ)Z5SÍT3ÕL5SÍ,ž=“žIϤg–O`ÍúL}¦>SŸ©ÏÔgê3Ww“åüVŸ©ÏÔgê3ó©û°ñg6W3CŸN;:ì谣Î;:ìè°£ÃŽŽ­ÌöS+ÔgÖžKÄëÒgê3þù`Ú1í˜vL;¦Ó~¸ÝŠzŸÔL5SÍT3ÕL5sÙ©æâ3ùæ|s¾9ßœo¾ÿ+ g>ãÓÉ7ç›óÍùæ|s¾9ßœoÎ7ßËFV¿Æ9T¾9ßœo^Êd'Ÿy2©¼ûmçpõ¹mxö´ÛÓ^´l¡7AÞ\Þ\Þ\Þ\Þ\Þ\Þ\Þ|X·ô|:½8;¿ÈQï¼ðäº (äí—úÃû/òØíŽ<öj€÷fz3ßέfÆi J{ë—uÌB D¢Ñè@t :ˆ³9¢ã%$}¦>SŸ©ÏÔgê3õ™úL}¦>SŸÙeŽ„­éÛ³ét/ÏÆ-œí1¶ÇØc{Œí1¶Çä{!Ìæfs³¹ÙÜln67››Í?_!‡Ë©ì¤ì¤ìäu 3cÚ1í˜ö¢E<|†ÒNiW3)í”vJ;¥ÒNiæz+ä°>9ŒæNr'¹“ÜIî$w’;ÉäNÈVtŸ§í1¶Ç “Í®6»Úìj³«Í®6»Úìj³«Í®§¬ŸEt :ˆD¢Ñè@t :îV—ãüüÚøÊŽŽ÷©é™ôLz&=“žIϤgÒ3é™ô̽o+Ò®HפÀE®åü6¹¿{HG¶ðöíJ¤âXMX£Z‰áñ€x@< ˆÄâñ€x@}öál§ªƒ¯K}ú í^ãñ€x@< ˆÄâñ€x@Õ豚²ÕŠÛìè©K߃$o^?x@< ˆÄâñ€x@< èbˆÍfs|fHÖ¶ Û6lÛ°mö Û6lysÛ°mÃλ¤*îµY?Ez$÷Í;‡AsvïëáÞÌ™ÍÍæfs³y=YËâñ€ú¤håÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍwÉ_©ÞH¦¾ = ‹#:ˆD¢£¿'¥fª™j¦š©fª™Ùdj½mB° Á&›lBØñ~Y¬¦[®P3ÕL5SÍT3ÕÌŸŠ Ÿf¥-¤-¤-¤-¤-¤-¤-¤-¤-^0mQÝ?­o¾7Ñê¹÷×wGFËÅj>¹Ÿg¦ÊåøMhõ]ÆG™m>Ï7£âÿš\/g“ÕìËür|½^%‹Õ×ùÍø/ÿè¼E¬ýõüÏÓú‹åæÓf>û<ù4¿]oÒë‡ÙÝ|o_÷Ÿå_“«Ûu{}_µ6ù?ÏVóÑ¿,–ËÅìËcð³×à^}øç¿þ~}½þºJ~½ýëÅù/oß^Äþ•ù_/Sû‰÷yŠ-E;û£/VÙ?¦Ñmú¬'É÷eúpÉl¹¸_ýc÷üGëÕh•2¬éŒ»ùÙÙYþ')þ…0±?b. ±h9û¾þš¾·‹oé?ÞÑÓâ&¹¿Ÿ¿yóÆ£OëÍÍ|s9~\,ÿ5}1×ËEú·uûp’ÿ ÎÒäf‘,Ö«ôÏ›|¿oæÉl±*ÿÞÙm’þ+:ÿÖà#ÙêYëå×/«Ñuþÿ.—ã·épïeÜúEÿ¢‹æ_t?Ÿ¥1èlÔ·D>Í®?ßmÒ×òf’þ÷_—ÿ0ÆÅ{ò´ýMZ/Ó2Å«³øŸé›sþ6¾à²ºøp÷õõ—‡Ùê{Çkû;¬K6ÿ¹E Ÿé÷³Í¼ëçþê¢Ú,®ç/òˆ¼‚ó~ö¸ä©=S_n~•:ìîæûÚÄ‹ÿ-ÛWm™ÿúÚå£êaXRuàqÔþבbPý÷¾]¯Óz¸Z4¾óÿžŸhäUO´ÝEíÏ0›õÓóîQ=ïÎûùæóãýb3ý>KîgO³ª”^¼ýëTÙÿöËùÏ©ÞxvmÉš¿ÜƒØnä¸):dèM½ñª65®Î,©W5.zµc^U¯êîLÝŽyU½ª^ÕCÌR#Z¯êÉNpVUUUUUU¥ÔÈ”“O7«ªªªªªªªªªj½Ö<¬XPo(s—®JWÆw( @8À­ÚëÝ+ )bñs«R||…p ºy) €@ ŒºOþ[¼v®Ðh4 €@ °Rš“öQn·Š[ÕˆËVUŸÍjS±ÊXe¬2V«ŒUÆ*c•±ÊXÕèˆ~ ¥ÝzU½ª^U¯ªWÕ«êUõªzU½ª^5LÝwBÐjh5´ú˜_c•±ÊXe¬ªWÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXÕ~nô?y`¬Ú{lW±]%RTY½£RR]²LñtTUUUU <½ª^µõZ<û>âHb5ÿÊØX¾K_\¸ \®Wi”ÌØÂoU50á…¾¸ªªªªªªªªjP8²8¨ªªªªªªªªªêžÈÓûDÑèavs³XÝM¸UÜ*nU ›¢œønèUõªzU½ª^U¯ªWݯÖa9¿Å`ΦÓÜiú”¥#mDó´Ü*nU‰âUÒ»‡OÉJHÌ„«…«…«ƒƒK©ëUCÃ=^5DvW0*]•®:Ÿp«òP 'WUUÕ+7V‹±õðgc›§;Ø«mÿ¾\PÁ«b"ñ³Bp³^­ùx$V÷ž‡l•lUþ ÷pÈ*d² YÕn2Q‡UÈ*d² Y…¬BV!«‚•ðµ3g+œ­ «:[q¨#£«"«U ÉЀpóBW½¿Ã«6%Ä!~9zU½ª^U¯ªWR;SUUUUUUUUUU‰Õè G¶ Ye@ëk"[%[µŒ­C «ÖâD½’€ÀPù €@ P(€7—ÉVÙú”P(€Á€o €Þ i¿jþÛàVq«Ê"igUñ›x½½DtUº*]•®JW¥«ÒUéªtÕæP²Y?=u «ÒUíW-ÞûUÏ/†¸³Ã­RUUUUUU=ÿùb:=SUkÕ ÒLõª§Ÿ´ãVq«z±]%L Ø®b»Êþ›¬BV!«UÛ™^U¯m¢W”Ü­¢«Râ­•ªªªªªN¬µß'֚ϤfMFŠ&]õî>_9äc@‡ðÈÐÉWh5´Z ­†VC«¡ÕÐjh5´úrœßn6V¥ šlÀú·¡ \®RÞÇ*Ws@«¡ÕÐjh5´ºUXzÕ¾gòB 0\®W«|Æ*€±ÊX퓇«T/J'ʤªªªªªªªªiº«ªªªªªªªªªjq± Ø-€P\UUUUUUUUí^W™O^z/‘ÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀJŠ@öÞæ¼þ;—ñz7͸UÜ*º*]•®JW¥«ÒUéO7Vçß’Él¹¸[•M¾ÀŠÀŠÀŠÀŠÀÊ®WÙî"IÊ¥ GÎÕŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ºëÊDóÕûùæóãýb3ý>KîgO³ï/r?Ü&À°&ìp¥Ã•Ý~  ¯Bne…•Å»¢ªªªªêt:D+§ªªªªêÝÄÖêÐãÈzÈ´ŸÎϪ            `çm‹m„$¯–¡»Æ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2VÕ‰1Àæw¡ãœä¡‘Z ­†VC«¡ÕÐjh5´Z ­¶´²5pr«ö9úÍú)Ô9W"Ãv ©2¡åy‹€b„®³{O¦G.Ý" ê™u²Ì €@ P( €° .Ê3V« )È-·º»%›÷EÓ¨¡ªªªªª­Õ¶V'ã+;«ú~6Zm˜­ÕaõB¯ªWÕ«º[ÕËãPUYû^b›…ÀJK=´^mŸàØYÎÈ*dÕsÞ ¸ \®W«ÀUà*p¸ \®W«œ´#ÂXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUƪŽõrR ² Y…¬BVMÏÎ/rpÊÖêf>Ì" x)d«d«š™©“—D±X, €À`°X, €Àˆ-<²µ:Ô'4}!b±ŠXµ›*_/KÿNÆ*cµUXUÕÀ·Æ-€âãÒØqcPX½°®W«ÀUà*:ànUºµi|…À`0 €À`0 PTÂcöCc0 @ÈÁ »rÈ*d•c@¯þÅe°X, €À`°X, €À`ä ÞBw ]®~m{ˆXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬þ"ƒí*á>ÛvÛUºgP)))))€Ï‘R([•Ì¿%“Ùrq·ºoùZÆ*cõç‹©Uºig•Uãwi}ü)âç€æ•þö˹ªX®t¸2*t©ªªªªÚV2"ES¯ªWÕ«æˆ^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxUº*]•®JWmMFV¶=º*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW­? Kκ„ÑÃìæf±º›ä±ÓÞ»¬¾þÒÌ, €À`°X, €À`°X, €À`°J«c9¿íït\½Ÿo>?Þ«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXÕÙ7q;Ç€òL‹µ¿Å~Õ®•ö @ ¨ª‚A€ @ [Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n•#ë{•°‡—™v©ËÌ>-UÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬Ê·HޝþöËùÏÓéÙùE>Zæb„Ò;fö´´2y8²a«óó¡­¥^ÕŸÚÏ­’z"ìuKÒh4 @ª ¬¬ì|½ª^u(óL¯ªWÍFéÐ#((((((((((((ˆWÅ«âUñªxU¼*^¯ŠWÅ«ÂUà*p¸ \®R$[£Óc•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«µ}ÉöØ`@ ¿Ÿ=”lI\÷jq瀫Ÿ\¥ÜB¯ªªªªªªÚÛˆ9’e‚A€ @½*‚A€ @ ‚A€ @ ‚A€ @ øî!½ †¶ðFq!ôý|óùñž®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtÕæ· ÆvLj·zB×¾wGÖYwd=_…«…«…«…«…«?GÜë‹KZ? UUUUUUUUUU­ÖÍú)öi µ, €À`°X,@®B½±ÊXe¬2VÝݧ‰K+-­´´ÒÒJK+-­´´ÒÒJK+-­®®®®®®®®®®®®®FV!«UÈ*d² Y…¬BV!«UÇ$ÜÜX ;má GÞo\Ž{–›Q2ÿ–LfËÅ^U¯ªWÕ«êUõªzU½ª^U¯z~1Ä[`eÅr~Û¿%w¶b¿·^­ñDju)óXX¡äŒºÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀ ‚A€ @ ÜsÍŠ“ .¬œ¾%¼E†õrcÕU7VÝX=„ºA«¡ÕùÇ;æþB««¤DgCa·Ü€VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡Õû×UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬ºY¬î&yk|épS «UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d²j2BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d²*eÉ’Ù§t:è0êÛ¼FÉüÛþ/ço¿œÿ|1ž©ªªªªªªªªªj›Kë1uÔþ–Íú)tœ8Û*Y|¯"Ãö[U}ÓX, €À`°X, €XE¬"V«ˆUÄ*bUHkkIi‘¿é=tñö¯C4\Cýq¸U?Þwºê}2¾òªùŸ¾=›NUÆ*c•±ÊXe¬2V«ŒUƪÐ~¢cº¤ãpcµz¤n¬×_áUÛÙ÷¿ð‘Uéíf @úòÐv«Ìnñh§ä‰@ P( €@Xa¬«ˆUĪ~²`@â i.pb•c@‘²Z~o¬¬ØW&…«»”lUUUUUUU'Ö¶ï@e Ÿ°$JUUUUUUUUUU%@€úAW¥«ÒUwï€^µÇB׿CRUUÕ-2mð>µTqÓ±Ù—[Å­*ö索ªªªj8K`p `Ø®œãTÕärlieóÝdʳÈ" å:|*š[Å­âVq«¸UÜ*nÕ~ˆôäËù­^µU3õª!!ˆ®Ú– )€ò£»UîV¹[õ|;n(Í@ P(  <šc1€ŽØ^¯Z–ºjÁŨªóoû+íW}íwƒ@ P( €P{ÛµôªzÕŸ/¦Ó3·ö~2V[l°•‘©*Ï~Š…VVV23E¸:ÄÔ«ˆUÄ*b±ŠXE¬"V-6óÑï³ä~ö4ûž{êùd»Hõz¦;c•±ªWÕ«êUõªzU½ª^U¯ªWݽ,€f=°_µzÊXe¬2V«ŒUÆ*c•±ÊXe¬2V-—¡¾ØXe¬*(ug+,Xïî–Žœ«ñªxU¼*^õ$sõ~¾ùüx¯WÕ«êU;·žnÛµhB„À`°X, €À0V«ŒUƪÞKh…«ŸM++"S••{†±ÊXe¬ÞM\ UL×CW×Û$†k€aõ®W«L§CltЫêUõªzÕȉ¦Æ§XüRôªzÕ£NÑUéª-Þ^UUU›=h±"¾Ã­ÖOªªªªªêƪ«CnöTUUUUUUUUUÕʲެŸbۣîpå`_‰c¨/®  `Xµ_µù`0 ŒõªE-ì9èUyHtUº*]•®JW¥«ÒUïîÓ–‹XE¬"V« ÕÛw`ˆ¨ªªªªªªªªªª«è«ˆUÄ*b±ŠXE¬"Vß=¤z]¸ ¥«?_L§gçC,.iµ%zU½ª^U¯ªWÕ«êUõªzÕ\õc°X,À~ˆœ=–X•X•8'VÅ+¦=e_}´âB¬"V«ˆUÄ*b±ŠX>ѸmÄwíÆ(™K&³åânu9Þ,ò_Îß~Ñ«¶fVUUUUUUUUu§};[±û5X°~`Á|DÏûÞ·ÇB­ HW¥«~‰Uh5\®W«ÀUà*ÁJøŠ‹ 骃–®JW¥«ÒUéªtÕúÚΪúMÊçÉ¡«Vo’ÀJD¨¢<€}=‚£êUõªzU½ª^U¯ªW-Ÿ€³ñ—¡Ü"#(((­†V_ÃU–Ö«¾‡Ä*bUã…VC«:™¨ªªªYI±Ç“C p¸Êr­W]êUcÒͧìý¸z?ß|~¼_læ£ßgÉýìiöýE2 ³KHHH«¤¤¤¤jO …«ÓFöO_½§WÕ«êUõªzU½ª^U¯ªWÕ«ÒUwï@ç°Â­âVq«²ýß À-·ÜX•X•X•X•X•X•X•X Š ZXbu>yéÖ™XE¬"V«9ÝÐê½'Äh>ZRÐΪ®›fÈ*d² Y…¬BV!«UÈ*d² Y6FŒUUuè¹UÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXÕ ‘lñü|}–ËÕ+++++++++++++++Ù†í?}1¡ÀŠÀ ±J`E`eHŸWUUUUUUUUUUOjóñªxÕü 4¿1V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬†òJQ&}úöl:â°3±ŠXE¬º›,ç·Éeß–Ü&À½be`󨪪ªªªªFÔîÆŠï#w–ÀUà*p¸ \®Wù´|ù;Ö«Y¯f½Ú¡ïMhƒ†^U¯ªWÕ«êUõªzU½jnk˜£…VC«¡ÕÐjhµª ­†VC«¡ÕÐjh5´Z ­†VC«ç›Ï÷nì^¼*^5bFä[ܘp«¸UÜ*n·Š[µS“’Yö6lÖO1ï®¶—®œlUèSÒÜ%Päeþr0![%[%[%[%[•Œ¯ìèûÙŠ‘Ы©©ªªªªªªªªªjO¨ÕÐKHHHHHHHHHHHHHHHHH4Þ)))€ˆhX°žRRRRRRR—ãÍ‚®JW¥«ÒUéªtUº*]•®JW¥«ÒU;H¬J¬J¬J¬J¬J¬î*aE«Ç<$)))))))n·Š[Å­âVq«¸UÜ*n·Š[Å­âVýVîG®^²³ÊÎ*;«å#FÉü[2™-w«ŸýÛ/ç?_L§gç¹Â­†VC«S©î’XE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUå6ŠçËóºÆª’>/¤–÷ªªªªªªªªjQš·®,?õúÔ:\Y¼AW¶HŒÕçˆ8zÕêi•«õª{¯¥•Í"\øÕ„Lw¸ \®WÑ«îü僧æ«á0×ÍTUáê@ýЫFŠj.«D9 À@H[bUb‚A€ @ W«ÀUà*p¸J­¾âMb±Šàà!û®WéìRà*p•.äú}–ÜÏžfߤ; €@ Ðh4aýðñ¥V4Äݪ¦q·ªI1¸[½Û7òs6–®gÁ«š¥:{y¢« ¡ÕÐjh5´Z ­†VC«¡ÕÐjhµ± Z ­†Vw«¾Ðjh5´Z ­†VC«¡ÕÐêâ p«@€­Î°ùR`0Õ+2È»WÅ«âUñªÈ*¼*^¯ŠWí;NßžM§CDjRàfýjGªN/ò7ÄÇGÙªÐm¬ <hu@‡áVq«¸UÜ*n·Š[Å­âVq«Vwc•±êŠÐ׎kéÆ*c•±ÊXe¬2V«ŒUÆ*c•±*Òs«¸UË—|7@€ @ ‚A€ @ Öwï€M€Íz€Wmf°¢["UÆ*c•±ÊXe¬2V«ŒUÆ*c•±*|°ÀXe¬ ÐF³››Eê;[x?œ­Øk*ˆUĪÈÄo#VMœ­8$ɨªªjIçRTWج¬PUw@ôª!P‘À`°X, €À`œt( Y…¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUƪÌÞïµ,[Å­JŸ€í*¡× 2øc¿'¼*^¯jðOáá+•ç’N†¨ø—áUñªxÕH#Vý€ôªzU½jäS£WÝ}IOþâ2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXÝó KQÎ5ÀPŸÀXe¬:[1XÍ`°X½Û07V{ ªªªªªªªªê‡hUUUUUUUUUUµ’#«[…‚®Úi6ÐUéªtUºê6_¡ª–ÀâÑ —^U¯ªWÕ«êUïî“ñ•€€€€€€€€€€€€€€€@Q k À^Z;ûÛ/ç?_L§gçùh~Ä0¶ãïð6ˆ¸áèÆjÕè”›™\Üëí¬j>›¿šQ2ÿ–LfËÅÝêrœ×ºjúÂ>Ó¶"GÓNßžM§C”~¯ªWµh^û ñªxU `¬ÂèUÇïôªÕnf  s—·±ÊXe¬r À-€´m V½¶=„W¥«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWEV O Û¯U—}ýcÆ*c•±:Ä©h €À`°X, €À`°X, €pý9´–Àv•·.((¸[•Pl\z?ß|~¼7V«ŒUÆ*c•±ÊXe¬2V«v¦cµ|3r–ÊXe¬2V«ÂĶØ<Īý$½ªÚõn€A€ @ ‚A€Ü*n·Š[Å­âVq«¸UÜ*n·ª5uÞ4£«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]µþYO¬î–KŽÖ­¬°²"[IJˆp«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­=Ìnn«»Ér~Ë­ þ"’ÎÛvÂΪƳû6–ÏC¶ªü•Õf³H÷ ö6ÇC6ßôíÙtš¿fÅrò€!šþ¨½‡±ÙÏ«Zýr½ª^ÕdÜÃ?v `¯UèüåÀUà*p•ì¬Ø‘eíPUUÕÎaS¯ªWÍŸ´šXE¬¢ô“8ZãHBZ ­†VC«éªÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´º³+nZ˜¾nÅMãU?-UÆ*c•±ÊXe¬2V«ŒUÆ*c•±ju9΄ã+1À¾s#°Çp ­¶ Dµ«B¹%bU;‹­Sa)7\-Ò ýœ ÕÐj´Z ­†VC«¡ÕÐjh5€À`0 €À`ö*á1ö6·Š[Õ^yŒÀ «^}ä¶^Íz5 €À`0 €À`0ÿ®€?¾®F×›õã÷Çdþåqˆc‡C…Ï/Þ¼ù‘þ<Ó³_~}‘?Ï€I•_ßœ_ü»Xém iW½£­gU$Â6ë§ØùÖpjìyþ”wÔ;º ½`?Ð55ï¨wÔ;š=ÒÔF9–è̤ͦ¡Ã; ÌLUpÿy}Z¾£çrüî¡×MñQ2ÿ–LfËÅ]…öyG½£æú²¶WkhÌL?LÆ\o®ßÿnéGõ£ëëÏWæzs½¹Þ\¨†Í•‚|¦È#Êå u´ùtøL%Vé7‘‘ÈÌ”ª/úQý¨:ú¼Õæzs½¹ž†_ý ʶK?ªýá©|Úí‰öD{¢=m5JUGÕQuTUGëGlz±pÇn´‘gªÿÜhø4ü €¿es1Î…MúSØåÀ8ÿ6ôóá×óëÓô@#Ÿè[ÿ¿ÔAHs½¹Þ\o®7×›ëÍõ2wͯ¡™ÉÌ”¿´'Úíi[ ÌLf&3“™ÉÌdf23™™ÌLÙŠ›ñ•¬ˆ¬ˆ¬ˆ¬ˆ¬È¶/â…òBòÇe—e—e—e—'±(ö8—Û0vç#C»4ÕQuTUGÕÑÓfuTUGÕQuTµÿ·ê8€|}´$48²Ž[ž‡òl|&>Ÿ‰ÏÄgâ3ï@FôQúhÖ’]–]–]Þ{ÔÑ¡fú(}”>J¥ÒGé£ôÑ×¼±K¥ÒGé£ôQú(}´ü ²§Î\o®7×›ëÍõæzs½¹Þ\?[.î쀰ˆÀây{óìÍ L‡×_ßœ_ävü‰KûqO¸'ÜÓøÝCZˆÂ—Aê?E7m›Õª<öÊRó™øL|&>Ÿ‰ÏÄgâ3¥…áðqø8|~ûWÀ¯ïn+šÏGUGÕQuT­£GܯRGÕQuTUGÕÑÈ%ùƽkûžì{J­E~}f£ºê^hþÙÀ=ážpOî…†ÞLII¤UßËÍú)„'©£ê¨:ªŽª£Ÿ:Ì0Œ3ÆãŒqn³ËÕ^v·Ýbt‹qÖõmè6Ù~~^(/”Ê å…òBy¡ÙÚŸÈSx=ßKæNæNæNæNæNæNæNæNæ.Ò4ô‹åü6¹¤ÒG—'5ñ|&>ŸIUGÕÑçdsôí¢Oü ‡?ÄÚD^¨™)bþbJ*ÙS‚)Á”l…X¹Ð×í=x¡¼P^(/”Ê å…òBy¡¼ÐÖÌþŠ;)ô£úQý¨~T?ªÕêGõ£úQýh¾ ,?bº!ůç×óëßÊÈB¨8—À¯ç×»ZÇs{ÝgÇæíÿlÜ‘é~'ìÒÁ=ážpO¸§šÔkÄânu9ÎåûðóÃ>ü­ò3àÞ;É"cn.±¹_ßÎæEµG~=¿ž_ϯç×óëùõüz~=¿ž_ϯ?šÏÄg²“ìyš9Ÿ‰ÏÄgâ3ñ™øLøÑbÿ¼dû¥øFaœ êO¿‘àõŽòBÛJVWâ…òBy¡¼P^(/”Ê å…òBy¡æz^h\×13™™ÌLf&3“™ÉÌdf23™™ÌLf&3“™i?ÿYçTíZ±ïiø¬0~?ŠÅâGñ£øQl^2ÿ¶¯×Òðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OÃo} ¢G™;™;™;™»I¶ã&ä»Õv!óBãßVuTUGÕQuô4=RUGÕQuTUG{ÝtW$ðÁ(×Z¹+Ò|:û¾0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`JÒ'På~7aÌLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdfZÎo“Ëñ»‡dÜc­¿ž_Ãe¶f×=$ü(~?ŠÅâGñ£¿%åÁ’“ÕF€ÙêYÙ?jÿ¨ý£öVó†:ZËwŒgM\UGÕQuT­á1‡KBK3WGÕQuTUGÕQûðí÷?µ‹‘ÜN2;É–v@Ø1Pl„v@È3É3É3É3É3É3É3É3É3É3É3É3É3É3áGñ£™ŸŸŠ!Öüz~=¿ž_ϯç×óëùõüzÙå@†‚ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰Ï´Ë¹¼ôÎ{óìͳ7ÏÞ<{óìͳ7ÏÞ¼£ôH{JpO¸'Üî ÷„{Â=ážpO¸'Ü“Û7uaɎܦ½gf23™™ÌLf&3“™ÉÌdf23™™ÌLf&ùú(ŽÐâ#ôqO¸'Üî ÷„{Â=ážpO³åânu9Σùã«_ßœ_ J«Ýt³ÁÍ7B}wf {Õþøº}\\oÖß“ù—G¹P¹P¹P¹P¹P¹P¹P¹P¹ÐÓÖϪ£ê¨:ªŽª£êhã[§âß uTUGÕQuT-<L ¦„†)Á”`J0%˜L ¦äÏÜí­ÕêGõ£úQý¨~T?ªÕêG+Æ}zö˯/Â׎f77‹ÕÝÄ»ÚrŒspé¾}äm±¿ÅŽ~ýɧ؇ÊR{G½£É¤Ù[ÑžhO´'Úí‰öD{¢=ÑžhO´'Ú“v@Øaíiÿ¨-ʉ}µKg÷ÐÊ…)£ÀÞdÚí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úíé¥v×ОhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´§Úè½µ~3òõ‘WÈ ±®be—e—e—í)±§ä4½VUGÕQuTUG‹w@ži(­S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`Jž7º_ÿR¿^(/”Ê å…òBy¡å¯ ÛÙXÜî‰í·Ü>¬Ý¡(»ÝköhåÚÏ«?¾®F×›õã÷ÇdþåñEî¸Eêí¼ÃÖÞQï¨wôôºnf23™™ÌLf&3“™ÉÌtã"*š‚çCè úQý¨~T?ªÕêGõ£úÑH?y9eß)Á”üegßÅp¤ìoèöݹ۽FîÜ5ê‹~T?ªÕêGõ£úÑ?3H¥ÒGõ£úQý¨~T?ªÕêGsö Ê…ÿúæìübP>J­kè¸'Üîiï°t›S’¹K-j{óìͳ7ÏÞ¼?sF±Ç9Ц}‹™©8ÝôSø Ff|ë¶9Í\€™ÉÌdf23µö”t[Zêhr9~÷Œ{¬±§¤ùûêìõ0%˜L ¦S‚)Á”`J0%˜L }ÔnǸ>nf23™™ÌLf&3“™ÉÌdf23™™ÌLf&3S^dEdEdEøõmþä\í‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´§Ö·À½P™;™;™;™;™»šdrD¶[UGÕQuTUG#C7vÜgšdgdzíëê%óoû¾/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^h–Äk2f&3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23-ç·vï·ƒìçç×óëùõ´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=Ñž"!C{óªqápxÕþÑÝÓê¼}è6xà׿6ø£~T?ªÕêGõ£úѬÝÌ×hÅ¢ÜúÑö‚èGõ£Ùï쯫ÑÇÅõfýøý1™Ñn U©Ý¬ŸBõ¸ât"C¼§ñ­÷­÷­¯ŸmyÉÝ5¾õ¾õ¾õm÷7løÖûÖoß~¶HÍþÑH{Vhf¦þz-‡ÃÇáãðqø8|>‡ÃÇáãžpO¸'Üî‰Ê å…òBOÃÞÔQuTUGÕQu´ñ-À挔·¾­nˆáðqø³OÝ––}øv;î·¤v;6%?uTUG·`€›¶Y§yĽxý¨:ªŽª£êh 3TGw«ËqŽžŽ¯~}sv~1taßÓî“‘  kk­dEšO¨ó7#+"+"+"+"+"+"+"+"+"+"+"+"+"+"+"+‚qÆ8cœ1ÎgŒ3ƹðõìv Z0>/ôu9#ï¨wÔÞ¼¶’eÿèö™`J0%õ¦ÞþÑȘkÿh׃±ÇÙçÝ¥ëÛªÕêGõ£“Œ_ ^¶QGÕÑߪ;ÐúQýè@ù*Œ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1Îçñ‘»ý0Îç™)y¡¼P^èÞ;Ðci+ÆãŒq¿{HCk?ùÃm»‹qÆ8wxÃê¨:ªŽª£Í"é®HÓ:±ß>|û𷀕»"¯«…aœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœËuÕî…¶}ý³ÛÑN²í«áˀT=ô`ÔQuTµÛ‡ßáÉ™¹Ä=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ñëùõ5/Ö-Æð=ÊjE”…sÓ6øKêdÅìÈ}ݽ ÞQ層ËmG ëV9¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”4nž™gç×óëùõüúI¶o ›‡Ík—ÃæÝ=·Á#RŒ›¶]ÆN2;ɶï‡ÝŽv;_íÈm>¡Îß ~?ŠÅâGñ£øQü(~?ŠÅâGñ£øQü(~?ŠÅâGñ£øQü(~?ŠÅâGçQìÍÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLf¦ølhf23™™ÌLf&3“™ÉÌdf23™™ÌLf&3Ó.ý\åÀc+7ZÏêÈÝ>r¡r¡r¡r¡r¡r¡r¡r¡r¡r¡r¡r¡r¡r¡r¡r¡g~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõ¡ý¿¾9;¿B@Ìÿ=’Ù§ÔšÛ¬Ÿ‚—Gý ÞQï¨w4Õ~_/͹!ìš;wö«£Yõ~=Î;êuç®íþ§=V~¸Ê}&ýè®›ìz'ÔQuTUGÝ =)VGÕQuTUGÕј‚×ðáÜ]Ž jî.w=s½¹Þ\_c:ÔQu4u†`\äëåëåëåëåëåëåëåëåëåëåëåëåë1%òõòõòõòõòõòõòõòõòõòõòõòõòõòõòõòõ²Ë²Ë²Ë²Ëûü¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)qWdû-ˆîö¶4Ø5»Ù0€´ÖêC"%Ù;ºe\ì$‹HÚv;v=»ívÜMŸ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>S9eCbQ®Ó Gîöqç®å¿tZý¨~T?ªÕêGõ£úQý¨~ô§ð‰j)^¬?·ïɾ§ú gož½yöæÙ›×þ ¢õØ÷dß“}Oö=Ù÷dß“}Oö=z¬$nù|&sý@3Š~T?ªÕêGõ£úQý¨~t¶\Ü­.Ç›"ö뛳ó‹!–$ð™øL|¦ñ»‡ôG6kë(‡=%Í–´ó~?ºÏ™ëÍõæzs½¹Þ\o®7×›ëÍõí¯áam(ïQ?ªÕêGõ£úQý¨~T?ªÕV># Ÿ†OÃÏM÷˾&¡v@Øa„v@`J쀰"º‚Nv¹[vk>; 쀰Â; ª'pLNUUGÕQuTUG#ÃYcvù½p‹1òá°k¼’9쀰âÐê}s};MæNæ., Ê.Ë.Ë.Ë.·ë£~T?Z+øL|¦ì}ˆôÝæzs}6¶ZfY ~=¿~œÏÄgâ3ñ™øL|&>ÓI­ÕPyy&y&y&y¦Ú©œûþøº}\\oÖß“ù—Ç!Ö«U·ì) ŒEoí2w2w2w2w2w2w2w2w4|> ?ýlÖOÏÛkÅ å…òBëXY¯ßÏ‘·ÍõæzûGÛ_ê.]‡†OçáÓðiø§íìUGÕQuTUGÕÑâè±LEæNæNæNæNæNVä9™2úè¾Èe„ÝïÄ‘¿s½¹Þ\o®7×›ëÍõòpüz~=¿ž_ï^¨{¡î…ºê^¨{¡ƒpæôQúèõ|¹´k<ÚZÙÑú‰Ø5n׸]ã[‘Ë͆~:ªŽ¾TÆ>J¥ÒGé£ôQú(}”>J¥®.Ç9Ž4¾Âæaó°yØŸ‰ÏÄgâ3ñ™øL|¦8‡ef23™™ÌLf&3“™ÉÌdf23™™ÌLf&3S^j»çä™ä™ä™B».øõÁ ÅnßèŽdÚí‰öD{¢=ÑžhO´'Úí‰öD{¢=™™hO­oAt޶4¨>¸Ï4Àù)¹P¹P¹ÐZ}yÅ[<ôQú(}”>J¥ÒGé£ôQú(}”>J¥ÒGé£-mÎ.€ŒÍÃæÕnÒ„ô`œw¯H§gÂgâ3¹sמÀ0Î;‡(3 ¿LVDVDVDVd(~€Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”ºœß&—ãwÉ8dqm{æTí®H³y°§¤tiøµ¼‹Ì¦SRìq:„Û~ƒí{ÊÞL ¦¤þ›QGÕQutïè¦UGÕQuÔ\ßž×õ£• X íÙÍnŒsøì‰`£dþ S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦$bZОhOõWc\¾>ðk;pCê×7gçC4l|&>Ÿ‰ÏÄgZf;>~ —b>Ó@ ‡o½o½]:mµÕ.}ŽÃÇáטkü(~?Šmÿ hOÝøJóù¨£ê¨:ªŽª£5ìñ°¬Ã å…òB8¨Égâ3ñ™øL|&>ÓsæÖK}䙫»‰<“<“<“<“<“<“<“<“<“<“<“<“< Ÿ†Oçá÷Xå‰)Á”d¥"ÂΨ£ê¨:ªŽžfáèGÕQuTUGÕÑÆ· r<\?ÚΆÅÖ½¶žÕ‘ü€»ËÉ;º.Tõã£âÞÑýîÇ>ü¡Þ ùú@gm—Î#/”Ê å…ÒžhO´'Úí‰öD{ZÜݧg£ÍLf&;ÉÚÄ´dmÝ9"V¼}”>ÚθFoCÛãœu!Gìá m‰è[åö=EÆÜ¼ùãëjôqq½Y?~Læ_è£ÛªÊRóBy¡î…Ê×W¿‚¬ÝUG»>0ê¨=λé±kަ=Ñžô£´§‰ûõóè3(^²é°ïɾ§ˆÄf®†öh®7×›ëÍõæz{ó¶-–;wîÜÍ>Ù±›7ª{×¥Ÿ†ÅâGñ£øQü(~t|$‡ƒ{Â=½H&÷„{rçnï¯oåñ£øÑÌs5×wÙ®ƒìCå3ñ™øL|&>Ÿ‰ÏTþ ìç3ñ™v?‡WÌêGõ£úQý¨~T?ªÕºéè£ÏcáìÇâGñ£U^ ?j®_.îV—ã|Ü_ážpO¸§ÀÌaož½yÏÈ®ª£ê¨:ªŽÖ{+»tè¯Û7v;ÚíØ’ùíqŽßCRGÕQ;ÉZï@çþ)L ¦S‚)Á”`J0%˜L ¦¤ÝA¾Þý¨~T?ªÕêGõ£úQý¨~T?Ú}CS‚)Á”`J0%ÉåøÝCJ+ÿ4B³*ÑuÓJUGÕQuTUG«(”{¡)¦d÷Pj91l6¯ÚËIçáÓðiø4|> Ÿ†O{zmÅ>üýŸVs?«»"]ã«»Ëͧc®7ׇêI.‚¹_ï~}¤\¨£êèrêÅè£å¥Ë{–]ZöüúNön¹‡j§Ÿ™ÉÌdG®¹v;Ö,ª×˸ùÖûÖÛSÒvºúc¹Ðˆ‡dÿ¨ý£ÏÐ0ÎgŒ3ÆãŒqÆ8§wÔݾqûÆí·oªbèöÛ7nß´úh‘n‰4 Çüf°yؼzú(}ÔÞ<™;™;™;™;™;™;™;™;™;™»øN 3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ò: »,»¼þ-À™™ÌLf&3“™ÉÌdf23™™ÌLf&3Së[`oÆãŒqÞ{z„hO´'ÚSßs~ö6+Œ=Îeõ¨rkî3¹Ïä>S ­ä uTµÇ9ÛjGn+žîçã…ö;/­Žª£ê¨:k¶ÔQu´þn4ovÙIf'™dv’m«pß½œßö_a©ÕêGõ£úÑO[n·äÔÑ pò½(ùzùzùzYYYYYYYYYYYYY‘læäãÜÖæiOÕ¸À å…òBy¡5íõnñÐðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðñ£øÑL;ñ8´}O»×¨swÍùÅ›7?RïA¥ÒGé£ôQú(}”>J¥ÒGé£ôQú(}”>J¥ÒGé£õÕ™‘õ^ƒì£~m?½Åò뛳ó‹!6> ߎ\y&y¦åúúsì3'Ï$Ï$Ï$Ï$Ï”ÉQ2ÿ¶ïëG3Õäõ2nf&3SÖ¯üñu5ú¸¸Þ¬¿?&ó/4|> Ÿ†OçáÓðiø4üÓduTUGÕQuTm| "‡™ãß uTUGÕQuT]ÜÝ'ã+> Ÿ†ßNžtqo²Ë²Ë²Ë²Ë²Ë²Ë²Ë²Ë²Ë²Ë²Ë²"¸'Üî ÷įç3ñ™øL|&>Ÿ‰Ï4Ž$:·ï†|ý‰+€[ýÖ‘Ï›Ê å…òB'×óå2TCì)Ù½vgïÈèavs³XÝMx¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê -¥s{óšA§§ s's'sÇgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ)˜f;pÓ˜ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ý–Ì>uèÅöæí^{óìÍ;T.äBåBíí`Ýšr]÷9íq–˜ÎoϯoÎÎ/†¹}ë}ëë∹¹°XzÿÇ×Õèãâz³~üþ˜Ì¿<ò™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3¥ºg·×F­ží‰öTä=OþÍÈ…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…Ê…òëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óë瓎(WÓ›å×óëùõ{ï@-Pû!ÉÜÉÜÉÜß=$}Ún™;ùzùzùúÐx¦M.ÕÑv}ÄVÈO&òÛ÷„Ã7×ïϪ¥~Á å…òBy¡¼P^(/”Ê å…š™x¡¼Ð8'kf23™™ÌLf&3“™ÉÌdf23™™ÌLf&3Ó¶ö@![Ïêê§HíήÛ÷dß“}Oö=Ù÷dß“}Oö=Ù÷dß“}Oö=Ù÷dß“}Oö=Ù÷įç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿~”Ì¿íûÇ¿¾9;¿B@´ïɾ'ûžì)±§ä4ñAUGÕQuTUG»1·AnÈž_¼yó#ñgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8Å8xÿñG’›.¦Óé%M§AÃ/9ÍOßž óÜ~ "Ï›Yv;!˜ýÜ›¹× UŒÐfýY;¹/ù<É›éͬ½{jf&Ï„j”¯yd\;°ûÔ×¼ã:ò (¨7Ó›Y˜ÌW¾æ¾æ¾æ[þ0•–ò_…¯ùìæf±º›œN'›Íûª>rY¼¯¹¯¹¯ùnéCW §íÿR¨FÃGÖpo¦7³@<|Í}Í}Í}ÍÛ¿J»Ù|¹=˜ÍÛ1±]×OÏì6Wô™úL}滇´Ñ>ò2#w’;~u޹êk‰xq'{xR¾æ¾æ¾æ¾æ[¸ZÍT3»6¨DÀ`¨ùÚt"QˆDG,_m+HfŸž³ÍÔdš/—|óQŸx< (HTÛ0í˜vL;¦½ÑŒê3õ™úÌüèaTé3õ™úL}f—ÔUwìèh”UJûrq·ºçùAL;ÖŸY~KÌæfs³¹Ùü²÷åKz¦š©fª™j¦š™Ž™ƒ,@¶?sOÜAÁ¡àPp¶aÇ7€I[H[Ð3¥-¤-uÀln67››ÍÍæfóÎ¥E±½X#¬Ök„5Ú¾øÌŽ3‡¨3û3ƒ•äÐc“ê•ê•ê-§87ÔºI¼ô0J;¥ÒNi§´SÚ©F]¹M—ªlÃnwjÒÒ¡aŽÒNi§´SÚ)í”öÃ{ú(íÕ*CÛcº¦WW\]©¿úL}¦>SŸ©ÏÔgê3mÃÎ~ÍØjÙO/ç· r9ŒÞ=AòÝ(8œ+Ò»îkç‡ÙRhKa<ß­fª™j¦šÙÙŠÚìj³k¾Õ¶÷Ðj:¤-¤-¤-¤-Öן| ÜPsÛb~Šçb2™€L@& þ¹5SÍT3ÕL5SÍ,ž@„t U/ˆ[½gÁäNr'³¼·´…´…[½E3ñ—ƒç>¤-¤-ÔLi i i i i i‹*·s×ÝPÛû^ê3íîõc1››ÍÍæfóÙ§îNkk„|2››ÍÍæfs³¹ÙÜln67›ß­.Ç9 2¾’’’’’ꪙj¦š©fª™jfGå 㟟¢•’’’’’’ZÝMlv ½vt`ÚíèX.±F5;Ð6ì}Ÿ‰Ï „©üzšÍÍæfs³¹ÙÜln67›—¿‚AnmœO§gçy‚fh3BÚBÚBÚBÚBÚ¢?ô¢fª™j¦š©fª™îNˆiš€ö?–6!Ø„ÀäNÆ[H5SÍíáNr'¹“ÜIî$w’;ÉäNž’ç² ÛÆ-·‚µ«+Õc)Ÿ…«+®®¸ºâêJDƒP3ÕÌ`XIŸ©ÏÔgê3mvÝ)·.UOñ€x@< ˆÄâñ€x@{ß‚A¨3}¦>SŸ©ÏÔgê3õ™úL}¦>SŸY³8‹ØéßÜlÅåÍ=5ßœoÎ7oå¤v+‚BÔ™ÙÜln67››ÍÍæfs³¹ÙÜln67›ÿ…,«[Ê.¼Ä/Åf×Ð[¼u›õÓó¶ä¸jêÜrÈ= ÷€o|Í}ÍO_&/¡&¡&¡žŠS Þ|‘à .UELáÀ̺YÜÝ'—ãwÉøÈÇ6}{6ñÏQÍT3ÕL5SªwçÃJõJõ>Kö5_úÌšÌ{n·lܲqËÆ­í‡F#‡‘ÃüIÚBÚÂu¿üp©Ê¥*—ª\ªr©ê>uŽx@ýÏ}r'¹“)ÃÙÐ ð™øÌˆÐÏâñ€¤-zbº˜v³9¦ÓŽiñ‰LBMB-£gÇW¶ÇØc{Œí1¶ÇØc{Œí1¶ÇØc{Œí1¶Ç4û#üÒ3é™ôLz&=“žYˆmX#¬QŒ¼tA ÖpE.%`°FX£ú`âº_…×`Ú1í˜v}f¾g¶#â£fª™5߉Ï4›«™ÙZÇ£‡‹,VÖùì5²×(„˜ÙkT×{*õ+r  úu¹ Ðzz$ú[Š;ÉäNr'¹“ÜIîdM9í%#Û„`‚M} A}¦>SŸ©ÏÔgê3õ™úÌmؔҾ޾ ôLzf¾–µëÐrÑÁ,{H5SÍT3,ôLz&=“ž©ÏÔgê3õ™ÃÂ< ˆÄâñ€x@< â›>SŸÙí¨ÙÜln6W3ÕL53ËË}Zþo‚ .¸ à‚€ .¸ à‚€ .¸ à‚€ .`ÚCXáëÝ’0››ÍÍæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln6_Ü­.Çù†êñÕùtzqv~‘ï’-=ÌnniÿevíãS>èï?¾Èc—ê•ê•ê•êE#‡‘ÃÈaä0r9œ7£dþ-™Ì–& ü\ž«+7oÎ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ßœjD5jë‡T#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕH(Ð+9 ÎϤ„Úþ7Ôc²7Ó›Y¤hy@< ˆÄâñ€x@< ˆÄâñ€x@< ˆîˆÒ窽ù^ÀDÍT3ÕL5SÍÕ âõ|¹ ­µS3c®¸“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“”vJ;¥ÒNi§´w :äSSÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´ƒ [“¡ˆei‡ÑÃìFÍT3ÕL5SÍT3wÑàÆ·a9¿M.ÇïÒm”‡ë„Ãòæõï©ì¤ì¤>3È®”²­š©fª™}Ø ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 ‡è@t :ˆD¢#¶Õ¹Cö [FI»»p«wîpEÚéæ;a67››ÍÍæfs³¹ÙÜln67››ÍÍæfó»û4V3}{6æI‰O§MŽÒÒÒÒ§tôLzæ"ÿ,I[H[H[H[H[H[H[H[H[H[H[H[H[H[ :ˆD¢Ñè@t :ˆD¢ÑQíDjª€HÇë²ÍçäDL(wÃäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜÉ— ´'º"š¶ËmÞb·ÃPû*ùæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ÏzB×ý\÷kÎT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢Q¨FT£Ó/{•þpÝo_«¡gÒ3é™jE&*´iVÍT3]D}÷ž„=NÜrß¼K² û™C¢¼¹¼ù|S·“’¯ù.âü—tú,~a›õS¨‚›€L@&  h÷+Èß53At :ˆD¢Ñè@t :ˆD¢#°?p÷PB&*ˆ;[©-½ ˆ”¿5±2öó¡gº"½\ª™j¦š©fæ,@G§uˆ pA PGŠ×Ê hï ½™ÞL·-vàWW1´cÚ1í˜özÓråRUg§fª™j¦š©f6ꀚY{”vJ;¥=¨B”uBŸÙ-ê3õ™úL}¦>SŸ‰èèòìC !ˆÄâuÑ6!,ëûÕL5SÍT3ÕÌþ‡š©fª™j¦š©fO ¹ÈQÚ¢K¹áñ€êïßœoÎ7盟’Kâ›óÍùæ|s¾9ßœoÎ7oÌåBßìÍ0››ÍmB(D«Ãél³¹Ù\Í4››Íwn—šyüדoÎ7ç›óÍùæ|s¾ùên²œß&—ãž²-ßœoÎ7ïóõÔgê3õ™úL}¦>SŸ©Ï,ƒÜ[Ça°FX#¬Ök„5•L=34nyÑ@Ÿ©ÏÔgê3õ™úL}¦>SŸ©ÏÜûÐ3[-">ŸùSØNʈr@]_T¬Ök„5²×Ÿ¹ÕªO'=SvÒéå2ò;P3ÕL534]˜ÍÍæfó€Á7ç›G~j¦š©fª™=Ç ³¹ÙÜln6ï¼Ógê3õ™qæÈ¯§¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼ùõç˜9JϤgÒ3é™ôÌd|5}{6æ;Ö?e{ÆÕÌVÿx2uf67››ÍÍæfs³¹ÙÜln6×g¾DŠVŸ©ÏÔgê3õ™úL}¦>SŸ©ÏÔgVO Ç±ÑVhÎŽ;:ÜêÍß·zc+ðªf+÷ÐFÉü[2™-w«ËñÆþLû3·Ÿ•Âaýðþã~këS…Ž|ªlÜzHþ0ñâÍì¯؆½ÿ«öŒlÖOÏÛE"’hd'õ™²“²“²““ŽaËÎáÖ‡ÓŽiÇ´cÚ1í˜öOËÎr¯'Ök„5Âa°FX#¬Ök„5Â=Kƒàñ€ì‚«—M³ùÁ´½Ûn[ Å>!:øL|& ç¾yWÒÓ>»¹Y¤:_Îó_ŽÕL5SÍT3Õ̸|!;);););9;$Õ; }¦>³U53ÉWv²GʘžIϤgšÍÍæfs³¹ÙÜl^jX#¬Ök´‹l̶ z&=“žIϤgö_Πfª™j¦š©fª™éj/{ì5* w'_üM°£#Ð{Ÿâ¡ ¼™ÞÌãÏàR(í”vJ;¥Ò‘~l)´¥ÐdKav äè¥>SŸ©ÏÔgê3õ™úÌê säÑÕWW\]qu…;ÉäNþöÌ|îNöï¿l©ujR½åÃè4¤¥z¥z¥z¥z¥z¥z¥z¥z¥z¥z÷~.¢¶ZDQ]Duk„5Âa°FõôÙfý#¯x@< h»pŸ¹Þ¾ jfKyÂ%“Ùrq·ºçƦTï²#rÝÏu¿­ªÏÔgª™úL}f¹‘¡ø8è3õ™vt  Ägâ3·s ßœo^R·²“²“²“²“²“Å fÜŸò&ØR(AåLìÍÜïØŽ8Ü`2™€úÀ6!Ø„`‚MÜIî$w’;ÉäNfWq}}8RŸ©ÏÔgê3õ™úL}¦>SŸ©ÏÔg>wµ‰KU.U¹ PöÈaä0r9¼J´?ÓþLû3íÏ´?ÓþLû3íÏ´?SHH(È]ÛÑaG‡ _¶×ªSŸ©ÏÔgê3õ™úL÷ÍCýÀëÝtãñ€x@fs³¹ÙÜln67››ÍÍæfs³¹ÙÜln6/ž€„ÚŸû&ØÑüy3ÿô ¤ÞLo¦í1ÛwÀö˜ÚÁö˜lÏÁ(™Û߉¡fª™j¦šÙþ¨™jær‰îòaìÏì–cˆD¢Ñè@t :ˆD¢Ñè@t :ןíi·§Ýžvî$¥Ò>Þ(=„—QÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)ííôÕˆjD5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5² Á&›¢=a~ÓÛ&›êAu6d³~ e²eÉìÓRŸ©ÏÔgê3õ™úL}¦>SŸ9‰Yq=>“ˆD¢Ñè@t :ˆD¢Ñè@tPÚ)í”vJ;¥ÒNi§´SÚ)íÛw V©FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÑ6ºt©{1Nó/J‘Ÿû)ü»ªbTÿQU” 9¼mU?7_s_s_s_s_s_s_ó4†Ý»Áp©ªË!´ Á&›vß”Ý|3JÚú¡ (Ø}Õ£[¡Ç6}{6Ìäh2™€L@&  È”ý šR2 ‡‚CÁ¡àPp(8 G5¢Q¨FT#ªÕˆjD5*¶Øã3ïî“ñwòÅß¾9ß|KxÿñGbȽ™ÞLoföÉžö–§àPã¥È¼è<…‚«žKMM-?.;úšûšûšûš·< ˆÄâñ€x@< ÐÝêr¼)NÏñ€x@.´‘7—7Ÿ/—GªX”vJ»‹¨.¢ÖÕn;:ìè¨WEz&=“žIϤgÒ3é™ôLz&=“ž9½\MϤgÒ3ówÀÝIbNQɃgHÍT3ÕL5óPÔÓ^Mnj¦š©fª™j¦Û6»ÚÑÏ|½kz²“²“²“²“²“ý#ýj¦š©fª™j¦šY<È5’=“žIÏì“n’’’’’’ZÝMøæ¡×Àln67›GïbÉNbZZ5SÍT3ÕÌðne}¦>3,dÛÓnO»=í5ì¬Ü­¬fª™jfÃØj4GN< ˆÄâñ€x@øé ™]pvÁÙgœ]pvÁÙ˜43óø“¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼9w’;ÉäNr'¹“ÜIî$wò”­;6»RÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNißû4É›Gp~{Úíib3ƒì¤ì¤ì¤ì¤ì¤ì¤ì¤ìdý Ø9lçðö»pЬ?FÉü[2™-5ÛOŸ©ÏÔgê3õ™úL}¦>SŸiçðK(ÿúL}¦>SŸ©ÏÔgê3õ™úL}¦>s·ÿ1vôå/Q©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©ÞÚ\pØ^iaö¥k·Éh–Ë1¢Ñè@t :ˆD¢#êÅŸœU¤gÒ3é™ôLz&=“žIϤgÒ3é™ôÌŸzŒfs³¹ÙÜl¾ÿjù™˜ˆÍZÎomÜj½Gî@¶ ¡õ,Sn›õS, ×HÂùšûšûšûšûšÏ'jfëwpLSçk>ꓚ‘7—7—7~y?eoÇÕ‡÷óßIñ?Eä©#àCWW"˜•«+®®¸º²?Ú3_.ÕL5s»‚jD5¢Q¨FT£ÐGñõ&2È6lÙÉ­§L5ªpÞüY¸TÕã#OuŽÄÊž@öFD@Ó·gÓéº4ˆÄâÙ9¼}zðj¦š©fª™j¦šiO»=í»i-@®H[TjûæõO¦>³#£uHþ°=&Ø}Qð™“ÙrQ;ÁäNr'¹“ÜÉFè4WÔL5SÍT3ÕL5Ó6ìHä Š&˜ÍÍæ6»îœ‘.ˆGŸ©ÏÔgê3õ™úL}¦>³a†w¤¹TU=¤Ró££×gê3õ™úL}¦>SŸ©ÏÔgÚ³÷+¨â§'PyúL}¦>SŸ©ÏÔgê3õ™úL}¦>Ó–Â 3ÈÄ5Âa°Fí_vtØÑýòÚRX<9 Ú+¢fª™j¦ši¯Ñ®£vuÅÕ•g]¤Çgâ3C}¦>³ÇÄAϤgÒ3é™ôÌþ…š©fª™j¦š©fV-¶+Ò®H»"½O_Ñ3é™ôL{Ú£§Ôå€Z5SÍT3ÕL53_¹;ÙG`ÚÞxi>¢2Ã7ç›óÍÃgâ3ñ™øL|&>ÓÝIw'w³¹ÙÜlþé9á*¬èJ„a°FX#¬Ök„5ZÝMÜ7½Gvög¶Ì÷áÚ¬Ÿ"O5â(x3½™G_§´SÚ)í”vJ;¥ÒNi§´?ì1¥»ÅÃÈaä0w’;ÉäN®¯?ǼÃÊ­1+Õ+Õ+Õ+Õ›?i i‹Š ÏÔgê3õ™úÌú§‘oÞr±zèrCuˆD‡‹¨.¢Ö¹ò«ï?æ%¨¸Ár4£bê£È›'—ãž?@o¦{@õï5 ‡‚CÁ¡àPp(8 w·ºç˺삓7GtÔLhJ;¥}÷…Ì¥½Q2ÿ–LfË…šÙ‡…¦gÒ3« "Õ;ñM³ÜIî$w’;Éì¿ÍFÍT3ÕL5SÍT3¯#ñV¾9ßœoÎ7ç›óÍùæ|s¾9ߜĺxìß µ@§™ÙGE¾BÚ¢|!CšžIϤgÒ3é™ôLzfW'úzºTùêÅWƒšŽXtæRUäGiœ]pvÁíý8ìŽ51Ń꜅}Í}Í©F;Ïn§ Q«Ü#1ŸŠW—’’²×h?úEi§´SÚ)í”vJ;¥Ò^¶ÚR¸ý.Då©XúL}¦>SŸ©ÏÔgê3õ™úÌ’^Îoõ™úÌPMp«×­^·zÝPsCÍfW7ÔÜPsCíG¹ODϤgÒ3é™ôLz&=“žIϤgî§^ä€ä€Ê|ÏÉ…PûW`³«Í®6»¿6nUÅÆ­Ú+¢fª™j¦šiö®£Æa°FX#¬Ök„5ÂaBŒ+ÒÏwµ†J7ð€x@< ¨?u¦fª™j¦š©fª™Å°×HÞ|¨‰LHHHHHHHHHH¨¼sJ°FX#¬Ök„5Âa°FX#¬Ñûy*)¬\ªr©ªÜáºßrq·ºo(í”vJ;¥ÒNi§´SÚ)í”öh†ÝÆ­yWº‡‚CÁ…ú(î$w’;ÉäNr'¹“ÜIî$w’;ÉÜi-£dþ;ɼþzäÍåÍåÍåÍåÍåÍåÍWw÷ÍC¯Að«Ó-úÌtò®Äx .'/Ç(8 ‡‚CÁ¡àPp(8\Ë¡9ŒñØg67›ÛÑo¢ŽTix@< ˆÄâñ€Ê_A3tÃj<ôLz&=“žIϤgÒ3é™óIùˆë¶ôLz&=“ž¹“žx@µw!²ñAÍT3ÕL5SÍŒÈ/6!Ø„`‚M6!Ø„`BK—êŠÅOßžM§Cl5—ʶÂË›Ïnn©Ÿ,Tý ³±¾¸ðÁŽ;:j/†ì¤š¹,ýd5SÍ Ùªå÷CÞ\Þ¼è$ô™úÌV©Ðg¾j¦š©ffä®>³‹Þ5›ô™uÃl®ÏT3;çQ5SÍl`9j¦š©fª™± `ÅqFU¬óéôâìüâEm›€L@Ç_Îòf†È’‚½”j«±GDäÍåÍ;o‚nƒu< zf0€[Í£fs³¹Ù|™é¢Îì‚ —’‚%~jÃýwÛRØ?¹…‚CÁ¡à~«2¡â!m‚Ctû n©fîý6:[y HB­VÀâeîÆWj¦š©fª™í_ÙÜln67›wÙ‡||}¦>SŸéŠt½N :ˆDGdK4ßœoÎ7ç›c°Fi"£±ñÁ*yÖ ÖH¨uY"1Ÿª#‘’Êžr8ôz½Dw’;ÉäNr'O·?P¨FT#ªÕˆjD5Š\YLc°T£ˆõ[õ„‚CÁ¡àPp(¸ qXýS3ÕL5SÍT3ÕÌÓ'ˆÄâñ€Bø“mØÉ×­^ ®¡÷ÚŸ¹GÔòÍùæ|s¾9ßœoÎ7ç›Û†mvä[Psõ:îbIõ&—ãž lB° !‚#I¨-w«Ëq>ŸÚRxd{îkîkîk^b¯R½R½R½ªÕˆjD5Ògê3õ™úÌõõç?¿»°sx¿)±×(Ëcx3¨Ã(™K&³†Øækîkîkîk®fö®ÕL5SÍT3ÕL53 ÈÙ‹ˆ2hæK<"9 9 ù2x2YHH(øL|fë58Òǧ´SÚñ™®ûm뉼¹>SŸ©ÏÔgÞM\ª ­jÑg¦˜ý™Ç«4vÁ…–5`Ú)íûÙÜln67››ÍûÒj¦š©fª™j¦šéPMŠ ˜ÍÍæö´oßÎ ­úL}¦>SŸ©ÏÔgê3õ™ûÈ@u¤ÓŽiÇ´@ ßœoÞgÕ’š©fª™jæìÓv5-…‘‚ Ï|HwK‡¿)fs³¹ÙÜln6/ûiL;¦ýèµñÝm ·-ܬ>,¥Wì{@~£’<ÕL5SÍT3CˆÖ¨öTô™Ùæ9|æìæf±º›¨™j¦šé¾9ˆäR•KUö´ÛÓnO»=íö´÷·÷ÕL5SÍT3ÕL5Óm‹|ËmH_•ê•ê•ê•êE#‡$‡kæå§õÍ÷fÓ]ý/÷þúîÜÔh¹XÍ'÷ó¬]Žß„ØöÌ*þ2Û|žoFÅÿ5¹^Î'«Ù—ùåøz½J«¯ó›ñ_ÿÑû'­ò?Oë/–˜O›ùìóäÓüv½Iÿ­fwó=Ô¾ûÏò¯É‡ÕíºÍçW¸Ôž­æ£Y,—‹Ù—Çà§6‹?èûÍ:ý/þYF¿¾^]%¿ÞMßž_¤»kbÿúü¯«ýÜû<ËÖè”ýX¬²X£Ûô‰O“ïËô-’ô ïõøê» £õj´JÏó¦îÝüìì,ÿ“ÿÂÀ?žØ1yŒŠ¨Çrö}ý5}7nßÒÈ£§ÅMr9>óæ?ŒGŸÖ››ùærü¸Xþkúz<®—‹ôo)þêöã$ÿœ¥¯ÉÍ"Y¬WéŸ7ù~9ÞÌ“ÙbUþ½³Û$ýWtþ­ÁG²M£¬—_¿¬F×ùÿUü»\Žß¦À½Wr[e;þE?Ì¿è~>Kbh„n\æ}š]¾Û¤¯åÍ$ýï¿.ÿaŒ‹÷äiûËþ´^¦ÿdŠWgñ?Ó7çüm<ǹ÷ó<–ûë/³Õ÷ŽŸØö‡öz—íþ¸Ÿmæ]?úWÿýÓfq=‘G4`¢õýìq1ÈS{&gÓü6u4‰Í÷µO8+šßÚ–ˆeþëk—²KâŸÙÇQû_GŠAõßûv½N èájÑøÚÿ{~¢‘V=Ñv/µäˆàµÍL*>2 ó~¾ùüx¿ØÌG¿Ï’ûÙÓì‡*¥oÿú#Uö¿ýrþsÚ_üèÅôߢ1âUmªXp­W5ðñmô´1ߨtS²IYU¿¸ÃèUõªFÉp Àá%!ËGÐwÍL«“>ÈõªzUw²³^U¯ÚµäéÊ‚yU½ª^Õõ Òž]L1j4€P¦1Ý‘[ºïIêORön•ú³•D Pz£tx(®WÕ«êUõªÕzàç¹8ªªªzâîm½ª^U¯ªW ¹Õœ{¥WÕ«êUõªzÕm„÷WUUUUUUUUUÕz%ìqƒq(Ћ@ P(ÁOБø¬ªªªªªªªªªªž´ÎZðxñªn¯*kµ°ˆ®JW¥«ÒUéªtUºê¼‚pµpµE@ûý¤í*y˜ÉΪ#`UUUUUUÕð‰XájájájáêQÒ‡À(z©ð2G1@1@1ÀÆ·DU  ›ƒý†ªš*éyMJ pï²hÏh®“DVýÓUéª}ËUÀé)­°PòŠ   ¼@‡¬BV!«UÈ*d² YåÄšUÀ1é•Ðõn«ŒUƪCÉ$\-\-\-\-\-\-\}ýxöwájájáêngPß<^¯ŠW½›,ç·ÈªÖ—d~„@ P( àSö1”¤P(G“Ç €) 3]•®Ú¬–Ñâí—9oú¸UzU½ª^U¯š©½î‡Û`Àl§•_nUè­àV…>®UÈ?Vt( €îP¶ ¸¯Ä1Ô#[%[%[%[•æ³õªÙk Ðce‡M€xU¼êÙtšÍ™ €@ Pv•ÐÒÊó‹!¾­­†€À`0R¬[°nÁúNô,T [«›ý‘³{ÏÃÙŠòt¾ŒUÆ*c•±ÊX2x¯ªªªªªªªªªªùàzZb¬¬@«‹w€±ÊX­U €Àˆ·Ýctƒ†ýªö«Ú®b¿ê!I†±º÷„«ŒÕÈ&Ï`ÙY5QUUÕ!e^½ª^U¯ªªªªªª[n¸°>‹Eº‘+ìq™±ÊXe¬2VϾ˜NÏ«ŒÕd2[.îV—ãÍ‚±ÊXe¬2Vw³¦õjÍn»#}Èt—د‘åœÄ*b±ŠXE¬jÕ)b±ŠXE¬"VÕ?n¸P¾ƪüQ¼b€¯ŠWÅ«âUñªxU¼*^¯ŠWEV¥RÝ%±ŠXE¬"V«*yÆ&À ~Ý1 €¸þ?Þ/6óÑï³ä~ö4ûþ#ÙCÄ*bÕn¥‰Wu¯“ï\ö"\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\Ýx6Ö‡ÀŠÀŠÀÊoCO xÕ ãÂJrÙ×”c°f]ZŽ•VVÍKêV ŠA€ @ ‚A€ ÀèÉÓm£Ë¡moÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UȪõSlÍYØ•[Îo1­qršÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*bÕúG‰z«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUĪÐtܹ ÞáÊb%ˆ«WV?{ì°À{vbóáï£õjÍïGtG„»UîV¹[uÈdz]e0Ù„|½ª^U¯ªWÕ«êUëÕA"¢zU½ª^U¯ÚK!§PСług+^I¸þìðÞ[С«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUºjë «6‰€€ÀÝÄáÊØç2™ض’è n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«~ëV›¹UÜ*n·*`¨l](nÕ~Ì-€¦Ü–1G® µ_Õ~UûUùxn-JUxÝØýjBªªªªªª­ÕCò!ªªªªªªªªªªº7Žt( n$n¼’                       °w”¯” ¹Uܪ`µ”ˆµR'¿È*d² Y…¬BV!«º•ËÑÃìæf±’X•XMÆWÓ·gÓiž‹:Ñý•­²ÀUUUUUK€àð¢ƒ,•›~|(ÏÂÏÊn³€«ÀUà*p¸ \®W«ÀUà*pcUŸ±®W«°2ŠXu1„ÔRôˆUž¼SUUUUUUUUs’°±šc9¿M.Çïd² Yµ£mcCúŽ4Û0UUUUU{àACýr¬W³^ ¯j½Ú!*“°o(tågTUUUUUUUÕídÊSUUUUUUUUUU«€­¶ 8«UkÙiÑ’ KÖ[cæ«ÀÝ‘Ž„^U¯ªWÕ«êUõªzU½ª^U¯êl…•VVXYae…•VVXYae…•²UVVXY!`e…•VVXY!\-\-\-(((˜Ì¿%“Ùrq·*½“éÛ³é42'Zj¬7;ng+š«,X¼b€b€å‡9Ô¥©ªªj9Å;[aPÓèì#snyõh?­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕŸ#¥ðß‹·eßS–V>¿ÍÇ«âUñªw«€c‚¹ªªª¾Ø»¡8r,¾ZYò`…rcõÙ©Ü‘/(x€±XiÍU]Š\¥p¶"%6ÇW @¹Ëàý|óùñ~±™~Ÿq«¸UÜ*n·Š[Å­âVq«ö7AÙ`€=öØ`€=öØ`€=öØ`€=öØ`€=öØ`€=öØ`€=ö «UÈ*d² Y…¬BV!«Uõ ÀÊ.0 •CÌYè—ƒWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^µî˜àUw4…³.);5PÀ¬7Oùdðª…ÎàlEù‚t¾RRªª@¯ dªjÓÈÈ{Ù*½ª^5ë¹úøœÛ¿/úË‘­’­RUe«d«d«d«d«d«d«d«d«d«d«d«d«d«d«d«d«0²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²UR²UÅh¢‰xU¼*^5À™6ƒS„(¤¤TÕ»Ér~›\Žß=$ãc·Äê¾JÛ•õ–øÿ³w·Ím¤Yšß_»>aGضH¨U­Š%­öØUÖìÆÔx~ ‘IÐ`j(ùÓ;‘ äò¾I ÉÒŒ±O=êÄÉs®ë#          °Ä«F€w[«ÛÝrÞI @ @ @UUU³üÇôíÙtšWÄIEUUUUUUUUUU-a×ê–a,’;TšÙ5@×]<”:scµhQÜX-ß7VÛ†ãz.°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°"°ÂXXXX‰tÅÍ[&G¶Î¬[°nÁºë‡P7g+öUZg+b,Ã:lñWß«ÈhÁËå}.VbŽyZÊ%€}Õݪ¶?¸<ªb™¥¤¤¤ˆ¿ªªªv²Ün¬º„ûôªÏ'}d«ì°À{ì°€[Å­"Vq«¸UÛ'€¼ –V&h5´Z ­†VC«¡ÕÐjh5´Z ­¾§«ÒUéªtUº*]•®JWÍXàXWtxÿ8\®W«ÀUŒUÆ*c•±ÊXe¬2V«ŒUbSƒ L«««««C~qUUUUUUUUUUuóŽ¡hË]N®,"ëÕö£ñÖ«5žc•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒÕ|ƒññÔòFÒjb%V…Öj°X, `¿D¾ÎV„ ¦U¡«lU^Vm˜UÁ†C¯jÁzëÅPUUÕÅK®3‚) €@&‡ÇØ¡¦< €À`0 @S@wd½T+"д^5ù¶¿ ~úöl:ÍÃ&'þžVVVVVVVˆUÄ*b±ŠXE¬"V«ˆUĪËq¾ g|…¬BV!«UÈ*d² Y…¬ª=M®!ï–G.W»\írµËÕ}‹ƒ±ÊXe¬2V«ŒUÆ*c•±ÊX5_'£ßféýìiö}ÊÑÊ ·êuÅ" ‚ù„VC«ÜÇhP¸y±´òrüî!³ÐÔñöë\À’õçÇ{ @ ãº°ÒøQ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬dqÞ‚#^uГL,Àl÷.ïs¹°z+Ü<•ž4 €À`°X, €À`°X, €ÀhÄÐ꽩sg‰±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«’ɦ+<ô2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ªÖJwÙ*Ù*Ù*K+]XqaÅ…VêýR×–HV\XqaåâZÁ­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·j¿+dŸ±ŠXE¬"V9<äÈ­ªªªªªªªªªª¹„sÄå×r›ózN P(€ÆPUëÑõ‚ávdÝ‘uGÖ'³ÅünYšgÈ*d² Y…¬BV!«UÈ*d²Š®JW¥«ÒUéªtÕÕSL4ÊŒüÔºª=öØ`€=ňŽp•ê)OÞ8´×c;Ô| ެ~5¡Ðjh5´Z ­†VC«»•Ë!_$·éåøÝC:îññЫêUK½3ô¾èUõª€»‰ªjCYK€WÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«®~º+td½u¯P`°X,€€JÝ"CUUUµY-«8«A…Z Wi½ŒÕÀoE¯hÃTUUUbUbUbUbUbUbµî˜¸\½£),XõÓ²U²U,Ù*Ù*ÙªðmÁºë¬[°ŽÀ`0€,V?}{6æñD(MUUUUUUUUUUË´ËëÜÖ«Y¯Æ`°X,  /$ëÏ÷ @8Udieõ“ëÌ;ä´Z ­†VC«¡ÕÐjhµ±ÊXe¬:IÈ4V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ª#vñÆ×sd² Y…¬êî¤íW ÷Ùö«"«^ä—#((((((((((H¬"V«ˆUĪÆl ŠÇ¼GʼÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUĪÕSDZ±³*9ˆU [Ó·gÓiþdNl¨í¬ª*U³Ý€:z˜ÝÜÌ—w)€Àûaà^ãÒùËa°X, €À`°X, €À`°NÖ±7FA#qWíëž°XÅ»be…•/Ò°X, €À`°X, €À`°X,€ÐtÜIÖJ¼vBĉ5'ÖœX;$ã‰% €À`°X, €À`°X, €À¸þl»ÊÞ[`»J󬬬ÜMÉm*°"°bà«n‰Ä`0€^EG¯ªWÕ«êUðO+qoeE_œSUUUUUUUUMÇWRR?_L§gçC\„hµ%nfÝÒ“áVq«Ê³¡^¯ªWÕ«êUõªzÕvÝ\îJ;?C©CÜ*n·Š[Å­2w§ªªªªªªªªªªyŽóˆ†ž®JWÅDd‘ÿ'º*]•®JW¥«ÒUéªÖ«Y¯f½šõj‡$¸ \®2Ä¥H €À`°XÝ[J«ÃÊŠPÁt¹:ä±ò²¢W}.)ÉXe¬2V«502£ªªÏæÏUUUUUUUUÕϱ °V"›ŸX @çš @¯4 ÕõÇ¢ªÌçëh‘UÈ*d² Y5¤Ï«ªªªªªªªªªªÎ;ìpöX»è`ŒË,£4ù–Nf‹ùݲ¼£lðk«CRRRRRRRRƒY˜Žõmå,ª^ºÎSÑzU½ª^U¯ªWÕ«êUõªzÕ=\™®úÃhîzU½ª^U¯ªWÕ«êUõªzU½ê|Œ~›¥÷³§Ù÷¹t{dË¥WÕ«êUõªzU½ª^U¯ªWÕ«êUwï@'’ (((((((((X¦ÙèªtUº*]•®JW¥«ÒUéªtUº*]5|ÕA P °ˆŒ6.&9[øl–žŒsÀ{O‡[Õ| ªªªªªÞM® M_ÎV„>®W¶Û0huX½Ð«^Žß=¤ãï‡^U¯:ë²ÈõªzU½ª^5r£qˆCÚxU¼*^¯ŠWÅ«âUñªxU¼*^õî>í­â8[q=äýpº*]µÅYwdÝ1 }•üõNE ¬¬¬¬¬¬¬¬¬¬¬¬¬tÎåÛÌFôú‚±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒU52ÙПʑ­’­’­"!B¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±*¶œÓzµPŸ`½Zà©Ô¶üÄ~OYdE@e‹õ¦oϦӼ"ž¸¬@UUUUUUUUUUK=G¸úbˆoë6‘¶W9¬ç¶«´ÔC¸ \®Wùµ*˜ ÀÚðÈ" ‹€ö¿‘zU½jSÂ)>ëÕÓó¾Ü*n]µxzØq­áÖÒÊ0æc@ÝÄä‘¿g+œ­p¶ÂÙŠC± º*]•®JW¥«Ö-§€+G P(ç?_L§gçtUºêd¶˜ßU¦‹=öØphà ]ƒ"V«ˆUÄ*bÕö ˆŠö[rÇXe¬ºøŠH‚^U¯ªWÕ«êUõª«S; W W W W W W W«ŒUÆ*c•±ÊXe¬Úd{¯e°X,€4ù–î!i6J¬âUãK{N_:TÖ›@ P( àÄÝå­¶¤Üg¿jÀx·À{ì°À€F%¤«ÒU?Ç–eÚ¯j€=öÌ—wc•±ê€j±ÉóÉÞ€}k2bFUY`n·*ŠºDT üâÚYeg•UvVõºê ±*±*±*±*±*±*±ŠWÅ«âUñªxU¼*^¯ŠWÝÔnÕÝ}6ÐUéªtUº*]uÈæPUUUUUUUUUUóaãþ\ 0P?6S[1¿~HÖŸïçëdôÛ,½Ÿ=;çyèáÖΪ(ȸ= ­†VC«ŸKƒ«ÀUà*p¸ \®W«ÀUà*p¸ \®W«\Žse®’=‚ð”xhcpµpµpµpµpõ‚±ÊXmÀŒ}V‰UÄ*b±ŠXE¬"V«ˆUÄ*bU&Õ]Žß=«ò”!^5Ô•OÆ~Õ}eÒ~Õݯ&ônÈV±TUÙ*Ù*Ù*Ùª¸£ÕåÉmÿ–\¶jï©êU›D`E`E`E`E`E`E`€À`0 €À`ÊɈ[Å­âVq«¸Uܪ`%ŠÎwÂ\o®7×›ëÍõæzs½¹Þ\ß¼„ƒÃÇáãðqø8üôrüî!Û$88_¼vél$»tÂåÜ©™v’ÙIžÔQ7ÄìvÜ)×4|~H“á…òBOÓk1%˜L‰:ªŽª£[ùêð‘-ûGKº¦kFÁ”`J0%˜L ¦S‚)Á”`JÚ_C7m÷ŠËýæzs½¹Þ\à¶b·Uz0<æzs½¹Þ\o®7×›ëÍõæzs½¹~y9ÎÇíñ¦S‚)¡=ÑžhO´'ÚÓQý1 ? ²Ù÷ Ù÷Ti²"²"²"=#Úöæ5 ª:ªŽîbíÍÛxÅúQýh±ÛÃí›j¤•èÀ”`J0%˜L ¦S‚)Á”`J0%˜’È9P{óìÍ‹Xaö¾Èžâ#÷½šëÍõæzs½¹Þ\o®7×›ëÍõæzs½¹¾Øú1J“o²"²"²"²"²"²"²"‘ìhƒA\$·ýÏPaœ1΋EH|°Ç¹¤½íqÆ8‡ 5™;™»Ì·:ªŽÖs²"²"²"{ï@­HÆvoª£ê¨:Ú÷¼´¹Þ\o®·Ç94ž5sªúQý¨~T?Úþ ’gÇ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆÙÞ¼˜<—ãï4|> Ÿ†OÃÿ´K¯ã1-ìµ´þjÐð»e7^¨¬È~)µÇ¹3²ÇÙçÙ®£áÓðiø4|> Ÿ†OçáÓð³'`f23½ÈÅòBñ£øQü(í‰öD{¢=ÑžhO´'Úí‰öD{jÉ.üz~=¿¾øYDø.ü(~tS&‹œÅOa‰UUGÕQu´ª=ÖêGõ£/õmå…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê ¥=ÑžhOµ'pŒ^k~䲓¬ëÁ„n•OÏ~yŸ¿‚'ÚŒqÛmðš9S>è?¾.Gç×ëÕã÷Ç4ùòø"ÿ "ÌöŸ•ûõê¨:*º÷¸s7Ԍ å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡Ï› åBåBåBW59¡×ï‡ÚúØfftu‹‡Ê å…òBÛ¿÷™ÜgÚ¼ö”äOáðÊ s½¹Þ\o®7ן¶ºHUGÕQuTUGë¿‚]ˆ"”gyÿæìübˆ0E­Ïç×óëùõüzý¨~T?ªÕêGõ£²ËÛw`ã‹D³Ôòõ/få!E†*>Óî­â3Í窱€¹þu½GÙåм›{àÑZïõŽÚ¥Sþn|ëÓñ•:ªŽÚÑzÌL»GÂg*ŸDWo¥Žª£ê¨:j—Ž]:v騥ƒÃ·K§ý5|=Í\?ªÕêGõ£úQý¨~T?ªÕÚí(+"+"+"+"+"+"+"+"+"+"+"+"+²÷5Ä=ážì¿{È áŸ‚^Úv„pÓ6ÒGËÜmŒ:ªŽª£êh³H²³Wv¹ñPå™ä™6jv’Å/l^ጠø|Ülè ®þøº}œÓžhO´§È‡«3‡‰qÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3Æ™ÏÄgâ3ñ™"ÌÐu²03™™ÌLf&3“™ÉÌdf23™™ÌLf&3“™©š Émz)Ï$ÏtZƒ$**ªŽª£êh7¾ñ™øL»!" ¶ô”ÑÃìæf¾¼›Ø‘ûR:Ãôì—÷C EñvëùÝ}ÿÇ£4ù–NøL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3Ñð#ß>ÓÉQqÚí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'ÚíiŸ×u<Ø!mî®ç‹1Î15AVäÔÕž8|YY;reîÖkË,šJ¥ÒGé£ôQú(}”>J¥š™ÌLÝ €¶ºeTWGÕQuTUGÕÑâèq Ç»ÝÏ¥Ó{æ×óë3,†ß| :3úQý¨~T?ªÕêGË_Áæ›ypÙó!­G?ªÕ¶Þýh9ÍVœ°¹väÚ‘ú^`óŽá°Ìõæzs½¹Þ\o®7×›ëûØŒ[=£Ò=dE­—~T?z@ä×óëëú±:ªŽf Ïž‚¹Þ\o®7×›ëÍõæzs½¹>Ò\' ÙeÙeÙåíï£GÌ ¥ÿE֛ា½‡¹Þ\o®ß{ä™ÔуèlS SGÕQuTmÿ pøÝ2—:š^Žß=¤ã£Š\hó÷…ÃÇáïW\ùú†nÈgâ3ñ™øL|&>Ÿ©5ž½¢§€{Â=ážô£úQý¨~T?ªÕêGóL[Œùp‹q¿?63™™ÌLf&3“™ÉÌdf23™™ÌLf¦Ü¶13}¥É73SÁjÛ?jÿ¨ý£ ¿ú\àGñ£‹EHf´ï©$i»ôhûðCõE?ª÷4|> Ÿ†OçáÓðiø4|> ßÌdf23åu€öD{²k܈¶6òýRÚí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO­oA4‡‹{Â=mÊ|]Ž>ί׫ÇïiòåQUGÕQutãâ4nCÚ‡ø`¸»üŠïN´÷ áÓðiø4|> Ÿ†OçáÓðiø4|Ú“™‰öD{¢=-’[7Äö[‚AîîÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhOÐKv¹6Ûº»Ÿ‡»§å~½ûõ‡0I~ó áGËêQ•Zûðí÷?TJqø8|ýèÁž|kx؇Ÿ,ÔQu´¥õDÎõnÿœ<Óæ•1×›ëív´Û±=¯ÓGé£õ·b^Óž’àdש½sv~1„¡í[ï[ï[ï[ï[¿ØìJú)\Šy¡û»bŽœ£}ë}ëí$kÓ¨vélŸ‰~T?ªÕêGõ£Ýñ5ÚÓsžÝŽä7·ü°yؼÅ"4ÓêGõ£úQý¨~T?ª=Z—¹“¹“¹ÛØHżÁg ·ÛCñš|&>“¹žÏ4ÙäRÍõÑb{ˆ{WGÕQuTUGOÛ¥¨Žª£ê¨:ªŽª£1ñÇ-ÆK>Ÿ‰>Êgâ3혃ÈB¨¸ŸÆgâ3ñ™­®ä3Œò» î>Ó~)uŸ©ñDjp(Ÿ)‰jÅ3³#׎ܠ\{5pø8|~}ì[¢ŽVM«<“<Ó@;)Ü m6µ¥A{:×JgðŽzGÝ´uÓ¶ú؇h˜¥É·ýߌ:ªŽª£ê¨:ê6øVN±ÛÑnÇÙ'»tvM@cÔ`J0%˜’ÓÐÌ8³¦ÕêGõ£å¯ÀnGý¨~t÷sè™ñ™Z¨¢¹Þ\o®¯˜!s½:º˜ß-/Çù¸5¾rClóÕ<ü™‘Ùv‘L }”>J¥ÒGßJü(~ôyý¨~tˆ“Æ|&ý¨~T?ªÕêG ­ÏþÑ`Z s'~T?ª 0æzs½¹~ôq~½^=~L“//R'"‹b·=M~H(”qó­÷­·k¼õtözr¡r¡r¡8|>‡Ã?Š ³“,b»7Oÿøº43>0ö”T fDZª¸;Úí‰ö¤Žª£íomeWG‹CëôÑùònb®7×›ëÍõæzs}DçoܦÀâGñ£øQü(~?:>’ÃÁâGñ£øÑúÎ l6ŠÍ‹Þʤáï^÷BÝ ~,Ü ý)ò\ºoìbœ1Îg^(/”Ê å…òBy¡íIüõö¡êGõ£úQý¨~T?ªÕêGõ£úÑn S‚)Á”`J0%éåøÝC¶Ùò8/LUGÕQuTUG·ÚÃín±‚=%­94š¥¦áÓðiø4|> Ÿ†OçáÓðiø4|ûðãû§ÌLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdfÊ뀻rh„­O#¿>Y,ŽäÞhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=õçÞíqÊ2zÌÌÌÌÌÌ Ÿ†ß0:7>WÈÓà…òBë‡ØF³›7m›ÝwÙv_É.÷Ÿáx¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òB7n]¶.}ÚöÇ´§€éK{:P¥É·}öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰ö´Hnûc²¸§F{ªîY¯WOA´Ôx# þ[ôŽFáJ3·§äðAuŒ3Æ™ÏÔ÷œŸo½o½¬H,/³¬ õ²ËAÇVvyÓ©ä—Þ"M[­OéxýšÌÄ‘ýŸwÔ;ºyå™ä™äBÏ «£ê¨:ÚvVw}”>º};ì·küÊ«¥=ÑžhO¡:!+¯ß/ÑÂdEdEdEdEdEdEdEdEdEdEdEdEdEdEdEdEdEpø8üà5>‡Ão{œòL•ì"Ï´¿ãÜí{Ù›iÏ ØãŒqÆ8cœÎpê¨::Pï)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%u"¶ªq#‹Ê mìPGÕQuTx¯ /”Ê Ý{z,èÄ8cœ1ÎgŒói ‰:ªŽª£ê¨:ªŽv#Döá?çù˜ëÍõæzs}ûW Žª£›·"²g•ÏÄgâ3ñ™øLé¦ísÓLæNæNæNæNæNæNæNæNæNæNæNæNæNæNæNæN掆OçáÓðiø4üùÝ}:¾r¿>ðE(<ð|ylè~ùû7gçC gŒ3ÆãŒqÆ8cœ ‰ŸC0×›ëÍõæzs½¹Þ\o®¹#Ë\¿ùõÑoÙI¶ß~D2Ø Ÿ†Oçá—¢ûõm>*ÊfÚa„|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™‚¹ã;@øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ó¯éìS‡^lþîé¼?àfCð—äfÃívknµÛqÿe³Û1½t³¡Iîþ¶mM®»2˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S’yŠ'{˜LÉêú³]ãm_ß®ñÍ3Áæaóêß™ÑÃìæf¾¼›ðëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõÉä:Y,"«äëåë»w.¹“B¾^¾^¾ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×ÇgC3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™¶•°¶;«7÷ŽqÞ Uî…Úí(+’mßküÊÝk´'Úí‰öD{¢=ÑžhO´'Ú“™‰öD{¢=ÑžFiòm?ïýþÍÙùÅûðwŸÚ²é=owE‚Iç3óŽnª÷aù·UãÔ̽£ÞQ·oÚIè¬vûfóX|ë}ëݾ¿{HûHlnˆ5Kig¯g'YdÉzõô¼ý€¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡15ÏT¨ü>·Á#RLñ ÿøº}œ_¯WßÓäË£ý£|¦ü…á3ñ™øL|¦¶Ôƒ,þ<Ÿ©¬UO±‘ª<ŸiKyüùý1/”ê>“ûLÕ¯€†OçáÓðiø4|> Ÿ†¿ß›™ÌLf&3“™ÉMÛ­ loÞþ¾4¹Ð}!²ONUGÕQu´ü4ë„:ªŽnÛ?Ú'­=ÎúQýèìSw[¡M/qO¸§Ó@lü(~?ªŽª£êèsú-s½¹Þ\ÿ¼Å\o®7×›ë«ìM•Ñ¡ÒG³U‰ö873­/}ûÐç`ZÀ®ñÖ¶øk3“™ÉÌdfÊ‘)ßúýý¾õoñ17-ìÒ =ÈÝi»tÚZ¿› ù6 ; v‰¹®;f&3“d­wÀ.»tBómôÛªŽª£ê¨:5>ô£Øº÷ô±ùõüz~=¿ž_ϯç×óëwß÷BÝ }FæÊˆfK.T.4«£ê¨::ú8¿^¯¿?¦É—Ç\rÈFîܹsW¬s¿¾øE„n_bJ0%˜L ¦S‚) y¾‹äÖ]‘PŽ¿ÚÕj³=Îö8Ûã\T‰È*u4Ѩ£åƒÁ”´~?väv÷Ø Ÿ†OçáÓð#0ú(}”>ZA¨e¯)_/_ßœIùLòõnƒçT¹ÛÒÐYä냖½:ªŽª£êh½8¨£ Ê å…òBy¡¼P^è±Ç‡Ãßߥh®7×Û›×z:g8uTUGÝb¬5ö岿?¾.íq<˜ÐÎ^uTUGÕQuô´½ê¨:ªŽª£ê¨:ºÅãeEdEdEdEdEdEÜK“onˆ¹!¶¡½»ökñBy¡¼P^¨bnˆ¹!fOI=fGîøJ¾^¾^¾^¾~~·¼çvËøÊÌdf23™™ÌLf&3“™ÉÌ4[Ôû#3“™ÉÌdf23¥—ãwÙÄòæÔQuTUGÕQu´ÂúòÕ[W2w­üƒd›Gb·ãîÅÀ=ÙI4*jHœ:Ú|Bv@”ÕÃŽÜí£PGÕQu4”«qŸIæNæNæNæNæNæNæNæîÐù¥Í,ÑÊÛzbî…ºŠ)ÙŸº^ñÀ8cœùLgŒ3ÆãŒqÆ8cœÛ_ÃÃòokž;R3×êGõ£úQý¨~T?ªÕêGõ£ÕN ûð[<8ŸéâÍ›ÉážpO¸'Üî ÷„{Â=ážpO{ÕÐíC> Ÿ†OçáÓðiø4|> Ÿ†OÃ_¯žBŸY»Æ#¹óî›VöæÙ›gož½yöæÙ›go^²Xðëùõüz~=¿ž_ϯç×óëùõüúÀŽ™üÀŸ› ù»Q®ý´#·©BÚ‘»{v—O"û D÷ÏãžpO¸'Üî ÷„{Â=ážpO¸'ÜîÉÌ´=ÌnnæË» í©fÎìÆiÚí)Ì/ОhO»]òî3E8Yþ¡ʩڥc—N:iΨ4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðC³!í‰öT냪Xž:ªŽª£êè6xPe3d—e—e—e—e—e—e—e—e—e—e—e—²åˆ?\ˆÅâG7|¤»ËûÅ¢Ú/‹ņæKÚí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÕçÅæmf23™™ÌLf&3“™ÉÌdf23™™ÌLf&3ÓõçXtÚÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLf¦èʵ¡²Âv;Úíh·£ÝŽv;Úíh·£ÝŽv;Úíh·£ÝŽv’ÙIf'™dv’µ¢Óüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×ó냒Éᑹ¥3¸ x’îŠZÖæ¦­»"Ûw¤ü±„Þ Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Üî)"Àž|Ÿ“öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÕžÀÂÖŸF8iÜî]$·éåø‡ÃÇáãð Ÿ&2TÅóêèKõÓ³_ÞçŸòO‹as³²"²"í¤ðŽ6^¥ê¾¥::|Ýr/Ô.»tìÒ±KÇ.»tìÒ±KÇ.»tìÒ¡áÓðiø4|> ÿâÍ›ÑÌiO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'ÚSg-´Wøý›³ó‹!»ZæE.T.T.T.T.T.T.T.ôy;ƒä™ä™]éGw¯‘»"Üùz~wß?xnfŠUï#vÉpØ?š%F¿ksýfúðŽÊ.翹Ðt|¥Žª£ö8·ÞÎï¨|½|}:iî{UGÕQuTµß>|ûðí÷ß>üö×öD{¢=s»…öœ˜ ]2ß.Égâ3íë ´'Úí‰__ ü–ˈÿøº}œ_¯WßÓäËã´s>J¥ÒGé£ôQú(}”>J¥º*********:ð]9;ríȵ#׎ÜâÓRežÜ]~Þ;¡Žª£ê¨:ªŽÖЃ×ãYqO¸'Üî ÷t? Žª£ê¨:ªŽª£ÛQÆ\o®7×›ëÍõ2wnˆ¹!æ†Xõ-ˆæpå™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ä™ê¿»Ëue?…d;ríÈÝË*E†*y¦í/èošáGñ£øQü(~?Š-Í\µ›¶-ñ§„ŠÜ]Ž=µµÿWö8·z¬(‡¥ÕêGõ£úQý¨~T?z‡5z˜ÝÜÌ—wuTUGÕQuTÌUöæÙ›·½_ùþÍÙùÅG¶jþ~?ŠÅâGñ£øQü(~?ŠuÓvGúuñüP^(/”†OçáÓðiø4|~KCYÌïª=4üÒ(s's's7Þúzv;õMÆ!Êa«£êèVxË÷ÂæEl ü§(+Ò|:5Š>J¥ÒGé£ôQú(}”>J¥æ7áÍõÅ8e'Ù¤¹ÇÛÌdf23™™ÌLf&3“™ÉÌdf23™™^Äë³7¯z³7ïrüî!÷x5x¡¼ÐÅ"ô¢È×ïÞŒN­÷„{”´»[™»]ú°â„í)±§Äž’Ð÷¢üÄêGõ£úÑ;4s½¹ÞÞ<{óìͫ٨2w2w2w2wýÄíQš|ÛçpdîdîdîL†{¡[¢÷ÏçYñ£øQü(~?ŠÅâGñ£øQü(~?çÌLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdf*ˆþ.‘ЕÍg’g’g’gšÄtuT.tõkZ‚Ùv>òLÁ¯hÖ…É…Ê…î½òõœ Ÿ†OçáÓðiø4|> Ÿ†Oç᷾Ñû4|> Ÿ†OÃ?mŽVGÕQuTUGÕÑØV»ÆíøY•?~ä?y&y&y&^(/”Ê å…òBy¡¼P^(/”Ê å…nm´'Úí)Ç Ž_Ú*Ï$Ï$Ïä^h³6¿­4üÇ7ÔQuTUGÕQýh·e3È·›‡ÍÃæaó°yØŸ‰ÏÄgâ3•ÃÄêGõ£åÉuTUGg‹ùÝòrœ¯8_½sv~1„ÈÃÇáãðqø8|>î ÷´û¬WOÏë»ùL|¦ÍØŽÅ¿^_¯Žª£êh}$íÕ‡ðë÷6ö=É3u¿|&>Ÿ‰ÏTT‰È÷B?ªÕêGO“ÇÍõê¨:ªŽª£êhã[Àg:Ù2i}[Íõæzs½¹Þ\ܧ±Y§ð’ž‚[Œ­Üy‘µõ­÷­os†902J“oû÷+1ΛÎîˆ[¼P^hcgí‰öD{¢=ÑžhOE~Ìž{J6{J~ÿðñGZ•w1N¨Õ}ÓéÅ@AË—t@§oφyn?PÔ›Ù½øÔ›¹WÁ+~é…u&o¦7³öî©™1Ï×<Ødn;¨îékÝž6”ÕíÍôfn“ª¾æ¾æ¾æ*ý,©™j¦š¹}ÔL5SÍÌÖ}T[ô¼ôe2ý˜;D¼™ÞLofY÷)í­™à5=(Ç9Ìæfs³¹Ù¼ý+àNr' ³y/¶•ò€è™ôLz&=ó²÷%5SÍT3ÕL5SÍjÙ=“žIÏ|ÈÝð!äðpzŽ|Ä”vJ;¥ÒNio<ÎYXÍT3ÕL5SÍT3+Á 9ÜoÐãNæ§I¢¹¤sªÕˆjD5*ThDGOJÍÜïEmx9à±Kh}Í}Í}Í}Í}ÍëuÀ„5Âa°FX£N=vÜFHH(èÃRªÇ¢ÏÔgê3õ™úL}¦>s÷*s ãvä!8‡‚ãN¢àPp(8Üònò¼«”òæfs³¹ÙÜln67››ÍÍæÁáˆëðvÁthBVùæ|s¾9ß¼ëìÁ!å_ÚBÚbŽiÇ´cÚ1íÉBŸú¸;™½fs³y¤@Hõ¶^ ³¹Ù\Í4››ÍwTÕa;@ÍT3ÕL5SÍT3kÇ»mÃŽ ž¶ÚRØ@Îì5ê…è3õ™úL}¦>SŸ©Ï\$]¿ƒf¼”Äâåï@¼YŸ©ÏÔgê3õ™úL}¦>3oÂQyóÐÚz¦>³s:=”n°×(Ø}zlÓ·gÓi>½K޾lk2™€L@&  Èdª˜XW…èØû^RÚmvíõcáNr'¹“ÜÉÙ§îN‹j„Fë3õ™Å·bˆ7ÒNiwA`§ò휓Qš|K'³Åüny9^{–lÜÚÿ¥¸oî¾yóè\'ÏìlËNÊNn‡áRÃaõº`z¦-Ei§´SÚ)í”vÙILû»iî‚jD5²§ý=íö´ïOnÑíÜj¦š©fª™uÞçÊ­^·zkeQBMBMBMBMBMBMBMBMBMB­ëa°Fǯ¿hÁÕ|s¾9ßœoÎ7ç›óÍùæe(DŸ©ÏÔg–AÄõêéy0í˜vL;¦½¿ˆm6W3ÕL5SÍT3ûgDÕL5SÍT3ÕL5³z=6”¶Æ ·-ܶpÛb±°Ùµ†Ùѱ÷Y‘lEx6gYº-L;¦ÓŽiÇ´cÚ1í˜vL;¦ÓÞçbûP*mØÁî«Ä­FFÁ¡àPp(¸“nÎRÚCÖ ÕèøÜ¯¹¯¹Û;-Åm‹ ñAÖݶpÛ¢Y=ݶ8®?1›÷¹ÓÕ4LåÍåÍåÍåÍåÍåÍåÍåÍåÍë`úL}fmÂo< |&>s§oTá3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|æE>äç¬Pp(8\cDà›óÍçµÏ¤ë~­h°š©fª™/ÑD¹­9ŒF#‡Û¿ˆÄâñ€x@< ˆÄâ…ØK÷€Z²Ãéd¶¨¶ÇØÃ7çñ€x@< # -Yã›óÍçw÷éøŠ;ÉäNr'¹“ý&5SÍT3ÕL5SÍ,ž€[éåøÝC6O„cnQkùýÃÇ ¹à3Cá€ðîŠõfúëýÌžöš!e{Œ„Úîu°ÙÕf×fÑ•P“P“PËwMÚ†Ý@¨FT#ªÕˆjD5¢-ï&‹ä–jÔT±ˆDGO šžIÏ̼ 5SÍT3ÕLîdÿ‰LÍT3ÕL5SÍT3¯#gåì5²×È^£ ÛUâ(¸š”PÛbVÆ7ç›ã3k e¹9¬fÖ>«úL}¦>SŸif»‰4›GÂ0щŸ‰ÏÄgâ3ñ™øL|&>³ü4ÃÝøÌ,î~8k67››ÍÍæfs³¹Ûn[l~‘-9r@¡qCŸ©ÏLNùzÒ3é™ôLz&=“žIϤgÒ3³Ý“áõ”ôÌ.P¾y–v=ÌnnæY-Ágâ3Cã>Ÿ©fÚ9lö¾ÜKϤgÒ3‹Ø¢fª™jf§X‰iǴן€«+ög¶°}¦>SŸ©Ï ÷ÓX#¬(ÞD¹¡i±Óü¤ÉfáuM!öÙkÔ(/öe7/C Çñ™øL|&>Ÿ‰ÏÄgâ3ñ™øÌ½oÁ ›ô™úL}¦>SŸ©ÏÔgê3õ™úL}f-¾rx™U 2áñ€"Çoz¤?ÜPÛ{ªA7rü"þ Dt :ˆŽÝ€ïk^{lÜêDAmvm}ˆmv=¾¯£´SÚ)í”vJ;¥ÒNi§´SÚ)í”öˆ<%¡ÖµÞØln6PÙ6››ÍÍæfs³¹ÙÜln67››ÍÍæfs³y³8Ÿ°qËÆ-·lÜ¢gÒ3çw÷éøjúöl:ͪäWC\]iÍÜÕ:)·"Q·²ŸR¸?Ýâðůë÷‡ø­µ{o¦7sç´…´…´…´…´Eÿoƒš©fª™j¦š©fžf¸PÚ)í”vJ;¥ÒNiÿõ ˆnæ3‘½F‘•Ò^Íðù³]4°×¨Ù(¿Ôöµ~Y¹iõ:5Ü›éÍ,&9 9 9 9 9 9 9 9 9 |¦ÐF.ŽŠ[˜ö÷\Ìæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln67›‡È¤×#(Ìæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln67››ÍçwËËñº`ì¥-¤-¤-Þõ[ß Òa°FÇ/MÍŠOäîw^Ÿ/ÇÞÌí#’ê­¤©Þ¸[™*‘Ðnõë’êmu¾R½éd¶¨·Ã¾æ¾æ¾æ6!œ´ ¿ÕÔÙgœ]pvÁÙgœ]pvÁzj‡jdO{ìÑgê3õ™úL}¦>SŸ©ÏÔgæ]è´ËžôÌ㘱š½ÆlØljjjjjjjjjjjjjjjjj³O‹dB5¢ÉÕÚ¢ÝÒï«ß?|ÌÕÕ"tôÅö¡”mz&=“žIϤgÒ3é™ôLz&=“žIϤgÒ3é™ôLz&=3ù¶¿l‚jD5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢Ý̳ɇ‚ ‰…ŸI·-ö™M6!4ß }¦>SŸ©ÏÔgê3Ú£«+•1ãêÊΪuu%K…Ž!:ˆD¢Ñè@t :ˆD¢ÑAi§´SÚ)í”vJ;¥=ÜeÏÑQ{9\Øð”öÙš©fª™£ZA¼N‡ÞÔL5s±=¨™­y»ì­ìÏÔgÖß5SÍT3ƒìŠšHž„&2i i‹âè, ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 ‡‚Ct :ˆŽI dé±y€ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥}qõ¬ÉÀÕ•@öEvRvRv²çÂäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;É\ýšæ-Á&Vn°]$·éåøÝC¶YípàNr'¹“ÜÉÍ|¨%ˆDGÈ”vu¥öTlö Û6ì »bvàûavv¶ë/eñ^=…•ª#‰üìÉFºPŸè1 z3½™熚{@­/º¯¹¯yPtõ5W3M@& S<)÷€ößЦªÆ"ˆÕÙ±±9 š€㋨!¦.Ó%L@u?™ÄâÕÜÑ ZIϤ¹"ÝY'°FX#¬Ök„Ïl™·fs³y2ù&Øc{Œí1¶ÇØc{Œí1¶ÇØc{Œí1¶ÇØc{Œí1¶ÇØc{Œí1¶ÇØc{Œí1”vÛclAßÝgk‚¦oϦÓ<Ó“¯Ç×r@r@r@r@r@;öpJEÍT3ÕL5SÍT3„L*¬ABMB-ŒûÙÑaG‡¡(½š©fª™'1övtØÑ1Ï%ci i i i i i i i i ¾¹´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´Euc6–2i¢µ .4JºÕë¾ùþñCû3íÏ´?3º=ÔÎa;‡³O©{@-€MBÍÎág¹vîn[¸mQ/­R½R½R½R½R½R½R½‹NeÂln67›ÇŒé3õ™úL}¦>SŸ©ÏÔgn~‘~z‘Üê3õ™úÌa³Š6!Ø„`‚M6!Ø„`‚M6!Ø„`‚M6!Ø„`‚M6!Ø„`‚M6!Ø„`‚M6!Ø„`‚M6!œxl4N:H¨I¨…LéN9Æm‹V4¸Ü3²^=õZ×2z˜Ýä“Ö(dÚÑaG‡vt„÷7©™jfÄ4´£ÃŽ;:ª‰YŸù„‰ Èäºß»‡ì¼áqVÕôíÙtš'rO”¶¤z¥z¥z¥z¥z¥z¥z¥z¥z_Ç-5™€L@& -ZPLq¿ø8ÄL7Ôæysysysysysysys¬‘¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼y“#’êm©5ðZÍT3ÕL5SÍ<=Ï2û„ÏÄgâ3ñ™øÌþ쓚©fª™j¦š©fÆ4 ysysysysysysysysysyó»åå8_¤=¾²×¨ëÃØ<·~äê(©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^©^ 5î¤„š„š„š„ZÀ7Ü=”QÚˆŽØEïÃÇF[qÎòc ]Ž¥-¤-¤-¤-Bº}×g ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 wõû‡ù6Ï¡ ‚½F˜¥úö àºxoæ¨S¶§}ÿí©«¹TÕúe¹T•Nf‹º!€iÇ´cÚ³Ö¯èHÔL5s7çÀÐi È´] ^Nz‹ä¶ÜÉdªÿ„\]quÅÕ•`â©TJÔL5SÍì““””””””””””””””””””””””””””””””””Äa°FX£*w¸é¥z¥z³×àÈô‡T¯Tïæ&Îø Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL;‡³_Aó5ÀgfOdsø©{^°sØÎaL{Dµs¸cìæ­ÐÑL;¦Óþî!ƒú³ª\ªr©Ê¥*—ª²£L¾& PÂ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7?.iÈ7ç›óÍùæ§è«|s¾9ßœo¾íÁ yî÷óÞbh±îH7ЖB[ m)´¥Ð–B[ m)´¥Ð–B[ m)´¥Ð–B[ m)´¥Ð–B[ m)´¥Ð–B[ åÍ¥-¤-¤-¤-¤-¤-¤-¤-¤-¤-ÒÒÒÒÒÒÒÃøL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|f>>Þú±Œf7”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)íû¿‚È·a‘ܪ™j¦š©fª™jæn†:¤>ò¦[½ñ·n½zŠof/ì¤F¦D^¼ê±z3[Ó1`7Ó›ÙYȶ“InôRys ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 ‡è@t :ˆD¢#bMßžM§¹i{¢€À7çN.vt„:Žò×õû‡CüÖ†êë\÷ üÓÊÿ%·-Žëœ½™Ùoý™f„š©f&‹˜“}¨!‡‘ÃóÜö5÷5w«·ò¯fª™j滇ì£qFJ5zñܯ¹¯¹¯¹¯y€hªb©j‹úR5SÍT3ÕL5³ñ:Í 5SÍT3ÕL5SÍ,žr9<”Oi§´SÚ)íuŠABMB­^‘ÃÈaäpP…(•5SÍT3û¨4ôLz&=“žIϤgÒ3—w·-B¯ÃvÛ9Mñ€x@< À$Õc¿==“žIϤgž²›oÎ7ç›óÍùæýU,5SÍT3ÕL5SÍŒÝ1››ÍÍæfs³ùŽ8|ãXÍT3ÕL5SÍT3ï6­O_nõÎnÜêÝ«œ˜öêtnf gÒ3é™ôLz&=“žb±vw5ô™úÌÖû¡ÏÔg*Ð3é™ôLz&=“žIÏ\t¦ ä€ä€ä€ä€Ê'Ð,G¦híèv_‡¬3WW\]‰üâzÄ[eÜÝÉ.MÑÆ-·êïÕˆjD5¢Q¨FT#ªÑæWQÇlÜ*JÄ Z ‡‚CÁ¡àPp(8\C“ÉÀtöiÛŒÒ3é™It£å!sEŸ©ÏÔgê3õ™úL}¦>SŸYöÓôLzæOaçÏö˜ã' Î¥ª›Ü•å4››ÍÍæfs³¹ÙÜln67››Í÷~X£V‹h67›Gd¾ùå¸g;-$$ÔG¥¡gÒ3é™ôÌö¯@vRvRv2ì î|}¦>SŸ©Ï´qËÆ-ÙÉÇAϤgÒ3y'|&>Ÿ7…m)Œ ²“é¸ÇÛa67››ÍÍæfs³¹ÙÜl^>Û°«2¶™k„5² ®ÓÇ´cÚ1í˜vL{ICÐ3é™;Áá°ñ×Êì‚ëú¢Ò3é™ôLz&=“žIϤgÒ37OÀ µÖkd67››Íû3Uj¦š©fª™j¦šY=cÆ#Ifû3÷_¼JùZ¯žžG®øšûšûšûšûšûšûš Fiò-Ìó»ååx]¬jž¾=›Nó&'ÿ#±¬T¯T¯T¯ToôpŸÍ®­áEÍT3ÕL5SÍÔgî®÷±lBè?³æcLïè– èO™…í¼Ðù¿´i›Íæ{Oç=o¦7Ó6ì>Œ=w’;麟ë~õ¦EBMB­a1W’gØ@tœæ²m}÷¹-|Í}Í}Í}Í}Íu SŽQ3ÕL5SÍT3ÕL»à"]ÔÌ ´SÚ)í”öö¯ÀÝIw'Ý ~Êy”ÒNi§´÷ùzê3õ™úL}¦>³¿J£fª™j¦š©fª™Å°sØÎa¬QÈãê•ê•ê•ê•ê•ê•ê=ie>Ó–Âиaf¯3|s¾9ßœo>‰ÁˆUmRy˜vL;¦ÓŽiÇ´cÚ1í Æ,ÛMÐùlܪ>3ð,BKÖô™úL}¦>SŸ©ÏÔgê3õ™£‡ÙÍÍ|y7áñ€\ªŠÛ°#Ÿ ³ùC† „:úL}¦>SŸ©ÏÔgîý \ªjI‘˜vL;¦ÓŽiÇ´cÚ1íõügd‘{œÝ§gÒ3é™ôÌí8æ˜W9³b°F!ÀßžöÚS‘’’’’êßr¨™j¦š©fª™jf-ä‚5Â-’¼(ðÍùæY.OÎGÊBiKŸ©ÏÔgê3õ™úL}æ¶µŠ}NåÍ/Ç=#¢î¹Ô°˜+„3lTØ+¢£ÕcRÛRhKa!P¨FT£>¹š©fª™=1{\W~Ñd2íTµSÚ½æº_P®¯=¶éÛ³é4 y@í8HŠÖ›éÍtw²O ·?³Z/Ýz&=só:C!¾æ]R¥¯yþçN†¶~KõJõJõJõJõö÷ºÔL5SÍT3ÕL5³zX£t2[Ìï–—ã|½ÇøÊln6?>b³U~lö »c°FX#¬Q8Ub67››ÍÍæfs³¹Ù¼€pPpÊ›€‚CÁ¡àPpÈVª7òYR3ÕL5SÍT3O U3ÕL5SÍT3ÕÌø/o‘B‹üçï>‘má ¶ÇôW Ýª)”e2Ù›éPí7dç°Ãvg½²NøšÛÓ€(í”öêæƒ>SŸú€è3õ™•t…f(í”vJ;¥ÒNi§´/ï&Ò¡×@BMBMBMBMBíÅóïögî÷¢îvÙs(ß›éÍ,Ö P¨FT#ªÕˆjD5¢•¿‚A¶së3õ™úÌžç•mB¨ñÕqìÔj­{`#ˆdãV:b_%ÕˆjD5¢Q¨FT#ªÕ(Ëjë3õ™»–àùÂ&„@O-;YÓĺî­SÚ)í”vJû–³=¦K¢‰95SÍT3ÕL5³¿Š¥fª™j¦š©fª™12Ç.8»àì‚ ôLzæ"ä©™j¦š©fv…Òë=w7››ÍÍæfs³¹ÙÜlÞE“„¾ž˜vL;¦ÓŽiÇ´cÚ1í˜vLûÞ·@Þ\Þ¼Ö É›÷\£jç°ÃvÛ9lç°Ã…A1}{6qÙ–oÎ7ç›óÍùæý£Çj¦š©fª™j¦šùëAEïuÆ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍk17»àj¯C¡(wÞÙÓútòÍùæ|s¾9ßœoÎ7?,Uâ3ñ™øÌ>^\÷kEÅi|s¾9ßœoÎ7ç›óÍÊDDç[oƘ˱vtØÑaG‡õ' föÿ4\ýþáãù‘mFÁùš·^îäKøø¶¶¤§R±[¯žbgy@< h‹Z}l4þ•3›× ­Ý­E}æ¨ÜYoçpGŠ|¬«)Î×¼5ß×,´˜ú1ÔD¦ÏÔgÚ†Mi§´SÚ)í”vJ;=“žYεG (8 ‡‚CÁ¡àPp›_Tï3ð ©^©^©^©^D¢Ñè@täƒß|£+Åð¿#–é3õ™úL}¦>SŸ©ÏÔgê3õ™›6ò“>³éÞuÎ.U½ø×Ó ›\Cè½7Ó›9 \PÒar@r@¡‚$T{*(8 ‡‚CÁ¡àPp(¸g®žæNr'¹“ÜIî$w’;ÉäNr'¹“Ïéó€x@< û3‘Ãý—ܨ™j¦š©fª™jæ4q àPp[Äm ¬Ö¨xo‚š©fª™;g—í°§ÝžöâWzÔL5SÍT3Û¿L»š‰iÇ´cÚ1í˜vL;¦Ó~·¼çàñßœoÎ7ç›óÍùæ|ó¨¾êîäþm³«[6nåêê²{Äâñ€x@ý[y5SÍT3ÕL5SͬÐÔÊ!°?³+¼|…iÇ´cÚ1íá}?vW¿²N¨™ÝéJ;¥½@Ìæfs³¹ÙÜln67›/ï&‹ä6½¿{Ⱦ?ü4è3õ™õ—DHHHHHHHHHHhTk‹¯“ž‡޼rBϤgÒ3é™ôLz&=“žYþ ª(UG ’ýi¬Ök„5âµðà¯f6{MˆÄâñ€x@< ˆÄºx‘5&²“²“qKÕln6o(àn[d?5SÍT3ów ™CϤgª™ôLz&=“žIϤgÒ3é™ôLzfÕÚÓnOûžÒØuRØ= ÷€ÜrÈ= þ!5SÍT3ÕL5SÍtÈ µ¶¿^=…>fs³¹ÙÜ µb+Ä(M¾¥“Ùb^“°mÃÞw·ÕL5SÍT3ÕÌݯ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8;‡ƒsÁ¡ð1¢Ñè@t :ˆî$¢ãÀöi}¦>Óm‹]™è Ø :î›÷SŸ©ÏÔgê3õ™úÌlÃßOa›tüöi}¦>SŸ©ÏÔgê3õ™úL}¦>sï[0ˆ²­ÏÔgê3õ™Ïî3køæ§ÕÍ÷¦Pý÷þõrAéb¾L&÷É&Xs9~óØV¸)o_fëÏÉzTü_“ëÅìñq²œ}I.Ç׫e:_~MnÆ üWK´+Y¢} ÿWn«§üOåÿ¿‡Ù]2yLþŸ¯Éò:)þåý5û+yL³¿’ur›¬7ìrüðøå_ÓÕ—d]n©ÝüûÓY:¿žlþ:“e:ÚüWmÿÒ?%·«uR_iÚÛ:Éþf³GógÿÙóÛïãÑãÃì:™Ìn³ÿúËq;³ù˜/ó§ºù¯œeÿõhû/<¬Wwëäñq¾ZNnæ_’åæÿu9¾˜/Ç8}ö—¼NëÿÒö¯¡ø×[*Oµ­< ÿlþ‡ë$]Ï“K&ÛŒåÿ¿þróð~_Þ®öÿ9îþ©ìÿ£Üýëû³ím‘Ìn’õþëzN·Ù›<ÎÿßìçùÛì]<ðàÎ÷ÜuöO8ûÇ_{˜Û'·ýÄ]ãùÇþôöML¾eÿ%ËÙbr·ž=ÜϯGëëËñ×õâ\¬îVgÿ÷ÃÝÿ4mß·ò§uö×ì/vï¼æ£}Ö+¸}jÉò¦ómûïŠÿõ_³ßkõ]~ýòióO{´ºÝÿ'×óÍqµe¿ÛÉüær¼ùmmþí¿·ÊGdzÙþc(^È?’‡4Ùü7ަo~]¼y3Ý8ÉÿõŽ·5R›šõc÷uW–¼:*,Yí,^×ö/&úƒ}X=Î7°xr“¼ ̳¡ìižÞÏ—“Mågwûs?\§ƒÏªGŒýÈGÅo=û I7¿‘Ëñúë"û+šmN¬gõ.Ìn6…´ø[_Ï­Æ®ÐoÑ¶Øæ›—ã¿m*BQ~³7³øÿªJñ—pÒ_ɳ_…ÍW¥þiùö¸È¾Mw›B¿ù(ï¿ y cô4¿Iï³J÷æÍÿxŠÐFû“¾}û‹ÿñzûÝìœHvÿEïþºÿßÓf‹…åy ¾}™/¾_ŽgËÇìK¼žßŽ‹ÿAQ›/6µùê§íÏÿÏ«»$ý¯óå,ûoÿÕîCC}R)ÜÊîoaÚço!Í ô$å²÷/O ×ÿâÏ7¯Mùÿûòß’ÇtójŽþ%yX­Ó^ýõ X„Óø¯k>«VµäyˆðTjö¾ŒvÍÞEñ  gŸ te‘hÓv¥»#vôœ¿àÉÙÇvñõËrRì;SPU¶>¯ùùEäU:`ñ ú0Ïò3³åÍè?Ï–Éè?ÿëè_ÿéŸ^Új|ÅÎ/¦£Ùïìf6úû¿%Ïû÷þoë$Y~Z}]¯¾ÞÝÿ<ú??Mßþõí_ûÝú ´uÛ¿½®aó7º÷Oá¢ç?…§íðñ·7obEåçÑïËë³gÿ4Ë_ù=û/g£«o£¿½÷×ãÿcþ1_^ϗˬ…ùyô_~½ýëÅÛ·'üEݯ–ɯ£óIö7>ùÛßþ¶ùß{ñrƒ³bõ‹i Š›_F»ËÞ›‘Šùêr<ͦ¤ÑÞàô¾õÓÚü7m?Ý›¦a’54ן—Ù´”ýlþÛ‚E½øèeê³Åfl+ŠôþË÷ÇÿññãßÿåÿÊþ1ø+úÝßâæog[õÓï‹ìï9któëâ}þç$¹¥«Ñ—ìidÿÇ2ùžýÑõ¦M›¯“ͧçý}´ýŠþË*½ýþ/Ϻçl²}ÌæÜå÷l *?R³E>{¤óì_ÉKÎõl™UôÅÃèûêkö9»¾ßü¿êÿ飻Õlñx6ú/Ù¿šM ·Å:[lþ³³~1û/ÙýgœþÛ<ë/GOOOgÅ_Ïö£~v½ú’ÿ5ç 7I6Öfÿ‰]©èpš)ÿòŽŠ¯Âb–ýUf=Ýìkº>­Ö›®±X—ó¸Z̳ç•õ³åÿ ]=lÿõñ®øå¥›¦‡ÙÍMÖZoß¾m¯öKþ£Ú\óßRãeü´Zdƒ×¿þ—ýûÿ>úoÿßÿzáR>ð׸ñä:®ÜF?={ß×àëÿôWµº›ïÚ€_½í›q‘½»;÷Å;sèï¼Oãz/þû·?¿^üœgï9­Ïîúćâ?Ø~¸W·P´b?ôüö÷þßþéÑïÿü*¿öƹY¤²+©Ï…„Þ¿V™Ÿ÷ûë]§w=BQ–?dcýr™}Ff‹ÍÄ;úùËù_6ÊÓÿôê-÷ñŧýÁ mtÍjÍ›7o6ÿûEk͚Ƴ>2£\AšÌ—7Y·•ý“/½Ùý/™"õC¯þõysm½ãêÍÙ›7/÷iøAÿqýŸ™z³ž=-ü+Ü´úÿjh@=$•×ø}ýë*›’6£}fÚù û¬(y…ørœ®¿6|Îý£~+’ÿ¸Ÿ-3ÿg¾ý·ÙâëŸüÏq”Ïú{þ÷P;[ºÚn^Îm¦ÌûÉm„ÆÀ\üO -"¨N ÐùAm4hû4†=Kðþ4»þ|—©£Ë›Ì’_¬2øq¾ø·–ñVM•pý̉.0ÅÿÓr£"T½âû¿LßôiŸo‘<¯b÷îÿ~ÐY³(YŸ2Åës©ÂåögÛšŒÃ+%óÐÁT¿ÈFöNsºø }Îß@Eßÿ ·;¨ŸücÇíŒ2;~™9fÙ«~—œÕlòÐûK,Fÿ¦¶w;ÿ–aA ›s[¹v¿ÀѶ4mõ¿BM- Z&9f¿œ× ©iæEfriÓ”’`­öÅþhǵ(©;ßh[Aßf’b€Ð¨LŽÐ¿éâ‡ù7Ýç¾wwk·ñÿ¢å0 6œÌ ¦Ù¿ù¼ýçÿX}yÈäî~`÷NÖÆq侉?îg°õ#ýý×õüºg“õÌG´ûÖMrÏ<Ķ…ÛÆ@ õaö8䩸ÎF‹Ò±*ûÙÈvüýÙþ5tw;Ý4SõòdCäGíiEŠAõ÷}»Ze-âájá‰nwâEXõDƒ¨N©¤-Èn[¹gÞø¬??Þgžâè·Yz?{šýP¥ô¢/‘ð:•ýo¿œçÊùÅ‹T÷‹éôíY¼olÎSÿnýzUÛê\1Ѿ¦^ÕNH-Â@ªª»W¬‡”0T¿ìUõªF·©kÂûYÐÄW€¼’½bÓ«©—xU½ªÆª}‰ô ÷®WÕ«n¡ÔШªªªªªªT‡ôªzÕ2Ñ@W¥«nâUÿî£zU½ª^ÕCÇ9+(1ji4€ –Vlc¬Vç™@UG² IÃUz°‘GÖ*Æ*c•±š§•wpÜé˜*]•®JW¥«ÒUUÕPëVe¹ˆUÄ*b±êÏ‹TéUõªzU½ª^U¯ªWÍyð>kª±õtUº*]•®zÈ>ÌÖ> W×cuOé^ÍÐø^I¬v­`~ݨ—@ Ðh¶OÀXxúlcÔ”®³9Ä«âUñªxÕ^ðª5v·‹eVUUUUUUUU‡œcTUUUUUUUUU5gEn‘ +!AMUUUUUUUU3­ Wîy·Tà*++++ÁOlÙ“«ª1˜üà›­n=:n·*‘{xVVÞhõ^VC«#âP÷>3n·Š®JW¥«ÒUéªtÕ`%t 0pbÓv•bl=ÂÞ>²åÒ«êUõªzU½ª^U¯ªWÕ«Öž@§¬WÕ«Ú¯˜¶«Ø®þštå'UUUUUUUíWµ_5†Äå‡Äà*p•´Z ­*—Ðêøùåê`ß©Z ­†Vß¹±•vVöóÃ4‡ªªªªªªj`¸^5òPTÕœ×âú‚A€ @ 8_'£ßféýìiö=—' ×õèf\¯jie½®DVsX£èªtÕ{7( €@ P( Àî° °Yà*p¸ \®’ޝ$Vû²ã,  5ZÙh c5Ìó»åå8_Î?¾úÛ/çöÄ…(ÛUlW ‹t¶«ÀUrVgø¬ªª™µBQTUUUUµ]¥ý°X<Ä1  Mtd=ð’”µÃΪ}„³kXÑ«êUcs ^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«.¡¾¯ŠWÅ«âUñªxÕòéÆêÅ‹€,ÀP¤7 €À¸NŽ…ÆêQH‚ªªªªªªê!û®WqbÍ‚õ_X ºìN¬9±Ví°@bUbÕåjb±*‡ò†h‰UÄ*b±ŠX5$é­ªªªªªªªªªª'u‚VC«¡ÕÐjh5´Zm¬2V«ŒUÆ*c•±êÓâåù‹€,²È" ‹€,²È" ‹€,²È" ‹€:g¯-½a¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*cÕÆÞLGÍÄ—M€Ï¦U‘©ªûŒ² Y…¬BV!«UÈ*dUî\ĺÐ#V{ëUõªVVDR<‡Ob€b€b€b€b€b€b€Ä*b±ŠXE¬"V«ˆUĪœ!+×®WOÏ3Émz9~÷5×á £Î3;[±÷Ý)-çQš|K'³Åü®Z[®WÕ«êUõªzU½ª^U¯ªWÕ«^Ž×ó»û¬ÙÜ;pç°sÀÎï{Gd1ŽÔ\ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ŠJXKª÷~)Žœ«¡ÕÐjh5´Z ­†VC«¡ÕÐjhu–÷Žr†‹Ó·gÓiÞÅŸø{²³ªjL:#¢ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒÕèebÕk›îÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*bÕÉèØ&GR^3è¨*Û?}âÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±êú³Ã•û]䄪«îVõ½“+\}ý9v†ØÖê‹!"ö-Ÿ¤Ü‘Ÿ˜³ (ë, €À`°X, €À`°X,Àn:®”IÀN7 )ÙÐjh5]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JWmMFŽÍvÇê𪹯‘U+’W`E`eï%QUUÕtÜÔ»ú¬??Þ«ˆUÄ*b±ŠXE¬"V«ˆUÄ*bUý 4—ЫˆUÛ8yZÎÚGR ûåüç‹éôì܀ꥲ]ÅvÛUršZ ­†VC«¡ÕÐjh5´š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸U¥+·Hnûo<>ŸåVýÔa¸UÜ*n·*,Ël‡´®ZªªªºX…çëÕ¬WÃ`0 €À`0 €À`0  ³+nƘ%VóL~»;Ç[û#Ž9di¥õj{*¤=û™ªº#bN~70 @¯ŠÀ`0 €À`0 €À`0ËËñzž§Ò§oϦÓÜ¿Ï{„ˆ‘€(Pˆƒ$D43·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[õü𷪇gÙzH.WÔH7V#fUu}v”&ßÒÉl1¿«j•­Õ¶VÛZ½Q´TUUu¨~DUUUUUUõ?änÕþÌèÂJã‰ØYU=Žr Í1xU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^u»^®W«ÀUà*CšgªªªªªªªªªªjiåîÜblw§¥•ΗŠ.’Ûôrüî![è,¶‚A€ @ ‚A€ @ ‚A€ @ ¸H&ëÕSÈTªnéEþ@Ü•ãV…ä×AŽ"«UÈ*d² Y…¬BVxY¥WÕ«:²þêö¥•–VâUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxÕÌ1éºÉXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆjí Kùa̽OŒÒä[:™-æwªªªªªªªªªªênUó[``À•þO9x¯öG,­î¶éUC?' ‚A€ @ ‚A€ @ ‚A€p¸ \®W«ÀUà*9jrâq-¸JõÙY5ƒ«Œ{¬æºú¬??Þs«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVõHg¯É Á{V\X®®®®®®®®†«ÀUà*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«œ_ ñ´˜·vd¾®ÞoÄ»®hüí—óŸ/¦Ó3¯êžÁ›æ» "'Xâ?ÉErÛÿ’œWÕ«Z®Ì‡¶«Ø®’?&Ô«Ð Ezk~j¿LÕÏMpúŽ0¯jàÛ<×Ûß¶#s++++ªªÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠÀŠ€@:™-æwÕt€¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*dÕÍ|y7É[ãËqÏ/ã(M¾í?¸éÛ³éTUUUUUUUUUU÷õ&¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªÈ*d² Y…¬BV!«2–,}ʦƒó({J›“áQaÝ‘uGÖ«°æn¿ªýªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUÛEïcí¬WO!$qCø$päl)àŠ&V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆU‘øo%·¼®®®®®®®®®®®®®®®®®®®®®®®Æ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxÕEsL—Tê¹àp9î9oŒÒäÛþçhúöl:Õ«êUõªzU½ª^U¯ªWÕ«êUõªvV]‰ŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠB«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjhõ‚VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´:BVç`EÔYÿÛ/ç?_L§gÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2VeO ‡ïXû#ëÕSè ºy—TUUUUUUUUUµý,¾ 1¸Íãê2/ÞþuøKŸiºùCŠÌ^€@ר6,€ê•Ó«êUõªzU½ª^5@ é¶Ù€A€‹Ux£9^õÈ\åèo›±*ØGDc•±êÄP‚@  VE4b±ŠXE¬"V«ˆUõw 3êK XZ¹_2mWÉ‚pÂÕÙ#JÁªªªªªªªŸCan•ªºÛ¾sõ!Y~¼Ÿ¯“Ño³ô~ö4ûþ#mÞñªzU½ª‡çP‘çVq«¸UÜ*nÕö JPUUUUUUUUUÕŒŽ­9œ’³`=À#«l TVd² Y…¬BV!«UÈ*nUù8Ü,‰Æ*cUÑ&4öÔ«ŒU­—€¾ µªªªªªw“ErÛÿ:²jWÕ«%d‚A€ @ ËÕCšîªªªªªªªªªªš+¦G¬ö¦«ÒUéªG{ÒtUº*]•®) W¶¿®=ºUUUUUUUU5[dÐÑÔ°ëAq Y…8À¡#«UÍ´¸½½É «ªªjù2¸±êƪ«ûœœ«/²ƒŽ[Å­âVq«:ÚP—«ëG©cëMd«.Çïz-ç–èœ}¹UÜ*n·Š[Å­ÚUÂcPLº*]•®úŠ¿«€­¶ Ø*àC " €0Ë,±*±*±*±*±*±*±º_"\®U¡‚éPq¶"/+zÕ_òºRRRgÓé¤"€À`0Æ*c•±ÊXe¬)󪪪ªªªªªªªªËÕ¶Q°ÄËBÉXí»ÍF¸Z¸Z¸ús,6mÁz­ùTUUÕØŠÀ`0 €À\Ž×ó; À»‡ ƒgM·˜ `Ç]ÿéif¸ŠW®W«ÀUà*p¸ \Ebu÷ˆîÅ"«EË‘˜¿`L¨ ÂÕû«cºÖë0V«ŒUÆ*c•±ÊXe¬2V«ŒÕl¨¼4Ví~ vV…º#b±*Ò5çË9¢Ô€À`0 €À,¡¾¸–Æ«v µëϦëG  €À`0 Ð’d ÕÐêrC±ªã¼õ¡Í  €À`0 €H&ƪð[°)Yï·ðXE¬"V•WbUUUµñ2”Ù"¹íŸvTUUUUUUýµjC#J~µš Y…¬BV!«UÈ*d² Y…¬:IæXXX1V«ŒUÆ*c•±ÊXe¬2V«ŒUuް:Ÿs¿mW©ž—¥•¥±i»Ší*-ÜîÈıŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUĪîè÷‘#·í*¶«Ø®b»Ší*¶«Ø®b»Ší*¶«Ø®b»Ší*¶«tìAXµ Õ*4_ @þ€jزꀥµåHœÎ{!«UȪ¥ªÖ瓃ÛETÕUm‹ªªªªªªjïá–±Ö„ÃòÖs¸ \®W«4ž@¨Õ–èUõªzU½ª^õslsêáܲªjkuh‚áV…>®ö䦭նV‡Ev·:‡{UUU]ôZsOW¥«¶·ÈèUõªWÓ·gÓi.˜˜·³ªz›ì¬²³*÷øêº[µW‚;9vVÙYeg^5ØÌJRÑÄ|HÖŸïe«ZtÄ(M¾¥“Ùb~·,—½¨ªªªªªªªªÛ'@W¥«ÒUÊ) Nº\;¸G¼«ù{$±Z< p2ĬªªªMJbõY«½¥¤¤¤¤¤ª¡d½zê…ÙáUñª•¯†¬êÛŒS$Vë}gdã!^¯ŠW-ÞWÔÜ­p¶YuˆŽ@Ví×¥ÈÔd¬Ê¶6¯TUUUUUU1CRwªªªªªªªªªªz¬L‚À`0 ±ŠX5~÷Ðk—CHÆp«~¾˜NÏÎ/†Ø±ÓjKôªzU½ª^U¯ªWÕ«êUõª»8©E@1X0zòÕ" ‹€,²è}h½ÚÞ²´²ù@¬n†°Ywd=RT-­ ‹7[QK¯Z«$Õš%hõò ™. @ ‚÷ë€põk# tUº*]•®JW²QUUUUUUUUUÕÍÍ' ‚A€‹Ø#Æj«a„«ÀU M8|Ïi=Ͼ)—ªªªªªîfÍÃ'¿TUUUU½›ØZ ¢œ|›ˆÀ`°X,À³ÝIC«¡ÕÐjh5´Z ­†V+á+Þ&¢P( €@(¶~‚b¸UÜ*7V‹wÀU[«kÕZ ­‚A€ Àz“ؤ†«aMZÝ› ·_uï²_µù@ ÕÐjh5´:¢s6>µGö#ŒUÆ*c•±ÊXe¬2V«ŒÕðY¤Ö"Øã2c•±ÊXe¬ž;ǦUÕ2\3ÃDèKsÐUéªtUº*]5ëUõªzÕÖÌ ‚A€ @ °|ÇD%F³››ùònb¿j`ì‚s§)vÕXE¬"V«ˆUĪ]%”X•X•XM'³Åüny9΋ñ•¥•–VZZyˆä¥É·ý_Ž€€€€€€€€€€±Ê5ÀRo2V«Ü²9$V«TUUUUUUóaãð¥ÝxèY…¬: Zl_ž|²gì'#T)ƪ€€€€€@p\mî….Ó…žÖ K´á*p¸ \®W«ÀUà*p¸ \®ÏÆ…•fÏ(\0ÎBö\®W«ÀUà*p•ý:ÀØ*bÛlZ “­Õ}^U¯ZqÅu €À`°X, €Pë {¤jŒUÆ*c•ýªö«Ú¯ZvG„12«ŒUÆ*c•±ÊXe¬2Vƒ•ð÷½ËVÉVÉV1V«ŒUÆ*c•±ÊXe¬2V«ŒUÆj·>Á«™¾W}Èìµ°ÇXÏe:¼÷ I¬6\®W«ÀUà*pn·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UܪÆpb­þ8ì¬*dô׋z«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«VODšXE¬ŠI'Ó·gÓi.ãØPC«¡ÕÐjh5´Z ­æVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«N¶\6vc;”sÀ}>n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·*4wØ­zíÜÝÅÛ¿‘ec¬F|‘Ã뾫ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆêõç«Éúóãý|Œ~›¥÷³§Ù÷ÉÉd¬™­Å`~¾˜NÏÎ/^ä÷!‡ïÓ;[Ñ­p¶"R:ªC2zÕ}=a÷½±¨ÐŒUåÒy~I¯ªWÕ«êUõªC²Ìªªªªªªªªªªº7ŽlbS‘âX9=²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U²U++++Aß±*—ÒÙ‡m›­Œ†¬¶ Ø*`¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p•ÿâ*|]Ž>ί׫Çïiòå1ßQ4´`x$p~ñæÍô×3=ûåý‹üõ”»q×óSUª÷oÎÎ/†ø‹ü–UyG›{×Z5ïhëY<Å ï©öŽzGƒ+4ÔÑ–íZé[…£œ—oý†„;¼ÍxËËÌÕyG½£žÆ·Þ·Þ·>¾2ìŸ¬Žª£êèó¼'s½¹>Ìó»e‰ò©£ê¨:ªŽæ·YB í‰ö´ª|¦À£¼Db®o>Î-úQý¨~”_ß$§ p„>JÕÒG#ÍVåÃéGõ£Å†¨“½Yý¨~T?ªÕf¬cÇ9§CÞ¬:ªŽª£ê¨:ªŽï@À’ÏÄgâ3ß=¤ãQ7ú(Ÿ‰_ÂŒ‚{Â=ñ™pO¸§ÓfuTUGÕQuTÌ­/v¤Dv¹Ÿ´¶õkd—ã8wô‡t°yØŸ)?ÙK„…£ÒGé£ôQú(}”>J}Íû¥ôQú(}”>J¥ÒGé£Gõn6Dìk·oºÌ(M¾í÷úQý¨~T?ªÕêGõ£úÑH?°1%í)yqoV?ªÕêGõ£úQý¨~T?ªm“J‡WÀmånÚÖŸœ}OC½øQü(~?ŠÅâGñ£øÑÙb~·¼ç²ÕøÊ]‘M§ùz3Š~T?ªÕêGõ£úQý¨~T?úgjæúQý¨~T?ªÕêGõ£úQý¨~´ÒÇ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒsÎkç Ÿ‰ÏÄgâ3ñ™øL|&>ÓzõúTyðȈφî…F†ÄôÐÁží3ê:¼P^(/”Ê å…òBy¡¼P^(/”ÊgŠ{áf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23åu ¶{Ž'ð£øQü(~?ŠÅâGñ£øQü(~ÔÌdfªn½ò™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Së[͸ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄg ͆å*`ûG›§sG²\¨\¨\(¿ž_ϯç×óëùõüz~=¿ž_ϯç×óë7Éàì‚Nµ³×훀øD{ ÒÅ»c³|}ýõè|'pO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážZzä‘w qO¸'Üî ÷„{Â=ážpO¸'Üî ÷įÇ=ážpOî×G@/÷ë«qá/ 60¤Å¹+²{Z¸§ëdAçáÓð÷ßZ‘ÜüFÔÑð3Ø u]L1~?ŠÅâGñ£øQü(~?ŠÅâGñ£´'Úí‰öôR¾í‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{ª=؇Ãß`öùÕ˜¬€ÃßßS|ä^> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OÃÞlHçáÓðëg{ý~hø­­[Œ—ãwé¸Ç«qõÇ×åèãüz½züþ˜&_ív´Û1ÿAÙI¶«+v’ÙI4|k§[ÕÑærÓ¶¬vB¥ÒGé£ôQú(}”>J= ×UGÕQuTUGÕÑú¯ k÷õû7gçCˆÜôQúhݬ=ÌnnæË»‰{¡Õo±”é£ôQ7bw+ŠwƒÏÄgâ3U¿7ÄÊ·Á훡´Ùå`‰éüö˜™š=ûåý‹0àôшUYì¬Âá7o½o½o}H SGÕÑöøùÖ·¾9…võ[dù[”]~)Ë;êÝŸQè£ôQ3}ÔþQûGíµÔþQûGÛ_ÃÃëþ1%Q…&Ï@{¢=ÑžöÞlž:ªŽn‘ï}”>j·£ÝŽçTõ£úQý¨~´ý+ÀáwKÃæúÔŽÜýÂ1Dv…_ϯç×ÛQý pø8ü™H»tJÚ[žIžIž)ƒÌpúQý¨~T?ª=TGÕQuTUGÕÑm,õ0`i®7×Û‘ëcSÐ0×7[Iut ­G.T.T.T.T.T.T.T.T.T.T.ty9ÎeËñ Ÿ†OçáÓðiø4üòW +"+ÒæÍìvŒÊ(ؼý©Âˆ¡Þ > Ÿ†OçáÓðiø4|> Ÿ†OÜd¨´7V¿§¤~ O¯·•ÏÄgâ3ñ™øL|&>Ÿé¨ÎnÇ@g—Nx7F¾+"ï~Ý´­ú|3Süà3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&3“™iA{¢=Ù?º÷`œ1ÎîÜmîÜå‰LÉü®ê™ß¿9;¿ÈŸÉ‰ ޽y»oO§¯CçáÓðiø4|> Ÿ†¯¥áÓðiø4|> ?4âGñ£n1qç˜öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'ÚíÉŽ\;r#õAˆrûîDóì´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí©öŽÉ©Úa„v@´î…ºšo?hpÄî…ºšŽ¯ì€xݽ ¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”ú¼Ùp‘ܦ—ãw™ ¾¦]h\ýñu9ú8¿^¯¿?¦É—Ç!VU·è£ôQú(}”>J¥ÒGé£ôQú(}”>J¥ÒGé£ôQú(}”>ºØÈdaµ×»…;wÏÂÐðÝ Ý¾5²"ybƽPuT¯çw÷™µ<=ûåý‹xŲ˲˲˲˲ËÕ°¢þ6èGõ£ßÒ /”Ê å…òBy¡¼P^(/”Ê å…òBë¿‚lÏWô‹}O¯ëëÈ3É3É3É3É3É3É3É3aJhø4|> Ÿ†OçáÓðiø4|> Ÿ†O÷“¬–¿‰z88üƳbC#CU«ÇrûÆí·oŠÑ+fÜx¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡{_ÚWcf23™™ÌLf&3“™ÉÌdf23™™ÌLf&3S2+ö+G™bl6›‡ÍÃæaó°yØŸ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÔx‘…ùñÜËñ»‡lãÈO‘GÖí͹ٰ™>^ï7/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…V³á"¹íoù^ýñu9ú8WGÕQuTUGÕÑÄ}&÷™ŠB€{Ún­ˆ©-Gpaåý7l^õµ)׃èG›MHçÞ·#ýŠ[ŒÃ×­#ùaï¨w44Œ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎgŒ3ÆãŒqÆ8cœ1ÎØ œG&høÇ04|> Ÿ†OÃï4;¤×©£ê¨:ªŽª£êè6»Z.(üãëÒ.j8á…òB[E^h²])nƒ£ëإɻØíh·có…q~‰]ÚGÞ‹Ç=ážpO¸'Üî ÷„{Â=ážpOnƒÛíh·#}”>ÚØWpiæGê ôQú¨]ãvlé+~}«6ä—ݾ©òúQý¨~T?ªm¡<‡Civ@ر»Y¼™áF³››ùòn¢Õº}³å‡ÕÑúnÊ´L ¦S‚)Á”`J0%˜L ¦S‚)¡áÓðiO4|> ?ð+¨î¢ÐžbE"}ÚΔ4üÈ+”£˜’gd.±yØßzßzßzßzßú|o8‰} Çgâ3ñ™øLŧ÷”?ýèü®òÞ¿9;¿ÈŸI±ããèî ÷„{Â=ážÔÑçpæGÎ(vé„<¼ÇË?ä¡T¾õ¯ÛÿyG½£ö=µ©®®Ågâ3Ù‡o~õ+([™;™;™;÷Bcp¤{¡ö8×ßAòþúQý¨~T?ªuŸik£cJ0%˜LIí“€)Á”쥯Èñ™øL|&>“»"îŠØ¥c—ÆÙ.ö×ðõfý¨~T?ªÕêGõ£úQý¨~T?j·£ÝŽv;ÚíËüõ_—£óëõêñûcš|y"šÝÊþËÜíÿCˆìFÀ=ážpO¸§òWà†˜bù™,ÃÈØ?ènpøM„?ŠÅâGñ£ö”üû>ùõüzÚ¿ž_ϯç×›ëùõüz~=¿ž_ϯç×óë‡âìÒ±KÇ.L ¦S‚)Á”¥3Œf77óåÝDUGÕQuTUG#sÕfWrù½Àæaóܹ«c«½¼>YYuôy¼¦»ËgŒ3ÆãŒqÆ8cœÓäÛ¾ïÅ å…òBiø4|> Ÿ†Oçáÿ™Ìµ~T?ªÕêGõ£úQý¨~T?ªÍ÷|å‹9G ÷ý›³ó‹!tÖnÅÉÜÉÜÉÜÉÜÉܵ°+L ¦S‚)Á”èG1%˜’r³™ÉÌdf23™™ÌL/•q³#7T_è£î3Å{L ¦S‚)Á”`J0%˜L ¦Sbf23™™ò:€{Ú•ÃNÎŒöD{rŸ©Ý9t±™´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžZß‚hÆ‘öD{¢=ÑžÜwÜmp·ÁÝwüÏœ£õ£úQý¨~T?ªÕêGõ£úQýèòrœ£ã+Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸§Mê²\œØ¸ënf23™™ÌLf&3“™ÉÌdf23™™ÌLf&3Ó"¹M/Çï2ƒù§ ¸}DyŒèê¯ËÑÇùõzõøý1M¾<ª£ê¨:ªŽª£êhàëÑÔ#{|`B·8qO¸'Ü Ÿ†OçáÓðiø4|> ŸöD{¢=ÑžhO´'ÚÓ_v+ÓcÑéÍHgŸ:fH7v¯‘› øÑˆZ¾¼ÐæêüÍÐðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|þ!‹¢U'ŽdŠíÊÛîû7gçC4l|&>Sý‡>z˜ÝÜÌ—wú(}”>J¥ÒGé£ôQú(}”>J¥ÒGé£ôQú(}4_CÞTTÓ7ø²bnˆ¹!æ†ØŸ9Gó™øLöæµ»°š}OU,o½z µ,խȈφf&3“™ÉÌdfjÔHutU¨êÎÑv;Ê×ïßÂæí·î3Ù5ÞýN¨£ê¨:Ú¹¦†j®7×›ëÍõæzsýüî>;ÝÃgâ3ñ™øL“ø"s's'sçÎ]³DºÏÔDËiO´'ÚÓ6€ÚØ]f´iO´'Úí‰öD{¢=õ9šb\íÒÙüz·Ûö=uŸìà…êGõ£úQý¨~T?ªÕºÏt ]7§þeîdî¶ïˆ;wîÜ*îܵ=SutóL0%˜L ¦Sršø Žª£ê¨:ªŽª£Ýçá5eEdEdEdEdEN»5£Žª£ê¨:ªŽª£vÛ5n׸]ãí¯!Æyð]“î…Fßb©ç_—£óëõêñûcš|ytC ÷”¿0|&>Ÿ‰ÏÄgâ3ñ™ÜÛ} ì÷ÿŒ«ì²ìò‹Ì”æzsý@û§¦g¿¼÷Ž–¯“bväFr>ݹ@ßzßzuTß-/Çkùzùzùzùúë¼X+_/_âòÈe_ÆÞ¼?ÿ>'ÆãŒ)Á8cœ1ÎgŒ3ÆãŒq®´0>Sãmà3ñ™øLÛÀ¿UìÍÃá×_ ûGí=d§È3=ƒÍÔêGÓIsF¥áÓðiø4|> Ÿ†OçáÓðiø4üH쓆OçáÓðCï€båŒ3Æãüî!ûX†7il‚s»“ƒ4|þb!+~Å»Á å…òB«ßB:ûtš^Ë å…òBeîª_~TvYv9ÊNþ¶bJ0%˜L ¦S‚)Á”`J0%˜L ¦$~kÆÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLf¦…Û7á_ϯç×óë“èȼåf+žAUGÝÛ{j‡¿7Œ5‡ß®Uî‡ÃÇᇾ£UèSílÊä™¶‡~T?ªÕê·z„¨C÷°0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”„fCL ¦S‚)Á”ÄÙ™Er›^ŽívŒìÏŠy•gêÎÝæYÔ°ý¨~T?ªm}sŽô½ìvŒ|›"…Ö·~û¼z ÞÑý:…êà×óëùõüz~=¿ž_ϯç×óëùõüzú(}”>J¥=Ñž")7"Ñõ¸¶íöMõ.ážpO¸'Üî‰Ê eiß¿9;¿È­Îߊɳv@ ”gç…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡µ'pLvÅþÑÈ+Th¼|]Ž>ί׫ÇïiòåqùWVä ª`׸|}ëã6„7+*šNš: Ÿ‰Ïä[Ïgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgzÞlhGîKýfhø4|¾ì²ìòiz­:ªŽª£ê¨:ªŽï€=ÎØJ¥ÒGé£ôQú(}”>J¥Ž6yÆ|ªµÂ\oD±Èg{œíqilåçâê¯ËÑÇ9}tû”:¿£´'Úí‰öD{¢=ÑžhO´'Úí‰ö„)‰ë f&3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23åu –eä×óëùõüzÙeÙeÙeÙeÙeÙeÙel6oïkhfÚ=N^S¾>4KОhO´'ÚSˇˆæÇÔQut³0GV¤ÿo÷„{Â=ážpO¸'Üî ÷„{Â=ÑžhO´'Úí©Å¸¸iA>ŠeÍ´'ÚÓ"„ðBy¡«_‹…_…´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=¹_ÿRù*Üî ÷D{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öô—Ó¼ãžpO¸§ñ»‡tÙµýÔàG»ÀÚнX> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OïËϽvõ÷jCz¤ý£_[v9ig"…žÙû7gçC4l|&>Ÿ‰ÏÔ,A›ÚSí\8²®ó™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&s=Ÿ‰ÏÄgâ3ñ™øL|&>Ÿià;ÐvwE"ìokýÑÛ4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†Oçá7¾ëÕS¯ÌPéU¨£ê¨:ªŽª£êèüî>[û'*ê6x[míÊóëùõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùL|&>Ÿ‰ÏÄgâ3õ9®eÿhŒdÙ|G®Id—"/”Ê å…N®“Å"TŽìqÞ½{³ÕQuTUGÕÑÓüquTUGÕQuT}^Λ‡ÍÃæaó°yØŸ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|¦`šmÔ=3ó™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|¦ ãíqÞ½"ö8ov}f77óåÝ„ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÔç8óö{ñióå ݹvç.øKêôæÞ¿9;¿Bœá…òBëM=/42ææåËŽÜæÓ±#·¬m }Êìãõê)x=üЈkl´'Úí‰öD{¢=ÑžhO´'Úí‰ö”DOÃóëÍLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌÄgÚVÂû°‰‡L»Ö³Šü¡CŒ‹=Α<]Ä,õŽzGC¬îió˨Xƒ—®[ئ4šë‹©jÀç#Ï$ÏTÜX,Â9‚ ¿öªÈ…Ê…Ê…Žß=¤}йP¹Ð°¬Žª£ê¨:Ú®úÑò™ô0´ÕQuTUGÕÑÓ2uTUGÕQuTí–ÃÑÌñ£øQü(~4ê»éGõ£úQý¨~T?ªý)Ü-Á…ážpO¸§½w€Ï4TžÝ\o®7×›ëÍõ§1Åê¨:ªŽª£ê¨:Úkÿ”¹Þ\o®7×·üúçèÇê¨:ªŽª£êhõŽÙ+¨Žª£ê¨:ªŽª£z¡±{£ü^¸ÏùpÈ…Ê…Ö_ s½¹~ó>4ßu´ÿíC7„8|>‡ÃÇáãðqø»oûLÛKþÎ^wE§jòŽzGÛ}Kô>b5Á®q»Æó:š­øÅáãðqø8|>‡_»•Ágâ3eý‘™ÉÌ”Œî3™™òÓ®f¦àÄTÌÓ´§¡ëÄ‘ ‡¹Þ\o®7×›ëÍõæzsýkú^üz~}:™-æwË˱™©×!M·ÁÝßÿͨ£ê¨:š@.ûêê¨:ªŽQÚŠ{¢áG$|þ‹x}4üý÷-’éõ­¯-Ó(Mç?¾.Gç×ëÕã÷Ç4ùòèûŒf&3“™IUGOó½ÔQuTUGÕQu´xÜkí¢2כ믓ÅBVDVDV¤÷gB=¸ê”>Úßò½¢¶fÕhÃ\o®7×›ëÍõæzs}ù+°kÜ®ñf¾Ù\Ÿ3d›ÇÐ+?d׸]ãÝC’]–]–]–]–]–]–]–]–]nfií$³“ÌN²€vc¾}øÍ¶ÙN²—Ø]ˆ{Â=ÑGé£ÛÝ.úQý¨~T?jß“=%[¦@v9¼a¡sÁæaó°yØ»¹™/ï&§;Dfó_âákîkîk¾}|Í}Í}ÍË][}„¾æ!Þäfª™j¦šy9~×/âw¥fª™j¦š©fª™õÕ¾ÆÕ!ÛÑè˜ßÝg+è™ôLz&=³ý+Àa‹ïqq'¹“±½‡Gl=óf:—R)¡ulL@& PO :„hùšûšûš¿Ö-ˆÄâñ€x@beÌ£gÒ3é™A·‹j`UCC/ÕˆjD5¢ÕùJ;¥½^õ™úL}¦>³ËÀg6ß5SÍT3ÕL5sG¢¢ÔL5SÍT3ÕL5³vLÛ6ì›Î>mïo ‡‘ÃÉbqä/…Äâñ€x@:€ÏÄgâ3ñ™øL|&>s÷ªC1'lk±£ÃŽ;:ìè°££ÿÄ¡fª™j¦š©fª™•,Á²s¸!Ñð€2µkt¼¨ÏÔgê3õ™úL}¦>3»b¸HnSˆÄÚ 26»Ö¹0 f†>fs³yrJºÁln67››ÍÍæfs³¹Ù¼ü BåÉÉÉÉÉÉÙ9˜4;afs³¹ÙÜln67››ÍÍæfóëÏÇŸÓ² Î.8»à‚µÛÕc±££ÎbTdÊzõª½•Lù[é'*At :~ ×#i i‹È«a{ r9ŒF#‡÷~Md¡Ü`«ÏÔgê3ë¿·ªq4&(ê3õ™úL}¦>SŸ©ÏÜvG%Ô$Ô$Ô¢—4"3ëzCM÷nÀBgاoϦÓÜóþ´ñ}ùæ-†èà P§–CŸ‰ÏÄgâ3ñ™øL|&>Ÿ©Ïì” Ü 4Œ& »àZ ÕˆjD5¢Ù×µÜËŽŽý~žv7ÔµS÷(¸—˜Èì5jÞòK-ÔrYðk2™€L@& P±BÑñâo¢Ñè@t :ˆD¢Ñ訞€KUñ-¥Ò.mœåÍåÍkC¥]p=emˆÄâñ€x@5ª©â%m!m±(>Ÿfs³¹ÙÜl~.ÞŠ&•µÄŽŽš0\þº~ÿðqˆ­#C%ˆD¢Ñè@t :ˆD¢ãY×e\}:¹“ÜIî$w’;ÉäNr'O]4Mi×gê3]ªŠ#öˆD¢£ta67››ÍÍæfs³¹ÙÜln6Ï;ç*ˆhKak”°¥0Ìó»åå8G;mÜÚÎZÒôXÇÆe·-ܶŠd¶s¸EïÛ9|ÒeOofHN=|ã¸Ö(EÚH}æi7g½™ÞÌaI]9 9 9 9 9 9 9 9 9 9 9 9 9 f?pXý0››ÍÍæ¹›|ÄÅö˜Âú)W mÙHÇù³¥É·}CšÄ*Ðz&=“žIϤgÒ3é™ôLz&=“žIϤgÒ3;%W¤]‘ŽýôÌZñˆ°ûvt„Æ ysysysysysysÙIysyó¼K’’jªrfóãè©¡¨3¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍÍæfóúú?i i i‹wYÜ$üyÜŠrѸÖk„5²¥Ð–Âþb›š©fª™j¦š©fnxìb/ÂÑWáøæ $±×*{;:B:Pù.ÚÑaGG='Q¥FlÃnœÁa°FX#¬Ök„5Âa°FX#¬Ök„5ÂÍ>e'F©FT£üàîåkTGªlÃÎÔ¶aï$4J{d/:¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒÞ¾¦G5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢QnæÙd€Ï¬µE6!4&%|&>³8u}(í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥=Ðû¯í¶ ¡örü'›lBXØÓ깓ÜÉЙ5sÓIŒR}¦>SŸyÜAGQ÷¿¸›¶<íÞ³Cõg®“EÕµ,’Ûþ+ïL@vÁÕß=_s_óZ-Ágâ3CˆÕˆjT7øÌzÿ¥fª™jævzÙL&T£˜.@5šÝP¨FT£QmðV3»ü'5SÍl½åŸ‰ÏÄgÃ]š©fª™j¦š©f˜·É±\€¥ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNR»‡y@]-dótÝ‘6›¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼9¢Ñè@t :ˆD¢Ñè@t :ˆŽ«ß?|"§¼MQ,¬ÒÕ#=ÌnÌæfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln67›çg‘£›l)´¥Ð–B[ 뚢š©fÖ«¢]pöÙgœ]pvÁÙ·HúGò¹“¡üD©ËðÍÍæµDŸ©ÏÔgê3õ™úL}¦>³é`n¸†²Ÿ^$·é帧lKϤgÒ3ûl¸² Î.8»à삳 Î.8»à삳 Î.8»à삳 Î.8»à삳 Î.8»àäÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåÍåͱFX#¬Ö¨yšSH(ÃW¼ÐjG‡vtØÑaGG*OÍT3ÕL5SÍT3c…¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼¹¼ùëøøfs³¹ÙÜln67››Í»œÑQ*m!m!m!m!m!m!m!m!m!m!m!m!m!m!m!m!m!m!m!maöÖM8Ø×]‡¾ÊäNr'¹“ÜIî$w’;Ù˜/2Ñ¡j0¤z¥z¥zów ¥P3ÕL5Ó¥ªµb6ˆ•j¦š©fª™jæé®®T¯T¯T¯T¯T¯T¯T¯T¯T¯TïÝòr¼.LÝéÛ³é4ïO„Hõ™úL}¦>SŸ©ÏÔgê3õ™úL}f`(R÷b:L'¹o›©ûm2™€L@&  Èd2™€L@CØ+­¡LÚBÚBÚBÚbö©»Ó:”ï¦'ÖCoÞ5æ6PyçÑ›éÍÜR)¿øø"M”73ÒDIõ>dpÔá=»6nÙ¸ ±­WO¡¨ú4Fþ@|Ò[$·öq'¹“åÐg>Sb¥Q¨FT#ªQùBÍT3ÕL5SÍT3³Õ^áwfóâ#1ÈDfçðþ—j´a‹#‚lm{ÞLªÕ(/Їƒ X#_s_ó°ùg³kÇÉ=¬ßœo~0(XÕÖ|犫+®„o¾˜×b(8 nûld5s÷0ªINÍT3ó…n—c—ªêS>Ÿ‰ÏìóõÔgê3õ™úÌö¯À^#{ì5 ~ÊyTŸ©ÏÔgê3#t˜Ù¼úq¨™gÁâÅ•m³¹ÙÜln67›7ž@§¨fª™j¦š©fª™!˜Yª7”)ïÀÙ¸…5ª½ < ˆä¶E¾ŒbÔL5SÍT3ÕL5Ó= ÷€6¿Ûc’ßo{Ìþ7×öÛcšïD§¸å¶…Û®Z¢´SÚíÏÌßÛcl‰UÖð^Iä0r8$¡q'¹“Ö݉‚CÁ¡àPp(8 ny7±Ù5ôy“ÒNißl_é3õ™úL}¦>SŸ©ÏÔg–¿÷€Z-âáÈaä0r9ŒF#‡‘ÃÈágž¹§gb:Aó-ŠÏ7ÏÀ<|&>Ÿ‰ÏtßÜ}s µOÏ7ô™úL}æbi¯É4e?5¹"]®q±FX#¬Ök„5Âa°Fן_×€5Âñ€°FX#¬Ök„5ÂÝ-/Çùâ™ñ•]pvÁÙWîfZ¯žžçuñ€x@< Pÿáb‹¦V]>Ÿ‰ÏÄgâ3ñ™øL|¦Ùüp‚¾ÕDIêb°FX#¬Ök„5Âa°F{ßLû3 Sz&=“žIϤgÒ3é™ôLz&=sóòeLX#¬Ñ°¯vtØÑaGGø¾&>Ÿ‰ÏÄgâ3#¢d€CU3ÕL5SÍT3ÕÌê ÔI\Çí÷€öß™ÏÍŽ;:ì谣Î;:ì谣Î;:ìè½âÄ!$$$$$$$$$$tšø/$$$$$$$$$$´ë +PÆÎáVŸŒ5J'³ÅœÄºÈ ²“MO\ÍT3woDþÛ¥É75sk]è3ÕL}ætú"ŸNysysysysyó¿œu>^œ›€j>¬í1¶ÇôG´\÷sÝÏÆ-5SÍT3_Bqu¥ÿ†€üàîåøÝCvu7¼]#ûÏÚ¸‚ôÌ}ò’žIϤgÒ3Ã553ôR3ÕL5SÍT3óµã¿øø#¹òæòæòæòæòæòæòæòæòæòæòæò摵ÛX#¬ÑÆ>_!:ˆD¢Ñ舢Èá}eIÞ|àó£r@r@r@r@fs³¹ÙüðÙŠA.CñÍùæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ß¼Ù¼^úƒÒNi/ä³¹ÙÜln67››ÍÍæfs³¹ÙÜln67››Ííè°££~΄jD5¢Ù—ý ÊOƒÝëÿÔL5SÍT3ÕÌþúªš©fª™j¦š©f^'á°RíØl䬤ì¤ìdó;JϤgÒ3gŸÉDÍlêFÁ¡àPp(8 ‡‚CÁ¡àPp(8 ŽjD5¢Q’oédF5rµÖí¿¢àPpõ¯$wrã=ŽR5ófž©)j¦š2X:G  ‡‚CÁ¡àPp! j7}é3g7úÌ€_“_1››ÍÍæ}Ø ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8 ÑAi§´‡;¢ºSò¤ˆD¢Ñè@t :®tø"=r9Œ>p§^ÚBÚb±= àZ¥ÂžöÀ÷Ãlž-ð¯ŽÍÚ'Õ«ÏÔgê3õ™WÇ)ÛÈaä0r9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒF×­G W’+‹ä6½÷¤í5²×¨ñÛAtØ9Œ‚ë¤ÔL5SÍìãS#:ˆD¢Ñè@t :ˆD¢Ñè@t :ˆD¢Ñè˜Ä@–J:Éo¹TeGG«w´£#½·£ÃŽŽÂR3ÕL5sqäf;‡÷ßÍç6íÞ³Cõg6>ó%”o¦7Ó6lÛ°·åÖ­ÞZš©fª™j¦šÙŸÊS3ÕL5SÍT3ÕLyó¹” b”öºÎgvÀ‘“”””Œx#j¦šŠÌvÂâfs³¹ÙÜln67››ÍÍæùÂET»àöQ,\ V3ÕL5Ÿ‰ÏÜy‘DíÜ©š©fª™j¦š©f†ë½ð‡‹¨‘ÏE‘¡iäcx@< +Òj¦š¹ÿmpÛ¢Ê÷TŸNz&=³h¢ÔL5SÍì³^TÍT3ÕÌèŸé†Ú–§ÒgF€uˆÄâñ€x@­ BuI´C™Ðgê3õ™¡>êðϧ†#­WO!AÖÂÍî×ãi.o¦7³|ÍO¥ÒNi§´OßžM§ù—¸Ø=y"¾æÜÉg]½CÁ¡àPp(8}¦>SŸ©ÏÔgvnfóƒ.=¥ÒNϤgÒ37O G”»õc)I³¹ÙÜln67››ÍÍæfs³¹Ù|@ÈDŸÙÅ•» à‚@$‚[Ìï–—ã|>_]L‡!¨FT#ªÕ¨Eø‡w+ÛÑQ<¨A<)·-âo]äs×m½™ÞL|f£yn”pz&=“žIϤgÒ3é™å§QŸÙú,ƒOظeã–[6nQ^¼» Qx@.¢n¥Ð"™üû‡C䔇R¶¹“!„tgäÿÈFiò-̦®ÙÜln67›ÛkÔ(Ÿ³UÍÜû¢¼¢Jãkîk¾Ý€£Ïì,Ffs³¹ÙÜln6ïßÀ©™j¦š©fª™j¦«+]é¸dl67››Í·ï€Ù¼öcpA f³©™j¦š©f¶j¦š¹XØÑÑ5…`ìèhÄ «óvtØÑafõã(çQ5SÍT3ûLfs³¹ÙÜln6ï滋j¦š©fª™jfñÜr¨õØÑaG‡vtØÑaGG\˛˛˛˛˛÷ÕL5SÍT3ÕL5sC>û·ŽÞ—ªZ¿,—ª\ØN¹U9¶CŒÒÞ§—A#‡‘áîp…±=ÆöÛc‚>¬MÕc±¥°öЍ™j¦š©fvÉñT£æû¡fª™j¦š©fîx?³ùñž r9ŒF#‡‘ÃÈaäpù+hZÈaä0r9ŒF#‡‘ß‘ÃÈaäpþôàZy@< ˆÄ:ÜŒ"(x@< ˆÄâñ€x@§ìô3››ÍÍæfs³¹ÙÜlþœ;< ˆthç=³Ú\¦fª™j¦š©föóÔL5SÍT3ÕL53z-Û(„Ï”’’’’’’*Æ(Q]Díº"튴+Òj¦š©fº"íP”‹œûÑgþ÷Ö]ªÚw½™ÞÌæ;ÑyèÀd2™€L@&  ÈT˜Ñ7ÁŽ;:ì谣Î;:ì谣Î;:ö¾ƒlì×gê3õ™úL}¦>SŸ©ÏÔgê3õ™Õ豜¿Áƒ_gAcysysysysysysyóOÏY (o.o.o.o.o.o.o.o.o.oþñ¢r@r@Åg‰oÎ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍ ¶ÅMT·äì}:y@< ˆÄâñ€x@< PR;J“oéd¶˜ß-/Çk5SÍT3ÕL5SÍü|õû‡y†%ß44à ¾#U¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›7ûÍÈ– ² ÓŽiÇ´¿{È þpÚî÷ˆ®jvÛÂm ·-ܶpÛ¢¿¤¡fª™j¦š©fª™ÜI÷€v†X%{¸ˆÚÀ¹øæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ï<$Ki§´SÚ)í”vJ;¥ÒNi/NrDßJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)íÙð˜ɶDŽdxãi¾Ðír,¡VâÙkÔ­bIõJõJõª™jfKÍT3ÕL5SÍT3¯“ðŽÚ°+¡&¡f6¯ Ãå–a;‡;…B}¦>SŸ©ÏÔgê3õ™#Ÿ™M å¥P}¦>3„åê3kOÅl¾¹ñ:†iÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦Ó^?ÎäNr'¹“ÜIî$w’;Y̓ƒÜÉ®·CBMB­ñÛqÛ‚;‰èè¤ÔL5SÍìãS#:ˆD¢Ñè@t :ˆD¢Ñè@t :fŸÉÄŽ;:d'km‘IÉ= „ÆäNr'¹“1ä«ÕL5Ó µ|¼ØüXPp(¸È²H5³õjØÑaG‡šdWJÙ‡‚CÁ¡à¤-úŸ=R3ÕL5SÍT3ÕÌìWÐ| ޼6hÂþœR=Öˆ±Þzô¥:¶Hn½™ÞÌãȪՈjD5Ê _󬿩p ;:ºü'Û°g77ó,ƒ‚CÁuÒ-¡_Š Èdœ]pÛ¹5'¿(í”vJ;¥ÒNϤgÒ3yš´ÄbTiì5 ª|õ,4¨MßžM§¹(Tôh‘8ÕèxýЛéÍ´q«OßK5¢Q¨FT£Fp«·ö8ˆD¢ѱë¨ÍæfógmïCt :¿vKÎúL}¦>SŸ©ÏÔgøT¨S¥áñ€x@< ö¯@Ÿ©ÏÔgê3õ™úL}æv5f CË0µJµ±?3ÄÚÓÞàJín—U·-ܶàñ€x@< i‹H¥Ï|HÇ=Þ©^©ÞúOˆžIϤgÒ3é™ôLz&=s‡Fúi›]+rääü»ì¤ì¤ì¤ì¤ì¤ì¤Í®]Ψͮ6»¶Þ7Ô~˜Í®…Ù|s¾9ßœoÎ7ç›óÍùæûwÜé™ôLû30@ØV3ÕL5³Ïª—ª\ªJN!(äÍåÍåÍåÍåÍû»j¦š©fª™j¦š²äÍåÍ]‘ÎßW¤O¸'®ÏÔgê3õ™úL}¦>sy7á›óÍùæ|ó]Kpø É6äbG‡C&²“û½hu£=½Ç¾æ¾æ¾æ¾æ¾æýi?5SÍT3ÕL5Sͬž@—­Õ†#‡¹“ÈáÅÂÐ¥}¦>SŸ©ÏÔgê3õ™„Zr3}{6æíwþGbÍÄa£Ê6lÛ°mÃò~6nÕ*ð®ÒظeãVü³„F#‡‘ÃÈaä0r9\þ *\ë„\ ç‚€ [O¹P¾~ÿðql(ŸÚd2™€L@&  ÈÄÜû 2 ë3õ™úL}¦>SŸ©ÏÔgê3õ™úÌÓQû3#Ð1¥½úÄF‘\î$w’;ÉäNöŸÈÔL5SÍT3ÕL53J¨I¨I¨Ý. µšà#¡T¿"ë1íÏ<-7=/j2™€L@&  ¨Ë m@Á¡àPp(8 ‡‚CÁ¡àPp(¸È ÙÆ)¦’ö³s8ôé´§Ýžv{ÚíiW3'+‹ì5jÙ7'ﮟV7ß›¢ê¸÷¯—öïb¾L&÷ÉÆT¹¿ ÝŸÜüCû2[NÖ£âÿš\/f“åìKr9¾^-Óùòkr3þKà¿zÝrp÷LéË>­“ÙçɧävµÎþ£fwɸý×ÿkùÇ×Çô÷åíjïßÔ0 >Ì3:b¶¼ýçÙ2ýçýë?ýsÇFœ3ð/ýýúzõu™þ:zû׋ó_Þ¾½ˆý;ó½ø }Îß@õ0[ýÄæ/d¾ÜüÓÝf|ò˜~_dÏhžÎóëñÕ?vÿF«åh™|K³~í.9;;ËÿJŠcàŸOì/1¿Ä:*î±.fßW_³—ãvþ-û§;¶dÍ_nujÞe±Ó/‹yU›s]5ѤY+>ÉZÞ»eÖòäšW5 7¿`ëUõªn¦Úô˜WÕ«êU]ÕÚ“#]6½ê‘î?âݬkm^U¯ l%ŒÊH^µì«#‰çÃa¬f‚$‰ÍÕÄ*b±j# ;#´_±›yE)€ÆóVï)"Õ7ëÏÞ]L¬"V«ˆUÄ*b±ŠX%±Ú¥VR( @`úω À¡'â•TUUUUUUUÕà z$Z§ªªªªªªªªªª«ÿ 7¸UÜ*n·Š[Å­âVq«¸Uܪ&i†¬*ŸG'u'±*±Ê­âVý{»F P( €@ PŽ™c( €0$¢ªªªªªªªªªªy$èˆõD¶«Ø®²M“”9ë©3Ùªü½yæÁêçÝ’]$·éå¸ã¬µàB`eÿ=t¸²Ë³+ª=\e¶{H €àè}Ÿ€ê磪ªªÙýúÇdœ­ØûæXZ¹GšA«¡Õ»F=p{t=¿»ï?»[uJ$w¨æ[Å­âVq«¸UÜ*nÕ~ØLެ¿æM;«ì¬²³ÊΪC±ŠXU꺡ŽÀ(]ebÕ  ^0›=\®Ò¬–'SwtUº*]•®JW¥«ÒUéªÁJxL4D¯ªWÕ«î>*²UµÂ­ê[ ÕÐêX"Y%±— Ë`Ž`¨¥¥«žJß·Š[Å­º›¨ªªêÕôíÙtšWÄO(Ï?<û©ªªªªªªF†ÝÜKW¥«ÒU骡ùM àX SUUUUUUUU=aŒåVq«¸UCþ€¬W‹äBpsb­ùx,Ú{•Äz5ëÕd«âÀ€@ P(Ïèª1¯Í2K¬J¬J¬†ð«­þšk#.¬ì×¥õê)¸¥4M# ¥jC«“ÉK˼֫Y¯f½šõj‡>s,€½'Ä`D~4îVY¯f½ZãÇ!’;VrŒtìžXE¬"V«¬WÛ9‹ªjíRÃó.:»[Õ4èA€¡ÂJ PúcªªªzâÍwn·Š[Å­âV 9婪ªªªªªªªªªõjFnUý.]Õ9à^–ËP>¯^U¯ªWÕ«êUõªzU½ê‰ ¡ã™#n·Š[Õ„xñªxÕ‘c@õ…kûñ_‰ÕqÞ;Œ­(~(¯xÔT @ @ @ @ @ àØOUÀ¤W @ €@ 4U1Ç€^yÊÃ`0 €À4‡ûUO¿ŽWub͉5'Ö*_UUUƒGçg+0?_L§gç9¡WÕ«^î!¸ \®W«ÀUà*ûuZ ­ŽÙ|Æ*c•±*^1‰UÄ*bÕÆþ¬??ÞÏ×Éè·Yz?{š}æÈA–@ P(  ܳN]ÀUà*p¸ \%ß¼`¬2V«ŒUÆ*c•±ÊXe¬ª=¼*  àPGiò-Ìó»eÉ$ W W W W W W W W ¬¬¬dªòåøÝC&-‡}¦­ÿíªñªxU¼*^58rs«TUn·Š[Å­âVq«¸UÜ*•Ý;ÐiWr«¸UÜ*n·Š[Å­âVq«¸UÜ*nUkx°`¯E2V5HíJidyŠl•l`×_¸š9UUU5¢EŒ:ß €À`0 €X,B}1±ªªƪÙÎ÷=ÌnnæË»ÉzÎ`$“Ž•p‡KÈ*d² Y…¬BV!«UÈ*d²ÊXe¬2VÕ¥Ùûé‰UĪü D:«ï^¯Zêº,€„Ld² Y…¬BV!«UÈ*d² Y…¬BV$d«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXÕû½ÀJà³Yš0 @&2¤O¡xIÄÅ{çRUUUUUU=üUÁ«ö?z¨ªªªªªªªªÖ%Àjp)•ŽEr«ª¶Tæ§öHgÝÊ ++¬¬°²â”¡WÕ«êUõªzU½j£Ö’ê½-L½ja¿Ø°s¡¸UÏÚ–„ÀlýÛ“9 €@2” ªªªªªªªªªªV[lpSê‰Ü n µ€Îh  $ÑUéª}Ôõxµ±_µú]ÉVEšøîü €@ P( €àc@u~°¨ ’õçÇ{‹€ZOf”&ßÒÉl1¿[–¿c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V¹±Zë e«Šˆ™ÄªÄªÄªÄê¶äÝrHV›¾=›Nó¢ybCíru€œ =qÇ€r èŒÇ(ú¸ iÓU§­>ý+6TëÌ­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·j¿+æVõ¸ÛåŠ[­qÒ€À„ÀôÚ²ÛR{íW ýœ¸UÜ*[«‡21UUUUUUÕ=Ì£÷1 ½ª^®ÀLšØTì÷„¬Â«dUUUUUUÕ—¾iF P(  q À-€jœÄê~2L¯ú9ÒLs¤˜@ PTUUU¸:‹lŒ¯ˆUÄ*b±ŠXE¬"V«‚•ð˜YûÈϪí*¶«Ø®b»Ê¡ŽÌ…•½'Tžô´^m_D·^m7áYZÉ`°X, €0~÷¹ áz¸ýNX°~òù¡¾¸Ü*¯*·Š[Å­âVq«¸UܪÚèT€¡ÕÐêŸ/¦Ó³ó‹!NBµzº*]•®JW¥«ÒUéªtUºj>Ÿ«ˆUÄ*b±ŠXE¬"VÍ×Éè·Yz?{š}æH±ÊXÕ«êUõªzU½ª^U¯ªWÕ«îÞÙªf=°`½zÊXe¬2V«ŒUÆ*c•±ÊXe¬2V-¡¾ØXe¬*(õlfHgŸÅnxh5´Z ­†VC«¡ÕÐjh5´:<@}·Š[‘Ü»ß n·Š[Å­âVq«¸UÜ*n·Š[Å­âVué=4r«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXÕ›é‚A€ @ ‚A€;Añ/ÀŒlUG—À­’­êûñpd}oè„VC«¡Õ%Fbµß)YUUU-ÃÝzU½jt޳ ½Ô«ªeõ©=­ûÛ/ç®ÆQ”õê)ò`#?ÉErëUmõ…͇åUÍPmËOìÓgPõ*Ù¯jP:îQ;ŒUÆ*cÕA#¤xITUUUU­L½jHÖe¬îªåÉ#·    @ P P P P P P P P P 0vó€±êˆUÄªà ™­´O¬ÚOyƱžgɲÞÈÑ(M¾¥“Ùb~·¼çÿÖñÕôíÙtšû÷Ÿ«ë²Š @iÕA«¡Õ/ž@ LB³]%’é)š˜Éúóã=±ŠXE¬"V«ˆU[Šð04” !°Ø}eE@5xf½ª€€@í~: tLž±ÊXåV½ú#         ÀXe¬2V«ŒUÆ*c5GŽ Õ§°ãR=–ìµWqb͉5'ÖUÈ*d²Ê‰µMcàî× \-\Ý•ÌEV!«UÈ*VZuÀXe¬2V«ŒUƪúÇau&Ðjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjhõÉk¹¡ÕÐê¸rY"ä €À„ÓlÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·*¬9äPlK]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«¶°¬WO!éÌÎ*;«ì¬Ê¥º*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®Üx-xU¼*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«ÖŸ@ódb¹x|=ÏhÝK¼*^ÕÕvÉŒ5Ôµ›R;7b”&ßÒÉl1¿[^Žóº2¾âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÜ*n·Š[åpgWÜ´0ÖÝp À-€Íì…¨‘vVE̪j›WÈçUUUUUUU=ät_}HÖŸïY, €À`°X, €À`Tñ‰éÛ³é4›ä=BÄò¨¥QV>-ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXµW {ÌÙ¿cêÎ{ì°À{ì°À{@€ @ ·Š[Å­âVq«¸UÜ*n·Š[Å­âVq«¸UÛ%ÚÂÕÂÕÂÕÂÕÂÕCšgªªªªªªªªªª*[u 6\ýšÎžõ¬W³^m(|V¯ªWÕ«êUõªzU½ª^õÄm­¶D¯ªWÕ«zÌÍCÙ¬_éžýœ®~>åmç€UUUUUUU{îGf„…«…«…«…«õªÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÂÕÙ¥œõê)äUqȈd‹ä6½¿{HÇ=L9ç€÷‡;Ï‘õüÉ «UŋЀðUÈ*d² YuÂMHUU¯BÉzK¬J¬J¬J¬¢2)€Î½ àn¢WÕ«^MßžM§yE<1®ªªªªªª‘&Þ·H!·ªñQRUUUUUUUU3úC¯ºO0p«¸UȪ»û¬8XYae…•‡Ì ð9öªªªªªªªE@ÛwÀÙ g+ÊrAÈ«ŒUbÕÖÐ9¼ëx(ì^¯ªWÕ«êUõªzÕ<àwħG P P P ±ÊXe¬2Vû® ùjp¸ÊÏÓéÙùÅ€½p5]•®JW¥«ž«ªû…@¯ªWÕ«æª €À`°âMBc‹Œ±ÊXe¬2V«ZuÀXe¬2V«Âwï¶Ÿ ++uÓÊŠêq”bDÈÄ«âU‰UÄ*b±ŠXE¬ VÂc æ#?«¬[°nÁºë‡:2 Ö÷žPç”§ªªªªªªªª9婪ªªªªªªªªêêú„¬"·Š[UÄÔœvd½[„¦«¿”Ã{5TUUUUu¶ÂÙ g+v•ðLd² Y…¬Ò«"«UÈ*dUí tÒ vVõ•8Z’á‘-—^U¯ªWÕ«êUõªzU½ª^U¯:_'£ßféýìiöýEV‡êUÃ?3 0Qt0 €À¬¬¬¬¬¬¬|Z$'ÖœX³_Õ~UûUwñ³O›Ñv•½Év•æ¡«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®Zh(‘Þøðâ’Vªgô0»¹™/ï&ëy&Õõ¦ãB÷>d«d«\®Žã•ëÕSì‡ær® u=ÍEfvVõ-:tUº*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéª;J/mÞbU¹´h8±XE¬jŠPÅ­#*°5lòòäÈ:·*Я–1´ZÝYOX, €À`°XÆ* €À`°X—㜃_9[ál…³‡Z£#a¬2V«ŒUÆ*c•±ÊXe¬2V«„«KÃÉXe¬r pÈæXE¬RUUUUUU͇ ‹€jÅ ¹0¤DÈmW±]åÊΪ¾‰œmE`åYŠžÀŠÀÊP¿Æ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬ž´AÃXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUƪ:Er˜©±^Íz5ëÕ¬W³^Íz5ëÕèªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«îwŃ\5·À{ì°À{º?±öt¶¡ƒô#, €À`°X, €À`°X'`ieýqXZYôGl2=Ò"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V­ž"Ò ±ŠX“N\XyíwC @ @ @ @ @ @ @ X «iò-Ìó»e©òéUõª?_L§gçùïƒÀ`°X, €À¾+Ä«ö:,X¯*ÐÆsËç“Q`e°X, €À`ÔÇ÷®Î‰À`Ä+æš@}N:çQUUUUUUUbÕ¢Ü;ºž3V«ŒUÆ*c•±j¬2V«®?_}HÖŸïçëdôÛ,½Ÿ=;¿Šy¤?ÈXe¬2V«ŒUÆ*c•±ÊXe¬êU[2^ˆI´_Õ~U¼ªýª‡† ÀÞêtÖUUUUUUUUÕ! UUUUUUUUUUu À-‹€r³#s>ÓÙæmxíPöô…äí¨{òФWÕ«êUõªzU½ª^ÕÒJÙ*Ù*Ù*Ù*Ù*Ù*Ù*Ù*Ù*ÙªÖ;€¬j>º*]µÐàK§‡®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«n±èX¢xéªtUºêÝd‘ܦ—ãwé¸ënÀ^]åVq«"fDnظ(pðýPUUÕ20£WuìÅK¢ªÊVéUë³ †H¬eâ/ \FUUUÃ:²Š̋Š'ür쬲³ÊÎ*¼*^¯ŠWÅ«âUñªxU¼*^ÕX…WÅ«âUñªxU¼*^¯ŠWÝ‹¸;” íÀ««%·j#Ã4å6  ¼E€¸š¾=›NspêDŸB¶J¶J¶J¶*ÿ´p;¼*^µY-Ožc.Þþuˆ¯˜W5òû5V«úöÐjc•±ÊXU¼=9C}q5GvÕ¯êÏÓéÙùÅ‹tУ‡ÙÍÍ|y7YÏA€ @ ‚A€ @ xpq ]•®JW¥«ÒUωUñùym¬2V«ŒUÆ*c•±ÊXÃìJWÎXe¬2V«ŒUÁ–©“U§„ ÕÐêŽ0ê ÍA€ À²R}HÖŸïçëdôÛ,½Ÿ=;ÿH ¯ªWÕ«š½¶BôŒ–ë¬[°nÁú¡ÚáÄÚÞr¸²ù@¬¬hªÃW:\)ªÕ >UUUu¸²±xhŽ¡P(‡+·ï `uZ’€«ÀUà*p¸ \åúó(M¾¥“Ùb~·tbÍvÛUlW±]ÅvÛUÄÅÅÅÅÅÅÅÅ÷]ûà íVVV>GLúcV{[èÉK*Y…¬BV!«0u¿º eeE§º?=#[%[%[%[%[5$“¨ªªªªªªªªªª«Ì”¤«ÒUéªÕÀj½šõjÁocçÆ‡+ógæÆªÃ•uèµÐUUUUUÝôÛ66ß‹€öžGEЦ^5K¯¬¬°²ÂÊ ++¬¬°²âØÙ„V³X,c•±jüî!›,Ãõpûˆ.¦e°œŽ/|`°X,€ö;À`DtÌj×»õjÄ*b±ŠXE¬"V«ˆUĪÜöÃ`0 @\{mÄ­L++BÓõáÍtWVÏ­SÈÄ«2VõªzU½ª^U¯ªW {áV·¯(!«UÈ*d•k €À`0 `±8RX· Ø*`«€­>äÉØYµ÷„VVV"JLàHÎzžuê—zU½ª^ug~#«v¿†ª`9Ç «UÈ*d² Y…¬BV!«jOÀÙŠïyD!ßÛ5àýp½jøgÖ¸™ W«ÀUà*p¸ \®Â`°Xõ®xà= €À`°X, €0_'£ßféýìiÆ(üÐm)))))€![gUUUUUUUUUU= <²_µú Ù¯:û´H&ªªªªªªª»Z£Z(&^¯Úþz¸z+ÜaË««£Ú8Òê•(Ÿ€±*þ2”ã#±ŠXuåPþS0X,À+þr@€ @ \®W«ÀU†ÞAÇXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆês¬Æ*c•±Z¼ŒÕó‹9˜@¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ê‡8NˆWÅ«âUñªxU¼*^¯ŠWÝèiž›Z¯žzíÚ“X-–”¾äbB½ª^U¯ªWÕ«êUõªzU½ª^õr¼ž3V«ŒUÆ*c•±ÊXe¬2V÷ßÎ+JÖ«Iü|1žIÔ~7xUc•±ÊXe¬2V«ŒUÆ*c•±*Y~¼Ÿ¯“Ño³ô~ö4ûþ"¹a[«ŸSmräR¯ªWÕ«êUõªzU½ª^U¯ªWm¼´Z ­†VC«¡ÕÐjh5´Z ­¦«îúrx¸ú`¬2VeÁèXØ·¶L7’FV!«¸UÜ*n·Š[Å­âVq«¸UÆ*c•±ê×bëVÇ&©ì-ét2/ÞþõGb«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±zÒ”g¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*cU­'¬Á¨xUÆê3N•÷œlW©~OR‘y³I V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXŠþH<«K"VF+b±júËíê@ªÈÊŠ€Ä;J“oéd¶˜ß-õªzU½ª^U¯ªWm†´[·qݪ¡×«êU[/Å‘_«ŒUÆ*c•±ÊXe¬2V«ŒUb±ŠXE¬"V«ˆU«§ˆ´R-aoŒ‹ä¶ÿ)Y·ö~bN¬5c•±š?Hµ‘­’­:1•È`°X, €À`°X, €À`¬~º+Ä«²®lU[Ý>òÝp·êÈ7}{6qò‹[Å­âVÝM0!1¹iaj4Íjie…•]_UUU½Ò«öýl´ !cUÐâFVáU[/†^5ð[!VÚUUUí÷r5‡^U¯ªW-ÞŸ ½ê1É" P“’-+,ÌÊÉúóãý|Œ~›¥÷³§Ù÷!<¯ªWµþÚ‰¾v‘XXXX ÎERR¿ò'ÚL¬ªªªªªªªªnŸ €°èµû…À`¼¢Ì«WÕ«êUõªzU½ª•VVXY‘ûìå™¶µÄªÄê³`h5\åç‹éôìüâE@ ¸ \e(z†@ P( €@°´ÒÒÊ]?ŒtF Ü—{"²)]5«+ã+ëÕ¬WƒV8UUUuïé¼i¦ªªªªªªjðB¦ªªªªªªªªªªæÂøá5û-2®W«0“~¿'·ªŸ s¹:ð~ØYõí ‚A€ @ ‚A€.W×zBg+ $§Œ‡o&;«‚Sƒc@޵^ ›CNËÕª*cµñËp `þíh5TUUÕ~Õp W©ÏoÁʼnµÎá^UUUUUUõ×4Gnl,1ð£I6 ð¥ç•ý:@W¥«Æ@_[«_ûÝЫêUõªzU½ª^U¯ªWLl?ò³*((((((((((((((Ø­OˆŠ¶ws-’[1@1À³étˆC°6V¯’M€6f·tÂ@í4.æ×Éúóãý|Œ~›¥÷³§Ù÷9ʬÐhŽÙÍ­ê i4Å»NrZx?4{æÎÖ€À`0 €À`0  ñ\¬?áê×ЫˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«VOº’XE¬² ðס'))))€4ù–Nf‹ùݲœGíW}í/®ýªö«Ú¯zÈjc•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ºúQÌ3b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXšŽ;7ÁâUñª?_L§gç/r0aô0»¹™/ï&¶VW¿Íòikõ^Á²µºù@ÜüjB,³€€€@v5ã/³¡Ÿ…ªªªm¿ +—ãwN¬Õ gó¥p·ªï€¬ªªªªêÝÄ9à˜ ™–KTUUµY-O~7( €0$ ªªªªªªªªªªª¹bzX]§«R(WÈ*d²*&¯ñªxU¼êõg °Óa¬2V«ŒÕÀÖ¬ÍXe¬2VwZ±ªÖZ9ôÚ‚„UvVÙYegÕ!û@ Œí/IgD®W«ÀUà*p¸JÜ|môäp¸ \eÛ]!:l8„«SáêîO·Š[Å­âV¾Ü*nUÌ;VC«¡ÕÐêÏ6Ú¯éŠû ’õçÇûù:ý6KïgO³ï/²å–@( Üò'IW¥«ÒUéªçzU½ª^u¡WÕ«n.›÷‰G[«wpŸM€Ïºî©ªªªªj$©ªªªvV5 $c•±ÊXýuèûá, à˜õ @ ü)…ªjš|K'³Åüny9Î/ «ŒUÆj«fVÓ½ýªeühq®JWÝDecße++~=èÖ‰Šv|¦:~^Ûê›+u!ÒÛz5ëÕ¬W³^-(<×EIìÃF»ÎXUÝ—^#S“±*×\¬W³^ÍzµCßUõG«ª|]Ž>ί׫ÇïiòåñG ž_¼yó#ýõLÏ~yÿ"=‚ªïßœ_ ñùVñ޶0µèäï }/,ú{G½£A1\ݽë©}ë£`´ÖûÖotð×[KéõŽnV§øÖûÖûÖÇÍÿCî¤:ªŽª£Açß\Ÿ§2«žîÏv|ë}ë}ë}ëûG0r¿÷zû#f®7×ó™Ê_Ü«&¾õ¾õ¾õ¾õ¾õ‹drÂ4uTUGÕQuT]=7w,FŒÍ«ÿÜÌL“Ïgâ3ñ™øLù,ú®ð™°yõ‡iÙ‹•æzs½:j®7×›ëÍõÕ¾=~=¿ž_ϯ¯ïà¤=ÑžÌL´'ÚÓ¶W>Ò×QGÕQuTUGÕÑ^»†iø4übÃåÉ×RíÒiùÅ3µKgõ£\IóŽzG÷￘™ÌLf&3“™ÉÌdfªÍål¸HnŸqz÷„{Â=ážpO¸'Üî©ù5´tp-Œ†Oçáï½=Ë3É3É3ß=dáßðyÞ ¨\ži2×›ëÍõæzs½¹Þ\o®7×oV׎¯0%˜L‰=ÎÕ¯ÀÌ$ŠjÃdh·:ªŽª£ê¨:z‡¥Žª£ê¨:ªŽª£Å;À ÝY'gÜdEdEdEdEdEdEdEdEú´VCõæzs½¹Þ\o®7×›ëË_Á »kÌõæzs½¹Þ\o®7×›ëÍõ³E}?»› ýl4>ÓA‹­Ù¯Ë.Ë.Ë.Ë.·æúîV\µ“lÿWcósCiv@ìžXZ e3è£ôQú(}”>J¥ÒGé£ôÑö×ÐnG»‹ÀIyOÈí·oš…¢sÎä3ñ™Ü°mê¨:ªŽŽ>ί׫ÇïiòåñEê„»ËÝž¿ž_ϯç×óëk1œ#tuTUGÕQuT ß^ˆð]n1F>î×W²Ñá†÷„{rûÆí›¶¦¨Žª£õ·‡Ãozú×Ù $·Á£(dƒØ<«#=ûžš0?¦d|…ÃÇáãðqø8|>‡ÃÇáãð«[œf&3“¹väÖLe÷ëƒ#sžÑù´È†I·+»4‚ÙË3ewŽiO´'Úí‰öD{¢=ÑžhO´'ÚíÉÌŸ£ÍLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdfª2üz~½›¶Å;P &Dz3²Ë²Ë²Ë²Ë²Ë|+&+Ø1Ð~%> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø¡Ù°Œ–]ýñuéfCÀܹ“¹Û¾î.7öÉñBy¡¼P^hµ„µÜûwÂ.E> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4ü x>„Î`ÿ¨ý£öÒðiø4|> ÿ(Ámð@CŠ) :8Eßjó^tÔ\o®7×›ëÍõûï€|ýPï¦S‚)Á”`J0%˜L ¦S‚)Á”ОhO´'Úí‰ö1²ÒÙ'3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™jO ®ÑúÍàGñ£òL{ïî ÷tPvkfÕQuTUGÛ¿‚A²ÂøQü(~?Šå…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”ú¼Ùp‘ܦ—nƒ78v;6ž/”Ê Ýþ$"ž¯:úR½‡¹Íb\îŽ þq¾Ë;êÝÜQÌ×ÿÅÚÄêÐbì~V­ =ÑžhO´'Úí‰öD{¢=ÖZ©£ê¨:ªŽª£êhýWе³ÿý›³ó‹|&7×X“ƒÃïFgå™x¡­Ì»ú#á…òBy¡¼Ðg”Hƒ¿ým¹Ï´y¼|¦ÝKÖy³K.4ä¿tß9335_1«×·Þ·Þ·Þ·~£ÆÒäÛþ­juTBzŒ3knƒWÕÇMÛ`§ç¦mí©ð=l6›‡ÍÔ`J0%˜L ¦Sr½^=~L“//2·éëÐðiøv;¶ÞNßK.´ñ¼*vK.ôdÒÌdf23™™ÌLf&3“™©Æ@`ó°yõÖ›·Çܾ‰´‹E&ë¯ËÑǹ:ªŽî½&gŒó*tË÷„{:íÎ }”>ºÏëò™øLúQ>“bnˆ¹!憘bnˆµ¿†‡WåëGõ£úQý¨~T?ªÕêGõ£úQ7me—e—1%²Ë8|>‡ÃÇáãðñ£øQühÐ19°ŒÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3Eö'Ø÷tèÕ°ï©ù„ìqÞ=ûžÊ'‘Ý•îRä×óëùõüz~=¿ž_ϯç×óëùõüz~½™‰_ϯç×óëùõüz~=¿ž_ϯç×óëùõüúj6\$·éåøÝC:îq’›_ϯ_,B/ ¿ž_ï>“:Ú®éì“ûLÅc©É ¨Ž†ŸÁöaážÜ Ï*%&©Õª£±o‰:Zõî.Gl w—»Ì(M¾í߆t/4¢ŸE “–]þiO/åÍzG½£nÚº ^ý ÌLÇø^ê¨:ªŽª£ê( Ÿ†_þ 6ÍÄɾŽìr°#éÜðþÍÙùEn#ºÍOáÿˆÃ‡‰ùõüz~=¿ž_¯Žv·v¾õÏy>|&>Sqc÷T úÑÞ 3“™É¾§Ö;`o^9ÍV¥Ö; ì€}/x¡¼Ðý9}”>J¥ÒGé£ôÑ£mÆ8û‹)Á”`J0%˜’£vöò™øL|¦½w@¾¾ÕoõXêʸñ™øL|&>“»"+⮈»"¿†‡±.ýèA °É šëÍõæzs}ûW€ÃÇáoÞŠÈ÷Â.ȇ‡Ã¯¿ê¨:ªŽxñŽ5’òL ŸÉ\o®ßþ$ô£ù×äõ´0;ɚŸÌÚÚ?zòZ˜¡êºwÔ;joÆãŒqÆ8cœ1Α~`#ºØ‡ÅÌô£û®í‰öD{¢=Õêíi1¿[^Žóqk|eGîëꑲ"²"²"²"²"²"²"²"¼PYY‘já…òBy¡¼P^(/”Ê å…òBÿÌþX?ªÕêGõ£úQý¨~T?ªÕæ{ò£Ê¡}˜˜LÉg·[ì¢}OxÆ}¦ QTì~‰Ö(s½¹Þ\o®7×›ëÍõæzs½¹Þ\o®‘¹Õ]‘V0³ÜCÓÈôêGõ£úQý¨~T?ªÕêGõ£4ü¼ÔöDV7V»Eív´Û±ùñà×oVÎæn`,uë>Óàχ_ϯwŸiï°“¬ÅõÐGé£v;Î>=çÖÌ‘¿Üî ÷Ägâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL­oA4?ds0uÅgâ3ÉÜñëëÅ¡³&¨£ê¨}øí LvyûLpO»—C• ~,j«®þøº}œ_¯WßÓäË£¹Þ\o®7×·˜l6›‡Íkÿ ªÁ¦ßÂæaó°yØ<÷BkÈ”¬ˆ¬H1U•{,dîdîdîhO°6´#‡ÃÇáãðqø8|>‡ÃÇáãðùõüz~=¿ž_¿HnÓËñ»‡tÜÂÄ==C{¤=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=Ñž"á˜ô½}wì€ÈéЊv³!þmµ"ðk;p¿üý›³ó‹!6ïèîáË×Ë׈òõ?EžK÷ÌÌgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™XOçá¯~­¼Y»#e¥8nGnÿÞƒ†OçáÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðëòsd_»"ÝBóùÐðiøî3í½5£3v›ˆÊ å…ڛ׬ƒô¼P^(/”Ê å…òBy¡¼P^(/”Ê å…òBy¡¼P^(/”Ê Íc6á¥Q=,uTUGÕQuTm| "Ktãß uTUGÕQuTßÝg§$í|ì¤áÓðiø4|Ú“™ÉÌdf23™™ÌLf¦qÄÆÚ¾Ñ;gî3mžPuÿ,×jõ[G>os½¹ÞnÇ6z»2×›ëÍõæzs½¹Þ\o®7×›ëÍõæúòܱ}øÍÆ ó´‘Ì'6o;iȽ©…yG½£ö”ØSRý |ëƒêøîMUGÕQuTµï©xìå×Wg{í¹¶Ç9b»¸ÅØõ`Fiòm¿÷ÐêGõ£úQý¨~T?Zþ ÜqW$Î2Ö1p÷„{Â=ážpO¸'Üî‰Ê ­õ‰!× ±Ý+ÒÉÂÉÜÉÜÉÜÉÜMÜbL¢Ï`+Ôuå0ÕQuTUGÕÑÓ|uTUGÕQuTÅæñB_sÿ6›‡ÍÃæaó°yØÎ¸›™ÌLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌ”×ü(~´¾ [v9ܲ#7˜f˪G×~Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO­o]:´'ÚS¡) m3%Ñß í‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'ÚÓV?¨tÚí‰ö´÷ôXî‚ÅâGÇï²¥¾á Ku©úê¯ËÑÇùõzõøý1M¾<êGõ£úQý¨~t‘ܦ—êh³ã…6KÃác…úQý¨~TUGO;jªŽª£ê¨:ªŽª£ÝÑ 3Š{¡ûå@¾Ú ±jâ~½ûõ…‚Zrãnƒ» Þî[¢YuT}S‚)Á”`JÚ¿3ÓsfJuTUGÕQu´zÇèê¨:ªŽª£ê¨:f•Ý´Í•ä×óì)i±¿E&‹†OçáËŠÔ¾Ôvo6›‡ÍÃæaó°yؼÈ${Ä G¥ÒGé£ôQú(}tuý9²Ñ‚>º˜ß-/ÇùzÝñ~?Š-?8ü¬&È3É3m> ö=µü=7ö<æˆÕ©Žª£Á"ºÍºÉ3åOàÏŸQ|ë}ë}ë[ï€Ûà¥K]y¾õñ}Ÿê¨:ªŽª£“ëd±µu¸'Üî ÷„{Â=ážpO»o¬ˆ¬ˆ¬ˆ¬ˆ¬H€\£=íR3]ù!Úí‰öD{¢=v/^UGÕQuTUGcdN¹§{ãóÈÜÉÜÉÜÉÜÉÜÉÜÉÜÉÜõÔpeîdîdîdîê9\Úí‰öD{¢=ÑžhO¿{tÛ"¹M/ñ£øQü(~?е§$œ°ï̮ҞhO´'Úí©ÿ01J“oédfoÞþ÷Æýúá³+˜L ¦S‚)Á”`J0%˜’õêñûcš|y|‘¹5b¶lT™;Œó‰ÍŽÜgd×Ý m<,;ríÈ ——ß> Ÿ†OçáÓð‹_A9ªèGõ£öÆv°îýXB¾‡ÃÇáãðqø8|þȽPÜKçáï³f&3“™ÉÌdf23™™ÌLf&Y‘ö×°Úåß!ÏWL ?ÔT6Ÿ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬HÆ…†Oçá¯çw÷øQühä^»:ºGҺŸ} r¡nßDr[8üC&Ä\ëGõ£úQýh@¾g’g’gâ…òBíÃoœÞìŹÛG?ªÕêGõ£§ñ¬ê¨:ªŽª£ê¨:ºµÓCÀµ¼ízõêàíͳ7/b3tïlµ7/{ln6¸ÙP± ÅÅH¡Ý¼- ѥ̸ŠTw+iO¾õe3äëåëåëåëåëåëåëåëåëåëåë—v’ÑG?-²ÆØçùònÂgâ3ñ™øLå¯À.]:ýã¯8|>‡ÃÇáãðï*íS‚)q‹10s`J†çŒ0%˜LIެõÞ!lGnUË¥ss½¹Þ\o®7×›ëÍõæúèÎ?7BmÔ7-ô£úQ7öÞ¡4¹ÐÝ3³ÔþÑHþÕþÑCÆþQ{œ·ïˆ:ªŽª£ûYð´0ûžì{²ï ‡ÃÇáãðqøGåTé£ôQú(}´ý+gÂ=mÞ ;Éò§p„÷ˆÅâGñ£!ÍÏnÇþL±:ªŽª£ê¨:Z“zõ£sü(~4·ÆW¼P^(/”Ê å…òBy¡¼ÐH?Ð`݉˜¿îŠT%„öD{¢=ÑžhO‘Ý×v’½®?î>S0FÑ™¯ñŽzGíÍ ÌÅöæÙ›·ç¢d‹Y¢w.ÔQuTUGëÞ³~T?j·cëèœGøõüz~=¿ž_ϯç×óëùõüúv‰qÆ8ッ˜Ã4×›ëÍõæúhPÑŽÜÝËa·£ÝŽÁEι}áL£>#}”>J¥ÒGé£ôQú(}”>J­†‰Ð] l6›‡ÍÃæ¥—ãwÙV”Ÿ"šŒ:ú"uâÈçÍgâ3ñ™øL|¦Ó´uTUGÕQuT´â‘[|&>Ÿ‰ÏÄgâ3ñ™øLôQúh|6›‡Í33™™ÌLf&3“™ÉÌdf23™™ÌLy • ]ýZÝ(o½š™ÌLf&3“™ÉÌdf23™™ÌLf&3Së[Ý ‚qÆ8cœ1ÎgŒ3Æ9¤±¹iøB6¹÷#sª¸'ÜOçáÓðiø4|> Ÿ†OçáÓðiøò-[öŽ{ê·zíê¯ËÑÇùõzõøý1M¾<ª£ê¨:ªŽª£4|þæö_q7&¼Å´Ç!8>_?Úw°~´Ytݯ/«Gu‡u½z Õãjî‹üxOã[ï[ï[_ÿLõâzìßÿÙОú¯ý÷­÷­_,‚_rßúí«á¦­›¶Á°›¶ÇÝ•ÁâGñ£øQü(~?ŠÅâGñ£øQÜî ÷„{Â=ñBy¡¼P^èiØ›:ªŽª£ê¨:ªŽ6¾ؼ“‘òÖ·Õ. Ùð˜’ð3Ø»PÃ(M¾ñBy¡¼P^(/”Ê å…òBy¡¼P^(/”JçáÓðiø4|> ~wŸŽ¯Ü¾ ÆÑ:sŠïßœ_ 1TØ¥³{ør¡r¡r¡•ŸUíûä…òB÷wÀÚS²_+ì)±§¤ûPGÕQutö© PGÕQuÔŽÜçÕ ý¨~´¡_ð™øL|&>Ÿ‰ÏÄgÙñ™6¿žÃ²ÅPù!^(/tsÅ ±þ¬ ý£Æ^.T.´YN1%Œ„¾õÑ> Ÿ†OçáŸpæPV„†OçáÓðiø4|> ¿”/è£ÏÐuè£ôQ;Éì$«~êè¡ WhŸ:ªŽª£ê¨:j·ã6&+Ï$Ï$ÏÊŒf77óåÝ„†OçáÓðiø4|> ŸöD{úµ ´“ÌN²zÃTδ'Úí‰öTþ šœ¹v@Øñ*Ì5/”Ê ÕêGõ£úQý¨;w‘~@?ªÍÛ„ñ•]:vé¼È@úh±ø”›Îv騥ã~}â~}»JØSbO‰=%ö”ØSbOIõ-°7ÏÞ<{óFç×ëÕã÷Ç4ùòè~½ûõùO›‡ÍÃæß=d‚îO’w„qÆ8cœo{„ž¶™˜\¨ í\°?øK²ÇÙçèo›‡ÍÃæaó°yØ Ÿ†OçáÓðiø4|þnÕod‹¥\(ÿà)¨WIçáÓðiø4|> Ÿ†OçáÓðiø4|Ùe™»HXÛÝåj\Ø85ÝÏÃN²ÝÓêôõx¡¼ÐÕõç«?¾.Gç×ëÕã÷Ç4ùò¨ÕêGõ£úQý¨~t0H?ªµ#×.f1dÿ”\¨\¨\(¦S‚)Á”`J0%˜L ¦„†OçáÓðiø4|> ÿ2#Ï$Ï´­öáoÄ17d#iÉíoK¾~ï¹FN„UïŸbnˆµ=37Äò'p|4Û·Þ·Þ·¾VX|ëó»åå8·QÇWn1¾nÿ‡ÃÇáãðÛ®Õn Í(M¾í3.¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Ø+=ÌnnæË» í‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{j| ä™ä™ä™ìÇçꬃ\h|Ž–‘‘‘™\'‹E(l×øîåpûfóŽðë#RL¢wû¦¿^+s's's‡{Â=ážpO¸'Üî ÷„{Â=ážpO¸'Üî ÷„{Â=ážpOÅ.M~=¿žÏįçן¦™«£ê¨:ªŽª£êhìòE¶/º:ì€{Â=eWœï„ûLdM¢ß’-Üе^?ªÕêGõ£úQýh¨ïæ…òBy¡¼P^(/”:>R{p‹qóë9,[´Ø³#Ÿ·¹Þ\o®7×›ëÍõæzsýköòõòõòõòõòõòõòõòõòõòõòõòõòõòõòõòõòõ˜L ¦S‚)Á”`J0%åŠo{œ›Açîs>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ)˜ .öëå‡Tݯw¿~ûޏ»ìîò¡rÁ¯ç×»_ÛÁº5åìu¿>\Hõ£úÑÚn†Ð¢ŠÚΤõê)ø'ÊÝØ‘?×é£ôQú(}”>J¥ÒGõ£úQýè·fì þ’:5e;r7]ˆ¹…ÛÚxÄóqC,2æú¯ËÑÇùõzõøý1M¾<âGy¡øQü(~”>J¥ÒGõ£ôQú(}”>J¥ÒG;ON7o•ÓžhOî×ï½=DnÜÓî™áðqø8üŠ¥NgŸì{Ú>ŽÃf˜:ªŽÖ<ý¨~T?ªmÿ šs«»ËûOÈ\Ÿ^Žß=¤}d`L‰\¨\¨\hhnUGÕÑîo둽‡}ø-f­ÐJäB·Ûmdн£´§æhYY~ë°“¬T®í$Û> ^(/”Ê y8úQýè!4€öD{¢=°Æ”`J0%¼Ð¶Ç‰Í+Ÿ ƹ•Ç”`Jú…|½|½|½|½|½|½|½|½|½|½|½|½|}kv.s[f&3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23í(é×»!!s's—Nf‹ùÝòr¼ÖêGõ£úQý¨~T?ªÕŽÒäÛ~äÎÝæ—áÎ;wy}¨2Yö”ØSÒÎäG ÕÑ?w=%ö”ØSbOÉ$¶×P.T.T.T.T.ô48KUGÕQuTUG»O¹ÙðœçãöM$:‘Kln6ŸéàxÆgâ3ñ™N=~bGîî*¦„²âòLòLòLòLòLòLòLµ½R¥~Ágâ3mn; · ‡êGõ£n6¸ÙЬƒ0.üz~=¿ž_ϯç×óëùõüúH?°a"Íõ]h¨~´ùê˜ëb8øL|&>Ÿ‰ÏÄgâ3ñ™ŽšQäëõ£úÑCñ>ü(~?ʯ^°ï©û7#Ï$Ï$Ï$ÏÔþØSbO‰=%%ÝwxD*ˆ{Â=ážpO¸'Üî ÷„{Â=µvýèüny9ÎÛ„ñÕû7gçyIžéÀšDs½¹Þ\o®ÿÚ›¡ŽnTœ×û¶âGñ£øQü(~?ŠÅâGg sýóq„¡¼Gý¨~T?ªÕêGõ£úQý¨~ôÏôõ£úQý¨~T?ªÕêGõ£úQýhŽɊȊȊȊȊȊȊȊȊȊȊŒ:obœ1ÎCD…ZÌ]:³¢ü)^ýñu9ú8¿^¯¿?¦É—Çùg`ßÓþ?{óìÍë~'ìµÔþQûG·B¢Nˇᮈ»"òõ½¥5~U:øõê(¿ž_ϯçׯWO¡ÏA¥MDþ@\c{Þýúß?|ü‘䦋étúCÉ_ÓéÅ@ ”^R¾=æ¹ý@Wë½™f͹7s? \ÎçjæŸÚZx3½™ùòA_ó`HiÛ ä C»Æ|Í_\Zôfz3·Qõ™úÌÚÁû,©™j¦š¹}ÔL5³Â¢­¼š©fª™jfûW ÏÔg.’ñT#ªQŒ,:bo¿7³3³A52™€L@a&üô½ ¾æ¾æ¾æˆŽÍŽÇŸ‚ÊkcBt :Òþ-":þôEi§´SÚ)í”öÆèTiÔL5SÍT3ÕL5³’r;.è™Õ Rííâñ€x@< Ðåø]?qìJÍT3ÕL5SÍT3‡Z­ÈäNr'¹“E=ɳ8úÌîUÿ¶Çìkž6n忬QùbtjøL|&>Ÿ©fö·ÎÔL5SÍT3ÕL5s“H-&uä𤹠Ýln6ŸÓ3é™ôÌz!à›óÍùæ|s¾9ß¼X¿N‹àM•j Ž«+‹ù]u|GHˆo.$$$´¼›¸¡z Ž\~AϤgÒ3{dܪ%-X[zd2™€L@&  Èdj@àÕB Pæ=îÊܶpÛÂm‹`G-¡ؤz©FT#ªÕ(û¨™j&¢#ô9pw2c}\ª tšj¦š©fª™!KÍT3#˜lÆÞln67››ÍÍæýÝR5SÍT3ÕL5SÍ”Pëš¾Bn >Ÿ‰ÏÄgâ3ñ™øL|&>ó”ÍiøL|&ßŸÙµŽ¶®Sà3Ø»í1¶Ç¸ˆàk\]qu¥þUÕgê3õ™úL}æN¹•<ž:ãñ€x@< ˆÄâñ€ö¾Õ×bÕ#Ý ÏÔgê3õ™úL}¦>SŸ©ÏÔgê3kvïk™åÍ»|s¾9ß¼ÏÄa67››ÍÍæfs³¹ÙÜln67››ÍÍæ?E!ËêxC©A¸îútºmá¶Er ©k67››ÍÍæfs³¹ÙÜln67››ÍÍæfóf?ðzW­íÞïE+@<²Ä#û74!rªÑKÔpo¦7Ó6lÛ°·å6¿c†‚CÁ¡àPp‘þËÆ­Ú(y»¢´SÚ)í”vJ;¥ÒNi§´SÚ)í”öòðwhi÷ôíÙtšoe-—È cK¡-…Ϫ%fs³y~ì,F< ˆÄê¯b©™j¦š©fª™j¦+Ò‘£sâP i›jz—^Ôõfz3ˆD¢Ñè@tp'ˆD¢Ãln6Ÿß-/Ç9e1¾âñ€x@< ˆÄª?ÙÉôrÜóÓ o.oÞøíTv_d9Œí1§¥¶Kµ’ÙÎa;‡í^,bAœ,¨Ø_.m!m!mQûe„~>yÊ­øñøš/êú!Ök„5Âa°FX#¬Ök„5Âa°FX#¬Öˆj”|K'3ª¥ÒNi§´éSSÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”ö›y6PÚ)í”vJ;¥=h–zÈvŸ„'§m®ÐéJdÌŸEè”í1û?0©^©Þæ;a67››ÍÍæfs³yÀ¯Ñgê3[HyóØÄ‚CÁ¡àPp(8 ‡‚CÁ¡àPp(8¥ÒNi§´SÚ)í”öÃt ¢£±0ÛfW;:ÃÈaä0r9ŒΖ½o.bf7y?½HnÝÚÒÑ®®Ô5\à µHáˆ2äˆD¢Ñè@t :ô™ˆD¢Ñè@t :ˆD¢Ñè@tŒ(í1ƒ¡GŠ–ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ{þ’’ê3 ùKqA`ÿæ‚€ ÍwÂln67››ÍÍæfs³¹ÙÜln6)ÕôÐØ]a¯QÍæ½]¡àPp(8 ‡‚CÁ¡àPp(8¥ÒNi§´SÚ)í”vJ;¥ÒNi_ÕöÁÛ†ýZ 7¿»OÇWvtØÑÁäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;Ù±¨¦³£c¤fª™j¦š©fæ¸ÁôíÙtšUÉïsG>®®Ø{5²W'Í%yó¹RʶW¿ø8Äo-û勞Ãa°FX#¬Ök„5™€°FX#¬Ök„5Âa°FX#¬ÖˆoÎ7ç›óÍùæ|óÊïíe »¡%ùæ—ãw‚r¸·â›ç~NèŒÒöDf{Œí1¶Çô,&¡ ®k¸Á=³á)w¤¹ºR3Ó\]iøë¾æ;ðjC¿°õê)Ôºˆê"j³ÃãNr'¹“j&w’;ÉäNr'¹“ÜIî$w’;É<1ÊÝŠ—Ò3#nñ ¥z¹“µ¤¶,ž¹¨«4òæòæòæòæòæòæòæòæòæòæòæòæòæòæˆD¢Ñè@t :ˆD¢Ñè@t :›žPHHÈ›v¿¬Ql'Ök„5Âa°FX#¬Ök„5Âa°FX#¬Ök„5Âa°FX#¬Ök„5Âa°FX£rWwD.«V6«™j¦š©fª™jf€µè:[äꊫ+±rG4¶ÚR˜,b:Î6>àêÊ tu%rM9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒF#‡‘ÃÈaä0r9ŒFÁ¡àPp(8 ç"j¾ªk„5*–ÖF߬Ök„5Âa°FX#¬Ök„5Âa°FX#¬Ök„5Âa°FX#¬Ök„5Âa°FX#¬ÖkTÿ¸ˆê"êbaœ]pvÁåï@­ Æ&G5SÍT3ƒ$jiÂê3õ™úÌ>¤.¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1íÜIL;¦ÓŽiÇ´cÚ1í˜vL;¦k„5Âa6jyÕaÚ1í˜vL{ît ÌæßÎáâ©™j¦š©fª™]_ }fz9~÷ޝ;rfs³¹ÙÜl®fª™ÛIë quh";ŸN/ÎÎ/ò6ˆÄâé3õ™úL}¦>SŸ©Ï<.5c¯‘½F< à6{j\·zƒéäõê)$ˆWIä´>W¥ »Hn}Í}Í}͇݉aãVðwHv¾=›N‡]õ™úL}¦>ó*´ÿþè37U5‚¤ôØê¬ÏÔgê3s7yc¬?3^úÿµw·½m«ÙšçßçSú]ɵc¥S§‚¶ÉÁ•2h`÷PlZÂ-ydeœÌ§‰’øxß$MÓ®ÌïÕAW§ªRÜÔâZ×õ¿ÖB#‡‘ÃÈaä0rø¨ $ñè™ÇDõñô ¨'»æ0 h•­A¡gÒ3]èÃ>©™j¦šÙ3ºj:x@ýÛû}¯¹¯¹¯¹¯yóWÀ7ç›óÍùæ|óóסۨR3ÕL5SÍT3ÕÌn¦¡ 5››ÍÍæfs³yå ØŸyZ1Š‚CÁ¡àPp(8 ®cñ6 ®cÐ3‡=Íæfs³¹ÙÜln6aöfs³¹ÙÜln67››ÍÍæWÓí1 €iÇ´¸6DŸ©ÏÔgê3õ™úL}¦>SŸ9`”ìd¤‰rßÜÝÉ>ÛÙºHf›lB° Á&„rpCÍ µrU”””””””Ÿ‰ÏÄgâ3ñ™øL|&>³Þ_1qè3õ™úL}¦>SŸ©ÏÔgê3õ™úÌâ órÇö˜ÒƒÌAØ/Ÿ¿fOul,–;ÉSŸ©Ï<šºóóùÙ¬Ök„5rèL˜ÍÍæfs³¹Ù\Ÿùí9¤z¥z¥zû|:é™ôLz&=“žIϤgvŸáµ§ý™GZí5Š´âÇMFöå9RÙÉJ+9xj{Œí1ÕŠÒúâN¾z_'Õ+Õ+Õ+Õ+Õ+Õ+Õ+Õ+Õ+Õ+Õ+Õ+Õ[íºi®ýŸ—P“P1ßm67››ÍÍæfs³¹ÙÜln67››ÍÍæfs³9ßô& :ˆD¢Ñè@t :ˆD¢Ñè@t :‡3&6»¦å7jD5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5J~îf ªQ–†»šJ[”C%n¨e[³£Tž„š„š„šš©fö×WÕL5SÍT3ÕL53=–”’”l[ßPþ~ÈNÊNÊN¾¦vt„\;:*ä=óŒ+ù‘Ã< P Q3ÕÌÐò0³¹Ù\Ÿi67›7›HzfÛôe¯ÑâövµO!è3õ™¡Ö¨ôTô™úL}¦>SŸ©Ïü´Ë8ý–Må]n MÁJÒõØ\pAÀ÷€ö[‰G| ž3A#‡‘ÃÈaä0r˜ÒNi/?—ªú‡—¥z¥z+¿œ«+ÈáVGNÍT3Õ̳ѶƒÒNi·s¸Ï/…žIϤgÒ3é™ôLz&=“ž™§—Ó䎞yú.¼˜}Ògê3õ™úL}¦>SŸ©ÏÔgê3k¿‚*>Ϭ¬ÓR3ÕL5SÍT3ó@‘RH¤fª™j¦š©fª™Af”‰k„5Âaš¿Ûcl±=&úåÍ6@cÚ1í˜vL»ì$ÖkÒëè™û“"Ý@³¹ÙÜln67›÷§ÎÔL5SÍT3ÕL5óøÌæfs³¹Ù<|óÎ<œš©fª™j¦š™uÝ"¶>SÞ<4nÈɹºuÀô™úL}¦>SŸ©Ï¬ÿ "ß}¦>Sv²æÇµ\÷‹Øª<¢§T£«iÏ¥ßT#ªÕèÜ’¹îwìB(í!o?ßg÷åó׌-<î’<ÓEPÈN†D¾Ì™oûAÏ?\Ìçcüs´qËÆ-53ø¤´SÚƒkTÔL5SÍT3³qCÚBÚBÚBÚ"¬ÛòÍùæ|s¾9ß<"Jk!\]©="¾9ß|į'¥ÒnKa·9Œ>2äj¦š©fª™Í_ˆÄâñ€úK[j¦š©fª™j¦šù©stk67››ÍÍæfóÊh ¨™j¦š©fª™jf-Œ`JÇ´¤ìdkwÁ7ç›óÍ{.¯­¬“êm“ÝPsC­Ôº#‡{†n$Ô$Ô$Ô$Ô$Ô^½»0™€L@& ²wM5²¥°€uÛÂm [ CF¬[ÅS¡´—Þä0r9ŒF#‡‘Ãé3Îm :¶fï@©‰Œ-nÔgê3õ™úL}¦>SŸ©ÏÌÚ¾9ßühêâ3ñ™#žL2››ÍÍæfóÅ·öNË&„ë½=|’{Ÿ •¶(9ËŽwdÈåÍåÍåÍåÍåÍåÍåÍ×Ë™{@¡×@B;)¡&¡Fi§´SÚ»G›lB° ¡òµˆÙ2}þP—¾*Õ+Õ+Õ+Õ+ÕÛ_ÅR3ÕL5SÍT3ÕLi‹6Î)„&ðÍùæ|s¾9ßœoÎ7ç›ç¿‚Q”³¹ÙÜln67››ÍÍæfóòˆ¤]¥-Jù‰½§ìP1–dÏ"¤bé3õ™úL}¦>SŸ©ÏÔgê3ór@r@ï‚§-…±OE‰ƒoÎ77›óÍùæ|s¾9ßœo¾¿Z¯ÏŒžöEd ·ö ?Ã?z&=“žIϤgÒ3k¿|fÃòîÞ6éꊫ+®®„ݬQe†ÇÅ]W¤]‘vE:T4]‘°ªøÌÊŠÍíæ)$îí{䜤Ÿ€:†è@tPÚ)íÍþ¬…g‘¶èÂãúË篙RpÌ^ þ­5J8ˆt:ÀCϤg¾¼ÂÐ3é™ôLz¦+Òý›a5SÍT3ÕL5SÍì>€Q&ðìÏ\ÜÞ®ö¬·߃j4Éý0訞ª™jf£×ä›óÍÓ +Ž5R3±FX£lf° ®Æç§é°FÍ^¤;50–ïÍôfÚRhK¡T¯T¯T¯T¯T/ ‡‚‹zñ·ç¹“¶ÇØ“ËT£S2Ê&„$  ErŒ;¹Dyÿ…è@t´ºˆD¢ãÐ`¨™mÊ Wѵˆ5Ña67›Ó3“¶Ô‘vt`BÓ=“žYÃSÿÍæfóá¿|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄg6æ‚¡9³¹ÙÜlž½¥„úL}¦>SŸ©ÏÔgê3õ™ÉÌŽŽÆï G¿Ä7ç›çO`”Û¸—óùüwºÃäNr'¹“ÜIî$ÕˆjD5¢Q¨FT#ªÕh˜úA5¢QzZÒ ¢Ñè@t,¾ŽZ»o)¶ÚRhKa]­ê•ê•ê |ÒäÎ&³¹ÙÜln6S•mŒjæñAÂ>a°FX#¬Ök„5Âa°FX#¬Ök„5ÂRCôŒÒüÃÅ8ù©Rø/,$ÙÉÆ»);¹›-ÒÕr}5ÍŽ\M¯½™ý—#:'¸Çd2™€L@&  èæ{¤9|ÉÎŽà÷¨lÛ…·š€L@#þxå€ä€ä€ä€ä€\÷«ˆT#ªÕˆjD5¢Q¨FT£ägÝ–¶¶¶¶¶¶¶¶¶ Q¨FT#ªÕˆjD5¢Qä€ÒÍÍ÷Î…‚CÁ}Ê‚x×_>ýn–y3½™ÞÌÓ;pˆ©Fã²< ˆÄâñ€x@< ˆÄâñ€x@< ˆÄJSysysysysysysyóŽã«î ô™úL}fT{ÄõcˆD¢Ñè@t :ˆD¢Ñè@t :ˆD¥ÒNi§´·9Ùe-”§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi?½=îÔ«™j¦š©fª™jæ§¼¹¼¹¼¹¼ùÕt{Ä æ.æó1öíë3õ™úL}¦>SŸ©ÏL}¦>SŸ©Ïüûbé»GÙpåRU°ûêBïM@ý?U×ï=bo¦7Ó µó\à†Zñk Q¨FT#ªÕˆjD5:ü ªÃ°ÕˆjD5¢Q¨FT#ªÕèm[ *DN÷l7O:‚žù r aâÍôfÚŸifö»þòùëɦ†%…‚ ±ÎÕ}óÈ#rw²‡„íkîkîkîkîk^©‡A2û~¸ °§„Š`Mdô.æn³y£é±9j¬¾××Ü×Ü×Ü×Ü×Ü×Üm‹6] Ô×ÉNÊNÊNÊN6&  ‡‚CÁ¡àPp(8Ürmã–[‡'p Âûš†ˆÿˆDG’¦øÌŠõHϤg–Ÿ@„õΖ­_My@< š©fª™öÕ~£ì@Æa°FúL}¦>SŸ©ÏÔgê3õ™ögF)Q]ªj]ÔL5SÍT3ZÊ´€oÎ7ç›gï@ìÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´÷éœ"–-…‘Á³øE™ÍÍæfs³ùâ[{§U¦IìèXÜÞ®Ö˦½(žùf>;‡³ó¶6Çw[ ÓU©•·×(¨òu}jæ.æó1¶šSÚ)í”vJ;¥ÒNi§´SÚ)í”vJû嫜L¢´SÚ)í”vJ{Û¼e{Lÿ%9”vJ{%ÝéPä2¥Òî‚ÀYåãN–lk5SÍLÍæfs³¹ÙÜln6߇4ÃwÜÓäÎl>coKa#YŸ¿unõ6º·zw³EDÁõÿTÉÉð{j¯‚Ãq÷Šä0r9ŒF#‡‘ÃÈaä0r9ŒFWáǪ@Ϥgž¿ÑX<=“žéV/hÜ“ÍnõÚ9ÜzÝÁ^#»àvÓuBÚBÚBÚ¢C.m!m!m!mÑüðÍùæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ßœoN5¢Q¨FT£Êh½%¡fª™j¦š©fª™Ç'`¦×‡‚CÁ¥iŒ/ïûqݯ*Jeè> ‡‚CÁé3õ™úÌ€úÔcS ‡‚CÁ¡àPp(8 ‡‚CÁ¡àPpˆD¢Ñè@t :ÖË™«+¡×Ñè@t :\ªzõ­‰.UÕ{ÑÂû·ÙµÑ§»TåRÕ©cë¾#3AA5¢Q¨FT#ªÕˆj”ÿ \÷k /®û ¿t¯ÏÔgê3õ™úL}¦>SŸ©ÏÜ'bß…“ úL}fäÕ7¿š~tu¥ò :ˆD¢ѱZÞïO’¹ˆê"ª‹¨.¢ºˆÚ_lS3ÕL5SÍT3Õ̃{ÜY8X¡ÅgöѨ삳 n¬_Š´…´ÅQþÀa°FX#¬Ök„5Âajß‚QÒ úL}¦>SŸ©ÏÔgê3õ™úL}¦>³xCÚL··«}-qC­ô s?òËç¯ÙSåN~Ÿì’Ÿõ…A< ¨g@&ôBÁ¡àPp(8 NŸ™uÙúÌJ¼2²¸Õf×߃5™€L@& U{Ô‰¨F‡Ï“¯ùÙª-Ìøš§«ÒED¢Ñè@t :ˆD¢ÑèxÖ6Fw'CŸN[ m)´¥Ð–B[ m)´¥ðÓnñ-m-‡jÏ|DÈá€v›û<  ¨ô‚”Ø|HÚBÚ"dý©™jf¡æD ¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›WûîËž'n¿Sû.óýjjñtƒÙÜln67››ÍÍæfs³¹ÙÜln67››ÍÍæ­ö¾]pvÁÙgœ]pýG5SÍT3ÕL5SÍ´?ÓÆ­³í`ãVd“*w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜÉÀl8ä¨âÀÝkfs³¹ÙÜln67››ÍÍæfs³¹ÙÜln67››ÍÍæåËYîNÖßQ]D­¾j¦š©ff‹Ïí¶sØÎáÒ(y¾OkO»=í寤=í‡.2´áŠ;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIJ;¥ÒNiO~îf J;¥Ò ]÷+=J;¥=M]‘uŽÜÉŠºd¯ÑÙv°×ˆ;©f¶öVˆD¢£Oè@t :ˆD¢Ñè@t :ˆD¢Ñè@t :nWûÉÑè@t|Úeñ&IÓЊSD¢Ñôòvš;ÉäNr'‹mU‡¯) iª c‡‚›´=ˆD¢Ñè@t :ˆD¢Ñè@t :ˆD¢#Ðfê2w’;ÉäNr'wWÓ»iKÎj¦š©fª™j¦š¹ÿT_ƒßЭ ×ýêZë~®ûUß z&=“žIϤgÒ3é™a‡÷Ô"‡‘ÃÈá<»(m!m!m‘½¥È®ToÛ¯ÂEÔÅ­>SŸ©ÏT3£ zd%Ô$Ô$Ô$Ô$Ô$Ô$Ô$Ô$Ô$Ô$Ô$Ô$Ô$ÔˆDG”è(iõß6·¿ªhañÿYû×ϧ$'éjÌî“Õò~ÏiþbÛ¿¿¿ÛïÉvrü?³›tñø8[/þJ®¦7›õnµþ‘ÜNÿø¯>ƇŠ*žý}ÿbþ—ù¶Mßgß’»Ívÿý°X&5Ô¾ýïòŸ?w_Öw›&Ÿ_,Zü¼ÚïU[¬o'ÿs±N&ÿóOþ÷ÿùÿV5Õêúóv³ÿß¾ÿ+Mþ››ÍõîÓäãüÃû˽tû÷gÿúñ™5ŸGÚàDÿ;VëÃ?³ÉÝþÁÏw¿Òý“Zíöçµo¦×ÿyþ‡1Ù¬'ë=³÷4—ÉÅÅEö79þÿ”bÅl¯ëä¸Ý5]üÚüØ¿"w«ŸûÖ“§Õíîþjúþ?þÛtòm³½M¶WÓÇUúÿìß’ÇMºÚÿ‘ã¿zú§9Ëþ û·åvµ[mÖû¿ïî×Õt›ì«uþgw»ý¿£õÉií&ýñ×zr“ýŸãÊÕôÃþ/X{3«8nèßtùÛü›î“Åþ!×êîÿ‰ÿwo7O“o‹›ïËíþµ¼íÿ÷oòÓã{òtúÛ¤û2ÇWgõÿîßœ÷âq–ºž&wÏ@ºÿsó×Ãbý«å'vú¡7Lc–ãXõŸ÷‹mòø;ýþ×vu“¼Ê_hD¨áóâq5ÊS{æBèê'ª%~õlÆ>ŽáŸ^µ4ûõ5ËG!O„¾g‘ØÏ@'½ô´"Å øß}·Ùì hwµ¨|ôÿÿüD#¬x¢Í–ª.Oî«oä=¥~~N¶ßïWÛdò¯Åî~ñ´ø­Jéå‡ÿþ;ÕÑÿøÇû¿íû±‹÷—¿{1¸ˆ÷Õòò_f»¾WõQ¯j@Û{³8—WÕ«ú_äf‰WÕ«êU=k-Ú@WªE¯:0v®Wí Å¥PyU½ª¹Q¢Ðh4í:PãÓ#ÎØܺVUUUUUUUUK©“âaä_ç¹ýªªªªªªªªªªúL f,팱ÊX=PÇÁÕp•a›X,dU]P‚«ìS#Ókn·Š[P›ÿRkzQ¯ªWÕ«˜n·ŠYwÐ{f¤J`¥žA&Vu´* €@WÕ«†FÝÒ† ‰ÕÊ¢Ô˜ˆ¢d§éªtÕ¾wvC6Ÿ^U¯ªWÕ«êUõªzÕ³ ÕÉäq«/ ]µx$­s €ÀüW»'°"°"°"°"°"°‚Àدš/ãßí÷ÇÏö{Ú—ëýžöÃ}€é5^¯ŠWÅ«v͹¶«ÔžùÑ´'DèªtUº*]•®Ô'UUUUUUUUUUÍð˜Çç$V%V%V%V_ûZ¥^U¯ªWÕ«êUõªzÕx¨¥âÊÙZË=HÔ­9ÛUFKˆèUõªzU½ª^U¯ªWÕ«+á±}àg¯ŠWÅ«âUñªcö#ªªªªªªªªªªº?´[&MW¥«"«*E²XlÉ­zfâž½I=Ä;«ŠßœU‹óv¼*^¯ŠWÅ«¾`biü€TUUUUUUUUUÕÙ g+œ­8‹žÇ {ö«Vû#‹€jÏÃ1 ü«ˆUû%‹áfú4d¨ª±`KödB× à*p¸ \®W«´;KÈ„«ˆŠŠŠ–ž@«Êçru_ÊQ¯jie¹®@«ßú—CW¥«ÒUéªtUº*]•®z´¦£ ÐjK+cÞ¾¥•µ'#xœvö.Ã‹ß n·Š[Å­âVq«¸UÜ*n·jµM&ÿZìîO‹_Y¯=öpëpeøgViè…«)÷e«êCñùw*P÷·›§PÅ‘X•X•X=+I²U1ýU¶ªx2Ö«•žEÛ—®JW¥«ÒUéªtUº*]•®JW¥«žß‹€ªõÀXe¬ 0=,ÀX —ÀŠÀŠÀŠÀJ—$ÃXe¬æ›ƒ¶©¥•ùbi¥¥•–V– æ(¡½ª^U¯ªWÕ«Žiž©ªªªªªªªªªª•VVXYqfŸ)úHL aÀ䮜•1dÚÊŠºˆ\ˆ¦±cy `9SUUÕk«€ë!F7V­W“X•X•X•XMÓá: €À`°X, àjº]«ŒUÆ*cÕ¹+âVU¿ -âëÉŽ.‰²È" ‹€ºNK+ë~¥•Ö«T{ì°`ðq-d² Y…¬Š1Îh1V«ŒUÆ*c•±ÊXe¬2V«ŒÕ½­|ÅXe¬2V«£/‰b¬2V«ŒUVƹUUUUUUUUUU5\»QЙW«ÀUà*VVXYae…l €À`°ò'`¬Š¿ ö«&³×nñªxU¼*^¯ŠWÅ«âUñªxU¼*^õÜä‡M®µH­'_UÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXÕji`ÁèMc•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«J=a¨Ö*àâyµ:™öØ`€=öØ`@½©ÖŠ(—&wý"«U‹6-G¯ªWÍž@¤Údg;íWÍÑQüœl¿?Þ¯¶Éä_‹Ýýâiñ+û-œŒUÆ*c•±ÊXe¬2V«‚•pÈrˆŸUd² Y…¬BV!«UÈ*d² YEWEV!«Uíú ¬^Tîi»xH¶«DæÍÌê,ùÞÅùíæ)Tq,X·`Ý‚õóÔ†UVUµúTUÈ*dÕr†WUË]+™yüw©ªªê 9‚A€ @ X¶šÚàù‡‹ù|Œ<€@ DŽ4W,Lhõñ—Ò} ^UUUUUUUUÝM¯õª}?'-ýÅš;]•®JW¥«êUéªtUº*]•®jÐù€«ÀUà*'`½š¥•×¢úR°XUiŸXõ¬e b€‘ÀJ¨'Ñ«êUõªzÕô¸…!ÿz¬Äª¥ÀJíÉÀU$†•aMØÊŠÞ{ä-X¯++*O‚A€ ÀÜ{ìfÇA€CÖ¾ÓUéªcýrÜp À-·ºb ÀáÊ1"¢++++++++++++iÜôï@^ZQc•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V½è¨©±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUj:2Y¯f½Z£U°^-”[ra%›+ ÕŸ:×¹¨ªªªªêà¡^ W_Žq²ñé®5), €À`°X, €À¨)—¶V·þ(X,€~ž¡­Õá>ÛÖj[«ÛgPw«²çãÀñ10V«åaµp™õªzÕõÕt»ZÞÛZÿD«ŒÕ¢Á*>ŸÛÍÓó`Gw«B €@ÍCƒ«ÀUÆšòÜp À-·ºP7·jOÈåêêq °:@f÷Þ'»äçn¶HWËBs±]Åvh5´š[­†VC«¡ÕÐjh5´Z ­†VC«•ð ³Þ,±ŠÀSPUUUUUUUUUÕ½ÃHmX4ìA€ À@ÙO<«ÀUŽB›pµpu» -\ÝW’VUUUUu9 Éb€¡‘…@ T~‘ž\UUU¯çÜx[>D`E`E`¥ËÇ E½0 €À|K_õž^U¯ªWÕ« WùÅUUUUUUUUUUÕ¡áD¼*^¯ŠWíqw (ØpàUwxU¼ê|>Æ%x¼*^¯ŠW´ecœÑÂ`0 €ÈöÂß!±*  p|ÞpK$€À`0€vÆ‘uGÖY¯ýFôªïY¯Ú»ÅArd=ï«ãAÈ*d²Š®ZÐaªªª£ÇimW¡«þír>¿Ð«–~<ªêò~7½f°X, €ÀÝûl‰UÄ*b±ÊXe¬š~|ØO–ázxúN«6ŸÆ¦†…«…«3óµÌVC«¡ÕÐê÷,€øtÏXe¬2V!¶ÏÉöûãýj›LþµØÝ/ž¿ÆØÉ1–:Ä­2Vq«¸UÜ*n·Š[Å­ªMtUºêÍww«êÄgdÀçVq«¸UY'e¬2V«ŒUÆ*c•±ÊXÅ8¿ykd¬2VÕJcë»Á­âV«ŒUÆ*c•±ÊXe¬2V«ŒUiê‹Ý­*ªƒ±ª䨮ö^]ï3y!­Â" º~!±*±ŠÀ`0á®ì;Ëx,  Ú¨7>»Ø%tËV=ç—ãÆª«n¬ªªªê˜æ™ªªªªªªªªªªº\írµËÕgáÓÝ*·,­ŒtFE@’À`°··«õrf¿j¨bPE b³ÿ7ÊVUŸxü¼î‰Æj¿=òŒUÆjÎ @«_ðÅ•X•X•Xí2G( €ðÚù¸ \®W«ÀUà*p¸ \åjš%á§p¸ \®r0˺ïÓ3V«ŒU¸Jø*9\%ðQUÑõ`ÇW鿚 ®W«Tø6UUUmn‘VC«¯-­¬Ã6–VZZii% ÀÒʳv´?'Ûï÷¬Ÿ›Ù*ÙªAö€€€cuLêNUUUUUUUUUU³ÁµZ²€À`ß!ƒ±ÊXe¬¾á/GbUbUbUbUbUbUbUbUbUbUbÕåê”W‘(mùˆu²U²UqRbUb5íU0X, `—üÜÍéj¹ÎçQÙ*Æêß.çó‹÷—ÙïƒXE¬"V«ˆUÉÌݪ¼m¶èØ&«ˆUåҸυWÅ«âUñªïUõB`e…•VVœI++bBödœX«+“ÛÍSð´e>”Dþ@«ªªªªªªªªŽ©©ªªªªªªªªªª[n¸ùryp:²Ôª!JHHÔõœÛUaS8¼Êa»r¶âü¼rõ®JWÍ÷„ꉕU®5J]àUñªxU¼*^¯ŠWÅ«âUñªvV5N·êp²[nØh`ísùâ-\®W«ÀUà*p¸ \®’ï^äVq«¸UÜ*n·Š[Å­âVq«¸Uܪ4$Ch5´ºyŸ+MîvWÓ;n·jóé…Š´Z}„AVTÕöÔ‚õ:6ëÒTUUUU]Îôª¡ ¦ú©UUUÕjµt¶âY „UÀ"#\ñU³A' Å«âUñªxU¼*^¯ŠWÅ«âUñªvV5  ;«j-’±ªú@X,  §4Üv €pV,¡e°TÕȧ¦û÷¤WÕ«êUõªzÕ=Tïrußf|¬/®=öØÐe9[ZY¯K–VZZii¥`©rB«CB J1WGÃåb€ÂÕ¢ªªª±m£¼ €`à˜Ø½ªªªªªªªªªªf²**晕¡‚I P‚­„ªZ~,ýXUUU‘UÇw`HÁ° 8\{-­´´²þfèUõªzU½ê§ã½%Ø€—)ɬŒQUUUUUUUU§×ŒUÆ*c•±ÊXe¬2VÛõc•±j¯P®füír>¿x™Ù ö«V“IĪWx)¬Wë[t,*š™Ö…¦ €@ P(£ùBzU½jµu Ð5Àão" ;B«¡ÕÐjhõ{ºj¼¥«ÒU£ ‚è5Xn·JUUU¿‡vï²X, €À`°JO ž0V«ŒUÆ*cUêpeà³™<Y¯=GÖ«¯ŠWmóÆ·«å}ÿ{!•O¯ªWÕ«êUõªzÕgt ±}N¶ßïWÛdò¯Åî~ñ´øõ* 7›£>~AJ«ŒU bZ ­†VŸÍ:·jvEàë­†VC«¡ÕÐêF(Â(Ðjh5´šÐ|¸Uܪš…£¹ h5´Z ­†VC«¡ÕÐjh5´š±z~ŒUÆ*cUÄàÆ<ì¦=¦G¸ ´:;;ù­†VC«—3 €À`n¤¤¤2I¾²ŒZ ­†VC«û‹rÆ*c•±ÊXe¬2V«Rc•±ÊX#KV·ªãÎi4‡VgƦ=‘‰ÌÊŠÖïMhÔüC¯ªWÕ«ªªaY`%%âUñªxU¼ê 6Ì{r €À0V«ŒUÆ*cU€·GV!«UÈ*dÕ÷áî ^õ]øãÚ½V °Z}«ŒÕN1S¸ºöˆX, €Ð'6%[ú¥èUGDíWµ_®W±_õ,,Ž‘fVUUUUUUUUUÕ¬Uwb­T ªC-0¾y‘[Å­ŠåÇz7ôªzU½ª^U¯ªWÕ«Öë€^µ/t©WÕ«êUÇD­¬ˆ`VV„ÚUd² Y…¬BV!«~îf‹tµ\_M·«åýþ ÔüÃÅ|žÙǧ^U¯ªW-¦ûíæ)ö›¨Tn·JU­g:ØÛMn·Š[Å­âVq«¸Uܪ`%‚ÛÙ®Ò×è³ xéZ5w½ª^U¯ªWÕ«êUõªzU½j-Ý Ä­zkêN¯ªWÕ«êUõªzU½ª^U¯ªW]m“É¿»ûÅÓâ×èØX ½ª^U¯ªWÕ«êUõªzU½ª^U¯z~ÄÅÅÅÅÅÅç‰U–V–?"½5’ðÿp¸ÑÆH¬fqv €À`°X, €ÀHÓP_,±ZT‰ÕÅ·º4žíH»š~|ØO–aÁ𤠬¼x]•®JWmêzo·B‹®¨ñtUºª “RèªtUº*]•®JW¥«ÒUéªtUºjëÚó.y®BW5V«ŒUÆ*c•±ÊXe¬2V«ŒUƪÞwèœ|6¹U‘©ªðñ&»¤‘Å`w@CﱊXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆUĪLWÙ53dir×?Bvý9Ù~¼WUUUUUUUUUÕc%t¹:`V¸øÖï €À`°X, €@¬"V«ˆUÄ*b±Ê&@›Ãø,´Z ­>t ++§Í01PXWUUUUUUíòdUµ'äpõ¸P<·Üèuò@UUUóŸŠ +-øiމʃÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² YužŽ‹³ ÛÍSPyÍ×QDþ@ƒÀȱ++BÓWu¿\¥oö˜±ÊX=¾+á9ެÞÆ*c•±Z)¿¸ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXmLFb€b€b€åŸ ŸôØMÀ`–3d²êÚÙŠ¾èX„í dÕÕôãƒ^U¯š£µh‡rRpÓ1ñW¯ªWÕ«êU#d &ÑÒJK+-­´´²‹Ê”(Ý( ²Uެý[ ÖëŸ @3ŒIW¥«6Yn·Š[õ怨ĪĪĪÄ*·JbUbUbUbUbUbUbUbUbUbUbUbUbUbUbUbUb5|;²Š*ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]Õ5ÀÖ®Ø&À¼.[%[ÕgÇÎþ)I¬J¬J¬^ÌçÙ¾©lòŠe»UUUUU­‹È×CbUbUbUbõýß.çó‹÷—c|[õªªªªªªªªªjËÀºÝ<=o7—ªªªªªªªªªª†Mw‹€,XXXXXXXXXXXXXXXXXXXXXXXY_M·«åýþ´#ëYEèqï¸Á·9ÚYwd½]„øËqØ9`ç€îrº®=¡C (*©ªªªªªªªªcÒ3ªªªªªªªªªªjeÅ·ôõ5w))))))))))))))))))))))))))€:'×½A^ `HT‘õ€™S™xU¼ê¢Í"/ýä"ëS‹=ÿö«¾üLÈXE‚A€ @ ð…×Ëm‰±ÊX¥W ô˜ý6:«ŠŸOkDZ ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VC«¡ÕÐjh5´Z ­†VŸ6ìƒA€ @ ‚3 9¿#°"°6”Û®¸[•=3w«Þ_fÏ@UUUó£vxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯º¿Rj¿juÁXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒÕãÆƒètÀXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆê§Ýâ|U!ÿ0f¿Œ«éLJݔ±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒUÆ*c•±ÊXe¬2V«ŒÕžþñõçdûýñž®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtUº*]•®JW¥«ÒUéªtÕê·à°³H1 L,ýÇ?Þÿír>¿xù?þžG~Þ|ËVe¾Ô”PïnÚÖ½zU¿Ë¢DްîŸpµP«ŒUÆ*c•±ÊXe¬2V«ŒUcÌ~ÙÆq´¢zÕý~‘éµ³¶«Ø®b»Ší*¶«Ø®b»Ší*¶«HHHHHp«¤¤¤¤¤¤¤à*p¸ \®ÂX…«ÀUà*p¸J ¶é-¤.à*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸Šýª5׬uS¥•¹¿TlUzmÐË~UûUÓMXÈ‚A€ @ ‚A€ @ ‚A€ @ ‚A€ @ ‚A€ @àn¶HWËb:@V!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d² Y…¬BV!«UÈ*d²êvµ^Î²ÖøjÚóË8Ù%?ënþáb>WUUUUUUUUUÕºÞ„WÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^¯ŠWÅ«âUñªxU¼*^Y…¬BV!«UÈ*dÕž%;žo1öO霙³°ìrµËÕ.W~@¹Þ(P”Ö¼v\N¶ßïá*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«ÀUà*p¸ \®W«4~ôø>–þÈvóºøz0é Päœ  "V«ˆUÄ*b±ŠXE¬"V«ˆUÄ*b±ŠXE¬"V«ˆU!­­!¥EþPWîîòãáë¯#(((\I^RˆÄc­‘puöd¸UðlèÝР윜X«ÿÐz‡1õªÁï[áŸk4ç8€@Õƒ!>‰í*'i»JäscgUœM¶í33V«ÜXíêâ‰UĪ癪ªªªªªª.W©©ªªªªªªªªªjÍ;·_Õ~Õãâ C @ €Àln¾ÇÌï¿w’ @à±y©¼* @ã¥(éUõªzU½ª^U¯ªWí8Ymä¤ò³¡6Úh`œ¶•­zDH“»ÝÕÔzµêl”~„@ P(  ;Æ;ܳԫêUCŸ½jÈ´Ä4ímº*]•®ŠWÝ%?ë;”í¬zk–Y¶J¶J¶J¶J¶J¶J¶ª^"\.€p­WÕ«þír>¿p ¨T ÜX]Þï¦×Æ*c•±ÊXe¬2V«ŒUaǧÛ À{‡‡ÂXe¬Úù"\-\­ªªª+ @b±ªoè(´ žÀ`ħûÈ –8BÎXe¬2VïÀ¢Ü*n·Š[EWåVq«¸UܪÑ”ef)£æ†ÅÃ?3«€-jÿYÜw@¶`½x“ò#Ú¡ï€@ P( €°Ú&“-v÷‹§Å¯¬‘{s€`E@‰bªªªªªªªªªªj}¿ž[n¸à@—Ð}ý9Ù~¼§œT«y¦ªªªªªªªªŽiž©ªªªªªªªªªª»UîV¹[•99.\ýû zU½ª^U¯ªWÕ«êUõªzU½êÕt»²^Ízµó/áX«Õ‰±Z{ÅbëÈ€OPUUUU5Mí° šïßåà·€€€€€€@y™®±êì›ZäP KÊ%bUí髈U‹7s¢kB­W³^Íz5ëÕ¬W³^Íz5ëÕ¬W³^M¸Z¸:ìáÙZ]uµŒU3h5´Z ­†VC«¡ÕÐê=ÙûJŽ»UîVýÄ`új.Ü*n·Š[Å­âVq«¸UÜ*n·Š[Å­J2#F¶J¶J¶J¶J¶J¶Š®JW¥«Ÿ@±™®W«ÀUà*p•7ÅUþü±ž|]Ýl7¿wÉ_¿ÓÝê÷—üñ;ý}æÿøç«ü}FLUÿó‹÷—cü%#¦Ú;ZiŽZƒ³ÞÑÆ³:îxzåíÿÞQïhPçVG{ù@¾õQ‹ šæñ­?h(Åþ׫©ª´ ô£¼£ÞуDá[ï[ï[?Ü×WGÕQu´ñ˜ëóIá÷Ùéï[ï[ï[ï[øb¿š{o®7×ó™ò_Ü›Ýïñ­÷­÷­÷­÷­ßû¥"1Mîú¯Ï V_ s½¹>”‰úzôQú(}”>ÍNbJ0%›OÅíBüh¤e?Âäæzs½¹Þ\o®7×—?› pV‡Ã¯GÝÍõæzý¨¹Þ\êCpø!]Ø\ÿ°›öx5Ìõ|¦ß~Ãí‰öD{¢=ÑžhO´§u~ˆãŒqÆ8cœWË¢&ÐGé£ôQú(}”>ÚË›Å=ážê[”‡^¢³Û±ü.ÉÜí-ý¨~T?ªÕêGõ£¡¼\h§¯£í^Ð)Ï$Ï$Ï4ýˆ{ Ï /¸!‰ÃÇáãð·«å}ÿ“ÀF~=¿ž_ϯç׫£Ç_A¾Ö‡ÃÇá¿`Fá3ñ™øL|&>Ÿ‰ÏÄgzË›fôQú(}”>Zü ÌõÁi¤$x„ôquTUGÕQuôe3œ:ªŽª£ê¨:ªŽž|FüèH7>Ÿ‰ÏÄgâ3ñ™øL|&>Ó"-óŒgŒ3ÆãŒqÆ8cœ‡ïì¥áÓðiø4|> Ÿ†è§eEBB|õîžÝŽ‘Õ2nÚ¶=l^a—n7O!™×nG»#ˆkêµ"ætã§ptqÇÍ»úûæ[ß_b“¯—¯—¯73™™¾¹!憘bUwA?úé(‰¼ Óží‰öä®Hí(-iŽõbö8ŸŸY¢é(8|>‡ÃÇáãðqø8|~ókh®7×go¿ž_ϯ?ƒ?¬'_W7ÛÍã¯Ç]ò×ã«äuøõüúƒÆ•ëÀîÜEá3.²"²"²"²"²"²"²"²"ƒ´0~=¿ž_ϯoþ ªœ¹¹Þ\o®_œ1Ú^Þ£ûõöÚ?ú¼ßŒ~T?ªÕêGK²¿ô:Dò¯|&>ÓáwòÂ@ ‡_ êGõ£úQý¨~T?IÉ‚åÁ=E£9÷;)pO¸'Üî ÷„{Â=ážpO‘~€_ϯÏÚ„éµûL‡éC.T.T.tzª v飡­û‡ÔQuÔ»ÀÌY˜ßÐüè£ôQýhoÙb,ÍÜ·Þ·ÞÞ¼Æ;ÐÚëñ™øL|&>Ÿ‰ÏÄgâ3ñ™øLÍòí<ý¨~T?ªÕêGõ£úQý¨~T?êî²=ÎGªÉýz÷ëOõÐ ± ûkf23™™ÌLf&3“™ÉÌdf23™™ŽI3“™)´¿ÃÌdf23™™ÌLf&3“™ÉÌdf23™™ß‚¨÷(s's's's |ÓžÎ/¿ž_üXWowú»_ß¿÷‘‘¡áÓðiø4|> Ÿ†OçáÓðiø4|þ| ß-23™™ÌLf&3“™ÉÌdf23™™ÌLf&3“™)MîvWÓûþá[¸§GįÀ vç´ÌÝéQàžpO¸§“ØRÑ#{|`ì{RGÕQÙeýh‹N§Žv/hÇáãð7ê¨:ªŽrai§ÇñluTUGé£UE£ÊéGõ£uölà;!_”ݯ?üÂŽÔàV¦áõyGë/~”ÚþNøÖûÖûÖ/¾µãÔê¨:ªŽ¾´a£=ÑžhO´'ÚÓË_uTUGÕQuT}ÎÜJ¥VXnY‘Hd×%•C4gŒ3Æ›‡ÍÃæaó’è*u~}g[Ágâ3ñ™øLÏó£Íõæzsý›üfÜlˆôøÛÍSŒä ï°¤=ÑžF€€y¡¼P^(/”Ê å…Ž—¥™<,noWëåÌ®ñ¢´¸s×µ‹Ê å…òBy¡¼P^(/4œ~ïŽ\6¼býhD.´Ç¹íÁèGõ£úQý¨~T?ªÕêGOß~ýo³ S‚)ÙÍéj¹¾šfvËôÚÞ¼p¥>o Íuÿüãâýå‡à0%˜L ¦S‚)Á”`JÎß3“™©ùMÈ ý¨=ÎõÎ\o®7×ãGñ£íM´]:¥:I{¢=ÑžhO´'Úí‰öD{â…†CWnˆ¹!ÕiO´'Úí‰öD{:¾nƒ72eöæÕ;KûGím'Ü u/Ô½P÷BOM…ÝŽýZ«±zs½¹Þ\o®7×›ëÍõù¯ :·šëÍõöáÛ‡ÊÒÊ…¾íŒ"»,»|صòçõäëêf»yüõ¸Kþz#šMÃwCìôëŠxÏ(ý1í‰öD{¢=ÑžhO´'ÚS¤¨Ñ¯ÛãiÏìqn{0ö8Ûã\šû¢Ü;í‰öD{j¼­Y!s½¹Þ\o®7×›ëÍõæzs}¤À”`J0%¥6aÀ7l6OUGÕQutç„öD{¢=ÑžhO´'Úí‰öD{jº—o§3èGõ£úQý¨~T?ªÕêGõ£úщ]ãvÛ5~(î3ËakMÀáãðqø8üÙõ1?ê¨:êÎ;wÕiOIuܶkÜ®q»ÆOB¬]ãÕù3ÖZþTåY¹Ù Žª£ê¨:úoa®1%˜L ¦S‚)Á”`J0%˜L ¦Ä>üO˜LI¹bJ*»ÌLf&3“™ÉÌdf23™™ÌLf&3SVð£øQü(~?šrïÂqÜî ÷„{Â=í‹d膔ÛàoËË…Ê…Ê…Ê…Ê…¾Ì×QGÕQuTUGÕјøÎKbJ0%˜L ¦S‚)Á”`J0%˜LIã[ÍfОhO´'Úí‰öD{ú´Ë›ÉÃâövµ^ÎÒänw…ÍÃæaóÚKä({êô£úQý¨~T?ªÕêGù:väÊŠÈŠÈŠÈŠÈŠÈŠ¼(RxH”Œ±Þ\o®7×›ëÍõæzs½¹Þ\¿HWËõÕ4Cø§×²Ë²Ë¯Â.æ>¶¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬ˆ¬HÃã03ÌŠüœÇõŸ?Ö“¯«›íæñ×ã.ùëQUGÕQuT•‰|8Š\ 6›‡)Áæaó°y؇ÃÇáãðiø4|> ÿ¤½è 4|> Ÿ†OÃWGiø4üA:ƒ\¨\¨\híȶQ·÷ç¥?b®7×›ëÍõæúú; ŽŽõN`J0%˜L ¦S‚)Á”`J0%˜L í‰öD{¢=ÑžhO#ëÅœí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{*=Ø[ã7ƒÃÇáãðqøÍ_Áa' ?¾Ž­ú|ÔQuTUGÕÑR,¼;ΦM“»ÝÕôãÃnñ8N([ûyíÎ]åf×øùqÈ…æO¢mÿ<¦S¢ŽbJ0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`Jž7Òð_ë7c×xÃïh=Ì÷Ó¼£Þу{ôß…mûGGb8øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰Ïô29ZUGÕQuTUGË¿‚¶ Ø?ÿ¸x™ååx¡§àí€h·/ì€]n4`cìMÁ=ážv³ªg‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S å…òBy¡¼P^(/ôf»yüõ¸KþzÃêëÛJçáÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†OçáÓðiø4|> Ÿ†zܹ;ÿܹ˟„;wûãÌî.GÚE÷BÛÌd—ü¬ç«dîdîdî¶«å}ÿPoèw$_Pqܾîq:ô¼1%˜L ¦S‚)Á”`J0%˜L ¦S‚)¡bJ0%˜L ¦S‚)Á”`J0%µ¯!¦S² 醼Ðâ—’#h×þXO¾®ÔQuT :ÏÇâ€Å¯_­—3uT}™7‹ÍÃæaóÔQuT=¾=Ks½¹Þ\?ýø°›ö@‹ÍõÕaNæNæ®a›ëeîš}tˆf®7×›ëÍõæzs½¹>ÿ¸»ìîr&rUn ç».ÒäÎÝåÐl¶[t4?=Ó¨7«ÕêGõ£úQý¨~T?:(Km'Y@ ¤ÒGKŒuÈä×óëùõüú¦o®/Z±îÅrê¨:ªŽª£êèËßê¨:ªŽª£ê¨:ú?Úçvo–>J­³ 3üz~=¿ž_ϯç×óëùõüúH?pSÎmáG# 8Ÿ‰ÏT~5pø8|~î¼ÝM3s½¹Þ\o®7×›ëÍõæzs½¹¾1³¿á]ý¨~T?ªÕêGõ£úQý¨~T?Ú~çâŸ\¼¿ÌzôlÝJìüœ<ÓH,ÜûË?þãqïßëQ|/3“™ÉÌdf23™™ÌLf&3“™ÉÌdfúf3S€„í¸_i®?LÈoÇÂyG½£ýÌÝåFÿdsF'µh»y nÖË÷ˆGþ@Có³k|vˆÌÄDëÊ^vÙe> ¿kõ~ä–}”>J¥ÒGé£ôQú(}”>z†&»ägÀ”`J0%f&3“™ÉÌdf23™™ÌLf&3“™)«¼Ðs9Ìî…æhL ¦SÒìÎa5Ú¦äôv¨£•ݱ´'Úí‰öD{¢=ÑžhO´'Úí‰öÔ?›A{¢=ÑžhOÑ€ Ÿ†ïî²»ËÕi'YµÅ’¹“¹“¹; ±•<®ì²ìònzmOI•‡yí<»¹Þ\o®7×›ë_æ«£ê¨:ªŽª£êh¯ýSù¼‹ÍÃæaó°yØr¿ÜN²Cg÷vý Ÿ†OçáÓðiø4|> ‘®–ë«i{¶#·žs±#7¤r è×í$‹È…ß²,ÁŸ?Ö“¯«›íæñ×ã.ùëQæNæNæNæNæŽÏÄg:ôÇïä»°|Ågâ3ñ™øL|&>Ó‹>²"EÌŒ>J¥ÒG›n!¿þ¥ãˆ¹Þ\o®7×—ÏZ÷ê·d—ë?{œí$k'dîè£ôQú(}”>J¥î’Ÿ»YUב • ­¿²"²"Øí3‰fùL|&>“~T?ªÕêGõ£úÑ'ϪÕêGõ£úQý¨~T?ªÕêG'­þñ?ÿ¸x™yíGã]8¢{rWÄ]‘SSQasN–ÏÄgRG»ðØ“§øbïÑ.ð‡úü!±b¾õ‡·¯»•ñŽvþ<«»ØeEdEdEdEš¿7Ül8¼‘ï…™ÉÌdf23½LzŒ×^(/”Ê å…òBy¡¼P^èV/}”>zª%æúLÝx;OãŒqÆ8›ëÍõæzs½¹Þ\o®7×›ëÍõñ]“f&3“™ÉÌdf23™™ÌLf&3“™ÉÌdf23euÀ®ñs9´k¼²;ÖÌdf23™™ÌLf&3“™ÉÌdf23™™ß‚è{J_lâ¶§äå+×pø8|~©¾àðÓÕr}5Íd«éµ}Oo›Íð­÷­?ìPýóÇzòuu³Ý<þzÜ%=š™ÌLf&3S£_·7/ðÁp<ø혙1ÎgŒ3¿ž_ϯç×óëùõüz~=Ÿ‰öD{¢=ÑžhOvGĶßâ¡=ÑžhO´'Úí‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhOîܹsçÎ]å[°Ý<]¿‹f ]:çdÕQuTUGÕQuô˜q”¹“¹“¹kª­mûøõüz~=¿ž_ϯç×óëùõüz~=¿ž_ϯç×óëùõ|&>Ÿ‰ÏÄgâ3ñ™¦HãônDw_Û?zxB‡ïÈ3÷|Þ¼P^(/”:;Ü0 ÕwîÎ/‡;wîÜ?¥5›ö8WŸPëoS‚)Á”`J0%˜L ¦S‚)Á”`J0%˜L ¦S‚)Á”`Jx¡˜L ¦SâÎ]—7Ù%?랟‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgê Ë…Ê…–¦üÞŸ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ©Ï²çÓ÷"º7Ûçà/©uÿ¤]ㇷʮñ£:Y >äùðB#cîñAÿùc=ùººÙn=î’¿é£ôQú(}”>J¥ÒGé£úQú(}”>J¥ÒGé£Iô<—™ÉÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLñÙÐÌdf23™™ÌLf&3“™ÉÌdf23™™ÌLf¦S%|Ã\€ûL‘=9ÛÍS,•P©UyÞÀ\o®7×›ëÍõæzs½¹Þ\o®7×›ëÍõæzs}è6´v@¼Êþ; ì€ØoW£÷ ÒGݯwW¤ø˜ëÍõæzs½¹Þ\o®7׸»0òuúÙ?j®7×›ëkï@X̽Ðó3kÝIlsp²³Çy¬«Ñ+ûÖ×_¶ª^ë[ï[ï[ï[ßüŒâëøÖûÖÛ‡ßxZ{=^(/”Ê å…¦­æO—^«Žª£ê¨:ªŽª£Çw€†OÝ-¾µÿ裻«éLJ]Ÿh¡;wÕÑÞ\Ÿ;€ÅÍÍÈŠ‡âwfÄfôûœ}/3“™ÉÌdf23™™ÌLù¯€jfÊ;ÉúÉ(cé úQý¨~T?ªÕêGõ£},œxŸ¦Žª£ê¨:ªŽª£‘¹ê&IS»Æûßâæ3FçáÝ =¹ÐÜÞëgòõ2wPŒ}O‡rÖœ£¿ú(}”>j®7×›ëÍõæzs½¹¾ÑGºs—®–ë«iÖ&L¯íÃ[†Ãˆàdgß“}OæúLá9U{ó*þ‹¹Þ\o®7×›ëÍõæzs}–¿ˆöÌæzs½;wo¥|½|}õ㡎ҞhO´§rU =Ñžº4ûžžñÅæaó°y4|> Ÿ†OçáÓðiø4üWѨݹ«ÿ´ìq¶Ç¹ý]–]éö!ÆãìÎ]³»mã5è£ôQú(}”>J¥ÒGé£ôQú(}”>gÜÍLf&3“™ÉÌdf23™™ÌLf&3“™ÉÌdfÊê€]:çr(Ï$Ï$Ït*w+qO¸'ÜÓâ››¶YÇà¦mµoŠqi<+uTUGÕÑP冘bv÷¶(Æú¶âðqø8|~ôãC¥n>íò¦Õ-ÆÀÃ-Æ.áx²K~Ö9,l6›‡ÍÃæaó°yØJ¥ÒGC™˜4¹£ÒGøVì'b®7×›ëÍõæzsý‹>v@±dý¨~tP~ˆ_¯ÕêGõ£úQý¨~Ôž’|½ívóêŽ Þ1òs‰ÝŽv;ÚíØ{Å…¹Þ\jÆì?<ˆÒB»Æ§×¸'ÜÓ«ìȰÛ1xÙí¤ÞŽšYt'…ÝŽýǦÆÌtzk†ã²"²"‘BÝ98œÞ»t|ë}ëGò½|ë}ëíq¶Ç¹d žGƒë?¬'_W7ÛÍã¯Ç]òףݎf¦ì=qWäüsqwÙÝå.‰E­>!ÚS^= |_ÿ¶Ê.Ë.Ë.Ë.Ë.Ë.ËŠÈŠ`Jéj¹¾šf²¦¤®I¼6g¤ÕêGõ£úQý¨~T?ªÕ6¿†o·7Y?ªÕêGõ£úQý¨~T?ªÕú8ÆãŒqÆ8cœ_Ö«£ê¨:ªŽª£êèñè±ÜEVDVdÒdÔQuTUGó_Á(·¸y¡¼P^(/”Ê å…òBy¡¼P^(/T¾^¾>µ7/0Ú‘ÛµÀe⮈»"'¡®mo2í‰öD{¢=ÑžhO´'Úí‰öD{¢=ÑžhO´§ÐlH{¢=•úÄàÅZ;rOïˆ]ãvw• »Æ«OÈ®ñœ>WGÕQþLJýÂÔw‘2ZœÅTGÕÑ4Õ†Ÿ/´¸U‰)Á”¸ÅX{äBáØšiYH~úsnÚª£ê¨:ªŽ6êh;NS}>ê¨:ªŽª£êhi½Æ€]ìê¨:ªŽª£ê¨:ö‹"}wšÜí®¦|¦Êg”ÎþÑÈ3¦ 2ïi¼£‘æ¦ðuz˜Är¡˜L ¦Ä·Þ·þû´‰Ý⃹9¥(_Ÿ¤²"²"cñf&3“› v—D¼ó'ãŒqÆ8cóbÍÆYV¤ünÐð«­¤¹ã¼ø†Í;ü*x¡ÙSÀñ™ÔQuT=öê¨:ú³®×ýó‹÷—Ù·%‹‰ñ™öI¯ýš¿­ö8‡$b9Bˆ{ñ޾mÿçõŽÚ5Þxì{ÊI l6›‡ÍÃæ™™’èIб8#ý¨~T?ªuûÆí·oܾᅺ}Óü¾?®ÕêGõ£úQý¨~T?ªÕêGÝbt‹Ñ-Fùzùzùúú;àf/´sý™]ãv;6 ÇwNì)‰p:v;¾8öà[ï[èxÝ‘]–¹ ðâ-+Q쀨~¦e—e—e—e—‹ª`DºZ>ƒ\¨\èÑõøn»KÅÇnÇ öÖž]§=ÑžìÈUGÕÑ—±‚ê¨:ªŽª£ê¨:z’„è£ôQú(}”>º£Ù›7|u%6›w*"väfÔ‚]ã|¦šØý†ï„|}ÐhhÝ?É å…òBóßMñÇ8cœ«åTaÝ¿™ÉÌdf*36o@FUGÕQuôp|‰†Oï3.¸'Üî ÷„{Â=ážúnK ø4[e‡-C½Ÿ‰ÏdsãpçîüHJšžÝŽv;Úíú^äåâúÏëÉ×ÕÍvóøëq—üõø*~´»Ë •¹²#mò°¸½]­—33“™ÉÌdf23 âYÕÑÀÇÞ·>81sXQ†OçáëGõ£úQý¨~T?é^NÞw§É}øíZÏ@-L?ªÕêGõ£úQý¨~T?ªmR v@ØQ{+ì€?KÍgâ3´ÇÏ\o®7×›ëÍõæzs½¹Þ\o®7×·³YöæRro§õÈÜÉÜÉÜÉÜÍb¹]™»<}ØÆ«£ê¨:ªŽª£/ÓzÔQuTUGÕQu4¶}P¾þjúña7í›ÛQ-¥r¡ù4[hŒv騥c—N¨ï–¯—¯ÿÔ¾>JÝ”Þü(~?ú|P]UGÕQs}s^ï0=>Ÿ‰ÏÄgâ3ñ™øL‘lÀ>,s½¹Þ\o®7×›ëÍõ/B!O|½¹Þ\_®¦üz~ýá}¨¾î…FW©£õfŒ>:Ö;ao^Ô»ùv–&»ägý‹]ㇷϮñãöŸáQ¡ø7Ðí›ÒðyŽèÚIÖÔú£5Ê ±ÊÃ*zÍÈÒ2ýèéy½a]÷ŽzGݹó­÷­wçîø˜ëÍõvAD7TGÕQuT-̶ʾ÷KÏCZ}”>ê®Hã°7ïüHpøù“pç.IíÃ}/ìÃ~Eí-,xuT × uTuWÄ\Ÿôgå™%CUGÕQuTÅ=áž0Î#2¼|¦zkÁ¯ß¹»\{)FÉâGñ£øQÜî ÷„{Â= Ê$ÒGé£ö=ÕÛóîp/î ÷dÿ¨ý£ÕÊa®¯ŽäêèHßV>‡Ã‚/úQý¨~T?ªµß>|ûðÏß‚WÞ÷ôåó׬ó{Ü@Œär>ŸÿNŸ÷óùåÅûËWù+¨ÜÏ?\ŒóÜ~£.Ô›ÙRöfÆ9-5³9h¿áºS53J‹y3½™‡'оÂ×üfŸ AÍcÄ>ô™‘•73¸ÿáí¾žÞLoæi7™€J?³yì …š©fª™ç hëú³¹Ù|y¿›^«™j¦š©f6úL}æ¨{@¹“¯~Ó×Ü×Ü×Ü×Ü×¼±R"zbPÍT3ÕL5SÍT3OàÕ6}™€L@¿çmo¦7Ó›™#eøL|&>óß¿NÖln67››ÍÍæfs³ùz9K“»gláF#‡‘ÃEáà{‘jD5¢QíÆ[Õ2ôô ¦ÓŽiØCýáßâÉÙŒ6A¾æ¾æ¾æ¾æ¾æýÅ65SÍT3ÕL5SÍ´?3:ZØRXw0 Æk„5Âa'`é™ôLz&=³´&ôÑè@t :*Ëo]PÒyP3Û—ùšÍÍæ+}¦>SŸY.úL}¦>SŸyÕû¥Ù\ÍT3ÕL5Sͬ/´ïŸH÷õ;‡í¶s8¸óžY<}¦>SŸ©ÏÔgê3[WÃÄî‡ê3õ™úL}f[x©+.Ë7ç›óÍ?òÍùæ|óÈz}¦>SŸ©ÏÔgžÞPL’ gÒ3é™ôLzæù TÏ0 $(\v_vÁýÛ÷Uz3½™n[œç‚}óg{LsHŠ,‡±=æ +Ù9܉²¥Ð–B[ m)T3+-g+Fªfª™j¦š©fª™6»šÍÍæ%Îi²K~Ö÷UÒ3é™ôLzf«IÏLWËõÕt‹F—MX[ m)¬`ÔŲ5SÍ̾½ñ°P{NϤgÒ3é™ôLz&=“žIϤg.¾¥IÖ¹ Ðnmܲq+ µÌR½R½j¦T¯T¯Tï§]ÞDI¨Eš¨âé3õ™‘U)=òï6nÙ¸Å7ç›óÍûKØj¦š©fª™j¦šivÛô…i_ÜÞ®ÖËÖ(à{à3ñ™øÌ>é9 9 9 9 9 þ‡š©fª™j¦š©fF(ß¼ßq³¹ÙÜln6¯. Ça°FÙ;àꊫ+±ì¯«+®®¸ºÒ:xóÍùæ•ùBÍT3ÕL5óü\ªêLA™Íû¯o¢gÒ3é™ôL5SÍ3TŠ%ìj¦š©fª™µ_Á(Ê¿ÙÜln67››ÍÍæúL}¦>SŸ©ÏÜCvÙ•ŽáG‹ìi·§ÝžöÀ÷´tùk„5Âa°F< (˜vL{鳨EÂ7?>Pþá›ß<`\pb-›#Çn‡±j”7Ó›iKa­Ñè@t :ˆD¢Ñè@t :¢^¼+ÒIÛ5uî$w’ÒÎäNf†S·½Òø±Ø†Ý6… àPp(8œ>SŸ©ÏÔgê3õ™qó èÓ3é™ôLzæôÑlŽ>¾6Èá?©^©^©Þè—÷˜™ÿòùkö;ya‚~¬…þó*ãa˜öâaÚ_åÇË⹈zì¼%Ô$ÔÞõ/ÔL5SÍT3ßÒVB±«•7™€d'û&²“qçq»yzÞwJ;¥=Òæš€L@& {Ò´×'%ò‡ºú^_s_s›lB(× î¤´E¹*":ˆDG[\ŸY}?ÔL5SÍT3Õ̳§@ϤgÒ3é™ôÌÝôzþáb>"Õgê3õ™úL}¦>ó“-…¶6"a6!Ô¾R½R½#RgÈaä0r9Üü˜ÍÍæfs³¹ÙÜln6oÏçÙìj³kCºÀ´Û„ ÕÛÓ0µ Á&›lB° Á¥ªúêRÈ6ìë¤N< ˆÄª<ƒ¨—m8-ÏU3ÕL5SÍT3ÕÌŽEϤgÒ3é™ôLz&=³c½1¦ÓŽiïs6"žÙöà]Mí‚;="—ªŠ_TTŲ?³Qx÷¢ß1ˆhvc‚{ÃËYÞLo¦Í®¾æ¾æýõU5SÍT3ÕL5Sͼ‰˜R½ˆ©^©^©^©^©^©Þï ’^vÝoDOÊln67››ÍÍæfs³y*m±¸½]­—3DGñšäY×ý\÷+Wz&=“žIϤgÒ3é™ôLzfç i i i i‹†纟ë~®û½EVÑö˜àÄZ6GB2°»“ýÃÔvÁEL†ÀWŽÒNi¤Ö `ˆD¢Ñè@t :W:ß"px3ì‚k{;ˆDÇÙ½µsøx2IÍT3íÏÌÞ[wPp(85‡‚CÁ¡àPp(8Ür}5ÍŒÍé5ßœoᆬô4››ÍÍæfs·-ܶ°=Æm }æß+~o¬Õêó‡ºXä0rØÝÉ>n)>Ÿ‰ÏÄgâ3ñ™øL|&>3×mmv1ÿ®ÏÔgê3õ™úL}¦>SŸ©ÏÔgÖ~6n5ZÄnÇÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´Z[j\D–° îay׉TÙÑaG‡vtD.…ÚŸYü8\ª <‹Ð2_¾9ßœoÎ7ç›óÍùæ|s¾9ßœo~Þÿ8|]ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›_fƒÁ·Csl\¾Še»yêµ®Åln67›G§ªÎOlYå¹öuB8.¢–œe·|ÍϯCA¥øš7ªÈ¿yQD¢Ñè@t :ˆDÕˆjD5¢5æ‚ò…«+m_T 5 5 5 5 µÝÕ´§¡fª™j¦š©fª™'ÍöÅ>>ˆÄâñ€x@< ˆÄâñ€x@É Ÿ‰Ï<ç³$¦Ó¾ß@J5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕ(Ô¼]þÝln67››ÍÍæfs³¹ÙÜln67››ÍÍæfs³¹Ùüøò³wˆD¢#pRז‘WOÛR¸/»Ý:°{@î¹VŽ ñ¿|þú*ëñÖ(Û°ƒÿ¼ô™¾âðPlö ûü‹Ñgê3«ÕÓlþïUi|Í}ÍO‡—ô™­Åk„5Âa°FX#¬Ök„5Âa°FX#¬Ök4êñnîd¤Å.Ö »ºÒ6…ðÍ]¨Ìh…YõÆäNr'±FG?,‹ó€x@< ˆÄâñ€x@< ˆÄâñ€x@ÉÏÝl‘®–ë«éö¨P¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢Q¨FT#»à삳 .ÚÚ×ã3Ii§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥}“H(í—CÍT3ÕL5SÍ<½®û½àëéêJ°’”m;·z‹Gä†Ú«,%³?³Í!´?ÓþÌŠjfd+ ¯¹¯¹jç¹àì6ÛŸY9~kçpe'†š©fª™jfóW@i§´SÚ)í”vJû§âØ{@±Î= ‡ý޽wí4=“žIÏì3q˜ÍÍæfs³¹Ù¼ŠVÍT3ÕL5SÍT3 |Þln6ßûá/V±ì5ª×U·zÝê­¾‡7"z¸uþáb>"åNr'¹“ÜIî$w’;™&m¿ƒ¢G;D¥¤-¤-ö¯Á@ßd²ÙÕf×rDÑè@t :ô™»«iÏOƒš©fª™j¦š©fžziîd¤ º ЦX…òÝ(8 ‡‚CÁ¡àÖËYšÜé3õ™¡>ªX§¥ÏÔgVF 2Ê7ç›óͳwÀÎa;‡#ü=SŸ©ÏÔgæO Zl‰4Qjjjµ‡>SŸ©Ï,Å\‘®W5SÍSŸ©ÏÔgê3õ™úÌÚ·9ܹyŽoÎ7ç›óÍùæ|ó8ÃY¹.cãVhÜpuÅö˜Ö[M|s›lBê­Ï¨< л •c67››ÍÍæfs³¹Ùüìtw÷Kj¦š©fª™j¦š¹¹ù:£4ÿp1ŸgK³ >³Á½øf>Ÿ‰ÏÄgâ3ñ™øL|&>SŸ‰Ï,ž@è !ËŽŽ²•Oq_>c¦K?4™€L@&  Èd2™€L@& gÑ~Ò¡O§´…´…´Ešº¡æ†ZŸ%ÿî¶Eœ#Únžž÷ ô5÷5´r@r@r@Œ¨š©fª™å&Ä^#{J¶ššÙs¦Q¨FT£ÊŠœ©Ògê3õ™úÌ„æð™øL7Ô²w Þ\ú#!ÝiW¤«ÅéP…}»˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽi¯ö¶Îéj¹¾šnWËûÝôÚÆ­ÙáŠF/\t Om67››ÍÍæfs³¹ÙÜln67››ÍÍæfs³9ßœo^–c¤zëïÖk„5²?ó¨ …ŽF¨™jæÑÌ ´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´/¾¥ÉLª·‚ÀR¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢Q¨FÉÏ]-8M5¢Q¨FT#ªÕˆjD5¢Q¨FT#ªÕˆjD5¢QnWûÉ [5x5ýø°è…?ûr¡fª™j¦š©fª™9:Kÿ_ùüÕ&›Îï‡KU±ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNRÚ)í”vJ;¥ÒNifHÛ9\ÿ†ÚÓnO{õÐgê3õ™úL}¦>SŸ©Ïœ”pØÍeD¢#M'‹[5SÍT3ÕÌYìSQ` ÑËP(8 ‡‚CÁ¡àPp(8 ‡‚CÁq'¹“ÜIî$w’ÒNi§´SÚ)íid=QÁ6Ìîd¨s¼ÛPÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNiß|Úe-AÅQH“»þ‡lÃn?aG‡‡Ë#Ók9 9 î$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜÉ–µsÕ8ØÀ“öÜIî$wòãÃÞžÖtÌ?\Ìçc\·sØÎa©Þ !‹cX#¬Qù Q3ÕL5SÍ|‰V`2™€L@û_>³cœ7éLvMOJÍT3ÕL5SÍìO2«™j¦š©fª™j¦»“!Ú³mâ””””””””””””””””””””””””””ÌÖŽJ¨µ•ÃQR´ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;YÜ^låN>óM·úL}¦>SŸ©ÏÔgê3õ™úL}æ·Ã¢äX“ý÷ýæ}f ß*FÞO§ÉÝîjÚs}“=íö´—g{Úíi·§=ÈHÛ9\„ì2SÛÍS¨u)ÄÁÈ8­ô5Oû Ân¨íw w7Ã¾æ¾æ¾æ¾æ®®œGf53‰~bOMH&À„nIÈNÊNÊNÊNÊNÊNÊNÊNÊNÊNÊNÊNÊNÊNÊNÊNÊNÊNÊNbÚ1í˜vî$¦ÓŽiÇ´cÚ1í˜öCOˆ‚9Ú€‚CÁ%úL}¦>SŸ©ÏÔgê3õ™çdΈZ}¦>SŸÙ3šd¯QÈ Ï«Ò—Ï_³TÒØŸª5 ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;¦ÓŽiÇ´cÚ1í˜vL;Ök„5Âa°FX#¬Ö(à¶­Fž¸˜ÏÇàlvµ¥ÐfW›]mvµÙµû"ŽÍ®ÍúÛÕ~Œé}('´××¼­ü¸ˆêRU ,tÛÂm‹ÝôZÍT3]÷ËϺԘázܵ©,“h‘ã»úÞ÷óùåÅûËW ¤ÈÉ ¿µáͬ¿=¶ÇØS}'ð™øL|&>Ÿ‰ÏÄgâ3ñ™øL|&>Ÿ‰ÏÄgâ3ñ™øL|æµ[­B!¥Ò~ Á¦×vÁÙgœ]pvÁÙgœ]pvÁÙgœ]pvÁÙ‡5Âa°FX#¬Ök„5Âa°FX#¬Ök„5Âa°F¬Qég`K¡-…¶ÚRhK¡-…¶¦­7´«ëòl±=Æö˜ìè±JŸ©ÏÔgê3õ™úL}¦>³ªÆ<º¼ŸN“»þK¿é™ôÌòWUŸ©ÏÔgê3õ™úL}¦>SŸù6ì“vtØÑñña¿¤dzïꊫ+®®¸º²yI¢ÿàÅåÐÕ•ÓŠ¿w>ªÕˆjD5¢Q¨FT#ªÕh¹¾šf¨]D}NA(Øìì¾N]–Þtßüe‹Î¼™`;p÷;+|WSzfùˆ5ÂaÎâ9Mú,ùšûšÛÓÞç—Â7ç›óÍõ™úÌJ°£ÃŽŽ“{«Ï<†ÒåÍåÍåÍåͳ ß/`{Ìæfs³¹Ù¼ù+@Á¡àô™(8 ‡‚CÁ¡àPp}¶Û•»1››ÍÍæfs³y7PÍT3ÕL5SÍT3 dÓÞo ¦ÓŽiÇ´»maçðX*¦ÓŽiÇ´cÚ1í1Pk„5Âa°FX#¬Ök„5Âa.³Á Ûwe¶mضa÷—\pA@ÍT3ÕL5ó5š(û3# (°FX#WWj?Ž’ÁÃjÛ\cæâövµ^Îì.^“|ÿ>Ÿ‰ÏÄgâ3ñ™øÌPåºßð­€²“²“²“²“²“²“²“{ "Mîô™úL}fþF¹'®ÏÔgê3õ™úL}¦>SŸ9nw!o.o.o.o.o.oŽ5ÂUx‰ ˜ç†ZÛÛ5Âa°FX#ˆÄ:<A†ÆEŸ©Ït«7{ä€Üê¥ÒÍæWÓž²­ÙÜln67››ÍÍæfs³¹ÙÜl§>#G®A`ÚCÈÙÀm6X#¬Ök„5Âa°FX#}fíW0JbNŸ©ÏÔgê3õ™úL}¦>SŸ©ÏÔg¾ü4Œ»“îNº;øžîI½ü×õåó×W9Ãä‚@¤‘qAÀêýÍ®6»¾‹~ªÔL5SÍT3)“1Þ[ ƒÅ¶,A‡ŽÕ¸;é“îNº;ÙߪR3ÕL5SÍT3ÕL·z¿Å<) ‡‚CÁ¡àPp(8 ‡‚ëa c°Fi’©Œj¦š©fª™ -¥0k 6»¶M!¶ÚRX™ÑŠ_ØvójÉ p'òâ¿@{ŽZÞ|@a—’’’jÃPºÀGî$w’;ÉäNr'¹“ÜIî$¥ÒNi§´SÚ“=³ñ;rJÏžv7ÔŽ6>¢Ñèè³CÍT3ÕÌèà 57Ôøæ¡fÂÆ-}¦[ÍbX#¬Q䇡fª™j¦šÙsÜ0››ÍÍæfóÊÂJ¾9ßœoÎ7ç›ó͇érôLzfþlÃ.ÆÑØ–Ípÿµ=ðüWSL;¦ÓŽiÇ´cÚÍæfs³¹ÙÜln67›@ti·Ûn[¸má¶…Ûý%5SÍT3ÕL5SÍtÈ= Ó¯À–B[ m)ŒjY°sØÎáŠKeçðþW:Ôí¾y°’”Q÷Í‹Gô†ÛZ¼™ÞÌO¾æ=Ì;‡>,ÕˆjD5¢Q¨FÇk(Ñ7AŸ©ÏÔgžËDÛ/EŸ©ÏtÛBHHHHHHHHHHHHHhO Þzšª:·Tt¡ ôLz&=“žÙü ‡‘ÃÈaä°ûæMSœžIϤgÒ3é™ôLz&=“žIϤgÒ3“Ÿ»Ù"]-×WÓlðô‡‚CÁ¡àPp(8ªÕˆjD5¢Q¨FT#ªÕˆjD5¢a°FX#¬Ökô ÓÞzݽzš3WSÜ,Êg¾ÁÅfW›]+Š«Í®6»¦jf›£fª™jfŸD˜ì¤ì¤ì¤ì¤ìd¶GÍT3ÕL5SÍT3 ï»|Íæfó$M#‹qÊuèÐŽ´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´…´E*mq’Ë.lšÜí®¦= ä0r9Œ–PS3ŸDÇþ²|?ãNr'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“ÜIîäáWq¸“¡-¥ÒÞÊ4t¥híèv_]mþáb>Ϧ—o‡>ò3äŬ¯ò‡7Ó›i{LÂÄ&„†§°/ÌGÂm»yŠçüÏŠw’;ékÎäNª™ÜIî$w’;ÉäNr'¹“ÜIî$w’;Éì<×V5o¹“ÜIîdtñì¤ì¤ìä0µÍln67››ÍÍæfs³¹ÙÜln6_®¯¦Ùiôé5>³íÃ8ŠJƒÏÄgâ3ñ™Í_ÙÜln67››ÍÍæfs³¹ÙÜln6ï³t,7Ðln67››ÍÍæ•'pÐ=³¼~螸š©fª™j¦š©fùÇÀœÌbì}('ô©áNr'‡¯ j ‰ùî ofQºò^Ï¥*—ªÊ_4î¤ ˆ;ÉäNr'¹“ÜIî$w’;ɼc¯ÙÜžöxh‚M6!Ø„`çð«+ÿ¶a×µ"îevC÷êq£ÁŽ;:ò' ;ùL¹€;úõ仿¿|þú*ƒçÀ‰‡‚CÁ¡àPp(8Üz9£gÒ3ß…i‰Ãù¿öfk„5Âa°FX#¬Ök„5Âa°FÕ Ž[½#ÆÁ°FX#¬Ök„5² »{ìFt :J†o`ãˆÄª„è;­¯â±q+áñ€x@< ˆÄâñ€x@< i i i i i i i i‹qSÆ6!Ø„p4€õ™úL}¦>SŸ©ÏÔgê3õ™7߇×R½R½ˆD¢Ñè@t :ˆD¢ÑAi§´SÚ)í”vJ;¥ÒNi§´×¾òæòæòæ}Ä£üRPp(8ÜLJ=Þa°=?´hLþáb>ãF ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ßœoÎ7ç›óÍùæ|s¾9ß¼4t=ù8ýåÛƒÿu5å•­®ë/Ÿ¿Žáj5û@›Íd2™€L@&  Èd2™€"‡‡\÷sÝÏu?×ýN#ãàódT#×ýBã†+Ò®H»"튴>SŸ©ÏÔgê3³.©ˆ¤n7O±²j¦š©fª™j¦šyàv²hõð}ãc&6!Ø„` ן0Q3ÕL5SÍT3ÕÌ›$lØkd¯‘½FAz?_,&mѾdMŸ©ÏÔgê3õ™úL}f —h]Q*;););););););););););););Yí,’’’’´cÚ1í˜vL;¦Óþ\ƒÂ µWÿzò€x@< ˆÄâñ€x@< ˆä¾yH°x;7Ðln67››ÍÍæfs³¹ÙÜln67››ÍÍæfs³¹Ù|µ\_M³+¥Ók›êïƒÃögVß 5SÍT3ßÒdYîfª™j¦ûæG×a²K~îf‹TÍT3›ow’;ÉäNr'¹“ÜIî$w’;ÉäNr'¹“”vJ;ÕˆjD5º]í'ƒÌ£¿šÚÓ¾¯Šn[”ZÄó•KJ{e]w²â¹PÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ{ 'Ì8nW¤]‘.¿Y¾a§fª™j¦šž"ËN-w’;O„q'¹“ÜIî$w’;ÉäNr'¹“ÜIî$w’;ÉäNr')í”vJ;¥Ò>)Y7Iš^ w2¶{ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJû,f0ÒIôÊ ¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ;¥ÒNi§´SÚ)í”vJ{0Ȱ/‡^ñ¸hí`FL·j¦š©fª™j¦šü6¤É]ÿSq6»ÚìZþžÊNÊNê3ƒìŠ»“%ûÆÝÉ —å“nõê„>SŸ©ÏìÃC"‡kr¸4 }ÛÜþªîŸ)þ?kÿzÞ.¥«u2»OŽçÜÿxØM lmæ_‹í÷d;9þŸÙMºx|œ­%WÓ›Íz·ZÿHn§üWµê`ö÷iü‹ù_fu{5Ýÿgïþ×b™|¹N*¹÷µ¿Úáï•&‹Ûd[þonþ7dÿÊ]ºyÊþÙÿëaÿŸ?{LþïÉú&¹~—ýkÛÍfwýÿPK¨eP/"›rº— ¶logo.jpgPK/™T/HDy.nF ¶àLarge.foPKl4‰xmlroff-0.6.2/examples/xml2003/Sample3.fo0000644000175000017500000001023310611742707014676 00000000000000 Sample XSL-FO file This text appears in the before region of the document. With the default writing mode that is the region at the top. XSL This text appears in the after region of the document. With the default writing mode that is the region at the bottom. This text appears in the start region of the document. With the default writing mode that is the region at the left. This text appears in the end region of the document. With the default writing mode that is the region at the right. Extensible Markup Language (XML) has become the standard format for data interchange to support e-business initiatives such as Web services, business process integration, customer relationship management, supply chain management, business-to-business commerce (B2B) and more. Formatting Objects Test Suitexmlroff-0.6.2/examples/xml2003/Sample4.fo.zip0000644000175000017500000004354710611742707015516 00000000000000PK‡]Q/ó¤YGÁ$«[ Sample4.fo'ZPIT????----ì]ëSã8¶ÿ~«îÿ âÞšWÇïØ=Û»›z‡†îzöö§)á(ÄÕŽ•‘hö¯¿zØN“Ç9TWCY–ŽÎK?ýåo_‡º%Œ§4{àXö"yB{i~óöàÓÕ»Vtð·¿þ÷ý¥Oß0J’Õsþ¦Oß „½i·ïîî¬;Ï¢ì¦íÄqÜþ¿Ë÷íw” ±8@Yš“>!½–`‹!ÉÅÛƒ#œ°[rðWÕf†ïéX´†˜ ÂZœ]ÊÓá(#­¾!ÅWHÿ}—öÄàíA踖=’íëÂIo²áN\”åxHäëdû~ʸüÆt>íXªºRŒ`ÌRn¥ù­ì^zKz„§7¹$ˆ•Ðaû+ÏZ}Ú&_E[?¤º($mø*šy#û?’C ß¿=°ËÓ|²X‹‘IæÖ5íÝ£âoÓKùA—ªÎ³›4o :’³!Ç›éBfêø–Lg¤/KCwºôš A‡²¶˜/ÚS] }ÊÈt'&Hõ‡î®#©ÌH"É’'²Ž`cY"É¡ç²ìàTÓ¸¯æki˺ÊÒ†çvš ÌÄò–u•ÇvJ¢L5CòÞòFd…‰®øM´ç²æf86ÃÀ°ÕVQj#üúÐðºÙõ¡ápëCu`Vœß¯VáUI¨°jÙîº9µl÷ŒZ6ñ |ª?sòçX¤äÔöS5X`$ý |=ÝV gòÿ+äº^Bó^*dOq6U‘Io…©—ÖQ®k½=(ü‡§Õ¦Ý‹ö·µm4ý¢¦õ·ßزËE «/ òW"[{Á„˜oæûqSõôÄLJsÙér`ùxxM˜ÀXÐÔ×Þ¤dýgRt2¡cÅIºŠÑjBv5‘å¹â1ÔÏèÝR'A?tÑä‹~K_•¡Bº)q¿¤Böp„õÂ,Ã#.ÛëãŒK™*ÔH`¹ªªQžgZQ”j3ËW×”õäè‹ØJ—¢™ÿªqqŸÉ7qš¥=4óÿC5Ù'*éô?¶þA ~Ëê8ùrÃ$Åz$ò§ß?@øZ69ÓÜþ•ôdsЬ•(ýľ¡7Eèiõ tÞ§—íÕ„ ú#“¦²½bÇ b„3#zš=Û0D1ËNNrYu!-ߣÿRv)»tÃðh&O_ÉœiD!—ÞÁ8O•JŸ}[1Ì’¥ÔCD:k­~:ñeùÐô·œ%oÆ,ûáûÑ€æÄºIûßÿXÎxÑÏö,i–ŠŒ;I¯Àµ<ã÷ 6RxÆ~ŽëLÐõ§¸;BRaöS'-½ôÊ¥'"Ç¢l¬òÄÓÿÈŽ¸¦{ºzš+4ç¢ë‘„2l^‡rÚRµÄ@ ëÍ@}–2K˜*,^uWìšf½ò톩KæõÈõñ0Íä Ë¤ç 8dJüõ4—â“‹cù%:ÍK3€Æó|ñRÓòòò¸uy|²àqqqÜž8>ÝÐiäüÁàåD CH#¼rtQ‰@N"vwb÷PºM{žzb<Ì‘ùUöÆq¢I mIM×¶­N•ŠŽYÑÓ&ú9ñ‘Ñ»IôbÝ.úBÈH¶!­\ri ½<–޹Mé˜O}#è ÔdwøžO ˜dÙ ñÝ`‚üqlÛqŒüž”ãiF²K|{ZYMó•=Uh¸Ê~µõÌ æ-}ûú§²ÞŠê¦¶¢çµV)QGŸ.¯>œ\ Ë“‹ßONi­%”˜Ë ["O®°Ílš@Óe«èŠdrZ‘m·×kùAØ=¡Ñ;üµ Q' Z¾ç:@¢'$â4û{j\„^ªÜÓDíÙ=ë$˜?MX„Z„D:gjŸ°!6áâäÝÉÅE÷ý%úG?£Ëîû“Ë•$º$ÈÞ˜×ó[ǧÝ÷@¥gŒi.‘8Îû°öa£êN×ȼP·ýÚ=ÿ }þðɲ¬•äµ CÃuU!^÷’uQšßÒ4!щtH,t5H¹^Ï˲1“ÏrÁQFïÎ{è^q|«Â²Ð@öÏB3‚9A –âšöU 4À·DV¿GŽ Wæß Ú“ÅäG_<|~ùæ €O>)ð À'Ÿ|ð ,€O>øà€O`|ð À§uƒOÓGô{ì , `O€=öØ`O`{ì °'Àž{ûØ`O€=UÇžØ4‰8=d¼Zz€Óö'p:~hŽhÎ?ÁéÅÇ>‰Ck.Ê´!µUâKÓŸ×p†³ÈuV#Ù/³¯Usÿõéäò ½ûp>v?Ÿœ_=«&‡7//çòñÏUzü%g8žÁáL~O‚%)ÚëZZ:vý´‘c¯âŒ¹ C)ƒçRNß ©¹ÚÑ!1 a– ÒAÎi¾@a×g½›èdeè\§5kÆ´GNvl¯Ó=Cš_ÒLeshÔt;­À³[žßi…N“>K Sã]¢c,¢Ø?$‚JþENç¹¶íÁ¤/œôßSÜcŽÓ æy.2Ö$m~Ns²Rº—Å«Hdz'V‘nÎÇ‹Ì*ÒwÃéU¤c7!Ю³÷ñxíÖªù®l»¬Ñœî‡†7JÖv½Ð¤M}HqõPÿ¥YÂ[Zž'ì±Þú2…ý¡¶ØVOöÄ"„¾Õ ž‡‘=YÏ’ÝHÓ«Ç3í&€Åü³$òÜÀG¿©Ž!_€B3ŠCÛu›`IaÔUù¥=`ÕYât+l×,0j±mÅÁ#Ö±‚ZÚ°'ƹïØ=“¦í™¸5”Ñæë˜`V_Mì®É¹ÚÑ1‚èÔxvþ-û‹s!W¬ˆ‘aj¢`Y4 ²‰,£wj«â:Í2Ž~HsYUà¬âæz¶åGMÉ3‚¸“„èˆäÖ&<¹gõÓ¾fiÃÈ:*'§]’K¿GºL UWŒ ’Ý#Åå²êHÑH‡äÝôE ‡ü ó/JXÃ9ïË%žPBx¨woÕi ù¨c£¾ç‡èú¹ÕÉ“ŒrÒSÁFJÁ!ž¥# ”c9¦ŒæRèU"LXž¡¨¯6vFy!|MÇÂð#ºX]NVN¿UmYQý g«M/5bg\»VýÿÅžOŸ?ÕD:œ¬9ÐŒ¼à\Ÿk›8¶Íœë37Ó}åŠÕóœôä[FÂÍþÚ 5rI$é„äÒgB- ¤n"ê°NäzzDµ'Í”+í­ß¢užƒ˜Ñ†Kò:töW+/'vIDŸMâù–Si)!õt\=?ˆ[ÞZøèá‚êšXµÝ<ê·¦¸~j:^!²gXݤÞ„9¢ýÚµ+ ÊŽÛòßL¤ÖnæÍÚσj€Ø­jG4|Ï ìM±¹ôŒ!Ú¨ÚjçhD¹P‹”¢ °"KC˜Á0‚šÃ¸‚al9¶¬½AËëD0µR¶GŒôR°Œ`AK€e\Âz~CÌâTÒ!àø†ØÅJA+-¹@%„z<&o6›³øp}|8'oëÎëÞŽlÄ­J³ëpZ¡a§:&­êóùd¼Ž¾3¾zh§ ÷èÂ’¦ž\aU Wn/CÌÖ°ncU æ}+æÝª¥‹ó\}긂0{d¹àAÀ@2uw L® t¡O"’lG6‰3Ýú nuÞüßÝgÆý´½Åýv…ŠnÕŠÕ[ÜR½Wr}ü×NeÔ†A‡ CСíwè5²i}#ŒáBš€žkTèz~؉Sü Øü ·ø© èëä [¤  ÏMæjÛ¸þêge¥¾‘)ð À'Ÿ|ð ,€O>øà€O`|ð À§uƒOe$"`O€=%ì °'Àž{ì ,`O€=öØ`O`{ì °§U±'6M"NúÄ«|vyJÛŸ8Àéø¡9¢9ÿ§Kø$­¹(Ó†ÔV‰/M^ÃÎWM[-9³»Šø¯O'—Wè݇ ô±ûùìäüêY09<ÁC¢)á„Ý’grÄÌUzüɱ<ƒÃéWJ‰‘¤hÃýHˆ3æ‚¥ žK9}ƒ¦æjG‡tÆ,ôOÒï£w)É”æ€k±fs¨':[Yy£s#æÝõ¼0ˆ¦û¹ ¼1ÝNË÷ý–ã-?ˆ˜ô9W(j÷Ò\M܈)ÿ*ù9C´ì¶[˜tô{ŠbÍqšÁ<Ï…Æš¤ÍÏiNVÊ÷²xéxöÄ2Ò Ãù€‘YFún8½Œtì&$Úuö>ï£ÝZ5á•m‘5šÓý°¸¨£`m× MÞÔ‡Wõ_š&ì±¥å‰Âë­/UØjmõ|aO,Bè[àyÙ“õÜ$Ù]5A.vXÍoƒF~à£#½Ù….#DæÐ(Ý&“FXÄÎ)pé,Û­°[³À¤Å¶sLXÇ jiÁvôÖ@Ø2y©ŒîøÇ³ú*aw]®ÕŽêd§Æ³óoÙ_œ ¹`EŒ SÕ€ÄË¢‘Md½S;×i–qôCšËªg7§Z~Є‘üˆ0#ˆ 9IˆŽHnm•ÛqV?ík–6Œ¬£rr*Ð5!¹t|¤Ï”Ðá(#‚d÷Hq¹¬:$R4Ò!9Dw}‘Â!¿Âü‹ÁpÎûr}'T„67`«Ó@òQÇF=|ÏÑõ=s%<ª1’'大‚”‚C ‹¹$’tBré‰3¡PR7uX'r=½¢Ú“fÊ•öƒÖoÑ:ÏAÌhÃ%y:û+•—ö®Ý‚¾,Aˆç[N¥¥„ÔÓqõü Nlykᣇ ªkbÕvó¨ßšâ3âú©éx…Àrœau“zoLæˆök Ô®0(;nË3Z»9˜7k? ªB·ªíw8®µø8ÎKA‚Ø\úÆŒaMTíGµs4¢\¨EJщX‘¥Ì`AM€a\Á0¶"ɧ4Œ°LËX+]{ÄH/Æ´Æ%¬×iˆYœÊ9ß»X)¦b¥õ"¨DPÇäÍfSö®ç¤mÝuÝëÙV°ñTq ´Ó%q[Ù°•½–­l§¡b QH Â-ŽSFTé¡#œe¼Ù«ã} ÉÞùVÏò7¸bv@GƒŽ®;¶Œ¨fP͵Ë7c9SÌQ‘è43hæ:ïˆìe¨Ëyª6þÑ‘ì²ò¨Õ}±$èmÐÛõÒÛÑÓ ku¨CPÛ ¶k®¶¯hÖg„´#ÛnGQ:tô… DVléf‚æJAµ| +]ÜØJë³?ñÍfÏF8žkÅS1K§#€˜ˆ)XGLAd½¾ã¹´Àw[Ý0^锦G9=„oÌkÞ„Õõ7¹m¡·A 4zUç DÔô ÕôþJ8úG?£Ë1K@k«Ör±½9 ¤`v‘@û#¾7y°»:O:¨j@FkŦsîxe\tÉ“«ÀRq¹Y6̀μ;¯þYà;Òo¯Š8ùk:R\Í4VÚ‹éa> ¯˜iØï˜{Ó²—­;3b0·¢çtV‘7ØÛS_>ƒ¿Û™¦¯(Js>f†¬æŒ7Ù#'ãPŽ(S]Öᫌˆ1Ëõ%<ú.+!Ô>¼µÓqRU·ì¼W5|{»ƒº¿&¨Ó1Gž5AÈòªÔ‹Bí§<ßžoÙÁ .`ÇŠ ¤w€‘¨n Îh•P±â±s<$È p]m@ëå7ÐBê¹Z첂<Ío©º\ñ Ù×§ £5e]ëåz8<üÿí]ûoÛ8þWˆ`qû@¬HÔ»‡=œ7I¯¹mÒž“î¡÷Ë‚‘éX¨,¹’œnþûãCJìø¹±,J£@[[²©ápføqæYÕ¶Èý -ޝDö.„¬²ª²bÓtlÿ»Úš@˜‘êŽ"Ui!V¦î†Ì íږ호¾(pURÕ6Æ¿…QÄ;Í‚1†(µ]ÙÀ=˲z¶{–í&@¬ºóx6D¢Ôól×ôñU„ƒÀ¬¿èýâ\Å»uD;®µ˜/cÊwJdªR‚Öšü ²Y©˃;ÙÅ—´Vêq–“8ç„ôè"´úäÜZ ØòÌ“˜f¨O6„´,¤„­Ù,§é1º¼B¶íëÖ!$®2·‹m(WèX¹‚+yU_&”1]Ñ3¾zn'†Fº°¥Q³ÂvÕÐ+°9x±ñ Ö&vÕàÞqï–W/ÎÄ¢ì¸B°\ ²9 0!a ÕCIv¢‘á8²Kš‰ŒpuÝü¡ýÊx˜¾·¨Ø?©p!®zaõolèº=<²:ñƾ¹ŒN`@0  ¨ùíƒNë;a <9=+‡úaÓr\Å ùò…pñR´;H É®¢sódmµÛ¯QT^4%wLçè×Éø·ð[_üd¸—ÒMù¿•Ÿ³=m‡9ÓŽžxKæ•RqõâRÿd-®…|ó§`YÎÔ9`ïÇ9o`ÄÇՋɤøýÏQ˜fùŸ)½c"#éü&YÜC˜v¥¨l&aË:Íë(™ònr€¤Ù0MÍ6ö‘ÓȱÅá`³ˆÁ- ¾Ü±µo Øk4:Bä–}åŒ=å4ÉBiäþ³Ð„E±V’tD@Ð{4‰@Î{ó“é ñ°ˆ9+/‚ê·”ÓYýާɀg£8’UQN³©K…(fÙ–-dËI./]+˧ßÿbÞ¦13ßw)™ŽÃàùOf‰Dü'1 -BnÒ—­xÌR¥øM,&Iz£pîÃò¦ÅO³4øõh–F?ý8'1ÕîÂÑ?—3þ<\xÍÆ%ƒçåecéòŸG’ -6ˆ-pâ ³·9²ÄÍž\„9X°jDãÊÂTNj\©¯u}°a=Âzl|=–.–#,GXŽ/ǧx•ŒxòÚvG Ø[…Þ¹¸ ÿ^ÀïßUúÔð*ž b]¯F4ËÓš¼-ŽMŸDû Ÿ±ýZñû¾®û>ZówKQájÕÖw$^-©þ]a¶¶!ýt}óáò|€®Ï\œž×P„Ón¾¿iÈèyºÞ3°Ù³ìZ •Ú-£·ä¯BD®c÷, ¢g"š0úg(C„aÈÃÓ@ ’I]=¯À#ìÓ#¬(h³Oœ¿= úï¯Ëvšý÷ç×[­èR ã°iõÎ.úïAJ/8ÒJ!e$¢ø‡Vø‡5Š*ÝV ›wý«ßÑçŸ4m;ö‚B ·iIÊy48«\(©>3”Ä('TC7¼ßϳ÷f)»7Ë3%ßD;ªþVFîÙ­³ñi¨( [®áˆ_Æäž²ËÐ×Íøgµçì¼æpÀ'ŸÀ•øà€O>øÀ'Ÿ|ð À'ð>øàÓ®Á§2°'ÀžÀ“öØ`O€=ö°'Àž{ì °'ð€=öØÓ¶Ø›æ'QñÊîÝL ¢[sœ†åÈÍÕœ¦]ü·„O|G[‰2Õd¶J|iñÿ;¨áÜ+n5rf¼MøŸOç×7èí‡úØÿ|y~uó¢ ˜¼<¥$ŸPN¤4MiFÓ{úGÌJs!žÿ‘Ë”8œøI¶b˜(N ?Râ̲<™°5xÅÖé´0W-}¤Ë4ÓпiÌlàõ$ÌÇÐk™B=deeCçNL»gx–mÕ‚µ}ºŸõïîÄt=ŒõžéZ=Û²=˜ôEt);wbÊ?yÂôî1ÚÔì&ý’nÌùUS˜ç•ÈX—¬¹c[=—Ùr׳¶b}Y¿™4L}n3‰g5l$7“v7“†Þ: ¶kùÙìÝ×¶´Wº^ä×M·œ¢]G¡ÚØt${ê#ÓÕãõ¯% {ú¦ÍtaO×íŽ0ìO~Ò¶=kØ3ÇàXšk¿Œ&›ì:¼„'ã5€0²Ãž¾ÒzôŽ}9oÏhI@®g[FI'¼áõ4ewÒhºº Ðý¯Â©Í§æëšo¯pb®f+éÃZÚ=ŽN^»F[ÞëñŒ’T]SŒw\µô™Žaé(<;ÿeã%qÎv¬(¥“P&7 |LØ[cʾ"Š’oüÄâ6Œ¢ ýÆìÒœDXnØd»N¯ Oò3")EYÎ& %SkuDr-Wõ‹‘Pi©È"9'NrtKiÌâ2ÉdÑœFˆk9»tBÙÒ'ô}£è [ì#’}á‹%OIœhÊ® 3Dd#l^Än5t4$Ù1º}@³Œ/þe4¢$£CžsÄ Ê¢pªqTXcʤ.Ž^¹L+³4¸ôùùÎÚd/Dn“Y.õ#¥âmÞ£¬œ~­Ú¶¢z )kÖ·¾±.ó±¦~ oVîuìIèpþʱPä5å}X—élõ”÷ÉuÅX3®êqL‡ìWo@ -î;´I½þtyÙ|FÞ¢ÓwýÁ¿Î¯Ñ/¯O0]×ÖêhwØÅ³6ßwÉ¢’$_kâ`Æšš±&¦c —£Rçås7ŽzÁ°SÝÝüò=ï „øÎ‡ãlSöDLNˆm=I”ó ³M”×L€=ÁPl‚I§<”¶ìÞïÞ.Ë!–¬áz÷pWcåí„Þ¶fè›xBLK3*m%˜ö«Ó„¾fîDûT+âÕÚYñ·£ _=3ío‘`N"ªg‘ %#eÚ-J÷OØŸ¥L­v>Ì›—ƒi€Ü­jy7Xóôº0_¶~_¾PKûQ"íš&YÎ÷(Å :àD6f0ƒ_3~q ¿Ø«Ù1Â.<£R¶ö4¥Ã#8F°à7/šÞ ·¸À<ß¿X)¥b«ýb–£@=›Ñ7õ÷îNW·¶ÞöÖÎi@­N*ñm8Ɔcìc]ÖÔ!Ðâ,Li#ž~D‡è”DQÖí­ñ¡¥c·<`ÆYëvÙ 6Zu`™¤`šÁ4+ÇÈó¼Ìw‡†Ù+8>À2ƒeVù`lJÙ@’õ³,ä§~Çè” ™GÔ¼¥ÏDvì¶Zv»Þ€Ú³ f[q³}“D£”ÒO×O<Ï 6ú€r<ͱjÄ « »« ÃV½{Ò”SúNò@·Õ³ƒéØpw‚@NA—s lÈ)€œ‚]äxÚþ7àÑ‚Øm{Çx#èLOÇlzhV[Ôº »ë&öuVÚ3 K¡=fú†üE3ô72™þ]ÏÒ¬6¨ªŠùn} 6¬‚6ì‚<û#yØ}Á‘¦Q¥ÔtEˆ=ã¢îÜ–òËòE4V5L4LõàmÝ¿^q²vTO\Í5V:‹’lL÷È2l¹²@GsZ¡5|ci¬¼Ð4ÜmÖ ¶¶ê«Óøíf™¾IPg³”¢išLiŠÁTsŒ¦2šÒœcPN“”Y¤¯¦4Ÿ¥±hÀ#úXå9?‡×Z'UõÈÎÜ«ã;ØÔÃuA®+K^tA®§™U®ó§¼ü}–¦Û[„€®æAJï#žjNo›T±¢Ø™PHä¸NÐzcóY kÑ Íöñ"¾Ox_Å3’S`>Ü-ôvÄ"ºÓ¾z.ÔCζEîèn|%’w!b…ˆU•ˆÕ3<˶°a„ ÍEªÒ.B¬ ,ÝMµuò|lcS¯/JX‚Tµñoañ&³‡`Œ!JmW2pc½gºV϶lˆU÷oÏf€¨B”Ú`šíš¾ŠP˜õ×¼³_œ+x·Ž €cÇ¥ò…¢`LÙãNɃÌTJÐZ“¿A6+•byp'»ø’ÖJý"Îrçœ]ÄVŸœ[+¢[žyÓ õï)¦ゖ…”°5›å4=F—Wȶ}Ý:„¼Uæv± Õ «Vp%­êË|2¦+úÅWOíÄÐD¶4j¸Â®ú6ÇÓxk»jpï¸wË«FgbQu\! X.Ù˜0Œê¡äº@Q‰H‡pÙ%ÍÄ Æ ¸ºnþÐ~esî½sïî¦[H­õ–—} ÏÓ]#cèQ ›Ö'¤Æm6Þ»‘Ì‹‹JÙxø`pÂîÔí;3v²cäSq=}€ñ{í:Þoy™û÷çÈ˪+Nüß¡Cœ#E%Ü£çK9å弚Š§Îž¬=u©ž_ßyüRcKcÇ5>ôè@d ÃhÃ" ÆÈÀ;i ô8BgDUý/Ä ðÐ?ê‚{LÓé Ò6þ+É´;Dk"XS²ÙH´Éhf}WºSoš½x»íüA§¾ÜáéAOYyPo™ÿ³ºuõQ3GÞñÂÞ7Ð¥ 1ò?˜“Wsÿ©Oûü×nùG4Ì™¿Ÿ--þÔØØvíZË --×oü¢§£¥«çÖ`ã`Ï/ûû{úš^ ŽŒŒŽO.Ô™.viÏÖíø<œ4SÓð^XûmîÌ'-ÏÎ=m때|z33ôŸ´W%ïQ}{~aæÕÝ'b±øóø´X,ùÿ¶¸2ZéVId2‰R"þ1'V½«”bñÑ×âr¹¸æ­¤æ­¸V&æË%µ²ùKo$rI‹\Ö(ÛörVøFÞ#û80¯œœ•ü2­ Ë”’+™rÅP&S=SId*™Dµ²$ŸS­H)Q)eâÿ)ÅÅ?$åÊéSJq£JRÿMÞ"Ýøíi‡RÖòCÞ±âÿCÞ#WvÈ•=òÅŽo’A¥¬G)TÉÆ•òž©äƒrùÈ'ù¸RÙ£TÊ•ƒ+Q¥—«åªq¹L¬”‹Ur‰R¹²A,WNýTJäÊ•©D¥WªÆU*±\%VªÄ*•D®’(U¿”+erÕ/)å2•J¦’Ëåª_Rªä*•R®T*U¿¤ZÁXá×[ÐË€ c&à÷ µ Êu´cX‹ˆÚ°¶ú2}W»Â¦¶ËC'à^¥jOÉá<wï´á–£UNëG:o$ž÷Ü*}2ùòþY—mï„~¾Ø|9l»Áš-5/Æk×r®·¸™>µéæ®sí¯¦.ƹbe|±I¯ZnøòéØ{³ŽtËíÛ#´wqó üî…k¿~ÒñûW¸ø¦õ‰Ù¾CŸ?¿ž·vÜØ½úòÑȓ͗ád×Ö‡VÔzúåß›µˆ1öªÅ;í±?ýáqQuòmû²[³>9!Ÿ¤•¨ cO®J\—:´Çl߇…ÍÍZ“ÝL¯qÆæœŒ+íœÕ'$àLÞPšº|GöC.z°´õCs>E/ò•5UÝ17Ï.§©îô+óô©MT.®»‰EŸÛXpðö£½Ç˜éõ5‡«8 UëO'*‡L;¥fxPS?÷Ò`júBa©:U!,6§¤þæÛŽª£ðþ¹º1'´îÑÐßwlÞ™¤ßS×§Ò„“Dz{Ѫ‘ÚÒ¹2çA”à×þ8t¨WcjÄ©ûõäcûàjvµÌ9g²A…çÔÏø_Ìwä !$šFÎñ!µ×½•3¦G˜Ðh¡÷dÞDÖŽð©&¬WLX¥U!°Ìž»ÆA™ ÉpÍ~iªá ¿÷Â2Æ€¨B&÷”š¸7=3⸗Ήlj#çñÔrf I¤ !ƒt*\3Ú¿m{l˪Îó?õÏe¼6ÍQ S®òÀµІƒV´Mݽö0µæ ö ÃÙ{íÙŠ75(c¢Þ[A 5ÍòB]×o{¸Qp`˜LÁÛ“ÞÞ0²‹´Öùε#+àZŽ®³p­(J|<|Amw{$Ûh!7 s?O<¬Šˆ?yg핌ÀJ+*I&!´cÃü: Ùï¿<Ž_ÌÑŽ•F¹ U1™…šöT,xˆ Sßg?ôv9¦ÊÝdòwãö”ó“›!Ý„MuÁºe™³º[=÷ë–X<žlZ Òö¾iÒ~7»ŒHÈw:V2xwRÛiËçÔ¬V$Dñ2g‹ô¶I%EzÉÒ#?æ+B“ºt¶kùöÒ˨N^K.§õ?ïŽ?#©™Úþ}Â?”àÒ@쫦Ԉ‚õ“y΃ßv4ü¹üí]õ‹ïËׯxèl¤WzücbCÿf[þ¡ßäàR¿Õ 3AÔBéS/!Ì BªIA&P ?ÆGº5ƒøÝ›`Fb¡?¡{–»ƒV`0Hísî”ã¶M|h§ÿýÍ?f@¥µ”_)¸óž£yþÕ†h}Õ¦ÿ‘Ó–}IOÐÆaÞNÁî0sR[P,Ò¬g¦ØHx÷<:g Œ£¶ŒÓºäspIlÆB+»È.¾†C³aQì&ÃܪœØ ëÇ.|OC𳄠8êÖjÇÂ) m¥aļ"J‘]ÜÞÒRH{0häWŒt+æ”m_âê6®¶g±F41,ˆXPúÈ?£éžÿ°9.|‰¬¾W5¥:ê)ÈÚWHiFodfçœNë«jbÝñ„ô~–ô»x³¡–«µd¡3**²§ÕÁtB¸/Pd—âŒòã<y/%Œˆý÷ÅË3—üŽ"-÷ó1 ÁXâÝÝ›Ë$”×=NYÎXß%ehÕÏû£{J‹ ݯû—»gƒ8³WB¸‰SšÐÛÄ2ÖØÄ{B¤ç¿fq¯ÛïnžòâsЦT@ë3­îï;÷ìÇf+¶ˆ¸º]ÃG–wC:uUyxÈ«™CHk˜­3“²=¬yÑ8»^S!Ô¦7iÚ ƒÍIÖƒÒ3ÞwÚƒ’Z,N¡_Æ„ñR5Û›Š|Äm„ ¹õZÝ¢`ǻlj }&]M¾ã_ßx˜V‹Íú޳ÑWbjrÓHýz7X@%…ˆíÍ÷ó.~§žWÜa"ˆ”¹KÕÓEÖž½%[fRZ»_9åÎVäu¦šv¤/Zïñ~¾ñ¶ð=üâAÎU—“0)Å•‚ê$BÖö16 +0&«[¼×Q¿ Ù|ð_ïÆÆ›WNm¥˜ÞF˳c˶äëé]9æ:Ÿ`MçÂ4ø¯$*ˆga[ ÒQÞ|—3ɘMÄÃÚÑè=LzÖ^¾Ûò½Teg…4‹Ê¥8Ó4Öä Ål{[±õa€Þmá±µ¹½%1ïú‡î½dÇÁÐÈpZˆj·*²OKΤ ¹yµˆU­þøT›@\ÐYÈè‰ *RAAtš}“vãiØ1ÎT­¤O‹t¤%݈S’¸T “±ÄFRXœ™[ùƒf6œeí+t®m—|¯OÛízêªlr‰‰o¿~¿¾ùÊÛã“-ï~glv2n’B,qôÿHL,?¥qq á·{Bùõä_ügùTíŽÕ‡ Ç“Y Ý»ôh{ª#¾ˆÐyÌBºo:I7{Ä‘4Œ¦¡µ|Ø2€‚§µï\9‰òó[,^w«þKgÏ*ˆ "ÁŒÐÛ0"ÈñΓÁ¿~@}Ó—ìÙgç¢í¢œËW§Åbgç.U^Ö³ÚpdCß¹Ä 0Žž´(éë_Fyf•!Пsë5„4dÃs.wg2–!í[Êßè7p¤î0ük®Þ4cC°(Ù¶Dƒ°R¶Ýþ7‹ã©Û—ÛN£$ÌÕÁ^g~Ù{×–ÎkT…Át}iœ’šåc6ÑÞÛÆŸÇ1Ñ0½™Ð»~Œg°˜,=’sÉíËÚYÌ~í£<¢ á.½ªe‘ãÈò?6]0õ]ìDY²ÞõáNQîLÿ»ÚÅ>È0Ò䱈>ú[ˆŸ©g‡·“ê FˆG¯“ÛÒhæºØ ÚóøÄM?j»F“tÚ­ þFÌW¿â$Ý ÓÙ‹Y÷9ÀløUò¥Oì‹)ÌZp§HzŽ sßõäþ‰ŒÊm++¤Ü­Do X¨ÅPÂÆíG¯j_7<à?7¸hD‚—vùI—E<]ˆYþê0nÁâhòÙ_ÿÏŽsÊ—\ůT³‡|$~ެQ4¬Z5 –$´ƒØhÂñ¢Ãît üàê?ÜB«hN>t˜`=@b¤@`GƒùPMÙêÿ)˜Ì«¨}|år¨¹=©uhà§àmé;tN‚¤¥g¤›BÏb£Kè RÌ%Á–OLÜžá}yî¸V:¾Ì @c4pV$àV@á>ʳž¤“Œ/Î\—,›SÕ§ØZ‘¢G„›Ø€D"hȱ¢¢$›£iùü·E¸9›Ð°‰0ËÆ‹‰øQšÚ}°a‘L&äo½ýjy^™Ó;YHé3gãšù€¾°˜ÈæŒë²¦÷“¤EÉKÐytÁ >NA+}Å",ÐÖ dt ÿLˆŸ`©5 ›HŒ/`"€$)hVLX>¬¸«“øpC±7À!°‹«yXk"X^ h`U1h)-²gæÙ®Á²èècÔÒÂG&Î4— Ôÿ¥æEøçBµÚ}:öŠ  Y35PmX:pÔFÎ)DRN„Ô-›™_΄¡ê•3á?ÃÊÑ<€´T}SVÄ¥¡‹˜è‹Š„æä—LÂ÷ ‚Áü ?IÄò±õô=»`l#¨¯™ DiU@>;D¿¸C|à Ĺ­ a щÿ ')„z ù<†©=A_/Úþ—bKëÉãQá„×¼ÊgDü{†½L Šo½2DЋv 0.ÍÁ‹ÏüIOô¥Ù¿ø”°ð<Ö§«IÅÐ**̉•·VŠØûHLú Ú"篋ºVù˜‰7ÎPkbcHÑél»þÅÒo3 '¥ÏW\M;‘nu„·ù¢ ¦€‰$e™vM-7AÙ%Ð!d/…JD+7×MUÏÛpþ»Îðþù1ö›`‹MX@î!¦ã† PìØ ‡5¡âIKÆÕ@\zæ·ÊÍžô\5¬š‡ôò*¿9°!CCî¾.ôgÎñ1ÆË½¾Ký“óÕ>—`ëIØ:žÿ6r!ˆ6¦oóð@l» ªS¼½ˆ(¶UqRpè!ʶ"´C¥4´=˜³œøuÛÓkØkîê™E½Oâ _c7_* ®¹·k'¡E%õ`ig‚Égüëâ}`ÊÐÉöħW1_š %*"¡]éy ¶¬… Þ² ?ôî³Ðú(ÁpsÔû ð’AM°EM8]˜eJtõGG³CàµAKµØîü„ÅÅÓ™TA&– +Ы®¹yy«˜è[ßѧ™ê æ6ðN„·¹®öƒé-Ùiîð!±FƒWĘ‚ÇHÁÀT›ñ³ìŸ¼Â‰'|Ó}ûˆKDs´àÂläJBßzо%ÂtŠZo²ê+º±•ç‚̲¹ÖúÈm@HÅ<ÜŸ.Y"ÒoRa6dš3K°aq)Gã¹-vÓ @ ¯³‰­l>`h‡. ¢ ÷)ÝèÏ¥øá °O#Èš¿Ÿ|*ö#~F0¼n-»„ᦩ/C“Fi,T 0§âÒ‰˜â’ÐZF­²]hj'ú™¯x£6ÎWda¹”kYôp«H¿äöð“ˆî/¼)…ÏpÁ:-q3¤­žã]¼ã£E[<ÅÞòb PÖV&ÀŽ0ñQϰvÝQW™Ø+T,Ÿ´þ¼ŸÕCÉ«D qz?<˜÷gm‹áw˜P­ ¼ Áù¨ãÎdã›ìH2†àB¦x!” ýW!MÄ6±Ô~7êàà BpŽùY7íì ;éU2ïÎHzM¹:̸†Ká¸fáÅîw¡eŽ%àaŒ\ßµß´Ú ˆž}{ê£nÝ•zÛ¦¬ã”–`W5|¦Ï^ w:?{Ê×M i·†ßºyì5È#ÏíK®-‰! `g²öÚª‚¾Î­BD³Gu^=4“ßrd4_v«Yý;Ë{oÍ+òß•0/æ‰úÛÀÈë ,DÑù6p»ÏwÞ5¯vh*Å.PaÆ‚‡HÁu)€z¥‰R»å†MÖKÑ5JAµÂ,¤ß<µô™ûöFµ‡òSßqÔ0…ýUhä¹ üj½ o¥°]³£zû´‰Gý(·ÁÂ¥À3ùµƒf—»‡…(û¸1êBùؽò±«)vÏëÁŒóï*HzÅëںĮƒôË(‰2­ÓFl8Óî3å”_>së·‡¿l]ʲ‘Q3‚2 j;e\õÅP×Ù(ígÄ^^æZs4QépËî£{–Eø–Ic©¦¿ÚNjHK£=ÕÎæîøg² •K­62†l¹î¦t*taž:><†=ŸŒÚmgÌ_ù‡í7*Ç´Q4;Rs2Û×™ÛpÀÍ:»läÚÍL‚öp‡ bc"œq6dÃÇMvÌÕî «+È[žwí#[asš¹ß¨½IL8.ÆîžÎzþðÊ k¶æÔ_}ݹ]ULÌ9~ gâƒuNÆ;‹£¬²\Qp±+}/òˆOƒJ¼`ÙÒ`!/Cª¶?ùâ¯#vvºà<:ýˆfëbý]sòºÉ ãþɆ³!’MáÜSÆ€hóŽf5ô–÷=û¾•1gDª‚þ·{N²Þ«i½Žgé²`~Òç1.%B i%šUCy¾ÈÕù­—|4vZÁöQö« ;Û>àçqÊ­*èÕ?¤ûmÆ krÔ'I5¤ÕLqú^‡êj­ØÕC¶LÈðî¬q+ôÒö 6SºhªUõˆ¶—ÜÜŽ9KÃL“g/iP<¶.ôy  o@4'H4fpÝÞFcN±y‚FÕ•ZmtîˆÂâ¼ÆüþÆ}•¦Oé^¯E•öŽk˜é›% X옛Û=»Ð¹hP·×x(Ö°©Îx´Î­:ñIÒ²áiíÇSzö­äï•úœs•¨<…lÏ]cî¢nË[²MB½T¿2·½R§cB÷ûÄ‹º,g½ÖÊW¥¦Ÿ¬ÓZœÓÛê¼X¡q10šlå“¶p6ió¡^=ýíÈJí(gYv̵‹s1ýZ)7´º“ônWh…çëåø™œwvv¶rœ•^»ønäî»1É»qGŸÿPK,t/oƒË phone_back.gif'ZPITGIFfogleí”ç[SÙÆÏ9)¤¡D R#†Žš mF)‚"dPP„XO ˆØÀ‘jÔH)Šà : ‚‚5ŽÒDó#„‹@Q3r1¹0Ãý8¿½žµ×zßg}ÚÏ^A?zz%ı€Êµl@.PÈ”²åZ&—É2™R&SËäJùÀr¨å2¹\¦Ë”r™Z¾‚B¾lÉÕr…B1 VÈ ™R!S+V …B®TÈÕŠ•j¥B¡^IJ¥R¶jåʤB)W*åêyÙP¨•+×2êå£T«ÕrµúŸ1µB­þÇV¯¨+ú_þåÿ„°ÌÊ_0*€ƒ¡7‰$|ŒÞÚ½Mמ$šoß®è9MvMy×{»òñyêÆ|ÊÍU}¿:jÕøö5Wo6µ¿pư°æÙ9Ú®NÚBÎK*ÌÃxë×¾¼ìk¯ÒÇùñ^_³$h.ºÞð¿jFI›fñ¢°ÚVÔùŽ/\AãÆCfaè—hxnh¬uö41ÞÚ—>ÏÈfd !›1Ô¢ë“?­AkßÝûÑH`««¡Ý~^‘ôe‘åˆDqd')üy Eó¥™õ9ÚԞŶLêîÓ±æ³Où9¨æË>æ¬0Ž „”¸‡ Á) ­+¼´±lÖì¯{Óÿþvh<2Tåmy!bðú6×[¿‰å®ãéÇ2‚ŸÐÛO@?†à/…a¨<ë gB“Må©E†ïû ‡¡Ð=h ½€‹¦šº†6ØQ A}·lq ûʹPos‘äƒRÚ°v”{ΪVÄÚ²*,%) :g˜Æ@l® K’c3ç!Bçl¤I°cšF©Tÿa›ÿ=Êo¢ $ ÁêïjCáôÖ¯¯5[X|…°e¤#›BúÑÛͨŸkÙD~ O«{?ÏI(ÒLbÙ2{>º8‹%ãÙRÈ&”e¯ 9÷Ø åÃæ_oá°ÖJÓ犭®B†¦]4ßð-+ŸçMÂ/\w9»Ê€GNkŒ„ån"eÇ â¤-¼^9'U³%¶¸º|wC3š^Ý>TƒºYIž»PX 0½[bÀ;5@®fnPÚÑ ÒG›fuÊi÷l‰(†îàºþ¦'QŠ?Ý;tQ{ôQÊM< Ñ€\g8G¿áORj4?ʬ™9òËpžԨt¦ÖÂÿT„f[>4¢ÃšÏo¡¶ wjÖ0{¾ßÞ`q-Õ_zå+%lèÅ u!nky×Á>>${¾‡&i¬r ¥°å{*¼|J‹TZ;·Ñ¬Û„ ¼6gÇ¢¾Äèô¡Ç¡7üÊõ.®fkV'Œº C'¨¢ç(‚B­ ?ƒâc‰TÄÐ}b™Âï1oPµ/ÒÀ' æh·^pn”‚³œÒòwú/Þ¡€qc#œ_ ={’;v â®áËìNI(ž(ê‚ØâÚW߀vœ5‰»Ã¾ú´¿Ðjâ1‡aÄñòºæ”á3,wÔ&S1C/ø˜øw[˜wÌe"È0â³M½npæÁü‡)î¿ä>’P!éfʽ0ûÕL0‘À a7a‘&ô~Ì@ÿ¾Rí}^ó*àýš°+é@¼6ñr“×€u¢ƒVæ0Z„½Ey#êLL~6o Ô¾(±žÌý.`%‘ +ê·Rþóäu¤Ór'Î+BïŠÀ»Ðï_ÌÛv¹À;¼-HßÄ:âKg$“ó]*«”qíD íki™[TäZѧ3ÿž~ÙD¼—Háç—Éë!úwÃiǺA} Õ×U–ø?ò» ä; ×-™Iˆ-GÊ^ÌãïZÙÀ9§gà+‡zäuaA¿Pxt{Çýgz›°G©–ºqÁáŸ#þ4~7аNƒåo×^*VÜ„$s\G+mÖ*¯–ØR¿zg\ú¾ÑJO)WØØÉ%ùº×2IgDG°_8†$¡o‚﬩(d­ëjÑOóÂqžI/ç…Ï%%³ïª cùts·˜öq é†á¹=ßx âWÞm\­¥h‡ur]fú¯¤ïÇ«¸ºi6l(Lp`Ø,œ|úóí“ü™!ë’[ÓÂÒz•ÛnQ\Ñ ­ð¬l½»5©·i«‘õ<'¢s*ÈBÛKG…Ù·ãBÄàªR=0´ðžØó7^FɃžcõA¡NÇWWðu-D@Ók€frz;†‹_òÿ.æp1â’:j·¥5¼ÕÄå QPhüx}Ik; ;m³F“sQïΖó»½&òVï*¸þ}Ô2î $šz0Öµ0lC„È\K›¿õ¥-U%õß®ûÑÿ{ê–¯_JV¤kÇwú]åèY|2ð2%,\4S!ƒð.LÎößÏø2~·)¦-u©-ÃSNšÝÐì©;Z½! ¯Aè>4hý¸Ðï€Ö‰NÍßîélHz@Ÿƒ TãÕ¿AsäÖ k÷å¶fì$)«u7ÌÁKBf:;ocó„u‡Oy\B£!e–á_rÎSƒÃOy¤ßAÞg.–’=2Ã=¸ ä8‰5#ùvŠóEi{ÎÙlù½&•†'ÆL¯¢ÉºµÆÁÐY†SFº¥XŸ×yÍó½¬6µÒ€Ä1~—§x_W¿E²Š äú¦G9ŽB?±[3ÆyäÝ YÁѧû¼J2aìß¾ËÒ Dè¹=M6Œq³¶Iºx6ñÂÖ‘ÉY.«ÊsJrû‹œ¬ŸÉÕI: “óxžy‚è¼Üì<í¼Ò¼ü¶¼3CyçÚt@|þPK‡]Q/ó¤YGÁ$«[ ¤Sample4.fo'ZPIT????----PK&,t/‚ô3‰ ¤û$phone.gif'ZPITGIFfoglePK,t/oƒË ¤g;phone_back.gif'ZPITGIFfoglePKápFxmlroff-0.6.2/examples/xml2003/Sample5.fo0000644000175000017500000026303210611742707014707 00000000000000 SERVICE PROVIDERPOWER DIRECT USAPPeter WrightMain Street 123Rochester, MNPETER.WRIGHT@POWERDIRECT.COMDISTRIBUTORIMEWO CVTMVW CVCONSUMER ADDRESSSTATE BANKVAT number: 4031997024078 East HighwayPage, AZ 9041INVOICEInvoice980056Invoice DateJanuary 30, 2002Customer1168116STATE BANK4078 East HighwayPage, AZ 9041ACCOUNTS PAYABLEVALUE (USD)VAT rateEnergy TypeelectricityBase235,2321,00%VAT 21,00%base : 235,2349,4Subtotal284,63 Energy TypegasBase81,5121,00%VAT 21,00%base : 81,5117,12Subtotal98,63 Energy TypewaterBase1,816,00%VAT 6,00%base : 1,810,11Subtotal1,92 TOTAL DUE385,18USDPAYMENT INSTRUCTIONSPlease pay the exact amount of 385,18 USD before February 14, 2002To: IMEWO CVNVAccount: 000-1680126-86VAT INFORMATIONenergyVAT ratebaseVATtotal dueelectricity21,00%235,2349,4284,63gas21,00%81,5117,1298,63water6,00%1,810,111,92xmlroff-0.6.2/examples/xml2003/Sample6.fo0000644000175000017500000020320410611742707014703 00000000000000 KOPIE CLIENTbedrag in lettersmemodatumbedrag in EURrekening opdrachtgeverrekening begunstigdenaam begunstigdemededelingdatum afgifteEUROKopie client enkel bij storting voorleggenhandtekening(en)OVERSCHRIJVING OF STORTINGEUROdatum ondertekeningBij manuele invulling, één zwart (of blauw) karakter per vakjeNiet ter betaling aanvaardenmemodatum (facultatief)bedragEURCENT(enkel voor uitvoering in de toekomst),rekening opdrachtgeverrekening begunstigdenaam en adres opdrachtgevernaam en adres begunstigdemededeling (in HOOFDLETTERS)Hieronder niets schrijvenxmlroff-0.6.2/examples/xml2003/Sample7.fo.gz0000644000175000017500000000436410611742707015331 00000000000000‹zË?UN220order.OfficeOrderInstance1-us.foí]ëvÛ¸~öOÒ.Å‹.–UI{²NzºÝ8I#§Ý¿R¨I‚@ËÚ_ûû¯ÏÒGÙ'ÙIÝ)ëb™¢,“Y .ƒùf¾‚€Øþþ1ðÑႲ°£YSC$tØ€†^G‹¥«7µï»mΘDP3m(eÔ2ŒÑhTU+Œ{†u}}müÜûhüñK-­ÙŠôÀÊVˆ"ZÒiÅ}¿õ™oÁh-³reN8X®mq€…ï<Kr7ŽàÚ´ƒnÛÇcK=ÀB® "»mAƒÈ'z„=’•£ì²ê¹£±¨kJjŒè@;Z³R§aV4$Ô‚H–¥ŠÌ=ê’E­ÓŸ¸ªŽ E (â"õ>ŒQöw:˜*ÑŒnÛX•ªÛN¾òßTŸ/k:=MM*ô›ëœ¸„«–h¹`6G5rÞ(Pœ£¹…š9½N¥‘Tú¤k›fÕ²«5ÝB:R_tÓVÿЗ˜;C,Jðniõ¶ë³rY(uÔw´; Pki™ ¿¥Ï ɧá  ª@Ûy•‚ ¸ï”Ág5«A€þ‚8PrIO¥íh.}$ƒIÝa~„(ý˜ Ÿ43ž®’Œ0 ÈÞ§¦zò75L&WOÌ'ëø> ã ¯´ÎFBC2èh¶ý‰f¤cŸzà±Øl´i7vÃN:êû̹±B‰A…MÁÓ§Jeâï׿¤î"ï8Åþ ‡$R§á:€¡”†A2è3JT¹’ Œ? j$VB·œ(q´®m›LYDåQøè+y Š}ZFïÁ¹[‰¦mX&²­–yÕª5Q»¬àè`÷ä zÕDHf³™c¦ŽCÒc®q¥¢†j* N„ŒâV†4µ{›¶1Ü'ÑÞäs¦q(™™lj+sØZk°Íêþÿ³ÁÛõ&ìó|13†¤;ð0eÿ‰ W¹$ Uå´‹QÖ¢Ï|p¾/ß¾Þüý]ïúüõý‡¯m#­ ôM0؃Ñý̃,Ä\dåÏÖ˜ºNž%æ$´Î›V4µÆÑòˆeÙÏv'˜7hÆ V½Õ–%ã$"à ´ÆfÖxƒÒ«îª6z‹þŒ¬-h¤º2ìôRSCýÄ7;š`> +’9|2  #®¡«6Å5“‹³Îj0È;Ÿw4Â9ã:uõI 9â8Š`(!1ŸcÕ„ƒ…‚]8l±’Éõ@O*:eæ–÷ñFúìºÂa/Ž"œ_¦ÿï úˆï‰2NÐû•n3ƒ¿R{læ‹<’ó™©c¦YÄÞZ}m7ì­Ø×ò°/øÓ%™x¦š%ÐfùÍŽmáXWÛ*ëirß“ì^«†÷4x•`åØwš²ß¾³¢Td]ȱS`1L"ë«F&C¿ÿú›˜¥ë*#R?ÄãçõRžÓ'.¤× YH^;Ÿåpþw‰Ý DÕç9Q1Yw¹P»a¡€›G²ŒWöñõ}n©ÃÙ€<@â-òëÕ¬*êEœ†êÉ5Ùöߣá¹v®{ŽH'tyz(¿H$µfv©Lc/š-Î6ǹSñ£$íèãðþaî’+îæâPò±ZÒdœ& uìLñ|4>÷xàâeÄê¾JrŠˆñåØ^pT9GÔ‚Pæ+–ΰ„ä. %w¶“+J%gtÇ{Gx RÐ| ã/?Žìž” ÐlÆ-ÕÔ!÷‘9—pTZtn „¡K<:î9JJ¹*céÒd«ÀëÇHí×z"ü ¢¹4` uáŒà™°ºbîÍ-ª]¢M‰`ú‚ø†ë«9¡O¬R7:#¦ÁÆgXíy. —X“s¯áq}–¢K¬IWÛb®žºŽóºD›5Ë«©p’´ $žt–”"qnîov%ÀÜU Å饑fé{γ±ºÁ{‡ÍÞµçÑ ýÔ¢ÝöKªµØåwÍÞF‘Ú_`~¿¼ ¡`¿Ü —}–R_b7Ói}âG¾uÚq7ÂfõŸÀn„O‰.èzMó?ç{DüU­Ý9œFj¥[]ð,ùTµW,²|¦ÌZõ«PË/_·—Íóêhô©ŽÝ1‰}äq&É7?yoOg ƒ÷É›`ræ®INê‰!Uç’+v]ùÔÜ•+UÒ­NwÊíÞÎ÷kÍHTÖ#Þ|­ˆÿ(I°–FºÈpŸn¬Øêk^Ÿ¹ZOpëaG² ©ZØHµÂFª6R£°‘®Ž×wLß6ÓË ¤oïgÚ3e"â¸æ²¸f²øAB‡úâ;Ðõ#ú“8ÔÂv‘ågÂ8Hñƒ®uä@Ð<š( –T'ðŸä£ó˨KtZùY4<®bzG>ÝŒ('‰†Ž‘2Zä_"I#t4ynY,H„©ÉœÖ]Ñ«MÎþãPR9FߌÛb(5?¦fi}}šà£¬ÈX> S˜Á>)¨eŸŒ¤æ©HZ=AOG¥¯ÖŸ.1¢¸ñ-¤Eœ.ŸR>Š¡Ø•º¹î¼d9L¹jVÌ’‹X/½„Vùq¶J¯ÄòÃln‰ò…î‹£ûw:‹xªŸïÄÖ&Nýv¸2Tµ‘²pcÕ‹ªzU˜­âfeg§'u„í0Ûì ¬­g-ËÜgßÅúÃm;ýÏÕF´ÌÒ“`÷Çð©It|‹•ó(|Ís¶‘rJ½ÁèT”¸ïþòä):ΉÔ+”g”Þ˜=|æ\cM ª]7‚Þ‹íbxævËÆn¸8ÀlÞÓ(;ã}L °ç¸[‘Þw[NvªßfÃ’d‹ú·P!â£üâhù/*ØJ•“o£~ó%2B³ó¢óÅst¨^B€1?´/-Üâ¦_¶ñ¼Í¾5pMš”ó:†í^ü°¢VÛ^¾ïßuºÛã²ðÊ‘fúvC™Bwé…6ð]½¥¨û'¯ïÂÒhxmlroff-0.6.2/examples/xml2003/Sample8.zip0000644000175000017500000013536210611742707015114 00000000000000PKá}/¼HšS 9Walsh01/WALS061601.pngíWgTÓi³O„‰¯!À¢.$dé ] ¡Aš"EQ”¢ÀЂ4¥Éé*ucDX "]š¡-.5HYŠ¡IUš @rÙsÏýxϽçýø¾ïïœ9g~3Ï̇yæ<3O²½­…ô8‰YL‰ } ‰"‡,>×cr@ C ûóŽf|>ßÈÈèÊ•+MMM …ÍfËÊÊR©Ôƒc.ÐðüKó{ñA—ƒA$¢í…¿;þßмMÃ’@n\C@ XËßî*¾ ‰Xš;Þ-X.L £!ÿa:¬³Ç?ººó¸ m%Õ'&r™³ä«?3þT.eï–È–š„Dk`ó`„Z¾½™5 L$Ä"àÈDA üã7ºg,¦žÊÉÚñfïò†ór¸AÖn¾>ôáÞδŠö#I»¼­¶õkjožztrÍl©#êi3E“þV-ý.1g¤Cb¶ߨ\þ9KRÓ.Œ›!¸?ôÆC̯>´áäTgx{›.Ûcò룮¤[j¹±›¾®ü•ÔÓ™»Ñ2¶8TER˜¯¢JGÐüŒ¢l…¡. =†Ã>1HåÅ·ä|e!îN?•S×ø8ë³õqöuÞpî_þb-êçøŽÝ91†oY½xšï¥pî„Åmf TÈïÒP`¯C[¥èÕ¹JÔ~œVT~T5Mbusmj­.¶ÂÿgÚÔÈÔ2cfçÛš(kÇk=ú¼›¦Š¬¬ à¯ùãélý‘¨ÿë…ào5Õ¼»Ûv7J7–¾é÷©¶tÜïX\]Þóëa×1TÃl¨z]=•‘QÑwëH€  …üŸªý#ªd«¼¡Fv3ˆÈ‰c˜8Gi`YîƒÁ™HÕ—KÀäèõÖléLçîw^E;uüÛ½çâ}ëZô4€é=‡õ“$|3ñù(„y^ÂÅ\‹C8õÏfÌ7Pòˆ ¼Ò@èèÑæ÷å×`yÂD0¬±Ÿh2-’[ß,„_(¬4€)¦>“µ‰püN¶eõo„=¾¯EúYïËs2a¿¼;-…4u! “ {à‹ÌâM`ÞdedŒêJœÒŽÂ¾•ïnéÝ£Þ–2—ñÓ[±®‹§›,T Pì6F“´–ln <†`Òþúu„,õÂxâòÙÀð²Õïa^2ãX”á©_$h:ð«%¶`P=P±à³2xš­ƒ}:hPC2-íèC½>ç$Ðö‰“U\|‘JŠg.hf9z–Ú±YÏV85Ï,x=¢À¸'¥îÈë¶ËÌæ”ƒ´UišjÕè[¨™š&Ê)_L%y²Qtq·¡¬_—¾Ðdìè9þ»» Ó\¥;&tÎ{îÞ¬!W8PœØø þ(]î£ö¼B•îÚÃ;¾Î­½«5K»žd­A\œæ"Ò>‚ Ú²l¸(Ô³–F­¿"'ù")Ahú|ÛÓV Y·¾óyŽ$Üp¾·@…h‰úà°#nŽ‘G>0ý("Ÿ0{ÌDÁ¯Œe¼AåhÛw"Éf€õIš#°'@ ÃìåE¼òΆœÃ™ŒÒPäÂç•uéú‰¨ïO^þ1å§rÓl`#©äJ@ ½Z¿ë’ЇÛæAÂr¾R7”D0}:Ú8ÈÅ Q±¯¢yoJ[:cSt½`8Äm?*Ϋ³4=LÜQßž‹|Vò—2â#—' ¼J¤‰´ÌŸA˜bO0íª1…äÑ2¼Æ*Ÿ©ü/™YŽ-/™9›ÅL9Ùi·D&nÆÚ»ñ•€…»©åe?%ugþàĶK«“¹¶¥z®-# Ã4Boú²W.-änÛÕTE›Ö”“T=¤Ãض`«¾îÊ=1dì}J-wGá-ã’üŒ¤ ~_‹¨|O¥ãð¿ìËÞŸÝnyBÛñ½Ý3{¯ŒöRŽNSgCº¾n Ò™¼"~®#½Ä?BXñÜð[˜¸5™¸]#uHi$ÿ}Gº‡{­Ô«ÔpúÎŒƒ ínÖL2„`ñþ5’æ ¡i4ÄR-y?Ä82ò1Z§!þ„ âsÚCQOŸéÚ=M<‹“¥ö=©;ûœ*:Úžu.ZÃÓ»åÇ@º–§1Cª‹ÔNyªZtõã‘ÐB3ôò­š–:Ãe+ íþËÁ?¥ ááäKVÿcÉÅ„«ŸsD¢Û·,ó¸ÄG{qàÁ¾>ÎbÂ5þw¨ûV· —Y¤']BDZö~H'J´ë!% kUès”?iï{À°S„F/MÉwCÛ§ßbNÑÊòk­Ü¾LèæˆfnŽ]s ™›‘ äQbû¸×ÚBä¶ò»òƒ×6U£z‡mþ ãvÝùW€£MwW°`Ž¢~Îîßl¹ú²?Gë€F{ïÞÈÝ‘§V¡læ’¨·¾dV¡¶|=o{9‘9'©iIÜ0™8(9só&cüK:ÎdB99e°ð´N"‰ñ¡ë:>‘TúyÓ‚™‹êÏ®kè8Ë~ùª¡ÃFøÄЭêZ÷“–7›Â@º7…Ù7ô5,ßé·‹%¼—Ç6¬š UDç=¼±å Ò§ ¾´zšÿ# .1¸hïí› õßâºëW rj¸óÚhkõ>iðu=R D±ðÅìo©dhÌÿõš G•eÀ1Ê?͉ß-êžÑýûdifkúï÷_PKR~/)(C˜f <Walsh01/WALS061602.pngíW×WÓÛÖ ¢ ( HQ¤„"&*-¡„š„"åP8F TФƒ¡ zï¡ ‘"%ÒQ0RéýHH.ŽoÜ×ï¸÷Î1ök­9×~Xc=ÌýÚÌDƒM€ qèC‘ Ð à8n=Í||kŒÂ‚@Ì 3#sƒÁÀ`0þþþSSSééé ECCCDDäXvLþ‡ÿá?O9~þ˜@žHÔŸÿo[âÖí㑜y¬Æƒ@œmS'®Àb1€j™{§®¦Ñs®°Ã:…ŒÎÜjžXèé¸ûk:^¯cb¯0tã¥kè³ÊšÛLvRŠáÁÍê>e)GŸr(ÕÆJ|Ãu‘õ?ÿÉ/Sà¨ù"öø ”&W,° ›p÷Џ˜ó“°L%‹»¤šÂ¬ûÙl÷›pÚèìCÈ%×[Šî".©Á¾mïQýW¢ m0\DäaYKŸxXèÇ´d뢄-ÿòçÍÏ~ú½]‹iílå̈±r’"Ð;eQµ¬P|V¥.í2`ÈS@òµ÷º>‡ûÝòE~ì3N§ç"°j~v O~ظ~T· Ré8\v×uü²Jä€'/ùE Sž×õ÷™'/U••}ó}É` }tbœaëkLl÷wëÿa•‡™§‡<¹ìd"Ô Æ;`L²æÃÃÑ6ÆŠ~ç=ú‘4ÌÀ~ý‘ 3%¬"ø¹÷IáÎIÅÈs»Í­îŸZŸ2mKÏÙÕýˆêqÞsJ)25BåZISþºjñ‰xºÚVØ,c'S —Ï5Š·‡'K7)S#àñÚ.Tò2i»?’‚Ås) h I5_Ì%¿ˆÌû¿Ž\„Äñ‚ÅiÀK‹ƒçlwþ §,2:5'i 6suäp9À§põ!U_0¤]ó$U5ÆÁi(ÃYoË,g$¯™ÊBBTê¬"*/¿´ÔÄYºÔ‹E“O[rW]ÐCsK…¡…»³eg&‹4 ²eG´éÂwß°û!x'~ò aÙîE#XԜڕÀdpvEôûh¿n["’ à‚‹6› Mѯ툢a Ó å£CÝô²ÝüÞ¼fY`¼½÷h}3ëƒÌÇ$õg×ÝÌØ²J”(yäm‰™µœ{äÑ n(:Ú8…—´‹kfɽB­(ŸrXËÑù1šÑ•ÉžÊÙjßTRæÄfM%’E ¤c¿òàÖĸ0rjê›…æ8yw”fMÔ6â_ݯòÒ‹‚hå)^ªà©dyEþ°÷Öixµž¥g¬A8ü©qyz¬…¡ïû¬’[^˜dÖ3\S* ¥qEç±d¥ŠW%ZW3eo6?½ë:Ìêþh©%‰i€v™’c þÃeüán‹t]¼æb¬ËGH|+d¬ÁS¶–'«ÚÌë¹ÞTûä3m,£á…¯~]~?9Ó€Ûíês½â‰TNº#ÊkŸpÀ6§ÀØ6~¼¡Eسñ¾”I,M)r]q›ˆÐ‡!x0á‹àKÏüü¦z%ØxÌ"Ì,A²Ù²Ýv/M¶õ1é‹8*A¦ÙRÛvÝä©ÊªÃïèæÓÒI <^t•ÀœÃiZ¤Y/õT…@Çôµ 5žáød‹ôõ#Ê­‘÷[¡¹åB°¥eR“:nö-ú¹ÍdÛ–ìÖ3j(›n}65Läv&¸Ý0\âÛÖåOíÙöFŽüÕh²qôZ?ÀpR)Øh EŸ2 ’qS‹ñb~:®…}LÒ9ÜbÝ%‚‰¦¶¸ÃðÆF&_ç³¶uÄ*7—IZg„+O3äeP“ ß9[^.ðh41Œón’,V§Dõêǹ˜ç<Õgqˆú–U±ÌþŽiñ»9í@–p¢Àµe8‚úÈÂ4LÉd×Ù²ú8v Bx9Y•ƒÖ2S²Ýœ;p¡ÒqM]ã)>1¸0â¡l'7} nôÁY÷LPì.k9-¦D+³!•ùÈX Méq4p~ܱÐYû)j¯WÃ"WÍçÑl¤4Þšõ•5§AfšÇ¯‡¨™Ø\©^C¶š…ÿJü›<§b1Â7üòÆÎèŽzŠæ˜î{–Yˆë }¨ÿr¦Á½=êz÷L¾%ó¢ Qöb2½!¹¡ªð­+Dvl#ÿâã•ØëžêM'­.1Ó›ê/Û½ÊÉb—gê´?ôŽ"=@Ô•hô¸—!0 ™CLØ»fEh¸€©b9zÒnŸ®ð¤¤ßãÆÕ~ „¤ȇÏTù¥ì>…î#:5ñ†‚}Ú¹\ÎõŸ0^S•˜VØ×x­š~Šm˜ï½W ÅüÉ®Á޶N=Žõ66·{ÅýÑˆŽº/‡=6èC¸)8}¸nVþUÕzÚr“tÇ&8°«o3òànª—Š.wÒ Åλú—cøí¡á§×L#p!‚joçšx£µN#I¬•¯Õ¬'Ní5þÜhóí® C(öÏâØ“ž|ïY+ Vù^·ÿ"ø$ Ê×ÝØW÷È`uI Ý›„\Q–ërrá]‡³p~Ö¾²R®Õ£üèä+²¨Œëùÿ$Êû¥O¶½ÿþv2ÇßC@g‡yÈn~^þA àèñÝ=¹´’wOÈÚb/¬Òïtß’£g¸1RΪ P=¿8ÔÇœ¸Ví×2<7}jk2Tž|OU°p981f֜ԸEš•Ž/ÑàS^ ÝITøÝ«Û7ÏèÞ¹¬Ò,Ø{sÐZË"Þ‡¡“šlÓÌ—î4­JÜT-?À]­u ó’|©—-ù^®UíZQ’NŽÝ‹»WéaîË’MHøt³§nj?Æçv,ÈW¯©°U+(ÿ¹…mçÊÇÂÓ±v¦íè?ŸÕ"ÁÌß_Â?Ö«>Ä‹60ITJX¶‚ñ&Øn+ Rž‘¢ç¨—ÓnöÛ7hU"§6ac˜rÌæÜÏ@Î3=xçÙ9~›i–ÆÌI7Èìyb$%*’*$ÜòkSqê å7çf0‰ÞG‡®z^Ø›Xñ‹ÎÓ8õÏÎ,öaYî–Ó )6Ú†¤;¯j.ý>üfq;B™EÁã+ì¤C‰œ&îÀn˜¼ûl!ÔÖ>F“š•ÕÈ×fœü;]y›wã é]Ø—ÑÉå6Ô´w>UË]³rß²¬¨´^=’Dò΄øÉ+ùÀ+„¥þÖ9ô§D¬FôöëZ'”P}áòN›Ä“0°Ê3I†š­Õ3Ñuâ¼ó¢´xP‘›wÂùŸ\Åqà{ýó˜gØëKOhÁa šÒÿÉÔÆÜô!ÐzÆ­)®.ÑÁS®M2˜XË•+ؽºª7Ûº`ΩãᢙuBŠY½×M€—;@Úi.O“zk#Ð¥£ Â0G›ù)»äòKáªÒºTiÑ,‰× Ðv€kCW ¿–›”`&¶›à’ F5# ‡ üiZå¡ jüj‚@_òWèž®þR:‘@êÑ©ç~<úègÚÞ¸«½ 5‹²« ıòä,¨3ãáÜÀ»¥uk»›–'½Ô摤¦D= ‡9;ë¾Þ®¬Ò“w‡ç+¡î$=ôñðø&ŒÅñ;òꢯθVFm`Ä#É YžqßcnSá¡ÂþÆ?À2¢Ï•º³K‚6GÅbÈ'²:1oô©ízщd’Aô±)õFèým;RâÖ±ôLžÑã­=· Æ4°Òqjo„=NãLi¢ƒ3å…ç©O»w3 ñºÉaÙÿ¯ý·QE“ Í¥<³Œrá’ÿ.Ó™árjôỾ‚0h™öýÀPKð}/… ?dmWalsh01/WALS061603.pngíXWPÓ}” ]šÒCEª@BD -¢ÒDzB(APj¨RéM¤Dƒ¢)¡£€¡þA¤wT HWB1`ù¾Ù·ÙçÝ=3÷áÜ{~/瞇ßÜxcCN6A6Ä©§{Û¢#ŸTú)†“NÏ[ÍTˆd|×\ëøø@ ‘È–––ððð¹¹9111w";þÿÿÕ)+>I9È×ÔÐìŸÄÿ_[ö¶Ú‰%¬^ºÖètû?E×éYìñ±èÝÖ4Ì[•˜U Ë¥Õù·íøøÇ7 ò=ÓN~„Ê£™×ù<ÙñȇIGSwE~Íá`µeäêàÜx‹˜Fv0YÁ Ûüµqó¿4VvS´]8ciÅËO Рb-»'!H¹¤j•êM®¿´«@8#ÙŠûa;­@Â$â*0wg=æNS$\ÖÑwšÏI‰ÝÚÏy S{Ù˜kPÑïqxT[ôu—vßÇÃÉà¯Ä3wÂÖ xãb»8T‡"°Ï=™9tÁž¡Dpf¤£4øJ€Pþ:¥ºÏƒØÄ—š¹ãv(}åºÙ‘JÀsÒPµ"^G^4ø‰Ø|Z_¥ð¯ÿ†g’E¯üÃÚVøO†ÓQ1A‰u¡!óߢ¿–\ÙËGÍ:¸ãpEs+ÿ¯øñß°É­rÁ>9H{ˆ€Ö¼E@>Jà {ð%Ì]ö-ð…ê<Úd[’ _´¨uw,\EýH÷pSNΩ4¸^úóÕ=Ømz´ÂV2Iº;u~{1³úpJ½â!ï÷4Z7ÙAÒÓ Q¬CïǽÊD›/À7¾\}W’J£: ªçtÿCöËv`ø4“ÕÐJ¨ €e|þZÐõç­—^ÊÚCf˜™˜©ƒÂÐŠìÆ Oæ±áA×Ir9* Œ­Û£Õ~q›)xEx0Á<;Mù77´!0£T놖—­€Ë ÿë›V§ÂBv™U:´C ãMˆQÔ_þ¹^]?G~ANµëX\âÎT({Ѓ¨”ë«/­˜‡ò áÐ{®ƒx¹­ñ>à@™'w[ŠÜ‡vr¿Üè|@Hó7{ð–öËu[Œ”±uš(bu´Q8ê_¶¦>gvˆ/eÂ4°ÎÙDŸwñìc%϶ø|±x ~qheù:æJ¸½\  ÚL3fÇSµœ“m„1+ªàÆlÛ÷³ÜÝBõWÈe!` Y1rƒ3ôQ0Ò§$d|žŸ”'®8dJýÝ)?†–¨5fõè\ð€qý¨}á7·-Þ4 Ù+‚üú;ͺp€éÑêHâùh°PŠÊŒ)õIþø¸Ø|2DñâÙz>4Óé&£Žûæ—ÌõÓdÖÅ´üü±ùôÎXrHj™ŠËwn1«Kä {£îB±^›ú‹0ÕzQOVŸÂÎ3jýLðU’°j>ÇÆ·7ìÏpKän“%ÞÒ­q&:‘zòoòˆºËêÙùç=Å‚‘7@*ËüSÇ`ñ+/”€[YôM§âàWËŠç Ú/þ~Ê϶D¬~dvéw¥C›šBÚg‚% ³)I¾˜Jýø»J_=ÞÃàÎÀ—ÈÉ_îŇûõùËÈõ\–÷éu"/‡m]c³'ëc:G⨵Ì/Ÿ)D!F?ˆ ¨JoPªË(Wç<¤>„DXA ŠiÊX;À¤èç4—ë«a‹JÊ Ïc¢~ØÙµÆÂ_,™c5$5éÏ¿*\yŸœCË*¶¯±ÚŒ?•ÿª)ë!Œ{ùïé¾ÐHŸnõ–+òøê¤¶ÿøÄbÞzaôÝÍFªU>P`·œ½»a2PÌ8ÏÿåÁ†Ä³ÑƘôª·Øõƒ>Sï^Ã3½¯Ð%!Øù¬ŽkÖbâkYe"¾²9ù\Î42â™kÐdc}GŸJJ3šúÊÔ|| ­Ø}Ž'M‡Æm0ókK¿ßr¥ä¼šó>V ¨;õ6Ò —1Ù»å *™–  –Ä…¾t…ÂhOs&ì¡ÌðŽëlï›i‹Ê$yÓ a•üÑG“‹ÐGw>ºD3–ªË>JÅ£ TM§]mÖåžÓB•Âd¯3ØR¡~DçgfGÙeõv à^Èš©¬L(½]Nèlþ [‹ß|Š®äãoUsg(Ã[!ô=c_níeýÊ›Àsc-hT¤©„N~…垆t^äÉtxÑÁ'×Αdƃïá[mãà4£#ç^gwdÖ‘‰³vM9‹Ša)¡Ã×=â¬ê1Åò:d´—)w»AŠžIÇÀe¼”ó˜ «ë­´Öž"1« ö£Sáq 1TY.oÙK±þÉ×ïY0>£$“/=³öÛC½$ÏIÊÒܵ)Ö6ŒøÙv&e e\ÉÏ<[ÃÖO­ U*D…ép}ˆ6C‚×ñŽ£sãØø\ý@,AWŽ €›»(Ò²­IBʱ˜""¶ªHî‚i<\µ¤Òë=ç¿>.ùüŒÏA;o‘ÕÌ_¨î02/S}ñŒ2+›£6 or3r2/©œMB©Jb‡U9¥Œ,¬õçï  ii†ç`¤# GlªZ%Z 2/_ÌæcÞ´Á&o$a Ió,—й»üׯ̋ì·ß…ÙG©{úÉÌt˜1&h¡WlñÇ^Ä,|½ÿF³g¾ ®hõÁœ:á9fO`*|Wy&‚sT©ˆ[ØoIú¡Ï÷å¡vR öXI»ð¼šà…ÝÔqÒ?Ϭàh´¹ø•Z:°cžË¦á¡)1­ð³¤*x¸{š:wÄ´ãŽsjß·›B±ÝÃò¾†ÎrîU™þeÆ£ I:KêEoáž)¶bÝs=ª“È¥¾£UÅ–Ú ¨Nõ½CÐwÉÙu %#©{z õ¼`ÇìúÒS8e^uôÔ@röèMs£¤°¬þ˪Ü'd|¼âQ¿.ÿQfØB©šÉ’}#%·. ƒPœ–ŒÐ±<×EW°Kë>¬€ònóz8ÜÜ·Ä!j[ÎÀêp­Èwûƒ1:BE#ÛÙ(°ºpëNÎîÆ¿É@iïšÝt/t´X§í@÷eþh¸üôËäËâŒV7IIËEÃ.÷¾:Qïì9ö•û|¡ÛõºFòZÂeªÙ> d©0+€Q%{.!Xï\³Smà÷!Ù¾öñPEŠrÆ‘ŒøzP ¶–B7)ew¿@¤…s`&Sâ¦EI…Nf.Í‹‘òüiï¥DÇz(E¿Yì5ò@CôZ5i•’]ÚŸ£ó€M™@—h¬nt£½h‹–vd ¼Ü33os±#ð< æ´zèK¡.èèéEÞ ‘Òq ÍAxóuÐ(‡¼P—ÛºÙÔìÉkÛªÎÂ5z~ÅQQý#‰#8T[ÿžU|PîNýw™‹AÒ)4è‘ ÿ—ÝÁr q ÓåÃ+íDÁg/gi‰ƒÉãu’Üd¯¶e)“pemØN$<ËÓ}]/ã^ñà•=s—Ìs-8íŸëŒ%^r³ÊOŒŽ¼½ &g(|`Zm$±xi™ö¼{ Áäå,€Þ©ö¤cV©âÿsÔ)錅%޾߅JÍ&Þr`Â~$ «‘“„l…2PÚg+´Ê ûðYþ—z ó=Vo; EEÖzí<ÎØoÊnÆSXLuYs¼Àç7\ê éY~«¹]›¿Ö)8™%Ý~×ʨJ°#çÀ”¬Ÿ’,/±Xwèp*nñ;y1ìg!ËKŸ“ŽÖ7ôRr‚ÝVÓQèâr£r‡ra£;¸ÍžÜ}J±þ›½åT«ïbyM¦ca—†ahD½ýptºÕW‚_¸u>áVÂV»i5ìe¬¤r¢uT¼¨³ÝÚð4Ë•J7a%ZwÓ7®ãGjr5¹ð'€3J,ŒÁiL5»Xñb7óÀiužŠÇ²#m,i«È&õß¾û»¦ñؤ7šEùpuþØzÍ;"Æq*ìËÕ`ÞÅòîßUh1saK€O/Þ8îxß·Paó>O+jõ¬fòZ™/?}jæ6"¼¨•I°þíN.Ù*|ß’ï€5{)1ÆôÔ6A‚Õ#Ü$ê’dXB'ÂqË»*}i© %s/GÞãÚ–2ŽÚØìûg©{~]=H|K Ë]ÙZƒRa½½‰à¶Yî»ÌŽâyú“|*ÿ›²Ë ‡‰]±9Á¬ó0…­kHmQ€qÏTœ3„™­(!†tt“~åçEèî %È÷s® Kw „Íe65g¡¶“ö=‰»–Pï%Ôëi÷¼ú 6å4ÂŽFçD£zÎHã£~F¹%¯`¹ï!ñðº(CPšR „·^Ã7yBý8d*í¨jwe)$þÀ%lo‰/iÖµþɥ׆9ÀBnÖn‡7à4ù¥§ÿ§ÊBžïéϾÉS»ŸÕÝš,ÍÜ&;#øf£7é/>rª™¾–ªÿœù'¯”q°¦ŸHs+ aðÒ3ö•Ö¨Ñf[ÜoŸ,}ò“Ð&¬ÿwºùâ¥ewÉüãúÀ£À+,!G­»n¢ð‚ Àä—ô]»9ÃüüjW,W숓63Sèžìq‘±V¾ïEN¹3ÖZÁÔ€ƒAÊîeéèÆ_w„íf2(ÍuQQ«è›C‚0ßï,xŸ]»çŽüÀб‹•þ±«Xô¸ðì÷2(%®#ïhãk¢z_²r™ëÃŃ «Ÿ.wçó|d¬ƒU3å­Ç/9Ÿ(o†Ø«¹"N5̓ȩ–ˆOXåðUú+IÆÍ2ÿ&C9‡¡¾¥†KMu?'®‘`üC±ô<ºoÎóôœ°åÓ–â6ìÄ8ݬHÂC£ùÝls<Ù%5Ч°÷éÒÐÉ>"©~¿p~CÄ’[?-‡*ŒÏJ¾-ílq‡&0‰-é¦%Ö´$åc¯mÚö¼Ç}ÝçλtÆ#œ›E$¬Óoªú}4o8dʈ£6¿æoLÅ)ïSäð ðNÕ7>øRN€¶\? Îi•Éù¿¹çüK„ð%ί°}½ñöéhŒ€`Ûõ?#Åt@E°ÄÆñÚñçÙ½kÇß „¡¿¡H-ã‚%‹ê‘:`ªiz.°ªo#ðäÿ’HŒ9˜ÃÕ§‰¼ß¨¨`# ÿú-¹i^ª'o¯¡½NçóäS9E9¯s)â\·A3ûká«J†ï âï3’C[(u¯+xšÔ‘L×îfcÕÛí±Ëdù ]ÊüŒÉ<5N‘¼Cu¾~šèdêÈ y%-ÅN!:7ÛùÚÕ)Ÿ)‹©ÿì/®»a-\}7³ý70}?E=ND…aTÇfêç˜P–…‡×i¹5©µ³,0.Š2Œ]mÛ”|`ò1/À2ýe ‘ã -÷Ô,¬Í,Æ:³pç:§Æ\^˜°S¶#äØþèÆ.,7UÄéèïbjôÝNX›šFÑ:ÃÌï@ÌÒ5ò²íüÒxˆùDÜ»óðu?jÍc/Ñ®SÕ~sÞG½"r¦"-ôS…6Ô88›ýxõïŸÞeáÀôǶn |°íšŠ"jórøã sP”§Pl™Vžš:ײlÒ.û˜®t…DŒ»§ûçvª§exûãMûÈÿPKø}/iJ¬ŒWalsh01/WALS061604.pngíXù;Ôïןi2–†(oÂØCäm‹$»![vE>3JdK„ìà c•}_ÊZ¶ÄDE–È.„ìKÙ×y|~y~ú>ÿÀó<¯ë:÷ußçu~ºÏëœë\'ÒÈP›‘“0ÞÔÑ4@ ¤S£ÒÁN=Æœì b¤o¦E¥RUTT°X,™L œœœD£Ñ™™™§a§äÿñÿø_ Ñ·E§*‡Bž˜šþ«øÿË`HÙR:ýz7;Së¿íp-²ƒ@ÎËßÔT3óN[M¬ÉcÖS˜¦RÝ´å…YDƒÔ—ßnÿ¬H Qh;²ÖwÜ*÷:SP‹$ò¯‚iÅM¸VýÔÓ'RKxn²}Á‰$PŒ Ù:px;`št¯i¸aq§ÐUdùÂŒ"y.2e8ÕÑQoUM"Ôž5žc¸êVØ'“_‰€ÌÏ>xƼ¤ÝVe[Ô[U×g¯…´´ðÊ÷ÑÑÓ²0¼âÈŒ¬Ô4ÎȺß!† Ô=¬ê)Æ…lª( € ‚Õw‡4³í½õ‹RL‚±× rS±²’z“ZQ#Æ3š¹~±–Ìúe.æW¸TÃО¬é]Ñ }ùݙԓ6”­o´‰lе³Ô‹P’c9²<ºc€™-ý“ p Kšz$¦œ. Ï)ôlhoP )2BîpeƒÍ:R,í§Ù䄺«rL‰éé›öe£b =F‚ ý…:^¨»ñ+‹ÌZUól_2DÌŸ Zįˆ>Ñâo®XàuF P^žÍ¸gXØãЦl+é0c¦iè­í63j!Ád¶Øõj¢/ ÷»AÙQ\‡[©žvý!Åué^ØŸe]q™|úŒöy<ãj†·ýQ(Ö rjÿ â5~¨ýÀßž÷Öƒ"s§ó¡DFsÉâ |ºmÊ9`ðšÅÃ`¼Â.Ôvd#Ú¿ÅÎŽâÆ_§<%[”:÷ù^º™Y³–ºe£|Övƒëá@í —#~¼ÒC„èNîÎæh_U wä—¹¾âÇßx…»vg£Û£µ Kÿµ×Aî)Ý}t¤gOb,pã9ïa3ðô\>`hë h‚¸ƒx¹dl ^‰É•RxÞŒÜñœA -:ûñBŒ3Ué¹{>œÐ*©¡ ÊXÍ0“®1‹üHGBx1‰âÊ_´r’LûÁnwnAçVO?±¼‚²Ñ bH¯ÃYöË$’|e¥è…Œ2›;åó3m¾Lõè»—Ñ Þ¸6y£¿9ÓûÊX ôëSÖlbÄÕˆWW93hIᩈ9¸Û= Û[¤blÿÍ.—óu­P¿€í½•A\…ÈÜ€sÿ¨ö=/'ðv’ÛÒ†½•s RÝãÞ;5aŽçÖÑ妤¾ú+ ÉÄ™ÚjÑ팜”S5­8o›[cPU+ðDXøŠ!: kLx &£L€¥ŒöÞd”ám éhµ¾8(¸A)”@'Uœ^ÆJ$Ф^°B t¼À©óö,°Ô„Ê–È|dŒ›]·øžZ&‘©ß‡+:dJ¯ñû{Z:•Zù?ß'Æ÷ÌáÄ—šž¦ÇÇJsžVÏÀN ®¤€¶‘õÆ…º²øX†Ãæs—ê(4¶å¥³W•ÅDÐZ²·ñG×&š'úò¶zã‚-ƒÙB^‰êø°Ë#i.&O.0$ü|r˜Fò;-6.=ùé5 V"yí@ÞˈH̶A‹¼÷ö€$­OfUM(²_ýzE*ðc´íàû¯°ìûCêeC§@`ôÃ’‘§Tpߥ?  !ü}SËò1¥÷a=ó§š1Ë1Òr3îѼmLg3äªÌ›‹µHx%o¡~áAv‘’•bׯ…ÓYÙ˜CÍ ñ½'§ü䎭¸6=ö‰¢ËÍÌ#z.?hpvkËU;‚(„0GÎo­"½5ŸjºpŸÍÔ"1—Åeû¸àÂŽÅŠ¡"’ଉØ[+NçÖf- 3w+.Ïñ‹+?+)ùvÖr¤«]'øü©íbé#ö*sÃè,·4&Û ÞÉý.Oº9$ûGTÏEŒ•ôW•NƒQ†²úˆ™xxˆ.S”³©—˜#P^°òøræ.W—®R²ä…n`³£íOÝÌ W:\‚Þd5ÏÉ aµ&†Úÿ¤]fëþkåÆHsq =ö˜ç×INÚ—ÿ (½£ÉH‘O¥…[^͉?“»Õ-šØÅkЂ«ÌNÜùªŒ¾\Ê6f|yñó$…;Nð¶?ó›új-?«;Q¯*ï ̾VúõðU&š"päÃÿçw uƒ~ü:;FÄã ¿{`†›ÇÉó‰ТD,„q©ë»Ù·ýLÏR‘ÔˆXÖ Y݇åWoÁ?°¢¦6ÖÙMÀ<¬êdU>ºÿ€×’¹˜©î0F%`*è¡Ê| ×R_¢Ûx¡„{¿v‹žµ"¥,<ÿÁ'TŸYzh¡l:Ô¡‡?n<sŽ…ˆÝ±î¡¨f&ÊwŽðÛ”áê×uÔ…ñ~?¯+º°Uòˆäq«1g1&â-ºáaf!!|yò–!®­ß»êånOí3áBuùõ_ù'å÷¹ÆC·n•®ŽÇ\[@7©¼d´õ«5ɾ‹d„ß’wW”ÃÜ"KÓ&ÞÜáßÉ–‰|ÄîíÅ{ï W2¡ñ ¾u|Þwø`£—Àg߈R¾ø_Ê,¡šH¤-©Vtt²%u« LiX•'ô[‡Ù¸5éNÂ;ÝNÜŸuÑ 4>lùîÛ®À¾ÀÑç·’iÌ€šñŸb íÛ’‚úîÜ2?KrGÌì?]Mõ5,ä)‘Ø%Aýy­–;þðÉnö(öèô/ìÈlèx°ô4˜ùu|:`W€eì(Åj9î±vU4^•ó¬lñ|í¼ZVt2‰MÕ5üõ&W¨ÿ|6Ð$ö,ŒW y|’ŽX:Z§}¿¶Ž˜ë¸Vή6ÁÙПb®Ì@øè$tI?úpæÌôZ°i-ññ–S+Õ†íŸ Gí|AÄ‹ì0Û­J†HžE>zÅ|xaG·gT˜Ñ _>›i,꩸ξrÈÑ&öìF‚èYø˜ÒAÕJê‘ÿ„þÐý‰zûúææ;þgË×T d•Xy ö{;‰§¬%s:dðK›EŸäðÅsGVŠŒ+a$%@oƒ’&½Î$:ÓcSV?»ú³Ä´=“Ð>sÇ„N&e9î¿Û¢øIr"š¾a\ WÙ‘ðgv–ÓÜa!% ȪÐö˜x®ÛÊm‚±‚—xE„[é\Ž-–‡ÉüŽj—Îÿ oá qÒŸÍá ‰q¤ÑÊž& Ñö ØœÛ…¯¸Ý_‚ ”¢äO®¼µ+˜dÊÔåqí$Ê”„NeêÊÍ8Ê”äódJœHT%N””@‰‹Ž£Ä]Î ðÝáqr5ŦƉFŒ¤z sI°”•Ü`ÄP>ˆvR²6/ ‰ïÉ93Ä{@”°Rj²qË´2×\‚O¬·ƒ·}yœà„Jâ×”WꀒdqÔXâñ5Ö&ጙèPä+?ë f¸iG8ÕCA¢6Œr¯Õ>Ÿ“¸§a«_aSk?êD¬lú¢E¹ÿä׋tò=ÀÏÖÿìÄo6LÀ‰/¾®œœ6iY|oUYåø!õñÇ5‰èT|Š^óæ/Ô4Þ¿æÞ”Øç¬õϺ¿:,…¬ O§¬¼®Qû»ü +@J®X=½ÅãÏáTÂÜîÃÔ¦7q'‘S)ÆyÚO®­EÒ!˜åQdBíìF“ÉÉ(NUq»çèùž†Ï#çªØ^¨zDÝÑ1_Éœ¢Cõ²ªô¿+l‘$ ÜéP(ºUõ&as¦1;¯ö°'@'ôùySŒ‡Ãs‘Qè•Ît‚.éçÚëø{ÏæÏ\YŸ8t Šê€Ÿ¨8×b…Èw[¾ Ñay[b‘’èd_ix¸D”zϳ|ÄÂëùêZh:pÇÇÈŽÈõ¸…<íIPÎÅÍÍࡃ`»s_î/Åp¼oÄ;o;Ï kÎ9ˉ{EÈ}r'¶†nZ5¦Áøš&ç{È”(×ÏÇiäÁêšUœš#\œœ×C¸ÓO(&˜,ÓýÞ·tr_?ZÄeOù Èt4Ö_ÐæËÝ @ºÇ‡ÃU­Õ2¾ÓOŠëSit^(ÞyÛ+sî Õ³A×n‘Ú2õ lŒq >º¾ÇI Ï.ÕÖ îô鵫©º/Zœ®ÒŒ¬Ý:¦®õè¤oOÝßM}0E ýÔÓ¼ éÜ‹háEjmòðÞ•;Št2¥H‰=UUFMUY#­øåïX¢áW„íšç‡bðÏú ÙÇÌ`&B%ÛH°D #ø·õLgÊicYNÝ«[»±ñ¶.BR‰WˆUÄß{|Ö{6ëáX¢qªP 8•¦ÈR/­qâ‹ûÌ%ŽP6ÖéÁ² œóD-µœ}ÈYøTžUË{œÈ‚ÖÍó Ã/°œ­¯ÿ‚’5žQÏ¢27[Έ™µB}‘uRÖG¼Øß¿Ã"v{ˆxIc¦_=UØ_âCG¼ï¸¥Ÿ‡Å‘1ù¡[¾Ð&1”µ°lúÃŒ²×E(NÞ°ÿ»Û´¢Üèá´â>YK?lú>]Šî26Úw ûc–©åûJưû†œÅÔž˜v¯ø¶—vAäßö³E¹½GKóš*aærò‘gÊŒ©ÉwΈ1˜>%@?¤éÁa5e.p˜·Gaî]úqFcÖ?‰éöÅO0`ÚkĤWB‚ö ´žÎ’!Xµæ7Gù,)Pp‘òù#ÊF 3×ÅÀawôÕwƒãÍT}8~j^pø/Žè_Ò@^ÎÇä€g¾=XÆáÉ |Ö¾ÏЉÙæ¿ßÀͺ$S˜“(½¹G¥%ýLpB1<| {glÎÙ‚ÛøÁ· ÝÆÌr…ÊP°†›ç_·à܆þ‚ÖfMH¢ªÁ㶨–¬GFÚA@Úó!´œžPs#ߺñC¸M¯¦ÿs…žðáZXêÌp¼–‹K¼ À;®Gycý’H¿ÙOÉq$< Gî^?ß# 9bßzL¿e_Ú…n"RB³Ûh¸¾IÞ=Ó~Ý¿Àÿ SçSvvfï·L™ÍÁ‚Àßûu±¸€lÀz­in˜˜RÛNŽ(ƒµúÙûá7†\›®ö™ãüP+ãàs.…+gf\ç;+²MÇöOɇ›ÝÚ¡¯ÀÐó¬—Ôr§ÐÐã7WAèñ-~9„@’ôôî0µ«Ê&÷™uSÇ+ €>¿kWÂéisäè^”mÝpûýÛ‘ƒøYòŸ [¨†jZXÒå¹Z›°c–TÔà|ÃÍï'RoÚqtÇÞRÔ:Sk°êoÛQÍ›Š@~GSðqÿ€…²}?32ì™b´8¹—‰¤s¸ºT¼ s*>¹û¥Þ…ç–îÆøÌ6â[3]¾‚¢ü•™•ñkŒÄ‘¾)žc™6·ŸHƒ!NÒpu޳ùú‡^ßêÔoÿlÉVï?ùŒ@åÑQãŽc”c{¯@)ë8¸/5Zç2Ô@G¥ò„…“*}”ýãbPüðfÍc6g™óáEQ=-—¥ï£å|À— ß¡4‘ÐmêŽ ¶ã~GZŒtu5wûµŸ2üÊ¢“2&Œ†-^8Á§ŠÍ§ÌEDÉá²Geˆü"‡žXÃì#±Ufëýq¯Ë5¢€ùӞŀnÅ8y–4lXŸ\þ®xŠ…ëqKæ¸×!‡7d÷[·L²±ü‹û}µÍÀl¹A6]íu¶W4ä©õÃ@…û¸©«×scÞ«4çq/Å7‡I\ökG?¼üÜ!)K# i¼ˆ/í³ ‹uIÍ;Î5,¥Å0.ðiŽR»:%eiaÉâùü|ÔŠ;ðû3¡ý ¾ª¯€l- (v pn‰˜dsm¦ŽWÓñ!«ŒôU'èä€ls ;F8MýäRÆj‹‚žÕo'Võr0'ñϘlW*ûµ'!êè Ur²ï÷ÑAËN}g2ýX}üY¬·^bð„(Ÿ«Q¥š€;–åVE¿‹ˆC,3ó6[ÿ½òÚbl53ÍõÅþLjÿ‘È;×>y\¾Ú³I&ËãvËQãÓäÝ®n9å ‹EvËD] SÉÙ•ç.¦¶)ðhÃwÒåÐïÄ·pÃÊñY£ó–gIçÞÙxo¹'6‹¡•;AÕõáÇ66¹«GX›æýØ_åþ?»ÿ°OY¼0œR£;W°÷¼½ê/âÏ*+¦¬°cu¾3Øú§?ZGwŸ”;\g¦Áw¡äoõ8úÏ4>Çnp–>à(õ·Myvbk³Fd#¹«|$õ¨•a¡'GÅOƒ3)F¼ ïn€Ð‘Çç <½¤(P®‚R©õ=Ò¯RläÖ"Íÿ™v}i…${"yI_Ê3›;Ï/™úâ•æ]Ž_s×o§Ä«m!ø#Ï’§ë£r†è-m†Iu9uîc=Gbœ:öB܇;É¾í£¿gðÓù7ס¶ÆÛŸœß¨mãÍʈƒPw‡ÑrÛv+weñ•%³w½ô¶\' •énådXÅêÌ;Ødwjýù.zd`3He7<Ìà:¢QÕ¬Å-ðÒè‰ÉÀ&z¢ƒ¶¡Ý–ñiQ}Æ?]hD§—„ý‹Ÿ‹IºÀÓÿ1£‹*±ò%Fq‘a¬ÿîšojj–©ãBþ PK~/ÉÝ40 Û Walsh01/WALS061605.pngíV‡7ÜižQc˜ Z¢—5 B¨=£gõ?d†}Ef†ˆ¶z/Q—ÑĤ)ËuBÁ(‘Aõ›ýöø¾ï9ç½Ï{nyßsî¹ç<7ÕÆÚ†A ¸¹™±Â0îœafØ é\.„bcå`rzzêéé™0??_VVÖßßo`` !!ÁHc„ ÿÇÿñ_HøÒ"… í¬íÿ™øÿeÀòw¯3ZÂf挂@Îüs ¤Ðz†/ÂÜØÐ[¼Y2ëÕ(Éc’Yùàôt€3!/É5P£×!½ØõÎý°•ý7|B÷/ç,hæôZ/Î0hnÍO=¹•Lè;ÿƒ³Q1ÄjR•M1s½`’l#O$¸z³¸„Öí„ñ#2ëßjL„HÛîÚÖ("«lÊø5ŸÛÁ»ÑÚÑ5Dîƒ[¥Ñíe/g¬«+DÂÖ4OÝhÍ€: ™¦ðlEØ4…cÉ€û饩“‰u7ß÷êZuüVíÇâ-2Ù[dfÁvÌèB‹C~ÕkŸ"hQØ+ý5'ë`ôDH3aåÓ—FƒH¼æÍqÝަܱÏ1ÑÚ…E~_ÝïÝ3WËҀìµÈQ«Ú!ÕI«ïÞ EøØ9•uR˜°O`NÞwë)£¼ŸëšŽFá]Âã¾û‹ ÛcÍÌãIÀ*îÂ?L%Æ®otà­N¼u©ëw÷ -8õEŠ·K8ÏÒ˜ùMÅ¡vÆDûVÙ¾WÞÒŒ‡œa!ç]Ä é7|Á(GÃï´7èÕ]|#×f¹ëÕt«dì8ûûº…gÈI«äy‹Öàj0x_b#€tuüççå'îˆhrónS(»e„B?œÇzQLj?ÂáëÕr‘»›þÒT¶q>^ü‡ÆÔçùDà7ÞU¶ó×Öý fáëI™P*Df~…é_iS6'üu¹ë42OV–‰úhyXåí°!ѨMIÖQ{ÕIZ_3Uã,˜›L4ýö0 ¨Ùy#øÒøíëãn¾êÄ%äÖà ÆS¾¼hµ ×k,“ö÷•\¼c);p0×(GÝ.–QɃ1èf³êt¦íŽñ ðå¡ ¿ °®QKµ¸¬ïÌ›Ïþý;_ §ÖooÑU;ª"œ矦$ÜàÉfãU9—çßâ7²9R•;“¨…mê¢j00¨ˆ nsqâÃqþñàô©BOJŒÊô+³Bò¿¢¼PiD”Ä~/¹VÕrê¡æ|¶þ7@*l[—¾ÑS#st8|ÅáÇå û%?×åâK…@=œïüôSÚv ሤæh¨Ïdü>"x—hCñe…Êà|@ýzþä~É1¿¨É'ó.ZiÇVáãŘNXä‰Àpþ¬çµkJðè€lB÷{ÜkœÖ«ìbÃ}û¶Ò[rB3ŸçïÐå"é'µ¯;}Jà1ƒŽuEÏCuMIQCko ÆIu‰ÖÄJ‰ÜÅT™YªºY-uÁùÈ„¯ˆKŠÌoBý:‚öÎsêH5_Ö$Åz¥ •ŽmJ»‰y’¹‡OCÓGWóª¢$—½ ¿ž –žÑ:À´/X!Œs¤DqÀ¢xî¢Rf¢ç¡X]N圥‘€i¹k‹iñ{¾°Á?2%’«RÁÌ'ía½)“xç{©ÜÍ]ÊížWø@›¥²¯Î8™QüÊV´ôM!ò no<Ägý|!"‰~ŸÝ&Z!StUÑÛ12QF„†¬°îáM¹«£w'qpÑÝuŸÇ2ÇO)cC¾Yd¢±á‘ÅëK;i¸‚™ Ðvùî¼lö—éJ® ”At‹³Ç“m?UéV¦6o²@[¬€2Mò_öå_î¶zòFû•Ö-®_²R-{íè"¾´b6¯ËÛÚÔ¹‚9N]«l?ÇâõÖy„72¨ßWÓ«æ{kìR€›2Q njÓXdA { :X7³ûößx’yæT‰(Õ!<õ¢6¬„nýr=·©8-箋k)p\5ÝûUÊÂ…š³•Ûª¹kà,7 ¿• ?iHÎpõ¥Û"L«ÇáìJfNSßS©?#JdÊŠ]ª›©h]ýˆW…Œœ§ã’/ÿ~EC¤åìÓwO—”éüiþ4CµpÙâÚŠQ L§övxö‚à1¿2é ²]#¡c,î«ZØQÁÀsÕ÷‡pfÎäîŒð@èß~?ˈ>è/-÷wºŽ6¶åF›K ” ØKJ]ùa']'=ÔËð]Ñt̳¤08²¬º¼uŠBsŠ,™£=ž â.^Z:BÇêpÇ5”°žÄü¾ úõÉÍÀ3Ìuáòn"Ðw¶pü †’”®kT­ôïbÌ®ªž®”xO%Øçö·KAÕ@Ç!•IšoOáe#ïºÔ»8£‚j™ÊGVv¦H:[Ó®ä›wV6ªƒïJ†½ZšFÑ‹°íˆuzϳ§`ÖRò'éXF—Õƒïíá)øÖMkzýª]¬`ÖË:3K×­ÿpÐY df¢ÊÏî'wÖTý ¯”ÌUÊ:†˜R´ úx¢…Ž=–¤©w:Åe™šÍ¢žÄN´Íù?T^ŽT¼±¨ÿY7uË–ðFßÑݱ£!´i±"»n÷b-y[¥nè6üÝ¡=í„8<õ¦®®ô+ÿÅ“­*‘ÏÓ¥«Š¥ZõM²¹DSÍü¿·d¨ÇÎ ÎÖÔ“ÚÙ6DEìWóâßðÌgÌ5þ¹ý, 0(>->F£BÊoUÎ2'Ûazk=pA¢‡:ý“1(TÐÍ#´}K˜P²É±'kÿ…ö„Ï¥&Š@Ë0{FÜ»\í^ ^KK”VŠÚ±]Iµ¨‰ Ö"e«žM;(C>'aÔ–¤y1¾gîwô¡YJü×{Äž=ièE>——9,ªžþ"m!É[gÅ!^Ž˜ä׺9¾$Q^yž|À÷\ÛÚX"«p节Ä'…‡dGV?1LvæHáSºÇ’*y“YfœlÓú±×Y‹ ìðŒd 6‘^j«(ôóÂXI@+T0–båž É?óåižÝkÔZÌdOQ’CÑÛ•©Îãá¶ß V˜z¢¦£…â4ù_0}ꓽž·pâfŠ t¥ˆÔz§ÏúçÍU‹n°¦¯_ ëâ5ù‰“¢²wܼyÛ'/KCLÕAÄyæÒì:®ïÄbú1LÍ¿Â&ñ ·¡±m"_¾µa©ØíPÖ8rŸü2 1Váæè¥/ÂAÞ]…ò#°=1p¯-öb F³‡ˆ{TÏóbPñùĵNÛ-¬LëÜŒ„"Bû¯´…f–d¡ù¢ËÐÞ¬S$Ë2Rÿw”Â?›ª¹‰µq‹ÑÝÿPK!~/²æ‘/ñ¥Walsh01/WALS061606.pngíXiP“Û– HÄ‹Lê•fE4a5?¸™D”!E!˜+ƒ((c  ƒŠ.2]&•ˆL¢W@Ã5@€0…@òb÷{Uý£»ªëU½?ÝoW{ŸUgÚk³ëÜsNÊ˨Ë@ yÔ);D &j+Ò¢ˆäô+"qvtµ …666>>>4@ ÐétmmíÂÂBLÔù·ýÛþOüy©ˆåbHó“ñÿŸM†´d):hø)d[ëÏ&ÖV(Ø ìl]o€³ù÷ržê¨Øuj …I°ŵÒ*óÞ*eæà¯ÇÄ·oWt«\$3é?‡¸§rÈ4Z \Tи½î.NÎÒ”™ØP¹}^ÚŽ*AîŠÖzü–ÄÚrÈèA÷´eÆìô:·ûUÉã :sòˆúþ€õ«¤£_‘òS–¹†ö©4âͧØànâw¥ä˜kÀÄŽxpÆ\ù›:ãÃ>\f:d$tŒ×$ÕXåÔB1s(,’”ÿƒ5P¡Zf*¨´ïT°íì_;êöºëÑËMë›ãwnJnb_žóÈ肦àc ‚xû‚£³†öÖv¾aî á6ÎÖøI®déEf¿µ0Aïð£cíz©Ê…½ í¬ØßxXw¼¶˜*=ìž"”LÄ­tÁ߀&1¸73]ÐZìÿСÞþHÓ¨„–G&bªwádȾG*@KèÜ”©d¼ ßñgš³ëâŽ)ÿì‡ùaF<ì‚fE6gï€o×#$³ )œ©öÕøí ±GAd;«õhÏMçïÙžÜpJï[ÜÿÛŸ™ì-óS GQ‰ÕÛF$Ñ‚ÿ‘_„Ï!ÝǦg¼gØ‹¡šQ껚™çæZ‚ªe3å0¾ùd‰ê¤k߉b™ÁQifÈqE[ &v±jæ Ke˜{=Þ,!ÐTôÍ[†?½kîÏߒ̲p|î”+~óÜúÔ žöV<Á‹ž§ûûwÈ• °×…,.#±P•NS[,^C…Óè;¹iáLÑ–KîU+B¿êÎ*ß àÐ3W'&»iÀ¬ ¡)½ü'“Ü©ê5kq=*]üÝôÚZ,œ÷'±º¶‡t&¤Ìf¡ý ûNîþö¸¾¦UöÒ^˜î‹~f>C"‘ñêPyx}­ÍÄ;¨ï©ƒK>Uܽ‘; }ë3ñ«(Cz÷• ú_qö¦+—ò£žÜËT¾äªB~Œ±ÉurŽŒ-pkÒAæ²4 ‡xàRìËPñs‘#×Y¢‰÷Á=–è âCûÛO20 ö»Á¾ˆ\ŸÃ¸äðýñ@ªVö$°]J2ü]l ê±^ný© >µÙä‰`>Û]­xò7°'ÙšÔþ½m‘ þ¹›‰„Öµ¾,š-‘Xž*­ßpâF»?!»(Q¹LœP5¼=ÚŠÛ­Û· n£÷ªàO¯m:íÿᆢq1 ¿Jò’,n£ªÚ’~3–ôË´ XÇjLŸ·)ÌZÁà ÈɧWŠçaæ·ÚN Iÿ˜ˆ8ažô(kÉ&#ke#ñ‰€…í+PÀ í€w57¦ˆ±š‹ç„µˆ ^¡Á,Avqk0 !©ÌÞeÚp¼ðÇIJOR~G‰6ÅÃÄÇǨ3èrGPAS‡ÏWaÈÍÔÁûÞÎjã*ÁVêµ9¯›´R8?´‚)ÑÂhczkÅ [åÍþîp>mß¡o ³a²T¯Œ²»³þ7qœŒáë5/<1æo¤Cn!འ0¬Ò „)orön´ÝÜJÙM ˆ ¾ù%û«µUo”@Ù{™Õxü+ìúÛ@3Í\õuÐÎΠܤ†Ó‘ üøÍýp™¸àòŒ8«fvݨÎr†Ú)9P© "µÆO9åJtšˆ¯E`ñ–öNþÜ>ƒ˜åk¿Ê¹a³SµÐøhvŽ®–CÐë?û',Ñ&ÿï­­±ÆÄùïÙ´x,½1À׊ü ¿yý¯¤=dZd­øåÀq5Ñrt`†¸7™{`ûpÉ;ç‘VjœÂ;¨#ù:0߬ðÉË«@DóvL«dœèý3Ks1®2˸d‡"Oþ fÀ Ù>rö|¤¦ÝpèùÊ LòµD0dO/yi’íè#ˆg#g:à Eý7&ï}ò0?lÏþBfÄW]9×°è(×âxÕ[x§s†BÓ"ТÌaø…äÕ¡ñ€Å±àñ€ˆô+g d¼ñEà£` xè{Ññ£ÀܲÍ2ãË)^J„Ò=_ó³ÜÖ§§ô\ˆŽ9à‰  LO9£;»=¦[ð‚7Èš»;›W»¤,”*_-.6 ˆšÿ @ L`6q!Ux‰J«‘øõ `zôžÁß éøDZx_ajÑW¢$ðF¸ßñL©åF-P“÷a¿ë"…m3¯ „}×ׇòoMrXÄ«îâ{Í<Ö"üöö]!¼ƒ›V?5´ñîÎÑf„#°YžËÔñB$½$ ãY ä?åW?êà¤ÝšŠ`ͺ²ïÒRDB/ƒ¶7â c‹MD§ífrƋǪFã÷kŸÄ PඤoÕKóŠsf—çÙ¸U#ú«œ“‚N0®UÉo._†œ· ÷t5JyÏÐôZ,ê 9B!Ý%¶œy/ã†æÌu¬íˆëhÅOß¾f˜–Tæ‚L<¶SG`¿~r™­ê1´Xú(Rœœnk±iè™39¶ž~ÍP¡Gx|嬿ã.ç£É ܇[6j®v«e8¯ÛÍp£CVF;ª àn­¶O~ÏÔ^³_kkÝA²u³µä«F¶òúNÐÐ^¢ïz†Oü'ö•WQ/µr¤ëœ^caCÖíÏTjk=Ö·TT]ÑÁQ¹"òõF¡‹C+Nåcc3IqlÏ'›0ÂáÁÄ]¬ÇËÆ…y#h¹Q쩤”*Š/VtRšM{:åae(Í¥ÈrϦ}輡ú„*έÃÞ錔ÎLnTøú§5Ì»ü¼Ò×.¢C~Y¤´Ž;»3¹Ô´°ñãäsZF·ôîgrÝ‘€,RÒRR•#s¦—Þó[Ø«;…^GµÏXX)‹C•Ç>œÙõ½ÿú_¹ƒÏ«ÈGš“ú¯~`WV(­lsJ÷´øú°a4m«in¢{£M2«ÔiŠ[[#uáárZ³.FòÛËfd¯*šÕ4–*Á]ó·ù9ÄSø•Þf9ê»fMbÚ`o¨–Eñúf}ì!ß OýªÎ2Óé´þ€s¡àypÇiãÂÙ“1‡/'­þþžU_ u?gðÊWƒRKeœª±Þì6ô¿ZNq…EŪ—ÖBøÚI}£m»b( -‘Ñï1ÂU¶'­Nݤy¥,FCr´¬ëóÞ2Ž÷ÃBg~Ý•Ë_ƒßR¹—„ÛZ=G¾]¸ÂWZÜçQÜ^V8]ÍSâóqFÙ@«iyCh6LŸÁt’¿dQ81e°é’ÝWŠõT¸›YZïæÝƒæ€ Yl¬ç$µ·sùËpjZs÷gÚÆÈ®ú¬±çmAŸ¹”†Öþƒ½8E †€ÿ~<´øjdøD ½Þî–×[¹0®ãæìÌÌM?OZÅG  Ý¨ä¬W z¾P6«ƒoH5ªÝî×òý4`pO¯†6q®<£í:“]º…m=%É6sa6öhœ¨4›åëyœhœ8dtÚohþ÷Ê%T÷·ÜNsŸÆ‰âçÂð_-¾þYnµíçŸÊ°«<æ÷7PK~/y™®çÓ cWalsh01/WALS061607.pngíW{4Ôû»ì1 F×ÚnãòÍ02¤R š1ÈeFn3í\’Dˆí’»ŒKÍL”B.cJ®C.!e¤\G”QÊ%²Ù&ÙS6í£ÿÎ:kuÎùãüsÎïYë³>ïZïó×û>ë}Þ—JpÁË@Õ  HÆÁë¶ûsA Ñcb»Ñ•Õž6H DprÇíìì`0__ß®®®ÔÔT>Ÿ¯¡¡QVV¶KÛMþ…áÿ4ö×Uíª\íærò§âÿ?z{íØnI$#ìIQ ìùÏ'Ò±ê,$½í€µq+^)™ LHg]¿—¸£lezøV¡ŽÝÞ›š5ѳ­ßzÁú–SU6.× Õ¹ëë¼?í—½Y×ÎSÑ,]îÕ|Q¤O£?Ùïvµ\½2”MùÛ|¶›V[ Ȳ­®FeËAåÐèuß«»½™îÏCX9M#T">7x çy\NÃ7Sá.G(Uò`Ü_6k^bE²é¼ ûó¬_-µ HEu‹g’ #¥„wÒ_Ÿá`#†¬»lÛþêíÊ$JŽ:%ŸœDA ìIÊ YXT3Ôs¼ÐT?Å&‘‚4´ñæ#¶Áù‰XøVVgò{àvXXž7ŸÝO"qŠY-ýˆbÅ–O eÃéSó×­ 'ÙLλZ?R¯œïè^ª~³ÿÌT¼˜21 X[˜-;rælSÜ5ï{¹‘ÌÅ<{×Ü´Ò•D_æYÏ“R¦GUƒG¼ëL>8ý@YpÒ9¾rUY×r/z„¬êÁ!¹‰›ÇQ!´ã¸j·Ëöhyª—ô¢ó]áDÀ°rÿ+a<>öö>£ÉîÉÄúcSøD `”¢ EXOt”ˆSXÿ,hæ™ZßVê3iEˆîÓÃ}.èß­;/Ó¢œ*¿4Î6¯bGŸ³ñsŸûHÖ{l†J2­Rƒ, ½tt‡UT?hÂ5:ÙhdP~ݵ}¤üÐ ²Ð‘dý]o-«Óu/n@výô`üvFó——ȯ§RÛü>$cì.ºª¥‡)LS²MÄéfhØÚù?÷£_5'¯J™-v‡„øŸÓG «Ò®i/n*ÆF4ƒÿYñÿ1ÁEܱ矻Ò$÷£^ Éü’˜2:XuX­š¯9/jm0#³n´T<Μí`¾Ë0µ±y#Z^ÐÓl­ulÛ(q^¯þ£‡þNªW“e%ì¡¥Øo"bð5îøß“€ty7ÑÛ‚ÛoL´vF^Âê5†Do8±@´V]P!¨ñ:¾x¨'`f ±„b5á½›‹þW»½¨Øêªxåd7{FT£zf*X~WÕˆ¶€¸j% ¾_-'|oZbµt'ùÞcöA܆¶(}ÎÚ©w½‰d°åiO¾ÕG͈+4äm3(·Ñ$²)mDô™¾Ò:ÙÊ9T¨Q¾òíPeÄ—ðÃGŠEÂ×£ž³aR½Ñ¤Å´/‹¯òâ=Œ“NÖŠŸà’ò­»{bF‘ÁÁ€UÌ(4߈6·ñèipüMÉ^!"'D± çOî¨'îë¦ë?P)E³BEà$6¶â| .Ö‹¸»×r#£ó ¼ßÕÜásD¿g«"¼_68þ´ÅƒÚ¬gÕÒúËw—îyð£rÎð¦Q jÁEž3__´^H|,0v¡¤H}û[P|B=<"F`É”X0 ä¤i =RP­Nm…>õ4JÉF;VN¬û|bÎûmStÙ_÷¿åhsü©áK—S·¥j–Hwxw©þ¶ª`güÖÉ‹KËŽj8F>Ð.¹™¡ô)’ÏWëHtìr³Ü-,X¹X²ñÏïiÅ}K+£ch¾RfÆï*u/UÓqjªê\ui‚“—IœLêÓåófN ŠçÏþqmt®‰ùÌöÝ«òÐì ¤÷/àŒnïËCGet_=(!vò÷h„dœ¬ÎÍ|ïܶ”Hóð·6ÚAˆå©)‡)Ý:ˆ’]ÙÈÿ¡ ¼ð_%‘¾¯Ê‡´„Æ×¼êxˆUÿªÄú,d:[¯&Ç‚“z)¾´dr\Ôx<2È+<×ˆÍ„Ž¤`ÙOgâ &Ã|à Ëð3kø8gø+¡Î;©ÒmÓèÿgú™g<É^ î¯(Ì¡¬b/ÍꓟL²h÷C§Ê~æR“—#¸Ê;ûç5Ö ïÕR·D›Å¸@EYGWFrm‰ïèHÇ £-Ÿ ý¿ Õ¼#¸YþqQxh$jìƒ"G:X8h6ær½ŸÓwö4 ¬utÊÅ{Äu{kò˜(‡©tØìÇÒ¼ñäÌȘûkÿˆØÂ3Ü-Ê3ö­R+œîo3Gû‚.Ø7S”Œ§L¬ô°ŽþE´yýÒŒðþ*±¤¸¡öæî±$˜ó¯f"›ÜÖ ü²´/s95R-]%ïÊ€M/Þã®N™giÂÌ´— ·°ò‹OŒOYAWªé“UÞ–Qc¤i¨I¿lðê÷ì¤^OÀtÚá’O+eÍyƒ¬]ýðÁI©Ï¥æ@ùM2ÙzÜ4ãìâ%m{ɉ`þ(¬Ð^×å0@³¯O9¶\1scûõG^¹jPÿÇÂCò•à­'œ!u£yŹRX7ý1<Ê¿¼épQ¿Tq¹SÛ®{d3# Üwy“6—2ÏËú&ú°ÒH¥2ÛÿSçOõ˜ xØr?ÃIæ<•„U°Ÿ%­ºqž9-^›)µŸ>}½¿Î›ûñZ÷´]Ÿöûf·í2/´‘ßÊ¢“ÔÕž³í¼äFásÐW¿•MÇû`†â‹–Ë ûãº(ÒVÁ÷Oþ6ÐÝ[zÑ(T"œûB/¾ÚtŠÓ–ª¿Cõ|šXÿ0Ñö‡Œ’ ½¯Â§úŠy­ûË<ü¢–ýnO¿MO›,6 žÈ¹ÒÄ/»òH׫ªgĤQkLõ cò¸¹ð0ªvd[+6·ýÔ©]y²ˆ:ŸÇóùKNÀ©êÒzÞOþwi ym)y÷òê™6ðý ü'àð£°Ä×t]G!,“uúŽÞ ÆÜ¯?í÷¿jÕ@àB ì³’ÑFfhÚ”ml£qËÊøÆÞÝ1{÷ºø]f„`œ ÆGnY× v‡kÂM Tr‰,c't²~ªI›¿Ò¿ ØoªfðÈÊAJ ^£˜Ë7mÇ9OühÕ$}ÏBÜùþÞâåPiø7[ š÷›ñ”èb¤ðlõ]Í…œíC:éo!埊»·7¤}Ê2ÐÏÛžK÷¹IÐ'6I"«›r#\L\COpw¸7Ô6¸ó—uãµõ•›³¿ÿ‡- 1ÜŽ-‚H™ý\’Ú¿ìõK`X¯z-cEŸíl$×P¿½¾¸ëÔ¾ŒõþÏšµûaW€ ¿¥Ð2¼ã£=cUþçEÿ/iTbV‚ É(ßûšL\» c/•ÄŽ_eù”‰ÿì÷ØÜ9è= s,È5ÙIh1ÿçiE¨%—jœ óCÃGwBôú]þ(´$·vJÓ0 .܉ eœ,ÓB¡QŽÃ %uhÄÚfóÂÓí÷Æh˜£Buç((›ky[Ù=ð²&_V¬´Ë £üc )ÉÌÍ}cý0Ýs¦›¨£1ÃŒùŽä¶àS¨¯+î!ÒYnì±cFޝ~Ý­ÛþaÉe*÷ÚýüÎÁ20V¤¦9|Y[Ä8W•#œ¾¿âø:¶Ùšä~[Æeì[}P¸<”ql¦ .‹[Ê<©–å‰AFèêqÁæ}¤øÍ·tKòƒó”79]%±qñÉ雊Lôצº¯V¾(…Üïyc¾êæüü°Úʰ½um˜ªÎÑi•PeÏš! ì¯%Å?âƒÊ |\{z‚¡­g õÌÂȉA/ç—G,û°Hû–Éý®QÄL<Êwµ»JMú\«=k¥<_þº¡ü³1í€M¸[œs¯)Ç|â•$±G*èžÅ®C1vZr¬­˜˜6þÑ& «ß/Ãk[« ŸÂ€tÒ¿?RÈÞŒ—­]€œ!Ñ®eGdËmpû Y|æçÅè€sÁÖÛúQþ PKH~/ÊÑ=d´Walsh01/WALS061608.pngíXwP“Í·•OADEŠ M`öô*5 ô%ˆ EAÀ€Qz‰J“¢„$t! /% ½) Ø ŠB¤K ’Z 1pùæÎï¿{gîÌûϽ÷ÌìÌž³gÏœÝ}ž=³›ri}„Oœ‹‹ëfpqqC¹¸ö]9´Ï’a‰[àâÚÏuÁe¹»»kbbâááÑÙÙ‰Á`¦§§¥¥¥‰DâžÛÞ×ÿËÿËÿj>«ØC97×éðâÿ/ _κáÞ–ðÜosq ¼û§q“ƒ*®sq@Â-Σ"¯¦d—ÈY!ªÛ»ÒE½S|ÚÂ$}ßndÂLd|jÅo:ò«5œ«ëxá!ø—RiÀæ<{Z¦Į̂€ñ ßÊBQÄ% ðþ;5âÐRhr¸Þ`±-àÙ,XØVÉî]¡# Îq“l¦ê4Úhmƒã4ª@á°<‘ù\%ÏLÌÊ„ŠEUÙÉÒ›tõI17§f߇KjIä[Bi·Äu@óÏ`‡JRÔ[Ž©æ%íƒm¾\n‚éUÊdñ×+êçxQŽMýƒoÚ‹Ì?b/t…J³ƒë1|ÂlÃkõÒ’"ôÞ'3ã˯’ùÓ(òßfUë¶þ©¢s‘Ž2Pãè1¢dw×B?ÏŒÀó-j:,FÔæÙ·ßpÄ { Âþt’8ŽòûŸUb ™4ã1"W’¥vÍ‹êH@Ÿ¶˺œa–Ùê*©Š¡Šÿœ´’¸ü;mÚ*| Îç¨~÷–SΟã”wñÂêÕN+vhò= Ÿöšy¹‚Õuß§ðèͽ”Ù¶»¸¤Å&ç®Ì™-‡'wþŽºéì ê"¥Îëik‚5Pq%Ä^uÓy&ðˆXó¥eEBxÓ¬ÃÕpà…ª·°ï™#qAI i -]_T\¼^¿5ÓZš2œEQ„T)%,“ð¥TÈ—qÓNº°]?ë½!òëg ÚÉvrЧ–§Áõãã­ÁolÃÔç!°#>@ËÊÙ„ £?ªy‹Ñõ@ŒEûI m"¡pä4ô«§ Á̯ös`'yýk:¹"ÞØñá§€í"dáç{wÿ¶}šŽ%@^üBT5#ÏfºÄZDÕÍdü(!ËsÜë?îš‚ýmÙÊ;Ö§請÷ž”ˆG­çŠKíXË!Ó2v¹að´)(‡†UÉ (GãS;¢i j¤Ÿ·è†œpya£ìâªÝ"°˜¼°¾1… ôØ•„çÕ"[6¦3Pë_‡¨;8¾°ß›Ó 6j=Ù;dùPÿ$ÚµI ¾KÚ_ë ‘`Ží‘´/[¦3ýñcWKw ³>xÿÄUdëã[³œ§ùµo,d| ýd·t-€¨”žŸB¨ðY-1âAÅŠm6³¦•GzÝ *Cú Áñ`—’Öëµ—÷áüÉû±=aôSl¾«»ü¤ÚæƒÕ ÑÁQ»Ú±0ÓÂéò–1v ²»ˆ—¦ÄÍYvc0ë ‡­?“JÂݦ©Ÿ,Ñ!EÚQ-u›#yó³ñ5ì‡)Õ])h9’%¸‡Uòc{]Ü·?}{Ki3±¹ç8EŸ5ºî£ÊSck˜CÜ¥‚[¦žá Óç clÀ8*奄"¿&™üÊg­]LýÁvüªôyÝýé.1»UUÿçÁ çòÈ´N¶íÛõUÉZ!ÿb¤¼ÉŒ°\EHÍ]Ôm3jµU>t¶ä°‡]‡±üZÀEÿä{`œpµ»´ÛNȪÕ\$ÍSXX×þSì¯Á‹Í/Ã:¶OÔ#ÑÅ^[1^À8$Qĸ¡á™Vä}XÌC!sEH%ø·‡I OÒÛàðÔŠ|BEB>ü#_E.AµI]2‡0Ôáx2]à{ÏÊ—þ®ÁºÛ€Ò‚8|1ý,¤t½:ƒ0Ò¢ô¸©Í§xXVàÈ™´¨áL€Õœ \±ÂãØdÜ€•)>³áä%ËžN' n¿®ád¬ø¯Àï¾æØ¨¤«ÚU‰„©³"„W}VØU½“£æ=K"¶WÆ~X¤–xI0¯ùºâÜžY ýv ü¥ŠÏS¼ø6 ÌÆ³i‘–Ly~ÌFt³rB©ly¡ÂöÏòv•_ïær4Óüłԡ÷Ć*ÇtkdÀk=J=£Ø=š ?ÚEBï0Ï6B%0~+M°©ROçí ©5 9°ØÚˆuJà‘Ï’ ‰)B¼´ÔF÷õÐÙeÒÏÌúî™›K˜GUcÇײc†Nù¨õ3¸‰‰á@Æ™¬~9üÎÃwcCš;B¤Ÿý»Iß³‘ÇÍToãOe.¾QHAnÝoÚžäN?„9¼ýûVz€ñ®>©W¼ûüŠ}ë˜ÎÃ#Yzу¹åášÝqþ äýxõî­þ›t;ðý3=‡j‹¿ûƒ íZƒ¬ëç+>¦²†$âÆþŠU¸Öç\†äEvØ:Öˆ'NŠU5Æ„!åH®J= ô¼à^ÏšÜÂÛ:€s¼Ín^°Ý¯¢ÚÚ™1½°æÅþLÏÞg-ŸìÌsÁB†Óç¾fJì4/»!’x§¤’l¢ÂÚ2V\r?_*¼ZùÒÇ÷æ¹!è˜Q½³™ Õ"¹>ã¸ú:$Ÿ¼ÕãOŸàLަ«$ØT>ýB{ç»Ð„ âük¼Ûª:Ûë䉅cVÄ2â«Öœ;çÇK, è’žùÞ¨yí¶ˆ0är(±# ÁЯª)r_ÝË2 Tç–ªô|4œózÚ„Ù«#ÁDEv¿¨É*ÕV;G(­¨¤1R«Ae¶øÚrÛ¥©²ˆ ¨±ÉÆN˜Ëï¼W7£î ×þÜ£øžði”Ûñ©‘R’Q(êlä÷VšLÛ$ftYÑu_MŠpb¨,ÉÁO”à*¦OG€0]ƒw}îç ç0ç/º§|OøÈoÿEϤØÂ[zâ¤ÑÌ®^ÄïXýíï0#è¶PÝRˆà¾Ø»³rQ†c‰|!¹Pmáfs¡H`ñ|IåתÅO+ bB ®ÇÔ&æE}<»n }b€ðŽÐLƒ!B‚§àF–À“'_`|´WŽyE©B'OŸÞr´ç¨ "PYxÁŽ:P¸­#^0¥ u¶Ƨ>ܵAÊ!¬ô£ˆãüpo=^¨²#Hä nað Ø£--j†\”¦X:µQ)WJÝЖÞøÒqaiÕ_®TÍ]*®T.u²ìAm€ô&½ÏºJt°&[åHß—1íp°Ì³Ú2È{cçõf³˜bßS¥ac·° 1uf¡ŸÊÉ#è±³õh¹=í¢ Ô@ÉqÕ¦w :uÌÙú—ÍåõpDµh¦À‚i „3…ŒéÌŽÈöJWÎd2ýd”9yŸÎ©5uS×=íÓæüâ]ºhÿ+·²µâ{1e#ßOhœ<@1’]F'Ö‚á× ºñÝ,‹@›¹šLY×nóN;¿[”€\,ýý+ªö¬¿8!¸{ÔÈ;6äãçñ\£…y¾ºÞ­|w•ÇŒa«¥‹â†U§Úæ}¹óPKY«bAFm\ÉW¦1 «´ ÊÌ"\ëuåžóp‚Ý;8éjK ‹¿9eâU›Ëv-Ç™¤5#%ÑÝ£ñÒåC`Hó%ãYÿêãíôÚ‘MTKiäÏ™o¦šRMã^‹yŒÆæ9$¿ ¾å3œ¹Ï}Ò…£Ò¥lb¥¡Ò7aRú" ÏÚŠ-¦Œ–Ó¬E… þ›D65ý ËgB«¼sÚ×>G6´,úÃf 7”WdóšÈ†×VwS°^²¥Ø{«ÔM†âsÚ,Óªçô(¶^¼\z߱中–âŠúE _¯­7ù!yPªfyyy»%:¨ÛÒ$:'¡— P»V•fÖ‹Ð.BkqÄÆÖÑ.CV~9Zöe–¡`á:Ï^¾Ð ¦þG/ªÿ¾ ·4âjÏêtý—‹éîƒFŽM,-*ˆÓOí¼¬ ì0nΫ‰ÀŸ´ö—´þ@“%cÿìkÎÝž`ZÚá¦~ÈIssÏIóÍN~¤3›šºé³DhQïšöï(¡a˜h]²{”Ù0Èc–Y°ÏÊ+”JùD5uº@Z‚‰½iOGpˆ¦Îó²@Ù­yìÕû;QþÕ¼˜ ˆÕ¸÷ÞœwM‡OÁ[ÊK+Gïë´2ÐÂs:]îó´*–P¹­zt¯wþ4‡ÑåwŸã–€Åm^zZcß«†ãýÐÈt]¥,_œÊú²)í6^†Á`õæ°˜GøØ~Mð’¹_A ¦Ï=éå4àí‹çvÄ¡fZ£{û_hÇëc׋ž~þA¯"Yœ£Cõ|»š_¬5R:*ÀJÍÐ8‡ók #º 0yrX‰´4Rªxžý½½AÐ¥à1#ô Ê áð,Ÿ2ÑôÑLÄ_‚y3%Ô­wÊ›ð/ý›‘¥^lí u¸=m([Q ú ƒj±eåHÛÃy÷2]óŒ˜ÞœöRCfûÑÅÖSɾØb!´—ågÃ'Bc£ƒÔªäÏ»ì÷‰1¢ý­ãWtø—<'ê£^kÙ#áí^Íý9÷]ãÙêÌç}›ò7<¤l2:ÕÚv*sÂÕùþä>ØÇ¸÷?ÛÑŠHèùˆ¶#{^ǬøªW—ŒäƧÏË@‘›nZ7u:«C¯Ê"'’,ØWñn „'ïZ+ÜL)ÖnYÔ6·. ,Ü,:¾”™Nð0ˆSôƒ ˆZ‰‘dÜCåoRç-ƒ ½0—B€b÷ëYÅœÐ,‹ñ×…÷{«@Ù ¸x³dÿÞ‹žÕÞ›¡ªBb¬Œ~ØËFÔÆNiç ‰â RÅü8l1À’µäþ¯³$Daƒ‘ÍÀÐGSj×Dß1ã•j^Äm¼4î ‘û¨bNx‡¶›Ò©þ?ÜÊY1ø-ê#úkæ»è`¼ÏŸF3­qÖŸ¼Bð- (JÉߌ[IJ´p>Ò…)TLÛf†—¶õ….Ž–\$£ƒé›¬˜ ù^q;KùÝYÔnŒZ;1¼ð{³Î¹Ö$ö«wþ”èE¤|f›GÒ§µ£+ê/÷®¼+$‡)6ý;ú‹[Ήœ§ôüèèE)ru˜¡ÒTÛߌµ*ŸÊŒ5jª.S‹Ø/ŸÏ–ÙÐ…¸y`¦“ú¯N.u¦Œ“ÚŒ’âPS ä+ž/k¤ù¥Áù IáóK,½gƒ¿FiV~¨Ý æe!òû€*$ÿ’N­’.ÍŸ²«j?‡¶|*ùÙ|(Eˆ3ùíÖÜ@‡õâ‘-…1毙%b8Öö±/¶‡žÓ¢U’GËçÉ¢øñðÕkâ‘?Ù©u˜s„$f(µÖ‚™9^ÐFž¹vn‡)‘º1–Êbu_ùecú/±Žž½ÃGêšìþç n‰´¨1»zÿßPKZ~/³ñã„ä™Walsh01/WALS061609.pngë ðsçå’âb``àõôp Ò@|‘ƒHг³ë1003ø„¸þÿÿßÞÞ>>>~ÿþýõõõ÷ïß———Ÿ?>PPŠaŒ‚a 4׬¦rF†’ ¿`PŠÉ€kú`pxD30ðaÆãù+RXŒ=]C*æ¼ssÛj~¥Ëÿÿ*¦;3Àò0/ÿ['O3Æ”žº¥Ž_ç7=Ú¼É6«»IdÉ‚ÿLW¦Æ04Um´vœ&ÖËhêD µŽ`? …4Óœ’ fl¾>ÍKúÅW±±už9èŸϘÍä û¬¡IbÅìËB®â¼‰<%Ì™Ùëú¤|Ky/,mÊÖhp·Ì­¿ÀºívÛ!½ ;™¬X( Ëj•Áâ ¢>Ó"Ð312y‘4ã,§ŽÏ >Ÿt­—tÙÞZ¹r&SÈꜦŒî?—žä¨Dýàuÿ¶SùÞ¡|†™[3ý]¸÷ómš­iöHw³“g^}KL›baÛ%F×ÕÔî–—®JIhlëuìv#±¸­pó‚ÂÏ»¯ç?jfŽûýï«`䳄éõG¤ÂšvmÓºoraô7I‹ª¼[–š§ÜÞ°^’¿w7Ë“k²¶‡#WÐ` )°jB™!GTN‡³Öª{(]d÷ªQúñr‰Š÷ú“Ÿ<^ptž¢ØQÙo&óþÉ3…Nûà)»ÀÙêŸÚ~‰?5¡ÇÍ”WÌv޵›T½— ©ÞsÐÑÖ­´×Ý3GdÊSˉ¤§x_-å+;î|ñÞÆMÃvçû)>Ÿ^>=¤[œïæqéLë Ö¾œLÎóå’›„.L½çÌ‘õm“ãÄzÙÞ}¬*ÒŸôùfûÕ,ä»`½2bI~òçEù«ƒÕ.p¾ò¹Ç,ÄŠý"_r*šÝX`±±5Å÷ËÕo¹¿Hñ\ß¿çäI7ôebÎ}ô÷ãÉ[ew_ŒuÿÞCo¯és„<×LÛ+ç7ûÕó–3‚õV-Ú<û…ÍûH³©Ž/‹u=u&ÙðD½Œåú­ý¡ðV| y±ø‹šß$–YÜ 2½˜›÷ö¦‡v>*~µ4lÑùümõ×l¼:3çò:õ\ý£³g²í\z&÷ÜôH-³œê÷+\¿jÿ5\{껋 Vnq|,<åOÊÅ?YW WŸ?ª ^3CbÁÉ}ûU7.™ý8硎œ™¹—eËSÉ¥ŽÅ'âOÜhMÒ«šÏkå9íøê®|uQ½ô³F]zkø,ûϼô‰]ﺩF`I—ÿjŸëÌŃm)cÉ{ëvéûŽO³c,ÿ­x¬§÷V-g™nզȇ–v8LJÿKîœy¸UwGø§ò=% ®éï4¹7éüÅfGÇ» êîûÔöQë£,¨œõtõsYç”ÐPK¤py/$,ÐíÒ4ÅzWalsh01/sample8.foí}Ûr9²àûFì?`Ùg¦í^DI–eõ´úÈ×ñ¬íîi{Ž}bbÀ"(V«XE×Eç©c"æDìÛÆ|Ã>lÄÌŸôì/lf¨P(ФhÝšŠszÌ*TÈLä ‰Äÿû?ÿ÷wß]L"v.Ò,Lâo[ýîN‹‰8H†a|úm«ÈGÃÖwÇÿý¿ýn”¥I’3hgG£äÛÖ8ϧG½Þl6ëÎöºIzÚë?yò¤÷éý›ÞË$ð¼ß1†_F|žyg³\¤LäôF¾ËÂÉ4)?ª›ðô4Œ;ƒ$ϓɷ­î£0né§‘åú™„Âô«4<çnû<™h1Ÿˆo[£0Íòõ?B¿­éÑ,æão[‡àX·&tˆSÀŒr8gÃ0›Â$;< Oˆ¡ŸV}"ÍQ3{J}cÐj&}w{Ó¼ÅTÏrzÞ‘‰Q’ &.rNÙ»·)!Þ«–‡Ø±Õ͈SÒ_ÿ®ç%ÝŠtÝ­¶¿YwëtME'¢«3âýCDãx—±„°.ÕÈB“ >4h³€²»ûµî ÂuQwѲ­1»—º(ª~5Ô¥É^‰ºaeêÒÓL|.@ô5ȇy$\ÌNÏùÀ†ÚIÅH¤‡¹´¶Æåëz¥‘!e—à¿1ÏÃs‘•íåAðȣ¥ç"ÅK†ÃN’vĹ=? º­[2½ ÿk2Eo¥™.Æ5½õ+í<õ˜ƒ¤E˜:2*EÉÌV+½Qœ¹*•8½ÅràuGË:øÅÅ"rOS>‡S½j™Ðß¡EšNq€Ü0 c-–¥Á·­n·'ÿ/„ﲞ¸ØÙëþ4=u1Mc´Ö“5EcîØ‰9clí:#> £ù·­L¤áH=Ë¿B£'ÝG8È(ŒMñ6Í=ˆr¦/‘gƒçqÖ‘}Íæœ¦IaQ’~ÛšÔÉÝa6À‘¢0Ë;œ#Wjbå” Á®ûÆ7$Z<ŸLÓ‰GK Ø%çÈÆ‘Ï„ˆ;ð3Í30™¤Ùc5Žø@D0•)OyN†ï·ú¯œV˜‹‰ÄÅLcDÃúÎ'²°§‡0’ˆ–=Ó}Ÿ×h(Ù¡¿¿óÍù<‚'a‹ ¨aDþÙl³ ß¿¸ÈS1ì-OÏŠ){ÃãÓVqÆvwvöjm ¨WŸÒ¥'õjN`éI$)Qm$•.Ç…¹ìy­ã·;ý×?xÔf,þõNb!¬“â´Èr¶ß9l¯ŒœDo¬6îZ)_Ö»hè¹»ZC b*†ÍëÓìö(΄˜‚DÌÇÐÑÅÁJCÁ¢6šñyäšrXO$x»~NЉoZÍÂX6Û%zo’i^½ñæPáIA½*Ax«wÙ1ã Q\ Xlæ‘->Eóãó—ìÃ,<=b<D–ÌðišŒ…1ç÷C›iK› ’tˆÊÑ¥Åð Éܲ_) %QèRÕj§ô¶„ §lC÷‚P ­¾œw&|Fmá;zL*·)b”AŽVµ´áèšPJŠT\¹l¢Ÿ•êÅ_Y¤•ä_¾åë4™5ˆ:ù>Qä88ˆì¸˜ $ ‹ .É)c1FóÊk{&nô”¬‡ ´*çÈäSÂ%’ôø†fâþ¯<ÊÆKËLê9~_Äìm¤I6p’µÙë8è^.<+Ôùgê—5²UïÖ²p”ÑUc@/ßzZ¯gèçeEå•jT®K[ýš§úÄfÿe¥cŸd´‡²åáè‹RGŸ ²<åAÞHöªk{”M× „éœ:Ä9OCŽÆB6áQÔ ø4#1LÝ©–Ç,ÌwAM“øØh‚Â21Ëð§©ÈЙˆœÁ_ê’Ü&0Õw.@ L;Î`.6L‚bð².ûS Oò|-ÍÛ,ÌhüËÏËkÃê…Añ4š3Á3¤÷Ëð¢ô’fؼ8RéÃ03åH”¡È‚4ÄT,f ‰Ÿ‹S´õjð3TëÑÔ®SLZÐDÄs^©à.{ hs0ðhC¸C=߆Y‚ßË’‘ ˆ".èL°QèBdˆöž_À3`ö‰GÇ~r’gV”³ú‚…Ús èßQ'ê¹Þföï¶Ž?Žçh) B‡¥·uþ“œ‰8)NÇßÝ jq¬w ·»vZÇÏÑsvŠ©`E&À»$â ü_~!l­€¯ÃÃÖñSPÇàå2ÚGóQˆì2D­ƒª%‘#ò «Ù¼xÜÛy |'¦·‹8ž°x›—ôÞîX bN77—t1r·Á¸Onf¡ãPoéBßÛ„ *¦7Ι0;¸¾ƒ^y#øˆýòóß ƒ¿üü_7ˆÄÇ^r'—÷á~ëøµò»½N€„µF@Ý‹0©[*öû»ÍÁÝ5‘ìç‰mÜÜzÁIß=¡óhçšI%À‡«üÏ› ÎùžH¶ƒ0\þtYümåpâÍH4œÌ]raí×$¢èe‰Ló< f]ÿó$ᘤ)»,'x±$l&©õzyÖõ¤"ž`âaž$Ã49s8-"°\>½}SebZÙ›#1c³¤ˆ†t¦¬È%¾y…ùœ’õ@÷‹lŠ›éŒO§ÀùÒqµóþp`:<òg\Ž¡ñëG]&'‚q\eò™C¬¯‚5BÁþ)Ž“™s©ÍðT LOp–s]¢JzC’&oߨìTLqLŠ4Îlñô`%¥§QZP¦' ¥Ë(t Ð9L€È ô¼ž2ž<øT¹Ê&@ F°¹j4®¦‘?CŸÆB¦ÃÂLæ&~,b.*ðØï0_egì5ÃEÖÅЄ6“„ÇØ†‚¦#¦Eñ*××Êò!‚^yXmè‚°ZQòïÐ`BêLð|ð¢Ì×ÕÐkäÎÛ¬ˆ‹iDÝÄÌ8&j©È$*hú˜¡\eŒ!¦ª¡\/Uš2-Ii ?LxÉQ'åÀY¨™‰Î3ÓÊY·zØÍH2,øÕ¬CkÖæjë!¤­‚'ý• ¢º66!ØêLŸYÊ7QMh‹Ý”zþêí3ßÖ!^Õd«Îu.ù/éwÙüRsMþù¿o…ŸÕh^jËÔRsö„{—d¤^‡ÛÕ,2wuL<›Ç9À CD ‹cEƒ$)* ªÄE)¿(猃Rs·YV€¼âdÖ¿ O‹T:ÛÕþŠ=_W65ç÷¶ŽûmÕVM›yfä >)RÑÈ*Àà5 Kð39EgxŽÄ‹E%È›¢{v¢±Ù 9lrªm(ιxY¦MNTèÉ{Bj]7\ÒQåÄî΀õ4‚Zzý#vRKà6‰fATR£B,¦ó0)27ŠamÉY‹øÙ —+Í0Iâ„:òx—øž¼y¿sÐ?Øéw§ñÒù?×.²OÇ#¨˜èB=¸¥%c5m†%©ð ܘÇÃ6†/ñ(Ý©ˆEJ‘2'–É)æ ìA§À1Ø™ÄÔÊ+Âõó8àÑœ³x“"Xèâ€Sñ¹€NÐ+t#Bœ)ãÁ<ˆ€Ó’TÆlãbSÏ’RèUÆG±K›&´ “›PEûû­ã½åUQ#ÇÀºÍ„5¶(’dxŠá]ð>§ Œ#kv8ëõÄTÅ Gì,—æâV[-¼ÕhKÖVàJa¥ËÒ j@×5ÕâJýÅ ®1®Tw…>à®ü47,\Ì\¯Ç~·gïÅ`ᆡQ—T±|°•:¨L(–sQ‡èD÷WXúuXrß´11™‚‰ jŸ–3ŽIƧŽËÒb‡¶p&Éø‚à܃-Gj"3&EÎx<'ýŠÛ6Q´4G,rsÅ 2üîbx i |›L€q†.4ÆÈXv¹‹çR“Ò;ÐÓ¦üÍê0ÂØpÃŽ˜àÁ¸úD.› µs߃«Ó%k¬lP‡÷ËÏ?zÊŽPgdvôü—Ÿÿ Ô-X¿zKG‡­T|r¸8Ÿ«àoj œ-AcstÖ0p ÏyTÈ5U6¡cÜJÃývpë`ÚÖ¡f<¢êá°DÊj‚†7®zŸ<4ð¬nMé®®a½ÔK·N‘ìÝâu¥¨‡D£Í`ÕõƒWºËÒJ­Ct`ðŽÑAÖKÙ‹Û§ægÖ@5ãg-=8ùû9ü^l™Ü‚x"%R: Å€(j7Ià§OF†ø2!b°ÄÌñàJ½ŸjÎÃ¬à‘³5£óG¤ÍWZxÊ «‹ù5’/¸¥ <’íì´Ž÷—Á-4 ¶ûA[³ðîš…ûÞý 5—.)÷%̾;»‡´{«÷¾ m ¯[ŠQ™í:E›övLˆŸÞ¾¡˜UfµA>kSþz‘QühþËÏÃ8‘ÊŠŸà]ƒ*ïÚ™'fÊsUW™É¢TéY†º¬Ú¹}³¹ÇXÒüz›|¼M>þU&ûйÖk·^_”Ï'?) ùãXàž@¹Ç\I´6Ë’‰ðÄÏÅO°†r{]~è? DÛÌyZ9j]eE£ô4¡}O»Ö÷ìE¦w›”U= î@Jâ –Ê##&mõ6çÙ†à<7àô‡™­« t!äÖ¡ZÓRƒ–ûöN©)ŽdÒX°Jdã0¦â2áÀ–YEOäÉê¡°¤E—½£ôžM€À”hÁ†U´w$Opw2ÌäÈÐó¸Èé%¬ÆØ‚Æ{$#E=|õà!|cB>Å "  ­—$!f%HS@CQ+ l+‚÷ù8¥³­<®éöÅqsÙ&+Ú"šçyŠ\úËöSaíy«ílJ“Gjvm6O ©ÊF0f#E(T‰Wæ“R†Xã¶§¦ ´ô˜Ÿ Å)LzŠW‚#GMÓ¬î£i“'ÔÄty£M¥¯…’ p6J©kžÙ¾Ì`KÉc€=üXrOÅ5ëXËèÌ6—`ï÷[Ç\%K¡Àl‰TrtEq:rˆ¿`â|CP’éÃÄÒ„s =Éøˆ Œ&@Aà®V…´M•'ˆO&”c,z”^ý2E~KìƒõpmV}Q vrX>C KÞœªAƒƒ˜{ÍPró‰=1c-R˜4N'"ó8Ì&ëEj‰“L¨ÛHí6R{‡"µ<øtºkþ_j­.ëîswïVÇq)aYˆÜ´AÀ×ùµ•Å€øDIýÐ J´I=L§I&³å9ˆ€œ2Ä©‹š^±s貌(ˆ!…è€*¨¡â l€É®Q–8‡´µJ£ 1˜–©ˆ4TUÔšQ.Ï~Ñynœ3Þ67t6)•9X³‘VN#vf«©REIrÆ>€&ÀÕ™J Ž6ÍÓÁÆ]C}G(Y "œL“4Çk90Ir›>I¢Lv/kv€0ŽÂc¡L÷·Tå9ZÒò8üÔ¶d–r3¤^å1Ã(­³õ,wê£ðá9 +Õ)zÙ!,ìæHZ ²ž 9J˜?Š–Ù‘[›¸²©q°ü Nt{Ù¯‹ÇELs&å‡Q80mjà¤qÀÓ£.ðÍD€¦C›¦Tá  ±/In Ýðƒ°XÌ ®:”ÃÓAK0?v“‘{œžŽ@"õf 0±EØÙ4ù8ÉTî2bS\à’Ì<Þ6íÍHóÑüÂ4vu|•Àá%@G bpGÌ¢ö»Ÿ‘ßm…¿´‡¡ ïM„#•.“œOŒç—Nt€èó¹ ‚§˜-®JC%eDsÚM“rç´3£¡#›dþpŠa'„iu ëžYÊ¢Ë~¯+]ÉÇ/¡¤Ç°³Ô3íà€(¨ïŽ¾Ë¾µü€¯<“•‹ƒÞk›Ü9#šPÉ¡t¤ŒÜX¥pQÊâúÉ6é!¯G ³²ü±%HñkZ©$—êx‰½Æ(žŒŽâ¨Hgu‘m0NpEIù#—,xRX.­w JŒS5)¼>³–"3Cò_hÙì﵎s]ŠLX&^yÐÖQ]š¹_¸nícƒµT–'¡ÿ 7ím–70Iócaqrž§!ôµHL!#Ô˺lWõAAOyf4 ƒAB'i’ÈPÙ®ÈÅ–'®É#Ãc$È9GjÐ3Mð€u!s0Ž)¤€´ÐŒGgÝÙœ}C¯¥õ¼Ò˜-Ö†Ocs†[2™=džéñ`ÒÜšÉ'| k½.‡ó EYu[ÑŸÂÿvr‚ÒmQ„ŒzRˆj]γÍ0ø’JÍ‚¸äÑiËb<É\ªÓôa&E¦ƒPa¾rÏCwùÆ ­ò<£{¦‘Rre²þÆÛ"A¤v$… †r·(®C’ºF.EÐb{hCg­v?i?ÞPÐaYFM‰émÐò šÜ ÉcϾ,=Vó¶A Š<ºÕûô(æÆnƒ$òôÆß3•ž/wKm{Xn È}p ”ý2À{QÀö… é”7Õ¿¿Üí ýæx¾žhA¼æððŠñ·ÿm¼æÆk¼Ë÷ÎÇhžZ+–’ nMpæƒ%}á"IÁ2v– ¦‡Èe´íNÞ4^½ w`Ë c}GMP¤äÅÎ 9²½5X¬'·‰Ë,#ß¼*˹žYød»—¶5 ï®Yxè1 ëKö>›y·ÛÌKšs¥P«§É$ih_;KQ9è&D äÐHÎQè‚è,èÖ §«Ú– {Ú&ÄnC®w7äÚßñÆ\ÕZºÏÁÖÃ[lµkÎèªêó†YSPÇè*Æ*jDSñ$G„Oòe„’O‡SíÃ1úòh†–u–' ÄãuÆOB§ƒ†96‚§m:qÕvc©ƒðô”êbs¬2Ž×[ëH=¾êAì­#µu¤î¨#õFp*0¤Í¹[ãN½Ä„²h.ÏOG8JrªzÔا·"8Tó9*•+YÞ¼Ó6+¸‰ %ÍÓÄ.‘fVÝ¡Áœj Ægk°m Ø­{w ؾǀ ²P~Ü}3öÉm7c¯ÉD’Û»çª ¦QæòÖn‚î_ÑØÛn‚o7Áïá÷:Ωళ¯Z‡´¢ô¸5¤Ëyën‰SÝjf­A5j¨P1꥘*ÔŽ ]Ù¬3L!{‚$ÈÆB¸å,x@)ªëÒ•u§š`'©*)ªFmV¬(“pí ¤›;¸èº«Z+ ø×+aƒa~eF3*ë€c,ËmÃPÿÀÏ9‰Í!žÍ)Æ~šêšÕê,µþ(ì½HÏCÀ{.ó!q?p÷.ªõµ o>Á{¤êšÂg·4—‚(mk@ÝCôŒ³›1]D4ƒL ·×:¾¬…»wP[)šü‰2T๠‹éÀO×»ÉdSk†´`Ä"§g•Œj÷•ÿù=¿Hâ¿Ø@JØVûO<ân{•w’¤xM®+‡gª^¸}xÉösVµ†nkk¿Õ»7·¬mëŽÚ1K|²¼àªóH­{gሠÌíËl?/.&€E S5tÙŸäæe•Íp‡7NrÜôÈév䲡 QÞ¾UjL– ÈoƒxæŸ JCsJ•¶SµÑ ¬Ü¶KzZacBÄK!(­mC$7æ‡KVL&˜ì ´ÙéªçF*ÝpGÀ~²Gõ ß>É~|òÃkk\ßP‡ IVñË1¢™ó0*oªa­vŠVÑó$XBíǸ~bQç kŽu8ÞÚÉ§ÒæR*f÷qƒî×CT^9]ó–LõÐbÙê©AdÔ^5‹lsªjš $×:úüÉN=|è ŽçÓ1X9|3âQ&<_-£Ì ´ÊkKë`6w\6òh+Ò&(^2} šwýÅvåJÊ–ñjŠ2v\*ÚoDÕ™ÓÔXG­æöÐ…šzëô¦9¬^B ;šæ#_.3ÙÒ7›<™.9lé ¾°@«tu¯w­)š&Q1‰™üŸŽÔ@ð•GË_öÍîÂojšÙm&3Ï{«[¬2 Fð4âsmdéížr_¢¦¥mH’ã„^5îYý.3´ÕÆðÆ-(iþ­ _e?ºíMÀ&b‚ŽUS´\ÿ]Ž£…Ÿx7C\ë>Ø$ðêæS^ݦoÏ‘Tº¿$È%UãkC?˜¿2øÅÀ¿)zÆÓ"gÃ$ ûö!sߘj÷›ÊßÒEyNN'ZóžVLE­k7·™X’:…bX²Äýåáè^sup{Ë.$9Ѿǒ§W£|Eâ&H÷Ÿò¸_}oéNùÍT¿Fò¯=võÖza|d„Œ&ÞQ—xõmb¼ÅÊñ2Ì EÉzå]{öÕsæƒáUš ]J_²©êðÉd öwèd"YMx=2…kÌ4î×ÙŠyŠ'€p á#*çªw* Ñ`©¯ûû\„Á]`xýÐy%›ùœÍô|ÀmÀvt¼HØ ±öŽ K’3:ý  *ìœâ‘{3«½ƒ²ËžPñ¹êEs‹6Ììce”aa šÞìR ç —]Nþ5Br‡ûÛÜ6$w=!¹ÝFåaªmHn’küæ…äT•„ùMÏtnΈÍé9²NÚùGÙ1^£)^–†"{x½…Qßx<¶ ×)k‰«J«¥E©7ýÈ m"Ÿ¼[¬«l„'Œ›ß‚$†dM<Ð×⌹¼ ­ ntÆÛÐ%xòÙ9 uë“ÑG á³Ð©ÈïÑc¡èL^gå_V Ñåû,"°µnš¼xx£^ (~I䊸’ÜX²iQ4AÝÚg{}û^÷Ù(%*Æ n¹ï|ð.¹ñ•¾"+°aãf\Y”©‘#ÌÊM«ÈzÅ4¿î(bЭ·EäTE •=FÅf ²HfñÈý%ÕhÉÅan=Ìqý ɢ㪷ggœÎ —£ª.†­èÒ$䮑\Æëë±ßlZû£ým]†e‚{Û´öú*ئµ/›Ö®v#oOVûkY?fšdò6iY Ã mHyEýPØ¥ÈÀÌé˜Y8 ñªusg©Ü Ì©‘g¦Vª”ªá‘¹+Yc&ç"Æ[š»ìe’2}µzÕ*¡ºÀ›°d[çžÌKŒ@s ¬ÍËâí+ÈZnNñ¸šµ54µ c“çž"¬1„?¾±Ç g%/â^óÜ`ïµÖ™$qBßxtŒÜóyô›Öq:üÙcÒ3Æ3ë Þmnçyž†À ";ºbÇW±{’7à”5õPŸÙ+\:­`B#‰¦j èÙ[ª2ýøT•\w¿ÕKf½*Ô*Á{B·š ]ήNtIJUh äÇÏ1ð8@^€ûš:gf«…´¬`tmSQméBúƒ,Åbéj< r#ŒëãŸ_²àâ(”»ÎW—ªÜv")é, ‹k×Zƒuže1ŸÈÁcE ${¬*¡óRë*{ "d4áQ ë?cVƒÝ¢û8ÉŒ ¯êI·Yyw=ÖÀPkK1–…w‹rvÌ«‡TqXZ …&T-^ ¢ÃàÕñó£rR6’<8;MñL‘Þnœa½¶šhnº^2ǶÅqŸ‘„vHLÈFÒEq[kʨާ"ØïÒ|—îž¹×^>k2YÙ,He«ë'döÕíw:G°Ù¬ ½ ©µŽåߤŸPÙ_K¾ ºõÛÓüöþÅ›Ï>°ïx›}7`ÿâÇìü²?ú-0Û7QÇÚ¼3<–Öƒ¾†}z ÀÄCvòî9‚ÂØ@ѳžöîgý5ÄÈøšmYš9Y¹&,ó@Ë«nÄ‹(—âHŸlWQ¤UÚÌ ‡@Væ2‚DùŽ£,Q[•XS”Ã×0,™B¦Å…YQáYµš´Ä Þ#Ù£×pÉôu•uLšã”Å+A@•èjËËÓd£’8$1¢ëJý+^£#ëøC]5ODëJ瘗—©+‡h¬…cMúTÕ€2xØÜ:ªû$PWVðh³Œr5ûÝÚÅ©ø\„˜\(Ëx¨"/ =¡ƒEê[ н>ø7ƒ}öŒøøF¹õ$—ö ÝúÚFIùoêRVÝù³Ooߘ#×»o̬Z(·ý†Ò×ü¦,Š#G!Nñ\Zx&@»™]U¢u¹”‚d:Ç}>1‘èp(ƒßJíÚI‘# ‘.$ÍþGÒuÜ=#ÍòÄr’­å&é9ÙO«À†ÉLh¥—ÌÙ#ö=™öðGãšCpû­ãþ®ƒ[ï~fŽË`þíý:¾¸½_§†™eÔû„Ⱥ›.ú~Ý#žÚúCCks,wOd…6¼í7LŠÌ­K §°³6(vꤶÖÑ•”þmV‘àßæ” þmJ¡àß2J¥þ•_Ë|w1‰…€ñ¯Ÿ”+¶ÈGÃÖw¥Âˆ³þ‘ÏFÀ?°…+‡z«¯¡Ac{g··»ÛlfÔE'ΚÅÙî¢Èqý3L3àP¹ >{^±y>Ÿz*¢-è¸a­z(ÿVn`iwgg§·Ó±˜ð¯žE<ˤà盛ûjn¨<"Ï›<§¬G ¾ÂÛ¼?xÎ .ƒ£Ë"['‡\†ïX°æóâÚ¦øô¦¦øtcS\bdÏòŸÑƒ!e®ˆØW7…ØWË"Ö;o÷áb»—7…—×Év¯Vf»^¥Ý=!ükxÑôx›tµ›ú>¨ëõèl £‹H1%l<<¶2 E@!ÙOoßXö šÑ< ÿŠŽž]ˆáÁò¾:b2NðO!Å[Nuf€ Mï¹Ò¹—vy'ŽØù”Ê´aèÃÌ‹B×+K¡ëf×ÚòÉrÁ‡mºn‚)´þËÏ;êð ¦:c¬…æa2  Õ~éŒÒl¹hÎÀ*.÷ÓfœnyEòÃ-x0G•ͨ…×SÜ£ Ú¨Óqu•qš€é‰ÁÏ à‹VíåÁD‡å~Þ, í­TÎF_öž™EæS9MôNü×lT´¤Ùk穚ðŠÉ“ÌO¼ÌJÃQ…1z> ôg\X‘’^¶:Fyò†À±òKÿ©Z –ú ¥Š½.Y´×¥.›U˲Úg•yÙ’o`“k¡û»=‡êO["Í:oœ}PÆ>„“nR6ùHÉHØ«rŸ&H[{²¹Dž­|·g#®Ùa¸v613Þú;½lƧ=9Ûî8ŸD¿\Òö^0Î{<ƒïðÎÿäîmuoÃ`Ìñˆì%|óþäÓ÷ï(¬d~ÿƒNiæŠkö}¨ð@£qí}/Èý‰GÜ%÷ ô¶Ð{å‡Ûh~‰»ƒ„½K‰O°;èV±ÿiÂ&¨ÝÛBü‹IÔå4eZÝ4êŸzˆÓ [\ÚòK³D=þvX¸À&ú¸÷ìR1ï°Ëû7¬,.¢Ê$?@È}ìÓïî8 ôªßù,¢·™vÙGŒr³áP*»˒4 pò0 ü6+J³|ø‘Š£ø”Žzµ1»»þˆ,¾›Ý¤þ½×5A¿ý„f} Q›ÐlávÇ騒5K]bÐuS3œ +й2Ŷ½¼Þ¡ ˆÙG<öátí{×ò(b´RÒ$›g¹À+”_ÇQ4cç[êM1sØm†S&){Ÿóш½ ¢ãõy3-%‘c%‚qœàmÄT$}ˆ_ÓŽaÆ07gÚ¦(•]Ä3X.´‰˜ °äïÂRÚø×ÛÙí„QpHK:ILp òÚKÆ^áèdáÌø¼Ò¾?yÿú½=ˆçIð4IΪÁ¸Ðž%ªT#d<’Š2y œ¼ò“RV’ô ]BefÆ•cÔb*þƒÒaáÍ`þøâÍÉ'öîýx.S>w!þ(@ì2kÙºâuÔ5²½Wš\¢7–J3eÊìQ’€dXQìøüBËÇ‘µZŠïÔäp%¢÷›Ó²r­žMfÒ—Zfî#7K€|q‘§b"Ø[P±°êÞðø´Ld ¼Ó½z×ef™¹wü~§ÿúÚìÅ¿þ1AtÎ)V&Úï¶×ëÍtÚ`Ê‘‹gÜÉñÆE„Ö_Yo V%“ž;9.Ä b0go‹¤‚[]žYx±ÞXrÕуQ¤.T¢_ÈÇy©m€×%ÑÃÖ üûÿPK Noy/Walsh01/PKá}/¼HšS 9 ¶Walsh01/WALS061601.pngPKR~/)(C˜f < ¶5 Walsh01/WALS061602.pngPKð}/… ?dm ¶ÏWalsh01/WALS061603.pngPKø}/iJ¬Œ ¶g.Walsh01/WALS061604.pngPK~/ÉÝ40 Û  ¶'DWalsh01/WALS061605.pngPK!~/²æ‘/ñ¥ ¶`NWalsh01/WALS061606.pngPK~/y™®çÓ c ¶…]Walsh01/WALS061607.pngPKH~/ÊÑ=d´ ¶ŒjWalsh01/WALS061608.pngPKZ~/³ñã„ä™ ¶Â}Walsh01/WALS061609.pngPK¤py/$,ÐíÒ4Åz ¶Ú‚Walsh01/sample8.foPK Noy/0ÿAÜ·Walsh01/PK Ú¸xmlroff-0.6.2/docs/0000777000175000017500000000000011156164730011135 500000000000000xmlroff-0.6.2/docs/Makefile.am0000644000175000017500000002373311150536664013120 00000000000000## Process this file with automake to create Makefile.in. # The name of the module. DOC_MODULE=xmlroff # The top-level SGML file. DOC_MAIN_SGML_FILE=xmlroff-docs.sgml # The directory containing the source code. Relative to $(srcdir) DOC_SOURCE_DIR=../libfo # Extra options to supply to gtkdoc-scan SCAN_OPTIONS=--deprecated-guards="FO_DISABLE_DEPRECATED" # Extra options to supply to gtkdoc-mkdb MKDB_OPTIONS=--sgml-mode --output-format=xml # Extra options to supply to gtkdoc-fixref FIXXREF_OPTIONS= # Used for dependencies HFILE_GLOB=$(top_srcdir)/libfo/*.h $(top_srcdir)/libfo/*/*.h CFILE_GLOB=$(top_srcdir)/xmlroff/*.c $(top_srcdir)/libfo/*.c $(top_srcdir)/libfo/*/*.c # Headers to ignore IGNORE_HFILES= \ config.h \ fo-all-area.h \ fo-all-datatype.h \ fo-all-fo.h \ fo-all-property \ fo-area-area-private.h \ fo-area-layout-private.h \ fo-area-private.h \ fo-area-reference-private.h \ fo-area-spanning-table-cell-private.h \ fo-area-table-cell-private.h \ fo-area-table-continuation-private.h \ fo-area-table-part-private.h \ fo-area-table-private.h \ fo-area-viewport-reference-private.h \ fo-basic-link-private.h \ fo-bidi-override-private.h \ fo-block-area.h \ fo-block-block-area.h \ fo-block-block-private.h \ fo-block-container-area.h \ fo-block-container-private.h \ fo-block-fo-private.h \ fo-block-layout-private.h \ fo-block-private.h \ fo-block-whitespace-private.h \ fo-character-private.h \ fo-color-profile-private.h \ fo-conditional-page-master-reference-private.h \ fo-context-private.h \ fo-datatype-private.h \ fo-declarations-private.h \ fo-doc-private.h \ fo-doc-cairo-private.h \ fo-doc-gp-private.h \ fo-expr-context-private.h \ fo-expr-func-private.h \ fo-external-graphic-area.h \ fo-external-graphic-private.h \ fo-font-desc-private.h \ fo-flow-area.h \ fo-flow-private.h \ fo-fo-private.h \ fo-footnote-body-private.h \ fo-footnote-private.h \ fo-initial-property-set-private.h \ fo-inline-container-private.h \ fo-inline-private.h \ fo-instream-foreign-object-private.h \ fo-layout-private.h \ fo-layout-gp-private.h \ fo-layout-master-set-private.h \ fo-leader-private.h \ fo-length-range-private.h \ fo-libfo.h \ fo-list-block-area.h \ fo-list-block-private.h \ fo-list-item-body-area.h \ fo-list-item-body-private.h \ fo-list-item-label-area.h \ fo-list-item-label-private.h \ fo-list-item-area.h \ fo-list-item-private.h \ fo-marker-parent-private.h \ fo-multi-case-private.h \ fo-multi-properties-private.h \ fo-multi-property-set-private.h \ fo-multi-switch-private.h \ fo-multi-toggle-private.h \ fo-node-private.h \ fo-numeric-private.h \ fo-page-number-citation-private.h \ fo-page-number-private.h \ fo-page-sequence-master-private.h \ fo-page-sequence-area.h \ fo-page-sequence-private.h \ fo-property-border-private.h \ fo-property-margin-private.h \ fo-property-padding-private.h \ fo-property-private.h \ fo-property-type-condity-private.h \ fo-region-after-private.h \ fo-region-before-private.h \ fo-region-body-area.h \ fo-region-body-private.h \ fo-region-end-private.h \ fo-region-start-private.h \ fo-repeatable-page-master-reference-private.h \ fo-root-private.h \ fo-simple-page-master-private.h \ fo-single-page-master-reference-private.h \ fo-static-content-private.h \ fo-table-and-caption-private.h \ fo-table-border-fo-private.h \ fo-table-body-area.h \ fo-table-body-private.h \ fo-table-caption-private.h \ fo-table-cell-area.h \ fo-table-cell-private.h \ fo-table-column-private.h \ fo-table-footer-area.h \ fo-table-footer-private.h \ fo-table-header-area.h \ fo-table-header-private.h \ fo-table-part-private.h \ fo-table-area.h \ fo-table-private.h \ fo-table-row-area.h \ fo-table-row-private.h \ fo-title-private.h \ fo-tree-private.h \ fo-wrapper-block-area.h \ fo-wrapper-block-private.h \ fo-wrapper-inline-private.h \ fo-wrapper-private.h \ fo-wrapper-whitespace-private.h \ fo-xml-doc-private.h \ fo-xml-node-private.h \ fo-xsl-formatter-private.h \ fo-xslt-transformer-private.h \ pango-xsl-attributes.h # Extra files to add when scanning EXTRA_HFILES= # Images to copy into HTML directory HTML_IMAGES = \ xmlroff.css # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE) content_files = \ backends.xml \ basic-interface.xml \ conformance-body.xml \ debugging.xml \ directory-structure.xml \ fo-area-c-file.xml \ fo-c-file.xml \ fo-h-file.xml \ generating-source.xml \ xmlroff-code-rules.xml \ xmlroff-property-decl.ent \ xmlroff-property-ref.ent \ xsl-gobject.xml extra_files = \ xmlroff.fo \ xmlroff.xml xmldir = $(datadir)/xml/libfo-@VERSION@ xml_DATA = \ xmlroff.fo \ xmlroff.xml # CFLAGS and LDFLAGS for compiling scan program. Only needed # if $(DOC_MODULE).types is non-empty. GTKDOC_CFLAGS = \ $(GLIB_CFLAGS) \ -I$(top_srcdir) \ -I$(top_builddir) GTKDOC_LIBS = \ ../libfo/libfo-0.6.la \ $(PANGO_LIBS) \ $(GNOMEPRINT_LIBS) \ $(GDKPIXBUF_LIBS) \ $(FREETYPE_LIBS) \ $(LIBXSLT_LIBS) # Commands for compiling and linking GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC) GTKDOC_LD=$(LIBTOOL) --mode=link $(CC) ######################################################################## if ENABLE_MAN man_MANS = xmlroff.1 .xml.1: @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< BUILT_EXTRA_DIST = $(man_MANS) endif dist-hook-local: files='$(BUILT_EXTRA_DIST)'; \ for f in $$files; do \ if test -f $$f; then d=.; else d=$(srcdir); fi; \ cp $$d/$$f $(distdir) || exit 1; done mv $(srcdir)/html/style.css $(srcdir)/html/old-style.css echo "@import \"xmlroff.css\";" > $(srcdir)/html/style.css cat $(srcdir)/html/old-style.css >> $(srcdir)/html/style.css rm $(srcdir)/html/old-style.css # mkdir $(distdir)/TEXT; \ # for f in $(srcdir)/TEXT/* ; do \ # test -f $$f && cp -p $$f $(distdir)/TEXT; \ # done # Location of DocBook XSL stylesheet. DOCBOOK_XSL=http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl xmlroff.fo: xmlroff.xml ../libfo-compat.xsl xsltproc $(DOCBOOK_XSL) xmlroff.xml > xmlroff.tmp xsltproc ../libfo-compat.xsl xmlroff.tmp > xmlroff.fo rm -f xmlroff.tmp #################################### # Everything below here is generic # #################################### # We set GPATH here; this gives us semantics for GNU make # which are more like other make's VPATH, when it comes to # whether a source that is a target of one rule is then # searched for in VPATH/GPATH. # GPATH = $(srcdir) TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) EXTRA_DIST = \ $(content_files) \ $(extra_files) \ $(HTML_IMAGES) \ $(DOC_MAIN_SGML_FILE) \ $(DOC_MODULE).types \ $(DOC_MODULE)-sections.txt \ $(DOC_MODULE)-overrides.txt DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp SCANOBJ_FILES = \ $(DOC_MODULE).args \ $(DOC_MODULE).hierarchy \ $(DOC_MODULE).interfaces \ $(DOC_MODULE).prerequisites \ $(DOC_MODULE).signals if ENABLE_GTK_DOC all-local: html-build.stamp #### scan #### scan-build.stamp: $(HFILE_GLOB) @echo '*** Scanning header files ***' if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ else \ cd $(srcdir) ; \ for i in $(SCANOBJ_FILES) ; do \ test -f $$i || touch $$i ; \ done \ fi cd $(srcdir) && \ gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) touch scan-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp @true #### templates #### tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt @echo '*** Rebuilding template files ***' cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) touch tmpl-build.stamp tmpl.stamp: tmpl-build.stamp @true tmpl/*.sgml: @true #### sgml #### sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml @echo '*** Building SGML ***' cd $(srcdir) && \ gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) $(MKDB_OPTIONS) touch sgml-build.stamp sgml.stamp: sgml-build.stamp @true #### html #### html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @echo '*** Building HTML ***' rm -rf $(srcdir)/html mkdir $(srcdir)/html cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) @echo '-- Fixing Crossreferences' cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) touch html-build.stamp endif ############## clean-local: rm -f *~ *.bak $(SCANOBJ_FILES) *-unused.txt $(DOC_STAMPS) maintainer-clean-local: clean cd $(srcdir) && rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt install-data-local: $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) (installfiles=`echo $(srcdir)/html/*`; \ if test "$$installfiles" = '$(srcdir)/html/*'; \ then echo '-- Nothing to install' ; \ else \ for i in $$installfiles; do \ echo '-- Installing '$$i ; \ $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ done; \ echo '-- Installing $(srcdir)/html/index.sgml' ; \ $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \ fi) # # Require gtk-doc when making dist # if ENABLE_GTK_DOC dist-check-gtkdoc: else dist-check-gtkdoc: @echo "*** gtk-doc must be installed and enabled in order to make dist" @false endif dist-hook: dist-check-gtkdoc dist-hook-local mkdir $(distdir)/tmpl mkdir $(distdir)/xml mkdir $(distdir)/html -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl -cp $(srcdir)/xml/*.xml $(distdir)/xml -cp $(srcdir)/html/* $(distdir)/html .PHONY : dist-hook-local xmlroff-0.6.2/docs/Makefile.in0000644000175000017500000006166411155246037013133 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = docs DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(xmldir)" NROFF = nroff MANS = $(man_MANS) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; xmlDATA_INSTALL = $(INSTALL_DATA) DATA = $(xml_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ # The name of the module. DOC_MODULE = xmlroff # The top-level SGML file. DOC_MAIN_SGML_FILE = xmlroff-docs.sgml # The directory containing the source code. Relative to $(srcdir) DOC_SOURCE_DIR = ../libfo # Extra options to supply to gtkdoc-scan SCAN_OPTIONS = --deprecated-guards="FO_DISABLE_DEPRECATED" # Extra options to supply to gtkdoc-mkdb MKDB_OPTIONS = --sgml-mode --output-format=xml # Extra options to supply to gtkdoc-fixref FIXXREF_OPTIONS = # Used for dependencies HFILE_GLOB = $(top_srcdir)/libfo/*.h $(top_srcdir)/libfo/*/*.h CFILE_GLOB = $(top_srcdir)/xmlroff/*.c $(top_srcdir)/libfo/*.c $(top_srcdir)/libfo/*/*.c # Headers to ignore IGNORE_HFILES = \ config.h \ fo-all-area.h \ fo-all-datatype.h \ fo-all-fo.h \ fo-all-property \ fo-area-area-private.h \ fo-area-layout-private.h \ fo-area-private.h \ fo-area-reference-private.h \ fo-area-spanning-table-cell-private.h \ fo-area-table-cell-private.h \ fo-area-table-continuation-private.h \ fo-area-table-part-private.h \ fo-area-table-private.h \ fo-area-viewport-reference-private.h \ fo-basic-link-private.h \ fo-bidi-override-private.h \ fo-block-area.h \ fo-block-block-area.h \ fo-block-block-private.h \ fo-block-container-area.h \ fo-block-container-private.h \ fo-block-fo-private.h \ fo-block-layout-private.h \ fo-block-private.h \ fo-block-whitespace-private.h \ fo-character-private.h \ fo-color-profile-private.h \ fo-conditional-page-master-reference-private.h \ fo-context-private.h \ fo-datatype-private.h \ fo-declarations-private.h \ fo-doc-private.h \ fo-doc-cairo-private.h \ fo-doc-gp-private.h \ fo-expr-context-private.h \ fo-expr-func-private.h \ fo-external-graphic-area.h \ fo-external-graphic-private.h \ fo-font-desc-private.h \ fo-flow-area.h \ fo-flow-private.h \ fo-fo-private.h \ fo-footnote-body-private.h \ fo-footnote-private.h \ fo-initial-property-set-private.h \ fo-inline-container-private.h \ fo-inline-private.h \ fo-instream-foreign-object-private.h \ fo-layout-private.h \ fo-layout-gp-private.h \ fo-layout-master-set-private.h \ fo-leader-private.h \ fo-length-range-private.h \ fo-libfo.h \ fo-list-block-area.h \ fo-list-block-private.h \ fo-list-item-body-area.h \ fo-list-item-body-private.h \ fo-list-item-label-area.h \ fo-list-item-label-private.h \ fo-list-item-area.h \ fo-list-item-private.h \ fo-marker-parent-private.h \ fo-multi-case-private.h \ fo-multi-properties-private.h \ fo-multi-property-set-private.h \ fo-multi-switch-private.h \ fo-multi-toggle-private.h \ fo-node-private.h \ fo-numeric-private.h \ fo-page-number-citation-private.h \ fo-page-number-private.h \ fo-page-sequence-master-private.h \ fo-page-sequence-area.h \ fo-page-sequence-private.h \ fo-property-border-private.h \ fo-property-margin-private.h \ fo-property-padding-private.h \ fo-property-private.h \ fo-property-type-condity-private.h \ fo-region-after-private.h \ fo-region-before-private.h \ fo-region-body-area.h \ fo-region-body-private.h \ fo-region-end-private.h \ fo-region-start-private.h \ fo-repeatable-page-master-reference-private.h \ fo-root-private.h \ fo-simple-page-master-private.h \ fo-single-page-master-reference-private.h \ fo-static-content-private.h \ fo-table-and-caption-private.h \ fo-table-border-fo-private.h \ fo-table-body-area.h \ fo-table-body-private.h \ fo-table-caption-private.h \ fo-table-cell-area.h \ fo-table-cell-private.h \ fo-table-column-private.h \ fo-table-footer-area.h \ fo-table-footer-private.h \ fo-table-header-area.h \ fo-table-header-private.h \ fo-table-part-private.h \ fo-table-area.h \ fo-table-private.h \ fo-table-row-area.h \ fo-table-row-private.h \ fo-title-private.h \ fo-tree-private.h \ fo-wrapper-block-area.h \ fo-wrapper-block-private.h \ fo-wrapper-inline-private.h \ fo-wrapper-private.h \ fo-wrapper-whitespace-private.h \ fo-xml-doc-private.h \ fo-xml-node-private.h \ fo-xsl-formatter-private.h \ fo-xslt-transformer-private.h \ pango-xsl-attributes.h # Extra files to add when scanning EXTRA_HFILES = # Images to copy into HTML directory HTML_IMAGES = \ xmlroff.css # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE) content_files = \ backends.xml \ basic-interface.xml \ conformance-body.xml \ debugging.xml \ directory-structure.xml \ fo-area-c-file.xml \ fo-c-file.xml \ fo-h-file.xml \ generating-source.xml \ xmlroff-code-rules.xml \ xmlroff-property-decl.ent \ xmlroff-property-ref.ent \ xsl-gobject.xml extra_files = \ xmlroff.fo \ xmlroff.xml xmldir = $(datadir)/xml/libfo-@VERSION@ xml_DATA = \ xmlroff.fo \ xmlroff.xml # CFLAGS and LDFLAGS for compiling scan program. Only needed # if $(DOC_MODULE).types is non-empty. GTKDOC_CFLAGS = \ $(GLIB_CFLAGS) \ -I$(top_srcdir) \ -I$(top_builddir) GTKDOC_LIBS = \ ../libfo/libfo-0.6.la \ $(PANGO_LIBS) \ $(GNOMEPRINT_LIBS) \ $(GDKPIXBUF_LIBS) \ $(FREETYPE_LIBS) \ $(LIBXSLT_LIBS) # Commands for compiling and linking GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) ######################################################################## @ENABLE_MAN_TRUE@man_MANS = xmlroff.1 @ENABLE_MAN_TRUE@BUILT_EXTRA_DIST = $(man_MANS) # mkdir $(distdir)/TEXT; \ # for f in $(srcdir)/TEXT/* ; do \ # test -f $$f && cp -p $$f $(distdir)/TEXT; \ # done # Location of DocBook XSL stylesheet. DOCBOOK_XSL = http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl #################################### # Everything below here is generic # #################################### # We set GPATH here; this gives us semantics for GNU make # which are more like other make's VPATH, when it comes to # whether a source that is a target of one rule is then # searched for in VPATH/GPATH. # GPATH = $(srcdir) TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) EXTRA_DIST = \ $(content_files) \ $(extra_files) \ $(HTML_IMAGES) \ $(DOC_MAIN_SGML_FILE) \ $(DOC_MODULE).types \ $(DOC_MODULE)-sections.txt \ $(DOC_MODULE)-overrides.txt DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp SCANOBJ_FILES = \ $(DOC_MODULE).args \ $(DOC_MODULE).hierarchy \ $(DOC_MODULE).interfaces \ $(DOC_MODULE).prerequisites \ $(DOC_MODULE).signals all: all-am .SUFFIXES: .SUFFIXES: .1 .xml $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu docs/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done install-xmlDATA: $(xml_DATA) @$(NORMAL_INSTALL) test -z "$(xmldir)" || $(mkdir_p) "$(DESTDIR)$(xmldir)" @list='$(xml_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(xmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(xmldir)/$$f'"; \ $(xmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(xmldir)/$$f"; \ done uninstall-xmlDATA: @$(NORMAL_UNINSTALL) @list='$(xml_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(xmldir)/$$f'"; \ rm -f "$(DESTDIR)$(xmldir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook check-am: all-am check: check-am @ENABLE_GTK_DOC_FALSE@all-local: all-am: Makefile $(MANS) $(DATA) all-local installdirs: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(xmldir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-data-local install-man install-xmlDATA install-exec-am: install-info: install-info-am install-man: install-man1 installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic \ maintainer-clean-local mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-man uninstall-xmlDATA uninstall-man: uninstall-man1 .PHONY: all all-am all-local check check-am clean clean-generic \ clean-libtool clean-local dist-hook distclean \ distclean-generic distclean-libtool distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-exec \ install-exec-am install-info install-info-am install-man \ install-man1 install-strip install-xmlDATA installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic maintainer-clean-local mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ uninstall uninstall-am uninstall-info-am uninstall-man \ uninstall-man1 uninstall-xmlDATA @ENABLE_MAN_TRUE@.xml.1: @ENABLE_MAN_TRUE@ @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< dist-hook-local: files='$(BUILT_EXTRA_DIST)'; \ for f in $$files; do \ if test -f $$f; then d=.; else d=$(srcdir); fi; \ cp $$d/$$f $(distdir) || exit 1; done mv $(srcdir)/html/style.css $(srcdir)/html/old-style.css echo "@import \"xmlroff.css\";" > $(srcdir)/html/style.css cat $(srcdir)/html/old-style.css >> $(srcdir)/html/style.css rm $(srcdir)/html/old-style.css xmlroff.fo: xmlroff.xml ../libfo-compat.xsl xsltproc $(DOCBOOK_XSL) xmlroff.xml > xmlroff.tmp xsltproc ../libfo-compat.xsl xmlroff.tmp > xmlroff.fo rm -f xmlroff.tmp @ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp #### scan #### @ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) @ENABLE_GTK_DOC_TRUE@ @echo '*** Scanning header files ***' @ENABLE_GTK_DOC_TRUE@ if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \ @ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ @ENABLE_GTK_DOC_TRUE@ else \ @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) ; \ @ENABLE_GTK_DOC_TRUE@ for i in $(SCANOBJ_FILES) ; do \ @ENABLE_GTK_DOC_TRUE@ test -f $$i || touch $$i ; \ @ENABLE_GTK_DOC_TRUE@ done \ @ENABLE_GTK_DOC_TRUE@ fi @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && \ @ENABLE_GTK_DOC_TRUE@ gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) @ENABLE_GTK_DOC_TRUE@ touch scan-build.stamp @ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp @ENABLE_GTK_DOC_TRUE@ @true #### templates #### @ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt @ENABLE_GTK_DOC_TRUE@ @echo '*** Rebuilding template files ***' @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) @ENABLE_GTK_DOC_TRUE@ touch tmpl-build.stamp @ENABLE_GTK_DOC_TRUE@tmpl.stamp: tmpl-build.stamp @ENABLE_GTK_DOC_TRUE@ @true @ENABLE_GTK_DOC_TRUE@tmpl/*.sgml: @ENABLE_GTK_DOC_TRUE@ @true #### sgml #### @ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml @ENABLE_GTK_DOC_TRUE@ @echo '*** Building SGML ***' @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && \ @ENABLE_GTK_DOC_TRUE@ gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) $(MKDB_OPTIONS) @ENABLE_GTK_DOC_TRUE@ touch sgml-build.stamp @ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp @ENABLE_GTK_DOC_TRUE@ @true #### html #### @ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @ENABLE_GTK_DOC_TRUE@ @echo '*** Building HTML ***' @ENABLE_GTK_DOC_TRUE@ rm -rf $(srcdir)/html @ENABLE_GTK_DOC_TRUE@ mkdir $(srcdir)/html @ENABLE_GTK_DOC_TRUE@ cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) @ENABLE_GTK_DOC_TRUE@ test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) @ENABLE_GTK_DOC_TRUE@ @echo '-- Fixing Crossreferences' @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) @ENABLE_GTK_DOC_TRUE@ touch html-build.stamp ############## clean-local: rm -f *~ *.bak $(SCANOBJ_FILES) *-unused.txt $(DOC_STAMPS) maintainer-clean-local: clean cd $(srcdir) && rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt install-data-local: $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) (installfiles=`echo $(srcdir)/html/*`; \ if test "$$installfiles" = '$(srcdir)/html/*'; \ then echo '-- Nothing to install' ; \ else \ for i in $$installfiles; do \ echo '-- Installing '$$i ; \ $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ done; \ echo '-- Installing $(srcdir)/html/index.sgml' ; \ $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \ fi) # # Require gtk-doc when making dist # @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc: @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc: @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist" @ENABLE_GTK_DOC_FALSE@ @false dist-hook: dist-check-gtkdoc dist-hook-local mkdir $(distdir)/tmpl mkdir $(distdir)/xml mkdir $(distdir)/html -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl -cp $(srcdir)/xml/*.xml $(distdir)/xml -cp $(srcdir)/html/* $(distdir)/html .PHONY : dist-hook-local # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/docs/ChangeLog0000644000175000017500000002477510611742676012650 000000000000002007-01-31 Tony Graham * xmlroff-docs.sgml: Commented out -area.xml files. * Changes added automatically by gtk-doc. 2006-08-10 Tony Graham * .cvsignore, Makefile.am: Added xmlroff.fo, which is generated from xmlroff.xml. * tmpl/fo-property.sgml, xmlroff-sections.txt: Updated files. 2006-06-29 Tony Graham * xmlroff.xml: xmlroff manpage in DocBook XML by Oliver Kiddle. 2006-05-30 Tony Graham * tmpl/libfo-compat.sgml: Documentation for libfo/libfo-compat.[ch]. * xmlroff-sections.txt: Updated for xmlroff 0.3.98. * Updated automatically generated files. * tmpl/result-to-fo.sgml: Removed since result-to-fo.[ch] removed. 2006-05-28 Tony Graham * Makefile.am: Added building bundled copy of PangoXSL. 2006-04-07 Tony Graham * Automated updates to template files. * New autogenerated files. * xmlroff-sections.txt: Updated. * xmlroff-property-decl.ent, xmlroff-property-ref.ent: Added more properties. * xmlroff-docs.sgml: Added more objects. * Makefile.am: Added exlusion of more .h files as sources for generating documentation. 2006-03-14 Tony Graham * Updates to automatically generated files. * xmlroff-docs.sgml: Added new sections. * backends.xml, fo-area-c-file.xml, fo-h-file.xml: Additional documentation. * fo-c-file.xml: Corrected some markup and whitespace. * directory-structure.xml: Added section on 'util'. * debugging.xml: Changed reference to 'PangoPDF' to 'PangoXSL'. * Makefile.am: Updated for 0.4.0. 2006-02-23 Tony Graham * Updated to match xmlroff 0.3.9. * Makefile.am: Added SCAN_OPTIONS=--deprecated-guards="FO_DISABLE_DEPRECATED" so gtk-doc doesn't object to deprecated function. * tmpl/fo-pixbuf.sgml, tmpl/fo-property-extent.sgml: New documentation template files. * .cvsignore: Added .cvsignore files so 'cvs diff' ignores more auto-generated files. 2005-12-06 Tony Graham * Updated to match xmlroff 0.3.8. 2005-11-02 Tony Graham * basic-interface.xml: Changed a to . * xmlroff-docs.sgml, xmlroff-sections.txt: Added FoPixBuf. 2005-09-12 Tony Graham * Updated to match xmlroff 0.3.6. * conformance-body.xml: Added comments about current capabilities. 2005-09-08 Tony Graham * tmpl/fo-image.sgml, xmlroff-docs.sgml: Added FoImage documentation. * Changes to documentation files. 2005-08-17 Tony Graham * Makefile.am: Added conformance-body.xml to $(content_files). 2005-08-16 Tony Graham * tmpl/fo-property-role.sgml, tmpl/xmlroff-unused.sgml, xmlroff-sections.txt: Changes to match changes in the code. 2005-08-14 Tony Graham * xmlroff-docs.sgml: Removed unused entity declaration. * conformance-body.xml, xmlroff-docs.sgml: Added conformance section that is shared with xmlroff-website. 2005-07-30 Tony Graham * Changes in automatically generated files. 2005-07-07 Tony Graham * Changes in automatically generated files. * xmlroff-sections.txt: Updated to match changes in code. * Makefile.am: Added GDKPIXBUF_LIBS to dependencies. 2005-05-01 Tony Graham * xmlroff-docs.sgml: Removed "Other Properties" chapter. Added FoMarkerParent entry. * xmlroff-docs.sgml: Added FoTblr and FoWsc entries. * tmpl/fo-libfo-context.sgml, tmpl/fo-object.sgml, tmpl/fo-property-border.sgml, tmpl/fo-property-util.sgml, tmpl/xmlroff-unused.sgml, tmpl/fo-context.sgml, tmpl/fo-expr-eval.sgml, tmpl/fo-fo.sgml, xmlroff-sections.txt: Automatically updated files. * xmlroff-property-decl.ent, xmlroff-property-ref.ent: Updated to match latest spec-dump. * tmpl/fo-property-border-bottom.sgml, tmpl/fo-property-border-left.sgml, tmpl/fo-property-border-right.sgml, tmpl/fo-property-border-top.sgml, tmpl/fo-wsc.sgml: Documentation for new properties and datatype. 2005-03-10 Tony Graham * xmlroff-docs.sgml: Removed duplicate references to 'margin' and 'padding' properties. Added comments. * tmpl/fo-context.sgml, tmpl/fo-expr-eval.sgml: Automatically-updated files. * tmpl/fo-property-border-width.sgml, xmlroff-property-decl.ent, xmlroff-property-ref.ent, xmlroff-sections.txt, tmpl/fo-property-border-style.sgml: Added 'border-style' and 'border-color' properties. 2005-03-02 Tony Graham * xmlroff-docs.sgml: Added FoHashTable. * tmpl/fo-property-border-color.sgml: 'border-color' property documentation. * tmpl/fo-hash-table.sgml: FoHashTable documentation. * Makefile.am: Added long-missing '\' in content_files declaration. Removed refreference to 'main.xml'. 2005-02-28 Tony Graham * xmlroff-docs.sgml: Added basic interface documentation. * basic-interface.xml: Description of 'basic' libfo interface. * debugging.xml, directory-structure.xml, fo-c-file.xml, generating-source.xml, xmlroff-code-rules.xml: Retagged as sections, not refsections. 2005-01-29 Tony Graham * xmlroff-docs.sgml: Added extra documentation lifted from Wiki pages. * Makefile.am: Added missing files to distribution. 2005-01-03 Tony Graham * debugging.xml, directory-structure.xml, fo-c-file.xml, generating-source.xml: Documentation lifted from xmlroff Wiki. 2004-10-21 Tony Graham * tmpl/fo-area-layout.sgml, tmpl/fo-libfo-context.sgml, tmpl/fo-object.sgml, tmpl/fo-utils.sgml, tmpl/xmlroff-unused.sgml: Automatically updated files. * xmlroff-sections.txt: Removed FoDocPDFLIB and FoLayoutPDFLIB. Other additions and rearrangements. * tmpl/fo-doc-pdflib.sgml, tmpl/fo-layout-pdflib.sgml: Removed since unused. * Makefile.am: Updated GTKDOC_LIBS to include PangoXSL and GNOME Print libs. * xmlroff-docs.sgml: Commented out &xmlroff;. Corrected file for &fo-xml-doc;. 2004-10-12 Tony Graham * xmlroff-docs.sgml: Expunged mentions of PDFlib. * Makefile.am: Updated for changes from libfo-0.3 to libfo-0.3, pangopdf to pangoxsl. 2004-06-03 Tony Graham * Automatically updated existing documentation files. * tmpl/fo-property-padding-after-conditionality.sgml, tmpl/fo-property-padding-after-length.sgml, tmpl/fo-property-padding-before-conditionality.sgml, tmpl/fo-property-padding-before-length.sgml, tmpl/fo-property-padding-end-conditionality.sgml, tmpl/fo-property-padding-end-length.sgml, tmpl/fo-property-padding-start-conditionality.sgml, tmpl/fo-property-padding-start-length.sgml, tmpl/fo-property-type-condity.sgml, tmpl/fo-tblr.sgml: New doc files for new source files. 2004-06-01 Tony Graham * Makefile.am: Added fo-property-type-condity-private.h to $(IGNORE_FILES). 2003-12-17 Tony Graham * xmlroff-sections.txt: Updated and removed some old entries. * Makefile.am: Reordered libraries used to build xmlroff-scan. * Automatically updated existing documentation files. 2003-07-21 Tony Graham * Makefile.am: Added three header files to $(IGNORE_HFILES). 2003-04-14 Tony Graham * xmlroff.types: Added path for include of fo-utils.h. * Makefile.am: Added version major number to libfo.la. 2003-03-19 Tony Graham * xmlroff-docs.sgml: Added new object types. 2003-03-05 Tony Graham * xmlroff-docs.sgml: Added entity for FoPropertyTextPropertyIface documentation. * tmpl/fo-property-text-property.sgml: Autogenerated doc template for FoPropertyTextPropertyIface. * Makefile.am: Added '.h' to filenames in IGNORE_HEADERS. * xmlroff-sections.txt: Reordered and updated to better match xmlroff-decl-list.txt. 2003-03-03 Tony Graham * xmlroff.types: List of _get_type() functions. Mostly generated by gtk-doc. 2003-02-28 Tony Graham * xmlroff-code-rules.sgml: Removed since now using XML version. 2003-02-11 Tony Graham * Updated existing documentation files. 2003-01-08 Tony Graham * xmlroff-code-rules.xml: XML version of xmlroff coding conventions document. 2003-01-07 Tony Graham * New documentation template files. * Updated existing documentation files. 2002-11-22 Tony Graham * Makefile.am: Removed some Pango dependencies. 2002-10-14 Tony Graham * Makefile.am: Added dependencies for building xmlroff-scan.o. * xmlroff-docs.sgml: Removed property entity declarations and references to other files. * xmlroff-property-decl.ent, xmlroff-property-ref.ent: Autogenerated entity declarations and references for properties. * xmlroff-code-rules.sgml: xmlroff coding conventions. * tmpl/*.sgml, xmlroff-sections.txt: Increased coverage to >80%, reduced error messages to 0. 2002-09-19 Tony Graham * tmpl/main.sgml, tmpl/xmlroff-unused.sgml, tmpl/fo-area.sgml, tmpl/fo-context.sgml: Changes. 2002-09-09 Tony Graham * tmpl/expression-parser.sgml, tmpl/fo-area-area.sgml, tmpl/fo-context-util.sgml, tmpl/fo-node.sgml, tmpl/xmlroff-unused.sgml: Changes. 2002-08-28 Tony Graham * tmpl/fo-context.sgml, tmpl/fo-fo.sgml, tmpl/fo-inline-fo.sgml, tmpl/fo-neutral-fo.sgml, tmpl/fo-property.sgml, tmpl/fo-table-area.sgml, tmpl/xmlroff-unused.sgml, tmpl/fo-area.sgml, tmpl/fo-area-viewport-reference.sgml, tmpl/fo-block-fo.sgml, tmpl/fo-block-layout.sgml: Removed FO_OBJECT() macros from fo_object_debug_{dump,sprintf} calls. 2002-08-26 Tony Graham * Makefile.am: Commented out dist-hook-local. 2002-08-14 Tony Graham * tmpl/*.sgml, Makefile.am, xmlroff-docs.sgml, xmlroff-sections.txt: Added more files. 2002-07-29 Tony Graham * Makefile.am, xmlroff-docs.sgml: Documentation for xmlroff. Based on Pango documentation set. xmlroff-0.6.2/docs/backends.xml0000644000175000017500000000507210766206461013355 00000000000000
FoDoc and xmlroff Backends Backends Backends for writing xmlroff output
Backends xmlroff is built with one or more backends that do the work of writing the output file, e.g., PostScript or PDF output. The backends are based on other open source graphics libraries that handle the details of the file formats. xmlroff could have been written to natively write PostScript, PDF, etc., but there's little point doing that when libraries for doing that already exist (or now exist, since, for example, the Cairo library on which the Cairo backend is based is much newer than xmlroff). The key requirement for a backend is that it is possible to render Pango layouts using the backend.
FoDoc is YAPC (Yet Another PostScript Clone) Graphics libraries seemingly all implement some variation on the PostScript imaging model: Drawing is done at an active "point" The "point" has a position, and you can move the "point" to an absolute or relative position on the drawing surface. There are a number of primitive graphic operations Primitive operations exist for moving the point, drawing lines, arcs, and rectangles, and translating the origin of the coordinate system. Drawing is stateful You can set, for example, the stroke colour, and that colour will be used by other drawing operations until you change it again. Graphic states can be saved on a stack Graphic states can be saved and restored so you can, for example, save the state, change the stroke colour, draw something, then restore the state and, by doing so, restore the previous stroke colour, etc. Along with their similarities, graphic libraries have their differences. xmlroff hides the differences between backends by implementing an abstract FoDoc object type that has functions for the graphic operations that xmlroff uses. Each backend is implemented as a subtype of FoDoc. So, as you would expect, FoDoc is yet another PostScript clone.
xmlroff-0.6.2/docs/basic-interface.xml0000644000175000017500000000753010741742675014630 00000000000000
Basic Interface Using the basic interface
Overview The libfo basic interface defined in fo-lifo-basic.h provides a high-level interface to the formatter while hiding the use of GObjects.
Lifecycle The lifecycle is init–format–shutdown.
Initialise There are two ways to initialise the basic formatter. The first way leaves memory allocation under the control of the formatter. The second way allows the calling program to provide the functions to be used for allocating, reallocating, and freeing memory. gboolean fo_libfo_init (void); typedef gpointer (*FoMalloc) (gsize n_bytes); typedef gpointer (*FoRealloc) (gpointer mem, gsize n_bytes); typedef void (*FoFree) (gpointer mem); gboolean fo_libfo_init2 (FoMalloc fo_malloc, FoRealloc fo_realloc, FoFree fo_free); In both cases, the return value is an indication of whether or not the formatter was successfully initialised. The functions return TRUE on success, and FALSE on failure.
Format There is one function for performing the formatting. The inputs are: libfo_context Information controlling the formatting. See below. xml The filename of the input XML file. xslt The filename of the stylesheet file to apply. out The filename of the output PDF or PostScript file. error Indication of any error that occured. The return value is an indication of the success or failure of the formatting. The function returns TRUE on success, and FALSE on failure. When the return value is FALSE, the error value contains information about any error that occurred. gboolean fo_libfo_format (FoLibfoContext *libfo_context, const gchar *xml, const gchar *xslt, const gchar *out, GError **error);
Shutdown There is one function for shutting down the formatter. gboolean fo_libfo_shutdown (void); The return value is an indication of the success or failure of the formatting. The function returns TRUE on success, and FALSE on failure. However, if the shutdown does fail, there isn't a whole lot that you can then do.
<classname>FoLibfoContext</classname> You can use a FoLibfoContext to control aspects of the formatting, including: Output format (currently ignored). Font embedding (currently ignored). Validation of input XML document. Use or non-use of SGML catalogs when parsing inputs. Warning mode. Debug mode.
xmlroff-0.6.2/docs/conformance-body.xml0000644000175000017500000017510610766571631015042 00000000000000The XSL Recommendation defines the behaviors of two classes of formatters based on their media type: visual and aural. It further divides the class of visual formatters into interactive media and non-interactive media formatters. xmlroff is a visual formatter for non-interactive media. xmlroff implements a range of formatting objects and properties from the Basic, Extended, and Complete conformance levels. xmlroff does not claim Basic conformance to the XSL Recommendation since it does not yet implement all of the Basic level formatting objects and properties. xmlroff supports both "lr-tb" and "rl-tb" values of the writing-mode property (and the "lr" and "rl" shorthands).
Conformance Levels From Section 8, Conformance, of the XSL Recommendation:
This specification defines three levels of conformance, in order of completeness: Level Description Basic Includes the set of formatting objects and properties needed to support a minimum level of pagination or aural rendering. Extended Includes everything else, except for shorthands. It is intended for applications whose goal is to provide sophisticated pagination. Complete Includes everything. Conformance to this specification is expressed in terms of conformance to any of the above levels. An application that claims conformance to a given level of this specification must implement all the formatting objects and properties that apply to it for a given medium.
Conformance for visual and aural XSL formatters is defined separately for each formatting object. For example, implementing fo:page-number is necessary for Basic level conformance for a visual formatter, but only necessary for Extended level conformance for an aural formatter. In contrast, formatting object properties only have one defined conformance level, but there are also some properties that apply to only one class of formatter. For example, page-height and voice-family are both in the set of properties for Basic level conformance, but page-height applies only to visual media and voice-family applies only to aural media. Appendix B and Section C.3 of the XSL Recommendation list a proposed fallback treatment for each Extended level formatting object and property. The fallbacks are defined "[i]n order to ensure interoperability." Also, "[c]orrect processing of fallbacks does not constitute conformance." All formatting objects are assigned to either Basic or Extended level conformance. There are no Complete level formatting objects. Some formatting objects are specific to Extended level conformant interactive media formatters. Non-interactive media formatters such as xmlroff, however, must, for Extended level conformance, implement the proposed fallback treatment of the Extended level interactive media formatting objects.
Stated Conformance The stated conformance also has three levels: Level Description Yes xmlroff implements the formatting object, property, or fallback behaviour, possibly with some caveats. No xmlroff does not implement the formatting object, property, or fallback behaviour, but a workaround may also be suggested. N/A xmlroff does not need to formatting object, property, or fallback behaviour. For example, xmlroff does not implement properties for aural or interactive presentation, and it does not implement fallback behaviour for implemented formatting objects.
Formatting Objects All the formatting object specified by the XSL 1.0 Recommendation are accepted. Not all are supported, however. The following tables are based on the tables in Appendix B of the XSL Recommendation. The conformance level and proposed fallback treatment for visual processors are shown along with an indication of whether xmlroff implements the formatting object or the fallback treatment. Conformance level and fallbacks for aural processors are not shown.
Declaration and Pagination and Layout Formatting Objects Formatting ObjectLevelxmlroffFallbackxmlroff fo:root Basic Yes - N/A fo:page-sequence Basic Yes - N/A fo:page-sequence-master Basic Yes - N/A fo:single-page-master-reference Basic No - N/A fo:repeatable-page-master-reference Basic No - N/A fo:repeatable-page-master-alternatives Extended No Use the page-master referenced in the first fo:conditional-page-master-reference child No fo:conditional-page-master-reference Extended No Use the page-master referenced in the first fo:conditional-page-master-reference child No fo:layout-master-set Basic Yes - N/A fo:simple-page-master Basic Yes - N/A fo:region-body Basic Yes - N/A fo:region-before Extended No Include after content of body region is placed No fo:region-after Extended No Include after content of body region is placed. No fo:region-start Extended No Include after content of body region is placed No fo:region-end Extended No Include after content of body region is placed No fo:declarations Basic Yes - N/A fo:color-profile Extended No Ignore, use the sRGB fallback of the rgb-icc function No fo:flow Basic Yes - N/A fo:static-content Extended No Include after content of body region is placed No fo:title Extended No Include before content of body region is placed No
Block Formatting Objects Formatting ObjectLevelxmlroffFallbackxmlroff fo:block Basic Yes - N/A fo:block-container Extended No Display indication that content cannot be correctly rendered No
Inline Formatting Objects Formatting ObjectLevelxmlroffFallbackxmlroff fo:bidi-override Extended Yes Display indication that content cannot be correctly rendered. N/A fo:character Basic Yes - N/A fo:initial-property-set Extended No Ignore any properties specified on this object. Yes fo:external-graphic Basic Yes. Supported formats determined by underlying graphics library. - N/A fo:instream-foreign-object Extended No Display an indication that content cannot be correctly rendered. No fo:inline Basic Yes - N/A fo:inline-container Extended No Display indication that content cannot be correctly rendered. No fo:leader Basic No - N/A fo:page-number Basic No - N/A fo:page-number-citation Extended No Display an indication that content cannot be correctly rendered. No
Table Formatting Objects Formatting ObjectLevelxmlroffFallbackxmlroff fo:table-and-caption Basic No - N/A fo:table Basic Yes - N/A fo:table-column Basic Yes - N/A fo:table-caption Extended No caption-side="start" becomes caption-side="before" caption-side="end" becomes caption-side="after" caption-side="left" becomes caption-side="before" caption-side="right" becomes caption-side="after" No fo:table-header Basic No - N/A fo:table-footer Extended No Place at end of table. Yes fo:table-body Basic Yes - N/A fo:table-row Basic Yes - N/A fo:table-cell Basic Yes - N/A
List Formatting Objects Formatting ObjectLevelxmlroffFallbackxmlroff fo:list-block Basic Yes - N/A fo:list-item Basic Yes - N/A fo:list-item-body Basic Yes - N/A fo:list-item-label Extended Yes Labels that break across multiple lines are treated as separate blocks before list-item-body. N/A
Link and Multi Formatting Objects xmlroff is a non-interactive media formatter. Only the fallback treatment for the interactive media formatting objects will be implemented. Formatting ObjectLevelxmlroffFallbackxmlroff fo:basic-link Extended No Promote content to parent formatting object. No fo:multi-switch Extended. Need not be implemented for extended conformance for non-interactive media No For basic conformance and extended conformance for non-interactive media: utilize the contents of the first eligible multi-case formatting object. No fo:multi-case Basic Needed as wrapper for fallback for multi-switch No - N/A fo:multi-toggle Extended. Need not be implemented for extended conformance for non-interactive media No For basic conformance and extended conformance for non-interactive media: promote content to parent formatting object. No fo:multi-properties Extended. Need not be implemented for extended conformance for non-interactive media No For basic conformance and extended conformance for non-interactive media: promote content to parent formatting object. No fo:multi-property-set Extended. Need not be implemented for extended conformance for non-interactive media No For basic conformance and extended conformance for non-interactive media: ignore. No
Out-of-line Formatting Objects Formatting ObjectLevelxmlroffFallbackxmlroff fo:float Extended No Place inline. No fo:footnote Extended No Place inline. No fo:footnote-body Extended No Place inline. No
Other Formatting Objects Formatting ObjectLevelxmlroffFallbackxmlroff fo:wrapper Basic Yes - N/A fo:marker Extended No Ignore. Yes fo:retrieve-marker Extended No Display indication that content cannot be correctly rendered. No
Properties PropertyValuesLevelxmlroff absolute-positionauto | absolute | fixed | inheritCompleteNo active-statelink | visited | active | hover | focusExtendedN/A alignment-adjustauto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | <percentage> | <length> | inheritBasicYes alignment-baselineauto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | inheritBasicYes auto-restoretrue | falseExtendedN/A azimuth<angle> | [[ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards | inheritBasicN/A background[<background-color> || <background-image> || <background-repeat> || <background-attachment> || <background-position> ]] | inheritCompleteNo background-attachmentscroll | fixed | inheritExtendedNo background-color<color> | transparent | inheritBasicYes background-image<uri-specification> | none | inheritExtendedNo background-position[ [<percentage> | <length> ]{1,2} | [ [top | center | bottom] || [left | center | right] ] ] | inheritCompleteNo background-position-horizontal<percentage> | <length> | left | center | right | inheritExtendedNo background-position-vertical<percentage> | <length> | top | center | bottom | inheritExtendedNo background-repeatrepeat | repeat-x | repeat-y | no-repeat | inheritExtendedNo baseline-shiftbaseline | sub | super | <percentage> | <length> | inheritBasicYes blank-or-not-blankblank | not-blank | any | inheritExtendedNo block-progression-dimensionauto | <length> | <percentage> | <length-range> | inheritBasicYes border[ <border-width> || <border-style> || <color> ] | inheritCompleteYes border-after-color<color> | inheritBasicYes border-after-precedenceforce | <integer> | inheritBasicNo border-after-style<border-style> | inheritBasicYes border-after-width<border-width> | <length-conditional> | inheritBasicYes border-before-color<color> | inheritBasicYes border-before-precedenceforce | <integer> | inheritBasicNo border-before-style<border-style> | inheritBasicYes border-before-width<border-width> | <length-conditional> | inheritBasicYes border-bottom[ <border-width> || <border-style> || <color> ] | inheritCompleteYes border-bottom-color<color> | inheritBasicYes border-bottom-style<border-style> | inheritBasicYes border-bottom-width<border-width> | inheritBasicYes border-collapsecollapse | collapse-with-precedence | separate | inheritExtendedNo border-color[ <color> | transparent ]{1,4} | inheritCompleteYes border-end-color<color> | inheritBasicYes border-end-precedenceforce | <integer> | inheritBasicNo border-end-style<border-style> | inheritBasicYes border-end-width<border-width> | <length-conditional> | inheritBasicYes border-left[ <border-width> || <border-style> || <color> ] | inheritCompleteYes border-left-color<color> | inheritBasicYes border-left-style<border-style> | inheritBasicYes border-left-width<border-width> | inheritBasicYes border-right[ <border-width> || <border-style> || <color> ] | inheritCompleteYes border-right-color<color> | inheritBasicYes border-right-style<border-style> | inheritBasicYes border-right-width<border-width> | inheritBasicYes border-separation<length-bp-ip-direction> | inheritExtendedNo border-spacing<length> <length>? | inheritCompleteNo border-start-color<color> | inheritBasicYes border-start-precedenceforce | <integer> | inheritBasicNo border-start-style<border-style> | inheritBasicYes border-start-width<border-width> | <length-conditional> | inheritBasicYes border-style<border-style>{1,4} | inheritCompleteYes border-top[ <border-width> || <border-style> || <color> ] | inheritCompleteYes border-top-color<color> | inheritBasicYes border-top-style<border-style> | inheritBasicYes border-top-width<border-width> | inheritBasicYes border-width<border-width>{1,4} | inheritCompleteYes bottom<length> | <percentage> | auto | inheritExtendedNo. Use individual properties instead. break-afterauto | column | page | even-page | odd-page | inheritBasicYes break-beforeauto | column | page | even-page | odd-page | inheritBasicYes caption-sidebefore | after | start | end | top | bottom | left | right | inheritCompleteNo case-name<name>ExtendedN/A case-title<string>ExtendedN/A character<character>BasicYes clearstart | end | left | right | both | none | inheritExtendedNo clip<shape> | auto | inheritExtendedNo color<color> | inheritBasicYes color-profile-name<name> | inheritExtendedNo column-count<number> | inheritExtendedNo column-gap<length> | <percentage> | inheritExtendedNo column-number<number>BasicYes column-width<length> | <percentage>BasicYes content-heightauto | scale-to-fit | <length> | <percentage> | inheritExtendedNo content-type<string> | autoExtendedNo. Content type is detected automatically by the image library. content-widthauto | scale-to-fit | <length> | <percentage> | inheritExtendedNo countrynone | <country> | inheritExtendedNo cue<cue-before> || <cue-after> | inheritCompleteN/A cue-after<uri-specification> | none | inherit BasicN/A cue-before<uri-specification> | none | inherit BasicN/A destination-placement-offset<length>ExtendedNo directionltr | rtl | inheritBasicYes display-alignauto | before | center | after | inheritExtendedfo:table-cell only dominant-baselineauto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge | inheritBasicYes elevation<angle> | below | level | above | higher | lower | inheritBasicN/A empty-cellsshow | hide | inheritExtendedNo end-indent<length> | <percentage> | inheritBasicYes ends-rowtrue | falseExtendedNo extent<length> | <percentage> | inheritExtendedNo external-destination<uri-specification>ExtendedNo floatbefore | start | end | left | right | none | inheritExtendedNo flow-name<name>BasicYes font[ [ <font-style> || <font-variant> || <font-weight> ]? <font-size> [ / <line-height>]? <font-family> ] | caption | icon | menu | message-box | small-caption | status-bar | inheritCompleteNo. Use individual properties instead. font-family[[ <family-name> | <generic-family> ],]* [<family-name> | <generic-family>] | inheritBasicYes font-selection-strategyauto | character-by-character | inheritCompleteNo font-size<absolute-size> | <relative-size> | <length> | <percentage> | inheritBasicYes font-size-adjust<number> | none | inheritExtendedNo font-stretchnormal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inheritExtendedYes font-stylenormal | italic | oblique | backslant | inheritBasicYes font-variantnormal | small-caps | inheritBasicYes font-weightnormal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inheritBasicYes force-page-countauto | even | odd | end-on-even | end-on-odd | no-force | inheritExtendedNo format<string>BasicYes glyph-orientation-horizontal<angle> | inheritExtendedNo glyph-orientation-verticalauto | <angle> | inheritExtendedNo grouping-separator<character>ExtendedYes grouping-size<number>ExtendedYes height<length> | <percentage> | auto | inheritBasicYes hyphenatefalse | true | inheritExtendedNo hyphenation-character<character> | inheritExtendedNo hyphenation-keepauto | column | page | inheritExtendedNo hyphenation-ladder-countno-limit | <number> | inheritExtendedNo hyphenation-push-character-count<number> | inheritExtendedNo hyphenation-remain-character-count<number> | inheritExtendedNo id <id>BasicYes indicate-destinationtrue | falseExtendedNo initial-page-numberauto | auto-odd | auto-even | <number> | inheritBasicYes inline-progression-dimensionauto | <length> | <percentage> | <length-range> | inheritBasicYes internal-destinationempty string | <idref>ExtendedNo intrusion-displaceauto | none | line | indent | block | inheritExtendedNo keep-together<keep> | inheritExtendedYes keep-with-next<keep> | inheritBasicYes keep-with-previous<keep> | inheritBasicYes languagenone | <language> | inheritExtendedNo last-line-end-indent<length> | <percentage> | inheritExtendedNo leader-alignmentnone | reference-area | page | inheritExtendedNo leader-length<length-range> | <percentage> | inheritBasicNo leader-patternspace | rule | dots | use-content | inheritBasicNo leader-pattern-widthuse-font-metrics | <length> | <percentage> | inheritExtendedNo left<length> | <percentage> | auto | inheritExtendedNo letter-spacingnormal | <length> | <space> | inheritExtendedNo letter-valueauto | alphabetic | traditionalBasicYes linefeed-treatmentignore | preserve | treat-as-space | treat-as-zero-width-space | inheritExtendedNo line-heightnormal | <length> | <number> | <percentage> | <space> | inheritBasicYes line-height-shift-adjustmentconsider-shifts | disregard-shifts | inheritExtendedNo line-stacking-strategyline-height | font-height | max-height | inheritBasicYes margin<margin-width>{1,4} | inherit CompleteNo. Use individual properties instead. margin-bottom<margin-width> | inheritBasicYes margin-left<margin-width> | inheritBasicYes margin-right<margin-width> | inheritBasicYes margin-top<margin-width> | inheritBasicYes marker-class-name<name>ExtendedNo master-name<name>BasicYes master-reference<name>BasicYes max-height<length> | <percentage> | none | inherit CompleteNo maximum-repeats<number> | no-limit | inheritExtendedNo max-width<length> | <percentage> | none | inheritCompleteNo media-usageauto | paginate | bounded-in-one-dimension | unboundedExtendedYes min-height<length> | <percentage> | inherit CompleteNo min-width<length> | <percentage> | inheritCompleteNo number-columns-repeated<number>BasicYes number-columns-spanned<number>BasicYes number-rows-spanned<number>BasicYes odd-or-evenodd | even | any | inheritExtendedNo orphans<integer> | inheritBasicYes overflowvisible | hidden | scroll | error-if-overflow | auto | inheritBasicNo padding<padding-width>{1,4} | inheritCompleteYes padding-after<padding-width> | <length-conditional> | inheritBasicYes padding-before<padding-width> | <length-conditional> | inheritBasicYes padding-bottom<padding-width> | inheritBasicYes padding-end<padding-width> | <length-conditional> | inheritBasicYes padding-left<padding-width> | inheritBasicYes padding-right<padding-width> | inheritBasicYes padding-start<padding-width> | <length-conditional> | inheritBasicYes padding-top<padding-width> | inheritBasicYes page-break-afterauto | always | avoid | left | right | inheritCompleteNo page-break-beforeauto | always | avoid | left | right | inheritCompleteNo page-break-insideavoid | auto | inheritCompleteNo page-heightauto | indefinite | <length> | inheritBasicYes page-positionfirst | last | rest | any | inheritExtendedNo page-widthauto | indefinite | <length> | inheritBasicYes pause[<time> | <percentage>]{1,2} | inheritCompleteN/A pause-after<time> | <percentage> | inheritBasicN/A pause-before<time> | <percentage> | inheritBasicN/A pitch<frequency> | x-low | low | medium | high | x-high | inheritBasicN/A pitch-range<number> | inheritBasicN/A play-during<uri-specification> mix? repeat? | auto | none | inherit BasicN/A positionstatic | relative | absolute | fixed | inheritCompleteNo precedencetrue | false | inheritExtendedNo provisional-distance-between-starts<length> | <percentage> | inheritBasicYes provisional-label-separation<length> | <percentage> | inheritBasicYes reference-orientation 0 | 90 | 180 | 270 | -90 | -180 | -270 | inheritExtendedNo ref-id<idref> | inheritExtendedNo region-namexsl-region-body | xsl-region-start | xsl-region-end | xsl-region-before | xsl-region-after | xsl-before-float-separator | xsl-footnote-separator | <name>BasicYes relative-alignbefore | baseline | inheritExtendedNo relative-positionstatic | relative | inheritExtendedNo rendering-intentauto | perceptual | relative-colorimetric | saturation | absolute-colorimetric | inheritExtendedNo retrieve-boundarypage | page-sequence | documentExtendedNo retrieve-class-name<name>ExtendedNo retrieve-positionfirst-starting-within-page | first-including-carryover | last-starting-within-page | last-ending-within-pageExtendedNo richness<number> | inheritBasicN/A right<length> | <percentage> | auto | inheritExtendedNo role<string> | <uri-specification> | none | inheritBasicYes rule-stylenone | dotted | dashed | solid | double | groove | ridge | inheritBasicNo rule-thickness<length>BasicNo scalinguniform | non-uniform | inheritExtendedNo scaling-methodauto | integer-pixels | resample-any-method | inheritExtendedNo score-spacestrue | false | inheritExtendedNo scriptnone | auto | <script> | inheritExtendedNo show-destinationreplace | newExtendedNo size<length>{1,2} | auto | landscape | portrait | inheritCompleteNo source-document<uri-specification> [<uri-specification>]* | none | inheritBasicYes space-after<space> | inheritBasicYes space-before<space> | inheritBasicYes space-end<space> | <percentage> | inheritBasicYes space-start<space> | <percentage> | inheritBasicYes spannone | all | inheritExtendedNo speaknormal | none | spell-out | inheritBasicN/A speak-headeronce | always | inheritBasicN/A speak-numeraldigits | continuous | inheritBasicN/A speak-punctuationcode | none | inheritBasicN/A speech-rate<number> | x-slow | slow | medium | fast | x-fast | faster | slower | inheritBasicN/A src<uri-specification> | inheritBasicYes. Only local files are supported at present. start-indent<length> | <percentage> | inheritBasicYes starting-stateshow | hideExtendedNo starts-rowtrue | falseExtendedNo stress<number> | inheritBasicN/A suppress-at-line-breakauto | suppress | retain | inheritExtendedNo switch-toxsl-preceding | xsl-following | xsl-any | <name>[ <name>]*ExtendedNo table-layoutauto | fixed | inheritExtended'fixed' only table-omit-footer-at-breaktrue | falseExtendedNo table-omit-header-at-breaktrue | falseExtendedNo target-presentation-contextuse-target-processing-context | <uri-specification>ExtendedNo target-processing-contextdocument-root | <uri-specification>ExtendedNo target-stylesheetuse-normal-stylesheet | <uri-specification>ExtendedNo text-alignstart | center | end | justify | inside | outside | left | right | <string> | inheritBasicYes text-align-lastrelative | start | center | end | justify | inside | outside | left | right | inheritExtendedNo text-altitudeuse-font-metrics | <length> | <percentage> | inheritExtendedNo text-decorationnone | [ [ underline | no-underline] || [ overline | no-overline ] || [ line-through | no-line-through ] || [ blink | no-blink ] ] | inheritExtendedNo text-depthuse-font-metrics | <length> | <percentage> | inheritExtendedNo text-indent<length> | <percentage> | inheritBasicYes text-shadownone | [<color> || <length> <length> <length>? ,]* [<color> || <length> <length> <length>?] | inheritExtendedNo text-transformcapitalize | uppercase | lowercase | none | inheritExtendedNo top<length> | <percentage> | auto | inheritExtendedNo treat-as-word-spaceauto | true | false | inheritExtendedNo unicode-bidinormal | embed | bidi-override | inheritExtendedYes vertical-alignbaseline | middle | sub | super | text-top | text-bottom | <percentage> | <length> | top | bottom | inheritCompleteNo visibilityvisible | hidden | collapse | inheritExtendedNo voice-family[[<specific-voice> | <generic-voice> ],]* [<specific-voice> | <generic-voice> ] | inheritBasicN/A volume<number> | <percentage> | silent | x-soft | soft | medium | loud | x-loud | inheritBasicN/A white-spacenormal | pre | nowrap | inheritCompleteNo white-space-collapsefalse | true | inheritExtendedNo white-space-treatmentignore | preserve | ignore-if-before-linefeed | ignore-if-after-linefeed | ignore-if-surrounding-linefeed | inheritExtendedNo widows<integer> | inheritBasicYes width<length> | <percentage> | auto | inheritBasicNo word-spacingnormal | <length> | <space> | inheritExtendedNo wrap-optionno-wrap | wrap | inheritBasicNo writing-modelr-tb | rl-tb | tb-rl | lr | rl | tb | inheritBasicYes xml:lang<country-language> | inheritCompleteNo z-indexauto | <integer> | inheritExtendedNo
xmlroff-0.6.2/docs/debugging.xml0000644000175000017500000001706510760764470013546 00000000000000
Debugging xmlroff Debugging xmlroff
Command Line
-d2 command line switch dumps FO tree Each node shows its type [FoTree], its address [0x82a0698], and its reference count [1]. Values of the node's properties (GObject properties, which mostly correspond to XSL properties) are shown indented underneath the node information. Properties of the node's parent type (and that type's parent type, etc.) are shown indented relative to the properties of the node's type. [xmlroff]$ ./xmlroff -d2 xmlroff.fo (process:16930): libfo-DEBUG: FoTree (0x82a0698 : 1) (process:16930): libfo-DEBUG: default-master: 0x82c7530 (process:16930): libfo-DEBUG: master-name hash: (process:16930): libfo-DEBUG: first : 0x82c7530 (process:16930): libfo-DEBUG: page-sequence-master-name hash: (process:16930): libfo-DEBUG: generate-reference-area: FALSE (process:16930): libfo-DEBUG: allow-mixed-content: FALSE (process:16930): libfo-DEBUG: element: (nil) (process:16930): libfo-DEBUG: context: 0x82a6d48 (process:16930): libfo-DEBUG: areas: (process:16930): libfo-DEBUG: 0x82c6a40 (process:16930): libfo-DEBUG: root (0x82c6c00 : 1) (process:16930): libfo-DEBUG: media-usage (0x82bd838 : 72) (process:16930): libfo-DEBUG: FoEnum (0x82be270 : 2) : auto (process:16930): libfo-DEBUG: generate-reference-area: FALSE (process:16930): libfo-DEBUG: allow-mixed-content: FALSE (process:16930): libfo-DEBUG: element: 0x82a8e68 (process:16930): libfo-DEBUG: context: 0x82dfd48 (process:16930): libfo-DEBUG: areas: (process:16930): libfo-DEBUG: (none) ...
-d4 command line switch dumps area tree [xmlroff]$ ./xmlroff -d4 xmlroff.fo (process:16932): libfo-DEBUG: FoAreaTree (0x82c6a40 : 1) (process:16932): libfo-DEBUG: context: 0x82c6a90 (process:16932): libfo-DEBUG: is-first: true (process:16932): libfo-DEBUG: prev-part: (null) (process:16932): libfo-DEBUG: is-last: true (process:16932): libfo-DEBUG: next-part: (null) (process:16932): libfo-DEBUG: next-x: 0 pt (process:16932): libfo-DEBUG: next-y: 0 pt (process:16932): libfo-DEBUG: available-width: 0 pt (process:16932): libfo-DEBUG: available-height: 0 pt (process:16932): libfo-DEBUG: child-available-ipdim: 0 pt (process:16932): libfo-DEBUG: child-available-bpdim: 0 pt (process:16932): libfo-DEBUG: generated-by: (null) (process:16932): libfo-DEBUG: reference: (null) (process:16932): libfo-DEBUG: page: (null) (process:16932): libfo-DEBUG: FoAreaPage (0x82e4300 : 2) (process:16932): libfo-DEBUG: page-number: 1 (process:16932): libfo-DEBUG: page-width: 576 pt (process:16932): libfo-DEBUG: page-height: 792 pt (process:16932): libfo-DEBUG: margin-top: 72 pt (process:16932): libfo-DEBUG: margin-bottom: 72 pt (process:16932): libfo-DEBUG: margin-left: 72 pt (process:16932): libfo-DEBUG: margin-right: 72 pt (process:16932): libfo-DEBUG: bpd: 3 (process:16932): libfo-DEBUG: ipd: 1 (process:16932): libfo-DEBUG: sd: 4 (process:16932): libfo-DEBUG: x: 0 pt (process:16932): libfo-DEBUG: y: 0 pt (process:16932): libfo-DEBUG: width: 0 pt (process:16932): libfo-DEBUG: height: 0 pt ...
-d8 command line switch dumps PangoAttribute information [xmlroff]$ ./xmlroff -d8 xmlroff.fo (process:16933): libfo-DEBUG: get_text_attr_list:: block text: 'xmlroff ? Sun xmlroff XSL Formatter' (process:16933): libfo-DEBUG: get_text_attr_list:: attr_glist: 0x82aa650 (process:16933): libfo-DEBUG: get_text_attr_list:: attr_glist length: 26 (process:16933): libfo-DEBUG: dump_attr_list:: String: (process:16933): libfo-DEBUG: dump_attr_list:: start: 0; end: 7 (process:16933): libfo-DEBUG: dump_attr_list:: start: 7; end: 37 (process:16933): libfo-DEBUG: dump_attr_list:: start: 37; end: 2147483647 (process:16933): libfo-DEBUG: dump_attr_list:: Font family: (process:16933): libfo-DEBUG: dump_attr_list:: start: 0; end: 7; family: mono (process:16933): libfo-DEBUG: dump_attr_list:: start: 7; end: 37; family: sans-serif (process:16933): libfo-DEBUG: dump_attr_list:: Font size: (process:16933): libfo-DEBUG: dump_attr_list:: start: 0; end: 7; size: 10 (process:16933): libfo-DEBUG: dump_attr_list:: start: 7; end: 37; size: 10 ...
Aborting on critical log message xmlroff often gives "CRITICAL" error messages when something goes wrong. For example: (xmlroff:4384): libfo-CRITICAL **: fo_area_area_split_before_height_check: assertion `max_height > 0' failed If you want to abort on the critical error so you can use a debugger on the core file, according to http://library.gnome.org/devel/glib/stable/glib-running.html, if you set G_DEBUG=fatal-critical, xmlroff should abort.
Using GDB or other debugger
Statically link xmlroff GDB, at least, has more to work with when you build a statically linked xmlroff executable. Add --enable-static --disable-shared to the configure.in (or autogen.sh if building from CVS) command line.
Break on g_log If you are getting an error message and you can't work out what's causing it, break on g_log so you break just before the message is emitted. After the break, you can go up several stack frames to where g_error (or similar) is called. By going up enough stack frames, you can usually work out what property or what FO experienced the error. Note that you should disable the breakpoint on g_log if you are going to interactively call any functions that use g_log.
Functions useful when debugging interatively fo_object_sprintf(object) The 'nice' printout of the object. fo_object_debug_sprintf(object) The 'nice' printout of the object plus its adress and reference count. fo_object_debug_dump(object,indent) Dump everything about the object and its descendants (if it's part of a tree, that is). fo_node_path_to_root_sprintf(node) Print XPath-like locator for node. fo_node_debug_dump_tree(node) Dumps just the FoNode objects, not their properties, in the tree rooted at node.
xmlroff-0.6.2/docs/directory-structure.xml0000644000175000017500000000557411020503607015636 00000000000000
Structure of the xmlroff files Directory Structure
Directory structure xmlroff libfo area datatype docs expr fo property util xmlroff
xmlroff This is the root directory of the xmlroff source code tree. It contains the configuration files but no C source code.
xmlroff/libfo Top-level interfaces for accessing the 'libfo' library. .c and .h files for top-level, non-object source code as well as the .c and .h files for the top-level FoContext, FoObject and FoNode object types. fo-context.[ch] are autogenerated (then modified).
xmlroff/libfo/area Source code for area objects. None of these files are autogenerated.
xmlroff/libfo/datatype Source code for datatype objects. None of these files are autogenerated.
xmlroff/docs Documentation that is built using gtk-doc (which has a strong resemblance to Javadoc). A lot of the files are autogenerated by the gtk-doc tools. xmlroff-property-{decl,ref}.ent are autogenerated by XSL stylesheets.
xmlroff/libfo/expr Property value expression parser. None of these files are autogenerated.
xmlroff/libfo/fo Source code for GObject objects corresponding to XSL formatting objects. fo-*.c, fo-*.h, and fo-*-private.h are autogenerated but may have been additionally hand modified. fo-*-area.[ch] are not autogenerated. fo-tree*.[ch] are not autogenerated. fo-inline-fo.[ch] and fo-block-fo.[ch] are not autogenerated.
xmlroff/property Source code for GObject objects corresponding to XSL formatting object properties. fo-property-*.[ch] are autogenerated, but may have been hand modified.
xmlroff/libfo/util Source code for GObject objects that are useful but which don't relate to anything in the XSL spec, e.g., an FoObject-ified hash table implementation. None of the code is autogenerated.
xmlroff/xmlroff Source code for the 'xmlroff' command-line executable. None of the code is autogenerated.
xmlroff-0.6.2/docs/fo-area-c-file.xml0000644000175000017500000001157410741742675014263 00000000000000
Anatomy of a Formatting Object area source code file FO -area.c File Anatomy of a Formatting Object area source code file These files are not autogenerated. Some, but not all, formatting objects generate areas. Those that do generate areas and are implemented in xmlroff have an -area.c and area.h file. The -area.[ch] files exist to implement fo_fo_area_new2() for the GObject class for the formatting object (or, for formatting objects implemented early and not yet brought up to date, to implement fo_fo_area_new()). The _area_new2() or _area_new() function creates an area of the type appropriate for the formatting object and adds it to the formatting object tree. The differences between the _area_new2() and _area_new() functions are really just in their interface: the _area_new2() functions get most of their inputs in a FoFoAreaNew2Context structure rather than as individual arguments. The _area_new2() functions also have a GError argument for error reporting. The least straightforward -area.c file is fo-block-area.c, since that's where FoText and inline formatting objects are made into Pango layouts. The rest are mostly straightforward.
Initial comment /* Fo * fo-table-body-area.c: Generate area for 'table-body' formatting object * * Copyright (C) 2001 Sun Microsystems * * $Id: fo-area-c-file.xml,v 1.1 2006/03/14 19:42:57 tonygraham Exp $ * * See Copying for the status of this software. */
#includes #include <fo-area-table-body.h> The public interface for the type of area generated by this formatting object. #include <fo-table-body-private.h> The private interface of this formatting object type.
FoFo _area_new2() Add the area generated by the formatting object to the area tree. /** * fo_table_body_area_new2: * @fo: #FoTableBody * @context: #FoFoAreaNew2Context * @error: #GError * * Create a new area for @fo and add it to the parent area. * * A pointer to the parent area is in @context. **/ void fo_table_body_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error) { FoTableBody *table_body = (FoTableBody *) fo; FoArea *use_parent_area; FoArea *new_area; g_return_if_fail (table_body != NULL); g_return_if_fail (FO_IS_TABLE_BODY (table_body)); g_return_if_fail (context != NULL); g_return_if_fail (error == NULL || *error == NULL); new_area = fo_area_table_body_new (); use_parent_area = context->parent_area; #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-body parent before new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-body parent"); #endif FO_AREA (new_area)->generated_by = fo; Areas keep track of which FO generated them so they can get some property values, e.g., colors, from the FO rather than loading the area objects with duplicates of all the applicable formatting object property values. FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, new_area); FOs keep track of which areas they've generated fo_area_add_child (use_parent_area, new_area); Attach the new area to the area tree. new_area = fo_area_size_request (new_area); The new area asks its parent to allocate space for it. Anything could happen at this point: the area might not fit in the space remaining for it on the current page, so the new area, the parent area, and all containing areas up the page area may need to be split so one part of the new area is on the current page and the rest on the next page (or on multiple pages if it is big enough). Consequently, the area returned by fo_area_size_request() might not be the same area that was passed to it. The return value is the last area resulting from the original new_area. fo_area_area_set_width (new_area, fo_area_get_available_width (new_area)); #if defined(LIBFO_DEBUG) && 0 g_warning ("*** table-body parent after new area:"); fo_object_debug_dump (parent_area, 0); g_warning ("*** end table-body parent"); #endif *(context->new_area) = new_area; 'Return' the new area so there's somewhere to hang the areas generated by the children of the current formatting object. }
xmlroff-0.6.2/docs/fo-c-file.xml0000644000175000017500000004453110741742675013354 00000000000000
Anatomy of a Formatting Object C source code file FO .c File Anatomy of a Formatting Object C source code file
Abbreviations Every formatting object has a source code file that contains the functions for initializing and finalizing the object class and object instances and for its methods. This example uses the source code file for the fo:root formatting object, largely because fo:root only has one property: media-usage. In the example, 'Root' and 'ROOT' are part of the formatting object name, not some feature of the GObject object system. All formatting object GObjects are subclasses of the FoFo GObject class. The document describes the conventions current at the time of this writing. Not only may the convention change in the future, some of the older source code files may not yet have been updated to match the current conventions.
Initial comment See the description in FoHFile. /* Fo * fo-root.c: 'root' formatting object * * Copyright (C) 2001 Sun Microsystems * * $Id: fo-c-file.xml,v 1.3 2006/03/14 19:41:40 tonygraham Exp $ * * See Copying for the status of this software. */
#includes #include "fo-root-private.h" The private header file for the formatting object GObject. See FoPrivateHFile. #include "fo-layout-master-set.h" #include "fo-declarations.h" #include "fo-page-sequence.h" Public header files for child formatting objects. Usually only needed for validating the content of instances of the current formatting object type. Some formatting objects do not include public header files of other formatting objects. #include "fo-property-media-usage.h" Public header file for every property of the formatting object type.
Property enumeration enum { PROP_0, PROP_MEDIA_USAGE }; Enumeration of the formatting object properties. Used when registering and accessing the properties as GObject properties.
Static function prototypes static void fo_root_class_init (FoRootClass *klass); Function called when the GObject class is initialized. static void fo_root_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void fo_root_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); Functions to get and set the GObject properties of the formatting object. static void fo_root_finalize (GObject *object); Function called when an instance of the GObject type is finalized, i.e., when it's killed. static gboolean fo_root_validate_content (FoFo *fo, GError **error); Function for checking the content of the formatting object w.r.t. what's allowed by the XSL Recommendation. static void fo_root_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); Function for checking the internal consistency of the formatting object's properties and, in some cases, modifying the values of interdependent properties. static void fo_root_update_from_context (FoFo *fo, FoContext *context); Function for updating the formatting object instance's properties from an FoContext. static void fo_root_debug_dump_properties (FoFo *fo, gint depth); Used, fairly obviously, when debugging. static gpointer parent_class; GObject convention is to maintain a pointer to the parent GObject class.
GObject _get_type() function GObject conventions require a _get_type() function that registers the object type and returns its assigned GType value. Registering a GObject type requires passing a filled-in GTypeInfo structure and the type of the parent class to a registration function. xmlroff uses g_type_register_static(), but there are others. /** * fo_root_get_type: * @void: * * Register the FoRoot object type. * * Return value: GType value of the FoRoot object type. **/ GType fo_root_get_type (void) { static GType object_type = 0; if (!object_type) { static const GTypeInfo object_info = { sizeof (FoRootClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) fo_root_class_init, NULL, /* class_finalize / NULL, / class_data / sizeof (FoRoot), 0, / n_preallocs / NULL, / instance_init / NULL / value_table */ }; object_type = g_type_register_static (FO_TYPE_FO, "root", &object_info, 0); } return object_type; }
GObject class initializer GObject convention requires this function. The _class_init() function sets the class methods and variables and installs the GObject properties of the class. Every formatting object property is installed as a corresponding read-only GObject property. /** * fo_root_class_init: * @klass: #FoRootClass object to initialise * * Implements #GClassInitFunc for #FoRootClass **/ void fo_root_class_init (FoRootClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); FoFoClass *fofo_class = FO_FO_CLASS (klass); parent_class = g_type_class_peek_parent (klass); GObject convention does this. parent_class is used when finalizing this class. object_class->finalize = fo_root_finalize; Every GObject does this. object_class->get_property = fo_root_get_property; object_class->set_property = fo_root_set_property; Functions of this property that are called when g_object_get_property() and g_object_set_property() access a property of instances of this class. fofo_class->validate_content = fo_root_validate_content; fofo_class->validate2 = fo_root_validate; fofo_class->update_from_context = fo_root_update_from_context; fofo_class->debug_dump_properties = fo_root_debug_dump_properties; These are the FoFo-specific class methods that are overridden by subclasses of FoFo. g_object_class_install_property (object_class, PROP_MEDIA_USAGE, g_param_spec_object ("media-usage", _("Media Usage"), _("Media Usage property"), FO_TYPE_PROPERTY, G_PARAM_READABLE)); The famous declaration of the formatting object property as a GObject property. The enumerated value PROP_MEDIA_USAGE was defined at the head of this file. } GObject class finalizer GObject convention requires this. Clean up after the last instance of the class is destroyed. /** * fo_root_finalize: * @object: #FoRoot object to finalize * * Implements #GObjectFinalizeFunc for #FoRoot **/ void fo_root_finalize (GObject *object) { FoRoot *fo_root; fo_root = FO_ROOT (object); G_OBJECT_CLASS (parent_class)->finalize (object); } GObject _get_property() and _set_property() GObject convention requires these. This is the second place where the property enumeration is used. /** * fo_root_get_property: * @object: #GObject whose property will be retreived * @prop_id: Property ID assigned when property registered * @value: GValue to set with property value * @pspec: Parameter specification for this property type * * Implements #GObjectGetPropertyFunc for #FoRoot **/ void fo_root_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MEDIA_USAGE: g_value_set_object (value, G_OBJECT (fo_root_get_media_usage (fo_fo))); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /** * fo_root_set_property: * @object: #GObject whose property will be set * @prop_id: Property ID assigned when property registered * @value: New value for property * @pspec: Parameter specification for this property type * * Implements #GObjectSetPropertyFunc for #FoRoot **/ void fo_root_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { FoFo *fo_fo; fo_fo = FO_FO (object); switch (prop_id) { case PROP_MEDIA_USAGE: fo_root_set_media_usage (fo_fo, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } }
GObject _new() GObject convention requires this. Creates a new object of the specified type. /** * fo_root_new: * * Creates a new #FoRoot initialized to default value. * * Return value: the new #FoRoot **/ FoFo* fo_root_new (void) { return FO_FO (g_object_new (fo_root_get_type (), NULL)); }
FoFo _validate_content() This is xmlroff-specific. It is not autogenerated. Validate the content -- the child FoFo nodes in the FO tree -- of the current FO against the content model defined in the XSL Recommendation (plus any extra conditions in the text of the Recommendation). Some formatting object do not have this function: some of the common content model, such as for empty elements, are handled by common _validate_content() functions in fo-fo.c. /** * fo_root_validate_content: * @fo: FoRoot object to validate * @error: GError indicating error condition, if any * * Validate the content model, i.e., the structure, of the object. * Return value matches GNodeTraverseFunc model: FALSE indicates * content model is correct, or TRUE indicates an error. When used * with fo_node_traverse(), returning TRUE stops the traversal. * * Return value: FALSE if content model okay, TRUE if not **/ gboolean fo_root_validate_content (FoFo *fo, GError **error) { FoNode *child_node; GError *tmp_error; g_return_val_if_fail (fo != NULL, TRUE); g_return_val_if_fail (FO_IS_ROOT (fo), TRUE); g_return_val_if_fail (error == NULL || *error == NULL, TRUE); fo_fo_trim_whitespace_children (fo); child_node = fo_node_first_child (FO_NODE (fo)); if (!FO_IS_LAYOUT_MASTER_SET (child_node)) goto error; while (child_node) { FoNode *next_child = fo_node_next_sibling (child_node); if (FO_IS_LAYOUT_MASTER_SET (child_node)) { if (FO_IS_DECLARATIONS (next_child) || FO_IS_PAGE_SEQUENCE (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_DECLARATIONS (child_node)) { if (FO_IS_PAGE_SEQUENCE (next_child)) { child_node = next_child; } else { goto error; } } else if (FO_IS_PAGE_SEQUENCE (child_node)) { if (!next_child || FO_IS_PAGE_SEQUENCE (next_child)) { child_node = next_child; } else { goto error; } } else { goto error; } } return FALSE; error: tmp_error = g_error_new (FO_FO_ERROR, FO_FO_ERROR_INVALID_CONTENT, _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]), fo_object_sprintf (fo)); return fo_object_log_or_propagate_error (FO_OBJECT (fo), error, tmp_error); }
FoFo _validate() This is xmlroff-specific. It is autogenerated, but is commonly then modified by hand. Resolve interrelated property values, if any; merge the current context -- i.e., the property values declared for this formatting object instance -- with the parent context -- i.e., the inherited and default property values; set the property values used by the current formatting object instance. /** * fo_root_validate: * @fo: FoRoot object to validate * @current_context: FoContext associated with current object * @parent_context: FoContext associated with parent FO * @error: Information about any error that has occurred * * Validate and possibly update interrelated property values in * @current_context, then update @fo property values. Set @error if * an error occurred. **/ void fo_root_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error) { FoRoot *fo_root; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_ROOT (fo)); g_return_if_fail (FO_IS_CONTEXT (current_context)); g_return_if_fail (FO_IS_CONTEXT (parent_context)); g_return_if_fail (error == NULL || *error == NULL); fo_root = FO_ROOT (fo); fo_context_merge (current_context, parent_context); fo_fo_update_from_context (fo, current_context); }
FoFo _update_from_context() This is xmlroff-specific. Set the property values used by the current formatting object instance. /** * fo_root_update_from_context: * @fo: The #FoFo object * @context: The #FoContext object from which to update the properties of @fo * * Sets the properties of @fo to the corresponding property values in @context **/ void fo_root_update_from_context (FoFo *fo, FoContext *context) { g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_ROOT (fo)); g_return_if_fail (context != NULL); g_return_if_fail (FO_IS_CONTEXT (context)); fo_root_set_media_usage (fo, fo_context_get_media_usage (context)); }
FoFo _debug_dump_properties() This is xmlroff-specific. Dump the value of each of the properties of the formatting object instance. Common code in fo-fo.c handles the rest of dumping the particulars of the formatting object instance. /** * fo_root_debug_dump_properties: * @fo: The #FoFo object * @depth: Indent level to add to the output * * Calls #fo_object_debug_dump on each property of @fo then calls * debug_dump_properties method of parent class **/ void fo_root_debug_dump_properties (FoFo *fo, gint depth) { FoRoot *fo_root; g_return_if_fail (fo != NULL); g_return_if_fail (FO_IS_ROOT (fo)); fo_root = FO_ROOT (fo); fo_object_debug_dump (fo_root->media_usage, depth); FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1); }
GObject _get() and _set() for properties These are not strictly required by GObject convention, since all GObject properties are supposed to be accessible by g_object_get_property() and/or g_object_set_property(). /** * fo_root_get_media_usage: * @fo_fo: The @FoFo object * * Gets the "media-usage" property of @fo_fo * * Return value: The "media-usage" property value **/ ?FoProperty* fo_root_get_media_usage (FoFo *fo_fo) { FoRoot *fo_root = (FoRoot *) fo_fo; g_return_val_if_fail (fo_root != NULL, NULL); g_return_val_if_fail (FO_IS_ROOT (fo_root), NULL); return fo_root->media_usage; } /** * fo_root_set_media_usage: * @fo_fo: The #FoFo object * @new_media_usage: The new "media-usage" property value * * Sets the "media-usage" property of @fo_fo to @new_media_usage **/ void fo_root_set_media_usage (FoFo *fo_fo, ?FoProperty *new_media_usage) { FoRoot *fo_root = (FoRoot *) fo_fo; g_return_if_fail (fo_root != NULL); g_return_if_fail (FO_IS_ROOT (fo_root)); g_return_if_fail (FO_IS_PROPERTY_MEDIA_USAGE (new_media_usage)); if (new_media_usage != NULL) { g_object_ref (new_media_usage); } if (fo_root->media_usage != NULL) { g_object_unref (fo_root->media_usage); } fo_root->media_usage = new_media_usage; /*g_object_notify (G_OBJECT (fo_root), "media-usage");*/ The g_object_notify() call is present but commented out because, if it is needed, it will be much easier to just uncomment it than add it to every _set() function. }
xmlroff-0.6.2/docs/fo-h-file.xml0000644000175000017500000001417110741742675013356 00000000000000
Anatomy of a Formatting Object header file FO .h File Anatomy of a Formatting Object header file The public header files for Formatting Objects are autogenerated and, therefore, have a consistent structure. The header files for the few that are not autogenerated also follow this structure. This example uses the header for the fo:root formatting object, largely because fo:root only has one property: media-usage. In the example, 'Root' and 'ROOT' are part of the formatting object name, not some feature of the GObject object system. All formatting object GObjects are subclasses of the FoFo GObject class. The document describes the conventions current at the time of this writing. Not only may the convention change in the future, some of the older source code files may not yet have been updated to match the current conventions.
Initial comment /* Fo * fo-root.h: Root formatting object * * Copyright (C) 2001 Sun Microsystems * * $Id: fo-h-file.xml,v 1.1 2006/03/14 19:42:57 tonygraham Exp $ * * See Copying for the status of this software. */ Identifies the formatting object and states the copyright owner.
Initial housekeeping #ifndef FO_ROOT_H #define FO_ROOT_H #ifndef and #define so the header file is not included multiple times. #include <fo-utils.h> #include <fo-property.h> #includes for other header files. G_BEGIN_DECLS GLib macro that, for a C++ compiler, expands into something useful for C++.
GObject typedefs Every GObject has these. typedef struct _FoRoot FoRoot; typedef struct _FoRootClass FoRootClass; Typedefs for the object instance and object class. The _FoRoot and _FoRootClass structures are defined in fo-root-private.h. The effect is that the internals of the FoRoot and FoRootClass are not publicly visible.
GObject #defines Every GObject has these. #define FO_TYPE_ROOT (fo_root_get_type ()) Shorthand for the function that returns the object's GType. The GType identifies the object type. #define FO_ROOT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_ROOT, FoRoot)) Macro for casting an object to the required type with a bit of checking that the object can be cast to the required type. Will generate a warning message if the cast is not allowed. #define FO_ROOT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_ROOT, FoRootClass)) Macro for getting the named class structure. 'klass' is the class structure itself or the class structure of a subclass of the class. The macros use 'klass' instead of 'class' because 'class' is a C++ keyword. #define FO_IS_ROOT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_ROOT)) Macro for determining if 'object' is an instance of the specified class. This macro type is frequently used in assertions. #define FO_IS_ROOT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_ROOT)) Macro for determining if 'klass' is a class structure of the specified type. #define FO_ROOT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_ROOT, FoRootClass)) Macro for getting the class structure for an instance of the specified type. Will generate a warning message if the instance is not of the specified class or of a subclass of the specified class.
GObject functions GType fo_root_get_type (void) G_GNUC_CONST; Gets the GType for the object type. FoFo *fo_root_new (void); Gets a new instance of the object type. All _new() functions for formatting objects return objects cast to FoFo. Since the functions that manipulate formatting object objects operate on FoFo objects, this avoids having to cast the specific object type to FoFo on every one of those function calls.
Non-property functions A formatting object may have hand-generated functions that do not just get and set property values. fo:root, however, does not have any.
Property functions By a happy coincidence, the XSL properties of a formatting object are expressed as GObject properties of the GObject for the formatting object. Every property of every formatting object has _get() and _set() functions: FoProperty * fo_root_get_media_usage (FoFo *fo_fo); void fo_root_set_media_usage (FoFo *fo_fo, FoProperty *new_media_usage); The properties are registered with the GObject system as G_PARAM_READABLE, so property values can also be accessed using g_object_get_property(). The property values are not writeable, so they cannot be set using g_object_set_property().
Final housekeeping G_END_DECLS Meaningful for C++. #endif /* !FO_ROOT_H */ Matches earlier #ifndef.
xmlroff-0.6.2/docs/generating-source.xml0000644000175000017500000000771111020503607015210 00000000000000
Generating Source Generating Source Generating source code
Generating Source The stylesheets in the 'codegen' package are used to generate C source and header files from the XML for the XSL 1.0 Recommendation. The generated files are not guaranteed to be drop-in replacements for the existing xmlroff source code and header files, since many of the xmlroff source code and header files have had manual modifications. You should use Emacs's ediff or some other diff/merge utility to compare the generated file and the existing version and only change what should be changed. The exception are the .c and .h files created for a property that has just been added to dump-info.xml: since the property's files didn't exist before, you can just copy the generated files to the xmlroff source code.
Files The significant files are: ChangeLog Change log for the stylesheets, etc. README README file conversion-lib.xsl Stylesheet with common templates dump-info.xml XML file controlling output fo-all-property-h-dump.xsl Stylesheet for dumping fo-all-property.h fo-context-dump.xsl Stylesheet for dumping fo-context.[ch] fo-object-dump.xsl Stylesheet for dumping fo-*.c and fo-*{-private}?.h fo-property-object-dump.xsl Stylesheet for dumping fo-property-*.[ch] Makefile.am Automake file xmlroff-property-decl-dump.xsl Stylesheet for dumping entity declarations for property documentation files xmlroff-property-ref-dump.xsl Stylesheet for dumping entity references for property documentation files Any other XSL files are evolutionary dead ends.
Make targets make Makes fo-context.[ch], fo/fo-*.c, fo/fo-*{-private}?.h, and property/fo-property-*.[ch]. make all As above. make fo-context-dump Makes fo-context.[ch]. make fo-object-dump Makes fo/fo-*.c, fo/fo-*{-private}?.h. make fo-property-object-dump Makes property/fo-property-*.[ch]. make fo-all-property-h-dump Makes property/fo-all-property.h. make property-entity-decl-dump Makes xmlroff-property-decl.ent. make property-entity-ref-dump Makes xmlroff-property-ref.ent.
xmlroff-0.6.2/docs/xmlroff-code-rules.xml0000644000175000017500000000362710741742675015331 00000000000000
Rules of the Code xmlroff Code Rules Coding conventions for xmlroff code
Abbreviations The following abbreviations are used in file, variable, function, and parameter names. Formatting Object and property names are NOT abbreviated when used in class and property names. For example, “block-progression-dimension” is abbreviated to “bpdim” in function names, but when used as a property name (in the GObject sense), it remains “block-progression-dimension” Abbreviation Term bp block-progression bpd block-progression-direction bpdim block-progression-dimension cond conditional condity conditionality expr expression ip inline-progression ipd inline-progression-direction ipdim inline-progression-dimension
Compare pointers to NULL From Section 17.1, Boolean Expressions, of “Code Complete” by Steve McConnell. For pointers, write: while (buffer != NULL) ... rather than while (buffer) ...
xmlroff-0.6.2/docs/xmlroff-property-decl.ent0000644000175000017500000003340210611742676016035 00000000000000 xmlroff-0.6.2/docs/xmlroff-property-ref.ent0000644000175000017500000001341310611742676015702 00000000000000 Properties &fo-property; &fo-property-alignment-adjust; &fo-property-alignment-baseline; &fo-property-background-color; &fo-property-background-image; &fo-property-baseline-shift; &fo-property-block-progression-dimension; &fo-property-block-progression-dimension-minimum; &fo-property-block-progression-dimension-optimum; &fo-property-block-progression-dimension-maximum; &fo-property-border; &fo-property-border-after-color; &fo-property-border-after-precedence; &fo-property-border-after-style; &fo-property-border-after-width; &fo-property-border-before-color; &fo-property-border-before-precedence; &fo-property-border-before-style; &fo-property-border-before-width; &fo-property-border-bottom; &fo-property-border-bottom-color; &fo-property-border-bottom-style; &fo-property-border-bottom-width; &fo-property-border-collapse; &fo-property-border-color; &fo-property-border-end-color; &fo-property-border-end-precedence; &fo-property-border-end-style; &fo-property-border-end-width; &fo-property-border-left; &fo-property-border-left-color; &fo-property-border-left-style; &fo-property-border-left-width; &fo-property-border-right; &fo-property-border-right-color; &fo-property-border-right-style; &fo-property-border-right-width; &fo-property-border-separation; &fo-property-border-start-color; &fo-property-border-start-precedence; &fo-property-border-start-style; &fo-property-border-start-width; &fo-property-border-style; &fo-property-border-top; &fo-property-border-top-color; &fo-property-border-top-style; &fo-property-border-top-width; &fo-property-border-width; &fo-property-break-after; &fo-property-break-before; &fo-property-character; &fo-property-clip; &fo-property-color; &fo-property-column-number; &fo-property-column-width; &fo-property-content-height; &fo-property-content-type; &fo-property-content-width; &fo-property-direction; &fo-property-display-align; &fo-property-dominant-baseline; &fo-property-end-indent; &fo-property-extent; &fo-property-flow-name; &fo-property-font-family; &fo-property-font-size; &fo-property-font-stretch; &fo-property-font-style; &fo-property-font-variant; &fo-property-font-weight; &fo-property-format; &fo-property-grouping-separator; &fo-property-grouping-size; &fo-property-height; &fo-property-id; &fo-property-inline-progression-dimension; &fo-property-inline-progression-dimension-minimum; &fo-property-inline-progression-dimension-optimum; &fo-property-inline-progression-dimension-maximum; &fo-property-keep-together; &fo-property-keep-together-within-column; &fo-property-keep-together-within-line; &fo-property-keep-together-within-page; &fo-property-keep-with-next; &fo-property-keep-with-next-within-column; &fo-property-keep-with-next-within-line; &fo-property-keep-with-next-within-page; &fo-property-keep-with-previous; &fo-property-keep-with-previous-within-column; &fo-property-keep-with-previous-within-line; &fo-property-keep-with-previous-within-page; &fo-property-letter-value; &fo-property-linefeed-treatment; &fo-property-line-height; &fo-property-line-stacking-strategy; &fo-property-margin; &fo-property-margin-bottom; &fo-property-margin-left; &fo-property-margin-right; &fo-property-margin-top; &fo-property-master-name; &fo-property-master-reference; &fo-property-media-usage; &fo-property-number-columns-repeated; &fo-property-number-columns-spanned; &fo-property-number-rows-spanned; &fo-property-orphans; &fo-property-overflow; &fo-property-padding; &fo-property-padding-after; &fo-property-padding-before; &fo-property-padding-bottom; &fo-property-padding-end; &fo-property-padding-left; &fo-property-padding-right; &fo-property-padding-start; &fo-property-padding-top; &fo-property-page-height; &fo-property-page-width; &fo-property-provisional-distance-between-starts; &fo-property-provisional-label-separation; &fo-property-ref-id; &fo-property-region-name; &fo-property-role; &fo-property-scaling; &fo-property-scaling-method; &fo-property-score-spaces; &fo-property-source-document; &fo-property-space-after; &fo-property-space-after-minimum; &fo-property-space-after-optimum; &fo-property-space-after-maximum; &fo-property-space-after-conditionality; &fo-property-space-after-precedence; &fo-property-space-before; &fo-property-space-before-minimum; &fo-property-space-before-optimum; &fo-property-space-before-maximum; &fo-property-space-before-conditionality; &fo-property-space-before-precedence; &fo-property-space-end; &fo-property-space-end-minimum; &fo-property-space-end-optimum; &fo-property-space-end-maximum; &fo-property-space-end-conditionality; &fo-property-space-end-precedence; &fo-property-space-start; &fo-property-space-start-minimum; &fo-property-space-start-optimum; &fo-property-space-start-maximum; &fo-property-space-start-conditionality; &fo-property-space-start-precedence; &fo-property-span; &fo-property-src; &fo-property-start-indent; &fo-property-table-layout; &fo-property-text-align; &fo-property-text-indent; &fo-property-unicode-bidi; &fo-property-white-space-collapse; &fo-property-white-space-treatment; &fo-property-widows; &fo-property-width; &fo-property-wrap-option; &fo-property-writing-mode; xmlroff-0.6.2/docs/xsl-gobject.xml0000644000175000017500000000525611034754450014023 00000000000000
XSL defines formatting objects and their properties. GObject -- the GLib Object System -- is an object oriented framework for C for where you define objects and their properties. This section is a summary of how formatting objects and their properties map to GOjects and their properties. Relating XSL to GObjects
FoObject, FoNode The libfo object hierarchy starts at FoObject, which is an extension of GObject that adds some common debugging and logging functions. FoNode is a subtype of FoObject that has additional properties and functions for making trees of FoNode objects. FoNode is the parent type of both FoFo and FoArea, since XSL operates in terms of FO and area trees.
Formatting Object --> FoFo Each XSL formatting object maps to a subtype of the FoFo GObject object type. Each XSL property of an XSL formatting object maps to a property of the corresponding FoFo subtype. Functions that return or use formatting object generally use FoFo objects rather than subtypes. The GObject object type name is "Fo" and the camel-case form of the XSL formatting object name. For example, fo:page-sequence maps to FoPageSequence.
Formatting Object property --> FoProperty Each XSL property maps to a subtype of the FoProperty GObject object type. An FoProperty has a value, which is a FoDatatype. Functions that return or use XSL properties generally use FoProperty objects rather than specific subtypes. The GObject object type name is "FoProperty" and the camel-case form of the XSL property name. For example, writing-mode maps to FoPropertyWritingMode.
XSL datatype --> FoDatatype Each XSL dataype maps to a subtype of the FoDatatype GObject object type. An FoDatatype has a value. The value is set when the FoDatatype is created, and it cannot be changed. Functions that return or use XSL datatypes generally use FoDatatype objects rather than specific subtypes. The GObject object type name is the camel-case form of the XSL datatype name. For example, color maps to FoColor.
Other Objects Other parts of libfo, including FoXslFormatter, are implemented as subtypes of FoObject where it makes sense to do so.
xmlroff-0.6.2/docs/xmlroff.fo0000644000175000017500000010037611034370152013053 00000000000000 Namexmlroff -- XSL formatterxmlroff [-o output-file] [--format { auto | pdf | postscript } ] [--backend { gp | cairo } ] [--continue] [ -? | --help ] [ --compat | --nocompat ] [--compat-stylesheet] [ --valid | --novalid ] [ -v | --version ] [-w warning-mode] [-d debug-mode] file [ stylesheet ]DescriptionDescriptionxmlroff is a free, fast and high-quality XSL formatter that is useful for DocBook formatting. It produces PDF or PostScript output. It integrates easily with other programs and with scripting languages.xmlroff processes the XML-FO file. An arbitrary XML file can optionally be first transformed via a specified XSLT stylesheet.OptionsOptions-vShow version information.-?, --helpShow help message.-o output-fileSpecify output filename. If this option is not specified, a default of layout.pdf will be used.-d debug-modeSpecify debug mode.-w warning-modeSpecify warning mode.--format { auto | pdf | postscript }Specify format of the output file. The default is auto which selects the format based on the extension of the output filename.--backend { gp | cairo }Specify backend used to produce the output file. The default is GNOME print (gp).--compat, --nocompatDo or do not pre-processes the input file with an internal compatibility stylesheet. Default is --compat.--compat-stylesheetPrints the internal compatibility stylesheet then exits.--continueContinue after any formatting errors.--valid, --novalidDo or do not load the DTD. Default is --novalid.Reporting BugsReporting BugsReport bugs at http://xmlroff.org/newticket.See AlsoSee Alsoxsltproc(1)AuthorAuthorTony Graham xmlroff-0.6.2/docs/xmlroff.xml0000644000175000017500000001201011034370005013227 00000000000000 xmlroff 1 xmlroff XSL formatter xmlroff -o output-file --format auto pdf postscript --backend gp cairo --continue -? --help --compat --nocompat --compat-stylesheet --valid --novalid -v --version -w warning-mode -d debug-mode file stylesheet Description xmlroff is a free, fast and high-quality XSL formatter that is useful for DocBook formatting. It produces PDF or PostScript output. It integrates easily with other programs and with scripting languages. xmlroff processes the XML-FO file. An arbitrary XML file can optionally be first transformed via a specified XSLT stylesheet. Options Show version information. Show help message. output-file Specify output filename. If this option is not specified, a default of layout.pdf will be used. debug-mode Specify debug mode. warning-mode Specify warning mode. Specify format of the output file. The default is auto which selects the format based on the extension of the output filename. gpcairo Specify backend used to produce the output file. The default is GNOME print (gp). Do or do not pre-processes the input file with an internal compatibility stylesheet. Default is --compat. Prints the internal compatibility stylesheet then exits. Continue after any formatting errors. Do or do not load the DTD. Default is --novalid. Reporting Bugs Report bugs at http://xmlroff.org/newticket. See Also xsltproc1 Author Tony Graham xmlroff-0.6.2/docs/xmlroff.css0000644000175000017500000000055410770023362013240 00000000000000td.basic { background-color: #99BBFF } td.extended { background-color: #CCDDFF } td.complete { background-color: #DDEEFF } td.yes { background-color: #ADFF2F; text-align: center } td.no { background-color: #CD5C5C; text-align: center } td.na { background-color: #B5B5B5; text-align: center } xmlroff-0.6.2/docs/xmlroff-docs.sgml0000644000175000017500000003745211034421170014340 00000000000000 %xmlroff-property-decl; ]> xmlroff Reference Manual xmlroff is a fast, free, high-quality, multi-platform XSL formatter that aims to excel at DocBook formatting and that integrates easily with other programs and with scripting languages. xmlroff lives at http://xmlroff.org. xmlroff is discussed on the xmlroff-list@xmlroff.org mailing list and on the #xmlroff channel at oftc.net. Users' Guide &xmlroff;
Conformance xmlroff Conformance to XSL 1.0 Recommendation &conformance-body;
Developers' Guide &xsl-gobject; &xmlroff-code-rules; &directory-structure; &fo-h-file; &fo-c-file; &fo-area-c-file; &generating-source; &debugging; &basic-interface; &backends; Object Hierarchy &index-Object-Tree; FoObject is wonderful &fo-object; FoNode is wonderful &fo-node; Interfaces are truly wonderful &fo-block-fo; &fo-inline-fo; &fo-neutral-fo; &fo-property-text-property; &fo-pixbuf; &fo-table-border-fo; Formatting Objects are truly wonderful &fo-fo; &fo-basic-link; &fo-bidi-override; &fo-block-block; &fo-block; &fo-block-container; &fo-block-layout; &fo-block-whitespace; &fo-character; &fo-color-profile; &fo-conditional-page-master-reference; &fo-declarations; &fo-external-graphic; &fo-float; &fo-flow; &fo-footnote-body; &fo-footnote; &fo-initial-property-set; &fo-inline; &fo-inline-container; &fo-instream-foreign-object; &fo-layout-master-set; &fo-leader; &fo-list-block; &fo-list-item-body; &fo-list-item; &fo-list-item-label; &fo-marker; &fo-marker-parent; &fo-multi-case; &fo-multi-properties; &fo-multi-property-set; &fo-multi-switch; &fo-multi-toggle; &fo-page-number; &fo-page-number-citation; &fo-page-sequence; &fo-page-sequence-master; &fo-region-after; &fo-region-before; &fo-region-body; &fo-region-end; &fo-region-start; &fo-repeatable-page-master-alternatives; &fo-repeatable-page-master-reference; &fo-retrieve-marker; &fo-root; &fo-simple-page-master; &fo-single-page-master-reference; &fo-static-content; &fo-table-and-caption; &fo-table-body; &fo-table; &fo-table-caption; &fo-table-cell; &fo-table-column; &fo-table-footer; &fo-table-header; &fo-table-part; &fo-table-row; &fo-text; &fo-title; &fo-tree; &fo-wrapper-block; &fo-wrapper; &fo-wrapper-inline; &fo-wrapper-inline-empty; &fo-wrapper-whitespace; &xmlroff-property-ref; Area Objects &fo-area; &fo-area-area; &fo-area-graphic; &fo-area-inline; &fo-area-layout; &fo-area-list-item; &fo-area-normal; &fo-area-page; &fo-area-reference; &fo-area-spanning-table-cell; &fo-area-table-body; &fo-area-table-cell-proxy; &fo-area-table-cell; &fo-area-table-continuation; &fo-area-table-footer; &fo-area-table-header; &fo-area-table-part; &fo-area-table-row; &fo-area-table; &fo-area-tree; &fo-area-viewport-reference; Datatype Objects &fo-datatype; &fo-boolean; &fo-char; &fo-color; &fo-enum; &fo-error; &fo-expression; &fo-id; &fo-integer; &fo-keep; &fo-length; &fo-length-bp-ip-d; &fo-length-conditional; &fo-length-range; &fo-name; &fo-number; &fo-numeric; &fo-pcw; &fo-percentage; &fo-space; &fo-string; &fo-tblr; &fo-unknown; &fo-uri-specification; &fo-wsc; Property Context Object &fo-context; Other Objects &fo-doc; &fo-doc-commands; &fo-doc-cairo; &fo-doc-gp; &fo-font-desc; &fo-layout; &fo-layout-cairo; &fo-layout-gp; &fo-libfo-basic; &fo-libfo-context; &fo-xml-doc; &fo-xml-node; &fo-xsl-formatter; &fo-xslt-transformer; Utility Objects &fo-hash-table; &fo-image; Utility Modules &fo-utils; &libfo-compat; &libfo-pango; &libfo-version;
xmlroff-0.6.2/docs/xmlroff.types0000644000175000017500000002073611033714013013611 00000000000000#include #include #include #include #include #include fo_area_area_get_type fo_area_get_type fo_area_layout_get_type fo_area_list_item_get_type fo_area_normal_get_type fo_area_page_get_type fo_area_reference_get_type fo_area_spanning_table_cell_get_type fo_area_table_body_get_type fo_area_table_cell_get_type fo_area_table_cell_proxy_get_type fo_area_table_continuation_get_type fo_area_table_footer_get_type fo_area_table_get_type fo_area_table_header_get_type fo_area_table_part_get_type fo_area_table_row_get_type fo_area_tree_get_type fo_area_viewport_reference_get_type fo_basic_link_get_type fo_bidi_override_get_type fo_block_block_get_type fo_block_container_get_type fo_block_get_type fo_block_layout_get_type fo_block_whitespace_get_type fo_boolean_get_type fo_char_get_type fo_character_get_type fo_color_get_type fo_color_profile_get_type fo_conditional_page_master_reference_get_type fo_context_get_type fo_datatype_get_type fo_declarations_get_type fo_enum_get_type fo_expression_get_type fo_external_graphic_get_type fo_float_get_type fo_flow_get_type fo_fo_get_type fo_footnote_body_get_type fo_footnote_get_type fo_id_get_type fo_initial_property_set_get_type fo_inline_container_get_type fo_inline_get_type fo_instream_foreign_object_get_type fo_integer_get_type fo_keep_get_type fo_layout_master_set_get_type fo_leader_get_type fo_length_bp_ip_d_get_type fo_length_cond_get_type fo_length_get_type fo_length_range_get_type fo_list_block_get_type fo_list_item_body_get_type fo_list_item_get_type fo_list_item_label_get_type fo_marker_get_type fo_multi_case_get_type fo_multi_properties_get_type fo_multi_property_set_get_type fo_multi_switch_get_type fo_multi_toggle_get_type fo_name_get_type fo_node_get_type fo_number_get_type fo_numeric_get_type fo_object_get_type fo_page_number_citation_get_type fo_page_number_get_type fo_page_sequence_get_type fo_page_sequence_master_get_type fo_percentage_get_type fo_property_alignment_adjust_get_type fo_property_alignment_baseline_get_type fo_property_background_color_get_type fo_property_baseline_shift_get_type fo_property_block_progression_dimension_get_type fo_property_block_progression_dimension_maximum_get_type fo_property_block_progression_dimension_minimum_get_type fo_property_block_progression_dimension_optimum_get_type fo_property_border_after_color_get_type fo_property_border_after_precedence_get_type fo_property_border_after_style_get_type fo_property_border_after_width_get_type fo_property_border_before_color_get_type fo_property_border_before_precedence_get_type fo_property_border_before_style_get_type fo_property_border_before_width_get_type fo_property_border_bottom_color_get_type fo_property_border_bottom_style_get_type fo_property_border_bottom_width_get_type fo_property_border_collapse_get_type fo_property_border_end_color_get_type fo_property_border_end_precedence_get_type fo_property_border_end_style_get_type fo_property_border_end_width_get_type fo_property_border_get_type fo_property_border_left_color_get_type fo_property_border_left_style_get_type fo_property_border_left_width_get_type fo_property_border_right_color_get_type fo_property_border_right_style_get_type fo_property_border_right_width_get_type fo_property_border_separation_get_type fo_property_border_start_color_get_type fo_property_border_start_precedence_get_type fo_property_border_start_style_get_type fo_property_border_start_width_get_type fo_property_border_top_color_get_type fo_property_border_top_style_get_type fo_property_border_top_width_get_type fo_property_break_after_get_type fo_property_break_before_get_type fo_property_character_get_type fo_property_clip_get_type fo_property_color_get_type fo_property_column_number_get_type fo_property_column_width_get_type fo_property_content_height_get_type fo_property_content_type_get_type fo_property_content_width_get_type fo_property_direction_get_type fo_property_display_align_get_type fo_property_dominant_baseline_get_type fo_property_end_indent_get_type fo_property_flow_name_get_type fo_property_font_family_get_type fo_property_font_size_get_type fo_property_font_stretch_get_type fo_property_font_style_get_type fo_property_font_variant_get_type fo_property_font_weight_get_type fo_property_format_get_type fo_property_get_type fo_property_grouping_separator_get_type fo_property_grouping_size_get_type fo_property_height_get_type fo_property_id_get_type fo_property_inline_progression_dimension_get_type fo_property_inline_progression_dimension_maximum_get_type fo_property_inline_progression_dimension_minimum_get_type fo_property_inline_progression_dimension_optimum_get_type fo_property_keep_together_get_type fo_property_keep_together_within_column_get_type fo_property_keep_together_within_line_get_type fo_property_keep_together_within_page_get_type fo_property_keep_with_next_get_type fo_property_keep_with_next_within_column_get_type fo_property_keep_with_next_within_line_get_type fo_property_keep_with_next_within_page_get_type fo_property_keep_with_previous_get_type fo_property_keep_with_previous_within_column_get_type fo_property_keep_with_previous_within_line_get_type fo_property_keep_with_previous_within_page_get_type fo_property_letter_value_get_type fo_property_line_height_get_type fo_property_line_stacking_strategy_get_type fo_property_margin_bottom_get_type fo_property_margin_get_type fo_property_margin_left_get_type fo_property_margin_right_get_type fo_property_margin_top_get_type fo_property_master_name_get_type fo_property_master_reference_get_type fo_property_media_usage_get_type fo_property_number_columns_repeated_get_type fo_property_number_columns_spanned_get_type fo_property_number_rows_spanned_get_type fo_property_orphans_get_type fo_property_overflow_get_type fo_property_padding_after_get_type fo_property_padding_before_get_type fo_property_padding_bottom_get_type fo_property_padding_end_get_type fo_property_padding_get_type fo_property_padding_left_get_type fo_property_padding_right_get_type fo_property_padding_start_get_type fo_property_padding_top_get_type fo_property_page_height_get_type fo_property_page_width_get_type fo_property_provisional_distance_between_starts_get_type fo_property_provisional_label_separation_get_type fo_property_region_name_get_type fo_property_role_get_type fo_property_scaling_get_type fo_property_scaling_method_get_type fo_property_score_spaces_get_type fo_property_source_document_get_type fo_property_space_after_condity_get_type fo_property_space_after_get_type fo_property_space_after_maximum_get_type fo_property_space_after_minimum_get_type fo_property_space_after_optimum_get_type fo_property_space_after_precedence_get_type fo_property_space_before_condity_get_type fo_property_space_before_get_type fo_property_space_before_maximum_get_type fo_property_space_before_minimum_get_type fo_property_space_before_optimum_get_type fo_property_space_before_precedence_get_type fo_property_space_end_condity_get_type fo_property_space_end_get_type fo_property_space_end_maximum_get_type fo_property_space_end_minimum_get_type fo_property_space_end_optimum_get_type fo_property_space_end_precedence_get_type fo_property_space_start_condity_get_type fo_property_space_start_get_type fo_property_space_start_maximum_get_type fo_property_space_start_minimum_get_type fo_property_space_start_optimum_get_type fo_property_space_start_precedence_get_type fo_property_src_get_type fo_property_start_indent_get_type fo_property_table_layout_get_type fo_property_text_align_get_type fo_property_text_indent_get_type fo_property_unicode_bidi_get_type fo_property_widows_get_type fo_property_width_get_type fo_property_wrap_option_get_type fo_property_writing_mode_get_type fo_region_after_get_type fo_region_before_get_type fo_region_body_get_type fo_region_end_get_type fo_region_start_get_type fo_repeatable_page_master_alternatives_get_type fo_repeatable_page_master_reference_get_type fo_retrieve_marker_get_type fo_root_get_type fo_simple_page_master_get_type fo_single_page_master_reference_get_type fo_space_get_type fo_static_content_get_type fo_string_get_type fo_table_and_caption_get_type fo_table_body_get_type fo_table_caption_get_type fo_table_cell_get_type fo_table_column_get_type fo_table_footer_get_type fo_table_get_type fo_table_header_get_type fo_table_row_get_type fo_text_get_type fo_title_get_type fo_tree_get_type fo_unknown_get_type fo_uri_specification_get_type fo_wrapper_block_get_type fo_wrapper_get_type fo_wrapper_inline_get_type fo_wrapper_whitespace_get_type xmlroff-0.6.2/docs/xmlroff-sections.txt0000644000175000017500000103621211062230700015104 00000000000000
fo-context FoContext FoContext FoContextClass fo_context_new fo_context_initialize fo_context_merge fo_context_update_from_slist fo_context_debug_dump_properties fo_context_get_alignment_adjust fo_context_set_alignment_adjust fo_context_get_alignment_baseline fo_context_set_alignment_baseline fo_context_get_background_color fo_context_set_background_color fo_context_get_background_image fo_context_set_background_image fo_context_get_baseline_shift fo_context_set_baseline_shift fo_context_get_block_progression_dimension fo_context_set_block_progression_dimension fo_context_get_block_progression_dimension_minimum fo_context_set_block_progression_dimension_minimum fo_context_get_block_progression_dimension_optimum fo_context_set_block_progression_dimension_optimum fo_context_get_block_progression_dimension_maximum fo_context_set_block_progression_dimension_maximum fo_context_get_border fo_context_set_border fo_context_get_border_after_color fo_context_set_border_after_color fo_context_get_border_after_precedence fo_context_set_border_after_precedence fo_context_get_border_after_style fo_context_set_border_after_style fo_context_get_border_after_width fo_context_set_border_after_width fo_context_get_border_before_color fo_context_set_border_before_color fo_context_get_border_before_precedence fo_context_set_border_before_precedence fo_context_get_border_before_style fo_context_set_border_before_style fo_context_get_border_before_width fo_context_set_border_before_width fo_context_get_border_bottom fo_context_set_border_bottom fo_context_get_border_bottom_color fo_context_set_border_bottom_color fo_context_get_border_bottom_style fo_context_set_border_bottom_style fo_context_get_border_bottom_width fo_context_set_border_bottom_width fo_context_get_border_collapse fo_context_set_border_collapse fo_context_get_border_color fo_context_set_border_color fo_context_get_border_end_color fo_context_set_border_end_color fo_context_get_border_end_precedence fo_context_set_border_end_precedence fo_context_get_border_end_style fo_context_set_border_end_style fo_context_get_border_end_width fo_context_set_border_end_width fo_context_get_border_left fo_context_set_border_left fo_context_get_border_left_color fo_context_set_border_left_color fo_context_get_border_left_style fo_context_set_border_left_style fo_context_get_border_left_width fo_context_set_border_left_width fo_context_get_border_right fo_context_set_border_right fo_context_get_border_right_color fo_context_set_border_right_color fo_context_get_border_right_style fo_context_set_border_right_style fo_context_get_border_right_width fo_context_set_border_right_width fo_context_get_border_separation fo_context_set_border_separation fo_context_get_border_start_color fo_context_set_border_start_color fo_context_get_border_start_precedence fo_context_set_border_start_precedence fo_context_get_border_start_style fo_context_set_border_start_style fo_context_get_border_start_width fo_context_set_border_start_width fo_context_get_border_style fo_context_set_border_style fo_context_get_border_top fo_context_set_border_top fo_context_get_border_top_color fo_context_set_border_top_color fo_context_get_border_top_style fo_context_set_border_top_style fo_context_get_border_top_width fo_context_set_border_top_width fo_context_get_border_width fo_context_set_border_width fo_context_get_break_after fo_context_set_break_after fo_context_get_break_before fo_context_set_break_before fo_context_get_character fo_context_set_character fo_context_get_clip fo_context_set_clip fo_context_get_color fo_context_set_color fo_context_get_column_number fo_context_set_column_number fo_context_get_column_width fo_context_set_column_width fo_context_get_content_height fo_context_set_content_height fo_context_get_content_type fo_context_set_content_type fo_context_get_content_width fo_context_set_content_width fo_context_get_direction fo_context_set_direction fo_context_get_display_align fo_context_set_display_align fo_context_get_dominant_baseline fo_context_set_dominant_baseline fo_context_get_end_indent fo_context_set_end_indent fo_context_get_extent fo_context_set_extent fo_context_get_flow_name fo_context_set_flow_name fo_context_get_font_family fo_context_set_font_family fo_context_get_font_size fo_context_set_font_size fo_context_get_font_stretch fo_context_set_font_stretch fo_context_get_font_style fo_context_set_font_style fo_context_get_font_variant fo_context_set_font_variant fo_context_get_font_weight fo_context_set_font_weight fo_context_get_format fo_context_set_format fo_context_get_grouping_separator fo_context_set_grouping_separator fo_context_get_grouping_size fo_context_set_grouping_size fo_context_get_height fo_context_set_height fo_context_get_id fo_context_set_id fo_context_get_inline_progression_dimension fo_context_set_inline_progression_dimension fo_context_get_inline_progression_dimension_minimum fo_context_set_inline_progression_dimension_minimum fo_context_get_inline_progression_dimension_optimum fo_context_set_inline_progression_dimension_optimum fo_context_get_inline_progression_dimension_maximum fo_context_set_inline_progression_dimension_maximum fo_context_get_keep_together fo_context_set_keep_together fo_context_get_keep_together_within_column fo_context_set_keep_together_within_column fo_context_get_keep_together_within_line fo_context_set_keep_together_within_line fo_context_get_keep_together_within_page fo_context_set_keep_together_within_page fo_context_get_keep_with_next fo_context_set_keep_with_next fo_context_get_keep_with_next_within_column fo_context_set_keep_with_next_within_column fo_context_get_keep_with_next_within_line fo_context_set_keep_with_next_within_line fo_context_get_keep_with_next_within_page fo_context_set_keep_with_next_within_page fo_context_get_keep_with_previous fo_context_set_keep_with_previous fo_context_get_keep_with_previous_within_column fo_context_set_keep_with_previous_within_column fo_context_get_keep_with_previous_within_line fo_context_set_keep_with_previous_within_line fo_context_get_keep_with_previous_within_page fo_context_set_keep_with_previous_within_page fo_context_get_letter_value fo_context_set_letter_value fo_context_get_linefeed_treatment fo_context_set_linefeed_treatment fo_context_get_line_height fo_context_set_line_height fo_context_get_line_stacking_strategy fo_context_set_line_stacking_strategy fo_context_get_margin fo_context_set_margin fo_context_get_margin_bottom fo_context_set_margin_bottom fo_context_get_margin_left fo_context_set_margin_left fo_context_get_margin_right fo_context_set_margin_right fo_context_get_margin_top fo_context_set_margin_top fo_context_get_master_name fo_context_set_master_name fo_context_get_master_reference fo_context_set_master_reference fo_context_get_media_usage fo_context_set_media_usage fo_context_get_number_columns_repeated fo_context_set_number_columns_repeated fo_context_get_number_columns_spanned fo_context_set_number_columns_spanned fo_context_get_number_rows_spanned fo_context_set_number_rows_spanned fo_context_get_orphans fo_context_set_orphans fo_context_get_overflow fo_context_set_overflow fo_context_get_padding fo_context_set_padding fo_context_get_padding_after fo_context_set_padding_after fo_context_get_padding_after_length fo_context_set_padding_after_length fo_context_get_padding_after_condity fo_context_set_padding_after_condity fo_context_get_padding_before fo_context_set_padding_before fo_context_get_padding_before_length fo_context_set_padding_before_length fo_context_get_padding_before_condity fo_context_set_padding_before_condity fo_context_get_padding_bottom fo_context_set_padding_bottom fo_context_get_padding_end fo_context_set_padding_end fo_context_get_padding_end_length fo_context_set_padding_end_length fo_context_get_padding_end_condity fo_context_set_padding_end_condity fo_context_get_padding_left fo_context_set_padding_left fo_context_get_padding_right fo_context_set_padding_right fo_context_get_padding_start fo_context_set_padding_start fo_context_get_padding_start_length fo_context_set_padding_start_length fo_context_get_padding_start_condity fo_context_set_padding_start_condity fo_context_get_padding_top fo_context_set_padding_top fo_context_get_page_height fo_context_set_page_height fo_context_get_page_width fo_context_set_page_width fo_context_get_provisional_distance_between_starts fo_context_set_provisional_distance_between_starts fo_context_get_provisional_label_separation fo_context_set_provisional_label_separation fo_context_get_ref_id fo_context_set_ref_id fo_context_get_region_name fo_context_set_region_name fo_context_get_role fo_context_set_role fo_context_get_scaling fo_context_set_scaling fo_context_get_scaling_method fo_context_set_scaling_method fo_context_get_score_spaces fo_context_set_score_spaces fo_context_get_source_document fo_context_set_source_document fo_context_get_space_after fo_context_set_space_after fo_context_set_space_after_minimum fo_context_set_space_after_optimum fo_context_set_space_after_maximum fo_context_set_space_after_precedence fo_context_set_space_after_condity fo_context_get_space_before fo_context_set_space_before fo_context_set_space_before_minimum fo_context_set_space_before_optimum fo_context_set_space_before_maximum fo_context_set_space_before_precedence fo_context_set_space_before_condity fo_context_get_space_end fo_context_set_space_end fo_context_set_space_end_minimum fo_context_set_space_end_optimum fo_context_set_space_end_maximum fo_context_set_space_end_precedence fo_context_set_space_end_condity fo_context_get_space_start fo_context_set_space_start fo_context_set_space_start_minimum fo_context_set_space_start_optimum fo_context_set_space_start_maximum fo_context_set_space_start_precedence fo_context_set_space_start_condity fo_context_get_span fo_context_set_span fo_context_get_src fo_context_set_src fo_context_get_start_indent fo_context_set_start_indent fo_context_get_table_layout fo_context_set_table_layout fo_context_get_text_align fo_context_set_text_align fo_context_get_text_indent fo_context_set_text_indent fo_context_get_unicode_bidi fo_context_set_unicode_bidi fo_context_get_white_space_collapse fo_context_set_white_space_collapse fo_context_get_white_space_treatment fo_context_set_white_space_treatment fo_context_get_widows fo_context_set_widows fo_context_get_width fo_context_set_width fo_context_get_wrap_option fo_context_set_wrap_option fo_context_get_writing_mode fo_context_set_writing_mode FO_CONTEXT FO_IS_CONTEXT FO_TYPE_CONTEXT fo_context_get_type FO_CONTEXT_CLASS FO_IS_CONTEXT_CLASS FO_CONTEXT_GET_CLASS
fo-node FoNode FoNode FoNodeClass fo_node_new FoNodeTraverseFunc FoNodeForeachFunc FO_NODE_IS_ROOT FO_NODE_IS_LEAF fo_node_get_ancestor_or_self_by_type fo_node_get_ancestor_or_self_by_name fo_node_get_child_by_type fo_node_get_child_by_name fo_node_insert fo_node_insert_before fo_node_insert_after fo_node_prepend fo_node_n_nodes fo_node_get_root fo_node_is_ancestor fo_node_depth fo_node_append fo_node_traverse fo_node_max_height fo_node_children_foreach fo_node_reverse_children fo_node_n_children fo_node_nth_child fo_node_last_child fo_node_child_position fo_node_first_sibling fo_node_last_sibling fo_node_prev_sibling fo_node_next_sibling fo_node_first_child fo_node_parent fo_node_unlink fo_node_unlink_with_next_siblings fo_node_insert_with_next_siblings fo_node_debug_dump_tree FO_NODE FO_IS_NODE FO_TYPE_NODE fo_node_get_type FO_NODE_CLASS FO_IS_NODE_CLASS FO_NODE_GET_CLASS
fo-object FoObject FoObject FoObjectClass fo_object_new fo_object_debug_dump fo_object_debug_sprintf fo_object_sprintf fo_object_log_error fo_object_log_warning fo_object_log_debug fo_object_log_or_propagate_error fo_object_maybe_propagate_error fo_object_hash fo_object_equal FO_OBJECT FO_IS_OBJECT FO_TYPE_OBJECT fo_object_get_type FO_OBJECT_CLASS FO_IS_OBJECT_CLASS FO_OBJECT_GET_CLASS
fo-retrieve-marker FoRetrieveMarker FoRetrieveMarkerClass fo_retrieve_marker_new fo_retrieve_marker_update_from_context FO_RETRIEVE_MARKER FO_IS_RETRIEVE_MARKER FO_TYPE_RETRIEVE_MARKER fo_retrieve_marker_get_type FO_RETRIEVE_MARKER_CLASS FO_IS_RETRIEVE_MARKER_CLASS FO_RETRIEVE_MARKER_GET_CLASS
fo-area-area FoAreaArea FoAreaArea FoAreaAreaClass fo_area_area_new fo_area_area_set_x fo_area_area_get_x fo_area_area_set_y fo_area_area_get_y fo_area_area_set_width fo_area_area_get_width fo_area_area_set_height fo_area_area_get_height fo_area_area_set_border_before fo_area_area_get_border_before fo_area_area_set_border_after fo_area_area_get_border_after fo_area_area_set_border_start fo_area_area_get_border_start fo_area_area_set_border_end fo_area_area_get_border_end fo_area_area_set_padding_before fo_area_area_get_padding_before fo_area_area_set_padding_after fo_area_area_get_padding_after fo_area_area_set_padding_start fo_area_area_get_padding_start fo_area_area_set_padding_end fo_area_area_get_padding_end fo_area_area_set_start_indent fo_area_area_get_start_indent fo_area_area_set_end_indent fo_area_area_get_end_indent fo_area_area_set_space_before fo_area_area_get_space_before fo_area_area_set_space_after fo_area_area_get_space_after FO_AREA_AREA FO_IS_AREA_AREA FO_TYPE_AREA_AREA fo_area_area_get_type FO_AREA_AREA_CLASS FO_IS_AREA_AREA_CLASS FO_AREA_AREA_GET_CLASS
fo-area-graphic FoAreaGraphic FoAreaGraphicClass fo_area_graphic_new FO_AREA_GRAPHIC FO_IS_AREA_GRAPHIC FO_TYPE_AREA_GRAPHIC fo_area_graphic_get_type FO_AREA_GRAPHIC_CLASS FO_IS_AREA_GRAPHIC_CLASS FO_AREA_GRAPHIC_GET_CLASS
fo-area-inline FoAreaInline FoAreaInlineClass fo_area_inline_new FO_AREA_INLINE FO_IS_AREA_INLINE FO_TYPE_AREA_INLINE fo_area_inline_get_type FO_AREA_INLINE_CLASS FO_IS_AREA_INLINE_CLASS FO_AREA_INLINE_GET_CLASS
fo-area-layout FoAreaLayout FoAreaLayout FoAreaLayoutClass fo_area_layout_new fo_area_layout_new_with_layout fo_area_layout_set_layout fo_area_layout_get_layout fo_area_layout_set_line_first fo_area_layout_get_line_first fo_area_layout_set_line_last fo_area_layout_get_line_last fo_area_layout_get_line_height FO_AREA_LAYOUT FO_IS_AREA_LAYOUT FO_TYPE_AREA_LAYOUT fo_area_layout_get_type FO_AREA_LAYOUT_CLASS FO_IS_AREA_LAYOUT_CLASS FO_AREA_LAYOUT_GET_CLASS
fo-area-list-item FoAreaListItem FoAreaListItem FoAreaListItemClass fo_area_list_item_new FO_AREA_LIST_ITEM FO_IS_AREA_LIST_ITEM FO_TYPE_AREA_LIST_ITEM fo_area_list_item_get_type FO_AREA_LIST_ITEM_CLASS FO_IS_AREA_LIST_ITEM_CLASS FO_AREA_LIST_ITEM_GET_CLASS
fo-area-normal FoAreaNormal FoAreaNormal FoAreaNormalClass fo_area_normal_new FO_AREA_NORMAL FO_IS_AREA_NORMAL FO_TYPE_AREA_NORMAL fo_area_normal_get_type FO_AREA_NORMAL_CLASS FO_IS_AREA_NORMAL_CLASS FO_AREA_NORMAL_GET_CLASS
fo-area-page FoAreaPage FoAreaPage FoAreaPageClass FO_AREA_PAGE_ERROR fo_area_page_error_quark FoAreaPageError fo_area_page_new fo_area_page_set_page_number fo_area_page_get_page_number fo_area_page_set_page_width fo_area_page_get_page_width fo_area_page_set_page_height fo_area_page_get_page_height fo_area_page_set_margin_top fo_area_page_get_margin_top fo_area_page_set_margin_bottom fo_area_page_get_margin_bottom fo_area_page_set_margin_left fo_area_page_get_margin_left fo_area_page_set_margin_right fo_area_page_get_margin_right FO_AREA_PAGE FO_IS_AREA_PAGE FO_TYPE_AREA_PAGE fo_area_page_get_type FO_AREA_PAGE_CLASS FO_IS_AREA_PAGE_CLASS FO_AREA_PAGE_GET_CLASS
fo-area-reference FoAreaReference FoAreaReference FoAreaReferenceClass fo_area_reference_new fo_area_reference_set_bpd fo_area_reference_get_bpd fo_area_reference_set_ipd fo_area_reference_get_ipd fo_area_reference_set_sd fo_area_reference_get_sd FO_AREA_REFERENCE FO_IS_AREA_REFERENCE FO_TYPE_AREA_REFERENCE fo_area_reference_get_type FO_AREA_REFERENCE_CLASS FO_IS_AREA_REFERENCE_CLASS FO_AREA_REFERENCE_GET_CLASS
fo-area-spanning-table-cell FoAreaSpanningTableCell FoAreaSpanningTableCell FoAreaSpanningTableCellClass fo_area_spanning_table_cell_new fo_area_spanning_table_cell_new_with_rows_spanned fo_area_spanning_table_cell_get_nth_row_proxy fo_area_spanning_table_cell_get_real_height fo_area_spanning_table_cell_get_real_available_height FO_AREA_SPANNING_TABLE_CELL FO_IS_AREA_SPANNING_TABLE_CELL FO_TYPE_AREA_SPANNING_TABLE_CELL fo_area_spanning_table_cell_get_type FO_AREA_SPANNING_TABLE_CELL_CLASS FO_IS_AREA_SPANNING_TABLE_CELL_CLASS FO_AREA_SPANNING_TABLE_CELL_GET_CLASS
fo-area-table-body FoAreaTableBody FoAreaTableBody FoAreaTableBodyClass fo_area_table_body_new FO_AREA_TABLE_BODY FO_IS_AREA_TABLE_BODY FO_TYPE_AREA_TABLE_BODY fo_area_table_body_get_type FO_AREA_TABLE_BODY_CLASS FO_IS_AREA_TABLE_BODY_CLASS FO_AREA_TABLE_BODY_GET_CLASS
fo-libfo-module FoLibfoModule FoLibfoModuleClass fo_libfo_module_version_from_name fo_libfo_module_version_string_from_name fo_libfo_module_version_info_from_name FO_LIBFO_MODULE FO_IS_LIBFO_MODULE FO_TYPE_LIBFO_MODULE fo_libfo_module_get_type FO_LIBFO_MODULE_CLASS FO_IS_LIBFO_MODULE_CLASS FO_LIBFO_MODULE_GET_CLASS
fo-area-table-cell-proxy FoAreaTableCellProxy FoAreaTableCellProxy FoAreaTableCellProxyClass fo_area_table_cell_proxy_new fo_area_table_cell_proxy_set_table_cell fo_area_table_cell_proxy_get_table_cell fo_area_table_cell_proxy_set_row_number fo_area_table_cell_proxy_get_row_number fo_area_table_cell_proxy_set_min_height fo_area_table_cell_proxy_get_min_height FO_AREA_TABLE_CELL_PROXY FO_IS_AREA_TABLE_CELL_PROXY FO_TYPE_AREA_TABLE_CELL_PROXY fo_area_table_cell_proxy_get_type FO_AREA_TABLE_CELL_PROXY_CLASS FO_IS_AREA_TABLE_CELL_PROXY_CLASS FO_AREA_TABLE_CELL_PROXY_GET_CLASS
fo-area-table-cell FoAreaTableCell FoAreaTableCell FoAreaTableCellClass fo_area_table_cell_new FO_AREA_TABLE_CELL FO_IS_AREA_TABLE_CELL FO_TYPE_AREA_TABLE_CELL fo_area_table_cell_get_type FO_AREA_TABLE_CELL_CLASS FO_IS_AREA_TABLE_CELL_CLASS FO_AREA_TABLE_CELL_GET_CLASS
fo-area-table-continuation FoAreaTableContinuation FoAreaTableContinuation FoAreaTableContinuationClass fo_area_table_continuation_new FO_AREA_TABLE_CONTINUATION FO_IS_AREA_TABLE_CONTINUATION FO_TYPE_AREA_TABLE_CONTINUATION fo_area_table_continuation_get_type FO_AREA_TABLE_CONTINUATION_CLASS FO_IS_AREA_TABLE_CONTINUATION_CLASS FO_AREA_TABLE_CONTINUATION_GET_CLASS
fo-area-table-footer FoAreaTableFooter FoAreaTableFooter FoAreaTableFooterClass fo_area_table_footer_new FO_AREA_TABLE_FOOTER FO_IS_AREA_TABLE_FOOTER FO_TYPE_AREA_TABLE_FOOTER fo_area_table_footer_get_type FO_AREA_TABLE_FOOTER_CLASS FO_IS_AREA_TABLE_FOOTER_CLASS FO_AREA_TABLE_FOOTER_GET_CLASS
fo-area-table-header FoAreaTableHeader FoAreaTableHeader FoAreaTableHeaderClass fo_area_table_header_new FO_AREA_TABLE_HEADER FO_IS_AREA_TABLE_HEADER FO_TYPE_AREA_TABLE_HEADER fo_area_table_header_get_type FO_AREA_TABLE_HEADER_CLASS FO_IS_AREA_TABLE_HEADER_CLASS FO_AREA_TABLE_HEADER_GET_CLASS
fo-area-table-part FoAreaTablePart FoAreaTablePart FoAreaTablePartClass fo_area_table_part_new FO_AREA_TABLE_PART FO_IS_AREA_TABLE_PART FO_TYPE_AREA_TABLE_PART fo_area_table_part_get_type FO_AREA_TABLE_PART_CLASS FO_IS_AREA_TABLE_PART_CLASS FO_AREA_TABLE_PART_GET_CLASS
fo-area-table-row FoAreaTableRow FoAreaTableRow FoAreaTableRowClass fo_area_table_row_new FO_AREA_TABLE_ROW FO_IS_AREA_TABLE_ROW FO_TYPE_AREA_TABLE_ROW fo_area_table_row_get_type FO_AREA_TABLE_ROW_CLASS FO_IS_AREA_TABLE_ROW_CLASS FO_AREA_TABLE_ROW_GET_CLASS
fo-area-table FoAreaTable FoAreaTable FoAreaTableClass fo_area_table_new FO_AREA_TABLE FO_IS_AREA_TABLE FO_TYPE_AREA_TABLE fo_area_table_get_type FO_AREA_TABLE_CLASS FO_IS_AREA_TABLE_CLASS FO_AREA_TABLE_GET_CLASS
fo-area-tree FoAreaTree FoAreaTree FoAreaTreeClass fo_area_tree_new FO_AREA_TREE FO_IS_AREA_TREE FO_TYPE_AREA_TREE fo_area_tree_get_type FO_AREA_TREE_CLASS FO_IS_AREA_TREE_CLASS FO_AREA_TREE_GET_CLASS
fo-area-viewport-reference FoAreaViewportReference FoAreaViewportReference FoAreaViewportReferenceClass fo_area_viewport_reference_new FO_AREA_VIEWPORT_REFERENCE FO_IS_AREA_VIEWPORT_REFERENCE FO_TYPE_AREA_VIEWPORT_REFERENCE fo_area_viewport_reference_get_type FO_AREA_VIEWPORT_REFERENCE_CLASS FO_IS_AREA_VIEWPORT_REFERENCE_CLASS FO_AREA_VIEWPORT_REFERENCE_GET_CLASS
fo-area FoArea FoArea FoAreaClass fo_area_new fo_area_get_page fo_area_get_reference fo_area_get_page_sequence fo_area_get_is_first fo_area_get_is_last fo_area_get_next_x fo_area_set_next_x fo_area_get_next_y fo_area_set_next_y fo_area_get_available_width fo_area_set_available_width fo_area_get_available_height fo_area_set_available_height fo_area_get_child_available_ipdim fo_area_set_child_available_ipdim fo_area_get_child_available_bpdim fo_area_set_child_available_bpdim fo_area_get_generated_by fo_area_set_generated_by fo_area_add_child fo_area_size_request fo_area_debug_dump_properties fo_area_border_padding_space_resolve fo_area_break_resolve fo_area_set_height_from_children fo_area_clone fo_area_update_after_clone fo_area_split_before_height fo_area_split_before_height_check fo_area_resolve_text_align FoAreaTraverseFunc FoAreaForeachFunc FO_AREA_IS_ROOT FO_AREA_IS_LEAF fo_area_insert fo_area_insert_before fo_area_insert_after fo_area_prepend fo_area_n_areas fo_area_get_root fo_area_is_ancestor fo_area_depth fo_area_append fo_area_traverse fo_area_max_height fo_area_children_foreach fo_area_reverse_children fo_area_n_children fo_area_nth_child fo_area_last_child fo_area_child_position fo_area_first_sibling fo_area_last_sibling fo_area_prev_sibling fo_area_next_sibling fo_area_first_child fo_area_parent fo_area_unlink fo_area_unlink_with_next_siblings fo_area_insert_with_next_siblings FO_AREA FO_IS_AREA FO_TYPE_AREA fo_area_get_type FO_AREA_CLASS FO_IS_AREA_CLASS FO_AREA_GET_CLASS
fo-boolean FoBoolean FoBoolean FoBooleanClass fo_boolean_new fo_boolean_new_with_value fo_boolean_get_value fo_boolean_get_true fo_boolean_get_false FO_BOOLEAN FO_IS_BOOLEAN FO_TYPE_BOOLEAN fo_boolean_get_type FO_BOOLEAN_CLASS FO_IS_BOOLEAN_CLASS FO_BOOLEAN_GET_CLASS
fo-char FoChar FoChar FoCharClass fo_char_new_with_value fo_char_get_value fo_char_get_char_space fo_char_get_char_zws FO_CHAR FO_IS_CHAR FO_TYPE_CHAR fo_char_get_type FO_CHAR_CLASS FO_IS_CHAR_CLASS FO_CHAR_GET_CLASS
fo-color FoColor FoColor FoColorClass fo_color_new_with_value FO_COLOR_COMPONENT_MAX fo_color_get_red fo_color_get_green fo_color_get_blue fo_color_get_color_black fo_color_get_color_silver fo_color_get_color_gray fo_color_get_color_white fo_color_get_color_maroon fo_color_get_color_red fo_color_get_color_purple fo_color_get_color_fuchsia fo_color_get_color_green fo_color_get_color_lime fo_color_get_color_olive fo_color_get_color_yellow fo_color_get_color_navy fo_color_get_color_blue fo_color_get_color_teal fo_color_get_color_aqua fo_color_get_color_one_quarter fo_color_get_color_one_half fo_color_get_color_three_quarter FO_COLOR FO_IS_COLOR FO_TYPE_COLOR fo_color_get_type FO_COLOR_CLASS FO_IS_COLOR_CLASS FO_COLOR_GET_CLASS
fo-datatype FoDatatype FoDatatype FoDatatypeClass FO_DATATYPE_ERROR fo_datatype_error_quark FoDatatypeError fo_datatype_new fo_datatype_copy fo_datatype_get_condity_discard fo_datatype_get_condity_retain fo_datatype_add fo_datatype_sub fo_datatype_mul fo_datatype_div fo_datatype_mod fo_datatype_max fo_datatype_min fo_datatype_floor fo_datatype_ceiling fo_datatype_abs fo_datatype_round fo_datatype_negate FO_DATATYPE FO_IS_DATATYPE FO_TYPE_DATATYPE fo_datatype_get_type FO_DATATYPE_CLASS FO_IS_DATATYPE_CLASS FO_DATATYPE_GET_CLASS
fo-enum FoEnum FoEnumEnum FoEnum FoEnumClass fo_enum_new fo_enum_new_with_value fo_enum_get_enum_class fo_enum_get_value fo_enum_get_nick FO_TYPE_ENUM_ENUM fo_enum_enum_get_type fo_enum_get_enum_by_value fo_enum_get_enum_by_nick fo_enum_get_enum_auto fo_enum_get_enum_baseline fo_enum_get_enum_ltr fo_enum_get_enum_medium fo_enum_get_enum_none fo_enum_get_enum_uniform fo_enum_get_alphabetic fo_enum_get_always fo_enum_get_traditional FO_ENUM FO_IS_ENUM FO_TYPE_ENUM fo_enum_get_type FO_ENUM_CLASS FO_IS_ENUM_CLASS FO_ENUM_GET_CLASS
fo-error FoError FoError FoErrorClass fo_error_new fo_error_new_with_value fo_error_get_value FO_ERROR FO_IS_ERROR FO_TYPE_ERROR fo_error_get_type FO_ERROR_CLASS FO_IS_ERROR_CLASS FO_ERROR_GET_CLASS
fo-expression FoExpression FoExpression FoExpressionClass fo_expression_new fo_expression_get_value fo_expression_set_value FO_EXPRESSION FO_IS_EXPRESSION FO_TYPE_EXPRESSION fo_expression_get_type FO_EXPRESSION_CLASS FO_IS_EXPRESSION_CLASS FO_EXPRESSION_GET_CLASS
fo-id FoId FoId FoIdClass fo_id_new_with_value fo_id_get_value FO_ID FO_IS_ID FO_TYPE_ID fo_id_get_type FO_ID_CLASS FO_IS_ID_CLASS FO_ID_GET_CLASS
fo-integer FoInteger FoInteger FoIntegerClass fo_integer_new_with_value fo_integer_get_value fo_integer_get_integer_zero fo_integer_get_integer_one fo_integer_get_integer_two fo_integer_get_integer_three fo_integer_get_integer_four fo_integer_get_integer_five fo_integer_get_integer_six FO_INTEGER FO_IS_INTEGER FO_TYPE_INTEGER fo_integer_get_type FO_INTEGER_CLASS FO_IS_INTEGER_CLASS FO_INTEGER_GET_CLASS
fo-keep FoKeep FO_KEEP FoKeep FoKeepClass fo_keep_get_type fo_keep_new fo_keep_new_with_value fo_keep_get_keep_auto fo_keep_get_keep_always fo_keep_get_within_line fo_keep_get_within_column fo_keep_get_within_page fo_keep_resolve fo_keep_get_enum_auto fo_keep_get_enum_always FO_IS_KEEP FO_TYPE_KEEP FO_KEEP_CLASS FO_IS_KEEP_CLASS FO_KEEP_GET_CLASS
fo-length-bp-ip-d FoLengthBpIpD FoLengthBpIpD FoLengthBpIpDClass fo_length_bp_ip_d_new fo_length_bp_ip_d_new_with_value fo_length_bp_ip_d_get_length_bpd fo_length_bp_ip_d_get_length_ipd FO_LENGTH_BP_IP_D FO_IS_LENGTH_BP_IP_D FO_TYPE_LENGTH_BP_IP_D fo_length_bp_ip_d_get_type FO_LENGTH_BP_IP_D_CLASS FO_IS_LENGTH_BP_IP_D_CLASS FO_LENGTH_BP_IP_D_GET_CLASS
fo-length-conditional FoLengthCond FoLengthCond FoLengthCondClass fo_length_cond_new fo_length_cond_new_with_value fo_length_cond_new_from_length fo_length_cond_get_length fo_length_cond_set_length fo_length_cond_get_condity fo_length_cond_set_condity fo_length_cond_get_length_cond_zero fo_length_cond_resolve FO_LENGTH_COND FO_IS_LENGTH_COND FO_TYPE_LENGTH_COND fo_length_cond_get_type FO_LENGTH_COND_CLASS FO_IS_LENGTH_COND_CLASS FO_LENGTH_COND_GET_CLASS
fo-length-range FoLengthRange FO_LENGTH_RANGE FoLengthRange FoLengthRangeClass fo_length_range_get_type fo_length_range_new_auto fo_length_range_new_with_value fo_length_range_get_minimum fo_length_range_get_optimum fo_length_range_get_maximum fo_length_range_resolve fo_length_range_resolve_allow_auto fo_length_range_get_length_range_hundred_percent FO_IS_LENGTH_RANGE FO_TYPE_LENGTH_RANGE FO_LENGTH_RANGE_CLASS FO_IS_LENGTH_RANGE_CLASS FO_LENGTH_RANGE_GET_CLASS
fo-length FoLength FoLength FoLengthClass fo_length_new_with_value fo_length_new_from_pixels fo_length_get_value fo_length_get_length_minus_3pt fo_length_get_length_zero fo_length_get_length_3pt fo_length_get_length_6pt fo_length_get_length_24pt fo_length_get_length_A4_height fo_length_get_length_A4_width fo_length_get_width_thin fo_length_get_width_medium fo_length_get_width_thick FO_LENGTH FO_IS_LENGTH FO_TYPE_LENGTH fo_length_get_type FO_LENGTH_CLASS FO_IS_LENGTH_CLASS FO_LENGTH_GET_CLASS
fo-name FoName FoName FoNameClass fo_name_new fo_name_new_with_value fo_name_get_value fo_name_get_name_empty FO_NAME FO_IS_NAME FO_TYPE_NAME fo_name_get_type FO_NAME_CLASS FO_IS_NAME_CLASS FO_NAME_GET_CLASS
fo-number FoNumber FoNumber FoNumberClass fo_number_new fo_number_new_with_value fo_number_get_value fo_number_get_number_one FO_NUMBER FO_IS_NUMBER FO_TYPE_NUMBER fo_number_get_type FO_NUMBER_CLASS FO_IS_NUMBER_CLASS FO_NUMBER_GET_CLASS
fo-numeric FoNumeric FoNumeric FoNumericClass fo_numeric_new FO_NUMERIC FO_IS_NUMERIC FO_TYPE_NUMERIC fo_numeric_get_type FO_NUMERIC_CLASS FO_IS_NUMERIC_CLASS FO_NUMERIC_GET_CLASS
fo-pcw FoPcw FoPcw FoPcwClass fo_pcw_new fo_pcw_new_with_value fo_pcw_get_value fo_pcw_get_pcw_zero FO_PCW FO_IS_PCW FO_TYPE_PCW fo_pcw_get_type FO_PCW_CLASS FO_IS_PCW_CLASS FO_PCW_GET_CLASS
fo-percentage FoPercentage FoPercentage FoPercentageClass fo_percentage_new fo_percentage_new_with_value fo_percentage_get_value fo_percentage_set_value fo_percentage_get_percentage_hundred FO_PERCENTAGE FO_IS_PERCENTAGE FO_TYPE_PERCENTAGE fo_percentage_get_type FO_PERCENTAGE_CLASS FO_IS_PERCENTAGE_CLASS FO_PERCENTAGE_GET_CLASS
fo-space FoSpace FoSpace FoSpaceClass fo_space_new fo_space_new_from_length fo_space_set_minimum fo_space_get_minimum fo_space_set_optimum fo_space_get_optimum fo_space_set_maximum fo_space_get_maximum fo_space_set_precedence fo_space_get_precedence fo_space_set_condity fo_space_get_condity fo_space_get_space_0pt fo_space_resolve FO_SPACE FO_IS_SPACE FO_TYPE_SPACE fo_space_get_type FO_SPACE_CLASS FO_IS_SPACE_CLASS FO_SPACE_GET_CLASS
fo-string FoString FoString FoStringClass fo_string_new fo_string_new_with_value fo_string_get_value fo_string_get_string_one FO_STRING FO_IS_STRING FO_TYPE_STRING fo_string_get_type FO_STRING_CLASS FO_IS_STRING_CLASS FO_STRING_GET_CLASS
fo-tblr FoTblr FoTblr FoTblrClass fo_tblr_new fo_tblr_new_from_values fo_tblr_get_top fo_tblr_get_bottom fo_tblr_get_left fo_tblr_get_right FO_TBLR FO_IS_TBLR FO_TYPE_TBLR fo_tblr_get_type FO_TBLR_CLASS FO_IS_TBLR_CLASS FO_TBLR_GET_CLASS
fo-unknown FoUnknown FoUnknown FoUnknownClass fo_unknown_new fo_unknown_get_value fo_unknown_set_value FO_UNKNOWN FO_IS_UNKNOWN FO_TYPE_UNKNOWN fo_unknown_get_type FO_UNKNOWN_CLASS FO_IS_UNKNOWN_CLASS FO_UNKNOWN_GET_CLASS
fo-uri-specification FoUriSpecification FoUriSpecification FoUriSpecificationClass fo_uri_specification_new_with_value fo_uri_specification_get_value FO_URI_SPECIFICATION FO_IS_URI_SPECIFICATION FO_TYPE_URI_SPECIFICATION fo_uri_specification_get_type FO_URI_SPECIFICATION_CLASS FO_IS_URI_SPECIFICATION_CLASS FO_URI_SPECIFICATION_GET_CLASS
fo-wsc FoWsc FoWsc FoWscClass fo_wsc_new fo_wsc_new_from_values fo_wsc_get_width fo_wsc_get_style fo_wsc_get_color FO_WSC FO_IS_WSC FO_TYPE_WSC fo_wsc_get_type FO_WSC_CLASS FO_IS_WSC_CLASS FO_WSC_GET_CLASS
fo-hash-table FoHashTable FoHashTable FoHashTableClass FO_HASH_TABLE_ERROR fo_hash_table_error_quark fo_hash_table_new fo_hash_table_insert fo_hash_table_replace fo_hash_table_remove fo_hash_table_lookup fo_hash_table_size FO_HASH_TABLE FO_IS_HASH_TABLE FO_TYPE_HASH_TABLE fo_hash_table_get_type FO_HASH_TABLE_CLASS FO_IS_HASH_TABLE_CLASS FO_HASH_TABLE_GET_CLASS
fo-image FoImage FoImage FoImageClass fo_image_new fo_image_new_from_uri fo_image_get_uri fo_image_get_width fo_image_get_height FO_IMAGE FO_IS_IMAGE FO_TYPE_IMAGE fo_image_get_type FO_IMAGE_CLASS FO_IS_IMAGE_CLASS FO_IMAGE_GET_CLASS
fo-pixbuf FoPixbuf FO_PIXBUF_IFACE FoPixbuf FoPixbufIface fo_pixbuf_get_pixbuf fo_pixbuf_set_pixbuf FO_PIXBUF FO_IS_PIXBUF FO_TYPE_PIXBUF fo_pixbuf_get_type FO_PIXBUF_GET_IFACE
fo-basic-link basic-link FoBasicLink FoBasicLinkClass fo_basic_link_new fo_basic_link_get_alignment_adjust fo_basic_link_set_alignment_adjust fo_basic_link_get_alignment_baseline fo_basic_link_set_alignment_baseline fo_basic_link_get_background_color fo_basic_link_set_background_color fo_basic_link_get_background_image fo_basic_link_set_background_image fo_basic_link_get_baseline_shift fo_basic_link_set_baseline_shift fo_basic_link_get_border_after_color fo_basic_link_set_border_after_color fo_basic_link_get_border_after_style fo_basic_link_set_border_after_style fo_basic_link_get_border_after_width fo_basic_link_set_border_after_width fo_basic_link_get_border_before_color fo_basic_link_set_border_before_color fo_basic_link_get_border_before_style fo_basic_link_set_border_before_style fo_basic_link_get_border_before_width fo_basic_link_set_border_before_width fo_basic_link_get_border_bottom_color fo_basic_link_set_border_bottom_color fo_basic_link_get_border_bottom_style fo_basic_link_set_border_bottom_style fo_basic_link_get_border_bottom_width fo_basic_link_set_border_bottom_width fo_basic_link_get_border_end_color fo_basic_link_set_border_end_color fo_basic_link_get_border_end_style fo_basic_link_set_border_end_style fo_basic_link_get_border_end_width fo_basic_link_set_border_end_width fo_basic_link_get_border_left_color fo_basic_link_set_border_left_color fo_basic_link_get_border_left_style fo_basic_link_set_border_left_style fo_basic_link_get_border_left_width fo_basic_link_set_border_left_width fo_basic_link_get_border_right_color fo_basic_link_set_border_right_color fo_basic_link_get_border_right_style fo_basic_link_set_border_right_style fo_basic_link_get_border_right_width fo_basic_link_set_border_right_width fo_basic_link_get_border_start_color fo_basic_link_set_border_start_color fo_basic_link_get_border_start_style fo_basic_link_set_border_start_style fo_basic_link_get_border_start_width fo_basic_link_set_border_start_width fo_basic_link_get_border_top_color fo_basic_link_set_border_top_color fo_basic_link_get_border_top_style fo_basic_link_set_border_top_style fo_basic_link_get_border_top_width fo_basic_link_set_border_top_width fo_basic_link_get_dominant_baseline fo_basic_link_set_dominant_baseline fo_basic_link_get_id fo_basic_link_set_id fo_basic_link_get_keep_together fo_basic_link_set_keep_together fo_basic_link_get_keep_together_within_column fo_basic_link_set_keep_together_within_column fo_basic_link_get_keep_together_within_line fo_basic_link_set_keep_together_within_line fo_basic_link_get_keep_together_within_page fo_basic_link_set_keep_together_within_page fo_basic_link_get_keep_with_next fo_basic_link_set_keep_with_next fo_basic_link_get_keep_with_next_within_column fo_basic_link_set_keep_with_next_within_column fo_basic_link_get_keep_with_next_within_line fo_basic_link_set_keep_with_next_within_line fo_basic_link_get_keep_with_next_within_page fo_basic_link_set_keep_with_next_within_page fo_basic_link_get_keep_with_previous fo_basic_link_set_keep_with_previous fo_basic_link_get_keep_with_previous_within_column fo_basic_link_set_keep_with_previous_within_column fo_basic_link_get_keep_with_previous_within_line fo_basic_link_set_keep_with_previous_within_line fo_basic_link_get_keep_with_previous_within_page fo_basic_link_set_keep_with_previous_within_page fo_basic_link_get_line_height fo_basic_link_set_line_height fo_basic_link_get_padding_after fo_basic_link_set_padding_after fo_basic_link_get_padding_before fo_basic_link_set_padding_before fo_basic_link_get_padding_bottom fo_basic_link_set_padding_bottom fo_basic_link_get_padding_end fo_basic_link_set_padding_end fo_basic_link_get_padding_left fo_basic_link_set_padding_left fo_basic_link_get_padding_right fo_basic_link_set_padding_right fo_basic_link_get_padding_start fo_basic_link_set_padding_start fo_basic_link_get_padding_top fo_basic_link_set_padding_top fo_basic_link_get_role fo_basic_link_set_role fo_basic_link_get_source_document fo_basic_link_set_source_document fo_basic_link_get_space_end fo_basic_link_set_space_end fo_basic_link_get_space_start fo_basic_link_set_space_start FO_BASIC_LINK FO_IS_BASIC_LINK FO_TYPE_BASIC_LINK fo_basic_link_get_type FO_BASIC_LINK_CLASS FO_IS_BASIC_LINK_CLASS FO_BASIC_LINK_GET_CLASS
fo-bidi-override bidi-override FoBidiOverride FoBidiOverrideClass fo_bidi_override_new fo_bidi_override_set_color fo_bidi_override_get_color fo_bidi_override_set_direction fo_bidi_override_get_direction fo_bidi_override_set_font_family fo_bidi_override_get_font_family fo_bidi_override_set_font_size fo_bidi_override_get_font_size fo_bidi_override_set_font_stretch fo_bidi_override_get_font_stretch fo_bidi_override_set_font_style fo_bidi_override_get_font_style fo_bidi_override_set_font_variant fo_bidi_override_get_font_variant fo_bidi_override_set_font_weight fo_bidi_override_get_font_weight fo_bidi_override_set_id fo_bidi_override_get_id fo_bidi_override_set_line_height fo_bidi_override_get_line_height fo_bidi_override_set_score_spaces fo_bidi_override_get_score_spaces fo_bidi_override_set_unicode_bidi fo_bidi_override_get_unicode_bidi FO_BIDI_OVERRIDE FO_IS_BIDI_OVERRIDE FO_TYPE_BIDI_OVERRIDE fo_bidi_override_get_type FO_BIDI_OVERRIDE_CLASS FO_IS_BIDI_OVERRIDE_CLASS FO_BIDI_OVERRIDE_GET_CLASS
fo-block-block FoBlockBlock FoBlockBlock FoBlockBlockClass fo_block_block_new FO_BLOCK_BLOCK FO_IS_BLOCK_BLOCK FO_TYPE_BLOCK_BLOCK fo_block_block_get_type FO_BLOCK_BLOCK_CLASS FO_IS_BLOCK_BLOCK_CLASS FO_BLOCK_BLOCK_GET_CLASS
fo-block-container block-container FoBlockContainer FoBlockContainerClass fo_block_container_new fo_block_container_get_background_color fo_block_container_set_background_color fo_block_container_get_background_image fo_block_container_set_background_image fo_block_container_get_block_progression_dimension fo_block_container_set_block_progression_dimension fo_block_container_get_border_after_color fo_block_container_set_border_after_color fo_block_container_get_border_after_style fo_block_container_set_border_after_style fo_block_container_get_border_after_width fo_block_container_set_border_after_width fo_block_container_get_border_before_color fo_block_container_set_border_before_color fo_block_container_get_border_before_style fo_block_container_set_border_before_style fo_block_container_get_border_before_width fo_block_container_set_border_before_width fo_block_container_get_border_bottom_color fo_block_container_set_border_bottom_color fo_block_container_get_border_bottom_style fo_block_container_set_border_bottom_style fo_block_container_get_border_bottom_width fo_block_container_set_border_bottom_width fo_block_container_get_border_end_color fo_block_container_set_border_end_color fo_block_container_get_border_end_style fo_block_container_set_border_end_style fo_block_container_get_border_end_width fo_block_container_set_border_end_width fo_block_container_get_border_left_color fo_block_container_set_border_left_color fo_block_container_get_border_left_style fo_block_container_set_border_left_style fo_block_container_get_border_left_width fo_block_container_set_border_left_width fo_block_container_get_border_right_color fo_block_container_set_border_right_color fo_block_container_get_border_right_style fo_block_container_set_border_right_style fo_block_container_get_border_right_width fo_block_container_set_border_right_width fo_block_container_get_border_start_color fo_block_container_set_border_start_color fo_block_container_get_border_start_style fo_block_container_set_border_start_style fo_block_container_get_border_start_width fo_block_container_set_border_start_width fo_block_container_get_border_top_color fo_block_container_set_border_top_color fo_block_container_get_border_top_style fo_block_container_set_border_top_style fo_block_container_get_border_top_width fo_block_container_set_border_top_width fo_block_container_get_break_after fo_block_container_set_break_after fo_block_container_get_break_before fo_block_container_set_break_before fo_block_container_get_clip fo_block_container_set_clip fo_block_container_get_display_align fo_block_container_set_display_align fo_block_container_get_end_indent fo_block_container_set_end_indent fo_block_container_get_height fo_block_container_set_height fo_block_container_get_id fo_block_container_set_id fo_block_container_get_inline_progression_dimension fo_block_container_set_inline_progression_dimension fo_block_container_get_keep_together fo_block_container_set_keep_together fo_block_container_get_keep_together_within_column fo_block_container_set_keep_together_within_column fo_block_container_get_keep_together_within_line fo_block_container_set_keep_together_within_line fo_block_container_get_keep_together_within_page fo_block_container_set_keep_together_within_page fo_block_container_get_keep_with_next fo_block_container_set_keep_with_next fo_block_container_get_keep_with_next_within_column fo_block_container_set_keep_with_next_within_column fo_block_container_get_keep_with_next_within_line fo_block_container_set_keep_with_next_within_line fo_block_container_get_keep_with_next_within_page fo_block_container_set_keep_with_next_within_page fo_block_container_get_keep_with_previous fo_block_container_set_keep_with_previous fo_block_container_get_keep_with_previous_within_column fo_block_container_set_keep_with_previous_within_column fo_block_container_get_keep_with_previous_within_line fo_block_container_set_keep_with_previous_within_line fo_block_container_get_keep_with_previous_within_page fo_block_container_set_keep_with_previous_within_page fo_block_container_get_margin_bottom fo_block_container_set_margin_bottom fo_block_container_get_margin_left fo_block_container_set_margin_left fo_block_container_get_margin_right fo_block_container_set_margin_right fo_block_container_get_margin_top fo_block_container_set_margin_top fo_block_container_get_overflow fo_block_container_set_overflow fo_block_container_get_padding_after fo_block_container_set_padding_after fo_block_container_get_padding_before fo_block_container_set_padding_before fo_block_container_get_padding_bottom fo_block_container_set_padding_bottom fo_block_container_get_padding_end fo_block_container_set_padding_end fo_block_container_get_padding_left fo_block_container_set_padding_left fo_block_container_get_padding_right fo_block_container_set_padding_right fo_block_container_get_padding_start fo_block_container_set_padding_start fo_block_container_get_padding_top fo_block_container_set_padding_top fo_block_container_get_space_after fo_block_container_set_space_after fo_block_container_get_space_before fo_block_container_set_space_before fo_block_container_get_span fo_block_container_set_span fo_block_container_get_start_indent fo_block_container_set_start_indent fo_block_container_get_width fo_block_container_set_width fo_block_container_get_writing_mode fo_block_container_set_writing_mode FO_BLOCK_CONTAINER FO_IS_BLOCK_CONTAINER FO_TYPE_BLOCK_CONTAINER fo_block_container_get_type FO_BLOCK_CONTAINER_CLASS FO_IS_BLOCK_CONTAINER_CLASS FO_BLOCK_CONTAINER_GET_CLASS
fo-block-fo FoBlockFoIface FO_BLOCK_FO_IFACE FoBlockFo FoBlockFoIface fo_block_fo_update_area fo_block_fo_get_background_color fo_block_fo_get_border_after_color fo_block_fo_get_border_after_style fo_block_fo_get_border_after_width fo_block_fo_get_border_before_color fo_block_fo_get_border_before_style fo_block_fo_get_border_before_width fo_block_fo_get_border_end_color fo_block_fo_get_border_end_style fo_block_fo_get_border_end_width fo_block_fo_get_border_start_color fo_block_fo_get_border_start_style fo_block_fo_get_border_start_width fo_block_fo_get_keep_together fo_block_fo_get_keep_with_next fo_block_fo_get_keep_with_previous fo_block_fo_get_padding_after fo_block_fo_get_padding_before fo_block_fo_get_padding_end fo_block_fo_get_padding_start fo_block_fo_get_space_before fo_block_fo_get_space_after fo_block_fo_get_start_indent fo_block_fo_get_end_indent FO_BLOCK_FO FO_IS_BLOCK_FO FO_TYPE_BLOCK_FO fo_block_fo_get_type FO_BLOCK_FO_GET_IFACE
fo-block-layout FoBlockLayout FoBlockLayout FoBlockLayoutClass fo_block_layout_new fo_block_layout_update_from_context FO_BLOCK_LAYOUT FO_IS_BLOCK_LAYOUT FO_TYPE_BLOCK_LAYOUT fo_block_layout_get_type FO_BLOCK_LAYOUT_CLASS FO_IS_BLOCK_LAYOUT_CLASS FO_BLOCK_LAYOUT_GET_CLASS
fo-block-whitespace FoBlockWhitespace FoBlockWhitespace FoBlockWhitespaceClass fo_block_whitespace_new fo_block_whitespace_update_from_context FO_BLOCK_WHITESPACE FO_IS_BLOCK_WHITESPACE FO_TYPE_BLOCK_WHITESPACE fo_block_whitespace_get_type FO_BLOCK_WHITESPACE_CLASS FO_IS_BLOCK_WHITESPACE_CLASS FO_BLOCK_WHITESPACE_GET_CLASS
fo-block block FoBlock FoBlockClass fo_block_new fo_block_get_background_color fo_block_set_background_color fo_block_get_background_image fo_block_set_background_image fo_block_get_border_after_color fo_block_set_border_after_color fo_block_get_border_after_style fo_block_set_border_after_style fo_block_get_border_after_width fo_block_set_border_after_width fo_block_get_border_before_color fo_block_set_border_before_color fo_block_get_border_before_style fo_block_set_border_before_style fo_block_get_border_before_width fo_block_set_border_before_width fo_block_get_border_bottom_color fo_block_set_border_bottom_color fo_block_get_border_bottom_style fo_block_set_border_bottom_style fo_block_get_border_bottom_width fo_block_set_border_bottom_width fo_block_get_border_end_color fo_block_set_border_end_color fo_block_get_border_end_style fo_block_set_border_end_style fo_block_get_border_end_width fo_block_set_border_end_width fo_block_get_border_left_color fo_block_set_border_left_color fo_block_get_border_left_style fo_block_set_border_left_style fo_block_get_border_left_width fo_block_set_border_left_width fo_block_get_border_right_color fo_block_set_border_right_color fo_block_get_border_right_style fo_block_set_border_right_style fo_block_get_border_right_width fo_block_set_border_right_width fo_block_get_border_start_color fo_block_set_border_start_color fo_block_get_border_start_style fo_block_set_border_start_style fo_block_get_border_start_width fo_block_set_border_start_width fo_block_get_border_top_color fo_block_set_border_top_color fo_block_get_border_top_style fo_block_set_border_top_style fo_block_get_border_top_width fo_block_set_border_top_width fo_block_get_break_after fo_block_set_break_after fo_block_get_break_before fo_block_set_break_before fo_block_get_color fo_block_set_color fo_block_get_end_indent fo_block_set_end_indent fo_block_get_font_family fo_block_set_font_family fo_block_get_font_size fo_block_set_font_size fo_block_get_font_stretch fo_block_set_font_stretch fo_block_get_font_style fo_block_set_font_style fo_block_get_font_variant fo_block_set_font_variant fo_block_get_font_weight fo_block_set_font_weight fo_block_get_id fo_block_set_id fo_block_get_keep_together fo_block_set_keep_together fo_block_get_keep_together_within_column fo_block_set_keep_together_within_column fo_block_get_keep_together_within_line fo_block_set_keep_together_within_line fo_block_get_keep_together_within_page fo_block_set_keep_together_within_page fo_block_get_keep_with_next fo_block_set_keep_with_next fo_block_get_keep_with_next_within_column fo_block_set_keep_with_next_within_column fo_block_get_keep_with_next_within_line fo_block_set_keep_with_next_within_line fo_block_get_keep_with_next_within_page fo_block_set_keep_with_next_within_page fo_block_get_keep_with_previous fo_block_set_keep_with_previous fo_block_get_keep_with_previous_within_column fo_block_set_keep_with_previous_within_column fo_block_get_keep_with_previous_within_line fo_block_set_keep_with_previous_within_line fo_block_get_keep_with_previous_within_page fo_block_set_keep_with_previous_within_page fo_block_get_line_height fo_block_set_line_height fo_block_get_line_stacking_strategy fo_block_set_line_stacking_strategy fo_block_get_linefeed_treatment fo_block_set_linefeed_treatment fo_block_get_margin_bottom fo_block_set_margin_bottom fo_block_get_margin_left fo_block_set_margin_left fo_block_get_margin_right fo_block_set_margin_right fo_block_get_margin_top fo_block_set_margin_top fo_block_get_orphans fo_block_set_orphans fo_block_get_padding_after fo_block_set_padding_after fo_block_get_padding_before fo_block_set_padding_before fo_block_get_padding_bottom fo_block_set_padding_bottom fo_block_get_padding_end fo_block_set_padding_end fo_block_get_padding_left fo_block_set_padding_left fo_block_get_padding_right fo_block_set_padding_right fo_block_get_padding_start fo_block_set_padding_start fo_block_get_padding_top fo_block_set_padding_top fo_block_get_role fo_block_set_role fo_block_get_source_document fo_block_set_source_document fo_block_get_space_after fo_block_set_space_after fo_block_get_space_before fo_block_set_space_before fo_block_get_span fo_block_set_span fo_block_get_start_indent fo_block_set_start_indent fo_block_get_text_align fo_block_set_text_align fo_block_get_text_indent fo_block_set_text_indent fo_block_get_white_space_collapse fo_block_set_white_space_collapse fo_block_get_white_space_treatment fo_block_set_white_space_treatment fo_block_get_widows fo_block_set_widows fo_block_get_wrap_option fo_block_set_wrap_option FO_BLOCK FO_IS_BLOCK FO_TYPE_BLOCK fo_block_get_type FO_BLOCK_CLASS FO_IS_BLOCK_CLASS FO_BLOCK_GET_CLASS
fo-character FoCharacter FoCharacter FoCharacterClass fo_character_new fo_character_get_alignment_adjust fo_character_set_alignment_adjust fo_character_get_alignment_baseline fo_character_set_alignment_baseline fo_character_get_background_color fo_character_set_background_color fo_character_get_background_image fo_character_set_background_image fo_character_get_baseline_shift fo_character_set_baseline_shift fo_character_get_border_after_color fo_character_set_border_after_color fo_character_get_border_after_style fo_character_set_border_after_style fo_character_get_border_after_width fo_character_set_border_after_width fo_character_get_border_before_color fo_character_set_border_before_color fo_character_get_border_before_style fo_character_set_border_before_style fo_character_get_border_before_width fo_character_set_border_before_width fo_character_get_border_bottom_color fo_character_set_border_bottom_color fo_character_get_border_bottom_style fo_character_set_border_bottom_style fo_character_get_border_bottom_width fo_character_set_border_bottom_width fo_character_get_border_end_color fo_character_set_border_end_color fo_character_get_border_end_style fo_character_set_border_end_style fo_character_get_border_end_width fo_character_set_border_end_width fo_character_get_border_left_color fo_character_set_border_left_color fo_character_get_border_left_style fo_character_set_border_left_style fo_character_get_border_left_width fo_character_set_border_left_width fo_character_get_border_right_color fo_character_set_border_right_color fo_character_get_border_right_style fo_character_set_border_right_style fo_character_get_border_right_width fo_character_set_border_right_width fo_character_get_border_start_color fo_character_set_border_start_color fo_character_get_border_start_style fo_character_set_border_start_style fo_character_get_border_start_width fo_character_set_border_start_width fo_character_get_border_top_color fo_character_set_border_top_color fo_character_get_border_top_style fo_character_set_border_top_style fo_character_get_border_top_width fo_character_set_border_top_width fo_character_get_character fo_character_set_character fo_character_get_color fo_character_set_color fo_character_get_dominant_baseline fo_character_set_dominant_baseline fo_character_get_font_family fo_character_set_font_family fo_character_get_font_size fo_character_set_font_size fo_character_get_font_stretch fo_character_set_font_stretch fo_character_get_font_style fo_character_set_font_style fo_character_get_font_variant fo_character_set_font_variant fo_character_get_font_weight fo_character_set_font_weight fo_character_get_id fo_character_set_id fo_character_get_keep_with_next fo_character_set_keep_with_next fo_character_get_keep_with_next_within_column fo_character_set_keep_with_next_within_column fo_character_get_keep_with_next_within_line fo_character_set_keep_with_next_within_line fo_character_get_keep_with_next_within_page fo_character_set_keep_with_next_within_page fo_character_get_keep_with_previous fo_character_set_keep_with_previous fo_character_get_keep_with_previous_within_column fo_character_set_keep_with_previous_within_column fo_character_get_keep_with_previous_within_line fo_character_set_keep_with_previous_within_line fo_character_get_keep_with_previous_within_page fo_character_set_keep_with_previous_within_page fo_character_get_line_height fo_character_set_line_height fo_character_get_padding_after fo_character_set_padding_after fo_character_get_padding_before fo_character_set_padding_before fo_character_get_padding_bottom fo_character_set_padding_bottom fo_character_get_padding_end fo_character_set_padding_end fo_character_get_padding_left fo_character_set_padding_left fo_character_get_padding_right fo_character_set_padding_right fo_character_get_padding_start fo_character_set_padding_start fo_character_get_padding_top fo_character_set_padding_top fo_character_get_score_spaces fo_character_set_score_spaces fo_character_get_space_end fo_character_set_space_end fo_character_get_space_start fo_character_set_space_start FO_CHARACTER FO_IS_CHARACTER FO_TYPE_CHARACTER fo_character_get_type FO_CHARACTER_CLASS FO_IS_CHARACTER_CLASS FO_CHARACTER_GET_CLASS
fo-color-profile color-profile FoColorProfile FoColorProfileClass fo_color_profile_new fo_color_profile_get_src fo_color_profile_set_src FO_COLOR_PROFILE FO_IS_COLOR_PROFILE FO_TYPE_COLOR_PROFILE fo_color_profile_get_type FO_COLOR_PROFILE_CLASS FO_IS_COLOR_PROFILE_CLASS FO_COLOR_PROFILE_GET_CLASS
fo-conditional-page-master-reference conditional-page-master-reference FoConditionalPageMasterReference FoConditionalPageMasterReferenceClass fo_conditional_page_master_reference_new fo_conditional_page_master_reference_get_master_reference fo_conditional_page_master_reference_set_master_reference FO_CONDITIONAL_PAGE_MASTER_REFERENCE FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE FO_TYPE_CONDITIONAL_PAGE_MASTER_REFERENCE fo_conditional_page_master_reference_get_type FO_CONDITIONAL_PAGE_MASTER_REFERENCE_CLASS FO_IS_CONDITIONAL_PAGE_MASTER_REFERENCE_CLASS FO_CONDITIONAL_PAGE_MASTER_REFERENCE_GET_CLASS
fo-declarations declarations FoDeclarations FoDeclarationsClass fo_declarations_new FO_DECLARATIONS FO_IS_DECLARATIONS FO_TYPE_DECLARATIONS fo_declarations_get_type FO_DECLARATIONS_CLASS FO_IS_DECLARATIONS_CLASS FO_DECLARATIONS_GET_CLASS
fo-external-graphic external-graphic FoExternalGraphic FoExternalGraphicClass fo_external_graphic_new fo_external_graphic_new_with_base_uri fo_external_graphic_get_alignment_adjust fo_external_graphic_set_alignment_adjust fo_external_graphic_get_alignment_baseline fo_external_graphic_set_alignment_baseline fo_external_graphic_get_background_color fo_external_graphic_set_background_color fo_external_graphic_get_background_image fo_external_graphic_set_background_image fo_external_graphic_get_base_uri fo_external_graphic_get_baseline_shift fo_external_graphic_set_baseline_shift fo_external_graphic_get_block_progression_dimension fo_external_graphic_set_block_progression_dimension fo_external_graphic_get_border_after_color fo_external_graphic_set_border_after_color fo_external_graphic_get_border_after_style fo_external_graphic_set_border_after_style fo_external_graphic_get_border_after_width fo_external_graphic_set_border_after_width fo_external_graphic_get_border_before_color fo_external_graphic_set_border_before_color fo_external_graphic_get_border_before_style fo_external_graphic_set_border_before_style fo_external_graphic_get_border_before_width fo_external_graphic_set_border_before_width fo_external_graphic_get_border_bottom_color fo_external_graphic_set_border_bottom_color fo_external_graphic_get_border_bottom_style fo_external_graphic_set_border_bottom_style fo_external_graphic_get_border_bottom_width fo_external_graphic_set_border_bottom_width fo_external_graphic_get_border_end_color fo_external_graphic_set_border_end_color fo_external_graphic_get_border_end_style fo_external_graphic_set_border_end_style fo_external_graphic_get_border_end_width fo_external_graphic_set_border_end_width fo_external_graphic_get_border_left_color fo_external_graphic_set_border_left_color fo_external_graphic_get_border_left_style fo_external_graphic_set_border_left_style fo_external_graphic_get_border_left_width fo_external_graphic_set_border_left_width fo_external_graphic_get_border_right_color fo_external_graphic_set_border_right_color fo_external_graphic_get_border_right_style fo_external_graphic_set_border_right_style fo_external_graphic_get_border_right_width fo_external_graphic_set_border_right_width fo_external_graphic_get_border_start_color fo_external_graphic_set_border_start_color fo_external_graphic_get_border_start_style fo_external_graphic_set_border_start_style fo_external_graphic_get_border_start_width fo_external_graphic_set_border_start_width fo_external_graphic_get_border_top_color fo_external_graphic_set_border_top_color fo_external_graphic_get_border_top_style fo_external_graphic_set_border_top_style fo_external_graphic_get_border_top_width fo_external_graphic_set_border_top_width fo_external_graphic_get_clip fo_external_graphic_set_clip fo_external_graphic_get_content_height fo_external_graphic_set_content_height fo_external_graphic_get_content_type fo_external_graphic_set_content_type fo_external_graphic_get_content_width fo_external_graphic_set_content_width fo_external_graphic_get_display_align fo_external_graphic_set_display_align fo_external_graphic_get_dominant_baseline fo_external_graphic_set_dominant_baseline fo_external_graphic_get_height fo_external_graphic_set_height fo_external_graphic_get_id fo_external_graphic_set_id fo_external_graphic_get_inline_progression_dimension fo_external_graphic_set_inline_progression_dimension fo_external_graphic_get_keep_with_next fo_external_graphic_set_keep_with_next fo_external_graphic_get_keep_with_next_within_column fo_external_graphic_set_keep_with_next_within_column fo_external_graphic_get_keep_with_next_within_line fo_external_graphic_set_keep_with_next_within_line fo_external_graphic_get_keep_with_next_within_page fo_external_graphic_set_keep_with_next_within_page fo_external_graphic_get_keep_with_previous fo_external_graphic_set_keep_with_previous fo_external_graphic_get_keep_with_previous_within_column fo_external_graphic_set_keep_with_previous_within_column fo_external_graphic_get_keep_with_previous_within_line fo_external_graphic_set_keep_with_previous_within_line fo_external_graphic_get_keep_with_previous_within_page fo_external_graphic_set_keep_with_previous_within_page fo_external_graphic_get_line_height fo_external_graphic_set_line_height fo_external_graphic_get_overflow fo_external_graphic_set_overflow fo_external_graphic_get_padding_after fo_external_graphic_set_padding_after fo_external_graphic_get_padding_before fo_external_graphic_set_padding_before fo_external_graphic_get_padding_bottom fo_external_graphic_set_padding_bottom fo_external_graphic_get_padding_end fo_external_graphic_set_padding_end fo_external_graphic_get_padding_left fo_external_graphic_set_padding_left fo_external_graphic_get_padding_right fo_external_graphic_set_padding_right fo_external_graphic_get_padding_start fo_external_graphic_set_padding_start fo_external_graphic_get_padding_top fo_external_graphic_set_padding_top fo_external_graphic_get_role fo_external_graphic_set_role fo_external_graphic_get_scaling fo_external_graphic_set_scaling fo_external_graphic_get_scaling_method fo_external_graphic_set_scaling_method fo_external_graphic_get_source_document fo_external_graphic_set_source_document fo_external_graphic_get_space_end fo_external_graphic_set_space_end fo_external_graphic_get_space_start fo_external_graphic_set_space_start fo_external_graphic_get_src fo_external_graphic_set_src fo_external_graphic_get_text_align fo_external_graphic_set_text_align fo_external_graphic_get_width fo_external_graphic_set_width FO_EXTERNAL_GRAPHIC FO_IS_EXTERNAL_GRAPHIC FO_TYPE_EXTERNAL_GRAPHIC fo_external_graphic_get_type FO_EXTERNAL_GRAPHIC_CLASS FO_IS_EXTERNAL_GRAPHIC_CLASS FO_EXTERNAL_GRAPHIC_GET_CLASS
fo-float float FoFloat FoFloatClass fo_float_new FO_FLOAT FO_IS_FLOAT FO_TYPE_FLOAT fo_float_get_type FO_FLOAT_CLASS FO_IS_FLOAT_CLASS FO_FLOAT_GET_CLASS
fo-flow flow FoFlow FoFlowClass fo_flow_new fo_flow_get_region_master fo_flow_set_flow_name fo_flow_get_flow_name FO_FLOW FO_IS_FLOW FO_TYPE_FLOW fo_flow_get_type FO_FLOW_CLASS FO_IS_FLOW_CLASS FO_FLOW_GET_CLASS
fo-fo FoFo FoFo FoFoClass FO_FO_ERROR fo_fo_error_quark FoFoError FoFoAreaNew2Context FoFoAreaIterator fo_fo_new fo_fo_debug_dump_properties fo_fo_set_context fo_fo_get_context fo_fo_update_from_context fo_fo_get_flow fo_fo_get_tree fo_fo_get_generate_reference_area fo_fo_get_allow_mixed_content fo_fo_validate_content fo_fo_resolve_property_attributes fo_fo_children_properties_resolve fo_fo_validate fo_fo_clone fo_fo_area_new fo_fo_area_new2 fo_fo_trim_whitespace_children fo_fo_validate_content_empty fo_fo_validate_content_block_plus fo_fo_validate_pcdata_or_inline fo_fo_validate_block_or_whitespace fo_fo_validate_pcdata_inline_block_neutral fo_fo_get_area_iterator fo_fo_area_iterator_get_area fo_fo_area_iterator_next FO_FO FO_IS_FO FO_TYPE_FO fo_fo_get_type FO_FO_CLASS FO_IS_FO_CLASS FO_FO_GET_CLASS
fo-footnote-body footnote-body FoFootnoteBody FoFootnoteBodyClass fo_footnote_body_new fo_footnote_body_get_role fo_footnote_body_set_role fo_footnote_body_get_source_document fo_footnote_body_set_source_document FO_FOOTNOTE_BODY FO_IS_FOOTNOTE_BODY FO_TYPE_FOOTNOTE_BODY fo_footnote_body_get_type FO_FOOTNOTE_BODY_CLASS FO_IS_FOOTNOTE_BODY_CLASS FO_FOOTNOTE_BODY_GET_CLASS
fo-footnote footnote FoFootnote FoFootnoteClass fo_footnote_new fo_footnote_set_role fo_footnote_get_role fo_footnote_set_source_document fo_footnote_get_source_document FO_FOOTNOTE FO_IS_FOOTNOTE FO_TYPE_FOOTNOTE fo_footnote_get_type FO_FOOTNOTE_CLASS FO_IS_FOOTNOTE_CLASS FO_FOOTNOTE_GET_CLASS
fo-initial-property-set initial-property-set FoInitialPropertySet FoInitialPropertySetClass fo_initial_property_set_new fo_initial_property_set_get_background_color fo_initial_property_set_set_background_color fo_initial_property_set_get_background_image fo_initial_property_set_set_background_image fo_initial_property_set_get_border_after_color fo_initial_property_set_set_border_after_color fo_initial_property_set_get_border_after_style fo_initial_property_set_set_border_after_style fo_initial_property_set_get_border_after_width fo_initial_property_set_set_border_after_width fo_initial_property_set_get_border_before_color fo_initial_property_set_set_border_before_color fo_initial_property_set_get_border_before_style fo_initial_property_set_set_border_before_style fo_initial_property_set_get_border_before_width fo_initial_property_set_set_border_before_width fo_initial_property_set_get_border_bottom_color fo_initial_property_set_set_border_bottom_color fo_initial_property_set_get_border_bottom_style fo_initial_property_set_set_border_bottom_style fo_initial_property_set_get_border_bottom_width fo_initial_property_set_set_border_bottom_width fo_initial_property_set_get_border_end_color fo_initial_property_set_set_border_end_color fo_initial_property_set_get_border_end_style fo_initial_property_set_set_border_end_style fo_initial_property_set_get_border_end_width fo_initial_property_set_set_border_end_width fo_initial_property_set_get_border_left_color fo_initial_property_set_set_border_left_color fo_initial_property_set_get_border_left_style fo_initial_property_set_set_border_left_style fo_initial_property_set_get_border_left_width fo_initial_property_set_set_border_left_width fo_initial_property_set_get_border_right_color fo_initial_property_set_set_border_right_color fo_initial_property_set_get_border_right_style fo_initial_property_set_set_border_right_style fo_initial_property_set_get_border_right_width fo_initial_property_set_set_border_right_width fo_initial_property_set_get_border_start_color fo_initial_property_set_set_border_start_color fo_initial_property_set_get_border_start_style fo_initial_property_set_set_border_start_style fo_initial_property_set_get_border_start_width fo_initial_property_set_set_border_start_width fo_initial_property_set_get_border_top_color fo_initial_property_set_set_border_top_color fo_initial_property_set_get_border_top_style fo_initial_property_set_set_border_top_style fo_initial_property_set_get_border_top_width fo_initial_property_set_set_border_top_width fo_initial_property_set_get_color fo_initial_property_set_set_color fo_initial_property_set_get_font_family fo_initial_property_set_set_font_family fo_initial_property_set_get_font_size fo_initial_property_set_set_font_size fo_initial_property_set_get_font_stretch fo_initial_property_set_set_font_stretch fo_initial_property_set_get_font_style fo_initial_property_set_set_font_style fo_initial_property_set_get_font_variant fo_initial_property_set_set_font_variant fo_initial_property_set_get_font_weight fo_initial_property_set_set_font_weight fo_initial_property_set_get_id fo_initial_property_set_set_id fo_initial_property_set_get_line_height fo_initial_property_set_set_line_height fo_initial_property_set_get_padding_after fo_initial_property_set_set_padding_after fo_initial_property_set_get_padding_before fo_initial_property_set_set_padding_before fo_initial_property_set_get_padding_bottom fo_initial_property_set_set_padding_bottom fo_initial_property_set_get_padding_end fo_initial_property_set_set_padding_end fo_initial_property_set_get_padding_left fo_initial_property_set_set_padding_left fo_initial_property_set_get_padding_right fo_initial_property_set_set_padding_right fo_initial_property_set_get_padding_start fo_initial_property_set_set_padding_start fo_initial_property_set_get_padding_top fo_initial_property_set_set_padding_top fo_initial_property_set_get_role fo_initial_property_set_set_role fo_initial_property_set_get_score_spaces fo_initial_property_set_set_score_spaces fo_initial_property_set_get_source_document fo_initial_property_set_set_source_document FO_INITIAL_PROPERTY_SET FO_IS_INITIAL_PROPERTY_SET FO_TYPE_INITIAL_PROPERTY_SET fo_initial_property_set_get_type FO_INITIAL_PROPERTY_SET_CLASS FO_IS_INITIAL_PROPERTY_SET_CLASS FO_INITIAL_PROPERTY_SET_GET_CLASS
fo-inline-container inline-container FoInlineContainer FoInlineContainerClass fo_inline_container_new fo_inline_container_get_alignment_adjust fo_inline_container_set_alignment_adjust fo_inline_container_get_alignment_baseline fo_inline_container_set_alignment_baseline fo_inline_container_get_background_color fo_inline_container_set_background_color fo_inline_container_get_background_image fo_inline_container_set_background_image fo_inline_container_get_baseline_shift fo_inline_container_set_baseline_shift fo_inline_container_get_block_progression_dimension fo_inline_container_set_block_progression_dimension fo_inline_container_get_border_after_color fo_inline_container_set_border_after_color fo_inline_container_get_border_after_style fo_inline_container_set_border_after_style fo_inline_container_get_border_after_width fo_inline_container_set_border_after_width fo_inline_container_get_border_before_color fo_inline_container_set_border_before_color fo_inline_container_get_border_before_style fo_inline_container_set_border_before_style fo_inline_container_get_border_before_width fo_inline_container_set_border_before_width fo_inline_container_get_border_bottom_color fo_inline_container_set_border_bottom_color fo_inline_container_get_border_bottom_style fo_inline_container_set_border_bottom_style fo_inline_container_get_border_bottom_width fo_inline_container_set_border_bottom_width fo_inline_container_get_border_end_color fo_inline_container_set_border_end_color fo_inline_container_get_border_end_style fo_inline_container_set_border_end_style fo_inline_container_get_border_end_width fo_inline_container_set_border_end_width fo_inline_container_get_border_left_color fo_inline_container_set_border_left_color fo_inline_container_get_border_left_style fo_inline_container_set_border_left_style fo_inline_container_get_border_left_width fo_inline_container_set_border_left_width fo_inline_container_get_border_right_color fo_inline_container_set_border_right_color fo_inline_container_get_border_right_style fo_inline_container_set_border_right_style fo_inline_container_get_border_right_width fo_inline_container_set_border_right_width fo_inline_container_get_border_start_color fo_inline_container_set_border_start_color fo_inline_container_get_border_start_style fo_inline_container_set_border_start_style fo_inline_container_get_border_start_width fo_inline_container_set_border_start_width fo_inline_container_get_border_top_color fo_inline_container_set_border_top_color fo_inline_container_get_border_top_style fo_inline_container_set_border_top_style fo_inline_container_get_border_top_width fo_inline_container_set_border_top_width fo_inline_container_get_clip fo_inline_container_set_clip fo_inline_container_get_display_align fo_inline_container_set_display_align fo_inline_container_get_dominant_baseline fo_inline_container_set_dominant_baseline fo_inline_container_get_height fo_inline_container_set_height fo_inline_container_get_id fo_inline_container_set_id fo_inline_container_get_inline_progression_dimension fo_inline_container_set_inline_progression_dimension fo_inline_container_get_keep_together fo_inline_container_set_keep_together fo_inline_container_get_keep_together_within_column fo_inline_container_set_keep_together_within_column fo_inline_container_get_keep_together_within_line fo_inline_container_set_keep_together_within_line fo_inline_container_get_keep_together_within_page fo_inline_container_set_keep_together_within_page fo_inline_container_get_keep_with_next fo_inline_container_set_keep_with_next fo_inline_container_get_keep_with_next_within_column fo_inline_container_set_keep_with_next_within_column fo_inline_container_get_keep_with_next_within_line fo_inline_container_set_keep_with_next_within_line fo_inline_container_get_keep_with_next_within_page fo_inline_container_set_keep_with_next_within_page fo_inline_container_get_keep_with_previous fo_inline_container_set_keep_with_previous fo_inline_container_get_keep_with_previous_within_column fo_inline_container_set_keep_with_previous_within_column fo_inline_container_get_keep_with_previous_within_line fo_inline_container_set_keep_with_previous_within_line fo_inline_container_get_keep_with_previous_within_page fo_inline_container_set_keep_with_previous_within_page fo_inline_container_get_line_height fo_inline_container_set_line_height fo_inline_container_get_overflow fo_inline_container_set_overflow fo_inline_container_get_padding_after fo_inline_container_set_padding_after fo_inline_container_get_padding_before fo_inline_container_set_padding_before fo_inline_container_get_padding_bottom fo_inline_container_set_padding_bottom fo_inline_container_get_padding_end fo_inline_container_set_padding_end fo_inline_container_get_padding_left fo_inline_container_set_padding_left fo_inline_container_get_padding_right fo_inline_container_set_padding_right fo_inline_container_get_padding_start fo_inline_container_set_padding_start fo_inline_container_get_padding_top fo_inline_container_set_padding_top fo_inline_container_get_space_end fo_inline_container_set_space_end fo_inline_container_get_space_start fo_inline_container_set_space_start fo_inline_container_get_width fo_inline_container_set_width fo_inline_container_get_writing_mode fo_inline_container_set_writing_mode FO_INLINE_CONTAINER FO_IS_INLINE_CONTAINER FO_TYPE_INLINE_CONTAINER fo_inline_container_get_type FO_INLINE_CONTAINER_CLASS FO_IS_INLINE_CONTAINER_CLASS FO_INLINE_CONTAINER_GET_CLASS
fo-inline-fo FoInlineFoIface FO_INLINE_FO_IFACE FoInlineFo FoInlineFoIface fo_inline_fo_get_text_attr_list fo_inline_fo_is_linefeed fo_inline_fo_is_non_linefeed_white_space fo_inline_fo_is_white_space FO_INLINE_FO FO_IS_INLINE_FO FO_TYPE_INLINE_FO fo_inline_fo_get_type FO_INLINE_FO_GET_IFACE
fo-inline inline FoInline FoInlineClass fo_inline_new fo_inline_get_alignment_adjust fo_inline_set_alignment_adjust fo_inline_get_alignment_baseline fo_inline_set_alignment_baseline fo_inline_get_background_color fo_inline_set_background_color fo_inline_get_background_image fo_inline_set_background_image fo_inline_get_baseline_shift fo_inline_set_baseline_shift fo_inline_get_block_progression_dimension fo_inline_set_block_progression_dimension fo_inline_get_border_after_color fo_inline_set_border_after_color fo_inline_get_border_after_style fo_inline_set_border_after_style fo_inline_get_border_after_width fo_inline_set_border_after_width fo_inline_get_border_before_color fo_inline_set_border_before_color fo_inline_get_border_before_style fo_inline_set_border_before_style fo_inline_get_border_before_width fo_inline_set_border_before_width fo_inline_get_border_bottom_color fo_inline_set_border_bottom_color fo_inline_get_border_bottom_style fo_inline_set_border_bottom_style fo_inline_get_border_bottom_width fo_inline_set_border_bottom_width fo_inline_get_border_end_color fo_inline_set_border_end_color fo_inline_get_border_end_style fo_inline_set_border_end_style fo_inline_get_border_end_width fo_inline_set_border_end_width fo_inline_get_border_left_color fo_inline_set_border_left_color fo_inline_get_border_left_style fo_inline_set_border_left_style fo_inline_get_border_left_width fo_inline_set_border_left_width fo_inline_get_border_right_color fo_inline_set_border_right_color fo_inline_get_border_right_style fo_inline_set_border_right_style fo_inline_get_border_right_width fo_inline_set_border_right_width fo_inline_get_border_start_color fo_inline_set_border_start_color fo_inline_get_border_start_style fo_inline_set_border_start_style fo_inline_get_border_start_width fo_inline_set_border_start_width fo_inline_get_border_top_color fo_inline_set_border_top_color fo_inline_get_border_top_style fo_inline_set_border_top_style fo_inline_get_border_top_width fo_inline_set_border_top_width fo_inline_get_color fo_inline_set_color fo_inline_get_dominant_baseline fo_inline_set_dominant_baseline fo_inline_get_font_family fo_inline_set_font_family fo_inline_get_font_size fo_inline_set_font_size fo_inline_get_font_stretch fo_inline_set_font_stretch fo_inline_get_font_style fo_inline_set_font_style fo_inline_get_font_variant fo_inline_set_font_variant fo_inline_get_font_weight fo_inline_set_font_weight fo_inline_get_height fo_inline_set_height fo_inline_get_id fo_inline_set_id fo_inline_get_inline_progression_dimension fo_inline_set_inline_progression_dimension fo_inline_get_keep_together fo_inline_set_keep_together fo_inline_get_keep_together_within_column fo_inline_set_keep_together_within_column fo_inline_get_keep_together_within_line fo_inline_set_keep_together_within_line fo_inline_get_keep_together_within_page fo_inline_set_keep_together_within_page fo_inline_get_keep_with_next fo_inline_set_keep_with_next fo_inline_get_keep_with_next_within_column fo_inline_set_keep_with_next_within_column fo_inline_get_keep_with_next_within_line fo_inline_set_keep_with_next_within_line fo_inline_get_keep_with_next_within_page fo_inline_set_keep_with_next_within_page fo_inline_get_keep_with_previous fo_inline_set_keep_with_previous fo_inline_get_keep_with_previous_within_column fo_inline_set_keep_with_previous_within_column fo_inline_get_keep_with_previous_within_line fo_inline_set_keep_with_previous_within_line fo_inline_get_keep_with_previous_within_page fo_inline_set_keep_with_previous_within_page fo_inline_get_line_height fo_inline_set_line_height fo_inline_get_padding_after fo_inline_set_padding_after fo_inline_get_padding_before fo_inline_set_padding_before fo_inline_get_padding_bottom fo_inline_set_padding_bottom fo_inline_get_padding_end fo_inline_set_padding_end fo_inline_get_padding_left fo_inline_set_padding_left fo_inline_get_padding_right fo_inline_set_padding_right fo_inline_get_padding_start fo_inline_set_padding_start fo_inline_get_padding_top fo_inline_set_padding_top fo_inline_get_role fo_inline_set_role fo_inline_get_source_document fo_inline_set_source_document fo_inline_get_space_end fo_inline_set_space_end fo_inline_get_space_start fo_inline_set_space_start fo_inline_get_width fo_inline_set_width fo_inline_get_wrap_option fo_inline_set_wrap_option FO_INLINE FO_IS_INLINE FO_TYPE_INLINE fo_inline_get_type FO_INLINE_CLASS FO_IS_INLINE_CLASS FO_INLINE_GET_CLASS
fo-instream-foreign-object instream-foreign-object FoInstreamForeignObject FoInstreamForeignObjectClass fo_instream_foreign_object_new fo_instream_foreign_object_get_alignment_adjust fo_instream_foreign_object_set_alignment_adjust fo_instream_foreign_object_get_alignment_baseline fo_instream_foreign_object_set_alignment_baseline fo_instream_foreign_object_get_background_color fo_instream_foreign_object_set_background_color fo_instream_foreign_object_get_background_image fo_instream_foreign_object_set_background_image fo_instream_foreign_object_get_baseline_shift fo_instream_foreign_object_set_baseline_shift fo_instream_foreign_object_get_block_progression_dimension fo_instream_foreign_object_set_block_progression_dimension fo_instream_foreign_object_get_border_after_color fo_instream_foreign_object_set_border_after_color fo_instream_foreign_object_get_border_after_style fo_instream_foreign_object_set_border_after_style fo_instream_foreign_object_get_border_after_width fo_instream_foreign_object_set_border_after_width fo_instream_foreign_object_get_border_before_color fo_instream_foreign_object_set_border_before_color fo_instream_foreign_object_get_border_before_style fo_instream_foreign_object_set_border_before_style fo_instream_foreign_object_get_border_before_width fo_instream_foreign_object_set_border_before_width fo_instream_foreign_object_get_border_bottom_color fo_instream_foreign_object_set_border_bottom_color fo_instream_foreign_object_get_border_bottom_style fo_instream_foreign_object_set_border_bottom_style fo_instream_foreign_object_get_border_bottom_width fo_instream_foreign_object_set_border_bottom_width fo_instream_foreign_object_get_border_end_color fo_instream_foreign_object_set_border_end_color fo_instream_foreign_object_get_border_end_style fo_instream_foreign_object_set_border_end_style fo_instream_foreign_object_get_border_end_width fo_instream_foreign_object_set_border_end_width fo_instream_foreign_object_get_border_left_color fo_instream_foreign_object_set_border_left_color fo_instream_foreign_object_get_border_left_style fo_instream_foreign_object_set_border_left_style fo_instream_foreign_object_get_border_left_width fo_instream_foreign_object_set_border_left_width fo_instream_foreign_object_get_border_right_color fo_instream_foreign_object_set_border_right_color fo_instream_foreign_object_get_border_right_style fo_instream_foreign_object_set_border_right_style fo_instream_foreign_object_get_border_right_width fo_instream_foreign_object_set_border_right_width fo_instream_foreign_object_get_border_start_color fo_instream_foreign_object_set_border_start_color fo_instream_foreign_object_get_border_start_style fo_instream_foreign_object_set_border_start_style fo_instream_foreign_object_get_border_start_width fo_instream_foreign_object_set_border_start_width fo_instream_foreign_object_get_border_top_color fo_instream_foreign_object_set_border_top_color fo_instream_foreign_object_get_border_top_style fo_instream_foreign_object_set_border_top_style fo_instream_foreign_object_get_border_top_width fo_instream_foreign_object_set_border_top_width fo_instream_foreign_object_get_clip fo_instream_foreign_object_set_clip fo_instream_foreign_object_get_content_height fo_instream_foreign_object_set_content_height fo_instream_foreign_object_get_content_type fo_instream_foreign_object_set_content_type fo_instream_foreign_object_get_content_width fo_instream_foreign_object_set_content_width fo_instream_foreign_object_get_display_align fo_instream_foreign_object_set_display_align fo_instream_foreign_object_get_dominant_baseline fo_instream_foreign_object_set_dominant_baseline fo_instream_foreign_object_get_height fo_instream_foreign_object_set_height fo_instream_foreign_object_get_id fo_instream_foreign_object_set_id fo_instream_foreign_object_get_inline_progression_dimension fo_instream_foreign_object_set_inline_progression_dimension fo_instream_foreign_object_get_keep_with_next fo_instream_foreign_object_set_keep_with_next fo_instream_foreign_object_get_keep_with_next_within_column fo_instream_foreign_object_set_keep_with_next_within_column fo_instream_foreign_object_get_keep_with_next_within_line fo_instream_foreign_object_set_keep_with_next_within_line fo_instream_foreign_object_get_keep_with_next_within_page fo_instream_foreign_object_set_keep_with_next_within_page fo_instream_foreign_object_get_keep_with_previous fo_instream_foreign_object_set_keep_with_previous fo_instream_foreign_object_get_keep_with_previous_within_column fo_instream_foreign_object_set_keep_with_previous_within_column fo_instream_foreign_object_get_keep_with_previous_within_line fo_instream_foreign_object_set_keep_with_previous_within_line fo_instream_foreign_object_get_keep_with_previous_within_page fo_instream_foreign_object_set_keep_with_previous_within_page fo_instream_foreign_object_get_line_height fo_instream_foreign_object_set_line_height fo_instream_foreign_object_get_overflow fo_instream_foreign_object_set_overflow fo_instream_foreign_object_get_padding_after fo_instream_foreign_object_set_padding_after fo_instream_foreign_object_get_padding_before fo_instream_foreign_object_set_padding_before fo_instream_foreign_object_get_padding_bottom fo_instream_foreign_object_set_padding_bottom fo_instream_foreign_object_get_padding_end fo_instream_foreign_object_set_padding_end fo_instream_foreign_object_get_padding_left fo_instream_foreign_object_set_padding_left fo_instream_foreign_object_get_padding_right fo_instream_foreign_object_set_padding_right fo_instream_foreign_object_get_padding_start fo_instream_foreign_object_set_padding_start fo_instream_foreign_object_get_padding_top fo_instream_foreign_object_set_padding_top fo_instream_foreign_object_get_role fo_instream_foreign_object_set_role fo_instream_foreign_object_get_scaling fo_instream_foreign_object_set_scaling fo_instream_foreign_object_get_scaling_method fo_instream_foreign_object_set_scaling_method fo_instream_foreign_object_get_source_document fo_instream_foreign_object_set_source_document fo_instream_foreign_object_get_space_end fo_instream_foreign_object_set_space_end fo_instream_foreign_object_get_space_start fo_instream_foreign_object_set_space_start fo_instream_foreign_object_get_text_align fo_instream_foreign_object_set_text_align fo_instream_foreign_object_get_width fo_instream_foreign_object_set_width FO_INSTREAM_FOREIGN_OBJECT FO_IS_INSTREAM_FOREIGN_OBJECT FO_TYPE_INSTREAM_FOREIGN_OBJECT fo_instream_foreign_object_get_type FO_INSTREAM_FOREIGN_OBJECT_CLASS FO_IS_INSTREAM_FOREIGN_OBJECT_CLASS FO_INSTREAM_FOREIGN_OBJECT_GET_CLASS
fo-layout-master-set layout-master-set FoLayoutMasterSet FoLayoutMasterSetClass fo_layout_master_set_new FO_LAYOUT_MASTER_SET FO_IS_LAYOUT_MASTER_SET FO_TYPE_LAYOUT_MASTER_SET fo_layout_master_set_get_type FO_LAYOUT_MASTER_SET_CLASS FO_IS_LAYOUT_MASTER_SET_CLASS FO_LAYOUT_MASTER_SET_GET_CLASS
fo-leader leader FoLeader FoLeaderClass fo_leader_new fo_leader_get_alignment_adjust fo_leader_set_alignment_adjust fo_leader_get_alignment_baseline fo_leader_set_alignment_baseline fo_leader_get_background_color fo_leader_set_background_color fo_leader_get_background_image fo_leader_set_background_image fo_leader_get_baseline_shift fo_leader_set_baseline_shift fo_leader_get_border_after_color fo_leader_set_border_after_color fo_leader_get_border_after_style fo_leader_set_border_after_style fo_leader_get_border_after_width fo_leader_set_border_after_width fo_leader_get_border_before_color fo_leader_set_border_before_color fo_leader_get_border_before_style fo_leader_set_border_before_style fo_leader_get_border_before_width fo_leader_set_border_before_width fo_leader_get_border_bottom_color fo_leader_set_border_bottom_color fo_leader_get_border_bottom_style fo_leader_set_border_bottom_style fo_leader_get_border_bottom_width fo_leader_set_border_bottom_width fo_leader_get_border_end_color fo_leader_set_border_end_color fo_leader_get_border_end_style fo_leader_set_border_end_style fo_leader_get_border_end_width fo_leader_set_border_end_width fo_leader_get_border_left_color fo_leader_set_border_left_color fo_leader_get_border_left_style fo_leader_set_border_left_style fo_leader_get_border_left_width fo_leader_set_border_left_width fo_leader_get_border_right_color fo_leader_set_border_right_color fo_leader_get_border_right_style fo_leader_set_border_right_style fo_leader_get_border_right_width fo_leader_set_border_right_width fo_leader_get_border_start_color fo_leader_set_border_start_color fo_leader_get_border_start_style fo_leader_set_border_start_style fo_leader_get_border_start_width fo_leader_set_border_start_width fo_leader_get_border_top_color fo_leader_set_border_top_color fo_leader_get_border_top_style fo_leader_set_border_top_style fo_leader_get_border_top_width fo_leader_set_border_top_width fo_leader_get_color fo_leader_set_color fo_leader_get_dominant_baseline fo_leader_set_dominant_baseline fo_leader_get_font_family fo_leader_set_font_family fo_leader_get_font_size fo_leader_set_font_size fo_leader_get_font_stretch fo_leader_set_font_stretch fo_leader_get_font_style fo_leader_set_font_style fo_leader_get_font_variant fo_leader_set_font_variant fo_leader_get_font_weight fo_leader_set_font_weight fo_leader_get_id fo_leader_set_id fo_leader_get_keep_with_next fo_leader_set_keep_with_next fo_leader_get_keep_with_next_within_column fo_leader_set_keep_with_next_within_column fo_leader_get_keep_with_next_within_line fo_leader_set_keep_with_next_within_line fo_leader_get_keep_with_next_within_page fo_leader_set_keep_with_next_within_page fo_leader_get_keep_with_previous fo_leader_set_keep_with_previous fo_leader_get_keep_with_previous_within_column fo_leader_set_keep_with_previous_within_column fo_leader_get_keep_with_previous_within_line fo_leader_set_keep_with_previous_within_line fo_leader_get_keep_with_previous_within_page fo_leader_set_keep_with_previous_within_page fo_leader_get_line_height fo_leader_set_line_height fo_leader_get_padding_after fo_leader_set_padding_after fo_leader_get_padding_before fo_leader_set_padding_before fo_leader_get_padding_bottom fo_leader_set_padding_bottom fo_leader_get_padding_end fo_leader_set_padding_end fo_leader_get_padding_left fo_leader_set_padding_left fo_leader_get_padding_right fo_leader_set_padding_right fo_leader_get_padding_start fo_leader_set_padding_start fo_leader_get_padding_top fo_leader_set_padding_top fo_leader_get_role fo_leader_set_role fo_leader_get_source_document fo_leader_set_source_document fo_leader_get_space_end fo_leader_set_space_end fo_leader_get_space_start fo_leader_set_space_start FO_LEADER FO_IS_LEADER FO_TYPE_LEADER fo_leader_get_type FO_LEADER_CLASS FO_IS_LEADER_CLASS FO_LEADER_GET_CLASS
fo-list-block list-block FoListBlock FoListBlockClass fo_list_block_new fo_list_block_get_body_start fo_list_block_get_label_end fo_list_block_get_background_color fo_list_block_set_background_color fo_list_block_get_background_image fo_list_block_set_background_image fo_list_block_get_border_after_color fo_list_block_set_border_after_color fo_list_block_get_border_after_style fo_list_block_set_border_after_style fo_list_block_get_border_after_width fo_list_block_set_border_after_width fo_list_block_get_border_before_color fo_list_block_set_border_before_color fo_list_block_get_border_before_style fo_list_block_set_border_before_style fo_list_block_get_border_before_width fo_list_block_set_border_before_width fo_list_block_get_border_bottom_color fo_list_block_set_border_bottom_color fo_list_block_get_border_bottom_style fo_list_block_set_border_bottom_style fo_list_block_get_border_bottom_width fo_list_block_set_border_bottom_width fo_list_block_get_border_end_color fo_list_block_set_border_end_color fo_list_block_get_border_end_style fo_list_block_set_border_end_style fo_list_block_get_border_end_width fo_list_block_set_border_end_width fo_list_block_get_border_left_color fo_list_block_set_border_left_color fo_list_block_get_border_left_style fo_list_block_set_border_left_style fo_list_block_get_border_left_width fo_list_block_set_border_left_width fo_list_block_get_border_right_color fo_list_block_set_border_right_color fo_list_block_get_border_right_style fo_list_block_set_border_right_style fo_list_block_get_border_right_width fo_list_block_set_border_right_width fo_list_block_get_border_start_color fo_list_block_set_border_start_color fo_list_block_get_border_start_style fo_list_block_set_border_start_style fo_list_block_get_border_start_width fo_list_block_set_border_start_width fo_list_block_get_border_top_color fo_list_block_set_border_top_color fo_list_block_get_border_top_style fo_list_block_set_border_top_style fo_list_block_get_border_top_width fo_list_block_set_border_top_width fo_list_block_get_break_after fo_list_block_set_break_after fo_list_block_get_break_before fo_list_block_set_break_before fo_list_block_get_end_indent fo_list_block_set_end_indent fo_list_block_get_id fo_list_block_set_id fo_list_block_get_keep_together fo_list_block_set_keep_together fo_list_block_get_keep_together_within_column fo_list_block_set_keep_together_within_column fo_list_block_get_keep_together_within_line fo_list_block_set_keep_together_within_line fo_list_block_get_keep_together_within_page fo_list_block_set_keep_together_within_page fo_list_block_get_keep_with_next fo_list_block_set_keep_with_next fo_list_block_get_keep_with_next_within_column fo_list_block_set_keep_with_next_within_column fo_list_block_get_keep_with_next_within_line fo_list_block_set_keep_with_next_within_line fo_list_block_get_keep_with_next_within_page fo_list_block_set_keep_with_next_within_page fo_list_block_get_keep_with_previous fo_list_block_set_keep_with_previous fo_list_block_get_keep_with_previous_within_column fo_list_block_set_keep_with_previous_within_column fo_list_block_get_keep_with_previous_within_line fo_list_block_set_keep_with_previous_within_line fo_list_block_get_keep_with_previous_within_page fo_list_block_set_keep_with_previous_within_page fo_list_block_get_margin_bottom fo_list_block_set_margin_bottom fo_list_block_get_margin_left fo_list_block_set_margin_left fo_list_block_get_margin_right fo_list_block_set_margin_right fo_list_block_get_margin_top fo_list_block_set_margin_top fo_list_block_get_padding_after fo_list_block_set_padding_after fo_list_block_get_padding_before fo_list_block_set_padding_before fo_list_block_get_padding_bottom fo_list_block_set_padding_bottom fo_list_block_get_padding_end fo_list_block_set_padding_end fo_list_block_get_padding_left fo_list_block_set_padding_left fo_list_block_get_padding_right fo_list_block_set_padding_right fo_list_block_get_padding_start fo_list_block_set_padding_start fo_list_block_get_padding_top fo_list_block_set_padding_top fo_list_block_get_provisional_distance_between_starts fo_list_block_set_provisional_distance_between_starts fo_list_block_get_provisional_label_separation fo_list_block_set_provisional_label_separation fo_list_block_get_role fo_list_block_set_role fo_list_block_get_source_document fo_list_block_set_source_document fo_list_block_get_space_after fo_list_block_set_space_after fo_list_block_get_space_before fo_list_block_set_space_before fo_list_block_get_start_indent fo_list_block_set_start_indent FO_LIST_BLOCK FO_IS_LIST_BLOCK FO_TYPE_LIST_BLOCK fo_list_block_get_type FO_LIST_BLOCK_CLASS FO_IS_LIST_BLOCK_CLASS FO_LIST_BLOCK_GET_CLASS
fo-list-item-body list-item-body FoListItemBody FoListItemBodyClass fo_list_item_body_new fo_list_item_body_get_id fo_list_item_body_set_id fo_list_item_body_get_keep_together fo_list_item_body_set_keep_together fo_list_item_body_get_keep_together_within_column fo_list_item_body_set_keep_together_within_column fo_list_item_body_get_keep_together_within_line fo_list_item_body_set_keep_together_within_line fo_list_item_body_get_keep_together_within_page fo_list_item_body_set_keep_together_within_page fo_list_item_body_get_role fo_list_item_body_set_role fo_list_item_body_get_source_document fo_list_item_body_set_source_document FO_LIST_ITEM_BODY FO_IS_LIST_ITEM_BODY FO_TYPE_LIST_ITEM_BODY fo_list_item_body_get_type FO_LIST_ITEM_BODY_CLASS FO_IS_LIST_ITEM_BODY_CLASS FO_LIST_ITEM_BODY_GET_CLASS
fo-list-item-label list-item-label FoListItemLabel FoListItemLabelClass fo_list_item_label_new fo_list_item_label_get_id fo_list_item_label_set_id fo_list_item_label_get_keep_together fo_list_item_label_set_keep_together fo_list_item_label_get_keep_together_within_column fo_list_item_label_set_keep_together_within_column fo_list_item_label_get_keep_together_within_line fo_list_item_label_set_keep_together_within_line fo_list_item_label_get_keep_together_within_page fo_list_item_label_set_keep_together_within_page fo_list_item_label_get_role fo_list_item_label_set_role fo_list_item_label_get_source_document fo_list_item_label_set_source_document FO_LIST_ITEM_LABEL FO_IS_LIST_ITEM_LABEL FO_TYPE_LIST_ITEM_LABEL fo_list_item_label_get_type FO_LIST_ITEM_LABEL_CLASS FO_IS_LIST_ITEM_LABEL_CLASS FO_LIST_ITEM_LABEL_GET_CLASS
fo-list-item list-item FoListItem FoListItemClass fo_list_item_new fo_list_item_get_background_color fo_list_item_set_background_color fo_list_item_get_background_image fo_list_item_set_background_image fo_list_item_get_border_after_color fo_list_item_set_border_after_color fo_list_item_get_border_after_style fo_list_item_set_border_after_style fo_list_item_get_border_after_width fo_list_item_set_border_after_width fo_list_item_get_border_before_color fo_list_item_set_border_before_color fo_list_item_get_border_before_style fo_list_item_set_border_before_style fo_list_item_get_border_before_width fo_list_item_set_border_before_width fo_list_item_get_border_bottom_color fo_list_item_set_border_bottom_color fo_list_item_get_border_bottom_style fo_list_item_set_border_bottom_style fo_list_item_get_border_bottom_width fo_list_item_set_border_bottom_width fo_list_item_get_border_end_color fo_list_item_set_border_end_color fo_list_item_get_border_end_style fo_list_item_set_border_end_style fo_list_item_get_border_end_width fo_list_item_set_border_end_width fo_list_item_get_border_left_color fo_list_item_set_border_left_color fo_list_item_get_border_left_style fo_list_item_set_border_left_style fo_list_item_get_border_left_width fo_list_item_set_border_left_width fo_list_item_get_border_right_color fo_list_item_set_border_right_color fo_list_item_get_border_right_style fo_list_item_set_border_right_style fo_list_item_get_border_right_width fo_list_item_set_border_right_width fo_list_item_get_border_start_color fo_list_item_set_border_start_color fo_list_item_get_border_start_style fo_list_item_set_border_start_style fo_list_item_get_border_start_width fo_list_item_set_border_start_width fo_list_item_get_border_top_color fo_list_item_set_border_top_color fo_list_item_get_border_top_style fo_list_item_set_border_top_style fo_list_item_get_border_top_width fo_list_item_set_border_top_width fo_list_item_get_break_after fo_list_item_set_break_after fo_list_item_get_break_before fo_list_item_set_break_before fo_list_item_get_end_indent fo_list_item_set_end_indent fo_list_item_get_id fo_list_item_set_id fo_list_item_get_keep_together fo_list_item_set_keep_together fo_list_item_get_keep_together_within_column fo_list_item_set_keep_together_within_column fo_list_item_get_keep_together_within_line fo_list_item_set_keep_together_within_line fo_list_item_get_keep_together_within_page fo_list_item_set_keep_together_within_page fo_list_item_get_keep_with_next fo_list_item_set_keep_with_next fo_list_item_get_keep_with_next_within_column fo_list_item_set_keep_with_next_within_column fo_list_item_get_keep_with_next_within_line fo_list_item_set_keep_with_next_within_line fo_list_item_get_keep_with_next_within_page fo_list_item_set_keep_with_next_within_page fo_list_item_get_keep_with_previous fo_list_item_set_keep_with_previous fo_list_item_get_keep_with_previous_within_column fo_list_item_set_keep_with_previous_within_column fo_list_item_get_keep_with_previous_within_line fo_list_item_set_keep_with_previous_within_line fo_list_item_get_keep_with_previous_within_page fo_list_item_set_keep_with_previous_within_page fo_list_item_get_margin_bottom fo_list_item_set_margin_bottom fo_list_item_get_margin_left fo_list_item_set_margin_left fo_list_item_get_margin_right fo_list_item_set_margin_right fo_list_item_get_margin_top fo_list_item_set_margin_top fo_list_item_get_padding_after fo_list_item_set_padding_after fo_list_item_get_padding_before fo_list_item_set_padding_before fo_list_item_get_padding_bottom fo_list_item_set_padding_bottom fo_list_item_get_padding_end fo_list_item_set_padding_end fo_list_item_get_padding_left fo_list_item_set_padding_left fo_list_item_get_padding_right fo_list_item_set_padding_right fo_list_item_get_padding_start fo_list_item_set_padding_start fo_list_item_get_padding_top fo_list_item_set_padding_top fo_list_item_get_role fo_list_item_set_role fo_list_item_get_source_document fo_list_item_set_source_document fo_list_item_get_space_after fo_list_item_set_space_after fo_list_item_get_space_before fo_list_item_set_space_before fo_list_item_get_start_indent fo_list_item_set_start_indent FO_LIST_ITEM FO_IS_LIST_ITEM FO_TYPE_LIST_ITEM fo_list_item_get_type FO_LIST_ITEM_CLASS FO_IS_LIST_ITEM_CLASS FO_LIST_ITEM_GET_CLASS
fo-marker marker FoMarker FoMarkerClass fo_marker_new FO_MARKER FO_IS_MARKER FO_TYPE_MARKER fo_marker_get_type FO_MARKER_CLASS FO_IS_MARKER_CLASS FO_MARKER_GET_CLASS
fo-multi-case multi-case FoMultiCase FoMultiCaseClass fo_multi_case_new fo_multi_case_set_id fo_multi_case_get_id fo_multi_case_set_role fo_multi_case_get_role fo_multi_case_set_source_document fo_multi_case_get_source_document FO_MULTI_CASE FO_IS_MULTI_CASE FO_TYPE_MULTI_CASE fo_multi_case_get_type FO_MULTI_CASE_CLASS FO_IS_MULTI_CASE_CLASS FO_MULTI_CASE_GET_CLASS
fo-multi-properties multi-properties FoMultiProperties FoMultiPropertiesClass fo_multi_properties_new fo_multi_properties_set_id fo_multi_properties_get_id fo_multi_properties_set_role fo_multi_properties_get_role fo_multi_properties_set_source_document fo_multi_properties_get_source_document FO_MULTI_PROPERTIES FO_IS_MULTI_PROPERTIES FO_TYPE_MULTI_PROPERTIES fo_multi_properties_get_type FO_MULTI_PROPERTIES_CLASS FO_IS_MULTI_PROPERTIES_CLASS FO_MULTI_PROPERTIES_GET_CLASS
fo-multi-property-set multi-property-set FoMultiPropertySet FoMultiPropertySetClass fo_multi_property_set_new fo_multi_property_set_set_id fo_multi_property_set_get_id FO_MULTI_PROPERTY_SET FO_IS_MULTI_PROPERTY_SET FO_TYPE_MULTI_PROPERTY_SET fo_multi_property_set_get_type FO_MULTI_PROPERTY_SET_CLASS FO_IS_MULTI_PROPERTY_SET_CLASS FO_MULTI_PROPERTY_SET_GET_CLASS
fo-multi-switch multi-switch FoMultiSwitch FoMultiSwitchClass fo_multi_switch_new fo_multi_switch_get_id fo_multi_switch_set_id fo_multi_switch_get_role fo_multi_switch_set_role fo_multi_switch_get_source_document fo_multi_switch_set_source_document FO_MULTI_SWITCH FO_IS_MULTI_SWITCH FO_TYPE_MULTI_SWITCH fo_multi_switch_get_type FO_MULTI_SWITCH_CLASS FO_IS_MULTI_SWITCH_CLASS FO_MULTI_SWITCH_GET_CLASS
fo-multi-toggle multi-toggle FoMultiToggle FoMultiToggleClass fo_multi_toggle_new fo_multi_toggle_get_id fo_multi_toggle_set_id fo_multi_toggle_get_role fo_multi_toggle_set_role fo_multi_toggle_get_source_document fo_multi_toggle_set_source_document FO_MULTI_TOGGLE FO_IS_MULTI_TOGGLE FO_TYPE_MULTI_TOGGLE fo_multi_toggle_get_type FO_MULTI_TOGGLE_CLASS FO_IS_MULTI_TOGGLE_CLASS FO_MULTI_TOGGLE_GET_CLASS
fo-neutral-fo FoNeutralFoIface FO_NEUTRAL_FO_IFACE FoNeutralFo FoNeutralFoIface FO_NEUTRAL_FO FO_IS_NEUTRAL_FO FO_TYPE_NEUTRAL_FO fo_neutral_fo_get_type FO_NEUTRAL_FO_GET_IFACE
fo-page-number-citation page-number-citation FoPageNumberCitation FoPageNumberCitationClass fo_page_number_citation_new fo_page_number_citation_get_alignment_adjust fo_page_number_citation_set_alignment_adjust fo_page_number_citation_get_alignment_baseline fo_page_number_citation_set_alignment_baseline fo_page_number_citation_get_background_color fo_page_number_citation_set_background_color fo_page_number_citation_get_background_image fo_page_number_citation_set_background_image fo_page_number_citation_get_baseline_shift fo_page_number_citation_set_baseline_shift fo_page_number_citation_get_border_after_color fo_page_number_citation_set_border_after_color fo_page_number_citation_get_border_after_style fo_page_number_citation_set_border_after_style fo_page_number_citation_get_border_after_width fo_page_number_citation_set_border_after_width fo_page_number_citation_get_border_before_color fo_page_number_citation_set_border_before_color fo_page_number_citation_get_border_before_style fo_page_number_citation_set_border_before_style fo_page_number_citation_get_border_before_width fo_page_number_citation_set_border_before_width fo_page_number_citation_get_border_bottom_color fo_page_number_citation_set_border_bottom_color fo_page_number_citation_get_border_bottom_style fo_page_number_citation_set_border_bottom_style fo_page_number_citation_get_border_bottom_width fo_page_number_citation_set_border_bottom_width fo_page_number_citation_get_border_end_color fo_page_number_citation_set_border_end_color fo_page_number_citation_get_border_end_style fo_page_number_citation_set_border_end_style fo_page_number_citation_get_border_end_width fo_page_number_citation_set_border_end_width fo_page_number_citation_get_border_left_color fo_page_number_citation_set_border_left_color fo_page_number_citation_get_border_left_style fo_page_number_citation_set_border_left_style fo_page_number_citation_get_border_left_width fo_page_number_citation_set_border_left_width fo_page_number_citation_get_border_right_color fo_page_number_citation_set_border_right_color fo_page_number_citation_get_border_right_style fo_page_number_citation_set_border_right_style fo_page_number_citation_get_border_right_width fo_page_number_citation_set_border_right_width fo_page_number_citation_get_border_start_color fo_page_number_citation_set_border_start_color fo_page_number_citation_get_border_start_style fo_page_number_citation_set_border_start_style fo_page_number_citation_get_border_start_width fo_page_number_citation_set_border_start_width fo_page_number_citation_get_border_top_color fo_page_number_citation_set_border_top_color fo_page_number_citation_get_border_top_style fo_page_number_citation_set_border_top_style fo_page_number_citation_get_border_top_width fo_page_number_citation_set_border_top_width fo_page_number_citation_get_dominant_baseline fo_page_number_citation_set_dominant_baseline fo_page_number_citation_get_font_family fo_page_number_citation_set_font_family fo_page_number_citation_get_font_size fo_page_number_citation_set_font_size fo_page_number_citation_get_font_stretch fo_page_number_citation_set_font_stretch fo_page_number_citation_get_font_style fo_page_number_citation_set_font_style fo_page_number_citation_get_font_variant fo_page_number_citation_set_font_variant fo_page_number_citation_get_font_weight fo_page_number_citation_set_font_weight fo_page_number_citation_get_id fo_page_number_citation_set_id fo_page_number_citation_get_keep_with_next fo_page_number_citation_set_keep_with_next fo_page_number_citation_get_keep_with_next_within_column fo_page_number_citation_set_keep_with_next_within_column fo_page_number_citation_get_keep_with_next_within_line fo_page_number_citation_set_keep_with_next_within_line fo_page_number_citation_get_keep_with_next_within_page fo_page_number_citation_set_keep_with_next_within_page fo_page_number_citation_get_keep_with_previous fo_page_number_citation_set_keep_with_previous fo_page_number_citation_get_keep_with_previous_within_column fo_page_number_citation_set_keep_with_previous_within_column fo_page_number_citation_get_keep_with_previous_within_line fo_page_number_citation_set_keep_with_previous_within_line fo_page_number_citation_get_keep_with_previous_within_page fo_page_number_citation_set_keep_with_previous_within_page fo_page_number_citation_get_line_height fo_page_number_citation_set_line_height fo_page_number_citation_get_padding_after fo_page_number_citation_set_padding_after fo_page_number_citation_get_padding_before fo_page_number_citation_set_padding_before fo_page_number_citation_get_padding_bottom fo_page_number_citation_set_padding_bottom fo_page_number_citation_get_padding_end fo_page_number_citation_set_padding_end fo_page_number_citation_get_padding_left fo_page_number_citation_set_padding_left fo_page_number_citation_get_padding_right fo_page_number_citation_set_padding_right fo_page_number_citation_get_padding_start fo_page_number_citation_set_padding_start fo_page_number_citation_get_padding_top fo_page_number_citation_set_padding_top fo_page_number_citation_get_ref_id fo_page_number_citation_set_ref_id fo_page_number_citation_get_role fo_page_number_citation_set_role fo_page_number_citation_get_score_spaces fo_page_number_citation_set_score_spaces fo_page_number_citation_get_source_document fo_page_number_citation_set_source_document fo_page_number_citation_get_space_end fo_page_number_citation_set_space_end fo_page_number_citation_get_space_start fo_page_number_citation_set_space_start fo_page_number_citation_get_wrap_option fo_page_number_citation_set_wrap_option FO_PAGE_NUMBER_CITATION FO_IS_PAGE_NUMBER_CITATION FO_TYPE_PAGE_NUMBER_CITATION fo_page_number_citation_get_type FO_PAGE_NUMBER_CITATION_CLASS FO_IS_PAGE_NUMBER_CITATION_CLASS FO_PAGE_NUMBER_CITATION_GET_CLASS
fo-page-number page-number FoPageNumber FoPageNumberClass fo_page_number_new fo_page_number_get_alignment_adjust fo_page_number_set_alignment_adjust fo_page_number_get_alignment_baseline fo_page_number_set_alignment_baseline fo_page_number_get_background_color fo_page_number_set_background_color fo_page_number_get_background_image fo_page_number_set_background_image fo_page_number_get_baseline_shift fo_page_number_set_baseline_shift fo_page_number_get_border_after_color fo_page_number_set_border_after_color fo_page_number_get_border_after_style fo_page_number_set_border_after_style fo_page_number_get_border_after_width fo_page_number_set_border_after_width fo_page_number_get_border_before_color fo_page_number_set_border_before_color fo_page_number_get_border_before_style fo_page_number_set_border_before_style fo_page_number_get_border_before_width fo_page_number_set_border_before_width fo_page_number_get_border_bottom_color fo_page_number_set_border_bottom_color fo_page_number_get_border_bottom_style fo_page_number_set_border_bottom_style fo_page_number_get_border_bottom_width fo_page_number_set_border_bottom_width fo_page_number_get_border_end_color fo_page_number_set_border_end_color fo_page_number_get_border_end_style fo_page_number_set_border_end_style fo_page_number_get_border_end_width fo_page_number_set_border_end_width fo_page_number_get_border_left_color fo_page_number_set_border_left_color fo_page_number_get_border_left_style fo_page_number_set_border_left_style fo_page_number_get_border_left_width fo_page_number_set_border_left_width fo_page_number_get_border_right_color fo_page_number_set_border_right_color fo_page_number_get_border_right_style fo_page_number_set_border_right_style fo_page_number_get_border_right_width fo_page_number_set_border_right_width fo_page_number_get_border_start_color fo_page_number_set_border_start_color fo_page_number_get_border_start_style fo_page_number_set_border_start_style fo_page_number_get_border_start_width fo_page_number_set_border_start_width fo_page_number_get_border_top_color fo_page_number_set_border_top_color fo_page_number_get_border_top_style fo_page_number_set_border_top_style fo_page_number_get_border_top_width fo_page_number_set_border_top_width fo_page_number_get_dominant_baseline fo_page_number_set_dominant_baseline fo_page_number_get_font_family fo_page_number_set_font_family fo_page_number_get_font_size fo_page_number_set_font_size fo_page_number_get_font_stretch fo_page_number_set_font_stretch fo_page_number_get_font_style fo_page_number_set_font_style fo_page_number_get_font_variant fo_page_number_set_font_variant fo_page_number_get_font_weight fo_page_number_set_font_weight fo_page_number_get_id fo_page_number_set_id fo_page_number_get_keep_with_next fo_page_number_set_keep_with_next fo_page_number_get_keep_with_next_within_column fo_page_number_set_keep_with_next_within_column fo_page_number_get_keep_with_next_within_line fo_page_number_set_keep_with_next_within_line fo_page_number_get_keep_with_next_within_page fo_page_number_set_keep_with_next_within_page fo_page_number_get_keep_with_previous fo_page_number_set_keep_with_previous fo_page_number_get_keep_with_previous_within_column fo_page_number_set_keep_with_previous_within_column fo_page_number_get_keep_with_previous_within_line fo_page_number_set_keep_with_previous_within_line fo_page_number_get_keep_with_previous_within_page fo_page_number_set_keep_with_previous_within_page fo_page_number_get_line_height fo_page_number_set_line_height fo_page_number_get_padding_after fo_page_number_set_padding_after fo_page_number_get_padding_before fo_page_number_set_padding_before fo_page_number_get_padding_bottom fo_page_number_set_padding_bottom fo_page_number_get_padding_end fo_page_number_set_padding_end fo_page_number_get_padding_left fo_page_number_set_padding_left fo_page_number_get_padding_right fo_page_number_set_padding_right fo_page_number_get_padding_start fo_page_number_set_padding_start fo_page_number_get_padding_top fo_page_number_set_padding_top fo_page_number_get_role fo_page_number_set_role fo_page_number_get_score_spaces fo_page_number_set_score_spaces fo_page_number_get_source_document fo_page_number_set_source_document fo_page_number_get_space_end fo_page_number_set_space_end fo_page_number_get_space_start fo_page_number_set_space_start fo_page_number_get_wrap_option fo_page_number_set_wrap_option FO_PAGE_NUMBER FO_IS_PAGE_NUMBER FO_TYPE_PAGE_NUMBER fo_page_number_get_type FO_PAGE_NUMBER_CLASS FO_IS_PAGE_NUMBER_CLASS FO_PAGE_NUMBER_GET_CLASS
fo-page-sequence-master page-sequence-master FoPageSequenceMaster FoPageSequenceMasterClass fo_page_sequence_master_new fo_page_sequence_master_set_master_name fo_page_sequence_master_get_master_name FO_PAGE_SEQUENCE_MASTER FO_IS_PAGE_SEQUENCE_MASTER FO_TYPE_PAGE_SEQUENCE_MASTER fo_page_sequence_master_get_type FO_PAGE_SEQUENCE_MASTER_CLASS FO_IS_PAGE_SEQUENCE_MASTER_CLASS FO_PAGE_SEQUENCE_MASTER_GET_CLASS
fo-page-sequence page-sequence FoPageSequence FoPageSequenceClass fo_page_sequence_new fo_page_sequence_get_format fo_page_sequence_set_format fo_page_sequence_get_grouping_separator fo_page_sequence_set_grouping_separator fo_page_sequence_get_grouping_size fo_page_sequence_set_grouping_size fo_page_sequence_get_id fo_page_sequence_set_id fo_page_sequence_get_letter_value fo_page_sequence_set_letter_value fo_page_sequence_get_master_reference fo_page_sequence_set_master_reference FO_PAGE_SEQUENCE FO_IS_PAGE_SEQUENCE FO_TYPE_PAGE_SEQUENCE fo_page_sequence_get_type FO_PAGE_SEQUENCE_CLASS FO_IS_PAGE_SEQUENCE_CLASS FO_PAGE_SEQUENCE_GET_CLASS
fo-region-after region-after FoRegionAfter FoRegionAfterClass fo_region_after_new fo_region_after_get_background_color fo_region_after_set_background_color fo_region_after_get_background_image fo_region_after_set_background_image fo_region_after_get_border_after_color fo_region_after_set_border_after_color fo_region_after_get_border_after_style fo_region_after_set_border_after_style fo_region_after_get_border_after_width fo_region_after_set_border_after_width fo_region_after_get_border_before_color fo_region_after_set_border_before_color fo_region_after_get_border_before_style fo_region_after_set_border_before_style fo_region_after_get_border_before_width fo_region_after_set_border_before_width fo_region_after_get_border_bottom_color fo_region_after_set_border_bottom_color fo_region_after_get_border_bottom_style fo_region_after_set_border_bottom_style fo_region_after_get_border_bottom_width fo_region_after_set_border_bottom_width fo_region_after_get_border_end_color fo_region_after_set_border_end_color fo_region_after_get_border_end_style fo_region_after_set_border_end_style fo_region_after_get_border_end_width fo_region_after_set_border_end_width fo_region_after_get_border_left_color fo_region_after_set_border_left_color fo_region_after_get_border_left_style fo_region_after_set_border_left_style fo_region_after_get_border_left_width fo_region_after_set_border_left_width fo_region_after_get_border_right_color fo_region_after_set_border_right_color fo_region_after_get_border_right_style fo_region_after_set_border_right_style fo_region_after_get_border_right_width fo_region_after_set_border_right_width fo_region_after_get_border_start_color fo_region_after_set_border_start_color fo_region_after_get_border_start_style fo_region_after_set_border_start_style fo_region_after_get_border_start_width fo_region_after_set_border_start_width fo_region_after_get_border_top_color fo_region_after_set_border_top_color fo_region_after_get_border_top_style fo_region_after_set_border_top_style fo_region_after_get_border_top_width fo_region_after_set_border_top_width fo_region_after_get_clip fo_region_after_set_clip fo_region_after_get_display_align fo_region_after_set_display_align fo_region_after_get_extent fo_region_after_set_extent fo_region_after_get_overflow fo_region_after_set_overflow fo_region_after_get_padding_after fo_region_after_set_padding_after fo_region_after_get_padding_before fo_region_after_set_padding_before fo_region_after_get_padding_bottom fo_region_after_set_padding_bottom fo_region_after_get_padding_end fo_region_after_set_padding_end fo_region_after_get_padding_left fo_region_after_set_padding_left fo_region_after_get_padding_right fo_region_after_set_padding_right fo_region_after_get_padding_start fo_region_after_set_padding_start fo_region_after_get_padding_top fo_region_after_set_padding_top fo_region_after_get_region_name fo_region_after_set_region_name fo_region_after_get_writing_mode fo_region_after_set_writing_mode FO_REGION_AFTER FO_IS_REGION_AFTER FO_TYPE_REGION_AFTER fo_region_after_get_type FO_REGION_AFTER_CLASS FO_IS_REGION_AFTER_CLASS FO_REGION_AFTER_GET_CLASS
fo-region-before region-before FoRegionBefore FoRegionBeforeClass fo_region_before_new fo_region_before_get_background_color fo_region_before_set_background_color fo_region_before_get_background_image fo_region_before_set_background_image fo_region_before_get_border_after_color fo_region_before_set_border_after_color fo_region_before_get_border_after_style fo_region_before_set_border_after_style fo_region_before_get_border_after_width fo_region_before_set_border_after_width fo_region_before_get_border_before_color fo_region_before_set_border_before_color fo_region_before_get_border_before_style fo_region_before_set_border_before_style fo_region_before_get_border_before_width fo_region_before_set_border_before_width fo_region_before_get_border_bottom_color fo_region_before_set_border_bottom_color fo_region_before_get_border_bottom_style fo_region_before_set_border_bottom_style fo_region_before_get_border_bottom_width fo_region_before_set_border_bottom_width fo_region_before_get_border_end_color fo_region_before_set_border_end_color fo_region_before_get_border_end_style fo_region_before_set_border_end_style fo_region_before_get_border_end_width fo_region_before_set_border_end_width fo_region_before_get_border_left_color fo_region_before_set_border_left_color fo_region_before_get_border_left_style fo_region_before_set_border_left_style fo_region_before_get_border_left_width fo_region_before_set_border_left_width fo_region_before_get_border_right_color fo_region_before_set_border_right_color fo_region_before_get_border_right_style fo_region_before_set_border_right_style fo_region_before_get_border_right_width fo_region_before_set_border_right_width fo_region_before_get_border_start_color fo_region_before_set_border_start_color fo_region_before_get_border_start_style fo_region_before_set_border_start_style fo_region_before_get_border_start_width fo_region_before_set_border_start_width fo_region_before_get_border_top_color fo_region_before_set_border_top_color fo_region_before_get_border_top_style fo_region_before_set_border_top_style fo_region_before_get_border_top_width fo_region_before_set_border_top_width fo_region_before_get_clip fo_region_before_set_clip fo_region_before_get_display_align fo_region_before_set_display_align fo_region_before_get_extent fo_region_before_set_extent fo_region_before_get_overflow fo_region_before_set_overflow fo_region_before_get_padding_after fo_region_before_set_padding_after fo_region_before_get_padding_before fo_region_before_set_padding_before fo_region_before_get_padding_bottom fo_region_before_set_padding_bottom fo_region_before_get_padding_end fo_region_before_set_padding_end fo_region_before_get_padding_left fo_region_before_set_padding_left fo_region_before_get_padding_right fo_region_before_set_padding_right fo_region_before_get_padding_start fo_region_before_set_padding_start fo_region_before_get_padding_top fo_region_before_set_padding_top fo_region_before_get_region_name fo_region_before_set_region_name fo_region_before_get_writing_mode fo_region_before_set_writing_mode FO_REGION_BEFORE FO_IS_REGION_BEFORE FO_TYPE_REGION_BEFORE fo_region_before_get_type FO_REGION_BEFORE_CLASS FO_IS_REGION_BEFORE_CLASS FO_REGION_BEFORE_GET_CLASS
fo-region-body region-body FoRegionBody FoRegionBodyClass fo_region_body_new fo_region_body_get_background_color fo_region_body_set_background_color fo_region_body_get_background_image fo_region_body_set_background_image fo_region_body_get_border_after_color fo_region_body_set_border_after_color fo_region_body_get_border_after_style fo_region_body_set_border_after_style fo_region_body_get_border_after_width fo_region_body_set_border_after_width fo_region_body_get_border_before_color fo_region_body_set_border_before_color fo_region_body_get_border_before_style fo_region_body_set_border_before_style fo_region_body_get_border_before_width fo_region_body_set_border_before_width fo_region_body_get_border_bottom_color fo_region_body_set_border_bottom_color fo_region_body_get_border_bottom_style fo_region_body_set_border_bottom_style fo_region_body_get_border_bottom_width fo_region_body_set_border_bottom_width fo_region_body_get_border_end_color fo_region_body_set_border_end_color fo_region_body_get_border_end_style fo_region_body_set_border_end_style fo_region_body_get_border_end_width fo_region_body_set_border_end_width fo_region_body_get_border_left_color fo_region_body_set_border_left_color fo_region_body_get_border_left_style fo_region_body_set_border_left_style fo_region_body_get_border_left_width fo_region_body_set_border_left_width fo_region_body_get_border_right_color fo_region_body_set_border_right_color fo_region_body_get_border_right_style fo_region_body_set_border_right_style fo_region_body_get_border_right_width fo_region_body_set_border_right_width fo_region_body_get_border_start_color fo_region_body_set_border_start_color fo_region_body_get_border_start_style fo_region_body_set_border_start_style fo_region_body_get_border_start_width fo_region_body_set_border_start_width fo_region_body_get_border_top_color fo_region_body_set_border_top_color fo_region_body_get_border_top_style fo_region_body_set_border_top_style fo_region_body_get_border_top_width fo_region_body_set_border_top_width fo_region_body_get_clip fo_region_body_set_clip fo_region_body_get_display_align fo_region_body_set_display_align fo_region_body_get_end_indent fo_region_body_set_end_indent fo_region_body_get_margin_bottom fo_region_body_set_margin_bottom fo_region_body_get_margin_left fo_region_body_set_margin_left fo_region_body_get_margin_right fo_region_body_set_margin_right fo_region_body_get_margin_top fo_region_body_set_margin_top fo_region_body_get_overflow fo_region_body_set_overflow fo_region_body_get_padding_after fo_region_body_set_padding_after fo_region_body_get_padding_before fo_region_body_set_padding_before fo_region_body_get_padding_bottom fo_region_body_set_padding_bottom fo_region_body_get_padding_end fo_region_body_set_padding_end fo_region_body_get_padding_left fo_region_body_set_padding_left fo_region_body_get_padding_right fo_region_body_set_padding_right fo_region_body_get_padding_start fo_region_body_set_padding_start fo_region_body_get_padding_top fo_region_body_set_padding_top fo_region_body_get_region_name fo_region_body_set_region_name fo_region_body_get_space_after fo_region_body_set_space_after fo_region_body_get_space_before fo_region_body_set_space_before fo_region_body_get_start_indent fo_region_body_set_start_indent fo_region_body_get_writing_mode fo_region_body_set_writing_mode FO_REGION_BODY FO_IS_REGION_BODY FO_TYPE_REGION_BODY fo_region_body_get_type FO_REGION_BODY_CLASS FO_IS_REGION_BODY_CLASS FO_REGION_BODY_GET_CLASS
fo-region-end region-end FoRegionEnd FoRegionEndClass fo_region_end_new fo_region_end_get_background_color fo_region_end_set_background_color fo_region_end_get_background_image fo_region_end_set_background_image fo_region_end_get_border_after_color fo_region_end_set_border_after_color fo_region_end_get_border_after_style fo_region_end_set_border_after_style fo_region_end_get_border_after_width fo_region_end_set_border_after_width fo_region_end_get_border_before_color fo_region_end_set_border_before_color fo_region_end_get_border_before_style fo_region_end_set_border_before_style fo_region_end_get_border_before_width fo_region_end_set_border_before_width fo_region_end_get_border_bottom_color fo_region_end_set_border_bottom_color fo_region_end_get_border_bottom_style fo_region_end_set_border_bottom_style fo_region_end_get_border_bottom_width fo_region_end_set_border_bottom_width fo_region_end_get_border_end_color fo_region_end_set_border_end_color fo_region_end_get_border_end_style fo_region_end_set_border_end_style fo_region_end_get_border_end_width fo_region_end_set_border_end_width fo_region_end_get_border_left_color fo_region_end_set_border_left_color fo_region_end_get_border_left_style fo_region_end_set_border_left_style fo_region_end_get_border_left_width fo_region_end_set_border_left_width fo_region_end_get_border_right_color fo_region_end_set_border_right_color fo_region_end_get_border_right_style fo_region_end_set_border_right_style fo_region_end_get_border_right_width fo_region_end_set_border_right_width fo_region_end_get_border_start_color fo_region_end_set_border_start_color fo_region_end_get_border_start_style fo_region_end_set_border_start_style fo_region_end_get_border_start_width fo_region_end_set_border_start_width fo_region_end_get_border_top_color fo_region_end_set_border_top_color fo_region_end_get_border_top_style fo_region_end_set_border_top_style fo_region_end_get_border_top_width fo_region_end_set_border_top_width fo_region_end_get_clip fo_region_end_set_clip fo_region_end_get_display_align fo_region_end_set_display_align fo_region_end_get_extent fo_region_end_set_extent fo_region_end_get_overflow fo_region_end_set_overflow fo_region_end_get_padding_after fo_region_end_set_padding_after fo_region_end_get_padding_before fo_region_end_set_padding_before fo_region_end_get_padding_bottom fo_region_end_set_padding_bottom fo_region_end_get_padding_end fo_region_end_set_padding_end fo_region_end_get_padding_left fo_region_end_set_padding_left fo_region_end_get_padding_right fo_region_end_set_padding_right fo_region_end_get_padding_start fo_region_end_set_padding_start fo_region_end_get_padding_top fo_region_end_set_padding_top fo_region_end_get_region_name fo_region_end_set_region_name fo_region_end_get_writing_mode fo_region_end_set_writing_mode FO_REGION_END FO_IS_REGION_END FO_TYPE_REGION_END fo_region_end_get_type FO_REGION_END_CLASS FO_IS_REGION_END_CLASS FO_REGION_END_GET_CLASS
fo-region-start region-start FoRegionStart FoRegionStartClass fo_region_start_new fo_region_start_get_background_color fo_region_start_set_background_color fo_region_start_get_background_image fo_region_start_set_background_image fo_region_start_get_border_after_color fo_region_start_set_border_after_color fo_region_start_get_border_after_style fo_region_start_set_border_after_style fo_region_start_get_border_after_width fo_region_start_set_border_after_width fo_region_start_get_border_before_color fo_region_start_set_border_before_color fo_region_start_get_border_before_style fo_region_start_set_border_before_style fo_region_start_get_border_before_width fo_region_start_set_border_before_width fo_region_start_get_border_bottom_color fo_region_start_set_border_bottom_color fo_region_start_get_border_bottom_style fo_region_start_set_border_bottom_style fo_region_start_get_border_bottom_width fo_region_start_set_border_bottom_width fo_region_start_get_border_end_color fo_region_start_set_border_end_color fo_region_start_get_border_end_style fo_region_start_set_border_end_style fo_region_start_get_border_end_width fo_region_start_set_border_end_width fo_region_start_get_border_left_color fo_region_start_set_border_left_color fo_region_start_get_border_left_style fo_region_start_set_border_left_style fo_region_start_get_border_left_width fo_region_start_set_border_left_width fo_region_start_get_border_right_color fo_region_start_set_border_right_color fo_region_start_get_border_right_style fo_region_start_set_border_right_style fo_region_start_get_border_right_width fo_region_start_set_border_right_width fo_region_start_get_border_start_color fo_region_start_set_border_start_color fo_region_start_get_border_start_style fo_region_start_set_border_start_style fo_region_start_get_border_start_width fo_region_start_set_border_start_width fo_region_start_get_border_top_color fo_region_start_set_border_top_color fo_region_start_get_border_top_style fo_region_start_set_border_top_style fo_region_start_get_border_top_width fo_region_start_set_border_top_width fo_region_start_get_clip fo_region_start_set_clip fo_region_start_get_display_align fo_region_start_set_display_align fo_region_start_get_extent fo_region_start_set_extent fo_region_start_get_overflow fo_region_start_set_overflow fo_region_start_get_padding_after fo_region_start_set_padding_after fo_region_start_get_padding_before fo_region_start_set_padding_before fo_region_start_get_padding_bottom fo_region_start_set_padding_bottom fo_region_start_get_padding_end fo_region_start_set_padding_end fo_region_start_get_padding_left fo_region_start_set_padding_left fo_region_start_get_padding_right fo_region_start_set_padding_right fo_region_start_get_padding_start fo_region_start_set_padding_start fo_region_start_get_padding_top fo_region_start_set_padding_top fo_region_start_get_region_name fo_region_start_set_region_name fo_region_start_get_writing_mode fo_region_start_set_writing_mode FO_REGION_START FO_IS_REGION_START FO_TYPE_REGION_START fo_region_start_get_type FO_REGION_START_CLASS FO_IS_REGION_START_CLASS FO_REGION_START_GET_CLASS
fo-repeatable-page-master-alternatives repeatable-page-master-alternatives FoRepeatablePageMasterAlternatives FoRepeatablePageMasterAlternativesClass fo_repeatable_page_master_alternatives_new FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES FO_IS_REPEATABLE_PAGE_MASTER_ALTERNATIVES FO_TYPE_REPEATABLE_PAGE_MASTER_ALTERNATIVES fo_repeatable_page_master_alternatives_get_type FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_CLASS FO_IS_REPEATABLE_PAGE_MASTER_ALTERNATIVES_CLASS FO_REPEATABLE_PAGE_MASTER_ALTERNATIVES_GET_CLASS
fo-repeatable-page-master-reference repeatable-page-master-reference FoRepeatablePageMasterReference FoRepeatablePageMasterReferenceClass fo_repeatable_page_master_reference_new fo_repeatable_page_master_reference_set_master_reference fo_repeatable_page_master_reference_get_master_reference FO_REPEATABLE_PAGE_MASTER_REFERENCE FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE FO_TYPE_REPEATABLE_PAGE_MASTER_REFERENCE fo_repeatable_page_master_reference_get_type FO_REPEATABLE_PAGE_MASTER_REFERENCE_CLASS FO_IS_REPEATABLE_PAGE_MASTER_REFERENCE_CLASS FO_REPEATABLE_PAGE_MASTER_REFERENCE_GET_CLASS
fo-root root FoRoot FoRootClass fo_root_new fo_root_get_media_usage fo_root_set_media_usage FO_ROOT FO_IS_ROOT FO_TYPE_ROOT fo_root_get_type FO_ROOT_CLASS FO_IS_ROOT_CLASS FO_ROOT_GET_CLASS
fo-simple-page-master simple-page-master FoSimplePageMaster FoSimplePageMasterClass fo_simple_page_master_new fo_simple_page_master_get_end_indent fo_simple_page_master_set_end_indent fo_simple_page_master_get_margin_bottom fo_simple_page_master_set_margin_bottom fo_simple_page_master_get_margin_left fo_simple_page_master_set_margin_left fo_simple_page_master_get_margin_right fo_simple_page_master_set_margin_right fo_simple_page_master_get_margin_top fo_simple_page_master_set_margin_top fo_simple_page_master_get_master_name fo_simple_page_master_set_master_name fo_simple_page_master_get_page_height fo_simple_page_master_set_page_height fo_simple_page_master_get_page_width fo_simple_page_master_set_page_width fo_simple_page_master_get_space_after fo_simple_page_master_set_space_after fo_simple_page_master_get_space_before fo_simple_page_master_set_space_before fo_simple_page_master_get_start_indent fo_simple_page_master_set_start_indent fo_simple_page_master_get_writing_mode fo_simple_page_master_set_writing_mode fo_simple_page_master_region_name_get fo_simple_page_master_region_name_add FO_SIMPLE_PAGE_MASTER FO_IS_SIMPLE_PAGE_MASTER FO_TYPE_SIMPLE_PAGE_MASTER fo_simple_page_master_get_type FO_SIMPLE_PAGE_MASTER_CLASS FO_IS_SIMPLE_PAGE_MASTER_CLASS FO_SIMPLE_PAGE_MASTER_GET_CLASS
fo-single-page-master-reference single-page-master-reference FoSinglePageMasterReference FoSinglePageMasterReferenceClass fo_single_page_master_reference_new fo_single_page_master_reference_get_master_reference fo_single_page_master_reference_set_master_reference FO_SINGLE_PAGE_MASTER_REFERENCE FO_IS_SINGLE_PAGE_MASTER_REFERENCE FO_TYPE_SINGLE_PAGE_MASTER_REFERENCE fo_single_page_master_reference_get_type FO_SINGLE_PAGE_MASTER_REFERENCE_CLASS FO_IS_SINGLE_PAGE_MASTER_REFERENCE_CLASS FO_SINGLE_PAGE_MASTER_REFERENCE_GET_CLASS
fo-static-content static-content FoStaticContent FoStaticContentClass fo_static_content_new fo_static_content_get_flow_name fo_static_content_set_flow_name FO_STATIC_CONTENT FO_IS_STATIC_CONTENT FO_TYPE_STATIC_CONTENT fo_static_content_get_type FO_STATIC_CONTENT_CLASS FO_IS_STATIC_CONTENT_CLASS FO_STATIC_CONTENT_GET_CLASS
fo-table-and-caption table-and-caption FoTableAndCaption FoTableAndCaptionClass fo_table_and_caption_new fo_table_and_caption_get_background_color fo_table_and_caption_set_background_color fo_table_and_caption_get_background_image fo_table_and_caption_set_background_image fo_table_and_caption_get_border_after_color fo_table_and_caption_set_border_after_color fo_table_and_caption_get_border_after_style fo_table_and_caption_set_border_after_style fo_table_and_caption_get_border_after_width fo_table_and_caption_set_border_after_width fo_table_and_caption_get_border_before_color fo_table_and_caption_set_border_before_color fo_table_and_caption_get_border_before_style fo_table_and_caption_set_border_before_style fo_table_and_caption_get_border_before_width fo_table_and_caption_set_border_before_width fo_table_and_caption_get_border_bottom_color fo_table_and_caption_set_border_bottom_color fo_table_and_caption_get_border_bottom_style fo_table_and_caption_set_border_bottom_style fo_table_and_caption_get_border_bottom_width fo_table_and_caption_set_border_bottom_width fo_table_and_caption_get_border_end_color fo_table_and_caption_set_border_end_color fo_table_and_caption_get_border_end_style fo_table_and_caption_set_border_end_style fo_table_and_caption_get_border_end_width fo_table_and_caption_set_border_end_width fo_table_and_caption_get_border_left_color fo_table_and_caption_set_border_left_color fo_table_and_caption_get_border_left_style fo_table_and_caption_set_border_left_style fo_table_and_caption_get_border_left_width fo_table_and_caption_set_border_left_width fo_table_and_caption_get_border_right_color fo_table_and_caption_set_border_right_color fo_table_and_caption_get_border_right_style fo_table_and_caption_set_border_right_style fo_table_and_caption_get_border_right_width fo_table_and_caption_set_border_right_width fo_table_and_caption_get_border_start_color fo_table_and_caption_set_border_start_color fo_table_and_caption_get_border_start_style fo_table_and_caption_set_border_start_style fo_table_and_caption_get_border_start_width fo_table_and_caption_set_border_start_width fo_table_and_caption_get_border_top_color fo_table_and_caption_set_border_top_color fo_table_and_caption_get_border_top_style fo_table_and_caption_set_border_top_style fo_table_and_caption_get_border_top_width fo_table_and_caption_set_border_top_width fo_table_and_caption_get_break_after fo_table_and_caption_set_break_after fo_table_and_caption_get_break_before fo_table_and_caption_set_break_before fo_table_and_caption_get_end_indent fo_table_and_caption_set_end_indent fo_table_and_caption_get_id fo_table_and_caption_set_id fo_table_and_caption_get_keep_together fo_table_and_caption_set_keep_together fo_table_and_caption_get_keep_together_within_column fo_table_and_caption_set_keep_together_within_column fo_table_and_caption_get_keep_together_within_line fo_table_and_caption_set_keep_together_within_line fo_table_and_caption_get_keep_together_within_page fo_table_and_caption_set_keep_together_within_page fo_table_and_caption_get_keep_with_next fo_table_and_caption_set_keep_with_next fo_table_and_caption_get_keep_with_next_within_column fo_table_and_caption_set_keep_with_next_within_column fo_table_and_caption_get_keep_with_next_within_line fo_table_and_caption_set_keep_with_next_within_line fo_table_and_caption_get_keep_with_next_within_page fo_table_and_caption_set_keep_with_next_within_page fo_table_and_caption_get_keep_with_previous fo_table_and_caption_set_keep_with_previous fo_table_and_caption_get_keep_with_previous_within_column fo_table_and_caption_set_keep_with_previous_within_column fo_table_and_caption_get_keep_with_previous_within_line fo_table_and_caption_set_keep_with_previous_within_line fo_table_and_caption_get_keep_with_previous_within_page fo_table_and_caption_set_keep_with_previous_within_page fo_table_and_caption_get_margin_bottom fo_table_and_caption_set_margin_bottom fo_table_and_caption_get_margin_left fo_table_and_caption_set_margin_left fo_table_and_caption_get_margin_right fo_table_and_caption_set_margin_right fo_table_and_caption_get_margin_top fo_table_and_caption_set_margin_top fo_table_and_caption_get_padding_after fo_table_and_caption_set_padding_after fo_table_and_caption_get_padding_before fo_table_and_caption_set_padding_before fo_table_and_caption_get_padding_bottom fo_table_and_caption_set_padding_bottom fo_table_and_caption_get_padding_end fo_table_and_caption_set_padding_end fo_table_and_caption_get_padding_left fo_table_and_caption_set_padding_left fo_table_and_caption_get_padding_right fo_table_and_caption_set_padding_right fo_table_and_caption_get_padding_start fo_table_and_caption_set_padding_start fo_table_and_caption_get_padding_top fo_table_and_caption_set_padding_top fo_table_and_caption_get_role fo_table_and_caption_set_role fo_table_and_caption_get_source_document fo_table_and_caption_set_source_document fo_table_and_caption_get_space_after fo_table_and_caption_set_space_after fo_table_and_caption_get_space_before fo_table_and_caption_set_space_before fo_table_and_caption_get_start_indent fo_table_and_caption_set_start_indent fo_table_and_caption_get_text_align fo_table_and_caption_set_text_align FO_TABLE_AND_CAPTION FO_IS_TABLE_AND_CAPTION FO_TYPE_TABLE_AND_CAPTION fo_table_and_caption_get_type FO_TABLE_AND_CAPTION_CLASS FO_IS_TABLE_AND_CAPTION_CLASS FO_TABLE_AND_CAPTION_GET_CLASS
fo-table-body table-body FoTableBody FoTableBodyClass fo_table_body_new fo_table_body_get_background_color fo_table_body_set_background_color fo_table_body_get_background_image fo_table_body_set_background_image fo_table_body_get_border_after_color fo_table_body_set_border_after_color fo_table_body_get_border_after_precedence fo_table_body_set_border_after_precedence fo_table_body_get_border_after_style fo_table_body_set_border_after_style fo_table_body_get_border_after_width fo_table_body_set_border_after_width fo_table_body_get_border_before_color fo_table_body_set_border_before_color fo_table_body_get_border_before_precedence fo_table_body_set_border_before_precedence fo_table_body_get_border_before_style fo_table_body_set_border_before_style fo_table_body_get_border_before_width fo_table_body_set_border_before_width fo_table_body_get_border_bottom_color fo_table_body_set_border_bottom_color fo_table_body_get_border_bottom_style fo_table_body_set_border_bottom_style fo_table_body_get_border_bottom_width fo_table_body_set_border_bottom_width fo_table_body_get_border_end_color fo_table_body_set_border_end_color fo_table_body_get_border_end_precedence fo_table_body_set_border_end_precedence fo_table_body_get_border_end_style fo_table_body_set_border_end_style fo_table_body_get_border_end_width fo_table_body_set_border_end_width fo_table_body_get_border_left_color fo_table_body_set_border_left_color fo_table_body_get_border_left_style fo_table_body_set_border_left_style fo_table_body_get_border_left_width fo_table_body_set_border_left_width fo_table_body_get_border_right_color fo_table_body_set_border_right_color fo_table_body_get_border_right_style fo_table_body_set_border_right_style fo_table_body_get_border_right_width fo_table_body_set_border_right_width fo_table_body_get_border_start_color fo_table_body_set_border_start_color fo_table_body_get_border_start_precedence fo_table_body_set_border_start_precedence fo_table_body_get_border_start_style fo_table_body_set_border_start_style fo_table_body_get_border_start_width fo_table_body_set_border_start_width fo_table_body_get_border_top_color fo_table_body_set_border_top_color fo_table_body_get_border_top_style fo_table_body_set_border_top_style fo_table_body_get_border_top_width fo_table_body_set_border_top_width fo_table_body_get_id fo_table_body_set_id fo_table_body_get_padding_after fo_table_body_set_padding_after fo_table_body_get_padding_before fo_table_body_set_padding_before fo_table_body_get_padding_bottom fo_table_body_set_padding_bottom fo_table_body_get_padding_end fo_table_body_set_padding_end fo_table_body_get_padding_left fo_table_body_set_padding_left fo_table_body_get_padding_right fo_table_body_set_padding_right fo_table_body_get_padding_start fo_table_body_set_padding_start fo_table_body_get_padding_top fo_table_body_set_padding_top fo_table_body_get_role fo_table_body_set_role fo_table_body_get_source_document fo_table_body_set_source_document FO_TABLE_BODY FO_IS_TABLE_BODY FO_TYPE_TABLE_BODY fo_table_body_get_type FO_TABLE_BODY_CLASS FO_IS_TABLE_BODY_CLASS FO_TABLE_BODY_GET_CLASS
fo-table-border-fo FoTableBorderFoIface FO_TABLE_BORDER_FO_IFACE FoTableBorderFo FoTableBorderFoIface fo_table_border_fo_get_background_color fo_table_border_fo_get_border_after_color fo_table_border_fo_get_border_after_precedence fo_table_border_fo_get_border_after_style fo_table_border_fo_get_border_after_width fo_table_border_fo_get_border_before_color fo_table_border_fo_get_border_before_precedence fo_table_border_fo_get_border_before_style fo_table_border_fo_get_border_before_width fo_table_border_fo_get_border_end_color fo_table_border_fo_get_border_end_precedence fo_table_border_fo_get_border_end_style fo_table_border_fo_get_border_end_width fo_table_border_fo_get_border_start_color fo_table_border_fo_get_border_start_precedence fo_table_border_fo_get_border_start_style fo_table_border_fo_get_border_start_width FO_TABLE_BORDER_FO FO_IS_TABLE_BORDER_FO FO_TYPE_TABLE_BORDER_FO fo_table_border_fo_get_type FO_TABLE_BORDER_FO_GET_IFACE
fo-table-caption table-caption FoTableCaption FoTableCaptionClass fo_table_caption_new fo_table_caption_get_background_color fo_table_caption_set_background_color fo_table_caption_get_background_image fo_table_caption_set_background_image fo_table_caption_get_block_progression_dimension fo_table_caption_set_block_progression_dimension fo_table_caption_get_border_after_color fo_table_caption_set_border_after_color fo_table_caption_get_border_after_style fo_table_caption_set_border_after_style fo_table_caption_get_border_after_width fo_table_caption_set_border_after_width fo_table_caption_get_border_before_color fo_table_caption_set_border_before_color fo_table_caption_get_border_before_style fo_table_caption_set_border_before_style fo_table_caption_get_border_before_width fo_table_caption_set_border_before_width fo_table_caption_get_border_bottom_color fo_table_caption_set_border_bottom_color fo_table_caption_get_border_bottom_style fo_table_caption_set_border_bottom_style fo_table_caption_get_border_bottom_width fo_table_caption_set_border_bottom_width fo_table_caption_get_border_end_color fo_table_caption_set_border_end_color fo_table_caption_get_border_end_style fo_table_caption_set_border_end_style fo_table_caption_get_border_end_width fo_table_caption_set_border_end_width fo_table_caption_get_border_left_color fo_table_caption_set_border_left_color fo_table_caption_get_border_left_style fo_table_caption_set_border_left_style fo_table_caption_get_border_left_width fo_table_caption_set_border_left_width fo_table_caption_get_border_right_color fo_table_caption_set_border_right_color fo_table_caption_get_border_right_style fo_table_caption_set_border_right_style fo_table_caption_get_border_right_width fo_table_caption_set_border_right_width fo_table_caption_get_border_start_color fo_table_caption_set_border_start_color fo_table_caption_get_border_start_style fo_table_caption_set_border_start_style fo_table_caption_get_border_start_width fo_table_caption_set_border_start_width fo_table_caption_get_border_top_color fo_table_caption_set_border_top_color fo_table_caption_get_border_top_style fo_table_caption_set_border_top_style fo_table_caption_get_border_top_width fo_table_caption_set_border_top_width fo_table_caption_get_height fo_table_caption_set_height fo_table_caption_get_id fo_table_caption_set_id fo_table_caption_get_inline_progression_dimension fo_table_caption_set_inline_progression_dimension fo_table_caption_get_keep_together fo_table_caption_set_keep_together fo_table_caption_get_keep_together_within_column fo_table_caption_set_keep_together_within_column fo_table_caption_get_keep_together_within_line fo_table_caption_set_keep_together_within_line fo_table_caption_get_keep_together_within_page fo_table_caption_set_keep_together_within_page fo_table_caption_get_padding_after fo_table_caption_set_padding_after fo_table_caption_get_padding_before fo_table_caption_set_padding_before fo_table_caption_get_padding_bottom fo_table_caption_set_padding_bottom fo_table_caption_get_padding_end fo_table_caption_set_padding_end fo_table_caption_get_padding_left fo_table_caption_set_padding_left fo_table_caption_get_padding_right fo_table_caption_set_padding_right fo_table_caption_get_padding_start fo_table_caption_set_padding_start fo_table_caption_get_padding_top fo_table_caption_set_padding_top fo_table_caption_get_role fo_table_caption_set_role fo_table_caption_get_source_document fo_table_caption_set_source_document fo_table_caption_get_width fo_table_caption_set_width FO_TABLE_CAPTION FO_IS_TABLE_CAPTION FO_TYPE_TABLE_CAPTION fo_table_caption_get_type FO_TABLE_CAPTION_CLASS FO_IS_TABLE_CAPTION_CLASS FO_TABLE_CAPTION_GET_CLASS
fo-table-cell table-cell FoTableCell FoTableCellClass fo_table_cell_new fo_table_cell_resolve_column fo_table_cell_resolve_number_columns_spanned fo_table_cell_resolve_number_rows_spanned fo_table_cell_resolve_column_number fo_table_cell_get_column fo_table_cell_get_background_color fo_table_cell_set_background_color fo_table_cell_get_background_image fo_table_cell_set_background_image fo_table_cell_get_block_progression_dimension fo_table_cell_set_block_progression_dimension fo_table_cell_get_border_after_color fo_table_cell_set_border_after_color fo_table_cell_get_border_after_precedence fo_table_cell_set_border_after_precedence fo_table_cell_get_border_after_style fo_table_cell_set_border_after_style fo_table_cell_get_border_after_width fo_table_cell_set_border_after_width fo_table_cell_get_border_before_color fo_table_cell_set_border_before_color fo_table_cell_get_border_before_precedence fo_table_cell_set_border_before_precedence fo_table_cell_get_border_before_style fo_table_cell_set_border_before_style fo_table_cell_get_border_before_width fo_table_cell_set_border_before_width fo_table_cell_get_border_bottom_color fo_table_cell_set_border_bottom_color fo_table_cell_get_border_bottom_style fo_table_cell_set_border_bottom_style fo_table_cell_get_border_bottom_width fo_table_cell_set_border_bottom_width fo_table_cell_get_border_end_color fo_table_cell_set_border_end_color fo_table_cell_get_border_end_precedence fo_table_cell_set_border_end_precedence fo_table_cell_get_border_end_style fo_table_cell_set_border_end_style fo_table_cell_get_border_end_width fo_table_cell_set_border_end_width fo_table_cell_get_border_left_color fo_table_cell_set_border_left_color fo_table_cell_get_border_left_style fo_table_cell_set_border_left_style fo_table_cell_get_border_left_width fo_table_cell_set_border_left_width fo_table_cell_get_border_right_color fo_table_cell_set_border_right_color fo_table_cell_get_border_right_style fo_table_cell_set_border_right_style fo_table_cell_get_border_right_width fo_table_cell_set_border_right_width fo_table_cell_get_border_start_color fo_table_cell_set_border_start_color fo_table_cell_get_border_start_precedence fo_table_cell_set_border_start_precedence fo_table_cell_get_border_start_style fo_table_cell_set_border_start_style fo_table_cell_get_border_start_width fo_table_cell_set_border_start_width fo_table_cell_get_border_top_color fo_table_cell_set_border_top_color fo_table_cell_get_border_top_style fo_table_cell_set_border_top_style fo_table_cell_get_border_top_width fo_table_cell_set_border_top_width fo_table_cell_get_column_number fo_table_cell_set_column_number fo_table_cell_get_display_align fo_table_cell_set_display_align fo_table_cell_get_height fo_table_cell_set_height fo_table_cell_get_id fo_table_cell_set_id fo_table_cell_get_inline_progression_dimension fo_table_cell_set_inline_progression_dimension fo_table_cell_get_number_columns_spanned fo_table_cell_set_number_columns_spanned fo_table_cell_get_number_rows_spanned fo_table_cell_set_number_rows_spanned fo_table_cell_get_padding_after fo_table_cell_set_padding_after fo_table_cell_get_padding_before fo_table_cell_set_padding_before fo_table_cell_get_padding_bottom fo_table_cell_set_padding_bottom fo_table_cell_get_padding_end fo_table_cell_set_padding_end fo_table_cell_get_padding_left fo_table_cell_set_padding_left fo_table_cell_get_padding_right fo_table_cell_set_padding_right fo_table_cell_get_padding_start fo_table_cell_set_padding_start fo_table_cell_get_padding_top fo_table_cell_set_padding_top fo_table_cell_get_role fo_table_cell_set_role fo_table_cell_get_source_document fo_table_cell_set_source_document fo_table_cell_get_width fo_table_cell_set_width FO_TABLE_CELL FO_IS_TABLE_CELL FO_TYPE_TABLE_CELL fo_table_cell_get_type FO_TABLE_CELL_CLASS FO_IS_TABLE_CELL_CLASS FO_TABLE_CELL_GET_CLASS
fo-table-column table-column FO_TABLE_COLUMN_ERROR fo_table_column_error_quark FoTableColumnError FoTableColumn FoTableColumnClass fo_table_column_new fo_table_column_get_offset fo_table_column_set_offset fo_table_column_get_background_color fo_table_column_set_background_color fo_table_column_get_background_image fo_table_column_set_background_image fo_table_column_get_border_after_color fo_table_column_set_border_after_color fo_table_column_get_border_after_precedence fo_table_column_set_border_after_precedence fo_table_column_get_border_after_style fo_table_column_set_border_after_style fo_table_column_get_border_after_width fo_table_column_set_border_after_width fo_table_column_get_border_before_color fo_table_column_set_border_before_color fo_table_column_get_border_before_precedence fo_table_column_set_border_before_precedence fo_table_column_get_border_before_style fo_table_column_set_border_before_style fo_table_column_get_border_before_width fo_table_column_set_border_before_width fo_table_column_get_border_bottom_color fo_table_column_set_border_bottom_color fo_table_column_get_border_bottom_style fo_table_column_set_border_bottom_style fo_table_column_get_border_bottom_width fo_table_column_set_border_bottom_width fo_table_column_get_border_end_color fo_table_column_set_border_end_color fo_table_column_get_border_end_precedence fo_table_column_set_border_end_precedence fo_table_column_get_border_end_style fo_table_column_set_border_end_style fo_table_column_get_border_end_width fo_table_column_set_border_end_width fo_table_column_get_border_left_color fo_table_column_set_border_left_color fo_table_column_get_border_left_style fo_table_column_set_border_left_style fo_table_column_get_border_left_width fo_table_column_set_border_left_width fo_table_column_get_border_right_color fo_table_column_set_border_right_color fo_table_column_get_border_right_style fo_table_column_set_border_right_style fo_table_column_get_border_right_width fo_table_column_set_border_right_width fo_table_column_get_border_start_color fo_table_column_set_border_start_color fo_table_column_get_border_start_precedence fo_table_column_set_border_start_precedence fo_table_column_get_border_start_style fo_table_column_set_border_start_style fo_table_column_get_border_start_width fo_table_column_set_border_start_width fo_table_column_get_border_top_color fo_table_column_set_border_top_color fo_table_column_get_border_top_style fo_table_column_set_border_top_style fo_table_column_get_border_top_width fo_table_column_set_border_top_width fo_table_column_get_column_number fo_table_column_set_column_number fo_table_column_get_column_width fo_table_column_set_column_width fo_table_column_get_number_columns_repeated fo_table_column_set_number_columns_repeated fo_table_column_get_number_columns_spanned fo_table_column_set_number_columns_spanned fo_table_column_get_padding_after fo_table_column_set_padding_after fo_table_column_get_padding_before fo_table_column_set_padding_before fo_table_column_get_padding_bottom fo_table_column_set_padding_bottom fo_table_column_get_padding_end fo_table_column_set_padding_end fo_table_column_get_padding_left fo_table_column_set_padding_left fo_table_column_get_padding_right fo_table_column_set_padding_right fo_table_column_get_padding_start fo_table_column_set_padding_start fo_table_column_get_padding_top fo_table_column_set_padding_top FO_TABLE_COLUMN FO_IS_TABLE_COLUMN FO_TYPE_TABLE_COLUMN fo_table_column_get_type FO_TABLE_COLUMN_CLASS FO_IS_TABLE_COLUMN_CLASS FO_TABLE_COLUMN_GET_CLASS
fo-table-footer table-footer FoTableFooter FoTableFooterClass fo_table_footer_new fo_table_footer_get_background_color fo_table_footer_set_background_color fo_table_footer_get_background_image fo_table_footer_set_background_image fo_table_footer_get_border_after_color fo_table_footer_set_border_after_color fo_table_footer_get_border_after_precedence fo_table_footer_set_border_after_precedence fo_table_footer_get_border_after_style fo_table_footer_set_border_after_style fo_table_footer_get_border_after_width fo_table_footer_set_border_after_width fo_table_footer_get_border_before_color fo_table_footer_set_border_before_color fo_table_footer_get_border_before_precedence fo_table_footer_set_border_before_precedence fo_table_footer_get_border_before_style fo_table_footer_set_border_before_style fo_table_footer_get_border_before_width fo_table_footer_set_border_before_width fo_table_footer_get_border_bottom_color fo_table_footer_set_border_bottom_color fo_table_footer_get_border_bottom_style fo_table_footer_set_border_bottom_style fo_table_footer_get_border_bottom_width fo_table_footer_set_border_bottom_width fo_table_footer_get_border_end_color fo_table_footer_set_border_end_color fo_table_footer_get_border_end_precedence fo_table_footer_set_border_end_precedence fo_table_footer_get_border_end_style fo_table_footer_set_border_end_style fo_table_footer_get_border_end_width fo_table_footer_set_border_end_width fo_table_footer_get_border_left_color fo_table_footer_set_border_left_color fo_table_footer_get_border_left_style fo_table_footer_set_border_left_style fo_table_footer_get_border_left_width fo_table_footer_set_border_left_width fo_table_footer_get_border_right_color fo_table_footer_set_border_right_color fo_table_footer_get_border_right_style fo_table_footer_set_border_right_style fo_table_footer_get_border_right_width fo_table_footer_set_border_right_width fo_table_footer_get_border_start_color fo_table_footer_set_border_start_color fo_table_footer_get_border_start_precedence fo_table_footer_set_border_start_precedence fo_table_footer_get_border_start_style fo_table_footer_set_border_start_style fo_table_footer_get_border_start_width fo_table_footer_set_border_start_width fo_table_footer_get_border_top_color fo_table_footer_set_border_top_color fo_table_footer_get_border_top_style fo_table_footer_set_border_top_style fo_table_footer_get_border_top_width fo_table_footer_set_border_top_width fo_table_footer_get_id fo_table_footer_set_id fo_table_footer_get_padding_after fo_table_footer_set_padding_after fo_table_footer_get_padding_before fo_table_footer_set_padding_before fo_table_footer_get_padding_bottom fo_table_footer_set_padding_bottom fo_table_footer_get_padding_end fo_table_footer_set_padding_end fo_table_footer_get_padding_left fo_table_footer_set_padding_left fo_table_footer_get_padding_right fo_table_footer_set_padding_right fo_table_footer_get_padding_start fo_table_footer_set_padding_start fo_table_footer_get_padding_top fo_table_footer_set_padding_top fo_table_footer_get_role fo_table_footer_set_role fo_table_footer_get_source_document fo_table_footer_set_source_document FO_TABLE_FOOTER FO_IS_TABLE_FOOTER FO_TYPE_TABLE_FOOTER fo_table_footer_get_type FO_TABLE_FOOTER_CLASS FO_IS_TABLE_FOOTER_CLASS FO_TABLE_FOOTER_GET_CLASS
fo-table-header table-header FoTableHeader FoTableHeaderClass fo_table_header_new fo_table_header_get_background_color fo_table_header_set_background_color fo_table_header_get_background_image fo_table_header_set_background_image fo_table_header_get_border_after_color fo_table_header_set_border_after_color fo_table_header_get_border_after_precedence fo_table_header_set_border_after_precedence fo_table_header_get_border_after_style fo_table_header_set_border_after_style fo_table_header_get_border_after_width fo_table_header_set_border_after_width fo_table_header_get_border_before_color fo_table_header_set_border_before_color fo_table_header_get_border_before_precedence fo_table_header_set_border_before_precedence fo_table_header_get_border_before_style fo_table_header_set_border_before_style fo_table_header_get_border_before_width fo_table_header_set_border_before_width fo_table_header_get_border_bottom_color fo_table_header_set_border_bottom_color fo_table_header_get_border_bottom_style fo_table_header_set_border_bottom_style fo_table_header_get_border_bottom_width fo_table_header_set_border_bottom_width fo_table_header_get_border_end_color fo_table_header_set_border_end_color fo_table_header_get_border_end_precedence fo_table_header_set_border_end_precedence fo_table_header_get_border_end_style fo_table_header_set_border_end_style fo_table_header_get_border_end_width fo_table_header_set_border_end_width fo_table_header_get_border_left_color fo_table_header_set_border_left_color fo_table_header_get_border_left_style fo_table_header_set_border_left_style fo_table_header_get_border_left_width fo_table_header_set_border_left_width fo_table_header_get_border_right_color fo_table_header_set_border_right_color fo_table_header_get_border_right_style fo_table_header_set_border_right_style fo_table_header_get_border_right_width fo_table_header_set_border_right_width fo_table_header_get_border_start_color fo_table_header_set_border_start_color fo_table_header_get_border_start_precedence fo_table_header_set_border_start_precedence fo_table_header_get_border_start_style fo_table_header_set_border_start_style fo_table_header_get_border_start_width fo_table_header_set_border_start_width fo_table_header_get_border_top_color fo_table_header_set_border_top_color fo_table_header_get_border_top_style fo_table_header_set_border_top_style fo_table_header_get_border_top_width fo_table_header_set_border_top_width fo_table_header_get_id fo_table_header_set_id fo_table_header_get_padding_after fo_table_header_set_padding_after fo_table_header_get_padding_before fo_table_header_set_padding_before fo_table_header_get_padding_bottom fo_table_header_set_padding_bottom fo_table_header_get_padding_end fo_table_header_set_padding_end fo_table_header_get_padding_left fo_table_header_set_padding_left fo_table_header_get_padding_right fo_table_header_set_padding_right fo_table_header_get_padding_start fo_table_header_set_padding_start fo_table_header_get_padding_top fo_table_header_set_padding_top fo_table_header_get_role fo_table_header_set_role fo_table_header_get_source_document fo_table_header_set_source_document FO_TABLE_HEADER FO_IS_TABLE_HEADER FO_TYPE_TABLE_HEADER fo_table_header_get_type FO_TABLE_HEADER_CLASS FO_IS_TABLE_HEADER_CLASS FO_TABLE_HEADER_GET_CLASS
fo-table-part FoTablePart FoTablePart FoTablePartClass fo_table_part_new fo_table_part_update_from_context FO_TABLE_PART FO_IS_TABLE_PART FO_TYPE_TABLE_PART fo_table_part_get_type FO_TABLE_PART_CLASS FO_IS_TABLE_PART_CLASS FO_TABLE_PART_GET_CLASS
fo-table-row table-row FoTableRow FoTableRowClass fo_table_row_new fo_table_row_get_background_color fo_table_row_set_background_color fo_table_row_get_background_image fo_table_row_set_background_image fo_table_row_get_block_progression_dimension fo_table_row_set_block_progression_dimension fo_table_row_get_border_after_color fo_table_row_set_border_after_color fo_table_row_get_border_after_precedence fo_table_row_set_border_after_precedence fo_table_row_get_border_after_style fo_table_row_set_border_after_style fo_table_row_get_border_after_width fo_table_row_set_border_after_width fo_table_row_get_border_before_color fo_table_row_set_border_before_color fo_table_row_get_border_before_precedence fo_table_row_set_border_before_precedence fo_table_row_get_border_before_style fo_table_row_set_border_before_style fo_table_row_get_border_before_width fo_table_row_set_border_before_width fo_table_row_get_border_bottom_color fo_table_row_set_border_bottom_color fo_table_row_get_border_bottom_style fo_table_row_set_border_bottom_style fo_table_row_get_border_bottom_width fo_table_row_set_border_bottom_width fo_table_row_get_border_end_color fo_table_row_set_border_end_color fo_table_row_get_border_end_precedence fo_table_row_set_border_end_precedence fo_table_row_get_border_end_style fo_table_row_set_border_end_style fo_table_row_get_border_end_width fo_table_row_set_border_end_width fo_table_row_get_border_left_color fo_table_row_set_border_left_color fo_table_row_get_border_left_style fo_table_row_set_border_left_style fo_table_row_get_border_left_width fo_table_row_set_border_left_width fo_table_row_get_border_right_color fo_table_row_set_border_right_color fo_table_row_get_border_right_style fo_table_row_set_border_right_style fo_table_row_get_border_right_width fo_table_row_set_border_right_width fo_table_row_get_border_start_color fo_table_row_set_border_start_color fo_table_row_get_border_start_precedence fo_table_row_set_border_start_precedence fo_table_row_get_border_start_style fo_table_row_set_border_start_style fo_table_row_get_border_start_width fo_table_row_set_border_start_width fo_table_row_get_border_top_color fo_table_row_set_border_top_color fo_table_row_get_border_top_style fo_table_row_set_border_top_style fo_table_row_get_border_top_width fo_table_row_set_border_top_width fo_table_row_get_break_after fo_table_row_set_break_after fo_table_row_get_break_before fo_table_row_set_break_before fo_table_row_get_height fo_table_row_set_height fo_table_row_get_id fo_table_row_set_id fo_table_row_get_keep_together fo_table_row_set_keep_together fo_table_row_get_keep_together_within_column fo_table_row_set_keep_together_within_column fo_table_row_get_keep_together_within_line fo_table_row_set_keep_together_within_line fo_table_row_get_keep_together_within_page fo_table_row_set_keep_together_within_page fo_table_row_get_keep_with_next fo_table_row_set_keep_with_next fo_table_row_get_keep_with_next_within_column fo_table_row_set_keep_with_next_within_column fo_table_row_get_keep_with_next_within_line fo_table_row_set_keep_with_next_within_line fo_table_row_get_keep_with_next_within_page fo_table_row_set_keep_with_next_within_page fo_table_row_get_keep_with_previous fo_table_row_set_keep_with_previous fo_table_row_get_keep_with_previous_within_column fo_table_row_set_keep_with_previous_within_column fo_table_row_get_keep_with_previous_within_line fo_table_row_set_keep_with_previous_within_line fo_table_row_get_keep_with_previous_within_page fo_table_row_set_keep_with_previous_within_page fo_table_row_get_padding_after fo_table_row_set_padding_after fo_table_row_get_padding_before fo_table_row_set_padding_before fo_table_row_get_padding_bottom fo_table_row_set_padding_bottom fo_table_row_get_padding_end fo_table_row_set_padding_end fo_table_row_get_padding_left fo_table_row_set_padding_left fo_table_row_get_padding_right fo_table_row_set_padding_right fo_table_row_get_padding_start fo_table_row_set_padding_start fo_table_row_get_padding_top fo_table_row_set_padding_top fo_table_row_get_role fo_table_row_set_role fo_table_row_get_source_document fo_table_row_set_source_document FO_TABLE_ROW FO_IS_TABLE_ROW FO_TYPE_TABLE_ROW fo_table_row_get_type FO_TABLE_ROW_CLASS FO_IS_TABLE_ROW_CLASS FO_TABLE_ROW_GET_CLASS
fo-table table FoEnumTableLayoutMethod FO_TYPE_ENUM_TABLE_LAYOUT_METHOD FO_TABLE_ERROR fo_table_error_quark FoTableError FoTable FoTableClass fo_table_get_type fo_table_new fo_table_validate_content_table_row_table_cell fo_table_resolve_columns fo_table_span_info_start_row fo_table_span_info_resolve_column_number fo_table_span_info_debug_dump fo_table_add_column fo_table_get_column fo_table_get_max_column_number fo_table_get_layout_method fo_table_get_proportional_unit fo_table_get_background_color fo_table_set_background_color fo_table_get_background_image fo_table_set_background_image fo_table_get_block_progression_dimension fo_table_set_block_progression_dimension fo_table_get_border_after_color fo_table_set_border_after_color fo_table_get_border_after_precedence fo_table_set_border_after_precedence fo_table_get_border_after_style fo_table_set_border_after_style fo_table_get_border_after_width fo_table_set_border_after_width fo_table_get_border_before_color fo_table_set_border_before_color fo_table_get_border_before_precedence fo_table_set_border_before_precedence fo_table_get_border_before_style fo_table_set_border_before_style fo_table_get_border_before_width fo_table_set_border_before_width fo_table_get_border_bottom_color fo_table_set_border_bottom_color fo_table_get_border_bottom_style fo_table_set_border_bottom_style fo_table_get_border_bottom_width fo_table_set_border_bottom_width fo_table_get_border_collapse fo_table_set_border_collapse fo_table_get_border_end_color fo_table_set_border_end_color fo_table_get_border_end_precedence fo_table_set_border_end_precedence fo_table_get_border_end_style fo_table_set_border_end_style fo_table_get_border_end_width fo_table_set_border_end_width fo_table_get_border_left_color fo_table_set_border_left_color fo_table_get_border_left_style fo_table_set_border_left_style fo_table_get_border_left_width fo_table_set_border_left_width fo_table_get_border_right_color fo_table_set_border_right_color fo_table_get_border_right_style fo_table_set_border_right_style fo_table_get_border_right_width fo_table_set_border_right_width fo_table_get_border_separation fo_table_set_border_separation fo_table_get_border_start_color fo_table_set_border_start_color fo_table_get_border_start_precedence fo_table_set_border_start_precedence fo_table_get_border_start_style fo_table_set_border_start_style fo_table_get_border_start_width fo_table_set_border_start_width fo_table_get_border_top_color fo_table_set_border_top_color fo_table_get_border_top_style fo_table_set_border_top_style fo_table_get_border_top_width fo_table_set_border_top_width fo_table_get_break_after fo_table_set_break_after fo_table_get_break_before fo_table_set_break_before fo_table_get_end_indent fo_table_set_end_indent fo_table_get_height fo_table_set_height fo_table_get_id fo_table_set_id fo_table_get_inline_progression_dimension fo_table_set_inline_progression_dimension fo_table_get_keep_together fo_table_set_keep_together fo_table_get_keep_together_within_column fo_table_set_keep_together_within_column fo_table_get_keep_together_within_line fo_table_set_keep_together_within_line fo_table_get_keep_together_within_page fo_table_set_keep_together_within_page fo_table_get_keep_with_next fo_table_set_keep_with_next fo_table_get_keep_with_next_within_column fo_table_set_keep_with_next_within_column fo_table_get_keep_with_next_within_line fo_table_set_keep_with_next_within_line fo_table_get_keep_with_next_within_page fo_table_set_keep_with_next_within_page fo_table_get_keep_with_previous fo_table_set_keep_with_previous fo_table_get_keep_with_previous_within_column fo_table_set_keep_with_previous_within_column fo_table_get_keep_with_previous_within_line fo_table_set_keep_with_previous_within_line fo_table_get_keep_with_previous_within_page fo_table_set_keep_with_previous_within_page fo_table_get_margin_bottom fo_table_set_margin_bottom fo_table_get_margin_left fo_table_set_margin_left fo_table_get_margin_right fo_table_set_margin_right fo_table_get_margin_top fo_table_set_margin_top fo_table_get_padding_after fo_table_set_padding_after fo_table_get_padding_before fo_table_set_padding_before fo_table_get_padding_bottom fo_table_set_padding_bottom fo_table_get_padding_end fo_table_set_padding_end fo_table_get_padding_left fo_table_set_padding_left fo_table_get_padding_right fo_table_set_padding_right fo_table_get_padding_start fo_table_set_padding_start fo_table_get_padding_top fo_table_set_padding_top fo_table_get_role fo_table_set_role fo_table_get_source_document fo_table_set_source_document fo_table_get_space_after fo_table_set_space_after fo_table_get_space_before fo_table_set_space_before fo_table_get_start_indent fo_table_set_start_indent fo_table_get_table_layout fo_table_set_table_layout fo_table_get_width fo_table_set_width fo_table_get_writing_mode fo_table_set_writing_mode FO_TABLE FO_IS_TABLE FO_TYPE_TABLE fo_enum_table_layout_method_get_type FO_TABLE_CLASS FO_IS_TABLE_CLASS FO_TABLE_GET_CLASS
fo-text FoText FoText FoTextClass fo_text_new fo_text_set_color fo_text_get_color fo_text_set_font_family fo_text_get_font_family fo_text_set_font_size fo_text_get_font_size fo_text_set_font_stretch fo_text_get_font_stretch fo_text_set_font_style fo_text_get_font_style fo_text_set_font_variant fo_text_get_font_variant fo_text_set_font_weight fo_text_get_font_weight fo_text_set_score_spaces fo_text_get_score_spaces fo_text_set_value fo_text_get_value fo_text_get_whitespace_only FO_TEXT FO_IS_TEXT FO_TYPE_TEXT fo_text_get_type FO_TEXT_CLASS FO_IS_TEXT_CLASS FO_TEXT_GET_CLASS
fo-title title FoTitle FoTitleClass fo_title_new fo_title_get_background_color fo_title_set_background_color fo_title_get_background_image fo_title_set_background_image fo_title_get_border_after_color fo_title_set_border_after_color fo_title_get_border_after_style fo_title_set_border_after_style fo_title_get_border_after_width fo_title_set_border_after_width fo_title_get_border_before_color fo_title_set_border_before_color fo_title_get_border_before_style fo_title_set_border_before_style fo_title_get_border_before_width fo_title_set_border_before_width fo_title_get_border_bottom_color fo_title_set_border_bottom_color fo_title_get_border_bottom_style fo_title_set_border_bottom_style fo_title_get_border_bottom_width fo_title_set_border_bottom_width fo_title_get_border_end_color fo_title_set_border_end_color fo_title_get_border_end_style fo_title_set_border_end_style fo_title_get_border_end_width fo_title_set_border_end_width fo_title_get_border_left_color fo_title_set_border_left_color fo_title_get_border_left_style fo_title_set_border_left_style fo_title_get_border_left_width fo_title_set_border_left_width fo_title_get_border_right_color fo_title_set_border_right_color fo_title_get_border_right_style fo_title_set_border_right_style fo_title_get_border_right_width fo_title_set_border_right_width fo_title_get_border_start_color fo_title_set_border_start_color fo_title_get_border_start_style fo_title_set_border_start_style fo_title_get_border_start_width fo_title_set_border_start_width fo_title_get_border_top_color fo_title_set_border_top_color fo_title_get_border_top_style fo_title_set_border_top_style fo_title_get_border_top_width fo_title_set_border_top_width fo_title_get_color fo_title_set_color fo_title_get_font_family fo_title_set_font_family fo_title_get_font_size fo_title_set_font_size fo_title_get_font_stretch fo_title_set_font_stretch fo_title_get_font_style fo_title_set_font_style fo_title_get_font_variant fo_title_set_font_variant fo_title_get_font_weight fo_title_set_font_weight fo_title_get_line_height fo_title_set_line_height fo_title_get_padding_after fo_title_set_padding_after fo_title_get_padding_before fo_title_set_padding_before fo_title_get_padding_bottom fo_title_set_padding_bottom fo_title_get_padding_end fo_title_set_padding_end fo_title_get_padding_left fo_title_set_padding_left fo_title_get_padding_right fo_title_set_padding_right fo_title_get_padding_start fo_title_set_padding_start fo_title_get_padding_top fo_title_set_padding_top fo_title_get_role fo_title_set_role fo_title_get_source_document fo_title_set_source_document fo_title_get_space_end fo_title_set_space_end fo_title_get_space_start fo_title_set_space_start FO_TITLE FO_IS_TITLE FO_TYPE_TITLE fo_title_get_type FO_TITLE_CLASS FO_IS_TITLE_CLASS FO_TITLE_GET_CLASS
fo-tree FoTree FoTree FoTreeClass fo_tree_new fo_tree_id_add fo_tree_id_get fo_tree_master_name_add fo_tree_master_name_get fo_tree_page_sequence_master_name_add fo_tree_page_sequence_master_name_get fo_tree_default_master_get FO_TREE FO_IS_TREE FO_TYPE_TREE fo_tree_get_type FO_TREE_CLASS FO_IS_TREE_CLASS FO_TREE_GET_CLASS
fo-wrapper-block FoWrapperBlock FoWrapperBlock FoWrapperBlockClass fo_wrapper_block_new fo_wrapper_block_update_from_context FO_WRAPPER_BLOCK FO_IS_WRAPPER_BLOCK FO_TYPE_WRAPPER_BLOCK fo_wrapper_block_get_type FO_WRAPPER_BLOCK_CLASS FO_IS_WRAPPER_BLOCK_CLASS FO_WRAPPER_BLOCK_GET_CLASS
fo-wrapper-inline FoWrapperInline FoWrapperInline FoWrapperInlineClass fo_wrapper_inline_new FO_WRAPPER_INLINE FO_IS_WRAPPER_INLINE FO_TYPE_WRAPPER_INLINE fo_wrapper_inline_get_type FO_WRAPPER_INLINE_CLASS FO_IS_WRAPPER_INLINE_CLASS FO_WRAPPER_INLINE_GET_CLASS
fo-wrapper-inline-empty FoWrapperInlineEmpty FoWrapperInlineEmpty FoWrapperInlineEmptyClass fo_wrapper_inline_empty_new FO_WRAPPER_INLINE_EMPTY FO_IS_WRAPPER_INLINE_EMPTY FO_TYPE_WRAPPER_INLINE_EMPTY fo_wrapper_inline_empty_get_type FO_WRAPPER_INLINE_EMPTY_CLASS FO_IS_WRAPPER_INLINE_EMPTY_CLASS FO_WRAPPER_INLINE_EMPTY_GET_CLASS
fo-wrapper-whitespace FoWrapperWhitespace FoWrapperWhitespace FoWrapperWhitespaceClass fo_wrapper_whitespace_new fo_wrapper_whitespace_update_from_context FO_WRAPPER_WHITESPACE FO_IS_WRAPPER_WHITESPACE FO_TYPE_WRAPPER_WHITESPACE fo_wrapper_whitespace_get_type FO_WRAPPER_WHITESPACE_CLASS FO_IS_WRAPPER_WHITESPACE_CLASS FO_WRAPPER_WHITESPACE_GET_CLASS
fo-wrapper FoWrapper FoWrapper FoWrapperClass fo_wrapper_new fo_wrapper_set_id fo_wrapper_get_id FO_WRAPPER FO_IS_WRAPPER FO_TYPE_WRAPPER fo_wrapper_get_type FO_WRAPPER_CLASS FO_IS_WRAPPER_CLASS FO_WRAPPER_GET_CLASS
fo-marker-parent FoMarkerParent FoMarkerParentClass fo_marker_parent_new fo_marker_parent_update_from_context FO_MARKER_PARENT FO_IS_MARKER_PARENT FO_TYPE_MARKER_PARENT fo_marker_parent_get_type FO_MARKER_PARENT_CLASS FO_IS_MARKER_PARENT_CLASS FO_MARKER_PARENT_GET_CLASS
fo-property-alignment-adjust alignment-adjust FoPropertyAlignmentAdjust FoPropertyAlignmentAdjustClass fo_property_alignment_adjust_new fo_property_alignment_adjust_get_initial FO_PROPERTY_ALIGNMENT_ADJUST FO_IS_PROPERTY_ALIGNMENT_ADJUST FO_TYPE_PROPERTY_ALIGNMENT_ADJUST fo_property_alignment_adjust_get_type FO_PROPERTY_ALIGNMENT_ADJUST_CLASS FO_IS_PROPERTY_ALIGNMENT_ADJUST_CLASS FO_PROPERTY_ALIGNMENT_ADJUST_GET_CLASS
fo-property-alignment-baseline alignment-baseline FoPropertyAlignmentBaseline FoPropertyAlignmentBaselineClass fo_property_alignment_baseline_new fo_property_alignment_baseline_get_initial FO_PROPERTY_ALIGNMENT_BASELINE FO_IS_PROPERTY_ALIGNMENT_BASELINE FO_TYPE_PROPERTY_ALIGNMENT_BASELINE fo_property_alignment_baseline_get_type FO_PROPERTY_ALIGNMENT_BASELINE_CLASS FO_IS_PROPERTY_ALIGNMENT_BASELINE_CLASS FO_PROPERTY_ALIGNMENT_BASELINE_GET_CLASS
fo-property-background-color background-color FoPropertyBackgroundColor FoPropertyBackgroundColorClass fo_property_background_color_new fo_property_background_color_get_initial FO_PROPERTY_BACKGROUND_COLOR FO_IS_PROPERTY_BACKGROUND_COLOR FO_TYPE_PROPERTY_BACKGROUND_COLOR fo_property_background_color_get_type FO_PROPERTY_BACKGROUND_COLOR_CLASS FO_IS_PROPERTY_BACKGROUND_COLOR_CLASS FO_PROPERTY_BACKGROUND_COLOR_GET_CLASS
fo-property-background-image background-image FoPropertyBackgroundImage FoPropertyBackgroundImageClass fo_property_background_image_new fo_property_background_image_get_initial FO_PROPERTY_BACKGROUND_IMAGE FO_IS_PROPERTY_BACKGROUND_IMAGE FO_TYPE_PROPERTY_BACKGROUND_IMAGE fo_property_background_image_get_type FO_PROPERTY_BACKGROUND_IMAGE_CLASS FO_IS_PROPERTY_BACKGROUND_IMAGE_CLASS FO_PROPERTY_BACKGROUND_IMAGE_GET_CLASS
fo-property-baseline-shift baseline-shift FoPropertyBaselineShift FoPropertyBaselineShiftClass fo_property_baseline_shift_new fo_property_baseline_shift_get_initial FO_PROPERTY_BASELINE_SHIFT FO_IS_PROPERTY_BASELINE_SHIFT FO_TYPE_PROPERTY_BASELINE_SHIFT fo_property_baseline_shift_get_type FO_PROPERTY_BASELINE_SHIFT_CLASS FO_IS_PROPERTY_BASELINE_SHIFT_CLASS FO_PROPERTY_BASELINE_SHIFT_GET_CLASS
fo-property-block-progression-dimension-maximum block-progression-dimension.maximum FoPropertyBlockProgressionDimensionMaximum FoPropertyBlockProgressionDimensionMaximumClass fo_property_block_progression_dimension_maximum_new fo_property_block_progression_dimension_maximum_get_initial FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM fo_property_block_progression_dimension_maximum_get_type FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM_CLASS FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM_CLASS FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MAXIMUM_GET_CLASS
fo-property-block-progression-dimension-minimum block-progression-dimension.minimum FoPropertyBlockProgressionDimensionMinimum FoPropertyBlockProgressionDimensionMinimumClass fo_property_block_progression_dimension_minimum_new fo_property_block_progression_dimension_minimum_get_initial FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM fo_property_block_progression_dimension_minimum_get_type FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM_CLASS FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM_CLASS FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_MINIMUM_GET_CLASS
fo-property-block-progression-dimension-optimum block-progression-dimension.optimum FoPropertyBlockProgressionDimensionOptimum FoPropertyBlockProgressionDimensionOptimumClass fo_property_block_progression_dimension_optimum_new fo_property_block_progression_dimension_optimum_get_initial FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM fo_property_block_progression_dimension_optimum_get_type FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM_CLASS FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM_CLASS FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_OPTIMUM_GET_CLASS
fo-property-block-progression-dimension block-progression-dimension FoPropertyBlockProgressionDimension FoPropertyBlockProgressionDimensionClass fo_property_block_progression_dimension_new fo_property_block_progression_dimension_get_initial FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION FO_TYPE_PROPERTY_BLOCK_PROGRESSION_DIMENSION fo_property_block_progression_dimension_get_type FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_CLASS FO_IS_PROPERTY_BLOCK_PROGRESSION_DIMENSION_CLASS FO_PROPERTY_BLOCK_PROGRESSION_DIMENSION_GET_CLASS
fo-property-border-after-color border-after-color FoPropertyBorderAfterColor FoPropertyBorderAfterColorClass fo_property_border_after_color_new fo_property_border_after_color_get_initial FO_PROPERTY_BORDER_AFTER_COLOR FO_IS_PROPERTY_BORDER_AFTER_COLOR FO_TYPE_PROPERTY_BORDER_AFTER_COLOR fo_property_border_after_color_get_type FO_PROPERTY_BORDER_AFTER_COLOR_CLASS FO_IS_PROPERTY_BORDER_AFTER_COLOR_CLASS FO_PROPERTY_BORDER_AFTER_COLOR_GET_CLASS
fo-property-border-after-precedence border-after-precedence FoPropertyBorderAfterPrecedence FoPropertyBorderAfterPrecedenceClass fo_property_border_after_precedence_new fo_property_border_after_precedence_get_initial FO_PROPERTY_BORDER_AFTER_PRECEDENCE FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE FO_TYPE_PROPERTY_BORDER_AFTER_PRECEDENCE fo_property_border_after_precedence_get_type FO_PROPERTY_BORDER_AFTER_PRECEDENCE_CLASS FO_IS_PROPERTY_BORDER_AFTER_PRECEDENCE_CLASS FO_PROPERTY_BORDER_AFTER_PRECEDENCE_GET_CLASS
fo-property-border-after-style border-after-style FoPropertyBorderAfterStyle FoPropertyBorderAfterStyleClass fo_property_border_after_style_new fo_property_border_after_style_get_initial FO_PROPERTY_BORDER_AFTER_STYLE FO_IS_PROPERTY_BORDER_AFTER_STYLE FO_TYPE_PROPERTY_BORDER_AFTER_STYLE fo_property_border_after_style_get_type FO_PROPERTY_BORDER_AFTER_STYLE_CLASS FO_IS_PROPERTY_BORDER_AFTER_STYLE_CLASS FO_PROPERTY_BORDER_AFTER_STYLE_GET_CLASS
fo-property-border-after-width border-after-width FoPropertyBorderAfterWidth FoPropertyBorderAfterWidthClass fo_property_border_after_width_new fo_property_border_after_width_get_initial FO_PROPERTY_BORDER_AFTER_WIDTH FO_IS_PROPERTY_BORDER_AFTER_WIDTH FO_TYPE_PROPERTY_BORDER_AFTER_WIDTH fo_property_border_after_width_get_type FO_PROPERTY_BORDER_AFTER_WIDTH_CLASS FO_IS_PROPERTY_BORDER_AFTER_WIDTH_CLASS FO_PROPERTY_BORDER_AFTER_WIDTH_GET_CLASS
fo-property-border-before-color border-before-color FoPropertyBorderBeforeColor FoPropertyBorderBeforeColorClass fo_property_border_before_color_new fo_property_border_before_color_get_initial FO_PROPERTY_BORDER_BEFORE_COLOR FO_IS_PROPERTY_BORDER_BEFORE_COLOR FO_TYPE_PROPERTY_BORDER_BEFORE_COLOR fo_property_border_before_color_get_type FO_PROPERTY_BORDER_BEFORE_COLOR_CLASS FO_IS_PROPERTY_BORDER_BEFORE_COLOR_CLASS FO_PROPERTY_BORDER_BEFORE_COLOR_GET_CLASS
fo-property-border-before-precedence border-before-precedence FoPropertyBorderBeforePrecedence FoPropertyBorderBeforePrecedenceClass fo_property_border_before_precedence_new fo_property_border_before_precedence_get_initial FO_PROPERTY_BORDER_BEFORE_PRECEDENCE FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE FO_TYPE_PROPERTY_BORDER_BEFORE_PRECEDENCE fo_property_border_before_precedence_get_type FO_PROPERTY_BORDER_BEFORE_PRECEDENCE_CLASS FO_IS_PROPERTY_BORDER_BEFORE_PRECEDENCE_CLASS FO_PROPERTY_BORDER_BEFORE_PRECEDENCE_GET_CLASS
fo-property-border-before-style border-before-style FoPropertyBorderBeforeStyle FoPropertyBorderBeforeStyleClass fo_property_border_before_style_new fo_property_border_before_style_get_initial FO_PROPERTY_BORDER_BEFORE_STYLE FO_IS_PROPERTY_BORDER_BEFORE_STYLE FO_TYPE_PROPERTY_BORDER_BEFORE_STYLE fo_property_border_before_style_get_type FO_PROPERTY_BORDER_BEFORE_STYLE_CLASS FO_IS_PROPERTY_BORDER_BEFORE_STYLE_CLASS FO_PROPERTY_BORDER_BEFORE_STYLE_GET_CLASS
fo-property-border-before-width border-before-width FoPropertyBorderBeforeWidth FoPropertyBorderBeforeWidthClass fo_property_border_before_width_new fo_property_border_before_width_get_initial FO_PROPERTY_BORDER_BEFORE_WIDTH FO_IS_PROPERTY_BORDER_BEFORE_WIDTH FO_TYPE_PROPERTY_BORDER_BEFORE_WIDTH fo_property_border_before_width_get_type FO_PROPERTY_BORDER_BEFORE_WIDTH_CLASS FO_IS_PROPERTY_BORDER_BEFORE_WIDTH_CLASS FO_PROPERTY_BORDER_BEFORE_WIDTH_GET_CLASS
fo-property-border-bottom border-bottom FoPropertyBorderBottom FoPropertyBorderBottomClass fo_property_border_bottom_new fo_property_border_bottom_get_initial FO_PROPERTY_BORDER_BOTTOM FO_IS_PROPERTY_BORDER_BOTTOM FO_TYPE_PROPERTY_BORDER_BOTTOM fo_property_border_bottom_get_type FO_PROPERTY_BORDER_BOTTOM_CLASS FO_IS_PROPERTY_BORDER_BOTTOM_CLASS FO_PROPERTY_BORDER_BOTTOM_GET_CLASS
fo-property-border-bottom-color border-bottom-color FoPropertyBorderBottomColor FoPropertyBorderBottomColorClass fo_property_border_bottom_color_new fo_property_border_bottom_color_get_initial FO_PROPERTY_BORDER_BOTTOM_COLOR FO_IS_PROPERTY_BORDER_BOTTOM_COLOR FO_TYPE_PROPERTY_BORDER_BOTTOM_COLOR fo_property_border_bottom_color_get_type FO_PROPERTY_BORDER_BOTTOM_COLOR_CLASS FO_IS_PROPERTY_BORDER_BOTTOM_COLOR_CLASS FO_PROPERTY_BORDER_BOTTOM_COLOR_GET_CLASS
fo-property-border-bottom-style border-bottom-style FoPropertyBorderBottomStyle FoPropertyBorderBottomStyleClass fo_property_border_bottom_style_new fo_property_border_bottom_style_get_initial FO_PROPERTY_BORDER_BOTTOM_STYLE FO_IS_PROPERTY_BORDER_BOTTOM_STYLE FO_TYPE_PROPERTY_BORDER_BOTTOM_STYLE fo_property_border_bottom_style_get_type FO_PROPERTY_BORDER_BOTTOM_STYLE_CLASS FO_IS_PROPERTY_BORDER_BOTTOM_STYLE_CLASS FO_PROPERTY_BORDER_BOTTOM_STYLE_GET_CLASS
fo-property-border-bottom-width border-bottom-width FoPropertyBorderBottomWidth FoPropertyBorderBottomWidthClass fo_property_border_bottom_width_new fo_property_border_bottom_width_get_initial FO_PROPERTY_BORDER_BOTTOM_WIDTH FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH FO_TYPE_PROPERTY_BORDER_BOTTOM_WIDTH fo_property_border_bottom_width_get_type FO_PROPERTY_BORDER_BOTTOM_WIDTH_CLASS FO_IS_PROPERTY_BORDER_BOTTOM_WIDTH_CLASS FO_PROPERTY_BORDER_BOTTOM_WIDTH_GET_CLASS
fo-property-border-collapse border-collapse FoPropertyBorderCollapse FoPropertyBorderCollapseClass fo_property_border_collapse_new fo_property_border_collapse_get_initial FO_PROPERTY_BORDER_COLLAPSE FO_IS_PROPERTY_BORDER_COLLAPSE FO_TYPE_PROPERTY_BORDER_COLLAPSE fo_property_border_collapse_get_type FO_PROPERTY_BORDER_COLLAPSE_CLASS FO_IS_PROPERTY_BORDER_COLLAPSE_CLASS FO_PROPERTY_BORDER_COLLAPSE_GET_CLASS
fo-property-border-color FoPropertyBorderColor FoPropertyBorderColorClass fo_property_border_color_new fo_property_border_color_get_initial FO_PROPERTY_BORDER_COLOR FO_IS_PROPERTY_BORDER_COLOR FO_TYPE_PROPERTY_BORDER_COLOR fo_property_border_color_get_type FO_PROPERTY_BORDER_COLOR_CLASS FO_IS_PROPERTY_BORDER_COLOR_CLASS FO_PROPERTY_BORDER_COLOR_GET_CLASS
fo-property-border-end-color border-end-color FoPropertyBorderEndColor FoPropertyBorderEndColorClass fo_property_border_end_color_new fo_property_border_end_color_get_initial FO_PROPERTY_BORDER_END_COLOR FO_IS_PROPERTY_BORDER_END_COLOR FO_TYPE_PROPERTY_BORDER_END_COLOR fo_property_border_end_color_get_type FO_PROPERTY_BORDER_END_COLOR_CLASS FO_IS_PROPERTY_BORDER_END_COLOR_CLASS FO_PROPERTY_BORDER_END_COLOR_GET_CLASS
fo-property-border-end-precedence border-end-precedence FoPropertyBorderEndPrecedence FoPropertyBorderEndPrecedenceClass fo_property_border_end_precedence_new fo_property_border_end_precedence_get_initial FO_PROPERTY_BORDER_END_PRECEDENCE FO_IS_PROPERTY_BORDER_END_PRECEDENCE FO_TYPE_PROPERTY_BORDER_END_PRECEDENCE fo_property_border_end_precedence_get_type FO_PROPERTY_BORDER_END_PRECEDENCE_CLASS FO_IS_PROPERTY_BORDER_END_PRECEDENCE_CLASS FO_PROPERTY_BORDER_END_PRECEDENCE_GET_CLASS
fo-property-border-end-style border-end-style FoPropertyBorderEndStyle FoPropertyBorderEndStyleClass fo_property_border_end_style_new fo_property_border_end_style_get_initial FO_PROPERTY_BORDER_END_STYLE FO_IS_PROPERTY_BORDER_END_STYLE FO_TYPE_PROPERTY_BORDER_END_STYLE fo_property_border_end_style_get_type FO_PROPERTY_BORDER_END_STYLE_CLASS FO_IS_PROPERTY_BORDER_END_STYLE_CLASS FO_PROPERTY_BORDER_END_STYLE_GET_CLASS
fo-property-border-end-width border-end-width FoPropertyBorderEndWidth FoPropertyBorderEndWidthClass fo_property_border_end_width_new fo_property_border_end_width_get_initial FO_PROPERTY_BORDER_END_WIDTH FO_IS_PROPERTY_BORDER_END_WIDTH FO_TYPE_PROPERTY_BORDER_END_WIDTH fo_property_border_end_width_get_type FO_PROPERTY_BORDER_END_WIDTH_CLASS FO_IS_PROPERTY_BORDER_END_WIDTH_CLASS FO_PROPERTY_BORDER_END_WIDTH_GET_CLASS
fo-property-border-left border-left FoPropertyBorderLeft FoPropertyBorderLeftClass fo_property_border_left_new fo_property_border_left_get_initial FO_PROPERTY_BORDER_LEFT FO_IS_PROPERTY_BORDER_LEFT FO_TYPE_PROPERTY_BORDER_LEFT fo_property_border_left_get_type FO_PROPERTY_BORDER_LEFT_CLASS FO_IS_PROPERTY_BORDER_LEFT_CLASS FO_PROPERTY_BORDER_LEFT_GET_CLASS
fo-property-border-left-color border-left-color FoPropertyBorderLeftColor FoPropertyBorderLeftColorClass fo_property_border_left_color_new fo_property_border_left_color_get_initial FO_PROPERTY_BORDER_LEFT_COLOR FO_IS_PROPERTY_BORDER_LEFT_COLOR FO_TYPE_PROPERTY_BORDER_LEFT_COLOR fo_property_border_left_color_get_type FO_PROPERTY_BORDER_LEFT_COLOR_CLASS FO_IS_PROPERTY_BORDER_LEFT_COLOR_CLASS FO_PROPERTY_BORDER_LEFT_COLOR_GET_CLASS
fo-property-border-left-style border-left-style FoPropertyBorderLeftStyle FoPropertyBorderLeftStyleClass fo_property_border_left_style_new fo_property_border_left_style_get_initial FO_PROPERTY_BORDER_LEFT_STYLE FO_IS_PROPERTY_BORDER_LEFT_STYLE FO_TYPE_PROPERTY_BORDER_LEFT_STYLE fo_property_border_left_style_get_type FO_PROPERTY_BORDER_LEFT_STYLE_CLASS FO_IS_PROPERTY_BORDER_LEFT_STYLE_CLASS FO_PROPERTY_BORDER_LEFT_STYLE_GET_CLASS
fo-property-border-left-width border-left-width FoPropertyBorderLeftWidth FoPropertyBorderLeftWidthClass fo_property_border_left_width_new fo_property_border_left_width_get_initial FO_PROPERTY_BORDER_LEFT_WIDTH FO_IS_PROPERTY_BORDER_LEFT_WIDTH FO_TYPE_PROPERTY_BORDER_LEFT_WIDTH fo_property_border_left_width_get_type FO_PROPERTY_BORDER_LEFT_WIDTH_CLASS FO_IS_PROPERTY_BORDER_LEFT_WIDTH_CLASS FO_PROPERTY_BORDER_LEFT_WIDTH_GET_CLASS
fo-property-border-right border-right FoPropertyBorderRight FoPropertyBorderRightClass fo_property_border_right_new fo_property_border_right_get_initial FO_PROPERTY_BORDER_RIGHT FO_IS_PROPERTY_BORDER_RIGHT FO_TYPE_PROPERTY_BORDER_RIGHT fo_property_border_right_get_type FO_PROPERTY_BORDER_RIGHT_CLASS FO_IS_PROPERTY_BORDER_RIGHT_CLASS FO_PROPERTY_BORDER_RIGHT_GET_CLASS
fo-property-border-right-color border-right-color FoPropertyBorderRightColor FoPropertyBorderRightColorClass fo_property_border_right_color_new fo_property_border_right_color_get_initial FO_PROPERTY_BORDER_RIGHT_COLOR FO_IS_PROPERTY_BORDER_RIGHT_COLOR FO_TYPE_PROPERTY_BORDER_RIGHT_COLOR fo_property_border_right_color_get_type FO_PROPERTY_BORDER_RIGHT_COLOR_CLASS FO_IS_PROPERTY_BORDER_RIGHT_COLOR_CLASS FO_PROPERTY_BORDER_RIGHT_COLOR_GET_CLASS
fo-property-border-right-style border-right-style FoPropertyBorderRightStyle FoPropertyBorderRightStyleClass fo_property_border_right_style_new fo_property_border_right_style_get_initial FO_PROPERTY_BORDER_RIGHT_STYLE FO_IS_PROPERTY_BORDER_RIGHT_STYLE FO_TYPE_PROPERTY_BORDER_RIGHT_STYLE fo_property_border_right_style_get_type FO_PROPERTY_BORDER_RIGHT_STYLE_CLASS FO_IS_PROPERTY_BORDER_RIGHT_STYLE_CLASS FO_PROPERTY_BORDER_RIGHT_STYLE_GET_CLASS
fo-property-border-right-width border-right-width FoPropertyBorderRightWidth FoPropertyBorderRightWidthClass fo_property_border_right_width_new fo_property_border_right_width_get_initial FO_PROPERTY_BORDER_RIGHT_WIDTH FO_IS_PROPERTY_BORDER_RIGHT_WIDTH FO_TYPE_PROPERTY_BORDER_RIGHT_WIDTH fo_property_border_right_width_get_type FO_PROPERTY_BORDER_RIGHT_WIDTH_CLASS FO_IS_PROPERTY_BORDER_RIGHT_WIDTH_CLASS FO_PROPERTY_BORDER_RIGHT_WIDTH_GET_CLASS
fo-property-border-separation border-separation FoPropertyBorderSeparation FoPropertyBorderSeparationClass fo_property_border_separation_new fo_property_border_separation_get_initial FO_PROPERTY_BORDER_SEPARATION FO_IS_PROPERTY_BORDER_SEPARATION FO_TYPE_PROPERTY_BORDER_SEPARATION fo_property_border_separation_get_type FO_PROPERTY_BORDER_SEPARATION_CLASS FO_IS_PROPERTY_BORDER_SEPARATION_CLASS FO_PROPERTY_BORDER_SEPARATION_GET_CLASS
fo-property-border-start-color border-start-color FoPropertyBorderStartColor FoPropertyBorderStartColorClass fo_property_border_start_color_new fo_property_border_start_color_get_initial FO_PROPERTY_BORDER_START_COLOR FO_IS_PROPERTY_BORDER_START_COLOR FO_TYPE_PROPERTY_BORDER_START_COLOR fo_property_border_start_color_get_type FO_PROPERTY_BORDER_START_COLOR_CLASS FO_IS_PROPERTY_BORDER_START_COLOR_CLASS FO_PROPERTY_BORDER_START_COLOR_GET_CLASS
fo-property-border-start-precedence border-start-precedence FoPropertyBorderStartPrecedence FoPropertyBorderStartPrecedenceClass fo_property_border_start_precedence_new fo_property_border_start_precedence_get_initial FO_PROPERTY_BORDER_START_PRECEDENCE FO_IS_PROPERTY_BORDER_START_PRECEDENCE FO_TYPE_PROPERTY_BORDER_START_PRECEDENCE fo_property_border_start_precedence_get_type FO_PROPERTY_BORDER_START_PRECEDENCE_CLASS FO_IS_PROPERTY_BORDER_START_PRECEDENCE_CLASS FO_PROPERTY_BORDER_START_PRECEDENCE_GET_CLASS
fo-property-border-start-style border-start-style FoPropertyBorderStartStyle FoPropertyBorderStartStyleClass fo_property_border_start_style_new fo_property_border_start_style_get_initial FO_PROPERTY_BORDER_START_STYLE FO_IS_PROPERTY_BORDER_START_STYLE FO_TYPE_PROPERTY_BORDER_START_STYLE fo_property_border_start_style_get_type FO_PROPERTY_BORDER_START_STYLE_CLASS FO_IS_PROPERTY_BORDER_START_STYLE_CLASS FO_PROPERTY_BORDER_START_STYLE_GET_CLASS
fo-property-border-start-width border-start-width FoPropertyBorderStartWidth FoPropertyBorderStartWidthClass fo_property_border_start_width_new fo_property_border_start_width_get_initial FO_PROPERTY_BORDER_START_WIDTH FO_IS_PROPERTY_BORDER_START_WIDTH FO_TYPE_PROPERTY_BORDER_START_WIDTH fo_property_border_start_width_get_type FO_PROPERTY_BORDER_START_WIDTH_CLASS FO_IS_PROPERTY_BORDER_START_WIDTH_CLASS FO_PROPERTY_BORDER_START_WIDTH_GET_CLASS
fo-property-border-style border-style FoPropertyBorderStyle FoPropertyBorderStyleClass fo_property_border_style_new fo_property_border_style_get_initial FO_PROPERTY_BORDER_STYLE FO_IS_PROPERTY_BORDER_STYLE FO_TYPE_PROPERTY_BORDER_STYLE fo_property_border_style_get_type FO_PROPERTY_BORDER_STYLE_CLASS FO_IS_PROPERTY_BORDER_STYLE_CLASS FO_PROPERTY_BORDER_STYLE_GET_CLASS
fo-property-border-top border-top FoPropertyBorderTop FoPropertyBorderTopClass fo_property_border_top_new fo_property_border_top_get_initial FO_PROPERTY_BORDER_TOP FO_IS_PROPERTY_BORDER_TOP FO_TYPE_PROPERTY_BORDER_TOP fo_property_border_top_get_type FO_PROPERTY_BORDER_TOP_CLASS FO_IS_PROPERTY_BORDER_TOP_CLASS FO_PROPERTY_BORDER_TOP_GET_CLASS
fo-property-border-top-color border-top-color FoPropertyBorderTopColor FoPropertyBorderTopColorClass fo_property_border_top_color_new fo_property_border_top_color_get_initial FO_PROPERTY_BORDER_TOP_COLOR FO_IS_PROPERTY_BORDER_TOP_COLOR FO_TYPE_PROPERTY_BORDER_TOP_COLOR fo_property_border_top_color_get_type FO_PROPERTY_BORDER_TOP_COLOR_CLASS FO_IS_PROPERTY_BORDER_TOP_COLOR_CLASS FO_PROPERTY_BORDER_TOP_COLOR_GET_CLASS
fo-property-border-top-style border-top-style FoPropertyBorderTopStyle FoPropertyBorderTopStyleClass fo_property_border_top_style_new fo_property_border_top_style_get_initial FO_PROPERTY_BORDER_TOP_STYLE FO_IS_PROPERTY_BORDER_TOP_STYLE FO_TYPE_PROPERTY_BORDER_TOP_STYLE fo_property_border_top_style_get_type FO_PROPERTY_BORDER_TOP_STYLE_CLASS FO_IS_PROPERTY_BORDER_TOP_STYLE_CLASS FO_PROPERTY_BORDER_TOP_STYLE_GET_CLASS
fo-property-border-top-width border-top-width FoPropertyBorderTopWidth FoPropertyBorderTopWidthClass fo_property_border_top_width_new fo_property_border_top_width_get_initial FO_PROPERTY_BORDER_TOP_WIDTH FO_IS_PROPERTY_BORDER_TOP_WIDTH FO_TYPE_PROPERTY_BORDER_TOP_WIDTH fo_property_border_top_width_get_type FO_PROPERTY_BORDER_TOP_WIDTH_CLASS FO_IS_PROPERTY_BORDER_TOP_WIDTH_CLASS FO_PROPERTY_BORDER_TOP_WIDTH_GET_CLASS
fo-property-border-width border-width FoPropertyBorderWidth FoPropertyBorderWidthClass fo_property_border_width_new fo_property_border_width_get_initial FO_PROPERTY_BORDER_WIDTH FO_IS_PROPERTY_BORDER_WIDTH FO_TYPE_PROPERTY_BORDER_WIDTH fo_property_border_width_get_type FO_PROPERTY_BORDER_WIDTH_CLASS FO_IS_PROPERTY_BORDER_WIDTH_CLASS FO_PROPERTY_BORDER_WIDTH_GET_CLASS
fo-property-border border FoPropertyBorder FoPropertyBorderClass fo_property_border_new fo_property_border_get_initial FO_PROPERTY_BORDER FO_IS_PROPERTY_BORDER FO_TYPE_PROPERTY_BORDER fo_property_border_get_type FO_PROPERTY_BORDER_CLASS FO_IS_PROPERTY_BORDER_CLASS FO_PROPERTY_BORDER_GET_CLASS
fo-property-break-after break-after FoPropertyBreakAfter FoPropertyBreakAfterClass fo_property_break_after_new fo_property_break_after_get_initial FO_PROPERTY_BREAK_AFTER FO_IS_PROPERTY_BREAK_AFTER FO_TYPE_PROPERTY_BREAK_AFTER fo_property_break_after_get_type FO_PROPERTY_BREAK_AFTER_CLASS FO_IS_PROPERTY_BREAK_AFTER_CLASS FO_PROPERTY_BREAK_AFTER_GET_CLASS
fo-property-break-before break-before FoPropertyBreakBefore FoPropertyBreakBeforeClass fo_property_break_before_new fo_property_break_before_get_initial FO_PROPERTY_BREAK_BEFORE FO_IS_PROPERTY_BREAK_BEFORE FO_TYPE_PROPERTY_BREAK_BEFORE fo_property_break_before_get_type FO_PROPERTY_BREAK_BEFORE_CLASS FO_IS_PROPERTY_BREAK_BEFORE_CLASS FO_PROPERTY_BREAK_BEFORE_GET_CLASS
fo-property-character character FoPropertyCharacter FoPropertyCharacterClass fo_property_character_new fo_property_character_get_initial FO_PROPERTY_CHARACTER FO_IS_PROPERTY_CHARACTER FO_TYPE_PROPERTY_CHARACTER fo_property_character_get_type FO_PROPERTY_CHARACTER_CLASS FO_IS_PROPERTY_CHARACTER_CLASS FO_PROPERTY_CHARACTER_GET_CLASS
fo-property-clip clip FoPropertyClip FoPropertyClipClass fo_property_clip_new fo_property_clip_get_initial FO_PROPERTY_CLIP FO_IS_PROPERTY_CLIP FO_TYPE_PROPERTY_CLIP fo_property_clip_get_type FO_PROPERTY_CLIP_CLASS FO_IS_PROPERTY_CLIP_CLASS FO_PROPERTY_CLIP_GET_CLASS
fo-property-color color FoPropertyColor FoPropertyColorClass fo_property_color_new fo_property_color_get_initial FO_PROPERTY_COLOR FO_IS_PROPERTY_COLOR FO_TYPE_PROPERTY_COLOR fo_property_color_get_type FO_PROPERTY_COLOR_CLASS FO_IS_PROPERTY_COLOR_CLASS FO_PROPERTY_COLOR_GET_CLASS
fo-property-column-number column-number FoPropertyColumnNumber FoPropertyColumnNumberClass fo_property_column_number_new fo_property_column_number_get_initial FO_PROPERTY_COLUMN_NUMBER FO_IS_PROPERTY_COLUMN_NUMBER FO_TYPE_PROPERTY_COLUMN_NUMBER fo_property_column_number_get_type FO_PROPERTY_COLUMN_NUMBER_CLASS FO_IS_PROPERTY_COLUMN_NUMBER_CLASS FO_PROPERTY_COLUMN_NUMBER_GET_CLASS
fo-property-column-width column-width FoPropertyColumnWidth FoPropertyColumnWidthClass fo_property_column_width_new fo_property_column_width_get_initial fo_property_column_width_resolve_percent FO_PROPERTY_COLUMN_WIDTH FO_IS_PROPERTY_COLUMN_WIDTH FO_TYPE_PROPERTY_COLUMN_WIDTH fo_property_column_width_get_type FO_PROPERTY_COLUMN_WIDTH_CLASS FO_IS_PROPERTY_COLUMN_WIDTH_CLASS FO_PROPERTY_COLUMN_WIDTH_GET_CLASS
fo-property-content-height content-height FoPropertyContentHeight FoPropertyContentHeightClass fo_property_content_height_new fo_property_content_height_get_initial FO_PROPERTY_CONTENT_HEIGHT FO_IS_PROPERTY_CONTENT_HEIGHT FO_TYPE_PROPERTY_CONTENT_HEIGHT fo_property_content_height_get_type FO_PROPERTY_CONTENT_HEIGHT_CLASS FO_IS_PROPERTY_CONTENT_HEIGHT_CLASS FO_PROPERTY_CONTENT_HEIGHT_GET_CLASS
fo-property-content-type content-type FoPropertyContentType FoPropertyContentTypeClass fo_property_content_type_new fo_property_content_type_get_initial FO_PROPERTY_CONTENT_TYPE FO_IS_PROPERTY_CONTENT_TYPE FO_TYPE_PROPERTY_CONTENT_TYPE fo_property_content_type_get_type FO_PROPERTY_CONTENT_TYPE_CLASS FO_IS_PROPERTY_CONTENT_TYPE_CLASS FO_PROPERTY_CONTENT_TYPE_GET_CLASS
fo-property-content-width content-width FoPropertyContentWidth FoPropertyContentWidthClass fo_property_content_width_new fo_property_content_width_get_initial FO_PROPERTY_CONTENT_WIDTH FO_IS_PROPERTY_CONTENT_WIDTH FO_TYPE_PROPERTY_CONTENT_WIDTH fo_property_content_width_get_type FO_PROPERTY_CONTENT_WIDTH_CLASS FO_IS_PROPERTY_CONTENT_WIDTH_CLASS FO_PROPERTY_CONTENT_WIDTH_GET_CLASS
fo-property-direction direction FoPropertyDirection FoPropertyDirectionClass fo_property_direction_new fo_property_direction_get_initial FO_PROPERTY_DIRECTION FO_IS_PROPERTY_DIRECTION FO_TYPE_PROPERTY_DIRECTION fo_property_direction_get_type FO_PROPERTY_DIRECTION_CLASS FO_IS_PROPERTY_DIRECTION_CLASS FO_PROPERTY_DIRECTION_GET_CLASS
fo-property-display-align display-align FoPropertyDisplayAlign FoPropertyDisplayAlignClass fo_property_display_align_new fo_property_display_align_get_initial FO_PROPERTY_DISPLAY_ALIGN FO_IS_PROPERTY_DISPLAY_ALIGN FO_TYPE_PROPERTY_DISPLAY_ALIGN fo_property_display_align_get_type FO_PROPERTY_DISPLAY_ALIGN_CLASS FO_IS_PROPERTY_DISPLAY_ALIGN_CLASS FO_PROPERTY_DISPLAY_ALIGN_GET_CLASS
fo-property-dominant-baseline dominant-baseline FoPropertyDominantBaseline FoPropertyDominantBaselineClass fo_property_dominant_baseline_new fo_property_dominant_baseline_get_initial FO_PROPERTY_DOMINANT_BASELINE FO_IS_PROPERTY_DOMINANT_BASELINE FO_TYPE_PROPERTY_DOMINANT_BASELINE fo_property_dominant_baseline_get_type FO_PROPERTY_DOMINANT_BASELINE_CLASS FO_IS_PROPERTY_DOMINANT_BASELINE_CLASS FO_PROPERTY_DOMINANT_BASELINE_GET_CLASS
fo-property-end-indent end-indent FoPropertyEndIndent FoPropertyEndIndentClass fo_property_end_indent_new fo_property_end_indent_get_initial FO_PROPERTY_END_INDENT FO_IS_PROPERTY_END_INDENT FO_TYPE_PROPERTY_END_INDENT fo_property_end_indent_get_type FO_PROPERTY_END_INDENT_CLASS FO_IS_PROPERTY_END_INDENT_CLASS FO_PROPERTY_END_INDENT_GET_CLASS
fo-property-extent extent FoPropertyExtent FoPropertyExtentClass fo_property_extent_new fo_property_extent_get_initial FO_PROPERTY_EXTENT FO_IS_PROPERTY_EXTENT FO_TYPE_PROPERTY_EXTENT fo_property_extent_get_type FO_PROPERTY_EXTENT_CLASS FO_IS_PROPERTY_EXTENT_CLASS FO_PROPERTY_EXTENT_GET_CLASS
fo-property-flow-name flow-name FoPropertyFlowName FoPropertyFlowNameClass fo_property_flow_name_new fo_property_flow_name_get_initial FO_PROPERTY_FLOW_NAME FO_IS_PROPERTY_FLOW_NAME FO_TYPE_PROPERTY_FLOW_NAME fo_property_flow_name_get_type FO_PROPERTY_FLOW_NAME_CLASS FO_IS_PROPERTY_FLOW_NAME_CLASS FO_PROPERTY_FLOW_NAME_GET_CLASS
fo-property-font-family font-family FoPropertyFontFamily FoPropertyFontFamilyClass fo_property_font_family_new fo_property_font_family_get_initial FO_PROPERTY_FONT_FAMILY FO_IS_PROPERTY_FONT_FAMILY FO_TYPE_PROPERTY_FONT_FAMILY fo_property_font_family_get_type FO_PROPERTY_FONT_FAMILY_CLASS FO_IS_PROPERTY_FONT_FAMILY_CLASS FO_PROPERTY_FONT_FAMILY_GET_CLASS
fo-property-font-size font-size FoPropertyFontSize FoPropertyFontSizeClass fo_property_font_size_new fo_property_font_size_get_initial FO_PROPERTY_FONT_SIZE FO_IS_PROPERTY_FONT_SIZE FO_TYPE_PROPERTY_FONT_SIZE fo_property_font_size_get_type FO_PROPERTY_FONT_SIZE_CLASS FO_IS_PROPERTY_FONT_SIZE_CLASS FO_PROPERTY_FONT_SIZE_GET_CLASS
fo-property-font-stretch font-stretch FoPropertyFontStretch FoPropertyFontStretchClass fo_property_font_stretch_new fo_property_font_stretch_get_initial FO_PROPERTY_FONT_STRETCH FO_IS_PROPERTY_FONT_STRETCH FO_TYPE_PROPERTY_FONT_STRETCH fo_property_font_stretch_get_type FO_PROPERTY_FONT_STRETCH_CLASS FO_IS_PROPERTY_FONT_STRETCH_CLASS FO_PROPERTY_FONT_STRETCH_GET_CLASS
fo-property-font-style font-style FoPropertyFontStyle FoPropertyFontStyleClass fo_property_font_style_new fo_property_font_style_get_initial FO_PROPERTY_FONT_STYLE FO_IS_PROPERTY_FONT_STYLE FO_TYPE_PROPERTY_FONT_STYLE fo_property_font_style_get_type FO_PROPERTY_FONT_STYLE_CLASS FO_IS_PROPERTY_FONT_STYLE_CLASS FO_PROPERTY_FONT_STYLE_GET_CLASS
fo-property-font-variant font-variant FoPropertyFontVariant FoPropertyFontVariantClass fo_property_font_variant_new fo_property_font_variant_get_initial FO_PROPERTY_FONT_VARIANT FO_IS_PROPERTY_FONT_VARIANT FO_TYPE_PROPERTY_FONT_VARIANT fo_property_font_variant_get_type FO_PROPERTY_FONT_VARIANT_CLASS FO_IS_PROPERTY_FONT_VARIANT_CLASS FO_PROPERTY_FONT_VARIANT_GET_CLASS
fo-property-font-weight font-weight FoPropertyFontWeight FoPropertyFontWeightClass fo_property_font_weight_get_type fo_property_font_weight_new fo_property_font_weight_get_initial FO_PROPERTY_FONT_WEIGHT FO_IS_PROPERTY_FONT_WEIGHT FO_TYPE_PROPERTY_FONT_WEIGHT FO_PROPERTY_FONT_WEIGHT_CLASS FO_IS_PROPERTY_FONT_WEIGHT_CLASS FO_PROPERTY_FONT_WEIGHT_GET_CLASS
fo-property-format format FoPropertyFormat FoPropertyFormatClass fo_property_format_new fo_property_format_get_initial FO_PROPERTY_FORMAT FO_IS_PROPERTY_FORMAT FO_TYPE_PROPERTY_FORMAT fo_property_format_get_type FO_PROPERTY_FORMAT_CLASS FO_IS_PROPERTY_FORMAT_CLASS FO_PROPERTY_FORMAT_GET_CLASS
fo-property-grouping-separator grouping-separator FoPropertyGroupingSeparator FoPropertyGroupingSeparatorClass fo_property_grouping_separator_new fo_property_grouping_separator_get_initial FO_PROPERTY_GROUPING_SEPARATOR FO_IS_PROPERTY_GROUPING_SEPARATOR FO_TYPE_PROPERTY_GROUPING_SEPARATOR fo_property_grouping_separator_get_type FO_PROPERTY_GROUPING_SEPARATOR_CLASS FO_IS_PROPERTY_GROUPING_SEPARATOR_CLASS FO_PROPERTY_GROUPING_SEPARATOR_GET_CLASS
fo-property-grouping-size grouping-size FoPropertyGroupingSize FoPropertyGroupingSizeClass fo_property_grouping_size_new fo_property_grouping_size_get_initial FO_PROPERTY_GROUPING_SIZE FO_IS_PROPERTY_GROUPING_SIZE FO_TYPE_PROPERTY_GROUPING_SIZE fo_property_grouping_size_get_type FO_PROPERTY_GROUPING_SIZE_CLASS FO_IS_PROPERTY_GROUPING_SIZE_CLASS FO_PROPERTY_GROUPING_SIZE_GET_CLASS
fo-property-height height FoPropertyHeight FoPropertyHeightClass fo_property_height_new fo_property_height_get_initial FO_PROPERTY_HEIGHT FO_IS_PROPERTY_HEIGHT FO_TYPE_PROPERTY_HEIGHT fo_property_height_get_type FO_PROPERTY_HEIGHT_CLASS FO_IS_PROPERTY_HEIGHT_CLASS FO_PROPERTY_HEIGHT_GET_CLASS
fo-property-id id FoPropertyId FoPropertyIdClass fo_property_id_new fo_property_id_get_initial FO_PROPERTY_ID FO_IS_PROPERTY_ID FO_TYPE_PROPERTY_ID fo_property_id_get_type FO_PROPERTY_ID_CLASS FO_IS_PROPERTY_ID_CLASS FO_PROPERTY_ID_GET_CLASS
fo-property-inline-progression-dimension-maximum inline-progression-dimension.maximum FoPropertyInlineProgressionDimensionMaximum FoPropertyInlineProgressionDimensionMaximumClass fo_property_inline_progression_dimension_maximum_new fo_property_inline_progression_dimension_maximum_get_initial FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM fo_property_inline_progression_dimension_maximum_get_type FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM_CLASS FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM_CLASS FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MAXIMUM_GET_CLASS
fo-property-inline-progression-dimension-minimum inline-progression-dimension.minimum FoPropertyInlineProgressionDimensionMinimum FoPropertyInlineProgressionDimensionMinimumClass fo_property_inline_progression_dimension_minimum_new fo_property_inline_progression_dimension_minimum_get_initial FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM fo_property_inline_progression_dimension_minimum_get_type FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM_CLASS FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM_CLASS FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_MINIMUM_GET_CLASS
fo-property-inline-progression-dimension-optimum inline-progression-dimension.optimum FoPropertyInlineProgressionDimensionOptimum FoPropertyInlineProgressionDimensionOptimumClass fo_property_inline_progression_dimension_optimum_new fo_property_inline_progression_dimension_optimum_get_initial FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM fo_property_inline_progression_dimension_optimum_get_type FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM_CLASS FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM_CLASS FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_OPTIMUM_GET_CLASS
fo-property-inline-progression-dimension inline-progression-dimension FoPropertyInlineProgressionDimension FoPropertyInlineProgressionDimensionClass fo_property_inline_progression_dimension_new fo_property_inline_progression_dimension_get_initial FO_PROPERTY_INLINE_PROGRESSION_DIMENSION FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION FO_TYPE_PROPERTY_INLINE_PROGRESSION_DIMENSION fo_property_inline_progression_dimension_get_type FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_CLASS FO_IS_PROPERTY_INLINE_PROGRESSION_DIMENSION_CLASS FO_PROPERTY_INLINE_PROGRESSION_DIMENSION_GET_CLASS
fo-property-keep-together-within-column keep-together.within-column FoPropertyKeepTogetherWithinColumn FoPropertyKeepTogetherWithinColumnClass fo_property_keep_together_within_column_new fo_property_keep_together_within_column_get_initial FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN fo_property_keep_together_within_column_get_type FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN_CLASS FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN_CLASS FO_PROPERTY_KEEP_TOGETHER_WITHIN_COLUMN_GET_CLASS
fo-property-keep-together-within-line keep-together.within-line FoPropertyKeepTogetherWithinLine FoPropertyKeepTogetherWithinLineClass fo_property_keep_together_within_line_new fo_property_keep_together_within_line_get_initial FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_LINE fo_property_keep_together_within_line_get_type FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE_CLASS FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_LINE_CLASS FO_PROPERTY_KEEP_TOGETHER_WITHIN_LINE_GET_CLASS
fo-property-keep-together-within-page keep-together.within-page FoPropertyKeepTogetherWithinPage FoPropertyKeepTogetherWithinPageClass fo_property_keep_together_within_page_new fo_property_keep_together_within_page_get_initial FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE FO_TYPE_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE fo_property_keep_together_within_page_get_type FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE_CLASS FO_IS_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE_CLASS FO_PROPERTY_KEEP_TOGETHER_WITHIN_PAGE_GET_CLASS
fo-property-keep-together keep-together FoPropertyKeepTogether FoPropertyKeepTogetherClass fo_property_keep_together_new fo_property_keep_together_get_initial FO_PROPERTY_KEEP_TOGETHER FO_IS_PROPERTY_KEEP_TOGETHER FO_TYPE_PROPERTY_KEEP_TOGETHER fo_property_keep_together_get_type FO_PROPERTY_KEEP_TOGETHER_CLASS FO_IS_PROPERTY_KEEP_TOGETHER_CLASS FO_PROPERTY_KEEP_TOGETHER_GET_CLASS
fo-property-keep-with-next-within-column keep-with-next.within-column FoPropertyKeepWithNextWithinColumn FoPropertyKeepWithNextWithinColumnClass fo_property_keep_with_next_within_column_new fo_property_keep_with_next_within_column_get_initial FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN fo_property_keep_with_next_within_column_get_type FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN_CLASS FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN_CLASS FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_COLUMN_GET_CLASS
fo-property-keep-with-next-within-line keep-with-next.within-line FoPropertyKeepWithNextWithinLine FoPropertyKeepWithNextWithinLineClass fo_property_keep_with_next_within_line_new fo_property_keep_with_next_within_line_get_initial FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE fo_property_keep_with_next_within_line_get_type FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE_CLASS FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE_CLASS FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_LINE_GET_CLASS
fo-property-keep-with-next-within-page keep-with-next.within-page FoPropertyKeepWithNextWithinPage FoPropertyKeepWithNextWithinPageClass fo_property_keep_with_next_within_page_new fo_property_keep_with_next_within_page_get_initial FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE FO_TYPE_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE fo_property_keep_with_next_within_page_get_type FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE_CLASS FO_IS_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE_CLASS FO_PROPERTY_KEEP_WITH_NEXT_WITHIN_PAGE_GET_CLASS
fo-property-keep-with-next keep-with-next FoPropertyKeepWithNext FoPropertyKeepWithNextClass fo_property_keep_with_next_new fo_property_keep_with_next_get_initial FO_PROPERTY_KEEP_WITH_NEXT FO_IS_PROPERTY_KEEP_WITH_NEXT FO_TYPE_PROPERTY_KEEP_WITH_NEXT fo_property_keep_with_next_get_type FO_PROPERTY_KEEP_WITH_NEXT_CLASS FO_IS_PROPERTY_KEEP_WITH_NEXT_CLASS FO_PROPERTY_KEEP_WITH_NEXT_GET_CLASS
fo-property-keep-with-previous-within-column keep-with-previous.within-column FoPropertyKeepWithPreviousWithinColumn FoPropertyKeepWithPreviousWithinColumnClass fo_property_keep_with_previous_within_column_new fo_property_keep_with_previous_within_column_get_initial FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN fo_property_keep_with_previous_within_column_get_type FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN_CLASS FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN_CLASS FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_COLUMN_GET_CLASS
fo-property-keep-with-previous-within-line keep-with-previous.within-line FoPropertyKeepWithPreviousWithinLine FoPropertyKeepWithPreviousWithinLineClass fo_property_keep_with_previous_within_line_new fo_property_keep_with_previous_within_line_get_initial FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE fo_property_keep_with_previous_within_line_get_type FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE_CLASS FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE_CLASS FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_LINE_GET_CLASS
fo-property-keep-with-previous-within-page keep-with-previous.within-page FoPropertyKeepWithPreviousWithinPage FoPropertyKeepWithPreviousWithinPageClass fo_property_keep_with_previous_within_page_new fo_property_keep_with_previous_within_page_get_initial FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE fo_property_keep_with_previous_within_page_get_type FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE_CLASS FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE_CLASS FO_PROPERTY_KEEP_WITH_PREVIOUS_WITHIN_PAGE_GET_CLASS
fo-property-keep-with-previous keep-with-previous FoPropertyKeepWithPrevious FoPropertyKeepWithPreviousClass fo_property_keep_with_previous_new fo_property_keep_with_previous_get_initial FO_PROPERTY_KEEP_WITH_PREVIOUS FO_IS_PROPERTY_KEEP_WITH_PREVIOUS FO_TYPE_PROPERTY_KEEP_WITH_PREVIOUS fo_property_keep_with_previous_get_type FO_PROPERTY_KEEP_WITH_PREVIOUS_CLASS FO_IS_PROPERTY_KEEP_WITH_PREVIOUS_CLASS FO_PROPERTY_KEEP_WITH_PREVIOUS_GET_CLASS
fo-property-letter-value letter-value FoPropertyLetterValue FoPropertyLetterValueClass fo_property_letter_value_new fo_property_letter_value_get_initial FO_PROPERTY_LETTER_VALUE FO_IS_PROPERTY_LETTER_VALUE FO_TYPE_PROPERTY_LETTER_VALUE fo_property_letter_value_get_type FO_PROPERTY_LETTER_VALUE_CLASS FO_IS_PROPERTY_LETTER_VALUE_CLASS FO_PROPERTY_LETTER_VALUE_GET_CLASS
fo-property-line-height line-height FoPropertyLineHeight FoPropertyLineHeightClass fo_property_line_height_new fo_property_line_height_get_initial fo_property_line_height_resolve FO_PROPERTY_LINE_HEIGHT FO_IS_PROPERTY_LINE_HEIGHT FO_TYPE_PROPERTY_LINE_HEIGHT fo_property_line_height_get_type FO_PROPERTY_LINE_HEIGHT_CLASS FO_IS_PROPERTY_LINE_HEIGHT_CLASS FO_PROPERTY_LINE_HEIGHT_GET_CLASS
fo-property-line-stacking-strategy line-stacking-strategy FoPropertyLineStackingStrategy FoPropertyLineStackingStrategyClass fo_property_line_stacking_strategy_new fo_property_line_stacking_strategy_get_initial FO_PROPERTY_LINE_STACKING_STRATEGY FO_IS_PROPERTY_LINE_STACKING_STRATEGY FO_TYPE_PROPERTY_LINE_STACKING_STRATEGY fo_property_line_stacking_strategy_get_type FO_PROPERTY_LINE_STACKING_STRATEGY_CLASS FO_IS_PROPERTY_LINE_STACKING_STRATEGY_CLASS FO_PROPERTY_LINE_STACKING_STRATEGY_GET_CLASS
fo-property-linefeed-treatment linefeed-treatment FoPropertyLinefeedTreatment FoPropertyLinefeedTreatmentClass fo_property_linefeed_treatment_new fo_property_linefeed_treatment_get_initial FO_PROPERTY_LINEFEED_TREATMENT FO_IS_PROPERTY_LINEFEED_TREATMENT FO_TYPE_PROPERTY_LINEFEED_TREATMENT fo_property_linefeed_treatment_get_type FO_PROPERTY_LINEFEED_TREATMENT_CLASS FO_IS_PROPERTY_LINEFEED_TREATMENT_CLASS FO_PROPERTY_LINEFEED_TREATMENT_GET_CLASS
fo-property-margin-bottom margin-bottom FoPropertyMarginBottom FoPropertyMarginBottomClass fo_property_margin_bottom_new fo_property_margin_bottom_get_initial FO_PROPERTY_MARGIN_BOTTOM FO_IS_PROPERTY_MARGIN_BOTTOM FO_TYPE_PROPERTY_MARGIN_BOTTOM fo_property_margin_bottom_get_type FO_PROPERTY_MARGIN_BOTTOM_CLASS FO_IS_PROPERTY_MARGIN_BOTTOM_CLASS FO_PROPERTY_MARGIN_BOTTOM_GET_CLASS
fo-property-margin-left margin-left FoPropertyMarginLeft FoPropertyMarginLeftClass fo_property_margin_left_new fo_property_margin_left_get_initial FO_PROPERTY_MARGIN_LEFT FO_IS_PROPERTY_MARGIN_LEFT FO_TYPE_PROPERTY_MARGIN_LEFT fo_property_margin_left_get_type FO_PROPERTY_MARGIN_LEFT_CLASS FO_IS_PROPERTY_MARGIN_LEFT_CLASS FO_PROPERTY_MARGIN_LEFT_GET_CLASS
fo-property-margin-right margin-right FoPropertyMarginRight FoPropertyMarginRightClass fo_property_margin_right_new fo_property_margin_right_get_initial FO_PROPERTY_MARGIN_RIGHT FO_IS_PROPERTY_MARGIN_RIGHT FO_TYPE_PROPERTY_MARGIN_RIGHT fo_property_margin_right_get_type FO_PROPERTY_MARGIN_RIGHT_CLASS FO_IS_PROPERTY_MARGIN_RIGHT_CLASS FO_PROPERTY_MARGIN_RIGHT_GET_CLASS
fo-property-margin-top margin-top FoPropertyMarginTop FoPropertyMarginTopClass fo_property_margin_top_new fo_property_margin_top_get_initial FO_PROPERTY_MARGIN_TOP FO_IS_PROPERTY_MARGIN_TOP FO_TYPE_PROPERTY_MARGIN_TOP fo_property_margin_top_get_type FO_PROPERTY_MARGIN_TOP_CLASS FO_IS_PROPERTY_MARGIN_TOP_CLASS FO_PROPERTY_MARGIN_TOP_GET_CLASS
fo-property-margin margin FoPropertyMargin FoPropertyMarginClass fo_property_margin_new fo_property_margin_get_initial FO_PROPERTY_MARGIN FO_IS_PROPERTY_MARGIN FO_TYPE_PROPERTY_MARGIN fo_property_margin_get_type FO_PROPERTY_MARGIN_CLASS FO_IS_PROPERTY_MARGIN_CLASS FO_PROPERTY_MARGIN_GET_CLASS
fo-property-master-name master-name FoPropertyMasterName FoPropertyMasterNameClass fo_property_master_name_new fo_property_master_name_get_initial FO_PROPERTY_MASTER_NAME FO_IS_PROPERTY_MASTER_NAME FO_TYPE_PROPERTY_MASTER_NAME fo_property_master_name_get_type FO_PROPERTY_MASTER_NAME_CLASS FO_IS_PROPERTY_MASTER_NAME_CLASS FO_PROPERTY_MASTER_NAME_GET_CLASS
fo-property-master-reference master-reference FoPropertyMasterReference FoPropertyMasterReferenceClass fo_property_master_reference_new fo_property_master_reference_get_initial FO_PROPERTY_MASTER_REFERENCE FO_IS_PROPERTY_MASTER_REFERENCE FO_TYPE_PROPERTY_MASTER_REFERENCE fo_property_master_reference_get_type FO_PROPERTY_MASTER_REFERENCE_CLASS FO_IS_PROPERTY_MASTER_REFERENCE_CLASS FO_PROPERTY_MASTER_REFERENCE_GET_CLASS
fo-property-media-usage media-usage FoPropertyMediaUsage FoPropertyMediaUsageClass fo_property_media_usage_new fo_property_media_usage_get_initial FO_PROPERTY_MEDIA_USAGE FO_IS_PROPERTY_MEDIA_USAGE FO_TYPE_PROPERTY_MEDIA_USAGE fo_property_media_usage_get_type FO_PROPERTY_MEDIA_USAGE_CLASS FO_IS_PROPERTY_MEDIA_USAGE_CLASS FO_PROPERTY_MEDIA_USAGE_GET_CLASS
fo-property-number-columns-repeated number-columns-repeated FoPropertyNumberColumnsRepeated FoPropertyNumberColumnsRepeatedClass fo_property_number_columns_repeated_new fo_property_number_columns_repeated_get_initial FO_PROPERTY_NUMBER_COLUMNS_REPEATED FO_IS_PROPERTY_NUMBER_COLUMNS_REPEATED FO_TYPE_PROPERTY_NUMBER_COLUMNS_REPEATED fo_property_number_columns_repeated_get_type FO_PROPERTY_NUMBER_COLUMNS_REPEATED_CLASS FO_IS_PROPERTY_NUMBER_COLUMNS_REPEATED_CLASS FO_PROPERTY_NUMBER_COLUMNS_REPEATED_GET_CLASS
fo-property-number-columns-spanned number-columns-spanned FoPropertyNumberColumnsSpanned FoPropertyNumberColumnsSpannedClass fo_property_number_columns_spanned_new fo_property_number_columns_spanned_get_initial FO_PROPERTY_NUMBER_COLUMNS_SPANNED FO_IS_PROPERTY_NUMBER_COLUMNS_SPANNED FO_TYPE_PROPERTY_NUMBER_COLUMNS_SPANNED fo_property_number_columns_spanned_get_type FO_PROPERTY_NUMBER_COLUMNS_SPANNED_CLASS FO_IS_PROPERTY_NUMBER_COLUMNS_SPANNED_CLASS FO_PROPERTY_NUMBER_COLUMNS_SPANNED_GET_CLASS
fo-property-number-rows-spanned number-rows-spanned FoPropertyNumberRowsSpanned FoPropertyNumberRowsSpannedClass fo_property_number_rows_spanned_new fo_property_number_rows_spanned_get_initial FO_PROPERTY_NUMBER_ROWS_SPANNED FO_IS_PROPERTY_NUMBER_ROWS_SPANNED FO_TYPE_PROPERTY_NUMBER_ROWS_SPANNED fo_property_number_rows_spanned_get_type FO_PROPERTY_NUMBER_ROWS_SPANNED_CLASS FO_IS_PROPERTY_NUMBER_ROWS_SPANNED_CLASS FO_PROPERTY_NUMBER_ROWS_SPANNED_GET_CLASS
fo-property-orphans orphans FoPropertyOrphans FoPropertyOrphansClass fo_property_orphans_new fo_property_orphans_get_initial FO_PROPERTY_ORPHANS FO_IS_PROPERTY_ORPHANS FO_TYPE_PROPERTY_ORPHANS fo_property_orphans_get_type FO_PROPERTY_ORPHANS_CLASS FO_IS_PROPERTY_ORPHANS_CLASS FO_PROPERTY_ORPHANS_GET_CLASS
fo-property-overflow overflow FoPropertyOverflow FoPropertyOverflowClass fo_property_overflow_new fo_property_overflow_get_initial FO_PROPERTY_OVERFLOW FO_IS_PROPERTY_OVERFLOW FO_TYPE_PROPERTY_OVERFLOW fo_property_overflow_get_type FO_PROPERTY_OVERFLOW_CLASS FO_IS_PROPERTY_OVERFLOW_CLASS FO_PROPERTY_OVERFLOW_GET_CLASS
fo-property-padding-after padding-after FoPropertyPaddingAfter FoPropertyPaddingAfterClass fo_property_padding_after_new fo_property_padding_after_get_initial FO_PROPERTY_PADDING_AFTER FO_IS_PROPERTY_PADDING_AFTER FO_TYPE_PROPERTY_PADDING_AFTER fo_property_padding_after_get_type FO_PROPERTY_PADDING_AFTER_CLASS FO_IS_PROPERTY_PADDING_AFTER_CLASS FO_PROPERTY_PADDING_AFTER_GET_CLASS
fo-property-padding-before padding-before FoPropertyPaddingBefore FoPropertyPaddingBeforeClass fo_property_padding_before_new fo_property_padding_before_get_initial FO_PROPERTY_PADDING_BEFORE FO_IS_PROPERTY_PADDING_BEFORE FO_TYPE_PROPERTY_PADDING_BEFORE fo_property_padding_before_get_type FO_PROPERTY_PADDING_BEFORE_CLASS FO_IS_PROPERTY_PADDING_BEFORE_CLASS FO_PROPERTY_PADDING_BEFORE_GET_CLASS
fo-property-padding-bottom padding-bottom FoPropertyPaddingBottom FoPropertyPaddingBottomClass fo_property_padding_bottom_new fo_property_padding_bottom_get_initial FO_PROPERTY_PADDING_BOTTOM FO_IS_PROPERTY_PADDING_BOTTOM FO_TYPE_PROPERTY_PADDING_BOTTOM fo_property_padding_bottom_get_type FO_PROPERTY_PADDING_BOTTOM_CLASS FO_IS_PROPERTY_PADDING_BOTTOM_CLASS FO_PROPERTY_PADDING_BOTTOM_GET_CLASS
fo-property-padding-end padding-end FoPropertyPaddingEnd FoPropertyPaddingEndClass fo_property_padding_end_new fo_property_padding_end_get_initial FO_PROPERTY_PADDING_END FO_IS_PROPERTY_PADDING_END FO_TYPE_PROPERTY_PADDING_END fo_property_padding_end_get_type FO_PROPERTY_PADDING_END_CLASS FO_IS_PROPERTY_PADDING_END_CLASS FO_PROPERTY_PADDING_END_GET_CLASS
fo-property-padding-left padding-left FoPropertyPaddingLeft FoPropertyPaddingLeftClass fo_property_padding_left_new fo_property_padding_left_get_initial FO_PROPERTY_PADDING_LEFT FO_IS_PROPERTY_PADDING_LEFT FO_TYPE_PROPERTY_PADDING_LEFT fo_property_padding_left_get_type FO_PROPERTY_PADDING_LEFT_CLASS FO_IS_PROPERTY_PADDING_LEFT_CLASS FO_PROPERTY_PADDING_LEFT_GET_CLASS
fo-property-padding-right padding-right FoPropertyPaddingRight FoPropertyPaddingRightClass fo_property_padding_right_new fo_property_padding_right_get_initial FO_PROPERTY_PADDING_RIGHT FO_IS_PROPERTY_PADDING_RIGHT FO_TYPE_PROPERTY_PADDING_RIGHT fo_property_padding_right_get_type FO_PROPERTY_PADDING_RIGHT_CLASS FO_IS_PROPERTY_PADDING_RIGHT_CLASS FO_PROPERTY_PADDING_RIGHT_GET_CLASS
fo-property-padding-start padding-start FoPropertyPaddingStart FoPropertyPaddingStartClass fo_property_padding_start_new fo_property_padding_start_get_initial FO_PROPERTY_PADDING_START FO_IS_PROPERTY_PADDING_START FO_TYPE_PROPERTY_PADDING_START fo_property_padding_start_get_type FO_PROPERTY_PADDING_START_CLASS FO_IS_PROPERTY_PADDING_START_CLASS FO_PROPERTY_PADDING_START_GET_CLASS
fo-property-padding-top padding-top FoPropertyPaddingTop FoPropertyPaddingTopClass fo_property_padding_top_new fo_property_padding_top_get_initial FO_PROPERTY_PADDING_TOP FO_IS_PROPERTY_PADDING_TOP FO_TYPE_PROPERTY_PADDING_TOP fo_property_padding_top_get_type FO_PROPERTY_PADDING_TOP_CLASS FO_IS_PROPERTY_PADDING_TOP_CLASS FO_PROPERTY_PADDING_TOP_GET_CLASS
fo-property-padding padding FoPropertyPadding FoPropertyPaddingClass fo_property_padding_new fo_property_padding_get_initial FO_PROPERTY_PADDING FO_IS_PROPERTY_PADDING FO_TYPE_PROPERTY_PADDING fo_property_padding_get_type FO_PROPERTY_PADDING_CLASS FO_IS_PROPERTY_PADDING_CLASS FO_PROPERTY_PADDING_GET_CLASS
fo-property-page-height page-height FoPropertyPageHeight FoPropertyPageHeightClass fo_property_page_height_new fo_property_page_height_get_initial FO_PROPERTY_PAGE_HEIGHT FO_IS_PROPERTY_PAGE_HEIGHT FO_TYPE_PROPERTY_PAGE_HEIGHT fo_property_page_height_get_type FO_PROPERTY_PAGE_HEIGHT_CLASS FO_IS_PROPERTY_PAGE_HEIGHT_CLASS FO_PROPERTY_PAGE_HEIGHT_GET_CLASS
fo-property-page-width page-width FoPropertyPageWidth FoPropertyPageWidthClass fo_property_page_width_new fo_property_page_width_get_initial FO_PROPERTY_PAGE_WIDTH FO_IS_PROPERTY_PAGE_WIDTH FO_TYPE_PROPERTY_PAGE_WIDTH fo_property_page_width_get_type FO_PROPERTY_PAGE_WIDTH_CLASS FO_IS_PROPERTY_PAGE_WIDTH_CLASS FO_PROPERTY_PAGE_WIDTH_GET_CLASS
fo-property-provisional-distance-between-starts provisional-distance-between-starts FoPropertyProvisionalDistanceBetweenStarts FoPropertyProvisionalDistanceBetweenStartsClass fo_property_provisional_distance_between_starts_new fo_property_provisional_distance_between_starts_get_initial FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS FO_IS_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS FO_TYPE_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS fo_property_provisional_distance_between_starts_get_type FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS_CLASS FO_IS_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS_CLASS FO_PROPERTY_PROVISIONAL_DISTANCE_BETWEEN_STARTS_GET_CLASS
fo-property-provisional-label-separation provisional-label-separation FoPropertyProvisionalLabelSeparation FoPropertyProvisionalLabelSeparationClass fo_property_provisional_label_separation_new fo_property_provisional_label_separation_get_initial FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION FO_IS_PROPERTY_PROVISIONAL_LABEL_SEPARATION FO_TYPE_PROPERTY_PROVISIONAL_LABEL_SEPARATION fo_property_provisional_label_separation_get_type FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION_CLASS FO_IS_PROPERTY_PROVISIONAL_LABEL_SEPARATION_CLASS FO_PROPERTY_PROVISIONAL_LABEL_SEPARATION_GET_CLASS
fo-property-ref-id ref-id FoPropertyRefId FoPropertyRefIdClass fo_property_ref_id_new fo_property_ref_id_get_initial FO_PROPERTY_REF_ID FO_IS_PROPERTY_REF_ID FO_TYPE_PROPERTY_REF_ID fo_property_ref_id_get_type FO_PROPERTY_REF_ID_CLASS FO_IS_PROPERTY_REF_ID_CLASS FO_PROPERTY_REF_ID_GET_CLASS
fo-property-region-name region-name FoPropertyRegionName FoPropertyRegionNameClass fo_property_region_name_new fo_property_region_name_get_initial FO_PROPERTY_REGION_NAME FO_IS_PROPERTY_REGION_NAME FO_TYPE_PROPERTY_REGION_NAME fo_property_region_name_get_type FO_PROPERTY_REGION_NAME_CLASS FO_IS_PROPERTY_REGION_NAME_CLASS FO_PROPERTY_REGION_NAME_GET_CLASS
fo-property-role role FoPropertyRole FoPropertyRoleClass fo_property_role_new fo_property_role_get_initial FO_PROPERTY_ROLE FO_IS_PROPERTY_ROLE FO_TYPE_PROPERTY_ROLE fo_property_role_get_type FO_PROPERTY_ROLE_CLASS FO_IS_PROPERTY_ROLE_CLASS FO_PROPERTY_ROLE_GET_CLASS
fo-property-scaling-method scaling-method FoPropertyScalingMethod FoPropertyScalingMethodClass fo_property_scaling_method_new fo_property_scaling_method_get_initial FO_PROPERTY_SCALING_METHOD FO_IS_PROPERTY_SCALING_METHOD FO_TYPE_PROPERTY_SCALING_METHOD fo_property_scaling_method_get_type FO_PROPERTY_SCALING_METHOD_CLASS FO_IS_PROPERTY_SCALING_METHOD_CLASS FO_PROPERTY_SCALING_METHOD_GET_CLASS
fo-property-scaling scaling FoPropertyScaling FoPropertyScalingClass fo_property_scaling_new fo_property_scaling_get_initial FO_PROPERTY_SCALING FO_IS_PROPERTY_SCALING FO_TYPE_PROPERTY_SCALING fo_property_scaling_get_type FO_PROPERTY_SCALING_CLASS FO_IS_PROPERTY_SCALING_CLASS FO_PROPERTY_SCALING_GET_CLASS
fo-property-score-spaces score-spaces FoPropertyScoreSpaces FoPropertyScoreSpacesClass fo_property_score_spaces_new fo_property_score_spaces_get_initial FO_PROPERTY_SCORE_SPACES FO_IS_PROPERTY_SCORE_SPACES FO_TYPE_PROPERTY_SCORE_SPACES fo_property_score_spaces_get_type FO_PROPERTY_SCORE_SPACES_CLASS FO_IS_PROPERTY_SCORE_SPACES_CLASS FO_PROPERTY_SCORE_SPACES_GET_CLASS
fo-property-source-document source-document FoPropertySourceDocument FoPropertySourceDocumentClass fo_property_source_document_new fo_property_source_document_get_initial FO_PROPERTY_SOURCE_DOCUMENT FO_IS_PROPERTY_SOURCE_DOCUMENT FO_TYPE_PROPERTY_SOURCE_DOCUMENT fo_property_source_document_get_type FO_PROPERTY_SOURCE_DOCUMENT_CLASS FO_IS_PROPERTY_SOURCE_DOCUMENT_CLASS FO_PROPERTY_SOURCE_DOCUMENT_GET_CLASS
fo-property-span span FoPropertySpan FoPropertySpanClass fo_property_span_new fo_property_span_get_initial FO_PROPERTY_SPAN FO_IS_PROPERTY_SPAN FO_TYPE_PROPERTY_SPAN fo_property_span_get_type FO_PROPERTY_SPAN_CLASS FO_IS_PROPERTY_SPAN_CLASS FO_PROPERTY_SPAN_GET_CLASS
fo-property-space-after-conditionality space-after.conditionality FoPropertySpaceAfterCondity FoPropertySpaceAfterCondityClass fo_property_space_after_condity_new fo_property_space_after_condity_get_initial FO_PROPERTY_SPACE_AFTER_CONDITY FO_IS_PROPERTY_SPACE_AFTER_CONDITY FO_TYPE_PROPERTY_SPACE_AFTER_CONDITY fo_property_space_after_condity_get_type FO_PROPERTY_SPACE_AFTER_CONDITY_CLASS FO_IS_PROPERTY_SPACE_AFTER_CONDITY_CLASS FO_PROPERTY_SPACE_AFTER_CONDITY_GET_CLASS
fo-property-space-after-maximum space-after.maximum FoPropertySpaceAfterMaximum FoPropertySpaceAfterMaximumClass fo_property_space_after_maximum_new fo_property_space_after_maximum_get_initial FO_PROPERTY_SPACE_AFTER_MAXIMUM FO_IS_PROPERTY_SPACE_AFTER_MAXIMUM FO_TYPE_PROPERTY_SPACE_AFTER_MAXIMUM fo_property_space_after_maximum_get_type FO_PROPERTY_SPACE_AFTER_MAXIMUM_CLASS FO_IS_PROPERTY_SPACE_AFTER_MAXIMUM_CLASS FO_PROPERTY_SPACE_AFTER_MAXIMUM_GET_CLASS
fo-property-space-after-minimum space-after.minimum FoPropertySpaceAfterMinimum FoPropertySpaceAfterMinimumClass fo_property_space_after_minimum_new fo_property_space_after_minimum_get_initial FO_PROPERTY_SPACE_AFTER_MINIMUM FO_IS_PROPERTY_SPACE_AFTER_MINIMUM FO_TYPE_PROPERTY_SPACE_AFTER_MINIMUM fo_property_space_after_minimum_get_type FO_PROPERTY_SPACE_AFTER_MINIMUM_CLASS FO_IS_PROPERTY_SPACE_AFTER_MINIMUM_CLASS FO_PROPERTY_SPACE_AFTER_MINIMUM_GET_CLASS
fo-property-space-after-optimum space-after.optimum FoPropertySpaceAfterOptimum FoPropertySpaceAfterOptimumClass fo_property_space_after_optimum_new fo_property_space_after_optimum_get_initial FO_PROPERTY_SPACE_AFTER_OPTIMUM FO_IS_PROPERTY_SPACE_AFTER_OPTIMUM FO_TYPE_PROPERTY_SPACE_AFTER_OPTIMUM fo_property_space_after_optimum_get_type FO_PROPERTY_SPACE_AFTER_OPTIMUM_CLASS FO_IS_PROPERTY_SPACE_AFTER_OPTIMUM_CLASS FO_PROPERTY_SPACE_AFTER_OPTIMUM_GET_CLASS
fo-property-space-after-precedence space-after.precedence FoPropertySpaceAfterPrecedence FoPropertySpaceAfterPrecedenceClass fo_property_space_after_precedence_new fo_property_space_after_precedence_get_initial FO_PROPERTY_SPACE_AFTER_PRECEDENCE FO_IS_PROPERTY_SPACE_AFTER_PRECEDENCE FO_TYPE_PROPERTY_SPACE_AFTER_PRECEDENCE fo_property_space_after_precedence_get_type FO_PROPERTY_SPACE_AFTER_PRECEDENCE_CLASS FO_IS_PROPERTY_SPACE_AFTER_PRECEDENCE_CLASS FO_PROPERTY_SPACE_AFTER_PRECEDENCE_GET_CLASS
fo-property-space-after space-after FoPropertySpaceAfter FoPropertySpaceAfterClass fo_property_space_after_new fo_property_space_after_get_initial FO_PROPERTY_SPACE_AFTER FO_IS_PROPERTY_SPACE_AFTER FO_TYPE_PROPERTY_SPACE_AFTER fo_property_space_after_get_type FO_PROPERTY_SPACE_AFTER_CLASS FO_IS_PROPERTY_SPACE_AFTER_CLASS FO_PROPERTY_SPACE_AFTER_GET_CLASS
fo-property-space-before-conditionality space-before.conditionality FoPropertySpaceBeforeCondity FoPropertySpaceBeforeCondityClass fo_property_space_before_condity_new fo_property_space_before_condity_get_initial FO_PROPERTY_SPACE_BEFORE_CONDITY FO_IS_PROPERTY_SPACE_BEFORE_CONDITY FO_TYPE_PROPERTY_SPACE_BEFORE_CONDITY fo_property_space_before_condity_get_type FO_PROPERTY_SPACE_BEFORE_CONDITY_CLASS FO_IS_PROPERTY_SPACE_BEFORE_CONDITY_CLASS FO_PROPERTY_SPACE_BEFORE_CONDITY_GET_CLASS
fo-property-space-before-maximum space-before.maximum FoPropertySpaceBeforeMaximum FoPropertySpaceBeforeMaximumClass fo_property_space_before_maximum_new fo_property_space_before_maximum_get_initial FO_PROPERTY_SPACE_BEFORE_MAXIMUM FO_IS_PROPERTY_SPACE_BEFORE_MAXIMUM FO_TYPE_PROPERTY_SPACE_BEFORE_MAXIMUM fo_property_space_before_maximum_get_type FO_PROPERTY_SPACE_BEFORE_MAXIMUM_CLASS FO_IS_PROPERTY_SPACE_BEFORE_MAXIMUM_CLASS FO_PROPERTY_SPACE_BEFORE_MAXIMUM_GET_CLASS
fo-property-space-before-minimum space-before.minimum FoPropertySpaceBeforeMinimum FoPropertySpaceBeforeMinimumClass fo_property_space_before_minimum_new fo_property_space_before_minimum_get_initial FO_PROPERTY_SPACE_BEFORE_MINIMUM FO_IS_PROPERTY_SPACE_BEFORE_MINIMUM FO_TYPE_PROPERTY_SPACE_BEFORE_MINIMUM fo_property_space_before_minimum_get_type FO_PROPERTY_SPACE_BEFORE_MINIMUM_CLASS FO_IS_PROPERTY_SPACE_BEFORE_MINIMUM_CLASS FO_PROPERTY_SPACE_BEFORE_MINIMUM_GET_CLASS
fo-property-space-before-optimum space-before.optimum FoPropertySpaceBeforeOptimum FoPropertySpaceBeforeOptimumClass fo_property_space_before_optimum_new fo_property_space_before_optimum_get_initial FO_PROPERTY_SPACE_BEFORE_OPTIMUM FO_IS_PROPERTY_SPACE_BEFORE_OPTIMUM FO_TYPE_PROPERTY_SPACE_BEFORE_OPTIMUM fo_property_space_before_optimum_get_type FO_PROPERTY_SPACE_BEFORE_OPTIMUM_CLASS FO_IS_PROPERTY_SPACE_BEFORE_OPTIMUM_CLASS FO_PROPERTY_SPACE_BEFORE_OPTIMUM_GET_CLASS
fo-property-space-before-precedence space-before.precedence FoPropertySpaceBeforePrecedence FoPropertySpaceBeforePrecedenceClass fo_property_space_before_precedence_new fo_property_space_before_precedence_get_initial FO_PROPERTY_SPACE_BEFORE_PRECEDENCE FO_IS_PROPERTY_SPACE_BEFORE_PRECEDENCE FO_TYPE_PROPERTY_SPACE_BEFORE_PRECEDENCE fo_property_space_before_precedence_get_type FO_PROPERTY_SPACE_BEFORE_PRECEDENCE_CLASS FO_IS_PROPERTY_SPACE_BEFORE_PRECEDENCE_CLASS FO_PROPERTY_SPACE_BEFORE_PRECEDENCE_GET_CLASS
fo-property-space-before space-before FoPropertySpaceBefore FoPropertySpaceBeforeClass fo_property_space_before_new fo_property_space_before_get_initial FO_PROPERTY_SPACE_BEFORE FO_IS_PROPERTY_SPACE_BEFORE FO_TYPE_PROPERTY_SPACE_BEFORE fo_property_space_before_get_type FO_PROPERTY_SPACE_BEFORE_CLASS FO_IS_PROPERTY_SPACE_BEFORE_CLASS FO_PROPERTY_SPACE_BEFORE_GET_CLASS
fo-property-space-end-conditionality space-end.conditionality FoPropertySpaceEndCondity FoPropertySpaceEndCondityClass fo_property_space_end_condity_new fo_property_space_end_condity_get_initial FO_PROPERTY_SPACE_END_CONDITY FO_IS_PROPERTY_SPACE_END_CONDITY FO_TYPE_PROPERTY_SPACE_END_CONDITY fo_property_space_end_condity_get_type FO_PROPERTY_SPACE_END_CONDITY_CLASS FO_IS_PROPERTY_SPACE_END_CONDITY_CLASS FO_PROPERTY_SPACE_END_CONDITY_GET_CLASS
fo-property-space-end-maximum space-end.maximum FoPropertySpaceEndMaximum FoPropertySpaceEndMaximumClass fo_property_space_end_maximum_new fo_property_space_end_maximum_get_initial FO_PROPERTY_SPACE_END_MAXIMUM FO_IS_PROPERTY_SPACE_END_MAXIMUM FO_TYPE_PROPERTY_SPACE_END_MAXIMUM fo_property_space_end_maximum_get_type FO_PROPERTY_SPACE_END_MAXIMUM_CLASS FO_IS_PROPERTY_SPACE_END_MAXIMUM_CLASS FO_PROPERTY_SPACE_END_MAXIMUM_GET_CLASS
fo-property-space-end-minimum space-end.minimum FoPropertySpaceEndMinimum FoPropertySpaceEndMinimumClass fo_property_space_end_minimum_new fo_property_space_end_minimum_get_initial FO_PROPERTY_SPACE_END_MINIMUM FO_IS_PROPERTY_SPACE_END_MINIMUM FO_TYPE_PROPERTY_SPACE_END_MINIMUM fo_property_space_end_minimum_get_type FO_PROPERTY_SPACE_END_MINIMUM_CLASS FO_IS_PROPERTY_SPACE_END_MINIMUM_CLASS FO_PROPERTY_SPACE_END_MINIMUM_GET_CLASS
fo-property-space-end-optimum space-end.optimum FoPropertySpaceEndOptimum FoPropertySpaceEndOptimumClass fo_property_space_end_optimum_new fo_property_space_end_optimum_get_initial FO_PROPERTY_SPACE_END_OPTIMUM FO_IS_PROPERTY_SPACE_END_OPTIMUM FO_TYPE_PROPERTY_SPACE_END_OPTIMUM fo_property_space_end_optimum_get_type FO_PROPERTY_SPACE_END_OPTIMUM_CLASS FO_IS_PROPERTY_SPACE_END_OPTIMUM_CLASS FO_PROPERTY_SPACE_END_OPTIMUM_GET_CLASS
fo-property-space-end-precedence space-end.precedence FoPropertySpaceEndPrecedence FoPropertySpaceEndPrecedenceClass fo_property_space_end_precedence_new fo_property_space_end_precedence_get_initial FO_PROPERTY_SPACE_END_PRECEDENCE FO_IS_PROPERTY_SPACE_END_PRECEDENCE FO_TYPE_PROPERTY_SPACE_END_PRECEDENCE fo_property_space_end_precedence_get_type FO_PROPERTY_SPACE_END_PRECEDENCE_CLASS FO_IS_PROPERTY_SPACE_END_PRECEDENCE_CLASS FO_PROPERTY_SPACE_END_PRECEDENCE_GET_CLASS
fo-property-space-end space-end FoPropertySpaceEnd FoPropertySpaceEndClass fo_property_space_end_new fo_property_space_end_get_initial FO_PROPERTY_SPACE_END FO_IS_PROPERTY_SPACE_END FO_TYPE_PROPERTY_SPACE_END fo_property_space_end_get_type FO_PROPERTY_SPACE_END_CLASS FO_IS_PROPERTY_SPACE_END_CLASS FO_PROPERTY_SPACE_END_GET_CLASS
fo-property-space-start-conditionality space-start.conditionality FoPropertySpaceStartCondity FoPropertySpaceStartCondityClass fo_property_space_start_condity_new fo_property_space_start_condity_get_initial FO_PROPERTY_SPACE_START_CONDITY FO_IS_PROPERTY_SPACE_START_CONDITY FO_TYPE_PROPERTY_SPACE_START_CONDITY fo_property_space_start_condity_get_type FO_PROPERTY_SPACE_START_CONDITY_CLASS FO_IS_PROPERTY_SPACE_START_CONDITY_CLASS FO_PROPERTY_SPACE_START_CONDITY_GET_CLASS
fo-property-space-start-maximum space-start.maximum FoPropertySpaceStartMaximum FoPropertySpaceStartMaximumClass fo_property_space_start_maximum_new fo_property_space_start_maximum_get_initial FO_PROPERTY_SPACE_START_MAXIMUM FO_IS_PROPERTY_SPACE_START_MAXIMUM FO_TYPE_PROPERTY_SPACE_START_MAXIMUM fo_property_space_start_maximum_get_type FO_PROPERTY_SPACE_START_MAXIMUM_CLASS FO_IS_PROPERTY_SPACE_START_MAXIMUM_CLASS FO_PROPERTY_SPACE_START_MAXIMUM_GET_CLASS
fo-property-space-start-minimum space-start.minimum FoPropertySpaceStartMinimum FoPropertySpaceStartMinimumClass fo_property_space_start_minimum_new fo_property_space_start_minimum_get_initial FO_PROPERTY_SPACE_START_MINIMUM FO_IS_PROPERTY_SPACE_START_MINIMUM FO_TYPE_PROPERTY_SPACE_START_MINIMUM fo_property_space_start_minimum_get_type FO_PROPERTY_SPACE_START_MINIMUM_CLASS FO_IS_PROPERTY_SPACE_START_MINIMUM_CLASS FO_PROPERTY_SPACE_START_MINIMUM_GET_CLASS
fo-property-space-start-optimum space-start.optimum FoPropertySpaceStartOptimum FoPropertySpaceStartOptimumClass fo_property_space_start_optimum_new fo_property_space_start_optimum_get_initial FO_PROPERTY_SPACE_START_OPTIMUM FO_IS_PROPERTY_SPACE_START_OPTIMUM FO_TYPE_PROPERTY_SPACE_START_OPTIMUM fo_property_space_start_optimum_get_type FO_PROPERTY_SPACE_START_OPTIMUM_CLASS FO_IS_PROPERTY_SPACE_START_OPTIMUM_CLASS FO_PROPERTY_SPACE_START_OPTIMUM_GET_CLASS
fo-property-space-start-precedence space-start.precedence FoPropertySpaceStartPrecedence FoPropertySpaceStartPrecedenceClass fo_property_space_start_precedence_new fo_property_space_start_precedence_get_initial FO_PROPERTY_SPACE_START_PRECEDENCE FO_IS_PROPERTY_SPACE_START_PRECEDENCE FO_TYPE_PROPERTY_SPACE_START_PRECEDENCE fo_property_space_start_precedence_get_type FO_PROPERTY_SPACE_START_PRECEDENCE_CLASS FO_IS_PROPERTY_SPACE_START_PRECEDENCE_CLASS FO_PROPERTY_SPACE_START_PRECEDENCE_GET_CLASS
fo-property-space-start space-start FoPropertySpaceStart FoPropertySpaceStartClass fo_property_space_start_new fo_property_space_start_get_initial FO_PROPERTY_SPACE_START FO_IS_PROPERTY_SPACE_START FO_TYPE_PROPERTY_SPACE_START fo_property_space_start_get_type FO_PROPERTY_SPACE_START_CLASS FO_IS_PROPERTY_SPACE_START_CLASS FO_PROPERTY_SPACE_START_GET_CLASS
fo-property-src src FoPropertySrc FoPropertySrcClass fo_property_src_new fo_property_src_get_initial FO_PROPERTY_SRC FO_IS_PROPERTY_SRC FO_TYPE_PROPERTY_SRC fo_property_src_get_type FO_PROPERTY_SRC_CLASS FO_IS_PROPERTY_SRC_CLASS FO_PROPERTY_SRC_GET_CLASS
fo-property-start-indent start-indent FoPropertyStartIndent FoPropertyStartIndentClass fo_property_start_indent_new fo_property_start_indent_get_initial FO_PROPERTY_START_INDENT FO_IS_PROPERTY_START_INDENT FO_TYPE_PROPERTY_START_INDENT fo_property_start_indent_get_type FO_PROPERTY_START_INDENT_CLASS FO_IS_PROPERTY_START_INDENT_CLASS FO_PROPERTY_START_INDENT_GET_CLASS
fo-property-table-layout table-layout FoPropertyTableLayout FoPropertyTableLayoutClass fo_property_table_layout_new fo_property_table_layout_get_initial FO_PROPERTY_TABLE_LAYOUT FO_IS_PROPERTY_TABLE_LAYOUT FO_TYPE_PROPERTY_TABLE_LAYOUT fo_property_table_layout_get_type FO_PROPERTY_TABLE_LAYOUT_CLASS FO_IS_PROPERTY_TABLE_LAYOUT_CLASS FO_PROPERTY_TABLE_LAYOUT_GET_CLASS
fo-property-text-align text-align FoPropertyTextAlign FoPropertyTextAlignClass fo_property_text_align_new fo_property_text_align_get_initial FO_PROPERTY_TEXT_ALIGN FO_IS_PROPERTY_TEXT_ALIGN FO_TYPE_PROPERTY_TEXT_ALIGN fo_property_text_align_get_type FO_PROPERTY_TEXT_ALIGN_CLASS FO_IS_PROPERTY_TEXT_ALIGN_CLASS FO_PROPERTY_TEXT_ALIGN_GET_CLASS
fo-property-text-indent text-indent FoPropertyTextIndent FoPropertyTextIndentClass fo_property_text_indent_new fo_property_text_indent_get_initial FO_PROPERTY_TEXT_INDENT FO_IS_PROPERTY_TEXT_INDENT FO_TYPE_PROPERTY_TEXT_INDENT fo_property_text_indent_get_type FO_PROPERTY_TEXT_INDENT_CLASS FO_IS_PROPERTY_TEXT_INDENT_CLASS FO_PROPERTY_TEXT_INDENT_GET_CLASS
fo-property-unicode-bidi unicode-bidi FoPropertyUnicodeBidi FoPropertyUnicodeBidiClass fo_property_unicode_bidi_new fo_property_unicode_bidi_get_initial FO_PROPERTY_UNICODE_BIDI FO_IS_PROPERTY_UNICODE_BIDI FO_TYPE_PROPERTY_UNICODE_BIDI fo_property_unicode_bidi_get_type FO_PROPERTY_UNICODE_BIDI_CLASS FO_IS_PROPERTY_UNICODE_BIDI_CLASS FO_PROPERTY_UNICODE_BIDI_GET_CLASS
fo-property-white-space-collapse white-space-collapse FoPropertyWhiteSpaceCollapse FoPropertyWhiteSpaceCollapseClass fo_property_white_space_collapse_new fo_property_white_space_collapse_get_initial FO_PROPERTY_WHITE_SPACE_COLLAPSE FO_IS_PROPERTY_WHITE_SPACE_COLLAPSE FO_TYPE_PROPERTY_WHITE_SPACE_COLLAPSE fo_property_white_space_collapse_get_type FO_PROPERTY_WHITE_SPACE_COLLAPSE_CLASS FO_IS_PROPERTY_WHITE_SPACE_COLLAPSE_CLASS FO_PROPERTY_WHITE_SPACE_COLLAPSE_GET_CLASS
fo-property-white-space-treatment white-space-treatment FoPropertyWhiteSpaceTreatment FoPropertyWhiteSpaceTreatmentClass fo_property_white_space_treatment_new fo_property_white_space_treatment_get_initial FO_PROPERTY_WHITE_SPACE_TREATMENT FO_IS_PROPERTY_WHITE_SPACE_TREATMENT FO_TYPE_PROPERTY_WHITE_SPACE_TREATMENT fo_property_white_space_treatment_get_type FO_PROPERTY_WHITE_SPACE_TREATMENT_CLASS FO_IS_PROPERTY_WHITE_SPACE_TREATMENT_CLASS FO_PROPERTY_WHITE_SPACE_TREATMENT_GET_CLASS
fo-property-widows widows FoPropertyWidows FoPropertyWidowsClass fo_property_widows_new fo_property_widows_get_initial FO_PROPERTY_WIDOWS FO_IS_PROPERTY_WIDOWS FO_TYPE_PROPERTY_WIDOWS fo_property_widows_get_type FO_PROPERTY_WIDOWS_CLASS FO_IS_PROPERTY_WIDOWS_CLASS FO_PROPERTY_WIDOWS_GET_CLASS
fo-property-width width FoPropertyWidth FoPropertyWidthClass fo_property_width_new fo_property_width_get_initial FO_PROPERTY_WIDTH FO_IS_PROPERTY_WIDTH FO_TYPE_PROPERTY_WIDTH fo_property_width_get_type FO_PROPERTY_WIDTH_CLASS FO_IS_PROPERTY_WIDTH_CLASS FO_PROPERTY_WIDTH_GET_CLASS
fo-property-wrap-option wrap-option FoPropertyWrapOption FoPropertyWrapOptionClass fo_property_wrap_option_new fo_property_wrap_option_get_initial FO_PROPERTY_WRAP_OPTION FO_IS_PROPERTY_WRAP_OPTION FO_TYPE_PROPERTY_WRAP_OPTION fo_property_wrap_option_get_type FO_PROPERTY_WRAP_OPTION_CLASS FO_IS_PROPERTY_WRAP_OPTION_CLASS FO_PROPERTY_WRAP_OPTION_GET_CLASS
fo-property-writing-mode writing-mode FoPropertyWritingMode FoPropertyWritingModeClass fo_property_writing_mode_new fo_property_writing_mode_get_initial fo_property_writing_mode_to_bpd fo_property_writing_mode_to_ipd fo_property_writing_mode_to_sd FO_PROPERTY_WRITING_MODE FO_IS_PROPERTY_WRITING_MODE FO_TYPE_PROPERTY_WRITING_MODE fo_property_writing_mode_get_type FO_PROPERTY_WRITING_MODE_CLASS FO_IS_PROPERTY_WRITING_MODE_CLASS FO_PROPERTY_WRITING_MODE_GET_CLASS
fo-property FoProperty FoProperty FoPropertyClass FO_PROPERTY_ERROR fo_property_error_quark FoPropertyError fo_property_new_from_expr fo_property_get_value fo_property_set_value fo_property_class_is_inherited fo_property_is_inherited fo_property_class_is_shorthand fo_property_is_shorthand FoResolveEnumFunc FoResolvePercentFunc FO_PROPERTY FO_IS_PROPERTY FO_TYPE_PROPERTY fo_property_get_type FO_PROPERTY_CLASS FO_IS_PROPERTY_CLASS FO_PROPERTY_GET_CLASS
fo-property-text-property FoPropertyTextPropertyIface FO_PROPERTY_TEXT_PROPERTY_IFACE FoPropertyTextProperty FoPropertyTextPropertyIface fo_property_text_property_new_attr fo_property_text_property_new_attr_from_context FO_PROPERTY_TEXT_PROPERTY FO_IS_PROPERTY_TEXT_PROPERTY FO_TYPE_PROPERTY_TEXT_PROPERTY fo_property_text_property_get_type FO_PROPERTY_TEXT_PROPERTY_GET_IFACE
fo-property-padding-end-length FoPropertyPaddingEndLength FoPropertyPaddingEndLengthClass fo_property_padding_end_length_new fo_property_padding_end_length_get_initial FO_PROPERTY_PADDING_END_LENGTH FO_IS_PROPERTY_PADDING_END_LENGTH FO_TYPE_PROPERTY_PADDING_END_LENGTH fo_property_padding_end_length_get_type FO_PROPERTY_PADDING_END_LENGTH_CLASS FO_IS_PROPERTY_PADDING_END_LENGTH_CLASS FO_PROPERTY_PADDING_END_LENGTH_GET_CLASS
fo-property-type-condity FoPropertyTypeCondity FoPropertyTypeCondity FoPropertyTypeCondityClass FO_PROPERTY_TYPE_CONDITY FO_IS_PROPERTY_TYPE_CONDITY FO_TYPE_PROPERTY_TYPE_CONDITY fo_property_type_condity_get_type FO_PROPERTY_TYPE_CONDITY_CLASS FO_IS_PROPERTY_TYPE_CONDITY_CLASS FO_PROPERTY_TYPE_CONDITY_GET_CLASS
fo-property-padding-before-conditionality padding-before.conditionality FoPropertyPaddingBeforeCondity FoPropertyPaddingBeforeCondityClass fo_property_padding_before_condity_new fo_property_padding_before_condity_get_initial FO_PROPERTY_PADDING_BEFORE_CONDITY FO_IS_PROPERTY_PADDING_BEFORE_CONDITY FO_TYPE_PROPERTY_PADDING_BEFORE_CONDITY fo_property_padding_before_condity_get_type FO_PROPERTY_PADDING_BEFORE_CONDITY_CLASS FO_IS_PROPERTY_PADDING_BEFORE_CONDITY_CLASS FO_PROPERTY_PADDING_BEFORE_CONDITY_GET_CLASS
fo-property-padding-before-length padding-before.length FoPropertyPaddingBeforeLength FoPropertyPaddingBeforeLengthClass fo_property_padding_before_length_new fo_property_padding_before_length_get_initial FO_PROPERTY_PADDING_BEFORE_LENGTH FO_IS_PROPERTY_PADDING_BEFORE_LENGTH FO_TYPE_PROPERTY_PADDING_BEFORE_LENGTH fo_property_padding_before_length_get_type FO_PROPERTY_PADDING_BEFORE_LENGTH_CLASS FO_IS_PROPERTY_PADDING_BEFORE_LENGTH_CLASS FO_PROPERTY_PADDING_BEFORE_LENGTH_GET_CLASS
fo-property-padding-after-conditionality padding-after.conditionality FoPropertyPaddingAfterCondity FoPropertyPaddingAfterCondityClass fo_property_padding_after_condity_new fo_property_padding_after_condity_get_initial FO_PROPERTY_PADDING_AFTER_CONDITY FO_IS_PROPERTY_PADDING_AFTER_CONDITY FO_TYPE_PROPERTY_PADDING_AFTER_CONDITY fo_property_padding_after_condity_get_type FO_PROPERTY_PADDING_AFTER_CONDITY_CLASS FO_IS_PROPERTY_PADDING_AFTER_CONDITY_CLASS FO_PROPERTY_PADDING_AFTER_CONDITY_GET_CLASS
fo-property-padding-start-conditionality padding-start.conditionality FoPropertyPaddingStartCondity FoPropertyPaddingStartCondityClass fo_property_padding_start_condity_new fo_property_padding_start_condity_get_initial FO_PROPERTY_PADDING_START_CONDITY FO_IS_PROPERTY_PADDING_START_CONDITY FO_TYPE_PROPERTY_PADDING_START_CONDITY fo_property_padding_start_condity_get_type FO_PROPERTY_PADDING_START_CONDITY_CLASS FO_IS_PROPERTY_PADDING_START_CONDITY_CLASS FO_PROPERTY_PADDING_START_CONDITY_GET_CLASS
fo-property-padding-end-conditionality padding-end.conditionality FoPropertyPaddingEndCondity FoPropertyPaddingEndCondityClass fo_property_padding_end_condity_new fo_property_padding_end_condity_get_initial FO_PROPERTY_PADDING_END_CONDITY FO_IS_PROPERTY_PADDING_END_CONDITY FO_TYPE_PROPERTY_PADDING_END_CONDITY fo_property_padding_end_condity_get_type FO_PROPERTY_PADDING_END_CONDITY_CLASS FO_IS_PROPERTY_PADDING_END_CONDITY_CLASS FO_PROPERTY_PADDING_END_CONDITY_GET_CLASS
fo-property-padding-after-length padding-after.length FoPropertyPaddingAfterLength FoPropertyPaddingAfterLengthClass fo_property_padding_after_length_new fo_property_padding_after_length_get_initial FO_PROPERTY_PADDING_AFTER_LENGTH FO_IS_PROPERTY_PADDING_AFTER_LENGTH FO_TYPE_PROPERTY_PADDING_AFTER_LENGTH fo_property_padding_after_length_get_type FO_PROPERTY_PADDING_AFTER_LENGTH_CLASS FO_IS_PROPERTY_PADDING_AFTER_LENGTH_CLASS FO_PROPERTY_PADDING_AFTER_LENGTH_GET_CLASS
fo-property-padding-start-length padding-start.length FoPropertyPaddingStartLength FoPropertyPaddingStartLengthClass fo_property_padding_start_length_new fo_property_padding_start_length_get_initial FO_PROPERTY_PADDING_START_LENGTH FO_IS_PROPERTY_PADDING_START_LENGTH FO_TYPE_PROPERTY_PADDING_START_LENGTH fo_property_padding_start_length_get_type FO_PROPERTY_PADDING_START_LENGTH_CLASS FO_IS_PROPERTY_PADDING_START_LENGTH_CLASS FO_PROPERTY_PADDING_START_LENGTH_GET_CLASS
fo-libfo-context FoLibfoContext FoFlagsFormat FO_TYPE_FLAGS_FORMAT FoEnumFontEmbed fo_enum_font_embed_get_type FO_TYPE_ENUM_FONT_EMBED FoLibfoContextClass fo_libfo_context_get_type fo_libfo_context_get_continue_after_error fo_libfo_context_set_continue_after_error fo_libfo_context_get_format fo_libfo_context_set_format fo_libfo_context_get_font_embed fo_libfo_context_set_font_embed fo_libfo_context_get_validation fo_libfo_context_set_validation fo_libfo_context_get_warning_mode fo_libfo_context_set_warning_mode fo_libfo_context_get_debug_mode fo_libfo_context_set_debug_mode FO_LIBFO_CONTEXT FO_IS_LIBFO_CONTEXT FO_TYPE_LIBFO_CONTEXT fo_flags_format_get_type FO_LIBFO_CONTEXT_CLASS FO_IS_LIBFO_CONTEXT_CLASS FO_LIBFO_CONTEXT_GET_CLASS
fo-xml-doc FoXmlDoc FO_XML_DOC_ERROR fo_xml_doc_error_quark FoXmlDocError FoXmlDoc fo_xml_doc_version_info fo_xml_doc_new_from_filename fo_xml_doc_new_from_memory fo_xml_doc_new_from_string fo_xml_doc_ref fo_xml_doc_unref fo_xml_doc_get_base fo_xml_doc_set_base FO_IS_XML_DOC FO_TYPE_XML_DOC fo_xml_doc_get_type
fo-xml-node FoXmlNode FO_XML_NODE_ERROR fo_xml_node_error_quark FoXmlNodeError FoXmlNode fo_xml_node_new fo_xml_node_ref fo_xml_node_unref FO_IS_XML_NODE FO_TYPE_XML_NODE fo_xml_node_get_type
fo-doc-gp FoDocGP FoDocGP FoDocGPClass fo_doc_gp_new fo_doc_gp_open_file FO_DOC_GP FO_IS_DOC_GP FO_TYPE_DOC_GP fo_doc_gp_get_type FO_DOC_GP_CLASS FO_IS_DOC_GP_CLASS FO_DOC_GP_GET_CLASS
libfo-compat LibFO compatibility stylesheet LIBFO_COMPAT_ERROR libfo_compat_error_quark LibfoCompatError libfo_compat_get_stylesheet libfo_compat_make_compatible
libfo-pango Additional Pango attributes needed by LibFO LibfoPangoAttrPointer libfo_pango_attr_callback_get_callback libfo_pango_attr_callback_get_type libfo_pango_attr_callback_new
fo-xslt-transformer FoXsltTransformer fo_xslt_transformer_version_info fo_xslt_transformer_do_transform FO_XSLT_TRANSFORMER_ERROR FoXsltTransformerError fo_xslt_transformer_error_quark
fo-xsl-formatter FoXslFormatter FO_XSL_FORMATTER_ERROR fo_xsl_formatter_error_quark FoXslFormatterError FoXslFormatter FoXslFormatterClass fo_xsl_formatter_new fo_xsl_formatter_format fo_xsl_formatter_draw fo_xsl_formatter_set_result_tree fo_xsl_formatter_set_fo_doc fo_xsl_formatter_get_fo_tree fo_xsl_formatter_get_area_tree FO_XSL_FORMATTER FO_IS_XSL_FORMATTER FO_TYPE_XSL_FORMATTER fo_xsl_formatter_get_type FO_XSL_FORMATTER_CLASS FO_IS_XSL_FORMATTER_CLASS FO_XSL_FORMATTER_GET_CLASS
fo-doc FoDoc FoDoc FoDocClass FO_DOC_ERROR fo_doc_error_quark FoDocError FoDocLineCap FoDocLineJoin fo_doc_new fo_doc_new_from_type fo_doc_formats_from_name fo_doc_open_file fo_doc_get_new_layout fo_doc_get_language fo_doc_set_language fo_doc_get_base_dir fo_doc_set_base_dir FO_DOC FO_IS_DOC FO_TYPE_DOC fo_doc_get_type FO_DOC_CLASS FO_IS_DOC_CLASS FO_DOC_GET_CLASS
fo-doc-cairo FoDocCairo FoDocCairo FoDocCairoClass fo_doc_cairo_new fo_doc_cairo_open_file FO_DOC_CAIRO FO_IS_DOC_CAIRO FO_TYPE_DOC_CAIRO fo_doc_cairo_get_type FO_DOC_CAIRO_CLASS FO_IS_DOC_CAIRO_CLASS FO_DOC_CAIRO_GET_CLASS
fo-layout FoLayout FoLayout FoLayoutClass FO_LAYOUT_ERROR fo_layout_error_quark FoLayoutError FoRectangle fo_layout_new fo_layout_new_from_fo_doc fo_layout_copy fo_layout_set_attributes fo_layout_set_text fo_layout_set_width fo_layout_set_font_desc fo_layout_set_alignment fo_layout_set_indent fo_layout_set_justify fo_layout_get_line_count fo_layout_get_extents fo_layout_get_line_extents fo_layout_set_line_height fo_layout_set_line_stacking_strategy FO_LAYOUT FO_IS_LAYOUT FO_TYPE_LAYOUT fo_layout_get_type FO_LAYOUT_CLASS FO_IS_LAYOUT_CLASS FO_LAYOUT_GET_CLASS
fo-layout-cairo FoLayoutCairo FoLayoutCairo FoLayoutCairoClass fo_layout_cairo_new fo_layout_cairo_new_from_fo_doc FO_LAYOUT_CAIRO FO_IS_LAYOUT_CAIRO FO_TYPE_LAYOUT_CAIRO fo_layout_cairo_get_type FO_LAYOUT_CAIRO_CLASS FO_IS_LAYOUT_CAIRO_CLASS FO_LAYOUT_CAIRO_GET_CLASS
fo-font-desc FoFontDesc FoFontDesc FoFontDescClass FO_FONT_DESC_ERROR fo_font_desc_error_quark FoFontDescError fo_font_desc_new fo_font_desc_copy fo_font_desc_set_family fo_font_desc_set_size fo_font_desc_set_style fo_font_desc_set_stretch fo_font_desc_set_variant fo_font_desc_set_weight FO_FONT_DESC FO_IS_FONT_DESC FO_TYPE_FONT_DESC fo_font_desc_get_type FO_FONT_DESC_CLASS FO_IS_FONT_DESC_CLASS FO_FONT_DESC_GET_CLASS
fo-layout-gp FoLayoutGP FoLayoutGPClass fo_layout_gp_new fo_layout_gp_new_from_fo_doc FO_LAYOUT_GP FO_IS_LAYOUT_GP FO_TYPE_LAYOUT_GP fo_layout_gp_get_type FO_LAYOUT_GP_CLASS FO_IS_LAYOUT_GP_CLASS FO_LAYOUT_GP_GET_CLASS
area-to-pdf fo_area_tree_to_pdf
libfo-version LIBFO_VERSION_MAJOR LIBFO_VERSION_MINOR LIBFO_VERSION_MICRO LIBFO_VERSION_STRING LIBFO_VERSION_EXTRA LIBFO_PIXELS_PER_INCH LIBFO_VERSION_ENCODE LIBFO_VERSION LIBFO_VERSION_CHECK libfo_version libfo_version_string libfo_version_check libfo_pixels_per_inch LibfoModuleEnum LibfoVersionInfo libfo_version_get_info
fo-context-util fo_context_util_height_width_resolve fo_context_util_keeps_resolve fo_context_util_paddings_resolve fo_context_util_spaces_resolve fo_context_util_length_ranges_resolve fo_context_util_margins_resolve fo_context_util_margins_indents_resolve fo_context_util_border_resolve fo_context_util_dominant_baseline_resolve
fo-expr-eval FoExprEnv FoExprEnvList FoExprContext FoExprFunc FO_EXPR_ERROR fo_expr_error_quark FoExprError FO_EXPR_EVAL_ERROR fo_expr_eval_error_quark FoExprEvalError fo_expr_eval fo_expr_border_color_eval fo_expr_border_style_eval fo_expr_padding_eval fo_expr_wsc_eval fo_expr_eval_new_error fo_expr_eval_propagate_error fo_expr_context_push_stack fo_expr_context_pop_stack fo_expr_context_peek_stack fo_expr_context_stack_is_empty fo_expr_context_get_func fo_expr_context_debug_dump_stack fo_expr_env_new fo_expr_env_register_func fo_expr_env_get_func fo_expr_env_list_new fo_expr_env_list_free fo_expr_env_list_prepend fo_expr_env_list_get_func
fo-xml-char-util IS_CHAR IS_BLANK IS_BASECHAR IS_DIGIT IS_COMBINING IS_EXTENDER IS_IDEOGRAPHIC IS_LETTER fo_is_basechar fo_is_blank fo_is_letter fo_is_digit fo_is_ideographic fo_is_extender fo_is_combining fo_is_char
fo-all-property
fo-property-common-font fo_property_common_font_get_pango_attrs
fo-property-eval fo_property_eval_init_hash
fo-property-util fo_property_util_get_color_initial fo_property_util_get_style_initial fo_property_util_get_width_initial fo_property_util_resolve_auto_always_enum fo_property_util_resolve_auto_enum fo_property_util_resolve_color_enum fo_property_util_resolve_color_transparent_enum fo_property_util_resolve_condity_enum fo_property_util_resolve_force_enum fo_property_util_resolve_ipdim_percent fo_property_util_resolve_no_enum fo_property_util_resolve_style_enum fo_property_util_resolve_width_enum fo_property_util_resolve_wsc_enum fo_property_util_validate_color fo_property_util_validate_color_transparent fo_property_util_validate_style fo_property_util_validate_width fo_property_util_validate_wsc
fo-libfo-basic FoLibfoBasicError FO_LIBFO_BASIC_ERROR fo_libfo_basic_error_quark FoLibfoContext fo_libfo_init FoMalloc FoRealloc FoFree fo_libfo_init2 fo_libfo_shutdown fo_libfo_context_new fo_libfo_format
fo-utils GETTEXT_PACKAGE fo_propagate_and_return_if_error fo_propagate_and_return_val_if_error FoDebugFlag FoWarningFlag FoEnumAreaDirection
fo-doc-commands fo_doc_begin_page fo_doc_end_page fo_doc_get_fill_color fo_doc_set_fill_color fo_doc_get_stroke_color fo_doc_set_stroke_color fo_doc_get_line_cap fo_doc_set_line_cap fo_doc_get_line_join fo_doc_set_line_join fo_doc_get_line_width fo_doc_set_line_width fo_doc_set_dash fo_doc_translate fo_doc_clip fo_doc_save fo_doc_restore fo_doc_line_to fo_doc_move_to fo_doc_line_stroked fo_doc_rect_stroked fo_doc_rect_filled fo_doc_fill fo_doc_stroke fo_doc_place_image fo_doc_get_font_desc fo_doc_render_layout_lines fo_doc_render_layout
xmlroff-0.6.2/docs/xmlroff-overrides.txt0000644000175000017500000000000010611742676015263 00000000000000xmlroff-0.6.2/docs/xmlroff.10000644000175000017500000000462711156164730012621 00000000000000.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "XMLROFF" 1 "" "" "" .SH NAME xmlroff \- XSL formatter .SH "SYNOPSIS" .ad l .hy 0 .HP 8 \fBxmlroff\fR [\-o\ \fIoutput\-file\fR] [\-\-format\ {\fBauto\fR\ |\ \fBpdf\fR\ |\ \fBpostscript\fR}] [\-\-backend\ {\fBgp\fR\ |\ \fBcairo\fR}] [\-\-continue] [\fB\-?\fR | \fB\-\-help\fR] [\fB\-\-compat\fR | \fB\-\-nocompat\fR] [\-\-compat\-stylesheet] [\fB\-\-valid\fR | \fB\-\-novalid\fR] [\fB\-v\fR | \fB\-\-version\fR] [\-w\ \fIwarning\-mode\fR] [\-d\ \fIdebug\-mode\fR] \fIfile\fR [\fIstylesheet\fR] .ad .hy .SH "DESCRIPTION" .PP xmlroff is a free, fast and high\-quality XSL formatter that is useful for DocBook formatting\&. It produces PDF or PostScript output\&. It integrates easily with other programs and with scripting languages\&. .PP xmlroff processes the XML\-FO \fIfile\fR\&. An arbitrary XML file can optionally be first transformed via a specified XSLT \fIstylesheet\fR\&. .SH "OPTIONS" .TP \fB\-v\fR Show version information\&. .TP \fB\-?\fR, \fB\-\-help\fR Show help message\&. .TP \fB\-o\fR \fIoutput\-file\fR Specify output filename\&. If this option is not specified, a default of \fIlayout\&.pdf\fR will be used\&. .TP \fB\-d\fR \fIdebug\-mode\fR Specify debug mode\&. .TP \fB\-w\fR \fIwarning\-mode\fR Specify warning mode\&. .TP \fB\-\-format {\fBauto\fR | \fBpdf\fR | \fBpostscript\fR}\fR Specify format of the output file\&. The default is auto which selects the format based on the extension of the output filename\&. .TP \fB\-\-backend\fR {\fBgp\fR | \fBcairo\fR} Specify backend used to produce the output file\&. The default is GNOME print (gp)\&. .TP \fB\-\-compat\fR, \fB\-\-nocompat\fR Do or do not pre\-processes the input file with an internal compatibility stylesheet\&. Default is \-\-compat\&. .TP \fB\-\-compat\-stylesheet\fR Prints the internal compatibility stylesheet then exits\&. .TP \fB\-\-continue\fR Continue after any formatting errors\&. .TP \fB\-\-valid\fR, \fB\-\-novalid\fR Do or do not load the DTD\&. Default is \-\-novalid\&. .SH "REPORTING BUGS" .PP Report bugs at http://xmlroff\&.org/newticket: \fIhttp://xmlroff.org/newticket\fR\&. .SH "SEE ALSO" .PP \fBxsltproc\fR(1) .SH "AUTHOR" .PP Tony Graham xmlroff-0.6.2/docs/tmpl/0000777000175000017500000000000011156164730012111 500000000000000xmlroff-0.6.2/docs/tmpl/area-to-pdf.sgml0000644000175000017500000000054011156164730015007 00000000000000 area-to-pdf @area_node: @data: xmlroff-0.6.2/docs/tmpl/fo-all-property.sgml0000644000175000017500000000041211156164730015742 00000000000000 fo-all-property xmlroff-0.6.2/docs/tmpl/fo-area-area.sgml0000644000175000017500000000756211156164730015143 00000000000000 FoAreaArea @Returns: @fo_area: @new_x: @fo_area: @Returns: @fo_area: @new_y: @fo_area: @Returns: @fo_area: @new_width: @fo_area: @Returns: @fo_area: @new_height: @fo_area: @Returns: @fo_area: @new_border_before: @fo_area: @Returns: @fo_area: @new_border_after: @fo_area: @Returns: @fo_area: @new_border_start: @fo_area: @Returns: @fo_area: @new_border_end: @fo_area: @Returns: @fo_area: @new_padding_before: @fo_area: @Returns: @fo_area: @new_padding_after: @fo_area: @Returns: @fo_area: @new_padding_start: @fo_area: @Returns: @fo_area: @new_padding_end: @fo_area: @Returns: @fo_area: @new_start_indent: @fo_area: @Returns: @fo_area: @new_end_indent: @fo_area: @Returns: @fo_area: @new_space_before: @fo_area: @Returns: @fo_area: @new_space_after: @fo_area: @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-graphic.sgml0000644000175000017500000000072711156164730015644 00000000000000 fo-area-graphic @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-inline.sgml0000644000175000017500000000076611156164730015510 00000000000000 fo-area-inline @parent_instance: @parent_class: @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-layout.sgml0000644000175000017500000000257611156164730015550 00000000000000 FoAreaLayout @Returns: @layout: @Returns: @fo_area_layout: @new_layout: @fo_area_layout: @Returns: @fo_area_layout: @new_line_first: @fo_area_layout: @Returns: @fo_area_layout: @new_line_last: @fo_area_layout: @Returns: @fo_area_layout: @line_number: @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-list-item.sgml0000644000175000017500000000073211156164730016132 00000000000000 FoAreaListItem @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-normal.sgml0000644000175000017500000000072111156164730015511 00000000000000 FoAreaNormal @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-page.sgml0000644000175000017500000000526611156164730015146 00000000000000 FoAreaPage @Returns: @FO_AREA_PAGE_ERROR_FAILED: @FO_AREA_PAGE_ERROR_WARNING: @FO_AREA_PAGE_ERROR_OVERFLOW: @Returns: @fo_area_page: @new_page_number: @fo_area_page: @Returns: @fo_area_page: @new_page_width: @fo_area_page: @Returns: @fo_area_page: @new_page_height: @fo_area_page: @Returns: @fo_area_page: @new_margin_top: @fo_area_page: @Returns: @fo_area_page: @new_margin_bottom: @fo_area_page: @Returns: @fo_area_page: @new_margin_left: @fo_area_page: @Returns: @fo_area_page: @new_margin_right: @fo_area_page: @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-reference.sgml0000644000175000017500000000233111156164730016156 00000000000000 FoAreaReference @Returns: @fo_area: @new_bpd: @fo_area: @Returns: @fo_area: @new_ipd: @fo_area: @Returns: @fo_area: @new_sd: @fo_area: @Returns: xmlroff-0.6.2/docs/tmpl/fo-area.sgml0000644000175000017500000001534511156164730014233 00000000000000 FoArea @Returns: @fo_area: @Returns: @fo_area: @Returns: @fo_area: @Returns: @fo_area: @Returns: @fo_area: @Returns: @fo_area: @Returns: @fo_area: @new_next_x: @fo_area: @Returns: @fo_area: @new_next_y: @fo_area: @Returns: @fo_area: @new_available_width: @fo_area: @Returns: @fo_area: @new_available_height: @fo_area: @Returns: @fo_area: @new_child_available_ipdim: @fo_area: @Returns: @fo_area: @new_child_available_bpdim: @fo_area: @Returns: @fo_area: @new_fo: @parent: @child: @Returns: @child: @Returns: @area: @depth: @parent_area: @child_area: @parent_area: @new_area: @Returns: @parent_area: @original: @Returns: @clone: @original: @area: @height: @Returns: @area: @height: @Returns: @area: @area: @data: @Returns: @area: @data: @area: @area: @parent: @position: @area: @Returns: @parent: @sibling: @area: @Returns: @parent: @sibling: @area: @Returns: @parent: @area: @Returns: @root: @flags: @Returns: @area: @Returns: @area: @descendant: @Returns: @area: @Returns: @parent: @area: @Returns: @root: @order: @flags: @max_depth: @func: @data: @root: @Returns: @area: @flags: @func: @data: @area: @area: @Returns: @area: @n: @Returns: @area: @Returns: @area: @child: @Returns: @area: @Returns: @area: @Returns: @area: @Returns: @area: @Returns: @area: @Returns: @area: @Returns: @area: @area: @parent: @position: @area: @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-spanning-table-cell.sgml0000644000175000017500000000176011156164730020044 00000000000000 FoAreaSpanningTableCell @Returns: @rows_spanned: @Returns: @fo_area: @row_number: @Returns: @fo_area: @Returns: @fo_area: @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-table-body.sgml0000644000175000017500000000073611156164730016251 00000000000000 FoAreaTableBody @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-table-cell-proxy.sgml0000644000175000017500000000224211156164730017404 00000000000000 FoAreaTableCellProxy @Returns: @fo_area: @new_table_cell: @fo_area: @Returns: @fo_area: @new_row_number: @fo_area: @Returns: @fo_area: @new_min_height: @fo_area: @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-table-cell.sgml0000644000175000017500000000073611156164730016233 00000000000000 FoAreaTableCell @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-table-continuation.sgml0000644000175000017500000000077611156164730020032 00000000000000 FoAreaTableContinuation @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-table-footer.sgml0000644000175000017500000000074611156164730016613 00000000000000 FoAreaTableFooter @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-table-header.sgml0000644000175000017500000000074611156164730016545 00000000000000 FoAreaTableHeader @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-table-part.sgml0000644000175000017500000000073611156164730016262 00000000000000 FoAreaTablePart @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-table-row.sgml0000644000175000017500000000073211156164730016117 00000000000000 FoAreaTableRow @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-table.sgml0000644000175000017500000000071511156164730015313 00000000000000 FoAreaTable @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-tree.sgml0000644000175000017500000000071111156164730015157 00000000000000 FoAreaTree @Returns: xmlroff-0.6.2/docs/tmpl/fo-area-viewport-reference.sgml0000644000175000017500000000077611156164730020046 00000000000000 FoAreaViewportReference @Returns: xmlroff-0.6.2/docs/tmpl/fo-basic-link.sgml0000644000175000017500000004131011156164730015326 00000000000000 basic-link @Returns: @fo_fo: @Returns: @fo_fo: @new_alignment_adjust: @fo_fo: @Returns: @fo_fo: @new_alignment_baseline: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_baseline_shift: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_dominant_baseline: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: xmlroff-0.6.2/docs/tmpl/fo-bidi-override.sgml0000644000175000017500000000730411156164730016043 00000000000000 bidi-override @Returns: @fo_fo: @new_color: @fo_fo: @Returns: @fo_fo: @new_direction: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_score_spaces: @fo_fo: @Returns: @fo_fo: @new_unicode_bidi: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-block-block.sgml0000644000175000017500000000072111156164730015475 00000000000000 FoBlockBlock @Returns: xmlroff-0.6.2/docs/tmpl/fo-block-container.sgml0000644000175000017500000005051211156164730016370 00000000000000 block-container @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_block_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_break_after: @fo_fo: @Returns: @fo_fo: @new_break_before: @fo_fo: @Returns: @fo_fo: @new_clip: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_end_indent: @fo_fo: @Returns: @fo_fo: @new_height: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_inline_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_margin_bottom: @fo_fo: @Returns: @fo_fo: @new_margin_left: @fo_fo: @Returns: @fo_fo: @new_margin_right: @fo_fo: @Returns: @fo_fo: @new_margin_top: @fo_fo: @Returns: @fo_fo: @new_overflow: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_space_after: @fo_fo: @Returns: @fo_fo: @new_space_before: @fo_fo: @Returns: @fo_fo: @new_span: @fo_fo: @Returns: @fo_fo: @new_start_indent: @fo_fo: @Returns: @fo_fo: @new_width: @fo_fo: @Returns: @fo_fo: @new_writing_mode: xmlroff-0.6.2/docs/tmpl/fo-block-fo.sgml0000644000175000017500000000605611156164730015016 00000000000000 FoBlockFoIface @obj: @fo: @area: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: @fo_block_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-block-layout.sgml0000644000175000017500000000107311156164730015721 00000000000000 FoBlockLayout @Returns: @fo: @context: xmlroff-0.6.2/docs/tmpl/fo-block.sgml0000644000175000017500000005231011156164730014406 00000000000000 block @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_break_after: @fo_fo: @Returns: @fo_fo: @new_break_before: @fo_fo: @Returns: @fo_fo: @new_color: @fo_fo: @Returns: @fo_fo: @new_end_indent: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_line_stacking_strategy: @fo_fo: @Returns: @fo_fo: @new_linefeed_treatment: @fo_fo: @Returns: @fo_fo: @new_margin_bottom: @fo_fo: @Returns: @fo_fo: @new_margin_left: @fo_fo: @Returns: @fo_fo: @new_margin_right: @fo_fo: @Returns: @fo_fo: @new_margin_top: @fo_fo: @Returns: @fo_fo: @new_orphans: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_after: @fo_fo: @Returns: @fo_fo: @new_space_before: @fo_fo: @Returns: @fo_fo: @new_span: @fo_fo: @Returns: @fo_fo: @new_start_indent: @fo_fo: @Returns: @fo_fo: @new_text_align: @fo_fo: @Returns: @fo_fo: @new_text_indent: @fo_fo: @Returns: @fo_fo: @new_white_space_collapse: @fo_fo: @Returns: @fo_fo: @new_white_space_treatment: @fo_fo: @Returns: @fo_fo: @new_widows: @fo_fo: @Returns: @fo_fo: @new_wrap_option: xmlroff-0.6.2/docs/tmpl/fo-block-whitespace.sgml0000644000175000017500000000111711156164730016537 00000000000000 FoBlockWhitespace @Returns: @fo: @context: xmlroff-0.6.2/docs/tmpl/fo-boolean.sgml0000644000175000017500000000153211156164730014733 00000000000000 FoBoolean @Returns: @value: @Returns: @boolean: @Returns: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-character.sgml0000644000175000017500000004226611156164730015261 00000000000000 FoCharacter @Returns: @fo_fo: @Returns: @fo_fo: @new_alignment_adjust: @fo_fo: @Returns: @fo_fo: @new_alignment_baseline: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_baseline_shift: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_character: @fo_fo: @Returns: @fo_fo: @new_color: @fo_fo: @Returns: @fo_fo: @new_dominant_baseline: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_score_spaces: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: xmlroff-0.6.2/docs/tmpl/fo-char.sgml0000644000175000017500000000140011156164730014223 00000000000000 FoChar @value: @Returns: @fo_char: @Returns: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-color-profile.sgml0000644000175000017500000000132111156164730016064 00000000000000 color-profile @Returns: @fo_fo: @Returns: @fo_fo: @new_src: xmlroff-0.6.2/docs/tmpl/fo-color.sgml0000644000175000017500000000510711156164730014434 00000000000000 FoColor @red: @green: @blue: @Returns: @color: @Returns: @color: @Returns: @color: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @color: @Returns: @color: @Returns: @color: @Returns: xmlroff-0.6.2/docs/tmpl/fo-conditional-page-master-reference.sgml0000644000175000017500000000161311156164730021756 00000000000000 conditional-page-master-reference @Returns: @fo_fo: @Returns: @fo_fo: @new_master_reference: xmlroff-0.6.2/docs/tmpl/fo-context.sgml0000644000175000017500000014034411156164730015005 00000000000000 FoContext @Returns: @context: @primary: @secondary: @context: @property_list: @fo_context: @depth: @fo_context: @Returns: @fo_context: @new_alignment_adjust: @fo_context: @Returns: @fo_context: @new_alignment_baseline: @fo_context: @Returns: @fo_context: @new_background_color: @fo_context: @Returns: @fo_context: @new_background_image: @fo_context: @Returns: @fo_context: @new_baseline_shift: @fo_context: @Returns: @fo_context: @new_block_progression_dimension: @fo_context: @Returns: @fo_context: @new_block_progression_dimension_minimum: @fo_context: @Returns: @fo_context: @new_block_progression_dimension_optimum: @fo_context: @Returns: @fo_context: @new_block_progression_dimension_maximum: @fo_context: @Returns: @fo_context: @new_border: @fo_context: @Returns: @fo_context: @new_border_after_color: @fo_context: @Returns: @fo_context: @new_border_after_precedence: @fo_context: @Returns: @fo_context: @new_border_after_style: @fo_context: @Returns: @fo_context: @new_border_after_width: @fo_context: @Returns: @fo_context: @new_border_before_color: @fo_context: @Returns: @fo_context: @new_border_before_precedence: @fo_context: @Returns: @fo_context: @new_border_before_style: @fo_context: @Returns: @fo_context: @new_border_before_width: @fo_context: @Returns: @fo_context: @new_border_bottom: @fo_context: @Returns: @fo_context: @new_border_bottom_color: @fo_context: @Returns: @fo_context: @new_border_bottom_style: @fo_context: @Returns: @fo_context: @new_border_bottom_width: @fo_context: @Returns: @fo_context: @new_border_collapse: @fo_context: @Returns: @fo_context: @new_border_color: @fo_context: @Returns: @fo_context: @new_border_end_color: @fo_context: @Returns: @fo_context: @new_border_end_precedence: @fo_context: @Returns: @fo_context: @new_border_end_style: @fo_context: @Returns: @fo_context: @new_border_end_width: @fo_context: @Returns: @fo_context: @new_border_left: @fo_context: @Returns: @fo_context: @new_border_left_color: @fo_context: @Returns: @fo_context: @new_border_left_style: @fo_context: @Returns: @fo_context: @new_border_left_width: @fo_context: @Returns: @fo_context: @new_border_right: @fo_context: @Returns: @fo_context: @new_border_right_color: @fo_context: @Returns: @fo_context: @new_border_right_style: @fo_context: @Returns: @fo_context: @new_border_right_width: @fo_context: @Returns: @fo_context: @new_border_separation: @fo_context: @Returns: @fo_context: @new_border_start_color: @fo_context: @Returns: @fo_context: @new_border_start_precedence: @fo_context: @Returns: @fo_context: @new_border_start_style: @fo_context: @Returns: @fo_context: @new_border_start_width: @fo_context: @Returns: @fo_context: @new_border_style: @fo_context: @Returns: @fo_context: @new_border_top: @fo_context: @Returns: @fo_context: @new_border_top_color: @fo_context: @Returns: @fo_context: @new_border_top_style: @fo_context: @Returns: @fo_context: @new_border_top_width: @fo_context: @Returns: @fo_context: @new_border_width: @fo_context: @Returns: @fo_context: @new_break_after: @fo_context: @Returns: @fo_context: @new_break_before: @fo_context: @Returns: @fo_context: @new_character: @fo_context: @Returns: @fo_context: @new_clip: @fo_context: @Returns: @fo_context: @new_color: @fo_context: @Returns: @fo_context: @new_column_number: @fo_context: @Returns: @fo_context: @new_column_width: @fo_context: @Returns: @fo_context: @new_content_height: @fo_context: @Returns: @fo_context: @new_content_type: @fo_context: @Returns: @fo_context: @new_content_width: @fo_context: @Returns: @fo_context: @new_direction: @fo_context: @Returns: @fo_context: @new_display_align: @fo_context: @Returns: @fo_context: @new_dominant_baseline: @fo_context: @Returns: @fo_context: @new_end_indent: @fo_context: @Returns: @fo_context: @new_extent: @fo_context: @Returns: @fo_context: @new_flow_name: @fo_context: @Returns: @fo_context: @new_font_family: @fo_context: @Returns: @fo_context: @new_font_size: @fo_context: @Returns: @fo_context: @new_font_stretch: @fo_context: @Returns: @fo_context: @new_font_style: @fo_context: @Returns: @fo_context: @new_font_variant: @fo_context: @Returns: @fo_context: @new_font_weight: @fo_context: @Returns: @fo_context: @new_format: @fo_context: @Returns: @fo_context: @new_grouping_separator: @fo_context: @Returns: @fo_context: @new_grouping_size: @fo_context: @Returns: @fo_context: @new_height: @fo_context: @Returns: @fo_context: @new_id: @fo_context: @Returns: @fo_context: @new_inline_progression_dimension: @fo_context: @Returns: @fo_context: @new_inline_progression_dimension_minimum: @fo_context: @Returns: @fo_context: @new_inline_progression_dimension_optimum: @fo_context: @Returns: @fo_context: @new_inline_progression_dimension_maximum: @fo_context: @Returns: @fo_context: @new_keep_together: @fo_context: @Returns: @fo_context: @new_keep_together_within_column: @fo_context: @Returns: @fo_context: @new_keep_together_within_line: @fo_context: @Returns: @fo_context: @new_keep_together_within_page: @fo_context: @Returns: @fo_context: @new_keep_with_next: @fo_context: @Returns: @fo_context: @new_keep_with_next_within_column: @fo_context: @Returns: @fo_context: @new_keep_with_next_within_line: @fo_context: @Returns: @fo_context: @new_keep_with_next_within_page: @fo_context: @Returns: @fo_context: @new_keep_with_previous: @fo_context: @Returns: @fo_context: @new_keep_with_previous_within_column: @fo_context: @Returns: @fo_context: @new_keep_with_previous_within_line: @fo_context: @Returns: @fo_context: @new_keep_with_previous_within_page: @fo_context: @Returns: @fo_context: @new_letter_value: @fo_context: @Returns: @fo_context: @new_linefeed_treatment: @fo_context: @Returns: @fo_context: @new_line_height: @fo_context: @Returns: @fo_context: @new_line_stacking_strategy: @fo_context: @Returns: @fo_context: @new_margin: @fo_context: @Returns: @fo_context: @new_margin_bottom: @fo_context: @Returns: @fo_context: @new_margin_left: @fo_context: @Returns: @fo_context: @new_margin_right: @fo_context: @Returns: @fo_context: @new_margin_top: @fo_context: @Returns: @fo_context: @new_master_name: @fo_context: @Returns: @fo_context: @new_master_reference: @fo_context: @Returns: @fo_context: @new_media_usage: @fo_context: @Returns: @fo_context: @new_number_columns_repeated: @fo_context: @Returns: @fo_context: @new_number_columns_spanned: @fo_context: @Returns: @fo_context: @new_number_rows_spanned: @fo_context: @Returns: @fo_context: @new_orphans: @fo_context: @Returns: @fo_context: @new_overflow: @fo_context: @Returns: @fo_context: @new_padding: @fo_context: @Returns: @fo_context: @new_padding_after: @fo_context: @Returns: @fo_context: @new_padding_after_length: @fo_context: @Returns: @fo_context: @new_padding_after_condity: @fo_context: @Returns: @fo_context: @new_padding_before: @fo_context: @Returns: @fo_context: @new_padding_before_length: @fo_context: @Returns: @fo_context: @new_padding_before_condity: @fo_context: @Returns: @fo_context: @new_padding_bottom: @fo_context: @Returns: @fo_context: @new_padding_end: @fo_context: @Returns: @fo_context: @new_padding_end_length: @fo_context: @Returns: @fo_context: @new_padding_end_condity: @fo_context: @Returns: @fo_context: @new_padding_left: @fo_context: @Returns: @fo_context: @new_padding_right: @fo_context: @Returns: @fo_context: @new_padding_start: @fo_context: @Returns: @fo_context: @new_padding_start_length: @fo_context: @Returns: @fo_context: @new_padding_start_condity: @fo_context: @Returns: @fo_context: @new_padding_top: @fo_context: @Returns: @fo_context: @new_page_height: @fo_context: @Returns: @fo_context: @new_page_width: @fo_context: @Returns: @fo_context: @new_provisional_distance_between_starts: @fo_context: @Returns: @fo_context: @new_provisional_label_separation: @fo_context: @Returns: @fo_context: @new_ref_id: @fo_context: @Returns: @fo_context: @new_region_name: @fo_context: @Returns: @fo_context: @new_role: @fo_context: @Returns: @fo_context: @new_scaling: @fo_context: @Returns: @fo_context: @new_scaling_method: @fo_context: @Returns: @fo_context: @new_score_spaces: @fo_context: @Returns: @fo_context: @new_source_document: @fo_context: @Returns: @fo_context: @new_space_after: @fo_context: @new_space_after_minimum: @fo_context: @new_space_after_optimum: @fo_context: @new_space_after_maximum: @fo_context: @new_space_after_precedence: @fo_context: @new_space_after_condity: @fo_context: @Returns: @fo_context: @new_space_before: @fo_context: @new_space_before_minimum: @fo_context: @new_space_before_optimum: @fo_context: @new_space_before_maximum: @fo_context: @new_space_before_precedence: @fo_context: @new_space_before_condity: @fo_context: @Returns: @fo_context: @new_space_end: @fo_context: @new_space_end_minimum: @fo_context: @new_space_end_optimum: @fo_context: @new_space_end_maximum: @fo_context: @new_space_end_precedence: @fo_context: @new_space_end_condity: @fo_context: @Returns: @fo_context: @new_space_start: @fo_context: @new_space_start_minimum: @fo_context: @new_space_start_optimum: @fo_context: @new_space_start_maximum: @fo_context: @new_space_start_precedence: @fo_context: @new_space_start_condity: @fo_context: @Returns: @fo_context: @new_span: @fo_context: @Returns: @fo_context: @new_src: @fo_context: @Returns: @fo_context: @new_start_indent: @fo_context: @Returns: @fo_context: @new_table_layout: @fo_context: @Returns: @fo_context: @new_text_align: @fo_context: @Returns: @fo_context: @new_text_indent: @fo_context: @Returns: @fo_context: @new_unicode_bidi: @fo_context: @Returns: @fo_context: @new_white_space_collapse: @fo_context: @Returns: @fo_context: @new_white_space_treatment: @fo_context: @Returns: @fo_context: @new_widows: @fo_context: @Returns: @fo_context: @new_width: @fo_context: @Returns: @fo_context: @new_wrap_option: @fo_context: @Returns: @fo_context: @new_writing_mode: xmlroff-0.6.2/docs/tmpl/fo-context-util.sgml0000644000175000017500000000250011156164730015747 00000000000000 fo-context-util @current_context: @parent_context: @current_context: @parent_context: @current_context: @parent_context: @context: @reference_area: @context: @reference_area: @current_context: @parent_context: @fo: @current_context: @parent_context: @current_context: @parent_context: @current_context: @parent_context: xmlroff-0.6.2/docs/tmpl/fo-datatype.sgml0000644000175000017500000000446111156164730015133 00000000000000 FoDatatype @Returns: @FO_DATATYPE_ERROR_WRONG_DATATYPE: @FO_DATATYPE_ERROR_ADD: @FO_DATATYPE_ERROR_SUB: @FO_DATATYPE_ERROR_MUL: @FO_DATATYPE_ERROR_DIV: @FO_DATATYPE_ERROR_MOD: @FO_DATATYPE_ERROR_MAX: @FO_DATATYPE_ERROR_MIN: @FO_DATATYPE_ERROR_FLOOR: @FO_DATATYPE_ERROR_ROUND: @FO_DATATYPE_ERROR_CEILING: @FO_DATATYPE_ERROR_ABS: @FO_DATATYPE_ERROR_NEGATE: @Returns: @datatype: @Returns: @Returns: @Returns: @arg1: @arg2: @Returns: @arg1: @arg2: @Returns: @arg1: @arg2: @Returns: @arg1: @arg2: @Returns: @arg1: @arg2: @Returns: @arg1: @arg2: @Returns: @arg1: @arg2: @Returns: @arg: @Returns: @arg: @Returns: @arg: @Returns: @arg: @Returns: @arg: @Returns: xmlroff-0.6.2/docs/tmpl/fo-declarations.sgml0000644000175000017500000000072611156164730015770 00000000000000 declarations @Returns: xmlroff-0.6.2/docs/tmpl/fo-doc-cairo.sgml0000644000175000017500000000110111156164730015144 00000000000000 FoDocCairo @Returns: @fo_doc: @filename: @libfo_context: @error: xmlroff-0.6.2/docs/tmpl/fo-doc-commands.sgml0000644000175000017500000000537211156164730015666 00000000000000 fo-doc-commands @fo_doc: @width: @height: @error: @fo_doc: @fo_doc: @Returns: @fo_doc: @color: @fo_doc: @Returns: @fo_doc: @color: @fo_doc: @Returns: @fo_doc: @line_cap: @fo_doc: @Returns: @fo_doc: @line_join: @fo_doc: @Returns: @fo_doc: @line_width: @fo_doc: @b: @w: @fo_doc: @x: @y: @fo_doc: @fo_doc: @fo_doc: @fo_doc: @x: @y: @fo_doc: @x: @y: @fo_doc: @x0: @y0: @x1: @y1: @fo_doc: @x: @y: @width: @height: @fo_doc: @x: @y: @width: @height: @fo_doc: @fo_doc: @fo_doc: @fo_image: @x: @y: @xscale: @yscale: @fo_doc: @Returns: @fo_doc: @area_layout: @x: @y: @fo_doc: @area_layout: @x: @y: xmlroff-0.6.2/docs/tmpl/fo-doc-gp.sgml0000644000175000017500000000106211156164730014463 00000000000000 FoDocGP @Returns: @fo_doc: @filename: @libfo_context: @error: xmlroff-0.6.2/docs/tmpl/fo-doc.sgml0000644000175000017500000000350411156164730014062 00000000000000 FoDoc @Returns: @FO_DOC_ERROR_FAILED: @FO_DOC_ERROR_OPEN_FAILED: @FO_DOC_ERROR_UNSUPPORTED_FORMAT: @FO_DOC_ERROR_LAST: @FO_DOC_LINE_CAP_INVALID: @FO_DOC_LINE_CAP_BUTT: @FO_DOC_LINE_CAP_ROUND: @FO_DOC_LINE_CAP_SQUARE: @FO_DOC_LINE_CAP_LIMIT: @FO_DOC_LINE_JOIN_INVALID: @FO_DOC_LINE_JOIN_MITER: @FO_DOC_LINE_JOIN_ROUND: @FO_DOC_LINE_JOIN_BEVEL: @FO_DOC_LINE_JOIN_LIMIT: @Returns: @type: @Returns: @name: @Returns: @fo_doc: @filename: @libfo_context: @error: @fo_doc: @Returns: @fo_doc: @Returns: @fo_doc: @language: @fo_doc: @Returns: @fo_doc: @base_dir: xmlroff-0.6.2/docs/tmpl/fo-enum.sgml0000644000175000017500000002131611156164730014262 00000000000000 FoEnum @FO_ENUM_ENUM_UNSPECIFIED: @FO_ENUM_ENUM_0: @FO_ENUM_ENUM_100: @FO_ENUM_ENUM_180: @FO_ENUM_ENUM_200: @FO_ENUM_ENUM_270: @FO_ENUM_ENUM_300: @FO_ENUM_ENUM_400: @FO_ENUM_ENUM_500: @FO_ENUM_ENUM_600: @FO_ENUM_ENUM_700: @FO_ENUM_ENUM_800: @FO_ENUM_ENUM_90: @FO_ENUM_ENUM_900: @FO_ENUM_ENUM_ABOVE: @FO_ENUM_ENUM_ABSOLUTE: @FO_ENUM_ENUM_ABSOLUTE_COLORIMETRIC: @FO_ENUM_ENUM_ACTIVE: @FO_ENUM_ENUM_AFTER: @FO_ENUM_ENUM_AFTER_EDGE: @FO_ENUM_ENUM_ALL: @FO_ENUM_ENUM_ALPHABETIC: @FO_ENUM_ENUM_ALWAYS: @FO_ENUM_ENUM_ANY: @FO_ENUM_ENUM_AUTO: @FO_ENUM_ENUM_AUTO_EVEN: @FO_ENUM_ENUM_AUTO_ODD: @FO_ENUM_ENUM_AVOID: @FO_ENUM_ENUM_BACKSLANT: @FO_ENUM_ENUM_BASELINE: @FO_ENUM_ENUM_BEFORE: @FO_ENUM_ENUM_BEFORE_EDGE: @FO_ENUM_ENUM_BEHIND: @FO_ENUM_ENUM_BELOW: @FO_ENUM_ENUM_BIDI_OVERRIDE: @FO_ENUM_ENUM_BLANK: @FO_ENUM_ENUM_BLINK: @FO_ENUM_ENUM_BLOCK: @FO_ENUM_ENUM_BOLD: @FO_ENUM_ENUM_BOLDER: @FO_ENUM_ENUM_BOTH: @FO_ENUM_ENUM_BOTTOM: @FO_ENUM_ENUM_BOUNDED_IN_ONE_DIMENSION: @FO_ENUM_ENUM_CAPITALIZE: @FO_ENUM_ENUM_CAPTION: @FO_ENUM_ENUM_CENTER: @FO_ENUM_ENUM_CENTER_LEFT: @FO_ENUM_ENUM_CENTER_RIGHT: @FO_ENUM_ENUM_CENTRAL: @FO_ENUM_ENUM_CHARACTER_BY_CHARACTER: @FO_ENUM_ENUM_CODE: @FO_ENUM_ENUM_COLLAPSE: @FO_ENUM_ENUM_COLLAPSE_WITH_PRECEDENCE: @FO_ENUM_ENUM_COLUMN: @FO_ENUM_ENUM_CONDENSED: @FO_ENUM_ENUM_CONSIDER_SHIFTS: @FO_ENUM_ENUM_CONTINUOUS: @FO_ENUM_ENUM_CURSIVE: @FO_ENUM_ENUM_DASHED: @FO_ENUM_ENUM_DIGITS: @FO_ENUM_ENUM_DISREGARD_SHIFTS: @FO_ENUM_ENUM_DOCUMENT: @FO_ENUM_ENUM_DOCUMENT_ROOT: @FO_ENUM_ENUM_DOTS: @FO_ENUM_ENUM_DOTTED: @FO_ENUM_ENUM_DOUBLE: @FO_ENUM_ENUM_EMBED: @FO_ENUM_ENUM_EMPTY: @FO_ENUM_ENUM_END: @FO_ENUM_ENUM_END_ON_EVEN: @FO_ENUM_ENUM_END_ON_ODD: @FO_ENUM_ENUM_ERROR_IF_OVERFLOW: @FO_ENUM_ENUM_EVEN: @FO_ENUM_ENUM_EVEN_PAGE: @FO_ENUM_ENUM_EXPANDED: @FO_ENUM_ENUM_EXTRA_CONDENSED: @FO_ENUM_ENUM_EXTRA_EXPANDED: @FO_ENUM_ENUM_FALSE: @FO_ENUM_ENUM_FANTASY: @FO_ENUM_ENUM_FAR_LEFT: @FO_ENUM_ENUM_FAR_RIGHT: @FO_ENUM_ENUM_FAST: @FO_ENUM_ENUM_FASTER: @FO_ENUM_ENUM_FIRST: @FO_ENUM_ENUM_FIRST_INCLUDING_CARRYOVER: @FO_ENUM_ENUM_FIRST_STARTING_WITHIN_PAGE: @FO_ENUM_ENUM_FIXED: @FO_ENUM_ENUM_FOCUS: @FO_ENUM_ENUM_FONT_HEIGHT: @FO_ENUM_ENUM_FORCE: @FO_ENUM_ENUM_GROOVE: @FO_ENUM_ENUM_HANGING: @FO_ENUM_ENUM_HIDDEN: @FO_ENUM_ENUM_HIDE: @FO_ENUM_ENUM_HIGH: @FO_ENUM_ENUM_HIGHER: @FO_ENUM_ENUM_HOVER: @FO_ENUM_ENUM_ICON: @FO_ENUM_ENUM_IDEOGRAPHIC: @FO_ENUM_ENUM_IGNORE: @FO_ENUM_ENUM_IGNORE_IF_AFTER_LINEFEED: @FO_ENUM_ENUM_IGNORE_IF_BEFORE_LINEFEED: @FO_ENUM_ENUM_IGNORE_IF_SURROUNDING_LINEFEED: @FO_ENUM_ENUM_INDEFINITE: @FO_ENUM_ENUM_INDENT: @FO_ENUM_ENUM_INSET: @FO_ENUM_ENUM_INSIDE: @FO_ENUM_ENUM_INTEGER_PIXELS: @FO_ENUM_ENUM_ITALIC: @FO_ENUM_ENUM_JUSTIFY: @FO_ENUM_ENUM_LANDSCAPE: @FO_ENUM_ENUM_LARGE: @FO_ENUM_ENUM_LARGER: @FO_ENUM_ENUM_LAST: @FO_ENUM_ENUM_LAST_ENDING_WITHIN_PAGE: @FO_ENUM_ENUM_LAST_STARTING_WITHIN_PAGE: @FO_ENUM_ENUM_LEFT: @FO_ENUM_ENUM_LEFTWARDS: @FO_ENUM_ENUM_LEFT_SIDE: @FO_ENUM_ENUM_LEVEL: @FO_ENUM_ENUM_LIGHTER: @FO_ENUM_ENUM_LINE: @FO_ENUM_ENUM_LINE_HEIGHT: @FO_ENUM_ENUM_LINE_THROUGH: @FO_ENUM_ENUM_LINK: @FO_ENUM_ENUM_LOUD: @FO_ENUM_ENUM_LOW: @FO_ENUM_ENUM_LOWER: @FO_ENUM_ENUM_LOWERCASE: @FO_ENUM_ENUM_LR: @FO_ENUM_ENUM_LR_TB: @FO_ENUM_ENUM_LTR: @FO_ENUM_ENUM_MATHEMATICAL: @FO_ENUM_ENUM_MAX_HEIGHT: @FO_ENUM_ENUM_MEDIUM: @FO_ENUM_ENUM_MENU: @FO_ENUM_ENUM_MESSAGE_BOX: @FO_ENUM_ENUM_MIDDLE: @FO_ENUM_ENUM_MIX: @FO_ENUM_ENUM_MONOSPACE: @FO_ENUM_ENUM_NARROWER: @FO_ENUM_ENUM_NEW: @FO_ENUM_ENUM_NONE: @FO_ENUM_ENUM_NON_UNIFORM: @FO_ENUM_ENUM_NORMAL: @FO_ENUM_ENUM_NOT_BLANK: @FO_ENUM_ENUM_NOWRAP: @FO_ENUM_ENUM_NO_BLINK: @FO_ENUM_ENUM_NO_CHANGE: @FO_ENUM_ENUM_NO_FORCE: @FO_ENUM_ENUM_NO_LIMIT: @FO_ENUM_ENUM_NO_LINE_THROUGH: @FO_ENUM_ENUM_NO_OVERLINE: @FO_ENUM_ENUM_NO_REPEAT: @FO_ENUM_ENUM_NO_UNDERLINE: @FO_ENUM_ENUM_NO_WRAP: @FO_ENUM_ENUM_OBLIQUE: @FO_ENUM_ENUM_ODD: @FO_ENUM_ENUM_ODD_PAGE: @FO_ENUM_ENUM_ONCE: @FO_ENUM_ENUM_OUTSET: @FO_ENUM_ENUM_OUTSIDE: @FO_ENUM_ENUM_OVERLINE: @FO_ENUM_ENUM_PAGE: @FO_ENUM_ENUM_PAGE_SEQUENCE: @FO_ENUM_ENUM_PAGINATE: @FO_ENUM_ENUM_PERCEPTUAL: @FO_ENUM_ENUM_PORTRAIT: @FO_ENUM_ENUM_PRE: @FO_ENUM_ENUM_PRESERVE: @FO_ENUM_ENUM_REFERENCE_AREA: @FO_ENUM_ENUM_RELATIVE: @FO_ENUM_ENUM_RELATIVE_COLORIMETRIC: @FO_ENUM_ENUM_REPEAT: @FO_ENUM_ENUM_REPEAT_X: @FO_ENUM_ENUM_REPEAT_Y: @FO_ENUM_ENUM_REPLACE: @FO_ENUM_ENUM_RESAMPLE_ANY_METHOD: @FO_ENUM_ENUM_RESET_SIZE: @FO_ENUM_ENUM_REST: @FO_ENUM_ENUM_RETAIN: @FO_ENUM_ENUM_RIDGE: @FO_ENUM_ENUM_RIGHT: @FO_ENUM_ENUM_RIGHTWARDS: @FO_ENUM_ENUM_RIGHT_SIDE: @FO_ENUM_ENUM_RL: @FO_ENUM_ENUM_RL_TB: @FO_ENUM_ENUM_RTL: @FO_ENUM_ENUM_RULE: @FO_ENUM_ENUM_SANS_SERIF: @FO_ENUM_ENUM_SATURATION: @FO_ENUM_ENUM_SCALE_TO_FIT: @FO_ENUM_ENUM_SCROLL: @FO_ENUM_ENUM_SEMI_CONDENSED: @FO_ENUM_ENUM_SEMI_EXPANDED: @FO_ENUM_ENUM_SEPARATE: @FO_ENUM_ENUM_SERIF: @FO_ENUM_ENUM_SHOW: @FO_ENUM_ENUM_SILENT: @FO_ENUM_ENUM_SLOW: @FO_ENUM_ENUM_SLOWER: @FO_ENUM_ENUM_SMALL: @FO_ENUM_ENUM_SMALLER: @FO_ENUM_ENUM_SMALL_CAPS: @FO_ENUM_ENUM_SMALL_CAPTION: @FO_ENUM_ENUM_SOFT: @FO_ENUM_ENUM_SOLID: @FO_ENUM_ENUM_SPACE: @FO_ENUM_ENUM_SPELL_OUT: @FO_ENUM_ENUM_START: @FO_ENUM_ENUM_STATIC: @FO_ENUM_ENUM_STATUS_BAR: @FO_ENUM_ENUM_STRING: @FO_ENUM_ENUM_SUB: @FO_ENUM_ENUM_SUPER: @FO_ENUM_ENUM_SUPPRESS: @FO_ENUM_ENUM_TB: @FO_ENUM_ENUM_TB_RL: @FO_ENUM_ENUM_TEXT_AFTER_EDGE: @FO_ENUM_ENUM_TEXT_BEFORE_EDGE: @FO_ENUM_ENUM_TEXT_BOTTOM: @FO_ENUM_ENUM_TEXT_TOP: @FO_ENUM_ENUM_THICK: @FO_ENUM_ENUM_THIN: @FO_ENUM_ENUM_TOP: @FO_ENUM_ENUM_TRADITIONAL: @FO_ENUM_ENUM_TRANSPARENT: @FO_ENUM_ENUM_TREAT_AS_SPACE: @FO_ENUM_ENUM_TREAT_AS_ZERO_WIDTH_SPACE: @FO_ENUM_ENUM_TRUE: @FO_ENUM_ENUM_ULTRA_CONDENSED: @FO_ENUM_ENUM_ULTRA_EXPANDED: @FO_ENUM_ENUM_UNBOUNDED: @FO_ENUM_ENUM_UNDERLINE: @FO_ENUM_ENUM_UNIFORM: @FO_ENUM_ENUM_UPPERCASE: @FO_ENUM_ENUM_USE_CONTENT: @FO_ENUM_ENUM_USE_FONT_METRICS: @FO_ENUM_ENUM_USE_NORMAL_STYLESHEET: @FO_ENUM_ENUM_USE_SCRIPT: @FO_ENUM_ENUM_USE_TARGET_PROCESSING_CONTEXT: @FO_ENUM_ENUM_VISIBLE: @FO_ENUM_ENUM_VISITED: @FO_ENUM_ENUM_WIDER: @FO_ENUM_ENUM_WRAP: @FO_ENUM_ENUM_XSL_ANY: @FO_ENUM_ENUM_XSL_BEFORE_FLOAT_SEPARATOR: @FO_ENUM_ENUM_XSL_FOLLOWING: @FO_ENUM_ENUM_XSL_FOOTNOTE_SEPARATOR: @FO_ENUM_ENUM_XSL_PRECEDING: @FO_ENUM_ENUM_XSL_REGION_AFTER: @FO_ENUM_ENUM_XSL_REGION_BEFORE: @FO_ENUM_ENUM_XSL_REGION_BODY: @FO_ENUM_ENUM_XSL_REGION_END: @FO_ENUM_ENUM_XSL_REGION_START: @FO_ENUM_ENUM_XX_LARGE: @FO_ENUM_ENUM_XX_SMALL: @FO_ENUM_ENUM_X_FAST: @FO_ENUM_ENUM_X_HIGH: @FO_ENUM_ENUM_X_LARGE: @FO_ENUM_ENUM_X_LOUD: @FO_ENUM_ENUM_X_LOW: @FO_ENUM_ENUM_X_SLOW: @FO_ENUM_ENUM_X_SMALL: @FO_ENUM_ENUM_X_SOFT: @FO_ENUM_ENUM__180: @FO_ENUM_ENUM__270: @FO_ENUM_ENUM__90: @FO_ENUM_ENUM_LIMIT: @Returns: @enum_class: @value: @Returns: @fo_enum: @Returns: @fo_enum: @Returns: @fo_enum: @Returns: @Returns: @enum_value: @Returns: @name: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-error.sgml0000644000175000017500000000116111156164730014443 00000000000000 FoError @Returns: @value: @Returns: @error: @Returns: xmlroff-0.6.2/docs/tmpl/fo-expression.sgml0000644000175000017500000000132311156164730015511 00000000000000 FoExpression @Returns: @expression: @Returns: @expression: @new_value: xmlroff-0.6.2/docs/tmpl/fo-expr-eval.sgml0000644000175000017500000001066511156164730015226 00000000000000 fo-expr-eval @context: @nargs: @Returns: @Returns: @FO_EXPR_ERROR_FAILED: @FO_EXPR_ERROR_NULL_RESULT: @FO_EXPR_ERROR_ERROR_RESULT: @FO_EXPR_ERROR_EXTRA_STACK: @FO_EXPR_ERROR_EXTRA_EXPR: @Returns: @FO_EXPR_EVAL_ERROR_FAILED: @FO_EXPR_EVAL_ERROR_UNFINISHED_LITERAL: @FO_EXPR_EVAL_ERROR_START_LITERAL: @FO_EXPR_EVAL_ERROR_EXPR_ERROR: @FO_EXPR_EVAL_ERROR_UNKNOWN_FUNC: @FO_EXPR_EVAL_ERROR_INVALID_ARITY: @FO_EXPR_EVAL_ERROR_INVALID_TYPE: @FO_EXPR_EVAL_ERROR_NOT_INHERITED: @FO_EXPR_EVAL_ERROR_INVALID_PROPERTY: @FO_EXPR_EVAL_ERROR_FUNCTION_INVALID_PROPERTY: @FO_EXPR_EVAL_ERROR_NOT_TABLE_CELL_OR_DESCENDANT: @FO_EXPR_EVAL_ERROR_NO_TABLE_CELL_COLUMN: @FO_EXPR_EVAL_ERROR_NOT_LIST_BLOCK_OR_DESCENDANT: @FO_EXPR_EVAL_ERROR_NOT_TABLE_COLUMN: @FO_EXPR_EVAL_ERROR_NOT_COLUMN_WIDTH: @FO_EXPR_EVAL_ERROR_NOT_FIXED_METHOD: @FO_EXPR_EVAL_ERROR_COLOR_DECL: @FO_EXPR_EVAL_ERROR_UNKNOWN_OPERATOR: @FO_EXPR_EVAL_ERROR_FUNC_RETURN_NULL: @FO_EXPR_EVAL_ERROR_CANNOT_INHERIT: @FO_EXPR_EVAL_ERROR_NO_RESOLVE_PERCENT_FUNC: @FO_EXPR_EVAL_ERROR_UNFINISHED_URL: @FO_EXPR_EVAL_ERROR_LAST: @string: @property_name: @resolve_enum_func: @resolve_percent_func: @font_size_prop: @current_fo: @fo_context: @env_list: @error: @Returns: @string: @property_name: @resolve_enum_func: @resolve_percent_func: @font_size_prop: @current_fo: @fo_context: @env_list: @error: @Returns: @string: @property_name: @resolve_enum_func: @resolve_percent_func: @font_size_prop: @current_fo: @fo_context: @env_list: @error: @Returns: @string: @property_name: @resolve_enum_func: @resolve_percent_func: @font_size_prop: @current_fo: @fo_context: @env_list: @error: @Returns: @string: @property_name: @resolve_enum_func: @resolve_percent_func: @font_size_prop: @current_fo: @fo_context: @env_list: @error: @Returns: @context: @error_type: @Returns: @context: @error: @Returns: @context: @datatype: @context: @Returns: @context: @Returns: @context: @Returns: @context: @name: @Returns: @context: @Returns: @env: @name: @func: @Returns: @env: @name: @Returns: @Returns: @env_list: @env_list: @env: @Returns: @env_list: @name: @Returns: xmlroff-0.6.2/docs/tmpl/fo-external-graphic.sgml0000644000175000017500000005125511156164730016560 00000000000000 external-graphic @Returns: @base_uri: @Returns: @fo_fo: @Returns: @fo_fo: @new_alignment_adjust: @fo_fo: @Returns: @fo_fo: @new_alignment_baseline: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @Returns: @fo_fo: @new_baseline_shift: @fo_fo: @Returns: @fo_fo: @new_block_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_clip: @fo_fo: @Returns: @fo_fo: @new_content_height: @fo_fo: @Returns: @fo_fo: @new_content_type: @fo_fo: @Returns: @fo_fo: @new_content_width: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_dominant_baseline: @fo_fo: @Returns: @fo_fo: @new_height: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_inline_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_overflow: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_scaling: @fo_fo: @Returns: @fo_fo: @new_scaling_method: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: @fo_fo: @Returns: @fo_fo: @new_src: @fo_fo: @Returns: @fo_fo: @new_text_align: @fo_fo: @Returns: @fo_fo: @new_width: xmlroff-0.6.2/docs/tmpl/fo-float.sgml0000644000175000017500000000067211156164730014425 00000000000000 float @Returns: xmlroff-0.6.2/docs/tmpl/fo-flow.sgml0000644000175000017500000000141411156164730014262 00000000000000 flow @Returns: @fo_fo: @Returns: @fo_fo: @new_flow_name: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-font-desc.sgml0000644000175000017500000000252111156164730015175 00000000000000 FoFontDesc @Returns: @FO_FONT_DESC_ERROR_FAILED: @Returns: @font_desc: @Returns: @font_desc: @family: @font_desc: @size: @font_desc: @style: @font_desc: @stretch: @font_desc: @variant: @font_desc: @weight: xmlroff-0.6.2/docs/tmpl/fo-footnote-body.sgml0000644000175000017500000000177611156164730016116 00000000000000 footnote-body @Returns: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-footnote.sgml0000644000175000017500000000172011156164730015150 00000000000000 footnote @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-fo.sgml0000644000175000017500000000770111156164730013724 00000000000000 FoFo @Returns: @FO_FO_ERROR_FAILED: @FO_FO_ERROR_WARNING: @FO_FO_ERROR_EMPTY: @FO_FO_ERROR_NOT_EMPTY: @FO_FO_ERROR_NOT_BLOCK: @FO_FO_ERROR_INVALID_CHILD: @FO_FO_ERROR_INVALID_CONTENT: @FO_FO_ERROR_ENUMERATION_TOKEN: @FO_FO_ERROR_DATATYPE: @FO_FO_ERROR_DATATYPE_REPLACE: @FO_FO_ERROR_DATATYPE_NULL: @FO_FO_ERROR_UNSUPPORTED_PROPERTY: @FO_FO_ERROR_NO_IMAGE: @FO_FO_ERROR_LAST: @fo_doc: @parent_area: @new_area: @continue_after_error: @debug_level: @warning_mode: @Returns: @fo: @depth: @fo_fo: @new_context: @fo_fo: @Returns: @fo_fo: @context: @fo_fo: @Returns: @fo_fo: @Returns: @fo_fo: @Returns: @fo_fo: @Returns: @fo: @error: @Returns: @fo_node: @data: @Returns: @this_fo: @this_fo_parent_area: @new_area: @prop_eval_hash: @fo_doc: @continue_after_error: @debug_level: @warning_mode: @error: @fo: @current_context: @parent_context: @error: @original: @Returns: @fo: @fo_doc: @parent_area: @new_area: @debug_level: @fo: @context: @error: @fo: @fo: @error: @Returns: @fo: @error: @Returns: @fo_node: @is_not_pcdata_inline: @fo_node: @is_not_block_or_whitespace: @fo_node: @data: @fo: @Returns: @iterator: @Returns: @iterator: @Returns: xmlroff-0.6.2/docs/tmpl/fo-hash-table.sgml0000644000175000017500000000221211156164730015320 00000000000000 FoHashTable @Returns: @Returns: @fo_hash_table: @key: @value: @error: @fo_hash_table: @key: @value: @error: @fo_hash_table: @key: @error: @Returns: @fo_hash_table: @key: @error: @Returns: @fo_hash_table: @Returns: xmlroff-0.6.2/docs/tmpl/fo-id.sgml0000644000175000017500000000111311156164730013703 00000000000000 FoId @value: @Returns: @id: @Returns: xmlroff-0.6.2/docs/tmpl/fo-image.sgml0000644000175000017500000000145511156164730014402 00000000000000 FoImage @Returns: @uri: @base: @Returns: @fo_image: @Returns: @fo_image: @Returns: @fo_image: @Returns: xmlroff-0.6.2/docs/tmpl/fo-initial-property-set.sgml0000644000175000017500000003523011156164730017422 00000000000000 initial-property-set @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_color: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_score_spaces: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-inline-container.sgml0000644000175000017500000004674411156164730016570 00000000000000 inline-container @Returns: @fo_fo: @Returns: @fo_fo: @new_alignment_adjust: @fo_fo: @Returns: @fo_fo: @new_alignment_baseline: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_baseline_shift: @fo_fo: @Returns: @fo_fo: @new_block_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_clip: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_dominant_baseline: @fo_fo: @Returns: @fo_fo: @new_height: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_inline_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_overflow: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: @fo_fo: @Returns: @fo_fo: @new_width: @fo_fo: @Returns: @fo_fo: @new_writing_mode: xmlroff-0.6.2/docs/tmpl/fo-inline-fo.sgml0000644000175000017500000000161111156164730015172 00000000000000 FoInlineFoIface @obj: @fo_inline_fo: @fo_doc: @text: @attr_glist: @debug_level: @string: @Returns: @string: @Returns: @string: @Returns: xmlroff-0.6.2/docs/tmpl/fo-inline.sgml0000644000175000017500000004631211156164730014577 00000000000000 inline @Returns: @fo_fo: @Returns: @fo_fo: @new_alignment_adjust: @fo_fo: @Returns: @fo_fo: @new_alignment_baseline: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_baseline_shift: @fo_fo: @Returns: @fo_fo: @new_block_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_color: @fo_fo: @Returns: @fo_fo: @new_dominant_baseline: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_height: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_inline_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: @fo_fo: @Returns: @fo_fo: @new_width: @fo_fo: @Returns: @fo_fo: @new_wrap_option: xmlroff-0.6.2/docs/tmpl/fo-instream-foreign-object.sgml0000644000175000017500000005270011156164730020034 00000000000000 instream-foreign-object @Returns: @fo_fo: @Returns: @fo_fo: @new_alignment_adjust: @fo_fo: @Returns: @fo_fo: @new_alignment_baseline: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_baseline_shift: @fo_fo: @Returns: @fo_fo: @new_block_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_clip: @fo_fo: @Returns: @fo_fo: @new_content_height: @fo_fo: @Returns: @fo_fo: @new_content_type: @fo_fo: @Returns: @fo_fo: @new_content_width: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_dominant_baseline: @fo_fo: @Returns: @fo_fo: @new_height: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_inline_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_overflow: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_scaling: @fo_fo: @Returns: @fo_fo: @new_scaling_method: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: @fo_fo: @Returns: @fo_fo: @new_text_align: @fo_fo: @Returns: @fo_fo: @new_width: xmlroff-0.6.2/docs/tmpl/fo-integer.sgml0000644000175000017500000000232411156164730014751 00000000000000 FoInteger @value: @Returns: @integer: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-keep.sgml0000644000175000017500000000313111156164730014235 00000000000000 FoKeep @object: @Returns: @Returns: @value: @Returns: @Returns: @Returns: @datatype: @Returns: @datatype: @Returns: @datatype: @Returns: @shortform: @within_line: @within_column: @within_page: @error: @Returns: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-layout-cairo.sgml0000644000175000017500000000113611156164730015724 00000000000000 FoLayoutCairo @parent_instance: @parent_class: @Returns: @fo_doc: @Returns: xmlroff-0.6.2/docs/tmpl/fo-layout-gp.sgml0000644000175000017500000000105611156164730015236 00000000000000 fo-layout-gp @Returns: @fo_doc: @Returns: xmlroff-0.6.2/docs/tmpl/fo-layout-master-set.sgml0000644000175000017500000000074611156164730016721 00000000000000 layout-master-set @Returns: xmlroff-0.6.2/docs/tmpl/fo-layout.sgml0000644000175000017500000000414411156164730014633 00000000000000 FoLayout @Returns: @FO_LAYOUT_ERROR_FAILED: @x: @y: @width: @height: @Returns: @fo_doc: @Returns: @src: @Returns: @fo_layout: @attr_glist: @fo_layout: @text: @fo_layout: @width: @fo_layout: @desc: @fo_layout: @alignment: @fo_layout: @indent: @fo_layout: @justify: @fo_layout: @Returns: @fo_layout: @logical_rect: @fo_layout: @line_index: @logical_rect: @fo_layout: @line_height: @fo_layout: @line_stacking_strategy: xmlroff-0.6.2/docs/tmpl/fo-leader.sgml0000644000175000017500000004121511156164730014552 00000000000000 leader @Returns: @fo_fo: @Returns: @fo_fo: @new_alignment_adjust: @fo_fo: @Returns: @fo_fo: @new_alignment_baseline: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_baseline_shift: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_color: @fo_fo: @Returns: @fo_fo: @new_dominant_baseline: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: xmlroff-0.6.2/docs/tmpl/fo-length-bp-ip-d.sgml0000644000175000017500000000165011156164730016024 00000000000000 FoLengthBpIpD @Returns: @length_bpd: @length_ipd: @Returns: @datatype: @Returns: @datatype: @Returns: xmlroff-0.6.2/docs/tmpl/fo-length-conditional.sgml0000644000175000017500000000263011156164730017076 00000000000000 FoLengthCond @Returns: @length: @condity: @Returns: @length: @Returns: @datatype: @Returns: @datatype: @new_length: @datatype: @Returns: @datatype: @new_condity: @Returns: @shortform: @length: @condity: @error: @Returns: xmlroff-0.6.2/docs/tmpl/fo-length-range.sgml0000644000175000017500000000317611156164730015675 00000000000000 FoLengthRange @object: @Returns: @Returns: @datatype: @Returns: @datatype: @Returns: @datatype: @Returns: @datatype: @Returns: @shortform: @minimum: @optimum: @maximum: @hundred_percent: @error: @Returns: @shortform: @minimum: @optimum: @maximum: @hundred_percent: @error: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-length.sgml0000644000175000017500000000305611156164730014600 00000000000000 FoLength @value: @Returns: @count: @Returns: @length: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-libfo-basic.sgml0000644000175000017500000000253411156164730015471 00000000000000 fo-libfo-basic @FO_LIBFO_BASIC_ERROR_FAILED: @FO_LIBFO_BASIC_ERROR_UNKNOWN_FORMAT: @FO_LIBFO_BASIC_ERROR_WARNING: @FO_LIBFO_BASIC_ERROR_LAST: @Returns: @Returns: @n_bytes: @Returns: @mem: @n_bytes: @Returns: @mem: @fo_malloc: @fo_realloc: @fo_free: @Returns: @Returns: @Returns: @xml: @xslt: @out: @error: @Returns: xmlroff-0.6.2/docs/tmpl/fo-libfo-context.sgml0000644000175000017500000000445111156164730016074 00000000000000 FoLibfoContext @FO_FLAG_FORMAT_UNKNOWN: @FO_FLAG_FORMAT_AUTO: @FO_FLAG_FORMAT_PDF: @FO_FLAG_FORMAT_POSTSCRIPT: @FO_FLAG_FORMAT_SVG: @FO_ENUM_FONT_EMBED_INVALID: @FO_ENUM_FONT_EMBED_ALL: @FO_ENUM_FONT_EMBED_NONBASE: @FO_ENUM_FONT_EMBED_NONE: @Returns: @Returns: @libfo_context: @Returns: @libfo_context: @continue_after_error: @libfo_context: @Returns: @libfo_context: @format: @libfo_context: @Returns: @libfo_context: @font_embed: @libfo_context: @Returns: @libfo_context: @validation: @libfo_context: @Returns: @libfo_context: @warning_mode: @libfo_context: @Returns: @libfo_context: @debug_mode: xmlroff-0.6.2/docs/tmpl/fo-libfo-module.sgml0000644000175000017500000000142511156164730015673 00000000000000 fo-libfo-module @module_instance: @module_class: @version: @version_string: @version_info: @name: @Returns: @name: @Returns: @name: @Returns: xmlroff-0.6.2/docs/tmpl/fo-list-block.sgml0000644000175000017500000004470411156164730015367 00000000000000 list-block @Returns: @fo_fo: @Returns: @fo_fo: @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_break_after: @fo_fo: @Returns: @fo_fo: @new_break_before: @fo_fo: @Returns: @fo_fo: @new_end_indent: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_margin_bottom: @fo_fo: @Returns: @fo_fo: @new_margin_left: @fo_fo: @Returns: @fo_fo: @new_margin_right: @fo_fo: @Returns: @fo_fo: @new_margin_top: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_provisional_distance_between_starts: @fo_fo: @Returns: @fo_fo: @new_provisional_label_separation: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_after: @fo_fo: @Returns: @fo_fo: @new_space_before: @fo_fo: @Returns: @fo_fo: @new_start_indent: xmlroff-0.6.2/docs/tmpl/fo-list-item-body.sgml0000644000175000017500000000503711156164730016162 00000000000000 list-item-body @Returns: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-list-item-label.sgml0000644000175000017500000000507011156164730016301 00000000000000 list-item-label @Returns: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-list-item.sgml0000644000175000017500000004240711156164730015231 00000000000000 list-item @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_break_after: @fo_fo: @Returns: @fo_fo: @new_break_before: @fo_fo: @Returns: @fo_fo: @new_end_indent: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_margin_bottom: @fo_fo: @Returns: @fo_fo: @new_margin_left: @fo_fo: @Returns: @fo_fo: @new_margin_right: @fo_fo: @Returns: @fo_fo: @new_margin_top: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_after: @fo_fo: @Returns: @fo_fo: @new_space_before: @fo_fo: @Returns: @fo_fo: @new_start_indent: xmlroff-0.6.2/docs/tmpl/fo-marker-parent.sgml0000644000175000017500000000110211156164730016055 00000000000000 fo-marker-parent @Returns: @fo: @context: xmlroff-0.6.2/docs/tmpl/fo-marker.sgml0000644000175000017500000000067611156164730014605 00000000000000 marker @Returns: xmlroff-0.6.2/docs/tmpl/fo-multi-case.sgml0000644000175000017500000000231411156164730015356 00000000000000 multi-case @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-multi-properties.sgml0000644000175000017500000000243211156164730016640 00000000000000 multi-properties @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-multi-property-set.sgml0000644000175000017500000000135511156164730017124 00000000000000 multi-property-set @Returns: @fo_fo: @new_id: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-multi-switch.sgml0000644000175000017500000000234611156164730015751 00000000000000 multi-switch @Returns: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-multi-toggle.sgml0000644000175000017500000000234611156164730015731 00000000000000 multi-toggle @Returns: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-name.sgml0000644000175000017500000000136411156164730014237 00000000000000 FoName @Returns: @value: @Returns: @name: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-neutral-fo.sgml0000644000175000017500000000073011156164730015367 00000000000000 FoNeutralFoIface @obj: @g_iface: xmlroff-0.6.2/docs/tmpl/fo-node.sgml0000644000175000017500000000736211156164730014250 00000000000000 FoNode @Returns: @fo_node: @data: @Returns: @fo_node: @data: @fo_node: @fo_node: @node: @type: @Returns: @node: @name: @Returns: @node: @type: @Returns: @node: @name: @Returns: @parent: @position: @fo_node: @Returns: @parent: @sibling: @fo_node: @Returns: @parent: @sibling: @fo_node: @Returns: @parent: @fo_node: @Returns: @root: @flags: @root: @fo_node: @descendant: @fo_node: @parent: @fo_node: @Returns: @root: @order: @flags: @max_depth: @func: @data: @root: @fo_node: @flags: @func: @data: @fo_node: @fo_node: @fo_node: @n: @fo_node: @fo_node: @child: @fo_node: @fo_node: @fo_node: @fo_node: @Returns: @fo_node: @Returns: @fo_node: @Returns: @fo_node: @fo_node: @parent: @position: @fo_node: @Returns: @fo_node: @depth: xmlroff-0.6.2/docs/tmpl/fo-number.sgml0000644000175000017500000000140611156164730014604 00000000000000 FoNumber @Returns: @value: @Returns: @number: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-numeric.sgml0000644000175000017500000000070411156164730014756 00000000000000 FoNumeric @Returns: xmlroff-0.6.2/docs/tmpl/fo-object.sgml0000644000175000017500000000313011156164730014556 00000000000000 FoObject @parent_class: @debug_dump: @debug_sprintf: @print_sprintf: @log_error: @log_warning: @log_debug: @log_or_propagate_error: @maybe_propagate_error: @hash_func: @equal_func: @Returns: @object: @depth: @object: @Returns: @object: @Returns: @object: @error: @object: @warning: @object: @debug: @fo_object: @dest: @src: @Returns: @fo_object: @dest: @src: @continue_after_error: @Returns: @object: @error: @Returns: @a: @b: @error: @Returns: xmlroff-0.6.2/docs/tmpl/fo-page-number-citation.sgml0000644000175000017500000004713311156164730017335 00000000000000 page-number-citation @Returns: @fo_fo: @Returns: @fo_fo: @new_alignment_adjust: @fo_fo: @Returns: @fo_fo: @new_alignment_baseline: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_baseline_shift: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_dominant_baseline: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_ref_id: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_score_spaces: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: @fo_fo: @Returns: @fo_fo: @new_wrap_option: xmlroff-0.6.2/docs/tmpl/fo-page-number.sgml0000644000175000017500000004341011156164730015517 00000000000000 page-number @Returns: @fo_fo: @Returns: @fo_fo: @new_alignment_adjust: @fo_fo: @Returns: @fo_fo: @new_alignment_baseline: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_baseline_shift: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_dominant_baseline: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_score_spaces: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: @fo_fo: @Returns: @fo_fo: @new_wrap_option: xmlroff-0.6.2/docs/tmpl/fo-page-sequence-master.sgml0000644000175000017500000000143711156164730017333 00000000000000 page-sequence-master @Returns: @fo_fo: @new_master_name: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-page-sequence.sgml0000644000175000017500000000416211156164730016040 00000000000000 page-sequence @Returns: @fo_fo: @Returns: @fo_fo: @new_format: @fo_fo: @Returns: @fo_fo: @new_grouping_separator: @fo_fo: @Returns: @fo_fo: @new_grouping_size: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_letter_value: @fo_fo: @Returns: @fo_fo: @new_master_reference: xmlroff-0.6.2/docs/tmpl/fo-pcw.sgml0000644000175000017500000000126311156164730014106 00000000000000 FoPcw @Returns: @value: @Returns: @pcw: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-percentage.sgml0000644000175000017500000000162611156164730015435 00000000000000 FoPercentage @Returns: @value: @Returns: @percentage: @Returns: @percentage: @new_value: @Returns: xmlroff-0.6.2/docs/tmpl/fo-pixbuf.sgml0000644000175000017500000000123311156164730014607 00000000000000 FoPixbuf @obj: @g_iface: @get_pixbuf: @set_pixbuf: @fo_image: @Returns: @fo_image: @pixbuf: xmlroff-0.6.2/docs/tmpl/fo-property-alignment-adjust.sgml0000644000175000017500000000114211156164730020441 00000000000000 alignment-adjust @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-alignment-baseline.sgml0000644000175000017500000000115411156164730020734 00000000000000 alignment-baseline @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-background-color.sgml0000644000175000017500000000114211156164730020426 00000000000000 background-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-background-image.sgml0000644000175000017500000000114211156164730020372 00000000000000 background-image @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-baseline-shift.sgml0000644000175000017500000000113011156164730020065 00000000000000 baseline-shift @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-block-progression-dimension-maximum.sgml0000644000175000017500000000127511156164730024302 00000000000000 block-progression-dimension.maximum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-block-progression-dimension-minimum.sgml0000644000175000017500000000127511156164730024300 00000000000000 block-progression-dimension.minimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-block-progression-dimension-optimum.sgml0000644000175000017500000000127511156164730024317 00000000000000 block-progression-dimension.optimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-block-progression-dimension.sgml0000644000175000017500000000122711156164730022624 00000000000000 block-progression-dimension @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-after-color.sgml0000644000175000017500000000115211156164730020664 00000000000000 border-after-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-after-precedence.sgml0000644000175000017500000000120311156164730021640 00000000000000 border-after-precedence @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-after-style.sgml0000644000175000017500000000115211156164730020706 00000000000000 border-after-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-after-width.sgml0000644000175000017500000000115211156164730020665 00000000000000 border-after-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-before-color.sgml0000644000175000017500000000115711156164730021032 00000000000000 border-before-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-before-precedence.sgml0000644000175000017500000000121011156164730021777 00000000000000 border-before-precedence @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-before-style.sgml0000644000175000017500000000115711156164730021054 00000000000000 border-before-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-before-width.sgml0000644000175000017500000000115711156164730021033 00000000000000 border-before-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-bottom-color.sgml0000644000175000017500000000115711156164730021074 00000000000000 border-bottom-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-bottom.sgml0000644000175000017500000000112311156164730017751 00000000000000 border-bottom @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-bottom-style.sgml0000644000175000017500000000115711156164730021116 00000000000000 border-bottom-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-bottom-width.sgml0000644000175000017500000000115711156164730021075 00000000000000 border-bottom-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-collapse.sgml0000644000175000017500000000113511156164730020252 00000000000000 border-collapse @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-color.sgml0000644000175000017500000000113211156164730017563 00000000000000 fo-property-border-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-end-color.sgml0000644000175000017500000000114011156164730020326 00000000000000 border-end-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-end-precedence.sgml0000644000175000017500000000117111156164730021311 00000000000000 border-end-precedence @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-end-style.sgml0000644000175000017500000000114011156164730020350 00000000000000 border-end-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-end-width.sgml0000644000175000017500000000114011156164730020327 00000000000000 border-end-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-left-color.sgml0000644000175000017500000000114511156164730020517 00000000000000 border-left-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-left.sgml0000644000175000017500000000111111156164730017374 00000000000000 border-left @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-left-style.sgml0000644000175000017500000000114511156164730020541 00000000000000 border-left-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-left-width.sgml0000644000175000017500000000114511156164730020520 00000000000000 border-left-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-right-color.sgml0000644000175000017500000000115211156164730020700 00000000000000 border-right-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-right.sgml0000644000175000017500000000111611156164730017564 00000000000000 border-right @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-right-style.sgml0000644000175000017500000000115211156164730020722 00000000000000 border-right-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-right-width.sgml0000644000175000017500000000115211156164730020701 00000000000000 border-right-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-separation.sgml0000644000175000017500000000114711156164730020620 00000000000000 border-separation @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border.sgml0000644000175000017500000000106211156164730016451 00000000000000 border @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-start-color.sgml0000644000175000017500000000115211156164730020720 00000000000000 border-start-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-start-precedence.sgml0000644000175000017500000000120311156164730021674 00000000000000 border-start-precedence @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-start-style.sgml0000644000175000017500000000115211156164730020742 00000000000000 border-start-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-start-width.sgml0000644000175000017500000000115211156164730020721 00000000000000 border-start-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-style.sgml0000644000175000017500000000111611156164730017607 00000000000000 border-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-top-color.sgml0000644000175000017500000000114011156164730020362 00000000000000 border-top-color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-top.sgml0000644000175000017500000000110411156164730017246 00000000000000 border-top @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-top-style.sgml0000644000175000017500000000114011156164730020404 00000000000000 border-top-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-top-width.sgml0000644000175000017500000000114011156164730020363 00000000000000 border-top-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-border-width.sgml0000644000175000017500000000111611156164730017566 00000000000000 border-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-break-after.sgml0000644000175000017500000000111111156164730017352 00000000000000 break-after @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-break-before.sgml0000644000175000017500000000111611156164730017520 00000000000000 break-before @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-character.sgml0000644000175000017500000000110111156164730017122 00000000000000 character @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-clip.sgml0000644000175000017500000000105011156164730016120 00000000000000 clip @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-color.sgml0000644000175000017500000000105511156164730016314 00000000000000 color @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-column-number.sgml0000644000175000017500000000112311156164730017755 00000000000000 column-number @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-column-width.sgml0000644000175000017500000000135511156164730017613 00000000000000 column-width @Returns: @Returns: @percentage: @font_size: @fo_node: @context: @error: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-common-font.sgml0000644000175000017500000000075311156164730017436 00000000000000 fo-property-common-font @font_family: @font_size: @font_stretch: @font_style: @font_variant: @font_weight: @start_index: @end_index: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-content-height.sgml0000644000175000017500000000113011156164730020110 00000000000000 content-height @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-content-type.sgml0000644000175000017500000000111611156164730017625 00000000000000 content-type @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-content-width.sgml0000644000175000017500000000112311156164730017761 00000000000000 content-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-direction.sgml0000644000175000017500000000110111156164730017146 00000000000000 direction @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-display-align.sgml0000644000175000017500000000112311156164730017727 00000000000000 display-align @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-dominant-baseline.sgml0000644000175000017500000000114711156164730020571 00000000000000 dominant-baseline @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-end-indent.sgml0000644000175000017500000000110411156164730017216 00000000000000 end-indent @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-eval.sgml0000644000175000017500000000055211156164730016126 00000000000000 fo-property-eval @hash: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-extent.sgml0000644000175000017500000000106211156164730016503 00000000000000 extent @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-flow-name.sgml0000644000175000017500000000107711156164730017067 00000000000000 flow-name @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-font-family.sgml0000644000175000017500000000111111156164730017414 00000000000000 font-family @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-font-size.sgml0000644000175000017500000000107711156164730017120 00000000000000 font-size @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-font-stretch.sgml0000644000175000017500000000111611156164730017614 00000000000000 font-stretch @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-font-style.sgml0000644000175000017500000000110411156164730017275 00000000000000 font-style @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-font-variant.sgml0000644000175000017500000000111611156164730017604 00000000000000 font-variant @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-font-weight.sgml0000644000175000017500000000124611156164730017433 00000000000000 font-weight @Returns: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-format.sgml0000644000175000017500000000106211156164730016464 00000000000000 format @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-grouping-separator.sgml0000644000175000017500000000115411156164730021026 00000000000000 grouping-separator @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-grouping-size.sgml0000644000175000017500000000112311156164730017774 00000000000000 grouping-size @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-height.sgml0000644000175000017500000000106211156164730016444 00000000000000 height @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-id.sgml0000644000175000017500000000103611156164730015571 00000000000000 id @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-inline-progression-dimension-maximum.sgml0000644000175000017500000000130211156164730024455 00000000000000 inline-progression-dimension.maximum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-inline-progression-dimension-minimum.sgml0000644000175000017500000000130211156164730024453 00000000000000 inline-progression-dimension.minimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-inline-progression-dimension-optimum.sgml0000644000175000017500000000130211156164730024472 00000000000000 inline-progression-dimension.optimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-inline-progression-dimension.sgml0000644000175000017500000000123411156164730023006 00000000000000 inline-progression-dimension @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-together.sgml0000644000175000017500000000112311156164730017735 00000000000000 keep-together @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-together-within-column.sgml0000644000175000017500000000122511156164730022533 00000000000000 keep-together.within-column @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-together-within-line.sgml0000644000175000017500000000121311156164730022162 00000000000000 keep-together.within-line @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-together-within-page.sgml0000644000175000017500000000121311156164730022147 00000000000000 keep-together.within-page @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-with-next.sgml0000644000175000017500000000112611156164730020046 00000000000000 keep-with-next @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-with-next-within-column.sgml0000644000175000017500000000123011156164730022635 00000000000000 keep-with-next.within-column @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-with-next-within-line.sgml0000644000175000017500000000121611156164730022273 00000000000000 keep-with-next.within-line @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-with-next-within-page.sgml0000644000175000017500000000121611156164730022260 00000000000000 keep-with-next.within-page @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-with-previous.sgml0000644000175000017500000000115211156164730020743 00000000000000 keep-with-previous @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-with-previous-within-column.sgml0000644000175000017500000000125411156164730023541 00000000000000 keep-with-previous.within-column @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-with-previous-within-line.sgml0000644000175000017500000000124211156164730023170 00000000000000 keep-with-previous.within-line @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-keep-with-previous-within-page.sgml0000644000175000017500000000124211156164730023155 00000000000000 keep-with-previous.within-page @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-letter-value.sgml0000644000175000017500000000111611156164730017605 00000000000000 letter-value @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-linefeed-treatment.sgml0000644000175000017500000000115411156164730020752 00000000000000 linefeed-treatment @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-line-height.sgml0000644000175000017500000000130111156164730017365 00000000000000 line-height @Returns: @Returns: @line_height: @font_size: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-line-stacking-strategy.sgml0000644000175000017500000000117611156164730021572 00000000000000 line-stacking-strategy @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-margin-bottom.sgml0000644000175000017500000000112311156164730017751 00000000000000 margin-bottom @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-margin-left.sgml0000644000175000017500000000111111156164730017374 00000000000000 margin-left @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-margin-right.sgml0000644000175000017500000000111611156164730017564 00000000000000 margin-right @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-margin.sgml0000644000175000017500000000106211156164730016451 00000000000000 margin @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-margin-top.sgml0000644000175000017500000000110411156164730017246 00000000000000 margin-top @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-master-name.sgml0000644000175000017500000000111111156164730017400 00000000000000 master-name @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-master-reference.sgml0000644000175000017500000000114211156164730020422 00000000000000 master-reference @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-media-usage.sgml0000644000175000017500000000111111156164730017350 00000000000000 media-usage @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-number-columns-repeated.sgml0000644000175000017500000000120311156164730021726 00000000000000 number-columns-repeated @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-number-columns-spanned.sgml0000644000175000017500000000117611156164730021576 00000000000000 number-columns-spanned @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-number-rows-spanned.sgml0000644000175000017500000000115711156164730021107 00000000000000 number-rows-spanned @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-orphans.sgml0000644000175000017500000000106711156164730016653 00000000000000 orphans @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-overflow.sgml0000644000175000017500000000107411156164730017042 00000000000000 overflow @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-after-conditionality.sgml0000644000175000017500000000120011156164730022722 00000000000000 padding-after.conditionality @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-after-length.sgml0000644000175000017500000000116411156164730021163 00000000000000 padding-after.length @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-after.sgml0000644000175000017500000000112311156164730017677 00000000000000 padding-after @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-before-conditionality.sgml0000644000175000017500000000120511156164730023070 00000000000000 padding-before.conditionality @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-before-length.sgml0000644000175000017500000000117111156164730021322 00000000000000 padding-before.length @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-before.sgml0000644000175000017500000000113011156164730020036 00000000000000 padding-before @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-bottom.sgml0000644000175000017500000000113011156164730020100 00000000000000 padding-bottom @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-end-conditionality.sgml0000644000175000017500000000116611156164730022402 00000000000000 padding-end.conditionality @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-end-length.sgml0000644000175000017500000000116611156164730020632 00000000000000 fo-property-padding-end-length @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-end.sgml0000644000175000017500000000111111156164730017341 00000000000000 padding-end @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-left.sgml0000644000175000017500000000111611156164730017532 00000000000000 padding-left @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-right.sgml0000644000175000017500000000112311156164730017713 00000000000000 padding-right @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-root.sgml0000644000175000017500000000126511156164730014302 00000000000000 root @Returns: @fo_fo: @Returns: @fo_fo: @new_media_usage: xmlroff-0.6.2/docs/tmpl/fo-property-padding.sgml0000644000175000017500000000106711156164730016607 00000000000000 padding @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-start-conditionality.sgml0000644000175000017500000000120011156164730022756 00000000000000 padding-start.conditionality @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-start-length.sgml0000644000175000017500000000116411156164730021217 00000000000000 padding-start.length @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-start.sgml0000644000175000017500000000112311156164730017733 00000000000000 padding-start @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-padding-top.sgml0000644000175000017500000000111111156164730017375 00000000000000 padding-top @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-page-height.sgml0000644000175000017500000000111111156164730017351 00000000000000 page-height @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-page-width.sgml0000644000175000017500000000110411156164730017222 00000000000000 page-width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-provisional-distance-between-starts.sgml0000644000175000017500000000127511156164730024304 00000000000000 provisional-distance-between-starts @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-provisional-label-separation.sgml0000644000175000017500000000123411156164730022762 00000000000000 provisional-label-separation @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-ref-id.sgml0000644000175000017500000000106011156164730016340 00000000000000 ref-id @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-region-name.sgml0000644000175000017500000000111111156164730017370 00000000000000 region-name @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-role.sgml0000644000175000017500000000105011156164730016132 00000000000000 role @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-scaling-method.sgml0000644000175000017500000000113011156164730020066 00000000000000 scaling-method @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-scaling.sgml0000644000175000017500000000106711156164730016621 00000000000000 scaling @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-score-spaces.sgml0000644000175000017500000000111611156164730017563 00000000000000 score-spaces @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property.sgml0000644000175000017500000000370611156164730015205 00000000000000 FoProperty @Returns: @FO_PROPERTY_ERROR_FAILED: @FO_PROPERTY_ERROR_EXPRESSION: @FO_PROPERTY_ERROR_NO_ENUMERATION: @FO_PROPERTY_ERROR_ILLEGAL_NEGATIVE: @FO_PROPERTY_ERROR_ZERO_LENGTH: @FO_PROPERTY_ERROR_LAST: @property_class: @expr: @context: @current_font_size: @fo_node: @error: @Returns: @property: @Returns: @property: @new_value: @property_class: @Returns: @property: @Returns: @property_class: @Returns: @property: @Returns: @token: @context: @err: @Returns: @percentage: @font_size: @fo_node: @context: @err: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-source-document.sgml0000644000175000017500000000113511156164730020311 00000000000000 source-document @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-after-conditionality.sgml0000644000175000017500000000116611156164730022422 00000000000000 space-after.conditionality @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-after-maximum.sgml0000644000175000017500000000115711156164730021046 00000000000000 space-after.maximum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-after-minimum.sgml0000644000175000017500000000115711156164730021044 00000000000000 space-after.minimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-after-optimum.sgml0000644000175000017500000000115711156164730021063 00000000000000 space-after.optimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-after-precedence.sgml0000644000175000017500000000117611156164730021467 00000000000000 space-after.precedence @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-after.sgml0000644000175000017500000000111111156164730017361 00000000000000 space-after @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-before-conditionality.sgml0000644000175000017500000000117311156164730022561 00000000000000 space-before.conditionality @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-before-maximum.sgml0000644000175000017500000000116411156164730021205 00000000000000 space-before.maximum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-before-minimum.sgml0000644000175000017500000000116411156164730021203 00000000000000 space-before.minimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-before-optimum.sgml0000644000175000017500000000116411156164730021222 00000000000000 space-before.optimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-before-precedence.sgml0000644000175000017500000000120311156164730021617 00000000000000 space-before.precedence @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-before.sgml0000644000175000017500000000111611156164730017527 00000000000000 space-before @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-end-conditionality.sgml0000644000175000017500000000115411156164730022064 00000000000000 space-end.conditionality @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-end-maximum.sgml0000644000175000017500000000114511156164730020510 00000000000000 space-end.maximum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-end-minimum.sgml0000644000175000017500000000114511156164730020506 00000000000000 space-end.minimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-end-optimum.sgml0000644000175000017500000000114511156164730020525 00000000000000 space-end.optimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-end-precedence.sgml0000644000175000017500000000116411156164730021131 00000000000000 space-end.precedence @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-end.sgml0000644000175000017500000000107711156164730017041 00000000000000 space-end @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-start-conditionality.sgml0000644000175000017500000000116611156164730022456 00000000000000 space-start.conditionality @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-start-maximum.sgml0000644000175000017500000000115711156164730021102 00000000000000 space-start.maximum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-start-minimum.sgml0000644000175000017500000000115711156164730021100 00000000000000 space-start.minimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-start-optimum.sgml0000644000175000017500000000115711156164730021117 00000000000000 space-start.optimum @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-start-precedence.sgml0000644000175000017500000000117611156164730021523 00000000000000 space-start.precedence @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-space-start.sgml0000644000175000017500000000111111156164730017415 00000000000000 space-start @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-span.sgml0000644000175000017500000000105011156164730016132 00000000000000 span @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-src.sgml0000644000175000017500000000104311156164730015762 00000000000000 src @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-start-indent.sgml0000644000175000017500000000111611156164730017610 00000000000000 start-indent @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-table-layout.sgml0000644000175000017500000000111611156164730017576 00000000000000 table-layout @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-text-align.sgml0000644000175000017500000000110411156164730017245 00000000000000 text-align @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-text-indent.sgml0000644000175000017500000000111111156164730017432 00000000000000 text-indent @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-text-property.sgml0000644000175000017500000000135011156164730020042 00000000000000 FoPropertyTextPropertyIface @obj: @property: @Returns: @property: @context: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-type-condity.sgml0000644000175000017500000000063511156164730017631 00000000000000 FoPropertyTypeCondity xmlroff-0.6.2/docs/tmpl/fo-property-unicode-bidi.sgml0000644000175000017500000000111611156164730017527 00000000000000 unicode-bidi @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-util.sgml0000644000175000017500000000505311156164730016155 00000000000000 fo-property-util @Returns: @Returns: @Returns: @token: @context: @error: @Returns: @token: @context: @error: @Returns: @token: @context: @error: @Returns: @token: @context: @error: @Returns: @token: @context: @error: @Returns: @token: @context: @error: @Returns: @percentage: @font_size: @fo_node: @context: @error: @Returns: @token: @context: @error: @Returns: @token: @context: @error: @Returns: @token: @context: @error: @Returns: @token: @context: @error: @Returns: @datatype: @context: @error: @Returns: @datatype: @context: @error: @Returns: @datatype: @context: @error: @Returns: @datatype: @context: @error: @Returns: @datatype: @context: @error: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-white-space-collapse.sgml0000644000175000017500000000116411156164730021210 00000000000000 white-space-collapse @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-white-space-treatment.sgml0000644000175000017500000000117111156164730021407 00000000000000 white-space-treatment @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-widows.sgml0000644000175000017500000000106211156164730016510 00000000000000 widows @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-width.sgml0000644000175000017500000000105511156164730016315 00000000000000 width @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-wrap-option.sgml0000644000175000017500000000111111156164730017446 00000000000000 wrap-option @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-property-writing-mode.sgml0000644000175000017500000000165411156164730017610 00000000000000 writing-mode @Returns: @Returns: @writing_mode: @error: @Returns: @writing_mode: @error: @Returns: @writing_mode: @error: @Returns: xmlroff-0.6.2/docs/tmpl/fo-region-after.sgml0000644000175000017500000002775411156164730015714 00000000000000 region-after @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_clip: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_extent: @fo_fo: @Returns: @fo_fo: @new_overflow: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_region_name: @fo_fo: @Returns: @fo_fo: @new_writing_mode: xmlroff-0.6.2/docs/tmpl/fo-region-before.sgml0000644000175000017500000003015011156164730016035 00000000000000 region-before @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_clip: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_extent: @fo_fo: @Returns: @fo_fo: @new_overflow: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_region_name: @fo_fo: @Returns: @fo_fo: @new_writing_mode: xmlroff-0.6.2/docs/tmpl/fo-region-body.sgml0000644000175000017500000003342511156164730015540 00000000000000 region-body @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_clip: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_end_indent: @fo_fo: @Returns: @fo_fo: @new_margin_bottom: @fo_fo: @Returns: @fo_fo: @new_margin_left: @fo_fo: @Returns: @fo_fo: @new_margin_right: @fo_fo: @Returns: @fo_fo: @new_margin_top: @fo_fo: @Returns: @fo_fo: @new_overflow: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_region_name: @fo_fo: @Returns: @fo_fo: @new_space_after: @fo_fo: @Returns: @fo_fo: @new_space_before: @fo_fo: @Returns: @fo_fo: @new_start_indent: @fo_fo: @Returns: @fo_fo: @new_writing_mode: xmlroff-0.6.2/docs/tmpl/fo-region-end.sgml0000644000175000017500000002736411156164730015356 00000000000000 region-end @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_clip: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_extent: @fo_fo: @Returns: @fo_fo: @new_overflow: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_region_name: @fo_fo: @Returns: @fo_fo: @new_writing_mode: xmlroff-0.6.2/docs/tmpl/fo-region-start.sgml0000644000175000017500000002775411156164730015750 00000000000000 region-start @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_clip: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_extent: @fo_fo: @Returns: @fo_fo: @new_overflow: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_region_name: @fo_fo: @Returns: @fo_fo: @new_writing_mode: xmlroff-0.6.2/docs/tmpl/fo-repeatable-page-master-alternatives.sgml0000644000175000017500000000107411156164730022323 00000000000000 repeatable-page-master-alternatives @parent_class: @Returns: xmlroff-0.6.2/docs/tmpl/fo-repeatable-page-master-reference.sgml0000644000175000017500000000160411156164730021557 00000000000000 repeatable-page-master-reference @Returns: @fo_fo: @new_master_reference: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-retrieve-marker.sgml0000644000175000017500000000111411156164730016414 00000000000000 fo-retrieve-marker @Returns: @fo: @context: xmlroff-0.6.2/docs/tmpl/fo-simple-page-master.sgml0000644000175000017500000001030511156164730017006 00000000000000 simple-page-master @Returns: @fo_fo: @Returns: @fo_fo: @new_end_indent: @fo_fo: @Returns: @fo_fo: @new_margin_bottom: @fo_fo: @Returns: @fo_fo: @new_margin_left: @fo_fo: @Returns: @fo_fo: @new_margin_right: @fo_fo: @Returns: @fo_fo: @new_margin_top: @fo_fo: @Returns: @fo_fo: @new_master_name: @fo_fo: @Returns: @fo_fo: @new_page_height: @fo_fo: @Returns: @fo_fo: @new_page_width: @fo_fo: @Returns: @fo_fo: @new_space_after: @fo_fo: @Returns: @fo_fo: @new_space_before: @fo_fo: @Returns: @fo_fo: @new_start_indent: @fo_fo: @Returns: @fo_fo: @new_writing_mode: @simple_page_master: @name: @Returns: @simple_page_master: @name: @fo: xmlroff-0.6.2/docs/tmpl/fo-single-page-master-reference.sgml0000644000175000017500000000155011156164730020734 00000000000000 single-page-master-reference @Returns: @fo_fo: @Returns: @fo_fo: @new_master_reference: xmlroff-0.6.2/docs/tmpl/fo-space.sgml0000644000175000017500000000401111156164730014402 00000000000000 FoSpace @Returns: @length: @Returns: @datatype: @new_minimum: @datatype: @Returns: @datatype: @new_optimum: @datatype: @Returns: @datatype: @new_maximum: @datatype: @Returns: @datatype: @new_precedence: @datatype: @Returns: @datatype: @new_condity: @datatype: @Returns: @Returns: @shortform: @minimum: @optimum: @maximum: @precedence: @condity: @hundred_percent: @error: @Returns: xmlroff-0.6.2/docs/tmpl/fo-static-content.sgml0000644000175000017500000000136011156164730016252 00000000000000 static-content @Returns: @fo_fo: @Returns: @fo_fo: @new_flow_name: xmlroff-0.6.2/docs/tmpl/fo-string.sgml0000644000175000017500000000140611156164730014622 00000000000000 FoString @Returns: @value: @Returns: @string: @Returns: @Returns: xmlroff-0.6.2/docs/tmpl/fo-table-and-caption.sgml0000644000175000017500000004562211156164730016606 00000000000000 table-and-caption @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_break_after: @fo_fo: @Returns: @fo_fo: @new_break_before: @fo_fo: @Returns: @fo_fo: @new_end_indent: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_margin_bottom: @fo_fo: @Returns: @fo_fo: @new_margin_left: @fo_fo: @Returns: @fo_fo: @new_margin_right: @fo_fo: @Returns: @fo_fo: @new_margin_top: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_after: @fo_fo: @Returns: @fo_fo: @new_space_before: @fo_fo: @Returns: @fo_fo: @new_start_indent: @fo_fo: @Returns: @fo_fo: @new_text_align: xmlroff-0.6.2/docs/tmpl/fo-table-body.sgml0000644000175000017500000003030011156164730015331 00000000000000 table-body @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_precedence: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_precedence: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_precedence: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_precedence: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-table-border-fo.sgml0000644000175000017500000000505011156164730016257 00000000000000 FoTableBorderFoIface @obj: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: @fo_table_border_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-table-caption.sgml0000644000175000017500000003336511156164730016047 00000000000000 table-caption @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_block_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_height: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_inline_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_width: xmlroff-0.6.2/docs/tmpl/fo-table-cell.sgml0000644000175000017500000003601411156164730015323 00000000000000 table-cell @Returns: @fo: @fo: @fo: @fo: @error: @fo_fo: @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_block_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_precedence: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_precedence: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_precedence: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_precedence: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_column_number: @fo_fo: @Returns: @fo_fo: @new_display_align: @fo_fo: @Returns: @fo_fo: @new_height: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_inline_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_number_columns_spanned: @fo_fo: @Returns: @fo_fo: @new_number_rows_spanned: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_width: xmlroff-0.6.2/docs/tmpl/fo-table-column.sgml0000644000175000017500000003272011156164730015701 00000000000000 table-column @Returns: @FO_TABLE_COLUMN_ERROR_FAILED: @FO_TABLE_COLUMN_ERROR_WARNING: @FO_TABLE_COLUMN_ERROR_FIXED_NO_WIDTH: @FO_TABLE_COLUMN_ERROR_LAST: @Returns: @fo_fo: @Returns: @fo_fo: @new_offset: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_precedence: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_precedence: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_precedence: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_precedence: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_column_number: @fo_fo: @Returns: @fo_fo: @new_column_width: @fo_fo: @Returns: @fo_fo: @new_number_columns_repeated: @fo_fo: @Returns: @fo_fo: @new_number_columns_spanned: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: xmlroff-0.6.2/docs/tmpl/fo-table-footer.sgml0000644000175000017500000003067611156164730015712 00000000000000 table-footer @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_precedence: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_precedence: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_precedence: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_precedence: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-table-header.sgml0000644000175000017500000003067611156164730015644 00000000000000 table-header @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_precedence: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_precedence: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_precedence: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_precedence: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-table-part.sgml0000644000175000017500000000106111156164730015344 00000000000000 FoTablePart @Returns: @fo: @context: xmlroff-0.6.2/docs/tmpl/fo-table-row.sgml0000644000175000017500000004171111156164730015213 00000000000000 table-row @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_block_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_precedence: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_precedence: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_precedence: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_precedence: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_break_after: @fo_fo: @Returns: @fo_fo: @new_break_before: @fo_fo: @Returns: @fo_fo: @new_height: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: xmlroff-0.6.2/docs/tmpl/fo-table.sgml0000644000175000017500000005414411156164730014412 00000000000000 table @FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN: @FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC: @FO_ENUM_TABLE_LAYOUT_METHOD_FIXED: @Returns: @FO_TABLE_ERROR_FAILED: @FO_TABLE_ERROR_WARNING: @FO_TABLE_ERROR_LAYOUT_METHOD_UNKNOWN: @FO_TABLE_ERROR_FIXED_NO_COLUMN: @FO_TABLE_ERROR_MISSING_COLUMN: @FO_TABLE_ERROR_WIDTH_NOT_LENGTH: @FO_TABLE_ERROR_NO_AREA: @FO_TABLE_ERROR_FIXED_BUT_AUTO: @FO_TABLE_ERROR_SPANNING_CELLS_FILL_ROW: @FO_TABLE_ERROR_FALLBACK_TO_FIXED: @FO_TABLE_ERROR_INLINE_PROGRESSION_DIRECTION: @FO_TABLE_ERROR_LAST: @Returns: @Returns: @fo: @error: @Returns: @fo: @error: @fo: @error: @fo: @table_cell: @column_number: @columns_spanned: @rows_spanned: @error: @Returns: @fo: @depth: @fo: @column_number: @number_columns_spanned: @column: @fo: @column_number: @number_columns_spanned: @Returns: @fo: @Returns: @fo_fo: @Returns: @fo: @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_block_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_precedence: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_precedence: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_collapse: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_precedence: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_separation: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_precedence: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_break_after: @fo_fo: @Returns: @fo_fo: @new_break_before: @fo_fo: @Returns: @fo_fo: @new_end_indent: @fo_fo: @Returns: @fo_fo: @new_height: @fo_fo: @Returns: @fo_fo: @new_id: @fo_fo: @Returns: @fo_fo: @new_inline_progression_dimension: @fo_fo: @Returns: @fo_fo: @new_keep_together: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_together_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_next: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_next_within_page: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_column: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_line: @fo_fo: @Returns: @fo_fo: @new_keep_with_previous_within_page: @fo_fo: @Returns: @fo_fo: @new_margin_bottom: @fo_fo: @Returns: @fo_fo: @new_margin_left: @fo_fo: @Returns: @fo_fo: @new_margin_right: @fo_fo: @Returns: @fo_fo: @new_margin_top: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_after: @fo_fo: @Returns: @fo_fo: @new_space_before: @fo_fo: @Returns: @fo_fo: @new_start_indent: @fo_fo: @Returns: @fo_fo: @new_table_layout: @fo_fo: @Returns: @fo_fo: @new_width: @fo_fo: @Returns: @fo_fo: @new_writing_mode: xmlroff-0.6.2/docs/tmpl/fo-tblr.sgml0000644000175000017500000000162411156164730014261 00000000000000 FoTblr @Returns: @top: @bottom: @left: @right: @Returns: @datatype: @Returns: @datatype: @Returns: @datatype: @Returns: @datatype: @Returns: xmlroff-0.6.2/docs/tmpl/fo-text.sgml0000644000175000017500000000544111156164730014303 00000000000000 FoText @Returns: @fo_fo: @new_color: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_score_spaces: @fo_fo: @Returns: @fo_fo: @new_value: @fo_fo: @Returns: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-title.sgml0000644000175000017500000003127611156164730014445 00000000000000 title @Returns: @fo_fo: @Returns: @fo_fo: @new_background_color: @fo_fo: @Returns: @fo_fo: @new_background_image: @fo_fo: @Returns: @fo_fo: @new_border_after_color: @fo_fo: @Returns: @fo_fo: @new_border_after_style: @fo_fo: @Returns: @fo_fo: @new_border_after_width: @fo_fo: @Returns: @fo_fo: @new_border_before_color: @fo_fo: @Returns: @fo_fo: @new_border_before_style: @fo_fo: @Returns: @fo_fo: @new_border_before_width: @fo_fo: @Returns: @fo_fo: @new_border_bottom_color: @fo_fo: @Returns: @fo_fo: @new_border_bottom_style: @fo_fo: @Returns: @fo_fo: @new_border_bottom_width: @fo_fo: @Returns: @fo_fo: @new_border_end_color: @fo_fo: @Returns: @fo_fo: @new_border_end_style: @fo_fo: @Returns: @fo_fo: @new_border_end_width: @fo_fo: @Returns: @fo_fo: @new_border_left_color: @fo_fo: @Returns: @fo_fo: @new_border_left_style: @fo_fo: @Returns: @fo_fo: @new_border_left_width: @fo_fo: @Returns: @fo_fo: @new_border_right_color: @fo_fo: @Returns: @fo_fo: @new_border_right_style: @fo_fo: @Returns: @fo_fo: @new_border_right_width: @fo_fo: @Returns: @fo_fo: @new_border_start_color: @fo_fo: @Returns: @fo_fo: @new_border_start_style: @fo_fo: @Returns: @fo_fo: @new_border_start_width: @fo_fo: @Returns: @fo_fo: @new_border_top_color: @fo_fo: @Returns: @fo_fo: @new_border_top_style: @fo_fo: @Returns: @fo_fo: @new_border_top_width: @fo_fo: @Returns: @fo_fo: @new_color: @fo_fo: @Returns: @fo_fo: @new_font_family: @fo_fo: @Returns: @fo_fo: @new_font_size: @fo_fo: @Returns: @fo_fo: @new_font_stretch: @fo_fo: @Returns: @fo_fo: @new_font_style: @fo_fo: @Returns: @fo_fo: @new_font_variant: @fo_fo: @Returns: @fo_fo: @new_font_weight: @fo_fo: @Returns: @fo_fo: @new_line_height: @fo_fo: @Returns: @fo_fo: @new_padding_after: @fo_fo: @Returns: @fo_fo: @new_padding_before: @fo_fo: @Returns: @fo_fo: @new_padding_bottom: @fo_fo: @Returns: @fo_fo: @new_padding_end: @fo_fo: @Returns: @fo_fo: @new_padding_left: @fo_fo: @Returns: @fo_fo: @new_padding_right: @fo_fo: @Returns: @fo_fo: @new_padding_start: @fo_fo: @Returns: @fo_fo: @new_padding_top: @fo_fo: @Returns: @fo_fo: @new_role: @fo_fo: @Returns: @fo_fo: @new_source_document: @fo_fo: @Returns: @fo_fo: @new_space_end: @fo_fo: @Returns: @fo_fo: @new_space_start: xmlroff-0.6.2/docs/tmpl/fo-tree.sgml0000644000175000017500000000214611156164730014255 00000000000000 FoTree @Returns: @tree: @id: @fo: @tree: @id: @Returns: @tree: @name: @fo: @tree: @name: @Returns: @tree: @name: @fo: @tree: @name: @Returns: @tree: @Returns: xmlroff-0.6.2/docs/tmpl/fo-unknown.sgml0000644000175000017500000000127011156164730015012 00000000000000 FoUnknown @Returns: @unknown: @Returns: @unknown: @new_value: xmlroff-0.6.2/docs/tmpl/fo-uri-specification.sgml0000644000175000017500000000126411156164730016733 00000000000000 FoUriSpecification @new_value: @Returns: @uri_specification: @Returns: xmlroff-0.6.2/docs/tmpl/fo-utils.sgml0000644000175000017500000000204611156164730014455 00000000000000 fo-utils @src: @dest: @src: @dest: @val: @FO_DEBUG_NONE: @FO_DEBUG_RESULT: @FO_DEBUG_FO: @FO_DEBUG_AREA: @FO_DEBUG_PANGO: @FO_DEBUG_MAX: @FO_WARNING_NONE: @FO_WARNING_FO: @FO_WARNING_PROPERTY: @FO_WARNING_UNSUPPORTED_PROPERTY: @FO_WARNING_MAX: @FO_ENUM_AREA_DIRECTION_UNKNOWN: @FO_ENUM_AREA_DIRECTION_LR: @FO_ENUM_AREA_DIRECTION_RL: @FO_ENUM_AREA_DIRECTION_TB: @FO_ENUM_AREA_DIRECTION_BT: xmlroff-0.6.2/docs/tmpl/fo-wrapper-block.sgml0000644000175000017500000000110011156164730016053 00000000000000 FoWrapperBlock @Returns: @fo: @context: xmlroff-0.6.2/docs/tmpl/fo-wrapper-inline-empty.sgml0000644000175000017500000000102511156164730017401 00000000000000 FoWrapperInlineEmpty @parent_instance: @parent_class: @Returns: xmlroff-0.6.2/docs/tmpl/fo-wrapper-inline.sgml0000644000175000017500000000073511156164730016254 00000000000000 FoWrapperInline @Returns: xmlroff-0.6.2/docs/tmpl/fo-wrapper.sgml0000644000175000017500000000125011156164730014771 00000000000000 FoWrapper @Returns: @fo_fo: @new_id: @fo_fo: @Returns: xmlroff-0.6.2/docs/tmpl/fo-wrapper-whitespace.sgml0000644000175000017500000000113111156164730017121 00000000000000 FoWrapperWhitespace @Returns: @fo: @context: xmlroff-0.6.2/docs/tmpl/fo-wsc.sgml0000644000175000017500000000145511156164730014114 00000000000000 FoWsc @Returns: @width: @style: @color: @Returns: @datatype: @Returns: @datatype: @Returns: @datatype: @Returns: xmlroff-0.6.2/docs/tmpl/fo-xml-char-util.sgml0000644000175000017500000000256311156164730016007 00000000000000 fo-xml-char-util @c: @c: @c: @c: @c: @c: @c: @c: @c: @Returns: @c: @Returns: @c: @Returns: @c: @Returns: @c: @Returns: @c: @Returns: @c: @Returns: @c: @Returns: xmlroff-0.6.2/docs/tmpl/fo-xml-doc.sgml0000644000175000017500000000275111156164730014663 00000000000000 FoXmlDoc @Returns: @FO_XML_DOC_ERROR_FAILED: @FO_XML_DOC_ERROR_FILENAME_PARSE_FAILED: @FO_XML_DOC_ERROR_MEMORY_PARSE_FAILED: @FO_XML_DOC_ERROR_NO_FILENAME: @Returns: @filename: @libfo_context: @error: @Returns: @buffer: @size: @URL: @encoding: @libfo_context: @error: @Returns: @curr: @URL: @encoding: @libfo_context: @error: @Returns: @fo_xml_doc: @Returns: @fo_xml_doc: @fo_xml_doc: @Returns: @fo_xml_doc: @URL: xmlroff-0.6.2/docs/tmpl/fo-xml-node.sgml0000644000175000017500000000154311156164730015041 00000000000000 FoXmlNode @Returns: @FO_XML_NODE_ERROR_FAILED: @FO_XML_NODE_ERROR_PARSE_FAILED: @FO_XML_NODE_ERROR_NO_FILENAME: @Returns: @fo_xml_node: @Returns: @fo_xml_node: xmlroff-0.6.2/docs/tmpl/fo-xsl-formatter.sgml0000644000175000017500000000332011156164730016120 00000000000000 FoXslFormatter @Returns: @FO_XSL_FORMATTER_ERROR_FAILED: @FO_XSL_FORMATTER_ERROR_FORMAT_FAILED: @FO_XSL_FORMATTER_ERROR_PARSE_FAILED: @FO_XSL_FORMATTER_ERROR_NO_RESULT_TREE: @FO_XSL_FORMATTER_ERROR_RESULT_TREE_NOT_FO: @FO_XSL_FORMATTER_ERROR_NO_AREA_TREE: @FO_XSL_FORMATTER_ERROR_NO_FO_DOC: @FO_XSL_FORMATTER_ERROR_NOT_FO_DOC: @FO_XSL_FORMATTER_ERROR_UNKNOWN_FO: @Returns: @fo_xsl_formatter: @libfo_context: @error: @Returns: @fo_xsl_formatter: @libfo_context: @error: @Returns: @fo_xsl_formatter: @result_tree: @fo_xsl_formatter: @fo_doc: @fo_xsl_formatter: @Returns: @fo_xsl_formatter: @Returns: xmlroff-0.6.2/docs/tmpl/fo-xslt-transformer.sgml0000644000175000017500000000164611156164730016654 00000000000000 FoXsltTransformer @Returns: @xml_doc: @stylesheet_doc: @error: @Returns: @FO_XSLT_TRANSFORMER_ERROR_FAILED: @FO_XSLT_TRANSFORMER_ERROR_TRANSFORM_FAILED: @FO_XSLT_TRANSFORMER_ERROR_NO_STYLESHEET_DOC: @FO_XSLT_TRANSFORMER_ERROR_NO_XML_DOC: @FO_XSLT_TRANSFORMER_ERROR_PARSE_FAILED: @Returns: xmlroff-0.6.2/docs/tmpl/libfo-compat.sgml0000644000175000017500000000134311156164730015266 00000000000000 LibFO compatibility stylesheet @Returns: @LIBFO_COMPAT_ERROR_FAILED: @Returns: @result_tree: @libfo_context: @error: @Returns: xmlroff-0.6.2/docs/tmpl/libfo-pango.sgml0000644000175000017500000000125511156164730015111 00000000000000 Additional Pango attributes needed by LibFO @attr: @pointer: @attr: @Returns: @Returns: @callback: @Returns: xmlroff-0.6.2/docs/tmpl/libfo-version.sgml0000644000175000017500000000330011156164730015463 00000000000000 libfo-version @major: @minor: @micro: @major: @minor: @micro: @Returns: @Returns: @required_major: @required_minor: @required_micro: @Returns: @Returns: @LIBFO_MODULE_INVALID: @LIBFO_MODULE_XSL_FORMATTER: @LIBFO_MODULE_XSLT_PROCESSOR: @LIBFO_MODULE_XML_DOC: @LIBFO_MODULE_BACKEND: @LIBFO_MODULE_PANGO: @module: @nick: @name: @compiled: @compiled_string: @runtime: @runtime_string: @Returns: xmlroff-0.6.2/docs/tmpl/xmlroff-unused.sgml0000644000175000017500000000016311156164730015667 00000000000000 @String: @String: xmlroff-0.6.2/docs/xml/0000777000175000017500000000000011156164733011740 500000000000000xmlroff-0.6.2/docs/xml/area-to-pdf.xml0000644000175000017500000000456011156164730014477 00000000000000 area-to-pdf 3 XMLROFF Library area-to-pdf Synopsis void fo_area_tree_to_pdf (FoArea *area_node, gpointer data); Description Details fo_area_tree_to_pdf () fo_area_tree_to_pdfvoid fo_area_tree_to_pdf (FoArea *area_node, gpointer data); Add area_node and its descendants to the PDF document. The PDF document pointer and other required data is in data. This conforms to FoAreaForeachFunc type so can use fo_area_children_foreach() on any children of area_node. area_node : FoArea node to be output to PDF file data : Pointer to FoAreaToPDFData with additional data xmlroff-0.6.2/docs/xml/fo-area-area.xml0000644000175000017500000012547411156164730014630 00000000000000 FoAreaArea 3 XMLROFF Library FoAreaArea Synopsis FoAreaArea; FoAreaAreaClass; FoArea* fo_area_area_new (void); void fo_area_area_set_x (FoArea *fo_area, gfloat new_x); gfloat fo_area_area_get_x (FoArea *fo_area); void fo_area_area_set_y (FoArea *fo_area, gfloat new_y); gfloat fo_area_area_get_y (FoArea *fo_area); void fo_area_area_set_width (FoArea *fo_area, gfloat new_width); gfloat fo_area_area_get_width (FoArea *fo_area); void fo_area_area_set_height (FoArea *fo_area, gfloat new_height); gfloat fo_area_area_get_height (FoArea *fo_area); void fo_area_area_set_border_before (FoArea *fo_area, gfloat new_border_before); gfloat fo_area_area_get_border_before (FoArea *fo_area); void fo_area_area_set_border_after (FoArea *fo_area, gfloat new_border_after); gfloat fo_area_area_get_border_after (FoArea *fo_area); void fo_area_area_set_border_start (FoArea *fo_area, gfloat new_border_start); gfloat fo_area_area_get_border_start (FoArea *fo_area); void fo_area_area_set_border_end (FoArea *fo_area, gfloat new_border_end); gfloat fo_area_area_get_border_end (FoArea *fo_area); void fo_area_area_set_padding_before (FoArea *fo_area, gfloat new_padding_before); gfloat fo_area_area_get_padding_before (FoArea *fo_area); void fo_area_area_set_padding_after (FoArea *fo_area, gfloat new_padding_after); gfloat fo_area_area_get_padding_after (FoArea *fo_area); void fo_area_area_set_padding_start (FoArea *fo_area, gfloat new_padding_start); gfloat fo_area_area_get_padding_start (FoArea *fo_area); void fo_area_area_set_padding_end (FoArea *fo_area, gfloat new_padding_end); gfloat fo_area_area_get_padding_end (FoArea *fo_area); void fo_area_area_set_start_indent (FoArea *fo_area, gfloat new_start_indent); gfloat fo_area_area_get_start_indent (FoArea *fo_area); void fo_area_area_set_end_indent (FoArea *fo_area, gfloat new_end_indent); gfloat fo_area_area_get_end_indent (FoArea *fo_area); void fo_area_area_set_space_before (FoArea *fo_area, gfloat new_space_before); gfloat fo_area_area_get_space_before (FoArea *fo_area); void fo_area_area_set_space_after (FoArea *fo_area, gfloat new_space_after); gfloat fo_area_area_get_space_after (FoArea *fo_area); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaLayout +----FoAreaListItem +----FoAreaNormal +----FoAreaReference +----FoAreaTablePart +----FoAreaTableCellProxy +----FoAreaTableRow Properties "height" gfloat : Read / Write "width" gfloat : Read / Write "x" gfloat : Read / Write "y" gfloat : Read / Write Description Details FoAreaArea FoAreaAreatypedef struct _FoAreaArea FoAreaArea; FoAreaAreaClass FoAreaAreaClasstypedef struct _FoAreaAreaClass FoAreaAreaClass; fo_area_area_new () fo_area_area_newFoArea* fo_area_area_new (void); Creates a new FoAreaArea initialized to default value. Returns : the new FoAreaArea fo_area_area_set_x () fo_area_area_set_xvoid fo_area_area_set_x (FoArea *fo_area, gfloat new_x); Sets the "x" property of fo_area to new_x fo_area : The FoAreaArea object new_x : The new "x" property value fo_area_area_get_x () fo_area_area_get_xgfloat fo_area_area_get_x (FoArea *fo_area); Gets the "x" property of fo_area fo_area : The FoAreaArea object Returns : The "x" property value fo_area_area_set_y () fo_area_area_set_yvoid fo_area_area_set_y (FoArea *fo_area, gfloat new_y); Sets the "y" property of fo_area to new_y fo_area : The FoAreaArea object new_y : The new "y" property value fo_area_area_get_y () fo_area_area_get_ygfloat fo_area_area_get_y (FoArea *fo_area); Gets the "y" property of fo_area fo_area : The FoAreaArea object Returns : The "y" property value fo_area_area_set_width () fo_area_area_set_widthvoid fo_area_area_set_width (FoArea *fo_area, gfloat new_width); Sets the "width" property of fo_area to new_width fo_area : The FoAreaArea object new_width : The new "width" property value fo_area_area_get_width () fo_area_area_get_widthgfloat fo_area_area_get_width (FoArea *fo_area); Gets the "width" property of fo_area fo_area : The FoAreaArea object Returns : The "width" property value fo_area_area_set_height () fo_area_area_set_heightvoid fo_area_area_set_height (FoArea *fo_area, gfloat new_height); Sets the "height" property of fo_area to new_height fo_area : The FoAreaArea object new_height : The new "height" property value fo_area_area_get_height () fo_area_area_get_heightgfloat fo_area_area_get_height (FoArea *fo_area); Gets the "height" property of fo_area fo_area : The FoAreaArea object Returns : The "height" property value fo_area_area_set_border_before () fo_area_area_set_border_beforevoid fo_area_area_set_border_before (FoArea *fo_area, gfloat new_border_before); Sets the "border-before" property of fo_area to new_border_before fo_area : The FoAreaArea object new_border_before : The new "border-before" property value fo_area_area_get_border_before () fo_area_area_get_border_beforegfloat fo_area_area_get_border_before (FoArea *fo_area); Gets the "border-before" property of fo_area fo_area : The FoAreaArea object Returns : The "border_before" property value fo_area_area_set_border_after () fo_area_area_set_border_aftervoid fo_area_area_set_border_after (FoArea *fo_area, gfloat new_border_after); Sets the "border-after" property of fo_area to new_border_after fo_area : The FoAreaArea object new_border_after : The new "border-after" property value fo_area_area_get_border_after () fo_area_area_get_border_aftergfloat fo_area_area_get_border_after (FoArea *fo_area); Gets the "border-after" property of fo_area fo_area : The FoAreaArea object Returns : The "border_after" property value fo_area_area_set_border_start () fo_area_area_set_border_startvoid fo_area_area_set_border_start (FoArea *fo_area, gfloat new_border_start); Sets the "border-start" property of fo_area to new_border_start fo_area : The FoAreaArea object new_border_start : The new "border-start" property value fo_area_area_get_border_start () fo_area_area_get_border_startgfloat fo_area_area_get_border_start (FoArea *fo_area); Gets the "border-start" property of fo_area fo_area : The FoAreaArea object Returns : The "border_start" property value fo_area_area_set_border_end () fo_area_area_set_border_endvoid fo_area_area_set_border_end (FoArea *fo_area, gfloat new_border_end); Sets the "border-end" property of fo_area to new_border_end fo_area : The FoAreaArea object new_border_end : The new "border-end" property value fo_area_area_get_border_end () fo_area_area_get_border_endgfloat fo_area_area_get_border_end (FoArea *fo_area); Gets the "border-end" property of fo_area fo_area : The FoAreaArea object Returns : The "border_end" property value fo_area_area_set_padding_before () fo_area_area_set_padding_beforevoid fo_area_area_set_padding_before (FoArea *fo_area, gfloat new_padding_before); Sets the "padding-before" property of fo_area to new_padding_before fo_area : The FoAreaArea object new_padding_before : The new "padding-before" property value fo_area_area_get_padding_before () fo_area_area_get_padding_beforegfloat fo_area_area_get_padding_before (FoArea *fo_area); Gets the "padding-before" property of fo_area fo_area : The FoAreaArea object Returns : The "padding_before" property value fo_area_area_set_padding_after () fo_area_area_set_padding_aftervoid fo_area_area_set_padding_after (FoArea *fo_area, gfloat new_padding_after); Sets the "padding-after" property of fo_area to new_padding_after fo_area : The FoAreaArea object new_padding_after : The new "padding-after" property value fo_area_area_get_padding_after () fo_area_area_get_padding_aftergfloat fo_area_area_get_padding_after (FoArea *fo_area); Gets the "padding-after" property of fo_area fo_area : The FoAreaArea object Returns : The "padding_after" property value fo_area_area_set_padding_start () fo_area_area_set_padding_startvoid fo_area_area_set_padding_start (FoArea *fo_area, gfloat new_padding_start); Sets the "padding-start" property of fo_area to new_padding_start fo_area : The FoAreaArea object new_padding_start : The new "padding-start" property value fo_area_area_get_padding_start () fo_area_area_get_padding_startgfloat fo_area_area_get_padding_start (FoArea *fo_area); Gets the "padding-start" property of fo_area fo_area : The FoAreaArea object Returns : The "padding_start" property value fo_area_area_set_padding_end () fo_area_area_set_padding_endvoid fo_area_area_set_padding_end (FoArea *fo_area, gfloat new_padding_end); Sets the "padding-end" property of fo_area to new_padding_end fo_area : The FoAreaArea object new_padding_end : The new "padding-end" property value fo_area_area_get_padding_end () fo_area_area_get_padding_endgfloat fo_area_area_get_padding_end (FoArea *fo_area); Gets the "padding-end" property of fo_area fo_area : The FoAreaArea object Returns : The "padding_end" property value fo_area_area_set_start_indent () fo_area_area_set_start_indentvoid fo_area_area_set_start_indent (FoArea *fo_area, gfloat new_start_indent); Sets the "start-indent" property of fo_area to new_start_indent fo_area : The FoAreaArea object new_start_indent : The new "start-indent" property value fo_area_area_get_start_indent () fo_area_area_get_start_indentgfloat fo_area_area_get_start_indent (FoArea *fo_area); Gets the "start-indent" property of fo_area fo_area : The FoAreaArea object Returns : The "start_indent" property value fo_area_area_set_end_indent () fo_area_area_set_end_indentvoid fo_area_area_set_end_indent (FoArea *fo_area, gfloat new_end_indent); Sets the "end-indent" property of fo_area to new_end_indent fo_area : The FoAreaArea object new_end_indent : The new "end-indent" property value fo_area_area_get_end_indent () fo_area_area_get_end_indentgfloat fo_area_area_get_end_indent (FoArea *fo_area); Gets the "end-indent" property of fo_area fo_area : The FoAreaArea object Returns : The "end_indent" property value fo_area_area_set_space_before () fo_area_area_set_space_beforevoid fo_area_area_set_space_before (FoArea *fo_area, gfloat new_space_before); Sets the "space-before" property of fo_area to new_space_before fo_area : The FoAreaArea object new_space_before : The new "space-before" property value fo_area_area_get_space_before () fo_area_area_get_space_beforegfloat fo_area_area_get_space_before (FoArea *fo_area); Gets the "space-before" property of fo_area fo_area : The FoAreaArea object Returns : The "space_before" property value fo_area_area_set_space_after () fo_area_area_set_space_aftervoid fo_area_area_set_space_after (FoArea *fo_area, gfloat new_space_after); Sets the "space-after" property of fo_area to new_space_after fo_area : The FoAreaArea object new_space_after : The new "space-after" property value fo_area_area_get_space_after () fo_area_area_get_space_aftergfloat fo_area_area_get_space_after (FoArea *fo_area); Gets the "space-after" property of fo_area fo_area : The FoAreaArea object Returns : The "space_after" property value Property Details The <literal>"height"</literal> property FoAreaArea:height "height" gfloat : Read / Write Area height property.Allowed values: >= 0 Default value: 0 The <literal>"width"</literal> property FoAreaArea:width "width" gfloat : Read / Write Area width property.Allowed values: >= 0 Default value: 0 The <literal>"x"</literal> property FoAreaArea:x "x" gfloat : Read / Write x position property.Allowed values: >= 0 Default value: 0 The <literal>"y"</literal> property FoAreaArea:y "y" gfloat : Read / Write y position property.Allowed values: >= 0 Default value: 0 xmlroff-0.6.2/docs/xml/fo-area-graphic.xml0000644000175000017500000000444311156164730015325 00000000000000 fo-area-graphic 3 XMLROFF Library fo-area-graphic Synopsis FoAreaGraphic; FoAreaGraphicClass; FoArea* fo_area_graphic_new (void); Description Details FoAreaGraphic FoAreaGraphictypedef struct _FoAreaGraphic FoAreaGraphic; FoAreaGraphicClass FoAreaGraphicClasstypedef struct _FoAreaGraphicClass FoAreaGraphicClass; fo_area_graphic_new () fo_area_graphic_newFoArea* fo_area_graphic_new (void); Creates a new FoAreaGraphic initialized to default value. Returns : the new FoAreaGraphic xmlroff-0.6.2/docs/xml/fo-area-inline.xml0000644000175000017500000000444211156164730015165 00000000000000 fo-area-inline 3 XMLROFF Library fo-area-inline Synopsis FoAreaInline; FoAreaInlineClass; FoArea* fo_area_inline_new (void); Description Details FoAreaInline FoAreaInlinetypedef struct { FoArea parent_instance; } FoAreaInline; FoAreaInlineClass FoAreaInlineClasstypedef struct { FoAreaClass parent_class; } FoAreaInlineClass; fo_area_inline_new () fo_area_inline_newFoArea* fo_area_inline_new (void); Creates a new FoAreaInline initialized to default value. Returns : the new FoAreaInline xmlroff-0.6.2/docs/xml/fo-area-layout.xml0000644000175000017500000003302411156164730015222 00000000000000 FoAreaLayout 3 XMLROFF Library FoAreaLayout Synopsis FoAreaLayout; FoAreaLayoutClass; FoArea* fo_area_layout_new (void); FoArea* fo_area_layout_new_with_layout (FoLayout *layout); void fo_area_layout_set_layout (FoArea *fo_area_layout, FoLayout *new_layout); FoLayout* fo_area_layout_get_layout (FoArea *fo_area_layout); void fo_area_layout_set_line_first (FoArea *fo_area_layout, guint new_line_first); guint fo_area_layout_get_line_first (FoArea *fo_area_layout); void fo_area_layout_set_line_last (FoArea *fo_area_layout, guint new_line_last); guint fo_area_layout_get_line_last (FoArea *fo_area_layout); gdouble fo_area_layout_get_line_height (FoArea *fo_area_layout, gint line_number); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaLayout Properties "layout" gpointer : Read / Write Description Details FoAreaLayout FoAreaLayouttypedef struct _FoAreaLayout FoAreaLayout; FoAreaLayoutClass FoAreaLayoutClasstypedef struct _FoAreaLayoutClass FoAreaLayoutClass; fo_area_layout_new () fo_area_layout_newFoArea* fo_area_layout_new (void); Creates a new FoAreaLayout initialized to default value. Returns : the new FoAreaLayout fo_area_layout_new_with_layout () fo_area_layout_new_with_layoutFoArea* fo_area_layout_new_with_layout (FoLayout *layout); Creates a new FoAreaLayout initialized with layout. layout : FoLayout used by the new FoAreaLayout Returns : the new FoAreaLayout fo_area_layout_set_layout () fo_area_layout_set_layoutvoid fo_area_layout_set_layout (FoArea *fo_area_layout, FoLayout *new_layout); Sets the layout property of area_area to new_layout fo_area_layout : The FoAreaLayout object new_layout : The new "layout" property value fo_area_layout_get_layout () fo_area_layout_get_layoutFoLayout* fo_area_layout_get_layout (FoArea *fo_area_layout); Gets the layout property of area_layout fo_area_layout : The FoAreaLayout object Returns : The "layout" property value fo_area_layout_set_line_first () fo_area_layout_set_line_firstvoid fo_area_layout_set_line_first (FoArea *fo_area_layout, guint new_line_first); Sets the line-first property of area_area to new_line_first fo_area_layout : The FoAreaLayout object new_line_first : The new "line_first" property value fo_area_layout_get_line_first () fo_area_layout_get_line_firstguint fo_area_layout_get_line_first (FoArea *fo_area_layout); Gets the line-first property of area_layout fo_area_layout : The FoAreaLayout object Returns : The "line_first" property value fo_area_layout_set_line_last () fo_area_layout_set_line_lastvoid fo_area_layout_set_line_last (FoArea *fo_area_layout, guint new_line_last); Sets the line-last property of fo_area_layout to new_line_last. fo_area_layout : The FoAreaLayout object. new_line_last : The new "line_last" property value. fo_area_layout_get_line_last () fo_area_layout_get_line_lastguint fo_area_layout_get_line_last (FoArea *fo_area_layout); Gets the line-last property of fo_area_layout. fo_area_layout : The FoAreaLayout object. Returns : The "line_last" property value. fo_area_layout_get_line_height () fo_area_layout_get_line_heightgdouble fo_area_layout_get_line_height (FoArea *fo_area_layout, gint line_number); Get the height of line line_number. fo_area_layout : FoArea. line_number : Number of the line for which to get the height. Returns : The line height in points. Property Details The <literal>"layout"</literal> property FoAreaLayout:layout "layout" gpointer : Read / Write FoLayout layout of formatted text of block. xmlroff-0.6.2/docs/xml/fo-area-list-item.xml0000644000175000017500000000541511156164730015617 00000000000000 FoAreaListItem 3 XMLROFF Library FoAreaListItem Synopsis FoAreaListItem; FoAreaListItemClass; FoArea* fo_area_list_item_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaListItem Description Details FoAreaListItem FoAreaListItemtypedef struct _FoAreaListItem FoAreaListItem; FoAreaListItemClass FoAreaListItemClasstypedef struct _FoAreaListItemClass FoAreaListItemClass; fo_area_list_item_new () fo_area_list_item_newFoArea* fo_area_list_item_new (void); Creates a new FoAreaListItem initialized to default value. Returns : the new FoAreaListItem xmlroff-0.6.2/docs/xml/fo-area-normal.xml0000644000175000017500000000530411156164730015175 00000000000000 FoAreaNormal 3 XMLROFF Library FoAreaNormal Synopsis FoAreaNormal; FoAreaNormalClass; FoArea* fo_area_normal_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaNormal Description Details FoAreaNormal FoAreaNormaltypedef struct _FoAreaNormal FoAreaNormal; FoAreaNormalClass FoAreaNormalClasstypedef struct _FoAreaNormalClass FoAreaNormalClass; fo_area_normal_new () fo_area_normal_newFoArea* fo_area_normal_new (void); Creates a new FoAreaNormal initialized to default value. Returns : the new FoAreaNormal xmlroff-0.6.2/docs/xml/fo-area-page.xml0000644000175000017500000006343711156164730014634 00000000000000 FoAreaPage 3 XMLROFF Library FoAreaPage Synopsis FoAreaPage; FoAreaPageClass; #define FO_AREA_PAGE_ERROR GQuark fo_area_page_error_quark (void); enum FoAreaPageError; FoArea* fo_area_page_new (void); void fo_area_page_set_page_number (FoArea *fo_area_page, gint new_page_number); gint fo_area_page_get_page_number (FoArea *fo_area_page); void fo_area_page_set_page_width (FoArea *fo_area_page, gfloat new_page_width); gfloat fo_area_page_get_page_width (FoArea *fo_area_page); void fo_area_page_set_page_height (FoArea *fo_area_page, gfloat new_page_height); gfloat fo_area_page_get_page_height (FoArea *fo_area_page); void fo_area_page_set_margin_top (FoArea *fo_area_page, gfloat new_margin_top); gfloat fo_area_page_get_margin_top (FoArea *fo_area_page); void fo_area_page_set_margin_bottom (FoArea *fo_area_page, gfloat new_margin_bottom); gfloat fo_area_page_get_margin_bottom (FoArea *fo_area_page); void fo_area_page_set_margin_left (FoArea *fo_area_page, gfloat new_margin_left); gfloat fo_area_page_get_margin_left (FoArea *fo_area_page); void fo_area_page_set_margin_right (FoArea *fo_area_page, gfloat new_margin_right); gfloat fo_area_page_get_margin_right (FoArea *fo_area_page); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaReference +----FoAreaViewportReference +----FoAreaPage Properties "margin-bottom" gfloat : Read / Write "margin-left" gfloat : Read / Write "margin-right" gfloat : Read / Write "margin-top" gfloat : Read / Write "page-height" gfloat : Read / Write "page-number" gint : Read / Write "page-width" gfloat : Read / Write Description Details FoAreaPage FoAreaPagetypedef struct _FoAreaPage FoAreaPage; FoAreaPageClass FoAreaPageClasstypedef struct _FoAreaPageClass FoAreaPageClass; FO_AREA_PAGE_ERROR FO_AREA_PAGE_ERROR#define FO_AREA_PAGE_ERROR (fo_area_page_error_quark ()) fo_area_page_error_quark () fo_area_page_error_quarkGQuark fo_area_page_error_quark (void); Gets the GQuark identifying FoAreaPage errors. Returns : GQuark identifying FoAreaPage errors. enum FoAreaPageError FoAreaPageErrortypedef enum { FO_AREA_PAGE_ERROR_FAILED, /* Generic error code */ FO_AREA_PAGE_ERROR_WARNING, /* Non-fatal error */ FO_AREA_PAGE_ERROR_OVERFLOW /* An area is too large for the region */ } FoAreaPageError; fo_area_page_new () fo_area_page_newFoArea* fo_area_page_new (void); Creates a new FoAreaPage initialized to default value. Returns : the new FoAreaPage fo_area_page_set_page_number () fo_area_page_set_page_numbervoid fo_area_page_set_page_number (FoArea *fo_area_page, gint new_page_number); Sets the page_number property of area_page to new_page_number fo_area_page : The FoAreaPage object new_page_number : The new "page-number" property value fo_area_page_get_page_number () fo_area_page_get_page_numbergint fo_area_page_get_page_number (FoArea *fo_area_page); Gets the page_number property of area_page fo_area_page : The FoAreaPage object Returns : The "page-number" property value fo_area_page_set_page_width () fo_area_page_set_page_widthvoid fo_area_page_set_page_width (FoArea *fo_area_page, gfloat new_page_width); Sets the page_width property of area_page to new_page_width fo_area_page : The FoAreaPage object new_page_width : The new "page-width" property value fo_area_page_get_page_width () fo_area_page_get_page_widthgfloat fo_area_page_get_page_width (FoArea *fo_area_page); Gets the page_width property of area_page fo_area_page : The FoAreaPage object Returns : The "page-width" property value fo_area_page_set_page_height () fo_area_page_set_page_heightvoid fo_area_page_set_page_height (FoArea *fo_area_page, gfloat new_page_height); Sets the "page_height" property of area_page to new_page_height fo_area_page : The FoAreaPage object new_page_height : The new "page-height" property value fo_area_page_get_page_height () fo_area_page_get_page_heightgfloat fo_area_page_get_page_height (FoArea *fo_area_page); Gets the page_height property of area_page fo_area_page : The FoAreaPage object Returns : The "page-height" property value fo_area_page_set_margin_top () fo_area_page_set_margin_topvoid fo_area_page_set_margin_top (FoArea *fo_area_page, gfloat new_margin_top); Sets the margin_top property of area_page to new_margin_top fo_area_page : The FoAreaPage object new_margin_top : The new "margin-top" property value fo_area_page_get_margin_top () fo_area_page_get_margin_topgfloat fo_area_page_get_margin_top (FoArea *fo_area_page); Gets the margin_top property of area_page fo_area_page : The FoAreaPage object Returns : The "margin-top" property value fo_area_page_set_margin_bottom () fo_area_page_set_margin_bottomvoid fo_area_page_set_margin_bottom (FoArea *fo_area_page, gfloat new_margin_bottom); Sets the margin_bottom property of area_page to new_margin_bottom fo_area_page : The FoAreaPage object new_margin_bottom : The new "margin-bottom" property value fo_area_page_get_margin_bottom () fo_area_page_get_margin_bottomgfloat fo_area_page_get_margin_bottom (FoArea *fo_area_page); Gets the margin_bottom property of area_page fo_area_page : The FoAreaPage object Returns : The "margin-bottom" property value fo_area_page_set_margin_left () fo_area_page_set_margin_leftvoid fo_area_page_set_margin_left (FoArea *fo_area_page, gfloat new_margin_left); Sets the margin_left property of area_page to new_margin_left fo_area_page : The FoAreaPage object new_margin_left : The new "margin-left" property value fo_area_page_get_margin_left () fo_area_page_get_margin_leftgfloat fo_area_page_get_margin_left (FoArea *fo_area_page); Gets the margin_left property of area_page fo_area_page : The FoAreaPage object Returns : The "margin-left" property value fo_area_page_set_margin_right () fo_area_page_set_margin_rightvoid fo_area_page_set_margin_right (FoArea *fo_area_page, gfloat new_margin_right); Sets the margin_right property of area_page to new_margin_right fo_area_page : The FoAreaPage object new_margin_right : The new "margin-right" property value fo_area_page_get_margin_right () fo_area_page_get_margin_rightgfloat fo_area_page_get_margin_right (FoArea *fo_area_page); Gets the margin_right property of area_page fo_area_page : The FoAreaPage object Returns : The "margin-right" property value Property Details The <literal>"margin-bottom"</literal> property FoAreaPage:margin-bottom "margin-bottom" gfloat : Read / Write Margin bottom property.Default value: 0 The <literal>"margin-left"</literal> property FoAreaPage:margin-left "margin-left" gfloat : Read / Write Margin left property.Default value: 0 The <literal>"margin-right"</literal> property FoAreaPage:margin-right "margin-right" gfloat : Read / Write Margin right property.Default value: 0 The <literal>"margin-top"</literal> property FoAreaPage:margin-top "margin-top" gfloat : Read / Write Margin top property.Default value: 0 The <literal>"page-height"</literal> property FoAreaPage:page-height "page-height" gfloat : Read / Write Page height property.Default value: 0 The <literal>"page-number"</literal> property FoAreaPage:page-number "page-number" gint : Read / Write Page number property.Allowed values: >= 0 Default value: 0 The <literal>"page-width"</literal> property FoAreaPage:page-width "page-width" gfloat : Read / Write Page width property.Default value: 0 xmlroff-0.6.2/docs/xml/fo-area-reference.xml0000644000175000017500000003026611156164730015650 00000000000000 FoAreaReference 3 XMLROFF Library FoAreaReference Synopsis FoAreaReference; FoAreaReferenceClass; FoArea* fo_area_reference_new (void); void fo_area_reference_set_bpd (FoArea *fo_area, FoEnumAreaDirection new_bpd); FoEnumAreaDirection fo_area_reference_get_bpd (FoArea *fo_area); void fo_area_reference_set_ipd (FoArea *fo_area, FoEnumAreaDirection new_ipd); FoEnumAreaDirection fo_area_reference_get_ipd (FoArea *fo_area); void fo_area_reference_set_sd (FoArea *fo_area, FoEnumAreaDirection new_sd); FoEnumAreaDirection fo_area_reference_get_sd (FoArea *fo_area); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaReference +----FoAreaViewportReference +----FoAreaSpanningTableCell +----FoAreaTableCell +----FoAreaTable Properties "bpd" guint : Read / Write "ipd" guint : Read / Write "sd" guint : Read / Write Description Details FoAreaReference FoAreaReferencetypedef struct _FoAreaReference FoAreaReference; FoAreaReferenceClass FoAreaReferenceClasstypedef struct _FoAreaReferenceClass FoAreaReferenceClass; fo_area_reference_new () fo_area_reference_newFoArea* fo_area_reference_new (void); Creates a new FoAreaReference initialized to default value. Returns : the new FoAreaReference fo_area_reference_set_bpd () fo_area_reference_set_bpdvoid fo_area_reference_set_bpd (FoArea *fo_area, FoEnumAreaDirection new_bpd); Sets the "bpd" property of fo_area to new_bpd fo_area : The FoAreaReference object new_bpd : The new "bpd" property value fo_area_reference_get_bpd () fo_area_reference_get_bpdFoEnumAreaDirection fo_area_reference_get_bpd (FoArea *fo_area); Gets the "bpd" property of fo_area fo_area : The FoAreaReference object Returns : The "bpd" property value fo_area_reference_set_ipd () fo_area_reference_set_ipdvoid fo_area_reference_set_ipd (FoArea *fo_area, FoEnumAreaDirection new_ipd); Sets the "ipd" property of fo_area to new_ipd fo_area : The FoAreaReference object new_ipd : The new "ipd" property value fo_area_reference_get_ipd () fo_area_reference_get_ipdFoEnumAreaDirection fo_area_reference_get_ipd (FoArea *fo_area); Gets the "ipd" property of fo_area fo_area : The FoAreaReference object Returns : The "ipd" property value fo_area_reference_set_sd () fo_area_reference_set_sdvoid fo_area_reference_set_sd (FoArea *fo_area, FoEnumAreaDirection new_sd); Sets the "sd" property of fo_area to new_sd fo_area : The FoAreaReference object new_sd : The new "sd" property value fo_area_reference_get_sd () fo_area_reference_get_sdFoEnumAreaDirection fo_area_reference_get_sd (FoArea *fo_area); Gets the "sd" property of fo_area fo_area : The FoAreaReference object Returns : The "sd" property value Property Details The <literal>"bpd"</literal> property FoAreaReference:bpd "bpd" guint : Read / Write Block progression direction of the reference area.Default value: 0 The <literal>"ipd"</literal> property FoAreaReference:ipd "ipd" guint : Read / Write Inline progression direction of the reference area.Default value: 0 The <literal>"sd"</literal> property FoAreaReference:sd "sd" guint : Read / Write Shift direction of the reference area.Default value: 0 xmlroff-0.6.2/docs/xml/fo-area-spanning-table-cell.xml0000644000175000017500000002257611156164730017536 00000000000000 FoAreaSpanningTableCell 3 XMLROFF Library FoAreaSpanningTableCell Synopsis FoAreaSpanningTableCell; FoAreaSpanningTableCellClass; FoArea* fo_area_spanning_table_cell_new (void); FoArea* fo_area_spanning_table_cell_new_with_rows_spanned (gint rows_spanned); FoArea* fo_area_spanning_table_cell_get_nth_row_proxy (FoArea *fo_area, gint row_number); gfloat fo_area_spanning_table_cell_get_real_height (FoArea *fo_area); gfloat fo_area_spanning_table_cell_get_real_available_height (FoArea *fo_area); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaReference +----FoAreaSpanningTableCell Description Details FoAreaSpanningTableCell FoAreaSpanningTableCelltypedef struct _FoAreaSpanningTableCell FoAreaSpanningTableCell; FoAreaSpanningTableCellClass FoAreaSpanningTableCellClasstypedef struct _FoAreaSpanningTableCellClass FoAreaSpanningTableCellClass; fo_area_spanning_table_cell_new () fo_area_spanning_table_cell_newFoArea* fo_area_spanning_table_cell_new (void); Creates a new FoAreaSpanningTableCell initialized to default value. Returns : the new FoAreaSpanningTableCell fo_area_spanning_table_cell_new_with_rows_spanned () fo_area_spanning_table_cell_new_with_rows_spannedFoArea* fo_area_spanning_table_cell_new_with_rows_spanned (gint rows_spanned); Creates a new FoAreaSpanningTableCell initialized to span rows_spanned rows. rows_spanned : Number of rows spanned by the new FoAreaSpanningTableCell Returns : the new FoAreaSpanningTableCell fo_area_spanning_table_cell_get_nth_row_proxy () fo_area_spanning_table_cell_get_nth_row_proxyFoArea* fo_area_spanning_table_cell_get_nth_row_proxy (FoArea *fo_area, gint row_number); Gets the FoSpanningTableCellProxy object at the row_number row number. row number should be in the range 2...rows-spanned, where 'rows-spanned' is the number of rows spanned by fo_area. When fo_area spans only one row, this function always returns NULL. fo_area : The FoAreaSpanningTableCell object row_number : The row number of proxy area to get Returns : The FoSpanningTableCellProxy object, or NULL if no proxy fo_area_spanning_table_cell_get_real_height () fo_area_spanning_table_cell_get_real_heightgfloat fo_area_spanning_table_cell_get_real_height (FoArea *fo_area); Gets the real-height property of fo_area fo_area : The FoAreaSpanningTableCell object Returns : The "real_height" property value fo_area_spanning_table_cell_get_real_available_height () fo_area_spanning_table_cell_get_real_available_heightgfloat fo_area_spanning_table_cell_get_real_available_height (FoArea *fo_area); Gets the "real-available-height" property of fo_area fo_area : The FoAreaSpanningTableCell object Returns : The "real-available-height" property value xmlroff-0.6.2/docs/xml/fo-area-table-body.xml0000644000175000017500000000561411156164730015733 00000000000000 FoAreaTableBody 3 XMLROFF Library FoAreaTableBody Synopsis FoAreaTableBody; FoAreaTableBodyClass; FoArea* fo_area_table_body_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaTablePart +----FoAreaTableBody Description Details FoAreaTableBody FoAreaTableBodytypedef struct _FoAreaTableBody FoAreaTableBody; FoAreaTableBodyClass FoAreaTableBodyClasstypedef struct _FoAreaTableBodyClass FoAreaTableBodyClass; fo_area_table_body_new () fo_area_table_body_newFoArea* fo_area_table_body_new (void); Creates a new FoAreaTableBody initialized to default value. Returns : the new FoAreaTableBody xmlroff-0.6.2/docs/xml/fo-area-table-cell-proxy.xml0000644000175000017500000002631711156164730017077 00000000000000 FoAreaTableCellProxy 3 XMLROFF Library FoAreaTableCellProxy Synopsis FoAreaTableCellProxy; FoAreaTableCellProxyClass; FoArea* fo_area_table_cell_proxy_new (void); void fo_area_table_cell_proxy_set_table_cell (FoArea *fo_area, FoArea *new_table_cell); FoArea* fo_area_table_cell_proxy_get_table_cell (FoArea *fo_area); void fo_area_table_cell_proxy_set_row_number (FoArea *fo_area, gint new_row_number); gint fo_area_table_cell_proxy_get_row_number (FoArea *fo_area); void fo_area_table_cell_proxy_set_min_height (FoArea *fo_area, gfloat new_min_height); gfloat fo_area_table_cell_proxy_get_min_height (FoArea *fo_area); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaTableCellProxy Description Details FoAreaTableCellProxy FoAreaTableCellProxytypedef struct _FoAreaTableCellProxy FoAreaTableCellProxy; FoAreaTableCellProxyClass FoAreaTableCellProxyClasstypedef struct _FoAreaTableCellProxyClass FoAreaTableCellProxyClass; fo_area_table_cell_proxy_new () fo_area_table_cell_proxy_newFoArea* fo_area_table_cell_proxy_new (void); Creates a new FoAreaTableCellProxy initialized to default value. Returns : the new FoAreaTableCellProxy fo_area_table_cell_proxy_set_table_cell () fo_area_table_cell_proxy_set_table_cellvoid fo_area_table_cell_proxy_set_table_cell (FoArea *fo_area, FoArea *new_table_cell); Sets the line-last property of area_area to new_table_cell fo_area : The FoAreaTableCellProxy object new_table_cell : The new "row-number" property value fo_area_table_cell_proxy_get_table_cell () fo_area_table_cell_proxy_get_table_cellFoArea* fo_area_table_cell_proxy_get_table_cell (FoArea *fo_area); Gets the 'row-number' property of area_table_cell_proxy fo_area : The FoAreaTableCellProxy object Returns : The "row-number" property value fo_area_table_cell_proxy_set_row_number () fo_area_table_cell_proxy_set_row_numbervoid fo_area_table_cell_proxy_set_row_number (FoArea *fo_area, gint new_row_number); Sets the "row-number" property of fo_area to new_row_number fo_area : The FoAreaTableCellProxy object new_row_number : The new "row-number" property value fo_area_table_cell_proxy_get_row_number () fo_area_table_cell_proxy_get_row_numbergint fo_area_table_cell_proxy_get_row_number (FoArea *fo_area); Gets the 'row-number' property of area_table_cell_proxy fo_area : The FoAreaTableCellProxy object Returns : The "row-number" property value fo_area_table_cell_proxy_set_min_height () fo_area_table_cell_proxy_set_min_heightvoid fo_area_table_cell_proxy_set_min_height (FoArea *fo_area, gfloat new_min_height); Sets the "min-height" property of fo_area to new_min_height fo_area : The FoAreaTableCellProxy object new_min_height : The new "min-height" property value fo_area_table_cell_proxy_get_min_height () fo_area_table_cell_proxy_get_min_heightgfloat fo_area_table_cell_proxy_get_min_height (FoArea *fo_area); Gets the 'min-height' property of fo_area fo_area : The FoAreaTableCellProxy object Returns : The "min-height" property value xmlroff-0.6.2/docs/xml/fo-area-table-cell.xml0000644000175000017500000000561411156164730015715 00000000000000 FoAreaTableCell 3 XMLROFF Library FoAreaTableCell Synopsis FoAreaTableCell; FoAreaTableCellClass; FoArea* fo_area_table_cell_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaReference +----FoAreaTableCell Description Details FoAreaTableCell FoAreaTableCelltypedef struct _FoAreaTableCell FoAreaTableCell; FoAreaTableCellClass FoAreaTableCellClasstypedef struct _FoAreaTableCellClass FoAreaTableCellClass; fo_area_table_cell_new () fo_area_table_cell_newFoArea* fo_area_table_cell_new (void); Creates a new FoAreaTableCell initialized to default value. Returns : the new FoAreaTableCell xmlroff-0.6.2/docs/xml/fo-area-table-continuation.xml0000644000175000017500000000636711156164730017516 00000000000000 FoAreaTableContinuation 3 XMLROFF Library FoAreaTableContinuation Synopsis FoAreaTableContinuation; FoAreaTableContinuationClass; FoArea* fo_area_table_continuation_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaReference +----FoAreaTable +----FoAreaTableContinuation Description Details FoAreaTableContinuation FoAreaTableContinuationtypedef struct _FoAreaTableContinuation FoAreaTableContinuation; FoAreaTableContinuationClass FoAreaTableContinuationClasstypedef struct _FoAreaTableContinuationClass FoAreaTableContinuationClass; fo_area_table_continuation_new () fo_area_table_continuation_newFoArea* fo_area_table_continuation_new (void); Creates a new FoAreaTableContinuation initialized to default value. Returns : the new FoAreaTableContinuation xmlroff-0.6.2/docs/xml/fo-area-table-footer.xml0000644000175000017500000000572011156164730016272 00000000000000 FoAreaTableFooter 3 XMLROFF Library FoAreaTableFooter Synopsis FoAreaTableFooter; FoAreaTableFooterClass; FoArea* fo_area_table_footer_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaTablePart +----FoAreaTableFooter Description Details FoAreaTableFooter FoAreaTableFootertypedef struct _FoAreaTableFooter FoAreaTableFooter; FoAreaTableFooterClass FoAreaTableFooterClasstypedef struct _FoAreaTableFooterClass FoAreaTableFooterClass; fo_area_table_footer_new () fo_area_table_footer_newFoArea* fo_area_table_footer_new (void); Creates a new FoAreaTableFooter initialized to default value. Returns : the new FoAreaTableFooter xmlroff-0.6.2/docs/xml/fo-area-table-header.xml0000644000175000017500000000572011156164730016224 00000000000000 FoAreaTableHeader 3 XMLROFF Library FoAreaTableHeader Synopsis FoAreaTableHeader; FoAreaTableHeaderClass; FoArea* fo_area_table_header_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaTablePart +----FoAreaTableHeader Description Details FoAreaTableHeader FoAreaTableHeadertypedef struct _FoAreaTableHeader FoAreaTableHeader; FoAreaTableHeaderClass FoAreaTableHeaderClasstypedef struct _FoAreaTableHeaderClass FoAreaTableHeaderClass; fo_area_table_header_new () fo_area_table_header_newFoArea* fo_area_table_header_new (void); Creates a new FoAreaTableHeader initialized to default value. Returns : the new FoAreaTableHeader xmlroff-0.6.2/docs/xml/fo-area-table-part.xml0000644000175000017500000000611611156164730015742 00000000000000 FoAreaTablePart 3 XMLROFF Library FoAreaTablePart Synopsis FoAreaTablePart; FoAreaTablePartClass; FoArea* fo_area_table_part_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaTablePart +----FoAreaTableBody +----FoAreaTableFooter +----FoAreaTableHeader Description Details FoAreaTablePart FoAreaTableParttypedef struct _FoAreaTablePart FoAreaTablePart; FoAreaTablePartClass FoAreaTablePartClasstypedef struct _FoAreaTablePartClass FoAreaTablePartClass; fo_area_table_part_new () fo_area_table_part_newFoArea* fo_area_table_part_new (void); Creates a new FoAreaTablePart initialized to default value. Returns : the new FoAreaTablePart xmlroff-0.6.2/docs/xml/fo-area-table-row.xml0000644000175000017500000000541511156164730015604 00000000000000 FoAreaTableRow 3 XMLROFF Library FoAreaTableRow Synopsis FoAreaTableRow; FoAreaTableRowClass; FoArea* fo_area_table_row_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaTableRow Description Details FoAreaTableRow FoAreaTableRowtypedef struct _FoAreaTableRow FoAreaTableRow; FoAreaTableRowClass FoAreaTableRowClasstypedef struct _FoAreaTableRowClass FoAreaTableRowClass; fo_area_table_row_new () fo_area_table_row_newFoArea* fo_area_table_row_new (void); Creates a new FoAreaTableRow initialized to default value. Returns : the new FoAreaTableRow xmlroff-0.6.2/docs/xml/fo-area-table.xml0000644000175000017500000000556211156164730015002 00000000000000 FoAreaTable 3 XMLROFF Library FoAreaTable Synopsis FoAreaTable; FoAreaTableClass; FoArea* fo_area_table_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaReference +----FoAreaTable +----FoAreaTableContinuation Description Details FoAreaTable FoAreaTabletypedef struct _FoAreaTable FoAreaTable; FoAreaTableClass FoAreaTableClasstypedef struct _FoAreaTableClass FoAreaTableClass; fo_area_table_new () fo_area_table_newFoArea* fo_area_table_new (void); Creates a new FoAreaTable initialized to default value. Returns : the new FoAreaTable xmlroff-0.6.2/docs/xml/fo-area-tree.xml0000644000175000017500000000506311156164730014646 00000000000000 FoAreaTree 3 XMLROFF Library FoAreaTree Synopsis FoAreaTree; FoAreaTreeClass; FoArea* fo_area_tree_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaTree Description Details FoAreaTree FoAreaTreetypedef struct _FoAreaTree FoAreaTree; FoAreaTreeClass FoAreaTreeClasstypedef struct _FoAreaTreeClass FoAreaTreeClass; fo_area_tree_new () fo_area_tree_newFoArea* fo_area_tree_new (void); Creates a new FoAreaTree initialized to default value. Returns : the new FoAreaTree xmlroff-0.6.2/docs/xml/fo-area-viewport-reference.xml0000644000175000017500000000636511156164730017530 00000000000000 FoAreaViewportReference 3 XMLROFF Library FoAreaViewportReference Synopsis FoAreaViewportReference; FoAreaViewportReferenceClass; FoArea* fo_area_viewport_reference_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaReference +----FoAreaViewportReference +----FoAreaPage Description Details FoAreaViewportReference FoAreaViewportReferencetypedef struct _FoAreaViewportReference FoAreaViewportReference; FoAreaViewportReferenceClass FoAreaViewportReferenceClasstypedef struct _FoAreaViewportReferenceClass FoAreaViewportReferenceClass; fo_area_viewport_reference_new () fo_area_viewport_reference_newFoArea* fo_area_viewport_reference_new (void); Creates a new FoAreaViewportReference initialized to default value. Returns : the new FoAreaViewportReference xmlroff-0.6.2/docs/xml/fo-area.xml0000644000175000017500000024743111156164731013721 00000000000000 FoArea 3 XMLROFF Library FoArea Synopsis FoArea; FoAreaClass; FoArea* fo_area_new (void); FoArea* fo_area_get_page (FoArea *fo_area); FoArea* fo_area_get_reference (FoArea *fo_area); FoArea* fo_area_get_page_sequence (FoArea *fo_area); gboolean fo_area_get_is_first (FoArea *fo_area); gboolean fo_area_get_is_last (FoArea *fo_area); gfloat fo_area_get_next_x (FoArea *fo_area); void fo_area_set_next_x (FoArea *fo_area, gfloat new_next_x); gfloat fo_area_get_next_y (FoArea *fo_area); void fo_area_set_next_y (FoArea *fo_area, gfloat new_next_y); gfloat fo_area_get_available_width (FoArea *fo_area); void fo_area_set_available_width (FoArea *fo_area, gfloat new_available_width); gfloat fo_area_get_available_height (FoArea *fo_area); void fo_area_set_available_height (FoArea *fo_area, gfloat new_available_height); gfloat fo_area_get_child_available_ipdim (FoArea *fo_area); void fo_area_set_child_available_ipdim (FoArea *fo_area, gfloat new_child_available_ipdim); gfloat fo_area_get_child_available_bpdim (FoArea *fo_area); void fo_area_set_child_available_bpdim (FoArea *fo_area, gfloat new_child_available_bpdim); FoFo* fo_area_get_generated_by (FoArea *fo_area); void fo_area_set_generated_by (FoArea *fo_area, FoFo *new_fo); FoArea* fo_area_add_child (FoArea *parent, FoArea *child); FoArea* fo_area_size_request (FoArea *child); void fo_area_debug_dump_properties (FoArea *area, gint depth); void fo_area_border_padding_space_resolve (FoArea *parent_area, FoArea *child_area); FoArea* fo_area_break_resolve (FoArea *parent_area, FoArea *new_area); void fo_area_set_height_from_children (FoArea *parent_area); FoArea* fo_area_clone (FoArea *original); void fo_area_update_after_clone (FoArea *clone, FoArea *original); FoArea* fo_area_split_before_height (FoArea *area, gfloat height); gboolean fo_area_split_before_height_check (FoArea *area, gfloat height); void fo_area_resolve_text_align (FoArea *area); gboolean (*FoAreaTraverseFunc) (FoArea *area, gpointer data); void (*FoAreaForeachFunc) (FoArea *area, gpointer data); #define FO_AREA_IS_ROOT (area) #define FO_AREA_IS_LEAF (area) FoArea* fo_area_insert (FoArea *parent, gint position, FoArea *area); FoArea* fo_area_insert_before (FoArea *parent, FoArea *sibling, FoArea *area); FoArea* fo_area_insert_after (FoArea *parent, FoArea *sibling, FoArea *area); FoArea* fo_area_prepend (FoArea *parent, FoArea *area); guint fo_area_n_areas (FoArea *root, GTraverseFlags flags); FoArea* fo_area_get_root (FoArea *area); gboolean fo_area_is_ancestor (FoArea *area, FoArea *descendant); guint fo_area_depth (FoArea *area); FoArea* fo_area_append (FoArea *parent, FoArea *area); void fo_area_traverse (FoArea *root, GTraverseType order, GTraverseFlags flags, gint max_depth, FoAreaTraverseFunc func, gpointer data); guint fo_area_max_height (FoArea *root); void fo_area_children_foreach (FoArea *area, GTraverseFlags flags, FoAreaForeachFunc func, gpointer data); void fo_area_reverse_children (FoArea *area); guint fo_area_n_children (FoArea *area); FoArea* fo_area_nth_child (FoArea *area, guint n); FoArea* fo_area_last_child (FoArea *area); guint fo_area_child_position (FoArea *area, FoArea *child); FoArea* fo_area_first_sibling (FoArea *area); FoArea* fo_area_last_sibling (FoArea *area); FoArea* fo_area_prev_sibling (FoArea *area); FoArea* fo_area_next_sibling (FoArea *area); FoArea* fo_area_first_child (FoArea *area); FoArea* fo_area_parent (FoArea *area); void fo_area_unlink (FoArea *area); void fo_area_unlink_with_next_siblings (FoArea *area); FoArea* fo_area_insert_with_next_siblings (FoArea *parent, gint position, FoArea *area); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoAreaArea +----FoAreaTree Properties "available-height" gfloat : Read / Write "available-width" gfloat : Read / Write "child-available-bpdim" gfloat : Read / Write "child-available-ipdim" gfloat : Read / Write "generated-by" FoFo* : Read / Write "is-first" gboolean : Read "is-last" gboolean : Read "next-x" gfloat : Read / Write "next-y" gfloat : Read / Write "page" FoArea* : Read "page-sequence" FoFo* : Read / Write Description Details FoArea FoAreatypedef struct _FoArea FoArea; Instance of the base class for area objects. FoAreaClass FoAreaClasstypedef struct _FoAreaClass FoAreaClass; Class structure for the base class for area objects. fo_area_new () fo_area_newFoArea* fo_area_new (void); Creates a new FoArea initialized to default value. Returns : the new FoArea fo_area_get_page () fo_area_get_pageFoArea* fo_area_get_page (FoArea *fo_area); Gets the page property of area fo_area : The FoArea object Returns : The "page" property value fo_area_get_reference () fo_area_get_referenceFoArea* fo_area_get_reference (FoArea *fo_area); Gets the reference property of area fo_area : The FoArea object Returns : The "reference" property value fo_area_get_page_sequence () fo_area_get_page_sequenceFoArea* fo_area_get_page_sequence (FoArea *fo_area); Gets the page_sequence property of area fo_area : The FoArea object Returns : The "page-sequence" property value fo_area_get_is_first () fo_area_get_is_firstgboolean fo_area_get_is_first (FoArea *fo_area); Gets the is_first property of area fo_area : The FoArea object Returns : The "is-first" property value fo_area_get_is_last () fo_area_get_is_lastgboolean fo_area_get_is_last (FoArea *fo_area); Gets the is_last property of area fo_area : The FoArea object Returns : The "is-last" property value fo_area_get_next_x () fo_area_get_next_xgfloat fo_area_get_next_x (FoArea *fo_area); Gets the next_x property of area fo_area : The FoArea object Returns : The "next_x" property value fo_area_set_next_x () fo_area_set_next_xvoid fo_area_set_next_x (FoArea *fo_area, gfloat new_next_x); Sets the next-x property of area to new_next_x fo_area : The FoArea object new_next_x : The new "next_x" property value fo_area_get_next_y () fo_area_get_next_ygfloat fo_area_get_next_y (FoArea *fo_area); Gets the "next_y" property of area fo_area : The FoArea object Returns : The "next-y" property value fo_area_set_next_y () fo_area_set_next_yvoid fo_area_set_next_y (FoArea *fo_area, gfloat new_next_y); Sets the next-y property of area to new_next_y fo_area : The FoArea object new_next_y : The new "next-y" property value fo_area_get_available_width () fo_area_get_available_widthgfloat fo_area_get_available_width (FoArea *fo_area); Gets the "available-width" property of area fo_area : The FoArea object Returns : The "available-width" property value fo_area_set_available_width () fo_area_set_available_widthvoid fo_area_set_available_width (FoArea *fo_area, gfloat new_available_width); Sets the "available-width" property of area to new_available_width fo_area : The FoArea object new_available_width : The new "available-width" property value fo_area_get_available_height () fo_area_get_available_heightgfloat fo_area_get_available_height (FoArea *fo_area); Gets the available-height property of area fo_area : The FoArea object Returns : The "available_height" property value fo_area_set_available_height () fo_area_set_available_heightvoid fo_area_set_available_height (FoArea *fo_area, gfloat new_available_height); Sets the available-height property of area to new_available_height fo_area : The FoArea object new_available_height : The new "available-height" property value fo_area_get_child_available_ipdim () fo_area_get_child_available_ipdimgfloat fo_area_get_child_available_ipdim (FoArea *fo_area); Gets the "child-available-ipdim" property of area fo_area : The FoArea object Returns : The "child-available-ipdim" property value fo_area_set_child_available_ipdim () fo_area_set_child_available_ipdimvoid fo_area_set_child_available_ipdim (FoArea *fo_area, gfloat new_child_available_ipdim); Sets the "child-available-ipdim" property of area to new_child_available_ipdim fo_area : The FoArea object new_child_available_ipdim : The new "child-available-ipdim" property value fo_area_get_child_available_bpdim () fo_area_get_child_available_bpdimgfloat fo_area_get_child_available_bpdim (FoArea *fo_area); Gets the "child-available-bpdim" property of area fo_area : The FoArea object Returns : The "child-available-bpdim" property value fo_area_set_child_available_bpdim () fo_area_set_child_available_bpdimvoid fo_area_set_child_available_bpdim (FoArea *fo_area, gfloat new_child_available_bpdim); Sets the "child-available-bpdim" property of area to new_child_available_bpdim fo_area : The FoArea object new_child_available_bpdim : The new "child-available-bpdim" property value fo_area_get_generated_by () fo_area_get_generated_byFoFo* fo_area_get_generated_by (FoArea *fo_area); Gets the generated-by property of area fo_area : The FoArea object Returns : The "generated-by" property value fo_area_set_generated_by () fo_area_set_generated_byvoid fo_area_set_generated_by (FoArea *fo_area, FoFo *new_fo); Sets the generated-by property of area to new_fo fo_area : The FoArea object new_fo : The new "generated-by" property value fo_area_add_child () fo_area_add_childFoArea* fo_area_add_child (FoArea *parent, FoArea *child); Add child to parent by calling the _add_child() function for parent. parent : Parent area node child : Child area node Returns : child fo_area_size_request () fo_area_size_requestFoArea* fo_area_size_request (FoArea *child); Checks that the parent area of child has sufficient space for child. If not enough space, requests that the parent has sufficient space allocated for it, then adjusts child and its siblings as necessary to fit into the resized parent area. You should call #fo_area_size_request() immediately after adding an area to the area tree or making a change to the area's height. The child area's requested height is taken from the area's height property value. Its requested width is taken from its width property value. The height allocated to the area is set in the area's available_height property value. Its width allocation is set in its available_width property value. Immediately after calling this function, the child area should set its height and width according to the available_height and available_width property values. How the child area resolves any difference between the available height and width and the height and width that it needs is up to the child area to work out. The child area's x and y property values may also have been adjusted, but a child area doesn't set its own x and y property values anyway. The area that is returned may be a different area object than the child area that is passed as the argument to this function. For example, the parent area may not have been large enough to contain the child area at its requested height, and the child area, the parent area, and all ancestor areas up to an FoAreaPage may have been split (possibly more than once) and the overflow placed on one or more new pages. child : Child area Returns : Pointer to the last area generated from child after any reallocation and resizing fo_area_debug_dump_properties () fo_area_debug_dump_propertiesvoid fo_area_debug_dump_properties (FoArea *area, gint depth); Dump the properties of area. area : The FoArea object depth : Indent level to add to the output fo_area_border_padding_space_resolve () fo_area_border_padding_space_resolvevoid fo_area_border_padding_space_resolve (FoArea *parent_area, FoArea *child_area); Resolves the border, padding, and space properties of child_area. parent_area : Parent area of child_area. child_area : FoArea for which to resolve properties. fo_area_break_resolve () fo_area_break_resolveFoArea* fo_area_break_resolve (FoArea *parent_area, FoArea *new_area); Resolves the break properties of new_area, which may result in new_area being split into multiple areas. parent_area : Parent area of new_area. new_area : FoArea for which to resolve breaks. Returns : Last area resulting from resolving breaks. fo_area_set_height_from_children () fo_area_set_height_from_childrenvoid fo_area_set_height_from_children (FoArea *parent_area); parent_area : fo_area_clone () fo_area_cloneFoArea* fo_area_clone (FoArea *original); Make a clone of original and insert the clone after original in the area tree. Set instance properties of the clone to match original. original : Area object to be cloned. Returns : Clone of original. fo_area_update_after_clone () fo_area_update_after_clonevoid fo_area_update_after_clone (FoArea *clone, FoArea *original); Update the instance variables of clone to match those of original. clone : New object cloned from original. original : Original area object. fo_area_split_before_height () fo_area_split_before_heightFoArea* fo_area_split_before_height (FoArea *area, gfloat height); Split area at or before height. area : FoArea to be split height : Maximum block-progression-dimension of area Returns : The part of area spit from area, or NULL if unsplit. fo_area_split_before_height_check () fo_area_split_before_height_checkgboolean fo_area_split_before_height_check (FoArea *area, gfloat height); Check whether area can split at or before height. area : FoArea to be split height : Maximum block-progression-dimension of area Returns : TRUE if can split, otherwise FALSE. fo_area_resolve_text_align () fo_area_resolve_text_alignvoid fo_area_resolve_text_align (FoArea *area); Resolves the text alignment value for area and its descendants. area : FoArea for which to resolve text alignment. FoAreaTraverseFunc () FoAreaTraverseFuncgboolean (*FoAreaTraverseFunc) (FoArea *area, gpointer data); area : data : Returns : FoAreaForeachFunc () FoAreaForeachFuncvoid (*FoAreaForeachFunc) (FoArea *area, gpointer data); area : data : FO_AREA_IS_ROOT() FO_AREA_IS_ROOT#define FO_AREA_IS_ROOT(area) (FO_NODE_IS_ROOT(((FoNode*) (area)))) area : FO_AREA_IS_LEAF() FO_AREA_IS_LEAF#define FO_AREA_IS_LEAF(area) (FO_NODE_IS_LEAF(((FoNode*) (area)))) area : fo_area_insert () fo_area_insertFoArea* fo_area_insert (FoArea *parent, gint position, FoArea *area); parent : position : area : Returns : fo_area_insert_before () fo_area_insert_beforeFoArea* fo_area_insert_before (FoArea *parent, FoArea *sibling, FoArea *area); parent : sibling : area : Returns : fo_area_insert_after () fo_area_insert_afterFoArea* fo_area_insert_after (FoArea *parent, FoArea *sibling, FoArea *area); parent : sibling : area : Returns : fo_area_prepend () fo_area_prependFoArea* fo_area_prepend (FoArea *parent, FoArea *area); Inserts a FoArea as the first child of the given parent and updates the inserted FoArea. parent : the FoArea to place the new FoArea under. area : the FoArea to insert. Returns : the inserted FoArea. fo_area_n_areas () fo_area_n_areasguint fo_area_n_areas (FoArea *root, GTraverseFlags flags); Gets the number of nodes in a tree. root : a FoArea. flags : which types of children are to be counted, one of G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS. Returns : the number of nodes in the tree. fo_area_get_root () fo_area_get_rootFoArea* fo_area_get_root (FoArea *area); area : Returns : fo_area_is_ancestor () fo_area_is_ancestorgboolean fo_area_is_ancestor (FoArea *area, FoArea *descendant); area : descendant : Returns : fo_area_depth () fo_area_depthguint fo_area_depth (FoArea *area); Gets the depth of a FoArea. If area is NULL the depth is 0. The root node has a depth of 1. For the children of the root node the depth is 2. And so on. area : a FoArea. Returns : the depth of the FoArea. fo_area_append () fo_area_appendFoArea* fo_area_append (FoArea *parent, FoArea *area); Inserts a FoArea as the last child of the given parent and updates the inserted FoArea. parent : the FoArea to place the new FoArea under. area : the FoArea to insert. Returns : the inserted FoArea. fo_area_traverse () fo_area_traversevoid fo_area_traverse (FoArea *root, GTraverseType order, GTraverseFlags flags, gint max_depth, FoAreaTraverseFunc func, gpointer data); root : order : flags : max_depth : func : data : fo_area_max_height () fo_area_max_heightguint fo_area_max_height (FoArea *root); Gets the maximum height of all branches beneath a FoArea. This is the maximum distance from the FoArea to all leaf nodes. If root is NULL, 0 is returned. If root has no children, 1 is returned. If root has children, 2 is returned. And so on. root : Root node of a FoArea tree. Returns : the maximum height of the tree beneath root. fo_area_children_foreach () fo_area_children_foreachvoid fo_area_children_foreach (FoArea *area, GTraverseFlags flags, FoAreaForeachFunc func, gpointer data); Calls a function for each of the children of a FoArea. Note that it doesn't descend beneath the child nodes. area : a FoArea. flags : which types of children are to be visited, one of G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS. func : the function to call for each visited node. data : user data to pass to the function. fo_area_reverse_children () fo_area_reverse_childrenvoid fo_area_reverse_children (FoArea *area); Reverses the order of the children of a FoArea. (It doesn't change the order of the grandchildren.) area : a FoArea. fo_area_n_children () fo_area_n_childrenguint fo_area_n_children (FoArea *area); Gets the number of children of a FoArea. area : a FoArea. Returns : the number of children of area. fo_area_nth_child () fo_area_nth_childFoArea* fo_area_nth_child (FoArea *area, guint n); Gets a child of a FoArea, using the given index. The first child is at index 0. If the index is too big, NULL is returned. area : a FoArea. n : the index of the desired child. Returns : the child of area at index n. fo_area_last_child () fo_area_last_childFoArea* fo_area_last_child (FoArea *area); Gets the last child of a FoArea. area : a FoArea (nust not be NULL). Returns : the last child of area, or NULL if area has no children. fo_area_child_position () fo_area_child_positionguint fo_area_child_position (FoArea *area, FoArea *child); Gets the position of a FoArea with respect to its siblings. child must be a child of area. The first child is numbered 0, the second 1, and so on. area : a FoArea. child : a child of area. Returns : the position of child with respect to its siblings. fo_area_first_sibling () fo_area_first_siblingFoArea* fo_area_first_sibling (FoArea *area); Gets the first sibling of a FoArea. This could possibly be the node itself. area : a FoArea. Returns : the first sibling of area. fo_area_last_sibling () fo_area_last_siblingFoArea* fo_area_last_sibling (FoArea *area); Gets the last sibling of a FoArea. This could possibly be the node itself. area : a FoArea. Returns : the last sibling of area. fo_area_prev_sibling () fo_area_prev_siblingFoArea* fo_area_prev_sibling (FoArea *area); Gets the previous sibling of a FoArea. area : a FoArea. Returns : the previous sibling of area, or NULL if area is NULL. fo_area_next_sibling () fo_area_next_siblingFoArea* fo_area_next_sibling (FoArea *area); Gets the next sibling of a FoArea. area : a FoArea. Returns : the next sibling of area, or NULL if area is NULL. fo_area_first_child () fo_area_first_childFoArea* fo_area_first_child (FoArea *area); Gets the first child of a FoArea. area : A FoArea. Returns : the first child of area, or NULL if area is NULL or has no children. fo_area_parent () fo_area_parentFoArea* fo_area_parent (FoArea *area); Gets the parent of a FoArea. area : a FoArea. Returns : the parent of area, or NULL if area is the root of the tree. fo_area_unlink () fo_area_unlinkvoid fo_area_unlink (FoArea *area); Unlinks an FoArea from an FoArea tree, resulting in two separate trees. area : the FoArea to unlink, which becomes the root of a new tree. fo_area_unlink_with_next_siblings () fo_area_unlink_with_next_siblingsvoid fo_area_unlink_with_next_siblings (FoArea *area); Unlinks area and its following siblings. area : First FoArea to unlink. fo_area_insert_with_next_siblings () fo_area_insert_with_next_siblingsFoArea* fo_area_insert_with_next_siblings (FoArea *parent, gint position, FoArea *area); Implements fo_node_insert_with_next_siblings for FoArea. parent : FoArea to be parent of area and its siblings. position : Offset at which to insert area and its siblings. area : FoArea, possibly with following siblings. Returns : parent with area and siblings inserted. Property Details The <literal>"available-height"</literal> property FoArea:available-height "available-height" gfloat : Read / Write Height available to child areas.Default value: 0 The <literal>"available-width"</literal> property FoArea:available-width "available-width" gfloat : Read / Write Width available to child areas.Allowed values: >= 0 Default value: 0 The <literal>"child-available-bpdim"</literal> property FoArea:child-available-bpdim "child-available-bpdim" gfloat : Read / Write Block-progression-dimension available to child areas.Allowed values: >= 0 Default value: 0 The <literal>"child-available-ipdim"</literal> property FoArea:child-available-ipdim "child-available-ipdim" gfloat : Read / Write Inline-progression-dimension available to child areas.Allowed values: >= 0 Default value: 0 The <literal>"generated-by"</literal> property FoArea:generated-by "generated-by" FoFo* : Read / Write Formatting object that generated this area. The <literal>"is-first"</literal> property FoArea:is-first "is-first" gboolean : Read Is this the first area produced by the formatting object?.Default value: TRUE The <literal>"is-last"</literal> property FoArea:is-last "is-last" gboolean : Read Is this the last area produced by the formatting object?.Default value: TRUE The <literal>"next-x"</literal> property FoArea:next-x "next-x" gfloat : Read / Write x-coordinate of next child area.Allowed values: >= 0 Default value: 0 The <literal>"next-y"</literal> property FoArea:next-y "next-y" gfloat : Read / Write y-coordinate of next child area.Allowed values: >= 0 Default value: 0 The <literal>"page"</literal> property FoArea:page "page" FoArea* : Read Ancestor FoAreaPage node in the area tree. The <literal>"page-sequence"</literal> property FoArea:page-sequence "page-sequence" FoFo* : Read / Write Ancestor fo:page_sequence node in the formatting object tree. xmlroff-0.6.2/docs/xml/fo-basic-link.xml0000644000175000017500000054064711156164731015032 00000000000000 basic-link 3 XMLROFF Library basic-link Synopsis FoBasicLink; FoBasicLinkClass; FoFo* fo_basic_link_new (void); FoProperty* fo_basic_link_get_alignment_adjust (FoFo *fo_fo); void fo_basic_link_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_basic_link_get_alignment_baseline (FoFo *fo_fo); void fo_basic_link_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty* fo_basic_link_get_background_color (FoFo *fo_fo); void fo_basic_link_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_basic_link_get_background_image (FoFo *fo_fo); void fo_basic_link_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_basic_link_get_baseline_shift (FoFo *fo_fo); void fo_basic_link_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_basic_link_get_border_after_color (FoFo *fo_fo); void fo_basic_link_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_basic_link_get_border_after_style (FoFo *fo_fo); void fo_basic_link_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_basic_link_get_border_after_width (FoFo *fo_fo); void fo_basic_link_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_basic_link_get_border_before_color (FoFo *fo_fo); void fo_basic_link_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_basic_link_get_border_before_style (FoFo *fo_fo); void fo_basic_link_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_basic_link_get_border_before_width (FoFo *fo_fo); void fo_basic_link_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_basic_link_get_border_bottom_color (FoFo *fo_fo); void fo_basic_link_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_basic_link_get_border_bottom_style (FoFo *fo_fo); void fo_basic_link_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_basic_link_get_border_bottom_width (FoFo *fo_fo); void fo_basic_link_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_basic_link_get_border_end_color (FoFo *fo_fo); void fo_basic_link_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_basic_link_get_border_end_style (FoFo *fo_fo); void fo_basic_link_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_basic_link_get_border_end_width (FoFo *fo_fo); void fo_basic_link_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_basic_link_get_border_left_color (FoFo *fo_fo); void fo_basic_link_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_basic_link_get_border_left_style (FoFo *fo_fo); void fo_basic_link_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_basic_link_get_border_left_width (FoFo *fo_fo); void fo_basic_link_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_basic_link_get_border_right_color (FoFo *fo_fo); void fo_basic_link_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_basic_link_get_border_right_style (FoFo *fo_fo); void fo_basic_link_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_basic_link_get_border_right_width (FoFo *fo_fo); void fo_basic_link_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_basic_link_get_border_start_color (FoFo *fo_fo); void fo_basic_link_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_basic_link_get_border_start_style (FoFo *fo_fo); void fo_basic_link_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_basic_link_get_border_start_width (FoFo *fo_fo); void fo_basic_link_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_basic_link_get_border_top_color (FoFo *fo_fo); void fo_basic_link_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_basic_link_get_border_top_style (FoFo *fo_fo); void fo_basic_link_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_basic_link_get_border_top_width (FoFo *fo_fo); void fo_basic_link_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_basic_link_get_dominant_baseline (FoFo *fo_fo); void fo_basic_link_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_basic_link_get_id (FoFo *fo_fo); void fo_basic_link_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_basic_link_get_keep_together (FoFo *fo_fo); void fo_basic_link_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_basic_link_get_keep_together_within_column (FoFo *fo_fo); void fo_basic_link_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_basic_link_get_keep_together_within_line (FoFo *fo_fo); void fo_basic_link_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_basic_link_get_keep_together_within_page (FoFo *fo_fo); void fo_basic_link_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_basic_link_get_keep_with_next (FoFo *fo_fo); void fo_basic_link_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_basic_link_get_keep_with_next_within_column (FoFo *fo_fo); void fo_basic_link_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_basic_link_get_keep_with_next_within_line (FoFo *fo_fo); void fo_basic_link_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_basic_link_get_keep_with_next_within_page (FoFo *fo_fo); void fo_basic_link_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_basic_link_get_keep_with_previous (FoFo *fo_fo); void fo_basic_link_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_basic_link_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_basic_link_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_basic_link_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_basic_link_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_basic_link_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_basic_link_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_basic_link_get_line_height (FoFo *fo_fo); void fo_basic_link_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_basic_link_get_padding_after (FoFo *fo_fo); void fo_basic_link_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_basic_link_get_padding_before (FoFo *fo_fo); void fo_basic_link_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_basic_link_get_padding_bottom (FoFo *fo_fo); void fo_basic_link_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_basic_link_get_padding_end (FoFo *fo_fo); void fo_basic_link_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_basic_link_get_padding_left (FoFo *fo_fo); void fo_basic_link_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_basic_link_get_padding_right (FoFo *fo_fo); void fo_basic_link_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_basic_link_get_padding_start (FoFo *fo_fo); void fo_basic_link_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_basic_link_get_padding_top (FoFo *fo_fo); void fo_basic_link_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_basic_link_get_role (FoFo *fo_fo); void fo_basic_link_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_basic_link_get_source_document (FoFo *fo_fo); void fo_basic_link_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_basic_link_get_space_end (FoFo *fo_fo); void fo_basic_link_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_basic_link_get_space_start (FoFo *fo_fo); void fo_basic_link_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoBasicLink Implemented Interfaces FoBasicLink implements FoInlineFoIface. Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "baseline-shift" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "dominant-baseline" FoProperty* : Read "id" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read Description Details FoBasicLink FoBasicLinktypedef struct _FoBasicLink FoBasicLink; FoBasicLinkClass FoBasicLinkClasstypedef struct _FoBasicLinkClass FoBasicLinkClass; fo_basic_link_new () fo_basic_link_newFoFo* fo_basic_link_new (void); Creates a new FoBasicLink initialized to default value. Returns : the new FoBasicLink. fo_basic_link_get_alignment_adjust () fo_basic_link_get_alignment_adjustFoProperty* fo_basic_link_get_alignment_adjust (FoFo *fo_fo); Gets the "alignment-adjust" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-adjust" property value fo_basic_link_set_alignment_adjust () fo_basic_link_set_alignment_adjustvoid fo_basic_link_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust fo_fo : The FoFo object new_alignment_adjust : The new "alignment-adjust" property value fo_basic_link_get_alignment_baseline () fo_basic_link_get_alignment_baselineFoProperty* fo_basic_link_get_alignment_baseline (FoFo *fo_fo); Gets the "alignment-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-baseline" property value fo_basic_link_set_alignment_baseline () fo_basic_link_set_alignment_baselinevoid fo_basic_link_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline fo_fo : The FoFo object new_alignment_baseline : The new "alignment-baseline" property value fo_basic_link_get_background_color () fo_basic_link_get_background_colorFoProperty* fo_basic_link_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_basic_link_set_background_color () fo_basic_link_set_background_colorvoid fo_basic_link_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_basic_link_get_background_image () fo_basic_link_get_background_imageFoProperty* fo_basic_link_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_basic_link_set_background_image () fo_basic_link_set_background_imagevoid fo_basic_link_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_basic_link_get_baseline_shift () fo_basic_link_get_baseline_shiftFoProperty* fo_basic_link_get_baseline_shift (FoFo *fo_fo); Gets the "baseline-shift" property of fo_fo fo_fo : The FoFo object Returns : The "baseline-shift" property value fo_basic_link_set_baseline_shift () fo_basic_link_set_baseline_shiftvoid fo_basic_link_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_fo to new_baseline_shift fo_fo : The FoFo object new_baseline_shift : The new "baseline-shift" property value fo_basic_link_get_border_after_color () fo_basic_link_get_border_after_colorFoProperty* fo_basic_link_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_basic_link_set_border_after_color () fo_basic_link_set_border_after_colorvoid fo_basic_link_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_basic_link_get_border_after_style () fo_basic_link_get_border_after_styleFoProperty* fo_basic_link_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_basic_link_set_border_after_style () fo_basic_link_set_border_after_stylevoid fo_basic_link_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_basic_link_get_border_after_width () fo_basic_link_get_border_after_widthFoProperty* fo_basic_link_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_basic_link_set_border_after_width () fo_basic_link_set_border_after_widthvoid fo_basic_link_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_basic_link_get_border_before_color () fo_basic_link_get_border_before_colorFoProperty* fo_basic_link_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_basic_link_set_border_before_color () fo_basic_link_set_border_before_colorvoid fo_basic_link_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_basic_link_get_border_before_style () fo_basic_link_get_border_before_styleFoProperty* fo_basic_link_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_basic_link_set_border_before_style () fo_basic_link_set_border_before_stylevoid fo_basic_link_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_basic_link_get_border_before_width () fo_basic_link_get_border_before_widthFoProperty* fo_basic_link_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_basic_link_set_border_before_width () fo_basic_link_set_border_before_widthvoid fo_basic_link_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_basic_link_get_border_bottom_color () fo_basic_link_get_border_bottom_colorFoProperty* fo_basic_link_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_basic_link_set_border_bottom_color () fo_basic_link_set_border_bottom_colorvoid fo_basic_link_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_basic_link_get_border_bottom_style () fo_basic_link_get_border_bottom_styleFoProperty* fo_basic_link_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_basic_link_set_border_bottom_style () fo_basic_link_set_border_bottom_stylevoid fo_basic_link_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_basic_link_get_border_bottom_width () fo_basic_link_get_border_bottom_widthFoProperty* fo_basic_link_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_basic_link_set_border_bottom_width () fo_basic_link_set_border_bottom_widthvoid fo_basic_link_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_basic_link_get_border_end_color () fo_basic_link_get_border_end_colorFoProperty* fo_basic_link_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_basic_link_set_border_end_color () fo_basic_link_set_border_end_colorvoid fo_basic_link_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_basic_link_get_border_end_style () fo_basic_link_get_border_end_styleFoProperty* fo_basic_link_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_basic_link_set_border_end_style () fo_basic_link_set_border_end_stylevoid fo_basic_link_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_basic_link_get_border_end_width () fo_basic_link_get_border_end_widthFoProperty* fo_basic_link_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_basic_link_set_border_end_width () fo_basic_link_set_border_end_widthvoid fo_basic_link_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_basic_link_get_border_left_color () fo_basic_link_get_border_left_colorFoProperty* fo_basic_link_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_basic_link_set_border_left_color () fo_basic_link_set_border_left_colorvoid fo_basic_link_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_basic_link_get_border_left_style () fo_basic_link_get_border_left_styleFoProperty* fo_basic_link_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_basic_link_set_border_left_style () fo_basic_link_set_border_left_stylevoid fo_basic_link_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_basic_link_get_border_left_width () fo_basic_link_get_border_left_widthFoProperty* fo_basic_link_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_basic_link_set_border_left_width () fo_basic_link_set_border_left_widthvoid fo_basic_link_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_basic_link_get_border_right_color () fo_basic_link_get_border_right_colorFoProperty* fo_basic_link_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_basic_link_set_border_right_color () fo_basic_link_set_border_right_colorvoid fo_basic_link_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_basic_link_get_border_right_style () fo_basic_link_get_border_right_styleFoProperty* fo_basic_link_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_basic_link_set_border_right_style () fo_basic_link_set_border_right_stylevoid fo_basic_link_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_basic_link_get_border_right_width () fo_basic_link_get_border_right_widthFoProperty* fo_basic_link_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_basic_link_set_border_right_width () fo_basic_link_set_border_right_widthvoid fo_basic_link_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_basic_link_get_border_start_color () fo_basic_link_get_border_start_colorFoProperty* fo_basic_link_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_basic_link_set_border_start_color () fo_basic_link_set_border_start_colorvoid fo_basic_link_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_basic_link_get_border_start_style () fo_basic_link_get_border_start_styleFoProperty* fo_basic_link_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_basic_link_set_border_start_style () fo_basic_link_set_border_start_stylevoid fo_basic_link_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_basic_link_get_border_start_width () fo_basic_link_get_border_start_widthFoProperty* fo_basic_link_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_basic_link_set_border_start_width () fo_basic_link_set_border_start_widthvoid fo_basic_link_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_basic_link_get_border_top_color () fo_basic_link_get_border_top_colorFoProperty* fo_basic_link_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_basic_link_set_border_top_color () fo_basic_link_set_border_top_colorvoid fo_basic_link_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_basic_link_get_border_top_style () fo_basic_link_get_border_top_styleFoProperty* fo_basic_link_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_basic_link_set_border_top_style () fo_basic_link_set_border_top_stylevoid fo_basic_link_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_basic_link_get_border_top_width () fo_basic_link_get_border_top_widthFoProperty* fo_basic_link_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_basic_link_set_border_top_width () fo_basic_link_set_border_top_widthvoid fo_basic_link_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_basic_link_get_dominant_baseline () fo_basic_link_get_dominant_baselineFoProperty* fo_basic_link_get_dominant_baseline (FoFo *fo_fo); Gets the "dominant-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "dominant-baseline" property value fo_basic_link_set_dominant_baseline () fo_basic_link_set_dominant_baselinevoid fo_basic_link_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline fo_fo : The FoFo object new_dominant_baseline : The new "dominant-baseline" property value fo_basic_link_get_id () fo_basic_link_get_idFoProperty* fo_basic_link_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_basic_link_set_id () fo_basic_link_set_idvoid fo_basic_link_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_basic_link_get_keep_together () fo_basic_link_get_keep_togetherFoProperty* fo_basic_link_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_basic_link_set_keep_together () fo_basic_link_set_keep_togethervoid fo_basic_link_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_basic_link_get_keep_together_within_column () fo_basic_link_get_keep_together_within_columnFoProperty* fo_basic_link_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_basic_link_set_keep_together_within_column () fo_basic_link_set_keep_together_within_columnvoid fo_basic_link_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_basic_link_get_keep_together_within_line () fo_basic_link_get_keep_together_within_lineFoProperty* fo_basic_link_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_basic_link_set_keep_together_within_line () fo_basic_link_set_keep_together_within_linevoid fo_basic_link_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_basic_link_get_keep_together_within_page () fo_basic_link_get_keep_together_within_pageFoProperty* fo_basic_link_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_basic_link_set_keep_together_within_page () fo_basic_link_set_keep_together_within_pagevoid fo_basic_link_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_basic_link_get_keep_with_next () fo_basic_link_get_keep_with_nextFoProperty* fo_basic_link_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_basic_link_set_keep_with_next () fo_basic_link_set_keep_with_nextvoid fo_basic_link_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_basic_link_get_keep_with_next_within_column () fo_basic_link_get_keep_with_next_within_columnFoProperty* fo_basic_link_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_basic_link_set_keep_with_next_within_column () fo_basic_link_set_keep_with_next_within_columnvoid fo_basic_link_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_basic_link_get_keep_with_next_within_line () fo_basic_link_get_keep_with_next_within_lineFoProperty* fo_basic_link_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_basic_link_set_keep_with_next_within_line () fo_basic_link_set_keep_with_next_within_linevoid fo_basic_link_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_basic_link_get_keep_with_next_within_page () fo_basic_link_get_keep_with_next_within_pageFoProperty* fo_basic_link_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_basic_link_set_keep_with_next_within_page () fo_basic_link_set_keep_with_next_within_pagevoid fo_basic_link_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_basic_link_get_keep_with_previous () fo_basic_link_get_keep_with_previousFoProperty* fo_basic_link_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_basic_link_set_keep_with_previous () fo_basic_link_set_keep_with_previousvoid fo_basic_link_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_basic_link_get_keep_with_previous_within_column () fo_basic_link_get_keep_with_previous_within_columnFoProperty* fo_basic_link_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_basic_link_set_keep_with_previous_within_column () fo_basic_link_set_keep_with_previous_within_columnvoid fo_basic_link_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_basic_link_get_keep_with_previous_within_line () fo_basic_link_get_keep_with_previous_within_lineFoProperty* fo_basic_link_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_basic_link_set_keep_with_previous_within_line () fo_basic_link_set_keep_with_previous_within_linevoid fo_basic_link_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_basic_link_get_keep_with_previous_within_page () fo_basic_link_get_keep_with_previous_within_pageFoProperty* fo_basic_link_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_basic_link_set_keep_with_previous_within_page () fo_basic_link_set_keep_with_previous_within_pagevoid fo_basic_link_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_basic_link_get_line_height () fo_basic_link_get_line_heightFoProperty* fo_basic_link_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo fo_fo : The FoFo object Returns : The "line-height" property value fo_basic_link_set_line_height () fo_basic_link_set_line_heightvoid fo_basic_link_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value fo_basic_link_get_padding_after () fo_basic_link_get_padding_afterFoProperty* fo_basic_link_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_basic_link_set_padding_after () fo_basic_link_set_padding_aftervoid fo_basic_link_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_basic_link_get_padding_before () fo_basic_link_get_padding_beforeFoProperty* fo_basic_link_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_basic_link_set_padding_before () fo_basic_link_set_padding_beforevoid fo_basic_link_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_basic_link_get_padding_bottom () fo_basic_link_get_padding_bottomFoProperty* fo_basic_link_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_basic_link_set_padding_bottom () fo_basic_link_set_padding_bottomvoid fo_basic_link_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_basic_link_get_padding_end () fo_basic_link_get_padding_endFoProperty* fo_basic_link_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_basic_link_set_padding_end () fo_basic_link_set_padding_endvoid fo_basic_link_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_basic_link_get_padding_left () fo_basic_link_get_padding_leftFoProperty* fo_basic_link_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_basic_link_set_padding_left () fo_basic_link_set_padding_leftvoid fo_basic_link_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_basic_link_get_padding_right () fo_basic_link_get_padding_rightFoProperty* fo_basic_link_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_basic_link_set_padding_right () fo_basic_link_set_padding_rightvoid fo_basic_link_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_basic_link_get_padding_start () fo_basic_link_get_padding_startFoProperty* fo_basic_link_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_basic_link_set_padding_start () fo_basic_link_set_padding_startvoid fo_basic_link_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_basic_link_get_padding_top () fo_basic_link_get_padding_topFoProperty* fo_basic_link_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_basic_link_set_padding_top () fo_basic_link_set_padding_topvoid fo_basic_link_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_basic_link_get_role () fo_basic_link_get_roleFoProperty* fo_basic_link_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_basic_link_set_role () fo_basic_link_set_rolevoid fo_basic_link_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_basic_link_get_source_document () fo_basic_link_get_source_documentFoProperty* fo_basic_link_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_basic_link_set_source_document () fo_basic_link_set_source_documentvoid fo_basic_link_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_basic_link_get_space_end () fo_basic_link_get_space_endFoProperty* fo_basic_link_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo fo_fo : The FoFo object Returns : The "space-end" property value fo_basic_link_set_space_end () fo_basic_link_set_space_endvoid fo_basic_link_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end fo_fo : The FoFo object new_space_end : The new "space-end" property value fo_basic_link_get_space_start () fo_basic_link_get_space_startFoProperty* fo_basic_link_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo fo_fo : The FoFo object Returns : The "space-start" property value fo_basic_link_set_space_start () fo_basic_link_set_space_startvoid fo_basic_link_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start fo_fo : The FoFo object new_space_start : The new "space-start" property value Property Details The <literal>"alignment-adjust"</literal> property FoBasicLink:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoBasicLink:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoBasicLink:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoBasicLink:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"baseline-shift"</literal> property FoBasicLink:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"border-after-color"</literal> property FoBasicLink:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoBasicLink:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoBasicLink:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoBasicLink:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoBasicLink:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoBasicLink:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoBasicLink:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoBasicLink:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoBasicLink:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoBasicLink:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoBasicLink:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoBasicLink:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoBasicLink:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoBasicLink:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoBasicLink:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoBasicLink:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoBasicLink:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoBasicLink:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoBasicLink:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoBasicLink:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoBasicLink:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoBasicLink:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoBasicLink:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoBasicLink:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"dominant-baseline"</literal> property FoBasicLink:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"id"</literal> property FoBasicLink:id "id" FoProperty* : Read Id property. The <literal>"keep-together"</literal> property FoBasicLink:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoBasicLink:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoBasicLink:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoBasicLink:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoBasicLink:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoBasicLink:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoBasicLink:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoBasicLink:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoBasicLink:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoBasicLink:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoBasicLink:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoBasicLink:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoBasicLink:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"padding-after"</literal> property FoBasicLink:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoBasicLink:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoBasicLink:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoBasicLink:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoBasicLink:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoBasicLink:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoBasicLink:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoBasicLink:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoBasicLink:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoBasicLink:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-end"</literal> property FoBasicLink:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoBasicLink:space-start "space-start" FoProperty* : Read Space Start property. xmlroff-0.6.2/docs/xml/fo-bidi-override.xml0000644000175000017500000011503511156164731015527 00000000000000 bidi-override 3 XMLROFF Library bidi-override Synopsis FoBidiOverride; FoBidiOverrideClass; FoFo* fo_bidi_override_new (void); void fo_bidi_override_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_bidi_override_get_color (FoFo *fo_fo); void fo_bidi_override_set_direction (FoFo *fo_fo, FoProperty *new_direction); FoProperty* fo_bidi_override_get_direction (FoFo *fo_fo); void fo_bidi_override_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_bidi_override_get_font_family (FoFo *fo_fo); void fo_bidi_override_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_bidi_override_get_font_size (FoFo *fo_fo); void fo_bidi_override_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_bidi_override_get_font_stretch (FoFo *fo_fo); void fo_bidi_override_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_bidi_override_get_font_style (FoFo *fo_fo); void fo_bidi_override_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_bidi_override_get_font_variant (FoFo *fo_fo); void fo_bidi_override_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_bidi_override_get_font_weight (FoFo *fo_fo); void fo_bidi_override_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_bidi_override_get_id (FoFo *fo_fo); void fo_bidi_override_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_bidi_override_get_line_height (FoFo *fo_fo); void fo_bidi_override_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_bidi_override_get_score_spaces (FoFo *fo_fo); void fo_bidi_override_set_unicode_bidi (FoFo *fo_fo, FoProperty *new_unicode_bidi); FoProperty* fo_bidi_override_get_unicode_bidi (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoBidiOverride Implemented Interfaces FoBidiOverride implements FoInlineFoIface. Properties "color" FoProperty* : Read "direction" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "id" FoProperty* : Read "line-height" FoProperty* : Read "score-spaces" FoProperty* : Read "unicode-bidi" FoProperty* : Read Description Details FoBidiOverride FoBidiOverridetypedef struct _FoBidiOverride FoBidiOverride; FoBidiOverrideClass FoBidiOverrideClasstypedef struct _FoBidiOverrideClass FoBidiOverrideClass; fo_bidi_override_new () fo_bidi_override_newFoFo* fo_bidi_override_new (void); Creates a new FoBidiOverride initialized to default value. Returns : the new FoBidiOverride fo_bidi_override_set_color () fo_bidi_override_set_colorvoid fo_bidi_override_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the color property of bidi_override to new_color fo_fo : The FoFo object new_color : The new "color" property value fo_bidi_override_get_color () fo_bidi_override_get_colorFoProperty* fo_bidi_override_get_color (FoFo *fo_fo); Gets the color property of bidi_override fo_fo : The FoFo object Returns : The "color" property value fo_bidi_override_set_direction () fo_bidi_override_set_directionvoid fo_bidi_override_set_direction (FoFo *fo_fo, FoProperty *new_direction); Sets the direction property of bidi_override to new_direction fo_fo : The FoFo object new_direction : The new "direction" property value fo_bidi_override_get_direction () fo_bidi_override_get_directionFoProperty* fo_bidi_override_get_direction (FoFo *fo_fo); Gets the direction property of bidi_override fo_fo : The FoFo object Returns : The "direction" property value fo_bidi_override_set_font_family () fo_bidi_override_set_font_familyvoid fo_bidi_override_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the font-family property of bidi_override to new_font_family fo_fo : The FoFo object new_font_family : The new "font-family" property value fo_bidi_override_get_font_family () fo_bidi_override_get_font_familyFoProperty* fo_bidi_override_get_font_family (FoFo *fo_fo); Gets the font-family property of bidi_override fo_fo : The FoFo object Returns : The "font-family" property value fo_bidi_override_set_font_size () fo_bidi_override_set_font_sizevoid fo_bidi_override_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the font-size property of bidi_override to new_font_size fo_fo : The FoFo object new_font_size : The new "font-size" property value fo_bidi_override_get_font_size () fo_bidi_override_get_font_sizeFoProperty* fo_bidi_override_get_font_size (FoFo *fo_fo); Gets the font-size property of bidi_override fo_fo : The FoFo object Returns : The "font-size" property value fo_bidi_override_set_font_stretch () fo_bidi_override_set_font_stretchvoid fo_bidi_override_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the font-stretch property of bidi_override to new_font_stretch fo_fo : The FoFo object new_font_stretch : The new "font-stretch" property value fo_bidi_override_get_font_stretch () fo_bidi_override_get_font_stretchFoProperty* fo_bidi_override_get_font_stretch (FoFo *fo_fo); Gets the font-stretch property of bidi_override fo_fo : The FoFo object Returns : The "font-stretch" property value fo_bidi_override_set_font_style () fo_bidi_override_set_font_stylevoid fo_bidi_override_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the font-style property of bidi_override to new_font_style fo_fo : The FoFo object new_font_style : The new "font-style" property value fo_bidi_override_get_font_style () fo_bidi_override_get_font_styleFoProperty* fo_bidi_override_get_font_style (FoFo *fo_fo); Gets the font-style property of bidi_override fo_fo : The FoFo object Returns : The "font-style" property value fo_bidi_override_set_font_variant () fo_bidi_override_set_font_variantvoid fo_bidi_override_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the font-variant property of bidi_override to new_font_variant fo_fo : The FoFo object new_font_variant : The new "font-variant" property value fo_bidi_override_get_font_variant () fo_bidi_override_get_font_variantFoProperty* fo_bidi_override_get_font_variant (FoFo *fo_fo); Gets the font-variant property of bidi_override fo_fo : The FoFo object Returns : The "font-variant" property value fo_bidi_override_set_font_weight () fo_bidi_override_set_font_weightvoid fo_bidi_override_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the font-weight property of bidi_override to new_font_weight fo_fo : The FoFo object new_font_weight : The new "font-weight" property value fo_bidi_override_get_font_weight () fo_bidi_override_get_font_weightFoProperty* fo_bidi_override_get_font_weight (FoFo *fo_fo); Gets the font-weight property of bidi_override fo_fo : The FoFo object Returns : The "font-weight" property value fo_bidi_override_set_id () fo_bidi_override_set_idvoid fo_bidi_override_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the id property of bidi_override to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_bidi_override_get_id () fo_bidi_override_get_idFoProperty* fo_bidi_override_get_id (FoFo *fo_fo); Gets the id property of bidi_override fo_fo : The FoFo object Returns : The "id" property value fo_bidi_override_set_line_height () fo_bidi_override_set_line_heightvoid fo_bidi_override_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the line-height property of bidi_override to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value fo_bidi_override_get_line_height () fo_bidi_override_get_line_heightFoProperty* fo_bidi_override_get_line_height (FoFo *fo_fo); Gets the line-height property of bidi_override fo_fo : The FoFo object Returns : The "line-height" property value fo_bidi_override_set_score_spaces () fo_bidi_override_set_score_spacesvoid fo_bidi_override_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); Sets the score-spaces property of bidi_override to new_score_spaces fo_fo : The FoFo object new_score_spaces : The new "score-spaces" property value fo_bidi_override_get_score_spaces () fo_bidi_override_get_score_spacesFoProperty* fo_bidi_override_get_score_spaces (FoFo *fo_fo); Gets the score-spaces property of bidi_override fo_fo : The FoFo object Returns : The "score-spaces" property value fo_bidi_override_set_unicode_bidi () fo_bidi_override_set_unicode_bidivoid fo_bidi_override_set_unicode_bidi (FoFo *fo_fo, FoProperty *new_unicode_bidi); Sets the unicode-bidi property of bidi_override to new_unicode_bidi fo_fo : The FoFo object new_unicode_bidi : The new "unicode-bidi" property value fo_bidi_override_get_unicode_bidi () fo_bidi_override_get_unicode_bidiFoProperty* fo_bidi_override_get_unicode_bidi (FoFo *fo_fo); Gets the unicode-bidi property of bidi_override fo_fo : The FoFo object Returns : The "unicode-bidi" property value Property Details The <literal>"color"</literal> property FoBidiOverride:color "color" FoProperty* : Read Color property. The <literal>"direction"</literal> property FoBidiOverride:direction "direction" FoProperty* : Read Direction property. The <literal>"font-family"</literal> property FoBidiOverride:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoBidiOverride:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoBidiOverride:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoBidiOverride:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoBidiOverride:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoBidiOverride:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"id"</literal> property FoBidiOverride:id "id" FoProperty* : Read Id property. The <literal>"line-height"</literal> property FoBidiOverride:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"score-spaces"</literal> property FoBidiOverride:score-spaces "score-spaces" FoProperty* : Read Score Spaces property. The <literal>"unicode-bidi"</literal> property FoBidiOverride:unicode-bidi "unicode-bidi" FoProperty* : Read Unicode Bidi property. xmlroff-0.6.2/docs/xml/fo-block-block.xml0000644000175000017500000000601111156164731015156 00000000000000 FoBlockBlock 3 XMLROFF Library FoBlockBlock Synopsis FoBlockBlock; FoBlockBlockClass; FoFo* fo_block_block_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoBlock +----FoBlockBlock Implemented Interfaces FoBlockBlock implements FoBlockFoIface. Description Details FoBlockBlock FoBlockBlocktypedef struct _FoBlockBlock FoBlockBlock; FoBlockBlockClass FoBlockBlockClasstypedef struct _FoBlockBlockClass FoBlockBlockClass; fo_block_block_new () fo_block_block_newFoFo* fo_block_block_new (void); Creates a new FoBlockBlock initialized to default value. Returns : the new FoBlockBlock xmlroff-0.6.2/docs/xml/fo-block-container.xml0000644000175000017500000065652011156164731016066 00000000000000 block-container 3 XMLROFF Library block-container Synopsis FoBlockContainer; FoBlockContainerClass; FoFo* fo_block_container_new (void); FoProperty* fo_block_container_get_background_color (FoFo *fo_fo); void fo_block_container_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_block_container_get_background_image (FoFo *fo_fo); void fo_block_container_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_block_container_get_block_progression_dimension (FoFo *fo_fo); void fo_block_container_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_block_container_get_border_after_color (FoFo *fo_fo); void fo_block_container_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_block_container_get_border_after_style (FoFo *fo_fo); void fo_block_container_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_block_container_get_border_after_width (FoFo *fo_fo); void fo_block_container_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_block_container_get_border_before_color (FoFo *fo_fo); void fo_block_container_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_block_container_get_border_before_style (FoFo *fo_fo); void fo_block_container_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_block_container_get_border_before_width (FoFo *fo_fo); void fo_block_container_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_block_container_get_border_bottom_color (FoFo *fo_fo); void fo_block_container_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_block_container_get_border_bottom_style (FoFo *fo_fo); void fo_block_container_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_block_container_get_border_bottom_width (FoFo *fo_fo); void fo_block_container_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_block_container_get_border_end_color (FoFo *fo_fo); void fo_block_container_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_block_container_get_border_end_style (FoFo *fo_fo); void fo_block_container_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_block_container_get_border_end_width (FoFo *fo_fo); void fo_block_container_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_block_container_get_border_left_color (FoFo *fo_fo); void fo_block_container_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_block_container_get_border_left_style (FoFo *fo_fo); void fo_block_container_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_block_container_get_border_left_width (FoFo *fo_fo); void fo_block_container_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_block_container_get_border_right_color (FoFo *fo_fo); void fo_block_container_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_block_container_get_border_right_style (FoFo *fo_fo); void fo_block_container_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_block_container_get_border_right_width (FoFo *fo_fo); void fo_block_container_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_block_container_get_border_start_color (FoFo *fo_fo); void fo_block_container_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_block_container_get_border_start_style (FoFo *fo_fo); void fo_block_container_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_block_container_get_border_start_width (FoFo *fo_fo); void fo_block_container_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_block_container_get_border_top_color (FoFo *fo_fo); void fo_block_container_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_block_container_get_border_top_style (FoFo *fo_fo); void fo_block_container_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_block_container_get_border_top_width (FoFo *fo_fo); void fo_block_container_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_block_container_get_break_after (FoFo *fo_fo); void fo_block_container_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty* fo_block_container_get_break_before (FoFo *fo_fo); void fo_block_container_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty* fo_block_container_get_clip (FoFo *fo_fo); void fo_block_container_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_block_container_get_display_align (FoFo *fo_fo); void fo_block_container_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_block_container_get_end_indent (FoFo *fo_fo); void fo_block_container_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty* fo_block_container_get_height (FoFo *fo_fo); void fo_block_container_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_block_container_get_id (FoFo *fo_fo); void fo_block_container_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_block_container_get_inline_progression_dimension (FoFo *fo_fo); void fo_block_container_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_block_container_get_keep_together (FoFo *fo_fo); void fo_block_container_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_block_container_get_keep_together_within_column (FoFo *fo_fo); void fo_block_container_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_block_container_get_keep_together_within_line (FoFo *fo_fo); void fo_block_container_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_block_container_get_keep_together_within_page (FoFo *fo_fo); void fo_block_container_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_block_container_get_keep_with_next (FoFo *fo_fo); void fo_block_container_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_block_container_get_keep_with_next_within_column (FoFo *fo_fo); void fo_block_container_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_block_container_get_keep_with_next_within_line (FoFo *fo_fo); void fo_block_container_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_block_container_get_keep_with_next_within_page (FoFo *fo_fo); void fo_block_container_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_block_container_get_keep_with_previous (FoFo *fo_fo); void fo_block_container_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_block_container_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_block_container_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_block_container_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_block_container_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_block_container_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_block_container_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_block_container_get_margin_bottom (FoFo *fo_fo); void fo_block_container_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty* fo_block_container_get_margin_left (FoFo *fo_fo); void fo_block_container_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty* fo_block_container_get_margin_right (FoFo *fo_fo); void fo_block_container_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty* fo_block_container_get_margin_top (FoFo *fo_fo); void fo_block_container_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty* fo_block_container_get_overflow (FoFo *fo_fo); void fo_block_container_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_block_container_get_padding_after (FoFo *fo_fo); void fo_block_container_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_block_container_get_padding_before (FoFo *fo_fo); void fo_block_container_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_block_container_get_padding_bottom (FoFo *fo_fo); void fo_block_container_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_block_container_get_padding_end (FoFo *fo_fo); void fo_block_container_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_block_container_get_padding_left (FoFo *fo_fo); void fo_block_container_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_block_container_get_padding_right (FoFo *fo_fo); void fo_block_container_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_block_container_get_padding_start (FoFo *fo_fo); void fo_block_container_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_block_container_get_padding_top (FoFo *fo_fo); void fo_block_container_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_block_container_get_space_after (FoFo *fo_fo); void fo_block_container_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty* fo_block_container_get_space_before (FoFo *fo_fo); void fo_block_container_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty* fo_block_container_get_span (FoFo *fo_fo); void fo_block_container_set_span (FoFo *fo_fo, FoProperty *new_span); FoProperty* fo_block_container_get_start_indent (FoFo *fo_fo); void fo_block_container_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty* fo_block_container_get_width (FoFo *fo_fo); void fo_block_container_set_width (FoFo *fo_fo, FoProperty *new_width); FoProperty* fo_block_container_get_writing_mode (FoFo *fo_fo); void fo_block_container_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoBlockContainer Implemented Interfaces FoBlockContainer implements FoBlockFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "break-after" FoProperty* : Read "break-before" FoProperty* : Read "clip" FoProperty* : Read "display-align" FoProperty* : Read "end-indent" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "inline-progression-dimension" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "margin-bottom" FoProperty* : Read "margin-left" FoProperty* : Read "margin-right" FoProperty* : Read "margin-top" FoProperty* : Read "overflow" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "space-after" FoProperty* : Read "space-before" FoProperty* : Read "span" FoProperty* : Read "start-indent" FoProperty* : Read "width" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details FoBlockContainer FoBlockContainertypedef struct _FoBlockContainer FoBlockContainer; Instance of the 'block-container' formatting object. FoBlockContainerClass FoBlockContainerClasstypedef struct _FoBlockContainerClass FoBlockContainerClass; Class structure for the 'block-container' formatting object. fo_block_container_new () fo_block_container_newFoFo* fo_block_container_new (void); Creates a new FoBlockContainer initialized to default value. Returns : the new FoBlockContainer. fo_block_container_get_background_color () fo_block_container_get_background_colorFoProperty* fo_block_container_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_block_container_set_background_color () fo_block_container_set_background_colorvoid fo_block_container_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_block_container_get_background_image () fo_block_container_get_background_imageFoProperty* fo_block_container_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_block_container_set_background_image () fo_block_container_set_background_imagevoid fo_block_container_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_block_container_get_block_progression_dimension () fo_block_container_get_block_progression_dimensionFoProperty* fo_block_container_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo. fo_fo : The FoFo object. Returns : The "block-progression-dimension" property value. fo_block_container_set_block_progression_dimension () fo_block_container_set_block_progression_dimensionvoid fo_block_container_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension. fo_fo : The FoFo object. new_block_progression_dimension : The new "block-progression-dimension" property value. fo_block_container_get_border_after_color () fo_block_container_get_border_after_colorFoProperty* fo_block_container_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_block_container_set_border_after_color () fo_block_container_set_border_after_colorvoid fo_block_container_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_block_container_get_border_after_style () fo_block_container_get_border_after_styleFoProperty* fo_block_container_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_block_container_set_border_after_style () fo_block_container_set_border_after_stylevoid fo_block_container_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_block_container_get_border_after_width () fo_block_container_get_border_after_widthFoProperty* fo_block_container_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_block_container_set_border_after_width () fo_block_container_set_border_after_widthvoid fo_block_container_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_block_container_get_border_before_color () fo_block_container_get_border_before_colorFoProperty* fo_block_container_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_block_container_set_border_before_color () fo_block_container_set_border_before_colorvoid fo_block_container_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_block_container_get_border_before_style () fo_block_container_get_border_before_styleFoProperty* fo_block_container_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_block_container_set_border_before_style () fo_block_container_set_border_before_stylevoid fo_block_container_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_block_container_get_border_before_width () fo_block_container_get_border_before_widthFoProperty* fo_block_container_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_block_container_set_border_before_width () fo_block_container_set_border_before_widthvoid fo_block_container_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_block_container_get_border_bottom_color () fo_block_container_get_border_bottom_colorFoProperty* fo_block_container_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_block_container_set_border_bottom_color () fo_block_container_set_border_bottom_colorvoid fo_block_container_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_block_container_get_border_bottom_style () fo_block_container_get_border_bottom_styleFoProperty* fo_block_container_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_block_container_set_border_bottom_style () fo_block_container_set_border_bottom_stylevoid fo_block_container_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_block_container_get_border_bottom_width () fo_block_container_get_border_bottom_widthFoProperty* fo_block_container_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_block_container_set_border_bottom_width () fo_block_container_set_border_bottom_widthvoid fo_block_container_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_block_container_get_border_end_color () fo_block_container_get_border_end_colorFoProperty* fo_block_container_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_block_container_set_border_end_color () fo_block_container_set_border_end_colorvoid fo_block_container_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_block_container_get_border_end_style () fo_block_container_get_border_end_styleFoProperty* fo_block_container_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_block_container_set_border_end_style () fo_block_container_set_border_end_stylevoid fo_block_container_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_block_container_get_border_end_width () fo_block_container_get_border_end_widthFoProperty* fo_block_container_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_block_container_set_border_end_width () fo_block_container_set_border_end_widthvoid fo_block_container_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_block_container_get_border_left_color () fo_block_container_get_border_left_colorFoProperty* fo_block_container_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_block_container_set_border_left_color () fo_block_container_set_border_left_colorvoid fo_block_container_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_block_container_get_border_left_style () fo_block_container_get_border_left_styleFoProperty* fo_block_container_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_block_container_set_border_left_style () fo_block_container_set_border_left_stylevoid fo_block_container_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_block_container_get_border_left_width () fo_block_container_get_border_left_widthFoProperty* fo_block_container_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_block_container_set_border_left_width () fo_block_container_set_border_left_widthvoid fo_block_container_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_block_container_get_border_right_color () fo_block_container_get_border_right_colorFoProperty* fo_block_container_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_block_container_set_border_right_color () fo_block_container_set_border_right_colorvoid fo_block_container_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_block_container_get_border_right_style () fo_block_container_get_border_right_styleFoProperty* fo_block_container_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_block_container_set_border_right_style () fo_block_container_set_border_right_stylevoid fo_block_container_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_block_container_get_border_right_width () fo_block_container_get_border_right_widthFoProperty* fo_block_container_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_block_container_set_border_right_width () fo_block_container_set_border_right_widthvoid fo_block_container_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_block_container_get_border_start_color () fo_block_container_get_border_start_colorFoProperty* fo_block_container_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_block_container_set_border_start_color () fo_block_container_set_border_start_colorvoid fo_block_container_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_block_container_get_border_start_style () fo_block_container_get_border_start_styleFoProperty* fo_block_container_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_block_container_set_border_start_style () fo_block_container_set_border_start_stylevoid fo_block_container_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_block_container_get_border_start_width () fo_block_container_get_border_start_widthFoProperty* fo_block_container_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_block_container_set_border_start_width () fo_block_container_set_border_start_widthvoid fo_block_container_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_block_container_get_border_top_color () fo_block_container_get_border_top_colorFoProperty* fo_block_container_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_block_container_set_border_top_color () fo_block_container_set_border_top_colorvoid fo_block_container_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_block_container_get_border_top_style () fo_block_container_get_border_top_styleFoProperty* fo_block_container_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_block_container_set_border_top_style () fo_block_container_set_border_top_stylevoid fo_block_container_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_block_container_get_border_top_width () fo_block_container_get_border_top_widthFoProperty* fo_block_container_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_block_container_set_border_top_width () fo_block_container_set_border_top_widthvoid fo_block_container_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_block_container_get_break_after () fo_block_container_get_break_afterFoProperty* fo_block_container_get_break_after (FoFo *fo_fo); Gets the "break-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "break-after" property value. fo_block_container_set_break_after () fo_block_container_set_break_aftervoid fo_block_container_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); Sets the "break-after" property of fo_fo to new_break_after. fo_fo : The FoFo object. new_break_after : The new "break-after" property value. fo_block_container_get_break_before () fo_block_container_get_break_beforeFoProperty* fo_block_container_get_break_before (FoFo *fo_fo); Gets the "break-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "break-before" property value. fo_block_container_set_break_before () fo_block_container_set_break_beforevoid fo_block_container_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); Sets the "break-before" property of fo_fo to new_break_before. fo_fo : The FoFo object. new_break_before : The new "break-before" property value. fo_block_container_get_clip () fo_block_container_get_clipFoProperty* fo_block_container_get_clip (FoFo *fo_fo); Gets the "clip" property of fo_fo. fo_fo : The FoFo object. Returns : The "clip" property value. fo_block_container_set_clip () fo_block_container_set_clipvoid fo_block_container_set_clip (FoFo *fo_fo, FoProperty *new_clip); Sets the "clip" property of fo_fo to new_clip. fo_fo : The FoFo object. new_clip : The new "clip" property value. fo_block_container_get_display_align () fo_block_container_get_display_alignFoProperty* fo_block_container_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo. fo_fo : The FoFo object. Returns : The "display-align" property value. fo_block_container_set_display_align () fo_block_container_set_display_alignvoid fo_block_container_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align. fo_fo : The FoFo object. new_display_align : The new "display-align" property value. fo_block_container_get_end_indent () fo_block_container_get_end_indentFoProperty* fo_block_container_get_end_indent (FoFo *fo_fo); Gets the "end-indent" property of fo_fo. fo_fo : The FoFo object. Returns : The "end-indent" property value. fo_block_container_set_end_indent () fo_block_container_set_end_indentvoid fo_block_container_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); Sets the "end-indent" property of fo_fo to new_end_indent. fo_fo : The FoFo object. new_end_indent : The new "end-indent" property value. fo_block_container_get_height () fo_block_container_get_heightFoProperty* fo_block_container_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo. fo_fo : The FoFo object. Returns : The "height" property value. fo_block_container_set_height () fo_block_container_set_heightvoid fo_block_container_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height. fo_fo : The FoFo object. new_height : The new "height" property value. fo_block_container_get_id () fo_block_container_get_idFoProperty* fo_block_container_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_block_container_set_id () fo_block_container_set_idvoid fo_block_container_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id. fo_fo : The FoFo object. new_id : The new "id" property value. fo_block_container_get_inline_progression_dimension () fo_block_container_get_inline_progression_dimensionFoProperty* fo_block_container_get_inline_progression_dimension (FoFo *fo_fo); Gets the "inline-progression-dimension" property of fo_fo. fo_fo : The FoFo object. Returns : The "inline-progression-dimension" property value. fo_block_container_set_inline_progression_dimension () fo_block_container_set_inline_progression_dimensionvoid fo_block_container_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension. fo_fo : The FoFo object. new_inline_progression_dimension : The new "inline-progression-dimension" property value. fo_block_container_get_keep_together () fo_block_container_get_keep_togetherFoProperty* fo_block_container_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-together" property value. fo_block_container_set_keep_together () fo_block_container_set_keep_togethervoid fo_block_container_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together. fo_fo : The FoFo object. new_keep_together : The new "keep-together" property value. fo_block_container_get_keep_together_within_column () fo_block_container_get_keep_together_within_columnFoProperty* fo_block_container_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-together-within-column" property value. fo_block_container_set_keep_together_within_column () fo_block_container_set_keep_together_within_columnvoid fo_block_container_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column. fo_fo : The FoFo object. new_keep_together_within_column : The new "keep-together-within-column" property value. fo_block_container_get_keep_together_within_line () fo_block_container_get_keep_together_within_lineFoProperty* fo_block_container_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-together-within-line" property value. fo_block_container_set_keep_together_within_line () fo_block_container_set_keep_together_within_linevoid fo_block_container_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line. fo_fo : The FoFo object. new_keep_together_within_line : The new "keep-together-within-line" property value. fo_block_container_get_keep_together_within_page () fo_block_container_get_keep_together_within_pageFoProperty* fo_block_container_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-together-within-page" property value. fo_block_container_set_keep_together_within_page () fo_block_container_set_keep_together_within_pagevoid fo_block_container_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page. fo_fo : The FoFo object. new_keep_together_within_page : The new "keep-together-within-page" property value. fo_block_container_get_keep_with_next () fo_block_container_get_keep_with_nextFoProperty* fo_block_container_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next" property value. fo_block_container_set_keep_with_next () fo_block_container_set_keep_with_nextvoid fo_block_container_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next. fo_fo : The FoFo object. new_keep_with_next : The new "keep-with-next" property value. fo_block_container_get_keep_with_next_within_column () fo_block_container_get_keep_with_next_within_columnFoProperty* fo_block_container_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-column" property value. fo_block_container_set_keep_with_next_within_column () fo_block_container_set_keep_with_next_within_columnvoid fo_block_container_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column. fo_fo : The FoFo object. new_keep_with_next_within_column : The new "keep-with-next-within-column" property value. fo_block_container_get_keep_with_next_within_line () fo_block_container_get_keep_with_next_within_lineFoProperty* fo_block_container_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-line" property value. fo_block_container_set_keep_with_next_within_line () fo_block_container_set_keep_with_next_within_linevoid fo_block_container_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line. fo_fo : The FoFo object. new_keep_with_next_within_line : The new "keep-with-next-within-line" property value. fo_block_container_get_keep_with_next_within_page () fo_block_container_get_keep_with_next_within_pageFoProperty* fo_block_container_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-page" property value. fo_block_container_set_keep_with_next_within_page () fo_block_container_set_keep_with_next_within_pagevoid fo_block_container_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page. fo_fo : The FoFo object. new_keep_with_next_within_page : The new "keep-with-next-within-page" property value. fo_block_container_get_keep_with_previous () fo_block_container_get_keep_with_previousFoProperty* fo_block_container_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous" property value. fo_block_container_set_keep_with_previous () fo_block_container_set_keep_with_previousvoid fo_block_container_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous. fo_fo : The FoFo object. new_keep_with_previous : The new "keep-with-previous" property value. fo_block_container_get_keep_with_previous_within_column () fo_block_container_get_keep_with_previous_within_columnFoProperty* fo_block_container_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-column" property value. fo_block_container_set_keep_with_previous_within_column () fo_block_container_set_keep_with_previous_within_columnvoid fo_block_container_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column. fo_fo : The FoFo object. new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value. fo_block_container_get_keep_with_previous_within_line () fo_block_container_get_keep_with_previous_within_lineFoProperty* fo_block_container_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-line" property value. fo_block_container_set_keep_with_previous_within_line () fo_block_container_set_keep_with_previous_within_linevoid fo_block_container_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line. fo_fo : The FoFo object. new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value. fo_block_container_get_keep_with_previous_within_page () fo_block_container_get_keep_with_previous_within_pageFoProperty* fo_block_container_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-page" property value. fo_block_container_set_keep_with_previous_within_page () fo_block_container_set_keep_with_previous_within_pagevoid fo_block_container_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page. fo_fo : The FoFo object. new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value. fo_block_container_get_margin_bottom () fo_block_container_get_margin_bottomFoProperty* fo_block_container_get_margin_bottom (FoFo *fo_fo); Gets the "margin-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-bottom" property value. fo_block_container_set_margin_bottom () fo_block_container_set_margin_bottomvoid fo_block_container_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_fo to new_margin_bottom. fo_fo : The FoFo object. new_margin_bottom : The new "margin-bottom" property value. fo_block_container_get_margin_left () fo_block_container_get_margin_leftFoProperty* fo_block_container_get_margin_left (FoFo *fo_fo); Gets the "margin-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-left" property value. fo_block_container_set_margin_left () fo_block_container_set_margin_leftvoid fo_block_container_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); Sets the "margin-left" property of fo_fo to new_margin_left. fo_fo : The FoFo object. new_margin_left : The new "margin-left" property value. fo_block_container_get_margin_right () fo_block_container_get_margin_rightFoProperty* fo_block_container_get_margin_right (FoFo *fo_fo); Gets the "margin-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-right" property value. fo_block_container_set_margin_right () fo_block_container_set_margin_rightvoid fo_block_container_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); Sets the "margin-right" property of fo_fo to new_margin_right. fo_fo : The FoFo object. new_margin_right : The new "margin-right" property value. fo_block_container_get_margin_top () fo_block_container_get_margin_topFoProperty* fo_block_container_get_margin_top (FoFo *fo_fo); Gets the "margin-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-top" property value. fo_block_container_set_margin_top () fo_block_container_set_margin_topvoid fo_block_container_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); Sets the "margin-top" property of fo_fo to new_margin_top. fo_fo : The FoFo object. new_margin_top : The new "margin-top" property value. fo_block_container_get_overflow () fo_block_container_get_overflowFoProperty* fo_block_container_get_overflow (FoFo *fo_fo); Gets the "overflow" property of fo_fo. fo_fo : The FoFo object. Returns : The "overflow" property value. fo_block_container_set_overflow () fo_block_container_set_overflowvoid fo_block_container_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); Sets the "overflow" property of fo_fo to new_overflow. fo_fo : The FoFo object. new_overflow : The new "overflow" property value. fo_block_container_get_padding_after () fo_block_container_get_padding_afterFoProperty* fo_block_container_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_block_container_set_padding_after () fo_block_container_set_padding_aftervoid fo_block_container_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_block_container_get_padding_before () fo_block_container_get_padding_beforeFoProperty* fo_block_container_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_block_container_set_padding_before () fo_block_container_set_padding_beforevoid fo_block_container_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_block_container_get_padding_bottom () fo_block_container_get_padding_bottomFoProperty* fo_block_container_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_block_container_set_padding_bottom () fo_block_container_set_padding_bottomvoid fo_block_container_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_block_container_get_padding_end () fo_block_container_get_padding_endFoProperty* fo_block_container_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_block_container_set_padding_end () fo_block_container_set_padding_endvoid fo_block_container_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_block_container_get_padding_left () fo_block_container_get_padding_leftFoProperty* fo_block_container_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_block_container_set_padding_left () fo_block_container_set_padding_leftvoid fo_block_container_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_block_container_get_padding_right () fo_block_container_get_padding_rightFoProperty* fo_block_container_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_block_container_set_padding_right () fo_block_container_set_padding_rightvoid fo_block_container_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_block_container_get_padding_start () fo_block_container_get_padding_startFoProperty* fo_block_container_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_block_container_set_padding_start () fo_block_container_set_padding_startvoid fo_block_container_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_block_container_get_padding_top () fo_block_container_get_padding_topFoProperty* fo_block_container_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_block_container_set_padding_top () fo_block_container_set_padding_topvoid fo_block_container_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_block_container_get_space_after () fo_block_container_get_space_afterFoProperty* fo_block_container_get_space_after (FoFo *fo_fo); Gets the "space-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-after" property value. fo_block_container_set_space_after () fo_block_container_set_space_aftervoid fo_block_container_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); Sets the "space-after" property of fo_fo to new_space_after. fo_fo : The FoFo object. new_space_after : The new "space-after" property value. fo_block_container_get_space_before () fo_block_container_get_space_beforeFoProperty* fo_block_container_get_space_before (FoFo *fo_fo); Gets the "space-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-before" property value. fo_block_container_set_space_before () fo_block_container_set_space_beforevoid fo_block_container_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); Sets the "space-before" property of fo_fo to new_space_before. fo_fo : The FoFo object. new_space_before : The new "space-before" property value. fo_block_container_get_span () fo_block_container_get_spanFoProperty* fo_block_container_get_span (FoFo *fo_fo); Gets the "span" property of fo_fo. fo_fo : The FoFo object. Returns : The "span" property value. fo_block_container_set_span () fo_block_container_set_spanvoid fo_block_container_set_span (FoFo *fo_fo, FoProperty *new_span); Sets the "span" property of fo_fo to new_span. fo_fo : The FoFo object. new_span : The new "span" property value. fo_block_container_get_start_indent () fo_block_container_get_start_indentFoProperty* fo_block_container_get_start_indent (FoFo *fo_fo); Gets the "start-indent" property of fo_fo. fo_fo : The FoFo object. Returns : The "start-indent" property value. fo_block_container_set_start_indent () fo_block_container_set_start_indentvoid fo_block_container_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Sets the "start-indent" property of fo_fo to new_start_indent. fo_fo : The FoFo object. new_start_indent : The new "start-indent" property value. fo_block_container_get_width () fo_block_container_get_widthFoProperty* fo_block_container_get_width (FoFo *fo_fo); Gets the "width" property of fo_fo. fo_fo : The FoFo object. Returns : The "width" property value. fo_block_container_set_width () fo_block_container_set_widthvoid fo_block_container_set_width (FoFo *fo_fo, FoProperty *new_width); Sets the "width" property of fo_fo to new_width. fo_fo : The FoFo object. new_width : The new "width" property value. fo_block_container_get_writing_mode () fo_block_container_get_writing_modeFoProperty* fo_block_container_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo. fo_fo : The FoFo object. Returns : The "writing-mode" property value. fo_block_container_set_writing_mode () fo_block_container_set_writing_modevoid fo_block_container_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode. fo_fo : The FoFo object. new_writing_mode : The new "writing-mode" property value. Property Details The <literal>"background-color"</literal> property FoBlockContainer:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoBlockContainer:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"block-progression-dimension"</literal> property FoBlockContainer:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"border-after-color"</literal> property FoBlockContainer:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoBlockContainer:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoBlockContainer:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoBlockContainer:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoBlockContainer:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoBlockContainer:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoBlockContainer:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoBlockContainer:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoBlockContainer:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoBlockContainer:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoBlockContainer:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoBlockContainer:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoBlockContainer:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoBlockContainer:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoBlockContainer:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoBlockContainer:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoBlockContainer:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoBlockContainer:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoBlockContainer:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoBlockContainer:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoBlockContainer:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoBlockContainer:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoBlockContainer:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoBlockContainer:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"break-after"</literal> property FoBlockContainer:break-after "break-after" FoProperty* : Read Break After property. The <literal>"break-before"</literal> property FoBlockContainer:break-before "break-before" FoProperty* : Read Break Before property. The <literal>"clip"</literal> property FoBlockContainer:clip "clip" FoProperty* : Read Clip property. The <literal>"display-align"</literal> property FoBlockContainer:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"end-indent"</literal> property FoBlockContainer:end-indent "end-indent" FoProperty* : Read End Indent property. The <literal>"height"</literal> property FoBlockContainer:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoBlockContainer:id "id" FoProperty* : Read Id property. The <literal>"inline-progression-dimension"</literal> property FoBlockContainer:inline-progression-dimension "inline-progression-dimension" FoProperty* : Read Inline Progression Dimension property. The <literal>"keep-together"</literal> property FoBlockContainer:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoBlockContainer:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoBlockContainer:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoBlockContainer:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoBlockContainer:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoBlockContainer:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoBlockContainer:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoBlockContainer:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoBlockContainer:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoBlockContainer:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoBlockContainer:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoBlockContainer:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"margin-bottom"</literal> property FoBlockContainer:margin-bottom "margin-bottom" FoProperty* : Read Margin Bottom property. The <literal>"margin-left"</literal> property FoBlockContainer:margin-left "margin-left" FoProperty* : Read Margin Left property. The <literal>"margin-right"</literal> property FoBlockContainer:margin-right "margin-right" FoProperty* : Read Margin Right property. The <literal>"margin-top"</literal> property FoBlockContainer:margin-top "margin-top" FoProperty* : Read Margin Top property. The <literal>"overflow"</literal> property FoBlockContainer:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding-after"</literal> property FoBlockContainer:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoBlockContainer:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoBlockContainer:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoBlockContainer:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoBlockContainer:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoBlockContainer:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoBlockContainer:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoBlockContainer:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"space-after"</literal> property FoBlockContainer:space-after "space-after" FoProperty* : Read Space After property. The <literal>"space-before"</literal> property FoBlockContainer:space-before "space-before" FoProperty* : Read Space Before property. The <literal>"span"</literal> property FoBlockContainer:span "span" FoProperty* : Read Span property. The <literal>"start-indent"</literal> property FoBlockContainer:start-indent "start-indent" FoProperty* : Read Start Indent property. The <literal>"width"</literal> property FoBlockContainer:width "width" FoProperty* : Read Width property. The <literal>"writing-mode"</literal> property FoBlockContainer:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-block-fo.xml0000644000175000017500000007533011156164731014502 00000000000000 FoBlockFoIface 3 XMLROFF Library FoBlockFoIface Synopsis #define FO_BLOCK_FO_IFACE (obj) FoBlockFo; FoBlockFoIface; void fo_block_fo_update_area (FoFo *fo, FoArea *area); FoProperty* fo_block_fo_get_background_color (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_after_color (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_after_style (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_after_width (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_before_color (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_before_style (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_before_width (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_end_color (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_end_style (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_end_width (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_start_color (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_start_style (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_border_start_width (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_keep_together (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_keep_with_next (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_keep_with_previous (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_padding_after (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_padding_before (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_padding_end (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_padding_start (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_space_before (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_space_after (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_start_indent (FoFo *fo_block_fo); FoProperty* fo_block_fo_get_end_indent (FoFo *fo_block_fo); Object Hierarchy GInterface +----FoBlockFoIface Prerequisites FoBlockFoIface requires FoFo. Known Implementations FoBlockFoIface is implemented by FoBlockLayout, FoBlockContainer, FoTableAndCaption, FoListItem, FoListBlock, FoTable, FoBlockWhitespace, FoBlockBlock and FoBlock. Description Details FO_BLOCK_FO_IFACE() FO_BLOCK_FO_IFACE#define FO_BLOCK_FO_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_BLOCK_FO, FoBlockFoIface)) obj : FoBlockFo FoBlockFotypedef struct _FoBlockFo FoBlockFo; FoBlockFoIface FoBlockFoIfacetypedef struct _FoBlockFoIface FoBlockFoIface; fo_block_fo_update_area () fo_block_fo_update_areavoid fo_block_fo_update_area (FoFo *fo, FoArea *area); fo : area : fo_block_fo_get_background_color () fo_block_fo_get_background_colorFoProperty* fo_block_fo_get_background_color (FoFo *fo_block_fo); Gets the background-color property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "background-color" property value fo_block_fo_get_border_after_color () fo_block_fo_get_border_after_colorFoProperty* fo_block_fo_get_border_after_color (FoFo *fo_block_fo); Gets the border-after-color property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-after-color" property value fo_block_fo_get_border_after_style () fo_block_fo_get_border_after_styleFoProperty* fo_block_fo_get_border_after_style (FoFo *fo_block_fo); Gets the border-after-style property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-after-style" property value fo_block_fo_get_border_after_width () fo_block_fo_get_border_after_widthFoProperty* fo_block_fo_get_border_after_width (FoFo *fo_block_fo); Gets the border-after-width property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-after-width" property value fo_block_fo_get_border_before_color () fo_block_fo_get_border_before_colorFoProperty* fo_block_fo_get_border_before_color (FoFo *fo_block_fo); Gets the border-before-color property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-before-color" property value fo_block_fo_get_border_before_style () fo_block_fo_get_border_before_styleFoProperty* fo_block_fo_get_border_before_style (FoFo *fo_block_fo); Gets the border-before-style property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-before-style" property value fo_block_fo_get_border_before_width () fo_block_fo_get_border_before_widthFoProperty* fo_block_fo_get_border_before_width (FoFo *fo_block_fo); Gets the border-before-width property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-before-width" property value fo_block_fo_get_border_end_color () fo_block_fo_get_border_end_colorFoProperty* fo_block_fo_get_border_end_color (FoFo *fo_block_fo); Gets the border-end-color property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-end-color" property value fo_block_fo_get_border_end_style () fo_block_fo_get_border_end_styleFoProperty* fo_block_fo_get_border_end_style (FoFo *fo_block_fo); Gets the border-end-style property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-end-style" property value fo_block_fo_get_border_end_width () fo_block_fo_get_border_end_widthFoProperty* fo_block_fo_get_border_end_width (FoFo *fo_block_fo); Gets the border-end-width property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-end-width" property value fo_block_fo_get_border_start_color () fo_block_fo_get_border_start_colorFoProperty* fo_block_fo_get_border_start_color (FoFo *fo_block_fo); Gets the border-start-color property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-start-color" property value fo_block_fo_get_border_start_style () fo_block_fo_get_border_start_styleFoProperty* fo_block_fo_get_border_start_style (FoFo *fo_block_fo); Gets the border-start-style property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-start-style" property value fo_block_fo_get_border_start_width () fo_block_fo_get_border_start_widthFoProperty* fo_block_fo_get_border_start_width (FoFo *fo_block_fo); Gets the border-start-width property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "border-start-width" property value fo_block_fo_get_keep_together () fo_block_fo_get_keep_togetherFoProperty* fo_block_fo_get_keep_together (FoFo *fo_block_fo); Gets the keep-together property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "keep-together" property value fo_block_fo_get_keep_with_next () fo_block_fo_get_keep_with_nextFoProperty* fo_block_fo_get_keep_with_next (FoFo *fo_block_fo); Gets the keep-with-next property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "keep-with-next" property value fo_block_fo_get_keep_with_previous () fo_block_fo_get_keep_with_previousFoProperty* fo_block_fo_get_keep_with_previous (FoFo *fo_block_fo); Gets the keep-with-previous property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "keep-with-previous" property value fo_block_fo_get_padding_after () fo_block_fo_get_padding_afterFoProperty* fo_block_fo_get_padding_after (FoFo *fo_block_fo); Gets the padding-after-color property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "padding-after-color" property value fo_block_fo_get_padding_before () fo_block_fo_get_padding_beforeFoProperty* fo_block_fo_get_padding_before (FoFo *fo_block_fo); Gets the padding-before-color property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "padding-before-color" property value fo_block_fo_get_padding_end () fo_block_fo_get_padding_endFoProperty* fo_block_fo_get_padding_end (FoFo *fo_block_fo); Gets the padding-end-color property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "padding-end-color" property value fo_block_fo_get_padding_start () fo_block_fo_get_padding_startFoProperty* fo_block_fo_get_padding_start (FoFo *fo_block_fo); Gets the padding-start-color property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "padding-start-color" property value fo_block_fo_get_space_before () fo_block_fo_get_space_beforeFoProperty* fo_block_fo_get_space_before (FoFo *fo_block_fo); Gets the space-before property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "space-before" property value fo_block_fo_get_space_after () fo_block_fo_get_space_afterFoProperty* fo_block_fo_get_space_after (FoFo *fo_block_fo); Gets the space-after property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "space-after" property value fo_block_fo_get_start_indent () fo_block_fo_get_start_indentFoProperty* fo_block_fo_get_start_indent (FoFo *fo_block_fo); Gets the start-indent property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "start-indent" property value fo_block_fo_get_end_indent () fo_block_fo_get_end_indentFoProperty* fo_block_fo_get_end_indent (FoFo *fo_block_fo); Gets the end-indent property of fo_block_fo fo_block_fo : The FoBlockFo object Returns : The "end-indent" property value xmlroff-0.6.2/docs/xml/fo-block-layout.xml0000644000175000017500000001020711156164731015403 00000000000000 FoBlockLayout 3 XMLROFF Library FoBlockLayout Synopsis FoBlockLayout; FoBlockLayoutClass; FoFo* fo_block_layout_new (void); void fo_block_layout_update_from_context (FoFo *fo, FoContext *context); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoBlock +----FoBlockLayout Implemented Interfaces FoBlockLayout implements FoBlockFoIface. Description Details FoBlockLayout FoBlockLayouttypedef struct _FoBlockLayout FoBlockLayout; FoBlockLayoutClass FoBlockLayoutClasstypedef struct _FoBlockLayoutClass FoBlockLayoutClass; fo_block_layout_new () fo_block_layout_newFoFo* fo_block_layout_new (void); Creates a new FoBlockLayout initialized to default value. Returns : the new FoBlockLayout fo_block_layout_update_from_context () fo_block_layout_update_from_contextvoid fo_block_layout_update_from_context (FoFo *fo, FoContext *context); fo : context : xmlroff-0.6.2/docs/xml/fo-block-whitespace.xml0000644000175000017500000001064311156164731016226 00000000000000 FoBlockWhitespace 3 XMLROFF Library FoBlockWhitespace Synopsis FoBlockWhitespace; FoBlockWhitespaceClass; FoFo* fo_block_whitespace_new (void); void fo_block_whitespace_update_from_context (FoFo *fo, FoContext *context); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoBlock +----FoBlockWhitespace Implemented Interfaces FoBlockWhitespace implements FoBlockFoIface. Description Details FoBlockWhitespace FoBlockWhitespacetypedef struct _FoBlockWhitespace FoBlockWhitespace; FoBlockWhitespaceClass FoBlockWhitespaceClasstypedef struct _FoBlockWhitespaceClass FoBlockWhitespaceClass; fo_block_whitespace_new () fo_block_whitespace_newFoFo* fo_block_whitespace_new (void); Creates a new FoBlockWhitespace initialized to default value. Returns : the new FoBlockWhitespace fo_block_whitespace_update_from_context () fo_block_whitespace_update_from_contextvoid fo_block_whitespace_update_from_context (FoFo *fo, FoContext *context); fo : context : xmlroff-0.6.2/docs/xml/fo-block.xml0000644000175000017500000071172011156164731014100 00000000000000 block 3 XMLROFF Library block Synopsis FoBlock; FoBlockClass; FoFo* fo_block_new (void); FoProperty* fo_block_get_background_color (FoFo *fo_fo); void fo_block_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_block_get_background_image (FoFo *fo_fo); void fo_block_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_block_get_border_after_color (FoFo *fo_fo); void fo_block_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_block_get_border_after_style (FoFo *fo_fo); void fo_block_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_block_get_border_after_width (FoFo *fo_fo); void fo_block_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_block_get_border_before_color (FoFo *fo_fo); void fo_block_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_block_get_border_before_style (FoFo *fo_fo); void fo_block_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_block_get_border_before_width (FoFo *fo_fo); void fo_block_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_block_get_border_bottom_color (FoFo *fo_fo); void fo_block_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_block_get_border_bottom_style (FoFo *fo_fo); void fo_block_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_block_get_border_bottom_width (FoFo *fo_fo); void fo_block_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_block_get_border_end_color (FoFo *fo_fo); void fo_block_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_block_get_border_end_style (FoFo *fo_fo); void fo_block_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_block_get_border_end_width (FoFo *fo_fo); void fo_block_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_block_get_border_left_color (FoFo *fo_fo); void fo_block_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_block_get_border_left_style (FoFo *fo_fo); void fo_block_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_block_get_border_left_width (FoFo *fo_fo); void fo_block_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_block_get_border_right_color (FoFo *fo_fo); void fo_block_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_block_get_border_right_style (FoFo *fo_fo); void fo_block_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_block_get_border_right_width (FoFo *fo_fo); void fo_block_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_block_get_border_start_color (FoFo *fo_fo); void fo_block_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_block_get_border_start_style (FoFo *fo_fo); void fo_block_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_block_get_border_start_width (FoFo *fo_fo); void fo_block_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_block_get_border_top_color (FoFo *fo_fo); void fo_block_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_block_get_border_top_style (FoFo *fo_fo); void fo_block_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_block_get_border_top_width (FoFo *fo_fo); void fo_block_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_block_get_break_after (FoFo *fo_fo); void fo_block_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty* fo_block_get_break_before (FoFo *fo_fo); void fo_block_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty* fo_block_get_color (FoFo *fo_fo); void fo_block_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_block_get_end_indent (FoFo *fo_fo); void fo_block_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty* fo_block_get_font_family (FoFo *fo_fo); void fo_block_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_block_get_font_size (FoFo *fo_fo); void fo_block_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_block_get_font_stretch (FoFo *fo_fo); void fo_block_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_block_get_font_style (FoFo *fo_fo); void fo_block_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_block_get_font_variant (FoFo *fo_fo); void fo_block_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_block_get_font_weight (FoFo *fo_fo); void fo_block_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_block_get_id (FoFo *fo_fo); void fo_block_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_block_get_keep_together (FoFo *fo_fo); void fo_block_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_block_get_keep_together_within_column (FoFo *fo_fo); void fo_block_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_block_get_keep_together_within_line (FoFo *fo_fo); void fo_block_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_block_get_keep_together_within_page (FoFo *fo_fo); void fo_block_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_block_get_keep_with_next (FoFo *fo_fo); void fo_block_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_block_get_keep_with_next_within_column (FoFo *fo_fo); void fo_block_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_block_get_keep_with_next_within_line (FoFo *fo_fo); void fo_block_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_block_get_keep_with_next_within_page (FoFo *fo_fo); void fo_block_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_block_get_keep_with_previous (FoFo *fo_fo); void fo_block_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_block_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_block_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_block_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_block_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_block_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_block_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_block_get_line_height (FoFo *fo_fo); void fo_block_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_block_get_line_stacking_strategy (FoFo *fo_fo); void fo_block_set_line_stacking_strategy (FoFo *fo_fo, FoProperty *new_line_stacking_strategy); FoProperty* fo_block_get_linefeed_treatment (FoFo *fo_fo); void fo_block_set_linefeed_treatment (FoFo *fo_fo, FoProperty *new_linefeed_treatment); FoProperty* fo_block_get_margin_bottom (FoFo *fo_fo); void fo_block_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty* fo_block_get_margin_left (FoFo *fo_fo); void fo_block_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty* fo_block_get_margin_right (FoFo *fo_fo); void fo_block_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty* fo_block_get_margin_top (FoFo *fo_fo); void fo_block_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty* fo_block_get_orphans (FoFo *fo_fo); void fo_block_set_orphans (FoFo *fo_fo, FoProperty *new_orphans); FoProperty* fo_block_get_padding_after (FoFo *fo_fo); void fo_block_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_block_get_padding_before (FoFo *fo_fo); void fo_block_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_block_get_padding_bottom (FoFo *fo_fo); void fo_block_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_block_get_padding_end (FoFo *fo_fo); void fo_block_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_block_get_padding_left (FoFo *fo_fo); void fo_block_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_block_get_padding_right (FoFo *fo_fo); void fo_block_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_block_get_padding_start (FoFo *fo_fo); void fo_block_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_block_get_padding_top (FoFo *fo_fo); void fo_block_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_block_get_role (FoFo *fo_fo); void fo_block_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_block_get_source_document (FoFo *fo_fo); void fo_block_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_block_get_space_after (FoFo *fo_fo); void fo_block_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty* fo_block_get_space_before (FoFo *fo_fo); void fo_block_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty* fo_block_get_span (FoFo *fo_fo); void fo_block_set_span (FoFo *fo_fo, FoProperty *new_span); FoProperty* fo_block_get_start_indent (FoFo *fo_fo); void fo_block_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty* fo_block_get_text_align (FoFo *fo_fo); void fo_block_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); FoProperty* fo_block_get_text_indent (FoFo *fo_fo); void fo_block_set_text_indent (FoFo *fo_fo, FoProperty *new_text_indent); FoProperty* fo_block_get_white_space_collapse (FoFo *fo_fo); void fo_block_set_white_space_collapse (FoFo *fo_fo, FoProperty *new_white_space_collapse); FoProperty* fo_block_get_white_space_treatment (FoFo *fo_fo); void fo_block_set_white_space_treatment (FoFo *fo_fo, FoProperty *new_white_space_treatment); FoProperty* fo_block_get_widows (FoFo *fo_fo); void fo_block_set_widows (FoFo *fo_fo, FoProperty *new_widows); FoProperty* fo_block_get_wrap_option (FoFo *fo_fo); void fo_block_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoBlock +----FoBlockBlock +----FoBlockLayout +----FoBlockWhitespace Implemented Interfaces FoBlock implements FoBlockFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "break-after" FoProperty* : Read "break-before" FoProperty* : Read "color" FoProperty* : Read "end-indent" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "id" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "line-stacking-strategy" FoProperty* : Read "linefeed-treatment" FoProperty* : Read "margin-bottom" FoProperty* : Read "margin-left" FoProperty* : Read "margin-right" FoProperty* : Read "margin-top" FoProperty* : Read "orphans" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "space-after" FoProperty* : Read "space-before" FoProperty* : Read "span" FoProperty* : Read "start-indent" FoProperty* : Read "text-align" FoProperty* : Read "text-indent" FoProperty* : Read "white-space-collapse" FoProperty* : Read "white-space-treatment" FoProperty* : Read "widows" FoProperty* : Read "wrap-option" FoProperty* : Read Description Details FoBlock FoBlocktypedef struct _FoBlock FoBlock; Instance of the 'block' formatting object. FoBlockClass FoBlockClasstypedef struct _FoBlockClass FoBlockClass; Class structure for the 'block' formatting object. fo_block_new () fo_block_newFoFo* fo_block_new (void); Creates a new FoBlock initialized to default value. Returns : the new FoBlock. fo_block_get_background_color () fo_block_get_background_colorFoProperty* fo_block_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_block_set_background_color () fo_block_set_background_colorvoid fo_block_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_block_get_background_image () fo_block_get_background_imageFoProperty* fo_block_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_block_set_background_image () fo_block_set_background_imagevoid fo_block_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_block_get_border_after_color () fo_block_get_border_after_colorFoProperty* fo_block_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_block_set_border_after_color () fo_block_set_border_after_colorvoid fo_block_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_block_get_border_after_style () fo_block_get_border_after_styleFoProperty* fo_block_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_block_set_border_after_style () fo_block_set_border_after_stylevoid fo_block_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_block_get_border_after_width () fo_block_get_border_after_widthFoProperty* fo_block_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_block_set_border_after_width () fo_block_set_border_after_widthvoid fo_block_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_block_get_border_before_color () fo_block_get_border_before_colorFoProperty* fo_block_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_block_set_border_before_color () fo_block_set_border_before_colorvoid fo_block_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_block_get_border_before_style () fo_block_get_border_before_styleFoProperty* fo_block_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_block_set_border_before_style () fo_block_set_border_before_stylevoid fo_block_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_block_get_border_before_width () fo_block_get_border_before_widthFoProperty* fo_block_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_block_set_border_before_width () fo_block_set_border_before_widthvoid fo_block_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_block_get_border_bottom_color () fo_block_get_border_bottom_colorFoProperty* fo_block_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_block_set_border_bottom_color () fo_block_set_border_bottom_colorvoid fo_block_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_block_get_border_bottom_style () fo_block_get_border_bottom_styleFoProperty* fo_block_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_block_set_border_bottom_style () fo_block_set_border_bottom_stylevoid fo_block_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_block_get_border_bottom_width () fo_block_get_border_bottom_widthFoProperty* fo_block_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_block_set_border_bottom_width () fo_block_set_border_bottom_widthvoid fo_block_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_block_get_border_end_color () fo_block_get_border_end_colorFoProperty* fo_block_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_block_set_border_end_color () fo_block_set_border_end_colorvoid fo_block_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_block_get_border_end_style () fo_block_get_border_end_styleFoProperty* fo_block_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_block_set_border_end_style () fo_block_set_border_end_stylevoid fo_block_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_block_get_border_end_width () fo_block_get_border_end_widthFoProperty* fo_block_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_block_set_border_end_width () fo_block_set_border_end_widthvoid fo_block_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_block_get_border_left_color () fo_block_get_border_left_colorFoProperty* fo_block_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_block_set_border_left_color () fo_block_set_border_left_colorvoid fo_block_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_block_get_border_left_style () fo_block_get_border_left_styleFoProperty* fo_block_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_block_set_border_left_style () fo_block_set_border_left_stylevoid fo_block_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_block_get_border_left_width () fo_block_get_border_left_widthFoProperty* fo_block_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_block_set_border_left_width () fo_block_set_border_left_widthvoid fo_block_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_block_get_border_right_color () fo_block_get_border_right_colorFoProperty* fo_block_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_block_set_border_right_color () fo_block_set_border_right_colorvoid fo_block_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_block_get_border_right_style () fo_block_get_border_right_styleFoProperty* fo_block_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_block_set_border_right_style () fo_block_set_border_right_stylevoid fo_block_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_block_get_border_right_width () fo_block_get_border_right_widthFoProperty* fo_block_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_block_set_border_right_width () fo_block_set_border_right_widthvoid fo_block_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_block_get_border_start_color () fo_block_get_border_start_colorFoProperty* fo_block_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_block_set_border_start_color () fo_block_set_border_start_colorvoid fo_block_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_block_get_border_start_style () fo_block_get_border_start_styleFoProperty* fo_block_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_block_set_border_start_style () fo_block_set_border_start_stylevoid fo_block_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_block_get_border_start_width () fo_block_get_border_start_widthFoProperty* fo_block_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_block_set_border_start_width () fo_block_set_border_start_widthvoid fo_block_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_block_get_border_top_color () fo_block_get_border_top_colorFoProperty* fo_block_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_block_set_border_top_color () fo_block_set_border_top_colorvoid fo_block_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_block_get_border_top_style () fo_block_get_border_top_styleFoProperty* fo_block_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_block_set_border_top_style () fo_block_set_border_top_stylevoid fo_block_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_block_get_border_top_width () fo_block_get_border_top_widthFoProperty* fo_block_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_block_set_border_top_width () fo_block_set_border_top_widthvoid fo_block_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_block_get_break_after () fo_block_get_break_afterFoProperty* fo_block_get_break_after (FoFo *fo_fo); Gets the "break-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "break-after" property value. fo_block_set_break_after () fo_block_set_break_aftervoid fo_block_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); Sets the "break-after" property of fo_fo to new_break_after. fo_fo : The FoFo object. new_break_after : The new "break-after" property value. fo_block_get_break_before () fo_block_get_break_beforeFoProperty* fo_block_get_break_before (FoFo *fo_fo); Gets the "break-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "break-before" property value. fo_block_set_break_before () fo_block_set_break_beforevoid fo_block_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); Sets the "break-before" property of fo_fo to new_break_before. fo_fo : The FoFo object. new_break_before : The new "break-before" property value. fo_block_get_color () fo_block_get_colorFoProperty* fo_block_get_color (FoFo *fo_fo); Gets the "color" property of fo_fo. fo_fo : The FoFo object. Returns : The "color" property value. fo_block_set_color () fo_block_set_colorvoid fo_block_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the "color" property of fo_fo to new_color. fo_fo : The FoFo object. new_color : The new "color" property value. fo_block_get_end_indent () fo_block_get_end_indentFoProperty* fo_block_get_end_indent (FoFo *fo_fo); Gets the "end-indent" property of fo_fo. fo_fo : The FoFo object. Returns : The "end-indent" property value. fo_block_set_end_indent () fo_block_set_end_indentvoid fo_block_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); Sets the "end-indent" property of fo_fo to new_end_indent. fo_fo : The FoFo object. new_end_indent : The new "end-indent" property value. fo_block_get_font_family () fo_block_get_font_familyFoProperty* fo_block_get_font_family (FoFo *fo_fo); Gets the "font-family" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-family" property value. fo_block_set_font_family () fo_block_set_font_familyvoid fo_block_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the "font-family" property of fo_fo to new_font_family. fo_fo : The FoFo object. new_font_family : The new "font-family" property value. fo_block_get_font_size () fo_block_get_font_sizeFoProperty* fo_block_get_font_size (FoFo *fo_fo); Gets the "font-size" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-size" property value. fo_block_set_font_size () fo_block_set_font_sizevoid fo_block_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the "font-size" property of fo_fo to new_font_size. fo_fo : The FoFo object. new_font_size : The new "font-size" property value. fo_block_get_font_stretch () fo_block_get_font_stretchFoProperty* fo_block_get_font_stretch (FoFo *fo_fo); Gets the "font-stretch" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-stretch" property value. fo_block_set_font_stretch () fo_block_set_font_stretchvoid fo_block_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_fo to new_font_stretch. fo_fo : The FoFo object. new_font_stretch : The new "font-stretch" property value. fo_block_get_font_style () fo_block_get_font_styleFoProperty* fo_block_get_font_style (FoFo *fo_fo); Gets the "font-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-style" property value. fo_block_set_font_style () fo_block_set_font_stylevoid fo_block_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the "font-style" property of fo_fo to new_font_style. fo_fo : The FoFo object. new_font_style : The new "font-style" property value. fo_block_get_font_variant () fo_block_get_font_variantFoProperty* fo_block_get_font_variant (FoFo *fo_fo); Gets the "font-variant" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-variant" property value. fo_block_set_font_variant () fo_block_set_font_variantvoid fo_block_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the "font-variant" property of fo_fo to new_font_variant. fo_fo : The FoFo object. new_font_variant : The new "font-variant" property value. fo_block_get_font_weight () fo_block_get_font_weightFoProperty* fo_block_get_font_weight (FoFo *fo_fo); Gets the "font-weight" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-weight" property value. fo_block_set_font_weight () fo_block_set_font_weightvoid fo_block_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the "font-weight" property of fo_fo to new_font_weight. fo_fo : The FoFo object. new_font_weight : The new "font-weight" property value. fo_block_get_id () fo_block_get_idFoProperty* fo_block_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_block_set_id () fo_block_set_idvoid fo_block_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id. fo_fo : The FoFo object. new_id : The new "id" property value. fo_block_get_keep_together () fo_block_get_keep_togetherFoProperty* fo_block_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-together" property value. fo_block_set_keep_together () fo_block_set_keep_togethervoid fo_block_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together. fo_fo : The FoFo object. new_keep_together : The new "keep-together" property value. fo_block_get_keep_together_within_column () fo_block_get_keep_together_within_columnFoProperty* fo_block_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-together-within-column" property value. fo_block_set_keep_together_within_column () fo_block_set_keep_together_within_columnvoid fo_block_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column. fo_fo : The FoFo object. new_keep_together_within_column : The new "keep-together-within-column" property value. fo_block_get_keep_together_within_line () fo_block_get_keep_together_within_lineFoProperty* fo_block_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-together-within-line" property value. fo_block_set_keep_together_within_line () fo_block_set_keep_together_within_linevoid fo_block_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line. fo_fo : The FoFo object. new_keep_together_within_line : The new "keep-together-within-line" property value. fo_block_get_keep_together_within_page () fo_block_get_keep_together_within_pageFoProperty* fo_block_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-together-within-page" property value. fo_block_set_keep_together_within_page () fo_block_set_keep_together_within_pagevoid fo_block_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page. fo_fo : The FoFo object. new_keep_together_within_page : The new "keep-together-within-page" property value. fo_block_get_keep_with_next () fo_block_get_keep_with_nextFoProperty* fo_block_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next" property value. fo_block_set_keep_with_next () fo_block_set_keep_with_nextvoid fo_block_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next. fo_fo : The FoFo object. new_keep_with_next : The new "keep-with-next" property value. fo_block_get_keep_with_next_within_column () fo_block_get_keep_with_next_within_columnFoProperty* fo_block_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-column" property value. fo_block_set_keep_with_next_within_column () fo_block_set_keep_with_next_within_columnvoid fo_block_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column. fo_fo : The FoFo object. new_keep_with_next_within_column : The new "keep-with-next-within-column" property value. fo_block_get_keep_with_next_within_line () fo_block_get_keep_with_next_within_lineFoProperty* fo_block_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-line" property value. fo_block_set_keep_with_next_within_line () fo_block_set_keep_with_next_within_linevoid fo_block_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line. fo_fo : The FoFo object. new_keep_with_next_within_line : The new "keep-with-next-within-line" property value. fo_block_get_keep_with_next_within_page () fo_block_get_keep_with_next_within_pageFoProperty* fo_block_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-page" property value. fo_block_set_keep_with_next_within_page () fo_block_set_keep_with_next_within_pagevoid fo_block_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page. fo_fo : The FoFo object. new_keep_with_next_within_page : The new "keep-with-next-within-page" property value. fo_block_get_keep_with_previous () fo_block_get_keep_with_previousFoProperty* fo_block_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous" property value. fo_block_set_keep_with_previous () fo_block_set_keep_with_previousvoid fo_block_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous. fo_fo : The FoFo object. new_keep_with_previous : The new "keep-with-previous" property value. fo_block_get_keep_with_previous_within_column () fo_block_get_keep_with_previous_within_columnFoProperty* fo_block_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-column" property value. fo_block_set_keep_with_previous_within_column () fo_block_set_keep_with_previous_within_columnvoid fo_block_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column. fo_fo : The FoFo object. new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value. fo_block_get_keep_with_previous_within_line () fo_block_get_keep_with_previous_within_lineFoProperty* fo_block_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-line" property value. fo_block_set_keep_with_previous_within_line () fo_block_set_keep_with_previous_within_linevoid fo_block_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line. fo_fo : The FoFo object. new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value. fo_block_get_keep_with_previous_within_page () fo_block_get_keep_with_previous_within_pageFoProperty* fo_block_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-page" property value. fo_block_set_keep_with_previous_within_page () fo_block_set_keep_with_previous_within_pagevoid fo_block_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page. fo_fo : The FoFo object. new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value. fo_block_get_line_height () fo_block_get_line_heightFoProperty* fo_block_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo. fo_fo : The FoFo object. Returns : The "line-height" property value. fo_block_set_line_height () fo_block_set_line_heightvoid fo_block_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height. fo_fo : The FoFo object. new_line_height : The new "line-height" property value. fo_block_get_line_stacking_strategy () fo_block_get_line_stacking_strategyFoProperty* fo_block_get_line_stacking_strategy (FoFo *fo_fo); Gets the "line-stacking-strategy" property of fo_fo. fo_fo : The FoFo object. Returns : The "line-stacking-strategy" property value. fo_block_set_line_stacking_strategy () fo_block_set_line_stacking_strategyvoid fo_block_set_line_stacking_strategy (FoFo *fo_fo, FoProperty *new_line_stacking_strategy); Sets the "line-stacking-strategy" property of fo_fo to new_line_stacking_strategy. fo_fo : The FoFo object. new_line_stacking_strategy : The new "line-stacking-strategy" property value. fo_block_get_linefeed_treatment () fo_block_get_linefeed_treatmentFoProperty* fo_block_get_linefeed_treatment (FoFo *fo_fo); Gets the "linefeed-treatment" property of fo_fo. fo_fo : The FoFo object. Returns : The "linefeed-treatment" property value. fo_block_set_linefeed_treatment () fo_block_set_linefeed_treatmentvoid fo_block_set_linefeed_treatment (FoFo *fo_fo, FoProperty *new_linefeed_treatment); Sets the "linefeed-treatment" property of fo_fo to new_linefeed_treatment. fo_fo : The FoFo object. new_linefeed_treatment : The new "linefeed-treatment" property value. fo_block_get_margin_bottom () fo_block_get_margin_bottomFoProperty* fo_block_get_margin_bottom (FoFo *fo_fo); Gets the "margin-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-bottom" property value. fo_block_set_margin_bottom () fo_block_set_margin_bottomvoid fo_block_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_fo to new_margin_bottom. fo_fo : The FoFo object. new_margin_bottom : The new "margin-bottom" property value. fo_block_get_margin_left () fo_block_get_margin_leftFoProperty* fo_block_get_margin_left (FoFo *fo_fo); Gets the "margin-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-left" property value. fo_block_set_margin_left () fo_block_set_margin_leftvoid fo_block_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); Sets the "margin-left" property of fo_fo to new_margin_left. fo_fo : The FoFo object. new_margin_left : The new "margin-left" property value. fo_block_get_margin_right () fo_block_get_margin_rightFoProperty* fo_block_get_margin_right (FoFo *fo_fo); Gets the "margin-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-right" property value. fo_block_set_margin_right () fo_block_set_margin_rightvoid fo_block_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); Sets the "margin-right" property of fo_fo to new_margin_right. fo_fo : The FoFo object. new_margin_right : The new "margin-right" property value. fo_block_get_margin_top () fo_block_get_margin_topFoProperty* fo_block_get_margin_top (FoFo *fo_fo); Gets the "margin-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-top" property value. fo_block_set_margin_top () fo_block_set_margin_topvoid fo_block_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); Sets the "margin-top" property of fo_fo to new_margin_top. fo_fo : The FoFo object. new_margin_top : The new "margin-top" property value. fo_block_get_orphans () fo_block_get_orphansFoProperty* fo_block_get_orphans (FoFo *fo_fo); Gets the "orphans" property of fo_fo. fo_fo : The FoFo object. Returns : The "orphans" property value. fo_block_set_orphans () fo_block_set_orphansvoid fo_block_set_orphans (FoFo *fo_fo, FoProperty *new_orphans); Sets the "orphans" property of fo_fo to new_orphans. fo_fo : The FoFo object. new_orphans : The new "orphans" property value. fo_block_get_padding_after () fo_block_get_padding_afterFoProperty* fo_block_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_block_set_padding_after () fo_block_set_padding_aftervoid fo_block_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_block_get_padding_before () fo_block_get_padding_beforeFoProperty* fo_block_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_block_set_padding_before () fo_block_set_padding_beforevoid fo_block_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_block_get_padding_bottom () fo_block_get_padding_bottomFoProperty* fo_block_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_block_set_padding_bottom () fo_block_set_padding_bottomvoid fo_block_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_block_get_padding_end () fo_block_get_padding_endFoProperty* fo_block_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_block_set_padding_end () fo_block_set_padding_endvoid fo_block_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_block_get_padding_left () fo_block_get_padding_leftFoProperty* fo_block_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_block_set_padding_left () fo_block_set_padding_leftvoid fo_block_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_block_get_padding_right () fo_block_get_padding_rightFoProperty* fo_block_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_block_set_padding_right () fo_block_set_padding_rightvoid fo_block_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_block_get_padding_start () fo_block_get_padding_startFoProperty* fo_block_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_block_set_padding_start () fo_block_set_padding_startvoid fo_block_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_block_get_padding_top () fo_block_get_padding_topFoProperty* fo_block_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_block_set_padding_top () fo_block_set_padding_topvoid fo_block_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_block_get_role () fo_block_get_roleFoProperty* fo_block_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo. fo_fo : The FoFo object. Returns : The "role" property value. fo_block_set_role () fo_block_set_rolevoid fo_block_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role. fo_fo : The FoFo object. new_role : The new "role" property value. fo_block_get_source_document () fo_block_get_source_documentFoProperty* fo_block_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo. fo_fo : The FoFo object. Returns : The "source-document" property value. fo_block_set_source_document () fo_block_set_source_documentvoid fo_block_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document. fo_fo : The FoFo object. new_source_document : The new "source-document" property value. fo_block_get_space_after () fo_block_get_space_afterFoProperty* fo_block_get_space_after (FoFo *fo_fo); Gets the "space-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-after" property value. fo_block_set_space_after () fo_block_set_space_aftervoid fo_block_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); Sets the "space-after" property of fo_fo to new_space_after. fo_fo : The FoFo object. new_space_after : The new "space-after" property value. fo_block_get_space_before () fo_block_get_space_beforeFoProperty* fo_block_get_space_before (FoFo *fo_fo); Gets the "space-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-before" property value. fo_block_set_space_before () fo_block_set_space_beforevoid fo_block_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); Sets the "space-before" property of fo_fo to new_space_before. fo_fo : The FoFo object. new_space_before : The new "space-before" property value. fo_block_get_span () fo_block_get_spanFoProperty* fo_block_get_span (FoFo *fo_fo); Gets the "span" property of fo_fo. fo_fo : The FoFo object. Returns : The "span" property value. fo_block_set_span () fo_block_set_spanvoid fo_block_set_span (FoFo *fo_fo, FoProperty *new_span); Sets the "span" property of fo_fo to new_span. fo_fo : The FoFo object. new_span : The new "span" property value. fo_block_get_start_indent () fo_block_get_start_indentFoProperty* fo_block_get_start_indent (FoFo *fo_fo); Gets the "start-indent" property of fo_fo. fo_fo : The FoFo object. Returns : The "start-indent" property value. fo_block_set_start_indent () fo_block_set_start_indentvoid fo_block_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Sets the "start-indent" property of fo_fo to new_start_indent. fo_fo : The FoFo object. new_start_indent : The new "start-indent" property value. fo_block_get_text_align () fo_block_get_text_alignFoProperty* fo_block_get_text_align (FoFo *fo_fo); Gets the "text-align" property of fo_fo. fo_fo : The FoFo object. Returns : The "text-align" property value. fo_block_set_text_align () fo_block_set_text_alignvoid fo_block_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); Sets the "text-align" property of fo_fo to new_text_align. fo_fo : The FoFo object. new_text_align : The new "text-align" property value. fo_block_get_text_indent () fo_block_get_text_indentFoProperty* fo_block_get_text_indent (FoFo *fo_fo); Gets the "text-indent" property of fo_fo. fo_fo : The FoFo object. Returns : The "text-indent" property value. fo_block_set_text_indent () fo_block_set_text_indentvoid fo_block_set_text_indent (FoFo *fo_fo, FoProperty *new_text_indent); Sets the "text-indent" property of fo_fo to new_text_indent. fo_fo : The FoFo object. new_text_indent : The new "text-indent" property value. fo_block_get_white_space_collapse () fo_block_get_white_space_collapseFoProperty* fo_block_get_white_space_collapse (FoFo *fo_fo); Gets the "white-space-collapse" property of fo_fo. fo_fo : The FoFo object. Returns : The "white-space-collapse" property value. fo_block_set_white_space_collapse () fo_block_set_white_space_collapsevoid fo_block_set_white_space_collapse (FoFo *fo_fo, FoProperty *new_white_space_collapse); Sets the "white-space-collapse" property of fo_fo to new_white_space_collapse. fo_fo : The FoFo object. new_white_space_collapse : The new "white-space-collapse" property value. fo_block_get_white_space_treatment () fo_block_get_white_space_treatmentFoProperty* fo_block_get_white_space_treatment (FoFo *fo_fo); Gets the "white-space-treatment" property of fo_fo. fo_fo : The FoFo object. Returns : The "white-space-treatment" property value. fo_block_set_white_space_treatment () fo_block_set_white_space_treatmentvoid fo_block_set_white_space_treatment (FoFo *fo_fo, FoProperty *new_white_space_treatment); Sets the "white-space-treatment" property of fo_fo to new_white_space_treatment. fo_fo : The FoFo object. new_white_space_treatment : The new "white-space-treatment" property value. fo_block_get_widows () fo_block_get_widowsFoProperty* fo_block_get_widows (FoFo *fo_fo); Gets the "widows" property of fo_fo. fo_fo : The FoFo object. Returns : The "widows" property value. fo_block_set_widows () fo_block_set_widowsvoid fo_block_set_widows (FoFo *fo_fo, FoProperty *new_widows); Sets the "widows" property of fo_fo to new_widows. fo_fo : The FoFo object. new_widows : The new "widows" property value. fo_block_get_wrap_option () fo_block_get_wrap_optionFoProperty* fo_block_get_wrap_option (FoFo *fo_fo); Gets the "wrap-option" property of fo_fo. fo_fo : The FoFo object. Returns : The "wrap-option" property value. fo_block_set_wrap_option () fo_block_set_wrap_optionvoid fo_block_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); Sets the "wrap-option" property of fo_fo to new_wrap_option. fo_fo : The FoFo object. new_wrap_option : The new "wrap-option" property value. Property Details The <literal>"background-color"</literal> property FoBlock:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoBlock:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoBlock:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoBlock:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoBlock:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoBlock:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoBlock:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoBlock:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoBlock:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoBlock:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoBlock:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoBlock:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoBlock:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoBlock:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoBlock:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoBlock:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoBlock:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoBlock:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoBlock:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoBlock:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoBlock:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoBlock:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoBlock:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoBlock:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoBlock:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoBlock:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"break-after"</literal> property FoBlock:break-after "break-after" FoProperty* : Read Break After property. The <literal>"break-before"</literal> property FoBlock:break-before "break-before" FoProperty* : Read Break Before property. The <literal>"color"</literal> property FoBlock:color "color" FoProperty* : Read Color property. The <literal>"end-indent"</literal> property FoBlock:end-indent "end-indent" FoProperty* : Read End Indent property. The <literal>"font-family"</literal> property FoBlock:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoBlock:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoBlock:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoBlock:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoBlock:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoBlock:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"id"</literal> property FoBlock:id "id" FoProperty* : Read Id property. The <literal>"keep-together"</literal> property FoBlock:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoBlock:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoBlock:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoBlock:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoBlock:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoBlock:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoBlock:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoBlock:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoBlock:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoBlock:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoBlock:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoBlock:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoBlock:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"line-stacking-strategy"</literal> property FoBlock:line-stacking-strategy "line-stacking-strategy" FoProperty* : Read Line Stacking Strategy property. The <literal>"linefeed-treatment"</literal> property FoBlock:linefeed-treatment "linefeed-treatment" FoProperty* : Read Linefeed Treatment property. The <literal>"margin-bottom"</literal> property FoBlock:margin-bottom "margin-bottom" FoProperty* : Read Margin Bottom property. The <literal>"margin-left"</literal> property FoBlock:margin-left "margin-left" FoProperty* : Read Margin Left property. The <literal>"margin-right"</literal> property FoBlock:margin-right "margin-right" FoProperty* : Read Margin Right property. The <literal>"margin-top"</literal> property FoBlock:margin-top "margin-top" FoProperty* : Read Margin Top property. The <literal>"orphans"</literal> property FoBlock:orphans "orphans" FoProperty* : Read Orphans property. The <literal>"padding-after"</literal> property FoBlock:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoBlock:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoBlock:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoBlock:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoBlock:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoBlock:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoBlock:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoBlock:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoBlock:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoBlock:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-after"</literal> property FoBlock:space-after "space-after" FoProperty* : Read Space After property. The <literal>"space-before"</literal> property FoBlock:space-before "space-before" FoProperty* : Read Space Before property. The <literal>"span"</literal> property FoBlock:span "span" FoProperty* : Read Span property. The <literal>"start-indent"</literal> property FoBlock:start-indent "start-indent" FoProperty* : Read Start Indent property. The <literal>"text-align"</literal> property FoBlock:text-align "text-align" FoProperty* : Read Text Align property. The <literal>"text-indent"</literal> property FoBlock:text-indent "text-indent" FoProperty* : Read Text Indent property. The <literal>"white-space-collapse"</literal> property FoBlock:white-space-collapse "white-space-collapse" FoProperty* : Read White Space Collapse property. The <literal>"white-space-treatment"</literal> property FoBlock:white-space-treatment "white-space-treatment" FoProperty* : Read White Space Treatment property. The <literal>"widows"</literal> property FoBlock:widows "widows" FoProperty* : Read Widows property. The <literal>"wrap-option"</literal> property FoBlock:wrap-option "wrap-option" FoProperty* : Read Wrap Option property. xmlroff-0.6.2/docs/xml/fo-boolean.xml0000644000175000017500000001724311156164731014424 00000000000000 FoBoolean 3 XMLROFF Library FoBoolean Synopsis FoBoolean; FoBooleanClass; FoDatatype* fo_boolean_new (void); FoDatatype* fo_boolean_new_with_value (gboolean value); gboolean fo_boolean_get_value (FoDatatype *boolean); FoDatatype* fo_boolean_get_true (void); FoDatatype* fo_boolean_get_false (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoBoolean Properties "value" gboolean : Read / Write / Construct Only Description Details FoBoolean FoBooleantypedef struct _FoBoolean FoBoolean; FoBooleanClass FoBooleanClasstypedef struct _FoBooleanClass FoBooleanClass; fo_boolean_new () fo_boolean_newFoDatatype* fo_boolean_new (void); Creates a new FoBoolean initialized to default value. Returns : the new FoBoolean. fo_boolean_new_with_value () fo_boolean_new_with_valueFoDatatype* fo_boolean_new_with_value (gboolean value); Creates a new FoBoolean set to value. value : gboolean of the new FoBoolean. Returns : The new FoBoolean. fo_boolean_get_value () fo_boolean_get_valuegboolean fo_boolean_get_value (FoDatatype *boolean); Get the value of boolean. boolean : FoBoolean. Returns : gboolean value of boolean. fo_boolean_get_true () fo_boolean_get_trueFoDatatype* fo_boolean_get_true (void); Create and return an FoBoolean with the well-known value true. This saves creation of multiple FoBoolean objects that all have the value true. Returns : FoBoolean with value true. fo_boolean_get_false () fo_boolean_get_falseFoDatatype* fo_boolean_get_false (void); Create and return an FoBoolean with the well-known value false. This saves creation of multiple FoBoolean objects that all have the value false. Returns : FoBoolean with value false. Property Details The <literal>"value"</literal> property FoBoolean:value "value" gboolean : Read / Write / Construct Only Boolean value.Default value: FALSE xmlroff-0.6.2/docs/xml/fo-character.xml0000644000175000017500000055006611156164731014746 00000000000000 FoCharacter 3 XMLROFF Library FoCharacter Synopsis FoCharacter; FoCharacterClass; FoFo* fo_character_new (void); FoProperty* fo_character_get_alignment_adjust (FoFo *fo_fo); void fo_character_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_character_get_alignment_baseline (FoFo *fo_fo); void fo_character_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty* fo_character_get_background_color (FoFo *fo_fo); void fo_character_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_character_get_background_image (FoFo *fo_fo); void fo_character_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_character_get_baseline_shift (FoFo *fo_fo); void fo_character_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_character_get_border_after_color (FoFo *fo_fo); void fo_character_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_character_get_border_after_style (FoFo *fo_fo); void fo_character_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_character_get_border_after_width (FoFo *fo_fo); void fo_character_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_character_get_border_before_color (FoFo *fo_fo); void fo_character_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_character_get_border_before_style (FoFo *fo_fo); void fo_character_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_character_get_border_before_width (FoFo *fo_fo); void fo_character_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_character_get_border_bottom_color (FoFo *fo_fo); void fo_character_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_character_get_border_bottom_style (FoFo *fo_fo); void fo_character_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_character_get_border_bottom_width (FoFo *fo_fo); void fo_character_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_character_get_border_end_color (FoFo *fo_fo); void fo_character_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_character_get_border_end_style (FoFo *fo_fo); void fo_character_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_character_get_border_end_width (FoFo *fo_fo); void fo_character_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_character_get_border_left_color (FoFo *fo_fo); void fo_character_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_character_get_border_left_style (FoFo *fo_fo); void fo_character_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_character_get_border_left_width (FoFo *fo_fo); void fo_character_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_character_get_border_right_color (FoFo *fo_fo); void fo_character_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_character_get_border_right_style (FoFo *fo_fo); void fo_character_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_character_get_border_right_width (FoFo *fo_fo); void fo_character_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_character_get_border_start_color (FoFo *fo_fo); void fo_character_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_character_get_border_start_style (FoFo *fo_fo); void fo_character_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_character_get_border_start_width (FoFo *fo_fo); void fo_character_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_character_get_border_top_color (FoFo *fo_fo); void fo_character_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_character_get_border_top_style (FoFo *fo_fo); void fo_character_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_character_get_border_top_width (FoFo *fo_fo); void fo_character_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_character_get_character (FoFo *fo_fo); void fo_character_set_character (FoFo *fo_fo, FoProperty *new_character); FoProperty* fo_character_get_color (FoFo *fo_fo); void fo_character_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_character_get_dominant_baseline (FoFo *fo_fo); void fo_character_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_character_get_font_family (FoFo *fo_fo); void fo_character_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_character_get_font_size (FoFo *fo_fo); void fo_character_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_character_get_font_stretch (FoFo *fo_fo); void fo_character_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_character_get_font_style (FoFo *fo_fo); void fo_character_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_character_get_font_variant (FoFo *fo_fo); void fo_character_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_character_get_font_weight (FoFo *fo_fo); void fo_character_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_character_get_id (FoFo *fo_fo); void fo_character_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_character_get_keep_with_next (FoFo *fo_fo); void fo_character_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_character_get_keep_with_next_within_column (FoFo *fo_fo); void fo_character_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_character_get_keep_with_next_within_line (FoFo *fo_fo); void fo_character_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_character_get_keep_with_next_within_page (FoFo *fo_fo); void fo_character_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_character_get_keep_with_previous (FoFo *fo_fo); void fo_character_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_character_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_character_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_character_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_character_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_character_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_character_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_character_get_line_height (FoFo *fo_fo); void fo_character_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_character_get_padding_after (FoFo *fo_fo); void fo_character_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_character_get_padding_before (FoFo *fo_fo); void fo_character_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_character_get_padding_bottom (FoFo *fo_fo); void fo_character_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_character_get_padding_end (FoFo *fo_fo); void fo_character_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_character_get_padding_left (FoFo *fo_fo); void fo_character_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_character_get_padding_right (FoFo *fo_fo); void fo_character_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_character_get_padding_start (FoFo *fo_fo); void fo_character_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_character_get_padding_top (FoFo *fo_fo); void fo_character_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_character_get_score_spaces (FoFo *fo_fo); void fo_character_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_character_get_space_end (FoFo *fo_fo); void fo_character_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_character_get_space_start (FoFo *fo_fo); void fo_character_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoCharacter Implemented Interfaces FoCharacter implements FoInlineFoIface. Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "baseline-shift" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "character" FoProperty* : Read "color" FoProperty* : Read "dominant-baseline" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "id" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "score-spaces" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read Description Details FoCharacter FoCharactertypedef struct _FoCharacter FoCharacter; FoCharacterClass FoCharacterClasstypedef struct _FoCharacterClass FoCharacterClass; fo_character_new () fo_character_newFoFo* fo_character_new (void); Creates a new FoCharacter initialized to default value. Returns : the new FoCharacter. fo_character_get_alignment_adjust () fo_character_get_alignment_adjustFoProperty* fo_character_get_alignment_adjust (FoFo *fo_fo); Gets the "alignment-adjust" property of fo_fo. fo_fo : The FoFo object. Returns : The "alignment-adjust" property value. fo_character_set_alignment_adjust () fo_character_set_alignment_adjustvoid fo_character_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust. fo_fo : The FoFo object. new_alignment_adjust : The new "alignment-adjust" property value. fo_character_get_alignment_baseline () fo_character_get_alignment_baselineFoProperty* fo_character_get_alignment_baseline (FoFo *fo_fo); Gets the "alignment-baseline" property of fo_fo. fo_fo : The FoFo object. Returns : The "alignment-baseline" property value. fo_character_set_alignment_baseline () fo_character_set_alignment_baselinevoid fo_character_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline. fo_fo : The FoFo object. new_alignment_baseline : The new "alignment-baseline" property value. fo_character_get_background_color () fo_character_get_background_colorFoProperty* fo_character_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_character_set_background_color () fo_character_set_background_colorvoid fo_character_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_character_get_background_image () fo_character_get_background_imageFoProperty* fo_character_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_character_set_background_image () fo_character_set_background_imagevoid fo_character_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_character_get_baseline_shift () fo_character_get_baseline_shiftFoProperty* fo_character_get_baseline_shift (FoFo *fo_fo); Gets the "baseline-shift" property of fo_fo. fo_fo : The FoFo object. Returns : The "baseline-shift" property value. fo_character_set_baseline_shift () fo_character_set_baseline_shiftvoid fo_character_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_fo to new_baseline_shift. fo_fo : The FoFo object. new_baseline_shift : The new "baseline-shift" property value. fo_character_get_border_after_color () fo_character_get_border_after_colorFoProperty* fo_character_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_character_set_border_after_color () fo_character_set_border_after_colorvoid fo_character_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_character_get_border_after_style () fo_character_get_border_after_styleFoProperty* fo_character_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_character_set_border_after_style () fo_character_set_border_after_stylevoid fo_character_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_character_get_border_after_width () fo_character_get_border_after_widthFoProperty* fo_character_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_character_set_border_after_width () fo_character_set_border_after_widthvoid fo_character_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_character_get_border_before_color () fo_character_get_border_before_colorFoProperty* fo_character_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_character_set_border_before_color () fo_character_set_border_before_colorvoid fo_character_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_character_get_border_before_style () fo_character_get_border_before_styleFoProperty* fo_character_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_character_set_border_before_style () fo_character_set_border_before_stylevoid fo_character_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_character_get_border_before_width () fo_character_get_border_before_widthFoProperty* fo_character_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_character_set_border_before_width () fo_character_set_border_before_widthvoid fo_character_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_character_get_border_bottom_color () fo_character_get_border_bottom_colorFoProperty* fo_character_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_character_set_border_bottom_color () fo_character_set_border_bottom_colorvoid fo_character_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_character_get_border_bottom_style () fo_character_get_border_bottom_styleFoProperty* fo_character_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_character_set_border_bottom_style () fo_character_set_border_bottom_stylevoid fo_character_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_character_get_border_bottom_width () fo_character_get_border_bottom_widthFoProperty* fo_character_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_character_set_border_bottom_width () fo_character_set_border_bottom_widthvoid fo_character_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_character_get_border_end_color () fo_character_get_border_end_colorFoProperty* fo_character_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_character_set_border_end_color () fo_character_set_border_end_colorvoid fo_character_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_character_get_border_end_style () fo_character_get_border_end_styleFoProperty* fo_character_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_character_set_border_end_style () fo_character_set_border_end_stylevoid fo_character_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_character_get_border_end_width () fo_character_get_border_end_widthFoProperty* fo_character_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_character_set_border_end_width () fo_character_set_border_end_widthvoid fo_character_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_character_get_border_left_color () fo_character_get_border_left_colorFoProperty* fo_character_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_character_set_border_left_color () fo_character_set_border_left_colorvoid fo_character_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_character_get_border_left_style () fo_character_get_border_left_styleFoProperty* fo_character_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_character_set_border_left_style () fo_character_set_border_left_stylevoid fo_character_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_character_get_border_left_width () fo_character_get_border_left_widthFoProperty* fo_character_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_character_set_border_left_width () fo_character_set_border_left_widthvoid fo_character_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_character_get_border_right_color () fo_character_get_border_right_colorFoProperty* fo_character_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_character_set_border_right_color () fo_character_set_border_right_colorvoid fo_character_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_character_get_border_right_style () fo_character_get_border_right_styleFoProperty* fo_character_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_character_set_border_right_style () fo_character_set_border_right_stylevoid fo_character_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_character_get_border_right_width () fo_character_get_border_right_widthFoProperty* fo_character_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_character_set_border_right_width () fo_character_set_border_right_widthvoid fo_character_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_character_get_border_start_color () fo_character_get_border_start_colorFoProperty* fo_character_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_character_set_border_start_color () fo_character_set_border_start_colorvoid fo_character_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_character_get_border_start_style () fo_character_get_border_start_styleFoProperty* fo_character_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_character_set_border_start_style () fo_character_set_border_start_stylevoid fo_character_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_character_get_border_start_width () fo_character_get_border_start_widthFoProperty* fo_character_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_character_set_border_start_width () fo_character_set_border_start_widthvoid fo_character_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_character_get_border_top_color () fo_character_get_border_top_colorFoProperty* fo_character_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_character_set_border_top_color () fo_character_set_border_top_colorvoid fo_character_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_character_get_border_top_style () fo_character_get_border_top_styleFoProperty* fo_character_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_character_set_border_top_style () fo_character_set_border_top_stylevoid fo_character_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_character_get_border_top_width () fo_character_get_border_top_widthFoProperty* fo_character_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_character_set_border_top_width () fo_character_set_border_top_widthvoid fo_character_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_character_get_character () fo_character_get_characterFoProperty* fo_character_get_character (FoFo *fo_fo); Gets the "character" property of fo_fo. fo_fo : The FoFo object. Returns : The "character" property value. fo_character_set_character () fo_character_set_charactervoid fo_character_set_character (FoFo *fo_fo, FoProperty *new_character); Sets the "character" property of fo_fo to new_character. fo_fo : The FoFo object. new_character : The new "character" property value. fo_character_get_color () fo_character_get_colorFoProperty* fo_character_get_color (FoFo *fo_fo); Gets the "color" property of fo_fo. fo_fo : The FoFo object. Returns : The "color" property value. fo_character_set_color () fo_character_set_colorvoid fo_character_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the "color" property of fo_fo to new_color. fo_fo : The FoFo object. new_color : The new "color" property value. fo_character_get_dominant_baseline () fo_character_get_dominant_baselineFoProperty* fo_character_get_dominant_baseline (FoFo *fo_fo); Gets the "dominant-baseline" property of fo_fo. fo_fo : The FoFo object. Returns : The "dominant-baseline" property value. fo_character_set_dominant_baseline () fo_character_set_dominant_baselinevoid fo_character_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline. fo_fo : The FoFo object. new_dominant_baseline : The new "dominant-baseline" property value. fo_character_get_font_family () fo_character_get_font_familyFoProperty* fo_character_get_font_family (FoFo *fo_fo); Gets the "font-family" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-family" property value. fo_character_set_font_family () fo_character_set_font_familyvoid fo_character_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the "font-family" property of fo_fo to new_font_family. fo_fo : The FoFo object. new_font_family : The new "font-family" property value. fo_character_get_font_size () fo_character_get_font_sizeFoProperty* fo_character_get_font_size (FoFo *fo_fo); Gets the "font-size" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-size" property value. fo_character_set_font_size () fo_character_set_font_sizevoid fo_character_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the "font-size" property of fo_fo to new_font_size. fo_fo : The FoFo object. new_font_size : The new "font-size" property value. fo_character_get_font_stretch () fo_character_get_font_stretchFoProperty* fo_character_get_font_stretch (FoFo *fo_fo); Gets the "font-stretch" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-stretch" property value. fo_character_set_font_stretch () fo_character_set_font_stretchvoid fo_character_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_fo to new_font_stretch. fo_fo : The FoFo object. new_font_stretch : The new "font-stretch" property value. fo_character_get_font_style () fo_character_get_font_styleFoProperty* fo_character_get_font_style (FoFo *fo_fo); Gets the "font-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-style" property value. fo_character_set_font_style () fo_character_set_font_stylevoid fo_character_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the "font-style" property of fo_fo to new_font_style. fo_fo : The FoFo object. new_font_style : The new "font-style" property value. fo_character_get_font_variant () fo_character_get_font_variantFoProperty* fo_character_get_font_variant (FoFo *fo_fo); Gets the "font-variant" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-variant" property value. fo_character_set_font_variant () fo_character_set_font_variantvoid fo_character_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the "font-variant" property of fo_fo to new_font_variant. fo_fo : The FoFo object. new_font_variant : The new "font-variant" property value. fo_character_get_font_weight () fo_character_get_font_weightFoProperty* fo_character_get_font_weight (FoFo *fo_fo); Gets the "font-weight" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-weight" property value. fo_character_set_font_weight () fo_character_set_font_weightvoid fo_character_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the "font-weight" property of fo_fo to new_font_weight. fo_fo : The FoFo object. new_font_weight : The new "font-weight" property value. fo_character_get_id () fo_character_get_idFoProperty* fo_character_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_character_set_id () fo_character_set_idvoid fo_character_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id. fo_fo : The FoFo object. new_id : The new "id" property value. fo_character_get_keep_with_next () fo_character_get_keep_with_nextFoProperty* fo_character_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next" property value. fo_character_set_keep_with_next () fo_character_set_keep_with_nextvoid fo_character_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next. fo_fo : The FoFo object. new_keep_with_next : The new "keep-with-next" property value. fo_character_get_keep_with_next_within_column () fo_character_get_keep_with_next_within_columnFoProperty* fo_character_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-column" property value. fo_character_set_keep_with_next_within_column () fo_character_set_keep_with_next_within_columnvoid fo_character_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column. fo_fo : The FoFo object. new_keep_with_next_within_column : The new "keep-with-next-within-column" property value. fo_character_get_keep_with_next_within_line () fo_character_get_keep_with_next_within_lineFoProperty* fo_character_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-line" property value. fo_character_set_keep_with_next_within_line () fo_character_set_keep_with_next_within_linevoid fo_character_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line. fo_fo : The FoFo object. new_keep_with_next_within_line : The new "keep-with-next-within-line" property value. fo_character_get_keep_with_next_within_page () fo_character_get_keep_with_next_within_pageFoProperty* fo_character_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-page" property value. fo_character_set_keep_with_next_within_page () fo_character_set_keep_with_next_within_pagevoid fo_character_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page. fo_fo : The FoFo object. new_keep_with_next_within_page : The new "keep-with-next-within-page" property value. fo_character_get_keep_with_previous () fo_character_get_keep_with_previousFoProperty* fo_character_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous" property value. fo_character_set_keep_with_previous () fo_character_set_keep_with_previousvoid fo_character_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous. fo_fo : The FoFo object. new_keep_with_previous : The new "keep-with-previous" property value. fo_character_get_keep_with_previous_within_column () fo_character_get_keep_with_previous_within_columnFoProperty* fo_character_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-column" property value. fo_character_set_keep_with_previous_within_column () fo_character_set_keep_with_previous_within_columnvoid fo_character_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column. fo_fo : The FoFo object. new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value. fo_character_get_keep_with_previous_within_line () fo_character_get_keep_with_previous_within_lineFoProperty* fo_character_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-line" property value. fo_character_set_keep_with_previous_within_line () fo_character_set_keep_with_previous_within_linevoid fo_character_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line. fo_fo : The FoFo object. new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value. fo_character_get_keep_with_previous_within_page () fo_character_get_keep_with_previous_within_pageFoProperty* fo_character_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-page" property value. fo_character_set_keep_with_previous_within_page () fo_character_set_keep_with_previous_within_pagevoid fo_character_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page. fo_fo : The FoFo object. new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value. fo_character_get_line_height () fo_character_get_line_heightFoProperty* fo_character_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo. fo_fo : The FoFo object. Returns : The "line-height" property value. fo_character_set_line_height () fo_character_set_line_heightvoid fo_character_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height. fo_fo : The FoFo object. new_line_height : The new "line-height" property value. fo_character_get_padding_after () fo_character_get_padding_afterFoProperty* fo_character_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_character_set_padding_after () fo_character_set_padding_aftervoid fo_character_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_character_get_padding_before () fo_character_get_padding_beforeFoProperty* fo_character_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_character_set_padding_before () fo_character_set_padding_beforevoid fo_character_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_character_get_padding_bottom () fo_character_get_padding_bottomFoProperty* fo_character_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_character_set_padding_bottom () fo_character_set_padding_bottomvoid fo_character_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_character_get_padding_end () fo_character_get_padding_endFoProperty* fo_character_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_character_set_padding_end () fo_character_set_padding_endvoid fo_character_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_character_get_padding_left () fo_character_get_padding_leftFoProperty* fo_character_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_character_set_padding_left () fo_character_set_padding_leftvoid fo_character_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_character_get_padding_right () fo_character_get_padding_rightFoProperty* fo_character_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_character_set_padding_right () fo_character_set_padding_rightvoid fo_character_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_character_get_padding_start () fo_character_get_padding_startFoProperty* fo_character_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_character_set_padding_start () fo_character_set_padding_startvoid fo_character_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_character_get_padding_top () fo_character_get_padding_topFoProperty* fo_character_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_character_set_padding_top () fo_character_set_padding_topvoid fo_character_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_character_get_score_spaces () fo_character_get_score_spacesFoProperty* fo_character_get_score_spaces (FoFo *fo_fo); Gets the "score-spaces" property of fo_fo. fo_fo : The FoFo object. Returns : The "score-spaces" property value. fo_character_set_score_spaces () fo_character_set_score_spacesvoid fo_character_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); Sets the "score-spaces" property of fo_fo to new_score_spaces. fo_fo : The FoFo object. new_score_spaces : The new "score-spaces" property value. fo_character_get_space_end () fo_character_get_space_endFoProperty* fo_character_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-end" property value. fo_character_set_space_end () fo_character_set_space_endvoid fo_character_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end. fo_fo : The FoFo object. new_space_end : The new "space-end" property value. fo_character_get_space_start () fo_character_get_space_startFoProperty* fo_character_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-start" property value. fo_character_set_space_start () fo_character_set_space_startvoid fo_character_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start. fo_fo : The FoFo object. new_space_start : The new "space-start" property value. Property Details The <literal>"alignment-adjust"</literal> property FoCharacter:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoCharacter:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoCharacter:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoCharacter:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"baseline-shift"</literal> property FoCharacter:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"border-after-color"</literal> property FoCharacter:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoCharacter:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoCharacter:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoCharacter:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoCharacter:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoCharacter:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoCharacter:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoCharacter:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoCharacter:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoCharacter:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoCharacter:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoCharacter:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoCharacter:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoCharacter:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoCharacter:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoCharacter:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoCharacter:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoCharacter:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoCharacter:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoCharacter:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoCharacter:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoCharacter:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoCharacter:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoCharacter:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"character"</literal> property FoCharacter:character "character" FoProperty* : Read Character property. The <literal>"color"</literal> property FoCharacter:color "color" FoProperty* : Read Color property. The <literal>"dominant-baseline"</literal> property FoCharacter:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"font-family"</literal> property FoCharacter:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoCharacter:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoCharacter:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoCharacter:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoCharacter:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoCharacter:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"id"</literal> property FoCharacter:id "id" FoProperty* : Read Id property. The <literal>"keep-with-next"</literal> property FoCharacter:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoCharacter:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoCharacter:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoCharacter:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoCharacter:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoCharacter:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoCharacter:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoCharacter:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoCharacter:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"padding-after"</literal> property FoCharacter:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoCharacter:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoCharacter:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoCharacter:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoCharacter:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoCharacter:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoCharacter:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoCharacter:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"score-spaces"</literal> property FoCharacter:score-spaces "score-spaces" FoProperty* : Read Score Spaces property. The <literal>"space-end"</literal> property FoCharacter:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoCharacter:space-start "space-start" FoProperty* : Read Space Start property. xmlroff-0.6.2/docs/xml/fo-char.xml0000644000175000017500000001414011156164731013713 00000000000000 FoChar 3 XMLROFF Library FoChar Synopsis FoChar; FoCharClass; FoDatatype* fo_char_new_with_value (const gchar *value); const gchar* fo_char_get_value (FoDatatype *fo_char); FoDatatype* fo_char_get_char_space (void); FoDatatype* fo_char_get_char_zws (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoChar Properties "value" gchar* : Read / Write / Construct Only Description Details FoChar FoChartypedef struct _FoChar FoChar; FoCharClass FoCharClasstypedef struct _FoCharClass FoCharClass; fo_char_new_with_value () fo_char_new_with_valueFoDatatype* fo_char_new_with_value (const gchar *value); Creates a new FoChar set to value. value : String value of the new FoChar. Returns : The new FoChar. fo_char_get_value () fo_char_get_valueconst gchar* fo_char_get_value (FoDatatype *fo_char); Get the value of fo_char. fo_char : FoChar. Returns : String value of fo_char. fo_char_get_char_space () fo_char_get_char_spaceFoDatatype* fo_char_get_char_space (void); Get an FoChar with the well-known value of ' '. Returns : The FoChar. fo_char_get_char_zws () fo_char_get_char_zwsFoDatatype* fo_char_get_char_zws (void); Get an FoChar with the well-known value of U+200B, ZERO WIDTH SPACE. Returns : The FoChar. Property Details The <literal>"value"</literal> property FoChar:value "value" gchar* : Read / Write / Construct Only FoChar value.Default value: NULL xmlroff-0.6.2/docs/xml/fo-color-profile.xml0000644000175000017500000001335711156164731015563 00000000000000 color-profile 3 XMLROFF Library color-profile Synopsis FoColorProfile; FoColorProfileClass; FoFo* fo_color_profile_new (void); FoProperty* fo_color_profile_get_src (FoFo *fo_fo); void fo_color_profile_set_src (FoFo *fo_fo, FoProperty *new_src); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoColorProfile Properties "src" FoProperty* : Read Description Details FoColorProfile FoColorProfiletypedef struct _FoColorProfile FoColorProfile; FoColorProfileClass FoColorProfileClasstypedef struct _FoColorProfileClass FoColorProfileClass; fo_color_profile_new () fo_color_profile_newFoFo* fo_color_profile_new (void); Creates a new FoColorProfile initialized to default value. Returns : the new FoColorProfile. fo_color_profile_get_src () fo_color_profile_get_srcFoProperty* fo_color_profile_get_src (FoFo *fo_fo); Gets the "src" property of fo_fo. fo_fo : The FoFo object. Returns : The "src" property value. fo_color_profile_set_src () fo_color_profile_set_srcvoid fo_color_profile_set_src (FoFo *fo_fo, FoProperty *new_src); Sets the "src" property of fo_fo to new_src fo_fo : The FoFo object new_src : The new "src" property value Property Details The <literal>"src"</literal> property FoColorProfile:src "src" FoProperty* : Read Src property. xmlroff-0.6.2/docs/xml/fo-color.xml0000644000175000017500000006253211156164731014124 00000000000000 FoColor 3 XMLROFF Library FoColor Synopsis FoColor; FoColorClass; FoDatatype* fo_color_new_with_value (guint red, guint green, guint blue); #define FO_COLOR_COMPONENT_MAX guint16 fo_color_get_red (FoDatatype *color); guint16 fo_color_get_green (FoDatatype *color); guint16 fo_color_get_blue (FoDatatype *color); FoDatatype* fo_color_get_color_black (void); FoDatatype* fo_color_get_color_silver (void); FoDatatype* fo_color_get_color_gray (void); FoDatatype* fo_color_get_color_white (void); FoDatatype* fo_color_get_color_maroon (void); FoDatatype* fo_color_get_color_red (void); FoDatatype* fo_color_get_color_purple (void); FoDatatype* fo_color_get_color_fuchsia (void); FoDatatype* fo_color_get_color_green (void); FoDatatype* fo_color_get_color_lime (void); FoDatatype* fo_color_get_color_olive (void); FoDatatype* fo_color_get_color_yellow (void); FoDatatype* fo_color_get_color_navy (void); FoDatatype* fo_color_get_color_blue (void); FoDatatype* fo_color_get_color_teal (void); FoDatatype* fo_color_get_color_aqua (void); FoDatatype* fo_color_get_color_one_quarter (FoDatatype *color); FoDatatype* fo_color_get_color_one_half (FoDatatype *color); FoDatatype* fo_color_get_color_three_quarter (FoDatatype *color); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoColor Properties "blue" guint : Read / Write / Construct Only "green" guint : Read / Write / Construct Only "red" guint : Read / Write / Construct Only Description Details FoColor FoColortypedef struct _FoColor FoColor; FoColorClass FoColorClasstypedef struct _FoColorClass FoColorClass; fo_color_new_with_value () fo_color_new_with_valueFoDatatype* fo_color_new_with_value (guint red, guint green, guint blue); Creates a new FoColor with specified values. red : Red component of new FoColor. green : Green component of new FoColor. blue : Blue component of new FoColor. Returns : New FoColor. FO_COLOR_COMPONENT_MAX FO_COLOR_COMPONENT_MAX#define FO_COLOR_COMPONENT_MAX 65535 fo_color_get_red () fo_color_get_redguint16 fo_color_get_red (FoDatatype *color); Gets the 'red' component of color. color : FoColor. Returns : 'red' component of color. fo_color_get_green () fo_color_get_greenguint16 fo_color_get_green (FoDatatype *color); Gets the 'green' component of color. color : FoColor. Returns : 'green' component of color. fo_color_get_blue () fo_color_get_blueguint16 fo_color_get_blue (FoDatatype *color); Gets the 'blue' component of color. color : FoColor. Returns : 'blue' component of color. fo_color_get_color_black () fo_color_get_color_blackFoDatatype* fo_color_get_color_black (void); Get an FoColor with the well-known value for the color 'black'. Returns : The FoColor. fo_color_get_color_silver () fo_color_get_color_silverFoDatatype* fo_color_get_color_silver (void); Get an FoColor with the well-known value for the color 'silver'. Returns : The FoColor. fo_color_get_color_gray () fo_color_get_color_grayFoDatatype* fo_color_get_color_gray (void); Get an FoColor with the well-known value for the color 'gray'. Returns : The FoColor. fo_color_get_color_white () fo_color_get_color_whiteFoDatatype* fo_color_get_color_white (void); Get an FoColor with the well-known value for the color 'white'. Returns : The FoColor. fo_color_get_color_maroon () fo_color_get_color_maroonFoDatatype* fo_color_get_color_maroon (void); Get an FoColor with the well-known value for the color 'maroon'. Returns : The FoColor. fo_color_get_color_red () fo_color_get_color_redFoDatatype* fo_color_get_color_red (void); Get an FoColor with the well-known value for the color 'red'. Returns : The FoColor. fo_color_get_color_purple () fo_color_get_color_purpleFoDatatype* fo_color_get_color_purple (void); Get an FoColor with the well-known value for the color 'purple'. Returns : The FoColor. fo_color_get_color_fuchsia () fo_color_get_color_fuchsiaFoDatatype* fo_color_get_color_fuchsia (void); Get an FoColor with the well-known value for the color 'fuchsia'. Returns : The FoColor. fo_color_get_color_green () fo_color_get_color_greenFoDatatype* fo_color_get_color_green (void); Get an FoColor with the well-known value for the color 'green'. Returns : The FoColor. fo_color_get_color_lime () fo_color_get_color_limeFoDatatype* fo_color_get_color_lime (void); Get an FoColor with the well-known value for the color 'lime'. Returns : The FoColor. fo_color_get_color_olive () fo_color_get_color_oliveFoDatatype* fo_color_get_color_olive (void); Get an FoColor with the well-known value for the color 'olive'. Returns : The FoColor. fo_color_get_color_yellow () fo_color_get_color_yellowFoDatatype* fo_color_get_color_yellow (void); Get an FoColor with the well-known value for the color 'yellow'. Returns : The FoColor. fo_color_get_color_navy () fo_color_get_color_navyFoDatatype* fo_color_get_color_navy (void); Get an FoColor with the well-known value for the color 'navy'. Returns : The FoColor. fo_color_get_color_blue () fo_color_get_color_blueFoDatatype* fo_color_get_color_blue (void); Get an FoColor with the well-known value for the color 'blue'. Returns : The FoColor. fo_color_get_color_teal () fo_color_get_color_tealFoDatatype* fo_color_get_color_teal (void); Get an FoColor with the well-known value for the color 'teal'. Returns : The FoColor. fo_color_get_color_aqua () fo_color_get_color_aquaFoDatatype* fo_color_get_color_aqua (void); Get an FoColor with the well-known value for the color 'aqua'. Returns : The FoColor. fo_color_get_color_one_quarter () fo_color_get_color_one_quarterFoDatatype* fo_color_get_color_one_quarter (FoDatatype *color); Get an FoColor that is one-quarter the intensity of color. color : Original color. Returns : A color with one-quarter the intensity of color. fo_color_get_color_one_half () fo_color_get_color_one_halfFoDatatype* fo_color_get_color_one_half (FoDatatype *color); Get an FoColor that is one-half the intensity of color. color : Original color. Returns : A color with one-half the intensity of color. fo_color_get_color_three_quarter () fo_color_get_color_three_quarterFoDatatype* fo_color_get_color_three_quarter (FoDatatype *color); Get an FoColor that is three-quarters of the intensity of color. color : Original color. Returns : A color with three-quarters of the intensity of color. Property Details The <literal>"blue"</literal> property FoColor:blue "blue" guint : Read / Write / Construct Only Color blue value.Allowed values: <= 65535 Default value: 0 The <literal>"green"</literal> property FoColor:green "green" guint : Read / Write / Construct Only Color green value.Allowed values: <= 65535 Default value: 0 The <literal>"red"</literal> property FoColor:red "red" guint : Read / Write / Construct Only Color red value.Allowed values: <= 65535 Default value: 0 xmlroff-0.6.2/docs/xml/fo-conditional-page-master-reference.xml0000644000175000017500000001664111156164731021450 00000000000000 conditional-page-master-reference 3 XMLROFF Library conditional-page-master-reference Synopsis FoConditionalPageMasterReference; FoConditionalPageMasterReferenceClass; FoFo* fo_conditional_page_master_reference_new (void); FoProperty* fo_conditional_page_master_reference_get_master_reference (FoFo *fo_fo); void fo_conditional_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoConditionalPageMasterReference Properties "master-reference" FoProperty* : Read Description Details FoConditionalPageMasterReference FoConditionalPageMasterReferencetypedef struct _FoConditionalPageMasterReference FoConditionalPageMasterReference; FoConditionalPageMasterReferenceClass FoConditionalPageMasterReferenceClasstypedef struct _FoConditionalPageMasterReferenceClass FoConditionalPageMasterReferenceClass; fo_conditional_page_master_reference_new () fo_conditional_page_master_reference_newFoFo* fo_conditional_page_master_reference_new (void); Creates a new FoConditionalPageMasterReference initialized to default value. Returns : the new FoConditionalPageMasterReference. fo_conditional_page_master_reference_get_master_reference () fo_conditional_page_master_reference_get_master_referenceFoProperty* fo_conditional_page_master_reference_get_master_reference (FoFo *fo_fo); Gets the "master-reference" property of fo_fo. fo_fo : The FoFo object. Returns : The "master-reference" property value. fo_conditional_page_master_reference_set_master_reference () fo_conditional_page_master_reference_set_master_referencevoid fo_conditional_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); Sets the "master-reference" property of fo_fo to new_master_reference fo_fo : The FoFo object new_master_reference : The new "master-reference" property value Property Details The <literal>"master-reference"</literal> property FoConditionalPageMasterReference:master-reference "master-reference" FoProperty* : Read Master Reference property. xmlroff-0.6.2/docs/xml/fo-context-util.xml0000644000175000017500000003613311156164731015443 00000000000000 fo-context-util 3 XMLROFF Library fo-context-util Synopsis void fo_context_util_height_width_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_keeps_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_paddings_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_spaces_resolve (FoContext *context, FoArea *reference_area); void fo_context_util_length_ranges_resolve (FoContext *context, FoArea *reference_area); void fo_context_util_margins_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_margins_indents_resolve (FoFo *fo, FoContext *current_context, FoContext *parent_context); void fo_context_util_border_resolve (FoContext *current_context, FoContext *parent_context); void fo_context_util_dominant_baseline_resolve (FoContext *current_context, FoContext *parent_context); Description Details fo_context_util_height_width_resolve () fo_context_util_height_width_resolvevoid fo_context_util_height_width_resolve (FoContext *current_context, FoContext *parent_context); Resolve "height", "width", "inline-progression-dimension", and "block-progression-dimension" property values. current_context : FoContext of the current FoFo. parent_context : FoContext of the parent FoFo of the current FoFo. fo_context_util_keeps_resolve () fo_context_util_keeps_resolvevoid fo_context_util_keeps_resolve (FoContext *current_context, FoContext *parent_context); Resolve the components of the various keep properties. "keep-together" is inherited; "keep-with-next" and "keep-with-previous" are not inherited. current_context : FoContext of the current FoFo. parent_context : FoContext of the parent FoFo of the current FoFo. fo_context_util_paddings_resolve () fo_context_util_paddings_resolvevoid fo_context_util_paddings_resolve (FoContext *current_context, FoContext *parent_context); Resolve padding property values. current_context : FoContext of the current FoFo. parent_context : FoContext of the parent FoFo of the current FoFo. fo_context_util_spaces_resolve () fo_context_util_spaces_resolvevoid fo_context_util_spaces_resolve (FoContext *context, FoArea *reference_area); Resolve the components of the various space-valued properties and set context accordingly. context : The FoContext object whose spaces will be resolved. reference_area : Reference area used when resolving percentages. fo_context_util_length_ranges_resolve () fo_context_util_length_ranges_resolvevoid fo_context_util_length_ranges_resolve (FoContext *context, FoArea *reference_area); Resolve the components of the various length-range-valued properties and set context accordingly context : The FoContext object whose spaces will be resolved reference_area : FoAreaReference to use when resolving percentages fo_context_util_margins_resolve () fo_context_util_margins_resolvevoid fo_context_util_margins_resolve (FoContext *current_context, FoContext *parent_context); Resolve padding property values. current_context : FoContext of the current FoFo. parent_context : FoContext of the parent FoFo of the current FoFo. fo_context_util_margins_indents_resolve () fo_context_util_margins_indents_resolvevoid fo_context_util_margins_indents_resolve (FoFo *fo, FoContext *current_context, FoContext *parent_context); Resolve the 'margin-left', 'start-indent', 'margin-right', and 'end-indent' property values of fo. fo : Current FoFo. current_context : FoContext of the current FoFo. parent_context : FoContext of the parent FoFo of the current FoFo. fo_context_util_border_resolve () fo_context_util_border_resolvevoid fo_context_util_border_resolve (FoContext *current_context, FoContext *parent_context); Resolve the border properties of current_context. parent_context is needed to get the 'color' property value if it is NULL in current_context. current_context : FoContext of the current FoFo. parent_context : FoContext of the parent FoFo of the current FoFo. fo_context_util_dominant_baseline_resolve () fo_context_util_dominant_baseline_resolvevoid fo_context_util_dominant_baseline_resolve (FoContext *current_context, FoContext *parent_context); current_context : parent_context : xmlroff-0.6.2/docs/xml/fo-context.xml0000644000175000017500000200324511156164731014470 00000000000000 FoContext 3 XMLROFF Library FoContext Synopsis FoContext; FoContextClass; FoContext* fo_context_new (void); void fo_context_initialize (FoContext *context); void fo_context_merge (FoContext *primary, FoContext *secondary); void fo_context_update_from_slist (FoContext *context, GSList *property_list); void fo_context_debug_dump_properties (FoContext *fo_context, gint depth); FoProperty* fo_context_get_alignment_adjust (FoContext *fo_context); void fo_context_set_alignment_adjust (FoContext *fo_context, FoProperty *new_alignment_adjust); FoProperty* fo_context_get_alignment_baseline (FoContext *fo_context); void fo_context_set_alignment_baseline (FoContext *fo_context, FoProperty *new_alignment_baseline); FoProperty* fo_context_get_background_color (FoContext *fo_context); void fo_context_set_background_color (FoContext *fo_context, FoProperty *new_background_color); FoProperty* fo_context_get_background_image (FoContext *fo_context); void fo_context_set_background_image (FoContext *fo_context, FoProperty *new_background_image); FoProperty* fo_context_get_baseline_shift (FoContext *fo_context); void fo_context_set_baseline_shift (FoContext *fo_context, FoProperty *new_baseline_shift); FoProperty* fo_context_get_block_progression_dimension (FoContext *fo_context); void fo_context_set_block_progression_dimension (FoContext *fo_context, FoProperty *new_block_progression_dimension); FoProperty* fo_context_get_block_progression_dimension_minimum (FoContext *fo_context); void fo_context_set_block_progression_dimension_minimum (FoContext *fo_context, FoProperty *new_block_progression_dimension_minimum); FoProperty* fo_context_get_block_progression_dimension_optimum (FoContext *fo_context); void fo_context_set_block_progression_dimension_optimum (FoContext *fo_context, FoProperty *new_block_progression_dimension_optimum); FoProperty* fo_context_get_block_progression_dimension_maximum (FoContext *fo_context); void fo_context_set_block_progression_dimension_maximum (FoContext *fo_context, FoProperty *new_block_progression_dimension_maximum); FoProperty* fo_context_get_border (FoContext *fo_context); void fo_context_set_border (FoContext *fo_context, FoProperty *new_border); FoProperty* fo_context_get_border_after_color (FoContext *fo_context); void fo_context_set_border_after_color (FoContext *fo_context, FoProperty *new_border_after_color); FoProperty* fo_context_get_border_after_precedence (FoContext *fo_context); void fo_context_set_border_after_precedence (FoContext *fo_context, FoProperty *new_border_after_precedence); FoProperty* fo_context_get_border_after_style (FoContext *fo_context); void fo_context_set_border_after_style (FoContext *fo_context, FoProperty *new_border_after_style); FoProperty* fo_context_get_border_after_width (FoContext *fo_context); void fo_context_set_border_after_width (FoContext *fo_context, FoProperty *new_border_after_width); FoProperty* fo_context_get_border_before_color (FoContext *fo_context); void fo_context_set_border_before_color (FoContext *fo_context, FoProperty *new_border_before_color); FoProperty* fo_context_get_border_before_precedence (FoContext *fo_context); void fo_context_set_border_before_precedence (FoContext *fo_context, FoProperty *new_border_before_precedence); FoProperty* fo_context_get_border_before_style (FoContext *fo_context); void fo_context_set_border_before_style (FoContext *fo_context, FoProperty *new_border_before_style); FoProperty* fo_context_get_border_before_width (FoContext *fo_context); void fo_context_set_border_before_width (FoContext *fo_context, FoProperty *new_border_before_width); FoProperty* fo_context_get_border_bottom (FoContext *fo_context); void fo_context_set_border_bottom (FoContext *fo_context, FoProperty *new_border_bottom); FoProperty* fo_context_get_border_bottom_color (FoContext *fo_context); void fo_context_set_border_bottom_color (FoContext *fo_context, FoProperty *new_border_bottom_color); FoProperty* fo_context_get_border_bottom_style (FoContext *fo_context); void fo_context_set_border_bottom_style (FoContext *fo_context, FoProperty *new_border_bottom_style); FoProperty* fo_context_get_border_bottom_width (FoContext *fo_context); void fo_context_set_border_bottom_width (FoContext *fo_context, FoProperty *new_border_bottom_width); FoProperty* fo_context_get_border_collapse (FoContext *fo_context); void fo_context_set_border_collapse (FoContext *fo_context, FoProperty *new_border_collapse); FoProperty* fo_context_get_border_color (FoContext *fo_context); void fo_context_set_border_color (FoContext *fo_context, FoProperty *new_border_color); FoProperty* fo_context_get_border_end_color (FoContext *fo_context); void fo_context_set_border_end_color (FoContext *fo_context, FoProperty *new_border_end_color); FoProperty* fo_context_get_border_end_precedence (FoContext *fo_context); void fo_context_set_border_end_precedence (FoContext *fo_context, FoProperty *new_border_end_precedence); FoProperty* fo_context_get_border_end_style (FoContext *fo_context); void fo_context_set_border_end_style (FoContext *fo_context, FoProperty *new_border_end_style); FoProperty* fo_context_get_border_end_width (FoContext *fo_context); void fo_context_set_border_end_width (FoContext *fo_context, FoProperty *new_border_end_width); FoProperty* fo_context_get_border_left (FoContext *fo_context); void fo_context_set_border_left (FoContext *fo_context, FoProperty *new_border_left); FoProperty* fo_context_get_border_left_color (FoContext *fo_context); void fo_context_set_border_left_color (FoContext *fo_context, FoProperty *new_border_left_color); FoProperty* fo_context_get_border_left_style (FoContext *fo_context); void fo_context_set_border_left_style (FoContext *fo_context, FoProperty *new_border_left_style); FoProperty* fo_context_get_border_left_width (FoContext *fo_context); void fo_context_set_border_left_width (FoContext *fo_context, FoProperty *new_border_left_width); FoProperty* fo_context_get_border_right (FoContext *fo_context); void fo_context_set_border_right (FoContext *fo_context, FoProperty *new_border_right); FoProperty* fo_context_get_border_right_color (FoContext *fo_context); void fo_context_set_border_right_color (FoContext *fo_context, FoProperty *new_border_right_color); FoProperty* fo_context_get_border_right_style (FoContext *fo_context); void fo_context_set_border_right_style (FoContext *fo_context, FoProperty *new_border_right_style); FoProperty* fo_context_get_border_right_width (FoContext *fo_context); void fo_context_set_border_right_width (FoContext *fo_context, FoProperty *new_border_right_width); FoProperty* fo_context_get_border_separation (FoContext *fo_context); void fo_context_set_border_separation (FoContext *fo_context, FoProperty *new_border_separation); FoProperty* fo_context_get_border_start_color (FoContext *fo_context); void fo_context_set_border_start_color (FoContext *fo_context, FoProperty *new_border_start_color); FoProperty* fo_context_get_border_start_precedence (FoContext *fo_context); void fo_context_set_border_start_precedence (FoContext *fo_context, FoProperty *new_border_start_precedence); FoProperty* fo_context_get_border_start_style (FoContext *fo_context); void fo_context_set_border_start_style (FoContext *fo_context, FoProperty *new_border_start_style); FoProperty* fo_context_get_border_start_width (FoContext *fo_context); void fo_context_set_border_start_width (FoContext *fo_context, FoProperty *new_border_start_width); FoProperty* fo_context_get_border_style (FoContext *fo_context); void fo_context_set_border_style (FoContext *fo_context, FoProperty *new_border_style); FoProperty* fo_context_get_border_top (FoContext *fo_context); void fo_context_set_border_top (FoContext *fo_context, FoProperty *new_border_top); FoProperty* fo_context_get_border_top_color (FoContext *fo_context); void fo_context_set_border_top_color (FoContext *fo_context, FoProperty *new_border_top_color); FoProperty* fo_context_get_border_top_style (FoContext *fo_context); void fo_context_set_border_top_style (FoContext *fo_context, FoProperty *new_border_top_style); FoProperty* fo_context_get_border_top_width (FoContext *fo_context); void fo_context_set_border_top_width (FoContext *fo_context, FoProperty *new_border_top_width); FoProperty* fo_context_get_border_width (FoContext *fo_context); void fo_context_set_border_width (FoContext *fo_context, FoProperty *new_border_width); FoProperty* fo_context_get_break_after (FoContext *fo_context); void fo_context_set_break_after (FoContext *fo_context, FoProperty *new_break_after); FoProperty* fo_context_get_break_before (FoContext *fo_context); void fo_context_set_break_before (FoContext *fo_context, FoProperty *new_break_before); FoProperty* fo_context_get_character (FoContext *fo_context); void fo_context_set_character (FoContext *fo_context, FoProperty *new_character); FoProperty* fo_context_get_clip (FoContext *fo_context); void fo_context_set_clip (FoContext *fo_context, FoProperty *new_clip); FoProperty* fo_context_get_color (FoContext *fo_context); void fo_context_set_color (FoContext *fo_context, FoProperty *new_color); FoProperty* fo_context_get_column_number (FoContext *fo_context); void fo_context_set_column_number (FoContext *fo_context, FoProperty *new_column_number); FoProperty* fo_context_get_column_width (FoContext *fo_context); void fo_context_set_column_width (FoContext *fo_context, FoProperty *new_column_width); FoProperty* fo_context_get_content_height (FoContext *fo_context); void fo_context_set_content_height (FoContext *fo_context, FoProperty *new_content_height); FoProperty* fo_context_get_content_type (FoContext *fo_context); void fo_context_set_content_type (FoContext *fo_context, FoProperty *new_content_type); FoProperty* fo_context_get_content_width (FoContext *fo_context); void fo_context_set_content_width (FoContext *fo_context, FoProperty *new_content_width); FoProperty* fo_context_get_direction (FoContext *fo_context); void fo_context_set_direction (FoContext *fo_context, FoProperty *new_direction); FoProperty* fo_context_get_display_align (FoContext *fo_context); void fo_context_set_display_align (FoContext *fo_context, FoProperty *new_display_align); FoProperty* fo_context_get_dominant_baseline (FoContext *fo_context); void fo_context_set_dominant_baseline (FoContext *fo_context, FoProperty *new_dominant_baseline); FoProperty* fo_context_get_end_indent (FoContext *fo_context); void fo_context_set_end_indent (FoContext *fo_context, FoProperty *new_end_indent); FoProperty* fo_context_get_extent (FoContext *fo_context); void fo_context_set_extent (FoContext *fo_context, FoProperty *new_extent); FoProperty* fo_context_get_flow_name (FoContext *fo_context); void fo_context_set_flow_name (FoContext *fo_context, FoProperty *new_flow_name); FoProperty* fo_context_get_font_family (FoContext *fo_context); void fo_context_set_font_family (FoContext *fo_context, FoProperty *new_font_family); FoProperty* fo_context_get_font_size (FoContext *fo_context); void fo_context_set_font_size (FoContext *fo_context, FoProperty *new_font_size); FoProperty* fo_context_get_font_stretch (FoContext *fo_context); void fo_context_set_font_stretch (FoContext *fo_context, FoProperty *new_font_stretch); FoProperty* fo_context_get_font_style (FoContext *fo_context); void fo_context_set_font_style (FoContext *fo_context, FoProperty *new_font_style); FoProperty* fo_context_get_font_variant (FoContext *fo_context); void fo_context_set_font_variant (FoContext *fo_context, FoProperty *new_font_variant); FoProperty* fo_context_get_font_weight (FoContext *fo_context); void fo_context_set_font_weight (FoContext *fo_context, FoProperty *new_font_weight); FoProperty* fo_context_get_format (FoContext *fo_context); void fo_context_set_format (FoContext *fo_context, FoProperty *new_format); FoProperty* fo_context_get_grouping_separator (FoContext *fo_context); void fo_context_set_grouping_separator (FoContext *fo_context, FoProperty *new_grouping_separator); FoProperty* fo_context_get_grouping_size (FoContext *fo_context); void fo_context_set_grouping_size (FoContext *fo_context, FoProperty *new_grouping_size); FoProperty* fo_context_get_height (FoContext *fo_context); void fo_context_set_height (FoContext *fo_context, FoProperty *new_height); FoProperty* fo_context_get_id (FoContext *fo_context); void fo_context_set_id (FoContext *fo_context, FoProperty *new_id); FoProperty* fo_context_get_inline_progression_dimension (FoContext *fo_context); void fo_context_set_inline_progression_dimension (FoContext *fo_context, FoProperty *new_inline_progression_dimension); FoProperty* fo_context_get_inline_progression_dimension_minimum (FoContext *fo_context); void fo_context_set_inline_progression_dimension_minimum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_minimum); FoProperty* fo_context_get_inline_progression_dimension_optimum (FoContext *fo_context); void fo_context_set_inline_progression_dimension_optimum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_optimum); FoProperty* fo_context_get_inline_progression_dimension_maximum (FoContext *fo_context); void fo_context_set_inline_progression_dimension_maximum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_maximum); FoProperty* fo_context_get_keep_together (FoContext *fo_context); void fo_context_set_keep_together (FoContext *fo_context, FoProperty *new_keep_together); FoProperty* fo_context_get_keep_together_within_column (FoContext *fo_context); void fo_context_set_keep_together_within_column (FoContext *fo_context, FoProperty *new_keep_together_within_column); FoProperty* fo_context_get_keep_together_within_line (FoContext *fo_context); void fo_context_set_keep_together_within_line (FoContext *fo_context, FoProperty *new_keep_together_within_line); FoProperty* fo_context_get_keep_together_within_page (FoContext *fo_context); void fo_context_set_keep_together_within_page (FoContext *fo_context, FoProperty *new_keep_together_within_page); FoProperty* fo_context_get_keep_with_next (FoContext *fo_context); void fo_context_set_keep_with_next (FoContext *fo_context, FoProperty *new_keep_with_next); FoProperty* fo_context_get_keep_with_next_within_column (FoContext *fo_context); void fo_context_set_keep_with_next_within_column (FoContext *fo_context, FoProperty *new_keep_with_next_within_column); FoProperty* fo_context_get_keep_with_next_within_line (FoContext *fo_context); void fo_context_set_keep_with_next_within_line (FoContext *fo_context, FoProperty *new_keep_with_next_within_line); FoProperty* fo_context_get_keep_with_next_within_page (FoContext *fo_context); void fo_context_set_keep_with_next_within_page (FoContext *fo_context, FoProperty *new_keep_with_next_within_page); FoProperty* fo_context_get_keep_with_previous (FoContext *fo_context); void fo_context_set_keep_with_previous (FoContext *fo_context, FoProperty *new_keep_with_previous); FoProperty* fo_context_get_keep_with_previous_within_column (FoContext *fo_context); void fo_context_set_keep_with_previous_within_column (FoContext *fo_context, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_context_get_keep_with_previous_within_line (FoContext *fo_context); void fo_context_set_keep_with_previous_within_line (FoContext *fo_context, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_context_get_keep_with_previous_within_page (FoContext *fo_context); void fo_context_set_keep_with_previous_within_page (FoContext *fo_context, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_context_get_letter_value (FoContext *fo_context); void fo_context_set_letter_value (FoContext *fo_context, FoProperty *new_letter_value); FoProperty* fo_context_get_linefeed_treatment (FoContext *fo_context); void fo_context_set_linefeed_treatment (FoContext *fo_context, FoProperty *new_linefeed_treatment); FoProperty* fo_context_get_line_height (FoContext *fo_context); void fo_context_set_line_height (FoContext *fo_context, FoProperty *new_line_height); FoProperty* fo_context_get_line_stacking_strategy (FoContext *fo_context); void fo_context_set_line_stacking_strategy (FoContext *fo_context, FoProperty *new_line_stacking_strategy); FoProperty* fo_context_get_margin (FoContext *fo_context); void fo_context_set_margin (FoContext *fo_context, FoProperty *new_margin); FoProperty* fo_context_get_margin_bottom (FoContext *fo_context); void fo_context_set_margin_bottom (FoContext *fo_context, FoProperty *new_margin_bottom); FoProperty* fo_context_get_margin_left (FoContext *fo_context); void fo_context_set_margin_left (FoContext *fo_context, FoProperty *new_margin_left); FoProperty* fo_context_get_margin_right (FoContext *fo_context); void fo_context_set_margin_right (FoContext *fo_context, FoProperty *new_margin_right); FoProperty* fo_context_get_margin_top (FoContext *fo_context); void fo_context_set_margin_top (FoContext *fo_context, FoProperty *new_margin_top); FoProperty* fo_context_get_master_name (FoContext *fo_context); void fo_context_set_master_name (FoContext *fo_context, FoProperty *new_master_name); FoProperty* fo_context_get_master_reference (FoContext *fo_context); void fo_context_set_master_reference (FoContext *fo_context, FoProperty *new_master_reference); FoProperty* fo_context_get_media_usage (FoContext *fo_context); void fo_context_set_media_usage (FoContext *fo_context, FoProperty *new_media_usage); FoProperty* fo_context_get_number_columns_repeated (FoContext *fo_context); void fo_context_set_number_columns_repeated (FoContext *fo_context, FoProperty *new_number_columns_repeated); FoProperty* fo_context_get_number_columns_spanned (FoContext *fo_context); void fo_context_set_number_columns_spanned (FoContext *fo_context, FoProperty *new_number_columns_spanned); FoProperty* fo_context_get_number_rows_spanned (FoContext *fo_context); void fo_context_set_number_rows_spanned (FoContext *fo_context, FoProperty *new_number_rows_spanned); FoProperty* fo_context_get_orphans (FoContext *fo_context); void fo_context_set_orphans (FoContext *fo_context, FoProperty *new_orphans); FoProperty* fo_context_get_overflow (FoContext *fo_context); void fo_context_set_overflow (FoContext *fo_context, FoProperty *new_overflow); FoProperty* fo_context_get_padding (FoContext *fo_context); void fo_context_set_padding (FoContext *fo_context, FoProperty *new_padding); FoProperty* fo_context_get_padding_after (FoContext *fo_context); void fo_context_set_padding_after (FoContext *fo_context, FoProperty *new_padding_after); FoProperty* fo_context_get_padding_after_length (FoContext *fo_context); void fo_context_set_padding_after_length (FoContext *fo_context, FoProperty *new_padding_after_length); FoProperty* fo_context_get_padding_after_condity (FoContext *fo_context); void fo_context_set_padding_after_condity (FoContext *fo_context, FoProperty *new_padding_after_condity); FoProperty* fo_context_get_padding_before (FoContext *fo_context); void fo_context_set_padding_before (FoContext *fo_context, FoProperty *new_padding_before); FoProperty* fo_context_get_padding_before_length (FoContext *fo_context); void fo_context_set_padding_before_length (FoContext *fo_context, FoProperty *new_padding_before_length); FoProperty* fo_context_get_padding_before_condity (FoContext *fo_context); void fo_context_set_padding_before_condity (FoContext *fo_context, FoProperty *new_padding_before_condity); FoProperty* fo_context_get_padding_bottom (FoContext *fo_context); void fo_context_set_padding_bottom (FoContext *fo_context, FoProperty *new_padding_bottom); FoProperty* fo_context_get_padding_end (FoContext *fo_context); void fo_context_set_padding_end (FoContext *fo_context, FoProperty *new_padding_end); FoProperty* fo_context_get_padding_end_length (FoContext *fo_context); void fo_context_set_padding_end_length (FoContext *fo_context, FoProperty *new_padding_end_length); FoProperty* fo_context_get_padding_end_condity (FoContext *fo_context); void fo_context_set_padding_end_condity (FoContext *fo_context, FoProperty *new_padding_end_condity); FoProperty* fo_context_get_padding_left (FoContext *fo_context); void fo_context_set_padding_left (FoContext *fo_context, FoProperty *new_padding_left); FoProperty* fo_context_get_padding_right (FoContext *fo_context); void fo_context_set_padding_right (FoContext *fo_context, FoProperty *new_padding_right); FoProperty* fo_context_get_padding_start (FoContext *fo_context); void fo_context_set_padding_start (FoContext *fo_context, FoProperty *new_padding_start); FoProperty* fo_context_get_padding_start_length (FoContext *fo_context); void fo_context_set_padding_start_length (FoContext *fo_context, FoProperty *new_padding_start_length); FoProperty* fo_context_get_padding_start_condity (FoContext *fo_context); void fo_context_set_padding_start_condity (FoContext *fo_context, FoProperty *new_padding_start_condity); FoProperty* fo_context_get_padding_top (FoContext *fo_context); void fo_context_set_padding_top (FoContext *fo_context, FoProperty *new_padding_top); FoProperty* fo_context_get_page_height (FoContext *fo_context); void fo_context_set_page_height (FoContext *fo_context, FoProperty *new_page_height); FoProperty* fo_context_get_page_width (FoContext *fo_context); void fo_context_set_page_width (FoContext *fo_context, FoProperty *new_page_width); FoProperty* fo_context_get_provisional_distance_between_starts (FoContext *fo_context); void fo_context_set_provisional_distance_between_starts (FoContext *fo_context, FoProperty *new_provisional_distance_between_starts); FoProperty* fo_context_get_provisional_label_separation (FoContext *fo_context); void fo_context_set_provisional_label_separation (FoContext *fo_context, FoProperty *new_provisional_label_separation); FoProperty* fo_context_get_ref_id (FoContext *fo_context); void fo_context_set_ref_id (FoContext *fo_context, FoProperty *new_ref_id); FoProperty* fo_context_get_region_name (FoContext *fo_context); void fo_context_set_region_name (FoContext *fo_context, FoProperty *new_region_name); FoProperty* fo_context_get_role (FoContext *fo_context); void fo_context_set_role (FoContext *fo_context, FoProperty *new_role); FoProperty* fo_context_get_scaling (FoContext *fo_context); void fo_context_set_scaling (FoContext *fo_context, FoProperty *new_scaling); FoProperty* fo_context_get_scaling_method (FoContext *fo_context); void fo_context_set_scaling_method (FoContext *fo_context, FoProperty *new_scaling_method); FoProperty* fo_context_get_score_spaces (FoContext *fo_context); void fo_context_set_score_spaces (FoContext *fo_context, FoProperty *new_score_spaces); FoProperty* fo_context_get_source_document (FoContext *fo_context); void fo_context_set_source_document (FoContext *fo_context, FoProperty *new_source_document); FoProperty* fo_context_get_space_after (FoContext *fo_context); void fo_context_set_space_after (FoContext *fo_context, FoProperty *new_space_after); void fo_context_set_space_after_minimum (FoContext *fo_context, FoProperty *new_space_after_minimum); void fo_context_set_space_after_optimum (FoContext *fo_context, FoProperty *new_space_after_optimum); void fo_context_set_space_after_maximum (FoContext *fo_context, FoProperty *new_space_after_maximum); void fo_context_set_space_after_precedence (FoContext *fo_context, FoProperty *new_space_after_precedence); void fo_context_set_space_after_condity (FoContext *fo_context, FoProperty *new_space_after_condity); FoProperty* fo_context_get_space_before (FoContext *fo_context); void fo_context_set_space_before (FoContext *fo_context, FoProperty *new_space_before); void fo_context_set_space_before_minimum (FoContext *fo_context, FoProperty *new_space_before_minimum); void fo_context_set_space_before_optimum (FoContext *fo_context, FoProperty *new_space_before_optimum); void fo_context_set_space_before_maximum (FoContext *fo_context, FoProperty *new_space_before_maximum); void fo_context_set_space_before_precedence (FoContext *fo_context, FoProperty *new_space_before_precedence); void fo_context_set_space_before_condity (FoContext *fo_context, FoProperty *new_space_before_condity); FoProperty* fo_context_get_space_end (FoContext *fo_context); void fo_context_set_space_end (FoContext *fo_context, FoProperty *new_space_end); void fo_context_set_space_end_minimum (FoContext *fo_context, FoProperty *new_space_end_minimum); void fo_context_set_space_end_optimum (FoContext *fo_context, FoProperty *new_space_end_optimum); void fo_context_set_space_end_maximum (FoContext *fo_context, FoProperty *new_space_end_maximum); void fo_context_set_space_end_precedence (FoContext *fo_context, FoProperty *new_space_end_precedence); void fo_context_set_space_end_condity (FoContext *fo_context, FoProperty *new_space_end_condity); FoProperty* fo_context_get_space_start (FoContext *fo_context); void fo_context_set_space_start (FoContext *fo_context, FoProperty *new_space_start); void fo_context_set_space_start_minimum (FoContext *fo_context, FoProperty *new_space_start_minimum); void fo_context_set_space_start_optimum (FoContext *fo_context, FoProperty *new_space_start_optimum); void fo_context_set_space_start_maximum (FoContext *fo_context, FoProperty *new_space_start_maximum); void fo_context_set_space_start_precedence (FoContext *fo_context, FoProperty *new_space_start_precedence); void fo_context_set_space_start_condity (FoContext *fo_context, FoProperty *new_space_start_condity); FoProperty* fo_context_get_span (FoContext *fo_context); void fo_context_set_span (FoContext *fo_context, FoProperty *new_span); FoProperty* fo_context_get_src (FoContext *fo_context); void fo_context_set_src (FoContext *fo_context, FoProperty *new_src); FoProperty* fo_context_get_start_indent (FoContext *fo_context); void fo_context_set_start_indent (FoContext *fo_context, FoProperty *new_start_indent); FoProperty* fo_context_get_table_layout (FoContext *fo_context); void fo_context_set_table_layout (FoContext *fo_context, FoProperty *new_table_layout); FoProperty* fo_context_get_text_align (FoContext *fo_context); void fo_context_set_text_align (FoContext *fo_context, FoProperty *new_text_align); FoProperty* fo_context_get_text_indent (FoContext *fo_context); void fo_context_set_text_indent (FoContext *fo_context, FoProperty *new_text_indent); FoProperty* fo_context_get_unicode_bidi (FoContext *fo_context); void fo_context_set_unicode_bidi (FoContext *fo_context, FoProperty *new_unicode_bidi); FoProperty* fo_context_get_white_space_collapse (FoContext *fo_context); void fo_context_set_white_space_collapse (FoContext *fo_context, FoProperty *new_white_space_collapse); FoProperty* fo_context_get_white_space_treatment (FoContext *fo_context); void fo_context_set_white_space_treatment (FoContext *fo_context, FoProperty *new_white_space_treatment); FoProperty* fo_context_get_widows (FoContext *fo_context); void fo_context_set_widows (FoContext *fo_context, FoProperty *new_widows); FoProperty* fo_context_get_width (FoContext *fo_context); void fo_context_set_width (FoContext *fo_context, FoProperty *new_width); FoProperty* fo_context_get_wrap_option (FoContext *fo_context); void fo_context_set_wrap_option (FoContext *fo_context, FoProperty *new_wrap_option); FoProperty* fo_context_get_writing_mode (FoContext *fo_context); void fo_context_set_writing_mode (FoContext *fo_context, FoProperty *new_writing_mode); Object Hierarchy GObject +----FoObject +----FoContext Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "baseline-shift" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "block-progression-dimension-maximum" FoProperty* : Read "block-progression-dimension-minimum" FoProperty* : Read "block-progression-dimension-optimum" FoProperty* : Read "border" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-precedence" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-precedence" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-collapse" FoProperty* : Read "border-color" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-precedence" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-separation" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-precedence" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-style" FoProperty* : Read "border-top" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "border-width" FoProperty* : Read "break-after" FoProperty* : Read "break-before" FoProperty* : Read "character" FoProperty* : Read "clip" FoProperty* : Read "color" FoProperty* : Read "column-number" FoProperty* : Read "column-width" FoProperty* : Read "content-height" FoProperty* : Read "content-type" FoProperty* : Read "content-width" FoProperty* : Read "direction" FoProperty* : Read "display-align" FoProperty* : Read "dominant-baseline" FoProperty* : Read "end-indent" FoProperty* : Read "extent" FoProperty* : Read "flow-name" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "format" FoProperty* : Read "grouping-separator" FoProperty* : Read "grouping-size" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "inline-progression-dimension" FoProperty* : Read "inline-progression-dimension-maximum" FoProperty* : Read "inline-progression-dimension-minimum" FoProperty* : Read "inline-progression-dimension-optimum" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "letter-value" FoProperty* : Read "line-height" FoProperty* : Read "line-stacking-strategy" FoProperty* : Read "linefeed-treatment" FoProperty* : Read "margin" FoProperty* : Read "margin-bottom" FoProperty* : Read "margin-left" FoProperty* : Read "margin-right" FoProperty* : Read "margin-top" FoProperty* : Read "master-name" FoProperty* : Read "master-reference" FoProperty* : Read "media-usage" FoProperty* : Read "number-columns-repeated" FoProperty* : Read "number-columns-spanned" FoProperty* : Read "number-rows-spanned" FoProperty* : Read "orphans" FoProperty* : Read "overflow" FoProperty* : Read "padding" FoProperty* : Read "padding-after" FoProperty* : Read "padding-after-conditionality" FoProperty* : Read "padding-after-length" FoProperty* : Read "padding-before" FoProperty* : Read "padding-before-conditionality" FoProperty* : Read "padding-before-length" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-end-conditionality" FoProperty* : Read "padding-end-length" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-start-conditionality" FoProperty* : Read "padding-start-length" FoProperty* : Read "padding-top" FoProperty* : Read "page-height" FoProperty* : Read "page-width" FoProperty* : Read "provisional-distance-between-starts" FoProperty* : Read "provisional-label-separation" FoProperty* : Read "ref-id" FoProperty* : Read "region-name" FoProperty* : Read "role" FoProperty* : Read "scaling" FoProperty* : Read "scaling-method" FoProperty* : Read "score-spaces" FoProperty* : Read "source-document" FoProperty* : Read "space-after" FoProperty* : Read "space-after-conditionality" FoProperty* : Write "space-after-maximum" FoProperty* : Write "space-after-minimum" FoProperty* : Write "space-after-optimum" FoProperty* : Write "space-after-precedence" FoProperty* : Write "space-before" FoProperty* : Read "space-before-conditionality" FoProperty* : Write "space-before-maximum" FoProperty* : Write "space-before-minimum" FoProperty* : Write "space-before-optimum" FoProperty* : Write "space-before-precedence" FoProperty* : Write "space-end" FoProperty* : Read "space-end-conditionality" FoProperty* : Write "space-end-maximum" FoProperty* : Write "space-end-minimum" FoProperty* : Write "space-end-optimum" FoProperty* : Write "space-end-precedence" FoProperty* : Write "space-start" FoProperty* : Read "space-start-conditionality" FoProperty* : Write "space-start-maximum" FoProperty* : Write "space-start-minimum" FoProperty* : Write "space-start-optimum" FoProperty* : Write "space-start-precedence" FoProperty* : Write "span" FoProperty* : Read "src" FoProperty* : Read "start-indent" FoProperty* : Read "table-layout" FoProperty* : Read "text-align" FoProperty* : Read "text-indent" FoProperty* : Read "unicode-bidi" FoProperty* : Read "white-space-collapse" FoProperty* : Read "white-space-treatment" FoProperty* : Read "widows" FoProperty* : Read "width" FoProperty* : Read "wrap-option" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details FoContext FoContexttypedef struct _FoContext FoContext; FoContextClass FoContextClasstypedef struct _FoContextClass FoContextClass; fo_context_new () fo_context_newFoContext* fo_context_new (void); Creates a new FoContext initialized to default value. Returns : the new FoContext. fo_context_initialize () fo_context_initializevoid fo_context_initialize (FoContext *context); Initialize context with the initial/default value of every property. context : FoContext to initialize. fo_context_merge () fo_context_mergevoid fo_context_merge (FoContext *primary, FoContext *secondary); Merge primary and secondary. When a property does not exist in primary, if the property is inherited, set the property value in primary to that in secondary, otherwise set the property value in primary to its initial value. primary : Primary FoContext. secondary : Secondary FoContext. fo_context_update_from_slist () fo_context_update_from_slistvoid fo_context_update_from_slist (FoContext *context, GSList *property_list); Add each FoProperty in property_list to context. context : FoContext to be updated. property_list : GSList of FoProperty objects. fo_context_debug_dump_properties () fo_context_debug_dump_propertiesvoid fo_context_debug_dump_properties (FoContext *fo_context, gint depth); Calls fo_object_debug_dump on each property of fo then calls debug_dump_properties method of parent class. fo_context : The FoContext object. depth : Indent level to add to the output. fo_context_get_alignment_adjust () fo_context_get_alignment_adjustFoProperty* fo_context_get_alignment_adjust (FoContext *fo_context); Gets the "alignment-adjust" property of fo_context. fo_context : The FoContext object. Returns : The "alignment-adjust" property value. fo_context_set_alignment_adjust () fo_context_set_alignment_adjustvoid fo_context_set_alignment_adjust (FoContext *fo_context, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_context to new_alignment_adjust. fo_context : The FoContext object. new_alignment_adjust : The new "alignment-adjust" property value. fo_context_get_alignment_baseline () fo_context_get_alignment_baselineFoProperty* fo_context_get_alignment_baseline (FoContext *fo_context); Gets the "alignment-baseline" property of fo_context. fo_context : The FoContext object. Returns : The "alignment-baseline" property value. fo_context_set_alignment_baseline () fo_context_set_alignment_baselinevoid fo_context_set_alignment_baseline (FoContext *fo_context, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_context to new_alignment_baseline. fo_context : The FoContext object. new_alignment_baseline : The new "alignment-baseline" property value. fo_context_get_background_color () fo_context_get_background_colorFoProperty* fo_context_get_background_color (FoContext *fo_context); Gets the "background-color" property of fo_context. fo_context : The FoContext object. Returns : The "background-color" property value. fo_context_set_background_color () fo_context_set_background_colorvoid fo_context_set_background_color (FoContext *fo_context, FoProperty *new_background_color); Sets the "background-color" property of fo_context to new_background_color. fo_context : The FoContext object. new_background_color : The new "background-color" property value. fo_context_get_background_image () fo_context_get_background_imageFoProperty* fo_context_get_background_image (FoContext *fo_context); Gets the "background-image" property of fo_context. fo_context : The FoContext object. Returns : The "background-image" property value. fo_context_set_background_image () fo_context_set_background_imagevoid fo_context_set_background_image (FoContext *fo_context, FoProperty *new_background_image); Sets the "background-image" property of fo_context to new_background_image. fo_context : The FoContext object. new_background_image : The new "background-image" property value. fo_context_get_baseline_shift () fo_context_get_baseline_shiftFoProperty* fo_context_get_baseline_shift (FoContext *fo_context); Gets the "baseline-shift" property of fo_context. fo_context : The FoContext object. Returns : The "baseline-shift" property value. fo_context_set_baseline_shift () fo_context_set_baseline_shiftvoid fo_context_set_baseline_shift (FoContext *fo_context, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_context to new_baseline_shift. fo_context : The FoContext object. new_baseline_shift : The new "baseline-shift" property value. fo_context_get_block_progression_dimension () fo_context_get_block_progression_dimensionFoProperty* fo_context_get_block_progression_dimension (FoContext *fo_context); Gets the "block-progression-dimension" property of fo_context. fo_context : The FoContext object. Returns : The "block-progression-dimension" property value. fo_context_set_block_progression_dimension () fo_context_set_block_progression_dimensionvoid fo_context_set_block_progression_dimension (FoContext *fo_context, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_context to new_block_progression_dimension. fo_context : The FoContext object. new_block_progression_dimension : The new "block-progression-dimension" property value. fo_context_get_block_progression_dimension_minimum () fo_context_get_block_progression_dimension_minimumFoProperty* fo_context_get_block_progression_dimension_minimum (FoContext *fo_context); Gets the "block-progression-dimension-minimum" property of fo_context. fo_context : The FoContext object. Returns : The "block-progression-dimension-minimum" property value. fo_context_set_block_progression_dimension_minimum () fo_context_set_block_progression_dimension_minimumvoid fo_context_set_block_progression_dimension_minimum (FoContext *fo_context, FoProperty *new_block_progression_dimension_minimum); Sets the "block-progression-dimension-minimum" property of fo_context to new_block_progression_dimension_minimum. fo_context : The FoContext object. new_block_progression_dimension_minimum : The new "block-progression-dimension-minimum" property value. fo_context_get_block_progression_dimension_optimum () fo_context_get_block_progression_dimension_optimumFoProperty* fo_context_get_block_progression_dimension_optimum (FoContext *fo_context); Gets the "block-progression-dimension-optimum" property of fo_context. fo_context : The FoContext object. Returns : The "block-progression-dimension-optimum" property value. fo_context_set_block_progression_dimension_optimum () fo_context_set_block_progression_dimension_optimumvoid fo_context_set_block_progression_dimension_optimum (FoContext *fo_context, FoProperty *new_block_progression_dimension_optimum); Sets the "block-progression-dimension-optimum" property of fo_context to new_block_progression_dimension_optimum. fo_context : The FoContext object. new_block_progression_dimension_optimum : The new "block-progression-dimension-optimum" property value. fo_context_get_block_progression_dimension_maximum () fo_context_get_block_progression_dimension_maximumFoProperty* fo_context_get_block_progression_dimension_maximum (FoContext *fo_context); Gets the "block-progression-dimension-maximum" property of fo_context. fo_context : The FoContext object. Returns : The "block-progression-dimension-maximum" property value. fo_context_set_block_progression_dimension_maximum () fo_context_set_block_progression_dimension_maximumvoid fo_context_set_block_progression_dimension_maximum (FoContext *fo_context, FoProperty *new_block_progression_dimension_maximum); Sets the "block-progression-dimension-maximum" property of fo_context to new_block_progression_dimension_maximum. fo_context : The FoContext object. new_block_progression_dimension_maximum : The new "block-progression-dimension-maximum" property value. fo_context_get_border () fo_context_get_borderFoProperty* fo_context_get_border (FoContext *fo_context); Gets the "border" property of fo_context. fo_context : The FoContext object. Returns : The "border" property value. fo_context_set_border () fo_context_set_bordervoid fo_context_set_border (FoContext *fo_context, FoProperty *new_border); Sets the "border" property of fo_context to new_border. fo_context : The FoContext object. new_border : The new "border" property value. fo_context_get_border_after_color () fo_context_get_border_after_colorFoProperty* fo_context_get_border_after_color (FoContext *fo_context); Gets the "border-after-color" property of fo_context. fo_context : The FoContext object. Returns : The "border-after-color" property value. fo_context_set_border_after_color () fo_context_set_border_after_colorvoid fo_context_set_border_after_color (FoContext *fo_context, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_context to new_border_after_color. fo_context : The FoContext object. new_border_after_color : The new "border-after-color" property value. fo_context_get_border_after_precedence () fo_context_get_border_after_precedenceFoProperty* fo_context_get_border_after_precedence (FoContext *fo_context); Gets the "border-after-precedence" property of fo_context. fo_context : The FoContext object. Returns : The "border-after-precedence" property value. fo_context_set_border_after_precedence () fo_context_set_border_after_precedencevoid fo_context_set_border_after_precedence (FoContext *fo_context, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_context to new_border_after_precedence. fo_context : The FoContext object. new_border_after_precedence : The new "border-after-precedence" property value. fo_context_get_border_after_style () fo_context_get_border_after_styleFoProperty* fo_context_get_border_after_style (FoContext *fo_context); Gets the "border-after-style" property of fo_context. fo_context : The FoContext object. Returns : The "border-after-style" property value. fo_context_set_border_after_style () fo_context_set_border_after_stylevoid fo_context_set_border_after_style (FoContext *fo_context, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_context to new_border_after_style. fo_context : The FoContext object. new_border_after_style : The new "border-after-style" property value. fo_context_get_border_after_width () fo_context_get_border_after_widthFoProperty* fo_context_get_border_after_width (FoContext *fo_context); Gets the "border-after-width" property of fo_context. fo_context : The FoContext object. Returns : The "border-after-width" property value. fo_context_set_border_after_width () fo_context_set_border_after_widthvoid fo_context_set_border_after_width (FoContext *fo_context, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_context to new_border_after_width. fo_context : The FoContext object. new_border_after_width : The new "border-after-width" property value. fo_context_get_border_before_color () fo_context_get_border_before_colorFoProperty* fo_context_get_border_before_color (FoContext *fo_context); Gets the "border-before-color" property of fo_context. fo_context : The FoContext object. Returns : The "border-before-color" property value. fo_context_set_border_before_color () fo_context_set_border_before_colorvoid fo_context_set_border_before_color (FoContext *fo_context, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_context to new_border_before_color. fo_context : The FoContext object. new_border_before_color : The new "border-before-color" property value. fo_context_get_border_before_precedence () fo_context_get_border_before_precedenceFoProperty* fo_context_get_border_before_precedence (FoContext *fo_context); Gets the "border-before-precedence" property of fo_context. fo_context : The FoContext object. Returns : The "border-before-precedence" property value. fo_context_set_border_before_precedence () fo_context_set_border_before_precedencevoid fo_context_set_border_before_precedence (FoContext *fo_context, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_context to new_border_before_precedence. fo_context : The FoContext object. new_border_before_precedence : The new "border-before-precedence" property value. fo_context_get_border_before_style () fo_context_get_border_before_styleFoProperty* fo_context_get_border_before_style (FoContext *fo_context); Gets the "border-before-style" property of fo_context. fo_context : The FoContext object. Returns : The "border-before-style" property value. fo_context_set_border_before_style () fo_context_set_border_before_stylevoid fo_context_set_border_before_style (FoContext *fo_context, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_context to new_border_before_style. fo_context : The FoContext object. new_border_before_style : The new "border-before-style" property value. fo_context_get_border_before_width () fo_context_get_border_before_widthFoProperty* fo_context_get_border_before_width (FoContext *fo_context); Gets the "border-before-width" property of fo_context. fo_context : The FoContext object. Returns : The "border-before-width" property value. fo_context_set_border_before_width () fo_context_set_border_before_widthvoid fo_context_set_border_before_width (FoContext *fo_context, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_context to new_border_before_width. fo_context : The FoContext object. new_border_before_width : The new "border-before-width" property value. fo_context_get_border_bottom () fo_context_get_border_bottomFoProperty* fo_context_get_border_bottom (FoContext *fo_context); Gets the "border-bottom" property of fo_context. fo_context : The FoContext object. Returns : The "border-bottom" property value. fo_context_set_border_bottom () fo_context_set_border_bottomvoid fo_context_set_border_bottom (FoContext *fo_context, FoProperty *new_border_bottom); Sets the "border-bottom" property of fo_context to new_border_bottom. fo_context : The FoContext object. new_border_bottom : The new "border-bottom" property value. fo_context_get_border_bottom_color () fo_context_get_border_bottom_colorFoProperty* fo_context_get_border_bottom_color (FoContext *fo_context); Gets the "border-bottom-color" property of fo_context. fo_context : The FoContext object. Returns : The "border-bottom-color" property value. fo_context_set_border_bottom_color () fo_context_set_border_bottom_colorvoid fo_context_set_border_bottom_color (FoContext *fo_context, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_context to new_border_bottom_color. fo_context : The FoContext object. new_border_bottom_color : The new "border-bottom-color" property value. fo_context_get_border_bottom_style () fo_context_get_border_bottom_styleFoProperty* fo_context_get_border_bottom_style (FoContext *fo_context); Gets the "border-bottom-style" property of fo_context. fo_context : The FoContext object. Returns : The "border-bottom-style" property value. fo_context_set_border_bottom_style () fo_context_set_border_bottom_stylevoid fo_context_set_border_bottom_style (FoContext *fo_context, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_context to new_border_bottom_style. fo_context : The FoContext object. new_border_bottom_style : The new "border-bottom-style" property value. fo_context_get_border_bottom_width () fo_context_get_border_bottom_widthFoProperty* fo_context_get_border_bottom_width (FoContext *fo_context); Gets the "border-bottom-width" property of fo_context. fo_context : The FoContext object. Returns : The "border-bottom-width" property value. fo_context_set_border_bottom_width () fo_context_set_border_bottom_widthvoid fo_context_set_border_bottom_width (FoContext *fo_context, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_context to new_border_bottom_width. fo_context : The FoContext object. new_border_bottom_width : The new "border-bottom-width" property value. fo_context_get_border_collapse () fo_context_get_border_collapseFoProperty* fo_context_get_border_collapse (FoContext *fo_context); Gets the "border-collapse" property of fo_context. fo_context : The FoContext object. Returns : The "border-collapse" property value. fo_context_set_border_collapse () fo_context_set_border_collapsevoid fo_context_set_border_collapse (FoContext *fo_context, FoProperty *new_border_collapse); Sets the "border-collapse" property of fo_context to new_border_collapse. fo_context : The FoContext object. new_border_collapse : The new "border-collapse" property value. fo_context_get_border_color () fo_context_get_border_colorFoProperty* fo_context_get_border_color (FoContext *fo_context); Gets the "border-color" property of fo_context. fo_context : The FoContext object. Returns : The "border-color" property value. fo_context_set_border_color () fo_context_set_border_colorvoid fo_context_set_border_color (FoContext *fo_context, FoProperty *new_border_color); Sets the "border-color" property of fo_context to new_border_color. fo_context : The FoContext object. new_border_color : The new "border-color" property value. fo_context_get_border_end_color () fo_context_get_border_end_colorFoProperty* fo_context_get_border_end_color (FoContext *fo_context); Gets the "border-end-color" property of fo_context. fo_context : The FoContext object. Returns : The "border-end-color" property value. fo_context_set_border_end_color () fo_context_set_border_end_colorvoid fo_context_set_border_end_color (FoContext *fo_context, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_context to new_border_end_color. fo_context : The FoContext object. new_border_end_color : The new "border-end-color" property value. fo_context_get_border_end_precedence () fo_context_get_border_end_precedenceFoProperty* fo_context_get_border_end_precedence (FoContext *fo_context); Gets the "border-end-precedence" property of fo_context. fo_context : The FoContext object. Returns : The "border-end-precedence" property value. fo_context_set_border_end_precedence () fo_context_set_border_end_precedencevoid fo_context_set_border_end_precedence (FoContext *fo_context, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_context to new_border_end_precedence. fo_context : The FoContext object. new_border_end_precedence : The new "border-end-precedence" property value. fo_context_get_border_end_style () fo_context_get_border_end_styleFoProperty* fo_context_get_border_end_style (FoContext *fo_context); Gets the "border-end-style" property of fo_context. fo_context : The FoContext object. Returns : The "border-end-style" property value. fo_context_set_border_end_style () fo_context_set_border_end_stylevoid fo_context_set_border_end_style (FoContext *fo_context, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_context to new_border_end_style. fo_context : The FoContext object. new_border_end_style : The new "border-end-style" property value. fo_context_get_border_end_width () fo_context_get_border_end_widthFoProperty* fo_context_get_border_end_width (FoContext *fo_context); Gets the "border-end-width" property of fo_context. fo_context : The FoContext object. Returns : The "border-end-width" property value. fo_context_set_border_end_width () fo_context_set_border_end_widthvoid fo_context_set_border_end_width (FoContext *fo_context, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_context to new_border_end_width. fo_context : The FoContext object. new_border_end_width : The new "border-end-width" property value. fo_context_get_border_left () fo_context_get_border_leftFoProperty* fo_context_get_border_left (FoContext *fo_context); Gets the "border-left" property of fo_context. fo_context : The FoContext object. Returns : The "border-left" property value. fo_context_set_border_left () fo_context_set_border_leftvoid fo_context_set_border_left (FoContext *fo_context, FoProperty *new_border_left); Sets the "border-left" property of fo_context to new_border_left. fo_context : The FoContext object. new_border_left : The new "border-left" property value. fo_context_get_border_left_color () fo_context_get_border_left_colorFoProperty* fo_context_get_border_left_color (FoContext *fo_context); Gets the "border-left-color" property of fo_context. fo_context : The FoContext object. Returns : The "border-left-color" property value. fo_context_set_border_left_color () fo_context_set_border_left_colorvoid fo_context_set_border_left_color (FoContext *fo_context, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_context to new_border_left_color. fo_context : The FoContext object. new_border_left_color : The new "border-left-color" property value. fo_context_get_border_left_style () fo_context_get_border_left_styleFoProperty* fo_context_get_border_left_style (FoContext *fo_context); Gets the "border-left-style" property of fo_context. fo_context : The FoContext object. Returns : The "border-left-style" property value. fo_context_set_border_left_style () fo_context_set_border_left_stylevoid fo_context_set_border_left_style (FoContext *fo_context, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_context to new_border_left_style. fo_context : The FoContext object. new_border_left_style : The new "border-left-style" property value. fo_context_get_border_left_width () fo_context_get_border_left_widthFoProperty* fo_context_get_border_left_width (FoContext *fo_context); Gets the "border-left-width" property of fo_context. fo_context : The FoContext object. Returns : The "border-left-width" property value. fo_context_set_border_left_width () fo_context_set_border_left_widthvoid fo_context_set_border_left_width (FoContext *fo_context, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_context to new_border_left_width. fo_context : The FoContext object. new_border_left_width : The new "border-left-width" property value. fo_context_get_border_right () fo_context_get_border_rightFoProperty* fo_context_get_border_right (FoContext *fo_context); Gets the "border-right" property of fo_context. fo_context : The FoContext object. Returns : The "border-right" property value. fo_context_set_border_right () fo_context_set_border_rightvoid fo_context_set_border_right (FoContext *fo_context, FoProperty *new_border_right); Sets the "border-right" property of fo_context to new_border_right. fo_context : The FoContext object. new_border_right : The new "border-right" property value. fo_context_get_border_right_color () fo_context_get_border_right_colorFoProperty* fo_context_get_border_right_color (FoContext *fo_context); Gets the "border-right-color" property of fo_context. fo_context : The FoContext object. Returns : The "border-right-color" property value. fo_context_set_border_right_color () fo_context_set_border_right_colorvoid fo_context_set_border_right_color (FoContext *fo_context, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_context to new_border_right_color. fo_context : The FoContext object. new_border_right_color : The new "border-right-color" property value. fo_context_get_border_right_style () fo_context_get_border_right_styleFoProperty* fo_context_get_border_right_style (FoContext *fo_context); Gets the "border-right-style" property of fo_context. fo_context : The FoContext object. Returns : The "border-right-style" property value. fo_context_set_border_right_style () fo_context_set_border_right_stylevoid fo_context_set_border_right_style (FoContext *fo_context, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_context to new_border_right_style. fo_context : The FoContext object. new_border_right_style : The new "border-right-style" property value. fo_context_get_border_right_width () fo_context_get_border_right_widthFoProperty* fo_context_get_border_right_width (FoContext *fo_context); Gets the "border-right-width" property of fo_context. fo_context : The FoContext object. Returns : The "border-right-width" property value. fo_context_set_border_right_width () fo_context_set_border_right_widthvoid fo_context_set_border_right_width (FoContext *fo_context, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_context to new_border_right_width. fo_context : The FoContext object. new_border_right_width : The new "border-right-width" property value. fo_context_get_border_separation () fo_context_get_border_separationFoProperty* fo_context_get_border_separation (FoContext *fo_context); Gets the "border-separation" property of fo_context. fo_context : The FoContext object. Returns : The "border-separation" property value. fo_context_set_border_separation () fo_context_set_border_separationvoid fo_context_set_border_separation (FoContext *fo_context, FoProperty *new_border_separation); Sets the "border-separation" property of fo_context to new_border_separation. fo_context : The FoContext object. new_border_separation : The new "border-separation" property value. fo_context_get_border_start_color () fo_context_get_border_start_colorFoProperty* fo_context_get_border_start_color (FoContext *fo_context); Gets the "border-start-color" property of fo_context. fo_context : The FoContext object. Returns : The "border-start-color" property value. fo_context_set_border_start_color () fo_context_set_border_start_colorvoid fo_context_set_border_start_color (FoContext *fo_context, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_context to new_border_start_color. fo_context : The FoContext object. new_border_start_color : The new "border-start-color" property value. fo_context_get_border_start_precedence () fo_context_get_border_start_precedenceFoProperty* fo_context_get_border_start_precedence (FoContext *fo_context); Gets the "border-start-precedence" property of fo_context. fo_context : The FoContext object. Returns : The "border-start-precedence" property value. fo_context_set_border_start_precedence () fo_context_set_border_start_precedencevoid fo_context_set_border_start_precedence (FoContext *fo_context, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_context to new_border_start_precedence. fo_context : The FoContext object. new_border_start_precedence : The new "border-start-precedence" property value. fo_context_get_border_start_style () fo_context_get_border_start_styleFoProperty* fo_context_get_border_start_style (FoContext *fo_context); Gets the "border-start-style" property of fo_context. fo_context : The FoContext object. Returns : The "border-start-style" property value. fo_context_set_border_start_style () fo_context_set_border_start_stylevoid fo_context_set_border_start_style (FoContext *fo_context, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_context to new_border_start_style. fo_context : The FoContext object. new_border_start_style : The new "border-start-style" property value. fo_context_get_border_start_width () fo_context_get_border_start_widthFoProperty* fo_context_get_border_start_width (FoContext *fo_context); Gets the "border-start-width" property of fo_context. fo_context : The FoContext object. Returns : The "border-start-width" property value. fo_context_set_border_start_width () fo_context_set_border_start_widthvoid fo_context_set_border_start_width (FoContext *fo_context, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_context to new_border_start_width. fo_context : The FoContext object. new_border_start_width : The new "border-start-width" property value. fo_context_get_border_style () fo_context_get_border_styleFoProperty* fo_context_get_border_style (FoContext *fo_context); Gets the "border-style" property of fo_context. fo_context : The FoContext object. Returns : The "border-style" property value. fo_context_set_border_style () fo_context_set_border_stylevoid fo_context_set_border_style (FoContext *fo_context, FoProperty *new_border_style); Sets the "border-style" property of fo_context to new_border_style. fo_context : The FoContext object. new_border_style : The new "border-style" property value. fo_context_get_border_top () fo_context_get_border_topFoProperty* fo_context_get_border_top (FoContext *fo_context); Gets the "border-top" property of fo_context. fo_context : The FoContext object. Returns : The "border-top" property value. fo_context_set_border_top () fo_context_set_border_topvoid fo_context_set_border_top (FoContext *fo_context, FoProperty *new_border_top); Sets the "border-top" property of fo_context to new_border_top. fo_context : The FoContext object. new_border_top : The new "border-top" property value. fo_context_get_border_top_color () fo_context_get_border_top_colorFoProperty* fo_context_get_border_top_color (FoContext *fo_context); Gets the "border-top-color" property of fo_context. fo_context : The FoContext object. Returns : The "border-top-color" property value. fo_context_set_border_top_color () fo_context_set_border_top_colorvoid fo_context_set_border_top_color (FoContext *fo_context, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_context to new_border_top_color. fo_context : The FoContext object. new_border_top_color : The new "border-top-color" property value. fo_context_get_border_top_style () fo_context_get_border_top_styleFoProperty* fo_context_get_border_top_style (FoContext *fo_context); Gets the "border-top-style" property of fo_context. fo_context : The FoContext object. Returns : The "border-top-style" property value. fo_context_set_border_top_style () fo_context_set_border_top_stylevoid fo_context_set_border_top_style (FoContext *fo_context, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_context to new_border_top_style. fo_context : The FoContext object. new_border_top_style : The new "border-top-style" property value. fo_context_get_border_top_width () fo_context_get_border_top_widthFoProperty* fo_context_get_border_top_width (FoContext *fo_context); Gets the "border-top-width" property of fo_context. fo_context : The FoContext object. Returns : The "border-top-width" property value. fo_context_set_border_top_width () fo_context_set_border_top_widthvoid fo_context_set_border_top_width (FoContext *fo_context, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_context to new_border_top_width. fo_context : The FoContext object. new_border_top_width : The new "border-top-width" property value. fo_context_get_border_width () fo_context_get_border_widthFoProperty* fo_context_get_border_width (FoContext *fo_context); Gets the "border-width" property of fo_context. fo_context : The FoContext object. Returns : The "border-width" property value. fo_context_set_border_width () fo_context_set_border_widthvoid fo_context_set_border_width (FoContext *fo_context, FoProperty *new_border_width); Sets the "border-width" property of fo_context to new_border_width. fo_context : The FoContext object. new_border_width : The new "border-width" property value. fo_context_get_break_after () fo_context_get_break_afterFoProperty* fo_context_get_break_after (FoContext *fo_context); Gets the "break-after" property of fo_context. fo_context : The FoContext object. Returns : The "break-after" property value. fo_context_set_break_after () fo_context_set_break_aftervoid fo_context_set_break_after (FoContext *fo_context, FoProperty *new_break_after); Sets the "break-after" property of fo_context to new_break_after. fo_context : The FoContext object. new_break_after : The new "break-after" property value. fo_context_get_break_before () fo_context_get_break_beforeFoProperty* fo_context_get_break_before (FoContext *fo_context); Gets the "break-before" property of fo_context. fo_context : The FoContext object. Returns : The "break-before" property value. fo_context_set_break_before () fo_context_set_break_beforevoid fo_context_set_break_before (FoContext *fo_context, FoProperty *new_break_before); Sets the "break-before" property of fo_context to new_break_before. fo_context : The FoContext object. new_break_before : The new "break-before" property value. fo_context_get_character () fo_context_get_characterFoProperty* fo_context_get_character (FoContext *fo_context); Gets the "character" property of fo_context. fo_context : The FoContext object. Returns : The "character" property value. fo_context_set_character () fo_context_set_charactervoid fo_context_set_character (FoContext *fo_context, FoProperty *new_character); Sets the "character" property of fo_context to new_character. fo_context : The FoContext object. new_character : The new "character" property value. fo_context_get_clip () fo_context_get_clipFoProperty* fo_context_get_clip (FoContext *fo_context); Gets the "clip" property of fo_context. fo_context : The FoContext object. Returns : The "clip" property value. fo_context_set_clip () fo_context_set_clipvoid fo_context_set_clip (FoContext *fo_context, FoProperty *new_clip); Sets the "clip" property of fo_context to new_clip. fo_context : The FoContext object. new_clip : The new "clip" property value. fo_context_get_color () fo_context_get_colorFoProperty* fo_context_get_color (FoContext *fo_context); Gets the "color" property of fo_context. fo_context : The FoContext object. Returns : The "color" property value. fo_context_set_color () fo_context_set_colorvoid fo_context_set_color (FoContext *fo_context, FoProperty *new_color); Sets the "color" property of fo_context to new_color. fo_context : The FoContext object. new_color : The new "color" property value. fo_context_get_column_number () fo_context_get_column_numberFoProperty* fo_context_get_column_number (FoContext *fo_context); Gets the "column-number" property of fo_context. fo_context : The FoContext object. Returns : The "column-number" property value. fo_context_set_column_number () fo_context_set_column_numbervoid fo_context_set_column_number (FoContext *fo_context, FoProperty *new_column_number); Sets the "column-number" property of fo_context to new_column_number. fo_context : The FoContext object. new_column_number : The new "column-number" property value. fo_context_get_column_width () fo_context_get_column_widthFoProperty* fo_context_get_column_width (FoContext *fo_context); Gets the "column-width" property of fo_context. fo_context : The FoContext object. Returns : The "column-width" property value. fo_context_set_column_width () fo_context_set_column_widthvoid fo_context_set_column_width (FoContext *fo_context, FoProperty *new_column_width); Sets the "column-width" property of fo_context to new_column_width. fo_context : The FoContext object. new_column_width : The new "column-width" property value. fo_context_get_content_height () fo_context_get_content_heightFoProperty* fo_context_get_content_height (FoContext *fo_context); Gets the "content-height" property of fo_context. fo_context : The FoContext object. Returns : The "content-height" property value. fo_context_set_content_height () fo_context_set_content_heightvoid fo_context_set_content_height (FoContext *fo_context, FoProperty *new_content_height); Sets the "content-height" property of fo_context to new_content_height. fo_context : The FoContext object. new_content_height : The new "content-height" property value. fo_context_get_content_type () fo_context_get_content_typeFoProperty* fo_context_get_content_type (FoContext *fo_context); Gets the "content-type" property of fo_context. fo_context : The FoContext object. Returns : The "content-type" property value. fo_context_set_content_type () fo_context_set_content_typevoid fo_context_set_content_type (FoContext *fo_context, FoProperty *new_content_type); Sets the "content-type" property of fo_context to new_content_type. fo_context : The FoContext object. new_content_type : The new "content-type" property value. fo_context_get_content_width () fo_context_get_content_widthFoProperty* fo_context_get_content_width (FoContext *fo_context); Gets the "content-width" property of fo_context. fo_context : The FoContext object. Returns : The "content-width" property value. fo_context_set_content_width () fo_context_set_content_widthvoid fo_context_set_content_width (FoContext *fo_context, FoProperty *new_content_width); Sets the "content-width" property of fo_context to new_content_width. fo_context : The FoContext object. new_content_width : The new "content-width" property value. fo_context_get_direction () fo_context_get_directionFoProperty* fo_context_get_direction (FoContext *fo_context); Gets the "direction" property of fo_context. fo_context : The FoContext object. Returns : The "direction" property value. fo_context_set_direction () fo_context_set_directionvoid fo_context_set_direction (FoContext *fo_context, FoProperty *new_direction); Sets the "direction" property of fo_context to new_direction. fo_context : The FoContext object. new_direction : The new "direction" property value. fo_context_get_display_align () fo_context_get_display_alignFoProperty* fo_context_get_display_align (FoContext *fo_context); Gets the "display-align" property of fo_context. fo_context : The FoContext object. Returns : The "display-align" property value. fo_context_set_display_align () fo_context_set_display_alignvoid fo_context_set_display_align (FoContext *fo_context, FoProperty *new_display_align); Sets the "display-align" property of fo_context to new_display_align. fo_context : The FoContext object. new_display_align : The new "display-align" property value. fo_context_get_dominant_baseline () fo_context_get_dominant_baselineFoProperty* fo_context_get_dominant_baseline (FoContext *fo_context); Gets the "dominant-baseline" property of fo_context. fo_context : The FoContext object. Returns : The "dominant-baseline" property value. fo_context_set_dominant_baseline () fo_context_set_dominant_baselinevoid fo_context_set_dominant_baseline (FoContext *fo_context, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_context to new_dominant_baseline. fo_context : The FoContext object. new_dominant_baseline : The new "dominant-baseline" property value. fo_context_get_end_indent () fo_context_get_end_indentFoProperty* fo_context_get_end_indent (FoContext *fo_context); Gets the "end-indent" property of fo_context. fo_context : The FoContext object. Returns : The "end-indent" property value. fo_context_set_end_indent () fo_context_set_end_indentvoid fo_context_set_end_indent (FoContext *fo_context, FoProperty *new_end_indent); Sets the "end-indent" property of fo_context to new_end_indent. fo_context : The FoContext object. new_end_indent : The new "end-indent" property value. fo_context_get_extent () fo_context_get_extentFoProperty* fo_context_get_extent (FoContext *fo_context); Gets the "extent" property of fo_context. fo_context : The FoContext object. Returns : The "extent" property value. fo_context_set_extent () fo_context_set_extentvoid fo_context_set_extent (FoContext *fo_context, FoProperty *new_extent); Sets the "extent" property of fo_context to new_extent. fo_context : The FoContext object. new_extent : The new "extent" property value. fo_context_get_flow_name () fo_context_get_flow_nameFoProperty* fo_context_get_flow_name (FoContext *fo_context); Gets the "flow-name" property of fo_context. fo_context : The FoContext object. Returns : The "flow-name" property value. fo_context_set_flow_name () fo_context_set_flow_namevoid fo_context_set_flow_name (FoContext *fo_context, FoProperty *new_flow_name); Sets the "flow-name" property of fo_context to new_flow_name. fo_context : The FoContext object. new_flow_name : The new "flow-name" property value. fo_context_get_font_family () fo_context_get_font_familyFoProperty* fo_context_get_font_family (FoContext *fo_context); Gets the "font-family" property of fo_context. fo_context : The FoContext object. Returns : The "font-family" property value. fo_context_set_font_family () fo_context_set_font_familyvoid fo_context_set_font_family (FoContext *fo_context, FoProperty *new_font_family); Sets the "font-family" property of fo_context to new_font_family. fo_context : The FoContext object. new_font_family : The new "font-family" property value. fo_context_get_font_size () fo_context_get_font_sizeFoProperty* fo_context_get_font_size (FoContext *fo_context); Gets the "font-size" property of fo_context. fo_context : The FoContext object. Returns : The "font-size" property value. fo_context_set_font_size () fo_context_set_font_sizevoid fo_context_set_font_size (FoContext *fo_context, FoProperty *new_font_size); Sets the "font-size" property of fo_context to new_font_size. fo_context : The FoContext object. new_font_size : The new "font-size" property value. fo_context_get_font_stretch () fo_context_get_font_stretchFoProperty* fo_context_get_font_stretch (FoContext *fo_context); Gets the "font-stretch" property of fo_context. fo_context : The FoContext object. Returns : The "font-stretch" property value. fo_context_set_font_stretch () fo_context_set_font_stretchvoid fo_context_set_font_stretch (FoContext *fo_context, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_context to new_font_stretch. fo_context : The FoContext object. new_font_stretch : The new "font-stretch" property value. fo_context_get_font_style () fo_context_get_font_styleFoProperty* fo_context_get_font_style (FoContext *fo_context); Gets the "font-style" property of fo_context. fo_context : The FoContext object. Returns : The "font-style" property value. fo_context_set_font_style () fo_context_set_font_stylevoid fo_context_set_font_style (FoContext *fo_context, FoProperty *new_font_style); Sets the "font-style" property of fo_context to new_font_style. fo_context : The FoContext object. new_font_style : The new "font-style" property value. fo_context_get_font_variant () fo_context_get_font_variantFoProperty* fo_context_get_font_variant (FoContext *fo_context); Gets the "font-variant" property of fo_context. fo_context : The FoContext object. Returns : The "font-variant" property value. fo_context_set_font_variant () fo_context_set_font_variantvoid fo_context_set_font_variant (FoContext *fo_context, FoProperty *new_font_variant); Sets the "font-variant" property of fo_context to new_font_variant. fo_context : The FoContext object. new_font_variant : The new "font-variant" property value. fo_context_get_font_weight () fo_context_get_font_weightFoProperty* fo_context_get_font_weight (FoContext *fo_context); Gets the "font-weight" property of fo_context. fo_context : The FoContext object. Returns : The "font-weight" property value. fo_context_set_font_weight () fo_context_set_font_weightvoid fo_context_set_font_weight (FoContext *fo_context, FoProperty *new_font_weight); Sets the "font-weight" property of fo_context to new_font_weight. fo_context : The FoContext object. new_font_weight : The new "font-weight" property value. fo_context_get_format () fo_context_get_formatFoProperty* fo_context_get_format (FoContext *fo_context); Gets the "format" property of fo_context. fo_context : The FoContext object. Returns : The "format" property value. fo_context_set_format () fo_context_set_formatvoid fo_context_set_format (FoContext *fo_context, FoProperty *new_format); Sets the "format" property of fo_context to new_format. fo_context : The FoContext object. new_format : The new "format" property value. fo_context_get_grouping_separator () fo_context_get_grouping_separatorFoProperty* fo_context_get_grouping_separator (FoContext *fo_context); Gets the "grouping-separator" property of fo_context. fo_context : The FoContext object. Returns : The "grouping-separator" property value. fo_context_set_grouping_separator () fo_context_set_grouping_separatorvoid fo_context_set_grouping_separator (FoContext *fo_context, FoProperty *new_grouping_separator); Sets the "grouping-separator" property of fo_context to new_grouping_separator. fo_context : The FoContext object. new_grouping_separator : The new "grouping-separator" property value. fo_context_get_grouping_size () fo_context_get_grouping_sizeFoProperty* fo_context_get_grouping_size (FoContext *fo_context); Gets the "grouping-size" property of fo_context. fo_context : The FoContext object. Returns : The "grouping-size" property value. fo_context_set_grouping_size () fo_context_set_grouping_sizevoid fo_context_set_grouping_size (FoContext *fo_context, FoProperty *new_grouping_size); Sets the "grouping-size" property of fo_context to new_grouping_size. fo_context : The FoContext object. new_grouping_size : The new "grouping-size" property value. fo_context_get_height () fo_context_get_heightFoProperty* fo_context_get_height (FoContext *fo_context); Gets the "height" property of fo_context. fo_context : The FoContext object. Returns : The "height" property value. fo_context_set_height () fo_context_set_heightvoid fo_context_set_height (FoContext *fo_context, FoProperty *new_height); Sets the "height" property of fo_context to new_height. fo_context : The FoContext object. new_height : The new "height" property value. fo_context_get_id () fo_context_get_idFoProperty* fo_context_get_id (FoContext *fo_context); Gets the "id" property of fo_context. fo_context : The FoContext object. Returns : The "id" property value. fo_context_set_id () fo_context_set_idvoid fo_context_set_id (FoContext *fo_context, FoProperty *new_id); Sets the "id" property of fo_context to new_id. fo_context : The FoContext object. new_id : The new "id" property value. fo_context_get_inline_progression_dimension () fo_context_get_inline_progression_dimensionFoProperty* fo_context_get_inline_progression_dimension (FoContext *fo_context); Gets the "inline-progression-dimension" property of fo_context. fo_context : The FoContext object. Returns : The "inline-progression-dimension" property value. fo_context_set_inline_progression_dimension () fo_context_set_inline_progression_dimensionvoid fo_context_set_inline_progression_dimension (FoContext *fo_context, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_context to new_inline_progression_dimension. fo_context : The FoContext object. new_inline_progression_dimension : The new "inline-progression-dimension" property value. fo_context_get_inline_progression_dimension_minimum () fo_context_get_inline_progression_dimension_minimumFoProperty* fo_context_get_inline_progression_dimension_minimum (FoContext *fo_context); Gets the "inline-progression-dimension-minimum" property of fo_context. fo_context : The FoContext object. Returns : The "inline-progression-dimension-minimum" property value. fo_context_set_inline_progression_dimension_minimum () fo_context_set_inline_progression_dimension_minimumvoid fo_context_set_inline_progression_dimension_minimum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_minimum); Sets the "inline-progression-dimension-minimum" property of fo_context to new_inline_progression_dimension_minimum. fo_context : The FoContext object. new_inline_progression_dimension_minimum : The new "inline-progression-dimension-minimum" property value. fo_context_get_inline_progression_dimension_optimum () fo_context_get_inline_progression_dimension_optimumFoProperty* fo_context_get_inline_progression_dimension_optimum (FoContext *fo_context); Gets the "inline-progression-dimension-optimum" property of fo_context. fo_context : The FoContext object. Returns : The "inline-progression-dimension-optimum" property value. fo_context_set_inline_progression_dimension_optimum () fo_context_set_inline_progression_dimension_optimumvoid fo_context_set_inline_progression_dimension_optimum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_optimum); Sets the "inline-progression-dimension-optimum" property of fo_context to new_inline_progression_dimension_optimum. fo_context : The FoContext object. new_inline_progression_dimension_optimum : The new "inline-progression-dimension-optimum" property value. fo_context_get_inline_progression_dimension_maximum () fo_context_get_inline_progression_dimension_maximumFoProperty* fo_context_get_inline_progression_dimension_maximum (FoContext *fo_context); Gets the "inline-progression-dimension-maximum" property of fo_context. fo_context : The FoContext object. Returns : The "inline-progression-dimension-maximum" property value. fo_context_set_inline_progression_dimension_maximum () fo_context_set_inline_progression_dimension_maximumvoid fo_context_set_inline_progression_dimension_maximum (FoContext *fo_context, FoProperty *new_inline_progression_dimension_maximum); Sets the "inline-progression-dimension-maximum" property of fo_context to new_inline_progression_dimension_maximum. fo_context : The FoContext object. new_inline_progression_dimension_maximum : The new "inline-progression-dimension-maximum" property value. fo_context_get_keep_together () fo_context_get_keep_togetherFoProperty* fo_context_get_keep_together (FoContext *fo_context); Gets the "keep-together" property of fo_context. fo_context : The FoContext object. Returns : The "keep-together" property value. fo_context_set_keep_together () fo_context_set_keep_togethervoid fo_context_set_keep_together (FoContext *fo_context, FoProperty *new_keep_together); Sets the "keep-together" property of fo_context to new_keep_together. fo_context : The FoContext object. new_keep_together : The new "keep-together" property value. fo_context_get_keep_together_within_column () fo_context_get_keep_together_within_columnFoProperty* fo_context_get_keep_together_within_column (FoContext *fo_context); Gets the "keep-together-within-column" property of fo_context. fo_context : The FoContext object. Returns : The "keep-together-within-column" property value. fo_context_set_keep_together_within_column () fo_context_set_keep_together_within_columnvoid fo_context_set_keep_together_within_column (FoContext *fo_context, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_context to new_keep_together_within_column. fo_context : The FoContext object. new_keep_together_within_column : The new "keep-together-within-column" property value. fo_context_get_keep_together_within_line () fo_context_get_keep_together_within_lineFoProperty* fo_context_get_keep_together_within_line (FoContext *fo_context); Gets the "keep-together-within-line" property of fo_context. fo_context : The FoContext object. Returns : The "keep-together-within-line" property value. fo_context_set_keep_together_within_line () fo_context_set_keep_together_within_linevoid fo_context_set_keep_together_within_line (FoContext *fo_context, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_context to new_keep_together_within_line. fo_context : The FoContext object. new_keep_together_within_line : The new "keep-together-within-line" property value. fo_context_get_keep_together_within_page () fo_context_get_keep_together_within_pageFoProperty* fo_context_get_keep_together_within_page (FoContext *fo_context); Gets the "keep-together-within-page" property of fo_context. fo_context : The FoContext object. Returns : The "keep-together-within-page" property value. fo_context_set_keep_together_within_page () fo_context_set_keep_together_within_pagevoid fo_context_set_keep_together_within_page (FoContext *fo_context, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_context to new_keep_together_within_page. fo_context : The FoContext object. new_keep_together_within_page : The new "keep-together-within-page" property value. fo_context_get_keep_with_next () fo_context_get_keep_with_nextFoProperty* fo_context_get_keep_with_next (FoContext *fo_context); Gets the "keep-with-next" property of fo_context. fo_context : The FoContext object. Returns : The "keep-with-next" property value. fo_context_set_keep_with_next () fo_context_set_keep_with_nextvoid fo_context_set_keep_with_next (FoContext *fo_context, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_context to new_keep_with_next. fo_context : The FoContext object. new_keep_with_next : The new "keep-with-next" property value. fo_context_get_keep_with_next_within_column () fo_context_get_keep_with_next_within_columnFoProperty* fo_context_get_keep_with_next_within_column (FoContext *fo_context); Gets the "keep-with-next-within-column" property of fo_context. fo_context : The FoContext object. Returns : The "keep-with-next-within-column" property value. fo_context_set_keep_with_next_within_column () fo_context_set_keep_with_next_within_columnvoid fo_context_set_keep_with_next_within_column (FoContext *fo_context, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_context to new_keep_with_next_within_column. fo_context : The FoContext object. new_keep_with_next_within_column : The new "keep-with-next-within-column" property value. fo_context_get_keep_with_next_within_line () fo_context_get_keep_with_next_within_lineFoProperty* fo_context_get_keep_with_next_within_line (FoContext *fo_context); Gets the "keep-with-next-within-line" property of fo_context. fo_context : The FoContext object. Returns : The "keep-with-next-within-line" property value. fo_context_set_keep_with_next_within_line () fo_context_set_keep_with_next_within_linevoid fo_context_set_keep_with_next_within_line (FoContext *fo_context, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_context to new_keep_with_next_within_line. fo_context : The FoContext object. new_keep_with_next_within_line : The new "keep-with-next-within-line" property value. fo_context_get_keep_with_next_within_page () fo_context_get_keep_with_next_within_pageFoProperty* fo_context_get_keep_with_next_within_page (FoContext *fo_context); Gets the "keep-with-next-within-page" property of fo_context. fo_context : The FoContext object. Returns : The "keep-with-next-within-page" property value. fo_context_set_keep_with_next_within_page () fo_context_set_keep_with_next_within_pagevoid fo_context_set_keep_with_next_within_page (FoContext *fo_context, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_context to new_keep_with_next_within_page. fo_context : The FoContext object. new_keep_with_next_within_page : The new "keep-with-next-within-page" property value. fo_context_get_keep_with_previous () fo_context_get_keep_with_previousFoProperty* fo_context_get_keep_with_previous (FoContext *fo_context); Gets the "keep-with-previous" property of fo_context. fo_context : The FoContext object. Returns : The "keep-with-previous" property value. fo_context_set_keep_with_previous () fo_context_set_keep_with_previousvoid fo_context_set_keep_with_previous (FoContext *fo_context, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_context to new_keep_with_previous. fo_context : The FoContext object. new_keep_with_previous : The new "keep-with-previous" property value. fo_context_get_keep_with_previous_within_column () fo_context_get_keep_with_previous_within_columnFoProperty* fo_context_get_keep_with_previous_within_column (FoContext *fo_context); Gets the "keep-with-previous-within-column" property of fo_context. fo_context : The FoContext object. Returns : The "keep-with-previous-within-column" property value. fo_context_set_keep_with_previous_within_column () fo_context_set_keep_with_previous_within_columnvoid fo_context_set_keep_with_previous_within_column (FoContext *fo_context, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_context to new_keep_with_previous_within_column. fo_context : The FoContext object. new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value. fo_context_get_keep_with_previous_within_line () fo_context_get_keep_with_previous_within_lineFoProperty* fo_context_get_keep_with_previous_within_line (FoContext *fo_context); Gets the "keep-with-previous-within-line" property of fo_context. fo_context : The FoContext object. Returns : The "keep-with-previous-within-line" property value. fo_context_set_keep_with_previous_within_line () fo_context_set_keep_with_previous_within_linevoid fo_context_set_keep_with_previous_within_line (FoContext *fo_context, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_context to new_keep_with_previous_within_line. fo_context : The FoContext object. new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value. fo_context_get_keep_with_previous_within_page () fo_context_get_keep_with_previous_within_pageFoProperty* fo_context_get_keep_with_previous_within_page (FoContext *fo_context); Gets the "keep-with-previous-within-page" property of fo_context. fo_context : The FoContext object. Returns : The "keep-with-previous-within-page" property value. fo_context_set_keep_with_previous_within_page () fo_context_set_keep_with_previous_within_pagevoid fo_context_set_keep_with_previous_within_page (FoContext *fo_context, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_context to new_keep_with_previous_within_page. fo_context : The FoContext object. new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value. fo_context_get_letter_value () fo_context_get_letter_valueFoProperty* fo_context_get_letter_value (FoContext *fo_context); Gets the "letter-value" property of fo_context. fo_context : The FoContext object. Returns : The "letter-value" property value. fo_context_set_letter_value () fo_context_set_letter_valuevoid fo_context_set_letter_value (FoContext *fo_context, FoProperty *new_letter_value); Sets the "letter-value" property of fo_context to new_letter_value. fo_context : The FoContext object. new_letter_value : The new "letter-value" property value. fo_context_get_linefeed_treatment () fo_context_get_linefeed_treatmentFoProperty* fo_context_get_linefeed_treatment (FoContext *fo_context); Gets the "linefeed-treatment" property of fo_context. fo_context : The FoContext object. Returns : The "linefeed-treatment" property value. fo_context_set_linefeed_treatment () fo_context_set_linefeed_treatmentvoid fo_context_set_linefeed_treatment (FoContext *fo_context, FoProperty *new_linefeed_treatment); Sets the "linefeed-treatment" property of fo_context to new_linefeed_treatment. fo_context : The FoContext object. new_linefeed_treatment : The new "linefeed-treatment" property value. fo_context_get_line_height () fo_context_get_line_heightFoProperty* fo_context_get_line_height (FoContext *fo_context); Gets the "line-height" property of fo_context. fo_context : The FoContext object. Returns : The "line-height" property value. fo_context_set_line_height () fo_context_set_line_heightvoid fo_context_set_line_height (FoContext *fo_context, FoProperty *new_line_height); Sets the "line-height" property of fo_context to new_line_height. fo_context : The FoContext object. new_line_height : The new "line-height" property value. fo_context_get_line_stacking_strategy () fo_context_get_line_stacking_strategyFoProperty* fo_context_get_line_stacking_strategy (FoContext *fo_context); Gets the "line-stacking-strategy" property of fo_context. fo_context : The FoContext object. Returns : The "line-stacking-strategy" property value. fo_context_set_line_stacking_strategy () fo_context_set_line_stacking_strategyvoid fo_context_set_line_stacking_strategy (FoContext *fo_context, FoProperty *new_line_stacking_strategy); Sets the "line-stacking-strategy" property of fo_context to new_line_stacking_strategy. fo_context : The FoContext object. new_line_stacking_strategy : The new "line-stacking-strategy" property value. fo_context_get_margin () fo_context_get_marginFoProperty* fo_context_get_margin (FoContext *fo_context); Gets the "margin" property of fo_context. fo_context : The FoContext object. Returns : The "margin" property value. fo_context_set_margin () fo_context_set_marginvoid fo_context_set_margin (FoContext *fo_context, FoProperty *new_margin); Sets the "margin" property of fo_context to new_margin. fo_context : The FoContext object. new_margin : The new "margin" property value. fo_context_get_margin_bottom () fo_context_get_margin_bottomFoProperty* fo_context_get_margin_bottom (FoContext *fo_context); Gets the "margin-bottom" property of fo_context. fo_context : The FoContext object. Returns : The "margin-bottom" property value. fo_context_set_margin_bottom () fo_context_set_margin_bottomvoid fo_context_set_margin_bottom (FoContext *fo_context, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_context to new_margin_bottom. fo_context : The FoContext object. new_margin_bottom : The new "margin-bottom" property value. fo_context_get_margin_left () fo_context_get_margin_leftFoProperty* fo_context_get_margin_left (FoContext *fo_context); Gets the "margin-left" property of fo_context. fo_context : The FoContext object. Returns : The "margin-left" property value. fo_context_set_margin_left () fo_context_set_margin_leftvoid fo_context_set_margin_left (FoContext *fo_context, FoProperty *new_margin_left); Sets the "margin-left" property of fo_context to new_margin_left. fo_context : The FoContext object. new_margin_left : The new "margin-left" property value. fo_context_get_margin_right () fo_context_get_margin_rightFoProperty* fo_context_get_margin_right (FoContext *fo_context); Gets the "margin-right" property of fo_context. fo_context : The FoContext object. Returns : The "margin-right" property value. fo_context_set_margin_right () fo_context_set_margin_rightvoid fo_context_set_margin_right (FoContext *fo_context, FoProperty *new_margin_right); Sets the "margin-right" property of fo_context to new_margin_right. fo_context : The FoContext object. new_margin_right : The new "margin-right" property value. fo_context_get_margin_top () fo_context_get_margin_topFoProperty* fo_context_get_margin_top (FoContext *fo_context); Gets the "margin-top" property of fo_context. fo_context : The FoContext object. Returns : The "margin-top" property value. fo_context_set_margin_top () fo_context_set_margin_topvoid fo_context_set_margin_top (FoContext *fo_context, FoProperty *new_margin_top); Sets the "margin-top" property of fo_context to new_margin_top. fo_context : The FoContext object. new_margin_top : The new "margin-top" property value. fo_context_get_master_name () fo_context_get_master_nameFoProperty* fo_context_get_master_name (FoContext *fo_context); Gets the "master-name" property of fo_context. fo_context : The FoContext object. Returns : The "master-name" property value. fo_context_set_master_name () fo_context_set_master_namevoid fo_context_set_master_name (FoContext *fo_context, FoProperty *new_master_name); Sets the "master-name" property of fo_context to new_master_name. fo_context : The FoContext object. new_master_name : The new "master-name" property value. fo_context_get_master_reference () fo_context_get_master_referenceFoProperty* fo_context_get_master_reference (FoContext *fo_context); Gets the "master-reference" property of fo_context. fo_context : The FoContext object. Returns : The "master-reference" property value. fo_context_set_master_reference () fo_context_set_master_referencevoid fo_context_set_master_reference (FoContext *fo_context, FoProperty *new_master_reference); Sets the "master-reference" property of fo_context to new_master_reference. fo_context : The FoContext object. new_master_reference : The new "master-reference" property value. fo_context_get_media_usage () fo_context_get_media_usageFoProperty* fo_context_get_media_usage (FoContext *fo_context); Gets the "media-usage" property of fo_context. fo_context : The FoContext object. Returns : The "media-usage" property value. fo_context_set_media_usage () fo_context_set_media_usagevoid fo_context_set_media_usage (FoContext *fo_context, FoProperty *new_media_usage); Sets the "media-usage" property of fo_context to new_media_usage. fo_context : The FoContext object. new_media_usage : The new "media-usage" property value. fo_context_get_number_columns_repeated () fo_context_get_number_columns_repeatedFoProperty* fo_context_get_number_columns_repeated (FoContext *fo_context); Gets the "number-columns-repeated" property of fo_context. fo_context : The FoContext object. Returns : The "number-columns-repeated" property value. fo_context_set_number_columns_repeated () fo_context_set_number_columns_repeatedvoid fo_context_set_number_columns_repeated (FoContext *fo_context, FoProperty *new_number_columns_repeated); Sets the "number-columns-repeated" property of fo_context to new_number_columns_repeated. fo_context : The FoContext object. new_number_columns_repeated : The new "number-columns-repeated" property value. fo_context_get_number_columns_spanned () fo_context_get_number_columns_spannedFoProperty* fo_context_get_number_columns_spanned (FoContext *fo_context); Gets the "number-columns-spanned" property of fo_context. fo_context : The FoContext object. Returns : The "number-columns-spanned" property value. fo_context_set_number_columns_spanned () fo_context_set_number_columns_spannedvoid fo_context_set_number_columns_spanned (FoContext *fo_context, FoProperty *new_number_columns_spanned); Sets the "number-columns-spanned" property of fo_context to new_number_columns_spanned. fo_context : The FoContext object. new_number_columns_spanned : The new "number-columns-spanned" property value. fo_context_get_number_rows_spanned () fo_context_get_number_rows_spannedFoProperty* fo_context_get_number_rows_spanned (FoContext *fo_context); Gets the "number-rows-spanned" property of fo_context. fo_context : The FoContext object. Returns : The "number-rows-spanned" property value. fo_context_set_number_rows_spanned () fo_context_set_number_rows_spannedvoid fo_context_set_number_rows_spanned (FoContext *fo_context, FoProperty *new_number_rows_spanned); Sets the "number-rows-spanned" property of fo_context to new_number_rows_spanned. fo_context : The FoContext object. new_number_rows_spanned : The new "number-rows-spanned" property value. fo_context_get_orphans () fo_context_get_orphansFoProperty* fo_context_get_orphans (FoContext *fo_context); Gets the "orphans" property of fo_context. fo_context : The FoContext object. Returns : The "orphans" property value. fo_context_set_orphans () fo_context_set_orphansvoid fo_context_set_orphans (FoContext *fo_context, FoProperty *new_orphans); Sets the "orphans" property of fo_context to new_orphans. fo_context : The FoContext object. new_orphans : The new "orphans" property value. fo_context_get_overflow () fo_context_get_overflowFoProperty* fo_context_get_overflow (FoContext *fo_context); Gets the "overflow" property of fo_context. fo_context : The FoContext object. Returns : The "overflow" property value. fo_context_set_overflow () fo_context_set_overflowvoid fo_context_set_overflow (FoContext *fo_context, FoProperty *new_overflow); Sets the "overflow" property of fo_context to new_overflow. fo_context : The FoContext object. new_overflow : The new "overflow" property value. fo_context_get_padding () fo_context_get_paddingFoProperty* fo_context_get_padding (FoContext *fo_context); Gets the "padding" property of fo_context. fo_context : The FoContext object. Returns : The "padding" property value. fo_context_set_padding () fo_context_set_paddingvoid fo_context_set_padding (FoContext *fo_context, FoProperty *new_padding); Sets the "padding" property of fo_context to new_padding. fo_context : The FoContext object. new_padding : The new "padding" property value. fo_context_get_padding_after () fo_context_get_padding_afterFoProperty* fo_context_get_padding_after (FoContext *fo_context); Gets the "padding-after" property of fo_context. fo_context : The FoContext object. Returns : The "padding-after" property value. fo_context_set_padding_after () fo_context_set_padding_aftervoid fo_context_set_padding_after (FoContext *fo_context, FoProperty *new_padding_after); Sets the "padding-after" property of fo_context to new_padding_after. fo_context : The FoContext object. new_padding_after : The new "padding-after" property value. fo_context_get_padding_after_length () fo_context_get_padding_after_lengthFoProperty* fo_context_get_padding_after_length (FoContext *fo_context); Gets the "padding-after-length" property of fo_context. fo_context : The FoContext object. Returns : The "padding-after-length" property value. fo_context_set_padding_after_length () fo_context_set_padding_after_lengthvoid fo_context_set_padding_after_length (FoContext *fo_context, FoProperty *new_padding_after_length); Sets the "padding-after-length" property of fo_context to new_padding_after_length. fo_context : The FoContext object. new_padding_after_length : The new "padding-after-length" property value. fo_context_get_padding_after_condity () fo_context_get_padding_after_condityFoProperty* fo_context_get_padding_after_condity (FoContext *fo_context); Gets the "padding-after-conditionality" property of fo_context. fo_context : The FoContext object. Returns : The "padding-after-conditionality" property value. fo_context_set_padding_after_condity () fo_context_set_padding_after_condityvoid fo_context_set_padding_after_condity (FoContext *fo_context, FoProperty *new_padding_after_condity); Sets the "padding-after-conditionality" property of fo_context to new_padding_after_condity. fo_context : The FoContext object. new_padding_after_condity : The new "padding-after-conditionality" property value. fo_context_get_padding_before () fo_context_get_padding_beforeFoProperty* fo_context_get_padding_before (FoContext *fo_context); Gets the "padding-before" property of fo_context. fo_context : The FoContext object. Returns : The "padding-before" property value. fo_context_set_padding_before () fo_context_set_padding_beforevoid fo_context_set_padding_before (FoContext *fo_context, FoProperty *new_padding_before); Sets the "padding-before" property of fo_context to new_padding_before. fo_context : The FoContext object. new_padding_before : The new "padding-before" property value. fo_context_get_padding_before_length () fo_context_get_padding_before_lengthFoProperty* fo_context_get_padding_before_length (FoContext *fo_context); Gets the "padding-before-length" property of fo_context. fo_context : The FoContext object. Returns : The "padding-before-length" property value. fo_context_set_padding_before_length () fo_context_set_padding_before_lengthvoid fo_context_set_padding_before_length (FoContext *fo_context, FoProperty *new_padding_before_length); Sets the "padding-before-length" property of fo_context to new_padding_before_length. fo_context : The FoContext object. new_padding_before_length : The new "padding-before-length" property value. fo_context_get_padding_before_condity () fo_context_get_padding_before_condityFoProperty* fo_context_get_padding_before_condity (FoContext *fo_context); Gets the "padding-before-conditionality" property of fo_context. fo_context : The FoContext object. Returns : The "padding-before-conditionality" property value. fo_context_set_padding_before_condity () fo_context_set_padding_before_condityvoid fo_context_set_padding_before_condity (FoContext *fo_context, FoProperty *new_padding_before_condity); Sets the "padding-before-conditionality" property of fo_context to new_padding_before_condity. fo_context : The FoContext object. new_padding_before_condity : The new "padding-before-conditionality" property value. fo_context_get_padding_bottom () fo_context_get_padding_bottomFoProperty* fo_context_get_padding_bottom (FoContext *fo_context); Gets the "padding-bottom" property of fo_context. fo_context : The FoContext object. Returns : The "padding-bottom" property value. fo_context_set_padding_bottom () fo_context_set_padding_bottomvoid fo_context_set_padding_bottom (FoContext *fo_context, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_context to new_padding_bottom. fo_context : The FoContext object. new_padding_bottom : The new "padding-bottom" property value. fo_context_get_padding_end () fo_context_get_padding_endFoProperty* fo_context_get_padding_end (FoContext *fo_context); Gets the "padding-end" property of fo_context. fo_context : The FoContext object. Returns : The "padding-end" property value. fo_context_set_padding_end () fo_context_set_padding_endvoid fo_context_set_padding_end (FoContext *fo_context, FoProperty *new_padding_end); Sets the "padding-end" property of fo_context to new_padding_end. fo_context : The FoContext object. new_padding_end : The new "padding-end" property value. fo_context_get_padding_end_length () fo_context_get_padding_end_lengthFoProperty* fo_context_get_padding_end_length (FoContext *fo_context); Gets the "padding-end-length" property of fo_context. fo_context : The FoContext object. Returns : The "padding-end-length" property value. fo_context_set_padding_end_length () fo_context_set_padding_end_lengthvoid fo_context_set_padding_end_length (FoContext *fo_context, FoProperty *new_padding_end_length); Sets the "padding-end-length" property of fo_context to new_padding_end_length. fo_context : The FoContext object. new_padding_end_length : The new "padding-end-length" property value. fo_context_get_padding_end_condity () fo_context_get_padding_end_condityFoProperty* fo_context_get_padding_end_condity (FoContext *fo_context); Gets the "padding-end-conditionality" property of fo_context. fo_context : The FoContext object. Returns : The "padding-end-conditionality" property value. fo_context_set_padding_end_condity () fo_context_set_padding_end_condityvoid fo_context_set_padding_end_condity (FoContext *fo_context, FoProperty *new_padding_end_condity); Sets the "padding-end-conditionality" property of fo_context to new_padding_end_condity. fo_context : The FoContext object. new_padding_end_condity : The new "padding-end-conditionality" property value. fo_context_get_padding_left () fo_context_get_padding_leftFoProperty* fo_context_get_padding_left (FoContext *fo_context); Gets the "padding-left" property of fo_context. fo_context : The FoContext object. Returns : The "padding-left" property value. fo_context_set_padding_left () fo_context_set_padding_leftvoid fo_context_set_padding_left (FoContext *fo_context, FoProperty *new_padding_left); Sets the "padding-left" property of fo_context to new_padding_left. fo_context : The FoContext object. new_padding_left : The new "padding-left" property value. fo_context_get_padding_right () fo_context_get_padding_rightFoProperty* fo_context_get_padding_right (FoContext *fo_context); Gets the "padding-right" property of fo_context. fo_context : The FoContext object. Returns : The "padding-right" property value. fo_context_set_padding_right () fo_context_set_padding_rightvoid fo_context_set_padding_right (FoContext *fo_context, FoProperty *new_padding_right); Sets the "padding-right" property of fo_context to new_padding_right. fo_context : The FoContext object. new_padding_right : The new "padding-right" property value. fo_context_get_padding_start () fo_context_get_padding_startFoProperty* fo_context_get_padding_start (FoContext *fo_context); Gets the "padding-start" property of fo_context. fo_context : The FoContext object. Returns : The "padding-start" property value. fo_context_set_padding_start () fo_context_set_padding_startvoid fo_context_set_padding_start (FoContext *fo_context, FoProperty *new_padding_start); Sets the "padding-start" property of fo_context to new_padding_start. fo_context : The FoContext object. new_padding_start : The new "padding-start" property value. fo_context_get_padding_start_length () fo_context_get_padding_start_lengthFoProperty* fo_context_get_padding_start_length (FoContext *fo_context); Gets the "padding-start-length" property of fo_context. fo_context : The FoContext object. Returns : The "padding-start-length" property value. fo_context_set_padding_start_length () fo_context_set_padding_start_lengthvoid fo_context_set_padding_start_length (FoContext *fo_context, FoProperty *new_padding_start_length); Sets the "padding-start-length" property of fo_context to new_padding_start_length. fo_context : The FoContext object. new_padding_start_length : The new "padding-start-length" property value. fo_context_get_padding_start_condity () fo_context_get_padding_start_condityFoProperty* fo_context_get_padding_start_condity (FoContext *fo_context); Gets the "padding-start-conditionality" property of fo_context. fo_context : The FoContext object. Returns : The "padding-start-conditionality" property value. fo_context_set_padding_start_condity () fo_context_set_padding_start_condityvoid fo_context_set_padding_start_condity (FoContext *fo_context, FoProperty *new_padding_start_condity); Sets the "padding-start-conditionality" property of fo_context to new_padding_start_condity. fo_context : The FoContext object. new_padding_start_condity : The new "padding-start-conditionality" property value. fo_context_get_padding_top () fo_context_get_padding_topFoProperty* fo_context_get_padding_top (FoContext *fo_context); Gets the "padding-top" property of fo_context. fo_context : The FoContext object. Returns : The "padding-top" property value. fo_context_set_padding_top () fo_context_set_padding_topvoid fo_context_set_padding_top (FoContext *fo_context, FoProperty *new_padding_top); Sets the "padding-top" property of fo_context to new_padding_top. fo_context : The FoContext object. new_padding_top : The new "padding-top" property value. fo_context_get_page_height () fo_context_get_page_heightFoProperty* fo_context_get_page_height (FoContext *fo_context); Gets the "page-height" property of fo_context. fo_context : The FoContext object. Returns : The "page-height" property value. fo_context_set_page_height () fo_context_set_page_heightvoid fo_context_set_page_height (FoContext *fo_context, FoProperty *new_page_height); Sets the "page-height" property of fo_context to new_page_height. fo_context : The FoContext object. new_page_height : The new "page-height" property value. fo_context_get_page_width () fo_context_get_page_widthFoProperty* fo_context_get_page_width (FoContext *fo_context); Gets the "page-width" property of fo_context. fo_context : The FoContext object. Returns : The "page-width" property value. fo_context_set_page_width () fo_context_set_page_widthvoid fo_context_set_page_width (FoContext *fo_context, FoProperty *new_page_width); Sets the "page-width" property of fo_context to new_page_width. fo_context : The FoContext object. new_page_width : The new "page-width" property value. fo_context_get_provisional_distance_between_starts () fo_context_get_provisional_distance_between_startsFoProperty* fo_context_get_provisional_distance_between_starts (FoContext *fo_context); Gets the "provisional-distance-between-starts" property of fo_context. fo_context : The FoContext object. Returns : The "provisional-distance-between-starts" property value. fo_context_set_provisional_distance_between_starts () fo_context_set_provisional_distance_between_startsvoid fo_context_set_provisional_distance_between_starts (FoContext *fo_context, FoProperty *new_provisional_distance_between_starts); Sets the "provisional-distance-between-starts" property of fo_context to new_provisional_distance_between_starts. fo_context : The FoContext object. new_provisional_distance_between_starts : The new "provisional-distance-between-starts" property value. fo_context_get_provisional_label_separation () fo_context_get_provisional_label_separationFoProperty* fo_context_get_provisional_label_separation (FoContext *fo_context); Gets the "provisional-label-separation" property of fo_context. fo_context : The FoContext object. Returns : The "provisional-label-separation" property value. fo_context_set_provisional_label_separation () fo_context_set_provisional_label_separationvoid fo_context_set_provisional_label_separation (FoContext *fo_context, FoProperty *new_provisional_label_separation); Sets the "provisional-label-separation" property of fo_context to new_provisional_label_separation. fo_context : The FoContext object. new_provisional_label_separation : The new "provisional-label-separation" property value. fo_context_get_ref_id () fo_context_get_ref_idFoProperty* fo_context_get_ref_id (FoContext *fo_context); Gets the "ref-id" property of fo_context. fo_context : The FoContext object. Returns : The "ref-id" property value. fo_context_set_ref_id () fo_context_set_ref_idvoid fo_context_set_ref_id (FoContext *fo_context, FoProperty *new_ref_id); Sets the "ref-id" property of fo_context to new_ref_id. fo_context : The FoContext object. new_ref_id : The new "ref-id" property value. fo_context_get_region_name () fo_context_get_region_nameFoProperty* fo_context_get_region_name (FoContext *fo_context); Gets the "region-name" property of fo_context. fo_context : The FoContext object. Returns : The "region-name" property value. fo_context_set_region_name () fo_context_set_region_namevoid fo_context_set_region_name (FoContext *fo_context, FoProperty *new_region_name); Sets the "region-name" property of fo_context to new_region_name. fo_context : The FoContext object. new_region_name : The new "region-name" property value. fo_context_get_role () fo_context_get_roleFoProperty* fo_context_get_role (FoContext *fo_context); Gets the "role" property of fo_context. fo_context : The FoContext object. Returns : The "role" property value. fo_context_set_role () fo_context_set_rolevoid fo_context_set_role (FoContext *fo_context, FoProperty *new_role); Sets the "role" property of fo_context to new_role. fo_context : The FoContext object. new_role : The new "role" property value. fo_context_get_scaling () fo_context_get_scalingFoProperty* fo_context_get_scaling (FoContext *fo_context); Gets the "scaling" property of fo_context. fo_context : The FoContext object. Returns : The "scaling" property value. fo_context_set_scaling () fo_context_set_scalingvoid fo_context_set_scaling (FoContext *fo_context, FoProperty *new_scaling); Sets the "scaling" property of fo_context to new_scaling. fo_context : The FoContext object. new_scaling : The new "scaling" property value. fo_context_get_scaling_method () fo_context_get_scaling_methodFoProperty* fo_context_get_scaling_method (FoContext *fo_context); Gets the "scaling-method" property of fo_context. fo_context : The FoContext object. Returns : The "scaling-method" property value. fo_context_set_scaling_method () fo_context_set_scaling_methodvoid fo_context_set_scaling_method (FoContext *fo_context, FoProperty *new_scaling_method); Sets the "scaling-method" property of fo_context to new_scaling_method. fo_context : The FoContext object. new_scaling_method : The new "scaling-method" property value. fo_context_get_score_spaces () fo_context_get_score_spacesFoProperty* fo_context_get_score_spaces (FoContext *fo_context); Gets the "score-spaces" property of fo_context. fo_context : The FoContext object. Returns : The "score-spaces" property value. fo_context_set_score_spaces () fo_context_set_score_spacesvoid fo_context_set_score_spaces (FoContext *fo_context, FoProperty *new_score_spaces); Sets the "score-spaces" property of fo_context to new_score_spaces. fo_context : The FoContext object. new_score_spaces : The new "score-spaces" property value. fo_context_get_source_document () fo_context_get_source_documentFoProperty* fo_context_get_source_document (FoContext *fo_context); Gets the "source-document" property of fo_context. fo_context : The FoContext object. Returns : The "source-document" property value. fo_context_set_source_document () fo_context_set_source_documentvoid fo_context_set_source_document (FoContext *fo_context, FoProperty *new_source_document); Sets the "source-document" property of fo_context to new_source_document. fo_context : The FoContext object. new_source_document : The new "source-document" property value. fo_context_get_space_after () fo_context_get_space_afterFoProperty* fo_context_get_space_after (FoContext *fo_context); Gets the "space-after" property of fo_context. fo_context : The FoContext object. Returns : The "space-after" property value. fo_context_set_space_after () fo_context_set_space_aftervoid fo_context_set_space_after (FoContext *fo_context, FoProperty *new_space_after); Sets the "space-after" property of fo_context to new_space_after. fo_context : The FoContext object. new_space_after : The new "space-after" property value. fo_context_set_space_after_minimum () fo_context_set_space_after_minimumvoid fo_context_set_space_after_minimum (FoContext *fo_context, FoProperty *new_space_after_minimum); Sets the "space-after-minimum" property of fo_context to new_space_after_minimum. fo_context : The FoContext object. new_space_after_minimum : The new "space-after-minimum" property value. fo_context_set_space_after_optimum () fo_context_set_space_after_optimumvoid fo_context_set_space_after_optimum (FoContext *fo_context, FoProperty *new_space_after_optimum); Sets the "space-after-optimum" property of fo_context to new_space_after_optimum. fo_context : The FoContext object. new_space_after_optimum : The new "space-after-optimum" property value. fo_context_set_space_after_maximum () fo_context_set_space_after_maximumvoid fo_context_set_space_after_maximum (FoContext *fo_context, FoProperty *new_space_after_maximum); Sets the "space-after-maximum" property of fo_context to new_space_after_maximum. fo_context : The FoContext object. new_space_after_maximum : The new "space-after-maximum" property value. fo_context_set_space_after_precedence () fo_context_set_space_after_precedencevoid fo_context_set_space_after_precedence (FoContext *fo_context, FoProperty *new_space_after_precedence); Sets the "space-after-precedence" property of fo_context to new_space_after_precedence. fo_context : The FoContext object. new_space_after_precedence : The new "space-after-precedence" property value. fo_context_set_space_after_condity () fo_context_set_space_after_condityvoid fo_context_set_space_after_condity (FoContext *fo_context, FoProperty *new_space_after_condity); Sets the "space-after-conditionality" property of fo_context to new_space_after_condity. fo_context : The FoContext object. new_space_after_condity : The new "space-after-conditionality" property value. fo_context_get_space_before () fo_context_get_space_beforeFoProperty* fo_context_get_space_before (FoContext *fo_context); Gets the "space-before" property of fo_context. fo_context : The FoContext object. Returns : The "space-before" property value. fo_context_set_space_before () fo_context_set_space_beforevoid fo_context_set_space_before (FoContext *fo_context, FoProperty *new_space_before); Sets the "space-before" property of fo_context to new_space_before. fo_context : The FoContext object. new_space_before : The new "space-before" property value. fo_context_set_space_before_minimum () fo_context_set_space_before_minimumvoid fo_context_set_space_before_minimum (FoContext *fo_context, FoProperty *new_space_before_minimum); Sets the "space-before-minimum" property of fo_context to new_space_before_minimum. fo_context : The FoContext object. new_space_before_minimum : The new "space-before-minimum" property value. fo_context_set_space_before_optimum () fo_context_set_space_before_optimumvoid fo_context_set_space_before_optimum (FoContext *fo_context, FoProperty *new_space_before_optimum); Sets the "space-before-optimum" property of fo_context to new_space_before_optimum. fo_context : The FoContext object. new_space_before_optimum : The new "space-before-optimum" property value. fo_context_set_space_before_maximum () fo_context_set_space_before_maximumvoid fo_context_set_space_before_maximum (FoContext *fo_context, FoProperty *new_space_before_maximum); Sets the "space-before-maximum" property of fo_context to new_space_before_maximum. fo_context : The FoContext object. new_space_before_maximum : The new "space-before-maximum" property value. fo_context_set_space_before_precedence () fo_context_set_space_before_precedencevoid fo_context_set_space_before_precedence (FoContext *fo_context, FoProperty *new_space_before_precedence); Sets the "space-before-precedence" property of fo_context to new_space_before_precedence. fo_context : The FoContext object. new_space_before_precedence : The new "space-before-precedence" property value. fo_context_set_space_before_condity () fo_context_set_space_before_condityvoid fo_context_set_space_before_condity (FoContext *fo_context, FoProperty *new_space_before_condity); Sets the "space-before-conditionality" property of fo_context to new_space_before_condity. fo_context : The FoContext object. new_space_before_condity : The new "space-before-conditionality" property value. fo_context_get_space_end () fo_context_get_space_endFoProperty* fo_context_get_space_end (FoContext *fo_context); Gets the "space-end" property of fo_context. fo_context : The FoContext object. Returns : The "space-end" property value. fo_context_set_space_end () fo_context_set_space_endvoid fo_context_set_space_end (FoContext *fo_context, FoProperty *new_space_end); Sets the "space-end" property of fo_context to new_space_end. fo_context : The FoContext object. new_space_end : The new "space-end" property value. fo_context_set_space_end_minimum () fo_context_set_space_end_minimumvoid fo_context_set_space_end_minimum (FoContext *fo_context, FoProperty *new_space_end_minimum); Sets the "space-end-minimum" property of fo_context to new_space_end_minimum. fo_context : The FoContext object. new_space_end_minimum : The new "space-end-minimum" property value. fo_context_set_space_end_optimum () fo_context_set_space_end_optimumvoid fo_context_set_space_end_optimum (FoContext *fo_context, FoProperty *new_space_end_optimum); Sets the "space-end-optimum" property of fo_context to new_space_end_optimum. fo_context : The FoContext object. new_space_end_optimum : The new "space-end-optimum" property value. fo_context_set_space_end_maximum () fo_context_set_space_end_maximumvoid fo_context_set_space_end_maximum (FoContext *fo_context, FoProperty *new_space_end_maximum); Sets the "space-end-maximum" property of fo_context to new_space_end_maximum. fo_context : The FoContext object. new_space_end_maximum : The new "space-end-maximum" property value. fo_context_set_space_end_precedence () fo_context_set_space_end_precedencevoid fo_context_set_space_end_precedence (FoContext *fo_context, FoProperty *new_space_end_precedence); Sets the "space-end-precedence" property of fo_context to new_space_end_precedence. fo_context : The FoContext object. new_space_end_precedence : The new "space-end-precedence" property value. fo_context_set_space_end_condity () fo_context_set_space_end_condityvoid fo_context_set_space_end_condity (FoContext *fo_context, FoProperty *new_space_end_condity); Sets the "space-end-conditionality" property of fo_context to new_space_end_condity. fo_context : The FoContext object. new_space_end_condity : The new "space-end-conditionality" property value. fo_context_get_space_start () fo_context_get_space_startFoProperty* fo_context_get_space_start (FoContext *fo_context); Gets the "space-start" property of fo_context. fo_context : The FoContext object. Returns : The "space-start" property value. fo_context_set_space_start () fo_context_set_space_startvoid fo_context_set_space_start (FoContext *fo_context, FoProperty *new_space_start); Sets the "space-start" property of fo_context to new_space_start. fo_context : The FoContext object. new_space_start : The new "space-start" property value. fo_context_set_space_start_minimum () fo_context_set_space_start_minimumvoid fo_context_set_space_start_minimum (FoContext *fo_context, FoProperty *new_space_start_minimum); Sets the "space-start-minimum" property of fo_context to new_space_start_minimum. fo_context : The FoContext object. new_space_start_minimum : The new "space-start-minimum" property value. fo_context_set_space_start_optimum () fo_context_set_space_start_optimumvoid fo_context_set_space_start_optimum (FoContext *fo_context, FoProperty *new_space_start_optimum); Sets the "space-start-optimum" property of fo_context to new_space_start_optimum. fo_context : The FoContext object. new_space_start_optimum : The new "space-start-optimum" property value. fo_context_set_space_start_maximum () fo_context_set_space_start_maximumvoid fo_context_set_space_start_maximum (FoContext *fo_context, FoProperty *new_space_start_maximum); Sets the "space-start-maximum" property of fo_context to new_space_start_maximum. fo_context : The FoContext object. new_space_start_maximum : The new "space-start-maximum" property value. fo_context_set_space_start_precedence () fo_context_set_space_start_precedencevoid fo_context_set_space_start_precedence (FoContext *fo_context, FoProperty *new_space_start_precedence); Sets the "space-start-precedence" property of fo_context to new_space_start_precedence. fo_context : The FoContext object. new_space_start_precedence : The new "space-start-precedence" property value. fo_context_set_space_start_condity () fo_context_set_space_start_condityvoid fo_context_set_space_start_condity (FoContext *fo_context, FoProperty *new_space_start_condity); Sets the "space-start-conditionality" property of fo_context to new_space_start_condity. fo_context : The FoContext object. new_space_start_condity : The new "space-start-conditionality" property value. fo_context_get_span () fo_context_get_spanFoProperty* fo_context_get_span (FoContext *fo_context); Gets the "span" property of fo_context. fo_context : The FoContext object. Returns : The "span" property value. fo_context_set_span () fo_context_set_spanvoid fo_context_set_span (FoContext *fo_context, FoProperty *new_span); Sets the "span" property of fo_context to new_span. fo_context : The FoContext object. new_span : The new "span" property value. fo_context_get_src () fo_context_get_srcFoProperty* fo_context_get_src (FoContext *fo_context); Gets the "src" property of fo_context. fo_context : The FoContext object. Returns : The "src" property value. fo_context_set_src () fo_context_set_srcvoid fo_context_set_src (FoContext *fo_context, FoProperty *new_src); Sets the "src" property of fo_context to new_src. fo_context : The FoContext object. new_src : The new "src" property value. fo_context_get_start_indent () fo_context_get_start_indentFoProperty* fo_context_get_start_indent (FoContext *fo_context); Gets the "start-indent" property of fo_context. fo_context : The FoContext object. Returns : The "start-indent" property value. fo_context_set_start_indent () fo_context_set_start_indentvoid fo_context_set_start_indent (FoContext *fo_context, FoProperty *new_start_indent); Sets the "start-indent" property of fo_context to new_start_indent. fo_context : The FoContext object. new_start_indent : The new "start-indent" property value. fo_context_get_table_layout () fo_context_get_table_layoutFoProperty* fo_context_get_table_layout (FoContext *fo_context); Gets the "table-layout" property of fo_context. fo_context : The FoContext object. Returns : The "table-layout" property value. fo_context_set_table_layout () fo_context_set_table_layoutvoid fo_context_set_table_layout (FoContext *fo_context, FoProperty *new_table_layout); Sets the "table-layout" property of fo_context to new_table_layout. fo_context : The FoContext object. new_table_layout : The new "table-layout" property value. fo_context_get_text_align () fo_context_get_text_alignFoProperty* fo_context_get_text_align (FoContext *fo_context); Gets the "text-align" property of fo_context. fo_context : The FoContext object. Returns : The "text-align" property value. fo_context_set_text_align () fo_context_set_text_alignvoid fo_context_set_text_align (FoContext *fo_context, FoProperty *new_text_align); Sets the "text-align" property of fo_context to new_text_align. fo_context : The FoContext object. new_text_align : The new "text-align" property value. fo_context_get_text_indent () fo_context_get_text_indentFoProperty* fo_context_get_text_indent (FoContext *fo_context); Gets the "text-indent" property of fo_context. fo_context : The FoContext object. Returns : The "text-indent" property value. fo_context_set_text_indent () fo_context_set_text_indentvoid fo_context_set_text_indent (FoContext *fo_context, FoProperty *new_text_indent); Sets the "text-indent" property of fo_context to new_text_indent. fo_context : The FoContext object. new_text_indent : The new "text-indent" property value. fo_context_get_unicode_bidi () fo_context_get_unicode_bidiFoProperty* fo_context_get_unicode_bidi (FoContext *fo_context); Gets the "unicode-bidi" property of fo_context. fo_context : The FoContext object. Returns : The "unicode-bidi" property value. fo_context_set_unicode_bidi () fo_context_set_unicode_bidivoid fo_context_set_unicode_bidi (FoContext *fo_context, FoProperty *new_unicode_bidi); Sets the "unicode-bidi" property of fo_context to new_unicode_bidi. fo_context : The FoContext object. new_unicode_bidi : The new "unicode-bidi" property value. fo_context_get_white_space_collapse () fo_context_get_white_space_collapseFoProperty* fo_context_get_white_space_collapse (FoContext *fo_context); Gets the "white-space-collapse" property of fo_context. fo_context : The FoContext object. Returns : The "white-space-collapse" property value. fo_context_set_white_space_collapse () fo_context_set_white_space_collapsevoid fo_context_set_white_space_collapse (FoContext *fo_context, FoProperty *new_white_space_collapse); Sets the "white-space-collapse" property of fo_context to new_white_space_collapse. fo_context : The FoContext object. new_white_space_collapse : The new "white-space-collapse" property value. fo_context_get_white_space_treatment () fo_context_get_white_space_treatmentFoProperty* fo_context_get_white_space_treatment (FoContext *fo_context); Gets the "white-space-treatment" property of fo_context. fo_context : The FoContext object. Returns : The "white-space-treatment" property value. fo_context_set_white_space_treatment () fo_context_set_white_space_treatmentvoid fo_context_set_white_space_treatment (FoContext *fo_context, FoProperty *new_white_space_treatment); Sets the "white-space-treatment" property of fo_context to new_white_space_treatment. fo_context : The FoContext object. new_white_space_treatment : The new "white-space-treatment" property value. fo_context_get_widows () fo_context_get_widowsFoProperty* fo_context_get_widows (FoContext *fo_context); Gets the "widows" property of fo_context. fo_context : The FoContext object. Returns : The "widows" property value. fo_context_set_widows () fo_context_set_widowsvoid fo_context_set_widows (FoContext *fo_context, FoProperty *new_widows); Sets the "widows" property of fo_context to new_widows. fo_context : The FoContext object. new_widows : The new "widows" property value. fo_context_get_width () fo_context_get_widthFoProperty* fo_context_get_width (FoContext *fo_context); Gets the "width" property of fo_context. fo_context : The FoContext object. Returns : The "width" property value. fo_context_set_width () fo_context_set_widthvoid fo_context_set_width (FoContext *fo_context, FoProperty *new_width); Sets the "width" property of fo_context to new_width. fo_context : The FoContext object. new_width : The new "width" property value. fo_context_get_wrap_option () fo_context_get_wrap_optionFoProperty* fo_context_get_wrap_option (FoContext *fo_context); Gets the "wrap-option" property of fo_context. fo_context : The FoContext object. Returns : The "wrap-option" property value. fo_context_set_wrap_option () fo_context_set_wrap_optionvoid fo_context_set_wrap_option (FoContext *fo_context, FoProperty *new_wrap_option); Sets the "wrap-option" property of fo_context to new_wrap_option. fo_context : The FoContext object. new_wrap_option : The new "wrap-option" property value. fo_context_get_writing_mode () fo_context_get_writing_modeFoProperty* fo_context_get_writing_mode (FoContext *fo_context); Gets the "writing-mode" property of fo_context. fo_context : The FoContext object. Returns : The "writing-mode" property value. fo_context_set_writing_mode () fo_context_set_writing_modevoid fo_context_set_writing_mode (FoContext *fo_context, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_context to new_writing_mode. fo_context : The FoContext object. new_writing_mode : The new "writing-mode" property value. Property Details The <literal>"alignment-adjust"</literal> property FoContext:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoContext:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoContext:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoContext:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"baseline-shift"</literal> property FoContext:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"block-progression-dimension"</literal> property FoContext:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"block-progression-dimension-maximum"</literal> property FoContext:block-progression-dimension-maximum "block-progression-dimension-maximum" FoProperty* : Read Block Progression Dimension Maximum property. The <literal>"block-progression-dimension-minimum"</literal> property FoContext:block-progression-dimension-minimum "block-progression-dimension-minimum" FoProperty* : Read Block Progression Dimension Minimum property. The <literal>"block-progression-dimension-optimum"</literal> property FoContext:block-progression-dimension-optimum "block-progression-dimension-optimum" FoProperty* : Read Block Progression Dimension Optimum property. The <literal>"border"</literal> property FoContext:border "border" FoProperty* : Read Border property. The <literal>"border-after-color"</literal> property FoContext:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-precedence"</literal> property FoContext:border-after-precedence "border-after-precedence" FoProperty* : Read Border After Precedence property. The <literal>"border-after-style"</literal> property FoContext:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoContext:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoContext:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-precedence"</literal> property FoContext:border-before-precedence "border-before-precedence" FoProperty* : Read Border Before Precedence property. The <literal>"border-before-style"</literal> property FoContext:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoContext:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom"</literal> property FoContext:border-bottom "border-bottom" FoProperty* : Read Border Bottom property. The <literal>"border-bottom-color"</literal> property FoContext:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoContext:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoContext:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-collapse"</literal> property FoContext:border-collapse "border-collapse" FoProperty* : Read Border Collapse property. The <literal>"border-color"</literal> property FoContext:border-color "border-color" FoProperty* : Read Border Color property. The <literal>"border-end-color"</literal> property FoContext:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-precedence"</literal> property FoContext:border-end-precedence "border-end-precedence" FoProperty* : Read Border End Precedence property. The <literal>"border-end-style"</literal> property FoContext:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoContext:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left"</literal> property FoContext:border-left "border-left" FoProperty* : Read Border Left property. The <literal>"border-left-color"</literal> property FoContext:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoContext:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoContext:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right"</literal> property FoContext:border-right "border-right" FoProperty* : Read Border Right property. The <literal>"border-right-color"</literal> property FoContext:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoContext:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoContext:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-separation"</literal> property FoContext:border-separation "border-separation" FoProperty* : Read Border Separation property. The <literal>"border-start-color"</literal> property FoContext:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-precedence"</literal> property FoContext:border-start-precedence "border-start-precedence" FoProperty* : Read Border Start Precedence property. The <literal>"border-start-style"</literal> property FoContext:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoContext:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-style"</literal> property FoContext:border-style "border-style" FoProperty* : Read Border Style property. The <literal>"border-top"</literal> property FoContext:border-top "border-top" FoProperty* : Read Border Top property. The <literal>"border-top-color"</literal> property FoContext:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoContext:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoContext:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"border-width"</literal> property FoContext:border-width "border-width" FoProperty* : Read Border Width property. The <literal>"break-after"</literal> property FoContext:break-after "break-after" FoProperty* : Read Break After property. The <literal>"break-before"</literal> property FoContext:break-before "break-before" FoProperty* : Read Break Before property. The <literal>"character"</literal> property FoContext:character "character" FoProperty* : Read Character property. The <literal>"clip"</literal> property FoContext:clip "clip" FoProperty* : Read Clip property. The <literal>"color"</literal> property FoContext:color "color" FoProperty* : Read Color property. The <literal>"column-number"</literal> property FoContext:column-number "column-number" FoProperty* : Read Column Number property. The <literal>"column-width"</literal> property FoContext:column-width "column-width" FoProperty* : Read Column Width property. The <literal>"content-height"</literal> property FoContext:content-height "content-height" FoProperty* : Read Content Height property. The <literal>"content-type"</literal> property FoContext:content-type "content-type" FoProperty* : Read Content Type property. The <literal>"content-width"</literal> property FoContext:content-width "content-width" FoProperty* : Read Content Width property. The <literal>"direction"</literal> property FoContext:direction "direction" FoProperty* : Read Direction property. The <literal>"display-align"</literal> property FoContext:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"dominant-baseline"</literal> property FoContext:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"end-indent"</literal> property FoContext:end-indent "end-indent" FoProperty* : Read End Indent property. The <literal>"extent"</literal> property FoContext:extent "extent" FoProperty* : Read Extent property. The <literal>"flow-name"</literal> property FoContext:flow-name "flow-name" FoProperty* : Read Flow Name property. The <literal>"font-family"</literal> property FoContext:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoContext:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoContext:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoContext:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoContext:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoContext:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"format"</literal> property FoContext:format "format" FoProperty* : Read Format property. The <literal>"grouping-separator"</literal> property FoContext:grouping-separator "grouping-separator" FoProperty* : Read Grouping Separator property. The <literal>"grouping-size"</literal> property FoContext:grouping-size "grouping-size" FoProperty* : Read Grouping Size property. The <literal>"height"</literal> property FoContext:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoContext:id "id" FoProperty* : Read Id property. The <literal>"inline-progression-dimension"</literal> property FoContext:inline-progression-dimension "inline-progression-dimension" FoProperty* : Read Inline Progression Dimension property. The <literal>"inline-progression-dimension-maximum"</literal> property FoContext:inline-progression-dimension-maximum "inline-progression-dimension-maximum" FoProperty* : Read Inline Progression Dimension Maximum property. The <literal>"inline-progression-dimension-minimum"</literal> property FoContext:inline-progression-dimension-minimum "inline-progression-dimension-minimum" FoProperty* : Read Inline Progression Dimension Minimum property. The <literal>"inline-progression-dimension-optimum"</literal> property FoContext:inline-progression-dimension-optimum "inline-progression-dimension-optimum" FoProperty* : Read Inline Progression Dimension Optimum property. The <literal>"keep-together"</literal> property FoContext:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoContext:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoContext:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoContext:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoContext:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoContext:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoContext:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoContext:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoContext:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoContext:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoContext:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoContext:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"letter-value"</literal> property FoContext:letter-value "letter-value" FoProperty* : Read Letter Value property. The <literal>"line-height"</literal> property FoContext:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"line-stacking-strategy"</literal> property FoContext:line-stacking-strategy "line-stacking-strategy" FoProperty* : Read Line Stacking Strategy property. The <literal>"linefeed-treatment"</literal> property FoContext:linefeed-treatment "linefeed-treatment" FoProperty* : Read Linefeed Treatment property. The <literal>"margin"</literal> property FoContext:margin "margin" FoProperty* : Read Margin property. The <literal>"margin-bottom"</literal> property FoContext:margin-bottom "margin-bottom" FoProperty* : Read Margin Bottom property. The <literal>"margin-left"</literal> property FoContext:margin-left "margin-left" FoProperty* : Read Margin Left property. The <literal>"margin-right"</literal> property FoContext:margin-right "margin-right" FoProperty* : Read Margin Right property. The <literal>"margin-top"</literal> property FoContext:margin-top "margin-top" FoProperty* : Read Margin Top property. The <literal>"master-name"</literal> property FoContext:master-name "master-name" FoProperty* : Read Master Name property. The <literal>"master-reference"</literal> property FoContext:master-reference "master-reference" FoProperty* : Read Master Reference property. The <literal>"media-usage"</literal> property FoContext:media-usage "media-usage" FoProperty* : Read Media Usage property. The <literal>"number-columns-repeated"</literal> property FoContext:number-columns-repeated "number-columns-repeated" FoProperty* : Read Number Columns Repeated property. The <literal>"number-columns-spanned"</literal> property FoContext:number-columns-spanned "number-columns-spanned" FoProperty* : Read Number Columns Spanned property. The <literal>"number-rows-spanned"</literal> property FoContext:number-rows-spanned "number-rows-spanned" FoProperty* : Read Number Rows Spanned property. The <literal>"orphans"</literal> property FoContext:orphans "orphans" FoProperty* : Read Orphans property. The <literal>"overflow"</literal> property FoContext:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding"</literal> property FoContext:padding "padding" FoProperty* : Read Padding property. The <literal>"padding-after"</literal> property FoContext:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-after-conditionality"</literal> property FoContext:padding-after-conditionality "padding-after-conditionality" FoProperty* : Read Padding After Conditionality property. The <literal>"padding-after-length"</literal> property FoContext:padding-after-length "padding-after-length" FoProperty* : Read Padding After Length property. The <literal>"padding-before"</literal> property FoContext:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-before-conditionality"</literal> property FoContext:padding-before-conditionality "padding-before-conditionality" FoProperty* : Read Padding Before Conditionality property. The <literal>"padding-before-length"</literal> property FoContext:padding-before-length "padding-before-length" FoProperty* : Read Padding Before Length property. The <literal>"padding-bottom"</literal> property FoContext:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoContext:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-end-conditionality"</literal> property FoContext:padding-end-conditionality "padding-end-conditionality" FoProperty* : Read Padding End Conditionality property. The <literal>"padding-end-length"</literal> property FoContext:padding-end-length "padding-end-length" FoProperty* : Read Padding End Length property. The <literal>"padding-left"</literal> property FoContext:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoContext:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoContext:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-start-conditionality"</literal> property FoContext:padding-start-conditionality "padding-start-conditionality" FoProperty* : Read Padding Start Conditionality property. The <literal>"padding-start-length"</literal> property FoContext:padding-start-length "padding-start-length" FoProperty* : Read Padding Start Length property. The <literal>"padding-top"</literal> property FoContext:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"page-height"</literal> property FoContext:page-height "page-height" FoProperty* : Read Page Height property. The <literal>"page-width"</literal> property FoContext:page-width "page-width" FoProperty* : Read Page Width property. The <literal>"provisional-distance-between-starts"</literal> property FoContext:provisional-distance-between-starts "provisional-distance-between-starts" FoProperty* : Read Provisional Distance Between Starts property. The <literal>"provisional-label-separation"</literal> property FoContext:provisional-label-separation "provisional-label-separation" FoProperty* : Read Provisional Label Separation property. The <literal>"ref-id"</literal> property FoContext:ref-id "ref-id" FoProperty* : Read Ref Id property. The <literal>"region-name"</literal> property FoContext:region-name "region-name" FoProperty* : Read Region Name property. The <literal>"role"</literal> property FoContext:role "role" FoProperty* : Read Role property. The <literal>"scaling"</literal> property FoContext:scaling "scaling" FoProperty* : Read Scaling property. The <literal>"scaling-method"</literal> property FoContext:scaling-method "scaling-method" FoProperty* : Read Scaling Method property. The <literal>"score-spaces"</literal> property FoContext:score-spaces "score-spaces" FoProperty* : Read Score Spaces property. The <literal>"source-document"</literal> property FoContext:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-after"</literal> property FoContext:space-after "space-after" FoProperty* : Read Space After property. The <literal>"space-after-conditionality"</literal> property FoContext:space-after-conditionality "space-after-conditionality" FoProperty* : Write Space After Conditionality property. The <literal>"space-after-maximum"</literal> property FoContext:space-after-maximum "space-after-maximum" FoProperty* : Write Space After Maximum property. The <literal>"space-after-minimum"</literal> property FoContext:space-after-minimum "space-after-minimum" FoProperty* : Write Space After Minimum property. The <literal>"space-after-optimum"</literal> property FoContext:space-after-optimum "space-after-optimum" FoProperty* : Write Space After Optimum property. The <literal>"space-after-precedence"</literal> property FoContext:space-after-precedence "space-after-precedence" FoProperty* : Write Space After Precedence property. The <literal>"space-before"</literal> property FoContext:space-before "space-before" FoProperty* : Read Space Before property. The <literal>"space-before-conditionality"</literal> property FoContext:space-before-conditionality "space-before-conditionality" FoProperty* : Write Space Before Conditionality property. The <literal>"space-before-maximum"</literal> property FoContext:space-before-maximum "space-before-maximum" FoProperty* : Write Space Before Maximum property. The <literal>"space-before-minimum"</literal> property FoContext:space-before-minimum "space-before-minimum" FoProperty* : Write Space Before Minimum property. The <literal>"space-before-optimum"</literal> property FoContext:space-before-optimum "space-before-optimum" FoProperty* : Write Space Before Optimum property. The <literal>"space-before-precedence"</literal> property FoContext:space-before-precedence "space-before-precedence" FoProperty* : Write Space Before Precedence property. The <literal>"space-end"</literal> property FoContext:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-end-conditionality"</literal> property FoContext:space-end-conditionality "space-end-conditionality" FoProperty* : Write Space End Conditionality property. The <literal>"space-end-maximum"</literal> property FoContext:space-end-maximum "space-end-maximum" FoProperty* : Write Space End Maximum property. The <literal>"space-end-minimum"</literal> property FoContext:space-end-minimum "space-end-minimum" FoProperty* : Write Space End Minimum property. The <literal>"space-end-optimum"</literal> property FoContext:space-end-optimum "space-end-optimum" FoProperty* : Write Space End Optimum property. The <literal>"space-end-precedence"</literal> property FoContext:space-end-precedence "space-end-precedence" FoProperty* : Write Space End Precedence property. The <literal>"space-start"</literal> property FoContext:space-start "space-start" FoProperty* : Read Space Start property. The <literal>"space-start-conditionality"</literal> property FoContext:space-start-conditionality "space-start-conditionality" FoProperty* : Write Space Start Conditionality property. The <literal>"space-start-maximum"</literal> property FoContext:space-start-maximum "space-start-maximum" FoProperty* : Write Space Start Maximum property. The <literal>"space-start-minimum"</literal> property FoContext:space-start-minimum "space-start-minimum" FoProperty* : Write Space Start Minimum property. The <literal>"space-start-optimum"</literal> property FoContext:space-start-optimum "space-start-optimum" FoProperty* : Write Space Start Optimum property. The <literal>"space-start-precedence"</literal> property FoContext:space-start-precedence "space-start-precedence" FoProperty* : Write Space Start Precedence property. The <literal>"span"</literal> property FoContext:span "span" FoProperty* : Read Span property. The <literal>"src"</literal> property FoContext:src "src" FoProperty* : Read Src property. The <literal>"start-indent"</literal> property FoContext:start-indent "start-indent" FoProperty* : Read Start Indent property. The <literal>"table-layout"</literal> property FoContext:table-layout "table-layout" FoProperty* : Read Table Layout property. The <literal>"text-align"</literal> property FoContext:text-align "text-align" FoProperty* : Read Text Align property. The <literal>"text-indent"</literal> property FoContext:text-indent "text-indent" FoProperty* : Read Text Indent property. The <literal>"unicode-bidi"</literal> property FoContext:unicode-bidi "unicode-bidi" FoProperty* : Read Unicode Bidi property. The <literal>"white-space-collapse"</literal> property FoContext:white-space-collapse "white-space-collapse" FoProperty* : Read White Space Collapse property. The <literal>"white-space-treatment"</literal> property FoContext:white-space-treatment "white-space-treatment" FoProperty* : Read White Space Treatment property. The <literal>"widows"</literal> property FoContext:widows "widows" FoProperty* : Read Widows property. The <literal>"width"</literal> property FoContext:width "width" FoProperty* : Read Width property. The <literal>"wrap-option"</literal> property FoContext:wrap-option "wrap-option" FoProperty* : Read Wrap Option property. The <literal>"writing-mode"</literal> property FoContext:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-datatype.xml0000644000175000017500000011407111156164731014615 00000000000000 FoDatatype 3 XMLROFF Library FoDatatype Synopsis FoDatatype; FoDatatypeClass; #define FO_DATATYPE_ERROR GQuark fo_datatype_error_quark (void); enum FoDatatypeError; FoDatatype* fo_datatype_new (void); FoDatatype* fo_datatype_copy (FoDatatype *datatype); FoDatatype* fo_datatype_get_condity_discard (void); FoDatatype* fo_datatype_get_condity_retain (void); FoDatatype* fo_datatype_add (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_sub (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_mul (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_div (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_mod (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_max (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_min (FoDatatype *arg1, FoDatatype *arg2); FoDatatype* fo_datatype_floor (FoDatatype *arg); FoDatatype* fo_datatype_ceiling (FoDatatype *arg); FoDatatype* fo_datatype_abs (FoDatatype *arg); FoDatatype* fo_datatype_round (FoDatatype *arg); FoDatatype* fo_datatype_negate (FoDatatype *arg); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoBoolean +----FoChar +----FoColor +----FoEnum +----FoExpression +----FoId +----FoInteger +----FoKeep +----FoLengthBpIpD +----FoLengthCond +----FoLength +----FoLengthRange +----FoName +----FoNumber +----FoNumeric +----FoPercentage +----FoSpace +----FoString +----FoUnknown +----FoUriSpecification Description Details FoDatatype FoDatatypetypedef struct _FoDatatype FoDatatype; FoDatatypeClass FoDatatypeClasstypedef struct _FoDatatypeClass FoDatatypeClass; FO_DATATYPE_ERROR FO_DATATYPE_ERROR#define FO_DATATYPE_ERROR fo_datatype_error_quark () fo_datatype_error_quark () fo_datatype_error_quarkGQuark fo_datatype_error_quark (void); Get the error quark for FoDatatype. If the quark does not yet exist, create it. Returns : Quark associated with FoDatatype errors enum FoDatatypeError FoDatatypeErrortypedef enum { FO_DATATYPE_ERROR_WRONG_DATATYPE, /* Wrong datatype for context */ FO_DATATYPE_ERROR_ADD, /* Cannot add datatype types */ FO_DATATYPE_ERROR_SUB, /* Cannot subtract datatype types */ FO_DATATYPE_ERROR_MUL, /* Cannot multiply datatype types */ FO_DATATYPE_ERROR_DIV, /* Cannot divide datatype types */ FO_DATATYPE_ERROR_MOD, /* Cannot get mod of datatype types */ FO_DATATYPE_ERROR_MAX, /* max() error */ FO_DATATYPE_ERROR_MIN, /* min() error */ FO_DATATYPE_ERROR_FLOOR, /* floor() error */ FO_DATATYPE_ERROR_ROUND, /* round() error */ FO_DATATYPE_ERROR_CEILING, /* ceiling() error */ FO_DATATYPE_ERROR_ABS, /* abs() error */ FO_DATATYPE_ERROR_NEGATE /* negation error */ } FoDatatypeError; fo_datatype_new () fo_datatype_newFoDatatype* fo_datatype_new (void); Creates a new FoDatatype initialized to default value. Returns : the new FoDatatype fo_datatype_copy () fo_datatype_copyFoDatatype* fo_datatype_copy (FoDatatype *datatype); Makes a copy of datatype datatype : FoDatatype to be copied Returns : Copy of datatype fo_datatype_get_condity_discard () fo_datatype_get_condity_discardFoDatatype* fo_datatype_get_condity_discard (void); Returns : The FoDatatype value for conditionality="discard" fo_datatype_get_condity_retain () fo_datatype_get_condity_retainFoDatatype* fo_datatype_get_condity_retain (void); Returns : The FoDatatype value for conditionality="retain" fo_datatype_add () fo_datatype_addFoDatatype* fo_datatype_add (FoDatatype *arg1, FoDatatype *arg2); Find addition of the values of arg1 and arg2. arg1 and arg2 are unchanged. The type of the return value depends on the types of arg1 and arg2: fo_datatype_add (FoInteger, FoInteger) --> FoInteger fo_datatype_add (FoInteger, FoNumber) --> FoNumber fo_datatype_add (FoNumber, FoInteger) --> FoNumber fo_datatype_add (FoNumber, FoNumber) --> FoNumber fo_datatype_add (FoLength, FoLength) --> FoLength fo_datatype_add (FoPercentage, FoPercentage) --> FoPercentage arg1 : FoDatatype. arg2 : FoDatatype. Returns : FoDatatype with value that is equal to addition of values of arg1 and arg2, or FoError if cannot compute addition of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2. fo_datatype_sub () fo_datatype_subFoDatatype* fo_datatype_sub (FoDatatype *arg1, FoDatatype *arg2); Find subtraction of the value of arg2 from the value of arg1. arg1 and arg2 are unchanged. The type of the return value depends on the types of arg1 and arg2: fo_datatype_sub (FoInteger, FoInteger) --> FoInteger fo_datatype_sub (FoInteger, FoNumber) --> FoNumber fo_datatype_sub (FoNumber, FoInteger) --> FoNumber fo_datatype_sub (FoNumber, FoNumber) --> FoNumber fo_datatype_sub (FoLength, FoLength) --> FoLength fo_datatype_sub (FoPercentage, FoPercentage) --> FoPercentage arg1 : FoDatatype. arg2 : FoDatatype. Returns : FoDatatype with value that is equal to subtraction of the value of arg2 from the value of arg1, or FoError if cannot compute subisor of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2. fo_datatype_mul () fo_datatype_mulFoDatatype* fo_datatype_mul (FoDatatype *arg1, FoDatatype *arg2); Find multiple of values of arg1 and arg2. arg1 and arg2 are unchanged. The type of the return value depends on the types of arg1 and arg2: fo_datatype_mul (FoInteger, FoInteger) --> FoInteger fo_datatype_mul (FoInteger, FoNumber) --> FoNumber fo_datatype_mul (FoInteger, FoLength) --> FoLength fo_datatype_mul (FoInteger, FoPercentage) --> FoInteger fo_datatype_mul (FoNumber, FoInteger) --> FoNumber fo_datatype_mul (FoNumber, FoNumber) --> FoNumber fo_datatype_mul (FoNumber, FoLength) --> FoLength fo_datatype_mul (FoNumber, FoPercentage) --> FoNumber fo_datatype_mul (FoLength, FoInteger) --> FoLength fo_datatype_mul (FoLength, FoNumber) --> FoLength fo_datatype_mul (FoLength, FoPercentage) --> FoLength fo_datatype_mul (FoPercentage, FoInteger) --> FoInteger fo_datatype_mul (FoPercentage, FoNumber) --> FoNumber fo_datatype_mul (FoPercentage, FoLength) --> FoLength fo_datatype_mul (FoPercentage, FoPercentage) --> FoPercentage arg1 : FoDatatype. arg2 : FoDatatype. Returns : FoDatatype with value that is equal to mulisor of values of arg1 and arg2, or FoError if cannot compute mulisor of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2. fo_datatype_div () fo_datatype_divFoDatatype* fo_datatype_div (FoDatatype *arg1, FoDatatype *arg2); Find divisor of values of arg1 and arg2. arg1 and arg2 are unchanged. The type of the return value depends on the types of arg1 and arg2: fo_datatype_div (FoInteger, FoInteger) --> FoInteger fo_datatype_div (FoInteger, FoNumber) --> FoNumber fo_datatype_div (FoNumber, FoInteger) --> FoNumber fo_datatype_div (FoNumber, FoNumber) --> FoNumber fo_datatype_div (FoLength, FoLength) --> FoNumber fo_datatype_div (FoLength, FoInteger) --> FoLength fo_datatype_div (FoLength, FoNumber) --> FoLength fo_datatype_div (FoLength, FoPercentage) --> FoLength fo_datatype_div (FoPercentage, FoPercentage) --> FoPercentage fo_datatype_div (FoPercentage, FoNumber) --> FoPercentage fo_datatype_div (FoPercentage, FoInteger) --> FoPercentage arg1 : FoDatatype. arg2 : FoDatatype. Returns : FoDatatype with value that is equal to divisor of values of arg1 and arg2, or FoError if cannot compute divisor of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2. fo_datatype_mod () fo_datatype_modFoDatatype* fo_datatype_mod (FoDatatype *arg1, FoDatatype *arg2); Find modulus of values of arg1 and arg2. arg1 and arg2 are unchanged. The type of the return value depends on the types of arg1 and arg2: fo_datatype_mod (FoInteger, FoInteger) --> FoInteger fo_datatype_mod (FoInteger, FoNumber) --> FoNumber fo_datatype_mod (FoNumber, FoInteger) --> FoNumber fo_datatype_mod (FoNumber, FoNumber) --> FoNumber fo_datatype_mod (FoLength, FoLength) --> FoNumber fo_datatype_mod (FoLength, FoInteger) --> FoNumber fo_datatype_mod (FoLength, FoNumber) --> FoNumber fo_datatype_mod (FoLength, FoPercentage) --> FoNumber fo_datatype_mod (FoPercentage, FoPercentage) --> FoNumber fo_datatype_mod (FoPercentage, FoNumber) --> FoPercentage fo_datatype_mod (FoPercentage, FoInteger) --> FoPercentage arg1 : FoDatatype. arg2 : FoDatatype. Returns : FoDatatype with value that is equal to modulus of values of arg1 and arg2, or FoError if cannot compute modulus of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2. fo_datatype_max () fo_datatype_maxFoDatatype* fo_datatype_max (FoDatatype *arg1, FoDatatype *arg2); Find maximum of values of arg1 and arg2. arg1 and arg2 are unchanged. arg1 : Instance of child type of FoDatatype. arg2 : FoDatatype of same child type as arg1. Returns : FoDatatype of same type as arg1 and arg2 and with value that is equal to maximum of values of arg1 and arg2, or FoError if cannot compute maximum of arg1 and arg2. fo_datatype_min () fo_datatype_minFoDatatype* fo_datatype_min (FoDatatype *arg1, FoDatatype *arg2); Find minimum of values of arg1 and arg2. arg1 and arg2 are unchanged. arg1 : Instance of child type of FoDatatype. arg2 : FoDatatype of same child type as arg1. Returns : FoDatatype of same type as arg1 and arg2 and with value that is equal to minimum of values of arg1 and arg2, or FoError if cannot compute minimum of arg1 and arg2. fo_datatype_floor () fo_datatype_floorFoDatatype* fo_datatype_floor (FoDatatype *arg); Computed floor value of value of arg. arg is unchanged. arg : FoDatatype. Returns : FoDatatype of same type as arg and with value that is floor value of value of arg, or FoError if cannot compute floor of arg. fo_datatype_ceiling () fo_datatype_ceilingFoDatatype* fo_datatype_ceiling (FoDatatype *arg); Computed ceiling value of value of arg. arg is unchanged. arg : FoDatatype. Returns : FoDatatype of same type as arg and with value that is ceiling value of value of arg, or FoError if cannot compute ceiling of arg. fo_datatype_abs () fo_datatype_absFoDatatype* fo_datatype_abs (FoDatatype *arg); Compute absolute value of value of arg. arg is unchanged. arg : FoDatatype. Returns : FoDatatype of same type as arg and with value that is absolute value of value of arg, or FoError if cannot compute absolute value of arg. fo_datatype_round () fo_datatype_roundFoDatatype* fo_datatype_round (FoDatatype *arg); Computed rounded value of value of arg. arg is unchanged. arg : FoDatatype to round. Returns : FoDatatype of same type as arg and with value that is rounded value of value of arg, of FoError is cannot round arg. fo_datatype_negate () fo_datatype_negateFoDatatype* fo_datatype_negate (FoDatatype *arg); Compute negated value of value of arg. arg is unchanged. arg : FoDatatype to negate. Returns : FoDatatype of same type as arg and negated value, or FoError if cannot compute negated value of arg. xmlroff-0.6.2/docs/xml/fo-declarations.xml0000644000175000017500000000535411156164731015455 00000000000000 declarations 3 XMLROFF Library declarations Synopsis FoDeclarations; FoDeclarationsClass; FoFo* fo_declarations_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoDeclarations Description Details FoDeclarations FoDeclarationstypedef struct _FoDeclarations FoDeclarations; FoDeclarationsClass FoDeclarationsClasstypedef struct _FoDeclarationsClass FoDeclarationsClass; fo_declarations_new () fo_declarations_newFoFo* fo_declarations_new (void); Creates a new FoDeclarations initialized to default value. Returns : the new FoDeclarations. xmlroff-0.6.2/docs/xml/fo-doc-cairo.xml0000644000175000017500000001053611156164731014643 00000000000000 FoDocCairo 3 XMLROFF Library FoDocCairo Cairo backend Synopsis FoDocCairo; FoDocCairoClass; FoDoc* fo_doc_cairo_new (void); void fo_doc_cairo_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); Description Cairo backend. Details FoDocCairo FoDocCairotypedef struct _FoDocCairo FoDocCairo; FoDocCairoClass FoDocCairoClasstypedef struct _FoDocCairoClass FoDocCairoClass; fo_doc_cairo_new () fo_doc_cairo_newFoDoc* fo_doc_cairo_new (void); Creates a new FoDoc. Returns : the newly created FoDoc. fo_doc_cairo_open_file () fo_doc_cairo_open_filevoid fo_doc_cairo_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); Open filename as the output file for fo_doc. No reference to libfo_context is kept. fo_doc : FoDoc. filename : File to open as output. libfo_context : FoLibfoContext specifying file format. error : GError that is set if an error occurs. xmlroff-0.6.2/docs/xml/fo-doc-commands.xml0000644000175000017500000011726211156164731015353 00000000000000 fo-doc-commands 3 XMLROFF Library fo-doc-commands Synopsis void fo_doc_begin_page (FoDoc *fo_doc, gdouble width, gdouble height, GError **error); void fo_doc_end_page (FoDoc *fo_doc); FoDatatype* fo_doc_get_fill_color (FoDoc *fo_doc); void fo_doc_set_fill_color (FoDoc *fo_doc, FoDatatype *color); FoDatatype* fo_doc_get_stroke_color (FoDoc *fo_doc); void fo_doc_set_stroke_color (FoDoc *fo_doc, FoDatatype *color); FoDocLineCap fo_doc_get_line_cap (FoDoc *fo_doc); void fo_doc_set_line_cap (FoDoc *fo_doc, FoDocLineCap line_cap); FoDocLineJoin fo_doc_get_line_join (FoDoc *fo_doc); void fo_doc_set_line_join (FoDoc *fo_doc, FoDocLineJoin line_join); gdouble fo_doc_get_line_width (FoDoc *fo_doc); void fo_doc_set_line_width (FoDoc *fo_doc, gdouble line_width); void fo_doc_set_dash (FoDoc *fo_doc, gdouble b, gdouble w); void fo_doc_translate (FoDoc *fo_doc, gdouble x, gdouble y); void fo_doc_clip (FoDoc *fo_doc); void fo_doc_save (FoDoc *fo_doc); void fo_doc_restore (FoDoc *fo_doc); void fo_doc_line_to (FoDoc *fo_doc, gdouble x, gdouble y); void fo_doc_move_to (FoDoc *fo_doc, gdouble x, gdouble y); void fo_doc_line_stroked (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1); void fo_doc_rect_stroked (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); void fo_doc_rect_filled (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); void fo_doc_fill (FoDoc *fo_doc); void fo_doc_stroke (FoDoc *fo_doc); void fo_doc_place_image (FoDoc *fo_doc, FoImage *fo_image, gdouble x, gdouble y, gdouble xscale, gdouble yscale); FoFontDesc* fo_doc_get_font_desc (FoDoc *fo_doc); void fo_doc_render_layout_lines (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); void fo_doc_render_layout (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); Description Details fo_doc_begin_page () fo_doc_begin_pagevoid fo_doc_begin_page (FoDoc *fo_doc, gdouble width, gdouble height, GError **error); Add a new page to fo_doc. This must always be paired with a matching fo_doc_end_page call. fo_doc : FoDoc. width : Width of the new page. height : Height of the new page. error : Indication of any error that occurred. fo_doc_end_page () fo_doc_end_pagevoid fo_doc_end_page (FoDoc *fo_doc); Finish the current page of fo_doc. fo_doc : FoDoc. fo_doc_get_fill_color () fo_doc_get_fill_colorFoDatatype* fo_doc_get_fill_color (FoDoc *fo_doc); Get the current fill color of fo_doc. fo_doc : FoDoc. Returns : FoDatatype for the current fill color. fo_doc_set_fill_color () fo_doc_set_fill_colorvoid fo_doc_set_fill_color (FoDoc *fo_doc, FoDatatype *color); Set the fill color of fo_doc to color. fo_doc : FoDoc. color : FoDatatype for new fill color. fo_doc_get_stroke_color () fo_doc_get_stroke_colorFoDatatype* fo_doc_get_stroke_color (FoDoc *fo_doc); Get the current stroke color of fo_doc. fo_doc : FoDoc. Returns : FoDatatype for the current stroke color. fo_doc_set_stroke_color () fo_doc_set_stroke_colorvoid fo_doc_set_stroke_color (FoDoc *fo_doc, FoDatatype *color); Set the stroke color of fo_doc to color. fo_doc : FoDoc. color : FoDatatype for new stroke color. fo_doc_get_line_cap () fo_doc_get_line_capFoDocLineCap fo_doc_get_line_cap (FoDoc *fo_doc); Get the current "linecap" parameter value of fo_doc. fo_doc : FoDoc. Returns : Current "linecap" parameter value. fo_doc_set_line_cap () fo_doc_set_line_capvoid fo_doc_set_line_cap (FoDoc *fo_doc, FoDocLineCap line_cap); Set the "linecap" parameter value of fo_doc. fo_doc : FoDoc. line_cap : New "linecap" parameter value. fo_doc_get_line_join () fo_doc_get_line_joinFoDocLineJoin fo_doc_get_line_join (FoDoc *fo_doc); Get the current "linejoin" parameter value of fo_doc. fo_doc : FoDoc. Returns : Current "linejoin" parameter value. fo_doc_set_line_join () fo_doc_set_line_joinvoid fo_doc_set_line_join (FoDoc *fo_doc, FoDocLineJoin line_join); Set the "linejoin" parameter value of fo_doc. fo_doc : FoDoc. line_join : New "linejoin" parameter value. fo_doc_get_line_width () fo_doc_get_line_widthgdouble fo_doc_get_line_width (FoDoc *fo_doc); Get the current line width of fo_doc. fo_doc : FoDoc. Returns : Current line width. fo_doc_set_line_width () fo_doc_set_line_widthvoid fo_doc_set_line_width (FoDoc *fo_doc, gdouble line_width); Set the line width of fo_doc. fo_doc : FoDoc. line_width : New line width value. fo_doc_set_dash () fo_doc_set_dashvoid fo_doc_set_dash (FoDoc *fo_doc, gdouble b, gdouble w); Set the current dash pattern of fo_doc. The dash pattern is the ratio of b to w. Set b and w to 0 to produce a solid line. The dash pattern is set to solid (b = w = 0) at the beginning of each page. fo_doc : FoDoc. b : Number of black units. w : Number of white units. fo_doc_translate () fo_doc_translatevoid fo_doc_translate (FoDoc *fo_doc, gdouble x, gdouble y); Translate the origin of the coordinate system of fo_doc. x and y are measured in the old coordinate system. fo_doc : FoDoc. x : X-coordinate of the new origin of the coordinate system. y : Y-coordinate of the new origin of the coordinate system. fo_doc_clip () fo_doc_clipvoid fo_doc_clip (FoDoc *fo_doc); Use the current path of fo_doc as its clipping path. fo_doc : FoDoc. fo_doc_save () fo_doc_savevoid fo_doc_save (FoDoc *fo_doc); Save the current graphics state of fo_doc. fo_doc : FoDoc. fo_doc_restore () fo_doc_restorevoid fo_doc_restore (FoDoc *fo_doc); Restore the most recently saved graphics state of fo_doc. fo_doc : FoDoc. fo_doc_line_to () fo_doc_line_tovoid fo_doc_line_to (FoDoc *fo_doc, gdouble x, gdouble y); Draw a line from the current point to another point. fo_doc : FoDoc. x : X-coordinate of the new current point. y : Y-coordinate of the new current point. fo_doc_move_to () fo_doc_move_tovoid fo_doc_move_to (FoDoc *fo_doc, gdouble x, gdouble y); Set the current point of fo_doc to (x, y). fo_doc : FoDoc. x : X-coordinate of the new current point. y : Y-coordinate of the new current point. fo_doc_line_stroked () fo_doc_line_strokedvoid fo_doc_line_stroked (FoDoc *fo_doc, gdouble x0, gdouble y0, gdouble x1, gdouble y1); Draw a line from (x0,y0) to (x1,y1). fo_doc : FoDoc. x0 : X-coordinate of the start of the line. y0 : Y-coordinate of the start of the line. x1 : X-coordinate of the end of the line. y1 : Y-coordinate of the end of the line. fo_doc_rect_stroked () fo_doc_rect_strokedvoid fo_doc_rect_stroked (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); Draw an outline rectangle. fo_doc : FoDoc. x : X-coordinate of the lower-left corner of the rectangle. y : Y-coordinate of the lower-left corner of the rectangle. width : Width of the rectangle. height : Height of the rectangle. fo_doc_rect_filled () fo_doc_rect_filledvoid fo_doc_rect_filled (FoDoc *fo_doc, gdouble x, gdouble y, gdouble width, gdouble height); Draw a filled rectangle. fo_doc : FoDoc. x : X-coordinate of the lower-left corner of the rectangle. y : Y-coordinate of the lower-left corner of the rectangle. width : Width of the rectangle. height : Height of the rectangle. fo_doc_fill () fo_doc_fillvoid fo_doc_fill (FoDoc *fo_doc); Fill the interior of the path of fo_doc with the current fill color. fo_doc : FoDoc. fo_doc_stroke () fo_doc_strokevoid fo_doc_stroke (FoDoc *fo_doc); Stroke the path of fo_doc and clear the path. fo_doc : FoDoc. fo_doc_place_image () fo_doc_place_imagevoid fo_doc_place_image (FoDoc *fo_doc, FoImage *fo_image, gdouble x, gdouble y, gdouble xscale, gdouble yscale); Places fo_image in fo_doc at position given by x and y with image scaled by xscale and yscale. fo_doc : FoDoc in which to place image fo_image : FoImage x : X-offset y : Y-offset xscale : Scale to apply to X dimension of image yscale : Scale to apply to Y dimension of image fo_doc_get_font_desc () fo_doc_get_font_descFoFontDesc* fo_doc_get_font_desc (FoDoc *fo_doc); Get the PangoFontDescription in fo_doc. fo_doc : FoDoc. Returns : PangoFontDescription in fo_doc. fo_doc_render_layout_lines () fo_doc_render_layout_linesvoid fo_doc_render_layout_lines (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); Renders the lines in area_layout at position (x, y) on current page of fo_doc. fo_doc : FoDoc for which to render lines. area_layout : FoArea containing lines. x : X-offset y : Y-offset fo_doc_render_layout () fo_doc_render_layoutvoid fo_doc_render_layout (FoDoc *fo_doc, FoArea *area_layout, gdouble x, gdouble y); Renders area_layout at position (x, y) on current page of fo_doc. fo_doc : FoDoc to which to render. area_layout : FoArea containing lines. x : X-offset y : Y-offset xmlroff-0.6.2/docs/xml/fo-doc-gp.xml0000644000175000017500000001040711156164731014151 00000000000000 FoDocGP 3 XMLROFF Library FoDocGP GNOME Print backend Synopsis FoDocGP; FoDocGPClass; FoDoc* fo_doc_gp_new (void); void fo_doc_gp_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); Description GNOME Print backend. Details FoDocGP FoDocGPtypedef struct _FoDocGP FoDocGP; FoDocGPClass FoDocGPClasstypedef struct _FoDocGPClass FoDocGPClass; fo_doc_gp_new () fo_doc_gp_newFoDoc* fo_doc_gp_new (void); Creates a new FoDoc. Returns : the newly created FoDoc. fo_doc_gp_open_file () fo_doc_gp_open_filevoid fo_doc_gp_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); Open filename as the output file for fo_doc. No reference to libfo_context is kept. fo_doc : FoDoc. filename : File to open as output. libfo_context : FoLibfoContext specifying file format. error : GError that is set if an error occurs. xmlroff-0.6.2/docs/xml/fo-doc.xml0000644000175000017500000003573411156164731013557 00000000000000 FoDoc 3 XMLROFF Library FoDoc Abstract output document type Synopsis FoDoc; FoDocClass; #define FO_DOC_ERROR GQuark fo_doc_error_quark (void); enum FoDocError; enum FoDocLineCap; enum FoDocLineJoin; FoDoc* fo_doc_new (void); FoDoc* fo_doc_new_from_type (const gchar *type); FoFlagsFormat fo_doc_formats_from_name (const gchar *name); void fo_doc_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); FoLayout* fo_doc_get_new_layout (FoDoc *fo_doc); const gchar* fo_doc_get_language (FoDoc *fo_doc); void fo_doc_set_language (FoDoc *fo_doc, const gchar *language); FoEnumAreaDirection fo_doc_get_base_dir (FoDoc *fo_doc); void fo_doc_set_base_dir (FoDoc *fo_doc, FoEnumAreaDirection base_dir); Description FoDoc provides the primitives for writing text, lines, rectangles, etc., to the output. It is generalised so that libfo can support multiple backend implementations (and add and remove backend implementations) without having to restructure the rest of libfo. Details FoDoc FoDoctypedef struct _FoDoc FoDoc; FoDocClass FoDocClasstypedef struct _FoDocClass FoDocClass; FO_DOC_ERROR FO_DOC_ERROR#define FO_DOC_ERROR fo_doc_error_quark () fo_doc_error_quark () fo_doc_error_quarkGQuark fo_doc_error_quark (void); Get the error quark for FoDoc. If the quark does not yet exist, create it. Returns : Quark associated with FoDoc errors. enum FoDocError FoDocErrortypedef enum { FO_DOC_ERROR_FAILED, FO_DOC_ERROR_OPEN_FAILED, /* Cannot open output document */ FO_DOC_ERROR_UNSUPPORTED_FORMAT, /* Unsupported document format */ FO_DOC_ERROR_LAST } FoDocError; enum FoDocLineCap FoDocLineCaptypedef enum { FO_DOC_LINE_CAP_INVALID, FO_DOC_LINE_CAP_BUTT, FO_DOC_LINE_CAP_ROUND, FO_DOC_LINE_CAP_SQUARE, FO_DOC_LINE_CAP_LIMIT } FoDocLineCap; enum FoDocLineJoin FoDocLineJointypedef enum { FO_DOC_LINE_JOIN_INVALID, FO_DOC_LINE_JOIN_MITER, FO_DOC_LINE_JOIN_ROUND, FO_DOC_LINE_JOIN_BEVEL, FO_DOC_LINE_JOIN_LIMIT } FoDocLineJoin; fo_doc_new () fo_doc_newFoDoc* fo_doc_new (void); Creates a new FoDoc. Returns : the newly created FoDoc. fo_doc_new_from_type () fo_doc_new_from_typeFoDoc* fo_doc_new_from_type (const gchar *type); Creates a new FoDoc. type : Type of the new FoDoc. Returns : the newly created FoDoc. fo_doc_formats_from_name () fo_doc_formats_from_nameFoFlagsFormat fo_doc_formats_from_name (const gchar *name); Gets the output formats supported by name class. name should not be NULL. If name does not implement any formats, returns FO_FLAG_FORMAT_UNKNOWN. name : Registered FoObject type name, e.g., "FoDocCairo" Returns : FoFlagsFormat with zero or more bits set for the supported formats. fo_doc_open_file () fo_doc_open_filevoid fo_doc_open_file (FoDoc *fo_doc, const gchar *filename, FoLibfoContext *libfo_context, GError **error); No reference to libfo_context is kept. fo_doc : FoDoc for which to open an output file. filename : Name of output file. libfo_context : FoLibfoContext containing extra info. error : Information about any error that occurred. fo_doc_get_new_layout () fo_doc_get_new_layoutFoLayout* fo_doc_get_new_layout (FoDoc *fo_doc); Get a new FoLayout for use with fo_doc. fo_doc : FoDoc. Returns : New FoLayout. fo_doc_get_language () fo_doc_get_languageconst gchar* fo_doc_get_language (FoDoc *fo_doc); Get the language in fo_doc. fo_doc : FoDoc Returns : Language of file parsed to make fo_doc. fo_doc_set_language () fo_doc_set_languagevoid fo_doc_set_language (FoDoc *fo_doc, const gchar *language); Set the language in fo_doc. fo_doc : FoDoc. language : Language. fo_doc_get_base_dir () fo_doc_get_base_dirFoEnumAreaDirection fo_doc_get_base_dir (FoDoc *fo_doc); Get the FoEnumAreaDirection used as input to fo_doc. fo_doc : FoDoc. Returns : FoEnumAreaDirection used as input to fo_doc. fo_doc_set_base_dir () fo_doc_set_base_dirvoid fo_doc_set_base_dir (FoDoc *fo_doc, FoEnumAreaDirection base_dir); Set the FoEnumAreaDirection in fo_doc. fo_doc : FoDoc. base_dir : FoEnumAreaDirection value for new base direction. xmlroff-0.6.2/docs/xml/fo-enum.xml0000644000175000017500000006370011156164731013750 00000000000000 FoEnum 3 XMLROFF Library FoEnum Synopsis enum FoEnumEnum; FoEnum; FoEnumClass; FoDatatype* fo_enum_new (void); FoDatatype* fo_enum_new_with_value (const GEnumClass *enum_class, const FoEnumEnum value); GEnumClass* fo_enum_get_enum_class (FoDatatype *fo_enum); FoEnumEnum fo_enum_get_value (FoDatatype *fo_enum); const gchar* fo_enum_get_nick (FoDatatype *fo_enum); #define FO_TYPE_ENUM_ENUM GType fo_enum_enum_get_type (void); FoDatatype* fo_enum_get_enum_by_value (FoEnumEnum enum_value); FoDatatype* fo_enum_get_enum_by_nick (const gchar *name); FoDatatype* fo_enum_get_enum_auto (void); FoDatatype* fo_enum_get_enum_baseline (void); FoDatatype* fo_enum_get_enum_ltr (void); FoDatatype* fo_enum_get_enum_medium (void); FoDatatype* fo_enum_get_enum_none (void); FoDatatype* fo_enum_get_enum_uniform (void); FoDatatype* fo_enum_get_alphabetic (void); FoDatatype* fo_enum_get_always (void); FoDatatype* fo_enum_get_traditional (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoEnum Properties "enum-class" gpointer : Read / Write / Construct Only "value" gint : Read / Write / Construct Only Description Details enum FoEnumEnum FoEnumEnumtypedef enum { FO_ENUM_ENUM_UNSPECIFIED, FO_ENUM_ENUM_0, FO_ENUM_ENUM_100, FO_ENUM_ENUM_180, FO_ENUM_ENUM_200, FO_ENUM_ENUM_270, FO_ENUM_ENUM_300, FO_ENUM_ENUM_400, FO_ENUM_ENUM_500, FO_ENUM_ENUM_600, FO_ENUM_ENUM_700, FO_ENUM_ENUM_800, FO_ENUM_ENUM_90, FO_ENUM_ENUM_900, FO_ENUM_ENUM_ABOVE, FO_ENUM_ENUM_ABSOLUTE, FO_ENUM_ENUM_ABSOLUTE_COLORIMETRIC, FO_ENUM_ENUM_ACTIVE, FO_ENUM_ENUM_AFTER, FO_ENUM_ENUM_AFTER_EDGE, FO_ENUM_ENUM_ALL, FO_ENUM_ENUM_ALPHABETIC, FO_ENUM_ENUM_ALWAYS, FO_ENUM_ENUM_ANY, FO_ENUM_ENUM_AUTO, FO_ENUM_ENUM_AUTO_EVEN, FO_ENUM_ENUM_AUTO_ODD, FO_ENUM_ENUM_AVOID, FO_ENUM_ENUM_BACKSLANT, FO_ENUM_ENUM_BASELINE, FO_ENUM_ENUM_BEFORE, FO_ENUM_ENUM_BEFORE_EDGE, FO_ENUM_ENUM_BEHIND, FO_ENUM_ENUM_BELOW, FO_ENUM_ENUM_BIDI_OVERRIDE, FO_ENUM_ENUM_BLANK, FO_ENUM_ENUM_BLINK, FO_ENUM_ENUM_BLOCK, FO_ENUM_ENUM_BOLD, FO_ENUM_ENUM_BOLDER, FO_ENUM_ENUM_BOTH, FO_ENUM_ENUM_BOTTOM, FO_ENUM_ENUM_BOUNDED_IN_ONE_DIMENSION, FO_ENUM_ENUM_CAPITALIZE, FO_ENUM_ENUM_CAPTION, FO_ENUM_ENUM_CENTER, FO_ENUM_ENUM_CENTER_LEFT, FO_ENUM_ENUM_CENTER_RIGHT, FO_ENUM_ENUM_CENTRAL, FO_ENUM_ENUM_CHARACTER_BY_CHARACTER, FO_ENUM_ENUM_CODE, FO_ENUM_ENUM_COLLAPSE, FO_ENUM_ENUM_COLLAPSE_WITH_PRECEDENCE, FO_ENUM_ENUM_COLUMN, FO_ENUM_ENUM_CONDENSED, FO_ENUM_ENUM_CONSIDER_SHIFTS, FO_ENUM_ENUM_CONTINUOUS, FO_ENUM_ENUM_CURSIVE, FO_ENUM_ENUM_DASHED, FO_ENUM_ENUM_DIGITS, FO_ENUM_ENUM_DISREGARD_SHIFTS, FO_ENUM_ENUM_DOCUMENT, FO_ENUM_ENUM_DOCUMENT_ROOT, FO_ENUM_ENUM_DOTS, FO_ENUM_ENUM_DOTTED, FO_ENUM_ENUM_DOUBLE, FO_ENUM_ENUM_EMBED, FO_ENUM_ENUM_EMPTY, FO_ENUM_ENUM_END, FO_ENUM_ENUM_END_ON_EVEN, FO_ENUM_ENUM_END_ON_ODD, FO_ENUM_ENUM_ERROR_IF_OVERFLOW, FO_ENUM_ENUM_EVEN, FO_ENUM_ENUM_EVEN_PAGE, FO_ENUM_ENUM_EXPANDED, FO_ENUM_ENUM_EXTRA_CONDENSED, FO_ENUM_ENUM_EXTRA_EXPANDED, FO_ENUM_ENUM_FALSE, FO_ENUM_ENUM_FANTASY, FO_ENUM_ENUM_FAR_LEFT, FO_ENUM_ENUM_FAR_RIGHT, FO_ENUM_ENUM_FAST, FO_ENUM_ENUM_FASTER, FO_ENUM_ENUM_FIRST, FO_ENUM_ENUM_FIRST_INCLUDING_CARRYOVER, FO_ENUM_ENUM_FIRST_STARTING_WITHIN_PAGE, FO_ENUM_ENUM_FIXED, FO_ENUM_ENUM_FOCUS, FO_ENUM_ENUM_FONT_HEIGHT, FO_ENUM_ENUM_FORCE, FO_ENUM_ENUM_GROOVE, FO_ENUM_ENUM_HANGING, FO_ENUM_ENUM_HIDDEN, FO_ENUM_ENUM_HIDE, FO_ENUM_ENUM_HIGH, FO_ENUM_ENUM_HIGHER, FO_ENUM_ENUM_HOVER, FO_ENUM_ENUM_ICON, FO_ENUM_ENUM_IDEOGRAPHIC, FO_ENUM_ENUM_IGNORE, FO_ENUM_ENUM_IGNORE_IF_AFTER_LINEFEED, FO_ENUM_ENUM_IGNORE_IF_BEFORE_LINEFEED, FO_ENUM_ENUM_IGNORE_IF_SURROUNDING_LINEFEED, FO_ENUM_ENUM_INDEFINITE, FO_ENUM_ENUM_INDENT, FO_ENUM_ENUM_INSET, FO_ENUM_ENUM_INSIDE, FO_ENUM_ENUM_INTEGER_PIXELS, FO_ENUM_ENUM_ITALIC, FO_ENUM_ENUM_JUSTIFY, FO_ENUM_ENUM_LANDSCAPE, FO_ENUM_ENUM_LARGE, FO_ENUM_ENUM_LARGER, FO_ENUM_ENUM_LAST, FO_ENUM_ENUM_LAST_ENDING_WITHIN_PAGE, FO_ENUM_ENUM_LAST_STARTING_WITHIN_PAGE, FO_ENUM_ENUM_LEFT, FO_ENUM_ENUM_LEFTWARDS, FO_ENUM_ENUM_LEFT_SIDE, FO_ENUM_ENUM_LEVEL, FO_ENUM_ENUM_LIGHTER, FO_ENUM_ENUM_LINE, FO_ENUM_ENUM_LINE_HEIGHT, FO_ENUM_ENUM_LINE_THROUGH, FO_ENUM_ENUM_LINK, FO_ENUM_ENUM_LOUD, FO_ENUM_ENUM_LOW, FO_ENUM_ENUM_LOWER, FO_ENUM_ENUM_LOWERCASE, FO_ENUM_ENUM_LR, FO_ENUM_ENUM_LR_TB, FO_ENUM_ENUM_LTR, FO_ENUM_ENUM_MATHEMATICAL, FO_ENUM_ENUM_MAX_HEIGHT, FO_ENUM_ENUM_MEDIUM, FO_ENUM_ENUM_MENU, FO_ENUM_ENUM_MESSAGE_BOX, FO_ENUM_ENUM_MIDDLE, FO_ENUM_ENUM_MIX, FO_ENUM_ENUM_MONOSPACE, FO_ENUM_ENUM_NARROWER, FO_ENUM_ENUM_NEW, FO_ENUM_ENUM_NONE, FO_ENUM_ENUM_NON_UNIFORM, FO_ENUM_ENUM_NORMAL, FO_ENUM_ENUM_NOT_BLANK, FO_ENUM_ENUM_NOWRAP, FO_ENUM_ENUM_NO_BLINK, FO_ENUM_ENUM_NO_CHANGE, FO_ENUM_ENUM_NO_FORCE, FO_ENUM_ENUM_NO_LIMIT, FO_ENUM_ENUM_NO_LINE_THROUGH, FO_ENUM_ENUM_NO_OVERLINE, FO_ENUM_ENUM_NO_REPEAT, FO_ENUM_ENUM_NO_UNDERLINE, FO_ENUM_ENUM_NO_WRAP, FO_ENUM_ENUM_OBLIQUE, FO_ENUM_ENUM_ODD, FO_ENUM_ENUM_ODD_PAGE, FO_ENUM_ENUM_ONCE, FO_ENUM_ENUM_OUTSET, FO_ENUM_ENUM_OUTSIDE, FO_ENUM_ENUM_OVERLINE, FO_ENUM_ENUM_PAGE, FO_ENUM_ENUM_PAGE_SEQUENCE, FO_ENUM_ENUM_PAGINATE, FO_ENUM_ENUM_PERCEPTUAL, FO_ENUM_ENUM_PORTRAIT, FO_ENUM_ENUM_PRE, FO_ENUM_ENUM_PRESERVE, FO_ENUM_ENUM_REFERENCE_AREA, FO_ENUM_ENUM_RELATIVE, FO_ENUM_ENUM_RELATIVE_COLORIMETRIC, FO_ENUM_ENUM_REPEAT, FO_ENUM_ENUM_REPEAT_X, FO_ENUM_ENUM_REPEAT_Y, FO_ENUM_ENUM_REPLACE, FO_ENUM_ENUM_RESAMPLE_ANY_METHOD, FO_ENUM_ENUM_RESET_SIZE, FO_ENUM_ENUM_REST, FO_ENUM_ENUM_RETAIN, FO_ENUM_ENUM_RIDGE, FO_ENUM_ENUM_RIGHT, FO_ENUM_ENUM_RIGHTWARDS, FO_ENUM_ENUM_RIGHT_SIDE, FO_ENUM_ENUM_RL, FO_ENUM_ENUM_RL_TB, FO_ENUM_ENUM_RTL, FO_ENUM_ENUM_RULE, FO_ENUM_ENUM_SANS_SERIF, FO_ENUM_ENUM_SATURATION, FO_ENUM_ENUM_SCALE_TO_FIT, FO_ENUM_ENUM_SCROLL, FO_ENUM_ENUM_SEMI_CONDENSED, FO_ENUM_ENUM_SEMI_EXPANDED, FO_ENUM_ENUM_SEPARATE, FO_ENUM_ENUM_SERIF, FO_ENUM_ENUM_SHOW, FO_ENUM_ENUM_SILENT, FO_ENUM_ENUM_SLOW, FO_ENUM_ENUM_SLOWER, FO_ENUM_ENUM_SMALL, FO_ENUM_ENUM_SMALLER, FO_ENUM_ENUM_SMALL_CAPS, FO_ENUM_ENUM_SMALL_CAPTION, FO_ENUM_ENUM_SOFT, FO_ENUM_ENUM_SOLID, FO_ENUM_ENUM_SPACE, FO_ENUM_ENUM_SPELL_OUT, FO_ENUM_ENUM_START, FO_ENUM_ENUM_STATIC, FO_ENUM_ENUM_STATUS_BAR, FO_ENUM_ENUM_STRING, FO_ENUM_ENUM_SUB, FO_ENUM_ENUM_SUPER, FO_ENUM_ENUM_SUPPRESS, FO_ENUM_ENUM_TB, FO_ENUM_ENUM_TB_RL, FO_ENUM_ENUM_TEXT_AFTER_EDGE, FO_ENUM_ENUM_TEXT_BEFORE_EDGE, FO_ENUM_ENUM_TEXT_BOTTOM, FO_ENUM_ENUM_TEXT_TOP, FO_ENUM_ENUM_THICK, FO_ENUM_ENUM_THIN, FO_ENUM_ENUM_TOP, FO_ENUM_ENUM_TRADITIONAL, FO_ENUM_ENUM_TRANSPARENT, FO_ENUM_ENUM_TREAT_AS_SPACE, FO_ENUM_ENUM_TREAT_AS_ZERO_WIDTH_SPACE, FO_ENUM_ENUM_TRUE, FO_ENUM_ENUM_ULTRA_CONDENSED, FO_ENUM_ENUM_ULTRA_EXPANDED, FO_ENUM_ENUM_UNBOUNDED, FO_ENUM_ENUM_UNDERLINE, FO_ENUM_ENUM_UNIFORM, FO_ENUM_ENUM_UPPERCASE, FO_ENUM_ENUM_USE_CONTENT, FO_ENUM_ENUM_USE_FONT_METRICS, FO_ENUM_ENUM_USE_NORMAL_STYLESHEET, FO_ENUM_ENUM_USE_SCRIPT, FO_ENUM_ENUM_USE_TARGET_PROCESSING_CONTEXT, FO_ENUM_ENUM_VISIBLE, FO_ENUM_ENUM_VISITED, FO_ENUM_ENUM_WIDER, FO_ENUM_ENUM_WRAP, FO_ENUM_ENUM_XSL_ANY, FO_ENUM_ENUM_XSL_BEFORE_FLOAT_SEPARATOR, FO_ENUM_ENUM_XSL_FOLLOWING, FO_ENUM_ENUM_XSL_FOOTNOTE_SEPARATOR, FO_ENUM_ENUM_XSL_PRECEDING, FO_ENUM_ENUM_XSL_REGION_AFTER, FO_ENUM_ENUM_XSL_REGION_BEFORE, FO_ENUM_ENUM_XSL_REGION_BODY, FO_ENUM_ENUM_XSL_REGION_END, FO_ENUM_ENUM_XSL_REGION_START, FO_ENUM_ENUM_XX_LARGE, FO_ENUM_ENUM_XX_SMALL, FO_ENUM_ENUM_X_FAST, FO_ENUM_ENUM_X_HIGH, FO_ENUM_ENUM_X_LARGE, FO_ENUM_ENUM_X_LOUD, FO_ENUM_ENUM_X_LOW, FO_ENUM_ENUM_X_SLOW, FO_ENUM_ENUM_X_SMALL, FO_ENUM_ENUM_X_SOFT, FO_ENUM_ENUM__180, FO_ENUM_ENUM__270, FO_ENUM_ENUM__90, FO_ENUM_ENUM_LIMIT } FoEnumEnum; FoEnum FoEnumtypedef struct _FoEnum FoEnum; Instance of the 'enum' datatype. FoEnumClass FoEnumClasstypedef struct _FoEnumClass FoEnumClass; Class structure for the 'enum' datatype. fo_enum_new () fo_enum_newFoDatatype* fo_enum_new (void); Creates a new FoEnum initialized to default value. Returns : The new FoEnum. fo_enum_new_with_value () fo_enum_new_with_valueFoDatatype* fo_enum_new_with_value (const GEnumClass *enum_class, const FoEnumEnum value); Creates a new FoEnum set to value and enum_class. enum_class : GEnumClass of the new FoEnum. value : Value of the new FoEnum. Returns : The new FoEnum. fo_enum_get_enum_class () fo_enum_get_enum_classGEnumClass* fo_enum_get_enum_class (FoDatatype *fo_enum); Get the enumeration class of fo_enum. fo_enum : FoEnum. Returns : Enumeration class of fo_enum. fo_enum_get_value () fo_enum_get_valueFoEnumEnum fo_enum_get_value (FoDatatype *fo_enum); Get the value of fo_enum. fo_enum : FoEnum. Returns : Numeric value of fo_enum. fo_enum_get_nick () fo_enum_get_nickconst gchar* fo_enum_get_nick (FoDatatype *fo_enum); Gets the 'nickname' string of fo_enum. The result should not be freed. fo_enum : The FoEnum. Returns : The 'nickname' of fo_enum. FO_TYPE_ENUM_ENUM FO_TYPE_ENUM_ENUM#define FO_TYPE_ENUM_ENUM fo_enum_enum_get_type () fo_enum_enum_get_type () fo_enum_enum_get_typeGType fo_enum_enum_get_type (void); Returns : fo_enum_get_enum_by_value () fo_enum_get_enum_by_valueFoDatatype* fo_enum_get_enum_by_value (FoEnumEnum enum_value); Gets an FoEnum corresponding to enum_value, or NULL if enum_value is not in the range of enumerated values. enum_value : Enumerated value from FoEnumEnum. Returns : FoEnum corresponding to enum_value, or NULL. fo_enum_get_enum_by_nick () fo_enum_get_enum_by_nickFoDatatype* fo_enum_get_enum_by_nick (const gchar *name); Gets an FoEnum corresponding to name, or NULL if name is not a 'nickname' of an FoEnum name : The 'nickname' of the FoEnum. Returns : FoEnum corresponding to name, or NULL. fo_enum_get_enum_auto () fo_enum_get_enum_autoFoDatatype* fo_enum_get_enum_auto (void); Returns : The FoDatatype for the well-known value 'auto'. fo_enum_get_enum_baseline () fo_enum_get_enum_baselineFoDatatype* fo_enum_get_enum_baseline (void); Returns : The FoDatatype for the well-known value 'baseline'. fo_enum_get_enum_ltr () fo_enum_get_enum_ltrFoDatatype* fo_enum_get_enum_ltr (void); Returns : The FoDatatype for the well-known value 'ltr'. fo_enum_get_enum_medium () fo_enum_get_enum_mediumFoDatatype* fo_enum_get_enum_medium (void); Returns : The FoDatatype for the well-known value 'medium'. fo_enum_get_enum_none () fo_enum_get_enum_noneFoDatatype* fo_enum_get_enum_none (void); Returns : The FoDatatype for the well-known value 'none'. fo_enum_get_enum_uniform () fo_enum_get_enum_uniformFoDatatype* fo_enum_get_enum_uniform (void); Returns : The FoDatatype for the well-known value 'uniform'. fo_enum_get_alphabetic () fo_enum_get_alphabeticFoDatatype* fo_enum_get_alphabetic (void); Returns : The FoDatatype for the well-known value 'alphabetic'. fo_enum_get_always () fo_enum_get_alwaysFoDatatype* fo_enum_get_always (void); Returns : The FoDatatype for the well-known value 'always'. fo_enum_get_traditional () fo_enum_get_traditionalFoDatatype* fo_enum_get_traditional (void); Returns : The FoDatatype for the well-known value 'traditional'. Property Details The <literal>"enum-class"</literal> property FoEnum:enum-class "enum-class" gpointer : Read / Write / Construct Only Enumeration class. The <literal>"value"</literal> property FoEnum:value "value" gint : Read / Write / Construct Only Enum value.Allowed values: [0,268] Default value: 0 xmlroff-0.6.2/docs/xml/fo-error.xml0000644000175000017500000001022211156164731014124 00000000000000 FoError 3 XMLROFF Library FoError Synopsis FoError; FoErrorClass; FoDatatype* fo_error_new (void); FoDatatype* fo_error_new_with_value (GError *value); GError* fo_error_get_value (FoDatatype *error); Description Details FoError FoErrortypedef struct _FoError FoError; FoErrorClass FoErrorClasstypedef struct _FoErrorClass FoErrorClass; fo_error_new () fo_error_newFoDatatype* fo_error_new (void); Creates a new FoError initialized to default value. Returns : The new FoError fo_error_new_with_value () fo_error_new_with_valueFoDatatype* fo_error_new_with_value (GError *value); Creates a new FoError set to value value : Error of the new FoError Returns : The new FoError fo_error_get_value () fo_error_get_valueGError* fo_error_get_value (FoDatatype *error); Get the value of error error : FoError Returns : GError xmlroff-0.6.2/docs/xml/fo-expression.xml0000644000175000017500000001251011156164731015174 00000000000000 FoExpression 3 XMLROFF Library FoExpression Synopsis FoExpression; FoExpressionClass; FoDatatype* fo_expression_new (void); gchar* fo_expression_get_value (FoDatatype *expression); void fo_expression_set_value (FoDatatype *expression, const gchar *new_value); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoExpression Properties "value" gchar* : Read / Write Description Details FoExpression FoExpressiontypedef struct _FoExpression FoExpression; FoExpressionClass FoExpressionClasstypedef struct _FoExpressionClass FoExpressionClass; fo_expression_new () fo_expression_newFoDatatype* fo_expression_new (void); Creates a new FoExpression initialized to default value. Returns : the new FoExpression fo_expression_get_value () fo_expression_get_valuegchar* fo_expression_get_value (FoDatatype *expression); expression : Returns : fo_expression_set_value () fo_expression_set_valuevoid fo_expression_set_value (FoDatatype *expression, const gchar *new_value); expression : new_value : Property Details The <literal>"value"</literal> property FoExpression:value "value" gchar* : Read / Write Expression value.Default value: NULL xmlroff-0.6.2/docs/xml/fo-expr-eval.xml0000644000175000017500000013344511156164731014713 00000000000000 fo-expr-eval 3 XMLROFF Library fo-expr-eval Synopsis FoExprEnv; typedef FoExprEnvList; FoExprContext; FoDatatype* (*FoExprFunc) (FoExprContext *context, gint nargs); #define FO_EXPR_ERROR GQuark fo_expr_error_quark (void); enum FoExprError; #define FO_EXPR_EVAL_ERROR GQuark fo_expr_eval_error_quark (void); enum FoExprEvalError; FoDatatype* fo_expr_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype* fo_expr_border_color_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype* fo_expr_border_style_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype* fo_expr_padding_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype* fo_expr_wsc_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); FoDatatype* fo_expr_eval_new_error (FoExprContext *context, FoExprEvalError error_type); FoDatatype* fo_expr_eval_propagate_error (FoExprContext *context, GError *error); void fo_expr_context_push_stack (FoExprContext *context, FoDatatype *datatype); FoDatatype* fo_expr_context_pop_stack (FoExprContext *context); FoDatatype* fo_expr_context_peek_stack (FoExprContext *context); gboolean fo_expr_context_stack_is_empty (FoExprContext *context); FoExprFunc fo_expr_context_get_func (FoExprContext *context, const gchar *name); void fo_expr_context_debug_dump_stack (FoExprContext *context); FoExprEnv* fo_expr_env_new (void); FoExprEnv* fo_expr_env_register_func (FoExprEnv *env, const gchar *name, FoExprFunc func); FoExprFunc fo_expr_env_get_func (FoExprEnv *env, const gchar *name); FoExprEnvList* fo_expr_env_list_new (void); void fo_expr_env_list_free (FoExprEnvList *env_list); FoExprEnvList* fo_expr_env_list_prepend (FoExprEnvList *env_list, FoExprEnv *env); FoExprFunc fo_expr_env_list_get_func (const FoExprEnvList *env_list, const gchar *name); Description Details FoExprEnv FoExprEnvtypedef struct _FoExprEnv FoExprEnv; FoExprEnvList FoExprEnvListtypedef GSList FoExprEnvList; FoExprContext FoExprContexttypedef struct _FoExprContext FoExprContext; FoExprFunc () FoExprFuncFoDatatype* (*FoExprFunc) (FoExprContext *context, gint nargs); context : nargs : Returns : FO_EXPR_ERROR FO_EXPR_ERROR#define FO_EXPR_ERROR fo_expr_error_quark () fo_expr_error_quark () fo_expr_error_quarkGQuark fo_expr_error_quark (void); Returns : enum FoExprError FoExprErrortypedef enum { FO_EXPR_ERROR_FAILED, FO_EXPR_ERROR_NULL_RESULT, FO_EXPR_ERROR_ERROR_RESULT, FO_EXPR_ERROR_EXTRA_STACK, FO_EXPR_ERROR_EXTRA_EXPR } FoExprError; FO_EXPR_EVAL_ERROR FO_EXPR_EVAL_ERROR#define FO_EXPR_EVAL_ERROR fo_expr_eval_error_quark () fo_expr_eval_error_quark () fo_expr_eval_error_quarkGQuark fo_expr_eval_error_quark (void); Returns : enum FoExprEvalError FoExprEvalErrortypedef enum { FO_EXPR_EVAL_ERROR_FAILED, /* Expression evaluation failed */ FO_EXPR_EVAL_ERROR_UNFINISHED_LITERAL, FO_EXPR_EVAL_ERROR_START_LITERAL, FO_EXPR_EVAL_ERROR_EXPR_ERROR, FO_EXPR_EVAL_ERROR_UNKNOWN_FUNC, FO_EXPR_EVAL_ERROR_INVALID_ARITY, FO_EXPR_EVAL_ERROR_INVALID_TYPE, FO_EXPR_EVAL_ERROR_NOT_INHERITED, FO_EXPR_EVAL_ERROR_INVALID_PROPERTY, FO_EXPR_EVAL_ERROR_FUNCTION_INVALID_PROPERTY, FO_EXPR_EVAL_ERROR_NOT_TABLE_CELL_OR_DESCENDANT, FO_EXPR_EVAL_ERROR_NO_TABLE_CELL_COLUMN, FO_EXPR_EVAL_ERROR_NOT_LIST_BLOCK_OR_DESCENDANT, FO_EXPR_EVAL_ERROR_NOT_TABLE_COLUMN, FO_EXPR_EVAL_ERROR_NOT_COLUMN_WIDTH, FO_EXPR_EVAL_ERROR_NOT_FIXED_METHOD, FO_EXPR_EVAL_ERROR_COLOR_DECL, FO_EXPR_EVAL_ERROR_UNKNOWN_OPERATOR, FO_EXPR_EVAL_ERROR_FUNC_RETURN_NULL, FO_EXPR_EVAL_ERROR_CANNOT_INHERIT, FO_EXPR_EVAL_ERROR_NO_RESOLVE_PERCENT_FUNC, FO_EXPR_EVAL_ERROR_UNFINISHED_URL, FO_EXPR_EVAL_ERROR_LAST } FoExprEvalError; fo_expr_eval () fo_expr_evalFoDatatype* fo_expr_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); Evaluates string as an XSL expression. string : String form of expression. property_name : Name of property being evaluated. resolve_enum_func : Function used to resolve enumeration tokens. resolve_percent_func : Function used to resolve percentage values. font_size_prop : Current font size property. current_fo : Current formatting object. fo_context : FoContext for inherited values. env_list : List of FoExprEnv for evaluating expressions. error : GError for reporting errors. Returns : The result of evaluating string, or NULL if an error occurred fo_expr_border_color_eval () fo_expr_border_color_evalFoDatatype* fo_expr_border_color_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); Evaluates string as an XSL expression. string : String form of expression. property_name : Name of property being evaluated. resolve_enum_func : Function used to resolve enumeration tokens. resolve_percent_func : Function used to resolve percentage values. font_size_prop : Current font size property. current_fo : Current formatting object. fo_context : FoContext for inherited values. env_list : List of FoExprEnv for evaluating expressions. error : GError for reporting errors. Returns : The result of evaluating string, or NULL if an error occurred fo_expr_border_style_eval () fo_expr_border_style_evalFoDatatype* fo_expr_border_style_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); Evaluates string as an XSL expression. string : String form of expression. property_name : Name of property being evaluated. resolve_enum_func : Function used to resolve enumeration tokens. resolve_percent_func : Function used to resolve percentage values. font_size_prop : Current font size property. current_fo : Current formatting object. fo_context : FoContext for inherited values. env_list : List of FoExprEnv for evaluating expressions. error : GError for reporting errors. Returns : The result of evaluating string, or NULL if an error occurred fo_expr_padding_eval () fo_expr_padding_evalFoDatatype* fo_expr_padding_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); Evaluates string as an XSL expression. string : String form of expression. property_name : Name of property being evaluated. resolve_enum_func : Function used to resolve enumeration tokens. resolve_percent_func : Function used to resolve percentage values. font_size_prop : Current font size property. current_fo : Current formatting object. fo_context : FoContext for inherited values. env_list : List of FoExprEnv for evaluating expressions. error : GError for reporting errors. Returns : The result of evaluating string, or NULL if an error occurred fo_expr_wsc_eval () fo_expr_wsc_evalFoDatatype* fo_expr_wsc_eval (const gchar *string, const gchar *property_name, FoResolveEnumFunc resolve_enum_func, FoResolvePercentFunc resolve_percent_func, const FoProperty *font_size_prop, const FoFo *current_fo, const FoContext *fo_context, const FoExprEnvList *env_list, GError **error); Evaluates string as an XSL expression. string : String form of expression. property_name : Name of property being evaluated. resolve_enum_func : Function used to resolve enumeration tokens. resolve_percent_func : Function used to resolve percentage values. font_size_prop : Current font size property. current_fo : Current formatting object. fo_context : FoContext for inherited values. env_list : List of FoExprEnv for evaluating expressions. error : GError for reporting errors. Returns : The result of evaluating string, or NULL if an error occurred fo_expr_eval_new_error () fo_expr_eval_new_errorFoDatatype* fo_expr_eval_new_error (FoExprContext *context, FoExprEvalError error_type); Creates an FoError based on error_type and using information from context in the error message string. context : FoExprContext for expression. error_type : Type of error. Returns : An FoError for an error of type error_type. fo_expr_eval_propagate_error () fo_expr_eval_propagate_errorFoDatatype* fo_expr_eval_propagate_error (FoExprContext *context, GError *error); context : error : Returns : fo_expr_context_push_stack () fo_expr_context_push_stackvoid fo_expr_context_push_stack (FoExprContext *context, FoDatatype *datatype); context : datatype : fo_expr_context_pop_stack () fo_expr_context_pop_stackFoDatatype* fo_expr_context_pop_stack (FoExprContext *context); context : Returns : fo_expr_context_peek_stack () fo_expr_context_peek_stackFoDatatype* fo_expr_context_peek_stack (FoExprContext *context); context : Returns : fo_expr_context_stack_is_empty () fo_expr_context_stack_is_emptygboolean fo_expr_context_stack_is_empty (FoExprContext *context); context : Returns : fo_expr_context_get_func () fo_expr_context_get_funcFoExprFunc fo_expr_context_get_func (FoExprContext *context, const gchar *name); context : name : Returns : fo_expr_context_debug_dump_stack () fo_expr_context_debug_dump_stackvoid fo_expr_context_debug_dump_stack (FoExprContext *context); context : fo_expr_env_new () fo_expr_env_newFoExprEnv* fo_expr_env_new (void); Returns : fo_expr_env_register_func () fo_expr_env_register_funcFoExprEnv* fo_expr_env_register_func (FoExprEnv *env, const gchar *name, FoExprFunc func); env : name : func : Returns : fo_expr_env_get_func () fo_expr_env_get_funcFoExprFunc fo_expr_env_get_func (FoExprEnv *env, const gchar *name); env : name : Returns : fo_expr_env_list_new () fo_expr_env_list_newFoExprEnvList* fo_expr_env_list_new (void); Get a new FoExprEnvList that is preloaded with a copy of the global environment. The FoExprEnvList must be freed by the caller using fo_expr_env_list_free() Returns : A new, preloaded FoExprEnvList fo_expr_env_list_free () fo_expr_env_list_freevoid fo_expr_env_list_free (FoExprEnvList *env_list); Free an FoExprEnvList that was created with fo_expr_env_list_new() env_list : The FoExprEnvList to free fo_expr_env_list_prepend () fo_expr_env_list_prependFoExprEnvList* fo_expr_env_list_prepend (FoExprEnvList *env_list, FoExprEnv *env); Prepend env to env_list so that when the returned env_list is used in evaluating XSL expressions, the functions in env have precedence over the functions in the environments, including the global environment, that are already in env_list. env_list : The FoExprEnvList to which to prepend env. env : The new FoExprEnv. Returns : The new start of the FoExprEnvList. fo_expr_env_list_get_func () fo_expr_env_list_get_funcFoExprFunc fo_expr_env_list_get_func (const FoExprEnvList *env_list, const gchar *name); Get the function in env_list with name matching name. env_list : FoExprEnvList name : Name of a function Returns : FoExprFunc corresponding to name, or NULL. xmlroff-0.6.2/docs/xml/fo-external-graphic.xml0000644000175000017500000066744111156164731016255 00000000000000 external-graphic 3 XMLROFF Library external-graphic Synopsis FoExternalGraphic; FoExternalGraphicClass; FoFo* fo_external_graphic_new (void); FoFo* fo_external_graphic_new_with_base_uri (const gchar *base_uri); FoProperty* fo_external_graphic_get_alignment_adjust (FoFo *fo_fo); void fo_external_graphic_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_external_graphic_get_alignment_baseline (FoFo *fo_fo); void fo_external_graphic_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty* fo_external_graphic_get_background_color (FoFo *fo_fo); void fo_external_graphic_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_external_graphic_get_background_image (FoFo *fo_fo); void fo_external_graphic_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); const gchar* fo_external_graphic_get_base_uri (FoFo *fo_fo); FoProperty* fo_external_graphic_get_baseline_shift (FoFo *fo_fo); void fo_external_graphic_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_external_graphic_get_block_progression_dimension (FoFo *fo_fo); void fo_external_graphic_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_external_graphic_get_border_after_color (FoFo *fo_fo); void fo_external_graphic_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_external_graphic_get_border_after_style (FoFo *fo_fo); void fo_external_graphic_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_external_graphic_get_border_after_width (FoFo *fo_fo); void fo_external_graphic_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_external_graphic_get_border_before_color (FoFo *fo_fo); void fo_external_graphic_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_external_graphic_get_border_before_style (FoFo *fo_fo); void fo_external_graphic_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_external_graphic_get_border_before_width (FoFo *fo_fo); void fo_external_graphic_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_external_graphic_get_border_bottom_color (FoFo *fo_fo); void fo_external_graphic_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_external_graphic_get_border_bottom_style (FoFo *fo_fo); void fo_external_graphic_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_external_graphic_get_border_bottom_width (FoFo *fo_fo); void fo_external_graphic_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_external_graphic_get_border_end_color (FoFo *fo_fo); void fo_external_graphic_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_external_graphic_get_border_end_style (FoFo *fo_fo); void fo_external_graphic_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_external_graphic_get_border_end_width (FoFo *fo_fo); void fo_external_graphic_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_external_graphic_get_border_left_color (FoFo *fo_fo); void fo_external_graphic_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_external_graphic_get_border_left_style (FoFo *fo_fo); void fo_external_graphic_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_external_graphic_get_border_left_width (FoFo *fo_fo); void fo_external_graphic_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_external_graphic_get_border_right_color (FoFo *fo_fo); void fo_external_graphic_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_external_graphic_get_border_right_style (FoFo *fo_fo); void fo_external_graphic_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_external_graphic_get_border_right_width (FoFo *fo_fo); void fo_external_graphic_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_external_graphic_get_border_start_color (FoFo *fo_fo); void fo_external_graphic_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_external_graphic_get_border_start_style (FoFo *fo_fo); void fo_external_graphic_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_external_graphic_get_border_start_width (FoFo *fo_fo); void fo_external_graphic_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_external_graphic_get_border_top_color (FoFo *fo_fo); void fo_external_graphic_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_external_graphic_get_border_top_style (FoFo *fo_fo); void fo_external_graphic_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_external_graphic_get_border_top_width (FoFo *fo_fo); void fo_external_graphic_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_external_graphic_get_clip (FoFo *fo_fo); void fo_external_graphic_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_external_graphic_get_content_height (FoFo *fo_fo); void fo_external_graphic_set_content_height (FoFo *fo_fo, FoProperty *new_content_height); FoProperty* fo_external_graphic_get_content_type (FoFo *fo_fo); void fo_external_graphic_set_content_type (FoFo *fo_fo, FoProperty *new_content_type); FoProperty* fo_external_graphic_get_content_width (FoFo *fo_fo); void fo_external_graphic_set_content_width (FoFo *fo_fo, FoProperty *new_content_width); FoProperty* fo_external_graphic_get_display_align (FoFo *fo_fo); void fo_external_graphic_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_external_graphic_get_dominant_baseline (FoFo *fo_fo); void fo_external_graphic_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_external_graphic_get_height (FoFo *fo_fo); void fo_external_graphic_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_external_graphic_get_id (FoFo *fo_fo); void fo_external_graphic_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_external_graphic_get_inline_progression_dimension (FoFo *fo_fo); void fo_external_graphic_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_external_graphic_get_keep_with_next (FoFo *fo_fo); void fo_external_graphic_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_external_graphic_get_keep_with_next_within_column (FoFo *fo_fo); void fo_external_graphic_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_external_graphic_get_keep_with_next_within_line (FoFo *fo_fo); void fo_external_graphic_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_external_graphic_get_keep_with_next_within_page (FoFo *fo_fo); void fo_external_graphic_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_external_graphic_get_keep_with_previous (FoFo *fo_fo); void fo_external_graphic_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_external_graphic_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_external_graphic_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_external_graphic_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_external_graphic_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_external_graphic_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_external_graphic_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_external_graphic_get_line_height (FoFo *fo_fo); void fo_external_graphic_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_external_graphic_get_overflow (FoFo *fo_fo); void fo_external_graphic_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_external_graphic_get_padding_after (FoFo *fo_fo); void fo_external_graphic_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_external_graphic_get_padding_before (FoFo *fo_fo); void fo_external_graphic_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_external_graphic_get_padding_bottom (FoFo *fo_fo); void fo_external_graphic_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_external_graphic_get_padding_end (FoFo *fo_fo); void fo_external_graphic_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_external_graphic_get_padding_left (FoFo *fo_fo); void fo_external_graphic_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_external_graphic_get_padding_right (FoFo *fo_fo); void fo_external_graphic_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_external_graphic_get_padding_start (FoFo *fo_fo); void fo_external_graphic_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_external_graphic_get_padding_top (FoFo *fo_fo); void fo_external_graphic_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_external_graphic_get_role (FoFo *fo_fo); void fo_external_graphic_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_external_graphic_get_scaling (FoFo *fo_fo); void fo_external_graphic_set_scaling (FoFo *fo_fo, FoProperty *new_scaling); FoProperty* fo_external_graphic_get_scaling_method (FoFo *fo_fo); void fo_external_graphic_set_scaling_method (FoFo *fo_fo, FoProperty *new_scaling_method); FoProperty* fo_external_graphic_get_source_document (FoFo *fo_fo); void fo_external_graphic_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_external_graphic_get_space_end (FoFo *fo_fo); void fo_external_graphic_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_external_graphic_get_space_start (FoFo *fo_fo); void fo_external_graphic_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty* fo_external_graphic_get_src (FoFo *fo_fo); void fo_external_graphic_set_src (FoFo *fo_fo, FoProperty *new_src); FoProperty* fo_external_graphic_get_text_align (FoFo *fo_fo); void fo_external_graphic_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); FoProperty* fo_external_graphic_get_width (FoFo *fo_fo); void fo_external_graphic_set_width (FoFo *fo_fo, FoProperty *new_width); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoExternalGraphic Implemented Interfaces FoExternalGraphic implements FoInlineFoIface. Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "base-uri" gchar* : Read / Write / Construct Only "baseline-shift" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "clip" FoProperty* : Read "content-height" FoProperty* : Read "content-type" FoProperty* : Read "content-width" FoProperty* : Read "display-align" FoProperty* : Read "dominant-baseline" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "inline-progression-dimension" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "overflow" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "scaling" FoProperty* : Read "scaling-method" FoProperty* : Read "source-document" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read "src" FoProperty* : Read "text-align" FoProperty* : Read "width" FoProperty* : Read Description Details FoExternalGraphic FoExternalGraphictypedef struct _FoExternalGraphic FoExternalGraphic; Instance of the 'external-graphic' formatting object. FoExternalGraphicClass FoExternalGraphicClasstypedef struct _FoExternalGraphicClass FoExternalGraphicClass; Class structure for the 'external-graphic' formatting object. fo_external_graphic_new () fo_external_graphic_newFoFo* fo_external_graphic_new (void); Creates a new FoExternalGraphic initialized to default value. Returns : the new FoExternalGraphic. fo_external_graphic_new_with_base_uri () fo_external_graphic_new_with_base_uriFoFo* fo_external_graphic_new_with_base_uri (const gchar *base_uri); Creates a new FoExternalGraphic initialized with the specified base URI. base_uri : Base URI to use Returns : the new FoExternalGraphic. fo_external_graphic_get_alignment_adjust () fo_external_graphic_get_alignment_adjustFoProperty* fo_external_graphic_get_alignment_adjust (FoFo *fo_fo); Gets the "alignment-adjust" property of fo_fo. fo_fo : The FoFo object. Returns : The "alignment-adjust" property value. fo_external_graphic_set_alignment_adjust () fo_external_graphic_set_alignment_adjustvoid fo_external_graphic_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust. fo_fo : The FoFo object. new_alignment_adjust : The new "alignment-adjust" property value. fo_external_graphic_get_alignment_baseline () fo_external_graphic_get_alignment_baselineFoProperty* fo_external_graphic_get_alignment_baseline (FoFo *fo_fo); Gets the "alignment-baseline" property of fo_fo. fo_fo : The FoFo object. Returns : The "alignment-baseline" property value. fo_external_graphic_set_alignment_baseline () fo_external_graphic_set_alignment_baselinevoid fo_external_graphic_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline. fo_fo : The FoFo object. new_alignment_baseline : The new "alignment-baseline" property value. fo_external_graphic_get_background_color () fo_external_graphic_get_background_colorFoProperty* fo_external_graphic_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_external_graphic_set_background_color () fo_external_graphic_set_background_colorvoid fo_external_graphic_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_external_graphic_get_background_image () fo_external_graphic_get_background_imageFoProperty* fo_external_graphic_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_external_graphic_set_background_image () fo_external_graphic_set_background_imagevoid fo_external_graphic_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_external_graphic_get_base_uri () fo_external_graphic_get_base_uriconst gchar* fo_external_graphic_get_base_uri (FoFo *fo_fo); Gets the base URI of fo_fo that is used for determining the absolute URI when the value of the 'src' property is a relative URI. The returned value should not be modified or freed. fo_fo : FoExternalGraphic for which to get the base URI. Returns : The base URI of fo_fo. fo_external_graphic_get_baseline_shift () fo_external_graphic_get_baseline_shiftFoProperty* fo_external_graphic_get_baseline_shift (FoFo *fo_fo); Gets the "baseline-shift" property of fo_fo. fo_fo : The FoFo object. Returns : The "baseline-shift" property value. fo_external_graphic_set_baseline_shift () fo_external_graphic_set_baseline_shiftvoid fo_external_graphic_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_fo to new_baseline_shift. fo_fo : The FoFo object. new_baseline_shift : The new "baseline-shift" property value. fo_external_graphic_get_block_progression_dimension () fo_external_graphic_get_block_progression_dimensionFoProperty* fo_external_graphic_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo. fo_fo : The FoFo object. Returns : The "block-progression-dimension" property value. fo_external_graphic_set_block_progression_dimension () fo_external_graphic_set_block_progression_dimensionvoid fo_external_graphic_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension. fo_fo : The FoFo object. new_block_progression_dimension : The new "block-progression-dimension" property value. fo_external_graphic_get_border_after_color () fo_external_graphic_get_border_after_colorFoProperty* fo_external_graphic_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_external_graphic_set_border_after_color () fo_external_graphic_set_border_after_colorvoid fo_external_graphic_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_external_graphic_get_border_after_style () fo_external_graphic_get_border_after_styleFoProperty* fo_external_graphic_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_external_graphic_set_border_after_style () fo_external_graphic_set_border_after_stylevoid fo_external_graphic_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_external_graphic_get_border_after_width () fo_external_graphic_get_border_after_widthFoProperty* fo_external_graphic_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_external_graphic_set_border_after_width () fo_external_graphic_set_border_after_widthvoid fo_external_graphic_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_external_graphic_get_border_before_color () fo_external_graphic_get_border_before_colorFoProperty* fo_external_graphic_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_external_graphic_set_border_before_color () fo_external_graphic_set_border_before_colorvoid fo_external_graphic_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_external_graphic_get_border_before_style () fo_external_graphic_get_border_before_styleFoProperty* fo_external_graphic_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_external_graphic_set_border_before_style () fo_external_graphic_set_border_before_stylevoid fo_external_graphic_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_external_graphic_get_border_before_width () fo_external_graphic_get_border_before_widthFoProperty* fo_external_graphic_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_external_graphic_set_border_before_width () fo_external_graphic_set_border_before_widthvoid fo_external_graphic_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_external_graphic_get_border_bottom_color () fo_external_graphic_get_border_bottom_colorFoProperty* fo_external_graphic_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_external_graphic_set_border_bottom_color () fo_external_graphic_set_border_bottom_colorvoid fo_external_graphic_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_external_graphic_get_border_bottom_style () fo_external_graphic_get_border_bottom_styleFoProperty* fo_external_graphic_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_external_graphic_set_border_bottom_style () fo_external_graphic_set_border_bottom_stylevoid fo_external_graphic_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_external_graphic_get_border_bottom_width () fo_external_graphic_get_border_bottom_widthFoProperty* fo_external_graphic_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_external_graphic_set_border_bottom_width () fo_external_graphic_set_border_bottom_widthvoid fo_external_graphic_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_external_graphic_get_border_end_color () fo_external_graphic_get_border_end_colorFoProperty* fo_external_graphic_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_external_graphic_set_border_end_color () fo_external_graphic_set_border_end_colorvoid fo_external_graphic_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_external_graphic_get_border_end_style () fo_external_graphic_get_border_end_styleFoProperty* fo_external_graphic_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_external_graphic_set_border_end_style () fo_external_graphic_set_border_end_stylevoid fo_external_graphic_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_external_graphic_get_border_end_width () fo_external_graphic_get_border_end_widthFoProperty* fo_external_graphic_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_external_graphic_set_border_end_width () fo_external_graphic_set_border_end_widthvoid fo_external_graphic_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_external_graphic_get_border_left_color () fo_external_graphic_get_border_left_colorFoProperty* fo_external_graphic_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_external_graphic_set_border_left_color () fo_external_graphic_set_border_left_colorvoid fo_external_graphic_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_external_graphic_get_border_left_style () fo_external_graphic_get_border_left_styleFoProperty* fo_external_graphic_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_external_graphic_set_border_left_style () fo_external_graphic_set_border_left_stylevoid fo_external_graphic_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_external_graphic_get_border_left_width () fo_external_graphic_get_border_left_widthFoProperty* fo_external_graphic_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_external_graphic_set_border_left_width () fo_external_graphic_set_border_left_widthvoid fo_external_graphic_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_external_graphic_get_border_right_color () fo_external_graphic_get_border_right_colorFoProperty* fo_external_graphic_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_external_graphic_set_border_right_color () fo_external_graphic_set_border_right_colorvoid fo_external_graphic_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_external_graphic_get_border_right_style () fo_external_graphic_get_border_right_styleFoProperty* fo_external_graphic_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_external_graphic_set_border_right_style () fo_external_graphic_set_border_right_stylevoid fo_external_graphic_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_external_graphic_get_border_right_width () fo_external_graphic_get_border_right_widthFoProperty* fo_external_graphic_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_external_graphic_set_border_right_width () fo_external_graphic_set_border_right_widthvoid fo_external_graphic_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_external_graphic_get_border_start_color () fo_external_graphic_get_border_start_colorFoProperty* fo_external_graphic_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_external_graphic_set_border_start_color () fo_external_graphic_set_border_start_colorvoid fo_external_graphic_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_external_graphic_get_border_start_style () fo_external_graphic_get_border_start_styleFoProperty* fo_external_graphic_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_external_graphic_set_border_start_style () fo_external_graphic_set_border_start_stylevoid fo_external_graphic_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_external_graphic_get_border_start_width () fo_external_graphic_get_border_start_widthFoProperty* fo_external_graphic_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_external_graphic_set_border_start_width () fo_external_graphic_set_border_start_widthvoid fo_external_graphic_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_external_graphic_get_border_top_color () fo_external_graphic_get_border_top_colorFoProperty* fo_external_graphic_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_external_graphic_set_border_top_color () fo_external_graphic_set_border_top_colorvoid fo_external_graphic_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_external_graphic_get_border_top_style () fo_external_graphic_get_border_top_styleFoProperty* fo_external_graphic_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_external_graphic_set_border_top_style () fo_external_graphic_set_border_top_stylevoid fo_external_graphic_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_external_graphic_get_border_top_width () fo_external_graphic_get_border_top_widthFoProperty* fo_external_graphic_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_external_graphic_set_border_top_width () fo_external_graphic_set_border_top_widthvoid fo_external_graphic_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_external_graphic_get_clip () fo_external_graphic_get_clipFoProperty* fo_external_graphic_get_clip (FoFo *fo_fo); Gets the "clip" property of fo_fo. fo_fo : The FoFo object. Returns : The "clip" property value. fo_external_graphic_set_clip () fo_external_graphic_set_clipvoid fo_external_graphic_set_clip (FoFo *fo_fo, FoProperty *new_clip); Sets the "clip" property of fo_fo to new_clip. fo_fo : The FoFo object. new_clip : The new "clip" property value. fo_external_graphic_get_content_height () fo_external_graphic_get_content_heightFoProperty* fo_external_graphic_get_content_height (FoFo *fo_fo); Gets the "content-height" property of fo_fo. fo_fo : The FoFo object. Returns : The "content-height" property value. fo_external_graphic_set_content_height () fo_external_graphic_set_content_heightvoid fo_external_graphic_set_content_height (FoFo *fo_fo, FoProperty *new_content_height); Sets the "content-height" property of fo_fo to new_content_height. fo_fo : The FoFo object. new_content_height : The new "content-height" property value. fo_external_graphic_get_content_type () fo_external_graphic_get_content_typeFoProperty* fo_external_graphic_get_content_type (FoFo *fo_fo); Gets the "content-type" property of fo_fo. fo_fo : The FoFo object. Returns : The "content-type" property value. fo_external_graphic_set_content_type () fo_external_graphic_set_content_typevoid fo_external_graphic_set_content_type (FoFo *fo_fo, FoProperty *new_content_type); Sets the "content-type" property of fo_fo to new_content_type. fo_fo : The FoFo object. new_content_type : The new "content-type" property value. fo_external_graphic_get_content_width () fo_external_graphic_get_content_widthFoProperty* fo_external_graphic_get_content_width (FoFo *fo_fo); Gets the "content-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "content-width" property value. fo_external_graphic_set_content_width () fo_external_graphic_set_content_widthvoid fo_external_graphic_set_content_width (FoFo *fo_fo, FoProperty *new_content_width); Sets the "content-width" property of fo_fo to new_content_width. fo_fo : The FoFo object. new_content_width : The new "content-width" property value. fo_external_graphic_get_display_align () fo_external_graphic_get_display_alignFoProperty* fo_external_graphic_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo. fo_fo : The FoFo object. Returns : The "display-align" property value. fo_external_graphic_set_display_align () fo_external_graphic_set_display_alignvoid fo_external_graphic_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align. fo_fo : The FoFo object. new_display_align : The new "display-align" property value. fo_external_graphic_get_dominant_baseline () fo_external_graphic_get_dominant_baselineFoProperty* fo_external_graphic_get_dominant_baseline (FoFo *fo_fo); Gets the "dominant-baseline" property of fo_fo. fo_fo : The FoFo object. Returns : The "dominant-baseline" property value. fo_external_graphic_set_dominant_baseline () fo_external_graphic_set_dominant_baselinevoid fo_external_graphic_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline. fo_fo : The FoFo object. new_dominant_baseline : The new "dominant-baseline" property value. fo_external_graphic_get_height () fo_external_graphic_get_heightFoProperty* fo_external_graphic_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo. fo_fo : The FoFo object. Returns : The "height" property value. fo_external_graphic_set_height () fo_external_graphic_set_heightvoid fo_external_graphic_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height. fo_fo : The FoFo object. new_height : The new "height" property value. fo_external_graphic_get_id () fo_external_graphic_get_idFoProperty* fo_external_graphic_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_external_graphic_set_id () fo_external_graphic_set_idvoid fo_external_graphic_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id. fo_fo : The FoFo object. new_id : The new "id" property value. fo_external_graphic_get_inline_progression_dimension () fo_external_graphic_get_inline_progression_dimensionFoProperty* fo_external_graphic_get_inline_progression_dimension (FoFo *fo_fo); Gets the "inline-progression-dimension" property of fo_fo. fo_fo : The FoFo object. Returns : The "inline-progression-dimension" property value. fo_external_graphic_set_inline_progression_dimension () fo_external_graphic_set_inline_progression_dimensionvoid fo_external_graphic_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension. fo_fo : The FoFo object. new_inline_progression_dimension : The new "inline-progression-dimension" property value. fo_external_graphic_get_keep_with_next () fo_external_graphic_get_keep_with_nextFoProperty* fo_external_graphic_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next" property value. fo_external_graphic_set_keep_with_next () fo_external_graphic_set_keep_with_nextvoid fo_external_graphic_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next. fo_fo : The FoFo object. new_keep_with_next : The new "keep-with-next" property value. fo_external_graphic_get_keep_with_next_within_column () fo_external_graphic_get_keep_with_next_within_columnFoProperty* fo_external_graphic_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-column" property value. fo_external_graphic_set_keep_with_next_within_column () fo_external_graphic_set_keep_with_next_within_columnvoid fo_external_graphic_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column. fo_fo : The FoFo object. new_keep_with_next_within_column : The new "keep-with-next-within-column" property value. fo_external_graphic_get_keep_with_next_within_line () fo_external_graphic_get_keep_with_next_within_lineFoProperty* fo_external_graphic_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-line" property value. fo_external_graphic_set_keep_with_next_within_line () fo_external_graphic_set_keep_with_next_within_linevoid fo_external_graphic_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line. fo_fo : The FoFo object. new_keep_with_next_within_line : The new "keep-with-next-within-line" property value. fo_external_graphic_get_keep_with_next_within_page () fo_external_graphic_get_keep_with_next_within_pageFoProperty* fo_external_graphic_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-page" property value. fo_external_graphic_set_keep_with_next_within_page () fo_external_graphic_set_keep_with_next_within_pagevoid fo_external_graphic_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page. fo_fo : The FoFo object. new_keep_with_next_within_page : The new "keep-with-next-within-page" property value. fo_external_graphic_get_keep_with_previous () fo_external_graphic_get_keep_with_previousFoProperty* fo_external_graphic_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous" property value. fo_external_graphic_set_keep_with_previous () fo_external_graphic_set_keep_with_previousvoid fo_external_graphic_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous. fo_fo : The FoFo object. new_keep_with_previous : The new "keep-with-previous" property value. fo_external_graphic_get_keep_with_previous_within_column () fo_external_graphic_get_keep_with_previous_within_columnFoProperty* fo_external_graphic_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-column" property value. fo_external_graphic_set_keep_with_previous_within_column () fo_external_graphic_set_keep_with_previous_within_columnvoid fo_external_graphic_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column. fo_fo : The FoFo object. new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value. fo_external_graphic_get_keep_with_previous_within_line () fo_external_graphic_get_keep_with_previous_within_lineFoProperty* fo_external_graphic_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-line" property value. fo_external_graphic_set_keep_with_previous_within_line () fo_external_graphic_set_keep_with_previous_within_linevoid fo_external_graphic_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line. fo_fo : The FoFo object. new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value. fo_external_graphic_get_keep_with_previous_within_page () fo_external_graphic_get_keep_with_previous_within_pageFoProperty* fo_external_graphic_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-page" property value. fo_external_graphic_set_keep_with_previous_within_page () fo_external_graphic_set_keep_with_previous_within_pagevoid fo_external_graphic_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page. fo_fo : The FoFo object. new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value. fo_external_graphic_get_line_height () fo_external_graphic_get_line_heightFoProperty* fo_external_graphic_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo. fo_fo : The FoFo object. Returns : The "line-height" property value. fo_external_graphic_set_line_height () fo_external_graphic_set_line_heightvoid fo_external_graphic_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height. fo_fo : The FoFo object. new_line_height : The new "line-height" property value. fo_external_graphic_get_overflow () fo_external_graphic_get_overflowFoProperty* fo_external_graphic_get_overflow (FoFo *fo_fo); Gets the "overflow" property of fo_fo. fo_fo : The FoFo object. Returns : The "overflow" property value. fo_external_graphic_set_overflow () fo_external_graphic_set_overflowvoid fo_external_graphic_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); Sets the "overflow" property of fo_fo to new_overflow. fo_fo : The FoFo object. new_overflow : The new "overflow" property value. fo_external_graphic_get_padding_after () fo_external_graphic_get_padding_afterFoProperty* fo_external_graphic_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_external_graphic_set_padding_after () fo_external_graphic_set_padding_aftervoid fo_external_graphic_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_external_graphic_get_padding_before () fo_external_graphic_get_padding_beforeFoProperty* fo_external_graphic_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_external_graphic_set_padding_before () fo_external_graphic_set_padding_beforevoid fo_external_graphic_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_external_graphic_get_padding_bottom () fo_external_graphic_get_padding_bottomFoProperty* fo_external_graphic_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_external_graphic_set_padding_bottom () fo_external_graphic_set_padding_bottomvoid fo_external_graphic_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_external_graphic_get_padding_end () fo_external_graphic_get_padding_endFoProperty* fo_external_graphic_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_external_graphic_set_padding_end () fo_external_graphic_set_padding_endvoid fo_external_graphic_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_external_graphic_get_padding_left () fo_external_graphic_get_padding_leftFoProperty* fo_external_graphic_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_external_graphic_set_padding_left () fo_external_graphic_set_padding_leftvoid fo_external_graphic_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_external_graphic_get_padding_right () fo_external_graphic_get_padding_rightFoProperty* fo_external_graphic_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_external_graphic_set_padding_right () fo_external_graphic_set_padding_rightvoid fo_external_graphic_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_external_graphic_get_padding_start () fo_external_graphic_get_padding_startFoProperty* fo_external_graphic_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_external_graphic_set_padding_start () fo_external_graphic_set_padding_startvoid fo_external_graphic_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_external_graphic_get_padding_top () fo_external_graphic_get_padding_topFoProperty* fo_external_graphic_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_external_graphic_set_padding_top () fo_external_graphic_set_padding_topvoid fo_external_graphic_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_external_graphic_get_role () fo_external_graphic_get_roleFoProperty* fo_external_graphic_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo. fo_fo : The FoFo object. Returns : The "role" property value. fo_external_graphic_set_role () fo_external_graphic_set_rolevoid fo_external_graphic_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role. fo_fo : The FoFo object. new_role : The new "role" property value. fo_external_graphic_get_scaling () fo_external_graphic_get_scalingFoProperty* fo_external_graphic_get_scaling (FoFo *fo_fo); Gets the "scaling" property of fo_fo. fo_fo : The FoFo object. Returns : The "scaling" property value. fo_external_graphic_set_scaling () fo_external_graphic_set_scalingvoid fo_external_graphic_set_scaling (FoFo *fo_fo, FoProperty *new_scaling); Sets the "scaling" property of fo_fo to new_scaling. fo_fo : The FoFo object. new_scaling : The new "scaling" property value. fo_external_graphic_get_scaling_method () fo_external_graphic_get_scaling_methodFoProperty* fo_external_graphic_get_scaling_method (FoFo *fo_fo); Gets the "scaling-method" property of fo_fo. fo_fo : The FoFo object. Returns : The "scaling-method" property value. fo_external_graphic_set_scaling_method () fo_external_graphic_set_scaling_methodvoid fo_external_graphic_set_scaling_method (FoFo *fo_fo, FoProperty *new_scaling_method); Sets the "scaling-method" property of fo_fo to new_scaling_method. fo_fo : The FoFo object. new_scaling_method : The new "scaling-method" property value. fo_external_graphic_get_source_document () fo_external_graphic_get_source_documentFoProperty* fo_external_graphic_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo. fo_fo : The FoFo object. Returns : The "source-document" property value. fo_external_graphic_set_source_document () fo_external_graphic_set_source_documentvoid fo_external_graphic_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document. fo_fo : The FoFo object. new_source_document : The new "source-document" property value. fo_external_graphic_get_space_end () fo_external_graphic_get_space_endFoProperty* fo_external_graphic_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-end" property value. fo_external_graphic_set_space_end () fo_external_graphic_set_space_endvoid fo_external_graphic_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end. fo_fo : The FoFo object. new_space_end : The new "space-end" property value. fo_external_graphic_get_space_start () fo_external_graphic_get_space_startFoProperty* fo_external_graphic_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-start" property value. fo_external_graphic_set_space_start () fo_external_graphic_set_space_startvoid fo_external_graphic_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start. fo_fo : The FoFo object. new_space_start : The new "space-start" property value. fo_external_graphic_get_src () fo_external_graphic_get_srcFoProperty* fo_external_graphic_get_src (FoFo *fo_fo); Gets the "src" property of fo_fo. fo_fo : The FoFo object. Returns : The "src" property value. fo_external_graphic_set_src () fo_external_graphic_set_srcvoid fo_external_graphic_set_src (FoFo *fo_fo, FoProperty *new_src); Sets the "src" property of fo_fo to new_src. fo_fo : The FoFo object. new_src : The new "src" property value. fo_external_graphic_get_text_align () fo_external_graphic_get_text_alignFoProperty* fo_external_graphic_get_text_align (FoFo *fo_fo); Gets the "text-align" property of fo_fo. fo_fo : The FoFo object. Returns : The "text-align" property value. fo_external_graphic_set_text_align () fo_external_graphic_set_text_alignvoid fo_external_graphic_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); Sets the "text-align" property of fo_fo to new_text_align. fo_fo : The FoFo object. new_text_align : The new "text-align" property value. fo_external_graphic_get_width () fo_external_graphic_get_widthFoProperty* fo_external_graphic_get_width (FoFo *fo_fo); Gets the "width" property of fo_fo. fo_fo : The FoFo object. Returns : The "width" property value. fo_external_graphic_set_width () fo_external_graphic_set_widthvoid fo_external_graphic_set_width (FoFo *fo_fo, FoProperty *new_width); Sets the "width" property of fo_fo to new_width. fo_fo : The FoFo object. new_width : The new "width" property value. Property Details The <literal>"alignment-adjust"</literal> property FoExternalGraphic:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoExternalGraphic:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoExternalGraphic:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoExternalGraphic:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"base-uri"</literal> property FoExternalGraphic:base-uri "base-uri" gchar* : Read / Write / Construct Only Base URI for resolving relative URI references.Default value: NULL The <literal>"baseline-shift"</literal> property FoExternalGraphic:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"block-progression-dimension"</literal> property FoExternalGraphic:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"border-after-color"</literal> property FoExternalGraphic:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoExternalGraphic:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoExternalGraphic:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoExternalGraphic:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoExternalGraphic:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoExternalGraphic:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoExternalGraphic:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoExternalGraphic:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoExternalGraphic:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoExternalGraphic:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoExternalGraphic:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoExternalGraphic:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoExternalGraphic:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoExternalGraphic:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoExternalGraphic:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoExternalGraphic:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoExternalGraphic:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoExternalGraphic:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoExternalGraphic:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoExternalGraphic:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoExternalGraphic:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoExternalGraphic:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoExternalGraphic:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoExternalGraphic:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"clip"</literal> property FoExternalGraphic:clip "clip" FoProperty* : Read Clip property. The <literal>"content-height"</literal> property FoExternalGraphic:content-height "content-height" FoProperty* : Read Content Height property. The <literal>"content-type"</literal> property FoExternalGraphic:content-type "content-type" FoProperty* : Read Content Type property. The <literal>"content-width"</literal> property FoExternalGraphic:content-width "content-width" FoProperty* : Read Content Width property. The <literal>"display-align"</literal> property FoExternalGraphic:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"dominant-baseline"</literal> property FoExternalGraphic:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"height"</literal> property FoExternalGraphic:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoExternalGraphic:id "id" FoProperty* : Read Id property. The <literal>"inline-progression-dimension"</literal> property FoExternalGraphic:inline-progression-dimension "inline-progression-dimension" FoProperty* : Read Inline Progression Dimension property. The <literal>"keep-with-next"</literal> property FoExternalGraphic:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoExternalGraphic:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoExternalGraphic:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoExternalGraphic:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoExternalGraphic:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoExternalGraphic:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoExternalGraphic:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoExternalGraphic:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoExternalGraphic:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"overflow"</literal> property FoExternalGraphic:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding-after"</literal> property FoExternalGraphic:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoExternalGraphic:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoExternalGraphic:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoExternalGraphic:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoExternalGraphic:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoExternalGraphic:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoExternalGraphic:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoExternalGraphic:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoExternalGraphic:role "role" FoProperty* : Read Role property. The <literal>"scaling"</literal> property FoExternalGraphic:scaling "scaling" FoProperty* : Read Scaling property. The <literal>"scaling-method"</literal> property FoExternalGraphic:scaling-method "scaling-method" FoProperty* : Read Scaling Method property. The <literal>"source-document"</literal> property FoExternalGraphic:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-end"</literal> property FoExternalGraphic:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoExternalGraphic:space-start "space-start" FoProperty* : Read Space Start property. The <literal>"src"</literal> property FoExternalGraphic:src "src" FoProperty* : Read Src property. The <literal>"text-align"</literal> property FoExternalGraphic:text-align "text-align" FoProperty* : Read Text Align property. The <literal>"width"</literal> property FoExternalGraphic:width "width" FoProperty* : Read Width property. xmlroff-0.6.2/docs/xml/fo-float.xml0000644000175000017500000000535211156164731014110 00000000000000 float 3 XMLROFF Library float Synopsis FoFloat; FoFloatClass; FoFo* fo_float_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoFloat Implemented Interfaces FoFloat implements FoNeutralIface. Description Details FoFloat FoFloattypedef struct _FoFloat FoFloat; FoFloatClass FoFloatClasstypedef struct _FoFloatClass FoFloatClass; fo_float_new () fo_float_newFoFo* fo_float_new (void); Creates a new FoFloat initialized to default value. Returns : the new FoFloat xmlroff-0.6.2/docs/xml/fo-flow.xml0000644000175000017500000001514411156164731013752 00000000000000 flow 3 XMLROFF Library flow Synopsis FoFlow; FoFlowClass; FoFo* fo_flow_new (void); FoFo* fo_flow_get_region_master (FoFo *fo_fo); void fo_flow_set_flow_name (FoFo *fo_fo, FoProperty *new_flow_name); FoProperty* fo_flow_get_flow_name (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoFlow Properties "flow-name" FoProperty* : Read Description Details FoFlow FoFlowtypedef struct _FoFlow FoFlow; Instance of the 'flow' formatting object. FoFlowClass FoFlowClasstypedef struct _FoFlowClass FoFlowClass; Class structure for the 'flow' formatting object. fo_flow_new () fo_flow_newFoFo* fo_flow_new (void); Creates a new FoFlow initialized to default value. Returns : the new FoFlow. fo_flow_get_region_master () fo_flow_get_region_masterFoFo* fo_flow_get_region_master (FoFo *fo_fo); Gets the region_master instance variable of flow fo_fo : The FoFlow object Returns : The "region_master" value fo_flow_set_flow_name () fo_flow_set_flow_namevoid fo_flow_set_flow_name (FoFo *fo_fo, FoProperty *new_flow_name); Sets the "flow-name" property of fo_fo to new_flow_name. fo_fo : The FoFo object. new_flow_name : The new "flow-name" property value. fo_flow_get_flow_name () fo_flow_get_flow_nameFoProperty* fo_flow_get_flow_name (FoFo *fo_fo); Gets the "flow-name" property of fo_fo. fo_fo : The FoFo object. Returns : The "flow-name" property value. Property Details The <literal>"flow-name"</literal> property FoFlow:flow-name "flow-name" FoProperty* : Read Flow Name property. xmlroff-0.6.2/docs/xml/fo-font-desc.xml0000644000175000017500000002604711156164731014671 00000000000000 FoFontDesc 3 XMLROFF Library FoFontDesc Synopsis FoFontDesc; FoFontDescClass; #define FO_FONT_DESC_ERROR GQuark fo_font_desc_error_quark (void); enum FoFontDescError; FoFontDesc* fo_font_desc_new (void); FoFontDesc* fo_font_desc_copy (const FoFontDesc *font_desc); void fo_font_desc_set_family (FoFontDesc *font_desc, const char *family); void fo_font_desc_set_size (FoFontDesc *font_desc, gfloat size); void fo_font_desc_set_style (FoFontDesc *font_desc, FoEnumEnum style); void fo_font_desc_set_stretch (FoFontDesc *font_desc, FoEnumEnum stretch); void fo_font_desc_set_variant (FoFontDesc *font_desc, FoEnumEnum variant); void fo_font_desc_set_weight (FoFontDesc *font_desc, gint weight); Description Details FoFontDesc FoFontDesctypedef struct _FoFontDesc FoFontDesc; FoFontDescClass FoFontDescClasstypedef struct _FoFontDescClass FoFontDescClass; FO_FONT_DESC_ERROR FO_FONT_DESC_ERROR#define FO_FONT_DESC_ERROR fo_font_desc_error_quark () fo_font_desc_error_quark () fo_font_desc_error_quarkGQuark fo_font_desc_error_quark (void); Get the error quark for FoFontDesc. If the quark does not yet exist, create it. Returns : GQuark associated with FoFontDesc errors. enum FoFontDescError FoFontDescErrortypedef enum { FO_FONT_DESC_ERROR_FAILED } FoFontDescError; fo_font_desc_new () fo_font_desc_newFoFontDesc* fo_font_desc_new (void); Creates a new FoFontDesc. Returns : the newly created FoFontDesc. fo_font_desc_copy () fo_font_desc_copyFoFontDesc* fo_font_desc_copy (const FoFontDesc *font_desc); font_desc : Returns : fo_font_desc_set_family () fo_font_desc_set_familyvoid fo_font_desc_set_family (FoFontDesc *font_desc, const char *family); font_desc : family : fo_font_desc_set_size () fo_font_desc_set_sizevoid fo_font_desc_set_size (FoFontDesc *font_desc, gfloat size); font_desc : size : fo_font_desc_set_style () fo_font_desc_set_stylevoid fo_font_desc_set_style (FoFontDesc *font_desc, FoEnumEnum style); font_desc : style : fo_font_desc_set_stretch () fo_font_desc_set_stretchvoid fo_font_desc_set_stretch (FoFontDesc *font_desc, FoEnumEnum stretch); font_desc : stretch : fo_font_desc_set_variant () fo_font_desc_set_variantvoid fo_font_desc_set_variant (FoFontDesc *font_desc, FoEnumEnum variant); font_desc : variant : fo_font_desc_set_weight () fo_font_desc_set_weightvoid fo_font_desc_set_weight (FoFontDesc *font_desc, gint weight); font_desc : weight : xmlroff-0.6.2/docs/xml/fo-footnote-body.xml0000644000175000017500000002171611156164731015575 00000000000000 footnote-body 3 XMLROFF Library footnote-body Synopsis FoFootnoteBody; FoFootnoteBodyClass; FoFo* fo_footnote_body_new (void); FoProperty* fo_footnote_body_get_role (FoFo *fo_fo); void fo_footnote_body_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_footnote_body_get_source_document (FoFo *fo_fo); void fo_footnote_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoFootnoteBody Properties "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoFootnoteBody FoFootnoteBodytypedef struct _FoFootnoteBody FoFootnoteBody; FoFootnoteBodyClass FoFootnoteBodyClasstypedef struct _FoFootnoteBodyClass FoFootnoteBodyClass; fo_footnote_body_new () fo_footnote_body_newFoFo* fo_footnote_body_new (void); Creates a new FoFootnoteBody initialized to default value. Returns : the new FoFootnoteBody. fo_footnote_body_get_role () fo_footnote_body_get_roleFoProperty* fo_footnote_body_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo. fo_fo : The FoFo object. Returns : The "role" property value. fo_footnote_body_set_role () fo_footnote_body_set_rolevoid fo_footnote_body_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_footnote_body_get_source_document () fo_footnote_body_get_source_documentFoProperty* fo_footnote_body_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo. fo_fo : The FoFo object. Returns : The "source-document" property value. fo_footnote_body_set_source_document () fo_footnote_body_set_source_documentvoid fo_footnote_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value Property Details The <literal>"role"</literal> property FoFootnoteBody:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoFootnoteBody:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-footnote.xml0000644000175000017500000002152211156164731014635 00000000000000 footnote 3 XMLROFF Library footnote Synopsis FoFootnote; FoFootnoteClass; FoFo* fo_footnote_new (void); void fo_footnote_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_footnote_get_role (FoFo *fo_fo); void fo_footnote_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_footnote_get_source_document (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoFootnote Implemented Interfaces FoFootnote implements FoInlineFoIface. Properties "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoFootnote FoFootnotetypedef struct _FoFootnote FoFootnote; FoFootnoteClass FoFootnoteClasstypedef struct _FoFootnoteClass FoFootnoteClass; fo_footnote_new () fo_footnote_newFoFo* fo_footnote_new (void); Creates a new FoFootnote initialized to default value. Returns : the new FoFootnote fo_footnote_set_role () fo_footnote_set_rolevoid fo_footnote_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the role property of footnote to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_footnote_get_role () fo_footnote_get_roleFoProperty* fo_footnote_get_role (FoFo *fo_fo); Gets the role property of footnote fo_fo : The FoFo object Returns : The "role" property value fo_footnote_set_source_document () fo_footnote_set_source_documentvoid fo_footnote_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the source-document property of footnote to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_footnote_get_source_document () fo_footnote_get_source_documentFoProperty* fo_footnote_get_source_document (FoFo *fo_fo); Gets the source-document property of footnote fo_fo : The FoFo object Returns : The "source-document" property value Property Details The <literal>"role"</literal> property FoFootnote:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoFootnote:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-fo.xml0000644000175000017500000013565511156164731013421 00000000000000 FoFo 3 XMLROFF Library FoFo Synopsis FoFo; FoFoClass; #define FO_FO_ERROR GQuark fo_fo_error_quark (void); enum FoFoError; FoFoAreaNew2Context; FoFoAreaIterator; FoFo* fo_fo_new (void); void fo_fo_debug_dump_properties (FoFo *fo, gint depth); void fo_fo_set_context (FoFo *fo_fo, FoContext *new_context); FoContext* fo_fo_get_context (FoFo *fo_fo); void fo_fo_update_from_context (FoFo *fo_fo, FoContext *context); FoFo* fo_fo_get_flow (FoFo *fo_fo); FoFo* fo_fo_get_tree (FoFo *fo_fo); gboolean fo_fo_get_generate_reference_area (FoFo *fo_fo); gboolean fo_fo_get_allow_mixed_content (FoFo *fo_fo); gboolean fo_fo_validate_content (FoFo *fo, GError **error); gboolean fo_fo_resolve_property_attributes (FoNode *fo_node, gpointer data); void fo_fo_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error); void fo_fo_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); FoFo* fo_fo_clone (FoFo *original); void fo_fo_area_new (FoFo *fo, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level); void fo_fo_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error); void fo_fo_trim_whitespace_children (FoFo *fo); gboolean fo_fo_validate_content_empty (FoFo *fo, GError **error); gboolean fo_fo_validate_content_block_plus (FoFo *fo, GError **error); void fo_fo_validate_pcdata_or_inline (FoNode *fo_node, gboolean *is_not_pcdata_inline); void fo_fo_validate_block_or_whitespace (FoNode *fo_node, gboolean *is_not_block_or_whitespace); void fo_fo_validate_pcdata_inline_block_neutral (FoNode *fo_node, gpointer data); FoFoAreaIterator* fo_fo_get_area_iterator (FoFo *fo); FoArea* fo_fo_area_iterator_get_area (const FoFoAreaIterator *iterator); gboolean fo_fo_area_iterator_next (FoFoAreaIterator *iterator); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoCharacter +----FoColorProfile +----FoConditionalPageMasterReference +----FoDeclarations +----FoExternalGraphic +----FoFloat +----FoFlow +----FoFootnoteBody +----FoFootnote +----FoInitialPropertySet +----FoInstreamForeignObject +----FoLayoutMasterSet +----FoLeader +----FoMarker +----FoMultiCase +----FoMultiProperties +----FoMultiPropertySet +----FoMultiSwitch +----FoMultiToggle +----FoPageNumberCitation +----FoPageNumber +----FoPageSequence +----FoPageSequenceMaster +----FoRegionAfter +----FoRegionBefore +----FoRegionBody +----FoRegionEnd +----FoRegionStart +----FoRepeatablePageMasterAlternatives +----FoRepeatablePageMasterReference +----FoRetrieveMarker +----FoRoot +----FoSimplePageMaster +----FoSinglePageMasterReference +----FoStaticContent +----FoTableColumn +----FoTableRow +----FoText +----FoTitle +----FoTree Known Derived Interfaces FoFo is required by FoInlineFoIface, FoTableBorderFoIface and FoBlockFoIface. Properties "allow-mixed-content" gboolean : Read "context" FoContext* : Read "flow" FoFo* : Read "generate-reference-area" gboolean : Read "tree" FoFo* : Read Description Details FoFo FoFotypedef struct _FoFo FoFo; FoFoClass FoFoClasstypedef struct _FoFoClass FoFoClass; FO_FO_ERROR FO_FO_ERROR#define FO_FO_ERROR (fo_fo_error_quark ()) fo_fo_error_quark () fo_fo_error_quarkGQuark fo_fo_error_quark (void); Gets the GQuark identifying FoFo errors. Returns : GQuark identifying FoFo errors. enum FoFoError FoFoErrortypedef enum { FO_FO_ERROR_FAILED, /* Generic error code */ FO_FO_ERROR_WARNING, /* Non-fatal error */ FO_FO_ERROR_EMPTY, /* FO should not be empty */ FO_FO_ERROR_NOT_EMPTY, /* FO should be empty */ FO_FO_ERROR_NOT_BLOCK, /* FO should contain (%block;)+ */ FO_FO_ERROR_INVALID_CHILD, /* FO not allowed as child of parent FO */ FO_FO_ERROR_INVALID_CONTENT, /* FO content does not match content model */ FO_FO_ERROR_ENUMERATION_TOKEN, /* Unrecognised enumeration token */ FO_FO_ERROR_DATATYPE, /* Invalid datatype value for property */ FO_FO_ERROR_DATATYPE_REPLACE, /* Invalid datatype value for property replaced */ FO_FO_ERROR_DATATYPE_NULL, /* Invalid datatype value for property: NULL */ FO_FO_ERROR_UNSUPPORTED_PROPERTY, /* Unsupported property */ FO_FO_ERROR_NO_IMAGE, /* No image */ FO_FO_ERROR_LAST } FoFoError; FoFoAreaNew2Context FoFoAreaNew2Contexttypedef struct { FoDoc *fo_doc; FoArea *parent_area; FoArea **new_area; gboolean continue_after_error; FoDebugFlag debug_level; FoWarningFlag warning_mode; } FoFoAreaNew2Context; FoFoAreaIterator FoFoAreaIteratortypedef struct _FoFoAreaIterator FoFoAreaIterator; fo_fo_new () fo_fo_newFoFo* fo_fo_new (void); Creates a new FoFo initialized to default value. Returns : the new FoFo fo_fo_debug_dump_properties () fo_fo_debug_dump_propertiesvoid fo_fo_debug_dump_properties (FoFo *fo, gint depth); Log debug messages for most of the instance variables and some of the class variables of fo. fo : FoFo whose properties to dump depth : Indication of relative depth to be applied to the output. fo_fo_set_context () fo_fo_set_contextvoid fo_fo_set_context (FoFo *fo_fo, FoContext *new_context); Sets the context of fo_fo to new_context fo_fo : The FoFo object new_context : The new context fo_fo_get_context () fo_fo_get_contextFoContext* fo_fo_get_context (FoFo *fo_fo); Gets the "context" of fo_fo fo_fo : The FoFo object Returns : The context fo_fo_update_from_context () fo_fo_update_from_contextvoid fo_fo_update_from_context (FoFo *fo_fo, FoContext *context); Calls the FoFo-specific _update_from_context() function to update the FoFo's property values from the larger set of property values maintained in the FoContext. fo_fo : FoFo to be updated context : FoContext from which to update the FoFo fo_fo_get_flow () fo_fo_get_flowFoFo* fo_fo_get_flow (FoFo *fo_fo); Gets the flow of fo_fo fo_fo : The FoFo object Returns : The flow fo_fo_get_tree () fo_fo_get_treeFoFo* fo_fo_get_tree (FoFo *fo_fo); Gets the tree of fo_fo fo_fo : The FoFo object Returns : The tree fo_fo_get_generate_reference_area () fo_fo_get_generate_reference_areagboolean fo_fo_get_generate_reference_area (FoFo *fo_fo); Gets whether or not the FO generates reference areas. fo_fo : The FoFo object Returns : The generate-reference-area class property value fo_fo_get_allow_mixed_content () fo_fo_get_allow_mixed_contentgboolean fo_fo_get_allow_mixed_content (FoFo *fo_fo); Gets whether or not the FO allows mixed content (i.e. text nodes). fo_fo : The FoFo object Returns : The allow_mixed_content class property value. fo_fo_validate_content () fo_fo_validate_contentgboolean fo_fo_validate_content (FoFo *fo, GError **error); Calls the FoFo-specific _validate_content() function to validate the FoFo's content model and returns the value returned by that function. fo : FoFo whose content is to be validated error : GError Returns : FALSE if no content model error, otherwise TRUE fo_fo_resolve_property_attributes () fo_fo_resolve_property_attributesgboolean fo_fo_resolve_property_attributes (FoNode *fo_node, gpointer data); Resolves the values of the properties of fo_node. fo_node : FoNode for which to resolve property attributes. data : Context in which to resolve the properties. Returns : TRUE if an error occurred, FALSE otherwise. fo_fo_children_properties_resolve () fo_fo_children_properties_resolvevoid fo_fo_children_properties_resolve (FoFo *this_fo, FoArea *this_fo_parent_area, FoArea **new_area, GHashTable *prop_eval_hash, FoDoc *fo_doc, gboolean continue_after_error, FoDebugFlag debug_level, FoWarningFlag warning_mode, GError **error); Resolves the properties of the children of this_fo. this_fo : FoFo for which to resolve properties. this_fo_parent_area : Parent FoArea to which to add new areas. new_area : New area, if any. prop_eval_hash : Map of property names to property eval functions. fo_doc : Output FoDoc. continue_after_error : Whether to continue after any formatting errors. debug_level : Debug level. warning_mode : Warning mode. error : Indication of any error that occurred. fo_fo_validate () fo_fo_validatevoid fo_fo_validate (FoFo *fo, FoContext *current_context, FoContext *parent_context, GError **error); Validate and/or munge the properties of fo. fo : FoFo to validate. current_context : FoContext of fo. parent_context : FoContext of parent of fo. error : GError indicating any error that occurs fo_fo_clone () fo_fo_cloneFoFo* fo_fo_clone (FoFo *original); Make a clone of original and insert the clone after original in the fo tree. Set instance properties of the clone to match original. original : Fo object to be cloned Returns : Clone of original fo_fo_area_new () fo_fo_area_newvoid fo_fo_area_new (FoFo *fo, FoDoc *fo_doc, FoArea *parent_area, FoArea **new_area, guint debug_level); fo_fo_area_new is deprecated and should not be used in newly-written code. Use fo_fo_area_new2 in new code. Creates a new FoArea for fo and adds it as the last child of parent_area. fo : FoFo for which to create a new area. fo_doc : Output FoDoc parent_area : FoArea to which to add new area. new_area : New area. debug_level : Debug level. fo_fo_area_new2 () fo_fo_area_new2void fo_fo_area_new2 (FoFo *fo, FoFoAreaNew2Context *context, GError **error); Creates a new FoArea corresponding to fo. fo : FoFo for which to create area. context : Context in which to create area. error : Indication of any error that occurred. fo_fo_trim_whitespace_children () fo_fo_trim_whitespace_childrenvoid fo_fo_trim_whitespace_children (FoFo *fo); Remove any "whitespace" children of fo. I.e., unlink and unref any children that are FoText that contain only whitespace or are FoWrapperWhitespace nodes. Leaves fo with no "whitespace" children. fo : FoFo to trim fo_fo_validate_content_empty () fo_fo_validate_content_emptygboolean fo_fo_validate_content_empty (FoFo *fo, GError **error); Validates that fo does not contain any child FoFo fo : FoFo to validate. error : GError indicating any error. Returns : FALSE if fo is empty. fo_fo_validate_content_block_plus () fo_fo_validate_content_block_plusgboolean fo_fo_validate_content_block_plus (FoFo *fo, GError **error); Validates the fo contains one or more FoBlockFo formatting objects. fo : FoFo to validate. error : GError indicating any error. Returns : FALSE if content matches. fo_fo_validate_pcdata_or_inline () fo_fo_validate_pcdata_or_inlinevoid fo_fo_validate_pcdata_or_inline (FoNode *fo_node, gboolean *is_not_pcdata_inline); fo_node : is_not_pcdata_inline : fo_fo_validate_block_or_whitespace () fo_fo_validate_block_or_whitespacevoid fo_fo_validate_block_or_whitespace (FoNode *fo_node, gboolean *is_not_block_or_whitespace); fo_node : is_not_block_or_whitespace : fo_fo_validate_pcdata_inline_block_neutral () fo_fo_validate_pcdata_inline_block_neutralvoid fo_fo_validate_pcdata_inline_block_neutral (FoNode *fo_node, gpointer data); Validates that the content of fo_node is only #PCDATA or FoInline or FoNeutral formatting objects. fo_node : FoFo to validate data : Pointer to gboolean storing result fo_fo_get_area_iterator () fo_fo_get_area_iteratorFoFoAreaIterator* fo_fo_get_area_iterator (FoFo *fo); Gets a FoFoAreaIterator for iterating over the areas generated by fo. fo : FoFo for which to get iterator. Returns : A FoFoAreaIterator. fo_fo_area_iterator_get_area () fo_fo_area_iterator_get_areaFoArea* fo_fo_area_iterator_get_area (const FoFoAreaIterator *iterator); Gets the current FoArea pointed to by iterator. iterator : FoFoAreaIterator for which to get current area. Returns : The current FoArea. fo_fo_area_iterator_next () fo_fo_area_iterator_nextgboolean fo_fo_area_iterator_next (FoFoAreaIterator *iterator); Makes iterator point to the next FoArea in its list. iterator : FoFoAreaIterator to modify Returns : TRUE if there is a next FoArea, FALSE if not. Property Details The <literal>"allow-mixed-content"</literal> property FoFo:allow-mixed-content "allow-mixed-content" gboolean : Read Whether or not the formatting object allows mixed content.Default value: FALSE The <literal>"context"</literal> property FoFo:context "context" FoContext* : Read Set of current formatting object properties. The <literal>"flow"</literal> property FoFo:flow "flow" FoFo* : Read Ancestor fo:flow node in the formatting object tree. The <literal>"generate-reference-area"</literal> property FoFo:generate-reference-area "generate-reference-area" gboolean : Read Whether or not the formatting object generates a reference area.Default value: FALSE The <literal>"tree"</literal> property FoFo:tree "tree" FoFo* : Read Top of the formatting object tree. xmlroff-0.6.2/docs/xml/fo-hash-table.xml0000644000175000017500000003144211156164731015012 00000000000000 FoHashTable 3 XMLROFF Library FoHashTable Synopsis FoHashTable; FoHashTableClass; #define FO_HASH_TABLE_ERROR GQuark fo_hash_table_error_quark (void); FoHashTable* fo_hash_table_new (void); void fo_hash_table_insert (FoHashTable *fo_hash_table, FoObject *key, FoObject *value, GError **error); void fo_hash_table_replace (FoHashTable *fo_hash_table, FoObject *key, FoObject *value, GError **error); gboolean fo_hash_table_remove (FoHashTable *fo_hash_table, FoObject *key, GError **error); FoObject* fo_hash_table_lookup (FoHashTable *fo_hash_table, FoObject *key, GError **error); guint fo_hash_table_size (FoHashTable *fo_hash_table); Object Hierarchy GObject +----FoObject +----FoHashTable Description Details FoHashTable FoHashTabletypedef struct _FoHashTable FoHashTable; FoHashTableClass FoHashTableClasstypedef struct _FoHashTableClass FoHashTableClass; FO_HASH_TABLE_ERROR FO_HASH_TABLE_ERROR#define FO_HASH_TABLE_ERROR fo_hash_table_error_quark () fo_hash_table_error_quark () fo_hash_table_error_quarkGQuark fo_hash_table_error_quark (void); Get the error quark for FoHashTable. If the quark does not yet exist, create it. Returns : Quark associated with FoHashTable errors. fo_hash_table_new () fo_hash_table_newFoHashTable* fo_hash_table_new (void); Creates a new FoHashTable initialized to default value. Returns : the new FoHashTable fo_hash_table_insert () fo_hash_table_insertvoid fo_hash_table_insert (FoHashTable *fo_hash_table, FoObject *key, FoObject *value, GError **error); Inserts value as the value corresponding to key in fo_hash_table. fo_hash_table : FoHashTable in which to insert. key : Key at which to insert. value : Value to insert. error : GError with information about error that occurred. fo_hash_table_replace () fo_hash_table_replacevoid fo_hash_table_replace (FoHashTable *fo_hash_table, FoObject *key, FoObject *value, GError **error); Replaces the key-value pair in fo_hash_table that has a key matching key. fo_hash_table : FoHashTable in which to replace. key : Key of key-value pair to replace. value : New value. error : GError with information about error that occurred. fo_hash_table_remove () fo_hash_table_removegboolean fo_hash_table_remove (FoHashTable *fo_hash_table, FoObject *key, GError **error); Removes the key-value pair with key matching key from fo_hash_table. fo_hash_table : FoHashTable from which to remove a key-value pair. key : Key of pair to remove. error : GError with information about error that occurred. Returns : TRUE is successful. fo_hash_table_lookup () fo_hash_table_lookupFoObject* fo_hash_table_lookup (FoHashTable *fo_hash_table, FoObject *key, GError **error); Gets the value associated with key in fo_hash_table. fo_hash_table : FoHashTable in which to look. key : Key value against which to compare. error : GError with information about error that occurred. Returns : The value, or NULL if no matching key. fo_hash_table_size () fo_hash_table_sizeguint fo_hash_table_size (FoHashTable *fo_hash_table); Gets the number of key-value pairs in fo_hash_table. fo_hash_table : FoHashTable for which to get size. Returns : Number of key-value pairs. xmlroff-0.6.2/docs/xml/fo-id.xml0000644000175000017500000001052011156164731013370 00000000000000 FoId 3 XMLROFF Library FoId Synopsis FoId; FoIdClass; FoDatatype* fo_id_new_with_value (const gchar *value); gchar* fo_id_get_value (FoDatatype *id); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoId Properties "value" gchar* : Read / Write Description Details FoId FoIdtypedef struct _FoId FoId; FoIdClass FoIdClasstypedef struct _FoIdClass FoIdClass; fo_id_new_with_value () fo_id_new_with_valueFoDatatype* fo_id_new_with_value (const gchar *value); Creates a new FoId initialized to value. value : Id of new FoId. Returns : the new FoId. fo_id_get_value () fo_id_get_valuegchar* fo_id_get_value (FoDatatype *id); Get the value of id. id : FoId. Returns : String value of id. Property Details The <literal>"value"</literal> property FoId:value "value" gchar* : Read / Write Id value.Default value: NULL xmlroff-0.6.2/docs/xml/fo-image.xml0000644000175000017500000001525711156164731014072 00000000000000 FoImage 3 XMLROFF Library FoImage Synopsis FoImage; FoImageClass; FoImage* fo_image_new (void); FoImage* fo_image_new_from_uri (const gchar *uri, const gchar *base); const gchar* fo_image_get_uri (FoImage *fo_image); FoDatatype* fo_image_get_width (const FoImage *fo_image); FoDatatype* fo_image_get_height (const FoImage *fo_image); Description Details FoImage FoImagetypedef struct _FoImage FoImage; FoImageClass FoImageClasstypedef struct _FoImageClass FoImageClass; fo_image_new () fo_image_newFoImage* fo_image_new (void); Creates a new FoImage. Returns : the newly created FoImage. fo_image_new_from_uri () fo_image_new_from_uriFoImage* fo_image_new_from_uri (const gchar *uri, const gchar *base); Creates a new FoImage from the resource at uri. If uri is a relative URI, it is resolved relative to base. uri : URI of image. base : Base URI for resolving relative URI uri values. Returns : the newly created FoImageo or NULL. fo_image_get_uri () fo_image_get_uriconst gchar* fo_image_get_uri (FoImage *fo_image); Get the URI in fo_image. fo_image : FoImage Returns : URI of image to make fo_image. fo_image_get_width () fo_image_get_widthFoDatatype* fo_image_get_width (const FoImage *fo_image); Gets the intrinsic width of fo_image. fo_image : FoImage Returns : The intrinsic width of fo_image. fo_image_get_height () fo_image_get_heightFoDatatype* fo_image_get_height (const FoImage *fo_image); Gets the intrinsic height of fo_image. fo_image : FoImage. Returns : The intrinsic height of fo_image. xmlroff-0.6.2/docs/xml/fo-initial-property-set.xml0000644000175000017500000046462511156164731017123 00000000000000 initial-property-set 3 XMLROFF Library initial-property-set Synopsis FoInitialPropertySet; FoInitialPropertySetClass; FoFo* fo_initial_property_set_new (void); FoProperty* fo_initial_property_set_get_background_color (FoFo *fo_fo); void fo_initial_property_set_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_initial_property_set_get_background_image (FoFo *fo_fo); void fo_initial_property_set_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_initial_property_set_get_border_after_color (FoFo *fo_fo); void fo_initial_property_set_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_initial_property_set_get_border_after_style (FoFo *fo_fo); void fo_initial_property_set_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_initial_property_set_get_border_after_width (FoFo *fo_fo); void fo_initial_property_set_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_initial_property_set_get_border_before_color (FoFo *fo_fo); void fo_initial_property_set_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_initial_property_set_get_border_before_style (FoFo *fo_fo); void fo_initial_property_set_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_initial_property_set_get_border_before_width (FoFo *fo_fo); void fo_initial_property_set_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_initial_property_set_get_border_bottom_color (FoFo *fo_fo); void fo_initial_property_set_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_initial_property_set_get_border_bottom_style (FoFo *fo_fo); void fo_initial_property_set_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_initial_property_set_get_border_bottom_width (FoFo *fo_fo); void fo_initial_property_set_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_initial_property_set_get_border_end_color (FoFo *fo_fo); void fo_initial_property_set_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_initial_property_set_get_border_end_style (FoFo *fo_fo); void fo_initial_property_set_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_initial_property_set_get_border_end_width (FoFo *fo_fo); void fo_initial_property_set_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_initial_property_set_get_border_left_color (FoFo *fo_fo); void fo_initial_property_set_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_initial_property_set_get_border_left_style (FoFo *fo_fo); void fo_initial_property_set_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_initial_property_set_get_border_left_width (FoFo *fo_fo); void fo_initial_property_set_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_initial_property_set_get_border_right_color (FoFo *fo_fo); void fo_initial_property_set_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_initial_property_set_get_border_right_style (FoFo *fo_fo); void fo_initial_property_set_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_initial_property_set_get_border_right_width (FoFo *fo_fo); void fo_initial_property_set_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_initial_property_set_get_border_start_color (FoFo *fo_fo); void fo_initial_property_set_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_initial_property_set_get_border_start_style (FoFo *fo_fo); void fo_initial_property_set_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_initial_property_set_get_border_start_width (FoFo *fo_fo); void fo_initial_property_set_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_initial_property_set_get_border_top_color (FoFo *fo_fo); void fo_initial_property_set_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_initial_property_set_get_border_top_style (FoFo *fo_fo); void fo_initial_property_set_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_initial_property_set_get_border_top_width (FoFo *fo_fo); void fo_initial_property_set_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_initial_property_set_get_color (FoFo *fo_fo); void fo_initial_property_set_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_initial_property_set_get_font_family (FoFo *fo_fo); void fo_initial_property_set_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_initial_property_set_get_font_size (FoFo *fo_fo); void fo_initial_property_set_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_initial_property_set_get_font_stretch (FoFo *fo_fo); void fo_initial_property_set_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_initial_property_set_get_font_style (FoFo *fo_fo); void fo_initial_property_set_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_initial_property_set_get_font_variant (FoFo *fo_fo); void fo_initial_property_set_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_initial_property_set_get_font_weight (FoFo *fo_fo); void fo_initial_property_set_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_initial_property_set_get_id (FoFo *fo_fo); void fo_initial_property_set_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_initial_property_set_get_line_height (FoFo *fo_fo); void fo_initial_property_set_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_initial_property_set_get_padding_after (FoFo *fo_fo); void fo_initial_property_set_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_initial_property_set_get_padding_before (FoFo *fo_fo); void fo_initial_property_set_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_initial_property_set_get_padding_bottom (FoFo *fo_fo); void fo_initial_property_set_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_initial_property_set_get_padding_end (FoFo *fo_fo); void fo_initial_property_set_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_initial_property_set_get_padding_left (FoFo *fo_fo); void fo_initial_property_set_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_initial_property_set_get_padding_right (FoFo *fo_fo); void fo_initial_property_set_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_initial_property_set_get_padding_start (FoFo *fo_fo); void fo_initial_property_set_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_initial_property_set_get_padding_top (FoFo *fo_fo); void fo_initial_property_set_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_initial_property_set_get_role (FoFo *fo_fo); void fo_initial_property_set_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_initial_property_set_get_score_spaces (FoFo *fo_fo); void fo_initial_property_set_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_initial_property_set_get_source_document (FoFo *fo_fo); void fo_initial_property_set_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoInitialPropertySet Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "color" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "id" FoProperty* : Read "line-height" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "score-spaces" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoInitialPropertySet FoInitialPropertySettypedef struct _FoInitialPropertySet FoInitialPropertySet; FoInitialPropertySetClass FoInitialPropertySetClasstypedef struct _FoInitialPropertySetClass FoInitialPropertySetClass; fo_initial_property_set_new () fo_initial_property_set_newFoFo* fo_initial_property_set_new (void); Creates a new FoInitialPropertySet initialized to default value. Returns : the new FoInitialPropertySet. fo_initial_property_set_get_background_color () fo_initial_property_set_get_background_colorFoProperty* fo_initial_property_set_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_initial_property_set_set_background_color () fo_initial_property_set_set_background_colorvoid fo_initial_property_set_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_initial_property_set_get_background_image () fo_initial_property_set_get_background_imageFoProperty* fo_initial_property_set_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_initial_property_set_set_background_image () fo_initial_property_set_set_background_imagevoid fo_initial_property_set_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_initial_property_set_get_border_after_color () fo_initial_property_set_get_border_after_colorFoProperty* fo_initial_property_set_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_initial_property_set_set_border_after_color () fo_initial_property_set_set_border_after_colorvoid fo_initial_property_set_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_initial_property_set_get_border_after_style () fo_initial_property_set_get_border_after_styleFoProperty* fo_initial_property_set_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_initial_property_set_set_border_after_style () fo_initial_property_set_set_border_after_stylevoid fo_initial_property_set_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_initial_property_set_get_border_after_width () fo_initial_property_set_get_border_after_widthFoProperty* fo_initial_property_set_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_initial_property_set_set_border_after_width () fo_initial_property_set_set_border_after_widthvoid fo_initial_property_set_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_initial_property_set_get_border_before_color () fo_initial_property_set_get_border_before_colorFoProperty* fo_initial_property_set_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_initial_property_set_set_border_before_color () fo_initial_property_set_set_border_before_colorvoid fo_initial_property_set_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_initial_property_set_get_border_before_style () fo_initial_property_set_get_border_before_styleFoProperty* fo_initial_property_set_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_initial_property_set_set_border_before_style () fo_initial_property_set_set_border_before_stylevoid fo_initial_property_set_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_initial_property_set_get_border_before_width () fo_initial_property_set_get_border_before_widthFoProperty* fo_initial_property_set_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_initial_property_set_set_border_before_width () fo_initial_property_set_set_border_before_widthvoid fo_initial_property_set_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_initial_property_set_get_border_bottom_color () fo_initial_property_set_get_border_bottom_colorFoProperty* fo_initial_property_set_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_initial_property_set_set_border_bottom_color () fo_initial_property_set_set_border_bottom_colorvoid fo_initial_property_set_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_initial_property_set_get_border_bottom_style () fo_initial_property_set_get_border_bottom_styleFoProperty* fo_initial_property_set_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_initial_property_set_set_border_bottom_style () fo_initial_property_set_set_border_bottom_stylevoid fo_initial_property_set_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_initial_property_set_get_border_bottom_width () fo_initial_property_set_get_border_bottom_widthFoProperty* fo_initial_property_set_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_initial_property_set_set_border_bottom_width () fo_initial_property_set_set_border_bottom_widthvoid fo_initial_property_set_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_initial_property_set_get_border_end_color () fo_initial_property_set_get_border_end_colorFoProperty* fo_initial_property_set_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_initial_property_set_set_border_end_color () fo_initial_property_set_set_border_end_colorvoid fo_initial_property_set_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_initial_property_set_get_border_end_style () fo_initial_property_set_get_border_end_styleFoProperty* fo_initial_property_set_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_initial_property_set_set_border_end_style () fo_initial_property_set_set_border_end_stylevoid fo_initial_property_set_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_initial_property_set_get_border_end_width () fo_initial_property_set_get_border_end_widthFoProperty* fo_initial_property_set_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_initial_property_set_set_border_end_width () fo_initial_property_set_set_border_end_widthvoid fo_initial_property_set_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_initial_property_set_get_border_left_color () fo_initial_property_set_get_border_left_colorFoProperty* fo_initial_property_set_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_initial_property_set_set_border_left_color () fo_initial_property_set_set_border_left_colorvoid fo_initial_property_set_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_initial_property_set_get_border_left_style () fo_initial_property_set_get_border_left_styleFoProperty* fo_initial_property_set_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_initial_property_set_set_border_left_style () fo_initial_property_set_set_border_left_stylevoid fo_initial_property_set_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_initial_property_set_get_border_left_width () fo_initial_property_set_get_border_left_widthFoProperty* fo_initial_property_set_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_initial_property_set_set_border_left_width () fo_initial_property_set_set_border_left_widthvoid fo_initial_property_set_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_initial_property_set_get_border_right_color () fo_initial_property_set_get_border_right_colorFoProperty* fo_initial_property_set_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_initial_property_set_set_border_right_color () fo_initial_property_set_set_border_right_colorvoid fo_initial_property_set_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_initial_property_set_get_border_right_style () fo_initial_property_set_get_border_right_styleFoProperty* fo_initial_property_set_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_initial_property_set_set_border_right_style () fo_initial_property_set_set_border_right_stylevoid fo_initial_property_set_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_initial_property_set_get_border_right_width () fo_initial_property_set_get_border_right_widthFoProperty* fo_initial_property_set_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_initial_property_set_set_border_right_width () fo_initial_property_set_set_border_right_widthvoid fo_initial_property_set_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_initial_property_set_get_border_start_color () fo_initial_property_set_get_border_start_colorFoProperty* fo_initial_property_set_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_initial_property_set_set_border_start_color () fo_initial_property_set_set_border_start_colorvoid fo_initial_property_set_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_initial_property_set_get_border_start_style () fo_initial_property_set_get_border_start_styleFoProperty* fo_initial_property_set_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_initial_property_set_set_border_start_style () fo_initial_property_set_set_border_start_stylevoid fo_initial_property_set_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_initial_property_set_get_border_start_width () fo_initial_property_set_get_border_start_widthFoProperty* fo_initial_property_set_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_initial_property_set_set_border_start_width () fo_initial_property_set_set_border_start_widthvoid fo_initial_property_set_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_initial_property_set_get_border_top_color () fo_initial_property_set_get_border_top_colorFoProperty* fo_initial_property_set_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_initial_property_set_set_border_top_color () fo_initial_property_set_set_border_top_colorvoid fo_initial_property_set_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_initial_property_set_get_border_top_style () fo_initial_property_set_get_border_top_styleFoProperty* fo_initial_property_set_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_initial_property_set_set_border_top_style () fo_initial_property_set_set_border_top_stylevoid fo_initial_property_set_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_initial_property_set_get_border_top_width () fo_initial_property_set_get_border_top_widthFoProperty* fo_initial_property_set_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_initial_property_set_set_border_top_width () fo_initial_property_set_set_border_top_widthvoid fo_initial_property_set_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_initial_property_set_get_color () fo_initial_property_set_get_colorFoProperty* fo_initial_property_set_get_color (FoFo *fo_fo); Gets the "color" property of fo_fo fo_fo : The FoFo object Returns : The "color" property value fo_initial_property_set_set_color () fo_initial_property_set_set_colorvoid fo_initial_property_set_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the "color" property of fo_fo to new_color fo_fo : The FoFo object new_color : The new "color" property value fo_initial_property_set_get_font_family () fo_initial_property_set_get_font_familyFoProperty* fo_initial_property_set_get_font_family (FoFo *fo_fo); Gets the "font-family" property of fo_fo fo_fo : The FoFo object Returns : The "font-family" property value fo_initial_property_set_set_font_family () fo_initial_property_set_set_font_familyvoid fo_initial_property_set_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the "font-family" property of fo_fo to new_font_family fo_fo : The FoFo object new_font_family : The new "font-family" property value fo_initial_property_set_get_font_size () fo_initial_property_set_get_font_sizeFoProperty* fo_initial_property_set_get_font_size (FoFo *fo_fo); Gets the "font-size" property of fo_fo fo_fo : The FoFo object Returns : The "font-size" property value fo_initial_property_set_set_font_size () fo_initial_property_set_set_font_sizevoid fo_initial_property_set_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the "font-size" property of fo_fo to new_font_size fo_fo : The FoFo object new_font_size : The new "font-size" property value fo_initial_property_set_get_font_stretch () fo_initial_property_set_get_font_stretchFoProperty* fo_initial_property_set_get_font_stretch (FoFo *fo_fo); Gets the "font-stretch" property of fo_fo fo_fo : The FoFo object Returns : The "font-stretch" property value fo_initial_property_set_set_font_stretch () fo_initial_property_set_set_font_stretchvoid fo_initial_property_set_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_fo to new_font_stretch fo_fo : The FoFo object new_font_stretch : The new "font-stretch" property value fo_initial_property_set_get_font_style () fo_initial_property_set_get_font_styleFoProperty* fo_initial_property_set_get_font_style (FoFo *fo_fo); Gets the "font-style" property of fo_fo fo_fo : The FoFo object Returns : The "font-style" property value fo_initial_property_set_set_font_style () fo_initial_property_set_set_font_stylevoid fo_initial_property_set_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the "font-style" property of fo_fo to new_font_style fo_fo : The FoFo object new_font_style : The new "font-style" property value fo_initial_property_set_get_font_variant () fo_initial_property_set_get_font_variantFoProperty* fo_initial_property_set_get_font_variant (FoFo *fo_fo); Gets the "font-variant" property of fo_fo fo_fo : The FoFo object Returns : The "font-variant" property value fo_initial_property_set_set_font_variant () fo_initial_property_set_set_font_variantvoid fo_initial_property_set_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the "font-variant" property of fo_fo to new_font_variant fo_fo : The FoFo object new_font_variant : The new "font-variant" property value fo_initial_property_set_get_font_weight () fo_initial_property_set_get_font_weightFoProperty* fo_initial_property_set_get_font_weight (FoFo *fo_fo); Gets the "font-weight" property of fo_fo fo_fo : The FoFo object Returns : The "font-weight" property value fo_initial_property_set_set_font_weight () fo_initial_property_set_set_font_weightvoid fo_initial_property_set_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the "font-weight" property of fo_fo to new_font_weight fo_fo : The FoFo object new_font_weight : The new "font-weight" property value fo_initial_property_set_get_id () fo_initial_property_set_get_idFoProperty* fo_initial_property_set_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_initial_property_set_set_id () fo_initial_property_set_set_idvoid fo_initial_property_set_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_initial_property_set_get_line_height () fo_initial_property_set_get_line_heightFoProperty* fo_initial_property_set_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo fo_fo : The FoFo object Returns : The "line-height" property value fo_initial_property_set_set_line_height () fo_initial_property_set_set_line_heightvoid fo_initial_property_set_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value fo_initial_property_set_get_padding_after () fo_initial_property_set_get_padding_afterFoProperty* fo_initial_property_set_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_initial_property_set_set_padding_after () fo_initial_property_set_set_padding_aftervoid fo_initial_property_set_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_initial_property_set_get_padding_before () fo_initial_property_set_get_padding_beforeFoProperty* fo_initial_property_set_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_initial_property_set_set_padding_before () fo_initial_property_set_set_padding_beforevoid fo_initial_property_set_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_initial_property_set_get_padding_bottom () fo_initial_property_set_get_padding_bottomFoProperty* fo_initial_property_set_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_initial_property_set_set_padding_bottom () fo_initial_property_set_set_padding_bottomvoid fo_initial_property_set_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_initial_property_set_get_padding_end () fo_initial_property_set_get_padding_endFoProperty* fo_initial_property_set_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_initial_property_set_set_padding_end () fo_initial_property_set_set_padding_endvoid fo_initial_property_set_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_initial_property_set_get_padding_left () fo_initial_property_set_get_padding_leftFoProperty* fo_initial_property_set_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_initial_property_set_set_padding_left () fo_initial_property_set_set_padding_leftvoid fo_initial_property_set_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_initial_property_set_get_padding_right () fo_initial_property_set_get_padding_rightFoProperty* fo_initial_property_set_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_initial_property_set_set_padding_right () fo_initial_property_set_set_padding_rightvoid fo_initial_property_set_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_initial_property_set_get_padding_start () fo_initial_property_set_get_padding_startFoProperty* fo_initial_property_set_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_initial_property_set_set_padding_start () fo_initial_property_set_set_padding_startvoid fo_initial_property_set_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_initial_property_set_get_padding_top () fo_initial_property_set_get_padding_topFoProperty* fo_initial_property_set_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_initial_property_set_set_padding_top () fo_initial_property_set_set_padding_topvoid fo_initial_property_set_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_initial_property_set_get_role () fo_initial_property_set_get_roleFoProperty* fo_initial_property_set_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_initial_property_set_set_role () fo_initial_property_set_set_rolevoid fo_initial_property_set_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_initial_property_set_get_score_spaces () fo_initial_property_set_get_score_spacesFoProperty* fo_initial_property_set_get_score_spaces (FoFo *fo_fo); Gets the "score-spaces" property of fo_fo fo_fo : The FoFo object Returns : The "score-spaces" property value fo_initial_property_set_set_score_spaces () fo_initial_property_set_set_score_spacesvoid fo_initial_property_set_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); Sets the "score-spaces" property of fo_fo to new_score_spaces fo_fo : The FoFo object new_score_spaces : The new "score-spaces" property value fo_initial_property_set_get_source_document () fo_initial_property_set_get_source_documentFoProperty* fo_initial_property_set_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_initial_property_set_set_source_document () fo_initial_property_set_set_source_documentvoid fo_initial_property_set_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value Property Details The <literal>"background-color"</literal> property FoInitialPropertySet:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoInitialPropertySet:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoInitialPropertySet:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoInitialPropertySet:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoInitialPropertySet:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoInitialPropertySet:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoInitialPropertySet:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoInitialPropertySet:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoInitialPropertySet:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoInitialPropertySet:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoInitialPropertySet:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoInitialPropertySet:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoInitialPropertySet:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoInitialPropertySet:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoInitialPropertySet:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoInitialPropertySet:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoInitialPropertySet:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoInitialPropertySet:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoInitialPropertySet:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoInitialPropertySet:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoInitialPropertySet:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoInitialPropertySet:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoInitialPropertySet:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoInitialPropertySet:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoInitialPropertySet:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoInitialPropertySet:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"color"</literal> property FoInitialPropertySet:color "color" FoProperty* : Read Color property. The <literal>"font-family"</literal> property FoInitialPropertySet:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoInitialPropertySet:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoInitialPropertySet:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoInitialPropertySet:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoInitialPropertySet:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoInitialPropertySet:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"id"</literal> property FoInitialPropertySet:id "id" FoProperty* : Read Id property. The <literal>"line-height"</literal> property FoInitialPropertySet:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"padding-after"</literal> property FoInitialPropertySet:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoInitialPropertySet:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoInitialPropertySet:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoInitialPropertySet:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoInitialPropertySet:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoInitialPropertySet:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoInitialPropertySet:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoInitialPropertySet:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoInitialPropertySet:role "role" FoProperty* : Read Role property. The <literal>"score-spaces"</literal> property FoInitialPropertySet:score-spaces "score-spaces" FoProperty* : Read Score Spaces property. The <literal>"source-document"</literal> property FoInitialPropertySet:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-inline-container.xml0000644000175000017500000063372311156164731016252 00000000000000 inline-container 3 XMLROFF Library inline-container Synopsis FoInlineContainer; FoInlineContainerClass; FoFo* fo_inline_container_new (void); FoProperty* fo_inline_container_get_alignment_adjust (FoFo *fo_fo); void fo_inline_container_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_inline_container_get_alignment_baseline (FoFo *fo_fo); void fo_inline_container_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty* fo_inline_container_get_background_color (FoFo *fo_fo); void fo_inline_container_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_inline_container_get_background_image (FoFo *fo_fo); void fo_inline_container_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_inline_container_get_baseline_shift (FoFo *fo_fo); void fo_inline_container_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_inline_container_get_block_progression_dimension (FoFo *fo_fo); void fo_inline_container_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_inline_container_get_border_after_color (FoFo *fo_fo); void fo_inline_container_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_inline_container_get_border_after_style (FoFo *fo_fo); void fo_inline_container_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_inline_container_get_border_after_width (FoFo *fo_fo); void fo_inline_container_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_inline_container_get_border_before_color (FoFo *fo_fo); void fo_inline_container_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_inline_container_get_border_before_style (FoFo *fo_fo); void fo_inline_container_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_inline_container_get_border_before_width (FoFo *fo_fo); void fo_inline_container_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_inline_container_get_border_bottom_color (FoFo *fo_fo); void fo_inline_container_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_inline_container_get_border_bottom_style (FoFo *fo_fo); void fo_inline_container_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_inline_container_get_border_bottom_width (FoFo *fo_fo); void fo_inline_container_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_inline_container_get_border_end_color (FoFo *fo_fo); void fo_inline_container_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_inline_container_get_border_end_style (FoFo *fo_fo); void fo_inline_container_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_inline_container_get_border_end_width (FoFo *fo_fo); void fo_inline_container_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_inline_container_get_border_left_color (FoFo *fo_fo); void fo_inline_container_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_inline_container_get_border_left_style (FoFo *fo_fo); void fo_inline_container_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_inline_container_get_border_left_width (FoFo *fo_fo); void fo_inline_container_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_inline_container_get_border_right_color (FoFo *fo_fo); void fo_inline_container_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_inline_container_get_border_right_style (FoFo *fo_fo); void fo_inline_container_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_inline_container_get_border_right_width (FoFo *fo_fo); void fo_inline_container_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_inline_container_get_border_start_color (FoFo *fo_fo); void fo_inline_container_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_inline_container_get_border_start_style (FoFo *fo_fo); void fo_inline_container_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_inline_container_get_border_start_width (FoFo *fo_fo); void fo_inline_container_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_inline_container_get_border_top_color (FoFo *fo_fo); void fo_inline_container_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_inline_container_get_border_top_style (FoFo *fo_fo); void fo_inline_container_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_inline_container_get_border_top_width (FoFo *fo_fo); void fo_inline_container_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_inline_container_get_clip (FoFo *fo_fo); void fo_inline_container_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_inline_container_get_display_align (FoFo *fo_fo); void fo_inline_container_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_inline_container_get_dominant_baseline (FoFo *fo_fo); void fo_inline_container_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_inline_container_get_height (FoFo *fo_fo); void fo_inline_container_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_inline_container_get_id (FoFo *fo_fo); void fo_inline_container_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_inline_container_get_inline_progression_dimension (FoFo *fo_fo); void fo_inline_container_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_inline_container_get_keep_together (FoFo *fo_fo); void fo_inline_container_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_inline_container_get_keep_together_within_column (FoFo *fo_fo); void fo_inline_container_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_inline_container_get_keep_together_within_line (FoFo *fo_fo); void fo_inline_container_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_inline_container_get_keep_together_within_page (FoFo *fo_fo); void fo_inline_container_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_inline_container_get_keep_with_next (FoFo *fo_fo); void fo_inline_container_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_inline_container_get_keep_with_next_within_column (FoFo *fo_fo); void fo_inline_container_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_inline_container_get_keep_with_next_within_line (FoFo *fo_fo); void fo_inline_container_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_inline_container_get_keep_with_next_within_page (FoFo *fo_fo); void fo_inline_container_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_inline_container_get_keep_with_previous (FoFo *fo_fo); void fo_inline_container_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_inline_container_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_inline_container_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_inline_container_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_inline_container_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_inline_container_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_inline_container_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_inline_container_get_line_height (FoFo *fo_fo); void fo_inline_container_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_inline_container_get_overflow (FoFo *fo_fo); void fo_inline_container_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_inline_container_get_padding_after (FoFo *fo_fo); void fo_inline_container_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_inline_container_get_padding_before (FoFo *fo_fo); void fo_inline_container_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_inline_container_get_padding_bottom (FoFo *fo_fo); void fo_inline_container_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_inline_container_get_padding_end (FoFo *fo_fo); void fo_inline_container_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_inline_container_get_padding_left (FoFo *fo_fo); void fo_inline_container_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_inline_container_get_padding_right (FoFo *fo_fo); void fo_inline_container_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_inline_container_get_padding_start (FoFo *fo_fo); void fo_inline_container_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_inline_container_get_padding_top (FoFo *fo_fo); void fo_inline_container_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_inline_container_get_space_end (FoFo *fo_fo); void fo_inline_container_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_inline_container_get_space_start (FoFo *fo_fo); void fo_inline_container_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty* fo_inline_container_get_width (FoFo *fo_fo); void fo_inline_container_set_width (FoFo *fo_fo, FoProperty *new_width); FoProperty* fo_inline_container_get_writing_mode (FoFo *fo_fo); void fo_inline_container_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoInlineContainer Implemented Interfaces FoInlineContainer implements FoInlineFoIface. Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "baseline-shift" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "clip" FoProperty* : Read "display-align" FoProperty* : Read "dominant-baseline" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "inline-progression-dimension" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "overflow" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read "width" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details FoInlineContainer FoInlineContainertypedef struct _FoInlineContainer FoInlineContainer; FoInlineContainerClass FoInlineContainerClasstypedef struct _FoInlineContainerClass FoInlineContainerClass; fo_inline_container_new () fo_inline_container_newFoFo* fo_inline_container_new (void); Creates a new FoInlineContainer initialized to default value. Returns : the new FoInlineContainer. fo_inline_container_get_alignment_adjust () fo_inline_container_get_alignment_adjustFoProperty* fo_inline_container_get_alignment_adjust (FoFo *fo_fo); Gets the "alignment-adjust" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-adjust" property value fo_inline_container_set_alignment_adjust () fo_inline_container_set_alignment_adjustvoid fo_inline_container_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust fo_fo : The FoFo object new_alignment_adjust : The new "alignment-adjust" property value fo_inline_container_get_alignment_baseline () fo_inline_container_get_alignment_baselineFoProperty* fo_inline_container_get_alignment_baseline (FoFo *fo_fo); Gets the "alignment-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-baseline" property value fo_inline_container_set_alignment_baseline () fo_inline_container_set_alignment_baselinevoid fo_inline_container_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline fo_fo : The FoFo object new_alignment_baseline : The new "alignment-baseline" property value fo_inline_container_get_background_color () fo_inline_container_get_background_colorFoProperty* fo_inline_container_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_inline_container_set_background_color () fo_inline_container_set_background_colorvoid fo_inline_container_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_inline_container_get_background_image () fo_inline_container_get_background_imageFoProperty* fo_inline_container_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_inline_container_set_background_image () fo_inline_container_set_background_imagevoid fo_inline_container_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_inline_container_get_baseline_shift () fo_inline_container_get_baseline_shiftFoProperty* fo_inline_container_get_baseline_shift (FoFo *fo_fo); Gets the "baseline-shift" property of fo_fo fo_fo : The FoFo object Returns : The "baseline-shift" property value fo_inline_container_set_baseline_shift () fo_inline_container_set_baseline_shiftvoid fo_inline_container_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_fo to new_baseline_shift fo_fo : The FoFo object new_baseline_shift : The new "baseline-shift" property value fo_inline_container_get_block_progression_dimension () fo_inline_container_get_block_progression_dimensionFoProperty* fo_inline_container_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "block-progression-dimension" property value fo_inline_container_set_block_progression_dimension () fo_inline_container_set_block_progression_dimensionvoid fo_inline_container_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension fo_fo : The FoFo object new_block_progression_dimension : The new "block-progression-dimension" property value fo_inline_container_get_border_after_color () fo_inline_container_get_border_after_colorFoProperty* fo_inline_container_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_inline_container_set_border_after_color () fo_inline_container_set_border_after_colorvoid fo_inline_container_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_inline_container_get_border_after_style () fo_inline_container_get_border_after_styleFoProperty* fo_inline_container_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_inline_container_set_border_after_style () fo_inline_container_set_border_after_stylevoid fo_inline_container_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_inline_container_get_border_after_width () fo_inline_container_get_border_after_widthFoProperty* fo_inline_container_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_inline_container_set_border_after_width () fo_inline_container_set_border_after_widthvoid fo_inline_container_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_inline_container_get_border_before_color () fo_inline_container_get_border_before_colorFoProperty* fo_inline_container_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_inline_container_set_border_before_color () fo_inline_container_set_border_before_colorvoid fo_inline_container_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_inline_container_get_border_before_style () fo_inline_container_get_border_before_styleFoProperty* fo_inline_container_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_inline_container_set_border_before_style () fo_inline_container_set_border_before_stylevoid fo_inline_container_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_inline_container_get_border_before_width () fo_inline_container_get_border_before_widthFoProperty* fo_inline_container_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_inline_container_set_border_before_width () fo_inline_container_set_border_before_widthvoid fo_inline_container_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_inline_container_get_border_bottom_color () fo_inline_container_get_border_bottom_colorFoProperty* fo_inline_container_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_inline_container_set_border_bottom_color () fo_inline_container_set_border_bottom_colorvoid fo_inline_container_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_inline_container_get_border_bottom_style () fo_inline_container_get_border_bottom_styleFoProperty* fo_inline_container_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_inline_container_set_border_bottom_style () fo_inline_container_set_border_bottom_stylevoid fo_inline_container_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_inline_container_get_border_bottom_width () fo_inline_container_get_border_bottom_widthFoProperty* fo_inline_container_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_inline_container_set_border_bottom_width () fo_inline_container_set_border_bottom_widthvoid fo_inline_container_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_inline_container_get_border_end_color () fo_inline_container_get_border_end_colorFoProperty* fo_inline_container_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_inline_container_set_border_end_color () fo_inline_container_set_border_end_colorvoid fo_inline_container_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_inline_container_get_border_end_style () fo_inline_container_get_border_end_styleFoProperty* fo_inline_container_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_inline_container_set_border_end_style () fo_inline_container_set_border_end_stylevoid fo_inline_container_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_inline_container_get_border_end_width () fo_inline_container_get_border_end_widthFoProperty* fo_inline_container_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_inline_container_set_border_end_width () fo_inline_container_set_border_end_widthvoid fo_inline_container_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_inline_container_get_border_left_color () fo_inline_container_get_border_left_colorFoProperty* fo_inline_container_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_inline_container_set_border_left_color () fo_inline_container_set_border_left_colorvoid fo_inline_container_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_inline_container_get_border_left_style () fo_inline_container_get_border_left_styleFoProperty* fo_inline_container_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_inline_container_set_border_left_style () fo_inline_container_set_border_left_stylevoid fo_inline_container_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_inline_container_get_border_left_width () fo_inline_container_get_border_left_widthFoProperty* fo_inline_container_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_inline_container_set_border_left_width () fo_inline_container_set_border_left_widthvoid fo_inline_container_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_inline_container_get_border_right_color () fo_inline_container_get_border_right_colorFoProperty* fo_inline_container_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_inline_container_set_border_right_color () fo_inline_container_set_border_right_colorvoid fo_inline_container_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_inline_container_get_border_right_style () fo_inline_container_get_border_right_styleFoProperty* fo_inline_container_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_inline_container_set_border_right_style () fo_inline_container_set_border_right_stylevoid fo_inline_container_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_inline_container_get_border_right_width () fo_inline_container_get_border_right_widthFoProperty* fo_inline_container_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_inline_container_set_border_right_width () fo_inline_container_set_border_right_widthvoid fo_inline_container_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_inline_container_get_border_start_color () fo_inline_container_get_border_start_colorFoProperty* fo_inline_container_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_inline_container_set_border_start_color () fo_inline_container_set_border_start_colorvoid fo_inline_container_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_inline_container_get_border_start_style () fo_inline_container_get_border_start_styleFoProperty* fo_inline_container_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_inline_container_set_border_start_style () fo_inline_container_set_border_start_stylevoid fo_inline_container_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_inline_container_get_border_start_width () fo_inline_container_get_border_start_widthFoProperty* fo_inline_container_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_inline_container_set_border_start_width () fo_inline_container_set_border_start_widthvoid fo_inline_container_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_inline_container_get_border_top_color () fo_inline_container_get_border_top_colorFoProperty* fo_inline_container_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_inline_container_set_border_top_color () fo_inline_container_set_border_top_colorvoid fo_inline_container_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_inline_container_get_border_top_style () fo_inline_container_get_border_top_styleFoProperty* fo_inline_container_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_inline_container_set_border_top_style () fo_inline_container_set_border_top_stylevoid fo_inline_container_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_inline_container_get_border_top_width () fo_inline_container_get_border_top_widthFoProperty* fo_inline_container_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_inline_container_set_border_top_width () fo_inline_container_set_border_top_widthvoid fo_inline_container_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_inline_container_get_clip () fo_inline_container_get_clipFoProperty* fo_inline_container_get_clip (FoFo *fo_fo); Gets the "clip" property of fo_fo fo_fo : The FoFo object Returns : The "clip" property value fo_inline_container_set_clip () fo_inline_container_set_clipvoid fo_inline_container_set_clip (FoFo *fo_fo, FoProperty *new_clip); Sets the "clip" property of fo_fo to new_clip fo_fo : The FoFo object new_clip : The new "clip" property value fo_inline_container_get_display_align () fo_inline_container_get_display_alignFoProperty* fo_inline_container_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo fo_fo : The FoFo object Returns : The "display-align" property value fo_inline_container_set_display_align () fo_inline_container_set_display_alignvoid fo_inline_container_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align fo_fo : The FoFo object new_display_align : The new "display-align" property value fo_inline_container_get_dominant_baseline () fo_inline_container_get_dominant_baselineFoProperty* fo_inline_container_get_dominant_baseline (FoFo *fo_fo); Gets the "dominant-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "dominant-baseline" property value fo_inline_container_set_dominant_baseline () fo_inline_container_set_dominant_baselinevoid fo_inline_container_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline fo_fo : The FoFo object new_dominant_baseline : The new "dominant-baseline" property value fo_inline_container_get_height () fo_inline_container_get_heightFoProperty* fo_inline_container_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo fo_fo : The FoFo object Returns : The "height" property value fo_inline_container_set_height () fo_inline_container_set_heightvoid fo_inline_container_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height fo_fo : The FoFo object new_height : The new "height" property value fo_inline_container_get_id () fo_inline_container_get_idFoProperty* fo_inline_container_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_inline_container_set_id () fo_inline_container_set_idvoid fo_inline_container_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_inline_container_get_inline_progression_dimension () fo_inline_container_get_inline_progression_dimensionFoProperty* fo_inline_container_get_inline_progression_dimension (FoFo *fo_fo); Gets the "inline-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "inline-progression-dimension" property value fo_inline_container_set_inline_progression_dimension () fo_inline_container_set_inline_progression_dimensionvoid fo_inline_container_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension fo_fo : The FoFo object new_inline_progression_dimension : The new "inline-progression-dimension" property value fo_inline_container_get_keep_together () fo_inline_container_get_keep_togetherFoProperty* fo_inline_container_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_inline_container_set_keep_together () fo_inline_container_set_keep_togethervoid fo_inline_container_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_inline_container_get_keep_together_within_column () fo_inline_container_get_keep_together_within_columnFoProperty* fo_inline_container_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_inline_container_set_keep_together_within_column () fo_inline_container_set_keep_together_within_columnvoid fo_inline_container_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_inline_container_get_keep_together_within_line () fo_inline_container_get_keep_together_within_lineFoProperty* fo_inline_container_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_inline_container_set_keep_together_within_line () fo_inline_container_set_keep_together_within_linevoid fo_inline_container_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_inline_container_get_keep_together_within_page () fo_inline_container_get_keep_together_within_pageFoProperty* fo_inline_container_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_inline_container_set_keep_together_within_page () fo_inline_container_set_keep_together_within_pagevoid fo_inline_container_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_inline_container_get_keep_with_next () fo_inline_container_get_keep_with_nextFoProperty* fo_inline_container_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_inline_container_set_keep_with_next () fo_inline_container_set_keep_with_nextvoid fo_inline_container_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_inline_container_get_keep_with_next_within_column () fo_inline_container_get_keep_with_next_within_columnFoProperty* fo_inline_container_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_inline_container_set_keep_with_next_within_column () fo_inline_container_set_keep_with_next_within_columnvoid fo_inline_container_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_inline_container_get_keep_with_next_within_line () fo_inline_container_get_keep_with_next_within_lineFoProperty* fo_inline_container_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_inline_container_set_keep_with_next_within_line () fo_inline_container_set_keep_with_next_within_linevoid fo_inline_container_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_inline_container_get_keep_with_next_within_page () fo_inline_container_get_keep_with_next_within_pageFoProperty* fo_inline_container_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_inline_container_set_keep_with_next_within_page () fo_inline_container_set_keep_with_next_within_pagevoid fo_inline_container_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_inline_container_get_keep_with_previous () fo_inline_container_get_keep_with_previousFoProperty* fo_inline_container_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_inline_container_set_keep_with_previous () fo_inline_container_set_keep_with_previousvoid fo_inline_container_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_inline_container_get_keep_with_previous_within_column () fo_inline_container_get_keep_with_previous_within_columnFoProperty* fo_inline_container_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_inline_container_set_keep_with_previous_within_column () fo_inline_container_set_keep_with_previous_within_columnvoid fo_inline_container_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_inline_container_get_keep_with_previous_within_line () fo_inline_container_get_keep_with_previous_within_lineFoProperty* fo_inline_container_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_inline_container_set_keep_with_previous_within_line () fo_inline_container_set_keep_with_previous_within_linevoid fo_inline_container_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_inline_container_get_keep_with_previous_within_page () fo_inline_container_get_keep_with_previous_within_pageFoProperty* fo_inline_container_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_inline_container_set_keep_with_previous_within_page () fo_inline_container_set_keep_with_previous_within_pagevoid fo_inline_container_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_inline_container_get_line_height () fo_inline_container_get_line_heightFoProperty* fo_inline_container_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo fo_fo : The FoFo object Returns : The "line-height" property value fo_inline_container_set_line_height () fo_inline_container_set_line_heightvoid fo_inline_container_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value fo_inline_container_get_overflow () fo_inline_container_get_overflowFoProperty* fo_inline_container_get_overflow (FoFo *fo_fo); Gets the "overflow" property of fo_fo fo_fo : The FoFo object Returns : The "overflow" property value fo_inline_container_set_overflow () fo_inline_container_set_overflowvoid fo_inline_container_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); Sets the "overflow" property of fo_fo to new_overflow fo_fo : The FoFo object new_overflow : The new "overflow" property value fo_inline_container_get_padding_after () fo_inline_container_get_padding_afterFoProperty* fo_inline_container_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_inline_container_set_padding_after () fo_inline_container_set_padding_aftervoid fo_inline_container_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_inline_container_get_padding_before () fo_inline_container_get_padding_beforeFoProperty* fo_inline_container_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_inline_container_set_padding_before () fo_inline_container_set_padding_beforevoid fo_inline_container_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_inline_container_get_padding_bottom () fo_inline_container_get_padding_bottomFoProperty* fo_inline_container_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_inline_container_set_padding_bottom () fo_inline_container_set_padding_bottomvoid fo_inline_container_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_inline_container_get_padding_end () fo_inline_container_get_padding_endFoProperty* fo_inline_container_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_inline_container_set_padding_end () fo_inline_container_set_padding_endvoid fo_inline_container_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_inline_container_get_padding_left () fo_inline_container_get_padding_leftFoProperty* fo_inline_container_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_inline_container_set_padding_left () fo_inline_container_set_padding_leftvoid fo_inline_container_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_inline_container_get_padding_right () fo_inline_container_get_padding_rightFoProperty* fo_inline_container_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_inline_container_set_padding_right () fo_inline_container_set_padding_rightvoid fo_inline_container_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_inline_container_get_padding_start () fo_inline_container_get_padding_startFoProperty* fo_inline_container_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_inline_container_set_padding_start () fo_inline_container_set_padding_startvoid fo_inline_container_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_inline_container_get_padding_top () fo_inline_container_get_padding_topFoProperty* fo_inline_container_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_inline_container_set_padding_top () fo_inline_container_set_padding_topvoid fo_inline_container_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_inline_container_get_space_end () fo_inline_container_get_space_endFoProperty* fo_inline_container_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo fo_fo : The FoFo object Returns : The "space-end" property value fo_inline_container_set_space_end () fo_inline_container_set_space_endvoid fo_inline_container_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end fo_fo : The FoFo object new_space_end : The new "space-end" property value fo_inline_container_get_space_start () fo_inline_container_get_space_startFoProperty* fo_inline_container_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo fo_fo : The FoFo object Returns : The "space-start" property value fo_inline_container_set_space_start () fo_inline_container_set_space_startvoid fo_inline_container_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start fo_fo : The FoFo object new_space_start : The new "space-start" property value fo_inline_container_get_width () fo_inline_container_get_widthFoProperty* fo_inline_container_get_width (FoFo *fo_fo); Gets the "width" property of fo_fo fo_fo : The FoFo object Returns : The "width" property value fo_inline_container_set_width () fo_inline_container_set_widthvoid fo_inline_container_set_width (FoFo *fo_fo, FoProperty *new_width); Sets the "width" property of fo_fo to new_width fo_fo : The FoFo object new_width : The new "width" property value fo_inline_container_get_writing_mode () fo_inline_container_get_writing_modeFoProperty* fo_inline_container_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo fo_fo : The FoFo object Returns : The "writing-mode" property value fo_inline_container_set_writing_mode () fo_inline_container_set_writing_modevoid fo_inline_container_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode fo_fo : The FoFo object new_writing_mode : The new "writing-mode" property value Property Details The <literal>"alignment-adjust"</literal> property FoInlineContainer:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoInlineContainer:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoInlineContainer:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoInlineContainer:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"baseline-shift"</literal> property FoInlineContainer:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"block-progression-dimension"</literal> property FoInlineContainer:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"border-after-color"</literal> property FoInlineContainer:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoInlineContainer:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoInlineContainer:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoInlineContainer:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoInlineContainer:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoInlineContainer:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoInlineContainer:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoInlineContainer:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoInlineContainer:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoInlineContainer:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoInlineContainer:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoInlineContainer:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoInlineContainer:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoInlineContainer:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoInlineContainer:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoInlineContainer:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoInlineContainer:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoInlineContainer:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoInlineContainer:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoInlineContainer:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoInlineContainer:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoInlineContainer:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoInlineContainer:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoInlineContainer:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"clip"</literal> property FoInlineContainer:clip "clip" FoProperty* : Read Clip property. The <literal>"display-align"</literal> property FoInlineContainer:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"dominant-baseline"</literal> property FoInlineContainer:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"height"</literal> property FoInlineContainer:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoInlineContainer:id "id" FoProperty* : Read Id property. The <literal>"inline-progression-dimension"</literal> property FoInlineContainer:inline-progression-dimension "inline-progression-dimension" FoProperty* : Read Inline Progression Dimension property. The <literal>"keep-together"</literal> property FoInlineContainer:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoInlineContainer:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoInlineContainer:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoInlineContainer:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoInlineContainer:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoInlineContainer:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoInlineContainer:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoInlineContainer:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoInlineContainer:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoInlineContainer:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoInlineContainer:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoInlineContainer:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoInlineContainer:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"overflow"</literal> property FoInlineContainer:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding-after"</literal> property FoInlineContainer:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoInlineContainer:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoInlineContainer:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoInlineContainer:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoInlineContainer:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoInlineContainer:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoInlineContainer:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoInlineContainer:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"space-end"</literal> property FoInlineContainer:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoInlineContainer:space-start "space-start" FoProperty* : Read Space Start property. The <literal>"width"</literal> property FoInlineContainer:width "width" FoProperty* : Read Width property. The <literal>"writing-mode"</literal> property FoInlineContainer:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-inline-fo.xml0000644000175000017500000002271711156164731014667 00000000000000 FoInlineFoIface 3 XMLROFF Library FoInlineFoIface Synopsis #define FO_INLINE_FO_IFACE (obj) FoInlineFo; FoInlineFoIface; void fo_inline_fo_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); gboolean fo_inline_fo_is_linefeed (const gchar *string); gboolean fo_inline_fo_is_non_linefeed_white_space (const gchar *string); gboolean fo_inline_fo_is_white_space (const gchar *string); Object Hierarchy GInterface +----FoInlineFoIface Prerequisites FoInlineFoIface requires FoFo. Known Implementations FoInlineFoIface is implemented by FoInlineContainer, FoBasicLink, FoLeader, FoInstreamForeignObject, FoPageNumber, FoText, FoExternalGraphic, FoMultiToggle, FoPageNumberCitation, FoFootnote, FoInline, FoBidiOverride, FoCharacter and FoWrapperInline. Description Details FO_INLINE_FO_IFACE() FO_INLINE_FO_IFACE#define FO_INLINE_FO_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_INLINE_FO, FoInlineFoIface)) obj : FoInlineFo FoInlineFotypedef struct _FoInlineFo FoInlineFo; FoInlineFoIface FoInlineFoIfacetypedef struct _FoInlineFoIface FoInlineFoIface; fo_inline_fo_get_text_attr_list () fo_inline_fo_get_text_attr_listvoid fo_inline_fo_get_text_attr_list (FoFo *fo_inline_fo, FoDoc *fo_doc, GString *text, GList **attr_glist, guint debug_level); Gets the text of the inline FO and its associated list of Pango attributes fo_inline_fo : The FoInlineFo object fo_doc : The FoDoc that will render fo_inline_fo. text : The text of the inline FO attr_glist : The list of Pango attributes for the inline FO debug_level : Debug level fo_inline_fo_is_linefeed () fo_inline_fo_is_linefeedgboolean fo_inline_fo_is_linefeed (const gchar *string); string : the string Returns : TRUE if the current character is a linefeed character, otherwise FALSE fo_inline_fo_is_non_linefeed_white_space () fo_inline_fo_is_non_linefeed_white_spacegboolean fo_inline_fo_is_non_linefeed_white_space (const gchar *string); From http://www.w3.org/TR/xml/sec-common-syn [3] S ::= (x20 | x9 | xD | xA)+ string : the string Returns : TRUE if the current character is an white space character, otherwise FALSE fo_inline_fo_is_white_space () fo_inline_fo_is_white_spacegboolean fo_inline_fo_is_white_space (const gchar *string); From http://www.w3.org/TR/xml/sec-common-syn [3] S ::= (x20 | x9 | xD | xA)+ string : the string Returns : TRUE if the current character is an white space character, otherwise FALSE xmlroff-0.6.2/docs/xml/fo-inline.xml0000644000175000017500000062737011156164731014273 00000000000000 inline 3 XMLROFF Library inline Synopsis FoInline; FoInlineClass; FoFo* fo_inline_new (void); FoProperty* fo_inline_get_alignment_adjust (FoFo *fo_fo); void fo_inline_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_inline_get_alignment_baseline (FoFo *fo_fo); void fo_inline_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty* fo_inline_get_background_color (FoFo *fo_fo); void fo_inline_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_inline_get_background_image (FoFo *fo_fo); void fo_inline_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_inline_get_baseline_shift (FoFo *fo_fo); void fo_inline_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_inline_get_block_progression_dimension (FoFo *fo_fo); void fo_inline_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_inline_get_border_after_color (FoFo *fo_fo); void fo_inline_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_inline_get_border_after_style (FoFo *fo_fo); void fo_inline_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_inline_get_border_after_width (FoFo *fo_fo); void fo_inline_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_inline_get_border_before_color (FoFo *fo_fo); void fo_inline_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_inline_get_border_before_style (FoFo *fo_fo); void fo_inline_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_inline_get_border_before_width (FoFo *fo_fo); void fo_inline_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_inline_get_border_bottom_color (FoFo *fo_fo); void fo_inline_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_inline_get_border_bottom_style (FoFo *fo_fo); void fo_inline_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_inline_get_border_bottom_width (FoFo *fo_fo); void fo_inline_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_inline_get_border_end_color (FoFo *fo_fo); void fo_inline_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_inline_get_border_end_style (FoFo *fo_fo); void fo_inline_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_inline_get_border_end_width (FoFo *fo_fo); void fo_inline_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_inline_get_border_left_color (FoFo *fo_fo); void fo_inline_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_inline_get_border_left_style (FoFo *fo_fo); void fo_inline_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_inline_get_border_left_width (FoFo *fo_fo); void fo_inline_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_inline_get_border_right_color (FoFo *fo_fo); void fo_inline_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_inline_get_border_right_style (FoFo *fo_fo); void fo_inline_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_inline_get_border_right_width (FoFo *fo_fo); void fo_inline_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_inline_get_border_start_color (FoFo *fo_fo); void fo_inline_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_inline_get_border_start_style (FoFo *fo_fo); void fo_inline_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_inline_get_border_start_width (FoFo *fo_fo); void fo_inline_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_inline_get_border_top_color (FoFo *fo_fo); void fo_inline_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_inline_get_border_top_style (FoFo *fo_fo); void fo_inline_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_inline_get_border_top_width (FoFo *fo_fo); void fo_inline_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_inline_get_color (FoFo *fo_fo); void fo_inline_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_inline_get_dominant_baseline (FoFo *fo_fo); void fo_inline_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_inline_get_font_family (FoFo *fo_fo); void fo_inline_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_inline_get_font_size (FoFo *fo_fo); void fo_inline_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_inline_get_font_stretch (FoFo *fo_fo); void fo_inline_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_inline_get_font_style (FoFo *fo_fo); void fo_inline_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_inline_get_font_variant (FoFo *fo_fo); void fo_inline_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_inline_get_font_weight (FoFo *fo_fo); void fo_inline_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_inline_get_height (FoFo *fo_fo); void fo_inline_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_inline_get_id (FoFo *fo_fo); void fo_inline_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_inline_get_inline_progression_dimension (FoFo *fo_fo); void fo_inline_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_inline_get_keep_together (FoFo *fo_fo); void fo_inline_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_inline_get_keep_together_within_column (FoFo *fo_fo); void fo_inline_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_inline_get_keep_together_within_line (FoFo *fo_fo); void fo_inline_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_inline_get_keep_together_within_page (FoFo *fo_fo); void fo_inline_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_inline_get_keep_with_next (FoFo *fo_fo); void fo_inline_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_inline_get_keep_with_next_within_column (FoFo *fo_fo); void fo_inline_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_inline_get_keep_with_next_within_line (FoFo *fo_fo); void fo_inline_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_inline_get_keep_with_next_within_page (FoFo *fo_fo); void fo_inline_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_inline_get_keep_with_previous (FoFo *fo_fo); void fo_inline_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_inline_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_inline_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_inline_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_inline_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_inline_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_inline_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_inline_get_line_height (FoFo *fo_fo); void fo_inline_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_inline_get_padding_after (FoFo *fo_fo); void fo_inline_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_inline_get_padding_before (FoFo *fo_fo); void fo_inline_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_inline_get_padding_bottom (FoFo *fo_fo); void fo_inline_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_inline_get_padding_end (FoFo *fo_fo); void fo_inline_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_inline_get_padding_left (FoFo *fo_fo); void fo_inline_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_inline_get_padding_right (FoFo *fo_fo); void fo_inline_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_inline_get_padding_start (FoFo *fo_fo); void fo_inline_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_inline_get_padding_top (FoFo *fo_fo); void fo_inline_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_inline_get_role (FoFo *fo_fo); void fo_inline_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_inline_get_source_document (FoFo *fo_fo); void fo_inline_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_inline_get_space_end (FoFo *fo_fo); void fo_inline_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_inline_get_space_start (FoFo *fo_fo); void fo_inline_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty* fo_inline_get_width (FoFo *fo_fo); void fo_inline_set_width (FoFo *fo_fo, FoProperty *new_width); FoProperty* fo_inline_get_wrap_option (FoFo *fo_fo); void fo_inline_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoInline Implemented Interfaces FoInline implements FoInlineFoIface. Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "baseline-shift" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "color" FoProperty* : Read "dominant-baseline" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "inline-progression-dimension" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read "width" FoProperty* : Read "wrap-option" FoProperty* : Read Description Details FoInline FoInlinetypedef struct _FoInline FoInline; FoInlineClass FoInlineClasstypedef struct _FoInlineClass FoInlineClass; fo_inline_new () fo_inline_newFoFo* fo_inline_new (void); Creates a new FoInline initialized to default value. Returns : the new FoInline. fo_inline_get_alignment_adjust () fo_inline_get_alignment_adjustFoProperty* fo_inline_get_alignment_adjust (FoFo *fo_fo); Gets the "alignment-adjust" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-adjust" property value fo_inline_set_alignment_adjust () fo_inline_set_alignment_adjustvoid fo_inline_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust fo_fo : The FoFo object new_alignment_adjust : The new "alignment-adjust" property value fo_inline_get_alignment_baseline () fo_inline_get_alignment_baselineFoProperty* fo_inline_get_alignment_baseline (FoFo *fo_fo); Gets the "alignment-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-baseline" property value fo_inline_set_alignment_baseline () fo_inline_set_alignment_baselinevoid fo_inline_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline fo_fo : The FoFo object new_alignment_baseline : The new "alignment-baseline" property value fo_inline_get_background_color () fo_inline_get_background_colorFoProperty* fo_inline_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_inline_set_background_color () fo_inline_set_background_colorvoid fo_inline_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_inline_get_background_image () fo_inline_get_background_imageFoProperty* fo_inline_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_inline_set_background_image () fo_inline_set_background_imagevoid fo_inline_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_inline_get_baseline_shift () fo_inline_get_baseline_shiftFoProperty* fo_inline_get_baseline_shift (FoFo *fo_fo); Gets the "baseline-shift" property of fo_fo fo_fo : The FoFo object Returns : The "baseline-shift" property value fo_inline_set_baseline_shift () fo_inline_set_baseline_shiftvoid fo_inline_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_fo to new_baseline_shift fo_fo : The FoFo object new_baseline_shift : The new "baseline-shift" property value fo_inline_get_block_progression_dimension () fo_inline_get_block_progression_dimensionFoProperty* fo_inline_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "block-progression-dimension" property value fo_inline_set_block_progression_dimension () fo_inline_set_block_progression_dimensionvoid fo_inline_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension fo_fo : The FoFo object new_block_progression_dimension : The new "block-progression-dimension" property value fo_inline_get_border_after_color () fo_inline_get_border_after_colorFoProperty* fo_inline_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_inline_set_border_after_color () fo_inline_set_border_after_colorvoid fo_inline_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_inline_get_border_after_style () fo_inline_get_border_after_styleFoProperty* fo_inline_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_inline_set_border_after_style () fo_inline_set_border_after_stylevoid fo_inline_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_inline_get_border_after_width () fo_inline_get_border_after_widthFoProperty* fo_inline_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_inline_set_border_after_width () fo_inline_set_border_after_widthvoid fo_inline_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_inline_get_border_before_color () fo_inline_get_border_before_colorFoProperty* fo_inline_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_inline_set_border_before_color () fo_inline_set_border_before_colorvoid fo_inline_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_inline_get_border_before_style () fo_inline_get_border_before_styleFoProperty* fo_inline_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_inline_set_border_before_style () fo_inline_set_border_before_stylevoid fo_inline_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_inline_get_border_before_width () fo_inline_get_border_before_widthFoProperty* fo_inline_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_inline_set_border_before_width () fo_inline_set_border_before_widthvoid fo_inline_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_inline_get_border_bottom_color () fo_inline_get_border_bottom_colorFoProperty* fo_inline_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_inline_set_border_bottom_color () fo_inline_set_border_bottom_colorvoid fo_inline_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_inline_get_border_bottom_style () fo_inline_get_border_bottom_styleFoProperty* fo_inline_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_inline_set_border_bottom_style () fo_inline_set_border_bottom_stylevoid fo_inline_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_inline_get_border_bottom_width () fo_inline_get_border_bottom_widthFoProperty* fo_inline_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_inline_set_border_bottom_width () fo_inline_set_border_bottom_widthvoid fo_inline_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_inline_get_border_end_color () fo_inline_get_border_end_colorFoProperty* fo_inline_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_inline_set_border_end_color () fo_inline_set_border_end_colorvoid fo_inline_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_inline_get_border_end_style () fo_inline_get_border_end_styleFoProperty* fo_inline_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_inline_set_border_end_style () fo_inline_set_border_end_stylevoid fo_inline_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_inline_get_border_end_width () fo_inline_get_border_end_widthFoProperty* fo_inline_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_inline_set_border_end_width () fo_inline_set_border_end_widthvoid fo_inline_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_inline_get_border_left_color () fo_inline_get_border_left_colorFoProperty* fo_inline_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_inline_set_border_left_color () fo_inline_set_border_left_colorvoid fo_inline_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_inline_get_border_left_style () fo_inline_get_border_left_styleFoProperty* fo_inline_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_inline_set_border_left_style () fo_inline_set_border_left_stylevoid fo_inline_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_inline_get_border_left_width () fo_inline_get_border_left_widthFoProperty* fo_inline_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_inline_set_border_left_width () fo_inline_set_border_left_widthvoid fo_inline_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_inline_get_border_right_color () fo_inline_get_border_right_colorFoProperty* fo_inline_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_inline_set_border_right_color () fo_inline_set_border_right_colorvoid fo_inline_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_inline_get_border_right_style () fo_inline_get_border_right_styleFoProperty* fo_inline_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_inline_set_border_right_style () fo_inline_set_border_right_stylevoid fo_inline_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_inline_get_border_right_width () fo_inline_get_border_right_widthFoProperty* fo_inline_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_inline_set_border_right_width () fo_inline_set_border_right_widthvoid fo_inline_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_inline_get_border_start_color () fo_inline_get_border_start_colorFoProperty* fo_inline_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_inline_set_border_start_color () fo_inline_set_border_start_colorvoid fo_inline_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_inline_get_border_start_style () fo_inline_get_border_start_styleFoProperty* fo_inline_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_inline_set_border_start_style () fo_inline_set_border_start_stylevoid fo_inline_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_inline_get_border_start_width () fo_inline_get_border_start_widthFoProperty* fo_inline_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_inline_set_border_start_width () fo_inline_set_border_start_widthvoid fo_inline_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_inline_get_border_top_color () fo_inline_get_border_top_colorFoProperty* fo_inline_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_inline_set_border_top_color () fo_inline_set_border_top_colorvoid fo_inline_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_inline_get_border_top_style () fo_inline_get_border_top_styleFoProperty* fo_inline_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_inline_set_border_top_style () fo_inline_set_border_top_stylevoid fo_inline_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_inline_get_border_top_width () fo_inline_get_border_top_widthFoProperty* fo_inline_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_inline_set_border_top_width () fo_inline_set_border_top_widthvoid fo_inline_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_inline_get_color () fo_inline_get_colorFoProperty* fo_inline_get_color (FoFo *fo_fo); Gets the "color" property of fo_fo fo_fo : The FoFo object Returns : The "color" property value fo_inline_set_color () fo_inline_set_colorvoid fo_inline_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the "color" property of fo_fo to new_color fo_fo : The FoFo object new_color : The new "color" property value fo_inline_get_dominant_baseline () fo_inline_get_dominant_baselineFoProperty* fo_inline_get_dominant_baseline (FoFo *fo_fo); Gets the "dominant-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "dominant-baseline" property value fo_inline_set_dominant_baseline () fo_inline_set_dominant_baselinevoid fo_inline_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline fo_fo : The FoFo object new_dominant_baseline : The new "dominant-baseline" property value fo_inline_get_font_family () fo_inline_get_font_familyFoProperty* fo_inline_get_font_family (FoFo *fo_fo); Gets the "font-family" property of fo_fo fo_fo : The FoFo object Returns : The "font-family" property value fo_inline_set_font_family () fo_inline_set_font_familyvoid fo_inline_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the "font-family" property of fo_fo to new_font_family fo_fo : The FoFo object new_font_family : The new "font-family" property value fo_inline_get_font_size () fo_inline_get_font_sizeFoProperty* fo_inline_get_font_size (FoFo *fo_fo); Gets the "font-size" property of fo_fo fo_fo : The FoFo object Returns : The "font-size" property value fo_inline_set_font_size () fo_inline_set_font_sizevoid fo_inline_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the "font-size" property of fo_fo to new_font_size fo_fo : The FoFo object new_font_size : The new "font-size" property value fo_inline_get_font_stretch () fo_inline_get_font_stretchFoProperty* fo_inline_get_font_stretch (FoFo *fo_fo); Gets the "font-stretch" property of fo_fo fo_fo : The FoFo object Returns : The "font-stretch" property value fo_inline_set_font_stretch () fo_inline_set_font_stretchvoid fo_inline_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_fo to new_font_stretch fo_fo : The FoFo object new_font_stretch : The new "font-stretch" property value fo_inline_get_font_style () fo_inline_get_font_styleFoProperty* fo_inline_get_font_style (FoFo *fo_fo); Gets the "font-style" property of fo_fo fo_fo : The FoFo object Returns : The "font-style" property value fo_inline_set_font_style () fo_inline_set_font_stylevoid fo_inline_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the "font-style" property of fo_fo to new_font_style fo_fo : The FoFo object new_font_style : The new "font-style" property value fo_inline_get_font_variant () fo_inline_get_font_variantFoProperty* fo_inline_get_font_variant (FoFo *fo_fo); Gets the "font-variant" property of fo_fo fo_fo : The FoFo object Returns : The "font-variant" property value fo_inline_set_font_variant () fo_inline_set_font_variantvoid fo_inline_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the "font-variant" property of fo_fo to new_font_variant fo_fo : The FoFo object new_font_variant : The new "font-variant" property value fo_inline_get_font_weight () fo_inline_get_font_weightFoProperty* fo_inline_get_font_weight (FoFo *fo_fo); Gets the "font-weight" property of fo_fo fo_fo : The FoFo object Returns : The "font-weight" property value fo_inline_set_font_weight () fo_inline_set_font_weightvoid fo_inline_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the "font-weight" property of fo_fo to new_font_weight fo_fo : The FoFo object new_font_weight : The new "font-weight" property value fo_inline_get_height () fo_inline_get_heightFoProperty* fo_inline_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo fo_fo : The FoFo object Returns : The "height" property value fo_inline_set_height () fo_inline_set_heightvoid fo_inline_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height fo_fo : The FoFo object new_height : The new "height" property value fo_inline_get_id () fo_inline_get_idFoProperty* fo_inline_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_inline_set_id () fo_inline_set_idvoid fo_inline_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_inline_get_inline_progression_dimension () fo_inline_get_inline_progression_dimensionFoProperty* fo_inline_get_inline_progression_dimension (FoFo *fo_fo); Gets the "inline-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "inline-progression-dimension" property value fo_inline_set_inline_progression_dimension () fo_inline_set_inline_progression_dimensionvoid fo_inline_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension fo_fo : The FoFo object new_inline_progression_dimension : The new "inline-progression-dimension" property value fo_inline_get_keep_together () fo_inline_get_keep_togetherFoProperty* fo_inline_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_inline_set_keep_together () fo_inline_set_keep_togethervoid fo_inline_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_inline_get_keep_together_within_column () fo_inline_get_keep_together_within_columnFoProperty* fo_inline_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_inline_set_keep_together_within_column () fo_inline_set_keep_together_within_columnvoid fo_inline_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_inline_get_keep_together_within_line () fo_inline_get_keep_together_within_lineFoProperty* fo_inline_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_inline_set_keep_together_within_line () fo_inline_set_keep_together_within_linevoid fo_inline_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_inline_get_keep_together_within_page () fo_inline_get_keep_together_within_pageFoProperty* fo_inline_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_inline_set_keep_together_within_page () fo_inline_set_keep_together_within_pagevoid fo_inline_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_inline_get_keep_with_next () fo_inline_get_keep_with_nextFoProperty* fo_inline_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_inline_set_keep_with_next () fo_inline_set_keep_with_nextvoid fo_inline_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_inline_get_keep_with_next_within_column () fo_inline_get_keep_with_next_within_columnFoProperty* fo_inline_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_inline_set_keep_with_next_within_column () fo_inline_set_keep_with_next_within_columnvoid fo_inline_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_inline_get_keep_with_next_within_line () fo_inline_get_keep_with_next_within_lineFoProperty* fo_inline_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_inline_set_keep_with_next_within_line () fo_inline_set_keep_with_next_within_linevoid fo_inline_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_inline_get_keep_with_next_within_page () fo_inline_get_keep_with_next_within_pageFoProperty* fo_inline_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_inline_set_keep_with_next_within_page () fo_inline_set_keep_with_next_within_pagevoid fo_inline_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_inline_get_keep_with_previous () fo_inline_get_keep_with_previousFoProperty* fo_inline_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_inline_set_keep_with_previous () fo_inline_set_keep_with_previousvoid fo_inline_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_inline_get_keep_with_previous_within_column () fo_inline_get_keep_with_previous_within_columnFoProperty* fo_inline_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_inline_set_keep_with_previous_within_column () fo_inline_set_keep_with_previous_within_columnvoid fo_inline_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_inline_get_keep_with_previous_within_line () fo_inline_get_keep_with_previous_within_lineFoProperty* fo_inline_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_inline_set_keep_with_previous_within_line () fo_inline_set_keep_with_previous_within_linevoid fo_inline_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_inline_get_keep_with_previous_within_page () fo_inline_get_keep_with_previous_within_pageFoProperty* fo_inline_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_inline_set_keep_with_previous_within_page () fo_inline_set_keep_with_previous_within_pagevoid fo_inline_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_inline_get_line_height () fo_inline_get_line_heightFoProperty* fo_inline_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo fo_fo : The FoFo object Returns : The "line-height" property value fo_inline_set_line_height () fo_inline_set_line_heightvoid fo_inline_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value fo_inline_get_padding_after () fo_inline_get_padding_afterFoProperty* fo_inline_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_inline_set_padding_after () fo_inline_set_padding_aftervoid fo_inline_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_inline_get_padding_before () fo_inline_get_padding_beforeFoProperty* fo_inline_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_inline_set_padding_before () fo_inline_set_padding_beforevoid fo_inline_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_inline_get_padding_bottom () fo_inline_get_padding_bottomFoProperty* fo_inline_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_inline_set_padding_bottom () fo_inline_set_padding_bottomvoid fo_inline_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_inline_get_padding_end () fo_inline_get_padding_endFoProperty* fo_inline_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_inline_set_padding_end () fo_inline_set_padding_endvoid fo_inline_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_inline_get_padding_left () fo_inline_get_padding_leftFoProperty* fo_inline_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_inline_set_padding_left () fo_inline_set_padding_leftvoid fo_inline_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_inline_get_padding_right () fo_inline_get_padding_rightFoProperty* fo_inline_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_inline_set_padding_right () fo_inline_set_padding_rightvoid fo_inline_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_inline_get_padding_start () fo_inline_get_padding_startFoProperty* fo_inline_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_inline_set_padding_start () fo_inline_set_padding_startvoid fo_inline_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_inline_get_padding_top () fo_inline_get_padding_topFoProperty* fo_inline_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_inline_set_padding_top () fo_inline_set_padding_topvoid fo_inline_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_inline_get_role () fo_inline_get_roleFoProperty* fo_inline_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_inline_set_role () fo_inline_set_rolevoid fo_inline_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_inline_get_source_document () fo_inline_get_source_documentFoProperty* fo_inline_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_inline_set_source_document () fo_inline_set_source_documentvoid fo_inline_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_inline_get_space_end () fo_inline_get_space_endFoProperty* fo_inline_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo fo_fo : The FoFo object Returns : The "space-end" property value fo_inline_set_space_end () fo_inline_set_space_endvoid fo_inline_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end fo_fo : The FoFo object new_space_end : The new "space-end" property value fo_inline_get_space_start () fo_inline_get_space_startFoProperty* fo_inline_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo fo_fo : The FoFo object Returns : The "space-start" property value fo_inline_set_space_start () fo_inline_set_space_startvoid fo_inline_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start fo_fo : The FoFo object new_space_start : The new "space-start" property value fo_inline_get_width () fo_inline_get_widthFoProperty* fo_inline_get_width (FoFo *fo_fo); Gets the "width" property of fo_fo fo_fo : The FoFo object Returns : The "width" property value fo_inline_set_width () fo_inline_set_widthvoid fo_inline_set_width (FoFo *fo_fo, FoProperty *new_width); Sets the "width" property of fo_fo to new_width fo_fo : The FoFo object new_width : The new "width" property value fo_inline_get_wrap_option () fo_inline_get_wrap_optionFoProperty* fo_inline_get_wrap_option (FoFo *fo_fo); Gets the "wrap-option" property of fo_fo fo_fo : The FoFo object Returns : The "wrap-option" property value fo_inline_set_wrap_option () fo_inline_set_wrap_optionvoid fo_inline_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); Sets the "wrap-option" property of fo_fo to new_wrap_option fo_fo : The FoFo object new_wrap_option : The new "wrap-option" property value Property Details The <literal>"alignment-adjust"</literal> property FoInline:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoInline:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoInline:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoInline:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"baseline-shift"</literal> property FoInline:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"block-progression-dimension"</literal> property FoInline:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"border-after-color"</literal> property FoInline:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoInline:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoInline:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoInline:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoInline:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoInline:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoInline:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoInline:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoInline:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoInline:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoInline:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoInline:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoInline:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoInline:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoInline:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoInline:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoInline:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoInline:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoInline:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoInline:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoInline:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoInline:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoInline:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoInline:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"color"</literal> property FoInline:color "color" FoProperty* : Read Color property. The <literal>"dominant-baseline"</literal> property FoInline:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"font-family"</literal> property FoInline:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoInline:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoInline:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoInline:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoInline:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoInline:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"height"</literal> property FoInline:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoInline:id "id" FoProperty* : Read Id property. The <literal>"inline-progression-dimension"</literal> property FoInline:inline-progression-dimension "inline-progression-dimension" FoProperty* : Read Inline Progression Dimension property. The <literal>"keep-together"</literal> property FoInline:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoInline:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoInline:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoInline:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoInline:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoInline:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoInline:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoInline:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoInline:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoInline:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoInline:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoInline:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoInline:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"padding-after"</literal> property FoInline:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoInline:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoInline:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoInline:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoInline:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoInline:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoInline:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoInline:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoInline:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoInline:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-end"</literal> property FoInline:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoInline:space-start "space-start" FoProperty* : Read Space Start property. The <literal>"width"</literal> property FoInline:width "width" FoProperty* : Read Width property. The <literal>"wrap-option"</literal> property FoInline:wrap-option "wrap-option" FoProperty* : Read Wrap Option property. xmlroff-0.6.2/docs/xml/fo-instream-foreign-object.xml0000644000175000017500000067664611156164731017544 00000000000000 instream-foreign-object 3 XMLROFF Library instream-foreign-object Synopsis FoInstreamForeignObject; FoInstreamForeignObjectClass; FoFo* fo_instream_foreign_object_new (void); FoProperty* fo_instream_foreign_object_get_alignment_adjust (FoFo *fo_fo); void fo_instream_foreign_object_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_instream_foreign_object_get_alignment_baseline (FoFo *fo_fo); void fo_instream_foreign_object_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty* fo_instream_foreign_object_get_background_color (FoFo *fo_fo); void fo_instream_foreign_object_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_instream_foreign_object_get_background_image (FoFo *fo_fo); void fo_instream_foreign_object_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_instream_foreign_object_get_baseline_shift (FoFo *fo_fo); void fo_instream_foreign_object_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_instream_foreign_object_get_block_progression_dimension (FoFo *fo_fo); void fo_instream_foreign_object_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_instream_foreign_object_get_border_after_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_instream_foreign_object_get_border_after_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_instream_foreign_object_get_border_after_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_instream_foreign_object_get_border_before_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_instream_foreign_object_get_border_before_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_instream_foreign_object_get_border_before_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_instream_foreign_object_get_border_bottom_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_instream_foreign_object_get_border_bottom_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_instream_foreign_object_get_border_bottom_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_instream_foreign_object_get_border_end_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_instream_foreign_object_get_border_end_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_instream_foreign_object_get_border_end_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_instream_foreign_object_get_border_left_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_instream_foreign_object_get_border_left_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_instream_foreign_object_get_border_left_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_instream_foreign_object_get_border_right_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_instream_foreign_object_get_border_right_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_instream_foreign_object_get_border_right_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_instream_foreign_object_get_border_start_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_instream_foreign_object_get_border_start_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_instream_foreign_object_get_border_start_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_instream_foreign_object_get_border_top_color (FoFo *fo_fo); void fo_instream_foreign_object_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_instream_foreign_object_get_border_top_style (FoFo *fo_fo); void fo_instream_foreign_object_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_instream_foreign_object_get_border_top_width (FoFo *fo_fo); void fo_instream_foreign_object_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_instream_foreign_object_get_clip (FoFo *fo_fo); void fo_instream_foreign_object_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_instream_foreign_object_get_content_height (FoFo *fo_fo); void fo_instream_foreign_object_set_content_height (FoFo *fo_fo, FoProperty *new_content_height); FoProperty* fo_instream_foreign_object_get_content_type (FoFo *fo_fo); void fo_instream_foreign_object_set_content_type (FoFo *fo_fo, FoProperty *new_content_type); FoProperty* fo_instream_foreign_object_get_content_width (FoFo *fo_fo); void fo_instream_foreign_object_set_content_width (FoFo *fo_fo, FoProperty *new_content_width); FoProperty* fo_instream_foreign_object_get_display_align (FoFo *fo_fo); void fo_instream_foreign_object_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_instream_foreign_object_get_dominant_baseline (FoFo *fo_fo); void fo_instream_foreign_object_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_instream_foreign_object_get_height (FoFo *fo_fo); void fo_instream_foreign_object_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_instream_foreign_object_get_id (FoFo *fo_fo); void fo_instream_foreign_object_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_instream_foreign_object_get_inline_progression_dimension (FoFo *fo_fo); void fo_instream_foreign_object_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_instream_foreign_object_get_keep_with_next (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_instream_foreign_object_get_keep_with_next_within_column (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_instream_foreign_object_get_keep_with_next_within_line (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_instream_foreign_object_get_keep_with_next_within_page (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_instream_foreign_object_get_keep_with_previous (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_instream_foreign_object_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_instream_foreign_object_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_instream_foreign_object_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_instream_foreign_object_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_instream_foreign_object_get_line_height (FoFo *fo_fo); void fo_instream_foreign_object_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_instream_foreign_object_get_overflow (FoFo *fo_fo); void fo_instream_foreign_object_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_instream_foreign_object_get_padding_after (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_instream_foreign_object_get_padding_before (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_instream_foreign_object_get_padding_bottom (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_instream_foreign_object_get_padding_end (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_instream_foreign_object_get_padding_left (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_instream_foreign_object_get_padding_right (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_instream_foreign_object_get_padding_start (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_instream_foreign_object_get_padding_top (FoFo *fo_fo); void fo_instream_foreign_object_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_instream_foreign_object_get_role (FoFo *fo_fo); void fo_instream_foreign_object_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_instream_foreign_object_get_scaling (FoFo *fo_fo); void fo_instream_foreign_object_set_scaling (FoFo *fo_fo, FoProperty *new_scaling); FoProperty* fo_instream_foreign_object_get_scaling_method (FoFo *fo_fo); void fo_instream_foreign_object_set_scaling_method (FoFo *fo_fo, FoProperty *new_scaling_method); FoProperty* fo_instream_foreign_object_get_source_document (FoFo *fo_fo); void fo_instream_foreign_object_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_instream_foreign_object_get_space_end (FoFo *fo_fo); void fo_instream_foreign_object_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_instream_foreign_object_get_space_start (FoFo *fo_fo); void fo_instream_foreign_object_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty* fo_instream_foreign_object_get_text_align (FoFo *fo_fo); void fo_instream_foreign_object_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); FoProperty* fo_instream_foreign_object_get_width (FoFo *fo_fo); void fo_instream_foreign_object_set_width (FoFo *fo_fo, FoProperty *new_width); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoInstreamForeignObject Implemented Interfaces FoInstreamForeignObject implements FoInlineFoIface. Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "baseline-shift" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "clip" FoProperty* : Read "content-height" FoProperty* : Read "content-type" FoProperty* : Read "content-width" FoProperty* : Read "display-align" FoProperty* : Read "dominant-baseline" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "inline-progression-dimension" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "overflow" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "scaling" FoProperty* : Read "scaling-method" FoProperty* : Read "source-document" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read "text-align" FoProperty* : Read "width" FoProperty* : Read Description Details FoInstreamForeignObject FoInstreamForeignObjecttypedef struct _FoInstreamForeignObject FoInstreamForeignObject; FoInstreamForeignObjectClass FoInstreamForeignObjectClasstypedef struct _FoInstreamForeignObjectClass FoInstreamForeignObjectClass; fo_instream_foreign_object_new () fo_instream_foreign_object_newFoFo* fo_instream_foreign_object_new (void); Creates a new FoInstreamForeignObject initialized to default value. Returns : the new FoInstreamForeignObject. fo_instream_foreign_object_get_alignment_adjust () fo_instream_foreign_object_get_alignment_adjustFoProperty* fo_instream_foreign_object_get_alignment_adjust (FoFo *fo_fo); Gets the "alignment-adjust" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-adjust" property value fo_instream_foreign_object_set_alignment_adjust () fo_instream_foreign_object_set_alignment_adjustvoid fo_instream_foreign_object_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust fo_fo : The FoFo object new_alignment_adjust : The new "alignment-adjust" property value fo_instream_foreign_object_get_alignment_baseline () fo_instream_foreign_object_get_alignment_baselineFoProperty* fo_instream_foreign_object_get_alignment_baseline (FoFo *fo_fo); Gets the "alignment-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-baseline" property value fo_instream_foreign_object_set_alignment_baseline () fo_instream_foreign_object_set_alignment_baselinevoid fo_instream_foreign_object_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline fo_fo : The FoFo object new_alignment_baseline : The new "alignment-baseline" property value fo_instream_foreign_object_get_background_color () fo_instream_foreign_object_get_background_colorFoProperty* fo_instream_foreign_object_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_instream_foreign_object_set_background_color () fo_instream_foreign_object_set_background_colorvoid fo_instream_foreign_object_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_instream_foreign_object_get_background_image () fo_instream_foreign_object_get_background_imageFoProperty* fo_instream_foreign_object_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_instream_foreign_object_set_background_image () fo_instream_foreign_object_set_background_imagevoid fo_instream_foreign_object_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_instream_foreign_object_get_baseline_shift () fo_instream_foreign_object_get_baseline_shiftFoProperty* fo_instream_foreign_object_get_baseline_shift (FoFo *fo_fo); Gets the "baseline-shift" property of fo_fo fo_fo : The FoFo object Returns : The "baseline-shift" property value fo_instream_foreign_object_set_baseline_shift () fo_instream_foreign_object_set_baseline_shiftvoid fo_instream_foreign_object_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_fo to new_baseline_shift fo_fo : The FoFo object new_baseline_shift : The new "baseline-shift" property value fo_instream_foreign_object_get_block_progression_dimension () fo_instream_foreign_object_get_block_progression_dimensionFoProperty* fo_instream_foreign_object_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "block-progression-dimension" property value fo_instream_foreign_object_set_block_progression_dimension () fo_instream_foreign_object_set_block_progression_dimensionvoid fo_instream_foreign_object_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension fo_fo : The FoFo object new_block_progression_dimension : The new "block-progression-dimension" property value fo_instream_foreign_object_get_border_after_color () fo_instream_foreign_object_get_border_after_colorFoProperty* fo_instream_foreign_object_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_instream_foreign_object_set_border_after_color () fo_instream_foreign_object_set_border_after_colorvoid fo_instream_foreign_object_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_instream_foreign_object_get_border_after_style () fo_instream_foreign_object_get_border_after_styleFoProperty* fo_instream_foreign_object_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_instream_foreign_object_set_border_after_style () fo_instream_foreign_object_set_border_after_stylevoid fo_instream_foreign_object_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_instream_foreign_object_get_border_after_width () fo_instream_foreign_object_get_border_after_widthFoProperty* fo_instream_foreign_object_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_instream_foreign_object_set_border_after_width () fo_instream_foreign_object_set_border_after_widthvoid fo_instream_foreign_object_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_instream_foreign_object_get_border_before_color () fo_instream_foreign_object_get_border_before_colorFoProperty* fo_instream_foreign_object_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_instream_foreign_object_set_border_before_color () fo_instream_foreign_object_set_border_before_colorvoid fo_instream_foreign_object_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_instream_foreign_object_get_border_before_style () fo_instream_foreign_object_get_border_before_styleFoProperty* fo_instream_foreign_object_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_instream_foreign_object_set_border_before_style () fo_instream_foreign_object_set_border_before_stylevoid fo_instream_foreign_object_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_instream_foreign_object_get_border_before_width () fo_instream_foreign_object_get_border_before_widthFoProperty* fo_instream_foreign_object_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_instream_foreign_object_set_border_before_width () fo_instream_foreign_object_set_border_before_widthvoid fo_instream_foreign_object_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_instream_foreign_object_get_border_bottom_color () fo_instream_foreign_object_get_border_bottom_colorFoProperty* fo_instream_foreign_object_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_instream_foreign_object_set_border_bottom_color () fo_instream_foreign_object_set_border_bottom_colorvoid fo_instream_foreign_object_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_instream_foreign_object_get_border_bottom_style () fo_instream_foreign_object_get_border_bottom_styleFoProperty* fo_instream_foreign_object_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_instream_foreign_object_set_border_bottom_style () fo_instream_foreign_object_set_border_bottom_stylevoid fo_instream_foreign_object_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_instream_foreign_object_get_border_bottom_width () fo_instream_foreign_object_get_border_bottom_widthFoProperty* fo_instream_foreign_object_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_instream_foreign_object_set_border_bottom_width () fo_instream_foreign_object_set_border_bottom_widthvoid fo_instream_foreign_object_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_instream_foreign_object_get_border_end_color () fo_instream_foreign_object_get_border_end_colorFoProperty* fo_instream_foreign_object_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_instream_foreign_object_set_border_end_color () fo_instream_foreign_object_set_border_end_colorvoid fo_instream_foreign_object_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_instream_foreign_object_get_border_end_style () fo_instream_foreign_object_get_border_end_styleFoProperty* fo_instream_foreign_object_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_instream_foreign_object_set_border_end_style () fo_instream_foreign_object_set_border_end_stylevoid fo_instream_foreign_object_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_instream_foreign_object_get_border_end_width () fo_instream_foreign_object_get_border_end_widthFoProperty* fo_instream_foreign_object_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_instream_foreign_object_set_border_end_width () fo_instream_foreign_object_set_border_end_widthvoid fo_instream_foreign_object_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_instream_foreign_object_get_border_left_color () fo_instream_foreign_object_get_border_left_colorFoProperty* fo_instream_foreign_object_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_instream_foreign_object_set_border_left_color () fo_instream_foreign_object_set_border_left_colorvoid fo_instream_foreign_object_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_instream_foreign_object_get_border_left_style () fo_instream_foreign_object_get_border_left_styleFoProperty* fo_instream_foreign_object_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_instream_foreign_object_set_border_left_style () fo_instream_foreign_object_set_border_left_stylevoid fo_instream_foreign_object_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_instream_foreign_object_get_border_left_width () fo_instream_foreign_object_get_border_left_widthFoProperty* fo_instream_foreign_object_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_instream_foreign_object_set_border_left_width () fo_instream_foreign_object_set_border_left_widthvoid fo_instream_foreign_object_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_instream_foreign_object_get_border_right_color () fo_instream_foreign_object_get_border_right_colorFoProperty* fo_instream_foreign_object_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_instream_foreign_object_set_border_right_color () fo_instream_foreign_object_set_border_right_colorvoid fo_instream_foreign_object_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_instream_foreign_object_get_border_right_style () fo_instream_foreign_object_get_border_right_styleFoProperty* fo_instream_foreign_object_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_instream_foreign_object_set_border_right_style () fo_instream_foreign_object_set_border_right_stylevoid fo_instream_foreign_object_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_instream_foreign_object_get_border_right_width () fo_instream_foreign_object_get_border_right_widthFoProperty* fo_instream_foreign_object_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_instream_foreign_object_set_border_right_width () fo_instream_foreign_object_set_border_right_widthvoid fo_instream_foreign_object_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_instream_foreign_object_get_border_start_color () fo_instream_foreign_object_get_border_start_colorFoProperty* fo_instream_foreign_object_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_instream_foreign_object_set_border_start_color () fo_instream_foreign_object_set_border_start_colorvoid fo_instream_foreign_object_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_instream_foreign_object_get_border_start_style () fo_instream_foreign_object_get_border_start_styleFoProperty* fo_instream_foreign_object_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_instream_foreign_object_set_border_start_style () fo_instream_foreign_object_set_border_start_stylevoid fo_instream_foreign_object_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_instream_foreign_object_get_border_start_width () fo_instream_foreign_object_get_border_start_widthFoProperty* fo_instream_foreign_object_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_instream_foreign_object_set_border_start_width () fo_instream_foreign_object_set_border_start_widthvoid fo_instream_foreign_object_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_instream_foreign_object_get_border_top_color () fo_instream_foreign_object_get_border_top_colorFoProperty* fo_instream_foreign_object_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_instream_foreign_object_set_border_top_color () fo_instream_foreign_object_set_border_top_colorvoid fo_instream_foreign_object_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_instream_foreign_object_get_border_top_style () fo_instream_foreign_object_get_border_top_styleFoProperty* fo_instream_foreign_object_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_instream_foreign_object_set_border_top_style () fo_instream_foreign_object_set_border_top_stylevoid fo_instream_foreign_object_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_instream_foreign_object_get_border_top_width () fo_instream_foreign_object_get_border_top_widthFoProperty* fo_instream_foreign_object_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_instream_foreign_object_set_border_top_width () fo_instream_foreign_object_set_border_top_widthvoid fo_instream_foreign_object_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_instream_foreign_object_get_clip () fo_instream_foreign_object_get_clipFoProperty* fo_instream_foreign_object_get_clip (FoFo *fo_fo); Gets the "clip" property of fo_fo fo_fo : The FoFo object Returns : The "clip" property value fo_instream_foreign_object_set_clip () fo_instream_foreign_object_set_clipvoid fo_instream_foreign_object_set_clip (FoFo *fo_fo, FoProperty *new_clip); Sets the "clip" property of fo_fo to new_clip fo_fo : The FoFo object new_clip : The new "clip" property value fo_instream_foreign_object_get_content_height () fo_instream_foreign_object_get_content_heightFoProperty* fo_instream_foreign_object_get_content_height (FoFo *fo_fo); Gets the "content-height" property of fo_fo fo_fo : The FoFo object Returns : The "content-height" property value fo_instream_foreign_object_set_content_height () fo_instream_foreign_object_set_content_heightvoid fo_instream_foreign_object_set_content_height (FoFo *fo_fo, FoProperty *new_content_height); Sets the "content-height" property of fo_fo to new_content_height fo_fo : The FoFo object new_content_height : The new "content-height" property value fo_instream_foreign_object_get_content_type () fo_instream_foreign_object_get_content_typeFoProperty* fo_instream_foreign_object_get_content_type (FoFo *fo_fo); Gets the "content-type" property of fo_fo fo_fo : The FoFo object Returns : The "content-type" property value fo_instream_foreign_object_set_content_type () fo_instream_foreign_object_set_content_typevoid fo_instream_foreign_object_set_content_type (FoFo *fo_fo, FoProperty *new_content_type); Sets the "content-type" property of fo_fo to new_content_type fo_fo : The FoFo object new_content_type : The new "content-type" property value fo_instream_foreign_object_get_content_width () fo_instream_foreign_object_get_content_widthFoProperty* fo_instream_foreign_object_get_content_width (FoFo *fo_fo); Gets the "content-width" property of fo_fo fo_fo : The FoFo object Returns : The "content-width" property value fo_instream_foreign_object_set_content_width () fo_instream_foreign_object_set_content_widthvoid fo_instream_foreign_object_set_content_width (FoFo *fo_fo, FoProperty *new_content_width); Sets the "content-width" property of fo_fo to new_content_width fo_fo : The FoFo object new_content_width : The new "content-width" property value fo_instream_foreign_object_get_display_align () fo_instream_foreign_object_get_display_alignFoProperty* fo_instream_foreign_object_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo fo_fo : The FoFo object Returns : The "display-align" property value fo_instream_foreign_object_set_display_align () fo_instream_foreign_object_set_display_alignvoid fo_instream_foreign_object_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align fo_fo : The FoFo object new_display_align : The new "display-align" property value fo_instream_foreign_object_get_dominant_baseline () fo_instream_foreign_object_get_dominant_baselineFoProperty* fo_instream_foreign_object_get_dominant_baseline (FoFo *fo_fo); Gets the "dominant-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "dominant-baseline" property value fo_instream_foreign_object_set_dominant_baseline () fo_instream_foreign_object_set_dominant_baselinevoid fo_instream_foreign_object_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline fo_fo : The FoFo object new_dominant_baseline : The new "dominant-baseline" property value fo_instream_foreign_object_get_height () fo_instream_foreign_object_get_heightFoProperty* fo_instream_foreign_object_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo fo_fo : The FoFo object Returns : The "height" property value fo_instream_foreign_object_set_height () fo_instream_foreign_object_set_heightvoid fo_instream_foreign_object_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height fo_fo : The FoFo object new_height : The new "height" property value fo_instream_foreign_object_get_id () fo_instream_foreign_object_get_idFoProperty* fo_instream_foreign_object_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_instream_foreign_object_set_id () fo_instream_foreign_object_set_idvoid fo_instream_foreign_object_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_instream_foreign_object_get_inline_progression_dimension () fo_instream_foreign_object_get_inline_progression_dimensionFoProperty* fo_instream_foreign_object_get_inline_progression_dimension (FoFo *fo_fo); Gets the "inline-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "inline-progression-dimension" property value fo_instream_foreign_object_set_inline_progression_dimension () fo_instream_foreign_object_set_inline_progression_dimensionvoid fo_instream_foreign_object_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension fo_fo : The FoFo object new_inline_progression_dimension : The new "inline-progression-dimension" property value fo_instream_foreign_object_get_keep_with_next () fo_instream_foreign_object_get_keep_with_nextFoProperty* fo_instream_foreign_object_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_instream_foreign_object_set_keep_with_next () fo_instream_foreign_object_set_keep_with_nextvoid fo_instream_foreign_object_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_instream_foreign_object_get_keep_with_next_within_column () fo_instream_foreign_object_get_keep_with_next_within_columnFoProperty* fo_instream_foreign_object_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_instream_foreign_object_set_keep_with_next_within_column () fo_instream_foreign_object_set_keep_with_next_within_columnvoid fo_instream_foreign_object_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_instream_foreign_object_get_keep_with_next_within_line () fo_instream_foreign_object_get_keep_with_next_within_lineFoProperty* fo_instream_foreign_object_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_instream_foreign_object_set_keep_with_next_within_line () fo_instream_foreign_object_set_keep_with_next_within_linevoid fo_instream_foreign_object_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_instream_foreign_object_get_keep_with_next_within_page () fo_instream_foreign_object_get_keep_with_next_within_pageFoProperty* fo_instream_foreign_object_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_instream_foreign_object_set_keep_with_next_within_page () fo_instream_foreign_object_set_keep_with_next_within_pagevoid fo_instream_foreign_object_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_instream_foreign_object_get_keep_with_previous () fo_instream_foreign_object_get_keep_with_previousFoProperty* fo_instream_foreign_object_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_instream_foreign_object_set_keep_with_previous () fo_instream_foreign_object_set_keep_with_previousvoid fo_instream_foreign_object_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_instream_foreign_object_get_keep_with_previous_within_column () fo_instream_foreign_object_get_keep_with_previous_within_columnFoProperty* fo_instream_foreign_object_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_instream_foreign_object_set_keep_with_previous_within_column () fo_instream_foreign_object_set_keep_with_previous_within_columnvoid fo_instream_foreign_object_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_instream_foreign_object_get_keep_with_previous_within_line () fo_instream_foreign_object_get_keep_with_previous_within_lineFoProperty* fo_instream_foreign_object_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_instream_foreign_object_set_keep_with_previous_within_line () fo_instream_foreign_object_set_keep_with_previous_within_linevoid fo_instream_foreign_object_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_instream_foreign_object_get_keep_with_previous_within_page () fo_instream_foreign_object_get_keep_with_previous_within_pageFoProperty* fo_instream_foreign_object_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_instream_foreign_object_set_keep_with_previous_within_page () fo_instream_foreign_object_set_keep_with_previous_within_pagevoid fo_instream_foreign_object_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_instream_foreign_object_get_line_height () fo_instream_foreign_object_get_line_heightFoProperty* fo_instream_foreign_object_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo fo_fo : The FoFo object Returns : The "line-height" property value fo_instream_foreign_object_set_line_height () fo_instream_foreign_object_set_line_heightvoid fo_instream_foreign_object_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value fo_instream_foreign_object_get_overflow () fo_instream_foreign_object_get_overflowFoProperty* fo_instream_foreign_object_get_overflow (FoFo *fo_fo); Gets the "overflow" property of fo_fo fo_fo : The FoFo object Returns : The "overflow" property value fo_instream_foreign_object_set_overflow () fo_instream_foreign_object_set_overflowvoid fo_instream_foreign_object_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); Sets the "overflow" property of fo_fo to new_overflow fo_fo : The FoFo object new_overflow : The new "overflow" property value fo_instream_foreign_object_get_padding_after () fo_instream_foreign_object_get_padding_afterFoProperty* fo_instream_foreign_object_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_instream_foreign_object_set_padding_after () fo_instream_foreign_object_set_padding_aftervoid fo_instream_foreign_object_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_instream_foreign_object_get_padding_before () fo_instream_foreign_object_get_padding_beforeFoProperty* fo_instream_foreign_object_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_instream_foreign_object_set_padding_before () fo_instream_foreign_object_set_padding_beforevoid fo_instream_foreign_object_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_instream_foreign_object_get_padding_bottom () fo_instream_foreign_object_get_padding_bottomFoProperty* fo_instream_foreign_object_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_instream_foreign_object_set_padding_bottom () fo_instream_foreign_object_set_padding_bottomvoid fo_instream_foreign_object_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_instream_foreign_object_get_padding_end () fo_instream_foreign_object_get_padding_endFoProperty* fo_instream_foreign_object_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_instream_foreign_object_set_padding_end () fo_instream_foreign_object_set_padding_endvoid fo_instream_foreign_object_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_instream_foreign_object_get_padding_left () fo_instream_foreign_object_get_padding_leftFoProperty* fo_instream_foreign_object_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_instream_foreign_object_set_padding_left () fo_instream_foreign_object_set_padding_leftvoid fo_instream_foreign_object_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_instream_foreign_object_get_padding_right () fo_instream_foreign_object_get_padding_rightFoProperty* fo_instream_foreign_object_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_instream_foreign_object_set_padding_right () fo_instream_foreign_object_set_padding_rightvoid fo_instream_foreign_object_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_instream_foreign_object_get_padding_start () fo_instream_foreign_object_get_padding_startFoProperty* fo_instream_foreign_object_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_instream_foreign_object_set_padding_start () fo_instream_foreign_object_set_padding_startvoid fo_instream_foreign_object_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_instream_foreign_object_get_padding_top () fo_instream_foreign_object_get_padding_topFoProperty* fo_instream_foreign_object_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_instream_foreign_object_set_padding_top () fo_instream_foreign_object_set_padding_topvoid fo_instream_foreign_object_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_instream_foreign_object_get_role () fo_instream_foreign_object_get_roleFoProperty* fo_instream_foreign_object_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_instream_foreign_object_set_role () fo_instream_foreign_object_set_rolevoid fo_instream_foreign_object_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_instream_foreign_object_get_scaling () fo_instream_foreign_object_get_scalingFoProperty* fo_instream_foreign_object_get_scaling (FoFo *fo_fo); Gets the "scaling" property of fo_fo fo_fo : The FoFo object Returns : The "scaling" property value fo_instream_foreign_object_set_scaling () fo_instream_foreign_object_set_scalingvoid fo_instream_foreign_object_set_scaling (FoFo *fo_fo, FoProperty *new_scaling); Sets the "scaling" property of fo_fo to new_scaling fo_fo : The FoFo object new_scaling : The new "scaling" property value fo_instream_foreign_object_get_scaling_method () fo_instream_foreign_object_get_scaling_methodFoProperty* fo_instream_foreign_object_get_scaling_method (FoFo *fo_fo); Gets the "scaling-method" property of fo_fo fo_fo : The FoFo object Returns : The "scaling-method" property value fo_instream_foreign_object_set_scaling_method () fo_instream_foreign_object_set_scaling_methodvoid fo_instream_foreign_object_set_scaling_method (FoFo *fo_fo, FoProperty *new_scaling_method); Sets the "scaling-method" property of fo_fo to new_scaling_method fo_fo : The FoFo object new_scaling_method : The new "scaling-method" property value fo_instream_foreign_object_get_source_document () fo_instream_foreign_object_get_source_documentFoProperty* fo_instream_foreign_object_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_instream_foreign_object_set_source_document () fo_instream_foreign_object_set_source_documentvoid fo_instream_foreign_object_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_instream_foreign_object_get_space_end () fo_instream_foreign_object_get_space_endFoProperty* fo_instream_foreign_object_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo fo_fo : The FoFo object Returns : The "space-end" property value fo_instream_foreign_object_set_space_end () fo_instream_foreign_object_set_space_endvoid fo_instream_foreign_object_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end fo_fo : The FoFo object new_space_end : The new "space-end" property value fo_instream_foreign_object_get_space_start () fo_instream_foreign_object_get_space_startFoProperty* fo_instream_foreign_object_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo fo_fo : The FoFo object Returns : The "space-start" property value fo_instream_foreign_object_set_space_start () fo_instream_foreign_object_set_space_startvoid fo_instream_foreign_object_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start fo_fo : The FoFo object new_space_start : The new "space-start" property value fo_instream_foreign_object_get_text_align () fo_instream_foreign_object_get_text_alignFoProperty* fo_instream_foreign_object_get_text_align (FoFo *fo_fo); Gets the "text-align" property of fo_fo fo_fo : The FoFo object Returns : The "text-align" property value fo_instream_foreign_object_set_text_align () fo_instream_foreign_object_set_text_alignvoid fo_instream_foreign_object_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); Sets the "text-align" property of fo_fo to new_text_align fo_fo : The FoFo object new_text_align : The new "text-align" property value fo_instream_foreign_object_get_width () fo_instream_foreign_object_get_widthFoProperty* fo_instream_foreign_object_get_width (FoFo *fo_fo); Gets the "width" property of fo_fo fo_fo : The FoFo object Returns : The "width" property value fo_instream_foreign_object_set_width () fo_instream_foreign_object_set_widthvoid fo_instream_foreign_object_set_width (FoFo *fo_fo, FoProperty *new_width); Sets the "width" property of fo_fo to new_width fo_fo : The FoFo object new_width : The new "width" property value Property Details The <literal>"alignment-adjust"</literal> property FoInstreamForeignObject:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoInstreamForeignObject:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoInstreamForeignObject:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoInstreamForeignObject:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"baseline-shift"</literal> property FoInstreamForeignObject:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"block-progression-dimension"</literal> property FoInstreamForeignObject:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"border-after-color"</literal> property FoInstreamForeignObject:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoInstreamForeignObject:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoInstreamForeignObject:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoInstreamForeignObject:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoInstreamForeignObject:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoInstreamForeignObject:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoInstreamForeignObject:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoInstreamForeignObject:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoInstreamForeignObject:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoInstreamForeignObject:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoInstreamForeignObject:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoInstreamForeignObject:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoInstreamForeignObject:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoInstreamForeignObject:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoInstreamForeignObject:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoInstreamForeignObject:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoInstreamForeignObject:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoInstreamForeignObject:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoInstreamForeignObject:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoInstreamForeignObject:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoInstreamForeignObject:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoInstreamForeignObject:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoInstreamForeignObject:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoInstreamForeignObject:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"clip"</literal> property FoInstreamForeignObject:clip "clip" FoProperty* : Read Clip property. The <literal>"content-height"</literal> property FoInstreamForeignObject:content-height "content-height" FoProperty* : Read Content Height property. The <literal>"content-type"</literal> property FoInstreamForeignObject:content-type "content-type" FoProperty* : Read Content Type property. The <literal>"content-width"</literal> property FoInstreamForeignObject:content-width "content-width" FoProperty* : Read Content Width property. The <literal>"display-align"</literal> property FoInstreamForeignObject:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"dominant-baseline"</literal> property FoInstreamForeignObject:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"height"</literal> property FoInstreamForeignObject:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoInstreamForeignObject:id "id" FoProperty* : Read Id property. The <literal>"inline-progression-dimension"</literal> property FoInstreamForeignObject:inline-progression-dimension "inline-progression-dimension" FoProperty* : Read Inline Progression Dimension property. The <literal>"keep-with-next"</literal> property FoInstreamForeignObject:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoInstreamForeignObject:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoInstreamForeignObject:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoInstreamForeignObject:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoInstreamForeignObject:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoInstreamForeignObject:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoInstreamForeignObject:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoInstreamForeignObject:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoInstreamForeignObject:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"overflow"</literal> property FoInstreamForeignObject:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding-after"</literal> property FoInstreamForeignObject:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoInstreamForeignObject:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoInstreamForeignObject:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoInstreamForeignObject:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoInstreamForeignObject:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoInstreamForeignObject:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoInstreamForeignObject:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoInstreamForeignObject:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoInstreamForeignObject:role "role" FoProperty* : Read Role property. The <literal>"scaling"</literal> property FoInstreamForeignObject:scaling "scaling" FoProperty* : Read Scaling property. The <literal>"scaling-method"</literal> property FoInstreamForeignObject:scaling-method "scaling-method" FoProperty* : Read Scaling Method property. The <literal>"source-document"</literal> property FoInstreamForeignObject:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-end"</literal> property FoInstreamForeignObject:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoInstreamForeignObject:space-start "space-start" FoProperty* : Read Space Start property. The <literal>"text-align"</literal> property FoInstreamForeignObject:text-align "text-align" FoProperty* : Read Text Align property. The <literal>"width"</literal> property FoInstreamForeignObject:width "width" FoProperty* : Read Width property. xmlroff-0.6.2/docs/xml/fo-integer.xml0000644000175000017500000002676211156164732014451 00000000000000 FoInteger 3 XMLROFF Library FoInteger Synopsis FoInteger; FoIntegerClass; FoDatatype* fo_integer_new_with_value (gint value); gint fo_integer_get_value (FoDatatype *integer); FoDatatype* fo_integer_get_integer_zero (void); FoDatatype* fo_integer_get_integer_one (void); FoDatatype* fo_integer_get_integer_two (void); FoDatatype* fo_integer_get_integer_three (void); FoDatatype* fo_integer_get_integer_four (void); FoDatatype* fo_integer_get_integer_five (void); FoDatatype* fo_integer_get_integer_six (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoInteger Properties "value" gint : Read / Write / Construct Only Description Details FoInteger FoIntegertypedef struct _FoInteger FoInteger; FoIntegerClass FoIntegerClasstypedef struct _FoIntegerClass FoIntegerClass; fo_integer_new_with_value () fo_integer_new_with_valueFoDatatype* fo_integer_new_with_value (gint value); Creates a new FoInteger set to value. value : Value of the new FoInteger. Returns : The new FoInteger. fo_integer_get_value () fo_integer_get_valuegint fo_integer_get_value (FoDatatype *integer); Get the value of integer. integer : FoInteger. Returns : Numeric value of integer. fo_integer_get_integer_zero () fo_integer_get_integer_zeroFoDatatype* fo_integer_get_integer_zero (void); Create and return an FoInteger with the well-known value 0. This saves creation of multiple FoInteger objects that all have the value 0. Returns : FoInteger with value 0. fo_integer_get_integer_one () fo_integer_get_integer_oneFoDatatype* fo_integer_get_integer_one (void); Create and return an FoInteger with the well-known value 1. This saves creation of multiple FoInteger objects that all have the value 1. Returns : FoInteger with value 1. fo_integer_get_integer_two () fo_integer_get_integer_twoFoDatatype* fo_integer_get_integer_two (void); Create and return an FoInteger with the well-known value 2. This saves creation of multiple FoInteger objects that all have the value 2. Returns : FoInteger with value 2. fo_integer_get_integer_three () fo_integer_get_integer_threeFoDatatype* fo_integer_get_integer_three (void); Create and return an FoInteger with the well-known value 3. This saves creation of multiple FoInteger objects that all have the value 3. Returns : FoInteger with value 3. fo_integer_get_integer_four () fo_integer_get_integer_fourFoDatatype* fo_integer_get_integer_four (void); Create and return an FoInteger with the well-known value 4. This saves creation of multiple FoInteger objects that all have the value 4. Returns : FoInteger with value 4. fo_integer_get_integer_five () fo_integer_get_integer_fiveFoDatatype* fo_integer_get_integer_five (void); Create and return an FoInteger with the well-known value 5. This saves creation of multiple FoInteger objects that all have the value 5. Returns : FoInteger with value 5. fo_integer_get_integer_six () fo_integer_get_integer_sixFoDatatype* fo_integer_get_integer_six (void); Create and return an FoInteger with the well-known value 6. This saves creation of multiple FoInteger objects that all have the value 6. Returns : FoInteger with value 6. Property Details The <literal>"value"</literal> property FoInteger:value "value" gint : Read / Write / Construct Only Integer value.Default value: 0 xmlroff-0.6.2/docs/xml/fo-keep.xml0000644000175000017500000003714211156164732013732 00000000000000 FoKeep 3 XMLROFF Library FoKeep Synopsis #define FO_KEEP (object) FoKeep; FoKeepClass; GType fo_keep_get_type (void); FoDatatype* fo_keep_new (void); FoDatatype* fo_keep_new_with_value (FoDatatype *value); FoDatatype* fo_keep_get_keep_auto (void); FoDatatype* fo_keep_get_keep_always (void); FoDatatype* fo_keep_get_within_line (FoDatatype *datatype); FoDatatype* fo_keep_get_within_column (FoDatatype *datatype); FoDatatype* fo_keep_get_within_page (FoDatatype *datatype); FoDatatype* fo_keep_resolve (FoDatatype *shortform, FoDatatype *within_line, FoDatatype *within_column, FoDatatype *within_page, GError **error); FoDatatype* fo_keep_get_enum_auto (void); FoDatatype* fo_keep_get_enum_always (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoKeep Properties "within-column" FoDatatype* : Read / Write / Construct Only "within-line" FoDatatype* : Read / Write / Construct Only "within-page" FoDatatype* : Read / Write / Construct Only Description Details FO_KEEP() FO_KEEP#define FO_KEEP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_KEEP, FoKeep)) object : FoKeep FoKeeptypedef struct _FoKeep FoKeep; FoKeepClass FoKeepClasstypedef struct _FoKeepClass FoKeepClass; fo_keep_get_type () fo_keep_get_typeGType fo_keep_get_type (void); Register the FoKeep object type. Returns : GType value of the FoKeep object type. fo_keep_new () fo_keep_newFoDatatype* fo_keep_new (void); Creates a new FoKeep initialized to default value. Returns : the new FoKeep fo_keep_new_with_value () fo_keep_new_with_valueFoDatatype* fo_keep_new_with_value (FoDatatype *value); Creates a new FoKeep set to value value : Keep of the new FoKeep Returns : The new FoKeep fo_keep_get_keep_auto () fo_keep_get_keep_autoFoDatatype* fo_keep_get_keep_auto (void); Creates a new FoKeep set to .within-line="auto", .within-column="auto", and .within-page="auto". Returns : The new FoKeep fo_keep_get_keep_always () fo_keep_get_keep_alwaysFoDatatype* fo_keep_get_keep_always (void); Creates a new FoKeep set to .within-line="always", .within-column="always", and .within-page="always". Returns : The new FoKeep fo_keep_get_within_line () fo_keep_get_within_lineFoDatatype* fo_keep_get_within_line (FoDatatype *datatype); Gets the .within-line component value of datatype datatype : FoKeep Returns : The .within-line value of datatype fo_keep_get_within_column () fo_keep_get_within_columnFoDatatype* fo_keep_get_within_column (FoDatatype *datatype); Gets the .within-column component value of datatype datatype : FoKeep Returns : The .within-column value of datatype fo_keep_get_within_page () fo_keep_get_within_pageFoDatatype* fo_keep_get_within_page (FoDatatype *datatype); Gets the .within-page component value of datatype datatype : FoKeep Returns : The .within-page value of datatype fo_keep_resolve () fo_keep_resolveFoDatatype* fo_keep_resolve (FoDatatype *shortform, FoDatatype *within_line, FoDatatype *within_column, FoDatatype *within_page, GError **error); Resolve the shortform and components of the keep in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation. Does not change the ref-count of any FoDatatype arguments. shortform : Single-value short form of the keep, or NULL within_line : .within-line component of the keep, or NULL within_column : .within-column component of the keep, or NULL within_page : .within-page component of the keep, or NULL error : GError used for reporting errors Returns : Compound keep datatype, or NULL if an error occurred fo_keep_get_enum_auto () fo_keep_get_enum_autoFoDatatype* fo_keep_get_enum_auto (void); Returns : fo_keep_get_enum_always () fo_keep_get_enum_alwaysFoDatatype* fo_keep_get_enum_always (void); Returns : Property Details The <literal>"within-column"</literal> property FoKeep:within-column "within-column" FoDatatype* : Read / Write / Construct Only Keep within column value. The <literal>"within-line"</literal> property FoKeep:within-line "within-line" FoDatatype* : Read / Write / Construct Only Keep within line value. The <literal>"within-page"</literal> property FoKeep:within-page "within-page" FoDatatype* : Read / Write / Construct Only Keep within page value. xmlroff-0.6.2/docs/xml/fo-layout-cairo.xml0000644000175000017500000000661211156164732015414 00000000000000 FoLayoutCairo 3 XMLROFF Library FoLayoutCairo Synopsis FoLayoutCairo; FoLayoutCairoClass; FoLayout* fo_layout_cairo_new (void); FoLayout* fo_layout_cairo_new_from_fo_doc (FoDoc *fo_doc); Description Details FoLayoutCairo FoLayoutCairotypedef struct { FoLayout parent_instance; } FoLayoutCairo; FoLayoutCairoClass FoLayoutCairoClasstypedef struct { FoLayoutClass parent_class; } FoLayoutCairoClass; fo_layout_cairo_new () fo_layout_cairo_newFoLayout* fo_layout_cairo_new (void); Creates a new FoLayoutCairo. Returns : the newly created FoLayoutCairo. fo_layout_cairo_new_from_fo_doc () fo_layout_cairo_new_from_fo_docFoLayout* fo_layout_cairo_new_from_fo_doc (FoDoc *fo_doc); Creates a new FoLayoutCairo. fo_doc : FoDoc. Returns : the newly created FoLayoutCairo. xmlroff-0.6.2/docs/xml/fo-layout-gp.xml0000644000175000017500000000637011156164732014726 00000000000000 fo-layout-gp 3 XMLROFF Library fo-layout-gp Synopsis FoLayoutGP; FoLayoutGPClass; FoLayout* fo_layout_gp_new (void); FoLayout* fo_layout_gp_new_from_fo_doc (FoDoc *fo_doc); Description Details FoLayoutGP FoLayoutGPtypedef struct _FoLayoutGP FoLayoutGP; FoLayoutGPClass FoLayoutGPClasstypedef struct _FoLayoutGPClass FoLayoutGPClass; fo_layout_gp_new () fo_layout_gp_newFoLayout* fo_layout_gp_new (void); Creates a new FoLayoutGP. Returns : the newly created FoLayoutGP. fo_layout_gp_new_from_fo_doc () fo_layout_gp_new_from_fo_docFoLayout* fo_layout_gp_new_from_fo_doc (FoDoc *fo_doc); Creates a new FoLayoutGP. fo_doc : FoDoc. Returns : the newly created FoLayoutGP. xmlroff-0.6.2/docs/xml/fo-layout-master-set.xml0000644000175000017500000000555711156164732016412 00000000000000 layout-master-set 3 XMLROFF Library layout-master-set Synopsis FoLayoutMasterSet; FoLayoutMasterSetClass; FoFo* fo_layout_master_set_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoLayoutMasterSet Description Details FoLayoutMasterSet FoLayoutMasterSettypedef struct _FoLayoutMasterSet FoLayoutMasterSet; FoLayoutMasterSetClass FoLayoutMasterSetClasstypedef struct _FoLayoutMasterSetClass FoLayoutMasterSetClass; fo_layout_master_set_new () fo_layout_master_set_newFoFo* fo_layout_master_set_new (void); Creates a new FoLayoutMasterSet initialized to default value. Returns : the new FoLayoutMasterSet. xmlroff-0.6.2/docs/xml/fo-layout.xml0000644000175000017500000005367311156164732014332 00000000000000 FoLayout 3 XMLROFF Library FoLayout Synopsis FoLayout; FoLayoutClass; #define FO_LAYOUT_ERROR GQuark fo_layout_error_quark (void); enum FoLayoutError; FoRectangle; FoLayout* fo_layout_new (void); FoLayout* fo_layout_new_from_fo_doc (FoDoc *fo_doc); FoLayout* fo_layout_copy (FoLayout *src); void fo_layout_set_attributes (FoLayout *fo_layout, GList *attr_glist); void fo_layout_set_text (FoLayout *fo_layout, GString *text); void fo_layout_set_width (FoLayout *fo_layout, gfloat width); void fo_layout_set_font_desc (FoLayout *fo_layout, const FoFontDesc *desc); void fo_layout_set_alignment (FoLayout *fo_layout, FoEnumAreaDirection alignment); void fo_layout_set_indent (FoLayout *fo_layout, gfloat indent); void fo_layout_set_justify (FoLayout *fo_layout, gboolean justify); gint fo_layout_get_line_count (FoLayout *fo_layout); void fo_layout_get_extents (FoLayout *fo_layout, FoRectangle *logical_rect); void fo_layout_get_line_extents (FoLayout *fo_layout, gint line_index, FoRectangle *logical_rect); void fo_layout_set_line_height (FoLayout *fo_layout, gfloat line_height); void fo_layout_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy); Description Details FoLayout FoLayouttypedef struct _FoLayout FoLayout; FoLayoutClass FoLayoutClasstypedef struct _FoLayoutClass FoLayoutClass; FO_LAYOUT_ERROR FO_LAYOUT_ERROR#define FO_LAYOUT_ERROR fo_layout_error_quark () fo_layout_error_quark () fo_layout_error_quarkGQuark fo_layout_error_quark (void); Get the error quark for FoLayout. If the quark does not yet exist, create it. Returns : GQuark associated with FoLayout errors. enum FoLayoutError FoLayoutErrortypedef enum { FO_LAYOUT_ERROR_FAILED } FoLayoutError; FoRectangle FoRectangletypedef struct { int x; int y; int width; int height; } FoRectangle; fo_layout_new () fo_layout_newFoLayout* fo_layout_new (void); Creates a new FoLayout. Returns : the newly created FoLayout. fo_layout_new_from_fo_doc () fo_layout_new_from_fo_docFoLayout* fo_layout_new_from_fo_doc (FoDoc *fo_doc); Creates a new FoLayout. fo_doc : FoDoc. Returns : the newly created FoLayout. fo_layout_copy () fo_layout_copyFoLayout* fo_layout_copy (FoLayout *src); src : Returns : fo_layout_set_attributes () fo_layout_set_attributesvoid fo_layout_set_attributes (FoLayout *fo_layout, GList *attr_glist); Sets the attributes of fo_layout to attr_glist. fo_layout : FoLayout for which to set attributes. attr_glist : Attributes to apply to fo_layout. fo_layout_set_text () fo_layout_set_textvoid fo_layout_set_text (FoLayout *fo_layout, GString *text); Sets the text of fo_layout to text. fo_layout : FoLayout for which to set text. text : New text of fo_layout. fo_layout_set_width () fo_layout_set_widthvoid fo_layout_set_width (FoLayout *fo_layout, gfloat width); Sets the width of fo_layout to width. fo_layout : FoLayout for which to set width. width : New width, in points, of fo_layout. fo_layout_set_font_desc () fo_layout_set_font_descvoid fo_layout_set_font_desc (FoLayout *fo_layout, const FoFontDesc *desc); Sets the FoFontDesc of fo_layout to desc. fo_layout : FoLayout for which to set font desc. desc : New FoFontDesc of fo_layout. fo_layout_set_alignment () fo_layout_set_alignmentvoid fo_layout_set_alignment (FoLayout *fo_layout, FoEnumAreaDirection alignment); Sets the alignment of fo_layout. fo_layout : FoLayout to have alignment set. alignment : FoEnumAreaDirection value indicating new alignment. fo_layout_set_indent () fo_layout_set_indentvoid fo_layout_set_indent (FoLayout *fo_layout, gfloat indent); Sets the indent of fo_layout to indent. fo_layout : FoLayout for which to set indent. indent : New indent, in points, of fo_layout. fo_layout_set_justify () fo_layout_set_justifyvoid fo_layout_set_justify (FoLayout *fo_layout, gboolean justify); Sets whether or not to justify fo_layout. fo_layout : FoLayout for which to set justify. justify : Sets whether or not to justify fo_layout. fo_layout_get_line_count () fo_layout_get_line_countgint fo_layout_get_line_count (FoLayout *fo_layout); Gets the number of lines in fo_layout. fo_layout : FoLayout for which to get line count. Returns : Number of lines in fo_layout. fo_layout_get_extents () fo_layout_get_extentsvoid fo_layout_get_extents (FoLayout *fo_layout, FoRectangle *logical_rect); Gets the extents of fo_layout and puts them in logical_rect. fo_layout : FoLayout for which to get extents logical_rect : FoRectangle to hold extents fo_layout_get_line_extents () fo_layout_get_line_extentsvoid fo_layout_get_line_extents (FoLayout *fo_layout, gint line_index, FoRectangle *logical_rect); Puts the extents of the line of fo_layout given by line_index in logical_rect. The first line has line_index value of 0. fo_layout : FoLayout for which to get line extents. line_index : Number of line for which to get extents. logical_rect : Holds result. fo_layout_set_line_height () fo_layout_set_line_heightvoid fo_layout_set_line_height (FoLayout *fo_layout, gfloat line_height); Set the 'line-height' of fo_layout to line_height. fo_layout : FoLayout. line_height : 'line-height' in points. fo_layout_set_line_stacking_strategy () fo_layout_set_line_stacking_strategyvoid fo_layout_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy); Set the 'line-stacking-strategy' property of fo_layout to line_stacking_strategy. fo_layout : FoLayout. line_stacking_strategy : Line stacking strategy to use. xmlroff-0.6.2/docs/xml/fo-leader.xml0000644000175000017500000053745511156164732014256 00000000000000 leader 3 XMLROFF Library leader Synopsis FoLeader; FoLeaderClass; FoFo* fo_leader_new (void); FoProperty* fo_leader_get_alignment_adjust (FoFo *fo_fo); void fo_leader_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_leader_get_alignment_baseline (FoFo *fo_fo); void fo_leader_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty* fo_leader_get_background_color (FoFo *fo_fo); void fo_leader_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_leader_get_background_image (FoFo *fo_fo); void fo_leader_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_leader_get_baseline_shift (FoFo *fo_fo); void fo_leader_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_leader_get_border_after_color (FoFo *fo_fo); void fo_leader_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_leader_get_border_after_style (FoFo *fo_fo); void fo_leader_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_leader_get_border_after_width (FoFo *fo_fo); void fo_leader_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_leader_get_border_before_color (FoFo *fo_fo); void fo_leader_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_leader_get_border_before_style (FoFo *fo_fo); void fo_leader_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_leader_get_border_before_width (FoFo *fo_fo); void fo_leader_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_leader_get_border_bottom_color (FoFo *fo_fo); void fo_leader_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_leader_get_border_bottom_style (FoFo *fo_fo); void fo_leader_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_leader_get_border_bottom_width (FoFo *fo_fo); void fo_leader_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_leader_get_border_end_color (FoFo *fo_fo); void fo_leader_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_leader_get_border_end_style (FoFo *fo_fo); void fo_leader_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_leader_get_border_end_width (FoFo *fo_fo); void fo_leader_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_leader_get_border_left_color (FoFo *fo_fo); void fo_leader_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_leader_get_border_left_style (FoFo *fo_fo); void fo_leader_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_leader_get_border_left_width (FoFo *fo_fo); void fo_leader_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_leader_get_border_right_color (FoFo *fo_fo); void fo_leader_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_leader_get_border_right_style (FoFo *fo_fo); void fo_leader_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_leader_get_border_right_width (FoFo *fo_fo); void fo_leader_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_leader_get_border_start_color (FoFo *fo_fo); void fo_leader_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_leader_get_border_start_style (FoFo *fo_fo); void fo_leader_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_leader_get_border_start_width (FoFo *fo_fo); void fo_leader_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_leader_get_border_top_color (FoFo *fo_fo); void fo_leader_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_leader_get_border_top_style (FoFo *fo_fo); void fo_leader_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_leader_get_border_top_width (FoFo *fo_fo); void fo_leader_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_leader_get_color (FoFo *fo_fo); void fo_leader_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_leader_get_dominant_baseline (FoFo *fo_fo); void fo_leader_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_leader_get_font_family (FoFo *fo_fo); void fo_leader_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_leader_get_font_size (FoFo *fo_fo); void fo_leader_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_leader_get_font_stretch (FoFo *fo_fo); void fo_leader_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_leader_get_font_style (FoFo *fo_fo); void fo_leader_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_leader_get_font_variant (FoFo *fo_fo); void fo_leader_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_leader_get_font_weight (FoFo *fo_fo); void fo_leader_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_leader_get_id (FoFo *fo_fo); void fo_leader_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_leader_get_keep_with_next (FoFo *fo_fo); void fo_leader_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_leader_get_keep_with_next_within_column (FoFo *fo_fo); void fo_leader_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_leader_get_keep_with_next_within_line (FoFo *fo_fo); void fo_leader_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_leader_get_keep_with_next_within_page (FoFo *fo_fo); void fo_leader_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_leader_get_keep_with_previous (FoFo *fo_fo); void fo_leader_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_leader_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_leader_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_leader_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_leader_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_leader_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_leader_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_leader_get_line_height (FoFo *fo_fo); void fo_leader_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_leader_get_padding_after (FoFo *fo_fo); void fo_leader_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_leader_get_padding_before (FoFo *fo_fo); void fo_leader_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_leader_get_padding_bottom (FoFo *fo_fo); void fo_leader_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_leader_get_padding_end (FoFo *fo_fo); void fo_leader_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_leader_get_padding_left (FoFo *fo_fo); void fo_leader_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_leader_get_padding_right (FoFo *fo_fo); void fo_leader_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_leader_get_padding_start (FoFo *fo_fo); void fo_leader_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_leader_get_padding_top (FoFo *fo_fo); void fo_leader_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_leader_get_role (FoFo *fo_fo); void fo_leader_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_leader_get_source_document (FoFo *fo_fo); void fo_leader_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_leader_get_space_end (FoFo *fo_fo); void fo_leader_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_leader_get_space_start (FoFo *fo_fo); void fo_leader_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoLeader Implemented Interfaces FoLeader implements FoInlineFoIface. Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "baseline-shift" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "color" FoProperty* : Read "dominant-baseline" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "id" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read Description Details FoLeader FoLeadertypedef struct _FoLeader FoLeader; FoLeaderClass FoLeaderClasstypedef struct _FoLeaderClass FoLeaderClass; fo_leader_new () fo_leader_newFoFo* fo_leader_new (void); Creates a new FoLeader initialized to default value. Returns : the new FoLeader. fo_leader_get_alignment_adjust () fo_leader_get_alignment_adjustFoProperty* fo_leader_get_alignment_adjust (FoFo *fo_fo); Gets the "alignment-adjust" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-adjust" property value fo_leader_set_alignment_adjust () fo_leader_set_alignment_adjustvoid fo_leader_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust fo_fo : The FoFo object new_alignment_adjust : The new "alignment-adjust" property value fo_leader_get_alignment_baseline () fo_leader_get_alignment_baselineFoProperty* fo_leader_get_alignment_baseline (FoFo *fo_fo); Gets the "alignment-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-baseline" property value fo_leader_set_alignment_baseline () fo_leader_set_alignment_baselinevoid fo_leader_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline fo_fo : The FoFo object new_alignment_baseline : The new "alignment-baseline" property value fo_leader_get_background_color () fo_leader_get_background_colorFoProperty* fo_leader_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_leader_set_background_color () fo_leader_set_background_colorvoid fo_leader_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_leader_get_background_image () fo_leader_get_background_imageFoProperty* fo_leader_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_leader_set_background_image () fo_leader_set_background_imagevoid fo_leader_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_leader_get_baseline_shift () fo_leader_get_baseline_shiftFoProperty* fo_leader_get_baseline_shift (FoFo *fo_fo); Gets the "baseline-shift" property of fo_fo fo_fo : The FoFo object Returns : The "baseline-shift" property value fo_leader_set_baseline_shift () fo_leader_set_baseline_shiftvoid fo_leader_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_fo to new_baseline_shift fo_fo : The FoFo object new_baseline_shift : The new "baseline-shift" property value fo_leader_get_border_after_color () fo_leader_get_border_after_colorFoProperty* fo_leader_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_leader_set_border_after_color () fo_leader_set_border_after_colorvoid fo_leader_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_leader_get_border_after_style () fo_leader_get_border_after_styleFoProperty* fo_leader_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_leader_set_border_after_style () fo_leader_set_border_after_stylevoid fo_leader_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_leader_get_border_after_width () fo_leader_get_border_after_widthFoProperty* fo_leader_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_leader_set_border_after_width () fo_leader_set_border_after_widthvoid fo_leader_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_leader_get_border_before_color () fo_leader_get_border_before_colorFoProperty* fo_leader_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_leader_set_border_before_color () fo_leader_set_border_before_colorvoid fo_leader_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_leader_get_border_before_style () fo_leader_get_border_before_styleFoProperty* fo_leader_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_leader_set_border_before_style () fo_leader_set_border_before_stylevoid fo_leader_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_leader_get_border_before_width () fo_leader_get_border_before_widthFoProperty* fo_leader_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_leader_set_border_before_width () fo_leader_set_border_before_widthvoid fo_leader_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_leader_get_border_bottom_color () fo_leader_get_border_bottom_colorFoProperty* fo_leader_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_leader_set_border_bottom_color () fo_leader_set_border_bottom_colorvoid fo_leader_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_leader_get_border_bottom_style () fo_leader_get_border_bottom_styleFoProperty* fo_leader_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_leader_set_border_bottom_style () fo_leader_set_border_bottom_stylevoid fo_leader_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_leader_get_border_bottom_width () fo_leader_get_border_bottom_widthFoProperty* fo_leader_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_leader_set_border_bottom_width () fo_leader_set_border_bottom_widthvoid fo_leader_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_leader_get_border_end_color () fo_leader_get_border_end_colorFoProperty* fo_leader_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_leader_set_border_end_color () fo_leader_set_border_end_colorvoid fo_leader_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_leader_get_border_end_style () fo_leader_get_border_end_styleFoProperty* fo_leader_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_leader_set_border_end_style () fo_leader_set_border_end_stylevoid fo_leader_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_leader_get_border_end_width () fo_leader_get_border_end_widthFoProperty* fo_leader_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_leader_set_border_end_width () fo_leader_set_border_end_widthvoid fo_leader_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_leader_get_border_left_color () fo_leader_get_border_left_colorFoProperty* fo_leader_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_leader_set_border_left_color () fo_leader_set_border_left_colorvoid fo_leader_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_leader_get_border_left_style () fo_leader_get_border_left_styleFoProperty* fo_leader_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_leader_set_border_left_style () fo_leader_set_border_left_stylevoid fo_leader_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_leader_get_border_left_width () fo_leader_get_border_left_widthFoProperty* fo_leader_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_leader_set_border_left_width () fo_leader_set_border_left_widthvoid fo_leader_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_leader_get_border_right_color () fo_leader_get_border_right_colorFoProperty* fo_leader_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_leader_set_border_right_color () fo_leader_set_border_right_colorvoid fo_leader_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_leader_get_border_right_style () fo_leader_get_border_right_styleFoProperty* fo_leader_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_leader_set_border_right_style () fo_leader_set_border_right_stylevoid fo_leader_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_leader_get_border_right_width () fo_leader_get_border_right_widthFoProperty* fo_leader_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_leader_set_border_right_width () fo_leader_set_border_right_widthvoid fo_leader_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_leader_get_border_start_color () fo_leader_get_border_start_colorFoProperty* fo_leader_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_leader_set_border_start_color () fo_leader_set_border_start_colorvoid fo_leader_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_leader_get_border_start_style () fo_leader_get_border_start_styleFoProperty* fo_leader_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_leader_set_border_start_style () fo_leader_set_border_start_stylevoid fo_leader_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_leader_get_border_start_width () fo_leader_get_border_start_widthFoProperty* fo_leader_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_leader_set_border_start_width () fo_leader_set_border_start_widthvoid fo_leader_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_leader_get_border_top_color () fo_leader_get_border_top_colorFoProperty* fo_leader_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_leader_set_border_top_color () fo_leader_set_border_top_colorvoid fo_leader_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_leader_get_border_top_style () fo_leader_get_border_top_styleFoProperty* fo_leader_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_leader_set_border_top_style () fo_leader_set_border_top_stylevoid fo_leader_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_leader_get_border_top_width () fo_leader_get_border_top_widthFoProperty* fo_leader_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_leader_set_border_top_width () fo_leader_set_border_top_widthvoid fo_leader_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_leader_get_color () fo_leader_get_colorFoProperty* fo_leader_get_color (FoFo *fo_fo); Gets the "color" property of fo_fo fo_fo : The FoFo object Returns : The "color" property value fo_leader_set_color () fo_leader_set_colorvoid fo_leader_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the "color" property of fo_fo to new_color fo_fo : The FoFo object new_color : The new "color" property value fo_leader_get_dominant_baseline () fo_leader_get_dominant_baselineFoProperty* fo_leader_get_dominant_baseline (FoFo *fo_fo); Gets the "dominant-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "dominant-baseline" property value fo_leader_set_dominant_baseline () fo_leader_set_dominant_baselinevoid fo_leader_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline fo_fo : The FoFo object new_dominant_baseline : The new "dominant-baseline" property value fo_leader_get_font_family () fo_leader_get_font_familyFoProperty* fo_leader_get_font_family (FoFo *fo_fo); Gets the "font-family" property of fo_fo fo_fo : The FoFo object Returns : The "font-family" property value fo_leader_set_font_family () fo_leader_set_font_familyvoid fo_leader_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the "font-family" property of fo_fo to new_font_family fo_fo : The FoFo object new_font_family : The new "font-family" property value fo_leader_get_font_size () fo_leader_get_font_sizeFoProperty* fo_leader_get_font_size (FoFo *fo_fo); Gets the "font-size" property of fo_fo fo_fo : The FoFo object Returns : The "font-size" property value fo_leader_set_font_size () fo_leader_set_font_sizevoid fo_leader_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the "font-size" property of fo_fo to new_font_size fo_fo : The FoFo object new_font_size : The new "font-size" property value fo_leader_get_font_stretch () fo_leader_get_font_stretchFoProperty* fo_leader_get_font_stretch (FoFo *fo_fo); Gets the "font-stretch" property of fo_fo fo_fo : The FoFo object Returns : The "font-stretch" property value fo_leader_set_font_stretch () fo_leader_set_font_stretchvoid fo_leader_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_fo to new_font_stretch fo_fo : The FoFo object new_font_stretch : The new "font-stretch" property value fo_leader_get_font_style () fo_leader_get_font_styleFoProperty* fo_leader_get_font_style (FoFo *fo_fo); Gets the "font-style" property of fo_fo fo_fo : The FoFo object Returns : The "font-style" property value fo_leader_set_font_style () fo_leader_set_font_stylevoid fo_leader_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the "font-style" property of fo_fo to new_font_style fo_fo : The FoFo object new_font_style : The new "font-style" property value fo_leader_get_font_variant () fo_leader_get_font_variantFoProperty* fo_leader_get_font_variant (FoFo *fo_fo); Gets the "font-variant" property of fo_fo fo_fo : The FoFo object Returns : The "font-variant" property value fo_leader_set_font_variant () fo_leader_set_font_variantvoid fo_leader_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the "font-variant" property of fo_fo to new_font_variant fo_fo : The FoFo object new_font_variant : The new "font-variant" property value fo_leader_get_font_weight () fo_leader_get_font_weightFoProperty* fo_leader_get_font_weight (FoFo *fo_fo); Gets the "font-weight" property of fo_fo fo_fo : The FoFo object Returns : The "font-weight" property value fo_leader_set_font_weight () fo_leader_set_font_weightvoid fo_leader_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the "font-weight" property of fo_fo to new_font_weight fo_fo : The FoFo object new_font_weight : The new "font-weight" property value fo_leader_get_id () fo_leader_get_idFoProperty* fo_leader_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_leader_set_id () fo_leader_set_idvoid fo_leader_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_leader_get_keep_with_next () fo_leader_get_keep_with_nextFoProperty* fo_leader_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_leader_set_keep_with_next () fo_leader_set_keep_with_nextvoid fo_leader_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_leader_get_keep_with_next_within_column () fo_leader_get_keep_with_next_within_columnFoProperty* fo_leader_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_leader_set_keep_with_next_within_column () fo_leader_set_keep_with_next_within_columnvoid fo_leader_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_leader_get_keep_with_next_within_line () fo_leader_get_keep_with_next_within_lineFoProperty* fo_leader_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_leader_set_keep_with_next_within_line () fo_leader_set_keep_with_next_within_linevoid fo_leader_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_leader_get_keep_with_next_within_page () fo_leader_get_keep_with_next_within_pageFoProperty* fo_leader_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_leader_set_keep_with_next_within_page () fo_leader_set_keep_with_next_within_pagevoid fo_leader_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_leader_get_keep_with_previous () fo_leader_get_keep_with_previousFoProperty* fo_leader_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_leader_set_keep_with_previous () fo_leader_set_keep_with_previousvoid fo_leader_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_leader_get_keep_with_previous_within_column () fo_leader_get_keep_with_previous_within_columnFoProperty* fo_leader_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_leader_set_keep_with_previous_within_column () fo_leader_set_keep_with_previous_within_columnvoid fo_leader_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_leader_get_keep_with_previous_within_line () fo_leader_get_keep_with_previous_within_lineFoProperty* fo_leader_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_leader_set_keep_with_previous_within_line () fo_leader_set_keep_with_previous_within_linevoid fo_leader_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_leader_get_keep_with_previous_within_page () fo_leader_get_keep_with_previous_within_pageFoProperty* fo_leader_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_leader_set_keep_with_previous_within_page () fo_leader_set_keep_with_previous_within_pagevoid fo_leader_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_leader_get_line_height () fo_leader_get_line_heightFoProperty* fo_leader_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo fo_fo : The FoFo object Returns : The "line-height" property value fo_leader_set_line_height () fo_leader_set_line_heightvoid fo_leader_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value fo_leader_get_padding_after () fo_leader_get_padding_afterFoProperty* fo_leader_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_leader_set_padding_after () fo_leader_set_padding_aftervoid fo_leader_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_leader_get_padding_before () fo_leader_get_padding_beforeFoProperty* fo_leader_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_leader_set_padding_before () fo_leader_set_padding_beforevoid fo_leader_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_leader_get_padding_bottom () fo_leader_get_padding_bottomFoProperty* fo_leader_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_leader_set_padding_bottom () fo_leader_set_padding_bottomvoid fo_leader_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_leader_get_padding_end () fo_leader_get_padding_endFoProperty* fo_leader_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_leader_set_padding_end () fo_leader_set_padding_endvoid fo_leader_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_leader_get_padding_left () fo_leader_get_padding_leftFoProperty* fo_leader_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_leader_set_padding_left () fo_leader_set_padding_leftvoid fo_leader_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_leader_get_padding_right () fo_leader_get_padding_rightFoProperty* fo_leader_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_leader_set_padding_right () fo_leader_set_padding_rightvoid fo_leader_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_leader_get_padding_start () fo_leader_get_padding_startFoProperty* fo_leader_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_leader_set_padding_start () fo_leader_set_padding_startvoid fo_leader_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_leader_get_padding_top () fo_leader_get_padding_topFoProperty* fo_leader_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_leader_set_padding_top () fo_leader_set_padding_topvoid fo_leader_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_leader_get_role () fo_leader_get_roleFoProperty* fo_leader_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_leader_set_role () fo_leader_set_rolevoid fo_leader_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_leader_get_source_document () fo_leader_get_source_documentFoProperty* fo_leader_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_leader_set_source_document () fo_leader_set_source_documentvoid fo_leader_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_leader_get_space_end () fo_leader_get_space_endFoProperty* fo_leader_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo fo_fo : The FoFo object Returns : The "space-end" property value fo_leader_set_space_end () fo_leader_set_space_endvoid fo_leader_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end fo_fo : The FoFo object new_space_end : The new "space-end" property value fo_leader_get_space_start () fo_leader_get_space_startFoProperty* fo_leader_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo fo_fo : The FoFo object Returns : The "space-start" property value fo_leader_set_space_start () fo_leader_set_space_startvoid fo_leader_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start fo_fo : The FoFo object new_space_start : The new "space-start" property value Property Details The <literal>"alignment-adjust"</literal> property FoLeader:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoLeader:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoLeader:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoLeader:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"baseline-shift"</literal> property FoLeader:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"border-after-color"</literal> property FoLeader:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoLeader:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoLeader:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoLeader:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoLeader:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoLeader:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoLeader:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoLeader:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoLeader:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoLeader:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoLeader:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoLeader:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoLeader:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoLeader:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoLeader:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoLeader:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoLeader:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoLeader:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoLeader:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoLeader:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoLeader:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoLeader:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoLeader:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoLeader:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"color"</literal> property FoLeader:color "color" FoProperty* : Read Color property. The <literal>"dominant-baseline"</literal> property FoLeader:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"font-family"</literal> property FoLeader:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoLeader:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoLeader:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoLeader:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoLeader:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoLeader:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"id"</literal> property FoLeader:id "id" FoProperty* : Read Id property. The <literal>"keep-with-next"</literal> property FoLeader:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoLeader:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoLeader:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoLeader:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoLeader:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoLeader:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoLeader:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoLeader:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoLeader:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"padding-after"</literal> property FoLeader:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoLeader:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoLeader:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoLeader:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoLeader:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoLeader:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoLeader:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoLeader:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoLeader:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoLeader:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-end"</literal> property FoLeader:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoLeader:space-start "space-start" FoProperty* : Read Space Start property. xmlroff-0.6.2/docs/xml/fo-length-bp-ip-d.xml0000644000175000017500000002015011156164732015504 00000000000000 FoLengthBpIpD 3 XMLROFF Library FoLengthBpIpD Synopsis FoLengthBpIpD; FoLengthBpIpDClass; FoDatatype* fo_length_bp_ip_d_new (void); FoDatatype* fo_length_bp_ip_d_new_with_value (FoDatatype *length_bpd, FoDatatype *length_ipd); FoDatatype* fo_length_bp_ip_d_get_length_bpd (FoDatatype *datatype); FoDatatype* fo_length_bp_ip_d_get_length_ipd (FoDatatype *datatype); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoLengthBpIpD Properties "length-bpd" FoDatatype* : Read / Write / Construct Only "length-ipd" FoDatatype* : Read / Write / Construct Only Description Details FoLengthBpIpD FoLengthBpIpDtypedef struct _FoLengthBpIpD FoLengthBpIpD; FoLengthBpIpDClass FoLengthBpIpDClasstypedef struct _FoLengthBpIpDClass FoLengthBpIpDClass; fo_length_bp_ip_d_new () fo_length_bp_ip_d_newFoDatatype* fo_length_bp_ip_d_new (void); Creates a new FoLengthBpIpD initialized to default value. Returns : the new FoLengthBpIpD fo_length_bp_ip_d_new_with_value () fo_length_bp_ip_d_new_with_valueFoDatatype* fo_length_bp_ip_d_new_with_value (FoDatatype *length_bpd, FoDatatype *length_ipd); Creates a new FoLengthBpIpD set to length_bpd and length_ipd length_bpd : .block-progression-direction component of the new FoLengthBpIpD length_ipd : .inline-progression-direction component of the new FoLengthBpIpD Returns : The new FoLengthBpIpD fo_length_bp_ip_d_get_length_bpd () fo_length_bp_ip_d_get_length_bpdFoDatatype* fo_length_bp_ip_d_get_length_bpd (FoDatatype *datatype); Gets the .block-progression-direction component value of datatype datatype : FoLengthBpIpD Returns : The .block-progression-direction value of datatype fo_length_bp_ip_d_get_length_ipd () fo_length_bp_ip_d_get_length_ipdFoDatatype* fo_length_bp_ip_d_get_length_ipd (FoDatatype *datatype); Gets the .inline-progression-direction component value of datatype datatype : FoLengthBpIpD Returns : The .inline-progression-direction component value of datatype Property Details The <literal>"length-bpd"</literal> property FoLengthBpIpD:length-bpd "length-bpd" FoDatatype* : Read / Write / Construct Only Length in block-progression-direction. The <literal>"length-ipd"</literal> property FoLengthBpIpD:length-ipd "length-ipd" FoDatatype* : Read / Write / Construct Only Length in inline-progression-direction. xmlroff-0.6.2/docs/xml/fo-length-conditional.xml0000644000175000017500000003534211156164732016570 00000000000000 FoLengthCond 3 XMLROFF Library FoLengthCond Synopsis FoLengthCond; FoLengthCondClass; FoDatatype* fo_length_cond_new (void); FoDatatype* fo_length_cond_new_with_value (gdouble length, gboolean condity); FoDatatype* fo_length_cond_new_from_length (FoDatatype *length); gdouble fo_length_cond_get_length (FoDatatype *datatype); void fo_length_cond_set_length (FoDatatype *datatype, gdouble new_length); gboolean fo_length_cond_get_condity (FoDatatype *datatype); void fo_length_cond_set_condity (FoDatatype *datatype, gboolean new_condity); FoDatatype* fo_length_cond_get_length_cond_zero (void); FoDatatype* fo_length_cond_resolve (FoDatatype *shortform, FoDatatype *length, FoDatatype *condity, GError **error); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoLengthCond Properties "conditionality" gboolean : Read / Write / Construct Only "length" gdouble : Read / Write / Construct Only Description Details FoLengthCond FoLengthCondtypedef struct _FoLengthCond FoLengthCond; FoLengthCondClass FoLengthCondClasstypedef struct _FoLengthCondClass FoLengthCondClass; fo_length_cond_new () fo_length_cond_newFoDatatype* fo_length_cond_new (void); Creates a new FoLengthCond initialized to default value. Returns : the new FoLengthCond fo_length_cond_new_with_value () fo_length_cond_new_with_valueFoDatatype* fo_length_cond_new_with_value (gdouble length, gboolean condity); Creates a new FoLengthCond set to length and condity length : Length component of the new FoLengthCond condity : Conditionality component of the new FoLengthCond Returns : The new FoLengthCond fo_length_cond_new_from_length () fo_length_cond_new_from_lengthFoDatatype* fo_length_cond_new_from_length (FoDatatype *length); Creates a new FoLengthCond with .length component set to length and .conditionality component set to default value. length : FoLength to use as initial value. Returns : New FoLengthCond. fo_length_cond_get_length () fo_length_cond_get_lengthgdouble fo_length_cond_get_length (FoDatatype *datatype); Gets the .length component value of datatype datatype : FoLengthCond Returns : The .length value of datatype fo_length_cond_set_length () fo_length_cond_set_lengthvoid fo_length_cond_set_length (FoDatatype *datatype, gdouble new_length); Sets the .length component of datatype datatype : FoLengthCond new_length : New .length value fo_length_cond_get_condity () fo_length_cond_get_conditygboolean fo_length_cond_get_condity (FoDatatype *datatype); Gets the .conditionality component value of datatype datatype : FoLengthCond Returns : The .conditionality component value of datatype fo_length_cond_set_condity () fo_length_cond_set_condityvoid fo_length_cond_set_condity (FoDatatype *datatype, gboolean new_condity); Sets the .condity component of datatype datatype : FoLengthCond new_condity : New .condity value fo_length_cond_get_length_cond_zero () fo_length_cond_get_length_cond_zeroFoDatatype* fo_length_cond_get_length_cond_zero (void); Get an FoLengthCond with the well-known value of 0pt/discard. Returns : The FoLengthCond. fo_length_cond_resolve () fo_length_cond_resolveFoDatatype* fo_length_cond_resolve (FoDatatype *shortform, FoDatatype *length, FoDatatype *condity, GError **error); Resolve the shortform and components of the length-conditional in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation. shortform : Single-value short form of the length-conditional, or NULL length : .length component of the space, or NULL condity : .conditionality component of the space, or NULL error : GError used for reporting errors Returns : Compound space datatype, or NULL if an error occurred Property Details The <literal>"conditionality"</literal> property FoLengthCond:conditionality "conditionality" gboolean : Read / Write / Construct Only Whether or not the space must always be retained.Default value: FALSE The <literal>"length"</literal> property FoLengthCond:length "length" gdouble : Read / Write / Construct Only Length_Cond length.Default value: 0 xmlroff-0.6.2/docs/xml/fo-length-range.xml0000644000175000017500000004441111156164732015356 00000000000000 FoLengthRange 3 XMLROFF Library FoLengthRange Synopsis #define FO_LENGTH_RANGE (object) FoLengthRange; FoLengthRangeClass; GType fo_length_range_get_type (void); FoDatatype* fo_length_range_new_auto (void); FoDatatype* fo_length_range_new_with_value (FoDatatype *datatype); FoDatatype* fo_length_range_get_minimum (FoDatatype *datatype); FoDatatype* fo_length_range_get_optimum (FoDatatype *datatype); FoDatatype* fo_length_range_get_maximum (FoDatatype *datatype); FoDatatype* fo_length_range_resolve (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, gfloat hundred_percent, GError **error); FoDatatype* fo_length_range_resolve_allow_auto (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, gfloat hundred_percent, GError **error); FoDatatype* fo_length_range_get_length_range_hundred_percent (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoLengthRange Properties "maximum" FoDatatype* : Read / Write / Construct Only "minimum" FoDatatype* : Read / Write / Construct Only "optimum" FoDatatype* : Read / Write / Construct Only Description Details FO_LENGTH_RANGE() FO_LENGTH_RANGE#define FO_LENGTH_RANGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LENGTH_RANGE, FoLengthRange)) object : FoLengthRange FoLengthRangetypedef struct _FoLengthRange FoLengthRange; FoLengthRangeClass FoLengthRangeClasstypedef struct _FoLengthRangeClass FoLengthRangeClass; fo_length_range_get_type () fo_length_range_get_typeGType fo_length_range_get_type (void); Register the FoLengthRange object type. Returns : GType value of the FoLengthRange object type. fo_length_range_new_auto () fo_length_range_new_autoFoDatatype* fo_length_range_new_auto (void); Creates a new FoLengthRange with all components initialized to "auto". Returns : the new FoLengthRange fo_length_range_new_with_value () fo_length_range_new_with_valueFoDatatype* fo_length_range_new_with_value (FoDatatype *datatype); Creates a new FoLengthRange set to value. datatype : Value for .minimum, .optimum, and .maximum values of the new FoLengthRange. Returns : The new FoLengthRange. fo_length_range_get_minimum () fo_length_range_get_minimumFoDatatype* fo_length_range_get_minimum (FoDatatype *datatype); Gets the .minimum component value of datatype datatype : FoLengthRange Returns : The .minimum value of datatype fo_length_range_get_optimum () fo_length_range_get_optimumFoDatatype* fo_length_range_get_optimum (FoDatatype *datatype); Gets the .optimum component value of datatype datatype : FoLengthRange Returns : The .optimum value of datatype fo_length_range_get_maximum () fo_length_range_get_maximumFoDatatype* fo_length_range_get_maximum (FoDatatype *datatype); Gets the .maximum component value of datatype datatype : FoLengthRange Returns : The .maximum value of datatype fo_length_range_resolve () fo_length_range_resolveFoDatatype* fo_length_range_resolve (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, gfloat hundred_percent, GError **error); Resolve the shortform and components of the length-range in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation. Does not change the ref-count of any FoDatatype arguments. shortform : Single-value short form of the length-range, or NULL minimum : .minimum component of the length-range, or NULL optimum : .optimum component of the length-range, or NULL maximum : .maximum component of the length-range, or NULL hundred_percent : Length to use as 100% when components expressed as percentages error : GError used for reporting errors Returns : Compound length-range datatype, or NULL if an error occurred fo_length_range_resolve_allow_auto () fo_length_range_resolve_allow_autoFoDatatype* fo_length_range_resolve_allow_auto (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, gfloat hundred_percent, GError **error); Resolve the shortform and components of the length-range in accordance with the definitions of block-progression-dimension and inline-progression-dimension in Section 7.14, Area Dimension Properties, of the XSL 1.0 Recommendation. Use this when "auto" is an allowed value and percentages are computed into lengths. Does not change the ref-count of any FoDatatype arguments. shortform : Single-value short form of the length-range, or NULL minimum : .minimum component of the length-range, or NULL optimum : .optimum component of the length-range, or NULL maximum : .maximum component of the length-range, or NULL hundred_percent : Length to use as 100% when components expressed as percentages error : GError used for reporting errors Returns : Compound length-range datatype, or NULL if an error occurred fo_length_range_get_length_range_hundred_percent () fo_length_range_get_length_range_hundred_percentFoDatatype* fo_length_range_get_length_range_hundred_percent (void); Get an FoLengthRange with the well-known value of 100%. Returns : The FoLengthRange. Property Details The <literal>"maximum"</literal> property FoLengthRange:maximum "maximum" FoDatatype* : Read / Write / Construct Only Length range maximum value. The <literal>"minimum"</literal> property FoLengthRange:minimum "minimum" FoDatatype* : Read / Write / Construct Only Length range minimum value. The <literal>"optimum"</literal> property FoLengthRange:optimum "optimum" FoDatatype* : Read / Write / Construct Only Length range optimum value. xmlroff-0.6.2/docs/xml/fo-length.xml0000644000175000017500000003352311156164732014266 00000000000000 FoLength 3 XMLROFF Library FoLength Synopsis FoLength; FoLengthClass; FoDatatype* fo_length_new_with_value (gdouble value); FoDatatype* fo_length_new_from_pixels (gint count); gdouble fo_length_get_value (FoDatatype *length); FoDatatype* fo_length_get_length_minus_3pt (void); FoDatatype* fo_length_get_length_zero (void); FoDatatype* fo_length_get_length_3pt (void); FoDatatype* fo_length_get_length_6pt (void); FoDatatype* fo_length_get_length_24pt (void); FoDatatype* fo_length_get_length_A4_height (void); FoDatatype* fo_length_get_length_A4_width (void); FoDatatype* fo_length_get_width_thin (void); FoDatatype* fo_length_get_width_medium (void); FoDatatype* fo_length_get_width_thick (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoLength Properties "value" gdouble : Read / Write / Construct Only Description Details FoLength FoLengthtypedef struct _FoLength FoLength; FoLengthClass FoLengthClasstypedef struct _FoLengthClass FoLengthClass; fo_length_new_with_value () fo_length_new_with_valueFoDatatype* fo_length_new_with_value (gdouble value); Creates a new FoLength set to value. value : Length of the new FoLength. Returns : The new FoLength. fo_length_new_from_pixels () fo_length_new_from_pixelsFoDatatype* fo_length_new_from_pixels (gint count); Creates a new FoLength set to the intrinsic length of count pixels. count : Number of pixels of the new FoLength. Returns : The new FoLength. fo_length_get_value () fo_length_get_valuegdouble fo_length_get_value (FoDatatype *length); Get the value of length. length : FoLength. Returns : Numeric value of length. fo_length_get_length_minus_3pt () fo_length_get_length_minus_3ptFoDatatype* fo_length_get_length_minus_3pt (void); Get an FoLength with the well-known value of 3pt. Returns : The FoLength. fo_length_get_length_zero () fo_length_get_length_zeroFoDatatype* fo_length_get_length_zero (void); Get an FoLength with the well-known value of 0pt. Returns : The FoLength. fo_length_get_length_3pt () fo_length_get_length_3ptFoDatatype* fo_length_get_length_3pt (void); Get an FoLength with the well-known value of 3pt. Returns : The FoLength. fo_length_get_length_6pt () fo_length_get_length_6ptFoDatatype* fo_length_get_length_6pt (void); Get an FoLength with the well-known value of 6pt. Returns : The FoLength. fo_length_get_length_24pt () fo_length_get_length_24ptFoDatatype* fo_length_get_length_24pt (void); Get an FoLength with the well-known value of 24pt. Returns : The FoLength. fo_length_get_length_A4_height () fo_length_get_length_A4_heightFoDatatype* fo_length_get_length_A4_height (void); Returns : fo_length_get_length_A4_width () fo_length_get_length_A4_widthFoDatatype* fo_length_get_length_A4_width (void); Get an FoLength with the well-known value of the width of an A4 page. Returns : The FoLength. fo_length_get_width_thin () fo_length_get_width_thinFoDatatype* fo_length_get_width_thin (void); Get an FoLength for the well-known width value of 'thin'. Returns : The FoLength. fo_length_get_width_medium () fo_length_get_width_mediumFoDatatype* fo_length_get_width_medium (void); Get an FoLength for the well-known width value of 'medium'. Returns : The FoLength. fo_length_get_width_thick () fo_length_get_width_thickFoDatatype* fo_length_get_width_thick (void); Get an FoLength for the well-known width value of 'thick'. Returns : The FoLength. Property Details The <literal>"value"</literal> property FoLength:value "value" gdouble : Read / Write / Construct Only Length value.Default value: 0 xmlroff-0.6.2/docs/xml/fo-libfo-basic.xml0000644000175000017500000002622311156164732015156 00000000000000 fo-libfo-basic 3 XMLROFF Library fo-libfo-basic Synopsis enum FoLibfoBasicError; #define FO_LIBFO_BASIC_ERROR GQuark fo_libfo_basic_error_quark (void); FoLibfoContext; gboolean fo_libfo_init (void); gpointer (*FoMalloc) (gsize n_bytes); gpointer (*FoRealloc) (gpointer mem, gsize n_bytes); void (*FoFree) (gpointer mem); gboolean fo_libfo_init2 (FoMalloc fo_malloc, FoRealloc fo_realloc, FoFree fo_free); gboolean fo_libfo_shutdown (void); FoLibfoContext* fo_libfo_context_new (void); gboolean fo_libfo_format (const gchar *xml, const gchar *xslt, const gchar *out, GError **error); Description Details enum FoLibfoBasicError FoLibfoBasicErrortypedef enum { FO_LIBFO_BASIC_ERROR_FAILED, /* Generic error code */ FO_LIBFO_BASIC_ERROR_UNKNOWN_FORMAT, FO_LIBFO_BASIC_ERROR_WARNING, /* Non-fatal error */ FO_LIBFO_BASIC_ERROR_LAST } FoLibfoBasicError; FO_LIBFO_BASIC_ERROR FO_LIBFO_BASIC_ERROR#define FO_LIBFO_BASIC_ERROR (fo_libfo_basic_error_quark ()) fo_libfo_basic_error_quark () fo_libfo_basic_error_quarkGQuark fo_libfo_basic_error_quark (void); Get the error quark for FoLibfo. If the quark does not yet exist, create it. Returns : Quark associated with FoLibfo errors. FoLibfoContext FoLibfoContexttypedef struct _FoLibfoContext FoLibfoContext; fo_libfo_init () fo_libfo_initgboolean fo_libfo_init (void); Initialise the libfo formatter. Returns : TRUE if successful. FoMalloc () FoMallocgpointer (*FoMalloc) (gsize n_bytes); n_bytes : Returns : FoRealloc () FoReallocgpointer (*FoRealloc) (gpointer mem, gsize n_bytes); mem : n_bytes : Returns : FoFree () FoFreevoid (*FoFree) (gpointer mem); mem : fo_libfo_init2 () fo_libfo_init2gboolean fo_libfo_init2 (FoMalloc fo_malloc, FoRealloc fo_realloc, FoFree fo_free); Initialise the libfo formatter and provide functions for allocating, reallocating, and freeing memory. fo_malloc : Function that allocates memory. fo_realloc : Function that reallocates memory. fo_free : Function that frees memory. Returns : TRUE if successful. fo_libfo_shutdown () fo_libfo_shutdowngboolean fo_libfo_shutdown (void); Shutdown the libfo formatter. Returns : TRUE if successful. fo_libfo_context_new () fo_libfo_context_newFoLibfoContext* fo_libfo_context_new (void); Creates a new FoLibfoContext initialized to default value. Returns : The new FoLibfoContext. fo_libfo_format () fo_libfo_formatgboolean fo_libfo_format (const gchar *xml, const gchar *xslt, const gchar *out, GError **error); xml : xslt : out : error : Returns : xmlroff-0.6.2/docs/xml/fo-libfo-context.xml0000644000175000017500000005513111156164732015561 00000000000000 FoLibfoContext 3 XMLROFF Library FoLibfoContext Collected information about the processing context Synopsis enum FoFlagsFormat; #define FO_TYPE_FLAGS_FORMAT enum FoEnumFontEmbed; GType fo_enum_font_embed_get_type (void); #define FO_TYPE_ENUM_FONT_EMBED FoLibfoContextClass; GType fo_libfo_context_get_type (void); gboolean fo_libfo_context_get_continue_after_error (FoLibfoContext *libfo_context); void fo_libfo_context_set_continue_after_error (FoLibfoContext *libfo_context, gboolean continue_after_error); FoFlagsFormat fo_libfo_context_get_format (FoLibfoContext *libfo_context); void fo_libfo_context_set_format (FoLibfoContext *libfo_context, FoFlagsFormat format); FoEnumFontEmbed fo_libfo_context_get_font_embed (FoLibfoContext *libfo_context); void fo_libfo_context_set_font_embed (FoLibfoContext *libfo_context, FoEnumFontEmbed font_embed); gboolean fo_libfo_context_get_validation (FoLibfoContext *libfo_context); void fo_libfo_context_set_validation (FoLibfoContext *libfo_context, gboolean validation); FoWarningFlag fo_libfo_context_get_warning_mode (FoLibfoContext *libfo_context); void fo_libfo_context_set_warning_mode (FoLibfoContext *libfo_context, FoWarningFlag warning_mode); FoDebugFlag fo_libfo_context_get_debug_mode (FoLibfoContext *libfo_context); void fo_libfo_context_set_debug_mode (FoLibfoContext *libfo_context, FoDebugFlag debug_mode); Description Collected information about the processing context in which to do the formatting. This context contains parameters that are not part of the XML for the FO, e.g., whether or not to validate the input and whether or not to embed fonts in the output. Details enum FoFlagsFormat FoFlagsFormattypedef enum { FO_FLAG_FORMAT_UNKNOWN = 0, FO_FLAG_FORMAT_AUTO = 1 << 0, FO_FLAG_FORMAT_PDF = 1 << 1, FO_FLAG_FORMAT_POSTSCRIPT = 1 << 2, FO_FLAG_FORMAT_SVG = 1 << 3 } FoFlagsFormat; Output file format. Used both for specifying which format to use and to identify formats supported by a particular backend. FO_FLAG_FORMAT_UNKNOWN Invalid format FO_FLAG_FORMAT_AUTO Choose based on output file name or other heuristic FO_FLAG_FORMAT_PDF PDF FO_FLAG_FORMAT_POSTSCRIPT PostScript FO_FLAG_FORMAT_SVG SVG FO_TYPE_FLAGS_FORMAT FO_TYPE_FLAGS_FORMAT#define FO_TYPE_FLAGS_FORMAT fo_flags_format_get_type () enum FoEnumFontEmbed FoEnumFontEmbedtypedef enum { FO_ENUM_FONT_EMBED_INVALID, FO_ENUM_FONT_EMBED_ALL, FO_ENUM_FONT_EMBED_NONBASE, FO_ENUM_FONT_EMBED_NONE } FoEnumFontEmbed; Which categories of fonts to embed in the output file, useful only where the output format and the backend both support control of embedding or not embedding those fonts. FO_ENUM_FONT_EMBED_INVALID Invalid category FO_ENUM_FONT_EMBED_ALL Embed all fonts FO_ENUM_FONT_EMBED_NONBASE Embed all fonts except the PostScript base fonts FO_ENUM_FONT_EMBED_NONE Do not embed any fonts fo_enum_font_embed_get_type () fo_enum_font_embed_get_typeGType fo_enum_font_embed_get_type (void); Returns : FO_TYPE_ENUM_FONT_EMBED FO_TYPE_ENUM_FONT_EMBED#define FO_TYPE_ENUM_FONT_EMBED fo_enum_font_embed_get_type () FoLibfoContextClass FoLibfoContextClasstypedef struct _FoLibfoContextClass FoLibfoContextClass; fo_libfo_context_get_type () fo_libfo_context_get_typeGType fo_libfo_context_get_type (void); Register the FoLibfoContext type if not already registered and return its GType value. Returns : GType of FoLibfoContext. fo_libfo_context_get_continue_after_error () fo_libfo_context_get_continue_after_errorgboolean fo_libfo_context_get_continue_after_error (FoLibfoContext *libfo_context); Get the 'continue' property of libfo_context. libfo_context : FoLibfoContext. Returns : Value of the 'continue' property of libfo_context. fo_libfo_context_set_continue_after_error () fo_libfo_context_set_continue_after_errorvoid fo_libfo_context_set_continue_after_error (FoLibfoContext *libfo_context, gboolean continue_after_error); Set the 'continue' property of libfo_context. libfo_context : FoLibfoContext. continue_after_error : New 'continue' value for libfo_context. fo_libfo_context_get_format () fo_libfo_context_get_formatFoFlagsFormat fo_libfo_context_get_format (FoLibfoContext *libfo_context); Get the 'format' property of libfo_context. libfo_context : FoLibfoContext. Returns : Value of the 'format' property of libfo_context. fo_libfo_context_set_format () fo_libfo_context_set_formatvoid fo_libfo_context_set_format (FoLibfoContext *libfo_context, FoFlagsFormat format); Set the 'format' property of libfo_context. If more that one flag value is set in format, only the first (lowest) set value will be used. libfo_context : FoLibfoContext. format : New 'format' value for libfo_context. fo_libfo_context_get_font_embed () fo_libfo_context_get_font_embedFoEnumFontEmbed fo_libfo_context_get_font_embed (FoLibfoContext *libfo_context); Get the 'font-embed' property of libfo_context. libfo_context : FoLibfoContext. Returns : Value of the 'font-embed' property of libfo_context. fo_libfo_context_set_font_embed () fo_libfo_context_set_font_embedvoid fo_libfo_context_set_font_embed (FoLibfoContext *libfo_context, FoEnumFontEmbed font_embed); Set the 'font-embed' property of libfo_context. libfo_context : FoLibfoContext. font_embed : New 'font-embed' value for libfo_context. fo_libfo_context_get_validation () fo_libfo_context_get_validationgboolean fo_libfo_context_get_validation (FoLibfoContext *libfo_context); Get the 'validation' property of libfo_context. libfo_context : FoLibfoContext. Returns : Value of the 'validation' property of libfo_context. fo_libfo_context_set_validation () fo_libfo_context_set_validationvoid fo_libfo_context_set_validation (FoLibfoContext *libfo_context, gboolean validation); Set the 'validation' property of libfo_context. libfo_context : FoLibfoContext. validation : New 'validation' value for libfo_context. fo_libfo_context_get_warning_mode () fo_libfo_context_get_warning_modeFoWarningFlag fo_libfo_context_get_warning_mode (FoLibfoContext *libfo_context); Get the 'warning_mode' property of libfo_context. libfo_context : FoLibfoContext. Returns : Value of the 'warning_mode' property of libfo_context. fo_libfo_context_set_warning_mode () fo_libfo_context_set_warning_modevoid fo_libfo_context_set_warning_mode (FoLibfoContext *libfo_context, FoWarningFlag warning_mode); Set the 'warning-mode' property of libfo_context. libfo_context : FoLibfoContext. warning_mode : New 'warning-mode' value for libfo_context. fo_libfo_context_get_debug_mode () fo_libfo_context_get_debug_modeFoDebugFlag fo_libfo_context_get_debug_mode (FoLibfoContext *libfo_context); Get the 'debug_mode' property of libfo_context. libfo_context : FoLibfoContext. Returns : Value of the 'debug_mode' property of libfo_context. fo_libfo_context_set_debug_mode () fo_libfo_context_set_debug_modevoid fo_libfo_context_set_debug_mode (FoLibfoContext *libfo_context, FoDebugFlag debug_mode); Set the 'debug-mode' property of libfo_context. libfo_context : FoLibfoContext. debug_mode : New 'debug-mode' value for libfo_context. xmlroff-0.6.2/docs/xml/fo-libfo-module.xml0000644000175000017500000001371511156164732015364 00000000000000 fo-libfo-module 3 XMLROFF Library fo-libfo-module Synopsis FoLibfoModule; FoLibfoModuleClass; gint fo_libfo_module_version_from_name (const gchar *name); const gchar* fo_libfo_module_version_string_from_name (const gchar *name); const LibfoVersionInfo* fo_libfo_module_version_info_from_name (const gchar *name); Description Details FoLibfoModule FoLibfoModuletypedef struct { FoObject module_instance; } FoLibfoModule; FoLibfoModuleClass FoLibfoModuleClasstypedef struct { FoObjectClass module_class; gint (*version) (void); const gchar* (*version_string) (void); const LibfoVersionInfo * (*version_info) (void); } FoLibfoModuleClass; fo_libfo_module_version_from_name () fo_libfo_module_version_from_namegint fo_libfo_module_version_from_name (const gchar *name); Gets the runtime version of the library underlying the FoLibfoModule implementation. This function just returns what the underlying library provides, if anything, so version numbers can only meaningfully be compared against version numbers of the same library implementation. name : Registered FoObject type name, e.g., "FoDocCairo" Returns : Library version, or 0 if the underlying library does not make its version number available at runtime fo_libfo_module_version_string_from_name () fo_libfo_module_version_string_from_nameconst gchar* fo_libfo_module_version_string_from_name (const gchar *name); Gets the runtime version of the library underlying the FoLibfoModule implementation as a human-readable string. The string is likely to be of the form "X.Y.Z", e.g., "1.0.0", but this function just returns what the underlying library provides, so nothing is guaranteed. name : Registered FoObject type name, e.g., "FoDocCairo" Returns : Library version, or NULL if the underlying library does not make its version number available at runtime fo_libfo_module_version_info_from_name () fo_libfo_module_version_info_from_nameconst LibfoVersionInfo* fo_libfo_module_version_info_from_name (const gchar *name); Gets the LibfoVersionInfo for name : Registered FoObject type name, e.g., "FoDocCairo" Returns : xmlroff-0.6.2/docs/xml/fo-list-block.xml0000644000175000017500000060544511156164732015060 00000000000000 list-block 3 XMLROFF Library list-block Synopsis FoListBlock; FoListBlockClass; FoFo* fo_list_block_new (void); FoDatatype* fo_list_block_get_body_start (FoFo *fo_fo); FoDatatype* fo_list_block_get_label_end (FoFo *fo_fo); FoProperty* fo_list_block_get_background_color (FoFo *fo_fo); void fo_list_block_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_list_block_get_background_image (FoFo *fo_fo); void fo_list_block_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_list_block_get_border_after_color (FoFo *fo_fo); void fo_list_block_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_list_block_get_border_after_style (FoFo *fo_fo); void fo_list_block_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_list_block_get_border_after_width (FoFo *fo_fo); void fo_list_block_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_list_block_get_border_before_color (FoFo *fo_fo); void fo_list_block_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_list_block_get_border_before_style (FoFo *fo_fo); void fo_list_block_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_list_block_get_border_before_width (FoFo *fo_fo); void fo_list_block_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_list_block_get_border_bottom_color (FoFo *fo_fo); void fo_list_block_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_list_block_get_border_bottom_style (FoFo *fo_fo); void fo_list_block_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_list_block_get_border_bottom_width (FoFo *fo_fo); void fo_list_block_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_list_block_get_border_end_color (FoFo *fo_fo); void fo_list_block_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_list_block_get_border_end_style (FoFo *fo_fo); void fo_list_block_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_list_block_get_border_end_width (FoFo *fo_fo); void fo_list_block_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_list_block_get_border_left_color (FoFo *fo_fo); void fo_list_block_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_list_block_get_border_left_style (FoFo *fo_fo); void fo_list_block_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_list_block_get_border_left_width (FoFo *fo_fo); void fo_list_block_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_list_block_get_border_right_color (FoFo *fo_fo); void fo_list_block_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_list_block_get_border_right_style (FoFo *fo_fo); void fo_list_block_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_list_block_get_border_right_width (FoFo *fo_fo); void fo_list_block_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_list_block_get_border_start_color (FoFo *fo_fo); void fo_list_block_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_list_block_get_border_start_style (FoFo *fo_fo); void fo_list_block_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_list_block_get_border_start_width (FoFo *fo_fo); void fo_list_block_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_list_block_get_border_top_color (FoFo *fo_fo); void fo_list_block_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_list_block_get_border_top_style (FoFo *fo_fo); void fo_list_block_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_list_block_get_border_top_width (FoFo *fo_fo); void fo_list_block_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_list_block_get_break_after (FoFo *fo_fo); void fo_list_block_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty* fo_list_block_get_break_before (FoFo *fo_fo); void fo_list_block_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty* fo_list_block_get_end_indent (FoFo *fo_fo); void fo_list_block_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty* fo_list_block_get_id (FoFo *fo_fo); void fo_list_block_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_list_block_get_keep_together (FoFo *fo_fo); void fo_list_block_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_list_block_get_keep_together_within_column (FoFo *fo_fo); void fo_list_block_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_list_block_get_keep_together_within_line (FoFo *fo_fo); void fo_list_block_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_list_block_get_keep_together_within_page (FoFo *fo_fo); void fo_list_block_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_list_block_get_keep_with_next (FoFo *fo_fo); void fo_list_block_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_list_block_get_keep_with_next_within_column (FoFo *fo_fo); void fo_list_block_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_list_block_get_keep_with_next_within_line (FoFo *fo_fo); void fo_list_block_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_list_block_get_keep_with_next_within_page (FoFo *fo_fo); void fo_list_block_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_list_block_get_keep_with_previous (FoFo *fo_fo); void fo_list_block_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_list_block_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_list_block_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_list_block_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_list_block_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_list_block_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_list_block_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_list_block_get_margin_bottom (FoFo *fo_fo); void fo_list_block_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty* fo_list_block_get_margin_left (FoFo *fo_fo); void fo_list_block_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty* fo_list_block_get_margin_right (FoFo *fo_fo); void fo_list_block_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty* fo_list_block_get_margin_top (FoFo *fo_fo); void fo_list_block_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty* fo_list_block_get_padding_after (FoFo *fo_fo); void fo_list_block_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_list_block_get_padding_before (FoFo *fo_fo); void fo_list_block_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_list_block_get_padding_bottom (FoFo *fo_fo); void fo_list_block_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_list_block_get_padding_end (FoFo *fo_fo); void fo_list_block_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_list_block_get_padding_left (FoFo *fo_fo); void fo_list_block_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_list_block_get_padding_right (FoFo *fo_fo); void fo_list_block_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_list_block_get_padding_start (FoFo *fo_fo); void fo_list_block_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_list_block_get_padding_top (FoFo *fo_fo); void fo_list_block_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_list_block_get_provisional_distance_between_starts (FoFo *fo_fo); void fo_list_block_set_provisional_distance_between_starts (FoFo *fo_fo, FoProperty *new_provisional_distance_between_starts); FoProperty* fo_list_block_get_provisional_label_separation (FoFo *fo_fo); void fo_list_block_set_provisional_label_separation (FoFo *fo_fo, FoProperty *new_provisional_label_separation); FoProperty* fo_list_block_get_role (FoFo *fo_fo); void fo_list_block_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_list_block_get_source_document (FoFo *fo_fo); void fo_list_block_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_list_block_get_space_after (FoFo *fo_fo); void fo_list_block_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty* fo_list_block_get_space_before (FoFo *fo_fo); void fo_list_block_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty* fo_list_block_get_start_indent (FoFo *fo_fo); void fo_list_block_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoListBlock Implemented Interfaces FoListBlock implements FoBlockFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "body-start" FoDatatype* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "break-after" FoProperty* : Read "break-before" FoProperty* : Read "end-indent" FoProperty* : Read "id" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "label-end" FoDatatype* : Read "margin-bottom" FoProperty* : Read "margin-left" FoProperty* : Read "margin-right" FoProperty* : Read "margin-top" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "provisional-distance-between-starts" FoProperty* : Read "provisional-label-separation" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "space-after" FoProperty* : Read "space-before" FoProperty* : Read "start-indent" FoProperty* : Read Description Details FoListBlock FoListBlocktypedef struct _FoListBlock FoListBlock; FoListBlockClass FoListBlockClasstypedef struct _FoListBlockClass FoListBlockClass; fo_list_block_new () fo_list_block_newFoFo* fo_list_block_new (void); Creates a new FoListBlock initialized to default value. Returns : the new FoListBlock. fo_list_block_get_body_start () fo_list_block_get_body_startFoDatatype* fo_list_block_get_body_start (FoFo *fo_fo); Gets the "body-start" property of list_block fo_fo : The FoFo object Returns : The value to use for body_start() functions fo_list_block_get_label_end () fo_list_block_get_label_endFoDatatype* fo_list_block_get_label_end (FoFo *fo_fo); Gets the label-end of fo_fo fo_fo : The FoListBlock object Returns : The value to use for label-end() functions fo_list_block_get_background_color () fo_list_block_get_background_colorFoProperty* fo_list_block_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_list_block_set_background_color () fo_list_block_set_background_colorvoid fo_list_block_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_list_block_get_background_image () fo_list_block_get_background_imageFoProperty* fo_list_block_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_list_block_set_background_image () fo_list_block_set_background_imagevoid fo_list_block_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_list_block_get_border_after_color () fo_list_block_get_border_after_colorFoProperty* fo_list_block_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_list_block_set_border_after_color () fo_list_block_set_border_after_colorvoid fo_list_block_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_list_block_get_border_after_style () fo_list_block_get_border_after_styleFoProperty* fo_list_block_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_list_block_set_border_after_style () fo_list_block_set_border_after_stylevoid fo_list_block_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_list_block_get_border_after_width () fo_list_block_get_border_after_widthFoProperty* fo_list_block_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_list_block_set_border_after_width () fo_list_block_set_border_after_widthvoid fo_list_block_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_list_block_get_border_before_color () fo_list_block_get_border_before_colorFoProperty* fo_list_block_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_list_block_set_border_before_color () fo_list_block_set_border_before_colorvoid fo_list_block_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_list_block_get_border_before_style () fo_list_block_get_border_before_styleFoProperty* fo_list_block_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_list_block_set_border_before_style () fo_list_block_set_border_before_stylevoid fo_list_block_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_list_block_get_border_before_width () fo_list_block_get_border_before_widthFoProperty* fo_list_block_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_list_block_set_border_before_width () fo_list_block_set_border_before_widthvoid fo_list_block_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_list_block_get_border_bottom_color () fo_list_block_get_border_bottom_colorFoProperty* fo_list_block_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_list_block_set_border_bottom_color () fo_list_block_set_border_bottom_colorvoid fo_list_block_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_list_block_get_border_bottom_style () fo_list_block_get_border_bottom_styleFoProperty* fo_list_block_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_list_block_set_border_bottom_style () fo_list_block_set_border_bottom_stylevoid fo_list_block_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_list_block_get_border_bottom_width () fo_list_block_get_border_bottom_widthFoProperty* fo_list_block_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_list_block_set_border_bottom_width () fo_list_block_set_border_bottom_widthvoid fo_list_block_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_list_block_get_border_end_color () fo_list_block_get_border_end_colorFoProperty* fo_list_block_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_list_block_set_border_end_color () fo_list_block_set_border_end_colorvoid fo_list_block_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_list_block_get_border_end_style () fo_list_block_get_border_end_styleFoProperty* fo_list_block_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_list_block_set_border_end_style () fo_list_block_set_border_end_stylevoid fo_list_block_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_list_block_get_border_end_width () fo_list_block_get_border_end_widthFoProperty* fo_list_block_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_list_block_set_border_end_width () fo_list_block_set_border_end_widthvoid fo_list_block_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_list_block_get_border_left_color () fo_list_block_get_border_left_colorFoProperty* fo_list_block_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_list_block_set_border_left_color () fo_list_block_set_border_left_colorvoid fo_list_block_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_list_block_get_border_left_style () fo_list_block_get_border_left_styleFoProperty* fo_list_block_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_list_block_set_border_left_style () fo_list_block_set_border_left_stylevoid fo_list_block_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_list_block_get_border_left_width () fo_list_block_get_border_left_widthFoProperty* fo_list_block_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_list_block_set_border_left_width () fo_list_block_set_border_left_widthvoid fo_list_block_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_list_block_get_border_right_color () fo_list_block_get_border_right_colorFoProperty* fo_list_block_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_list_block_set_border_right_color () fo_list_block_set_border_right_colorvoid fo_list_block_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_list_block_get_border_right_style () fo_list_block_get_border_right_styleFoProperty* fo_list_block_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_list_block_set_border_right_style () fo_list_block_set_border_right_stylevoid fo_list_block_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_list_block_get_border_right_width () fo_list_block_get_border_right_widthFoProperty* fo_list_block_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_list_block_set_border_right_width () fo_list_block_set_border_right_widthvoid fo_list_block_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_list_block_get_border_start_color () fo_list_block_get_border_start_colorFoProperty* fo_list_block_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_list_block_set_border_start_color () fo_list_block_set_border_start_colorvoid fo_list_block_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_list_block_get_border_start_style () fo_list_block_get_border_start_styleFoProperty* fo_list_block_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_list_block_set_border_start_style () fo_list_block_set_border_start_stylevoid fo_list_block_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_list_block_get_border_start_width () fo_list_block_get_border_start_widthFoProperty* fo_list_block_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_list_block_set_border_start_width () fo_list_block_set_border_start_widthvoid fo_list_block_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_list_block_get_border_top_color () fo_list_block_get_border_top_colorFoProperty* fo_list_block_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_list_block_set_border_top_color () fo_list_block_set_border_top_colorvoid fo_list_block_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_list_block_get_border_top_style () fo_list_block_get_border_top_styleFoProperty* fo_list_block_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_list_block_set_border_top_style () fo_list_block_set_border_top_stylevoid fo_list_block_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_list_block_get_border_top_width () fo_list_block_get_border_top_widthFoProperty* fo_list_block_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_list_block_set_border_top_width () fo_list_block_set_border_top_widthvoid fo_list_block_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_list_block_get_break_after () fo_list_block_get_break_afterFoProperty* fo_list_block_get_break_after (FoFo *fo_fo); Gets the "break-after" property of fo_fo fo_fo : The FoFo object Returns : The "break-after" property value fo_list_block_set_break_after () fo_list_block_set_break_aftervoid fo_list_block_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); Sets the "break-after" property of fo_fo to new_break_after fo_fo : The FoFo object new_break_after : The new "break-after" property value fo_list_block_get_break_before () fo_list_block_get_break_beforeFoProperty* fo_list_block_get_break_before (FoFo *fo_fo); Gets the "break-before" property of fo_fo fo_fo : The FoFo object Returns : The "break-before" property value fo_list_block_set_break_before () fo_list_block_set_break_beforevoid fo_list_block_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); Sets the "break-before" property of fo_fo to new_break_before fo_fo : The FoFo object new_break_before : The new "break-before" property value fo_list_block_get_end_indent () fo_list_block_get_end_indentFoProperty* fo_list_block_get_end_indent (FoFo *fo_fo); Gets the "end-indent" property of fo_fo fo_fo : The FoFo object Returns : The "end-indent" property value fo_list_block_set_end_indent () fo_list_block_set_end_indentvoid fo_list_block_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); Sets the "end-indent" property of fo_fo to new_end_indent fo_fo : The FoFo object new_end_indent : The new "end-indent" property value fo_list_block_get_id () fo_list_block_get_idFoProperty* fo_list_block_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_list_block_set_id () fo_list_block_set_idvoid fo_list_block_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_list_block_get_keep_together () fo_list_block_get_keep_togetherFoProperty* fo_list_block_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_list_block_set_keep_together () fo_list_block_set_keep_togethervoid fo_list_block_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_list_block_get_keep_together_within_column () fo_list_block_get_keep_together_within_columnFoProperty* fo_list_block_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_list_block_set_keep_together_within_column () fo_list_block_set_keep_together_within_columnvoid fo_list_block_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_list_block_get_keep_together_within_line () fo_list_block_get_keep_together_within_lineFoProperty* fo_list_block_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_list_block_set_keep_together_within_line () fo_list_block_set_keep_together_within_linevoid fo_list_block_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_list_block_get_keep_together_within_page () fo_list_block_get_keep_together_within_pageFoProperty* fo_list_block_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_list_block_set_keep_together_within_page () fo_list_block_set_keep_together_within_pagevoid fo_list_block_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_list_block_get_keep_with_next () fo_list_block_get_keep_with_nextFoProperty* fo_list_block_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_list_block_set_keep_with_next () fo_list_block_set_keep_with_nextvoid fo_list_block_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_list_block_get_keep_with_next_within_column () fo_list_block_get_keep_with_next_within_columnFoProperty* fo_list_block_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_list_block_set_keep_with_next_within_column () fo_list_block_set_keep_with_next_within_columnvoid fo_list_block_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_list_block_get_keep_with_next_within_line () fo_list_block_get_keep_with_next_within_lineFoProperty* fo_list_block_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_list_block_set_keep_with_next_within_line () fo_list_block_set_keep_with_next_within_linevoid fo_list_block_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_list_block_get_keep_with_next_within_page () fo_list_block_get_keep_with_next_within_pageFoProperty* fo_list_block_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_list_block_set_keep_with_next_within_page () fo_list_block_set_keep_with_next_within_pagevoid fo_list_block_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_list_block_get_keep_with_previous () fo_list_block_get_keep_with_previousFoProperty* fo_list_block_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_list_block_set_keep_with_previous () fo_list_block_set_keep_with_previousvoid fo_list_block_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_list_block_get_keep_with_previous_within_column () fo_list_block_get_keep_with_previous_within_columnFoProperty* fo_list_block_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_list_block_set_keep_with_previous_within_column () fo_list_block_set_keep_with_previous_within_columnvoid fo_list_block_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_list_block_get_keep_with_previous_within_line () fo_list_block_get_keep_with_previous_within_lineFoProperty* fo_list_block_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_list_block_set_keep_with_previous_within_line () fo_list_block_set_keep_with_previous_within_linevoid fo_list_block_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_list_block_get_keep_with_previous_within_page () fo_list_block_get_keep_with_previous_within_pageFoProperty* fo_list_block_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_list_block_set_keep_with_previous_within_page () fo_list_block_set_keep_with_previous_within_pagevoid fo_list_block_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_list_block_get_margin_bottom () fo_list_block_get_margin_bottomFoProperty* fo_list_block_get_margin_bottom (FoFo *fo_fo); Gets the "margin-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "margin-bottom" property value fo_list_block_set_margin_bottom () fo_list_block_set_margin_bottomvoid fo_list_block_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_fo to new_margin_bottom fo_fo : The FoFo object new_margin_bottom : The new "margin-bottom" property value fo_list_block_get_margin_left () fo_list_block_get_margin_leftFoProperty* fo_list_block_get_margin_left (FoFo *fo_fo); Gets the "margin-left" property of fo_fo fo_fo : The FoFo object Returns : The "margin-left" property value fo_list_block_set_margin_left () fo_list_block_set_margin_leftvoid fo_list_block_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); Sets the "margin-left" property of fo_fo to new_margin_left fo_fo : The FoFo object new_margin_left : The new "margin-left" property value fo_list_block_get_margin_right () fo_list_block_get_margin_rightFoProperty* fo_list_block_get_margin_right (FoFo *fo_fo); Gets the "margin-right" property of fo_fo fo_fo : The FoFo object Returns : The "margin-right" property value fo_list_block_set_margin_right () fo_list_block_set_margin_rightvoid fo_list_block_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); Sets the "margin-right" property of fo_fo to new_margin_right fo_fo : The FoFo object new_margin_right : The new "margin-right" property value fo_list_block_get_margin_top () fo_list_block_get_margin_topFoProperty* fo_list_block_get_margin_top (FoFo *fo_fo); Gets the "margin-top" property of fo_fo fo_fo : The FoFo object Returns : The "margin-top" property value fo_list_block_set_margin_top () fo_list_block_set_margin_topvoid fo_list_block_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); Sets the "margin-top" property of fo_fo to new_margin_top fo_fo : The FoFo object new_margin_top : The new "margin-top" property value fo_list_block_get_padding_after () fo_list_block_get_padding_afterFoProperty* fo_list_block_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_list_block_set_padding_after () fo_list_block_set_padding_aftervoid fo_list_block_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_list_block_get_padding_before () fo_list_block_get_padding_beforeFoProperty* fo_list_block_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_list_block_set_padding_before () fo_list_block_set_padding_beforevoid fo_list_block_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_list_block_get_padding_bottom () fo_list_block_get_padding_bottomFoProperty* fo_list_block_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_list_block_set_padding_bottom () fo_list_block_set_padding_bottomvoid fo_list_block_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_list_block_get_padding_end () fo_list_block_get_padding_endFoProperty* fo_list_block_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_list_block_set_padding_end () fo_list_block_set_padding_endvoid fo_list_block_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_list_block_get_padding_left () fo_list_block_get_padding_leftFoProperty* fo_list_block_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_list_block_set_padding_left () fo_list_block_set_padding_leftvoid fo_list_block_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_list_block_get_padding_right () fo_list_block_get_padding_rightFoProperty* fo_list_block_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_list_block_set_padding_right () fo_list_block_set_padding_rightvoid fo_list_block_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_list_block_get_padding_start () fo_list_block_get_padding_startFoProperty* fo_list_block_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_list_block_set_padding_start () fo_list_block_set_padding_startvoid fo_list_block_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_list_block_get_padding_top () fo_list_block_get_padding_topFoProperty* fo_list_block_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_list_block_set_padding_top () fo_list_block_set_padding_topvoid fo_list_block_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_list_block_get_provisional_distance_between_starts () fo_list_block_get_provisional_distance_between_startsFoProperty* fo_list_block_get_provisional_distance_between_starts (FoFo *fo_fo); Gets the "provisional-distance-between-starts" property of fo_fo fo_fo : The FoFo object Returns : The "provisional-distance-between-starts" property value fo_list_block_set_provisional_distance_between_starts () fo_list_block_set_provisional_distance_between_startsvoid fo_list_block_set_provisional_distance_between_starts (FoFo *fo_fo, FoProperty *new_provisional_distance_between_starts); Sets the "provisional-distance-between-starts" property of fo_fo to new_provisional_distance_between_starts fo_fo : The FoFo object new_provisional_distance_between_starts : The new "provisional-distance-between-starts" property value fo_list_block_get_provisional_label_separation () fo_list_block_get_provisional_label_separationFoProperty* fo_list_block_get_provisional_label_separation (FoFo *fo_fo); Gets the "provisional-label-separation" property of fo_fo fo_fo : The FoFo object Returns : The "provisional-label-separation" property value fo_list_block_set_provisional_label_separation () fo_list_block_set_provisional_label_separationvoid fo_list_block_set_provisional_label_separation (FoFo *fo_fo, FoProperty *new_provisional_label_separation); Sets the "provisional-label-separation" property of fo_fo to new_provisional_label_separation fo_fo : The FoFo object new_provisional_label_separation : The new "provisional-label-separation" property value fo_list_block_get_role () fo_list_block_get_roleFoProperty* fo_list_block_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_list_block_set_role () fo_list_block_set_rolevoid fo_list_block_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_list_block_get_source_document () fo_list_block_get_source_documentFoProperty* fo_list_block_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_list_block_set_source_document () fo_list_block_set_source_documentvoid fo_list_block_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_list_block_get_space_after () fo_list_block_get_space_afterFoProperty* fo_list_block_get_space_after (FoFo *fo_fo); Gets the "space-after" property of fo_fo fo_fo : The FoFo object Returns : The "space-after" property value fo_list_block_set_space_after () fo_list_block_set_space_aftervoid fo_list_block_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); Sets the "space-after" property of fo_fo to new_space_after fo_fo : The FoFo object new_space_after : The new "space-after" property value fo_list_block_get_space_before () fo_list_block_get_space_beforeFoProperty* fo_list_block_get_space_before (FoFo *fo_fo); Gets the "space-before" property of fo_fo fo_fo : The FoFo object Returns : The "space-before" property value fo_list_block_set_space_before () fo_list_block_set_space_beforevoid fo_list_block_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); Sets the "space-before" property of fo_fo to new_space_before fo_fo : The FoFo object new_space_before : The new "space-before" property value fo_list_block_get_start_indent () fo_list_block_get_start_indentFoProperty* fo_list_block_get_start_indent (FoFo *fo_fo); Gets the "start-indent" property of fo_fo fo_fo : The FoFo object Returns : The "start-indent" property value fo_list_block_set_start_indent () fo_list_block_set_start_indentvoid fo_list_block_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Sets the "start-indent" property of fo_fo to new_start_indent fo_fo : The FoFo object new_start_indent : The new "start-indent" property value Property Details The <literal>"background-color"</literal> property FoListBlock:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoListBlock:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"body-start"</literal> property FoListBlock:body-start "body-start" FoDatatype* : Read Body Start property. The <literal>"border-after-color"</literal> property FoListBlock:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoListBlock:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoListBlock:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoListBlock:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoListBlock:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoListBlock:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoListBlock:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoListBlock:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoListBlock:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoListBlock:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoListBlock:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoListBlock:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoListBlock:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoListBlock:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoListBlock:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoListBlock:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoListBlock:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoListBlock:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoListBlock:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoListBlock:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoListBlock:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoListBlock:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoListBlock:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoListBlock:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"break-after"</literal> property FoListBlock:break-after "break-after" FoProperty* : Read Break After property. The <literal>"break-before"</literal> property FoListBlock:break-before "break-before" FoProperty* : Read Break Before property. The <literal>"end-indent"</literal> property FoListBlock:end-indent "end-indent" FoProperty* : Read End Indent property. The <literal>"id"</literal> property FoListBlock:id "id" FoProperty* : Read Id property. The <literal>"keep-together"</literal> property FoListBlock:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoListBlock:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoListBlock:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoListBlock:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoListBlock:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoListBlock:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoListBlock:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoListBlock:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoListBlock:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoListBlock:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoListBlock:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoListBlock:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"label-end"</literal> property FoListBlock:label-end "label-end" FoDatatype* : Read Label End property. The <literal>"margin-bottom"</literal> property FoListBlock:margin-bottom "margin-bottom" FoProperty* : Read Margin Bottom property. The <literal>"margin-left"</literal> property FoListBlock:margin-left "margin-left" FoProperty* : Read Margin Left property. The <literal>"margin-right"</literal> property FoListBlock:margin-right "margin-right" FoProperty* : Read Margin Right property. The <literal>"margin-top"</literal> property FoListBlock:margin-top "margin-top" FoProperty* : Read Margin Top property. The <literal>"padding-after"</literal> property FoListBlock:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoListBlock:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoListBlock:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoListBlock:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoListBlock:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoListBlock:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoListBlock:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoListBlock:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"provisional-distance-between-starts"</literal> property FoListBlock:provisional-distance-between-starts "provisional-distance-between-starts" FoProperty* : Read Provisional Distance Between Starts property. The <literal>"provisional-label-separation"</literal> property FoListBlock:provisional-label-separation "provisional-label-separation" FoProperty* : Read Provisional Label Separation property. The <literal>"role"</literal> property FoListBlock:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoListBlock:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-after"</literal> property FoListBlock:space-after "space-after" FoProperty* : Read Space After property. The <literal>"space-before"</literal> property FoListBlock:space-before "space-before" FoProperty* : Read Space Before property. The <literal>"start-indent"</literal> property FoListBlock:start-indent "start-indent" FoProperty* : Read Start Indent property. xmlroff-0.6.2/docs/xml/fo-list-item-body.xml0000644000175000017500000006226011156164732015647 00000000000000 list-item-body 3 XMLROFF Library list-item-body Synopsis FoListItemBody; FoListItemBodyClass; FoFo* fo_list_item_body_new (void); FoProperty* fo_list_item_body_get_id (FoFo *fo_fo); void fo_list_item_body_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_list_item_body_get_keep_together (FoFo *fo_fo); void fo_list_item_body_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_list_item_body_get_keep_together_within_column (FoFo *fo_fo); void fo_list_item_body_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_list_item_body_get_keep_together_within_line (FoFo *fo_fo); void fo_list_item_body_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_list_item_body_get_keep_together_within_page (FoFo *fo_fo); void fo_list_item_body_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_list_item_body_get_role (FoFo *fo_fo); void fo_list_item_body_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_list_item_body_get_source_document (FoFo *fo_fo); void fo_list_item_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoListItemBody Properties "id" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoListItemBody FoListItemBodytypedef struct _FoListItemBody FoListItemBody; FoListItemBodyClass FoListItemBodyClasstypedef struct _FoListItemBodyClass FoListItemBodyClass; fo_list_item_body_new () fo_list_item_body_newFoFo* fo_list_item_body_new (void); Creates a new FoListItemBody initialized to default value. Returns : the new FoListItemBody. fo_list_item_body_get_id () fo_list_item_body_get_idFoProperty* fo_list_item_body_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_list_item_body_set_id () fo_list_item_body_set_idvoid fo_list_item_body_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_list_item_body_get_keep_together () fo_list_item_body_get_keep_togetherFoProperty* fo_list_item_body_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_list_item_body_set_keep_together () fo_list_item_body_set_keep_togethervoid fo_list_item_body_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_list_item_body_get_keep_together_within_column () fo_list_item_body_get_keep_together_within_columnFoProperty* fo_list_item_body_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_list_item_body_set_keep_together_within_column () fo_list_item_body_set_keep_together_within_columnvoid fo_list_item_body_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_list_item_body_get_keep_together_within_line () fo_list_item_body_get_keep_together_within_lineFoProperty* fo_list_item_body_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_list_item_body_set_keep_together_within_line () fo_list_item_body_set_keep_together_within_linevoid fo_list_item_body_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_list_item_body_get_keep_together_within_page () fo_list_item_body_get_keep_together_within_pageFoProperty* fo_list_item_body_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_list_item_body_set_keep_together_within_page () fo_list_item_body_set_keep_together_within_pagevoid fo_list_item_body_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_list_item_body_get_role () fo_list_item_body_get_roleFoProperty* fo_list_item_body_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_list_item_body_set_role () fo_list_item_body_set_rolevoid fo_list_item_body_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_list_item_body_get_source_document () fo_list_item_body_get_source_documentFoProperty* fo_list_item_body_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_list_item_body_set_source_document () fo_list_item_body_set_source_documentvoid fo_list_item_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value Property Details The <literal>"id"</literal> property FoListItemBody:id "id" FoProperty* : Read Id property. The <literal>"keep-together"</literal> property FoListItemBody:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoListItemBody:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoListItemBody:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoListItemBody:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"role"</literal> property FoListItemBody:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoListItemBody:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-list-item-label.xml0000644000175000017500000006305311156164732015772 00000000000000 list-item-label 3 XMLROFF Library list-item-label Synopsis FoListItemLabel; FoListItemLabelClass; FoFo* fo_list_item_label_new (void); FoProperty* fo_list_item_label_get_id (FoFo *fo_fo); void fo_list_item_label_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_list_item_label_get_keep_together (FoFo *fo_fo); void fo_list_item_label_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_list_item_label_get_keep_together_within_column (FoFo *fo_fo); void fo_list_item_label_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_list_item_label_get_keep_together_within_line (FoFo *fo_fo); void fo_list_item_label_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_list_item_label_get_keep_together_within_page (FoFo *fo_fo); void fo_list_item_label_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_list_item_label_get_role (FoFo *fo_fo); void fo_list_item_label_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_list_item_label_get_source_document (FoFo *fo_fo); void fo_list_item_label_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoListItemLabel Properties "id" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoListItemLabel FoListItemLabeltypedef struct _FoListItemLabel FoListItemLabel; FoListItemLabelClass FoListItemLabelClasstypedef struct _FoListItemLabelClass FoListItemLabelClass; fo_list_item_label_new () fo_list_item_label_newFoFo* fo_list_item_label_new (void); Creates a new FoListItemLabel initialized to default value. Returns : the new FoListItemLabel. fo_list_item_label_get_id () fo_list_item_label_get_idFoProperty* fo_list_item_label_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_list_item_label_set_id () fo_list_item_label_set_idvoid fo_list_item_label_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_list_item_label_get_keep_together () fo_list_item_label_get_keep_togetherFoProperty* fo_list_item_label_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_list_item_label_set_keep_together () fo_list_item_label_set_keep_togethervoid fo_list_item_label_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_list_item_label_get_keep_together_within_column () fo_list_item_label_get_keep_together_within_columnFoProperty* fo_list_item_label_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_list_item_label_set_keep_together_within_column () fo_list_item_label_set_keep_together_within_columnvoid fo_list_item_label_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_list_item_label_get_keep_together_within_line () fo_list_item_label_get_keep_together_within_lineFoProperty* fo_list_item_label_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_list_item_label_set_keep_together_within_line () fo_list_item_label_set_keep_together_within_linevoid fo_list_item_label_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_list_item_label_get_keep_together_within_page () fo_list_item_label_get_keep_together_within_pageFoProperty* fo_list_item_label_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_list_item_label_set_keep_together_within_page () fo_list_item_label_set_keep_together_within_pagevoid fo_list_item_label_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_list_item_label_get_role () fo_list_item_label_get_roleFoProperty* fo_list_item_label_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_list_item_label_set_role () fo_list_item_label_set_rolevoid fo_list_item_label_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_list_item_label_get_source_document () fo_list_item_label_get_source_documentFoProperty* fo_list_item_label_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_list_item_label_set_source_document () fo_list_item_label_set_source_documentvoid fo_list_item_label_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value Property Details The <literal>"id"</literal> property FoListItemLabel:id "id" FoProperty* : Read Id property. The <literal>"keep-together"</literal> property FoListItemLabel:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoListItemLabel:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoListItemLabel:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoListItemLabel:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"role"</literal> property FoListItemLabel:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoListItemLabel:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-list-item.xml0000644000175000017500000055232611156164732014723 00000000000000 list-item 3 XMLROFF Library list-item Synopsis FoListItem; FoListItemClass; FoFo* fo_list_item_new (void); FoProperty* fo_list_item_get_background_color (FoFo *fo_fo); void fo_list_item_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_list_item_get_background_image (FoFo *fo_fo); void fo_list_item_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_list_item_get_border_after_color (FoFo *fo_fo); void fo_list_item_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_list_item_get_border_after_style (FoFo *fo_fo); void fo_list_item_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_list_item_get_border_after_width (FoFo *fo_fo); void fo_list_item_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_list_item_get_border_before_color (FoFo *fo_fo); void fo_list_item_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_list_item_get_border_before_style (FoFo *fo_fo); void fo_list_item_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_list_item_get_border_before_width (FoFo *fo_fo); void fo_list_item_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_list_item_get_border_bottom_color (FoFo *fo_fo); void fo_list_item_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_list_item_get_border_bottom_style (FoFo *fo_fo); void fo_list_item_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_list_item_get_border_bottom_width (FoFo *fo_fo); void fo_list_item_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_list_item_get_border_end_color (FoFo *fo_fo); void fo_list_item_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_list_item_get_border_end_style (FoFo *fo_fo); void fo_list_item_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_list_item_get_border_end_width (FoFo *fo_fo); void fo_list_item_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_list_item_get_border_left_color (FoFo *fo_fo); void fo_list_item_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_list_item_get_border_left_style (FoFo *fo_fo); void fo_list_item_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_list_item_get_border_left_width (FoFo *fo_fo); void fo_list_item_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_list_item_get_border_right_color (FoFo *fo_fo); void fo_list_item_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_list_item_get_border_right_style (FoFo *fo_fo); void fo_list_item_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_list_item_get_border_right_width (FoFo *fo_fo); void fo_list_item_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_list_item_get_border_start_color (FoFo *fo_fo); void fo_list_item_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_list_item_get_border_start_style (FoFo *fo_fo); void fo_list_item_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_list_item_get_border_start_width (FoFo *fo_fo); void fo_list_item_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_list_item_get_border_top_color (FoFo *fo_fo); void fo_list_item_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_list_item_get_border_top_style (FoFo *fo_fo); void fo_list_item_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_list_item_get_border_top_width (FoFo *fo_fo); void fo_list_item_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_list_item_get_break_after (FoFo *fo_fo); void fo_list_item_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty* fo_list_item_get_break_before (FoFo *fo_fo); void fo_list_item_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty* fo_list_item_get_end_indent (FoFo *fo_fo); void fo_list_item_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty* fo_list_item_get_id (FoFo *fo_fo); void fo_list_item_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_list_item_get_keep_together (FoFo *fo_fo); void fo_list_item_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_list_item_get_keep_together_within_column (FoFo *fo_fo); void fo_list_item_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_list_item_get_keep_together_within_line (FoFo *fo_fo); void fo_list_item_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_list_item_get_keep_together_within_page (FoFo *fo_fo); void fo_list_item_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_list_item_get_keep_with_next (FoFo *fo_fo); void fo_list_item_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_list_item_get_keep_with_next_within_column (FoFo *fo_fo); void fo_list_item_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_list_item_get_keep_with_next_within_line (FoFo *fo_fo); void fo_list_item_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_list_item_get_keep_with_next_within_page (FoFo *fo_fo); void fo_list_item_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_list_item_get_keep_with_previous (FoFo *fo_fo); void fo_list_item_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_list_item_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_list_item_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_list_item_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_list_item_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_list_item_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_list_item_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_list_item_get_margin_bottom (FoFo *fo_fo); void fo_list_item_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty* fo_list_item_get_margin_left (FoFo *fo_fo); void fo_list_item_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty* fo_list_item_get_margin_right (FoFo *fo_fo); void fo_list_item_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty* fo_list_item_get_margin_top (FoFo *fo_fo); void fo_list_item_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty* fo_list_item_get_padding_after (FoFo *fo_fo); void fo_list_item_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_list_item_get_padding_before (FoFo *fo_fo); void fo_list_item_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_list_item_get_padding_bottom (FoFo *fo_fo); void fo_list_item_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_list_item_get_padding_end (FoFo *fo_fo); void fo_list_item_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_list_item_get_padding_left (FoFo *fo_fo); void fo_list_item_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_list_item_get_padding_right (FoFo *fo_fo); void fo_list_item_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_list_item_get_padding_start (FoFo *fo_fo); void fo_list_item_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_list_item_get_padding_top (FoFo *fo_fo); void fo_list_item_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_list_item_get_role (FoFo *fo_fo); void fo_list_item_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_list_item_get_source_document (FoFo *fo_fo); void fo_list_item_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_list_item_get_space_after (FoFo *fo_fo); void fo_list_item_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty* fo_list_item_get_space_before (FoFo *fo_fo); void fo_list_item_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty* fo_list_item_get_start_indent (FoFo *fo_fo); void fo_list_item_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoListItem Implemented Interfaces FoListItem implements FoBlockFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "break-after" FoProperty* : Read "break-before" FoProperty* : Read "end-indent" FoProperty* : Read "id" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "margin-bottom" FoProperty* : Read "margin-left" FoProperty* : Read "margin-right" FoProperty* : Read "margin-top" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "space-after" FoProperty* : Read "space-before" FoProperty* : Read "start-indent" FoProperty* : Read Description Details FoListItem FoListItemtypedef struct _FoListItem FoListItem; FoListItemClass FoListItemClasstypedef struct _FoListItemClass FoListItemClass; fo_list_item_new () fo_list_item_newFoFo* fo_list_item_new (void); Creates a new FoListItem initialized to default value. Returns : the new FoListItem. fo_list_item_get_background_color () fo_list_item_get_background_colorFoProperty* fo_list_item_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_list_item_set_background_color () fo_list_item_set_background_colorvoid fo_list_item_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_list_item_get_background_image () fo_list_item_get_background_imageFoProperty* fo_list_item_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_list_item_set_background_image () fo_list_item_set_background_imagevoid fo_list_item_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_list_item_get_border_after_color () fo_list_item_get_border_after_colorFoProperty* fo_list_item_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_list_item_set_border_after_color () fo_list_item_set_border_after_colorvoid fo_list_item_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_list_item_get_border_after_style () fo_list_item_get_border_after_styleFoProperty* fo_list_item_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_list_item_set_border_after_style () fo_list_item_set_border_after_stylevoid fo_list_item_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_list_item_get_border_after_width () fo_list_item_get_border_after_widthFoProperty* fo_list_item_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_list_item_set_border_after_width () fo_list_item_set_border_after_widthvoid fo_list_item_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_list_item_get_border_before_color () fo_list_item_get_border_before_colorFoProperty* fo_list_item_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_list_item_set_border_before_color () fo_list_item_set_border_before_colorvoid fo_list_item_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_list_item_get_border_before_style () fo_list_item_get_border_before_styleFoProperty* fo_list_item_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_list_item_set_border_before_style () fo_list_item_set_border_before_stylevoid fo_list_item_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_list_item_get_border_before_width () fo_list_item_get_border_before_widthFoProperty* fo_list_item_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_list_item_set_border_before_width () fo_list_item_set_border_before_widthvoid fo_list_item_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_list_item_get_border_bottom_color () fo_list_item_get_border_bottom_colorFoProperty* fo_list_item_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_list_item_set_border_bottom_color () fo_list_item_set_border_bottom_colorvoid fo_list_item_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_list_item_get_border_bottom_style () fo_list_item_get_border_bottom_styleFoProperty* fo_list_item_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_list_item_set_border_bottom_style () fo_list_item_set_border_bottom_stylevoid fo_list_item_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_list_item_get_border_bottom_width () fo_list_item_get_border_bottom_widthFoProperty* fo_list_item_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_list_item_set_border_bottom_width () fo_list_item_set_border_bottom_widthvoid fo_list_item_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_list_item_get_border_end_color () fo_list_item_get_border_end_colorFoProperty* fo_list_item_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_list_item_set_border_end_color () fo_list_item_set_border_end_colorvoid fo_list_item_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_list_item_get_border_end_style () fo_list_item_get_border_end_styleFoProperty* fo_list_item_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_list_item_set_border_end_style () fo_list_item_set_border_end_stylevoid fo_list_item_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_list_item_get_border_end_width () fo_list_item_get_border_end_widthFoProperty* fo_list_item_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_list_item_set_border_end_width () fo_list_item_set_border_end_widthvoid fo_list_item_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_list_item_get_border_left_color () fo_list_item_get_border_left_colorFoProperty* fo_list_item_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_list_item_set_border_left_color () fo_list_item_set_border_left_colorvoid fo_list_item_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_list_item_get_border_left_style () fo_list_item_get_border_left_styleFoProperty* fo_list_item_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_list_item_set_border_left_style () fo_list_item_set_border_left_stylevoid fo_list_item_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_list_item_get_border_left_width () fo_list_item_get_border_left_widthFoProperty* fo_list_item_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_list_item_set_border_left_width () fo_list_item_set_border_left_widthvoid fo_list_item_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_list_item_get_border_right_color () fo_list_item_get_border_right_colorFoProperty* fo_list_item_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_list_item_set_border_right_color () fo_list_item_set_border_right_colorvoid fo_list_item_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_list_item_get_border_right_style () fo_list_item_get_border_right_styleFoProperty* fo_list_item_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_list_item_set_border_right_style () fo_list_item_set_border_right_stylevoid fo_list_item_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_list_item_get_border_right_width () fo_list_item_get_border_right_widthFoProperty* fo_list_item_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_list_item_set_border_right_width () fo_list_item_set_border_right_widthvoid fo_list_item_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_list_item_get_border_start_color () fo_list_item_get_border_start_colorFoProperty* fo_list_item_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_list_item_set_border_start_color () fo_list_item_set_border_start_colorvoid fo_list_item_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_list_item_get_border_start_style () fo_list_item_get_border_start_styleFoProperty* fo_list_item_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_list_item_set_border_start_style () fo_list_item_set_border_start_stylevoid fo_list_item_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_list_item_get_border_start_width () fo_list_item_get_border_start_widthFoProperty* fo_list_item_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_list_item_set_border_start_width () fo_list_item_set_border_start_widthvoid fo_list_item_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_list_item_get_border_top_color () fo_list_item_get_border_top_colorFoProperty* fo_list_item_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_list_item_set_border_top_color () fo_list_item_set_border_top_colorvoid fo_list_item_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_list_item_get_border_top_style () fo_list_item_get_border_top_styleFoProperty* fo_list_item_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_list_item_set_border_top_style () fo_list_item_set_border_top_stylevoid fo_list_item_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_list_item_get_border_top_width () fo_list_item_get_border_top_widthFoProperty* fo_list_item_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_list_item_set_border_top_width () fo_list_item_set_border_top_widthvoid fo_list_item_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_list_item_get_break_after () fo_list_item_get_break_afterFoProperty* fo_list_item_get_break_after (FoFo *fo_fo); Gets the "break-after" property of fo_fo fo_fo : The FoFo object Returns : The "break-after" property value fo_list_item_set_break_after () fo_list_item_set_break_aftervoid fo_list_item_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); Sets the "break-after" property of fo_fo to new_break_after fo_fo : The FoFo object new_break_after : The new "break-after" property value fo_list_item_get_break_before () fo_list_item_get_break_beforeFoProperty* fo_list_item_get_break_before (FoFo *fo_fo); Gets the "break-before" property of fo_fo fo_fo : The FoFo object Returns : The "break-before" property value fo_list_item_set_break_before () fo_list_item_set_break_beforevoid fo_list_item_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); Sets the "break-before" property of fo_fo to new_break_before fo_fo : The FoFo object new_break_before : The new "break-before" property value fo_list_item_get_end_indent () fo_list_item_get_end_indentFoProperty* fo_list_item_get_end_indent (FoFo *fo_fo); Gets the "end-indent" property of fo_fo fo_fo : The FoFo object Returns : The "end-indent" property value fo_list_item_set_end_indent () fo_list_item_set_end_indentvoid fo_list_item_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); Sets the "end-indent" property of fo_fo to new_end_indent fo_fo : The FoFo object new_end_indent : The new "end-indent" property value fo_list_item_get_id () fo_list_item_get_idFoProperty* fo_list_item_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_list_item_set_id () fo_list_item_set_idvoid fo_list_item_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_list_item_get_keep_together () fo_list_item_get_keep_togetherFoProperty* fo_list_item_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_list_item_set_keep_together () fo_list_item_set_keep_togethervoid fo_list_item_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_list_item_get_keep_together_within_column () fo_list_item_get_keep_together_within_columnFoProperty* fo_list_item_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_list_item_set_keep_together_within_column () fo_list_item_set_keep_together_within_columnvoid fo_list_item_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_list_item_get_keep_together_within_line () fo_list_item_get_keep_together_within_lineFoProperty* fo_list_item_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_list_item_set_keep_together_within_line () fo_list_item_set_keep_together_within_linevoid fo_list_item_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_list_item_get_keep_together_within_page () fo_list_item_get_keep_together_within_pageFoProperty* fo_list_item_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_list_item_set_keep_together_within_page () fo_list_item_set_keep_together_within_pagevoid fo_list_item_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_list_item_get_keep_with_next () fo_list_item_get_keep_with_nextFoProperty* fo_list_item_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_list_item_set_keep_with_next () fo_list_item_set_keep_with_nextvoid fo_list_item_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_list_item_get_keep_with_next_within_column () fo_list_item_get_keep_with_next_within_columnFoProperty* fo_list_item_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_list_item_set_keep_with_next_within_column () fo_list_item_set_keep_with_next_within_columnvoid fo_list_item_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_list_item_get_keep_with_next_within_line () fo_list_item_get_keep_with_next_within_lineFoProperty* fo_list_item_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_list_item_set_keep_with_next_within_line () fo_list_item_set_keep_with_next_within_linevoid fo_list_item_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_list_item_get_keep_with_next_within_page () fo_list_item_get_keep_with_next_within_pageFoProperty* fo_list_item_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_list_item_set_keep_with_next_within_page () fo_list_item_set_keep_with_next_within_pagevoid fo_list_item_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_list_item_get_keep_with_previous () fo_list_item_get_keep_with_previousFoProperty* fo_list_item_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_list_item_set_keep_with_previous () fo_list_item_set_keep_with_previousvoid fo_list_item_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_list_item_get_keep_with_previous_within_column () fo_list_item_get_keep_with_previous_within_columnFoProperty* fo_list_item_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_list_item_set_keep_with_previous_within_column () fo_list_item_set_keep_with_previous_within_columnvoid fo_list_item_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_list_item_get_keep_with_previous_within_line () fo_list_item_get_keep_with_previous_within_lineFoProperty* fo_list_item_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_list_item_set_keep_with_previous_within_line () fo_list_item_set_keep_with_previous_within_linevoid fo_list_item_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_list_item_get_keep_with_previous_within_page () fo_list_item_get_keep_with_previous_within_pageFoProperty* fo_list_item_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_list_item_set_keep_with_previous_within_page () fo_list_item_set_keep_with_previous_within_pagevoid fo_list_item_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_list_item_get_margin_bottom () fo_list_item_get_margin_bottomFoProperty* fo_list_item_get_margin_bottom (FoFo *fo_fo); Gets the "margin-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "margin-bottom" property value fo_list_item_set_margin_bottom () fo_list_item_set_margin_bottomvoid fo_list_item_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_fo to new_margin_bottom fo_fo : The FoFo object new_margin_bottom : The new "margin-bottom" property value fo_list_item_get_margin_left () fo_list_item_get_margin_leftFoProperty* fo_list_item_get_margin_left (FoFo *fo_fo); Gets the "margin-left" property of fo_fo fo_fo : The FoFo object Returns : The "margin-left" property value fo_list_item_set_margin_left () fo_list_item_set_margin_leftvoid fo_list_item_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); Sets the "margin-left" property of fo_fo to new_margin_left fo_fo : The FoFo object new_margin_left : The new "margin-left" property value fo_list_item_get_margin_right () fo_list_item_get_margin_rightFoProperty* fo_list_item_get_margin_right (FoFo *fo_fo); Gets the "margin-right" property of fo_fo fo_fo : The FoFo object Returns : The "margin-right" property value fo_list_item_set_margin_right () fo_list_item_set_margin_rightvoid fo_list_item_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); Sets the "margin-right" property of fo_fo to new_margin_right fo_fo : The FoFo object new_margin_right : The new "margin-right" property value fo_list_item_get_margin_top () fo_list_item_get_margin_topFoProperty* fo_list_item_get_margin_top (FoFo *fo_fo); Gets the "margin-top" property of fo_fo fo_fo : The FoFo object Returns : The "margin-top" property value fo_list_item_set_margin_top () fo_list_item_set_margin_topvoid fo_list_item_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); Sets the "margin-top" property of fo_fo to new_margin_top fo_fo : The FoFo object new_margin_top : The new "margin-top" property value fo_list_item_get_padding_after () fo_list_item_get_padding_afterFoProperty* fo_list_item_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_list_item_set_padding_after () fo_list_item_set_padding_aftervoid fo_list_item_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_list_item_get_padding_before () fo_list_item_get_padding_beforeFoProperty* fo_list_item_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_list_item_set_padding_before () fo_list_item_set_padding_beforevoid fo_list_item_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_list_item_get_padding_bottom () fo_list_item_get_padding_bottomFoProperty* fo_list_item_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_list_item_set_padding_bottom () fo_list_item_set_padding_bottomvoid fo_list_item_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_list_item_get_padding_end () fo_list_item_get_padding_endFoProperty* fo_list_item_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_list_item_set_padding_end () fo_list_item_set_padding_endvoid fo_list_item_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_list_item_get_padding_left () fo_list_item_get_padding_leftFoProperty* fo_list_item_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_list_item_set_padding_left () fo_list_item_set_padding_leftvoid fo_list_item_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_list_item_get_padding_right () fo_list_item_get_padding_rightFoProperty* fo_list_item_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_list_item_set_padding_right () fo_list_item_set_padding_rightvoid fo_list_item_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_list_item_get_padding_start () fo_list_item_get_padding_startFoProperty* fo_list_item_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_list_item_set_padding_start () fo_list_item_set_padding_startvoid fo_list_item_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_list_item_get_padding_top () fo_list_item_get_padding_topFoProperty* fo_list_item_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_list_item_set_padding_top () fo_list_item_set_padding_topvoid fo_list_item_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_list_item_get_role () fo_list_item_get_roleFoProperty* fo_list_item_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_list_item_set_role () fo_list_item_set_rolevoid fo_list_item_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_list_item_get_source_document () fo_list_item_get_source_documentFoProperty* fo_list_item_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_list_item_set_source_document () fo_list_item_set_source_documentvoid fo_list_item_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_list_item_get_space_after () fo_list_item_get_space_afterFoProperty* fo_list_item_get_space_after (FoFo *fo_fo); Gets the "space-after" property of fo_fo fo_fo : The FoFo object Returns : The "space-after" property value fo_list_item_set_space_after () fo_list_item_set_space_aftervoid fo_list_item_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); Sets the "space-after" property of fo_fo to new_space_after fo_fo : The FoFo object new_space_after : The new "space-after" property value fo_list_item_get_space_before () fo_list_item_get_space_beforeFoProperty* fo_list_item_get_space_before (FoFo *fo_fo); Gets the "space-before" property of fo_fo fo_fo : The FoFo object Returns : The "space-before" property value fo_list_item_set_space_before () fo_list_item_set_space_beforevoid fo_list_item_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); Sets the "space-before" property of fo_fo to new_space_before fo_fo : The FoFo object new_space_before : The new "space-before" property value fo_list_item_get_start_indent () fo_list_item_get_start_indentFoProperty* fo_list_item_get_start_indent (FoFo *fo_fo); Gets the "start-indent" property of fo_fo fo_fo : The FoFo object Returns : The "start-indent" property value fo_list_item_set_start_indent () fo_list_item_set_start_indentvoid fo_list_item_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Sets the "start-indent" property of fo_fo to new_start_indent fo_fo : The FoFo object new_start_indent : The new "start-indent" property value Property Details The <literal>"background-color"</literal> property FoListItem:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoListItem:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoListItem:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoListItem:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoListItem:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoListItem:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoListItem:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoListItem:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoListItem:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoListItem:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoListItem:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoListItem:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoListItem:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoListItem:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoListItem:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoListItem:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoListItem:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoListItem:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoListItem:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoListItem:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoListItem:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoListItem:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoListItem:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoListItem:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoListItem:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoListItem:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"break-after"</literal> property FoListItem:break-after "break-after" FoProperty* : Read Break After property. The <literal>"break-before"</literal> property FoListItem:break-before "break-before" FoProperty* : Read Break Before property. The <literal>"end-indent"</literal> property FoListItem:end-indent "end-indent" FoProperty* : Read End Indent property. The <literal>"id"</literal> property FoListItem:id "id" FoProperty* : Read Id property. The <literal>"keep-together"</literal> property FoListItem:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoListItem:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoListItem:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoListItem:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoListItem:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoListItem:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoListItem:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoListItem:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoListItem:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoListItem:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoListItem:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoListItem:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"margin-bottom"</literal> property FoListItem:margin-bottom "margin-bottom" FoProperty* : Read Margin Bottom property. The <literal>"margin-left"</literal> property FoListItem:margin-left "margin-left" FoProperty* : Read Margin Left property. The <literal>"margin-right"</literal> property FoListItem:margin-right "margin-right" FoProperty* : Read Margin Right property. The <literal>"margin-top"</literal> property FoListItem:margin-top "margin-top" FoProperty* : Read Margin Top property. The <literal>"padding-after"</literal> property FoListItem:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoListItem:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoListItem:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoListItem:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoListItem:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoListItem:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoListItem:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoListItem:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoListItem:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoListItem:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-after"</literal> property FoListItem:space-after "space-after" FoProperty* : Read Space After property. The <literal>"space-before"</literal> property FoListItem:space-before "space-before" FoProperty* : Read Space Before property. The <literal>"start-indent"</literal> property FoListItem:start-indent "start-indent" FoProperty* : Read Start Indent property. xmlroff-0.6.2/docs/xml/fo-marker-parent.xml0000644000175000017500000001236211156164732015553 00000000000000 fo-marker-parent 3 XMLROFF Library fo-marker-parent Synopsis FoMarkerParent; FoMarkerParentClass; FoFo* fo_marker_parent_new (void); void fo_marker_parent_update_from_context (FoFo *fo, FoContext *context); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoBasicLink +----FoBidiOverride +----FoBlock +----FoBlockContainer +----FoInlineContainer +----FoInline +----FoListBlock +----FoListItemBody +----FoListItem +----FoListItemLabel +----FoTableAndCaption +----FoTablePart +----FoTableCaption +----FoTableCell +----FoTable +----FoWrapper Description Details FoMarkerParent FoMarkerParenttypedef struct _FoMarkerParent FoMarkerParent; FoMarkerParentClass FoMarkerParentClasstypedef struct _FoMarkerParentClass FoMarkerParentClass; fo_marker_parent_new () fo_marker_parent_newFoFo* fo_marker_parent_new (void); Creates a new FoMarkerParent initialized to default value. Returns : the new FoMarkerParent. fo_marker_parent_update_from_context () fo_marker_parent_update_from_contextvoid fo_marker_parent_update_from_context (FoFo *fo, FoContext *context); fo : context : xmlroff-0.6.2/docs/xml/fo-marker.xml0000644000175000017500000000503111156164732014257 00000000000000 marker 3 XMLROFF Library marker Synopsis FoMarker; FoMarkerClass; FoFo* fo_marker_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarker Description Details FoMarker FoMarkertypedef struct _FoMarker FoMarker; FoMarkerClass FoMarkerClasstypedef struct _FoMarkerClass FoMarkerClass; fo_marker_new () fo_marker_newFoFo* fo_marker_new (void); Creates a new FoMarker initialized to default value. Returns : the new FoMarker xmlroff-0.6.2/docs/xml/fo-multi-case.xml0000644000175000017500000002625011156164732015047 00000000000000 multi-case 3 XMLROFF Library multi-case Synopsis FoMultiCase; FoMultiCaseClass; FoFo* fo_multi_case_new (void); void fo_multi_case_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_multi_case_get_id (FoFo *fo_fo); void fo_multi_case_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_multi_case_get_role (FoFo *fo_fo); void fo_multi_case_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_multi_case_get_source_document (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMultiCase Properties "id" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoMultiCase FoMultiCasetypedef struct _FoMultiCase FoMultiCase; FoMultiCaseClass FoMultiCaseClasstypedef struct _FoMultiCaseClass FoMultiCaseClass; fo_multi_case_new () fo_multi_case_newFoFo* fo_multi_case_new (void); Creates a new FoMultiCase initialized to default value. Returns : the new FoMultiCase. fo_multi_case_set_id () fo_multi_case_set_idvoid fo_multi_case_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_multi_case_get_id () fo_multi_case_get_idFoProperty* fo_multi_case_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_multi_case_set_role () fo_multi_case_set_rolevoid fo_multi_case_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_multi_case_get_role () fo_multi_case_get_roleFoProperty* fo_multi_case_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo. fo_fo : The FoFo object. Returns : The "role" property value. fo_multi_case_set_source_document () fo_multi_case_set_source_documentvoid fo_multi_case_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_multi_case_get_source_document () fo_multi_case_get_source_documentFoProperty* fo_multi_case_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo. fo_fo : The FoFo object. Returns : The "source-document" property value. Property Details The <literal>"id"</literal> property FoMultiCase:id "id" FoProperty* : Read Id property. The <literal>"role"</literal> property FoMultiCase:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoMultiCase:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-multi-properties.xml0000644000175000017500000003017311156164732016327 00000000000000 multi-properties 3 XMLROFF Library multi-properties Synopsis FoMultiProperties; FoMultiPropertiesClass; FoFo* fo_multi_properties_new (void); void fo_multi_properties_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_multi_properties_get_id (FoFo *fo_fo); void fo_multi_properties_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_multi_properties_get_role (FoFo *fo_fo); void fo_multi_properties_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_multi_properties_get_source_document (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMultiProperties Implemented Interfaces FoMultiProperties implements FoNeutralIface. Properties "id" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoMultiProperties FoMultiPropertiestypedef struct _FoMultiProperties FoMultiProperties; FoMultiPropertiesClass FoMultiPropertiesClasstypedef struct _FoMultiPropertiesClass FoMultiPropertiesClass; fo_multi_properties_new () fo_multi_properties_newFoFo* fo_multi_properties_new (void); Creates a new FoMultiProperties initialized to default value. Returns : the new FoMultiProperties. fo_multi_properties_set_id () fo_multi_properties_set_idvoid fo_multi_properties_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_multi_properties_get_id () fo_multi_properties_get_idFoProperty* fo_multi_properties_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_multi_properties_set_role () fo_multi_properties_set_rolevoid fo_multi_properties_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_multi_properties_get_role () fo_multi_properties_get_roleFoProperty* fo_multi_properties_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo. fo_fo : The FoFo object. Returns : The "role" property value. fo_multi_properties_set_source_document () fo_multi_properties_set_source_documentvoid fo_multi_properties_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_multi_properties_get_source_document () fo_multi_properties_get_source_documentFoProperty* fo_multi_properties_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo. fo_fo : The FoFo object. Returns : The "source-document" property value. Property Details The <literal>"id"</literal> property FoMultiProperties:id "id" FoProperty* : Read Id property. The <literal>"role"</literal> property FoMultiProperties:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoMultiProperties:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-multi-property-set.xml0000644000175000017500000001401211156164732016602 00000000000000 multi-property-set 3 XMLROFF Library multi-property-set Synopsis FoMultiPropertySet; FoMultiPropertySetClass; FoFo* fo_multi_property_set_new (void); void fo_multi_property_set_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_multi_property_set_get_id (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMultiPropertySet Properties "id" FoProperty* : Read Description Details FoMultiPropertySet FoMultiPropertySettypedef struct _FoMultiPropertySet FoMultiPropertySet; FoMultiPropertySetClass FoMultiPropertySetClasstypedef struct _FoMultiPropertySetClass FoMultiPropertySetClass; fo_multi_property_set_new () fo_multi_property_set_newFoFo* fo_multi_property_set_new (void); Creates a new FoMultiPropertySet initialized to default value. Returns : the new FoMultiPropertySet fo_multi_property_set_set_id () fo_multi_property_set_set_idvoid fo_multi_property_set_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the id property of multi_property_set to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_multi_property_set_get_id () fo_multi_property_set_get_idFoProperty* fo_multi_property_set_get_id (FoFo *fo_fo); Gets the id property of multi_property_set fo_fo : The FoFo object Returns : The "id" property value Property Details The <literal>"id"</literal> property FoMultiPropertySet:id "id" FoProperty* : Read Id property. xmlroff-0.6.2/docs/xml/fo-multi-switch.xml0000644000175000017500000002710711156164732015437 00000000000000 multi-switch 3 XMLROFF Library multi-switch Synopsis FoMultiSwitch; FoMultiSwitchClass; FoFo* fo_multi_switch_new (void); FoProperty* fo_multi_switch_get_id (FoFo *fo_fo); void fo_multi_switch_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_multi_switch_get_role (FoFo *fo_fo); void fo_multi_switch_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_multi_switch_get_source_document (FoFo *fo_fo); void fo_multi_switch_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMultiSwitch Implemented Interfaces FoMultiSwitch implements FoNeutralIface. Properties "id" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoMultiSwitch FoMultiSwitchtypedef struct _FoMultiSwitch FoMultiSwitch; FoMultiSwitchClass FoMultiSwitchClasstypedef struct _FoMultiSwitchClass FoMultiSwitchClass; fo_multi_switch_new () fo_multi_switch_newFoFo* fo_multi_switch_new (void); Creates a new FoMultiSwitch initialized to default value. Returns : the new FoMultiSwitch. fo_multi_switch_get_id () fo_multi_switch_get_idFoProperty* fo_multi_switch_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_multi_switch_set_id () fo_multi_switch_set_idvoid fo_multi_switch_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_multi_switch_get_role () fo_multi_switch_get_roleFoProperty* fo_multi_switch_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo. fo_fo : The FoFo object. Returns : The "role" property value. fo_multi_switch_set_role () fo_multi_switch_set_rolevoid fo_multi_switch_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_multi_switch_get_source_document () fo_multi_switch_get_source_documentFoProperty* fo_multi_switch_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo. fo_fo : The FoFo object. Returns : The "source-document" property value. fo_multi_switch_set_source_document () fo_multi_switch_set_source_documentvoid fo_multi_switch_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value Property Details The <literal>"id"</literal> property FoMultiSwitch:id "id" FoProperty* : Read Id property. The <literal>"role"</literal> property FoMultiSwitch:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoMultiSwitch:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-multi-toggle.xml0000644000175000017500000002711111156164732015412 00000000000000 multi-toggle 3 XMLROFF Library multi-toggle Synopsis FoMultiToggle; FoMultiToggleClass; FoFo* fo_multi_toggle_new (void); FoProperty* fo_multi_toggle_get_id (FoFo *fo_fo); void fo_multi_toggle_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_multi_toggle_get_role (FoFo *fo_fo); void fo_multi_toggle_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_multi_toggle_get_source_document (FoFo *fo_fo); void fo_multi_toggle_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMultiToggle Implemented Interfaces FoMultiToggle implements FoInlineFoIface. Properties "id" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoMultiToggle FoMultiToggletypedef struct _FoMultiToggle FoMultiToggle; FoMultiToggleClass FoMultiToggleClasstypedef struct _FoMultiToggleClass FoMultiToggleClass; fo_multi_toggle_new () fo_multi_toggle_newFoFo* fo_multi_toggle_new (void); Creates a new FoMultiToggle initialized to default value. Returns : the new FoMultiToggle. fo_multi_toggle_get_id () fo_multi_toggle_get_idFoProperty* fo_multi_toggle_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_multi_toggle_set_id () fo_multi_toggle_set_idvoid fo_multi_toggle_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_multi_toggle_get_role () fo_multi_toggle_get_roleFoProperty* fo_multi_toggle_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo. fo_fo : The FoFo object. Returns : The "role" property value. fo_multi_toggle_set_role () fo_multi_toggle_set_rolevoid fo_multi_toggle_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_multi_toggle_get_source_document () fo_multi_toggle_get_source_documentFoProperty* fo_multi_toggle_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo. fo_fo : The FoFo object. Returns : The "source-document" property value. fo_multi_toggle_set_source_document () fo_multi_toggle_set_source_documentvoid fo_multi_toggle_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value Property Details The <literal>"id"</literal> property FoMultiToggle:id "id" FoProperty* : Read Id property. The <literal>"role"</literal> property FoMultiToggle:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoMultiToggle:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-name.xml0000644000175000017500000001407211156164732013723 00000000000000 FoName 3 XMLROFF Library FoName Synopsis FoName; FoNameClass; FoDatatype* fo_name_new (void); FoDatatype* fo_name_new_with_value (const gchar *value); gchar* fo_name_get_value (FoDatatype *name); FoDatatype* fo_name_get_name_empty (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoName Properties "value" gchar* : Read / Write / Construct Only Description Details FoName FoNametypedef struct _FoName FoName; FoNameClass FoNameClasstypedef struct _FoNameClass FoNameClass; fo_name_new () fo_name_newFoDatatype* fo_name_new (void); Creates a new FoName initialized to default value. Returns : the new FoName. fo_name_new_with_value () fo_name_new_with_valueFoDatatype* fo_name_new_with_value (const gchar *value); Creates a new FoName set to value. value : Value of the new FoName. Returns : The new FoName. fo_name_get_value () fo_name_get_valuegchar* fo_name_get_value (FoDatatype *name); Get the value of name. name : FoName. Returns : String value of name. String must be freed by caller. fo_name_get_name_empty () fo_name_get_name_emptyFoDatatype* fo_name_get_name_empty (void); Get an FoName with the well-known value of an empty string. Returns : The FoName. Property Details The <literal>"value"</literal> property FoName:value "value" gchar* : Read / Write / Construct Only Name value.Default value: NULL xmlroff-0.6.2/docs/xml/fo-neutral-fo.xml0000644000175000017500000000412211156164732015052 00000000000000 FoNeutralFoIface 3 XMLROFF Library FoNeutralFoIface Synopsis #define FO_NEUTRAL_FO_IFACE (obj) FoNeutralFo; FoNeutralFoIface; Description Details FO_NEUTRAL_FO_IFACE() FO_NEUTRAL_FO_IFACE#define FO_NEUTRAL_FO_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_NEUTRAL_FO, FoNeutralFoIface)) obj : FoNeutralFo FoNeutralFotypedef struct _FoNeutralFo FoNeutralFo; FoNeutralFoIface FoNeutralFoIfacetypedef struct { GTypeInterface g_iface; } FoNeutralFoIface; xmlroff-0.6.2/docs/xml/fo-node.xml0000644000175000017500000013273311156164732013735 00000000000000 FoNode 3 XMLROFF Library FoNode Object for making trees Synopsis FoNode; FoNodeClass; FoNode* fo_node_new (void); gboolean (*FoNodeTraverseFunc) (FoNode *fo_node, gpointer data); void (*FoNodeForeachFunc) (FoNode *fo_node, gpointer data); #define FO_NODE_IS_ROOT (fo_node) #define FO_NODE_IS_LEAF (fo_node) FoNode* fo_node_get_ancestor_or_self_by_type (FoNode *node, const GType type); FoNode* fo_node_get_ancestor_or_self_by_name (FoNode *node, const gchar *name); FoNode* fo_node_get_child_by_type (FoNode *node, const GType type); FoNode* fo_node_get_child_by_name (FoNode *node, const gchar *name); FoNode* fo_node_insert (FoNode *parent, gint position, FoNode *fo_node); FoNode* fo_node_insert_before (FoNode *parent, FoNode *sibling, FoNode *fo_node); FoNode* fo_node_insert_after (FoNode *parent, FoNode *sibling, FoNode *fo_node); FoNode* fo_node_prepend (FoNode *parent, FoNode *fo_node); #define fo_node_n_nodes (root, flags) #define fo_node_get_root (root) #define fo_node_is_ancestor (fo_node, descendant) #define fo_node_depth (fo_node) FoNode* fo_node_append (FoNode *parent, FoNode *fo_node); void fo_node_traverse (FoNode *root, GTraverseType order, GTraverseFlags flags, gint max_depth, FoNodeTraverseFunc func, gpointer data); #define fo_node_max_height (root) void fo_node_children_foreach (FoNode *fo_node, GTraverseFlags flags, FoNodeForeachFunc func, gpointer data); #define fo_node_reverse_children (fo_node) #define fo_node_n_children (fo_node) #define fo_node_nth_child (fo_node, n) #define fo_node_last_child (fo_node) #define fo_node_child_position (fo_node, child) #define fo_node_first_sibling (fo_node) #define fo_node_last_sibling (fo_node) #define fo_node_prev_sibling (fo_node) FoNode* fo_node_next_sibling (FoNode *fo_node); FoNode* fo_node_first_child (FoNode *fo_node); FoNode* fo_node_parent (FoNode *fo_node); #define fo_node_unlink (fo_node) void fo_node_unlink_with_next_siblings (FoNode *fo_node); FoNode* fo_node_insert_with_next_siblings (FoNode *parent, gint position, FoNode *fo_node); void fo_node_debug_dump_tree (FoNode *fo_node, gint depth); Object Hierarchy GObject +----FoObject +----FoNode +----FoArea +----FoFo Properties "first-child" FoNode* : Read "next-sibling" FoNode* : Read "parent" FoNode* : Read Description FoObject child type that makes trees. Details FoNode FoNodetypedef struct _FoNode FoNode; Instance of FoNode. FoNodeClass FoNodeClasstypedef struct _FoNodeClass FoNodeClass; Class structure for FoNode. fo_node_new () fo_node_newFoNode* fo_node_new (void); Creates a new FoNode initialized to default value. Returns : the new FoNode FoNodeTraverseFunc () FoNodeTraverseFuncgboolean (*FoNodeTraverseFunc) (FoNode *fo_node, gpointer data); fo_node : data : Returns : FoNodeForeachFunc () FoNodeForeachFuncvoid (*FoNodeForeachFunc) (FoNode *fo_node, gpointer data); fo_node : data : FO_NODE_IS_ROOT() FO_NODE_IS_ROOT#define FO_NODE_IS_ROOT(fo_node) (G_NODE_IS_ROOT(((FoNode*) (fo_node))->node)) fo_node : FO_NODE_IS_LEAF() FO_NODE_IS_LEAF#define FO_NODE_IS_LEAF(fo_node) (G_NODE_IS_LEAF(((FoNode*) (fo_node))->node)) fo_node : fo_node_get_ancestor_or_self_by_type () fo_node_get_ancestor_or_self_by_typeFoNode* fo_node_get_ancestor_or_self_by_type (FoNode *node, const GType type); Find the nearest ancestor node, or node itself, with the same GType as type. Does not change the ref count of any node. node : FoNode at which to begin. type : Required GType of ancestor node. Returns : FoNode ancestor (or self) with required GType, or NULL. fo_node_get_ancestor_or_self_by_name () fo_node_get_ancestor_or_self_by_nameFoNode* fo_node_get_ancestor_or_self_by_name (FoNode *node, const gchar *name); Find the nearest ancestor node, or node itself, with the same name as name. Does not change the ref count of any node. node : FoNode at which to begin. name : Required name of ancestor node. Returns : FoNode ancestor (or self) with required GType, or NULL. fo_node_get_child_by_type () fo_node_get_child_by_typeFoNode* fo_node_get_child_by_type (FoNode *node, const GType type); Find the first child of node with GType matching type value. Does not change the ref count of any node. Allows 0 as value of type since may have been called by fo_node_get_child_by_name for a type that has yet to be instantiated. Of course, if type is 0, this function returns NULL. node : FoNode that is parent of nodes to be tested for matching GType. type : GType value. Returns : First child of specified type, or NULL. fo_node_get_child_by_name () fo_node_get_child_by_nameFoNode* fo_node_get_child_by_name (FoNode *node, const gchar *name); Find the first child of node with type name matching name value. Does not change the ref count of any node. node : FoNode that is parent of nodes to be tested for type name. name : Name of type. Returns : First child of specified type, or NULL. fo_node_insert () fo_node_insertFoNode* fo_node_insert (FoNode *parent, gint position, FoNode *fo_node); Inserts an FoNode beneath the parent at the given position. parent : The FoNode to place fo_node under. position : The position to place fo_node at, with respect to its siblings. If position is -1, fo_node is inserted as the last child of parent. fo_node : The FoNode to insert. Returns : The inserted FoNode. fo_node_insert_before () fo_node_insert_beforeFoNode* fo_node_insert_before (FoNode *parent, FoNode *sibling, FoNode *fo_node); Inserts an FoNode beneath the parent before the given sibling. parent : The FoNode to place fo_node under. sibling : The sibling FoNode to place fo_node before. If sibling is NULL, fo_node is inserted as the last child of parent. fo_node : The FoNode to insert. Returns : The inserted FoNode. fo_node_insert_after () fo_node_insert_afterFoNode* fo_node_insert_after (FoNode *parent, FoNode *sibling, FoNode *fo_node); Inserts an FoNode beneath the parent after the given sibling. parent : The FoNode to place fo_node under. sibling : The sibling FoNode to place fo_node after. If sibling is NULL, fo_node is inserted as the first child of parent. fo_node : The FoNode to insert. Returns : The inserted FoNode. fo_node_prepend () fo_node_prependFoNode* fo_node_prepend (FoNode *parent, FoNode *fo_node); Inserts an FoNode as the first child of the given parent. parent : The FoNode to place fo_node under. fo_node : The FoNode to insert. Returns : The inserted FoNode. fo_node_n_nodes() fo_node_n_nodes#define fo_node_n_nodes(root, flags) root : flags : fo_node_get_root() fo_node_get_root#define fo_node_get_root(root) root : fo_node_is_ancestor() fo_node_is_ancestor#define fo_node_is_ancestor(fo_node, descendant) fo_node : descendant : fo_node_depth() fo_node_depth#define fo_node_depth(fo_node) fo_node : fo_node_append () fo_node_appendFoNode* fo_node_append (FoNode *parent, FoNode *fo_node); Inserts an FoNode as the last child of the given parent. parent : The FoNode to place fo_node under. fo_node : The FoNode to insert. Returns : The inserted FoNode. fo_node_traverse () fo_node_traversevoid fo_node_traverse (FoNode *root, GTraverseType order, GTraverseFlags flags, gint max_depth, FoNodeTraverseFunc func, gpointer data); Traverses a tree starting at the given root FoNode. It calls the given function for each node visited. The traversal can be halted at any point by returning TRUE from func. root : The root FoNode of the tree to traverse. order : The order in which nodes are visited - G_IN_ORDER, G_PRE_ORDER, G_POST_ORDER, or G_LEVEL_ORDER. flags : Which types of children are to be visited, one of G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS. max_depth : The maximum depth of the traversal. Nodes below this depth will not be visited. If max_depth is -1 all nodes in the tree are visited. If depth is 1, only the root is visited. If depth is 2, the root and its children are visited. And so on. func : The function to call for each visited GNode. data : User data to pass to the function. fo_node_max_height() fo_node_max_height#define fo_node_max_height(root) root : fo_node_children_foreach () fo_node_children_foreachvoid fo_node_children_foreach (FoNode *fo_node, GTraverseFlags flags, FoNodeForeachFunc func, gpointer data); Calls a function for each of the children of an FoNode. Note that it doesn't descend beneath the child nodes. fo_node : An FoNode. flags : Which types of children are to be visited, one of G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS. func : The function to call for each visited node. data : User data to pass to the function. fo_node_reverse_children() fo_node_reverse_children#define fo_node_reverse_children(fo_node) fo_node : fo_node_n_children() fo_node_n_children#define fo_node_n_children(fo_node) fo_node : fo_node_nth_child() fo_node_nth_child#define fo_node_nth_child(fo_node, n) fo_node : n : fo_node_last_child() fo_node_last_child#define fo_node_last_child(fo_node) fo_node : fo_node_child_position() fo_node_child_position#define fo_node_child_position(fo_node, child) fo_node : child : fo_node_first_sibling() fo_node_first_sibling#define fo_node_first_sibling(fo_node) fo_node : fo_node_last_sibling() fo_node_last_sibling#define fo_node_last_sibling(fo_node) fo_node : fo_node_prev_sibling() fo_node_prev_sibling#define fo_node_prev_sibling(fo_node) fo_node : fo_node_next_sibling () fo_node_next_siblingFoNode* fo_node_next_sibling (FoNode *fo_node); Gets the next sibling FoNode of fo_node. fo_node : The FoNode. Returns : The next sibling of fo_node, or NULL. fo_node_first_child () fo_node_first_childFoNode* fo_node_first_child (FoNode *fo_node); Gets the first child FoNode of fo_node. fo_node : The FoNode. Returns : The first child of fo_node, or NULL. fo_node_parent () fo_node_parentFoNode* fo_node_parent (FoNode *fo_node); Gets the parent FoNode of fo_node. fo_node : The FoNode. Returns : The parent of fo_node. fo_node_unlink() fo_node_unlink#define fo_node_unlink(fo_node) fo_node : fo_node_unlink_with_next_siblings () fo_node_unlink_with_next_siblingsvoid fo_node_unlink_with_next_siblings (FoNode *fo_node); Unlink fo_node and its next siblings (i.e., 'following siblings' in XPath parlance) from their place in their current FoNode tree. fo_node and its next siblings remain linked together, and any of those nodes keep their child nodes. Neither fo_node nor any of its following siblings are valid roots since they each have a next and/or a previous sibling, even if they don't have a parent. fo_node : First FoNode to be unlinked fo_node_insert_with_next_siblings () fo_node_insert_with_next_siblingsFoNode* fo_node_insert_with_next_siblings (FoNode *parent, gint position, FoNode *fo_node); Insert fo_node and its next siblings (i.e., 'following siblings' in XPath parlance) beneath parent at the given position. fo_node and its next siblings should not already have a parent FoNode. parent : The FoNode to place fo_node under. position : The position to place fo_node at, with respect to its siblings. If position is -1, fo_node is inserted as the last child of parent. fo_node : First FoNode to be inserted. Returns : The inserted FoNode. fo_node_debug_dump_tree () fo_node_debug_dump_treevoid fo_node_debug_dump_tree (FoNode *fo_node, gint depth); Logs the tree structure beginning at fo_node. fo_node : FoNode to be dumped. depth : Relative indent to add to the output. Property Details The <literal>"first-child"</literal> property FoNode:first-child "first-child" FoNode* : Read First child node in the node tree. The <literal>"next-sibling"</literal> property FoNode:next-sibling "next-sibling" FoNode* : Read Next sibling node in the node tree. The <literal>"parent"</literal> property FoNode:parent "parent" FoNode* : Read Parent node in the node tree. xmlroff-0.6.2/docs/xml/fo-number.xml0000644000175000017500000001447311156164732014300 00000000000000 FoNumber 3 XMLROFF Library FoNumber Synopsis FoNumber; FoNumberClass; FoDatatype* fo_number_new (void); FoDatatype* fo_number_new_with_value (gdouble value); gdouble fo_number_get_value (FoDatatype *number); FoDatatype* fo_number_get_number_one (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoNumber Properties "value" gdouble : Read / Write / Construct Only Description Details FoNumber FoNumbertypedef struct _FoNumber FoNumber; FoNumberClass FoNumberClasstypedef struct _FoNumberClass FoNumberClass; fo_number_new () fo_number_newFoDatatype* fo_number_new (void); Creates a new FoNumber initialized to default value. Returns : the new FoNumber fo_number_new_with_value () fo_number_new_with_valueFoDatatype* fo_number_new_with_value (gdouble value); Creates a new FoNumber set to value. value : Value of the new FoNumber. Returns : The new FoNumber. fo_number_get_value () fo_number_get_valuegdouble fo_number_get_value (FoDatatype *number); Get the value of number number : FoNumber Returns : Numeric value of number fo_number_get_number_one () fo_number_get_number_oneFoDatatype* fo_number_get_number_one (void); Create and return an FoNumber with the well-known value 1.0. This saves creation of multiple FoNumber objects that all have the value 1.0. Returns : FoNumber with value 1.0. Property Details The <literal>"value"</literal> property FoNumber:value "value" gdouble : Read / Write / Construct Only Number value.Default value: 0 xmlroff-0.6.2/docs/xml/fo-numeric.xml0000644000175000017500000000473511156164732014452 00000000000000 FoNumeric 3 XMLROFF Library FoNumeric Synopsis FoNumeric; FoNumericClass; FoDatatype* fo_numeric_new (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoNumeric Description Details FoNumeric FoNumerictypedef struct _FoNumeric FoNumeric; FoNumericClass FoNumericClasstypedef struct _FoNumericClass FoNumericClass; fo_numeric_new () fo_numeric_newFoDatatype* fo_numeric_new (void); Creates a new FoNumeric initialized to default value. Returns : the new FoNumeric xmlroff-0.6.2/docs/xml/fo-object.xml0000644000175000017500000004731111156164732014253 00000000000000 FoObject 3 XMLROFF Library FoObject libfo base object type Synopsis FoObject; FoObjectClass; FoObject* fo_object_new (void); void fo_object_debug_dump (gpointer object, gint depth); gchar* fo_object_debug_sprintf (gpointer object); gchar* fo_object_sprintf (gpointer object); void fo_object_log_error (FoObject *object, GError **error); void fo_object_log_warning (FoObject *object, GError **warning); void fo_object_log_debug (FoObject *object, GError **debug); gboolean fo_object_log_or_propagate_error (FoObject *fo_object, GError **dest, GError *src); gboolean fo_object_maybe_propagate_error (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error); guint fo_object_hash (FoObject *object, GError **error); gboolean fo_object_equal (FoObject *a, FoObject *b, GError **error); Object Hierarchy GObject +----FoObject +----FoNode +----FoDatatype +----FoContext +----FoProperty +----FoHashTable Description Top of the object hierarchy for libfo. Extends GObject to add some common debugging and logging functions. Details FoObject FoObjecttypedef struct _FoObject FoObject; FoObjectClass FoObjectClasstypedef struct { GObjectClass parent_class; void (* debug_dump) (FoObject *object, gint depth); char* (* debug_sprintf) (FoObject *object); char* (* print_sprintf) (FoObject *object); void (* log_error) (FoObject *object, GError **error); void (* log_warning) (FoObject *object, GError **warning); void (* log_debug) (FoObject *object, GError **debug); gboolean (* log_or_propagate_error) (FoObject *fo_object, GError **dest, GError *src); gboolean (* maybe_propagate_error) (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error); guint (* hash_func) (gconstpointer key); gboolean (* equal_func) (gconstpointer a, gconstpointer b); } FoObjectClass; fo_object_new () fo_object_newFoObject* fo_object_new (void); Creates a new FoObject initialized to default value. Returns : the new FoObject. fo_object_debug_dump () fo_object_debug_dumpvoid fo_object_debug_dump (gpointer object, gint depth); Calls debug_dump method of class of object, if object is an FoObject or descendant type of FoObject. object : The FoObject object. depth : Indent level to add to the output. fo_object_debug_sprintf () fo_object_debug_sprintfgchar* fo_object_debug_sprintf (gpointer object); Calls debug_sprintf method of class of object, if object is an FoObject or descendant type of FoObject. object : The FoObject object. Returns : Result of debug_sprintf method of class of object. fo_object_sprintf () fo_object_sprintfgchar* fo_object_sprintf (gpointer object); Calls sprintf method of class of object, if object is an FoObject or descendant type of FoObject. object : The FoObject object. Returns : Result of sprintf method of class of object. fo_object_log_error () fo_object_log_errorvoid fo_object_log_error (FoObject *object, GError **error); Calls the 'log_error' method of the class of object. The called method clears error. object : FoObject that is subject of error. error : GError with information about error that occurred. fo_object_log_warning () fo_object_log_warningvoid fo_object_log_warning (FoObject *object, GError **warning); Calls the 'log_warning' method of the class of object. The called method clears error. object : FoObject that is subject of error. warning : GError with information about warning that occurred. fo_object_log_debug () fo_object_log_debugvoid fo_object_log_debug (FoObject *object, GError **debug); Calls the 'log_debug' method of the class of object. The called method clears error. object : FoObject that is subject of error. debug : GError with debugging information. fo_object_log_or_propagate_error () fo_object_log_or_propagate_errorgboolean fo_object_log_or_propagate_error (FoObject *fo_object, GError **dest, GError *src); If can propagate src to dest, do so, otherwise log src using fo_object_log_error(). fo_object : FoObject that is the subject of src. dest : GError to which to propagate src, or NULL. src : GError with information about error that occurred. Returns : TRUE if error propagated, otherwise FALSE. fo_object_maybe_propagate_error () fo_object_maybe_propagate_errorgboolean fo_object_maybe_propagate_error (FoObject *fo_object, GError **dest, GError *src, gboolean continue_after_error); If continue_after_error is FALSE and can propagate src to dest, then do so, otherwise log src using fo_object_log_error(). fo_object : FoObject that is the subject of src. dest : GError to which to propagate src, or NULL. src : GError with information about error that occurred. continue_after_error : Whether or not to continue after an error. Returns : TRUE if error propagated, otherwise FALSE. fo_object_hash () fo_object_hashguint fo_object_hash (FoObject *object, GError **error); Create a hash code for the object. object : FoObject for which to get hash value. error : GError with information about error that occurred. Returns : Hash code for the object. fo_object_equal () fo_object_equalgboolean fo_object_equal (FoObject *a, FoObject *b, GError **error); Compare a to b using the 'equal_func' of the class of a. a : First object to compare. b : Second object to compare. error : GError with information about error that occurred. Returns : TRUE if the objects are equal. xmlroff-0.6.2/docs/xml/fo-page-number-citation.xml0000644000175000017500000063572311156164732017031 00000000000000 page-number-citation 3 XMLROFF Library page-number-citation Synopsis FoPageNumberCitation; FoPageNumberCitationClass; FoFo* fo_page_number_citation_new (void); FoProperty* fo_page_number_citation_get_alignment_adjust (FoFo *fo_fo); void fo_page_number_citation_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_page_number_citation_get_alignment_baseline (FoFo *fo_fo); void fo_page_number_citation_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty* fo_page_number_citation_get_background_color (FoFo *fo_fo); void fo_page_number_citation_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_page_number_citation_get_background_image (FoFo *fo_fo); void fo_page_number_citation_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_page_number_citation_get_baseline_shift (FoFo *fo_fo); void fo_page_number_citation_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_page_number_citation_get_border_after_color (FoFo *fo_fo); void fo_page_number_citation_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_page_number_citation_get_border_after_style (FoFo *fo_fo); void fo_page_number_citation_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_page_number_citation_get_border_after_width (FoFo *fo_fo); void fo_page_number_citation_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_page_number_citation_get_border_before_color (FoFo *fo_fo); void fo_page_number_citation_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_page_number_citation_get_border_before_style (FoFo *fo_fo); void fo_page_number_citation_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_page_number_citation_get_border_before_width (FoFo *fo_fo); void fo_page_number_citation_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_page_number_citation_get_border_bottom_color (FoFo *fo_fo); void fo_page_number_citation_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_page_number_citation_get_border_bottom_style (FoFo *fo_fo); void fo_page_number_citation_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_page_number_citation_get_border_bottom_width (FoFo *fo_fo); void fo_page_number_citation_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_page_number_citation_get_border_end_color (FoFo *fo_fo); void fo_page_number_citation_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_page_number_citation_get_border_end_style (FoFo *fo_fo); void fo_page_number_citation_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_page_number_citation_get_border_end_width (FoFo *fo_fo); void fo_page_number_citation_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_page_number_citation_get_border_left_color (FoFo *fo_fo); void fo_page_number_citation_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_page_number_citation_get_border_left_style (FoFo *fo_fo); void fo_page_number_citation_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_page_number_citation_get_border_left_width (FoFo *fo_fo); void fo_page_number_citation_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_page_number_citation_get_border_right_color (FoFo *fo_fo); void fo_page_number_citation_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_page_number_citation_get_border_right_style (FoFo *fo_fo); void fo_page_number_citation_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_page_number_citation_get_border_right_width (FoFo *fo_fo); void fo_page_number_citation_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_page_number_citation_get_border_start_color (FoFo *fo_fo); void fo_page_number_citation_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_page_number_citation_get_border_start_style (FoFo *fo_fo); void fo_page_number_citation_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_page_number_citation_get_border_start_width (FoFo *fo_fo); void fo_page_number_citation_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_page_number_citation_get_border_top_color (FoFo *fo_fo); void fo_page_number_citation_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_page_number_citation_get_border_top_style (FoFo *fo_fo); void fo_page_number_citation_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_page_number_citation_get_border_top_width (FoFo *fo_fo); void fo_page_number_citation_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_page_number_citation_get_dominant_baseline (FoFo *fo_fo); void fo_page_number_citation_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_page_number_citation_get_font_family (FoFo *fo_fo); void fo_page_number_citation_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_page_number_citation_get_font_size (FoFo *fo_fo); void fo_page_number_citation_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_page_number_citation_get_font_stretch (FoFo *fo_fo); void fo_page_number_citation_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_page_number_citation_get_font_style (FoFo *fo_fo); void fo_page_number_citation_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_page_number_citation_get_font_variant (FoFo *fo_fo); void fo_page_number_citation_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_page_number_citation_get_font_weight (FoFo *fo_fo); void fo_page_number_citation_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_page_number_citation_get_id (FoFo *fo_fo); void fo_page_number_citation_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_page_number_citation_get_keep_with_next (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_page_number_citation_get_keep_with_next_within_column (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_page_number_citation_get_keep_with_next_within_line (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_page_number_citation_get_keep_with_next_within_page (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_page_number_citation_get_keep_with_previous (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_page_number_citation_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_page_number_citation_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_page_number_citation_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_page_number_citation_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_page_number_citation_get_line_height (FoFo *fo_fo); void fo_page_number_citation_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_page_number_citation_get_padding_after (FoFo *fo_fo); void fo_page_number_citation_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_page_number_citation_get_padding_before (FoFo *fo_fo); void fo_page_number_citation_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_page_number_citation_get_padding_bottom (FoFo *fo_fo); void fo_page_number_citation_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_page_number_citation_get_padding_end (FoFo *fo_fo); void fo_page_number_citation_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_page_number_citation_get_padding_left (FoFo *fo_fo); void fo_page_number_citation_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_page_number_citation_get_padding_right (FoFo *fo_fo); void fo_page_number_citation_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_page_number_citation_get_padding_start (FoFo *fo_fo); void fo_page_number_citation_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_page_number_citation_get_padding_top (FoFo *fo_fo); void fo_page_number_citation_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_page_number_citation_get_ref_id (FoFo *fo_fo); void fo_page_number_citation_set_ref_id (FoFo *fo_fo, FoProperty *new_ref_id); FoProperty* fo_page_number_citation_get_role (FoFo *fo_fo); void fo_page_number_citation_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_page_number_citation_get_score_spaces (FoFo *fo_fo); void fo_page_number_citation_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_page_number_citation_get_source_document (FoFo *fo_fo); void fo_page_number_citation_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_page_number_citation_get_space_end (FoFo *fo_fo); void fo_page_number_citation_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_page_number_citation_get_space_start (FoFo *fo_fo); void fo_page_number_citation_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty* fo_page_number_citation_get_wrap_option (FoFo *fo_fo); void fo_page_number_citation_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoPageNumberCitation Implemented Interfaces FoPageNumberCitation implements FoInlineFoIface. Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "baseline-shift" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "dominant-baseline" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "id" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "ref-id" FoProperty* : Read "role" FoProperty* : Read "score-spaces" FoProperty* : Read "source-document" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read "wrap-option" FoProperty* : Read Description Details FoPageNumberCitation FoPageNumberCitationtypedef struct _FoPageNumberCitation FoPageNumberCitation; Instance of the 'page-number-citation' formatting object. FoPageNumberCitationClass FoPageNumberCitationClasstypedef struct _FoPageNumberCitationClass FoPageNumberCitationClass; Class structure for the 'page-number-citation' formatting object. fo_page_number_citation_new () fo_page_number_citation_newFoFo* fo_page_number_citation_new (void); Creates a new FoPageNumberCitation initialized to default value. Returns : the new FoPageNumberCitation. fo_page_number_citation_get_alignment_adjust () fo_page_number_citation_get_alignment_adjustFoProperty* fo_page_number_citation_get_alignment_adjust (FoFo *fo_fo); Gets the "alignment-adjust" property of fo_fo. fo_fo : The FoFo object. Returns : The "alignment-adjust" property value. fo_page_number_citation_set_alignment_adjust () fo_page_number_citation_set_alignment_adjustvoid fo_page_number_citation_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust. fo_fo : The FoFo object. new_alignment_adjust : The new "alignment-adjust" property value. fo_page_number_citation_get_alignment_baseline () fo_page_number_citation_get_alignment_baselineFoProperty* fo_page_number_citation_get_alignment_baseline (FoFo *fo_fo); Gets the "alignment-baseline" property of fo_fo. fo_fo : The FoFo object. Returns : The "alignment-baseline" property value. fo_page_number_citation_set_alignment_baseline () fo_page_number_citation_set_alignment_baselinevoid fo_page_number_citation_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline. fo_fo : The FoFo object. new_alignment_baseline : The new "alignment-baseline" property value. fo_page_number_citation_get_background_color () fo_page_number_citation_get_background_colorFoProperty* fo_page_number_citation_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_page_number_citation_set_background_color () fo_page_number_citation_set_background_colorvoid fo_page_number_citation_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_page_number_citation_get_background_image () fo_page_number_citation_get_background_imageFoProperty* fo_page_number_citation_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_page_number_citation_set_background_image () fo_page_number_citation_set_background_imagevoid fo_page_number_citation_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_page_number_citation_get_baseline_shift () fo_page_number_citation_get_baseline_shiftFoProperty* fo_page_number_citation_get_baseline_shift (FoFo *fo_fo); Gets the "baseline-shift" property of fo_fo. fo_fo : The FoFo object. Returns : The "baseline-shift" property value. fo_page_number_citation_set_baseline_shift () fo_page_number_citation_set_baseline_shiftvoid fo_page_number_citation_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_fo to new_baseline_shift. fo_fo : The FoFo object. new_baseline_shift : The new "baseline-shift" property value. fo_page_number_citation_get_border_after_color () fo_page_number_citation_get_border_after_colorFoProperty* fo_page_number_citation_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_page_number_citation_set_border_after_color () fo_page_number_citation_set_border_after_colorvoid fo_page_number_citation_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_page_number_citation_get_border_after_style () fo_page_number_citation_get_border_after_styleFoProperty* fo_page_number_citation_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_page_number_citation_set_border_after_style () fo_page_number_citation_set_border_after_stylevoid fo_page_number_citation_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_page_number_citation_get_border_after_width () fo_page_number_citation_get_border_after_widthFoProperty* fo_page_number_citation_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_page_number_citation_set_border_after_width () fo_page_number_citation_set_border_after_widthvoid fo_page_number_citation_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_page_number_citation_get_border_before_color () fo_page_number_citation_get_border_before_colorFoProperty* fo_page_number_citation_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_page_number_citation_set_border_before_color () fo_page_number_citation_set_border_before_colorvoid fo_page_number_citation_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_page_number_citation_get_border_before_style () fo_page_number_citation_get_border_before_styleFoProperty* fo_page_number_citation_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_page_number_citation_set_border_before_style () fo_page_number_citation_set_border_before_stylevoid fo_page_number_citation_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_page_number_citation_get_border_before_width () fo_page_number_citation_get_border_before_widthFoProperty* fo_page_number_citation_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_page_number_citation_set_border_before_width () fo_page_number_citation_set_border_before_widthvoid fo_page_number_citation_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_page_number_citation_get_border_bottom_color () fo_page_number_citation_get_border_bottom_colorFoProperty* fo_page_number_citation_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_page_number_citation_set_border_bottom_color () fo_page_number_citation_set_border_bottom_colorvoid fo_page_number_citation_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_page_number_citation_get_border_bottom_style () fo_page_number_citation_get_border_bottom_styleFoProperty* fo_page_number_citation_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_page_number_citation_set_border_bottom_style () fo_page_number_citation_set_border_bottom_stylevoid fo_page_number_citation_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_page_number_citation_get_border_bottom_width () fo_page_number_citation_get_border_bottom_widthFoProperty* fo_page_number_citation_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_page_number_citation_set_border_bottom_width () fo_page_number_citation_set_border_bottom_widthvoid fo_page_number_citation_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_page_number_citation_get_border_end_color () fo_page_number_citation_get_border_end_colorFoProperty* fo_page_number_citation_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_page_number_citation_set_border_end_color () fo_page_number_citation_set_border_end_colorvoid fo_page_number_citation_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_page_number_citation_get_border_end_style () fo_page_number_citation_get_border_end_styleFoProperty* fo_page_number_citation_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_page_number_citation_set_border_end_style () fo_page_number_citation_set_border_end_stylevoid fo_page_number_citation_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_page_number_citation_get_border_end_width () fo_page_number_citation_get_border_end_widthFoProperty* fo_page_number_citation_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_page_number_citation_set_border_end_width () fo_page_number_citation_set_border_end_widthvoid fo_page_number_citation_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_page_number_citation_get_border_left_color () fo_page_number_citation_get_border_left_colorFoProperty* fo_page_number_citation_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_page_number_citation_set_border_left_color () fo_page_number_citation_set_border_left_colorvoid fo_page_number_citation_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_page_number_citation_get_border_left_style () fo_page_number_citation_get_border_left_styleFoProperty* fo_page_number_citation_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_page_number_citation_set_border_left_style () fo_page_number_citation_set_border_left_stylevoid fo_page_number_citation_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_page_number_citation_get_border_left_width () fo_page_number_citation_get_border_left_widthFoProperty* fo_page_number_citation_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_page_number_citation_set_border_left_width () fo_page_number_citation_set_border_left_widthvoid fo_page_number_citation_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_page_number_citation_get_border_right_color () fo_page_number_citation_get_border_right_colorFoProperty* fo_page_number_citation_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_page_number_citation_set_border_right_color () fo_page_number_citation_set_border_right_colorvoid fo_page_number_citation_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_page_number_citation_get_border_right_style () fo_page_number_citation_get_border_right_styleFoProperty* fo_page_number_citation_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_page_number_citation_set_border_right_style () fo_page_number_citation_set_border_right_stylevoid fo_page_number_citation_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_page_number_citation_get_border_right_width () fo_page_number_citation_get_border_right_widthFoProperty* fo_page_number_citation_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_page_number_citation_set_border_right_width () fo_page_number_citation_set_border_right_widthvoid fo_page_number_citation_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_page_number_citation_get_border_start_color () fo_page_number_citation_get_border_start_colorFoProperty* fo_page_number_citation_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_page_number_citation_set_border_start_color () fo_page_number_citation_set_border_start_colorvoid fo_page_number_citation_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_page_number_citation_get_border_start_style () fo_page_number_citation_get_border_start_styleFoProperty* fo_page_number_citation_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_page_number_citation_set_border_start_style () fo_page_number_citation_set_border_start_stylevoid fo_page_number_citation_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_page_number_citation_get_border_start_width () fo_page_number_citation_get_border_start_widthFoProperty* fo_page_number_citation_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_page_number_citation_set_border_start_width () fo_page_number_citation_set_border_start_widthvoid fo_page_number_citation_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_page_number_citation_get_border_top_color () fo_page_number_citation_get_border_top_colorFoProperty* fo_page_number_citation_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_page_number_citation_set_border_top_color () fo_page_number_citation_set_border_top_colorvoid fo_page_number_citation_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_page_number_citation_get_border_top_style () fo_page_number_citation_get_border_top_styleFoProperty* fo_page_number_citation_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_page_number_citation_set_border_top_style () fo_page_number_citation_set_border_top_stylevoid fo_page_number_citation_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_page_number_citation_get_border_top_width () fo_page_number_citation_get_border_top_widthFoProperty* fo_page_number_citation_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_page_number_citation_set_border_top_width () fo_page_number_citation_set_border_top_widthvoid fo_page_number_citation_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_page_number_citation_get_dominant_baseline () fo_page_number_citation_get_dominant_baselineFoProperty* fo_page_number_citation_get_dominant_baseline (FoFo *fo_fo); Gets the "dominant-baseline" property of fo_fo. fo_fo : The FoFo object. Returns : The "dominant-baseline" property value. fo_page_number_citation_set_dominant_baseline () fo_page_number_citation_set_dominant_baselinevoid fo_page_number_citation_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline. fo_fo : The FoFo object. new_dominant_baseline : The new "dominant-baseline" property value. fo_page_number_citation_get_font_family () fo_page_number_citation_get_font_familyFoProperty* fo_page_number_citation_get_font_family (FoFo *fo_fo); Gets the "font-family" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-family" property value. fo_page_number_citation_set_font_family () fo_page_number_citation_set_font_familyvoid fo_page_number_citation_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the "font-family" property of fo_fo to new_font_family. fo_fo : The FoFo object. new_font_family : The new "font-family" property value. fo_page_number_citation_get_font_size () fo_page_number_citation_get_font_sizeFoProperty* fo_page_number_citation_get_font_size (FoFo *fo_fo); Gets the "font-size" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-size" property value. fo_page_number_citation_set_font_size () fo_page_number_citation_set_font_sizevoid fo_page_number_citation_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the "font-size" property of fo_fo to new_font_size. fo_fo : The FoFo object. new_font_size : The new "font-size" property value. fo_page_number_citation_get_font_stretch () fo_page_number_citation_get_font_stretchFoProperty* fo_page_number_citation_get_font_stretch (FoFo *fo_fo); Gets the "font-stretch" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-stretch" property value. fo_page_number_citation_set_font_stretch () fo_page_number_citation_set_font_stretchvoid fo_page_number_citation_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_fo to new_font_stretch. fo_fo : The FoFo object. new_font_stretch : The new "font-stretch" property value. fo_page_number_citation_get_font_style () fo_page_number_citation_get_font_styleFoProperty* fo_page_number_citation_get_font_style (FoFo *fo_fo); Gets the "font-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-style" property value. fo_page_number_citation_set_font_style () fo_page_number_citation_set_font_stylevoid fo_page_number_citation_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the "font-style" property of fo_fo to new_font_style. fo_fo : The FoFo object. new_font_style : The new "font-style" property value. fo_page_number_citation_get_font_variant () fo_page_number_citation_get_font_variantFoProperty* fo_page_number_citation_get_font_variant (FoFo *fo_fo); Gets the "font-variant" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-variant" property value. fo_page_number_citation_set_font_variant () fo_page_number_citation_set_font_variantvoid fo_page_number_citation_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the "font-variant" property of fo_fo to new_font_variant. fo_fo : The FoFo object. new_font_variant : The new "font-variant" property value. fo_page_number_citation_get_font_weight () fo_page_number_citation_get_font_weightFoProperty* fo_page_number_citation_get_font_weight (FoFo *fo_fo); Gets the "font-weight" property of fo_fo. fo_fo : The FoFo object. Returns : The "font-weight" property value. fo_page_number_citation_set_font_weight () fo_page_number_citation_set_font_weightvoid fo_page_number_citation_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the "font-weight" property of fo_fo to new_font_weight. fo_fo : The FoFo object. new_font_weight : The new "font-weight" property value. fo_page_number_citation_get_id () fo_page_number_citation_get_idFoProperty* fo_page_number_citation_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_page_number_citation_set_id () fo_page_number_citation_set_idvoid fo_page_number_citation_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id. fo_fo : The FoFo object. new_id : The new "id" property value. fo_page_number_citation_get_keep_with_next () fo_page_number_citation_get_keep_with_nextFoProperty* fo_page_number_citation_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next" property value. fo_page_number_citation_set_keep_with_next () fo_page_number_citation_set_keep_with_nextvoid fo_page_number_citation_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next. fo_fo : The FoFo object. new_keep_with_next : The new "keep-with-next" property value. fo_page_number_citation_get_keep_with_next_within_column () fo_page_number_citation_get_keep_with_next_within_columnFoProperty* fo_page_number_citation_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-column" property value. fo_page_number_citation_set_keep_with_next_within_column () fo_page_number_citation_set_keep_with_next_within_columnvoid fo_page_number_citation_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column. fo_fo : The FoFo object. new_keep_with_next_within_column : The new "keep-with-next-within-column" property value. fo_page_number_citation_get_keep_with_next_within_line () fo_page_number_citation_get_keep_with_next_within_lineFoProperty* fo_page_number_citation_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-line" property value. fo_page_number_citation_set_keep_with_next_within_line () fo_page_number_citation_set_keep_with_next_within_linevoid fo_page_number_citation_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line. fo_fo : The FoFo object. new_keep_with_next_within_line : The new "keep-with-next-within-line" property value. fo_page_number_citation_get_keep_with_next_within_page () fo_page_number_citation_get_keep_with_next_within_pageFoProperty* fo_page_number_citation_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-next-within-page" property value. fo_page_number_citation_set_keep_with_next_within_page () fo_page_number_citation_set_keep_with_next_within_pagevoid fo_page_number_citation_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page. fo_fo : The FoFo object. new_keep_with_next_within_page : The new "keep-with-next-within-page" property value. fo_page_number_citation_get_keep_with_previous () fo_page_number_citation_get_keep_with_previousFoProperty* fo_page_number_citation_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous" property value. fo_page_number_citation_set_keep_with_previous () fo_page_number_citation_set_keep_with_previousvoid fo_page_number_citation_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous. fo_fo : The FoFo object. new_keep_with_previous : The new "keep-with-previous" property value. fo_page_number_citation_get_keep_with_previous_within_column () fo_page_number_citation_get_keep_with_previous_within_columnFoProperty* fo_page_number_citation_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-column" property value. fo_page_number_citation_set_keep_with_previous_within_column () fo_page_number_citation_set_keep_with_previous_within_columnvoid fo_page_number_citation_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column. fo_fo : The FoFo object. new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value. fo_page_number_citation_get_keep_with_previous_within_line () fo_page_number_citation_get_keep_with_previous_within_lineFoProperty* fo_page_number_citation_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-line" property value. fo_page_number_citation_set_keep_with_previous_within_line () fo_page_number_citation_set_keep_with_previous_within_linevoid fo_page_number_citation_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line. fo_fo : The FoFo object. new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value. fo_page_number_citation_get_keep_with_previous_within_page () fo_page_number_citation_get_keep_with_previous_within_pageFoProperty* fo_page_number_citation_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo. fo_fo : The FoFo object. Returns : The "keep-with-previous-within-page" property value. fo_page_number_citation_set_keep_with_previous_within_page () fo_page_number_citation_set_keep_with_previous_within_pagevoid fo_page_number_citation_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page. fo_fo : The FoFo object. new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value. fo_page_number_citation_get_line_height () fo_page_number_citation_get_line_heightFoProperty* fo_page_number_citation_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo. fo_fo : The FoFo object. Returns : The "line-height" property value. fo_page_number_citation_set_line_height () fo_page_number_citation_set_line_heightvoid fo_page_number_citation_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height. fo_fo : The FoFo object. new_line_height : The new "line-height" property value. fo_page_number_citation_get_padding_after () fo_page_number_citation_get_padding_afterFoProperty* fo_page_number_citation_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_page_number_citation_set_padding_after () fo_page_number_citation_set_padding_aftervoid fo_page_number_citation_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_page_number_citation_get_padding_before () fo_page_number_citation_get_padding_beforeFoProperty* fo_page_number_citation_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_page_number_citation_set_padding_before () fo_page_number_citation_set_padding_beforevoid fo_page_number_citation_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_page_number_citation_get_padding_bottom () fo_page_number_citation_get_padding_bottomFoProperty* fo_page_number_citation_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_page_number_citation_set_padding_bottom () fo_page_number_citation_set_padding_bottomvoid fo_page_number_citation_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_page_number_citation_get_padding_end () fo_page_number_citation_get_padding_endFoProperty* fo_page_number_citation_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_page_number_citation_set_padding_end () fo_page_number_citation_set_padding_endvoid fo_page_number_citation_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_page_number_citation_get_padding_left () fo_page_number_citation_get_padding_leftFoProperty* fo_page_number_citation_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_page_number_citation_set_padding_left () fo_page_number_citation_set_padding_leftvoid fo_page_number_citation_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_page_number_citation_get_padding_right () fo_page_number_citation_get_padding_rightFoProperty* fo_page_number_citation_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_page_number_citation_set_padding_right () fo_page_number_citation_set_padding_rightvoid fo_page_number_citation_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_page_number_citation_get_padding_start () fo_page_number_citation_get_padding_startFoProperty* fo_page_number_citation_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_page_number_citation_set_padding_start () fo_page_number_citation_set_padding_startvoid fo_page_number_citation_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_page_number_citation_get_padding_top () fo_page_number_citation_get_padding_topFoProperty* fo_page_number_citation_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_page_number_citation_set_padding_top () fo_page_number_citation_set_padding_topvoid fo_page_number_citation_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_page_number_citation_get_ref_id () fo_page_number_citation_get_ref_idFoProperty* fo_page_number_citation_get_ref_id (FoFo *fo_fo); Gets the "ref-id" property of fo_fo. fo_fo : The FoFo object. Returns : The "ref-id" property value. fo_page_number_citation_set_ref_id () fo_page_number_citation_set_ref_idvoid fo_page_number_citation_set_ref_id (FoFo *fo_fo, FoProperty *new_ref_id); Sets the "ref-id" property of fo_fo to new_ref_id. fo_fo : The FoFo object. new_ref_id : The new "ref-id" property value. fo_page_number_citation_get_role () fo_page_number_citation_get_roleFoProperty* fo_page_number_citation_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo. fo_fo : The FoFo object. Returns : The "role" property value. fo_page_number_citation_set_role () fo_page_number_citation_set_rolevoid fo_page_number_citation_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role. fo_fo : The FoFo object. new_role : The new "role" property value. fo_page_number_citation_get_score_spaces () fo_page_number_citation_get_score_spacesFoProperty* fo_page_number_citation_get_score_spaces (FoFo *fo_fo); Gets the "score-spaces" property of fo_fo. fo_fo : The FoFo object. Returns : The "score-spaces" property value. fo_page_number_citation_set_score_spaces () fo_page_number_citation_set_score_spacesvoid fo_page_number_citation_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); Sets the "score-spaces" property of fo_fo to new_score_spaces. fo_fo : The FoFo object. new_score_spaces : The new "score-spaces" property value. fo_page_number_citation_get_source_document () fo_page_number_citation_get_source_documentFoProperty* fo_page_number_citation_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo. fo_fo : The FoFo object. Returns : The "source-document" property value. fo_page_number_citation_set_source_document () fo_page_number_citation_set_source_documentvoid fo_page_number_citation_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document. fo_fo : The FoFo object. new_source_document : The new "source-document" property value. fo_page_number_citation_get_space_end () fo_page_number_citation_get_space_endFoProperty* fo_page_number_citation_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-end" property value. fo_page_number_citation_set_space_end () fo_page_number_citation_set_space_endvoid fo_page_number_citation_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end. fo_fo : The FoFo object. new_space_end : The new "space-end" property value. fo_page_number_citation_get_space_start () fo_page_number_citation_get_space_startFoProperty* fo_page_number_citation_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-start" property value. fo_page_number_citation_set_space_start () fo_page_number_citation_set_space_startvoid fo_page_number_citation_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start. fo_fo : The FoFo object. new_space_start : The new "space-start" property value. fo_page_number_citation_get_wrap_option () fo_page_number_citation_get_wrap_optionFoProperty* fo_page_number_citation_get_wrap_option (FoFo *fo_fo); Gets the "wrap-option" property of fo_fo. fo_fo : The FoFo object. Returns : The "wrap-option" property value. fo_page_number_citation_set_wrap_option () fo_page_number_citation_set_wrap_optionvoid fo_page_number_citation_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); Sets the "wrap-option" property of fo_fo to new_wrap_option. fo_fo : The FoFo object. new_wrap_option : The new "wrap-option" property value. Property Details The <literal>"alignment-adjust"</literal> property FoPageNumberCitation:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoPageNumberCitation:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoPageNumberCitation:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoPageNumberCitation:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"baseline-shift"</literal> property FoPageNumberCitation:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"border-after-color"</literal> property FoPageNumberCitation:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoPageNumberCitation:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoPageNumberCitation:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoPageNumberCitation:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoPageNumberCitation:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoPageNumberCitation:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoPageNumberCitation:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoPageNumberCitation:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoPageNumberCitation:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoPageNumberCitation:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoPageNumberCitation:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoPageNumberCitation:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoPageNumberCitation:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoPageNumberCitation:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoPageNumberCitation:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoPageNumberCitation:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoPageNumberCitation:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoPageNumberCitation:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoPageNumberCitation:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoPageNumberCitation:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoPageNumberCitation:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoPageNumberCitation:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoPageNumberCitation:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoPageNumberCitation:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"dominant-baseline"</literal> property FoPageNumberCitation:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"font-family"</literal> property FoPageNumberCitation:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoPageNumberCitation:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoPageNumberCitation:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoPageNumberCitation:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoPageNumberCitation:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoPageNumberCitation:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"id"</literal> property FoPageNumberCitation:id "id" FoProperty* : Read Id property. The <literal>"keep-with-next"</literal> property FoPageNumberCitation:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoPageNumberCitation:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoPageNumberCitation:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoPageNumberCitation:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoPageNumberCitation:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoPageNumberCitation:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoPageNumberCitation:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoPageNumberCitation:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoPageNumberCitation:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"padding-after"</literal> property FoPageNumberCitation:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoPageNumberCitation:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoPageNumberCitation:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoPageNumberCitation:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoPageNumberCitation:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoPageNumberCitation:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoPageNumberCitation:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoPageNumberCitation:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"ref-id"</literal> property FoPageNumberCitation:ref-id "ref-id" FoProperty* : Read Ref Id property. The <literal>"role"</literal> property FoPageNumberCitation:role "role" FoProperty* : Read Role property. The <literal>"score-spaces"</literal> property FoPageNumberCitation:score-spaces "score-spaces" FoProperty* : Read Score Spaces property. The <literal>"source-document"</literal> property FoPageNumberCitation:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-end"</literal> property FoPageNumberCitation:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoPageNumberCitation:space-start "space-start" FoProperty* : Read Space Start property. The <literal>"wrap-option"</literal> property FoPageNumberCitation:wrap-option "wrap-option" FoProperty* : Read Wrap Option property. xmlroff-0.6.2/docs/xml/fo-page-number.xml0000644000175000017500000056724311156164732015222 00000000000000 page-number 3 XMLROFF Library page-number Synopsis FoPageNumber; FoPageNumberClass; FoFo* fo_page_number_new (void); FoProperty* fo_page_number_get_alignment_adjust (FoFo *fo_fo); void fo_page_number_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); FoProperty* fo_page_number_get_alignment_baseline (FoFo *fo_fo); void fo_page_number_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); FoProperty* fo_page_number_get_background_color (FoFo *fo_fo); void fo_page_number_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_page_number_get_background_image (FoFo *fo_fo); void fo_page_number_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_page_number_get_baseline_shift (FoFo *fo_fo); void fo_page_number_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); FoProperty* fo_page_number_get_border_after_color (FoFo *fo_fo); void fo_page_number_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_page_number_get_border_after_style (FoFo *fo_fo); void fo_page_number_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_page_number_get_border_after_width (FoFo *fo_fo); void fo_page_number_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_page_number_get_border_before_color (FoFo *fo_fo); void fo_page_number_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_page_number_get_border_before_style (FoFo *fo_fo); void fo_page_number_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_page_number_get_border_before_width (FoFo *fo_fo); void fo_page_number_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_page_number_get_border_bottom_color (FoFo *fo_fo); void fo_page_number_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_page_number_get_border_bottom_style (FoFo *fo_fo); void fo_page_number_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_page_number_get_border_bottom_width (FoFo *fo_fo); void fo_page_number_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_page_number_get_border_end_color (FoFo *fo_fo); void fo_page_number_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_page_number_get_border_end_style (FoFo *fo_fo); void fo_page_number_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_page_number_get_border_end_width (FoFo *fo_fo); void fo_page_number_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_page_number_get_border_left_color (FoFo *fo_fo); void fo_page_number_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_page_number_get_border_left_style (FoFo *fo_fo); void fo_page_number_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_page_number_get_border_left_width (FoFo *fo_fo); void fo_page_number_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_page_number_get_border_right_color (FoFo *fo_fo); void fo_page_number_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_page_number_get_border_right_style (FoFo *fo_fo); void fo_page_number_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_page_number_get_border_right_width (FoFo *fo_fo); void fo_page_number_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_page_number_get_border_start_color (FoFo *fo_fo); void fo_page_number_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_page_number_get_border_start_style (FoFo *fo_fo); void fo_page_number_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_page_number_get_border_start_width (FoFo *fo_fo); void fo_page_number_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_page_number_get_border_top_color (FoFo *fo_fo); void fo_page_number_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_page_number_get_border_top_style (FoFo *fo_fo); void fo_page_number_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_page_number_get_border_top_width (FoFo *fo_fo); void fo_page_number_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_page_number_get_dominant_baseline (FoFo *fo_fo); void fo_page_number_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); FoProperty* fo_page_number_get_font_family (FoFo *fo_fo); void fo_page_number_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_page_number_get_font_size (FoFo *fo_fo); void fo_page_number_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_page_number_get_font_stretch (FoFo *fo_fo); void fo_page_number_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_page_number_get_font_style (FoFo *fo_fo); void fo_page_number_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_page_number_get_font_variant (FoFo *fo_fo); void fo_page_number_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_page_number_get_font_weight (FoFo *fo_fo); void fo_page_number_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_page_number_get_id (FoFo *fo_fo); void fo_page_number_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_page_number_get_keep_with_next (FoFo *fo_fo); void fo_page_number_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_page_number_get_keep_with_next_within_column (FoFo *fo_fo); void fo_page_number_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_page_number_get_keep_with_next_within_line (FoFo *fo_fo); void fo_page_number_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_page_number_get_keep_with_next_within_page (FoFo *fo_fo); void fo_page_number_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_page_number_get_keep_with_previous (FoFo *fo_fo); void fo_page_number_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_page_number_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_page_number_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_page_number_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_page_number_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_page_number_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_page_number_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_page_number_get_line_height (FoFo *fo_fo); void fo_page_number_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_page_number_get_padding_after (FoFo *fo_fo); void fo_page_number_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_page_number_get_padding_before (FoFo *fo_fo); void fo_page_number_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_page_number_get_padding_bottom (FoFo *fo_fo); void fo_page_number_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_page_number_get_padding_end (FoFo *fo_fo); void fo_page_number_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_page_number_get_padding_left (FoFo *fo_fo); void fo_page_number_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_page_number_get_padding_right (FoFo *fo_fo); void fo_page_number_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_page_number_get_padding_start (FoFo *fo_fo); void fo_page_number_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_page_number_get_padding_top (FoFo *fo_fo); void fo_page_number_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_page_number_get_role (FoFo *fo_fo); void fo_page_number_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_page_number_get_score_spaces (FoFo *fo_fo); void fo_page_number_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_page_number_get_source_document (FoFo *fo_fo); void fo_page_number_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_page_number_get_space_end (FoFo *fo_fo); void fo_page_number_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_page_number_get_space_start (FoFo *fo_fo); void fo_page_number_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); FoProperty* fo_page_number_get_wrap_option (FoFo *fo_fo); void fo_page_number_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoPageNumber Implemented Interfaces FoPageNumber implements FoInlineFoIface. Properties "alignment-adjust" FoProperty* : Read "alignment-baseline" FoProperty* : Read "background-color" FoProperty* : Read "background-image" FoProperty* : Read "baseline-shift" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "dominant-baseline" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "id" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "line-height" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "score-spaces" FoProperty* : Read "source-document" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read "wrap-option" FoProperty* : Read Description Details FoPageNumber FoPageNumbertypedef struct _FoPageNumber FoPageNumber; FoPageNumberClass FoPageNumberClasstypedef struct _FoPageNumberClass FoPageNumberClass; fo_page_number_new () fo_page_number_newFoFo* fo_page_number_new (void); Creates a new FoPageNumber initialized to default value. Returns : the new FoPageNumber. fo_page_number_get_alignment_adjust () fo_page_number_get_alignment_adjustFoProperty* fo_page_number_get_alignment_adjust (FoFo *fo_fo); Gets the "alignment-adjust" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-adjust" property value fo_page_number_set_alignment_adjust () fo_page_number_set_alignment_adjustvoid fo_page_number_set_alignment_adjust (FoFo *fo_fo, FoProperty *new_alignment_adjust); Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust fo_fo : The FoFo object new_alignment_adjust : The new "alignment-adjust" property value fo_page_number_get_alignment_baseline () fo_page_number_get_alignment_baselineFoProperty* fo_page_number_get_alignment_baseline (FoFo *fo_fo); Gets the "alignment-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "alignment-baseline" property value fo_page_number_set_alignment_baseline () fo_page_number_set_alignment_baselinevoid fo_page_number_set_alignment_baseline (FoFo *fo_fo, FoProperty *new_alignment_baseline); Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline fo_fo : The FoFo object new_alignment_baseline : The new "alignment-baseline" property value fo_page_number_get_background_color () fo_page_number_get_background_colorFoProperty* fo_page_number_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_page_number_set_background_color () fo_page_number_set_background_colorvoid fo_page_number_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_page_number_get_background_image () fo_page_number_get_background_imageFoProperty* fo_page_number_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_page_number_set_background_image () fo_page_number_set_background_imagevoid fo_page_number_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_page_number_get_baseline_shift () fo_page_number_get_baseline_shiftFoProperty* fo_page_number_get_baseline_shift (FoFo *fo_fo); Gets the "baseline-shift" property of fo_fo fo_fo : The FoFo object Returns : The "baseline-shift" property value fo_page_number_set_baseline_shift () fo_page_number_set_baseline_shiftvoid fo_page_number_set_baseline_shift (FoFo *fo_fo, FoProperty *new_baseline_shift); Sets the "baseline-shift" property of fo_fo to new_baseline_shift fo_fo : The FoFo object new_baseline_shift : The new "baseline-shift" property value fo_page_number_get_border_after_color () fo_page_number_get_border_after_colorFoProperty* fo_page_number_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_page_number_set_border_after_color () fo_page_number_set_border_after_colorvoid fo_page_number_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_page_number_get_border_after_style () fo_page_number_get_border_after_styleFoProperty* fo_page_number_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_page_number_set_border_after_style () fo_page_number_set_border_after_stylevoid fo_page_number_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_page_number_get_border_after_width () fo_page_number_get_border_after_widthFoProperty* fo_page_number_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_page_number_set_border_after_width () fo_page_number_set_border_after_widthvoid fo_page_number_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_page_number_get_border_before_color () fo_page_number_get_border_before_colorFoProperty* fo_page_number_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_page_number_set_border_before_color () fo_page_number_set_border_before_colorvoid fo_page_number_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_page_number_get_border_before_style () fo_page_number_get_border_before_styleFoProperty* fo_page_number_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_page_number_set_border_before_style () fo_page_number_set_border_before_stylevoid fo_page_number_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_page_number_get_border_before_width () fo_page_number_get_border_before_widthFoProperty* fo_page_number_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_page_number_set_border_before_width () fo_page_number_set_border_before_widthvoid fo_page_number_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_page_number_get_border_bottom_color () fo_page_number_get_border_bottom_colorFoProperty* fo_page_number_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_page_number_set_border_bottom_color () fo_page_number_set_border_bottom_colorvoid fo_page_number_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_page_number_get_border_bottom_style () fo_page_number_get_border_bottom_styleFoProperty* fo_page_number_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_page_number_set_border_bottom_style () fo_page_number_set_border_bottom_stylevoid fo_page_number_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_page_number_get_border_bottom_width () fo_page_number_get_border_bottom_widthFoProperty* fo_page_number_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_page_number_set_border_bottom_width () fo_page_number_set_border_bottom_widthvoid fo_page_number_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_page_number_get_border_end_color () fo_page_number_get_border_end_colorFoProperty* fo_page_number_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_page_number_set_border_end_color () fo_page_number_set_border_end_colorvoid fo_page_number_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_page_number_get_border_end_style () fo_page_number_get_border_end_styleFoProperty* fo_page_number_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_page_number_set_border_end_style () fo_page_number_set_border_end_stylevoid fo_page_number_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_page_number_get_border_end_width () fo_page_number_get_border_end_widthFoProperty* fo_page_number_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_page_number_set_border_end_width () fo_page_number_set_border_end_widthvoid fo_page_number_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_page_number_get_border_left_color () fo_page_number_get_border_left_colorFoProperty* fo_page_number_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_page_number_set_border_left_color () fo_page_number_set_border_left_colorvoid fo_page_number_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_page_number_get_border_left_style () fo_page_number_get_border_left_styleFoProperty* fo_page_number_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_page_number_set_border_left_style () fo_page_number_set_border_left_stylevoid fo_page_number_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_page_number_get_border_left_width () fo_page_number_get_border_left_widthFoProperty* fo_page_number_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_page_number_set_border_left_width () fo_page_number_set_border_left_widthvoid fo_page_number_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_page_number_get_border_right_color () fo_page_number_get_border_right_colorFoProperty* fo_page_number_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_page_number_set_border_right_color () fo_page_number_set_border_right_colorvoid fo_page_number_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_page_number_get_border_right_style () fo_page_number_get_border_right_styleFoProperty* fo_page_number_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_page_number_set_border_right_style () fo_page_number_set_border_right_stylevoid fo_page_number_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_page_number_get_border_right_width () fo_page_number_get_border_right_widthFoProperty* fo_page_number_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_page_number_set_border_right_width () fo_page_number_set_border_right_widthvoid fo_page_number_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_page_number_get_border_start_color () fo_page_number_get_border_start_colorFoProperty* fo_page_number_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_page_number_set_border_start_color () fo_page_number_set_border_start_colorvoid fo_page_number_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_page_number_get_border_start_style () fo_page_number_get_border_start_styleFoProperty* fo_page_number_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_page_number_set_border_start_style () fo_page_number_set_border_start_stylevoid fo_page_number_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_page_number_get_border_start_width () fo_page_number_get_border_start_widthFoProperty* fo_page_number_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_page_number_set_border_start_width () fo_page_number_set_border_start_widthvoid fo_page_number_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_page_number_get_border_top_color () fo_page_number_get_border_top_colorFoProperty* fo_page_number_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_page_number_set_border_top_color () fo_page_number_set_border_top_colorvoid fo_page_number_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_page_number_get_border_top_style () fo_page_number_get_border_top_styleFoProperty* fo_page_number_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_page_number_set_border_top_style () fo_page_number_set_border_top_stylevoid fo_page_number_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_page_number_get_border_top_width () fo_page_number_get_border_top_widthFoProperty* fo_page_number_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_page_number_set_border_top_width () fo_page_number_set_border_top_widthvoid fo_page_number_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_page_number_get_dominant_baseline () fo_page_number_get_dominant_baselineFoProperty* fo_page_number_get_dominant_baseline (FoFo *fo_fo); Gets the "dominant-baseline" property of fo_fo fo_fo : The FoFo object Returns : The "dominant-baseline" property value fo_page_number_set_dominant_baseline () fo_page_number_set_dominant_baselinevoid fo_page_number_set_dominant_baseline (FoFo *fo_fo, FoProperty *new_dominant_baseline); Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline fo_fo : The FoFo object new_dominant_baseline : The new "dominant-baseline" property value fo_page_number_get_font_family () fo_page_number_get_font_familyFoProperty* fo_page_number_get_font_family (FoFo *fo_fo); Gets the "font-family" property of fo_fo fo_fo : The FoFo object Returns : The "font-family" property value fo_page_number_set_font_family () fo_page_number_set_font_familyvoid fo_page_number_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the "font-family" property of fo_fo to new_font_family fo_fo : The FoFo object new_font_family : The new "font-family" property value fo_page_number_get_font_size () fo_page_number_get_font_sizeFoProperty* fo_page_number_get_font_size (FoFo *fo_fo); Gets the "font-size" property of fo_fo fo_fo : The FoFo object Returns : The "font-size" property value fo_page_number_set_font_size () fo_page_number_set_font_sizevoid fo_page_number_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the "font-size" property of fo_fo to new_font_size fo_fo : The FoFo object new_font_size : The new "font-size" property value fo_page_number_get_font_stretch () fo_page_number_get_font_stretchFoProperty* fo_page_number_get_font_stretch (FoFo *fo_fo); Gets the "font-stretch" property of fo_fo fo_fo : The FoFo object Returns : The "font-stretch" property value fo_page_number_set_font_stretch () fo_page_number_set_font_stretchvoid fo_page_number_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_fo to new_font_stretch fo_fo : The FoFo object new_font_stretch : The new "font-stretch" property value fo_page_number_get_font_style () fo_page_number_get_font_styleFoProperty* fo_page_number_get_font_style (FoFo *fo_fo); Gets the "font-style" property of fo_fo fo_fo : The FoFo object Returns : The "font-style" property value fo_page_number_set_font_style () fo_page_number_set_font_stylevoid fo_page_number_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the "font-style" property of fo_fo to new_font_style fo_fo : The FoFo object new_font_style : The new "font-style" property value fo_page_number_get_font_variant () fo_page_number_get_font_variantFoProperty* fo_page_number_get_font_variant (FoFo *fo_fo); Gets the "font-variant" property of fo_fo fo_fo : The FoFo object Returns : The "font-variant" property value fo_page_number_set_font_variant () fo_page_number_set_font_variantvoid fo_page_number_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the "font-variant" property of fo_fo to new_font_variant fo_fo : The FoFo object new_font_variant : The new "font-variant" property value fo_page_number_get_font_weight () fo_page_number_get_font_weightFoProperty* fo_page_number_get_font_weight (FoFo *fo_fo); Gets the "font-weight" property of fo_fo fo_fo : The FoFo object Returns : The "font-weight" property value fo_page_number_set_font_weight () fo_page_number_set_font_weightvoid fo_page_number_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the "font-weight" property of fo_fo to new_font_weight fo_fo : The FoFo object new_font_weight : The new "font-weight" property value fo_page_number_get_id () fo_page_number_get_idFoProperty* fo_page_number_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_page_number_set_id () fo_page_number_set_idvoid fo_page_number_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_page_number_get_keep_with_next () fo_page_number_get_keep_with_nextFoProperty* fo_page_number_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_page_number_set_keep_with_next () fo_page_number_set_keep_with_nextvoid fo_page_number_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_page_number_get_keep_with_next_within_column () fo_page_number_get_keep_with_next_within_columnFoProperty* fo_page_number_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_page_number_set_keep_with_next_within_column () fo_page_number_set_keep_with_next_within_columnvoid fo_page_number_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_page_number_get_keep_with_next_within_line () fo_page_number_get_keep_with_next_within_lineFoProperty* fo_page_number_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_page_number_set_keep_with_next_within_line () fo_page_number_set_keep_with_next_within_linevoid fo_page_number_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_page_number_get_keep_with_next_within_page () fo_page_number_get_keep_with_next_within_pageFoProperty* fo_page_number_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_page_number_set_keep_with_next_within_page () fo_page_number_set_keep_with_next_within_pagevoid fo_page_number_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_page_number_get_keep_with_previous () fo_page_number_get_keep_with_previousFoProperty* fo_page_number_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_page_number_set_keep_with_previous () fo_page_number_set_keep_with_previousvoid fo_page_number_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_page_number_get_keep_with_previous_within_column () fo_page_number_get_keep_with_previous_within_columnFoProperty* fo_page_number_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_page_number_set_keep_with_previous_within_column () fo_page_number_set_keep_with_previous_within_columnvoid fo_page_number_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_page_number_get_keep_with_previous_within_line () fo_page_number_get_keep_with_previous_within_lineFoProperty* fo_page_number_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_page_number_set_keep_with_previous_within_line () fo_page_number_set_keep_with_previous_within_linevoid fo_page_number_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_page_number_get_keep_with_previous_within_page () fo_page_number_get_keep_with_previous_within_pageFoProperty* fo_page_number_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_page_number_set_keep_with_previous_within_page () fo_page_number_set_keep_with_previous_within_pagevoid fo_page_number_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_page_number_get_line_height () fo_page_number_get_line_heightFoProperty* fo_page_number_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo fo_fo : The FoFo object Returns : The "line-height" property value fo_page_number_set_line_height () fo_page_number_set_line_heightvoid fo_page_number_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value fo_page_number_get_padding_after () fo_page_number_get_padding_afterFoProperty* fo_page_number_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_page_number_set_padding_after () fo_page_number_set_padding_aftervoid fo_page_number_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_page_number_get_padding_before () fo_page_number_get_padding_beforeFoProperty* fo_page_number_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_page_number_set_padding_before () fo_page_number_set_padding_beforevoid fo_page_number_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_page_number_get_padding_bottom () fo_page_number_get_padding_bottomFoProperty* fo_page_number_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_page_number_set_padding_bottom () fo_page_number_set_padding_bottomvoid fo_page_number_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_page_number_get_padding_end () fo_page_number_get_padding_endFoProperty* fo_page_number_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_page_number_set_padding_end () fo_page_number_set_padding_endvoid fo_page_number_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_page_number_get_padding_left () fo_page_number_get_padding_leftFoProperty* fo_page_number_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_page_number_set_padding_left () fo_page_number_set_padding_leftvoid fo_page_number_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_page_number_get_padding_right () fo_page_number_get_padding_rightFoProperty* fo_page_number_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_page_number_set_padding_right () fo_page_number_set_padding_rightvoid fo_page_number_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_page_number_get_padding_start () fo_page_number_get_padding_startFoProperty* fo_page_number_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_page_number_set_padding_start () fo_page_number_set_padding_startvoid fo_page_number_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_page_number_get_padding_top () fo_page_number_get_padding_topFoProperty* fo_page_number_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_page_number_set_padding_top () fo_page_number_set_padding_topvoid fo_page_number_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_page_number_get_role () fo_page_number_get_roleFoProperty* fo_page_number_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_page_number_set_role () fo_page_number_set_rolevoid fo_page_number_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_page_number_get_score_spaces () fo_page_number_get_score_spacesFoProperty* fo_page_number_get_score_spaces (FoFo *fo_fo); Gets the "score-spaces" property of fo_fo fo_fo : The FoFo object Returns : The "score-spaces" property value fo_page_number_set_score_spaces () fo_page_number_set_score_spacesvoid fo_page_number_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); Sets the "score-spaces" property of fo_fo to new_score_spaces fo_fo : The FoFo object new_score_spaces : The new "score-spaces" property value fo_page_number_get_source_document () fo_page_number_get_source_documentFoProperty* fo_page_number_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_page_number_set_source_document () fo_page_number_set_source_documentvoid fo_page_number_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_page_number_get_space_end () fo_page_number_get_space_endFoProperty* fo_page_number_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo fo_fo : The FoFo object Returns : The "space-end" property value fo_page_number_set_space_end () fo_page_number_set_space_endvoid fo_page_number_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end fo_fo : The FoFo object new_space_end : The new "space-end" property value fo_page_number_get_space_start () fo_page_number_get_space_startFoProperty* fo_page_number_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo fo_fo : The FoFo object Returns : The "space-start" property value fo_page_number_set_space_start () fo_page_number_set_space_startvoid fo_page_number_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start fo_fo : The FoFo object new_space_start : The new "space-start" property value fo_page_number_get_wrap_option () fo_page_number_get_wrap_optionFoProperty* fo_page_number_get_wrap_option (FoFo *fo_fo); Gets the "wrap-option" property of fo_fo fo_fo : The FoFo object Returns : The "wrap-option" property value fo_page_number_set_wrap_option () fo_page_number_set_wrap_optionvoid fo_page_number_set_wrap_option (FoFo *fo_fo, FoProperty *new_wrap_option); Sets the "wrap-option" property of fo_fo to new_wrap_option fo_fo : The FoFo object new_wrap_option : The new "wrap-option" property value Property Details The <literal>"alignment-adjust"</literal> property FoPageNumber:alignment-adjust "alignment-adjust" FoProperty* : Read Alignment Adjust property. The <literal>"alignment-baseline"</literal> property FoPageNumber:alignment-baseline "alignment-baseline" FoProperty* : Read Alignment Baseline property. The <literal>"background-color"</literal> property FoPageNumber:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoPageNumber:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"baseline-shift"</literal> property FoPageNumber:baseline-shift "baseline-shift" FoProperty* : Read Baseline Shift property. The <literal>"border-after-color"</literal> property FoPageNumber:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoPageNumber:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoPageNumber:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoPageNumber:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoPageNumber:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoPageNumber:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoPageNumber:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoPageNumber:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoPageNumber:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoPageNumber:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoPageNumber:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoPageNumber:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoPageNumber:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoPageNumber:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoPageNumber:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoPageNumber:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoPageNumber:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoPageNumber:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoPageNumber:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoPageNumber:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoPageNumber:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoPageNumber:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoPageNumber:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoPageNumber:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"dominant-baseline"</literal> property FoPageNumber:dominant-baseline "dominant-baseline" FoProperty* : Read Dominant Baseline property. The <literal>"font-family"</literal> property FoPageNumber:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoPageNumber:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoPageNumber:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoPageNumber:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoPageNumber:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoPageNumber:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"id"</literal> property FoPageNumber:id "id" FoProperty* : Read Id property. The <literal>"keep-with-next"</literal> property FoPageNumber:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoPageNumber:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoPageNumber:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoPageNumber:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoPageNumber:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoPageNumber:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoPageNumber:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoPageNumber:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"line-height"</literal> property FoPageNumber:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"padding-after"</literal> property FoPageNumber:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoPageNumber:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoPageNumber:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoPageNumber:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoPageNumber:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoPageNumber:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoPageNumber:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoPageNumber:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoPageNumber:role "role" FoProperty* : Read Role property. The <literal>"score-spaces"</literal> property FoPageNumber:score-spaces "score-spaces" FoProperty* : Read Score Spaces property. The <literal>"source-document"</literal> property FoPageNumber:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-end"</literal> property FoPageNumber:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoPageNumber:space-start "space-start" FoProperty* : Read Space Start property. The <literal>"wrap-option"</literal> property FoPageNumber:wrap-option "wrap-option" FoProperty* : Read Wrap Option property. xmlroff-0.6.2/docs/xml/fo-page-sequence-master.xml0000644000175000017500000001511611156164732017016 00000000000000 page-sequence-master 3 XMLROFF Library page-sequence-master Synopsis FoPageSequenceMaster; FoPageSequenceMasterClass; FoFo* fo_page_sequence_master_new (void); void fo_page_sequence_master_set_master_name (FoFo *fo_fo, FoProperty *new_master_name); FoProperty* fo_page_sequence_master_get_master_name (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoPageSequenceMaster Properties "master-name" FoProperty* : Read Description Details FoPageSequenceMaster FoPageSequenceMastertypedef struct _FoPageSequenceMaster FoPageSequenceMaster; FoPageSequenceMasterClass FoPageSequenceMasterClasstypedef struct _FoPageSequenceMasterClass FoPageSequenceMasterClass; fo_page_sequence_master_new () fo_page_sequence_master_newFoFo* fo_page_sequence_master_new (void); Creates a new FoPageSequenceMaster initialized to default value. Returns : the new FoPageSequenceMaster fo_page_sequence_master_set_master_name () fo_page_sequence_master_set_master_namevoid fo_page_sequence_master_set_master_name (FoFo *fo_fo, FoProperty *new_master_name); Sets the master-name property of page_sequence_master to new_master_name fo_fo : The FoFo object new_master_name : The new "master-name" property value fo_page_sequence_master_get_master_name () fo_page_sequence_master_get_master_nameFoProperty* fo_page_sequence_master_get_master_name (FoFo *fo_fo); Gets the master-name property of page_sequence_master fo_fo : The FoFo object Returns : The "master-name" property value Property Details The <literal>"master-name"</literal> property FoPageSequenceMaster:master-name "master-name" FoProperty* : Read Master Name property. xmlroff-0.6.2/docs/xml/fo-page-sequence.xml0000644000175000017500000005171211156164732015527 00000000000000 page-sequence 3 XMLROFF Library page-sequence Synopsis FoPageSequence; FoPageSequenceClass; FoFo* fo_page_sequence_new (void); FoProperty* fo_page_sequence_get_format (FoFo *fo_fo); void fo_page_sequence_set_format (FoFo *fo_fo, FoProperty *new_format); FoProperty* fo_page_sequence_get_grouping_separator (FoFo *fo_fo); void fo_page_sequence_set_grouping_separator (FoFo *fo_fo, FoProperty *new_grouping_separator); FoProperty* fo_page_sequence_get_grouping_size (FoFo *fo_fo); void fo_page_sequence_set_grouping_size (FoFo *fo_fo, FoProperty *new_grouping_size); FoProperty* fo_page_sequence_get_id (FoFo *fo_fo); void fo_page_sequence_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_page_sequence_get_letter_value (FoFo *fo_fo); void fo_page_sequence_set_letter_value (FoFo *fo_fo, FoProperty *new_letter_value); FoProperty* fo_page_sequence_get_master_reference (FoFo *fo_fo); void fo_page_sequence_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoPageSequence Properties "format" FoProperty* : Read "grouping-separator" FoProperty* : Read "grouping-size" FoProperty* : Read "id" FoProperty* : Read "letter-value" FoProperty* : Read "master-reference" FoProperty* : Read Description Details FoPageSequence FoPageSequencetypedef struct _FoPageSequence FoPageSequence; Instance of the 'page-sequence' formatting object. FoPageSequenceClass FoPageSequenceClasstypedef struct _FoPageSequenceClass FoPageSequenceClass; Class structure for the 'page-sequence' formatting object. fo_page_sequence_new () fo_page_sequence_newFoFo* fo_page_sequence_new (void); Creates a new FoPageSequence initialized to default value. Returns : the new FoPageSequence. fo_page_sequence_get_format () fo_page_sequence_get_formatFoProperty* fo_page_sequence_get_format (FoFo *fo_fo); Gets the "format" property of fo_fo. fo_fo : The FoFo object. Returns : The "format" property value. fo_page_sequence_set_format () fo_page_sequence_set_formatvoid fo_page_sequence_set_format (FoFo *fo_fo, FoProperty *new_format); Sets the "format" property of fo_fo to new_format. fo_fo : The FoFo object. new_format : The new "format" property value. fo_page_sequence_get_grouping_separator () fo_page_sequence_get_grouping_separatorFoProperty* fo_page_sequence_get_grouping_separator (FoFo *fo_fo); Gets the "grouping-separator" property of fo_fo. fo_fo : The FoFo object. Returns : The "grouping-separator" property value. fo_page_sequence_set_grouping_separator () fo_page_sequence_set_grouping_separatorvoid fo_page_sequence_set_grouping_separator (FoFo *fo_fo, FoProperty *new_grouping_separator); Sets the "grouping-separator" property of fo_fo to new_grouping_separator. fo_fo : The FoFo object. new_grouping_separator : The new "grouping-separator" property value. fo_page_sequence_get_grouping_size () fo_page_sequence_get_grouping_sizeFoProperty* fo_page_sequence_get_grouping_size (FoFo *fo_fo); Gets the "grouping-size" property of fo_fo. fo_fo : The FoFo object. Returns : The "grouping-size" property value. fo_page_sequence_set_grouping_size () fo_page_sequence_set_grouping_sizevoid fo_page_sequence_set_grouping_size (FoFo *fo_fo, FoProperty *new_grouping_size); Sets the "grouping-size" property of fo_fo to new_grouping_size. fo_fo : The FoFo object. new_grouping_size : The new "grouping-size" property value. fo_page_sequence_get_id () fo_page_sequence_get_idFoProperty* fo_page_sequence_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_page_sequence_set_id () fo_page_sequence_set_idvoid fo_page_sequence_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id. fo_fo : The FoFo object. new_id : The new "id" property value. fo_page_sequence_get_letter_value () fo_page_sequence_get_letter_valueFoProperty* fo_page_sequence_get_letter_value (FoFo *fo_fo); Gets the "letter-value" property of fo_fo. fo_fo : The FoFo object. Returns : The "letter-value" property value. fo_page_sequence_set_letter_value () fo_page_sequence_set_letter_valuevoid fo_page_sequence_set_letter_value (FoFo *fo_fo, FoProperty *new_letter_value); Sets the "letter-value" property of fo_fo to new_letter_value. fo_fo : The FoFo object. new_letter_value : The new "letter-value" property value. fo_page_sequence_get_master_reference () fo_page_sequence_get_master_referenceFoProperty* fo_page_sequence_get_master_reference (FoFo *fo_fo); Gets the "master-reference" property of fo_fo. fo_fo : The FoFo object. Returns : The "master-reference" property value. fo_page_sequence_set_master_reference () fo_page_sequence_set_master_referencevoid fo_page_sequence_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); Sets the "master-reference" property of fo_fo to new_master_reference. fo_fo : The FoFo object. new_master_reference : The new "master-reference" property value. Property Details The <literal>"format"</literal> property FoPageSequence:format "format" FoProperty* : Read Format property. The <literal>"grouping-separator"</literal> property FoPageSequence:grouping-separator "grouping-separator" FoProperty* : Read Grouping Separator property. The <literal>"grouping-size"</literal> property FoPageSequence:grouping-size "grouping-size" FoProperty* : Read Grouping Size property. The <literal>"id"</literal> property FoPageSequence:id "id" FoProperty* : Read Id property. The <literal>"letter-value"</literal> property FoPageSequence:letter-value "letter-value" FoProperty* : Read Letter Value property. The <literal>"master-reference"</literal> property FoPageSequence:master-reference "master-reference" FoProperty* : Read Master Reference property. xmlroff-0.6.2/docs/xml/fo-pcw.xml0000644000175000017500000001172511156164732013576 00000000000000 FoPcw 3 XMLROFF Library FoPcw Synopsis FoPcw; FoPcwClass; FoDatatype* fo_pcw_new (void); FoDatatype* fo_pcw_new_with_value (gdouble value); gdouble fo_pcw_get_value (FoDatatype *pcw); FoDatatype* fo_pcw_get_pcw_zero (void); Description Details FoPcw FoPcwtypedef struct _FoPcw FoPcw; FoPcwClass FoPcwClasstypedef struct _FoPcwClass FoPcwClass; fo_pcw_new () fo_pcw_newFoDatatype* fo_pcw_new (void); Creates a new FoPcw initialized to default value. Returns : the new FoPcw fo_pcw_new_with_value () fo_pcw_new_with_valueFoDatatype* fo_pcw_new_with_value (gdouble value); Creates a new FoPcw set to value value : Value of the new FoPcw Returns : The new FoPcw fo_pcw_get_value () fo_pcw_get_valuegdouble fo_pcw_get_value (FoDatatype *pcw); Get the value of pcw pcw : FoPcw Returns : Numeric value of pcw fo_pcw_get_pcw_zero () fo_pcw_get_pcw_zeroFoDatatype* fo_pcw_get_pcw_zero (void); Create and return an FoPcw with the well-known value 0. This saves creation of multiple FoPcw objects that all have the value 0.0. Returns : FoPcw with value 0 xmlroff-0.6.2/docs/xml/fo-percentage.xml0000644000175000017500000001773511156164732015131 00000000000000 FoPercentage 3 XMLROFF Library FoPercentage Synopsis FoPercentage; FoPercentageClass; FoDatatype* fo_percentage_new (void); FoDatatype* fo_percentage_new_with_value (gdouble value); gdouble fo_percentage_get_value (FoDatatype *percentage); void fo_percentage_set_value (FoDatatype *percentage, gdouble new_value); FoDatatype* fo_percentage_get_percentage_hundred (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoPercentage Properties "value" gdouble : Read / Write Description Details FoPercentage FoPercentagetypedef struct _FoPercentage FoPercentage; FoPercentageClass FoPercentageClasstypedef struct _FoPercentageClass FoPercentageClass; fo_percentage_new () fo_percentage_newFoDatatype* fo_percentage_new (void); Creates a new FoPercentage initialized to default value. Returns : the new FoPercentage. fo_percentage_new_with_value () fo_percentage_new_with_valueFoDatatype* fo_percentage_new_with_value (gdouble value); Creates a new FoPercentage initialized to value of value. For example, fo_percentage_new_with_value(100) creates a new FoPercentage with value equal to 100%. value : Value of new FoPercentage. Returns : the new FoPercentage. fo_percentage_get_value () fo_percentage_get_valuegdouble fo_percentage_get_value (FoDatatype *percentage); Get the value of percentage. percentage : FoPercentage. Returns : Numeric value of percentage. fo_percentage_set_value () fo_percentage_set_valuevoid fo_percentage_set_value (FoDatatype *percentage, gdouble new_value); Set the value of percentage. percentage : FoPercentage. new_value : New value for percentage. fo_percentage_get_percentage_hundred () fo_percentage_get_percentage_hundredFoDatatype* fo_percentage_get_percentage_hundred (void); Get an FoPercentage with the well-known value of 100%. Returns : The FoPercentage. Property Details The <literal>"value"</literal> property FoPercentage:value "value" gdouble : Read / Write Percentage value.Default value: 0 xmlroff-0.6.2/docs/xml/fo-pixbuf.xml0000644000175000017500000001105111156164732014272 00000000000000 FoPixbuf 3 XMLROFF Library FoPixbuf Synopsis #define FO_PIXBUF_IFACE (obj) FoPixbuf; FoPixbufIface; GdkPixbuf* fo_pixbuf_get_pixbuf (FoImage *fo_image); void fo_pixbuf_set_pixbuf (FoImage *fo_image, GdkPixbuf *pixbuf); Description Details FO_PIXBUF_IFACE() FO_PIXBUF_IFACE#define FO_PIXBUF_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_PIXBUF, FoPixbufIface)) obj : FoPixbuf FoPixbuftypedef struct _FoPixbuf FoPixbuf; FoPixbufIface FoPixbufIfacetypedef struct { GTypeInterface g_iface; GdkPixbuf * (*get_pixbuf) (FoImage *fo_image); void (*set_pixbuf) (FoImage *fo_image, GdkPixbuf *pixbuf); } FoPixbufIface; fo_pixbuf_get_pixbuf () fo_pixbuf_get_pixbufGdkPixbuf* fo_pixbuf_get_pixbuf (FoImage *fo_image); Gets the GdkPixbuf contained by fo_image. fo_image : The FoImage containing the pixbuf. Returns : The GdkPixbuf contained by fo_image. fo_pixbuf_set_pixbuf () fo_pixbuf_set_pixbufvoid fo_pixbuf_set_pixbuf (FoImage *fo_image, GdkPixbuf *pixbuf); Sets the GdkPixbuf contained by fo_image. fo_image : The FoImage containing the pixbuf. pixbuf : GdkPixbuf to be contained by fo_image. xmlroff-0.6.2/docs/xml/fo-property-alignment-adjust.xml0000644000175000017500000000706211156164732020134 00000000000000 alignment-adjust 3 XMLROFF Library alignment-adjust Synopsis FoPropertyAlignmentAdjust; FoPropertyAlignmentAdjustClass; FoProperty* fo_property_alignment_adjust_new (void); FoProperty* fo_property_alignment_adjust_get_initial (void); Description Details FoPropertyAlignmentAdjust FoPropertyAlignmentAdjusttypedef struct _FoPropertyAlignmentAdjust FoPropertyAlignmentAdjust; FoPropertyAlignmentAdjustClass FoPropertyAlignmentAdjustClasstypedef struct _FoPropertyAlignmentAdjustClass FoPropertyAlignmentAdjustClass; fo_property_alignment_adjust_new () fo_property_alignment_adjust_newFoProperty* fo_property_alignment_adjust_new (void); Creates a new FoPropertyAlignmentAdjust initialized to default value. Returns : the new FoPropertyAlignmentAdjust. fo_property_alignment_adjust_get_initial () fo_property_alignment_adjust_get_initialFoProperty* fo_property_alignment_adjust_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-alignment-baseline.xml0000644000175000017500000000720011156164732020416 00000000000000 alignment-baseline 3 XMLROFF Library alignment-baseline Synopsis FoPropertyAlignmentBaseline; FoPropertyAlignmentBaselineClass; FoProperty* fo_property_alignment_baseline_new (void); FoProperty* fo_property_alignment_baseline_get_initial (void); Description Details FoPropertyAlignmentBaseline FoPropertyAlignmentBaselinetypedef struct _FoPropertyAlignmentBaseline FoPropertyAlignmentBaseline; FoPropertyAlignmentBaselineClass FoPropertyAlignmentBaselineClasstypedef struct _FoPropertyAlignmentBaselineClass FoPropertyAlignmentBaselineClass; fo_property_alignment_baseline_new () fo_property_alignment_baseline_newFoProperty* fo_property_alignment_baseline_new (void); Creates a new FoPropertyAlignmentBaseline initialized to default value. Returns : the new FoPropertyAlignmentBaseline. fo_property_alignment_baseline_get_initial () fo_property_alignment_baseline_get_initialFoProperty* fo_property_alignment_baseline_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-background-color.xml0000644000175000017500000000706211156164732020121 00000000000000 background-color 3 XMLROFF Library background-color Synopsis FoPropertyBackgroundColor; FoPropertyBackgroundColorClass; FoProperty* fo_property_background_color_new (void); FoProperty* fo_property_background_color_get_initial (void); Description Details FoPropertyBackgroundColor FoPropertyBackgroundColortypedef struct _FoPropertyBackgroundColor FoPropertyBackgroundColor; FoPropertyBackgroundColorClass FoPropertyBackgroundColorClasstypedef struct _FoPropertyBackgroundColorClass FoPropertyBackgroundColorClass; fo_property_background_color_new () fo_property_background_color_newFoProperty* fo_property_background_color_new (void); Creates a new FoPropertyBackgroundColor initialized to default value. Returns : the new FoPropertyBackgroundColor. fo_property_background_color_get_initial () fo_property_background_color_get_initialFoProperty* fo_property_background_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-background-image.xml0000644000175000017500000000706211156164732020065 00000000000000 background-image 3 XMLROFF Library background-image Synopsis FoPropertyBackgroundImage; FoPropertyBackgroundImageClass; FoProperty* fo_property_background_image_new (void); FoProperty* fo_property_background_image_get_initial (void); Description Details FoPropertyBackgroundImage FoPropertyBackgroundImagetypedef struct _FoPropertyBackgroundImage FoPropertyBackgroundImage; FoPropertyBackgroundImageClass FoPropertyBackgroundImageClasstypedef struct _FoPropertyBackgroundImageClass FoPropertyBackgroundImageClass; fo_property_background_image_new () fo_property_background_image_newFoProperty* fo_property_background_image_new (void); Creates a new FoPropertyBackgroundImage initialized to default value. Returns : the new FoPropertyBackgroundImage. fo_property_background_image_get_initial () fo_property_background_image_get_initialFoProperty* fo_property_background_image_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-baseline-shift.xml0000644000175000017500000000674411156164732017571 00000000000000 baseline-shift 3 XMLROFF Library baseline-shift Synopsis FoPropertyBaselineShift; FoPropertyBaselineShiftClass; FoProperty* fo_property_baseline_shift_new (void); FoProperty* fo_property_baseline_shift_get_initial (void); Description Details FoPropertyBaselineShift FoPropertyBaselineShifttypedef struct _FoPropertyBaselineShift FoPropertyBaselineShift; FoPropertyBaselineShiftClass FoPropertyBaselineShiftClasstypedef struct _FoPropertyBaselineShiftClass FoPropertyBaselineShiftClass; fo_property_baseline_shift_new () fo_property_baseline_shift_newFoProperty* fo_property_baseline_shift_new (void); Creates a new FoPropertyBaselineShift initialized to default value. Returns : the new FoPropertyBaselineShift. fo_property_baseline_shift_get_initial () fo_property_baseline_shift_get_initialFoProperty* fo_property_baseline_shift_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-block-progression-dimension-maximum.xml0000644000175000017500000001057211156164732023766 00000000000000 block-progression-dimension.maximum 3 XMLROFF Library block-progression-dimension.maximum Synopsis FoPropertyBlockProgressionDimensionMaximum; FoPropertyBlockProgressionDimensionMaximumClass; FoProperty* fo_property_block_progression_dimension_maximum_new (void); FoProperty* fo_property_block_progression_dimension_maximum_get_initial (void); Description Details FoPropertyBlockProgressionDimensionMaximum FoPropertyBlockProgressionDimensionMaximumtypedef struct _FoPropertyBlockProgressionDimensionMaximum FoPropertyBlockProgressionDimensionMaximum; FoPropertyBlockProgressionDimensionMaximumClass FoPropertyBlockProgressionDimensionMaximumClasstypedef struct _FoPropertyBlockProgressionDimensionMaximumClass FoPropertyBlockProgressionDimensionMaximumClass; fo_property_block_progression_dimension_maximum_new () fo_property_block_progression_dimension_maximum_newFoProperty* fo_property_block_progression_dimension_maximum_new (void); Creates a new FoPropertyBlockProgressionDimensionMaximum initialized to default value. Returns : the new FoPropertyBlockProgressionDimensionMaximum. fo_property_block_progression_dimension_maximum_get_initial () fo_property_block_progression_dimension_maximum_get_initialFoProperty* fo_property_block_progression_dimension_maximum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-block-progression-dimension-minimum.xml0000644000175000017500000001057211156164732023764 00000000000000 block-progression-dimension.minimum 3 XMLROFF Library block-progression-dimension.minimum Synopsis FoPropertyBlockProgressionDimensionMinimum; FoPropertyBlockProgressionDimensionMinimumClass; FoProperty* fo_property_block_progression_dimension_minimum_new (void); FoProperty* fo_property_block_progression_dimension_minimum_get_initial (void); Description Details FoPropertyBlockProgressionDimensionMinimum FoPropertyBlockProgressionDimensionMinimumtypedef struct _FoPropertyBlockProgressionDimensionMinimum FoPropertyBlockProgressionDimensionMinimum; FoPropertyBlockProgressionDimensionMinimumClass FoPropertyBlockProgressionDimensionMinimumClasstypedef struct _FoPropertyBlockProgressionDimensionMinimumClass FoPropertyBlockProgressionDimensionMinimumClass; fo_property_block_progression_dimension_minimum_new () fo_property_block_progression_dimension_minimum_newFoProperty* fo_property_block_progression_dimension_minimum_new (void); Creates a new FoPropertyBlockProgressionDimensionMinimum initialized to default value. Returns : the new FoPropertyBlockProgressionDimensionMinimum. fo_property_block_progression_dimension_minimum_get_initial () fo_property_block_progression_dimension_minimum_get_initialFoProperty* fo_property_block_progression_dimension_minimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-block-progression-dimension-optimum.xml0000644000175000017500000001057211156164732024003 00000000000000 block-progression-dimension.optimum 3 XMLROFF Library block-progression-dimension.optimum Synopsis FoPropertyBlockProgressionDimensionOptimum; FoPropertyBlockProgressionDimensionOptimumClass; FoProperty* fo_property_block_progression_dimension_optimum_new (void); FoProperty* fo_property_block_progression_dimension_optimum_get_initial (void); Description Details FoPropertyBlockProgressionDimensionOptimum FoPropertyBlockProgressionDimensionOptimumtypedef struct _FoPropertyBlockProgressionDimensionOptimum FoPropertyBlockProgressionDimensionOptimum; FoPropertyBlockProgressionDimensionOptimumClass FoPropertyBlockProgressionDimensionOptimumClasstypedef struct _FoPropertyBlockProgressionDimensionOptimumClass FoPropertyBlockProgressionDimensionOptimumClass; fo_property_block_progression_dimension_optimum_new () fo_property_block_progression_dimension_optimum_newFoProperty* fo_property_block_progression_dimension_optimum_new (void); Creates a new FoPropertyBlockProgressionDimensionOptimum initialized to default value. Returns : the new FoPropertyBlockProgressionDimensionOptimum. fo_property_block_progression_dimension_optimum_get_initial () fo_property_block_progression_dimension_optimum_get_initialFoProperty* fo_property_block_progression_dimension_optimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-block-progression-dimension.xml0000644000175000017500000001011311156164732022302 00000000000000 block-progression-dimension 3 XMLROFF Library block-progression-dimension Synopsis FoPropertyBlockProgressionDimension; FoPropertyBlockProgressionDimensionClass; FoProperty* fo_property_block_progression_dimension_new (void); FoProperty* fo_property_block_progression_dimension_get_initial (void); Description Details FoPropertyBlockProgressionDimension FoPropertyBlockProgressionDimensiontypedef struct _FoPropertyBlockProgressionDimension FoPropertyBlockProgressionDimension; FoPropertyBlockProgressionDimensionClass FoPropertyBlockProgressionDimensionClasstypedef struct _FoPropertyBlockProgressionDimensionClass FoPropertyBlockProgressionDimensionClass; fo_property_block_progression_dimension_new () fo_property_block_progression_dimension_newFoProperty* fo_property_block_progression_dimension_new (void); Creates a new FoPropertyBlockProgressionDimension initialized to default value. Returns : the new FoPropertyBlockProgressionDimension. fo_property_block_progression_dimension_get_initial () fo_property_block_progression_dimension_get_initialFoProperty* fo_property_block_progression_dimension_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-after-color.xml0000644000175000017500000000715411156164732020360 00000000000000 border-after-color 3 XMLROFF Library border-after-color Synopsis FoPropertyBorderAfterColor; FoPropertyBorderAfterColorClass; FoProperty* fo_property_border_after_color_new (void); FoProperty* fo_property_border_after_color_get_initial (void); Description Details FoPropertyBorderAfterColor FoPropertyBorderAfterColortypedef struct _FoPropertyBorderAfterColor FoPropertyBorderAfterColor; FoPropertyBorderAfterColorClass FoPropertyBorderAfterColorClasstypedef struct _FoPropertyBorderAfterColorClass FoPropertyBorderAfterColorClass; fo_property_border_after_color_new () fo_property_border_after_color_newFoProperty* fo_property_border_after_color_new (void); Creates a new FoPropertyBorderAfterColor initialized to default value. Returns : the new FoPropertyBorderAfterColor. fo_property_border_after_color_get_initial () fo_property_border_after_color_get_initialFoProperty* fo_property_border_after_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-after-precedence.xml0000644000175000017500000000764711156164732021346 00000000000000 border-after-precedence 3 XMLROFF Library border-after-precedence Synopsis FoPropertyBorderAfterPrecedence; FoPropertyBorderAfterPrecedenceClass; FoProperty* fo_property_border_after_precedence_new (void); FoProperty* fo_property_border_after_precedence_get_initial (void); Description Details FoPropertyBorderAfterPrecedence FoPropertyBorderAfterPrecedencetypedef struct _FoPropertyBorderAfterPrecedence FoPropertyBorderAfterPrecedence; FoPropertyBorderAfterPrecedenceClass FoPropertyBorderAfterPrecedenceClasstypedef struct _FoPropertyBorderAfterPrecedenceClass FoPropertyBorderAfterPrecedenceClass; fo_property_border_after_precedence_new () fo_property_border_after_precedence_newFoProperty* fo_property_border_after_precedence_new (void); Creates a new FoPropertyBorderAfterPrecedence initialized to default value. Returns : the new FoPropertyBorderAfterPrecedence. fo_property_border_after_precedence_get_initial () fo_property_border_after_precedence_get_initialFoProperty* fo_property_border_after_precedence_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-after-style.xml0000644000175000017500000000715411156164732020402 00000000000000 border-after-style 3 XMLROFF Library border-after-style Synopsis FoPropertyBorderAfterStyle; FoPropertyBorderAfterStyleClass; FoProperty* fo_property_border_after_style_new (void); FoProperty* fo_property_border_after_style_get_initial (void); Description Details FoPropertyBorderAfterStyle FoPropertyBorderAfterStyletypedef struct _FoPropertyBorderAfterStyle FoPropertyBorderAfterStyle; FoPropertyBorderAfterStyleClass FoPropertyBorderAfterStyleClasstypedef struct _FoPropertyBorderAfterStyleClass FoPropertyBorderAfterStyleClass; fo_property_border_after_style_new () fo_property_border_after_style_newFoProperty* fo_property_border_after_style_new (void); Creates a new FoPropertyBorderAfterStyle initialized to default value. Returns : the new FoPropertyBorderAfterStyle. fo_property_border_after_style_get_initial () fo_property_border_after_style_get_initialFoProperty* fo_property_border_after_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-after-width.xml0000644000175000017500000000715411156164732020361 00000000000000 border-after-width 3 XMLROFF Library border-after-width Synopsis FoPropertyBorderAfterWidth; FoPropertyBorderAfterWidthClass; FoProperty* fo_property_border_after_width_new (void); FoProperty* fo_property_border_after_width_get_initial (void); Description Details FoPropertyBorderAfterWidth FoPropertyBorderAfterWidthtypedef struct _FoPropertyBorderAfterWidth FoPropertyBorderAfterWidth; FoPropertyBorderAfterWidthClass FoPropertyBorderAfterWidthClasstypedef struct _FoPropertyBorderAfterWidthClass FoPropertyBorderAfterWidthClass; fo_property_border_after_width_new () fo_property_border_after_width_newFoProperty* fo_property_border_after_width_new (void); Creates a new FoPropertyBorderAfterWidth initialized to default value. Returns : the new FoPropertyBorderAfterWidth. fo_property_border_after_width_get_initial () fo_property_border_after_width_get_initialFoProperty* fo_property_border_after_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-before-color.xml0000644000175000017500000000722311156164732020516 00000000000000 border-before-color 3 XMLROFF Library border-before-color Synopsis FoPropertyBorderBeforeColor; FoPropertyBorderBeforeColorClass; FoProperty* fo_property_border_before_color_new (void); FoProperty* fo_property_border_before_color_get_initial (void); Description Details FoPropertyBorderBeforeColor FoPropertyBorderBeforeColortypedef struct _FoPropertyBorderBeforeColor FoPropertyBorderBeforeColor; FoPropertyBorderBeforeColorClass FoPropertyBorderBeforeColorClasstypedef struct _FoPropertyBorderBeforeColorClass FoPropertyBorderBeforeColorClass; fo_property_border_before_color_new () fo_property_border_before_color_newFoProperty* fo_property_border_before_color_new (void); Creates a new FoPropertyBorderBeforeColor initialized to default value. Returns : the new FoPropertyBorderBeforeColor. fo_property_border_before_color_get_initial () fo_property_border_before_color_get_initialFoProperty* fo_property_border_before_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-before-precedence.xml0000644000175000017500000000772011156164732021477 00000000000000 border-before-precedence 3 XMLROFF Library border-before-precedence Synopsis FoPropertyBorderBeforePrecedence; FoPropertyBorderBeforePrecedenceClass; FoProperty* fo_property_border_before_precedence_new (void); FoProperty* fo_property_border_before_precedence_get_initial (void); Description Details FoPropertyBorderBeforePrecedence FoPropertyBorderBeforePrecedencetypedef struct _FoPropertyBorderBeforePrecedence FoPropertyBorderBeforePrecedence; FoPropertyBorderBeforePrecedenceClass FoPropertyBorderBeforePrecedenceClasstypedef struct _FoPropertyBorderBeforePrecedenceClass FoPropertyBorderBeforePrecedenceClass; fo_property_border_before_precedence_new () fo_property_border_before_precedence_newFoProperty* fo_property_border_before_precedence_new (void); Creates a new FoPropertyBorderBeforePrecedence initialized to default value. Returns : the new FoPropertyBorderBeforePrecedence. fo_property_border_before_precedence_get_initial () fo_property_border_before_precedence_get_initialFoProperty* fo_property_border_before_precedence_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-before-style.xml0000644000175000017500000000722311156164732020540 00000000000000 border-before-style 3 XMLROFF Library border-before-style Synopsis FoPropertyBorderBeforeStyle; FoPropertyBorderBeforeStyleClass; FoProperty* fo_property_border_before_style_new (void); FoProperty* fo_property_border_before_style_get_initial (void); Description Details FoPropertyBorderBeforeStyle FoPropertyBorderBeforeStyletypedef struct _FoPropertyBorderBeforeStyle FoPropertyBorderBeforeStyle; FoPropertyBorderBeforeStyleClass FoPropertyBorderBeforeStyleClasstypedef struct _FoPropertyBorderBeforeStyleClass FoPropertyBorderBeforeStyleClass; fo_property_border_before_style_new () fo_property_border_before_style_newFoProperty* fo_property_border_before_style_new (void); Creates a new FoPropertyBorderBeforeStyle initialized to default value. Returns : the new FoPropertyBorderBeforeStyle. fo_property_border_before_style_get_initial () fo_property_border_before_style_get_initialFoProperty* fo_property_border_before_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-before-width.xml0000644000175000017500000000722311156164732020517 00000000000000 border-before-width 3 XMLROFF Library border-before-width Synopsis FoPropertyBorderBeforeWidth; FoPropertyBorderBeforeWidthClass; FoProperty* fo_property_border_before_width_new (void); FoProperty* fo_property_border_before_width_get_initial (void); Description Details FoPropertyBorderBeforeWidth FoPropertyBorderBeforeWidthtypedef struct _FoPropertyBorderBeforeWidth FoPropertyBorderBeforeWidth; FoPropertyBorderBeforeWidthClass FoPropertyBorderBeforeWidthClasstypedef struct _FoPropertyBorderBeforeWidthClass FoPropertyBorderBeforeWidthClass; fo_property_border_before_width_new () fo_property_border_before_width_newFoProperty* fo_property_border_before_width_new (void); Creates a new FoPropertyBorderBeforeWidth initialized to default value. Returns : the new FoPropertyBorderBeforeWidth. fo_property_border_before_width_get_initial () fo_property_border_before_width_get_initialFoProperty* fo_property_border_before_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-bottom-color.xml0000644000175000017500000000722311156164732020560 00000000000000 border-bottom-color 3 XMLROFF Library border-bottom-color Synopsis FoPropertyBorderBottomColor; FoPropertyBorderBottomColorClass; FoProperty* fo_property_border_bottom_color_new (void); FoProperty* fo_property_border_bottom_color_get_initial (void); Description Details FoPropertyBorderBottomColor FoPropertyBorderBottomColortypedef struct _FoPropertyBorderBottomColor FoPropertyBorderBottomColor; FoPropertyBorderBottomColorClass FoPropertyBorderBottomColorClasstypedef struct _FoPropertyBorderBottomColorClass FoPropertyBorderBottomColorClass; fo_property_border_bottom_color_new () fo_property_border_bottom_color_newFoProperty* fo_property_border_bottom_color_new (void); Creates a new FoPropertyBorderBottomColor initialized to default value. Returns : the new FoPropertyBorderBottomColor. fo_property_border_bottom_color_get_initial () fo_property_border_bottom_color_get_initialFoProperty* fo_property_border_bottom_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-bottom-style.xml0000644000175000017500000000722311156164732020602 00000000000000 border-bottom-style 3 XMLROFF Library border-bottom-style Synopsis FoPropertyBorderBottomStyle; FoPropertyBorderBottomStyleClass; FoProperty* fo_property_border_bottom_style_new (void); FoProperty* fo_property_border_bottom_style_get_initial (void); Description Details FoPropertyBorderBottomStyle FoPropertyBorderBottomStyletypedef struct _FoPropertyBorderBottomStyle FoPropertyBorderBottomStyle; FoPropertyBorderBottomStyleClass FoPropertyBorderBottomStyleClasstypedef struct _FoPropertyBorderBottomStyleClass FoPropertyBorderBottomStyleClass; fo_property_border_bottom_style_new () fo_property_border_bottom_style_newFoProperty* fo_property_border_bottom_style_new (void); Creates a new FoPropertyBorderBottomStyle initialized to default value. Returns : the new FoPropertyBorderBottomStyle. fo_property_border_bottom_style_get_initial () fo_property_border_bottom_style_get_initialFoProperty* fo_property_border_bottom_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-bottom-width.xml0000644000175000017500000000722311156164732020561 00000000000000 border-bottom-width 3 XMLROFF Library border-bottom-width Synopsis FoPropertyBorderBottomWidth; FoPropertyBorderBottomWidthClass; FoProperty* fo_property_border_bottom_width_new (void); FoProperty* fo_property_border_bottom_width_get_initial (void); Description Details FoPropertyBorderBottomWidth FoPropertyBorderBottomWidthtypedef struct _FoPropertyBorderBottomWidth FoPropertyBorderBottomWidth; FoPropertyBorderBottomWidthClass FoPropertyBorderBottomWidthClasstypedef struct _FoPropertyBorderBottomWidthClass FoPropertyBorderBottomWidthClass; fo_property_border_bottom_width_new () fo_property_border_bottom_width_newFoProperty* fo_property_border_bottom_width_new (void); Creates a new FoPropertyBorderBottomWidth initialized to default value. Returns : the new FoPropertyBorderBottomWidth. fo_property_border_bottom_width_get_initial () fo_property_border_bottom_width_get_initialFoProperty* fo_property_border_bottom_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-bottom.xml0000644000175000017500000000667511156164732017456 00000000000000 border-bottom 3 XMLROFF Library border-bottom Synopsis FoPropertyBorderBottom; FoPropertyBorderBottomClass; FoProperty* fo_property_border_bottom_new (void); FoProperty* fo_property_border_bottom_get_initial (void); Description Details FoPropertyBorderBottom FoPropertyBorderBottomtypedef struct _FoPropertyBorderBottom FoPropertyBorderBottom; FoPropertyBorderBottomClass FoPropertyBorderBottomClasstypedef struct _FoPropertyBorderBottomClass FoPropertyBorderBottomClass; fo_property_border_bottom_new () fo_property_border_bottom_newFoProperty* fo_property_border_bottom_new (void); Creates a new FoPropertyBorderBottom initialized to default value. Returns : the new FoPropertyBorderBottom. fo_property_border_bottom_get_initial () fo_property_border_bottom_get_initialFoProperty* fo_property_border_bottom_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-collapse.xml0000644000175000017500000000701311156164732017737 00000000000000 border-collapse 3 XMLROFF Library border-collapse Synopsis FoPropertyBorderCollapse; FoPropertyBorderCollapseClass; FoProperty* fo_property_border_collapse_new (void); FoProperty* fo_property_border_collapse_get_initial (void); Description Details FoPropertyBorderCollapse FoPropertyBorderCollapsetypedef struct _FoPropertyBorderCollapse FoPropertyBorderCollapse; FoPropertyBorderCollapseClass FoPropertyBorderCollapseClasstypedef struct _FoPropertyBorderCollapseClass FoPropertyBorderCollapseClass; fo_property_border_collapse_new () fo_property_border_collapse_newFoProperty* fo_property_border_collapse_new (void); Creates a new FoPropertyBorderCollapse initialized to default value. Returns : the new FoPropertyBorderCollapse. fo_property_border_collapse_get_initial () fo_property_border_collapse_get_initialFoProperty* fo_property_border_collapse_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-color.xml0000644000175000017500000000675211156164732017264 00000000000000 fo-property-border-color 3 XMLROFF Library fo-property-border-color Synopsis FoPropertyBorderColor; FoPropertyBorderColorClass; FoProperty* fo_property_border_color_new (void); FoProperty* fo_property_border_color_get_initial (void); Description Details FoPropertyBorderColor FoPropertyBorderColortypedef struct _FoPropertyBorderColor FoPropertyBorderColor; FoPropertyBorderColorClass FoPropertyBorderColorClasstypedef struct _FoPropertyBorderColorClass FoPropertyBorderColorClass; fo_property_border_color_new () fo_property_border_color_newFoProperty* fo_property_border_color_new (void); Creates a new FoPropertyBorderColor initialized to default value. Returns : the new FoPropertyBorderColor. fo_property_border_color_get_initial () fo_property_border_color_get_initialFoProperty* fo_property_border_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-end-color.xml0000644000175000017500000000703611156164732020024 00000000000000 border-end-color 3 XMLROFF Library border-end-color Synopsis FoPropertyBorderEndColor; FoPropertyBorderEndColorClass; FoProperty* fo_property_border_end_color_new (void); FoProperty* fo_property_border_end_color_get_initial (void); Description Details FoPropertyBorderEndColor FoPropertyBorderEndColortypedef struct _FoPropertyBorderEndColor FoPropertyBorderEndColor; FoPropertyBorderEndColorClass FoPropertyBorderEndColorClasstypedef struct _FoPropertyBorderEndColorClass FoPropertyBorderEndColorClass; fo_property_border_end_color_new () fo_property_border_end_color_newFoProperty* fo_property_border_end_color_new (void); Creates a new FoPropertyBorderEndColor initialized to default value. Returns : the new FoPropertyBorderEndColor. fo_property_border_end_color_get_initial () fo_property_border_end_color_get_initialFoProperty* fo_property_border_end_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-end-precedence.xml0000644000175000017500000000752511156164732021006 00000000000000 border-end-precedence 3 XMLROFF Library border-end-precedence Synopsis FoPropertyBorderEndPrecedence; FoPropertyBorderEndPrecedenceClass; FoProperty* fo_property_border_end_precedence_new (void); FoProperty* fo_property_border_end_precedence_get_initial (void); Description Details FoPropertyBorderEndPrecedence FoPropertyBorderEndPrecedencetypedef struct _FoPropertyBorderEndPrecedence FoPropertyBorderEndPrecedence; FoPropertyBorderEndPrecedenceClass FoPropertyBorderEndPrecedenceClasstypedef struct _FoPropertyBorderEndPrecedenceClass FoPropertyBorderEndPrecedenceClass; fo_property_border_end_precedence_new () fo_property_border_end_precedence_newFoProperty* fo_property_border_end_precedence_new (void); Creates a new FoPropertyBorderEndPrecedence initialized to default value. Returns : the new FoPropertyBorderEndPrecedence. fo_property_border_end_precedence_get_initial () fo_property_border_end_precedence_get_initialFoProperty* fo_property_border_end_precedence_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-end-style.xml0000644000175000017500000000703611156164732020046 00000000000000 border-end-style 3 XMLROFF Library border-end-style Synopsis FoPropertyBorderEndStyle; FoPropertyBorderEndStyleClass; FoProperty* fo_property_border_end_style_new (void); FoProperty* fo_property_border_end_style_get_initial (void); Description Details FoPropertyBorderEndStyle FoPropertyBorderEndStyletypedef struct _FoPropertyBorderEndStyle FoPropertyBorderEndStyle; FoPropertyBorderEndStyleClass FoPropertyBorderEndStyleClasstypedef struct _FoPropertyBorderEndStyleClass FoPropertyBorderEndStyleClass; fo_property_border_end_style_new () fo_property_border_end_style_newFoProperty* fo_property_border_end_style_new (void); Creates a new FoPropertyBorderEndStyle initialized to default value. Returns : the new FoPropertyBorderEndStyle. fo_property_border_end_style_get_initial () fo_property_border_end_style_get_initialFoProperty* fo_property_border_end_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-end-width.xml0000644000175000017500000000703611156164732020025 00000000000000 border-end-width 3 XMLROFF Library border-end-width Synopsis FoPropertyBorderEndWidth; FoPropertyBorderEndWidthClass; FoProperty* fo_property_border_end_width_new (void); FoProperty* fo_property_border_end_width_get_initial (void); Description Details FoPropertyBorderEndWidth FoPropertyBorderEndWidthtypedef struct _FoPropertyBorderEndWidth FoPropertyBorderEndWidth; FoPropertyBorderEndWidthClass FoPropertyBorderEndWidthClasstypedef struct _FoPropertyBorderEndWidthClass FoPropertyBorderEndWidthClass; fo_property_border_end_width_new () fo_property_border_end_width_newFoProperty* fo_property_border_end_width_new (void); Creates a new FoPropertyBorderEndWidth initialized to default value. Returns : the new FoPropertyBorderEndWidth. fo_property_border_end_width_get_initial () fo_property_border_end_width_get_initialFoProperty* fo_property_border_end_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-left-color.xml0000644000175000017500000000710511156164732020205 00000000000000 border-left-color 3 XMLROFF Library border-left-color Synopsis FoPropertyBorderLeftColor; FoPropertyBorderLeftColorClass; FoProperty* fo_property_border_left_color_new (void); FoProperty* fo_property_border_left_color_get_initial (void); Description Details FoPropertyBorderLeftColor FoPropertyBorderLeftColortypedef struct _FoPropertyBorderLeftColor FoPropertyBorderLeftColor; FoPropertyBorderLeftColorClass FoPropertyBorderLeftColorClasstypedef struct _FoPropertyBorderLeftColorClass FoPropertyBorderLeftColorClass; fo_property_border_left_color_new () fo_property_border_left_color_newFoProperty* fo_property_border_left_color_new (void); Creates a new FoPropertyBorderLeftColor initialized to default value. Returns : the new FoPropertyBorderLeftColor. fo_property_border_left_color_get_initial () fo_property_border_left_color_get_initialFoProperty* fo_property_border_left_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-left.xml0000644000175000017500000000637711156164732017103 00000000000000 border-left 3 XMLROFF Library border-left Synopsis FoPropertyBorderLeft; FoPropertyBorderLeftClass; FoProperty* fo_property_border_left_new (void); FoProperty* fo_property_border_left_get_initial (void); Description Details FoPropertyBorderLeft FoPropertyBorderLefttypedef struct _FoPropertyBorderLeft FoPropertyBorderLeft; FoPropertyBorderLeftClass FoPropertyBorderLeftClasstypedef struct _FoPropertyBorderLeftClass FoPropertyBorderLeftClass; fo_property_border_left_new () fo_property_border_left_newFoProperty* fo_property_border_left_new (void); Creates a new FoPropertyBorderLeft initialized to default value. Returns : the new FoPropertyBorderLeft. fo_property_border_left_get_initial () fo_property_border_left_get_initialFoProperty* fo_property_border_left_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-left-style.xml0000644000175000017500000000710511156164732020227 00000000000000 border-left-style 3 XMLROFF Library border-left-style Synopsis FoPropertyBorderLeftStyle; FoPropertyBorderLeftStyleClass; FoProperty* fo_property_border_left_style_new (void); FoProperty* fo_property_border_left_style_get_initial (void); Description Details FoPropertyBorderLeftStyle FoPropertyBorderLeftStyletypedef struct _FoPropertyBorderLeftStyle FoPropertyBorderLeftStyle; FoPropertyBorderLeftStyleClass FoPropertyBorderLeftStyleClasstypedef struct _FoPropertyBorderLeftStyleClass FoPropertyBorderLeftStyleClass; fo_property_border_left_style_new () fo_property_border_left_style_newFoProperty* fo_property_border_left_style_new (void); Creates a new FoPropertyBorderLeftStyle initialized to default value. Returns : the new FoPropertyBorderLeftStyle. fo_property_border_left_style_get_initial () fo_property_border_left_style_get_initialFoProperty* fo_property_border_left_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-left-width.xml0000644000175000017500000001035611156164732020210 00000000000000 border-left-width 3 XMLROFF Library border-left-width 'border-left-width' property Synopsis #include <libfo/property/fo-property-border-left-width.h> FoPropertyBorderLeftWidth; FoPropertyBorderLeftWidthClass; FoProperty* fo_property_border_left_width_new (void); FoProperty* fo_property_border_left_width_get_initial (void); Object Hierarchy GObject +----FoObject +----FoProperty +----FoPropertyBorderLeftWidth Description Inherited: FALSE Shorthand: FALSE Value: <border-width> | inherit Initial value: medium Details FoPropertyBorderLeftWidth FoPropertyBorderLeftWidthtypedef struct _FoPropertyBorderLeftWidth FoPropertyBorderLeftWidth; FoPropertyBorderLeftWidthClass FoPropertyBorderLeftWidthClasstypedef struct _FoPropertyBorderLeftWidthClass FoPropertyBorderLeftWidthClass; fo_property_border_left_width_new () fo_property_border_left_width_newFoProperty* fo_property_border_left_width_new (void); Creates a new FoPropertyBorderLeftWidth initialized to default value. Returns : the new FoPropertyBorderLeftWidth. fo_property_border_left_width_get_initial () fo_property_border_left_width_get_initialFoProperty* fo_property_border_left_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-right-color.xml0000644000175000017500000000715411156164732020374 00000000000000 border-right-color 3 XMLROFF Library border-right-color Synopsis FoPropertyBorderRightColor; FoPropertyBorderRightColorClass; FoProperty* fo_property_border_right_color_new (void); FoProperty* fo_property_border_right_color_get_initial (void); Description Details FoPropertyBorderRightColor FoPropertyBorderRightColortypedef struct _FoPropertyBorderRightColor FoPropertyBorderRightColor; FoPropertyBorderRightColorClass FoPropertyBorderRightColorClasstypedef struct _FoPropertyBorderRightColorClass FoPropertyBorderRightColorClass; fo_property_border_right_color_new () fo_property_border_right_color_newFoProperty* fo_property_border_right_color_new (void); Creates a new FoPropertyBorderRightColor initialized to default value. Returns : the new FoPropertyBorderRightColor. fo_property_border_right_color_get_initial () fo_property_border_right_color_get_initialFoProperty* fo_property_border_right_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-right-style.xml0000644000175000017500000000715411156164732020416 00000000000000 border-right-style 3 XMLROFF Library border-right-style Synopsis FoPropertyBorderRightStyle; FoPropertyBorderRightStyleClass; FoProperty* fo_property_border_right_style_new (void); FoProperty* fo_property_border_right_style_get_initial (void); Description Details FoPropertyBorderRightStyle FoPropertyBorderRightStyletypedef struct _FoPropertyBorderRightStyle FoPropertyBorderRightStyle; FoPropertyBorderRightStyleClass FoPropertyBorderRightStyleClasstypedef struct _FoPropertyBorderRightStyleClass FoPropertyBorderRightStyleClass; fo_property_border_right_style_new () fo_property_border_right_style_newFoProperty* fo_property_border_right_style_new (void); Creates a new FoPropertyBorderRightStyle initialized to default value. Returns : the new FoPropertyBorderRightStyle. fo_property_border_right_style_get_initial () fo_property_border_right_style_get_initialFoProperty* fo_property_border_right_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-right-width.xml0000644000175000017500000000715411156164732020375 00000000000000 border-right-width 3 XMLROFF Library border-right-width Synopsis FoPropertyBorderRightWidth; FoPropertyBorderRightWidthClass; FoProperty* fo_property_border_right_width_new (void); FoProperty* fo_property_border_right_width_get_initial (void); Description Details FoPropertyBorderRightWidth FoPropertyBorderRightWidthtypedef struct _FoPropertyBorderRightWidth FoPropertyBorderRightWidth; FoPropertyBorderRightWidthClass FoPropertyBorderRightWidthClasstypedef struct _FoPropertyBorderRightWidthClass FoPropertyBorderRightWidthClass; fo_property_border_right_width_new () fo_property_border_right_width_newFoProperty* fo_property_border_right_width_new (void); Creates a new FoPropertyBorderRightWidth initialized to default value. Returns : the new FoPropertyBorderRightWidth. fo_property_border_right_width_get_initial () fo_property_border_right_width_get_initialFoProperty* fo_property_border_right_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-right.xml0000644000175000017500000000662611156164732017263 00000000000000 border-right 3 XMLROFF Library border-right Synopsis FoPropertyBorderRight; FoPropertyBorderRightClass; FoProperty* fo_property_border_right_new (void); FoProperty* fo_property_border_right_get_initial (void); Description Details FoPropertyBorderRight FoPropertyBorderRighttypedef struct _FoPropertyBorderRight FoPropertyBorderRight; FoPropertyBorderRightClass FoPropertyBorderRightClasstypedef struct _FoPropertyBorderRightClass FoPropertyBorderRightClass; fo_property_border_right_new () fo_property_border_right_newFoProperty* fo_property_border_right_new (void); Creates a new FoPropertyBorderRight initialized to default value. Returns : the new FoPropertyBorderRight. fo_property_border_right_get_initial () fo_property_border_right_get_initialFoProperty* fo_property_border_right_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-separation.xml0000644000175000017500000000713111156164732020303 00000000000000 border-separation 3 XMLROFF Library border-separation Synopsis FoPropertyBorderSeparation; FoPropertyBorderSeparationClass; FoProperty* fo_property_border_separation_new (void); FoProperty* fo_property_border_separation_get_initial (void); Description Details FoPropertyBorderSeparation FoPropertyBorderSeparationtypedef struct _FoPropertyBorderSeparation FoPropertyBorderSeparation; FoPropertyBorderSeparationClass FoPropertyBorderSeparationClasstypedef struct _FoPropertyBorderSeparationClass FoPropertyBorderSeparationClass; fo_property_border_separation_new () fo_property_border_separation_newFoProperty* fo_property_border_separation_new (void); Creates a new FoPropertyBorderSeparation initialized to default value. Returns : the new FoPropertyBorderSeparation. fo_property_border_separation_get_initial () fo_property_border_separation_get_initialFoProperty* fo_property_border_separation_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-start-color.xml0000644000175000017500000000715411156164732020414 00000000000000 border-start-color 3 XMLROFF Library border-start-color Synopsis FoPropertyBorderStartColor; FoPropertyBorderStartColorClass; FoProperty* fo_property_border_start_color_new (void); FoProperty* fo_property_border_start_color_get_initial (void); Description Details FoPropertyBorderStartColor FoPropertyBorderStartColortypedef struct _FoPropertyBorderStartColor FoPropertyBorderStartColor; FoPropertyBorderStartColorClass FoPropertyBorderStartColorClasstypedef struct _FoPropertyBorderStartColorClass FoPropertyBorderStartColorClass; fo_property_border_start_color_new () fo_property_border_start_color_newFoProperty* fo_property_border_start_color_new (void); Creates a new FoPropertyBorderStartColor initialized to default value. Returns : the new FoPropertyBorderStartColor. fo_property_border_start_color_get_initial () fo_property_border_start_color_get_initialFoProperty* fo_property_border_start_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-start-precedence.xml0000644000175000017500000000764711156164732021402 00000000000000 border-start-precedence 3 XMLROFF Library border-start-precedence Synopsis FoPropertyBorderStartPrecedence; FoPropertyBorderStartPrecedenceClass; FoProperty* fo_property_border_start_precedence_new (void); FoProperty* fo_property_border_start_precedence_get_initial (void); Description Details FoPropertyBorderStartPrecedence FoPropertyBorderStartPrecedencetypedef struct _FoPropertyBorderStartPrecedence FoPropertyBorderStartPrecedence; FoPropertyBorderStartPrecedenceClass FoPropertyBorderStartPrecedenceClasstypedef struct _FoPropertyBorderStartPrecedenceClass FoPropertyBorderStartPrecedenceClass; fo_property_border_start_precedence_new () fo_property_border_start_precedence_newFoProperty* fo_property_border_start_precedence_new (void); Creates a new FoPropertyBorderStartPrecedence initialized to default value. Returns : the new FoPropertyBorderStartPrecedence. fo_property_border_start_precedence_get_initial () fo_property_border_start_precedence_get_initialFoProperty* fo_property_border_start_precedence_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-start-style.xml0000644000175000017500000000715411156164732020436 00000000000000 border-start-style 3 XMLROFF Library border-start-style Synopsis FoPropertyBorderStartStyle; FoPropertyBorderStartStyleClass; FoProperty* fo_property_border_start_style_new (void); FoProperty* fo_property_border_start_style_get_initial (void); Description Details FoPropertyBorderStartStyle FoPropertyBorderStartStyletypedef struct _FoPropertyBorderStartStyle FoPropertyBorderStartStyle; FoPropertyBorderStartStyleClass FoPropertyBorderStartStyleClasstypedef struct _FoPropertyBorderStartStyleClass FoPropertyBorderStartStyleClass; fo_property_border_start_style_new () fo_property_border_start_style_newFoProperty* fo_property_border_start_style_new (void); Creates a new FoPropertyBorderStartStyle initialized to default value. Returns : the new FoPropertyBorderStartStyle. fo_property_border_start_style_get_initial () fo_property_border_start_style_get_initialFoProperty* fo_property_border_start_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-start-width.xml0000644000175000017500000000715411156164732020415 00000000000000 border-start-width 3 XMLROFF Library border-start-width Synopsis FoPropertyBorderStartWidth; FoPropertyBorderStartWidthClass; FoProperty* fo_property_border_start_width_new (void); FoProperty* fo_property_border_start_width_get_initial (void); Description Details FoPropertyBorderStartWidth FoPropertyBorderStartWidthtypedef struct _FoPropertyBorderStartWidth FoPropertyBorderStartWidth; FoPropertyBorderStartWidthClass FoPropertyBorderStartWidthClasstypedef struct _FoPropertyBorderStartWidthClass FoPropertyBorderStartWidthClass; fo_property_border_start_width_new () fo_property_border_start_width_newFoProperty* fo_property_border_start_width_new (void); Creates a new FoPropertyBorderStartWidth initialized to default value. Returns : the new FoPropertyBorderStartWidth. fo_property_border_start_width_get_initial () fo_property_border_start_width_get_initialFoProperty* fo_property_border_start_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-style.xml0000644000175000017500000000662611156164732017306 00000000000000 border-style 3 XMLROFF Library border-style Synopsis FoPropertyBorderStyle; FoPropertyBorderStyleClass; FoProperty* fo_property_border_style_new (void); FoProperty* fo_property_border_style_get_initial (void); Description Details FoPropertyBorderStyle FoPropertyBorderStyletypedef struct _FoPropertyBorderStyle FoPropertyBorderStyle; FoPropertyBorderStyleClass FoPropertyBorderStyleClasstypedef struct _FoPropertyBorderStyleClass FoPropertyBorderStyleClass; fo_property_border_style_new () fo_property_border_style_newFoProperty* fo_property_border_style_new (void); Creates a new FoPropertyBorderStyle initialized to default value. Returns : the new FoPropertyBorderStyle. fo_property_border_style_get_initial () fo_property_border_style_get_initialFoProperty* fo_property_border_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-top-color.xml0000644000175000017500000000703611156164732020060 00000000000000 border-top-color 3 XMLROFF Library border-top-color Synopsis FoPropertyBorderTopColor; FoPropertyBorderTopColorClass; FoProperty* fo_property_border_top_color_new (void); FoProperty* fo_property_border_top_color_get_initial (void); Description Details FoPropertyBorderTopColor FoPropertyBorderTopColortypedef struct _FoPropertyBorderTopColor FoPropertyBorderTopColor; FoPropertyBorderTopColorClass FoPropertyBorderTopColorClasstypedef struct _FoPropertyBorderTopColorClass FoPropertyBorderTopColorClass; fo_property_border_top_color_new () fo_property_border_top_color_newFoProperty* fo_property_border_top_color_new (void); Creates a new FoPropertyBorderTopColor initialized to default value. Returns : the new FoPropertyBorderTopColor. fo_property_border_top_color_get_initial () fo_property_border_top_color_get_initialFoProperty* fo_property_border_top_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-top-style.xml0000644000175000017500000000703611156164732020102 00000000000000 border-top-style 3 XMLROFF Library border-top-style Synopsis FoPropertyBorderTopStyle; FoPropertyBorderTopStyleClass; FoProperty* fo_property_border_top_style_new (void); FoProperty* fo_property_border_top_style_get_initial (void); Description Details FoPropertyBorderTopStyle FoPropertyBorderTopStyletypedef struct _FoPropertyBorderTopStyle FoPropertyBorderTopStyle; FoPropertyBorderTopStyleClass FoPropertyBorderTopStyleClasstypedef struct _FoPropertyBorderTopStyleClass FoPropertyBorderTopStyleClass; fo_property_border_top_style_new () fo_property_border_top_style_newFoProperty* fo_property_border_top_style_new (void); Creates a new FoPropertyBorderTopStyle initialized to default value. Returns : the new FoPropertyBorderTopStyle. fo_property_border_top_style_get_initial () fo_property_border_top_style_get_initialFoProperty* fo_property_border_top_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-top-width.xml0000644000175000017500000000703611156164732020061 00000000000000 border-top-width 3 XMLROFF Library border-top-width Synopsis FoPropertyBorderTopWidth; FoPropertyBorderTopWidthClass; FoProperty* fo_property_border_top_width_new (void); FoProperty* fo_property_border_top_width_get_initial (void); Description Details FoPropertyBorderTopWidth FoPropertyBorderTopWidthtypedef struct _FoPropertyBorderTopWidth FoPropertyBorderTopWidth; FoPropertyBorderTopWidthClass FoPropertyBorderTopWidthClasstypedef struct _FoPropertyBorderTopWidthClass FoPropertyBorderTopWidthClass; fo_property_border_top_width_new () fo_property_border_top_width_newFoProperty* fo_property_border_top_width_new (void); Creates a new FoPropertyBorderTopWidth initialized to default value. Returns : the new FoPropertyBorderTopWidth. fo_property_border_top_width_get_initial () fo_property_border_top_width_get_initialFoProperty* fo_property_border_top_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-top.xml0000644000175000017500000000633211156164732016742 00000000000000 border-top 3 XMLROFF Library border-top Synopsis FoPropertyBorderTop; FoPropertyBorderTopClass; FoProperty* fo_property_border_top_new (void); FoProperty* fo_property_border_top_get_initial (void); Description Details FoPropertyBorderTop FoPropertyBorderToptypedef struct _FoPropertyBorderTop FoPropertyBorderTop; FoPropertyBorderTopClass FoPropertyBorderTopClasstypedef struct _FoPropertyBorderTopClass FoPropertyBorderTopClass; fo_property_border_top_new () fo_property_border_top_newFoProperty* fo_property_border_top_new (void); Creates a new FoPropertyBorderTop initialized to default value. Returns : the new FoPropertyBorderTop. fo_property_border_top_get_initial () fo_property_border_top_get_initialFoProperty* fo_property_border_top_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border-width.xml0000644000175000017500000000662611156164732017265 00000000000000 border-width 3 XMLROFF Library border-width Synopsis FoPropertyBorderWidth; FoPropertyBorderWidthClass; FoProperty* fo_property_border_width_new (void); FoProperty* fo_property_border_width_get_initial (void); Description Details FoPropertyBorderWidth FoPropertyBorderWidthtypedef struct _FoPropertyBorderWidth FoPropertyBorderWidth; FoPropertyBorderWidthClass FoPropertyBorderWidthClasstypedef struct _FoPropertyBorderWidthClass FoPropertyBorderWidthClass; fo_property_border_width_new () fo_property_border_width_newFoProperty* fo_property_border_width_new (void); Creates a new FoPropertyBorderWidth initialized to default value. Returns : the new FoPropertyBorderWidth. fo_property_border_width_get_initial () fo_property_border_width_get_initialFoProperty* fo_property_border_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-border.xml0000644000175000017500000000613211156164732016140 00000000000000 border 3 XMLROFF Library border Synopsis FoPropertyBorder; FoPropertyBorderClass; FoProperty* fo_property_border_new (void); FoProperty* fo_property_border_get_initial (void); Description Details FoPropertyBorder FoPropertyBordertypedef struct _FoPropertyBorder FoPropertyBorder; FoPropertyBorderClass FoPropertyBorderClasstypedef struct _FoPropertyBorderClass FoPropertyBorderClass; fo_property_border_new () fo_property_border_newFoProperty* fo_property_border_new (void); Creates a new FoPropertyBorder initialized to default value. Returns : the new FoPropertyBorder. fo_property_border_get_initial () fo_property_border_get_initialFoProperty* fo_property_border_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-break-after.xml0000644000175000017500000000637711156164732017061 00000000000000 break-after 3 XMLROFF Library break-after Synopsis FoPropertyBreakAfter; FoPropertyBreakAfterClass; FoProperty* fo_property_break_after_new (void); FoProperty* fo_property_break_after_get_initial (void); Description Details FoPropertyBreakAfter FoPropertyBreakAftertypedef struct _FoPropertyBreakAfter FoPropertyBreakAfter; FoPropertyBreakAfterClass FoPropertyBreakAfterClasstypedef struct _FoPropertyBreakAfterClass FoPropertyBreakAfterClass; fo_property_break_after_new () fo_property_break_after_newFoProperty* fo_property_break_after_new (void); Creates a new FoPropertyBreakAfter initialized to default value. Returns : the new FoPropertyBreakAfter. fo_property_break_after_get_initial () fo_property_break_after_get_initialFoProperty* fo_property_break_after_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-break-before.xml0000644000175000017500000000662611156164732017217 00000000000000 break-before 3 XMLROFF Library break-before Synopsis FoPropertyBreakBefore; FoPropertyBreakBeforeClass; FoProperty* fo_property_break_before_new (void); FoProperty* fo_property_break_before_get_initial (void); Description Details FoPropertyBreakBefore FoPropertyBreakBeforetypedef struct _FoPropertyBreakBefore FoPropertyBreakBefore; FoPropertyBreakBeforeClass FoPropertyBreakBeforeClasstypedef struct _FoPropertyBreakBeforeClass FoPropertyBreakBeforeClass; fo_property_break_before_new () fo_property_break_before_newFoProperty* fo_property_break_before_new (void); Creates a new FoPropertyBreakBefore initialized to default value. Returns : the new FoPropertyBreakBefore. fo_property_break_before_get_initial () fo_property_break_before_get_initialFoProperty* fo_property_break_before_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-character.xml0000644000175000017500000000631111156164732016616 00000000000000 character 3 XMLROFF Library character Synopsis FoPropertyCharacter; FoPropertyCharacterClass; FoProperty* fo_property_character_new (void); FoProperty* fo_property_character_get_initial (void); Description Details FoPropertyCharacter FoPropertyCharactertypedef struct _FoPropertyCharacter FoPropertyCharacter; FoPropertyCharacterClass FoPropertyCharacterClasstypedef struct _FoPropertyCharacterClass FoPropertyCharacterClass; fo_property_character_new () fo_property_character_newFoProperty* fo_property_character_new (void); Creates a new FoPropertyCharacter initialized to default value. Returns : the new FoPropertyCharacter. fo_property_character_get_initial () fo_property_character_get_initialFoProperty* fo_property_character_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-clip.xml0000644000175000017500000000602011156164732015606 00000000000000 clip 3 XMLROFF Library clip Synopsis FoPropertyClip; FoPropertyClipClass; FoProperty* fo_property_clip_new (void); FoProperty* fo_property_clip_get_initial (void); Description Details FoPropertyClip FoPropertyCliptypedef struct _FoPropertyClip FoPropertyClip; FoPropertyClipClass FoPropertyClipClasstypedef struct _FoPropertyClipClass FoPropertyClipClass; fo_property_clip_new () fo_property_clip_newFoProperty* fo_property_clip_new (void); Creates a new FoPropertyClip initialized to default value. Returns : the new FoPropertyClip. fo_property_clip_get_initial () fo_property_clip_get_initialFoProperty* fo_property_clip_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-color.xml0000644000175000017500000000606511156164732016006 00000000000000 color 3 XMLROFF Library color Synopsis FoPropertyColor; FoPropertyColorClass; FoProperty* fo_property_color_new (void); FoProperty* fo_property_color_get_initial (void); Description Details FoPropertyColor FoPropertyColortypedef struct _FoPropertyColor FoPropertyColor; FoPropertyColorClass FoPropertyColorClasstypedef struct _FoPropertyColorClass FoPropertyColorClass; fo_property_color_new () fo_property_color_newFoProperty* fo_property_color_new (void); Creates a new FoPropertyColor initialized to default value. Returns : the new FoPropertyColor. fo_property_color_get_initial () fo_property_color_get_initialFoProperty* fo_property_color_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-column-number.xml0000644000175000017500000000667511156164732017462 00000000000000 column-number 3 XMLROFF Library column-number Synopsis FoPropertyColumnNumber; FoPropertyColumnNumberClass; FoProperty* fo_property_column_number_new (void); FoProperty* fo_property_column_number_get_initial (void); Description Details FoPropertyColumnNumber FoPropertyColumnNumbertypedef struct _FoPropertyColumnNumber FoPropertyColumnNumber; FoPropertyColumnNumberClass FoPropertyColumnNumberClasstypedef struct _FoPropertyColumnNumberClass FoPropertyColumnNumberClass; fo_property_column_number_new () fo_property_column_number_newFoProperty* fo_property_column_number_new (void); Creates a new FoPropertyColumnNumber initialized to default value. Returns : the new FoPropertyColumnNumber. fo_property_column_number_get_initial () fo_property_column_number_get_initialFoProperty* fo_property_column_number_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-column-width.xml0000644000175000017500000001425411156164732017301 00000000000000 column-width 3 XMLROFF Library column-width Synopsis FoPropertyColumnWidth; FoPropertyColumnWidthClass; FoProperty* fo_property_column_width_new (void); FoProperty* fo_property_column_width_get_initial (void); FoDatatype* fo_property_column_width_resolve_percent (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **error); Description Details FoPropertyColumnWidth FoPropertyColumnWidthtypedef struct _FoPropertyColumnWidth FoPropertyColumnWidth; FoPropertyColumnWidthClass FoPropertyColumnWidthClasstypedef struct _FoPropertyColumnWidthClass FoPropertyColumnWidthClass; fo_property_column_width_new () fo_property_column_width_newFoProperty* fo_property_column_width_new (void); Creates a new FoPropertyColumnWidth initialized to default value. Returns : the new FoPropertyColumnWidth fo_property_column_width_get_initial () fo_property_column_width_get_initialFoProperty* fo_property_column_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. fo_property_column_width_resolve_percent () fo_property_column_width_resolve_percentFoDatatype* fo_property_column_width_resolve_percent (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **error); Resolves percentage values in 'column-width' property value expressions. percentage : The percentage. font_size : Current font-size property value. fo_node : Current FoFo node. context : Current FoContext. error : GError. Returns : Resolved value for percentage. xmlroff-0.6.2/docs/xml/fo-property-common-font.xml0000644000175000017500000001046611156164732017124 00000000000000 fo-property-common-font 3 XMLROFF Library fo-property-common-font Synopsis GList* fo_property_common_font_get_pango_attrs (FoProperty *font_family, FoProperty *font_size, FoProperty *font_stretch, FoProperty *font_style, FoProperty *font_variant, FoProperty *font_weight, gint start_index, gint end_index); Description Details fo_property_common_font_get_pango_attrs () fo_property_common_font_get_pango_attrsGList* fo_property_common_font_get_pango_attrs (FoProperty *font_family, FoProperty *font_size, FoProperty *font_stretch, FoProperty *font_style, FoProperty *font_variant, FoProperty *font_weight, gint start_index, gint end_index); font_family : font_size : font_stretch : font_style : font_variant : font_weight : start_index : end_index : Returns : xmlroff-0.6.2/docs/xml/fo-property-content-height.xml0000644000175000017500000000674411156164732017614 00000000000000 content-height 3 XMLROFF Library content-height Synopsis FoPropertyContentHeight; FoPropertyContentHeightClass; FoProperty* fo_property_content_height_new (void); FoProperty* fo_property_content_height_get_initial (void); Description Details FoPropertyContentHeight FoPropertyContentHeighttypedef struct _FoPropertyContentHeight FoPropertyContentHeight; FoPropertyContentHeightClass FoPropertyContentHeightClasstypedef struct _FoPropertyContentHeightClass FoPropertyContentHeightClass; fo_property_content_height_new () fo_property_content_height_newFoProperty* fo_property_content_height_new (void); Creates a new FoPropertyContentHeight initialized to default value. Returns : the new FoPropertyContentHeight. fo_property_content_height_get_initial () fo_property_content_height_get_initialFoProperty* fo_property_content_height_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-content-type.xml0000644000175000017500000000662611156164732017324 00000000000000 content-type 3 XMLROFF Library content-type Synopsis FoPropertyContentType; FoPropertyContentTypeClass; FoProperty* fo_property_content_type_new (void); FoProperty* fo_property_content_type_get_initial (void); Description Details FoPropertyContentType FoPropertyContentTypetypedef struct _FoPropertyContentType FoPropertyContentType; FoPropertyContentTypeClass FoPropertyContentTypeClasstypedef struct _FoPropertyContentTypeClass FoPropertyContentTypeClass; fo_property_content_type_new () fo_property_content_type_newFoProperty* fo_property_content_type_new (void); Creates a new FoPropertyContentType initialized to default value. Returns : the new FoPropertyContentType. fo_property_content_type_get_initial () fo_property_content_type_get_initialFoProperty* fo_property_content_type_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-content-width.xml0000644000175000017500000000667511156164732017466 00000000000000 content-width 3 XMLROFF Library content-width Synopsis FoPropertyContentWidth; FoPropertyContentWidthClass; FoProperty* fo_property_content_width_new (void); FoProperty* fo_property_content_width_get_initial (void); Description Details FoPropertyContentWidth FoPropertyContentWidthtypedef struct _FoPropertyContentWidth FoPropertyContentWidth; FoPropertyContentWidthClass FoPropertyContentWidthClasstypedef struct _FoPropertyContentWidthClass FoPropertyContentWidthClass; fo_property_content_width_new () fo_property_content_width_newFoProperty* fo_property_content_width_new (void); Creates a new FoPropertyContentWidth initialized to default value. Returns : the new FoPropertyContentWidth. fo_property_content_width_get_initial () fo_property_content_width_get_initialFoProperty* fo_property_content_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-direction.xml0000644000175000017500000000631111156164732016642 00000000000000 direction 3 XMLROFF Library direction Synopsis FoPropertyDirection; FoPropertyDirectionClass; FoProperty* fo_property_direction_new (void); FoProperty* fo_property_direction_get_initial (void); Description Details FoPropertyDirection FoPropertyDirectiontypedef struct _FoPropertyDirection FoPropertyDirection; FoPropertyDirectionClass FoPropertyDirectionClasstypedef struct _FoPropertyDirectionClass FoPropertyDirectionClass; fo_property_direction_new () fo_property_direction_newFoProperty* fo_property_direction_new (void); Creates a new FoPropertyDirection initialized to default value. Returns : the new FoPropertyDirection. fo_property_direction_get_initial () fo_property_direction_get_initialFoProperty* fo_property_direction_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-display-align.xml0000644000175000017500000000706511156164732017426 00000000000000 display-align 3 XMLROFF Library display-align Synopsis FoPropertyDisplayAlign; FoPropertyDisplayAlignClass; FoProperty* fo_property_display_align_new (void); FoProperty* fo_property_display_align_get_initial (void); Description Details FoPropertyDisplayAlign FoPropertyDisplayAligntypedef struct _FoPropertyDisplayAlign FoPropertyDisplayAlign; Instance of the 'display-align' property. FoPropertyDisplayAlignClass FoPropertyDisplayAlignClasstypedef struct _FoPropertyDisplayAlignClass FoPropertyDisplayAlignClass; Class structure for the 'display-align' property. fo_property_display_align_new () fo_property_display_align_newFoProperty* fo_property_display_align_new (void); Creates a new FoPropertyDisplayAlign initialized to default value. Returns : the new FoPropertyDisplayAlign. fo_property_display_align_get_initial () fo_property_display_align_get_initialFoProperty* fo_property_display_align_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-dominant-baseline.xml0000644000175000017500000000713111156164732020254 00000000000000 dominant-baseline 3 XMLROFF Library dominant-baseline Synopsis FoPropertyDominantBaseline; FoPropertyDominantBaselineClass; FoProperty* fo_property_dominant_baseline_new (void); FoProperty* fo_property_dominant_baseline_get_initial (void); Description Details FoPropertyDominantBaseline FoPropertyDominantBaselinetypedef struct _FoPropertyDominantBaseline FoPropertyDominantBaseline; FoPropertyDominantBaselineClass FoPropertyDominantBaselineClasstypedef struct _FoPropertyDominantBaselineClass FoPropertyDominantBaselineClass; fo_property_dominant_baseline_new () fo_property_dominant_baseline_newFoProperty* fo_property_dominant_baseline_new (void); Creates a new FoPropertyDominantBaseline initialized to default value. Returns : the new FoPropertyDominantBaseline. fo_property_dominant_baseline_get_initial () fo_property_dominant_baseline_get_initialFoProperty* fo_property_dominant_baseline_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-end-indent.xml0000644000175000017500000000633211156164732016712 00000000000000 end-indent 3 XMLROFF Library end-indent Synopsis FoPropertyEndIndent; FoPropertyEndIndentClass; FoProperty* fo_property_end_indent_new (void); FoProperty* fo_property_end_indent_get_initial (void); Description Details FoPropertyEndIndent FoPropertyEndIndenttypedef struct _FoPropertyEndIndent FoPropertyEndIndent; FoPropertyEndIndentClass FoPropertyEndIndentClasstypedef struct _FoPropertyEndIndentClass FoPropertyEndIndentClass; fo_property_end_indent_new () fo_property_end_indent_newFoProperty* fo_property_end_indent_new (void); Creates a new FoPropertyEndIndent initialized to default value. Returns : the new FoPropertyEndIndent. fo_property_end_indent_get_initial () fo_property_end_indent_get_initialFoProperty* fo_property_end_indent_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-eval.xml0000644000175000017500000000365111156164732015615 00000000000000 fo-property-eval 3 XMLROFF Library fo-property-eval Synopsis GHashTable* fo_property_eval_init_hash (GHashTable *hash); Description Details fo_property_eval_init_hash () fo_property_eval_init_hashGHashTable* fo_property_eval_init_hash (GHashTable *hash); Initialises hash and inserts 'get_type' function for every property. hash : Null GHashTable pointer Returns : Initialised GHashTable xmlroff-0.6.2/docs/xml/fo-property-extent.xml0000644000175000017500000000630411156164732016173 00000000000000 extent 3 XMLROFF Library extent Synopsis FoPropertyExtent; FoPropertyExtentClass; FoProperty* fo_property_extent_new (void); FoProperty* fo_property_extent_get_initial (void); Description Details FoPropertyExtent FoPropertyExtenttypedef struct _FoPropertyExtent FoPropertyExtent; Instance of the 'extent' property. FoPropertyExtentClass FoPropertyExtentClasstypedef struct _FoPropertyExtentClass FoPropertyExtentClass; Class structure for the 'extent' property. fo_property_extent_new () fo_property_extent_newFoProperty* fo_property_extent_new (void); Creates a new FoPropertyExtent initialized to default value. Returns : the new FoPropertyExtent. fo_property_extent_get_initial () fo_property_extent_get_initialFoProperty* fo_property_extent_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-flow-name.xml0000644000175000017500000000626511156164732016557 00000000000000 flow-name 3 XMLROFF Library flow-name Synopsis FoPropertyFlowName; FoPropertyFlowNameClass; FoProperty* fo_property_flow_name_new (void); FoProperty* fo_property_flow_name_get_initial (void); Description Details FoPropertyFlowName FoPropertyFlowNametypedef struct _FoPropertyFlowName FoPropertyFlowName; FoPropertyFlowNameClass FoPropertyFlowNameClasstypedef struct _FoPropertyFlowNameClass FoPropertyFlowNameClass; fo_property_flow_name_new () fo_property_flow_name_newFoProperty* fo_property_flow_name_new (void); Creates a new FoPropertyFlowName initialized to default value. Returns : the new FoPropertyFlowName. fo_property_flow_name_get_initial () fo_property_flow_name_get_initialFoProperty* fo_property_flow_name_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-font-family.xml0000644000175000017500000000637711156164732017123 00000000000000 font-family 3 XMLROFF Library font-family Synopsis FoPropertyFontFamily; FoPropertyFontFamilyClass; FoProperty* fo_property_font_family_new (void); FoProperty* fo_property_font_family_get_initial (void); Description Details FoPropertyFontFamily FoPropertyFontFamilytypedef struct _FoPropertyFontFamily FoPropertyFontFamily; FoPropertyFontFamilyClass FoPropertyFontFamilyClasstypedef struct _FoPropertyFontFamilyClass FoPropertyFontFamilyClass; fo_property_font_family_new () fo_property_font_family_newFoProperty* fo_property_font_family_new (void); Creates a new FoPropertyFontFamily initialized to default value. Returns : the new FoPropertyFontFamily. fo_property_font_family_get_initial () fo_property_font_family_get_initialFoProperty* fo_property_font_family_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-font-size.xml0000644000175000017500000000626511156164732016610 00000000000000 font-size 3 XMLROFF Library font-size Synopsis FoPropertyFontSize; FoPropertyFontSizeClass; FoProperty* fo_property_font_size_new (void); FoProperty* fo_property_font_size_get_initial (void); Description Details FoPropertyFontSize FoPropertyFontSizetypedef struct _FoPropertyFontSize FoPropertyFontSize; FoPropertyFontSizeClass FoPropertyFontSizeClasstypedef struct _FoPropertyFontSizeClass FoPropertyFontSizeClass; fo_property_font_size_new () fo_property_font_size_newFoProperty* fo_property_font_size_new (void); Creates a new FoPropertyFontSize initialized to default value. Returns : the new FoPropertyFontSize. fo_property_font_size_get_initial () fo_property_font_size_get_initialFoProperty* fo_property_font_size_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-font-stretch.xml0000644000175000017500000000662611156164732017313 00000000000000 font-stretch 3 XMLROFF Library font-stretch Synopsis FoPropertyFontStretch; FoPropertyFontStretchClass; FoProperty* fo_property_font_stretch_new (void); FoProperty* fo_property_font_stretch_get_initial (void); Description Details FoPropertyFontStretch FoPropertyFontStretchtypedef struct _FoPropertyFontStretch FoPropertyFontStretch; FoPropertyFontStretchClass FoPropertyFontStretchClasstypedef struct _FoPropertyFontStretchClass FoPropertyFontStretchClass; fo_property_font_stretch_new () fo_property_font_stretch_newFoProperty* fo_property_font_stretch_new (void); Creates a new FoPropertyFontStretch initialized to default value. Returns : the new FoPropertyFontStretch. fo_property_font_stretch_get_initial () fo_property_font_stretch_get_initialFoProperty* fo_property_font_stretch_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-font-style.xml0000644000175000017500000000633211156164732016771 00000000000000 font-style 3 XMLROFF Library font-style Synopsis FoPropertyFontStyle; FoPropertyFontStyleClass; FoProperty* fo_property_font_style_new (void); FoProperty* fo_property_font_style_get_initial (void); Description Details FoPropertyFontStyle FoPropertyFontStyletypedef struct _FoPropertyFontStyle FoPropertyFontStyle; FoPropertyFontStyleClass FoPropertyFontStyleClasstypedef struct _FoPropertyFontStyleClass FoPropertyFontStyleClass; fo_property_font_style_new () fo_property_font_style_newFoProperty* fo_property_font_style_new (void); Creates a new FoPropertyFontStyle initialized to default value. Returns : the new FoPropertyFontStyle. fo_property_font_style_get_initial () fo_property_font_style_get_initialFoProperty* fo_property_font_style_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-font-variant.xml0000644000175000017500000000701411156164732017273 00000000000000 font-variant 3 XMLROFF Library font-variant Synopsis FoPropertyFontVariant; FoPropertyFontVariantClass; FoProperty* fo_property_font_variant_new (void); FoProperty* fo_property_font_variant_get_initial (void); Description Details FoPropertyFontVariant FoPropertyFontVarianttypedef struct _FoPropertyFontVariant FoPropertyFontVariant; Instance of the 'font-variant' property. FoPropertyFontVariantClass FoPropertyFontVariantClasstypedef struct _FoPropertyFontVariantClass FoPropertyFontVariantClass; Class structure for the 'font-variant' property. fo_property_font_variant_new () fo_property_font_variant_newFoProperty* fo_property_font_variant_new (void); Creates a new FoPropertyFontVariant initialized to default value. Returns : the new FoPropertyFontVariant. fo_property_font_variant_get_initial () fo_property_font_variant_get_initialFoProperty* fo_property_font_variant_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-font-weight.xml0000644000175000017500000001040611156164732017115 00000000000000 font-weight 3 XMLROFF Library font-weight Synopsis FoPropertyFontWeight; FoPropertyFontWeightClass; GType fo_property_font_weight_get_type (void); FoProperty* fo_property_font_weight_new (void); FoProperty* fo_property_font_weight_get_initial (void); Description Details FoPropertyFontWeight FoPropertyFontWeighttypedef struct _FoPropertyFontWeight FoPropertyFontWeight; FoPropertyFontWeightClass FoPropertyFontWeightClasstypedef struct _FoPropertyFontWeightClass FoPropertyFontWeightClass; fo_property_font_weight_get_type () fo_property_font_weight_get_typeGType fo_property_font_weight_get_type (void); Register the FoPropertyFontWeight type if not already registered and return its GType value. Returns : GType of FoPropertyFontWeight. fo_property_font_weight_new () fo_property_font_weight_newFoProperty* fo_property_font_weight_new (void); Creates a new FoPropertyFontWeight initialized to default value. Returns : the new FoPropertyFontWeight. fo_property_font_weight_get_initial () fo_property_font_weight_get_initialFoProperty* fo_property_font_weight_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-format.xml0000644000175000017500000000613211156164732016153 00000000000000 format 3 XMLROFF Library format Synopsis FoPropertyFormat; FoPropertyFormatClass; FoProperty* fo_property_format_new (void); FoProperty* fo_property_format_get_initial (void); Description Details FoPropertyFormat FoPropertyFormattypedef struct _FoPropertyFormat FoPropertyFormat; FoPropertyFormatClass FoPropertyFormatClasstypedef struct _FoPropertyFormatClass FoPropertyFormatClass; fo_property_format_new () fo_property_format_newFoProperty* fo_property_format_new (void); Creates a new FoPropertyFormat initialized to default value. Returns : the new FoPropertyFormat. fo_property_format_get_initial () fo_property_format_get_initialFoProperty* fo_property_format_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-grouping-separator.xml0000644000175000017500000000720011156164732020510 00000000000000 grouping-separator 3 XMLROFF Library grouping-separator Synopsis FoPropertyGroupingSeparator; FoPropertyGroupingSeparatorClass; FoProperty* fo_property_grouping_separator_new (void); FoProperty* fo_property_grouping_separator_get_initial (void); Description Details FoPropertyGroupingSeparator FoPropertyGroupingSeparatortypedef struct _FoPropertyGroupingSeparator FoPropertyGroupingSeparator; FoPropertyGroupingSeparatorClass FoPropertyGroupingSeparatorClasstypedef struct _FoPropertyGroupingSeparatorClass FoPropertyGroupingSeparatorClass; fo_property_grouping_separator_new () fo_property_grouping_separator_newFoProperty* fo_property_grouping_separator_new (void); Creates a new FoPropertyGroupingSeparator initialized to default value. Returns : the new FoPropertyGroupingSeparator. fo_property_grouping_separator_get_initial () fo_property_grouping_separator_get_initialFoProperty* fo_property_grouping_separator_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-grouping-size.xml0000644000175000017500000000667511156164732017501 00000000000000 grouping-size 3 XMLROFF Library grouping-size Synopsis FoPropertyGroupingSize; FoPropertyGroupingSizeClass; FoProperty* fo_property_grouping_size_new (void); FoProperty* fo_property_grouping_size_get_initial (void); Description Details FoPropertyGroupingSize FoPropertyGroupingSizetypedef struct _FoPropertyGroupingSize FoPropertyGroupingSize; FoPropertyGroupingSizeClass FoPropertyGroupingSizeClasstypedef struct _FoPropertyGroupingSizeClass FoPropertyGroupingSizeClass; fo_property_grouping_size_new () fo_property_grouping_size_newFoProperty* fo_property_grouping_size_new (void); Creates a new FoPropertyGroupingSize initialized to default value. Returns : the new FoPropertyGroupingSize. fo_property_grouping_size_get_initial () fo_property_grouping_size_get_initialFoProperty* fo_property_grouping_size_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-height.xml0000644000175000017500000000630411156164732016134 00000000000000 height 3 XMLROFF Library height Synopsis FoPropertyHeight; FoPropertyHeightClass; FoProperty* fo_property_height_new (void); FoProperty* fo_property_height_get_initial (void); Description Details FoPropertyHeight FoPropertyHeighttypedef struct _FoPropertyHeight FoPropertyHeight; Instance of the 'height' property. FoPropertyHeightClass FoPropertyHeightClasstypedef struct _FoPropertyHeightClass FoPropertyHeightClass; Class structure for the 'height' property. fo_property_height_new () fo_property_height_newFoProperty* fo_property_height_new (void); Creates a new FoPropertyHeight initialized to default value. Returns : the new FoPropertyHeight. fo_property_height_get_initial () fo_property_height_get_initialFoProperty* fo_property_height_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-id.xml0000644000175000017500000000605011156164732015256 00000000000000 id 3 XMLROFF Library id Synopsis FoPropertyId; FoPropertyIdClass; FoProperty* fo_property_id_new (void); FoProperty* fo_property_id_get_initial (void); Description Details FoPropertyId FoPropertyIdtypedef struct _FoPropertyId FoPropertyId; Instance of the 'id' property. FoPropertyIdClass FoPropertyIdClasstypedef struct _FoPropertyIdClass FoPropertyIdClass; Class structure for the 'id' property. fo_property_id_new () fo_property_id_newFoProperty* fo_property_id_new (void); Creates a new FoPropertyId initialized to default value. Returns : the new FoPropertyId. fo_property_id_get_initial () fo_property_id_get_initialFoProperty* fo_property_id_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-inline-progression-dimension-maximum.xml0000644000175000017500000001064311156164732024151 00000000000000 inline-progression-dimension.maximum 3 XMLROFF Library inline-progression-dimension.maximum Synopsis FoPropertyInlineProgressionDimensionMaximum; FoPropertyInlineProgressionDimensionMaximumClass; FoProperty* fo_property_inline_progression_dimension_maximum_new (void); FoProperty* fo_property_inline_progression_dimension_maximum_get_initial (void); Description Details FoPropertyInlineProgressionDimensionMaximum FoPropertyInlineProgressionDimensionMaximumtypedef struct _FoPropertyInlineProgressionDimensionMaximum FoPropertyInlineProgressionDimensionMaximum; FoPropertyInlineProgressionDimensionMaximumClass FoPropertyInlineProgressionDimensionMaximumClasstypedef struct _FoPropertyInlineProgressionDimensionMaximumClass FoPropertyInlineProgressionDimensionMaximumClass; fo_property_inline_progression_dimension_maximum_new () fo_property_inline_progression_dimension_maximum_newFoProperty* fo_property_inline_progression_dimension_maximum_new (void); Creates a new FoPropertyInlineProgressionDimensionMaximum initialized to default value. Returns : the new FoPropertyInlineProgressionDimensionMaximum. fo_property_inline_progression_dimension_maximum_get_initial () fo_property_inline_progression_dimension_maximum_get_initialFoProperty* fo_property_inline_progression_dimension_maximum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-inline-progression-dimension-minimum.xml0000644000175000017500000001064311156164732024147 00000000000000 inline-progression-dimension.minimum 3 XMLROFF Library inline-progression-dimension.minimum Synopsis FoPropertyInlineProgressionDimensionMinimum; FoPropertyInlineProgressionDimensionMinimumClass; FoProperty* fo_property_inline_progression_dimension_minimum_new (void); FoProperty* fo_property_inline_progression_dimension_minimum_get_initial (void); Description Details FoPropertyInlineProgressionDimensionMinimum FoPropertyInlineProgressionDimensionMinimumtypedef struct _FoPropertyInlineProgressionDimensionMinimum FoPropertyInlineProgressionDimensionMinimum; FoPropertyInlineProgressionDimensionMinimumClass FoPropertyInlineProgressionDimensionMinimumClasstypedef struct _FoPropertyInlineProgressionDimensionMinimumClass FoPropertyInlineProgressionDimensionMinimumClass; fo_property_inline_progression_dimension_minimum_new () fo_property_inline_progression_dimension_minimum_newFoProperty* fo_property_inline_progression_dimension_minimum_new (void); Creates a new FoPropertyInlineProgressionDimensionMinimum initialized to default value. Returns : the new FoPropertyInlineProgressionDimensionMinimum. fo_property_inline_progression_dimension_minimum_get_initial () fo_property_inline_progression_dimension_minimum_get_initialFoProperty* fo_property_inline_progression_dimension_minimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-inline-progression-dimension-optimum.xml0000644000175000017500000001064311156164732024166 00000000000000 inline-progression-dimension.optimum 3 XMLROFF Library inline-progression-dimension.optimum Synopsis FoPropertyInlineProgressionDimensionOptimum; FoPropertyInlineProgressionDimensionOptimumClass; FoProperty* fo_property_inline_progression_dimension_optimum_new (void); FoProperty* fo_property_inline_progression_dimension_optimum_get_initial (void); Description Details FoPropertyInlineProgressionDimensionOptimum FoPropertyInlineProgressionDimensionOptimumtypedef struct _FoPropertyInlineProgressionDimensionOptimum FoPropertyInlineProgressionDimensionOptimum; FoPropertyInlineProgressionDimensionOptimumClass FoPropertyInlineProgressionDimensionOptimumClasstypedef struct _FoPropertyInlineProgressionDimensionOptimumClass FoPropertyInlineProgressionDimensionOptimumClass; fo_property_inline_progression_dimension_optimum_new () fo_property_inline_progression_dimension_optimum_newFoProperty* fo_property_inline_progression_dimension_optimum_new (void); Creates a new FoPropertyInlineProgressionDimensionOptimum initialized to default value. Returns : the new FoPropertyInlineProgressionDimensionOptimum. fo_property_inline_progression_dimension_optimum_get_initial () fo_property_inline_progression_dimension_optimum_get_initialFoProperty* fo_property_inline_progression_dimension_optimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-inline-progression-dimension.xml0000644000175000017500000001016411156164732022474 00000000000000 inline-progression-dimension 3 XMLROFF Library inline-progression-dimension Synopsis FoPropertyInlineProgressionDimension; FoPropertyInlineProgressionDimensionClass; FoProperty* fo_property_inline_progression_dimension_new (void); FoProperty* fo_property_inline_progression_dimension_get_initial (void); Description Details FoPropertyInlineProgressionDimension FoPropertyInlineProgressionDimensiontypedef struct _FoPropertyInlineProgressionDimension FoPropertyInlineProgressionDimension; FoPropertyInlineProgressionDimensionClass FoPropertyInlineProgressionDimensionClasstypedef struct _FoPropertyInlineProgressionDimensionClass FoPropertyInlineProgressionDimensionClass; fo_property_inline_progression_dimension_new () fo_property_inline_progression_dimension_newFoProperty* fo_property_inline_progression_dimension_new (void); Creates a new FoPropertyInlineProgressionDimension initialized to default value. Returns : the new FoPropertyInlineProgressionDimension. fo_property_inline_progression_dimension_get_initial () fo_property_inline_progression_dimension_get_initialFoProperty* fo_property_inline_progression_dimension_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-together-within-column.xml0000644000175000017500000001006211156164732022216 00000000000000 keep-together.within-column 3 XMLROFF Library keep-together.within-column Synopsis FoPropertyKeepTogetherWithinColumn; FoPropertyKeepTogetherWithinColumnClass; FoProperty* fo_property_keep_together_within_column_new (void); FoProperty* fo_property_keep_together_within_column_get_initial (void); Description Details FoPropertyKeepTogetherWithinColumn FoPropertyKeepTogetherWithinColumntypedef struct _FoPropertyKeepTogetherWithinColumn FoPropertyKeepTogetherWithinColumn; FoPropertyKeepTogetherWithinColumnClass FoPropertyKeepTogetherWithinColumnClasstypedef struct _FoPropertyKeepTogetherWithinColumnClass FoPropertyKeepTogetherWithinColumnClass; fo_property_keep_together_within_column_new () fo_property_keep_together_within_column_newFoProperty* fo_property_keep_together_within_column_new (void); Creates a new FoPropertyKeepTogetherWithinColumn initialized to default value. Returns : the new FoPropertyKeepTogetherWithinColumn. fo_property_keep_together_within_column_get_initial () fo_property_keep_together_within_column_get_initialFoProperty* fo_property_keep_together_within_column_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-together-within-line.xml0000644000175000017500000000774011156164732021661 00000000000000 keep-together.within-line 3 XMLROFF Library keep-together.within-line Synopsis FoPropertyKeepTogetherWithinLine; FoPropertyKeepTogetherWithinLineClass; FoProperty* fo_property_keep_together_within_line_new (void); FoProperty* fo_property_keep_together_within_line_get_initial (void); Description Details FoPropertyKeepTogetherWithinLine FoPropertyKeepTogetherWithinLinetypedef struct _FoPropertyKeepTogetherWithinLine FoPropertyKeepTogetherWithinLine; FoPropertyKeepTogetherWithinLineClass FoPropertyKeepTogetherWithinLineClasstypedef struct _FoPropertyKeepTogetherWithinLineClass FoPropertyKeepTogetherWithinLineClass; fo_property_keep_together_within_line_new () fo_property_keep_together_within_line_newFoProperty* fo_property_keep_together_within_line_new (void); Creates a new FoPropertyKeepTogetherWithinLine initialized to default value. Returns : the new FoPropertyKeepTogetherWithinLine. fo_property_keep_together_within_line_get_initial () fo_property_keep_together_within_line_get_initialFoProperty* fo_property_keep_together_within_line_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-together-within-page.xml0000644000175000017500000000774011156164732021646 00000000000000 keep-together.within-page 3 XMLROFF Library keep-together.within-page Synopsis FoPropertyKeepTogetherWithinPage; FoPropertyKeepTogetherWithinPageClass; FoProperty* fo_property_keep_together_within_page_new (void); FoProperty* fo_property_keep_together_within_page_get_initial (void); Description Details FoPropertyKeepTogetherWithinPage FoPropertyKeepTogetherWithinPagetypedef struct _FoPropertyKeepTogetherWithinPage FoPropertyKeepTogetherWithinPage; FoPropertyKeepTogetherWithinPageClass FoPropertyKeepTogetherWithinPageClasstypedef struct _FoPropertyKeepTogetherWithinPageClass FoPropertyKeepTogetherWithinPageClass; fo_property_keep_together_within_page_new () fo_property_keep_together_within_page_newFoProperty* fo_property_keep_together_within_page_new (void); Creates a new FoPropertyKeepTogetherWithinPage initialized to default value. Returns : the new FoPropertyKeepTogetherWithinPage. fo_property_keep_together_within_page_get_initial () fo_property_keep_together_within_page_get_initialFoProperty* fo_property_keep_together_within_page_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-together.xml0000644000175000017500000000667511156164732017442 00000000000000 keep-together 3 XMLROFF Library keep-together Synopsis FoPropertyKeepTogether; FoPropertyKeepTogetherClass; FoProperty* fo_property_keep_together_new (void); FoProperty* fo_property_keep_together_get_initial (void); Description Details FoPropertyKeepTogether FoPropertyKeepTogethertypedef struct _FoPropertyKeepTogether FoPropertyKeepTogether; FoPropertyKeepTogetherClass FoPropertyKeepTogetherClasstypedef struct _FoPropertyKeepTogetherClass FoPropertyKeepTogetherClass; fo_property_keep_together_new () fo_property_keep_together_newFoProperty* fo_property_keep_together_new (void); Creates a new FoPropertyKeepTogether initialized to default value. Returns : the new FoPropertyKeepTogether. fo_property_keep_together_get_initial () fo_property_keep_together_get_initialFoProperty* fo_property_keep_together_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-with-next-within-column.xml0000644000175000017500000001010711156164732022324 00000000000000 keep-with-next.within-column 3 XMLROFF Library keep-with-next.within-column Synopsis FoPropertyKeepWithNextWithinColumn; FoPropertyKeepWithNextWithinColumnClass; FoProperty* fo_property_keep_with_next_within_column_new (void); FoProperty* fo_property_keep_with_next_within_column_get_initial (void); Description Details FoPropertyKeepWithNextWithinColumn FoPropertyKeepWithNextWithinColumntypedef struct _FoPropertyKeepWithNextWithinColumn FoPropertyKeepWithNextWithinColumn; FoPropertyKeepWithNextWithinColumnClass FoPropertyKeepWithNextWithinColumnClasstypedef struct _FoPropertyKeepWithNextWithinColumnClass FoPropertyKeepWithNextWithinColumnClass; fo_property_keep_with_next_within_column_new () fo_property_keep_with_next_within_column_newFoProperty* fo_property_keep_with_next_within_column_new (void); Creates a new FoPropertyKeepWithNextWithinColumn initialized to default value. Returns : the new FoPropertyKeepWithNextWithinColumn. fo_property_keep_with_next_within_column_get_initial () fo_property_keep_with_next_within_column_get_initialFoProperty* fo_property_keep_with_next_within_column_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-with-next-within-line.xml0000644000175000017500000000776511156164732021776 00000000000000 keep-with-next.within-line 3 XMLROFF Library keep-with-next.within-line Synopsis FoPropertyKeepWithNextWithinLine; FoPropertyKeepWithNextWithinLineClass; FoProperty* fo_property_keep_with_next_within_line_new (void); FoProperty* fo_property_keep_with_next_within_line_get_initial (void); Description Details FoPropertyKeepWithNextWithinLine FoPropertyKeepWithNextWithinLinetypedef struct _FoPropertyKeepWithNextWithinLine FoPropertyKeepWithNextWithinLine; FoPropertyKeepWithNextWithinLineClass FoPropertyKeepWithNextWithinLineClasstypedef struct _FoPropertyKeepWithNextWithinLineClass FoPropertyKeepWithNextWithinLineClass; fo_property_keep_with_next_within_line_new () fo_property_keep_with_next_within_line_newFoProperty* fo_property_keep_with_next_within_line_new (void); Creates a new FoPropertyKeepWithNextWithinLine initialized to default value. Returns : the new FoPropertyKeepWithNextWithinLine. fo_property_keep_with_next_within_line_get_initial () fo_property_keep_with_next_within_line_get_initialFoProperty* fo_property_keep_with_next_within_line_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-with-next-within-page.xml0000644000175000017500000000776511156164732021763 00000000000000 keep-with-next.within-page 3 XMLROFF Library keep-with-next.within-page Synopsis FoPropertyKeepWithNextWithinPage; FoPropertyKeepWithNextWithinPageClass; FoProperty* fo_property_keep_with_next_within_page_new (void); FoProperty* fo_property_keep_with_next_within_page_get_initial (void); Description Details FoPropertyKeepWithNextWithinPage FoPropertyKeepWithNextWithinPagetypedef struct _FoPropertyKeepWithNextWithinPage FoPropertyKeepWithNextWithinPage; FoPropertyKeepWithNextWithinPageClass FoPropertyKeepWithNextWithinPageClasstypedef struct _FoPropertyKeepWithNextWithinPageClass FoPropertyKeepWithNextWithinPageClass; fo_property_keep_with_next_within_page_new () fo_property_keep_with_next_within_page_newFoProperty* fo_property_keep_with_next_within_page_new (void); Creates a new FoPropertyKeepWithNextWithinPage initialized to default value. Returns : the new FoPropertyKeepWithNextWithinPage. fo_property_keep_with_next_within_page_get_initial () fo_property_keep_with_next_within_page_get_initialFoProperty* fo_property_keep_with_next_within_page_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-with-next.xml0000644000175000017500000000672011156164732017537 00000000000000 keep-with-next 3 XMLROFF Library keep-with-next Synopsis FoPropertyKeepWithNext; FoPropertyKeepWithNextClass; FoProperty* fo_property_keep_with_next_new (void); FoProperty* fo_property_keep_with_next_get_initial (void); Description Details FoPropertyKeepWithNext FoPropertyKeepWithNexttypedef struct _FoPropertyKeepWithNext FoPropertyKeepWithNext; FoPropertyKeepWithNextClass FoPropertyKeepWithNextClasstypedef struct _FoPropertyKeepWithNextClass FoPropertyKeepWithNextClass; fo_property_keep_with_next_new () fo_property_keep_with_next_newFoProperty* fo_property_keep_with_next_new (void); Creates a new FoPropertyKeepWithNext initialized to default value. Returns : the new FoPropertyKeepWithNext. fo_property_keep_with_next_get_initial () fo_property_keep_with_next_get_initialFoProperty* fo_property_keep_with_next_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-with-previous-within-column.xml0000644000175000017500000001035311156164732023225 00000000000000 keep-with-previous.within-column 3 XMLROFF Library keep-with-previous.within-column Synopsis FoPropertyKeepWithPreviousWithinColumn; FoPropertyKeepWithPreviousWithinColumnClass; FoProperty* fo_property_keep_with_previous_within_column_new (void); FoProperty* fo_property_keep_with_previous_within_column_get_initial (void); Description Details FoPropertyKeepWithPreviousWithinColumn FoPropertyKeepWithPreviousWithinColumntypedef struct _FoPropertyKeepWithPreviousWithinColumn FoPropertyKeepWithPreviousWithinColumn; FoPropertyKeepWithPreviousWithinColumnClass FoPropertyKeepWithPreviousWithinColumnClasstypedef struct _FoPropertyKeepWithPreviousWithinColumnClass FoPropertyKeepWithPreviousWithinColumnClass; fo_property_keep_with_previous_within_column_new () fo_property_keep_with_previous_within_column_newFoProperty* fo_property_keep_with_previous_within_column_new (void); Creates a new FoPropertyKeepWithPreviousWithinColumn initialized to default value. Returns : the new FoPropertyKeepWithPreviousWithinColumn. fo_property_keep_with_previous_within_column_get_initial () fo_property_keep_with_previous_within_column_get_initialFoProperty* fo_property_keep_with_previous_within_column_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-with-previous-within-line.xml0000644000175000017500000001023111156164732022652 00000000000000 keep-with-previous.within-line 3 XMLROFF Library keep-with-previous.within-line Synopsis FoPropertyKeepWithPreviousWithinLine; FoPropertyKeepWithPreviousWithinLineClass; FoProperty* fo_property_keep_with_previous_within_line_new (void); FoProperty* fo_property_keep_with_previous_within_line_get_initial (void); Description Details FoPropertyKeepWithPreviousWithinLine FoPropertyKeepWithPreviousWithinLinetypedef struct _FoPropertyKeepWithPreviousWithinLine FoPropertyKeepWithPreviousWithinLine; FoPropertyKeepWithPreviousWithinLineClass FoPropertyKeepWithPreviousWithinLineClasstypedef struct _FoPropertyKeepWithPreviousWithinLineClass FoPropertyKeepWithPreviousWithinLineClass; fo_property_keep_with_previous_within_line_new () fo_property_keep_with_previous_within_line_newFoProperty* fo_property_keep_with_previous_within_line_new (void); Creates a new FoPropertyKeepWithPreviousWithinLine initialized to default value. Returns : the new FoPropertyKeepWithPreviousWithinLine. fo_property_keep_with_previous_within_line_get_initial () fo_property_keep_with_previous_within_line_get_initialFoProperty* fo_property_keep_with_previous_within_line_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-with-previous-within-page.xml0000644000175000017500000001023111156164732022637 00000000000000 keep-with-previous.within-page 3 XMLROFF Library keep-with-previous.within-page Synopsis FoPropertyKeepWithPreviousWithinPage; FoPropertyKeepWithPreviousWithinPageClass; FoProperty* fo_property_keep_with_previous_within_page_new (void); FoProperty* fo_property_keep_with_previous_within_page_get_initial (void); Description Details FoPropertyKeepWithPreviousWithinPage FoPropertyKeepWithPreviousWithinPagetypedef struct _FoPropertyKeepWithPreviousWithinPage FoPropertyKeepWithPreviousWithinPage; FoPropertyKeepWithPreviousWithinPageClass FoPropertyKeepWithPreviousWithinPageClasstypedef struct _FoPropertyKeepWithPreviousWithinPageClass FoPropertyKeepWithPreviousWithinPageClass; fo_property_keep_with_previous_within_page_new () fo_property_keep_with_previous_within_page_newFoProperty* fo_property_keep_with_previous_within_page_new (void); Creates a new FoPropertyKeepWithPreviousWithinPage initialized to default value. Returns : the new FoPropertyKeepWithPreviousWithinPage. fo_property_keep_with_previous_within_page_get_initial () fo_property_keep_with_previous_within_page_get_initialFoProperty* fo_property_keep_with_previous_within_page_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-keep-with-previous.xml0000644000175000017500000000715411156164732020437 00000000000000 keep-with-previous 3 XMLROFF Library keep-with-previous Synopsis FoPropertyKeepWithPrevious; FoPropertyKeepWithPreviousClass; FoProperty* fo_property_keep_with_previous_new (void); FoProperty* fo_property_keep_with_previous_get_initial (void); Description Details FoPropertyKeepWithPrevious FoPropertyKeepWithPrevioustypedef struct _FoPropertyKeepWithPrevious FoPropertyKeepWithPrevious; FoPropertyKeepWithPreviousClass FoPropertyKeepWithPreviousClasstypedef struct _FoPropertyKeepWithPreviousClass FoPropertyKeepWithPreviousClass; fo_property_keep_with_previous_new () fo_property_keep_with_previous_newFoProperty* fo_property_keep_with_previous_new (void); Creates a new FoPropertyKeepWithPrevious initialized to default value. Returns : the new FoPropertyKeepWithPrevious. fo_property_keep_with_previous_get_initial () fo_property_keep_with_previous_get_initialFoProperty* fo_property_keep_with_previous_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-letter-value.xml0000644000175000017500000000662611156164732017304 00000000000000 letter-value 3 XMLROFF Library letter-value Synopsis FoPropertyLetterValue; FoPropertyLetterValueClass; FoProperty* fo_property_letter_value_new (void); FoProperty* fo_property_letter_value_get_initial (void); Description Details FoPropertyLetterValue FoPropertyLetterValuetypedef struct _FoPropertyLetterValue FoPropertyLetterValue; FoPropertyLetterValueClass FoPropertyLetterValueClasstypedef struct _FoPropertyLetterValueClass FoPropertyLetterValueClass; fo_property_letter_value_new () fo_property_letter_value_newFoProperty* fo_property_letter_value_new (void); Creates a new FoPropertyLetterValue initialized to default value. Returns : the new FoPropertyLetterValue. fo_property_letter_value_get_initial () fo_property_letter_value_get_initialFoProperty* fo_property_letter_value_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-linefeed-treatment.xml0000644000175000017500000000740211156164732020440 00000000000000 linefeed-treatment 3 XMLROFF Library linefeed-treatment Synopsis FoPropertyLinefeedTreatment; FoPropertyLinefeedTreatmentClass; FoProperty* fo_property_linefeed_treatment_new (void); FoProperty* fo_property_linefeed_treatment_get_initial (void); Description Details FoPropertyLinefeedTreatment FoPropertyLinefeedTreatmenttypedef struct _FoPropertyLinefeedTreatment FoPropertyLinefeedTreatment; Instance of the 'linefeed-treatment' property. FoPropertyLinefeedTreatmentClass FoPropertyLinefeedTreatmentClasstypedef struct _FoPropertyLinefeedTreatmentClass FoPropertyLinefeedTreatmentClass; Class structure for the 'linefeed-treatment' property. fo_property_linefeed_treatment_new () fo_property_linefeed_treatment_newFoProperty* fo_property_linefeed_treatment_new (void); Creates a new FoPropertyLinefeedTreatment initialized to default value. Returns : the new FoPropertyLinefeedTreatment. fo_property_linefeed_treatment_get_initial () fo_property_linefeed_treatment_get_initialFoProperty* fo_property_linefeed_treatment_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-line-height.xml0000644000175000017500000001147611156164732017067 00000000000000 line-height 3 XMLROFF Library line-height Synopsis FoPropertyLineHeight; FoPropertyLineHeightClass; FoProperty* fo_property_line_height_new (void); FoProperty* fo_property_line_height_get_initial (void); FoProperty* fo_property_line_height_resolve (FoProperty *line_height, FoProperty *font_size); Description Details FoPropertyLineHeight FoPropertyLineHeighttypedef struct _FoPropertyLineHeight FoPropertyLineHeight; FoPropertyLineHeightClass FoPropertyLineHeightClasstypedef struct _FoPropertyLineHeightClass FoPropertyLineHeightClass; fo_property_line_height_new () fo_property_line_height_newFoProperty* fo_property_line_height_new (void); Creates a new FoPropertyLineHeight initialized to default value. Returns : the new FoPropertyLineHeight. fo_property_line_height_get_initial () fo_property_line_height_get_initialFoProperty* fo_property_line_height_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. fo_property_line_height_resolve () fo_property_line_height_resolveFoProperty* fo_property_line_height_resolve (FoProperty *line_height, FoProperty *font_size); Determine the computed value of the 'line-height' based on line_height and font_size. line_height : 'line-height' property. font_size : 'font-size' property. Returns : FoProperty with the computed value of line_height. xmlroff-0.6.2/docs/xml/fo-property-line-stacking-strategy.xml0000644000175000017500000000757611156164732021270 00000000000000 line-stacking-strategy 3 XMLROFF Library line-stacking-strategy Synopsis FoPropertyLineStackingStrategy; FoPropertyLineStackingStrategyClass; FoProperty* fo_property_line_stacking_strategy_new (void); FoProperty* fo_property_line_stacking_strategy_get_initial (void); Description Details FoPropertyLineStackingStrategy FoPropertyLineStackingStrategytypedef struct _FoPropertyLineStackingStrategy FoPropertyLineStackingStrategy; FoPropertyLineStackingStrategyClass FoPropertyLineStackingStrategyClasstypedef struct _FoPropertyLineStackingStrategyClass FoPropertyLineStackingStrategyClass; fo_property_line_stacking_strategy_new () fo_property_line_stacking_strategy_newFoProperty* fo_property_line_stacking_strategy_new (void); Creates a new FoPropertyLineStackingStrategy initialized to default value. Returns : the new FoPropertyLineStackingStrategy. fo_property_line_stacking_strategy_get_initial () fo_property_line_stacking_strategy_get_initialFoProperty* fo_property_line_stacking_strategy_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-margin-bottom.xml0000644000175000017500000000667511156164732017456 00000000000000 margin-bottom 3 XMLROFF Library margin-bottom Synopsis FoPropertyMarginBottom; FoPropertyMarginBottomClass; FoProperty* fo_property_margin_bottom_new (void); FoProperty* fo_property_margin_bottom_get_initial (void); Description Details FoPropertyMarginBottom FoPropertyMarginBottomtypedef struct _FoPropertyMarginBottom FoPropertyMarginBottom; FoPropertyMarginBottomClass FoPropertyMarginBottomClasstypedef struct _FoPropertyMarginBottomClass FoPropertyMarginBottomClass; fo_property_margin_bottom_new () fo_property_margin_bottom_newFoProperty* fo_property_margin_bottom_new (void); Creates a new FoPropertyMarginBottom initialized to default value. Returns : the new FoPropertyMarginBottom. fo_property_margin_bottom_get_initial () fo_property_margin_bottom_get_initialFoProperty* fo_property_margin_bottom_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-margin-left.xml0000644000175000017500000000637711156164732017103 00000000000000 margin-left 3 XMLROFF Library margin-left Synopsis FoPropertyMarginLeft; FoPropertyMarginLeftClass; FoProperty* fo_property_margin_left_new (void); FoProperty* fo_property_margin_left_get_initial (void); Description Details FoPropertyMarginLeft FoPropertyMarginLefttypedef struct _FoPropertyMarginLeft FoPropertyMarginLeft; FoPropertyMarginLeftClass FoPropertyMarginLeftClasstypedef struct _FoPropertyMarginLeftClass FoPropertyMarginLeftClass; fo_property_margin_left_new () fo_property_margin_left_newFoProperty* fo_property_margin_left_new (void); Creates a new FoPropertyMarginLeft initialized to default value. Returns : the new FoPropertyMarginLeft. fo_property_margin_left_get_initial () fo_property_margin_left_get_initialFoProperty* fo_property_margin_left_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-margin-right.xml0000644000175000017500000000662611156164732017263 00000000000000 margin-right 3 XMLROFF Library margin-right Synopsis FoPropertyMarginRight; FoPropertyMarginRightClass; FoProperty* fo_property_margin_right_new (void); FoProperty* fo_property_margin_right_get_initial (void); Description Details FoPropertyMarginRight FoPropertyMarginRighttypedef struct _FoPropertyMarginRight FoPropertyMarginRight; FoPropertyMarginRightClass FoPropertyMarginRightClasstypedef struct _FoPropertyMarginRightClass FoPropertyMarginRightClass; fo_property_margin_right_new () fo_property_margin_right_newFoProperty* fo_property_margin_right_new (void); Creates a new FoPropertyMarginRight initialized to default value. Returns : the new FoPropertyMarginRight. fo_property_margin_right_get_initial () fo_property_margin_right_get_initialFoProperty* fo_property_margin_right_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-margin-top.xml0000644000175000017500000000633211156164732016742 00000000000000 margin-top 3 XMLROFF Library margin-top Synopsis FoPropertyMarginTop; FoPropertyMarginTopClass; FoProperty* fo_property_margin_top_new (void); FoProperty* fo_property_margin_top_get_initial (void); Description Details FoPropertyMarginTop FoPropertyMarginToptypedef struct _FoPropertyMarginTop FoPropertyMarginTop; FoPropertyMarginTopClass FoPropertyMarginTopClasstypedef struct _FoPropertyMarginTopClass FoPropertyMarginTopClass; fo_property_margin_top_new () fo_property_margin_top_newFoProperty* fo_property_margin_top_new (void); Creates a new FoPropertyMarginTop initialized to default value. Returns : the new FoPropertyMarginTop. fo_property_margin_top_get_initial () fo_property_margin_top_get_initialFoProperty* fo_property_margin_top_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-margin.xml0000644000175000017500000000613211156164732016140 00000000000000 margin 3 XMLROFF Library margin Synopsis FoPropertyMargin; FoPropertyMarginClass; FoProperty* fo_property_margin_new (void); FoProperty* fo_property_margin_get_initial (void); Description Details FoPropertyMargin FoPropertyMargintypedef struct _FoPropertyMargin FoPropertyMargin; FoPropertyMarginClass FoPropertyMarginClasstypedef struct _FoPropertyMarginClass FoPropertyMarginClass; fo_property_margin_new () fo_property_margin_newFoProperty* fo_property_margin_new (void); Creates a new FoPropertyMargin initialized to default value. Returns : the new FoPropertyMargin. fo_property_margin_get_initial () fo_property_margin_get_initialFoProperty* fo_property_margin_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-master-name.xml0000644000175000017500000000637711156164732017107 00000000000000 master-name 3 XMLROFF Library master-name Synopsis FoPropertyMasterName; FoPropertyMasterNameClass; FoProperty* fo_property_master_name_new (void); FoProperty* fo_property_master_name_get_initial (void); Description Details FoPropertyMasterName FoPropertyMasterNametypedef struct _FoPropertyMasterName FoPropertyMasterName; FoPropertyMasterNameClass FoPropertyMasterNameClasstypedef struct _FoPropertyMasterNameClass FoPropertyMasterNameClass; fo_property_master_name_new () fo_property_master_name_newFoProperty* fo_property_master_name_new (void); Creates a new FoPropertyMasterName initialized to default value. Returns : the new FoPropertyMasterName. fo_property_master_name_get_initial () fo_property_master_name_get_initialFoProperty* fo_property_master_name_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-master-reference.xml0000644000175000017500000000706211156164732020115 00000000000000 master-reference 3 XMLROFF Library master-reference Synopsis FoPropertyMasterReference; FoPropertyMasterReferenceClass; FoProperty* fo_property_master_reference_new (void); FoProperty* fo_property_master_reference_get_initial (void); Description Details FoPropertyMasterReference FoPropertyMasterReferencetypedef struct _FoPropertyMasterReference FoPropertyMasterReference; FoPropertyMasterReferenceClass FoPropertyMasterReferenceClasstypedef struct _FoPropertyMasterReferenceClass FoPropertyMasterReferenceClass; fo_property_master_reference_new () fo_property_master_reference_newFoProperty* fo_property_master_reference_new (void); Creates a new FoPropertyMasterReference initialized to default value. Returns : the new FoPropertyMasterReference. fo_property_master_reference_get_initial () fo_property_master_reference_get_initialFoProperty* fo_property_master_reference_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-media-usage.xml0000644000175000017500000000730011156164732017042 00000000000000 media-usage 3 XMLROFF Library media-usage 'media-usage' property Synopsis FoPropertyMediaUsage; FoPropertyMediaUsageClass; FoProperty* fo_property_media_usage_new (void); FoProperty* fo_property_media_usage_get_initial (void); Description Inherited: FALSE Shorthand: FALSE Value: auto | paginate | bounded-in-one-dimension | unbounded Initial value: auto Definition: http://www.w3.org/TR/xsl11/#media-usage Details FoPropertyMediaUsage FoPropertyMediaUsagetypedef struct _FoPropertyMediaUsage FoPropertyMediaUsage; Instance of the 'media-usage' property. FoPropertyMediaUsageClass FoPropertyMediaUsageClasstypedef struct _FoPropertyMediaUsageClass FoPropertyMediaUsageClass; Class structure for the 'media-usage' property. fo_property_media_usage_new () fo_property_media_usage_newFoProperty* fo_property_media_usage_new (void); Creates a new FoPropertyMediaUsage initialized to default value. Returns : the new FoPropertyMediaUsage. fo_property_media_usage_get_initial () fo_property_media_usage_get_initialFoProperty* fo_property_media_usage_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-number-columns-repeated.xml0000644000175000017500000000764711156164732021434 00000000000000 number-columns-repeated 3 XMLROFF Library number-columns-repeated Synopsis FoPropertyNumberColumnsRepeated; FoPropertyNumberColumnsRepeatedClass; FoProperty* fo_property_number_columns_repeated_new (void); FoProperty* fo_property_number_columns_repeated_get_initial (void); Description Details FoPropertyNumberColumnsRepeated FoPropertyNumberColumnsRepeatedtypedef struct _FoPropertyNumberColumnsRepeated FoPropertyNumberColumnsRepeated; FoPropertyNumberColumnsRepeatedClass FoPropertyNumberColumnsRepeatedClasstypedef struct _FoPropertyNumberColumnsRepeatedClass FoPropertyNumberColumnsRepeatedClass; fo_property_number_columns_repeated_new () fo_property_number_columns_repeated_newFoProperty* fo_property_number_columns_repeated_new (void); Creates a new FoPropertyNumberColumnsRepeated initialized to default value. Returns : the new FoPropertyNumberColumnsRepeated. fo_property_number_columns_repeated_get_initial () fo_property_number_columns_repeated_get_initialFoProperty* fo_property_number_columns_repeated_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-number-columns-spanned.xml0000644000175000017500000000757611156164732021274 00000000000000 number-columns-spanned 3 XMLROFF Library number-columns-spanned Synopsis FoPropertyNumberColumnsSpanned; FoPropertyNumberColumnsSpannedClass; FoProperty* fo_property_number_columns_spanned_new (void); FoProperty* fo_property_number_columns_spanned_get_initial (void); Description Details FoPropertyNumberColumnsSpanned FoPropertyNumberColumnsSpannedtypedef struct _FoPropertyNumberColumnsSpanned FoPropertyNumberColumnsSpanned; FoPropertyNumberColumnsSpannedClass FoPropertyNumberColumnsSpannedClasstypedef struct _FoPropertyNumberColumnsSpannedClass FoPropertyNumberColumnsSpannedClass; fo_property_number_columns_spanned_new () fo_property_number_columns_spanned_newFoProperty* fo_property_number_columns_spanned_new (void); Creates a new FoPropertyNumberColumnsSpanned initialized to default value. Returns : the new FoPropertyNumberColumnsSpanned. fo_property_number_columns_spanned_get_initial () fo_property_number_columns_spanned_get_initialFoProperty* fo_property_number_columns_spanned_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-number-rows-spanned.xml0000644000175000017500000000722311156164732020573 00000000000000 number-rows-spanned 3 XMLROFF Library number-rows-spanned Synopsis FoPropertyNumberRowsSpanned; FoPropertyNumberRowsSpannedClass; FoProperty* fo_property_number_rows_spanned_new (void); FoProperty* fo_property_number_rows_spanned_get_initial (void); Description Details FoPropertyNumberRowsSpanned FoPropertyNumberRowsSpannedtypedef struct _FoPropertyNumberRowsSpanned FoPropertyNumberRowsSpanned; FoPropertyNumberRowsSpannedClass FoPropertyNumberRowsSpannedClasstypedef struct _FoPropertyNumberRowsSpannedClass FoPropertyNumberRowsSpannedClass; fo_property_number_rows_spanned_new () fo_property_number_rows_spanned_newFoProperty* fo_property_number_rows_spanned_new (void); Creates a new FoPropertyNumberRowsSpanned initialized to default value. Returns : the new FoPropertyNumberRowsSpanned. fo_property_number_rows_spanned_get_initial () fo_property_number_rows_spanned_get_initialFoProperty* fo_property_number_rows_spanned_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-orphans.xml0000644000175000017500000000617711156164732016346 00000000000000 orphans 3 XMLROFF Library orphans Synopsis FoPropertyOrphans; FoPropertyOrphansClass; FoProperty* fo_property_orphans_new (void); FoProperty* fo_property_orphans_get_initial (void); Description Details FoPropertyOrphans FoPropertyOrphanstypedef struct _FoPropertyOrphans FoPropertyOrphans; FoPropertyOrphansClass FoPropertyOrphansClasstypedef struct _FoPropertyOrphansClass FoPropertyOrphansClass; fo_property_orphans_new () fo_property_orphans_newFoProperty* fo_property_orphans_new (void); Creates a new FoPropertyOrphans initialized to default value. Returns : the new FoPropertyOrphans. fo_property_orphans_get_initial () fo_property_orphans_get_initialFoProperty* fo_property_orphans_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-overflow.xml0000644000175000017500000000642211156164732016530 00000000000000 overflow 3 XMLROFF Library overflow Synopsis FoPropertyOverflow; FoPropertyOverflowClass; FoProperty* fo_property_overflow_new (void); FoProperty* fo_property_overflow_get_initial (void); Description Details FoPropertyOverflow FoPropertyOverflowtypedef struct _FoPropertyOverflow FoPropertyOverflow; Instance of the 'overflow' property. FoPropertyOverflowClass FoPropertyOverflowClasstypedef struct _FoPropertyOverflowClass FoPropertyOverflowClass; Class structure for the 'overflow' property. fo_property_overflow_new () fo_property_overflow_newFoProperty* fo_property_overflow_new (void); Creates a new FoPropertyOverflow initialized to default value. Returns : the new FoPropertyOverflow. fo_property_overflow_get_initial () fo_property_overflow_get_initialFoProperty* fo_property_overflow_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-after-conditionality.xml0000644000175000017500000000760111156164732022421 00000000000000 padding-after.conditionality 3 XMLROFF Library padding-after.conditionality Synopsis FoPropertyPaddingAfterCondity; FoPropertyPaddingAfterCondityClass; FoProperty* fo_property_padding_after_condity_new (void); FoProperty* fo_property_padding_after_condity_get_initial (void); Description Details FoPropertyPaddingAfterCondity FoPropertyPaddingAfterConditytypedef struct _FoPropertyPaddingAfterCondity FoPropertyPaddingAfterCondity; FoPropertyPaddingAfterCondityClass FoPropertyPaddingAfterCondityClasstypedef struct _FoPropertyPaddingAfterCondityClass FoPropertyPaddingAfterCondityClass; fo_property_padding_after_condity_new () fo_property_padding_after_condity_newFoProperty* fo_property_padding_after_condity_new (void); Creates a new FoPropertyPaddingAfterCondity initialized to default value. Returns : the new FoPropertyPaddingAfterCondity. fo_property_padding_after_condity_get_initial () fo_property_padding_after_condity_get_initialFoProperty* fo_property_padding_after_condity_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-after-length.xml0000644000175000017500000000744711156164732020661 00000000000000 padding-after.length 3 XMLROFF Library padding-after.length Synopsis FoPropertyPaddingAfterLength; FoPropertyPaddingAfterLengthClass; FoProperty* fo_property_padding_after_length_new (void); FoProperty* fo_property_padding_after_length_get_initial (void); Description Details FoPropertyPaddingAfterLength FoPropertyPaddingAfterLengthtypedef struct _FoPropertyPaddingAfterLength FoPropertyPaddingAfterLength; FoPropertyPaddingAfterLengthClass FoPropertyPaddingAfterLengthClasstypedef struct _FoPropertyPaddingAfterLengthClass FoPropertyPaddingAfterLengthClass; fo_property_padding_after_length_new () fo_property_padding_after_length_newFoProperty* fo_property_padding_after_length_new (void); Creates a new FoPropertyPaddingAfterLength initialized to default value. Returns : the new FoPropertyPaddingAfterLength. fo_property_padding_after_length_get_initial () fo_property_padding_after_length_get_initialFoProperty* fo_property_padding_after_length_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-after.xml0000644000175000017500000000667511156164732017404 00000000000000 padding-after 3 XMLROFF Library padding-after Synopsis FoPropertyPaddingAfter; FoPropertyPaddingAfterClass; FoProperty* fo_property_padding_after_new (void); FoProperty* fo_property_padding_after_get_initial (void); Description Details FoPropertyPaddingAfter FoPropertyPaddingAftertypedef struct _FoPropertyPaddingAfter FoPropertyPaddingAfter; FoPropertyPaddingAfterClass FoPropertyPaddingAfterClasstypedef struct _FoPropertyPaddingAfterClass FoPropertyPaddingAfterClass; fo_property_padding_after_new () fo_property_padding_after_newFoProperty* fo_property_padding_after_new (void); Creates a new FoPropertyPaddingAfter initialized to default value. Returns : the new FoPropertyPaddingAfter. fo_property_padding_after_get_initial () fo_property_padding_after_get_initialFoProperty* fo_property_padding_after_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-before-conditionality.xml0000644000175000017500000000765211156164732022570 00000000000000 padding-before.conditionality 3 XMLROFF Library padding-before.conditionality Synopsis FoPropertyPaddingBeforeCondity; FoPropertyPaddingBeforeCondityClass; FoProperty* fo_property_padding_before_condity_new (void); FoProperty* fo_property_padding_before_condity_get_initial (void); Description Details FoPropertyPaddingBeforeCondity FoPropertyPaddingBeforeConditytypedef struct _FoPropertyPaddingBeforeCondity FoPropertyPaddingBeforeCondity; FoPropertyPaddingBeforeCondityClass FoPropertyPaddingBeforeCondityClasstypedef struct _FoPropertyPaddingBeforeCondityClass FoPropertyPaddingBeforeCondityClass; fo_property_padding_before_condity_new () fo_property_padding_before_condity_newFoProperty* fo_property_padding_before_condity_new (void); Creates a new FoPropertyPaddingBeforeCondity initialized to default value. Returns : the new FoPropertyPaddingBeforeCondity. fo_property_padding_before_condity_get_initial () fo_property_padding_before_condity_get_initialFoProperty* fo_property_padding_before_condity_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-before-length.xml0000644000175000017500000000752011156164732021012 00000000000000 padding-before.length 3 XMLROFF Library padding-before.length Synopsis FoPropertyPaddingBeforeLength; FoPropertyPaddingBeforeLengthClass; FoProperty* fo_property_padding_before_length_new (void); FoProperty* fo_property_padding_before_length_get_initial (void); Description Details FoPropertyPaddingBeforeLength FoPropertyPaddingBeforeLengthtypedef struct _FoPropertyPaddingBeforeLength FoPropertyPaddingBeforeLength; FoPropertyPaddingBeforeLengthClass FoPropertyPaddingBeforeLengthClasstypedef struct _FoPropertyPaddingBeforeLengthClass FoPropertyPaddingBeforeLengthClass; fo_property_padding_before_length_new () fo_property_padding_before_length_newFoProperty* fo_property_padding_before_length_new (void); Creates a new FoPropertyPaddingBeforeLength initialized to default value. Returns : the new FoPropertyPaddingBeforeLength. fo_property_padding_before_length_get_initial () fo_property_padding_before_length_get_initialFoProperty* fo_property_padding_before_length_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-before.xml0000644000175000017500000000674411156164732017542 00000000000000 padding-before 3 XMLROFF Library padding-before Synopsis FoPropertyPaddingBefore; FoPropertyPaddingBeforeClass; FoProperty* fo_property_padding_before_new (void); FoProperty* fo_property_padding_before_get_initial (void); Description Details FoPropertyPaddingBefore FoPropertyPaddingBeforetypedef struct _FoPropertyPaddingBefore FoPropertyPaddingBefore; FoPropertyPaddingBeforeClass FoPropertyPaddingBeforeClasstypedef struct _FoPropertyPaddingBeforeClass FoPropertyPaddingBeforeClass; fo_property_padding_before_new () fo_property_padding_before_newFoProperty* fo_property_padding_before_new (void); Creates a new FoPropertyPaddingBefore initialized to default value. Returns : the new FoPropertyPaddingBefore. fo_property_padding_before_get_initial () fo_property_padding_before_get_initialFoProperty* fo_property_padding_before_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-bottom.xml0000644000175000017500000000674411156164732017604 00000000000000 padding-bottom 3 XMLROFF Library padding-bottom Synopsis FoPropertyPaddingBottom; FoPropertyPaddingBottomClass; FoProperty* fo_property_padding_bottom_new (void); FoProperty* fo_property_padding_bottom_get_initial (void); Description Details FoPropertyPaddingBottom FoPropertyPaddingBottomtypedef struct _FoPropertyPaddingBottom FoPropertyPaddingBottom; FoPropertyPaddingBottomClass FoPropertyPaddingBottomClasstypedef struct _FoPropertyPaddingBottomClass FoPropertyPaddingBottomClass; fo_property_padding_bottom_new () fo_property_padding_bottom_newFoProperty* fo_property_padding_bottom_new (void); Creates a new FoPropertyPaddingBottom initialized to default value. Returns : the new FoPropertyPaddingBottom. fo_property_padding_bottom_get_initial () fo_property_padding_bottom_get_initialFoProperty* fo_property_padding_bottom_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-end-conditionality.xml0000644000175000017500000000727711156164732022077 00000000000000 padding-end.conditionality 3 XMLROFF Library padding-end.conditionality Synopsis FoPropertyPaddingEndCondity; FoPropertyPaddingEndCondityClass; FoProperty* fo_property_padding_end_condity_new (void); FoProperty* fo_property_padding_end_condity_get_initial (void); Description Details FoPropertyPaddingEndCondity FoPropertyPaddingEndConditytypedef struct _FoPropertyPaddingEndCondity FoPropertyPaddingEndCondity; FoPropertyPaddingEndCondityClass FoPropertyPaddingEndCondityClasstypedef struct _FoPropertyPaddingEndCondityClass FoPropertyPaddingEndCondityClass; fo_property_padding_end_condity_new () fo_property_padding_end_condity_newFoProperty* fo_property_padding_end_condity_new (void); Creates a new FoPropertyPaddingEndCondity initialized to default value. Returns : the new FoPropertyPaddingEndCondity. fo_property_padding_end_condity_get_initial () fo_property_padding_end_condity_get_initialFoProperty* fo_property_padding_end_condity_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-end-length.xml0000644000175000017500000000730011156164732020312 00000000000000 fo-property-padding-end-length 3 XMLROFF Library fo-property-padding-end-length Synopsis FoPropertyPaddingEndLength; FoPropertyPaddingEndLengthClass; FoProperty* fo_property_padding_end_length_new (void); FoProperty* fo_property_padding_end_length_get_initial (void); Description Details FoPropertyPaddingEndLength FoPropertyPaddingEndLengthtypedef struct _FoPropertyPaddingEndLength FoPropertyPaddingEndLength; FoPropertyPaddingEndLengthClass FoPropertyPaddingEndLengthClasstypedef struct _FoPropertyPaddingEndLengthClass FoPropertyPaddingEndLengthClass; fo_property_padding_end_length_new () fo_property_padding_end_length_newFoProperty* fo_property_padding_end_length_new (void); Creates a new FoPropertyPaddingEndLength initialized to default value. Returns : the new FoPropertyPaddingEndLength. fo_property_padding_end_length_get_initial () fo_property_padding_end_length_get_initialFoProperty* fo_property_padding_end_length_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-end.xml0000644000175000017500000000637711156164732017050 00000000000000 padding-end 3 XMLROFF Library padding-end Synopsis FoPropertyPaddingEnd; FoPropertyPaddingEndClass; FoProperty* fo_property_padding_end_new (void); FoProperty* fo_property_padding_end_get_initial (void); Description Details FoPropertyPaddingEnd FoPropertyPaddingEndtypedef struct _FoPropertyPaddingEnd FoPropertyPaddingEnd; FoPropertyPaddingEndClass FoPropertyPaddingEndClasstypedef struct _FoPropertyPaddingEndClass FoPropertyPaddingEndClass; fo_property_padding_end_new () fo_property_padding_end_newFoProperty* fo_property_padding_end_new (void); Creates a new FoPropertyPaddingEnd initialized to default value. Returns : the new FoPropertyPaddingEnd. fo_property_padding_end_get_initial () fo_property_padding_end_get_initialFoProperty* fo_property_padding_end_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-left.xml0000644000175000017500000000662611156164732017231 00000000000000 padding-left 3 XMLROFF Library padding-left Synopsis FoPropertyPaddingLeft; FoPropertyPaddingLeftClass; FoProperty* fo_property_padding_left_new (void); FoProperty* fo_property_padding_left_get_initial (void); Description Details FoPropertyPaddingLeft FoPropertyPaddingLefttypedef struct _FoPropertyPaddingLeft FoPropertyPaddingLeft; FoPropertyPaddingLeftClass FoPropertyPaddingLeftClasstypedef struct _FoPropertyPaddingLeftClass FoPropertyPaddingLeftClass; fo_property_padding_left_new () fo_property_padding_left_newFoProperty* fo_property_padding_left_new (void); Creates a new FoPropertyPaddingLeft initialized to default value. Returns : the new FoPropertyPaddingLeft. fo_property_padding_left_get_initial () fo_property_padding_left_get_initialFoProperty* fo_property_padding_left_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-right.xml0000644000175000017500000000667511156164732017420 00000000000000 padding-right 3 XMLROFF Library padding-right Synopsis FoPropertyPaddingRight; FoPropertyPaddingRightClass; FoProperty* fo_property_padding_right_new (void); FoProperty* fo_property_padding_right_get_initial (void); Description Details FoPropertyPaddingRight FoPropertyPaddingRighttypedef struct _FoPropertyPaddingRight FoPropertyPaddingRight; FoPropertyPaddingRightClass FoPropertyPaddingRightClasstypedef struct _FoPropertyPaddingRightClass FoPropertyPaddingRightClass; fo_property_padding_right_new () fo_property_padding_right_newFoProperty* fo_property_padding_right_new (void); Creates a new FoPropertyPaddingRight initialized to default value. Returns : the new FoPropertyPaddingRight. fo_property_padding_right_get_initial () fo_property_padding_right_get_initialFoProperty* fo_property_padding_right_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-start-conditionality.xml0000644000175000017500000000760111156164732022455 00000000000000 padding-start.conditionality 3 XMLROFF Library padding-start.conditionality Synopsis FoPropertyPaddingStartCondity; FoPropertyPaddingStartCondityClass; FoProperty* fo_property_padding_start_condity_new (void); FoProperty* fo_property_padding_start_condity_get_initial (void); Description Details FoPropertyPaddingStartCondity FoPropertyPaddingStartConditytypedef struct _FoPropertyPaddingStartCondity FoPropertyPaddingStartCondity; FoPropertyPaddingStartCondityClass FoPropertyPaddingStartCondityClasstypedef struct _FoPropertyPaddingStartCondityClass FoPropertyPaddingStartCondityClass; fo_property_padding_start_condity_new () fo_property_padding_start_condity_newFoProperty* fo_property_padding_start_condity_new (void); Creates a new FoPropertyPaddingStartCondity initialized to default value. Returns : the new FoPropertyPaddingStartCondity. fo_property_padding_start_condity_get_initial () fo_property_padding_start_condity_get_initialFoProperty* fo_property_padding_start_condity_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-start-length.xml0000644000175000017500000000744711156164732020715 00000000000000 padding-start.length 3 XMLROFF Library padding-start.length Synopsis FoPropertyPaddingStartLength; FoPropertyPaddingStartLengthClass; FoProperty* fo_property_padding_start_length_new (void); FoProperty* fo_property_padding_start_length_get_initial (void); Description Details FoPropertyPaddingStartLength FoPropertyPaddingStartLengthtypedef struct _FoPropertyPaddingStartLength FoPropertyPaddingStartLength; FoPropertyPaddingStartLengthClass FoPropertyPaddingStartLengthClasstypedef struct _FoPropertyPaddingStartLengthClass FoPropertyPaddingStartLengthClass; fo_property_padding_start_length_new () fo_property_padding_start_length_newFoProperty* fo_property_padding_start_length_new (void); Creates a new FoPropertyPaddingStartLength initialized to default value. Returns : the new FoPropertyPaddingStartLength. fo_property_padding_start_length_get_initial () fo_property_padding_start_length_get_initialFoProperty* fo_property_padding_start_length_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-start.xml0000644000175000017500000000667511156164732017440 00000000000000 padding-start 3 XMLROFF Library padding-start Synopsis FoPropertyPaddingStart; FoPropertyPaddingStartClass; FoProperty* fo_property_padding_start_new (void); FoProperty* fo_property_padding_start_get_initial (void); Description Details FoPropertyPaddingStart FoPropertyPaddingStarttypedef struct _FoPropertyPaddingStart FoPropertyPaddingStart; FoPropertyPaddingStartClass FoPropertyPaddingStartClasstypedef struct _FoPropertyPaddingStartClass FoPropertyPaddingStartClass; fo_property_padding_start_new () fo_property_padding_start_newFoProperty* fo_property_padding_start_new (void); Creates a new FoPropertyPaddingStart initialized to default value. Returns : the new FoPropertyPaddingStart. fo_property_padding_start_get_initial () fo_property_padding_start_get_initialFoProperty* fo_property_padding_start_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding-top.xml0000644000175000017500000000637711156164732017104 00000000000000 padding-top 3 XMLROFF Library padding-top Synopsis FoPropertyPaddingTop; FoPropertyPaddingTopClass; FoProperty* fo_property_padding_top_new (void); FoProperty* fo_property_padding_top_get_initial (void); Description Details FoPropertyPaddingTop FoPropertyPaddingToptypedef struct _FoPropertyPaddingTop FoPropertyPaddingTop; FoPropertyPaddingTopClass FoPropertyPaddingTopClasstypedef struct _FoPropertyPaddingTopClass FoPropertyPaddingTopClass; fo_property_padding_top_new () fo_property_padding_top_newFoProperty* fo_property_padding_top_new (void); Creates a new FoPropertyPaddingTop initialized to default value. Returns : the new FoPropertyPaddingTop. fo_property_padding_top_get_initial () fo_property_padding_top_get_initialFoProperty* fo_property_padding_top_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-padding.xml0000644000175000017500000000617711156164732016302 00000000000000 padding 3 XMLROFF Library padding Synopsis FoPropertyPadding; FoPropertyPaddingClass; FoProperty* fo_property_padding_new (void); FoProperty* fo_property_padding_get_initial (void); Description Details FoPropertyPadding FoPropertyPaddingtypedef struct _FoPropertyPadding FoPropertyPadding; FoPropertyPaddingClass FoPropertyPaddingClasstypedef struct _FoPropertyPaddingClass FoPropertyPaddingClass; fo_property_padding_new () fo_property_padding_newFoProperty* fo_property_padding_new (void); Creates a new FoPropertyPadding initialized to default value. Returns : the new FoPropertyPadding. fo_property_padding_get_initial () fo_property_padding_get_initialFoProperty* fo_property_padding_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-page-height.xml0000644000175000017500000000637711156164732017060 00000000000000 page-height 3 XMLROFF Library page-height Synopsis FoPropertyPageHeight; FoPropertyPageHeightClass; FoProperty* fo_property_page_height_new (void); FoProperty* fo_property_page_height_get_initial (void); Description Details FoPropertyPageHeight FoPropertyPageHeighttypedef struct _FoPropertyPageHeight FoPropertyPageHeight; FoPropertyPageHeightClass FoPropertyPageHeightClasstypedef struct _FoPropertyPageHeightClass FoPropertyPageHeightClass; fo_property_page_height_new () fo_property_page_height_newFoProperty* fo_property_page_height_new (void); Creates a new FoPropertyPageHeight initialized to default value. Returns : the new FoPropertyPageHeight. fo_property_page_height_get_initial () fo_property_page_height_get_initialFoProperty* fo_property_page_height_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-page-width.xml0000644000175000017500000000633211156164732016716 00000000000000 page-width 3 XMLROFF Library page-width Synopsis FoPropertyPageWidth; FoPropertyPageWidthClass; FoProperty* fo_property_page_width_new (void); FoProperty* fo_property_page_width_get_initial (void); Description Details FoPropertyPageWidth FoPropertyPageWidthtypedef struct _FoPropertyPageWidth FoPropertyPageWidth; FoPropertyPageWidthClass FoPropertyPageWidthClasstypedef struct _FoPropertyPageWidthClass FoPropertyPageWidthClass; fo_property_page_width_new () fo_property_page_width_newFoProperty* fo_property_page_width_new (void); Creates a new FoPropertyPageWidth initialized to default value. Returns : the new FoPropertyPageWidth. fo_property_page_width_get_initial () fo_property_page_width_get_initialFoProperty* fo_property_page_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/text.xml0000644000175000017500000007021011156164733013362 00000000000000 Fotext 3 XMLROFF Library Fotext Synopsis FoText; FoTextClass; FoFo* fo_text_new (void); void fo_text_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_text_get_color (FoFo *fo_fo); void fo_text_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_text_get_font_family (FoFo *fo_fo); void fo_text_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_text_get_font_size (FoFo *fo_fo); void fo_text_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_text_get_font_stretch (FoFo *fo_fo); void fo_text_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_text_get_font_style (FoFo *fo_fo); void fo_text_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_text_get_font_variant (FoFo *fo_fo); void fo_text_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_text_get_font_weight (FoFo *fo_fo); void fo_text_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_text_get_score_spaces (FoFo *fo_fo); void fo_text_set_value (FoFo *fo_fo, const gchar *new_value); gchar* fo_text_get_value (FoFo *fo_fo); gboolean fo_text_get_whitespace_only (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoText Implemented Interfaces FoText implements FoInlineFoIface. Properties "color" FoProperty : Read "font-family" FoProperty : Read "font-size" FoProperty : Read "font-stretch" FoProperty : Read "font-style" FoProperty : Read "font-variant" FoProperty : Read "font-weight" FoProperty : Read "score-spaces" FoProperty : Read "value" gchararray : Read "whitespace-only" gboolean : Read Description Details <anchor id="FoText-struct" role="struct"/>FoText FoTexttypedef struct _FoText FoText; <anchor id="FoTextClass" role="struct"/>FoTextClass FoTextClasstypedef struct _FoTextClass FoTextClass; <anchor id="fo-text-new" role="function"/>fo_text_new () fo_text_newFoFo* fo_text_new (void); Creates a new FoText initialized to default value. Returns : the new FoText <anchor id="fo-text-set-color" role="function"/>fo_text_set_color () fo_text_set_colorvoid fo_text_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the color property of text to new_color fo_fo : The FoFo object new_color : The new "color" property value <anchor id="fo-text-get-color" role="function"/>fo_text_get_color () fo_text_get_colorFoProperty* fo_text_get_color (FoFo *fo_fo); Gets the color property of text fo_fo : The FoFo object Returns : The "color" property value <anchor id="fo-text-set-font-family" role="function"/>fo_text_set_font_family () fo_text_set_font_familyvoid fo_text_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the font-family property of text to new_font_family fo_fo : The FoFo object new_font_family : The new "font-family" property value <anchor id="fo-text-get-font-family" role="function"/>fo_text_get_font_family () fo_text_get_font_familyFoProperty* fo_text_get_font_family (FoFo *fo_fo); Gets the font-family property of text fo_fo : The FoFo object Returns : The "font-family" property value <anchor id="fo-text-set-font-size" role="function"/>fo_text_set_font_size () fo_text_set_font_sizevoid fo_text_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the font-size property of text to new_font_size fo_fo : The FoFo object new_font_size : The new "font-size" property value <anchor id="fo-text-get-font-size" role="function"/>fo_text_get_font_size () fo_text_get_font_sizeFoProperty* fo_text_get_font_size (FoFo *fo_fo); Gets the font-size property of text fo_fo : The FoFo object Returns : The "font-size" property value <anchor id="fo-text-set-font-stretch" role="function"/>fo_text_set_font_stretch () fo_text_set_font_stretchvoid fo_text_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the font-stretch property of text to new_font_stretch fo_fo : The FoFo object new_font_stretch : The new "font-stretch" property value <anchor id="fo-text-get-font-stretch" role="function"/>fo_text_get_font_stretch () fo_text_get_font_stretchFoProperty* fo_text_get_font_stretch (FoFo *fo_fo); Gets the font-stretch property of text fo_fo : The FoFo object Returns : The "font-stretch" property value <anchor id="fo-text-set-font-style" role="function"/>fo_text_set_font_style () fo_text_set_font_stylevoid fo_text_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the font-style property of text to new_font_style fo_fo : The FoFo object new_font_style : The new "font-style" property value <anchor id="fo-text-get-font-style" role="function"/>fo_text_get_font_style () fo_text_get_font_styleFoProperty* fo_text_get_font_style (FoFo *fo_fo); Gets the font-style property of text fo_fo : The FoFo object Returns : The "font-style" property value <anchor id="fo-text-set-font-variant" role="function"/>fo_text_set_font_variant () fo_text_set_font_variantvoid fo_text_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the font-variant property of text to new_font_variant fo_fo : The FoFo object new_font_variant : The new "font-variant" property value <anchor id="fo-text-get-font-variant" role="function"/>fo_text_get_font_variant () fo_text_get_font_variantFoProperty* fo_text_get_font_variant (FoFo *fo_fo); Gets the font-variant property of text fo_fo : The FoFo object Returns : The "font-variant" property value <anchor id="fo-text-set-font-weight" role="function"/>fo_text_set_font_weight () fo_text_set_font_weightvoid fo_text_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the font-weight property of text to new_font_weight fo_fo : The FoFo object new_font_weight : The new "font-weight" property value <anchor id="fo-text-get-font-weight" role="function"/>fo_text_get_font_weight () fo_text_get_font_weightFoProperty* fo_text_get_font_weight (FoFo *fo_fo); Gets the font-weight property of text fo_fo : The FoFo object Returns : The "font-weight" property value <anchor id="fo-text-set-score-spaces" role="function"/>fo_text_set_score_spaces () fo_text_set_score_spacesvoid fo_text_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); Sets the score-spaces property of text to new_score_spaces fo_fo : The FoFo object new_score_spaces : The new "score-spaces" property value <anchor id="fo-text-get-score-spaces" role="function"/>fo_text_get_score_spaces () fo_text_get_score_spacesFoProperty* fo_text_get_score_spaces (FoFo *fo_fo); Gets the score-spaces property of text fo_fo : The FoFo object Returns : The "score-spaces" property value <anchor id="fo-text-set-value" role="function"/>fo_text_set_value () fo_text_set_valuevoid fo_text_set_value (FoFo *fo_fo, const gchar *new_value); Sets the value property of fo_fo to new_value fo_fo : The FoText object new_value : The new "value" property value <anchor id="fo-text-get-value" role="function"/>fo_text_get_value () fo_text_get_valuegchar* fo_text_get_value (FoFo *fo_fo); Gets the "value" property of fo_text fo_fo : The FoText object Returns : The "value" property value <anchor id="fo-text-get-whitespace-only" role="function"/>fo_text_get_whitespace_only () fo_text_get_whitespace_onlygboolean fo_text_get_whitespace_only (FoFo *fo_fo); Gets the "whitespace_only" property of fo_fo fo_fo : The FoText object Returns : The "whitespace_only" property value Property Details <anchor id="FoText--color"/>The "<literal>color</literal>" property FoText:color "color" FoProperty : Read Color property. <anchor id="FoText--font-family"/>The "<literal>font-family</literal>" property FoText:font-family "font-family" FoProperty : Read Font Family property. <anchor id="FoText--font-size"/>The "<literal>font-size</literal>" property FoText:font-size "font-size" FoProperty : Read Font Size property. <anchor id="FoText--font-stretch"/>The "<literal>font-stretch</literal>" property FoText:font-stretch "font-stretch" FoProperty : Read Font Stretch property. <anchor id="FoText--font-style"/>The "<literal>font-style</literal>" property FoText:font-style "font-style" FoProperty : Read Font Style property. <anchor id="FoText--font-variant"/>The "<literal>font-variant</literal>" property FoText:font-variant "font-variant" FoProperty : Read Font Variant property. <anchor id="FoText--font-weight"/>The "<literal>font-weight</literal>" property FoText:font-weight "font-weight" FoProperty : Read Font Weight property. <anchor id="FoText--score-spaces"/>The "<literal>score-spaces</literal>" property FoText:score-spaces "score-spaces" FoProperty : Read Score Spaces property. <anchor id="FoText--value"/>The "<literal>value</literal>" property FoText:value "value" gchararray : Read String value property.Default value: NULL <anchor id="FoText--whitespace-only"/>The "<literal>whitespace-only</literal>" property FoText:whitespace-only "whitespace-only" gboolean : Read Whether or not the text object contains only whitespace characters.Default value: FALSE xmlroff-0.6.2/docs/xml/fo-property-provisional-distance-between-starts.xml0000644000175000017500000001057711156164732023775 00000000000000 provisional-distance-between-starts 3 XMLROFF Library provisional-distance-between-starts Synopsis FoPropertyProvisionalDistanceBetweenStarts; FoPropertyProvisionalDistanceBetweenStartsClass; FoProperty* fo_property_provisional_distance_between_starts_new (void); FoProperty* fo_property_provisional_distance_between_starts_get_initial (void); Description Details FoPropertyProvisionalDistanceBetweenStarts FoPropertyProvisionalDistanceBetweenStartstypedef struct _FoPropertyProvisionalDistanceBetweenStarts FoPropertyProvisionalDistanceBetweenStarts; FoPropertyProvisionalDistanceBetweenStartsClass FoPropertyProvisionalDistanceBetweenStartsClasstypedef struct _FoPropertyProvisionalDistanceBetweenStartsClass FoPropertyProvisionalDistanceBetweenStartsClass; fo_property_provisional_distance_between_starts_new () fo_property_provisional_distance_between_starts_newFoProperty* fo_property_provisional_distance_between_starts_new (void); Creates a new FoPropertyProvisionalDistanceBetweenStarts initialized to default value. Returns : the new FoPropertyProvisionalDistanceBetweenStarts. fo_property_provisional_distance_between_starts_get_initial () fo_property_provisional_distance_between_starts_get_initialFoProperty* fo_property_provisional_distance_between_starts_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-provisional-label-separation.xml0000644000175000017500000001016411156164732022450 00000000000000 provisional-label-separation 3 XMLROFF Library provisional-label-separation Synopsis FoPropertyProvisionalLabelSeparation; FoPropertyProvisionalLabelSeparationClass; FoProperty* fo_property_provisional_label_separation_new (void); FoProperty* fo_property_provisional_label_separation_get_initial (void); Description Details FoPropertyProvisionalLabelSeparation FoPropertyProvisionalLabelSeparationtypedef struct _FoPropertyProvisionalLabelSeparation FoPropertyProvisionalLabelSeparation; FoPropertyProvisionalLabelSeparationClass FoPropertyProvisionalLabelSeparationClasstypedef struct _FoPropertyProvisionalLabelSeparationClass FoPropertyProvisionalLabelSeparationClass; fo_property_provisional_label_separation_new () fo_property_provisional_label_separation_newFoProperty* fo_property_provisional_label_separation_new (void); Creates a new FoPropertyProvisionalLabelSeparation initialized to default value. Returns : the new FoPropertyProvisionalLabelSeparation. fo_property_provisional_label_separation_get_initial () fo_property_provisional_label_separation_get_initialFoProperty* fo_property_provisional_label_separation_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-ref-id.xml0000644000175000017500000000626011156164732016033 00000000000000 ref-id 3 XMLROFF Library ref-id Synopsis FoPropertyRefId; FoPropertyRefIdClass; FoProperty* fo_property_ref_id_new (void); FoProperty* fo_property_ref_id_get_initial (void); Description Details FoPropertyRefId FoPropertyRefIdtypedef struct _FoPropertyRefId FoPropertyRefId; Instance of the 'ref-id' property. FoPropertyRefIdClass FoPropertyRefIdClasstypedef struct _FoPropertyRefIdClass FoPropertyRefIdClass; Class structure for the 'ref-id' property. fo_property_ref_id_new () fo_property_ref_id_newFoProperty* fo_property_ref_id_new (void); Creates a new FoPropertyRefId initialized to default value. Returns : the new FoPropertyRefId. fo_property_ref_id_get_initial () fo_property_ref_id_get_initialFoProperty* fo_property_ref_id_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-region-name.xml0000644000175000017500000000637711156164732017077 00000000000000 region-name 3 XMLROFF Library region-name Synopsis FoPropertyRegionName; FoPropertyRegionNameClass; FoProperty* fo_property_region_name_new (void); FoProperty* fo_property_region_name_get_initial (void); Description Details FoPropertyRegionName FoPropertyRegionNametypedef struct _FoPropertyRegionName FoPropertyRegionName; FoPropertyRegionNameClass FoPropertyRegionNameClasstypedef struct _FoPropertyRegionNameClass FoPropertyRegionNameClass; fo_property_region_name_new () fo_property_region_name_newFoProperty* fo_property_region_name_new (void); Creates a new FoPropertyRegionName initialized to default value. Returns : the new FoPropertyRegionName. fo_property_region_name_get_initial () fo_property_region_name_get_initialFoProperty* fo_property_region_name_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-role.xml0000644000175000017500000000602011156164732015620 00000000000000 role 3 XMLROFF Library role Synopsis FoPropertyRole; FoPropertyRoleClass; FoProperty* fo_property_role_new (void); FoProperty* fo_property_role_get_initial (void); Description Details FoPropertyRole FoPropertyRoletypedef struct _FoPropertyRole FoPropertyRole; FoPropertyRoleClass FoPropertyRoleClasstypedef struct _FoPropertyRoleClass FoPropertyRoleClass; fo_property_role_new () fo_property_role_newFoProperty* fo_property_role_new (void); Creates a new FoPropertyRole initialized to default value. Returns : the new FoPropertyRole. fo_property_role_get_initial () fo_property_role_get_initialFoProperty* fo_property_role_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-scaling-method.xml0000644000175000017500000000674411156164732017572 00000000000000 scaling-method 3 XMLROFF Library scaling-method Synopsis FoPropertyScalingMethod; FoPropertyScalingMethodClass; FoProperty* fo_property_scaling_method_new (void); FoProperty* fo_property_scaling_method_get_initial (void); Description Details FoPropertyScalingMethod FoPropertyScalingMethodtypedef struct _FoPropertyScalingMethod FoPropertyScalingMethod; FoPropertyScalingMethodClass FoPropertyScalingMethodClasstypedef struct _FoPropertyScalingMethodClass FoPropertyScalingMethodClass; fo_property_scaling_method_new () fo_property_scaling_method_newFoProperty* fo_property_scaling_method_new (void); Creates a new FoPropertyScalingMethod initialized to default value. Returns : the new FoPropertyScalingMethod. fo_property_scaling_method_get_initial () fo_property_scaling_method_get_initialFoProperty* fo_property_scaling_method_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-scaling.xml0000644000175000017500000000617711156164732016314 00000000000000 scaling 3 XMLROFF Library scaling Synopsis FoPropertyScaling; FoPropertyScalingClass; FoProperty* fo_property_scaling_new (void); FoProperty* fo_property_scaling_get_initial (void); Description Details FoPropertyScaling FoPropertyScalingtypedef struct _FoPropertyScaling FoPropertyScaling; FoPropertyScalingClass FoPropertyScalingClasstypedef struct _FoPropertyScalingClass FoPropertyScalingClass; fo_property_scaling_new () fo_property_scaling_newFoProperty* fo_property_scaling_new (void); Creates a new FoPropertyScaling initialized to default value. Returns : the new FoPropertyScaling. fo_property_scaling_get_initial () fo_property_scaling_get_initialFoProperty* fo_property_scaling_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-score-spaces.xml0000644000175000017500000000701411156164732017252 00000000000000 score-spaces 3 XMLROFF Library score-spaces Synopsis FoPropertyScoreSpaces; FoPropertyScoreSpacesClass; FoProperty* fo_property_score_spaces_new (void); FoProperty* fo_property_score_spaces_get_initial (void); Description Details FoPropertyScoreSpaces FoPropertyScoreSpacestypedef struct _FoPropertyScoreSpaces FoPropertyScoreSpaces; Instance of the 'score-spaces' property. FoPropertyScoreSpacesClass FoPropertyScoreSpacesClasstypedef struct _FoPropertyScoreSpacesClass FoPropertyScoreSpacesClass; Class structure for the 'score-spaces' property. fo_property_score_spaces_new () fo_property_score_spaces_newFoProperty* fo_property_score_spaces_new (void); Creates a new FoPropertyScoreSpaces initialized to default value. Returns : the new FoPropertyScoreSpaces. fo_property_score_spaces_get_initial () fo_property_score_spaces_get_initialFoProperty* fo_property_score_spaces_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-source-document.xml0000644000175000017500000000720711156164732020003 00000000000000 source-document 3 XMLROFF Library source-document Synopsis FoPropertySourceDocument; FoPropertySourceDocumentClass; FoProperty* fo_property_source_document_new (void); FoProperty* fo_property_source_document_get_initial (void); Description Details FoPropertySourceDocument FoPropertySourceDocumenttypedef struct _FoPropertySourceDocument FoPropertySourceDocument; Instance of the 'source-document' property. FoPropertySourceDocumentClass FoPropertySourceDocumentClasstypedef struct _FoPropertySourceDocumentClass FoPropertySourceDocumentClass; Class structure for the 'source-document' property. fo_property_source_document_new () fo_property_source_document_newFoProperty* fo_property_source_document_new (void); Creates a new FoPropertySourceDocument initialized to default value. Returns : the new FoPropertySourceDocument. fo_property_source_document_get_initial () fo_property_source_document_get_initialFoProperty* fo_property_source_document_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-after-conditionality.xml0000644000175000017500000000727711156164732022117 00000000000000 space-after.conditionality 3 XMLROFF Library space-after.conditionality Synopsis FoPropertySpaceAfterCondity; FoPropertySpaceAfterCondityClass; FoProperty* fo_property_space_after_condity_new (void); FoProperty* fo_property_space_after_condity_get_initial (void); Description Details FoPropertySpaceAfterCondity FoPropertySpaceAfterConditytypedef struct _FoPropertySpaceAfterCondity FoPropertySpaceAfterCondity; FoPropertySpaceAfterCondityClass FoPropertySpaceAfterCondityClasstypedef struct _FoPropertySpaceAfterCondityClass FoPropertySpaceAfterCondityClass; fo_property_space_after_condity_new () fo_property_space_after_condity_newFoProperty* fo_property_space_after_condity_new (void); Creates a new FoPropertySpaceAfterCondity initialized to default value. Returns : the new FoPropertySpaceAfterCondity. fo_property_space_after_condity_get_initial () fo_property_space_after_condity_get_initialFoProperty* fo_property_space_after_condity_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-after-maximum.xml0000644000175000017500000000721611156164732020534 00000000000000 space-after.maximum 3 XMLROFF Library space-after.maximum Synopsis FoPropertySpaceAfterMaximum; FoPropertySpaceAfterMaximumClass; FoProperty* fo_property_space_after_maximum_new (void); FoProperty* fo_property_space_after_maximum_get_initial (void); Description Details FoPropertySpaceAfterMaximum FoPropertySpaceAfterMaximumtypedef struct _FoPropertySpaceAfterMaximum FoPropertySpaceAfterMaximum; FoPropertySpaceAfterMaximumClass FoPropertySpaceAfterMaximumClasstypedef struct _FoPropertySpaceAfterMaximumClass FoPropertySpaceAfterMaximumClass; fo_property_space_after_maximum_new () fo_property_space_after_maximum_newFoProperty* fo_property_space_after_maximum_new (void); Creates a new FoPropertySpaceAfterMaximum initialized to default value. Returns : the new FoPropertySpaceAfterMaximum. fo_property_space_after_maximum_get_initial () fo_property_space_after_maximum_get_initialFoProperty* fo_property_space_after_maximum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-after-minimum.xml0000644000175000017500000000721611156164732020532 00000000000000 space-after.minimum 3 XMLROFF Library space-after.minimum Synopsis FoPropertySpaceAfterMinimum; FoPropertySpaceAfterMinimumClass; FoProperty* fo_property_space_after_minimum_new (void); FoProperty* fo_property_space_after_minimum_get_initial (void); Description Details FoPropertySpaceAfterMinimum FoPropertySpaceAfterMinimumtypedef struct _FoPropertySpaceAfterMinimum FoPropertySpaceAfterMinimum; FoPropertySpaceAfterMinimumClass FoPropertySpaceAfterMinimumClasstypedef struct _FoPropertySpaceAfterMinimumClass FoPropertySpaceAfterMinimumClass; fo_property_space_after_minimum_new () fo_property_space_after_minimum_newFoProperty* fo_property_space_after_minimum_new (void); Creates a new FoPropertySpaceAfterMinimum initialized to default value. Returns : the new FoPropertySpaceAfterMinimum. fo_property_space_after_minimum_get_initial () fo_property_space_after_minimum_get_initialFoProperty* fo_property_space_after_minimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-after-optimum.xml0000644000175000017500000000721611156164732020551 00000000000000 space-after.optimum 3 XMLROFF Library space-after.optimum Synopsis FoPropertySpaceAfterOptimum; FoPropertySpaceAfterOptimumClass; FoProperty* fo_property_space_after_optimum_new (void); FoProperty* fo_property_space_after_optimum_get_initial (void); Description Details FoPropertySpaceAfterOptimum FoPropertySpaceAfterOptimumtypedef struct _FoPropertySpaceAfterOptimum FoPropertySpaceAfterOptimum; FoPropertySpaceAfterOptimumClass FoPropertySpaceAfterOptimumClasstypedef struct _FoPropertySpaceAfterOptimumClass FoPropertySpaceAfterOptimumClass; fo_property_space_after_optimum_new () fo_property_space_after_optimum_newFoProperty* fo_property_space_after_optimum_new (void); Creates a new FoPropertySpaceAfterOptimum initialized to default value. Returns : the new FoPropertySpaceAfterOptimum. fo_property_space_after_optimum_get_initial () fo_property_space_after_optimum_get_initialFoProperty* fo_property_space_after_optimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-after-precedence.xml0000644000175000017500000000757111156164732021160 00000000000000 space-after.precedence 3 XMLROFF Library space-after.precedence Synopsis FoPropertySpaceAfterPrecedence; FoPropertySpaceAfterPrecedenceClass; FoProperty* fo_property_space_after_precedence_new (void); FoProperty* fo_property_space_after_precedence_get_initial (void); Description Details FoPropertySpaceAfterPrecedence FoPropertySpaceAfterPrecedencetypedef struct _FoPropertySpaceAfterPrecedence FoPropertySpaceAfterPrecedence; FoPropertySpaceAfterPrecedenceClass FoPropertySpaceAfterPrecedenceClasstypedef struct _FoPropertySpaceAfterPrecedenceClass FoPropertySpaceAfterPrecedenceClass; fo_property_space_after_precedence_new () fo_property_space_after_precedence_newFoProperty* fo_property_space_after_precedence_new (void); Creates a new FoPropertySpaceAfterPrecedence initialized to default value. Returns : the new FoPropertySpaceAfterPrecedence. fo_property_space_after_precedence_get_initial () fo_property_space_after_precedence_get_initialFoProperty* fo_property_space_after_precedence_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-after.xml0000644000175000017500000000637711156164732017070 00000000000000 space-after 3 XMLROFF Library space-after Synopsis FoPropertySpaceAfter; FoPropertySpaceAfterClass; FoProperty* fo_property_space_after_new (void); FoProperty* fo_property_space_after_get_initial (void); Description Details FoPropertySpaceAfter FoPropertySpaceAftertypedef struct _FoPropertySpaceAfter FoPropertySpaceAfter; FoPropertySpaceAfterClass FoPropertySpaceAfterClasstypedef struct _FoPropertySpaceAfterClass FoPropertySpaceAfterClass; fo_property_space_after_new () fo_property_space_after_newFoProperty* fo_property_space_after_new (void); Creates a new FoPropertySpaceAfter initialized to default value. Returns : the new FoPropertySpaceAfter. fo_property_space_after_get_initial () fo_property_space_after_get_initialFoProperty* fo_property_space_after_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-before-conditionality.xml0000644000175000017500000000753011156164732022250 00000000000000 space-before.conditionality 3 XMLROFF Library space-before.conditionality Synopsis FoPropertySpaceBeforeCondity; FoPropertySpaceBeforeCondityClass; FoProperty* fo_property_space_before_condity_new (void); FoProperty* fo_property_space_before_condity_get_initial (void); Description Details FoPropertySpaceBeforeCondity FoPropertySpaceBeforeConditytypedef struct _FoPropertySpaceBeforeCondity FoPropertySpaceBeforeCondity; FoPropertySpaceBeforeCondityClass FoPropertySpaceBeforeCondityClasstypedef struct _FoPropertySpaceBeforeCondityClass FoPropertySpaceBeforeCondityClass; fo_property_space_before_condity_new () fo_property_space_before_condity_newFoProperty* fo_property_space_before_condity_new (void); Creates a new FoPropertySpaceBeforeCondity initialized to default value. Returns : the new FoPropertySpaceBeforeCondity. fo_property_space_before_condity_get_initial () fo_property_space_before_condity_get_initialFoProperty* fo_property_space_before_condity_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-before-maximum.xml0000644000175000017500000000744711156164732020703 00000000000000 space-before.maximum 3 XMLROFF Library space-before.maximum Synopsis FoPropertySpaceBeforeMaximum; FoPropertySpaceBeforeMaximumClass; FoProperty* fo_property_space_before_maximum_new (void); FoProperty* fo_property_space_before_maximum_get_initial (void); Description Details FoPropertySpaceBeforeMaximum FoPropertySpaceBeforeMaximumtypedef struct _FoPropertySpaceBeforeMaximum FoPropertySpaceBeforeMaximum; FoPropertySpaceBeforeMaximumClass FoPropertySpaceBeforeMaximumClasstypedef struct _FoPropertySpaceBeforeMaximumClass FoPropertySpaceBeforeMaximumClass; fo_property_space_before_maximum_new () fo_property_space_before_maximum_newFoProperty* fo_property_space_before_maximum_new (void); Creates a new FoPropertySpaceBeforeMaximum initialized to default value. Returns : the new FoPropertySpaceBeforeMaximum. fo_property_space_before_maximum_get_initial () fo_property_space_before_maximum_get_initialFoProperty* fo_property_space_before_maximum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-before-minimum.xml0000644000175000017500000000744711156164732020701 00000000000000 space-before.minimum 3 XMLROFF Library space-before.minimum Synopsis FoPropertySpaceBeforeMinimum; FoPropertySpaceBeforeMinimumClass; FoProperty* fo_property_space_before_minimum_new (void); FoProperty* fo_property_space_before_minimum_get_initial (void); Description Details FoPropertySpaceBeforeMinimum FoPropertySpaceBeforeMinimumtypedef struct _FoPropertySpaceBeforeMinimum FoPropertySpaceBeforeMinimum; FoPropertySpaceBeforeMinimumClass FoPropertySpaceBeforeMinimumClasstypedef struct _FoPropertySpaceBeforeMinimumClass FoPropertySpaceBeforeMinimumClass; fo_property_space_before_minimum_new () fo_property_space_before_minimum_newFoProperty* fo_property_space_before_minimum_new (void); Creates a new FoPropertySpaceBeforeMinimum initialized to default value. Returns : the new FoPropertySpaceBeforeMinimum. fo_property_space_before_minimum_get_initial () fo_property_space_before_minimum_get_initialFoProperty* fo_property_space_before_minimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-before-optimum.xml0000644000175000017500000000744711156164732020720 00000000000000 space-before.optimum 3 XMLROFF Library space-before.optimum Synopsis FoPropertySpaceBeforeOptimum; FoPropertySpaceBeforeOptimumClass; FoProperty* fo_property_space_before_optimum_new (void); FoProperty* fo_property_space_before_optimum_get_initial (void); Description Details FoPropertySpaceBeforeOptimum FoPropertySpaceBeforeOptimumtypedef struct _FoPropertySpaceBeforeOptimum FoPropertySpaceBeforeOptimum; FoPropertySpaceBeforeOptimumClass FoPropertySpaceBeforeOptimumClasstypedef struct _FoPropertySpaceBeforeOptimumClass FoPropertySpaceBeforeOptimumClass; fo_property_space_before_optimum_new () fo_property_space_before_optimum_newFoProperty* fo_property_space_before_optimum_new (void); Creates a new FoPropertySpaceBeforeOptimum initialized to default value. Returns : the new FoPropertySpaceBeforeOptimum. fo_property_space_before_optimum_get_initial () fo_property_space_before_optimum_get_initialFoProperty* fo_property_space_before_optimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-before-precedence.xml0000644000175000017500000000764211156164732021320 00000000000000 space-before.precedence 3 XMLROFF Library space-before.precedence Synopsis FoPropertySpaceBeforePrecedence; FoPropertySpaceBeforePrecedenceClass; FoProperty* fo_property_space_before_precedence_new (void); FoProperty* fo_property_space_before_precedence_get_initial (void); Description Details FoPropertySpaceBeforePrecedence FoPropertySpaceBeforePrecedencetypedef struct _FoPropertySpaceBeforePrecedence FoPropertySpaceBeforePrecedence; FoPropertySpaceBeforePrecedenceClass FoPropertySpaceBeforePrecedenceClasstypedef struct _FoPropertySpaceBeforePrecedenceClass FoPropertySpaceBeforePrecedenceClass; fo_property_space_before_precedence_new () fo_property_space_before_precedence_newFoProperty* fo_property_space_before_precedence_new (void); Creates a new FoPropertySpaceBeforePrecedence initialized to default value. Returns : the new FoPropertySpaceBeforePrecedence. fo_property_space_before_precedence_get_initial () fo_property_space_before_precedence_get_initialFoProperty* fo_property_space_before_precedence_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-before.xml0000644000175000017500000000662611156164732017226 00000000000000 space-before 3 XMLROFF Library space-before Synopsis FoPropertySpaceBefore; FoPropertySpaceBeforeClass; FoProperty* fo_property_space_before_new (void); FoProperty* fo_property_space_before_get_initial (void); Description Details FoPropertySpaceBefore FoPropertySpaceBeforetypedef struct _FoPropertySpaceBefore FoPropertySpaceBefore; FoPropertySpaceBeforeClass FoPropertySpaceBeforeClasstypedef struct _FoPropertySpaceBeforeClass FoPropertySpaceBeforeClass; fo_property_space_before_new () fo_property_space_before_newFoProperty* fo_property_space_before_new (void); Creates a new FoPropertySpaceBefore initialized to default value. Returns : the new FoPropertySpaceBefore. fo_property_space_before_get_initial () fo_property_space_before_get_initialFoProperty* fo_property_space_before_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-end-conditionality.xml0000644000175000017500000000716111156164732021554 00000000000000 space-end.conditionality 3 XMLROFF Library space-end.conditionality Synopsis FoPropertySpaceEndCondity; FoPropertySpaceEndCondityClass; FoProperty* fo_property_space_end_condity_new (void); FoProperty* fo_property_space_end_condity_get_initial (void); Description Details FoPropertySpaceEndCondity FoPropertySpaceEndConditytypedef struct _FoPropertySpaceEndCondity FoPropertySpaceEndCondity; FoPropertySpaceEndCondityClass FoPropertySpaceEndCondityClasstypedef struct _FoPropertySpaceEndCondityClass FoPropertySpaceEndCondityClass; fo_property_space_end_condity_new () fo_property_space_end_condity_newFoProperty* fo_property_space_end_condity_new (void); Creates a new FoPropertySpaceEndCondity initialized to default value. Returns : the new FoPropertySpaceEndCondity. fo_property_space_end_condity_get_initial () fo_property_space_end_condity_get_initialFoProperty* fo_property_space_end_condity_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-end-maximum.xml0000644000175000017500000000710011156164732020171 00000000000000 space-end.maximum 3 XMLROFF Library space-end.maximum Synopsis FoPropertySpaceEndMaximum; FoPropertySpaceEndMaximumClass; FoProperty* fo_property_space_end_maximum_new (void); FoProperty* fo_property_space_end_maximum_get_initial (void); Description Details FoPropertySpaceEndMaximum FoPropertySpaceEndMaximumtypedef struct _FoPropertySpaceEndMaximum FoPropertySpaceEndMaximum; FoPropertySpaceEndMaximumClass FoPropertySpaceEndMaximumClasstypedef struct _FoPropertySpaceEndMaximumClass FoPropertySpaceEndMaximumClass; fo_property_space_end_maximum_new () fo_property_space_end_maximum_newFoProperty* fo_property_space_end_maximum_new (void); Creates a new FoPropertySpaceEndMaximum initialized to default value. Returns : the new FoPropertySpaceEndMaximum. fo_property_space_end_maximum_get_initial () fo_property_space_end_maximum_get_initialFoProperty* fo_property_space_end_maximum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-end-minimum.xml0000644000175000017500000000710011156164732020167 00000000000000 space-end.minimum 3 XMLROFF Library space-end.minimum Synopsis FoPropertySpaceEndMinimum; FoPropertySpaceEndMinimumClass; FoProperty* fo_property_space_end_minimum_new (void); FoProperty* fo_property_space_end_minimum_get_initial (void); Description Details FoPropertySpaceEndMinimum FoPropertySpaceEndMinimumtypedef struct _FoPropertySpaceEndMinimum FoPropertySpaceEndMinimum; FoPropertySpaceEndMinimumClass FoPropertySpaceEndMinimumClasstypedef struct _FoPropertySpaceEndMinimumClass FoPropertySpaceEndMinimumClass; fo_property_space_end_minimum_new () fo_property_space_end_minimum_newFoProperty* fo_property_space_end_minimum_new (void); Creates a new FoPropertySpaceEndMinimum initialized to default value. Returns : the new FoPropertySpaceEndMinimum. fo_property_space_end_minimum_get_initial () fo_property_space_end_minimum_get_initialFoProperty* fo_property_space_end_minimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-end-optimum.xml0000644000175000017500000000710011156164732020206 00000000000000 space-end.optimum 3 XMLROFF Library space-end.optimum Synopsis FoPropertySpaceEndOptimum; FoPropertySpaceEndOptimumClass; FoProperty* fo_property_space_end_optimum_new (void); FoProperty* fo_property_space_end_optimum_get_initial (void); Description Details FoPropertySpaceEndOptimum FoPropertySpaceEndOptimumtypedef struct _FoPropertySpaceEndOptimum FoPropertySpaceEndOptimum; FoPropertySpaceEndOptimumClass FoPropertySpaceEndOptimumClasstypedef struct _FoPropertySpaceEndOptimumClass FoPropertySpaceEndOptimumClass; fo_property_space_end_optimum_new () fo_property_space_end_optimum_newFoProperty* fo_property_space_end_optimum_new (void); Creates a new FoPropertySpaceEndOptimum initialized to default value. Returns : the new FoPropertySpaceEndOptimum. fo_property_space_end_optimum_get_initial () fo_property_space_end_optimum_get_initialFoProperty* fo_property_space_end_optimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-end-precedence.xml0000644000175000017500000000744711156164732020627 00000000000000 space-end.precedence 3 XMLROFF Library space-end.precedence Synopsis FoPropertySpaceEndPrecedence; FoPropertySpaceEndPrecedenceClass; FoProperty* fo_property_space_end_precedence_new (void); FoProperty* fo_property_space_end_precedence_get_initial (void); Description Details FoPropertySpaceEndPrecedence FoPropertySpaceEndPrecedencetypedef struct _FoPropertySpaceEndPrecedence FoPropertySpaceEndPrecedence; FoPropertySpaceEndPrecedenceClass FoPropertySpaceEndPrecedenceClasstypedef struct _FoPropertySpaceEndPrecedenceClass FoPropertySpaceEndPrecedenceClass; fo_property_space_end_precedence_new () fo_property_space_end_precedence_newFoProperty* fo_property_space_end_precedence_new (void); Creates a new FoPropertySpaceEndPrecedence initialized to default value. Returns : the new FoPropertySpaceEndPrecedence. fo_property_space_end_precedence_get_initial () fo_property_space_end_precedence_get_initialFoProperty* fo_property_space_end_precedence_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-end.xml0000644000175000017500000000626511156164732016531 00000000000000 space-end 3 XMLROFF Library space-end Synopsis FoPropertySpaceEnd; FoPropertySpaceEndClass; FoProperty* fo_property_space_end_new (void); FoProperty* fo_property_space_end_get_initial (void); Description Details FoPropertySpaceEnd FoPropertySpaceEndtypedef struct _FoPropertySpaceEnd FoPropertySpaceEnd; FoPropertySpaceEndClass FoPropertySpaceEndClasstypedef struct _FoPropertySpaceEndClass FoPropertySpaceEndClass; fo_property_space_end_new () fo_property_space_end_newFoProperty* fo_property_space_end_new (void); Creates a new FoPropertySpaceEnd initialized to default value. Returns : the new FoPropertySpaceEnd. fo_property_space_end_get_initial () fo_property_space_end_get_initialFoProperty* fo_property_space_end_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-start-conditionality.xml0000644000175000017500000000727711156164732022153 00000000000000 space-start.conditionality 3 XMLROFF Library space-start.conditionality Synopsis FoPropertySpaceStartCondity; FoPropertySpaceStartCondityClass; FoProperty* fo_property_space_start_condity_new (void); FoProperty* fo_property_space_start_condity_get_initial (void); Description Details FoPropertySpaceStartCondity FoPropertySpaceStartConditytypedef struct _FoPropertySpaceStartCondity FoPropertySpaceStartCondity; FoPropertySpaceStartCondityClass FoPropertySpaceStartCondityClasstypedef struct _FoPropertySpaceStartCondityClass FoPropertySpaceStartCondityClass; fo_property_space_start_condity_new () fo_property_space_start_condity_newFoProperty* fo_property_space_start_condity_new (void); Creates a new FoPropertySpaceStartCondity initialized to default value. Returns : the new FoPropertySpaceStartCondity. fo_property_space_start_condity_get_initial () fo_property_space_start_condity_get_initialFoProperty* fo_property_space_start_condity_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-start-maximum.xml0000644000175000017500000000721611156164732020570 00000000000000 space-start.maximum 3 XMLROFF Library space-start.maximum Synopsis FoPropertySpaceStartMaximum; FoPropertySpaceStartMaximumClass; FoProperty* fo_property_space_start_maximum_new (void); FoProperty* fo_property_space_start_maximum_get_initial (void); Description Details FoPropertySpaceStartMaximum FoPropertySpaceStartMaximumtypedef struct _FoPropertySpaceStartMaximum FoPropertySpaceStartMaximum; FoPropertySpaceStartMaximumClass FoPropertySpaceStartMaximumClasstypedef struct _FoPropertySpaceStartMaximumClass FoPropertySpaceStartMaximumClass; fo_property_space_start_maximum_new () fo_property_space_start_maximum_newFoProperty* fo_property_space_start_maximum_new (void); Creates a new FoPropertySpaceStartMaximum initialized to default value. Returns : the new FoPropertySpaceStartMaximum. fo_property_space_start_maximum_get_initial () fo_property_space_start_maximum_get_initialFoProperty* fo_property_space_start_maximum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-start-minimum.xml0000644000175000017500000000721611156164732020566 00000000000000 space-start.minimum 3 XMLROFF Library space-start.minimum Synopsis FoPropertySpaceStartMinimum; FoPropertySpaceStartMinimumClass; FoProperty* fo_property_space_start_minimum_new (void); FoProperty* fo_property_space_start_minimum_get_initial (void); Description Details FoPropertySpaceStartMinimum FoPropertySpaceStartMinimumtypedef struct _FoPropertySpaceStartMinimum FoPropertySpaceStartMinimum; FoPropertySpaceStartMinimumClass FoPropertySpaceStartMinimumClasstypedef struct _FoPropertySpaceStartMinimumClass FoPropertySpaceStartMinimumClass; fo_property_space_start_minimum_new () fo_property_space_start_minimum_newFoProperty* fo_property_space_start_minimum_new (void); Creates a new FoPropertySpaceStartMinimum initialized to default value. Returns : the new FoPropertySpaceStartMinimum. fo_property_space_start_minimum_get_initial () fo_property_space_start_minimum_get_initialFoProperty* fo_property_space_start_minimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-start-optimum.xml0000644000175000017500000000721611156164732020605 00000000000000 space-start.optimum 3 XMLROFF Library space-start.optimum Synopsis FoPropertySpaceStartOptimum; FoPropertySpaceStartOptimumClass; FoProperty* fo_property_space_start_optimum_new (void); FoProperty* fo_property_space_start_optimum_get_initial (void); Description Details FoPropertySpaceStartOptimum FoPropertySpaceStartOptimumtypedef struct _FoPropertySpaceStartOptimum FoPropertySpaceStartOptimum; FoPropertySpaceStartOptimumClass FoPropertySpaceStartOptimumClasstypedef struct _FoPropertySpaceStartOptimumClass FoPropertySpaceStartOptimumClass; fo_property_space_start_optimum_new () fo_property_space_start_optimum_newFoProperty* fo_property_space_start_optimum_new (void); Creates a new FoPropertySpaceStartOptimum initialized to default value. Returns : the new FoPropertySpaceStartOptimum. fo_property_space_start_optimum_get_initial () fo_property_space_start_optimum_get_initialFoProperty* fo_property_space_start_optimum_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-start-precedence.xml0000644000175000017500000000757111156164732021214 00000000000000 space-start.precedence 3 XMLROFF Library space-start.precedence Synopsis FoPropertySpaceStartPrecedence; FoPropertySpaceStartPrecedenceClass; FoProperty* fo_property_space_start_precedence_new (void); FoProperty* fo_property_space_start_precedence_get_initial (void); Description Details FoPropertySpaceStartPrecedence FoPropertySpaceStartPrecedencetypedef struct _FoPropertySpaceStartPrecedence FoPropertySpaceStartPrecedence; FoPropertySpaceStartPrecedenceClass FoPropertySpaceStartPrecedenceClasstypedef struct _FoPropertySpaceStartPrecedenceClass FoPropertySpaceStartPrecedenceClass; fo_property_space_start_precedence_new () fo_property_space_start_precedence_newFoProperty* fo_property_space_start_precedence_new (void); Creates a new FoPropertySpaceStartPrecedence initialized to default value. Returns : the new FoPropertySpaceStartPrecedence. fo_property_space_start_precedence_get_initial () fo_property_space_start_precedence_get_initialFoProperty* fo_property_space_start_precedence_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-space-start.xml0000644000175000017500000000637711156164732017124 00000000000000 space-start 3 XMLROFF Library space-start Synopsis FoPropertySpaceStart; FoPropertySpaceStartClass; FoProperty* fo_property_space_start_new (void); FoProperty* fo_property_space_start_get_initial (void); Description Details FoPropertySpaceStart FoPropertySpaceStarttypedef struct _FoPropertySpaceStart FoPropertySpaceStart; FoPropertySpaceStartClass FoPropertySpaceStartClasstypedef struct _FoPropertySpaceStartClass FoPropertySpaceStartClass; fo_property_space_start_new () fo_property_space_start_newFoProperty* fo_property_space_start_new (void); Creates a new FoPropertySpaceStart initialized to default value. Returns : the new FoPropertySpaceStart. fo_property_space_start_get_initial () fo_property_space_start_get_initialFoProperty* fo_property_space_start_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-span.xml0000644000175000017500000000616611156164732015633 00000000000000 span 3 XMLROFF Library span Synopsis FoPropertySpan; FoPropertySpanClass; FoProperty* fo_property_span_new (void); FoProperty* fo_property_span_get_initial (void); Description Details FoPropertySpan FoPropertySpantypedef struct _FoPropertySpan FoPropertySpan; Instance of the 'span' property. FoPropertySpanClass FoPropertySpanClasstypedef struct _FoPropertySpanClass FoPropertySpanClass; Class structure for the 'span' property. fo_property_span_new () fo_property_span_newFoProperty* fo_property_span_new (void); Creates a new FoPropertySpan initialized to default value. Returns : the new FoPropertySpan. fo_property_span_get_initial () fo_property_span_get_initialFoProperty* fo_property_span_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-src.xml0000644000175000017500000000575311156164732015462 00000000000000 src 3 XMLROFF Library src Synopsis FoPropertySrc; FoPropertySrcClass; FoProperty* fo_property_src_new (void); FoProperty* fo_property_src_get_initial (void); Description Details FoPropertySrc FoPropertySrctypedef struct _FoPropertySrc FoPropertySrc; FoPropertySrcClass FoPropertySrcClasstypedef struct _FoPropertySrcClass FoPropertySrcClass; fo_property_src_new () fo_property_src_newFoProperty* fo_property_src_new (void); Creates a new FoPropertySrc initialized to default value. Returns : the new FoPropertySrc. fo_property_src_get_initial () fo_property_src_get_initialFoProperty* fo_property_src_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-start-indent.xml0000644000175000017500000000662611156164732017307 00000000000000 start-indent 3 XMLROFF Library start-indent Synopsis FoPropertyStartIndent; FoPropertyStartIndentClass; FoProperty* fo_property_start_indent_new (void); FoProperty* fo_property_start_indent_get_initial (void); Description Details FoPropertyStartIndent FoPropertyStartIndenttypedef struct _FoPropertyStartIndent FoPropertyStartIndent; FoPropertyStartIndentClass FoPropertyStartIndentClasstypedef struct _FoPropertyStartIndentClass FoPropertyStartIndentClass; fo_property_start_indent_new () fo_property_start_indent_newFoProperty* fo_property_start_indent_new (void); Creates a new FoPropertyStartIndent initialized to default value. Returns : the new FoPropertyStartIndent. fo_property_start_indent_get_initial () fo_property_start_indent_get_initialFoProperty* fo_property_start_indent_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-table-layout.xml0000644000175000017500000000662611156164732017275 00000000000000 table-layout 3 XMLROFF Library table-layout Synopsis FoPropertyTableLayout; FoPropertyTableLayoutClass; FoProperty* fo_property_table_layout_new (void); FoProperty* fo_property_table_layout_get_initial (void); Description Details FoPropertyTableLayout FoPropertyTableLayouttypedef struct _FoPropertyTableLayout FoPropertyTableLayout; FoPropertyTableLayoutClass FoPropertyTableLayoutClasstypedef struct _FoPropertyTableLayoutClass FoPropertyTableLayoutClass; fo_property_table_layout_new () fo_property_table_layout_newFoProperty* fo_property_table_layout_new (void); Creates a new FoPropertyTableLayout initialized to default value. Returns : the new FoPropertyTableLayout. fo_property_table_layout_get_initial () fo_property_table_layout_get_initialFoProperty* fo_property_table_layout_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-text-align.xml0000644000175000017500000000633211156164732016741 00000000000000 text-align 3 XMLROFF Library text-align Synopsis FoPropertyTextAlign; FoPropertyTextAlignClass; FoProperty* fo_property_text_align_new (void); FoProperty* fo_property_text_align_get_initial (void); Description Details FoPropertyTextAlign FoPropertyTextAligntypedef struct _FoPropertyTextAlign FoPropertyTextAlign; FoPropertyTextAlignClass FoPropertyTextAlignClasstypedef struct _FoPropertyTextAlignClass FoPropertyTextAlignClass; fo_property_text_align_new () fo_property_text_align_newFoProperty* fo_property_text_align_new (void); Creates a new FoPropertyTextAlign initialized to default value. Returns : the new FoPropertyTextAlign. fo_property_text_align_get_initial () fo_property_text_align_get_initialFoProperty* fo_property_text_align_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-text-indent.xml0000644000175000017500000000637711156164732017141 00000000000000 text-indent 3 XMLROFF Library text-indent Synopsis FoPropertyTextIndent; FoPropertyTextIndentClass; FoProperty* fo_property_text_indent_new (void); FoProperty* fo_property_text_indent_get_initial (void); Description Details FoPropertyTextIndent FoPropertyTextIndenttypedef struct _FoPropertyTextIndent FoPropertyTextIndent; FoPropertyTextIndentClass FoPropertyTextIndentClasstypedef struct _FoPropertyTextIndentClass FoPropertyTextIndentClass; fo_property_text_indent_new () fo_property_text_indent_newFoProperty* fo_property_text_indent_new (void); Creates a new FoPropertyTextIndent initialized to default value. Returns : the new FoPropertyTextIndent. fo_property_text_indent_get_initial () fo_property_text_indent_get_initialFoProperty* fo_property_text_indent_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-text-property.xml0000644000175000017500000001424511156164732017535 00000000000000 FoPropertyTextPropertyIface 3 XMLROFF Library FoPropertyTextPropertyIface Synopsis #define FO_PROPERTY_TEXT_PROPERTY_IFACE (obj) FoPropertyTextProperty; FoPropertyTextPropertyIface; PangoAttribute* fo_property_text_property_new_attr (FoProperty *property); PangoAttribute* fo_property_text_property_new_attr_from_context (FoProperty *property, FoContext *context); Object Hierarchy GInterface +----FoPropertyTextPropertyIface Prerequisites FoPropertyTextPropertyIface requires FoProperty. Description Details FO_PROPERTY_TEXT_PROPERTY_IFACE() FO_PROPERTY_TEXT_PROPERTY_IFACE#define FO_PROPERTY_TEXT_PROPERTY_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_PROPERTY_TEXT_PROPERTY, FoPropertyTextPropertyIface)) obj : FoPropertyTextProperty FoPropertyTextPropertytypedef struct _FoPropertyTextProperty FoPropertyTextProperty; FoPropertyTextPropertyIface FoPropertyTextPropertyIfacetypedef struct _FoPropertyTextPropertyIface FoPropertyTextPropertyIface; fo_property_text_property_new_attr () fo_property_text_property_new_attrPangoAttribute* fo_property_text_property_new_attr (FoProperty *property); Makes a new PangoAttribute representing the value of property. property : FoProperty from which to create a PangoAttribute. Returns : New PangoAttribute for property. fo_property_text_property_new_attr_from_context () fo_property_text_property_new_attr_from_contextPangoAttribute* fo_property_text_property_new_attr_from_context (FoProperty *property, FoContext *context); Makes a new PangoAttribute representing the value of property. property : FoProperty from which to create a PangoAttribute. context : FoContext from which to take additional property values. Returns : New PangoAttribute for property. xmlroff-0.6.2/docs/xml/fo-property-type-condity.xml0000644000175000017500000000322311156164732017311 00000000000000 FoPropertyTypeCondity 3 XMLROFF Library FoPropertyTypeCondity Synopsis FoPropertyTypeCondity; FoPropertyTypeCondityClass; Description Details FoPropertyTypeCondity FoPropertyTypeConditytypedef struct _FoPropertyTypeCondity FoPropertyTypeCondity; FoPropertyTypeCondityClass FoPropertyTypeCondityClasstypedef struct _FoPropertyTypeCondityClass FoPropertyTypeCondityClass; xmlroff-0.6.2/docs/xml/fo-property-unicode-bidi.xml0000644000175000017500000000662611156164732017226 00000000000000 unicode-bidi 3 XMLROFF Library unicode-bidi Synopsis FoPropertyUnicodeBidi; FoPropertyUnicodeBidiClass; FoProperty* fo_property_unicode_bidi_new (void); FoProperty* fo_property_unicode_bidi_get_initial (void); Description Details FoPropertyUnicodeBidi FoPropertyUnicodeBiditypedef struct _FoPropertyUnicodeBidi FoPropertyUnicodeBidi; FoPropertyUnicodeBidiClass FoPropertyUnicodeBidiClasstypedef struct _FoPropertyUnicodeBidiClass FoPropertyUnicodeBidiClass; fo_property_unicode_bidi_new () fo_property_unicode_bidi_newFoProperty* fo_property_unicode_bidi_new (void); Creates a new FoPropertyUnicodeBidi initialized to default value. Returns : the new FoPropertyUnicodeBidi. fo_property_unicode_bidi_get_initial () fo_property_unicode_bidi_get_initialFoProperty* fo_property_unicode_bidi_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-util.xml0000644000175000017500000011765011156164733015651 00000000000000 fo-property-util 3 XMLROFF Library fo-property-util Synopsis FoDatatype* fo_property_util_get_color_initial (void); FoDatatype* fo_property_util_get_style_initial (void); FoDatatype* fo_property_util_get_width_initial (void); FoDatatype* fo_property_util_resolve_auto_always_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_auto_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_color_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_color_transparent_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_condity_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_force_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_ipdim_percent (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_no_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_style_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_width_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_resolve_wsc_enum (const gchar *token, FoContext *context, GError **error); FoDatatype* fo_property_util_validate_color (FoDatatype *datatype, FoContext *context, GError **error); FoDatatype* fo_property_util_validate_color_transparent (FoDatatype *datatype, FoContext *context, GError **error); FoDatatype* fo_property_util_validate_style (FoDatatype *datatype, FoContext *context, GError **error); FoDatatype* fo_property_util_validate_width (FoDatatype *datatype, FoContext *context, GError **error); FoDatatype* fo_property_util_validate_wsc (FoDatatype *datatype, FoContext *context, GError **error); Description Details fo_property_util_get_color_initial () fo_property_util_get_color_initialFoDatatype* fo_property_util_get_color_initial (void); Get the initial color value for borders. Returns : FoDatatype for initial border color. fo_property_util_get_style_initial () fo_property_util_get_style_initialFoDatatype* fo_property_util_get_style_initial (void); Get the initial style value for borders. Returns : FoDatatype for initial border style. fo_property_util_get_width_initial () fo_property_util_get_width_initialFoDatatype* fo_property_util_get_width_initial (void); Get the initial width value for borders. Returns : FoDatatype for initial border width. fo_property_util_resolve_auto_always_enum () fo_property_util_resolve_auto_always_enumFoDatatype* fo_property_util_resolve_auto_always_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL. token : Token from the XML attribute value to be evaluated as an enumeration token. context : FoContext object from which to possibly inherit values. error : Information about any error that has occurred. Returns : Resolved enumeration value or NULL. fo_property_util_resolve_auto_enum () fo_property_util_resolve_auto_enumFoDatatype* fo_property_util_resolve_auto_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL. token : Token from the XML attribute value to be evaluated as an enumeration token. context : FoContext object from which to possibly inherit values. error : Information about any error that has occurred. Returns : Resolved enumeration value or NULL. fo_property_util_resolve_color_enum () fo_property_util_resolve_color_enumFoDatatype* fo_property_util_resolve_color_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL. token : Token from the XML attribute value to be evaluated as an enumeration token. context : FoContext object from which to possibly inherit values. error : Information about any error that has occurred. Returns : Resolved enumeration value or NULL. fo_property_util_resolve_color_transparent_enum () fo_property_util_resolve_color_transparent_enumFoDatatype* fo_property_util_resolve_color_transparent_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL. token : Token from the XML attribute value to be evaluated as an enumeration token. context : FoContext object from which to possibly inherit values. error : Information about any error that has occurred. Returns : Resolved enumeration value or NULL. fo_property_util_resolve_condity_enum () fo_property_util_resolve_condity_enumFoDatatype* fo_property_util_resolve_condity_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL. token : Token from the XML attribute value to be evaluated as an enumeration token. context : FoContext object from which to possibly inherit values. error : Information about any error that has occurred. Returns : Resolved enumeration value or NULL. fo_property_util_resolve_force_enum () fo_property_util_resolve_force_enumFoDatatype* fo_property_util_resolve_force_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL. token : Token from the XML attribute value to be evaluated as an enumeration token. context : FoContext object from which to possibly inherit values. error : Information about any error that has occurred. Returns : Resolved enumeration value or NULL. fo_property_util_resolve_ipdim_percent () fo_property_util_resolve_ipdim_percentFoDatatype* fo_property_util_resolve_ipdim_percent (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **error); Resolves percentage as a percentage of a known value which, depending on the property, could be the current font-size value or some property value of the current FoFo or its first FoArea. percentage : Percentage value to resolve. font_size : Font size to use if a percentage of font-size. fo_node : Current FoFo. context : FoContext of parent FoFo. error : Indicates whether an error occurs. Returns : FoDatatype representing resolved value. fo_property_util_resolve_no_enum () fo_property_util_resolve_no_enumFoDatatype* fo_property_util_resolve_no_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL. token : Token from the XML attribute value to be evaluated as an enumeration token. context : FoContext object from which to possibly inherit values. error : Information about any error that has occurred. Returns : Resolved enumeration value or NULL. fo_property_util_resolve_style_enum () fo_property_util_resolve_style_enumFoDatatype* fo_property_util_resolve_style_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL token : Token from the XML attribute value to be evaluated as an enumeration token context : FoContext object from which to possibly inherit values error : Information about an error that has occurred Returns : Resolved enumeration value or NULL fo_property_util_resolve_width_enum () fo_property_util_resolve_width_enumFoDatatype* fo_property_util_resolve_width_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL token : Token from the XML attribute value to be evaluated as an enumeration token context : FoContext object from which to possibly inherit values error : Information about an error that has occurred Returns : Resolved enumeration value or NULL fo_property_util_resolve_wsc_enum () fo_property_util_resolve_wsc_enumFoDatatype* fo_property_util_resolve_wsc_enum (const gchar *token, FoContext *context, GError **error); Compare token against the enumeration tokens that are valid for the current FO property. If token is valid, returns either an FoEnum datatype representing the enumeration token or a different datatype representing the enumeration token's resolved value. If token is not valid, sets error and returns NULL token : Token from the XML attribute value to be evaluated as an enumeration token context : FoContext object from which to possibly inherit values error : Information about an error that has occurred Returns : Resolved enumeration value or NULL fo_property_util_validate_color () fo_property_util_validate_colorFoDatatype* fo_property_util_validate_color (FoDatatype *datatype, FoContext *context, GError **error); Validates datatype against allowed values. Returns datatype, a replacement datatype value, or NULL if validation failed datatype : FoDatatype to be validated against allowed datatypes and values for current property context : FoContext object from which to possibly inherit values error : Information about any error that has occurred Returns : Valid datatype value or NULL fo_property_util_validate_color_transparent () fo_property_util_validate_color_transparentFoDatatype* fo_property_util_validate_color_transparent (FoDatatype *datatype, FoContext *context, GError **error); Validates datatype against allowed values. Returns datatype, a replacement datatype value, or NULL if validation failed. datatype : FoDatatype to be validated against allowed datatypes and values for current property. context : FoContext object from which to possibly inherit values. error : Information about any error that has occurred. Returns : Valid datatype value or NULL. fo_property_util_validate_style () fo_property_util_validate_styleFoDatatype* fo_property_util_validate_style (FoDatatype *datatype, FoContext *context, GError **error); Validates datatype against allowed values. Returns datatype, a replacement datatype value, or NULL if validation failed datatype : FoDatatype to be validated against allowed datatypes and values for current property context : FoContext object from which to possibly inherit values error : Information about an error that has occurred Returns : Valid datatype value or NULL fo_property_util_validate_width () fo_property_util_validate_widthFoDatatype* fo_property_util_validate_width (FoDatatype *datatype, FoContext *context, GError **error); Validates datatype against allowed values. Returns datatype, a replacement datatype value, or NULL if validation failed. datatype : FoDatatype to be validated against allowed datatypes and values for current property. context : FoContext object from which to possibly inherit values. error : Information about any error that has occurred. Returns : Valid datatype value or NULL. fo_property_util_validate_wsc () fo_property_util_validate_wscFoDatatype* fo_property_util_validate_wsc (FoDatatype *datatype, FoContext *context, GError **error); Validates datatype against allowed values. Returns datatype, a replacement datatype value, or NULL if validation failed datatype : FoDatatype to be validated against allowed datatypes and values for current property context : FoContext object from which to possibly inherit values error : Information about an error that has occurred Returns : Valid datatype value or NULL xmlroff-0.6.2/docs/xml/fo-property-white-space-collapse.xml0000644000175000017500000000766211156164733020706 00000000000000 white-space-collapse 3 XMLROFF Library white-space-collapse Synopsis FoPropertyWhiteSpaceCollapse; FoPropertyWhiteSpaceCollapseClass; FoProperty* fo_property_white_space_collapse_new (void); FoProperty* fo_property_white_space_collapse_get_initial (void); Description Details FoPropertyWhiteSpaceCollapse FoPropertyWhiteSpaceCollapsetypedef struct _FoPropertyWhiteSpaceCollapse FoPropertyWhiteSpaceCollapse; Instance of the 'white-space-collapse' property. FoPropertyWhiteSpaceCollapseClass FoPropertyWhiteSpaceCollapseClasstypedef struct _FoPropertyWhiteSpaceCollapseClass FoPropertyWhiteSpaceCollapseClass; Class structure for the 'white-space-collapse' property. fo_property_white_space_collapse_new () fo_property_white_space_collapse_newFoProperty* fo_property_white_space_collapse_new (void); Creates a new FoPropertyWhiteSpaceCollapse initialized to default value. Returns : the new FoPropertyWhiteSpaceCollapse. fo_property_white_space_collapse_get_initial () fo_property_white_space_collapse_get_initialFoProperty* fo_property_white_space_collapse_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-white-space-treatment.xml0000644000175000017500000000773511156164733021110 00000000000000 white-space-treatment 3 XMLROFF Library white-space-treatment Synopsis FoPropertyWhiteSpaceTreatment; FoPropertyWhiteSpaceTreatmentClass; FoProperty* fo_property_white_space_treatment_new (void); FoProperty* fo_property_white_space_treatment_get_initial (void); Description Details FoPropertyWhiteSpaceTreatment FoPropertyWhiteSpaceTreatmenttypedef struct _FoPropertyWhiteSpaceTreatment FoPropertyWhiteSpaceTreatment; Instance of the 'white-space-treatment' property. FoPropertyWhiteSpaceTreatmentClass FoPropertyWhiteSpaceTreatmentClasstypedef struct _FoPropertyWhiteSpaceTreatmentClass FoPropertyWhiteSpaceTreatmentClass; Class structure for the 'white-space-treatment' property. fo_property_white_space_treatment_new () fo_property_white_space_treatment_newFoProperty* fo_property_white_space_treatment_new (void); Creates a new FoPropertyWhiteSpaceTreatment initialized to default value. Returns : the new FoPropertyWhiteSpaceTreatment. fo_property_white_space_treatment_get_initial () fo_property_white_space_treatment_get_initialFoProperty* fo_property_white_space_treatment_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-widows.xml0000644000175000017500000000613211156164733016200 00000000000000 widows 3 XMLROFF Library widows Synopsis FoPropertyWidows; FoPropertyWidowsClass; FoProperty* fo_property_widows_new (void); FoProperty* fo_property_widows_get_initial (void); Description Details FoPropertyWidows FoPropertyWidowstypedef struct _FoPropertyWidows FoPropertyWidows; FoPropertyWidowsClass FoPropertyWidowsClasstypedef struct _FoPropertyWidowsClass FoPropertyWidowsClass; fo_property_widows_new () fo_property_widows_newFoProperty* fo_property_widows_new (void); Creates a new FoPropertyWidows initialized to default value. Returns : the new FoPropertyWidows. fo_property_widows_get_initial () fo_property_widows_get_initialFoProperty* fo_property_widows_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-width.xml0000644000175000017500000000606511156164733016010 00000000000000 width 3 XMLROFF Library width Synopsis FoPropertyWidth; FoPropertyWidthClass; FoProperty* fo_property_width_new (void); FoProperty* fo_property_width_get_initial (void); Description Details FoPropertyWidth FoPropertyWidthtypedef struct _FoPropertyWidth FoPropertyWidth; FoPropertyWidthClass FoPropertyWidthClasstypedef struct _FoPropertyWidthClass FoPropertyWidthClass; fo_property_width_new () fo_property_width_newFoProperty* fo_property_width_new (void); Creates a new FoPropertyWidth initialized to default value. Returns : the new FoPropertyWidth. fo_property_width_get_initial () fo_property_width_get_initialFoProperty* fo_property_width_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-wrap-option.xml0000644000175000017500000000656311156164733017153 00000000000000 wrap-option 3 XMLROFF Library wrap-option Synopsis FoPropertyWrapOption; FoPropertyWrapOptionClass; FoProperty* fo_property_wrap_option_new (void); FoProperty* fo_property_wrap_option_get_initial (void); Description Details FoPropertyWrapOption FoPropertyWrapOptiontypedef struct _FoPropertyWrapOption FoPropertyWrapOption; Instance of the 'wrap-option' property. FoPropertyWrapOptionClass FoPropertyWrapOptionClasstypedef struct _FoPropertyWrapOptionClass FoPropertyWrapOptionClass; Class structure for the 'wrap-option' property. fo_property_wrap_option_new () fo_property_wrap_option_newFoProperty* fo_property_wrap_option_new (void); Creates a new FoPropertyWrapOption initialized to default value. Returns : the new FoPropertyWrapOption. fo_property_wrap_option_get_initial () fo_property_wrap_option_get_initialFoProperty* fo_property_wrap_option_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. xmlroff-0.6.2/docs/xml/fo-property-writing-mode.xml0000644000175000017500000002031311156164733017266 00000000000000 writing-mode 3 XMLROFF Library writing-mode Synopsis FoPropertyWritingMode; FoPropertyWritingModeClass; FoProperty* fo_property_writing_mode_new (void); FoProperty* fo_property_writing_mode_get_initial (void); FoEnumAreaDirection fo_property_writing_mode_to_bpd (FoProperty *writing_mode, GError **error); FoEnumAreaDirection fo_property_writing_mode_to_ipd (FoProperty *writing_mode, GError **error); FoEnumAreaDirection fo_property_writing_mode_to_sd (FoProperty *writing_mode, GError **error); Description Details FoPropertyWritingMode FoPropertyWritingModetypedef struct _FoPropertyWritingMode FoPropertyWritingMode; FoPropertyWritingModeClass FoPropertyWritingModeClasstypedef struct _FoPropertyWritingModeClass FoPropertyWritingModeClass; fo_property_writing_mode_new () fo_property_writing_mode_newFoProperty* fo_property_writing_mode_new (void); Creates a new FoPropertyWritingMode initialized to default value. Returns : the new FoPropertyWritingMode. fo_property_writing_mode_get_initial () fo_property_writing_mode_get_initialFoProperty* fo_property_writing_mode_get_initial (void); Get an instance of the property with the correct initial value. Returns : An instance of the property. fo_property_writing_mode_to_bpd () fo_property_writing_mode_to_bpdFoEnumAreaDirection fo_property_writing_mode_to_bpd (FoProperty *writing_mode, GError **error); Determine the block-progression-direction for the current value of writing_mode writing_mode : FoPropertyWritingMode error : GError Returns : FoEnumAreaDirection indicating block-progression-direction fo_property_writing_mode_to_ipd () fo_property_writing_mode_to_ipdFoEnumAreaDirection fo_property_writing_mode_to_ipd (FoProperty *writing_mode, GError **error); Determine the inline-progression-direction for the current value of writing_mode writing_mode : FoPropertyWritingMode error : GError Returns : FoEnumAreaDirection indicating inline-progression-direction fo_property_writing_mode_to_sd () fo_property_writing_mode_to_sdFoEnumAreaDirection fo_property_writing_mode_to_sd (FoProperty *writing_mode, GError **error); Determine the shift-direction for the current value of writing_mode writing_mode : FoPropertyWritingMode error : GError Returns : FoEnumAreaDirection indicating shift-direction xmlroff-0.6.2/docs/xml/fo-property.xml0000644000175000017500000004744311156164733014700 00000000000000 FoProperty 3 XMLROFF Library FoProperty Abstract FO property type Synopsis FoProperty; FoPropertyClass; #define FO_PROPERTY_ERROR GQuark fo_property_error_quark (void); enum FoPropertyError; FoProperty* fo_property_new_from_expr (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error); FoDatatype* fo_property_get_value (FoProperty *property); void fo_property_set_value (FoProperty *property, FoDatatype *new_value); gboolean fo_property_class_is_inherited (FoPropertyClass *property_class); gboolean fo_property_is_inherited (FoProperty *property); gboolean fo_property_class_is_shorthand (FoPropertyClass *property_class); gboolean fo_property_is_shorthand (FoProperty *property); FoDatatype* (*FoResolveEnumFunc) (const gchar *token, FoContext *context, GError **err); FoDatatype* (*FoResolvePercentFunc) (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **err); Object Hierarchy GObject +----FoObject +----FoProperty +----FoPropertyBorderLeftWidth Known Derived Interfaces FoProperty is required by FoPropertyTextPropertyIface. Properties "is-inherited" gboolean : Read "is-shorthand" gboolean : Read "value" FoDatatype* : Read / Write Description Every property is a subtype of FoProperty. Details FoProperty FoPropertytypedef struct _FoProperty FoProperty; FoPropertyClass FoPropertyClasstypedef struct _FoPropertyClass FoPropertyClass; FO_PROPERTY_ERROR FO_PROPERTY_ERROR#define FO_PROPERTY_ERROR fo_property_error_quark () fo_property_error_quark () fo_property_error_quarkGQuark fo_property_error_quark (void); Returns : enum FoPropertyError FoPropertyErrortypedef enum { FO_PROPERTY_ERROR_FAILED, FO_PROPERTY_ERROR_EXPRESSION, FO_PROPERTY_ERROR_NO_ENUMERATION, FO_PROPERTY_ERROR_ILLEGAL_NEGATIVE, FO_PROPERTY_ERROR_ZERO_LENGTH, FO_PROPERTY_ERROR_LAST } FoPropertyError; fo_property_new_from_expr () fo_property_new_from_exprFoProperty* fo_property_new_from_expr (FoPropertyClass *property_class, const gchar *expr, FoContext *context, FoProperty *current_font_size, FoFo *fo_node, GError **error); Evaluates expr as a value of an instance of property_class. The other parameters provide the context for evaluating expr. property_class : Class of property for which to evaluate expression. expr : Expression to evaluate. context : Current FoContext. current_font_size : Current "font-size" value fo_node : Current FO error : Indication of any error that occurred Returns : New instance of property_class, or NULL if an error ocurred. fo_property_get_value () fo_property_get_valueFoDatatype* fo_property_get_value (FoProperty *property); Returns the current value property value of property. property : FoProperty object whose value is to be retrieved. Returns : The current 'value' property value. fo_property_set_value () fo_property_set_valuevoid fo_property_set_value (FoProperty *property, FoDatatype *new_value); Sets the 'value' property of property. property : FoProperty object whose value is to be set. new_value : New value for the property. fo_property_class_is_inherited () fo_property_class_is_inheritedgboolean fo_property_class_is_inherited (FoPropertyClass *property_class); Indicates whether the XSL property represented by property_class is defined in the XSL 1.0 Recommendation as an inherited property. property_class : FoPropertyClass or a subclass of FoPropertyClass. Returns : TRUE if property_class is inherited, FALSE if not. fo_property_is_inherited () fo_property_is_inheritedgboolean fo_property_is_inherited (FoProperty *property); Indicates whether the XSL property represented by property is defined in the XSL 1.0 Recommendation as an inherited property. property : FoProperty or subclass of FoProperty Returns : TRUE if property is inherited, FALSE otherwise fo_property_class_is_shorthand () fo_property_class_is_shorthandgboolean fo_property_class_is_shorthand (FoPropertyClass *property_class); Indicates whether the XSL property represented by property_class is defined in the XSL 1.0 Recommendation as a shorthand property. property_class : FoPropertyClass or a subclass of FoPropertyClass. Returns : TRUE if property_class is a shorthand, FALSE if not. fo_property_is_shorthand () fo_property_is_shorthandgboolean fo_property_is_shorthand (FoProperty *property); Indicates whether the XSL property represented by property is defined in the XSL 1.0 Recommendation as a shorthand property. property : FoProperty or a subclass of FoProperty. Returns : TRUE if property is a shorthand, FALSE otherwise FoResolveEnumFunc () FoResolveEnumFuncFoDatatype* (*FoResolveEnumFunc) (const gchar *token, FoContext *context, GError **err); token : context : err : Returns : FoResolvePercentFunc () FoResolvePercentFuncFoDatatype* (*FoResolvePercentFunc) (gdouble percentage, const FoDatatype *font_size, const FoFo *fo_node, const FoContext *context, GError **err); percentage : font_size : fo_node : context : err : Returns : Property Details The <literal>"is-inherited"</literal> property FoProperty:is-inherited "is-inherited" gboolean : Read Is this an inherited property?.Default value: TRUE The <literal>"is-shorthand"</literal> property FoProperty:is-shorthand "is-shorthand" gboolean : Read Is this a shorthand property?.Default value: TRUE The <literal>"value"</literal> property FoProperty:value "value" FoDatatype* : Read / Write Property value. xmlroff-0.6.2/docs/xml/fo-region-after.xml0000644000175000017500000037740311156164733015400 00000000000000 region-after 3 XMLROFF Library region-after Synopsis FoRegionAfter; FoRegionAfterClass; FoFo* fo_region_after_new (void); FoProperty* fo_region_after_get_background_color (FoFo *fo_fo); void fo_region_after_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_region_after_get_background_image (FoFo *fo_fo); void fo_region_after_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_region_after_get_border_after_color (FoFo *fo_fo); void fo_region_after_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_region_after_get_border_after_style (FoFo *fo_fo); void fo_region_after_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_region_after_get_border_after_width (FoFo *fo_fo); void fo_region_after_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_region_after_get_border_before_color (FoFo *fo_fo); void fo_region_after_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_region_after_get_border_before_style (FoFo *fo_fo); void fo_region_after_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_region_after_get_border_before_width (FoFo *fo_fo); void fo_region_after_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_region_after_get_border_bottom_color (FoFo *fo_fo); void fo_region_after_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_region_after_get_border_bottom_style (FoFo *fo_fo); void fo_region_after_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_region_after_get_border_bottom_width (FoFo *fo_fo); void fo_region_after_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_region_after_get_border_end_color (FoFo *fo_fo); void fo_region_after_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_region_after_get_border_end_style (FoFo *fo_fo); void fo_region_after_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_region_after_get_border_end_width (FoFo *fo_fo); void fo_region_after_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_region_after_get_border_left_color (FoFo *fo_fo); void fo_region_after_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_region_after_get_border_left_style (FoFo *fo_fo); void fo_region_after_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_region_after_get_border_left_width (FoFo *fo_fo); void fo_region_after_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_region_after_get_border_right_color (FoFo *fo_fo); void fo_region_after_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_region_after_get_border_right_style (FoFo *fo_fo); void fo_region_after_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_region_after_get_border_right_width (FoFo *fo_fo); void fo_region_after_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_region_after_get_border_start_color (FoFo *fo_fo); void fo_region_after_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_region_after_get_border_start_style (FoFo *fo_fo); void fo_region_after_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_region_after_get_border_start_width (FoFo *fo_fo); void fo_region_after_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_region_after_get_border_top_color (FoFo *fo_fo); void fo_region_after_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_region_after_get_border_top_style (FoFo *fo_fo); void fo_region_after_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_region_after_get_border_top_width (FoFo *fo_fo); void fo_region_after_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_region_after_get_clip (FoFo *fo_fo); void fo_region_after_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_region_after_get_display_align (FoFo *fo_fo); void fo_region_after_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_region_after_get_extent (FoFo *fo_fo); void fo_region_after_set_extent (FoFo *fo_fo, FoProperty *new_extent); FoProperty* fo_region_after_get_overflow (FoFo *fo_fo); void fo_region_after_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_region_after_get_padding_after (FoFo *fo_fo); void fo_region_after_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_region_after_get_padding_before (FoFo *fo_fo); void fo_region_after_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_region_after_get_padding_bottom (FoFo *fo_fo); void fo_region_after_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_region_after_get_padding_end (FoFo *fo_fo); void fo_region_after_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_region_after_get_padding_left (FoFo *fo_fo); void fo_region_after_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_region_after_get_padding_right (FoFo *fo_fo); void fo_region_after_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_region_after_get_padding_start (FoFo *fo_fo); void fo_region_after_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_region_after_get_padding_top (FoFo *fo_fo); void fo_region_after_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_region_after_get_region_name (FoFo *fo_fo); void fo_region_after_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty* fo_region_after_get_writing_mode (FoFo *fo_fo); void fo_region_after_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoRegionAfter Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "clip" FoProperty* : Read "display-align" FoProperty* : Read "extent" FoProperty* : Read "overflow" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "region-name" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details FoRegionAfter FoRegionAftertypedef struct _FoRegionAfter FoRegionAfter; Instance of the 'region-after' formatting object. FoRegionAfterClass FoRegionAfterClasstypedef struct _FoRegionAfterClass FoRegionAfterClass; Class structure for the 'region-after' formatting object. fo_region_after_new () fo_region_after_newFoFo* fo_region_after_new (void); Creates a new FoRegionAfter initialized to default value. Returns : the new FoRegionAfter. fo_region_after_get_background_color () fo_region_after_get_background_colorFoProperty* fo_region_after_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_region_after_set_background_color () fo_region_after_set_background_colorvoid fo_region_after_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_region_after_get_background_image () fo_region_after_get_background_imageFoProperty* fo_region_after_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_region_after_set_background_image () fo_region_after_set_background_imagevoid fo_region_after_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_region_after_get_border_after_color () fo_region_after_get_border_after_colorFoProperty* fo_region_after_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_region_after_set_border_after_color () fo_region_after_set_border_after_colorvoid fo_region_after_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_region_after_get_border_after_style () fo_region_after_get_border_after_styleFoProperty* fo_region_after_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_region_after_set_border_after_style () fo_region_after_set_border_after_stylevoid fo_region_after_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_region_after_get_border_after_width () fo_region_after_get_border_after_widthFoProperty* fo_region_after_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_region_after_set_border_after_width () fo_region_after_set_border_after_widthvoid fo_region_after_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_region_after_get_border_before_color () fo_region_after_get_border_before_colorFoProperty* fo_region_after_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_region_after_set_border_before_color () fo_region_after_set_border_before_colorvoid fo_region_after_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_region_after_get_border_before_style () fo_region_after_get_border_before_styleFoProperty* fo_region_after_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_region_after_set_border_before_style () fo_region_after_set_border_before_stylevoid fo_region_after_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_region_after_get_border_before_width () fo_region_after_get_border_before_widthFoProperty* fo_region_after_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_region_after_set_border_before_width () fo_region_after_set_border_before_widthvoid fo_region_after_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_region_after_get_border_bottom_color () fo_region_after_get_border_bottom_colorFoProperty* fo_region_after_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_region_after_set_border_bottom_color () fo_region_after_set_border_bottom_colorvoid fo_region_after_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_region_after_get_border_bottom_style () fo_region_after_get_border_bottom_styleFoProperty* fo_region_after_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_region_after_set_border_bottom_style () fo_region_after_set_border_bottom_stylevoid fo_region_after_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_region_after_get_border_bottom_width () fo_region_after_get_border_bottom_widthFoProperty* fo_region_after_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_region_after_set_border_bottom_width () fo_region_after_set_border_bottom_widthvoid fo_region_after_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_region_after_get_border_end_color () fo_region_after_get_border_end_colorFoProperty* fo_region_after_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_region_after_set_border_end_color () fo_region_after_set_border_end_colorvoid fo_region_after_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_region_after_get_border_end_style () fo_region_after_get_border_end_styleFoProperty* fo_region_after_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_region_after_set_border_end_style () fo_region_after_set_border_end_stylevoid fo_region_after_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_region_after_get_border_end_width () fo_region_after_get_border_end_widthFoProperty* fo_region_after_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_region_after_set_border_end_width () fo_region_after_set_border_end_widthvoid fo_region_after_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_region_after_get_border_left_color () fo_region_after_get_border_left_colorFoProperty* fo_region_after_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_region_after_set_border_left_color () fo_region_after_set_border_left_colorvoid fo_region_after_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_region_after_get_border_left_style () fo_region_after_get_border_left_styleFoProperty* fo_region_after_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_region_after_set_border_left_style () fo_region_after_set_border_left_stylevoid fo_region_after_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_region_after_get_border_left_width () fo_region_after_get_border_left_widthFoProperty* fo_region_after_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_region_after_set_border_left_width () fo_region_after_set_border_left_widthvoid fo_region_after_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_region_after_get_border_right_color () fo_region_after_get_border_right_colorFoProperty* fo_region_after_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_region_after_set_border_right_color () fo_region_after_set_border_right_colorvoid fo_region_after_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_region_after_get_border_right_style () fo_region_after_get_border_right_styleFoProperty* fo_region_after_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_region_after_set_border_right_style () fo_region_after_set_border_right_stylevoid fo_region_after_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_region_after_get_border_right_width () fo_region_after_get_border_right_widthFoProperty* fo_region_after_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_region_after_set_border_right_width () fo_region_after_set_border_right_widthvoid fo_region_after_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_region_after_get_border_start_color () fo_region_after_get_border_start_colorFoProperty* fo_region_after_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_region_after_set_border_start_color () fo_region_after_set_border_start_colorvoid fo_region_after_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_region_after_get_border_start_style () fo_region_after_get_border_start_styleFoProperty* fo_region_after_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_region_after_set_border_start_style () fo_region_after_set_border_start_stylevoid fo_region_after_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_region_after_get_border_start_width () fo_region_after_get_border_start_widthFoProperty* fo_region_after_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_region_after_set_border_start_width () fo_region_after_set_border_start_widthvoid fo_region_after_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_region_after_get_border_top_color () fo_region_after_get_border_top_colorFoProperty* fo_region_after_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_region_after_set_border_top_color () fo_region_after_set_border_top_colorvoid fo_region_after_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_region_after_get_border_top_style () fo_region_after_get_border_top_styleFoProperty* fo_region_after_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_region_after_set_border_top_style () fo_region_after_set_border_top_stylevoid fo_region_after_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_region_after_get_border_top_width () fo_region_after_get_border_top_widthFoProperty* fo_region_after_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_region_after_set_border_top_width () fo_region_after_set_border_top_widthvoid fo_region_after_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_region_after_get_clip () fo_region_after_get_clipFoProperty* fo_region_after_get_clip (FoFo *fo_fo); Gets the "clip" property of fo_fo. fo_fo : The FoFo object. Returns : The "clip" property value. fo_region_after_set_clip () fo_region_after_set_clipvoid fo_region_after_set_clip (FoFo *fo_fo, FoProperty *new_clip); Sets the "clip" property of fo_fo to new_clip. fo_fo : The FoFo object. new_clip : The new "clip" property value. fo_region_after_get_display_align () fo_region_after_get_display_alignFoProperty* fo_region_after_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo. fo_fo : The FoFo object. Returns : The "display-align" property value. fo_region_after_set_display_align () fo_region_after_set_display_alignvoid fo_region_after_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align. fo_fo : The FoFo object. new_display_align : The new "display-align" property value. fo_region_after_get_extent () fo_region_after_get_extentFoProperty* fo_region_after_get_extent (FoFo *fo_fo); Gets the "extent" property of fo_fo. fo_fo : The FoFo object. Returns : The "extent" property value. fo_region_after_set_extent () fo_region_after_set_extentvoid fo_region_after_set_extent (FoFo *fo_fo, FoProperty *new_extent); Sets the "extent" property of fo_fo to new_extent. fo_fo : The FoFo object. new_extent : The new "extent" property value. fo_region_after_get_overflow () fo_region_after_get_overflowFoProperty* fo_region_after_get_overflow (FoFo *fo_fo); Gets the "overflow" property of fo_fo. fo_fo : The FoFo object. Returns : The "overflow" property value. fo_region_after_set_overflow () fo_region_after_set_overflowvoid fo_region_after_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); Sets the "overflow" property of fo_fo to new_overflow. fo_fo : The FoFo object. new_overflow : The new "overflow" property value. fo_region_after_get_padding_after () fo_region_after_get_padding_afterFoProperty* fo_region_after_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_region_after_set_padding_after () fo_region_after_set_padding_aftervoid fo_region_after_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_region_after_get_padding_before () fo_region_after_get_padding_beforeFoProperty* fo_region_after_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_region_after_set_padding_before () fo_region_after_set_padding_beforevoid fo_region_after_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_region_after_get_padding_bottom () fo_region_after_get_padding_bottomFoProperty* fo_region_after_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_region_after_set_padding_bottom () fo_region_after_set_padding_bottomvoid fo_region_after_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_region_after_get_padding_end () fo_region_after_get_padding_endFoProperty* fo_region_after_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_region_after_set_padding_end () fo_region_after_set_padding_endvoid fo_region_after_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_region_after_get_padding_left () fo_region_after_get_padding_leftFoProperty* fo_region_after_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_region_after_set_padding_left () fo_region_after_set_padding_leftvoid fo_region_after_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_region_after_get_padding_right () fo_region_after_get_padding_rightFoProperty* fo_region_after_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_region_after_set_padding_right () fo_region_after_set_padding_rightvoid fo_region_after_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_region_after_get_padding_start () fo_region_after_get_padding_startFoProperty* fo_region_after_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_region_after_set_padding_start () fo_region_after_set_padding_startvoid fo_region_after_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_region_after_get_padding_top () fo_region_after_get_padding_topFoProperty* fo_region_after_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_region_after_set_padding_top () fo_region_after_set_padding_topvoid fo_region_after_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_region_after_get_region_name () fo_region_after_get_region_nameFoProperty* fo_region_after_get_region_name (FoFo *fo_fo); Gets the "region-name" property of fo_fo. fo_fo : The FoFo object. Returns : The "region-name" property value. fo_region_after_set_region_name () fo_region_after_set_region_namevoid fo_region_after_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); Sets the "region-name" property of fo_fo to new_region_name. fo_fo : The FoFo object. new_region_name : The new "region-name" property value. fo_region_after_get_writing_mode () fo_region_after_get_writing_modeFoProperty* fo_region_after_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo. fo_fo : The FoFo object. Returns : The "writing-mode" property value. fo_region_after_set_writing_mode () fo_region_after_set_writing_modevoid fo_region_after_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode. fo_fo : The FoFo object. new_writing_mode : The new "writing-mode" property value. Property Details The <literal>"background-color"</literal> property FoRegionAfter:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoRegionAfter:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoRegionAfter:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoRegionAfter:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoRegionAfter:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoRegionAfter:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoRegionAfter:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoRegionAfter:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoRegionAfter:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoRegionAfter:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoRegionAfter:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoRegionAfter:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoRegionAfter:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoRegionAfter:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoRegionAfter:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoRegionAfter:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoRegionAfter:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoRegionAfter:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoRegionAfter:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoRegionAfter:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoRegionAfter:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoRegionAfter:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoRegionAfter:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoRegionAfter:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoRegionAfter:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoRegionAfter:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"clip"</literal> property FoRegionAfter:clip "clip" FoProperty* : Read Clip property. The <literal>"display-align"</literal> property FoRegionAfter:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"extent"</literal> property FoRegionAfter:extent "extent" FoProperty* : Read Extent property. The <literal>"overflow"</literal> property FoRegionAfter:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding-after"</literal> property FoRegionAfter:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoRegionAfter:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoRegionAfter:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoRegionAfter:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoRegionAfter:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoRegionAfter:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoRegionAfter:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoRegionAfter:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"region-name"</literal> property FoRegionAfter:region-name "region-name" FoProperty* : Read Region Name property. The <literal>"writing-mode"</literal> property FoRegionAfter:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-region-before.xml0000644000175000017500000040070211156164733015526 00000000000000 region-before 3 XMLROFF Library region-before Synopsis FoRegionBefore; FoRegionBeforeClass; FoFo* fo_region_before_new (void); FoProperty* fo_region_before_get_background_color (FoFo *fo_fo); void fo_region_before_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_region_before_get_background_image (FoFo *fo_fo); void fo_region_before_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_region_before_get_border_after_color (FoFo *fo_fo); void fo_region_before_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_region_before_get_border_after_style (FoFo *fo_fo); void fo_region_before_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_region_before_get_border_after_width (FoFo *fo_fo); void fo_region_before_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_region_before_get_border_before_color (FoFo *fo_fo); void fo_region_before_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_region_before_get_border_before_style (FoFo *fo_fo); void fo_region_before_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_region_before_get_border_before_width (FoFo *fo_fo); void fo_region_before_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_region_before_get_border_bottom_color (FoFo *fo_fo); void fo_region_before_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_region_before_get_border_bottom_style (FoFo *fo_fo); void fo_region_before_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_region_before_get_border_bottom_width (FoFo *fo_fo); void fo_region_before_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_region_before_get_border_end_color (FoFo *fo_fo); void fo_region_before_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_region_before_get_border_end_style (FoFo *fo_fo); void fo_region_before_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_region_before_get_border_end_width (FoFo *fo_fo); void fo_region_before_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_region_before_get_border_left_color (FoFo *fo_fo); void fo_region_before_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_region_before_get_border_left_style (FoFo *fo_fo); void fo_region_before_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_region_before_get_border_left_width (FoFo *fo_fo); void fo_region_before_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_region_before_get_border_right_color (FoFo *fo_fo); void fo_region_before_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_region_before_get_border_right_style (FoFo *fo_fo); void fo_region_before_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_region_before_get_border_right_width (FoFo *fo_fo); void fo_region_before_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_region_before_get_border_start_color (FoFo *fo_fo); void fo_region_before_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_region_before_get_border_start_style (FoFo *fo_fo); void fo_region_before_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_region_before_get_border_start_width (FoFo *fo_fo); void fo_region_before_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_region_before_get_border_top_color (FoFo *fo_fo); void fo_region_before_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_region_before_get_border_top_style (FoFo *fo_fo); void fo_region_before_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_region_before_get_border_top_width (FoFo *fo_fo); void fo_region_before_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_region_before_get_clip (FoFo *fo_fo); void fo_region_before_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_region_before_get_display_align (FoFo *fo_fo); void fo_region_before_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_region_before_get_extent (FoFo *fo_fo); void fo_region_before_set_extent (FoFo *fo_fo, FoProperty *new_extent); FoProperty* fo_region_before_get_overflow (FoFo *fo_fo); void fo_region_before_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_region_before_get_padding_after (FoFo *fo_fo); void fo_region_before_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_region_before_get_padding_before (FoFo *fo_fo); void fo_region_before_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_region_before_get_padding_bottom (FoFo *fo_fo); void fo_region_before_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_region_before_get_padding_end (FoFo *fo_fo); void fo_region_before_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_region_before_get_padding_left (FoFo *fo_fo); void fo_region_before_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_region_before_get_padding_right (FoFo *fo_fo); void fo_region_before_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_region_before_get_padding_start (FoFo *fo_fo); void fo_region_before_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_region_before_get_padding_top (FoFo *fo_fo); void fo_region_before_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_region_before_get_region_name (FoFo *fo_fo); void fo_region_before_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty* fo_region_before_get_writing_mode (FoFo *fo_fo); void fo_region_before_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoRegionBefore Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "clip" FoProperty* : Read "display-align" FoProperty* : Read "extent" FoProperty* : Read "overflow" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "region-name" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details FoRegionBefore FoRegionBeforetypedef struct _FoRegionBefore FoRegionBefore; Instance of the 'region-before' formatting object. FoRegionBeforeClass FoRegionBeforeClasstypedef struct _FoRegionBeforeClass FoRegionBeforeClass; Class structure for the 'region-before' formatting object. fo_region_before_new () fo_region_before_newFoFo* fo_region_before_new (void); Creates a new FoRegionBefore initialized to default value. Returns : the new FoRegionBefore. fo_region_before_get_background_color () fo_region_before_get_background_colorFoProperty* fo_region_before_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_region_before_set_background_color () fo_region_before_set_background_colorvoid fo_region_before_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_region_before_get_background_image () fo_region_before_get_background_imageFoProperty* fo_region_before_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_region_before_set_background_image () fo_region_before_set_background_imagevoid fo_region_before_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_region_before_get_border_after_color () fo_region_before_get_border_after_colorFoProperty* fo_region_before_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_region_before_set_border_after_color () fo_region_before_set_border_after_colorvoid fo_region_before_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_region_before_get_border_after_style () fo_region_before_get_border_after_styleFoProperty* fo_region_before_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_region_before_set_border_after_style () fo_region_before_set_border_after_stylevoid fo_region_before_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_region_before_get_border_after_width () fo_region_before_get_border_after_widthFoProperty* fo_region_before_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_region_before_set_border_after_width () fo_region_before_set_border_after_widthvoid fo_region_before_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_region_before_get_border_before_color () fo_region_before_get_border_before_colorFoProperty* fo_region_before_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_region_before_set_border_before_color () fo_region_before_set_border_before_colorvoid fo_region_before_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_region_before_get_border_before_style () fo_region_before_get_border_before_styleFoProperty* fo_region_before_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_region_before_set_border_before_style () fo_region_before_set_border_before_stylevoid fo_region_before_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_region_before_get_border_before_width () fo_region_before_get_border_before_widthFoProperty* fo_region_before_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_region_before_set_border_before_width () fo_region_before_set_border_before_widthvoid fo_region_before_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_region_before_get_border_bottom_color () fo_region_before_get_border_bottom_colorFoProperty* fo_region_before_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_region_before_set_border_bottom_color () fo_region_before_set_border_bottom_colorvoid fo_region_before_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_region_before_get_border_bottom_style () fo_region_before_get_border_bottom_styleFoProperty* fo_region_before_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_region_before_set_border_bottom_style () fo_region_before_set_border_bottom_stylevoid fo_region_before_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_region_before_get_border_bottom_width () fo_region_before_get_border_bottom_widthFoProperty* fo_region_before_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_region_before_set_border_bottom_width () fo_region_before_set_border_bottom_widthvoid fo_region_before_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_region_before_get_border_end_color () fo_region_before_get_border_end_colorFoProperty* fo_region_before_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_region_before_set_border_end_color () fo_region_before_set_border_end_colorvoid fo_region_before_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_region_before_get_border_end_style () fo_region_before_get_border_end_styleFoProperty* fo_region_before_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_region_before_set_border_end_style () fo_region_before_set_border_end_stylevoid fo_region_before_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_region_before_get_border_end_width () fo_region_before_get_border_end_widthFoProperty* fo_region_before_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_region_before_set_border_end_width () fo_region_before_set_border_end_widthvoid fo_region_before_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_region_before_get_border_left_color () fo_region_before_get_border_left_colorFoProperty* fo_region_before_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_region_before_set_border_left_color () fo_region_before_set_border_left_colorvoid fo_region_before_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_region_before_get_border_left_style () fo_region_before_get_border_left_styleFoProperty* fo_region_before_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_region_before_set_border_left_style () fo_region_before_set_border_left_stylevoid fo_region_before_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_region_before_get_border_left_width () fo_region_before_get_border_left_widthFoProperty* fo_region_before_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_region_before_set_border_left_width () fo_region_before_set_border_left_widthvoid fo_region_before_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_region_before_get_border_right_color () fo_region_before_get_border_right_colorFoProperty* fo_region_before_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_region_before_set_border_right_color () fo_region_before_set_border_right_colorvoid fo_region_before_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_region_before_get_border_right_style () fo_region_before_get_border_right_styleFoProperty* fo_region_before_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_region_before_set_border_right_style () fo_region_before_set_border_right_stylevoid fo_region_before_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_region_before_get_border_right_width () fo_region_before_get_border_right_widthFoProperty* fo_region_before_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_region_before_set_border_right_width () fo_region_before_set_border_right_widthvoid fo_region_before_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_region_before_get_border_start_color () fo_region_before_get_border_start_colorFoProperty* fo_region_before_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_region_before_set_border_start_color () fo_region_before_set_border_start_colorvoid fo_region_before_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_region_before_get_border_start_style () fo_region_before_get_border_start_styleFoProperty* fo_region_before_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_region_before_set_border_start_style () fo_region_before_set_border_start_stylevoid fo_region_before_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_region_before_get_border_start_width () fo_region_before_get_border_start_widthFoProperty* fo_region_before_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_region_before_set_border_start_width () fo_region_before_set_border_start_widthvoid fo_region_before_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_region_before_get_border_top_color () fo_region_before_get_border_top_colorFoProperty* fo_region_before_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_region_before_set_border_top_color () fo_region_before_set_border_top_colorvoid fo_region_before_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_region_before_get_border_top_style () fo_region_before_get_border_top_styleFoProperty* fo_region_before_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_region_before_set_border_top_style () fo_region_before_set_border_top_stylevoid fo_region_before_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_region_before_get_border_top_width () fo_region_before_get_border_top_widthFoProperty* fo_region_before_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_region_before_set_border_top_width () fo_region_before_set_border_top_widthvoid fo_region_before_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_region_before_get_clip () fo_region_before_get_clipFoProperty* fo_region_before_get_clip (FoFo *fo_fo); Gets the "clip" property of fo_fo. fo_fo : The FoFo object. Returns : The "clip" property value. fo_region_before_set_clip () fo_region_before_set_clipvoid fo_region_before_set_clip (FoFo *fo_fo, FoProperty *new_clip); Sets the "clip" property of fo_fo to new_clip. fo_fo : The FoFo object. new_clip : The new "clip" property value. fo_region_before_get_display_align () fo_region_before_get_display_alignFoProperty* fo_region_before_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo. fo_fo : The FoFo object. Returns : The "display-align" property value. fo_region_before_set_display_align () fo_region_before_set_display_alignvoid fo_region_before_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align. fo_fo : The FoFo object. new_display_align : The new "display-align" property value. fo_region_before_get_extent () fo_region_before_get_extentFoProperty* fo_region_before_get_extent (FoFo *fo_fo); Gets the "extent" property of fo_fo. fo_fo : The FoFo object. Returns : The "extent" property value. fo_region_before_set_extent () fo_region_before_set_extentvoid fo_region_before_set_extent (FoFo *fo_fo, FoProperty *new_extent); Sets the "extent" property of fo_fo to new_extent. fo_fo : The FoFo object. new_extent : The new "extent" property value. fo_region_before_get_overflow () fo_region_before_get_overflowFoProperty* fo_region_before_get_overflow (FoFo *fo_fo); Gets the "overflow" property of fo_fo. fo_fo : The FoFo object. Returns : The "overflow" property value. fo_region_before_set_overflow () fo_region_before_set_overflowvoid fo_region_before_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); Sets the "overflow" property of fo_fo to new_overflow. fo_fo : The FoFo object. new_overflow : The new "overflow" property value. fo_region_before_get_padding_after () fo_region_before_get_padding_afterFoProperty* fo_region_before_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_region_before_set_padding_after () fo_region_before_set_padding_aftervoid fo_region_before_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_region_before_get_padding_before () fo_region_before_get_padding_beforeFoProperty* fo_region_before_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_region_before_set_padding_before () fo_region_before_set_padding_beforevoid fo_region_before_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_region_before_get_padding_bottom () fo_region_before_get_padding_bottomFoProperty* fo_region_before_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_region_before_set_padding_bottom () fo_region_before_set_padding_bottomvoid fo_region_before_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_region_before_get_padding_end () fo_region_before_get_padding_endFoProperty* fo_region_before_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_region_before_set_padding_end () fo_region_before_set_padding_endvoid fo_region_before_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_region_before_get_padding_left () fo_region_before_get_padding_leftFoProperty* fo_region_before_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_region_before_set_padding_left () fo_region_before_set_padding_leftvoid fo_region_before_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_region_before_get_padding_right () fo_region_before_get_padding_rightFoProperty* fo_region_before_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_region_before_set_padding_right () fo_region_before_set_padding_rightvoid fo_region_before_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_region_before_get_padding_start () fo_region_before_get_padding_startFoProperty* fo_region_before_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_region_before_set_padding_start () fo_region_before_set_padding_startvoid fo_region_before_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_region_before_get_padding_top () fo_region_before_get_padding_topFoProperty* fo_region_before_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_region_before_set_padding_top () fo_region_before_set_padding_topvoid fo_region_before_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_region_before_get_region_name () fo_region_before_get_region_nameFoProperty* fo_region_before_get_region_name (FoFo *fo_fo); Gets the "region-name" property of fo_fo. fo_fo : The FoFo object. Returns : The "region-name" property value. fo_region_before_set_region_name () fo_region_before_set_region_namevoid fo_region_before_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); Sets the "region-name" property of fo_fo to new_region_name. fo_fo : The FoFo object. new_region_name : The new "region-name" property value. fo_region_before_get_writing_mode () fo_region_before_get_writing_modeFoProperty* fo_region_before_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo. fo_fo : The FoFo object. Returns : The "writing-mode" property value. fo_region_before_set_writing_mode () fo_region_before_set_writing_modevoid fo_region_before_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode. fo_fo : The FoFo object. new_writing_mode : The new "writing-mode" property value. Property Details The <literal>"background-color"</literal> property FoRegionBefore:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoRegionBefore:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoRegionBefore:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoRegionBefore:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoRegionBefore:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoRegionBefore:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoRegionBefore:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoRegionBefore:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoRegionBefore:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoRegionBefore:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoRegionBefore:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoRegionBefore:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoRegionBefore:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoRegionBefore:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoRegionBefore:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoRegionBefore:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoRegionBefore:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoRegionBefore:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoRegionBefore:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoRegionBefore:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoRegionBefore:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoRegionBefore:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoRegionBefore:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoRegionBefore:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoRegionBefore:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoRegionBefore:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"clip"</literal> property FoRegionBefore:clip "clip" FoProperty* : Read Clip property. The <literal>"display-align"</literal> property FoRegionBefore:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"extent"</literal> property FoRegionBefore:extent "extent" FoProperty* : Read Extent property. The <literal>"overflow"</literal> property FoRegionBefore:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding-after"</literal> property FoRegionBefore:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoRegionBefore:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoRegionBefore:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoRegionBefore:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoRegionBefore:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoRegionBefore:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoRegionBefore:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoRegionBefore:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"region-name"</literal> property FoRegionBefore:region-name "region-name" FoProperty* : Read Region Name property. The <literal>"writing-mode"</literal> property FoRegionBefore:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-region-body.xml0000644000175000017500000044211211156164733015222 00000000000000 region-body 3 XMLROFF Library region-body Synopsis FoRegionBody; FoRegionBodyClass; FoFo* fo_region_body_new (void); FoProperty* fo_region_body_get_background_color (FoFo *fo_fo); void fo_region_body_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_region_body_get_background_image (FoFo *fo_fo); void fo_region_body_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_region_body_get_border_after_color (FoFo *fo_fo); void fo_region_body_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_region_body_get_border_after_style (FoFo *fo_fo); void fo_region_body_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_region_body_get_border_after_width (FoFo *fo_fo); void fo_region_body_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_region_body_get_border_before_color (FoFo *fo_fo); void fo_region_body_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_region_body_get_border_before_style (FoFo *fo_fo); void fo_region_body_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_region_body_get_border_before_width (FoFo *fo_fo); void fo_region_body_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_region_body_get_border_bottom_color (FoFo *fo_fo); void fo_region_body_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_region_body_get_border_bottom_style (FoFo *fo_fo); void fo_region_body_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_region_body_get_border_bottom_width (FoFo *fo_fo); void fo_region_body_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_region_body_get_border_end_color (FoFo *fo_fo); void fo_region_body_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_region_body_get_border_end_style (FoFo *fo_fo); void fo_region_body_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_region_body_get_border_end_width (FoFo *fo_fo); void fo_region_body_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_region_body_get_border_left_color (FoFo *fo_fo); void fo_region_body_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_region_body_get_border_left_style (FoFo *fo_fo); void fo_region_body_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_region_body_get_border_left_width (FoFo *fo_fo); void fo_region_body_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_region_body_get_border_right_color (FoFo *fo_fo); void fo_region_body_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_region_body_get_border_right_style (FoFo *fo_fo); void fo_region_body_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_region_body_get_border_right_width (FoFo *fo_fo); void fo_region_body_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_region_body_get_border_start_color (FoFo *fo_fo); void fo_region_body_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_region_body_get_border_start_style (FoFo *fo_fo); void fo_region_body_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_region_body_get_border_start_width (FoFo *fo_fo); void fo_region_body_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_region_body_get_border_top_color (FoFo *fo_fo); void fo_region_body_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_region_body_get_border_top_style (FoFo *fo_fo); void fo_region_body_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_region_body_get_border_top_width (FoFo *fo_fo); void fo_region_body_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_region_body_get_clip (FoFo *fo_fo); void fo_region_body_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_region_body_get_display_align (FoFo *fo_fo); void fo_region_body_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_region_body_get_end_indent (FoFo *fo_fo); void fo_region_body_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty* fo_region_body_get_margin_bottom (FoFo *fo_fo); void fo_region_body_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty* fo_region_body_get_margin_left (FoFo *fo_fo); void fo_region_body_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty* fo_region_body_get_margin_right (FoFo *fo_fo); void fo_region_body_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty* fo_region_body_get_margin_top (FoFo *fo_fo); void fo_region_body_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty* fo_region_body_get_overflow (FoFo *fo_fo); void fo_region_body_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_region_body_get_padding_after (FoFo *fo_fo); void fo_region_body_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_region_body_get_padding_before (FoFo *fo_fo); void fo_region_body_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_region_body_get_padding_bottom (FoFo *fo_fo); void fo_region_body_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_region_body_get_padding_end (FoFo *fo_fo); void fo_region_body_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_region_body_get_padding_left (FoFo *fo_fo); void fo_region_body_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_region_body_get_padding_right (FoFo *fo_fo); void fo_region_body_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_region_body_get_padding_start (FoFo *fo_fo); void fo_region_body_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_region_body_get_padding_top (FoFo *fo_fo); void fo_region_body_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_region_body_get_region_name (FoFo *fo_fo); void fo_region_body_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty* fo_region_body_get_space_after (FoFo *fo_fo); void fo_region_body_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty* fo_region_body_get_space_before (FoFo *fo_fo); void fo_region_body_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty* fo_region_body_get_start_indent (FoFo *fo_fo); void fo_region_body_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty* fo_region_body_get_writing_mode (FoFo *fo_fo); void fo_region_body_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoRegionBody Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "clip" FoProperty* : Read "display-align" FoProperty* : Read "end-indent" FoProperty* : Read "margin-bottom" FoProperty* : Read "margin-left" FoProperty* : Read "margin-right" FoProperty* : Read "margin-top" FoProperty* : Read "overflow" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "region-name" FoProperty* : Read "space-after" FoProperty* : Read "space-before" FoProperty* : Read "start-indent" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details FoRegionBody FoRegionBodytypedef struct _FoRegionBody FoRegionBody; FoRegionBodyClass FoRegionBodyClasstypedef struct _FoRegionBodyClass FoRegionBodyClass; fo_region_body_new () fo_region_body_newFoFo* fo_region_body_new (void); Creates a new FoRegionBody initialized to default value. Returns : the new FoRegionBody. fo_region_body_get_background_color () fo_region_body_get_background_colorFoProperty* fo_region_body_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_region_body_set_background_color () fo_region_body_set_background_colorvoid fo_region_body_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_region_body_get_background_image () fo_region_body_get_background_imageFoProperty* fo_region_body_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_region_body_set_background_image () fo_region_body_set_background_imagevoid fo_region_body_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_region_body_get_border_after_color () fo_region_body_get_border_after_colorFoProperty* fo_region_body_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_region_body_set_border_after_color () fo_region_body_set_border_after_colorvoid fo_region_body_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_region_body_get_border_after_style () fo_region_body_get_border_after_styleFoProperty* fo_region_body_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_region_body_set_border_after_style () fo_region_body_set_border_after_stylevoid fo_region_body_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_region_body_get_border_after_width () fo_region_body_get_border_after_widthFoProperty* fo_region_body_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_region_body_set_border_after_width () fo_region_body_set_border_after_widthvoid fo_region_body_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_region_body_get_border_before_color () fo_region_body_get_border_before_colorFoProperty* fo_region_body_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_region_body_set_border_before_color () fo_region_body_set_border_before_colorvoid fo_region_body_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_region_body_get_border_before_style () fo_region_body_get_border_before_styleFoProperty* fo_region_body_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_region_body_set_border_before_style () fo_region_body_set_border_before_stylevoid fo_region_body_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_region_body_get_border_before_width () fo_region_body_get_border_before_widthFoProperty* fo_region_body_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_region_body_set_border_before_width () fo_region_body_set_border_before_widthvoid fo_region_body_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_region_body_get_border_bottom_color () fo_region_body_get_border_bottom_colorFoProperty* fo_region_body_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_region_body_set_border_bottom_color () fo_region_body_set_border_bottom_colorvoid fo_region_body_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_region_body_get_border_bottom_style () fo_region_body_get_border_bottom_styleFoProperty* fo_region_body_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_region_body_set_border_bottom_style () fo_region_body_set_border_bottom_stylevoid fo_region_body_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_region_body_get_border_bottom_width () fo_region_body_get_border_bottom_widthFoProperty* fo_region_body_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_region_body_set_border_bottom_width () fo_region_body_set_border_bottom_widthvoid fo_region_body_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_region_body_get_border_end_color () fo_region_body_get_border_end_colorFoProperty* fo_region_body_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_region_body_set_border_end_color () fo_region_body_set_border_end_colorvoid fo_region_body_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_region_body_get_border_end_style () fo_region_body_get_border_end_styleFoProperty* fo_region_body_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_region_body_set_border_end_style () fo_region_body_set_border_end_stylevoid fo_region_body_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_region_body_get_border_end_width () fo_region_body_get_border_end_widthFoProperty* fo_region_body_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_region_body_set_border_end_width () fo_region_body_set_border_end_widthvoid fo_region_body_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_region_body_get_border_left_color () fo_region_body_get_border_left_colorFoProperty* fo_region_body_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_region_body_set_border_left_color () fo_region_body_set_border_left_colorvoid fo_region_body_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_region_body_get_border_left_style () fo_region_body_get_border_left_styleFoProperty* fo_region_body_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_region_body_set_border_left_style () fo_region_body_set_border_left_stylevoid fo_region_body_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_region_body_get_border_left_width () fo_region_body_get_border_left_widthFoProperty* fo_region_body_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_region_body_set_border_left_width () fo_region_body_set_border_left_widthvoid fo_region_body_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_region_body_get_border_right_color () fo_region_body_get_border_right_colorFoProperty* fo_region_body_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_region_body_set_border_right_color () fo_region_body_set_border_right_colorvoid fo_region_body_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_region_body_get_border_right_style () fo_region_body_get_border_right_styleFoProperty* fo_region_body_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_region_body_set_border_right_style () fo_region_body_set_border_right_stylevoid fo_region_body_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_region_body_get_border_right_width () fo_region_body_get_border_right_widthFoProperty* fo_region_body_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_region_body_set_border_right_width () fo_region_body_set_border_right_widthvoid fo_region_body_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_region_body_get_border_start_color () fo_region_body_get_border_start_colorFoProperty* fo_region_body_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_region_body_set_border_start_color () fo_region_body_set_border_start_colorvoid fo_region_body_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_region_body_get_border_start_style () fo_region_body_get_border_start_styleFoProperty* fo_region_body_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_region_body_set_border_start_style () fo_region_body_set_border_start_stylevoid fo_region_body_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_region_body_get_border_start_width () fo_region_body_get_border_start_widthFoProperty* fo_region_body_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_region_body_set_border_start_width () fo_region_body_set_border_start_widthvoid fo_region_body_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_region_body_get_border_top_color () fo_region_body_get_border_top_colorFoProperty* fo_region_body_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_region_body_set_border_top_color () fo_region_body_set_border_top_colorvoid fo_region_body_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_region_body_get_border_top_style () fo_region_body_get_border_top_styleFoProperty* fo_region_body_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_region_body_set_border_top_style () fo_region_body_set_border_top_stylevoid fo_region_body_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_region_body_get_border_top_width () fo_region_body_get_border_top_widthFoProperty* fo_region_body_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_region_body_set_border_top_width () fo_region_body_set_border_top_widthvoid fo_region_body_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_region_body_get_clip () fo_region_body_get_clipFoProperty* fo_region_body_get_clip (FoFo *fo_fo); Gets the "clip" property of fo_fo fo_fo : The FoFo object Returns : The "clip" property value fo_region_body_set_clip () fo_region_body_set_clipvoid fo_region_body_set_clip (FoFo *fo_fo, FoProperty *new_clip); Sets the "clip" property of fo_fo to new_clip fo_fo : The FoFo object new_clip : The new "clip" property value fo_region_body_get_display_align () fo_region_body_get_display_alignFoProperty* fo_region_body_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo fo_fo : The FoFo object Returns : The "display-align" property value fo_region_body_set_display_align () fo_region_body_set_display_alignvoid fo_region_body_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align fo_fo : The FoFo object new_display_align : The new "display-align" property value fo_region_body_get_end_indent () fo_region_body_get_end_indentFoProperty* fo_region_body_get_end_indent (FoFo *fo_fo); Gets the "end-indent" property of fo_fo fo_fo : The FoFo object Returns : The "end-indent" property value fo_region_body_set_end_indent () fo_region_body_set_end_indentvoid fo_region_body_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); Sets the "end-indent" property of fo_fo to new_end_indent fo_fo : The FoFo object new_end_indent : The new "end-indent" property value fo_region_body_get_margin_bottom () fo_region_body_get_margin_bottomFoProperty* fo_region_body_get_margin_bottom (FoFo *fo_fo); Gets the "margin-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "margin-bottom" property value fo_region_body_set_margin_bottom () fo_region_body_set_margin_bottomvoid fo_region_body_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_fo to new_margin_bottom fo_fo : The FoFo object new_margin_bottom : The new "margin-bottom" property value fo_region_body_get_margin_left () fo_region_body_get_margin_leftFoProperty* fo_region_body_get_margin_left (FoFo *fo_fo); Gets the "margin-left" property of fo_fo fo_fo : The FoFo object Returns : The "margin-left" property value fo_region_body_set_margin_left () fo_region_body_set_margin_leftvoid fo_region_body_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); Sets the "margin-left" property of fo_fo to new_margin_left fo_fo : The FoFo object new_margin_left : The new "margin-left" property value fo_region_body_get_margin_right () fo_region_body_get_margin_rightFoProperty* fo_region_body_get_margin_right (FoFo *fo_fo); Gets the "margin-right" property of fo_fo fo_fo : The FoFo object Returns : The "margin-right" property value fo_region_body_set_margin_right () fo_region_body_set_margin_rightvoid fo_region_body_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); Sets the "margin-right" property of fo_fo to new_margin_right fo_fo : The FoFo object new_margin_right : The new "margin-right" property value fo_region_body_get_margin_top () fo_region_body_get_margin_topFoProperty* fo_region_body_get_margin_top (FoFo *fo_fo); Gets the "margin-top" property of fo_fo fo_fo : The FoFo object Returns : The "margin-top" property value fo_region_body_set_margin_top () fo_region_body_set_margin_topvoid fo_region_body_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); Sets the "margin-top" property of fo_fo to new_margin_top fo_fo : The FoFo object new_margin_top : The new "margin-top" property value fo_region_body_get_overflow () fo_region_body_get_overflowFoProperty* fo_region_body_get_overflow (FoFo *fo_fo); Gets the "overflow" property of fo_fo fo_fo : The FoFo object Returns : The "overflow" property value fo_region_body_set_overflow () fo_region_body_set_overflowvoid fo_region_body_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); Sets the "overflow" property of fo_fo to new_overflow fo_fo : The FoFo object new_overflow : The new "overflow" property value fo_region_body_get_padding_after () fo_region_body_get_padding_afterFoProperty* fo_region_body_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_region_body_set_padding_after () fo_region_body_set_padding_aftervoid fo_region_body_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_region_body_get_padding_before () fo_region_body_get_padding_beforeFoProperty* fo_region_body_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_region_body_set_padding_before () fo_region_body_set_padding_beforevoid fo_region_body_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_region_body_get_padding_bottom () fo_region_body_get_padding_bottomFoProperty* fo_region_body_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_region_body_set_padding_bottom () fo_region_body_set_padding_bottomvoid fo_region_body_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_region_body_get_padding_end () fo_region_body_get_padding_endFoProperty* fo_region_body_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_region_body_set_padding_end () fo_region_body_set_padding_endvoid fo_region_body_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_region_body_get_padding_left () fo_region_body_get_padding_leftFoProperty* fo_region_body_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_region_body_set_padding_left () fo_region_body_set_padding_leftvoid fo_region_body_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_region_body_get_padding_right () fo_region_body_get_padding_rightFoProperty* fo_region_body_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_region_body_set_padding_right () fo_region_body_set_padding_rightvoid fo_region_body_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_region_body_get_padding_start () fo_region_body_get_padding_startFoProperty* fo_region_body_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_region_body_set_padding_start () fo_region_body_set_padding_startvoid fo_region_body_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_region_body_get_padding_top () fo_region_body_get_padding_topFoProperty* fo_region_body_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_region_body_set_padding_top () fo_region_body_set_padding_topvoid fo_region_body_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_region_body_get_region_name () fo_region_body_get_region_nameFoProperty* fo_region_body_get_region_name (FoFo *fo_fo); Gets the "region-name" property of fo_fo fo_fo : The FoFo object Returns : The "region-name" property value fo_region_body_set_region_name () fo_region_body_set_region_namevoid fo_region_body_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); Sets the "region-name" property of fo_fo to new_region_name fo_fo : The FoFo object new_region_name : The new "region-name" property value fo_region_body_get_space_after () fo_region_body_get_space_afterFoProperty* fo_region_body_get_space_after (FoFo *fo_fo); Gets the "space-after" property of fo_fo fo_fo : The FoFo object Returns : The "space-after" property value fo_region_body_set_space_after () fo_region_body_set_space_aftervoid fo_region_body_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); Sets the "space-after" property of fo_fo to new_space_after fo_fo : The FoFo object new_space_after : The new "space-after" property value fo_region_body_get_space_before () fo_region_body_get_space_beforeFoProperty* fo_region_body_get_space_before (FoFo *fo_fo); Gets the "space-before" property of fo_fo fo_fo : The FoFo object Returns : The "space-before" property value fo_region_body_set_space_before () fo_region_body_set_space_beforevoid fo_region_body_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); Sets the "space-before" property of fo_fo to new_space_before fo_fo : The FoFo object new_space_before : The new "space-before" property value fo_region_body_get_start_indent () fo_region_body_get_start_indentFoProperty* fo_region_body_get_start_indent (FoFo *fo_fo); Gets the "start-indent" property of fo_fo fo_fo : The FoFo object Returns : The "start-indent" property value fo_region_body_set_start_indent () fo_region_body_set_start_indentvoid fo_region_body_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Sets the "start-indent" property of fo_fo to new_start_indent fo_fo : The FoFo object new_start_indent : The new "start-indent" property value fo_region_body_get_writing_mode () fo_region_body_get_writing_modeFoProperty* fo_region_body_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo fo_fo : The FoFo object Returns : The "writing-mode" property value fo_region_body_set_writing_mode () fo_region_body_set_writing_modevoid fo_region_body_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode fo_fo : The FoFo object new_writing_mode : The new "writing-mode" property value Property Details The <literal>"background-color"</literal> property FoRegionBody:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoRegionBody:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoRegionBody:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoRegionBody:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoRegionBody:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoRegionBody:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoRegionBody:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoRegionBody:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoRegionBody:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoRegionBody:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoRegionBody:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoRegionBody:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoRegionBody:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoRegionBody:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoRegionBody:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoRegionBody:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoRegionBody:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoRegionBody:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoRegionBody:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoRegionBody:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoRegionBody:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoRegionBody:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoRegionBody:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoRegionBody:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoRegionBody:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoRegionBody:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"clip"</literal> property FoRegionBody:clip "clip" FoProperty* : Read Clip property. The <literal>"display-align"</literal> property FoRegionBody:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"end-indent"</literal> property FoRegionBody:end-indent "end-indent" FoProperty* : Read End Indent property. The <literal>"margin-bottom"</literal> property FoRegionBody:margin-bottom "margin-bottom" FoProperty* : Read Margin Bottom property. The <literal>"margin-left"</literal> property FoRegionBody:margin-left "margin-left" FoProperty* : Read Margin Left property. The <literal>"margin-right"</literal> property FoRegionBody:margin-right "margin-right" FoProperty* : Read Margin Right property. The <literal>"margin-top"</literal> property FoRegionBody:margin-top "margin-top" FoProperty* : Read Margin Top property. The <literal>"overflow"</literal> property FoRegionBody:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding-after"</literal> property FoRegionBody:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoRegionBody:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoRegionBody:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoRegionBody:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoRegionBody:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoRegionBody:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoRegionBody:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoRegionBody:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"region-name"</literal> property FoRegionBody:region-name "region-name" FoProperty* : Read Region Name property. The <literal>"space-after"</literal> property FoRegionBody:space-after "space-after" FoProperty* : Read Space After property. The <literal>"space-before"</literal> property FoRegionBody:space-before "space-before" FoProperty* : Read Space Before property. The <literal>"start-indent"</literal> property FoRegionBody:start-indent "start-indent" FoProperty* : Read Start Indent property. The <literal>"writing-mode"</literal> property FoRegionBody:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-region-end.xml0000644000175000017500000037000511156164733015034 00000000000000 region-end 3 XMLROFF Library region-end Synopsis FoRegionEnd; FoRegionEndClass; FoFo* fo_region_end_new (void); FoProperty* fo_region_end_get_background_color (FoFo *fo_fo); void fo_region_end_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_region_end_get_background_image (FoFo *fo_fo); void fo_region_end_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_region_end_get_border_after_color (FoFo *fo_fo); void fo_region_end_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_region_end_get_border_after_style (FoFo *fo_fo); void fo_region_end_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_region_end_get_border_after_width (FoFo *fo_fo); void fo_region_end_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_region_end_get_border_before_color (FoFo *fo_fo); void fo_region_end_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_region_end_get_border_before_style (FoFo *fo_fo); void fo_region_end_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_region_end_get_border_before_width (FoFo *fo_fo); void fo_region_end_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_region_end_get_border_bottom_color (FoFo *fo_fo); void fo_region_end_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_region_end_get_border_bottom_style (FoFo *fo_fo); void fo_region_end_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_region_end_get_border_bottom_width (FoFo *fo_fo); void fo_region_end_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_region_end_get_border_end_color (FoFo *fo_fo); void fo_region_end_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_region_end_get_border_end_style (FoFo *fo_fo); void fo_region_end_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_region_end_get_border_end_width (FoFo *fo_fo); void fo_region_end_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_region_end_get_border_left_color (FoFo *fo_fo); void fo_region_end_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_region_end_get_border_left_style (FoFo *fo_fo); void fo_region_end_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_region_end_get_border_left_width (FoFo *fo_fo); void fo_region_end_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_region_end_get_border_right_color (FoFo *fo_fo); void fo_region_end_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_region_end_get_border_right_style (FoFo *fo_fo); void fo_region_end_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_region_end_get_border_right_width (FoFo *fo_fo); void fo_region_end_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_region_end_get_border_start_color (FoFo *fo_fo); void fo_region_end_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_region_end_get_border_start_style (FoFo *fo_fo); void fo_region_end_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_region_end_get_border_start_width (FoFo *fo_fo); void fo_region_end_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_region_end_get_border_top_color (FoFo *fo_fo); void fo_region_end_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_region_end_get_border_top_style (FoFo *fo_fo); void fo_region_end_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_region_end_get_border_top_width (FoFo *fo_fo); void fo_region_end_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_region_end_get_clip (FoFo *fo_fo); void fo_region_end_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_region_end_get_display_align (FoFo *fo_fo); void fo_region_end_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_region_end_get_extent (FoFo *fo_fo); void fo_region_end_set_extent (FoFo *fo_fo, FoProperty *new_extent); FoProperty* fo_region_end_get_overflow (FoFo *fo_fo); void fo_region_end_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_region_end_get_padding_after (FoFo *fo_fo); void fo_region_end_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_region_end_get_padding_before (FoFo *fo_fo); void fo_region_end_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_region_end_get_padding_bottom (FoFo *fo_fo); void fo_region_end_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_region_end_get_padding_end (FoFo *fo_fo); void fo_region_end_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_region_end_get_padding_left (FoFo *fo_fo); void fo_region_end_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_region_end_get_padding_right (FoFo *fo_fo); void fo_region_end_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_region_end_get_padding_start (FoFo *fo_fo); void fo_region_end_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_region_end_get_padding_top (FoFo *fo_fo); void fo_region_end_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_region_end_get_region_name (FoFo *fo_fo); void fo_region_end_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty* fo_region_end_get_writing_mode (FoFo *fo_fo); void fo_region_end_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoRegionEnd Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "clip" FoProperty* : Read "display-align" FoProperty* : Read "extent" FoProperty* : Read "overflow" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "region-name" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details FoRegionEnd FoRegionEndtypedef struct _FoRegionEnd FoRegionEnd; Instance of the 'region-end' formatting object. FoRegionEndClass FoRegionEndClasstypedef struct _FoRegionEndClass FoRegionEndClass; Class structure for the 'region-end' formatting object. fo_region_end_new () fo_region_end_newFoFo* fo_region_end_new (void); Creates a new FoRegionEnd initialized to default value. Returns : the new FoRegionEnd. fo_region_end_get_background_color () fo_region_end_get_background_colorFoProperty* fo_region_end_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_region_end_set_background_color () fo_region_end_set_background_colorvoid fo_region_end_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_region_end_get_background_image () fo_region_end_get_background_imageFoProperty* fo_region_end_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_region_end_set_background_image () fo_region_end_set_background_imagevoid fo_region_end_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_region_end_get_border_after_color () fo_region_end_get_border_after_colorFoProperty* fo_region_end_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_region_end_set_border_after_color () fo_region_end_set_border_after_colorvoid fo_region_end_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_region_end_get_border_after_style () fo_region_end_get_border_after_styleFoProperty* fo_region_end_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_region_end_set_border_after_style () fo_region_end_set_border_after_stylevoid fo_region_end_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_region_end_get_border_after_width () fo_region_end_get_border_after_widthFoProperty* fo_region_end_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_region_end_set_border_after_width () fo_region_end_set_border_after_widthvoid fo_region_end_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_region_end_get_border_before_color () fo_region_end_get_border_before_colorFoProperty* fo_region_end_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_region_end_set_border_before_color () fo_region_end_set_border_before_colorvoid fo_region_end_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_region_end_get_border_before_style () fo_region_end_get_border_before_styleFoProperty* fo_region_end_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_region_end_set_border_before_style () fo_region_end_set_border_before_stylevoid fo_region_end_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_region_end_get_border_before_width () fo_region_end_get_border_before_widthFoProperty* fo_region_end_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_region_end_set_border_before_width () fo_region_end_set_border_before_widthvoid fo_region_end_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_region_end_get_border_bottom_color () fo_region_end_get_border_bottom_colorFoProperty* fo_region_end_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_region_end_set_border_bottom_color () fo_region_end_set_border_bottom_colorvoid fo_region_end_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_region_end_get_border_bottom_style () fo_region_end_get_border_bottom_styleFoProperty* fo_region_end_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_region_end_set_border_bottom_style () fo_region_end_set_border_bottom_stylevoid fo_region_end_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_region_end_get_border_bottom_width () fo_region_end_get_border_bottom_widthFoProperty* fo_region_end_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_region_end_set_border_bottom_width () fo_region_end_set_border_bottom_widthvoid fo_region_end_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_region_end_get_border_end_color () fo_region_end_get_border_end_colorFoProperty* fo_region_end_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_region_end_set_border_end_color () fo_region_end_set_border_end_colorvoid fo_region_end_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_region_end_get_border_end_style () fo_region_end_get_border_end_styleFoProperty* fo_region_end_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_region_end_set_border_end_style () fo_region_end_set_border_end_stylevoid fo_region_end_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_region_end_get_border_end_width () fo_region_end_get_border_end_widthFoProperty* fo_region_end_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_region_end_set_border_end_width () fo_region_end_set_border_end_widthvoid fo_region_end_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_region_end_get_border_left_color () fo_region_end_get_border_left_colorFoProperty* fo_region_end_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_region_end_set_border_left_color () fo_region_end_set_border_left_colorvoid fo_region_end_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_region_end_get_border_left_style () fo_region_end_get_border_left_styleFoProperty* fo_region_end_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_region_end_set_border_left_style () fo_region_end_set_border_left_stylevoid fo_region_end_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_region_end_get_border_left_width () fo_region_end_get_border_left_widthFoProperty* fo_region_end_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_region_end_set_border_left_width () fo_region_end_set_border_left_widthvoid fo_region_end_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_region_end_get_border_right_color () fo_region_end_get_border_right_colorFoProperty* fo_region_end_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_region_end_set_border_right_color () fo_region_end_set_border_right_colorvoid fo_region_end_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_region_end_get_border_right_style () fo_region_end_get_border_right_styleFoProperty* fo_region_end_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_region_end_set_border_right_style () fo_region_end_set_border_right_stylevoid fo_region_end_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_region_end_get_border_right_width () fo_region_end_get_border_right_widthFoProperty* fo_region_end_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_region_end_set_border_right_width () fo_region_end_set_border_right_widthvoid fo_region_end_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_region_end_get_border_start_color () fo_region_end_get_border_start_colorFoProperty* fo_region_end_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_region_end_set_border_start_color () fo_region_end_set_border_start_colorvoid fo_region_end_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_region_end_get_border_start_style () fo_region_end_get_border_start_styleFoProperty* fo_region_end_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_region_end_set_border_start_style () fo_region_end_set_border_start_stylevoid fo_region_end_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_region_end_get_border_start_width () fo_region_end_get_border_start_widthFoProperty* fo_region_end_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_region_end_set_border_start_width () fo_region_end_set_border_start_widthvoid fo_region_end_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_region_end_get_border_top_color () fo_region_end_get_border_top_colorFoProperty* fo_region_end_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_region_end_set_border_top_color () fo_region_end_set_border_top_colorvoid fo_region_end_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_region_end_get_border_top_style () fo_region_end_get_border_top_styleFoProperty* fo_region_end_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_region_end_set_border_top_style () fo_region_end_set_border_top_stylevoid fo_region_end_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_region_end_get_border_top_width () fo_region_end_get_border_top_widthFoProperty* fo_region_end_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_region_end_set_border_top_width () fo_region_end_set_border_top_widthvoid fo_region_end_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_region_end_get_clip () fo_region_end_get_clipFoProperty* fo_region_end_get_clip (FoFo *fo_fo); Gets the "clip" property of fo_fo. fo_fo : The FoFo object. Returns : The "clip" property value. fo_region_end_set_clip () fo_region_end_set_clipvoid fo_region_end_set_clip (FoFo *fo_fo, FoProperty *new_clip); Sets the "clip" property of fo_fo to new_clip. fo_fo : The FoFo object. new_clip : The new "clip" property value. fo_region_end_get_display_align () fo_region_end_get_display_alignFoProperty* fo_region_end_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo. fo_fo : The FoFo object. Returns : The "display-align" property value. fo_region_end_set_display_align () fo_region_end_set_display_alignvoid fo_region_end_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align. fo_fo : The FoFo object. new_display_align : The new "display-align" property value. fo_region_end_get_extent () fo_region_end_get_extentFoProperty* fo_region_end_get_extent (FoFo *fo_fo); Gets the "extent" property of fo_fo. fo_fo : The FoFo object. Returns : The "extent" property value. fo_region_end_set_extent () fo_region_end_set_extentvoid fo_region_end_set_extent (FoFo *fo_fo, FoProperty *new_extent); Sets the "extent" property of fo_fo to new_extent. fo_fo : The FoFo object. new_extent : The new "extent" property value. fo_region_end_get_overflow () fo_region_end_get_overflowFoProperty* fo_region_end_get_overflow (FoFo *fo_fo); Gets the "overflow" property of fo_fo. fo_fo : The FoFo object. Returns : The "overflow" property value. fo_region_end_set_overflow () fo_region_end_set_overflowvoid fo_region_end_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); Sets the "overflow" property of fo_fo to new_overflow. fo_fo : The FoFo object. new_overflow : The new "overflow" property value. fo_region_end_get_padding_after () fo_region_end_get_padding_afterFoProperty* fo_region_end_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_region_end_set_padding_after () fo_region_end_set_padding_aftervoid fo_region_end_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_region_end_get_padding_before () fo_region_end_get_padding_beforeFoProperty* fo_region_end_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_region_end_set_padding_before () fo_region_end_set_padding_beforevoid fo_region_end_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_region_end_get_padding_bottom () fo_region_end_get_padding_bottomFoProperty* fo_region_end_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_region_end_set_padding_bottom () fo_region_end_set_padding_bottomvoid fo_region_end_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_region_end_get_padding_end () fo_region_end_get_padding_endFoProperty* fo_region_end_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_region_end_set_padding_end () fo_region_end_set_padding_endvoid fo_region_end_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_region_end_get_padding_left () fo_region_end_get_padding_leftFoProperty* fo_region_end_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_region_end_set_padding_left () fo_region_end_set_padding_leftvoid fo_region_end_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_region_end_get_padding_right () fo_region_end_get_padding_rightFoProperty* fo_region_end_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_region_end_set_padding_right () fo_region_end_set_padding_rightvoid fo_region_end_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_region_end_get_padding_start () fo_region_end_get_padding_startFoProperty* fo_region_end_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_region_end_set_padding_start () fo_region_end_set_padding_startvoid fo_region_end_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_region_end_get_padding_top () fo_region_end_get_padding_topFoProperty* fo_region_end_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_region_end_set_padding_top () fo_region_end_set_padding_topvoid fo_region_end_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_region_end_get_region_name () fo_region_end_get_region_nameFoProperty* fo_region_end_get_region_name (FoFo *fo_fo); Gets the "region-name" property of fo_fo. fo_fo : The FoFo object. Returns : The "region-name" property value. fo_region_end_set_region_name () fo_region_end_set_region_namevoid fo_region_end_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); Sets the "region-name" property of fo_fo to new_region_name. fo_fo : The FoFo object. new_region_name : The new "region-name" property value. fo_region_end_get_writing_mode () fo_region_end_get_writing_modeFoProperty* fo_region_end_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo. fo_fo : The FoFo object. Returns : The "writing-mode" property value. fo_region_end_set_writing_mode () fo_region_end_set_writing_modevoid fo_region_end_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode. fo_fo : The FoFo object. new_writing_mode : The new "writing-mode" property value. Property Details The <literal>"background-color"</literal> property FoRegionEnd:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoRegionEnd:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoRegionEnd:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoRegionEnd:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoRegionEnd:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoRegionEnd:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoRegionEnd:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoRegionEnd:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoRegionEnd:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoRegionEnd:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoRegionEnd:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoRegionEnd:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoRegionEnd:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoRegionEnd:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoRegionEnd:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoRegionEnd:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoRegionEnd:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoRegionEnd:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoRegionEnd:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoRegionEnd:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoRegionEnd:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoRegionEnd:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoRegionEnd:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoRegionEnd:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoRegionEnd:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoRegionEnd:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"clip"</literal> property FoRegionEnd:clip "clip" FoProperty* : Read Clip property. The <literal>"display-align"</literal> property FoRegionEnd:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"extent"</literal> property FoRegionEnd:extent "extent" FoProperty* : Read Extent property. The <literal>"overflow"</literal> property FoRegionEnd:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding-after"</literal> property FoRegionEnd:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoRegionEnd:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoRegionEnd:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoRegionEnd:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoRegionEnd:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoRegionEnd:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoRegionEnd:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoRegionEnd:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"region-name"</literal> property FoRegionEnd:region-name "region-name" FoProperty* : Read Region Name property. The <literal>"writing-mode"</literal> property FoRegionEnd:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-region-start.xml0000644000175000017500000037740311156164733015434 00000000000000 region-start 3 XMLROFF Library region-start Synopsis FoRegionStart; FoRegionStartClass; FoFo* fo_region_start_new (void); FoProperty* fo_region_start_get_background_color (FoFo *fo_fo); void fo_region_start_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_region_start_get_background_image (FoFo *fo_fo); void fo_region_start_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_region_start_get_border_after_color (FoFo *fo_fo); void fo_region_start_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_region_start_get_border_after_style (FoFo *fo_fo); void fo_region_start_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_region_start_get_border_after_width (FoFo *fo_fo); void fo_region_start_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_region_start_get_border_before_color (FoFo *fo_fo); void fo_region_start_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_region_start_get_border_before_style (FoFo *fo_fo); void fo_region_start_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_region_start_get_border_before_width (FoFo *fo_fo); void fo_region_start_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_region_start_get_border_bottom_color (FoFo *fo_fo); void fo_region_start_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_region_start_get_border_bottom_style (FoFo *fo_fo); void fo_region_start_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_region_start_get_border_bottom_width (FoFo *fo_fo); void fo_region_start_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_region_start_get_border_end_color (FoFo *fo_fo); void fo_region_start_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_region_start_get_border_end_style (FoFo *fo_fo); void fo_region_start_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_region_start_get_border_end_width (FoFo *fo_fo); void fo_region_start_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_region_start_get_border_left_color (FoFo *fo_fo); void fo_region_start_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_region_start_get_border_left_style (FoFo *fo_fo); void fo_region_start_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_region_start_get_border_left_width (FoFo *fo_fo); void fo_region_start_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_region_start_get_border_right_color (FoFo *fo_fo); void fo_region_start_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_region_start_get_border_right_style (FoFo *fo_fo); void fo_region_start_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_region_start_get_border_right_width (FoFo *fo_fo); void fo_region_start_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_region_start_get_border_start_color (FoFo *fo_fo); void fo_region_start_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_region_start_get_border_start_style (FoFo *fo_fo); void fo_region_start_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_region_start_get_border_start_width (FoFo *fo_fo); void fo_region_start_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_region_start_get_border_top_color (FoFo *fo_fo); void fo_region_start_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_region_start_get_border_top_style (FoFo *fo_fo); void fo_region_start_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_region_start_get_border_top_width (FoFo *fo_fo); void fo_region_start_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_region_start_get_clip (FoFo *fo_fo); void fo_region_start_set_clip (FoFo *fo_fo, FoProperty *new_clip); FoProperty* fo_region_start_get_display_align (FoFo *fo_fo); void fo_region_start_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_region_start_get_extent (FoFo *fo_fo); void fo_region_start_set_extent (FoFo *fo_fo, FoProperty *new_extent); FoProperty* fo_region_start_get_overflow (FoFo *fo_fo); void fo_region_start_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); FoProperty* fo_region_start_get_padding_after (FoFo *fo_fo); void fo_region_start_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_region_start_get_padding_before (FoFo *fo_fo); void fo_region_start_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_region_start_get_padding_bottom (FoFo *fo_fo); void fo_region_start_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_region_start_get_padding_end (FoFo *fo_fo); void fo_region_start_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_region_start_get_padding_left (FoFo *fo_fo); void fo_region_start_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_region_start_get_padding_right (FoFo *fo_fo); void fo_region_start_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_region_start_get_padding_start (FoFo *fo_fo); void fo_region_start_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_region_start_get_padding_top (FoFo *fo_fo); void fo_region_start_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_region_start_get_region_name (FoFo *fo_fo); void fo_region_start_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); FoProperty* fo_region_start_get_writing_mode (FoFo *fo_fo); void fo_region_start_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoRegionStart Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "clip" FoProperty* : Read "display-align" FoProperty* : Read "extent" FoProperty* : Read "overflow" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "region-name" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details FoRegionStart FoRegionStarttypedef struct _FoRegionStart FoRegionStart; Instance of the 'region-start' formatting object. FoRegionStartClass FoRegionStartClasstypedef struct _FoRegionStartClass FoRegionStartClass; Class structure for the 'region-start' formatting object. fo_region_start_new () fo_region_start_newFoFo* fo_region_start_new (void); Creates a new FoRegionStart initialized to default value. Returns : the new FoRegionStart. fo_region_start_get_background_color () fo_region_start_get_background_colorFoProperty* fo_region_start_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_region_start_set_background_color () fo_region_start_set_background_colorvoid fo_region_start_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_region_start_get_background_image () fo_region_start_get_background_imageFoProperty* fo_region_start_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_region_start_set_background_image () fo_region_start_set_background_imagevoid fo_region_start_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_region_start_get_border_after_color () fo_region_start_get_border_after_colorFoProperty* fo_region_start_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_region_start_set_border_after_color () fo_region_start_set_border_after_colorvoid fo_region_start_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_region_start_get_border_after_style () fo_region_start_get_border_after_styleFoProperty* fo_region_start_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_region_start_set_border_after_style () fo_region_start_set_border_after_stylevoid fo_region_start_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_region_start_get_border_after_width () fo_region_start_get_border_after_widthFoProperty* fo_region_start_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_region_start_set_border_after_width () fo_region_start_set_border_after_widthvoid fo_region_start_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_region_start_get_border_before_color () fo_region_start_get_border_before_colorFoProperty* fo_region_start_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_region_start_set_border_before_color () fo_region_start_set_border_before_colorvoid fo_region_start_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_region_start_get_border_before_style () fo_region_start_get_border_before_styleFoProperty* fo_region_start_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_region_start_set_border_before_style () fo_region_start_set_border_before_stylevoid fo_region_start_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_region_start_get_border_before_width () fo_region_start_get_border_before_widthFoProperty* fo_region_start_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_region_start_set_border_before_width () fo_region_start_set_border_before_widthvoid fo_region_start_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_region_start_get_border_bottom_color () fo_region_start_get_border_bottom_colorFoProperty* fo_region_start_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_region_start_set_border_bottom_color () fo_region_start_set_border_bottom_colorvoid fo_region_start_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_region_start_get_border_bottom_style () fo_region_start_get_border_bottom_styleFoProperty* fo_region_start_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_region_start_set_border_bottom_style () fo_region_start_set_border_bottom_stylevoid fo_region_start_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_region_start_get_border_bottom_width () fo_region_start_get_border_bottom_widthFoProperty* fo_region_start_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_region_start_set_border_bottom_width () fo_region_start_set_border_bottom_widthvoid fo_region_start_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_region_start_get_border_end_color () fo_region_start_get_border_end_colorFoProperty* fo_region_start_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_region_start_set_border_end_color () fo_region_start_set_border_end_colorvoid fo_region_start_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_region_start_get_border_end_style () fo_region_start_get_border_end_styleFoProperty* fo_region_start_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_region_start_set_border_end_style () fo_region_start_set_border_end_stylevoid fo_region_start_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_region_start_get_border_end_width () fo_region_start_get_border_end_widthFoProperty* fo_region_start_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_region_start_set_border_end_width () fo_region_start_set_border_end_widthvoid fo_region_start_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_region_start_get_border_left_color () fo_region_start_get_border_left_colorFoProperty* fo_region_start_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_region_start_set_border_left_color () fo_region_start_set_border_left_colorvoid fo_region_start_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_region_start_get_border_left_style () fo_region_start_get_border_left_styleFoProperty* fo_region_start_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_region_start_set_border_left_style () fo_region_start_set_border_left_stylevoid fo_region_start_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_region_start_get_border_left_width () fo_region_start_get_border_left_widthFoProperty* fo_region_start_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_region_start_set_border_left_width () fo_region_start_set_border_left_widthvoid fo_region_start_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_region_start_get_border_right_color () fo_region_start_get_border_right_colorFoProperty* fo_region_start_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_region_start_set_border_right_color () fo_region_start_set_border_right_colorvoid fo_region_start_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_region_start_get_border_right_style () fo_region_start_get_border_right_styleFoProperty* fo_region_start_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_region_start_set_border_right_style () fo_region_start_set_border_right_stylevoid fo_region_start_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_region_start_get_border_right_width () fo_region_start_get_border_right_widthFoProperty* fo_region_start_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_region_start_set_border_right_width () fo_region_start_set_border_right_widthvoid fo_region_start_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_region_start_get_border_start_color () fo_region_start_get_border_start_colorFoProperty* fo_region_start_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_region_start_set_border_start_color () fo_region_start_set_border_start_colorvoid fo_region_start_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_region_start_get_border_start_style () fo_region_start_get_border_start_styleFoProperty* fo_region_start_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_region_start_set_border_start_style () fo_region_start_set_border_start_stylevoid fo_region_start_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_region_start_get_border_start_width () fo_region_start_get_border_start_widthFoProperty* fo_region_start_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_region_start_set_border_start_width () fo_region_start_set_border_start_widthvoid fo_region_start_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_region_start_get_border_top_color () fo_region_start_get_border_top_colorFoProperty* fo_region_start_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_region_start_set_border_top_color () fo_region_start_set_border_top_colorvoid fo_region_start_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_region_start_get_border_top_style () fo_region_start_get_border_top_styleFoProperty* fo_region_start_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_region_start_set_border_top_style () fo_region_start_set_border_top_stylevoid fo_region_start_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_region_start_get_border_top_width () fo_region_start_get_border_top_widthFoProperty* fo_region_start_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_region_start_set_border_top_width () fo_region_start_set_border_top_widthvoid fo_region_start_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_region_start_get_clip () fo_region_start_get_clipFoProperty* fo_region_start_get_clip (FoFo *fo_fo); Gets the "clip" property of fo_fo. fo_fo : The FoFo object. Returns : The "clip" property value. fo_region_start_set_clip () fo_region_start_set_clipvoid fo_region_start_set_clip (FoFo *fo_fo, FoProperty *new_clip); Sets the "clip" property of fo_fo to new_clip. fo_fo : The FoFo object. new_clip : The new "clip" property value. fo_region_start_get_display_align () fo_region_start_get_display_alignFoProperty* fo_region_start_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo. fo_fo : The FoFo object. Returns : The "display-align" property value. fo_region_start_set_display_align () fo_region_start_set_display_alignvoid fo_region_start_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align. fo_fo : The FoFo object. new_display_align : The new "display-align" property value. fo_region_start_get_extent () fo_region_start_get_extentFoProperty* fo_region_start_get_extent (FoFo *fo_fo); Gets the "extent" property of fo_fo. fo_fo : The FoFo object. Returns : The "extent" property value. fo_region_start_set_extent () fo_region_start_set_extentvoid fo_region_start_set_extent (FoFo *fo_fo, FoProperty *new_extent); Sets the "extent" property of fo_fo to new_extent. fo_fo : The FoFo object. new_extent : The new "extent" property value. fo_region_start_get_overflow () fo_region_start_get_overflowFoProperty* fo_region_start_get_overflow (FoFo *fo_fo); Gets the "overflow" property of fo_fo. fo_fo : The FoFo object. Returns : The "overflow" property value. fo_region_start_set_overflow () fo_region_start_set_overflowvoid fo_region_start_set_overflow (FoFo *fo_fo, FoProperty *new_overflow); Sets the "overflow" property of fo_fo to new_overflow. fo_fo : The FoFo object. new_overflow : The new "overflow" property value. fo_region_start_get_padding_after () fo_region_start_get_padding_afterFoProperty* fo_region_start_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_region_start_set_padding_after () fo_region_start_set_padding_aftervoid fo_region_start_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_region_start_get_padding_before () fo_region_start_get_padding_beforeFoProperty* fo_region_start_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_region_start_set_padding_before () fo_region_start_set_padding_beforevoid fo_region_start_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_region_start_get_padding_bottom () fo_region_start_get_padding_bottomFoProperty* fo_region_start_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_region_start_set_padding_bottom () fo_region_start_set_padding_bottomvoid fo_region_start_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_region_start_get_padding_end () fo_region_start_get_padding_endFoProperty* fo_region_start_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_region_start_set_padding_end () fo_region_start_set_padding_endvoid fo_region_start_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_region_start_get_padding_left () fo_region_start_get_padding_leftFoProperty* fo_region_start_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_region_start_set_padding_left () fo_region_start_set_padding_leftvoid fo_region_start_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_region_start_get_padding_right () fo_region_start_get_padding_rightFoProperty* fo_region_start_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_region_start_set_padding_right () fo_region_start_set_padding_rightvoid fo_region_start_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_region_start_get_padding_start () fo_region_start_get_padding_startFoProperty* fo_region_start_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_region_start_set_padding_start () fo_region_start_set_padding_startvoid fo_region_start_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_region_start_get_padding_top () fo_region_start_get_padding_topFoProperty* fo_region_start_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_region_start_set_padding_top () fo_region_start_set_padding_topvoid fo_region_start_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_region_start_get_region_name () fo_region_start_get_region_nameFoProperty* fo_region_start_get_region_name (FoFo *fo_fo); Gets the "region-name" property of fo_fo. fo_fo : The FoFo object. Returns : The "region-name" property value. fo_region_start_set_region_name () fo_region_start_set_region_namevoid fo_region_start_set_region_name (FoFo *fo_fo, FoProperty *new_region_name); Sets the "region-name" property of fo_fo to new_region_name. fo_fo : The FoFo object. new_region_name : The new "region-name" property value. fo_region_start_get_writing_mode () fo_region_start_get_writing_modeFoProperty* fo_region_start_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo. fo_fo : The FoFo object. Returns : The "writing-mode" property value. fo_region_start_set_writing_mode () fo_region_start_set_writing_modevoid fo_region_start_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode. fo_fo : The FoFo object. new_writing_mode : The new "writing-mode" property value. Property Details The <literal>"background-color"</literal> property FoRegionStart:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoRegionStart:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoRegionStart:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoRegionStart:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoRegionStart:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoRegionStart:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoRegionStart:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoRegionStart:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoRegionStart:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoRegionStart:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoRegionStart:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoRegionStart:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoRegionStart:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoRegionStart:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoRegionStart:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoRegionStart:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoRegionStart:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoRegionStart:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoRegionStart:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoRegionStart:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoRegionStart:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoRegionStart:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoRegionStart:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoRegionStart:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoRegionStart:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoRegionStart:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"clip"</literal> property FoRegionStart:clip "clip" FoProperty* : Read Clip property. The <literal>"display-align"</literal> property FoRegionStart:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"extent"</literal> property FoRegionStart:extent "extent" FoProperty* : Read Extent property. The <literal>"overflow"</literal> property FoRegionStart:overflow "overflow" FoProperty* : Read Overflow property. The <literal>"padding-after"</literal> property FoRegionStart:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoRegionStart:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoRegionStart:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoRegionStart:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoRegionStart:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoRegionStart:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoRegionStart:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoRegionStart:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"region-name"</literal> property FoRegionStart:region-name "region-name" FoProperty* : Read Region Name property. The <literal>"writing-mode"</literal> property FoRegionStart:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-repeatable-page-master-alternatives.xml0000644000175000017500000000710311156164733022007 00000000000000 repeatable-page-master-alternatives 3 XMLROFF Library repeatable-page-master-alternatives Synopsis FoRepeatablePageMasterAlternatives; FoRepeatablePageMasterAlternativesClass; FoFo* fo_repeatable_page_master_alternatives_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoRepeatablePageMasterAlternatives Description Details FoRepeatablePageMasterAlternatives FoRepeatablePageMasterAlternativestypedef struct _FoRepeatablePageMasterAlternatives FoRepeatablePageMasterAlternatives; FoRepeatablePageMasterAlternativesClass FoRepeatablePageMasterAlternativesClasstypedef struct { FoFoClass parent_class; } FoRepeatablePageMasterAlternativesClass; fo_repeatable_page_master_alternatives_new () fo_repeatable_page_master_alternatives_newFoFo* fo_repeatable_page_master_alternatives_new (void); Creates a new FoRepeatablePageMasterAlternatives initialized to default value. Returns : the new FoRepeatablePageMasterAlternatives. xmlroff-0.6.2/docs/xml/fo-repeatable-page-master-reference.xml0000644000175000017500000001655011156164733021252 00000000000000 repeatable-page-master-reference 3 XMLROFF Library repeatable-page-master-reference Synopsis FoRepeatablePageMasterReference; FoRepeatablePageMasterReferenceClass; FoFo* fo_repeatable_page_master_reference_new (void); void fo_repeatable_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); FoProperty* fo_repeatable_page_master_reference_get_master_reference (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoRepeatablePageMasterReference Properties "master-reference" FoProperty* : Read Description Details FoRepeatablePageMasterReference FoRepeatablePageMasterReferencetypedef struct _FoRepeatablePageMasterReference FoRepeatablePageMasterReference; FoRepeatablePageMasterReferenceClass FoRepeatablePageMasterReferenceClasstypedef struct _FoRepeatablePageMasterReferenceClass FoRepeatablePageMasterReferenceClass; fo_repeatable_page_master_reference_new () fo_repeatable_page_master_reference_newFoFo* fo_repeatable_page_master_reference_new (void); Creates a new FoRepeatablePageMasterReference initialized to default value. Returns : the new FoRepeatablePageMasterReference. fo_repeatable_page_master_reference_set_master_reference () fo_repeatable_page_master_reference_set_master_referencevoid fo_repeatable_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); Sets the "master-reference" property of fo_fo to new_master_reference fo_fo : The FoFo object new_master_reference : The new "master-reference" property value fo_repeatable_page_master_reference_get_master_reference () fo_repeatable_page_master_reference_get_master_referenceFoProperty* fo_repeatable_page_master_reference_get_master_reference (FoFo *fo_fo); Gets the "master-reference" property of fo_fo. fo_fo : The FoFo object. Returns : The "master-reference" property value. Property Details The <literal>"master-reference"</literal> property FoRepeatablePageMasterReference:master-reference "master-reference" FoProperty* : Read Master Reference property. xmlroff-0.6.2/docs/xml/fo-retrieve-marker.xml0000644000175000017500000001047711156164733016115 00000000000000 fo-retrieve-marker 3 XMLROFF Library fo-retrieve-marker Synopsis FoRetrieveMarker; FoRetrieveMarkerClass; FoFo* fo_retrieve_marker_new (void); void fo_retrieve_marker_update_from_context (FoFo *fo, FoContext *context); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoRetrieveMarker Implemented Interfaces FoRetrieveMarker implements FoNeutralIface. Description Details FoRetrieveMarker FoRetrieveMarkertypedef struct _FoRetrieveMarker FoRetrieveMarker; FoRetrieveMarkerClass FoRetrieveMarkerClasstypedef struct _FoRetrieveMarkerClass FoRetrieveMarkerClass; fo_retrieve_marker_new () fo_retrieve_marker_newFoFo* fo_retrieve_marker_new (void); Creates a new FoRetrieveMarker initialized to default value. Returns : the new FoRetrieveMarker fo_retrieve_marker_update_from_context () fo_retrieve_marker_update_from_contextvoid fo_retrieve_marker_update_from_context (FoFo *fo, FoContext *context); fo : context : xmlroff-0.6.2/docs/xml/fo-root.xml0000644000175000017500000001325211156164733013766 00000000000000 root 3 XMLROFF Library root 'root' formatting object Synopsis FoRoot; FoRootClass; FoFo* fo_root_new (void); FoProperty* fo_root_get_media_usage (FoFo *fo_fo); void fo_root_set_media_usage (FoFo *fo_fo, FoProperty *new_media_usage); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoRoot Properties "media-usage" FoProperty* : Read Description Definition: http://www.w3.org/TR/xsl11/#fo_root Details FoRoot FoRoottypedef struct _FoRoot FoRoot; FoRootClass FoRootClasstypedef struct _FoRootClass FoRootClass; fo_root_new () fo_root_newFoFo* fo_root_new (void); Creates a new FoRoot initialized to default value. Returns : the new FoRoot. fo_root_get_media_usage () fo_root_get_media_usageFoProperty* fo_root_get_media_usage (FoFo *fo_fo); Gets the "media-usage" property of fo_fo. fo_fo : The FoFo object. Returns : The "media-usage" property value. fo_root_set_media_usage () fo_root_set_media_usagevoid fo_root_set_media_usage (FoFo *fo_fo, FoProperty *new_media_usage); Sets the "media-usage" property of fo_fo to new_media_usage. fo_fo : The FoFo object. new_media_usage : The new "media-usage" property value. Property Details The <literal>"media-usage"</literal> property FoRoot:media-usage "media-usage" FoProperty* : Read Media Usage property. xmlroff-0.6.2/docs/xml/fo-simple-page-master.xml0000644000175000017500000013132011156164733016474 00000000000000 simple-page-master 3 XMLROFF Library simple-page-master Synopsis FoSimplePageMaster; FoSimplePageMasterClass; FoFo* fo_simple_page_master_new (void); FoProperty* fo_simple_page_master_get_end_indent (FoFo *fo_fo); void fo_simple_page_master_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty* fo_simple_page_master_get_margin_bottom (FoFo *fo_fo); void fo_simple_page_master_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty* fo_simple_page_master_get_margin_left (FoFo *fo_fo); void fo_simple_page_master_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty* fo_simple_page_master_get_margin_right (FoFo *fo_fo); void fo_simple_page_master_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty* fo_simple_page_master_get_margin_top (FoFo *fo_fo); void fo_simple_page_master_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty* fo_simple_page_master_get_master_name (FoFo *fo_fo); void fo_simple_page_master_set_master_name (FoFo *fo_fo, FoProperty *new_master_name); FoProperty* fo_simple_page_master_get_page_height (FoFo *fo_fo); void fo_simple_page_master_set_page_height (FoFo *fo_fo, FoProperty *new_page_height); FoProperty* fo_simple_page_master_get_page_width (FoFo *fo_fo); void fo_simple_page_master_set_page_width (FoFo *fo_fo, FoProperty *new_page_width); FoProperty* fo_simple_page_master_get_space_after (FoFo *fo_fo); void fo_simple_page_master_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty* fo_simple_page_master_get_space_before (FoFo *fo_fo); void fo_simple_page_master_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty* fo_simple_page_master_get_start_indent (FoFo *fo_fo); void fo_simple_page_master_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty* fo_simple_page_master_get_writing_mode (FoFo *fo_fo); void fo_simple_page_master_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); FoFo* fo_simple_page_master_region_name_get (FoFo *simple_page_master, const gchar *name); void fo_simple_page_master_region_name_add (FoFo *simple_page_master, const gchar *name, FoFo *fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoSimplePageMaster Properties "end-indent" FoProperty* : Read "margin-bottom" FoProperty* : Read "margin-left" FoProperty* : Read "margin-right" FoProperty* : Read "margin-top" FoProperty* : Read "master-name" FoProperty* : Read "page-height" FoProperty* : Read "page-width" FoProperty* : Read "space-after" FoProperty* : Read "space-before" FoProperty* : Read "start-indent" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details FoSimplePageMaster FoSimplePageMastertypedef struct _FoSimplePageMaster FoSimplePageMaster; FoSimplePageMasterClass FoSimplePageMasterClasstypedef struct _FoSimplePageMasterClass FoSimplePageMasterClass; fo_simple_page_master_new () fo_simple_page_master_newFoFo* fo_simple_page_master_new (void); Creates a new FoSimplePageMaster initialized to default value. Returns : the new FoSimplePageMaster. fo_simple_page_master_get_end_indent () fo_simple_page_master_get_end_indentFoProperty* fo_simple_page_master_get_end_indent (FoFo *fo_fo); Gets the "end-indent" property of fo_fo. fo_fo : The FoFo object. Returns : The "end-indent" property value. fo_simple_page_master_set_end_indent () fo_simple_page_master_set_end_indentvoid fo_simple_page_master_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); Sets the "end-indent" property of fo_fo to new_end_indent fo_fo : The FoFo object new_end_indent : The new "end-indent" property value fo_simple_page_master_get_margin_bottom () fo_simple_page_master_get_margin_bottomFoProperty* fo_simple_page_master_get_margin_bottom (FoFo *fo_fo); Gets the "margin-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-bottom" property value. fo_simple_page_master_set_margin_bottom () fo_simple_page_master_set_margin_bottomvoid fo_simple_page_master_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_fo to new_margin_bottom fo_fo : The FoFo object new_margin_bottom : The new "margin-bottom" property value fo_simple_page_master_get_margin_left () fo_simple_page_master_get_margin_leftFoProperty* fo_simple_page_master_get_margin_left (FoFo *fo_fo); Gets the "margin-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-left" property value. fo_simple_page_master_set_margin_left () fo_simple_page_master_set_margin_leftvoid fo_simple_page_master_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); Sets the "margin-left" property of fo_fo to new_margin_left fo_fo : The FoFo object new_margin_left : The new "margin-left" property value fo_simple_page_master_get_margin_right () fo_simple_page_master_get_margin_rightFoProperty* fo_simple_page_master_get_margin_right (FoFo *fo_fo); Gets the "margin-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-right" property value. fo_simple_page_master_set_margin_right () fo_simple_page_master_set_margin_rightvoid fo_simple_page_master_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); Sets the "margin-right" property of fo_fo to new_margin_right fo_fo : The FoFo object new_margin_right : The new "margin-right" property value fo_simple_page_master_get_margin_top () fo_simple_page_master_get_margin_topFoProperty* fo_simple_page_master_get_margin_top (FoFo *fo_fo); Gets the "margin-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "margin-top" property value. fo_simple_page_master_set_margin_top () fo_simple_page_master_set_margin_topvoid fo_simple_page_master_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); Sets the "margin-top" property of fo_fo to new_margin_top fo_fo : The FoFo object new_margin_top : The new "margin-top" property value fo_simple_page_master_get_master_name () fo_simple_page_master_get_master_nameFoProperty* fo_simple_page_master_get_master_name (FoFo *fo_fo); Gets the "master-name" property of fo_fo. fo_fo : The FoFo object. Returns : The "master-name" property value. fo_simple_page_master_set_master_name () fo_simple_page_master_set_master_namevoid fo_simple_page_master_set_master_name (FoFo *fo_fo, FoProperty *new_master_name); Sets the "master-name" property of fo_fo to new_master_name fo_fo : The FoFo object new_master_name : The new "master-name" property value fo_simple_page_master_get_page_height () fo_simple_page_master_get_page_heightFoProperty* fo_simple_page_master_get_page_height (FoFo *fo_fo); Gets the "page-height" property of fo_fo. fo_fo : The FoFo object. Returns : The "page-height" property value. fo_simple_page_master_set_page_height () fo_simple_page_master_set_page_heightvoid fo_simple_page_master_set_page_height (FoFo *fo_fo, FoProperty *new_page_height); Sets the "page-height" property of fo_fo to new_page_height fo_fo : The FoFo object new_page_height : The new "page-height" property value fo_simple_page_master_get_page_width () fo_simple_page_master_get_page_widthFoProperty* fo_simple_page_master_get_page_width (FoFo *fo_fo); Gets the "page-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "page-width" property value. fo_simple_page_master_set_page_width () fo_simple_page_master_set_page_widthvoid fo_simple_page_master_set_page_width (FoFo *fo_fo, FoProperty *new_page_width); Sets the "page-width" property of fo_fo to new_page_width fo_fo : The FoFo object new_page_width : The new "page-width" property value fo_simple_page_master_get_space_after () fo_simple_page_master_get_space_afterFoProperty* fo_simple_page_master_get_space_after (FoFo *fo_fo); Gets the "space-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-after" property value. fo_simple_page_master_set_space_after () fo_simple_page_master_set_space_aftervoid fo_simple_page_master_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); Sets the "space-after" property of fo_fo to new_space_after fo_fo : The FoFo object new_space_after : The new "space-after" property value fo_simple_page_master_get_space_before () fo_simple_page_master_get_space_beforeFoProperty* fo_simple_page_master_get_space_before (FoFo *fo_fo); Gets the "space-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "space-before" property value. fo_simple_page_master_set_space_before () fo_simple_page_master_set_space_beforevoid fo_simple_page_master_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); Sets the "space-before" property of fo_fo to new_space_before fo_fo : The FoFo object new_space_before : The new "space-before" property value fo_simple_page_master_get_start_indent () fo_simple_page_master_get_start_indentFoProperty* fo_simple_page_master_get_start_indent (FoFo *fo_fo); Gets the "start-indent" property of fo_fo. fo_fo : The FoFo object. Returns : The "start-indent" property value. fo_simple_page_master_set_start_indent () fo_simple_page_master_set_start_indentvoid fo_simple_page_master_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Sets the "start-indent" property of fo_fo to new_start_indent fo_fo : The FoFo object new_start_indent : The new "start-indent" property value fo_simple_page_master_get_writing_mode () fo_simple_page_master_get_writing_modeFoProperty* fo_simple_page_master_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo. fo_fo : The FoFo object. Returns : The "writing-mode" property value. fo_simple_page_master_set_writing_mode () fo_simple_page_master_set_writing_modevoid fo_simple_page_master_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode fo_fo : The FoFo object new_writing_mode : The new "writing-mode" property value fo_simple_page_master_region_name_get () fo_simple_page_master_region_name_getFoFo* fo_simple_page_master_region_name_get (FoFo *simple_page_master, const gchar *name); Get the page region object for a page region name. simple_page_master : FoSimplePageMaster that has hash of regions name : Name of page region Returns : Page region object fo_simple_page_master_region_name_add () fo_simple_page_master_region_name_addvoid fo_simple_page_master_region_name_add (FoFo *simple_page_master, const gchar *name, FoFo *fo); Add a page region object to the page region name/object hash maintained by simple_page_master. simple_page_master : FoSimplePageMaster name : Name of the page region fo : The page region object Property Details The <literal>"end-indent"</literal> property FoSimplePageMaster:end-indent "end-indent" FoProperty* : Read End Indent property. The <literal>"margin-bottom"</literal> property FoSimplePageMaster:margin-bottom "margin-bottom" FoProperty* : Read Margin Bottom property. The <literal>"margin-left"</literal> property FoSimplePageMaster:margin-left "margin-left" FoProperty* : Read Margin Left property. The <literal>"margin-right"</literal> property FoSimplePageMaster:margin-right "margin-right" FoProperty* : Read Margin Right property. The <literal>"margin-top"</literal> property FoSimplePageMaster:margin-top "margin-top" FoProperty* : Read Margin Top property. The <literal>"master-name"</literal> property FoSimplePageMaster:master-name "master-name" FoProperty* : Read Master Name property. The <literal>"page-height"</literal> property FoSimplePageMaster:page-height "page-height" FoProperty* : Read Page Height property. The <literal>"page-width"</literal> property FoSimplePageMaster:page-width "page-width" FoProperty* : Read Page Width property. The <literal>"space-after"</literal> property FoSimplePageMaster:space-after "space-after" FoProperty* : Read Space After property. The <literal>"space-before"</literal> property FoSimplePageMaster:space-before "space-before" FoProperty* : Read Space Before property. The <literal>"start-indent"</literal> property FoSimplePageMaster:start-indent "start-indent" FoProperty* : Read Start Indent property. The <literal>"writing-mode"</literal> property FoSimplePageMaster:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-single-page-master-reference.xml0000644000175000017500000001602411156164733020423 00000000000000 single-page-master-reference 3 XMLROFF Library single-page-master-reference Synopsis FoSinglePageMasterReference; FoSinglePageMasterReferenceClass; FoFo* fo_single_page_master_reference_new (void); FoProperty* fo_single_page_master_reference_get_master_reference (FoFo *fo_fo); void fo_single_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoSinglePageMasterReference Properties "master-reference" FoProperty* : Read Description Details FoSinglePageMasterReference FoSinglePageMasterReferencetypedef struct _FoSinglePageMasterReference FoSinglePageMasterReference; FoSinglePageMasterReferenceClass FoSinglePageMasterReferenceClasstypedef struct _FoSinglePageMasterReferenceClass FoSinglePageMasterReferenceClass; fo_single_page_master_reference_new () fo_single_page_master_reference_newFoFo* fo_single_page_master_reference_new (void); Creates a new FoSinglePageMasterReference initialized to default value. Returns : the new FoSinglePageMasterReference. fo_single_page_master_reference_get_master_reference () fo_single_page_master_reference_get_master_referenceFoProperty* fo_single_page_master_reference_get_master_reference (FoFo *fo_fo); Gets the "master-reference" property of fo_fo. fo_fo : The FoFo object. Returns : The "master-reference" property value. fo_single_page_master_reference_set_master_reference () fo_single_page_master_reference_set_master_referencevoid fo_single_page_master_reference_set_master_reference (FoFo *fo_fo, FoProperty *new_master_reference); Sets the "master-reference" property of fo_fo to new_master_reference fo_fo : The FoFo object new_master_reference : The new "master-reference" property value Property Details The <literal>"master-reference"</literal> property FoSinglePageMasterReference:master-reference "master-reference" FoProperty* : Read Master Reference property. xmlroff-0.6.2/docs/xml/fo-space.xml0000644000175000017500000005544511156164733014110 00000000000000 FoSpace 3 XMLROFF Library FoSpace Synopsis FoSpace; FoSpaceClass; FoDatatype* fo_space_new (void); FoDatatype* fo_space_new_from_length (FoDatatype *length); void fo_space_set_minimum (FoDatatype *datatype, gfloat new_minimum); gfloat fo_space_get_minimum (FoDatatype *datatype); void fo_space_set_optimum (FoDatatype *datatype, gfloat new_optimum); gfloat fo_space_get_optimum (FoDatatype *datatype); void fo_space_set_maximum (FoDatatype *datatype, gfloat new_maximum); gfloat fo_space_get_maximum (FoDatatype *datatype); void fo_space_set_precedence (FoDatatype *datatype, gint new_precedence); gint fo_space_get_precedence (FoDatatype *datatype); void fo_space_set_condity (FoDatatype *datatype, gboolean new_condity); gboolean fo_space_get_condity (FoDatatype *datatype); FoDatatype* fo_space_get_space_0pt (void); FoDatatype* fo_space_resolve (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, FoDatatype *precedence, FoDatatype *condity, gfloat hundred_percent, GError **error); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoSpace Properties "conditionality" gboolean : Read / Write / Construct Only "maximum" gfloat : Read / Write / Construct Only "minimum" gfloat : Read / Write / Construct Only "optimum" gfloat : Read / Write / Construct Only "precedence" gint : Read / Write / Construct Only Description Details FoSpace FoSpacetypedef struct _FoSpace FoSpace; FoSpaceClass FoSpaceClasstypedef struct _FoSpaceClass FoSpaceClass; fo_space_new () fo_space_newFoDatatype* fo_space_new (void); Creates a new FoSpace initialized to default value. Returns : the new FoSpace fo_space_new_from_length () fo_space_new_from_lengthFoDatatype* fo_space_new_from_length (FoDatatype *length); Creates a new FoSpace with .minimum, .optimum, and .maximum components set to length and .conditionality and .precedence components set to default values. length : FoLength to use as initial value Returns : New FoSpace fo_space_set_minimum () fo_space_set_minimumvoid fo_space_set_minimum (FoDatatype *datatype, gfloat new_minimum); Sets the .minimum component of datatype datatype : FoSpace new_minimum : New .minimum value fo_space_get_minimum () fo_space_get_minimumgfloat fo_space_get_minimum (FoDatatype *datatype); Gets the .minimum component value of datatype datatype : FoSpace Returns : The .minimum value of datatype fo_space_set_optimum () fo_space_set_optimumvoid fo_space_set_optimum (FoDatatype *datatype, gfloat new_optimum); Sets the .optimum component of datatype datatype : FoSpace new_optimum : New .optimum value fo_space_get_optimum () fo_space_get_optimumgfloat fo_space_get_optimum (FoDatatype *datatype); Gets the .optimum component value of datatype datatype : FoSpace Returns : The .optimum value of datatype fo_space_set_maximum () fo_space_set_maximumvoid fo_space_set_maximum (FoDatatype *datatype, gfloat new_maximum); Sets the .maximum component of datatype datatype : FoSpace new_maximum : New .maximum value fo_space_get_maximum () fo_space_get_maximumgfloat fo_space_get_maximum (FoDatatype *datatype); Gets the .maximum component value of datatype datatype : FoSpace Returns : The .maximum value of datatype fo_space_set_precedence () fo_space_set_precedencevoid fo_space_set_precedence (FoDatatype *datatype, gint new_precedence); Sets the .precedence component of datatype datatype : FoSpace new_precedence : New .precedence value fo_space_get_precedence () fo_space_get_precedencegint fo_space_get_precedence (FoDatatype *datatype); Gets the .precedence component value of datatype datatype : FoSpace Returns : The .precedence value of datatype fo_space_set_condity () fo_space_set_condityvoid fo_space_set_condity (FoDatatype *datatype, gboolean new_condity); Sets the .conditionality component value of datatype datatype : FoSpace. new_condity : New .conditionality component value. fo_space_get_condity () fo_space_get_conditygboolean fo_space_get_condity (FoDatatype *datatype); Gets the .conditionality component value of datatype datatype : FoSpace Returns : The .conditionality value of datatype fo_space_get_space_0pt () fo_space_get_space_0ptFoDatatype* fo_space_get_space_0pt (void); Create and return an FoSpace with the well-known value 0pt. This saves creation of multiple FoSpace objects that all have the value 0pt. Returns : FoSpace with value 0pt. fo_space_resolve () fo_space_resolveFoDatatype* fo_space_resolve (FoDatatype *shortform, FoDatatype *minimum, FoDatatype *optimum, FoDatatype *maximum, FoDatatype *precedence, FoDatatype *condity, gfloat hundred_percent, GError **error); Resolve the shortform and components of the space in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation. shortform : Single-value short form of the space, or NULL minimum : .minimum component of the space, or NULL optimum : .optimum component of the space, or NULL maximum : .maximum component of the space, or NULL precedence : .precedence component of the space, or NULL condity : .conditionality component of the space, or NULL hundred_percent : Length to use as 100% when components expressed as percentages error : GError used for reporting errors Returns : Compound space datatype, or NULL if an error occurred Property Details The <literal>"conditionality"</literal> property FoSpace:conditionality "conditionality" gboolean : Read / Write / Construct Only Whether or not the space must always be retained.Default value: FALSE The <literal>"maximum"</literal> property FoSpace:maximum "maximum" gfloat : Read / Write / Construct Only Space range maximum value.Default value: 0 The <literal>"minimum"</literal> property FoSpace:minimum "minimum" gfloat : Read / Write / Construct Only Space range minimum value.Default value: 0 The <literal>"optimum"</literal> property FoSpace:optimum "optimum" gfloat : Read / Write / Construct Only Space range optimum value.Default value: 0 The <literal>"precedence"</literal> property FoSpace:precedence "precedence" gint : Read / Write / Construct Only Precedence of this space compared to others.Default value: 0 xmlroff-0.6.2/docs/xml/fo-static-content.xml0000644000175000017500000001407611156164733015747 00000000000000 static-content 3 XMLROFF Library static-content Synopsis FoStaticContent; FoStaticContentClass; FoFo* fo_static_content_new (void); FoProperty* fo_static_content_get_flow_name (FoFo *fo_fo); void fo_static_content_set_flow_name (FoFo *fo_fo, FoProperty *new_flow_name); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoStaticContent Properties "flow-name" FoProperty* : Read Description Details FoStaticContent FoStaticContenttypedef struct _FoStaticContent FoStaticContent; Instance of the 'static-content' formatting object. FoStaticContentClass FoStaticContentClasstypedef struct _FoStaticContentClass FoStaticContentClass; Class structure for the 'static-content' formatting object. fo_static_content_new () fo_static_content_newFoFo* fo_static_content_new (void); Creates a new FoStaticContent initialized to default value. Returns : the new FoStaticContent. fo_static_content_get_flow_name () fo_static_content_get_flow_nameFoProperty* fo_static_content_get_flow_name (FoFo *fo_fo); Gets the "flow-name" property of fo_fo. fo_fo : The FoFo object. Returns : The "flow-name" property value. fo_static_content_set_flow_name () fo_static_content_set_flow_namevoid fo_static_content_set_flow_name (FoFo *fo_fo, FoProperty *new_flow_name); Sets the "flow-name" property of fo_fo to new_flow_name fo_fo : The FoFo object new_flow_name : The new "flow-name" property value Property Details The <literal>"flow-name"</literal> property FoStaticContent:flow-name "flow-name" FoProperty* : Read Flow Name property. xmlroff-0.6.2/docs/xml/fo-string.xml0000644000175000017500000001450111156164733014307 00000000000000 FoString 3 XMLROFF Library FoString Synopsis FoString; FoStringClass; FoDatatype* fo_string_new (void); FoDatatype* fo_string_new_with_value (const gchar *value); gchar* fo_string_get_value (FoDatatype *string); FoDatatype* fo_string_get_string_one (void); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoString Properties "value" gchar* : Read / Write / Construct Only Description Details FoString FoStringtypedef struct _FoString FoString; FoStringClass FoStringClasstypedef struct _FoStringClass FoStringClass; fo_string_new () fo_string_newFoDatatype* fo_string_new (void); Creates a new FoString initialized to default value. Returns : the new FoString fo_string_new_with_value () fo_string_new_with_valueFoDatatype* fo_string_new_with_value (const gchar *value); Creates a new FoString set to value. value : String of the new FoString. Returns : The new FoString. fo_string_get_value () fo_string_get_valuegchar* fo_string_get_value (FoDatatype *string); Get the value of string. string : FoString. Returns : Numeric value of string. fo_string_get_string_one () fo_string_get_string_oneFoDatatype* fo_string_get_string_one (void); Create and return an FoString with the well-known value "1". This saves creation of multiple FoString objects that all have the value "1". Returns : FoString with value "1". Property Details The <literal>"value"</literal> property FoString:value "value" gchar* : Read / Write / Construct Only String value.Default value: NULL xmlroff-0.6.2/docs/xml/fo-table-and-caption.xml0000644000175000017500000062114711156164733016275 00000000000000 table-and-caption 3 XMLROFF Library table-and-caption Synopsis FoTableAndCaption; FoTableAndCaptionClass; FoFo* fo_table_and_caption_new (void); FoProperty* fo_table_and_caption_get_background_color (FoFo *fo_fo); void fo_table_and_caption_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_and_caption_get_background_image (FoFo *fo_fo); void fo_table_and_caption_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_and_caption_get_border_after_color (FoFo *fo_fo); void fo_table_and_caption_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_and_caption_get_border_after_style (FoFo *fo_fo); void fo_table_and_caption_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_and_caption_get_border_after_width (FoFo *fo_fo); void fo_table_and_caption_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_and_caption_get_border_before_color (FoFo *fo_fo); void fo_table_and_caption_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_and_caption_get_border_before_style (FoFo *fo_fo); void fo_table_and_caption_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_and_caption_get_border_before_width (FoFo *fo_fo); void fo_table_and_caption_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_and_caption_get_border_bottom_color (FoFo *fo_fo); void fo_table_and_caption_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_and_caption_get_border_bottom_style (FoFo *fo_fo); void fo_table_and_caption_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_and_caption_get_border_bottom_width (FoFo *fo_fo); void fo_table_and_caption_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_and_caption_get_border_end_color (FoFo *fo_fo); void fo_table_and_caption_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_and_caption_get_border_end_style (FoFo *fo_fo); void fo_table_and_caption_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_and_caption_get_border_end_width (FoFo *fo_fo); void fo_table_and_caption_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_and_caption_get_border_left_color (FoFo *fo_fo); void fo_table_and_caption_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_and_caption_get_border_left_style (FoFo *fo_fo); void fo_table_and_caption_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_and_caption_get_border_left_width (FoFo *fo_fo); void fo_table_and_caption_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_and_caption_get_border_right_color (FoFo *fo_fo); void fo_table_and_caption_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_and_caption_get_border_right_style (FoFo *fo_fo); void fo_table_and_caption_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_and_caption_get_border_right_width (FoFo *fo_fo); void fo_table_and_caption_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_and_caption_get_border_start_color (FoFo *fo_fo); void fo_table_and_caption_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_and_caption_get_border_start_style (FoFo *fo_fo); void fo_table_and_caption_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_and_caption_get_border_start_width (FoFo *fo_fo); void fo_table_and_caption_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_and_caption_get_border_top_color (FoFo *fo_fo); void fo_table_and_caption_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_and_caption_get_border_top_style (FoFo *fo_fo); void fo_table_and_caption_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_and_caption_get_border_top_width (FoFo *fo_fo); void fo_table_and_caption_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_and_caption_get_break_after (FoFo *fo_fo); void fo_table_and_caption_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty* fo_table_and_caption_get_break_before (FoFo *fo_fo); void fo_table_and_caption_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty* fo_table_and_caption_get_end_indent (FoFo *fo_fo); void fo_table_and_caption_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty* fo_table_and_caption_get_id (FoFo *fo_fo); void fo_table_and_caption_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_and_caption_get_keep_together (FoFo *fo_fo); void fo_table_and_caption_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_table_and_caption_get_keep_together_within_column (FoFo *fo_fo); void fo_table_and_caption_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_table_and_caption_get_keep_together_within_line (FoFo *fo_fo); void fo_table_and_caption_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_table_and_caption_get_keep_together_within_page (FoFo *fo_fo); void fo_table_and_caption_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_table_and_caption_get_keep_with_next (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_table_and_caption_get_keep_with_next_within_column (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_table_and_caption_get_keep_with_next_within_line (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_table_and_caption_get_keep_with_next_within_page (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_table_and_caption_get_keep_with_previous (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_table_and_caption_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_table_and_caption_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_table_and_caption_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_table_and_caption_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_table_and_caption_get_margin_bottom (FoFo *fo_fo); void fo_table_and_caption_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty* fo_table_and_caption_get_margin_left (FoFo *fo_fo); void fo_table_and_caption_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty* fo_table_and_caption_get_margin_right (FoFo *fo_fo); void fo_table_and_caption_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty* fo_table_and_caption_get_margin_top (FoFo *fo_fo); void fo_table_and_caption_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty* fo_table_and_caption_get_padding_after (FoFo *fo_fo); void fo_table_and_caption_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_and_caption_get_padding_before (FoFo *fo_fo); void fo_table_and_caption_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_and_caption_get_padding_bottom (FoFo *fo_fo); void fo_table_and_caption_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_and_caption_get_padding_end (FoFo *fo_fo); void fo_table_and_caption_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_and_caption_get_padding_left (FoFo *fo_fo); void fo_table_and_caption_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_and_caption_get_padding_right (FoFo *fo_fo); void fo_table_and_caption_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_and_caption_get_padding_start (FoFo *fo_fo); void fo_table_and_caption_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_and_caption_get_padding_top (FoFo *fo_fo); void fo_table_and_caption_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_and_caption_get_role (FoFo *fo_fo); void fo_table_and_caption_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_and_caption_get_source_document (FoFo *fo_fo); void fo_table_and_caption_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_table_and_caption_get_space_after (FoFo *fo_fo); void fo_table_and_caption_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty* fo_table_and_caption_get_space_before (FoFo *fo_fo); void fo_table_and_caption_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty* fo_table_and_caption_get_start_indent (FoFo *fo_fo); void fo_table_and_caption_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty* fo_table_and_caption_get_text_align (FoFo *fo_fo); void fo_table_and_caption_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoTableAndCaption Implemented Interfaces FoTableAndCaption implements FoBlockFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "break-after" FoProperty* : Read "break-before" FoProperty* : Read "end-indent" FoProperty* : Read "id" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "margin-bottom" FoProperty* : Read "margin-left" FoProperty* : Read "margin-right" FoProperty* : Read "margin-top" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "space-after" FoProperty* : Read "space-before" FoProperty* : Read "start-indent" FoProperty* : Read "text-align" FoProperty* : Read Description Details FoTableAndCaption FoTableAndCaptiontypedef struct _FoTableAndCaption FoTableAndCaption; FoTableAndCaptionClass FoTableAndCaptionClasstypedef struct _FoTableAndCaptionClass FoTableAndCaptionClass; fo_table_and_caption_new () fo_table_and_caption_newFoFo* fo_table_and_caption_new (void); Creates a new FoTableAndCaption initialized to default value. Returns : the new FoTableAndCaption. fo_table_and_caption_get_background_color () fo_table_and_caption_get_background_colorFoProperty* fo_table_and_caption_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_table_and_caption_set_background_color () fo_table_and_caption_set_background_colorvoid fo_table_and_caption_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_table_and_caption_get_background_image () fo_table_and_caption_get_background_imageFoProperty* fo_table_and_caption_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_table_and_caption_set_background_image () fo_table_and_caption_set_background_imagevoid fo_table_and_caption_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_table_and_caption_get_border_after_color () fo_table_and_caption_get_border_after_colorFoProperty* fo_table_and_caption_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_table_and_caption_set_border_after_color () fo_table_and_caption_set_border_after_colorvoid fo_table_and_caption_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_table_and_caption_get_border_after_style () fo_table_and_caption_get_border_after_styleFoProperty* fo_table_and_caption_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_table_and_caption_set_border_after_style () fo_table_and_caption_set_border_after_stylevoid fo_table_and_caption_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_table_and_caption_get_border_after_width () fo_table_and_caption_get_border_after_widthFoProperty* fo_table_and_caption_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_table_and_caption_set_border_after_width () fo_table_and_caption_set_border_after_widthvoid fo_table_and_caption_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_table_and_caption_get_border_before_color () fo_table_and_caption_get_border_before_colorFoProperty* fo_table_and_caption_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_table_and_caption_set_border_before_color () fo_table_and_caption_set_border_before_colorvoid fo_table_and_caption_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_table_and_caption_get_border_before_style () fo_table_and_caption_get_border_before_styleFoProperty* fo_table_and_caption_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_table_and_caption_set_border_before_style () fo_table_and_caption_set_border_before_stylevoid fo_table_and_caption_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_table_and_caption_get_border_before_width () fo_table_and_caption_get_border_before_widthFoProperty* fo_table_and_caption_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_table_and_caption_set_border_before_width () fo_table_and_caption_set_border_before_widthvoid fo_table_and_caption_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_table_and_caption_get_border_bottom_color () fo_table_and_caption_get_border_bottom_colorFoProperty* fo_table_and_caption_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_table_and_caption_set_border_bottom_color () fo_table_and_caption_set_border_bottom_colorvoid fo_table_and_caption_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_table_and_caption_get_border_bottom_style () fo_table_and_caption_get_border_bottom_styleFoProperty* fo_table_and_caption_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_table_and_caption_set_border_bottom_style () fo_table_and_caption_set_border_bottom_stylevoid fo_table_and_caption_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_table_and_caption_get_border_bottom_width () fo_table_and_caption_get_border_bottom_widthFoProperty* fo_table_and_caption_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_table_and_caption_set_border_bottom_width () fo_table_and_caption_set_border_bottom_widthvoid fo_table_and_caption_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_table_and_caption_get_border_end_color () fo_table_and_caption_get_border_end_colorFoProperty* fo_table_and_caption_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_table_and_caption_set_border_end_color () fo_table_and_caption_set_border_end_colorvoid fo_table_and_caption_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_table_and_caption_get_border_end_style () fo_table_and_caption_get_border_end_styleFoProperty* fo_table_and_caption_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_table_and_caption_set_border_end_style () fo_table_and_caption_set_border_end_stylevoid fo_table_and_caption_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_table_and_caption_get_border_end_width () fo_table_and_caption_get_border_end_widthFoProperty* fo_table_and_caption_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_table_and_caption_set_border_end_width () fo_table_and_caption_set_border_end_widthvoid fo_table_and_caption_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_table_and_caption_get_border_left_color () fo_table_and_caption_get_border_left_colorFoProperty* fo_table_and_caption_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_table_and_caption_set_border_left_color () fo_table_and_caption_set_border_left_colorvoid fo_table_and_caption_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_table_and_caption_get_border_left_style () fo_table_and_caption_get_border_left_styleFoProperty* fo_table_and_caption_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_table_and_caption_set_border_left_style () fo_table_and_caption_set_border_left_stylevoid fo_table_and_caption_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_table_and_caption_get_border_left_width () fo_table_and_caption_get_border_left_widthFoProperty* fo_table_and_caption_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_table_and_caption_set_border_left_width () fo_table_and_caption_set_border_left_widthvoid fo_table_and_caption_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_table_and_caption_get_border_right_color () fo_table_and_caption_get_border_right_colorFoProperty* fo_table_and_caption_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_table_and_caption_set_border_right_color () fo_table_and_caption_set_border_right_colorvoid fo_table_and_caption_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_table_and_caption_get_border_right_style () fo_table_and_caption_get_border_right_styleFoProperty* fo_table_and_caption_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_table_and_caption_set_border_right_style () fo_table_and_caption_set_border_right_stylevoid fo_table_and_caption_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_table_and_caption_get_border_right_width () fo_table_and_caption_get_border_right_widthFoProperty* fo_table_and_caption_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_table_and_caption_set_border_right_width () fo_table_and_caption_set_border_right_widthvoid fo_table_and_caption_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_table_and_caption_get_border_start_color () fo_table_and_caption_get_border_start_colorFoProperty* fo_table_and_caption_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_table_and_caption_set_border_start_color () fo_table_and_caption_set_border_start_colorvoid fo_table_and_caption_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_table_and_caption_get_border_start_style () fo_table_and_caption_get_border_start_styleFoProperty* fo_table_and_caption_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_table_and_caption_set_border_start_style () fo_table_and_caption_set_border_start_stylevoid fo_table_and_caption_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_table_and_caption_get_border_start_width () fo_table_and_caption_get_border_start_widthFoProperty* fo_table_and_caption_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_table_and_caption_set_border_start_width () fo_table_and_caption_set_border_start_widthvoid fo_table_and_caption_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_table_and_caption_get_border_top_color () fo_table_and_caption_get_border_top_colorFoProperty* fo_table_and_caption_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_table_and_caption_set_border_top_color () fo_table_and_caption_set_border_top_colorvoid fo_table_and_caption_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_table_and_caption_get_border_top_style () fo_table_and_caption_get_border_top_styleFoProperty* fo_table_and_caption_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_table_and_caption_set_border_top_style () fo_table_and_caption_set_border_top_stylevoid fo_table_and_caption_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_table_and_caption_get_border_top_width () fo_table_and_caption_get_border_top_widthFoProperty* fo_table_and_caption_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_table_and_caption_set_border_top_width () fo_table_and_caption_set_border_top_widthvoid fo_table_and_caption_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_table_and_caption_get_break_after () fo_table_and_caption_get_break_afterFoProperty* fo_table_and_caption_get_break_after (FoFo *fo_fo); Gets the "break-after" property of fo_fo fo_fo : The FoFo object Returns : The "break-after" property value fo_table_and_caption_set_break_after () fo_table_and_caption_set_break_aftervoid fo_table_and_caption_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); Sets the "break-after" property of fo_fo to new_break_after fo_fo : The FoFo object new_break_after : The new "break-after" property value fo_table_and_caption_get_break_before () fo_table_and_caption_get_break_beforeFoProperty* fo_table_and_caption_get_break_before (FoFo *fo_fo); Gets the "break-before" property of fo_fo fo_fo : The FoFo object Returns : The "break-before" property value fo_table_and_caption_set_break_before () fo_table_and_caption_set_break_beforevoid fo_table_and_caption_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); Sets the "break-before" property of fo_fo to new_break_before fo_fo : The FoFo object new_break_before : The new "break-before" property value fo_table_and_caption_get_end_indent () fo_table_and_caption_get_end_indentFoProperty* fo_table_and_caption_get_end_indent (FoFo *fo_fo); Gets the "end-indent" property of fo_fo fo_fo : The FoFo object Returns : The "end-indent" property value fo_table_and_caption_set_end_indent () fo_table_and_caption_set_end_indentvoid fo_table_and_caption_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); Sets the "end-indent" property of fo_fo to new_end_indent fo_fo : The FoFo object new_end_indent : The new "end-indent" property value fo_table_and_caption_get_id () fo_table_and_caption_get_idFoProperty* fo_table_and_caption_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_table_and_caption_set_id () fo_table_and_caption_set_idvoid fo_table_and_caption_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_table_and_caption_get_keep_together () fo_table_and_caption_get_keep_togetherFoProperty* fo_table_and_caption_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_table_and_caption_set_keep_together () fo_table_and_caption_set_keep_togethervoid fo_table_and_caption_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_table_and_caption_get_keep_together_within_column () fo_table_and_caption_get_keep_together_within_columnFoProperty* fo_table_and_caption_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_table_and_caption_set_keep_together_within_column () fo_table_and_caption_set_keep_together_within_columnvoid fo_table_and_caption_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_table_and_caption_get_keep_together_within_line () fo_table_and_caption_get_keep_together_within_lineFoProperty* fo_table_and_caption_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_table_and_caption_set_keep_together_within_line () fo_table_and_caption_set_keep_together_within_linevoid fo_table_and_caption_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_table_and_caption_get_keep_together_within_page () fo_table_and_caption_get_keep_together_within_pageFoProperty* fo_table_and_caption_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_table_and_caption_set_keep_together_within_page () fo_table_and_caption_set_keep_together_within_pagevoid fo_table_and_caption_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_table_and_caption_get_keep_with_next () fo_table_and_caption_get_keep_with_nextFoProperty* fo_table_and_caption_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_table_and_caption_set_keep_with_next () fo_table_and_caption_set_keep_with_nextvoid fo_table_and_caption_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_table_and_caption_get_keep_with_next_within_column () fo_table_and_caption_get_keep_with_next_within_columnFoProperty* fo_table_and_caption_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_table_and_caption_set_keep_with_next_within_column () fo_table_and_caption_set_keep_with_next_within_columnvoid fo_table_and_caption_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_table_and_caption_get_keep_with_next_within_line () fo_table_and_caption_get_keep_with_next_within_lineFoProperty* fo_table_and_caption_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_table_and_caption_set_keep_with_next_within_line () fo_table_and_caption_set_keep_with_next_within_linevoid fo_table_and_caption_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_table_and_caption_get_keep_with_next_within_page () fo_table_and_caption_get_keep_with_next_within_pageFoProperty* fo_table_and_caption_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_table_and_caption_set_keep_with_next_within_page () fo_table_and_caption_set_keep_with_next_within_pagevoid fo_table_and_caption_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_table_and_caption_get_keep_with_previous () fo_table_and_caption_get_keep_with_previousFoProperty* fo_table_and_caption_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_table_and_caption_set_keep_with_previous () fo_table_and_caption_set_keep_with_previousvoid fo_table_and_caption_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_table_and_caption_get_keep_with_previous_within_column () fo_table_and_caption_get_keep_with_previous_within_columnFoProperty* fo_table_and_caption_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_table_and_caption_set_keep_with_previous_within_column () fo_table_and_caption_set_keep_with_previous_within_columnvoid fo_table_and_caption_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_table_and_caption_get_keep_with_previous_within_line () fo_table_and_caption_get_keep_with_previous_within_lineFoProperty* fo_table_and_caption_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_table_and_caption_set_keep_with_previous_within_line () fo_table_and_caption_set_keep_with_previous_within_linevoid fo_table_and_caption_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_table_and_caption_get_keep_with_previous_within_page () fo_table_and_caption_get_keep_with_previous_within_pageFoProperty* fo_table_and_caption_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_table_and_caption_set_keep_with_previous_within_page () fo_table_and_caption_set_keep_with_previous_within_pagevoid fo_table_and_caption_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_table_and_caption_get_margin_bottom () fo_table_and_caption_get_margin_bottomFoProperty* fo_table_and_caption_get_margin_bottom (FoFo *fo_fo); Gets the "margin-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "margin-bottom" property value fo_table_and_caption_set_margin_bottom () fo_table_and_caption_set_margin_bottomvoid fo_table_and_caption_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_fo to new_margin_bottom fo_fo : The FoFo object new_margin_bottom : The new "margin-bottom" property value fo_table_and_caption_get_margin_left () fo_table_and_caption_get_margin_leftFoProperty* fo_table_and_caption_get_margin_left (FoFo *fo_fo); Gets the "margin-left" property of fo_fo fo_fo : The FoFo object Returns : The "margin-left" property value fo_table_and_caption_set_margin_left () fo_table_and_caption_set_margin_leftvoid fo_table_and_caption_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); Sets the "margin-left" property of fo_fo to new_margin_left fo_fo : The FoFo object new_margin_left : The new "margin-left" property value fo_table_and_caption_get_margin_right () fo_table_and_caption_get_margin_rightFoProperty* fo_table_and_caption_get_margin_right (FoFo *fo_fo); Gets the "margin-right" property of fo_fo fo_fo : The FoFo object Returns : The "margin-right" property value fo_table_and_caption_set_margin_right () fo_table_and_caption_set_margin_rightvoid fo_table_and_caption_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); Sets the "margin-right" property of fo_fo to new_margin_right fo_fo : The FoFo object new_margin_right : The new "margin-right" property value fo_table_and_caption_get_margin_top () fo_table_and_caption_get_margin_topFoProperty* fo_table_and_caption_get_margin_top (FoFo *fo_fo); Gets the "margin-top" property of fo_fo fo_fo : The FoFo object Returns : The "margin-top" property value fo_table_and_caption_set_margin_top () fo_table_and_caption_set_margin_topvoid fo_table_and_caption_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); Sets the "margin-top" property of fo_fo to new_margin_top fo_fo : The FoFo object new_margin_top : The new "margin-top" property value fo_table_and_caption_get_padding_after () fo_table_and_caption_get_padding_afterFoProperty* fo_table_and_caption_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_table_and_caption_set_padding_after () fo_table_and_caption_set_padding_aftervoid fo_table_and_caption_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_table_and_caption_get_padding_before () fo_table_and_caption_get_padding_beforeFoProperty* fo_table_and_caption_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_table_and_caption_set_padding_before () fo_table_and_caption_set_padding_beforevoid fo_table_and_caption_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_table_and_caption_get_padding_bottom () fo_table_and_caption_get_padding_bottomFoProperty* fo_table_and_caption_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_table_and_caption_set_padding_bottom () fo_table_and_caption_set_padding_bottomvoid fo_table_and_caption_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_table_and_caption_get_padding_end () fo_table_and_caption_get_padding_endFoProperty* fo_table_and_caption_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_table_and_caption_set_padding_end () fo_table_and_caption_set_padding_endvoid fo_table_and_caption_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_table_and_caption_get_padding_left () fo_table_and_caption_get_padding_leftFoProperty* fo_table_and_caption_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_table_and_caption_set_padding_left () fo_table_and_caption_set_padding_leftvoid fo_table_and_caption_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_table_and_caption_get_padding_right () fo_table_and_caption_get_padding_rightFoProperty* fo_table_and_caption_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_table_and_caption_set_padding_right () fo_table_and_caption_set_padding_rightvoid fo_table_and_caption_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_table_and_caption_get_padding_start () fo_table_and_caption_get_padding_startFoProperty* fo_table_and_caption_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_table_and_caption_set_padding_start () fo_table_and_caption_set_padding_startvoid fo_table_and_caption_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_table_and_caption_get_padding_top () fo_table_and_caption_get_padding_topFoProperty* fo_table_and_caption_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_table_and_caption_set_padding_top () fo_table_and_caption_set_padding_topvoid fo_table_and_caption_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_table_and_caption_get_role () fo_table_and_caption_get_roleFoProperty* fo_table_and_caption_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_table_and_caption_set_role () fo_table_and_caption_set_rolevoid fo_table_and_caption_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_table_and_caption_get_source_document () fo_table_and_caption_get_source_documentFoProperty* fo_table_and_caption_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_table_and_caption_set_source_document () fo_table_and_caption_set_source_documentvoid fo_table_and_caption_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_table_and_caption_get_space_after () fo_table_and_caption_get_space_afterFoProperty* fo_table_and_caption_get_space_after (FoFo *fo_fo); Gets the "space-after" property of fo_fo fo_fo : The FoFo object Returns : The "space-after" property value fo_table_and_caption_set_space_after () fo_table_and_caption_set_space_aftervoid fo_table_and_caption_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); Sets the "space-after" property of fo_fo to new_space_after fo_fo : The FoFo object new_space_after : The new "space-after" property value fo_table_and_caption_get_space_before () fo_table_and_caption_get_space_beforeFoProperty* fo_table_and_caption_get_space_before (FoFo *fo_fo); Gets the "space-before" property of fo_fo fo_fo : The FoFo object Returns : The "space-before" property value fo_table_and_caption_set_space_before () fo_table_and_caption_set_space_beforevoid fo_table_and_caption_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); Sets the "space-before" property of fo_fo to new_space_before fo_fo : The FoFo object new_space_before : The new "space-before" property value fo_table_and_caption_get_start_indent () fo_table_and_caption_get_start_indentFoProperty* fo_table_and_caption_get_start_indent (FoFo *fo_fo); Gets the "start-indent" property of fo_fo fo_fo : The FoFo object Returns : The "start-indent" property value fo_table_and_caption_set_start_indent () fo_table_and_caption_set_start_indentvoid fo_table_and_caption_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Sets the "start-indent" property of fo_fo to new_start_indent fo_fo : The FoFo object new_start_indent : The new "start-indent" property value fo_table_and_caption_get_text_align () fo_table_and_caption_get_text_alignFoProperty* fo_table_and_caption_get_text_align (FoFo *fo_fo); Gets the "text-align" property of fo_fo fo_fo : The FoFo object Returns : The "text-align" property value fo_table_and_caption_set_text_align () fo_table_and_caption_set_text_alignvoid fo_table_and_caption_set_text_align (FoFo *fo_fo, FoProperty *new_text_align); Sets the "text-align" property of fo_fo to new_text_align fo_fo : The FoFo object new_text_align : The new "text-align" property value Property Details The <literal>"background-color"</literal> property FoTableAndCaption:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTableAndCaption:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoTableAndCaption:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoTableAndCaption:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTableAndCaption:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTableAndCaption:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoTableAndCaption:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTableAndCaption:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTableAndCaption:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTableAndCaption:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTableAndCaption:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoTableAndCaption:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoTableAndCaption:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTableAndCaption:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTableAndCaption:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTableAndCaption:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTableAndCaption:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTableAndCaption:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTableAndCaption:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTableAndCaption:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoTableAndCaption:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoTableAndCaption:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTableAndCaption:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTableAndCaption:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTableAndCaption:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTableAndCaption:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"break-after"</literal> property FoTableAndCaption:break-after "break-after" FoProperty* : Read Break After property. The <literal>"break-before"</literal> property FoTableAndCaption:break-before "break-before" FoProperty* : Read Break Before property. The <literal>"end-indent"</literal> property FoTableAndCaption:end-indent "end-indent" FoProperty* : Read End Indent property. The <literal>"id"</literal> property FoTableAndCaption:id "id" FoProperty* : Read Id property. The <literal>"keep-together"</literal> property FoTableAndCaption:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoTableAndCaption:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoTableAndCaption:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoTableAndCaption:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoTableAndCaption:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoTableAndCaption:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoTableAndCaption:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoTableAndCaption:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoTableAndCaption:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoTableAndCaption:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoTableAndCaption:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoTableAndCaption:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"margin-bottom"</literal> property FoTableAndCaption:margin-bottom "margin-bottom" FoProperty* : Read Margin Bottom property. The <literal>"margin-left"</literal> property FoTableAndCaption:margin-left "margin-left" FoProperty* : Read Margin Left property. The <literal>"margin-right"</literal> property FoTableAndCaption:margin-right "margin-right" FoProperty* : Read Margin Right property. The <literal>"margin-top"</literal> property FoTableAndCaption:margin-top "margin-top" FoProperty* : Read Margin Top property. The <literal>"padding-after"</literal> property FoTableAndCaption:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTableAndCaption:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTableAndCaption:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTableAndCaption:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTableAndCaption:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTableAndCaption:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTableAndCaption:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTableAndCaption:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoTableAndCaption:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoTableAndCaption:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-after"</literal> property FoTableAndCaption:space-after "space-after" FoProperty* : Read Space After property. The <literal>"space-before"</literal> property FoTableAndCaption:space-before "space-before" FoProperty* : Read Space Before property. The <literal>"start-indent"</literal> property FoTableAndCaption:start-indent "start-indent" FoProperty* : Read Start Indent property. The <literal>"text-align"</literal> property FoTableAndCaption:text-align "text-align" FoProperty* : Read Text Align property. xmlroff-0.6.2/docs/xml/fo-table-body.xml0000644000175000017500000040253011156164733015026 00000000000000 table-body 3 XMLROFF Library table-body Synopsis FoTableBody; FoTableBodyClass; FoFo* fo_table_body_new (void); FoProperty* fo_table_body_get_background_color (FoFo *fo_fo); void fo_table_body_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_body_get_background_image (FoFo *fo_fo); void fo_table_body_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_body_get_border_after_color (FoFo *fo_fo); void fo_table_body_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_body_get_border_after_precedence (FoFo *fo_fo); void fo_table_body_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty* fo_table_body_get_border_after_style (FoFo *fo_fo); void fo_table_body_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_body_get_border_after_width (FoFo *fo_fo); void fo_table_body_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_body_get_border_before_color (FoFo *fo_fo); void fo_table_body_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_body_get_border_before_precedence (FoFo *fo_fo); void fo_table_body_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty* fo_table_body_get_border_before_style (FoFo *fo_fo); void fo_table_body_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_body_get_border_before_width (FoFo *fo_fo); void fo_table_body_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_body_get_border_bottom_color (FoFo *fo_fo); void fo_table_body_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_body_get_border_bottom_style (FoFo *fo_fo); void fo_table_body_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_body_get_border_bottom_width (FoFo *fo_fo); void fo_table_body_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_body_get_border_end_color (FoFo *fo_fo); void fo_table_body_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_body_get_border_end_precedence (FoFo *fo_fo); void fo_table_body_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty* fo_table_body_get_border_end_style (FoFo *fo_fo); void fo_table_body_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_body_get_border_end_width (FoFo *fo_fo); void fo_table_body_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_body_get_border_left_color (FoFo *fo_fo); void fo_table_body_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_body_get_border_left_style (FoFo *fo_fo); void fo_table_body_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_body_get_border_left_width (FoFo *fo_fo); void fo_table_body_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_body_get_border_right_color (FoFo *fo_fo); void fo_table_body_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_body_get_border_right_style (FoFo *fo_fo); void fo_table_body_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_body_get_border_right_width (FoFo *fo_fo); void fo_table_body_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_body_get_border_start_color (FoFo *fo_fo); void fo_table_body_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_body_get_border_start_precedence (FoFo *fo_fo); void fo_table_body_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty* fo_table_body_get_border_start_style (FoFo *fo_fo); void fo_table_body_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_body_get_border_start_width (FoFo *fo_fo); void fo_table_body_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_body_get_border_top_color (FoFo *fo_fo); void fo_table_body_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_body_get_border_top_style (FoFo *fo_fo); void fo_table_body_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_body_get_border_top_width (FoFo *fo_fo); void fo_table_body_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_body_get_id (FoFo *fo_fo); void fo_table_body_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_body_get_padding_after (FoFo *fo_fo); void fo_table_body_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_body_get_padding_before (FoFo *fo_fo); void fo_table_body_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_body_get_padding_bottom (FoFo *fo_fo); void fo_table_body_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_body_get_padding_end (FoFo *fo_fo); void fo_table_body_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_body_get_padding_left (FoFo *fo_fo); void fo_table_body_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_body_get_padding_right (FoFo *fo_fo); void fo_table_body_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_body_get_padding_start (FoFo *fo_fo); void fo_table_body_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_body_get_padding_top (FoFo *fo_fo); void fo_table_body_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_body_get_role (FoFo *fo_fo); void fo_table_body_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_body_get_source_document (FoFo *fo_fo); void fo_table_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoTablePart +----FoTableBody Implemented Interfaces FoTableBody implements FoTableBorderFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-precedence" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-precedence" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-precedence" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-precedence" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "id" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoTableBody FoTableBodytypedef struct _FoTableBody FoTableBody; Instance of the 'table-body' formatting object. FoTableBodyClass FoTableBodyClasstypedef struct _FoTableBodyClass FoTableBodyClass; Class structure for the 'table-body' formatting object. fo_table_body_new () fo_table_body_newFoFo* fo_table_body_new (void); Creates a new FoTableBody initialized to default value. Returns : the new FoTableBody. fo_table_body_get_background_color () fo_table_body_get_background_colorFoProperty* fo_table_body_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-color" property value. fo_table_body_set_background_color () fo_table_body_set_background_colorvoid fo_table_body_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color. fo_fo : The FoFo object. new_background_color : The new "background-color" property value. fo_table_body_get_background_image () fo_table_body_get_background_imageFoProperty* fo_table_body_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo. fo_fo : The FoFo object. Returns : The "background-image" property value. fo_table_body_set_background_image () fo_table_body_set_background_imagevoid fo_table_body_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image. fo_fo : The FoFo object. new_background_image : The new "background-image" property value. fo_table_body_get_border_after_color () fo_table_body_get_border_after_colorFoProperty* fo_table_body_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-color" property value. fo_table_body_set_border_after_color () fo_table_body_set_border_after_colorvoid fo_table_body_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color. fo_fo : The FoFo object. new_border_after_color : The new "border-after-color" property value. fo_table_body_get_border_after_precedence () fo_table_body_get_border_after_precedenceFoProperty* fo_table_body_get_border_after_precedence (FoFo *fo_fo); Gets the "border-after-precedence" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-precedence" property value. fo_table_body_set_border_after_precedence () fo_table_body_set_border_after_precedencevoid fo_table_body_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence. fo_fo : The FoFo object. new_border_after_precedence : The new "border-after-precedence" property value. fo_table_body_get_border_after_style () fo_table_body_get_border_after_styleFoProperty* fo_table_body_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-style" property value. fo_table_body_set_border_after_style () fo_table_body_set_border_after_stylevoid fo_table_body_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style. fo_fo : The FoFo object. new_border_after_style : The new "border-after-style" property value. fo_table_body_get_border_after_width () fo_table_body_get_border_after_widthFoProperty* fo_table_body_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-after-width" property value. fo_table_body_set_border_after_width () fo_table_body_set_border_after_widthvoid fo_table_body_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width. fo_fo : The FoFo object. new_border_after_width : The new "border-after-width" property value. fo_table_body_get_border_before_color () fo_table_body_get_border_before_colorFoProperty* fo_table_body_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-color" property value. fo_table_body_set_border_before_color () fo_table_body_set_border_before_colorvoid fo_table_body_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color. fo_fo : The FoFo object. new_border_before_color : The new "border-before-color" property value. fo_table_body_get_border_before_precedence () fo_table_body_get_border_before_precedenceFoProperty* fo_table_body_get_border_before_precedence (FoFo *fo_fo); Gets the "border-before-precedence" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-precedence" property value. fo_table_body_set_border_before_precedence () fo_table_body_set_border_before_precedencevoid fo_table_body_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence. fo_fo : The FoFo object. new_border_before_precedence : The new "border-before-precedence" property value. fo_table_body_get_border_before_style () fo_table_body_get_border_before_styleFoProperty* fo_table_body_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-style" property value. fo_table_body_set_border_before_style () fo_table_body_set_border_before_stylevoid fo_table_body_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style. fo_fo : The FoFo object. new_border_before_style : The new "border-before-style" property value. fo_table_body_get_border_before_width () fo_table_body_get_border_before_widthFoProperty* fo_table_body_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-before-width" property value. fo_table_body_set_border_before_width () fo_table_body_set_border_before_widthvoid fo_table_body_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width. fo_fo : The FoFo object. new_border_before_width : The new "border-before-width" property value. fo_table_body_get_border_bottom_color () fo_table_body_get_border_bottom_colorFoProperty* fo_table_body_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-color" property value. fo_table_body_set_border_bottom_color () fo_table_body_set_border_bottom_colorvoid fo_table_body_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color. fo_fo : The FoFo object. new_border_bottom_color : The new "border-bottom-color" property value. fo_table_body_get_border_bottom_style () fo_table_body_get_border_bottom_styleFoProperty* fo_table_body_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-style" property value. fo_table_body_set_border_bottom_style () fo_table_body_set_border_bottom_stylevoid fo_table_body_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style. fo_fo : The FoFo object. new_border_bottom_style : The new "border-bottom-style" property value. fo_table_body_get_border_bottom_width () fo_table_body_get_border_bottom_widthFoProperty* fo_table_body_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-bottom-width" property value. fo_table_body_set_border_bottom_width () fo_table_body_set_border_bottom_widthvoid fo_table_body_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width. fo_fo : The FoFo object. new_border_bottom_width : The new "border-bottom-width" property value. fo_table_body_get_border_end_color () fo_table_body_get_border_end_colorFoProperty* fo_table_body_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-color" property value. fo_table_body_set_border_end_color () fo_table_body_set_border_end_colorvoid fo_table_body_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color. fo_fo : The FoFo object. new_border_end_color : The new "border-end-color" property value. fo_table_body_get_border_end_precedence () fo_table_body_get_border_end_precedenceFoProperty* fo_table_body_get_border_end_precedence (FoFo *fo_fo); Gets the "border-end-precedence" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-precedence" property value. fo_table_body_set_border_end_precedence () fo_table_body_set_border_end_precedencevoid fo_table_body_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence. fo_fo : The FoFo object. new_border_end_precedence : The new "border-end-precedence" property value. fo_table_body_get_border_end_style () fo_table_body_get_border_end_styleFoProperty* fo_table_body_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-style" property value. fo_table_body_set_border_end_style () fo_table_body_set_border_end_stylevoid fo_table_body_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style. fo_fo : The FoFo object. new_border_end_style : The new "border-end-style" property value. fo_table_body_get_border_end_width () fo_table_body_get_border_end_widthFoProperty* fo_table_body_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-end-width" property value. fo_table_body_set_border_end_width () fo_table_body_set_border_end_widthvoid fo_table_body_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width. fo_fo : The FoFo object. new_border_end_width : The new "border-end-width" property value. fo_table_body_get_border_left_color () fo_table_body_get_border_left_colorFoProperty* fo_table_body_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-color" property value. fo_table_body_set_border_left_color () fo_table_body_set_border_left_colorvoid fo_table_body_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color. fo_fo : The FoFo object. new_border_left_color : The new "border-left-color" property value. fo_table_body_get_border_left_style () fo_table_body_get_border_left_styleFoProperty* fo_table_body_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-style" property value. fo_table_body_set_border_left_style () fo_table_body_set_border_left_stylevoid fo_table_body_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style. fo_fo : The FoFo object. new_border_left_style : The new "border-left-style" property value. fo_table_body_get_border_left_width () fo_table_body_get_border_left_widthFoProperty* fo_table_body_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-left-width" property value. fo_table_body_set_border_left_width () fo_table_body_set_border_left_widthvoid fo_table_body_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width. fo_fo : The FoFo object. new_border_left_width : The new "border-left-width" property value. fo_table_body_get_border_right_color () fo_table_body_get_border_right_colorFoProperty* fo_table_body_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-color" property value. fo_table_body_set_border_right_color () fo_table_body_set_border_right_colorvoid fo_table_body_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color. fo_fo : The FoFo object. new_border_right_color : The new "border-right-color" property value. fo_table_body_get_border_right_style () fo_table_body_get_border_right_styleFoProperty* fo_table_body_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-style" property value. fo_table_body_set_border_right_style () fo_table_body_set_border_right_stylevoid fo_table_body_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style. fo_fo : The FoFo object. new_border_right_style : The new "border-right-style" property value. fo_table_body_get_border_right_width () fo_table_body_get_border_right_widthFoProperty* fo_table_body_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-right-width" property value. fo_table_body_set_border_right_width () fo_table_body_set_border_right_widthvoid fo_table_body_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width. fo_fo : The FoFo object. new_border_right_width : The new "border-right-width" property value. fo_table_body_get_border_start_color () fo_table_body_get_border_start_colorFoProperty* fo_table_body_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-color" property value. fo_table_body_set_border_start_color () fo_table_body_set_border_start_colorvoid fo_table_body_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color. fo_fo : The FoFo object. new_border_start_color : The new "border-start-color" property value. fo_table_body_get_border_start_precedence () fo_table_body_get_border_start_precedenceFoProperty* fo_table_body_get_border_start_precedence (FoFo *fo_fo); Gets the "border-start-precedence" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-precedence" property value. fo_table_body_set_border_start_precedence () fo_table_body_set_border_start_precedencevoid fo_table_body_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence. fo_fo : The FoFo object. new_border_start_precedence : The new "border-start-precedence" property value. fo_table_body_get_border_start_style () fo_table_body_get_border_start_styleFoProperty* fo_table_body_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-style" property value. fo_table_body_set_border_start_style () fo_table_body_set_border_start_stylevoid fo_table_body_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style. fo_fo : The FoFo object. new_border_start_style : The new "border-start-style" property value. fo_table_body_get_border_start_width () fo_table_body_get_border_start_widthFoProperty* fo_table_body_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-start-width" property value. fo_table_body_set_border_start_width () fo_table_body_set_border_start_widthvoid fo_table_body_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width. fo_fo : The FoFo object. new_border_start_width : The new "border-start-width" property value. fo_table_body_get_border_top_color () fo_table_body_get_border_top_colorFoProperty* fo_table_body_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-color" property value. fo_table_body_set_border_top_color () fo_table_body_set_border_top_colorvoid fo_table_body_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color. fo_fo : The FoFo object. new_border_top_color : The new "border-top-color" property value. fo_table_body_get_border_top_style () fo_table_body_get_border_top_styleFoProperty* fo_table_body_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-style" property value. fo_table_body_set_border_top_style () fo_table_body_set_border_top_stylevoid fo_table_body_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style. fo_fo : The FoFo object. new_border_top_style : The new "border-top-style" property value. fo_table_body_get_border_top_width () fo_table_body_get_border_top_widthFoProperty* fo_table_body_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo. fo_fo : The FoFo object. Returns : The "border-top-width" property value. fo_table_body_set_border_top_width () fo_table_body_set_border_top_widthvoid fo_table_body_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width. fo_fo : The FoFo object. new_border_top_width : The new "border-top-width" property value. fo_table_body_get_id () fo_table_body_get_idFoProperty* fo_table_body_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. fo_table_body_set_id () fo_table_body_set_idvoid fo_table_body_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id. fo_fo : The FoFo object. new_id : The new "id" property value. fo_table_body_get_padding_after () fo_table_body_get_padding_afterFoProperty* fo_table_body_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-after" property value. fo_table_body_set_padding_after () fo_table_body_set_padding_aftervoid fo_table_body_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after. fo_fo : The FoFo object. new_padding_after : The new "padding-after" property value. fo_table_body_get_padding_before () fo_table_body_get_padding_beforeFoProperty* fo_table_body_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-before" property value. fo_table_body_set_padding_before () fo_table_body_set_padding_beforevoid fo_table_body_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before. fo_fo : The FoFo object. new_padding_before : The new "padding-before" property value. fo_table_body_get_padding_bottom () fo_table_body_get_padding_bottomFoProperty* fo_table_body_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-bottom" property value. fo_table_body_set_padding_bottom () fo_table_body_set_padding_bottomvoid fo_table_body_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom. fo_fo : The FoFo object. new_padding_bottom : The new "padding-bottom" property value. fo_table_body_get_padding_end () fo_table_body_get_padding_endFoProperty* fo_table_body_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-end" property value. fo_table_body_set_padding_end () fo_table_body_set_padding_endvoid fo_table_body_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end. fo_fo : The FoFo object. new_padding_end : The new "padding-end" property value. fo_table_body_get_padding_left () fo_table_body_get_padding_leftFoProperty* fo_table_body_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-left" property value. fo_table_body_set_padding_left () fo_table_body_set_padding_leftvoid fo_table_body_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left. fo_fo : The FoFo object. new_padding_left : The new "padding-left" property value. fo_table_body_get_padding_right () fo_table_body_get_padding_rightFoProperty* fo_table_body_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-right" property value. fo_table_body_set_padding_right () fo_table_body_set_padding_rightvoid fo_table_body_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right. fo_fo : The FoFo object. new_padding_right : The new "padding-right" property value. fo_table_body_get_padding_start () fo_table_body_get_padding_startFoProperty* fo_table_body_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-start" property value. fo_table_body_set_padding_start () fo_table_body_set_padding_startvoid fo_table_body_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start. fo_fo : The FoFo object. new_padding_start : The new "padding-start" property value. fo_table_body_get_padding_top () fo_table_body_get_padding_topFoProperty* fo_table_body_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo. fo_fo : The FoFo object. Returns : The "padding-top" property value. fo_table_body_set_padding_top () fo_table_body_set_padding_topvoid fo_table_body_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top. fo_fo : The FoFo object. new_padding_top : The new "padding-top" property value. fo_table_body_get_role () fo_table_body_get_roleFoProperty* fo_table_body_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo. fo_fo : The FoFo object. Returns : The "role" property value. fo_table_body_set_role () fo_table_body_set_rolevoid fo_table_body_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role. fo_fo : The FoFo object. new_role : The new "role" property value. fo_table_body_get_source_document () fo_table_body_get_source_documentFoProperty* fo_table_body_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo. fo_fo : The FoFo object. Returns : The "source-document" property value. fo_table_body_set_source_document () fo_table_body_set_source_documentvoid fo_table_body_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document. fo_fo : The FoFo object. new_source_document : The new "source-document" property value. Property Details The <literal>"background-color"</literal> property FoTableBody:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTableBody:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoTableBody:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-precedence"</literal> property FoTableBody:border-after-precedence "border-after-precedence" FoProperty* : Read Border After Precedence property. The <literal>"border-after-style"</literal> property FoTableBody:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTableBody:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTableBody:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-precedence"</literal> property FoTableBody:border-before-precedence "border-before-precedence" FoProperty* : Read Border Before Precedence property. The <literal>"border-before-style"</literal> property FoTableBody:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTableBody:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTableBody:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTableBody:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTableBody:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoTableBody:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-precedence"</literal> property FoTableBody:border-end-precedence "border-end-precedence" FoProperty* : Read Border End Precedence property. The <literal>"border-end-style"</literal> property FoTableBody:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTableBody:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTableBody:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTableBody:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTableBody:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTableBody:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTableBody:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTableBody:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoTableBody:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-precedence"</literal> property FoTableBody:border-start-precedence "border-start-precedence" FoProperty* : Read Border Start Precedence property. The <literal>"border-start-style"</literal> property FoTableBody:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTableBody:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTableBody:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTableBody:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTableBody:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"id"</literal> property FoTableBody:id "id" FoProperty* : Read Id property. The <literal>"padding-after"</literal> property FoTableBody:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTableBody:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTableBody:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTableBody:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTableBody:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTableBody:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTableBody:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTableBody:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoTableBody:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoTableBody:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-table-border-fo.xml0000644000175000017500000006263611156164733015761 00000000000000 FoTableBorderFoIface 3 XMLROFF Library FoTableBorderFoIface Synopsis #define FO_TABLE_BORDER_FO_IFACE (obj) FoTableBorderFo; FoTableBorderFoIface; FoProperty* fo_table_border_fo_get_background_color (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_after_color (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_after_precedence (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_after_style (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_after_width (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_before_color (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_before_precedence (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_before_style (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_before_width (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_end_color (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_end_precedence (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_end_style (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_end_width (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_start_color (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_start_precedence (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_start_style (FoFo *fo_table_border_fo); FoProperty* fo_table_border_fo_get_border_start_width (FoFo *fo_table_border_fo); Object Hierarchy GInterface +----FoTableBorderFoIface Prerequisites FoTableBorderFoIface requires FoFo. Known Implementations FoTableBorderFoIface is implemented by FoTableColumn, FoTableHeader, FoTableFooter, FoTable, FoTableRow, FoTableBody and FoTableCell. Description Details FO_TABLE_BORDER_FO_IFACE() FO_TABLE_BORDER_FO_IFACE#define FO_TABLE_BORDER_FO_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_TABLE_BORDER_FO, FoTableBorderFoIface)) obj : FoTableBorderFo FoTableBorderFotypedef struct _FoTableBorderFo FoTableBorderFo; FoTableBorderFoIface FoTableBorderFoIfacetypedef struct _FoTableBorderFoIface FoTableBorderFoIface; fo_table_border_fo_get_background_color () fo_table_border_fo_get_background_colorFoProperty* fo_table_border_fo_get_background_color (FoFo *fo_table_border_fo); Gets the background-color property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "background-color" property value fo_table_border_fo_get_border_after_color () fo_table_border_fo_get_border_after_colorFoProperty* fo_table_border_fo_get_border_after_color (FoFo *fo_table_border_fo); Gets the border-after-color property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-after-color" property value fo_table_border_fo_get_border_after_precedence () fo_table_border_fo_get_border_after_precedenceFoProperty* fo_table_border_fo_get_border_after_precedence (FoFo *fo_table_border_fo); Gets the "border-after-precedence" property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-after-precedence" property value fo_table_border_fo_get_border_after_style () fo_table_border_fo_get_border_after_styleFoProperty* fo_table_border_fo_get_border_after_style (FoFo *fo_table_border_fo); Gets the border-after-style property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-after-style" property value fo_table_border_fo_get_border_after_width () fo_table_border_fo_get_border_after_widthFoProperty* fo_table_border_fo_get_border_after_width (FoFo *fo_table_border_fo); Gets the border-after-width property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-after-width" property value fo_table_border_fo_get_border_before_color () fo_table_border_fo_get_border_before_colorFoProperty* fo_table_border_fo_get_border_before_color (FoFo *fo_table_border_fo); Gets the border-before-color property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-before-color" property value fo_table_border_fo_get_border_before_precedence () fo_table_border_fo_get_border_before_precedenceFoProperty* fo_table_border_fo_get_border_before_precedence (FoFo *fo_table_border_fo); Gets the "border-before-precedence" property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-before-precedence" property value fo_table_border_fo_get_border_before_style () fo_table_border_fo_get_border_before_styleFoProperty* fo_table_border_fo_get_border_before_style (FoFo *fo_table_border_fo); Gets the border-before-style property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-before-style" property value fo_table_border_fo_get_border_before_width () fo_table_border_fo_get_border_before_widthFoProperty* fo_table_border_fo_get_border_before_width (FoFo *fo_table_border_fo); Gets the border-before-width property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-before-width" property value fo_table_border_fo_get_border_end_color () fo_table_border_fo_get_border_end_colorFoProperty* fo_table_border_fo_get_border_end_color (FoFo *fo_table_border_fo); Gets the border-end-color property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-end-color" property value fo_table_border_fo_get_border_end_precedence () fo_table_border_fo_get_border_end_precedenceFoProperty* fo_table_border_fo_get_border_end_precedence (FoFo *fo_table_border_fo); Gets the "border-end-precedence" property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-end-precedence" property value fo_table_border_fo_get_border_end_style () fo_table_border_fo_get_border_end_styleFoProperty* fo_table_border_fo_get_border_end_style (FoFo *fo_table_border_fo); Gets the border-end-style property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-end-style" property value fo_table_border_fo_get_border_end_width () fo_table_border_fo_get_border_end_widthFoProperty* fo_table_border_fo_get_border_end_width (FoFo *fo_table_border_fo); Gets the border-end-width property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-end-width" property value fo_table_border_fo_get_border_start_color () fo_table_border_fo_get_border_start_colorFoProperty* fo_table_border_fo_get_border_start_color (FoFo *fo_table_border_fo); Gets the border-start-color property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-start-color" property value fo_table_border_fo_get_border_start_precedence () fo_table_border_fo_get_border_start_precedenceFoProperty* fo_table_border_fo_get_border_start_precedence (FoFo *fo_table_border_fo); Gets the "border-start-precedence" property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-start-precedence" property value fo_table_border_fo_get_border_start_style () fo_table_border_fo_get_border_start_styleFoProperty* fo_table_border_fo_get_border_start_style (FoFo *fo_table_border_fo); Gets the border-start-style property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-start-style" property value fo_table_border_fo_get_border_start_width () fo_table_border_fo_get_border_start_widthFoProperty* fo_table_border_fo_get_border_start_width (FoFo *fo_table_border_fo); Gets the border-start-width property of fo_table_border_fo fo_table_border_fo : The FoTableBorderFo object Returns : The "border-start-width" property value xmlroff-0.6.2/docs/xml/fo-table-caption.xml0000644000175000017500000044332111156164733015531 00000000000000 table-caption 3 XMLROFF Library table-caption Synopsis FoTableCaption; FoTableCaptionClass; FoFo* fo_table_caption_new (void); FoProperty* fo_table_caption_get_background_color (FoFo *fo_fo); void fo_table_caption_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_caption_get_background_image (FoFo *fo_fo); void fo_table_caption_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_caption_get_block_progression_dimension (FoFo *fo_fo); void fo_table_caption_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_table_caption_get_border_after_color (FoFo *fo_fo); void fo_table_caption_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_caption_get_border_after_style (FoFo *fo_fo); void fo_table_caption_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_caption_get_border_after_width (FoFo *fo_fo); void fo_table_caption_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_caption_get_border_before_color (FoFo *fo_fo); void fo_table_caption_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_caption_get_border_before_style (FoFo *fo_fo); void fo_table_caption_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_caption_get_border_before_width (FoFo *fo_fo); void fo_table_caption_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_caption_get_border_bottom_color (FoFo *fo_fo); void fo_table_caption_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_caption_get_border_bottom_style (FoFo *fo_fo); void fo_table_caption_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_caption_get_border_bottom_width (FoFo *fo_fo); void fo_table_caption_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_caption_get_border_end_color (FoFo *fo_fo); void fo_table_caption_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_caption_get_border_end_style (FoFo *fo_fo); void fo_table_caption_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_caption_get_border_end_width (FoFo *fo_fo); void fo_table_caption_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_caption_get_border_left_color (FoFo *fo_fo); void fo_table_caption_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_caption_get_border_left_style (FoFo *fo_fo); void fo_table_caption_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_caption_get_border_left_width (FoFo *fo_fo); void fo_table_caption_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_caption_get_border_right_color (FoFo *fo_fo); void fo_table_caption_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_caption_get_border_right_style (FoFo *fo_fo); void fo_table_caption_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_caption_get_border_right_width (FoFo *fo_fo); void fo_table_caption_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_caption_get_border_start_color (FoFo *fo_fo); void fo_table_caption_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_caption_get_border_start_style (FoFo *fo_fo); void fo_table_caption_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_caption_get_border_start_width (FoFo *fo_fo); void fo_table_caption_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_caption_get_border_top_color (FoFo *fo_fo); void fo_table_caption_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_caption_get_border_top_style (FoFo *fo_fo); void fo_table_caption_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_caption_get_border_top_width (FoFo *fo_fo); void fo_table_caption_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_caption_get_height (FoFo *fo_fo); void fo_table_caption_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_table_caption_get_id (FoFo *fo_fo); void fo_table_caption_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_caption_get_inline_progression_dimension (FoFo *fo_fo); void fo_table_caption_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_table_caption_get_keep_together (FoFo *fo_fo); void fo_table_caption_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_table_caption_get_keep_together_within_column (FoFo *fo_fo); void fo_table_caption_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_table_caption_get_keep_together_within_line (FoFo *fo_fo); void fo_table_caption_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_table_caption_get_keep_together_within_page (FoFo *fo_fo); void fo_table_caption_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_table_caption_get_padding_after (FoFo *fo_fo); void fo_table_caption_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_caption_get_padding_before (FoFo *fo_fo); void fo_table_caption_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_caption_get_padding_bottom (FoFo *fo_fo); void fo_table_caption_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_caption_get_padding_end (FoFo *fo_fo); void fo_table_caption_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_caption_get_padding_left (FoFo *fo_fo); void fo_table_caption_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_caption_get_padding_right (FoFo *fo_fo); void fo_table_caption_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_caption_get_padding_start (FoFo *fo_fo); void fo_table_caption_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_caption_get_padding_top (FoFo *fo_fo); void fo_table_caption_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_caption_get_role (FoFo *fo_fo); void fo_table_caption_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_caption_get_source_document (FoFo *fo_fo); void fo_table_caption_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_table_caption_get_width (FoFo *fo_fo); void fo_table_caption_set_width (FoFo *fo_fo, FoProperty *new_width); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoTableCaption Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "inline-progression-dimension" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "width" FoProperty* : Read Description Details FoTableCaption FoTableCaptiontypedef struct _FoTableCaption FoTableCaption; FoTableCaptionClass FoTableCaptionClasstypedef struct _FoTableCaptionClass FoTableCaptionClass; fo_table_caption_new () fo_table_caption_newFoFo* fo_table_caption_new (void); Creates a new FoTableCaption initialized to default value. Returns : the new FoTableCaption. fo_table_caption_get_background_color () fo_table_caption_get_background_colorFoProperty* fo_table_caption_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_table_caption_set_background_color () fo_table_caption_set_background_colorvoid fo_table_caption_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_table_caption_get_background_image () fo_table_caption_get_background_imageFoProperty* fo_table_caption_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_table_caption_set_background_image () fo_table_caption_set_background_imagevoid fo_table_caption_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_table_caption_get_block_progression_dimension () fo_table_caption_get_block_progression_dimensionFoProperty* fo_table_caption_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "block-progression-dimension" property value fo_table_caption_set_block_progression_dimension () fo_table_caption_set_block_progression_dimensionvoid fo_table_caption_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension fo_fo : The FoFo object new_block_progression_dimension : The new "block-progression-dimension" property value fo_table_caption_get_border_after_color () fo_table_caption_get_border_after_colorFoProperty* fo_table_caption_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_table_caption_set_border_after_color () fo_table_caption_set_border_after_colorvoid fo_table_caption_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_table_caption_get_border_after_style () fo_table_caption_get_border_after_styleFoProperty* fo_table_caption_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_table_caption_set_border_after_style () fo_table_caption_set_border_after_stylevoid fo_table_caption_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_table_caption_get_border_after_width () fo_table_caption_get_border_after_widthFoProperty* fo_table_caption_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_table_caption_set_border_after_width () fo_table_caption_set_border_after_widthvoid fo_table_caption_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_table_caption_get_border_before_color () fo_table_caption_get_border_before_colorFoProperty* fo_table_caption_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_table_caption_set_border_before_color () fo_table_caption_set_border_before_colorvoid fo_table_caption_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_table_caption_get_border_before_style () fo_table_caption_get_border_before_styleFoProperty* fo_table_caption_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_table_caption_set_border_before_style () fo_table_caption_set_border_before_stylevoid fo_table_caption_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_table_caption_get_border_before_width () fo_table_caption_get_border_before_widthFoProperty* fo_table_caption_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_table_caption_set_border_before_width () fo_table_caption_set_border_before_widthvoid fo_table_caption_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_table_caption_get_border_bottom_color () fo_table_caption_get_border_bottom_colorFoProperty* fo_table_caption_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_table_caption_set_border_bottom_color () fo_table_caption_set_border_bottom_colorvoid fo_table_caption_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_table_caption_get_border_bottom_style () fo_table_caption_get_border_bottom_styleFoProperty* fo_table_caption_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_table_caption_set_border_bottom_style () fo_table_caption_set_border_bottom_stylevoid fo_table_caption_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_table_caption_get_border_bottom_width () fo_table_caption_get_border_bottom_widthFoProperty* fo_table_caption_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_table_caption_set_border_bottom_width () fo_table_caption_set_border_bottom_widthvoid fo_table_caption_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_table_caption_get_border_end_color () fo_table_caption_get_border_end_colorFoProperty* fo_table_caption_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_table_caption_set_border_end_color () fo_table_caption_set_border_end_colorvoid fo_table_caption_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_table_caption_get_border_end_style () fo_table_caption_get_border_end_styleFoProperty* fo_table_caption_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_table_caption_set_border_end_style () fo_table_caption_set_border_end_stylevoid fo_table_caption_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_table_caption_get_border_end_width () fo_table_caption_get_border_end_widthFoProperty* fo_table_caption_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_table_caption_set_border_end_width () fo_table_caption_set_border_end_widthvoid fo_table_caption_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_table_caption_get_border_left_color () fo_table_caption_get_border_left_colorFoProperty* fo_table_caption_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_table_caption_set_border_left_color () fo_table_caption_set_border_left_colorvoid fo_table_caption_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_table_caption_get_border_left_style () fo_table_caption_get_border_left_styleFoProperty* fo_table_caption_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_table_caption_set_border_left_style () fo_table_caption_set_border_left_stylevoid fo_table_caption_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_table_caption_get_border_left_width () fo_table_caption_get_border_left_widthFoProperty* fo_table_caption_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_table_caption_set_border_left_width () fo_table_caption_set_border_left_widthvoid fo_table_caption_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_table_caption_get_border_right_color () fo_table_caption_get_border_right_colorFoProperty* fo_table_caption_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_table_caption_set_border_right_color () fo_table_caption_set_border_right_colorvoid fo_table_caption_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_table_caption_get_border_right_style () fo_table_caption_get_border_right_styleFoProperty* fo_table_caption_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_table_caption_set_border_right_style () fo_table_caption_set_border_right_stylevoid fo_table_caption_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_table_caption_get_border_right_width () fo_table_caption_get_border_right_widthFoProperty* fo_table_caption_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_table_caption_set_border_right_width () fo_table_caption_set_border_right_widthvoid fo_table_caption_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_table_caption_get_border_start_color () fo_table_caption_get_border_start_colorFoProperty* fo_table_caption_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_table_caption_set_border_start_color () fo_table_caption_set_border_start_colorvoid fo_table_caption_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_table_caption_get_border_start_style () fo_table_caption_get_border_start_styleFoProperty* fo_table_caption_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_table_caption_set_border_start_style () fo_table_caption_set_border_start_stylevoid fo_table_caption_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_table_caption_get_border_start_width () fo_table_caption_get_border_start_widthFoProperty* fo_table_caption_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_table_caption_set_border_start_width () fo_table_caption_set_border_start_widthvoid fo_table_caption_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_table_caption_get_border_top_color () fo_table_caption_get_border_top_colorFoProperty* fo_table_caption_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_table_caption_set_border_top_color () fo_table_caption_set_border_top_colorvoid fo_table_caption_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_table_caption_get_border_top_style () fo_table_caption_get_border_top_styleFoProperty* fo_table_caption_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_table_caption_set_border_top_style () fo_table_caption_set_border_top_stylevoid fo_table_caption_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_table_caption_get_border_top_width () fo_table_caption_get_border_top_widthFoProperty* fo_table_caption_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_table_caption_set_border_top_width () fo_table_caption_set_border_top_widthvoid fo_table_caption_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_table_caption_get_height () fo_table_caption_get_heightFoProperty* fo_table_caption_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo fo_fo : The FoFo object Returns : The "height" property value fo_table_caption_set_height () fo_table_caption_set_heightvoid fo_table_caption_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height fo_fo : The FoFo object new_height : The new "height" property value fo_table_caption_get_id () fo_table_caption_get_idFoProperty* fo_table_caption_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_table_caption_set_id () fo_table_caption_set_idvoid fo_table_caption_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_table_caption_get_inline_progression_dimension () fo_table_caption_get_inline_progression_dimensionFoProperty* fo_table_caption_get_inline_progression_dimension (FoFo *fo_fo); Gets the "inline-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "inline-progression-dimension" property value fo_table_caption_set_inline_progression_dimension () fo_table_caption_set_inline_progression_dimensionvoid fo_table_caption_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension fo_fo : The FoFo object new_inline_progression_dimension : The new "inline-progression-dimension" property value fo_table_caption_get_keep_together () fo_table_caption_get_keep_togetherFoProperty* fo_table_caption_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_table_caption_set_keep_together () fo_table_caption_set_keep_togethervoid fo_table_caption_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_table_caption_get_keep_together_within_column () fo_table_caption_get_keep_together_within_columnFoProperty* fo_table_caption_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_table_caption_set_keep_together_within_column () fo_table_caption_set_keep_together_within_columnvoid fo_table_caption_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_table_caption_get_keep_together_within_line () fo_table_caption_get_keep_together_within_lineFoProperty* fo_table_caption_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_table_caption_set_keep_together_within_line () fo_table_caption_set_keep_together_within_linevoid fo_table_caption_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_table_caption_get_keep_together_within_page () fo_table_caption_get_keep_together_within_pageFoProperty* fo_table_caption_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_table_caption_set_keep_together_within_page () fo_table_caption_set_keep_together_within_pagevoid fo_table_caption_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_table_caption_get_padding_after () fo_table_caption_get_padding_afterFoProperty* fo_table_caption_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_table_caption_set_padding_after () fo_table_caption_set_padding_aftervoid fo_table_caption_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_table_caption_get_padding_before () fo_table_caption_get_padding_beforeFoProperty* fo_table_caption_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_table_caption_set_padding_before () fo_table_caption_set_padding_beforevoid fo_table_caption_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_table_caption_get_padding_bottom () fo_table_caption_get_padding_bottomFoProperty* fo_table_caption_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_table_caption_set_padding_bottom () fo_table_caption_set_padding_bottomvoid fo_table_caption_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_table_caption_get_padding_end () fo_table_caption_get_padding_endFoProperty* fo_table_caption_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_table_caption_set_padding_end () fo_table_caption_set_padding_endvoid fo_table_caption_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_table_caption_get_padding_left () fo_table_caption_get_padding_leftFoProperty* fo_table_caption_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_table_caption_set_padding_left () fo_table_caption_set_padding_leftvoid fo_table_caption_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_table_caption_get_padding_right () fo_table_caption_get_padding_rightFoProperty* fo_table_caption_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_table_caption_set_padding_right () fo_table_caption_set_padding_rightvoid fo_table_caption_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_table_caption_get_padding_start () fo_table_caption_get_padding_startFoProperty* fo_table_caption_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_table_caption_set_padding_start () fo_table_caption_set_padding_startvoid fo_table_caption_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_table_caption_get_padding_top () fo_table_caption_get_padding_topFoProperty* fo_table_caption_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_table_caption_set_padding_top () fo_table_caption_set_padding_topvoid fo_table_caption_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_table_caption_get_role () fo_table_caption_get_roleFoProperty* fo_table_caption_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_table_caption_set_role () fo_table_caption_set_rolevoid fo_table_caption_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_table_caption_get_source_document () fo_table_caption_get_source_documentFoProperty* fo_table_caption_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_table_caption_set_source_document () fo_table_caption_set_source_documentvoid fo_table_caption_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_table_caption_get_width () fo_table_caption_get_widthFoProperty* fo_table_caption_get_width (FoFo *fo_fo); Gets the "width" property of fo_fo fo_fo : The FoFo object Returns : The "width" property value fo_table_caption_set_width () fo_table_caption_set_widthvoid fo_table_caption_set_width (FoFo *fo_fo, FoProperty *new_width); Sets the "width" property of fo_fo to new_width fo_fo : The FoFo object new_width : The new "width" property value Property Details The <literal>"background-color"</literal> property FoTableCaption:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTableCaption:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"block-progression-dimension"</literal> property FoTableCaption:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"border-after-color"</literal> property FoTableCaption:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoTableCaption:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTableCaption:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTableCaption:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoTableCaption:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTableCaption:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTableCaption:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTableCaption:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTableCaption:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoTableCaption:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoTableCaption:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTableCaption:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTableCaption:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTableCaption:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTableCaption:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTableCaption:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTableCaption:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTableCaption:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoTableCaption:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoTableCaption:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTableCaption:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTableCaption:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTableCaption:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTableCaption:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"height"</literal> property FoTableCaption:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoTableCaption:id "id" FoProperty* : Read Id property. The <literal>"inline-progression-dimension"</literal> property FoTableCaption:inline-progression-dimension "inline-progression-dimension" FoProperty* : Read Inline Progression Dimension property. The <literal>"keep-together"</literal> property FoTableCaption:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoTableCaption:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoTableCaption:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoTableCaption:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"padding-after"</literal> property FoTableCaption:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTableCaption:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTableCaption:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTableCaption:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTableCaption:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTableCaption:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTableCaption:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTableCaption:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoTableCaption:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoTableCaption:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"width"</literal> property FoTableCaption:width "width" FoProperty* : Read Width property. xmlroff-0.6.2/docs/xml/fo-table-cell.xml0000644000175000017500000047653211156164733015025 00000000000000 table-cell 3 XMLROFF Library table-cell Synopsis FoTableCell; FoTableCellClass; FoFo* fo_table_cell_new (void); void fo_table_cell_resolve_column (FoFo *fo); void fo_table_cell_resolve_number_columns_spanned (FoFo *fo); void fo_table_cell_resolve_number_rows_spanned (FoFo *fo); void fo_table_cell_resolve_column_number (FoFo *fo, GError **error); FoFo* fo_table_cell_get_column (FoFo *fo_fo); FoProperty* fo_table_cell_get_background_color (FoFo *fo_fo); void fo_table_cell_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_cell_get_background_image (FoFo *fo_fo); void fo_table_cell_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_cell_get_block_progression_dimension (FoFo *fo_fo); void fo_table_cell_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_table_cell_get_border_after_color (FoFo *fo_fo); void fo_table_cell_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_cell_get_border_after_precedence (FoFo *fo_fo); void fo_table_cell_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty* fo_table_cell_get_border_after_style (FoFo *fo_fo); void fo_table_cell_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_cell_get_border_after_width (FoFo *fo_fo); void fo_table_cell_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_cell_get_border_before_color (FoFo *fo_fo); void fo_table_cell_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_cell_get_border_before_precedence (FoFo *fo_fo); void fo_table_cell_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty* fo_table_cell_get_border_before_style (FoFo *fo_fo); void fo_table_cell_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_cell_get_border_before_width (FoFo *fo_fo); void fo_table_cell_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_cell_get_border_bottom_color (FoFo *fo_fo); void fo_table_cell_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_cell_get_border_bottom_style (FoFo *fo_fo); void fo_table_cell_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_cell_get_border_bottom_width (FoFo *fo_fo); void fo_table_cell_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_cell_get_border_end_color (FoFo *fo_fo); void fo_table_cell_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_cell_get_border_end_precedence (FoFo *fo_fo); void fo_table_cell_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty* fo_table_cell_get_border_end_style (FoFo *fo_fo); void fo_table_cell_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_cell_get_border_end_width (FoFo *fo_fo); void fo_table_cell_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_cell_get_border_left_color (FoFo *fo_fo); void fo_table_cell_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_cell_get_border_left_style (FoFo *fo_fo); void fo_table_cell_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_cell_get_border_left_width (FoFo *fo_fo); void fo_table_cell_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_cell_get_border_right_color (FoFo *fo_fo); void fo_table_cell_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_cell_get_border_right_style (FoFo *fo_fo); void fo_table_cell_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_cell_get_border_right_width (FoFo *fo_fo); void fo_table_cell_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_cell_get_border_start_color (FoFo *fo_fo); void fo_table_cell_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_cell_get_border_start_precedence (FoFo *fo_fo); void fo_table_cell_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty* fo_table_cell_get_border_start_style (FoFo *fo_fo); void fo_table_cell_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_cell_get_border_start_width (FoFo *fo_fo); void fo_table_cell_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_cell_get_border_top_color (FoFo *fo_fo); void fo_table_cell_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_cell_get_border_top_style (FoFo *fo_fo); void fo_table_cell_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_cell_get_border_top_width (FoFo *fo_fo); void fo_table_cell_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_cell_get_column_number (FoFo *fo_fo); void fo_table_cell_set_column_number (FoFo *fo_fo, FoProperty *new_column_number); FoProperty* fo_table_cell_get_display_align (FoFo *fo_fo); void fo_table_cell_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); FoProperty* fo_table_cell_get_height (FoFo *fo_fo); void fo_table_cell_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_table_cell_get_id (FoFo *fo_fo); void fo_table_cell_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_cell_get_inline_progression_dimension (FoFo *fo_fo); void fo_table_cell_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_table_cell_get_number_columns_spanned (FoFo *fo_fo); void fo_table_cell_set_number_columns_spanned (FoFo *fo_fo, FoProperty *new_number_columns_spanned); FoProperty* fo_table_cell_get_number_rows_spanned (FoFo *fo_fo); void fo_table_cell_set_number_rows_spanned (FoFo *fo_fo, FoProperty *new_number_rows_spanned); FoProperty* fo_table_cell_get_padding_after (FoFo *fo_fo); void fo_table_cell_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_cell_get_padding_before (FoFo *fo_fo); void fo_table_cell_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_cell_get_padding_bottom (FoFo *fo_fo); void fo_table_cell_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_cell_get_padding_end (FoFo *fo_fo); void fo_table_cell_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_cell_get_padding_left (FoFo *fo_fo); void fo_table_cell_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_cell_get_padding_right (FoFo *fo_fo); void fo_table_cell_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_cell_get_padding_start (FoFo *fo_fo); void fo_table_cell_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_cell_get_padding_top (FoFo *fo_fo); void fo_table_cell_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_cell_get_role (FoFo *fo_fo); void fo_table_cell_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_cell_get_source_document (FoFo *fo_fo); void fo_table_cell_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_table_cell_get_width (FoFo *fo_fo); void fo_table_cell_set_width (FoFo *fo_fo, FoProperty *new_width); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoTableCell Implemented Interfaces FoTableCell implements FoTableBorderFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-precedence" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-precedence" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-precedence" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-precedence" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "column" FoProperty* : Read "column-number" FoProperty* : Read "display-align" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "inline-progression-dimension" FoProperty* : Read "number-columns-spanned" FoProperty* : Read "number-rows-spanned" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "width" FoProperty* : Read Description Details FoTableCell FoTableCelltypedef struct _FoTableCell FoTableCell; FoTableCellClass FoTableCellClasstypedef struct _FoTableCellClass FoTableCellClass; fo_table_cell_new () fo_table_cell_newFoFo* fo_table_cell_new (void); Creates a new FoTableCell initialized to default value. Returns : the new FoTableCell. fo_table_cell_resolve_column () fo_table_cell_resolve_columnvoid fo_table_cell_resolve_column (FoFo *fo); Resolve the value of the 'column' property of fo. fo : FoTableCell fo_table_cell_resolve_number_columns_spanned () fo_table_cell_resolve_number_columns_spannedvoid fo_table_cell_resolve_number_columns_spanned (FoFo *fo); Resolve the value of the 'number-columns-spanned' property of fo. fo : FoTableCell fo_table_cell_resolve_number_rows_spanned () fo_table_cell_resolve_number_rows_spannedvoid fo_table_cell_resolve_number_rows_spanned (FoFo *fo); Resolve the value of the 'number-rows-spanned' property of fo. fo : FoTableCell fo_table_cell_resolve_column_number () fo_table_cell_resolve_column_numbervoid fo_table_cell_resolve_column_number (FoFo *fo, GError **error); Resolve the column number of fo. fo : FoTableCell error : GError fo_table_cell_get_column () fo_table_cell_get_columnFoFo* fo_table_cell_get_column (FoFo *fo_fo); Gets the column property of table_cell fo_fo : The FoFo object Returns : The "column" property value fo_table_cell_get_background_color () fo_table_cell_get_background_colorFoProperty* fo_table_cell_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_table_cell_set_background_color () fo_table_cell_set_background_colorvoid fo_table_cell_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_table_cell_get_background_image () fo_table_cell_get_background_imageFoProperty* fo_table_cell_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_table_cell_set_background_image () fo_table_cell_set_background_imagevoid fo_table_cell_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_table_cell_get_block_progression_dimension () fo_table_cell_get_block_progression_dimensionFoProperty* fo_table_cell_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "block-progression-dimension" property value fo_table_cell_set_block_progression_dimension () fo_table_cell_set_block_progression_dimensionvoid fo_table_cell_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension fo_fo : The FoFo object new_block_progression_dimension : The new "block-progression-dimension" property value fo_table_cell_get_border_after_color () fo_table_cell_get_border_after_colorFoProperty* fo_table_cell_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_table_cell_set_border_after_color () fo_table_cell_set_border_after_colorvoid fo_table_cell_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_table_cell_get_border_after_precedence () fo_table_cell_get_border_after_precedenceFoProperty* fo_table_cell_get_border_after_precedence (FoFo *fo_fo); Gets the "border-after-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-precedence" property value fo_table_cell_set_border_after_precedence () fo_table_cell_set_border_after_precedencevoid fo_table_cell_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence fo_fo : The FoFo object new_border_after_precedence : The new "border-after-precedence" property value fo_table_cell_get_border_after_style () fo_table_cell_get_border_after_styleFoProperty* fo_table_cell_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_table_cell_set_border_after_style () fo_table_cell_set_border_after_stylevoid fo_table_cell_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_table_cell_get_border_after_width () fo_table_cell_get_border_after_widthFoProperty* fo_table_cell_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_table_cell_set_border_after_width () fo_table_cell_set_border_after_widthvoid fo_table_cell_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_table_cell_get_border_before_color () fo_table_cell_get_border_before_colorFoProperty* fo_table_cell_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_table_cell_set_border_before_color () fo_table_cell_set_border_before_colorvoid fo_table_cell_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_table_cell_get_border_before_precedence () fo_table_cell_get_border_before_precedenceFoProperty* fo_table_cell_get_border_before_precedence (FoFo *fo_fo); Gets the "border-before-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-precedence" property value fo_table_cell_set_border_before_precedence () fo_table_cell_set_border_before_precedencevoid fo_table_cell_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence fo_fo : The FoFo object new_border_before_precedence : The new "border-before-precedence" property value fo_table_cell_get_border_before_style () fo_table_cell_get_border_before_styleFoProperty* fo_table_cell_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_table_cell_set_border_before_style () fo_table_cell_set_border_before_stylevoid fo_table_cell_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_table_cell_get_border_before_width () fo_table_cell_get_border_before_widthFoProperty* fo_table_cell_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_table_cell_set_border_before_width () fo_table_cell_set_border_before_widthvoid fo_table_cell_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_table_cell_get_border_bottom_color () fo_table_cell_get_border_bottom_colorFoProperty* fo_table_cell_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_table_cell_set_border_bottom_color () fo_table_cell_set_border_bottom_colorvoid fo_table_cell_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_table_cell_get_border_bottom_style () fo_table_cell_get_border_bottom_styleFoProperty* fo_table_cell_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_table_cell_set_border_bottom_style () fo_table_cell_set_border_bottom_stylevoid fo_table_cell_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_table_cell_get_border_bottom_width () fo_table_cell_get_border_bottom_widthFoProperty* fo_table_cell_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_table_cell_set_border_bottom_width () fo_table_cell_set_border_bottom_widthvoid fo_table_cell_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_table_cell_get_border_end_color () fo_table_cell_get_border_end_colorFoProperty* fo_table_cell_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_table_cell_set_border_end_color () fo_table_cell_set_border_end_colorvoid fo_table_cell_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_table_cell_get_border_end_precedence () fo_table_cell_get_border_end_precedenceFoProperty* fo_table_cell_get_border_end_precedence (FoFo *fo_fo); Gets the "border-end-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-precedence" property value fo_table_cell_set_border_end_precedence () fo_table_cell_set_border_end_precedencevoid fo_table_cell_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence fo_fo : The FoFo object new_border_end_precedence : The new "border-end-precedence" property value fo_table_cell_get_border_end_style () fo_table_cell_get_border_end_styleFoProperty* fo_table_cell_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_table_cell_set_border_end_style () fo_table_cell_set_border_end_stylevoid fo_table_cell_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_table_cell_get_border_end_width () fo_table_cell_get_border_end_widthFoProperty* fo_table_cell_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_table_cell_set_border_end_width () fo_table_cell_set_border_end_widthvoid fo_table_cell_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_table_cell_get_border_left_color () fo_table_cell_get_border_left_colorFoProperty* fo_table_cell_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_table_cell_set_border_left_color () fo_table_cell_set_border_left_colorvoid fo_table_cell_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_table_cell_get_border_left_style () fo_table_cell_get_border_left_styleFoProperty* fo_table_cell_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_table_cell_set_border_left_style () fo_table_cell_set_border_left_stylevoid fo_table_cell_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_table_cell_get_border_left_width () fo_table_cell_get_border_left_widthFoProperty* fo_table_cell_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_table_cell_set_border_left_width () fo_table_cell_set_border_left_widthvoid fo_table_cell_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_table_cell_get_border_right_color () fo_table_cell_get_border_right_colorFoProperty* fo_table_cell_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_table_cell_set_border_right_color () fo_table_cell_set_border_right_colorvoid fo_table_cell_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_table_cell_get_border_right_style () fo_table_cell_get_border_right_styleFoProperty* fo_table_cell_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_table_cell_set_border_right_style () fo_table_cell_set_border_right_stylevoid fo_table_cell_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_table_cell_get_border_right_width () fo_table_cell_get_border_right_widthFoProperty* fo_table_cell_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_table_cell_set_border_right_width () fo_table_cell_set_border_right_widthvoid fo_table_cell_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_table_cell_get_border_start_color () fo_table_cell_get_border_start_colorFoProperty* fo_table_cell_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_table_cell_set_border_start_color () fo_table_cell_set_border_start_colorvoid fo_table_cell_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_table_cell_get_border_start_precedence () fo_table_cell_get_border_start_precedenceFoProperty* fo_table_cell_get_border_start_precedence (FoFo *fo_fo); Gets the "border-start-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-precedence" property value fo_table_cell_set_border_start_precedence () fo_table_cell_set_border_start_precedencevoid fo_table_cell_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence fo_fo : The FoFo object new_border_start_precedence : The new "border-start-precedence" property value fo_table_cell_get_border_start_style () fo_table_cell_get_border_start_styleFoProperty* fo_table_cell_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_table_cell_set_border_start_style () fo_table_cell_set_border_start_stylevoid fo_table_cell_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_table_cell_get_border_start_width () fo_table_cell_get_border_start_widthFoProperty* fo_table_cell_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_table_cell_set_border_start_width () fo_table_cell_set_border_start_widthvoid fo_table_cell_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_table_cell_get_border_top_color () fo_table_cell_get_border_top_colorFoProperty* fo_table_cell_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_table_cell_set_border_top_color () fo_table_cell_set_border_top_colorvoid fo_table_cell_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_table_cell_get_border_top_style () fo_table_cell_get_border_top_styleFoProperty* fo_table_cell_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_table_cell_set_border_top_style () fo_table_cell_set_border_top_stylevoid fo_table_cell_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_table_cell_get_border_top_width () fo_table_cell_get_border_top_widthFoProperty* fo_table_cell_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_table_cell_set_border_top_width () fo_table_cell_set_border_top_widthvoid fo_table_cell_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_table_cell_get_column_number () fo_table_cell_get_column_numberFoProperty* fo_table_cell_get_column_number (FoFo *fo_fo); Gets the "column-number" property of fo_fo fo_fo : The FoFo object Returns : The "column-number" property value fo_table_cell_set_column_number () fo_table_cell_set_column_numbervoid fo_table_cell_set_column_number (FoFo *fo_fo, FoProperty *new_column_number); Sets the "column-number" property of fo_fo to new_column_number fo_fo : The FoFo object new_column_number : The new "column-number" property value fo_table_cell_get_display_align () fo_table_cell_get_display_alignFoProperty* fo_table_cell_get_display_align (FoFo *fo_fo); Gets the "display-align" property of fo_fo fo_fo : The FoFo object Returns : The "display-align" property value fo_table_cell_set_display_align () fo_table_cell_set_display_alignvoid fo_table_cell_set_display_align (FoFo *fo_fo, FoProperty *new_display_align); Sets the "display-align" property of fo_fo to new_display_align fo_fo : The FoFo object new_display_align : The new "display-align" property value fo_table_cell_get_height () fo_table_cell_get_heightFoProperty* fo_table_cell_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo fo_fo : The FoFo object Returns : The "height" property value fo_table_cell_set_height () fo_table_cell_set_heightvoid fo_table_cell_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height fo_fo : The FoFo object new_height : The new "height" property value fo_table_cell_get_id () fo_table_cell_get_idFoProperty* fo_table_cell_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_table_cell_set_id () fo_table_cell_set_idvoid fo_table_cell_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_table_cell_get_inline_progression_dimension () fo_table_cell_get_inline_progression_dimensionFoProperty* fo_table_cell_get_inline_progression_dimension (FoFo *fo_fo); Gets the "inline-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "inline-progression-dimension" property value fo_table_cell_set_inline_progression_dimension () fo_table_cell_set_inline_progression_dimensionvoid fo_table_cell_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension fo_fo : The FoFo object new_inline_progression_dimension : The new "inline-progression-dimension" property value fo_table_cell_get_number_columns_spanned () fo_table_cell_get_number_columns_spannedFoProperty* fo_table_cell_get_number_columns_spanned (FoFo *fo_fo); Gets the "number-columns-spanned" property of fo_fo fo_fo : The FoFo object Returns : The "number-columns-spanned" property value fo_table_cell_set_number_columns_spanned () fo_table_cell_set_number_columns_spannedvoid fo_table_cell_set_number_columns_spanned (FoFo *fo_fo, FoProperty *new_number_columns_spanned); Sets the "number-columns-spanned" property of fo_fo to new_number_columns_spanned fo_fo : The FoFo object new_number_columns_spanned : The new "number-columns-spanned" property value fo_table_cell_get_number_rows_spanned () fo_table_cell_get_number_rows_spannedFoProperty* fo_table_cell_get_number_rows_spanned (FoFo *fo_fo); Gets the "number-rows-spanned" property of fo_fo fo_fo : The FoFo object Returns : The "number-rows-spanned" property value fo_table_cell_set_number_rows_spanned () fo_table_cell_set_number_rows_spannedvoid fo_table_cell_set_number_rows_spanned (FoFo *fo_fo, FoProperty *new_number_rows_spanned); Sets the "number-rows-spanned" property of fo_fo to new_number_rows_spanned fo_fo : The FoFo object new_number_rows_spanned : The new "number-rows-spanned" property value fo_table_cell_get_padding_after () fo_table_cell_get_padding_afterFoProperty* fo_table_cell_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_table_cell_set_padding_after () fo_table_cell_set_padding_aftervoid fo_table_cell_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_table_cell_get_padding_before () fo_table_cell_get_padding_beforeFoProperty* fo_table_cell_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_table_cell_set_padding_before () fo_table_cell_set_padding_beforevoid fo_table_cell_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_table_cell_get_padding_bottom () fo_table_cell_get_padding_bottomFoProperty* fo_table_cell_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_table_cell_set_padding_bottom () fo_table_cell_set_padding_bottomvoid fo_table_cell_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_table_cell_get_padding_end () fo_table_cell_get_padding_endFoProperty* fo_table_cell_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_table_cell_set_padding_end () fo_table_cell_set_padding_endvoid fo_table_cell_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_table_cell_get_padding_left () fo_table_cell_get_padding_leftFoProperty* fo_table_cell_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_table_cell_set_padding_left () fo_table_cell_set_padding_leftvoid fo_table_cell_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_table_cell_get_padding_right () fo_table_cell_get_padding_rightFoProperty* fo_table_cell_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_table_cell_set_padding_right () fo_table_cell_set_padding_rightvoid fo_table_cell_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_table_cell_get_padding_start () fo_table_cell_get_padding_startFoProperty* fo_table_cell_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_table_cell_set_padding_start () fo_table_cell_set_padding_startvoid fo_table_cell_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_table_cell_get_padding_top () fo_table_cell_get_padding_topFoProperty* fo_table_cell_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_table_cell_set_padding_top () fo_table_cell_set_padding_topvoid fo_table_cell_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_table_cell_get_role () fo_table_cell_get_roleFoProperty* fo_table_cell_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_table_cell_set_role () fo_table_cell_set_rolevoid fo_table_cell_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_table_cell_get_source_document () fo_table_cell_get_source_documentFoProperty* fo_table_cell_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_table_cell_set_source_document () fo_table_cell_set_source_documentvoid fo_table_cell_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_table_cell_get_width () fo_table_cell_get_widthFoProperty* fo_table_cell_get_width (FoFo *fo_fo); Gets the "width" property of fo_fo fo_fo : The FoFo object Returns : The "width" property value fo_table_cell_set_width () fo_table_cell_set_widthvoid fo_table_cell_set_width (FoFo *fo_fo, FoProperty *new_width); Sets the "width" property of fo_fo to new_width fo_fo : The FoFo object new_width : The new "width" property value Property Details The <literal>"background-color"</literal> property FoTableCell:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTableCell:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"block-progression-dimension"</literal> property FoTableCell:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"border-after-color"</literal> property FoTableCell:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-precedence"</literal> property FoTableCell:border-after-precedence "border-after-precedence" FoProperty* : Read Border After Precedence property. The <literal>"border-after-style"</literal> property FoTableCell:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTableCell:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTableCell:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-precedence"</literal> property FoTableCell:border-before-precedence "border-before-precedence" FoProperty* : Read Border Before Precedence property. The <literal>"border-before-style"</literal> property FoTableCell:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTableCell:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTableCell:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTableCell:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTableCell:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoTableCell:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-precedence"</literal> property FoTableCell:border-end-precedence "border-end-precedence" FoProperty* : Read Border End Precedence property. The <literal>"border-end-style"</literal> property FoTableCell:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTableCell:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTableCell:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTableCell:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTableCell:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTableCell:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTableCell:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTableCell:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoTableCell:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-precedence"</literal> property FoTableCell:border-start-precedence "border-start-precedence" FoProperty* : Read Border Start Precedence property. The <literal>"border-start-style"</literal> property FoTableCell:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTableCell:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTableCell:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTableCell:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTableCell:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"column"</literal> property FoTableCell:column "column" FoProperty* : Read Column object for this table-cell. The <literal>"column-number"</literal> property FoTableCell:column-number "column-number" FoProperty* : Read Column Number property. The <literal>"display-align"</literal> property FoTableCell:display-align "display-align" FoProperty* : Read Display Align property. The <literal>"height"</literal> property FoTableCell:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoTableCell:id "id" FoProperty* : Read Id property. The <literal>"inline-progression-dimension"</literal> property FoTableCell:inline-progression-dimension "inline-progression-dimension" FoProperty* : Read Inline Progression Dimension property. The <literal>"number-columns-spanned"</literal> property FoTableCell:number-columns-spanned "number-columns-spanned" FoProperty* : Read Number Columns Spanned property. The <literal>"number-rows-spanned"</literal> property FoTableCell:number-rows-spanned "number-rows-spanned" FoProperty* : Read Number Rows Spanned property. The <literal>"padding-after"</literal> property FoTableCell:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTableCell:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTableCell:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTableCell:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTableCell:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTableCell:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTableCell:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTableCell:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoTableCell:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoTableCell:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"width"</literal> property FoTableCell:width "width" FoProperty* : Read Width property. xmlroff-0.6.2/docs/xml/fo-table-column.xml0000644000175000017500000043276511156164733015403 00000000000000 table-column 3 XMLROFF Library table-column Synopsis #define FO_TABLE_COLUMN_ERROR GQuark fo_table_column_error_quark (void); enum FoTableColumnError; FoTableColumn; FoTableColumnClass; FoFo* fo_table_column_new (void); gfloat fo_table_column_get_offset (FoFo *fo_fo); void fo_table_column_set_offset (FoFo *fo_fo, gfloat new_offset); FoProperty* fo_table_column_get_background_color (FoFo *fo_fo); void fo_table_column_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_column_get_background_image (FoFo *fo_fo); void fo_table_column_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_column_get_border_after_color (FoFo *fo_fo); void fo_table_column_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_column_get_border_after_precedence (FoFo *fo_fo); void fo_table_column_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty* fo_table_column_get_border_after_style (FoFo *fo_fo); void fo_table_column_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_column_get_border_after_width (FoFo *fo_fo); void fo_table_column_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_column_get_border_before_color (FoFo *fo_fo); void fo_table_column_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_column_get_border_before_precedence (FoFo *fo_fo); void fo_table_column_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty* fo_table_column_get_border_before_style (FoFo *fo_fo); void fo_table_column_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_column_get_border_before_width (FoFo *fo_fo); void fo_table_column_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_column_get_border_bottom_color (FoFo *fo_fo); void fo_table_column_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_column_get_border_bottom_style (FoFo *fo_fo); void fo_table_column_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_column_get_border_bottom_width (FoFo *fo_fo); void fo_table_column_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_column_get_border_end_color (FoFo *fo_fo); void fo_table_column_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_column_get_border_end_precedence (FoFo *fo_fo); void fo_table_column_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty* fo_table_column_get_border_end_style (FoFo *fo_fo); void fo_table_column_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_column_get_border_end_width (FoFo *fo_fo); void fo_table_column_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_column_get_border_left_color (FoFo *fo_fo); void fo_table_column_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_column_get_border_left_style (FoFo *fo_fo); void fo_table_column_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_column_get_border_left_width (FoFo *fo_fo); void fo_table_column_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_column_get_border_right_color (FoFo *fo_fo); void fo_table_column_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_column_get_border_right_style (FoFo *fo_fo); void fo_table_column_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_column_get_border_right_width (FoFo *fo_fo); void fo_table_column_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_column_get_border_start_color (FoFo *fo_fo); void fo_table_column_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_column_get_border_start_precedence (FoFo *fo_fo); void fo_table_column_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty* fo_table_column_get_border_start_style (FoFo *fo_fo); void fo_table_column_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_column_get_border_start_width (FoFo *fo_fo); void fo_table_column_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_column_get_border_top_color (FoFo *fo_fo); void fo_table_column_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_column_get_border_top_style (FoFo *fo_fo); void fo_table_column_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_column_get_border_top_width (FoFo *fo_fo); void fo_table_column_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_column_get_column_number (FoFo *fo_fo); void fo_table_column_set_column_number (FoFo *fo_fo, FoProperty *new_column_number); FoProperty* fo_table_column_get_column_width (FoFo *fo_fo); void fo_table_column_set_column_width (FoFo *fo_fo, FoProperty *new_column_width); FoProperty* fo_table_column_get_number_columns_repeated (FoFo *fo_fo); void fo_table_column_set_number_columns_repeated (FoFo *fo_fo, FoProperty *new_number_columns_repeated); FoProperty* fo_table_column_get_number_columns_spanned (FoFo *fo_fo); void fo_table_column_set_number_columns_spanned (FoFo *fo_fo, FoProperty *new_number_columns_spanned); FoProperty* fo_table_column_get_padding_after (FoFo *fo_fo); void fo_table_column_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_column_get_padding_before (FoFo *fo_fo); void fo_table_column_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_column_get_padding_bottom (FoFo *fo_fo); void fo_table_column_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_column_get_padding_end (FoFo *fo_fo); void fo_table_column_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_column_get_padding_left (FoFo *fo_fo); void fo_table_column_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_column_get_padding_right (FoFo *fo_fo); void fo_table_column_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_column_get_padding_start (FoFo *fo_fo); void fo_table_column_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_column_get_padding_top (FoFo *fo_fo); void fo_table_column_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoTableColumn Implemented Interfaces FoTableColumn implements FoTableBorderFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-precedence" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-precedence" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-precedence" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-precedence" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "column-number" FoProperty* : Read "column-width" FoProperty* : Read "number-columns-repeated" FoProperty* : Read "number-columns-spanned" FoProperty* : Read "offset" gfloat : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read Description Details FO_TABLE_COLUMN_ERROR FO_TABLE_COLUMN_ERROR#define FO_TABLE_COLUMN_ERROR fo_table_column_error_quark () fo_table_column_error_quark () fo_table_column_error_quarkGQuark fo_table_column_error_quark (void); Create and return the GQuark for use as the error domain for table-column. Returns : Error domain GQuark. enum FoTableColumnError FoTableColumnErrortypedef enum { FO_TABLE_COLUMN_ERROR_FAILED, /* Generic error code */ FO_TABLE_COLUMN_ERROR_WARNING, /* Non-fatal error */ FO_TABLE_COLUMN_ERROR_FIXED_NO_WIDTH, /* column-width required when fixed */ FO_TABLE_COLUMN_ERROR_LAST } FoTableColumnError; FoTableColumn FoTableColumntypedef struct _FoTableColumn FoTableColumn; FoTableColumnClass FoTableColumnClasstypedef struct _FoTableColumnClass FoTableColumnClass; fo_table_column_new () fo_table_column_newFoFo* fo_table_column_new (void); Creates a new FoTableColumn initialized to default value. Returns : the new FoTableColumn. fo_table_column_get_offset () fo_table_column_get_offsetgfloat fo_table_column_get_offset (FoFo *fo_fo); Gets the "offset" property of table_column fo_fo : The FoFo object Returns : The "offset" property value fo_table_column_set_offset () fo_table_column_set_offsetvoid fo_table_column_set_offset (FoFo *fo_fo, gfloat new_offset); Sets the "offset" property of table_column to new_offset fo_fo : The FoFo object new_offset : The new "offset" property value fo_table_column_get_background_color () fo_table_column_get_background_colorFoProperty* fo_table_column_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_table_column_set_background_color () fo_table_column_set_background_colorvoid fo_table_column_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_table_column_get_background_image () fo_table_column_get_background_imageFoProperty* fo_table_column_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_table_column_set_background_image () fo_table_column_set_background_imagevoid fo_table_column_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_table_column_get_border_after_color () fo_table_column_get_border_after_colorFoProperty* fo_table_column_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_table_column_set_border_after_color () fo_table_column_set_border_after_colorvoid fo_table_column_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_table_column_get_border_after_precedence () fo_table_column_get_border_after_precedenceFoProperty* fo_table_column_get_border_after_precedence (FoFo *fo_fo); Gets the "border-after-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-precedence" property value fo_table_column_set_border_after_precedence () fo_table_column_set_border_after_precedencevoid fo_table_column_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence fo_fo : The FoFo object new_border_after_precedence : The new "border-after-precedence" property value fo_table_column_get_border_after_style () fo_table_column_get_border_after_styleFoProperty* fo_table_column_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_table_column_set_border_after_style () fo_table_column_set_border_after_stylevoid fo_table_column_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_table_column_get_border_after_width () fo_table_column_get_border_after_widthFoProperty* fo_table_column_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_table_column_set_border_after_width () fo_table_column_set_border_after_widthvoid fo_table_column_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_table_column_get_border_before_color () fo_table_column_get_border_before_colorFoProperty* fo_table_column_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_table_column_set_border_before_color () fo_table_column_set_border_before_colorvoid fo_table_column_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_table_column_get_border_before_precedence () fo_table_column_get_border_before_precedenceFoProperty* fo_table_column_get_border_before_precedence (FoFo *fo_fo); Gets the "border-before-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-precedence" property value fo_table_column_set_border_before_precedence () fo_table_column_set_border_before_precedencevoid fo_table_column_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence fo_fo : The FoFo object new_border_before_precedence : The new "border-before-precedence" property value fo_table_column_get_border_before_style () fo_table_column_get_border_before_styleFoProperty* fo_table_column_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_table_column_set_border_before_style () fo_table_column_set_border_before_stylevoid fo_table_column_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_table_column_get_border_before_width () fo_table_column_get_border_before_widthFoProperty* fo_table_column_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_table_column_set_border_before_width () fo_table_column_set_border_before_widthvoid fo_table_column_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_table_column_get_border_bottom_color () fo_table_column_get_border_bottom_colorFoProperty* fo_table_column_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_table_column_set_border_bottom_color () fo_table_column_set_border_bottom_colorvoid fo_table_column_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_table_column_get_border_bottom_style () fo_table_column_get_border_bottom_styleFoProperty* fo_table_column_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_table_column_set_border_bottom_style () fo_table_column_set_border_bottom_stylevoid fo_table_column_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_table_column_get_border_bottom_width () fo_table_column_get_border_bottom_widthFoProperty* fo_table_column_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_table_column_set_border_bottom_width () fo_table_column_set_border_bottom_widthvoid fo_table_column_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_table_column_get_border_end_color () fo_table_column_get_border_end_colorFoProperty* fo_table_column_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_table_column_set_border_end_color () fo_table_column_set_border_end_colorvoid fo_table_column_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_table_column_get_border_end_precedence () fo_table_column_get_border_end_precedenceFoProperty* fo_table_column_get_border_end_precedence (FoFo *fo_fo); Gets the "border-end-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-precedence" property value fo_table_column_set_border_end_precedence () fo_table_column_set_border_end_precedencevoid fo_table_column_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence fo_fo : The FoFo object new_border_end_precedence : The new "border-end-precedence" property value fo_table_column_get_border_end_style () fo_table_column_get_border_end_styleFoProperty* fo_table_column_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_table_column_set_border_end_style () fo_table_column_set_border_end_stylevoid fo_table_column_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_table_column_get_border_end_width () fo_table_column_get_border_end_widthFoProperty* fo_table_column_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_table_column_set_border_end_width () fo_table_column_set_border_end_widthvoid fo_table_column_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_table_column_get_border_left_color () fo_table_column_get_border_left_colorFoProperty* fo_table_column_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_table_column_set_border_left_color () fo_table_column_set_border_left_colorvoid fo_table_column_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_table_column_get_border_left_style () fo_table_column_get_border_left_styleFoProperty* fo_table_column_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_table_column_set_border_left_style () fo_table_column_set_border_left_stylevoid fo_table_column_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_table_column_get_border_left_width () fo_table_column_get_border_left_widthFoProperty* fo_table_column_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_table_column_set_border_left_width () fo_table_column_set_border_left_widthvoid fo_table_column_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_table_column_get_border_right_color () fo_table_column_get_border_right_colorFoProperty* fo_table_column_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_table_column_set_border_right_color () fo_table_column_set_border_right_colorvoid fo_table_column_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_table_column_get_border_right_style () fo_table_column_get_border_right_styleFoProperty* fo_table_column_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_table_column_set_border_right_style () fo_table_column_set_border_right_stylevoid fo_table_column_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_table_column_get_border_right_width () fo_table_column_get_border_right_widthFoProperty* fo_table_column_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_table_column_set_border_right_width () fo_table_column_set_border_right_widthvoid fo_table_column_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_table_column_get_border_start_color () fo_table_column_get_border_start_colorFoProperty* fo_table_column_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_table_column_set_border_start_color () fo_table_column_set_border_start_colorvoid fo_table_column_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_table_column_get_border_start_precedence () fo_table_column_get_border_start_precedenceFoProperty* fo_table_column_get_border_start_precedence (FoFo *fo_fo); Gets the "border-start-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-precedence" property value fo_table_column_set_border_start_precedence () fo_table_column_set_border_start_precedencevoid fo_table_column_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence fo_fo : The FoFo object new_border_start_precedence : The new "border-start-precedence" property value fo_table_column_get_border_start_style () fo_table_column_get_border_start_styleFoProperty* fo_table_column_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_table_column_set_border_start_style () fo_table_column_set_border_start_stylevoid fo_table_column_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_table_column_get_border_start_width () fo_table_column_get_border_start_widthFoProperty* fo_table_column_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_table_column_set_border_start_width () fo_table_column_set_border_start_widthvoid fo_table_column_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_table_column_get_border_top_color () fo_table_column_get_border_top_colorFoProperty* fo_table_column_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_table_column_set_border_top_color () fo_table_column_set_border_top_colorvoid fo_table_column_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_table_column_get_border_top_style () fo_table_column_get_border_top_styleFoProperty* fo_table_column_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_table_column_set_border_top_style () fo_table_column_set_border_top_stylevoid fo_table_column_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_table_column_get_border_top_width () fo_table_column_get_border_top_widthFoProperty* fo_table_column_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_table_column_set_border_top_width () fo_table_column_set_border_top_widthvoid fo_table_column_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_table_column_get_column_number () fo_table_column_get_column_numberFoProperty* fo_table_column_get_column_number (FoFo *fo_fo); Gets the "column-number" property of fo_fo fo_fo : The FoFo object Returns : The "column-number" property value fo_table_column_set_column_number () fo_table_column_set_column_numbervoid fo_table_column_set_column_number (FoFo *fo_fo, FoProperty *new_column_number); Sets the "column-number" property of fo_fo to new_column_number fo_fo : The FoFo object new_column_number : The new "column-number" property value fo_table_column_get_column_width () fo_table_column_get_column_widthFoProperty* fo_table_column_get_column_width (FoFo *fo_fo); Gets the "column-width" property of fo_fo fo_fo : The FoFo object Returns : The "column-width" property value fo_table_column_set_column_width () fo_table_column_set_column_widthvoid fo_table_column_set_column_width (FoFo *fo_fo, FoProperty *new_column_width); Sets the "column-width" property of fo_fo to new_column_width fo_fo : The FoFo object new_column_width : The new "column-width" property value fo_table_column_get_number_columns_repeated () fo_table_column_get_number_columns_repeatedFoProperty* fo_table_column_get_number_columns_repeated (FoFo *fo_fo); Gets the "number-columns-repeated" property of fo_fo fo_fo : The FoFo object Returns : The "number-columns-repeated" property value fo_table_column_set_number_columns_repeated () fo_table_column_set_number_columns_repeatedvoid fo_table_column_set_number_columns_repeated (FoFo *fo_fo, FoProperty *new_number_columns_repeated); Sets the "number-columns-repeated" property of fo_fo to new_number_columns_repeated fo_fo : The FoFo object new_number_columns_repeated : The new "number-columns-repeated" property value fo_table_column_get_number_columns_spanned () fo_table_column_get_number_columns_spannedFoProperty* fo_table_column_get_number_columns_spanned (FoFo *fo_fo); Gets the "number-columns-spanned" property of fo_fo fo_fo : The FoFo object Returns : The "number-columns-spanned" property value fo_table_column_set_number_columns_spanned () fo_table_column_set_number_columns_spannedvoid fo_table_column_set_number_columns_spanned (FoFo *fo_fo, FoProperty *new_number_columns_spanned); Sets the "number-columns-spanned" property of fo_fo to new_number_columns_spanned fo_fo : The FoFo object new_number_columns_spanned : The new "number-columns-spanned" property value fo_table_column_get_padding_after () fo_table_column_get_padding_afterFoProperty* fo_table_column_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_table_column_set_padding_after () fo_table_column_set_padding_aftervoid fo_table_column_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_table_column_get_padding_before () fo_table_column_get_padding_beforeFoProperty* fo_table_column_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_table_column_set_padding_before () fo_table_column_set_padding_beforevoid fo_table_column_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_table_column_get_padding_bottom () fo_table_column_get_padding_bottomFoProperty* fo_table_column_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_table_column_set_padding_bottom () fo_table_column_set_padding_bottomvoid fo_table_column_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_table_column_get_padding_end () fo_table_column_get_padding_endFoProperty* fo_table_column_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_table_column_set_padding_end () fo_table_column_set_padding_endvoid fo_table_column_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_table_column_get_padding_left () fo_table_column_get_padding_leftFoProperty* fo_table_column_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_table_column_set_padding_left () fo_table_column_set_padding_leftvoid fo_table_column_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_table_column_get_padding_right () fo_table_column_get_padding_rightFoProperty* fo_table_column_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_table_column_set_padding_right () fo_table_column_set_padding_rightvoid fo_table_column_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_table_column_get_padding_start () fo_table_column_get_padding_startFoProperty* fo_table_column_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_table_column_set_padding_start () fo_table_column_set_padding_startvoid fo_table_column_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_table_column_get_padding_top () fo_table_column_get_padding_topFoProperty* fo_table_column_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_table_column_set_padding_top () fo_table_column_set_padding_topvoid fo_table_column_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value Property Details The <literal>"background-color"</literal> property FoTableColumn:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTableColumn:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoTableColumn:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-precedence"</literal> property FoTableColumn:border-after-precedence "border-after-precedence" FoProperty* : Read Border After Precedence property. The <literal>"border-after-style"</literal> property FoTableColumn:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTableColumn:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTableColumn:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-precedence"</literal> property FoTableColumn:border-before-precedence "border-before-precedence" FoProperty* : Read Border Before Precedence property. The <literal>"border-before-style"</literal> property FoTableColumn:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTableColumn:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTableColumn:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTableColumn:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTableColumn:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoTableColumn:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-precedence"</literal> property FoTableColumn:border-end-precedence "border-end-precedence" FoProperty* : Read Border End Precedence property. The <literal>"border-end-style"</literal> property FoTableColumn:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTableColumn:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTableColumn:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTableColumn:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTableColumn:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTableColumn:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTableColumn:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTableColumn:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoTableColumn:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-precedence"</literal> property FoTableColumn:border-start-precedence "border-start-precedence" FoProperty* : Read Border Start Precedence property. The <literal>"border-start-style"</literal> property FoTableColumn:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTableColumn:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTableColumn:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTableColumn:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTableColumn:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"column-number"</literal> property FoTableColumn:column-number "column-number" FoProperty* : Read Column Number property. The <literal>"column-width"</literal> property FoTableColumn:column-width "column-width" FoProperty* : Read Column Width property. The <literal>"number-columns-repeated"</literal> property FoTableColumn:number-columns-repeated "number-columns-repeated" FoProperty* : Read Number Columns Repeated property. The <literal>"number-columns-spanned"</literal> property FoTableColumn:number-columns-spanned "number-columns-spanned" FoProperty* : Read Number Columns Spanned property. The <literal>"offset"</literal> property FoTableColumn:offset "offset" gfloat : Read Offset of table column in inline-progression direction.Allowed values: >= 0 Default value: 0 The <literal>"padding-after"</literal> property FoTableColumn:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTableColumn:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTableColumn:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTableColumn:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTableColumn:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTableColumn:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTableColumn:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTableColumn:padding-top "padding-top" FoProperty* : Read Padding Top property. xmlroff-0.6.2/docs/xml/fo-table-footer.xml0000644000175000017500000041143011156164733015366 00000000000000 table-footer 3 XMLROFF Library table-footer Synopsis FoTableFooter; FoTableFooterClass; FoFo* fo_table_footer_new (void); FoProperty* fo_table_footer_get_background_color (FoFo *fo_fo); void fo_table_footer_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_footer_get_background_image (FoFo *fo_fo); void fo_table_footer_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_footer_get_border_after_color (FoFo *fo_fo); void fo_table_footer_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_footer_get_border_after_precedence (FoFo *fo_fo); void fo_table_footer_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty* fo_table_footer_get_border_after_style (FoFo *fo_fo); void fo_table_footer_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_footer_get_border_after_width (FoFo *fo_fo); void fo_table_footer_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_footer_get_border_before_color (FoFo *fo_fo); void fo_table_footer_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_footer_get_border_before_precedence (FoFo *fo_fo); void fo_table_footer_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty* fo_table_footer_get_border_before_style (FoFo *fo_fo); void fo_table_footer_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_footer_get_border_before_width (FoFo *fo_fo); void fo_table_footer_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_footer_get_border_bottom_color (FoFo *fo_fo); void fo_table_footer_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_footer_get_border_bottom_style (FoFo *fo_fo); void fo_table_footer_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_footer_get_border_bottom_width (FoFo *fo_fo); void fo_table_footer_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_footer_get_border_end_color (FoFo *fo_fo); void fo_table_footer_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_footer_get_border_end_precedence (FoFo *fo_fo); void fo_table_footer_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty* fo_table_footer_get_border_end_style (FoFo *fo_fo); void fo_table_footer_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_footer_get_border_end_width (FoFo *fo_fo); void fo_table_footer_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_footer_get_border_left_color (FoFo *fo_fo); void fo_table_footer_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_footer_get_border_left_style (FoFo *fo_fo); void fo_table_footer_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_footer_get_border_left_width (FoFo *fo_fo); void fo_table_footer_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_footer_get_border_right_color (FoFo *fo_fo); void fo_table_footer_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_footer_get_border_right_style (FoFo *fo_fo); void fo_table_footer_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_footer_get_border_right_width (FoFo *fo_fo); void fo_table_footer_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_footer_get_border_start_color (FoFo *fo_fo); void fo_table_footer_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_footer_get_border_start_precedence (FoFo *fo_fo); void fo_table_footer_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty* fo_table_footer_get_border_start_style (FoFo *fo_fo); void fo_table_footer_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_footer_get_border_start_width (FoFo *fo_fo); void fo_table_footer_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_footer_get_border_top_color (FoFo *fo_fo); void fo_table_footer_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_footer_get_border_top_style (FoFo *fo_fo); void fo_table_footer_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_footer_get_border_top_width (FoFo *fo_fo); void fo_table_footer_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_footer_get_id (FoFo *fo_fo); void fo_table_footer_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_footer_get_padding_after (FoFo *fo_fo); void fo_table_footer_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_footer_get_padding_before (FoFo *fo_fo); void fo_table_footer_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_footer_get_padding_bottom (FoFo *fo_fo); void fo_table_footer_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_footer_get_padding_end (FoFo *fo_fo); void fo_table_footer_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_footer_get_padding_left (FoFo *fo_fo); void fo_table_footer_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_footer_get_padding_right (FoFo *fo_fo); void fo_table_footer_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_footer_get_padding_start (FoFo *fo_fo); void fo_table_footer_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_footer_get_padding_top (FoFo *fo_fo); void fo_table_footer_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_footer_get_role (FoFo *fo_fo); void fo_table_footer_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_footer_get_source_document (FoFo *fo_fo); void fo_table_footer_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoTablePart +----FoTableFooter Implemented Interfaces FoTableFooter implements FoTableBorderFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-precedence" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-precedence" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-precedence" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-precedence" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "id" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoTableFooter FoTableFootertypedef struct _FoTableFooter FoTableFooter; FoTableFooterClass FoTableFooterClasstypedef struct _FoTableFooterClass FoTableFooterClass; fo_table_footer_new () fo_table_footer_newFoFo* fo_table_footer_new (void); Creates a new FoTableFooter initialized to default value. Returns : the new FoTableFooter. fo_table_footer_get_background_color () fo_table_footer_get_background_colorFoProperty* fo_table_footer_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_table_footer_set_background_color () fo_table_footer_set_background_colorvoid fo_table_footer_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_table_footer_get_background_image () fo_table_footer_get_background_imageFoProperty* fo_table_footer_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_table_footer_set_background_image () fo_table_footer_set_background_imagevoid fo_table_footer_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_table_footer_get_border_after_color () fo_table_footer_get_border_after_colorFoProperty* fo_table_footer_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_table_footer_set_border_after_color () fo_table_footer_set_border_after_colorvoid fo_table_footer_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_table_footer_get_border_after_precedence () fo_table_footer_get_border_after_precedenceFoProperty* fo_table_footer_get_border_after_precedence (FoFo *fo_fo); Gets the "border-after-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-precedence" property value fo_table_footer_set_border_after_precedence () fo_table_footer_set_border_after_precedencevoid fo_table_footer_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence fo_fo : The FoFo object new_border_after_precedence : The new "border-after-precedence" property value fo_table_footer_get_border_after_style () fo_table_footer_get_border_after_styleFoProperty* fo_table_footer_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_table_footer_set_border_after_style () fo_table_footer_set_border_after_stylevoid fo_table_footer_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_table_footer_get_border_after_width () fo_table_footer_get_border_after_widthFoProperty* fo_table_footer_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_table_footer_set_border_after_width () fo_table_footer_set_border_after_widthvoid fo_table_footer_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_table_footer_get_border_before_color () fo_table_footer_get_border_before_colorFoProperty* fo_table_footer_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_table_footer_set_border_before_color () fo_table_footer_set_border_before_colorvoid fo_table_footer_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_table_footer_get_border_before_precedence () fo_table_footer_get_border_before_precedenceFoProperty* fo_table_footer_get_border_before_precedence (FoFo *fo_fo); Gets the "border-before-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-precedence" property value fo_table_footer_set_border_before_precedence () fo_table_footer_set_border_before_precedencevoid fo_table_footer_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence fo_fo : The FoFo object new_border_before_precedence : The new "border-before-precedence" property value fo_table_footer_get_border_before_style () fo_table_footer_get_border_before_styleFoProperty* fo_table_footer_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_table_footer_set_border_before_style () fo_table_footer_set_border_before_stylevoid fo_table_footer_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_table_footer_get_border_before_width () fo_table_footer_get_border_before_widthFoProperty* fo_table_footer_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_table_footer_set_border_before_width () fo_table_footer_set_border_before_widthvoid fo_table_footer_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_table_footer_get_border_bottom_color () fo_table_footer_get_border_bottom_colorFoProperty* fo_table_footer_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_table_footer_set_border_bottom_color () fo_table_footer_set_border_bottom_colorvoid fo_table_footer_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_table_footer_get_border_bottom_style () fo_table_footer_get_border_bottom_styleFoProperty* fo_table_footer_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_table_footer_set_border_bottom_style () fo_table_footer_set_border_bottom_stylevoid fo_table_footer_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_table_footer_get_border_bottom_width () fo_table_footer_get_border_bottom_widthFoProperty* fo_table_footer_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_table_footer_set_border_bottom_width () fo_table_footer_set_border_bottom_widthvoid fo_table_footer_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_table_footer_get_border_end_color () fo_table_footer_get_border_end_colorFoProperty* fo_table_footer_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_table_footer_set_border_end_color () fo_table_footer_set_border_end_colorvoid fo_table_footer_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_table_footer_get_border_end_precedence () fo_table_footer_get_border_end_precedenceFoProperty* fo_table_footer_get_border_end_precedence (FoFo *fo_fo); Gets the "border-end-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-precedence" property value fo_table_footer_set_border_end_precedence () fo_table_footer_set_border_end_precedencevoid fo_table_footer_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence fo_fo : The FoFo object new_border_end_precedence : The new "border-end-precedence" property value fo_table_footer_get_border_end_style () fo_table_footer_get_border_end_styleFoProperty* fo_table_footer_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_table_footer_set_border_end_style () fo_table_footer_set_border_end_stylevoid fo_table_footer_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_table_footer_get_border_end_width () fo_table_footer_get_border_end_widthFoProperty* fo_table_footer_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_table_footer_set_border_end_width () fo_table_footer_set_border_end_widthvoid fo_table_footer_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_table_footer_get_border_left_color () fo_table_footer_get_border_left_colorFoProperty* fo_table_footer_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_table_footer_set_border_left_color () fo_table_footer_set_border_left_colorvoid fo_table_footer_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_table_footer_get_border_left_style () fo_table_footer_get_border_left_styleFoProperty* fo_table_footer_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_table_footer_set_border_left_style () fo_table_footer_set_border_left_stylevoid fo_table_footer_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_table_footer_get_border_left_width () fo_table_footer_get_border_left_widthFoProperty* fo_table_footer_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_table_footer_set_border_left_width () fo_table_footer_set_border_left_widthvoid fo_table_footer_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_table_footer_get_border_right_color () fo_table_footer_get_border_right_colorFoProperty* fo_table_footer_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_table_footer_set_border_right_color () fo_table_footer_set_border_right_colorvoid fo_table_footer_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_table_footer_get_border_right_style () fo_table_footer_get_border_right_styleFoProperty* fo_table_footer_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_table_footer_set_border_right_style () fo_table_footer_set_border_right_stylevoid fo_table_footer_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_table_footer_get_border_right_width () fo_table_footer_get_border_right_widthFoProperty* fo_table_footer_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_table_footer_set_border_right_width () fo_table_footer_set_border_right_widthvoid fo_table_footer_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_table_footer_get_border_start_color () fo_table_footer_get_border_start_colorFoProperty* fo_table_footer_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_table_footer_set_border_start_color () fo_table_footer_set_border_start_colorvoid fo_table_footer_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_table_footer_get_border_start_precedence () fo_table_footer_get_border_start_precedenceFoProperty* fo_table_footer_get_border_start_precedence (FoFo *fo_fo); Gets the "border-start-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-precedence" property value fo_table_footer_set_border_start_precedence () fo_table_footer_set_border_start_precedencevoid fo_table_footer_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence fo_fo : The FoFo object new_border_start_precedence : The new "border-start-precedence" property value fo_table_footer_get_border_start_style () fo_table_footer_get_border_start_styleFoProperty* fo_table_footer_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_table_footer_set_border_start_style () fo_table_footer_set_border_start_stylevoid fo_table_footer_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_table_footer_get_border_start_width () fo_table_footer_get_border_start_widthFoProperty* fo_table_footer_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_table_footer_set_border_start_width () fo_table_footer_set_border_start_widthvoid fo_table_footer_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_table_footer_get_border_top_color () fo_table_footer_get_border_top_colorFoProperty* fo_table_footer_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_table_footer_set_border_top_color () fo_table_footer_set_border_top_colorvoid fo_table_footer_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_table_footer_get_border_top_style () fo_table_footer_get_border_top_styleFoProperty* fo_table_footer_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_table_footer_set_border_top_style () fo_table_footer_set_border_top_stylevoid fo_table_footer_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_table_footer_get_border_top_width () fo_table_footer_get_border_top_widthFoProperty* fo_table_footer_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_table_footer_set_border_top_width () fo_table_footer_set_border_top_widthvoid fo_table_footer_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_table_footer_get_id () fo_table_footer_get_idFoProperty* fo_table_footer_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_table_footer_set_id () fo_table_footer_set_idvoid fo_table_footer_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_table_footer_get_padding_after () fo_table_footer_get_padding_afterFoProperty* fo_table_footer_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_table_footer_set_padding_after () fo_table_footer_set_padding_aftervoid fo_table_footer_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_table_footer_get_padding_before () fo_table_footer_get_padding_beforeFoProperty* fo_table_footer_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_table_footer_set_padding_before () fo_table_footer_set_padding_beforevoid fo_table_footer_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_table_footer_get_padding_bottom () fo_table_footer_get_padding_bottomFoProperty* fo_table_footer_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_table_footer_set_padding_bottom () fo_table_footer_set_padding_bottomvoid fo_table_footer_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_table_footer_get_padding_end () fo_table_footer_get_padding_endFoProperty* fo_table_footer_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_table_footer_set_padding_end () fo_table_footer_set_padding_endvoid fo_table_footer_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_table_footer_get_padding_left () fo_table_footer_get_padding_leftFoProperty* fo_table_footer_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_table_footer_set_padding_left () fo_table_footer_set_padding_leftvoid fo_table_footer_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_table_footer_get_padding_right () fo_table_footer_get_padding_rightFoProperty* fo_table_footer_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_table_footer_set_padding_right () fo_table_footer_set_padding_rightvoid fo_table_footer_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_table_footer_get_padding_start () fo_table_footer_get_padding_startFoProperty* fo_table_footer_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_table_footer_set_padding_start () fo_table_footer_set_padding_startvoid fo_table_footer_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_table_footer_get_padding_top () fo_table_footer_get_padding_topFoProperty* fo_table_footer_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_table_footer_set_padding_top () fo_table_footer_set_padding_topvoid fo_table_footer_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_table_footer_get_role () fo_table_footer_get_roleFoProperty* fo_table_footer_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_table_footer_set_role () fo_table_footer_set_rolevoid fo_table_footer_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_table_footer_get_source_document () fo_table_footer_get_source_documentFoProperty* fo_table_footer_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_table_footer_set_source_document () fo_table_footer_set_source_documentvoid fo_table_footer_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value Property Details The <literal>"background-color"</literal> property FoTableFooter:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTableFooter:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoTableFooter:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-precedence"</literal> property FoTableFooter:border-after-precedence "border-after-precedence" FoProperty* : Read Border After Precedence property. The <literal>"border-after-style"</literal> property FoTableFooter:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTableFooter:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTableFooter:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-precedence"</literal> property FoTableFooter:border-before-precedence "border-before-precedence" FoProperty* : Read Border Before Precedence property. The <literal>"border-before-style"</literal> property FoTableFooter:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTableFooter:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTableFooter:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTableFooter:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTableFooter:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoTableFooter:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-precedence"</literal> property FoTableFooter:border-end-precedence "border-end-precedence" FoProperty* : Read Border End Precedence property. The <literal>"border-end-style"</literal> property FoTableFooter:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTableFooter:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTableFooter:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTableFooter:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTableFooter:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTableFooter:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTableFooter:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTableFooter:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoTableFooter:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-precedence"</literal> property FoTableFooter:border-start-precedence "border-start-precedence" FoProperty* : Read Border Start Precedence property. The <literal>"border-start-style"</literal> property FoTableFooter:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTableFooter:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTableFooter:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTableFooter:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTableFooter:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"id"</literal> property FoTableFooter:id "id" FoProperty* : Read Id property. The <literal>"padding-after"</literal> property FoTableFooter:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTableFooter:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTableFooter:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTableFooter:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTableFooter:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTableFooter:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTableFooter:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTableFooter:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoTableFooter:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoTableFooter:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-table-header.xml0000644000175000017500000041143011156164733015320 00000000000000 table-header 3 XMLROFF Library table-header Synopsis FoTableHeader; FoTableHeaderClass; FoFo* fo_table_header_new (void); FoProperty* fo_table_header_get_background_color (FoFo *fo_fo); void fo_table_header_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_header_get_background_image (FoFo *fo_fo); void fo_table_header_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_header_get_border_after_color (FoFo *fo_fo); void fo_table_header_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_header_get_border_after_precedence (FoFo *fo_fo); void fo_table_header_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty* fo_table_header_get_border_after_style (FoFo *fo_fo); void fo_table_header_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_header_get_border_after_width (FoFo *fo_fo); void fo_table_header_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_header_get_border_before_color (FoFo *fo_fo); void fo_table_header_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_header_get_border_before_precedence (FoFo *fo_fo); void fo_table_header_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty* fo_table_header_get_border_before_style (FoFo *fo_fo); void fo_table_header_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_header_get_border_before_width (FoFo *fo_fo); void fo_table_header_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_header_get_border_bottom_color (FoFo *fo_fo); void fo_table_header_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_header_get_border_bottom_style (FoFo *fo_fo); void fo_table_header_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_header_get_border_bottom_width (FoFo *fo_fo); void fo_table_header_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_header_get_border_end_color (FoFo *fo_fo); void fo_table_header_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_header_get_border_end_precedence (FoFo *fo_fo); void fo_table_header_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty* fo_table_header_get_border_end_style (FoFo *fo_fo); void fo_table_header_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_header_get_border_end_width (FoFo *fo_fo); void fo_table_header_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_header_get_border_left_color (FoFo *fo_fo); void fo_table_header_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_header_get_border_left_style (FoFo *fo_fo); void fo_table_header_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_header_get_border_left_width (FoFo *fo_fo); void fo_table_header_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_header_get_border_right_color (FoFo *fo_fo); void fo_table_header_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_header_get_border_right_style (FoFo *fo_fo); void fo_table_header_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_header_get_border_right_width (FoFo *fo_fo); void fo_table_header_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_header_get_border_start_color (FoFo *fo_fo); void fo_table_header_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_header_get_border_start_precedence (FoFo *fo_fo); void fo_table_header_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty* fo_table_header_get_border_start_style (FoFo *fo_fo); void fo_table_header_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_header_get_border_start_width (FoFo *fo_fo); void fo_table_header_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_header_get_border_top_color (FoFo *fo_fo); void fo_table_header_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_header_get_border_top_style (FoFo *fo_fo); void fo_table_header_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_header_get_border_top_width (FoFo *fo_fo); void fo_table_header_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_header_get_id (FoFo *fo_fo); void fo_table_header_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_header_get_padding_after (FoFo *fo_fo); void fo_table_header_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_header_get_padding_before (FoFo *fo_fo); void fo_table_header_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_header_get_padding_bottom (FoFo *fo_fo); void fo_table_header_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_header_get_padding_end (FoFo *fo_fo); void fo_table_header_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_header_get_padding_left (FoFo *fo_fo); void fo_table_header_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_header_get_padding_right (FoFo *fo_fo); void fo_table_header_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_header_get_padding_start (FoFo *fo_fo); void fo_table_header_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_header_get_padding_top (FoFo *fo_fo); void fo_table_header_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_header_get_role (FoFo *fo_fo); void fo_table_header_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_header_get_source_document (FoFo *fo_fo); void fo_table_header_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoTablePart +----FoTableHeader Implemented Interfaces FoTableHeader implements FoTableBorderFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-precedence" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-precedence" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-precedence" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-precedence" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "id" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoTableHeader FoTableHeadertypedef struct _FoTableHeader FoTableHeader; FoTableHeaderClass FoTableHeaderClasstypedef struct _FoTableHeaderClass FoTableHeaderClass; fo_table_header_new () fo_table_header_newFoFo* fo_table_header_new (void); Creates a new FoTableHeader initialized to default value. Returns : the new FoTableHeader. fo_table_header_get_background_color () fo_table_header_get_background_colorFoProperty* fo_table_header_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_table_header_set_background_color () fo_table_header_set_background_colorvoid fo_table_header_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_table_header_get_background_image () fo_table_header_get_background_imageFoProperty* fo_table_header_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_table_header_set_background_image () fo_table_header_set_background_imagevoid fo_table_header_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_table_header_get_border_after_color () fo_table_header_get_border_after_colorFoProperty* fo_table_header_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_table_header_set_border_after_color () fo_table_header_set_border_after_colorvoid fo_table_header_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_table_header_get_border_after_precedence () fo_table_header_get_border_after_precedenceFoProperty* fo_table_header_get_border_after_precedence (FoFo *fo_fo); Gets the "border-after-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-precedence" property value fo_table_header_set_border_after_precedence () fo_table_header_set_border_after_precedencevoid fo_table_header_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence fo_fo : The FoFo object new_border_after_precedence : The new "border-after-precedence" property value fo_table_header_get_border_after_style () fo_table_header_get_border_after_styleFoProperty* fo_table_header_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_table_header_set_border_after_style () fo_table_header_set_border_after_stylevoid fo_table_header_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_table_header_get_border_after_width () fo_table_header_get_border_after_widthFoProperty* fo_table_header_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_table_header_set_border_after_width () fo_table_header_set_border_after_widthvoid fo_table_header_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_table_header_get_border_before_color () fo_table_header_get_border_before_colorFoProperty* fo_table_header_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_table_header_set_border_before_color () fo_table_header_set_border_before_colorvoid fo_table_header_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_table_header_get_border_before_precedence () fo_table_header_get_border_before_precedenceFoProperty* fo_table_header_get_border_before_precedence (FoFo *fo_fo); Gets the "border-before-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-precedence" property value fo_table_header_set_border_before_precedence () fo_table_header_set_border_before_precedencevoid fo_table_header_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence fo_fo : The FoFo object new_border_before_precedence : The new "border-before-precedence" property value fo_table_header_get_border_before_style () fo_table_header_get_border_before_styleFoProperty* fo_table_header_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_table_header_set_border_before_style () fo_table_header_set_border_before_stylevoid fo_table_header_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_table_header_get_border_before_width () fo_table_header_get_border_before_widthFoProperty* fo_table_header_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_table_header_set_border_before_width () fo_table_header_set_border_before_widthvoid fo_table_header_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_table_header_get_border_bottom_color () fo_table_header_get_border_bottom_colorFoProperty* fo_table_header_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_table_header_set_border_bottom_color () fo_table_header_set_border_bottom_colorvoid fo_table_header_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_table_header_get_border_bottom_style () fo_table_header_get_border_bottom_styleFoProperty* fo_table_header_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_table_header_set_border_bottom_style () fo_table_header_set_border_bottom_stylevoid fo_table_header_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_table_header_get_border_bottom_width () fo_table_header_get_border_bottom_widthFoProperty* fo_table_header_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_table_header_set_border_bottom_width () fo_table_header_set_border_bottom_widthvoid fo_table_header_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_table_header_get_border_end_color () fo_table_header_get_border_end_colorFoProperty* fo_table_header_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_table_header_set_border_end_color () fo_table_header_set_border_end_colorvoid fo_table_header_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_table_header_get_border_end_precedence () fo_table_header_get_border_end_precedenceFoProperty* fo_table_header_get_border_end_precedence (FoFo *fo_fo); Gets the "border-end-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-precedence" property value fo_table_header_set_border_end_precedence () fo_table_header_set_border_end_precedencevoid fo_table_header_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence fo_fo : The FoFo object new_border_end_precedence : The new "border-end-precedence" property value fo_table_header_get_border_end_style () fo_table_header_get_border_end_styleFoProperty* fo_table_header_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_table_header_set_border_end_style () fo_table_header_set_border_end_stylevoid fo_table_header_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_table_header_get_border_end_width () fo_table_header_get_border_end_widthFoProperty* fo_table_header_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_table_header_set_border_end_width () fo_table_header_set_border_end_widthvoid fo_table_header_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_table_header_get_border_left_color () fo_table_header_get_border_left_colorFoProperty* fo_table_header_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_table_header_set_border_left_color () fo_table_header_set_border_left_colorvoid fo_table_header_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_table_header_get_border_left_style () fo_table_header_get_border_left_styleFoProperty* fo_table_header_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_table_header_set_border_left_style () fo_table_header_set_border_left_stylevoid fo_table_header_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_table_header_get_border_left_width () fo_table_header_get_border_left_widthFoProperty* fo_table_header_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_table_header_set_border_left_width () fo_table_header_set_border_left_widthvoid fo_table_header_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_table_header_get_border_right_color () fo_table_header_get_border_right_colorFoProperty* fo_table_header_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_table_header_set_border_right_color () fo_table_header_set_border_right_colorvoid fo_table_header_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_table_header_get_border_right_style () fo_table_header_get_border_right_styleFoProperty* fo_table_header_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_table_header_set_border_right_style () fo_table_header_set_border_right_stylevoid fo_table_header_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_table_header_get_border_right_width () fo_table_header_get_border_right_widthFoProperty* fo_table_header_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_table_header_set_border_right_width () fo_table_header_set_border_right_widthvoid fo_table_header_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_table_header_get_border_start_color () fo_table_header_get_border_start_colorFoProperty* fo_table_header_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_table_header_set_border_start_color () fo_table_header_set_border_start_colorvoid fo_table_header_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_table_header_get_border_start_precedence () fo_table_header_get_border_start_precedenceFoProperty* fo_table_header_get_border_start_precedence (FoFo *fo_fo); Gets the "border-start-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-precedence" property value fo_table_header_set_border_start_precedence () fo_table_header_set_border_start_precedencevoid fo_table_header_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence fo_fo : The FoFo object new_border_start_precedence : The new "border-start-precedence" property value fo_table_header_get_border_start_style () fo_table_header_get_border_start_styleFoProperty* fo_table_header_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_table_header_set_border_start_style () fo_table_header_set_border_start_stylevoid fo_table_header_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_table_header_get_border_start_width () fo_table_header_get_border_start_widthFoProperty* fo_table_header_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_table_header_set_border_start_width () fo_table_header_set_border_start_widthvoid fo_table_header_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_table_header_get_border_top_color () fo_table_header_get_border_top_colorFoProperty* fo_table_header_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_table_header_set_border_top_color () fo_table_header_set_border_top_colorvoid fo_table_header_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_table_header_get_border_top_style () fo_table_header_get_border_top_styleFoProperty* fo_table_header_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_table_header_set_border_top_style () fo_table_header_set_border_top_stylevoid fo_table_header_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_table_header_get_border_top_width () fo_table_header_get_border_top_widthFoProperty* fo_table_header_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_table_header_set_border_top_width () fo_table_header_set_border_top_widthvoid fo_table_header_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_table_header_get_id () fo_table_header_get_idFoProperty* fo_table_header_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_table_header_set_id () fo_table_header_set_idvoid fo_table_header_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_table_header_get_padding_after () fo_table_header_get_padding_afterFoProperty* fo_table_header_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_table_header_set_padding_after () fo_table_header_set_padding_aftervoid fo_table_header_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_table_header_get_padding_before () fo_table_header_get_padding_beforeFoProperty* fo_table_header_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_table_header_set_padding_before () fo_table_header_set_padding_beforevoid fo_table_header_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_table_header_get_padding_bottom () fo_table_header_get_padding_bottomFoProperty* fo_table_header_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_table_header_set_padding_bottom () fo_table_header_set_padding_bottomvoid fo_table_header_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_table_header_get_padding_end () fo_table_header_get_padding_endFoProperty* fo_table_header_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_table_header_set_padding_end () fo_table_header_set_padding_endvoid fo_table_header_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_table_header_get_padding_left () fo_table_header_get_padding_leftFoProperty* fo_table_header_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_table_header_set_padding_left () fo_table_header_set_padding_leftvoid fo_table_header_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_table_header_get_padding_right () fo_table_header_get_padding_rightFoProperty* fo_table_header_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_table_header_set_padding_right () fo_table_header_set_padding_rightvoid fo_table_header_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_table_header_get_padding_start () fo_table_header_get_padding_startFoProperty* fo_table_header_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_table_header_set_padding_start () fo_table_header_set_padding_startvoid fo_table_header_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_table_header_get_padding_top () fo_table_header_get_padding_topFoProperty* fo_table_header_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_table_header_set_padding_top () fo_table_header_set_padding_topvoid fo_table_header_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_table_header_get_role () fo_table_header_get_roleFoProperty* fo_table_header_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_table_header_set_role () fo_table_header_set_rolevoid fo_table_header_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_table_header_get_source_document () fo_table_header_get_source_documentFoProperty* fo_table_header_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_table_header_set_source_document () fo_table_header_set_source_documentvoid fo_table_header_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value Property Details The <literal>"background-color"</literal> property FoTableHeader:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTableHeader:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoTableHeader:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-precedence"</literal> property FoTableHeader:border-after-precedence "border-after-precedence" FoProperty* : Read Border After Precedence property. The <literal>"border-after-style"</literal> property FoTableHeader:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTableHeader:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTableHeader:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-precedence"</literal> property FoTableHeader:border-before-precedence "border-before-precedence" FoProperty* : Read Border Before Precedence property. The <literal>"border-before-style"</literal> property FoTableHeader:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTableHeader:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTableHeader:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTableHeader:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTableHeader:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoTableHeader:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-precedence"</literal> property FoTableHeader:border-end-precedence "border-end-precedence" FoProperty* : Read Border End Precedence property. The <literal>"border-end-style"</literal> property FoTableHeader:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTableHeader:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTableHeader:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTableHeader:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTableHeader:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTableHeader:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTableHeader:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTableHeader:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoTableHeader:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-precedence"</literal> property FoTableHeader:border-start-precedence "border-start-precedence" FoProperty* : Read Border Start Precedence property. The <literal>"border-start-style"</literal> property FoTableHeader:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTableHeader:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTableHeader:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTableHeader:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTableHeader:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"id"</literal> property FoTableHeader:id "id" FoProperty* : Read Id property. The <literal>"padding-after"</literal> property FoTableHeader:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTableHeader:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTableHeader:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTableHeader:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTableHeader:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTableHeader:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTableHeader:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTableHeader:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoTableHeader:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoTableHeader:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-table-part.xml0000644000175000017500000001050211156164733015031 00000000000000 FoTablePart 3 XMLROFF Library FoTablePart Synopsis FoTablePart; FoTablePartClass; FoFo* fo_table_part_new (void); void fo_table_part_update_from_context (FoFo *fo, FoContext *context); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoTablePart +----FoTableBody +----FoTableFooter +----FoTableHeader Description Details FoTablePart FoTableParttypedef struct _FoTablePart FoTablePart; FoTablePartClass FoTablePartClasstypedef struct _FoTablePartClass FoTablePartClass; fo_table_part_new () fo_table_part_newFoFo* fo_table_part_new (void); Creates a new FoTablePart initialized to default value. Returns : the new FoTablePart fo_table_part_update_from_context () fo_table_part_update_from_contextvoid fo_table_part_update_from_context (FoFo *fo, FoContext *context); Sets the properties of fo to the corresponding property values in context. fo : The FoFo object. context : The FoContext object from which to update the properties of fo. xmlroff-0.6.2/docs/xml/fo-table-row.xml0000644000175000017500000054377311156164733014717 00000000000000 table-row 3 XMLROFF Library table-row Synopsis FoTableRow; FoTableRowClass; FoFo* fo_table_row_new (void); FoProperty* fo_table_row_get_background_color (FoFo *fo_fo); void fo_table_row_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_row_get_background_image (FoFo *fo_fo); void fo_table_row_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_row_get_block_progression_dimension (FoFo *fo_fo); void fo_table_row_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_table_row_get_border_after_color (FoFo *fo_fo); void fo_table_row_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_row_get_border_after_precedence (FoFo *fo_fo); void fo_table_row_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty* fo_table_row_get_border_after_style (FoFo *fo_fo); void fo_table_row_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_row_get_border_after_width (FoFo *fo_fo); void fo_table_row_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_row_get_border_before_color (FoFo *fo_fo); void fo_table_row_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_row_get_border_before_precedence (FoFo *fo_fo); void fo_table_row_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty* fo_table_row_get_border_before_style (FoFo *fo_fo); void fo_table_row_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_row_get_border_before_width (FoFo *fo_fo); void fo_table_row_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_row_get_border_bottom_color (FoFo *fo_fo); void fo_table_row_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_row_get_border_bottom_style (FoFo *fo_fo); void fo_table_row_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_row_get_border_bottom_width (FoFo *fo_fo); void fo_table_row_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_row_get_border_end_color (FoFo *fo_fo); void fo_table_row_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_row_get_border_end_precedence (FoFo *fo_fo); void fo_table_row_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty* fo_table_row_get_border_end_style (FoFo *fo_fo); void fo_table_row_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_row_get_border_end_width (FoFo *fo_fo); void fo_table_row_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_row_get_border_left_color (FoFo *fo_fo); void fo_table_row_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_row_get_border_left_style (FoFo *fo_fo); void fo_table_row_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_row_get_border_left_width (FoFo *fo_fo); void fo_table_row_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_row_get_border_right_color (FoFo *fo_fo); void fo_table_row_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_row_get_border_right_style (FoFo *fo_fo); void fo_table_row_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_row_get_border_right_width (FoFo *fo_fo); void fo_table_row_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_row_get_border_start_color (FoFo *fo_fo); void fo_table_row_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_row_get_border_start_precedence (FoFo *fo_fo); void fo_table_row_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty* fo_table_row_get_border_start_style (FoFo *fo_fo); void fo_table_row_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_row_get_border_start_width (FoFo *fo_fo); void fo_table_row_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_row_get_border_top_color (FoFo *fo_fo); void fo_table_row_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_row_get_border_top_style (FoFo *fo_fo); void fo_table_row_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_row_get_border_top_width (FoFo *fo_fo); void fo_table_row_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_row_get_break_after (FoFo *fo_fo); void fo_table_row_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty* fo_table_row_get_break_before (FoFo *fo_fo); void fo_table_row_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty* fo_table_row_get_height (FoFo *fo_fo); void fo_table_row_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_table_row_get_id (FoFo *fo_fo); void fo_table_row_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_row_get_keep_together (FoFo *fo_fo); void fo_table_row_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_table_row_get_keep_together_within_column (FoFo *fo_fo); void fo_table_row_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_table_row_get_keep_together_within_line (FoFo *fo_fo); void fo_table_row_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_table_row_get_keep_together_within_page (FoFo *fo_fo); void fo_table_row_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_table_row_get_keep_with_next (FoFo *fo_fo); void fo_table_row_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_table_row_get_keep_with_next_within_column (FoFo *fo_fo); void fo_table_row_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_table_row_get_keep_with_next_within_line (FoFo *fo_fo); void fo_table_row_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_table_row_get_keep_with_next_within_page (FoFo *fo_fo); void fo_table_row_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_table_row_get_keep_with_previous (FoFo *fo_fo); void fo_table_row_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_table_row_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_table_row_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_table_row_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_table_row_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_table_row_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_table_row_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_table_row_get_padding_after (FoFo *fo_fo); void fo_table_row_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_row_get_padding_before (FoFo *fo_fo); void fo_table_row_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_row_get_padding_bottom (FoFo *fo_fo); void fo_table_row_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_row_get_padding_end (FoFo *fo_fo); void fo_table_row_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_row_get_padding_left (FoFo *fo_fo); void fo_table_row_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_row_get_padding_right (FoFo *fo_fo); void fo_table_row_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_row_get_padding_start (FoFo *fo_fo); void fo_table_row_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_row_get_padding_top (FoFo *fo_fo); void fo_table_row_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_row_get_role (FoFo *fo_fo); void fo_table_row_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_row_get_source_document (FoFo *fo_fo); void fo_table_row_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoTableRow Implemented Interfaces FoTableRow implements FoTableBorderFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-precedence" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-precedence" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-precedence" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-precedence" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "break-after" FoProperty* : Read "break-before" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read Description Details FoTableRow FoTableRowtypedef struct _FoTableRow FoTableRow; FoTableRowClass FoTableRowClasstypedef struct _FoTableRowClass FoTableRowClass; fo_table_row_new () fo_table_row_newFoFo* fo_table_row_new (void); Creates a new FoTableRow initialized to default value. Returns : the new FoTableRow. fo_table_row_get_background_color () fo_table_row_get_background_colorFoProperty* fo_table_row_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_table_row_set_background_color () fo_table_row_set_background_colorvoid fo_table_row_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_table_row_get_background_image () fo_table_row_get_background_imageFoProperty* fo_table_row_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_table_row_set_background_image () fo_table_row_set_background_imagevoid fo_table_row_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_table_row_get_block_progression_dimension () fo_table_row_get_block_progression_dimensionFoProperty* fo_table_row_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "block-progression-dimension" property value fo_table_row_set_block_progression_dimension () fo_table_row_set_block_progression_dimensionvoid fo_table_row_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension fo_fo : The FoFo object new_block_progression_dimension : The new "block-progression-dimension" property value fo_table_row_get_border_after_color () fo_table_row_get_border_after_colorFoProperty* fo_table_row_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_table_row_set_border_after_color () fo_table_row_set_border_after_colorvoid fo_table_row_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_table_row_get_border_after_precedence () fo_table_row_get_border_after_precedenceFoProperty* fo_table_row_get_border_after_precedence (FoFo *fo_fo); Gets the "border-after-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-precedence" property value fo_table_row_set_border_after_precedence () fo_table_row_set_border_after_precedencevoid fo_table_row_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence fo_fo : The FoFo object new_border_after_precedence : The new "border-after-precedence" property value fo_table_row_get_border_after_style () fo_table_row_get_border_after_styleFoProperty* fo_table_row_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_table_row_set_border_after_style () fo_table_row_set_border_after_stylevoid fo_table_row_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_table_row_get_border_after_width () fo_table_row_get_border_after_widthFoProperty* fo_table_row_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_table_row_set_border_after_width () fo_table_row_set_border_after_widthvoid fo_table_row_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_table_row_get_border_before_color () fo_table_row_get_border_before_colorFoProperty* fo_table_row_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_table_row_set_border_before_color () fo_table_row_set_border_before_colorvoid fo_table_row_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_table_row_get_border_before_precedence () fo_table_row_get_border_before_precedenceFoProperty* fo_table_row_get_border_before_precedence (FoFo *fo_fo); Gets the "border-before-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-precedence" property value fo_table_row_set_border_before_precedence () fo_table_row_set_border_before_precedencevoid fo_table_row_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence fo_fo : The FoFo object new_border_before_precedence : The new "border-before-precedence" property value fo_table_row_get_border_before_style () fo_table_row_get_border_before_styleFoProperty* fo_table_row_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_table_row_set_border_before_style () fo_table_row_set_border_before_stylevoid fo_table_row_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_table_row_get_border_before_width () fo_table_row_get_border_before_widthFoProperty* fo_table_row_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_table_row_set_border_before_width () fo_table_row_set_border_before_widthvoid fo_table_row_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_table_row_get_border_bottom_color () fo_table_row_get_border_bottom_colorFoProperty* fo_table_row_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_table_row_set_border_bottom_color () fo_table_row_set_border_bottom_colorvoid fo_table_row_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_table_row_get_border_bottom_style () fo_table_row_get_border_bottom_styleFoProperty* fo_table_row_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_table_row_set_border_bottom_style () fo_table_row_set_border_bottom_stylevoid fo_table_row_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_table_row_get_border_bottom_width () fo_table_row_get_border_bottom_widthFoProperty* fo_table_row_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_table_row_set_border_bottom_width () fo_table_row_set_border_bottom_widthvoid fo_table_row_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_table_row_get_border_end_color () fo_table_row_get_border_end_colorFoProperty* fo_table_row_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_table_row_set_border_end_color () fo_table_row_set_border_end_colorvoid fo_table_row_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_table_row_get_border_end_precedence () fo_table_row_get_border_end_precedenceFoProperty* fo_table_row_get_border_end_precedence (FoFo *fo_fo); Gets the "border-end-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-precedence" property value fo_table_row_set_border_end_precedence () fo_table_row_set_border_end_precedencevoid fo_table_row_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence fo_fo : The FoFo object new_border_end_precedence : The new "border-end-precedence" property value fo_table_row_get_border_end_style () fo_table_row_get_border_end_styleFoProperty* fo_table_row_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_table_row_set_border_end_style () fo_table_row_set_border_end_stylevoid fo_table_row_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_table_row_get_border_end_width () fo_table_row_get_border_end_widthFoProperty* fo_table_row_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_table_row_set_border_end_width () fo_table_row_set_border_end_widthvoid fo_table_row_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_table_row_get_border_left_color () fo_table_row_get_border_left_colorFoProperty* fo_table_row_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_table_row_set_border_left_color () fo_table_row_set_border_left_colorvoid fo_table_row_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_table_row_get_border_left_style () fo_table_row_get_border_left_styleFoProperty* fo_table_row_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_table_row_set_border_left_style () fo_table_row_set_border_left_stylevoid fo_table_row_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_table_row_get_border_left_width () fo_table_row_get_border_left_widthFoProperty* fo_table_row_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_table_row_set_border_left_width () fo_table_row_set_border_left_widthvoid fo_table_row_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_table_row_get_border_right_color () fo_table_row_get_border_right_colorFoProperty* fo_table_row_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_table_row_set_border_right_color () fo_table_row_set_border_right_colorvoid fo_table_row_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_table_row_get_border_right_style () fo_table_row_get_border_right_styleFoProperty* fo_table_row_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_table_row_set_border_right_style () fo_table_row_set_border_right_stylevoid fo_table_row_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_table_row_get_border_right_width () fo_table_row_get_border_right_widthFoProperty* fo_table_row_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_table_row_set_border_right_width () fo_table_row_set_border_right_widthvoid fo_table_row_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_table_row_get_border_start_color () fo_table_row_get_border_start_colorFoProperty* fo_table_row_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_table_row_set_border_start_color () fo_table_row_set_border_start_colorvoid fo_table_row_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_table_row_get_border_start_precedence () fo_table_row_get_border_start_precedenceFoProperty* fo_table_row_get_border_start_precedence (FoFo *fo_fo); Gets the "border-start-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-precedence" property value fo_table_row_set_border_start_precedence () fo_table_row_set_border_start_precedencevoid fo_table_row_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence fo_fo : The FoFo object new_border_start_precedence : The new "border-start-precedence" property value fo_table_row_get_border_start_style () fo_table_row_get_border_start_styleFoProperty* fo_table_row_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_table_row_set_border_start_style () fo_table_row_set_border_start_stylevoid fo_table_row_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_table_row_get_border_start_width () fo_table_row_get_border_start_widthFoProperty* fo_table_row_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_table_row_set_border_start_width () fo_table_row_set_border_start_widthvoid fo_table_row_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_table_row_get_border_top_color () fo_table_row_get_border_top_colorFoProperty* fo_table_row_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_table_row_set_border_top_color () fo_table_row_set_border_top_colorvoid fo_table_row_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_table_row_get_border_top_style () fo_table_row_get_border_top_styleFoProperty* fo_table_row_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_table_row_set_border_top_style () fo_table_row_set_border_top_stylevoid fo_table_row_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_table_row_get_border_top_width () fo_table_row_get_border_top_widthFoProperty* fo_table_row_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_table_row_set_border_top_width () fo_table_row_set_border_top_widthvoid fo_table_row_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_table_row_get_break_after () fo_table_row_get_break_afterFoProperty* fo_table_row_get_break_after (FoFo *fo_fo); Gets the "break-after" property of fo_fo fo_fo : The FoFo object Returns : The "break-after" property value fo_table_row_set_break_after () fo_table_row_set_break_aftervoid fo_table_row_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); Sets the "break-after" property of fo_fo to new_break_after fo_fo : The FoFo object new_break_after : The new "break-after" property value fo_table_row_get_break_before () fo_table_row_get_break_beforeFoProperty* fo_table_row_get_break_before (FoFo *fo_fo); Gets the "break-before" property of fo_fo fo_fo : The FoFo object Returns : The "break-before" property value fo_table_row_set_break_before () fo_table_row_set_break_beforevoid fo_table_row_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); Sets the "break-before" property of fo_fo to new_break_before fo_fo : The FoFo object new_break_before : The new "break-before" property value fo_table_row_get_height () fo_table_row_get_heightFoProperty* fo_table_row_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo fo_fo : The FoFo object Returns : The "height" property value fo_table_row_set_height () fo_table_row_set_heightvoid fo_table_row_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height fo_fo : The FoFo object new_height : The new "height" property value fo_table_row_get_id () fo_table_row_get_idFoProperty* fo_table_row_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_table_row_set_id () fo_table_row_set_idvoid fo_table_row_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_table_row_get_keep_together () fo_table_row_get_keep_togetherFoProperty* fo_table_row_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_table_row_set_keep_together () fo_table_row_set_keep_togethervoid fo_table_row_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_table_row_get_keep_together_within_column () fo_table_row_get_keep_together_within_columnFoProperty* fo_table_row_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_table_row_set_keep_together_within_column () fo_table_row_set_keep_together_within_columnvoid fo_table_row_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_table_row_get_keep_together_within_line () fo_table_row_get_keep_together_within_lineFoProperty* fo_table_row_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_table_row_set_keep_together_within_line () fo_table_row_set_keep_together_within_linevoid fo_table_row_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_table_row_get_keep_together_within_page () fo_table_row_get_keep_together_within_pageFoProperty* fo_table_row_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_table_row_set_keep_together_within_page () fo_table_row_set_keep_together_within_pagevoid fo_table_row_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_table_row_get_keep_with_next () fo_table_row_get_keep_with_nextFoProperty* fo_table_row_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_table_row_set_keep_with_next () fo_table_row_set_keep_with_nextvoid fo_table_row_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_table_row_get_keep_with_next_within_column () fo_table_row_get_keep_with_next_within_columnFoProperty* fo_table_row_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_table_row_set_keep_with_next_within_column () fo_table_row_set_keep_with_next_within_columnvoid fo_table_row_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_table_row_get_keep_with_next_within_line () fo_table_row_get_keep_with_next_within_lineFoProperty* fo_table_row_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_table_row_set_keep_with_next_within_line () fo_table_row_set_keep_with_next_within_linevoid fo_table_row_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_table_row_get_keep_with_next_within_page () fo_table_row_get_keep_with_next_within_pageFoProperty* fo_table_row_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_table_row_set_keep_with_next_within_page () fo_table_row_set_keep_with_next_within_pagevoid fo_table_row_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_table_row_get_keep_with_previous () fo_table_row_get_keep_with_previousFoProperty* fo_table_row_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_table_row_set_keep_with_previous () fo_table_row_set_keep_with_previousvoid fo_table_row_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_table_row_get_keep_with_previous_within_column () fo_table_row_get_keep_with_previous_within_columnFoProperty* fo_table_row_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_table_row_set_keep_with_previous_within_column () fo_table_row_set_keep_with_previous_within_columnvoid fo_table_row_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_table_row_get_keep_with_previous_within_line () fo_table_row_get_keep_with_previous_within_lineFoProperty* fo_table_row_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_table_row_set_keep_with_previous_within_line () fo_table_row_set_keep_with_previous_within_linevoid fo_table_row_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_table_row_get_keep_with_previous_within_page () fo_table_row_get_keep_with_previous_within_pageFoProperty* fo_table_row_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_table_row_set_keep_with_previous_within_page () fo_table_row_set_keep_with_previous_within_pagevoid fo_table_row_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_table_row_get_padding_after () fo_table_row_get_padding_afterFoProperty* fo_table_row_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_table_row_set_padding_after () fo_table_row_set_padding_aftervoid fo_table_row_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_table_row_get_padding_before () fo_table_row_get_padding_beforeFoProperty* fo_table_row_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_table_row_set_padding_before () fo_table_row_set_padding_beforevoid fo_table_row_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_table_row_get_padding_bottom () fo_table_row_get_padding_bottomFoProperty* fo_table_row_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_table_row_set_padding_bottom () fo_table_row_set_padding_bottomvoid fo_table_row_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_table_row_get_padding_end () fo_table_row_get_padding_endFoProperty* fo_table_row_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_table_row_set_padding_end () fo_table_row_set_padding_endvoid fo_table_row_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_table_row_get_padding_left () fo_table_row_get_padding_leftFoProperty* fo_table_row_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_table_row_set_padding_left () fo_table_row_set_padding_leftvoid fo_table_row_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_table_row_get_padding_right () fo_table_row_get_padding_rightFoProperty* fo_table_row_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_table_row_set_padding_right () fo_table_row_set_padding_rightvoid fo_table_row_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_table_row_get_padding_start () fo_table_row_get_padding_startFoProperty* fo_table_row_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_table_row_set_padding_start () fo_table_row_set_padding_startvoid fo_table_row_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_table_row_get_padding_top () fo_table_row_get_padding_topFoProperty* fo_table_row_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_table_row_set_padding_top () fo_table_row_set_padding_topvoid fo_table_row_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_table_row_get_role () fo_table_row_get_roleFoProperty* fo_table_row_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_table_row_set_role () fo_table_row_set_rolevoid fo_table_row_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_table_row_get_source_document () fo_table_row_get_source_documentFoProperty* fo_table_row_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_table_row_set_source_document () fo_table_row_set_source_documentvoid fo_table_row_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value Property Details The <literal>"background-color"</literal> property FoTableRow:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTableRow:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"block-progression-dimension"</literal> property FoTableRow:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"border-after-color"</literal> property FoTableRow:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-precedence"</literal> property FoTableRow:border-after-precedence "border-after-precedence" FoProperty* : Read Border After Precedence property. The <literal>"border-after-style"</literal> property FoTableRow:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTableRow:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTableRow:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-precedence"</literal> property FoTableRow:border-before-precedence "border-before-precedence" FoProperty* : Read Border Before Precedence property. The <literal>"border-before-style"</literal> property FoTableRow:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTableRow:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTableRow:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTableRow:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTableRow:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoTableRow:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-precedence"</literal> property FoTableRow:border-end-precedence "border-end-precedence" FoProperty* : Read Border End Precedence property. The <literal>"border-end-style"</literal> property FoTableRow:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTableRow:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTableRow:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTableRow:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTableRow:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTableRow:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTableRow:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTableRow:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoTableRow:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-precedence"</literal> property FoTableRow:border-start-precedence "border-start-precedence" FoProperty* : Read Border Start Precedence property. The <literal>"border-start-style"</literal> property FoTableRow:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTableRow:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTableRow:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTableRow:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTableRow:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"break-after"</literal> property FoTableRow:break-after "break-after" FoProperty* : Read Break After property. The <literal>"break-before"</literal> property FoTableRow:break-before "break-before" FoProperty* : Read Break Before property. The <literal>"height"</literal> property FoTableRow:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoTableRow:id "id" FoProperty* : Read Id property. The <literal>"keep-together"</literal> property FoTableRow:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoTableRow:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoTableRow:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoTableRow:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoTableRow:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoTableRow:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoTableRow:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoTableRow:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoTableRow:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoTableRow:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoTableRow:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoTableRow:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"padding-after"</literal> property FoTableRow:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTableRow:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTableRow:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTableRow:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTableRow:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTableRow:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTableRow:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTableRow:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoTableRow:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoTableRow:source-document "source-document" FoProperty* : Read Source Document property. xmlroff-0.6.2/docs/xml/fo-table.xml0000644000175000017500000072447611156164733014113 00000000000000 table 3 XMLROFF Library table Synopsis enum FoEnumTableLayoutMethod; #define FO_TYPE_ENUM_TABLE_LAYOUT_METHOD #define FO_TABLE_ERROR GQuark fo_table_error_quark (void); enum FoTableError; FoTable; FoTableClass; GType fo_table_get_type (void); FoFo* fo_table_new (void); gboolean fo_table_validate_content_table_row_table_cell (FoFo *fo, GError **error); void fo_table_resolve_columns (FoFo *fo, GError **error); void fo_table_span_info_start_row (FoFo *fo, GError **error); gint fo_table_span_info_resolve_column_number (FoFo *fo, FoFo *table_cell, gint column_number, gint columns_spanned, gint rows_spanned, GError **error); void fo_table_span_info_debug_dump (FoFo *fo, gint depth); void fo_table_add_column (FoFo *fo, gint column_number, gint number_columns_spanned, FoFo *column); FoFo* fo_table_get_column (FoFo *fo, gint column_number, gint number_columns_spanned); gint fo_table_get_max_column_number (FoFo *fo); FoEnumTableLayoutMethod fo_table_get_layout_method (FoFo *fo_fo); gdouble fo_table_get_proportional_unit (FoFo *fo); FoProperty* fo_table_get_background_color (FoFo *fo_fo); void fo_table_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_get_background_image (FoFo *fo_fo); void fo_table_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_get_block_progression_dimension (FoFo *fo_fo); void fo_table_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_table_get_border_after_color (FoFo *fo_fo); void fo_table_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_get_border_after_precedence (FoFo *fo_fo); void fo_table_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty* fo_table_get_border_after_style (FoFo *fo_fo); void fo_table_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_get_border_after_width (FoFo *fo_fo); void fo_table_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_get_border_before_color (FoFo *fo_fo); void fo_table_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_get_border_before_precedence (FoFo *fo_fo); void fo_table_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty* fo_table_get_border_before_style (FoFo *fo_fo); void fo_table_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_get_border_before_width (FoFo *fo_fo); void fo_table_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_get_border_bottom_color (FoFo *fo_fo); void fo_table_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_get_border_bottom_style (FoFo *fo_fo); void fo_table_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_get_border_bottom_width (FoFo *fo_fo); void fo_table_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_get_border_collapse (FoFo *fo_fo); void fo_table_set_border_collapse (FoFo *fo_fo, FoProperty *new_border_collapse); FoProperty* fo_table_get_border_end_color (FoFo *fo_fo); void fo_table_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_get_border_end_precedence (FoFo *fo_fo); void fo_table_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty* fo_table_get_border_end_style (FoFo *fo_fo); void fo_table_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_get_border_end_width (FoFo *fo_fo); void fo_table_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_get_border_left_color (FoFo *fo_fo); void fo_table_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_get_border_left_style (FoFo *fo_fo); void fo_table_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_get_border_left_width (FoFo *fo_fo); void fo_table_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_get_border_right_color (FoFo *fo_fo); void fo_table_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_get_border_right_style (FoFo *fo_fo); void fo_table_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_get_border_right_width (FoFo *fo_fo); void fo_table_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_get_border_separation (FoFo *fo_fo); void fo_table_set_border_separation (FoFo *fo_fo, FoProperty *new_border_separation); FoProperty* fo_table_get_border_start_color (FoFo *fo_fo); void fo_table_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_get_border_start_precedence (FoFo *fo_fo); void fo_table_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty* fo_table_get_border_start_style (FoFo *fo_fo); void fo_table_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_get_border_start_width (FoFo *fo_fo); void fo_table_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_get_border_top_color (FoFo *fo_fo); void fo_table_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_get_border_top_style (FoFo *fo_fo); void fo_table_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_get_border_top_width (FoFo *fo_fo); void fo_table_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_get_break_after (FoFo *fo_fo); void fo_table_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty* fo_table_get_break_before (FoFo *fo_fo); void fo_table_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty* fo_table_get_end_indent (FoFo *fo_fo); void fo_table_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty* fo_table_get_height (FoFo *fo_fo); void fo_table_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_table_get_id (FoFo *fo_fo); void fo_table_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_get_inline_progression_dimension (FoFo *fo_fo); void fo_table_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_table_get_keep_together (FoFo *fo_fo); void fo_table_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_table_get_keep_together_within_column (FoFo *fo_fo); void fo_table_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_table_get_keep_together_within_line (FoFo *fo_fo); void fo_table_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_table_get_keep_together_within_page (FoFo *fo_fo); void fo_table_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_table_get_keep_with_next (FoFo *fo_fo); void fo_table_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_table_get_keep_with_next_within_column (FoFo *fo_fo); void fo_table_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_table_get_keep_with_next_within_line (FoFo *fo_fo); void fo_table_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_table_get_keep_with_next_within_page (FoFo *fo_fo); void fo_table_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_table_get_keep_with_previous (FoFo *fo_fo); void fo_table_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_table_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_table_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_table_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_table_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_table_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_table_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_table_get_margin_bottom (FoFo *fo_fo); void fo_table_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty* fo_table_get_margin_left (FoFo *fo_fo); void fo_table_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty* fo_table_get_margin_right (FoFo *fo_fo); void fo_table_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty* fo_table_get_margin_top (FoFo *fo_fo); void fo_table_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty* fo_table_get_padding_after (FoFo *fo_fo); void fo_table_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_get_padding_before (FoFo *fo_fo); void fo_table_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_get_padding_bottom (FoFo *fo_fo); void fo_table_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_get_padding_end (FoFo *fo_fo); void fo_table_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_get_padding_left (FoFo *fo_fo); void fo_table_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_get_padding_right (FoFo *fo_fo); void fo_table_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_get_padding_start (FoFo *fo_fo); void fo_table_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_get_padding_top (FoFo *fo_fo); void fo_table_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_get_role (FoFo *fo_fo); void fo_table_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_get_source_document (FoFo *fo_fo); void fo_table_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_table_get_space_after (FoFo *fo_fo); void fo_table_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty* fo_table_get_space_before (FoFo *fo_fo); void fo_table_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty* fo_table_get_start_indent (FoFo *fo_fo); void fo_table_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty* fo_table_get_table_layout (FoFo *fo_fo); void fo_table_set_table_layout (FoFo *fo_fo, FoProperty *new_table_layout); FoProperty* fo_table_get_width (FoFo *fo_fo); void fo_table_set_width (FoFo *fo_fo, FoProperty *new_width); FoProperty* fo_table_get_writing_mode (FoFo *fo_fo); void fo_table_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoTable Implemented Interfaces FoTable implements FoBlockFoIface and FoTableBorderFoIface. Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "block-progression-dimension" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-precedence" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-precedence" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-collapse" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-precedence" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-separation" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-precedence" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "break-after" FoProperty* : Read "break-before" FoProperty* : Read "end-indent" FoProperty* : Read "height" FoProperty* : Read "id" FoProperty* : Read "inline-progression-dimension" FoProperty* : Read "keep-together" FoProperty* : Read "keep-together-within-column" FoProperty* : Read "keep-together-within-line" FoProperty* : Read "keep-together-within-page" FoProperty* : Read "keep-with-next" FoProperty* : Read "keep-with-next-within-column" FoProperty* : Read "keep-with-next-within-line" FoProperty* : Read "keep-with-next-within-page" FoProperty* : Read "keep-with-previous" FoProperty* : Read "keep-with-previous-within-column" FoProperty* : Read "keep-with-previous-within-line" FoProperty* : Read "keep-with-previous-within-page" FoProperty* : Read "layout-method" FoEnumTableLayoutMethod : Read "margin-bottom" FoProperty* : Read "margin-left" FoProperty* : Read "margin-right" FoProperty* : Read "margin-top" FoProperty* : Read "max-column-number" gint : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "space-after" FoProperty* : Read "space-before" FoProperty* : Read "start-indent" FoProperty* : Read "table-layout" FoProperty* : Read "width" FoProperty* : Read "writing-mode" FoProperty* : Read Description Details enum FoEnumTableLayoutMethod FoEnumTableLayoutMethodtypedef enum { FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN, FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC, FO_ENUM_TABLE_LAYOUT_METHOD_FIXED } FoEnumTableLayoutMethod; FO_TYPE_ENUM_TABLE_LAYOUT_METHOD FO_TYPE_ENUM_TABLE_LAYOUT_METHOD#define FO_TYPE_ENUM_TABLE_LAYOUT_METHOD fo_enum_table_layout_method_get_type () FO_TABLE_ERROR FO_TABLE_ERROR#define FO_TABLE_ERROR fo_table_error_quark () fo_table_error_quark () fo_table_error_quarkGQuark fo_table_error_quark (void); Create and return the GQuark for use as the error domain for table. Returns : Error domain GQuark. enum FoTableError FoTableErrortypedef enum { FO_TABLE_ERROR_FAILED, /* Generic error code */ FO_TABLE_ERROR_WARNING, /* Non-fatal error */ FO_TABLE_ERROR_LAYOUT_METHOD_UNKNOWN, FO_TABLE_ERROR_FIXED_NO_COLUMN, FO_TABLE_ERROR_MISSING_COLUMN, FO_TABLE_ERROR_WIDTH_NOT_LENGTH, FO_TABLE_ERROR_NO_AREA, FO_TABLE_ERROR_FIXED_BUT_AUTO, FO_TABLE_ERROR_SPANNING_CELLS_FILL_ROW, FO_TABLE_ERROR_FALLBACK_TO_FIXED, FO_TABLE_ERROR_INLINE_PROGRESSION_DIRECTION, FO_TABLE_ERROR_LAST } FoTableError; FoTable FoTabletypedef struct _FoTable FoTable; FoTableClass FoTableClasstypedef struct _FoTableClass FoTableClass; fo_table_get_type () fo_table_get_typeGType fo_table_get_type (void); Register the FoTable object type. Returns : GType value of the FoTable object type. fo_table_new () fo_table_newFoFo* fo_table_new (void); Creates a new FoTable initialized to default value. Returns : the new FoTable. fo_table_validate_content_table_row_table_cell () fo_table_validate_content_table_row_table_cellgboolean fo_table_validate_content_table_row_table_cell (FoFo *fo, GError **error); Validate the content model, i.e., the structure, of the object. Return value matches GNodeTraversFunc model: FALSE indicates content model is correct, or TRUE indicates an error. When used with fo_node_traverse(), returning TRUE stops the traversal. This is used by table-header, table-footer, and table-body. Content model: (table-row+ | table-cell+) fo : FoRoot object to validate. error : GError indicating error condition, if any. Returns : FALSE if content model okay, TRUE if not fo_table_resolve_columns () fo_table_resolve_columnsvoid fo_table_resolve_columns (FoFo *fo, GError **error); Do housekeeping for table-column FOs now that all FoTableColumn objects have been created. fo : FoTable for which to resolve columns error : GError fo_table_span_info_start_row () fo_table_span_info_start_rowvoid fo_table_span_info_start_row (FoFo *fo, GError **error); Reset span_info of fo at the start of a row. fo : FoTable for which to reset span_info error : GError fo_table_span_info_resolve_column_number () fo_table_span_info_resolve_column_numbergint fo_table_span_info_resolve_column_number (FoFo *fo, FoFo *table_cell, gint column_number, gint columns_spanned, gint rows_spanned, GError **error); Determine the column-number for table_cell. fo : The FoTable containing table_cell. table_cell : The FoTableCell for which to assign a column number. column_number : Requested column number, or 0 if not specified. columns_spanned : Number of columns spanned by table_cell. rows_spanned : Number of rows spanned by table_cell. error : GError indicating any error condition that occurred. Returns : The column-number to assign to table_cell. fo_table_span_info_debug_dump () fo_table_span_info_debug_dumpvoid fo_table_span_info_debug_dump (FoFo *fo, gint depth); Dump info about the spans used in the table. fo : FoTable for which to dump span info. depth : Relative indent to add to output. fo_table_add_column () fo_table_add_columnvoid fo_table_add_column (FoFo *fo, gint column_number, gint number_columns_spanned, FoFo *column); Add a table-column object to the column-number+number-columns-spanned hash maintained by table. fo : FoTable column_number : Column number of column number_columns_spanned : Number of columns spanned by column column : FoTableColumn to add to hash fo_table_get_column () fo_table_get_columnFoFo* fo_table_get_column (FoFo *fo, gint column_number, gint number_columns_spanned); Get the column for a column number and number columns spanned combination. fo : FoTable that has hash of columns column_number : Column number to match number_columns_spanned : Number of columns spanned on which to map Returns : FoTableColumn object fo_table_get_max_column_number () fo_table_get_max_column_numbergint fo_table_get_max_column_number (FoFo *fo); Get highest column number of columns registered with table using fo_table_add_column. fo : FoTable that has hash of columns Returns : Highest column number registered using fo_table_add_column fo_table_get_layout_method () fo_table_get_layout_methodFoEnumTableLayoutMethod fo_table_get_layout_method (FoFo *fo_fo); Gets the layout-method property of table fo_fo : The FoFo object Returns : The "layout-method" property value fo_table_get_proportional_unit () fo_table_get_proportional_unitgdouble fo_table_get_proportional_unit (FoFo *fo); Get the length in points of one proportional unit for fo. fo : FoTable for which to get proportional unit. Returns : The length in points of one proportional unit. fo_table_get_background_color () fo_table_get_background_colorFoProperty* fo_table_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_table_set_background_color () fo_table_set_background_colorvoid fo_table_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_table_get_background_image () fo_table_get_background_imageFoProperty* fo_table_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_table_set_background_image () fo_table_set_background_imagevoid fo_table_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_table_get_block_progression_dimension () fo_table_get_block_progression_dimensionFoProperty* fo_table_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "block-progression-dimension" property value fo_table_set_block_progression_dimension () fo_table_set_block_progression_dimensionvoid fo_table_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension fo_fo : The FoFo object new_block_progression_dimension : The new "block-progression-dimension" property value fo_table_get_border_after_color () fo_table_get_border_after_colorFoProperty* fo_table_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_table_set_border_after_color () fo_table_set_border_after_colorvoid fo_table_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_table_get_border_after_precedence () fo_table_get_border_after_precedenceFoProperty* fo_table_get_border_after_precedence (FoFo *fo_fo); Gets the "border-after-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-precedence" property value fo_table_set_border_after_precedence () fo_table_set_border_after_precedencevoid fo_table_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence fo_fo : The FoFo object new_border_after_precedence : The new "border-after-precedence" property value fo_table_get_border_after_style () fo_table_get_border_after_styleFoProperty* fo_table_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_table_set_border_after_style () fo_table_set_border_after_stylevoid fo_table_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_table_get_border_after_width () fo_table_get_border_after_widthFoProperty* fo_table_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_table_set_border_after_width () fo_table_set_border_after_widthvoid fo_table_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_table_get_border_before_color () fo_table_get_border_before_colorFoProperty* fo_table_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_table_set_border_before_color () fo_table_set_border_before_colorvoid fo_table_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_table_get_border_before_precedence () fo_table_get_border_before_precedenceFoProperty* fo_table_get_border_before_precedence (FoFo *fo_fo); Gets the "border-before-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-precedence" property value fo_table_set_border_before_precedence () fo_table_set_border_before_precedencevoid fo_table_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence fo_fo : The FoFo object new_border_before_precedence : The new "border-before-precedence" property value fo_table_get_border_before_style () fo_table_get_border_before_styleFoProperty* fo_table_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_table_set_border_before_style () fo_table_set_border_before_stylevoid fo_table_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_table_get_border_before_width () fo_table_get_border_before_widthFoProperty* fo_table_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_table_set_border_before_width () fo_table_set_border_before_widthvoid fo_table_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_table_get_border_bottom_color () fo_table_get_border_bottom_colorFoProperty* fo_table_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_table_set_border_bottom_color () fo_table_set_border_bottom_colorvoid fo_table_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_table_get_border_bottom_style () fo_table_get_border_bottom_styleFoProperty* fo_table_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_table_set_border_bottom_style () fo_table_set_border_bottom_stylevoid fo_table_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_table_get_border_bottom_width () fo_table_get_border_bottom_widthFoProperty* fo_table_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_table_set_border_bottom_width () fo_table_set_border_bottom_widthvoid fo_table_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_table_get_border_collapse () fo_table_get_border_collapseFoProperty* fo_table_get_border_collapse (FoFo *fo_fo); Gets the "border-collapse" property of fo_fo fo_fo : The FoFo object Returns : The "border-collapse" property value fo_table_set_border_collapse () fo_table_set_border_collapsevoid fo_table_set_border_collapse (FoFo *fo_fo, FoProperty *new_border_collapse); Sets the "border-collapse" property of fo_fo to new_border_collapse fo_fo : The FoFo object new_border_collapse : The new "border-collapse" property value fo_table_get_border_end_color () fo_table_get_border_end_colorFoProperty* fo_table_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_table_set_border_end_color () fo_table_set_border_end_colorvoid fo_table_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_table_get_border_end_precedence () fo_table_get_border_end_precedenceFoProperty* fo_table_get_border_end_precedence (FoFo *fo_fo); Gets the "border-end-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-precedence" property value fo_table_set_border_end_precedence () fo_table_set_border_end_precedencevoid fo_table_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence fo_fo : The FoFo object new_border_end_precedence : The new "border-end-precedence" property value fo_table_get_border_end_style () fo_table_get_border_end_styleFoProperty* fo_table_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_table_set_border_end_style () fo_table_set_border_end_stylevoid fo_table_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_table_get_border_end_width () fo_table_get_border_end_widthFoProperty* fo_table_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_table_set_border_end_width () fo_table_set_border_end_widthvoid fo_table_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_table_get_border_left_color () fo_table_get_border_left_colorFoProperty* fo_table_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_table_set_border_left_color () fo_table_set_border_left_colorvoid fo_table_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_table_get_border_left_style () fo_table_get_border_left_styleFoProperty* fo_table_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_table_set_border_left_style () fo_table_set_border_left_stylevoid fo_table_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_table_get_border_left_width () fo_table_get_border_left_widthFoProperty* fo_table_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_table_set_border_left_width () fo_table_set_border_left_widthvoid fo_table_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_table_get_border_right_color () fo_table_get_border_right_colorFoProperty* fo_table_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_table_set_border_right_color () fo_table_set_border_right_colorvoid fo_table_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_table_get_border_right_style () fo_table_get_border_right_styleFoProperty* fo_table_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_table_set_border_right_style () fo_table_set_border_right_stylevoid fo_table_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_table_get_border_right_width () fo_table_get_border_right_widthFoProperty* fo_table_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_table_set_border_right_width () fo_table_set_border_right_widthvoid fo_table_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_table_get_border_separation () fo_table_get_border_separationFoProperty* fo_table_get_border_separation (FoFo *fo_fo); Gets the "border-separation" property of fo_fo fo_fo : The FoFo object Returns : The "border-separation" property value fo_table_set_border_separation () fo_table_set_border_separationvoid fo_table_set_border_separation (FoFo *fo_fo, FoProperty *new_border_separation); Sets the "border-separation" property of fo_fo to new_border_separation fo_fo : The FoFo object new_border_separation : The new "border-separation" property value fo_table_get_border_start_color () fo_table_get_border_start_colorFoProperty* fo_table_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_table_set_border_start_color () fo_table_set_border_start_colorvoid fo_table_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_table_get_border_start_precedence () fo_table_get_border_start_precedenceFoProperty* fo_table_get_border_start_precedence (FoFo *fo_fo); Gets the "border-start-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-precedence" property value fo_table_set_border_start_precedence () fo_table_set_border_start_precedencevoid fo_table_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence fo_fo : The FoFo object new_border_start_precedence : The new "border-start-precedence" property value fo_table_get_border_start_style () fo_table_get_border_start_styleFoProperty* fo_table_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_table_set_border_start_style () fo_table_set_border_start_stylevoid fo_table_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_table_get_border_start_width () fo_table_get_border_start_widthFoProperty* fo_table_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_table_set_border_start_width () fo_table_set_border_start_widthvoid fo_table_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_table_get_border_top_color () fo_table_get_border_top_colorFoProperty* fo_table_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_table_set_border_top_color () fo_table_set_border_top_colorvoid fo_table_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_table_get_border_top_style () fo_table_get_border_top_styleFoProperty* fo_table_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_table_set_border_top_style () fo_table_set_border_top_stylevoid fo_table_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_table_get_border_top_width () fo_table_get_border_top_widthFoProperty* fo_table_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_table_set_border_top_width () fo_table_set_border_top_widthvoid fo_table_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_table_get_break_after () fo_table_get_break_afterFoProperty* fo_table_get_break_after (FoFo *fo_fo); Gets the "break-after" property of fo_fo fo_fo : The FoFo object Returns : The "break-after" property value fo_table_set_break_after () fo_table_set_break_aftervoid fo_table_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); Sets the "break-after" property of fo_fo to new_break_after fo_fo : The FoFo object new_break_after : The new "break-after" property value fo_table_get_break_before () fo_table_get_break_beforeFoProperty* fo_table_get_break_before (FoFo *fo_fo); Gets the "break-before" property of fo_fo fo_fo : The FoFo object Returns : The "break-before" property value fo_table_set_break_before () fo_table_set_break_beforevoid fo_table_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); Sets the "break-before" property of fo_fo to new_break_before fo_fo : The FoFo object new_break_before : The new "break-before" property value fo_table_get_end_indent () fo_table_get_end_indentFoProperty* fo_table_get_end_indent (FoFo *fo_fo); Gets the "end-indent" property of fo_fo fo_fo : The FoFo object Returns : The "end-indent" property value fo_table_set_end_indent () fo_table_set_end_indentvoid fo_table_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); Sets the "end-indent" property of fo_fo to new_end_indent fo_fo : The FoFo object new_end_indent : The new "end-indent" property value fo_table_get_height () fo_table_get_heightFoProperty* fo_table_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo fo_fo : The FoFo object Returns : The "height" property value fo_table_set_height () fo_table_set_heightvoid fo_table_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height fo_fo : The FoFo object new_height : The new "height" property value fo_table_get_id () fo_table_get_idFoProperty* fo_table_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value fo_table_set_id () fo_table_set_idvoid fo_table_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value fo_table_get_inline_progression_dimension () fo_table_get_inline_progression_dimensionFoProperty* fo_table_get_inline_progression_dimension (FoFo *fo_fo); Gets the "inline-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "inline-progression-dimension" property value fo_table_set_inline_progression_dimension () fo_table_set_inline_progression_dimensionvoid fo_table_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension fo_fo : The FoFo object new_inline_progression_dimension : The new "inline-progression-dimension" property value fo_table_get_keep_together () fo_table_get_keep_togetherFoProperty* fo_table_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value fo_table_set_keep_together () fo_table_set_keep_togethervoid fo_table_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value fo_table_get_keep_together_within_column () fo_table_get_keep_together_within_columnFoProperty* fo_table_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value fo_table_set_keep_together_within_column () fo_table_set_keep_together_within_columnvoid fo_table_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value fo_table_get_keep_together_within_line () fo_table_get_keep_together_within_lineFoProperty* fo_table_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value fo_table_set_keep_together_within_line () fo_table_set_keep_together_within_linevoid fo_table_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value fo_table_get_keep_together_within_page () fo_table_get_keep_together_within_pageFoProperty* fo_table_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value fo_table_set_keep_together_within_page () fo_table_set_keep_together_within_pagevoid fo_table_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value fo_table_get_keep_with_next () fo_table_get_keep_with_nextFoProperty* fo_table_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value fo_table_set_keep_with_next () fo_table_set_keep_with_nextvoid fo_table_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value fo_table_get_keep_with_next_within_column () fo_table_get_keep_with_next_within_columnFoProperty* fo_table_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value fo_table_set_keep_with_next_within_column () fo_table_set_keep_with_next_within_columnvoid fo_table_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value fo_table_get_keep_with_next_within_line () fo_table_get_keep_with_next_within_lineFoProperty* fo_table_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value fo_table_set_keep_with_next_within_line () fo_table_set_keep_with_next_within_linevoid fo_table_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value fo_table_get_keep_with_next_within_page () fo_table_get_keep_with_next_within_pageFoProperty* fo_table_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value fo_table_set_keep_with_next_within_page () fo_table_set_keep_with_next_within_pagevoid fo_table_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value fo_table_get_keep_with_previous () fo_table_get_keep_with_previousFoProperty* fo_table_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value fo_table_set_keep_with_previous () fo_table_set_keep_with_previousvoid fo_table_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value fo_table_get_keep_with_previous_within_column () fo_table_get_keep_with_previous_within_columnFoProperty* fo_table_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value fo_table_set_keep_with_previous_within_column () fo_table_set_keep_with_previous_within_columnvoid fo_table_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value fo_table_get_keep_with_previous_within_line () fo_table_get_keep_with_previous_within_lineFoProperty* fo_table_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value fo_table_set_keep_with_previous_within_line () fo_table_set_keep_with_previous_within_linevoid fo_table_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value fo_table_get_keep_with_previous_within_page () fo_table_get_keep_with_previous_within_pageFoProperty* fo_table_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value fo_table_set_keep_with_previous_within_page () fo_table_set_keep_with_previous_within_pagevoid fo_table_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value fo_table_get_margin_bottom () fo_table_get_margin_bottomFoProperty* fo_table_get_margin_bottom (FoFo *fo_fo); Gets the "margin-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "margin-bottom" property value fo_table_set_margin_bottom () fo_table_set_margin_bottomvoid fo_table_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_fo to new_margin_bottom fo_fo : The FoFo object new_margin_bottom : The new "margin-bottom" property value fo_table_get_margin_left () fo_table_get_margin_leftFoProperty* fo_table_get_margin_left (FoFo *fo_fo); Gets the "margin-left" property of fo_fo fo_fo : The FoFo object Returns : The "margin-left" property value fo_table_set_margin_left () fo_table_set_margin_leftvoid fo_table_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); Sets the "margin-left" property of fo_fo to new_margin_left fo_fo : The FoFo object new_margin_left : The new "margin-left" property value fo_table_get_margin_right () fo_table_get_margin_rightFoProperty* fo_table_get_margin_right (FoFo *fo_fo); Gets the "margin-right" property of fo_fo fo_fo : The FoFo object Returns : The "margin-right" property value fo_table_set_margin_right () fo_table_set_margin_rightvoid fo_table_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); Sets the "margin-right" property of fo_fo to new_margin_right fo_fo : The FoFo object new_margin_right : The new "margin-right" property value fo_table_get_margin_top () fo_table_get_margin_topFoProperty* fo_table_get_margin_top (FoFo *fo_fo); Gets the "margin-top" property of fo_fo fo_fo : The FoFo object Returns : The "margin-top" property value fo_table_set_margin_top () fo_table_set_margin_topvoid fo_table_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); Sets the "margin-top" property of fo_fo to new_margin_top fo_fo : The FoFo object new_margin_top : The new "margin-top" property value fo_table_get_padding_after () fo_table_get_padding_afterFoProperty* fo_table_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_table_set_padding_after () fo_table_set_padding_aftervoid fo_table_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_table_get_padding_before () fo_table_get_padding_beforeFoProperty* fo_table_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_table_set_padding_before () fo_table_set_padding_beforevoid fo_table_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_table_get_padding_bottom () fo_table_get_padding_bottomFoProperty* fo_table_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_table_set_padding_bottom () fo_table_set_padding_bottomvoid fo_table_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_table_get_padding_end () fo_table_get_padding_endFoProperty* fo_table_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_table_set_padding_end () fo_table_set_padding_endvoid fo_table_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_table_get_padding_left () fo_table_get_padding_leftFoProperty* fo_table_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_table_set_padding_left () fo_table_set_padding_leftvoid fo_table_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_table_get_padding_right () fo_table_get_padding_rightFoProperty* fo_table_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_table_set_padding_right () fo_table_set_padding_rightvoid fo_table_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_table_get_padding_start () fo_table_get_padding_startFoProperty* fo_table_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_table_set_padding_start () fo_table_set_padding_startvoid fo_table_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_table_get_padding_top () fo_table_get_padding_topFoProperty* fo_table_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_table_set_padding_top () fo_table_set_padding_topvoid fo_table_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_table_get_role () fo_table_get_roleFoProperty* fo_table_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_table_set_role () fo_table_set_rolevoid fo_table_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_table_get_source_document () fo_table_get_source_documentFoProperty* fo_table_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_table_set_source_document () fo_table_set_source_documentvoid fo_table_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_table_get_space_after () fo_table_get_space_afterFoProperty* fo_table_get_space_after (FoFo *fo_fo); Gets the "space-after" property of fo_fo fo_fo : The FoFo object Returns : The "space-after" property value fo_table_set_space_after () fo_table_set_space_aftervoid fo_table_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); Sets the "space-after" property of fo_fo to new_space_after fo_fo : The FoFo object new_space_after : The new "space-after" property value fo_table_get_space_before () fo_table_get_space_beforeFoProperty* fo_table_get_space_before (FoFo *fo_fo); Gets the "space-before" property of fo_fo fo_fo : The FoFo object Returns : The "space-before" property value fo_table_set_space_before () fo_table_set_space_beforevoid fo_table_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); Sets the "space-before" property of fo_fo to new_space_before fo_fo : The FoFo object new_space_before : The new "space-before" property value fo_table_get_start_indent () fo_table_get_start_indentFoProperty* fo_table_get_start_indent (FoFo *fo_fo); Gets the "start-indent" property of fo_fo fo_fo : The FoFo object Returns : The "start-indent" property value fo_table_set_start_indent () fo_table_set_start_indentvoid fo_table_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Sets the "start-indent" property of fo_fo to new_start_indent fo_fo : The FoFo object new_start_indent : The new "start-indent" property value fo_table_get_table_layout () fo_table_get_table_layoutFoProperty* fo_table_get_table_layout (FoFo *fo_fo); Gets the "table-layout" property of fo_fo fo_fo : The FoFo object Returns : The "table-layout" property value fo_table_set_table_layout () fo_table_set_table_layoutvoid fo_table_set_table_layout (FoFo *fo_fo, FoProperty *new_table_layout); Sets the "table-layout" property of fo_fo to new_table_layout fo_fo : The FoFo object new_table_layout : The new "table-layout" property value fo_table_get_width () fo_table_get_widthFoProperty* fo_table_get_width (FoFo *fo_fo); Gets the "width" property of fo_fo fo_fo : The FoFo object Returns : The "width" property value fo_table_set_width () fo_table_set_widthvoid fo_table_set_width (FoFo *fo_fo, FoProperty *new_width); Sets the "width" property of fo_fo to new_width fo_fo : The FoFo object new_width : The new "width" property value fo_table_get_writing_mode () fo_table_get_writing_modeFoProperty* fo_table_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo fo_fo : The FoFo object Returns : The "writing-mode" property value fo_table_set_writing_mode () fo_table_set_writing_modevoid fo_table_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode fo_fo : The FoFo object new_writing_mode : The new "writing-mode" property value Property Details The <literal>"background-color"</literal> property FoTable:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTable:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"block-progression-dimension"</literal> property FoTable:block-progression-dimension "block-progression-dimension" FoProperty* : Read Block Progression Dimension property. The <literal>"border-after-color"</literal> property FoTable:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-precedence"</literal> property FoTable:border-after-precedence "border-after-precedence" FoProperty* : Read Border After Precedence property. The <literal>"border-after-style"</literal> property FoTable:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTable:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTable:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-precedence"</literal> property FoTable:border-before-precedence "border-before-precedence" FoProperty* : Read Border Before Precedence property. The <literal>"border-before-style"</literal> property FoTable:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTable:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTable:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTable:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTable:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-collapse"</literal> property FoTable:border-collapse "border-collapse" FoProperty* : Read Border Collapse property. The <literal>"border-end-color"</literal> property FoTable:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-precedence"</literal> property FoTable:border-end-precedence "border-end-precedence" FoProperty* : Read Border End Precedence property. The <literal>"border-end-style"</literal> property FoTable:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTable:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTable:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTable:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTable:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTable:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTable:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTable:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-separation"</literal> property FoTable:border-separation "border-separation" FoProperty* : Read Border Separation property. The <literal>"border-start-color"</literal> property FoTable:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-precedence"</literal> property FoTable:border-start-precedence "border-start-precedence" FoProperty* : Read Border Start Precedence property. The <literal>"border-start-style"</literal> property FoTable:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTable:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTable:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTable:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTable:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"break-after"</literal> property FoTable:break-after "break-after" FoProperty* : Read Break After property. The <literal>"break-before"</literal> property FoTable:break-before "break-before" FoProperty* : Read Break Before property. The <literal>"end-indent"</literal> property FoTable:end-indent "end-indent" FoProperty* : Read End Indent property. The <literal>"height"</literal> property FoTable:height "height" FoProperty* : Read Height property. The <literal>"id"</literal> property FoTable:id "id" FoProperty* : Read Id property. The <literal>"inline-progression-dimension"</literal> property FoTable:inline-progression-dimension "inline-progression-dimension" FoProperty* : Read Inline Progression Dimension property. The <literal>"keep-together"</literal> property FoTable:keep-together "keep-together" FoProperty* : Read Keep Together property. The <literal>"keep-together-within-column"</literal> property FoTable:keep-together-within-column "keep-together-within-column" FoProperty* : Read Keep Together Within Column property. The <literal>"keep-together-within-line"</literal> property FoTable:keep-together-within-line "keep-together-within-line" FoProperty* : Read Keep Together Within Line property. The <literal>"keep-together-within-page"</literal> property FoTable:keep-together-within-page "keep-together-within-page" FoProperty* : Read Keep Together Within Page property. The <literal>"keep-with-next"</literal> property FoTable:keep-with-next "keep-with-next" FoProperty* : Read Keep With Next property. The <literal>"keep-with-next-within-column"</literal> property FoTable:keep-with-next-within-column "keep-with-next-within-column" FoProperty* : Read Keep With Next Within Column property. The <literal>"keep-with-next-within-line"</literal> property FoTable:keep-with-next-within-line "keep-with-next-within-line" FoProperty* : Read Keep With Next Within Line property. The <literal>"keep-with-next-within-page"</literal> property FoTable:keep-with-next-within-page "keep-with-next-within-page" FoProperty* : Read Keep With Next Within Page property. The <literal>"keep-with-previous"</literal> property FoTable:keep-with-previous "keep-with-previous" FoProperty* : Read Keep With Previous property. The <literal>"keep-with-previous-within-column"</literal> property FoTable:keep-with-previous-within-column "keep-with-previous-within-column" FoProperty* : Read Keep With Previous Within Column property. The <literal>"keep-with-previous-within-line"</literal> property FoTable:keep-with-previous-within-line "keep-with-previous-within-line" FoProperty* : Read Keep With Previous Within Line property. The <literal>"keep-with-previous-within-page"</literal> property FoTable:keep-with-previous-within-page "keep-with-previous-within-page" FoProperty* : Read Keep With Previous Within Page property. The <literal>"layout-method"</literal> property FoTable:layout-method "layout-method" FoEnumTableLayoutMethod : Read Method used when laying out the table.Default value: FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN The <literal>"margin-bottom"</literal> property FoTable:margin-bottom "margin-bottom" FoProperty* : Read Margin Bottom property. The <literal>"margin-left"</literal> property FoTable:margin-left "margin-left" FoProperty* : Read Margin Left property. The <literal>"margin-right"</literal> property FoTable:margin-right "margin-right" FoProperty* : Read Margin Right property. The <literal>"margin-top"</literal> property FoTable:margin-top "margin-top" FoProperty* : Read Margin Top property. The <literal>"max-column-number"</literal> property FoTable:max-column-number "max-column-number" gint : Read Largest column number registered for table.Allowed values: >= 0 Default value: 0 The <literal>"padding-after"</literal> property FoTable:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTable:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTable:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTable:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTable:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTable:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTable:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTable:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoTable:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoTable:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-after"</literal> property FoTable:space-after "space-after" FoProperty* : Read Space After property. The <literal>"space-before"</literal> property FoTable:space-before "space-before" FoProperty* : Read Space Before property. The <literal>"start-indent"</literal> property FoTable:start-indent "start-indent" FoProperty* : Read Start Indent property. The <literal>"table-layout"</literal> property FoTable:table-layout "table-layout" FoProperty* : Read Table Layout property. The <literal>"width"</literal> property FoTable:width "width" FoProperty* : Read Width property. The <literal>"writing-mode"</literal> property FoTable:writing-mode "writing-mode" FoProperty* : Read Writing Mode property. xmlroff-0.6.2/docs/xml/fo-tblr.xml0000644000175000017500000002070311156164733013745 00000000000000 FoTblr 3 XMLROFF Library FoTblr Synopsis FoTblr; FoTblrClass; FoDatatype* fo_tblr_new (void); FoDatatype* fo_tblr_new_from_values (FoDatatype *top, FoDatatype *bottom, FoDatatype *left, FoDatatype *right); FoDatatype* fo_tblr_get_top (FoDatatype *datatype); FoDatatype* fo_tblr_get_bottom (FoDatatype *datatype); FoDatatype* fo_tblr_get_left (FoDatatype *datatype); FoDatatype* fo_tblr_get_right (FoDatatype *datatype); Description Details FoTblr FoTblrtypedef struct _FoTblr FoTblr; FoTblrClass FoTblrClasstypedef struct _FoTblrClass FoTblrClass; fo_tblr_new () fo_tblr_newFoDatatype* fo_tblr_new (void); Creates a new FoTblr initialized to default value. Returns : the new FoTblr fo_tblr_new_from_values () fo_tblr_new_from_valuesFoDatatype* fo_tblr_new_from_values (FoDatatype *top, FoDatatype *bottom, FoDatatype *left, FoDatatype *right); Creates a new FoTblr with top, bottom, left and right components set to provided values. top : FoDatatype to use as top value bottom : FoDatatype to use as bottom value left : FoDatatype to use as left value right : FoDatatype to use as right value Returns : New FoTblr fo_tblr_get_top () fo_tblr_get_topFoDatatype* fo_tblr_get_top (FoDatatype *datatype); Gets the top component value of datatype. datatype : FoTblr Returns : The top value of datatype. fo_tblr_get_bottom () fo_tblr_get_bottomFoDatatype* fo_tblr_get_bottom (FoDatatype *datatype); Gets the .bottom component value of datatype datatype : FoTblr Returns : The bottom value of datatype fo_tblr_get_left () fo_tblr_get_leftFoDatatype* fo_tblr_get_left (FoDatatype *datatype); Gets the .left component value of datatype datatype : FoTblr Returns : The left value of datatype fo_tblr_get_right () fo_tblr_get_rightFoDatatype* fo_tblr_get_right (FoDatatype *datatype); Gets the .right component value of datatype datatype : FoTblr Returns : The right value of datatype xmlroff-0.6.2/docs/xml/fo-text.xml0000644000175000017500000007327011156164733013775 00000000000000 FoText 3 XMLROFF Library FoText Synopsis FoText; FoTextClass; FoFo* fo_text_new (void); void fo_text_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_text_get_color (FoFo *fo_fo); void fo_text_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_text_get_font_family (FoFo *fo_fo); void fo_text_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_text_get_font_size (FoFo *fo_fo); void fo_text_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_text_get_font_stretch (FoFo *fo_fo); void fo_text_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_text_get_font_style (FoFo *fo_fo); void fo_text_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_text_get_font_variant (FoFo *fo_fo); void fo_text_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_text_get_font_weight (FoFo *fo_fo); void fo_text_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_text_get_score_spaces (FoFo *fo_fo); void fo_text_set_value (FoFo *fo_fo, const gchar *new_value); const gchar* fo_text_get_value (FoFo *fo_fo); gboolean fo_text_get_whitespace_only (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoText Implemented Interfaces FoText implements FoInlineFoIface. Properties "color" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "score-spaces" FoProperty* : Read "value" gchar* : Read "whitespace-only" gboolean : Read Description Details FoText FoTexttypedef struct _FoText FoText; FoTextClass FoTextClasstypedef struct _FoTextClass FoTextClass; fo_text_new () fo_text_newFoFo* fo_text_new (void); Creates a new FoText initialized to default value. Returns : the new FoText fo_text_set_color () fo_text_set_colorvoid fo_text_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the color property of text to new_color fo_fo : The FoFo object new_color : The new "color" property value fo_text_get_color () fo_text_get_colorFoProperty* fo_text_get_color (FoFo *fo_fo); Gets the color property of text fo_fo : The FoFo object Returns : The "color" property value fo_text_set_font_family () fo_text_set_font_familyvoid fo_text_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the font-family property of text to new_font_family fo_fo : The FoFo object new_font_family : The new "font-family" property value fo_text_get_font_family () fo_text_get_font_familyFoProperty* fo_text_get_font_family (FoFo *fo_fo); Gets the font-family property of text fo_fo : The FoFo object Returns : The "font-family" property value fo_text_set_font_size () fo_text_set_font_sizevoid fo_text_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the font-size property of text to new_font_size fo_fo : The FoFo object new_font_size : The new "font-size" property value fo_text_get_font_size () fo_text_get_font_sizeFoProperty* fo_text_get_font_size (FoFo *fo_fo); Gets the font-size property of text fo_fo : The FoFo object Returns : The "font-size" property value fo_text_set_font_stretch () fo_text_set_font_stretchvoid fo_text_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the font-stretch property of text to new_font_stretch fo_fo : The FoFo object new_font_stretch : The new "font-stretch" property value fo_text_get_font_stretch () fo_text_get_font_stretchFoProperty* fo_text_get_font_stretch (FoFo *fo_fo); Gets the font-stretch property of text fo_fo : The FoFo object Returns : The "font-stretch" property value fo_text_set_font_style () fo_text_set_font_stylevoid fo_text_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the font-style property of text to new_font_style fo_fo : The FoFo object new_font_style : The new "font-style" property value fo_text_get_font_style () fo_text_get_font_styleFoProperty* fo_text_get_font_style (FoFo *fo_fo); Gets the font-style property of text fo_fo : The FoFo object Returns : The "font-style" property value fo_text_set_font_variant () fo_text_set_font_variantvoid fo_text_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the font-variant property of text to new_font_variant fo_fo : The FoFo object new_font_variant : The new "font-variant" property value fo_text_get_font_variant () fo_text_get_font_variantFoProperty* fo_text_get_font_variant (FoFo *fo_fo); Gets the font-variant property of text fo_fo : The FoFo object Returns : The "font-variant" property value fo_text_set_font_weight () fo_text_set_font_weightvoid fo_text_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the font-weight property of text to new_font_weight fo_fo : The FoFo object new_font_weight : The new "font-weight" property value fo_text_get_font_weight () fo_text_get_font_weightFoProperty* fo_text_get_font_weight (FoFo *fo_fo); Gets the font-weight property of text fo_fo : The FoFo object Returns : The "font-weight" property value fo_text_set_score_spaces () fo_text_set_score_spacesvoid fo_text_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); Sets the score-spaces property of text to new_score_spaces fo_fo : The FoFo object new_score_spaces : The new "score-spaces" property value fo_text_get_score_spaces () fo_text_get_score_spacesFoProperty* fo_text_get_score_spaces (FoFo *fo_fo); Gets the score-spaces property of text fo_fo : The FoFo object Returns : The "score-spaces" property value fo_text_set_value () fo_text_set_valuevoid fo_text_set_value (FoFo *fo_fo, const gchar *new_value); Sets the value property of fo_fo to new_value fo_fo : The FoText object new_value : The new "value" property value fo_text_get_value () fo_text_get_valueconst gchar* fo_text_get_value (FoFo *fo_fo); Gets the "value" property of fo_text fo_fo : The FoText object Returns : The "value" property value fo_text_get_whitespace_only () fo_text_get_whitespace_onlygboolean fo_text_get_whitespace_only (FoFo *fo_fo); Gets the "whitespace_only" property of fo_fo fo_fo : The FoText object Returns : The "whitespace_only" property value Property Details The <literal>"color"</literal> property FoText:color "color" FoProperty* : Read Color property. The <literal>"font-family"</literal> property FoText:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoText:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoText:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoText:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoText:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoText:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"score-spaces"</literal> property FoText:score-spaces "score-spaces" FoProperty* : Read Score Spaces property. The <literal>"value"</literal> property FoText:value "value" gchar* : Read String value property.Default value: NULL The <literal>"whitespace-only"</literal> property FoText:whitespace-only "whitespace-only" gboolean : Read Whether or not the text object contains only whitespace characters.Default value: FALSE xmlroff-0.6.2/docs/xml/fo-title.xml0000644000175000017500000041424211156164733014130 00000000000000 title 3 XMLROFF Library title Synopsis FoTitle; FoTitleClass; FoFo* fo_title_new (void); FoProperty* fo_title_get_background_color (FoFo *fo_fo); void fo_title_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_title_get_background_image (FoFo *fo_fo); void fo_title_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_title_get_border_after_color (FoFo *fo_fo); void fo_title_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_title_get_border_after_style (FoFo *fo_fo); void fo_title_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_title_get_border_after_width (FoFo *fo_fo); void fo_title_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_title_get_border_before_color (FoFo *fo_fo); void fo_title_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_title_get_border_before_style (FoFo *fo_fo); void fo_title_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_title_get_border_before_width (FoFo *fo_fo); void fo_title_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_title_get_border_bottom_color (FoFo *fo_fo); void fo_title_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_title_get_border_bottom_style (FoFo *fo_fo); void fo_title_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_title_get_border_bottom_width (FoFo *fo_fo); void fo_title_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_title_get_border_end_color (FoFo *fo_fo); void fo_title_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_title_get_border_end_style (FoFo *fo_fo); void fo_title_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_title_get_border_end_width (FoFo *fo_fo); void fo_title_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_title_get_border_left_color (FoFo *fo_fo); void fo_title_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_title_get_border_left_style (FoFo *fo_fo); void fo_title_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_title_get_border_left_width (FoFo *fo_fo); void fo_title_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_title_get_border_right_color (FoFo *fo_fo); void fo_title_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_title_get_border_right_style (FoFo *fo_fo); void fo_title_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_title_get_border_right_width (FoFo *fo_fo); void fo_title_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_title_get_border_start_color (FoFo *fo_fo); void fo_title_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_title_get_border_start_style (FoFo *fo_fo); void fo_title_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_title_get_border_start_width (FoFo *fo_fo); void fo_title_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_title_get_border_top_color (FoFo *fo_fo); void fo_title_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_title_get_border_top_style (FoFo *fo_fo); void fo_title_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_title_get_border_top_width (FoFo *fo_fo); void fo_title_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_title_get_color (FoFo *fo_fo); void fo_title_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_title_get_font_family (FoFo *fo_fo); void fo_title_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_title_get_font_size (FoFo *fo_fo); void fo_title_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_title_get_font_stretch (FoFo *fo_fo); void fo_title_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_title_get_font_style (FoFo *fo_fo); void fo_title_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_title_get_font_variant (FoFo *fo_fo); void fo_title_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_title_get_font_weight (FoFo *fo_fo); void fo_title_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_title_get_line_height (FoFo *fo_fo); void fo_title_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_title_get_padding_after (FoFo *fo_fo); void fo_title_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_title_get_padding_before (FoFo *fo_fo); void fo_title_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_title_get_padding_bottom (FoFo *fo_fo); void fo_title_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_title_get_padding_end (FoFo *fo_fo); void fo_title_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_title_get_padding_left (FoFo *fo_fo); void fo_title_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_title_get_padding_right (FoFo *fo_fo); void fo_title_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_title_get_padding_start (FoFo *fo_fo); void fo_title_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_title_get_padding_top (FoFo *fo_fo); void fo_title_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_title_get_role (FoFo *fo_fo); void fo_title_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_title_get_source_document (FoFo *fo_fo); void fo_title_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_title_get_space_end (FoFo *fo_fo); void fo_title_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_title_get_space_start (FoFo *fo_fo); void fo_title_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoTitle Properties "background-color" FoProperty* : Read "background-image" FoProperty* : Read "border-after-color" FoProperty* : Read "border-after-style" FoProperty* : Read "border-after-width" FoProperty* : Read "border-before-color" FoProperty* : Read "border-before-style" FoProperty* : Read "border-before-width" FoProperty* : Read "border-bottom-color" FoProperty* : Read "border-bottom-style" FoProperty* : Read "border-bottom-width" FoProperty* : Read "border-end-color" FoProperty* : Read "border-end-style" FoProperty* : Read "border-end-width" FoProperty* : Read "border-left-color" FoProperty* : Read "border-left-style" FoProperty* : Read "border-left-width" FoProperty* : Read "border-right-color" FoProperty* : Read "border-right-style" FoProperty* : Read "border-right-width" FoProperty* : Read "border-start-color" FoProperty* : Read "border-start-style" FoProperty* : Read "border-start-width" FoProperty* : Read "border-top-color" FoProperty* : Read "border-top-style" FoProperty* : Read "border-top-width" FoProperty* : Read "color" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "line-height" FoProperty* : Read "padding-after" FoProperty* : Read "padding-before" FoProperty* : Read "padding-bottom" FoProperty* : Read "padding-end" FoProperty* : Read "padding-left" FoProperty* : Read "padding-right" FoProperty* : Read "padding-start" FoProperty* : Read "padding-top" FoProperty* : Read "role" FoProperty* : Read "source-document" FoProperty* : Read "space-end" FoProperty* : Read "space-start" FoProperty* : Read Description Details FoTitle FoTitletypedef struct _FoTitle FoTitle; FoTitleClass FoTitleClasstypedef struct _FoTitleClass FoTitleClass; fo_title_new () fo_title_newFoFo* fo_title_new (void); Creates a new FoTitle initialized to default value. Returns : the new FoTitle. fo_title_get_background_color () fo_title_get_background_colorFoProperty* fo_title_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value fo_title_set_background_color () fo_title_set_background_colorvoid fo_title_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value fo_title_get_background_image () fo_title_get_background_imageFoProperty* fo_title_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value fo_title_set_background_image () fo_title_set_background_imagevoid fo_title_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value fo_title_get_border_after_color () fo_title_get_border_after_colorFoProperty* fo_title_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value fo_title_set_border_after_color () fo_title_set_border_after_colorvoid fo_title_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value fo_title_get_border_after_style () fo_title_get_border_after_styleFoProperty* fo_title_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value fo_title_set_border_after_style () fo_title_set_border_after_stylevoid fo_title_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value fo_title_get_border_after_width () fo_title_get_border_after_widthFoProperty* fo_title_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value fo_title_set_border_after_width () fo_title_set_border_after_widthvoid fo_title_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value fo_title_get_border_before_color () fo_title_get_border_before_colorFoProperty* fo_title_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value fo_title_set_border_before_color () fo_title_set_border_before_colorvoid fo_title_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value fo_title_get_border_before_style () fo_title_get_border_before_styleFoProperty* fo_title_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value fo_title_set_border_before_style () fo_title_set_border_before_stylevoid fo_title_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value fo_title_get_border_before_width () fo_title_get_border_before_widthFoProperty* fo_title_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value fo_title_set_border_before_width () fo_title_set_border_before_widthvoid fo_title_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value fo_title_get_border_bottom_color () fo_title_get_border_bottom_colorFoProperty* fo_title_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value fo_title_set_border_bottom_color () fo_title_set_border_bottom_colorvoid fo_title_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value fo_title_get_border_bottom_style () fo_title_get_border_bottom_styleFoProperty* fo_title_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value fo_title_set_border_bottom_style () fo_title_set_border_bottom_stylevoid fo_title_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value fo_title_get_border_bottom_width () fo_title_get_border_bottom_widthFoProperty* fo_title_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value fo_title_set_border_bottom_width () fo_title_set_border_bottom_widthvoid fo_title_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value fo_title_get_border_end_color () fo_title_get_border_end_colorFoProperty* fo_title_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value fo_title_set_border_end_color () fo_title_set_border_end_colorvoid fo_title_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value fo_title_get_border_end_style () fo_title_get_border_end_styleFoProperty* fo_title_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value fo_title_set_border_end_style () fo_title_set_border_end_stylevoid fo_title_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value fo_title_get_border_end_width () fo_title_get_border_end_widthFoProperty* fo_title_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value fo_title_set_border_end_width () fo_title_set_border_end_widthvoid fo_title_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value fo_title_get_border_left_color () fo_title_get_border_left_colorFoProperty* fo_title_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value fo_title_set_border_left_color () fo_title_set_border_left_colorvoid fo_title_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value fo_title_get_border_left_style () fo_title_get_border_left_styleFoProperty* fo_title_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value fo_title_set_border_left_style () fo_title_set_border_left_stylevoid fo_title_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value fo_title_get_border_left_width () fo_title_get_border_left_widthFoProperty* fo_title_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value fo_title_set_border_left_width () fo_title_set_border_left_widthvoid fo_title_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value fo_title_get_border_right_color () fo_title_get_border_right_colorFoProperty* fo_title_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value fo_title_set_border_right_color () fo_title_set_border_right_colorvoid fo_title_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value fo_title_get_border_right_style () fo_title_get_border_right_styleFoProperty* fo_title_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value fo_title_set_border_right_style () fo_title_set_border_right_stylevoid fo_title_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value fo_title_get_border_right_width () fo_title_get_border_right_widthFoProperty* fo_title_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value fo_title_set_border_right_width () fo_title_set_border_right_widthvoid fo_title_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value fo_title_get_border_start_color () fo_title_get_border_start_colorFoProperty* fo_title_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value fo_title_set_border_start_color () fo_title_set_border_start_colorvoid fo_title_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value fo_title_get_border_start_style () fo_title_get_border_start_styleFoProperty* fo_title_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value fo_title_set_border_start_style () fo_title_set_border_start_stylevoid fo_title_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value fo_title_get_border_start_width () fo_title_get_border_start_widthFoProperty* fo_title_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value fo_title_set_border_start_width () fo_title_set_border_start_widthvoid fo_title_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value fo_title_get_border_top_color () fo_title_get_border_top_colorFoProperty* fo_title_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value fo_title_set_border_top_color () fo_title_set_border_top_colorvoid fo_title_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value fo_title_get_border_top_style () fo_title_get_border_top_styleFoProperty* fo_title_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value fo_title_set_border_top_style () fo_title_set_border_top_stylevoid fo_title_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value fo_title_get_border_top_width () fo_title_get_border_top_widthFoProperty* fo_title_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value fo_title_set_border_top_width () fo_title_set_border_top_widthvoid fo_title_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value fo_title_get_color () fo_title_get_colorFoProperty* fo_title_get_color (FoFo *fo_fo); Gets the "color" property of fo_fo fo_fo : The FoFo object Returns : The "color" property value fo_title_set_color () fo_title_set_colorvoid fo_title_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the "color" property of fo_fo to new_color fo_fo : The FoFo object new_color : The new "color" property value fo_title_get_font_family () fo_title_get_font_familyFoProperty* fo_title_get_font_family (FoFo *fo_fo); Gets the "font-family" property of fo_fo fo_fo : The FoFo object Returns : The "font-family" property value fo_title_set_font_family () fo_title_set_font_familyvoid fo_title_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the "font-family" property of fo_fo to new_font_family fo_fo : The FoFo object new_font_family : The new "font-family" property value fo_title_get_font_size () fo_title_get_font_sizeFoProperty* fo_title_get_font_size (FoFo *fo_fo); Gets the "font-size" property of fo_fo fo_fo : The FoFo object Returns : The "font-size" property value fo_title_set_font_size () fo_title_set_font_sizevoid fo_title_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the "font-size" property of fo_fo to new_font_size fo_fo : The FoFo object new_font_size : The new "font-size" property value fo_title_get_font_stretch () fo_title_get_font_stretchFoProperty* fo_title_get_font_stretch (FoFo *fo_fo); Gets the "font-stretch" property of fo_fo fo_fo : The FoFo object Returns : The "font-stretch" property value fo_title_set_font_stretch () fo_title_set_font_stretchvoid fo_title_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_fo to new_font_stretch fo_fo : The FoFo object new_font_stretch : The new "font-stretch" property value fo_title_get_font_style () fo_title_get_font_styleFoProperty* fo_title_get_font_style (FoFo *fo_fo); Gets the "font-style" property of fo_fo fo_fo : The FoFo object Returns : The "font-style" property value fo_title_set_font_style () fo_title_set_font_stylevoid fo_title_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the "font-style" property of fo_fo to new_font_style fo_fo : The FoFo object new_font_style : The new "font-style" property value fo_title_get_font_variant () fo_title_get_font_variantFoProperty* fo_title_get_font_variant (FoFo *fo_fo); Gets the "font-variant" property of fo_fo fo_fo : The FoFo object Returns : The "font-variant" property value fo_title_set_font_variant () fo_title_set_font_variantvoid fo_title_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the "font-variant" property of fo_fo to new_font_variant fo_fo : The FoFo object new_font_variant : The new "font-variant" property value fo_title_get_font_weight () fo_title_get_font_weightFoProperty* fo_title_get_font_weight (FoFo *fo_fo); Gets the "font-weight" property of fo_fo fo_fo : The FoFo object Returns : The "font-weight" property value fo_title_set_font_weight () fo_title_set_font_weightvoid fo_title_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the "font-weight" property of fo_fo to new_font_weight fo_fo : The FoFo object new_font_weight : The new "font-weight" property value fo_title_get_line_height () fo_title_get_line_heightFoProperty* fo_title_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo fo_fo : The FoFo object Returns : The "line-height" property value fo_title_set_line_height () fo_title_set_line_heightvoid fo_title_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value fo_title_get_padding_after () fo_title_get_padding_afterFoProperty* fo_title_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value fo_title_set_padding_after () fo_title_set_padding_aftervoid fo_title_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value fo_title_get_padding_before () fo_title_get_padding_beforeFoProperty* fo_title_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value fo_title_set_padding_before () fo_title_set_padding_beforevoid fo_title_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value fo_title_get_padding_bottom () fo_title_get_padding_bottomFoProperty* fo_title_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value fo_title_set_padding_bottom () fo_title_set_padding_bottomvoid fo_title_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value fo_title_get_padding_end () fo_title_get_padding_endFoProperty* fo_title_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value fo_title_set_padding_end () fo_title_set_padding_endvoid fo_title_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value fo_title_get_padding_left () fo_title_get_padding_leftFoProperty* fo_title_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value fo_title_set_padding_left () fo_title_set_padding_leftvoid fo_title_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value fo_title_get_padding_right () fo_title_get_padding_rightFoProperty* fo_title_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value fo_title_set_padding_right () fo_title_set_padding_rightvoid fo_title_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value fo_title_get_padding_start () fo_title_get_padding_startFoProperty* fo_title_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value fo_title_set_padding_start () fo_title_set_padding_startvoid fo_title_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value fo_title_get_padding_top () fo_title_get_padding_topFoProperty* fo_title_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value fo_title_set_padding_top () fo_title_set_padding_topvoid fo_title_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value fo_title_get_role () fo_title_get_roleFoProperty* fo_title_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value fo_title_set_role () fo_title_set_rolevoid fo_title_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value fo_title_get_source_document () fo_title_get_source_documentFoProperty* fo_title_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value fo_title_set_source_document () fo_title_set_source_documentvoid fo_title_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value fo_title_get_space_end () fo_title_get_space_endFoProperty* fo_title_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo fo_fo : The FoFo object Returns : The "space-end" property value fo_title_set_space_end () fo_title_set_space_endvoid fo_title_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end fo_fo : The FoFo object new_space_end : The new "space-end" property value fo_title_get_space_start () fo_title_get_space_startFoProperty* fo_title_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo fo_fo : The FoFo object Returns : The "space-start" property value fo_title_set_space_start () fo_title_set_space_startvoid fo_title_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start fo_fo : The FoFo object new_space_start : The new "space-start" property value Property Details The <literal>"background-color"</literal> property FoTitle:background-color "background-color" FoProperty* : Read Background Color property. The <literal>"background-image"</literal> property FoTitle:background-image "background-image" FoProperty* : Read Background Image property. The <literal>"border-after-color"</literal> property FoTitle:border-after-color "border-after-color" FoProperty* : Read Border After Color property. The <literal>"border-after-style"</literal> property FoTitle:border-after-style "border-after-style" FoProperty* : Read Border After Style property. The <literal>"border-after-width"</literal> property FoTitle:border-after-width "border-after-width" FoProperty* : Read Border After Width property. The <literal>"border-before-color"</literal> property FoTitle:border-before-color "border-before-color" FoProperty* : Read Border Before Color property. The <literal>"border-before-style"</literal> property FoTitle:border-before-style "border-before-style" FoProperty* : Read Border Before Style property. The <literal>"border-before-width"</literal> property FoTitle:border-before-width "border-before-width" FoProperty* : Read Border Before Width property. The <literal>"border-bottom-color"</literal> property FoTitle:border-bottom-color "border-bottom-color" FoProperty* : Read Border Bottom Color property. The <literal>"border-bottom-style"</literal> property FoTitle:border-bottom-style "border-bottom-style" FoProperty* : Read Border Bottom Style property. The <literal>"border-bottom-width"</literal> property FoTitle:border-bottom-width "border-bottom-width" FoProperty* : Read Border Bottom Width property. The <literal>"border-end-color"</literal> property FoTitle:border-end-color "border-end-color" FoProperty* : Read Border End Color property. The <literal>"border-end-style"</literal> property FoTitle:border-end-style "border-end-style" FoProperty* : Read Border End Style property. The <literal>"border-end-width"</literal> property FoTitle:border-end-width "border-end-width" FoProperty* : Read Border End Width property. The <literal>"border-left-color"</literal> property FoTitle:border-left-color "border-left-color" FoProperty* : Read Border Left Color property. The <literal>"border-left-style"</literal> property FoTitle:border-left-style "border-left-style" FoProperty* : Read Border Left Style property. The <literal>"border-left-width"</literal> property FoTitle:border-left-width "border-left-width" FoProperty* : Read Border Left Width property. The <literal>"border-right-color"</literal> property FoTitle:border-right-color "border-right-color" FoProperty* : Read Border Right Color property. The <literal>"border-right-style"</literal> property FoTitle:border-right-style "border-right-style" FoProperty* : Read Border Right Style property. The <literal>"border-right-width"</literal> property FoTitle:border-right-width "border-right-width" FoProperty* : Read Border Right Width property. The <literal>"border-start-color"</literal> property FoTitle:border-start-color "border-start-color" FoProperty* : Read Border Start Color property. The <literal>"border-start-style"</literal> property FoTitle:border-start-style "border-start-style" FoProperty* : Read Border Start Style property. The <literal>"border-start-width"</literal> property FoTitle:border-start-width "border-start-width" FoProperty* : Read Border Start Width property. The <literal>"border-top-color"</literal> property FoTitle:border-top-color "border-top-color" FoProperty* : Read Border Top Color property. The <literal>"border-top-style"</literal> property FoTitle:border-top-style "border-top-style" FoProperty* : Read Border Top Style property. The <literal>"border-top-width"</literal> property FoTitle:border-top-width "border-top-width" FoProperty* : Read Border Top Width property. The <literal>"color"</literal> property FoTitle:color "color" FoProperty* : Read Color property. The <literal>"font-family"</literal> property FoTitle:font-family "font-family" FoProperty* : Read Font Family property. The <literal>"font-size"</literal> property FoTitle:font-size "font-size" FoProperty* : Read Font Size property. The <literal>"font-stretch"</literal> property FoTitle:font-stretch "font-stretch" FoProperty* : Read Font Stretch property. The <literal>"font-style"</literal> property FoTitle:font-style "font-style" FoProperty* : Read Font Style property. The <literal>"font-variant"</literal> property FoTitle:font-variant "font-variant" FoProperty* : Read Font Variant property. The <literal>"font-weight"</literal> property FoTitle:font-weight "font-weight" FoProperty* : Read Font Weight property. The <literal>"line-height"</literal> property FoTitle:line-height "line-height" FoProperty* : Read Line Height property. The <literal>"padding-after"</literal> property FoTitle:padding-after "padding-after" FoProperty* : Read Padding After property. The <literal>"padding-before"</literal> property FoTitle:padding-before "padding-before" FoProperty* : Read Padding Before property. The <literal>"padding-bottom"</literal> property FoTitle:padding-bottom "padding-bottom" FoProperty* : Read Padding Bottom property. The <literal>"padding-end"</literal> property FoTitle:padding-end "padding-end" FoProperty* : Read Padding End property. The <literal>"padding-left"</literal> property FoTitle:padding-left "padding-left" FoProperty* : Read Padding Left property. The <literal>"padding-right"</literal> property FoTitle:padding-right "padding-right" FoProperty* : Read Padding Right property. The <literal>"padding-start"</literal> property FoTitle:padding-start "padding-start" FoProperty* : Read Padding Start property. The <literal>"padding-top"</literal> property FoTitle:padding-top "padding-top" FoProperty* : Read Padding Top property. The <literal>"role"</literal> property FoTitle:role "role" FoProperty* : Read Role property. The <literal>"source-document"</literal> property FoTitle:source-document "source-document" FoProperty* : Read Source Document property. The <literal>"space-end"</literal> property FoTitle:space-end "space-end" FoProperty* : Read Space End property. The <literal>"space-start"</literal> property FoTitle:space-start "space-start" FoProperty* : Read Space Start property. xmlroff-0.6.2/docs/xml/fo-tree.xml0000644000175000017500000003401411156164733013741 00000000000000 FoTree 3 XMLROFF Library FoTree Top of the FO tree Synopsis FoTree; FoTreeClass; FoFo* fo_tree_new (void); void fo_tree_id_add (FoFo *tree, const gchar *id, FoFo *fo); FoFo* fo_tree_id_get (FoFo *tree, const gchar *id); void fo_tree_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); FoFo* fo_tree_master_name_get (FoFo *tree, const gchar *name); void fo_tree_page_sequence_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); FoFo* fo_tree_page_sequence_master_name_get (FoFo *tree, const gchar *name); FoFo* fo_tree_default_master_get (FoFo *tree); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoTree Description FoTree is above FoRoot (which represents the fo:root formatting object). FoTree is used for aspects such as id-FO mapping that apply to the FO tree as a whole but are outside the definition of XSL formatting objects. Details FoTree FoTreetypedef struct _FoTree FoTree; FoTreeClass FoTreeClasstypedef struct _FoTreeClass FoTreeClass; fo_tree_new () fo_tree_newFoFo* fo_tree_new (void); Creates a new FoTree initialized to default value. Returns : the new FoTree fo_tree_id_add () fo_tree_id_addvoid fo_tree_id_add (FoFo *tree, const gchar *id, FoFo *fo); Adds fo to tree under name. tree : FoTree to which to add a FoFo. id : Id to use for the FoFo. fo : FoFo to add. fo_tree_id_get () fo_tree_id_getFoFo* fo_tree_id_get (FoFo *tree, const gchar *id); Gets the FoFo of tree corresponding to id. tree : FoTree for which to get a FoFo. id : Id of the FoFo to get. Returns : FoFo matching id, or NULL. fo_tree_master_name_add () fo_tree_master_name_addvoid fo_tree_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); Adds fo to tree under name. tree : FoTree to which to add a FoPageMaster. name : Name to use for the FoPageMaster. fo : FoPageMaster to add. fo_tree_master_name_get () fo_tree_master_name_getFoFo* fo_tree_master_name_get (FoFo *tree, const gchar *name); Gets the FoPageMaster of tree corresponding to name. tree : FoTree for which to get a FoPageMaster. name : Name of the FoPageMaster to get. Returns : FoPageMaster matching name, or NULL. fo_tree_page_sequence_master_name_add () fo_tree_page_sequence_master_name_addvoid fo_tree_page_sequence_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); Adds fo to to tree. tree : FoTree for which to add a FoPageSequenceMaster. name : Name of the FoPageSequenceMaster. fo : FoPageSequenceMaster to add. fo_tree_page_sequence_master_name_get () fo_tree_page_sequence_master_name_getFoFo* fo_tree_page_sequence_master_name_get (FoFo *tree, const gchar *name); Gets the FoPageSequenceMaster of tree with name matching name. tree : FoTree for which to get a named FoPageSequenceMaster. name : Name of the FoPageSequenceMaster. Returns : FoPageSequenceMaster corresponding to name, or NULL. fo_tree_default_master_get () fo_tree_default_master_getFoFo* fo_tree_default_master_get (FoFo *tree); Gets the default page master of tree. tree : FoTree for which to get the default master. Returns : The default page sequence master of fo. xmlroff-0.6.2/docs/xml/fo-unknown.xml0000644000175000017500000001223511156164733014502 00000000000000 FoUnknown 3 XMLROFF Library FoUnknown Synopsis FoUnknown; FoUnknownClass; FoDatatype* fo_unknown_new (void); gchar* fo_unknown_get_value (FoDatatype *unknown); void fo_unknown_set_value (FoDatatype *unknown, const gchar *new_value); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoUnknown Properties "value" gchar* : Read / Write Description Details FoUnknown FoUnknowntypedef struct _FoUnknown FoUnknown; FoUnknownClass FoUnknownClasstypedef struct _FoUnknownClass FoUnknownClass; fo_unknown_new () fo_unknown_newFoDatatype* fo_unknown_new (void); Creates a new FoUnknown initialized to default value. Returns : the new FoUnknown fo_unknown_get_value () fo_unknown_get_valuegchar* fo_unknown_get_value (FoDatatype *unknown); unknown : Returns : fo_unknown_set_value () fo_unknown_set_valuevoid fo_unknown_set_value (FoDatatype *unknown, const gchar *new_value); unknown : new_value : Property Details The <literal>"value"</literal> property FoUnknown:value "value" gchar* : Read / Write Unknown value.Default value: NULL xmlroff-0.6.2/docs/xml/fo-uri-specification.xml0000644000175000017500000001151511156164733016420 00000000000000 FoUriSpecification 3 XMLROFF Library FoUriSpecification Synopsis FoUriSpecification; FoUriSpecificationClass; FoDatatype* fo_uri_specification_new_with_value (const gchar *new_value); gchar* fo_uri_specification_get_value (FoDatatype *uri_specification); Object Hierarchy GObject +----FoObject +----FoDatatype +----FoUriSpecification Properties "value" gchar* : Read / Write Description Details FoUriSpecification FoUriSpecificationtypedef struct _FoUriSpecification FoUriSpecification; FoUriSpecificationClass FoUriSpecificationClasstypedef struct _FoUriSpecificationClass FoUriSpecificationClass; fo_uri_specification_new_with_value () fo_uri_specification_new_with_valueFoDatatype* fo_uri_specification_new_with_value (const gchar *new_value); Creates a new FoUriSpecification initialized to specified value. new_value : Value to use. Returns : the new FoUriSpecification fo_uri_specification_get_value () fo_uri_specification_get_valuegchar* fo_uri_specification_get_value (FoDatatype *uri_specification); uri_specification : Returns : Property Details The <literal>"value"</literal> property FoUriSpecification:value "value" gchar* : Read / Write Uri-specification value.Default value: NULL xmlroff-0.6.2/docs/xml/fo-utils.xml0000644000175000017500000001457411156164733014153 00000000000000 fo-utils 3 XMLROFF Library fo-utils Synopsis #define GETTEXT_PACKAGE #define fo_propagate_and_return_if_error (src, dest) #define fo_propagate_and_return_val_if_error(src, dest, val) enum FoDebugFlag; enum FoWarningFlag; enum FoEnumAreaDirection; Description Details GETTEXT_PACKAGE GETTEXT_PACKAGE#define GETTEXT_PACKAGE "libfo" fo_propagate_and_return_if_error() fo_propagate_and_return_if_error#define fo_propagate_and_return_if_error(src, dest) src : dest : fo_propagate_and_return_val_if_error() fo_propagate_and_return_val_if_error#define fo_propagate_and_return_val_if_error(src, dest, val) src : dest : val : enum FoDebugFlag FoDebugFlagtypedef enum { FO_DEBUG_NONE = 0, FO_DEBUG_RESULT = 1 << 0, FO_DEBUG_FO = 1 << 1, FO_DEBUG_AREA = 1 << 2, FO_DEBUG_PANGO = 1 << 3, FO_DEBUG_MAX = ((1 << 4) - 1) } FoDebugFlag; Debugging flags. FO_DEBUG_NONE No debugging enabled FO_DEBUG_RESULT Debug result tree FO_DEBUG_FO Debug FO tree FO_DEBUG_AREA Debug area tree FO_DEBUG_PANGO Debug Pango layouts FO_DEBUG_MAX Maximum possible value enum FoWarningFlag FoWarningFlagtypedef enum { FO_WARNING_NONE = 0, FO_WARNING_FO = 1 << 0, FO_WARNING_PROPERTY = 1 << 1, FO_WARNING_UNSUPPORTED_PROPERTY = 1 << 2, FO_WARNING_MAX = ((1 << 3) - 1) } FoWarningFlag; Warning flags. FO_WARNING_NONE No explicit control over warning message output FO_WARNING_FO Do not warn about FO errors FO_WARNING_PROPERTY Do not warn about property errors FO_WARNING_UNSUPPORTED_PROPERTY Do not warn about unsupported properties FO_WARNING_MAX Maximum possible value enum FoEnumAreaDirection FoEnumAreaDirectiontypedef enum { FO_ENUM_AREA_DIRECTION_UNKNOWN, FO_ENUM_AREA_DIRECTION_LR, FO_ENUM_AREA_DIRECTION_RL, FO_ENUM_AREA_DIRECTION_TB, FO_ENUM_AREA_DIRECTION_BT } FoEnumAreaDirection; xmlroff-0.6.2/docs/xml/fo-wrapper-block.xml0000644000175000017500000001044611156164733015555 00000000000000 FoWrapperBlock 3 XMLROFF Library FoWrapperBlock Synopsis FoWrapperBlock; FoWrapperBlockClass; FoFo* fo_wrapper_block_new (void); void fo_wrapper_block_update_from_context (FoFo *fo, FoContext *context); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoWrapper +----FoWrapperBlock Implemented Interfaces FoWrapperBlock implements FoNeutralIface. Description Details FoWrapperBlock FoWrapperBlocktypedef struct _FoWrapperBlock FoWrapperBlock; FoWrapperBlockClass FoWrapperBlockClasstypedef struct _FoWrapperBlockClass FoWrapperBlockClass; fo_wrapper_block_new () fo_wrapper_block_newFoFo* fo_wrapper_block_new (void); Creates a new FoWrapperBlock initialized to default value. Returns : the new FoWrapperBlock fo_wrapper_block_update_from_context () fo_wrapper_block_update_from_contextvoid fo_wrapper_block_update_from_context (FoFo *fo, FoContext *context); fo : context : xmlroff-0.6.2/docs/xml/fo-wrapper-inline-empty.xml0000644000175000017500000000501411156164733017070 00000000000000 FoWrapperInlineEmpty 3 XMLROFF Library FoWrapperInlineEmpty Synopsis FoWrapperInlineEmpty; FoWrapperInlineEmptyClass; FoFo* fo_wrapper_inline_empty_new (void); Description Details FoWrapperInlineEmpty FoWrapperInlineEmptytypedef struct { FoWrapper parent_instance; } FoWrapperInlineEmpty; FoWrapperInlineEmptyClass FoWrapperInlineEmptyClasstypedef struct { FoWrapperClass parent_class; } FoWrapperInlineEmptyClass; fo_wrapper_inline_empty_new () fo_wrapper_inline_empty_newFoFo* fo_wrapper_inline_empty_new (void); Creates a new FoWrapperInlineEmpty initialized to default value. Returns : the new FoWrapperInlineEmpty. xmlroff-0.6.2/docs/xml/fo-wrapper-inline.xml0000644000175000017500000000626511156164733015745 00000000000000 FoWrapperInline 3 XMLROFF Library FoWrapperInline Synopsis FoWrapperInline; FoWrapperInlineClass; FoFo* fo_wrapper_inline_new (void); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoWrapper +----FoWrapperInline Implemented Interfaces FoWrapperInline implements FoInlineFoIface and FoNeutralIface. Description Details FoWrapperInline FoWrapperInlinetypedef struct _FoWrapperInline FoWrapperInline; FoWrapperInlineClass FoWrapperInlineClasstypedef struct _FoWrapperInlineClass FoWrapperInlineClass; fo_wrapper_inline_new () fo_wrapper_inline_newFoFo* fo_wrapper_inline_new (void); Creates a new FoWrapperInline initialized to default value. Returns : the new FoWrapperInline xmlroff-0.6.2/docs/xml/fo-wrapper-whitespace.xml0000644000175000017500000001077511156164733016624 00000000000000 FoWrapperWhitespace 3 XMLROFF Library FoWrapperWhitespace Synopsis FoWrapperWhitespace; FoWrapperWhitespaceClass; FoFo* fo_wrapper_whitespace_new (void); void fo_wrapper_whitespace_update_from_context (FoFo *fo, FoContext *context); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoWrapper +----FoWrapperWhitespace Implemented Interfaces FoWrapperWhitespace implements FoNeutralIface. Description Details FoWrapperWhitespace FoWrapperWhitespacetypedef struct _FoWrapperWhitespace FoWrapperWhitespace; FoWrapperWhitespaceClass FoWrapperWhitespaceClasstypedef struct _FoWrapperWhitespaceClass FoWrapperWhitespaceClass; fo_wrapper_whitespace_new () fo_wrapper_whitespace_newFoFo* fo_wrapper_whitespace_new (void); Creates a new FoWrapperWhitespace initialized to default value. Returns : the new FoWrapperWhitespace fo_wrapper_whitespace_update_from_context () fo_wrapper_whitespace_update_from_contextvoid fo_wrapper_whitespace_update_from_context (FoFo *fo, FoContext *context); fo : context : xmlroff-0.6.2/docs/xml/fo-wrapper.xml0000644000175000017500000001414011156164733014460 00000000000000 FoWrapper 3 XMLROFF Library FoWrapper Synopsis FoWrapper; FoWrapperClass; FoFo* fo_wrapper_new (void); void fo_wrapper_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_wrapper_get_id (FoFo *fo_fo); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoMarkerParent +----FoWrapper +----FoWrapperBlock +----FoWrapperInline +----FoWrapperWhitespace Implemented Interfaces FoWrapper implements FoNeutralIface. Properties "id" FoProperty* : Read Description Details FoWrapper FoWrappertypedef struct _FoWrapper FoWrapper; Instance of the 'wrapper' formatting object. FoWrapperClass FoWrapperClasstypedef struct _FoWrapperClass FoWrapperClass; Class structure for the 'wrapper' formatting object. fo_wrapper_new () fo_wrapper_newFoFo* fo_wrapper_new (void); Creates a new FoWrapper initialized to default value. Returns : the new FoWrapper. fo_wrapper_set_id () fo_wrapper_set_idvoid fo_wrapper_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id. fo_fo : The FoFo object. new_id : The new "id" property value. fo_wrapper_get_id () fo_wrapper_get_idFoProperty* fo_wrapper_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo. fo_fo : The FoFo object. Returns : The "id" property value. Property Details The <literal>"id"</literal> property FoWrapper:id "id" FoProperty* : Read Id property. xmlroff-0.6.2/docs/xml/fo-wsc.xml0000644000175000017500000001574011156164733013603 00000000000000 FoWsc 3 XMLROFF Library FoWsc Synopsis FoWsc; FoWscClass; FoDatatype* fo_wsc_new (void); FoDatatype* fo_wsc_new_from_values (FoDatatype *width, FoDatatype *style, FoDatatype *color); FoDatatype* fo_wsc_get_width (FoDatatype *datatype); FoDatatype* fo_wsc_get_style (FoDatatype *datatype); FoDatatype* fo_wsc_get_color (FoDatatype *datatype); Description Details FoWsc FoWsctypedef struct _FoWsc FoWsc; FoWscClass FoWscClasstypedef struct _FoWscClass FoWscClass; fo_wsc_new () fo_wsc_newFoDatatype* fo_wsc_new (void); Creates a new FoWsc initialized to default value. Returns : the new FoWsc fo_wsc_new_from_values () fo_wsc_new_from_valuesFoDatatype* fo_wsc_new_from_values (FoDatatype *width, FoDatatype *style, FoDatatype *color); Creates a new FoWsc with width, style, and color components set to provided values. width : FoDatatype to use as width value style : FoDatatype to use as style value color : FoDatatype to use as color value Returns : New FoWsc fo_wsc_get_width () fo_wsc_get_widthFoDatatype* fo_wsc_get_width (FoDatatype *datatype); Gets the width component value of datatype. datatype : FoWsc Returns : The width value of datatype. fo_wsc_get_style () fo_wsc_get_styleFoDatatype* fo_wsc_get_style (FoDatatype *datatype); Gets the style component value of datatype datatype : FoWsc Returns : The style value of datatype fo_wsc_get_color () fo_wsc_get_colorFoDatatype* fo_wsc_get_color (FoDatatype *datatype); Gets the color component value of datatype datatype : FoWsc Returns : The color value of datatype xmlroff-0.6.2/docs/xml/fo-xml-char-util.xml0000644000175000017500000004200611156164733015470 00000000000000 fo-xml-char-util 3 XMLROFF Library fo-xml-char-util Synopsis #define IS_CHAR (c) #define IS_BLANK (c) #define IS_BASECHAR (c) #define IS_DIGIT (c) #define IS_COMBINING (c) #define IS_EXTENDER (c) #define IS_IDEOGRAPHIC (c) #define IS_LETTER (c) gboolean fo_is_basechar (gunichar c); gboolean fo_is_blank (gunichar c); gboolean fo_is_letter (gunichar c); gboolean fo_is_digit (gunichar c); gboolean fo_is_ideographic (gunichar c); gboolean fo_is_extender (gunichar c); gboolean fo_is_combining (gunichar c); gboolean fo_is_char (gunichar c); Description Details IS_CHAR() IS_CHAR#define IS_CHAR(c) Macro to check the following production in the XML spec: [2] Char ::= x9 | xA | xD | [x20-xD7FF] | [xE000-xFFFD] | [x10000-x10FFFF] any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. c : an UNICODE value (gunichar) IS_BLANK() IS_BLANK#define IS_BLANK(c) Macro to check the following production in the XML spec: [3] S ::= (x20 | x9 | xD | xA)+ c : an UNICODE value (gunichar) IS_BASECHAR() IS_BASECHAR#define IS_BASECHAR(c) fo_is_basechar(c) Macro to check the following production in the XML spec: [85] BaseChar ::= ... long list see REC ... c : an UNICODE value (gunichar) IS_DIGIT() IS_DIGIT#define IS_DIGIT(c) fo_is_digit(c) Macro to check the following production in the XML spec: [88] Digit ::= ... long list see REC ... c : an UNICODE value (gunichar) IS_COMBINING() IS_COMBINING#define IS_COMBINING(c) fo_is_combining(c) Macro to check the following production in the XML spec: [87] CombiningChar ::= ... long list see REC ... c : an UNICODE value (gunichar) IS_EXTENDER() IS_EXTENDER#define IS_EXTENDER(c) fo_is_extender(c) Macro to check the following production in the XML spec: [89] Extender ::= x00B7 | x02D0 | x02D1 | x0387 | x0640 | x0E46 | x0EC6 | x3005 | [x3031-x3035] | [x309D-x309E] | [x30FC-x30FE] c : an UNICODE value (gunichar) IS_IDEOGRAPHIC() IS_IDEOGRAPHIC#define IS_IDEOGRAPHIC(c) fo_is_ideographic(c) Macro to check the following production in the XML spec: [86] Ideographic ::= [x4E00-x9FA5] | x3007 | [x3021-x3029] c : an UNICODE value (gunichar) IS_LETTER() IS_LETTER#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c)) Macro to check the following production in the XML spec: [84] Letter ::= BaseChar | Ideographic c : an UNICODE value (gunichar) fo_is_basechar () fo_is_basechargboolean fo_is_basechar (gunichar c); Check whether the character is allowed by the production [85] BaseChar ::= ... long list see REC ... VI is your friend ! :1,$ s/\[x\([0-9A-Z]*\)-x\([0-9A-Z]*\)\]/ (((c) >= 0x\1) \&\& ((c) <= 0x\2)) ||/ and :1,$ s/x\([0-9A-Z]*\)/ ((c) == 0x\1) ||/ c : an unicode character (gunichar) Returns :FALSE if not, TRUE otherwise fo_is_blank () fo_is_blankgboolean fo_is_blank (gunichar c); Check whether the character is allowed by the production [3] S ::= (x20 | x9 | xD | xA)+ Also available as a macro IS_BLANK() c : an unicode character (gunichar) Returns :FALSE if not, TRUE otherwise fo_is_letter () fo_is_lettergboolean fo_is_letter (gunichar c); Check whether the character is allowed by the production [84] Letter ::= BaseChar | Ideographic c : an unicode character (gunichar) Returns :FALSE if not, TRUE otherwise fo_is_digit () fo_is_digitgboolean fo_is_digit (gunichar c); Check whether the character is allowed by the production [88] Digit ::= ... long list see REC ... c : an unicode character (gunichar) Returns :FALSE if not, TRUE otherwise fo_is_ideographic () fo_is_ideographicgboolean fo_is_ideographic (gunichar c); Check whether the character is allowed by the production [86] Ideographic ::= [x4E00-x9FA5] | x3007 | [x3021-x3029] c : an unicode character (gunichar) Returns :FALSE if not, TRUE otherwise fo_is_extender () fo_is_extendergboolean fo_is_extender (gunichar c); Check whether the character is allowed by the production [89] Extender ::= x00B7 | x02D0 | x02D1 | x0387 | x0640 | x0E46 | x0EC6 | x3005 | [x3031-x3035] | [x309D-x309E] | [x30FC-x30FE] c : an unicode character (gunichar) Returns :FALSE if not, TRUE otherwise fo_is_combining () fo_is_combininggboolean fo_is_combining (gunichar c); c : Returns : fo_is_char () fo_is_chargboolean fo_is_char (gunichar c); Check whether the character is allowed by the production [2] Char ::= x9 | xA | xD | [x20-xD7FF] | [xE000-xFFFD] | [x10000-x10FFFF] any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. Also available as a macro IS_CHAR() c : an unicode character (gunichar) Returns :FALSE if not, TRUE otherwise xmlroff-0.6.2/docs/xml/fo-xml-doc.xml0000644000175000017500000003632211156164733014351 00000000000000 FoXmlDoc 3 XMLROFF Library FoXmlDoc libxml2 xmlDoc document Synopsis #define FO_XML_DOC_ERROR GQuark fo_xml_doc_error_quark (void); enum FoXmlDocError; FoXmlDoc; const LibfoVersionInfo* fo_xml_doc_version_info (void); FoXmlDoc* fo_xml_doc_new_from_filename (const gchar *filename, FoLibfoContext *libfo_context, GError **error); FoXmlDoc* fo_xml_doc_new_from_memory (const gchar *buffer, gint size, const gchar *URL, const gchar *encoding, FoLibfoContext *libfo_context, GError **error); FoXmlDoc* fo_xml_doc_new_from_string (const gchar *curr, const gchar *URL, const gchar *encoding, FoLibfoContext *libfo_context, GError **error); FoXmlDoc* fo_xml_doc_ref (FoXmlDoc *fo_xml_doc); void fo_xml_doc_unref (FoXmlDoc *fo_xml_doc); gchar* fo_xml_doc_get_base (FoXmlDoc *fo_xml_doc); void fo_xml_doc_set_base (FoXmlDoc *fo_xml_doc, const gchar *URL); Description Boxed object type for libxml2 xmlDoc document. Details FO_XML_DOC_ERROR FO_XML_DOC_ERROR#define FO_XML_DOC_ERROR fo_xml_doc_error_quark () fo_xml_doc_error_quark () fo_xml_doc_error_quarkGQuark fo_xml_doc_error_quark (void); Get the error quark for FoXmlDoc. If the quark does not yet exist, create it. Returns : Quark associated with FoXmlDoc errors. enum FoXmlDocError FoXmlDocErrortypedef enum { FO_XML_DOC_ERROR_FAILED, FO_XML_DOC_ERROR_FILENAME_PARSE_FAILED, FO_XML_DOC_ERROR_MEMORY_PARSE_FAILED, FO_XML_DOC_ERROR_NO_FILENAME } FoXmlDocError; FoXmlDoc FoXmlDoctypedef struct _FoXmlDoc FoXmlDoc; fo_xml_doc_version_info () fo_xml_doc_version_infoconst LibfoVersionInfo* fo_xml_doc_version_info (void); Returns : fo_xml_doc_new_from_filename () fo_xml_doc_new_from_filenameFoXmlDoc* fo_xml_doc_new_from_filename (const gchar *filename, FoLibfoContext *libfo_context, GError **error); Creates a new FoXmlDoc. filename : File or URL from which to create an FoXmlDoc. libfo_context : FoLibfoContext with parameters affecting parsing. error : Indication of any error that occurred. Returns : the newly created FoXmlDoc. Use fo_xml_doc_unref to free the result. fo_xml_doc_new_from_memory () fo_xml_doc_new_from_memoryFoXmlDoc* fo_xml_doc_new_from_memory (const gchar *buffer, gint size, const gchar *URL, const gchar *encoding, FoLibfoContext *libfo_context, GError **error); Creates a new FoXmlDoc. buffer : Pointer to a char array. size : Size of the array. URL : Base URL to use for the document. encoding : The encoding of the document, or NULL. libfo_context : FoLibfoContext with parameters affecting parsing. error : Indication of any error that occurred. Returns : the newly created FoXmlDoc. Use fo_xml_doc_unref to free the result. fo_xml_doc_new_from_string () fo_xml_doc_new_from_stringFoXmlDoc* fo_xml_doc_new_from_string (const gchar *curr, const gchar *URL, const gchar *encoding, FoLibfoContext *libfo_context, GError **error); Creates a new FoXmlDoc. curr : Pointer to a zero-terminated string. URL : Base URL to use for the document. encoding : The encoding of the document, or NULL. libfo_context : FoLibfoContext with parameters affecting parsing. error : Indication of any error that occurred. Returns : the newly created FoXmlDoc. Use fo_xml_doc_unref to free the result. fo_xml_doc_ref () fo_xml_doc_refFoXmlDoc* fo_xml_doc_ref (FoXmlDoc *fo_xml_doc); Make a copy of a FoXmlDoc. fo_xml_doc : a FoXmlDoc Returns : a newly allocated FoXmlDoc. This value must be freed using #fo_xml_doc_unref(). fo_xml_doc_unref () fo_xml_doc_unrefvoid fo_xml_doc_unref (FoXmlDoc *fo_xml_doc); Unref and possibly free a FoXmlDoc. fo_xml_doc : FoXmlDoc. fo_xml_doc_get_base () fo_xml_doc_get_basegchar* fo_xml_doc_get_base (FoXmlDoc *fo_xml_doc); fo_xml_doc : Returns : fo_xml_doc_set_base () fo_xml_doc_set_basevoid fo_xml_doc_set_base (FoXmlDoc *fo_xml_doc, const gchar *URL); Sets the base URL of fo_xml_doc. fo_xml_doc : FoXmlDoc for which to set base URL : New xml:base URL xmlroff-0.6.2/docs/xml/fo-xml-node.xml0000644000175000017500000001302311156164733014522 00000000000000 FoXmlNode 3 XMLROFF Library FoXmlNode Synopsis #define FO_XML_NODE_ERROR GQuark fo_xml_node_error_quark (void); enum FoXmlNodeError; FoXmlNode; FoXmlNode* fo_xml_node_new (void); FoXmlNode* fo_xml_node_ref (FoXmlNode *fo_xml_node); void fo_xml_node_unref (FoXmlNode *fo_xml_node); Description Details FO_XML_NODE_ERROR FO_XML_NODE_ERROR#define FO_XML_NODE_ERROR fo_xml_node_error_quark () fo_xml_node_error_quark () fo_xml_node_error_quarkGQuark fo_xml_node_error_quark (void); Get the error quark for FoXmlNode. If the quark does not yet exist, create it. Returns : Quark associated with FoXmlNode errors. enum FoXmlNodeError FoXmlNodeErrortypedef enum { FO_XML_NODE_ERROR_FAILED, FO_XML_NODE_ERROR_PARSE_FAILED, FO_XML_NODE_ERROR_NO_FILENAME } FoXmlNodeError; FoXmlNode FoXmlNodetypedef struct _FoXmlNode FoXmlNode; fo_xml_node_new () fo_xml_node_newFoXmlNode* fo_xml_node_new (void); Creates a new FoXmlNode. Returns : the newly created FoXmlNode. Use fo_xml_node_unref to free the result. fo_xml_node_ref () fo_xml_node_refFoXmlNode* fo_xml_node_ref (FoXmlNode *fo_xml_node); Make a copy of a FoXmlNode. fo_xml_node : a FoXmlNode Returns : a newly allocated FoXmlNode. This value must be freed using fo_xml_node_unref(). fo_xml_node_unref () fo_xml_node_unrefvoid fo_xml_node_unref (FoXmlNode *fo_xml_node); Unref and possibly free a FoXmlNode. fo_xml_node : FoXmlNode. xmlroff-0.6.2/docs/xml/fo-xsl-formatter.xml0000644000175000017500000003270011156164733015611 00000000000000 FoXslFormatter 3 XMLROFF Library FoXslFormatter Synopsis #define FO_XSL_FORMATTER_ERROR GQuark fo_xsl_formatter_error_quark (void); enum FoXslFormatterError; FoXslFormatter; FoXslFormatterClass; FoXslFormatter* fo_xsl_formatter_new (void); gboolean fo_xsl_formatter_format (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context, GError **error); gboolean fo_xsl_formatter_draw (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context, GError **error); void fo_xsl_formatter_set_result_tree (FoXslFormatter *fo_xsl_formatter, FoXmlDoc *result_tree); void fo_xsl_formatter_set_fo_doc (FoXslFormatter *fo_xsl_formatter, FoDoc *fo_doc); GObject* fo_xsl_formatter_get_fo_tree (FoXslFormatter *fo_xsl_formatter); GObject* fo_xsl_formatter_get_area_tree (FoXslFormatter *fo_xsl_formatter); Description Details FO_XSL_FORMATTER_ERROR FO_XSL_FORMATTER_ERROR#define FO_XSL_FORMATTER_ERROR fo_xsl_formatter_error_quark () fo_xsl_formatter_error_quark () fo_xsl_formatter_error_quarkGQuark fo_xsl_formatter_error_quark (void); Get the error quark for FoXslFormatter. If the quark does not yet exist, create it. Returns : GQuark associated with FoXslFormatter errors. enum FoXslFormatterError FoXslFormatterErrortypedef enum { FO_XSL_FORMATTER_ERROR_FAILED, FO_XSL_FORMATTER_ERROR_FORMAT_FAILED, FO_XSL_FORMATTER_ERROR_PARSE_FAILED, FO_XSL_FORMATTER_ERROR_NO_RESULT_TREE, FO_XSL_FORMATTER_ERROR_RESULT_TREE_NOT_FO, FO_XSL_FORMATTER_ERROR_NO_AREA_TREE, FO_XSL_FORMATTER_ERROR_NO_FO_DOC, FO_XSL_FORMATTER_ERROR_NOT_FO_DOC, FO_XSL_FORMATTER_ERROR_UNKNOWN_FO /* Unknown FO element type */ } FoXslFormatterError; FoXslFormatter FoXslFormattertypedef struct _FoXslFormatter FoXslFormatter; FoXslFormatterClass FoXslFormatterClasstypedef struct _FoXslFormatterClass FoXslFormatterClass; fo_xsl_formatter_new () fo_xsl_formatter_newFoXslFormatter* fo_xsl_formatter_new (void); Creates a new FoXslFormatter initialized to default value. Returns : The new FoXslFormatter. fo_xsl_formatter_format () fo_xsl_formatter_formatgboolean fo_xsl_formatter_format (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context, GError **error); Formats fo_xsl_formatter. Outputs debug info according to debug mode set in libfo_context. fo_xsl_formatter : FoXslFormatter. libfo_context : FoLibfoContext. error : GError. Returns : Success indication. fo_xsl_formatter_draw () fo_xsl_formatter_drawgboolean fo_xsl_formatter_draw (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context, GError **error); Formats fo_xsl_formatter. fo_xsl_formatter : FoXslFormatter. libfo_context : FoLibfoContext. error : GError. Returns : Success indication. fo_xsl_formatter_set_result_tree () fo_xsl_formatter_set_result_treevoid fo_xsl_formatter_set_result_tree (FoXslFormatter *fo_xsl_formatter, FoXmlDoc *result_tree); Set the result tree in fo_xsl_formatter. Voids the current FO and area trees. fo_xsl_formatter : FoXslFormatter result_tree : Result of previous parse or transformation. fo_xsl_formatter_set_fo_doc () fo_xsl_formatter_set_fo_docvoid fo_xsl_formatter_set_fo_doc (FoXslFormatter *fo_xsl_formatter, FoDoc *fo_doc); Set the FoDoc in fo_xsl_formatter. Voids the current FO and area trees. fo_xsl_formatter : FoXslFormatter fo_doc : FoDoc for use as output of formatter. fo_xsl_formatter_get_fo_tree () fo_xsl_formatter_get_fo_treeGObject* fo_xsl_formatter_get_fo_tree (FoXslFormatter *fo_xsl_formatter); Get the FoFo tree created by fo_xsl_formatter. fo_xsl_formatter : FoXslFormatter Returns : FoFo tree created by fo_xsl_formatter. fo_xsl_formatter_get_area_tree () fo_xsl_formatter_get_area_treeGObject* fo_xsl_formatter_get_area_tree (FoXslFormatter *fo_xsl_formatter); Get the FoArea tree created by fo_xsl_formatter. fo_xsl_formatter : FoXslFormatter Returns : FoArea tree created by fo_xsl_formatter. xmlroff-0.6.2/docs/xml/fo-xslt-transformer.xml0000644000175000017500000001306611156164733016340 00000000000000 FoXsltTransformer 3 XMLROFF Library FoXsltTransformer libxslt XSLT processor Synopsis const LibfoVersionInfo* fo_xslt_transformer_version_info (void); FoXmlDoc* fo_xslt_transformer_do_transform (FoXmlDoc *xml_doc, FoXmlDoc *stylesheet_doc, GError **error); #define FO_XSLT_TRANSFORMER_ERROR enum FoXsltTransformerError; GQuark fo_xslt_transformer_error_quark (void); Description Wrapper for libxslt XSLT processor. Details fo_xslt_transformer_version_info () fo_xslt_transformer_version_infoconst LibfoVersionInfo* fo_xslt_transformer_version_info (void); Returns : fo_xslt_transformer_do_transform () fo_xslt_transformer_do_transformFoXmlDoc* fo_xslt_transformer_do_transform (FoXmlDoc *xml_doc, FoXmlDoc *stylesheet_doc, GError **error); Apply stylesheet_doc to xml_doc and return the result. Frees stylesheet_doc. xml_doc : Input document. stylesheet_doc : Stylesheet document. error : Indication of any error that occurred. Returns : A new result tree that is freed by the caller. FO_XSLT_TRANSFORMER_ERROR FO_XSLT_TRANSFORMER_ERROR#define FO_XSLT_TRANSFORMER_ERROR fo_xslt_transformer_error_quark () enum FoXsltTransformerError FoXsltTransformerErrortypedef enum { FO_XSLT_TRANSFORMER_ERROR_FAILED, FO_XSLT_TRANSFORMER_ERROR_TRANSFORM_FAILED, FO_XSLT_TRANSFORMER_ERROR_NO_STYLESHEET_DOC, FO_XSLT_TRANSFORMER_ERROR_NO_XML_DOC, FO_XSLT_TRANSFORMER_ERROR_PARSE_FAILED } FoXsltTransformerError; fo_xslt_transformer_error_quark () fo_xslt_transformer_error_quarkGQuark fo_xslt_transformer_error_quark (void); Get the error quark for FoXsltTransformer. If the quark does not yet exist, create it. Returns : GQuark associated with FoXsltTransformer errors. xmlroff-0.6.2/docs/xml/libfo-compat.xml0000644000175000017500000001167111156164733014760 00000000000000 LibFO compatibility stylesheet 3 XMLROFF Library LibFO compatibility stylesheet Synopsis #define LIBFO_COMPAT_ERROR GQuark libfo_compat_error_quark (void); enum LibfoCompatError; const gchar* libfo_compat_get_stylesheet (void); FoXmlDoc* libfo_compat_make_compatible (FoXmlDoc *result_tree, FoLibfoContext *libfo_context, GError **error); Description Details LIBFO_COMPAT_ERROR LIBFO_COMPAT_ERROR#define LIBFO_COMPAT_ERROR libfo_compat_error_quark () libfo_compat_error_quark () libfo_compat_error_quarkGQuark libfo_compat_error_quark (void); Returns : enum LibfoCompatError LibfoCompatErrortypedef enum { LIBFO_COMPAT_ERROR_FAILED } LibfoCompatError; libfo_compat_get_stylesheet () libfo_compat_get_stylesheetconst gchar* libfo_compat_get_stylesheet (void); Get the built-in compatibility stylesheet as a single, rather long string. Returns : The built-in stylesheet. libfo_compat_make_compatible () libfo_compat_make_compatibleFoXmlDoc* libfo_compat_make_compatible (FoXmlDoc *result_tree, FoLibfoContext *libfo_context, GError **error); Make result_tree compatible with libfo by applying the built-in copy of the 'libfo-compat.xsl' stylesheet. result_tree : Result of previous parse or transformation. libfo_context : FoLibfoContext. error : Indication of any error that occurred. Returns : A new result tree. xmlroff-0.6.2/docs/xml/libfo-pango.xml0000644000175000017500000001066711156164733014605 00000000000000 Additional Pango attributes needed by LibFO 3 XMLROFF Library Additional Pango attributes needed by LibFO Synopsis LibfoPangoAttrPointer; gpointer libfo_pango_attr_callback_get_callback (const PangoAttribute *attr); PangoAttrType libfo_pango_attr_callback_get_type (void); PangoAttribute* libfo_pango_attr_callback_new (gpointer callback); Description Details LibfoPangoAttrPointer LibfoPangoAttrPointertypedef struct { PangoAttribute attr; gpointer pointer; } LibfoPangoAttrPointer; libfo_pango_attr_callback_get_callback () libfo_pango_attr_callback_get_callbackgpointer libfo_pango_attr_callback_get_callback (const PangoAttribute *attr); Get the callback associated with attr. attr : The 'callback' attribute. Returns : The callback. libfo_pango_attr_callback_get_type () libfo_pango_attr_callback_get_typePangoAttrType libfo_pango_attr_callback_get_type (void); Register the 'callback' PangoAttribute type. Returns : The new PangoAttrType. libfo_pango_attr_callback_new () libfo_pango_attr_callback_newPangoAttribute* libfo_pango_attr_callback_new (gpointer callback); Create a new callback attribute. callback : the callback Returns : the new PangoAttribute. xmlroff-0.6.2/docs/xml/libfo-version.xml0000644000175000017500000004274411156164733015167 00000000000000 libfo-version 3 XMLROFF Library libfo-version libfo version checking Synopsis #define LIBFO_VERSION_MAJOR #define LIBFO_VERSION_MINOR #define LIBFO_VERSION_MICRO #define LIBFO_VERSION_STRING #define LIBFO_VERSION_EXTRA #define LIBFO_PIXELS_PER_INCH #define LIBFO_VERSION_ENCODE (major, minor, micro) #define LIBFO_VERSION #define LIBFO_VERSION_CHECK (major,minor,micro) int libfo_version (void); const char* libfo_version_string (void); const char* libfo_version_check (int required_major, int required_minor, int required_micro); int libfo_pixels_per_inch (void); enum LibfoModuleEnum; LibfoVersionInfo; const LibfoVersionInfo** libfo_version_get_info (void); Description The capital-letter macros defined here can be used to check the version of libfo at compile-time, and to encode libfo versions into integers. The functions can be used to check the version of the linked libfo library at run-time. Details LIBFO_VERSION_MAJOR LIBFO_VERSION_MAJOR#define LIBFO_VERSION_MAJOR 0 The major component of the version of libfo available at compile-time. LIBFO_VERSION_MINOR LIBFO_VERSION_MINOR#define LIBFO_VERSION_MINOR 6 The minor component of the version of libfo available at compile-time. LIBFO_VERSION_MICRO LIBFO_VERSION_MICRO#define LIBFO_VERSION_MICRO 2 The micro component of the version of libfo available at compile-time. LIBFO_VERSION_STRING LIBFO_VERSION_STRING#define LIBFO_VERSION_STRING "0.6.2" A string literal containing the version of libfo available at compile-time. LIBFO_VERSION_EXTRA LIBFO_VERSION_EXTRA#define LIBFO_VERSION_EXTRA "-SVN541" Extra compile-time version information string literal containing, e.g., the Subversion changeset number. LIBFO_PIXELS_PER_INCH LIBFO_PIXELS_PER_INCH#define LIBFO_PIXELS_PER_INCH 96 Pixels per inch for use with graphics without intrinsic size. LIBFO_VERSION_ENCODE() LIBFO_VERSION_ENCODE#define LIBFO_VERSION_ENCODE(major, minor, micro) This macro encodes the given libfo version into an integer. The numbers returned by LIBFO_VERSION and libfo_version() are encoded using this macro. Two encoded version numbers can be compared as integers. major : the major component of the version number minor : the minor component of the version number micro : the micro component of the version number LIBFO_VERSION LIBFO_VERSION#define LIBFO_VERSION The version of libfo available at compile-time, encoded using LIBFO_VERSION_ENCODE(). LIBFO_VERSION_CHECK() LIBFO_VERSION_CHECK#define LIBFO_VERSION_CHECK(major,minor,micro) Checks that the version of libfo available at compile-time is not older than the provided version number. major : the major component of the version number minor : the minor component of the version number micro : the micro component of the version number libfo_version () libfo_versionint libfo_version (void); This is similar to the macro LIBFO_VERSION except that it returns the encoded version of libfo available at run-time, as opposed to the version available at compile-time. A version number can be encoded into an integer using LIBFO_VERSION_ENCODE(). Returns :value: The encoded version of libfo library available at run time. libfo_version_string () libfo_version_stringconst char* libfo_version_string (void); This is similar to the macro LIBFO_VERSION_STRING except that it returns the version of libfo available at run-time, as opposed to the version available at compile-time. Returns :value: A string containing the version of libfo library available at run time. The returned string is owned by libfo and should not be modified or freed. libfo_version_check () libfo_version_checkconst char* libfo_version_check (int required_major, int required_minor, int required_micro); Checks that the libfo library in use is compatible with the given version. Generally you would pass in the constants LIBFO_VERSION_MAJOR, LIBFO_VERSION_MINOR, LIBFO_VERSION_MICRO as the three arguments to this function; that produces a check that the library in use at run-time is compatible with the version of libfo the application or module was compiled against. Compatibility is defined by two things: first the version of the running library is newer than the version required_major.required_minor.required_micro. Second the running library must be binary compatible with the version required_major.required_minor.required_micro (same major version.) For compile-time version checking use LIBFO_VERSION_CHECK(). required_major : the required major version. required_minor : the required minor version. required_micro : the required major version. Returns : NULL if the libfo library is compatible with the given version, or a string describing the version mismatch. The returned string is owned by libfo and should not be modified or freed. libfo_pixels_per_inch () libfo_pixels_per_inchint libfo_pixels_per_inch (void); This is similar to the macro LIBFO_PIXELS_PER_INCH except that it returns the encoded pixels per inch of libfo available at run-time, as opposed to the pixels per inch available at compile-time. Returns :value: The encoded pixels per inch of libfo library available at run time. enum LibfoModuleEnum LibfoModuleEnumtypedef enum { LIBFO_MODULE_INVALID, LIBFO_MODULE_XSL_FORMATTER, LIBFO_MODULE_XSLT_PROCESSOR, LIBFO_MODULE_XML_DOC, LIBFO_MODULE_BACKEND, LIBFO_MODULE_PANGO } LibfoModuleEnum; The type of a module of libfo. LIBFO_MODULE_INVALID Not a module LIBFO_MODULE_XSL_FORMATTER XSL formatter LIBFO_MODULE_XSLT_PROCESSOR XSLT processor LIBFO_MODULE_XML_DOC LIBFO_MODULE_BACKEND Backend LIBFO_MODULE_PANGO Pango LibfoVersionInfo LibfoVersionInfotypedef struct { LibfoModuleEnum module; const gchar *nick; const gchar *name; gint compiled; const gchar *compiled_string; gint runtime; const gchar *runtime_string; } LibfoVersionInfo; Collected version information about a component of libfo. Other than nick, one or more of the parts of the LibfoVersionInfo may be 0 or NULL if the component is unable to report that information. LibfoModuleEnum module; Type of the module const gchar *nick; Nickname const gchar *name; FoObject type name, e.g., FoDocCairo gint compiled; Compiled version number const gchar *compiled_string; Compiled version number string gint runtime; Runtime version number const gchar *runtime_string; Runtime version number string libfo_version_get_info () libfo_version_get_infoconst LibfoVersionInfo** libfo_version_get_info (void); Gets the LibfoVersionInfo of libfo components. Returns : Array of pointers to LibfoVersionInfo. The last item is NULL. xmlroff-0.6.2/docs/xml/table-row.xml0000644000175000017500000043046711156164733014310 00000000000000 Fotable-row 3 XMLROFF Library Fotable-row Synopsis FoTableRow; FoTableRowClass; FoFo* fo_table_row_new (void); FoProperty* fo_table_row_get_background_color (FoFo *fo_fo); void fo_table_row_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_row_get_background_image (FoFo *fo_fo); void fo_table_row_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_row_get_block_progression_dimension (FoFo *fo_fo); void fo_table_row_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_table_row_get_border_after_color (FoFo *fo_fo); void fo_table_row_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_row_get_border_after_precedence (FoFo *fo_fo); void fo_table_row_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty* fo_table_row_get_border_after_style (FoFo *fo_fo); void fo_table_row_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_row_get_border_after_width (FoFo *fo_fo); void fo_table_row_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_row_get_border_before_color (FoFo *fo_fo); void fo_table_row_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_row_get_border_before_precedence (FoFo *fo_fo); void fo_table_row_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty* fo_table_row_get_border_before_style (FoFo *fo_fo); void fo_table_row_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_row_get_border_before_width (FoFo *fo_fo); void fo_table_row_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_row_get_border_bottom_color (FoFo *fo_fo); void fo_table_row_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_row_get_border_bottom_style (FoFo *fo_fo); void fo_table_row_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_row_get_border_bottom_width (FoFo *fo_fo); void fo_table_row_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_row_get_border_end_color (FoFo *fo_fo); void fo_table_row_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_row_get_border_end_precedence (FoFo *fo_fo); void fo_table_row_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty* fo_table_row_get_border_end_style (FoFo *fo_fo); void fo_table_row_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_row_get_border_end_width (FoFo *fo_fo); void fo_table_row_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_row_get_border_left_color (FoFo *fo_fo); void fo_table_row_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_row_get_border_left_style (FoFo *fo_fo); void fo_table_row_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_row_get_border_left_width (FoFo *fo_fo); void fo_table_row_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_row_get_border_right_color (FoFo *fo_fo); void fo_table_row_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_row_get_border_right_style (FoFo *fo_fo); void fo_table_row_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_row_get_border_right_width (FoFo *fo_fo); void fo_table_row_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_row_get_border_start_color (FoFo *fo_fo); void fo_table_row_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_row_get_border_start_precedence (FoFo *fo_fo); void fo_table_row_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty* fo_table_row_get_border_start_style (FoFo *fo_fo); void fo_table_row_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_row_get_border_start_width (FoFo *fo_fo); void fo_table_row_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_row_get_border_top_color (FoFo *fo_fo); void fo_table_row_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_row_get_border_top_style (FoFo *fo_fo); void fo_table_row_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_row_get_border_top_width (FoFo *fo_fo); void fo_table_row_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_row_get_break_after (FoFo *fo_fo); void fo_table_row_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty* fo_table_row_get_break_before (FoFo *fo_fo); void fo_table_row_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty* fo_table_row_get_height (FoFo *fo_fo); void fo_table_row_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_table_row_get_id (FoFo *fo_fo); void fo_table_row_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_row_get_keep_together (FoFo *fo_fo); void fo_table_row_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_table_row_get_keep_together_within_column (FoFo *fo_fo); void fo_table_row_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_table_row_get_keep_together_within_line (FoFo *fo_fo); void fo_table_row_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_table_row_get_keep_together_within_page (FoFo *fo_fo); void fo_table_row_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_table_row_get_keep_with_next (FoFo *fo_fo); void fo_table_row_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_table_row_get_keep_with_next_within_column (FoFo *fo_fo); void fo_table_row_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_table_row_get_keep_with_next_within_line (FoFo *fo_fo); void fo_table_row_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_table_row_get_keep_with_next_within_page (FoFo *fo_fo); void fo_table_row_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_table_row_get_keep_with_previous (FoFo *fo_fo); void fo_table_row_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_table_row_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_table_row_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_table_row_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_table_row_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_table_row_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_table_row_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_table_row_get_padding_after (FoFo *fo_fo); void fo_table_row_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_row_get_padding_before (FoFo *fo_fo); void fo_table_row_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_row_get_padding_bottom (FoFo *fo_fo); void fo_table_row_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_row_get_padding_end (FoFo *fo_fo); void fo_table_row_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_row_get_padding_left (FoFo *fo_fo); void fo_table_row_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_row_get_padding_right (FoFo *fo_fo); void fo_table_row_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_row_get_padding_start (FoFo *fo_fo); void fo_table_row_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_row_get_padding_top (FoFo *fo_fo); void fo_table_row_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_row_get_role (FoFo *fo_fo); void fo_table_row_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_row_get_source_document (FoFo *fo_fo); void fo_table_row_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Description Details <anchor id="FoTableRow" role="struct"/>FoTableRow FoTableRowtypedef struct _FoTableRow FoTableRow; <anchor id="FoTableRowClass" role="struct"/>FoTableRowClass FoTableRowClasstypedef struct _FoTableRowClass FoTableRowClass; <anchor id="fo-table-row-new" role="function"/>fo_table_row_new () fo_table_row_newFoFo* fo_table_row_new (void); Creates a new FoTableRow initialized to default value. Returns : the new FoTableRow. <anchor id="fo-table-row-get-background-color" role="function"/>fo_table_row_get_background_color () fo_table_row_get_background_colorFoProperty* fo_table_row_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value <anchor id="fo-table-row-set-background-color" role="function"/>fo_table_row_set_background_color () fo_table_row_set_background_colorvoid fo_table_row_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value <anchor id="fo-table-row-get-background-image" role="function"/>fo_table_row_get_background_image () fo_table_row_get_background_imageFoProperty* fo_table_row_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value <anchor id="fo-table-row-set-background-image" role="function"/>fo_table_row_set_background_image () fo_table_row_set_background_imagevoid fo_table_row_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value <anchor id="fo-table-row-get-block-progression-dimension" role="function"/>fo_table_row_get_block_progression_dimension () fo_table_row_get_block_progression_dimensionFoProperty* fo_table_row_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "block-progression-dimension" property value <anchor id="fo-table-row-set-block-progression-dimension" role="function"/>fo_table_row_set_block_progression_dimension () fo_table_row_set_block_progression_dimensionvoid fo_table_row_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension fo_fo : The FoFo object new_block_progression_dimension : The new "block-progression-dimension" property value <anchor id="fo-table-row-get-border-after-color" role="function"/>fo_table_row_get_border_after_color () fo_table_row_get_border_after_colorFoProperty* fo_table_row_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value <anchor id="fo-table-row-set-border-after-color" role="function"/>fo_table_row_set_border_after_color () fo_table_row_set_border_after_colorvoid fo_table_row_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value <anchor id="fo-table-row-get-border-after-precedence" role="function"/>fo_table_row_get_border_after_precedence () fo_table_row_get_border_after_precedenceFoProperty* fo_table_row_get_border_after_precedence (FoFo *fo_fo); Gets the "border-after-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-precedence" property value <anchor id="fo-table-row-set-border-after-precedence" role="function"/>fo_table_row_set_border_after_precedence () fo_table_row_set_border_after_precedencevoid fo_table_row_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence fo_fo : The FoFo object new_border_after_precedence : The new "border-after-precedence" property value <anchor id="fo-table-row-get-border-after-style" role="function"/>fo_table_row_get_border_after_style () fo_table_row_get_border_after_styleFoProperty* fo_table_row_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value <anchor id="fo-table-row-set-border-after-style" role="function"/>fo_table_row_set_border_after_style () fo_table_row_set_border_after_stylevoid fo_table_row_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value <anchor id="fo-table-row-get-border-after-width" role="function"/>fo_table_row_get_border_after_width () fo_table_row_get_border_after_widthFoProperty* fo_table_row_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value <anchor id="fo-table-row-set-border-after-width" role="function"/>fo_table_row_set_border_after_width () fo_table_row_set_border_after_widthvoid fo_table_row_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value <anchor id="fo-table-row-get-border-before-color" role="function"/>fo_table_row_get_border_before_color () fo_table_row_get_border_before_colorFoProperty* fo_table_row_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value <anchor id="fo-table-row-set-border-before-color" role="function"/>fo_table_row_set_border_before_color () fo_table_row_set_border_before_colorvoid fo_table_row_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value <anchor id="fo-table-row-get-border-before-precedence" role="function"/>fo_table_row_get_border_before_precedence () fo_table_row_get_border_before_precedenceFoProperty* fo_table_row_get_border_before_precedence (FoFo *fo_fo); Gets the "border-before-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-precedence" property value <anchor id="fo-table-row-set-border-before-precedence" role="function"/>fo_table_row_set_border_before_precedence () fo_table_row_set_border_before_precedencevoid fo_table_row_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence fo_fo : The FoFo object new_border_before_precedence : The new "border-before-precedence" property value <anchor id="fo-table-row-get-border-before-style" role="function"/>fo_table_row_get_border_before_style () fo_table_row_get_border_before_styleFoProperty* fo_table_row_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value <anchor id="fo-table-row-set-border-before-style" role="function"/>fo_table_row_set_border_before_style () fo_table_row_set_border_before_stylevoid fo_table_row_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value <anchor id="fo-table-row-get-border-before-width" role="function"/>fo_table_row_get_border_before_width () fo_table_row_get_border_before_widthFoProperty* fo_table_row_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value <anchor id="fo-table-row-set-border-before-width" role="function"/>fo_table_row_set_border_before_width () fo_table_row_set_border_before_widthvoid fo_table_row_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value <anchor id="fo-table-row-get-border-bottom-color" role="function"/>fo_table_row_get_border_bottom_color () fo_table_row_get_border_bottom_colorFoProperty* fo_table_row_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value <anchor id="fo-table-row-set-border-bottom-color" role="function"/>fo_table_row_set_border_bottom_color () fo_table_row_set_border_bottom_colorvoid fo_table_row_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value <anchor id="fo-table-row-get-border-bottom-style" role="function"/>fo_table_row_get_border_bottom_style () fo_table_row_get_border_bottom_styleFoProperty* fo_table_row_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value <anchor id="fo-table-row-set-border-bottom-style" role="function"/>fo_table_row_set_border_bottom_style () fo_table_row_set_border_bottom_stylevoid fo_table_row_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value <anchor id="fo-table-row-get-border-bottom-width" role="function"/>fo_table_row_get_border_bottom_width () fo_table_row_get_border_bottom_widthFoProperty* fo_table_row_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value <anchor id="fo-table-row-set-border-bottom-width" role="function"/>fo_table_row_set_border_bottom_width () fo_table_row_set_border_bottom_widthvoid fo_table_row_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value <anchor id="fo-table-row-get-border-end-color" role="function"/>fo_table_row_get_border_end_color () fo_table_row_get_border_end_colorFoProperty* fo_table_row_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value <anchor id="fo-table-row-set-border-end-color" role="function"/>fo_table_row_set_border_end_color () fo_table_row_set_border_end_colorvoid fo_table_row_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value <anchor id="fo-table-row-get-border-end-precedence" role="function"/>fo_table_row_get_border_end_precedence () fo_table_row_get_border_end_precedenceFoProperty* fo_table_row_get_border_end_precedence (FoFo *fo_fo); Gets the "border-end-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-precedence" property value <anchor id="fo-table-row-set-border-end-precedence" role="function"/>fo_table_row_set_border_end_precedence () fo_table_row_set_border_end_precedencevoid fo_table_row_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence fo_fo : The FoFo object new_border_end_precedence : The new "border-end-precedence" property value <anchor id="fo-table-row-get-border-end-style" role="function"/>fo_table_row_get_border_end_style () fo_table_row_get_border_end_styleFoProperty* fo_table_row_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value <anchor id="fo-table-row-set-border-end-style" role="function"/>fo_table_row_set_border_end_style () fo_table_row_set_border_end_stylevoid fo_table_row_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value <anchor id="fo-table-row-get-border-end-width" role="function"/>fo_table_row_get_border_end_width () fo_table_row_get_border_end_widthFoProperty* fo_table_row_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value <anchor id="fo-table-row-set-border-end-width" role="function"/>fo_table_row_set_border_end_width () fo_table_row_set_border_end_widthvoid fo_table_row_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value <anchor id="fo-table-row-get-border-left-color" role="function"/>fo_table_row_get_border_left_color () fo_table_row_get_border_left_colorFoProperty* fo_table_row_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value <anchor id="fo-table-row-set-border-left-color" role="function"/>fo_table_row_set_border_left_color () fo_table_row_set_border_left_colorvoid fo_table_row_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value <anchor id="fo-table-row-get-border-left-style" role="function"/>fo_table_row_get_border_left_style () fo_table_row_get_border_left_styleFoProperty* fo_table_row_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value <anchor id="fo-table-row-set-border-left-style" role="function"/>fo_table_row_set_border_left_style () fo_table_row_set_border_left_stylevoid fo_table_row_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value <anchor id="fo-table-row-get-border-left-width" role="function"/>fo_table_row_get_border_left_width () fo_table_row_get_border_left_widthFoProperty* fo_table_row_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value <anchor id="fo-table-row-set-border-left-width" role="function"/>fo_table_row_set_border_left_width () fo_table_row_set_border_left_widthvoid fo_table_row_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value <anchor id="fo-table-row-get-border-right-color" role="function"/>fo_table_row_get_border_right_color () fo_table_row_get_border_right_colorFoProperty* fo_table_row_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value <anchor id="fo-table-row-set-border-right-color" role="function"/>fo_table_row_set_border_right_color () fo_table_row_set_border_right_colorvoid fo_table_row_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value <anchor id="fo-table-row-get-border-right-style" role="function"/>fo_table_row_get_border_right_style () fo_table_row_get_border_right_styleFoProperty* fo_table_row_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value <anchor id="fo-table-row-set-border-right-style" role="function"/>fo_table_row_set_border_right_style () fo_table_row_set_border_right_stylevoid fo_table_row_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value <anchor id="fo-table-row-get-border-right-width" role="function"/>fo_table_row_get_border_right_width () fo_table_row_get_border_right_widthFoProperty* fo_table_row_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value <anchor id="fo-table-row-set-border-right-width" role="function"/>fo_table_row_set_border_right_width () fo_table_row_set_border_right_widthvoid fo_table_row_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value <anchor id="fo-table-row-get-border-start-color" role="function"/>fo_table_row_get_border_start_color () fo_table_row_get_border_start_colorFoProperty* fo_table_row_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value <anchor id="fo-table-row-set-border-start-color" role="function"/>fo_table_row_set_border_start_color () fo_table_row_set_border_start_colorvoid fo_table_row_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value <anchor id="fo-table-row-get-border-start-precedence" role="function"/>fo_table_row_get_border_start_precedence () fo_table_row_get_border_start_precedenceFoProperty* fo_table_row_get_border_start_precedence (FoFo *fo_fo); Gets the "border-start-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-precedence" property value <anchor id="fo-table-row-set-border-start-precedence" role="function"/>fo_table_row_set_border_start_precedence () fo_table_row_set_border_start_precedencevoid fo_table_row_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence fo_fo : The FoFo object new_border_start_precedence : The new "border-start-precedence" property value <anchor id="fo-table-row-get-border-start-style" role="function"/>fo_table_row_get_border_start_style () fo_table_row_get_border_start_styleFoProperty* fo_table_row_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value <anchor id="fo-table-row-set-border-start-style" role="function"/>fo_table_row_set_border_start_style () fo_table_row_set_border_start_stylevoid fo_table_row_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value <anchor id="fo-table-row-get-border-start-width" role="function"/>fo_table_row_get_border_start_width () fo_table_row_get_border_start_widthFoProperty* fo_table_row_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value <anchor id="fo-table-row-set-border-start-width" role="function"/>fo_table_row_set_border_start_width () fo_table_row_set_border_start_widthvoid fo_table_row_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value <anchor id="fo-table-row-get-border-top-color" role="function"/>fo_table_row_get_border_top_color () fo_table_row_get_border_top_colorFoProperty* fo_table_row_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value <anchor id="fo-table-row-set-border-top-color" role="function"/>fo_table_row_set_border_top_color () fo_table_row_set_border_top_colorvoid fo_table_row_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value <anchor id="fo-table-row-get-border-top-style" role="function"/>fo_table_row_get_border_top_style () fo_table_row_get_border_top_styleFoProperty* fo_table_row_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value <anchor id="fo-table-row-set-border-top-style" role="function"/>fo_table_row_set_border_top_style () fo_table_row_set_border_top_stylevoid fo_table_row_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value <anchor id="fo-table-row-get-border-top-width" role="function"/>fo_table_row_get_border_top_width () fo_table_row_get_border_top_widthFoProperty* fo_table_row_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value <anchor id="fo-table-row-set-border-top-width" role="function"/>fo_table_row_set_border_top_width () fo_table_row_set_border_top_widthvoid fo_table_row_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value <anchor id="fo-table-row-get-break-after" role="function"/>fo_table_row_get_break_after () fo_table_row_get_break_afterFoProperty* fo_table_row_get_break_after (FoFo *fo_fo); Gets the "break-after" property of fo_fo fo_fo : The FoFo object Returns : The "break-after" property value <anchor id="fo-table-row-set-break-after" role="function"/>fo_table_row_set_break_after () fo_table_row_set_break_aftervoid fo_table_row_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); Sets the "break-after" property of fo_fo to new_break_after fo_fo : The FoFo object new_break_after : The new "break-after" property value <anchor id="fo-table-row-get-break-before" role="function"/>fo_table_row_get_break_before () fo_table_row_get_break_beforeFoProperty* fo_table_row_get_break_before (FoFo *fo_fo); Gets the "break-before" property of fo_fo fo_fo : The FoFo object Returns : The "break-before" property value <anchor id="fo-table-row-set-break-before" role="function"/>fo_table_row_set_break_before () fo_table_row_set_break_beforevoid fo_table_row_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); Sets the "break-before" property of fo_fo to new_break_before fo_fo : The FoFo object new_break_before : The new "break-before" property value <anchor id="fo-table-row-get-height" role="function"/>fo_table_row_get_height () fo_table_row_get_heightFoProperty* fo_table_row_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo fo_fo : The FoFo object Returns : The "height" property value <anchor id="fo-table-row-set-height" role="function"/>fo_table_row_set_height () fo_table_row_set_heightvoid fo_table_row_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height fo_fo : The FoFo object new_height : The new "height" property value <anchor id="fo-table-row-get-id" role="function"/>fo_table_row_get_id () fo_table_row_get_idFoProperty* fo_table_row_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value <anchor id="fo-table-row-set-id" role="function"/>fo_table_row_set_id () fo_table_row_set_idvoid fo_table_row_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value <anchor id="fo-table-row-get-keep-together" role="function"/>fo_table_row_get_keep_together () fo_table_row_get_keep_togetherFoProperty* fo_table_row_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value <anchor id="fo-table-row-set-keep-together" role="function"/>fo_table_row_set_keep_together () fo_table_row_set_keep_togethervoid fo_table_row_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value <anchor id="fo-table-row-get-keep-together-within-column" role="function"/>fo_table_row_get_keep_together_within_column () fo_table_row_get_keep_together_within_columnFoProperty* fo_table_row_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value <anchor id="fo-table-row-set-keep-together-within-column" role="function"/>fo_table_row_set_keep_together_within_column () fo_table_row_set_keep_together_within_columnvoid fo_table_row_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value <anchor id="fo-table-row-get-keep-together-within-line" role="function"/>fo_table_row_get_keep_together_within_line () fo_table_row_get_keep_together_within_lineFoProperty* fo_table_row_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value <anchor id="fo-table-row-set-keep-together-within-line" role="function"/>fo_table_row_set_keep_together_within_line () fo_table_row_set_keep_together_within_linevoid fo_table_row_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value <anchor id="fo-table-row-get-keep-together-within-page" role="function"/>fo_table_row_get_keep_together_within_page () fo_table_row_get_keep_together_within_pageFoProperty* fo_table_row_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value <anchor id="fo-table-row-set-keep-together-within-page" role="function"/>fo_table_row_set_keep_together_within_page () fo_table_row_set_keep_together_within_pagevoid fo_table_row_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value <anchor id="fo-table-row-get-keep-with-next" role="function"/>fo_table_row_get_keep_with_next () fo_table_row_get_keep_with_nextFoProperty* fo_table_row_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value <anchor id="fo-table-row-set-keep-with-next" role="function"/>fo_table_row_set_keep_with_next () fo_table_row_set_keep_with_nextvoid fo_table_row_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value <anchor id="fo-table-row-get-keep-with-next-within-column" role="function"/>fo_table_row_get_keep_with_next_within_column () fo_table_row_get_keep_with_next_within_columnFoProperty* fo_table_row_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value <anchor id="fo-table-row-set-keep-with-next-within-column" role="function"/>fo_table_row_set_keep_with_next_within_column () fo_table_row_set_keep_with_next_within_columnvoid fo_table_row_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value <anchor id="fo-table-row-get-keep-with-next-within-line" role="function"/>fo_table_row_get_keep_with_next_within_line () fo_table_row_get_keep_with_next_within_lineFoProperty* fo_table_row_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value <anchor id="fo-table-row-set-keep-with-next-within-line" role="function"/>fo_table_row_set_keep_with_next_within_line () fo_table_row_set_keep_with_next_within_linevoid fo_table_row_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value <anchor id="fo-table-row-get-keep-with-next-within-page" role="function"/>fo_table_row_get_keep_with_next_within_page () fo_table_row_get_keep_with_next_within_pageFoProperty* fo_table_row_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value <anchor id="fo-table-row-set-keep-with-next-within-page" role="function"/>fo_table_row_set_keep_with_next_within_page () fo_table_row_set_keep_with_next_within_pagevoid fo_table_row_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value <anchor id="fo-table-row-get-keep-with-previous" role="function"/>fo_table_row_get_keep_with_previous () fo_table_row_get_keep_with_previousFoProperty* fo_table_row_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value <anchor id="fo-table-row-set-keep-with-previous" role="function"/>fo_table_row_set_keep_with_previous () fo_table_row_set_keep_with_previousvoid fo_table_row_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value <anchor id="fo-table-row-get-keep-with-previous-within-column" role="function"/>fo_table_row_get_keep_with_previous_within_column () fo_table_row_get_keep_with_previous_within_columnFoProperty* fo_table_row_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value <anchor id="fo-table-row-set-keep-with-previous-within-column" role="function"/>fo_table_row_set_keep_with_previous_within_column () fo_table_row_set_keep_with_previous_within_columnvoid fo_table_row_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value <anchor id="fo-table-row-get-keep-with-previous-within-line" role="function"/>fo_table_row_get_keep_with_previous_within_line () fo_table_row_get_keep_with_previous_within_lineFoProperty* fo_table_row_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value <anchor id="fo-table-row-set-keep-with-previous-within-line" role="function"/>fo_table_row_set_keep_with_previous_within_line () fo_table_row_set_keep_with_previous_within_linevoid fo_table_row_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value <anchor id="fo-table-row-get-keep-with-previous-within-page" role="function"/>fo_table_row_get_keep_with_previous_within_page () fo_table_row_get_keep_with_previous_within_pageFoProperty* fo_table_row_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value <anchor id="fo-table-row-set-keep-with-previous-within-page" role="function"/>fo_table_row_set_keep_with_previous_within_page () fo_table_row_set_keep_with_previous_within_pagevoid fo_table_row_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value <anchor id="fo-table-row-get-padding-after" role="function"/>fo_table_row_get_padding_after () fo_table_row_get_padding_afterFoProperty* fo_table_row_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value <anchor id="fo-table-row-set-padding-after" role="function"/>fo_table_row_set_padding_after () fo_table_row_set_padding_aftervoid fo_table_row_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value <anchor id="fo-table-row-get-padding-before" role="function"/>fo_table_row_get_padding_before () fo_table_row_get_padding_beforeFoProperty* fo_table_row_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value <anchor id="fo-table-row-set-padding-before" role="function"/>fo_table_row_set_padding_before () fo_table_row_set_padding_beforevoid fo_table_row_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value <anchor id="fo-table-row-get-padding-bottom" role="function"/>fo_table_row_get_padding_bottom () fo_table_row_get_padding_bottomFoProperty* fo_table_row_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value <anchor id="fo-table-row-set-padding-bottom" role="function"/>fo_table_row_set_padding_bottom () fo_table_row_set_padding_bottomvoid fo_table_row_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value <anchor id="fo-table-row-get-padding-end" role="function"/>fo_table_row_get_padding_end () fo_table_row_get_padding_endFoProperty* fo_table_row_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value <anchor id="fo-table-row-set-padding-end" role="function"/>fo_table_row_set_padding_end () fo_table_row_set_padding_endvoid fo_table_row_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value <anchor id="fo-table-row-get-padding-left" role="function"/>fo_table_row_get_padding_left () fo_table_row_get_padding_leftFoProperty* fo_table_row_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value <anchor id="fo-table-row-set-padding-left" role="function"/>fo_table_row_set_padding_left () fo_table_row_set_padding_leftvoid fo_table_row_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value <anchor id="fo-table-row-get-padding-right" role="function"/>fo_table_row_get_padding_right () fo_table_row_get_padding_rightFoProperty* fo_table_row_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value <anchor id="fo-table-row-set-padding-right" role="function"/>fo_table_row_set_padding_right () fo_table_row_set_padding_rightvoid fo_table_row_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value <anchor id="fo-table-row-get-padding-start" role="function"/>fo_table_row_get_padding_start () fo_table_row_get_padding_startFoProperty* fo_table_row_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value <anchor id="fo-table-row-set-padding-start" role="function"/>fo_table_row_set_padding_start () fo_table_row_set_padding_startvoid fo_table_row_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value <anchor id="fo-table-row-get-padding-top" role="function"/>fo_table_row_get_padding_top () fo_table_row_get_padding_topFoProperty* fo_table_row_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value <anchor id="fo-table-row-set-padding-top" role="function"/>fo_table_row_set_padding_top () fo_table_row_set_padding_topvoid fo_table_row_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value <anchor id="fo-table-row-get-role" role="function"/>fo_table_row_get_role () fo_table_row_get_roleFoProperty* fo_table_row_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value <anchor id="fo-table-row-set-role" role="function"/>fo_table_row_set_role () fo_table_row_set_rolevoid fo_table_row_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value <anchor id="fo-table-row-get-source-document" role="function"/>fo_table_row_get_source_document () fo_table_row_get_source_documentFoProperty* fo_table_row_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value <anchor id="fo-table-row-set-source-document" role="function"/>fo_table_row_set_source_document () fo_table_row_set_source_documentvoid fo_table_row_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value xmlroff-0.6.2/docs/xml/table.xml0000644000175000017500000055746211156164733013510 00000000000000 table 3 XMLROFF Library table Synopsis enum FoEnumTableLayoutMethod; #define FO_TYPE_ENUM_TABLE_LAYOUT_METHOD #define FO_TABLE_ERROR GQuark fo_table_error_quark (void); enum FoTableError; FoTable; FoTableClass; GType fo_table_get_type (void); FoFo* fo_table_new (void); gboolean fo_table_validate_content_table_row_table_cell (FoFo *fo, GError **error); void fo_table_resolve_columns (FoFo *fo, GError **error); void fo_table_span_info_start_row (FoFo *fo, GError **error); gint fo_table_span_info_resolve_column_number (FoFo *fo, FoFo *table_cell, gint column_number, gint columns_spanned, gint rows_spanned, GError **error); void fo_table_span_info_debug_dump (FoFo *fo, gint depth); void fo_table_add_column (FoFo *fo, gint column_number, gint number_columns_spanned, FoFo *column); FoFo* fo_table_get_column (FoFo *fo, gint column_number, gint number_columns_spanned); gint fo_table_get_max_column_number (FoFo *fo); FoEnumTableLayoutMethod fo_table_get_layout_method (FoFo *fo_fo); gdouble fo_table_get_proportional_unit (FoFo *fo); FoProperty* fo_table_get_background_color (FoFo *fo_fo); void fo_table_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_table_get_background_image (FoFo *fo_fo); void fo_table_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_table_get_block_progression_dimension (FoFo *fo_fo); void fo_table_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); FoProperty* fo_table_get_border_after_color (FoFo *fo_fo); void fo_table_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_table_get_border_after_precedence (FoFo *fo_fo); void fo_table_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); FoProperty* fo_table_get_border_after_style (FoFo *fo_fo); void fo_table_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_table_get_border_after_width (FoFo *fo_fo); void fo_table_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_table_get_border_before_color (FoFo *fo_fo); void fo_table_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_table_get_border_before_precedence (FoFo *fo_fo); void fo_table_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); FoProperty* fo_table_get_border_before_style (FoFo *fo_fo); void fo_table_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_table_get_border_before_width (FoFo *fo_fo); void fo_table_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_table_get_border_bottom_color (FoFo *fo_fo); void fo_table_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_table_get_border_bottom_style (FoFo *fo_fo); void fo_table_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_table_get_border_bottom_width (FoFo *fo_fo); void fo_table_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_table_get_border_collapse (FoFo *fo_fo); void fo_table_set_border_collapse (FoFo *fo_fo, FoProperty *new_border_collapse); FoProperty* fo_table_get_border_end_color (FoFo *fo_fo); void fo_table_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_table_get_border_end_precedence (FoFo *fo_fo); void fo_table_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); FoProperty* fo_table_get_border_end_style (FoFo *fo_fo); void fo_table_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_table_get_border_end_width (FoFo *fo_fo); void fo_table_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_table_get_border_left_color (FoFo *fo_fo); void fo_table_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_table_get_border_left_style (FoFo *fo_fo); void fo_table_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_table_get_border_left_width (FoFo *fo_fo); void fo_table_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_table_get_border_right_color (FoFo *fo_fo); void fo_table_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_table_get_border_right_style (FoFo *fo_fo); void fo_table_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_table_get_border_right_width (FoFo *fo_fo); void fo_table_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_table_get_border_separation (FoFo *fo_fo); void fo_table_set_border_separation (FoFo *fo_fo, FoProperty *new_border_separation); FoProperty* fo_table_get_border_start_color (FoFo *fo_fo); void fo_table_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_table_get_border_start_precedence (FoFo *fo_fo); void fo_table_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); FoProperty* fo_table_get_border_start_style (FoFo *fo_fo); void fo_table_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_table_get_border_start_width (FoFo *fo_fo); void fo_table_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_table_get_border_top_color (FoFo *fo_fo); void fo_table_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_table_get_border_top_style (FoFo *fo_fo); void fo_table_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_table_get_border_top_width (FoFo *fo_fo); void fo_table_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_table_get_break_after (FoFo *fo_fo); void fo_table_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); FoProperty* fo_table_get_break_before (FoFo *fo_fo); void fo_table_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); FoProperty* fo_table_get_end_indent (FoFo *fo_fo); void fo_table_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); FoProperty* fo_table_get_height (FoFo *fo_fo); void fo_table_set_height (FoFo *fo_fo, FoProperty *new_height); FoProperty* fo_table_get_id (FoFo *fo_fo); void fo_table_set_id (FoFo *fo_fo, FoProperty *new_id); FoProperty* fo_table_get_inline_progression_dimension (FoFo *fo_fo); void fo_table_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); FoProperty* fo_table_get_keep_together (FoFo *fo_fo); void fo_table_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); FoProperty* fo_table_get_keep_together_within_column (FoFo *fo_fo); void fo_table_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); FoProperty* fo_table_get_keep_together_within_line (FoFo *fo_fo); void fo_table_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); FoProperty* fo_table_get_keep_together_within_page (FoFo *fo_fo); void fo_table_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); FoProperty* fo_table_get_keep_with_next (FoFo *fo_fo); void fo_table_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); FoProperty* fo_table_get_keep_with_next_within_column (FoFo *fo_fo); void fo_table_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); FoProperty* fo_table_get_keep_with_next_within_line (FoFo *fo_fo); void fo_table_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); FoProperty* fo_table_get_keep_with_next_within_page (FoFo *fo_fo); void fo_table_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); FoProperty* fo_table_get_keep_with_previous (FoFo *fo_fo); void fo_table_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); FoProperty* fo_table_get_keep_with_previous_within_column (FoFo *fo_fo); void fo_table_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); FoProperty* fo_table_get_keep_with_previous_within_line (FoFo *fo_fo); void fo_table_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); FoProperty* fo_table_get_keep_with_previous_within_page (FoFo *fo_fo); void fo_table_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); FoProperty* fo_table_get_margin_bottom (FoFo *fo_fo); void fo_table_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); FoProperty* fo_table_get_margin_left (FoFo *fo_fo); void fo_table_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); FoProperty* fo_table_get_margin_right (FoFo *fo_fo); void fo_table_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); FoProperty* fo_table_get_margin_top (FoFo *fo_fo); void fo_table_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); FoProperty* fo_table_get_padding_after (FoFo *fo_fo); void fo_table_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_table_get_padding_before (FoFo *fo_fo); void fo_table_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_table_get_padding_bottom (FoFo *fo_fo); void fo_table_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_table_get_padding_end (FoFo *fo_fo); void fo_table_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_table_get_padding_left (FoFo *fo_fo); void fo_table_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_table_get_padding_right (FoFo *fo_fo); void fo_table_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_table_get_padding_start (FoFo *fo_fo); void fo_table_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_table_get_padding_top (FoFo *fo_fo); void fo_table_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_table_get_role (FoFo *fo_fo); void fo_table_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_table_get_source_document (FoFo *fo_fo); void fo_table_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_table_get_space_after (FoFo *fo_fo); void fo_table_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); FoProperty* fo_table_get_space_before (FoFo *fo_fo); void fo_table_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); FoProperty* fo_table_get_start_indent (FoFo *fo_fo); void fo_table_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); FoProperty* fo_table_get_table_layout (FoFo *fo_fo); void fo_table_set_table_layout (FoFo *fo_fo, FoProperty *new_table_layout); FoProperty* fo_table_get_width (FoFo *fo_fo); void fo_table_set_width (FoFo *fo_fo, FoProperty *new_width); FoProperty* fo_table_get_writing_mode (FoFo *fo_fo); void fo_table_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Description Details <anchor id="FoEnumTableLayoutMethod" role="enum"/>enum FoEnumTableLayoutMethod FoEnumTableLayoutMethodtypedef enum { FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN, FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC, FO_ENUM_TABLE_LAYOUT_METHOD_FIXED } FoEnumTableLayoutMethod; <anchor id="FO-TYPE-ENUM-TABLE-LAYOUT-METHOD:CAPS" role="macro"/>FO_TYPE_ENUM_TABLE_LAYOUT_METHOD FO_TYPE_ENUM_TABLE_LAYOUT_METHOD#define FO_TYPE_ENUM_TABLE_LAYOUT_METHOD fo_enum_table_layout_method_get_type () <anchor id="FO-TABLE-ERROR:CAPS" role="macro"/>FO_TABLE_ERROR FO_TABLE_ERROR#define FO_TABLE_ERROR fo_table_error_quark () <anchor id="fo-table-error-quark" role="function"/>fo_table_error_quark () fo_table_error_quarkGQuark fo_table_error_quark (void); Create and return the GQuark for use as the error domain for table. Returns : Error domain GQuark. <anchor id="FoTableError" role="enum"/>enum FoTableError FoTableErrortypedef enum { FO_TABLE_ERROR_FAILED, /* Generic error code */ FO_TABLE_ERROR_WARNING, /* Non-fatal error */ FO_TABLE_ERROR_LAYOUT_METHOD_UNKNOWN, FO_TABLE_ERROR_FIXED_NO_COLUMN, FO_TABLE_ERROR_MISSING_COLUMN, FO_TABLE_ERROR_WIDTH_NOT_LENGTH, FO_TABLE_ERROR_NO_AREA, FO_TABLE_ERROR_FIXED_BUT_AUTO, FO_TABLE_ERROR_AUTOMATIC_NOT_SUPPORTED, FO_TABLE_ERROR_SPANNING_CELLS_FILL_ROW, FO_TABLE_ERROR_LAST } FoTableError; <anchor id="FoTable" role="struct"/>FoTable FoTabletypedef struct _FoTable FoTable; <anchor id="FoTableClass" role="struct"/>FoTableClass FoTableClasstypedef struct _FoTableClass FoTableClass; <anchor id="fo-table-get-type" role="function"/>fo_table_get_type () fo_table_get_typeGType fo_table_get_type (void); Register the FoTable object type. Returns : GType value of the FoTable object type. <anchor id="fo-table-new" role="function"/>fo_table_new () fo_table_newFoFo* fo_table_new (void); Creates a new FoTable initialized to default value. Returns : the new FoTable. <anchor id="fo-table-validate-content-table-row-table-cell" role="function"/>fo_table_validate_content_table_row_table_cell () fo_table_validate_content_table_row_table_cellgboolean fo_table_validate_content_table_row_table_cell (FoFo *fo, GError **error); Validate the content model, i.e., the structure, of the object. Return value matches GNodeTraversFunc model: FALSE indicates content model is correct, or TRUE indicates an error. When used with fo_node_traverse(), returning TRUE stops the traversal. This is used by table-header, table-footer, and table-body. Content model: (table-row+ | table-cell+) fo : FoRoot object to validate. error : GError indicating error condition, if any. Returns : FALSE if content model okay, TRUE if not <anchor id="fo-table-resolve-columns" role="function"/>fo_table_resolve_columns () fo_table_resolve_columnsvoid fo_table_resolve_columns (FoFo *fo, GError **error); Do housekeeping for table-column FOs now that all FoTableColumn objects have been created. fo : FoTable for which to resolve columns error : GError <anchor id="fo-table-span-info-start-row" role="function"/>fo_table_span_info_start_row () fo_table_span_info_start_rowvoid fo_table_span_info_start_row (FoFo *fo, GError **error); Reset span_info of fo at the start of a row. fo : FoTable for which to reset span_info error : GError <anchor id="fo-table-span-info-resolve-column-number" role="function"/>fo_table_span_info_resolve_column_number () fo_table_span_info_resolve_column_numbergint fo_table_span_info_resolve_column_number (FoFo *fo, FoFo *table_cell, gint column_number, gint columns_spanned, gint rows_spanned, GError **error); Determine the column-number for table_cell. fo : The FoTable containing table_cell. table_cell : The FoTableCell for which to assign a column number. column_number : Requested column number, or 0 if not specified. columns_spanned : Number of columns spanned by table_cell. rows_spanned : Number of rows spanned by table_cell. error : GError indicating any error condition that occurred. Returns : The column-number to assign to table_cell. <anchor id="fo-table-span-info-debug-dump" role="function"/>fo_table_span_info_debug_dump () fo_table_span_info_debug_dumpvoid fo_table_span_info_debug_dump (FoFo *fo, gint depth); Dump info about the spans used in the table. fo : FoTable for which to dump span info. depth : Relative indent to add to output. <anchor id="fo-table-add-column" role="function"/>fo_table_add_column () fo_table_add_columnvoid fo_table_add_column (FoFo *fo, gint column_number, gint number_columns_spanned, FoFo *column); Add a table-column object to the column-number+number-columns-spanned hash maintained by table. fo : FoTable column_number : Column number of column number_columns_spanned : Number of columns spanned by column column : FoTableColumn to add to hash <anchor id="fo-table-get-column" role="function"/>fo_table_get_column () fo_table_get_columnFoFo* fo_table_get_column (FoFo *fo, gint column_number, gint number_columns_spanned); Get the column for a column number and number columns spanned combination. fo : FoTable that has hash of columns column_number : Column number to match number_columns_spanned : Number of columns spanned on which to map Returns : FoTableColumn object <anchor id="fo-table-get-max-column-number" role="function"/>fo_table_get_max_column_number () fo_table_get_max_column_numbergint fo_table_get_max_column_number (FoFo *fo); Get highest column number of columns registered with table using fo_table_add_column. fo : FoTable that has hash of columns Returns : Highest column number registered using fo_table_add_column <anchor id="fo-table-get-layout-method" role="function"/>fo_table_get_layout_method () fo_table_get_layout_methodFoEnumTableLayoutMethod fo_table_get_layout_method (FoFo *fo_fo); Gets the layout-method property of table fo_fo : The FoFo object Returns : The "layout-method" property value <anchor id="fo-table-get-proportional-unit" role="function"/>fo_table_get_proportional_unit () fo_table_get_proportional_unitgdouble fo_table_get_proportional_unit (FoFo *fo); Get the length in points of one proportional unit for fo. fo : FoTable for which to get proportional unit. Returns : The length in points of one proportional unit. <anchor id="fo-table-get-background-color" role="function"/>fo_table_get_background_color () fo_table_get_background_colorFoProperty* fo_table_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value <anchor id="fo-table-set-background-color" role="function"/>fo_table_set_background_color () fo_table_set_background_colorvoid fo_table_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value <anchor id="fo-table-get-background-image" role="function"/>fo_table_get_background_image () fo_table_get_background_imageFoProperty* fo_table_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value <anchor id="fo-table-set-background-image" role="function"/>fo_table_set_background_image () fo_table_set_background_imagevoid fo_table_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value <anchor id="fo-table-get-block-progression-dimension" role="function"/>fo_table_get_block_progression_dimension () fo_table_get_block_progression_dimensionFoProperty* fo_table_get_block_progression_dimension (FoFo *fo_fo); Gets the "block-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "block-progression-dimension" property value <anchor id="fo-table-set-block-progression-dimension" role="function"/>fo_table_set_block_progression_dimension () fo_table_set_block_progression_dimensionvoid fo_table_set_block_progression_dimension (FoFo *fo_fo, FoProperty *new_block_progression_dimension); Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension fo_fo : The FoFo object new_block_progression_dimension : The new "block-progression-dimension" property value <anchor id="fo-table-get-border-after-color" role="function"/>fo_table_get_border_after_color () fo_table_get_border_after_colorFoProperty* fo_table_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value <anchor id="fo-table-set-border-after-color" role="function"/>fo_table_set_border_after_color () fo_table_set_border_after_colorvoid fo_table_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value <anchor id="fo-table-get-border-after-precedence" role="function"/>fo_table_get_border_after_precedence () fo_table_get_border_after_precedenceFoProperty* fo_table_get_border_after_precedence (FoFo *fo_fo); Gets the "border-after-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-precedence" property value <anchor id="fo-table-set-border-after-precedence" role="function"/>fo_table_set_border_after_precedence () fo_table_set_border_after_precedencevoid fo_table_set_border_after_precedence (FoFo *fo_fo, FoProperty *new_border_after_precedence); Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence fo_fo : The FoFo object new_border_after_precedence : The new "border-after-precedence" property value <anchor id="fo-table-get-border-after-style" role="function"/>fo_table_get_border_after_style () fo_table_get_border_after_styleFoProperty* fo_table_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value <anchor id="fo-table-set-border-after-style" role="function"/>fo_table_set_border_after_style () fo_table_set_border_after_stylevoid fo_table_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value <anchor id="fo-table-get-border-after-width" role="function"/>fo_table_get_border_after_width () fo_table_get_border_after_widthFoProperty* fo_table_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value <anchor id="fo-table-set-border-after-width" role="function"/>fo_table_set_border_after_width () fo_table_set_border_after_widthvoid fo_table_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value <anchor id="fo-table-get-border-before-color" role="function"/>fo_table_get_border_before_color () fo_table_get_border_before_colorFoProperty* fo_table_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value <anchor id="fo-table-set-border-before-color" role="function"/>fo_table_set_border_before_color () fo_table_set_border_before_colorvoid fo_table_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value <anchor id="fo-table-get-border-before-precedence" role="function"/>fo_table_get_border_before_precedence () fo_table_get_border_before_precedenceFoProperty* fo_table_get_border_before_precedence (FoFo *fo_fo); Gets the "border-before-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-precedence" property value <anchor id="fo-table-set-border-before-precedence" role="function"/>fo_table_set_border_before_precedence () fo_table_set_border_before_precedencevoid fo_table_set_border_before_precedence (FoFo *fo_fo, FoProperty *new_border_before_precedence); Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence fo_fo : The FoFo object new_border_before_precedence : The new "border-before-precedence" property value <anchor id="fo-table-get-border-before-style" role="function"/>fo_table_get_border_before_style () fo_table_get_border_before_styleFoProperty* fo_table_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value <anchor id="fo-table-set-border-before-style" role="function"/>fo_table_set_border_before_style () fo_table_set_border_before_stylevoid fo_table_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value <anchor id="fo-table-get-border-before-width" role="function"/>fo_table_get_border_before_width () fo_table_get_border_before_widthFoProperty* fo_table_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value <anchor id="fo-table-set-border-before-width" role="function"/>fo_table_set_border_before_width () fo_table_set_border_before_widthvoid fo_table_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value <anchor id="fo-table-get-border-bottom-color" role="function"/>fo_table_get_border_bottom_color () fo_table_get_border_bottom_colorFoProperty* fo_table_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value <anchor id="fo-table-set-border-bottom-color" role="function"/>fo_table_set_border_bottom_color () fo_table_set_border_bottom_colorvoid fo_table_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value <anchor id="fo-table-get-border-bottom-style" role="function"/>fo_table_get_border_bottom_style () fo_table_get_border_bottom_styleFoProperty* fo_table_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value <anchor id="fo-table-set-border-bottom-style" role="function"/>fo_table_set_border_bottom_style () fo_table_set_border_bottom_stylevoid fo_table_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value <anchor id="fo-table-get-border-bottom-width" role="function"/>fo_table_get_border_bottom_width () fo_table_get_border_bottom_widthFoProperty* fo_table_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value <anchor id="fo-table-set-border-bottom-width" role="function"/>fo_table_set_border_bottom_width () fo_table_set_border_bottom_widthvoid fo_table_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value <anchor id="fo-table-get-border-collapse" role="function"/>fo_table_get_border_collapse () fo_table_get_border_collapseFoProperty* fo_table_get_border_collapse (FoFo *fo_fo); Gets the "border-collapse" property of fo_fo fo_fo : The FoFo object Returns : The "border-collapse" property value <anchor id="fo-table-set-border-collapse" role="function"/>fo_table_set_border_collapse () fo_table_set_border_collapsevoid fo_table_set_border_collapse (FoFo *fo_fo, FoProperty *new_border_collapse); Sets the "border-collapse" property of fo_fo to new_border_collapse fo_fo : The FoFo object new_border_collapse : The new "border-collapse" property value <anchor id="fo-table-get-border-end-color" role="function"/>fo_table_get_border_end_color () fo_table_get_border_end_colorFoProperty* fo_table_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value <anchor id="fo-table-set-border-end-color" role="function"/>fo_table_set_border_end_color () fo_table_set_border_end_colorvoid fo_table_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value <anchor id="fo-table-get-border-end-precedence" role="function"/>fo_table_get_border_end_precedence () fo_table_get_border_end_precedenceFoProperty* fo_table_get_border_end_precedence (FoFo *fo_fo); Gets the "border-end-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-precedence" property value <anchor id="fo-table-set-border-end-precedence" role="function"/>fo_table_set_border_end_precedence () fo_table_set_border_end_precedencevoid fo_table_set_border_end_precedence (FoFo *fo_fo, FoProperty *new_border_end_precedence); Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence fo_fo : The FoFo object new_border_end_precedence : The new "border-end-precedence" property value <anchor id="fo-table-get-border-end-style" role="function"/>fo_table_get_border_end_style () fo_table_get_border_end_styleFoProperty* fo_table_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value <anchor id="fo-table-set-border-end-style" role="function"/>fo_table_set_border_end_style () fo_table_set_border_end_stylevoid fo_table_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value <anchor id="fo-table-get-border-end-width" role="function"/>fo_table_get_border_end_width () fo_table_get_border_end_widthFoProperty* fo_table_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value <anchor id="fo-table-set-border-end-width" role="function"/>fo_table_set_border_end_width () fo_table_set_border_end_widthvoid fo_table_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value <anchor id="fo-table-get-border-left-color" role="function"/>fo_table_get_border_left_color () fo_table_get_border_left_colorFoProperty* fo_table_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value <anchor id="fo-table-set-border-left-color" role="function"/>fo_table_set_border_left_color () fo_table_set_border_left_colorvoid fo_table_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value <anchor id="fo-table-get-border-left-style" role="function"/>fo_table_get_border_left_style () fo_table_get_border_left_styleFoProperty* fo_table_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value <anchor id="fo-table-set-border-left-style" role="function"/>fo_table_set_border_left_style () fo_table_set_border_left_stylevoid fo_table_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value <anchor id="fo-table-get-border-left-width" role="function"/>fo_table_get_border_left_width () fo_table_get_border_left_widthFoProperty* fo_table_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value <anchor id="fo-table-set-border-left-width" role="function"/>fo_table_set_border_left_width () fo_table_set_border_left_widthvoid fo_table_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value <anchor id="fo-table-get-border-right-color" role="function"/>fo_table_get_border_right_color () fo_table_get_border_right_colorFoProperty* fo_table_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value <anchor id="fo-table-set-border-right-color" role="function"/>fo_table_set_border_right_color () fo_table_set_border_right_colorvoid fo_table_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value <anchor id="fo-table-get-border-right-style" role="function"/>fo_table_get_border_right_style () fo_table_get_border_right_styleFoProperty* fo_table_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value <anchor id="fo-table-set-border-right-style" role="function"/>fo_table_set_border_right_style () fo_table_set_border_right_stylevoid fo_table_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value <anchor id="fo-table-get-border-right-width" role="function"/>fo_table_get_border_right_width () fo_table_get_border_right_widthFoProperty* fo_table_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value <anchor id="fo-table-set-border-right-width" role="function"/>fo_table_set_border_right_width () fo_table_set_border_right_widthvoid fo_table_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value <anchor id="fo-table-get-border-separation" role="function"/>fo_table_get_border_separation () fo_table_get_border_separationFoProperty* fo_table_get_border_separation (FoFo *fo_fo); Gets the "border-separation" property of fo_fo fo_fo : The FoFo object Returns : The "border-separation" property value <anchor id="fo-table-set-border-separation" role="function"/>fo_table_set_border_separation () fo_table_set_border_separationvoid fo_table_set_border_separation (FoFo *fo_fo, FoProperty *new_border_separation); Sets the "border-separation" property of fo_fo to new_border_separation fo_fo : The FoFo object new_border_separation : The new "border-separation" property value <anchor id="fo-table-get-border-start-color" role="function"/>fo_table_get_border_start_color () fo_table_get_border_start_colorFoProperty* fo_table_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value <anchor id="fo-table-set-border-start-color" role="function"/>fo_table_set_border_start_color () fo_table_set_border_start_colorvoid fo_table_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value <anchor id="fo-table-get-border-start-precedence" role="function"/>fo_table_get_border_start_precedence () fo_table_get_border_start_precedenceFoProperty* fo_table_get_border_start_precedence (FoFo *fo_fo); Gets the "border-start-precedence" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-precedence" property value <anchor id="fo-table-set-border-start-precedence" role="function"/>fo_table_set_border_start_precedence () fo_table_set_border_start_precedencevoid fo_table_set_border_start_precedence (FoFo *fo_fo, FoProperty *new_border_start_precedence); Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence fo_fo : The FoFo object new_border_start_precedence : The new "border-start-precedence" property value <anchor id="fo-table-get-border-start-style" role="function"/>fo_table_get_border_start_style () fo_table_get_border_start_styleFoProperty* fo_table_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value <anchor id="fo-table-set-border-start-style" role="function"/>fo_table_set_border_start_style () fo_table_set_border_start_stylevoid fo_table_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value <anchor id="fo-table-get-border-start-width" role="function"/>fo_table_get_border_start_width () fo_table_get_border_start_widthFoProperty* fo_table_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value <anchor id="fo-table-set-border-start-width" role="function"/>fo_table_set_border_start_width () fo_table_set_border_start_widthvoid fo_table_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value <anchor id="fo-table-get-border-top-color" role="function"/>fo_table_get_border_top_color () fo_table_get_border_top_colorFoProperty* fo_table_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value <anchor id="fo-table-set-border-top-color" role="function"/>fo_table_set_border_top_color () fo_table_set_border_top_colorvoid fo_table_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value <anchor id="fo-table-get-border-top-style" role="function"/>fo_table_get_border_top_style () fo_table_get_border_top_styleFoProperty* fo_table_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value <anchor id="fo-table-set-border-top-style" role="function"/>fo_table_set_border_top_style () fo_table_set_border_top_stylevoid fo_table_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value <anchor id="fo-table-get-border-top-width" role="function"/>fo_table_get_border_top_width () fo_table_get_border_top_widthFoProperty* fo_table_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value <anchor id="fo-table-set-border-top-width" role="function"/>fo_table_set_border_top_width () fo_table_set_border_top_widthvoid fo_table_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value <anchor id="fo-table-get-break-after" role="function"/>fo_table_get_break_after () fo_table_get_break_afterFoProperty* fo_table_get_break_after (FoFo *fo_fo); Gets the "break-after" property of fo_fo fo_fo : The FoFo object Returns : The "break-after" property value <anchor id="fo-table-set-break-after" role="function"/>fo_table_set_break_after () fo_table_set_break_aftervoid fo_table_set_break_after (FoFo *fo_fo, FoProperty *new_break_after); Sets the "break-after" property of fo_fo to new_break_after fo_fo : The FoFo object new_break_after : The new "break-after" property value <anchor id="fo-table-get-break-before" role="function"/>fo_table_get_break_before () fo_table_get_break_beforeFoProperty* fo_table_get_break_before (FoFo *fo_fo); Gets the "break-before" property of fo_fo fo_fo : The FoFo object Returns : The "break-before" property value <anchor id="fo-table-set-break-before" role="function"/>fo_table_set_break_before () fo_table_set_break_beforevoid fo_table_set_break_before (FoFo *fo_fo, FoProperty *new_break_before); Sets the "break-before" property of fo_fo to new_break_before fo_fo : The FoFo object new_break_before : The new "break-before" property value <anchor id="fo-table-get-end-indent" role="function"/>fo_table_get_end_indent () fo_table_get_end_indentFoProperty* fo_table_get_end_indent (FoFo *fo_fo); Gets the "end-indent" property of fo_fo fo_fo : The FoFo object Returns : The "end-indent" property value <anchor id="fo-table-set-end-indent" role="function"/>fo_table_set_end_indent () fo_table_set_end_indentvoid fo_table_set_end_indent (FoFo *fo_fo, FoProperty *new_end_indent); Sets the "end-indent" property of fo_fo to new_end_indent fo_fo : The FoFo object new_end_indent : The new "end-indent" property value <anchor id="fo-table-get-height" role="function"/>fo_table_get_height () fo_table_get_heightFoProperty* fo_table_get_height (FoFo *fo_fo); Gets the "height" property of fo_fo fo_fo : The FoFo object Returns : The "height" property value <anchor id="fo-table-set-height" role="function"/>fo_table_set_height () fo_table_set_heightvoid fo_table_set_height (FoFo *fo_fo, FoProperty *new_height); Sets the "height" property of fo_fo to new_height fo_fo : The FoFo object new_height : The new "height" property value <anchor id="fo-table-get-id" role="function"/>fo_table_get_id () fo_table_get_idFoProperty* fo_table_get_id (FoFo *fo_fo); Gets the "id" property of fo_fo fo_fo : The FoFo object Returns : The "id" property value <anchor id="fo-table-set-id" role="function"/>fo_table_set_id () fo_table_set_idvoid fo_table_set_id (FoFo *fo_fo, FoProperty *new_id); Sets the "id" property of fo_fo to new_id fo_fo : The FoFo object new_id : The new "id" property value <anchor id="fo-table-get-inline-progression-dimension" role="function"/>fo_table_get_inline_progression_dimension () fo_table_get_inline_progression_dimensionFoProperty* fo_table_get_inline_progression_dimension (FoFo *fo_fo); Gets the "inline-progression-dimension" property of fo_fo fo_fo : The FoFo object Returns : The "inline-progression-dimension" property value <anchor id="fo-table-set-inline-progression-dimension" role="function"/>fo_table_set_inline_progression_dimension () fo_table_set_inline_progression_dimensionvoid fo_table_set_inline_progression_dimension (FoFo *fo_fo, FoProperty *new_inline_progression_dimension); Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension fo_fo : The FoFo object new_inline_progression_dimension : The new "inline-progression-dimension" property value <anchor id="fo-table-get-keep-together" role="function"/>fo_table_get_keep_together () fo_table_get_keep_togetherFoProperty* fo_table_get_keep_together (FoFo *fo_fo); Gets the "keep-together" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together" property value <anchor id="fo-table-set-keep-together" role="function"/>fo_table_set_keep_together () fo_table_set_keep_togethervoid fo_table_set_keep_together (FoFo *fo_fo, FoProperty *new_keep_together); Sets the "keep-together" property of fo_fo to new_keep_together fo_fo : The FoFo object new_keep_together : The new "keep-together" property value <anchor id="fo-table-get-keep-together-within-column" role="function"/>fo_table_get_keep_together_within_column () fo_table_get_keep_together_within_columnFoProperty* fo_table_get_keep_together_within_column (FoFo *fo_fo); Gets the "keep-together-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-column" property value <anchor id="fo-table-set-keep-together-within-column" role="function"/>fo_table_set_keep_together_within_column () fo_table_set_keep_together_within_columnvoid fo_table_set_keep_together_within_column (FoFo *fo_fo, FoProperty *new_keep_together_within_column); Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column fo_fo : The FoFo object new_keep_together_within_column : The new "keep-together-within-column" property value <anchor id="fo-table-get-keep-together-within-line" role="function"/>fo_table_get_keep_together_within_line () fo_table_get_keep_together_within_lineFoProperty* fo_table_get_keep_together_within_line (FoFo *fo_fo); Gets the "keep-together-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-line" property value <anchor id="fo-table-set-keep-together-within-line" role="function"/>fo_table_set_keep_together_within_line () fo_table_set_keep_together_within_linevoid fo_table_set_keep_together_within_line (FoFo *fo_fo, FoProperty *new_keep_together_within_line); Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line fo_fo : The FoFo object new_keep_together_within_line : The new "keep-together-within-line" property value <anchor id="fo-table-get-keep-together-within-page" role="function"/>fo_table_get_keep_together_within_page () fo_table_get_keep_together_within_pageFoProperty* fo_table_get_keep_together_within_page (FoFo *fo_fo); Gets the "keep-together-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-together-within-page" property value <anchor id="fo-table-set-keep-together-within-page" role="function"/>fo_table_set_keep_together_within_page () fo_table_set_keep_together_within_pagevoid fo_table_set_keep_together_within_page (FoFo *fo_fo, FoProperty *new_keep_together_within_page); Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page fo_fo : The FoFo object new_keep_together_within_page : The new "keep-together-within-page" property value <anchor id="fo-table-get-keep-with-next" role="function"/>fo_table_get_keep_with_next () fo_table_get_keep_with_nextFoProperty* fo_table_get_keep_with_next (FoFo *fo_fo); Gets the "keep-with-next" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next" property value <anchor id="fo-table-set-keep-with-next" role="function"/>fo_table_set_keep_with_next () fo_table_set_keep_with_nextvoid fo_table_set_keep_with_next (FoFo *fo_fo, FoProperty *new_keep_with_next); Sets the "keep-with-next" property of fo_fo to new_keep_with_next fo_fo : The FoFo object new_keep_with_next : The new "keep-with-next" property value <anchor id="fo-table-get-keep-with-next-within-column" role="function"/>fo_table_get_keep_with_next_within_column () fo_table_get_keep_with_next_within_columnFoProperty* fo_table_get_keep_with_next_within_column (FoFo *fo_fo); Gets the "keep-with-next-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-column" property value <anchor id="fo-table-set-keep-with-next-within-column" role="function"/>fo_table_set_keep_with_next_within_column () fo_table_set_keep_with_next_within_columnvoid fo_table_set_keep_with_next_within_column (FoFo *fo_fo, FoProperty *new_keep_with_next_within_column); Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column fo_fo : The FoFo object new_keep_with_next_within_column : The new "keep-with-next-within-column" property value <anchor id="fo-table-get-keep-with-next-within-line" role="function"/>fo_table_get_keep_with_next_within_line () fo_table_get_keep_with_next_within_lineFoProperty* fo_table_get_keep_with_next_within_line (FoFo *fo_fo); Gets the "keep-with-next-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-line" property value <anchor id="fo-table-set-keep-with-next-within-line" role="function"/>fo_table_set_keep_with_next_within_line () fo_table_set_keep_with_next_within_linevoid fo_table_set_keep_with_next_within_line (FoFo *fo_fo, FoProperty *new_keep_with_next_within_line); Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line fo_fo : The FoFo object new_keep_with_next_within_line : The new "keep-with-next-within-line" property value <anchor id="fo-table-get-keep-with-next-within-page" role="function"/>fo_table_get_keep_with_next_within_page () fo_table_get_keep_with_next_within_pageFoProperty* fo_table_get_keep_with_next_within_page (FoFo *fo_fo); Gets the "keep-with-next-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-next-within-page" property value <anchor id="fo-table-set-keep-with-next-within-page" role="function"/>fo_table_set_keep_with_next_within_page () fo_table_set_keep_with_next_within_pagevoid fo_table_set_keep_with_next_within_page (FoFo *fo_fo, FoProperty *new_keep_with_next_within_page); Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page fo_fo : The FoFo object new_keep_with_next_within_page : The new "keep-with-next-within-page" property value <anchor id="fo-table-get-keep-with-previous" role="function"/>fo_table_get_keep_with_previous () fo_table_get_keep_with_previousFoProperty* fo_table_get_keep_with_previous (FoFo *fo_fo); Gets the "keep-with-previous" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous" property value <anchor id="fo-table-set-keep-with-previous" role="function"/>fo_table_set_keep_with_previous () fo_table_set_keep_with_previousvoid fo_table_set_keep_with_previous (FoFo *fo_fo, FoProperty *new_keep_with_previous); Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous fo_fo : The FoFo object new_keep_with_previous : The new "keep-with-previous" property value <anchor id="fo-table-get-keep-with-previous-within-column" role="function"/>fo_table_get_keep_with_previous_within_column () fo_table_get_keep_with_previous_within_columnFoProperty* fo_table_get_keep_with_previous_within_column (FoFo *fo_fo); Gets the "keep-with-previous-within-column" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-column" property value <anchor id="fo-table-set-keep-with-previous-within-column" role="function"/>fo_table_set_keep_with_previous_within_column () fo_table_set_keep_with_previous_within_columnvoid fo_table_set_keep_with_previous_within_column (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_column); Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column fo_fo : The FoFo object new_keep_with_previous_within_column : The new "keep-with-previous-within-column" property value <anchor id="fo-table-get-keep-with-previous-within-line" role="function"/>fo_table_get_keep_with_previous_within_line () fo_table_get_keep_with_previous_within_lineFoProperty* fo_table_get_keep_with_previous_within_line (FoFo *fo_fo); Gets the "keep-with-previous-within-line" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-line" property value <anchor id="fo-table-set-keep-with-previous-within-line" role="function"/>fo_table_set_keep_with_previous_within_line () fo_table_set_keep_with_previous_within_linevoid fo_table_set_keep_with_previous_within_line (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_line); Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line fo_fo : The FoFo object new_keep_with_previous_within_line : The new "keep-with-previous-within-line" property value <anchor id="fo-table-get-keep-with-previous-within-page" role="function"/>fo_table_get_keep_with_previous_within_page () fo_table_get_keep_with_previous_within_pageFoProperty* fo_table_get_keep_with_previous_within_page (FoFo *fo_fo); Gets the "keep-with-previous-within-page" property of fo_fo fo_fo : The FoFo object Returns : The "keep-with-previous-within-page" property value <anchor id="fo-table-set-keep-with-previous-within-page" role="function"/>fo_table_set_keep_with_previous_within_page () fo_table_set_keep_with_previous_within_pagevoid fo_table_set_keep_with_previous_within_page (FoFo *fo_fo, FoProperty *new_keep_with_previous_within_page); Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page fo_fo : The FoFo object new_keep_with_previous_within_page : The new "keep-with-previous-within-page" property value <anchor id="fo-table-get-margin-bottom" role="function"/>fo_table_get_margin_bottom () fo_table_get_margin_bottomFoProperty* fo_table_get_margin_bottom (FoFo *fo_fo); Gets the "margin-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "margin-bottom" property value <anchor id="fo-table-set-margin-bottom" role="function"/>fo_table_set_margin_bottom () fo_table_set_margin_bottomvoid fo_table_set_margin_bottom (FoFo *fo_fo, FoProperty *new_margin_bottom); Sets the "margin-bottom" property of fo_fo to new_margin_bottom fo_fo : The FoFo object new_margin_bottom : The new "margin-bottom" property value <anchor id="fo-table-get-margin-left" role="function"/>fo_table_get_margin_left () fo_table_get_margin_leftFoProperty* fo_table_get_margin_left (FoFo *fo_fo); Gets the "margin-left" property of fo_fo fo_fo : The FoFo object Returns : The "margin-left" property value <anchor id="fo-table-set-margin-left" role="function"/>fo_table_set_margin_left () fo_table_set_margin_leftvoid fo_table_set_margin_left (FoFo *fo_fo, FoProperty *new_margin_left); Sets the "margin-left" property of fo_fo to new_margin_left fo_fo : The FoFo object new_margin_left : The new "margin-left" property value <anchor id="fo-table-get-margin-right" role="function"/>fo_table_get_margin_right () fo_table_get_margin_rightFoProperty* fo_table_get_margin_right (FoFo *fo_fo); Gets the "margin-right" property of fo_fo fo_fo : The FoFo object Returns : The "margin-right" property value <anchor id="fo-table-set-margin-right" role="function"/>fo_table_set_margin_right () fo_table_set_margin_rightvoid fo_table_set_margin_right (FoFo *fo_fo, FoProperty *new_margin_right); Sets the "margin-right" property of fo_fo to new_margin_right fo_fo : The FoFo object new_margin_right : The new "margin-right" property value <anchor id="fo-table-get-margin-top" role="function"/>fo_table_get_margin_top () fo_table_get_margin_topFoProperty* fo_table_get_margin_top (FoFo *fo_fo); Gets the "margin-top" property of fo_fo fo_fo : The FoFo object Returns : The "margin-top" property value <anchor id="fo-table-set-margin-top" role="function"/>fo_table_set_margin_top () fo_table_set_margin_topvoid fo_table_set_margin_top (FoFo *fo_fo, FoProperty *new_margin_top); Sets the "margin-top" property of fo_fo to new_margin_top fo_fo : The FoFo object new_margin_top : The new "margin-top" property value <anchor id="fo-table-get-padding-after" role="function"/>fo_table_get_padding_after () fo_table_get_padding_afterFoProperty* fo_table_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value <anchor id="fo-table-set-padding-after" role="function"/>fo_table_set_padding_after () fo_table_set_padding_aftervoid fo_table_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value <anchor id="fo-table-get-padding-before" role="function"/>fo_table_get_padding_before () fo_table_get_padding_beforeFoProperty* fo_table_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value <anchor id="fo-table-set-padding-before" role="function"/>fo_table_set_padding_before () fo_table_set_padding_beforevoid fo_table_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value <anchor id="fo-table-get-padding-bottom" role="function"/>fo_table_get_padding_bottom () fo_table_get_padding_bottomFoProperty* fo_table_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value <anchor id="fo-table-set-padding-bottom" role="function"/>fo_table_set_padding_bottom () fo_table_set_padding_bottomvoid fo_table_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value <anchor id="fo-table-get-padding-end" role="function"/>fo_table_get_padding_end () fo_table_get_padding_endFoProperty* fo_table_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value <anchor id="fo-table-set-padding-end" role="function"/>fo_table_set_padding_end () fo_table_set_padding_endvoid fo_table_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value <anchor id="fo-table-get-padding-left" role="function"/>fo_table_get_padding_left () fo_table_get_padding_leftFoProperty* fo_table_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value <anchor id="fo-table-set-padding-left" role="function"/>fo_table_set_padding_left () fo_table_set_padding_leftvoid fo_table_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value <anchor id="fo-table-get-padding-right" role="function"/>fo_table_get_padding_right () fo_table_get_padding_rightFoProperty* fo_table_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value <anchor id="fo-table-set-padding-right" role="function"/>fo_table_set_padding_right () fo_table_set_padding_rightvoid fo_table_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value <anchor id="fo-table-get-padding-start" role="function"/>fo_table_get_padding_start () fo_table_get_padding_startFoProperty* fo_table_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value <anchor id="fo-table-set-padding-start" role="function"/>fo_table_set_padding_start () fo_table_set_padding_startvoid fo_table_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value <anchor id="fo-table-get-padding-top" role="function"/>fo_table_get_padding_top () fo_table_get_padding_topFoProperty* fo_table_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value <anchor id="fo-table-set-padding-top" role="function"/>fo_table_set_padding_top () fo_table_set_padding_topvoid fo_table_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value <anchor id="fo-table-get-role" role="function"/>fo_table_get_role () fo_table_get_roleFoProperty* fo_table_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value <anchor id="fo-table-set-role" role="function"/>fo_table_set_role () fo_table_set_rolevoid fo_table_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value <anchor id="fo-table-get-source-document" role="function"/>fo_table_get_source_document () fo_table_get_source_documentFoProperty* fo_table_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value <anchor id="fo-table-set-source-document" role="function"/>fo_table_set_source_document () fo_table_set_source_documentvoid fo_table_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value <anchor id="fo-table-get-space-after" role="function"/>fo_table_get_space_after () fo_table_get_space_afterFoProperty* fo_table_get_space_after (FoFo *fo_fo); Gets the "space-after" property of fo_fo fo_fo : The FoFo object Returns : The "space-after" property value <anchor id="fo-table-set-space-after" role="function"/>fo_table_set_space_after () fo_table_set_space_aftervoid fo_table_set_space_after (FoFo *fo_fo, FoProperty *new_space_after); Sets the "space-after" property of fo_fo to new_space_after fo_fo : The FoFo object new_space_after : The new "space-after" property value <anchor id="fo-table-get-space-before" role="function"/>fo_table_get_space_before () fo_table_get_space_beforeFoProperty* fo_table_get_space_before (FoFo *fo_fo); Gets the "space-before" property of fo_fo fo_fo : The FoFo object Returns : The "space-before" property value <anchor id="fo-table-set-space-before" role="function"/>fo_table_set_space_before () fo_table_set_space_beforevoid fo_table_set_space_before (FoFo *fo_fo, FoProperty *new_space_before); Sets the "space-before" property of fo_fo to new_space_before fo_fo : The FoFo object new_space_before : The new "space-before" property value <anchor id="fo-table-get-start-indent" role="function"/>fo_table_get_start_indent () fo_table_get_start_indentFoProperty* fo_table_get_start_indent (FoFo *fo_fo); Gets the "start-indent" property of fo_fo fo_fo : The FoFo object Returns : The "start-indent" property value <anchor id="fo-table-set-start-indent" role="function"/>fo_table_set_start_indent () fo_table_set_start_indentvoid fo_table_set_start_indent (FoFo *fo_fo, FoProperty *new_start_indent); Sets the "start-indent" property of fo_fo to new_start_indent fo_fo : The FoFo object new_start_indent : The new "start-indent" property value <anchor id="fo-table-get-table-layout" role="function"/>fo_table_get_table_layout () fo_table_get_table_layoutFoProperty* fo_table_get_table_layout (FoFo *fo_fo); Gets the "table-layout" property of fo_fo fo_fo : The FoFo object Returns : The "table-layout" property value <anchor id="fo-table-set-table-layout" role="function"/>fo_table_set_table_layout () fo_table_set_table_layoutvoid fo_table_set_table_layout (FoFo *fo_fo, FoProperty *new_table_layout); Sets the "table-layout" property of fo_fo to new_table_layout fo_fo : The FoFo object new_table_layout : The new "table-layout" property value <anchor id="fo-table-get-width" role="function"/>fo_table_get_width () fo_table_get_widthFoProperty* fo_table_get_width (FoFo *fo_fo); Gets the "width" property of fo_fo fo_fo : The FoFo object Returns : The "width" property value <anchor id="fo-table-set-width" role="function"/>fo_table_set_width () fo_table_set_widthvoid fo_table_set_width (FoFo *fo_fo, FoProperty *new_width); Sets the "width" property of fo_fo to new_width fo_fo : The FoFo object new_width : The new "width" property value <anchor id="fo-table-get-writing-mode" role="function"/>fo_table_get_writing_mode () fo_table_get_writing_modeFoProperty* fo_table_get_writing_mode (FoFo *fo_fo); Gets the "writing-mode" property of fo_fo fo_fo : The FoFo object Returns : The "writing-mode" property value <anchor id="fo-table-set-writing-mode" role="function"/>fo_table_set_writing_mode () fo_table_set_writing_modevoid fo_table_set_writing_mode (FoFo *fo_fo, FoProperty *new_writing_mode); Sets the "writing-mode" property of fo_fo to new_writing_mode fo_fo : The FoFo object new_writing_mode : The new "writing-mode" property value xmlroff-0.6.2/docs/xml/title.xml0000644000175000017500000032032011156164733013517 00000000000000 Fotitle 3 XMLROFF Library Fotitle Synopsis FoTitle; FoTitleClass; FoFo* fo_title_new (void); FoProperty* fo_title_get_background_color (FoFo *fo_fo); void fo_title_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); FoProperty* fo_title_get_background_image (FoFo *fo_fo); void fo_title_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); FoProperty* fo_title_get_border_after_color (FoFo *fo_fo); void fo_title_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); FoProperty* fo_title_get_border_after_style (FoFo *fo_fo); void fo_title_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); FoProperty* fo_title_get_border_after_width (FoFo *fo_fo); void fo_title_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); FoProperty* fo_title_get_border_before_color (FoFo *fo_fo); void fo_title_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); FoProperty* fo_title_get_border_before_style (FoFo *fo_fo); void fo_title_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); FoProperty* fo_title_get_border_before_width (FoFo *fo_fo); void fo_title_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); FoProperty* fo_title_get_border_bottom_color (FoFo *fo_fo); void fo_title_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); FoProperty* fo_title_get_border_bottom_style (FoFo *fo_fo); void fo_title_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); FoProperty* fo_title_get_border_bottom_width (FoFo *fo_fo); void fo_title_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); FoProperty* fo_title_get_border_end_color (FoFo *fo_fo); void fo_title_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); FoProperty* fo_title_get_border_end_style (FoFo *fo_fo); void fo_title_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); FoProperty* fo_title_get_border_end_width (FoFo *fo_fo); void fo_title_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); FoProperty* fo_title_get_border_left_color (FoFo *fo_fo); void fo_title_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); FoProperty* fo_title_get_border_left_style (FoFo *fo_fo); void fo_title_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); FoProperty* fo_title_get_border_left_width (FoFo *fo_fo); void fo_title_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); FoProperty* fo_title_get_border_right_color (FoFo *fo_fo); void fo_title_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); FoProperty* fo_title_get_border_right_style (FoFo *fo_fo); void fo_title_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); FoProperty* fo_title_get_border_right_width (FoFo *fo_fo); void fo_title_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); FoProperty* fo_title_get_border_start_color (FoFo *fo_fo); void fo_title_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); FoProperty* fo_title_get_border_start_style (FoFo *fo_fo); void fo_title_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); FoProperty* fo_title_get_border_start_width (FoFo *fo_fo); void fo_title_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); FoProperty* fo_title_get_border_top_color (FoFo *fo_fo); void fo_title_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); FoProperty* fo_title_get_border_top_style (FoFo *fo_fo); void fo_title_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); FoProperty* fo_title_get_border_top_width (FoFo *fo_fo); void fo_title_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); FoProperty* fo_title_get_color (FoFo *fo_fo); void fo_title_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_title_get_font_family (FoFo *fo_fo); void fo_title_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_title_get_font_size (FoFo *fo_fo); void fo_title_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_title_get_font_stretch (FoFo *fo_fo); void fo_title_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_title_get_font_style (FoFo *fo_fo); void fo_title_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_title_get_font_variant (FoFo *fo_fo); void fo_title_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_title_get_font_weight (FoFo *fo_fo); void fo_title_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_title_get_line_height (FoFo *fo_fo); void fo_title_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); FoProperty* fo_title_get_padding_after (FoFo *fo_fo); void fo_title_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); FoProperty* fo_title_get_padding_before (FoFo *fo_fo); void fo_title_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); FoProperty* fo_title_get_padding_bottom (FoFo *fo_fo); void fo_title_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); FoProperty* fo_title_get_padding_end (FoFo *fo_fo); void fo_title_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); FoProperty* fo_title_get_padding_left (FoFo *fo_fo); void fo_title_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); FoProperty* fo_title_get_padding_right (FoFo *fo_fo); void fo_title_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); FoProperty* fo_title_get_padding_start (FoFo *fo_fo); void fo_title_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); FoProperty* fo_title_get_padding_top (FoFo *fo_fo); void fo_title_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); FoProperty* fo_title_get_role (FoFo *fo_fo); void fo_title_set_role (FoFo *fo_fo, FoProperty *new_role); FoProperty* fo_title_get_source_document (FoFo *fo_fo); void fo_title_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); FoProperty* fo_title_get_space_end (FoFo *fo_fo); void fo_title_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); FoProperty* fo_title_get_space_start (FoFo *fo_fo); void fo_title_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Description Details <anchor id="FoTitle" role="struct"/>FoTitle FoTitletypedef struct _FoTitle FoTitle; <anchor id="FoTitleClass" role="struct"/>FoTitleClass FoTitleClasstypedef struct _FoTitleClass FoTitleClass; <anchor id="fo-title-new" role="function"/>fo_title_new () fo_title_newFoFo* fo_title_new (void); Creates a new FoTitle initialized to default value. Returns : the new FoTitle. <anchor id="fo-title-get-background-color" role="function"/>fo_title_get_background_color () fo_title_get_background_colorFoProperty* fo_title_get_background_color (FoFo *fo_fo); Gets the "background-color" property of fo_fo fo_fo : The FoFo object Returns : The "background-color" property value <anchor id="fo-title-set-background-color" role="function"/>fo_title_set_background_color () fo_title_set_background_colorvoid fo_title_set_background_color (FoFo *fo_fo, FoProperty *new_background_color); Sets the "background-color" property of fo_fo to new_background_color fo_fo : The FoFo object new_background_color : The new "background-color" property value <anchor id="fo-title-get-background-image" role="function"/>fo_title_get_background_image () fo_title_get_background_imageFoProperty* fo_title_get_background_image (FoFo *fo_fo); Gets the "background-image" property of fo_fo fo_fo : The FoFo object Returns : The "background-image" property value <anchor id="fo-title-set-background-image" role="function"/>fo_title_set_background_image () fo_title_set_background_imagevoid fo_title_set_background_image (FoFo *fo_fo, FoProperty *new_background_image); Sets the "background-image" property of fo_fo to new_background_image fo_fo : The FoFo object new_background_image : The new "background-image" property value <anchor id="fo-title-get-border-after-color" role="function"/>fo_title_get_border_after_color () fo_title_get_border_after_colorFoProperty* fo_title_get_border_after_color (FoFo *fo_fo); Gets the "border-after-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-color" property value <anchor id="fo-title-set-border-after-color" role="function"/>fo_title_set_border_after_color () fo_title_set_border_after_colorvoid fo_title_set_border_after_color (FoFo *fo_fo, FoProperty *new_border_after_color); Sets the "border-after-color" property of fo_fo to new_border_after_color fo_fo : The FoFo object new_border_after_color : The new "border-after-color" property value <anchor id="fo-title-get-border-after-style" role="function"/>fo_title_get_border_after_style () fo_title_get_border_after_styleFoProperty* fo_title_get_border_after_style (FoFo *fo_fo); Gets the "border-after-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-style" property value <anchor id="fo-title-set-border-after-style" role="function"/>fo_title_set_border_after_style () fo_title_set_border_after_stylevoid fo_title_set_border_after_style (FoFo *fo_fo, FoProperty *new_border_after_style); Sets the "border-after-style" property of fo_fo to new_border_after_style fo_fo : The FoFo object new_border_after_style : The new "border-after-style" property value <anchor id="fo-title-get-border-after-width" role="function"/>fo_title_get_border_after_width () fo_title_get_border_after_widthFoProperty* fo_title_get_border_after_width (FoFo *fo_fo); Gets the "border-after-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-after-width" property value <anchor id="fo-title-set-border-after-width" role="function"/>fo_title_set_border_after_width () fo_title_set_border_after_widthvoid fo_title_set_border_after_width (FoFo *fo_fo, FoProperty *new_border_after_width); Sets the "border-after-width" property of fo_fo to new_border_after_width fo_fo : The FoFo object new_border_after_width : The new "border-after-width" property value <anchor id="fo-title-get-border-before-color" role="function"/>fo_title_get_border_before_color () fo_title_get_border_before_colorFoProperty* fo_title_get_border_before_color (FoFo *fo_fo); Gets the "border-before-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-color" property value <anchor id="fo-title-set-border-before-color" role="function"/>fo_title_set_border_before_color () fo_title_set_border_before_colorvoid fo_title_set_border_before_color (FoFo *fo_fo, FoProperty *new_border_before_color); Sets the "border-before-color" property of fo_fo to new_border_before_color fo_fo : The FoFo object new_border_before_color : The new "border-before-color" property value <anchor id="fo-title-get-border-before-style" role="function"/>fo_title_get_border_before_style () fo_title_get_border_before_styleFoProperty* fo_title_get_border_before_style (FoFo *fo_fo); Gets the "border-before-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-style" property value <anchor id="fo-title-set-border-before-style" role="function"/>fo_title_set_border_before_style () fo_title_set_border_before_stylevoid fo_title_set_border_before_style (FoFo *fo_fo, FoProperty *new_border_before_style); Sets the "border-before-style" property of fo_fo to new_border_before_style fo_fo : The FoFo object new_border_before_style : The new "border-before-style" property value <anchor id="fo-title-get-border-before-width" role="function"/>fo_title_get_border_before_width () fo_title_get_border_before_widthFoProperty* fo_title_get_border_before_width (FoFo *fo_fo); Gets the "border-before-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-before-width" property value <anchor id="fo-title-set-border-before-width" role="function"/>fo_title_set_border_before_width () fo_title_set_border_before_widthvoid fo_title_set_border_before_width (FoFo *fo_fo, FoProperty *new_border_before_width); Sets the "border-before-width" property of fo_fo to new_border_before_width fo_fo : The FoFo object new_border_before_width : The new "border-before-width" property value <anchor id="fo-title-get-border-bottom-color" role="function"/>fo_title_get_border_bottom_color () fo_title_get_border_bottom_colorFoProperty* fo_title_get_border_bottom_color (FoFo *fo_fo); Gets the "border-bottom-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-color" property value <anchor id="fo-title-set-border-bottom-color" role="function"/>fo_title_set_border_bottom_color () fo_title_set_border_bottom_colorvoid fo_title_set_border_bottom_color (FoFo *fo_fo, FoProperty *new_border_bottom_color); Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color fo_fo : The FoFo object new_border_bottom_color : The new "border-bottom-color" property value <anchor id="fo-title-get-border-bottom-style" role="function"/>fo_title_get_border_bottom_style () fo_title_get_border_bottom_styleFoProperty* fo_title_get_border_bottom_style (FoFo *fo_fo); Gets the "border-bottom-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-style" property value <anchor id="fo-title-set-border-bottom-style" role="function"/>fo_title_set_border_bottom_style () fo_title_set_border_bottom_stylevoid fo_title_set_border_bottom_style (FoFo *fo_fo, FoProperty *new_border_bottom_style); Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style fo_fo : The FoFo object new_border_bottom_style : The new "border-bottom-style" property value <anchor id="fo-title-get-border-bottom-width" role="function"/>fo_title_get_border_bottom_width () fo_title_get_border_bottom_widthFoProperty* fo_title_get_border_bottom_width (FoFo *fo_fo); Gets the "border-bottom-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-bottom-width" property value <anchor id="fo-title-set-border-bottom-width" role="function"/>fo_title_set_border_bottom_width () fo_title_set_border_bottom_widthvoid fo_title_set_border_bottom_width (FoFo *fo_fo, FoProperty *new_border_bottom_width); Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width fo_fo : The FoFo object new_border_bottom_width : The new "border-bottom-width" property value <anchor id="fo-title-get-border-end-color" role="function"/>fo_title_get_border_end_color () fo_title_get_border_end_colorFoProperty* fo_title_get_border_end_color (FoFo *fo_fo); Gets the "border-end-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-color" property value <anchor id="fo-title-set-border-end-color" role="function"/>fo_title_set_border_end_color () fo_title_set_border_end_colorvoid fo_title_set_border_end_color (FoFo *fo_fo, FoProperty *new_border_end_color); Sets the "border-end-color" property of fo_fo to new_border_end_color fo_fo : The FoFo object new_border_end_color : The new "border-end-color" property value <anchor id="fo-title-get-border-end-style" role="function"/>fo_title_get_border_end_style () fo_title_get_border_end_styleFoProperty* fo_title_get_border_end_style (FoFo *fo_fo); Gets the "border-end-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-style" property value <anchor id="fo-title-set-border-end-style" role="function"/>fo_title_set_border_end_style () fo_title_set_border_end_stylevoid fo_title_set_border_end_style (FoFo *fo_fo, FoProperty *new_border_end_style); Sets the "border-end-style" property of fo_fo to new_border_end_style fo_fo : The FoFo object new_border_end_style : The new "border-end-style" property value <anchor id="fo-title-get-border-end-width" role="function"/>fo_title_get_border_end_width () fo_title_get_border_end_widthFoProperty* fo_title_get_border_end_width (FoFo *fo_fo); Gets the "border-end-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-end-width" property value <anchor id="fo-title-set-border-end-width" role="function"/>fo_title_set_border_end_width () fo_title_set_border_end_widthvoid fo_title_set_border_end_width (FoFo *fo_fo, FoProperty *new_border_end_width); Sets the "border-end-width" property of fo_fo to new_border_end_width fo_fo : The FoFo object new_border_end_width : The new "border-end-width" property value <anchor id="fo-title-get-border-left-color" role="function"/>fo_title_get_border_left_color () fo_title_get_border_left_colorFoProperty* fo_title_get_border_left_color (FoFo *fo_fo); Gets the "border-left-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-color" property value <anchor id="fo-title-set-border-left-color" role="function"/>fo_title_set_border_left_color () fo_title_set_border_left_colorvoid fo_title_set_border_left_color (FoFo *fo_fo, FoProperty *new_border_left_color); Sets the "border-left-color" property of fo_fo to new_border_left_color fo_fo : The FoFo object new_border_left_color : The new "border-left-color" property value <anchor id="fo-title-get-border-left-style" role="function"/>fo_title_get_border_left_style () fo_title_get_border_left_styleFoProperty* fo_title_get_border_left_style (FoFo *fo_fo); Gets the "border-left-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-style" property value <anchor id="fo-title-set-border-left-style" role="function"/>fo_title_set_border_left_style () fo_title_set_border_left_stylevoid fo_title_set_border_left_style (FoFo *fo_fo, FoProperty *new_border_left_style); Sets the "border-left-style" property of fo_fo to new_border_left_style fo_fo : The FoFo object new_border_left_style : The new "border-left-style" property value <anchor id="fo-title-get-border-left-width" role="function"/>fo_title_get_border_left_width () fo_title_get_border_left_widthFoProperty* fo_title_get_border_left_width (FoFo *fo_fo); Gets the "border-left-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-left-width" property value <anchor id="fo-title-set-border-left-width" role="function"/>fo_title_set_border_left_width () fo_title_set_border_left_widthvoid fo_title_set_border_left_width (FoFo *fo_fo, FoProperty *new_border_left_width); Sets the "border-left-width" property of fo_fo to new_border_left_width fo_fo : The FoFo object new_border_left_width : The new "border-left-width" property value <anchor id="fo-title-get-border-right-color" role="function"/>fo_title_get_border_right_color () fo_title_get_border_right_colorFoProperty* fo_title_get_border_right_color (FoFo *fo_fo); Gets the "border-right-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-color" property value <anchor id="fo-title-set-border-right-color" role="function"/>fo_title_set_border_right_color () fo_title_set_border_right_colorvoid fo_title_set_border_right_color (FoFo *fo_fo, FoProperty *new_border_right_color); Sets the "border-right-color" property of fo_fo to new_border_right_color fo_fo : The FoFo object new_border_right_color : The new "border-right-color" property value <anchor id="fo-title-get-border-right-style" role="function"/>fo_title_get_border_right_style () fo_title_get_border_right_styleFoProperty* fo_title_get_border_right_style (FoFo *fo_fo); Gets the "border-right-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-style" property value <anchor id="fo-title-set-border-right-style" role="function"/>fo_title_set_border_right_style () fo_title_set_border_right_stylevoid fo_title_set_border_right_style (FoFo *fo_fo, FoProperty *new_border_right_style); Sets the "border-right-style" property of fo_fo to new_border_right_style fo_fo : The FoFo object new_border_right_style : The new "border-right-style" property value <anchor id="fo-title-get-border-right-width" role="function"/>fo_title_get_border_right_width () fo_title_get_border_right_widthFoProperty* fo_title_get_border_right_width (FoFo *fo_fo); Gets the "border-right-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-right-width" property value <anchor id="fo-title-set-border-right-width" role="function"/>fo_title_set_border_right_width () fo_title_set_border_right_widthvoid fo_title_set_border_right_width (FoFo *fo_fo, FoProperty *new_border_right_width); Sets the "border-right-width" property of fo_fo to new_border_right_width fo_fo : The FoFo object new_border_right_width : The new "border-right-width" property value <anchor id="fo-title-get-border-start-color" role="function"/>fo_title_get_border_start_color () fo_title_get_border_start_colorFoProperty* fo_title_get_border_start_color (FoFo *fo_fo); Gets the "border-start-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-color" property value <anchor id="fo-title-set-border-start-color" role="function"/>fo_title_set_border_start_color () fo_title_set_border_start_colorvoid fo_title_set_border_start_color (FoFo *fo_fo, FoProperty *new_border_start_color); Sets the "border-start-color" property of fo_fo to new_border_start_color fo_fo : The FoFo object new_border_start_color : The new "border-start-color" property value <anchor id="fo-title-get-border-start-style" role="function"/>fo_title_get_border_start_style () fo_title_get_border_start_styleFoProperty* fo_title_get_border_start_style (FoFo *fo_fo); Gets the "border-start-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-style" property value <anchor id="fo-title-set-border-start-style" role="function"/>fo_title_set_border_start_style () fo_title_set_border_start_stylevoid fo_title_set_border_start_style (FoFo *fo_fo, FoProperty *new_border_start_style); Sets the "border-start-style" property of fo_fo to new_border_start_style fo_fo : The FoFo object new_border_start_style : The new "border-start-style" property value <anchor id="fo-title-get-border-start-width" role="function"/>fo_title_get_border_start_width () fo_title_get_border_start_widthFoProperty* fo_title_get_border_start_width (FoFo *fo_fo); Gets the "border-start-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-start-width" property value <anchor id="fo-title-set-border-start-width" role="function"/>fo_title_set_border_start_width () fo_title_set_border_start_widthvoid fo_title_set_border_start_width (FoFo *fo_fo, FoProperty *new_border_start_width); Sets the "border-start-width" property of fo_fo to new_border_start_width fo_fo : The FoFo object new_border_start_width : The new "border-start-width" property value <anchor id="fo-title-get-border-top-color" role="function"/>fo_title_get_border_top_color () fo_title_get_border_top_colorFoProperty* fo_title_get_border_top_color (FoFo *fo_fo); Gets the "border-top-color" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-color" property value <anchor id="fo-title-set-border-top-color" role="function"/>fo_title_set_border_top_color () fo_title_set_border_top_colorvoid fo_title_set_border_top_color (FoFo *fo_fo, FoProperty *new_border_top_color); Sets the "border-top-color" property of fo_fo to new_border_top_color fo_fo : The FoFo object new_border_top_color : The new "border-top-color" property value <anchor id="fo-title-get-border-top-style" role="function"/>fo_title_get_border_top_style () fo_title_get_border_top_styleFoProperty* fo_title_get_border_top_style (FoFo *fo_fo); Gets the "border-top-style" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-style" property value <anchor id="fo-title-set-border-top-style" role="function"/>fo_title_set_border_top_style () fo_title_set_border_top_stylevoid fo_title_set_border_top_style (FoFo *fo_fo, FoProperty *new_border_top_style); Sets the "border-top-style" property of fo_fo to new_border_top_style fo_fo : The FoFo object new_border_top_style : The new "border-top-style" property value <anchor id="fo-title-get-border-top-width" role="function"/>fo_title_get_border_top_width () fo_title_get_border_top_widthFoProperty* fo_title_get_border_top_width (FoFo *fo_fo); Gets the "border-top-width" property of fo_fo fo_fo : The FoFo object Returns : The "border-top-width" property value <anchor id="fo-title-set-border-top-width" role="function"/>fo_title_set_border_top_width () fo_title_set_border_top_widthvoid fo_title_set_border_top_width (FoFo *fo_fo, FoProperty *new_border_top_width); Sets the "border-top-width" property of fo_fo to new_border_top_width fo_fo : The FoFo object new_border_top_width : The new "border-top-width" property value <anchor id="fo-title-get-color" role="function"/>fo_title_get_color () fo_title_get_colorFoProperty* fo_title_get_color (FoFo *fo_fo); Gets the "color" property of fo_fo fo_fo : The FoFo object Returns : The "color" property value <anchor id="fo-title-set-color" role="function"/>fo_title_set_color () fo_title_set_colorvoid fo_title_set_color (FoFo *fo_fo, FoProperty *new_color); Sets the "color" property of fo_fo to new_color fo_fo : The FoFo object new_color : The new "color" property value <anchor id="fo-title-get-font-family" role="function"/>fo_title_get_font_family () fo_title_get_font_familyFoProperty* fo_title_get_font_family (FoFo *fo_fo); Gets the "font-family" property of fo_fo fo_fo : The FoFo object Returns : The "font-family" property value <anchor id="fo-title-set-font-family" role="function"/>fo_title_set_font_family () fo_title_set_font_familyvoid fo_title_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); Sets the "font-family" property of fo_fo to new_font_family fo_fo : The FoFo object new_font_family : The new "font-family" property value <anchor id="fo-title-get-font-size" role="function"/>fo_title_get_font_size () fo_title_get_font_sizeFoProperty* fo_title_get_font_size (FoFo *fo_fo); Gets the "font-size" property of fo_fo fo_fo : The FoFo object Returns : The "font-size" property value <anchor id="fo-title-set-font-size" role="function"/>fo_title_set_font_size () fo_title_set_font_sizevoid fo_title_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); Sets the "font-size" property of fo_fo to new_font_size fo_fo : The FoFo object new_font_size : The new "font-size" property value <anchor id="fo-title-get-font-stretch" role="function"/>fo_title_get_font_stretch () fo_title_get_font_stretchFoProperty* fo_title_get_font_stretch (FoFo *fo_fo); Gets the "font-stretch" property of fo_fo fo_fo : The FoFo object Returns : The "font-stretch" property value <anchor id="fo-title-set-font-stretch" role="function"/>fo_title_set_font_stretch () fo_title_set_font_stretchvoid fo_title_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); Sets the "font-stretch" property of fo_fo to new_font_stretch fo_fo : The FoFo object new_font_stretch : The new "font-stretch" property value <anchor id="fo-title-get-font-style" role="function"/>fo_title_get_font_style () fo_title_get_font_styleFoProperty* fo_title_get_font_style (FoFo *fo_fo); Gets the "font-style" property of fo_fo fo_fo : The FoFo object Returns : The "font-style" property value <anchor id="fo-title-set-font-style" role="function"/>fo_title_set_font_style () fo_title_set_font_stylevoid fo_title_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); Sets the "font-style" property of fo_fo to new_font_style fo_fo : The FoFo object new_font_style : The new "font-style" property value <anchor id="fo-title-get-font-variant" role="function"/>fo_title_get_font_variant () fo_title_get_font_variantFoProperty* fo_title_get_font_variant (FoFo *fo_fo); Gets the "font-variant" property of fo_fo fo_fo : The FoFo object Returns : The "font-variant" property value <anchor id="fo-title-set-font-variant" role="function"/>fo_title_set_font_variant () fo_title_set_font_variantvoid fo_title_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); Sets the "font-variant" property of fo_fo to new_font_variant fo_fo : The FoFo object new_font_variant : The new "font-variant" property value <anchor id="fo-title-get-font-weight" role="function"/>fo_title_get_font_weight () fo_title_get_font_weightFoProperty* fo_title_get_font_weight (FoFo *fo_fo); Gets the "font-weight" property of fo_fo fo_fo : The FoFo object Returns : The "font-weight" property value <anchor id="fo-title-set-font-weight" role="function"/>fo_title_set_font_weight () fo_title_set_font_weightvoid fo_title_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); Sets the "font-weight" property of fo_fo to new_font_weight fo_fo : The FoFo object new_font_weight : The new "font-weight" property value <anchor id="fo-title-get-line-height" role="function"/>fo_title_get_line_height () fo_title_get_line_heightFoProperty* fo_title_get_line_height (FoFo *fo_fo); Gets the "line-height" property of fo_fo fo_fo : The FoFo object Returns : The "line-height" property value <anchor id="fo-title-set-line-height" role="function"/>fo_title_set_line_height () fo_title_set_line_heightvoid fo_title_set_line_height (FoFo *fo_fo, FoProperty *new_line_height); Sets the "line-height" property of fo_fo to new_line_height fo_fo : The FoFo object new_line_height : The new "line-height" property value <anchor id="fo-title-get-padding-after" role="function"/>fo_title_get_padding_after () fo_title_get_padding_afterFoProperty* fo_title_get_padding_after (FoFo *fo_fo); Gets the "padding-after" property of fo_fo fo_fo : The FoFo object Returns : The "padding-after" property value <anchor id="fo-title-set-padding-after" role="function"/>fo_title_set_padding_after () fo_title_set_padding_aftervoid fo_title_set_padding_after (FoFo *fo_fo, FoProperty *new_padding_after); Sets the "padding-after" property of fo_fo to new_padding_after fo_fo : The FoFo object new_padding_after : The new "padding-after" property value <anchor id="fo-title-get-padding-before" role="function"/>fo_title_get_padding_before () fo_title_get_padding_beforeFoProperty* fo_title_get_padding_before (FoFo *fo_fo); Gets the "padding-before" property of fo_fo fo_fo : The FoFo object Returns : The "padding-before" property value <anchor id="fo-title-set-padding-before" role="function"/>fo_title_set_padding_before () fo_title_set_padding_beforevoid fo_title_set_padding_before (FoFo *fo_fo, FoProperty *new_padding_before); Sets the "padding-before" property of fo_fo to new_padding_before fo_fo : The FoFo object new_padding_before : The new "padding-before" property value <anchor id="fo-title-get-padding-bottom" role="function"/>fo_title_get_padding_bottom () fo_title_get_padding_bottomFoProperty* fo_title_get_padding_bottom (FoFo *fo_fo); Gets the "padding-bottom" property of fo_fo fo_fo : The FoFo object Returns : The "padding-bottom" property value <anchor id="fo-title-set-padding-bottom" role="function"/>fo_title_set_padding_bottom () fo_title_set_padding_bottomvoid fo_title_set_padding_bottom (FoFo *fo_fo, FoProperty *new_padding_bottom); Sets the "padding-bottom" property of fo_fo to new_padding_bottom fo_fo : The FoFo object new_padding_bottom : The new "padding-bottom" property value <anchor id="fo-title-get-padding-end" role="function"/>fo_title_get_padding_end () fo_title_get_padding_endFoProperty* fo_title_get_padding_end (FoFo *fo_fo); Gets the "padding-end" property of fo_fo fo_fo : The FoFo object Returns : The "padding-end" property value <anchor id="fo-title-set-padding-end" role="function"/>fo_title_set_padding_end () fo_title_set_padding_endvoid fo_title_set_padding_end (FoFo *fo_fo, FoProperty *new_padding_end); Sets the "padding-end" property of fo_fo to new_padding_end fo_fo : The FoFo object new_padding_end : The new "padding-end" property value <anchor id="fo-title-get-padding-left" role="function"/>fo_title_get_padding_left () fo_title_get_padding_leftFoProperty* fo_title_get_padding_left (FoFo *fo_fo); Gets the "padding-left" property of fo_fo fo_fo : The FoFo object Returns : The "padding-left" property value <anchor id="fo-title-set-padding-left" role="function"/>fo_title_set_padding_left () fo_title_set_padding_leftvoid fo_title_set_padding_left (FoFo *fo_fo, FoProperty *new_padding_left); Sets the "padding-left" property of fo_fo to new_padding_left fo_fo : The FoFo object new_padding_left : The new "padding-left" property value <anchor id="fo-title-get-padding-right" role="function"/>fo_title_get_padding_right () fo_title_get_padding_rightFoProperty* fo_title_get_padding_right (FoFo *fo_fo); Gets the "padding-right" property of fo_fo fo_fo : The FoFo object Returns : The "padding-right" property value <anchor id="fo-title-set-padding-right" role="function"/>fo_title_set_padding_right () fo_title_set_padding_rightvoid fo_title_set_padding_right (FoFo *fo_fo, FoProperty *new_padding_right); Sets the "padding-right" property of fo_fo to new_padding_right fo_fo : The FoFo object new_padding_right : The new "padding-right" property value <anchor id="fo-title-get-padding-start" role="function"/>fo_title_get_padding_start () fo_title_get_padding_startFoProperty* fo_title_get_padding_start (FoFo *fo_fo); Gets the "padding-start" property of fo_fo fo_fo : The FoFo object Returns : The "padding-start" property value <anchor id="fo-title-set-padding-start" role="function"/>fo_title_set_padding_start () fo_title_set_padding_startvoid fo_title_set_padding_start (FoFo *fo_fo, FoProperty *new_padding_start); Sets the "padding-start" property of fo_fo to new_padding_start fo_fo : The FoFo object new_padding_start : The new "padding-start" property value <anchor id="fo-title-get-padding-top" role="function"/>fo_title_get_padding_top () fo_title_get_padding_topFoProperty* fo_title_get_padding_top (FoFo *fo_fo); Gets the "padding-top" property of fo_fo fo_fo : The FoFo object Returns : The "padding-top" property value <anchor id="fo-title-set-padding-top" role="function"/>fo_title_set_padding_top () fo_title_set_padding_topvoid fo_title_set_padding_top (FoFo *fo_fo, FoProperty *new_padding_top); Sets the "padding-top" property of fo_fo to new_padding_top fo_fo : The FoFo object new_padding_top : The new "padding-top" property value <anchor id="fo-title-get-role" role="function"/>fo_title_get_role () fo_title_get_roleFoProperty* fo_title_get_role (FoFo *fo_fo); Gets the "role" property of fo_fo fo_fo : The FoFo object Returns : The "role" property value <anchor id="fo-title-set-role" role="function"/>fo_title_set_role () fo_title_set_rolevoid fo_title_set_role (FoFo *fo_fo, FoProperty *new_role); Sets the "role" property of fo_fo to new_role fo_fo : The FoFo object new_role : The new "role" property value <anchor id="fo-title-get-source-document" role="function"/>fo_title_get_source_document () fo_title_get_source_documentFoProperty* fo_title_get_source_document (FoFo *fo_fo); Gets the "source-document" property of fo_fo fo_fo : The FoFo object Returns : The "source-document" property value <anchor id="fo-title-set-source-document" role="function"/>fo_title_set_source_document () fo_title_set_source_documentvoid fo_title_set_source_document (FoFo *fo_fo, FoProperty *new_source_document); Sets the "source-document" property of fo_fo to new_source_document fo_fo : The FoFo object new_source_document : The new "source-document" property value <anchor id="fo-title-get-space-end" role="function"/>fo_title_get_space_end () fo_title_get_space_endFoProperty* fo_title_get_space_end (FoFo *fo_fo); Gets the "space-end" property of fo_fo fo_fo : The FoFo object Returns : The "space-end" property value <anchor id="fo-title-set-space-end" role="function"/>fo_title_set_space_end () fo_title_set_space_endvoid fo_title_set_space_end (FoFo *fo_fo, FoProperty *new_space_end); Sets the "space-end" property of fo_fo to new_space_end fo_fo : The FoFo object new_space_end : The new "space-end" property value <anchor id="fo-title-get-space-start" role="function"/>fo_title_get_space_start () fo_title_get_space_startFoProperty* fo_title_get_space_start (FoFo *fo_fo); Gets the "space-start" property of fo_fo fo_fo : The FoFo object Returns : The "space-start" property value <anchor id="fo-title-set-space-start" role="function"/>fo_title_set_space_start () fo_title_set_space_startvoid fo_title_set_space_start (FoFo *fo_fo, FoProperty *new_space_start); Sets the "space-start" property of fo_fo to new_space_start fo_fo : The FoFo object new_space_start : The new "space-start" property value xmlroff-0.6.2/docs/xml/tree.xml0000644000175000017500000003162011156164733013337 00000000000000 Fotree 3 XMLROFF Library Fotree Synopsis FoTree; FoTreeClass; FoFo* fo_tree_new (void); void fo_tree_id_add (FoFo *tree, const gchar *id, FoFo *fo); FoFo* fo_tree_id_get (FoFo *tree, const gchar *id); void fo_tree_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); FoFo* fo_tree_master_name_get (FoFo *tree, const gchar *name); void fo_tree_page_sequence_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); FoFo* fo_tree_page_sequence_master_name_get (FoFo *tree, const gchar *name); FoFo* fo_tree_default_master_get (FoFo *tree); Object Hierarchy GObject +----FoObject +----FoNode +----FoFo +----FoTree Description Details <anchor id="FoTree-struct" role="struct"/>FoTree FoTreetypedef struct _FoTree FoTree; <anchor id="FoTreeClass" role="struct"/>FoTreeClass FoTreeClasstypedef struct _FoTreeClass FoTreeClass; <anchor id="fo-tree-new" role="function"/>fo_tree_new () fo_tree_newFoFo* fo_tree_new (void); Creates a new FoTree initialized to default value. Returns : the new FoTree <anchor id="fo-tree-id-add" role="function"/>fo_tree_id_add () fo_tree_id_addvoid fo_tree_id_add (FoFo *tree, const gchar *id, FoFo *fo); Adds fo to tree under name. tree : FoTree to which to add a FoFo. id : Id to use for the FoFo. fo : FoFo to add. <anchor id="fo-tree-id-get" role="function"/>fo_tree_id_get () fo_tree_id_getFoFo* fo_tree_id_get (FoFo *tree, const gchar *id); Gets the FoFo of tree corresponding to id. tree : FoTree for which to get a FoFo. id : Id of the FoFo to get. Returns : FoFo matching id, or NULL. <anchor id="fo-tree-master-name-add" role="function"/>fo_tree_master_name_add () fo_tree_master_name_addvoid fo_tree_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); Adds fo to tree under name. tree : FoTree to which to add a FoPageMaster. name : Name to use for the FoPageMaster. fo : FoPageMaster to add. <anchor id="fo-tree-master-name-get" role="function"/>fo_tree_master_name_get () fo_tree_master_name_getFoFo* fo_tree_master_name_get (FoFo *tree, const gchar *name); Gets the FoPageMaster of tree corresponding to name. tree : FoTree for which to get a FoPageMaster. name : Name of the FoPageMaster to get. Returns : FoPageMaster matching name, or NULL. <anchor id="fo-tree-page-sequence-master-name-add" role="function"/>fo_tree_page_sequence_master_name_add () fo_tree_page_sequence_master_name_addvoid fo_tree_page_sequence_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); Adds fo to to tree. tree : FoTree for which to add a FoPageSequenceMaster. name : Name of the FoPageSequenceMaster. fo : FoPageSequenceMaster to add. <anchor id="fo-tree-page-sequence-master-name-get" role="function"/>fo_tree_page_sequence_master_name_get () fo_tree_page_sequence_master_name_getFoFo* fo_tree_page_sequence_master_name_get (FoFo *tree, const gchar *name); Gets the FoPageSequenceMaster of tree with name matching name. tree : FoTree for which to get a named FoPageSequenceMaster. name : Name of the FoPageSequenceMaster. Returns : FoPageSequenceMaster corresponding to name, or NULL. <anchor id="fo-tree-default-master-get" role="function"/>fo_tree_default_master_get () fo_tree_default_master_getFoFo* fo_tree_default_master_get (FoFo *tree); Gets the default page master of tree. tree : FoTree for which to get the default master. Returns : The default page sequence master of fo. xmlroff-0.6.2/docs/html/0000777000175000017500000000000011156164735012106 500000000000000xmlroff-0.6.2/docs/html/areas.html0000644000175000017500000001222511156164733014003 00000000000000 Area Objects xmlroff-0.6.2/docs/html/backends.html0000644000175000017500000001257311156164733014470 00000000000000 FoDoc and xmlroff Backends

FoDoc and xmlroff Backends

Backends

Abstract

Backends for writing xmlroff output

Backends

xmlroff is built with one or more backends that do the work of writing the output file, e.g., PostScript or PDF output.

The backends are based on other open source graphics libraries that handle the details of the file formats. xmlroff could have been written to natively write PostScript, PDF, etc., but there's little point doing that when libraries for doing that already exist (or now exist, since, for example, the Cairo library on which the Cairo backend is based is much newer than xmlroff).

The key requirement for a backend is that it is possible to render Pango layouts using the backend.

FoDoc is YAPC (Yet Another PostScript Clone)

Graphics libraries seemingly all implement some variation on the PostScript imaging model:

Drawing is done at an active "point"

The "point" has a position, and you can move the "point" to an absolute or relative position on the drawing surface.

There are a number of primitive graphic operations

Primitive operations exist for moving the point, drawing lines, arcs, and rectangles, and translating the origin of the coordinate system.

Drawing is stateful

You can set, for example, the stroke colour, and that colour will be used by other drawing operations until you change it again.

Graphic states can be saved on a stack

Graphic states can be saved and restored so you can, for example, save the state, change the stroke colour, draw something, then restore the state and, by doing so, restore the previous stroke colour, etc.

Along with their similarities, graphic libraries have their differences. xmlroff hides the differences between backends by implementing an abstract FoDoc object type that has functions for the graphic operations that xmlroff uses. Each backend is implemented as a subtype of FoDoc.

So, as you would expect, FoDoc is yet another PostScript clone.

xmlroff-0.6.2/docs/html/basic-interface.html0000644000175000017500000001566311156164733015740 00000000000000 Basic Interface

Basic Interface

Abstract

Using the basic interface

Overview

The libfo basic interface defined in fo-lifo-basic.h provides a high-level interface to the formatter while hiding the use of GObjects.

Lifecycle

The lifecycle is init–format–shutdown.

Initialise

There are two ways to initialise the basic formatter. The first way leaves memory allocation under the control of the formatter. The second way allows the calling program to provide the functions to be used for allocating, reallocating, and freeing memory.

gboolean         fo_libfo_init (void);

typedef  gpointer (*FoMalloc)      (gsize    n_bytes);
typedef  gpointer (*FoRealloc)     (gpointer mem,
				    gsize    n_bytes);
typedef  void     (*FoFree)        (gpointer mem);

gboolean         fo_libfo_init2 (FoMalloc  fo_malloc,
				 FoRealloc fo_realloc,
				 FoFree    fo_free);

In both cases, the return value is an indication of whether or not the formatter was successfully initialised. The functions return TRUE on success, and FALSE on failure.

Format

There is one function for performing the formatting. The inputs are:

libfo_context

Information controlling the formatting. See below.

xml

The filename of the input XML file.

xslt

The filename of the stylesheet file to apply.

out

The filename of the output PDF or PostScript file.

error

Indication of any error that occured.

The return value is an indication of the success or failure of the formatting. The function returns TRUE on success, and FALSE on failure. When the return value is FALSE, the error value contains information about any error that occurred.

gboolean         fo_libfo_format (FoLibfoContext *libfo_context,
				  const gchar    *xml,
				  const gchar    *xslt,
				  const gchar    *out,
				  GError        **error);

Shutdown

There is one function for shutting down the formatter.

gboolean         fo_libfo_shutdown (void);

The return value is an indication of the success or failure of the formatting. The function returns TRUE on success, and FALSE on failure. However, if the shutdown does fail, there isn't a whole lot that you can then do.

FoLibfoContext

You can use a FoLibfoContext to control aspects of the formatting, including:

  • Output format (currently ignored).

  • Font embedding (currently ignored).

  • Validation of input XML document.

  • Use or non-use of SGML catalogs when parsing inputs.

  • Warning mode.

  • Debug mode.

xmlroff-0.6.2/docs/html/context.html0000644000175000017500000000516711156164733014403 00000000000000 Property Context Object

Property Context Object

xmlroff-0.6.2/docs/html/datatypes.html0000644000175000017500000001263211156164733014710 00000000000000 Datatype Objects xmlroff-0.6.2/docs/html/debugging.html0000644000175000017500000002564411156164733014654 00000000000000 Debugging xmlroff

Debugging xmlroff

Abstract

Debugging xmlroff

Command Line

-d2 command line switch dumps FO tree

Each node shows its type [FoTree], its address [0x82a0698], and its reference count [1].

Values of the node's properties (GObject properties, which mostly correspond to XSL properties) are shown indented underneath the node information.

Properties of the node's parent type (and that type's parent type, etc.) are shown indented relative to the properties of the node's type.

[xmlroff]$ ./xmlroff -d2 xmlroff.fo
(process:16930): libfo-DEBUG: FoTree (0x82a0698 : 1)
(process:16930): libfo-DEBUG:     default-master:   0x82c7530
(process:16930): libfo-DEBUG:     master-name hash:
(process:16930): libfo-DEBUG:       first : 0x82c7530
(process:16930): libfo-DEBUG:     page-sequence-master-name hash:
(process:16930): libfo-DEBUG:         generate-reference-area: FALSE
(process:16930): libfo-DEBUG:         allow-mixed-content: FALSE
(process:16930): libfo-DEBUG:         element: (nil)
(process:16930): libfo-DEBUG:         context: 0x82a6d48
(process:16930): libfo-DEBUG:         areas:
(process:16930): libfo-DEBUG:           0x82c6a40
(process:16930): libfo-DEBUG:   root (0x82c6c00 : 1)
(process:16930): libfo-DEBUG:       media-usage (0x82bd838 : 72)
(process:16930): libfo-DEBUG:           FoEnum (0x82be270 : 2) : auto
(process:16930): libfo-DEBUG:         generate-reference-area: FALSE
(process:16930): libfo-DEBUG:         allow-mixed-content: FALSE
(process:16930): libfo-DEBUG:         element: 0x82a8e68
(process:16930): libfo-DEBUG:         context: 0x82dfd48
(process:16930): libfo-DEBUG:         areas:
(process:16930): libfo-DEBUG:           (none)
...

-d4 command line switch dumps area tree

[xmlroff]$ ./xmlroff -d4 xmlroff.fo
(process:16932): libfo-DEBUG: FoAreaTree (0x82c6a40 : 1)
(process:16932): libfo-DEBUG:     context: 0x82c6a90
(process:16932): libfo-DEBUG:       is-first:              true
(process:16932): libfo-DEBUG:       prev-part:             (null)
(process:16932): libfo-DEBUG:       is-last:               true
(process:16932): libfo-DEBUG:       next-part:             (null)
(process:16932): libfo-DEBUG:       next-x:                0 pt
(process:16932): libfo-DEBUG:       next-y:                0 pt
(process:16932): libfo-DEBUG:       available-width:       0 pt
(process:16932): libfo-DEBUG:       available-height:      0 pt
(process:16932): libfo-DEBUG:       child-available-ipdim: 0 pt
(process:16932): libfo-DEBUG:       child-available-bpdim: 0 pt
(process:16932): libfo-DEBUG:       generated-by:          (null)
(process:16932): libfo-DEBUG:       reference:             (null)
(process:16932): libfo-DEBUG:       page:                  (null)
(process:16932): libfo-DEBUG:   FoAreaPage (0x82e4300 : 2)
(process:16932): libfo-DEBUG:       page-number:   1
(process:16932): libfo-DEBUG:       page-width:    576 pt
(process:16932): libfo-DEBUG:       page-height:   792 pt
(process:16932): libfo-DEBUG:       margin-top:    72 pt
(process:16932): libfo-DEBUG:       margin-bottom: 72 pt
(process:16932): libfo-DEBUG:       margin-left:   72 pt
(process:16932): libfo-DEBUG:       margin-right:  72 pt
(process:16932): libfo-DEBUG:           bpd: 3
(process:16932): libfo-DEBUG:           ipd: 1
(process:16932): libfo-DEBUG:           sd:  4
(process:16932): libfo-DEBUG:             x:              0 pt
(process:16932): libfo-DEBUG:             y:              0 pt
(process:16932): libfo-DEBUG:             width:          0 pt
(process:16932): libfo-DEBUG:             height:         0 pt
...

-d8 command line switch dumps PangoAttribute information

[xmlroff]$ ./xmlroff -d8 xmlroff.fo
(process:16933): libfo-DEBUG: get_text_attr_list:: block text: 'xmlroff ? Sun xmlroff XSL Formatter'
(process:16933): libfo-DEBUG: get_text_attr_list:: attr_glist: 0x82aa650
(process:16933): libfo-DEBUG: get_text_attr_list:: attr_glist length: 26
(process:16933): libfo-DEBUG: dump_attr_list:: String:
(process:16933): libfo-DEBUG: dump_attr_list:: start: 0; end: 7
(process:16933): libfo-DEBUG: dump_attr_list:: start: 7; end: 37
(process:16933): libfo-DEBUG: dump_attr_list:: start: 37; end: 2147483647
(process:16933): libfo-DEBUG: dump_attr_list:: Font family:
(process:16933): libfo-DEBUG: dump_attr_list:: start: 0; end: 7; family: mono
(process:16933): libfo-DEBUG: dump_attr_list:: start: 7; end: 37; family: sans-serif
(process:16933): libfo-DEBUG: dump_attr_list:: Font size:
(process:16933): libfo-DEBUG: dump_attr_list:: start: 0; end: 7; size: 10
(process:16933): libfo-DEBUG: dump_attr_list:: start: 7; end: 37; size: 10
...

Aborting on critical log message

xmlroff often gives "CRITICAL" error messages when something goes wrong. For example:

(xmlroff:4384): libfo-CRITICAL **:
fo_area_area_split_before_height_check: assertion `max_height > 0'
failed

If you want to abort on the critical error so you can use a debugger on the core file, according to http://library.gnome.org/devel/glib/stable/glib-running.html, if you set G_DEBUG=fatal-critical, xmlroff should abort.

Using GDB or other debugger

Statically link xmlroff

GDB, at least, has more to work with when you build a statically linked xmlroff executable.

Add --enable-static --disable-shared to the configure.in (or autogen.sh if building from CVS) command line.

Break on g_log

If you are getting an error message and you can't work out what's causing it, break on g_log so you break just before the message is emitted.

After the break, you can go up several stack frames to where g_error (or similar) is called.

By going up enough stack frames, you can usually work out what property or what FO experienced the error.

Note that you should disable the breakpoint on g_log if you are going to interactively call any functions that use g_log.

Functions useful when debugging interatively

fo_object_sprintf(object)

The 'nice' printout of the object.

fo_object_debug_sprintf(object)

The 'nice' printout of the object plus its adress and reference count.

fo_object_debug_dump(object,indent)

Dump everything about the object and its descendants (if it's part of a tree, that is).

fo_node_path_to_root_sprintf(node)

Print XPath-like locator for node.

fo_node_debug_dump_tree(node)

Dumps just the FoNode objects, not their properties, in the tree rooted at node.

xmlroff-0.6.2/docs/html/developers.html0000644000175000017500000002652711156164733015072 00000000000000 Developers' Guide

Developers' Guide

Relating XSL to GObjects

Abstract

XSL defines formatting objects and their properties. GObject -- the GLib Object System -- is an object oriented framework for C for where you define objects and their properties. This section is a summary of how formatting objects and their properties map to GOjects and their properties.

FoObject, FoNode

The libfo object hierarchy starts at FoObject, which is an extension of GObject that adds some common debugging and logging functions.

FoNode is a subtype of FoObject that has additional properties and functions for making trees of FoNode objects. FoNode is the parent type of both FoFo and FoArea, since XSL operates in terms of FO and area trees.

Formatting Object --> FoFo

Each XSL formatting object maps to a subtype of the FoFo GObject object type.

Each XSL property of an XSL formatting object maps to a property of the corresponding FoFo subtype.

Functions that return or use formatting object generally use FoFo objects rather than subtypes.

The GObject object type name is "Fo" and the camel-case form of the XSL formatting object name. For example, fo:page-sequence maps to FoPageSequence.

Formatting Object property --> FoProperty

Each XSL property maps to a subtype of the FoProperty GObject object type.

An FoProperty has a value, which is a FoDatatype.

Functions that return or use XSL properties generally use FoProperty objects rather than specific subtypes.

The GObject object type name is "FoProperty" and the camel-case form of the XSL property name. For example, writing-mode maps to FoPropertyWritingMode.

XSL datatype --> FoDatatype

Each XSL dataype maps to a subtype of the FoDatatype GObject object type.

An FoDatatype has a value. The value is set when the FoDatatype is created, and it cannot be changed.

Functions that return or use XSL datatypes generally use FoDatatype objects rather than specific subtypes.

The GObject object type name is the camel-case form of the XSL datatype name. For example, color maps to FoColor.

Other Objects

Other parts of libfo, including FoXslFormatter, are implemented as subtypes of FoObject where it makes sense to do so.

xmlroff-0.6.2/docs/html/directory-structure.html0000644000175000017500000001446711156164733016764 00000000000000 Directory Structure

Directory Structure

Abstract

Structure of the xmlroff files

Directory structure

xmlroff
  libfo
    area
    datatype
    docs
    expr
    fo
    property
    util
  xmlroff

xmlroff

This is the root directory of the xmlroff source code tree. It contains the configuration files but no C source code.

xmlroff/libfo

Top-level interfaces for accessing the 'libfo' library.

.c and .h files for top-level, non-object source code as well as the .c and .h files for the top-level FoContext, FoObject and FoNode object types.

fo-context.[ch] are autogenerated (then modified).

xmlroff/libfo/area

Source code for area objects. None of these files are autogenerated.

xmlroff/libfo/datatype

Source code for datatype objects. None of these files are autogenerated.

xmlroff/docs

Documentation that is built using gtk-doc (which has a strong resemblance to Javadoc). A lot of the files are autogenerated by the gtk-doc tools.

xmlroff-property-{decl,ref}.ent are autogenerated by XSL stylesheets.

xmlroff/libfo/expr

Property value expression parser. None of these files are autogenerated.

xmlroff/libfo/fo

Source code for GObject objects corresponding to XSL formatting objects.

fo-*.c, fo-*.h, and fo-*-private.h are autogenerated but may have been additionally hand modified.

fo-*-area.[ch] are not autogenerated.

fo-tree*.[ch] are not autogenerated.

fo-inline-fo.[ch] and fo-block-fo.[ch] are not autogenerated.

xmlroff/property

Source code for GObject objects corresponding to XSL formatting object properties.

fo-property-*.[ch] are autogenerated, but may have been hand modified.

xmlroff/libfo/util

Source code for GObject objects that are useful but which don't relate to anything in the XSL spec, e.g., an FoObject-ified hash table implementation.

None of the code is autogenerated.

xmlroff/xmlroff

Source code for the 'xmlroff' command-line executable.

None of the code is autogenerated.

xmlroff-0.6.2/docs/html/FoAreaArea.html0000644000175000017500000014427211156164733014646 00000000000000 FoAreaArea

FoAreaArea

FoAreaArea

Synopsis

                    FoAreaArea;
                    FoAreaAreaClass;
FoArea*             fo_area_area_new                    (void);
void                fo_area_area_set_x                  (FoArea *fo_area,
                                                         gfloat new_x);
gfloat              fo_area_area_get_x                  (FoArea *fo_area);
void                fo_area_area_set_y                  (FoArea *fo_area,
                                                         gfloat new_y);
gfloat              fo_area_area_get_y                  (FoArea *fo_area);
void                fo_area_area_set_width              (FoArea *fo_area,
                                                         gfloat new_width);
gfloat              fo_area_area_get_width              (FoArea *fo_area);
void                fo_area_area_set_height             (FoArea *fo_area,
                                                         gfloat new_height);
gfloat              fo_area_area_get_height             (FoArea *fo_area);
void                fo_area_area_set_border_before      (FoArea *fo_area,
                                                         gfloat new_border_before);
gfloat              fo_area_area_get_border_before      (FoArea *fo_area);
void                fo_area_area_set_border_after       (FoArea *fo_area,
                                                         gfloat new_border_after);
gfloat              fo_area_area_get_border_after       (FoArea *fo_area);
void                fo_area_area_set_border_start       (FoArea *fo_area,
                                                         gfloat new_border_start);
gfloat              fo_area_area_get_border_start       (FoArea *fo_area);
void                fo_area_area_set_border_end         (FoArea *fo_area,
                                                         gfloat new_border_end);
gfloat              fo_area_area_get_border_end         (FoArea *fo_area);
void                fo_area_area_set_padding_before     (FoArea *fo_area,
                                                         gfloat new_padding_before);
gfloat              fo_area_area_get_padding_before     (FoArea *fo_area);
void                fo_area_area_set_padding_after      (FoArea *fo_area,
                                                         gfloat new_padding_after);
gfloat              fo_area_area_get_padding_after      (FoArea *fo_area);
void                fo_area_area_set_padding_start      (FoArea *fo_area,
                                                         gfloat new_padding_start);
gfloat              fo_area_area_get_padding_start      (FoArea *fo_area);
void                fo_area_area_set_padding_end        (FoArea *fo_area,
                                                         gfloat new_padding_end);
gfloat              fo_area_area_get_padding_end        (FoArea *fo_area);
void                fo_area_area_set_start_indent       (FoArea *fo_area,
                                                         gfloat new_start_indent);
gfloat              fo_area_area_get_start_indent       (FoArea *fo_area);
void                fo_area_area_set_end_indent         (FoArea *fo_area,
                                                         gfloat new_end_indent);
gfloat              fo_area_area_get_end_indent         (FoArea *fo_area);
void                fo_area_area_set_space_before       (FoArea *fo_area,
                                                         gfloat new_space_before);
gfloat              fo_area_area_get_space_before       (FoArea *fo_area);
void                fo_area_area_set_space_after        (FoArea *fo_area,
                                                         gfloat new_space_after);
gfloat              fo_area_area_get_space_after        (FoArea *fo_area);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaLayout
                           +----FoAreaListItem
                           +----FoAreaNormal
                           +----FoAreaReference
                           +----FoAreaTablePart
                           +----FoAreaTableCellProxy
                           +----FoAreaTableRow

Properties

  "height"                   gfloat                : Read / Write
  "width"                    gfloat                : Read / Write
  "x"                        gfloat                : Read / Write
  "y"                        gfloat                : Read / Write

Description

Details

FoAreaArea

typedef struct _FoAreaArea FoAreaArea;


FoAreaAreaClass

typedef struct _FoAreaAreaClass FoAreaAreaClass;


fo_area_area_new ()

FoArea*             fo_area_area_new                    (void);

Creates a new FoAreaArea initialized to default value.

Returns :

the new FoAreaArea

fo_area_area_set_x ()

void                fo_area_area_set_x                  (FoArea *fo_area,
                                                         gfloat new_x);

Sets the "x" property of fo_area to new_x

fo_area :

The FoAreaArea object

new_x :

The new "x" property value

fo_area_area_get_x ()

gfloat              fo_area_area_get_x                  (FoArea *fo_area);

Gets the "x" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "x" property value

fo_area_area_set_y ()

void                fo_area_area_set_y                  (FoArea *fo_area,
                                                         gfloat new_y);

Sets the "y" property of fo_area to new_y

fo_area :

The FoAreaArea object

new_y :

The new "y" property value

fo_area_area_get_y ()

gfloat              fo_area_area_get_y                  (FoArea *fo_area);

Gets the "y" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "y" property value

fo_area_area_set_width ()

void                fo_area_area_set_width              (FoArea *fo_area,
                                                         gfloat new_width);

Sets the "width" property of fo_area to new_width

fo_area :

The FoAreaArea object

new_width :

The new "width" property value

fo_area_area_get_width ()

gfloat              fo_area_area_get_width              (FoArea *fo_area);

Gets the "width" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "width" property value

fo_area_area_set_height ()

void                fo_area_area_set_height             (FoArea *fo_area,
                                                         gfloat new_height);

Sets the "height" property of fo_area to new_height

fo_area :

The FoAreaArea object

new_height :

The new "height" property value

fo_area_area_get_height ()

gfloat              fo_area_area_get_height             (FoArea *fo_area);

Gets the "height" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "height" property value

fo_area_area_set_border_before ()

void                fo_area_area_set_border_before      (FoArea *fo_area,
                                                         gfloat new_border_before);

Sets the "border-before" property of fo_area to new_border_before

fo_area :

The FoAreaArea object

new_border_before :

The new "border-before" property value

fo_area_area_get_border_before ()

gfloat              fo_area_area_get_border_before      (FoArea *fo_area);

Gets the "border-before" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "border_before" property value

fo_area_area_set_border_after ()

void                fo_area_area_set_border_after       (FoArea *fo_area,
                                                         gfloat new_border_after);

Sets the "border-after" property of fo_area to new_border_after

fo_area :

The FoAreaArea object

new_border_after :

The new "border-after" property value

fo_area_area_get_border_after ()

gfloat              fo_area_area_get_border_after       (FoArea *fo_area);

Gets the "border-after" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "border_after" property value

fo_area_area_set_border_start ()

void                fo_area_area_set_border_start       (FoArea *fo_area,
                                                         gfloat new_border_start);

Sets the "border-start" property of fo_area to new_border_start

fo_area :

The FoAreaArea object

new_border_start :

The new "border-start" property value

fo_area_area_get_border_start ()

gfloat              fo_area_area_get_border_start       (FoArea *fo_area);

Gets the "border-start" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "border_start" property value

fo_area_area_set_border_end ()

void                fo_area_area_set_border_end         (FoArea *fo_area,
                                                         gfloat new_border_end);

Sets the "border-end" property of fo_area to new_border_end

fo_area :

The FoAreaArea object

new_border_end :

The new "border-end" property value

fo_area_area_get_border_end ()

gfloat              fo_area_area_get_border_end         (FoArea *fo_area);

Gets the "border-end" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "border_end" property value

fo_area_area_set_padding_before ()

void                fo_area_area_set_padding_before     (FoArea *fo_area,
                                                         gfloat new_padding_before);

Sets the "padding-before" property of fo_area to new_padding_before

fo_area :

The FoAreaArea object

new_padding_before :

The new "padding-before" property value

fo_area_area_get_padding_before ()

gfloat              fo_area_area_get_padding_before     (FoArea *fo_area);

Gets the "padding-before" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "padding_before" property value

fo_area_area_set_padding_after ()

void                fo_area_area_set_padding_after      (FoArea *fo_area,
                                                         gfloat new_padding_after);

Sets the "padding-after" property of fo_area to new_padding_after

fo_area :

The FoAreaArea object

new_padding_after :

The new "padding-after" property value

fo_area_area_get_padding_after ()

gfloat              fo_area_area_get_padding_after      (FoArea *fo_area);

Gets the "padding-after" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "padding_after" property value

fo_area_area_set_padding_start ()

void                fo_area_area_set_padding_start      (FoArea *fo_area,
                                                         gfloat new_padding_start);

Sets the "padding-start" property of fo_area to new_padding_start

fo_area :

The FoAreaArea object

new_padding_start :

The new "padding-start" property value

fo_area_area_get_padding_start ()

gfloat              fo_area_area_get_padding_start      (FoArea *fo_area);

Gets the "padding-start" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "padding_start" property value

fo_area_area_set_padding_end ()

void                fo_area_area_set_padding_end        (FoArea *fo_area,
                                                         gfloat new_padding_end);

Sets the "padding-end" property of fo_area to new_padding_end

fo_area :

The FoAreaArea object

new_padding_end :

The new "padding-end" property value

fo_area_area_get_padding_end ()

gfloat              fo_area_area_get_padding_end        (FoArea *fo_area);

Gets the "padding-end" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "padding_end" property value

fo_area_area_set_start_indent ()

void                fo_area_area_set_start_indent       (FoArea *fo_area,
                                                         gfloat new_start_indent);

Sets the "start-indent" property of fo_area to new_start_indent

fo_area :

The FoAreaArea object

new_start_indent :

The new "start-indent" property value

fo_area_area_get_start_indent ()

gfloat              fo_area_area_get_start_indent       (FoArea *fo_area);

Gets the "start-indent" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "start_indent" property value

fo_area_area_set_end_indent ()

void                fo_area_area_set_end_indent         (FoArea *fo_area,
                                                         gfloat new_end_indent);

Sets the "end-indent" property of fo_area to new_end_indent

fo_area :

The FoAreaArea object

new_end_indent :

The new "end-indent" property value

fo_area_area_get_end_indent ()

gfloat              fo_area_area_get_end_indent         (FoArea *fo_area);

Gets the "end-indent" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "end_indent" property value

fo_area_area_set_space_before ()

void                fo_area_area_set_space_before       (FoArea *fo_area,
                                                         gfloat new_space_before);

Sets the "space-before" property of fo_area to new_space_before

fo_area :

The FoAreaArea object

new_space_before :

The new "space-before" property value

fo_area_area_get_space_before ()

gfloat              fo_area_area_get_space_before       (FoArea *fo_area);

Gets the "space-before" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "space_before" property value

fo_area_area_set_space_after ()

void                fo_area_area_set_space_after        (FoArea *fo_area,
                                                         gfloat new_space_after);

Sets the "space-after" property of fo_area to new_space_after

fo_area :

The FoAreaArea object

new_space_after :

The new "space-after" property value

fo_area_area_get_space_after ()

gfloat              fo_area_area_get_space_after        (FoArea *fo_area);

Gets the "space-after" property of fo_area

fo_area :

The FoAreaArea object

Returns :

The "space_after" property value

Property Details

The "height" property

  "height"                   gfloat                : Read / Write

Area height property.

Allowed values: >= 0

Default value: 0


The "width" property

  "width"                    gfloat                : Read / Write

Area width property.

Allowed values: >= 0

Default value: 0


The "x" property

  "x"                        gfloat                : Read / Write

x position property.

Allowed values: >= 0

Default value: 0


The "y" property

  "y"                        gfloat                : Read / Write

y position property.

Allowed values: >= 0

Default value: 0

xmlroff-0.6.2/docs/html/fo-area-c-file.html0000644000175000017500000001742311156164733015364 00000000000000 Anatomy of a Formatting Object area source code file

Anatomy of a Formatting Object area source code file

FO -area.c File

Abstract

Anatomy of a Formatting Object area source code file

These files are not autogenerated.

Some, but not all, formatting objects generate areas. Those that do generate areas and are implemented in xmlroff have an -area.c and area.h file.

The -area.[ch] files exist to implement fo_fo_area_new2() for the GObject class for the formatting object (or, for formatting objects implemented early and not yet brought up to date, to implement fo_fo_area_new()).

The _area_new2() or _area_new() function creates an area of the type appropriate for the formatting object and adds it to the formatting object tree.

The differences between the _area_new2() and _area_new() functions are really just in their interface: the _area_new2() functions get most of their inputs in a FoFoAreaNew2Context structure rather than as individual arguments. The _area_new2() functions also have a GError argument for error reporting.

The least straightforward -area.c file is fo-block-area.c, since that's where FoText and inline formatting objects are made into Pango layouts. The rest are mostly straightforward.

Initial comment

/* Fo
 * fo-table-body-area.c: Generate area for 'table-body' formatting object
 *
 * Copyright (C) 2001 Sun Microsystems
 *
 * $Id: fo-area-c-file.xml,v 1.1 2006/03/14 19:42:57 tonygraham Exp $
 *
 * See Copying for the status of this software.
 */

#includes

#include <fo-area-table-body.h>

The public interface for the type of area generated by this formatting object.

#include <fo-table-body-private.h>

The private interface of this formatting object type.

FoFo _area_new2()

Add the area generated by the formatting object to the area tree.

 /**
 * fo_table_body_area_new2:
 * @fo:      #FoTableBody
 * @context: #FoFoAreaNew2Context
 * @error:   #GError
 *
 * Create a new area for @fo and add it to the parent area.
 *
 * A pointer to the parent area is in @context.
 **/
void
fo_table_body_area_new2 (FoFo                *fo,
                         FoFoAreaNew2Context *context,
                         GError             **error)
{
 FoTableBody *table_body = (FoTableBody *) fo;
 FoArea *use_parent_area;
 FoArea *new_area;

 g_return_if_fail (table_body != NULL);
 g_return_if_fail (FO_IS_TABLE_BODY (table_body));
 g_return_if_fail (context != NULL);
 g_return_if_fail (error == NULL || *error == NULL);

 new_area = fo_area_table_body_new ();
 use_parent_area = context->parent_area;

#if defined(LIBFO_DEBUG) && 0
 g_warning ("*** table-body parent before new area:");
 fo_object_debug_dump (parent_area, 0);
 g_warning ("*** end table-body parent");
 #endif

FO_AREA (new_area)->generated_by = fo;

Areas keep track of which FO generated them so they can get some property values, e.g., colors, from the FO rather than loading the area objects with duplicates of all the applicable formatting object property values.

 FO_FO (fo)->areas = g_list_append (FO_FO (fo)->areas, new_area);

FOs keep track of which areas they've generated

 fo_area_add_child (use_parent_area, new_area);

Attach the new area to the area tree.

 new_area = fo_area_size_request (new_area);

The new area asks its parent to allocate space for it. Anything could happen at this point: the area might not fit in the space remaining for it on the current page, so the new area, the parent area, and all containing areas up the page area may need to be split so one part of the new area is on the current page and the rest on the next page (or on multiple pages if it is big enough).

Consequently, the area returned by fo_area_size_request() might not be the same area that was passed to it. The return value is the last area resulting from the original new_area.

 fo_area_area_set_width (new_area, fo_area_get_available_width (new_area));

#if defined(LIBFO_DEBUG) && 0
 g_warning ("*** table-body parent after new area:");
 fo_object_debug_dump (parent_area, 0);
 g_warning ("*** end table-body parent");
#endif

 *(context->new_area) = new_area;

'Return' the new area so there's somewhere to hang the areas generated by the children of the current formatting object.

}
xmlroff-0.6.2/docs/html/FoArea.html0000644000175000017500000030065011156164733014047 00000000000000 FoArea

FoArea

FoArea

Synopsis

                    FoArea;
                    FoAreaClass;
FoArea*             fo_area_new                         (void);
FoArea*             fo_area_get_page                    (FoArea *fo_area);
FoArea*             fo_area_get_reference               (FoArea *fo_area);
FoArea*             fo_area_get_page_sequence           (FoArea *fo_area);
gboolean            fo_area_get_is_first                (FoArea *fo_area);
gboolean            fo_area_get_is_last                 (FoArea *fo_area);
gfloat              fo_area_get_next_x                  (FoArea *fo_area);
void                fo_area_set_next_x                  (FoArea *fo_area,
                                                         gfloat new_next_x);
gfloat              fo_area_get_next_y                  (FoArea *fo_area);
void                fo_area_set_next_y                  (FoArea *fo_area,
                                                         gfloat new_next_y);
gfloat              fo_area_get_available_width         (FoArea *fo_area);
void                fo_area_set_available_width         (FoArea *fo_area,
                                                         gfloat new_available_width);
gfloat              fo_area_get_available_height        (FoArea *fo_area);
void                fo_area_set_available_height        (FoArea *fo_area,
                                                         gfloat new_available_height);
gfloat              fo_area_get_child_available_ipdim   (FoArea *fo_area);
void                fo_area_set_child_available_ipdim   (FoArea *fo_area,
                                                         gfloat new_child_available_ipdim);
gfloat              fo_area_get_child_available_bpdim   (FoArea *fo_area);
void                fo_area_set_child_available_bpdim   (FoArea *fo_area,
                                                         gfloat new_child_available_bpdim);
FoFo*               fo_area_get_generated_by            (FoArea *fo_area);
void                fo_area_set_generated_by            (FoArea *fo_area,
                                                         FoFo *new_fo);
FoArea*             fo_area_add_child                   (FoArea *parent,
                                                         FoArea *child);
FoArea*             fo_area_size_request                (FoArea *child);
void                fo_area_debug_dump_properties       (FoArea *area,
                                                         gint depth);
void                fo_area_border_padding_space_resolve
                                                        (FoArea *parent_area,
                                                         FoArea *child_area);
FoArea*             fo_area_break_resolve               (FoArea *parent_area,
                                                         FoArea *new_area);
void                fo_area_set_height_from_children    (FoArea *parent_area);
FoArea*             fo_area_clone                       (FoArea *original);
void                fo_area_update_after_clone          (FoArea *clone,
                                                         FoArea *original);
FoArea*             fo_area_split_before_height         (FoArea *area,
                                                         gfloat height);
gboolean            fo_area_split_before_height_check   (FoArea *area,
                                                         gfloat height);
void                fo_area_resolve_text_align          (FoArea *area);
gboolean            (*FoAreaTraverseFunc)               (FoArea *area,
                                                         gpointer data);
void                (*FoAreaForeachFunc)                (FoArea *area,
                                                         gpointer data);
#define             FO_AREA_IS_ROOT                     (area)
#define             FO_AREA_IS_LEAF                     (area)
FoArea*             fo_area_insert                      (FoArea *parent,
                                                         gint position,
                                                         FoArea *area);
FoArea*             fo_area_insert_before               (FoArea *parent,
                                                         FoArea *sibling,
                                                         FoArea *area);
FoArea*             fo_area_insert_after                (FoArea *parent,
                                                         FoArea *sibling,
                                                         FoArea *area);
FoArea*             fo_area_prepend                     (FoArea *parent,
                                                         FoArea *area);
guint               fo_area_n_areas                     (FoArea *root,
                                                         GTraverseFlags flags);
FoArea*             fo_area_get_root                    (FoArea *area);
gboolean            fo_area_is_ancestor                 (FoArea *area,
                                                         FoArea *descendant);
guint               fo_area_depth                       (FoArea *area);
FoArea*             fo_area_append                      (FoArea *parent,
                                                         FoArea *area);
void                fo_area_traverse                    (FoArea *root,
                                                         GTraverseType order,
                                                         GTraverseFlags flags,
                                                         gint max_depth,
                                                         FoAreaTraverseFunc func,
                                                         gpointer data);
guint               fo_area_max_height                  (FoArea *root);
void                fo_area_children_foreach            (FoArea *area,
                                                         GTraverseFlags flags,
                                                         FoAreaForeachFunc func,
                                                         gpointer data);
void                fo_area_reverse_children            (FoArea *area);
guint               fo_area_n_children                  (FoArea *area);
FoArea*             fo_area_nth_child                   (FoArea *area,
                                                         guint n);
FoArea*             fo_area_last_child                  (FoArea *area);
guint               fo_area_child_position              (FoArea *area,
                                                         FoArea *child);
FoArea*             fo_area_first_sibling               (FoArea *area);
FoArea*             fo_area_last_sibling                (FoArea *area);
FoArea*             fo_area_prev_sibling                (FoArea *area);
FoArea*             fo_area_next_sibling                (FoArea *area);
FoArea*             fo_area_first_child                 (FoArea *area);
FoArea*             fo_area_parent                      (FoArea *area);
void                fo_area_unlink                      (FoArea *area);
void                fo_area_unlink_with_next_siblings   (FoArea *area);
FoArea*             fo_area_insert_with_next_siblings   (FoArea *parent,
                                                         gint position,
                                                         FoArea *area);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                     +----FoAreaTree

Properties

  "available-height"         gfloat                : Read / Write
  "available-width"          gfloat                : Read / Write
  "child-available-bpdim"    gfloat                : Read / Write
  "child-available-ipdim"    gfloat                : Read / Write
  "generated-by"             FoFo*                 : Read / Write
  "is-first"                 gboolean              : Read
  "is-last"                  gboolean              : Read
  "next-x"                   gfloat                : Read / Write
  "next-y"                   gfloat                : Read / Write
  "page"                     FoArea*               : Read
  "page-sequence"            FoFo*                 : Read / Write

Description

Details

FoArea

typedef struct _FoArea FoArea;

Instance of the base class for area objects.


FoAreaClass

typedef struct _FoAreaClass FoAreaClass;

Class structure for the base class for area objects.


fo_area_new ()

FoArea*             fo_area_new                         (void);

Creates a new FoArea initialized to default value.

Returns :

the new FoArea

fo_area_get_page ()

FoArea*             fo_area_get_page                    (FoArea *fo_area);

Gets the page property of area

fo_area :

The FoArea object

Returns :

The "page" property value

fo_area_get_reference ()

FoArea*             fo_area_get_reference               (FoArea *fo_area);

Gets the reference property of area

fo_area :

The FoArea object

Returns :

The "reference" property value

fo_area_get_page_sequence ()

FoArea*             fo_area_get_page_sequence           (FoArea *fo_area);

Gets the page_sequence property of area

fo_area :

The FoArea object

Returns :

The "page-sequence" property value

fo_area_get_is_first ()

gboolean            fo_area_get_is_first                (FoArea *fo_area);

Gets the is_first property of area

fo_area :

The FoArea object

Returns :

The "is-first" property value

fo_area_get_is_last ()

gboolean            fo_area_get_is_last                 (FoArea *fo_area);

Gets the is_last property of area

fo_area :

The FoArea object

Returns :

The "is-last" property value

fo_area_get_next_x ()

gfloat              fo_area_get_next_x                  (FoArea *fo_area);

Gets the next_x property of area

fo_area :

The FoArea object

Returns :

The "next_x" property value

fo_area_set_next_x ()

void                fo_area_set_next_x                  (FoArea *fo_area,
                                                         gfloat new_next_x);

Sets the next-x property of area to new_next_x

fo_area :

The FoArea object

new_next_x :

The new "next_x" property value

fo_area_get_next_y ()

gfloat              fo_area_get_next_y                  (FoArea *fo_area);

Gets the "next_y" property of area

fo_area :

The FoArea object

Returns :

The "next-y" property value

fo_area_set_next_y ()

void                fo_area_set_next_y                  (FoArea *fo_area,
                                                         gfloat new_next_y);

Sets the next-y property of area to new_next_y

fo_area :

The FoArea object

new_next_y :

The new "next-y" property value

fo_area_get_available_width ()

gfloat              fo_area_get_available_width         (FoArea *fo_area);

Gets the "available-width" property of area

fo_area :

The FoArea object

Returns :

The "available-width" property value

fo_area_set_available_width ()

void                fo_area_set_available_width         (FoArea *fo_area,
                                                         gfloat new_available_width);

Sets the "available-width" property of area to new_available_width

fo_area :

The FoArea object

new_available_width :

The new "available-width" property value

fo_area_get_available_height ()

gfloat              fo_area_get_available_height        (FoArea *fo_area);

Gets the available-height property of area

fo_area :

The FoArea object

Returns :

The "available_height" property value

fo_area_set_available_height ()

void                fo_area_set_available_height        (FoArea *fo_area,
                                                         gfloat new_available_height);

Sets the available-height property of area to new_available_height

fo_area :

The FoArea object

new_available_height :

The new "available-height" property value

fo_area_get_child_available_ipdim ()

gfloat              fo_area_get_child_available_ipdim   (FoArea *fo_area);

Gets the "child-available-ipdim" property of area

fo_area :

The FoArea object

Returns :

The "child-available-ipdim" property value

fo_area_set_child_available_ipdim ()

void                fo_area_set_child_available_ipdim   (FoArea *fo_area,
                                                         gfloat new_child_available_ipdim);

Sets the "child-available-ipdim" property of area to new_child_available_ipdim

fo_area :

The FoArea object

new_child_available_ipdim :

The new "child-available-ipdim" property value

fo_area_get_child_available_bpdim ()

gfloat              fo_area_get_child_available_bpdim   (FoArea *fo_area);

Gets the "child-available-bpdim" property of area

fo_area :

The FoArea object

Returns :

The "child-available-bpdim" property value

fo_area_set_child_available_bpdim ()

void                fo_area_set_child_available_bpdim   (FoArea *fo_area,
                                                         gfloat new_child_available_bpdim);

Sets the "child-available-bpdim" property of area to new_child_available_bpdim

fo_area :

The FoArea object

new_child_available_bpdim :

The new "child-available-bpdim" property value

fo_area_get_generated_by ()

FoFo*               fo_area_get_generated_by            (FoArea *fo_area);

Gets the generated-by property of area

fo_area :

The FoArea object

Returns :

The "generated-by" property value

fo_area_set_generated_by ()

void                fo_area_set_generated_by            (FoArea *fo_area,
                                                         FoFo *new_fo);

Sets the generated-by property of area to new_fo

fo_area :

The FoArea object

new_fo :

The new "generated-by" property value

fo_area_add_child ()

FoArea*             fo_area_add_child                   (FoArea *parent,
                                                         FoArea *child);

Add child to parent by calling the _add_child() function for parent.

parent :

Parent area node

child :

Child area node

Returns :

child

fo_area_size_request ()

FoArea*             fo_area_size_request                (FoArea *child);

Checks that the parent area of child has sufficient space for child. If not enough space, requests that the parent has sufficient space allocated for it, then adjusts child and its siblings as necessary to fit into the resized parent area.

You should call #fo_area_size_request() immediately after adding an area to the area tree or making a change to the area's height.

The child area's requested height is taken from the area's height property value. Its requested width is taken from its width property value.

The height allocated to the area is set in the area's available_height property value. Its width allocation is set in its available_width property value.

Immediately after calling this function, the child area should set its height and width according to the available_height and available_width property values. How the child area resolves any difference between the available height and width and the height and width that it needs is up to the child area to work out.

The child area's x and y property values may also have been adjusted, but a child area doesn't set its own x and y property values anyway.

The area that is returned may be a different area object than the child area that is passed as the argument to this function. For example, the parent area may not have been large enough to contain the child area at its requested height, and the child area, the parent area, and all ancestor areas up to an FoAreaPage may have been split (possibly more than once) and the overflow placed on one or more new pages.

child :

Child area

Returns :

Pointer to the last area generated from child after any reallocation and resizing

fo_area_debug_dump_properties ()

void                fo_area_debug_dump_properties       (FoArea *area,
                                                         gint depth);

Dump the properties of area.

area :

The FoArea object

depth :

Indent level to add to the output

fo_area_border_padding_space_resolve ()

void                fo_area_border_padding_space_resolve
                                                        (FoArea *parent_area,
                                                         FoArea *child_area);

Resolves the border, padding, and space properties of child_area.

parent_area :

Parent area of child_area.

child_area :

FoArea for which to resolve properties.

fo_area_break_resolve ()

FoArea*             fo_area_break_resolve               (FoArea *parent_area,
                                                         FoArea *new_area);

Resolves the break properties of new_area, which may result in new_area being split into multiple areas.

parent_area :

Parent area of new_area.

new_area :

FoArea for which to resolve breaks.

Returns :

Last area resulting from resolving breaks.

fo_area_set_height_from_children ()

void                fo_area_set_height_from_children    (FoArea *parent_area);

parent_area :


fo_area_clone ()

FoArea*             fo_area_clone                       (FoArea *original);

Make a clone of original and insert the clone after original in the area tree. Set instance properties of the clone to match original.

original :

Area object to be cloned.

Returns :

Clone of original.

fo_area_update_after_clone ()

void                fo_area_update_after_clone          (FoArea *clone,
                                                         FoArea *original);

Update the instance variables of clone to match those of original.

clone :

New object cloned from original.

original :

Original area object.

fo_area_split_before_height ()

FoArea*             fo_area_split_before_height         (FoArea *area,
                                                         gfloat height);

Split area at or before height.

area :

FoArea to be split

height :

Maximum block-progression-dimension of area

Returns :

The part of area spit from area, or NULL if unsplit.

fo_area_split_before_height_check ()

gboolean            fo_area_split_before_height_check   (FoArea *area,
                                                         gfloat height);

Check whether area can split at or before height.

area :

FoArea to be split

height :

Maximum block-progression-dimension of area

Returns :

TRUE if can split, otherwise FALSE.

fo_area_resolve_text_align ()

void                fo_area_resolve_text_align          (FoArea *area);

Resolves the text alignment value for area and its descendants.

area :

FoArea for which to resolve text alignment.

FoAreaTraverseFunc ()

gboolean            (*FoAreaTraverseFunc)               (FoArea *area,
                                                         gpointer data);

area :

data :

Returns :


FoAreaForeachFunc ()

void                (*FoAreaForeachFunc)                (FoArea *area,
                                                         gpointer data);

area :

data :


FO_AREA_IS_ROOT()

#define FO_AREA_IS_ROOT(area)    (FO_NODE_IS_ROOT(((FoNode*) (area))))

area :


FO_AREA_IS_LEAF()

#define FO_AREA_IS_LEAF(area)    (FO_NODE_IS_LEAF(((FoNode*) (area))))

area :


fo_area_insert ()

FoArea*             fo_area_insert                      (FoArea *parent,
                                                         gint position,
                                                         FoArea *area);

parent :

position :

area :

Returns :


fo_area_insert_before ()

FoArea*             fo_area_insert_before               (FoArea *parent,
                                                         FoArea *sibling,
                                                         FoArea *area);

parent :

sibling :

area :

Returns :


fo_area_insert_after ()

FoArea*             fo_area_insert_after                (FoArea *parent,
                                                         FoArea *sibling,
                                                         FoArea *area);

parent :

sibling :

area :

Returns :


fo_area_prepend ()

FoArea*             fo_area_prepend                     (FoArea *parent,
                                                         FoArea *area);

Inserts a FoArea as the first child of the given parent and updates the inserted FoArea.

parent :

the FoArea to place the new FoArea under.

area :

the FoArea to insert.

Returns :

the inserted FoArea.

fo_area_n_areas ()

guint               fo_area_n_areas                     (FoArea *root,
                                                         GTraverseFlags flags);

Gets the number of nodes in a tree.

root :

a FoArea.

flags :

which types of children are to be counted, one of G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS.

Returns :

the number of nodes in the tree.

fo_area_get_root ()

FoArea*             fo_area_get_root                    (FoArea *area);

area :

Returns :


fo_area_is_ancestor ()

gboolean            fo_area_is_ancestor                 (FoArea *area,
                                                         FoArea *descendant);

area :

descendant :

Returns :


fo_area_depth ()

guint               fo_area_depth                       (FoArea *area);

Gets the depth of a FoArea.

If area is NULL the depth is 0. The root node has a depth of 1. For the children of the root node the depth is 2. And so on.

area :

a FoArea.

Returns :

the depth of the FoArea.

fo_area_append ()

FoArea*             fo_area_append                      (FoArea *parent,
                                                         FoArea *area);

Inserts a FoArea as the last child of the given parent and updates the inserted FoArea.

parent :

the FoArea to place the new FoArea under.

area :

the FoArea to insert.

Returns :

the inserted FoArea.

fo_area_traverse ()

void                fo_area_traverse                    (FoArea *root,
                                                         GTraverseType order,
                                                         GTraverseFlags flags,
                                                         gint max_depth,
                                                         FoAreaTraverseFunc func,
                                                         gpointer data);

root :

order :

flags :

max_depth :

func :

data :


fo_area_max_height ()

guint               fo_area_max_height                  (FoArea *root);

Gets the maximum height of all branches beneath a FoArea. This is the maximum distance from the FoArea to all leaf nodes.

If root is NULL, 0 is returned. If root has no children, 1 is returned. If root has children, 2 is returned. And so on.

root :

Root node of a FoArea tree.

Returns :

the maximum height of the tree beneath root.

fo_area_children_foreach ()

void                fo_area_children_foreach            (FoArea *area,
                                                         GTraverseFlags flags,
                                                         FoAreaForeachFunc func,
                                                         gpointer data);

Calls a function for each of the children of a FoArea. Note that it doesn't descend beneath the child nodes.

area :

a FoArea.

flags :

which types of children are to be visited, one of G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS.

func :

the function to call for each visited node.

data :

user data to pass to the function.

fo_area_reverse_children ()

void                fo_area_reverse_children            (FoArea *area);

Reverses the order of the children of a FoArea. (It doesn't change the order of the grandchildren.)

area :

a FoArea.

fo_area_n_children ()

guint               fo_area_n_children                  (FoArea *area);

Gets the number of children of a FoArea.

area :

a FoArea.

Returns :

the number of children of area.

fo_area_nth_child ()

FoArea*             fo_area_nth_child                   (FoArea *area,
                                                         guint n);

Gets a child of a FoArea, using the given index. The first child is at index 0. If the index is too big, NULL is returned.

area :

a FoArea.

n :

the index of the desired child.

Returns :

the child of area at index n.

fo_area_last_child ()

FoArea*             fo_area_last_child                  (FoArea *area);

Gets the last child of a FoArea.

area :

a FoArea (nust not be NULL).

Returns :

the last child of area, or NULL if area has no children.

fo_area_child_position ()

guint               fo_area_child_position              (FoArea *area,
                                                         FoArea *child);

Gets the position of a FoArea with respect to its siblings. child must be a child of area. The first child is numbered 0, the second 1, and so on.

area :

a FoArea.

child :

a child of area.

Returns :

the position of child with respect to its siblings.

fo_area_first_sibling ()

FoArea*             fo_area_first_sibling               (FoArea *area);

Gets the first sibling of a FoArea. This could possibly be the node itself.

area :

a FoArea.

Returns :

the first sibling of area.

fo_area_last_sibling ()

FoArea*             fo_area_last_sibling                (FoArea *area);

Gets the last sibling of a FoArea. This could possibly be the node itself.

area :

a FoArea.

Returns :

the last sibling of area.

fo_area_prev_sibling ()

FoArea*             fo_area_prev_sibling                (FoArea *area);

Gets the previous sibling of a FoArea.

area :

a FoArea.

Returns :

the previous sibling of area, or NULL if area is NULL.

fo_area_next_sibling ()

FoArea*             fo_area_next_sibling                (FoArea *area);

Gets the next sibling of a FoArea.

area :

a FoArea.

Returns :

the next sibling of area, or NULL if area is NULL.

fo_area_first_child ()

FoArea*             fo_area_first_child                 (FoArea *area);

Gets the first child of a FoArea.

area :

A FoArea.

Returns :

the first child of area, or NULL if area is NULL or has no children.

fo_area_parent ()

FoArea*             fo_area_parent                      (FoArea *area);

Gets the parent of a FoArea.

area :

a FoArea.

Returns :

the parent of area, or NULL if area is the root of the tree.

fo_area_unlink ()

void                fo_area_unlink                      (FoArea *area);

Unlinks an FoArea from an FoArea tree, resulting in two separate trees.

area :

the FoArea to unlink, which becomes the root of a new tree.

fo_area_unlink_with_next_siblings ()

void                fo_area_unlink_with_next_siblings   (FoArea *area);

Unlinks area and its following siblings.

area :

First FoArea to unlink.

fo_area_insert_with_next_siblings ()

FoArea*             fo_area_insert_with_next_siblings   (FoArea *parent,
                                                         gint position,
                                                         FoArea *area);

Implements fo_node_insert_with_next_siblings for FoArea.

parent :

FoArea to be parent of area and its siblings.

position :

Offset at which to insert area and its siblings.

area :

FoArea, possibly with following siblings.

Returns :

parent with area and siblings inserted.

Property Details

The "available-height" property

  "available-height"         gfloat                : Read / Write

Height available to child areas.

Default value: 0


The "available-width" property

  "available-width"          gfloat                : Read / Write

Width available to child areas.

Allowed values: >= 0

Default value: 0


The "child-available-bpdim" property

  "child-available-bpdim"    gfloat                : Read / Write

Block-progression-dimension available to child areas.

Allowed values: >= 0

Default value: 0


The "child-available-ipdim" property

  "child-available-ipdim"    gfloat                : Read / Write

Inline-progression-dimension available to child areas.

Allowed values: >= 0

Default value: 0


The "generated-by" property

  "generated-by"             FoFo*                 : Read / Write

Formatting object that generated this area.


The "is-first" property

  "is-first"                 gboolean              : Read

Is this the first area produced by the formatting object?.

Default value: TRUE


The "is-last" property

  "is-last"                  gboolean              : Read

Is this the last area produced by the formatting object?.

Default value: TRUE


The "next-x" property

  "next-x"                   gfloat                : Read / Write

x-coordinate of next child area.

Allowed values: >= 0

Default value: 0


The "next-y" property

  "next-y"                   gfloat                : Read / Write

y-coordinate of next child area.

Allowed values: >= 0

Default value: 0


The "page" property

  "page"                     FoArea*               : Read

Ancestor FoAreaPage node in the area tree.


The "page-sequence" property

  "page-sequence"            FoFo*                 : Read / Write

Ancestor fo:page_sequence node in the formatting object tree.

xmlroff-0.6.2/docs/html/FoAreaLayout.html0000644000175000017500000004342311156164733015247 00000000000000 FoAreaLayout

FoAreaLayout

FoAreaLayout

Synopsis

                    FoAreaLayout;
                    FoAreaLayoutClass;
FoArea*             fo_area_layout_new                  (void);
FoArea*             fo_area_layout_new_with_layout      (FoLayout *layout);
void                fo_area_layout_set_layout           (FoArea *fo_area_layout,
                                                         FoLayout *new_layout);
FoLayout*           fo_area_layout_get_layout           (FoArea *fo_area_layout);
void                fo_area_layout_set_line_first       (FoArea *fo_area_layout,
                                                         guint new_line_first);
guint               fo_area_layout_get_line_first       (FoArea *fo_area_layout);
void                fo_area_layout_set_line_last        (FoArea *fo_area_layout,
                                                         guint new_line_last);
guint               fo_area_layout_get_line_last        (FoArea *fo_area_layout);
gdouble             fo_area_layout_get_line_height      (FoArea *fo_area_layout,
                                                         gint line_number);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaLayout

Properties

  "layout"                   gpointer              : Read / Write

Description

Details

FoAreaLayout

typedef struct _FoAreaLayout FoAreaLayout;


FoAreaLayoutClass

typedef struct _FoAreaLayoutClass FoAreaLayoutClass;


fo_area_layout_new ()

FoArea*             fo_area_layout_new                  (void);

Creates a new FoAreaLayout initialized to default value.

Returns :

the new FoAreaLayout

fo_area_layout_new_with_layout ()

FoArea*             fo_area_layout_new_with_layout      (FoLayout *layout);

Creates a new FoAreaLayout initialized with layout.

layout :

FoLayout used by the new FoAreaLayout

Returns :

the new FoAreaLayout

fo_area_layout_set_layout ()

void                fo_area_layout_set_layout           (FoArea *fo_area_layout,
                                                         FoLayout *new_layout);

Sets the layout property of area_area to new_layout

fo_area_layout :

The FoAreaLayout object

new_layout :

The new "layout" property value

fo_area_layout_get_layout ()

FoLayout*           fo_area_layout_get_layout           (FoArea *fo_area_layout);

Gets the layout property of area_layout

fo_area_layout :

The FoAreaLayout object

Returns :

The "layout" property value

fo_area_layout_set_line_first ()

void                fo_area_layout_set_line_first       (FoArea *fo_area_layout,
                                                         guint new_line_first);

Sets the line-first property of area_area to new_line_first

fo_area_layout :

The FoAreaLayout object

new_line_first :

The new "line_first" property value

fo_area_layout_get_line_first ()

guint               fo_area_layout_get_line_first       (FoArea *fo_area_layout);

Gets the line-first property of area_layout

fo_area_layout :

The FoAreaLayout object

Returns :

The "line_first" property value

fo_area_layout_set_line_last ()

void                fo_area_layout_set_line_last        (FoArea *fo_area_layout,
                                                         guint new_line_last);

Sets the line-last property of fo_area_layout to new_line_last.

fo_area_layout :

The FoAreaLayout object.

new_line_last :

The new "line_last" property value.

fo_area_layout_get_line_last ()

guint               fo_area_layout_get_line_last        (FoArea *fo_area_layout);

Gets the line-last property of fo_area_layout.

fo_area_layout :

The FoAreaLayout object.

Returns :

The "line_last" property value.

fo_area_layout_get_line_height ()

gdouble             fo_area_layout_get_line_height      (FoArea *fo_area_layout,
                                                         gint line_number);

Get the height of line line_number.

fo_area_layout :

FoArea.

line_number :

Number of the line for which to get the height.

Returns :

The line height in points.

Property Details

The "layout" property

  "layout"                   gpointer              : Read / Write

FoLayout layout of formatted text of block.

xmlroff-0.6.2/docs/html/FoAreaListItem.html0000644000175000017500000001320011156164733015512 00000000000000 FoAreaListItem

FoAreaListItem

FoAreaListItem

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaListItem

Description

Details

FoAreaListItem

typedef struct _FoAreaListItem FoAreaListItem;


FoAreaListItemClass

typedef struct _FoAreaListItemClass FoAreaListItemClass;


fo_area_list_item_new ()

FoArea*             fo_area_list_item_new               (void);

Creates a new FoAreaListItem initialized to default value.

Returns :

the new FoAreaListItem
xmlroff-0.6.2/docs/html/FoAreaNormal.html0000644000175000017500000001305411156164733015217 00000000000000 FoAreaNormal

FoAreaNormal

FoAreaNormal

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaNormal

Description

Details

FoAreaNormal

typedef struct _FoAreaNormal FoAreaNormal;


FoAreaNormalClass

typedef struct _FoAreaNormalClass FoAreaNormalClass;


fo_area_normal_new ()

FoArea*             fo_area_normal_new                  (void);

Creates a new FoAreaNormal initialized to default value.

Returns :

the new FoAreaNormal
xmlroff-0.6.2/docs/html/FoAreaPage.html0000644000175000017500000007416711156164733014657 00000000000000 FoAreaPage

FoAreaPage

FoAreaPage

Synopsis

                    FoAreaPage;
                    FoAreaPageClass;
#define             FO_AREA_PAGE_ERROR
GQuark              fo_area_page_error_quark            (void);
enum                FoAreaPageError;
FoArea*             fo_area_page_new                    (void);
void                fo_area_page_set_page_number        (FoArea *fo_area_page,
                                                         gint new_page_number);
gint                fo_area_page_get_page_number        (FoArea *fo_area_page);
void                fo_area_page_set_page_width         (FoArea *fo_area_page,
                                                         gfloat new_page_width);
gfloat              fo_area_page_get_page_width         (FoArea *fo_area_page);
void                fo_area_page_set_page_height        (FoArea *fo_area_page,
                                                         gfloat new_page_height);
gfloat              fo_area_page_get_page_height        (FoArea *fo_area_page);
void                fo_area_page_set_margin_top         (FoArea *fo_area_page,
                                                         gfloat new_margin_top);
gfloat              fo_area_page_get_margin_top         (FoArea *fo_area_page);
void                fo_area_page_set_margin_bottom      (FoArea *fo_area_page,
                                                         gfloat new_margin_bottom);
gfloat              fo_area_page_get_margin_bottom      (FoArea *fo_area_page);
void                fo_area_page_set_margin_left        (FoArea *fo_area_page,
                                                         gfloat new_margin_left);
gfloat              fo_area_page_get_margin_left        (FoArea *fo_area_page);
void                fo_area_page_set_margin_right       (FoArea *fo_area_page,
                                                         gfloat new_margin_right);
gfloat              fo_area_page_get_margin_right       (FoArea *fo_area_page);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaReference
                                 +----FoAreaViewportReference
                                       +----FoAreaPage

Properties

  "margin-bottom"            gfloat                : Read / Write
  "margin-left"              gfloat                : Read / Write
  "margin-right"             gfloat                : Read / Write
  "margin-top"               gfloat                : Read / Write
  "page-height"              gfloat                : Read / Write
  "page-number"              gint                  : Read / Write
  "page-width"               gfloat                : Read / Write

Description

Details

FoAreaPage

typedef struct _FoAreaPage FoAreaPage;


FoAreaPageClass

typedef struct _FoAreaPageClass FoAreaPageClass;


FO_AREA_PAGE_ERROR

#define FO_AREA_PAGE_ERROR (fo_area_page_error_quark ())


fo_area_page_error_quark ()

GQuark              fo_area_page_error_quark            (void);

Gets the GQuark identifying FoAreaPage errors.

Returns :

GQuark identifying FoAreaPage errors.

enum FoAreaPageError

typedef enum
{
  FO_AREA_PAGE_ERROR_FAILED,            /* Generic error code */
  FO_AREA_PAGE_ERROR_WARNING,	        /* Non-fatal error */
  FO_AREA_PAGE_ERROR_OVERFLOW	        /* An area is too large for the region */
} FoAreaPageError;


fo_area_page_new ()

FoArea*             fo_area_page_new                    (void);

Creates a new FoAreaPage initialized to default value.

Returns :

the new FoAreaPage

fo_area_page_set_page_number ()

void                fo_area_page_set_page_number        (FoArea *fo_area_page,
                                                         gint new_page_number);

Sets the page_number property of area_page to new_page_number

fo_area_page :

The FoAreaPage object

new_page_number :

The new "page-number" property value

fo_area_page_get_page_number ()

gint                fo_area_page_get_page_number        (FoArea *fo_area_page);

Gets the page_number property of area_page

fo_area_page :

The FoAreaPage object

Returns :

The "page-number" property value

fo_area_page_set_page_width ()

void                fo_area_page_set_page_width         (FoArea *fo_area_page,
                                                         gfloat new_page_width);

Sets the page_width property of area_page to new_page_width

fo_area_page :

The FoAreaPage object

new_page_width :

The new "page-width" property value

fo_area_page_get_page_width ()

gfloat              fo_area_page_get_page_width         (FoArea *fo_area_page);

Gets the page_width property of area_page

fo_area_page :

The FoAreaPage object

Returns :

The "page-width" property value

fo_area_page_set_page_height ()

void                fo_area_page_set_page_height        (FoArea *fo_area_page,
                                                         gfloat new_page_height);

Sets the "page_height" property of area_page to new_page_height

fo_area_page :

The FoAreaPage object

new_page_height :

The new "page-height" property value

fo_area_page_get_page_height ()

gfloat              fo_area_page_get_page_height        (FoArea *fo_area_page);

Gets the page_height property of area_page

fo_area_page :

The FoAreaPage object

Returns :

The "page-height" property value

fo_area_page_set_margin_top ()

void                fo_area_page_set_margin_top         (FoArea *fo_area_page,
                                                         gfloat new_margin_top);

Sets the margin_top property of area_page to new_margin_top

fo_area_page :

The FoAreaPage object

new_margin_top :

The new "margin-top" property value

fo_area_page_get_margin_top ()

gfloat              fo_area_page_get_margin_top         (FoArea *fo_area_page);

Gets the margin_top property of area_page

fo_area_page :

The FoAreaPage object

Returns :

The "margin-top" property value

fo_area_page_set_margin_bottom ()

void                fo_area_page_set_margin_bottom      (FoArea *fo_area_page,
                                                         gfloat new_margin_bottom);

Sets the margin_bottom property of area_page to new_margin_bottom

fo_area_page :

The FoAreaPage object

new_margin_bottom :

The new "margin-bottom" property value

fo_area_page_get_margin_bottom ()

gfloat              fo_area_page_get_margin_bottom      (FoArea *fo_area_page);

Gets the margin_bottom property of area_page

fo_area_page :

The FoAreaPage object

Returns :

The "margin-bottom" property value

fo_area_page_set_margin_left ()

void                fo_area_page_set_margin_left        (FoArea *fo_area_page,
                                                         gfloat new_margin_left);

Sets the margin_left property of area_page to new_margin_left

fo_area_page :

The FoAreaPage object

new_margin_left :

The new "margin-left" property value

fo_area_page_get_margin_left ()

gfloat              fo_area_page_get_margin_left        (FoArea *fo_area_page);

Gets the margin_left property of area_page

fo_area_page :

The FoAreaPage object

Returns :

The "margin-left" property value

fo_area_page_set_margin_right ()

void                fo_area_page_set_margin_right       (FoArea *fo_area_page,
                                                         gfloat new_margin_right);

Sets the margin_right property of area_page to new_margin_right

fo_area_page :

The FoAreaPage object

new_margin_right :

The new "margin-right" property value

fo_area_page_get_margin_right ()

gfloat              fo_area_page_get_margin_right       (FoArea *fo_area_page);

Gets the margin_right property of area_page

fo_area_page :

The FoAreaPage object

Returns :

The "margin-right" property value

Property Details

The "margin-bottom" property

  "margin-bottom"            gfloat                : Read / Write

Margin bottom property.

Default value: 0


The "margin-left" property

  "margin-left"              gfloat                : Read / Write

Margin left property.

Default value: 0


The "margin-right" property

  "margin-right"             gfloat                : Read / Write

Margin right property.

Default value: 0


The "margin-top" property

  "margin-top"               gfloat                : Read / Write

Margin top property.

Default value: 0


The "page-height" property

  "page-height"              gfloat                : Read / Write

Page height property.

Default value: 0


The "page-number" property

  "page-number"              gint                  : Read / Write

Page number property.

Allowed values: >= 0

Default value: 0


The "page-width" property

  "page-width"               gfloat                : Read / Write

Page width property.

Default value: 0

xmlroff-0.6.2/docs/html/FoAreaReference.html0000644000175000017500000004112711156164733015667 00000000000000 FoAreaReference

FoAreaReference

FoAreaReference

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaReference
                                 +----FoAreaViewportReference
                                 +----FoAreaSpanningTableCell
                                 +----FoAreaTableCell
                                 +----FoAreaTable

Properties

  "bpd"                      guint                 : Read / Write
  "ipd"                      guint                 : Read / Write
  "sd"                       guint                 : Read / Write

Description

Details

FoAreaReference

typedef struct _FoAreaReference FoAreaReference;


FoAreaReferenceClass

typedef struct _FoAreaReferenceClass FoAreaReferenceClass;


fo_area_reference_new ()

FoArea*             fo_area_reference_new               (void);

Creates a new FoAreaReference initialized to default value.

Returns :

the new FoAreaReference

fo_area_reference_set_bpd ()

void                fo_area_reference_set_bpd           (FoArea *fo_area,
                                                         FoEnumAreaDirection new_bpd);

Sets the "bpd" property of fo_area to new_bpd

fo_area :

The FoAreaReference object

new_bpd :

The new "bpd" property value

fo_area_reference_get_bpd ()

FoEnumAreaDirection fo_area_reference_get_bpd           (FoArea *fo_area);

Gets the "bpd" property of fo_area

fo_area :

The FoAreaReference object

Returns :

The "bpd" property value

fo_area_reference_set_ipd ()

void                fo_area_reference_set_ipd           (FoArea *fo_area,
                                                         FoEnumAreaDirection new_ipd);

Sets the "ipd" property of fo_area to new_ipd

fo_area :

The FoAreaReference object

new_ipd :

The new "ipd" property value

fo_area_reference_get_ipd ()

FoEnumAreaDirection fo_area_reference_get_ipd           (FoArea *fo_area);

Gets the "ipd" property of fo_area

fo_area :

The FoAreaReference object

Returns :

The "ipd" property value

fo_area_reference_set_sd ()

void                fo_area_reference_set_sd            (FoArea *fo_area,
                                                         FoEnumAreaDirection new_sd);

Sets the "sd" property of fo_area to new_sd

fo_area :

The FoAreaReference object

new_sd :

The new "sd" property value

fo_area_reference_get_sd ()

FoEnumAreaDirection fo_area_reference_get_sd            (FoArea *fo_area);

Gets the "sd" property of fo_area

fo_area :

The FoAreaReference object

Returns :

The "sd" property value

Property Details

The "bpd" property

  "bpd"                      guint                 : Read / Write

Block progression direction of the reference area.

Default value: 0


The "ipd" property

  "ipd"                      guint                 : Read / Write

Inline progression direction of the reference area.

Default value: 0


The "sd" property

  "sd"                       guint                 : Read / Write

Shift direction of the reference area.

Default value: 0

xmlroff-0.6.2/docs/html/FoAreaSpanningTableCell.html0000644000175000017500000003210311156164733017310 00000000000000 FoAreaSpanningTableCell

FoAreaSpanningTableCell

FoAreaSpanningTableCell

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaReference
                                 +----FoAreaSpanningTableCell

Description

Details

FoAreaSpanningTableCell

typedef struct _FoAreaSpanningTableCell FoAreaSpanningTableCell;


FoAreaSpanningTableCellClass

typedef struct _FoAreaSpanningTableCellClass FoAreaSpanningTableCellClass;


fo_area_spanning_table_cell_new ()

FoArea*             fo_area_spanning_table_cell_new     (void);

Creates a new FoAreaSpanningTableCell initialized to default value.

Returns :

the new FoAreaSpanningTableCell

fo_area_spanning_table_cell_new_with_rows_spanned ()

FoArea*             fo_area_spanning_table_cell_new_with_rows_spanned
                                                        (gint rows_spanned);

Creates a new FoAreaSpanningTableCell initialized to span rows_spanned rows.

rows_spanned :

Number of rows spanned by the new FoAreaSpanningTableCell

Returns :

the new FoAreaSpanningTableCell

fo_area_spanning_table_cell_get_nth_row_proxy ()

FoArea*             fo_area_spanning_table_cell_get_nth_row_proxy
                                                        (FoArea *fo_area,
                                                         gint row_number);

Gets the FoSpanningTableCellProxy object at the row_number row number.

row number should be in the range 2...rows-spanned, where 'rows-spanned' is the number of rows spanned by fo_area.

When fo_area spans only one row, this function always returns NULL.

fo_area :

The FoAreaSpanningTableCell object

row_number :

The row number of proxy area to get

Returns :

The FoSpanningTableCellProxy object, or NULL if no proxy

fo_area_spanning_table_cell_get_real_height ()

gfloat              fo_area_spanning_table_cell_get_real_height
                                                        (FoArea *fo_area);

Gets the real-height property of fo_area

fo_area :

The FoAreaSpanningTableCell object

Returns :

The "real_height" property value

fo_area_spanning_table_cell_get_real_available_height ()

gfloat              fo_area_spanning_table_cell_get_real_available_height
                                                        (FoArea *fo_area);

Gets the "real-available-height" property of fo_area

fo_area :

The FoAreaSpanningTableCell object

Returns :

The "real-available-height" property value
xmlroff-0.6.2/docs/html/FoAreaTableBody.html0000644000175000017500000001353711156164733015642 00000000000000 FoAreaTableBody

FoAreaTableBody

FoAreaTableBody

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaTablePart
                                 +----FoAreaTableBody

Description

Details

FoAreaTableBody

typedef struct _FoAreaTableBody FoAreaTableBody;


FoAreaTableBodyClass

typedef struct _FoAreaTableBodyClass FoAreaTableBodyClass;


fo_area_table_body_new ()

FoArea*             fo_area_table_body_new              (void);

Creates a new FoAreaTableBody initialized to default value.

Returns :

the new FoAreaTableBody
xmlroff-0.6.2/docs/html/FoAreaTableCell.html0000644000175000017500000001353711156164733015624 00000000000000 FoAreaTableCell

FoAreaTableCell

FoAreaTableCell

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaReference
                                 +----FoAreaTableCell

Description

Details

FoAreaTableCell

typedef struct _FoAreaTableCell FoAreaTableCell;


FoAreaTableCellClass

typedef struct _FoAreaTableCellClass FoAreaTableCellClass;


fo_area_table_cell_new ()

FoArea*             fo_area_table_cell_new              (void);

Creates a new FoAreaTableCell initialized to default value.

Returns :

the new FoAreaTableCell
xmlroff-0.6.2/docs/html/FoAreaTableCellProxy.html0000644000175000017500000003571611156164733016671 00000000000000 FoAreaTableCellProxy

FoAreaTableCellProxy

FoAreaTableCellProxy

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaTableCellProxy

Description

Details

FoAreaTableCellProxy

typedef struct _FoAreaTableCellProxy FoAreaTableCellProxy;


FoAreaTableCellProxyClass

typedef struct _FoAreaTableCellProxyClass FoAreaTableCellProxyClass;


fo_area_table_cell_proxy_new ()

FoArea*             fo_area_table_cell_proxy_new        (void);

Creates a new FoAreaTableCellProxy initialized to default value.

Returns :

the new FoAreaTableCellProxy

fo_area_table_cell_proxy_set_table_cell ()

void                fo_area_table_cell_proxy_set_table_cell
                                                        (FoArea *fo_area,
                                                         FoArea *new_table_cell);

Sets the line-last property of area_area to new_table_cell

fo_area :

The FoAreaTableCellProxy object

new_table_cell :

The new "row-number" property value

fo_area_table_cell_proxy_get_table_cell ()

FoArea*             fo_area_table_cell_proxy_get_table_cell
                                                        (FoArea *fo_area);

Gets the 'row-number' property of area_table_cell_proxy

fo_area :

The FoAreaTableCellProxy object

Returns :

The "row-number" property value

fo_area_table_cell_proxy_set_row_number ()

void                fo_area_table_cell_proxy_set_row_number
                                                        (FoArea *fo_area,
                                                         gint new_row_number);

Sets the "row-number" property of fo_area to new_row_number

fo_area :

The FoAreaTableCellProxy object

new_row_number :

The new "row-number" property value

fo_area_table_cell_proxy_get_row_number ()

gint                fo_area_table_cell_proxy_get_row_number
                                                        (FoArea *fo_area);

Gets the 'row-number' property of area_table_cell_proxy

fo_area :

The FoAreaTableCellProxy object

Returns :

The "row-number" property value

fo_area_table_cell_proxy_set_min_height ()

void                fo_area_table_cell_proxy_set_min_height
                                                        (FoArea *fo_area,
                                                         gfloat new_min_height);

Sets the "min-height" property of fo_area to new_min_height

fo_area :

The FoAreaTableCellProxy object

new_min_height :

The new "min-height" property value

fo_area_table_cell_proxy_get_min_height ()

gfloat              fo_area_table_cell_proxy_get_min_height
                                                        (FoArea *fo_area);

Gets the 'min-height' property of fo_area

fo_area :

The FoAreaTableCellProxy object

Returns :

The "min-height" property value
xmlroff-0.6.2/docs/html/FoAreaTableContinuation.html0000644000175000017500000001436611156164733017420 00000000000000 FoAreaTableContinuation

FoAreaTableContinuation

FoAreaTableContinuation

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaReference
                                 +----FoAreaTable
                                       +----FoAreaTableContinuation

Description

Details

FoAreaTableContinuation

typedef struct _FoAreaTableContinuation FoAreaTableContinuation;


FoAreaTableContinuationClass

typedef struct _FoAreaTableContinuationClass FoAreaTableContinuationClass;


fo_area_table_continuation_new ()

FoArea*             fo_area_table_continuation_new      (void);

Creates a new FoAreaTableContinuation initialized to default value.

Returns :

the new FoAreaTableContinuation
xmlroff-0.6.2/docs/html/FoAreaTableFooter.html0000644000175000017500000001364611156164733016204 00000000000000 FoAreaTableFooter

FoAreaTableFooter

FoAreaTableFooter

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaTablePart
                                 +----FoAreaTableFooter

Description

Details

FoAreaTableFooter

typedef struct _FoAreaTableFooter FoAreaTableFooter;


FoAreaTableFooterClass

typedef struct _FoAreaTableFooterClass FoAreaTableFooterClass;


fo_area_table_footer_new ()

FoArea*             fo_area_table_footer_new            (void);

Creates a new FoAreaTableFooter initialized to default value.

Returns :

the new FoAreaTableFooter
xmlroff-0.6.2/docs/html/FoAreaTableHeader.html0000644000175000017500000001361611156164733016133 00000000000000 FoAreaTableHeader

FoAreaTableHeader

FoAreaTableHeader

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaTablePart
                                 +----FoAreaTableHeader

Description

Details

FoAreaTableHeader

typedef struct _FoAreaTableHeader FoAreaTableHeader;


FoAreaTableHeaderClass

typedef struct _FoAreaTableHeaderClass FoAreaTableHeaderClass;


fo_area_table_header_new ()

FoArea*             fo_area_table_header_new            (void);

Creates a new FoAreaTableHeader initialized to default value.

Returns :

the new FoAreaTableHeader
xmlroff-0.6.2/docs/html/FoAreaTable.html0000644000175000017500000001343611156164733015022 00000000000000 FoAreaTable

FoAreaTable

FoAreaTable

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaReference
                                 +----FoAreaTable
                                       +----FoAreaTableContinuation

Description

Details

FoAreaTable

typedef struct _FoAreaTable FoAreaTable;


FoAreaTableClass

typedef struct _FoAreaTableClass FoAreaTableClass;


fo_area_table_new ()

FoArea*             fo_area_table_new                   (void);

Creates a new FoAreaTable initialized to default value.

Returns :

the new FoAreaTable
xmlroff-0.6.2/docs/html/FoAreaTablePart.html0000644000175000017500000001410311156164733015641 00000000000000 FoAreaTablePart

FoAreaTablePart

FoAreaTablePart

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaTablePart
                                 +----FoAreaTableBody
                                 +----FoAreaTableFooter
                                 +----FoAreaTableHeader

Description

Details

FoAreaTablePart

typedef struct _FoAreaTablePart FoAreaTablePart;


FoAreaTablePartClass

typedef struct _FoAreaTablePartClass FoAreaTablePartClass;


fo_area_table_part_new ()

FoArea*             fo_area_table_part_new              (void);

Creates a new FoAreaTablePart initialized to default value.

Returns :

the new FoAreaTablePart
xmlroff-0.6.2/docs/html/FoAreaTableRow.html0000644000175000017500000001320611156164733015505 00000000000000 FoAreaTableRow

FoAreaTableRow

FoAreaTableRow

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaTableRow

Description

Details

FoAreaTableRow

typedef struct _FoAreaTableRow FoAreaTableRow;


FoAreaTableRowClass

typedef struct _FoAreaTableRowClass FoAreaTableRowClass;


fo_area_table_row_new ()

FoArea*             fo_area_table_row_new               (void);

Creates a new FoAreaTableRow initialized to default value.

Returns :

the new FoAreaTableRow
xmlroff-0.6.2/docs/html/FoAreaTree.html0000644000175000017500000001262111156164733014665 00000000000000 FoAreaTree

FoAreaTree

FoAreaTree

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaTree

Description

Details

FoAreaTree

typedef struct _FoAreaTree FoAreaTree;


FoAreaTreeClass

typedef struct _FoAreaTreeClass FoAreaTreeClass;


fo_area_tree_new ()

FoArea*             fo_area_tree_new                    (void);

Creates a new FoAreaTree initialized to default value.

Returns :

the new FoAreaTree
xmlroff-0.6.2/docs/html/FoAreaViewportReference.html0000644000175000017500000001432311156164733017425 00000000000000 FoAreaViewportReference

FoAreaViewportReference

FoAreaViewportReference

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaReference
                                 +----FoAreaViewportReference
                                       +----FoAreaPage

Description

Details

FoAreaViewportReference

typedef struct _FoAreaViewportReference FoAreaViewportReference;


FoAreaViewportReferenceClass

typedef struct _FoAreaViewportReferenceClass FoAreaViewportReferenceClass;


fo_area_viewport_reference_new ()

FoArea*             fo_area_viewport_reference_new      (void);

Creates a new FoAreaViewportReference initialized to default value.

Returns :

the new FoAreaViewportReference
xmlroff-0.6.2/docs/html/FoBlockBlock.html0000644000175000017500000001411011156164733015175 00000000000000 FoBlockBlock

FoBlockBlock

FoBlockBlock

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoBlock
                                 +----FoBlockBlock

Implemented Interfaces

FoBlockBlock implements FoBlockFoIface.

Description

Details

FoBlockBlock

typedef struct _FoBlockBlock FoBlockBlock;


FoBlockBlockClass

typedef struct _FoBlockBlockClass FoBlockBlockClass;


fo_block_block_new ()

FoFo*               fo_block_block_new                  (void);

Creates a new FoBlockBlock initialized to default value.

Returns :

the new FoBlockBlock
xmlroff-0.6.2/docs/html/FoBlockFoIface.html0000644000175000017500000011114411156164733015444 00000000000000 FoBlockFoIface

FoBlockFoIface

FoBlockFoIface

Synopsis

#define             FO_BLOCK_FO_IFACE                   (obj)
                    FoBlockFo;
                    FoBlockFoIface;
void                fo_block_fo_update_area             (FoFo *fo,
                                                         FoArea *area);
FoProperty*         fo_block_fo_get_background_color    (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_after_color  (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_after_style  (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_after_width  (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_before_color (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_before_style (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_before_width (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_end_color    (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_end_style    (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_end_width    (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_start_color  (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_start_style  (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_border_start_width  (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_keep_together       (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_keep_with_next      (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_keep_with_previous  (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_padding_after       (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_padding_before      (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_padding_end         (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_padding_start       (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_space_before        (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_space_after         (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_start_indent        (FoFo *fo_block_fo);
FoProperty*         fo_block_fo_get_end_indent          (FoFo *fo_block_fo);

Object Hierarchy

  GInterface
   +----FoBlockFoIface

Prerequisites

FoBlockFoIface requires FoFo.

Known Implementations

FoBlockFoIface is implemented by FoBlockLayout, FoBlockContainer, FoTableAndCaption, FoListItem, FoListBlock, FoTable, FoBlockWhitespace, FoBlockBlock and FoBlock.

Description

Details

FO_BLOCK_FO_IFACE()

#define FO_BLOCK_FO_IFACE(obj)      (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_BLOCK_FO, FoBlockFoIface))

obj :


FoBlockFo

typedef struct _FoBlockFo FoBlockFo;


FoBlockFoIface

typedef struct _FoBlockFoIface FoBlockFoIface;


fo_block_fo_update_area ()

void                fo_block_fo_update_area             (FoFo *fo,
                                                         FoArea *area);

fo :

area :


fo_block_fo_get_background_color ()

FoProperty*         fo_block_fo_get_background_color    (FoFo *fo_block_fo);

Gets the background-color property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "background-color" property value

fo_block_fo_get_border_after_color ()

FoProperty*         fo_block_fo_get_border_after_color  (FoFo *fo_block_fo);

Gets the border-after-color property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-after-color" property value

fo_block_fo_get_border_after_style ()

FoProperty*         fo_block_fo_get_border_after_style  (FoFo *fo_block_fo);

Gets the border-after-style property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-after-style" property value

fo_block_fo_get_border_after_width ()

FoProperty*         fo_block_fo_get_border_after_width  (FoFo *fo_block_fo);

Gets the border-after-width property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-after-width" property value

fo_block_fo_get_border_before_color ()

FoProperty*         fo_block_fo_get_border_before_color (FoFo *fo_block_fo);

Gets the border-before-color property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-before-color" property value

fo_block_fo_get_border_before_style ()

FoProperty*         fo_block_fo_get_border_before_style (FoFo *fo_block_fo);

Gets the border-before-style property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-before-style" property value

fo_block_fo_get_border_before_width ()

FoProperty*         fo_block_fo_get_border_before_width (FoFo *fo_block_fo);

Gets the border-before-width property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-before-width" property value

fo_block_fo_get_border_end_color ()

FoProperty*         fo_block_fo_get_border_end_color    (FoFo *fo_block_fo);

Gets the border-end-color property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-end-color" property value

fo_block_fo_get_border_end_style ()

FoProperty*         fo_block_fo_get_border_end_style    (FoFo *fo_block_fo);

Gets the border-end-style property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-end-style" property value

fo_block_fo_get_border_end_width ()

FoProperty*         fo_block_fo_get_border_end_width    (FoFo *fo_block_fo);

Gets the border-end-width property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-end-width" property value

fo_block_fo_get_border_start_color ()

FoProperty*         fo_block_fo_get_border_start_color  (FoFo *fo_block_fo);

Gets the border-start-color property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-start-color" property value

fo_block_fo_get_border_start_style ()

FoProperty*         fo_block_fo_get_border_start_style  (FoFo *fo_block_fo);

Gets the border-start-style property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-start-style" property value

fo_block_fo_get_border_start_width ()

FoProperty*         fo_block_fo_get_border_start_width  (FoFo *fo_block_fo);

Gets the border-start-width property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "border-start-width" property value

fo_block_fo_get_keep_together ()

FoProperty*         fo_block_fo_get_keep_together       (FoFo *fo_block_fo);

Gets the keep-together property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "keep-together" property value

fo_block_fo_get_keep_with_next ()

FoProperty*         fo_block_fo_get_keep_with_next      (FoFo *fo_block_fo);

Gets the keep-with-next property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "keep-with-next" property value

fo_block_fo_get_keep_with_previous ()

FoProperty*         fo_block_fo_get_keep_with_previous  (FoFo *fo_block_fo);

Gets the keep-with-previous property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "keep-with-previous" property value

fo_block_fo_get_padding_after ()

FoProperty*         fo_block_fo_get_padding_after       (FoFo *fo_block_fo);

Gets the padding-after-color property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "padding-after-color" property value

fo_block_fo_get_padding_before ()

FoProperty*         fo_block_fo_get_padding_before      (FoFo *fo_block_fo);

Gets the padding-before-color property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "padding-before-color" property value

fo_block_fo_get_padding_end ()

FoProperty*         fo_block_fo_get_padding_end         (FoFo *fo_block_fo);

Gets the padding-end-color property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "padding-end-color" property value

fo_block_fo_get_padding_start ()

FoProperty*         fo_block_fo_get_padding_start       (FoFo *fo_block_fo);

Gets the padding-start-color property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "padding-start-color" property value

fo_block_fo_get_space_before ()

FoProperty*         fo_block_fo_get_space_before        (FoFo *fo_block_fo);

Gets the space-before property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "space-before" property value

fo_block_fo_get_space_after ()

FoProperty*         fo_block_fo_get_space_after         (FoFo *fo_block_fo);

Gets the space-after property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "space-after" property value

fo_block_fo_get_start_indent ()

FoProperty*         fo_block_fo_get_start_indent        (FoFo *fo_block_fo);

Gets the start-indent property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "start-indent" property value

fo_block_fo_get_end_indent ()

FoProperty*         fo_block_fo_get_end_indent          (FoFo *fo_block_fo);

Gets the end-indent property of fo_block_fo

fo_block_fo :

The FoBlockFo object

Returns :

The "end-indent" property value
xmlroff-0.6.2/docs/html/FoBlockLayout.html0000644000175000017500000001642711156164733015435 00000000000000 FoBlockLayout

FoBlockLayout

FoBlockLayout

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoBlock
                                 +----FoBlockLayout

Implemented Interfaces

FoBlockLayout implements FoBlockFoIface.

Description

Details

FoBlockLayout

typedef struct _FoBlockLayout FoBlockLayout;


FoBlockLayoutClass

typedef struct _FoBlockLayoutClass FoBlockLayoutClass;


fo_block_layout_new ()

FoFo*               fo_block_layout_new                 (void);

Creates a new FoBlockLayout initialized to default value.

Returns :

the new FoBlockLayout

fo_block_layout_update_from_context ()

void                fo_block_layout_update_from_context (FoFo *fo,
                                                         FoContext *context);

fo :

context :

xmlroff-0.6.2/docs/html/FoBlockWhitespace.html0000644000175000017500000001704711156164733016253 00000000000000 FoBlockWhitespace

FoBlockWhitespace

FoBlockWhitespace

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoBlock
                                 +----FoBlockWhitespace

Implemented Interfaces

FoBlockWhitespace implements FoBlockFoIface.

Description

Details

FoBlockWhitespace

typedef struct _FoBlockWhitespace FoBlockWhitespace;


FoBlockWhitespaceClass

typedef struct _FoBlockWhitespaceClass FoBlockWhitespaceClass;


fo_block_whitespace_new ()

FoFo*               fo_block_whitespace_new             (void);

Creates a new FoBlockWhitespace initialized to default value.

Returns :

the new FoBlockWhitespace

fo_block_whitespace_update_from_context ()

void                fo_block_whitespace_update_from_context
                                                        (FoFo *fo,
                                                         FoContext *context);

fo :

context :

xmlroff-0.6.2/docs/html/FoBoolean.html0000644000175000017500000002633511156164733014563 00000000000000 FoBoolean

FoBoolean

FoBoolean

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoBoolean

Properties

  "value"                    gboolean              : Read / Write / Construct Only

Description

Details

FoBoolean

typedef struct _FoBoolean FoBoolean;


FoBooleanClass

typedef struct _FoBooleanClass FoBooleanClass;


fo_boolean_new ()

FoDatatype*         fo_boolean_new                      (void);

Creates a new FoBoolean initialized to default value.

Returns :

the new FoBoolean.

fo_boolean_new_with_value ()

FoDatatype*         fo_boolean_new_with_value           (gboolean value);

Creates a new FoBoolean set to value.

value :

gboolean of the new FoBoolean.

Returns :

The new FoBoolean.

fo_boolean_get_value ()

gboolean            fo_boolean_get_value                (FoDatatype *boolean);

Get the value of boolean.

boolean :

FoBoolean.

Returns :

gboolean value of boolean.

fo_boolean_get_true ()

FoDatatype*         fo_boolean_get_true                 (void);

Create and return an FoBoolean with the well-known value true.

This saves creation of multiple FoBoolean objects that all have the value true.

Returns :

FoBoolean with value true.

fo_boolean_get_false ()

FoDatatype*         fo_boolean_get_false                (void);

Create and return an FoBoolean with the well-known value false.

This saves creation of multiple FoBoolean objects that all have the value false.

Returns :

FoBoolean with value false.

Property Details

The "value" property

  "value"                    gboolean              : Read / Write / Construct Only

Boolean value.

Default value: FALSE

xmlroff-0.6.2/docs/html/fo-c-file.html0000644000175000017500000005362111156164733014456 00000000000000 Anatomy of a Formatting Object C source code file

Anatomy of a Formatting Object C source code file

FO .c File

Abstract

Anatomy of a Formatting Object C source code file

Abbreviations

Every formatting object has a source code file that contains the functions for initializing and finalizing the object class and object instances and for its methods.

This example uses the source code file for the fo:root formatting object, largely because fo:root only has one property: media-usage.

In the example, 'Root' and 'ROOT' are part of the formatting object name, not some feature of the GObject object system.

All formatting object GObjects are subclasses of the FoFo GObject class.

The document describes the conventions current at the time of this writing. Not only may the convention change in the future, some of the older source code files may not yet have been updated to match the current conventions.

Initial comment

See the description in FoHFile.

/* Fo
 * fo-root.c: 'root' formatting object
 *
 * Copyright (C) 2001 Sun Microsystems
 *
 * $Id: fo-c-file.xml,v 1.3 2006/03/14 19:41:40 tonygraham Exp $
 *
 * See Copying for the status of this software.
 */

#includes

#include "fo-root-private.h"

The private header file for the formatting object GObject. See FoPrivateHFile.

#include "fo-layout-master-set.h"
#include "fo-declarations.h"
#include "fo-page-sequence.h"

Public header files for child formatting objects. Usually only needed for validating the content of instances of the current formatting object type. Some formatting objects do not include public header files of other formatting objects.

#include "fo-property-media-usage.h"

Public header file for every property of the formatting object type.

Property enumeration

enum {
  PROP_0,
  PROP_MEDIA_USAGE
};

Enumeration of the formatting object properties. Used when registering and accessing the properties as GObject properties.

Static function prototypes

static void fo_root_class_init  (FoRootClass *klass);

Function called when the GObject class is initialized.

static void fo_root_get_property (GObject      *object,
                                  guint         prop_id,
                                  GValue       *value,
                                  GParamSpec   *pspec);
static void fo_root_set_property (GObject      *object,
                                  guint         prop_id,
                                  const GValue *value,
                                  GParamSpec   *pspec);

Functions to get and set the GObject properties of the formatting object.

static void fo_root_finalize    (GObject           *object);

Function called when an instance of the GObject type is finalized, i.e., when it's killed.

static gboolean fo_root_validate_content (FoFo    *fo,
                                          GError **error);

Function for checking the content of the formatting object w.r.t. what's allowed by the XSL Recommendation.

static void fo_root_validate (FoFo      *fo,
                              FoContext *current_context,
                              FoContext *parent_context,
                              GError   **error);

Function for checking the internal consistency of the formatting object's properties and, in some cases, modifying the values of interdependent properties.

static void fo_root_update_from_context (FoFo      *fo,
                                         FoContext *context);

Function for updating the formatting object instance's properties from an FoContext.

static void fo_root_debug_dump_properties (FoFo *fo,
                                           gint  depth);

Used, fairly obviously, when debugging.

static gpointer parent_class;

GObject convention is to maintain a pointer to the parent GObject class.

GObject _get_type() function

GObject conventions require a _get_type() function that registers the object type and returns its assigned GType value.

Registering a GObject type requires passing a filled-in GTypeInfo structure and the type of the parent class to a registration function. xmlroff uses g_type_register_static(), but there are others.

/**
 * fo_root_get_type:
 * @void:
 *
 * Register the FoRoot object type.
 *
 * Return value: GType value of the FoRoot object type.
 **/
GType
fo_root_get_type (void)
{
  static GType object_type = 0;

  if (!object_type)
    {
      static const GTypeInfo object_info =
      {
        sizeof (FoRootClass),
        (GBaseInitFunc) NULL,
        (GBaseFinalizeFunc) NULL,
        (GClassInitFunc) fo_root_class_init,
        NULL,           /* class_finalize /
        NULL,           / class_data /
        sizeof (FoRoot),
        0,              / n_preallocs /
        NULL,           / instance_init /
        NULL            / value_table */
      };

      object_type = g_type_register_static (FO_TYPE_FO,
                                            "root",
                                            &object_info, 0);
    }

  return object_type;
}

GObject class initializer

GObject convention requires this function.

The _class_init() function sets the class methods and variables and installs the GObject properties of the class. Every formatting object property is installed as a corresponding read-only GObject property.

/**
 * fo_root_class_init:
 * @klass: #FoRootClass object to initialise
 *
 * Implements #GClassInitFunc for #FoRootClass
 **/
void
fo_root_class_init (FoRootClass *klass)
{
  GObjectClass *object_class = G_OBJECT_CLASS (klass);
  FoFoClass *fofo_class = FO_FO_CLASS (klass);

  parent_class = g_type_class_peek_parent (klass);

GObject convention does this. parent_class is used when finalizing this class.

object_class->finalize = fo_root_finalize;

Every GObject does this.

  object_class->get_property = fo_root_get_property;
  object_class->set_property = fo_root_set_property;

Functions of this property that are called when g_object_get_property() and g_object_set_property() access a property of instances of this class.

  fofo_class->validate_content = fo_root_validate_content;
  fofo_class->validate2 = fo_root_validate;
  fofo_class->update_from_context = fo_root_update_from_context;
  fofo_class->debug_dump_properties = fo_root_debug_dump_properties;

These are the FoFo-specific class methods that are overridden by subclasses of FoFo.

  g_object_class_install_property
    (object_class,
     PROP_MEDIA_USAGE,
     g_param_spec_object ("media-usage",
                          _("Media Usage"),
                          _("Media Usage property"),
                          FO_TYPE_PROPERTY,
                          G_PARAM_READABLE));

The famous declaration of the formatting object property as a GObject property.

The enumerated value PROP_MEDIA_USAGE was defined at the head of this file.

}

GObject class finalizer

GObject convention requires this.

Clean up after the last instance of the class is destroyed.

/**
 * fo_root_finalize:
 * @object: #FoRoot object to finalize
 *
 * Implements #GObjectFinalizeFunc for #FoRoot
 **/
void
fo_root_finalize (GObject *object)
{
  FoRoot *fo_root;

  fo_root = FO_ROOT (object);

  G_OBJECT_CLASS (parent_class)->finalize (object);
}

GObject _get_property() and _set_property()

GObject convention requires these.

This is the second place where the property enumeration is used.

/**
 * fo_root_get_property:
 * @object:  #GObject whose property will be retreived
 * @prop_id: Property ID assigned when property registered
 * @value:   GValue to set with property value
 * @pspec:   Parameter specification for this property type
 *
 * Implements #GObjectGetPropertyFunc for #FoRoot
 **/
void
fo_root_get_property (GObject    *object,
                      guint       prop_id,
                      GValue     *value,
                      GParamSpec *pspec)
{
  FoFo *fo_fo;

  fo_fo = FO_FO (object);

  switch (prop_id)
    {
    case PROP_MEDIA_USAGE:
      g_value_set_object (value, G_OBJECT (fo_root_get_media_usage (fo_fo)));
      break;
    default:
      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
      break;
    }
}

/**
 * fo_root_set_property:
 * @object:  #GObject whose property will be set
 * @prop_id: Property ID assigned when property registered
 * @value:   New value for property
 * @pspec:   Parameter specification for this property type
 *
 * Implements #GObjectSetPropertyFunc for #FoRoot
 **/
void
fo_root_set_property (GObject      *object,
                      guint         prop_id,
                      const GValue *value,
                      GParamSpec   *pspec)
{
  FoFo *fo_fo;

  fo_fo = FO_FO (object);

  switch (prop_id)
    {
    case PROP_MEDIA_USAGE:
      fo_root_set_media_usage (fo_fo, g_value_get_object (value));
      break;
    default:
      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
      break;
    }
}

GObject _new()

GObject convention requires this.

Creates a new object of the specified type.

/**
 * fo_root_new:
 *
 * Creates a new #FoRoot initialized to default value.
 *
 * Return value: the new #FoRoot
 **/
FoFo*
fo_root_new (void)
{
  return FO_FO (g_object_new (fo_root_get_type (), NULL));
}

FoFo _validate_content()

This is xmlroff-specific. It is not autogenerated.

Validate the content -- the child FoFo nodes in the FO tree -- of the current FO against the content model defined in the XSL Recommendation (plus any extra conditions in the text of the Recommendation).

Some formatting object do not have this function: some of the common content model, such as for empty elements, are handled by common _validate_content() functions in fo-fo.c.

/**
 * fo_root_validate_content:
 * @fo:    FoRoot object to validate
 * @error: GError indicating error condition, if any
 *
 * Validate the content model, i.e., the structure, of the object.
 * Return value matches GNodeTraverseFunc model: FALSE indicates
 * content model is correct, or TRUE indicates an error.  When used
 * with fo_node_traverse(), returning TRUE stops the traversal.
 *
 * Return value: FALSE if content model okay, TRUE if not
 **/
gboolean
fo_root_validate_content (FoFo    *fo,
                          GError **error)
{
  FoNode *child_node;
  GError *tmp_error;

  g_return_val_if_fail (fo != NULL, TRUE);
  g_return_val_if_fail (FO_IS_ROOT (fo), TRUE);
  g_return_val_if_fail (error == NULL || *error == NULL, TRUE);

  fo_fo_trim_whitespace_children (fo);

  child_node = fo_node_first_child (FO_NODE (fo));

  if (!FO_IS_LAYOUT_MASTER_SET (child_node))
    goto error;

  while (child_node)
    {
      FoNode *next_child = fo_node_next_sibling (child_node);

      if (FO_IS_LAYOUT_MASTER_SET (child_node))
        {
          if (FO_IS_DECLARATIONS (next_child) ||
              FO_IS_PAGE_SEQUENCE (next_child))
            {
              child_node = next_child;
            }
          else
            {
              goto error;
            }
        }
      else if (FO_IS_DECLARATIONS (child_node))
        {
          if (FO_IS_PAGE_SEQUENCE (next_child))
            {
              child_node = next_child;
            }
          else
            {
              goto error;
            }
        }
      else if (FO_IS_PAGE_SEQUENCE (child_node))
        {
          if (!next_child ||
              FO_IS_PAGE_SEQUENCE (next_child))
            {
              child_node = next_child;
            }
          else
            {
              goto error;
            }
        }
      else
        {
          goto error;
        }
    }

  return FALSE;

 error:
  tmp_error = g_error_new (FO_FO_ERROR,
                           FO_FO_ERROR_INVALID_CONTENT,
                           _(fo_fo_error_messages[FO_FO_ERROR_INVALID_CONTENT]),
                           fo_object_sprintf (fo));

  return fo_object_log_or_propagate_error (FO_OBJECT (fo),
                                           error,
                                           tmp_error);
}

FoFo _validate()

This is xmlroff-specific. It is autogenerated, but is commonly then modified by hand.

Resolve interrelated property values, if any; merge the current context -- i.e., the property values declared for this formatting object instance -- with the parent context -- i.e., the inherited and default property values; set the property values used by the current formatting object instance.

/**
 * fo_root_validate:
 * @fo:              FoRoot object to validate
 * @current_context: FoContext associated with current object
 * @parent_context:  FoContext associated with parent FO
 * @error:           Information about any error that has occurred
 *
 * Validate and possibly update interrelated property values in
 * @current_context, then update @fo property values.  Set @error if
 * an error occurred.
 **/
void
fo_root_validate (FoFo      *fo,
                  FoContext *current_context,
                  FoContext *parent_context,
                  GError   **error)
{
  FoRoot *fo_root;

  g_return_if_fail (fo != NULL);
  g_return_if_fail (FO_IS_ROOT (fo));
  g_return_if_fail (FO_IS_CONTEXT (current_context));
  g_return_if_fail (FO_IS_CONTEXT (parent_context));
  g_return_if_fail (error == NULL || *error == NULL);

  fo_root = FO_ROOT (fo);

  fo_context_merge (current_context, parent_context);
  fo_fo_update_from_context (fo, current_context);
}

FoFo _update_from_context()

This is xmlroff-specific.

Set the property values used by the current formatting object instance.

/**
 * fo_root_update_from_context:
 * @fo:      The #FoFo object
 * @context: The #FoContext object from which to update the properties of @fo
 *
 * Sets the properties of @fo to the corresponding property values in @context
 **/
void
fo_root_update_from_context (FoFo *fo,
                             FoContext *context)
{
  g_return_if_fail (fo != NULL);
  g_return_if_fail (FO_IS_ROOT (fo));
  g_return_if_fail (context != NULL);
  g_return_if_fail (FO_IS_CONTEXT (context));

  fo_root_set_media_usage (fo,
                          fo_context_get_media_usage (context));
}

FoFo _debug_dump_properties()

This is xmlroff-specific.

Dump the value of each of the properties of the formatting object instance.

Common code in fo-fo.c handles the rest of dumping the particulars of the formatting object instance.

/**
 * fo_root_debug_dump_properties:
 * @fo: The #FoFo object
 * @depth: Indent level to add to the output
 *
 * Calls #fo_object_debug_dump on each property of @fo then calls
 * debug_dump_properties method of parent class
 **/
void
fo_root_debug_dump_properties (FoFo *fo, gint depth)
{
  FoRoot *fo_root;

  g_return_if_fail (fo != NULL);
  g_return_if_fail (FO_IS_ROOT (fo));

  fo_root = FO_ROOT (fo);

  fo_object_debug_dump (fo_root->media_usage, depth);

  FO_FO_CLASS (parent_class)->debug_dump_properties (fo, depth + 1);
}

GObject _get() and _set() for properties

These are not strictly required by GObject convention, since all GObject properties are supposed to be accessible by g_object_get_property() and/or g_object_set_property().

/**
 * fo_root_get_media_usage:
 * @fo_fo: The @FoFo object
 *
 * Gets the "media-usage" property of @fo_fo
 *
 * Return value: The "media-usage" property value
**/
?FoProperty*
fo_root_get_media_usage (FoFo *fo_fo)
{
  FoRoot *fo_root = (FoRoot *) fo_fo;

  g_return_val_if_fail (fo_root != NULL, NULL);
  g_return_val_if_fail (FO_IS_ROOT (fo_root), NULL);

  return fo_root->media_usage;
}

/**
 * fo_root_set_media_usage:
 * @fo_fo: The #FoFo object
 * @new_media_usage: The new "media-usage" property value
 *
 * Sets the "media-usage" property of @fo_fo to @new_media_usage
 **/
void
fo_root_set_media_usage (FoFo *fo_fo,
                         ?FoProperty *new_media_usage)
{
  FoRoot *fo_root = (FoRoot *) fo_fo;

  g_return_if_fail (fo_root != NULL);
  g_return_if_fail (FO_IS_ROOT (fo_root));
  g_return_if_fail (FO_IS_PROPERTY_MEDIA_USAGE (new_media_usage));

  if (new_media_usage != NULL)
    {
      g_object_ref (new_media_usage);
    }
  if (fo_root->media_usage != NULL)
    {
      g_object_unref (fo_root->media_usage);
    }
  fo_root->media_usage = new_media_usage;
  /*g_object_notify (G_OBJECT (fo_root), "media-usage");*/

The g_object_notify() call is present but commented out because, if it is needed, it will be much easier to just uncomment it than add it to every _set() function.

}
xmlroff-0.6.2/docs/html/FoCharacter.html0000644000175000017500000061423011156164733015075 00000000000000 FoCharacter

FoCharacter

FoCharacter

Synopsis

                    FoCharacter;
                    FoCharacterClass;
FoFo*               fo_character_new                    (void);

FoProperty*         fo_character_get_alignment_adjust   (FoFo *fo_fo);
void                fo_character_set_alignment_adjust   (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_character_get_alignment_baseline (FoFo *fo_fo);
void                fo_character_set_alignment_baseline (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_character_get_background_color   (FoFo *fo_fo);
void                fo_character_set_background_color   (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_character_get_background_image   (FoFo *fo_fo);
void                fo_character_set_background_image   (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_character_get_baseline_shift     (FoFo *fo_fo);
void                fo_character_set_baseline_shift     (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_character_get_border_after_color (FoFo *fo_fo);
void                fo_character_set_border_after_color (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_character_get_border_after_style (FoFo *fo_fo);
void                fo_character_set_border_after_style (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_character_get_border_after_width (FoFo *fo_fo);
void                fo_character_set_border_after_width (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_character_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_character_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_character_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_character_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_character_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_character_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_character_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_character_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_character_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_character_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_character_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_character_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_character_get_border_end_color   (FoFo *fo_fo);
void                fo_character_set_border_end_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_character_get_border_end_style   (FoFo *fo_fo);
void                fo_character_set_border_end_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_character_get_border_end_width   (FoFo *fo_fo);
void                fo_character_set_border_end_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_character_get_border_left_color  (FoFo *fo_fo);
void                fo_character_set_border_left_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_character_get_border_left_style  (FoFo *fo_fo);
void                fo_character_set_border_left_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_character_get_border_left_width  (FoFo *fo_fo);
void                fo_character_set_border_left_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_character_get_border_right_color (FoFo *fo_fo);
void                fo_character_set_border_right_color (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_character_get_border_right_style (FoFo *fo_fo);
void                fo_character_set_border_right_style (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_character_get_border_right_width (FoFo *fo_fo);
void                fo_character_set_border_right_width (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_character_get_border_start_color (FoFo *fo_fo);
void                fo_character_set_border_start_color (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_character_get_border_start_style (FoFo *fo_fo);
void                fo_character_set_border_start_style (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_character_get_border_start_width (FoFo *fo_fo);
void                fo_character_set_border_start_width (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_character_get_border_top_color   (FoFo *fo_fo);
void                fo_character_set_border_top_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_character_get_border_top_style   (FoFo *fo_fo);
void                fo_character_set_border_top_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_character_get_border_top_width   (FoFo *fo_fo);
void                fo_character_set_border_top_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_character_get_character          (FoFo *fo_fo);
void                fo_character_set_character          (FoFo *fo_fo,
                                                         FoProperty *new_character);
FoProperty*         fo_character_get_color              (FoFo *fo_fo);
void                fo_character_set_color              (FoFo *fo_fo,
                                                         FoProperty *new_color);
FoProperty*         fo_character_get_dominant_baseline  (FoFo *fo_fo);
void                fo_character_set_dominant_baseline  (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_character_get_font_family        (FoFo *fo_fo);
void                fo_character_set_font_family        (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_character_get_font_size          (FoFo *fo_fo);
void                fo_character_set_font_size          (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_character_get_font_stretch       (FoFo *fo_fo);
void                fo_character_set_font_stretch       (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_character_get_font_style         (FoFo *fo_fo);
void                fo_character_set_font_style         (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_character_get_font_variant       (FoFo *fo_fo);
void                fo_character_set_font_variant       (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_character_get_font_weight        (FoFo *fo_fo);
void                fo_character_set_font_weight        (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_character_get_id                 (FoFo *fo_fo);
void                fo_character_set_id                 (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_character_get_keep_with_next     (FoFo *fo_fo);
void                fo_character_set_keep_with_next     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_character_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_character_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_character_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_character_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_character_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_character_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_character_get_keep_with_previous (FoFo *fo_fo);
void                fo_character_set_keep_with_previous (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_character_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_character_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_character_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_character_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_character_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_character_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_character_get_line_height        (FoFo *fo_fo);
void                fo_character_set_line_height        (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_character_get_padding_after      (FoFo *fo_fo);
void                fo_character_set_padding_after      (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_character_get_padding_before     (FoFo *fo_fo);
void                fo_character_set_padding_before     (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_character_get_padding_bottom     (FoFo *fo_fo);
void                fo_character_set_padding_bottom     (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_character_get_padding_end        (FoFo *fo_fo);
void                fo_character_set_padding_end        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_character_get_padding_left       (FoFo *fo_fo);
void                fo_character_set_padding_left       (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_character_get_padding_right      (FoFo *fo_fo);
void                fo_character_set_padding_right      (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_character_get_padding_start      (FoFo *fo_fo);
void                fo_character_set_padding_start      (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_character_get_padding_top        (FoFo *fo_fo);
void                fo_character_set_padding_top        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_character_get_score_spaces       (FoFo *fo_fo);
void                fo_character_set_score_spaces       (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);
FoProperty*         fo_character_get_space_end          (FoFo *fo_fo);
void                fo_character_set_space_end          (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_character_get_space_start        (FoFo *fo_fo);
void                fo_character_set_space_start        (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoCharacter

Implemented Interfaces

FoCharacter implements FoInlineFoIface.

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "baseline-shift"           FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "character"                FoProperty*           : Read
  "color"                    FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "score-spaces"             FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read

Description

Details

FoCharacter

typedef struct _FoCharacter FoCharacter;


FoCharacterClass

typedef struct _FoCharacterClass FoCharacterClass;


fo_character_new ()

FoFo*               fo_character_new                    (void);

Creates a new FoCharacter initialized to default value.

Returns :

the new FoCharacter.

fo_character_get_alignment_adjust ()

FoProperty*         fo_character_get_alignment_adjust   (FoFo *fo_fo);

Gets the "alignment-adjust" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "alignment-adjust" property value.

fo_character_set_alignment_adjust ()

void                fo_character_set_alignment_adjust   (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust.

fo_fo :

The FoFo object.

new_alignment_adjust :

The new "alignment-adjust" property value.

fo_character_get_alignment_baseline ()

FoProperty*         fo_character_get_alignment_baseline (FoFo *fo_fo);

Gets the "alignment-baseline" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "alignment-baseline" property value.

fo_character_set_alignment_baseline ()

void                fo_character_set_alignment_baseline (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline.

fo_fo :

The FoFo object.

new_alignment_baseline :

The new "alignment-baseline" property value.

fo_character_get_background_color ()

FoProperty*         fo_character_get_background_color   (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_character_set_background_color ()

void                fo_character_set_background_color   (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_character_get_background_image ()

FoProperty*         fo_character_get_background_image   (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_character_set_background_image ()

void                fo_character_set_background_image   (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_character_get_baseline_shift ()

FoProperty*         fo_character_get_baseline_shift     (FoFo *fo_fo);

Gets the "baseline-shift" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "baseline-shift" property value.

fo_character_set_baseline_shift ()

void                fo_character_set_baseline_shift     (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_fo to new_baseline_shift.

fo_fo :

The FoFo object.

new_baseline_shift :

The new "baseline-shift" property value.

fo_character_get_border_after_color ()

FoProperty*         fo_character_get_border_after_color (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_character_set_border_after_color ()

void                fo_character_set_border_after_color (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_character_get_border_after_style ()

FoProperty*         fo_character_get_border_after_style (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_character_set_border_after_style ()

void                fo_character_set_border_after_style (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_character_get_border_after_width ()

FoProperty*         fo_character_get_border_after_width (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_character_set_border_after_width ()

void                fo_character_set_border_after_width (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_character_get_border_before_color ()

FoProperty*         fo_character_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_character_set_border_before_color ()

void                fo_character_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_character_get_border_before_style ()

FoProperty*         fo_character_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_character_set_border_before_style ()

void                fo_character_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_character_get_border_before_width ()

FoProperty*         fo_character_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_character_set_border_before_width ()

void                fo_character_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_character_get_border_bottom_color ()

FoProperty*         fo_character_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_character_set_border_bottom_color ()

void                fo_character_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_character_get_border_bottom_style ()

FoProperty*         fo_character_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_character_set_border_bottom_style ()

void                fo_character_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_character_get_border_bottom_width ()

FoProperty*         fo_character_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_character_set_border_bottom_width ()

void                fo_character_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_character_get_border_end_color ()

FoProperty*         fo_character_get_border_end_color   (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_character_set_border_end_color ()

void                fo_character_set_border_end_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_character_get_border_end_style ()

FoProperty*         fo_character_get_border_end_style   (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_character_set_border_end_style ()

void                fo_character_set_border_end_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_character_get_border_end_width ()

FoProperty*         fo_character_get_border_end_width   (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_character_set_border_end_width ()

void                fo_character_set_border_end_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_character_get_border_left_color ()

FoProperty*         fo_character_get_border_left_color  (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_character_set_border_left_color ()

void                fo_character_set_border_left_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_character_get_border_left_style ()

FoProperty*         fo_character_get_border_left_style  (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_character_set_border_left_style ()

void                fo_character_set_border_left_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_character_get_border_left_width ()

FoProperty*         fo_character_get_border_left_width  (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_character_set_border_left_width ()

void                fo_character_set_border_left_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_character_get_border_right_color ()

FoProperty*         fo_character_get_border_right_color (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_character_set_border_right_color ()

void                fo_character_set_border_right_color (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_character_get_border_right_style ()

FoProperty*         fo_character_get_border_right_style (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_character_set_border_right_style ()

void                fo_character_set_border_right_style (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_character_get_border_right_width ()

FoProperty*         fo_character_get_border_right_width (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_character_set_border_right_width ()

void                fo_character_set_border_right_width (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_character_get_border_start_color ()

FoProperty*         fo_character_get_border_start_color (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_character_set_border_start_color ()

void                fo_character_set_border_start_color (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_character_get_border_start_style ()

FoProperty*         fo_character_get_border_start_style (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_character_set_border_start_style ()

void                fo_character_set_border_start_style (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_character_get_border_start_width ()

FoProperty*         fo_character_get_border_start_width (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_character_set_border_start_width ()

void                fo_character_set_border_start_width (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_character_get_border_top_color ()

FoProperty*         fo_character_get_border_top_color   (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_character_set_border_top_color ()

void                fo_character_set_border_top_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_character_get_border_top_style ()

FoProperty*         fo_character_get_border_top_style   (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_character_set_border_top_style ()

void                fo_character_set_border_top_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_character_get_border_top_width ()

FoProperty*         fo_character_get_border_top_width   (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_character_set_border_top_width ()

void                fo_character_set_border_top_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_character_get_character ()

FoProperty*         fo_character_get_character          (FoFo *fo_fo);

Gets the "character" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "character" property value.

fo_character_set_character ()

void                fo_character_set_character          (FoFo *fo_fo,
                                                         FoProperty *new_character);

Sets the "character" property of fo_fo to new_character.

fo_fo :

The FoFo object.

new_character :

The new "character" property value.

fo_character_get_color ()

FoProperty*         fo_character_get_color              (FoFo *fo_fo);

Gets the "color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "color" property value.

fo_character_set_color ()

void                fo_character_set_color              (FoFo *fo_fo,
                                                         FoProperty *new_color);

Sets the "color" property of fo_fo to new_color.

fo_fo :

The FoFo object.

new_color :

The new "color" property value.

fo_character_get_dominant_baseline ()

FoProperty*         fo_character_get_dominant_baseline  (FoFo *fo_fo);

Gets the "dominant-baseline" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "dominant-baseline" property value.

fo_character_set_dominant_baseline ()

void                fo_character_set_dominant_baseline  (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline.

fo_fo :

The FoFo object.

new_dominant_baseline :

The new "dominant-baseline" property value.

fo_character_get_font_family ()

FoProperty*         fo_character_get_font_family        (FoFo *fo_fo);

Gets the "font-family" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-family" property value.

fo_character_set_font_family ()

void                fo_character_set_font_family        (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the "font-family" property of fo_fo to new_font_family.

fo_fo :

The FoFo object.

new_font_family :

The new "font-family" property value.

fo_character_get_font_size ()

FoProperty*         fo_character_get_font_size          (FoFo *fo_fo);

Gets the "font-size" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-size" property value.

fo_character_set_font_size ()

void                fo_character_set_font_size          (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the "font-size" property of fo_fo to new_font_size.

fo_fo :

The FoFo object.

new_font_size :

The new "font-size" property value.

fo_character_get_font_stretch ()

FoProperty*         fo_character_get_font_stretch       (FoFo *fo_fo);

Gets the "font-stretch" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-stretch" property value.

fo_character_set_font_stretch ()

void                fo_character_set_font_stretch       (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the "font-stretch" property of fo_fo to new_font_stretch.

fo_fo :

The FoFo object.

new_font_stretch :

The new "font-stretch" property value.

fo_character_get_font_style ()

FoProperty*         fo_character_get_font_style         (FoFo *fo_fo);

Gets the "font-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-style" property value.

fo_character_set_font_style ()

void                fo_character_set_font_style         (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the "font-style" property of fo_fo to new_font_style.

fo_fo :

The FoFo object.

new_font_style :

The new "font-style" property value.

fo_character_get_font_variant ()

FoProperty*         fo_character_get_font_variant       (FoFo *fo_fo);

Gets the "font-variant" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-variant" property value.

fo_character_set_font_variant ()

void                fo_character_set_font_variant       (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the "font-variant" property of fo_fo to new_font_variant.

fo_fo :

The FoFo object.

new_font_variant :

The new "font-variant" property value.

fo_character_get_font_weight ()

FoProperty*         fo_character_get_font_weight        (FoFo *fo_fo);

Gets the "font-weight" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-weight" property value.

fo_character_set_font_weight ()

void                fo_character_set_font_weight        (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the "font-weight" property of fo_fo to new_font_weight.

fo_fo :

The FoFo object.

new_font_weight :

The new "font-weight" property value.

fo_character_get_id ()

FoProperty*         fo_character_get_id                 (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_character_set_id ()

void                fo_character_set_id                 (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id.

fo_fo :

The FoFo object.

new_id :

The new "id" property value.

fo_character_get_keep_with_next ()

FoProperty*         fo_character_get_keep_with_next     (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next" property value.

fo_character_set_keep_with_next ()

void                fo_character_set_keep_with_next     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next.

fo_fo :

The FoFo object.

new_keep_with_next :

The new "keep-with-next" property value.

fo_character_get_keep_with_next_within_column ()

FoProperty*         fo_character_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-column" property value.

fo_character_set_keep_with_next_within_column ()

void                fo_character_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column.

fo_fo :

The FoFo object.

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value.

fo_character_get_keep_with_next_within_line ()

FoProperty*         fo_character_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-line" property value.

fo_character_set_keep_with_next_within_line ()

void                fo_character_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line.

fo_fo :

The FoFo object.

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value.

fo_character_get_keep_with_next_within_page ()

FoProperty*         fo_character_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-page" property value.

fo_character_set_keep_with_next_within_page ()

void                fo_character_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page.

fo_fo :

The FoFo object.

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value.

fo_character_get_keep_with_previous ()

FoProperty*         fo_character_get_keep_with_previous (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous" property value.

fo_character_set_keep_with_previous ()

void                fo_character_set_keep_with_previous (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous.

fo_fo :

The FoFo object.

new_keep_with_previous :

The new "keep-with-previous" property value.

fo_character_get_keep_with_previous_within_column ()

FoProperty*         fo_character_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-column" property value.

fo_character_set_keep_with_previous_within_column ()

void                fo_character_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column.

fo_fo :

The FoFo object.

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value.

fo_character_get_keep_with_previous_within_line ()

FoProperty*         fo_character_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-line" property value.

fo_character_set_keep_with_previous_within_line ()

void                fo_character_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line.

fo_fo :

The FoFo object.

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value.

fo_character_get_keep_with_previous_within_page ()

FoProperty*         fo_character_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-page" property value.

fo_character_set_keep_with_previous_within_page ()

void                fo_character_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page.

fo_fo :

The FoFo object.

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value.

fo_character_get_line_height ()

FoProperty*         fo_character_get_line_height        (FoFo *fo_fo);

Gets the "line-height" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "line-height" property value.

fo_character_set_line_height ()

void                fo_character_set_line_height        (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height.

fo_fo :

The FoFo object.

new_line_height :

The new "line-height" property value.

fo_character_get_padding_after ()

FoProperty*         fo_character_get_padding_after      (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_character_set_padding_after ()

void                fo_character_set_padding_after      (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_character_get_padding_before ()

FoProperty*         fo_character_get_padding_before     (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_character_set_padding_before ()

void                fo_character_set_padding_before     (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_character_get_padding_bottom ()

FoProperty*         fo_character_get_padding_bottom     (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_character_set_padding_bottom ()

void                fo_character_set_padding_bottom     (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_character_get_padding_end ()

FoProperty*         fo_character_get_padding_end        (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_character_set_padding_end ()

void                fo_character_set_padding_end        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_character_get_padding_left ()

FoProperty*         fo_character_get_padding_left       (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_character_set_padding_left ()

void                fo_character_set_padding_left       (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_character_get_padding_right ()

FoProperty*         fo_character_get_padding_right      (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_character_set_padding_right ()

void                fo_character_set_padding_right      (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_character_get_padding_start ()

FoProperty*         fo_character_get_padding_start      (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_character_set_padding_start ()

void                fo_character_set_padding_start      (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_character_get_padding_top ()

FoProperty*         fo_character_get_padding_top        (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_character_set_padding_top ()

void                fo_character_set_padding_top        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_character_get_score_spaces ()

FoProperty*         fo_character_get_score_spaces       (FoFo *fo_fo);

Gets the "score-spaces" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "score-spaces" property value.

fo_character_set_score_spaces ()

void                fo_character_set_score_spaces       (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);

Sets the "score-spaces" property of fo_fo to new_score_spaces.

fo_fo :

The FoFo object.

new_score_spaces :

The new "score-spaces" property value.

fo_character_get_space_end ()

FoProperty*         fo_character_get_space_end          (FoFo *fo_fo);

Gets the "space-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-end" property value.

fo_character_set_space_end ()

void                fo_character_set_space_end          (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end.

fo_fo :

The FoFo object.

new_space_end :

The new "space-end" property value.

fo_character_get_space_start ()

FoProperty*         fo_character_get_space_start        (FoFo *fo_fo);

Gets the "space-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-start" property value.

fo_character_set_space_start ()

void                fo_character_set_space_start        (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start.

fo_fo :

The FoFo object.

new_space_start :

The new "space-start" property value.

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "character" property

  "character"                FoProperty*           : Read

Character property.


The "color" property

  "color"                    FoProperty*           : Read

Color property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "score-spaces" property

  "score-spaces"             FoProperty*           : Read

Score Spaces property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.

xmlroff-0.6.2/docs/html/FoChar.html0000644000175000017500000002272511156164733014060 00000000000000 FoChar

FoChar

FoChar

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoChar

Properties

  "value"                    gchar*                : Read / Write / Construct Only

Description

Details

FoChar

typedef struct _FoChar FoChar;


FoCharClass

typedef struct _FoCharClass FoCharClass;


fo_char_new_with_value ()

FoDatatype*         fo_char_new_with_value              (const gchar *value);

Creates a new FoChar set to value.

value :

String value of the new FoChar.

Returns :

The new FoChar.

fo_char_get_value ()

const gchar*        fo_char_get_value                   (FoDatatype *fo_char);

Get the value of fo_char.

fo_char :

FoChar.

Returns :

String value of fo_char.

fo_char_get_char_space ()

FoDatatype*         fo_char_get_char_space              (void);

Get an FoChar with the well-known value of ' '.

Returns :

The FoChar.

fo_char_get_char_zws ()

FoDatatype*         fo_char_get_char_zws                (void);

Get an FoChar with the well-known value of U+200B, ZERO WIDTH SPACE.

Returns :

The FoChar.

Property Details

The "value" property

  "value"                    gchar*                : Read / Write / Construct Only

FoChar value.

Default value: NULL

xmlroff-0.6.2/docs/html/FoColor.html0000644000175000017500000007725311156164733014267 00000000000000 FoColor

FoColor

FoColor

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoColor

Properties

  "blue"                     guint                 : Read / Write / Construct Only
  "green"                    guint                 : Read / Write / Construct Only
  "red"                      guint                 : Read / Write / Construct Only

Description

Details

FoColor

typedef struct _FoColor FoColor;


FoColorClass

typedef struct _FoColorClass FoColorClass;


fo_color_new_with_value ()

FoDatatype*         fo_color_new_with_value             (guint red,
                                                         guint green,
                                                         guint blue);

Creates a new FoColor with specified values.

red :

Red component of new FoColor.

green :

Green component of new FoColor.

blue :

Blue component of new FoColor.

Returns :

New FoColor.

FO_COLOR_COMPONENT_MAX

#define FO_COLOR_COMPONENT_MAX 65535


fo_color_get_red ()

guint16             fo_color_get_red                    (FoDatatype *color);

Gets the 'red' component of color.

color :

FoColor.

Returns :

'red' component of color.

fo_color_get_green ()

guint16             fo_color_get_green                  (FoDatatype *color);

Gets the 'green' component of color.

color :

FoColor.

Returns :

'green' component of color.

fo_color_get_blue ()

guint16             fo_color_get_blue                   (FoDatatype *color);

Gets the 'blue' component of color.

color :

FoColor.

Returns :

'blue' component of color.

fo_color_get_color_black ()

FoDatatype*         fo_color_get_color_black            (void);

Get an FoColor with the well-known value for the color 'black'.

Returns :

The FoColor.

fo_color_get_color_silver ()

FoDatatype*         fo_color_get_color_silver           (void);

Get an FoColor with the well-known value for the color 'silver'.

Returns :

The FoColor.

fo_color_get_color_gray ()

FoDatatype*         fo_color_get_color_gray             (void);

Get an FoColor with the well-known value for the color 'gray'.

Returns :

The FoColor.

fo_color_get_color_white ()

FoDatatype*         fo_color_get_color_white            (void);

Get an FoColor with the well-known value for the color 'white'.

Returns :

The FoColor.

fo_color_get_color_maroon ()

FoDatatype*         fo_color_get_color_maroon           (void);

Get an FoColor with the well-known value for the color 'maroon'.

Returns :

The FoColor.

fo_color_get_color_red ()

FoDatatype*         fo_color_get_color_red              (void);

Get an FoColor with the well-known value for the color 'red'.

Returns :

The FoColor.

fo_color_get_color_purple ()

FoDatatype*         fo_color_get_color_purple           (void);

Get an FoColor with the well-known value for the color 'purple'.

Returns :

The FoColor.

fo_color_get_color_fuchsia ()

FoDatatype*         fo_color_get_color_fuchsia          (void);

Get an FoColor with the well-known value for the color 'fuchsia'.

Returns :

The FoColor.

fo_color_get_color_green ()

FoDatatype*         fo_color_get_color_green            (void);

Get an FoColor with the well-known value for the color 'green'.

Returns :

The FoColor.

fo_color_get_color_lime ()

FoDatatype*         fo_color_get_color_lime             (void);

Get an FoColor with the well-known value for the color 'lime'.

Returns :

The FoColor.

fo_color_get_color_olive ()

FoDatatype*         fo_color_get_color_olive            (void);

Get an FoColor with the well-known value for the color 'olive'.

Returns :

The FoColor.

fo_color_get_color_yellow ()

FoDatatype*         fo_color_get_color_yellow           (void);

Get an FoColor with the well-known value for the color 'yellow'.

Returns :

The FoColor.

fo_color_get_color_navy ()

FoDatatype*         fo_color_get_color_navy             (void);

Get an FoColor with the well-known value for the color 'navy'.

Returns :

The FoColor.

fo_color_get_color_blue ()

FoDatatype*         fo_color_get_color_blue             (void);

Get an FoColor with the well-known value for the color 'blue'.

Returns :

The FoColor.

fo_color_get_color_teal ()

FoDatatype*         fo_color_get_color_teal             (void);

Get an FoColor with the well-known value for the color 'teal'.

Returns :

The FoColor.

fo_color_get_color_aqua ()

FoDatatype*         fo_color_get_color_aqua             (void);

Get an FoColor with the well-known value for the color 'aqua'.

Returns :

The FoColor.

fo_color_get_color_one_quarter ()

FoDatatype*         fo_color_get_color_one_quarter      (FoDatatype *color);

Get an FoColor that is one-quarter the intensity of color.

color :

Original color.

Returns :

A color with one-quarter the intensity of color.

fo_color_get_color_one_half ()

FoDatatype*         fo_color_get_color_one_half         (FoDatatype *color);

Get an FoColor that is one-half the intensity of color.

color :

Original color.

Returns :

A color with one-half the intensity of color.

fo_color_get_color_three_quarter ()

FoDatatype*         fo_color_get_color_three_quarter    (FoDatatype *color);

Get an FoColor that is three-quarters of the intensity of color.

color :

Original color.

Returns :

A color with three-quarters of the intensity of color.

Property Details

The "blue" property

  "blue"                     guint                 : Read / Write / Construct Only

Color blue value.

Allowed values: <= 65535

Default value: 0


The "green" property

  "green"                    guint                 : Read / Write / Construct Only

Color green value.

Allowed values: <= 65535

Default value: 0


The "red" property

  "red"                      guint                 : Read / Write / Construct Only

Color red value.

Allowed values: <= 65535

Default value: 0

xmlroff-0.6.2/docs/html/FoContext.html0000644000175000017500000214525411156164733014634 00000000000000 FoContext

FoContext

FoContext

Synopsis

                    FoContext;
                    FoContextClass;
FoContext*          fo_context_new                      (void);
void                fo_context_initialize               (FoContext *context);
void                fo_context_merge                    (FoContext *primary,
                                                         FoContext *secondary);
void                fo_context_update_from_slist        (FoContext *context,
                                                         GSList *property_list);
void                fo_context_debug_dump_properties    (FoContext *fo_context,
                                                         gint depth);
FoProperty*         fo_context_get_alignment_adjust     (FoContext *fo_context);
void                fo_context_set_alignment_adjust     (FoContext *fo_context,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_context_get_alignment_baseline   (FoContext *fo_context);
void                fo_context_set_alignment_baseline   (FoContext *fo_context,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_context_get_background_color     (FoContext *fo_context);
void                fo_context_set_background_color     (FoContext *fo_context,
                                                         FoProperty *new_background_color);
FoProperty*         fo_context_get_background_image     (FoContext *fo_context);
void                fo_context_set_background_image     (FoContext *fo_context,
                                                         FoProperty *new_background_image);
FoProperty*         fo_context_get_baseline_shift       (FoContext *fo_context);
void                fo_context_set_baseline_shift       (FoContext *fo_context,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_context_get_block_progression_dimension
                                                        (FoContext *fo_context);
void                fo_context_set_block_progression_dimension
                                                        (FoContext *fo_context,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_context_get_block_progression_dimension_minimum
                                                        (FoContext *fo_context);
void                fo_context_set_block_progression_dimension_minimum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_block_progression_dimension_minimum);
FoProperty*         fo_context_get_block_progression_dimension_optimum
                                                        (FoContext *fo_context);
void                fo_context_set_block_progression_dimension_optimum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_block_progression_dimension_optimum);
FoProperty*         fo_context_get_block_progression_dimension_maximum
                                                        (FoContext *fo_context);
void                fo_context_set_block_progression_dimension_maximum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_block_progression_dimension_maximum);
FoProperty*         fo_context_get_border               (FoContext *fo_context);
void                fo_context_set_border               (FoContext *fo_context,
                                                         FoProperty *new_border);
FoProperty*         fo_context_get_border_after_color   (FoContext *fo_context);
void                fo_context_set_border_after_color   (FoContext *fo_context,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_context_get_border_after_precedence
                                                        (FoContext *fo_context);
void                fo_context_set_border_after_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_border_after_precedence);
FoProperty*         fo_context_get_border_after_style   (FoContext *fo_context);
void                fo_context_set_border_after_style   (FoContext *fo_context,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_context_get_border_after_width   (FoContext *fo_context);
void                fo_context_set_border_after_width   (FoContext *fo_context,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_context_get_border_before_color  (FoContext *fo_context);
void                fo_context_set_border_before_color  (FoContext *fo_context,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_context_get_border_before_precedence
                                                        (FoContext *fo_context);
void                fo_context_set_border_before_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_border_before_precedence);
FoProperty*         fo_context_get_border_before_style  (FoContext *fo_context);
void                fo_context_set_border_before_style  (FoContext *fo_context,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_context_get_border_before_width  (FoContext *fo_context);
void                fo_context_set_border_before_width  (FoContext *fo_context,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_context_get_border_bottom        (FoContext *fo_context);
void                fo_context_set_border_bottom        (FoContext *fo_context,
                                                         FoProperty *new_border_bottom);
FoProperty*         fo_context_get_border_bottom_color  (FoContext *fo_context);
void                fo_context_set_border_bottom_color  (FoContext *fo_context,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_context_get_border_bottom_style  (FoContext *fo_context);
void                fo_context_set_border_bottom_style  (FoContext *fo_context,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_context_get_border_bottom_width  (FoContext *fo_context);
void                fo_context_set_border_bottom_width  (FoContext *fo_context,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_context_get_border_collapse      (FoContext *fo_context);
void                fo_context_set_border_collapse      (FoContext *fo_context,
                                                         FoProperty *new_border_collapse);
FoProperty*         fo_context_get_border_color         (FoContext *fo_context);
void                fo_context_set_border_color         (FoContext *fo_context,
                                                         FoProperty *new_border_color);
FoProperty*         fo_context_get_border_end_color     (FoContext *fo_context);
void                fo_context_set_border_end_color     (FoContext *fo_context,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_context_get_border_end_precedence
                                                        (FoContext *fo_context);
void                fo_context_set_border_end_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_border_end_precedence);
FoProperty*         fo_context_get_border_end_style     (FoContext *fo_context);
void                fo_context_set_border_end_style     (FoContext *fo_context,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_context_get_border_end_width     (FoContext *fo_context);
void                fo_context_set_border_end_width     (FoContext *fo_context,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_context_get_border_left          (FoContext *fo_context);
void                fo_context_set_border_left          (FoContext *fo_context,
                                                         FoProperty *new_border_left);
FoProperty*         fo_context_get_border_left_color    (FoContext *fo_context);
void                fo_context_set_border_left_color    (FoContext *fo_context,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_context_get_border_left_style    (FoContext *fo_context);
void                fo_context_set_border_left_style    (FoContext *fo_context,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_context_get_border_left_width    (FoContext *fo_context);
void                fo_context_set_border_left_width    (FoContext *fo_context,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_context_get_border_right         (FoContext *fo_context);
void                fo_context_set_border_right         (FoContext *fo_context,
                                                         FoProperty *new_border_right);
FoProperty*         fo_context_get_border_right_color   (FoContext *fo_context);
void                fo_context_set_border_right_color   (FoContext *fo_context,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_context_get_border_right_style   (FoContext *fo_context);
void                fo_context_set_border_right_style   (FoContext *fo_context,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_context_get_border_right_width   (FoContext *fo_context);
void                fo_context_set_border_right_width   (FoContext *fo_context,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_context_get_border_separation    (FoContext *fo_context);
void                fo_context_set_border_separation    (FoContext *fo_context,
                                                         FoProperty *new_border_separation);
FoProperty*         fo_context_get_border_start_color   (FoContext *fo_context);
void                fo_context_set_border_start_color   (FoContext *fo_context,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_context_get_border_start_precedence
                                                        (FoContext *fo_context);
void                fo_context_set_border_start_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_border_start_precedence);
FoProperty*         fo_context_get_border_start_style   (FoContext *fo_context);
void                fo_context_set_border_start_style   (FoContext *fo_context,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_context_get_border_start_width   (FoContext *fo_context);
void                fo_context_set_border_start_width   (FoContext *fo_context,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_context_get_border_style         (FoContext *fo_context);
void                fo_context_set_border_style         (FoContext *fo_context,
                                                         FoProperty *new_border_style);
FoProperty*         fo_context_get_border_top           (FoContext *fo_context);
void                fo_context_set_border_top           (FoContext *fo_context,
                                                         FoProperty *new_border_top);
FoProperty*         fo_context_get_border_top_color     (FoContext *fo_context);
void                fo_context_set_border_top_color     (FoContext *fo_context,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_context_get_border_top_style     (FoContext *fo_context);
void                fo_context_set_border_top_style     (FoContext *fo_context,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_context_get_border_top_width     (FoContext *fo_context);
void                fo_context_set_border_top_width     (FoContext *fo_context,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_context_get_border_width         (FoContext *fo_context);
void                fo_context_set_border_width         (FoContext *fo_context,
                                                         FoProperty *new_border_width);
FoProperty*         fo_context_get_break_after          (FoContext *fo_context);
void                fo_context_set_break_after          (FoContext *fo_context,
                                                         FoProperty *new_break_after);
FoProperty*         fo_context_get_break_before         (FoContext *fo_context);
void                fo_context_set_break_before         (FoContext *fo_context,
                                                         FoProperty *new_break_before);
FoProperty*         fo_context_get_character            (FoContext *fo_context);
void                fo_context_set_character            (FoContext *fo_context,
                                                         FoProperty *new_character);
FoProperty*         fo_context_get_clip                 (FoContext *fo_context);
void                fo_context_set_clip                 (FoContext *fo_context,
                                                         FoProperty *new_clip);
FoProperty*         fo_context_get_color                (FoContext *fo_context);
void                fo_context_set_color                (FoContext *fo_context,
                                                         FoProperty *new_color);
FoProperty*         fo_context_get_column_number        (FoContext *fo_context);
void                fo_context_set_column_number        (FoContext *fo_context,
                                                         FoProperty *new_column_number);
FoProperty*         fo_context_get_column_width         (FoContext *fo_context);
void                fo_context_set_column_width         (FoContext *fo_context,
                                                         FoProperty *new_column_width);
FoProperty*         fo_context_get_content_height       (FoContext *fo_context);
void                fo_context_set_content_height       (FoContext *fo_context,
                                                         FoProperty *new_content_height);
FoProperty*         fo_context_get_content_type         (FoContext *fo_context);
void                fo_context_set_content_type         (FoContext *fo_context,
                                                         FoProperty *new_content_type);
FoProperty*         fo_context_get_content_width        (FoContext *fo_context);
void                fo_context_set_content_width        (FoContext *fo_context,
                                                         FoProperty *new_content_width);
FoProperty*         fo_context_get_direction            (FoContext *fo_context);
void                fo_context_set_direction            (FoContext *fo_context,
                                                         FoProperty *new_direction);
FoProperty*         fo_context_get_display_align        (FoContext *fo_context);
void                fo_context_set_display_align        (FoContext *fo_context,
                                                         FoProperty *new_display_align);
FoProperty*         fo_context_get_dominant_baseline    (FoContext *fo_context);
void                fo_context_set_dominant_baseline    (FoContext *fo_context,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_context_get_end_indent           (FoContext *fo_context);
void                fo_context_set_end_indent           (FoContext *fo_context,
                                                         FoProperty *new_end_indent);
FoProperty*         fo_context_get_extent               (FoContext *fo_context);
void                fo_context_set_extent               (FoContext *fo_context,
                                                         FoProperty *new_extent);
FoProperty*         fo_context_get_flow_name            (FoContext *fo_context);
void                fo_context_set_flow_name            (FoContext *fo_context,
                                                         FoProperty *new_flow_name);
FoProperty*         fo_context_get_font_family          (FoContext *fo_context);
void                fo_context_set_font_family          (FoContext *fo_context,
                                                         FoProperty *new_font_family);
FoProperty*         fo_context_get_font_size            (FoContext *fo_context);
void                fo_context_set_font_size            (FoContext *fo_context,
                                                         FoProperty *new_font_size);
FoProperty*         fo_context_get_font_stretch         (FoContext *fo_context);
void                fo_context_set_font_stretch         (FoContext *fo_context,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_context_get_font_style           (FoContext *fo_context);
void                fo_context_set_font_style           (FoContext *fo_context,
                                                         FoProperty *new_font_style);
FoProperty*         fo_context_get_font_variant         (FoContext *fo_context);
void                fo_context_set_font_variant         (FoContext *fo_context,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_context_get_font_weight          (FoContext *fo_context);
void                fo_context_set_font_weight          (FoContext *fo_context,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_context_get_format               (FoContext *fo_context);
void                fo_context_set_format               (FoContext *fo_context,
                                                         FoProperty *new_format);
FoProperty*         fo_context_get_grouping_separator   (FoContext *fo_context);
void                fo_context_set_grouping_separator   (FoContext *fo_context,
                                                         FoProperty *new_grouping_separator);
FoProperty*         fo_context_get_grouping_size        (FoContext *fo_context);
void                fo_context_set_grouping_size        (FoContext *fo_context,
                                                         FoProperty *new_grouping_size);
FoProperty*         fo_context_get_height               (FoContext *fo_context);
void                fo_context_set_height               (FoContext *fo_context,
                                                         FoProperty *new_height);
FoProperty*         fo_context_get_id                   (FoContext *fo_context);
void                fo_context_set_id                   (FoContext *fo_context,
                                                         FoProperty *new_id);
FoProperty*         fo_context_get_inline_progression_dimension
                                                        (FoContext *fo_context);
void                fo_context_set_inline_progression_dimension
                                                        (FoContext *fo_context,
                                                         FoProperty *new_inline_progression_dimension);
FoProperty*         fo_context_get_inline_progression_dimension_minimum
                                                        (FoContext *fo_context);
void                fo_context_set_inline_progression_dimension_minimum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_inline_progression_dimension_minimum);
FoProperty*         fo_context_get_inline_progression_dimension_optimum
                                                        (FoContext *fo_context);
void                fo_context_set_inline_progression_dimension_optimum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_inline_progression_dimension_optimum);
FoProperty*         fo_context_get_inline_progression_dimension_maximum
                                                        (FoContext *fo_context);
void                fo_context_set_inline_progression_dimension_maximum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_inline_progression_dimension_maximum);
FoProperty*         fo_context_get_keep_together        (FoContext *fo_context);
void                fo_context_set_keep_together        (FoContext *fo_context,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_context_get_keep_together_within_column
                                                        (FoContext *fo_context);
void                fo_context_set_keep_together_within_column
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_context_get_keep_together_within_line
                                                        (FoContext *fo_context);
void                fo_context_set_keep_together_within_line
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_context_get_keep_together_within_page
                                                        (FoContext *fo_context);
void                fo_context_set_keep_together_within_page
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_context_get_keep_with_next       (FoContext *fo_context);
void                fo_context_set_keep_with_next       (FoContext *fo_context,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_context_get_keep_with_next_within_column
                                                        (FoContext *fo_context);
void                fo_context_set_keep_with_next_within_column
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_context_get_keep_with_next_within_line
                                                        (FoContext *fo_context);
void                fo_context_set_keep_with_next_within_line
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_context_get_keep_with_next_within_page
                                                        (FoContext *fo_context);
void                fo_context_set_keep_with_next_within_page
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_context_get_keep_with_previous   (FoContext *fo_context);
void                fo_context_set_keep_with_previous   (FoContext *fo_context,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_context_get_keep_with_previous_within_column
                                                        (FoContext *fo_context);
void                fo_context_set_keep_with_previous_within_column
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_context_get_keep_with_previous_within_line
                                                        (FoContext *fo_context);
void                fo_context_set_keep_with_previous_within_line
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_context_get_keep_with_previous_within_page
                                                        (FoContext *fo_context);
void                fo_context_set_keep_with_previous_within_page
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_context_get_letter_value         (FoContext *fo_context);
void                fo_context_set_letter_value         (FoContext *fo_context,
                                                         FoProperty *new_letter_value);
FoProperty*         fo_context_get_linefeed_treatment   (FoContext *fo_context);
void                fo_context_set_linefeed_treatment   (FoContext *fo_context,
                                                         FoProperty *new_linefeed_treatment);
FoProperty*         fo_context_get_line_height          (FoContext *fo_context);
void                fo_context_set_line_height          (FoContext *fo_context,
                                                         FoProperty *new_line_height);
FoProperty*         fo_context_get_line_stacking_strategy
                                                        (FoContext *fo_context);
void                fo_context_set_line_stacking_strategy
                                                        (FoContext *fo_context,
                                                         FoProperty *new_line_stacking_strategy);
FoProperty*         fo_context_get_margin               (FoContext *fo_context);
void                fo_context_set_margin               (FoContext *fo_context,
                                                         FoProperty *new_margin);
FoProperty*         fo_context_get_margin_bottom        (FoContext *fo_context);
void                fo_context_set_margin_bottom        (FoContext *fo_context,
                                                         FoProperty *new_margin_bottom);
FoProperty*         fo_context_get_margin_left          (FoContext *fo_context);
void                fo_context_set_margin_left          (FoContext *fo_context,
                                                         FoProperty *new_margin_left);
FoProperty*         fo_context_get_margin_right         (FoContext *fo_context);
void                fo_context_set_margin_right         (FoContext *fo_context,
                                                         FoProperty *new_margin_right);
FoProperty*         fo_context_get_margin_top           (FoContext *fo_context);
void                fo_context_set_margin_top           (FoContext *fo_context,
                                                         FoProperty *new_margin_top);
FoProperty*         fo_context_get_master_name          (FoContext *fo_context);
void                fo_context_set_master_name          (FoContext *fo_context,
                                                         FoProperty *new_master_name);
FoProperty*         fo_context_get_master_reference     (FoContext *fo_context);
void                fo_context_set_master_reference     (FoContext *fo_context,
                                                         FoProperty *new_master_reference);
FoProperty*         fo_context_get_media_usage          (FoContext *fo_context);
void                fo_context_set_media_usage          (FoContext *fo_context,
                                                         FoProperty *new_media_usage);
FoProperty*         fo_context_get_number_columns_repeated
                                                        (FoContext *fo_context);
void                fo_context_set_number_columns_repeated
                                                        (FoContext *fo_context,
                                                         FoProperty *new_number_columns_repeated);
FoProperty*         fo_context_get_number_columns_spanned
                                                        (FoContext *fo_context);
void                fo_context_set_number_columns_spanned
                                                        (FoContext *fo_context,
                                                         FoProperty *new_number_columns_spanned);
FoProperty*         fo_context_get_number_rows_spanned  (FoContext *fo_context);
void                fo_context_set_number_rows_spanned  (FoContext *fo_context,
                                                         FoProperty *new_number_rows_spanned);
FoProperty*         fo_context_get_orphans              (FoContext *fo_context);
void                fo_context_set_orphans              (FoContext *fo_context,
                                                         FoProperty *new_orphans);
FoProperty*         fo_context_get_overflow             (FoContext *fo_context);
void                fo_context_set_overflow             (FoContext *fo_context,
                                                         FoProperty *new_overflow);
FoProperty*         fo_context_get_padding              (FoContext *fo_context);
void                fo_context_set_padding              (FoContext *fo_context,
                                                         FoProperty *new_padding);
FoProperty*         fo_context_get_padding_after        (FoContext *fo_context);
void                fo_context_set_padding_after        (FoContext *fo_context,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_context_get_padding_after_length (FoContext *fo_context);
void                fo_context_set_padding_after_length (FoContext *fo_context,
                                                         FoProperty *new_padding_after_length);
FoProperty*         fo_context_get_padding_after_condity
                                                        (FoContext *fo_context);
void                fo_context_set_padding_after_condity
                                                        (FoContext *fo_context,
                                                         FoProperty *new_padding_after_condity);
FoProperty*         fo_context_get_padding_before       (FoContext *fo_context);
void                fo_context_set_padding_before       (FoContext *fo_context,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_context_get_padding_before_length
                                                        (FoContext *fo_context);
void                fo_context_set_padding_before_length
                                                        (FoContext *fo_context,
                                                         FoProperty *new_padding_before_length);
FoProperty*         fo_context_get_padding_before_condity
                                                        (FoContext *fo_context);
void                fo_context_set_padding_before_condity
                                                        (FoContext *fo_context,
                                                         FoProperty *new_padding_before_condity);
FoProperty*         fo_context_get_padding_bottom       (FoContext *fo_context);
void                fo_context_set_padding_bottom       (FoContext *fo_context,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_context_get_padding_end          (FoContext *fo_context);
void                fo_context_set_padding_end          (FoContext *fo_context,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_context_get_padding_end_length   (FoContext *fo_context);
void                fo_context_set_padding_end_length   (FoContext *fo_context,
                                                         FoProperty *new_padding_end_length);
FoProperty*         fo_context_get_padding_end_condity  (FoContext *fo_context);
void                fo_context_set_padding_end_condity  (FoContext *fo_context,
                                                         FoProperty *new_padding_end_condity);
FoProperty*         fo_context_get_padding_left         (FoContext *fo_context);
void                fo_context_set_padding_left         (FoContext *fo_context,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_context_get_padding_right        (FoContext *fo_context);
void                fo_context_set_padding_right        (FoContext *fo_context,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_context_get_padding_start        (FoContext *fo_context);
void                fo_context_set_padding_start        (FoContext *fo_context,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_context_get_padding_start_length (FoContext *fo_context);
void                fo_context_set_padding_start_length (FoContext *fo_context,
                                                         FoProperty *new_padding_start_length);
FoProperty*         fo_context_get_padding_start_condity
                                                        (FoContext *fo_context);
void                fo_context_set_padding_start_condity
                                                        (FoContext *fo_context,
                                                         FoProperty *new_padding_start_condity);
FoProperty*         fo_context_get_padding_top          (FoContext *fo_context);
void                fo_context_set_padding_top          (FoContext *fo_context,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_context_get_page_height          (FoContext *fo_context);
void                fo_context_set_page_height          (FoContext *fo_context,
                                                         FoProperty *new_page_height);
FoProperty*         fo_context_get_page_width           (FoContext *fo_context);
void                fo_context_set_page_width           (FoContext *fo_context,
                                                         FoProperty *new_page_width);
FoProperty*         fo_context_get_provisional_distance_between_starts
                                                        (FoContext *fo_context);
void                fo_context_set_provisional_distance_between_starts
                                                        (FoContext *fo_context,
                                                         FoProperty *new_provisional_distance_between_starts);
FoProperty*         fo_context_get_provisional_label_separation
                                                        (FoContext *fo_context);
void                fo_context_set_provisional_label_separation
                                                        (FoContext *fo_context,
                                                         FoProperty *new_provisional_label_separation);
FoProperty*         fo_context_get_ref_id               (FoContext *fo_context);
void                fo_context_set_ref_id               (FoContext *fo_context,
                                                         FoProperty *new_ref_id);
FoProperty*         fo_context_get_region_name          (FoContext *fo_context);
void                fo_context_set_region_name          (FoContext *fo_context,
                                                         FoProperty *new_region_name);
FoProperty*         fo_context_get_role                 (FoContext *fo_context);
void                fo_context_set_role                 (FoContext *fo_context,
                                                         FoProperty *new_role);
FoProperty*         fo_context_get_scaling              (FoContext *fo_context);
void                fo_context_set_scaling              (FoContext *fo_context,
                                                         FoProperty *new_scaling);
FoProperty*         fo_context_get_scaling_method       (FoContext *fo_context);
void                fo_context_set_scaling_method       (FoContext *fo_context,
                                                         FoProperty *new_scaling_method);
FoProperty*         fo_context_get_score_spaces         (FoContext *fo_context);
void                fo_context_set_score_spaces         (FoContext *fo_context,
                                                         FoProperty *new_score_spaces);
FoProperty*         fo_context_get_source_document      (FoContext *fo_context);
void                fo_context_set_source_document      (FoContext *fo_context,
                                                         FoProperty *new_source_document);
FoProperty*         fo_context_get_space_after          (FoContext *fo_context);
void                fo_context_set_space_after          (FoContext *fo_context,
                                                         FoProperty *new_space_after);
void                fo_context_set_space_after_minimum  (FoContext *fo_context,
                                                         FoProperty *new_space_after_minimum);
void                fo_context_set_space_after_optimum  (FoContext *fo_context,
                                                         FoProperty *new_space_after_optimum);
void                fo_context_set_space_after_maximum  (FoContext *fo_context,
                                                         FoProperty *new_space_after_maximum);
void                fo_context_set_space_after_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_space_after_precedence);
void                fo_context_set_space_after_condity  (FoContext *fo_context,
                                                         FoProperty *new_space_after_condity);
FoProperty*         fo_context_get_space_before         (FoContext *fo_context);
void                fo_context_set_space_before         (FoContext *fo_context,
                                                         FoProperty *new_space_before);
void                fo_context_set_space_before_minimum (FoContext *fo_context,
                                                         FoProperty *new_space_before_minimum);
void                fo_context_set_space_before_optimum (FoContext *fo_context,
                                                         FoProperty *new_space_before_optimum);
void                fo_context_set_space_before_maximum (FoContext *fo_context,
                                                         FoProperty *new_space_before_maximum);
void                fo_context_set_space_before_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_space_before_precedence);
void                fo_context_set_space_before_condity (FoContext *fo_context,
                                                         FoProperty *new_space_before_condity);
FoProperty*         fo_context_get_space_end            (FoContext *fo_context);
void                fo_context_set_space_end            (FoContext *fo_context,
                                                         FoProperty *new_space_end);
void                fo_context_set_space_end_minimum    (FoContext *fo_context,
                                                         FoProperty *new_space_end_minimum);
void                fo_context_set_space_end_optimum    (FoContext *fo_context,
                                                         FoProperty *new_space_end_optimum);
void                fo_context_set_space_end_maximum    (FoContext *fo_context,
                                                         FoProperty *new_space_end_maximum);
void                fo_context_set_space_end_precedence (FoContext *fo_context,
                                                         FoProperty *new_space_end_precedence);
void                fo_context_set_space_end_condity    (FoContext *fo_context,
                                                         FoProperty *new_space_end_condity);
FoProperty*         fo_context_get_space_start          (FoContext *fo_context);
void                fo_context_set_space_start          (FoContext *fo_context,
                                                         FoProperty *new_space_start);
void                fo_context_set_space_start_minimum  (FoContext *fo_context,
                                                         FoProperty *new_space_start_minimum);
void                fo_context_set_space_start_optimum  (FoContext *fo_context,
                                                         FoProperty *new_space_start_optimum);
void                fo_context_set_space_start_maximum  (FoContext *fo_context,
                                                         FoProperty *new_space_start_maximum);
void                fo_context_set_space_start_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_space_start_precedence);
void                fo_context_set_space_start_condity  (FoContext *fo_context,
                                                         FoProperty *new_space_start_condity);
FoProperty*         fo_context_get_span                 (FoContext *fo_context);
void                fo_context_set_span                 (FoContext *fo_context,
                                                         FoProperty *new_span);
FoProperty*         fo_context_get_src                  (FoContext *fo_context);
void                fo_context_set_src                  (FoContext *fo_context,
                                                         FoProperty *new_src);
FoProperty*         fo_context_get_start_indent         (FoContext *fo_context);
void                fo_context_set_start_indent         (FoContext *fo_context,
                                                         FoProperty *new_start_indent);
FoProperty*         fo_context_get_table_layout         (FoContext *fo_context);
void                fo_context_set_table_layout         (FoContext *fo_context,
                                                         FoProperty *new_table_layout);
FoProperty*         fo_context_get_text_align           (FoContext *fo_context);
void                fo_context_set_text_align           (FoContext *fo_context,
                                                         FoProperty *new_text_align);
FoProperty*         fo_context_get_text_indent          (FoContext *fo_context);
void                fo_context_set_text_indent          (FoContext *fo_context,
                                                         FoProperty *new_text_indent);
FoProperty*         fo_context_get_unicode_bidi         (FoContext *fo_context);
void                fo_context_set_unicode_bidi         (FoContext *fo_context,
                                                         FoProperty *new_unicode_bidi);
FoProperty*         fo_context_get_white_space_collapse (FoContext *fo_context);
void                fo_context_set_white_space_collapse (FoContext *fo_context,
                                                         FoProperty *new_white_space_collapse);
FoProperty*         fo_context_get_white_space_treatment
                                                        (FoContext *fo_context);
void                fo_context_set_white_space_treatment
                                                        (FoContext *fo_context,
                                                         FoProperty *new_white_space_treatment);
FoProperty*         fo_context_get_widows               (FoContext *fo_context);
void                fo_context_set_widows               (FoContext *fo_context,
                                                         FoProperty *new_widows);
FoProperty*         fo_context_get_width                (FoContext *fo_context);
void                fo_context_set_width                (FoContext *fo_context,
                                                         FoProperty *new_width);
FoProperty*         fo_context_get_wrap_option          (FoContext *fo_context);
void                fo_context_set_wrap_option          (FoContext *fo_context,
                                                         FoProperty *new_wrap_option);
FoProperty*         fo_context_get_writing_mode         (FoContext *fo_context);
void                fo_context_set_writing_mode         (FoContext *fo_context,
                                                         FoProperty *new_writing_mode);

Object Hierarchy

  GObject
   +----FoObject
         +----FoContext

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "baseline-shift"           FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "block-progression-dimension-maximum" FoProperty*           : Read
  "block-progression-dimension-minimum" FoProperty*           : Read
  "block-progression-dimension-optimum" FoProperty*           : Read
  "border"                   FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-precedence"  FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-precedence" FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom"            FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-collapse"          FoProperty*           : Read
  "border-color"             FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-precedence"    FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left"              FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right"             FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-separation"        FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-precedence"  FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-style"             FoProperty*           : Read
  "border-top"               FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "border-width"             FoProperty*           : Read
  "break-after"              FoProperty*           : Read
  "break-before"             FoProperty*           : Read
  "character"                FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "color"                    FoProperty*           : Read
  "column-number"            FoProperty*           : Read
  "column-width"             FoProperty*           : Read
  "content-height"           FoProperty*           : Read
  "content-type"             FoProperty*           : Read
  "content-width"            FoProperty*           : Read
  "direction"                FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "end-indent"               FoProperty*           : Read
  "extent"                   FoProperty*           : Read
  "flow-name"                FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "format"                   FoProperty*           : Read
  "grouping-separator"       FoProperty*           : Read
  "grouping-size"            FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "inline-progression-dimension" FoProperty*           : Read
  "inline-progression-dimension-maximum" FoProperty*           : Read
  "inline-progression-dimension-minimum" FoProperty*           : Read
  "inline-progression-dimension-optimum" FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "letter-value"             FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "line-stacking-strategy"   FoProperty*           : Read
  "linefeed-treatment"       FoProperty*           : Read
  "margin"                   FoProperty*           : Read
  "margin-bottom"            FoProperty*           : Read
  "margin-left"              FoProperty*           : Read
  "margin-right"             FoProperty*           : Read
  "margin-top"               FoProperty*           : Read
  "master-name"              FoProperty*           : Read
  "master-reference"         FoProperty*           : Read
  "media-usage"              FoProperty*           : Read
  "number-columns-repeated"  FoProperty*           : Read
  "number-columns-spanned"   FoProperty*           : Read
  "number-rows-spanned"      FoProperty*           : Read
  "orphans"                  FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding"                  FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-after-conditionality" FoProperty*           : Read
  "padding-after-length"     FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-before-conditionality" FoProperty*           : Read
  "padding-before-length"    FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-end-conditionality" FoProperty*           : Read
  "padding-end-length"       FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-start-conditionality" FoProperty*           : Read
  "padding-start-length"     FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "page-height"              FoProperty*           : Read
  "page-width"               FoProperty*           : Read
  "provisional-distance-between-starts" FoProperty*           : Read
  "provisional-label-separation" FoProperty*           : Read
  "ref-id"                   FoProperty*           : Read
  "region-name"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "scaling"                  FoProperty*           : Read
  "scaling-method"           FoProperty*           : Read
  "score-spaces"             FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-after"              FoProperty*           : Read
  "space-after-conditionality" FoProperty*           : Write
  "space-after-maximum"      FoProperty*           : Write
  "space-after-minimum"      FoProperty*           : Write
  "space-after-optimum"      FoProperty*           : Write
  "space-after-precedence"   FoProperty*           : Write
  "space-before"             FoProperty*           : Read
  "space-before-conditionality" FoProperty*           : Write
  "space-before-maximum"     FoProperty*           : Write
  "space-before-minimum"     FoProperty*           : Write
  "space-before-optimum"     FoProperty*           : Write
  "space-before-precedence"  FoProperty*           : Write
  "space-end"                FoProperty*           : Read
  "space-end-conditionality" FoProperty*           : Write
  "space-end-maximum"        FoProperty*           : Write
  "space-end-minimum"        FoProperty*           : Write
  "space-end-optimum"        FoProperty*           : Write
  "space-end-precedence"     FoProperty*           : Write
  "space-start"              FoProperty*           : Read
  "space-start-conditionality" FoProperty*           : Write
  "space-start-maximum"      FoProperty*           : Write
  "space-start-minimum"      FoProperty*           : Write
  "space-start-optimum"      FoProperty*           : Write
  "space-start-precedence"   FoProperty*           : Write
  "span"                     FoProperty*           : Read
  "src"                      FoProperty*           : Read
  "start-indent"             FoProperty*           : Read
  "table-layout"             FoProperty*           : Read
  "text-align"               FoProperty*           : Read
  "text-indent"              FoProperty*           : Read
  "unicode-bidi"             FoProperty*           : Read
  "white-space-collapse"     FoProperty*           : Read
  "white-space-treatment"    FoProperty*           : Read
  "widows"                   FoProperty*           : Read
  "width"                    FoProperty*           : Read
  "wrap-option"              FoProperty*           : Read
  "writing-mode"             FoProperty*           : Read

Description

Details

FoContext

typedef struct _FoContext FoContext;


FoContextClass

typedef struct _FoContextClass FoContextClass;


fo_context_new ()

FoContext*          fo_context_new                      (void);

Creates a new FoContext initialized to default value.

Returns :

the new FoContext.

fo_context_initialize ()

void                fo_context_initialize               (FoContext *context);

Initialize context with the initial/default value of every property.

context :

FoContext to initialize.

fo_context_merge ()

void                fo_context_merge                    (FoContext *primary,
                                                         FoContext *secondary);

Merge primary and secondary.

When a property does not exist in primary, if the property is inherited, set the property value in primary to that in secondary, otherwise set the property value in primary to its initial value.

primary :

Primary FoContext.

secondary :

Secondary FoContext.

fo_context_update_from_slist ()

void                fo_context_update_from_slist        (FoContext *context,
                                                         GSList *property_list);

Add each FoProperty in property_list to context.

context :

FoContext to be updated.

property_list :

GSList of FoProperty objects.

fo_context_debug_dump_properties ()

void                fo_context_debug_dump_properties    (FoContext *fo_context,
                                                         gint depth);

Calls fo_object_debug_dump on each property of fo then calls debug_dump_properties method of parent class.

fo_context :

The FoContext object.

depth :

Indent level to add to the output.

fo_context_get_alignment_adjust ()

FoProperty*         fo_context_get_alignment_adjust     (FoContext *fo_context);

Gets the "alignment-adjust" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "alignment-adjust" property value.

fo_context_set_alignment_adjust ()

void                fo_context_set_alignment_adjust     (FoContext *fo_context,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_context to new_alignment_adjust.

fo_context :

The FoContext object.

new_alignment_adjust :

The new "alignment-adjust" property value.

fo_context_get_alignment_baseline ()

FoProperty*         fo_context_get_alignment_baseline   (FoContext *fo_context);

Gets the "alignment-baseline" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "alignment-baseline" property value.

fo_context_set_alignment_baseline ()

void                fo_context_set_alignment_baseline   (FoContext *fo_context,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_context to new_alignment_baseline.

fo_context :

The FoContext object.

new_alignment_baseline :

The new "alignment-baseline" property value.

fo_context_get_background_color ()

FoProperty*         fo_context_get_background_color     (FoContext *fo_context);

Gets the "background-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "background-color" property value.

fo_context_set_background_color ()

void                fo_context_set_background_color     (FoContext *fo_context,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_context to new_background_color.

fo_context :

The FoContext object.

new_background_color :

The new "background-color" property value.

fo_context_get_background_image ()

FoProperty*         fo_context_get_background_image     (FoContext *fo_context);

Gets the "background-image" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "background-image" property value.

fo_context_set_background_image ()

void                fo_context_set_background_image     (FoContext *fo_context,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_context to new_background_image.

fo_context :

The FoContext object.

new_background_image :

The new "background-image" property value.

fo_context_get_baseline_shift ()

FoProperty*         fo_context_get_baseline_shift       (FoContext *fo_context);

Gets the "baseline-shift" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "baseline-shift" property value.

fo_context_set_baseline_shift ()

void                fo_context_set_baseline_shift       (FoContext *fo_context,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_context to new_baseline_shift.

fo_context :

The FoContext object.

new_baseline_shift :

The new "baseline-shift" property value.

fo_context_get_block_progression_dimension ()

FoProperty*         fo_context_get_block_progression_dimension
                                                        (FoContext *fo_context);

Gets the "block-progression-dimension" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "block-progression-dimension" property value.

fo_context_set_block_progression_dimension ()

void                fo_context_set_block_progression_dimension
                                                        (FoContext *fo_context,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_context to new_block_progression_dimension.

fo_context :

The FoContext object.

new_block_progression_dimension :

The new "block-progression-dimension" property value.

fo_context_get_block_progression_dimension_minimum ()

FoProperty*         fo_context_get_block_progression_dimension_minimum
                                                        (FoContext *fo_context);

Gets the "block-progression-dimension-minimum" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "block-progression-dimension-minimum" property value.

fo_context_set_block_progression_dimension_minimum ()

void                fo_context_set_block_progression_dimension_minimum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_block_progression_dimension_minimum);

Sets the "block-progression-dimension-minimum" property of fo_context to new_block_progression_dimension_minimum.

fo_context :

The FoContext object.

new_block_progression_dimension_minimum :

The new "block-progression-dimension-minimum" property value.

fo_context_get_block_progression_dimension_optimum ()

FoProperty*         fo_context_get_block_progression_dimension_optimum
                                                        (FoContext *fo_context);

Gets the "block-progression-dimension-optimum" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "block-progression-dimension-optimum" property value.

fo_context_set_block_progression_dimension_optimum ()

void                fo_context_set_block_progression_dimension_optimum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_block_progression_dimension_optimum);

Sets the "block-progression-dimension-optimum" property of fo_context to new_block_progression_dimension_optimum.

fo_context :

The FoContext object.

new_block_progression_dimension_optimum :

The new "block-progression-dimension-optimum" property value.

fo_context_get_block_progression_dimension_maximum ()

FoProperty*         fo_context_get_block_progression_dimension_maximum
                                                        (FoContext *fo_context);

Gets the "block-progression-dimension-maximum" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "block-progression-dimension-maximum" property value.

fo_context_set_block_progression_dimension_maximum ()

void                fo_context_set_block_progression_dimension_maximum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_block_progression_dimension_maximum);

Sets the "block-progression-dimension-maximum" property of fo_context to new_block_progression_dimension_maximum.

fo_context :

The FoContext object.

new_block_progression_dimension_maximum :

The new "block-progression-dimension-maximum" property value.

fo_context_get_border ()

FoProperty*         fo_context_get_border               (FoContext *fo_context);

Gets the "border" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border" property value.

fo_context_set_border ()

void                fo_context_set_border               (FoContext *fo_context,
                                                         FoProperty *new_border);

Sets the "border" property of fo_context to new_border.

fo_context :

The FoContext object.

new_border :

The new "border" property value.

fo_context_get_border_after_color ()

FoProperty*         fo_context_get_border_after_color   (FoContext *fo_context);

Gets the "border-after-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-after-color" property value.

fo_context_set_border_after_color ()

void                fo_context_set_border_after_color   (FoContext *fo_context,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_context to new_border_after_color.

fo_context :

The FoContext object.

new_border_after_color :

The new "border-after-color" property value.

fo_context_get_border_after_precedence ()

FoProperty*         fo_context_get_border_after_precedence
                                                        (FoContext *fo_context);

Gets the "border-after-precedence" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-after-precedence" property value.

fo_context_set_border_after_precedence ()

void                fo_context_set_border_after_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_border_after_precedence);

Sets the "border-after-precedence" property of fo_context to new_border_after_precedence.

fo_context :

The FoContext object.

new_border_after_precedence :

The new "border-after-precedence" property value.

fo_context_get_border_after_style ()

FoProperty*         fo_context_get_border_after_style   (FoContext *fo_context);

Gets the "border-after-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-after-style" property value.

fo_context_set_border_after_style ()

void                fo_context_set_border_after_style   (FoContext *fo_context,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_context to new_border_after_style.

fo_context :

The FoContext object.

new_border_after_style :

The new "border-after-style" property value.

fo_context_get_border_after_width ()

FoProperty*         fo_context_get_border_after_width   (FoContext *fo_context);

Gets the "border-after-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-after-width" property value.

fo_context_set_border_after_width ()

void                fo_context_set_border_after_width   (FoContext *fo_context,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_context to new_border_after_width.

fo_context :

The FoContext object.

new_border_after_width :

The new "border-after-width" property value.

fo_context_get_border_before_color ()

FoProperty*         fo_context_get_border_before_color  (FoContext *fo_context);

Gets the "border-before-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-before-color" property value.

fo_context_set_border_before_color ()

void                fo_context_set_border_before_color  (FoContext *fo_context,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_context to new_border_before_color.

fo_context :

The FoContext object.

new_border_before_color :

The new "border-before-color" property value.

fo_context_get_border_before_precedence ()

FoProperty*         fo_context_get_border_before_precedence
                                                        (FoContext *fo_context);

Gets the "border-before-precedence" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-before-precedence" property value.

fo_context_set_border_before_precedence ()

void                fo_context_set_border_before_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_border_before_precedence);

Sets the "border-before-precedence" property of fo_context to new_border_before_precedence.

fo_context :

The FoContext object.

new_border_before_precedence :

The new "border-before-precedence" property value.

fo_context_get_border_before_style ()

FoProperty*         fo_context_get_border_before_style  (FoContext *fo_context);

Gets the "border-before-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-before-style" property value.

fo_context_set_border_before_style ()

void                fo_context_set_border_before_style  (FoContext *fo_context,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_context to new_border_before_style.

fo_context :

The FoContext object.

new_border_before_style :

The new "border-before-style" property value.

fo_context_get_border_before_width ()

FoProperty*         fo_context_get_border_before_width  (FoContext *fo_context);

Gets the "border-before-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-before-width" property value.

fo_context_set_border_before_width ()

void                fo_context_set_border_before_width  (FoContext *fo_context,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_context to new_border_before_width.

fo_context :

The FoContext object.

new_border_before_width :

The new "border-before-width" property value.

fo_context_get_border_bottom ()

FoProperty*         fo_context_get_border_bottom        (FoContext *fo_context);

Gets the "border-bottom" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-bottom" property value.

fo_context_set_border_bottom ()

void                fo_context_set_border_bottom        (FoContext *fo_context,
                                                         FoProperty *new_border_bottom);

Sets the "border-bottom" property of fo_context to new_border_bottom.

fo_context :

The FoContext object.

new_border_bottom :

The new "border-bottom" property value.

fo_context_get_border_bottom_color ()

FoProperty*         fo_context_get_border_bottom_color  (FoContext *fo_context);

Gets the "border-bottom-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-bottom-color" property value.

fo_context_set_border_bottom_color ()

void                fo_context_set_border_bottom_color  (FoContext *fo_context,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_context to new_border_bottom_color.

fo_context :

The FoContext object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_context_get_border_bottom_style ()

FoProperty*         fo_context_get_border_bottom_style  (FoContext *fo_context);

Gets the "border-bottom-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-bottom-style" property value.

fo_context_set_border_bottom_style ()

void                fo_context_set_border_bottom_style  (FoContext *fo_context,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_context to new_border_bottom_style.

fo_context :

The FoContext object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_context_get_border_bottom_width ()

FoProperty*         fo_context_get_border_bottom_width  (FoContext *fo_context);

Gets the "border-bottom-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-bottom-width" property value.

fo_context_set_border_bottom_width ()

void                fo_context_set_border_bottom_width  (FoContext *fo_context,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_context to new_border_bottom_width.

fo_context :

The FoContext object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_context_get_border_collapse ()

FoProperty*         fo_context_get_border_collapse      (FoContext *fo_context);

Gets the "border-collapse" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-collapse" property value.

fo_context_set_border_collapse ()

void                fo_context_set_border_collapse      (FoContext *fo_context,
                                                         FoProperty *new_border_collapse);

Sets the "border-collapse" property of fo_context to new_border_collapse.

fo_context :

The FoContext object.

new_border_collapse :

The new "border-collapse" property value.

fo_context_get_border_color ()

FoProperty*         fo_context_get_border_color         (FoContext *fo_context);

Gets the "border-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-color" property value.

fo_context_set_border_color ()

void                fo_context_set_border_color         (FoContext *fo_context,
                                                         FoProperty *new_border_color);

Sets the "border-color" property of fo_context to new_border_color.

fo_context :

The FoContext object.

new_border_color :

The new "border-color" property value.

fo_context_get_border_end_color ()

FoProperty*         fo_context_get_border_end_color     (FoContext *fo_context);

Gets the "border-end-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-end-color" property value.

fo_context_set_border_end_color ()

void                fo_context_set_border_end_color     (FoContext *fo_context,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_context to new_border_end_color.

fo_context :

The FoContext object.

new_border_end_color :

The new "border-end-color" property value.

fo_context_get_border_end_precedence ()

FoProperty*         fo_context_get_border_end_precedence
                                                        (FoContext *fo_context);

Gets the "border-end-precedence" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-end-precedence" property value.

fo_context_set_border_end_precedence ()

void                fo_context_set_border_end_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_border_end_precedence);

Sets the "border-end-precedence" property of fo_context to new_border_end_precedence.

fo_context :

The FoContext object.

new_border_end_precedence :

The new "border-end-precedence" property value.

fo_context_get_border_end_style ()

FoProperty*         fo_context_get_border_end_style     (FoContext *fo_context);

Gets the "border-end-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-end-style" property value.

fo_context_set_border_end_style ()

void                fo_context_set_border_end_style     (FoContext *fo_context,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_context to new_border_end_style.

fo_context :

The FoContext object.

new_border_end_style :

The new "border-end-style" property value.

fo_context_get_border_end_width ()

FoProperty*         fo_context_get_border_end_width     (FoContext *fo_context);

Gets the "border-end-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-end-width" property value.

fo_context_set_border_end_width ()

void                fo_context_set_border_end_width     (FoContext *fo_context,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_context to new_border_end_width.

fo_context :

The FoContext object.

new_border_end_width :

The new "border-end-width" property value.

fo_context_get_border_left ()

FoProperty*         fo_context_get_border_left          (FoContext *fo_context);

Gets the "border-left" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-left" property value.

fo_context_set_border_left ()

void                fo_context_set_border_left          (FoContext *fo_context,
                                                         FoProperty *new_border_left);

Sets the "border-left" property of fo_context to new_border_left.

fo_context :

The FoContext object.

new_border_left :

The new "border-left" property value.

fo_context_get_border_left_color ()

FoProperty*         fo_context_get_border_left_color    (FoContext *fo_context);

Gets the "border-left-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-left-color" property value.

fo_context_set_border_left_color ()

void                fo_context_set_border_left_color    (FoContext *fo_context,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_context to new_border_left_color.

fo_context :

The FoContext object.

new_border_left_color :

The new "border-left-color" property value.

fo_context_get_border_left_style ()

FoProperty*         fo_context_get_border_left_style    (FoContext *fo_context);

Gets the "border-left-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-left-style" property value.

fo_context_set_border_left_style ()

void                fo_context_set_border_left_style    (FoContext *fo_context,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_context to new_border_left_style.

fo_context :

The FoContext object.

new_border_left_style :

The new "border-left-style" property value.

fo_context_get_border_left_width ()

FoProperty*         fo_context_get_border_left_width    (FoContext *fo_context);

Gets the "border-left-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-left-width" property value.

fo_context_set_border_left_width ()

void                fo_context_set_border_left_width    (FoContext *fo_context,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_context to new_border_left_width.

fo_context :

The FoContext object.

new_border_left_width :

The new "border-left-width" property value.

fo_context_get_border_right ()

FoProperty*         fo_context_get_border_right         (FoContext *fo_context);

Gets the "border-right" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-right" property value.

fo_context_set_border_right ()

void                fo_context_set_border_right         (FoContext *fo_context,
                                                         FoProperty *new_border_right);

Sets the "border-right" property of fo_context to new_border_right.

fo_context :

The FoContext object.

new_border_right :

The new "border-right" property value.

fo_context_get_border_right_color ()

FoProperty*         fo_context_get_border_right_color   (FoContext *fo_context);

Gets the "border-right-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-right-color" property value.

fo_context_set_border_right_color ()

void                fo_context_set_border_right_color   (FoContext *fo_context,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_context to new_border_right_color.

fo_context :

The FoContext object.

new_border_right_color :

The new "border-right-color" property value.

fo_context_get_border_right_style ()

FoProperty*         fo_context_get_border_right_style   (FoContext *fo_context);

Gets the "border-right-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-right-style" property value.

fo_context_set_border_right_style ()

void                fo_context_set_border_right_style   (FoContext *fo_context,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_context to new_border_right_style.

fo_context :

The FoContext object.

new_border_right_style :

The new "border-right-style" property value.

fo_context_get_border_right_width ()

FoProperty*         fo_context_get_border_right_width   (FoContext *fo_context);

Gets the "border-right-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-right-width" property value.

fo_context_set_border_right_width ()

void                fo_context_set_border_right_width   (FoContext *fo_context,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_context to new_border_right_width.

fo_context :

The FoContext object.

new_border_right_width :

The new "border-right-width" property value.

fo_context_get_border_separation ()

FoProperty*         fo_context_get_border_separation    (FoContext *fo_context);

Gets the "border-separation" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-separation" property value.

fo_context_set_border_separation ()

void                fo_context_set_border_separation    (FoContext *fo_context,
                                                         FoProperty *new_border_separation);

Sets the "border-separation" property of fo_context to new_border_separation.

fo_context :

The FoContext object.

new_border_separation :

The new "border-separation" property value.

fo_context_get_border_start_color ()

FoProperty*         fo_context_get_border_start_color   (FoContext *fo_context);

Gets the "border-start-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-start-color" property value.

fo_context_set_border_start_color ()

void                fo_context_set_border_start_color   (FoContext *fo_context,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_context to new_border_start_color.

fo_context :

The FoContext object.

new_border_start_color :

The new "border-start-color" property value.

fo_context_get_border_start_precedence ()

FoProperty*         fo_context_get_border_start_precedence
                                                        (FoContext *fo_context);

Gets the "border-start-precedence" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-start-precedence" property value.

fo_context_set_border_start_precedence ()

void                fo_context_set_border_start_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_border_start_precedence);

Sets the "border-start-precedence" property of fo_context to new_border_start_precedence.

fo_context :

The FoContext object.

new_border_start_precedence :

The new "border-start-precedence" property value.

fo_context_get_border_start_style ()

FoProperty*         fo_context_get_border_start_style   (FoContext *fo_context);

Gets the "border-start-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-start-style" property value.

fo_context_set_border_start_style ()

void                fo_context_set_border_start_style   (FoContext *fo_context,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_context to new_border_start_style.

fo_context :

The FoContext object.

new_border_start_style :

The new "border-start-style" property value.

fo_context_get_border_start_width ()

FoProperty*         fo_context_get_border_start_width   (FoContext *fo_context);

Gets the "border-start-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-start-width" property value.

fo_context_set_border_start_width ()

void                fo_context_set_border_start_width   (FoContext *fo_context,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_context to new_border_start_width.

fo_context :

The FoContext object.

new_border_start_width :

The new "border-start-width" property value.

fo_context_get_border_style ()

FoProperty*         fo_context_get_border_style         (FoContext *fo_context);

Gets the "border-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-style" property value.

fo_context_set_border_style ()

void                fo_context_set_border_style         (FoContext *fo_context,
                                                         FoProperty *new_border_style);

Sets the "border-style" property of fo_context to new_border_style.

fo_context :

The FoContext object.

new_border_style :

The new "border-style" property value.

fo_context_get_border_top ()

FoProperty*         fo_context_get_border_top           (FoContext *fo_context);

Gets the "border-top" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-top" property value.

fo_context_set_border_top ()

void                fo_context_set_border_top           (FoContext *fo_context,
                                                         FoProperty *new_border_top);

Sets the "border-top" property of fo_context to new_border_top.

fo_context :

The FoContext object.

new_border_top :

The new "border-top" property value.

fo_context_get_border_top_color ()

FoProperty*         fo_context_get_border_top_color     (FoContext *fo_context);

Gets the "border-top-color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-top-color" property value.

fo_context_set_border_top_color ()

void                fo_context_set_border_top_color     (FoContext *fo_context,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_context to new_border_top_color.

fo_context :

The FoContext object.

new_border_top_color :

The new "border-top-color" property value.

fo_context_get_border_top_style ()

FoProperty*         fo_context_get_border_top_style     (FoContext *fo_context);

Gets the "border-top-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-top-style" property value.

fo_context_set_border_top_style ()

void                fo_context_set_border_top_style     (FoContext *fo_context,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_context to new_border_top_style.

fo_context :

The FoContext object.

new_border_top_style :

The new "border-top-style" property value.

fo_context_get_border_top_width ()

FoProperty*         fo_context_get_border_top_width     (FoContext *fo_context);

Gets the "border-top-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-top-width" property value.

fo_context_set_border_top_width ()

void                fo_context_set_border_top_width     (FoContext *fo_context,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_context to new_border_top_width.

fo_context :

The FoContext object.

new_border_top_width :

The new "border-top-width" property value.

fo_context_get_border_width ()

FoProperty*         fo_context_get_border_width         (FoContext *fo_context);

Gets the "border-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "border-width" property value.

fo_context_set_border_width ()

void                fo_context_set_border_width         (FoContext *fo_context,
                                                         FoProperty *new_border_width);

Sets the "border-width" property of fo_context to new_border_width.

fo_context :

The FoContext object.

new_border_width :

The new "border-width" property value.

fo_context_get_break_after ()

FoProperty*         fo_context_get_break_after          (FoContext *fo_context);

Gets the "break-after" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "break-after" property value.

fo_context_set_break_after ()

void                fo_context_set_break_after          (FoContext *fo_context,
                                                         FoProperty *new_break_after);

Sets the "break-after" property of fo_context to new_break_after.

fo_context :

The FoContext object.

new_break_after :

The new "break-after" property value.

fo_context_get_break_before ()

FoProperty*         fo_context_get_break_before         (FoContext *fo_context);

Gets the "break-before" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "break-before" property value.

fo_context_set_break_before ()

void                fo_context_set_break_before         (FoContext *fo_context,
                                                         FoProperty *new_break_before);

Sets the "break-before" property of fo_context to new_break_before.

fo_context :

The FoContext object.

new_break_before :

The new "break-before" property value.

fo_context_get_character ()

FoProperty*         fo_context_get_character            (FoContext *fo_context);

Gets the "character" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "character" property value.

fo_context_set_character ()

void                fo_context_set_character            (FoContext *fo_context,
                                                         FoProperty *new_character);

Sets the "character" property of fo_context to new_character.

fo_context :

The FoContext object.

new_character :

The new "character" property value.

fo_context_get_clip ()

FoProperty*         fo_context_get_clip                 (FoContext *fo_context);

Gets the "clip" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "clip" property value.

fo_context_set_clip ()

void                fo_context_set_clip                 (FoContext *fo_context,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_context to new_clip.

fo_context :

The FoContext object.

new_clip :

The new "clip" property value.

fo_context_get_color ()

FoProperty*         fo_context_get_color                (FoContext *fo_context);

Gets the "color" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "color" property value.

fo_context_set_color ()

void                fo_context_set_color                (FoContext *fo_context,
                                                         FoProperty *new_color);

Sets the "color" property of fo_context to new_color.

fo_context :

The FoContext object.

new_color :

The new "color" property value.

fo_context_get_column_number ()

FoProperty*         fo_context_get_column_number        (FoContext *fo_context);

Gets the "column-number" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "column-number" property value.

fo_context_set_column_number ()

void                fo_context_set_column_number        (FoContext *fo_context,
                                                         FoProperty *new_column_number);

Sets the "column-number" property of fo_context to new_column_number.

fo_context :

The FoContext object.

new_column_number :

The new "column-number" property value.

fo_context_get_column_width ()

FoProperty*         fo_context_get_column_width         (FoContext *fo_context);

Gets the "column-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "column-width" property value.

fo_context_set_column_width ()

void                fo_context_set_column_width         (FoContext *fo_context,
                                                         FoProperty *new_column_width);

Sets the "column-width" property of fo_context to new_column_width.

fo_context :

The FoContext object.

new_column_width :

The new "column-width" property value.

fo_context_get_content_height ()

FoProperty*         fo_context_get_content_height       (FoContext *fo_context);

Gets the "content-height" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "content-height" property value.

fo_context_set_content_height ()

void                fo_context_set_content_height       (FoContext *fo_context,
                                                         FoProperty *new_content_height);

Sets the "content-height" property of fo_context to new_content_height.

fo_context :

The FoContext object.

new_content_height :

The new "content-height" property value.

fo_context_get_content_type ()

FoProperty*         fo_context_get_content_type         (FoContext *fo_context);

Gets the "content-type" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "content-type" property value.

fo_context_set_content_type ()

void                fo_context_set_content_type         (FoContext *fo_context,
                                                         FoProperty *new_content_type);

Sets the "content-type" property of fo_context to new_content_type.

fo_context :

The FoContext object.

new_content_type :

The new "content-type" property value.

fo_context_get_content_width ()

FoProperty*         fo_context_get_content_width        (FoContext *fo_context);

Gets the "content-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "content-width" property value.

fo_context_set_content_width ()

void                fo_context_set_content_width        (FoContext *fo_context,
                                                         FoProperty *new_content_width);

Sets the "content-width" property of fo_context to new_content_width.

fo_context :

The FoContext object.

new_content_width :

The new "content-width" property value.

fo_context_get_direction ()

FoProperty*         fo_context_get_direction            (FoContext *fo_context);

Gets the "direction" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "direction" property value.

fo_context_set_direction ()

void                fo_context_set_direction            (FoContext *fo_context,
                                                         FoProperty *new_direction);

Sets the "direction" property of fo_context to new_direction.

fo_context :

The FoContext object.

new_direction :

The new "direction" property value.

fo_context_get_display_align ()

FoProperty*         fo_context_get_display_align        (FoContext *fo_context);

Gets the "display-align" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "display-align" property value.

fo_context_set_display_align ()

void                fo_context_set_display_align        (FoContext *fo_context,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_context to new_display_align.

fo_context :

The FoContext object.

new_display_align :

The new "display-align" property value.

fo_context_get_dominant_baseline ()

FoProperty*         fo_context_get_dominant_baseline    (FoContext *fo_context);

Gets the "dominant-baseline" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "dominant-baseline" property value.

fo_context_set_dominant_baseline ()

void                fo_context_set_dominant_baseline    (FoContext *fo_context,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_context to new_dominant_baseline.

fo_context :

The FoContext object.

new_dominant_baseline :

The new "dominant-baseline" property value.

fo_context_get_end_indent ()

FoProperty*         fo_context_get_end_indent           (FoContext *fo_context);

Gets the "end-indent" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "end-indent" property value.

fo_context_set_end_indent ()

void                fo_context_set_end_indent           (FoContext *fo_context,
                                                         FoProperty *new_end_indent);

Sets the "end-indent" property of fo_context to new_end_indent.

fo_context :

The FoContext object.

new_end_indent :

The new "end-indent" property value.

fo_context_get_extent ()

FoProperty*         fo_context_get_extent               (FoContext *fo_context);

Gets the "extent" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "extent" property value.

fo_context_set_extent ()

void                fo_context_set_extent               (FoContext *fo_context,
                                                         FoProperty *new_extent);

Sets the "extent" property of fo_context to new_extent.

fo_context :

The FoContext object.

new_extent :

The new "extent" property value.

fo_context_get_flow_name ()

FoProperty*         fo_context_get_flow_name            (FoContext *fo_context);

Gets the "flow-name" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "flow-name" property value.

fo_context_set_flow_name ()

void                fo_context_set_flow_name            (FoContext *fo_context,
                                                         FoProperty *new_flow_name);

Sets the "flow-name" property of fo_context to new_flow_name.

fo_context :

The FoContext object.

new_flow_name :

The new "flow-name" property value.

fo_context_get_font_family ()

FoProperty*         fo_context_get_font_family          (FoContext *fo_context);

Gets the "font-family" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "font-family" property value.

fo_context_set_font_family ()

void                fo_context_set_font_family          (FoContext *fo_context,
                                                         FoProperty *new_font_family);

Sets the "font-family" property of fo_context to new_font_family.

fo_context :

The FoContext object.

new_font_family :

The new "font-family" property value.

fo_context_get_font_size ()

FoProperty*         fo_context_get_font_size            (FoContext *fo_context);

Gets the "font-size" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "font-size" property value.

fo_context_set_font_size ()

void                fo_context_set_font_size            (FoContext *fo_context,
                                                         FoProperty *new_font_size);

Sets the "font-size" property of fo_context to new_font_size.

fo_context :

The FoContext object.

new_font_size :

The new "font-size" property value.

fo_context_get_font_stretch ()

FoProperty*         fo_context_get_font_stretch         (FoContext *fo_context);

Gets the "font-stretch" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "font-stretch" property value.

fo_context_set_font_stretch ()

void                fo_context_set_font_stretch         (FoContext *fo_context,
                                                         FoProperty *new_font_stretch);

Sets the "font-stretch" property of fo_context to new_font_stretch.

fo_context :

The FoContext object.

new_font_stretch :

The new "font-stretch" property value.

fo_context_get_font_style ()

FoProperty*         fo_context_get_font_style           (FoContext *fo_context);

Gets the "font-style" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "font-style" property value.

fo_context_set_font_style ()

void                fo_context_set_font_style           (FoContext *fo_context,
                                                         FoProperty *new_font_style);

Sets the "font-style" property of fo_context to new_font_style.

fo_context :

The FoContext object.

new_font_style :

The new "font-style" property value.

fo_context_get_font_variant ()

FoProperty*         fo_context_get_font_variant         (FoContext *fo_context);

Gets the "font-variant" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "font-variant" property value.

fo_context_set_font_variant ()

void                fo_context_set_font_variant         (FoContext *fo_context,
                                                         FoProperty *new_font_variant);

Sets the "font-variant" property of fo_context to new_font_variant.

fo_context :

The FoContext object.

new_font_variant :

The new "font-variant" property value.

fo_context_get_font_weight ()

FoProperty*         fo_context_get_font_weight          (FoContext *fo_context);

Gets the "font-weight" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "font-weight" property value.

fo_context_set_font_weight ()

void                fo_context_set_font_weight          (FoContext *fo_context,
                                                         FoProperty *new_font_weight);

Sets the "font-weight" property of fo_context to new_font_weight.

fo_context :

The FoContext object.

new_font_weight :

The new "font-weight" property value.

fo_context_get_format ()

FoProperty*         fo_context_get_format               (FoContext *fo_context);

Gets the "format" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "format" property value.

fo_context_set_format ()

void                fo_context_set_format               (FoContext *fo_context,
                                                         FoProperty *new_format);

Sets the "format" property of fo_context to new_format.

fo_context :

The FoContext object.

new_format :

The new "format" property value.

fo_context_get_grouping_separator ()

FoProperty*         fo_context_get_grouping_separator   (FoContext *fo_context);

Gets the "grouping-separator" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "grouping-separator" property value.

fo_context_set_grouping_separator ()

void                fo_context_set_grouping_separator   (FoContext *fo_context,
                                                         FoProperty *new_grouping_separator);

Sets the "grouping-separator" property of fo_context to new_grouping_separator.

fo_context :

The FoContext object.

new_grouping_separator :

The new "grouping-separator" property value.

fo_context_get_grouping_size ()

FoProperty*         fo_context_get_grouping_size        (FoContext *fo_context);

Gets the "grouping-size" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "grouping-size" property value.

fo_context_set_grouping_size ()

void                fo_context_set_grouping_size        (FoContext *fo_context,
                                                         FoProperty *new_grouping_size);

Sets the "grouping-size" property of fo_context to new_grouping_size.

fo_context :

The FoContext object.

new_grouping_size :

The new "grouping-size" property value.

fo_context_get_height ()

FoProperty*         fo_context_get_height               (FoContext *fo_context);

Gets the "height" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "height" property value.

fo_context_set_height ()

void                fo_context_set_height               (FoContext *fo_context,
                                                         FoProperty *new_height);

Sets the "height" property of fo_context to new_height.

fo_context :

The FoContext object.

new_height :

The new "height" property value.

fo_context_get_id ()

FoProperty*         fo_context_get_id                   (FoContext *fo_context);

Gets the "id" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "id" property value.

fo_context_set_id ()

void                fo_context_set_id                   (FoContext *fo_context,
                                                         FoProperty *new_id);

Sets the "id" property of fo_context to new_id.

fo_context :

The FoContext object.

new_id :

The new "id" property value.

fo_context_get_inline_progression_dimension ()

FoProperty*         fo_context_get_inline_progression_dimension
                                                        (FoContext *fo_context);

Gets the "inline-progression-dimension" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "inline-progression-dimension" property value.

fo_context_set_inline_progression_dimension ()

void                fo_context_set_inline_progression_dimension
                                                        (FoContext *fo_context,
                                                         FoProperty *new_inline_progression_dimension);

Sets the "inline-progression-dimension" property of fo_context to new_inline_progression_dimension.

fo_context :

The FoContext object.

new_inline_progression_dimension :

The new "inline-progression-dimension" property value.

fo_context_get_inline_progression_dimension_minimum ()

FoProperty*         fo_context_get_inline_progression_dimension_minimum
                                                        (FoContext *fo_context);

Gets the "inline-progression-dimension-minimum" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "inline-progression-dimension-minimum" property value.

fo_context_set_inline_progression_dimension_minimum ()

void                fo_context_set_inline_progression_dimension_minimum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_inline_progression_dimension_minimum);

Sets the "inline-progression-dimension-minimum" property of fo_context to new_inline_progression_dimension_minimum.

fo_context :

The FoContext object.

new_inline_progression_dimension_minimum :

The new "inline-progression-dimension-minimum" property value.

fo_context_get_inline_progression_dimension_optimum ()

FoProperty*         fo_context_get_inline_progression_dimension_optimum
                                                        (FoContext *fo_context);

Gets the "inline-progression-dimension-optimum" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "inline-progression-dimension-optimum" property value.

fo_context_set_inline_progression_dimension_optimum ()

void                fo_context_set_inline_progression_dimension_optimum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_inline_progression_dimension_optimum);

Sets the "inline-progression-dimension-optimum" property of fo_context to new_inline_progression_dimension_optimum.

fo_context :

The FoContext object.

new_inline_progression_dimension_optimum :

The new "inline-progression-dimension-optimum" property value.

fo_context_get_inline_progression_dimension_maximum ()

FoProperty*         fo_context_get_inline_progression_dimension_maximum
                                                        (FoContext *fo_context);

Gets the "inline-progression-dimension-maximum" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "inline-progression-dimension-maximum" property value.

fo_context_set_inline_progression_dimension_maximum ()

void                fo_context_set_inline_progression_dimension_maximum
                                                        (FoContext *fo_context,
                                                         FoProperty *new_inline_progression_dimension_maximum);

Sets the "inline-progression-dimension-maximum" property of fo_context to new_inline_progression_dimension_maximum.

fo_context :

The FoContext object.

new_inline_progression_dimension_maximum :

The new "inline-progression-dimension-maximum" property value.

fo_context_get_keep_together ()

FoProperty*         fo_context_get_keep_together        (FoContext *fo_context);

Gets the "keep-together" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-together" property value.

fo_context_set_keep_together ()

void                fo_context_set_keep_together        (FoContext *fo_context,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_context to new_keep_together.

fo_context :

The FoContext object.

new_keep_together :

The new "keep-together" property value.

fo_context_get_keep_together_within_column ()

FoProperty*         fo_context_get_keep_together_within_column
                                                        (FoContext *fo_context);

Gets the "keep-together-within-column" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-together-within-column" property value.

fo_context_set_keep_together_within_column ()

void                fo_context_set_keep_together_within_column
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_context to new_keep_together_within_column.

fo_context :

The FoContext object.

new_keep_together_within_column :

The new "keep-together-within-column" property value.

fo_context_get_keep_together_within_line ()

FoProperty*         fo_context_get_keep_together_within_line
                                                        (FoContext *fo_context);

Gets the "keep-together-within-line" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-together-within-line" property value.

fo_context_set_keep_together_within_line ()

void                fo_context_set_keep_together_within_line
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_context to new_keep_together_within_line.

fo_context :

The FoContext object.

new_keep_together_within_line :

The new "keep-together-within-line" property value.

fo_context_get_keep_together_within_page ()

FoProperty*         fo_context_get_keep_together_within_page
                                                        (FoContext *fo_context);

Gets the "keep-together-within-page" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-together-within-page" property value.

fo_context_set_keep_together_within_page ()

void                fo_context_set_keep_together_within_page
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_context to new_keep_together_within_page.

fo_context :

The FoContext object.

new_keep_together_within_page :

The new "keep-together-within-page" property value.

fo_context_get_keep_with_next ()

FoProperty*         fo_context_get_keep_with_next       (FoContext *fo_context);

Gets the "keep-with-next" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-with-next" property value.

fo_context_set_keep_with_next ()

void                fo_context_set_keep_with_next       (FoContext *fo_context,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_context to new_keep_with_next.

fo_context :

The FoContext object.

new_keep_with_next :

The new "keep-with-next" property value.

fo_context_get_keep_with_next_within_column ()

FoProperty*         fo_context_get_keep_with_next_within_column
                                                        (FoContext *fo_context);

Gets the "keep-with-next-within-column" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-with-next-within-column" property value.

fo_context_set_keep_with_next_within_column ()

void                fo_context_set_keep_with_next_within_column
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_context to new_keep_with_next_within_column.

fo_context :

The FoContext object.

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value.

fo_context_get_keep_with_next_within_line ()

FoProperty*         fo_context_get_keep_with_next_within_line
                                                        (FoContext *fo_context);

Gets the "keep-with-next-within-line" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-with-next-within-line" property value.

fo_context_set_keep_with_next_within_line ()

void                fo_context_set_keep_with_next_within_line
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_context to new_keep_with_next_within_line.

fo_context :

The FoContext object.

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value.

fo_context_get_keep_with_next_within_page ()

FoProperty*         fo_context_get_keep_with_next_within_page
                                                        (FoContext *fo_context);

Gets the "keep-with-next-within-page" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-with-next-within-page" property value.

fo_context_set_keep_with_next_within_page ()

void                fo_context_set_keep_with_next_within_page
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_context to new_keep_with_next_within_page.

fo_context :

The FoContext object.

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value.

fo_context_get_keep_with_previous ()

FoProperty*         fo_context_get_keep_with_previous   (FoContext *fo_context);

Gets the "keep-with-previous" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-with-previous" property value.

fo_context_set_keep_with_previous ()

void                fo_context_set_keep_with_previous   (FoContext *fo_context,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_context to new_keep_with_previous.

fo_context :

The FoContext object.

new_keep_with_previous :

The new "keep-with-previous" property value.

fo_context_get_keep_with_previous_within_column ()

FoProperty*         fo_context_get_keep_with_previous_within_column
                                                        (FoContext *fo_context);

Gets the "keep-with-previous-within-column" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-with-previous-within-column" property value.

fo_context_set_keep_with_previous_within_column ()

void                fo_context_set_keep_with_previous_within_column
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_context to new_keep_with_previous_within_column.

fo_context :

The FoContext object.

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value.

fo_context_get_keep_with_previous_within_line ()

FoProperty*         fo_context_get_keep_with_previous_within_line
                                                        (FoContext *fo_context);

Gets the "keep-with-previous-within-line" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-with-previous-within-line" property value.

fo_context_set_keep_with_previous_within_line ()

void                fo_context_set_keep_with_previous_within_line
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_context to new_keep_with_previous_within_line.

fo_context :

The FoContext object.

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value.

fo_context_get_keep_with_previous_within_page ()

FoProperty*         fo_context_get_keep_with_previous_within_page
                                                        (FoContext *fo_context);

Gets the "keep-with-previous-within-page" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "keep-with-previous-within-page" property value.

fo_context_set_keep_with_previous_within_page ()

void                fo_context_set_keep_with_previous_within_page
                                                        (FoContext *fo_context,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_context to new_keep_with_previous_within_page.

fo_context :

The FoContext object.

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value.

fo_context_get_letter_value ()

FoProperty*         fo_context_get_letter_value         (FoContext *fo_context);

Gets the "letter-value" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "letter-value" property value.

fo_context_set_letter_value ()

void                fo_context_set_letter_value         (FoContext *fo_context,
                                                         FoProperty *new_letter_value);

Sets the "letter-value" property of fo_context to new_letter_value.

fo_context :

The FoContext object.

new_letter_value :

The new "letter-value" property value.

fo_context_get_linefeed_treatment ()

FoProperty*         fo_context_get_linefeed_treatment   (FoContext *fo_context);

Gets the "linefeed-treatment" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "linefeed-treatment" property value.

fo_context_set_linefeed_treatment ()

void                fo_context_set_linefeed_treatment   (FoContext *fo_context,
                                                         FoProperty *new_linefeed_treatment);

Sets the "linefeed-treatment" property of fo_context to new_linefeed_treatment.

fo_context :

The FoContext object.

new_linefeed_treatment :

The new "linefeed-treatment" property value.

fo_context_get_line_height ()

FoProperty*         fo_context_get_line_height          (FoContext *fo_context);

Gets the "line-height" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "line-height" property value.

fo_context_set_line_height ()

void                fo_context_set_line_height          (FoContext *fo_context,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_context to new_line_height.

fo_context :

The FoContext object.

new_line_height :

The new "line-height" property value.

fo_context_get_line_stacking_strategy ()

FoProperty*         fo_context_get_line_stacking_strategy
                                                        (FoContext *fo_context);

Gets the "line-stacking-strategy" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "line-stacking-strategy" property value.

fo_context_set_line_stacking_strategy ()

void                fo_context_set_line_stacking_strategy
                                                        (FoContext *fo_context,
                                                         FoProperty *new_line_stacking_strategy);

Sets the "line-stacking-strategy" property of fo_context to new_line_stacking_strategy.

fo_context :

The FoContext object.

new_line_stacking_strategy :

The new "line-stacking-strategy" property value.

fo_context_get_margin ()

FoProperty*         fo_context_get_margin               (FoContext *fo_context);

Gets the "margin" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "margin" property value.

fo_context_set_margin ()

void                fo_context_set_margin               (FoContext *fo_context,
                                                         FoProperty *new_margin);

Sets the "margin" property of fo_context to new_margin.

fo_context :

The FoContext object.

new_margin :

The new "margin" property value.

fo_context_get_margin_bottom ()

FoProperty*         fo_context_get_margin_bottom        (FoContext *fo_context);

Gets the "margin-bottom" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "margin-bottom" property value.

fo_context_set_margin_bottom ()

void                fo_context_set_margin_bottom        (FoContext *fo_context,
                                                         FoProperty *new_margin_bottom);

Sets the "margin-bottom" property of fo_context to new_margin_bottom.

fo_context :

The FoContext object.

new_margin_bottom :

The new "margin-bottom" property value.

fo_context_get_margin_left ()

FoProperty*         fo_context_get_margin_left          (FoContext *fo_context);

Gets the "margin-left" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "margin-left" property value.

fo_context_set_margin_left ()

void                fo_context_set_margin_left          (FoContext *fo_context,
                                                         FoProperty *new_margin_left);

Sets the "margin-left" property of fo_context to new_margin_left.

fo_context :

The FoContext object.

new_margin_left :

The new "margin-left" property value.

fo_context_get_margin_right ()

FoProperty*         fo_context_get_margin_right         (FoContext *fo_context);

Gets the "margin-right" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "margin-right" property value.

fo_context_set_margin_right ()

void                fo_context_set_margin_right         (FoContext *fo_context,
                                                         FoProperty *new_margin_right);

Sets the "margin-right" property of fo_context to new_margin_right.

fo_context :

The FoContext object.

new_margin_right :

The new "margin-right" property value.

fo_context_get_margin_top ()

FoProperty*         fo_context_get_margin_top           (FoContext *fo_context);

Gets the "margin-top" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "margin-top" property value.

fo_context_set_margin_top ()

void                fo_context_set_margin_top           (FoContext *fo_context,
                                                         FoProperty *new_margin_top);

Sets the "margin-top" property of fo_context to new_margin_top.

fo_context :

The FoContext object.

new_margin_top :

The new "margin-top" property value.

fo_context_get_master_name ()

FoProperty*         fo_context_get_master_name          (FoContext *fo_context);

Gets the "master-name" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "master-name" property value.

fo_context_set_master_name ()

void                fo_context_set_master_name          (FoContext *fo_context,
                                                         FoProperty *new_master_name);

Sets the "master-name" property of fo_context to new_master_name.

fo_context :

The FoContext object.

new_master_name :

The new "master-name" property value.

fo_context_get_master_reference ()

FoProperty*         fo_context_get_master_reference     (FoContext *fo_context);

Gets the "master-reference" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "master-reference" property value.

fo_context_set_master_reference ()

void                fo_context_set_master_reference     (FoContext *fo_context,
                                                         FoProperty *new_master_reference);

Sets the "master-reference" property of fo_context to new_master_reference.

fo_context :

The FoContext object.

new_master_reference :

The new "master-reference" property value.

fo_context_get_media_usage ()

FoProperty*         fo_context_get_media_usage          (FoContext *fo_context);

Gets the "media-usage" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "media-usage" property value.

fo_context_set_media_usage ()

void                fo_context_set_media_usage          (FoContext *fo_context,
                                                         FoProperty *new_media_usage);

Sets the "media-usage" property of fo_context to new_media_usage.

fo_context :

The FoContext object.

new_media_usage :

The new "media-usage" property value.

fo_context_get_number_columns_repeated ()

FoProperty*         fo_context_get_number_columns_repeated
                                                        (FoContext *fo_context);

Gets the "number-columns-repeated" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "number-columns-repeated" property value.

fo_context_set_number_columns_repeated ()

void                fo_context_set_number_columns_repeated
                                                        (FoContext *fo_context,
                                                         FoProperty *new_number_columns_repeated);

Sets the "number-columns-repeated" property of fo_context to new_number_columns_repeated.

fo_context :

The FoContext object.

new_number_columns_repeated :

The new "number-columns-repeated" property value.

fo_context_get_number_columns_spanned ()

FoProperty*         fo_context_get_number_columns_spanned
                                                        (FoContext *fo_context);

Gets the "number-columns-spanned" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "number-columns-spanned" property value.

fo_context_set_number_columns_spanned ()

void                fo_context_set_number_columns_spanned
                                                        (FoContext *fo_context,
                                                         FoProperty *new_number_columns_spanned);

Sets the "number-columns-spanned" property of fo_context to new_number_columns_spanned.

fo_context :

The FoContext object.

new_number_columns_spanned :

The new "number-columns-spanned" property value.

fo_context_get_number_rows_spanned ()

FoProperty*         fo_context_get_number_rows_spanned  (FoContext *fo_context);

Gets the "number-rows-spanned" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "number-rows-spanned" property value.

fo_context_set_number_rows_spanned ()

void                fo_context_set_number_rows_spanned  (FoContext *fo_context,
                                                         FoProperty *new_number_rows_spanned);

Sets the "number-rows-spanned" property of fo_context to new_number_rows_spanned.

fo_context :

The FoContext object.

new_number_rows_spanned :

The new "number-rows-spanned" property value.

fo_context_get_orphans ()

FoProperty*         fo_context_get_orphans              (FoContext *fo_context);

Gets the "orphans" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "orphans" property value.

fo_context_set_orphans ()

void                fo_context_set_orphans              (FoContext *fo_context,
                                                         FoProperty *new_orphans);

Sets the "orphans" property of fo_context to new_orphans.

fo_context :

The FoContext object.

new_orphans :

The new "orphans" property value.

fo_context_get_overflow ()

FoProperty*         fo_context_get_overflow             (FoContext *fo_context);

Gets the "overflow" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "overflow" property value.

fo_context_set_overflow ()

void                fo_context_set_overflow             (FoContext *fo_context,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_context to new_overflow.

fo_context :

The FoContext object.

new_overflow :

The new "overflow" property value.

fo_context_get_padding ()

FoProperty*         fo_context_get_padding              (FoContext *fo_context);

Gets the "padding" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding" property value.

fo_context_set_padding ()

void                fo_context_set_padding              (FoContext *fo_context,
                                                         FoProperty *new_padding);

Sets the "padding" property of fo_context to new_padding.

fo_context :

The FoContext object.

new_padding :

The new "padding" property value.

fo_context_get_padding_after ()

FoProperty*         fo_context_get_padding_after        (FoContext *fo_context);

Gets the "padding-after" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-after" property value.

fo_context_set_padding_after ()

void                fo_context_set_padding_after        (FoContext *fo_context,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_context to new_padding_after.

fo_context :

The FoContext object.

new_padding_after :

The new "padding-after" property value.

fo_context_get_padding_after_length ()

FoProperty*         fo_context_get_padding_after_length (FoContext *fo_context);

Gets the "padding-after-length" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-after-length" property value.

fo_context_set_padding_after_length ()

void                fo_context_set_padding_after_length (FoContext *fo_context,
                                                         FoProperty *new_padding_after_length);

Sets the "padding-after-length" property of fo_context to new_padding_after_length.

fo_context :

The FoContext object.

new_padding_after_length :

The new "padding-after-length" property value.

fo_context_get_padding_after_condity ()

FoProperty*         fo_context_get_padding_after_condity
                                                        (FoContext *fo_context);

Gets the "padding-after-conditionality" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-after-conditionality" property value.

fo_context_set_padding_after_condity ()

void                fo_context_set_padding_after_condity
                                                        (FoContext *fo_context,
                                                         FoProperty *new_padding_after_condity);

Sets the "padding-after-conditionality" property of fo_context to new_padding_after_condity.

fo_context :

The FoContext object.

new_padding_after_condity :

The new "padding-after-conditionality" property value.

fo_context_get_padding_before ()

FoProperty*         fo_context_get_padding_before       (FoContext *fo_context);

Gets the "padding-before" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-before" property value.

fo_context_set_padding_before ()

void                fo_context_set_padding_before       (FoContext *fo_context,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_context to new_padding_before.

fo_context :

The FoContext object.

new_padding_before :

The new "padding-before" property value.

fo_context_get_padding_before_length ()

FoProperty*         fo_context_get_padding_before_length
                                                        (FoContext *fo_context);

Gets the "padding-before-length" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-before-length" property value.

fo_context_set_padding_before_length ()

void                fo_context_set_padding_before_length
                                                        (FoContext *fo_context,
                                                         FoProperty *new_padding_before_length);

Sets the "padding-before-length" property of fo_context to new_padding_before_length.

fo_context :

The FoContext object.

new_padding_before_length :

The new "padding-before-length" property value.

fo_context_get_padding_before_condity ()

FoProperty*         fo_context_get_padding_before_condity
                                                        (FoContext *fo_context);

Gets the "padding-before-conditionality" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-before-conditionality" property value.

fo_context_set_padding_before_condity ()

void                fo_context_set_padding_before_condity
                                                        (FoContext *fo_context,
                                                         FoProperty *new_padding_before_condity);

Sets the "padding-before-conditionality" property of fo_context to new_padding_before_condity.

fo_context :

The FoContext object.

new_padding_before_condity :

The new "padding-before-conditionality" property value.

fo_context_get_padding_bottom ()

FoProperty*         fo_context_get_padding_bottom       (FoContext *fo_context);

Gets the "padding-bottom" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-bottom" property value.

fo_context_set_padding_bottom ()

void                fo_context_set_padding_bottom       (FoContext *fo_context,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_context to new_padding_bottom.

fo_context :

The FoContext object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_context_get_padding_end ()

FoProperty*         fo_context_get_padding_end          (FoContext *fo_context);

Gets the "padding-end" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-end" property value.

fo_context_set_padding_end ()

void                fo_context_set_padding_end          (FoContext *fo_context,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_context to new_padding_end.

fo_context :

The FoContext object.

new_padding_end :

The new "padding-end" property value.

fo_context_get_padding_end_length ()

FoProperty*         fo_context_get_padding_end_length   (FoContext *fo_context);

Gets the "padding-end-length" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-end-length" property value.

fo_context_set_padding_end_length ()

void                fo_context_set_padding_end_length   (FoContext *fo_context,
                                                         FoProperty *new_padding_end_length);

Sets the "padding-end-length" property of fo_context to new_padding_end_length.

fo_context :

The FoContext object.

new_padding_end_length :

The new "padding-end-length" property value.

fo_context_get_padding_end_condity ()

FoProperty*         fo_context_get_padding_end_condity  (FoContext *fo_context);

Gets the "padding-end-conditionality" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-end-conditionality" property value.

fo_context_set_padding_end_condity ()

void                fo_context_set_padding_end_condity  (FoContext *fo_context,
                                                         FoProperty *new_padding_end_condity);

Sets the "padding-end-conditionality" property of fo_context to new_padding_end_condity.

fo_context :

The FoContext object.

new_padding_end_condity :

The new "padding-end-conditionality" property value.

fo_context_get_padding_left ()

FoProperty*         fo_context_get_padding_left         (FoContext *fo_context);

Gets the "padding-left" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-left" property value.

fo_context_set_padding_left ()

void                fo_context_set_padding_left         (FoContext *fo_context,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_context to new_padding_left.

fo_context :

The FoContext object.

new_padding_left :

The new "padding-left" property value.

fo_context_get_padding_right ()

FoProperty*         fo_context_get_padding_right        (FoContext *fo_context);

Gets the "padding-right" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-right" property value.

fo_context_set_padding_right ()

void                fo_context_set_padding_right        (FoContext *fo_context,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_context to new_padding_right.

fo_context :

The FoContext object.

new_padding_right :

The new "padding-right" property value.

fo_context_get_padding_start ()

FoProperty*         fo_context_get_padding_start        (FoContext *fo_context);

Gets the "padding-start" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-start" property value.

fo_context_set_padding_start ()

void                fo_context_set_padding_start        (FoContext *fo_context,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_context to new_padding_start.

fo_context :

The FoContext object.

new_padding_start :

The new "padding-start" property value.

fo_context_get_padding_start_length ()

FoProperty*         fo_context_get_padding_start_length (FoContext *fo_context);

Gets the "padding-start-length" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-start-length" property value.

fo_context_set_padding_start_length ()

void                fo_context_set_padding_start_length (FoContext *fo_context,
                                                         FoProperty *new_padding_start_length);

Sets the "padding-start-length" property of fo_context to new_padding_start_length.

fo_context :

The FoContext object.

new_padding_start_length :

The new "padding-start-length" property value.

fo_context_get_padding_start_condity ()

FoProperty*         fo_context_get_padding_start_condity
                                                        (FoContext *fo_context);

Gets the "padding-start-conditionality" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-start-conditionality" property value.

fo_context_set_padding_start_condity ()

void                fo_context_set_padding_start_condity
                                                        (FoContext *fo_context,
                                                         FoProperty *new_padding_start_condity);

Sets the "padding-start-conditionality" property of fo_context to new_padding_start_condity.

fo_context :

The FoContext object.

new_padding_start_condity :

The new "padding-start-conditionality" property value.

fo_context_get_padding_top ()

FoProperty*         fo_context_get_padding_top          (FoContext *fo_context);

Gets the "padding-top" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "padding-top" property value.

fo_context_set_padding_top ()

void                fo_context_set_padding_top          (FoContext *fo_context,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_context to new_padding_top.

fo_context :

The FoContext object.

new_padding_top :

The new "padding-top" property value.

fo_context_get_page_height ()

FoProperty*         fo_context_get_page_height          (FoContext *fo_context);

Gets the "page-height" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "page-height" property value.

fo_context_set_page_height ()

void                fo_context_set_page_height          (FoContext *fo_context,
                                                         FoProperty *new_page_height);

Sets the "page-height" property of fo_context to new_page_height.

fo_context :

The FoContext object.

new_page_height :

The new "page-height" property value.

fo_context_get_page_width ()

FoProperty*         fo_context_get_page_width           (FoContext *fo_context);

Gets the "page-width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "page-width" property value.

fo_context_set_page_width ()

void                fo_context_set_page_width           (FoContext *fo_context,
                                                         FoProperty *new_page_width);

Sets the "page-width" property of fo_context to new_page_width.

fo_context :

The FoContext object.

new_page_width :

The new "page-width" property value.

fo_context_get_provisional_distance_between_starts ()

FoProperty*         fo_context_get_provisional_distance_between_starts
                                                        (FoContext *fo_context);

Gets the "provisional-distance-between-starts" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "provisional-distance-between-starts" property value.

fo_context_set_provisional_distance_between_starts ()

void                fo_context_set_provisional_distance_between_starts
                                                        (FoContext *fo_context,
                                                         FoProperty *new_provisional_distance_between_starts);

Sets the "provisional-distance-between-starts" property of fo_context to new_provisional_distance_between_starts.

fo_context :

The FoContext object.

new_provisional_distance_between_starts :

The new "provisional-distance-between-starts" property value.

fo_context_get_provisional_label_separation ()

FoProperty*         fo_context_get_provisional_label_separation
                                                        (FoContext *fo_context);

Gets the "provisional-label-separation" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "provisional-label-separation" property value.

fo_context_set_provisional_label_separation ()

void                fo_context_set_provisional_label_separation
                                                        (FoContext *fo_context,
                                                         FoProperty *new_provisional_label_separation);

Sets the "provisional-label-separation" property of fo_context to new_provisional_label_separation.

fo_context :

The FoContext object.

new_provisional_label_separation :

The new "provisional-label-separation" property value.

fo_context_get_ref_id ()

FoProperty*         fo_context_get_ref_id               (FoContext *fo_context);

Gets the "ref-id" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "ref-id" property value.

fo_context_set_ref_id ()

void                fo_context_set_ref_id               (FoContext *fo_context,
                                                         FoProperty *new_ref_id);

Sets the "ref-id" property of fo_context to new_ref_id.

fo_context :

The FoContext object.

new_ref_id :

The new "ref-id" property value.

fo_context_get_region_name ()

FoProperty*         fo_context_get_region_name          (FoContext *fo_context);

Gets the "region-name" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "region-name" property value.

fo_context_set_region_name ()

void                fo_context_set_region_name          (FoContext *fo_context,
                                                         FoProperty *new_region_name);

Sets the "region-name" property of fo_context to new_region_name.

fo_context :

The FoContext object.

new_region_name :

The new "region-name" property value.

fo_context_get_role ()

FoProperty*         fo_context_get_role                 (FoContext *fo_context);

Gets the "role" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "role" property value.

fo_context_set_role ()

void                fo_context_set_role                 (FoContext *fo_context,
                                                         FoProperty *new_role);

Sets the "role" property of fo_context to new_role.

fo_context :

The FoContext object.

new_role :

The new "role" property value.

fo_context_get_scaling ()

FoProperty*         fo_context_get_scaling              (FoContext *fo_context);

Gets the "scaling" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "scaling" property value.

fo_context_set_scaling ()

void                fo_context_set_scaling              (FoContext *fo_context,
                                                         FoProperty *new_scaling);

Sets the "scaling" property of fo_context to new_scaling.

fo_context :

The FoContext object.

new_scaling :

The new "scaling" property value.

fo_context_get_scaling_method ()

FoProperty*         fo_context_get_scaling_method       (FoContext *fo_context);

Gets the "scaling-method" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "scaling-method" property value.

fo_context_set_scaling_method ()

void                fo_context_set_scaling_method       (FoContext *fo_context,
                                                         FoProperty *new_scaling_method);

Sets the "scaling-method" property of fo_context to new_scaling_method.

fo_context :

The FoContext object.

new_scaling_method :

The new "scaling-method" property value.

fo_context_get_score_spaces ()

FoProperty*         fo_context_get_score_spaces         (FoContext *fo_context);

Gets the "score-spaces" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "score-spaces" property value.

fo_context_set_score_spaces ()

void                fo_context_set_score_spaces         (FoContext *fo_context,
                                                         FoProperty *new_score_spaces);

Sets the "score-spaces" property of fo_context to new_score_spaces.

fo_context :

The FoContext object.

new_score_spaces :

The new "score-spaces" property value.

fo_context_get_source_document ()

FoProperty*         fo_context_get_source_document      (FoContext *fo_context);

Gets the "source-document" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "source-document" property value.

fo_context_set_source_document ()

void                fo_context_set_source_document      (FoContext *fo_context,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_context to new_source_document.

fo_context :

The FoContext object.

new_source_document :

The new "source-document" property value.

fo_context_get_space_after ()

FoProperty*         fo_context_get_space_after          (FoContext *fo_context);

Gets the "space-after" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "space-after" property value.

fo_context_set_space_after ()

void                fo_context_set_space_after          (FoContext *fo_context,
                                                         FoProperty *new_space_after);

Sets the "space-after" property of fo_context to new_space_after.

fo_context :

The FoContext object.

new_space_after :

The new "space-after" property value.

fo_context_set_space_after_minimum ()

void                fo_context_set_space_after_minimum  (FoContext *fo_context,
                                                         FoProperty *new_space_after_minimum);

Sets the "space-after-minimum" property of fo_context to new_space_after_minimum.

fo_context :

The FoContext object.

new_space_after_minimum :

The new "space-after-minimum" property value.

fo_context_set_space_after_optimum ()

void                fo_context_set_space_after_optimum  (FoContext *fo_context,
                                                         FoProperty *new_space_after_optimum);

Sets the "space-after-optimum" property of fo_context to new_space_after_optimum.

fo_context :

The FoContext object.

new_space_after_optimum :

The new "space-after-optimum" property value.

fo_context_set_space_after_maximum ()

void                fo_context_set_space_after_maximum  (FoContext *fo_context,
                                                         FoProperty *new_space_after_maximum);

Sets the "space-after-maximum" property of fo_context to new_space_after_maximum.

fo_context :

The FoContext object.

new_space_after_maximum :

The new "space-after-maximum" property value.

fo_context_set_space_after_precedence ()

void                fo_context_set_space_after_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_space_after_precedence);

Sets the "space-after-precedence" property of fo_context to new_space_after_precedence.

fo_context :

The FoContext object.

new_space_after_precedence :

The new "space-after-precedence" property value.

fo_context_set_space_after_condity ()

void                fo_context_set_space_after_condity  (FoContext *fo_context,
                                                         FoProperty *new_space_after_condity);

Sets the "space-after-conditionality" property of fo_context to new_space_after_condity.

fo_context :

The FoContext object.

new_space_after_condity :

The new "space-after-conditionality" property value.

fo_context_get_space_before ()

FoProperty*         fo_context_get_space_before         (FoContext *fo_context);

Gets the "space-before" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "space-before" property value.

fo_context_set_space_before ()

void                fo_context_set_space_before         (FoContext *fo_context,
                                                         FoProperty *new_space_before);

Sets the "space-before" property of fo_context to new_space_before.

fo_context :

The FoContext object.

new_space_before :

The new "space-before" property value.

fo_context_set_space_before_minimum ()

void                fo_context_set_space_before_minimum (FoContext *fo_context,
                                                         FoProperty *new_space_before_minimum);

Sets the "space-before-minimum" property of fo_context to new_space_before_minimum.

fo_context :

The FoContext object.

new_space_before_minimum :

The new "space-before-minimum" property value.

fo_context_set_space_before_optimum ()

void                fo_context_set_space_before_optimum (FoContext *fo_context,
                                                         FoProperty *new_space_before_optimum);

Sets the "space-before-optimum" property of fo_context to new_space_before_optimum.

fo_context :

The FoContext object.

new_space_before_optimum :

The new "space-before-optimum" property value.

fo_context_set_space_before_maximum ()

void                fo_context_set_space_before_maximum (FoContext *fo_context,
                                                         FoProperty *new_space_before_maximum);

Sets the "space-before-maximum" property of fo_context to new_space_before_maximum.

fo_context :

The FoContext object.

new_space_before_maximum :

The new "space-before-maximum" property value.

fo_context_set_space_before_precedence ()

void                fo_context_set_space_before_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_space_before_precedence);

Sets the "space-before-precedence" property of fo_context to new_space_before_precedence.

fo_context :

The FoContext object.

new_space_before_precedence :

The new "space-before-precedence" property value.

fo_context_set_space_before_condity ()

void                fo_context_set_space_before_condity (FoContext *fo_context,
                                                         FoProperty *new_space_before_condity);

Sets the "space-before-conditionality" property of fo_context to new_space_before_condity.

fo_context :

The FoContext object.

new_space_before_condity :

The new "space-before-conditionality" property value.

fo_context_get_space_end ()

FoProperty*         fo_context_get_space_end            (FoContext *fo_context);

Gets the "space-end" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "space-end" property value.

fo_context_set_space_end ()

void                fo_context_set_space_end            (FoContext *fo_context,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_context to new_space_end.

fo_context :

The FoContext object.

new_space_end :

The new "space-end" property value.

fo_context_set_space_end_minimum ()

void                fo_context_set_space_end_minimum    (FoContext *fo_context,
                                                         FoProperty *new_space_end_minimum);

Sets the "space-end-minimum" property of fo_context to new_space_end_minimum.

fo_context :

The FoContext object.

new_space_end_minimum :

The new "space-end-minimum" property value.

fo_context_set_space_end_optimum ()

void                fo_context_set_space_end_optimum    (FoContext *fo_context,
                                                         FoProperty *new_space_end_optimum);

Sets the "space-end-optimum" property of fo_context to new_space_end_optimum.

fo_context :

The FoContext object.

new_space_end_optimum :

The new "space-end-optimum" property value.

fo_context_set_space_end_maximum ()

void                fo_context_set_space_end_maximum    (FoContext *fo_context,
                                                         FoProperty *new_space_end_maximum);

Sets the "space-end-maximum" property of fo_context to new_space_end_maximum.

fo_context :

The FoContext object.

new_space_end_maximum :

The new "space-end-maximum" property value.

fo_context_set_space_end_precedence ()

void                fo_context_set_space_end_precedence (FoContext *fo_context,
                                                         FoProperty *new_space_end_precedence);

Sets the "space-end-precedence" property of fo_context to new_space_end_precedence.

fo_context :

The FoContext object.

new_space_end_precedence :

The new "space-end-precedence" property value.

fo_context_set_space_end_condity ()

void                fo_context_set_space_end_condity    (FoContext *fo_context,
                                                         FoProperty *new_space_end_condity);

Sets the "space-end-conditionality" property of fo_context to new_space_end_condity.

fo_context :

The FoContext object.

new_space_end_condity :

The new "space-end-conditionality" property value.

fo_context_get_space_start ()

FoProperty*         fo_context_get_space_start          (FoContext *fo_context);

Gets the "space-start" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "space-start" property value.

fo_context_set_space_start ()

void                fo_context_set_space_start          (FoContext *fo_context,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_context to new_space_start.

fo_context :

The FoContext object.

new_space_start :

The new "space-start" property value.

fo_context_set_space_start_minimum ()

void                fo_context_set_space_start_minimum  (FoContext *fo_context,
                                                         FoProperty *new_space_start_minimum);

Sets the "space-start-minimum" property of fo_context to new_space_start_minimum.

fo_context :

The FoContext object.

new_space_start_minimum :

The new "space-start-minimum" property value.

fo_context_set_space_start_optimum ()

void                fo_context_set_space_start_optimum  (FoContext *fo_context,
                                                         FoProperty *new_space_start_optimum);

Sets the "space-start-optimum" property of fo_context to new_space_start_optimum.

fo_context :

The FoContext object.

new_space_start_optimum :

The new "space-start-optimum" property value.

fo_context_set_space_start_maximum ()

void                fo_context_set_space_start_maximum  (FoContext *fo_context,
                                                         FoProperty *new_space_start_maximum);

Sets the "space-start-maximum" property of fo_context to new_space_start_maximum.

fo_context :

The FoContext object.

new_space_start_maximum :

The new "space-start-maximum" property value.

fo_context_set_space_start_precedence ()

void                fo_context_set_space_start_precedence
                                                        (FoContext *fo_context,
                                                         FoProperty *new_space_start_precedence);

Sets the "space-start-precedence" property of fo_context to new_space_start_precedence.

fo_context :

The FoContext object.

new_space_start_precedence :

The new "space-start-precedence" property value.

fo_context_set_space_start_condity ()

void                fo_context_set_space_start_condity  (FoContext *fo_context,
                                                         FoProperty *new_space_start_condity);

Sets the "space-start-conditionality" property of fo_context to new_space_start_condity.

fo_context :

The FoContext object.

new_space_start_condity :

The new "space-start-conditionality" property value.

fo_context_get_span ()

FoProperty*         fo_context_get_span                 (FoContext *fo_context);

Gets the "span" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "span" property value.

fo_context_set_span ()

void                fo_context_set_span                 (FoContext *fo_context,
                                                         FoProperty *new_span);

Sets the "span" property of fo_context to new_span.

fo_context :

The FoContext object.

new_span :

The new "span" property value.

fo_context_get_src ()

FoProperty*         fo_context_get_src                  (FoContext *fo_context);

Gets the "src" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "src" property value.

fo_context_set_src ()

void                fo_context_set_src                  (FoContext *fo_context,
                                                         FoProperty *new_src);

Sets the "src" property of fo_context to new_src.

fo_context :

The FoContext object.

new_src :

The new "src" property value.

fo_context_get_start_indent ()

FoProperty*         fo_context_get_start_indent         (FoContext *fo_context);

Gets the "start-indent" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "start-indent" property value.

fo_context_set_start_indent ()

void                fo_context_set_start_indent         (FoContext *fo_context,
                                                         FoProperty *new_start_indent);

Sets the "start-indent" property of fo_context to new_start_indent.

fo_context :

The FoContext object.

new_start_indent :

The new "start-indent" property value.

fo_context_get_table_layout ()

FoProperty*         fo_context_get_table_layout         (FoContext *fo_context);

Gets the "table-layout" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "table-layout" property value.

fo_context_set_table_layout ()

void                fo_context_set_table_layout         (FoContext *fo_context,
                                                         FoProperty *new_table_layout);

Sets the "table-layout" property of fo_context to new_table_layout.

fo_context :

The FoContext object.

new_table_layout :

The new "table-layout" property value.

fo_context_get_text_align ()

FoProperty*         fo_context_get_text_align           (FoContext *fo_context);

Gets the "text-align" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "text-align" property value.

fo_context_set_text_align ()

void                fo_context_set_text_align           (FoContext *fo_context,
                                                         FoProperty *new_text_align);

Sets the "text-align" property of fo_context to new_text_align.

fo_context :

The FoContext object.

new_text_align :

The new "text-align" property value.

fo_context_get_text_indent ()

FoProperty*         fo_context_get_text_indent          (FoContext *fo_context);

Gets the "text-indent" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "text-indent" property value.

fo_context_set_text_indent ()

void                fo_context_set_text_indent          (FoContext *fo_context,
                                                         FoProperty *new_text_indent);

Sets the "text-indent" property of fo_context to new_text_indent.

fo_context :

The FoContext object.

new_text_indent :

The new "text-indent" property value.

fo_context_get_unicode_bidi ()

FoProperty*         fo_context_get_unicode_bidi         (FoContext *fo_context);

Gets the "unicode-bidi" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "unicode-bidi" property value.

fo_context_set_unicode_bidi ()

void                fo_context_set_unicode_bidi         (FoContext *fo_context,
                                                         FoProperty *new_unicode_bidi);

Sets the "unicode-bidi" property of fo_context to new_unicode_bidi.

fo_context :

The FoContext object.

new_unicode_bidi :

The new "unicode-bidi" property value.

fo_context_get_white_space_collapse ()

FoProperty*         fo_context_get_white_space_collapse (FoContext *fo_context);

Gets the "white-space-collapse" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "white-space-collapse" property value.

fo_context_set_white_space_collapse ()

void                fo_context_set_white_space_collapse (FoContext *fo_context,
                                                         FoProperty *new_white_space_collapse);

Sets the "white-space-collapse" property of fo_context to new_white_space_collapse.

fo_context :

The FoContext object.

new_white_space_collapse :

The new "white-space-collapse" property value.

fo_context_get_white_space_treatment ()

FoProperty*         fo_context_get_white_space_treatment
                                                        (FoContext *fo_context);

Gets the "white-space-treatment" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "white-space-treatment" property value.

fo_context_set_white_space_treatment ()

void                fo_context_set_white_space_treatment
                                                        (FoContext *fo_context,
                                                         FoProperty *new_white_space_treatment);

Sets the "white-space-treatment" property of fo_context to new_white_space_treatment.

fo_context :

The FoContext object.

new_white_space_treatment :

The new "white-space-treatment" property value.

fo_context_get_widows ()

FoProperty*         fo_context_get_widows               (FoContext *fo_context);

Gets the "widows" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "widows" property value.

fo_context_set_widows ()

void                fo_context_set_widows               (FoContext *fo_context,
                                                         FoProperty *new_widows);

Sets the "widows" property of fo_context to new_widows.

fo_context :

The FoContext object.

new_widows :

The new "widows" property value.

fo_context_get_width ()

FoProperty*         fo_context_get_width                (FoContext *fo_context);

Gets the "width" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "width" property value.

fo_context_set_width ()

void                fo_context_set_width                (FoContext *fo_context,
                                                         FoProperty *new_width);

Sets the "width" property of fo_context to new_width.

fo_context :

The FoContext object.

new_width :

The new "width" property value.

fo_context_get_wrap_option ()

FoProperty*         fo_context_get_wrap_option          (FoContext *fo_context);

Gets the "wrap-option" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "wrap-option" property value.

fo_context_set_wrap_option ()

void                fo_context_set_wrap_option          (FoContext *fo_context,
                                                         FoProperty *new_wrap_option);

Sets the "wrap-option" property of fo_context to new_wrap_option.

fo_context :

The FoContext object.

new_wrap_option :

The new "wrap-option" property value.

fo_context_get_writing_mode ()

FoProperty*         fo_context_get_writing_mode         (FoContext *fo_context);

Gets the "writing-mode" property of fo_context.

fo_context :

The FoContext object.

Returns :

The "writing-mode" property value.

fo_context_set_writing_mode ()

void                fo_context_set_writing_mode         (FoContext *fo_context,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_context to new_writing_mode.

fo_context :

The FoContext object.

new_writing_mode :

The new "writing-mode" property value.

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "block-progression-dimension-maximum" property

  "block-progression-dimension-maximum" FoProperty*           : Read

Block Progression Dimension Maximum property.


The "block-progression-dimension-minimum" property

  "block-progression-dimension-minimum" FoProperty*           : Read

Block Progression Dimension Minimum property.


The "block-progression-dimension-optimum" property

  "block-progression-dimension-optimum" FoProperty*           : Read

Block Progression Dimension Optimum property.


The "border" property

  "border"                   FoProperty*           : Read

Border property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-precedence" property

  "border-after-precedence"  FoProperty*           : Read

Border After Precedence property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-precedence" property

  "border-before-precedence" FoProperty*           : Read

Border Before Precedence property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom" property

  "border-bottom"            FoProperty*           : Read

Border Bottom property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-collapse" property

  "border-collapse"          FoProperty*           : Read

Border Collapse property.


The "border-color" property

  "border-color"             FoProperty*           : Read

Border Color property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-precedence" property

  "border-end-precedence"    FoProperty*           : Read

Border End Precedence property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left" property

  "border-left"              FoProperty*           : Read

Border Left property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right" property

  "border-right"             FoProperty*           : Read

Border Right property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-separation" property

  "border-separation"        FoProperty*           : Read

Border Separation property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-precedence" property

  "border-start-precedence"  FoProperty*           : Read

Border Start Precedence property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-style" property

  "border-style"             FoProperty*           : Read

Border Style property.


The "border-top" property

  "border-top"               FoProperty*           : Read

Border Top property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "border-width" property

  "border-width"             FoProperty*           : Read

Border Width property.


The "break-after" property

  "break-after"              FoProperty*           : Read

Break After property.


The "break-before" property

  "break-before"             FoProperty*           : Read

Break Before property.


The "character" property

  "character"                FoProperty*           : Read

Character property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "color" property

  "color"                    FoProperty*           : Read

Color property.


The "column-number" property

  "column-number"            FoProperty*           : Read

Column Number property.


The "column-width" property

  "column-width"             FoProperty*           : Read

Column Width property.


The "content-height" property

  "content-height"           FoProperty*           : Read

Content Height property.


The "content-type" property

  "content-type"             FoProperty*           : Read

Content Type property.


The "content-width" property

  "content-width"            FoProperty*           : Read

Content Width property.


The "direction" property

  "direction"                FoProperty*           : Read

Direction property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "end-indent" property

  "end-indent"               FoProperty*           : Read

End Indent property.


The "extent" property

  "extent"                   FoProperty*           : Read

Extent property.


The "flow-name" property

  "flow-name"                FoProperty*           : Read

Flow Name property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "format" property

  "format"                   FoProperty*           : Read

Format property.


The "grouping-separator" property

  "grouping-separator"       FoProperty*           : Read

Grouping Separator property.


The "grouping-size" property

  "grouping-size"            FoProperty*           : Read

Grouping Size property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "inline-progression-dimension" property

  "inline-progression-dimension" FoProperty*           : Read

Inline Progression Dimension property.


The "inline-progression-dimension-maximum" property

  "inline-progression-dimension-maximum" FoProperty*           : Read

Inline Progression Dimension Maximum property.


The "inline-progression-dimension-minimum" property

  "inline-progression-dimension-minimum" FoProperty*           : Read

Inline Progression Dimension Minimum property.


The "inline-progression-dimension-optimum" property

  "inline-progression-dimension-optimum" FoProperty*           : Read

Inline Progression Dimension Optimum property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "letter-value" property

  "letter-value"             FoProperty*           : Read

Letter Value property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "line-stacking-strategy" property

  "line-stacking-strategy"   FoProperty*           : Read

Line Stacking Strategy property.


The "linefeed-treatment" property

  "linefeed-treatment"       FoProperty*           : Read

Linefeed Treatment property.


The "margin" property

  "margin"                   FoProperty*           : Read

Margin property.


The "margin-bottom" property

  "margin-bottom"            FoProperty*           : Read

Margin Bottom property.


The "margin-left" property

  "margin-left"              FoProperty*           : Read

Margin Left property.


The "margin-right" property

  "margin-right"             FoProperty*           : Read

Margin Right property.


The "margin-top" property

  "margin-top"               FoProperty*           : Read

Margin Top property.


The "master-name" property

  "master-name"              FoProperty*           : Read

Master Name property.


The "master-reference" property

  "master-reference"         FoProperty*           : Read

Master Reference property.


The "media-usage" property

  "media-usage"              FoProperty*           : Read

Media Usage property.


The "number-columns-repeated" property

  "number-columns-repeated"  FoProperty*           : Read

Number Columns Repeated property.


The "number-columns-spanned" property

  "number-columns-spanned"   FoProperty*           : Read

Number Columns Spanned property.


The "number-rows-spanned" property

  "number-rows-spanned"      FoProperty*           : Read

Number Rows Spanned property.


The "orphans" property

  "orphans"                  FoProperty*           : Read

Orphans property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding" property

  "padding"                  FoProperty*           : Read

Padding property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-after-conditionality" property

  "padding-after-conditionality" FoProperty*           : Read

Padding After Conditionality property.


The "padding-after-length" property

  "padding-after-length"     FoProperty*           : Read

Padding After Length property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-before-conditionality" property

  "padding-before-conditionality" FoProperty*           : Read

Padding Before Conditionality property.


The "padding-before-length" property

  "padding-before-length"    FoProperty*           : Read

Padding Before Length property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-end-conditionality" property

  "padding-end-conditionality" FoProperty*           : Read

Padding End Conditionality property.


The "padding-end-length" property

  "padding-end-length"       FoProperty*           : Read

Padding End Length property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-start-conditionality" property

  "padding-start-conditionality" FoProperty*           : Read

Padding Start Conditionality property.


The "padding-start-length" property

  "padding-start-length"     FoProperty*           : Read

Padding Start Length property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "page-height" property

  "page-height"              FoProperty*           : Read

Page Height property.


The "page-width" property

  "page-width"               FoProperty*           : Read

Page Width property.


The "provisional-distance-between-starts" property

  "provisional-distance-between-starts" FoProperty*           : Read

Provisional Distance Between Starts property.


The "provisional-label-separation" property

  "provisional-label-separation" FoProperty*           : Read

Provisional Label Separation property.


The "ref-id" property

  "ref-id"                   FoProperty*           : Read

Ref Id property.


The "region-name" property

  "region-name"              FoProperty*           : Read

Region Name property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "scaling" property

  "scaling"                  FoProperty*           : Read

Scaling property.


The "scaling-method" property

  "scaling-method"           FoProperty*           : Read

Scaling Method property.


The "score-spaces" property

  "score-spaces"             FoProperty*           : Read

Score Spaces property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-after" property

  "space-after"              FoProperty*           : Read

Space After property.


The "space-after-conditionality" property

  "space-after-conditionality" FoProperty*           : Write

Space After Conditionality property.


The "space-after-maximum" property

  "space-after-maximum"      FoProperty*           : Write

Space After Maximum property.


The "space-after-minimum" property

  "space-after-minimum"      FoProperty*           : Write

Space After Minimum property.


The "space-after-optimum" property

  "space-after-optimum"      FoProperty*           : Write

Space After Optimum property.


The "space-after-precedence" property

  "space-after-precedence"   FoProperty*           : Write

Space After Precedence property.


The "space-before" property

  "space-before"             FoProperty*           : Read

Space Before property.


The "space-before-conditionality" property

  "space-before-conditionality" FoProperty*           : Write

Space Before Conditionality property.


The "space-before-maximum" property

  "space-before-maximum"     FoProperty*           : Write

Space Before Maximum property.


The "space-before-minimum" property

  "space-before-minimum"     FoProperty*           : Write

Space Before Minimum property.


The "space-before-optimum" property

  "space-before-optimum"     FoProperty*           : Write

Space Before Optimum property.


The "space-before-precedence" property

  "space-before-precedence"  FoProperty*           : Write

Space Before Precedence property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-end-conditionality" property

  "space-end-conditionality" FoProperty*           : Write

Space End Conditionality property.


The "space-end-maximum" property

  "space-end-maximum"        FoProperty*           : Write

Space End Maximum property.


The "space-end-minimum" property

  "space-end-minimum"        FoProperty*           : Write

Space End Minimum property.


The "space-end-optimum" property

  "space-end-optimum"        FoProperty*           : Write

Space End Optimum property.


The "space-end-precedence" property

  "space-end-precedence"     FoProperty*           : Write

Space End Precedence property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.


The "space-start-conditionality" property

  "space-start-conditionality" FoProperty*           : Write

Space Start Conditionality property.


The "space-start-maximum" property

  "space-start-maximum"      FoProperty*           : Write

Space Start Maximum property.


The "space-start-minimum" property

  "space-start-minimum"      FoProperty*           : Write

Space Start Minimum property.


The "space-start-optimum" property

  "space-start-optimum"      FoProperty*           : Write

Space Start Optimum property.


The "space-start-precedence" property

  "space-start-precedence"   FoProperty*           : Write

Space Start Precedence property.


The "span" property

  "span"                     FoProperty*           : Read

Span property.


The "src" property

  "src"                      FoProperty*           : Read

Src property.


The "start-indent" property

  "start-indent"             FoProperty*           : Read

Start Indent property.


The "table-layout" property

  "table-layout"             FoProperty*           : Read

Table Layout property.


The "text-align" property

  "text-align"               FoProperty*           : Read

Text Align property.


The "text-indent" property

  "text-indent"              FoProperty*           : Read

Text Indent property.


The "unicode-bidi" property

  "unicode-bidi"             FoProperty*           : Read

Unicode Bidi property.


The "white-space-collapse" property

  "white-space-collapse"     FoProperty*           : Read

White Space Collapse property.


The "white-space-treatment" property

  "white-space-treatment"    FoProperty*           : Read

White Space Treatment property.


The "widows" property

  "widows"                   FoProperty*           : Read

Widows property.


The "width" property

  "width"                    FoProperty*           : Read

Width property.


The "wrap-option" property

  "wrap-option"              FoProperty*           : Read

Wrap Option property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/FoDatatype.html0000644000175000017500000015224611156164733014760 00000000000000 FoDatatype

FoDatatype

FoDatatype

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoBoolean
               +----FoChar
               +----FoColor
               +----FoEnum
               +----FoExpression
               +----FoId
               +----FoInteger
               +----FoKeep
               +----FoLengthBpIpD
               +----FoLengthCond
               +----FoLength
               +----FoLengthRange
               +----FoName
               +----FoNumber
               +----FoNumeric
               +----FoPercentage
               +----FoSpace
               +----FoString
               +----FoUnknown
               +----FoUriSpecification

Description

Details

FoDatatype

typedef struct _FoDatatype FoDatatype;


FoDatatypeClass

typedef struct _FoDatatypeClass FoDatatypeClass;


FO_DATATYPE_ERROR

#define FO_DATATYPE_ERROR fo_datatype_error_quark ()


fo_datatype_error_quark ()

GQuark              fo_datatype_error_quark             (void);

Get the error quark for FoDatatype.

If the quark does not yet exist, create it.

Returns :

Quark associated with FoDatatype errors

enum FoDatatypeError

typedef enum
{
  FO_DATATYPE_ERROR_WRONG_DATATYPE, /* Wrong datatype for context */
  FO_DATATYPE_ERROR_ADD,	    /* Cannot add datatype types */
  FO_DATATYPE_ERROR_SUB,	    /* Cannot subtract datatype types */
  FO_DATATYPE_ERROR_MUL,	    /* Cannot multiply datatype types */
  FO_DATATYPE_ERROR_DIV,	    /* Cannot divide datatype types */
  FO_DATATYPE_ERROR_MOD,	    /* Cannot get mod of datatype types */
  FO_DATATYPE_ERROR_MAX,	    /* max() error */
  FO_DATATYPE_ERROR_MIN,	    /* min() error */
  FO_DATATYPE_ERROR_FLOOR,	    /* floor() error */
  FO_DATATYPE_ERROR_ROUND,	    /* round() error */
  FO_DATATYPE_ERROR_CEILING,	    /* ceiling() error */
  FO_DATATYPE_ERROR_ABS,	    /* abs() error */
  FO_DATATYPE_ERROR_NEGATE	    /* negation error */
} FoDatatypeError;


fo_datatype_new ()

FoDatatype*         fo_datatype_new                     (void);

Creates a new FoDatatype initialized to default value.

Returns :

the new FoDatatype

fo_datatype_copy ()

FoDatatype*         fo_datatype_copy                    (FoDatatype *datatype);

Makes a copy of datatype

datatype :

FoDatatype to be copied

Returns :

Copy of datatype

fo_datatype_get_condity_discard ()

FoDatatype*         fo_datatype_get_condity_discard     (void);

Returns :

The FoDatatype value for conditionality="discard"

fo_datatype_get_condity_retain ()

FoDatatype*         fo_datatype_get_condity_retain      (void);

Returns :

The FoDatatype value for conditionality="retain"

fo_datatype_add ()

FoDatatype*         fo_datatype_add                     (FoDatatype *arg1,
                                                         FoDatatype *arg2);

Find addition of the values of arg1 and arg2. arg1 and arg2 are unchanged.

The type of the return value depends on the types of arg1 and arg2:

fo_datatype_add (FoInteger, FoInteger) --> FoInteger fo_datatype_add (FoInteger, FoNumber) --> FoNumber fo_datatype_add (FoNumber, FoInteger) --> FoNumber fo_datatype_add (FoNumber, FoNumber) --> FoNumber fo_datatype_add (FoLength, FoLength) --> FoLength fo_datatype_add (FoPercentage, FoPercentage) --> FoPercentage

arg1 :

FoDatatype.

arg2 :

FoDatatype.

Returns :

FoDatatype with value that is equal to addition of values of arg1 and arg2, or FoError if cannot compute addition of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2.

fo_datatype_sub ()

FoDatatype*         fo_datatype_sub                     (FoDatatype *arg1,
                                                         FoDatatype *arg2);

Find subtraction of the value of arg2 from the value of arg1. arg1 and arg2 are unchanged.

The type of the return value depends on the types of arg1 and arg2:

fo_datatype_sub (FoInteger, FoInteger) --> FoInteger fo_datatype_sub (FoInteger, FoNumber) --> FoNumber fo_datatype_sub (FoNumber, FoInteger) --> FoNumber fo_datatype_sub (FoNumber, FoNumber) --> FoNumber fo_datatype_sub (FoLength, FoLength) --> FoLength fo_datatype_sub (FoPercentage, FoPercentage) --> FoPercentage

arg1 :

FoDatatype.

arg2 :

FoDatatype.

Returns :

FoDatatype with value that is equal to subtraction of the value of arg2 from the value of arg1, or FoError if cannot compute subisor of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2.

fo_datatype_mul ()

FoDatatype*         fo_datatype_mul                     (FoDatatype *arg1,
                                                         FoDatatype *arg2);

Find multiple of values of arg1 and arg2. arg1 and arg2 are unchanged.

The type of the return value depends on the types of arg1 and arg2:

fo_datatype_mul (FoInteger, FoInteger) --> FoInteger fo_datatype_mul (FoInteger, FoNumber) --> FoNumber fo_datatype_mul (FoInteger, FoLength) --> FoLength fo_datatype_mul (FoInteger, FoPercentage) --> FoInteger fo_datatype_mul (FoNumber, FoInteger) --> FoNumber fo_datatype_mul (FoNumber, FoNumber) --> FoNumber fo_datatype_mul (FoNumber, FoLength) --> FoLength fo_datatype_mul (FoNumber, FoPercentage) --> FoNumber fo_datatype_mul (FoLength, FoInteger) --> FoLength fo_datatype_mul (FoLength, FoNumber) --> FoLength fo_datatype_mul (FoLength, FoPercentage) --> FoLength fo_datatype_mul (FoPercentage, FoInteger) --> FoInteger fo_datatype_mul (FoPercentage, FoNumber) --> FoNumber fo_datatype_mul (FoPercentage, FoLength) --> FoLength fo_datatype_mul (FoPercentage, FoPercentage) --> FoPercentage

arg1 :

FoDatatype.

arg2 :

FoDatatype.

Returns :

FoDatatype with value that is equal to mulisor of values of arg1 and arg2, or FoError if cannot compute mulisor of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2.

fo_datatype_div ()

FoDatatype*         fo_datatype_div                     (FoDatatype *arg1,
                                                         FoDatatype *arg2);

Find divisor of values of arg1 and arg2. arg1 and arg2 are unchanged.

The type of the return value depends on the types of arg1 and arg2:

fo_datatype_div (FoInteger, FoInteger) --> FoInteger fo_datatype_div (FoInteger, FoNumber) --> FoNumber fo_datatype_div (FoNumber, FoInteger) --> FoNumber fo_datatype_div (FoNumber, FoNumber) --> FoNumber fo_datatype_div (FoLength, FoLength) --> FoNumber fo_datatype_div (FoLength, FoInteger) --> FoLength fo_datatype_div (FoLength, FoNumber) --> FoLength fo_datatype_div (FoLength, FoPercentage) --> FoLength fo_datatype_div (FoPercentage, FoPercentage) --> FoPercentage fo_datatype_div (FoPercentage, FoNumber) --> FoPercentage fo_datatype_div (FoPercentage, FoInteger) --> FoPercentage

arg1 :

FoDatatype.

arg2 :

FoDatatype.

Returns :

FoDatatype with value that is equal to divisor of values of arg1 and arg2, or FoError if cannot compute divisor of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2.

fo_datatype_mod ()

FoDatatype*         fo_datatype_mod                     (FoDatatype *arg1,
                                                         FoDatatype *arg2);

Find modulus of values of arg1 and arg2. arg1 and arg2 are unchanged.

The type of the return value depends on the types of arg1 and arg2:

fo_datatype_mod (FoInteger, FoInteger) --> FoInteger fo_datatype_mod (FoInteger, FoNumber) --> FoNumber fo_datatype_mod (FoNumber, FoInteger) --> FoNumber fo_datatype_mod (FoNumber, FoNumber) --> FoNumber fo_datatype_mod (FoLength, FoLength) --> FoNumber fo_datatype_mod (FoLength, FoInteger) --> FoNumber fo_datatype_mod (FoLength, FoNumber) --> FoNumber fo_datatype_mod (FoLength, FoPercentage) --> FoNumber fo_datatype_mod (FoPercentage, FoPercentage) --> FoNumber fo_datatype_mod (FoPercentage, FoNumber) --> FoPercentage fo_datatype_mod (FoPercentage, FoInteger) --> FoPercentage

arg1 :

FoDatatype.

arg2 :

FoDatatype.

Returns :

FoDatatype with value that is equal to modulus of values of arg1 and arg2, or FoError if cannot compute modulus of arg1 and arg2. The type of the return value depends on the types of arg1 and arg2.

fo_datatype_max ()

FoDatatype*         fo_datatype_max                     (FoDatatype *arg1,
                                                         FoDatatype *arg2);

Find maximum of values of arg1 and arg2. arg1 and arg2 are unchanged.

arg1 :

Instance of child type of FoDatatype.

arg2 :

FoDatatype of same child type as arg1.

Returns :

FoDatatype of same type as arg1 and arg2 and with value that is equal to maximum of values of arg1 and arg2, or FoError if cannot compute maximum of arg1 and arg2.

fo_datatype_min ()

FoDatatype*         fo_datatype_min                     (FoDatatype *arg1,
                                                         FoDatatype *arg2);

Find minimum of values of arg1 and arg2. arg1 and arg2 are unchanged.

arg1 :

Instance of child type of FoDatatype.

arg2 :

FoDatatype of same child type as arg1.

Returns :

FoDatatype of same type as arg1 and arg2 and with value that is equal to minimum of values of arg1 and arg2, or FoError if cannot compute minimum of arg1 and arg2.

fo_datatype_floor ()

FoDatatype*         fo_datatype_floor                   (FoDatatype *arg);

Computed floor value of value of arg. arg is unchanged.

arg :

FoDatatype.

Returns :

FoDatatype of same type as arg and with value that is floor value of value of arg, or FoError if cannot compute floor of arg.

fo_datatype_ceiling ()

FoDatatype*         fo_datatype_ceiling                 (FoDatatype *arg);

Computed ceiling value of value of arg. arg is unchanged.

arg :

FoDatatype.

Returns :

FoDatatype of same type as arg and with value that is ceiling value of value of arg, or FoError if cannot compute ceiling of arg.

fo_datatype_abs ()

FoDatatype*         fo_datatype_abs                     (FoDatatype *arg);

Compute absolute value of value of arg. arg is unchanged.

arg :

FoDatatype.

Returns :

FoDatatype of same type as arg and with value that is absolute value of value of arg, or FoError if cannot compute absolute value of arg.

fo_datatype_round ()

FoDatatype*         fo_datatype_round                   (FoDatatype *arg);

Computed rounded value of value of arg. arg is unchanged.

arg :

FoDatatype to round.

Returns :

FoDatatype of same type as arg and with value that is rounded value of value of arg, of FoError is cannot round arg.

fo_datatype_negate ()

FoDatatype*         fo_datatype_negate                  (FoDatatype *arg);

Compute negated value of value of arg. arg is unchanged.

arg :

FoDatatype to negate.

Returns :

FoDatatype of same type as arg and negated value, or FoError if cannot compute negated value of arg.
xmlroff-0.6.2/docs/html/FoEnum.html0000644000175000017500000007710011156164733014104 00000000000000 FoEnum

FoEnum

FoEnum

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoEnum

Properties

  "enum-class"               gpointer              : Read / Write / Construct Only
  "value"                    gint                  : Read / Write / Construct Only

Description

Details

enum FoEnumEnum

typedef enum {
  FO_ENUM_ENUM_UNSPECIFIED,
  FO_ENUM_ENUM_0,
  FO_ENUM_ENUM_100,
  FO_ENUM_ENUM_180,
  FO_ENUM_ENUM_200,
  FO_ENUM_ENUM_270,
  FO_ENUM_ENUM_300,
  FO_ENUM_ENUM_400,
  FO_ENUM_ENUM_500,
  FO_ENUM_ENUM_600,
  FO_ENUM_ENUM_700,
  FO_ENUM_ENUM_800,
  FO_ENUM_ENUM_90,
  FO_ENUM_ENUM_900,
  FO_ENUM_ENUM_ABOVE,
  FO_ENUM_ENUM_ABSOLUTE,
  FO_ENUM_ENUM_ABSOLUTE_COLORIMETRIC,
  FO_ENUM_ENUM_ACTIVE,
  FO_ENUM_ENUM_AFTER,
  FO_ENUM_ENUM_AFTER_EDGE,
  FO_ENUM_ENUM_ALL,
  FO_ENUM_ENUM_ALPHABETIC,
  FO_ENUM_ENUM_ALWAYS,
  FO_ENUM_ENUM_ANY,
  FO_ENUM_ENUM_AUTO,
  FO_ENUM_ENUM_AUTO_EVEN,
  FO_ENUM_ENUM_AUTO_ODD,
  FO_ENUM_ENUM_AVOID,
  FO_ENUM_ENUM_BACKSLANT,
  FO_ENUM_ENUM_BASELINE,
  FO_ENUM_ENUM_BEFORE,
  FO_ENUM_ENUM_BEFORE_EDGE,
  FO_ENUM_ENUM_BEHIND,
  FO_ENUM_ENUM_BELOW,
  FO_ENUM_ENUM_BIDI_OVERRIDE,
  FO_ENUM_ENUM_BLANK,
  FO_ENUM_ENUM_BLINK,
  FO_ENUM_ENUM_BLOCK,
  FO_ENUM_ENUM_BOLD,
  FO_ENUM_ENUM_BOLDER,
  FO_ENUM_ENUM_BOTH,
  FO_ENUM_ENUM_BOTTOM,
  FO_ENUM_ENUM_BOUNDED_IN_ONE_DIMENSION,
  FO_ENUM_ENUM_CAPITALIZE,
  FO_ENUM_ENUM_CAPTION,
  FO_ENUM_ENUM_CENTER,
  FO_ENUM_ENUM_CENTER_LEFT,
  FO_ENUM_ENUM_CENTER_RIGHT,
  FO_ENUM_ENUM_CENTRAL,
  FO_ENUM_ENUM_CHARACTER_BY_CHARACTER,
  FO_ENUM_ENUM_CODE,
  FO_ENUM_ENUM_COLLAPSE,
  FO_ENUM_ENUM_COLLAPSE_WITH_PRECEDENCE,
  FO_ENUM_ENUM_COLUMN,
  FO_ENUM_ENUM_CONDENSED,
  FO_ENUM_ENUM_CONSIDER_SHIFTS,
  FO_ENUM_ENUM_CONTINUOUS,
  FO_ENUM_ENUM_CURSIVE,
  FO_ENUM_ENUM_DASHED,
  FO_ENUM_ENUM_DIGITS,
  FO_ENUM_ENUM_DISREGARD_SHIFTS,
  FO_ENUM_ENUM_DOCUMENT,
  FO_ENUM_ENUM_DOCUMENT_ROOT,
  FO_ENUM_ENUM_DOTS,
  FO_ENUM_ENUM_DOTTED,
  FO_ENUM_ENUM_DOUBLE,
  FO_ENUM_ENUM_EMBED,
  FO_ENUM_ENUM_EMPTY,
  FO_ENUM_ENUM_END,
  FO_ENUM_ENUM_END_ON_EVEN,
  FO_ENUM_ENUM_END_ON_ODD,
  FO_ENUM_ENUM_ERROR_IF_OVERFLOW,
  FO_ENUM_ENUM_EVEN,
  FO_ENUM_ENUM_EVEN_PAGE,
  FO_ENUM_ENUM_EXPANDED,
  FO_ENUM_ENUM_EXTRA_CONDENSED,
  FO_ENUM_ENUM_EXTRA_EXPANDED,
  FO_ENUM_ENUM_FALSE,
  FO_ENUM_ENUM_FANTASY,
  FO_ENUM_ENUM_FAR_LEFT,
  FO_ENUM_ENUM_FAR_RIGHT,
  FO_ENUM_ENUM_FAST,
  FO_ENUM_ENUM_FASTER,
  FO_ENUM_ENUM_FIRST,
  FO_ENUM_ENUM_FIRST_INCLUDING_CARRYOVER,
  FO_ENUM_ENUM_FIRST_STARTING_WITHIN_PAGE,
  FO_ENUM_ENUM_FIXED,
  FO_ENUM_ENUM_FOCUS,
  FO_ENUM_ENUM_FONT_HEIGHT,
  FO_ENUM_ENUM_FORCE,
  FO_ENUM_ENUM_GROOVE,
  FO_ENUM_ENUM_HANGING,
  FO_ENUM_ENUM_HIDDEN,
  FO_ENUM_ENUM_HIDE,
  FO_ENUM_ENUM_HIGH,
  FO_ENUM_ENUM_HIGHER,
  FO_ENUM_ENUM_HOVER,
  FO_ENUM_ENUM_ICON,
  FO_ENUM_ENUM_IDEOGRAPHIC,
  FO_ENUM_ENUM_IGNORE,
  FO_ENUM_ENUM_IGNORE_IF_AFTER_LINEFEED,
  FO_ENUM_ENUM_IGNORE_IF_BEFORE_LINEFEED,
  FO_ENUM_ENUM_IGNORE_IF_SURROUNDING_LINEFEED,
  FO_ENUM_ENUM_INDEFINITE,
  FO_ENUM_ENUM_INDENT,
  FO_ENUM_ENUM_INSET,
  FO_ENUM_ENUM_INSIDE,
  FO_ENUM_ENUM_INTEGER_PIXELS,
  FO_ENUM_ENUM_ITALIC,
  FO_ENUM_ENUM_JUSTIFY,
  FO_ENUM_ENUM_LANDSCAPE,
  FO_ENUM_ENUM_LARGE,
  FO_ENUM_ENUM_LARGER,
  FO_ENUM_ENUM_LAST,
  FO_ENUM_ENUM_LAST_ENDING_WITHIN_PAGE,
  FO_ENUM_ENUM_LAST_STARTING_WITHIN_PAGE,
  FO_ENUM_ENUM_LEFT,
  FO_ENUM_ENUM_LEFTWARDS,
  FO_ENUM_ENUM_LEFT_SIDE,
  FO_ENUM_ENUM_LEVEL,
  FO_ENUM_ENUM_LIGHTER,
  FO_ENUM_ENUM_LINE,
  FO_ENUM_ENUM_LINE_HEIGHT,
  FO_ENUM_ENUM_LINE_THROUGH,
  FO_ENUM_ENUM_LINK,
  FO_ENUM_ENUM_LOUD,
  FO_ENUM_ENUM_LOW,
  FO_ENUM_ENUM_LOWER,
  FO_ENUM_ENUM_LOWERCASE,
  FO_ENUM_ENUM_LR,
  FO_ENUM_ENUM_LR_TB,
  FO_ENUM_ENUM_LTR,
  FO_ENUM_ENUM_MATHEMATICAL,
  FO_ENUM_ENUM_MAX_HEIGHT,
  FO_ENUM_ENUM_MEDIUM,
  FO_ENUM_ENUM_MENU,
  FO_ENUM_ENUM_MESSAGE_BOX,
  FO_ENUM_ENUM_MIDDLE,
  FO_ENUM_ENUM_MIX,
  FO_ENUM_ENUM_MONOSPACE,
  FO_ENUM_ENUM_NARROWER,
  FO_ENUM_ENUM_NEW,
  FO_ENUM_ENUM_NONE,
  FO_ENUM_ENUM_NON_UNIFORM,
  FO_ENUM_ENUM_NORMAL,
  FO_ENUM_ENUM_NOT_BLANK,
  FO_ENUM_ENUM_NOWRAP,
  FO_ENUM_ENUM_NO_BLINK,
  FO_ENUM_ENUM_NO_CHANGE,
  FO_ENUM_ENUM_NO_FORCE,
  FO_ENUM_ENUM_NO_LIMIT,
  FO_ENUM_ENUM_NO_LINE_THROUGH,
  FO_ENUM_ENUM_NO_OVERLINE,
  FO_ENUM_ENUM_NO_REPEAT,
  FO_ENUM_ENUM_NO_UNDERLINE,
  FO_ENUM_ENUM_NO_WRAP,
  FO_ENUM_ENUM_OBLIQUE,
  FO_ENUM_ENUM_ODD,
  FO_ENUM_ENUM_ODD_PAGE,
  FO_ENUM_ENUM_ONCE,
  FO_ENUM_ENUM_OUTSET,
  FO_ENUM_ENUM_OUTSIDE,
  FO_ENUM_ENUM_OVERLINE,
  FO_ENUM_ENUM_PAGE,
  FO_ENUM_ENUM_PAGE_SEQUENCE,
  FO_ENUM_ENUM_PAGINATE,
  FO_ENUM_ENUM_PERCEPTUAL,
  FO_ENUM_ENUM_PORTRAIT,
  FO_ENUM_ENUM_PRE,
  FO_ENUM_ENUM_PRESERVE,
  FO_ENUM_ENUM_REFERENCE_AREA,
  FO_ENUM_ENUM_RELATIVE,
  FO_ENUM_ENUM_RELATIVE_COLORIMETRIC,
  FO_ENUM_ENUM_REPEAT,
  FO_ENUM_ENUM_REPEAT_X,
  FO_ENUM_ENUM_REPEAT_Y,
  FO_ENUM_ENUM_REPLACE,
  FO_ENUM_ENUM_RESAMPLE_ANY_METHOD,
  FO_ENUM_ENUM_RESET_SIZE,
  FO_ENUM_ENUM_REST,
  FO_ENUM_ENUM_RETAIN,
  FO_ENUM_ENUM_RIDGE,
  FO_ENUM_ENUM_RIGHT,
  FO_ENUM_ENUM_RIGHTWARDS,
  FO_ENUM_ENUM_RIGHT_SIDE,
  FO_ENUM_ENUM_RL,
  FO_ENUM_ENUM_RL_TB,
  FO_ENUM_ENUM_RTL,
  FO_ENUM_ENUM_RULE,
  FO_ENUM_ENUM_SANS_SERIF,
  FO_ENUM_ENUM_SATURATION,
  FO_ENUM_ENUM_SCALE_TO_FIT,
  FO_ENUM_ENUM_SCROLL,
  FO_ENUM_ENUM_SEMI_CONDENSED,
  FO_ENUM_ENUM_SEMI_EXPANDED,
  FO_ENUM_ENUM_SEPARATE,
  FO_ENUM_ENUM_SERIF,
  FO_ENUM_ENUM_SHOW,
  FO_ENUM_ENUM_SILENT,
  FO_ENUM_ENUM_SLOW,
  FO_ENUM_ENUM_SLOWER,
  FO_ENUM_ENUM_SMALL,
  FO_ENUM_ENUM_SMALLER,
  FO_ENUM_ENUM_SMALL_CAPS,
  FO_ENUM_ENUM_SMALL_CAPTION,
  FO_ENUM_ENUM_SOFT,
  FO_ENUM_ENUM_SOLID,
  FO_ENUM_ENUM_SPACE,
  FO_ENUM_ENUM_SPELL_OUT,
  FO_ENUM_ENUM_START,
  FO_ENUM_ENUM_STATIC,
  FO_ENUM_ENUM_STATUS_BAR,
  FO_ENUM_ENUM_STRING,
  FO_ENUM_ENUM_SUB,
  FO_ENUM_ENUM_SUPER,
  FO_ENUM_ENUM_SUPPRESS,
  FO_ENUM_ENUM_TB,
  FO_ENUM_ENUM_TB_RL,
  FO_ENUM_ENUM_TEXT_AFTER_EDGE,
  FO_ENUM_ENUM_TEXT_BEFORE_EDGE,
  FO_ENUM_ENUM_TEXT_BOTTOM,
  FO_ENUM_ENUM_TEXT_TOP,
  FO_ENUM_ENUM_THICK,
  FO_ENUM_ENUM_THIN,
  FO_ENUM_ENUM_TOP,
  FO_ENUM_ENUM_TRADITIONAL,
  FO_ENUM_ENUM_TRANSPARENT,
  FO_ENUM_ENUM_TREAT_AS_SPACE,
  FO_ENUM_ENUM_TREAT_AS_ZERO_WIDTH_SPACE,
  FO_ENUM_ENUM_TRUE,
  FO_ENUM_ENUM_ULTRA_CONDENSED,
  FO_ENUM_ENUM_ULTRA_EXPANDED,
  FO_ENUM_ENUM_UNBOUNDED,
  FO_ENUM_ENUM_UNDERLINE,
  FO_ENUM_ENUM_UNIFORM,
  FO_ENUM_ENUM_UPPERCASE,
  FO_ENUM_ENUM_USE_CONTENT,
  FO_ENUM_ENUM_USE_FONT_METRICS,
  FO_ENUM_ENUM_USE_NORMAL_STYLESHEET,
  FO_ENUM_ENUM_USE_SCRIPT,
  FO_ENUM_ENUM_USE_TARGET_PROCESSING_CONTEXT,
  FO_ENUM_ENUM_VISIBLE,
  FO_ENUM_ENUM_VISITED,
  FO_ENUM_ENUM_WIDER,
  FO_ENUM_ENUM_WRAP,
  FO_ENUM_ENUM_XSL_ANY,
  FO_ENUM_ENUM_XSL_BEFORE_FLOAT_SEPARATOR,
  FO_ENUM_ENUM_XSL_FOLLOWING,
  FO_ENUM_ENUM_XSL_FOOTNOTE_SEPARATOR,
  FO_ENUM_ENUM_XSL_PRECEDING,
  FO_ENUM_ENUM_XSL_REGION_AFTER,
  FO_ENUM_ENUM_XSL_REGION_BEFORE,
  FO_ENUM_ENUM_XSL_REGION_BODY,
  FO_ENUM_ENUM_XSL_REGION_END,
  FO_ENUM_ENUM_XSL_REGION_START,
  FO_ENUM_ENUM_XX_LARGE,
  FO_ENUM_ENUM_XX_SMALL,
  FO_ENUM_ENUM_X_FAST,
  FO_ENUM_ENUM_X_HIGH,
  FO_ENUM_ENUM_X_LARGE,
  FO_ENUM_ENUM_X_LOUD,
  FO_ENUM_ENUM_X_LOW,
  FO_ENUM_ENUM_X_SLOW,
  FO_ENUM_ENUM_X_SMALL,
  FO_ENUM_ENUM_X_SOFT,
  FO_ENUM_ENUM__180,
  FO_ENUM_ENUM__270,
  FO_ENUM_ENUM__90,
  FO_ENUM_ENUM_LIMIT
} FoEnumEnum;


FoEnum

typedef struct _FoEnum FoEnum;

Instance of the 'enum' datatype.


FoEnumClass

typedef struct _FoEnumClass FoEnumClass;

Class structure for the 'enum' datatype.


fo_enum_new ()

FoDatatype*         fo_enum_new                         (void);

Creates a new FoEnum initialized to default value.

Returns :

The new FoEnum.

fo_enum_new_with_value ()

FoDatatype*         fo_enum_new_with_value              (const GEnumClass *enum_class,
                                                         const FoEnumEnum value);

Creates a new FoEnum set to value and enum_class.

enum_class :

GEnumClass of the new FoEnum.

value :

Value of the new FoEnum.

Returns :

The new FoEnum.

fo_enum_get_enum_class ()

GEnumClass*         fo_enum_get_enum_class              (FoDatatype *fo_enum);

Get the enumeration class of fo_enum.

fo_enum :

FoEnum.

Returns :

Enumeration class of fo_enum.

fo_enum_get_value ()

FoEnumEnum          fo_enum_get_value                   (FoDatatype *fo_enum);

Get the value of fo_enum.

fo_enum :

FoEnum.

Returns :

Numeric value of fo_enum.

fo_enum_get_nick ()

const gchar*        fo_enum_get_nick                    (FoDatatype *fo_enum);

Gets the 'nickname' string of fo_enum.

The result should not be freed.

fo_enum :

The FoEnum.

Returns :

The 'nickname' of fo_enum.

FO_TYPE_ENUM_ENUM

#define FO_TYPE_ENUM_ENUM fo_enum_enum_get_type ()


fo_enum_enum_get_type ()

GType               fo_enum_enum_get_type               (void);

Returns :


fo_enum_get_enum_by_value ()

FoDatatype*         fo_enum_get_enum_by_value           (FoEnumEnum enum_value);

Gets an FoEnum corresponding to enum_value, or NULL if enum_value is not in the range of enumerated values.

enum_value :

Enumerated value from FoEnumEnum.

Returns :

FoEnum corresponding to enum_value, or NULL.

fo_enum_get_enum_by_nick ()

FoDatatype*         fo_enum_get_enum_by_nick            (const gchar *name);

Gets an FoEnum corresponding to name, or NULL if name is not a 'nickname' of an FoEnum

name :

The 'nickname' of the FoEnum.

Returns :

FoEnum corresponding to name, or NULL.

fo_enum_get_enum_auto ()

FoDatatype*         fo_enum_get_enum_auto               (void);

Returns :

The FoDatatype for the well-known value 'auto'.

fo_enum_get_enum_baseline ()

FoDatatype*         fo_enum_get_enum_baseline           (void);

Returns :

The FoDatatype for the well-known value 'baseline'.

fo_enum_get_enum_ltr ()

FoDatatype*         fo_enum_get_enum_ltr                (void);

Returns :

The FoDatatype for the well-known value 'ltr'.

fo_enum_get_enum_medium ()

FoDatatype*         fo_enum_get_enum_medium             (void);

Returns :

The FoDatatype for the well-known value 'medium'.

fo_enum_get_enum_none ()

FoDatatype*         fo_enum_get_enum_none               (void);

Returns :

The FoDatatype for the well-known value 'none'.

fo_enum_get_enum_uniform ()

FoDatatype*         fo_enum_get_enum_uniform            (void);

Returns :

The FoDatatype for the well-known value 'uniform'.

fo_enum_get_alphabetic ()

FoDatatype*         fo_enum_get_alphabetic              (void);

Returns :

The FoDatatype for the well-known value 'alphabetic'.

fo_enum_get_always ()

FoDatatype*         fo_enum_get_always                  (void);

Returns :

The FoDatatype for the well-known value 'always'.

fo_enum_get_traditional ()

FoDatatype*         fo_enum_get_traditional             (void);

Returns :

The FoDatatype for the well-known value 'traditional'.

Property Details

The "enum-class" property

  "enum-class"               gpointer              : Read / Write / Construct Only

Enumeration class.


The "value" property

  "value"                    gint                  : Read / Write / Construct Only

Enum value.

Allowed values: [0,268]

Default value: 0

xmlroff-0.6.2/docs/html/FoExpression.html0000644000175000017500000002055411156164733015340 00000000000000 FoExpression

FoExpression

FoExpression

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoExpression

Properties

  "value"                    gchar*                : Read / Write

Description

Details

FoExpression

typedef struct _FoExpression FoExpression;


FoExpressionClass

typedef struct _FoExpressionClass FoExpressionClass;


fo_expression_new ()

FoDatatype*         fo_expression_new                   (void);

Creates a new FoExpression initialized to default value.

Returns :

the new FoExpression

fo_expression_get_value ()

gchar*              fo_expression_get_value             (FoDatatype *expression);

expression :

Returns :


fo_expression_set_value ()

void                fo_expression_set_value             (FoDatatype *expression,
                                                         const gchar *new_value);

expression :

new_value :

Property Details

The "value" property

  "value"                    gchar*                : Read / Write

Expression value.

Default value: NULL

xmlroff-0.6.2/docs/html/FoFo.html0000644000175000017500000016030011156164733013537 00000000000000 FoFo

FoFo

FoFo

Synopsis

                    FoFo;
                    FoFoClass;
#define             FO_FO_ERROR
GQuark              fo_fo_error_quark                   (void);
enum                FoFoError;
                    FoFoAreaNew2Context;
                    FoFoAreaIterator;
FoFo*               fo_fo_new                           (void);
void                fo_fo_debug_dump_properties         (FoFo *fo,
                                                         gint depth);
void                fo_fo_set_context                   (FoFo *fo_fo,
                                                         FoContext *new_context);
FoContext*          fo_fo_get_context                   (FoFo *fo_fo);
void                fo_fo_update_from_context           (FoFo *fo_fo,
                                                         FoContext *context);
FoFo*               fo_fo_get_flow                      (FoFo *fo_fo);
FoFo*               fo_fo_get_tree                      (FoFo *fo_fo);
gboolean            fo_fo_get_generate_reference_area   (FoFo *fo_fo);
gboolean            fo_fo_get_allow_mixed_content       (FoFo *fo_fo);
gboolean            fo_fo_validate_content              (FoFo *fo,
                                                         GError **error);
gboolean            fo_fo_resolve_property_attributes   (FoNode *fo_node,
                                                         gpointer data);
void                fo_fo_children_properties_resolve   (FoFo *this_fo,
                                                         FoArea *this_fo_parent_area,
                                                         FoArea **new_area,
                                                         GHashTable *prop_eval_hash,
                                                         FoDoc *fo_doc,
                                                         gboolean continue_after_error,
                                                         FoDebugFlag debug_level,
                                                         FoWarningFlag warning_mode,
                                                         GError **error);
void                fo_fo_validate                      (FoFo *fo,
                                                         FoContext *current_context,
                                                         FoContext *parent_context,
                                                         GError **error);
FoFo*               fo_fo_clone                         (FoFo *original);
void                fo_fo_area_new                      (FoFo *fo,
                                                         FoDoc *fo_doc,
                                                         FoArea *parent_area,
                                                         FoArea **new_area,
                                                         guint debug_level);
void                fo_fo_area_new2                     (FoFo *fo,
                                                         FoFoAreaNew2Context *context,
                                                         GError **error);
void                fo_fo_trim_whitespace_children      (FoFo *fo);
gboolean            fo_fo_validate_content_empty        (FoFo *fo,
                                                         GError **error);
gboolean            fo_fo_validate_content_block_plus   (FoFo *fo,
                                                         GError **error);
void                fo_fo_validate_pcdata_or_inline     (FoNode *fo_node,
                                                         gboolean *is_not_pcdata_inline);
void                fo_fo_validate_block_or_whitespace  (FoNode *fo_node,
                                                         gboolean *is_not_block_or_whitespace);
void                fo_fo_validate_pcdata_inline_block_neutral
                                                        (FoNode *fo_node,
                                                         gpointer data);
FoFoAreaIterator*   fo_fo_get_area_iterator             (FoFo *fo);
FoArea*             fo_fo_area_iterator_get_area        (const FoFoAreaIterator *iterator);
gboolean            fo_fo_area_iterator_next            (FoFoAreaIterator *iterator);

Known Derived Interfaces

FoFo is required by FoInlineFoIface, FoTableBorderFoIface and FoBlockFoIface.

Properties

  "allow-mixed-content"      gboolean              : Read
  "context"                  FoContext*            : Read
  "flow"                     FoFo*                 : Read
  "generate-reference-area"  gboolean              : Read
  "tree"                     FoFo*                 : Read

Description

Details

FoFo

typedef struct _FoFo FoFo;


FoFoClass

typedef struct _FoFoClass FoFoClass;


FO_FO_ERROR

#define FO_FO_ERROR (fo_fo_error_quark ())


fo_fo_error_quark ()

GQuark              fo_fo_error_quark                   (void);

Gets the GQuark identifying FoFo errors.

Returns :

GQuark identifying FoFo errors.

enum FoFoError

typedef enum
{
  FO_FO_ERROR_FAILED,            /* Generic error code */
  FO_FO_ERROR_WARNING,	         /* Non-fatal error */
  FO_FO_ERROR_EMPTY,             /* FO should not be empty */
  FO_FO_ERROR_NOT_EMPTY,         /* FO should be empty */
  FO_FO_ERROR_NOT_BLOCK,         /* FO should contain (%block;)+ */
  FO_FO_ERROR_INVALID_CHILD,     /* FO not allowed as child of parent FO */
  FO_FO_ERROR_INVALID_CONTENT,   /* FO content does not match content model */
  FO_FO_ERROR_ENUMERATION_TOKEN, /* Unrecognised enumeration token */
  FO_FO_ERROR_DATATYPE,          /* Invalid datatype value for property */
  FO_FO_ERROR_DATATYPE_REPLACE,  /* Invalid datatype value for property replaced */
  FO_FO_ERROR_DATATYPE_NULL,     /* Invalid datatype value for property: NULL */
  FO_FO_ERROR_UNSUPPORTED_PROPERTY,	/* Unsupported property */
  FO_FO_ERROR_NO_IMAGE,		 /* No image */
  FO_FO_ERROR_LAST
} FoFoError;


FoFoAreaNew2Context

typedef struct {
  FoDoc        *fo_doc;
  FoArea       *parent_area;
  FoArea      **new_area;
  gboolean      continue_after_error;
  FoDebugFlag   debug_level;
  FoWarningFlag warning_mode;
} FoFoAreaNew2Context;


FoFoAreaIterator

typedef struct _FoFoAreaIterator FoFoAreaIterator;


fo_fo_new ()

FoFo*               fo_fo_new                           (void);

Creates a new FoFo initialized to default value.

Returns :

the new FoFo

fo_fo_debug_dump_properties ()

void                fo_fo_debug_dump_properties         (FoFo *fo,
                                                         gint depth);

Log debug messages for most of the instance variables and some of the class variables of fo.

fo :

FoFo whose properties to dump

depth :

Indication of relative depth to be applied to the output.

fo_fo_set_context ()

void                fo_fo_set_context                   (FoFo *fo_fo,
                                                         FoContext *new_context);

Sets the context of fo_fo to new_context

fo_fo :

The FoFo object

new_context :

The new context

fo_fo_get_context ()

FoContext*          fo_fo_get_context                   (FoFo *fo_fo);

Gets the "context" of fo_fo

fo_fo :

The FoFo object

Returns :

The context

fo_fo_update_from_context ()

void                fo_fo_update_from_context           (FoFo *fo_fo,
                                                         FoContext *context);

Calls the FoFo-specific _update_from_context() function to update the FoFo's property values from the larger set of property values maintained in the FoContext.

fo_fo :

FoFo to be updated

context :

FoContext from which to update the FoFo

fo_fo_get_flow ()

FoFo*               fo_fo_get_flow                      (FoFo *fo_fo);

Gets the flow of fo_fo

fo_fo :

The FoFo object

Returns :

The flow

fo_fo_get_tree ()

FoFo*               fo_fo_get_tree                      (FoFo *fo_fo);

Gets the tree of fo_fo

fo_fo :

The FoFo object

Returns :

The tree

fo_fo_get_generate_reference_area ()

gboolean            fo_fo_get_generate_reference_area   (FoFo *fo_fo);

Gets whether or not the FO generates reference areas.

fo_fo :

The FoFo object

Returns :

The generate-reference-area class property value

fo_fo_get_allow_mixed_content ()

gboolean            fo_fo_get_allow_mixed_content       (FoFo *fo_fo);

Gets whether or not the FO allows mixed content (i.e. text nodes).

fo_fo :

The FoFo object

Returns :

The allow_mixed_content class property value.

fo_fo_validate_content ()

gboolean            fo_fo_validate_content              (FoFo *fo,
                                                         GError **error);

Calls the FoFo-specific _validate_content() function to validate the FoFo's content model and returns the value returned by that function.

fo :

FoFo whose content is to be validated

error :

GError

Returns :

FALSE if no content model error, otherwise TRUE

fo_fo_resolve_property_attributes ()

gboolean            fo_fo_resolve_property_attributes   (FoNode *fo_node,
                                                         gpointer data);

Resolves the values of the properties of fo_node.

fo_node :

FoNode for which to resolve property attributes.

data :

Context in which to resolve the properties.

Returns :

TRUE if an error occurred, FALSE otherwise.

fo_fo_children_properties_resolve ()

void                fo_fo_children_properties_resolve   (FoFo *this_fo,
                                                         FoArea *this_fo_parent_area,
                                                         FoArea **new_area,
                                                         GHashTable *prop_eval_hash,
                                                         FoDoc *fo_doc,
                                                         gboolean continue_after_error,
                                                         FoDebugFlag debug_level,
                                                         FoWarningFlag warning_mode,
                                                         GError **error);

Resolves the properties of the children of this_fo.

this_fo :

FoFo for which to resolve properties.

this_fo_parent_area :

Parent FoArea to which to add new areas.

new_area :

New area, if any.

prop_eval_hash :

Map of property names to property eval functions.

fo_doc :

Output FoDoc.

continue_after_error :

Whether to continue after any formatting errors.

debug_level :

Debug level.

warning_mode :

Warning mode.

error :

Indication of any error that occurred.

fo_fo_validate ()

void                fo_fo_validate                      (FoFo *fo,
                                                         FoContext *current_context,
                                                         FoContext *parent_context,
                                                         GError **error);

Validate and/or munge the properties of fo.

fo :

FoFo to validate.

current_context :

FoContext of fo.

parent_context :

FoContext of parent of fo.

error :

GError indicating any error that occurs

fo_fo_clone ()

FoFo*               fo_fo_clone                         (FoFo *original);

Make a clone of original and insert the clone after original in the fo tree. Set instance properties of the clone to match original.

original :

Fo object to be cloned

Returns :

Clone of original

fo_fo_area_new ()

void                fo_fo_area_new                      (FoFo *fo,
                                                         FoDoc *fo_doc,
                                                         FoArea *parent_area,
                                                         FoArea **new_area,
                                                         guint debug_level);

Warning

fo_fo_area_new is deprecated and should not be used in newly-written code. Use fo_fo_area_new2 in new code.

Creates a new FoArea for fo and adds it as the last child of parent_area.

fo :

FoFo for which to create a new area.

fo_doc :

Output FoDoc

parent_area :

FoArea to which to add new area.

new_area :

New area.

debug_level :

Debug level.

fo_fo_area_new2 ()

void                fo_fo_area_new2                     (FoFo *fo,
                                                         FoFoAreaNew2Context *context,
                                                         GError **error);

Creates a new FoArea corresponding to fo.

fo :

FoFo for which to create area.

context :

Context in which to create area.

error :

Indication of any error that occurred.

fo_fo_trim_whitespace_children ()

void                fo_fo_trim_whitespace_children      (FoFo *fo);

Remove any "whitespace" children of fo. I.e., unlink and unref any children that are FoText that contain only whitespace or are FoWrapperWhitespace nodes.

Leaves fo with no "whitespace" children.

fo :

FoFo to trim

fo_fo_validate_content_empty ()

gboolean            fo_fo_validate_content_empty        (FoFo *fo,
                                                         GError **error);

Validates that fo does not contain any child FoFo

fo :

FoFo to validate.

error :

GError indicating any error.

Returns :

FALSE if fo is empty.

fo_fo_validate_content_block_plus ()

gboolean            fo_fo_validate_content_block_plus   (FoFo *fo,
                                                         GError **error);

Validates the fo contains one or more FoBlockFo formatting objects.

fo :

FoFo to validate.

error :

GError indicating any error.

Returns :

FALSE if content matches.

fo_fo_validate_pcdata_or_inline ()

void                fo_fo_validate_pcdata_or_inline     (FoNode *fo_node,
                                                         gboolean *is_not_pcdata_inline);

fo_node :

is_not_pcdata_inline :


fo_fo_validate_block_or_whitespace ()

void                fo_fo_validate_block_or_whitespace  (FoNode *fo_node,
                                                         gboolean *is_not_block_or_whitespace);

fo_node :

is_not_block_or_whitespace :


fo_fo_validate_pcdata_inline_block_neutral ()

void                fo_fo_validate_pcdata_inline_block_neutral
                                                        (FoNode *fo_node,
                                                         gpointer data);

Validates that the content of fo_node is only #PCDATA or FoInline or FoNeutral formatting objects.

fo_node :

FoFo to validate

data :

Pointer to gboolean storing result

fo_fo_get_area_iterator ()

FoFoAreaIterator*   fo_fo_get_area_iterator             (FoFo *fo);

Gets a FoFoAreaIterator for iterating over the areas generated by fo.

fo :

FoFo for which to get iterator.

Returns :

A FoFoAreaIterator.

fo_fo_area_iterator_get_area ()

FoArea*             fo_fo_area_iterator_get_area        (const FoFoAreaIterator *iterator);

Gets the current FoArea pointed to by iterator.

iterator :

FoFoAreaIterator for which to get current area.

Returns :

The current FoArea.

fo_fo_area_iterator_next ()

gboolean            fo_fo_area_iterator_next            (FoFoAreaIterator *iterator);

Makes iterator point to the next FoArea in its list.

iterator :

FoFoAreaIterator to modify

Returns :

TRUE if there is a next FoArea, FALSE if not.

Property Details

The "allow-mixed-content" property

  "allow-mixed-content"      gboolean              : Read

Whether or not the formatting object allows mixed content.

Default value: FALSE


The "context" property

  "context"                  FoContext*            : Read

Set of current formatting object properties.


The "flow" property

  "flow"                     FoFo*                 : Read

Ancestor fo:flow node in the formatting object tree.


The "generate-reference-area" property

  "generate-reference-area"  gboolean              : Read

Whether or not the formatting object generates a reference area.

Default value: FALSE


The "tree" property

  "tree"                     FoFo*                 : Read

Top of the formatting object tree.

xmlroff-0.6.2/docs/html/FoHashTable.html0000644000175000017500000004216411156164733015035 00000000000000 FoHashTable

FoHashTable

FoHashTable

Synopsis

                    FoHashTable;
                    FoHashTableClass;
#define             FO_HASH_TABLE_ERROR
GQuark              fo_hash_table_error_quark           (void);
FoHashTable*        fo_hash_table_new                   (void);
void                fo_hash_table_insert                (FoHashTable *fo_hash_table,
                                                         FoObject *key,
                                                         FoObject *value,
                                                         GError **error);
void                fo_hash_table_replace               (FoHashTable *fo_hash_table,
                                                         FoObject *key,
                                                         FoObject *value,
                                                         GError **error);
gboolean            fo_hash_table_remove                (FoHashTable *fo_hash_table,
                                                         FoObject *key,
                                                         GError **error);
FoObject*           fo_hash_table_lookup                (FoHashTable *fo_hash_table,
                                                         FoObject *key,
                                                         GError **error);
guint               fo_hash_table_size                  (FoHashTable *fo_hash_table);

Object Hierarchy

  GObject
   +----FoObject
         +----FoHashTable

Description

Details

FoHashTable

typedef struct _FoHashTable FoHashTable;


FoHashTableClass

typedef struct _FoHashTableClass FoHashTableClass;


FO_HASH_TABLE_ERROR

#define FO_HASH_TABLE_ERROR fo_hash_table_error_quark ()


fo_hash_table_error_quark ()

GQuark              fo_hash_table_error_quark           (void);

Get the error quark for FoHashTable.

If the quark does not yet exist, create it.

Returns :

Quark associated with FoHashTable errors.

fo_hash_table_new ()

FoHashTable*        fo_hash_table_new                   (void);

Creates a new FoHashTable initialized to default value.

Returns :

the new FoHashTable

fo_hash_table_insert ()

void                fo_hash_table_insert                (FoHashTable *fo_hash_table,
                                                         FoObject *key,
                                                         FoObject *value,
                                                         GError **error);

Inserts value as the value corresponding to key in fo_hash_table.

fo_hash_table :

FoHashTable in which to insert.

key :

Key at which to insert.

value :

Value to insert.

error :

GError with information about error that occurred.

fo_hash_table_replace ()

void                fo_hash_table_replace               (FoHashTable *fo_hash_table,
                                                         FoObject *key,
                                                         FoObject *value,
                                                         GError **error);

Replaces the key-value pair in fo_hash_table that has a key matching key.

fo_hash_table :

FoHashTable in which to replace.

key :

Key of key-value pair to replace.

value :

New value.

error :

GError with information about error that occurred.

fo_hash_table_remove ()

gboolean            fo_hash_table_remove                (FoHashTable *fo_hash_table,
                                                         FoObject *key,
                                                         GError **error);

Removes the key-value pair with key matching key from fo_hash_table.

fo_hash_table :

FoHashTable from which to remove a key-value pair.

key :

Key of pair to remove.

error :

GError with information about error that occurred.

Returns :

TRUE is successful.

fo_hash_table_lookup ()

FoObject*           fo_hash_table_lookup                (FoHashTable *fo_hash_table,
                                                         FoObject *key,
                                                         GError **error);

Gets the value associated with key in fo_hash_table.

fo_hash_table :

FoHashTable in which to look.

key :

Key value against which to compare.

error :

GError with information about error that occurred.

Returns :

The value, or NULL if no matching key.

fo_hash_table_size ()

guint               fo_hash_table_size                  (FoHashTable *fo_hash_table);

Gets the number of key-value pairs in fo_hash_table.

fo_hash_table :

FoHashTable for which to get size.

Returns :

Number of key-value pairs.
xmlroff-0.6.2/docs/html/fo-h-file.html0000644000175000017500000002253111156164733014457 00000000000000 Anatomy of a Formatting Object header file

Anatomy of a Formatting Object header file

FO .h File

Abstract

Anatomy of a Formatting Object header file

The public header files for Formatting Objects are autogenerated and, therefore, have a consistent structure. The header files for the few that are not autogenerated also follow this structure.

This example uses the header for the fo:root formatting object, largely because fo:root only has one property: media-usage.

In the example, 'Root' and 'ROOT' are part of the formatting object name, not some feature of the GObject object system.

All formatting object GObjects are subclasses of the FoFo GObject class.

The document describes the conventions current at the time of this writing. Not only may the convention change in the future, some of the older source code files may not yet have been updated to match the current conventions.

Initial comment

/* Fo
 * fo-root.h: Root formatting object
 *
 * Copyright (C) 2001 Sun Microsystems
 *
 * $Id: fo-h-file.xml,v 1.1 2006/03/14 19:42:57 tonygraham Exp $
 *
 * See Copying for the status of this software.
 */

Identifies the formatting object and states the copyright owner.

Initial housekeeping

#ifndef FO_ROOT_H
#define FO_ROOT_H

#ifndef and #define so the header file is not included multiple times.

#include <fo-utils.h>
#include <fo-property.h>

#includes for other header files.

G_BEGIN_DECLS

GLib macro that, for a C++ compiler, expands into something useful for C++.

GObject typedefs

Every GObject has these.

typedef struct _FoRoot      FoRoot;
typedef struct _FoRootClass FoRootClass;

Typedefs for the object instance and object class.

The _FoRoot and _FoRootClass structures are defined in fo-root-private.h.

The effect is that the internals of the FoRoot and FoRootClass are not publicly visible.

GObject #defines

Every GObject has these.

#define FO_TYPE_ROOT              (fo_root_get_type ())

Shorthand for the function that returns the object's GType. The GType identifies the object type.

#define FO_ROOT(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_ROOT, FoRoot))

Macro for casting an object to the required type with a bit of checking that the object can be cast to the required type.

Will generate a warning message if the cast is not allowed.

#define FO_ROOT_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_ROOT, FoRootClass))

Macro for getting the named class structure. 'klass' is the class structure itself or the class structure of a subclass of the class. The macros use 'klass' instead of 'class' because 'class' is a C++ keyword.

#define FO_IS_ROOT(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_ROOT))

Macro for determining if 'object' is an instance of the specified class.

This macro type is frequently used in assertions.

#define FO_IS_ROOT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_ROOT))

Macro for determining if 'klass' is a class structure of the specified type.

#define FO_ROOT_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_ROOT, FoRootClass))

Macro for getting the class structure for an instance of the specified type.

Will generate a warning message if the instance is not of the specified class or of a subclass of the specified class.

GObject functions

GType         fo_root_get_type      (void) G_GNUC_CONST;

Gets the GType for the object type.

FoFo *fo_root_new (void);

Gets a new instance of the object type.

All _new() functions for formatting objects return objects cast to FoFo. Since the functions that manipulate formatting object objects operate on FoFo objects, this avoids having to cast the specific object type to FoFo on every one of those function calls.

Non-property functions

A formatting object may have hand-generated functions that do not just get and set property values. fo:root, however, does not have any.

Property functions

By a happy coincidence, the XSL properties of a formatting object are expressed as GObject properties of the GObject for the formatting object.

Every property of every formatting object has _get() and _set() functions:

FoProperty * fo_root_get_media_usage (FoFo       *fo_fo);
void         fo_root_set_media_usage (FoFo       *fo_fo,
                                      FoProperty *new_media_usage);

The properties are registered with the GObject system as G_PARAM_READABLE, so property values can also be accessed using g_object_get_property().

The property values are not writeable, so they cannot be set using g_object_set_property().

Final housekeeping

G_END_DECLS

Meaningful for C++.

#endif /* !FO_ROOT_H */

Matches earlier #ifndef.

xmlroff-0.6.2/docs/html/FoId.html0000644000175000017500000001664411156164733013542 00000000000000 FoId

FoId

FoId

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoId

Properties

  "value"                    gchar*                : Read / Write

Description

Details

FoId

typedef struct _FoId FoId;


FoIdClass

typedef struct _FoIdClass FoIdClass;


fo_id_new_with_value ()

FoDatatype*         fo_id_new_with_value                (const gchar *value);

Creates a new FoId initialized to value.

value :

Id of new FoId.

Returns :

the new FoId.

fo_id_get_value ()

gchar*              fo_id_get_value                     (FoDatatype *id);

Get the value of id.

id :

FoId.

Returns :

String value of id.

Property Details

The "value" property

  "value"                    gchar*                : Read / Write

Id value.

Default value: NULL

xmlroff-0.6.2/docs/html/FoInlineFoIface.html0000644000175000017500000003212011156164733015624 00000000000000 FoInlineFoIface

FoInlineFoIface

FoInlineFoIface

Synopsis

#define             FO_INLINE_FO_IFACE                  (obj)
                    FoInlineFo;
                    FoInlineFoIface;
void                fo_inline_fo_get_text_attr_list     (FoFo *fo_inline_fo,
                                                         FoDoc *fo_doc,
                                                         GString *text,
                                                         GList **attr_glist,
                                                         guint debug_level);
gboolean            fo_inline_fo_is_linefeed            (const gchar *string);
gboolean            fo_inline_fo_is_non_linefeed_white_space
                                                        (const gchar *string);
gboolean            fo_inline_fo_is_white_space         (const gchar *string);

Object Hierarchy

  GInterface
   +----FoInlineFoIface

Prerequisites

FoInlineFoIface requires FoFo.

Description

Details

FO_INLINE_FO_IFACE()

#define FO_INLINE_FO_IFACE(obj)      (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_INLINE_FO, FoInlineFoIface))

obj :


FoInlineFo

typedef struct _FoInlineFo FoInlineFo;


FoInlineFoIface

typedef struct _FoInlineFoIface FoInlineFoIface;


fo_inline_fo_get_text_attr_list ()

void                fo_inline_fo_get_text_attr_list     (FoFo *fo_inline_fo,
                                                         FoDoc *fo_doc,
                                                         GString *text,
                                                         GList **attr_glist,
                                                         guint debug_level);

Gets the text of the inline FO and its associated list of Pango attributes

fo_inline_fo :

The FoInlineFo object

fo_doc :

The FoDoc that will render fo_inline_fo.

text :

The text of the inline FO

attr_glist :

The list of Pango attributes for the inline FO

debug_level :

Debug level

fo_inline_fo_is_linefeed ()

gboolean            fo_inline_fo_is_linefeed            (const gchar *string);

string :

the string

Returns :

TRUE if the current character is a linefeed character, otherwise FALSE

fo_inline_fo_is_non_linefeed_white_space ()

gboolean            fo_inline_fo_is_non_linefeed_white_space
                                                        (const gchar *string);

From http://www.w3.org/TR/xml/sec-common-syn

[3] S ::= (x20 | x9 | xD | xA)+

string :

the string

Returns :

TRUE if the current character is an white space character, otherwise FALSE

fo_inline_fo_is_white_space ()

gboolean            fo_inline_fo_is_white_space         (const gchar *string);

From http://www.w3.org/TR/xml/sec-common-syn

[3] S ::= (x20 | x9 | xD | xA)+

string :

the string

Returns :

TRUE if the current character is an white space character, otherwise FALSE
xmlroff-0.6.2/docs/html/FoInteger.html0000644000175000017500000003750211156164733014577 00000000000000 FoInteger

FoInteger

FoInteger

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoInteger

Properties

  "value"                    gint                  : Read / Write / Construct Only

Description

Details

FoInteger

typedef struct _FoInteger FoInteger;


FoIntegerClass

typedef struct _FoIntegerClass FoIntegerClass;


fo_integer_new_with_value ()

FoDatatype*         fo_integer_new_with_value           (gint value);

Creates a new FoInteger set to value.

value :

Value of the new FoInteger.

Returns :

The new FoInteger.

fo_integer_get_value ()

gint                fo_integer_get_value                (FoDatatype *integer);

Get the value of integer.

integer :

FoInteger.

Returns :

Numeric value of integer.

fo_integer_get_integer_zero ()

FoDatatype*         fo_integer_get_integer_zero         (void);

Create and return an FoInteger with the well-known value 0.

This saves creation of multiple FoInteger objects that all have the value 0.

Returns :

FoInteger with value 0.

fo_integer_get_integer_one ()

FoDatatype*         fo_integer_get_integer_one          (void);

Create and return an FoInteger with the well-known value 1.

This saves creation of multiple FoInteger objects that all have the value 1.

Returns :

FoInteger with value 1.

fo_integer_get_integer_two ()

FoDatatype*         fo_integer_get_integer_two          (void);

Create and return an FoInteger with the well-known value 2.

This saves creation of multiple FoInteger objects that all have the value 2.

Returns :

FoInteger with value 2.

fo_integer_get_integer_three ()

FoDatatype*         fo_integer_get_integer_three        (void);

Create and return an FoInteger with the well-known value 3.

This saves creation of multiple FoInteger objects that all have the value 3.

Returns :

FoInteger with value 3.

fo_integer_get_integer_four ()

FoDatatype*         fo_integer_get_integer_four         (void);

Create and return an FoInteger with the well-known value 4.

This saves creation of multiple FoInteger objects that all have the value 4.

Returns :

FoInteger with value 4.

fo_integer_get_integer_five ()

FoDatatype*         fo_integer_get_integer_five         (void);

Create and return an FoInteger with the well-known value 5.

This saves creation of multiple FoInteger objects that all have the value 5.

Returns :

FoInteger with value 5.

fo_integer_get_integer_six ()

FoDatatype*         fo_integer_get_integer_six          (void);

Create and return an FoInteger with the well-known value 6.

This saves creation of multiple FoInteger objects that all have the value 6.

Returns :

FoInteger with value 6.

Property Details

The "value" property

  "value"                    gint                  : Read / Write / Construct Only

Integer value.

Default value: 0

xmlroff-0.6.2/docs/html/FoKeep.html0000644000175000017500000005027711156164733014072 00000000000000 FoKeep

FoKeep

FoKeep

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoKeep

Properties

  "within-column"            FoDatatype*           : Read / Write / Construct Only
  "within-line"              FoDatatype*           : Read / Write / Construct Only
  "within-page"              FoDatatype*           : Read / Write / Construct Only

Description

Details

FO_KEEP()

#define FO_KEEP(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_KEEP, FoKeep))

object :


FoKeep

typedef struct _FoKeep FoKeep;


FoKeepClass

typedef struct _FoKeepClass FoKeepClass;


fo_keep_get_type ()

GType               fo_keep_get_type                    (void);

Register the FoKeep object type.

Returns :

GType value of the FoKeep object type.

fo_keep_new ()

FoDatatype*         fo_keep_new                         (void);

Creates a new FoKeep initialized to default value.

Returns :

the new FoKeep

fo_keep_new_with_value ()

FoDatatype*         fo_keep_new_with_value              (FoDatatype *value);

Creates a new FoKeep set to value

value :

Keep of the new FoKeep

Returns :

The new FoKeep

fo_keep_get_keep_auto ()

FoDatatype*         fo_keep_get_keep_auto               (void);

Creates a new FoKeep set to .within-line="auto", .within-column="auto", and .within-page="auto".

Returns :

The new FoKeep

fo_keep_get_keep_always ()

FoDatatype*         fo_keep_get_keep_always             (void);

Creates a new FoKeep set to .within-line="always", .within-column="always", and .within-page="always".

Returns :

The new FoKeep

fo_keep_get_within_line ()

FoDatatype*         fo_keep_get_within_line             (FoDatatype *datatype);

Gets the .within-line component value of datatype

datatype :

FoKeep

Returns :

The .within-line value of datatype

fo_keep_get_within_column ()

FoDatatype*         fo_keep_get_within_column           (FoDatatype *datatype);

Gets the .within-column component value of datatype

datatype :

FoKeep

Returns :

The .within-column value of datatype

fo_keep_get_within_page ()

FoDatatype*         fo_keep_get_within_page             (FoDatatype *datatype);

Gets the .within-page component value of datatype

datatype :

FoKeep

Returns :

The .within-page value of datatype

fo_keep_resolve ()

FoDatatype*         fo_keep_resolve                     (FoDatatype *shortform,
                                                         FoDatatype *within_line,
                                                         FoDatatype *within_column,
                                                         FoDatatype *within_page,
                                                         GError **error);

Resolve the shortform and components of the keep in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation.

Does not change the ref-count of any FoDatatype arguments.

shortform :

Single-value short form of the keep, or NULL

within_line :

.within-line component of the keep, or NULL

within_column :

.within-column component of the keep, or NULL

within_page :

.within-page component of the keep, or NULL

error :

GError used for reporting errors

Returns :

Compound keep datatype, or NULL if an error occurred

fo_keep_get_enum_auto ()

FoDatatype*         fo_keep_get_enum_auto               (void);

Returns :


fo_keep_get_enum_always ()

FoDatatype*         fo_keep_get_enum_always             (void);

Returns :

Property Details

The "within-column" property

  "within-column"            FoDatatype*           : Read / Write / Construct Only

Keep within column value.


The "within-line" property

  "within-line"              FoDatatype*           : Read / Write / Construct Only

Keep within line value.


The "within-page" property

  "within-page"              FoDatatype*           : Read / Write / Construct Only

Keep within page value.

xmlroff-0.6.2/docs/html/FoLengthBpIpD.html0000644000175000017500000002740111156164733015277 00000000000000 FoLengthBpIpD

FoLengthBpIpD

FoLengthBpIpD

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoLengthBpIpD

Properties

  "length-bpd"               FoDatatype*           : Read / Write / Construct Only
  "length-ipd"               FoDatatype*           : Read / Write / Construct Only

Description

Details

FoLengthBpIpD

typedef struct _FoLengthBpIpD FoLengthBpIpD;


FoLengthBpIpDClass

typedef struct _FoLengthBpIpDClass FoLengthBpIpDClass;


fo_length_bp_ip_d_new ()

FoDatatype*         fo_length_bp_ip_d_new               (void);

Creates a new FoLengthBpIpD initialized to default value.

Returns :

the new FoLengthBpIpD

fo_length_bp_ip_d_new_with_value ()

FoDatatype*         fo_length_bp_ip_d_new_with_value    (FoDatatype *length_bpd,
                                                         FoDatatype *length_ipd);

Creates a new FoLengthBpIpD set to length_bpd and length_ipd

length_bpd :

.block-progression-direction component of the new FoLengthBpIpD

length_ipd :

.inline-progression-direction component of the new FoLengthBpIpD

Returns :

The new FoLengthBpIpD

fo_length_bp_ip_d_get_length_bpd ()

FoDatatype*         fo_length_bp_ip_d_get_length_bpd    (FoDatatype *datatype);

Gets the .block-progression-direction component value of datatype

datatype :

FoLengthBpIpD

Returns :

The .block-progression-direction value of datatype

fo_length_bp_ip_d_get_length_ipd ()

FoDatatype*         fo_length_bp_ip_d_get_length_ipd    (FoDatatype *datatype);

Gets the .inline-progression-direction component value of datatype

datatype :

FoLengthBpIpD

Returns :

The .inline-progression-direction component value of datatype

Property Details

The "length-bpd" property

  "length-bpd"               FoDatatype*           : Read / Write / Construct Only

Length in block-progression-direction.


The "length-ipd" property

  "length-ipd"               FoDatatype*           : Read / Write / Construct Only

Length in inline-progression-direction.

xmlroff-0.6.2/docs/html/FoLengthCond.html0000644000175000017500000004635211156164733015232 00000000000000 FoLengthCond

FoLengthCond

FoLengthCond

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoLengthCond

Properties

  "conditionality"           gboolean              : Read / Write / Construct Only
  "length"                   gdouble               : Read / Write / Construct Only

Description

Details

FoLengthCond

typedef struct _FoLengthCond FoLengthCond;


FoLengthCondClass

typedef struct _FoLengthCondClass FoLengthCondClass;


fo_length_cond_new ()

FoDatatype*         fo_length_cond_new                  (void);

Creates a new FoLengthCond initialized to default value.

Returns :

the new FoLengthCond

fo_length_cond_new_with_value ()

FoDatatype*         fo_length_cond_new_with_value       (gdouble length,
                                                         gboolean condity);

Creates a new FoLengthCond set to length and condity

length :

Length component of the new FoLengthCond

condity :

Conditionality component of the new FoLengthCond

Returns :

The new FoLengthCond

fo_length_cond_new_from_length ()

FoDatatype*         fo_length_cond_new_from_length      (FoDatatype *length);

Creates a new FoLengthCond with .length component set to length and .conditionality component set to default value.

length :

FoLength to use as initial value.

Returns :

New FoLengthCond.

fo_length_cond_get_length ()

gdouble             fo_length_cond_get_length           (FoDatatype *datatype);

Gets the .length component value of datatype

datatype :

FoLengthCond

Returns :

The .length value of datatype

fo_length_cond_set_length ()

void                fo_length_cond_set_length           (FoDatatype *datatype,
                                                         gdouble new_length);

Sets the .length component of datatype

datatype :

FoLengthCond

new_length :

New .length value

fo_length_cond_get_condity ()

gboolean            fo_length_cond_get_condity          (FoDatatype *datatype);

Gets the .conditionality component value of datatype

datatype :

FoLengthCond

Returns :

The .conditionality component value of datatype

fo_length_cond_set_condity ()

void                fo_length_cond_set_condity          (FoDatatype *datatype,
                                                         gboolean new_condity);

Sets the .condity component of datatype

datatype :

FoLengthCond

new_condity :

New .condity value

fo_length_cond_get_length_cond_zero ()

FoDatatype*         fo_length_cond_get_length_cond_zero (void);

Get an FoLengthCond with the well-known value of 0pt/discard.

Returns :

The FoLengthCond.

fo_length_cond_resolve ()

FoDatatype*         fo_length_cond_resolve              (FoDatatype *shortform,
                                                         FoDatatype *length,
                                                         FoDatatype *condity,
                                                         GError **error);

Resolve the shortform and components of the length-conditional in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation.

shortform :

Single-value short form of the length-conditional, or NULL

length :

.length component of the space, or NULL

condity :

.conditionality component of the space, or NULL

error :

GError used for reporting errors

Returns :

Compound space datatype, or NULL if an error occurred

Property Details

The "conditionality" property

  "conditionality"           gboolean              : Read / Write / Construct Only

Whether or not the space must always be retained.

Default value: FALSE


The "length" property

  "length"                   gdouble               : Read / Write / Construct Only

Length_Cond length.

Default value: 0

xmlroff-0.6.2/docs/html/FoLength.html0000644000175000017500000004502211156164733014417 00000000000000 FoLength

FoLength

FoLength

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoLength

Properties

  "value"                    gdouble               : Read / Write / Construct Only

Description

Details

FoLength

typedef struct _FoLength FoLength;


FoLengthClass

typedef struct _FoLengthClass FoLengthClass;


fo_length_new_with_value ()

FoDatatype*         fo_length_new_with_value            (gdouble value);

Creates a new FoLength set to value.

value :

Length of the new FoLength.

Returns :

The new FoLength.

fo_length_new_from_pixels ()

FoDatatype*         fo_length_new_from_pixels           (gint count);

Creates a new FoLength set to the intrinsic length of count pixels.

count :

Number of pixels of the new FoLength.

Returns :

The new FoLength.

fo_length_get_value ()

gdouble             fo_length_get_value                 (FoDatatype *length);

Get the value of length.

length :

FoLength.

Returns :

Numeric value of length.

fo_length_get_length_minus_3pt ()

FoDatatype*         fo_length_get_length_minus_3pt      (void);

Get an FoLength with the well-known value of 3pt.

Returns :

The FoLength.

fo_length_get_length_zero ()

FoDatatype*         fo_length_get_length_zero           (void);

Get an FoLength with the well-known value of 0pt.

Returns :

The FoLength.

fo_length_get_length_3pt ()

FoDatatype*         fo_length_get_length_3pt            (void);

Get an FoLength with the well-known value of 3pt.

Returns :

The FoLength.

fo_length_get_length_6pt ()

FoDatatype*         fo_length_get_length_6pt            (void);

Get an FoLength with the well-known value of 6pt.

Returns :

The FoLength.

fo_length_get_length_24pt ()

FoDatatype*         fo_length_get_length_24pt           (void);

Get an FoLength with the well-known value of 24pt.

Returns :

The FoLength.

fo_length_get_length_A4_height ()

FoDatatype*         fo_length_get_length_A4_height      (void);

Returns :


fo_length_get_length_A4_width ()

FoDatatype*         fo_length_get_length_A4_width       (void);

Get an FoLength with the well-known value of the width of an A4 page.

Returns :

The FoLength.

fo_length_get_width_thin ()

FoDatatype*         fo_length_get_width_thin            (void);

Get an FoLength for the well-known width value of 'thin'.

Returns :

The FoLength.

fo_length_get_width_medium ()

FoDatatype*         fo_length_get_width_medium          (void);

Get an FoLength for the well-known width value of 'medium'.

Returns :

The FoLength.

fo_length_get_width_thick ()

FoDatatype*         fo_length_get_width_thick           (void);

Get an FoLength for the well-known width value of 'thick'.

Returns :

The FoLength.

Property Details

The "value" property

  "value"                    gdouble               : Read / Write / Construct Only

Length value.

Default value: 0

xmlroff-0.6.2/docs/html/FoLengthRange.html0000644000175000017500000005602311156164733015377 00000000000000 FoLengthRange

FoLengthRange

FoLengthRange

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoLengthRange

Properties

  "maximum"                  FoDatatype*           : Read / Write / Construct Only
  "minimum"                  FoDatatype*           : Read / Write / Construct Only
  "optimum"                  FoDatatype*           : Read / Write / Construct Only

Description

Details

FO_LENGTH_RANGE()

#define FO_LENGTH_RANGE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LENGTH_RANGE, FoLengthRange))

object :


FoLengthRange

typedef struct _FoLengthRange FoLengthRange;


FoLengthRangeClass

typedef struct _FoLengthRangeClass FoLengthRangeClass;


fo_length_range_get_type ()

GType               fo_length_range_get_type            (void);

Register the FoLengthRange object type.

Returns :

GType value of the FoLengthRange object type.

fo_length_range_new_auto ()

FoDatatype*         fo_length_range_new_auto            (void);

Creates a new FoLengthRange with all components initialized to "auto".

Returns :

the new FoLengthRange

fo_length_range_new_with_value ()

FoDatatype*         fo_length_range_new_with_value      (FoDatatype *datatype);

Creates a new FoLengthRange set to value.

datatype :

Value for .minimum, .optimum, and .maximum values of the new FoLengthRange.

Returns :

The new FoLengthRange.

fo_length_range_get_minimum ()

FoDatatype*         fo_length_range_get_minimum         (FoDatatype *datatype);

Gets the .minimum component value of datatype

datatype :

FoLengthRange

Returns :

The .minimum value of datatype

fo_length_range_get_optimum ()

FoDatatype*         fo_length_range_get_optimum         (FoDatatype *datatype);

Gets the .optimum component value of datatype

datatype :

FoLengthRange

Returns :

The .optimum value of datatype

fo_length_range_get_maximum ()

FoDatatype*         fo_length_range_get_maximum         (FoDatatype *datatype);

Gets the .maximum component value of datatype

datatype :

FoLengthRange

Returns :

The .maximum value of datatype

fo_length_range_resolve ()

FoDatatype*         fo_length_range_resolve             (FoDatatype *shortform,
                                                         FoDatatype *minimum,
                                                         FoDatatype *optimum,
                                                         FoDatatype *maximum,
                                                         gfloat hundred_percent,
                                                         GError **error);

Resolve the shortform and components of the length-range in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation.

Does not change the ref-count of any FoDatatype arguments.

shortform :

Single-value short form of the length-range, or NULL

minimum :

.minimum component of the length-range, or NULL

optimum :

.optimum component of the length-range, or NULL

maximum :

.maximum component of the length-range, or NULL

hundred_percent :

Length to use as 100% when components expressed as percentages

error :

GError used for reporting errors

Returns :

Compound length-range datatype, or NULL if an error occurred

fo_length_range_resolve_allow_auto ()

FoDatatype*         fo_length_range_resolve_allow_auto  (FoDatatype *shortform,
                                                         FoDatatype *minimum,
                                                         FoDatatype *optimum,
                                                         FoDatatype *maximum,
                                                         gfloat hundred_percent,
                                                         GError **error);

Resolve the shortform and components of the length-range in accordance with the definitions of block-progression-dimension and inline-progression-dimension in Section 7.14, Area Dimension Properties, of the XSL 1.0 Recommendation.

Use this when "auto" is an allowed value and percentages are computed into lengths.

Does not change the ref-count of any FoDatatype arguments.

shortform :

Single-value short form of the length-range, or NULL

minimum :

.minimum component of the length-range, or NULL

optimum :

.optimum component of the length-range, or NULL

maximum :

.maximum component of the length-range, or NULL

hundred_percent :

Length to use as 100% when components expressed as percentages

error :

GError used for reporting errors

Returns :

Compound length-range datatype, or NULL if an error occurred

fo_length_range_get_length_range_hundred_percent ()

FoDatatype*         fo_length_range_get_length_range_hundred_percent
                                                        (void);

Get an FoLengthRange with the well-known value of 100%.

Returns :

The FoLengthRange.

Property Details

The "maximum" property

  "maximum"                  FoDatatype*           : Read / Write / Construct Only

Length range maximum value.


The "minimum" property

  "minimum"                  FoDatatype*           : Read / Write / Construct Only

Length range minimum value.


The "optimum" property

  "optimum"                  FoDatatype*           : Read / Write / Construct Only

Length range optimum value.

xmlroff-0.6.2/docs/html/FoName.html0000644000175000017500000002270711156164733014063 00000000000000 FoName

FoName

FoName

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoName

Properties

  "value"                    gchar*                : Read / Write / Construct Only

Description

Details

FoName

typedef struct _FoName FoName;


FoNameClass

typedef struct _FoNameClass FoNameClass;


fo_name_new ()

FoDatatype*         fo_name_new                         (void);

Creates a new FoName initialized to default value.

Returns :

the new FoName.

fo_name_new_with_value ()

FoDatatype*         fo_name_new_with_value              (const gchar *value);

Creates a new FoName set to value.

value :

Value of the new FoName.

Returns :

The new FoName.

fo_name_get_value ()

gchar*              fo_name_get_value                   (FoDatatype *name);

Get the value of name.

name :

FoName.

Returns :

String value of name. String must be freed by caller.

fo_name_get_name_empty ()

FoDatatype*         fo_name_get_name_empty              (void);

Get an FoName with the well-known value of an empty string.

Returns :

The FoName.

Property Details

The "value" property

  "value"                    gchar*                : Read / Write / Construct Only

Name value.

Default value: NULL

xmlroff-0.6.2/docs/html/FoNode.html0000644000175000017500000015423511156164733014072 00000000000000 FoNode

FoNode

FoNode — Object for making trees

Synopsis

                    FoNode;
                    FoNodeClass;
FoNode*             fo_node_new                         (void);
gboolean            (*FoNodeTraverseFunc)               (FoNode *fo_node,
                                                         gpointer data);
void                (*FoNodeForeachFunc)                (FoNode *fo_node,
                                                         gpointer data);
#define             FO_NODE_IS_ROOT                     (fo_node)
#define             FO_NODE_IS_LEAF                     (fo_node)
FoNode*             fo_node_get_ancestor_or_self_by_type
                                                        (FoNode *node,
                                                         const GType type);
FoNode*             fo_node_get_ancestor_or_self_by_name
                                                        (FoNode *node,
                                                         const gchar *name);
FoNode*             fo_node_get_child_by_type           (FoNode *node,
                                                         const GType type);
FoNode*             fo_node_get_child_by_name           (FoNode *node,
                                                         const gchar *name);
FoNode*             fo_node_insert                      (FoNode *parent,
                                                         gint position,
                                                         FoNode *fo_node);
FoNode*             fo_node_insert_before               (FoNode *parent,
                                                         FoNode *sibling,
                                                         FoNode *fo_node);
FoNode*             fo_node_insert_after                (FoNode *parent,
                                                         FoNode *sibling,
                                                         FoNode *fo_node);
FoNode*             fo_node_prepend                     (FoNode *parent,
                                                         FoNode *fo_node);
#define             fo_node_n_nodes                     (root, flags)
#define             fo_node_get_root                    (root)
#define             fo_node_is_ancestor                 (fo_node, descendant)
#define             fo_node_depth                       (fo_node)
FoNode*             fo_node_append                      (FoNode *parent,
                                                         FoNode *fo_node);
void                fo_node_traverse                    (FoNode *root,
                                                         GTraverseType order,
                                                         GTraverseFlags flags,
                                                         gint max_depth,
                                                         FoNodeTraverseFunc func,
                                                         gpointer data);
#define             fo_node_max_height                  (root)
void                fo_node_children_foreach            (FoNode *fo_node,
                                                         GTraverseFlags flags,
                                                         FoNodeForeachFunc func,
                                                         gpointer data);
#define             fo_node_reverse_children            (fo_node)
#define             fo_node_n_children                  (fo_node)
#define             fo_node_nth_child                   (fo_node, n)
#define             fo_node_last_child                  (fo_node)
#define             fo_node_child_position              (fo_node, child)
#define             fo_node_first_sibling               (fo_node)
#define             fo_node_last_sibling                (fo_node)
#define             fo_node_prev_sibling                (fo_node)
FoNode*             fo_node_next_sibling                (FoNode *fo_node);
FoNode*             fo_node_first_child                 (FoNode *fo_node);
FoNode*             fo_node_parent                      (FoNode *fo_node);
#define             fo_node_unlink                      (fo_node)
void                fo_node_unlink_with_next_siblings   (FoNode *fo_node);
FoNode*             fo_node_insert_with_next_siblings   (FoNode *parent,
                                                         gint position,
                                                         FoNode *fo_node);
void                fo_node_debug_dump_tree             (FoNode *fo_node,
                                                         gint depth);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoArea
               +----FoFo

Properties

  "first-child"              FoNode*               : Read
  "next-sibling"             FoNode*               : Read
  "parent"                   FoNode*               : Read

Description

FoObject child type that makes trees.

Details

FoNode

typedef struct _FoNode FoNode;

Instance of FoNode.


FoNodeClass

typedef struct _FoNodeClass FoNodeClass;

Class structure for FoNode.


fo_node_new ()

FoNode*             fo_node_new                         (void);

Creates a new FoNode initialized to default value.

Returns :

the new FoNode

FoNodeTraverseFunc ()

gboolean            (*FoNodeTraverseFunc)               (FoNode *fo_node,
                                                         gpointer data);

fo_node :

data :

Returns :


FoNodeForeachFunc ()

void                (*FoNodeForeachFunc)                (FoNode *fo_node,
                                                         gpointer data);

fo_node :

data :


FO_NODE_IS_ROOT()

#define FO_NODE_IS_ROOT(fo_node)    (G_NODE_IS_ROOT(((FoNode*) (fo_node))->node))

fo_node :


FO_NODE_IS_LEAF()

#define FO_NODE_IS_LEAF(fo_node)    (G_NODE_IS_LEAF(((FoNode*) (fo_node))->node))

fo_node :


fo_node_get_ancestor_or_self_by_type ()

FoNode*             fo_node_get_ancestor_or_self_by_type
                                                        (FoNode *node,
                                                         const GType type);

Find the nearest ancestor node, or node itself, with the same GType as type.

Does not change the ref count of any node.

node :

FoNode at which to begin.

type :

Required GType of ancestor node.

Returns :

FoNode ancestor (or self) with required GType, or NULL.

fo_node_get_ancestor_or_self_by_name ()

FoNode*             fo_node_get_ancestor_or_self_by_name
                                                        (FoNode *node,
                                                         const gchar *name);

Find the nearest ancestor node, or node itself, with the same name as name.

Does not change the ref count of any node.

node :

FoNode at which to begin.

name :

Required name of ancestor node.

Returns :

FoNode ancestor (or self) with required GType, or NULL.

fo_node_get_child_by_type ()

FoNode*             fo_node_get_child_by_type           (FoNode *node,
                                                         const GType type);

Find the first child of node with GType matching type value.

Does not change the ref count of any node.

Allows 0 as value of type since may have been called by fo_node_get_child_by_name for a type that has yet to be instantiated. Of course, if type is 0, this function returns NULL.

node :

FoNode that is parent of nodes to be tested for matching GType.

type :

GType value.

Returns :

First child of specified type, or NULL.

fo_node_get_child_by_name ()

FoNode*             fo_node_get_child_by_name           (FoNode *node,
                                                         const gchar *name);

Find the first child of node with type name matching name value.

Does not change the ref count of any node.

node :

FoNode that is parent of nodes to be tested for type name.

name :

Name of type.

Returns :

First child of specified type, or NULL.

fo_node_insert ()

FoNode*             fo_node_insert                      (FoNode *parent,
                                                         gint position,
                                                         FoNode *fo_node);

Inserts an FoNode beneath the parent at the given position.

parent :

The FoNode to place fo_node under.

position :

The position to place fo_node at, with respect to its siblings. If position is -1, fo_node is inserted as the last child of parent.

fo_node :

The FoNode to insert.

Returns :

The inserted FoNode.

fo_node_insert_before ()

FoNode*             fo_node_insert_before               (FoNode *parent,
                                                         FoNode *sibling,
                                                         FoNode *fo_node);

Inserts an FoNode beneath the parent before the given sibling.

parent :

The FoNode to place fo_node under.

sibling :

The sibling FoNode to place fo_node before. If sibling is NULL, fo_node is inserted as the last child of parent.

fo_node :

The FoNode to insert.

Returns :

The inserted FoNode.

fo_node_insert_after ()

FoNode*             fo_node_insert_after                (FoNode *parent,
                                                         FoNode *sibling,
                                                         FoNode *fo_node);

Inserts an FoNode beneath the parent after the given sibling.

parent :

The FoNode to place fo_node under.

sibling :

The sibling FoNode to place fo_node after. If sibling is NULL, fo_node is inserted as the first child of parent.

fo_node :

The FoNode to insert.

Returns :

The inserted FoNode.

fo_node_prepend ()

FoNode*             fo_node_prepend                     (FoNode *parent,
                                                         FoNode *fo_node);

Inserts an FoNode as the first child of the given parent.

parent :

The FoNode to place fo_node under.

fo_node :

The FoNode to insert.

Returns :

The inserted FoNode.

fo_node_n_nodes()

#define             fo_node_n_nodes(root, flags)

root :

flags :


fo_node_get_root()

#define             fo_node_get_root(root)

root :


fo_node_is_ancestor()

#define             fo_node_is_ancestor(fo_node, descendant)

fo_node :

descendant :


fo_node_depth()

#define             fo_node_depth(fo_node)

fo_node :


fo_node_append ()

FoNode*             fo_node_append                      (FoNode *parent,
                                                         FoNode *fo_node);

Inserts an FoNode as the last child of the given parent.

parent :

The FoNode to place fo_node under.

fo_node :

The FoNode to insert.

Returns :

The inserted FoNode.

fo_node_traverse ()

void                fo_node_traverse                    (FoNode *root,
                                                         GTraverseType order,
                                                         GTraverseFlags flags,
                                                         gint max_depth,
                                                         FoNodeTraverseFunc func,
                                                         gpointer data);

Traverses a tree starting at the given root FoNode. It calls the given function for each node visited. The traversal can be halted at any point by returning TRUE from func.

root :

The root FoNode of the tree to traverse.

order :

The order in which nodes are visited - G_IN_ORDER, G_PRE_ORDER, G_POST_ORDER, or G_LEVEL_ORDER.

flags :

Which types of children are to be visited, one of G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS.

max_depth :

The maximum depth of the traversal. Nodes below this depth will not be visited. If max_depth is -1 all nodes in the tree are visited. If depth is 1, only the root is visited. If depth is 2, the root and its children are visited. And so on.

func :

The function to call for each visited GNode.

data :

User data to pass to the function.

fo_node_max_height()

#define             fo_node_max_height(root)

root :


fo_node_children_foreach ()

void                fo_node_children_foreach            (FoNode *fo_node,
                                                         GTraverseFlags flags,
                                                         FoNodeForeachFunc func,
                                                         gpointer data);

Calls a function for each of the children of an FoNode. Note that it doesn't descend beneath the child nodes.

fo_node :

An FoNode.

flags :

Which types of children are to be visited, one of G_TRAVERSE_ALL, G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS.

func :

The function to call for each visited node.

data :

User data to pass to the function.

fo_node_reverse_children()

#define             fo_node_reverse_children(fo_node)

fo_node :


fo_node_n_children()

#define             fo_node_n_children(fo_node)

fo_node :


fo_node_nth_child()

#define             fo_node_nth_child(fo_node, n)

fo_node :

n :


fo_node_last_child()

#define             fo_node_last_child(fo_node)

fo_node :


fo_node_child_position()

#define             fo_node_child_position(fo_node, child)

fo_node :

child :


fo_node_first_sibling()

#define             fo_node_first_sibling(fo_node)

fo_node :


fo_node_last_sibling()

#define             fo_node_last_sibling(fo_node)

fo_node :


fo_node_prev_sibling()

#define             fo_node_prev_sibling(fo_node)

fo_node :


fo_node_next_sibling ()

FoNode*             fo_node_next_sibling                (FoNode *fo_node);

Gets the next sibling FoNode of fo_node.

fo_node :

The FoNode.

Returns :

The next sibling of fo_node, or NULL.

fo_node_first_child ()

FoNode*             fo_node_first_child                 (FoNode *fo_node);

Gets the first child FoNode of fo_node.

fo_node :

The FoNode.

Returns :

The first child of fo_node, or NULL.

fo_node_parent ()

FoNode*             fo_node_parent                      (FoNode *fo_node);

Gets the parent FoNode of fo_node.

fo_node :

The FoNode.

Returns :

The parent of fo_node.

fo_node_unlink()

#define             fo_node_unlink(fo_node)

fo_node :


fo_node_unlink_with_next_siblings ()

void                fo_node_unlink_with_next_siblings   (FoNode *fo_node);

Unlink fo_node and its next siblings (i.e., 'following siblings' in XPath parlance) from their place in their current FoNode tree.

fo_node and its next siblings remain linked together, and any of those nodes keep their child nodes. Neither fo_node nor any of its following siblings are valid roots since they each have a next and/or a previous sibling, even if they don't have a parent.

fo_node :

First FoNode to be unlinked

fo_node_insert_with_next_siblings ()

FoNode*             fo_node_insert_with_next_siblings   (FoNode *parent,
                                                         gint position,
                                                         FoNode *fo_node);

Insert fo_node and its next siblings (i.e., 'following siblings' in XPath parlance) beneath parent at the given position.

fo_node and its next siblings should not already have a parent FoNode.

parent :

The FoNode to place fo_node under.

position :

The position to place fo_node at, with respect to its siblings. If position is -1, fo_node is inserted as the last child of parent.

fo_node :

First FoNode to be inserted.

Returns :

The inserted FoNode.

fo_node_debug_dump_tree ()

void                fo_node_debug_dump_tree             (FoNode *fo_node,
                                                         gint depth);

Logs the tree structure beginning at fo_node.

fo_node :

FoNode to be dumped.

depth :

Relative indent to add to the output.

Property Details

The "first-child" property

  "first-child"              FoNode*               : Read

First child node in the node tree.


The "next-sibling" property

  "next-sibling"             FoNode*               : Read

Next sibling node in the node tree.


The "parent" property

  "parent"                   FoNode*               : Read

Parent node in the node tree.

xmlroff-0.6.2/docs/html/FoNumber.html0000644000175000017500000002335711156164733014435 00000000000000 FoNumber

FoNumber

FoNumber

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoNumber

Properties

  "value"                    gdouble               : Read / Write / Construct Only

Description

Details

FoNumber

typedef struct _FoNumber FoNumber;


FoNumberClass

typedef struct _FoNumberClass FoNumberClass;


fo_number_new ()

FoDatatype*         fo_number_new                       (void);

Creates a new FoNumber initialized to default value.

Returns :

the new FoNumber

fo_number_new_with_value ()

FoDatatype*         fo_number_new_with_value            (gdouble value);

Creates a new FoNumber set to value.

value :

Value of the new FoNumber.

Returns :

The new FoNumber.

fo_number_get_value ()

gdouble             fo_number_get_value                 (FoDatatype *number);

Get the value of number

number :

FoNumber

Returns :

Numeric value of number

fo_number_get_number_one ()

FoDatatype*         fo_number_get_number_one            (void);

Create and return an FoNumber with the well-known value 1.0.

This saves creation of multiple FoNumber objects that all have the value 1.0.

Returns :

FoNumber with value 1.0.

Property Details

The "value" property

  "value"                    gdouble               : Read / Write / Construct Only

Number value.

Default value: 0

xmlroff-0.6.2/docs/html/FoNumeric.html0000644000175000017500000001240711156164733014601 00000000000000 FoNumeric

FoNumeric

FoNumeric

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoNumeric

Description

Details

FoNumeric

typedef struct _FoNumeric FoNumeric;


FoNumericClass

typedef struct _FoNumericClass FoNumericClass;


fo_numeric_new ()

FoDatatype*         fo_numeric_new                      (void);

Creates a new FoNumeric initialized to default value.

Returns :

the new FoNumeric
xmlroff-0.6.2/docs/html/FoObject.html0000644000175000017500000006300011156164733014400 00000000000000 FoObject

FoObject

FoObject — libfo base object type

Synopsis

                    FoObject;
                    FoObjectClass;
FoObject*           fo_object_new                       (void);
void                fo_object_debug_dump                (gpointer object,
                                                         gint depth);
gchar*              fo_object_debug_sprintf             (gpointer object);
gchar*              fo_object_sprintf                   (gpointer object);
void                fo_object_log_error                 (FoObject *object,
                                                         GError **error);
void                fo_object_log_warning               (FoObject *object,
                                                         GError **warning);
void                fo_object_log_debug                 (FoObject *object,
                                                         GError **debug);
gboolean            fo_object_log_or_propagate_error    (FoObject *fo_object,
                                                         GError **dest,
                                                         GError *src);
gboolean            fo_object_maybe_propagate_error     (FoObject *fo_object,
                                                         GError **dest,
                                                         GError *src,
                                                         gboolean continue_after_error);
guint               fo_object_hash                      (FoObject *object,
                                                         GError **error);
gboolean            fo_object_equal                     (FoObject *a,
                                                         FoObject *b,
                                                         GError **error);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
         +----FoDatatype
         +----FoContext
         +----FoProperty
         +----FoHashTable

Description

Top of the object hierarchy for libfo.

Extends GObject to add some common debugging and logging functions.

Details

FoObject

typedef struct _FoObject FoObject;


FoObjectClass

typedef struct {
  GObjectClass parent_class;

  void     (* debug_dump)	      (FoObject     *object,
				       gint          depth);
  char*    (* debug_sprintf)	      (FoObject     *object);
  char*    (* print_sprintf)	      (FoObject     *object);
  void     (* log_error)              (FoObject     *object,
				       GError      **error);
  void     (* log_warning)            (FoObject     *object,
				       GError      **warning);
  void     (* log_debug)              (FoObject     *object,
				       GError      **debug);
  gboolean (* log_or_propagate_error) (FoObject     *fo_object,
				       GError      **dest,
				       GError       *src);
  gboolean (* maybe_propagate_error)  (FoObject     *fo_object,
				       GError      **dest,
				       GError       *src,
				       gboolean      continue_after_error);
  guint    (* hash_func)              (gconstpointer key);
  gboolean (* equal_func)             (gconstpointer a,
				       gconstpointer b);
} FoObjectClass;


fo_object_new ()

FoObject*           fo_object_new                       (void);

Creates a new FoObject initialized to default value.

Returns :

the new FoObject.

fo_object_debug_dump ()

void                fo_object_debug_dump                (gpointer object,
                                                         gint depth);

Calls debug_dump method of class of object, if object is an FoObject or descendant type of FoObject.

object :

The FoObject object.

depth :

Indent level to add to the output.

fo_object_debug_sprintf ()

gchar*              fo_object_debug_sprintf             (gpointer object);

Calls debug_sprintf method of class of object, if object is an FoObject or descendant type of FoObject.

object :

The FoObject object.

Returns :

Result of debug_sprintf method of class of object.

fo_object_sprintf ()

gchar*              fo_object_sprintf                   (gpointer object);

Calls sprintf method of class of object, if object is an FoObject or descendant type of FoObject.

object :

The FoObject object.

Returns :

Result of sprintf method of class of object.

fo_object_log_error ()

void                fo_object_log_error                 (FoObject *object,
                                                         GError **error);

Calls the 'log_error' method of the class of object.

The called method clears error.

object :

FoObject that is subject of error.

error :

GError with information about error that occurred.

fo_object_log_warning ()

void                fo_object_log_warning               (FoObject *object,
                                                         GError **warning);

Calls the 'log_warning' method of the class of object.

The called method clears error.

object :

FoObject that is subject of error.

warning :

GError with information about warning that occurred.

fo_object_log_debug ()

void                fo_object_log_debug                 (FoObject *object,
                                                         GError **debug);

Calls the 'log_debug' method of the class of object.

The called method clears error.

object :

FoObject that is subject of error.

debug :

GError with debugging information.

fo_object_log_or_propagate_error ()

gboolean            fo_object_log_or_propagate_error    (FoObject *fo_object,
                                                         GError **dest,
                                                         GError *src);

If can propagate src to dest, do so, otherwise log src using fo_object_log_error().

fo_object :

FoObject that is the subject of src.

dest :

GError to which to propagate src, or NULL.

src :

GError with information about error that occurred.

Returns :

TRUE if error propagated, otherwise FALSE.

fo_object_maybe_propagate_error ()

gboolean            fo_object_maybe_propagate_error     (FoObject *fo_object,
                                                         GError **dest,
                                                         GError *src,
                                                         gboolean continue_after_error);

If continue_after_error is FALSE and can propagate src to dest, then do so, otherwise log src using fo_object_log_error().

fo_object :

FoObject that is the subject of src.

dest :

GError to which to propagate src, or NULL.

src :

GError with information about error that occurred.

continue_after_error :

Whether or not to continue after an error.

Returns :

TRUE if error propagated, otherwise FALSE.

fo_object_hash ()

guint               fo_object_hash                      (FoObject *object,
                                                         GError **error);

Create a hash code for the object.

object :

FoObject for which to get hash value.

error :

GError with information about error that occurred.

Returns :

Hash code for the object.

fo_object_equal ()

gboolean            fo_object_equal                     (FoObject *a,
                                                         FoObject *b,
                                                         GError **error);

Compare a to b using the 'equal_func' of the class of a.

a :

First object to compare.

b :

Second object to compare.

error :

GError with information about error that occurred.

Returns :

TRUE if the objects are equal.
xmlroff-0.6.2/docs/html/FoPercentage.html0000644000175000017500000002711611156164733015257 00000000000000 FoPercentage

FoPercentage

FoPercentage

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoPercentage

Properties

  "value"                    gdouble               : Read / Write

Description

Details

FoPercentage

typedef struct _FoPercentage FoPercentage;


FoPercentageClass

typedef struct _FoPercentageClass FoPercentageClass;


fo_percentage_new ()

FoDatatype*         fo_percentage_new                   (void);

Creates a new FoPercentage initialized to default value.

Returns :

the new FoPercentage.

fo_percentage_new_with_value ()

FoDatatype*         fo_percentage_new_with_value        (gdouble value);

Creates a new FoPercentage initialized to value of value. For example, fo_percentage_new_with_value(100) creates a new FoPercentage with value equal to 100%.

value :

Value of new FoPercentage.

Returns :

the new FoPercentage.

fo_percentage_get_value ()

gdouble             fo_percentage_get_value             (FoDatatype *percentage);

Get the value of percentage.

percentage :

FoPercentage.

Returns :

Numeric value of percentage.

fo_percentage_set_value ()

void                fo_percentage_set_value             (FoDatatype *percentage,
                                                         gdouble new_value);

Set the value of percentage.

percentage :

FoPercentage.

new_value :

New value for percentage.

fo_percentage_get_percentage_hundred ()

FoDatatype*         fo_percentage_get_percentage_hundred
                                                        (void);

Get an FoPercentage with the well-known value of 100%.

Returns :

The FoPercentage.

Property Details

The "value" property

  "value"                    gdouble               : Read / Write

Percentage value.

Default value: 0

xmlroff-0.6.2/docs/html/FoProperty.html0000644000175000017500000006177611156164733015040 00000000000000 FoProperty

FoProperty

FoProperty — Abstract FO property type

Synopsis

                    FoProperty;
                    FoPropertyClass;
#define             FO_PROPERTY_ERROR
GQuark              fo_property_error_quark             (void);
enum                FoPropertyError;
FoProperty*         fo_property_new_from_expr           (FoPropertyClass *property_class,
                                                         const gchar *expr,
                                                         FoContext *context,
                                                         FoProperty *current_font_size,
                                                         FoFo *fo_node,
                                                         GError **error);
FoDatatype*         fo_property_get_value               (FoProperty *property);
void                fo_property_set_value               (FoProperty *property,
                                                         FoDatatype *new_value);
gboolean            fo_property_class_is_inherited      (FoPropertyClass *property_class);
gboolean            fo_property_is_inherited            (FoProperty *property);
gboolean            fo_property_class_is_shorthand      (FoPropertyClass *property_class);
gboolean            fo_property_is_shorthand            (FoProperty *property);
FoDatatype*         (*FoResolveEnumFunc)                (const gchar *token,
                                                         FoContext *context,
                                                         GError **err);
FoDatatype*         (*FoResolvePercentFunc)             (gdouble percentage,
                                                         const FoDatatype *font_size,
                                                         const FoFo *fo_node,
                                                         const FoContext *context,
                                                         GError **err);

Object Hierarchy

  GObject
   +----FoObject
         +----FoProperty
               +----FoPropertyBorderLeftWidth

Known Derived Interfaces

FoProperty is required by FoPropertyTextPropertyIface.

Properties

  "is-inherited"             gboolean              : Read
  "is-shorthand"             gboolean              : Read
  "value"                    FoDatatype*           : Read / Write

Description

Every property is a subtype of FoProperty.

Details

FoProperty

typedef struct _FoProperty FoProperty;


FoPropertyClass

typedef struct _FoPropertyClass FoPropertyClass;


FO_PROPERTY_ERROR

#define FO_PROPERTY_ERROR fo_property_error_quark ()


fo_property_error_quark ()

GQuark              fo_property_error_quark             (void);

Returns :


enum FoPropertyError

typedef enum
{
  FO_PROPERTY_ERROR_FAILED,
  FO_PROPERTY_ERROR_EXPRESSION,
  FO_PROPERTY_ERROR_NO_ENUMERATION,
  FO_PROPERTY_ERROR_ILLEGAL_NEGATIVE,
  FO_PROPERTY_ERROR_ZERO_LENGTH,
  FO_PROPERTY_ERROR_LAST
} FoPropertyError;


fo_property_new_from_expr ()

FoProperty*         fo_property_new_from_expr           (FoPropertyClass *property_class,
                                                         const gchar *expr,
                                                         FoContext *context,
                                                         FoProperty *current_font_size,
                                                         FoFo *fo_node,
                                                         GError **error);

Evaluates expr as a value of an instance of property_class. The other parameters provide the context for evaluating expr.

property_class :

Class of property for which to evaluate expression.

expr :

Expression to evaluate.

context :

Current FoContext.

current_font_size :

Current "font-size" value

fo_node :

Current FO

error :

Indication of any error that occurred

Returns :

New instance of property_class, or NULL if an error ocurred.

fo_property_get_value ()

FoDatatype*         fo_property_get_value               (FoProperty *property);

Returns the current value property value of property.

property :

FoProperty object whose value is to be retrieved.

Returns :

The current 'value' property value.

fo_property_set_value ()

void                fo_property_set_value               (FoProperty *property,
                                                         FoDatatype *new_value);

Sets the 'value' property of property.

property :

FoProperty object whose value is to be set.

new_value :

New value for the property.

fo_property_class_is_inherited ()

gboolean            fo_property_class_is_inherited      (FoPropertyClass *property_class);

Indicates whether the XSL property represented by property_class is defined in the XSL 1.0 Recommendation as an inherited property.

property_class :

FoPropertyClass or a subclass of FoPropertyClass.

Returns :

TRUE if property_class is inherited, FALSE if not.

fo_property_is_inherited ()

gboolean            fo_property_is_inherited            (FoProperty *property);

Indicates whether the XSL property represented by property is defined in the XSL 1.0 Recommendation as an inherited property.

property :

FoProperty or subclass of FoProperty

Returns :

TRUE if property is inherited, FALSE otherwise

fo_property_class_is_shorthand ()

gboolean            fo_property_class_is_shorthand      (FoPropertyClass *property_class);

Indicates whether the XSL property represented by property_class is defined in the XSL 1.0 Recommendation as a shorthand property.

property_class :

FoPropertyClass or a subclass of FoPropertyClass.

Returns :

TRUE if property_class is a shorthand, FALSE if not.

fo_property_is_shorthand ()

gboolean            fo_property_is_shorthand            (FoProperty *property);

Indicates whether the XSL property represented by property is defined in the XSL 1.0 Recommendation as a shorthand property.

property :

FoProperty or a subclass of FoProperty.

Returns :

TRUE if property is a shorthand, FALSE otherwise

FoResolveEnumFunc ()

FoDatatype*         (*FoResolveEnumFunc)                (const gchar *token,
                                                         FoContext *context,
                                                         GError **err);

token :

context :

err :

Returns :


FoResolvePercentFunc ()

FoDatatype*         (*FoResolvePercentFunc)             (gdouble percentage,
                                                         const FoDatatype *font_size,
                                                         const FoFo *fo_node,
                                                         const FoContext *context,
                                                         GError **err);

percentage :

font_size :

fo_node :

context :

err :

Returns :

Property Details

The "is-inherited" property

  "is-inherited"             gboolean              : Read

Is this an inherited property?.

Default value: TRUE


The "is-shorthand" property

  "is-shorthand"             gboolean              : Read

Is this a shorthand property?.

Default value: TRUE


The "value" property

  "value"                    FoDatatype*           : Read / Write

Property value.

xmlroff-0.6.2/docs/html/FoPropertyTextPropertyIface.html0000644000175000017500000002203611156164733020364 00000000000000 FoPropertyTextPropertyIface

FoPropertyTextPropertyIface

FoPropertyTextPropertyIface

Object Hierarchy

  GInterface
   +----FoPropertyTextPropertyIface

Prerequisites

FoPropertyTextPropertyIface requires FoProperty.

Description

Details

FO_PROPERTY_TEXT_PROPERTY_IFACE()

#define FO_PROPERTY_TEXT_PROPERTY_IFACE(obj)      (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_PROPERTY_TEXT_PROPERTY, FoPropertyTextPropertyIface))

obj :


FoPropertyTextProperty

typedef struct _FoPropertyTextProperty FoPropertyTextProperty;


FoPropertyTextPropertyIface

typedef struct _FoPropertyTextPropertyIface FoPropertyTextPropertyIface;


fo_property_text_property_new_attr ()

PangoAttribute*     fo_property_text_property_new_attr  (FoProperty *property);

Makes a new PangoAttribute representing the value of property.

property :

FoProperty from which to create a PangoAttribute.

Returns :

New PangoAttribute for property.

fo_property_text_property_new_attr_from_context ()

PangoAttribute*     fo_property_text_property_new_attr_from_context
                                                        (FoProperty *property,
                                                         FoContext *context);

Makes a new PangoAttribute representing the value of property.

property :

FoProperty from which to create a PangoAttribute.

context :

FoContext from which to take additional property values.

Returns :

New PangoAttribute for property.
xmlroff-0.6.2/docs/html/formatting-objects.html0000644000175000017500000002661711156164733016523 00000000000000 Formatting Objects are truly wonderful xmlroff-0.6.2/docs/html/FoSpace.html0000644000175000017500000006765611156164733014252 00000000000000 FoSpace

FoSpace

FoSpace

Synopsis

                    FoSpace;
                    FoSpaceClass;
FoDatatype*         fo_space_new                        (void);
FoDatatype*         fo_space_new_from_length            (FoDatatype *length);
void                fo_space_set_minimum                (FoDatatype *datatype,
                                                         gfloat new_minimum);
gfloat              fo_space_get_minimum                (FoDatatype *datatype);
void                fo_space_set_optimum                (FoDatatype *datatype,
                                                         gfloat new_optimum);
gfloat              fo_space_get_optimum                (FoDatatype *datatype);
void                fo_space_set_maximum                (FoDatatype *datatype,
                                                         gfloat new_maximum);
gfloat              fo_space_get_maximum                (FoDatatype *datatype);
void                fo_space_set_precedence             (FoDatatype *datatype,
                                                         gint new_precedence);
gint                fo_space_get_precedence             (FoDatatype *datatype);
void                fo_space_set_condity                (FoDatatype *datatype,
                                                         gboolean new_condity);
gboolean            fo_space_get_condity                (FoDatatype *datatype);

FoDatatype*         fo_space_get_space_0pt              (void);

FoDatatype*         fo_space_resolve                    (FoDatatype *shortform,
                                                         FoDatatype *minimum,
                                                         FoDatatype *optimum,
                                                         FoDatatype *maximum,
                                                         FoDatatype *precedence,
                                                         FoDatatype *condity,
                                                         gfloat hundred_percent,
                                                         GError **error);

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoSpace

Properties

  "conditionality"           gboolean              : Read / Write / Construct Only
  "maximum"                  gfloat                : Read / Write / Construct Only
  "minimum"                  gfloat                : Read / Write / Construct Only
  "optimum"                  gfloat                : Read / Write / Construct Only
  "precedence"               gint                  : Read / Write / Construct Only

Description

Details

FoSpace

typedef struct _FoSpace FoSpace;


FoSpaceClass

typedef struct _FoSpaceClass FoSpaceClass;


fo_space_new ()

FoDatatype*         fo_space_new                        (void);

Creates a new FoSpace initialized to default value.

Returns :

the new FoSpace

fo_space_new_from_length ()

FoDatatype*         fo_space_new_from_length            (FoDatatype *length);

Creates a new FoSpace with .minimum, .optimum, and .maximum components set to length and .conditionality and .precedence components set to default values.

length :

FoLength to use as initial value

Returns :

New FoSpace

fo_space_set_minimum ()

void                fo_space_set_minimum                (FoDatatype *datatype,
                                                         gfloat new_minimum);

Sets the .minimum component of datatype

datatype :

FoSpace

new_minimum :

New .minimum value

fo_space_get_minimum ()

gfloat              fo_space_get_minimum                (FoDatatype *datatype);

Gets the .minimum component value of datatype

datatype :

FoSpace

Returns :

The .minimum value of datatype

fo_space_set_optimum ()

void                fo_space_set_optimum                (FoDatatype *datatype,
                                                         gfloat new_optimum);

Sets the .optimum component of datatype

datatype :

FoSpace

new_optimum :

New .optimum value

fo_space_get_optimum ()

gfloat              fo_space_get_optimum                (FoDatatype *datatype);

Gets the .optimum component value of datatype

datatype :

FoSpace

Returns :

The .optimum value of datatype

fo_space_set_maximum ()

void                fo_space_set_maximum                (FoDatatype *datatype,
                                                         gfloat new_maximum);

Sets the .maximum component of datatype

datatype :

FoSpace

new_maximum :

New .maximum value

fo_space_get_maximum ()

gfloat              fo_space_get_maximum                (FoDatatype *datatype);

Gets the .maximum component value of datatype

datatype :

FoSpace

Returns :

The .maximum value of datatype

fo_space_set_precedence ()

void                fo_space_set_precedence             (FoDatatype *datatype,
                                                         gint new_precedence);

Sets the .precedence component of datatype

datatype :

FoSpace

new_precedence :

New .precedence value

fo_space_get_precedence ()

gint                fo_space_get_precedence             (FoDatatype *datatype);

Gets the .precedence component value of datatype

datatype :

FoSpace

Returns :

The .precedence value of datatype

fo_space_set_condity ()

void                fo_space_set_condity                (FoDatatype *datatype,
                                                         gboolean new_condity);

Sets the .conditionality component value of datatype

datatype :

FoSpace.

new_condity :

New .conditionality component value.

fo_space_get_condity ()

gboolean            fo_space_get_condity                (FoDatatype *datatype);

Gets the .conditionality component value of datatype

datatype :

FoSpace

Returns :

The .conditionality value of datatype

fo_space_get_space_0pt ()

FoDatatype*         fo_space_get_space_0pt              (void);

Create and return an FoSpace with the well-known value 0pt.

This saves creation of multiple FoSpace objects that all have the value 0pt.

Returns :

FoSpace with value 0pt.

fo_space_resolve ()

FoDatatype*         fo_space_resolve                    (FoDatatype *shortform,
                                                         FoDatatype *minimum,
                                                         FoDatatype *optimum,
                                                         FoDatatype *maximum,
                                                         FoDatatype *precedence,
                                                         FoDatatype *condity,
                                                         gfloat hundred_percent,
                                                         GError **error);

Resolve the shortform and components of the space in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation.

shortform :

Single-value short form of the space, or NULL

minimum :

.minimum component of the space, or NULL

optimum :

.optimum component of the space, or NULL

maximum :

.maximum component of the space, or NULL

precedence :

.precedence component of the space, or NULL

condity :

.conditionality component of the space, or NULL

hundred_percent :

Length to use as 100% when components expressed as percentages

error :

GError used for reporting errors

Returns :

Compound space datatype, or NULL if an error occurred

Property Details

The "conditionality" property

  "conditionality"           gboolean              : Read / Write / Construct Only

Whether or not the space must always be retained.

Default value: FALSE


The "maximum" property

  "maximum"                  gfloat                : Read / Write / Construct Only

Space range maximum value.

Default value: 0


The "minimum" property

  "minimum"                  gfloat                : Read / Write / Construct Only

Space range minimum value.

Default value: 0


The "optimum" property

  "optimum"                  gfloat                : Read / Write / Construct Only

Space range optimum value.

Default value: 0


The "precedence" property

  "precedence"               gint                  : Read / Write / Construct Only

Precedence of this space compared to others.

Default value: 0

xmlroff-0.6.2/docs/html/FoString.html0000644000175000017500000002337711156164733014455 00000000000000 FoString

FoString

FoString

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoString

Properties

  "value"                    gchar*                : Read / Write / Construct Only

Description

Details

FoString

typedef struct _FoString FoString;


FoStringClass

typedef struct _FoStringClass FoStringClass;


fo_string_new ()

FoDatatype*         fo_string_new                       (void);

Creates a new FoString initialized to default value.

Returns :

the new FoString

fo_string_new_with_value ()

FoDatatype*         fo_string_new_with_value            (const gchar *value);

Creates a new FoString set to value.

value :

String of the new FoString.

Returns :

The new FoString.

fo_string_get_value ()

gchar*              fo_string_get_value                 (FoDatatype *string);

Get the value of string.

string :

FoString.

Returns :

Numeric value of string.

fo_string_get_string_one ()

FoDatatype*         fo_string_get_string_one            (void);

Create and return an FoString with the well-known value "1".

This saves creation of multiple FoString objects that all have the value "1".

Returns :

FoString with value "1".

Property Details

The "value" property

  "value"                    gchar*                : Read / Write / Construct Only

String value.

Default value: NULL

xmlroff-0.6.2/docs/html/FoTableBorderFoIface.html0000644000175000017500000007455511156164733016615 00000000000000 FoTableBorderFoIface

FoTableBorderFoIface

FoTableBorderFoIface

Object Hierarchy

  GInterface
   +----FoTableBorderFoIface

Prerequisites

FoTableBorderFoIface requires FoFo.

Known Implementations

FoTableBorderFoIface is implemented by FoTableColumn, FoTableHeader, FoTableFooter, FoTable, FoTableRow, FoTableBody and FoTableCell.

Description

Details

FO_TABLE_BORDER_FO_IFACE()

#define FO_TABLE_BORDER_FO_IFACE(obj)      (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_TABLE_BORDER_FO, FoTableBorderFoIface))

obj :


FoTableBorderFo

typedef struct _FoTableBorderFo FoTableBorderFo;


FoTableBorderFoIface

typedef struct _FoTableBorderFoIface FoTableBorderFoIface;


fo_table_border_fo_get_background_color ()

FoProperty*         fo_table_border_fo_get_background_color
                                                        (FoFo *fo_table_border_fo);

Gets the background-color property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "background-color" property value

fo_table_border_fo_get_border_after_color ()

FoProperty*         fo_table_border_fo_get_border_after_color
                                                        (FoFo *fo_table_border_fo);

Gets the border-after-color property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-after-color" property value

fo_table_border_fo_get_border_after_precedence ()

FoProperty*         fo_table_border_fo_get_border_after_precedence
                                                        (FoFo *fo_table_border_fo);

Gets the "border-after-precedence" property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-after-precedence" property value

fo_table_border_fo_get_border_after_style ()

FoProperty*         fo_table_border_fo_get_border_after_style
                                                        (FoFo *fo_table_border_fo);

Gets the border-after-style property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-after-style" property value

fo_table_border_fo_get_border_after_width ()

FoProperty*         fo_table_border_fo_get_border_after_width
                                                        (FoFo *fo_table_border_fo);

Gets the border-after-width property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-after-width" property value

fo_table_border_fo_get_border_before_color ()

FoProperty*         fo_table_border_fo_get_border_before_color
                                                        (FoFo *fo_table_border_fo);

Gets the border-before-color property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-before-color" property value

fo_table_border_fo_get_border_before_precedence ()

FoProperty*         fo_table_border_fo_get_border_before_precedence
                                                        (FoFo *fo_table_border_fo);

Gets the "border-before-precedence" property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-before-precedence" property value

fo_table_border_fo_get_border_before_style ()

FoProperty*         fo_table_border_fo_get_border_before_style
                                                        (FoFo *fo_table_border_fo);

Gets the border-before-style property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-before-style" property value

fo_table_border_fo_get_border_before_width ()

FoProperty*         fo_table_border_fo_get_border_before_width
                                                        (FoFo *fo_table_border_fo);

Gets the border-before-width property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-before-width" property value

fo_table_border_fo_get_border_end_color ()

FoProperty*         fo_table_border_fo_get_border_end_color
                                                        (FoFo *fo_table_border_fo);

Gets the border-end-color property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-end-color" property value

fo_table_border_fo_get_border_end_precedence ()

FoProperty*         fo_table_border_fo_get_border_end_precedence
                                                        (FoFo *fo_table_border_fo);

Gets the "border-end-precedence" property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-end-precedence" property value

fo_table_border_fo_get_border_end_style ()

FoProperty*         fo_table_border_fo_get_border_end_style
                                                        (FoFo *fo_table_border_fo);

Gets the border-end-style property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-end-style" property value

fo_table_border_fo_get_border_end_width ()

FoProperty*         fo_table_border_fo_get_border_end_width
                                                        (FoFo *fo_table_border_fo);

Gets the border-end-width property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-end-width" property value

fo_table_border_fo_get_border_start_color ()

FoProperty*         fo_table_border_fo_get_border_start_color
                                                        (FoFo *fo_table_border_fo);

Gets the border-start-color property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-start-color" property value

fo_table_border_fo_get_border_start_precedence ()

FoProperty*         fo_table_border_fo_get_border_start_precedence
                                                        (FoFo *fo_table_border_fo);

Gets the "border-start-precedence" property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-start-precedence" property value

fo_table_border_fo_get_border_start_style ()

FoProperty*         fo_table_border_fo_get_border_start_style
                                                        (FoFo *fo_table_border_fo);

Gets the border-start-style property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-start-style" property value

fo_table_border_fo_get_border_start_width ()

FoProperty*         fo_table_border_fo_get_border_start_width
                                                        (FoFo *fo_table_border_fo);

Gets the border-start-width property of fo_table_border_fo

fo_table_border_fo :

The FoTableBorderFo object

Returns :

The "border-start-width" property value
xmlroff-0.6.2/docs/html/FoTablePart.html0000644000175000017500000001675711156164733015071 00000000000000 FoTablePart

FoTablePart

FoTablePart

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoTablePart
                                 +----FoTableBody
                                 +----FoTableFooter
                                 +----FoTableHeader

Description

Details

FoTablePart

typedef struct _FoTablePart FoTablePart;


FoTablePartClass

typedef struct _FoTablePartClass FoTablePartClass;


fo_table_part_new ()

FoFo*               fo_table_part_new                   (void);

Creates a new FoTablePart initialized to default value.

Returns :

the new FoTablePart

fo_table_part_update_from_context ()

void                fo_table_part_update_from_context   (FoFo *fo,
                                                         FoContext *context);

Sets the properties of fo to the corresponding property values in context.

fo :

The FoFo object.

context :

The FoContext object from which to update the properties of fo.
xmlroff-0.6.2/docs/html/FoText.html0000644000175000017500000010551011156164733014121 00000000000000 FoText

FoText

FoText

Synopsis

                    FoText;
                    FoTextClass;
FoFo*               fo_text_new                         (void);

void                fo_text_set_color                   (FoFo *fo_fo,
                                                         FoProperty *new_color);
FoProperty*         fo_text_get_color                   (FoFo *fo_fo);
void                fo_text_set_font_family             (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_text_get_font_family             (FoFo *fo_fo);
void                fo_text_set_font_size               (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_text_get_font_size               (FoFo *fo_fo);
void                fo_text_set_font_stretch            (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_text_get_font_stretch            (FoFo *fo_fo);
void                fo_text_set_font_style              (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_text_get_font_style              (FoFo *fo_fo);
void                fo_text_set_font_variant            (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_text_get_font_variant            (FoFo *fo_fo);
void                fo_text_set_font_weight             (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_text_get_font_weight             (FoFo *fo_fo);
void                fo_text_set_score_spaces            (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);
FoProperty*         fo_text_get_score_spaces            (FoFo *fo_fo);
void                fo_text_set_value                   (FoFo *fo_fo,
                                                         const gchar *new_value);
const gchar*        fo_text_get_value                   (FoFo *fo_fo);
gboolean            fo_text_get_whitespace_only         (FoFo *fo_fo);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoText

Implemented Interfaces

FoText implements FoInlineFoIface.

Properties

  "color"                    FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "score-spaces"             FoProperty*           : Read
  "value"                    gchar*                : Read
  "whitespace-only"          gboolean              : Read

Description

Details

FoText

typedef struct _FoText FoText;


FoTextClass

typedef struct _FoTextClass FoTextClass;


fo_text_new ()

FoFo*               fo_text_new                         (void);

Creates a new FoText initialized to default value.

Returns :

the new FoText

fo_text_set_color ()

void                fo_text_set_color                   (FoFo *fo_fo,
                                                         FoProperty *new_color);

Sets the color property of text to new_color

fo_fo :

The FoFo object

new_color :

The new "color" property value

fo_text_get_color ()

FoProperty*         fo_text_get_color                   (FoFo *fo_fo);

Gets the color property of text

fo_fo :

The FoFo object

Returns :

The "color" property value

fo_text_set_font_family ()

void                fo_text_set_font_family             (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the font-family property of text to new_font_family

fo_fo :

The FoFo object

new_font_family :

The new "font-family" property value

fo_text_get_font_family ()

FoProperty*         fo_text_get_font_family             (FoFo *fo_fo);

Gets the font-family property of text

fo_fo :

The FoFo object

Returns :

The "font-family" property value

fo_text_set_font_size ()

void                fo_text_set_font_size               (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the font-size property of text to new_font_size

fo_fo :

The FoFo object

new_font_size :

The new "font-size" property value

fo_text_get_font_size ()

FoProperty*         fo_text_get_font_size               (FoFo *fo_fo);

Gets the font-size property of text

fo_fo :

The FoFo object

Returns :

The "font-size" property value

fo_text_set_font_stretch ()

void                fo_text_set_font_stretch            (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the font-stretch property of text to new_font_stretch

fo_fo :

The FoFo object

new_font_stretch :

The new "font-stretch" property value

fo_text_get_font_stretch ()

FoProperty*         fo_text_get_font_stretch            (FoFo *fo_fo);

Gets the font-stretch property of text

fo_fo :

The FoFo object

Returns :

The "font-stretch" property value

fo_text_set_font_style ()

void                fo_text_set_font_style              (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the font-style property of text to new_font_style

fo_fo :

The FoFo object

new_font_style :

The new "font-style" property value

fo_text_get_font_style ()

FoProperty*         fo_text_get_font_style              (FoFo *fo_fo);

Gets the font-style property of text

fo_fo :

The FoFo object

Returns :

The "font-style" property value

fo_text_set_font_variant ()

void                fo_text_set_font_variant            (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the font-variant property of text to new_font_variant

fo_fo :

The FoFo object

new_font_variant :

The new "font-variant" property value

fo_text_get_font_variant ()

FoProperty*         fo_text_get_font_variant            (FoFo *fo_fo);

Gets the font-variant property of text

fo_fo :

The FoFo object

Returns :

The "font-variant" property value

fo_text_set_font_weight ()

void                fo_text_set_font_weight             (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the font-weight property of text to new_font_weight

fo_fo :

The FoFo object

new_font_weight :

The new "font-weight" property value

fo_text_get_font_weight ()

FoProperty*         fo_text_get_font_weight             (FoFo *fo_fo);

Gets the font-weight property of text

fo_fo :

The FoFo object

Returns :

The "font-weight" property value

fo_text_set_score_spaces ()

void                fo_text_set_score_spaces            (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);

Sets the score-spaces property of text to new_score_spaces

fo_fo :

The FoFo object

new_score_spaces :

The new "score-spaces" property value

fo_text_get_score_spaces ()

FoProperty*         fo_text_get_score_spaces            (FoFo *fo_fo);

Gets the score-spaces property of text

fo_fo :

The FoFo object

Returns :

The "score-spaces" property value

fo_text_set_value ()

void                fo_text_set_value                   (FoFo *fo_fo,
                                                         const gchar *new_value);

Sets the value property of fo_fo to new_value

fo_fo :

The FoText object

new_value :

The new "value" property value

fo_text_get_value ()

const gchar*        fo_text_get_value                   (FoFo *fo_fo);

Gets the "value" property of fo_text

fo_fo :

The FoText object

Returns :

The "value" property value

fo_text_get_whitespace_only ()

gboolean            fo_text_get_whitespace_only         (FoFo *fo_fo);

Gets the "whitespace_only" property of fo_fo

fo_fo :

The FoText object

Returns :

The "whitespace_only" property value

Property Details

The "color" property

  "color"                    FoProperty*           : Read

Color property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "score-spaces" property

  "score-spaces"             FoProperty*           : Read

Score Spaces property.


The "value" property

  "value"                    gchar*                : Read

String value property.

Default value: NULL


The "whitespace-only" property

  "whitespace-only"          gboolean              : Read

Whether or not the text object contains only whitespace characters.

Default value: FALSE

xmlroff-0.6.2/docs/html/FoTree.html0000644000175000017500000004521311156164733014077 00000000000000 FoTree

FoTree

FoTree — Top of the FO tree

Synopsis

                    FoTree;
                    FoTreeClass;
FoFo*               fo_tree_new                         (void);

void                fo_tree_id_add                      (FoFo *tree,
                                                         const gchar *id,
                                                         FoFo *fo);
FoFo*               fo_tree_id_get                      (FoFo *tree,
                                                         const gchar *id);
void                fo_tree_master_name_add             (FoFo *tree,
                                                         const gchar *name,
                                                         FoFo *fo);
FoFo*               fo_tree_master_name_get             (FoFo *tree,
                                                         const gchar *name);
void                fo_tree_page_sequence_master_name_add
                                                        (FoFo *tree,
                                                         const gchar *name,
                                                         FoFo *fo);
FoFo*               fo_tree_page_sequence_master_name_get
                                                        (FoFo *tree,
                                                         const gchar *name);
FoFo*               fo_tree_default_master_get          (FoFo *tree);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoTree

Description

FoTree is above FoRoot (which represents the fo:root formatting object). FoTree is used for aspects such as id-FO mapping that apply to the FO tree as a whole but are outside the definition of XSL formatting objects.

Details

FoTree

typedef struct _FoTree FoTree;


FoTreeClass

typedef struct _FoTreeClass FoTreeClass;


fo_tree_new ()

FoFo*               fo_tree_new                         (void);

Creates a new FoTree initialized to default value.

Returns :

the new FoTree

fo_tree_id_add ()

void                fo_tree_id_add                      (FoFo *tree,
                                                         const gchar *id,
                                                         FoFo *fo);

Adds fo to tree under name.

tree :

FoTree to which to add a FoFo.

id :

Id to use for the FoFo.

fo :

FoFo to add.

fo_tree_id_get ()

FoFo*               fo_tree_id_get                      (FoFo *tree,
                                                         const gchar *id);

Gets the FoFo of tree corresponding to id.

tree :

FoTree for which to get a FoFo.

id :

Id of the FoFo to get.

Returns :

FoFo matching id, or NULL.

fo_tree_master_name_add ()

void                fo_tree_master_name_add             (FoFo *tree,
                                                         const gchar *name,
                                                         FoFo *fo);

Adds fo to tree under name.

tree :

FoTree to which to add a FoPageMaster.

name :

Name to use for the FoPageMaster.

fo :

FoPageMaster to add.

fo_tree_master_name_get ()

FoFo*               fo_tree_master_name_get             (FoFo *tree,
                                                         const gchar *name);

Gets the FoPageMaster of tree corresponding to name.

tree :

FoTree for which to get a FoPageMaster.

name :

Name of the FoPageMaster to get.

Returns :

FoPageMaster matching name, or NULL.

fo_tree_page_sequence_master_name_add ()

void                fo_tree_page_sequence_master_name_add
                                                        (FoFo *tree,
                                                         const gchar *name,
                                                         FoFo *fo);

Adds fo to to tree.

tree :

FoTree for which to add a FoPageSequenceMaster.

name :

Name of the FoPageSequenceMaster.

fo :

FoPageSequenceMaster to add.

fo_tree_page_sequence_master_name_get ()

FoFo*               fo_tree_page_sequence_master_name_get
                                                        (FoFo *tree,
                                                         const gchar *name);

Gets the FoPageSequenceMaster of tree with name matching name.

tree :

FoTree for which to get a named FoPageSequenceMaster.

name :

Name of the FoPageSequenceMaster.

Returns :

FoPageSequenceMaster corresponding to name, or NULL.

fo_tree_default_master_get ()

FoFo*               fo_tree_default_master_get          (FoFo *tree);

Gets the default page master of tree.

tree :

FoTree for which to get the default master.

Returns :

The default page sequence master of fo.
xmlroff-0.6.2/docs/html/FoUnknown.html0000644000175000017500000002032611156164733014635 00000000000000 FoUnknown

FoUnknown

FoUnknown

Synopsis

                    FoUnknown;
                    FoUnknownClass;
FoDatatype*         fo_unknown_new                      (void);
gchar*              fo_unknown_get_value                (FoDatatype *unknown);
void                fo_unknown_set_value                (FoDatatype *unknown,
                                                         const gchar *new_value);

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoUnknown

Properties

  "value"                    gchar*                : Read / Write

Description

Details

FoUnknown

typedef struct _FoUnknown FoUnknown;


FoUnknownClass

typedef struct _FoUnknownClass FoUnknownClass;


fo_unknown_new ()

FoDatatype*         fo_unknown_new                      (void);

Creates a new FoUnknown initialized to default value.

Returns :

the new FoUnknown

fo_unknown_get_value ()

gchar*              fo_unknown_get_value                (FoDatatype *unknown);

unknown :

Returns :


fo_unknown_set_value ()

void                fo_unknown_set_value                (FoDatatype *unknown,
                                                         const gchar *new_value);

unknown :

new_value :

Property Details

The "value" property

  "value"                    gchar*                : Read / Write

Unknown value.

Default value: NULL

xmlroff-0.6.2/docs/html/FoUriSpecification.html0000644000175000017500000001757311156164733016450 00000000000000 FoUriSpecification

FoUriSpecification

FoUriSpecification

Object Hierarchy

  GObject
   +----FoObject
         +----FoDatatype
               +----FoUriSpecification

Properties

  "value"                    gchar*                : Read / Write

Description

Details

FoUriSpecification

typedef struct _FoUriSpecification FoUriSpecification;


FoUriSpecificationClass

typedef struct _FoUriSpecificationClass FoUriSpecificationClass;


fo_uri_specification_new_with_value ()

FoDatatype*         fo_uri_specification_new_with_value (const gchar *new_value);

Creates a new FoUriSpecification initialized to specified value.

new_value :

Value to use.

Returns :

the new FoUriSpecification

fo_uri_specification_get_value ()

gchar*              fo_uri_specification_get_value      (FoDatatype *uri_specification);

uri_specification :

Returns :

Property Details

The "value" property

  "value"                    gchar*                : Read / Write

Uri-specification value.

Default value: NULL

xmlroff-0.6.2/docs/html/FoWrapperBlock.html0000644000175000017500000001647011156164733015576 00000000000000 FoWrapperBlock

FoWrapperBlock

FoWrapperBlock

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoWrapper
                                 +----FoWrapperBlock

Implemented Interfaces

FoWrapperBlock implements FoNeutralIface.

Description

Details

FoWrapperBlock

typedef struct _FoWrapperBlock FoWrapperBlock;


FoWrapperBlockClass

typedef struct _FoWrapperBlockClass FoWrapperBlockClass;


fo_wrapper_block_new ()

FoFo*               fo_wrapper_block_new                (void);

Creates a new FoWrapperBlock initialized to default value.

Returns :

the new FoWrapperBlock

fo_wrapper_block_update_from_context ()

void                fo_wrapper_block_update_from_context
                                                        (FoFo *fo,
                                                         FoContext *context);

fo :

context :

xmlroff-0.6.2/docs/html/FoWrapper.html0000644000175000017500000002275511156164733014626 00000000000000 FoWrapper

FoWrapper

FoWrapper

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoWrapper
                                 +----FoWrapperBlock
                                 +----FoWrapperInline
                                 +----FoWrapperWhitespace

Implemented Interfaces

FoWrapper implements FoNeutralIface.

Properties

  "id"                       FoProperty*           : Read

Description

Details

FoWrapper

typedef struct _FoWrapper FoWrapper;

Instance of the 'wrapper' formatting object.


FoWrapperClass

typedef struct _FoWrapperClass FoWrapperClass;

Class structure for the 'wrapper' formatting object.


fo_wrapper_new ()

FoFo*               fo_wrapper_new                      (void);

Creates a new FoWrapper initialized to default value.

Returns :

the new FoWrapper.

fo_wrapper_set_id ()

void                fo_wrapper_set_id                   (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id.

fo_fo :

The FoFo object.

new_id :

The new "id" property value.

fo_wrapper_get_id ()

FoProperty*         fo_wrapper_get_id                   (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

Property Details

The "id" property

  "id"                       FoProperty*           : Read

Id property.

xmlroff-0.6.2/docs/html/FoWrapperInline.html0000644000175000017500000001437111156164733015760 00000000000000 FoWrapperInline

FoWrapperInline

FoWrapperInline

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoWrapper
                                 +----FoWrapperInline

Implemented Interfaces

FoWrapperInline implements FoInlineFoIface and FoNeutralIface.

Description

Details

FoWrapperInline

typedef struct _FoWrapperInline FoWrapperInline;


FoWrapperInlineClass

typedef struct _FoWrapperInlineClass FoWrapperInlineClass;


fo_wrapper_inline_new ()

FoFo*               fo_wrapper_inline_new               (void);

Creates a new FoWrapperInline initialized to default value.

Returns :

the new FoWrapperInline
xmlroff-0.6.2/docs/html/FoWrapperWhitespace.html0000644000175000017500000001715711156164733016643 00000000000000 FoWrapperWhitespace

FoWrapperWhitespace

FoWrapperWhitespace

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoWrapper
                                 +----FoWrapperWhitespace

Implemented Interfaces

FoWrapperWhitespace implements FoNeutralIface.

Description

Details

FoWrapperWhitespace

typedef struct _FoWrapperWhitespace FoWrapperWhitespace;


FoWrapperWhitespaceClass

typedef struct _FoWrapperWhitespaceClass FoWrapperWhitespaceClass;


fo_wrapper_whitespace_new ()

FoFo*               fo_wrapper_whitespace_new           (void);

Creates a new FoWrapperWhitespace initialized to default value.

Returns :

the new FoWrapperWhitespace

fo_wrapper_whitespace_update_from_context ()

void                fo_wrapper_whitespace_update_from_context
                                                        (FoFo *fo,
                                                         FoContext *context);

fo :

context :

xmlroff-0.6.2/docs/html/generating-source.html0000644000175000017500000001534711156164733016341 00000000000000 Generating Source

Generating Source

Generating Source

Abstract

Generating source code

Generating Source

The stylesheets in the 'codegen' package are used to generate C source and header files from the XML for the XSL 1.0 Recommendation.

The generated files are not guaranteed to be drop-in replacements for the existing xmlroff source code and header files, since many of the xmlroff source code and header files have had manual modifications.

You should use Emacs's ediff or some other diff/merge utility to compare the generated file and the existing version and only change what should be changed.

The exception are the .c and .h files created for a property that has just been added to dump-info.xml: since the property's files didn't exist before, you can just copy the generated files to the xmlroff source code.

Files

The significant files are:

ChangeLog

Change log for the stylesheets, etc.

README

README file

conversion-lib.xsl

Stylesheet with common templates

dump-info.xml

XML file controlling output

fo-all-property-h-dump.xsl

Stylesheet for dumping fo-all-property.h

fo-context-dump.xsl

Stylesheet for dumping fo-context.[ch]

fo-object-dump.xsl

Stylesheet for dumping fo-*.c and fo-*{-private}?.h

fo-property-object-dump.xsl

Stylesheet for dumping fo-property-*.[ch]

Makefile.am

Automake file

xmlroff-property-decl-dump.xsl

Stylesheet for dumping entity declarations for property documentation files

xmlroff-property-ref-dump.xsl

Stylesheet for dumping entity references for property documentation files

Any other XSL files are evolutionary dead ends.

Make targets

make

Makes fo-context.[ch], fo/fo-*.c, fo/fo-*{-private}?.h, and property/fo-property-*.[ch].

make all

As above.

make fo-context-dump

Makes fo-context.[ch].

make fo-object-dump

Makes fo/fo-*.c, fo/fo-*{-private}?.h.

make fo-property-object-dump

Makes property/fo-property-*.[ch].

make fo-all-property-h-dump

Makes property/fo-all-property.h.

make property-entity-decl-dump

Makes xmlroff-property-decl.ent.

make property-entity-ref-dump

Makes xmlroff-property-ref.ent.

xmlroff-0.6.2/docs/html/home.png0000644000175000017500000000121611156164733013456 00000000000000‰PNG  IHDRàw=øbKGDÿÿÿ ½§“ pHYs  ÒÝ~ütIMEÒ1õÚKvIDATxœÕ•±kqÅ?ßrC‡ßàpà ~C„np¼¡CAAJ .B-\'G‡]:Ü “‚ƒCÇ -(ˆ8´à Ô€!…fD°€…çÒ“klbRÛÁoyüxïûîËïwpðIJº<°of_®-@ÒððçRH•´ÏfÖŸtèÂü¤^¯×ÓÚÚš’$Q«ÕÒ|“ôpâ’¶€gív;X^^&Ïs¢(bww—Z­F£ÑÀ9Çææ&Þû3à¶™ Æ’^IRµZUE.0Z]]Uš¦ ÃPY–Mü8óHÒGIÚÙÙÑìììæeŸkqqñÒ€™!ó  $ÛÛÛ¬¯¯3Œn eýþ{-/seeeìÔÃŒãXóóóåO‡Í·$ý8==UÇS™—é½×ÑÑQòRR€¤'ã–9-sÚÛÛ+B^ éC·Û•sîŸÍËÂ+%À°<7³ŸWô˜¿ õâ:™2IEND®B`‚xmlroff-0.6.2/docs/html/index.html0000644000175000017500000014662211156164733014030 00000000000000 xmlroff Reference Manual

Abstract

xmlroff is a fast, free, high-quality, multi-platform XSL formatter that aims to excel at DocBook formatting and that integrates easily with other programs and with scripting languages.

xmlroff lives at http://xmlroff.org. xmlroff is discussed on the xmlroff-list@xmlroff.org mailing list and on the #xmlroff channel at oftc.net.


Users' Guide
xmlroff — XSL formatter
Conformance
Conformance Levels
Stated Conformance
Formatting Objects
Properties
Developers' Guide
Relating XSL to GObjects
FoObject, FoNode
Formatting Object --> FoFo
Formatting Object property --> FoProperty
XSL datatype --> FoDatatype
Other Objects
Rules of the Code
Abbreviations
Compare pointers to NULL
Directory Structure
Directory structure
xmlroff
Anatomy of a Formatting Object header file
Initial comment
Initial housekeeping
GObject typedefs
GObject #defines
GObject functions
Non-property functions
Property functions
Final housekeeping
Anatomy of a Formatting Object C source code file
Abbreviations
Initial comment
#includes
Property enumeration
Static function prototypes
GObject _get_type() function
GObject class initializer
GObject _new()
FoFo _validate_content()
FoFo _validate()
FoFo _update_from_context()
FoFo _debug_dump_properties()
GObject _get() and _set() for properties
Anatomy of a Formatting Object area source code file
Initial comment
#includes
FoFo _area_new2()
Generating Source
Generating Source
Files
Make targets
Debugging xmlroff
Command Line
Using GDB or other debugger
Basic Interface
Overview
Lifecycle
FoLibfoContext
FoDoc and xmlroff Backends
Backends
FoDoc is YAPC (Yet Another PostScript Clone)
Object Hierarchy
FoObject is wonderful
FoObject — libfo base object type
FoNode is wonderful
FoNode — Object for making trees
Interfaces are truly wonderful
FoBlockFoIface
FoInlineFoIface
FoNeutralFoIface
FoPropertyTextPropertyIface
FoPixbuf
FoTableBorderFoIface
Formatting Objects are truly wonderful
FoFo
basic-link
bidi-override
FoBlockBlock
block
block-container
FoBlockLayout
FoBlockWhitespace
FoCharacter
color-profile
conditional-page-master-reference
declarations
external-graphic
float
flow
footnote-body
footnote
initial-property-set
inline
inline-container
instream-foreign-object
layout-master-set
leader
list-block
list-item-body
list-item
list-item-label
marker
fo-marker-parent
multi-case
multi-properties
multi-property-set
multi-switch
multi-toggle
page-number
page-number-citation
page-sequence
page-sequence-master
region-after
region-before
region-body
region-end
region-start
repeatable-page-master-alternatives
repeatable-page-master-reference
fo-retrieve-marker
root — 'root' formatting object
simple-page-master
single-page-master-reference
static-content
table-and-caption
table-body
table
table-caption
table-cell
table-column
table-footer
table-header
FoTablePart
table-row
FoText
title
FoTree — Top of the FO tree
FoWrapperBlock
FoWrapper
FoWrapperInline
FoWrapperInlineEmpty
FoWrapperWhitespace
Properties
FoProperty — Abstract FO property type
alignment-adjust
alignment-baseline
background-color
background-image
baseline-shift
block-progression-dimension
block-progression-dimension.minimum
block-progression-dimension.optimum
block-progression-dimension.maximum
border
border-after-color
border-after-precedence
border-after-style
border-after-width
border-before-color
border-before-precedence
border-before-style
border-before-width
border-bottom
border-bottom-color
border-bottom-style
border-bottom-width
border-collapse
fo-property-border-color
border-end-color
border-end-precedence
border-end-style
border-end-width
border-left
border-left-color
border-left-style
border-left-width — 'border-left-width' property
border-right
border-right-color
border-right-style
border-right-width
border-separation
border-start-color
border-start-precedence
border-start-style
border-start-width
border-style
border-top
border-top-color
border-top-style
border-top-width
border-width
break-after
break-before
character
clip
color
column-number
column-width
content-height
content-type
content-width
direction
display-align
dominant-baseline
end-indent
extent
flow-name
font-family
font-size
font-stretch
font-style
font-variant
font-weight
format
grouping-separator
grouping-size
height
id
inline-progression-dimension
inline-progression-dimension.minimum
inline-progression-dimension.optimum
inline-progression-dimension.maximum
keep-together
keep-together.within-column
keep-together.within-line
keep-together.within-page
keep-with-next
keep-with-next.within-column
keep-with-next.within-line
keep-with-next.within-page
keep-with-previous
keep-with-previous.within-column
keep-with-previous.within-line
keep-with-previous.within-page
letter-value
linefeed-treatment
line-height
line-stacking-strategy
margin
margin-bottom
margin-left
margin-right
margin-top
master-name
master-reference
media-usage — 'media-usage' property
number-columns-repeated
number-columns-spanned
number-rows-spanned
orphans
overflow
padding
padding-after
padding-before
padding-bottom
padding-end
padding-left
padding-right
padding-start
padding-top
page-height
page-width
provisional-distance-between-starts
provisional-label-separation
ref-id
region-name
role
scaling
scaling-method
score-spaces
source-document
space-after
space-after.minimum
space-after.optimum
space-after.maximum
space-after.conditionality
space-after.precedence
space-before
space-before.minimum
space-before.optimum
space-before.maximum
space-before.conditionality
space-before.precedence
space-end
space-end.minimum
space-end.optimum
space-end.maximum
space-end.conditionality
space-end.precedence
space-start
space-start.minimum
space-start.optimum
space-start.maximum
space-start.conditionality
space-start.precedence
span
src
start-indent
table-layout
text-align
text-indent
unicode-bidi
white-space-collapse
white-space-treatment
widows
width
wrap-option
writing-mode
Area Objects
FoArea
FoAreaArea
fo-area-graphic
fo-area-inline
FoAreaLayout
FoAreaListItem
FoAreaNormal
FoAreaPage
FoAreaReference
FoAreaSpanningTableCell
FoAreaTableBody
FoAreaTableCellProxy
FoAreaTableCell
FoAreaTableContinuation
FoAreaTableFooter
FoAreaTableHeader
FoAreaTablePart
FoAreaTableRow
FoAreaTable
FoAreaTree
FoAreaViewportReference
Datatype Objects
FoDatatype
FoBoolean
FoChar
FoColor
FoEnum
FoError
FoExpression
FoId
FoInteger
FoKeep
FoLength
FoLengthBpIpD
FoLengthCond
FoLengthRange
FoName
FoNumber
FoNumeric
FoPcw
FoPercentage
FoSpace
FoString
FoTblr
FoUnknown
FoUriSpecification
FoWsc
Property Context Object
FoContext
Other Objects
FoDoc — Abstract output document type
fo-doc-commands
FoDocCairo — Cairo backend
FoDocGP — GNOME Print backend
FoFontDesc
FoLayout
FoLayoutCairo
fo-layout-gp
fo-libfo-basic
FoLibfoContext — Collected information about the processing context
FoXmlDoc — libxml2 xmlDoc document
FoXmlNode
FoXslFormatter
FoXsltTransformer — libxslt XSLT processor
Utility Objects
FoHashTable
FoImage
Utility Modules
fo-utils
LibFO compatibility stylesheet
Additional Pango attributes needed by LibFO
libfo-version — libfo version checking
xmlroff-0.6.2/docs/html/index.sgml0000644000175000017500000374117011156164734014031 00000000000000 xmlroff-0.6.2/docs/html/interfaces.html0000644000175000017500000000650111156164734015034 00000000000000 Interfaces are truly wonderful xmlroff-0.6.2/docs/html/left.png0000644000175000017500000000071311156164734013462 00000000000000‰PNG  IHDRàw=øbKGDÿÿÿ ½§“ pHYs  ÒÝ~ütIMEÒ1&¹³[(XIDATxœµ•!OÃPEïÛ*ˆ‰ŠID%~ꊯ˜ÄÕ"pæ'öŘ`sÜ–¥rKf–´‚¤â h—mi—ÇIžz}÷ܯIû¤–.pÚö\“`xä‹ ˆl‡?l·[²,H¬‡¯×k<Ï#Žcþ%\’AUx[S³7–n6ù¾¯år¹ßèõzE‰‡’s’žŒ1³ºö“²æÅj@œ—NL$ݤiª0 ¿5/ð}¿²\E‡Ž¤KIo¥Í“$a0üjÞdF£bŠkIê„‹æAh>ŸW¶lC'?“tk;|/t*I»ÝN«ÕÊZø^`Œy•4ë÷ûšN§r]×® çJÒÌó<«’½À“Út»Ýú€à`±Xàºî1@p´ä€¸d½÷ŽZ')høÖÚK¬ ª$V?%Å]€­+³L’sgUKà"ÿw5â3O·•ÜòIEND®B`‚xmlroff-0.6.2/docs/html/node.html0000644000175000017500000000516211156164734013640 00000000000000 FoNode is wonderful

FoNode is wonderful

FoNode — Object for making trees
xmlroff-0.6.2/docs/html/object-hierarchy.html0000644000175000017500000003452711156164734016144 00000000000000 Object Hierarchy

Object Hierarchy

    GObject
        FoObject
            FoNode
                FoArea
                    FoAreaArea
                        FoAreaLayout
                        FoAreaListItem
                        FoAreaNormal
                        FoAreaReference
                            FoAreaViewportReference
                                FoAreaPage
                            FoAreaSpanningTableCell
                            FoAreaTableCell
                            FoAreaTable
                                FoAreaTableContinuation
                        FoAreaTablePart
                            FoAreaTableBody
                            FoAreaTableFooter
                            FoAreaTableHeader
                        FoAreaTableCellProxy
                        FoAreaTableRow
                    FoAreaTree
                FoFo
                    FoMarkerParent
                        FoBasicLink
                        FoBidiOverride
                        FoBlock
                            FoBlockBlock
                            FoBlockLayout
                            FoBlockWhitespace
                        FoBlockContainer
                        FoInlineContainer
                        FoInline
                        FoListBlock
                        FoListItemBody
                        FoListItem
                        FoListItemLabel
                        FoTableAndCaption
                        FoTablePart
                            FoTableBody
                            FoTableFooter
                            FoTableHeader
                        FoTableCaption
                        FoTableCell
                        FoTable
                        FoWrapper
                            FoWrapperBlock
                            FoWrapperInline
                            FoWrapperWhitespace
                    FoCharacter
                    FoColorProfile
                    FoConditionalPageMasterReference
                    FoDeclarations
                    FoExternalGraphic
                    FoFloat
                    FoFlow
                    FoFootnoteBody
                    FoFootnote
                    FoInitialPropertySet
                    FoInstreamForeignObject
                    FoLayoutMasterSet
                    FoLeader
                    FoMarker
                    FoMultiCase
                    FoMultiProperties
                    FoMultiPropertySet
                    FoMultiSwitch
                    FoMultiToggle
                    FoPageNumberCitation
                    FoPageNumber
                    FoPageSequence
                    FoPageSequenceMaster
                    FoRegionAfter
                    FoRegionBefore
                    FoRegionBody
                    FoRegionEnd
                    FoRegionStart
                    FoRepeatablePageMasterAlternatives
                    FoRepeatablePageMasterReference
                    FoRetrieveMarker
                    FoRoot
                    FoSimplePageMaster
                    FoSinglePageMasterReference
                    FoStaticContent
                    FoTableColumn
                    FoTableRow
                    FoText
                    FoTitle
                    FoTree
            FoDatatype
                FoBoolean
                FoChar
                FoColor
                FoEnum
                FoExpression
                FoId
                FoInteger
                FoKeep
                FoLengthBpIpD
                FoLengthCond
                FoLength
                FoLengthRange
                FoName
                FoNumber
                FoNumeric
                FoPercentage
                FoSpace
                FoString
                FoUnknown
                FoUriSpecification
            FoContext
            FoProperty
                FoPropertyBorderLeftWidth
            FoHashTable
    GInterface
        FoInlineFoIface
        FoBlockFoIface
        FoPropertyTextPropertyIface
        FoTableBorderFoIface
xmlroff-0.6.2/docs/html/object.html0000644000175000017500000000523111156164734014156 00000000000000 FoObject is wonderful

FoObject is wonderful

FoObject — libfo base object type
xmlroff-0.6.2/docs/html/other-objects.html0000644000175000017500000001070211156164734015457 00000000000000 Other Objects

Other Objects

FoDoc — Abstract output document type
fo-doc-commands
FoDocCairo — Cairo backend
FoDocGP — GNOME Print backend
FoFontDesc
FoLayout
FoLayoutCairo
fo-layout-gp
fo-libfo-basic
FoLibfoContext — Collected information about the processing context
FoXmlDoc — libxml2 xmlDoc document
FoXmlNode
FoXslFormatter
FoXsltTransformer — libxslt XSLT processor
xmlroff-0.6.2/docs/html/properties.html0000644000175000017500000006200611156164734015107 00000000000000 Properties

Properties

FoProperty — Abstract FO property type
alignment-adjust
alignment-baseline
background-color
background-image
baseline-shift
block-progression-dimension
block-progression-dimension.minimum
block-progression-dimension.optimum
block-progression-dimension.maximum
border
border-after-color
border-after-precedence
border-after-style
border-after-width
border-before-color
border-before-precedence
border-before-style
border-before-width
border-bottom
border-bottom-color
border-bottom-style
border-bottom-width
border-collapse
fo-property-border-color
border-end-color
border-end-precedence
border-end-style
border-end-width
border-left
border-left-color
border-left-style
border-left-width — 'border-left-width' property
border-right
border-right-color
border-right-style
border-right-width
border-separation
border-start-color
border-start-precedence
border-start-style
border-start-width
border-style
border-top
border-top-color
border-top-style
border-top-width
border-width
break-after
break-before
character
clip
color
column-number
column-width
content-height
content-type
content-width
direction
display-align
dominant-baseline
end-indent
extent
flow-name
font-family
font-size
font-stretch
font-style
font-variant
font-weight
format
grouping-separator
grouping-size
height
id
inline-progression-dimension
inline-progression-dimension.minimum
inline-progression-dimension.optimum
inline-progression-dimension.maximum
keep-together
keep-together.within-column
keep-together.within-line
keep-together.within-page
keep-with-next
keep-with-next.within-column
keep-with-next.within-line
keep-with-next.within-page
keep-with-previous
keep-with-previous.within-column
keep-with-previous.within-line
keep-with-previous.within-page
letter-value
linefeed-treatment
line-height
line-stacking-strategy
margin
margin-bottom
margin-left
margin-right
margin-top
master-name
master-reference
media-usage — 'media-usage' property
number-columns-repeated
number-columns-spanned
number-rows-spanned
orphans
overflow
padding
padding-after
padding-before
padding-bottom
padding-end
padding-left
padding-right
padding-start
padding-top
page-height
page-width
provisional-distance-between-starts
provisional-label-separation
ref-id
region-name
role
scaling
scaling-method
score-spaces
source-document
space-after
space-after.minimum
space-after.optimum
space-after.maximum
space-after.conditionality
space-after.precedence
space-before
space-before.minimum
space-before.optimum
space-before.maximum
space-before.conditionality
space-before.precedence
space-end
space-end.minimum
space-end.optimum
space-end.maximum
space-end.conditionality
space-end.precedence
space-start
space-start.minimum
space-start.optimum
space-start.maximum
space-start.conditionality
space-start.precedence
span
src
start-indent
table-layout
text-align
text-indent
unicode-bidi
white-space-collapse
white-space-treatment
widows
width
wrap-option
writing-mode
xmlroff-0.6.2/docs/html/right.png0000644000175000017500000000073011156164734013644 00000000000000‰PNG  IHDRàw=øbKGDÿÿÿ ½§“ pHYs  ÒÝ~ütIMEÒ2 I%Á=eIDATxœ­”!oÂ@†Ÿ.'**M0$ÄÁ$¿?1~¢vIeEuLlÉ&–Ô4‚ä Í¶B»Ý›œ¹|÷>ï—ûî …$ݶ©oc<”´ÑA©¤×€X’ò9²|t$DÞ9nnBäíÈjµò‘BRIsIªë:HîŸ8ŽU…œùëùPÖÚN™1fc­sNÎ95Mã§–ɵ¤ ׿ŸØŒ1~¸pEòe$ïIž°€Ç î7nrDòf!;Ã`¨çÝ'äykíÎI’øáû䲤sI_]ÿÇy—‡‘€ÅÀ^^I>O>Á¡ø­§²š?YBIEND®B`‚xmlroff-0.6.2/docs/html/users.html0000644000175000017500000016274411156164734014066 00000000000000 Users' Guide

Users' Guide

Conformance

Abstract

xmlroff Conformance to XSL 1.0 Recommendation

The XSL Recommendation defines the behaviors of two classes of formatters based on their media type: visual and aural. It further divides the class of visual formatters into interactive media and non-interactive media formatters.

xmlroff is a visual formatter for non-interactive media.

xmlroff implements a range of formatting objects and properties from the Basic, Extended, and Complete conformance levels.

xmlroff does not claim Basic conformance to the XSL Recommendation since it does not yet implement all of the Basic level formatting objects and properties.

xmlroff supports both "lr-tb" and "rl-tb" values of the writing-mode property (and the "lr" and "rl" shorthands).

Conformance Levels

From Section 8, Conformance, of the XSL Recommendation:

This specification defines three levels of conformance, in order of completeness:

Level Description
Basic Includes the set of formatting objects and properties needed to support a minimum level of pagination or aural rendering.
Extended Includes everything else, except for shorthands. It is intended for applications whose goal is to provide sophisticated pagination.
Complete Includes everything.

Conformance to this specification is expressed in terms of conformance to any of the above levels.

An application that claims conformance to a given level of this specification must implement all the formatting objects and properties that apply to it for a given medium.

Conformance for visual and aural XSL formatters is defined separately for each formatting object. For example, implementing fo:page-number is necessary for Basic level conformance for a visual formatter, but only necessary for Extended level conformance for an aural formatter.

In contrast, formatting object properties only have one defined conformance level, but there are also some properties that apply to only one class of formatter. For example, page-height and voice-family are both in the set of properties for Basic level conformance, but page-height applies only to visual media and voice-family applies only to aural media.

Appendix B and Section C.3 of the XSL Recommendation list a proposed fallback treatment for each Extended level formatting object and property. The fallbacks are defined "[i]n order to ensure interoperability." Also, "[c]orrect processing of fallbacks does not constitute conformance."

All formatting objects are assigned to either Basic or Extended level conformance. There are no Complete level formatting objects.

Some formatting objects are specific to Extended level conformant interactive media formatters. Non-interactive media formatters such as xmlroff, however, must, for Extended level conformance, implement the proposed fallback treatment of the Extended level interactive media formatting objects.

Stated Conformance

The stated conformance also has three levels:

Level Description
Yes xmlroff implements the formatting object, property, or fallback behaviour, possibly with some caveats.
No xmlroff does not implement the formatting object, property, or fallback behaviour, but a workaround may also be suggested.
N/A xmlroff does not need to formatting object, property, or fallback behaviour. For example, xmlroff does not implement properties for aural or interactive presentation, and it does not implement fallback behaviour for implemented formatting objects.

Formatting Objects

All the formatting object specified by the XSL 1.0 Recommendation are accepted. Not all are supported, however.

The following tables are based on the tables in Appendix B of the XSL Recommendation. The conformance level and proposed fallback treatment for visual processors are shown along with an indication of whether xmlroff implements the formatting object or the fallback treatment. Conformance level and fallbacks for aural processors are not shown.

Declaration and Pagination and Layout Formatting Objects

Formatting Object Level xmlroff Fallback xmlroff
fo:root Basic Yes - N/A
fo:page-sequence Basic Yes - N/A
fo:page-sequence-master Basic Yes - N/A
fo:single-page-master-reference Basic No - N/A
fo:repeatable-page-master-reference Basic No - N/A
fo:repeatable-page-master-alternatives Extended No Use the page-master referenced in the first fo:conditional-page-master-reference child No
fo:conditional-page-master-reference Extended No Use the page-master referenced in the first fo:conditional-page-master-reference child No
fo:layout-master-set Basic Yes - N/A
fo:simple-page-master Basic Yes - N/A
fo:region-body Basic Yes - N/A
fo:region-before Extended No Include after content of body region is placed No
fo:region-after Extended No Include after content of body region is placed. No
fo:region-start Extended No Include after content of body region is placed No
fo:region-end Extended No Include after content of body region is placed No
fo:declarations Basic Yes - N/A
fo:color-profile Extended No Ignore, use the sRGB fallback of the rgb-icc function No
fo:flow Basic Yes - N/A
fo:static-content Extended No Include after content of body region is placed No
fo:title Extended No Include before content of body region is placed No

Block Formatting Objects

Formatting Object Level xmlroff Fallback xmlroff
fo:block Basic Yes - N/A
fo:block-container Extended No Display indication that content cannot be correctly rendered No

Inline Formatting Objects

Formatting Object Level xmlroff Fallback xmlroff
fo:bidi-override Extended Yes Display indication that content cannot be correctly rendered. N/A
fo:character Basic Yes - N/A
fo:initial-property-set Extended No Ignore any properties specified on this object. Yes
fo:external-graphic Basic Yes. Supported formats determined by underlying graphics library. - N/A
fo:instream-foreign-object Extended No Display an indication that content cannot be correctly rendered. No
fo:inline Basic Yes - N/A
fo:inline-container Extended No Display indication that content cannot be correctly rendered. No
fo:leader Basic No - N/A
fo:page-number Basic No - N/A
fo:page-number-citation Extended No Display an indication that content cannot be correctly rendered. No

Table Formatting Objects

Formatting Object Level xmlroff Fallback xmlroff
fo:table-and-caption Basic No - N/A
fo:table Basic Yes - N/A
fo:table-column Basic Yes - N/A
fo:table-caption Extended No
  • caption-side="start" becomes caption-side="before"

  • caption-side="end" becomes caption-side="after"

  • caption-side="left" becomes caption-side="before"

  • caption-side="right" becomes caption-side="after"

No
fo:table-header Basic No - N/A
fo:table-footer Extended No Place at end of table. Yes
fo:table-body Basic Yes - N/A
fo:table-row Basic Yes - N/A
fo:table-cell Basic Yes - N/A

List Formatting Objects

Formatting Object Level xmlroff Fallback xmlroff
fo:list-block Basic Yes - N/A
fo:list-item Basic Yes - N/A
fo:list-item-body Basic Yes - N/A
fo:list-item-label Extended Yes Labels that break across multiple lines are treated as separate blocks before list-item-body. N/A

Link and Multi Formatting Objects

xmlroff is a non-interactive media formatter. Only the fallback treatment for the interactive media formatting objects will be implemented.

Formatting Object Level xmlroff Fallback xmlroff
fo:basic-link Extended No Promote content to parent formatting object. No
fo:multi-switch Extended. Need not be implemented for extended conformance for non-interactive media No For basic conformance and extended conformance for non-interactive media: utilize the contents of the first eligible multi-case formatting object. No
fo:multi-case Basic Needed as wrapper for fallback for multi-switch No - N/A
fo:multi-toggle Extended. Need not be implemented for extended conformance for non-interactive media No For basic conformance and extended conformance for non-interactive media: promote content to parent formatting object. No
fo:multi-properties Extended. Need not be implemented for extended conformance for non-interactive media No For basic conformance and extended conformance for non-interactive media: promote content to parent formatting object. No
fo:multi-property-set Extended. Need not be implemented for extended conformance for non-interactive media No For basic conformance and extended conformance for non-interactive media: ignore. No

Out-of-line Formatting Objects

Formatting Object Level xmlroff Fallback xmlroff
fo:float Extended No Place inline. No
fo:footnote Extended No Place inline. No
fo:footnote-body Extended No Place inline. No

Other Formatting Objects

Formatting Object Level xmlroff Fallback xmlroff
fo:wrapper Basic Yes - N/A
fo:marker Extended No Ignore. Yes
fo:retrieve-marker Extended No Display indication that content cannot be correctly rendered. No

Properties

Property Values Level xmlroff
absolute-position auto | absolute | fixed | inherit Complete No
active-state link | visited | active | hover | focus Extended N/A
alignment-adjust auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | <percentage> | <length> | inherit Basic Yes
alignment-baseline auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | inherit Basic Yes
auto-restore true | false Extended N/A
azimuth <angle> | [[ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards | inherit Basic N/A
background [<background-color> || <background-image> || <background-repeat> || <background-attachment> || <background-position> ]] | inherit Complete No
background-attachment scroll | fixed | inherit Extended No
background-color <color> | transparent | inherit Basic Yes
background-image <uri-specification> | none | inherit Extended No
background-position [ [<percentage> | <length> ]{1,2} | [ [top | center | bottom] || [left | center | right] ] ] | inherit Complete No
background-position-horizontal <percentage> | <length> | left | center | right | inherit Extended No
background-position-vertical <percentage> | <length> | top | center | bottom | inherit Extended No
background-repeat repeat | repeat-x | repeat-y | no-repeat | inherit Extended No
baseline-shift baseline | sub | super | <percentage> | <length> | inherit Basic Yes
blank-or-not-blank blank | not-blank | any | inherit Extended No
block-progression-dimension auto | <length> | <percentage> | <length-range> | inherit Basic Yes
border [ <border-width> || <border-style> || <color> ] | inherit Complete Yes
border-after-color <color> | inherit Basic Yes
border-after-precedence force | <integer> | inherit Basic No
border-after-style <border-style> | inherit Basic Yes
border-after-width <border-width> | <length-conditional> | inherit Basic Yes
border-before-color <color> | inherit Basic Yes
border-before-precedence force | <integer> | inherit Basic No
border-before-style <border-style> | inherit Basic Yes
border-before-width <border-width> | <length-conditional> | inherit Basic Yes
border-bottom [ <border-width> || <border-style> || <color> ] | inherit Complete Yes
border-bottom-color <color> | inherit Basic Yes
border-bottom-style <border-style> | inherit Basic Yes
border-bottom-width <border-width> | inherit Basic Yes
border-collapse collapse | collapse-with-precedence | separate | inherit Extended No
border-color [ <color> | transparent ]{1,4} | inherit Complete Yes
border-end-color <color> | inherit Basic Yes
border-end-precedence force | <integer> | inherit Basic No
border-end-style <border-style> | inherit Basic Yes
border-end-width <border-width> | <length-conditional> | inherit Basic Yes
border-left [ <border-width> || <border-style> || <color> ] | inherit Complete Yes
border-left-color <color> | inherit Basic Yes
border-left-style <border-style> | inherit Basic Yes
border-left-width <border-width> | inherit Basic Yes
border-right [ <border-width> || <border-style> || <color> ] | inherit Complete Yes
border-right-color <color> | inherit Basic Yes
border-right-style <border-style> | inherit Basic Yes
border-right-width <border-width> | inherit Basic Yes
border-separation <length-bp-ip-direction> | inherit Extended No
border-spacing <length> <length>? | inherit Complete No
border-start-color <color> | inherit Basic Yes
border-start-precedence force | <integer> | inherit Basic No
border-start-style <border-style> | inherit Basic Yes
border-start-width <border-width> | <length-conditional> | inherit Basic Yes
border-style <border-style>{1,4} | inherit Complete Yes
border-top [ <border-width> || <border-style> || <color> ] | inherit Complete Yes
border-top-color <color> | inherit Basic Yes
border-top-style <border-style> | inherit Basic Yes
border-top-width <border-width> | inherit Basic Yes
border-width <border-width>{1,4} | inherit Complete Yes
bottom <length> | <percentage> | auto | inherit Extended No. Use individual properties instead.
break-after auto | column | page | even-page | odd-page | inherit Basic Yes
break-before auto | column | page | even-page | odd-page | inherit Basic Yes
caption-side before | after | start | end | top | bottom | left | right | inherit Complete No
case-name <name> Extended N/A
case-title <string> Extended N/A
character <character> Basic Yes
clear start | end | left | right | both | none | inherit Extended No
clip <shape> | auto | inherit Extended No
color <color> | inherit Basic Yes
color-profile-name <name> | inherit Extended No
column-count <number> | inherit Extended No
column-gap <length> | <percentage> | inherit Extended No
column-number <number> Basic Yes
column-width <length> | <percentage> Basic Yes
content-height auto | scale-to-fit | <length> | <percentage> | inherit Extended No
content-type <string> | auto Extended No. Content type is detected automatically by the image library.
content-width auto | scale-to-fit | <length> | <percentage> | inherit Extended No
country none | <country> | inherit Extended No
cue <cue-before> || <cue-after> | inherit Complete N/A
cue-after <uri-specification> | none | inherit Basic N/A
cue-before <uri-specification> | none | inherit Basic N/A
destination-placement-offset <length> Extended No
direction ltr | rtl | inherit Basic Yes
display-align auto | before | center | after | inherit Extended fo:table-cell only
dominant-baseline auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge | inherit Basic Yes
elevation <angle> | below | level | above | higher | lower | inherit Basic N/A
empty-cells show | hide | inherit Extended No
end-indent <length> | <percentage> | inherit Basic Yes
ends-row true | false Extended No
extent <length> | <percentage> | inherit Extended No
external-destination <uri-specification> Extended No
float before | start | end | left | right | none | inherit Extended No
flow-name <name> Basic Yes
font [ [ <font-style> || <font-variant> || <font-weight> ]? <font-size> [ / <line-height>]? <font-family> ] | caption | icon | menu | message-box | small-caption | status-bar | inherit Complete No. Use individual properties instead.
font-family [[ <family-name> | <generic-family> ],]* [<family-name> | <generic-family>] | inherit Basic Yes
font-selection-strategy auto | character-by-character | inherit Complete No
font-size <absolute-size> | <relative-size> | <length> | <percentage> | inherit Basic Yes
font-size-adjust <number> | none | inherit Extended No
font-stretch normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit Extended Yes
font-style normal | italic | oblique | backslant | inherit Basic Yes
font-variant normal | small-caps | inherit Basic Yes
font-weight normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit Basic Yes
force-page-count auto | even | odd | end-on-even | end-on-odd | no-force | inherit Extended No
format <string> Basic Yes
glyph-orientation-horizontal <angle> | inherit Extended No
glyph-orientation-vertical auto | <angle> | inherit Extended No
grouping-separator <character> Extended Yes
grouping-size <number> Extended Yes
height <length> | <percentage> | auto | inherit Basic Yes
hyphenate false | true | inherit Extended No
hyphenation-character <character> | inherit Extended No
hyphenation-keep auto | column | page | inherit Extended No
hyphenation-ladder-count no-limit | <number> | inherit Extended No
hyphenation-push-character-count <number> | inherit Extended No
hyphenation-remain-character-count <number> | inherit Extended No
id <id> Basic Yes
indicate-destination true | false Extended No
initial-page-number auto | auto-odd | auto-even | <number> | inherit Basic Yes
inline-progression-dimension auto | <length> | <percentage> | <length-range> | inherit Basic Yes
internal-destination empty string | <idref> Extended No
intrusion-displace auto | none | line | indent | block | inherit Extended No
keep-together <keep> | inherit Extended Yes
keep-with-next <keep> | inherit Basic Yes
keep-with-previous <keep> | inherit Basic Yes
language none | <language> | inherit Extended No
last-line-end-indent <length> | <percentage> | inherit Extended No
leader-alignment none | reference-area | page | inherit Extended No
leader-length <length-range> | <percentage> | inherit Basic No
leader-pattern space | rule | dots | use-content | inherit Basic No
leader-pattern-width use-font-metrics | <length> | <percentage> | inherit Extended No
left <length> | <percentage> | auto | inherit Extended No
letter-spacing normal | <length> | <space> | inherit Extended No
letter-value auto | alphabetic | traditional Basic Yes
linefeed-treatment ignore | preserve | treat-as-space | treat-as-zero-width-space | inherit Extended No
line-height normal | <length> | <number> | <percentage> | <space> | inherit Basic Yes
line-height-shift-adjustment consider-shifts | disregard-shifts | inherit Extended No
line-stacking-strategy line-height | font-height | max-height | inherit Basic Yes
margin <margin-width>{1,4} | inherit Complete No. Use individual properties instead.
margin-bottom <margin-width> | inherit Basic Yes
margin-left <margin-width> | inherit Basic Yes
margin-right <margin-width> | inherit Basic Yes
margin-top <margin-width> | inherit Basic Yes
marker-class-name <name> Extended No
master-name <name> Basic Yes
master-reference <name> Basic Yes
max-height <length> | <percentage> | none | inherit Complete No
maximum-repeats <number> | no-limit | inherit Extended No
max-width <length> | <percentage> | none | inherit Complete No
media-usage auto | paginate | bounded-in-one-dimension | unbounded Extended Yes
min-height <length> | <percentage> | inherit Complete No
min-width <length> | <percentage> | inherit Complete No
number-columns-repeated <number> Basic Yes
number-columns-spanned <number> Basic Yes
number-rows-spanned <number> Basic Yes
odd-or-even odd | even | any | inherit Extended No
orphans <integer> | inherit Basic Yes
overflow visible | hidden | scroll | error-if-overflow | auto | inherit Basic No
padding <padding-width>{1,4} | inherit Complete Yes
padding-after <padding-width> | <length-conditional> | inherit Basic Yes
padding-before <padding-width> | <length-conditional> | inherit Basic Yes
padding-bottom <padding-width> | inherit Basic Yes
padding-end <padding-width> | <length-conditional> | inherit Basic Yes
padding-left <padding-width> | inherit Basic Yes
padding-right <padding-width> | inherit Basic Yes
padding-start <padding-width> | <length-conditional> | inherit Basic Yes
padding-top <padding-width> | inherit Basic Yes
page-break-after auto | always | avoid | left | right | inherit Complete No
page-break-before auto | always | avoid | left | right | inherit Complete No
page-break-inside avoid | auto | inherit Complete No
page-height auto | indefinite | <length> | inherit Basic Yes
page-position first | last | rest | any | inherit Extended No
page-width auto | indefinite | <length> | inherit Basic Yes
pause [<time> | <percentage>]{1,2} | inherit Complete N/A
pause-after <time> | <percentage> | inherit Basic N/A
pause-before <time> | <percentage> | inherit Basic N/A
pitch <frequency> | x-low | low | medium | high | x-high | inherit Basic N/A
pitch-range <number> | inherit Basic N/A
play-during <uri-specification> mix? repeat? | auto | none | inherit Basic N/A
position static | relative | absolute | fixed | inherit Complete No
precedence true | false | inherit Extended No
provisional-distance-between-starts <length> | <percentage> | inherit Basic Yes
provisional-label-separation <length> | <percentage> | inherit Basic Yes
reference-orientation 0 | 90 | 180 | 270 | -90 | -180 | -270 | inherit Extended No
ref-id <idref> | inherit Extended No
region-name xsl-region-body | xsl-region-start | xsl-region-end | xsl-region-before | xsl-region-after | xsl-before-float-separator | xsl-footnote-separator | <name> Basic Yes
relative-align before | baseline | inherit Extended No
relative-position static | relative | inherit Extended No
rendering-intent auto | perceptual | relative-colorimetric | saturation | absolute-colorimetric | inherit Extended No
retrieve-boundary page | page-sequence | document Extended No
retrieve-class-name <name> Extended No
retrieve-position first-starting-within-page | first-including-carryover | last-starting-within-page | last-ending-within-page Extended No
richness <number> | inherit Basic N/A
right <length> | <percentage> | auto | inherit Extended No
role <string> | <uri-specification> | none | inherit Basic Yes
rule-style none | dotted | dashed | solid | double | groove | ridge | inherit Basic No
rule-thickness <length> Basic No
scaling uniform | non-uniform | inherit Extended No
scaling-method auto | integer-pixels | resample-any-method | inherit Extended No
score-spaces true | false | inherit Extended No
script none | auto | <script> | inherit Extended No
show-destination replace | new Extended No
size <length>{1,2} | auto | landscape | portrait | inherit Complete No
source-document <uri-specification> [<uri-specification>]* | none | inherit Basic Yes
space-after <space> | inherit Basic Yes
space-before <space> | inherit Basic Yes
space-end <space> | <percentage> | inherit Basic Yes
space-start <space> | <percentage> | inherit Basic Yes
span none | all | inherit Extended No
speak normal | none | spell-out | inherit Basic N/A
speak-header once | always | inherit Basic N/A
speak-numeral digits | continuous | inherit Basic N/A
speak-punctuation code | none | inherit Basic N/A
speech-rate <number> | x-slow | slow | medium | fast | x-fast | faster | slower | inherit Basic N/A
src <uri-specification> | inherit Basic Yes. Only local files are supported at present.
start-indent <length> | <percentage> | inherit Basic Yes
starting-state show | hide Extended No
starts-row true | false Extended No
stress <number> | inherit Basic N/A
suppress-at-line-break auto | suppress | retain | inherit Extended No
switch-to xsl-preceding | xsl-following | xsl-any | <name>[ <name>]* Extended No
table-layout auto | fixed | inherit Extended 'fixed' only
table-omit-footer-at-break true | false Extended No
table-omit-header-at-break true | false Extended No
target-presentation-context use-target-processing-context | <uri-specification> Extended No
target-processing-context document-root | <uri-specification> Extended No
target-stylesheet use-normal-stylesheet | <uri-specification> Extended No
text-align start | center | end | justify | inside | outside | left | right | <string> | inherit Basic Yes
text-align-last relative | start | center | end | justify | inside | outside | left | right | inherit Extended No
text-altitude use-font-metrics | <length> | <percentage> | inherit Extended No
text-decoration none | [ [ underline | no-underline] || [ overline | no-overline ] || [ line-through | no-line-through ] || [ blink | no-blink ] ] | inherit Extended No
text-depth use-font-metrics | <length> | <percentage> | inherit Extended No
text-indent <length> | <percentage> | inherit Basic Yes
text-shadow none | [<color> || <length> <length> <length>? ,]* [<color> || <length> <length> <length>?] | inherit Extended No
text-transform capitalize | uppercase | lowercase | none | inherit Extended No
top <length> | <percentage> | auto | inherit Extended No
treat-as-word-space auto | true | false | inherit Extended No
unicode-bidi normal | embed | bidi-override | inherit Extended Yes
vertical-align baseline | middle | sub | super | text-top | text-bottom | <percentage> | <length> | top | bottom | inherit Complete No
visibility visible | hidden | collapse | inherit Extended No
voice-family [[<specific-voice> | <generic-voice> ],]* [<specific-voice> | <generic-voice> ] | inherit Basic N/A
volume <number> | <percentage> | silent | x-soft | soft | medium | loud | x-loud | inherit Basic N/A
white-space normal | pre | nowrap | inherit Complete No
white-space-collapse false | true | inherit Extended No
white-space-treatment ignore | preserve | ignore-if-before-linefeed | ignore-if-after-linefeed | ignore-if-surrounding-linefeed | inherit Extended No
widows <integer> | inherit Basic Yes
width <length> | <percentage> | auto | inherit Basic No
word-spacing normal | <length> | <space> | inherit Extended No
wrap-option no-wrap | wrap | inherit Basic No
writing-mode lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit Basic Yes
xml:lang <country-language> | inherit Complete No
z-index auto | <integer> | inherit Extended No
xmlroff-0.6.2/docs/html/utility-modules.html0000644000175000017500000000622211156164734016062 00000000000000 Utility Modules xmlroff-0.6.2/docs/html/utility-objects.html0000644000175000017500000000543011156164734016043 00000000000000 Utility Objects

Utility Objects

xmlroff-0.6.2/docs/html/xmlroff.1.html0000644000175000017500000001535411156164734014533 00000000000000 xmlroff

xmlroff

xmlroff — XSL formatter

Synopsis

xmlroff [-o output-file] [--format { auto | pdf | postscript } ] [--backend { gp | cairo } ] [--continue] [ -? | --help ] [ --compat | --nocompat ] [--compat-stylesheet] [ --valid | --novalid ] [ -v | --version ] [-w warning-mode] [-d debug-mode] file [ stylesheet ]

Description

xmlroff is a free, fast and high-quality XSL formatter that is useful for DocBook formatting. It produces PDF or PostScript output. It integrates easily with other programs and with scripting languages.

xmlroff processes the XML-FO file. An arbitrary XML file can optionally be first transformed via a specified XSLT stylesheet.

Options

-v

Show version information.

-?, --help

Show help message.

-o output-file

Specify output filename. If this option is not specified, a default of layout.pdf will be used.

-d debug-mode

Specify debug mode.

-w warning-mode

Specify warning mode.

--format { auto | pdf | postscript }

Specify format of the output file. The default is auto which selects the format based on the extension of the output filename.

--backend { gp | cairo }

Specify backend used to produce the output file. The default is GNOME print (gp).

--compat, --nocompat

Do or do not pre-processes the input file with an internal compatibility stylesheet. Default is --compat.

--compat-stylesheet

Prints the internal compatibility stylesheet then exits.

--continue

Continue after any formatting errors.

--valid, --novalid

Do or do not load the DTD. Default is --novalid.

Reporting Bugs

Report bugs at http://xmlroff.org/newticket.

See Also

xsltproc(1)

Author

Tony Graham

xmlroff-0.6.2/docs/html/xmlroff-Additional-Pango-attributes-needed-by-LibFO.html0000644000175000017500000001622011156164734024444 00000000000000 Additional Pango attributes needed by LibFO

Additional Pango attributes needed by LibFO

Additional Pango attributes needed by LibFO

Synopsis

                    LibfoPangoAttrPointer;
gpointer            libfo_pango_attr_callback_get_callback
                                                        (const PangoAttribute *attr);
PangoAttrType       libfo_pango_attr_callback_get_type  (void);
PangoAttribute*     libfo_pango_attr_callback_new       (gpointer callback);

Description

Details

LibfoPangoAttrPointer

typedef struct {
  PangoAttribute attr;
  gpointer pointer;
} LibfoPangoAttrPointer;


libfo_pango_attr_callback_get_callback ()

gpointer            libfo_pango_attr_callback_get_callback
                                                        (const PangoAttribute *attr);

Get the callback associated with attr.

attr :

The 'callback' attribute.

Returns :

The callback.

libfo_pango_attr_callback_get_type ()

PangoAttrType       libfo_pango_attr_callback_get_type  (void);

Register the 'callback' PangoAttribute type.

Returns :

The new PangoAttrType.

libfo_pango_attr_callback_new ()

PangoAttribute*     libfo_pango_attr_callback_new       (gpointer callback);

Create a new callback attribute.

callback :

the callback

Returns :

the new PangoAttribute.
xmlroff-0.6.2/docs/html/xmlroff-alignment-adjust.html0000644000175000017500000001461611156164734017640 00000000000000 alignment-adjust

alignment-adjust

alignment-adjust

Description

Details

FoPropertyAlignmentAdjust

typedef struct _FoPropertyAlignmentAdjust FoPropertyAlignmentAdjust;


FoPropertyAlignmentAdjustClass

typedef struct _FoPropertyAlignmentAdjustClass FoPropertyAlignmentAdjustClass;


fo_property_alignment_adjust_new ()

FoProperty*         fo_property_alignment_adjust_new    (void);

Creates a new FoPropertyAlignmentAdjust initialized to default value.

Returns :

the new FoPropertyAlignmentAdjust.

fo_property_alignment_adjust_get_initial ()

FoProperty*         fo_property_alignment_adjust_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-alignment-baseline.html0000644000175000017500000001500611156164734020122 00000000000000 alignment-baseline

alignment-baseline

alignment-baseline

Description

Details

FoPropertyAlignmentBaseline

typedef struct _FoPropertyAlignmentBaseline FoPropertyAlignmentBaseline;


FoPropertyAlignmentBaselineClass

typedef struct _FoPropertyAlignmentBaselineClass FoPropertyAlignmentBaselineClass;


fo_property_alignment_baseline_new ()

FoProperty*         fo_property_alignment_baseline_new  (void);

Creates a new FoPropertyAlignmentBaseline initialized to default value.

Returns :

the new FoPropertyAlignmentBaseline.

fo_property_alignment_baseline_get_initial ()

FoProperty*         fo_property_alignment_baseline_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-background-color.html0000644000175000017500000001466011156164734017624 00000000000000 background-color

background-color

background-color

Description

Details

FoPropertyBackgroundColor

typedef struct _FoPropertyBackgroundColor FoPropertyBackgroundColor;


FoPropertyBackgroundColorClass

typedef struct _FoPropertyBackgroundColorClass FoPropertyBackgroundColorClass;


fo_property_background_color_new ()

FoProperty*         fo_property_background_color_new    (void);

Creates a new FoPropertyBackgroundColor initialized to default value.

Returns :

the new FoPropertyBackgroundColor.

fo_property_background_color_get_initial ()

FoProperty*         fo_property_background_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-background-image.html0000644000175000017500000001464411156164734017572 00000000000000 background-image

background-image

background-image

Description

Details

FoPropertyBackgroundImage

typedef struct _FoPropertyBackgroundImage FoPropertyBackgroundImage;


FoPropertyBackgroundImageClass

typedef struct _FoPropertyBackgroundImageClass FoPropertyBackgroundImageClass;


fo_property_background_image_new ()

FoProperty*         fo_property_background_image_new    (void);

Creates a new FoPropertyBackgroundImage initialized to default value.

Returns :

the new FoPropertyBackgroundImage.

fo_property_background_image_get_initial ()

FoProperty*         fo_property_background_image_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-baseline-shift.html0000644000175000017500000001455711156164734017273 00000000000000 baseline-shift

baseline-shift

baseline-shift

Description

Details

FoPropertyBaselineShift

typedef struct _FoPropertyBaselineShift FoPropertyBaselineShift;


FoPropertyBaselineShiftClass

typedef struct _FoPropertyBaselineShiftClass FoPropertyBaselineShiftClass;


fo_property_baseline_shift_new ()

FoProperty*         fo_property_baseline_shift_new      (void);

Creates a new FoPropertyBaselineShift initialized to default value.

Returns :

the new FoPropertyBaselineShift.

fo_property_baseline_shift_get_initial ()

FoProperty*         fo_property_baseline_shift_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-basic-link.html0000644000175000017500000060521311156164734016405 00000000000000 basic-link

basic-link

basic-link

Synopsis

                    FoBasicLink;
                    FoBasicLinkClass;
FoFo*               fo_basic_link_new                   (void);

FoProperty*         fo_basic_link_get_alignment_adjust  (FoFo *fo_fo);
void                fo_basic_link_set_alignment_adjust  (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_basic_link_get_alignment_baseline
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_basic_link_get_background_color  (FoFo *fo_fo);
void                fo_basic_link_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_basic_link_get_background_image  (FoFo *fo_fo);
void                fo_basic_link_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_basic_link_get_baseline_shift    (FoFo *fo_fo);
void                fo_basic_link_set_baseline_shift    (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_basic_link_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_basic_link_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_basic_link_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_basic_link_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_basic_link_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_basic_link_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_basic_link_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_basic_link_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_basic_link_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_basic_link_get_border_end_color  (FoFo *fo_fo);
void                fo_basic_link_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_basic_link_get_border_end_style  (FoFo *fo_fo);
void                fo_basic_link_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_basic_link_get_border_end_width  (FoFo *fo_fo);
void                fo_basic_link_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_basic_link_get_border_left_color (FoFo *fo_fo);
void                fo_basic_link_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_basic_link_get_border_left_style (FoFo *fo_fo);
void                fo_basic_link_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_basic_link_get_border_left_width (FoFo *fo_fo);
void                fo_basic_link_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_basic_link_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_basic_link_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_basic_link_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_basic_link_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_basic_link_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_basic_link_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_basic_link_get_border_top_color  (FoFo *fo_fo);
void                fo_basic_link_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_basic_link_get_border_top_style  (FoFo *fo_fo);
void                fo_basic_link_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_basic_link_get_border_top_width  (FoFo *fo_fo);
void                fo_basic_link_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_basic_link_get_dominant_baseline (FoFo *fo_fo);
void                fo_basic_link_set_dominant_baseline (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_basic_link_get_id                (FoFo *fo_fo);
void                fo_basic_link_set_id                (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_basic_link_get_keep_together     (FoFo *fo_fo);
void                fo_basic_link_set_keep_together     (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_basic_link_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_basic_link_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_basic_link_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_basic_link_get_keep_with_next    (FoFo *fo_fo);
void                fo_basic_link_set_keep_with_next    (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_basic_link_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_basic_link_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_basic_link_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_basic_link_get_keep_with_previous
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_basic_link_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_basic_link_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_basic_link_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_basic_link_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_basic_link_get_line_height       (FoFo *fo_fo);
void                fo_basic_link_set_line_height       (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_basic_link_get_padding_after     (FoFo *fo_fo);
void                fo_basic_link_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_basic_link_get_padding_before    (FoFo *fo_fo);
void                fo_basic_link_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_basic_link_get_padding_bottom    (FoFo *fo_fo);
void                fo_basic_link_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_basic_link_get_padding_end       (FoFo *fo_fo);
void                fo_basic_link_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_basic_link_get_padding_left      (FoFo *fo_fo);
void                fo_basic_link_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_basic_link_get_padding_right     (FoFo *fo_fo);
void                fo_basic_link_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_basic_link_get_padding_start     (FoFo *fo_fo);
void                fo_basic_link_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_basic_link_get_padding_top       (FoFo *fo_fo);
void                fo_basic_link_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_basic_link_get_role              (FoFo *fo_fo);
void                fo_basic_link_set_role              (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_basic_link_get_source_document   (FoFo *fo_fo);
void                fo_basic_link_set_source_document   (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_basic_link_get_space_end         (FoFo *fo_fo);
void                fo_basic_link_set_space_end         (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_basic_link_get_space_start       (FoFo *fo_fo);
void                fo_basic_link_set_space_start       (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoBasicLink

Implemented Interfaces

FoBasicLink implements FoInlineFoIface.

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "baseline-shift"           FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read

Description

Details

FoBasicLink

typedef struct _FoBasicLink FoBasicLink;


FoBasicLinkClass

typedef struct _FoBasicLinkClass FoBasicLinkClass;


fo_basic_link_new ()

FoFo*               fo_basic_link_new                   (void);

Creates a new FoBasicLink initialized to default value.

Returns :

the new FoBasicLink.

fo_basic_link_get_alignment_adjust ()

FoProperty*         fo_basic_link_get_alignment_adjust  (FoFo *fo_fo);

Gets the "alignment-adjust" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-adjust" property value

fo_basic_link_set_alignment_adjust ()

void                fo_basic_link_set_alignment_adjust  (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust

fo_fo :

The FoFo object

new_alignment_adjust :

The new "alignment-adjust" property value

fo_basic_link_get_alignment_baseline ()

FoProperty*         fo_basic_link_get_alignment_baseline
                                                        (FoFo *fo_fo);

Gets the "alignment-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-baseline" property value

fo_basic_link_set_alignment_baseline ()

void                fo_basic_link_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline

fo_fo :

The FoFo object

new_alignment_baseline :

The new "alignment-baseline" property value

fo_basic_link_get_background_color ()

FoProperty*         fo_basic_link_get_background_color  (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_basic_link_set_background_color ()

void                fo_basic_link_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_basic_link_get_background_image ()

FoProperty*         fo_basic_link_get_background_image  (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_basic_link_set_background_image ()

void                fo_basic_link_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_basic_link_get_baseline_shift ()

FoProperty*         fo_basic_link_get_baseline_shift    (FoFo *fo_fo);

Gets the "baseline-shift" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "baseline-shift" property value

fo_basic_link_set_baseline_shift ()

void                fo_basic_link_set_baseline_shift    (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_fo to new_baseline_shift

fo_fo :

The FoFo object

new_baseline_shift :

The new "baseline-shift" property value

fo_basic_link_get_border_after_color ()

FoProperty*         fo_basic_link_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_basic_link_set_border_after_color ()

void                fo_basic_link_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_basic_link_get_border_after_style ()

FoProperty*         fo_basic_link_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_basic_link_set_border_after_style ()

void                fo_basic_link_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_basic_link_get_border_after_width ()

FoProperty*         fo_basic_link_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_basic_link_set_border_after_width ()

void                fo_basic_link_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_basic_link_get_border_before_color ()

FoProperty*         fo_basic_link_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_basic_link_set_border_before_color ()

void                fo_basic_link_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_basic_link_get_border_before_style ()

FoProperty*         fo_basic_link_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_basic_link_set_border_before_style ()

void                fo_basic_link_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_basic_link_get_border_before_width ()

FoProperty*         fo_basic_link_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_basic_link_set_border_before_width ()

void                fo_basic_link_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_basic_link_get_border_bottom_color ()

FoProperty*         fo_basic_link_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_basic_link_set_border_bottom_color ()

void                fo_basic_link_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_basic_link_get_border_bottom_style ()

FoProperty*         fo_basic_link_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_basic_link_set_border_bottom_style ()

void                fo_basic_link_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_basic_link_get_border_bottom_width ()

FoProperty*         fo_basic_link_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_basic_link_set_border_bottom_width ()

void                fo_basic_link_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_basic_link_get_border_end_color ()

FoProperty*         fo_basic_link_get_border_end_color  (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_basic_link_set_border_end_color ()

void                fo_basic_link_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_basic_link_get_border_end_style ()

FoProperty*         fo_basic_link_get_border_end_style  (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_basic_link_set_border_end_style ()

void                fo_basic_link_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_basic_link_get_border_end_width ()

FoProperty*         fo_basic_link_get_border_end_width  (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_basic_link_set_border_end_width ()

void                fo_basic_link_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_basic_link_get_border_left_color ()

FoProperty*         fo_basic_link_get_border_left_color (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_basic_link_set_border_left_color ()

void                fo_basic_link_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_basic_link_get_border_left_style ()

FoProperty*         fo_basic_link_get_border_left_style (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_basic_link_set_border_left_style ()

void                fo_basic_link_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_basic_link_get_border_left_width ()

FoProperty*         fo_basic_link_get_border_left_width (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_basic_link_set_border_left_width ()

void                fo_basic_link_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_basic_link_get_border_right_color ()

FoProperty*         fo_basic_link_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_basic_link_set_border_right_color ()

void                fo_basic_link_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_basic_link_get_border_right_style ()

FoProperty*         fo_basic_link_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_basic_link_set_border_right_style ()

void                fo_basic_link_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_basic_link_get_border_right_width ()

FoProperty*         fo_basic_link_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_basic_link_set_border_right_width ()

void                fo_basic_link_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_basic_link_get_border_start_color ()

FoProperty*         fo_basic_link_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_basic_link_set_border_start_color ()

void                fo_basic_link_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_basic_link_get_border_start_style ()

FoProperty*         fo_basic_link_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_basic_link_set_border_start_style ()

void                fo_basic_link_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_basic_link_get_border_start_width ()

FoProperty*         fo_basic_link_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_basic_link_set_border_start_width ()

void                fo_basic_link_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_basic_link_get_border_top_color ()

FoProperty*         fo_basic_link_get_border_top_color  (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_basic_link_set_border_top_color ()

void                fo_basic_link_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_basic_link_get_border_top_style ()

FoProperty*         fo_basic_link_get_border_top_style  (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_basic_link_set_border_top_style ()

void                fo_basic_link_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_basic_link_get_border_top_width ()

FoProperty*         fo_basic_link_get_border_top_width  (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_basic_link_set_border_top_width ()

void                fo_basic_link_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_basic_link_get_dominant_baseline ()

FoProperty*         fo_basic_link_get_dominant_baseline (FoFo *fo_fo);

Gets the "dominant-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "dominant-baseline" property value

fo_basic_link_set_dominant_baseline ()

void                fo_basic_link_set_dominant_baseline (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline

fo_fo :

The FoFo object

new_dominant_baseline :

The new "dominant-baseline" property value

fo_basic_link_get_id ()

FoProperty*         fo_basic_link_get_id                (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_basic_link_set_id ()

void                fo_basic_link_set_id                (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_basic_link_get_keep_together ()

FoProperty*         fo_basic_link_get_keep_together     (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_basic_link_set_keep_together ()

void                fo_basic_link_set_keep_together     (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_basic_link_get_keep_together_within_column ()

FoProperty*         fo_basic_link_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_basic_link_set_keep_together_within_column ()

void                fo_basic_link_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_basic_link_get_keep_together_within_line ()

FoProperty*         fo_basic_link_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_basic_link_set_keep_together_within_line ()

void                fo_basic_link_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_basic_link_get_keep_together_within_page ()

FoProperty*         fo_basic_link_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_basic_link_set_keep_together_within_page ()

void                fo_basic_link_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_basic_link_get_keep_with_next ()

FoProperty*         fo_basic_link_get_keep_with_next    (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_basic_link_set_keep_with_next ()

void                fo_basic_link_set_keep_with_next    (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_basic_link_get_keep_with_next_within_column ()

FoProperty*         fo_basic_link_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_basic_link_set_keep_with_next_within_column ()

void                fo_basic_link_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_basic_link_get_keep_with_next_within_line ()

FoProperty*         fo_basic_link_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_basic_link_set_keep_with_next_within_line ()

void                fo_basic_link_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_basic_link_get_keep_with_next_within_page ()

FoProperty*         fo_basic_link_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_basic_link_set_keep_with_next_within_page ()

void                fo_basic_link_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_basic_link_get_keep_with_previous ()

FoProperty*         fo_basic_link_get_keep_with_previous
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_basic_link_set_keep_with_previous ()

void                fo_basic_link_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_basic_link_get_keep_with_previous_within_column ()

FoProperty*         fo_basic_link_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_basic_link_set_keep_with_previous_within_column ()

void                fo_basic_link_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_basic_link_get_keep_with_previous_within_line ()

FoProperty*         fo_basic_link_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_basic_link_set_keep_with_previous_within_line ()

void                fo_basic_link_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_basic_link_get_keep_with_previous_within_page ()

FoProperty*         fo_basic_link_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_basic_link_set_keep_with_previous_within_page ()

void                fo_basic_link_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_basic_link_get_line_height ()

FoProperty*         fo_basic_link_get_line_height       (FoFo *fo_fo);

Gets the "line-height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "line-height" property value

fo_basic_link_set_line_height ()

void                fo_basic_link_set_line_height       (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height

fo_fo :

The FoFo object

new_line_height :

The new "line-height" property value

fo_basic_link_get_padding_after ()

FoProperty*         fo_basic_link_get_padding_after     (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_basic_link_set_padding_after ()

void                fo_basic_link_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_basic_link_get_padding_before ()

FoProperty*         fo_basic_link_get_padding_before    (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_basic_link_set_padding_before ()

void                fo_basic_link_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_basic_link_get_padding_bottom ()

FoProperty*         fo_basic_link_get_padding_bottom    (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_basic_link_set_padding_bottom ()

void                fo_basic_link_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_basic_link_get_padding_end ()

FoProperty*         fo_basic_link_get_padding_end       (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_basic_link_set_padding_end ()

void                fo_basic_link_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_basic_link_get_padding_left ()

FoProperty*         fo_basic_link_get_padding_left      (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_basic_link_set_padding_left ()

void                fo_basic_link_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_basic_link_get_padding_right ()

FoProperty*         fo_basic_link_get_padding_right     (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_basic_link_set_padding_right ()

void                fo_basic_link_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_basic_link_get_padding_start ()

FoProperty*         fo_basic_link_get_padding_start     (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_basic_link_set_padding_start ()

void                fo_basic_link_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_basic_link_get_padding_top ()

FoProperty*         fo_basic_link_get_padding_top       (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_basic_link_set_padding_top ()

void                fo_basic_link_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_basic_link_get_role ()

FoProperty*         fo_basic_link_get_role              (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_basic_link_set_role ()

void                fo_basic_link_set_role              (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_basic_link_get_source_document ()

FoProperty*         fo_basic_link_get_source_document   (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_basic_link_set_source_document ()

void                fo_basic_link_set_source_document   (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_basic_link_get_space_end ()

FoProperty*         fo_basic_link_get_space_end         (FoFo *fo_fo);

Gets the "space-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-end" property value

fo_basic_link_set_space_end ()

void                fo_basic_link_set_space_end         (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end

fo_fo :

The FoFo object

new_space_end :

The new "space-end" property value

fo_basic_link_get_space_start ()

FoProperty*         fo_basic_link_get_space_start       (FoFo *fo_fo);

Gets the "space-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-start" property value

fo_basic_link_set_space_start ()

void                fo_basic_link_set_space_start       (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start

fo_fo :

The FoFo object

new_space_start :

The new "space-start" property value

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.

xmlroff-0.6.2/docs/html/xmlroff-bidi-override.html0000644000175000017500000013072511156164734017116 00000000000000 bidi-override

bidi-override

bidi-override

Synopsis

                    FoBidiOverride;
                    FoBidiOverrideClass;
FoFo*               fo_bidi_override_new                (void);

void                fo_bidi_override_set_color          (FoFo *fo_fo,
                                                         FoProperty *new_color);
FoProperty*         fo_bidi_override_get_color          (FoFo *fo_fo);
void                fo_bidi_override_set_direction      (FoFo *fo_fo,
                                                         FoProperty *new_direction);
FoProperty*         fo_bidi_override_get_direction      (FoFo *fo_fo);
void                fo_bidi_override_set_font_family    (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_bidi_override_get_font_family    (FoFo *fo_fo);
void                fo_bidi_override_set_font_size      (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_bidi_override_get_font_size      (FoFo *fo_fo);
void                fo_bidi_override_set_font_stretch   (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_bidi_override_get_font_stretch   (FoFo *fo_fo);
void                fo_bidi_override_set_font_style     (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_bidi_override_get_font_style     (FoFo *fo_fo);
void                fo_bidi_override_set_font_variant   (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_bidi_override_get_font_variant   (FoFo *fo_fo);
void                fo_bidi_override_set_font_weight    (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_bidi_override_get_font_weight    (FoFo *fo_fo);
void                fo_bidi_override_set_id             (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_bidi_override_get_id             (FoFo *fo_fo);
void                fo_bidi_override_set_line_height    (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_bidi_override_get_line_height    (FoFo *fo_fo);
void                fo_bidi_override_set_score_spaces   (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);
FoProperty*         fo_bidi_override_get_score_spaces   (FoFo *fo_fo);
void                fo_bidi_override_set_unicode_bidi   (FoFo *fo_fo,
                                                         FoProperty *new_unicode_bidi);
FoProperty*         fo_bidi_override_get_unicode_bidi   (FoFo *fo_fo);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoBidiOverride

Implemented Interfaces

FoBidiOverride implements FoInlineFoIface.

Description

Details

FoBidiOverride

typedef struct _FoBidiOverride FoBidiOverride;


FoBidiOverrideClass

typedef struct _FoBidiOverrideClass FoBidiOverrideClass;


fo_bidi_override_new ()

FoFo*               fo_bidi_override_new                (void);

Creates a new FoBidiOverride initialized to default value.

Returns :

the new FoBidiOverride

fo_bidi_override_set_color ()

void                fo_bidi_override_set_color          (FoFo *fo_fo,
                                                         FoProperty *new_color);

Sets the color property of bidi_override to new_color

fo_fo :

The FoFo object

new_color :

The new "color" property value

fo_bidi_override_get_color ()

FoProperty*         fo_bidi_override_get_color          (FoFo *fo_fo);

Gets the color property of bidi_override

fo_fo :

The FoFo object

Returns :

The "color" property value

fo_bidi_override_set_direction ()

void                fo_bidi_override_set_direction      (FoFo *fo_fo,
                                                         FoProperty *new_direction);

Sets the direction property of bidi_override to new_direction

fo_fo :

The FoFo object

new_direction :

The new "direction" property value

fo_bidi_override_get_direction ()

FoProperty*         fo_bidi_override_get_direction      (FoFo *fo_fo);

Gets the direction property of bidi_override

fo_fo :

The FoFo object

Returns :

The "direction" property value

fo_bidi_override_set_font_family ()

void                fo_bidi_override_set_font_family    (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the font-family property of bidi_override to new_font_family

fo_fo :

The FoFo object

new_font_family :

The new "font-family" property value

fo_bidi_override_get_font_family ()

FoProperty*         fo_bidi_override_get_font_family    (FoFo *fo_fo);

Gets the font-family property of bidi_override

fo_fo :

The FoFo object

Returns :

The "font-family" property value

fo_bidi_override_set_font_size ()

void                fo_bidi_override_set_font_size      (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the font-size property of bidi_override to new_font_size

fo_fo :

The FoFo object

new_font_size :

The new "font-size" property value

fo_bidi_override_get_font_size ()

FoProperty*         fo_bidi_override_get_font_size      (FoFo *fo_fo);

Gets the font-size property of bidi_override

fo_fo :

The FoFo object

Returns :

The "font-size" property value

fo_bidi_override_set_font_stretch ()

void                fo_bidi_override_set_font_stretch   (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the font-stretch property of bidi_override to new_font_stretch

fo_fo :

The FoFo object

new_font_stretch :

The new "font-stretch" property value

fo_bidi_override_get_font_stretch ()

FoProperty*         fo_bidi_override_get_font_stretch   (FoFo *fo_fo);

Gets the font-stretch property of bidi_override

fo_fo :

The FoFo object

Returns :

The "font-stretch" property value

fo_bidi_override_set_font_style ()

void                fo_bidi_override_set_font_style     (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the font-style property of bidi_override to new_font_style

fo_fo :

The FoFo object

new_font_style :

The new "font-style" property value

fo_bidi_override_get_font_style ()

FoProperty*         fo_bidi_override_get_font_style     (FoFo *fo_fo);

Gets the font-style property of bidi_override

fo_fo :

The FoFo object

Returns :

The "font-style" property value

fo_bidi_override_set_font_variant ()

void                fo_bidi_override_set_font_variant   (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the font-variant property of bidi_override to new_font_variant

fo_fo :

The FoFo object

new_font_variant :

The new "font-variant" property value

fo_bidi_override_get_font_variant ()

FoProperty*         fo_bidi_override_get_font_variant   (FoFo *fo_fo);

Gets the font-variant property of bidi_override

fo_fo :

The FoFo object

Returns :

The "font-variant" property value

fo_bidi_override_set_font_weight ()

void                fo_bidi_override_set_font_weight    (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the font-weight property of bidi_override to new_font_weight

fo_fo :

The FoFo object

new_font_weight :

The new "font-weight" property value

fo_bidi_override_get_font_weight ()

FoProperty*         fo_bidi_override_get_font_weight    (FoFo *fo_fo);

Gets the font-weight property of bidi_override

fo_fo :

The FoFo object

Returns :

The "font-weight" property value

fo_bidi_override_set_id ()

void                fo_bidi_override_set_id             (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the id property of bidi_override to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_bidi_override_get_id ()

FoProperty*         fo_bidi_override_get_id             (FoFo *fo_fo);

Gets the id property of bidi_override

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_bidi_override_set_line_height ()

void                fo_bidi_override_set_line_height    (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the line-height property of bidi_override to new_line_height

fo_fo :

The FoFo object

new_line_height :

The new "line-height" property value

fo_bidi_override_get_line_height ()

FoProperty*         fo_bidi_override_get_line_height    (FoFo *fo_fo);

Gets the line-height property of bidi_override

fo_fo :

The FoFo object

Returns :

The "line-height" property value

fo_bidi_override_set_score_spaces ()

void                fo_bidi_override_set_score_spaces   (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);

Sets the score-spaces property of bidi_override to new_score_spaces

fo_fo :

The FoFo object

new_score_spaces :

The new "score-spaces" property value

fo_bidi_override_get_score_spaces ()

FoProperty*         fo_bidi_override_get_score_spaces   (FoFo *fo_fo);

Gets the score-spaces property of bidi_override

fo_fo :

The FoFo object

Returns :

The "score-spaces" property value

fo_bidi_override_set_unicode_bidi ()

void                fo_bidi_override_set_unicode_bidi   (FoFo *fo_fo,
                                                         FoProperty *new_unicode_bidi);

Sets the unicode-bidi property of bidi_override to new_unicode_bidi

fo_fo :

The FoFo object

new_unicode_bidi :

The new "unicode-bidi" property value

fo_bidi_override_get_unicode_bidi ()

FoProperty*         fo_bidi_override_get_unicode_bidi   (FoFo *fo_fo);

Gets the unicode-bidi property of bidi_override

fo_fo :

The FoFo object

Returns :

The "unicode-bidi" property value

Property Details

The "color" property

  "color"                    FoProperty*           : Read

Color property.


The "direction" property

  "direction"                FoProperty*           : Read

Direction property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "score-spaces" property

  "score-spaces"             FoProperty*           : Read

Score Spaces property.


The "unicode-bidi" property

  "unicode-bidi"             FoProperty*           : Read

Unicode Bidi property.

xmlroff-0.6.2/docs/html/xmlroff-block-container.html0000644000175000017500000073023211156164734017443 00000000000000 block-container

block-container

block-container

Synopsis

                    FoBlockContainer;
                    FoBlockContainerClass;
FoFo*               fo_block_container_new              (void);

FoProperty*         fo_block_container_get_background_color
                                                        (FoFo *fo_fo);
void                fo_block_container_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_block_container_get_background_image
                                                        (FoFo *fo_fo);
void                fo_block_container_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_block_container_get_block_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_block_container_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_block_container_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_block_container_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_block_container_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_block_container_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_block_container_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_block_container_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_block_container_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_block_container_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_block_container_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_block_container_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_block_container_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_block_container_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_block_container_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_block_container_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_block_container_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_block_container_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_block_container_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_block_container_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_block_container_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_block_container_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_block_container_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_block_container_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_block_container_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_block_container_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_block_container_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_block_container_get_break_after  (FoFo *fo_fo);
void                fo_block_container_set_break_after  (FoFo *fo_fo,
                                                         FoProperty *new_break_after);
FoProperty*         fo_block_container_get_break_before (FoFo *fo_fo);
void                fo_block_container_set_break_before (FoFo *fo_fo,
                                                         FoProperty *new_break_before);
FoProperty*         fo_block_container_get_clip         (FoFo *fo_fo);
void                fo_block_container_set_clip         (FoFo *fo_fo,
                                                         FoProperty *new_clip);
FoProperty*         fo_block_container_get_display_align
                                                        (FoFo *fo_fo);
void                fo_block_container_set_display_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_block_container_get_end_indent   (FoFo *fo_fo);
void                fo_block_container_set_end_indent   (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);
FoProperty*         fo_block_container_get_height       (FoFo *fo_fo);
void                fo_block_container_set_height       (FoFo *fo_fo,
                                                         FoProperty *new_height);
FoProperty*         fo_block_container_get_id           (FoFo *fo_fo);
void                fo_block_container_set_id           (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_block_container_get_inline_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_block_container_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);
FoProperty*         fo_block_container_get_keep_together
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_together
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_block_container_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_block_container_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_block_container_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_block_container_get_keep_with_next
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_block_container_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_block_container_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_block_container_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_block_container_get_keep_with_previous
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_block_container_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_block_container_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_block_container_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_block_container_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_block_container_get_margin_bottom
                                                        (FoFo *fo_fo);
void                fo_block_container_set_margin_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);
FoProperty*         fo_block_container_get_margin_left  (FoFo *fo_fo);
void                fo_block_container_set_margin_left  (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);
FoProperty*         fo_block_container_get_margin_right (FoFo *fo_fo);
void                fo_block_container_set_margin_right (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);
FoProperty*         fo_block_container_get_margin_top   (FoFo *fo_fo);
void                fo_block_container_set_margin_top   (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);
FoProperty*         fo_block_container_get_overflow     (FoFo *fo_fo);
void                fo_block_container_set_overflow     (FoFo *fo_fo,
                                                         FoProperty *new_overflow);
FoProperty*         fo_block_container_get_padding_after
                                                        (FoFo *fo_fo);
void                fo_block_container_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_block_container_get_padding_before
                                                        (FoFo *fo_fo);
void                fo_block_container_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_block_container_get_padding_bottom
                                                        (FoFo *fo_fo);
void                fo_block_container_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_block_container_get_padding_end  (FoFo *fo_fo);
void                fo_block_container_set_padding_end  (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_block_container_get_padding_left (FoFo *fo_fo);
void                fo_block_container_set_padding_left (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_block_container_get_padding_right
                                                        (FoFo *fo_fo);
void                fo_block_container_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_block_container_get_padding_start
                                                        (FoFo *fo_fo);
void                fo_block_container_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_block_container_get_padding_top  (FoFo *fo_fo);
void                fo_block_container_set_padding_top  (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_block_container_get_space_after  (FoFo *fo_fo);
void                fo_block_container_set_space_after  (FoFo *fo_fo,
                                                         FoProperty *new_space_after);
FoProperty*         fo_block_container_get_space_before (FoFo *fo_fo);
void                fo_block_container_set_space_before (FoFo *fo_fo,
                                                         FoProperty *new_space_before);
FoProperty*         fo_block_container_get_span         (FoFo *fo_fo);
void                fo_block_container_set_span         (FoFo *fo_fo,
                                                         FoProperty *new_span);
FoProperty*         fo_block_container_get_start_indent (FoFo *fo_fo);
void                fo_block_container_set_start_indent (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);
FoProperty*         fo_block_container_get_width        (FoFo *fo_fo);
void                fo_block_container_set_width        (FoFo *fo_fo,
                                                         FoProperty *new_width);
FoProperty*         fo_block_container_get_writing_mode (FoFo *fo_fo);
void                fo_block_container_set_writing_mode (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoBlockContainer

Implemented Interfaces

FoBlockContainer implements FoBlockFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "break-after"              FoProperty*           : Read
  "break-before"             FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "end-indent"               FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "inline-progression-dimension" FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "margin-bottom"            FoProperty*           : Read
  "margin-left"              FoProperty*           : Read
  "margin-right"             FoProperty*           : Read
  "margin-top"               FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "space-after"              FoProperty*           : Read
  "space-before"             FoProperty*           : Read
  "span"                     FoProperty*           : Read
  "start-indent"             FoProperty*           : Read
  "width"                    FoProperty*           : Read
  "writing-mode"             FoProperty*           : Read

Description

Details

FoBlockContainer

typedef struct _FoBlockContainer FoBlockContainer;

Instance of the 'block-container' formatting object.


FoBlockContainerClass

typedef struct _FoBlockContainerClass FoBlockContainerClass;

Class structure for the 'block-container' formatting object.


fo_block_container_new ()

FoFo*               fo_block_container_new              (void);

Creates a new FoBlockContainer initialized to default value.

Returns :

the new FoBlockContainer.

fo_block_container_get_background_color ()

FoProperty*         fo_block_container_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_block_container_set_background_color ()

void                fo_block_container_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_block_container_get_background_image ()

FoProperty*         fo_block_container_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_block_container_set_background_image ()

void                fo_block_container_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_block_container_get_block_progression_dimension ()

FoProperty*         fo_block_container_get_block_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "block-progression-dimension" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "block-progression-dimension" property value.

fo_block_container_set_block_progression_dimension ()

void                fo_block_container_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension.

fo_fo :

The FoFo object.

new_block_progression_dimension :

The new "block-progression-dimension" property value.

fo_block_container_get_border_after_color ()

FoProperty*         fo_block_container_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_block_container_set_border_after_color ()

void                fo_block_container_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_block_container_get_border_after_style ()

FoProperty*         fo_block_container_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_block_container_set_border_after_style ()

void                fo_block_container_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_block_container_get_border_after_width ()

FoProperty*         fo_block_container_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_block_container_set_border_after_width ()

void                fo_block_container_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_block_container_get_border_before_color ()

FoProperty*         fo_block_container_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_block_container_set_border_before_color ()

void                fo_block_container_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_block_container_get_border_before_style ()

FoProperty*         fo_block_container_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_block_container_set_border_before_style ()

void                fo_block_container_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_block_container_get_border_before_width ()

FoProperty*         fo_block_container_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_block_container_set_border_before_width ()

void                fo_block_container_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_block_container_get_border_bottom_color ()

FoProperty*         fo_block_container_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_block_container_set_border_bottom_color ()

void                fo_block_container_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_block_container_get_border_bottom_style ()

FoProperty*         fo_block_container_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_block_container_set_border_bottom_style ()

void                fo_block_container_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_block_container_get_border_bottom_width ()

FoProperty*         fo_block_container_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_block_container_set_border_bottom_width ()

void                fo_block_container_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_block_container_get_border_end_color ()

FoProperty*         fo_block_container_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_block_container_set_border_end_color ()

void                fo_block_container_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_block_container_get_border_end_style ()

FoProperty*         fo_block_container_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_block_container_set_border_end_style ()

void                fo_block_container_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_block_container_get_border_end_width ()

FoProperty*         fo_block_container_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_block_container_set_border_end_width ()

void                fo_block_container_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_block_container_get_border_left_color ()

FoProperty*         fo_block_container_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_block_container_set_border_left_color ()

void                fo_block_container_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_block_container_get_border_left_style ()

FoProperty*         fo_block_container_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_block_container_set_border_left_style ()

void                fo_block_container_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_block_container_get_border_left_width ()

FoProperty*         fo_block_container_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_block_container_set_border_left_width ()

void                fo_block_container_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_block_container_get_border_right_color ()

FoProperty*         fo_block_container_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_block_container_set_border_right_color ()

void                fo_block_container_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_block_container_get_border_right_style ()

FoProperty*         fo_block_container_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_block_container_set_border_right_style ()

void                fo_block_container_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_block_container_get_border_right_width ()

FoProperty*         fo_block_container_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_block_container_set_border_right_width ()

void                fo_block_container_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_block_container_get_border_start_color ()

FoProperty*         fo_block_container_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_block_container_set_border_start_color ()

void                fo_block_container_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_block_container_get_border_start_style ()

FoProperty*         fo_block_container_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_block_container_set_border_start_style ()

void                fo_block_container_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_block_container_get_border_start_width ()

FoProperty*         fo_block_container_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_block_container_set_border_start_width ()

void                fo_block_container_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_block_container_get_border_top_color ()

FoProperty*         fo_block_container_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_block_container_set_border_top_color ()

void                fo_block_container_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_block_container_get_border_top_style ()

FoProperty*         fo_block_container_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_block_container_set_border_top_style ()

void                fo_block_container_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_block_container_get_border_top_width ()

FoProperty*         fo_block_container_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_block_container_set_border_top_width ()

void                fo_block_container_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_block_container_get_break_after ()

FoProperty*         fo_block_container_get_break_after  (FoFo *fo_fo);

Gets the "break-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "break-after" property value.

fo_block_container_set_break_after ()

void                fo_block_container_set_break_after  (FoFo *fo_fo,
                                                         FoProperty *new_break_after);

Sets the "break-after" property of fo_fo to new_break_after.

fo_fo :

The FoFo object.

new_break_after :

The new "break-after" property value.

fo_block_container_get_break_before ()

FoProperty*         fo_block_container_get_break_before (FoFo *fo_fo);

Gets the "break-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "break-before" property value.

fo_block_container_set_break_before ()

void                fo_block_container_set_break_before (FoFo *fo_fo,
                                                         FoProperty *new_break_before);

Sets the "break-before" property of fo_fo to new_break_before.

fo_fo :

The FoFo object.

new_break_before :

The new "break-before" property value.

fo_block_container_get_clip ()

FoProperty*         fo_block_container_get_clip         (FoFo *fo_fo);

Gets the "clip" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "clip" property value.

fo_block_container_set_clip ()

void                fo_block_container_set_clip         (FoFo *fo_fo,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_fo to new_clip.

fo_fo :

The FoFo object.

new_clip :

The new "clip" property value.

fo_block_container_get_display_align ()

FoProperty*         fo_block_container_get_display_align
                                                        (FoFo *fo_fo);

Gets the "display-align" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "display-align" property value.

fo_block_container_set_display_align ()

void                fo_block_container_set_display_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align.

fo_fo :

The FoFo object.

new_display_align :

The new "display-align" property value.

fo_block_container_get_end_indent ()

FoProperty*         fo_block_container_get_end_indent   (FoFo *fo_fo);

Gets the "end-indent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "end-indent" property value.

fo_block_container_set_end_indent ()

void                fo_block_container_set_end_indent   (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);

Sets the "end-indent" property of fo_fo to new_end_indent.

fo_fo :

The FoFo object.

new_end_indent :

The new "end-indent" property value.

fo_block_container_get_height ()

FoProperty*         fo_block_container_get_height       (FoFo *fo_fo);

Gets the "height" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "height" property value.

fo_block_container_set_height ()

void                fo_block_container_set_height       (FoFo *fo_fo,
                                                         FoProperty *new_height);

Sets the "height" property of fo_fo to new_height.

fo_fo :

The FoFo object.

new_height :

The new "height" property value.

fo_block_container_get_id ()

FoProperty*         fo_block_container_get_id           (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_block_container_set_id ()

void                fo_block_container_set_id           (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id.

fo_fo :

The FoFo object.

new_id :

The new "id" property value.

fo_block_container_get_inline_progression_dimension ()

FoProperty*         fo_block_container_get_inline_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "inline-progression-dimension" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "inline-progression-dimension" property value.

fo_block_container_set_inline_progression_dimension ()

void                fo_block_container_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);

Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension.

fo_fo :

The FoFo object.

new_inline_progression_dimension :

The new "inline-progression-dimension" property value.

fo_block_container_get_keep_together ()

FoProperty*         fo_block_container_get_keep_together
                                                        (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-together" property value.

fo_block_container_set_keep_together ()

void                fo_block_container_set_keep_together
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together.

fo_fo :

The FoFo object.

new_keep_together :

The new "keep-together" property value.

fo_block_container_get_keep_together_within_column ()

FoProperty*         fo_block_container_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-together-within-column" property value.

fo_block_container_set_keep_together_within_column ()

void                fo_block_container_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column.

fo_fo :

The FoFo object.

new_keep_together_within_column :

The new "keep-together-within-column" property value.

fo_block_container_get_keep_together_within_line ()

FoProperty*         fo_block_container_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-together-within-line" property value.

fo_block_container_set_keep_together_within_line ()

void                fo_block_container_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line.

fo_fo :

The FoFo object.

new_keep_together_within_line :

The new "keep-together-within-line" property value.

fo_block_container_get_keep_together_within_page ()

FoProperty*         fo_block_container_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-together-within-page" property value.

fo_block_container_set_keep_together_within_page ()

void                fo_block_container_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page.

fo_fo :

The FoFo object.

new_keep_together_within_page :

The new "keep-together-within-page" property value.

fo_block_container_get_keep_with_next ()

FoProperty*         fo_block_container_get_keep_with_next
                                                        (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next" property value.

fo_block_container_set_keep_with_next ()

void                fo_block_container_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next.

fo_fo :

The FoFo object.

new_keep_with_next :

The new "keep-with-next" property value.

fo_block_container_get_keep_with_next_within_column ()

FoProperty*         fo_block_container_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-column" property value.

fo_block_container_set_keep_with_next_within_column ()

void                fo_block_container_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column.

fo_fo :

The FoFo object.

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value.

fo_block_container_get_keep_with_next_within_line ()

FoProperty*         fo_block_container_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-line" property value.

fo_block_container_set_keep_with_next_within_line ()

void                fo_block_container_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line.

fo_fo :

The FoFo object.

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value.

fo_block_container_get_keep_with_next_within_page ()

FoProperty*         fo_block_container_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-page" property value.

fo_block_container_set_keep_with_next_within_page ()

void                fo_block_container_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page.

fo_fo :

The FoFo object.

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value.

fo_block_container_get_keep_with_previous ()

FoProperty*         fo_block_container_get_keep_with_previous
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous" property value.

fo_block_container_set_keep_with_previous ()

void                fo_block_container_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous.

fo_fo :

The FoFo object.

new_keep_with_previous :

The new "keep-with-previous" property value.

fo_block_container_get_keep_with_previous_within_column ()

FoProperty*         fo_block_container_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-column" property value.

fo_block_container_set_keep_with_previous_within_column ()

void                fo_block_container_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column.

fo_fo :

The FoFo object.

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value.

fo_block_container_get_keep_with_previous_within_line ()

FoProperty*         fo_block_container_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-line" property value.

fo_block_container_set_keep_with_previous_within_line ()

void                fo_block_container_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line.

fo_fo :

The FoFo object.

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value.

fo_block_container_get_keep_with_previous_within_page ()

FoProperty*         fo_block_container_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-page" property value.

fo_block_container_set_keep_with_previous_within_page ()

void                fo_block_container_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page.

fo_fo :

The FoFo object.

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value.

fo_block_container_get_margin_bottom ()

FoProperty*         fo_block_container_get_margin_bottom
                                                        (FoFo *fo_fo);

Gets the "margin-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-bottom" property value.

fo_block_container_set_margin_bottom ()

void                fo_block_container_set_margin_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);

Sets the "margin-bottom" property of fo_fo to new_margin_bottom.

fo_fo :

The FoFo object.

new_margin_bottom :

The new "margin-bottom" property value.

fo_block_container_get_margin_left ()

FoProperty*         fo_block_container_get_margin_left  (FoFo *fo_fo);

Gets the "margin-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-left" property value.

fo_block_container_set_margin_left ()

void                fo_block_container_set_margin_left  (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);

Sets the "margin-left" property of fo_fo to new_margin_left.

fo_fo :

The FoFo object.

new_margin_left :

The new "margin-left" property value.

fo_block_container_get_margin_right ()

FoProperty*         fo_block_container_get_margin_right (FoFo *fo_fo);

Gets the "margin-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-right" property value.

fo_block_container_set_margin_right ()

void                fo_block_container_set_margin_right (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);

Sets the "margin-right" property of fo_fo to new_margin_right.

fo_fo :

The FoFo object.

new_margin_right :

The new "margin-right" property value.

fo_block_container_get_margin_top ()

FoProperty*         fo_block_container_get_margin_top   (FoFo *fo_fo);

Gets the "margin-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-top" property value.

fo_block_container_set_margin_top ()

void                fo_block_container_set_margin_top   (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);

Sets the "margin-top" property of fo_fo to new_margin_top.

fo_fo :

The FoFo object.

new_margin_top :

The new "margin-top" property value.

fo_block_container_get_overflow ()

FoProperty*         fo_block_container_get_overflow     (FoFo *fo_fo);

Gets the "overflow" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "overflow" property value.

fo_block_container_set_overflow ()

void                fo_block_container_set_overflow     (FoFo *fo_fo,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_fo to new_overflow.

fo_fo :

The FoFo object.

new_overflow :

The new "overflow" property value.

fo_block_container_get_padding_after ()

FoProperty*         fo_block_container_get_padding_after
                                                        (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_block_container_set_padding_after ()

void                fo_block_container_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_block_container_get_padding_before ()

FoProperty*         fo_block_container_get_padding_before
                                                        (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_block_container_set_padding_before ()

void                fo_block_container_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_block_container_get_padding_bottom ()

FoProperty*         fo_block_container_get_padding_bottom
                                                        (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_block_container_set_padding_bottom ()

void                fo_block_container_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_block_container_get_padding_end ()

FoProperty*         fo_block_container_get_padding_end  (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_block_container_set_padding_end ()

void                fo_block_container_set_padding_end  (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_block_container_get_padding_left ()

FoProperty*         fo_block_container_get_padding_left (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_block_container_set_padding_left ()

void                fo_block_container_set_padding_left (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_block_container_get_padding_right ()

FoProperty*         fo_block_container_get_padding_right
                                                        (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_block_container_set_padding_right ()

void                fo_block_container_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_block_container_get_padding_start ()

FoProperty*         fo_block_container_get_padding_start
                                                        (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_block_container_set_padding_start ()

void                fo_block_container_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_block_container_get_padding_top ()

FoProperty*         fo_block_container_get_padding_top  (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_block_container_set_padding_top ()

void                fo_block_container_set_padding_top  (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_block_container_get_space_after ()

FoProperty*         fo_block_container_get_space_after  (FoFo *fo_fo);

Gets the "space-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-after" property value.

fo_block_container_set_space_after ()

void                fo_block_container_set_space_after  (FoFo *fo_fo,
                                                         FoProperty *new_space_after);

Sets the "space-after" property of fo_fo to new_space_after.

fo_fo :

The FoFo object.

new_space_after :

The new "space-after" property value.

fo_block_container_get_space_before ()

FoProperty*         fo_block_container_get_space_before (FoFo *fo_fo);

Gets the "space-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-before" property value.

fo_block_container_set_space_before ()

void                fo_block_container_set_space_before (FoFo *fo_fo,
                                                         FoProperty *new_space_before);

Sets the "space-before" property of fo_fo to new_space_before.

fo_fo :

The FoFo object.

new_space_before :

The new "space-before" property value.

fo_block_container_get_span ()

FoProperty*         fo_block_container_get_span         (FoFo *fo_fo);

Gets the "span" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "span" property value.

fo_block_container_set_span ()

void                fo_block_container_set_span         (FoFo *fo_fo,
                                                         FoProperty *new_span);

Sets the "span" property of fo_fo to new_span.

fo_fo :

The FoFo object.

new_span :

The new "span" property value.

fo_block_container_get_start_indent ()

FoProperty*         fo_block_container_get_start_indent (FoFo *fo_fo);

Gets the "start-indent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "start-indent" property value.

fo_block_container_set_start_indent ()

void                fo_block_container_set_start_indent (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Sets the "start-indent" property of fo_fo to new_start_indent.

fo_fo :

The FoFo object.

new_start_indent :

The new "start-indent" property value.

fo_block_container_get_width ()

FoProperty*         fo_block_container_get_width        (FoFo *fo_fo);

Gets the "width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "width" property value.

fo_block_container_set_width ()

void                fo_block_container_set_width        (FoFo *fo_fo,
                                                         FoProperty *new_width);

Sets the "width" property of fo_fo to new_width.

fo_fo :

The FoFo object.

new_width :

The new "width" property value.

fo_block_container_get_writing_mode ()

FoProperty*         fo_block_container_get_writing_mode (FoFo *fo_fo);

Gets the "writing-mode" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "writing-mode" property value.

fo_block_container_set_writing_mode ()

void                fo_block_container_set_writing_mode (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_fo to new_writing_mode.

fo_fo :

The FoFo object.

new_writing_mode :

The new "writing-mode" property value.

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "break-after" property

  "break-after"              FoProperty*           : Read

Break After property.


The "break-before" property

  "break-before"             FoProperty*           : Read

Break Before property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "end-indent" property

  "end-indent"               FoProperty*           : Read

End Indent property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "inline-progression-dimension" property

  "inline-progression-dimension" FoProperty*           : Read

Inline Progression Dimension property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "margin-bottom" property

  "margin-bottom"            FoProperty*           : Read

Margin Bottom property.


The "margin-left" property

  "margin-left"              FoProperty*           : Read

Margin Left property.


The "margin-right" property

  "margin-right"             FoProperty*           : Read

Margin Right property.


The "margin-top" property

  "margin-top"               FoProperty*           : Read

Margin Top property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "space-after" property

  "space-after"              FoProperty*           : Read

Space After property.


The "space-before" property

  "space-before"             FoProperty*           : Read

Space Before property.


The "span" property

  "span"                     FoProperty*           : Read

Span property.


The "start-indent" property

  "start-indent"             FoProperty*           : Read

Start Indent property.


The "width" property

  "width"                    FoProperty*           : Read

Width property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/xmlroff-block.html0000644000175000017500000077560511156164734015500 00000000000000 block

block

block

Synopsis

                    FoBlock;
                    FoBlockClass;
FoFo*               fo_block_new                        (void);

FoProperty*         fo_block_get_background_color       (FoFo *fo_fo);
void                fo_block_set_background_color       (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_block_get_background_image       (FoFo *fo_fo);
void                fo_block_set_background_image       (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_block_get_border_after_color     (FoFo *fo_fo);
void                fo_block_set_border_after_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_block_get_border_after_style     (FoFo *fo_fo);
void                fo_block_set_border_after_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_block_get_border_after_width     (FoFo *fo_fo);
void                fo_block_set_border_after_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_block_get_border_before_color    (FoFo *fo_fo);
void                fo_block_set_border_before_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_block_get_border_before_style    (FoFo *fo_fo);
void                fo_block_set_border_before_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_block_get_border_before_width    (FoFo *fo_fo);
void                fo_block_set_border_before_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_block_get_border_bottom_color    (FoFo *fo_fo);
void                fo_block_set_border_bottom_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_block_get_border_bottom_style    (FoFo *fo_fo);
void                fo_block_set_border_bottom_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_block_get_border_bottom_width    (FoFo *fo_fo);
void                fo_block_set_border_bottom_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_block_get_border_end_color       (FoFo *fo_fo);
void                fo_block_set_border_end_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_block_get_border_end_style       (FoFo *fo_fo);
void                fo_block_set_border_end_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_block_get_border_end_width       (FoFo *fo_fo);
void                fo_block_set_border_end_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_block_get_border_left_color      (FoFo *fo_fo);
void                fo_block_set_border_left_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_block_get_border_left_style      (FoFo *fo_fo);
void                fo_block_set_border_left_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_block_get_border_left_width      (FoFo *fo_fo);
void                fo_block_set_border_left_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_block_get_border_right_color     (FoFo *fo_fo);
void                fo_block_set_border_right_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_block_get_border_right_style     (FoFo *fo_fo);
void                fo_block_set_border_right_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_block_get_border_right_width     (FoFo *fo_fo);
void                fo_block_set_border_right_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_block_get_border_start_color     (FoFo *fo_fo);
void                fo_block_set_border_start_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_block_get_border_start_style     (FoFo *fo_fo);
void                fo_block_set_border_start_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_block_get_border_start_width     (FoFo *fo_fo);
void                fo_block_set_border_start_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_block_get_border_top_color       (FoFo *fo_fo);
void                fo_block_set_border_top_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_block_get_border_top_style       (FoFo *fo_fo);
void                fo_block_set_border_top_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_block_get_border_top_width       (FoFo *fo_fo);
void                fo_block_set_border_top_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_block_get_break_after            (FoFo *fo_fo);
void                fo_block_set_break_after            (FoFo *fo_fo,
                                                         FoProperty *new_break_after);
FoProperty*         fo_block_get_break_before           (FoFo *fo_fo);
void                fo_block_set_break_before           (FoFo *fo_fo,
                                                         FoProperty *new_break_before);
FoProperty*         fo_block_get_color                  (FoFo *fo_fo);
void                fo_block_set_color                  (FoFo *fo_fo,
                                                         FoProperty *new_color);
FoProperty*         fo_block_get_end_indent             (FoFo *fo_fo);
void                fo_block_set_end_indent             (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);
FoProperty*         fo_block_get_font_family            (FoFo *fo_fo);
void                fo_block_set_font_family            (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_block_get_font_size              (FoFo *fo_fo);
void                fo_block_set_font_size              (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_block_get_font_stretch           (FoFo *fo_fo);
void                fo_block_set_font_stretch           (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_block_get_font_style             (FoFo *fo_fo);
void                fo_block_set_font_style             (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_block_get_font_variant           (FoFo *fo_fo);
void                fo_block_set_font_variant           (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_block_get_font_weight            (FoFo *fo_fo);
void                fo_block_set_font_weight            (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_block_get_id                     (FoFo *fo_fo);
void                fo_block_set_id                     (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_block_get_keep_together          (FoFo *fo_fo);
void                fo_block_set_keep_together          (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_block_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_block_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_block_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_block_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_block_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_block_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_block_get_keep_with_next         (FoFo *fo_fo);
void                fo_block_set_keep_with_next         (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_block_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_block_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_block_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_block_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_block_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_block_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_block_get_keep_with_previous     (FoFo *fo_fo);
void                fo_block_set_keep_with_previous     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_block_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_block_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_block_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_block_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_block_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_block_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_block_get_line_height            (FoFo *fo_fo);
void                fo_block_set_line_height            (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_block_get_line_stacking_strategy (FoFo *fo_fo);
void                fo_block_set_line_stacking_strategy (FoFo *fo_fo,
                                                         FoProperty *new_line_stacking_strategy);
FoProperty*         fo_block_get_linefeed_treatment     (FoFo *fo_fo);
void                fo_block_set_linefeed_treatment     (FoFo *fo_fo,
                                                         FoProperty *new_linefeed_treatment);
FoProperty*         fo_block_get_margin_bottom          (FoFo *fo_fo);
void                fo_block_set_margin_bottom          (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);
FoProperty*         fo_block_get_margin_left            (FoFo *fo_fo);
void                fo_block_set_margin_left            (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);
FoProperty*         fo_block_get_margin_right           (FoFo *fo_fo);
void                fo_block_set_margin_right           (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);
FoProperty*         fo_block_get_margin_top             (FoFo *fo_fo);
void                fo_block_set_margin_top             (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);
FoProperty*         fo_block_get_orphans                (FoFo *fo_fo);
void                fo_block_set_orphans                (FoFo *fo_fo,
                                                         FoProperty *new_orphans);
FoProperty*         fo_block_get_padding_after          (FoFo *fo_fo);
void                fo_block_set_padding_after          (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_block_get_padding_before         (FoFo *fo_fo);
void                fo_block_set_padding_before         (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_block_get_padding_bottom         (FoFo *fo_fo);
void                fo_block_set_padding_bottom         (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_block_get_padding_end            (FoFo *fo_fo);
void                fo_block_set_padding_end            (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_block_get_padding_left           (FoFo *fo_fo);
void                fo_block_set_padding_left           (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_block_get_padding_right          (FoFo *fo_fo);
void                fo_block_set_padding_right          (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_block_get_padding_start          (FoFo *fo_fo);
void                fo_block_set_padding_start          (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_block_get_padding_top            (FoFo *fo_fo);
void                fo_block_set_padding_top            (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_block_get_role                   (FoFo *fo_fo);
void                fo_block_set_role                   (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_block_get_source_document        (FoFo *fo_fo);
void                fo_block_set_source_document        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_block_get_space_after            (FoFo *fo_fo);
void                fo_block_set_space_after            (FoFo *fo_fo,
                                                         FoProperty *new_space_after);
FoProperty*         fo_block_get_space_before           (FoFo *fo_fo);
void                fo_block_set_space_before           (FoFo *fo_fo,
                                                         FoProperty *new_space_before);
FoProperty*         fo_block_get_span                   (FoFo *fo_fo);
void                fo_block_set_span                   (FoFo *fo_fo,
                                                         FoProperty *new_span);
FoProperty*         fo_block_get_start_indent           (FoFo *fo_fo);
void                fo_block_set_start_indent           (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);
FoProperty*         fo_block_get_text_align             (FoFo *fo_fo);
void                fo_block_set_text_align             (FoFo *fo_fo,
                                                         FoProperty *new_text_align);
FoProperty*         fo_block_get_text_indent            (FoFo *fo_fo);
void                fo_block_set_text_indent            (FoFo *fo_fo,
                                                         FoProperty *new_text_indent);
FoProperty*         fo_block_get_white_space_collapse   (FoFo *fo_fo);
void                fo_block_set_white_space_collapse   (FoFo *fo_fo,
                                                         FoProperty *new_white_space_collapse);
FoProperty*         fo_block_get_white_space_treatment  (FoFo *fo_fo);
void                fo_block_set_white_space_treatment  (FoFo *fo_fo,
                                                         FoProperty *new_white_space_treatment);
FoProperty*         fo_block_get_widows                 (FoFo *fo_fo);
void                fo_block_set_widows                 (FoFo *fo_fo,
                                                         FoProperty *new_widows);
FoProperty*         fo_block_get_wrap_option            (FoFo *fo_fo);
void                fo_block_set_wrap_option            (FoFo *fo_fo,
                                                         FoProperty *new_wrap_option);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoBlock
                                 +----FoBlockBlock
                                 +----FoBlockLayout
                                 +----FoBlockWhitespace

Implemented Interfaces

FoBlock implements FoBlockFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "break-after"              FoProperty*           : Read
  "break-before"             FoProperty*           : Read
  "color"                    FoProperty*           : Read
  "end-indent"               FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "line-stacking-strategy"   FoProperty*           : Read
  "linefeed-treatment"       FoProperty*           : Read
  "margin-bottom"            FoProperty*           : Read
  "margin-left"              FoProperty*           : Read
  "margin-right"             FoProperty*           : Read
  "margin-top"               FoProperty*           : Read
  "orphans"                  FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-after"              FoProperty*           : Read
  "space-before"             FoProperty*           : Read
  "span"                     FoProperty*           : Read
  "start-indent"             FoProperty*           : Read
  "text-align"               FoProperty*           : Read
  "text-indent"              FoProperty*           : Read
  "white-space-collapse"     FoProperty*           : Read
  "white-space-treatment"    FoProperty*           : Read
  "widows"                   FoProperty*           : Read
  "wrap-option"              FoProperty*           : Read

Description

Details

FoBlock

typedef struct _FoBlock FoBlock;

Instance of the 'block' formatting object.


FoBlockClass

typedef struct _FoBlockClass FoBlockClass;

Class structure for the 'block' formatting object.


fo_block_new ()

FoFo*               fo_block_new                        (void);

Creates a new FoBlock initialized to default value.

Returns :

the new FoBlock.

fo_block_get_background_color ()

FoProperty*         fo_block_get_background_color       (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_block_set_background_color ()

void                fo_block_set_background_color       (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_block_get_background_image ()

FoProperty*         fo_block_get_background_image       (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_block_set_background_image ()

void                fo_block_set_background_image       (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_block_get_border_after_color ()

FoProperty*         fo_block_get_border_after_color     (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_block_set_border_after_color ()

void                fo_block_set_border_after_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_block_get_border_after_style ()

FoProperty*         fo_block_get_border_after_style     (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_block_set_border_after_style ()

void                fo_block_set_border_after_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_block_get_border_after_width ()

FoProperty*         fo_block_get_border_after_width     (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_block_set_border_after_width ()

void                fo_block_set_border_after_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_block_get_border_before_color ()

FoProperty*         fo_block_get_border_before_color    (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_block_set_border_before_color ()

void                fo_block_set_border_before_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_block_get_border_before_style ()

FoProperty*         fo_block_get_border_before_style    (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_block_set_border_before_style ()

void                fo_block_set_border_before_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_block_get_border_before_width ()

FoProperty*         fo_block_get_border_before_width    (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_block_set_border_before_width ()

void                fo_block_set_border_before_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_block_get_border_bottom_color ()

FoProperty*         fo_block_get_border_bottom_color    (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_block_set_border_bottom_color ()

void                fo_block_set_border_bottom_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_block_get_border_bottom_style ()

FoProperty*         fo_block_get_border_bottom_style    (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_block_set_border_bottom_style ()

void                fo_block_set_border_bottom_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_block_get_border_bottom_width ()

FoProperty*         fo_block_get_border_bottom_width    (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_block_set_border_bottom_width ()

void                fo_block_set_border_bottom_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_block_get_border_end_color ()

FoProperty*         fo_block_get_border_end_color       (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_block_set_border_end_color ()

void                fo_block_set_border_end_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_block_get_border_end_style ()

FoProperty*         fo_block_get_border_end_style       (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_block_set_border_end_style ()

void                fo_block_set_border_end_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_block_get_border_end_width ()

FoProperty*         fo_block_get_border_end_width       (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_block_set_border_end_width ()

void                fo_block_set_border_end_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_block_get_border_left_color ()

FoProperty*         fo_block_get_border_left_color      (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_block_set_border_left_color ()

void                fo_block_set_border_left_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_block_get_border_left_style ()

FoProperty*         fo_block_get_border_left_style      (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_block_set_border_left_style ()

void                fo_block_set_border_left_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_block_get_border_left_width ()

FoProperty*         fo_block_get_border_left_width      (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_block_set_border_left_width ()

void                fo_block_set_border_left_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_block_get_border_right_color ()

FoProperty*         fo_block_get_border_right_color     (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_block_set_border_right_color ()

void                fo_block_set_border_right_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_block_get_border_right_style ()

FoProperty*         fo_block_get_border_right_style     (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_block_set_border_right_style ()

void                fo_block_set_border_right_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_block_get_border_right_width ()

FoProperty*         fo_block_get_border_right_width     (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_block_set_border_right_width ()

void                fo_block_set_border_right_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_block_get_border_start_color ()

FoProperty*         fo_block_get_border_start_color     (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_block_set_border_start_color ()

void                fo_block_set_border_start_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_block_get_border_start_style ()

FoProperty*         fo_block_get_border_start_style     (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_block_set_border_start_style ()

void                fo_block_set_border_start_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_block_get_border_start_width ()

FoProperty*         fo_block_get_border_start_width     (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_block_set_border_start_width ()

void                fo_block_set_border_start_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_block_get_border_top_color ()

FoProperty*         fo_block_get_border_top_color       (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_block_set_border_top_color ()

void                fo_block_set_border_top_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_block_get_border_top_style ()

FoProperty*         fo_block_get_border_top_style       (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_block_set_border_top_style ()

void                fo_block_set_border_top_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_block_get_border_top_width ()

FoProperty*         fo_block_get_border_top_width       (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_block_set_border_top_width ()

void                fo_block_set_border_top_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_block_get_break_after ()

FoProperty*         fo_block_get_break_after            (FoFo *fo_fo);

Gets the "break-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "break-after" property value.

fo_block_set_break_after ()

void                fo_block_set_break_after            (FoFo *fo_fo,
                                                         FoProperty *new_break_after);

Sets the "break-after" property of fo_fo to new_break_after.

fo_fo :

The FoFo object.

new_break_after :

The new "break-after" property value.

fo_block_get_break_before ()

FoProperty*         fo_block_get_break_before           (FoFo *fo_fo);

Gets the "break-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "break-before" property value.

fo_block_set_break_before ()

void                fo_block_set_break_before           (FoFo *fo_fo,
                                                         FoProperty *new_break_before);

Sets the "break-before" property of fo_fo to new_break_before.

fo_fo :

The FoFo object.

new_break_before :

The new "break-before" property value.

fo_block_get_color ()

FoProperty*         fo_block_get_color                  (FoFo *fo_fo);

Gets the "color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "color" property value.

fo_block_set_color ()

void                fo_block_set_color                  (FoFo *fo_fo,
                                                         FoProperty *new_color);

Sets the "color" property of fo_fo to new_color.

fo_fo :

The FoFo object.

new_color :

The new "color" property value.

fo_block_get_end_indent ()

FoProperty*         fo_block_get_end_indent             (FoFo *fo_fo);

Gets the "end-indent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "end-indent" property value.

fo_block_set_end_indent ()

void                fo_block_set_end_indent             (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);

Sets the "end-indent" property of fo_fo to new_end_indent.

fo_fo :

The FoFo object.

new_end_indent :

The new "end-indent" property value.

fo_block_get_font_family ()

FoProperty*         fo_block_get_font_family            (FoFo *fo_fo);

Gets the "font-family" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-family" property value.

fo_block_set_font_family ()

void                fo_block_set_font_family            (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the "font-family" property of fo_fo to new_font_family.

fo_fo :

The FoFo object.

new_font_family :

The new "font-family" property value.

fo_block_get_font_size ()

FoProperty*         fo_block_get_font_size              (FoFo *fo_fo);

Gets the "font-size" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-size" property value.

fo_block_set_font_size ()

void                fo_block_set_font_size              (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the "font-size" property of fo_fo to new_font_size.

fo_fo :

The FoFo object.

new_font_size :

The new "font-size" property value.

fo_block_get_font_stretch ()

FoProperty*         fo_block_get_font_stretch           (FoFo *fo_fo);

Gets the "font-stretch" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-stretch" property value.

fo_block_set_font_stretch ()

void                fo_block_set_font_stretch           (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the "font-stretch" property of fo_fo to new_font_stretch.

fo_fo :

The FoFo object.

new_font_stretch :

The new "font-stretch" property value.

fo_block_get_font_style ()

FoProperty*         fo_block_get_font_style             (FoFo *fo_fo);

Gets the "font-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-style" property value.

fo_block_set_font_style ()

void                fo_block_set_font_style             (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the "font-style" property of fo_fo to new_font_style.

fo_fo :

The FoFo object.

new_font_style :

The new "font-style" property value.

fo_block_get_font_variant ()

FoProperty*         fo_block_get_font_variant           (FoFo *fo_fo);

Gets the "font-variant" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-variant" property value.

fo_block_set_font_variant ()

void                fo_block_set_font_variant           (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the "font-variant" property of fo_fo to new_font_variant.

fo_fo :

The FoFo object.

new_font_variant :

The new "font-variant" property value.

fo_block_get_font_weight ()

FoProperty*         fo_block_get_font_weight            (FoFo *fo_fo);

Gets the "font-weight" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-weight" property value.

fo_block_set_font_weight ()

void                fo_block_set_font_weight            (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the "font-weight" property of fo_fo to new_font_weight.

fo_fo :

The FoFo object.

new_font_weight :

The new "font-weight" property value.

fo_block_get_id ()

FoProperty*         fo_block_get_id                     (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_block_set_id ()

void                fo_block_set_id                     (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id.

fo_fo :

The FoFo object.

new_id :

The new "id" property value.

fo_block_get_keep_together ()

FoProperty*         fo_block_get_keep_together          (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-together" property value.

fo_block_set_keep_together ()

void                fo_block_set_keep_together          (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together.

fo_fo :

The FoFo object.

new_keep_together :

The new "keep-together" property value.

fo_block_get_keep_together_within_column ()

FoProperty*         fo_block_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-together-within-column" property value.

fo_block_set_keep_together_within_column ()

void                fo_block_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column.

fo_fo :

The FoFo object.

new_keep_together_within_column :

The new "keep-together-within-column" property value.

fo_block_get_keep_together_within_line ()

FoProperty*         fo_block_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-together-within-line" property value.

fo_block_set_keep_together_within_line ()

void                fo_block_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line.

fo_fo :

The FoFo object.

new_keep_together_within_line :

The new "keep-together-within-line" property value.

fo_block_get_keep_together_within_page ()

FoProperty*         fo_block_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-together-within-page" property value.

fo_block_set_keep_together_within_page ()

void                fo_block_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page.

fo_fo :

The FoFo object.

new_keep_together_within_page :

The new "keep-together-within-page" property value.

fo_block_get_keep_with_next ()

FoProperty*         fo_block_get_keep_with_next         (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next" property value.

fo_block_set_keep_with_next ()

void                fo_block_set_keep_with_next         (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next.

fo_fo :

The FoFo object.

new_keep_with_next :

The new "keep-with-next" property value.

fo_block_get_keep_with_next_within_column ()

FoProperty*         fo_block_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-column" property value.

fo_block_set_keep_with_next_within_column ()

void                fo_block_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column.

fo_fo :

The FoFo object.

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value.

fo_block_get_keep_with_next_within_line ()

FoProperty*         fo_block_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-line" property value.

fo_block_set_keep_with_next_within_line ()

void                fo_block_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line.

fo_fo :

The FoFo object.

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value.

fo_block_get_keep_with_next_within_page ()

FoProperty*         fo_block_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-page" property value.

fo_block_set_keep_with_next_within_page ()

void                fo_block_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page.

fo_fo :

The FoFo object.

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value.

fo_block_get_keep_with_previous ()

FoProperty*         fo_block_get_keep_with_previous     (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous" property value.

fo_block_set_keep_with_previous ()

void                fo_block_set_keep_with_previous     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous.

fo_fo :

The FoFo object.

new_keep_with_previous :

The new "keep-with-previous" property value.

fo_block_get_keep_with_previous_within_column ()

FoProperty*         fo_block_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-column" property value.

fo_block_set_keep_with_previous_within_column ()

void                fo_block_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column.

fo_fo :

The FoFo object.

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value.

fo_block_get_keep_with_previous_within_line ()

FoProperty*         fo_block_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-line" property value.

fo_block_set_keep_with_previous_within_line ()

void                fo_block_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line.

fo_fo :

The FoFo object.

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value.

fo_block_get_keep_with_previous_within_page ()

FoProperty*         fo_block_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-page" property value.

fo_block_set_keep_with_previous_within_page ()

void                fo_block_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page.

fo_fo :

The FoFo object.

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value.

fo_block_get_line_height ()

FoProperty*         fo_block_get_line_height            (FoFo *fo_fo);

Gets the "line-height" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "line-height" property value.

fo_block_set_line_height ()

void                fo_block_set_line_height            (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height.

fo_fo :

The FoFo object.

new_line_height :

The new "line-height" property value.

fo_block_get_line_stacking_strategy ()

FoProperty*         fo_block_get_line_stacking_strategy (FoFo *fo_fo);

Gets the "line-stacking-strategy" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "line-stacking-strategy" property value.

fo_block_set_line_stacking_strategy ()

void                fo_block_set_line_stacking_strategy (FoFo *fo_fo,
                                                         FoProperty *new_line_stacking_strategy);

Sets the "line-stacking-strategy" property of fo_fo to new_line_stacking_strategy.

fo_fo :

The FoFo object.

new_line_stacking_strategy :

The new "line-stacking-strategy" property value.

fo_block_get_linefeed_treatment ()

FoProperty*         fo_block_get_linefeed_treatment     (FoFo *fo_fo);

Gets the "linefeed-treatment" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "linefeed-treatment" property value.

fo_block_set_linefeed_treatment ()

void                fo_block_set_linefeed_treatment     (FoFo *fo_fo,
                                                         FoProperty *new_linefeed_treatment);

Sets the "linefeed-treatment" property of fo_fo to new_linefeed_treatment.

fo_fo :

The FoFo object.

new_linefeed_treatment :

The new "linefeed-treatment" property value.

fo_block_get_margin_bottom ()

FoProperty*         fo_block_get_margin_bottom          (FoFo *fo_fo);

Gets the "margin-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-bottom" property value.

fo_block_set_margin_bottom ()

void                fo_block_set_margin_bottom          (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);

Sets the "margin-bottom" property of fo_fo to new_margin_bottom.

fo_fo :

The FoFo object.

new_margin_bottom :

The new "margin-bottom" property value.

fo_block_get_margin_left ()

FoProperty*         fo_block_get_margin_left            (FoFo *fo_fo);

Gets the "margin-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-left" property value.

fo_block_set_margin_left ()

void                fo_block_set_margin_left            (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);

Sets the "margin-left" property of fo_fo to new_margin_left.

fo_fo :

The FoFo object.

new_margin_left :

The new "margin-left" property value.

fo_block_get_margin_right ()

FoProperty*         fo_block_get_margin_right           (FoFo *fo_fo);

Gets the "margin-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-right" property value.

fo_block_set_margin_right ()

void                fo_block_set_margin_right           (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);

Sets the "margin-right" property of fo_fo to new_margin_right.

fo_fo :

The FoFo object.

new_margin_right :

The new "margin-right" property value.

fo_block_get_margin_top ()

FoProperty*         fo_block_get_margin_top             (FoFo *fo_fo);

Gets the "margin-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-top" property value.

fo_block_set_margin_top ()

void                fo_block_set_margin_top             (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);

Sets the "margin-top" property of fo_fo to new_margin_top.

fo_fo :

The FoFo object.

new_margin_top :

The new "margin-top" property value.

fo_block_get_orphans ()

FoProperty*         fo_block_get_orphans                (FoFo *fo_fo);

Gets the "orphans" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "orphans" property value.

fo_block_set_orphans ()

void                fo_block_set_orphans                (FoFo *fo_fo,
                                                         FoProperty *new_orphans);

Sets the "orphans" property of fo_fo to new_orphans.

fo_fo :

The FoFo object.

new_orphans :

The new "orphans" property value.

fo_block_get_padding_after ()

FoProperty*         fo_block_get_padding_after          (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_block_set_padding_after ()

void                fo_block_set_padding_after          (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_block_get_padding_before ()

FoProperty*         fo_block_get_padding_before         (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_block_set_padding_before ()

void                fo_block_set_padding_before         (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_block_get_padding_bottom ()

FoProperty*         fo_block_get_padding_bottom         (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_block_set_padding_bottom ()

void                fo_block_set_padding_bottom         (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_block_get_padding_end ()

FoProperty*         fo_block_get_padding_end            (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_block_set_padding_end ()

void                fo_block_set_padding_end            (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_block_get_padding_left ()

FoProperty*         fo_block_get_padding_left           (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_block_set_padding_left ()

void                fo_block_set_padding_left           (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_block_get_padding_right ()

FoProperty*         fo_block_get_padding_right          (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_block_set_padding_right ()

void                fo_block_set_padding_right          (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_block_get_padding_start ()

FoProperty*         fo_block_get_padding_start          (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_block_set_padding_start ()

void                fo_block_set_padding_start          (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_block_get_padding_top ()

FoProperty*         fo_block_get_padding_top            (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_block_set_padding_top ()

void                fo_block_set_padding_top            (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_block_get_role ()

FoProperty*         fo_block_get_role                   (FoFo *fo_fo);

Gets the "role" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "role" property value.

fo_block_set_role ()

void                fo_block_set_role                   (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role.

fo_fo :

The FoFo object.

new_role :

The new "role" property value.

fo_block_get_source_document ()

FoProperty*         fo_block_get_source_document        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "source-document" property value.

fo_block_set_source_document ()

void                fo_block_set_source_document        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document.

fo_fo :

The FoFo object.

new_source_document :

The new "source-document" property value.

fo_block_get_space_after ()

FoProperty*         fo_block_get_space_after            (FoFo *fo_fo);

Gets the "space-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-after" property value.

fo_block_set_space_after ()

void                fo_block_set_space_after            (FoFo *fo_fo,
                                                         FoProperty *new_space_after);

Sets the "space-after" property of fo_fo to new_space_after.

fo_fo :

The FoFo object.

new_space_after :

The new "space-after" property value.

fo_block_get_space_before ()

FoProperty*         fo_block_get_space_before           (FoFo *fo_fo);

Gets the "space-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-before" property value.

fo_block_set_space_before ()

void                fo_block_set_space_before           (FoFo *fo_fo,
                                                         FoProperty *new_space_before);

Sets the "space-before" property of fo_fo to new_space_before.

fo_fo :

The FoFo object.

new_space_before :

The new "space-before" property value.

fo_block_get_span ()

FoProperty*         fo_block_get_span                   (FoFo *fo_fo);

Gets the "span" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "span" property value.

fo_block_set_span ()

void                fo_block_set_span                   (FoFo *fo_fo,
                                                         FoProperty *new_span);

Sets the "span" property of fo_fo to new_span.

fo_fo :

The FoFo object.

new_span :

The new "span" property value.

fo_block_get_start_indent ()

FoProperty*         fo_block_get_start_indent           (FoFo *fo_fo);

Gets the "start-indent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "start-indent" property value.

fo_block_set_start_indent ()

void                fo_block_set_start_indent           (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Sets the "start-indent" property of fo_fo to new_start_indent.

fo_fo :

The FoFo object.

new_start_indent :

The new "start-indent" property value.

fo_block_get_text_align ()

FoProperty*         fo_block_get_text_align             (FoFo *fo_fo);

Gets the "text-align" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "text-align" property value.

fo_block_set_text_align ()

void                fo_block_set_text_align             (FoFo *fo_fo,
                                                         FoProperty *new_text_align);

Sets the "text-align" property of fo_fo to new_text_align.

fo_fo :

The FoFo object.

new_text_align :

The new "text-align" property value.

fo_block_get_text_indent ()

FoProperty*         fo_block_get_text_indent            (FoFo *fo_fo);

Gets the "text-indent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "text-indent" property value.

fo_block_set_text_indent ()

void                fo_block_set_text_indent            (FoFo *fo_fo,
                                                         FoProperty *new_text_indent);

Sets the "text-indent" property of fo_fo to new_text_indent.

fo_fo :

The FoFo object.

new_text_indent :

The new "text-indent" property value.

fo_block_get_white_space_collapse ()

FoProperty*         fo_block_get_white_space_collapse   (FoFo *fo_fo);

Gets the "white-space-collapse" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "white-space-collapse" property value.

fo_block_set_white_space_collapse ()

void                fo_block_set_white_space_collapse   (FoFo *fo_fo,
                                                         FoProperty *new_white_space_collapse);

Sets the "white-space-collapse" property of fo_fo to new_white_space_collapse.

fo_fo :

The FoFo object.

new_white_space_collapse :

The new "white-space-collapse" property value.

fo_block_get_white_space_treatment ()

FoProperty*         fo_block_get_white_space_treatment  (FoFo *fo_fo);

Gets the "white-space-treatment" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "white-space-treatment" property value.

fo_block_set_white_space_treatment ()

void                fo_block_set_white_space_treatment  (FoFo *fo_fo,
                                                         FoProperty *new_white_space_treatment);

Sets the "white-space-treatment" property of fo_fo to new_white_space_treatment.

fo_fo :

The FoFo object.

new_white_space_treatment :

The new "white-space-treatment" property value.

fo_block_get_widows ()

FoProperty*         fo_block_get_widows                 (FoFo *fo_fo);

Gets the "widows" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "widows" property value.

fo_block_set_widows ()

void                fo_block_set_widows                 (FoFo *fo_fo,
                                                         FoProperty *new_widows);

Sets the "widows" property of fo_fo to new_widows.

fo_fo :

The FoFo object.

new_widows :

The new "widows" property value.

fo_block_get_wrap_option ()

FoProperty*         fo_block_get_wrap_option            (FoFo *fo_fo);

Gets the "wrap-option" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "wrap-option" property value.

fo_block_set_wrap_option ()

void                fo_block_set_wrap_option            (FoFo *fo_fo,
                                                         FoProperty *new_wrap_option);

Sets the "wrap-option" property of fo_fo to new_wrap_option.

fo_fo :

The FoFo object.

new_wrap_option :

The new "wrap-option" property value.

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "break-after" property

  "break-after"              FoProperty*           : Read

Break After property.


The "break-before" property

  "break-before"             FoProperty*           : Read

Break Before property.


The "color" property

  "color"                    FoProperty*           : Read

Color property.


The "end-indent" property

  "end-indent"               FoProperty*           : Read

End Indent property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "line-stacking-strategy" property

  "line-stacking-strategy"   FoProperty*           : Read

Line Stacking Strategy property.


The "linefeed-treatment" property

  "linefeed-treatment"       FoProperty*           : Read

Linefeed Treatment property.


The "margin-bottom" property

  "margin-bottom"            FoProperty*           : Read

Margin Bottom property.


The "margin-left" property

  "margin-left"              FoProperty*           : Read

Margin Left property.


The "margin-right" property

  "margin-right"             FoProperty*           : Read

Margin Right property.


The "margin-top" property

  "margin-top"               FoProperty*           : Read

Margin Top property.


The "orphans" property

  "orphans"                  FoProperty*           : Read

Orphans property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-after" property

  "space-after"              FoProperty*           : Read

Space After property.


The "space-before" property

  "space-before"             FoProperty*           : Read

Space Before property.


The "span" property

  "span"                     FoProperty*           : Read

Span property.


The "start-indent" property

  "start-indent"             FoProperty*           : Read

Start Indent property.


The "text-align" property

  "text-align"               FoProperty*           : Read

Text Align property.


The "text-indent" property

  "text-indent"              FoProperty*           : Read

Text Indent property.


The "white-space-collapse" property

  "white-space-collapse"     FoProperty*           : Read

White Space Collapse property.


The "white-space-treatment" property

  "white-space-treatment"    FoProperty*           : Read

White Space Treatment property.


The "widows" property

  "widows"                   FoProperty*           : Read

Widows property.


The "wrap-option" property

  "wrap-option"              FoProperty*           : Read

Wrap Option property.

xmlroff-0.6.2/docs/html/xmlroff-block-progression-dimension.html0000644000175000017500000001610111156164734022006 00000000000000 block-progression-dimension

block-progression-dimension

block-progression-dimension

Description

Details

FoPropertyBlockProgressionDimension

typedef struct _FoPropertyBlockProgressionDimension FoPropertyBlockProgressionDimension;


FoPropertyBlockProgressionDimensionClass

typedef struct _FoPropertyBlockProgressionDimensionClass FoPropertyBlockProgressionDimensionClass;


fo_property_block_progression_dimension_new ()

FoProperty*         fo_property_block_progression_dimension_new
                                                        (void);

Creates a new FoPropertyBlockProgressionDimension initialized to default value.

Returns :

the new FoPropertyBlockProgressionDimension.

fo_property_block_progression_dimension_get_initial ()

FoProperty*         fo_property_block_progression_dimension_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-block-progression-dimensionmaximum.html0000644000175000017500000001661011156164734023411 00000000000000 block-progression-dimension.maximum

block-progression-dimension.maximum

block-progression-dimension.maximum

Description

Details

FoPropertyBlockProgressionDimensionMaximum

typedef struct _FoPropertyBlockProgressionDimensionMaximum FoPropertyBlockProgressionDimensionMaximum;


FoPropertyBlockProgressionDimensionMaximumClass

typedef struct _FoPropertyBlockProgressionDimensionMaximumClass FoPropertyBlockProgressionDimensionMaximumClass;


fo_property_block_progression_dimension_maximum_new ()

FoProperty*         fo_property_block_progression_dimension_maximum_new
                                                        (void);

Creates a new FoPropertyBlockProgressionDimensionMaximum initialized to default value.


fo_property_block_progression_dimension_maximum_get_initial ()

FoProperty*         fo_property_block_progression_dimension_maximum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-block-progression-dimensionminimum.html0000644000175000017500000001670711156164734023416 00000000000000 block-progression-dimension.minimum

block-progression-dimension.minimum

block-progression-dimension.minimum

Description

Details

FoPropertyBlockProgressionDimensionMinimum

typedef struct _FoPropertyBlockProgressionDimensionMinimum FoPropertyBlockProgressionDimensionMinimum;


FoPropertyBlockProgressionDimensionMinimumClass

typedef struct _FoPropertyBlockProgressionDimensionMinimumClass FoPropertyBlockProgressionDimensionMinimumClass;


fo_property_block_progression_dimension_minimum_new ()

FoProperty*         fo_property_block_progression_dimension_minimum_new
                                                        (void);

Creates a new FoPropertyBlockProgressionDimensionMinimum initialized to default value.


fo_property_block_progression_dimension_minimum_get_initial ()

FoProperty*         fo_property_block_progression_dimension_minimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-block-progression-dimensionoptimum.html0000644000175000017500000001673511156164734023436 00000000000000 block-progression-dimension.optimum

block-progression-dimension.optimum

block-progression-dimension.optimum

Description

Details

FoPropertyBlockProgressionDimensionOptimum

typedef struct _FoPropertyBlockProgressionDimensionOptimum FoPropertyBlockProgressionDimensionOptimum;


FoPropertyBlockProgressionDimensionOptimumClass

typedef struct _FoPropertyBlockProgressionDimensionOptimumClass FoPropertyBlockProgressionDimensionOptimumClass;


fo_property_block_progression_dimension_optimum_new ()

FoProperty*         fo_property_block_progression_dimension_optimum_new
                                                        (void);

Creates a new FoPropertyBlockProgressionDimensionOptimum initialized to default value.


fo_property_block_progression_dimension_optimum_get_initial ()

FoProperty*         fo_property_block_progression_dimension_optimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-after-color.html0000644000175000017500000001475111156164734020062 00000000000000 border-after-color

border-after-color

border-after-color

Description

Details

FoPropertyBorderAfterColor

typedef struct _FoPropertyBorderAfterColor FoPropertyBorderAfterColor;


FoPropertyBorderAfterColorClass

typedef struct _FoPropertyBorderAfterColorClass FoPropertyBorderAfterColorClass;


fo_property_border_after_color_new ()

FoProperty*         fo_property_border_after_color_new  (void);

Creates a new FoPropertyBorderAfterColor initialized to default value.

Returns :

the new FoPropertyBorderAfterColor.

fo_property_border_after_color_get_initial ()

FoProperty*         fo_property_border_after_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-after-precedence.html0000644000175000017500000001553411156164734021041 00000000000000 border-after-precedence

border-after-precedence

border-after-precedence

Description

Details

FoPropertyBorderAfterPrecedence

typedef struct _FoPropertyBorderAfterPrecedence FoPropertyBorderAfterPrecedence;


FoPropertyBorderAfterPrecedenceClass

typedef struct _FoPropertyBorderAfterPrecedenceClass FoPropertyBorderAfterPrecedenceClass;


fo_property_border_after_precedence_new ()

FoProperty*         fo_property_border_after_precedence_new
                                                        (void);

Creates a new FoPropertyBorderAfterPrecedence initialized to default value.

Returns :

the new FoPropertyBorderAfterPrecedence.

fo_property_border_after_precedence_get_initial ()

FoProperty*         fo_property_border_after_precedence_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-after-style.html0000644000175000017500000001501511156164734020076 00000000000000 border-after-style

border-after-style

border-after-style

Description

Details

FoPropertyBorderAfterStyle

typedef struct _FoPropertyBorderAfterStyle FoPropertyBorderAfterStyle;


FoPropertyBorderAfterStyleClass

typedef struct _FoPropertyBorderAfterStyleClass FoPropertyBorderAfterStyleClass;


fo_property_border_after_style_new ()

FoProperty*         fo_property_border_after_style_new  (void);

Creates a new FoPropertyBorderAfterStyle initialized to default value.

Returns :

the new FoPropertyBorderAfterStyle.

fo_property_border_after_style_get_initial ()

FoProperty*         fo_property_border_after_style_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-after-width.html0000644000175000017500000001500111156164734020050 00000000000000 border-after-width

border-after-width

border-after-width

Description

Details

FoPropertyBorderAfterWidth

typedef struct _FoPropertyBorderAfterWidth FoPropertyBorderAfterWidth;


FoPropertyBorderAfterWidthClass

typedef struct _FoPropertyBorderAfterWidthClass FoPropertyBorderAfterWidthClass;


fo_property_border_after_width_new ()

FoProperty*         fo_property_border_after_width_new  (void);

Creates a new FoPropertyBorderAfterWidth initialized to default value.

Returns :

the new FoPropertyBorderAfterWidth.

fo_property_border_after_width_get_initial ()

FoProperty*         fo_property_border_after_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-before-color.html0000644000175000017500000001507611156164734020224 00000000000000 border-before-color

border-before-color

border-before-color

Description

Details

FoPropertyBorderBeforeColor

typedef struct _FoPropertyBorderBeforeColor FoPropertyBorderBeforeColor;


FoPropertyBorderBeforeColorClass

typedef struct _FoPropertyBorderBeforeColorClass FoPropertyBorderBeforeColorClass;


fo_property_border_before_color_new ()

FoProperty*         fo_property_border_before_color_new (void);

Creates a new FoPropertyBorderBeforeColor initialized to default value.

Returns :

the new FoPropertyBorderBeforeColor.

fo_property_border_before_color_get_initial ()

FoProperty*         fo_property_border_before_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-before-precedence.html0000644000175000017500000001562211156164734021200 00000000000000 border-before-precedence

border-before-precedence

border-before-precedence

Description

Details

FoPropertyBorderBeforePrecedence

typedef struct _FoPropertyBorderBeforePrecedence FoPropertyBorderBeforePrecedence;


FoPropertyBorderBeforePrecedenceClass

typedef struct _FoPropertyBorderBeforePrecedenceClass FoPropertyBorderBeforePrecedenceClass;


fo_property_border_before_precedence_new ()

FoProperty*         fo_property_border_before_precedence_new
                                                        (void);

Creates a new FoPropertyBorderBeforePrecedence initialized to default value.

Returns :

the new FoPropertyBorderBeforePrecedence.

fo_property_border_before_precedence_get_initial ()

FoProperty*         fo_property_border_before_precedence_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-before-style.html0000644000175000017500000001510111156164734020233 00000000000000 border-before-style

border-before-style

border-before-style

Description

Details

FoPropertyBorderBeforeStyle

typedef struct _FoPropertyBorderBeforeStyle FoPropertyBorderBeforeStyle;


FoPropertyBorderBeforeStyleClass

typedef struct _FoPropertyBorderBeforeStyleClass FoPropertyBorderBeforeStyleClass;


fo_property_border_before_style_new ()

FoProperty*         fo_property_border_before_style_new (void);

Creates a new FoPropertyBorderBeforeStyle initialized to default value.

Returns :

the new FoPropertyBorderBeforeStyle.

fo_property_border_before_style_get_initial ()

FoProperty*         fo_property_border_before_style_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-before-width.html0000644000175000017500000001504011156164734020214 00000000000000 border-before-width

border-before-width

border-before-width

Description

Details

FoPropertyBorderBeforeWidth

typedef struct _FoPropertyBorderBeforeWidth FoPropertyBorderBeforeWidth;


FoPropertyBorderBeforeWidthClass

typedef struct _FoPropertyBorderBeforeWidthClass FoPropertyBorderBeforeWidthClass;


fo_property_border_before_width_new ()

FoProperty*         fo_property_border_before_width_new (void);

Creates a new FoPropertyBorderBeforeWidth initialized to default value.

Returns :

the new FoPropertyBorderBeforeWidth.

fo_property_border_before_width_get_initial ()

FoProperty*         fo_property_border_before_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-bottom-color.html0000644000175000017500000001504011156164734020255 00000000000000 border-bottom-color

border-bottom-color

border-bottom-color

Description

Details

FoPropertyBorderBottomColor

typedef struct _FoPropertyBorderBottomColor FoPropertyBorderBottomColor;


FoPropertyBorderBottomColorClass

typedef struct _FoPropertyBorderBottomColorClass FoPropertyBorderBottomColorClass;


fo_property_border_bottom_color_new ()

FoProperty*         fo_property_border_bottom_color_new (void);

Creates a new FoPropertyBorderBottomColor initialized to default value.

Returns :

the new FoPropertyBorderBottomColor.

fo_property_border_bottom_color_get_initial ()

FoProperty*         fo_property_border_bottom_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-bottom.html0000644000175000017500000001446211156164734017150 00000000000000 border-bottom

border-bottom

border-bottom

Description

Details

FoPropertyBorderBottom

typedef struct _FoPropertyBorderBottom FoPropertyBorderBottom;


FoPropertyBorderBottomClass

typedef struct _FoPropertyBorderBottomClass FoPropertyBorderBottomClass;


fo_property_border_bottom_new ()

FoProperty*         fo_property_border_bottom_new       (void);

Creates a new FoPropertyBorderBottom initialized to default value.

Returns :

the new FoPropertyBorderBottom.

fo_property_border_bottom_get_initial ()

FoProperty*         fo_property_border_bottom_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-bottom-style.html0000644000175000017500000001506211156164734020303 00000000000000 border-bottom-style

border-bottom-style

border-bottom-style

Description

Details

FoPropertyBorderBottomStyle

typedef struct _FoPropertyBorderBottomStyle FoPropertyBorderBottomStyle;


FoPropertyBorderBottomStyleClass

typedef struct _FoPropertyBorderBottomStyleClass FoPropertyBorderBottomStyleClass;


fo_property_border_bottom_style_new ()

FoProperty*         fo_property_border_bottom_style_new (void);

Creates a new FoPropertyBorderBottomStyle initialized to default value.

Returns :

the new FoPropertyBorderBottomStyle.

fo_property_border_bottom_style_get_initial ()

FoProperty*         fo_property_border_bottom_style_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-bottom-width.html0000644000175000017500000001504611156164734020264 00000000000000 border-bottom-width

border-bottom-width

border-bottom-width

Description

Details

FoPropertyBorderBottomWidth

typedef struct _FoPropertyBorderBottomWidth FoPropertyBorderBottomWidth;


FoPropertyBorderBottomWidthClass

typedef struct _FoPropertyBorderBottomWidthClass FoPropertyBorderBottomWidthClass;


fo_property_border_bottom_width_new ()

FoProperty*         fo_property_border_bottom_width_new (void);

Creates a new FoPropertyBorderBottomWidth initialized to default value.

Returns :

the new FoPropertyBorderBottomWidth.

fo_property_border_bottom_width_get_initial ()

FoProperty*         fo_property_border_bottom_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-collapse.html0000644000175000017500000001463511156164734017450 00000000000000 border-collapse

border-collapse

border-collapse

Description

Details

FoPropertyBorderCollapse

typedef struct _FoPropertyBorderCollapse FoPropertyBorderCollapse;


FoPropertyBorderCollapseClass

typedef struct _FoPropertyBorderCollapseClass FoPropertyBorderCollapseClass;


fo_property_border_collapse_new ()

FoProperty*         fo_property_border_collapse_new     (void);

Creates a new FoPropertyBorderCollapse initialized to default value.

Returns :

the new FoPropertyBorderCollapse.

fo_property_border_collapse_get_initial ()

FoProperty*         fo_property_border_collapse_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-end-color.html0000644000175000017500000001467511156164734017534 00000000000000 border-end-color

border-end-color

border-end-color

Description

Details

FoPropertyBorderEndColor

typedef struct _FoPropertyBorderEndColor FoPropertyBorderEndColor;


FoPropertyBorderEndColorClass

typedef struct _FoPropertyBorderEndColorClass FoPropertyBorderEndColorClass;


fo_property_border_end_color_new ()

FoProperty*         fo_property_border_end_color_new    (void);

Creates a new FoPropertyBorderEndColor initialized to default value.

Returns :

the new FoPropertyBorderEndColor.

fo_property_border_end_color_get_initial ()

FoProperty*         fo_property_border_end_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-end-precedence.html0000644000175000017500000001536011156164734020503 00000000000000 border-end-precedence

border-end-precedence

border-end-precedence

Description

Details

FoPropertyBorderEndPrecedence

typedef struct _FoPropertyBorderEndPrecedence FoPropertyBorderEndPrecedence;


FoPropertyBorderEndPrecedenceClass

typedef struct _FoPropertyBorderEndPrecedenceClass FoPropertyBorderEndPrecedenceClass;


fo_property_border_end_precedence_new ()

FoProperty*         fo_property_border_end_precedence_new
                                                        (void);

Creates a new FoPropertyBorderEndPrecedence initialized to default value.

Returns :

the new FoPropertyBorderEndPrecedence.

fo_property_border_end_precedence_get_initial ()

FoProperty*         fo_property_border_end_precedence_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-end-style.html0000644000175000017500000001464511156164734017553 00000000000000 border-end-style

border-end-style

border-end-style

Description

Details

FoPropertyBorderEndStyle

typedef struct _FoPropertyBorderEndStyle FoPropertyBorderEndStyle;


FoPropertyBorderEndStyleClass

typedef struct _FoPropertyBorderEndStyleClass FoPropertyBorderEndStyleClass;


fo_property_border_end_style_new ()

FoProperty*         fo_property_border_end_style_new    (void);

Creates a new FoPropertyBorderEndStyle initialized to default value.

Returns :

the new FoPropertyBorderEndStyle.

fo_property_border_end_style_get_initial ()

FoProperty*         fo_property_border_end_style_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-end-width.html0000644000175000017500000001460711156164734017530 00000000000000 border-end-width

border-end-width

border-end-width

Description

Details

FoPropertyBorderEndWidth

typedef struct _FoPropertyBorderEndWidth FoPropertyBorderEndWidth;


FoPropertyBorderEndWidthClass

typedef struct _FoPropertyBorderEndWidthClass FoPropertyBorderEndWidthClass;


fo_property_border_end_width_new ()

FoProperty*         fo_property_border_end_width_new    (void);

Creates a new FoPropertyBorderEndWidth initialized to default value.

Returns :

the new FoPropertyBorderEndWidth.

fo_property_border_end_width_get_initial ()

FoProperty*         fo_property_border_end_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border.html0000644000175000017500000001371111156164734015642 00000000000000 border

border

border

Description

Details

FoPropertyBorder

typedef struct _FoPropertyBorder FoPropertyBorder;


FoPropertyBorderClass

typedef struct _FoPropertyBorderClass FoPropertyBorderClass;


fo_property_border_new ()

FoProperty*         fo_property_border_new              (void);

Creates a new FoPropertyBorder initialized to default value.

Returns :

the new FoPropertyBorder.

fo_property_border_get_initial ()

FoProperty*         fo_property_border_get_initial      (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-left-color.html0000644000175000017500000001467011156164734017713 00000000000000 border-left-color

border-left-color

border-left-color

Description

Details

FoPropertyBorderLeftColor

typedef struct _FoPropertyBorderLeftColor FoPropertyBorderLeftColor;


FoPropertyBorderLeftColorClass

typedef struct _FoPropertyBorderLeftColorClass FoPropertyBorderLeftColorClass;


fo_property_border_left_color_new ()

FoProperty*         fo_property_border_left_color_new   (void);

Creates a new FoPropertyBorderLeftColor initialized to default value.

Returns :

the new FoPropertyBorderLeftColor.

fo_property_border_left_color_get_initial ()

FoProperty*         fo_property_border_left_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-left.html0000644000175000017500000001412711156164734016574 00000000000000 border-left

border-left

border-left

Description

Details

FoPropertyBorderLeft

typedef struct _FoPropertyBorderLeft FoPropertyBorderLeft;


FoPropertyBorderLeftClass

typedef struct _FoPropertyBorderLeftClass FoPropertyBorderLeftClass;


fo_property_border_left_new ()

FoProperty*         fo_property_border_left_new         (void);

Creates a new FoPropertyBorderLeft initialized to default value.

Returns :

the new FoPropertyBorderLeft.

fo_property_border_left_get_initial ()

FoProperty*         fo_property_border_left_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-left-style.html0000644000175000017500000001471211156164734017732 00000000000000 border-left-style

border-left-style

border-left-style

Description

Details

FoPropertyBorderLeftStyle

typedef struct _FoPropertyBorderLeftStyle FoPropertyBorderLeftStyle;


FoPropertyBorderLeftStyleClass

typedef struct _FoPropertyBorderLeftStyleClass FoPropertyBorderLeftStyleClass;


fo_property_border_left_style_new ()

FoProperty*         fo_property_border_left_style_new   (void);

Creates a new FoPropertyBorderLeftStyle initialized to default value.

Returns :

the new FoPropertyBorderLeftStyle.

fo_property_border_left_style_get_initial ()

FoProperty*         fo_property_border_left_style_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-left-width.html0000644000175000017500000001631611156164734017713 00000000000000 border-left-width

border-left-width

border-left-width — 'border-left-width' property

Object Hierarchy

  GObject
   +----FoObject
         +----FoProperty
               +----FoPropertyBorderLeftWidth

Description

Inherited: FALSE

Shorthand: FALSE

Value: <border-width> | inherit

Initial value: medium

Details

FoPropertyBorderLeftWidth

typedef struct _FoPropertyBorderLeftWidth FoPropertyBorderLeftWidth;


FoPropertyBorderLeftWidthClass

typedef struct _FoPropertyBorderLeftWidthClass FoPropertyBorderLeftWidthClass;


fo_property_border_left_width_new ()

FoProperty*         fo_property_border_left_width_new   (void);

Creates a new FoPropertyBorderLeftWidth initialized to default value.

Returns :

the new FoPropertyBorderLeftWidth.

fo_property_border_left_width_get_initial ()

FoProperty*         fo_property_border_left_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-right-color.html0000644000175000017500000001475411156164734020101 00000000000000 border-right-color

border-right-color

border-right-color

Description

Details

FoPropertyBorderRightColor

typedef struct _FoPropertyBorderRightColor FoPropertyBorderRightColor;


FoPropertyBorderRightColorClass

typedef struct _FoPropertyBorderRightColorClass FoPropertyBorderRightColorClass;


fo_property_border_right_color_new ()

FoProperty*         fo_property_border_right_color_new  (void);

Creates a new FoPropertyBorderRightColor initialized to default value.

Returns :

the new FoPropertyBorderRightColor.

fo_property_border_right_color_get_initial ()

FoProperty*         fo_property_border_right_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-right.html0000644000175000017500000001437311156164734016762 00000000000000 border-right

border-right

border-right

Description

Details

FoPropertyBorderRight

typedef struct _FoPropertyBorderRight FoPropertyBorderRight;


FoPropertyBorderRightClass

typedef struct _FoPropertyBorderRightClass FoPropertyBorderRightClass;


fo_property_border_right_new ()

FoProperty*         fo_property_border_right_new        (void);

Creates a new FoPropertyBorderRight initialized to default value.

Returns :

the new FoPropertyBorderRight.

fo_property_border_right_get_initial ()

FoProperty*         fo_property_border_right_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-right-style.html0000644000175000017500000001477611156164734020127 00000000000000 border-right-style

border-right-style

border-right-style

Description

Details

FoPropertyBorderRightStyle

typedef struct _FoPropertyBorderRightStyle FoPropertyBorderRightStyle;


FoPropertyBorderRightStyleClass

typedef struct _FoPropertyBorderRightStyleClass FoPropertyBorderRightStyleClass;


fo_property_border_right_style_new ()

FoProperty*         fo_property_border_right_style_new  (void);

Creates a new FoPropertyBorderRightStyle initialized to default value.

Returns :

the new FoPropertyBorderRightStyle.

fo_property_border_right_style_get_initial ()

FoProperty*         fo_property_border_right_style_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-right-width.html0000644000175000017500000001477311156164734020103 00000000000000 border-right-width

border-right-width

border-right-width

Description

Details

FoPropertyBorderRightWidth

typedef struct _FoPropertyBorderRightWidth FoPropertyBorderRightWidth;


FoPropertyBorderRightWidthClass

typedef struct _FoPropertyBorderRightWidthClass FoPropertyBorderRightWidthClass;


fo_property_border_right_width_new ()

FoProperty*         fo_property_border_right_width_new  (void);

Creates a new FoPropertyBorderRightWidth initialized to default value.

Returns :

the new FoPropertyBorderRightWidth.

fo_property_border_right_width_get_initial ()

FoProperty*         fo_property_border_right_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-separation.html0000644000175000017500000001474411156164734020014 00000000000000 border-separation

border-separation

border-separation

Description

Details

FoPropertyBorderSeparation

typedef struct _FoPropertyBorderSeparation FoPropertyBorderSeparation;


FoPropertyBorderSeparationClass

typedef struct _FoPropertyBorderSeparationClass FoPropertyBorderSeparationClass;


fo_property_border_separation_new ()

FoProperty*         fo_property_border_separation_new   (void);

Creates a new FoPropertyBorderSeparation initialized to default value.

Returns :

the new FoPropertyBorderSeparation.

fo_property_border_separation_get_initial ()

FoProperty*         fo_property_border_separation_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-start-color.html0000644000175000017500000001501211156164734020105 00000000000000 border-start-color

border-start-color

border-start-color

Description

Details

FoPropertyBorderStartColor

typedef struct _FoPropertyBorderStartColor FoPropertyBorderStartColor;


FoPropertyBorderStartColorClass

typedef struct _FoPropertyBorderStartColorClass FoPropertyBorderStartColorClass;


fo_property_border_start_color_new ()

FoProperty*         fo_property_border_start_color_new  (void);

Creates a new FoPropertyBorderStartColor initialized to default value.

Returns :

the new FoPropertyBorderStartColor.

fo_property_border_start_color_get_initial ()

FoProperty*         fo_property_border_start_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-start-style.html0000644000175000017500000001501511156164734020132 00000000000000 border-start-style

border-start-style

border-start-style

Description

Details

FoPropertyBorderStartStyle

typedef struct _FoPropertyBorderStartStyle FoPropertyBorderStartStyle;


FoPropertyBorderStartStyleClass

typedef struct _FoPropertyBorderStartStyleClass FoPropertyBorderStartStyleClass;


fo_property_border_start_style_new ()

FoProperty*         fo_property_border_start_style_new  (void);

Creates a new FoPropertyBorderStartStyle initialized to default value.

Returns :

the new FoPropertyBorderStartStyle.

fo_property_border_start_style_get_initial ()

FoProperty*         fo_property_border_start_style_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-start-precedence.html0000644000175000017500000001553411156164734021075 00000000000000 border-start-precedence

border-start-precedence

border-start-precedence

Description

Details

FoPropertyBorderStartPrecedence

typedef struct _FoPropertyBorderStartPrecedence FoPropertyBorderStartPrecedence;


FoPropertyBorderStartPrecedenceClass

typedef struct _FoPropertyBorderStartPrecedenceClass FoPropertyBorderStartPrecedenceClass;


fo_property_border_start_precedence_new ()

FoProperty*         fo_property_border_start_precedence_new
                                                        (void);

Creates a new FoPropertyBorderStartPrecedence initialized to default value.

Returns :

the new FoPropertyBorderStartPrecedence.

fo_property_border_start_precedence_get_initial ()

FoProperty*         fo_property_border_start_precedence_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-start-width.html0000644000175000017500000001475411156164734020122 00000000000000 border-start-width

border-start-width

border-start-width

Description

Details

FoPropertyBorderStartWidth

typedef struct _FoPropertyBorderStartWidth FoPropertyBorderStartWidth;


FoPropertyBorderStartWidthClass

typedef struct _FoPropertyBorderStartWidthClass FoPropertyBorderStartWidthClass;


fo_property_border_start_width_new ()

FoProperty*         fo_property_border_start_width_new  (void);

Creates a new FoPropertyBorderStartWidth initialized to default value.

Returns :

the new FoPropertyBorderStartWidth.

fo_property_border_start_width_get_initial ()

FoProperty*         fo_property_border_start_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-style.html0000644000175000017500000001434611156164734017005 00000000000000 border-style

border-style

border-style

Description

Details

FoPropertyBorderStyle

typedef struct _FoPropertyBorderStyle FoPropertyBorderStyle;


FoPropertyBorderStyleClass

typedef struct _FoPropertyBorderStyleClass FoPropertyBorderStyleClass;


fo_property_border_style_new ()

FoProperty*         fo_property_border_style_new        (void);

Creates a new FoPropertyBorderStyle initialized to default value.

Returns :

the new FoPropertyBorderStyle.

fo_property_border_style_get_initial ()

FoProperty*         fo_property_border_style_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-top-color.html0000644000175000017500000001460411156164734017560 00000000000000 border-top-color

border-top-color

border-top-color

Description

Details

FoPropertyBorderTopColor

typedef struct _FoPropertyBorderTopColor FoPropertyBorderTopColor;


FoPropertyBorderTopColorClass

typedef struct _FoPropertyBorderTopColorClass FoPropertyBorderTopColorClass;


fo_property_border_top_color_new ()

FoProperty*         fo_property_border_top_color_new    (void);

Creates a new FoPropertyBorderTopColor initialized to default value.

Returns :

the new FoPropertyBorderTopColor.

fo_property_border_top_color_get_initial ()

FoProperty*         fo_property_border_top_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-top.html0000644000175000017500000001403411156164734016441 00000000000000 border-top

border-top

border-top

Description

Details

FoPropertyBorderTop

typedef struct _FoPropertyBorderTop FoPropertyBorderTop;


FoPropertyBorderTopClass

typedef struct _FoPropertyBorderTopClass FoPropertyBorderTopClass;


fo_property_border_top_new ()

FoProperty*         fo_property_border_top_new          (void);

Creates a new FoPropertyBorderTop initialized to default value.

Returns :

the new FoPropertyBorderTop.

fo_property_border_top_get_initial ()

FoProperty*         fo_property_border_top_get_initial  (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-top-style.html0000644000175000017500000001462611156164734017606 00000000000000 border-top-style

border-top-style

border-top-style

Description

Details

FoPropertyBorderTopStyle

typedef struct _FoPropertyBorderTopStyle FoPropertyBorderTopStyle;


FoPropertyBorderTopStyleClass

typedef struct _FoPropertyBorderTopStyleClass FoPropertyBorderTopStyleClass;


fo_property_border_top_style_new ()

FoProperty*         fo_property_border_top_style_new    (void);

Creates a new FoPropertyBorderTopStyle initialized to default value.

Returns :

the new FoPropertyBorderTopStyle.

fo_property_border_top_style_get_initial ()

FoProperty*         fo_property_border_top_style_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-top-width.html0000644000175000017500000001461211156164734017560 00000000000000 border-top-width

border-top-width

border-top-width

Description

Details

FoPropertyBorderTopWidth

typedef struct _FoPropertyBorderTopWidth FoPropertyBorderTopWidth;


FoPropertyBorderTopWidthClass

typedef struct _FoPropertyBorderTopWidthClass FoPropertyBorderTopWidthClass;


fo_property_border_top_width_new ()

FoProperty*         fo_property_border_top_width_new    (void);

Creates a new FoPropertyBorderTopWidth initialized to default value.

Returns :

the new FoPropertyBorderTopWidth.

fo_property_border_top_width_get_initial ()

FoProperty*         fo_property_border_top_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-border-width.html0000644000175000017500000001434311156164734016761 00000000000000 border-width

border-width

border-width

Description

Details

FoPropertyBorderWidth

typedef struct _FoPropertyBorderWidth FoPropertyBorderWidth;


FoPropertyBorderWidthClass

typedef struct _FoPropertyBorderWidthClass FoPropertyBorderWidthClass;


fo_property_border_width_new ()

FoProperty*         fo_property_border_width_new        (void);

Creates a new FoPropertyBorderWidth initialized to default value.

Returns :

the new FoPropertyBorderWidth.

fo_property_border_width_get_initial ()

FoProperty*         fo_property_border_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-break-after.html0000644000175000017500000001407411156164734016553 00000000000000 break-after

break-after

break-after

Description

Details

FoPropertyBreakAfter

typedef struct _FoPropertyBreakAfter FoPropertyBreakAfter;


FoPropertyBreakAfterClass

typedef struct _FoPropertyBreakAfterClass FoPropertyBreakAfterClass;


fo_property_break_after_new ()

FoProperty*         fo_property_break_after_new         (void);

Creates a new FoPropertyBreakAfter initialized to default value.

Returns :

the new FoPropertyBreakAfter.

fo_property_break_after_get_initial ()

FoProperty*         fo_property_break_after_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-break-before.html0000644000175000017500000001431611156164734016713 00000000000000 break-before

break-before

break-before

Description

Details

FoPropertyBreakBefore

typedef struct _FoPropertyBreakBefore FoPropertyBreakBefore;


FoPropertyBreakBeforeClass

typedef struct _FoPropertyBreakBeforeClass FoPropertyBreakBeforeClass;


fo_property_break_before_new ()

FoProperty*         fo_property_break_before_new        (void);

Creates a new FoPropertyBreakBefore initialized to default value.

Returns :

the new FoPropertyBreakBefore.

fo_property_break_before_get_initial ()

FoProperty*         fo_property_break_before_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-character.html0000644000175000017500000001374011156164734016323 00000000000000 character

character

character

Description

Details

FoPropertyCharacter

typedef struct _FoPropertyCharacter FoPropertyCharacter;


FoPropertyCharacterClass

typedef struct _FoPropertyCharacterClass FoPropertyCharacterClass;


fo_property_character_new ()

FoProperty*         fo_property_character_new           (void);

Creates a new FoPropertyCharacter initialized to default value.

Returns :

the new FoPropertyCharacter.

fo_property_character_get_initial ()

FoProperty*         fo_property_character_get_initial   (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-clip.html0000644000175000017500000001337611156164734015323 00000000000000 clip

clip

clip

Description

Details

FoPropertyClip

typedef struct _FoPropertyClip FoPropertyClip;


FoPropertyClipClass

typedef struct _FoPropertyClipClass FoPropertyClipClass;


fo_property_clip_new ()

FoProperty*         fo_property_clip_new                (void);

Creates a new FoPropertyClip initialized to default value.

Returns :

the new FoPropertyClip.

fo_property_clip_get_initial ()

FoProperty*         fo_property_clip_get_initial        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-code-rules.html0000644000175000017500000001121611156164734016425 00000000000000 Rules of the Code

Rules of the Code

xmlroff Code Rules

Abstract

Coding conventions for xmlroff code

Abbreviations

The following abbreviations are used in file, variable, function, and parameter names.

Note

Formatting Object and property names are NOT abbreviated when used in class and property names. For example, “block-progression-dimension†is abbreviated to “bpdim†in function names, but when used as a property name (in the GObject sense), it remains “block-progression-dimensionâ€

Abbreviation Term
bp block-progression
bpd block-progression-direction
bpdim block-progression-dimension
cond conditional
condity conditionality
expr expression
ip inline-progression
ipd inline-progression-direction
ipdim inline-progression-dimension

Compare pointers to NULL

From Section 17.1, Boolean Expressions, of “Code Complete†by Steve McConnell.

For pointers, write:

while (buffer != NULL) ...

rather than

while (buffer) ...

xmlroff-0.6.2/docs/html/xmlroff-color.html0000644000175000017500000001346311156164734015507 00000000000000 color

color

color

Description

Details

FoPropertyColor

typedef struct _FoPropertyColor FoPropertyColor;


FoPropertyColorClass

typedef struct _FoPropertyColorClass FoPropertyColorClass;


fo_property_color_new ()

FoProperty*         fo_property_color_new               (void);

Creates a new FoPropertyColor initialized to default value.

Returns :

the new FoPropertyColor.

fo_property_color_get_initial ()

FoProperty*         fo_property_color_get_initial       (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-color-profile.html0000644000175000017500000002214311156164734017140 00000000000000 color-profile

color-profile

color-profile

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoColorProfile

Properties

  "src"                      FoProperty*           : Read

Description

Details

FoColorProfile

typedef struct _FoColorProfile FoColorProfile;


FoColorProfileClass

typedef struct _FoColorProfileClass FoColorProfileClass;


fo_color_profile_new ()

FoFo*               fo_color_profile_new                (void);

Creates a new FoColorProfile initialized to default value.

Returns :

the new FoColorProfile.

fo_color_profile_get_src ()

FoProperty*         fo_color_profile_get_src            (FoFo *fo_fo);

Gets the "src" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "src" property value.

fo_color_profile_set_src ()

void                fo_color_profile_set_src            (FoFo *fo_fo,
                                                         FoProperty *new_src);

Sets the "src" property of fo_fo to new_src

fo_fo :

The FoFo object

new_src :

The new "src" property value

Property Details

The "src" property

  "src"                      FoProperty*           : Read

Src property.

xmlroff-0.6.2/docs/html/xmlroff-column-number.html0000644000175000017500000001436311156164734017154 00000000000000 column-number

column-number

column-number

Description

Details

FoPropertyColumnNumber

typedef struct _FoPropertyColumnNumber FoPropertyColumnNumber;


FoPropertyColumnNumberClass

typedef struct _FoPropertyColumnNumberClass FoPropertyColumnNumberClass;


fo_property_column_number_new ()

FoProperty*         fo_property_column_number_new       (void);

Creates a new FoPropertyColumnNumber initialized to default value.

Returns :

the new FoPropertyColumnNumber.

fo_property_column_number_get_initial ()

FoProperty*         fo_property_column_number_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-column-width.html0000644000175000017500000002262611156164734017004 00000000000000 column-width

column-width

column-width

Description

Details

FoPropertyColumnWidth

typedef struct _FoPropertyColumnWidth FoPropertyColumnWidth;


FoPropertyColumnWidthClass

typedef struct _FoPropertyColumnWidthClass FoPropertyColumnWidthClass;


fo_property_column_width_new ()

FoProperty*         fo_property_column_width_new        (void);

Creates a new FoPropertyColumnWidth initialized to default value.

Returns :

the new FoPropertyColumnWidth

fo_property_column_width_get_initial ()

FoProperty*         fo_property_column_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.

fo_property_column_width_resolve_percent ()

FoDatatype*         fo_property_column_width_resolve_percent
                                                        (gdouble percentage,
                                                         const FoDatatype *font_size,
                                                         const FoFo *fo_node,
                                                         const FoContext *context,
                                                         GError **error);

Resolves percentage values in 'column-width' property value expressions.

percentage :

The percentage.

font_size :

Current font-size property value.

fo_node :

Current FoFo node.

context :

Current FoContext.

error :

GError.

Returns :

Resolved value for percentage.
xmlroff-0.6.2/docs/html/xmlroff-conditional-page-master-reference.html0000644000175000017500000002550511156164734023033 00000000000000 conditional-page-master-reference

conditional-page-master-reference

conditional-page-master-reference

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoConditionalPageMasterReference

Properties

  "master-reference"         FoProperty*           : Read

Description

Details

FoConditionalPageMasterReference

typedef struct _FoConditionalPageMasterReference FoConditionalPageMasterReference;


FoConditionalPageMasterReferenceClass

typedef struct _FoConditionalPageMasterReferenceClass FoConditionalPageMasterReferenceClass;


fo_conditional_page_master_reference_new ()

FoFo*               fo_conditional_page_master_reference_new
                                                        (void);

Creates a new FoConditionalPageMasterReference initialized to default value.

Returns :

the new FoConditionalPageMasterReference.

fo_conditional_page_master_reference_get_master_reference ()

FoProperty*         fo_conditional_page_master_reference_get_master_reference
                                                        (FoFo *fo_fo);

Gets the "master-reference" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "master-reference" property value.

fo_conditional_page_master_reference_set_master_reference ()

void                fo_conditional_page_master_reference_set_master_reference
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_master_reference);

Sets the "master-reference" property of fo_fo to new_master_reference

fo_fo :

The FoFo object

new_master_reference :

The new "master-reference" property value

Property Details

The "master-reference" property

  "master-reference"         FoProperty*           : Read

Master Reference property.

xmlroff-0.6.2/docs/html/xmlroff-content-height.html0000644000175000017500000001446611156164734017315 00000000000000 content-height

content-height

content-height

Description

Details

FoPropertyContentHeight

typedef struct _FoPropertyContentHeight FoPropertyContentHeight;


FoPropertyContentHeightClass

typedef struct _FoPropertyContentHeightClass FoPropertyContentHeightClass;


fo_property_content_height_new ()

FoProperty*         fo_property_content_height_new      (void);

Creates a new FoPropertyContentHeight initialized to default value.

Returns :

the new FoPropertyContentHeight.

fo_property_content_height_get_initial ()

FoProperty*         fo_property_content_height_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-content-type.html0000644000175000017500000001434311156164734017020 00000000000000 content-type

content-type

content-type

Description

Details

FoPropertyContentType

typedef struct _FoPropertyContentType FoPropertyContentType;


FoPropertyContentTypeClass

typedef struct _FoPropertyContentTypeClass FoPropertyContentTypeClass;


fo_property_content_type_new ()

FoProperty*         fo_property_content_type_new        (void);

Creates a new FoPropertyContentType initialized to default value.

Returns :

the new FoPropertyContentType.

fo_property_content_type_get_initial ()

FoProperty*         fo_property_content_type_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-content-width.html0000644000175000017500000001437711156164734017165 00000000000000 content-width

content-width

content-width

Description

Details

FoPropertyContentWidth

typedef struct _FoPropertyContentWidth FoPropertyContentWidth;


FoPropertyContentWidthClass

typedef struct _FoPropertyContentWidthClass FoPropertyContentWidthClass;


fo_property_content_width_new ()

FoProperty*         fo_property_content_width_new       (void);

Creates a new FoPropertyContentWidth initialized to default value.

Returns :

the new FoPropertyContentWidth.

fo_property_content_width_get_initial ()

FoProperty*         fo_property_content_width_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff.css0000644000175000017500000000055411156164734014214 00000000000000td.basic { background-color: #99BBFF } td.extended { background-color: #CCDDFF } td.complete { background-color: #DDEEFF } td.yes { background-color: #ADFF2F; text-align: center } td.no { background-color: #CD5C5C; text-align: center } td.na { background-color: #B5B5B5; text-align: center } xmlroff-0.6.2/docs/html/xmlroff-declarations.html0000644000175000017500000001337411156164734017042 00000000000000 declarations

declarations

declarations

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoDeclarations

Description

Details

FoDeclarations

typedef struct _FoDeclarations FoDeclarations;


FoDeclarationsClass

typedef struct _FoDeclarationsClass FoDeclarationsClass;


fo_declarations_new ()

FoFo*               fo_declarations_new                 (void);

Creates a new FoDeclarations initialized to default value.

Returns :

the new FoDeclarations.
xmlroff-0.6.2/docs/html/xmlroff.devhelp0000644000175000017500000342111611156164734015057 00000000000000 xmlroff-0.6.2/docs/html/xmlroff.devhelp20000644000175000017500000370450311156164734015145 00000000000000 xmlroff-0.6.2/docs/html/xmlroff-direction.html0000644000175000017500000001377611156164734016360 00000000000000 direction

direction

direction

Description

Details

FoPropertyDirection

typedef struct _FoPropertyDirection FoPropertyDirection;


FoPropertyDirectionClass

typedef struct _FoPropertyDirectionClass FoPropertyDirectionClass;


fo_property_direction_new ()

FoProperty*         fo_property_direction_new           (void);

Creates a new FoPropertyDirection initialized to default value.

Returns :

the new FoPropertyDirection.

fo_property_direction_get_initial ()

FoProperty*         fo_property_direction_get_initial   (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-display-align.html0000644000175000017500000001457211156164734017130 00000000000000 display-align

display-align

display-align

Description

Details

FoPropertyDisplayAlign

typedef struct _FoPropertyDisplayAlign FoPropertyDisplayAlign;

Instance of the 'display-align' property.


FoPropertyDisplayAlignClass

typedef struct _FoPropertyDisplayAlignClass FoPropertyDisplayAlignClass;

Class structure for the 'display-align' property.


fo_property_display_align_new ()

FoProperty*         fo_property_display_align_new       (void);

Creates a new FoPropertyDisplayAlign initialized to default value.

Returns :

the new FoPropertyDisplayAlign.

fo_property_display_align_get_initial ()

FoProperty*         fo_property_display_align_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-dominant-baseline.html0000644000175000017500000001467511156164734017770 00000000000000 dominant-baseline

dominant-baseline

dominant-baseline

Description

Details

FoPropertyDominantBaseline

typedef struct _FoPropertyDominantBaseline FoPropertyDominantBaseline;


FoPropertyDominantBaselineClass

typedef struct _FoPropertyDominantBaselineClass FoPropertyDominantBaselineClass;


fo_property_dominant_baseline_new ()

FoProperty*         fo_property_dominant_baseline_new   (void);

Creates a new FoPropertyDominantBaseline initialized to default value.

Returns :

the new FoPropertyDominantBaseline.

fo_property_dominant_baseline_get_initial ()

FoProperty*         fo_property_dominant_baseline_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-end-indent.html0000644000175000017500000001401511156164734016410 00000000000000 end-indent

end-indent

end-indent

Description

Details

FoPropertyEndIndent

typedef struct _FoPropertyEndIndent FoPropertyEndIndent;


FoPropertyEndIndentClass

typedef struct _FoPropertyEndIndentClass FoPropertyEndIndentClass;


fo_property_end_indent_new ()

FoProperty*         fo_property_end_indent_new          (void);

Creates a new FoPropertyEndIndent initialized to default value.

Returns :

the new FoPropertyEndIndent.

fo_property_end_indent_get_initial ()

FoProperty*         fo_property_end_indent_get_initial  (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-extent.html0000644000175000017500000001370311156164734015675 00000000000000 extent

extent

extent

Description

Details

FoPropertyExtent

typedef struct _FoPropertyExtent FoPropertyExtent;

Instance of the 'extent' property.


FoPropertyExtentClass

typedef struct _FoPropertyExtentClass FoPropertyExtentClass;

Class structure for the 'extent' property.


fo_property_extent_new ()

FoProperty*         fo_property_extent_new              (void);

Creates a new FoPropertyExtent initialized to default value.

Returns :

the new FoPropertyExtent.

fo_property_extent_get_initial ()

FoProperty*         fo_property_extent_get_initial      (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-external-graphic.html0000644000175000017500000074176411156164734017642 00000000000000 external-graphic

external-graphic

external-graphic

Synopsis

                    FoExternalGraphic;
                    FoExternalGraphicClass;
FoFo*               fo_external_graphic_new             (void);
FoFo*               fo_external_graphic_new_with_base_uri
                                                        (const gchar *base_uri);

FoProperty*         fo_external_graphic_get_alignment_adjust
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_alignment_adjust
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_external_graphic_get_alignment_baseline
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_external_graphic_get_background_color
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_external_graphic_get_background_image
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
const gchar*        fo_external_graphic_get_base_uri    (FoFo *fo_fo);
FoProperty*         fo_external_graphic_get_baseline_shift
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_baseline_shift
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_external_graphic_get_block_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_external_graphic_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_external_graphic_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_external_graphic_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_external_graphic_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_external_graphic_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_external_graphic_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_external_graphic_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_external_graphic_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_external_graphic_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_external_graphic_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_external_graphic_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_external_graphic_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_external_graphic_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_external_graphic_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_external_graphic_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_external_graphic_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_external_graphic_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_external_graphic_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_external_graphic_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_external_graphic_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_external_graphic_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_external_graphic_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_external_graphic_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_external_graphic_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_external_graphic_get_clip        (FoFo *fo_fo);
void                fo_external_graphic_set_clip        (FoFo *fo_fo,
                                                         FoProperty *new_clip);
FoProperty*         fo_external_graphic_get_content_height
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_content_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_height);
FoProperty*         fo_external_graphic_get_content_type
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_content_type
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_type);
FoProperty*         fo_external_graphic_get_content_width
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_content_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_width);
FoProperty*         fo_external_graphic_get_display_align
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_display_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_external_graphic_get_dominant_baseline
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_external_graphic_get_height      (FoFo *fo_fo);
void                fo_external_graphic_set_height      (FoFo *fo_fo,
                                                         FoProperty *new_height);
FoProperty*         fo_external_graphic_get_id          (FoFo *fo_fo);
void                fo_external_graphic_set_id          (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_external_graphic_get_inline_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);
FoProperty*         fo_external_graphic_get_keep_with_next
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_external_graphic_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_external_graphic_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_external_graphic_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_external_graphic_get_keep_with_previous
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_external_graphic_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_external_graphic_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_external_graphic_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_external_graphic_get_line_height (FoFo *fo_fo);
void                fo_external_graphic_set_line_height (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_external_graphic_get_overflow    (FoFo *fo_fo);
void                fo_external_graphic_set_overflow    (FoFo *fo_fo,
                                                         FoProperty *new_overflow);
FoProperty*         fo_external_graphic_get_padding_after
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_external_graphic_get_padding_before
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_external_graphic_get_padding_bottom
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_external_graphic_get_padding_end (FoFo *fo_fo);
void                fo_external_graphic_set_padding_end (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_external_graphic_get_padding_left
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_external_graphic_get_padding_right
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_external_graphic_get_padding_start
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_external_graphic_get_padding_top (FoFo *fo_fo);
void                fo_external_graphic_set_padding_top (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_external_graphic_get_role        (FoFo *fo_fo);
void                fo_external_graphic_set_role        (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_external_graphic_get_scaling     (FoFo *fo_fo);
void                fo_external_graphic_set_scaling     (FoFo *fo_fo,
                                                         FoProperty *new_scaling);
FoProperty*         fo_external_graphic_get_scaling_method
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_scaling_method
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_scaling_method);
FoProperty*         fo_external_graphic_get_source_document
                                                        (FoFo *fo_fo);
void                fo_external_graphic_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_external_graphic_get_space_end   (FoFo *fo_fo);
void                fo_external_graphic_set_space_end   (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_external_graphic_get_space_start (FoFo *fo_fo);
void                fo_external_graphic_set_space_start (FoFo *fo_fo,
                                                         FoProperty *new_space_start);
FoProperty*         fo_external_graphic_get_src         (FoFo *fo_fo);
void                fo_external_graphic_set_src         (FoFo *fo_fo,
                                                         FoProperty *new_src);
FoProperty*         fo_external_graphic_get_text_align  (FoFo *fo_fo);
void                fo_external_graphic_set_text_align  (FoFo *fo_fo,
                                                         FoProperty *new_text_align);
FoProperty*         fo_external_graphic_get_width       (FoFo *fo_fo);
void                fo_external_graphic_set_width       (FoFo *fo_fo,
                                                         FoProperty *new_width);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoExternalGraphic

Implemented Interfaces

FoExternalGraphic implements FoInlineFoIface.

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "base-uri"                 gchar*                : Read / Write / Construct Only
  "baseline-shift"           FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "content-height"           FoProperty*           : Read
  "content-type"             FoProperty*           : Read
  "content-width"            FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "inline-progression-dimension" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "scaling"                  FoProperty*           : Read
  "scaling-method"           FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read
  "src"                      FoProperty*           : Read
  "text-align"               FoProperty*           : Read
  "width"                    FoProperty*           : Read

Description

Details

FoExternalGraphic

typedef struct _FoExternalGraphic FoExternalGraphic;

Instance of the 'external-graphic' formatting object.


FoExternalGraphicClass

typedef struct _FoExternalGraphicClass FoExternalGraphicClass;

Class structure for the 'external-graphic' formatting object.


fo_external_graphic_new ()

FoFo*               fo_external_graphic_new             (void);

Creates a new FoExternalGraphic initialized to default value.

Returns :

the new FoExternalGraphic.

fo_external_graphic_new_with_base_uri ()

FoFo*               fo_external_graphic_new_with_base_uri
                                                        (const gchar *base_uri);

Creates a new FoExternalGraphic initialized with the specified base URI.

base_uri :

Base URI to use

Returns :

the new FoExternalGraphic.

fo_external_graphic_get_alignment_adjust ()

FoProperty*         fo_external_graphic_get_alignment_adjust
                                                        (FoFo *fo_fo);

Gets the "alignment-adjust" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "alignment-adjust" property value.

fo_external_graphic_set_alignment_adjust ()

void                fo_external_graphic_set_alignment_adjust
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust.

fo_fo :

The FoFo object.

new_alignment_adjust :

The new "alignment-adjust" property value.

fo_external_graphic_get_alignment_baseline ()

FoProperty*         fo_external_graphic_get_alignment_baseline
                                                        (FoFo *fo_fo);

Gets the "alignment-baseline" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "alignment-baseline" property value.

fo_external_graphic_set_alignment_baseline ()

void                fo_external_graphic_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline.

fo_fo :

The FoFo object.

new_alignment_baseline :

The new "alignment-baseline" property value.

fo_external_graphic_get_background_color ()

FoProperty*         fo_external_graphic_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_external_graphic_set_background_color ()

void                fo_external_graphic_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_external_graphic_get_background_image ()

FoProperty*         fo_external_graphic_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_external_graphic_set_background_image ()

void                fo_external_graphic_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_external_graphic_get_base_uri ()

const gchar*        fo_external_graphic_get_base_uri    (FoFo *fo_fo);

Gets the base URI of fo_fo that is used for determining the absolute URI when the value of the 'src' property is a relative URI.

The returned value should not be modified or freed.

fo_fo :

FoExternalGraphic for which to get the base URI.

Returns :

The base URI of fo_fo.

fo_external_graphic_get_baseline_shift ()

FoProperty*         fo_external_graphic_get_baseline_shift
                                                        (FoFo *fo_fo);

Gets the "baseline-shift" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "baseline-shift" property value.

fo_external_graphic_set_baseline_shift ()

void                fo_external_graphic_set_baseline_shift
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_fo to new_baseline_shift.

fo_fo :

The FoFo object.

new_baseline_shift :

The new "baseline-shift" property value.

fo_external_graphic_get_block_progression_dimension ()

FoProperty*         fo_external_graphic_get_block_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "block-progression-dimension" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "block-progression-dimension" property value.

fo_external_graphic_set_block_progression_dimension ()

void                fo_external_graphic_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension.

fo_fo :

The FoFo object.

new_block_progression_dimension :

The new "block-progression-dimension" property value.

fo_external_graphic_get_border_after_color ()

FoProperty*         fo_external_graphic_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_external_graphic_set_border_after_color ()

void                fo_external_graphic_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_external_graphic_get_border_after_style ()

FoProperty*         fo_external_graphic_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_external_graphic_set_border_after_style ()

void                fo_external_graphic_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_external_graphic_get_border_after_width ()

FoProperty*         fo_external_graphic_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_external_graphic_set_border_after_width ()

void                fo_external_graphic_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_external_graphic_get_border_before_color ()

FoProperty*         fo_external_graphic_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_external_graphic_set_border_before_color ()

void                fo_external_graphic_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_external_graphic_get_border_before_style ()

FoProperty*         fo_external_graphic_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_external_graphic_set_border_before_style ()

void                fo_external_graphic_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_external_graphic_get_border_before_width ()

FoProperty*         fo_external_graphic_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_external_graphic_set_border_before_width ()

void                fo_external_graphic_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_external_graphic_get_border_bottom_color ()

FoProperty*         fo_external_graphic_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_external_graphic_set_border_bottom_color ()

void                fo_external_graphic_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_external_graphic_get_border_bottom_style ()

FoProperty*         fo_external_graphic_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_external_graphic_set_border_bottom_style ()

void                fo_external_graphic_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_external_graphic_get_border_bottom_width ()

FoProperty*         fo_external_graphic_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_external_graphic_set_border_bottom_width ()

void                fo_external_graphic_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_external_graphic_get_border_end_color ()

FoProperty*         fo_external_graphic_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_external_graphic_set_border_end_color ()

void                fo_external_graphic_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_external_graphic_get_border_end_style ()

FoProperty*         fo_external_graphic_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_external_graphic_set_border_end_style ()

void                fo_external_graphic_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_external_graphic_get_border_end_width ()

FoProperty*         fo_external_graphic_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_external_graphic_set_border_end_width ()

void                fo_external_graphic_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_external_graphic_get_border_left_color ()

FoProperty*         fo_external_graphic_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_external_graphic_set_border_left_color ()

void                fo_external_graphic_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_external_graphic_get_border_left_style ()

FoProperty*         fo_external_graphic_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_external_graphic_set_border_left_style ()

void                fo_external_graphic_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_external_graphic_get_border_left_width ()

FoProperty*         fo_external_graphic_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_external_graphic_set_border_left_width ()

void                fo_external_graphic_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_external_graphic_get_border_right_color ()

FoProperty*         fo_external_graphic_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_external_graphic_set_border_right_color ()

void                fo_external_graphic_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_external_graphic_get_border_right_style ()

FoProperty*         fo_external_graphic_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_external_graphic_set_border_right_style ()

void                fo_external_graphic_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_external_graphic_get_border_right_width ()

FoProperty*         fo_external_graphic_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_external_graphic_set_border_right_width ()

void                fo_external_graphic_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_external_graphic_get_border_start_color ()

FoProperty*         fo_external_graphic_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_external_graphic_set_border_start_color ()

void                fo_external_graphic_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_external_graphic_get_border_start_style ()

FoProperty*         fo_external_graphic_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_external_graphic_set_border_start_style ()

void                fo_external_graphic_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_external_graphic_get_border_start_width ()

FoProperty*         fo_external_graphic_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_external_graphic_set_border_start_width ()

void                fo_external_graphic_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_external_graphic_get_border_top_color ()

FoProperty*         fo_external_graphic_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_external_graphic_set_border_top_color ()

void                fo_external_graphic_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_external_graphic_get_border_top_style ()

FoProperty*         fo_external_graphic_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_external_graphic_set_border_top_style ()

void                fo_external_graphic_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_external_graphic_get_border_top_width ()

FoProperty*         fo_external_graphic_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_external_graphic_set_border_top_width ()

void                fo_external_graphic_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_external_graphic_get_clip ()

FoProperty*         fo_external_graphic_get_clip        (FoFo *fo_fo);

Gets the "clip" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "clip" property value.

fo_external_graphic_set_clip ()

void                fo_external_graphic_set_clip        (FoFo *fo_fo,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_fo to new_clip.

fo_fo :

The FoFo object.

new_clip :

The new "clip" property value.

fo_external_graphic_get_content_height ()

FoProperty*         fo_external_graphic_get_content_height
                                                        (FoFo *fo_fo);

Gets the "content-height" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "content-height" property value.

fo_external_graphic_set_content_height ()

void                fo_external_graphic_set_content_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_height);

Sets the "content-height" property of fo_fo to new_content_height.

fo_fo :

The FoFo object.

new_content_height :

The new "content-height" property value.

fo_external_graphic_get_content_type ()

FoProperty*         fo_external_graphic_get_content_type
                                                        (FoFo *fo_fo);

Gets the "content-type" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "content-type" property value.

fo_external_graphic_set_content_type ()

void                fo_external_graphic_set_content_type
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_type);

Sets the "content-type" property of fo_fo to new_content_type.

fo_fo :

The FoFo object.

new_content_type :

The new "content-type" property value.

fo_external_graphic_get_content_width ()

FoProperty*         fo_external_graphic_get_content_width
                                                        (FoFo *fo_fo);

Gets the "content-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "content-width" property value.

fo_external_graphic_set_content_width ()

void                fo_external_graphic_set_content_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_width);

Sets the "content-width" property of fo_fo to new_content_width.

fo_fo :

The FoFo object.

new_content_width :

The new "content-width" property value.

fo_external_graphic_get_display_align ()

FoProperty*         fo_external_graphic_get_display_align
                                                        (FoFo *fo_fo);

Gets the "display-align" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "display-align" property value.

fo_external_graphic_set_display_align ()

void                fo_external_graphic_set_display_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align.

fo_fo :

The FoFo object.

new_display_align :

The new "display-align" property value.

fo_external_graphic_get_dominant_baseline ()

FoProperty*         fo_external_graphic_get_dominant_baseline
                                                        (FoFo *fo_fo);

Gets the "dominant-baseline" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "dominant-baseline" property value.

fo_external_graphic_set_dominant_baseline ()

void                fo_external_graphic_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline.

fo_fo :

The FoFo object.

new_dominant_baseline :

The new "dominant-baseline" property value.

fo_external_graphic_get_height ()

FoProperty*         fo_external_graphic_get_height      (FoFo *fo_fo);

Gets the "height" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "height" property value.

fo_external_graphic_set_height ()

void                fo_external_graphic_set_height      (FoFo *fo_fo,
                                                         FoProperty *new_height);

Sets the "height" property of fo_fo to new_height.

fo_fo :

The FoFo object.

new_height :

The new "height" property value.

fo_external_graphic_get_id ()

FoProperty*         fo_external_graphic_get_id          (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_external_graphic_set_id ()

void                fo_external_graphic_set_id          (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id.

fo_fo :

The FoFo object.

new_id :

The new "id" property value.

fo_external_graphic_get_inline_progression_dimension ()

FoProperty*         fo_external_graphic_get_inline_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "inline-progression-dimension" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "inline-progression-dimension" property value.

fo_external_graphic_set_inline_progression_dimension ()

void                fo_external_graphic_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);

Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension.

fo_fo :

The FoFo object.

new_inline_progression_dimension :

The new "inline-progression-dimension" property value.

fo_external_graphic_get_keep_with_next ()

FoProperty*         fo_external_graphic_get_keep_with_next
                                                        (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next" property value.

fo_external_graphic_set_keep_with_next ()

void                fo_external_graphic_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next.

fo_fo :

The FoFo object.

new_keep_with_next :

The new "keep-with-next" property value.

fo_external_graphic_get_keep_with_next_within_column ()

FoProperty*         fo_external_graphic_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-column" property value.

fo_external_graphic_set_keep_with_next_within_column ()

void                fo_external_graphic_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column.

fo_fo :

The FoFo object.

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value.

fo_external_graphic_get_keep_with_next_within_line ()

FoProperty*         fo_external_graphic_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-line" property value.

fo_external_graphic_set_keep_with_next_within_line ()

void                fo_external_graphic_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line.

fo_fo :

The FoFo object.

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value.

fo_external_graphic_get_keep_with_next_within_page ()

FoProperty*         fo_external_graphic_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-page" property value.

fo_external_graphic_set_keep_with_next_within_page ()

void                fo_external_graphic_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page.

fo_fo :

The FoFo object.

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value.

fo_external_graphic_get_keep_with_previous ()

FoProperty*         fo_external_graphic_get_keep_with_previous
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous" property value.

fo_external_graphic_set_keep_with_previous ()

void                fo_external_graphic_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous.

fo_fo :

The FoFo object.

new_keep_with_previous :

The new "keep-with-previous" property value.

fo_external_graphic_get_keep_with_previous_within_column ()

FoProperty*         fo_external_graphic_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-column" property value.

fo_external_graphic_set_keep_with_previous_within_column ()

void                fo_external_graphic_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column.

fo_fo :

The FoFo object.

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value.

fo_external_graphic_get_keep_with_previous_within_line ()

FoProperty*         fo_external_graphic_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-line" property value.

fo_external_graphic_set_keep_with_previous_within_line ()

void                fo_external_graphic_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line.

fo_fo :

The FoFo object.

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value.

fo_external_graphic_get_keep_with_previous_within_page ()

FoProperty*         fo_external_graphic_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-page" property value.

fo_external_graphic_set_keep_with_previous_within_page ()

void                fo_external_graphic_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page.

fo_fo :

The FoFo object.

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value.

fo_external_graphic_get_line_height ()

FoProperty*         fo_external_graphic_get_line_height (FoFo *fo_fo);

Gets the "line-height" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "line-height" property value.

fo_external_graphic_set_line_height ()

void                fo_external_graphic_set_line_height (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height.

fo_fo :

The FoFo object.

new_line_height :

The new "line-height" property value.

fo_external_graphic_get_overflow ()

FoProperty*         fo_external_graphic_get_overflow    (FoFo *fo_fo);

Gets the "overflow" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "overflow" property value.

fo_external_graphic_set_overflow ()

void                fo_external_graphic_set_overflow    (FoFo *fo_fo,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_fo to new_overflow.

fo_fo :

The FoFo object.

new_overflow :

The new "overflow" property value.

fo_external_graphic_get_padding_after ()

FoProperty*         fo_external_graphic_get_padding_after
                                                        (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_external_graphic_set_padding_after ()

void                fo_external_graphic_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_external_graphic_get_padding_before ()

FoProperty*         fo_external_graphic_get_padding_before
                                                        (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_external_graphic_set_padding_before ()

void                fo_external_graphic_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_external_graphic_get_padding_bottom ()

FoProperty*         fo_external_graphic_get_padding_bottom
                                                        (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_external_graphic_set_padding_bottom ()

void                fo_external_graphic_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_external_graphic_get_padding_end ()

FoProperty*         fo_external_graphic_get_padding_end (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_external_graphic_set_padding_end ()

void                fo_external_graphic_set_padding_end (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_external_graphic_get_padding_left ()

FoProperty*         fo_external_graphic_get_padding_left
                                                        (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_external_graphic_set_padding_left ()

void                fo_external_graphic_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_external_graphic_get_padding_right ()

FoProperty*         fo_external_graphic_get_padding_right
                                                        (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_external_graphic_set_padding_right ()

void                fo_external_graphic_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_external_graphic_get_padding_start ()

FoProperty*         fo_external_graphic_get_padding_start
                                                        (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_external_graphic_set_padding_start ()

void                fo_external_graphic_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_external_graphic_get_padding_top ()

FoProperty*         fo_external_graphic_get_padding_top (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_external_graphic_set_padding_top ()

void                fo_external_graphic_set_padding_top (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_external_graphic_get_role ()

FoProperty*         fo_external_graphic_get_role        (FoFo *fo_fo);

Gets the "role" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "role" property value.

fo_external_graphic_set_role ()

void                fo_external_graphic_set_role        (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role.

fo_fo :

The FoFo object.

new_role :

The new "role" property value.

fo_external_graphic_get_scaling ()

FoProperty*         fo_external_graphic_get_scaling     (FoFo *fo_fo);

Gets the "scaling" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "scaling" property value.

fo_external_graphic_set_scaling ()

void                fo_external_graphic_set_scaling     (FoFo *fo_fo,
                                                         FoProperty *new_scaling);

Sets the "scaling" property of fo_fo to new_scaling.

fo_fo :

The FoFo object.

new_scaling :

The new "scaling" property value.

fo_external_graphic_get_scaling_method ()

FoProperty*         fo_external_graphic_get_scaling_method
                                                        (FoFo *fo_fo);

Gets the "scaling-method" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "scaling-method" property value.

fo_external_graphic_set_scaling_method ()

void                fo_external_graphic_set_scaling_method
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_scaling_method);

Sets the "scaling-method" property of fo_fo to new_scaling_method.

fo_fo :

The FoFo object.

new_scaling_method :

The new "scaling-method" property value.

fo_external_graphic_get_source_document ()

FoProperty*         fo_external_graphic_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "source-document" property value.

fo_external_graphic_set_source_document ()

void                fo_external_graphic_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document.

fo_fo :

The FoFo object.

new_source_document :

The new "source-document" property value.

fo_external_graphic_get_space_end ()

FoProperty*         fo_external_graphic_get_space_end   (FoFo *fo_fo);

Gets the "space-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-end" property value.

fo_external_graphic_set_space_end ()

void                fo_external_graphic_set_space_end   (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end.

fo_fo :

The FoFo object.

new_space_end :

The new "space-end" property value.

fo_external_graphic_get_space_start ()

FoProperty*         fo_external_graphic_get_space_start (FoFo *fo_fo);

Gets the "space-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-start" property value.

fo_external_graphic_set_space_start ()

void                fo_external_graphic_set_space_start (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start.

fo_fo :

The FoFo object.

new_space_start :

The new "space-start" property value.

fo_external_graphic_get_src ()

FoProperty*         fo_external_graphic_get_src         (FoFo *fo_fo);

Gets the "src" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "src" property value.

fo_external_graphic_set_src ()

void                fo_external_graphic_set_src         (FoFo *fo_fo,
                                                         FoProperty *new_src);

Sets the "src" property of fo_fo to new_src.

fo_fo :

The FoFo object.

new_src :

The new "src" property value.

fo_external_graphic_get_text_align ()

FoProperty*         fo_external_graphic_get_text_align  (FoFo *fo_fo);

Gets the "text-align" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "text-align" property value.

fo_external_graphic_set_text_align ()

void                fo_external_graphic_set_text_align  (FoFo *fo_fo,
                                                         FoProperty *new_text_align);

Sets the "text-align" property of fo_fo to new_text_align.

fo_fo :

The FoFo object.

new_text_align :

The new "text-align" property value.

fo_external_graphic_get_width ()

FoProperty*         fo_external_graphic_get_width       (FoFo *fo_fo);

Gets the "width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "width" property value.

fo_external_graphic_set_width ()

void                fo_external_graphic_set_width       (FoFo *fo_fo,
                                                         FoProperty *new_width);

Sets the "width" property of fo_fo to new_width.

fo_fo :

The FoFo object.

new_width :

The new "width" property value.

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "base-uri" property

  "base-uri"                 gchar*                : Read / Write / Construct Only

Base URI for resolving relative URI references.

Default value: NULL


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "content-height" property

  "content-height"           FoProperty*           : Read

Content Height property.


The "content-type" property

  "content-type"             FoProperty*           : Read

Content Type property.


The "content-width" property

  "content-width"            FoProperty*           : Read

Content Width property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "inline-progression-dimension" property

  "inline-progression-dimension" FoProperty*           : Read

Inline Progression Dimension property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "scaling" property

  "scaling"                  FoProperty*           : Read

Scaling property.


The "scaling-method" property

  "scaling-method"           FoProperty*           : Read

Scaling Method property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.


The "src" property

  "src"                      FoProperty*           : Read

Src property.


The "text-align" property

  "text-align"               FoProperty*           : Read

Text Align property.


The "width" property

  "width"                    FoProperty*           : Read

Width property.

xmlroff-0.6.2/docs/html/xmlroff-float.html0000644000175000017500000001326211156164734015473 00000000000000 float

float

float

Synopsis

                    FoFloat;
                    FoFloatClass;
FoFo*               fo_float_new                        (void);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoFloat

Implemented Interfaces

FoFloat implements FoNeutralIface.

Description

Details

FoFloat

typedef struct _FoFloat FoFloat;


FoFloatClass

typedef struct _FoFloatClass FoFloatClass;


fo_float_new ()

FoFo*               fo_float_new                        (void);

Creates a new FoFloat initialized to default value.

Returns :

the new FoFloat
xmlroff-0.6.2/docs/html/xmlroff-flow.html0000644000175000017500000002365711156164734015346 00000000000000 flow

flow

flow

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoFlow

Properties

  "flow-name"                FoProperty*           : Read

Description

Details

FoFlow

typedef struct _FoFlow FoFlow;

Instance of the 'flow' formatting object.


FoFlowClass

typedef struct _FoFlowClass FoFlowClass;

Class structure for the 'flow' formatting object.


fo_flow_new ()

FoFo*               fo_flow_new                         (void);

Creates a new FoFlow initialized to default value.

Returns :

the new FoFlow.

fo_flow_get_region_master ()

FoFo*               fo_flow_get_region_master           (FoFo *fo_fo);

Gets the region_master instance variable of flow

fo_fo :

The FoFlow object

Returns :

The "region_master" value

fo_flow_set_flow_name ()

void                fo_flow_set_flow_name               (FoFo *fo_fo,
                                                         FoProperty *new_flow_name);

Sets the "flow-name" property of fo_fo to new_flow_name.

fo_fo :

The FoFo object.

new_flow_name :

The new "flow-name" property value.

fo_flow_get_flow_name ()

FoProperty*         fo_flow_get_flow_name               (FoFo *fo_fo);

Gets the "flow-name" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "flow-name" property value.

Property Details

The "flow-name" property

  "flow-name"                FoProperty*           : Read

Flow Name property.

xmlroff-0.6.2/docs/html/xmlroff-flow-name.html0000644000175000017500000001371711156164734016260 00000000000000 flow-name

flow-name

flow-name

Description

Details

FoPropertyFlowName

typedef struct _FoPropertyFlowName FoPropertyFlowName;


FoPropertyFlowNameClass

typedef struct _FoPropertyFlowNameClass FoPropertyFlowNameClass;


fo_property_flow_name_new ()

FoProperty*         fo_property_flow_name_new           (void);

Creates a new FoPropertyFlowName initialized to default value.

Returns :

the new FoPropertyFlowName.

fo_property_flow_name_get_initial ()

FoProperty*         fo_property_flow_name_get_initial   (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-fo-area-graphic.html0000644000175000017500000001204311156164734017307 00000000000000 fo-area-graphic

fo-area-graphic

fo-area-graphic

Description

Details

FoAreaGraphic

typedef struct _FoAreaGraphic FoAreaGraphic;


FoAreaGraphicClass

typedef struct _FoAreaGraphicClass FoAreaGraphicClass;


fo_area_graphic_new ()

FoArea*             fo_area_graphic_new                 (void);

Creates a new FoAreaGraphic initialized to default value.

Returns :

the new FoAreaGraphic
xmlroff-0.6.2/docs/html/xmlroff-fo-area-inline.html0000644000175000017500000001204411156164734017151 00000000000000 fo-area-inline

fo-area-inline

fo-area-inline

Description

Details

FoAreaInline

typedef struct {
  FoArea parent_instance;
} FoAreaInline;


FoAreaInlineClass

typedef struct {
  FoAreaClass parent_class;
} FoAreaInlineClass;


fo_area_inline_new ()

FoArea*             fo_area_inline_new                  (void);

Creates a new FoAreaInline initialized to default value.

Returns :

the new FoAreaInline
xmlroff-0.6.2/docs/html/xmlroff-FoDocCairo.html0000644000175000017500000001700711156164734016337 00000000000000 FoDocCairo

FoDocCairo

FoDocCairo — Cairo backend

Synopsis

                    FoDocCairo;
                    FoDocCairoClass;
FoDoc*              fo_doc_cairo_new                    (void);
void                fo_doc_cairo_open_file              (FoDoc *fo_doc,
                                                         const gchar *filename,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Description

Cairo backend.

Details

FoDocCairo

typedef struct _FoDocCairo FoDocCairo;


FoDocCairoClass

typedef struct _FoDocCairoClass FoDocCairoClass;


fo_doc_cairo_new ()

FoDoc*              fo_doc_cairo_new                    (void);

Creates a new FoDoc.

Returns :

the newly created FoDoc.

fo_doc_cairo_open_file ()

void                fo_doc_cairo_open_file              (FoDoc *fo_doc,
                                                         const gchar *filename,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Open filename as the output file for fo_doc.

No reference to libfo_context is kept.

fo_doc :

FoDoc.

filename :

File to open as output.

libfo_context :

FoLibfoContext specifying file format.

error :

GError that is set if an error occurs.
xmlroff-0.6.2/docs/html/xmlroff-fo-doc-commands.html0000644000175000017500000014103111156164734017330 00000000000000 fo-doc-commands

fo-doc-commands

fo-doc-commands

Synopsis

void                fo_doc_begin_page                   (FoDoc *fo_doc,
                                                         gdouble width,
                                                         gdouble height,
                                                         GError **error);
void                fo_doc_end_page                     (FoDoc *fo_doc);
FoDatatype*         fo_doc_get_fill_color               (FoDoc *fo_doc);
void                fo_doc_set_fill_color               (FoDoc *fo_doc,
                                                         FoDatatype *color);
FoDatatype*         fo_doc_get_stroke_color             (FoDoc *fo_doc);
void                fo_doc_set_stroke_color             (FoDoc *fo_doc,
                                                         FoDatatype *color);
FoDocLineCap        fo_doc_get_line_cap                 (FoDoc *fo_doc);
void                fo_doc_set_line_cap                 (FoDoc *fo_doc,
                                                         FoDocLineCap line_cap);
FoDocLineJoin       fo_doc_get_line_join                (FoDoc *fo_doc);
void                fo_doc_set_line_join                (FoDoc *fo_doc,
                                                         FoDocLineJoin line_join);
gdouble             fo_doc_get_line_width               (FoDoc *fo_doc);
void                fo_doc_set_line_width               (FoDoc *fo_doc,
                                                         gdouble line_width);
void                fo_doc_set_dash                     (FoDoc *fo_doc,
                                                         gdouble b,
                                                         gdouble w);
void                fo_doc_translate                    (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y);
void                fo_doc_clip                         (FoDoc *fo_doc);
void                fo_doc_save                         (FoDoc *fo_doc);
void                fo_doc_restore                      (FoDoc *fo_doc);
void                fo_doc_line_to                      (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y);
void                fo_doc_move_to                      (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y);
void                fo_doc_line_stroked                 (FoDoc *fo_doc,
                                                         gdouble x0,
                                                         gdouble y0,
                                                         gdouble x1,
                                                         gdouble y1);
void                fo_doc_rect_stroked                 (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height);
void                fo_doc_rect_filled                  (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height);
void                fo_doc_fill                         (FoDoc *fo_doc);
void                fo_doc_stroke                       (FoDoc *fo_doc);
void                fo_doc_place_image                  (FoDoc *fo_doc,
                                                         FoImage *fo_image,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble xscale,
                                                         gdouble yscale);
FoFontDesc*         fo_doc_get_font_desc                (FoDoc *fo_doc);
void                fo_doc_render_layout_lines          (FoDoc *fo_doc,
                                                         FoArea *area_layout,
                                                         gdouble x,
                                                         gdouble y);
void                fo_doc_render_layout                (FoDoc *fo_doc,
                                                         FoArea *area_layout,
                                                         gdouble x,
                                                         gdouble y);

Description

Details

fo_doc_begin_page ()

void                fo_doc_begin_page                   (FoDoc *fo_doc,
                                                         gdouble width,
                                                         gdouble height,
                                                         GError **error);

Add a new page to fo_doc.

This must always be paired with a matching fo_doc_end_page call.

fo_doc :

FoDoc.

width :

Width of the new page.

height :

Height of the new page.

error :

Indication of any error that occurred.

fo_doc_end_page ()

void                fo_doc_end_page                     (FoDoc *fo_doc);

Finish the current page of fo_doc.

fo_doc :

FoDoc.

fo_doc_get_fill_color ()

FoDatatype*         fo_doc_get_fill_color               (FoDoc *fo_doc);

Get the current fill color of fo_doc.

fo_doc :

FoDoc.

Returns :

FoDatatype for the current fill color.

fo_doc_set_fill_color ()

void                fo_doc_set_fill_color               (FoDoc *fo_doc,
                                                         FoDatatype *color);

Set the fill color of fo_doc to color.

fo_doc :

FoDoc.

color :

FoDatatype for new fill color.

fo_doc_get_stroke_color ()

FoDatatype*         fo_doc_get_stroke_color             (FoDoc *fo_doc);

Get the current stroke color of fo_doc.

fo_doc :

FoDoc.

Returns :

FoDatatype for the current stroke color.

fo_doc_set_stroke_color ()

void                fo_doc_set_stroke_color             (FoDoc *fo_doc,
                                                         FoDatatype *color);

Set the stroke color of fo_doc to color.

fo_doc :

FoDoc.

color :

FoDatatype for new stroke color.

fo_doc_get_line_cap ()

FoDocLineCap        fo_doc_get_line_cap                 (FoDoc *fo_doc);

Get the current "linecap" parameter value of fo_doc.

fo_doc :

FoDoc.

Returns :

Current "linecap" parameter value.

fo_doc_set_line_cap ()

void                fo_doc_set_line_cap                 (FoDoc *fo_doc,
                                                         FoDocLineCap line_cap);

Set the "linecap" parameter value of fo_doc.

fo_doc :

FoDoc.

line_cap :

New "linecap" parameter value.

fo_doc_get_line_join ()

FoDocLineJoin       fo_doc_get_line_join                (FoDoc *fo_doc);

Get the current "linejoin" parameter value of fo_doc.

fo_doc :

FoDoc.

Returns :

Current "linejoin" parameter value.

fo_doc_set_line_join ()

void                fo_doc_set_line_join                (FoDoc *fo_doc,
                                                         FoDocLineJoin line_join);

Set the "linejoin" parameter value of fo_doc.

fo_doc :

FoDoc.

line_join :

New "linejoin" parameter value.

fo_doc_get_line_width ()

gdouble             fo_doc_get_line_width               (FoDoc *fo_doc);

Get the current line width of fo_doc.

fo_doc :

FoDoc.

Returns :

Current line width.

fo_doc_set_line_width ()

void                fo_doc_set_line_width               (FoDoc *fo_doc,
                                                         gdouble line_width);

Set the line width of fo_doc.

fo_doc :

FoDoc.

line_width :

New line width value.

fo_doc_set_dash ()

void                fo_doc_set_dash                     (FoDoc *fo_doc,
                                                         gdouble b,
                                                         gdouble w);

Set the current dash pattern of fo_doc.

The dash pattern is the ratio of b to w.

Set b and w to 0 to produce a solid line.

The dash pattern is set to solid (b = w = 0) at the beginning of each page.

fo_doc :

FoDoc.

b :

Number of black units.

w :

Number of white units.

fo_doc_translate ()

void                fo_doc_translate                    (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y);

Translate the origin of the coordinate system of fo_doc.

x and y are measured in the old coordinate system.

fo_doc :

FoDoc.

x :

X-coordinate of the new origin of the coordinate system.

y :

Y-coordinate of the new origin of the coordinate system.

fo_doc_clip ()

void                fo_doc_clip                         (FoDoc *fo_doc);

Use the current path of fo_doc as its clipping path.

fo_doc :

FoDoc.

fo_doc_save ()

void                fo_doc_save                         (FoDoc *fo_doc);

Save the current graphics state of fo_doc.

fo_doc :

FoDoc.

fo_doc_restore ()

void                fo_doc_restore                      (FoDoc *fo_doc);

Restore the most recently saved graphics state of fo_doc.

fo_doc :

FoDoc.

fo_doc_line_to ()

void                fo_doc_line_to                      (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y);

Draw a line from the current point to another point.

fo_doc :

FoDoc.

x :

X-coordinate of the new current point.

y :

Y-coordinate of the new current point.

fo_doc_move_to ()

void                fo_doc_move_to                      (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y);

Set the current point of fo_doc to (x, y).

fo_doc :

FoDoc.

x :

X-coordinate of the new current point.

y :

Y-coordinate of the new current point.

fo_doc_line_stroked ()

void                fo_doc_line_stroked                 (FoDoc *fo_doc,
                                                         gdouble x0,
                                                         gdouble y0,
                                                         gdouble x1,
                                                         gdouble y1);

Draw a line from (x0,y0) to (x1,y1).

fo_doc :

FoDoc.

x0 :

X-coordinate of the start of the line.

y0 :

Y-coordinate of the start of the line.

x1 :

X-coordinate of the end of the line.

y1 :

Y-coordinate of the end of the line.

fo_doc_rect_stroked ()

void                fo_doc_rect_stroked                 (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height);

Draw an outline rectangle.

fo_doc :

FoDoc.

x :

X-coordinate of the lower-left corner of the rectangle.

y :

Y-coordinate of the lower-left corner of the rectangle.

width :

Width of the rectangle.

height :

Height of the rectangle.

fo_doc_rect_filled ()

void                fo_doc_rect_filled                  (FoDoc *fo_doc,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble width,
                                                         gdouble height);

Draw a filled rectangle.

fo_doc :

FoDoc.

x :

X-coordinate of the lower-left corner of the rectangle.

y :

Y-coordinate of the lower-left corner of the rectangle.

width :

Width of the rectangle.

height :

Height of the rectangle.

fo_doc_fill ()

void                fo_doc_fill                         (FoDoc *fo_doc);

Fill the interior of the path of fo_doc with the current fill color.

fo_doc :

FoDoc.

fo_doc_stroke ()

void                fo_doc_stroke                       (FoDoc *fo_doc);

Stroke the path of fo_doc and clear the path.

fo_doc :

FoDoc.

fo_doc_place_image ()

void                fo_doc_place_image                  (FoDoc *fo_doc,
                                                         FoImage *fo_image,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble xscale,
                                                         gdouble yscale);

Places fo_image in fo_doc at position given by x and y with image scaled by xscale and yscale.

fo_doc :

FoDoc in which to place image

fo_image :

FoImage

x :

X-offset

y :

Y-offset

xscale :

Scale to apply to X dimension of image

yscale :

Scale to apply to Y dimension of image

fo_doc_get_font_desc ()

FoFontDesc*         fo_doc_get_font_desc                (FoDoc *fo_doc);

Get the PangoFontDescription in fo_doc.

fo_doc :

FoDoc.

Returns :

PangoFontDescription in fo_doc.

fo_doc_render_layout_lines ()

void                fo_doc_render_layout_lines          (FoDoc *fo_doc,
                                                         FoArea *area_layout,
                                                         gdouble x,
                                                         gdouble y);

Renders the lines in area_layout at position (x, y) on current page of fo_doc.

fo_doc :

FoDoc for which to render lines.

area_layout :

FoArea containing lines.

x :

X-offset

y :

Y-offset

fo_doc_render_layout ()

void                fo_doc_render_layout                (FoDoc *fo_doc,
                                                         FoArea *area_layout,
                                                         gdouble x,
                                                         gdouble y);

Renders area_layout at position (x, y) on current page of fo_doc.

fo_doc :

FoDoc to which to render.

area_layout :

FoArea containing lines.

x :

X-offset

y :

Y-offset
xmlroff-0.6.2/docs/html/xmlroff-FoDocGP.html0000644000175000017500000001664111156164734015613 00000000000000 FoDocGP

FoDocGP

FoDocGP — GNOME Print backend

Synopsis

                    FoDocGP;
                    FoDocGPClass;
FoDoc*              fo_doc_gp_new                       (void);
void                fo_doc_gp_open_file                 (FoDoc *fo_doc,
                                                         const gchar *filename,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Description

GNOME Print backend.

Details

FoDocGP

typedef struct _FoDocGP FoDocGP;


FoDocGPClass

typedef struct _FoDocGPClass FoDocGPClass;


fo_doc_gp_new ()

FoDoc*              fo_doc_gp_new                       (void);

Creates a new FoDoc.

Returns :

the newly created FoDoc.

fo_doc_gp_open_file ()

void                fo_doc_gp_open_file                 (FoDoc *fo_doc,
                                                         const gchar *filename,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Open filename as the output file for fo_doc.

No reference to libfo_context is kept.

fo_doc :

FoDoc.

filename :

File to open as output.

libfo_context :

FoLibfoContext specifying file format.

error :

GError that is set if an error occurs.
xmlroff-0.6.2/docs/html/xmlroff-FoDoc.html0000644000175000017500000005053011156164734015357 00000000000000 FoDoc

FoDoc

FoDoc — Abstract output document type

Synopsis

                    FoDoc;
                    FoDocClass;
#define             FO_DOC_ERROR
GQuark              fo_doc_error_quark                  (void);
enum                FoDocError;
enum                FoDocLineCap;
enum                FoDocLineJoin;

FoDoc*              fo_doc_new                          (void);
FoDoc*              fo_doc_new_from_type                (const gchar *type);
FoFlagsFormat       fo_doc_formats_from_name            (const gchar *name);

void                fo_doc_open_file                    (FoDoc *fo_doc,
                                                         const gchar *filename,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);
FoLayout*           fo_doc_get_new_layout               (FoDoc *fo_doc);
const gchar*        fo_doc_get_language                 (FoDoc *fo_doc);
void                fo_doc_set_language                 (FoDoc *fo_doc,
                                                         const gchar *language);
FoEnumAreaDirection fo_doc_get_base_dir                 (FoDoc *fo_doc);
void                fo_doc_set_base_dir                 (FoDoc *fo_doc,
                                                         FoEnumAreaDirection base_dir);

Description

FoDoc provides the primitives for writing text, lines, rectangles, etc., to the output.

It is generalised so that libfo can support multiple backend implementations (and add and remove backend implementations) without having to restructure the rest of libfo.

Details

FoDoc

typedef struct _FoDoc FoDoc;


FoDocClass

typedef struct _FoDocClass FoDocClass;


FO_DOC_ERROR

#define FO_DOC_ERROR fo_doc_error_quark ()


fo_doc_error_quark ()

GQuark              fo_doc_error_quark                  (void);

Get the error quark for FoDoc.

If the quark does not yet exist, create it.

Returns :

Quark associated with FoDoc errors.

enum FoDocError

typedef enum
{
  FO_DOC_ERROR_FAILED,
  FO_DOC_ERROR_OPEN_FAILED,	     /* Cannot open output document */
  FO_DOC_ERROR_UNSUPPORTED_FORMAT,   /* Unsupported document format */
  FO_DOC_ERROR_LAST
} FoDocError;


enum FoDocLineCap

typedef enum
{
  FO_DOC_LINE_CAP_INVALID,
  FO_DOC_LINE_CAP_BUTT,
  FO_DOC_LINE_CAP_ROUND,
  FO_DOC_LINE_CAP_SQUARE,
  FO_DOC_LINE_CAP_LIMIT
} FoDocLineCap;


enum FoDocLineJoin

typedef enum
{
  FO_DOC_LINE_JOIN_INVALID,
  FO_DOC_LINE_JOIN_MITER,
  FO_DOC_LINE_JOIN_ROUND,
  FO_DOC_LINE_JOIN_BEVEL,
  FO_DOC_LINE_JOIN_LIMIT
} FoDocLineJoin;


fo_doc_new ()

FoDoc*              fo_doc_new                          (void);

Creates a new FoDoc.

Returns :

the newly created FoDoc.

fo_doc_new_from_type ()

FoDoc*              fo_doc_new_from_type                (const gchar *type);

Creates a new FoDoc.

type :

Type of the new FoDoc.

Returns :

the newly created FoDoc.

fo_doc_formats_from_name ()

FoFlagsFormat       fo_doc_formats_from_name            (const gchar *name);

Gets the output formats supported by name class.

name should not be NULL.

If name does not implement any formats, returns FO_FLAG_FORMAT_UNKNOWN.

name :

Registered FoObject type name, e.g., "FoDocCairo"

Returns :

FoFlagsFormat with zero or more bits set for the supported formats.

fo_doc_open_file ()

void                fo_doc_open_file                    (FoDoc *fo_doc,
                                                         const gchar *filename,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

No reference to libfo_context is kept.

fo_doc :

FoDoc for which to open an output file.

filename :

Name of output file.

libfo_context :

FoLibfoContext containing extra info.

error :

Information about any error that occurred.

fo_doc_get_new_layout ()

FoLayout*           fo_doc_get_new_layout               (FoDoc *fo_doc);

Get a new FoLayout for use with fo_doc.

fo_doc :

FoDoc.

Returns :

New FoLayout.

fo_doc_get_language ()

const gchar*        fo_doc_get_language                 (FoDoc *fo_doc);

Get the language in fo_doc.

fo_doc :

FoDoc

Returns :

Language of file parsed to make fo_doc.

fo_doc_set_language ()

void                fo_doc_set_language                 (FoDoc *fo_doc,
                                                         const gchar *language);

Set the language in fo_doc.

fo_doc :

FoDoc.

language :

Language.

fo_doc_get_base_dir ()

FoEnumAreaDirection fo_doc_get_base_dir                 (FoDoc *fo_doc);

Get the FoEnumAreaDirection used as input to fo_doc.

fo_doc :

FoDoc.

Returns :

FoEnumAreaDirection used as input to fo_doc.

fo_doc_set_base_dir ()

void                fo_doc_set_base_dir                 (FoDoc *fo_doc,
                                                         FoEnumAreaDirection base_dir);

Set the FoEnumAreaDirection in fo_doc.

fo_doc :

FoDoc.

base_dir :

FoEnumAreaDirection value for new base direction.
xmlroff-0.6.2/docs/html/xmlroff-FoError.html0000644000175000017500000001655111156164734015750 00000000000000 FoError

FoError

FoError

Description

Details

FoError

typedef struct _FoError FoError;


FoErrorClass

typedef struct _FoErrorClass FoErrorClass;


fo_error_new ()

FoDatatype*         fo_error_new                        (void);

Creates a new FoError initialized to default value.

Returns :

The new FoError

fo_error_new_with_value ()

FoDatatype*         fo_error_new_with_value             (GError *value);

Creates a new FoError set to value

value :

Error of the new FoError

Returns :

The new FoError

fo_error_get_value ()

GError*             fo_error_get_value                  (FoDatatype *error);

Get the value of error

error :

FoError

Returns :

GError
xmlroff-0.6.2/docs/html/xmlroff-FoFontDesc.html0000644000175000017500000003545711156164734016372 00000000000000 FoFontDesc

FoFontDesc

FoFontDesc

Synopsis

                    FoFontDesc;
                    FoFontDescClass;
#define             FO_FONT_DESC_ERROR
GQuark              fo_font_desc_error_quark            (void);
enum                FoFontDescError;
FoFontDesc*         fo_font_desc_new                    (void);
FoFontDesc*         fo_font_desc_copy                   (const FoFontDesc *font_desc);
void                fo_font_desc_set_family             (FoFontDesc *font_desc,
                                                         const char *family);
void                fo_font_desc_set_size               (FoFontDesc *font_desc,
                                                         gfloat size);
void                fo_font_desc_set_style              (FoFontDesc *font_desc,
                                                         FoEnumEnum style);
void                fo_font_desc_set_stretch            (FoFontDesc *font_desc,
                                                         FoEnumEnum stretch);
void                fo_font_desc_set_variant            (FoFontDesc *font_desc,
                                                         FoEnumEnum variant);
void                fo_font_desc_set_weight             (FoFontDesc *font_desc,
                                                         gint weight);

Description

Details

FoFontDesc

typedef struct _FoFontDesc FoFontDesc;


FoFontDescClass

typedef struct _FoFontDescClass FoFontDescClass;


FO_FONT_DESC_ERROR

#define FO_FONT_DESC_ERROR fo_font_desc_error_quark ()


fo_font_desc_error_quark ()

GQuark              fo_font_desc_error_quark            (void);

Get the error quark for FoFontDesc.

If the quark does not yet exist, create it.

Returns :

GQuark associated with FoFontDesc errors.

enum FoFontDescError

typedef enum
{
  FO_FONT_DESC_ERROR_FAILED
} FoFontDescError;


fo_font_desc_new ()

FoFontDesc*         fo_font_desc_new                    (void);

Creates a new FoFontDesc.

Returns :

the newly created FoFontDesc.

fo_font_desc_copy ()

FoFontDesc*         fo_font_desc_copy                   (const FoFontDesc *font_desc);

font_desc :

Returns :


fo_font_desc_set_family ()

void                fo_font_desc_set_family             (FoFontDesc *font_desc,
                                                         const char *family);

font_desc :

family :


fo_font_desc_set_size ()

void                fo_font_desc_set_size               (FoFontDesc *font_desc,
                                                         gfloat size);

font_desc :

size :


fo_font_desc_set_style ()

void                fo_font_desc_set_style              (FoFontDesc *font_desc,
                                                         FoEnumEnum style);

font_desc :

style :


fo_font_desc_set_stretch ()

void                fo_font_desc_set_stretch            (FoFontDesc *font_desc,
                                                         FoEnumEnum stretch);

font_desc :

stretch :


fo_font_desc_set_variant ()

void                fo_font_desc_set_variant            (FoFontDesc *font_desc,
                                                         FoEnumEnum variant);

font_desc :

variant :


fo_font_desc_set_weight ()

void                fo_font_desc_set_weight             (FoFontDesc *font_desc,
                                                         gint weight);

font_desc :

weight :

xmlroff-0.6.2/docs/html/xmlroff-FoImage.html0000644000175000017500000002467411156164734015706 00000000000000 FoImage

FoImage

FoImage

Synopsis

                    FoImage;
                    FoImageClass;
FoImage*            fo_image_new                        (void);
FoImage*            fo_image_new_from_uri               (const gchar *uri,
                                                         const gchar *base);
const gchar*        fo_image_get_uri                    (FoImage *fo_image);
FoDatatype*         fo_image_get_width                  (const FoImage *fo_image);
FoDatatype*         fo_image_get_height                 (const FoImage *fo_image);

Description

Details

FoImage

typedef struct _FoImage FoImage;


FoImageClass

typedef struct _FoImageClass FoImageClass;


fo_image_new ()

FoImage*            fo_image_new                        (void);

Creates a new FoImage.

Returns :

the newly created FoImage.

fo_image_new_from_uri ()

FoImage*            fo_image_new_from_uri               (const gchar *uri,
                                                         const gchar *base);

Creates a new FoImage from the resource at uri.

If uri is a relative URI, it is resolved relative to base.

uri :

URI of image.

base :

Base URI for resolving relative URI uri values.

Returns :

the newly created FoImageo or NULL.

fo_image_get_uri ()

const gchar*        fo_image_get_uri                    (FoImage *fo_image);

Get the URI in fo_image.

fo_image :

FoImage

Returns :

URI of image to make fo_image.

fo_image_get_width ()

FoDatatype*         fo_image_get_width                  (const FoImage *fo_image);

Gets the intrinsic width of fo_image.

fo_image :

FoImage

Returns :

The intrinsic width of fo_image.

fo_image_get_height ()

FoDatatype*         fo_image_get_height                 (const FoImage *fo_image);

Gets the intrinsic height of fo_image.

fo_image :

FoImage.

Returns :

The intrinsic height of fo_image.
xmlroff-0.6.2/docs/html/xmlroff-FoLayoutCairo.html0000644000175000017500000001503111156164734017102 00000000000000 FoLayoutCairo

FoLayoutCairo

FoLayoutCairo

Description

Details

FoLayoutCairo

typedef struct {
  FoLayout     parent_instance;
} FoLayoutCairo;


FoLayoutCairoClass

typedef struct {
  FoLayoutClass parent_class;
} FoLayoutCairoClass;


fo_layout_cairo_new ()

FoLayout*           fo_layout_cairo_new                 (void);

Creates a new FoLayoutCairo.

Returns :

the newly created FoLayoutCairo.

fo_layout_cairo_new_from_fo_doc ()

FoLayout*           fo_layout_cairo_new_from_fo_doc     (FoDoc *fo_doc);

Creates a new FoLayoutCairo.

fo_doc :

FoDoc.

Returns :

the newly created FoLayoutCairo.
xmlroff-0.6.2/docs/html/xmlroff-fo-layout-gp.html0000644000175000017500000001462111156164734016711 00000000000000 fo-layout-gp

fo-layout-gp

fo-layout-gp

Description

Details

FoLayoutGP

typedef struct _FoLayoutGP FoLayoutGP;


FoLayoutGPClass

typedef struct _FoLayoutGPClass FoLayoutGPClass;


fo_layout_gp_new ()

FoLayout*           fo_layout_gp_new                    (void);

Creates a new FoLayoutGP.

Returns :

the newly created FoLayoutGP.

fo_layout_gp_new_from_fo_doc ()

FoLayout*           fo_layout_gp_new_from_fo_doc        (FoDoc *fo_doc);

Creates a new FoLayoutGP.

fo_doc :

FoDoc.

Returns :

the newly created FoLayoutGP.
xmlroff-0.6.2/docs/html/xmlroff-FoLayout.html0000644000175000017500000007022211156164734016127 00000000000000 FoLayout

FoLayout

FoLayout

Synopsis

                    FoLayout;
                    FoLayoutClass;
#define             FO_LAYOUT_ERROR
GQuark              fo_layout_error_quark               (void);
enum                FoLayoutError;
                    FoRectangle;
FoLayout*           fo_layout_new                       (void);
FoLayout*           fo_layout_new_from_fo_doc           (FoDoc *fo_doc);
FoLayout*           fo_layout_copy                      (FoLayout *src);
void                fo_layout_set_attributes            (FoLayout *fo_layout,
                                                         GList *attr_glist);
void                fo_layout_set_text                  (FoLayout *fo_layout,
                                                         GString *text);
void                fo_layout_set_width                 (FoLayout *fo_layout,
                                                         gfloat width);
void                fo_layout_set_font_desc             (FoLayout *fo_layout,
                                                         const FoFontDesc *desc);
void                fo_layout_set_alignment             (FoLayout *fo_layout,
                                                         FoEnumAreaDirection alignment);
void                fo_layout_set_indent                (FoLayout *fo_layout,
                                                         gfloat indent);
void                fo_layout_set_justify               (FoLayout *fo_layout,
                                                         gboolean justify);
gint                fo_layout_get_line_count            (FoLayout *fo_layout);
void                fo_layout_get_extents               (FoLayout *fo_layout,
                                                         FoRectangle *logical_rect);
void                fo_layout_get_line_extents          (FoLayout *fo_layout,
                                                         gint line_index,
                                                         FoRectangle *logical_rect);
void                fo_layout_set_line_height           (FoLayout *fo_layout,
                                                         gfloat line_height);
void                fo_layout_set_line_stacking_strategy
                                                        (FoLayout *fo_layout,
                                                         FoEnumEnum line_stacking_strategy);

Description

Details

FoLayout

typedef struct _FoLayout FoLayout;


FoLayoutClass

typedef struct _FoLayoutClass FoLayoutClass;


FO_LAYOUT_ERROR

#define FO_LAYOUT_ERROR fo_layout_error_quark ()


fo_layout_error_quark ()

GQuark              fo_layout_error_quark               (void);

Get the error quark for FoLayout.

If the quark does not yet exist, create it.

Returns :

GQuark associated with FoLayout errors.

enum FoLayoutError

typedef enum
{
  FO_LAYOUT_ERROR_FAILED
} FoLayoutError;


FoRectangle

typedef struct {
  int x;
  int y;
  int width;
  int height;
} FoRectangle;


fo_layout_new ()

FoLayout*           fo_layout_new                       (void);

Creates a new FoLayout.

Returns :

the newly created FoLayout.

fo_layout_new_from_fo_doc ()

FoLayout*           fo_layout_new_from_fo_doc           (FoDoc *fo_doc);

Creates a new FoLayout.

fo_doc :

FoDoc.

Returns :

the newly created FoLayout.

fo_layout_copy ()

FoLayout*           fo_layout_copy                      (FoLayout *src);

src :

Returns :


fo_layout_set_attributes ()

void                fo_layout_set_attributes            (FoLayout *fo_layout,
                                                         GList *attr_glist);

Sets the attributes of fo_layout to attr_glist.

fo_layout :

FoLayout for which to set attributes.

attr_glist :

Attributes to apply to fo_layout.

fo_layout_set_text ()

void                fo_layout_set_text                  (FoLayout *fo_layout,
                                                         GString *text);

Sets the text of fo_layout to text.

fo_layout :

FoLayout for which to set text.

text :

New text of fo_layout.

fo_layout_set_width ()

void                fo_layout_set_width                 (FoLayout *fo_layout,
                                                         gfloat width);

Sets the width of fo_layout to width.

fo_layout :

FoLayout for which to set width.

width :

New width, in points, of fo_layout.

fo_layout_set_font_desc ()

void                fo_layout_set_font_desc             (FoLayout *fo_layout,
                                                         const FoFontDesc *desc);

Sets the FoFontDesc of fo_layout to desc.

fo_layout :

FoLayout for which to set font desc.

desc :

New FoFontDesc of fo_layout.

fo_layout_set_alignment ()

void                fo_layout_set_alignment             (FoLayout *fo_layout,
                                                         FoEnumAreaDirection alignment);

Sets the alignment of fo_layout.

fo_layout :

FoLayout to have alignment set.

alignment :

FoEnumAreaDirection value indicating new alignment.

fo_layout_set_indent ()

void                fo_layout_set_indent                (FoLayout *fo_layout,
                                                         gfloat indent);

Sets the indent of fo_layout to indent.

fo_layout :

FoLayout for which to set indent.

indent :

New indent, in points, of fo_layout.

fo_layout_set_justify ()

void                fo_layout_set_justify               (FoLayout *fo_layout,
                                                         gboolean justify);

Sets whether or not to justify fo_layout.

fo_layout :

FoLayout for which to set justify.

justify :

Sets whether or not to justify fo_layout.

fo_layout_get_line_count ()

gint                fo_layout_get_line_count            (FoLayout *fo_layout);

Gets the number of lines in fo_layout.

fo_layout :

FoLayout for which to get line count.

Returns :

Number of lines in fo_layout.

fo_layout_get_extents ()

void                fo_layout_get_extents               (FoLayout *fo_layout,
                                                         FoRectangle *logical_rect);

Gets the extents of fo_layout and puts them in logical_rect.

fo_layout :

FoLayout for which to get extents

logical_rect :

FoRectangle to hold extents

fo_layout_get_line_extents ()

void                fo_layout_get_line_extents          (FoLayout *fo_layout,
                                                         gint line_index,
                                                         FoRectangle *logical_rect);

Puts the extents of the line of fo_layout given by line_index in logical_rect.

The first line has line_index value of 0.

fo_layout :

FoLayout for which to get line extents.

line_index :

Number of line for which to get extents.

logical_rect :

Holds result.

fo_layout_set_line_height ()

void                fo_layout_set_line_height           (FoLayout *fo_layout,
                                                         gfloat line_height);

Set the 'line-height' of fo_layout to line_height.

fo_layout :

FoLayout.

line_height :

'line-height' in points.

fo_layout_set_line_stacking_strategy ()

void                fo_layout_set_line_stacking_strategy
                                                        (FoLayout *fo_layout,
                                                         FoEnumEnum line_stacking_strategy);

Set the 'line-stacking-strategy' property of fo_layout to line_stacking_strategy.

fo_layout :

FoLayout.

line_stacking_strategy :

Line stacking strategy to use.
xmlroff-0.6.2/docs/html/xmlroff-fo-libfo-basic.html0000644000175000017500000003626411156164734017151 00000000000000 fo-libfo-basic

fo-libfo-basic

fo-libfo-basic

Synopsis

enum                FoLibfoBasicError;
#define             FO_LIBFO_BASIC_ERROR
GQuark              fo_libfo_basic_error_quark          (void);
                    FoLibfoContext;
gboolean            fo_libfo_init                       (void);
gpointer            (*FoMalloc)                         (gsize n_bytes);
gpointer            (*FoRealloc)                        (gpointer mem,
                                                         gsize n_bytes);
void                (*FoFree)                           (gpointer mem);
gboolean            fo_libfo_init2                      (FoMalloc fo_malloc,
                                                         FoRealloc fo_realloc,
                                                         FoFree fo_free);
gboolean            fo_libfo_shutdown                   (void);
FoLibfoContext*     fo_libfo_context_new                (void);
gboolean            fo_libfo_format                     (const gchar *xml,
                                                         const gchar *xslt,
                                                         const gchar *out,
                                                         GError **error);

Description

Details

enum FoLibfoBasicError

typedef enum
{
  FO_LIBFO_BASIC_ERROR_FAILED,		/* Generic error code */
  FO_LIBFO_BASIC_ERROR_UNKNOWN_FORMAT,
  FO_LIBFO_BASIC_ERROR_WARNING,	/* Non-fatal error */
  FO_LIBFO_BASIC_ERROR_LAST
} FoLibfoBasicError;


FO_LIBFO_BASIC_ERROR

#define FO_LIBFO_BASIC_ERROR (fo_libfo_basic_error_quark ())


fo_libfo_basic_error_quark ()

GQuark              fo_libfo_basic_error_quark          (void);

Get the error quark for FoLibfo.

If the quark does not yet exist, create it.

Returns :

Quark associated with FoLibfo errors.

FoLibfoContext

typedef struct _FoLibfoContext FoLibfoContext;


fo_libfo_init ()

gboolean            fo_libfo_init                       (void);

Initialise the libfo formatter.

Returns :

TRUE if successful.

FoMalloc ()

gpointer            (*FoMalloc)                         (gsize n_bytes);

n_bytes :

Returns :


FoRealloc ()

gpointer            (*FoRealloc)                        (gpointer mem,
                                                         gsize n_bytes);

mem :

n_bytes :

Returns :


FoFree ()

void                (*FoFree)                           (gpointer mem);

mem :


fo_libfo_init2 ()

gboolean            fo_libfo_init2                      (FoMalloc fo_malloc,
                                                         FoRealloc fo_realloc,
                                                         FoFree fo_free);

Initialise the libfo formatter and provide functions for allocating, reallocating, and freeing memory.

fo_malloc :

Function that allocates memory.

fo_realloc :

Function that reallocates memory.

fo_free :

Function that frees memory.

Returns :

TRUE if successful.

fo_libfo_shutdown ()

gboolean            fo_libfo_shutdown                   (void);

Shutdown the libfo formatter.

Returns :

TRUE if successful.

fo_libfo_context_new ()

FoLibfoContext*     fo_libfo_context_new                (void);

Creates a new FoLibfoContext initialized to default value.

Returns :

The new FoLibfoContext.

fo_libfo_format ()

gboolean            fo_libfo_format                     (const gchar *xml,
                                                         const gchar *xslt,
                                                         const gchar *out,
                                                         GError **error);

xml :

xslt :

out :

error :

Returns :

xmlroff-0.6.2/docs/html/xmlroff-FoLibfoContext.html0000644000175000017500000007146611156164734017265 00000000000000 FoLibfoContext

FoLibfoContext

FoLibfoContext — Collected information about the processing context

Description

Collected information about the processing context in which to do the formatting.

This context contains parameters that are not part of the XML for the FO, e.g., whether or not to validate the input and whether or not to embed fonts in the output.

Details

enum FoFlagsFormat

typedef enum {
  FO_FLAG_FORMAT_UNKNOWN = 0,
  FO_FLAG_FORMAT_AUTO = 1 << 0,
  FO_FLAG_FORMAT_PDF = 1 << 1,
  FO_FLAG_FORMAT_POSTSCRIPT = 1 << 2,
  FO_FLAG_FORMAT_SVG = 1 << 3
} FoFlagsFormat;

Output file format. Used both for specifying which format to use and to identify formats supported by a particular backend.

FO_FLAG_FORMAT_UNKNOWN

Invalid format

FO_FLAG_FORMAT_AUTO

Choose based on output file name or other heuristic

FO_FLAG_FORMAT_PDF

PDF

FO_FLAG_FORMAT_POSTSCRIPT

PostScript

FO_FLAG_FORMAT_SVG

SVG

FO_TYPE_FLAGS_FORMAT

#define FO_TYPE_FLAGS_FORMAT fo_flags_format_get_type ()


enum FoEnumFontEmbed

typedef enum {
  FO_ENUM_FONT_EMBED_INVALID,
  FO_ENUM_FONT_EMBED_ALL,
  FO_ENUM_FONT_EMBED_NONBASE,
  FO_ENUM_FONT_EMBED_NONE
} FoEnumFontEmbed;

Which categories of fonts to embed in the output file, useful only where the output format and the backend both support control of embedding or not embedding those fonts.

FO_ENUM_FONT_EMBED_INVALID

Invalid category

FO_ENUM_FONT_EMBED_ALL

Embed all fonts

FO_ENUM_FONT_EMBED_NONBASE

Embed all fonts except the PostScript base fonts

FO_ENUM_FONT_EMBED_NONE

Do not embed any fonts

fo_enum_font_embed_get_type ()

GType               fo_enum_font_embed_get_type         (void);

Returns :


FO_TYPE_ENUM_FONT_EMBED

#define FO_TYPE_ENUM_FONT_EMBED fo_enum_font_embed_get_type ()


FoLibfoContextClass

typedef struct _FoLibfoContextClass FoLibfoContextClass;


fo_libfo_context_get_type ()

GType               fo_libfo_context_get_type           (void);

Register the FoLibfoContext type if not already registered and return its GType value.

Returns :

GType of FoLibfoContext.

fo_libfo_context_get_continue_after_error ()

gboolean            fo_libfo_context_get_continue_after_error
                                                        (FoLibfoContext *libfo_context);

Get the 'continue' property of libfo_context.

libfo_context :

FoLibfoContext.

Returns :

Value of the 'continue' property of libfo_context.

fo_libfo_context_set_continue_after_error ()

void                fo_libfo_context_set_continue_after_error
                                                        (FoLibfoContext *libfo_context,
                                                         gboolean continue_after_error);

Set the 'continue' property of libfo_context.

libfo_context :

FoLibfoContext.

continue_after_error :

New 'continue' value for libfo_context.

fo_libfo_context_get_format ()

FoFlagsFormat       fo_libfo_context_get_format         (FoLibfoContext *libfo_context);

Get the 'format' property of libfo_context.

libfo_context :

FoLibfoContext.

Returns :

Value of the 'format' property of libfo_context.

fo_libfo_context_set_format ()

void                fo_libfo_context_set_format         (FoLibfoContext *libfo_context,
                                                         FoFlagsFormat format);

Set the 'format' property of libfo_context.

If more that one flag value is set in format, only the first (lowest) set value will be used.

libfo_context :

FoLibfoContext.

format :

New 'format' value for libfo_context.

fo_libfo_context_get_font_embed ()

FoEnumFontEmbed     fo_libfo_context_get_font_embed     (FoLibfoContext *libfo_context);

Get the 'font-embed' property of libfo_context.

libfo_context :

FoLibfoContext.

Returns :

Value of the 'font-embed' property of libfo_context.

fo_libfo_context_set_font_embed ()

void                fo_libfo_context_set_font_embed     (FoLibfoContext *libfo_context,
                                                         FoEnumFontEmbed font_embed);

Set the 'font-embed' property of libfo_context.

libfo_context :

FoLibfoContext.

font_embed :

New 'font-embed' value for libfo_context.

fo_libfo_context_get_validation ()

gboolean            fo_libfo_context_get_validation     (FoLibfoContext *libfo_context);

Get the 'validation' property of libfo_context.

libfo_context :

FoLibfoContext.

Returns :

Value of the 'validation' property of libfo_context.

fo_libfo_context_set_validation ()

void                fo_libfo_context_set_validation     (FoLibfoContext *libfo_context,
                                                         gboolean validation);

Set the 'validation' property of libfo_context.

libfo_context :

FoLibfoContext.

validation :

New 'validation' value for libfo_context.

fo_libfo_context_get_warning_mode ()

FoWarningFlag       fo_libfo_context_get_warning_mode   (FoLibfoContext *libfo_context);

Get the 'warning_mode' property of libfo_context.

libfo_context :

FoLibfoContext.

Returns :

Value of the 'warning_mode' property of libfo_context.

fo_libfo_context_set_warning_mode ()

void                fo_libfo_context_set_warning_mode   (FoLibfoContext *libfo_context,
                                                         FoWarningFlag warning_mode);

Set the 'warning-mode' property of libfo_context.

libfo_context :

FoLibfoContext.

warning_mode :

New 'warning-mode' value for libfo_context.

fo_libfo_context_get_debug_mode ()

FoDebugFlag         fo_libfo_context_get_debug_mode     (FoLibfoContext *libfo_context);

Get the 'debug_mode' property of libfo_context.

libfo_context :

FoLibfoContext.

Returns :

Value of the 'debug_mode' property of libfo_context.

fo_libfo_context_set_debug_mode ()

void                fo_libfo_context_set_debug_mode     (FoLibfoContext *libfo_context,
                                                         FoDebugFlag debug_mode);

Set the 'debug-mode' property of libfo_context.

libfo_context :

FoLibfoContext.

debug_mode :

New 'debug-mode' value for libfo_context.
xmlroff-0.6.2/docs/html/xmlroff-fo-marker-parent.html0000644000175000017500000002131611156164734017537 00000000000000 fo-marker-parent

fo-marker-parent

fo-marker-parent

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoBasicLink
                           +----FoBidiOverride
                           +----FoBlock
                           +----FoBlockContainer
                           +----FoInlineContainer
                           +----FoInline
                           +----FoListBlock
                           +----FoListItemBody
                           +----FoListItem
                           +----FoListItemLabel
                           +----FoTableAndCaption
                           +----FoTablePart
                           +----FoTableCaption
                           +----FoTableCell
                           +----FoTable
                           +----FoWrapper

Description

Details

FoMarkerParent

typedef struct _FoMarkerParent FoMarkerParent;


FoMarkerParentClass

typedef struct _FoMarkerParentClass FoMarkerParentClass;


fo_marker_parent_new ()

FoFo*               fo_marker_parent_new                (void);

Creates a new FoMarkerParent initialized to default value.

Returns :

the new FoMarkerParent.

fo_marker_parent_update_from_context ()

void                fo_marker_parent_update_from_context
                                                        (FoFo *fo,
                                                         FoContext *context);

fo :

context :

xmlroff-0.6.2/docs/html/xmlroff-FoNeutralFoIface.html0000644000175000017500000001134711156164734017504 00000000000000 FoNeutralFoIface

FoNeutralFoIface

FoNeutralFoIface

Description

Details

FO_NEUTRAL_FO_IFACE()

#define FO_NEUTRAL_FO_IFACE(obj)      (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_NEUTRAL_FO, FoNeutralFoIface))

obj :


FoNeutralFo

typedef struct _FoNeutralFo FoNeutralFo;


FoNeutralFoIface

typedef struct {
  GTypeInterface g_iface;
} FoNeutralFoIface;

xmlroff-0.6.2/docs/html/xmlroff-font-family.html0000644000175000017500000001405211156164734016611 00000000000000 font-family

font-family

font-family

Description

Details

FoPropertyFontFamily

typedef struct _FoPropertyFontFamily FoPropertyFontFamily;


FoPropertyFontFamilyClass

typedef struct _FoPropertyFontFamilyClass FoPropertyFontFamilyClass;


fo_property_font_family_new ()

FoProperty*         fo_property_font_family_new         (void);

Creates a new FoPropertyFontFamily initialized to default value.

Returns :

the new FoPropertyFontFamily.

fo_property_font_family_get_initial ()

FoProperty*         fo_property_font_family_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-font-size.html0000644000175000017500000001374111156164734016306 00000000000000 font-size

font-size

font-size

Description

Details

FoPropertyFontSize

typedef struct _FoPropertyFontSize FoPropertyFontSize;


FoPropertyFontSizeClass

typedef struct _FoPropertyFontSizeClass FoPropertyFontSizeClass;


fo_property_font_size_new ()

FoProperty*         fo_property_font_size_new           (void);

Creates a new FoPropertyFontSize initialized to default value.

Returns :

the new FoPropertyFontSize.

fo_property_font_size_get_initial ()

FoProperty*         fo_property_font_size_get_initial   (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-font-stretch.html0000644000175000017500000001431311156164734017004 00000000000000 font-stretch

font-stretch

font-stretch

Description

Details

FoPropertyFontStretch

typedef struct _FoPropertyFontStretch FoPropertyFontStretch;


FoPropertyFontStretchClass

typedef struct _FoPropertyFontStretchClass FoPropertyFontStretchClass;


fo_property_font_stretch_new ()

FoProperty*         fo_property_font_stretch_new        (void);

Creates a new FoPropertyFontStretch initialized to default value.

Returns :

the new FoPropertyFontStretch.

fo_property_font_stretch_get_initial ()

FoProperty*         fo_property_font_stretch_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-font-style.html0000644000175000017500000001402011156164734016463 00000000000000 font-style

font-style

font-style

Description

Details

FoPropertyFontStyle

typedef struct _FoPropertyFontStyle FoPropertyFontStyle;


FoPropertyFontStyleClass

typedef struct _FoPropertyFontStyleClass FoPropertyFontStyleClass;


fo_property_font_style_new ()

FoProperty*         fo_property_font_style_new          (void);

Creates a new FoPropertyFontStyle initialized to default value.

Returns :

the new FoPropertyFontStyle.

fo_property_font_style_get_initial ()

FoProperty*         fo_property_font_style_get_initial  (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-font-variant.html0000644000175000017500000001447311156164734017003 00000000000000 font-variant

font-variant

font-variant

Description

Details

FoPropertyFontVariant

typedef struct _FoPropertyFontVariant FoPropertyFontVariant;

Instance of the 'font-variant' property.


FoPropertyFontVariantClass

typedef struct _FoPropertyFontVariantClass FoPropertyFontVariantClass;

Class structure for the 'font-variant' property.


fo_property_font_variant_new ()

FoProperty*         fo_property_font_variant_new        (void);

Creates a new FoPropertyFontVariant initialized to default value.

Returns :

the new FoPropertyFontVariant.

fo_property_font_variant_get_initial ()

FoProperty*         fo_property_font_variant_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-font-weight.html0000644000175000017500000001655511156164734016631 00000000000000 font-weight

font-weight

font-weight

Description

Details

FoPropertyFontWeight

typedef struct _FoPropertyFontWeight FoPropertyFontWeight;


FoPropertyFontWeightClass

typedef struct _FoPropertyFontWeightClass FoPropertyFontWeightClass;


fo_property_font_weight_get_type ()

GType               fo_property_font_weight_get_type    (void);

Register the FoPropertyFontWeight type if not already registered and return its GType value.

Returns :

GType of FoPropertyFontWeight.

fo_property_font_weight_new ()

FoProperty*         fo_property_font_weight_new         (void);

Creates a new FoPropertyFontWeight initialized to default value.

Returns :

the new FoPropertyFontWeight.

fo_property_font_weight_get_initial ()

FoProperty*         fo_property_font_weight_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-footnote-body.html0000644000175000017500000003100711156164734017153 00000000000000 footnote-body

footnote-body

footnote-body

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoFootnoteBody

Properties

  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoFootnoteBody

typedef struct _FoFootnoteBody FoFootnoteBody;


FoFootnoteBodyClass

typedef struct _FoFootnoteBodyClass FoFootnoteBodyClass;


fo_footnote_body_new ()

FoFo*               fo_footnote_body_new                (void);

Creates a new FoFootnoteBody initialized to default value.

Returns :

the new FoFootnoteBody.

fo_footnote_body_get_role ()

FoProperty*         fo_footnote_body_get_role           (FoFo *fo_fo);

Gets the "role" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "role" property value.

fo_footnote_body_set_role ()

void                fo_footnote_body_set_role           (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_footnote_body_get_source_document ()

FoProperty*         fo_footnote_body_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "source-document" property value.

fo_footnote_body_set_source_document ()

void                fo_footnote_body_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

Property Details

The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-footnote.html0000644000175000017500000003067011156164734016225 00000000000000 footnote

footnote

footnote

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoFootnote

Implemented Interfaces

FoFootnote implements FoInlineFoIface.

Properties

  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoFootnote

typedef struct _FoFootnote FoFootnote;


FoFootnoteClass

typedef struct _FoFootnoteClass FoFootnoteClass;


fo_footnote_new ()

FoFo*               fo_footnote_new                     (void);

Creates a new FoFootnote initialized to default value.

Returns :

the new FoFootnote

fo_footnote_set_role ()

void                fo_footnote_set_role                (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the role property of footnote to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_footnote_get_role ()

FoProperty*         fo_footnote_get_role                (FoFo *fo_fo);

Gets the role property of footnote

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_footnote_set_source_document ()

void                fo_footnote_set_source_document     (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the source-document property of footnote to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_footnote_get_source_document ()

FoProperty*         fo_footnote_get_source_document     (FoFo *fo_fo);

Gets the source-document property of footnote

fo_fo :

The FoFo object

Returns :

The "source-document" property value

Property Details

The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-FoPcw.html0000644000175000017500000002052011156164734015377 00000000000000 FoPcw

FoPcw

FoPcw

Description

Details

FoPcw

typedef struct _FoPcw FoPcw;


FoPcwClass

typedef struct _FoPcwClass FoPcwClass;


fo_pcw_new ()

FoDatatype*         fo_pcw_new                          (void);

Creates a new FoPcw initialized to default value.

Returns :

the new FoPcw

fo_pcw_new_with_value ()

FoDatatype*         fo_pcw_new_with_value               (gdouble value);

Creates a new FoPcw set to value

value :

Value of the new FoPcw

Returns :

The new FoPcw

fo_pcw_get_value ()

gdouble             fo_pcw_get_value                    (FoDatatype *pcw);

Get the value of pcw

pcw :

FoPcw

Returns :

Numeric value of pcw

fo_pcw_get_pcw_zero ()

FoDatatype*         fo_pcw_get_pcw_zero                 (void);

Create and return an FoPcw with the well-known value 0.

This saves creation of multiple FoPcw objects that all have the value 0.0.

Returns :

FoPcw with value 0
xmlroff-0.6.2/docs/html/xmlroff-FoPixbuf.html0000644000175000017500000001636011156164734016112 00000000000000 FoPixbuf

FoPixbuf

FoPixbuf

Synopsis

#define             FO_PIXBUF_IFACE                     (obj)
                    FoPixbuf;
                    FoPixbufIface;
GdkPixbuf*          fo_pixbuf_get_pixbuf                (FoImage *fo_image);
void                fo_pixbuf_set_pixbuf                (FoImage *fo_image,
                                                         GdkPixbuf *pixbuf);

Description

Details

FO_PIXBUF_IFACE()

#define FO_PIXBUF_IFACE(obj)      (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_PIXBUF, FoPixbufIface))

obj :


FoPixbuf

typedef struct _FoPixbuf FoPixbuf;


FoPixbufIface

typedef struct {
  GTypeInterface g_iface;

  GdkPixbuf * (*get_pixbuf) (FoImage   *fo_image);
  void        (*set_pixbuf) (FoImage   *fo_image,
			     GdkPixbuf *pixbuf);
} FoPixbufIface;


fo_pixbuf_get_pixbuf ()

GdkPixbuf*          fo_pixbuf_get_pixbuf                (FoImage *fo_image);

Gets the GdkPixbuf contained by fo_image.

fo_image :

The FoImage containing the pixbuf.

Returns :

The GdkPixbuf contained by fo_image.

fo_pixbuf_set_pixbuf ()

void                fo_pixbuf_set_pixbuf                (FoImage *fo_image,
                                                         GdkPixbuf *pixbuf);

Sets the GdkPixbuf contained by fo_image.

fo_image :

The FoImage containing the pixbuf.

pixbuf :

GdkPixbuf to be contained by fo_image.
xmlroff-0.6.2/docs/html/xmlroff-fo-property-border-color.html0000644000175000017500000001465711156164734021254 00000000000000 fo-property-border-color

fo-property-border-color

fo-property-border-color

Description

Details

FoPropertyBorderColor

typedef struct _FoPropertyBorderColor FoPropertyBorderColor;


FoPropertyBorderColorClass

typedef struct _FoPropertyBorderColorClass FoPropertyBorderColorClass;


fo_property_border_color_new ()

FoProperty*         fo_property_border_color_new        (void);

Creates a new FoPropertyBorderColor initialized to default value.

Returns :

the new FoPropertyBorderColor.

fo_property_border_color_get_initial ()

FoProperty*         fo_property_border_color_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-fo-retrieve-marker.html0000644000175000017500000001672711156164734020105 00000000000000 fo-retrieve-marker

fo-retrieve-marker

fo-retrieve-marker

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoRetrieveMarker

Implemented Interfaces

FoRetrieveMarker implements FoNeutralIface.

Description

Details

FoRetrieveMarker

typedef struct _FoRetrieveMarker FoRetrieveMarker;


FoRetrieveMarkerClass

typedef struct _FoRetrieveMarkerClass FoRetrieveMarkerClass;


fo_retrieve_marker_new ()

FoFo*               fo_retrieve_marker_new              (void);

Creates a new FoRetrieveMarker initialized to default value.

Returns :

the new FoRetrieveMarker

fo_retrieve_marker_update_from_context ()

void                fo_retrieve_marker_update_from_context
                                                        (FoFo *fo,
                                                         FoContext *context);

fo :

context :

xmlroff-0.6.2/docs/html/xmlroff-format.html0000644000175000017500000001360311156164734015655 00000000000000 format

format

format

Description

Details

FoPropertyFormat

typedef struct _FoPropertyFormat FoPropertyFormat;


FoPropertyFormatClass

typedef struct _FoPropertyFormatClass FoPropertyFormatClass;


fo_property_format_new ()

FoProperty*         fo_property_format_new              (void);

Creates a new FoPropertyFormat initialized to default value.

Returns :

the new FoPropertyFormat.

fo_property_format_get_initial ()

FoProperty*         fo_property_format_get_initial      (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-FoTblr.html0000644000175000017500000003077611156164734015567 00000000000000 FoTblr

FoTblr

FoTblr

Description

Details

FoTblr

typedef struct _FoTblr FoTblr;


FoTblrClass

typedef struct _FoTblrClass FoTblrClass;


fo_tblr_new ()

FoDatatype*         fo_tblr_new                         (void);

Creates a new FoTblr initialized to default value.

Returns :

the new FoTblr

fo_tblr_new_from_values ()

FoDatatype*         fo_tblr_new_from_values             (FoDatatype *top,
                                                         FoDatatype *bottom,
                                                         FoDatatype *left,
                                                         FoDatatype *right);

Creates a new FoTblr with top, bottom, left and right components set to provided values.

top :

FoDatatype to use as top value

bottom :

FoDatatype to use as bottom value

left :

FoDatatype to use as left value

right :

FoDatatype to use as right value

Returns :

New FoTblr

fo_tblr_get_top ()

FoDatatype*         fo_tblr_get_top                     (FoDatatype *datatype);

Gets the top component value of datatype.

datatype :

FoTblr

Returns :

The top value of datatype.

fo_tblr_get_bottom ()

FoDatatype*         fo_tblr_get_bottom                  (FoDatatype *datatype);

Gets the .bottom component value of datatype

datatype :

FoTblr

Returns :

The bottom value of datatype

fo_tblr_get_left ()

FoDatatype*         fo_tblr_get_left                    (FoDatatype *datatype);

Gets the .left component value of datatype

datatype :

FoTblr

Returns :

The left value of datatype

fo_tblr_get_right ()

FoDatatype*         fo_tblr_get_right                   (FoDatatype *datatype);

Gets the .right component value of datatype

datatype :

FoTblr

Returns :

The right value of datatype
xmlroff-0.6.2/docs/html/xmlroff-fo-utils.html0000644000175000017500000002156611156164734016136 00000000000000 fo-utils

fo-utils

fo-utils

Synopsis

#define             GETTEXT_PACKAGE
#define             fo_propagate_and_return_if_error    (src, dest)
#define             fo_propagate_and_return_val_if_error(src, dest, val)
enum                FoDebugFlag;
enum                FoWarningFlag;
enum                FoEnumAreaDirection;

Description

Details

GETTEXT_PACKAGE

#define GETTEXT_PACKAGE "libfo"


fo_propagate_and_return_if_error()

#define             fo_propagate_and_return_if_error(src, dest)

src :

dest :


fo_propagate_and_return_val_if_error()

#define             fo_propagate_and_return_val_if_error(src, dest, val)

src :

dest :

val :


enum FoDebugFlag

typedef enum {
  FO_DEBUG_NONE = 0,
  FO_DEBUG_RESULT = 1 << 0,
  FO_DEBUG_FO = 1 << 1,
  FO_DEBUG_AREA = 1 << 2,
  FO_DEBUG_PANGO = 1 << 3,
  FO_DEBUG_MAX = ((1 << 4) - 1)
} FoDebugFlag;

Debugging flags.

FO_DEBUG_NONE

No debugging enabled

FO_DEBUG_RESULT

Debug result tree

FO_DEBUG_FO

Debug FO tree

FO_DEBUG_AREA

Debug area tree

FO_DEBUG_PANGO

Debug Pango layouts

FO_DEBUG_MAX

Maximum possible value

enum FoWarningFlag

typedef enum {
  FO_WARNING_NONE = 0,
  FO_WARNING_FO = 1 << 0,
  FO_WARNING_PROPERTY = 1 << 1,
  FO_WARNING_UNSUPPORTED_PROPERTY = 1 << 2,
  FO_WARNING_MAX = ((1 << 3) - 1)
} FoWarningFlag;

Warning flags.

FO_WARNING_NONE

No explicit control over warning message output

FO_WARNING_FO

Do not warn about FO errors

FO_WARNING_PROPERTY

Do not warn about property errors

FO_WARNING_UNSUPPORTED_PROPERTY

Do not warn about unsupported properties

FO_WARNING_MAX

Maximum possible value

enum FoEnumAreaDirection

typedef enum {
  FO_ENUM_AREA_DIRECTION_UNKNOWN,
  FO_ENUM_AREA_DIRECTION_LR,
  FO_ENUM_AREA_DIRECTION_RL,
  FO_ENUM_AREA_DIRECTION_TB,
  FO_ENUM_AREA_DIRECTION_BT
} FoEnumAreaDirection;

xmlroff-0.6.2/docs/html/xmlroff-FoWrapperInlineEmpty.html0000644000175000017500000001255211156164734020452 00000000000000 FoWrapperInlineEmpty

FoWrapperInlineEmpty

FoWrapperInlineEmpty

Description

Details

FoWrapperInlineEmpty

typedef struct {
  FoWrapper parent_instance;
} FoWrapperInlineEmpty;


FoWrapperInlineEmptyClass

typedef struct {
  FoWrapperClass parent_class;
} FoWrapperInlineEmptyClass;


fo_wrapper_inline_empty_new ()

FoFo*               fo_wrapper_inline_empty_new         (void);

Creates a new FoWrapperInlineEmpty initialized to default value.

Returns :

the new FoWrapperInlineEmpty.
xmlroff-0.6.2/docs/html/xmlroff-FoWsc.html0000644000175000017500000002537311156164734015415 00000000000000 FoWsc

FoWsc

FoWsc

Description

Details

FoWsc

typedef struct _FoWsc FoWsc;


FoWscClass

typedef struct _FoWscClass FoWscClass;


fo_wsc_new ()

FoDatatype*         fo_wsc_new                          (void);

Creates a new FoWsc initialized to default value.

Returns :

the new FoWsc

fo_wsc_new_from_values ()

FoDatatype*         fo_wsc_new_from_values              (FoDatatype *width,
                                                         FoDatatype *style,
                                                         FoDatatype *color);

Creates a new FoWsc with width, style, and color components set to provided values.

width :

FoDatatype to use as width value

style :

FoDatatype to use as style value

color :

FoDatatype to use as color value

Returns :

New FoWsc

fo_wsc_get_width ()

FoDatatype*         fo_wsc_get_width                    (FoDatatype *datatype);

Gets the width component value of datatype.

datatype :

FoWsc

Returns :

The width value of datatype.

fo_wsc_get_style ()

FoDatatype*         fo_wsc_get_style                    (FoDatatype *datatype);

Gets the style component value of datatype

datatype :

FoWsc

Returns :

The style value of datatype

fo_wsc_get_color ()

FoDatatype*         fo_wsc_get_color                    (FoDatatype *datatype);

Gets the color component value of datatype

datatype :

FoWsc

Returns :

The color value of datatype
xmlroff-0.6.2/docs/html/xmlroff-FoXmlDoc.html0000644000175000017500000005125511156164734016045 00000000000000 FoXmlDoc

FoXmlDoc

FoXmlDoc — libxml2 xmlDoc document

Synopsis

#define             FO_XML_DOC_ERROR
GQuark              fo_xml_doc_error_quark              (void);
enum                FoXmlDocError;
                    FoXmlDoc;
const LibfoVersionInfo* fo_xml_doc_version_info         (void);
FoXmlDoc*           fo_xml_doc_new_from_filename        (const gchar *filename,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);
FoXmlDoc*           fo_xml_doc_new_from_memory          (const gchar *buffer,
                                                         gint size,
                                                         const gchar *URL,
                                                         const gchar *encoding,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);
FoXmlDoc*           fo_xml_doc_new_from_string          (const gchar *curr,
                                                         const gchar *URL,
                                                         const gchar *encoding,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);
FoXmlDoc*           fo_xml_doc_ref                      (FoXmlDoc *fo_xml_doc);
void                fo_xml_doc_unref                    (FoXmlDoc *fo_xml_doc);
gchar*              fo_xml_doc_get_base                 (FoXmlDoc *fo_xml_doc);
void                fo_xml_doc_set_base                 (FoXmlDoc *fo_xml_doc,
                                                         const gchar *URL);

Description

Boxed object type for libxml2 xmlDoc document.

Details

FO_XML_DOC_ERROR

#define FO_XML_DOC_ERROR fo_xml_doc_error_quark ()


fo_xml_doc_error_quark ()

GQuark              fo_xml_doc_error_quark              (void);

Get the error quark for FoXmlDoc.

If the quark does not yet exist, create it.

Returns :

Quark associated with FoXmlDoc errors.

enum FoXmlDocError

typedef enum
{
  FO_XML_DOC_ERROR_FAILED,
  FO_XML_DOC_ERROR_FILENAME_PARSE_FAILED,
  FO_XML_DOC_ERROR_MEMORY_PARSE_FAILED,
  FO_XML_DOC_ERROR_NO_FILENAME
} FoXmlDocError;


FoXmlDoc

typedef struct _FoXmlDoc FoXmlDoc;


fo_xml_doc_version_info ()

const LibfoVersionInfo* fo_xml_doc_version_info         (void);

Returns :


fo_xml_doc_new_from_filename ()

FoXmlDoc*           fo_xml_doc_new_from_filename        (const gchar *filename,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Creates a new FoXmlDoc.

filename :

File or URL from which to create an FoXmlDoc.

libfo_context :

FoLibfoContext with parameters affecting parsing.

error :

Indication of any error that occurred.

Returns :

the newly created FoXmlDoc. Use fo_xml_doc_unref to free the result.

fo_xml_doc_new_from_memory ()

FoXmlDoc*           fo_xml_doc_new_from_memory          (const gchar *buffer,
                                                         gint size,
                                                         const gchar *URL,
                                                         const gchar *encoding,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Creates a new FoXmlDoc.

buffer :

Pointer to a char array.

size :

Size of the array.

URL :

Base URL to use for the document.

encoding :

The encoding of the document, or NULL.

libfo_context :

FoLibfoContext with parameters affecting parsing.

error :

Indication of any error that occurred.

Returns :

the newly created FoXmlDoc. Use fo_xml_doc_unref to free the result.

fo_xml_doc_new_from_string ()

FoXmlDoc*           fo_xml_doc_new_from_string          (const gchar *curr,
                                                         const gchar *URL,
                                                         const gchar *encoding,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Creates a new FoXmlDoc.

curr :

Pointer to a zero-terminated string.

URL :

Base URL to use for the document.

encoding :

The encoding of the document, or NULL.

libfo_context :

FoLibfoContext with parameters affecting parsing.

error :

Indication of any error that occurred.

Returns :

the newly created FoXmlDoc. Use fo_xml_doc_unref to free the result.

fo_xml_doc_ref ()

FoXmlDoc*           fo_xml_doc_ref                      (FoXmlDoc *fo_xml_doc);

Make a copy of a FoXmlDoc.

fo_xml_doc :

a FoXmlDoc

Returns :

a newly allocated FoXmlDoc. This value must be freed using #fo_xml_doc_unref().

fo_xml_doc_unref ()

void                fo_xml_doc_unref                    (FoXmlDoc *fo_xml_doc);

Unref and possibly free a FoXmlDoc.

fo_xml_doc :

FoXmlDoc.

fo_xml_doc_get_base ()

gchar*              fo_xml_doc_get_base                 (FoXmlDoc *fo_xml_doc);

fo_xml_doc :

Returns :


fo_xml_doc_set_base ()

void                fo_xml_doc_set_base                 (FoXmlDoc *fo_xml_doc,
                                                         const gchar *URL);

Sets the base URL of fo_xml_doc.

fo_xml_doc :

FoXmlDoc for which to set base

URL :

New xml:base URL
xmlroff-0.6.2/docs/html/xmlroff-FoXmlNode.html0000644000175000017500000002205411156164734016220 00000000000000 FoXmlNode

FoXmlNode

FoXmlNode

Description

Details

FO_XML_NODE_ERROR

#define FO_XML_NODE_ERROR fo_xml_node_error_quark ()


fo_xml_node_error_quark ()

GQuark              fo_xml_node_error_quark             (void);

Get the error quark for FoXmlNode.

If the quark does not yet exist, create it.

Returns :

Quark associated with FoXmlNode errors.

enum FoXmlNodeError

typedef enum
{
  FO_XML_NODE_ERROR_FAILED,
  FO_XML_NODE_ERROR_PARSE_FAILED,
  FO_XML_NODE_ERROR_NO_FILENAME
} FoXmlNodeError;


FoXmlNode

typedef struct _FoXmlNode FoXmlNode;


fo_xml_node_new ()

FoXmlNode*          fo_xml_node_new                     (void);

Creates a new FoXmlNode.

Returns :

the newly created FoXmlNode. Use fo_xml_node_unref to free the result.

fo_xml_node_ref ()

FoXmlNode*          fo_xml_node_ref                     (FoXmlNode *fo_xml_node);

Make a copy of a FoXmlNode.

fo_xml_node :

a FoXmlNode

Returns :

a newly allocated FoXmlNode. This value must be freed using fo_xml_node_unref().

fo_xml_node_unref ()

void                fo_xml_node_unref                   (FoXmlNode *fo_xml_node);

Unref and possibly free a FoXmlNode.

fo_xml_node :

FoXmlNode.
xmlroff-0.6.2/docs/html/xmlroff-FoXslFormatter.html0000644000175000017500000004540711156164734017313 00000000000000 FoXslFormatter

FoXslFormatter

FoXslFormatter

Description

Details

FO_XSL_FORMATTER_ERROR

#define FO_XSL_FORMATTER_ERROR fo_xsl_formatter_error_quark ()


fo_xsl_formatter_error_quark ()

GQuark              fo_xsl_formatter_error_quark        (void);

Get the error quark for FoXslFormatter.

If the quark does not yet exist, create it.

Returns :

GQuark associated with FoXslFormatter errors.

enum FoXslFormatterError

typedef enum
{
  FO_XSL_FORMATTER_ERROR_FAILED,
  FO_XSL_FORMATTER_ERROR_FORMAT_FAILED,
  FO_XSL_FORMATTER_ERROR_PARSE_FAILED,
  FO_XSL_FORMATTER_ERROR_NO_RESULT_TREE,
  FO_XSL_FORMATTER_ERROR_RESULT_TREE_NOT_FO,
  FO_XSL_FORMATTER_ERROR_NO_AREA_TREE,
  FO_XSL_FORMATTER_ERROR_NO_FO_DOC,
  FO_XSL_FORMATTER_ERROR_NOT_FO_DOC,
  FO_XSL_FORMATTER_ERROR_UNKNOWN_FO	/* Unknown FO element type */
} FoXslFormatterError;


FoXslFormatter

typedef struct _FoXslFormatter FoXslFormatter;


FoXslFormatterClass

typedef struct _FoXslFormatterClass FoXslFormatterClass;


fo_xsl_formatter_new ()

FoXslFormatter*     fo_xsl_formatter_new                (void);

Creates a new FoXslFormatter initialized to default value.

Returns :

The new FoXslFormatter.

fo_xsl_formatter_format ()

gboolean            fo_xsl_formatter_format             (FoXslFormatter *fo_xsl_formatter,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Formats fo_xsl_formatter.

Outputs debug info according to debug mode set in libfo_context.

fo_xsl_formatter :

FoXslFormatter.

libfo_context :

FoLibfoContext.

error :

GError.

Returns :

Success indication.

fo_xsl_formatter_draw ()

gboolean            fo_xsl_formatter_draw               (FoXslFormatter *fo_xsl_formatter,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Formats fo_xsl_formatter.

fo_xsl_formatter :

FoXslFormatter.

libfo_context :

FoLibfoContext.

error :

GError.

Returns :

Success indication.

fo_xsl_formatter_set_result_tree ()

void                fo_xsl_formatter_set_result_tree    (FoXslFormatter *fo_xsl_formatter,
                                                         FoXmlDoc *result_tree);

Set the result tree in fo_xsl_formatter. Voids the current FO and area trees.

fo_xsl_formatter :

FoXslFormatter

result_tree :

Result of previous parse or transformation.

fo_xsl_formatter_set_fo_doc ()

void                fo_xsl_formatter_set_fo_doc         (FoXslFormatter *fo_xsl_formatter,
                                                         FoDoc *fo_doc);

Set the FoDoc in fo_xsl_formatter. Voids the current FO and area trees.

fo_xsl_formatter :

FoXslFormatter

fo_doc :

FoDoc for use as output of formatter.

fo_xsl_formatter_get_fo_tree ()

GObject*            fo_xsl_formatter_get_fo_tree        (FoXslFormatter *fo_xsl_formatter);

Get the FoFo tree created by fo_xsl_formatter.

fo_xsl_formatter :

FoXslFormatter

Returns :

FoFo tree created by fo_xsl_formatter.

fo_xsl_formatter_get_area_tree ()

GObject*            fo_xsl_formatter_get_area_tree      (FoXslFormatter *fo_xsl_formatter);

Get the FoArea tree created by fo_xsl_formatter.

fo_xsl_formatter :

FoXslFormatter

Returns :

FoArea tree created by fo_xsl_formatter.
xmlroff-0.6.2/docs/html/xmlroff-FoXsltTransformer.html0000644000175000017500000002120411156164734020023 00000000000000 FoXsltTransformer

FoXsltTransformer

FoXsltTransformer — libxslt XSLT processor

Description

Wrapper for libxslt XSLT processor.

Details

fo_xslt_transformer_version_info ()

const LibfoVersionInfo* fo_xslt_transformer_version_info
                                                        (void);

Returns :


fo_xslt_transformer_do_transform ()

FoXmlDoc*           fo_xslt_transformer_do_transform    (FoXmlDoc *xml_doc,
                                                         FoXmlDoc *stylesheet_doc,
                                                         GError **error);

Apply stylesheet_doc to xml_doc and return the result.

Frees stylesheet_doc.

xml_doc :

Input document.

stylesheet_doc :

Stylesheet document.

error :

Indication of any error that occurred.

Returns :

A new result tree that is freed by the caller.

FO_XSLT_TRANSFORMER_ERROR

#define FO_XSLT_TRANSFORMER_ERROR fo_xslt_transformer_error_quark ()


enum FoXsltTransformerError

typedef enum
{
  FO_XSLT_TRANSFORMER_ERROR_FAILED,
  FO_XSLT_TRANSFORMER_ERROR_TRANSFORM_FAILED,
  FO_XSLT_TRANSFORMER_ERROR_NO_STYLESHEET_DOC,
  FO_XSLT_TRANSFORMER_ERROR_NO_XML_DOC,
  FO_XSLT_TRANSFORMER_ERROR_PARSE_FAILED
} FoXsltTransformerError;


fo_xslt_transformer_error_quark ()

GQuark              fo_xslt_transformer_error_quark     (void);

Get the error quark for FoXsltTransformer.

If the quark does not yet exist, create it.

Returns :

GQuark associated with FoXsltTransformer errors.
xmlroff-0.6.2/docs/html/xmlroff-grouping-separator.html0000644000175000017500000001473711156164734020226 00000000000000 grouping-separator

grouping-separator

grouping-separator

Description

Details

FoPropertyGroupingSeparator

typedef struct _FoPropertyGroupingSeparator FoPropertyGroupingSeparator;


FoPropertyGroupingSeparatorClass

typedef struct _FoPropertyGroupingSeparatorClass FoPropertyGroupingSeparatorClass;


fo_property_grouping_separator_new ()

FoProperty*         fo_property_grouping_separator_new  (void);

Creates a new FoPropertyGroupingSeparator initialized to default value.

Returns :

the new FoPropertyGroupingSeparator.

fo_property_grouping_separator_get_initial ()

FoProperty*         fo_property_grouping_separator_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-grouping-size.html0000644000175000017500000001441011156164734017164 00000000000000 grouping-size

grouping-size

grouping-size

Description

Details

FoPropertyGroupingSize

typedef struct _FoPropertyGroupingSize FoPropertyGroupingSize;


FoPropertyGroupingSizeClass

typedef struct _FoPropertyGroupingSizeClass FoPropertyGroupingSizeClass;


fo_property_grouping_size_new ()

FoProperty*         fo_property_grouping_size_new       (void);

Creates a new FoPropertyGroupingSize initialized to default value.

Returns :

the new FoPropertyGroupingSize.

fo_property_grouping_size_get_initial ()

FoProperty*         fo_property_grouping_size_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-height.html0000644000175000017500000001366711156164734015647 00000000000000 height

height

height

Description

Details

FoPropertyHeight

typedef struct _FoPropertyHeight FoPropertyHeight;

Instance of the 'height' property.


FoPropertyHeightClass

typedef struct _FoPropertyHeightClass FoPropertyHeightClass;

Class structure for the 'height' property.


fo_property_height_new ()

FoProperty*         fo_property_height_new              (void);

Creates a new FoPropertyHeight initialized to default value.

Returns :

the new FoPropertyHeight.

fo_property_height_get_initial ()

FoProperty*         fo_property_height_get_initial      (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-id.html0000644000175000017500000001347011156164734014763 00000000000000 id

id

id

Description

Details

FoPropertyId

typedef struct _FoPropertyId FoPropertyId;

Instance of the 'id' property.


FoPropertyIdClass

typedef struct _FoPropertyIdClass FoPropertyIdClass;

Class structure for the 'id' property.


fo_property_id_new ()

FoProperty*         fo_property_id_new                  (void);

Creates a new FoPropertyId initialized to default value.

Returns :

the new FoPropertyId.

fo_property_id_get_initial ()

FoProperty*         fo_property_id_get_initial          (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-initial-property-set.html0000644000175000017500000052353411156164734020502 00000000000000 initial-property-set

initial-property-set

initial-property-set

Synopsis

                    FoInitialPropertySet;
                    FoInitialPropertySetClass;
FoFo*               fo_initial_property_set_new         (void);

FoProperty*         fo_initial_property_set_get_background_color
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_initial_property_set_get_background_image
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_initial_property_set_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_initial_property_set_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_initial_property_set_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_initial_property_set_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_initial_property_set_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_initial_property_set_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_initial_property_set_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_initial_property_set_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_initial_property_set_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_initial_property_set_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_initial_property_set_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_initial_property_set_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_initial_property_set_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_initial_property_set_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_initial_property_set_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_initial_property_set_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_initial_property_set_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_initial_property_set_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_initial_property_set_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_initial_property_set_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_initial_property_set_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_initial_property_set_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_initial_property_set_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_initial_property_set_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_initial_property_set_get_color   (FoFo *fo_fo);
void                fo_initial_property_set_set_color   (FoFo *fo_fo,
                                                         FoProperty *new_color);
FoProperty*         fo_initial_property_set_get_font_family
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_font_family
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_initial_property_set_get_font_size
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_font_size
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_initial_property_set_get_font_stretch
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_font_stretch
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_initial_property_set_get_font_style
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_font_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_initial_property_set_get_font_variant
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_font_variant
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_initial_property_set_get_font_weight
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_font_weight
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_initial_property_set_get_id      (FoFo *fo_fo);
void                fo_initial_property_set_set_id      (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_initial_property_set_get_line_height
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_line_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_initial_property_set_get_padding_after
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_initial_property_set_get_padding_before
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_initial_property_set_get_padding_bottom
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_initial_property_set_get_padding_end
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_padding_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_initial_property_set_get_padding_left
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_initial_property_set_get_padding_right
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_initial_property_set_get_padding_start
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_initial_property_set_get_padding_top
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_padding_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_initial_property_set_get_role    (FoFo *fo_fo);
void                fo_initial_property_set_set_role    (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_initial_property_set_get_score_spaces
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_score_spaces
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);
FoProperty*         fo_initial_property_set_get_source_document
                                                        (FoFo *fo_fo);
void                fo_initial_property_set_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoInitialPropertySet

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "color"                    FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "score-spaces"             FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoInitialPropertySet

typedef struct _FoInitialPropertySet FoInitialPropertySet;


FoInitialPropertySetClass

typedef struct _FoInitialPropertySetClass FoInitialPropertySetClass;


fo_initial_property_set_new ()

FoFo*               fo_initial_property_set_new         (void);

Creates a new FoInitialPropertySet initialized to default value.

Returns :

the new FoInitialPropertySet.

fo_initial_property_set_get_background_color ()

FoProperty*         fo_initial_property_set_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_initial_property_set_set_background_color ()

void                fo_initial_property_set_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_initial_property_set_get_background_image ()

FoProperty*         fo_initial_property_set_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_initial_property_set_set_background_image ()

void                fo_initial_property_set_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_initial_property_set_get_border_after_color ()

FoProperty*         fo_initial_property_set_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_initial_property_set_set_border_after_color ()

void                fo_initial_property_set_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_initial_property_set_get_border_after_style ()

FoProperty*         fo_initial_property_set_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_initial_property_set_set_border_after_style ()

void                fo_initial_property_set_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_initial_property_set_get_border_after_width ()

FoProperty*         fo_initial_property_set_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_initial_property_set_set_border_after_width ()

void                fo_initial_property_set_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_initial_property_set_get_border_before_color ()

FoProperty*         fo_initial_property_set_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_initial_property_set_set_border_before_color ()

void                fo_initial_property_set_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_initial_property_set_get_border_before_style ()

FoProperty*         fo_initial_property_set_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_initial_property_set_set_border_before_style ()

void                fo_initial_property_set_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_initial_property_set_get_border_before_width ()

FoProperty*         fo_initial_property_set_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_initial_property_set_set_border_before_width ()

void                fo_initial_property_set_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_initial_property_set_get_border_bottom_color ()

FoProperty*         fo_initial_property_set_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_initial_property_set_set_border_bottom_color ()

void                fo_initial_property_set_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_initial_property_set_get_border_bottom_style ()

FoProperty*         fo_initial_property_set_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_initial_property_set_set_border_bottom_style ()

void                fo_initial_property_set_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_initial_property_set_get_border_bottom_width ()

FoProperty*         fo_initial_property_set_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_initial_property_set_set_border_bottom_width ()

void                fo_initial_property_set_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_initial_property_set_get_border_end_color ()

FoProperty*         fo_initial_property_set_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_initial_property_set_set_border_end_color ()

void                fo_initial_property_set_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_initial_property_set_get_border_end_style ()

FoProperty*         fo_initial_property_set_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_initial_property_set_set_border_end_style ()

void                fo_initial_property_set_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_initial_property_set_get_border_end_width ()

FoProperty*         fo_initial_property_set_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_initial_property_set_set_border_end_width ()

void                fo_initial_property_set_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_initial_property_set_get_border_left_color ()

FoProperty*         fo_initial_property_set_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_initial_property_set_set_border_left_color ()

void                fo_initial_property_set_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_initial_property_set_get_border_left_style ()

FoProperty*         fo_initial_property_set_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_initial_property_set_set_border_left_style ()

void                fo_initial_property_set_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_initial_property_set_get_border_left_width ()

FoProperty*         fo_initial_property_set_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_initial_property_set_set_border_left_width ()

void                fo_initial_property_set_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_initial_property_set_get_border_right_color ()

FoProperty*         fo_initial_property_set_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_initial_property_set_set_border_right_color ()

void                fo_initial_property_set_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_initial_property_set_get_border_right_style ()

FoProperty*         fo_initial_property_set_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_initial_property_set_set_border_right_style ()

void                fo_initial_property_set_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_initial_property_set_get_border_right_width ()

FoProperty*         fo_initial_property_set_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_initial_property_set_set_border_right_width ()

void                fo_initial_property_set_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_initial_property_set_get_border_start_color ()

FoProperty*         fo_initial_property_set_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_initial_property_set_set_border_start_color ()

void                fo_initial_property_set_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_initial_property_set_get_border_start_style ()

FoProperty*         fo_initial_property_set_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_initial_property_set_set_border_start_style ()

void                fo_initial_property_set_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_initial_property_set_get_border_start_width ()

FoProperty*         fo_initial_property_set_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_initial_property_set_set_border_start_width ()

void                fo_initial_property_set_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_initial_property_set_get_border_top_color ()

FoProperty*         fo_initial_property_set_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_initial_property_set_set_border_top_color ()

void                fo_initial_property_set_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_initial_property_set_get_border_top_style ()

FoProperty*         fo_initial_property_set_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_initial_property_set_set_border_top_style ()

void                fo_initial_property_set_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_initial_property_set_get_border_top_width ()

FoProperty*         fo_initial_property_set_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_initial_property_set_set_border_top_width ()

void                fo_initial_property_set_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_initial_property_set_get_color ()

FoProperty*         fo_initial_property_set_get_color   (FoFo *fo_fo);

Gets the "color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "color" property value

fo_initial_property_set_set_color ()

void                fo_initial_property_set_set_color   (FoFo *fo_fo,
                                                         FoProperty *new_color);

Sets the "color" property of fo_fo to new_color

fo_fo :

The FoFo object

new_color :

The new "color" property value

fo_initial_property_set_get_font_family ()

FoProperty*         fo_initial_property_set_get_font_family
                                                        (FoFo *fo_fo);

Gets the "font-family" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-family" property value

fo_initial_property_set_set_font_family ()

void                fo_initial_property_set_set_font_family
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the "font-family" property of fo_fo to new_font_family

fo_fo :

The FoFo object

new_font_family :

The new "font-family" property value

fo_initial_property_set_get_font_size ()

FoProperty*         fo_initial_property_set_get_font_size
                                                        (FoFo *fo_fo);

Gets the "font-size" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-size" property value

fo_initial_property_set_set_font_size ()

void                fo_initial_property_set_set_font_size
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the "font-size" property of fo_fo to new_font_size

fo_fo :

The FoFo object

new_font_size :

The new "font-size" property value

fo_initial_property_set_get_font_stretch ()

FoProperty*         fo_initial_property_set_get_font_stretch
                                                        (FoFo *fo_fo);

Gets the "font-stretch" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-stretch" property value

fo_initial_property_set_set_font_stretch ()

void                fo_initial_property_set_set_font_stretch
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the "font-stretch" property of fo_fo to new_font_stretch

fo_fo :

The FoFo object

new_font_stretch :

The new "font-stretch" property value

fo_initial_property_set_get_font_style ()

FoProperty*         fo_initial_property_set_get_font_style
                                                        (FoFo *fo_fo);

Gets the "font-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-style" property value

fo_initial_property_set_set_font_style ()

void                fo_initial_property_set_set_font_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the "font-style" property of fo_fo to new_font_style

fo_fo :

The FoFo object

new_font_style :

The new "font-style" property value

fo_initial_property_set_get_font_variant ()

FoProperty*         fo_initial_property_set_get_font_variant
                                                        (FoFo *fo_fo);

Gets the "font-variant" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-variant" property value

fo_initial_property_set_set_font_variant ()

void                fo_initial_property_set_set_font_variant
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the "font-variant" property of fo_fo to new_font_variant

fo_fo :

The FoFo object

new_font_variant :

The new "font-variant" property value

fo_initial_property_set_get_font_weight ()

FoProperty*         fo_initial_property_set_get_font_weight
                                                        (FoFo *fo_fo);

Gets the "font-weight" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-weight" property value

fo_initial_property_set_set_font_weight ()

void                fo_initial_property_set_set_font_weight
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the "font-weight" property of fo_fo to new_font_weight

fo_fo :

The FoFo object

new_font_weight :

The new "font-weight" property value

fo_initial_property_set_get_id ()

FoProperty*         fo_initial_property_set_get_id      (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_initial_property_set_set_id ()

void                fo_initial_property_set_set_id      (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_initial_property_set_get_line_height ()

FoProperty*         fo_initial_property_set_get_line_height
                                                        (FoFo *fo_fo);

Gets the "line-height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "line-height" property value

fo_initial_property_set_set_line_height ()

void                fo_initial_property_set_set_line_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height

fo_fo :

The FoFo object

new_line_height :

The new "line-height" property value

fo_initial_property_set_get_padding_after ()

FoProperty*         fo_initial_property_set_get_padding_after
                                                        (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_initial_property_set_set_padding_after ()

void                fo_initial_property_set_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_initial_property_set_get_padding_before ()

FoProperty*         fo_initial_property_set_get_padding_before
                                                        (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_initial_property_set_set_padding_before ()

void                fo_initial_property_set_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_initial_property_set_get_padding_bottom ()

FoProperty*         fo_initial_property_set_get_padding_bottom
                                                        (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_initial_property_set_set_padding_bottom ()

void                fo_initial_property_set_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_initial_property_set_get_padding_end ()

FoProperty*         fo_initial_property_set_get_padding_end
                                                        (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_initial_property_set_set_padding_end ()

void                fo_initial_property_set_set_padding_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_initial_property_set_get_padding_left ()

FoProperty*         fo_initial_property_set_get_padding_left
                                                        (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_initial_property_set_set_padding_left ()

void                fo_initial_property_set_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_initial_property_set_get_padding_right ()

FoProperty*         fo_initial_property_set_get_padding_right
                                                        (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_initial_property_set_set_padding_right ()

void                fo_initial_property_set_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_initial_property_set_get_padding_start ()

FoProperty*         fo_initial_property_set_get_padding_start
                                                        (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_initial_property_set_set_padding_start ()

void                fo_initial_property_set_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_initial_property_set_get_padding_top ()

FoProperty*         fo_initial_property_set_get_padding_top
                                                        (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_initial_property_set_set_padding_top ()

void                fo_initial_property_set_set_padding_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_initial_property_set_get_role ()

FoProperty*         fo_initial_property_set_get_role    (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_initial_property_set_set_role ()

void                fo_initial_property_set_set_role    (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_initial_property_set_get_score_spaces ()

FoProperty*         fo_initial_property_set_get_score_spaces
                                                        (FoFo *fo_fo);

Gets the "score-spaces" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "score-spaces" property value

fo_initial_property_set_set_score_spaces ()

void                fo_initial_property_set_set_score_spaces
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);

Sets the "score-spaces" property of fo_fo to new_score_spaces

fo_fo :

The FoFo object

new_score_spaces :

The new "score-spaces" property value

fo_initial_property_set_get_source_document ()

FoProperty*         fo_initial_property_set_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_initial_property_set_set_source_document ()

void                fo_initial_property_set_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "color" property

  "color"                    FoProperty*           : Read

Color property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "score-spaces" property

  "score-spaces"             FoProperty*           : Read

Score Spaces property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-inline-container.html0000644000175000017500000070313311156164734017627 00000000000000 inline-container

inline-container

inline-container

Synopsis

                    FoInlineContainer;
                    FoInlineContainerClass;
FoFo*               fo_inline_container_new             (void);

FoProperty*         fo_inline_container_get_alignment_adjust
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_alignment_adjust
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_inline_container_get_alignment_baseline
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_inline_container_get_background_color
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_inline_container_get_background_image
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_inline_container_get_baseline_shift
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_baseline_shift
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_inline_container_get_block_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_inline_container_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_inline_container_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_inline_container_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_inline_container_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_inline_container_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_inline_container_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_inline_container_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_inline_container_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_inline_container_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_inline_container_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_inline_container_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_inline_container_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_inline_container_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_inline_container_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_inline_container_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_inline_container_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_inline_container_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_inline_container_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_inline_container_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_inline_container_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_inline_container_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_inline_container_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_inline_container_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_inline_container_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_inline_container_get_clip        (FoFo *fo_fo);
void                fo_inline_container_set_clip        (FoFo *fo_fo,
                                                         FoProperty *new_clip);
FoProperty*         fo_inline_container_get_display_align
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_display_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_inline_container_get_dominant_baseline
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_inline_container_get_height      (FoFo *fo_fo);
void                fo_inline_container_set_height      (FoFo *fo_fo,
                                                         FoProperty *new_height);
FoProperty*         fo_inline_container_get_id          (FoFo *fo_fo);
void                fo_inline_container_set_id          (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_inline_container_get_inline_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);
FoProperty*         fo_inline_container_get_keep_together
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_together
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_inline_container_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_inline_container_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_inline_container_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_inline_container_get_keep_with_next
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_inline_container_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_inline_container_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_inline_container_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_inline_container_get_keep_with_previous
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_inline_container_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_inline_container_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_inline_container_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_inline_container_get_line_height (FoFo *fo_fo);
void                fo_inline_container_set_line_height (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_inline_container_get_overflow    (FoFo *fo_fo);
void                fo_inline_container_set_overflow    (FoFo *fo_fo,
                                                         FoProperty *new_overflow);
FoProperty*         fo_inline_container_get_padding_after
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_inline_container_get_padding_before
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_inline_container_get_padding_bottom
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_inline_container_get_padding_end (FoFo *fo_fo);
void                fo_inline_container_set_padding_end (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_inline_container_get_padding_left
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_inline_container_get_padding_right
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_inline_container_get_padding_start
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_inline_container_get_padding_top (FoFo *fo_fo);
void                fo_inline_container_set_padding_top (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_inline_container_get_space_end   (FoFo *fo_fo);
void                fo_inline_container_set_space_end   (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_inline_container_get_space_start (FoFo *fo_fo);
void                fo_inline_container_set_space_start (FoFo *fo_fo,
                                                         FoProperty *new_space_start);
FoProperty*         fo_inline_container_get_width       (FoFo *fo_fo);
void                fo_inline_container_set_width       (FoFo *fo_fo,
                                                         FoProperty *new_width);
FoProperty*         fo_inline_container_get_writing_mode
                                                        (FoFo *fo_fo);
void                fo_inline_container_set_writing_mode
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoInlineContainer

Implemented Interfaces

FoInlineContainer implements FoInlineFoIface.

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "baseline-shift"           FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "inline-progression-dimension" FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read
  "width"                    FoProperty*           : Read
  "writing-mode"             FoProperty*           : Read

Description

Details

FoInlineContainer

typedef struct _FoInlineContainer FoInlineContainer;


FoInlineContainerClass

typedef struct _FoInlineContainerClass FoInlineContainerClass;


fo_inline_container_new ()

FoFo*               fo_inline_container_new             (void);

Creates a new FoInlineContainer initialized to default value.

Returns :

the new FoInlineContainer.

fo_inline_container_get_alignment_adjust ()

FoProperty*         fo_inline_container_get_alignment_adjust
                                                        (FoFo *fo_fo);

Gets the "alignment-adjust" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-adjust" property value

fo_inline_container_set_alignment_adjust ()

void                fo_inline_container_set_alignment_adjust
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust

fo_fo :

The FoFo object

new_alignment_adjust :

The new "alignment-adjust" property value

fo_inline_container_get_alignment_baseline ()

FoProperty*         fo_inline_container_get_alignment_baseline
                                                        (FoFo *fo_fo);

Gets the "alignment-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-baseline" property value

fo_inline_container_set_alignment_baseline ()

void                fo_inline_container_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline

fo_fo :

The FoFo object

new_alignment_baseline :

The new "alignment-baseline" property value

fo_inline_container_get_background_color ()

FoProperty*         fo_inline_container_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_inline_container_set_background_color ()

void                fo_inline_container_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_inline_container_get_background_image ()

FoProperty*         fo_inline_container_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_inline_container_set_background_image ()

void                fo_inline_container_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_inline_container_get_baseline_shift ()

FoProperty*         fo_inline_container_get_baseline_shift
                                                        (FoFo *fo_fo);

Gets the "baseline-shift" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "baseline-shift" property value

fo_inline_container_set_baseline_shift ()

void                fo_inline_container_set_baseline_shift
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_fo to new_baseline_shift

fo_fo :

The FoFo object

new_baseline_shift :

The new "baseline-shift" property value

fo_inline_container_get_block_progression_dimension ()

FoProperty*         fo_inline_container_get_block_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "block-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "block-progression-dimension" property value

fo_inline_container_set_block_progression_dimension ()

void                fo_inline_container_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension

fo_fo :

The FoFo object

new_block_progression_dimension :

The new "block-progression-dimension" property value

fo_inline_container_get_border_after_color ()

FoProperty*         fo_inline_container_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_inline_container_set_border_after_color ()

void                fo_inline_container_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_inline_container_get_border_after_style ()

FoProperty*         fo_inline_container_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_inline_container_set_border_after_style ()

void                fo_inline_container_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_inline_container_get_border_after_width ()

FoProperty*         fo_inline_container_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_inline_container_set_border_after_width ()

void                fo_inline_container_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_inline_container_get_border_before_color ()

FoProperty*         fo_inline_container_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_inline_container_set_border_before_color ()

void                fo_inline_container_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_inline_container_get_border_before_style ()

FoProperty*         fo_inline_container_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_inline_container_set_border_before_style ()

void                fo_inline_container_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_inline_container_get_border_before_width ()

FoProperty*         fo_inline_container_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_inline_container_set_border_before_width ()

void                fo_inline_container_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_inline_container_get_border_bottom_color ()

FoProperty*         fo_inline_container_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_inline_container_set_border_bottom_color ()

void                fo_inline_container_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_inline_container_get_border_bottom_style ()

FoProperty*         fo_inline_container_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_inline_container_set_border_bottom_style ()

void                fo_inline_container_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_inline_container_get_border_bottom_width ()

FoProperty*         fo_inline_container_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_inline_container_set_border_bottom_width ()

void                fo_inline_container_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_inline_container_get_border_end_color ()

FoProperty*         fo_inline_container_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_inline_container_set_border_end_color ()

void                fo_inline_container_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_inline_container_get_border_end_style ()

FoProperty*         fo_inline_container_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_inline_container_set_border_end_style ()

void                fo_inline_container_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_inline_container_get_border_end_width ()

FoProperty*         fo_inline_container_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_inline_container_set_border_end_width ()

void                fo_inline_container_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_inline_container_get_border_left_color ()

FoProperty*         fo_inline_container_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_inline_container_set_border_left_color ()

void                fo_inline_container_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_inline_container_get_border_left_style ()

FoProperty*         fo_inline_container_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_inline_container_set_border_left_style ()

void                fo_inline_container_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_inline_container_get_border_left_width ()

FoProperty*         fo_inline_container_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_inline_container_set_border_left_width ()

void                fo_inline_container_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_inline_container_get_border_right_color ()

FoProperty*         fo_inline_container_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_inline_container_set_border_right_color ()

void                fo_inline_container_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_inline_container_get_border_right_style ()

FoProperty*         fo_inline_container_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_inline_container_set_border_right_style ()

void                fo_inline_container_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_inline_container_get_border_right_width ()

FoProperty*         fo_inline_container_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_inline_container_set_border_right_width ()

void                fo_inline_container_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_inline_container_get_border_start_color ()

FoProperty*         fo_inline_container_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_inline_container_set_border_start_color ()

void                fo_inline_container_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_inline_container_get_border_start_style ()

FoProperty*         fo_inline_container_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_inline_container_set_border_start_style ()

void                fo_inline_container_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_inline_container_get_border_start_width ()

FoProperty*         fo_inline_container_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_inline_container_set_border_start_width ()

void                fo_inline_container_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_inline_container_get_border_top_color ()

FoProperty*         fo_inline_container_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_inline_container_set_border_top_color ()

void                fo_inline_container_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_inline_container_get_border_top_style ()

FoProperty*         fo_inline_container_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_inline_container_set_border_top_style ()

void                fo_inline_container_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_inline_container_get_border_top_width ()

FoProperty*         fo_inline_container_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_inline_container_set_border_top_width ()

void                fo_inline_container_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_inline_container_get_clip ()

FoProperty*         fo_inline_container_get_clip        (FoFo *fo_fo);

Gets the "clip" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "clip" property value

fo_inline_container_set_clip ()

void                fo_inline_container_set_clip        (FoFo *fo_fo,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_fo to new_clip

fo_fo :

The FoFo object

new_clip :

The new "clip" property value

fo_inline_container_get_display_align ()

FoProperty*         fo_inline_container_get_display_align
                                                        (FoFo *fo_fo);

Gets the "display-align" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "display-align" property value

fo_inline_container_set_display_align ()

void                fo_inline_container_set_display_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align

fo_fo :

The FoFo object

new_display_align :

The new "display-align" property value

fo_inline_container_get_dominant_baseline ()

FoProperty*         fo_inline_container_get_dominant_baseline
                                                        (FoFo *fo_fo);

Gets the "dominant-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "dominant-baseline" property value

fo_inline_container_set_dominant_baseline ()

void                fo_inline_container_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline

fo_fo :

The FoFo object

new_dominant_baseline :

The new "dominant-baseline" property value

fo_inline_container_get_height ()

FoProperty*         fo_inline_container_get_height      (FoFo *fo_fo);

Gets the "height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "height" property value

fo_inline_container_set_height ()

void                fo_inline_container_set_height      (FoFo *fo_fo,
                                                         FoProperty *new_height);

Sets the "height" property of fo_fo to new_height

fo_fo :

The FoFo object

new_height :

The new "height" property value

fo_inline_container_get_id ()

FoProperty*         fo_inline_container_get_id          (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_inline_container_set_id ()

void                fo_inline_container_set_id          (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_inline_container_get_inline_progression_dimension ()

FoProperty*         fo_inline_container_get_inline_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "inline-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "inline-progression-dimension" property value

fo_inline_container_set_inline_progression_dimension ()

void                fo_inline_container_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);

Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension

fo_fo :

The FoFo object

new_inline_progression_dimension :

The new "inline-progression-dimension" property value

fo_inline_container_get_keep_together ()

FoProperty*         fo_inline_container_get_keep_together
                                                        (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_inline_container_set_keep_together ()

void                fo_inline_container_set_keep_together
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_inline_container_get_keep_together_within_column ()

FoProperty*         fo_inline_container_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_inline_container_set_keep_together_within_column ()

void                fo_inline_container_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_inline_container_get_keep_together_within_line ()

FoProperty*         fo_inline_container_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_inline_container_set_keep_together_within_line ()

void                fo_inline_container_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_inline_container_get_keep_together_within_page ()

FoProperty*         fo_inline_container_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_inline_container_set_keep_together_within_page ()

void                fo_inline_container_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_inline_container_get_keep_with_next ()

FoProperty*         fo_inline_container_get_keep_with_next
                                                        (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_inline_container_set_keep_with_next ()

void                fo_inline_container_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_inline_container_get_keep_with_next_within_column ()

FoProperty*         fo_inline_container_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_inline_container_set_keep_with_next_within_column ()

void                fo_inline_container_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_inline_container_get_keep_with_next_within_line ()

FoProperty*         fo_inline_container_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_inline_container_set_keep_with_next_within_line ()

void                fo_inline_container_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_inline_container_get_keep_with_next_within_page ()

FoProperty*         fo_inline_container_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_inline_container_set_keep_with_next_within_page ()

void                fo_inline_container_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_inline_container_get_keep_with_previous ()

FoProperty*         fo_inline_container_get_keep_with_previous
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_inline_container_set_keep_with_previous ()

void                fo_inline_container_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_inline_container_get_keep_with_previous_within_column ()

FoProperty*         fo_inline_container_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_inline_container_set_keep_with_previous_within_column ()

void                fo_inline_container_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_inline_container_get_keep_with_previous_within_line ()

FoProperty*         fo_inline_container_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_inline_container_set_keep_with_previous_within_line ()

void                fo_inline_container_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_inline_container_get_keep_with_previous_within_page ()

FoProperty*         fo_inline_container_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_inline_container_set_keep_with_previous_within_page ()

void                fo_inline_container_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_inline_container_get_line_height ()

FoProperty*         fo_inline_container_get_line_height (FoFo *fo_fo);

Gets the "line-height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "line-height" property value

fo_inline_container_set_line_height ()

void                fo_inline_container_set_line_height (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height

fo_fo :

The FoFo object

new_line_height :

The new "line-height" property value

fo_inline_container_get_overflow ()

FoProperty*         fo_inline_container_get_overflow    (FoFo *fo_fo);

Gets the "overflow" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "overflow" property value

fo_inline_container_set_overflow ()

void                fo_inline_container_set_overflow    (FoFo *fo_fo,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_fo to new_overflow

fo_fo :

The FoFo object

new_overflow :

The new "overflow" property value

fo_inline_container_get_padding_after ()

FoProperty*         fo_inline_container_get_padding_after
                                                        (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_inline_container_set_padding_after ()

void                fo_inline_container_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_inline_container_get_padding_before ()

FoProperty*         fo_inline_container_get_padding_before
                                                        (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_inline_container_set_padding_before ()

void                fo_inline_container_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_inline_container_get_padding_bottom ()

FoProperty*         fo_inline_container_get_padding_bottom
                                                        (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_inline_container_set_padding_bottom ()

void                fo_inline_container_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_inline_container_get_padding_end ()

FoProperty*         fo_inline_container_get_padding_end (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_inline_container_set_padding_end ()

void                fo_inline_container_set_padding_end (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_inline_container_get_padding_left ()

FoProperty*         fo_inline_container_get_padding_left
                                                        (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_inline_container_set_padding_left ()

void                fo_inline_container_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_inline_container_get_padding_right ()

FoProperty*         fo_inline_container_get_padding_right
                                                        (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_inline_container_set_padding_right ()

void                fo_inline_container_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_inline_container_get_padding_start ()

FoProperty*         fo_inline_container_get_padding_start
                                                        (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_inline_container_set_padding_start ()

void                fo_inline_container_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_inline_container_get_padding_top ()

FoProperty*         fo_inline_container_get_padding_top (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_inline_container_set_padding_top ()

void                fo_inline_container_set_padding_top (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_inline_container_get_space_end ()

FoProperty*         fo_inline_container_get_space_end   (FoFo *fo_fo);

Gets the "space-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-end" property value

fo_inline_container_set_space_end ()

void                fo_inline_container_set_space_end   (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end

fo_fo :

The FoFo object

new_space_end :

The new "space-end" property value

fo_inline_container_get_space_start ()

FoProperty*         fo_inline_container_get_space_start (FoFo *fo_fo);

Gets the "space-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-start" property value

fo_inline_container_set_space_start ()

void                fo_inline_container_set_space_start (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start

fo_fo :

The FoFo object

new_space_start :

The new "space-start" property value

fo_inline_container_get_width ()

FoProperty*         fo_inline_container_get_width       (FoFo *fo_fo);

Gets the "width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "width" property value

fo_inline_container_set_width ()

void                fo_inline_container_set_width       (FoFo *fo_fo,
                                                         FoProperty *new_width);

Sets the "width" property of fo_fo to new_width

fo_fo :

The FoFo object

new_width :

The new "width" property value

fo_inline_container_get_writing_mode ()

FoProperty*         fo_inline_container_get_writing_mode
                                                        (FoFo *fo_fo);

Gets the "writing-mode" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "writing-mode" property value

fo_inline_container_set_writing_mode ()

void                fo_inline_container_set_writing_mode
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_fo to new_writing_mode

fo_fo :

The FoFo object

new_writing_mode :

The new "writing-mode" property value

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "inline-progression-dimension" property

  "inline-progression-dimension" FoProperty*           : Read

Inline Progression Dimension property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.


The "width" property

  "width"                    FoProperty*           : Read

Width property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/xmlroff-inline.html0000644000175000017500000070306211156164734015650 00000000000000 inline

inline

inline

Synopsis

                    FoInline;
                    FoInlineClass;
FoFo*               fo_inline_new                       (void);

FoProperty*         fo_inline_get_alignment_adjust      (FoFo *fo_fo);
void                fo_inline_set_alignment_adjust      (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_inline_get_alignment_baseline    (FoFo *fo_fo);
void                fo_inline_set_alignment_baseline    (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_inline_get_background_color      (FoFo *fo_fo);
void                fo_inline_set_background_color      (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_inline_get_background_image      (FoFo *fo_fo);
void                fo_inline_set_background_image      (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_inline_get_baseline_shift        (FoFo *fo_fo);
void                fo_inline_set_baseline_shift        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_inline_get_block_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_inline_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_inline_get_border_after_color    (FoFo *fo_fo);
void                fo_inline_set_border_after_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_inline_get_border_after_style    (FoFo *fo_fo);
void                fo_inline_set_border_after_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_inline_get_border_after_width    (FoFo *fo_fo);
void                fo_inline_set_border_after_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_inline_get_border_before_color   (FoFo *fo_fo);
void                fo_inline_set_border_before_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_inline_get_border_before_style   (FoFo *fo_fo);
void                fo_inline_set_border_before_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_inline_get_border_before_width   (FoFo *fo_fo);
void                fo_inline_set_border_before_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_inline_get_border_bottom_color   (FoFo *fo_fo);
void                fo_inline_set_border_bottom_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_inline_get_border_bottom_style   (FoFo *fo_fo);
void                fo_inline_set_border_bottom_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_inline_get_border_bottom_width   (FoFo *fo_fo);
void                fo_inline_set_border_bottom_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_inline_get_border_end_color      (FoFo *fo_fo);
void                fo_inline_set_border_end_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_inline_get_border_end_style      (FoFo *fo_fo);
void                fo_inline_set_border_end_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_inline_get_border_end_width      (FoFo *fo_fo);
void                fo_inline_set_border_end_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_inline_get_border_left_color     (FoFo *fo_fo);
void                fo_inline_set_border_left_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_inline_get_border_left_style     (FoFo *fo_fo);
void                fo_inline_set_border_left_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_inline_get_border_left_width     (FoFo *fo_fo);
void                fo_inline_set_border_left_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_inline_get_border_right_color    (FoFo *fo_fo);
void                fo_inline_set_border_right_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_inline_get_border_right_style    (FoFo *fo_fo);
void                fo_inline_set_border_right_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_inline_get_border_right_width    (FoFo *fo_fo);
void                fo_inline_set_border_right_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_inline_get_border_start_color    (FoFo *fo_fo);
void                fo_inline_set_border_start_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_inline_get_border_start_style    (FoFo *fo_fo);
void                fo_inline_set_border_start_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_inline_get_border_start_width    (FoFo *fo_fo);
void                fo_inline_set_border_start_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_inline_get_border_top_color      (FoFo *fo_fo);
void                fo_inline_set_border_top_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_inline_get_border_top_style      (FoFo *fo_fo);
void                fo_inline_set_border_top_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_inline_get_border_top_width      (FoFo *fo_fo);
void                fo_inline_set_border_top_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_inline_get_color                 (FoFo *fo_fo);
void                fo_inline_set_color                 (FoFo *fo_fo,
                                                         FoProperty *new_color);
FoProperty*         fo_inline_get_dominant_baseline     (FoFo *fo_fo);
void                fo_inline_set_dominant_baseline     (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_inline_get_font_family           (FoFo *fo_fo);
void                fo_inline_set_font_family           (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_inline_get_font_size             (FoFo *fo_fo);
void                fo_inline_set_font_size             (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_inline_get_font_stretch          (FoFo *fo_fo);
void                fo_inline_set_font_stretch          (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_inline_get_font_style            (FoFo *fo_fo);
void                fo_inline_set_font_style            (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_inline_get_font_variant          (FoFo *fo_fo);
void                fo_inline_set_font_variant          (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_inline_get_font_weight           (FoFo *fo_fo);
void                fo_inline_set_font_weight           (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_inline_get_height                (FoFo *fo_fo);
void                fo_inline_set_height                (FoFo *fo_fo,
                                                         FoProperty *new_height);
FoProperty*         fo_inline_get_id                    (FoFo *fo_fo);
void                fo_inline_set_id                    (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_inline_get_inline_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_inline_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);
FoProperty*         fo_inline_get_keep_together         (FoFo *fo_fo);
void                fo_inline_set_keep_together         (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_inline_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_inline_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_inline_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_inline_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_inline_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_inline_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_inline_get_keep_with_next        (FoFo *fo_fo);
void                fo_inline_set_keep_with_next        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_inline_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_inline_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_inline_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_inline_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_inline_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_inline_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_inline_get_keep_with_previous    (FoFo *fo_fo);
void                fo_inline_set_keep_with_previous    (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_inline_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_inline_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_inline_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_inline_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_inline_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_inline_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_inline_get_line_height           (FoFo *fo_fo);
void                fo_inline_set_line_height           (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_inline_get_padding_after         (FoFo *fo_fo);
void                fo_inline_set_padding_after         (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_inline_get_padding_before        (FoFo *fo_fo);
void                fo_inline_set_padding_before        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_inline_get_padding_bottom        (FoFo *fo_fo);
void                fo_inline_set_padding_bottom        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_inline_get_padding_end           (FoFo *fo_fo);
void                fo_inline_set_padding_end           (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_inline_get_padding_left          (FoFo *fo_fo);
void                fo_inline_set_padding_left          (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_inline_get_padding_right         (FoFo *fo_fo);
void                fo_inline_set_padding_right         (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_inline_get_padding_start         (FoFo *fo_fo);
void                fo_inline_set_padding_start         (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_inline_get_padding_top           (FoFo *fo_fo);
void                fo_inline_set_padding_top           (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_inline_get_role                  (FoFo *fo_fo);
void                fo_inline_set_role                  (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_inline_get_source_document       (FoFo *fo_fo);
void                fo_inline_set_source_document       (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_inline_get_space_end             (FoFo *fo_fo);
void                fo_inline_set_space_end             (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_inline_get_space_start           (FoFo *fo_fo);
void                fo_inline_set_space_start           (FoFo *fo_fo,
                                                         FoProperty *new_space_start);
FoProperty*         fo_inline_get_width                 (FoFo *fo_fo);
void                fo_inline_set_width                 (FoFo *fo_fo,
                                                         FoProperty *new_width);
FoProperty*         fo_inline_get_wrap_option           (FoFo *fo_fo);
void                fo_inline_set_wrap_option           (FoFo *fo_fo,
                                                         FoProperty *new_wrap_option);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoInline

Implemented Interfaces

FoInline implements FoInlineFoIface.

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "baseline-shift"           FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "color"                    FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "inline-progression-dimension" FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read
  "width"                    FoProperty*           : Read
  "wrap-option"              FoProperty*           : Read

Description

Details

FoInline

typedef struct _FoInline FoInline;


FoInlineClass

typedef struct _FoInlineClass FoInlineClass;


fo_inline_new ()

FoFo*               fo_inline_new                       (void);

Creates a new FoInline initialized to default value.

Returns :

the new FoInline.

fo_inline_get_alignment_adjust ()

FoProperty*         fo_inline_get_alignment_adjust      (FoFo *fo_fo);

Gets the "alignment-adjust" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-adjust" property value

fo_inline_set_alignment_adjust ()

void                fo_inline_set_alignment_adjust      (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust

fo_fo :

The FoFo object

new_alignment_adjust :

The new "alignment-adjust" property value

fo_inline_get_alignment_baseline ()

FoProperty*         fo_inline_get_alignment_baseline    (FoFo *fo_fo);

Gets the "alignment-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-baseline" property value

fo_inline_set_alignment_baseline ()

void                fo_inline_set_alignment_baseline    (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline

fo_fo :

The FoFo object

new_alignment_baseline :

The new "alignment-baseline" property value

fo_inline_get_background_color ()

FoProperty*         fo_inline_get_background_color      (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_inline_set_background_color ()

void                fo_inline_set_background_color      (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_inline_get_background_image ()

FoProperty*         fo_inline_get_background_image      (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_inline_set_background_image ()

void                fo_inline_set_background_image      (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_inline_get_baseline_shift ()

FoProperty*         fo_inline_get_baseline_shift        (FoFo *fo_fo);

Gets the "baseline-shift" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "baseline-shift" property value

fo_inline_set_baseline_shift ()

void                fo_inline_set_baseline_shift        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_fo to new_baseline_shift

fo_fo :

The FoFo object

new_baseline_shift :

The new "baseline-shift" property value

fo_inline_get_block_progression_dimension ()

FoProperty*         fo_inline_get_block_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "block-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "block-progression-dimension" property value

fo_inline_set_block_progression_dimension ()

void                fo_inline_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension

fo_fo :

The FoFo object

new_block_progression_dimension :

The new "block-progression-dimension" property value

fo_inline_get_border_after_color ()

FoProperty*         fo_inline_get_border_after_color    (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_inline_set_border_after_color ()

void                fo_inline_set_border_after_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_inline_get_border_after_style ()

FoProperty*         fo_inline_get_border_after_style    (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_inline_set_border_after_style ()

void                fo_inline_set_border_after_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_inline_get_border_after_width ()

FoProperty*         fo_inline_get_border_after_width    (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_inline_set_border_after_width ()

void                fo_inline_set_border_after_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_inline_get_border_before_color ()

FoProperty*         fo_inline_get_border_before_color   (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_inline_set_border_before_color ()

void                fo_inline_set_border_before_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_inline_get_border_before_style ()

FoProperty*         fo_inline_get_border_before_style   (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_inline_set_border_before_style ()

void                fo_inline_set_border_before_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_inline_get_border_before_width ()

FoProperty*         fo_inline_get_border_before_width   (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_inline_set_border_before_width ()

void                fo_inline_set_border_before_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_inline_get_border_bottom_color ()

FoProperty*         fo_inline_get_border_bottom_color   (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_inline_set_border_bottom_color ()

void                fo_inline_set_border_bottom_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_inline_get_border_bottom_style ()

FoProperty*         fo_inline_get_border_bottom_style   (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_inline_set_border_bottom_style ()

void                fo_inline_set_border_bottom_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_inline_get_border_bottom_width ()

FoProperty*         fo_inline_get_border_bottom_width   (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_inline_set_border_bottom_width ()

void                fo_inline_set_border_bottom_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_inline_get_border_end_color ()

FoProperty*         fo_inline_get_border_end_color      (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_inline_set_border_end_color ()

void                fo_inline_set_border_end_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_inline_get_border_end_style ()

FoProperty*         fo_inline_get_border_end_style      (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_inline_set_border_end_style ()

void                fo_inline_set_border_end_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_inline_get_border_end_width ()

FoProperty*         fo_inline_get_border_end_width      (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_inline_set_border_end_width ()

void                fo_inline_set_border_end_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_inline_get_border_left_color ()

FoProperty*         fo_inline_get_border_left_color     (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_inline_set_border_left_color ()

void                fo_inline_set_border_left_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_inline_get_border_left_style ()

FoProperty*         fo_inline_get_border_left_style     (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_inline_set_border_left_style ()

void                fo_inline_set_border_left_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_inline_get_border_left_width ()

FoProperty*         fo_inline_get_border_left_width     (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_inline_set_border_left_width ()

void                fo_inline_set_border_left_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_inline_get_border_right_color ()

FoProperty*         fo_inline_get_border_right_color    (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_inline_set_border_right_color ()

void                fo_inline_set_border_right_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_inline_get_border_right_style ()

FoProperty*         fo_inline_get_border_right_style    (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_inline_set_border_right_style ()

void                fo_inline_set_border_right_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_inline_get_border_right_width ()

FoProperty*         fo_inline_get_border_right_width    (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_inline_set_border_right_width ()

void                fo_inline_set_border_right_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_inline_get_border_start_color ()

FoProperty*         fo_inline_get_border_start_color    (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_inline_set_border_start_color ()

void                fo_inline_set_border_start_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_inline_get_border_start_style ()

FoProperty*         fo_inline_get_border_start_style    (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_inline_set_border_start_style ()

void                fo_inline_set_border_start_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_inline_get_border_start_width ()

FoProperty*         fo_inline_get_border_start_width    (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_inline_set_border_start_width ()

void                fo_inline_set_border_start_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_inline_get_border_top_color ()

FoProperty*         fo_inline_get_border_top_color      (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_inline_set_border_top_color ()

void                fo_inline_set_border_top_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_inline_get_border_top_style ()

FoProperty*         fo_inline_get_border_top_style      (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_inline_set_border_top_style ()

void                fo_inline_set_border_top_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_inline_get_border_top_width ()

FoProperty*         fo_inline_get_border_top_width      (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_inline_set_border_top_width ()

void                fo_inline_set_border_top_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_inline_get_color ()

FoProperty*         fo_inline_get_color                 (FoFo *fo_fo);

Gets the "color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "color" property value

fo_inline_set_color ()

void                fo_inline_set_color                 (FoFo *fo_fo,
                                                         FoProperty *new_color);

Sets the "color" property of fo_fo to new_color

fo_fo :

The FoFo object

new_color :

The new "color" property value

fo_inline_get_dominant_baseline ()

FoProperty*         fo_inline_get_dominant_baseline     (FoFo *fo_fo);

Gets the "dominant-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "dominant-baseline" property value

fo_inline_set_dominant_baseline ()

void                fo_inline_set_dominant_baseline     (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline

fo_fo :

The FoFo object

new_dominant_baseline :

The new "dominant-baseline" property value

fo_inline_get_font_family ()

FoProperty*         fo_inline_get_font_family           (FoFo *fo_fo);

Gets the "font-family" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-family" property value

fo_inline_set_font_family ()

void                fo_inline_set_font_family           (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the "font-family" property of fo_fo to new_font_family

fo_fo :

The FoFo object

new_font_family :

The new "font-family" property value

fo_inline_get_font_size ()

FoProperty*         fo_inline_get_font_size             (FoFo *fo_fo);

Gets the "font-size" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-size" property value

fo_inline_set_font_size ()

void                fo_inline_set_font_size             (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the "font-size" property of fo_fo to new_font_size

fo_fo :

The FoFo object

new_font_size :

The new "font-size" property value

fo_inline_get_font_stretch ()

FoProperty*         fo_inline_get_font_stretch          (FoFo *fo_fo);

Gets the "font-stretch" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-stretch" property value

fo_inline_set_font_stretch ()

void                fo_inline_set_font_stretch          (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the "font-stretch" property of fo_fo to new_font_stretch

fo_fo :

The FoFo object

new_font_stretch :

The new "font-stretch" property value

fo_inline_get_font_style ()

FoProperty*         fo_inline_get_font_style            (FoFo *fo_fo);

Gets the "font-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-style" property value

fo_inline_set_font_style ()

void                fo_inline_set_font_style            (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the "font-style" property of fo_fo to new_font_style

fo_fo :

The FoFo object

new_font_style :

The new "font-style" property value

fo_inline_get_font_variant ()

FoProperty*         fo_inline_get_font_variant          (FoFo *fo_fo);

Gets the "font-variant" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-variant" property value

fo_inline_set_font_variant ()

void                fo_inline_set_font_variant          (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the "font-variant" property of fo_fo to new_font_variant

fo_fo :

The FoFo object

new_font_variant :

The new "font-variant" property value

fo_inline_get_font_weight ()

FoProperty*         fo_inline_get_font_weight           (FoFo *fo_fo);

Gets the "font-weight" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-weight" property value

fo_inline_set_font_weight ()

void                fo_inline_set_font_weight           (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the "font-weight" property of fo_fo to new_font_weight

fo_fo :

The FoFo object

new_font_weight :

The new "font-weight" property value

fo_inline_get_height ()

FoProperty*         fo_inline_get_height                (FoFo *fo_fo);

Gets the "height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "height" property value

fo_inline_set_height ()

void                fo_inline_set_height                (FoFo *fo_fo,
                                                         FoProperty *new_height);

Sets the "height" property of fo_fo to new_height

fo_fo :

The FoFo object

new_height :

The new "height" property value

fo_inline_get_id ()

FoProperty*         fo_inline_get_id                    (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_inline_set_id ()

void                fo_inline_set_id                    (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_inline_get_inline_progression_dimension ()

FoProperty*         fo_inline_get_inline_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "inline-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "inline-progression-dimension" property value

fo_inline_set_inline_progression_dimension ()

void                fo_inline_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);

Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension

fo_fo :

The FoFo object

new_inline_progression_dimension :

The new "inline-progression-dimension" property value

fo_inline_get_keep_together ()

FoProperty*         fo_inline_get_keep_together         (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_inline_set_keep_together ()

void                fo_inline_set_keep_together         (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_inline_get_keep_together_within_column ()

FoProperty*         fo_inline_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_inline_set_keep_together_within_column ()

void                fo_inline_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_inline_get_keep_together_within_line ()

FoProperty*         fo_inline_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_inline_set_keep_together_within_line ()

void                fo_inline_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_inline_get_keep_together_within_page ()

FoProperty*         fo_inline_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_inline_set_keep_together_within_page ()

void                fo_inline_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_inline_get_keep_with_next ()

FoProperty*         fo_inline_get_keep_with_next        (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_inline_set_keep_with_next ()

void                fo_inline_set_keep_with_next        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_inline_get_keep_with_next_within_column ()

FoProperty*         fo_inline_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_inline_set_keep_with_next_within_column ()

void                fo_inline_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_inline_get_keep_with_next_within_line ()

FoProperty*         fo_inline_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_inline_set_keep_with_next_within_line ()

void                fo_inline_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_inline_get_keep_with_next_within_page ()

FoProperty*         fo_inline_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_inline_set_keep_with_next_within_page ()

void                fo_inline_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_inline_get_keep_with_previous ()

FoProperty*         fo_inline_get_keep_with_previous    (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_inline_set_keep_with_previous ()

void                fo_inline_set_keep_with_previous    (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_inline_get_keep_with_previous_within_column ()

FoProperty*         fo_inline_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_inline_set_keep_with_previous_within_column ()

void                fo_inline_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_inline_get_keep_with_previous_within_line ()

FoProperty*         fo_inline_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_inline_set_keep_with_previous_within_line ()

void                fo_inline_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_inline_get_keep_with_previous_within_page ()

FoProperty*         fo_inline_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_inline_set_keep_with_previous_within_page ()

void                fo_inline_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_inline_get_line_height ()

FoProperty*         fo_inline_get_line_height           (FoFo *fo_fo);

Gets the "line-height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "line-height" property value

fo_inline_set_line_height ()

void                fo_inline_set_line_height           (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height

fo_fo :

The FoFo object

new_line_height :

The new "line-height" property value

fo_inline_get_padding_after ()

FoProperty*         fo_inline_get_padding_after         (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_inline_set_padding_after ()

void                fo_inline_set_padding_after         (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_inline_get_padding_before ()

FoProperty*         fo_inline_get_padding_before        (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_inline_set_padding_before ()

void                fo_inline_set_padding_before        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_inline_get_padding_bottom ()

FoProperty*         fo_inline_get_padding_bottom        (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_inline_set_padding_bottom ()

void                fo_inline_set_padding_bottom        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_inline_get_padding_end ()

FoProperty*         fo_inline_get_padding_end           (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_inline_set_padding_end ()

void                fo_inline_set_padding_end           (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_inline_get_padding_left ()

FoProperty*         fo_inline_get_padding_left          (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_inline_set_padding_left ()

void                fo_inline_set_padding_left          (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_inline_get_padding_right ()

FoProperty*         fo_inline_get_padding_right         (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_inline_set_padding_right ()

void                fo_inline_set_padding_right         (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_inline_get_padding_start ()

FoProperty*         fo_inline_get_padding_start         (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_inline_set_padding_start ()

void                fo_inline_set_padding_start         (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_inline_get_padding_top ()

FoProperty*         fo_inline_get_padding_top           (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_inline_set_padding_top ()

void                fo_inline_set_padding_top           (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_inline_get_role ()

FoProperty*         fo_inline_get_role                  (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_inline_set_role ()

void                fo_inline_set_role                  (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_inline_get_source_document ()

FoProperty*         fo_inline_get_source_document       (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_inline_set_source_document ()

void                fo_inline_set_source_document       (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_inline_get_space_end ()

FoProperty*         fo_inline_get_space_end             (FoFo *fo_fo);

Gets the "space-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-end" property value

fo_inline_set_space_end ()

void                fo_inline_set_space_end             (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end

fo_fo :

The FoFo object

new_space_end :

The new "space-end" property value

fo_inline_get_space_start ()

FoProperty*         fo_inline_get_space_start           (FoFo *fo_fo);

Gets the "space-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-start" property value

fo_inline_set_space_start ()

void                fo_inline_set_space_start           (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start

fo_fo :

The FoFo object

new_space_start :

The new "space-start" property value

fo_inline_get_width ()

FoProperty*         fo_inline_get_width                 (FoFo *fo_fo);

Gets the "width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "width" property value

fo_inline_set_width ()

void                fo_inline_set_width                 (FoFo *fo_fo,
                                                         FoProperty *new_width);

Sets the "width" property of fo_fo to new_width

fo_fo :

The FoFo object

new_width :

The new "width" property value

fo_inline_get_wrap_option ()

FoProperty*         fo_inline_get_wrap_option           (FoFo *fo_fo);

Gets the "wrap-option" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "wrap-option" property value

fo_inline_set_wrap_option ()

void                fo_inline_set_wrap_option           (FoFo *fo_fo,
                                                         FoProperty *new_wrap_option);

Sets the "wrap-option" property of fo_fo to new_wrap_option

fo_fo :

The FoFo object

new_wrap_option :

The new "wrap-option" property value

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "color" property

  "color"                    FoProperty*           : Read

Color property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "inline-progression-dimension" property

  "inline-progression-dimension" FoProperty*           : Read

Inline Progression Dimension property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.


The "width" property

  "width"                    FoProperty*           : Read

Width property.


The "wrap-option" property

  "wrap-option"              FoProperty*           : Read

Wrap Option property.

xmlroff-0.6.2/docs/html/xmlroff-inline-progression-dimension.html0000644000175000017500000001612011156164734022173 00000000000000 inline-progression-dimension

inline-progression-dimension

inline-progression-dimension

Description

Details

FoPropertyInlineProgressionDimension

typedef struct _FoPropertyInlineProgressionDimension FoPropertyInlineProgressionDimension;


FoPropertyInlineProgressionDimensionClass

typedef struct _FoPropertyInlineProgressionDimensionClass FoPropertyInlineProgressionDimensionClass;


fo_property_inline_progression_dimension_new ()

FoProperty*         fo_property_inline_progression_dimension_new
                                                        (void);

Creates a new FoPropertyInlineProgressionDimension initialized to default value.

Returns :

the new FoPropertyInlineProgressionDimension.

fo_property_inline_progression_dimension_get_initial ()

FoProperty*         fo_property_inline_progression_dimension_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-inline-progression-dimensionmaximum.html0000644000175000017500000001672011156164734023577 00000000000000 inline-progression-dimension.maximum

inline-progression-dimension.maximum

inline-progression-dimension.maximum

Description

Details

FoPropertyInlineProgressionDimensionMaximum

typedef struct _FoPropertyInlineProgressionDimensionMaximum FoPropertyInlineProgressionDimensionMaximum;


FoPropertyInlineProgressionDimensionMaximumClass

typedef struct _FoPropertyInlineProgressionDimensionMaximumClass FoPropertyInlineProgressionDimensionMaximumClass;


fo_property_inline_progression_dimension_maximum_new ()

FoProperty*         fo_property_inline_progression_dimension_maximum_new
                                                        (void);

Creates a new FoPropertyInlineProgressionDimensionMaximum initialized to default value.


fo_property_inline_progression_dimension_maximum_get_initial ()

FoProperty*         fo_property_inline_progression_dimension_maximum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-inline-progression-dimensionminimum.html0000644000175000017500000001677511156164734023607 00000000000000 inline-progression-dimension.minimum

inline-progression-dimension.minimum

inline-progression-dimension.minimum

Description

Details

FoPropertyInlineProgressionDimensionMinimum

typedef struct _FoPropertyInlineProgressionDimensionMinimum FoPropertyInlineProgressionDimensionMinimum;


FoPropertyInlineProgressionDimensionMinimumClass

typedef struct _FoPropertyInlineProgressionDimensionMinimumClass FoPropertyInlineProgressionDimensionMinimumClass;


fo_property_inline_progression_dimension_minimum_new ()

FoProperty*         fo_property_inline_progression_dimension_minimum_new
                                                        (void);

Creates a new FoPropertyInlineProgressionDimensionMinimum initialized to default value.


fo_property_inline_progression_dimension_minimum_get_initial ()

FoProperty*         fo_property_inline_progression_dimension_minimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-inline-progression-dimensionoptimum.html0000644000175000017500000001702311156164734023611 00000000000000 inline-progression-dimension.optimum

inline-progression-dimension.optimum

inline-progression-dimension.optimum

Description

Details

FoPropertyInlineProgressionDimensionOptimum

typedef struct _FoPropertyInlineProgressionDimensionOptimum FoPropertyInlineProgressionDimensionOptimum;


FoPropertyInlineProgressionDimensionOptimumClass

typedef struct _FoPropertyInlineProgressionDimensionOptimumClass FoPropertyInlineProgressionDimensionOptimumClass;


fo_property_inline_progression_dimension_optimum_new ()

FoProperty*         fo_property_inline_progression_dimension_optimum_new
                                                        (void);

Creates a new FoPropertyInlineProgressionDimensionOptimum initialized to default value.


fo_property_inline_progression_dimension_optimum_get_initial ()

FoProperty*         fo_property_inline_progression_dimension_optimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-instream-foreign-object.html0000644000175000017500000074737211156164734021123 00000000000000 instream-foreign-object

instream-foreign-object

instream-foreign-object

Synopsis

                    FoInstreamForeignObject;
                    FoInstreamForeignObjectClass;
FoFo*               fo_instream_foreign_object_new      (void);

FoProperty*         fo_instream_foreign_object_get_alignment_adjust
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_alignment_adjust
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_instream_foreign_object_get_alignment_baseline
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_instream_foreign_object_get_background_color
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_instream_foreign_object_get_background_image
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_instream_foreign_object_get_baseline_shift
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_baseline_shift
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_instream_foreign_object_get_block_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_instream_foreign_object_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_instream_foreign_object_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_instream_foreign_object_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_instream_foreign_object_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_instream_foreign_object_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_instream_foreign_object_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_instream_foreign_object_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_instream_foreign_object_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_instream_foreign_object_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_instream_foreign_object_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_instream_foreign_object_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_instream_foreign_object_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_instream_foreign_object_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_instream_foreign_object_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_instream_foreign_object_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_instream_foreign_object_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_instream_foreign_object_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_instream_foreign_object_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_instream_foreign_object_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_instream_foreign_object_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_instream_foreign_object_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_instream_foreign_object_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_instream_foreign_object_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_instream_foreign_object_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_instream_foreign_object_get_clip (FoFo *fo_fo);
void                fo_instream_foreign_object_set_clip (FoFo *fo_fo,
                                                         FoProperty *new_clip);
FoProperty*         fo_instream_foreign_object_get_content_height
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_content_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_height);
FoProperty*         fo_instream_foreign_object_get_content_type
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_content_type
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_type);
FoProperty*         fo_instream_foreign_object_get_content_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_content_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_width);
FoProperty*         fo_instream_foreign_object_get_display_align
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_display_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_instream_foreign_object_get_dominant_baseline
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_instream_foreign_object_get_height
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_height);
FoProperty*         fo_instream_foreign_object_get_id   (FoFo *fo_fo);
void                fo_instream_foreign_object_set_id   (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_instream_foreign_object_get_inline_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);
FoProperty*         fo_instream_foreign_object_get_keep_with_next
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_instream_foreign_object_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_instream_foreign_object_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_instream_foreign_object_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_instream_foreign_object_get_keep_with_previous
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_instream_foreign_object_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_instream_foreign_object_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_instream_foreign_object_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_instream_foreign_object_get_line_height
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_line_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_instream_foreign_object_get_overflow
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_overflow
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_overflow);
FoProperty*         fo_instream_foreign_object_get_padding_after
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_instream_foreign_object_get_padding_before
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_instream_foreign_object_get_padding_bottom
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_instream_foreign_object_get_padding_end
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_padding_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_instream_foreign_object_get_padding_left
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_instream_foreign_object_get_padding_right
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_instream_foreign_object_get_padding_start
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_instream_foreign_object_get_padding_top
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_padding_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_instream_foreign_object_get_role (FoFo *fo_fo);
void                fo_instream_foreign_object_set_role (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_instream_foreign_object_get_scaling
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_scaling
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_scaling);
FoProperty*         fo_instream_foreign_object_get_scaling_method
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_scaling_method
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_scaling_method);
FoProperty*         fo_instream_foreign_object_get_source_document
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_instream_foreign_object_get_space_end
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_space_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_instream_foreign_object_get_space_start
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_space_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_start);
FoProperty*         fo_instream_foreign_object_get_text_align
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_text_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_text_align);
FoProperty*         fo_instream_foreign_object_get_width
                                                        (FoFo *fo_fo);
void                fo_instream_foreign_object_set_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_width);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoInstreamForeignObject

Implemented Interfaces

FoInstreamForeignObject implements FoInlineFoIface.

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "baseline-shift"           FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "content-height"           FoProperty*           : Read
  "content-type"             FoProperty*           : Read
  "content-width"            FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "inline-progression-dimension" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "scaling"                  FoProperty*           : Read
  "scaling-method"           FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read
  "text-align"               FoProperty*           : Read
  "width"                    FoProperty*           : Read

Description

Details

FoInstreamForeignObject

typedef struct _FoInstreamForeignObject FoInstreamForeignObject;


FoInstreamForeignObjectClass

typedef struct _FoInstreamForeignObjectClass FoInstreamForeignObjectClass;


fo_instream_foreign_object_new ()

FoFo*               fo_instream_foreign_object_new      (void);

Creates a new FoInstreamForeignObject initialized to default value.

Returns :

the new FoInstreamForeignObject.

fo_instream_foreign_object_get_alignment_adjust ()

FoProperty*         fo_instream_foreign_object_get_alignment_adjust
                                                        (FoFo *fo_fo);

Gets the "alignment-adjust" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-adjust" property value

fo_instream_foreign_object_set_alignment_adjust ()

void                fo_instream_foreign_object_set_alignment_adjust
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust

fo_fo :

The FoFo object

new_alignment_adjust :

The new "alignment-adjust" property value

fo_instream_foreign_object_get_alignment_baseline ()

FoProperty*         fo_instream_foreign_object_get_alignment_baseline
                                                        (FoFo *fo_fo);

Gets the "alignment-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-baseline" property value

fo_instream_foreign_object_set_alignment_baseline ()

void                fo_instream_foreign_object_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline

fo_fo :

The FoFo object

new_alignment_baseline :

The new "alignment-baseline" property value

fo_instream_foreign_object_get_background_color ()

FoProperty*         fo_instream_foreign_object_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_instream_foreign_object_set_background_color ()

void                fo_instream_foreign_object_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_instream_foreign_object_get_background_image ()

FoProperty*         fo_instream_foreign_object_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_instream_foreign_object_set_background_image ()

void                fo_instream_foreign_object_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_instream_foreign_object_get_baseline_shift ()

FoProperty*         fo_instream_foreign_object_get_baseline_shift
                                                        (FoFo *fo_fo);

Gets the "baseline-shift" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "baseline-shift" property value

fo_instream_foreign_object_set_baseline_shift ()

void                fo_instream_foreign_object_set_baseline_shift
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_fo to new_baseline_shift

fo_fo :

The FoFo object

new_baseline_shift :

The new "baseline-shift" property value

fo_instream_foreign_object_get_block_progression_dimension ()

FoProperty*         fo_instream_foreign_object_get_block_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "block-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "block-progression-dimension" property value

fo_instream_foreign_object_set_block_progression_dimension ()

void                fo_instream_foreign_object_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension

fo_fo :

The FoFo object

new_block_progression_dimension :

The new "block-progression-dimension" property value

fo_instream_foreign_object_get_border_after_color ()

FoProperty*         fo_instream_foreign_object_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_instream_foreign_object_set_border_after_color ()

void                fo_instream_foreign_object_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_instream_foreign_object_get_border_after_style ()

FoProperty*         fo_instream_foreign_object_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_instream_foreign_object_set_border_after_style ()

void                fo_instream_foreign_object_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_instream_foreign_object_get_border_after_width ()

FoProperty*         fo_instream_foreign_object_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_instream_foreign_object_set_border_after_width ()

void                fo_instream_foreign_object_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_instream_foreign_object_get_border_before_color ()

FoProperty*         fo_instream_foreign_object_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_instream_foreign_object_set_border_before_color ()

void                fo_instream_foreign_object_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_instream_foreign_object_get_border_before_style ()

FoProperty*         fo_instream_foreign_object_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_instream_foreign_object_set_border_before_style ()

void                fo_instream_foreign_object_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_instream_foreign_object_get_border_before_width ()

FoProperty*         fo_instream_foreign_object_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_instream_foreign_object_set_border_before_width ()

void                fo_instream_foreign_object_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_instream_foreign_object_get_border_bottom_color ()

FoProperty*         fo_instream_foreign_object_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_instream_foreign_object_set_border_bottom_color ()

void                fo_instream_foreign_object_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_instream_foreign_object_get_border_bottom_style ()

FoProperty*         fo_instream_foreign_object_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_instream_foreign_object_set_border_bottom_style ()

void                fo_instream_foreign_object_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_instream_foreign_object_get_border_bottom_width ()

FoProperty*         fo_instream_foreign_object_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_instream_foreign_object_set_border_bottom_width ()

void                fo_instream_foreign_object_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_instream_foreign_object_get_border_end_color ()

FoProperty*         fo_instream_foreign_object_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_instream_foreign_object_set_border_end_color ()

void                fo_instream_foreign_object_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_instream_foreign_object_get_border_end_style ()

FoProperty*         fo_instream_foreign_object_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_instream_foreign_object_set_border_end_style ()

void                fo_instream_foreign_object_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_instream_foreign_object_get_border_end_width ()

FoProperty*         fo_instream_foreign_object_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_instream_foreign_object_set_border_end_width ()

void                fo_instream_foreign_object_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_instream_foreign_object_get_border_left_color ()

FoProperty*         fo_instream_foreign_object_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_instream_foreign_object_set_border_left_color ()

void                fo_instream_foreign_object_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_instream_foreign_object_get_border_left_style ()

FoProperty*         fo_instream_foreign_object_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_instream_foreign_object_set_border_left_style ()

void                fo_instream_foreign_object_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_instream_foreign_object_get_border_left_width ()

FoProperty*         fo_instream_foreign_object_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_instream_foreign_object_set_border_left_width ()

void                fo_instream_foreign_object_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_instream_foreign_object_get_border_right_color ()

FoProperty*         fo_instream_foreign_object_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_instream_foreign_object_set_border_right_color ()

void                fo_instream_foreign_object_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_instream_foreign_object_get_border_right_style ()

FoProperty*         fo_instream_foreign_object_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_instream_foreign_object_set_border_right_style ()

void                fo_instream_foreign_object_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_instream_foreign_object_get_border_right_width ()

FoProperty*         fo_instream_foreign_object_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_instream_foreign_object_set_border_right_width ()

void                fo_instream_foreign_object_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_instream_foreign_object_get_border_start_color ()

FoProperty*         fo_instream_foreign_object_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_instream_foreign_object_set_border_start_color ()

void                fo_instream_foreign_object_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_instream_foreign_object_get_border_start_style ()

FoProperty*         fo_instream_foreign_object_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_instream_foreign_object_set_border_start_style ()

void                fo_instream_foreign_object_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_instream_foreign_object_get_border_start_width ()

FoProperty*         fo_instream_foreign_object_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_instream_foreign_object_set_border_start_width ()

void                fo_instream_foreign_object_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_instream_foreign_object_get_border_top_color ()

FoProperty*         fo_instream_foreign_object_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_instream_foreign_object_set_border_top_color ()

void                fo_instream_foreign_object_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_instream_foreign_object_get_border_top_style ()

FoProperty*         fo_instream_foreign_object_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_instream_foreign_object_set_border_top_style ()

void                fo_instream_foreign_object_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_instream_foreign_object_get_border_top_width ()

FoProperty*         fo_instream_foreign_object_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_instream_foreign_object_set_border_top_width ()

void                fo_instream_foreign_object_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_instream_foreign_object_get_clip ()

FoProperty*         fo_instream_foreign_object_get_clip (FoFo *fo_fo);

Gets the "clip" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "clip" property value

fo_instream_foreign_object_set_clip ()

void                fo_instream_foreign_object_set_clip (FoFo *fo_fo,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_fo to new_clip

fo_fo :

The FoFo object

new_clip :

The new "clip" property value

fo_instream_foreign_object_get_content_height ()

FoProperty*         fo_instream_foreign_object_get_content_height
                                                        (FoFo *fo_fo);

Gets the "content-height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "content-height" property value

fo_instream_foreign_object_set_content_height ()

void                fo_instream_foreign_object_set_content_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_height);

Sets the "content-height" property of fo_fo to new_content_height

fo_fo :

The FoFo object

new_content_height :

The new "content-height" property value

fo_instream_foreign_object_get_content_type ()

FoProperty*         fo_instream_foreign_object_get_content_type
                                                        (FoFo *fo_fo);

Gets the "content-type" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "content-type" property value

fo_instream_foreign_object_set_content_type ()

void                fo_instream_foreign_object_set_content_type
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_type);

Sets the "content-type" property of fo_fo to new_content_type

fo_fo :

The FoFo object

new_content_type :

The new "content-type" property value

fo_instream_foreign_object_get_content_width ()

FoProperty*         fo_instream_foreign_object_get_content_width
                                                        (FoFo *fo_fo);

Gets the "content-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "content-width" property value

fo_instream_foreign_object_set_content_width ()

void                fo_instream_foreign_object_set_content_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_content_width);

Sets the "content-width" property of fo_fo to new_content_width

fo_fo :

The FoFo object

new_content_width :

The new "content-width" property value

fo_instream_foreign_object_get_display_align ()

FoProperty*         fo_instream_foreign_object_get_display_align
                                                        (FoFo *fo_fo);

Gets the "display-align" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "display-align" property value

fo_instream_foreign_object_set_display_align ()

void                fo_instream_foreign_object_set_display_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align

fo_fo :

The FoFo object

new_display_align :

The new "display-align" property value

fo_instream_foreign_object_get_dominant_baseline ()

FoProperty*         fo_instream_foreign_object_get_dominant_baseline
                                                        (FoFo *fo_fo);

Gets the "dominant-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "dominant-baseline" property value

fo_instream_foreign_object_set_dominant_baseline ()

void                fo_instream_foreign_object_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline

fo_fo :

The FoFo object

new_dominant_baseline :

The new "dominant-baseline" property value

fo_instream_foreign_object_get_height ()

FoProperty*         fo_instream_foreign_object_get_height
                                                        (FoFo *fo_fo);

Gets the "height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "height" property value

fo_instream_foreign_object_set_height ()

void                fo_instream_foreign_object_set_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_height);

Sets the "height" property of fo_fo to new_height

fo_fo :

The FoFo object

new_height :

The new "height" property value

fo_instream_foreign_object_get_id ()

FoProperty*         fo_instream_foreign_object_get_id   (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_instream_foreign_object_set_id ()

void                fo_instream_foreign_object_set_id   (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_instream_foreign_object_get_inline_progression_dimension ()

FoProperty*         fo_instream_foreign_object_get_inline_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "inline-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "inline-progression-dimension" property value

fo_instream_foreign_object_set_inline_progression_dimension ()

void                fo_instream_foreign_object_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);

Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension

fo_fo :

The FoFo object

new_inline_progression_dimension :

The new "inline-progression-dimension" property value

fo_instream_foreign_object_get_keep_with_next ()

FoProperty*         fo_instream_foreign_object_get_keep_with_next
                                                        (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_instream_foreign_object_set_keep_with_next ()

void                fo_instream_foreign_object_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_instream_foreign_object_get_keep_with_next_within_column ()

FoProperty*         fo_instream_foreign_object_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_instream_foreign_object_set_keep_with_next_within_column ()

void                fo_instream_foreign_object_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_instream_foreign_object_get_keep_with_next_within_line ()

FoProperty*         fo_instream_foreign_object_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_instream_foreign_object_set_keep_with_next_within_line ()

void                fo_instream_foreign_object_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_instream_foreign_object_get_keep_with_next_within_page ()

FoProperty*         fo_instream_foreign_object_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_instream_foreign_object_set_keep_with_next_within_page ()

void                fo_instream_foreign_object_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_instream_foreign_object_get_keep_with_previous ()

FoProperty*         fo_instream_foreign_object_get_keep_with_previous
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_instream_foreign_object_set_keep_with_previous ()

void                fo_instream_foreign_object_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_instream_foreign_object_get_keep_with_previous_within_column ()

FoProperty*         fo_instream_foreign_object_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_instream_foreign_object_set_keep_with_previous_within_column ()

void                fo_instream_foreign_object_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_instream_foreign_object_get_keep_with_previous_within_line ()

FoProperty*         fo_instream_foreign_object_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_instream_foreign_object_set_keep_with_previous_within_line ()

void                fo_instream_foreign_object_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_instream_foreign_object_get_keep_with_previous_within_page ()

FoProperty*         fo_instream_foreign_object_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_instream_foreign_object_set_keep_with_previous_within_page ()

void                fo_instream_foreign_object_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_instream_foreign_object_get_line_height ()

FoProperty*         fo_instream_foreign_object_get_line_height
                                                        (FoFo *fo_fo);

Gets the "line-height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "line-height" property value

fo_instream_foreign_object_set_line_height ()

void                fo_instream_foreign_object_set_line_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height

fo_fo :

The FoFo object

new_line_height :

The new "line-height" property value

fo_instream_foreign_object_get_overflow ()

FoProperty*         fo_instream_foreign_object_get_overflow
                                                        (FoFo *fo_fo);

Gets the "overflow" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "overflow" property value

fo_instream_foreign_object_set_overflow ()

void                fo_instream_foreign_object_set_overflow
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_fo to new_overflow

fo_fo :

The FoFo object

new_overflow :

The new "overflow" property value

fo_instream_foreign_object_get_padding_after ()

FoProperty*         fo_instream_foreign_object_get_padding_after
                                                        (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_instream_foreign_object_set_padding_after ()

void                fo_instream_foreign_object_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_instream_foreign_object_get_padding_before ()

FoProperty*         fo_instream_foreign_object_get_padding_before
                                                        (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_instream_foreign_object_set_padding_before ()

void                fo_instream_foreign_object_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_instream_foreign_object_get_padding_bottom ()

FoProperty*         fo_instream_foreign_object_get_padding_bottom
                                                        (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_instream_foreign_object_set_padding_bottom ()

void                fo_instream_foreign_object_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_instream_foreign_object_get_padding_end ()

FoProperty*         fo_instream_foreign_object_get_padding_end
                                                        (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_instream_foreign_object_set_padding_end ()

void                fo_instream_foreign_object_set_padding_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_instream_foreign_object_get_padding_left ()

FoProperty*         fo_instream_foreign_object_get_padding_left
                                                        (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_instream_foreign_object_set_padding_left ()

void                fo_instream_foreign_object_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_instream_foreign_object_get_padding_right ()

FoProperty*         fo_instream_foreign_object_get_padding_right
                                                        (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_instream_foreign_object_set_padding_right ()

void                fo_instream_foreign_object_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_instream_foreign_object_get_padding_start ()

FoProperty*         fo_instream_foreign_object_get_padding_start
                                                        (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_instream_foreign_object_set_padding_start ()

void                fo_instream_foreign_object_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_instream_foreign_object_get_padding_top ()

FoProperty*         fo_instream_foreign_object_get_padding_top
                                                        (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_instream_foreign_object_set_padding_top ()

void                fo_instream_foreign_object_set_padding_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_instream_foreign_object_get_role ()

FoProperty*         fo_instream_foreign_object_get_role (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_instream_foreign_object_set_role ()

void                fo_instream_foreign_object_set_role (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_instream_foreign_object_get_scaling ()

FoProperty*         fo_instream_foreign_object_get_scaling
                                                        (FoFo *fo_fo);

Gets the "scaling" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "scaling" property value

fo_instream_foreign_object_set_scaling ()

void                fo_instream_foreign_object_set_scaling
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_scaling);

Sets the "scaling" property of fo_fo to new_scaling

fo_fo :

The FoFo object

new_scaling :

The new "scaling" property value

fo_instream_foreign_object_get_scaling_method ()

FoProperty*         fo_instream_foreign_object_get_scaling_method
                                                        (FoFo *fo_fo);

Gets the "scaling-method" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "scaling-method" property value

fo_instream_foreign_object_set_scaling_method ()

void                fo_instream_foreign_object_set_scaling_method
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_scaling_method);

Sets the "scaling-method" property of fo_fo to new_scaling_method

fo_fo :

The FoFo object

new_scaling_method :

The new "scaling-method" property value

fo_instream_foreign_object_get_source_document ()

FoProperty*         fo_instream_foreign_object_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_instream_foreign_object_set_source_document ()

void                fo_instream_foreign_object_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_instream_foreign_object_get_space_end ()

FoProperty*         fo_instream_foreign_object_get_space_end
                                                        (FoFo *fo_fo);

Gets the "space-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-end" property value

fo_instream_foreign_object_set_space_end ()

void                fo_instream_foreign_object_set_space_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end

fo_fo :

The FoFo object

new_space_end :

The new "space-end" property value

fo_instream_foreign_object_get_space_start ()

FoProperty*         fo_instream_foreign_object_get_space_start
                                                        (FoFo *fo_fo);

Gets the "space-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-start" property value

fo_instream_foreign_object_set_space_start ()

void                fo_instream_foreign_object_set_space_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start

fo_fo :

The FoFo object

new_space_start :

The new "space-start" property value

fo_instream_foreign_object_get_text_align ()

FoProperty*         fo_instream_foreign_object_get_text_align
                                                        (FoFo *fo_fo);

Gets the "text-align" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "text-align" property value

fo_instream_foreign_object_set_text_align ()

void                fo_instream_foreign_object_set_text_align
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_text_align);

Sets the "text-align" property of fo_fo to new_text_align

fo_fo :

The FoFo object

new_text_align :

The new "text-align" property value

fo_instream_foreign_object_get_width ()

FoProperty*         fo_instream_foreign_object_get_width
                                                        (FoFo *fo_fo);

Gets the "width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "width" property value

fo_instream_foreign_object_set_width ()

void                fo_instream_foreign_object_set_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_width);

Sets the "width" property of fo_fo to new_width

fo_fo :

The FoFo object

new_width :

The new "width" property value

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "content-height" property

  "content-height"           FoProperty*           : Read

Content Height property.


The "content-type" property

  "content-type"             FoProperty*           : Read

Content Type property.


The "content-width" property

  "content-width"            FoProperty*           : Read

Content Width property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "inline-progression-dimension" property

  "inline-progression-dimension" FoProperty*           : Read

Inline Progression Dimension property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "scaling" property

  "scaling"                  FoProperty*           : Read

Scaling property.


The "scaling-method" property

  "scaling-method"           FoProperty*           : Read

Scaling Method property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.


The "text-align" property

  "text-align"               FoProperty*           : Read

Text Align property.


The "width" property

  "width"                    FoProperty*           : Read

Width property.

xmlroff-0.6.2/docs/html/xmlroff-keep-together.html0000644000175000017500000001457111156164734017135 00000000000000 keep-together

keep-together

keep-together

Description

Details

FoPropertyKeepTogether

typedef struct _FoPropertyKeepTogether FoPropertyKeepTogether;


FoPropertyKeepTogetherClass

typedef struct _FoPropertyKeepTogetherClass FoPropertyKeepTogetherClass;


fo_property_keep_together_new ()

FoProperty*         fo_property_keep_together_new       (void);

Creates a new FoPropertyKeepTogether initialized to default value.

Returns :

the new FoPropertyKeepTogether.

fo_property_keep_together_get_initial ()

FoProperty*         fo_property_keep_together_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-togetherwithin-column.html0000644000175000017500000001577711156164734021664 00000000000000 keep-together.within-column

keep-together.within-column

keep-together.within-column

Description

Details

FoPropertyKeepTogetherWithinColumn

typedef struct _FoPropertyKeepTogetherWithinColumn FoPropertyKeepTogetherWithinColumn;


FoPropertyKeepTogetherWithinColumnClass

typedef struct _FoPropertyKeepTogetherWithinColumnClass FoPropertyKeepTogetherWithinColumnClass;


fo_property_keep_together_within_column_new ()

FoProperty*         fo_property_keep_together_within_column_new
                                                        (void);

Creates a new FoPropertyKeepTogetherWithinColumn initialized to default value.

Returns :

the new FoPropertyKeepTogetherWithinColumn.

fo_property_keep_together_within_column_get_initial ()

FoProperty*         fo_property_keep_together_within_column_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-togetherwithin-line.html0000644000175000017500000001570711156164734021307 00000000000000 keep-together.within-line

keep-together.within-line

keep-together.within-line

Description

Details

FoPropertyKeepTogetherWithinLine

typedef struct _FoPropertyKeepTogetherWithinLine FoPropertyKeepTogetherWithinLine;


FoPropertyKeepTogetherWithinLineClass

typedef struct _FoPropertyKeepTogetherWithinLineClass FoPropertyKeepTogetherWithinLineClass;


fo_property_keep_together_within_line_new ()

FoProperty*         fo_property_keep_together_within_line_new
                                                        (void);

Creates a new FoPropertyKeepTogetherWithinLine initialized to default value.

Returns :

the new FoPropertyKeepTogetherWithinLine.

fo_property_keep_together_within_line_get_initial ()

FoProperty*         fo_property_keep_together_within_line_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-togetherwithin-page.html0000644000175000017500000001564211156164734021272 00000000000000 keep-together.within-page

keep-together.within-page

keep-together.within-page

Description

Details

FoPropertyKeepTogetherWithinPage

typedef struct _FoPropertyKeepTogetherWithinPage FoPropertyKeepTogetherWithinPage;


FoPropertyKeepTogetherWithinPageClass

typedef struct _FoPropertyKeepTogetherWithinPageClass FoPropertyKeepTogetherWithinPageClass;


fo_property_keep_together_within_page_new ()

FoProperty*         fo_property_keep_together_within_page_new
                                                        (void);

Creates a new FoPropertyKeepTogetherWithinPage initialized to default value.

Returns :

the new FoPropertyKeepTogetherWithinPage.

fo_property_keep_together_within_page_get_initial ()

FoProperty*         fo_property_keep_together_within_page_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-with-next.html0000644000175000017500000001456511156164734017246 00000000000000 keep-with-next

keep-with-next

keep-with-next

Description

Details

FoPropertyKeepWithNext

typedef struct _FoPropertyKeepWithNext FoPropertyKeepWithNext;


FoPropertyKeepWithNextClass

typedef struct _FoPropertyKeepWithNextClass FoPropertyKeepWithNextClass;


fo_property_keep_with_next_new ()

FoProperty*         fo_property_keep_with_next_new      (void);

Creates a new FoPropertyKeepWithNext initialized to default value.

Returns :

the new FoPropertyKeepWithNext.

fo_property_keep_with_next_get_initial ()

FoProperty*         fo_property_keep_with_next_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-with-nextwithin-column.html0000644000175000017500000001604111156164734021753 00000000000000 keep-with-next.within-column

keep-with-next.within-column

keep-with-next.within-column

Description

Details

FoPropertyKeepWithNextWithinColumn

typedef struct _FoPropertyKeepWithNextWithinColumn FoPropertyKeepWithNextWithinColumn;


FoPropertyKeepWithNextWithinColumnClass

typedef struct _FoPropertyKeepWithNextWithinColumnClass FoPropertyKeepWithNextWithinColumnClass;


fo_property_keep_with_next_within_column_new ()

FoProperty*         fo_property_keep_with_next_within_column_new
                                                        (void);

Creates a new FoPropertyKeepWithNextWithinColumn initialized to default value.

Returns :

the new FoPropertyKeepWithNextWithinColumn.

fo_property_keep_with_next_within_column_get_initial ()

FoProperty*         fo_property_keep_with_next_within_column_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-with-nextwithin-line.html0000644000175000017500000001575111156164734021414 00000000000000 keep-with-next.within-line

keep-with-next.within-line

keep-with-next.within-line

Description

Details

FoPropertyKeepWithNextWithinLine

typedef struct _FoPropertyKeepWithNextWithinLine FoPropertyKeepWithNextWithinLine;


FoPropertyKeepWithNextWithinLineClass

typedef struct _FoPropertyKeepWithNextWithinLineClass FoPropertyKeepWithNextWithinLineClass;


fo_property_keep_with_next_within_line_new ()

FoProperty*         fo_property_keep_with_next_within_line_new
                                                        (void);

Creates a new FoPropertyKeepWithNextWithinLine initialized to default value.

Returns :

the new FoPropertyKeepWithNextWithinLine.

fo_property_keep_with_next_within_line_get_initial ()

FoProperty*         fo_property_keep_with_next_within_line_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-with-nextwithin-page.html0000644000175000017500000001571511156164734021401 00000000000000 keep-with-next.within-page

keep-with-next.within-page

keep-with-next.within-page

Description

Details

FoPropertyKeepWithNextWithinPage

typedef struct _FoPropertyKeepWithNextWithinPage FoPropertyKeepWithNextWithinPage;


FoPropertyKeepWithNextWithinPageClass

typedef struct _FoPropertyKeepWithNextWithinPageClass FoPropertyKeepWithNextWithinPageClass;


fo_property_keep_with_next_within_page_new ()

FoProperty*         fo_property_keep_with_next_within_page_new
                                                        (void);

Creates a new FoPropertyKeepWithNextWithinPage initialized to default value.

Returns :

the new FoPropertyKeepWithNextWithinPage.

fo_property_keep_with_next_within_page_get_initial ()

FoProperty*         fo_property_keep_with_next_within_page_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-with-previous.html0000644000175000017500000001507411156164734020140 00000000000000 keep-with-previous

keep-with-previous

keep-with-previous

Description

Details

FoPropertyKeepWithPrevious

typedef struct _FoPropertyKeepWithPrevious FoPropertyKeepWithPrevious;


FoPropertyKeepWithPreviousClass

typedef struct _FoPropertyKeepWithPreviousClass FoPropertyKeepWithPreviousClass;


fo_property_keep_with_previous_new ()

FoProperty*         fo_property_keep_with_previous_new  (void);

Creates a new FoPropertyKeepWithPrevious initialized to default value.

Returns :

the new FoPropertyKeepWithPrevious.

fo_property_keep_with_previous_get_initial ()

FoProperty*         fo_property_keep_with_previous_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-with-previouswithin-column.html0000644000175000017500000001637111156164734022657 00000000000000 keep-with-previous.within-column

keep-with-previous.within-column

keep-with-previous.within-column

Description

Details

FoPropertyKeepWithPreviousWithinColumn

typedef struct _FoPropertyKeepWithPreviousWithinColumn FoPropertyKeepWithPreviousWithinColumn;


FoPropertyKeepWithPreviousWithinColumnClass

typedef struct _FoPropertyKeepWithPreviousWithinColumnClass FoPropertyKeepWithPreviousWithinColumnClass;


fo_property_keep_with_previous_within_column_new ()

FoProperty*         fo_property_keep_with_previous_within_column_new
                                                        (void);

Creates a new FoPropertyKeepWithPreviousWithinColumn initialized to default value.


fo_property_keep_with_previous_within_column_get_initial ()

FoProperty*         fo_property_keep_with_previous_within_column_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-with-previouswithin-line.html0000644000175000017500000001630111156164734022302 00000000000000 keep-with-previous.within-line

keep-with-previous.within-line

keep-with-previous.within-line

Description

Details

FoPropertyKeepWithPreviousWithinLine

typedef struct _FoPropertyKeepWithPreviousWithinLine FoPropertyKeepWithPreviousWithinLine;


FoPropertyKeepWithPreviousWithinLineClass

typedef struct _FoPropertyKeepWithPreviousWithinLineClass FoPropertyKeepWithPreviousWithinLineClass;


fo_property_keep_with_previous_within_line_new ()

FoProperty*         fo_property_keep_with_previous_within_line_new
                                                        (void);

Creates a new FoPropertyKeepWithPreviousWithinLine initialized to default value.

Returns :

the new FoPropertyKeepWithPreviousWithinLine.

fo_property_keep_with_previous_within_line_get_initial ()

FoProperty*         fo_property_keep_with_previous_within_line_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-keep-with-previouswithin-page.html0000644000175000017500000001620711156164734022274 00000000000000 keep-with-previous.within-page

keep-with-previous.within-page

keep-with-previous.within-page

Description

Details

FoPropertyKeepWithPreviousWithinPage

typedef struct _FoPropertyKeepWithPreviousWithinPage FoPropertyKeepWithPreviousWithinPage;


FoPropertyKeepWithPreviousWithinPageClass

typedef struct _FoPropertyKeepWithPreviousWithinPageClass FoPropertyKeepWithPreviousWithinPageClass;


fo_property_keep_with_previous_within_page_new ()

FoProperty*         fo_property_keep_with_previous_within_page_new
                                                        (void);

Creates a new FoPropertyKeepWithPreviousWithinPage initialized to default value.

Returns :

the new FoPropertyKeepWithPreviousWithinPage.

fo_property_keep_with_previous_within_page_get_initial ()

FoProperty*         fo_property_keep_with_previous_within_page_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-layout-master-set.html0000644000175000017500000001354511156164734017771 00000000000000 layout-master-set

layout-master-set

layout-master-set

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoLayoutMasterSet

Description

Details

FoLayoutMasterSet

typedef struct _FoLayoutMasterSet FoLayoutMasterSet;


FoLayoutMasterSetClass

typedef struct _FoLayoutMasterSetClass FoLayoutMasterSetClass;


fo_layout_master_set_new ()

FoFo*               fo_layout_master_set_new            (void);

Creates a new FoLayoutMasterSet initialized to default value.

Returns :

the new FoLayoutMasterSet.
xmlroff-0.6.2/docs/html/xmlroff-leader.html0000644000175000017500000060620511156164735015630 00000000000000 leader

leader

leader

Synopsis

                    FoLeader;
                    FoLeaderClass;
FoFo*               fo_leader_new                       (void);

FoProperty*         fo_leader_get_alignment_adjust      (FoFo *fo_fo);
void                fo_leader_set_alignment_adjust      (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_leader_get_alignment_baseline    (FoFo *fo_fo);
void                fo_leader_set_alignment_baseline    (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_leader_get_background_color      (FoFo *fo_fo);
void                fo_leader_set_background_color      (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_leader_get_background_image      (FoFo *fo_fo);
void                fo_leader_set_background_image      (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_leader_get_baseline_shift        (FoFo *fo_fo);
void                fo_leader_set_baseline_shift        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_leader_get_border_after_color    (FoFo *fo_fo);
void                fo_leader_set_border_after_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_leader_get_border_after_style    (FoFo *fo_fo);
void                fo_leader_set_border_after_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_leader_get_border_after_width    (FoFo *fo_fo);
void                fo_leader_set_border_after_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_leader_get_border_before_color   (FoFo *fo_fo);
void                fo_leader_set_border_before_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_leader_get_border_before_style   (FoFo *fo_fo);
void                fo_leader_set_border_before_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_leader_get_border_before_width   (FoFo *fo_fo);
void                fo_leader_set_border_before_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_leader_get_border_bottom_color   (FoFo *fo_fo);
void                fo_leader_set_border_bottom_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_leader_get_border_bottom_style   (FoFo *fo_fo);
void                fo_leader_set_border_bottom_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_leader_get_border_bottom_width   (FoFo *fo_fo);
void                fo_leader_set_border_bottom_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_leader_get_border_end_color      (FoFo *fo_fo);
void                fo_leader_set_border_end_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_leader_get_border_end_style      (FoFo *fo_fo);
void                fo_leader_set_border_end_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_leader_get_border_end_width      (FoFo *fo_fo);
void                fo_leader_set_border_end_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_leader_get_border_left_color     (FoFo *fo_fo);
void                fo_leader_set_border_left_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_leader_get_border_left_style     (FoFo *fo_fo);
void                fo_leader_set_border_left_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_leader_get_border_left_width     (FoFo *fo_fo);
void                fo_leader_set_border_left_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_leader_get_border_right_color    (FoFo *fo_fo);
void                fo_leader_set_border_right_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_leader_get_border_right_style    (FoFo *fo_fo);
void                fo_leader_set_border_right_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_leader_get_border_right_width    (FoFo *fo_fo);
void                fo_leader_set_border_right_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_leader_get_border_start_color    (FoFo *fo_fo);
void                fo_leader_set_border_start_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_leader_get_border_start_style    (FoFo *fo_fo);
void                fo_leader_set_border_start_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_leader_get_border_start_width    (FoFo *fo_fo);
void                fo_leader_set_border_start_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_leader_get_border_top_color      (FoFo *fo_fo);
void                fo_leader_set_border_top_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_leader_get_border_top_style      (FoFo *fo_fo);
void                fo_leader_set_border_top_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_leader_get_border_top_width      (FoFo *fo_fo);
void                fo_leader_set_border_top_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_leader_get_color                 (FoFo *fo_fo);
void                fo_leader_set_color                 (FoFo *fo_fo,
                                                         FoProperty *new_color);
FoProperty*         fo_leader_get_dominant_baseline     (FoFo *fo_fo);
void                fo_leader_set_dominant_baseline     (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_leader_get_font_family           (FoFo *fo_fo);
void                fo_leader_set_font_family           (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_leader_get_font_size             (FoFo *fo_fo);
void                fo_leader_set_font_size             (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_leader_get_font_stretch          (FoFo *fo_fo);
void                fo_leader_set_font_stretch          (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_leader_get_font_style            (FoFo *fo_fo);
void                fo_leader_set_font_style            (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_leader_get_font_variant          (FoFo *fo_fo);
void                fo_leader_set_font_variant          (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_leader_get_font_weight           (FoFo *fo_fo);
void                fo_leader_set_font_weight           (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_leader_get_id                    (FoFo *fo_fo);
void                fo_leader_set_id                    (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_leader_get_keep_with_next        (FoFo *fo_fo);
void                fo_leader_set_keep_with_next        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_leader_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_leader_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_leader_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_leader_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_leader_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_leader_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_leader_get_keep_with_previous    (FoFo *fo_fo);
void                fo_leader_set_keep_with_previous    (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_leader_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_leader_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_leader_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_leader_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_leader_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_leader_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_leader_get_line_height           (FoFo *fo_fo);
void                fo_leader_set_line_height           (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_leader_get_padding_after         (FoFo *fo_fo);
void                fo_leader_set_padding_after         (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_leader_get_padding_before        (FoFo *fo_fo);
void                fo_leader_set_padding_before        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_leader_get_padding_bottom        (FoFo *fo_fo);
void                fo_leader_set_padding_bottom        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_leader_get_padding_end           (FoFo *fo_fo);
void                fo_leader_set_padding_end           (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_leader_get_padding_left          (FoFo *fo_fo);
void                fo_leader_set_padding_left          (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_leader_get_padding_right         (FoFo *fo_fo);
void                fo_leader_set_padding_right         (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_leader_get_padding_start         (FoFo *fo_fo);
void                fo_leader_set_padding_start         (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_leader_get_padding_top           (FoFo *fo_fo);
void                fo_leader_set_padding_top           (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_leader_get_role                  (FoFo *fo_fo);
void                fo_leader_set_role                  (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_leader_get_source_document       (FoFo *fo_fo);
void                fo_leader_set_source_document       (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_leader_get_space_end             (FoFo *fo_fo);
void                fo_leader_set_space_end             (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_leader_get_space_start           (FoFo *fo_fo);
void                fo_leader_set_space_start           (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoLeader

Implemented Interfaces

FoLeader implements FoInlineFoIface.

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "baseline-shift"           FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "color"                    FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read

Description

Details

FoLeader

typedef struct _FoLeader FoLeader;


FoLeaderClass

typedef struct _FoLeaderClass FoLeaderClass;


fo_leader_new ()

FoFo*               fo_leader_new                       (void);

Creates a new FoLeader initialized to default value.

Returns :

the new FoLeader.

fo_leader_get_alignment_adjust ()

FoProperty*         fo_leader_get_alignment_adjust      (FoFo *fo_fo);

Gets the "alignment-adjust" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-adjust" property value

fo_leader_set_alignment_adjust ()

void                fo_leader_set_alignment_adjust      (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust

fo_fo :

The FoFo object

new_alignment_adjust :

The new "alignment-adjust" property value

fo_leader_get_alignment_baseline ()

FoProperty*         fo_leader_get_alignment_baseline    (FoFo *fo_fo);

Gets the "alignment-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-baseline" property value

fo_leader_set_alignment_baseline ()

void                fo_leader_set_alignment_baseline    (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline

fo_fo :

The FoFo object

new_alignment_baseline :

The new "alignment-baseline" property value

fo_leader_get_background_color ()

FoProperty*         fo_leader_get_background_color      (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_leader_set_background_color ()

void                fo_leader_set_background_color      (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_leader_get_background_image ()

FoProperty*         fo_leader_get_background_image      (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_leader_set_background_image ()

void                fo_leader_set_background_image      (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_leader_get_baseline_shift ()

FoProperty*         fo_leader_get_baseline_shift        (FoFo *fo_fo);

Gets the "baseline-shift" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "baseline-shift" property value

fo_leader_set_baseline_shift ()

void                fo_leader_set_baseline_shift        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_fo to new_baseline_shift

fo_fo :

The FoFo object

new_baseline_shift :

The new "baseline-shift" property value

fo_leader_get_border_after_color ()

FoProperty*         fo_leader_get_border_after_color    (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_leader_set_border_after_color ()

void                fo_leader_set_border_after_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_leader_get_border_after_style ()

FoProperty*         fo_leader_get_border_after_style    (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_leader_set_border_after_style ()

void                fo_leader_set_border_after_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_leader_get_border_after_width ()

FoProperty*         fo_leader_get_border_after_width    (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_leader_set_border_after_width ()

void                fo_leader_set_border_after_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_leader_get_border_before_color ()

FoProperty*         fo_leader_get_border_before_color   (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_leader_set_border_before_color ()

void                fo_leader_set_border_before_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_leader_get_border_before_style ()

FoProperty*         fo_leader_get_border_before_style   (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_leader_set_border_before_style ()

void                fo_leader_set_border_before_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_leader_get_border_before_width ()

FoProperty*         fo_leader_get_border_before_width   (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_leader_set_border_before_width ()

void                fo_leader_set_border_before_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_leader_get_border_bottom_color ()

FoProperty*         fo_leader_get_border_bottom_color   (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_leader_set_border_bottom_color ()

void                fo_leader_set_border_bottom_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_leader_get_border_bottom_style ()

FoProperty*         fo_leader_get_border_bottom_style   (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_leader_set_border_bottom_style ()

void                fo_leader_set_border_bottom_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_leader_get_border_bottom_width ()

FoProperty*         fo_leader_get_border_bottom_width   (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_leader_set_border_bottom_width ()

void                fo_leader_set_border_bottom_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_leader_get_border_end_color ()

FoProperty*         fo_leader_get_border_end_color      (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_leader_set_border_end_color ()

void                fo_leader_set_border_end_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_leader_get_border_end_style ()

FoProperty*         fo_leader_get_border_end_style      (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_leader_set_border_end_style ()

void                fo_leader_set_border_end_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_leader_get_border_end_width ()

FoProperty*         fo_leader_get_border_end_width      (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_leader_set_border_end_width ()

void                fo_leader_set_border_end_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_leader_get_border_left_color ()

FoProperty*         fo_leader_get_border_left_color     (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_leader_set_border_left_color ()

void                fo_leader_set_border_left_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_leader_get_border_left_style ()

FoProperty*         fo_leader_get_border_left_style     (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_leader_set_border_left_style ()

void                fo_leader_set_border_left_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_leader_get_border_left_width ()

FoProperty*         fo_leader_get_border_left_width     (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_leader_set_border_left_width ()

void                fo_leader_set_border_left_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_leader_get_border_right_color ()

FoProperty*         fo_leader_get_border_right_color    (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_leader_set_border_right_color ()

void                fo_leader_set_border_right_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_leader_get_border_right_style ()

FoProperty*         fo_leader_get_border_right_style    (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_leader_set_border_right_style ()

void                fo_leader_set_border_right_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_leader_get_border_right_width ()

FoProperty*         fo_leader_get_border_right_width    (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_leader_set_border_right_width ()

void                fo_leader_set_border_right_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_leader_get_border_start_color ()

FoProperty*         fo_leader_get_border_start_color    (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_leader_set_border_start_color ()

void                fo_leader_set_border_start_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_leader_get_border_start_style ()

FoProperty*         fo_leader_get_border_start_style    (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_leader_set_border_start_style ()

void                fo_leader_set_border_start_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_leader_get_border_start_width ()

FoProperty*         fo_leader_get_border_start_width    (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_leader_set_border_start_width ()

void                fo_leader_set_border_start_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_leader_get_border_top_color ()

FoProperty*         fo_leader_get_border_top_color      (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_leader_set_border_top_color ()

void                fo_leader_set_border_top_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_leader_get_border_top_style ()

FoProperty*         fo_leader_get_border_top_style      (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_leader_set_border_top_style ()

void                fo_leader_set_border_top_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_leader_get_border_top_width ()

FoProperty*         fo_leader_get_border_top_width      (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_leader_set_border_top_width ()

void                fo_leader_set_border_top_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_leader_get_color ()

FoProperty*         fo_leader_get_color                 (FoFo *fo_fo);

Gets the "color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "color" property value

fo_leader_set_color ()

void                fo_leader_set_color                 (FoFo *fo_fo,
                                                         FoProperty *new_color);

Sets the "color" property of fo_fo to new_color

fo_fo :

The FoFo object

new_color :

The new "color" property value

fo_leader_get_dominant_baseline ()

FoProperty*         fo_leader_get_dominant_baseline     (FoFo *fo_fo);

Gets the "dominant-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "dominant-baseline" property value

fo_leader_set_dominant_baseline ()

void                fo_leader_set_dominant_baseline     (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline

fo_fo :

The FoFo object

new_dominant_baseline :

The new "dominant-baseline" property value

fo_leader_get_font_family ()

FoProperty*         fo_leader_get_font_family           (FoFo *fo_fo);

Gets the "font-family" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-family" property value

fo_leader_set_font_family ()

void                fo_leader_set_font_family           (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the "font-family" property of fo_fo to new_font_family

fo_fo :

The FoFo object

new_font_family :

The new "font-family" property value

fo_leader_get_font_size ()

FoProperty*         fo_leader_get_font_size             (FoFo *fo_fo);

Gets the "font-size" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-size" property value

fo_leader_set_font_size ()

void                fo_leader_set_font_size             (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the "font-size" property of fo_fo to new_font_size

fo_fo :

The FoFo object

new_font_size :

The new "font-size" property value

fo_leader_get_font_stretch ()

FoProperty*         fo_leader_get_font_stretch          (FoFo *fo_fo);

Gets the "font-stretch" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-stretch" property value

fo_leader_set_font_stretch ()

void                fo_leader_set_font_stretch          (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the "font-stretch" property of fo_fo to new_font_stretch

fo_fo :

The FoFo object

new_font_stretch :

The new "font-stretch" property value

fo_leader_get_font_style ()

FoProperty*         fo_leader_get_font_style            (FoFo *fo_fo);

Gets the "font-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-style" property value

fo_leader_set_font_style ()

void                fo_leader_set_font_style            (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the "font-style" property of fo_fo to new_font_style

fo_fo :

The FoFo object

new_font_style :

The new "font-style" property value

fo_leader_get_font_variant ()

FoProperty*         fo_leader_get_font_variant          (FoFo *fo_fo);

Gets the "font-variant" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-variant" property value

fo_leader_set_font_variant ()

void                fo_leader_set_font_variant          (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the "font-variant" property of fo_fo to new_font_variant

fo_fo :

The FoFo object

new_font_variant :

The new "font-variant" property value

fo_leader_get_font_weight ()

FoProperty*         fo_leader_get_font_weight           (FoFo *fo_fo);

Gets the "font-weight" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-weight" property value

fo_leader_set_font_weight ()

void                fo_leader_set_font_weight           (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the "font-weight" property of fo_fo to new_font_weight

fo_fo :

The FoFo object

new_font_weight :

The new "font-weight" property value

fo_leader_get_id ()

FoProperty*         fo_leader_get_id                    (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_leader_set_id ()

void                fo_leader_set_id                    (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_leader_get_keep_with_next ()

FoProperty*         fo_leader_get_keep_with_next        (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_leader_set_keep_with_next ()

void                fo_leader_set_keep_with_next        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_leader_get_keep_with_next_within_column ()

FoProperty*         fo_leader_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_leader_set_keep_with_next_within_column ()

void                fo_leader_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_leader_get_keep_with_next_within_line ()

FoProperty*         fo_leader_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_leader_set_keep_with_next_within_line ()

void                fo_leader_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_leader_get_keep_with_next_within_page ()

FoProperty*         fo_leader_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_leader_set_keep_with_next_within_page ()

void                fo_leader_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_leader_get_keep_with_previous ()

FoProperty*         fo_leader_get_keep_with_previous    (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_leader_set_keep_with_previous ()

void                fo_leader_set_keep_with_previous    (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_leader_get_keep_with_previous_within_column ()

FoProperty*         fo_leader_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_leader_set_keep_with_previous_within_column ()

void                fo_leader_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_leader_get_keep_with_previous_within_line ()

FoProperty*         fo_leader_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_leader_set_keep_with_previous_within_line ()

void                fo_leader_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_leader_get_keep_with_previous_within_page ()

FoProperty*         fo_leader_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_leader_set_keep_with_previous_within_page ()

void                fo_leader_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_leader_get_line_height ()

FoProperty*         fo_leader_get_line_height           (FoFo *fo_fo);

Gets the "line-height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "line-height" property value

fo_leader_set_line_height ()

void                fo_leader_set_line_height           (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height

fo_fo :

The FoFo object

new_line_height :

The new "line-height" property value

fo_leader_get_padding_after ()

FoProperty*         fo_leader_get_padding_after         (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_leader_set_padding_after ()

void                fo_leader_set_padding_after         (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_leader_get_padding_before ()

FoProperty*         fo_leader_get_padding_before        (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_leader_set_padding_before ()

void                fo_leader_set_padding_before        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_leader_get_padding_bottom ()

FoProperty*         fo_leader_get_padding_bottom        (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_leader_set_padding_bottom ()

void                fo_leader_set_padding_bottom        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_leader_get_padding_end ()

FoProperty*         fo_leader_get_padding_end           (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_leader_set_padding_end ()

void                fo_leader_set_padding_end           (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_leader_get_padding_left ()

FoProperty*         fo_leader_get_padding_left          (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_leader_set_padding_left ()

void                fo_leader_set_padding_left          (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_leader_get_padding_right ()

FoProperty*         fo_leader_get_padding_right         (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_leader_set_padding_right ()

void                fo_leader_set_padding_right         (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_leader_get_padding_start ()

FoProperty*         fo_leader_get_padding_start         (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_leader_set_padding_start ()

void                fo_leader_set_padding_start         (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_leader_get_padding_top ()

FoProperty*         fo_leader_get_padding_top           (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_leader_set_padding_top ()

void                fo_leader_set_padding_top           (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_leader_get_role ()

FoProperty*         fo_leader_get_role                  (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_leader_set_role ()

void                fo_leader_set_role                  (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_leader_get_source_document ()

FoProperty*         fo_leader_get_source_document       (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_leader_set_source_document ()

void                fo_leader_set_source_document       (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_leader_get_space_end ()

FoProperty*         fo_leader_get_space_end             (FoFo *fo_fo);

Gets the "space-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-end" property value

fo_leader_set_space_end ()

void                fo_leader_set_space_end             (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end

fo_fo :

The FoFo object

new_space_end :

The new "space-end" property value

fo_leader_get_space_start ()

FoProperty*         fo_leader_get_space_start           (FoFo *fo_fo);

Gets the "space-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-start" property value

fo_leader_set_space_start ()

void                fo_leader_set_space_start           (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start

fo_fo :

The FoFo object

new_space_start :

The new "space-start" property value

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "color" property

  "color"                    FoProperty*           : Read

Color property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.

xmlroff-0.6.2/docs/html/xmlroff-letter-value.html0000644000175000017500000001444011156164735016777 00000000000000 letter-value

letter-value

letter-value

Description

Details

FoPropertyLetterValue

typedef struct _FoPropertyLetterValue FoPropertyLetterValue;


FoPropertyLetterValueClass

typedef struct _FoPropertyLetterValueClass FoPropertyLetterValueClass;


fo_property_letter_value_new ()

FoProperty*         fo_property_letter_value_new        (void);

Creates a new FoPropertyLetterValue initialized to default value.

Returns :

the new FoPropertyLetterValue.

fo_property_letter_value_get_initial ()

FoProperty*         fo_property_letter_value_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-LibFO-compatibility-stylesheet.html0000644000175000017500000002040111156164735022351 00000000000000 LibFO compatibility stylesheet

LibFO compatibility stylesheet

LibFO compatibility stylesheet

Description

Details

LIBFO_COMPAT_ERROR

#define LIBFO_COMPAT_ERROR libfo_compat_error_quark ()


libfo_compat_error_quark ()

GQuark              libfo_compat_error_quark            (void);

Returns :


enum LibfoCompatError

typedef enum
{
  LIBFO_COMPAT_ERROR_FAILED
} LibfoCompatError;


libfo_compat_get_stylesheet ()

const gchar*        libfo_compat_get_stylesheet         (void);

Get the built-in compatibility stylesheet as a single, rather long string.

Returns :

The built-in stylesheet.

libfo_compat_make_compatible ()

FoXmlDoc*           libfo_compat_make_compatible        (FoXmlDoc *result_tree,
                                                         FoLibfoContext *libfo_context,
                                                         GError **error);

Make result_tree compatible with libfo by applying the built-in copy of the 'libfo-compat.xsl' stylesheet.

result_tree :

Result of previous parse or transformation.

libfo_context :

FoLibfoContext.

error :

Indication of any error that occurred.

Returns :

A new result tree.
xmlroff-0.6.2/docs/html/xmlroff-libfo-version.html0000644000175000017500000005171511156164735017152 00000000000000 libfo-version

libfo-version

libfo-version — libfo version checking

Synopsis

#define             LIBFO_VERSION_MAJOR
#define             LIBFO_VERSION_MINOR
#define             LIBFO_VERSION_MICRO
#define             LIBFO_VERSION_STRING
#define             LIBFO_VERSION_EXTRA
#define             LIBFO_PIXELS_PER_INCH
#define             LIBFO_VERSION_ENCODE                (major, minor, micro)
#define             LIBFO_VERSION
#define             LIBFO_VERSION_CHECK                 (major,minor,micro)
int                 libfo_version                       (void);
const char*         libfo_version_string                (void);
const char*         libfo_version_check                 (int required_major,
                                                         int required_minor,
                                                         int required_micro);
int                 libfo_pixels_per_inch               (void);
enum                LibfoModuleEnum;
                    LibfoVersionInfo;
const LibfoVersionInfo** libfo_version_get_info         (void);

Description

The capital-letter macros defined here can be used to check the version of libfo at compile-time, and to encode libfo versions into integers. The functions can be used to check the version of the linked libfo library at run-time.

Details

LIBFO_VERSION_MAJOR

#define LIBFO_VERSION_MAJOR 0

The major component of the version of libfo available at compile-time.


LIBFO_VERSION_MINOR

#define LIBFO_VERSION_MINOR 6

The minor component of the version of libfo available at compile-time.


LIBFO_VERSION_MICRO

#define LIBFO_VERSION_MICRO 2

The micro component of the version of libfo available at compile-time.


LIBFO_VERSION_STRING

#define LIBFO_VERSION_STRING "0.6.2"

A string literal containing the version of libfo available at compile-time.


LIBFO_VERSION_EXTRA

#define LIBFO_VERSION_EXTRA "-SVN541"

Extra compile-time version information string literal containing, e.g., the Subversion changeset number.


LIBFO_PIXELS_PER_INCH

#define LIBFO_PIXELS_PER_INCH 96

Pixels per inch for use with graphics without intrinsic size.


LIBFO_VERSION_ENCODE()

#define             LIBFO_VERSION_ENCODE(major, minor, micro)

This macro encodes the given libfo version into an integer. The numbers returned by LIBFO_VERSION and libfo_version() are encoded using this macro. Two encoded version numbers can be compared as integers.

major :

the major component of the version number

minor :

the minor component of the version number

micro :

the micro component of the version number

LIBFO_VERSION

#define             LIBFO_VERSION

The version of libfo available at compile-time, encoded using LIBFO_VERSION_ENCODE().


LIBFO_VERSION_CHECK()

#define             LIBFO_VERSION_CHECK(major,minor,micro)

Checks that the version of libfo available at compile-time is not older than the provided version number.

major :

the major component of the version number

minor :

the minor component of the version number

micro :

the micro component of the version number

libfo_version ()

int                 libfo_version                       (void);

This is similar to the macro LIBFO_VERSION except that it returns the encoded version of libfo available at run-time, as opposed to the version available at compile-time.

A version number can be encoded into an integer using LIBFO_VERSION_ENCODE().

Returns :

value: The encoded version of libfo library available at run time.

libfo_version_string ()

const char*         libfo_version_string                (void);

This is similar to the macro LIBFO_VERSION_STRING except that it returns the version of libfo available at run-time, as opposed to the version available at compile-time.

Returns :

value: A string containing the version of libfo library available at run time. The returned string is owned by libfo and should not be modified or freed.

libfo_version_check ()

const char*         libfo_version_check                 (int required_major,
                                                         int required_minor,
                                                         int required_micro);

Checks that the libfo library in use is compatible with the given version. Generally you would pass in the constants LIBFO_VERSION_MAJOR, LIBFO_VERSION_MINOR, LIBFO_VERSION_MICRO as the three arguments to this function; that produces a check that the library in use at run-time is compatible with the version of libfo the application or module was compiled against.

Compatibility is defined by two things: first the version of the running library is newer than the version required_major.required_minor.required_micro. Second the running library must be binary compatible with the version required_major.required_minor.required_micro (same major version.)

For compile-time version checking use LIBFO_VERSION_CHECK().

required_major :

the required major version.

required_minor :

the required minor version.

required_micro :

the required major version.

Returns :

NULL if the libfo library is compatible with the given version, or a string describing the version mismatch. The returned string is owned by libfo and should not be modified or freed.

libfo_pixels_per_inch ()

int                 libfo_pixels_per_inch               (void);

This is similar to the macro LIBFO_PIXELS_PER_INCH except that it returns the encoded pixels per inch of libfo available at run-time, as opposed to the pixels per inch available at compile-time.

Returns :

value: The encoded pixels per inch of libfo library available at run time.

enum LibfoModuleEnum

typedef enum {
  LIBFO_MODULE_INVALID,
  LIBFO_MODULE_XSL_FORMATTER,
  LIBFO_MODULE_XSLT_PROCESSOR,
  LIBFO_MODULE_XML_DOC,
  LIBFO_MODULE_BACKEND,
  LIBFO_MODULE_PANGO
} LibfoModuleEnum;

The type of a module of libfo.

LIBFO_MODULE_INVALID

Not a module

LIBFO_MODULE_XSL_FORMATTER

XSL formatter

LIBFO_MODULE_XSLT_PROCESSOR

XSLT processor

LIBFO_MODULE_XML_DOC

LIBFO_MODULE_BACKEND

Backend

LIBFO_MODULE_PANGO

Pango

LibfoVersionInfo

typedef struct {
  LibfoModuleEnum module;
  const gchar    *nick;
  const gchar    *name;
  gint            compiled;
  const gchar    *compiled_string;
  gint            runtime;
  const gchar    *runtime_string;
} LibfoVersionInfo;

Collected version information about a component of libfo.

Other than nick, one or more of the parts of the LibfoVersionInfo may be 0 or NULL if the component is unable to report that information.

LibfoModuleEnum module;

Type of the module

const gchar *nick;

Nickname

const gchar *name;

FoObject type name, e.g., FoDocCairo

gint compiled;

Compiled version number

const gchar *compiled_string;

Compiled version number string

gint runtime;

Runtime version number

const gchar *runtime_string;

Runtime version number string

libfo_version_get_info ()

const LibfoVersionInfo** libfo_version_get_info         (void);

Gets the LibfoVersionInfo of libfo components.

Returns :

Array of pointers to LibfoVersionInfo. The last item is NULL.
xmlroff-0.6.2/docs/html/xmlroff-linefeed-treatment.html0000644000175000017500000001514111156164735020141 00000000000000 linefeed-treatment

linefeed-treatment

linefeed-treatment

Description

Details

FoPropertyLinefeedTreatment

typedef struct _FoPropertyLinefeedTreatment FoPropertyLinefeedTreatment;

Instance of the 'linefeed-treatment' property.


FoPropertyLinefeedTreatmentClass

typedef struct _FoPropertyLinefeedTreatmentClass FoPropertyLinefeedTreatmentClass;

Class structure for the 'linefeed-treatment' property.


fo_property_linefeed_treatment_new ()

FoProperty*         fo_property_linefeed_treatment_new  (void);

Creates a new FoPropertyLinefeedTreatment initialized to default value.

Returns :

the new FoPropertyLinefeedTreatment.

fo_property_linefeed_treatment_get_initial ()

FoProperty*         fo_property_linefeed_treatment_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-line-height.html0000644000175000017500000001766411156164735016576 00000000000000 line-height

line-height

line-height

Description

Details

FoPropertyLineHeight

typedef struct _FoPropertyLineHeight FoPropertyLineHeight;


FoPropertyLineHeightClass

typedef struct _FoPropertyLineHeightClass FoPropertyLineHeightClass;


fo_property_line_height_new ()

FoProperty*         fo_property_line_height_new         (void);

Creates a new FoPropertyLineHeight initialized to default value.

Returns :

the new FoPropertyLineHeight.

fo_property_line_height_get_initial ()

FoProperty*         fo_property_line_height_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.

fo_property_line_height_resolve ()

FoProperty*         fo_property_line_height_resolve     (FoProperty *line_height,
                                                         FoProperty *font_size);

Determine the computed value of the 'line-height' based on line_height and font_size.

line_height :

'line-height' property.

font_size :

'font-size' property.

Returns :

FoProperty with the computed value of line_height.
xmlroff-0.6.2/docs/html/xmlroff-line-stacking-strategy.html0000644000175000017500000001536311156164735020763 00000000000000 line-stacking-strategy

line-stacking-strategy

line-stacking-strategy

Description

Details

FoPropertyLineStackingStrategy

typedef struct _FoPropertyLineStackingStrategy FoPropertyLineStackingStrategy;


FoPropertyLineStackingStrategyClass

typedef struct _FoPropertyLineStackingStrategyClass FoPropertyLineStackingStrategyClass;


fo_property_line_stacking_strategy_new ()

FoProperty*         fo_property_line_stacking_strategy_new
                                                        (void);

Creates a new FoPropertyLineStackingStrategy initialized to default value.

Returns :

the new FoPropertyLineStackingStrategy.

fo_property_line_stacking_strategy_get_initial ()

FoProperty*         fo_property_line_stacking_strategy_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-list-block.html0000644000175000017500000065533511156164735016447 00000000000000 list-block

list-block

list-block

Synopsis

                    FoListBlock;
                    FoListBlockClass;
FoFo*               fo_list_block_new                   (void);

FoDatatype*         fo_list_block_get_body_start        (FoFo *fo_fo);
FoDatatype*         fo_list_block_get_label_end         (FoFo *fo_fo);
FoProperty*         fo_list_block_get_background_color  (FoFo *fo_fo);
void                fo_list_block_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_list_block_get_background_image  (FoFo *fo_fo);
void                fo_list_block_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_list_block_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_list_block_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_list_block_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_list_block_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_list_block_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_list_block_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_list_block_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_list_block_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_list_block_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_list_block_get_border_end_color  (FoFo *fo_fo);
void                fo_list_block_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_list_block_get_border_end_style  (FoFo *fo_fo);
void                fo_list_block_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_list_block_get_border_end_width  (FoFo *fo_fo);
void                fo_list_block_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_list_block_get_border_left_color (FoFo *fo_fo);
void                fo_list_block_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_list_block_get_border_left_style (FoFo *fo_fo);
void                fo_list_block_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_list_block_get_border_left_width (FoFo *fo_fo);
void                fo_list_block_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_list_block_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_list_block_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_list_block_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_list_block_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_list_block_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_list_block_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_list_block_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_list_block_get_border_top_color  (FoFo *fo_fo);
void                fo_list_block_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_list_block_get_border_top_style  (FoFo *fo_fo);
void                fo_list_block_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_list_block_get_border_top_width  (FoFo *fo_fo);
void                fo_list_block_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_list_block_get_break_after       (FoFo *fo_fo);
void                fo_list_block_set_break_after       (FoFo *fo_fo,
                                                         FoProperty *new_break_after);
FoProperty*         fo_list_block_get_break_before      (FoFo *fo_fo);
void                fo_list_block_set_break_before      (FoFo *fo_fo,
                                                         FoProperty *new_break_before);
FoProperty*         fo_list_block_get_end_indent        (FoFo *fo_fo);
void                fo_list_block_set_end_indent        (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);
FoProperty*         fo_list_block_get_id                (FoFo *fo_fo);
void                fo_list_block_set_id                (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_list_block_get_keep_together     (FoFo *fo_fo);
void                fo_list_block_set_keep_together     (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_list_block_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_list_block_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_list_block_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_list_block_get_keep_with_next    (FoFo *fo_fo);
void                fo_list_block_set_keep_with_next    (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_list_block_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_list_block_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_list_block_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_list_block_get_keep_with_previous
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_list_block_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_list_block_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_list_block_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_list_block_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_list_block_get_margin_bottom     (FoFo *fo_fo);
void                fo_list_block_set_margin_bottom     (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);
FoProperty*         fo_list_block_get_margin_left       (FoFo *fo_fo);
void                fo_list_block_set_margin_left       (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);
FoProperty*         fo_list_block_get_margin_right      (FoFo *fo_fo);
void                fo_list_block_set_margin_right      (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);
FoProperty*         fo_list_block_get_margin_top        (FoFo *fo_fo);
void                fo_list_block_set_margin_top        (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);
FoProperty*         fo_list_block_get_padding_after     (FoFo *fo_fo);
void                fo_list_block_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_list_block_get_padding_before    (FoFo *fo_fo);
void                fo_list_block_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_list_block_get_padding_bottom    (FoFo *fo_fo);
void                fo_list_block_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_list_block_get_padding_end       (FoFo *fo_fo);
void                fo_list_block_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_list_block_get_padding_left      (FoFo *fo_fo);
void                fo_list_block_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_list_block_get_padding_right     (FoFo *fo_fo);
void                fo_list_block_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_list_block_get_padding_start     (FoFo *fo_fo);
void                fo_list_block_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_list_block_get_padding_top       (FoFo *fo_fo);
void                fo_list_block_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_list_block_get_provisional_distance_between_starts
                                                        (FoFo *fo_fo);
void                fo_list_block_set_provisional_distance_between_starts
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_provisional_distance_between_starts);
FoProperty*         fo_list_block_get_provisional_label_separation
                                                        (FoFo *fo_fo);
void                fo_list_block_set_provisional_label_separation
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_provisional_label_separation);
FoProperty*         fo_list_block_get_role              (FoFo *fo_fo);
void                fo_list_block_set_role              (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_list_block_get_source_document   (FoFo *fo_fo);
void                fo_list_block_set_source_document   (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_list_block_get_space_after       (FoFo *fo_fo);
void                fo_list_block_set_space_after       (FoFo *fo_fo,
                                                         FoProperty *new_space_after);
FoProperty*         fo_list_block_get_space_before      (FoFo *fo_fo);
void                fo_list_block_set_space_before      (FoFo *fo_fo,
                                                         FoProperty *new_space_before);
FoProperty*         fo_list_block_get_start_indent      (FoFo *fo_fo);
void                fo_list_block_set_start_indent      (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoListBlock

Implemented Interfaces

FoListBlock implements FoBlockFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "body-start"               FoDatatype*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "break-after"              FoProperty*           : Read
  "break-before"             FoProperty*           : Read
  "end-indent"               FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "label-end"                FoDatatype*           : Read
  "margin-bottom"            FoProperty*           : Read
  "margin-left"              FoProperty*           : Read
  "margin-right"             FoProperty*           : Read
  "margin-top"               FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "provisional-distance-between-starts" FoProperty*           : Read
  "provisional-label-separation" FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-after"              FoProperty*           : Read
  "space-before"             FoProperty*           : Read
  "start-indent"             FoProperty*           : Read

Description

Details

FoListBlock

typedef struct _FoListBlock FoListBlock;


FoListBlockClass

typedef struct _FoListBlockClass FoListBlockClass;


fo_list_block_new ()

FoFo*               fo_list_block_new                   (void);

Creates a new FoListBlock initialized to default value.

Returns :

the new FoListBlock.

fo_list_block_get_body_start ()

FoDatatype*         fo_list_block_get_body_start        (FoFo *fo_fo);

Gets the "body-start" property of list_block

fo_fo :

The FoFo object

Returns :

The value to use for body_start() functions

fo_list_block_get_label_end ()

FoDatatype*         fo_list_block_get_label_end         (FoFo *fo_fo);

Gets the label-end of fo_fo

fo_fo :

The FoListBlock object

Returns :

The value to use for label-end() functions

fo_list_block_get_background_color ()

FoProperty*         fo_list_block_get_background_color  (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_list_block_set_background_color ()

void                fo_list_block_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_list_block_get_background_image ()

FoProperty*         fo_list_block_get_background_image  (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_list_block_set_background_image ()

void                fo_list_block_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_list_block_get_border_after_color ()

FoProperty*         fo_list_block_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_list_block_set_border_after_color ()

void                fo_list_block_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_list_block_get_border_after_style ()

FoProperty*         fo_list_block_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_list_block_set_border_after_style ()

void                fo_list_block_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_list_block_get_border_after_width ()

FoProperty*         fo_list_block_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_list_block_set_border_after_width ()

void                fo_list_block_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_list_block_get_border_before_color ()

FoProperty*         fo_list_block_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_list_block_set_border_before_color ()

void                fo_list_block_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_list_block_get_border_before_style ()

FoProperty*         fo_list_block_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_list_block_set_border_before_style ()

void                fo_list_block_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_list_block_get_border_before_width ()

FoProperty*         fo_list_block_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_list_block_set_border_before_width ()

void                fo_list_block_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_list_block_get_border_bottom_color ()

FoProperty*         fo_list_block_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_list_block_set_border_bottom_color ()

void                fo_list_block_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_list_block_get_border_bottom_style ()

FoProperty*         fo_list_block_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_list_block_set_border_bottom_style ()

void                fo_list_block_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_list_block_get_border_bottom_width ()

FoProperty*         fo_list_block_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_list_block_set_border_bottom_width ()

void                fo_list_block_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_list_block_get_border_end_color ()

FoProperty*         fo_list_block_get_border_end_color  (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_list_block_set_border_end_color ()

void                fo_list_block_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_list_block_get_border_end_style ()

FoProperty*         fo_list_block_get_border_end_style  (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_list_block_set_border_end_style ()

void                fo_list_block_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_list_block_get_border_end_width ()

FoProperty*         fo_list_block_get_border_end_width  (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_list_block_set_border_end_width ()

void                fo_list_block_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_list_block_get_border_left_color ()

FoProperty*         fo_list_block_get_border_left_color (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_list_block_set_border_left_color ()

void                fo_list_block_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_list_block_get_border_left_style ()

FoProperty*         fo_list_block_get_border_left_style (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_list_block_set_border_left_style ()

void                fo_list_block_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_list_block_get_border_left_width ()

FoProperty*         fo_list_block_get_border_left_width (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_list_block_set_border_left_width ()

void                fo_list_block_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_list_block_get_border_right_color ()

FoProperty*         fo_list_block_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_list_block_set_border_right_color ()

void                fo_list_block_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_list_block_get_border_right_style ()

FoProperty*         fo_list_block_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_list_block_set_border_right_style ()

void                fo_list_block_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_list_block_get_border_right_width ()

FoProperty*         fo_list_block_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_list_block_set_border_right_width ()

void                fo_list_block_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_list_block_get_border_start_color ()

FoProperty*         fo_list_block_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_list_block_set_border_start_color ()

void                fo_list_block_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_list_block_get_border_start_style ()

FoProperty*         fo_list_block_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_list_block_set_border_start_style ()

void                fo_list_block_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_list_block_get_border_start_width ()

FoProperty*         fo_list_block_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_list_block_set_border_start_width ()

void                fo_list_block_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_list_block_get_border_top_color ()

FoProperty*         fo_list_block_get_border_top_color  (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_list_block_set_border_top_color ()

void                fo_list_block_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_list_block_get_border_top_style ()

FoProperty*         fo_list_block_get_border_top_style  (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_list_block_set_border_top_style ()

void                fo_list_block_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_list_block_get_border_top_width ()

FoProperty*         fo_list_block_get_border_top_width  (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_list_block_set_border_top_width ()

void                fo_list_block_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_list_block_get_break_after ()

FoProperty*         fo_list_block_get_break_after       (FoFo *fo_fo);

Gets the "break-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-after" property value

fo_list_block_set_break_after ()

void                fo_list_block_set_break_after       (FoFo *fo_fo,
                                                         FoProperty *new_break_after);

Sets the "break-after" property of fo_fo to new_break_after

fo_fo :

The FoFo object

new_break_after :

The new "break-after" property value

fo_list_block_get_break_before ()

FoProperty*         fo_list_block_get_break_before      (FoFo *fo_fo);

Gets the "break-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-before" property value

fo_list_block_set_break_before ()

void                fo_list_block_set_break_before      (FoFo *fo_fo,
                                                         FoProperty *new_break_before);

Sets the "break-before" property of fo_fo to new_break_before

fo_fo :

The FoFo object

new_break_before :

The new "break-before" property value

fo_list_block_get_end_indent ()

FoProperty*         fo_list_block_get_end_indent        (FoFo *fo_fo);

Gets the "end-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "end-indent" property value

fo_list_block_set_end_indent ()

void                fo_list_block_set_end_indent        (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);

Sets the "end-indent" property of fo_fo to new_end_indent

fo_fo :

The FoFo object

new_end_indent :

The new "end-indent" property value

fo_list_block_get_id ()

FoProperty*         fo_list_block_get_id                (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_list_block_set_id ()

void                fo_list_block_set_id                (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_list_block_get_keep_together ()

FoProperty*         fo_list_block_get_keep_together     (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_list_block_set_keep_together ()

void                fo_list_block_set_keep_together     (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_list_block_get_keep_together_within_column ()

FoProperty*         fo_list_block_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_list_block_set_keep_together_within_column ()

void                fo_list_block_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_list_block_get_keep_together_within_line ()

FoProperty*         fo_list_block_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_list_block_set_keep_together_within_line ()

void                fo_list_block_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_list_block_get_keep_together_within_page ()

FoProperty*         fo_list_block_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_list_block_set_keep_together_within_page ()

void                fo_list_block_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_list_block_get_keep_with_next ()

FoProperty*         fo_list_block_get_keep_with_next    (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_list_block_set_keep_with_next ()

void                fo_list_block_set_keep_with_next    (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_list_block_get_keep_with_next_within_column ()

FoProperty*         fo_list_block_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_list_block_set_keep_with_next_within_column ()

void                fo_list_block_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_list_block_get_keep_with_next_within_line ()

FoProperty*         fo_list_block_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_list_block_set_keep_with_next_within_line ()

void                fo_list_block_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_list_block_get_keep_with_next_within_page ()

FoProperty*         fo_list_block_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_list_block_set_keep_with_next_within_page ()

void                fo_list_block_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_list_block_get_keep_with_previous ()

FoProperty*         fo_list_block_get_keep_with_previous
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_list_block_set_keep_with_previous ()

void                fo_list_block_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_list_block_get_keep_with_previous_within_column ()

FoProperty*         fo_list_block_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_list_block_set_keep_with_previous_within_column ()

void                fo_list_block_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_list_block_get_keep_with_previous_within_line ()

FoProperty*         fo_list_block_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_list_block_set_keep_with_previous_within_line ()

void                fo_list_block_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_list_block_get_keep_with_previous_within_page ()

FoProperty*         fo_list_block_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_list_block_set_keep_with_previous_within_page ()

void                fo_list_block_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_list_block_get_margin_bottom ()

FoProperty*         fo_list_block_get_margin_bottom     (FoFo *fo_fo);

Gets the "margin-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-bottom" property value

fo_list_block_set_margin_bottom ()

void                fo_list_block_set_margin_bottom     (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);

Sets the "margin-bottom" property of fo_fo to new_margin_bottom

fo_fo :

The FoFo object

new_margin_bottom :

The new "margin-bottom" property value

fo_list_block_get_margin_left ()

FoProperty*         fo_list_block_get_margin_left       (FoFo *fo_fo);

Gets the "margin-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-left" property value

fo_list_block_set_margin_left ()

void                fo_list_block_set_margin_left       (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);

Sets the "margin-left" property of fo_fo to new_margin_left

fo_fo :

The FoFo object

new_margin_left :

The new "margin-left" property value

fo_list_block_get_margin_right ()

FoProperty*         fo_list_block_get_margin_right      (FoFo *fo_fo);

Gets the "margin-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-right" property value

fo_list_block_set_margin_right ()

void                fo_list_block_set_margin_right      (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);

Sets the "margin-right" property of fo_fo to new_margin_right

fo_fo :

The FoFo object

new_margin_right :

The new "margin-right" property value

fo_list_block_get_margin_top ()

FoProperty*         fo_list_block_get_margin_top        (FoFo *fo_fo);

Gets the "margin-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-top" property value

fo_list_block_set_margin_top ()

void                fo_list_block_set_margin_top        (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);

Sets the "margin-top" property of fo_fo to new_margin_top

fo_fo :

The FoFo object

new_margin_top :

The new "margin-top" property value

fo_list_block_get_padding_after ()

FoProperty*         fo_list_block_get_padding_after     (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_list_block_set_padding_after ()

void                fo_list_block_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_list_block_get_padding_before ()

FoProperty*         fo_list_block_get_padding_before    (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_list_block_set_padding_before ()

void                fo_list_block_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_list_block_get_padding_bottom ()

FoProperty*         fo_list_block_get_padding_bottom    (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_list_block_set_padding_bottom ()

void                fo_list_block_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_list_block_get_padding_end ()

FoProperty*         fo_list_block_get_padding_end       (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_list_block_set_padding_end ()

void                fo_list_block_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_list_block_get_padding_left ()

FoProperty*         fo_list_block_get_padding_left      (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_list_block_set_padding_left ()

void                fo_list_block_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_list_block_get_padding_right ()

FoProperty*         fo_list_block_get_padding_right     (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_list_block_set_padding_right ()

void                fo_list_block_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_list_block_get_padding_start ()

FoProperty*         fo_list_block_get_padding_start     (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_list_block_set_padding_start ()

void                fo_list_block_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_list_block_get_padding_top ()

FoProperty*         fo_list_block_get_padding_top       (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_list_block_set_padding_top ()

void                fo_list_block_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_list_block_get_provisional_distance_between_starts ()

FoProperty*         fo_list_block_get_provisional_distance_between_starts
                                                        (FoFo *fo_fo);

Gets the "provisional-distance-between-starts" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "provisional-distance-between-starts" property value

fo_list_block_set_provisional_distance_between_starts ()

void                fo_list_block_set_provisional_distance_between_starts
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_provisional_distance_between_starts);

Sets the "provisional-distance-between-starts" property of fo_fo to new_provisional_distance_between_starts

fo_fo :

The FoFo object

new_provisional_distance_between_starts :

The new "provisional-distance-between-starts" property value

fo_list_block_get_provisional_label_separation ()

FoProperty*         fo_list_block_get_provisional_label_separation
                                                        (FoFo *fo_fo);

Gets the "provisional-label-separation" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "provisional-label-separation" property value

fo_list_block_set_provisional_label_separation ()

void                fo_list_block_set_provisional_label_separation
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_provisional_label_separation);

Sets the "provisional-label-separation" property of fo_fo to new_provisional_label_separation

fo_fo :

The FoFo object

new_provisional_label_separation :

The new "provisional-label-separation" property value

fo_list_block_get_role ()

FoProperty*         fo_list_block_get_role              (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_list_block_set_role ()

void                fo_list_block_set_role              (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_list_block_get_source_document ()

FoProperty*         fo_list_block_get_source_document   (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_list_block_set_source_document ()

void                fo_list_block_set_source_document   (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_list_block_get_space_after ()

FoProperty*         fo_list_block_get_space_after       (FoFo *fo_fo);

Gets the "space-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-after" property value

fo_list_block_set_space_after ()

void                fo_list_block_set_space_after       (FoFo *fo_fo,
                                                         FoProperty *new_space_after);

Sets the "space-after" property of fo_fo to new_space_after

fo_fo :

The FoFo object

new_space_after :

The new "space-after" property value

fo_list_block_get_space_before ()

FoProperty*         fo_list_block_get_space_before      (FoFo *fo_fo);

Gets the "space-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-before" property value

fo_list_block_set_space_before ()

void                fo_list_block_set_space_before      (FoFo *fo_fo,
                                                         FoProperty *new_space_before);

Sets the "space-before" property of fo_fo to new_space_before

fo_fo :

The FoFo object

new_space_before :

The new "space-before" property value

fo_list_block_get_start_indent ()

FoProperty*         fo_list_block_get_start_indent      (FoFo *fo_fo);

Gets the "start-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "start-indent" property value

fo_list_block_set_start_indent ()

void                fo_list_block_set_start_indent      (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Sets the "start-indent" property of fo_fo to new_start_indent

fo_fo :

The FoFo object

new_start_indent :

The new "start-indent" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "body-start" property

  "body-start"               FoDatatype*           : Read

Body Start property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "break-after" property

  "break-after"              FoProperty*           : Read

Break After property.


The "break-before" property

  "break-before"             FoProperty*           : Read

Break Before property.


The "end-indent" property

  "end-indent"               FoProperty*           : Read

End Indent property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "label-end" property

  "label-end"                FoDatatype*           : Read

Label End property.


The "margin-bottom" property

  "margin-bottom"            FoProperty*           : Read

Margin Bottom property.


The "margin-left" property

  "margin-left"              FoProperty*           : Read

Margin Left property.


The "margin-right" property

  "margin-right"             FoProperty*           : Read

Margin Right property.


The "margin-top" property

  "margin-top"               FoProperty*           : Read

Margin Top property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "provisional-distance-between-starts" property

  "provisional-distance-between-starts" FoProperty*           : Read

Provisional Distance Between Starts property.


The "provisional-label-separation" property

  "provisional-label-separation" FoProperty*           : Read

Provisional Label Separation property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-after" property

  "space-after"              FoProperty*           : Read

Space After property.


The "space-before" property

  "space-before"             FoProperty*           : Read

Space Before property.


The "start-indent" property

  "start-indent"             FoProperty*           : Read

Start Indent property.

xmlroff-0.6.2/docs/html/xmlroff-list-item-body.html0000644000175000017500000007416511156164735017242 00000000000000 list-item-body

list-item-body

list-item-body

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoListItemBody

Description

Details

FoListItemBody

typedef struct _FoListItemBody FoListItemBody;


FoListItemBodyClass

typedef struct _FoListItemBodyClass FoListItemBodyClass;


fo_list_item_body_new ()

FoFo*               fo_list_item_body_new               (void);

Creates a new FoListItemBody initialized to default value.

Returns :

the new FoListItemBody.

fo_list_item_body_get_id ()

FoProperty*         fo_list_item_body_get_id            (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_list_item_body_set_id ()

void                fo_list_item_body_set_id            (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_list_item_body_get_keep_together ()

FoProperty*         fo_list_item_body_get_keep_together (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_list_item_body_set_keep_together ()

void                fo_list_item_body_set_keep_together (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_list_item_body_get_keep_together_within_column ()

FoProperty*         fo_list_item_body_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_list_item_body_set_keep_together_within_column ()

void                fo_list_item_body_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_list_item_body_get_keep_together_within_line ()

FoProperty*         fo_list_item_body_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_list_item_body_set_keep_together_within_line ()

void                fo_list_item_body_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_list_item_body_get_keep_together_within_page ()

FoProperty*         fo_list_item_body_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_list_item_body_set_keep_together_within_page ()

void                fo_list_item_body_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_list_item_body_get_role ()

FoProperty*         fo_list_item_body_get_role          (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_list_item_body_set_role ()

void                fo_list_item_body_set_role          (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_list_item_body_get_source_document ()

FoProperty*         fo_list_item_body_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_list_item_body_set_source_document ()

void                fo_list_item_body_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

Property Details

The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-list-item.html0000644000175000017500000062070211156164735016301 00000000000000 list-item

list-item

list-item

Synopsis

                    FoListItem;
                    FoListItemClass;
FoFo*               fo_list_item_new                    (void);

FoProperty*         fo_list_item_get_background_color   (FoFo *fo_fo);
void                fo_list_item_set_background_color   (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_list_item_get_background_image   (FoFo *fo_fo);
void                fo_list_item_set_background_image   (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_list_item_get_border_after_color (FoFo *fo_fo);
void                fo_list_item_set_border_after_color (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_list_item_get_border_after_style (FoFo *fo_fo);
void                fo_list_item_set_border_after_style (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_list_item_get_border_after_width (FoFo *fo_fo);
void                fo_list_item_set_border_after_width (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_list_item_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_list_item_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_list_item_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_list_item_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_list_item_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_list_item_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_list_item_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_list_item_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_list_item_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_list_item_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_list_item_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_list_item_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_list_item_get_border_end_color   (FoFo *fo_fo);
void                fo_list_item_set_border_end_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_list_item_get_border_end_style   (FoFo *fo_fo);
void                fo_list_item_set_border_end_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_list_item_get_border_end_width   (FoFo *fo_fo);
void                fo_list_item_set_border_end_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_list_item_get_border_left_color  (FoFo *fo_fo);
void                fo_list_item_set_border_left_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_list_item_get_border_left_style  (FoFo *fo_fo);
void                fo_list_item_set_border_left_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_list_item_get_border_left_width  (FoFo *fo_fo);
void                fo_list_item_set_border_left_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_list_item_get_border_right_color (FoFo *fo_fo);
void                fo_list_item_set_border_right_color (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_list_item_get_border_right_style (FoFo *fo_fo);
void                fo_list_item_set_border_right_style (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_list_item_get_border_right_width (FoFo *fo_fo);
void                fo_list_item_set_border_right_width (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_list_item_get_border_start_color (FoFo *fo_fo);
void                fo_list_item_set_border_start_color (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_list_item_get_border_start_style (FoFo *fo_fo);
void                fo_list_item_set_border_start_style (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_list_item_get_border_start_width (FoFo *fo_fo);
void                fo_list_item_set_border_start_width (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_list_item_get_border_top_color   (FoFo *fo_fo);
void                fo_list_item_set_border_top_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_list_item_get_border_top_style   (FoFo *fo_fo);
void                fo_list_item_set_border_top_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_list_item_get_border_top_width   (FoFo *fo_fo);
void                fo_list_item_set_border_top_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_list_item_get_break_after        (FoFo *fo_fo);
void                fo_list_item_set_break_after        (FoFo *fo_fo,
                                                         FoProperty *new_break_after);
FoProperty*         fo_list_item_get_break_before       (FoFo *fo_fo);
void                fo_list_item_set_break_before       (FoFo *fo_fo,
                                                         FoProperty *new_break_before);
FoProperty*         fo_list_item_get_end_indent         (FoFo *fo_fo);
void                fo_list_item_set_end_indent         (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);
FoProperty*         fo_list_item_get_id                 (FoFo *fo_fo);
void                fo_list_item_set_id                 (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_list_item_get_keep_together      (FoFo *fo_fo);
void                fo_list_item_set_keep_together      (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_list_item_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_list_item_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_list_item_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_list_item_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_list_item_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_list_item_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_list_item_get_keep_with_next     (FoFo *fo_fo);
void                fo_list_item_set_keep_with_next     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_list_item_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_list_item_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_list_item_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_list_item_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_list_item_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_list_item_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_list_item_get_keep_with_previous (FoFo *fo_fo);
void                fo_list_item_set_keep_with_previous (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_list_item_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_list_item_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_list_item_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_list_item_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_list_item_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_list_item_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_list_item_get_margin_bottom      (FoFo *fo_fo);
void                fo_list_item_set_margin_bottom      (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);
FoProperty*         fo_list_item_get_margin_left        (FoFo *fo_fo);
void                fo_list_item_set_margin_left        (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);
FoProperty*         fo_list_item_get_margin_right       (FoFo *fo_fo);
void                fo_list_item_set_margin_right       (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);
FoProperty*         fo_list_item_get_margin_top         (FoFo *fo_fo);
void                fo_list_item_set_margin_top         (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);
FoProperty*         fo_list_item_get_padding_after      (FoFo *fo_fo);
void                fo_list_item_set_padding_after      (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_list_item_get_padding_before     (FoFo *fo_fo);
void                fo_list_item_set_padding_before     (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_list_item_get_padding_bottom     (FoFo *fo_fo);
void                fo_list_item_set_padding_bottom     (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_list_item_get_padding_end        (FoFo *fo_fo);
void                fo_list_item_set_padding_end        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_list_item_get_padding_left       (FoFo *fo_fo);
void                fo_list_item_set_padding_left       (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_list_item_get_padding_right      (FoFo *fo_fo);
void                fo_list_item_set_padding_right      (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_list_item_get_padding_start      (FoFo *fo_fo);
void                fo_list_item_set_padding_start      (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_list_item_get_padding_top        (FoFo *fo_fo);
void                fo_list_item_set_padding_top        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_list_item_get_role               (FoFo *fo_fo);
void                fo_list_item_set_role               (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_list_item_get_source_document    (FoFo *fo_fo);
void                fo_list_item_set_source_document    (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_list_item_get_space_after        (FoFo *fo_fo);
void                fo_list_item_set_space_after        (FoFo *fo_fo,
                                                         FoProperty *new_space_after);
FoProperty*         fo_list_item_get_space_before       (FoFo *fo_fo);
void                fo_list_item_set_space_before       (FoFo *fo_fo,
                                                         FoProperty *new_space_before);
FoProperty*         fo_list_item_get_start_indent       (FoFo *fo_fo);
void                fo_list_item_set_start_indent       (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoListItem

Implemented Interfaces

FoListItem implements FoBlockFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "break-after"              FoProperty*           : Read
  "break-before"             FoProperty*           : Read
  "end-indent"               FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "margin-bottom"            FoProperty*           : Read
  "margin-left"              FoProperty*           : Read
  "margin-right"             FoProperty*           : Read
  "margin-top"               FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-after"              FoProperty*           : Read
  "space-before"             FoProperty*           : Read
  "start-indent"             FoProperty*           : Read

Description

Details

FoListItem

typedef struct _FoListItem FoListItem;


FoListItemClass

typedef struct _FoListItemClass FoListItemClass;


fo_list_item_new ()

FoFo*               fo_list_item_new                    (void);

Creates a new FoListItem initialized to default value.

Returns :

the new FoListItem.

fo_list_item_get_background_color ()

FoProperty*         fo_list_item_get_background_color   (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_list_item_set_background_color ()

void                fo_list_item_set_background_color   (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_list_item_get_background_image ()

FoProperty*         fo_list_item_get_background_image   (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_list_item_set_background_image ()

void                fo_list_item_set_background_image   (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_list_item_get_border_after_color ()

FoProperty*         fo_list_item_get_border_after_color (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_list_item_set_border_after_color ()

void                fo_list_item_set_border_after_color (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_list_item_get_border_after_style ()

FoProperty*         fo_list_item_get_border_after_style (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_list_item_set_border_after_style ()

void                fo_list_item_set_border_after_style (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_list_item_get_border_after_width ()

FoProperty*         fo_list_item_get_border_after_width (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_list_item_set_border_after_width ()

void                fo_list_item_set_border_after_width (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_list_item_get_border_before_color ()

FoProperty*         fo_list_item_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_list_item_set_border_before_color ()

void                fo_list_item_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_list_item_get_border_before_style ()

FoProperty*         fo_list_item_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_list_item_set_border_before_style ()

void                fo_list_item_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_list_item_get_border_before_width ()

FoProperty*         fo_list_item_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_list_item_set_border_before_width ()

void                fo_list_item_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_list_item_get_border_bottom_color ()

FoProperty*         fo_list_item_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_list_item_set_border_bottom_color ()

void                fo_list_item_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_list_item_get_border_bottom_style ()

FoProperty*         fo_list_item_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_list_item_set_border_bottom_style ()

void                fo_list_item_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_list_item_get_border_bottom_width ()

FoProperty*         fo_list_item_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_list_item_set_border_bottom_width ()

void                fo_list_item_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_list_item_get_border_end_color ()

FoProperty*         fo_list_item_get_border_end_color   (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_list_item_set_border_end_color ()

void                fo_list_item_set_border_end_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_list_item_get_border_end_style ()

FoProperty*         fo_list_item_get_border_end_style   (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_list_item_set_border_end_style ()

void                fo_list_item_set_border_end_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_list_item_get_border_end_width ()

FoProperty*         fo_list_item_get_border_end_width   (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_list_item_set_border_end_width ()

void                fo_list_item_set_border_end_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_list_item_get_border_left_color ()

FoProperty*         fo_list_item_get_border_left_color  (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_list_item_set_border_left_color ()

void                fo_list_item_set_border_left_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_list_item_get_border_left_style ()

FoProperty*         fo_list_item_get_border_left_style  (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_list_item_set_border_left_style ()

void                fo_list_item_set_border_left_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_list_item_get_border_left_width ()

FoProperty*         fo_list_item_get_border_left_width  (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_list_item_set_border_left_width ()

void                fo_list_item_set_border_left_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_list_item_get_border_right_color ()

FoProperty*         fo_list_item_get_border_right_color (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_list_item_set_border_right_color ()

void                fo_list_item_set_border_right_color (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_list_item_get_border_right_style ()

FoProperty*         fo_list_item_get_border_right_style (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_list_item_set_border_right_style ()

void                fo_list_item_set_border_right_style (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_list_item_get_border_right_width ()

FoProperty*         fo_list_item_get_border_right_width (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_list_item_set_border_right_width ()

void                fo_list_item_set_border_right_width (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_list_item_get_border_start_color ()

FoProperty*         fo_list_item_get_border_start_color (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_list_item_set_border_start_color ()

void                fo_list_item_set_border_start_color (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_list_item_get_border_start_style ()

FoProperty*         fo_list_item_get_border_start_style (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_list_item_set_border_start_style ()

void                fo_list_item_set_border_start_style (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_list_item_get_border_start_width ()

FoProperty*         fo_list_item_get_border_start_width (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_list_item_set_border_start_width ()

void                fo_list_item_set_border_start_width (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_list_item_get_border_top_color ()

FoProperty*         fo_list_item_get_border_top_color   (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_list_item_set_border_top_color ()

void                fo_list_item_set_border_top_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_list_item_get_border_top_style ()

FoProperty*         fo_list_item_get_border_top_style   (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_list_item_set_border_top_style ()

void                fo_list_item_set_border_top_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_list_item_get_border_top_width ()

FoProperty*         fo_list_item_get_border_top_width   (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_list_item_set_border_top_width ()

void                fo_list_item_set_border_top_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_list_item_get_break_after ()

FoProperty*         fo_list_item_get_break_after        (FoFo *fo_fo);

Gets the "break-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-after" property value

fo_list_item_set_break_after ()

void                fo_list_item_set_break_after        (FoFo *fo_fo,
                                                         FoProperty *new_break_after);

Sets the "break-after" property of fo_fo to new_break_after

fo_fo :

The FoFo object

new_break_after :

The new "break-after" property value

fo_list_item_get_break_before ()

FoProperty*         fo_list_item_get_break_before       (FoFo *fo_fo);

Gets the "break-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-before" property value

fo_list_item_set_break_before ()

void                fo_list_item_set_break_before       (FoFo *fo_fo,
                                                         FoProperty *new_break_before);

Sets the "break-before" property of fo_fo to new_break_before

fo_fo :

The FoFo object

new_break_before :

The new "break-before" property value

fo_list_item_get_end_indent ()

FoProperty*         fo_list_item_get_end_indent         (FoFo *fo_fo);

Gets the "end-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "end-indent" property value

fo_list_item_set_end_indent ()

void                fo_list_item_set_end_indent         (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);

Sets the "end-indent" property of fo_fo to new_end_indent

fo_fo :

The FoFo object

new_end_indent :

The new "end-indent" property value

fo_list_item_get_id ()

FoProperty*         fo_list_item_get_id                 (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_list_item_set_id ()

void                fo_list_item_set_id                 (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_list_item_get_keep_together ()

FoProperty*         fo_list_item_get_keep_together      (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_list_item_set_keep_together ()

void                fo_list_item_set_keep_together      (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_list_item_get_keep_together_within_column ()

FoProperty*         fo_list_item_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_list_item_set_keep_together_within_column ()

void                fo_list_item_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_list_item_get_keep_together_within_line ()

FoProperty*         fo_list_item_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_list_item_set_keep_together_within_line ()

void                fo_list_item_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_list_item_get_keep_together_within_page ()

FoProperty*         fo_list_item_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_list_item_set_keep_together_within_page ()

void                fo_list_item_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_list_item_get_keep_with_next ()

FoProperty*         fo_list_item_get_keep_with_next     (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_list_item_set_keep_with_next ()

void                fo_list_item_set_keep_with_next     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_list_item_get_keep_with_next_within_column ()

FoProperty*         fo_list_item_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_list_item_set_keep_with_next_within_column ()

void                fo_list_item_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_list_item_get_keep_with_next_within_line ()

FoProperty*         fo_list_item_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_list_item_set_keep_with_next_within_line ()

void                fo_list_item_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_list_item_get_keep_with_next_within_page ()

FoProperty*         fo_list_item_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_list_item_set_keep_with_next_within_page ()

void                fo_list_item_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_list_item_get_keep_with_previous ()

FoProperty*         fo_list_item_get_keep_with_previous (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_list_item_set_keep_with_previous ()

void                fo_list_item_set_keep_with_previous (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_list_item_get_keep_with_previous_within_column ()

FoProperty*         fo_list_item_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_list_item_set_keep_with_previous_within_column ()

void                fo_list_item_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_list_item_get_keep_with_previous_within_line ()

FoProperty*         fo_list_item_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_list_item_set_keep_with_previous_within_line ()

void                fo_list_item_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_list_item_get_keep_with_previous_within_page ()

FoProperty*         fo_list_item_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_list_item_set_keep_with_previous_within_page ()

void                fo_list_item_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_list_item_get_margin_bottom ()

FoProperty*         fo_list_item_get_margin_bottom      (FoFo *fo_fo);

Gets the "margin-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-bottom" property value

fo_list_item_set_margin_bottom ()

void                fo_list_item_set_margin_bottom      (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);

Sets the "margin-bottom" property of fo_fo to new_margin_bottom

fo_fo :

The FoFo object

new_margin_bottom :

The new "margin-bottom" property value

fo_list_item_get_margin_left ()

FoProperty*         fo_list_item_get_margin_left        (FoFo *fo_fo);

Gets the "margin-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-left" property value

fo_list_item_set_margin_left ()

void                fo_list_item_set_margin_left        (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);

Sets the "margin-left" property of fo_fo to new_margin_left

fo_fo :

The FoFo object

new_margin_left :

The new "margin-left" property value

fo_list_item_get_margin_right ()

FoProperty*         fo_list_item_get_margin_right       (FoFo *fo_fo);

Gets the "margin-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-right" property value

fo_list_item_set_margin_right ()

void                fo_list_item_set_margin_right       (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);

Sets the "margin-right" property of fo_fo to new_margin_right

fo_fo :

The FoFo object

new_margin_right :

The new "margin-right" property value

fo_list_item_get_margin_top ()

FoProperty*         fo_list_item_get_margin_top         (FoFo *fo_fo);

Gets the "margin-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-top" property value

fo_list_item_set_margin_top ()

void                fo_list_item_set_margin_top         (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);

Sets the "margin-top" property of fo_fo to new_margin_top

fo_fo :

The FoFo object

new_margin_top :

The new "margin-top" property value

fo_list_item_get_padding_after ()

FoProperty*         fo_list_item_get_padding_after      (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_list_item_set_padding_after ()

void                fo_list_item_set_padding_after      (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_list_item_get_padding_before ()

FoProperty*         fo_list_item_get_padding_before     (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_list_item_set_padding_before ()

void                fo_list_item_set_padding_before     (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_list_item_get_padding_bottom ()

FoProperty*         fo_list_item_get_padding_bottom     (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_list_item_set_padding_bottom ()

void                fo_list_item_set_padding_bottom     (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_list_item_get_padding_end ()

FoProperty*         fo_list_item_get_padding_end        (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_list_item_set_padding_end ()

void                fo_list_item_set_padding_end        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_list_item_get_padding_left ()

FoProperty*         fo_list_item_get_padding_left       (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_list_item_set_padding_left ()

void                fo_list_item_set_padding_left       (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_list_item_get_padding_right ()

FoProperty*         fo_list_item_get_padding_right      (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_list_item_set_padding_right ()

void                fo_list_item_set_padding_right      (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_list_item_get_padding_start ()

FoProperty*         fo_list_item_get_padding_start      (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_list_item_set_padding_start ()

void                fo_list_item_set_padding_start      (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_list_item_get_padding_top ()

FoProperty*         fo_list_item_get_padding_top        (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_list_item_set_padding_top ()

void                fo_list_item_set_padding_top        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_list_item_get_role ()

FoProperty*         fo_list_item_get_role               (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_list_item_set_role ()

void                fo_list_item_set_role               (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_list_item_get_source_document ()

FoProperty*         fo_list_item_get_source_document    (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_list_item_set_source_document ()

void                fo_list_item_set_source_document    (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_list_item_get_space_after ()

FoProperty*         fo_list_item_get_space_after        (FoFo *fo_fo);

Gets the "space-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-after" property value

fo_list_item_set_space_after ()

void                fo_list_item_set_space_after        (FoFo *fo_fo,
                                                         FoProperty *new_space_after);

Sets the "space-after" property of fo_fo to new_space_after

fo_fo :

The FoFo object

new_space_after :

The new "space-after" property value

fo_list_item_get_space_before ()

FoProperty*         fo_list_item_get_space_before       (FoFo *fo_fo);

Gets the "space-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-before" property value

fo_list_item_set_space_before ()

void                fo_list_item_set_space_before       (FoFo *fo_fo,
                                                         FoProperty *new_space_before);

Sets the "space-before" property of fo_fo to new_space_before

fo_fo :

The FoFo object

new_space_before :

The new "space-before" property value

fo_list_item_get_start_indent ()

FoProperty*         fo_list_item_get_start_indent       (FoFo *fo_fo);

Gets the "start-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "start-indent" property value

fo_list_item_set_start_indent ()

void                fo_list_item_set_start_indent       (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Sets the "start-indent" property of fo_fo to new_start_indent

fo_fo :

The FoFo object

new_start_indent :

The new "start-indent" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "break-after" property

  "break-after"              FoProperty*           : Read

Break After property.


The "break-before" property

  "break-before"             FoProperty*           : Read

Break Before property.


The "end-indent" property

  "end-indent"               FoProperty*           : Read

End Indent property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "margin-bottom" property

  "margin-bottom"            FoProperty*           : Read

Margin Bottom property.


The "margin-left" property

  "margin-left"              FoProperty*           : Read

Margin Left property.


The "margin-right" property

  "margin-right"             FoProperty*           : Read

Margin Right property.


The "margin-top" property

  "margin-top"               FoProperty*           : Read

Margin Top property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-after" property

  "space-after"              FoProperty*           : Read

Space After property.


The "space-before" property

  "space-before"             FoProperty*           : Read

Space Before property.


The "start-indent" property

  "start-indent"             FoProperty*           : Read

Start Indent property.

xmlroff-0.6.2/docs/html/xmlroff-list-item-label.html0000644000175000017500000007474411156164735017367 00000000000000 list-item-label

list-item-label

list-item-label

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoListItemLabel

Description

Details

FoListItemLabel

typedef struct _FoListItemLabel FoListItemLabel;


FoListItemLabelClass

typedef struct _FoListItemLabelClass FoListItemLabelClass;


fo_list_item_label_new ()

FoFo*               fo_list_item_label_new              (void);

Creates a new FoListItemLabel initialized to default value.

Returns :

the new FoListItemLabel.

fo_list_item_label_get_id ()

FoProperty*         fo_list_item_label_get_id           (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_list_item_label_set_id ()

void                fo_list_item_label_set_id           (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_list_item_label_get_keep_together ()

FoProperty*         fo_list_item_label_get_keep_together
                                                        (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_list_item_label_set_keep_together ()

void                fo_list_item_label_set_keep_together
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_list_item_label_get_keep_together_within_column ()

FoProperty*         fo_list_item_label_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_list_item_label_set_keep_together_within_column ()

void                fo_list_item_label_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_list_item_label_get_keep_together_within_line ()

FoProperty*         fo_list_item_label_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_list_item_label_set_keep_together_within_line ()

void                fo_list_item_label_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_list_item_label_get_keep_together_within_page ()

FoProperty*         fo_list_item_label_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_list_item_label_set_keep_together_within_page ()

void                fo_list_item_label_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_list_item_label_get_role ()

FoProperty*         fo_list_item_label_get_role         (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_list_item_label_set_role ()

void                fo_list_item_label_set_role         (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_list_item_label_get_source_document ()

FoProperty*         fo_list_item_label_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_list_item_label_set_source_document ()

void                fo_list_item_label_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

Property Details

The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-margin-bottom.html0000644000175000017500000001436311156164735017151 00000000000000 margin-bottom

margin-bottom

margin-bottom

Description

Details

FoPropertyMarginBottom

typedef struct _FoPropertyMarginBottom FoPropertyMarginBottom;


FoPropertyMarginBottomClass

typedef struct _FoPropertyMarginBottomClass FoPropertyMarginBottomClass;


fo_property_margin_bottom_new ()

FoProperty*         fo_property_margin_bottom_new       (void);

Creates a new FoPropertyMarginBottom initialized to default value.

Returns :

the new FoPropertyMarginBottom.

fo_property_margin_bottom_get_initial ()

FoProperty*         fo_property_margin_bottom_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-margin.html0000644000175000017500000001362511156164735015647 00000000000000 margin

margin

margin

Description

Details

FoPropertyMargin

typedef struct _FoPropertyMargin FoPropertyMargin;


FoPropertyMarginClass

typedef struct _FoPropertyMarginClass FoPropertyMarginClass;


fo_property_margin_new ()

FoProperty*         fo_property_margin_new              (void);

Creates a new FoPropertyMargin initialized to default value.

Returns :

the new FoPropertyMargin.

fo_property_margin_get_initial ()

FoProperty*         fo_property_margin_get_initial      (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-margin-left.html0000644000175000017500000001407711156164735016601 00000000000000 margin-left

margin-left

margin-left

Description

Details

FoPropertyMarginLeft

typedef struct _FoPropertyMarginLeft FoPropertyMarginLeft;


FoPropertyMarginLeftClass

typedef struct _FoPropertyMarginLeftClass FoPropertyMarginLeftClass;


fo_property_margin_left_new ()

FoProperty*         fo_property_margin_left_new         (void);

Creates a new FoPropertyMarginLeft initialized to default value.

Returns :

the new FoPropertyMarginLeft.

fo_property_margin_left_get_initial ()

FoProperty*         fo_property_margin_left_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-margin-right.html0000644000175000017500000001432111156164735016754 00000000000000 margin-right

margin-right

margin-right

Description

Details

FoPropertyMarginRight

typedef struct _FoPropertyMarginRight FoPropertyMarginRight;


FoPropertyMarginRightClass

typedef struct _FoPropertyMarginRightClass FoPropertyMarginRightClass;


fo_property_margin_right_new ()

FoProperty*         fo_property_margin_right_new        (void);

Creates a new FoPropertyMarginRight initialized to default value.

Returns :

the new FoPropertyMarginRight.

fo_property_margin_right_get_initial ()

FoProperty*         fo_property_margin_right_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-margin-top.html0000644000175000017500000001401511156164735016441 00000000000000 margin-top

margin-top

margin-top

Description

Details

FoPropertyMarginTop

typedef struct _FoPropertyMarginTop FoPropertyMarginTop;


FoPropertyMarginTopClass

typedef struct _FoPropertyMarginTopClass FoPropertyMarginTopClass;


fo_property_margin_top_new ()

FoProperty*         fo_property_margin_top_new          (void);

Creates a new FoPropertyMarginTop initialized to default value.

Returns :

the new FoPropertyMarginTop.

fo_property_margin_top_get_initial ()

FoProperty*         fo_property_margin_top_get_initial  (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-marker.html0000644000175000017500000001271711156164735015654 00000000000000 marker

marker

marker

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarker

Description

Details

FoMarker

typedef struct _FoMarker FoMarker;


FoMarkerClass

typedef struct _FoMarkerClass FoMarkerClass;


fo_marker_new ()

FoFo*               fo_marker_new                       (void);

Creates a new FoMarker initialized to default value.

Returns :

the new FoMarker
xmlroff-0.6.2/docs/html/xmlroff-master-name.html0000644000175000017500000001410211156164735016572 00000000000000 master-name

master-name

master-name

Description

Details

FoPropertyMasterName

typedef struct _FoPropertyMasterName FoPropertyMasterName;


FoPropertyMasterNameClass

typedef struct _FoPropertyMasterNameClass FoPropertyMasterNameClass;


fo_property_master_name_new ()

FoProperty*         fo_property_master_name_new         (void);

Creates a new FoPropertyMasterName initialized to default value.

Returns :

the new FoPropertyMasterName.

fo_property_master_name_get_initial ()

FoProperty*         fo_property_master_name_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-master-reference.html0000644000175000017500000001461411156164735017620 00000000000000 master-reference

master-reference

master-reference

Description

Details

FoPropertyMasterReference

typedef struct _FoPropertyMasterReference FoPropertyMasterReference;


FoPropertyMasterReferenceClass

typedef struct _FoPropertyMasterReferenceClass FoPropertyMasterReferenceClass;


fo_property_master_reference_new ()

FoProperty*         fo_property_master_reference_new    (void);

Creates a new FoPropertyMasterReference initialized to default value.

Returns :

the new FoPropertyMasterReference.

fo_property_master_reference_get_initial ()

FoProperty*         fo_property_master_reference_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-media-usage.html0000644000175000017500000001502211156164735016544 00000000000000 media-usage

media-usage

media-usage — 'media-usage' property

Description

Inherited: FALSE

Shorthand: FALSE

Value: auto | paginate | bounded-in-one-dimension | unbounded

Initial value: auto

Definition: http://www.w3.org/TR/xsl11/#media-usage

Details

FoPropertyMediaUsage

typedef struct _FoPropertyMediaUsage FoPropertyMediaUsage;

Instance of the 'media-usage' property.


FoPropertyMediaUsageClass

typedef struct _FoPropertyMediaUsageClass FoPropertyMediaUsageClass;

Class structure for the 'media-usage' property.


fo_property_media_usage_new ()

FoProperty*         fo_property_media_usage_new         (void);

Creates a new FoPropertyMediaUsage initialized to default value.

Returns :

the new FoPropertyMediaUsage.

fo_property_media_usage_get_initial ()

FoProperty*         fo_property_media_usage_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-multi-case.html0000644000175000017500000003612011156164735016430 00000000000000 multi-case

multi-case

multi-case

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMultiCase

Properties

  "id"                       FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoMultiCase

typedef struct _FoMultiCase FoMultiCase;


FoMultiCaseClass

typedef struct _FoMultiCaseClass FoMultiCaseClass;


fo_multi_case_new ()

FoFo*               fo_multi_case_new                   (void);

Creates a new FoMultiCase initialized to default value.

Returns :

the new FoMultiCase.

fo_multi_case_set_id ()

void                fo_multi_case_set_id                (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_multi_case_get_id ()

FoProperty*         fo_multi_case_get_id                (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_multi_case_set_role ()

void                fo_multi_case_set_role              (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_multi_case_get_role ()

FoProperty*         fo_multi_case_get_role              (FoFo *fo_fo);

Gets the "role" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "role" property value.

fo_multi_case_set_source_document ()

void                fo_multi_case_set_source_document   (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_multi_case_get_source_document ()

FoProperty*         fo_multi_case_get_source_document   (FoFo *fo_fo);

Gets the "source-document" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "source-document" property value.

Property Details

The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-multi-properties.html0000644000175000017500000004016311156164735017713 00000000000000 multi-properties

multi-properties

multi-properties

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMultiProperties

Implemented Interfaces

FoMultiProperties implements FoNeutralIface.

Properties

  "id"                       FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoMultiProperties

typedef struct _FoMultiProperties FoMultiProperties;


FoMultiPropertiesClass

typedef struct _FoMultiPropertiesClass FoMultiPropertiesClass;


fo_multi_properties_new ()

FoFo*               fo_multi_properties_new             (void);

Creates a new FoMultiProperties initialized to default value.

Returns :

the new FoMultiProperties.

fo_multi_properties_set_id ()

void                fo_multi_properties_set_id          (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_multi_properties_get_id ()

FoProperty*         fo_multi_properties_get_id          (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_multi_properties_set_role ()

void                fo_multi_properties_set_role        (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_multi_properties_get_role ()

FoProperty*         fo_multi_properties_get_role        (FoFo *fo_fo);

Gets the "role" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "role" property value.

fo_multi_properties_set_source_document ()

void                fo_multi_properties_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_multi_properties_get_source_document ()

FoProperty*         fo_multi_properties_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "source-document" property value.

Property Details

The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-multi-property-set.html0000644000175000017500000002252711156164735020200 00000000000000 multi-property-set

multi-property-set

multi-property-set

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMultiPropertySet

Properties

  "id"                       FoProperty*           : Read

Description

Details

FoMultiPropertySet

typedef struct _FoMultiPropertySet FoMultiPropertySet;


FoMultiPropertySetClass

typedef struct _FoMultiPropertySetClass FoMultiPropertySetClass;


fo_multi_property_set_new ()

FoFo*               fo_multi_property_set_new           (void);

Creates a new FoMultiPropertySet initialized to default value.

Returns :

the new FoMultiPropertySet

fo_multi_property_set_set_id ()

void                fo_multi_property_set_set_id        (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the id property of multi_property_set to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_multi_property_set_get_id ()

FoProperty*         fo_multi_property_set_get_id        (FoFo *fo_fo);

Gets the id property of multi_property_set

fo_fo :

The FoFo object

Returns :

The "id" property value

Property Details

The "id" property

  "id"                       FoProperty*           : Read

Id property.

xmlroff-0.6.2/docs/html/xmlroff-multi-switch.html0000644000175000017500000003706111156164735017023 00000000000000 multi-switch

multi-switch

multi-switch

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMultiSwitch

Implemented Interfaces

FoMultiSwitch implements FoNeutralIface.

Properties

  "id"                       FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoMultiSwitch

typedef struct _FoMultiSwitch FoMultiSwitch;


FoMultiSwitchClass

typedef struct _FoMultiSwitchClass FoMultiSwitchClass;


fo_multi_switch_new ()

FoFo*               fo_multi_switch_new                 (void);

Creates a new FoMultiSwitch initialized to default value.

Returns :

the new FoMultiSwitch.

fo_multi_switch_get_id ()

FoProperty*         fo_multi_switch_get_id              (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_multi_switch_set_id ()

void                fo_multi_switch_set_id              (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_multi_switch_get_role ()

FoProperty*         fo_multi_switch_get_role            (FoFo *fo_fo);

Gets the "role" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "role" property value.

fo_multi_switch_set_role ()

void                fo_multi_switch_set_role            (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_multi_switch_get_source_document ()

FoProperty*         fo_multi_switch_get_source_document (FoFo *fo_fo);

Gets the "source-document" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "source-document" property value.

fo_multi_switch_set_source_document ()

void                fo_multi_switch_set_source_document (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

Property Details

The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-multi-toggle.html0000644000175000017500000003714511156164735017006 00000000000000 multi-toggle

multi-toggle

multi-toggle

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMultiToggle

Implemented Interfaces

FoMultiToggle implements FoInlineFoIface.

Properties

  "id"                       FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoMultiToggle

typedef struct _FoMultiToggle FoMultiToggle;


FoMultiToggleClass

typedef struct _FoMultiToggleClass FoMultiToggleClass;


fo_multi_toggle_new ()

FoFo*               fo_multi_toggle_new                 (void);

Creates a new FoMultiToggle initialized to default value.

Returns :

the new FoMultiToggle.

fo_multi_toggle_get_id ()

FoProperty*         fo_multi_toggle_get_id              (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_multi_toggle_set_id ()

void                fo_multi_toggle_set_id              (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_multi_toggle_get_role ()

FoProperty*         fo_multi_toggle_get_role            (FoFo *fo_fo);

Gets the "role" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "role" property value.

fo_multi_toggle_set_role ()

void                fo_multi_toggle_set_role            (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_multi_toggle_get_source_document ()

FoProperty*         fo_multi_toggle_get_source_document (FoFo *fo_fo);

Gets the "source-document" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "source-document" property value.

fo_multi_toggle_set_source_document ()

void                fo_multi_toggle_set_source_document (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

Property Details

The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-number-columns-repeated.html0000644000175000017500000001552311156164735021126 00000000000000 number-columns-repeated

number-columns-repeated

number-columns-repeated

Description

Details

FoPropertyNumberColumnsRepeated

typedef struct _FoPropertyNumberColumnsRepeated FoPropertyNumberColumnsRepeated;


FoPropertyNumberColumnsRepeatedClass

typedef struct _FoPropertyNumberColumnsRepeatedClass FoPropertyNumberColumnsRepeatedClass;


fo_property_number_columns_repeated_new ()

FoProperty*         fo_property_number_columns_repeated_new
                                                        (void);

Creates a new FoPropertyNumberColumnsRepeated initialized to default value.

Returns :

the new FoPropertyNumberColumnsRepeated.

fo_property_number_columns_repeated_get_initial ()

FoProperty*         fo_property_number_columns_repeated_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-number-columns-spanned.html0000644000175000017500000001547611156164735020774 00000000000000 number-columns-spanned

number-columns-spanned

number-columns-spanned

Description

Details

FoPropertyNumberColumnsSpanned

typedef struct _FoPropertyNumberColumnsSpanned FoPropertyNumberColumnsSpanned;


FoPropertyNumberColumnsSpannedClass

typedef struct _FoPropertyNumberColumnsSpannedClass FoPropertyNumberColumnsSpannedClass;


fo_property_number_columns_spanned_new ()

FoProperty*         fo_property_number_columns_spanned_new
                                                        (void);

Creates a new FoPropertyNumberColumnsSpanned initialized to default value.

Returns :

the new FoPropertyNumberColumnsSpanned.

fo_property_number_columns_spanned_get_initial ()

FoProperty*         fo_property_number_columns_spanned_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-number-rows-spanned.html0000644000175000017500000001502711156164735020276 00000000000000 number-rows-spanned

number-rows-spanned

number-rows-spanned

Description

Details

FoPropertyNumberRowsSpanned

typedef struct _FoPropertyNumberRowsSpanned FoPropertyNumberRowsSpanned;


FoPropertyNumberRowsSpannedClass

typedef struct _FoPropertyNumberRowsSpannedClass FoPropertyNumberRowsSpannedClass;


fo_property_number_rows_spanned_new ()

FoProperty*         fo_property_number_rows_spanned_new (void);

Creates a new FoPropertyNumberRowsSpanned initialized to default value.

Returns :

the new FoPropertyNumberRowsSpanned.

fo_property_number_rows_spanned_get_initial ()

FoProperty*         fo_property_number_rows_spanned_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-orphans.html0000644000175000017500000001365111156164735016043 00000000000000 orphans

orphans

orphans

Description

Details

FoPropertyOrphans

typedef struct _FoPropertyOrphans FoPropertyOrphans;


FoPropertyOrphansClass

typedef struct _FoPropertyOrphansClass FoPropertyOrphansClass;


fo_property_orphans_new ()

FoProperty*         fo_property_orphans_new             (void);

Creates a new FoPropertyOrphans initialized to default value.

Returns :

the new FoPropertyOrphans.

fo_property_orphans_get_initial ()

FoProperty*         fo_property_orphans_get_initial     (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-overflow.html0000644000175000017500000001402011156164735016223 00000000000000 overflow

overflow

overflow

Description

Details

FoPropertyOverflow

typedef struct _FoPropertyOverflow FoPropertyOverflow;

Instance of the 'overflow' property.


FoPropertyOverflowClass

typedef struct _FoPropertyOverflowClass FoPropertyOverflowClass;

Class structure for the 'overflow' property.


fo_property_overflow_new ()

FoProperty*         fo_property_overflow_new            (void);

Creates a new FoPropertyOverflow initialized to default value.

Returns :

the new FoPropertyOverflow.

fo_property_overflow_get_initial ()

FoProperty*         fo_property_overflow_get_initial    (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-padding-after.html0000644000175000017500000001437711156164735017104 00000000000000 padding-after

padding-after

padding-after

Description

Details

FoPropertyPaddingAfter

typedef struct _FoPropertyPaddingAfter FoPropertyPaddingAfter;


FoPropertyPaddingAfterClass

typedef struct _FoPropertyPaddingAfterClass FoPropertyPaddingAfterClass;


fo_property_padding_after_new ()

FoProperty*         fo_property_padding_after_new       (void);

Creates a new FoPropertyPaddingAfter initialized to default value.

Returns :

the new FoPropertyPaddingAfter.

fo_property_padding_after_get_initial ()

FoProperty*         fo_property_padding_after_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-padding-before.html0000644000175000017500000001447711156164735017246 00000000000000 padding-before

padding-before

padding-before

Description

Details

FoPropertyPaddingBefore

typedef struct _FoPropertyPaddingBefore FoPropertyPaddingBefore;


FoPropertyPaddingBeforeClass

typedef struct _FoPropertyPaddingBeforeClass FoPropertyPaddingBeforeClass;


fo_property_padding_before_new ()

FoProperty*         fo_property_padding_before_new      (void);

Creates a new FoPropertyPaddingBefore initialized to default value.

Returns :

the new FoPropertyPaddingBefore.

fo_property_padding_before_get_initial ()

FoProperty*         fo_property_padding_before_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-padding-bottom.html0000644000175000017500000001447111156164735017302 00000000000000 padding-bottom

padding-bottom

padding-bottom

Description

Details

FoPropertyPaddingBottom

typedef struct _FoPropertyPaddingBottom FoPropertyPaddingBottom;


FoPropertyPaddingBottomClass

typedef struct _FoPropertyPaddingBottomClass FoPropertyPaddingBottomClass;


fo_property_padding_bottom_new ()

FoProperty*         fo_property_padding_bottom_new      (void);

Creates a new FoPropertyPaddingBottom initialized to default value.

Returns :

the new FoPropertyPaddingBottom.

fo_property_padding_bottom_get_initial ()

FoProperty*         fo_property_padding_bottom_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-padding-end.html0000644000175000017500000001410211156164735016533 00000000000000 padding-end

padding-end

padding-end

Description

Details

FoPropertyPaddingEnd

typedef struct _FoPropertyPaddingEnd FoPropertyPaddingEnd;


FoPropertyPaddingEndClass

typedef struct _FoPropertyPaddingEndClass FoPropertyPaddingEndClass;


fo_property_padding_end_new ()

FoProperty*         fo_property_padding_end_new         (void);

Creates a new FoPropertyPaddingEnd initialized to default value.

Returns :

the new FoPropertyPaddingEnd.

fo_property_padding_end_get_initial ()

FoProperty*         fo_property_padding_end_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-padding.html0000644000175000017500000001362711156164735016002 00000000000000 padding

padding

padding

Description

Details

FoPropertyPadding

typedef struct _FoPropertyPadding FoPropertyPadding;


FoPropertyPaddingClass

typedef struct _FoPropertyPaddingClass FoPropertyPaddingClass;


fo_property_padding_new ()

FoProperty*         fo_property_padding_new             (void);

Creates a new FoPropertyPadding initialized to default value.

Returns :

the new FoPropertyPadding.

fo_property_padding_get_initial ()

FoProperty*         fo_property_padding_get_initial     (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-padding-left.html0000644000175000017500000001433211156164735016724 00000000000000 padding-left

padding-left

padding-left

Description

Details

FoPropertyPaddingLeft

typedef struct _FoPropertyPaddingLeft FoPropertyPaddingLeft;


FoPropertyPaddingLeftClass

typedef struct _FoPropertyPaddingLeftClass FoPropertyPaddingLeftClass;


fo_property_padding_left_new ()

FoProperty*         fo_property_padding_left_new        (void);

Creates a new FoPropertyPaddingLeft initialized to default value.

Returns :

the new FoPropertyPaddingLeft.

fo_property_padding_left_get_initial ()

FoProperty*         fo_property_padding_left_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-padding-right.html0000644000175000017500000001441311156164735017107 00000000000000 padding-right

padding-right

padding-right

Description

Details

FoPropertyPaddingRight

typedef struct _FoPropertyPaddingRight FoPropertyPaddingRight;


FoPropertyPaddingRightClass

typedef struct _FoPropertyPaddingRightClass FoPropertyPaddingRightClass;


fo_property_padding_right_new ()

FoProperty*         fo_property_padding_right_new       (void);

Creates a new FoPropertyPaddingRight initialized to default value.

Returns :

the new FoPropertyPaddingRight.

fo_property_padding_right_get_initial ()

FoProperty*         fo_property_padding_right_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-padding-start.html0000644000175000017500000001441011156164735017124 00000000000000 padding-start

padding-start

padding-start

Description

Details

FoPropertyPaddingStart

typedef struct _FoPropertyPaddingStart FoPropertyPaddingStart;


FoPropertyPaddingStartClass

typedef struct _FoPropertyPaddingStartClass FoPropertyPaddingStartClass;


fo_property_padding_start_new ()

FoProperty*         fo_property_padding_start_new       (void);

Creates a new FoPropertyPaddingStart initialized to default value.

Returns :

the new FoPropertyPaddingStart.

fo_property_padding_start_get_initial ()

FoProperty*         fo_property_padding_start_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-padding-top.html0000644000175000017500000001407411156164735016577 00000000000000 padding-top

padding-top

padding-top

Description

Details

FoPropertyPaddingTop

typedef struct _FoPropertyPaddingTop FoPropertyPaddingTop;


FoPropertyPaddingTopClass

typedef struct _FoPropertyPaddingTopClass FoPropertyPaddingTopClass;


fo_property_padding_top_new ()

FoProperty*         fo_property_padding_top_new         (void);

Creates a new FoPropertyPaddingTop initialized to default value.

Returns :

the new FoPropertyPaddingTop.

fo_property_padding_top_get_initial ()

FoProperty*         fo_property_padding_top_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-page-height.html0000644000175000017500000001406311156164735016551 00000000000000 page-height

page-height

page-height

Description

Details

FoPropertyPageHeight

typedef struct _FoPropertyPageHeight FoPropertyPageHeight;


FoPropertyPageHeightClass

typedef struct _FoPropertyPageHeightClass FoPropertyPageHeightClass;


fo_property_page_height_new ()

FoProperty*         fo_property_page_height_new         (void);

Creates a new FoPropertyPageHeight initialized to default value.

Returns :

the new FoPropertyPageHeight.

fo_property_page_height_get_initial ()

FoProperty*         fo_property_page_height_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-page-number-citation.html0000644000175000017500000070456411156164735020415 00000000000000 page-number-citation

page-number-citation

page-number-citation

Synopsis

                    FoPageNumberCitation;
                    FoPageNumberCitationClass;
FoFo*               fo_page_number_citation_new         (void);

FoProperty*         fo_page_number_citation_get_alignment_adjust
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_alignment_adjust
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_page_number_citation_get_alignment_baseline
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_page_number_citation_get_background_color
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_page_number_citation_get_background_image
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_page_number_citation_get_baseline_shift
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_baseline_shift
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_page_number_citation_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_page_number_citation_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_page_number_citation_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_page_number_citation_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_page_number_citation_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_page_number_citation_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_page_number_citation_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_page_number_citation_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_page_number_citation_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_page_number_citation_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_page_number_citation_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_page_number_citation_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_page_number_citation_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_page_number_citation_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_page_number_citation_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_page_number_citation_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_page_number_citation_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_page_number_citation_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_page_number_citation_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_page_number_citation_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_page_number_citation_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_page_number_citation_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_page_number_citation_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_page_number_citation_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_page_number_citation_get_dominant_baseline
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_page_number_citation_get_font_family
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_font_family
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_page_number_citation_get_font_size
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_font_size
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_page_number_citation_get_font_stretch
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_font_stretch
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_page_number_citation_get_font_style
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_font_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_page_number_citation_get_font_variant
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_font_variant
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_page_number_citation_get_font_weight
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_font_weight
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_page_number_citation_get_id      (FoFo *fo_fo);
void                fo_page_number_citation_set_id      (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_page_number_citation_get_keep_with_next
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_page_number_citation_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_page_number_citation_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_page_number_citation_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_page_number_citation_get_keep_with_previous
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_page_number_citation_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_page_number_citation_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_page_number_citation_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_page_number_citation_get_line_height
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_line_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_page_number_citation_get_padding_after
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_page_number_citation_get_padding_before
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_page_number_citation_get_padding_bottom
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_page_number_citation_get_padding_end
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_padding_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_page_number_citation_get_padding_left
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_page_number_citation_get_padding_right
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_page_number_citation_get_padding_start
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_page_number_citation_get_padding_top
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_padding_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_page_number_citation_get_ref_id  (FoFo *fo_fo);
void                fo_page_number_citation_set_ref_id  (FoFo *fo_fo,
                                                         FoProperty *new_ref_id);
FoProperty*         fo_page_number_citation_get_role    (FoFo *fo_fo);
void                fo_page_number_citation_set_role    (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_page_number_citation_get_score_spaces
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_score_spaces
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);
FoProperty*         fo_page_number_citation_get_source_document
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_page_number_citation_get_space_end
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_space_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_page_number_citation_get_space_start
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_space_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_start);
FoProperty*         fo_page_number_citation_get_wrap_option
                                                        (FoFo *fo_fo);
void                fo_page_number_citation_set_wrap_option
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_wrap_option);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoPageNumberCitation

Implemented Interfaces

FoPageNumberCitation implements FoInlineFoIface.

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "baseline-shift"           FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "ref-id"                   FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "score-spaces"             FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read
  "wrap-option"              FoProperty*           : Read

Description

Details

FoPageNumberCitation

typedef struct _FoPageNumberCitation FoPageNumberCitation;

Instance of the 'page-number-citation' formatting object.


FoPageNumberCitationClass

typedef struct _FoPageNumberCitationClass FoPageNumberCitationClass;

Class structure for the 'page-number-citation' formatting object.


fo_page_number_citation_new ()

FoFo*               fo_page_number_citation_new         (void);

Creates a new FoPageNumberCitation initialized to default value.

Returns :

the new FoPageNumberCitation.

fo_page_number_citation_get_alignment_adjust ()

FoProperty*         fo_page_number_citation_get_alignment_adjust
                                                        (FoFo *fo_fo);

Gets the "alignment-adjust" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "alignment-adjust" property value.

fo_page_number_citation_set_alignment_adjust ()

void                fo_page_number_citation_set_alignment_adjust
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust.

fo_fo :

The FoFo object.

new_alignment_adjust :

The new "alignment-adjust" property value.

fo_page_number_citation_get_alignment_baseline ()

FoProperty*         fo_page_number_citation_get_alignment_baseline
                                                        (FoFo *fo_fo);

Gets the "alignment-baseline" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "alignment-baseline" property value.

fo_page_number_citation_set_alignment_baseline ()

void                fo_page_number_citation_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline.

fo_fo :

The FoFo object.

new_alignment_baseline :

The new "alignment-baseline" property value.

fo_page_number_citation_get_background_color ()

FoProperty*         fo_page_number_citation_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_page_number_citation_set_background_color ()

void                fo_page_number_citation_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_page_number_citation_get_background_image ()

FoProperty*         fo_page_number_citation_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_page_number_citation_set_background_image ()

void                fo_page_number_citation_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_page_number_citation_get_baseline_shift ()

FoProperty*         fo_page_number_citation_get_baseline_shift
                                                        (FoFo *fo_fo);

Gets the "baseline-shift" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "baseline-shift" property value.

fo_page_number_citation_set_baseline_shift ()

void                fo_page_number_citation_set_baseline_shift
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_fo to new_baseline_shift.

fo_fo :

The FoFo object.

new_baseline_shift :

The new "baseline-shift" property value.

fo_page_number_citation_get_border_after_color ()

FoProperty*         fo_page_number_citation_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_page_number_citation_set_border_after_color ()

void                fo_page_number_citation_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_page_number_citation_get_border_after_style ()

FoProperty*         fo_page_number_citation_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_page_number_citation_set_border_after_style ()

void                fo_page_number_citation_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_page_number_citation_get_border_after_width ()

FoProperty*         fo_page_number_citation_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_page_number_citation_set_border_after_width ()

void                fo_page_number_citation_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_page_number_citation_get_border_before_color ()

FoProperty*         fo_page_number_citation_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_page_number_citation_set_border_before_color ()

void                fo_page_number_citation_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_page_number_citation_get_border_before_style ()

FoProperty*         fo_page_number_citation_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_page_number_citation_set_border_before_style ()

void                fo_page_number_citation_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_page_number_citation_get_border_before_width ()

FoProperty*         fo_page_number_citation_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_page_number_citation_set_border_before_width ()

void                fo_page_number_citation_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_page_number_citation_get_border_bottom_color ()

FoProperty*         fo_page_number_citation_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_page_number_citation_set_border_bottom_color ()

void                fo_page_number_citation_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_page_number_citation_get_border_bottom_style ()

FoProperty*         fo_page_number_citation_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_page_number_citation_set_border_bottom_style ()

void                fo_page_number_citation_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_page_number_citation_get_border_bottom_width ()

FoProperty*         fo_page_number_citation_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_page_number_citation_set_border_bottom_width ()

void                fo_page_number_citation_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_page_number_citation_get_border_end_color ()

FoProperty*         fo_page_number_citation_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_page_number_citation_set_border_end_color ()

void                fo_page_number_citation_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_page_number_citation_get_border_end_style ()

FoProperty*         fo_page_number_citation_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_page_number_citation_set_border_end_style ()

void                fo_page_number_citation_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_page_number_citation_get_border_end_width ()

FoProperty*         fo_page_number_citation_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_page_number_citation_set_border_end_width ()

void                fo_page_number_citation_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_page_number_citation_get_border_left_color ()

FoProperty*         fo_page_number_citation_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_page_number_citation_set_border_left_color ()

void                fo_page_number_citation_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_page_number_citation_get_border_left_style ()

FoProperty*         fo_page_number_citation_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_page_number_citation_set_border_left_style ()

void                fo_page_number_citation_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_page_number_citation_get_border_left_width ()

FoProperty*         fo_page_number_citation_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_page_number_citation_set_border_left_width ()

void                fo_page_number_citation_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_page_number_citation_get_border_right_color ()

FoProperty*         fo_page_number_citation_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_page_number_citation_set_border_right_color ()

void                fo_page_number_citation_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_page_number_citation_get_border_right_style ()

FoProperty*         fo_page_number_citation_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_page_number_citation_set_border_right_style ()

void                fo_page_number_citation_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_page_number_citation_get_border_right_width ()

FoProperty*         fo_page_number_citation_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_page_number_citation_set_border_right_width ()

void                fo_page_number_citation_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_page_number_citation_get_border_start_color ()

FoProperty*         fo_page_number_citation_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_page_number_citation_set_border_start_color ()

void                fo_page_number_citation_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_page_number_citation_get_border_start_style ()

FoProperty*         fo_page_number_citation_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_page_number_citation_set_border_start_style ()

void                fo_page_number_citation_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_page_number_citation_get_border_start_width ()

FoProperty*         fo_page_number_citation_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_page_number_citation_set_border_start_width ()

void                fo_page_number_citation_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_page_number_citation_get_border_top_color ()

FoProperty*         fo_page_number_citation_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_page_number_citation_set_border_top_color ()

void                fo_page_number_citation_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_page_number_citation_get_border_top_style ()

FoProperty*         fo_page_number_citation_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_page_number_citation_set_border_top_style ()

void                fo_page_number_citation_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_page_number_citation_get_border_top_width ()

FoProperty*         fo_page_number_citation_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_page_number_citation_set_border_top_width ()

void                fo_page_number_citation_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_page_number_citation_get_dominant_baseline ()

FoProperty*         fo_page_number_citation_get_dominant_baseline
                                                        (FoFo *fo_fo);

Gets the "dominant-baseline" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "dominant-baseline" property value.

fo_page_number_citation_set_dominant_baseline ()

void                fo_page_number_citation_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline.

fo_fo :

The FoFo object.

new_dominant_baseline :

The new "dominant-baseline" property value.

fo_page_number_citation_get_font_family ()

FoProperty*         fo_page_number_citation_get_font_family
                                                        (FoFo *fo_fo);

Gets the "font-family" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-family" property value.

fo_page_number_citation_set_font_family ()

void                fo_page_number_citation_set_font_family
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the "font-family" property of fo_fo to new_font_family.

fo_fo :

The FoFo object.

new_font_family :

The new "font-family" property value.

fo_page_number_citation_get_font_size ()

FoProperty*         fo_page_number_citation_get_font_size
                                                        (FoFo *fo_fo);

Gets the "font-size" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-size" property value.

fo_page_number_citation_set_font_size ()

void                fo_page_number_citation_set_font_size
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the "font-size" property of fo_fo to new_font_size.

fo_fo :

The FoFo object.

new_font_size :

The new "font-size" property value.

fo_page_number_citation_get_font_stretch ()

FoProperty*         fo_page_number_citation_get_font_stretch
                                                        (FoFo *fo_fo);

Gets the "font-stretch" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-stretch" property value.

fo_page_number_citation_set_font_stretch ()

void                fo_page_number_citation_set_font_stretch
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the "font-stretch" property of fo_fo to new_font_stretch.

fo_fo :

The FoFo object.

new_font_stretch :

The new "font-stretch" property value.

fo_page_number_citation_get_font_style ()

FoProperty*         fo_page_number_citation_get_font_style
                                                        (FoFo *fo_fo);

Gets the "font-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-style" property value.

fo_page_number_citation_set_font_style ()

void                fo_page_number_citation_set_font_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the "font-style" property of fo_fo to new_font_style.

fo_fo :

The FoFo object.

new_font_style :

The new "font-style" property value.

fo_page_number_citation_get_font_variant ()

FoProperty*         fo_page_number_citation_get_font_variant
                                                        (FoFo *fo_fo);

Gets the "font-variant" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-variant" property value.

fo_page_number_citation_set_font_variant ()

void                fo_page_number_citation_set_font_variant
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the "font-variant" property of fo_fo to new_font_variant.

fo_fo :

The FoFo object.

new_font_variant :

The new "font-variant" property value.

fo_page_number_citation_get_font_weight ()

FoProperty*         fo_page_number_citation_get_font_weight
                                                        (FoFo *fo_fo);

Gets the "font-weight" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "font-weight" property value.

fo_page_number_citation_set_font_weight ()

void                fo_page_number_citation_set_font_weight
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the "font-weight" property of fo_fo to new_font_weight.

fo_fo :

The FoFo object.

new_font_weight :

The new "font-weight" property value.

fo_page_number_citation_get_id ()

FoProperty*         fo_page_number_citation_get_id      (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_page_number_citation_set_id ()

void                fo_page_number_citation_set_id      (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id.

fo_fo :

The FoFo object.

new_id :

The new "id" property value.

fo_page_number_citation_get_keep_with_next ()

FoProperty*         fo_page_number_citation_get_keep_with_next
                                                        (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next" property value.

fo_page_number_citation_set_keep_with_next ()

void                fo_page_number_citation_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next.

fo_fo :

The FoFo object.

new_keep_with_next :

The new "keep-with-next" property value.

fo_page_number_citation_get_keep_with_next_within_column ()

FoProperty*         fo_page_number_citation_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-column" property value.

fo_page_number_citation_set_keep_with_next_within_column ()

void                fo_page_number_citation_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column.

fo_fo :

The FoFo object.

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value.

fo_page_number_citation_get_keep_with_next_within_line ()

FoProperty*         fo_page_number_citation_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-line" property value.

fo_page_number_citation_set_keep_with_next_within_line ()

void                fo_page_number_citation_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line.

fo_fo :

The FoFo object.

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value.

fo_page_number_citation_get_keep_with_next_within_page ()

FoProperty*         fo_page_number_citation_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-next-within-page" property value.

fo_page_number_citation_set_keep_with_next_within_page ()

void                fo_page_number_citation_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page.

fo_fo :

The FoFo object.

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value.

fo_page_number_citation_get_keep_with_previous ()

FoProperty*         fo_page_number_citation_get_keep_with_previous
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous" property value.

fo_page_number_citation_set_keep_with_previous ()

void                fo_page_number_citation_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous.

fo_fo :

The FoFo object.

new_keep_with_previous :

The new "keep-with-previous" property value.

fo_page_number_citation_get_keep_with_previous_within_column ()

FoProperty*         fo_page_number_citation_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-column" property value.

fo_page_number_citation_set_keep_with_previous_within_column ()

void                fo_page_number_citation_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column.

fo_fo :

The FoFo object.

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value.

fo_page_number_citation_get_keep_with_previous_within_line ()

FoProperty*         fo_page_number_citation_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-line" property value.

fo_page_number_citation_set_keep_with_previous_within_line ()

void                fo_page_number_citation_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line.

fo_fo :

The FoFo object.

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value.

fo_page_number_citation_get_keep_with_previous_within_page ()

FoProperty*         fo_page_number_citation_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "keep-with-previous-within-page" property value.

fo_page_number_citation_set_keep_with_previous_within_page ()

void                fo_page_number_citation_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page.

fo_fo :

The FoFo object.

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value.

fo_page_number_citation_get_line_height ()

FoProperty*         fo_page_number_citation_get_line_height
                                                        (FoFo *fo_fo);

Gets the "line-height" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "line-height" property value.

fo_page_number_citation_set_line_height ()

void                fo_page_number_citation_set_line_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height.

fo_fo :

The FoFo object.

new_line_height :

The new "line-height" property value.

fo_page_number_citation_get_padding_after ()

FoProperty*         fo_page_number_citation_get_padding_after
                                                        (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_page_number_citation_set_padding_after ()

void                fo_page_number_citation_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_page_number_citation_get_padding_before ()

FoProperty*         fo_page_number_citation_get_padding_before
                                                        (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_page_number_citation_set_padding_before ()

void                fo_page_number_citation_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_page_number_citation_get_padding_bottom ()

FoProperty*         fo_page_number_citation_get_padding_bottom
                                                        (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_page_number_citation_set_padding_bottom ()

void                fo_page_number_citation_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_page_number_citation_get_padding_end ()

FoProperty*         fo_page_number_citation_get_padding_end
                                                        (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_page_number_citation_set_padding_end ()

void                fo_page_number_citation_set_padding_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_page_number_citation_get_padding_left ()

FoProperty*         fo_page_number_citation_get_padding_left
                                                        (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_page_number_citation_set_padding_left ()

void                fo_page_number_citation_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_page_number_citation_get_padding_right ()

FoProperty*         fo_page_number_citation_get_padding_right
                                                        (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_page_number_citation_set_padding_right ()

void                fo_page_number_citation_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_page_number_citation_get_padding_start ()

FoProperty*         fo_page_number_citation_get_padding_start
                                                        (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_page_number_citation_set_padding_start ()

void                fo_page_number_citation_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_page_number_citation_get_padding_top ()

FoProperty*         fo_page_number_citation_get_padding_top
                                                        (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_page_number_citation_set_padding_top ()

void                fo_page_number_citation_set_padding_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_page_number_citation_get_ref_id ()

FoProperty*         fo_page_number_citation_get_ref_id  (FoFo *fo_fo);

Gets the "ref-id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "ref-id" property value.

fo_page_number_citation_set_ref_id ()

void                fo_page_number_citation_set_ref_id  (FoFo *fo_fo,
                                                         FoProperty *new_ref_id);

Sets the "ref-id" property of fo_fo to new_ref_id.

fo_fo :

The FoFo object.

new_ref_id :

The new "ref-id" property value.

fo_page_number_citation_get_role ()

FoProperty*         fo_page_number_citation_get_role    (FoFo *fo_fo);

Gets the "role" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "role" property value.

fo_page_number_citation_set_role ()

void                fo_page_number_citation_set_role    (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role.

fo_fo :

The FoFo object.

new_role :

The new "role" property value.

fo_page_number_citation_get_score_spaces ()

FoProperty*         fo_page_number_citation_get_score_spaces
                                                        (FoFo *fo_fo);

Gets the "score-spaces" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "score-spaces" property value.

fo_page_number_citation_set_score_spaces ()

void                fo_page_number_citation_set_score_spaces
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);

Sets the "score-spaces" property of fo_fo to new_score_spaces.

fo_fo :

The FoFo object.

new_score_spaces :

The new "score-spaces" property value.

fo_page_number_citation_get_source_document ()

FoProperty*         fo_page_number_citation_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "source-document" property value.

fo_page_number_citation_set_source_document ()

void                fo_page_number_citation_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document.

fo_fo :

The FoFo object.

new_source_document :

The new "source-document" property value.

fo_page_number_citation_get_space_end ()

FoProperty*         fo_page_number_citation_get_space_end
                                                        (FoFo *fo_fo);

Gets the "space-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-end" property value.

fo_page_number_citation_set_space_end ()

void                fo_page_number_citation_set_space_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end.

fo_fo :

The FoFo object.

new_space_end :

The new "space-end" property value.

fo_page_number_citation_get_space_start ()

FoProperty*         fo_page_number_citation_get_space_start
                                                        (FoFo *fo_fo);

Gets the "space-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-start" property value.

fo_page_number_citation_set_space_start ()

void                fo_page_number_citation_set_space_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start.

fo_fo :

The FoFo object.

new_space_start :

The new "space-start" property value.

fo_page_number_citation_get_wrap_option ()

FoProperty*         fo_page_number_citation_get_wrap_option
                                                        (FoFo *fo_fo);

Gets the "wrap-option" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "wrap-option" property value.

fo_page_number_citation_set_wrap_option ()

void                fo_page_number_citation_set_wrap_option
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_wrap_option);

Sets the "wrap-option" property of fo_fo to new_wrap_option.

fo_fo :

The FoFo object.

new_wrap_option :

The new "wrap-option" property value.

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "ref-id" property

  "ref-id"                   FoProperty*           : Read

Ref Id property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "score-spaces" property

  "score-spaces"             FoProperty*           : Read

Score Spaces property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.


The "wrap-option" property

  "wrap-option"              FoProperty*           : Read

Wrap Option property.

xmlroff-0.6.2/docs/html/xmlroff-page-number.html0000644000175000017500000063622411156164735016602 00000000000000 page-number

page-number

page-number

Synopsis

                    FoPageNumber;
                    FoPageNumberClass;
FoFo*               fo_page_number_new                  (void);

FoProperty*         fo_page_number_get_alignment_adjust (FoFo *fo_fo);
void                fo_page_number_set_alignment_adjust (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);
FoProperty*         fo_page_number_get_alignment_baseline
                                                        (FoFo *fo_fo);
void                fo_page_number_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);
FoProperty*         fo_page_number_get_background_color (FoFo *fo_fo);
void                fo_page_number_set_background_color (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_page_number_get_background_image (FoFo *fo_fo);
void                fo_page_number_set_background_image (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_page_number_get_baseline_shift   (FoFo *fo_fo);
void                fo_page_number_set_baseline_shift   (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);
FoProperty*         fo_page_number_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_page_number_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_page_number_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_page_number_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_page_number_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_page_number_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_page_number_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_page_number_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_page_number_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_page_number_get_border_end_color (FoFo *fo_fo);
void                fo_page_number_set_border_end_color (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_page_number_get_border_end_style (FoFo *fo_fo);
void                fo_page_number_set_border_end_style (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_page_number_get_border_end_width (FoFo *fo_fo);
void                fo_page_number_set_border_end_width (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_page_number_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_page_number_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_page_number_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_page_number_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_page_number_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_page_number_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_page_number_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_page_number_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_page_number_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_page_number_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_page_number_get_border_top_color (FoFo *fo_fo);
void                fo_page_number_set_border_top_color (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_page_number_get_border_top_style (FoFo *fo_fo);
void                fo_page_number_set_border_top_style (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_page_number_get_border_top_width (FoFo *fo_fo);
void                fo_page_number_set_border_top_width (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_page_number_get_dominant_baseline
                                                        (FoFo *fo_fo);
void                fo_page_number_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);
FoProperty*         fo_page_number_get_font_family      (FoFo *fo_fo);
void                fo_page_number_set_font_family      (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_page_number_get_font_size        (FoFo *fo_fo);
void                fo_page_number_set_font_size        (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_page_number_get_font_stretch     (FoFo *fo_fo);
void                fo_page_number_set_font_stretch     (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_page_number_get_font_style       (FoFo *fo_fo);
void                fo_page_number_set_font_style       (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_page_number_get_font_variant     (FoFo *fo_fo);
void                fo_page_number_set_font_variant     (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_page_number_get_font_weight      (FoFo *fo_fo);
void                fo_page_number_set_font_weight      (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_page_number_get_id               (FoFo *fo_fo);
void                fo_page_number_set_id               (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_page_number_get_keep_with_next   (FoFo *fo_fo);
void                fo_page_number_set_keep_with_next   (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_page_number_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_page_number_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_page_number_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_page_number_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_page_number_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_page_number_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_page_number_get_keep_with_previous
                                                        (FoFo *fo_fo);
void                fo_page_number_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_page_number_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_page_number_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_page_number_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_page_number_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_page_number_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_page_number_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_page_number_get_line_height      (FoFo *fo_fo);
void                fo_page_number_set_line_height      (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_page_number_get_padding_after    (FoFo *fo_fo);
void                fo_page_number_set_padding_after    (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_page_number_get_padding_before   (FoFo *fo_fo);
void                fo_page_number_set_padding_before   (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_page_number_get_padding_bottom   (FoFo *fo_fo);
void                fo_page_number_set_padding_bottom   (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_page_number_get_padding_end      (FoFo *fo_fo);
void                fo_page_number_set_padding_end      (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_page_number_get_padding_left     (FoFo *fo_fo);
void                fo_page_number_set_padding_left     (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_page_number_get_padding_right    (FoFo *fo_fo);
void                fo_page_number_set_padding_right    (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_page_number_get_padding_start    (FoFo *fo_fo);
void                fo_page_number_set_padding_start    (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_page_number_get_padding_top      (FoFo *fo_fo);
void                fo_page_number_set_padding_top      (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_page_number_get_role             (FoFo *fo_fo);
void                fo_page_number_set_role             (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_page_number_get_score_spaces     (FoFo *fo_fo);
void                fo_page_number_set_score_spaces     (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);
FoProperty*         fo_page_number_get_source_document  (FoFo *fo_fo);
void                fo_page_number_set_source_document  (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_page_number_get_space_end        (FoFo *fo_fo);
void                fo_page_number_set_space_end        (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_page_number_get_space_start      (FoFo *fo_fo);
void                fo_page_number_set_space_start      (FoFo *fo_fo,
                                                         FoProperty *new_space_start);
FoProperty*         fo_page_number_get_wrap_option      (FoFo *fo_fo);
void                fo_page_number_set_wrap_option      (FoFo *fo_fo,
                                                         FoProperty *new_wrap_option);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoPageNumber

Implemented Interfaces

FoPageNumber implements FoInlineFoIface.

Properties

  "alignment-adjust"         FoProperty*           : Read
  "alignment-baseline"       FoProperty*           : Read
  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "baseline-shift"           FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "dominant-baseline"        FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "score-spaces"             FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read
  "wrap-option"              FoProperty*           : Read

Description

Details

FoPageNumber

typedef struct _FoPageNumber FoPageNumber;


FoPageNumberClass

typedef struct _FoPageNumberClass FoPageNumberClass;


fo_page_number_new ()

FoFo*               fo_page_number_new                  (void);

Creates a new FoPageNumber initialized to default value.

Returns :

the new FoPageNumber.

fo_page_number_get_alignment_adjust ()

FoProperty*         fo_page_number_get_alignment_adjust (FoFo *fo_fo);

Gets the "alignment-adjust" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-adjust" property value

fo_page_number_set_alignment_adjust ()

void                fo_page_number_set_alignment_adjust (FoFo *fo_fo,
                                                         FoProperty *new_alignment_adjust);

Sets the "alignment-adjust" property of fo_fo to new_alignment_adjust

fo_fo :

The FoFo object

new_alignment_adjust :

The new "alignment-adjust" property value

fo_page_number_get_alignment_baseline ()

FoProperty*         fo_page_number_get_alignment_baseline
                                                        (FoFo *fo_fo);

Gets the "alignment-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "alignment-baseline" property value

fo_page_number_set_alignment_baseline ()

void                fo_page_number_set_alignment_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_alignment_baseline);

Sets the "alignment-baseline" property of fo_fo to new_alignment_baseline

fo_fo :

The FoFo object

new_alignment_baseline :

The new "alignment-baseline" property value

fo_page_number_get_background_color ()

FoProperty*         fo_page_number_get_background_color (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_page_number_set_background_color ()

void                fo_page_number_set_background_color (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_page_number_get_background_image ()

FoProperty*         fo_page_number_get_background_image (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_page_number_set_background_image ()

void                fo_page_number_set_background_image (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_page_number_get_baseline_shift ()

FoProperty*         fo_page_number_get_baseline_shift   (FoFo *fo_fo);

Gets the "baseline-shift" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "baseline-shift" property value

fo_page_number_set_baseline_shift ()

void                fo_page_number_set_baseline_shift   (FoFo *fo_fo,
                                                         FoProperty *new_baseline_shift);

Sets the "baseline-shift" property of fo_fo to new_baseline_shift

fo_fo :

The FoFo object

new_baseline_shift :

The new "baseline-shift" property value

fo_page_number_get_border_after_color ()

FoProperty*         fo_page_number_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_page_number_set_border_after_color ()

void                fo_page_number_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_page_number_get_border_after_style ()

FoProperty*         fo_page_number_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_page_number_set_border_after_style ()

void                fo_page_number_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_page_number_get_border_after_width ()

FoProperty*         fo_page_number_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_page_number_set_border_after_width ()

void                fo_page_number_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_page_number_get_border_before_color ()

FoProperty*         fo_page_number_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_page_number_set_border_before_color ()

void                fo_page_number_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_page_number_get_border_before_style ()

FoProperty*         fo_page_number_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_page_number_set_border_before_style ()

void                fo_page_number_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_page_number_get_border_before_width ()

FoProperty*         fo_page_number_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_page_number_set_border_before_width ()

void                fo_page_number_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_page_number_get_border_bottom_color ()

FoProperty*         fo_page_number_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_page_number_set_border_bottom_color ()

void                fo_page_number_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_page_number_get_border_bottom_style ()

FoProperty*         fo_page_number_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_page_number_set_border_bottom_style ()

void                fo_page_number_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_page_number_get_border_bottom_width ()

FoProperty*         fo_page_number_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_page_number_set_border_bottom_width ()

void                fo_page_number_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_page_number_get_border_end_color ()

FoProperty*         fo_page_number_get_border_end_color (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_page_number_set_border_end_color ()

void                fo_page_number_set_border_end_color (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_page_number_get_border_end_style ()

FoProperty*         fo_page_number_get_border_end_style (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_page_number_set_border_end_style ()

void                fo_page_number_set_border_end_style (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_page_number_get_border_end_width ()

FoProperty*         fo_page_number_get_border_end_width (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_page_number_set_border_end_width ()

void                fo_page_number_set_border_end_width (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_page_number_get_border_left_color ()

FoProperty*         fo_page_number_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_page_number_set_border_left_color ()

void                fo_page_number_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_page_number_get_border_left_style ()

FoProperty*         fo_page_number_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_page_number_set_border_left_style ()

void                fo_page_number_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_page_number_get_border_left_width ()

FoProperty*         fo_page_number_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_page_number_set_border_left_width ()

void                fo_page_number_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_page_number_get_border_right_color ()

FoProperty*         fo_page_number_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_page_number_set_border_right_color ()

void                fo_page_number_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_page_number_get_border_right_style ()

FoProperty*         fo_page_number_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_page_number_set_border_right_style ()

void                fo_page_number_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_page_number_get_border_right_width ()

FoProperty*         fo_page_number_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_page_number_set_border_right_width ()

void                fo_page_number_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_page_number_get_border_start_color ()

FoProperty*         fo_page_number_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_page_number_set_border_start_color ()

void                fo_page_number_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_page_number_get_border_start_style ()

FoProperty*         fo_page_number_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_page_number_set_border_start_style ()

void                fo_page_number_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_page_number_get_border_start_width ()

FoProperty*         fo_page_number_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_page_number_set_border_start_width ()

void                fo_page_number_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_page_number_get_border_top_color ()

FoProperty*         fo_page_number_get_border_top_color (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_page_number_set_border_top_color ()

void                fo_page_number_set_border_top_color (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_page_number_get_border_top_style ()

FoProperty*         fo_page_number_get_border_top_style (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_page_number_set_border_top_style ()

void                fo_page_number_set_border_top_style (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_page_number_get_border_top_width ()

FoProperty*         fo_page_number_get_border_top_width (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_page_number_set_border_top_width ()

void                fo_page_number_set_border_top_width (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_page_number_get_dominant_baseline ()

FoProperty*         fo_page_number_get_dominant_baseline
                                                        (FoFo *fo_fo);

Gets the "dominant-baseline" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "dominant-baseline" property value

fo_page_number_set_dominant_baseline ()

void                fo_page_number_set_dominant_baseline
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_dominant_baseline);

Sets the "dominant-baseline" property of fo_fo to new_dominant_baseline

fo_fo :

The FoFo object

new_dominant_baseline :

The new "dominant-baseline" property value

fo_page_number_get_font_family ()

FoProperty*         fo_page_number_get_font_family      (FoFo *fo_fo);

Gets the "font-family" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-family" property value

fo_page_number_set_font_family ()

void                fo_page_number_set_font_family      (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the "font-family" property of fo_fo to new_font_family

fo_fo :

The FoFo object

new_font_family :

The new "font-family" property value

fo_page_number_get_font_size ()

FoProperty*         fo_page_number_get_font_size        (FoFo *fo_fo);

Gets the "font-size" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-size" property value

fo_page_number_set_font_size ()

void                fo_page_number_set_font_size        (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the "font-size" property of fo_fo to new_font_size

fo_fo :

The FoFo object

new_font_size :

The new "font-size" property value

fo_page_number_get_font_stretch ()

FoProperty*         fo_page_number_get_font_stretch     (FoFo *fo_fo);

Gets the "font-stretch" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-stretch" property value

fo_page_number_set_font_stretch ()

void                fo_page_number_set_font_stretch     (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the "font-stretch" property of fo_fo to new_font_stretch

fo_fo :

The FoFo object

new_font_stretch :

The new "font-stretch" property value

fo_page_number_get_font_style ()

FoProperty*         fo_page_number_get_font_style       (FoFo *fo_fo);

Gets the "font-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-style" property value

fo_page_number_set_font_style ()

void                fo_page_number_set_font_style       (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the "font-style" property of fo_fo to new_font_style

fo_fo :

The FoFo object

new_font_style :

The new "font-style" property value

fo_page_number_get_font_variant ()

FoProperty*         fo_page_number_get_font_variant     (FoFo *fo_fo);

Gets the "font-variant" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-variant" property value

fo_page_number_set_font_variant ()

void                fo_page_number_set_font_variant     (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the "font-variant" property of fo_fo to new_font_variant

fo_fo :

The FoFo object

new_font_variant :

The new "font-variant" property value

fo_page_number_get_font_weight ()

FoProperty*         fo_page_number_get_font_weight      (FoFo *fo_fo);

Gets the "font-weight" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-weight" property value

fo_page_number_set_font_weight ()

void                fo_page_number_set_font_weight      (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the "font-weight" property of fo_fo to new_font_weight

fo_fo :

The FoFo object

new_font_weight :

The new "font-weight" property value

fo_page_number_get_id ()

FoProperty*         fo_page_number_get_id               (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_page_number_set_id ()

void                fo_page_number_set_id               (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_page_number_get_keep_with_next ()

FoProperty*         fo_page_number_get_keep_with_next   (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_page_number_set_keep_with_next ()

void                fo_page_number_set_keep_with_next   (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_page_number_get_keep_with_next_within_column ()

FoProperty*         fo_page_number_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_page_number_set_keep_with_next_within_column ()

void                fo_page_number_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_page_number_get_keep_with_next_within_line ()

FoProperty*         fo_page_number_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_page_number_set_keep_with_next_within_line ()

void                fo_page_number_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_page_number_get_keep_with_next_within_page ()

FoProperty*         fo_page_number_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_page_number_set_keep_with_next_within_page ()

void                fo_page_number_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_page_number_get_keep_with_previous ()

FoProperty*         fo_page_number_get_keep_with_previous
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_page_number_set_keep_with_previous ()

void                fo_page_number_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_page_number_get_keep_with_previous_within_column ()

FoProperty*         fo_page_number_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_page_number_set_keep_with_previous_within_column ()

void                fo_page_number_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_page_number_get_keep_with_previous_within_line ()

FoProperty*         fo_page_number_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_page_number_set_keep_with_previous_within_line ()

void                fo_page_number_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_page_number_get_keep_with_previous_within_page ()

FoProperty*         fo_page_number_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_page_number_set_keep_with_previous_within_page ()

void                fo_page_number_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_page_number_get_line_height ()

FoProperty*         fo_page_number_get_line_height      (FoFo *fo_fo);

Gets the "line-height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "line-height" property value

fo_page_number_set_line_height ()

void                fo_page_number_set_line_height      (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height

fo_fo :

The FoFo object

new_line_height :

The new "line-height" property value

fo_page_number_get_padding_after ()

FoProperty*         fo_page_number_get_padding_after    (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_page_number_set_padding_after ()

void                fo_page_number_set_padding_after    (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_page_number_get_padding_before ()

FoProperty*         fo_page_number_get_padding_before   (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_page_number_set_padding_before ()

void                fo_page_number_set_padding_before   (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_page_number_get_padding_bottom ()

FoProperty*         fo_page_number_get_padding_bottom   (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_page_number_set_padding_bottom ()

void                fo_page_number_set_padding_bottom   (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_page_number_get_padding_end ()

FoProperty*         fo_page_number_get_padding_end      (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_page_number_set_padding_end ()

void                fo_page_number_set_padding_end      (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_page_number_get_padding_left ()

FoProperty*         fo_page_number_get_padding_left     (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_page_number_set_padding_left ()

void                fo_page_number_set_padding_left     (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_page_number_get_padding_right ()

FoProperty*         fo_page_number_get_padding_right    (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_page_number_set_padding_right ()

void                fo_page_number_set_padding_right    (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_page_number_get_padding_start ()

FoProperty*         fo_page_number_get_padding_start    (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_page_number_set_padding_start ()

void                fo_page_number_set_padding_start    (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_page_number_get_padding_top ()

FoProperty*         fo_page_number_get_padding_top      (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_page_number_set_padding_top ()

void                fo_page_number_set_padding_top      (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_page_number_get_role ()

FoProperty*         fo_page_number_get_role             (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_page_number_set_role ()

void                fo_page_number_set_role             (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_page_number_get_score_spaces ()

FoProperty*         fo_page_number_get_score_spaces     (FoFo *fo_fo);

Gets the "score-spaces" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "score-spaces" property value

fo_page_number_set_score_spaces ()

void                fo_page_number_set_score_spaces     (FoFo *fo_fo,
                                                         FoProperty *new_score_spaces);

Sets the "score-spaces" property of fo_fo to new_score_spaces

fo_fo :

The FoFo object

new_score_spaces :

The new "score-spaces" property value

fo_page_number_get_source_document ()

FoProperty*         fo_page_number_get_source_document  (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_page_number_set_source_document ()

void                fo_page_number_set_source_document  (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_page_number_get_space_end ()

FoProperty*         fo_page_number_get_space_end        (FoFo *fo_fo);

Gets the "space-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-end" property value

fo_page_number_set_space_end ()

void                fo_page_number_set_space_end        (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end

fo_fo :

The FoFo object

new_space_end :

The new "space-end" property value

fo_page_number_get_space_start ()

FoProperty*         fo_page_number_get_space_start      (FoFo *fo_fo);

Gets the "space-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-start" property value

fo_page_number_set_space_start ()

void                fo_page_number_set_space_start      (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start

fo_fo :

The FoFo object

new_space_start :

The new "space-start" property value

fo_page_number_get_wrap_option ()

FoProperty*         fo_page_number_get_wrap_option      (FoFo *fo_fo);

Gets the "wrap-option" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "wrap-option" property value

fo_page_number_set_wrap_option ()

void                fo_page_number_set_wrap_option      (FoFo *fo_fo,
                                                         FoProperty *new_wrap_option);

Sets the "wrap-option" property of fo_fo to new_wrap_option

fo_fo :

The FoFo object

new_wrap_option :

The new "wrap-option" property value

Property Details

The "alignment-adjust" property

  "alignment-adjust"         FoProperty*           : Read

Alignment Adjust property.


The "alignment-baseline" property

  "alignment-baseline"       FoProperty*           : Read

Alignment Baseline property.


The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "baseline-shift" property

  "baseline-shift"           FoProperty*           : Read

Baseline Shift property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "dominant-baseline" property

  "dominant-baseline"        FoProperty*           : Read

Dominant Baseline property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "score-spaces" property

  "score-spaces"             FoProperty*           : Read

Score Spaces property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.


The "wrap-option" property

  "wrap-option"              FoProperty*           : Read

Wrap Option property.

xmlroff-0.6.2/docs/html/xmlroff-page-sequence.html0000644000175000017500000006331711156164735017117 00000000000000 page-sequence

page-sequence

page-sequence

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoPageSequence

Description

Details

FoPageSequence

typedef struct _FoPageSequence FoPageSequence;

Instance of the 'page-sequence' formatting object.


FoPageSequenceClass

typedef struct _FoPageSequenceClass FoPageSequenceClass;

Class structure for the 'page-sequence' formatting object.


fo_page_sequence_new ()

FoFo*               fo_page_sequence_new                (void);

Creates a new FoPageSequence initialized to default value.

Returns :

the new FoPageSequence.

fo_page_sequence_get_format ()

FoProperty*         fo_page_sequence_get_format         (FoFo *fo_fo);

Gets the "format" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "format" property value.

fo_page_sequence_set_format ()

void                fo_page_sequence_set_format         (FoFo *fo_fo,
                                                         FoProperty *new_format);

Sets the "format" property of fo_fo to new_format.

fo_fo :

The FoFo object.

new_format :

The new "format" property value.

fo_page_sequence_get_grouping_separator ()

FoProperty*         fo_page_sequence_get_grouping_separator
                                                        (FoFo *fo_fo);

Gets the "grouping-separator" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "grouping-separator" property value.

fo_page_sequence_set_grouping_separator ()

void                fo_page_sequence_set_grouping_separator
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_grouping_separator);

Sets the "grouping-separator" property of fo_fo to new_grouping_separator.

fo_fo :

The FoFo object.

new_grouping_separator :

The new "grouping-separator" property value.

fo_page_sequence_get_grouping_size ()

FoProperty*         fo_page_sequence_get_grouping_size  (FoFo *fo_fo);

Gets the "grouping-size" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "grouping-size" property value.

fo_page_sequence_set_grouping_size ()

void                fo_page_sequence_set_grouping_size  (FoFo *fo_fo,
                                                         FoProperty *new_grouping_size);

Sets the "grouping-size" property of fo_fo to new_grouping_size.

fo_fo :

The FoFo object.

new_grouping_size :

The new "grouping-size" property value.

fo_page_sequence_get_id ()

FoProperty*         fo_page_sequence_get_id             (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_page_sequence_set_id ()

void                fo_page_sequence_set_id             (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id.

fo_fo :

The FoFo object.

new_id :

The new "id" property value.

fo_page_sequence_get_letter_value ()

FoProperty*         fo_page_sequence_get_letter_value   (FoFo *fo_fo);

Gets the "letter-value" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "letter-value" property value.

fo_page_sequence_set_letter_value ()

void                fo_page_sequence_set_letter_value   (FoFo *fo_fo,
                                                         FoProperty *new_letter_value);

Sets the "letter-value" property of fo_fo to new_letter_value.

fo_fo :

The FoFo object.

new_letter_value :

The new "letter-value" property value.

fo_page_sequence_get_master_reference ()

FoProperty*         fo_page_sequence_get_master_reference
                                                        (FoFo *fo_fo);

Gets the "master-reference" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "master-reference" property value.

fo_page_sequence_set_master_reference ()

void                fo_page_sequence_set_master_reference
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_master_reference);

Sets the "master-reference" property of fo_fo to new_master_reference.

fo_fo :

The FoFo object.

new_master_reference :

The new "master-reference" property value.

Property Details

The "format" property

  "format"                   FoProperty*           : Read

Format property.


The "grouping-separator" property

  "grouping-separator"       FoProperty*           : Read

Grouping Separator property.


The "grouping-size" property

  "grouping-size"            FoProperty*           : Read

Grouping Size property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "letter-value" property

  "letter-value"             FoProperty*           : Read

Letter Value property.


The "master-reference" property

  "master-reference"         FoProperty*           : Read

Master Reference property.

xmlroff-0.6.2/docs/html/xmlroff-page-sequence-master.html0000644000175000017500000002356111156164735020405 00000000000000 page-sequence-master

page-sequence-master

page-sequence-master

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoPageSequenceMaster

Properties

  "master-name"              FoProperty*           : Read

Description

Details

FoPageSequenceMaster

typedef struct _FoPageSequenceMaster FoPageSequenceMaster;


FoPageSequenceMasterClass

typedef struct _FoPageSequenceMasterClass FoPageSequenceMasterClass;


fo_page_sequence_master_new ()

FoFo*               fo_page_sequence_master_new         (void);

Creates a new FoPageSequenceMaster initialized to default value.

Returns :

the new FoPageSequenceMaster

fo_page_sequence_master_set_master_name ()

void                fo_page_sequence_master_set_master_name
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_master_name);

Sets the master-name property of page_sequence_master to new_master_name

fo_fo :

The FoFo object

new_master_name :

The new "master-name" property value

fo_page_sequence_master_get_master_name ()

FoProperty*         fo_page_sequence_master_get_master_name
                                                        (FoFo *fo_fo);

Gets the master-name property of page_sequence_master

fo_fo :

The FoFo object

Returns :

The "master-name" property value

Property Details

The "master-name" property

  "master-name"              FoProperty*           : Read

Master Name property.

xmlroff-0.6.2/docs/html/xmlroff-page-width.html0000644000175000017500000001412211156164735016414 00000000000000 page-width

page-width

page-width

Description

Details

FoPropertyPageWidth

typedef struct _FoPropertyPageWidth FoPropertyPageWidth;


FoPropertyPageWidthClass

typedef struct _FoPropertyPageWidthClass FoPropertyPageWidthClass;


fo_property_page_width_new ()

FoProperty*         fo_property_page_width_new          (void);

Creates a new FoPropertyPageWidth initialized to default value.

Returns :

the new FoPropertyPageWidth.

fo_property_page_width_get_initial ()

FoProperty*         fo_property_page_width_get_initial  (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-provisional-distance-between-starts.html0000644000175000017500000001661611156164735023477 00000000000000 provisional-distance-between-starts

provisional-distance-between-starts

provisional-distance-between-starts

Description

Details

FoPropertyProvisionalDistanceBetweenStarts

typedef struct _FoPropertyProvisionalDistanceBetweenStarts FoPropertyProvisionalDistanceBetweenStarts;


FoPropertyProvisionalDistanceBetweenStartsClass

typedef struct _FoPropertyProvisionalDistanceBetweenStartsClass FoPropertyProvisionalDistanceBetweenStartsClass;


fo_property_provisional_distance_between_starts_new ()

FoProperty*         fo_property_provisional_distance_between_starts_new
                                                        (void);

Creates a new FoPropertyProvisionalDistanceBetweenStarts initialized to default value.


fo_property_provisional_distance_between_starts_get_initial ()

FoProperty*         fo_property_provisional_distance_between_starts_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-provisional-label-separation.html0000644000175000017500000001613311156164735022154 00000000000000 provisional-label-separation

provisional-label-separation

provisional-label-separation

Description

Details

FoPropertyProvisionalLabelSeparation

typedef struct _FoPropertyProvisionalLabelSeparation FoPropertyProvisionalLabelSeparation;


FoPropertyProvisionalLabelSeparationClass

typedef struct _FoPropertyProvisionalLabelSeparationClass FoPropertyProvisionalLabelSeparationClass;


fo_property_provisional_label_separation_new ()

FoProperty*         fo_property_provisional_label_separation_new
                                                        (void);

Creates a new FoPropertyProvisionalLabelSeparation initialized to default value.

Returns :

the new FoPropertyProvisionalLabelSeparation.

fo_property_provisional_label_separation_get_initial ()

FoProperty*         fo_property_provisional_label_separation_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-ref-id.html0000644000175000017500000001375311156164735015542 00000000000000 ref-id

ref-id

ref-id

Description

Details

FoPropertyRefId

typedef struct _FoPropertyRefId FoPropertyRefId;

Instance of the 'ref-id' property.


FoPropertyRefIdClass

typedef struct _FoPropertyRefIdClass FoPropertyRefIdClass;

Class structure for the 'ref-id' property.


fo_property_ref_id_new ()

FoProperty*         fo_property_ref_id_new              (void);

Creates a new FoPropertyRefId initialized to default value.

Returns :

the new FoPropertyRefId.

fo_property_ref_id_get_initial ()

FoProperty*         fo_property_ref_id_get_initial      (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-region-after.html0000644000175000017500000043334111156164735016755 00000000000000 region-after

region-after

region-after

Synopsis

                    FoRegionAfter;
                    FoRegionAfterClass;
FoFo*               fo_region_after_new                 (void);

FoProperty*         fo_region_after_get_background_color
                                                        (FoFo *fo_fo);
void                fo_region_after_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_region_after_get_background_image
                                                        (FoFo *fo_fo);
void                fo_region_after_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_region_after_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_region_after_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_region_after_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_region_after_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_region_after_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_region_after_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_region_after_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_region_after_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_region_after_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_region_after_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_region_after_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_region_after_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_region_after_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_region_after_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_region_after_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_region_after_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_region_after_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_region_after_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_region_after_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_region_after_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_region_after_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_region_after_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_region_after_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_region_after_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_region_after_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_region_after_get_clip            (FoFo *fo_fo);
void                fo_region_after_set_clip            (FoFo *fo_fo,
                                                         FoProperty *new_clip);
FoProperty*         fo_region_after_get_display_align   (FoFo *fo_fo);
void                fo_region_after_set_display_align   (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_region_after_get_extent          (FoFo *fo_fo);
void                fo_region_after_set_extent          (FoFo *fo_fo,
                                                         FoProperty *new_extent);
FoProperty*         fo_region_after_get_overflow        (FoFo *fo_fo);
void                fo_region_after_set_overflow        (FoFo *fo_fo,
                                                         FoProperty *new_overflow);
FoProperty*         fo_region_after_get_padding_after   (FoFo *fo_fo);
void                fo_region_after_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_region_after_get_padding_before  (FoFo *fo_fo);
void                fo_region_after_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_region_after_get_padding_bottom  (FoFo *fo_fo);
void                fo_region_after_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_region_after_get_padding_end     (FoFo *fo_fo);
void                fo_region_after_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_region_after_get_padding_left    (FoFo *fo_fo);
void                fo_region_after_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_region_after_get_padding_right   (FoFo *fo_fo);
void                fo_region_after_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_region_after_get_padding_start   (FoFo *fo_fo);
void                fo_region_after_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_region_after_get_padding_top     (FoFo *fo_fo);
void                fo_region_after_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_region_after_get_region_name     (FoFo *fo_fo);
void                fo_region_after_set_region_name     (FoFo *fo_fo,
                                                         FoProperty *new_region_name);
FoProperty*         fo_region_after_get_writing_mode    (FoFo *fo_fo);
void                fo_region_after_set_writing_mode    (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoRegionAfter

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "extent"                   FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "region-name"              FoProperty*           : Read
  "writing-mode"             FoProperty*           : Read

Description

Details

FoRegionAfter

typedef struct _FoRegionAfter FoRegionAfter;

Instance of the 'region-after' formatting object.


FoRegionAfterClass

typedef struct _FoRegionAfterClass FoRegionAfterClass;

Class structure for the 'region-after' formatting object.


fo_region_after_new ()

FoFo*               fo_region_after_new                 (void);

Creates a new FoRegionAfter initialized to default value.

Returns :

the new FoRegionAfter.

fo_region_after_get_background_color ()

FoProperty*         fo_region_after_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_region_after_set_background_color ()

void                fo_region_after_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_region_after_get_background_image ()

FoProperty*         fo_region_after_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_region_after_set_background_image ()

void                fo_region_after_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_region_after_get_border_after_color ()

FoProperty*         fo_region_after_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_region_after_set_border_after_color ()

void                fo_region_after_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_region_after_get_border_after_style ()

FoProperty*         fo_region_after_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_region_after_set_border_after_style ()

void                fo_region_after_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_region_after_get_border_after_width ()

FoProperty*         fo_region_after_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_region_after_set_border_after_width ()

void                fo_region_after_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_region_after_get_border_before_color ()

FoProperty*         fo_region_after_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_region_after_set_border_before_color ()

void                fo_region_after_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_region_after_get_border_before_style ()

FoProperty*         fo_region_after_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_region_after_set_border_before_style ()

void                fo_region_after_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_region_after_get_border_before_width ()

FoProperty*         fo_region_after_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_region_after_set_border_before_width ()

void                fo_region_after_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_region_after_get_border_bottom_color ()

FoProperty*         fo_region_after_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_region_after_set_border_bottom_color ()

void                fo_region_after_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_region_after_get_border_bottom_style ()

FoProperty*         fo_region_after_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_region_after_set_border_bottom_style ()

void                fo_region_after_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_region_after_get_border_bottom_width ()

FoProperty*         fo_region_after_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_region_after_set_border_bottom_width ()

void                fo_region_after_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_region_after_get_border_end_color ()

FoProperty*         fo_region_after_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_region_after_set_border_end_color ()

void                fo_region_after_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_region_after_get_border_end_style ()

FoProperty*         fo_region_after_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_region_after_set_border_end_style ()

void                fo_region_after_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_region_after_get_border_end_width ()

FoProperty*         fo_region_after_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_region_after_set_border_end_width ()

void                fo_region_after_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_region_after_get_border_left_color ()

FoProperty*         fo_region_after_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_region_after_set_border_left_color ()

void                fo_region_after_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_region_after_get_border_left_style ()

FoProperty*         fo_region_after_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_region_after_set_border_left_style ()

void                fo_region_after_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_region_after_get_border_left_width ()

FoProperty*         fo_region_after_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_region_after_set_border_left_width ()

void                fo_region_after_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_region_after_get_border_right_color ()

FoProperty*         fo_region_after_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_region_after_set_border_right_color ()

void                fo_region_after_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_region_after_get_border_right_style ()

FoProperty*         fo_region_after_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_region_after_set_border_right_style ()

void                fo_region_after_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_region_after_get_border_right_width ()

FoProperty*         fo_region_after_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_region_after_set_border_right_width ()

void                fo_region_after_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_region_after_get_border_start_color ()

FoProperty*         fo_region_after_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_region_after_set_border_start_color ()

void                fo_region_after_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_region_after_get_border_start_style ()

FoProperty*         fo_region_after_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_region_after_set_border_start_style ()

void                fo_region_after_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_region_after_get_border_start_width ()

FoProperty*         fo_region_after_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_region_after_set_border_start_width ()

void                fo_region_after_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_region_after_get_border_top_color ()

FoProperty*         fo_region_after_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_region_after_set_border_top_color ()

void                fo_region_after_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_region_after_get_border_top_style ()

FoProperty*         fo_region_after_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_region_after_set_border_top_style ()

void                fo_region_after_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_region_after_get_border_top_width ()

FoProperty*         fo_region_after_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_region_after_set_border_top_width ()

void                fo_region_after_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_region_after_get_clip ()

FoProperty*         fo_region_after_get_clip            (FoFo *fo_fo);

Gets the "clip" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "clip" property value.

fo_region_after_set_clip ()

void                fo_region_after_set_clip            (FoFo *fo_fo,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_fo to new_clip.

fo_fo :

The FoFo object.

new_clip :

The new "clip" property value.

fo_region_after_get_display_align ()

FoProperty*         fo_region_after_get_display_align   (FoFo *fo_fo);

Gets the "display-align" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "display-align" property value.

fo_region_after_set_display_align ()

void                fo_region_after_set_display_align   (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align.

fo_fo :

The FoFo object.

new_display_align :

The new "display-align" property value.

fo_region_after_get_extent ()

FoProperty*         fo_region_after_get_extent          (FoFo *fo_fo);

Gets the "extent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "extent" property value.

fo_region_after_set_extent ()

void                fo_region_after_set_extent          (FoFo *fo_fo,
                                                         FoProperty *new_extent);

Sets the "extent" property of fo_fo to new_extent.

fo_fo :

The FoFo object.

new_extent :

The new "extent" property value.

fo_region_after_get_overflow ()

FoProperty*         fo_region_after_get_overflow        (FoFo *fo_fo);

Gets the "overflow" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "overflow" property value.

fo_region_after_set_overflow ()

void                fo_region_after_set_overflow        (FoFo *fo_fo,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_fo to new_overflow.

fo_fo :

The FoFo object.

new_overflow :

The new "overflow" property value.

fo_region_after_get_padding_after ()

FoProperty*         fo_region_after_get_padding_after   (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_region_after_set_padding_after ()

void                fo_region_after_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_region_after_get_padding_before ()

FoProperty*         fo_region_after_get_padding_before  (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_region_after_set_padding_before ()

void                fo_region_after_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_region_after_get_padding_bottom ()

FoProperty*         fo_region_after_get_padding_bottom  (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_region_after_set_padding_bottom ()

void                fo_region_after_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_region_after_get_padding_end ()

FoProperty*         fo_region_after_get_padding_end     (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_region_after_set_padding_end ()

void                fo_region_after_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_region_after_get_padding_left ()

FoProperty*         fo_region_after_get_padding_left    (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_region_after_set_padding_left ()

void                fo_region_after_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_region_after_get_padding_right ()

FoProperty*         fo_region_after_get_padding_right   (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_region_after_set_padding_right ()

void                fo_region_after_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_region_after_get_padding_start ()

FoProperty*         fo_region_after_get_padding_start   (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_region_after_set_padding_start ()

void                fo_region_after_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_region_after_get_padding_top ()

FoProperty*         fo_region_after_get_padding_top     (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_region_after_set_padding_top ()

void                fo_region_after_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_region_after_get_region_name ()

FoProperty*         fo_region_after_get_region_name     (FoFo *fo_fo);

Gets the "region-name" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "region-name" property value.

fo_region_after_set_region_name ()

void                fo_region_after_set_region_name     (FoFo *fo_fo,
                                                         FoProperty *new_region_name);

Sets the "region-name" property of fo_fo to new_region_name.

fo_fo :

The FoFo object.

new_region_name :

The new "region-name" property value.

fo_region_after_get_writing_mode ()

FoProperty*         fo_region_after_get_writing_mode    (FoFo *fo_fo);

Gets the "writing-mode" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "writing-mode" property value.

fo_region_after_set_writing_mode ()

void                fo_region_after_set_writing_mode    (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_fo to new_writing_mode.

fo_fo :

The FoFo object.

new_writing_mode :

The new "writing-mode" property value.

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "extent" property

  "extent"                   FoProperty*           : Read

Extent property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "region-name" property

  "region-name"              FoProperty*           : Read

Region Name property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/xmlroff-region-before.html0000644000175000017500000043454111156164735017121 00000000000000 region-before

region-before

region-before

Synopsis

                    FoRegionBefore;
                    FoRegionBeforeClass;
FoFo*               fo_region_before_new                (void);

FoProperty*         fo_region_before_get_background_color
                                                        (FoFo *fo_fo);
void                fo_region_before_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_region_before_get_background_image
                                                        (FoFo *fo_fo);
void                fo_region_before_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_region_before_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_region_before_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_region_before_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_region_before_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_region_before_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_region_before_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_region_before_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_region_before_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_region_before_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_region_before_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_region_before_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_region_before_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_region_before_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_region_before_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_region_before_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_region_before_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_region_before_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_region_before_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_region_before_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_region_before_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_region_before_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_region_before_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_region_before_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_region_before_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_region_before_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_region_before_get_clip           (FoFo *fo_fo);
void                fo_region_before_set_clip           (FoFo *fo_fo,
                                                         FoProperty *new_clip);
FoProperty*         fo_region_before_get_display_align  (FoFo *fo_fo);
void                fo_region_before_set_display_align  (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_region_before_get_extent         (FoFo *fo_fo);
void                fo_region_before_set_extent         (FoFo *fo_fo,
                                                         FoProperty *new_extent);
FoProperty*         fo_region_before_get_overflow       (FoFo *fo_fo);
void                fo_region_before_set_overflow       (FoFo *fo_fo,
                                                         FoProperty *new_overflow);
FoProperty*         fo_region_before_get_padding_after  (FoFo *fo_fo);
void                fo_region_before_set_padding_after  (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_region_before_get_padding_before (FoFo *fo_fo);
void                fo_region_before_set_padding_before (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_region_before_get_padding_bottom (FoFo *fo_fo);
void                fo_region_before_set_padding_bottom (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_region_before_get_padding_end    (FoFo *fo_fo);
void                fo_region_before_set_padding_end    (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_region_before_get_padding_left   (FoFo *fo_fo);
void                fo_region_before_set_padding_left   (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_region_before_get_padding_right  (FoFo *fo_fo);
void                fo_region_before_set_padding_right  (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_region_before_get_padding_start  (FoFo *fo_fo);
void                fo_region_before_set_padding_start  (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_region_before_get_padding_top    (FoFo *fo_fo);
void                fo_region_before_set_padding_top    (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_region_before_get_region_name    (FoFo *fo_fo);
void                fo_region_before_set_region_name    (FoFo *fo_fo,
                                                         FoProperty *new_region_name);
FoProperty*         fo_region_before_get_writing_mode   (FoFo *fo_fo);
void                fo_region_before_set_writing_mode   (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoRegionBefore

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "extent"                   FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "region-name"              FoProperty*           : Read
  "writing-mode"             FoProperty*           : Read

Description

Details

FoRegionBefore

typedef struct _FoRegionBefore FoRegionBefore;

Instance of the 'region-before' formatting object.


FoRegionBeforeClass

typedef struct _FoRegionBeforeClass FoRegionBeforeClass;

Class structure for the 'region-before' formatting object.


fo_region_before_new ()

FoFo*               fo_region_before_new                (void);

Creates a new FoRegionBefore initialized to default value.

Returns :

the new FoRegionBefore.

fo_region_before_get_background_color ()

FoProperty*         fo_region_before_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_region_before_set_background_color ()

void                fo_region_before_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_region_before_get_background_image ()

FoProperty*         fo_region_before_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_region_before_set_background_image ()

void                fo_region_before_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_region_before_get_border_after_color ()

FoProperty*         fo_region_before_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_region_before_set_border_after_color ()

void                fo_region_before_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_region_before_get_border_after_style ()

FoProperty*         fo_region_before_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_region_before_set_border_after_style ()

void                fo_region_before_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_region_before_get_border_after_width ()

FoProperty*         fo_region_before_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_region_before_set_border_after_width ()

void                fo_region_before_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_region_before_get_border_before_color ()

FoProperty*         fo_region_before_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_region_before_set_border_before_color ()

void                fo_region_before_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_region_before_get_border_before_style ()

FoProperty*         fo_region_before_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_region_before_set_border_before_style ()

void                fo_region_before_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_region_before_get_border_before_width ()

FoProperty*         fo_region_before_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_region_before_set_border_before_width ()

void                fo_region_before_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_region_before_get_border_bottom_color ()

FoProperty*         fo_region_before_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_region_before_set_border_bottom_color ()

void                fo_region_before_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_region_before_get_border_bottom_style ()

FoProperty*         fo_region_before_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_region_before_set_border_bottom_style ()

void                fo_region_before_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_region_before_get_border_bottom_width ()

FoProperty*         fo_region_before_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_region_before_set_border_bottom_width ()

void                fo_region_before_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_region_before_get_border_end_color ()

FoProperty*         fo_region_before_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_region_before_set_border_end_color ()

void                fo_region_before_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_region_before_get_border_end_style ()

FoProperty*         fo_region_before_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_region_before_set_border_end_style ()

void                fo_region_before_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_region_before_get_border_end_width ()

FoProperty*         fo_region_before_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_region_before_set_border_end_width ()

void                fo_region_before_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_region_before_get_border_left_color ()

FoProperty*         fo_region_before_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_region_before_set_border_left_color ()

void                fo_region_before_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_region_before_get_border_left_style ()

FoProperty*         fo_region_before_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_region_before_set_border_left_style ()

void                fo_region_before_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_region_before_get_border_left_width ()

FoProperty*         fo_region_before_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_region_before_set_border_left_width ()

void                fo_region_before_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_region_before_get_border_right_color ()

FoProperty*         fo_region_before_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_region_before_set_border_right_color ()

void                fo_region_before_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_region_before_get_border_right_style ()

FoProperty*         fo_region_before_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_region_before_set_border_right_style ()

void                fo_region_before_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_region_before_get_border_right_width ()

FoProperty*         fo_region_before_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_region_before_set_border_right_width ()

void                fo_region_before_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_region_before_get_border_start_color ()

FoProperty*         fo_region_before_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_region_before_set_border_start_color ()

void                fo_region_before_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_region_before_get_border_start_style ()

FoProperty*         fo_region_before_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_region_before_set_border_start_style ()

void                fo_region_before_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_region_before_get_border_start_width ()

FoProperty*         fo_region_before_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_region_before_set_border_start_width ()

void                fo_region_before_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_region_before_get_border_top_color ()

FoProperty*         fo_region_before_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_region_before_set_border_top_color ()

void                fo_region_before_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_region_before_get_border_top_style ()

FoProperty*         fo_region_before_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_region_before_set_border_top_style ()

void                fo_region_before_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_region_before_get_border_top_width ()

FoProperty*         fo_region_before_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_region_before_set_border_top_width ()

void                fo_region_before_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_region_before_get_clip ()

FoProperty*         fo_region_before_get_clip           (FoFo *fo_fo);

Gets the "clip" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "clip" property value.

fo_region_before_set_clip ()

void                fo_region_before_set_clip           (FoFo *fo_fo,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_fo to new_clip.

fo_fo :

The FoFo object.

new_clip :

The new "clip" property value.

fo_region_before_get_display_align ()

FoProperty*         fo_region_before_get_display_align  (FoFo *fo_fo);

Gets the "display-align" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "display-align" property value.

fo_region_before_set_display_align ()

void                fo_region_before_set_display_align  (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align.

fo_fo :

The FoFo object.

new_display_align :

The new "display-align" property value.

fo_region_before_get_extent ()

FoProperty*         fo_region_before_get_extent         (FoFo *fo_fo);

Gets the "extent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "extent" property value.

fo_region_before_set_extent ()

void                fo_region_before_set_extent         (FoFo *fo_fo,
                                                         FoProperty *new_extent);

Sets the "extent" property of fo_fo to new_extent.

fo_fo :

The FoFo object.

new_extent :

The new "extent" property value.

fo_region_before_get_overflow ()

FoProperty*         fo_region_before_get_overflow       (FoFo *fo_fo);

Gets the "overflow" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "overflow" property value.

fo_region_before_set_overflow ()

void                fo_region_before_set_overflow       (FoFo *fo_fo,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_fo to new_overflow.

fo_fo :

The FoFo object.

new_overflow :

The new "overflow" property value.

fo_region_before_get_padding_after ()

FoProperty*         fo_region_before_get_padding_after  (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_region_before_set_padding_after ()

void                fo_region_before_set_padding_after  (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_region_before_get_padding_before ()

FoProperty*         fo_region_before_get_padding_before (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_region_before_set_padding_before ()

void                fo_region_before_set_padding_before (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_region_before_get_padding_bottom ()

FoProperty*         fo_region_before_get_padding_bottom (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_region_before_set_padding_bottom ()

void                fo_region_before_set_padding_bottom (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_region_before_get_padding_end ()

FoProperty*         fo_region_before_get_padding_end    (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_region_before_set_padding_end ()

void                fo_region_before_set_padding_end    (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_region_before_get_padding_left ()

FoProperty*         fo_region_before_get_padding_left   (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_region_before_set_padding_left ()

void                fo_region_before_set_padding_left   (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_region_before_get_padding_right ()

FoProperty*         fo_region_before_get_padding_right  (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_region_before_set_padding_right ()

void                fo_region_before_set_padding_right  (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_region_before_get_padding_start ()

FoProperty*         fo_region_before_get_padding_start  (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_region_before_set_padding_start ()

void                fo_region_before_set_padding_start  (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_region_before_get_padding_top ()

FoProperty*         fo_region_before_get_padding_top    (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_region_before_set_padding_top ()

void                fo_region_before_set_padding_top    (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_region_before_get_region_name ()

FoProperty*         fo_region_before_get_region_name    (FoFo *fo_fo);

Gets the "region-name" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "region-name" property value.

fo_region_before_set_region_name ()

void                fo_region_before_set_region_name    (FoFo *fo_fo,
                                                         FoProperty *new_region_name);

Sets the "region-name" property of fo_fo to new_region_name.

fo_fo :

The FoFo object.

new_region_name :

The new "region-name" property value.

fo_region_before_get_writing_mode ()

FoProperty*         fo_region_before_get_writing_mode   (FoFo *fo_fo);

Gets the "writing-mode" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "writing-mode" property value.

fo_region_before_set_writing_mode ()

void                fo_region_before_set_writing_mode   (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_fo to new_writing_mode.

fo_fo :

The FoFo object.

new_writing_mode :

The new "writing-mode" property value.

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "extent" property

  "extent"                   FoProperty*           : Read

Extent property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "region-name" property

  "region-name"              FoProperty*           : Read

Region Name property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/xmlroff-region-body.html0000644000175000017500000050205111156164735016604 00000000000000 region-body

region-body

region-body

Synopsis

                    FoRegionBody;
                    FoRegionBodyClass;
FoFo*               fo_region_body_new                  (void);

FoProperty*         fo_region_body_get_background_color (FoFo *fo_fo);
void                fo_region_body_set_background_color (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_region_body_get_background_image (FoFo *fo_fo);
void                fo_region_body_set_background_image (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_region_body_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_region_body_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_region_body_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_region_body_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_region_body_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_region_body_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_region_body_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_region_body_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_region_body_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_region_body_get_border_end_color (FoFo *fo_fo);
void                fo_region_body_set_border_end_color (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_region_body_get_border_end_style (FoFo *fo_fo);
void                fo_region_body_set_border_end_style (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_region_body_get_border_end_width (FoFo *fo_fo);
void                fo_region_body_set_border_end_width (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_region_body_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_region_body_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_region_body_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_region_body_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_region_body_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_region_body_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_region_body_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_region_body_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_region_body_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_region_body_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_region_body_get_border_top_color (FoFo *fo_fo);
void                fo_region_body_set_border_top_color (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_region_body_get_border_top_style (FoFo *fo_fo);
void                fo_region_body_set_border_top_style (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_region_body_get_border_top_width (FoFo *fo_fo);
void                fo_region_body_set_border_top_width (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_region_body_get_clip             (FoFo *fo_fo);
void                fo_region_body_set_clip             (FoFo *fo_fo,
                                                         FoProperty *new_clip);
FoProperty*         fo_region_body_get_display_align    (FoFo *fo_fo);
void                fo_region_body_set_display_align    (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_region_body_get_end_indent       (FoFo *fo_fo);
void                fo_region_body_set_end_indent       (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);
FoProperty*         fo_region_body_get_margin_bottom    (FoFo *fo_fo);
void                fo_region_body_set_margin_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);
FoProperty*         fo_region_body_get_margin_left      (FoFo *fo_fo);
void                fo_region_body_set_margin_left      (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);
FoProperty*         fo_region_body_get_margin_right     (FoFo *fo_fo);
void                fo_region_body_set_margin_right     (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);
FoProperty*         fo_region_body_get_margin_top       (FoFo *fo_fo);
void                fo_region_body_set_margin_top       (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);
FoProperty*         fo_region_body_get_overflow         (FoFo *fo_fo);
void                fo_region_body_set_overflow         (FoFo *fo_fo,
                                                         FoProperty *new_overflow);
FoProperty*         fo_region_body_get_padding_after    (FoFo *fo_fo);
void                fo_region_body_set_padding_after    (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_region_body_get_padding_before   (FoFo *fo_fo);
void                fo_region_body_set_padding_before   (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_region_body_get_padding_bottom   (FoFo *fo_fo);
void                fo_region_body_set_padding_bottom   (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_region_body_get_padding_end      (FoFo *fo_fo);
void                fo_region_body_set_padding_end      (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_region_body_get_padding_left     (FoFo *fo_fo);
void                fo_region_body_set_padding_left     (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_region_body_get_padding_right    (FoFo *fo_fo);
void                fo_region_body_set_padding_right    (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_region_body_get_padding_start    (FoFo *fo_fo);
void                fo_region_body_set_padding_start    (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_region_body_get_padding_top      (FoFo *fo_fo);
void                fo_region_body_set_padding_top      (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_region_body_get_region_name      (FoFo *fo_fo);
void                fo_region_body_set_region_name      (FoFo *fo_fo,
                                                         FoProperty *new_region_name);
FoProperty*         fo_region_body_get_space_after      (FoFo *fo_fo);
void                fo_region_body_set_space_after      (FoFo *fo_fo,
                                                         FoProperty *new_space_after);
FoProperty*         fo_region_body_get_space_before     (FoFo *fo_fo);
void                fo_region_body_set_space_before     (FoFo *fo_fo,
                                                         FoProperty *new_space_before);
FoProperty*         fo_region_body_get_start_indent     (FoFo *fo_fo);
void                fo_region_body_set_start_indent     (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);
FoProperty*         fo_region_body_get_writing_mode     (FoFo *fo_fo);
void                fo_region_body_set_writing_mode     (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoRegionBody

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "end-indent"               FoProperty*           : Read
  "margin-bottom"            FoProperty*           : Read
  "margin-left"              FoProperty*           : Read
  "margin-right"             FoProperty*           : Read
  "margin-top"               FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "region-name"              FoProperty*           : Read
  "space-after"              FoProperty*           : Read
  "space-before"             FoProperty*           : Read
  "start-indent"             FoProperty*           : Read
  "writing-mode"             FoProperty*           : Read

Description

Details

FoRegionBody

typedef struct _FoRegionBody FoRegionBody;


FoRegionBodyClass

typedef struct _FoRegionBodyClass FoRegionBodyClass;


fo_region_body_new ()

FoFo*               fo_region_body_new                  (void);

Creates a new FoRegionBody initialized to default value.

Returns :

the new FoRegionBody.

fo_region_body_get_background_color ()

FoProperty*         fo_region_body_get_background_color (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_region_body_set_background_color ()

void                fo_region_body_set_background_color (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_region_body_get_background_image ()

FoProperty*         fo_region_body_get_background_image (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_region_body_set_background_image ()

void                fo_region_body_set_background_image (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_region_body_get_border_after_color ()

FoProperty*         fo_region_body_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_region_body_set_border_after_color ()

void                fo_region_body_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_region_body_get_border_after_style ()

FoProperty*         fo_region_body_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_region_body_set_border_after_style ()

void                fo_region_body_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_region_body_get_border_after_width ()

FoProperty*         fo_region_body_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_region_body_set_border_after_width ()

void                fo_region_body_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_region_body_get_border_before_color ()

FoProperty*         fo_region_body_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_region_body_set_border_before_color ()

void                fo_region_body_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_region_body_get_border_before_style ()

FoProperty*         fo_region_body_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_region_body_set_border_before_style ()

void                fo_region_body_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_region_body_get_border_before_width ()

FoProperty*         fo_region_body_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_region_body_set_border_before_width ()

void                fo_region_body_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_region_body_get_border_bottom_color ()

FoProperty*         fo_region_body_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_region_body_set_border_bottom_color ()

void                fo_region_body_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_region_body_get_border_bottom_style ()

FoProperty*         fo_region_body_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_region_body_set_border_bottom_style ()

void                fo_region_body_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_region_body_get_border_bottom_width ()

FoProperty*         fo_region_body_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_region_body_set_border_bottom_width ()

void                fo_region_body_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_region_body_get_border_end_color ()

FoProperty*         fo_region_body_get_border_end_color (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_region_body_set_border_end_color ()

void                fo_region_body_set_border_end_color (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_region_body_get_border_end_style ()

FoProperty*         fo_region_body_get_border_end_style (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_region_body_set_border_end_style ()

void                fo_region_body_set_border_end_style (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_region_body_get_border_end_width ()

FoProperty*         fo_region_body_get_border_end_width (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_region_body_set_border_end_width ()

void                fo_region_body_set_border_end_width (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_region_body_get_border_left_color ()

FoProperty*         fo_region_body_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_region_body_set_border_left_color ()

void                fo_region_body_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_region_body_get_border_left_style ()

FoProperty*         fo_region_body_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_region_body_set_border_left_style ()

void                fo_region_body_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_region_body_get_border_left_width ()

FoProperty*         fo_region_body_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_region_body_set_border_left_width ()

void                fo_region_body_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_region_body_get_border_right_color ()

FoProperty*         fo_region_body_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_region_body_set_border_right_color ()

void                fo_region_body_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_region_body_get_border_right_style ()

FoProperty*         fo_region_body_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_region_body_set_border_right_style ()

void                fo_region_body_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_region_body_get_border_right_width ()

FoProperty*         fo_region_body_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_region_body_set_border_right_width ()

void                fo_region_body_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_region_body_get_border_start_color ()

FoProperty*         fo_region_body_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_region_body_set_border_start_color ()

void                fo_region_body_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_region_body_get_border_start_style ()

FoProperty*         fo_region_body_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_region_body_set_border_start_style ()

void                fo_region_body_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_region_body_get_border_start_width ()

FoProperty*         fo_region_body_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_region_body_set_border_start_width ()

void                fo_region_body_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_region_body_get_border_top_color ()

FoProperty*         fo_region_body_get_border_top_color (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_region_body_set_border_top_color ()

void                fo_region_body_set_border_top_color (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_region_body_get_border_top_style ()

FoProperty*         fo_region_body_get_border_top_style (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_region_body_set_border_top_style ()

void                fo_region_body_set_border_top_style (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_region_body_get_border_top_width ()

FoProperty*         fo_region_body_get_border_top_width (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_region_body_set_border_top_width ()

void                fo_region_body_set_border_top_width (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_region_body_get_clip ()

FoProperty*         fo_region_body_get_clip             (FoFo *fo_fo);

Gets the "clip" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "clip" property value

fo_region_body_set_clip ()

void                fo_region_body_set_clip             (FoFo *fo_fo,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_fo to new_clip

fo_fo :

The FoFo object

new_clip :

The new "clip" property value

fo_region_body_get_display_align ()

FoProperty*         fo_region_body_get_display_align    (FoFo *fo_fo);

Gets the "display-align" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "display-align" property value

fo_region_body_set_display_align ()

void                fo_region_body_set_display_align    (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align

fo_fo :

The FoFo object

new_display_align :

The new "display-align" property value

fo_region_body_get_end_indent ()

FoProperty*         fo_region_body_get_end_indent       (FoFo *fo_fo);

Gets the "end-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "end-indent" property value

fo_region_body_set_end_indent ()

void                fo_region_body_set_end_indent       (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);

Sets the "end-indent" property of fo_fo to new_end_indent

fo_fo :

The FoFo object

new_end_indent :

The new "end-indent" property value

fo_region_body_get_margin_bottom ()

FoProperty*         fo_region_body_get_margin_bottom    (FoFo *fo_fo);

Gets the "margin-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-bottom" property value

fo_region_body_set_margin_bottom ()

void                fo_region_body_set_margin_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);

Sets the "margin-bottom" property of fo_fo to new_margin_bottom

fo_fo :

The FoFo object

new_margin_bottom :

The new "margin-bottom" property value

fo_region_body_get_margin_left ()

FoProperty*         fo_region_body_get_margin_left      (FoFo *fo_fo);

Gets the "margin-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-left" property value

fo_region_body_set_margin_left ()

void                fo_region_body_set_margin_left      (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);

Sets the "margin-left" property of fo_fo to new_margin_left

fo_fo :

The FoFo object

new_margin_left :

The new "margin-left" property value

fo_region_body_get_margin_right ()

FoProperty*         fo_region_body_get_margin_right     (FoFo *fo_fo);

Gets the "margin-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-right" property value

fo_region_body_set_margin_right ()

void                fo_region_body_set_margin_right     (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);

Sets the "margin-right" property of fo_fo to new_margin_right

fo_fo :

The FoFo object

new_margin_right :

The new "margin-right" property value

fo_region_body_get_margin_top ()

FoProperty*         fo_region_body_get_margin_top       (FoFo *fo_fo);

Gets the "margin-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-top" property value

fo_region_body_set_margin_top ()

void                fo_region_body_set_margin_top       (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);

Sets the "margin-top" property of fo_fo to new_margin_top

fo_fo :

The FoFo object

new_margin_top :

The new "margin-top" property value

fo_region_body_get_overflow ()

FoProperty*         fo_region_body_get_overflow         (FoFo *fo_fo);

Gets the "overflow" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "overflow" property value

fo_region_body_set_overflow ()

void                fo_region_body_set_overflow         (FoFo *fo_fo,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_fo to new_overflow

fo_fo :

The FoFo object

new_overflow :

The new "overflow" property value

fo_region_body_get_padding_after ()

FoProperty*         fo_region_body_get_padding_after    (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_region_body_set_padding_after ()

void                fo_region_body_set_padding_after    (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_region_body_get_padding_before ()

FoProperty*         fo_region_body_get_padding_before   (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_region_body_set_padding_before ()

void                fo_region_body_set_padding_before   (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_region_body_get_padding_bottom ()

FoProperty*         fo_region_body_get_padding_bottom   (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_region_body_set_padding_bottom ()

void                fo_region_body_set_padding_bottom   (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_region_body_get_padding_end ()

FoProperty*         fo_region_body_get_padding_end      (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_region_body_set_padding_end ()

void                fo_region_body_set_padding_end      (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_region_body_get_padding_left ()

FoProperty*         fo_region_body_get_padding_left     (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_region_body_set_padding_left ()

void                fo_region_body_set_padding_left     (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_region_body_get_padding_right ()

FoProperty*         fo_region_body_get_padding_right    (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_region_body_set_padding_right ()

void                fo_region_body_set_padding_right    (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_region_body_get_padding_start ()

FoProperty*         fo_region_body_get_padding_start    (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_region_body_set_padding_start ()

void                fo_region_body_set_padding_start    (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_region_body_get_padding_top ()

FoProperty*         fo_region_body_get_padding_top      (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_region_body_set_padding_top ()

void                fo_region_body_set_padding_top      (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_region_body_get_region_name ()

FoProperty*         fo_region_body_get_region_name      (FoFo *fo_fo);

Gets the "region-name" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "region-name" property value

fo_region_body_set_region_name ()

void                fo_region_body_set_region_name      (FoFo *fo_fo,
                                                         FoProperty *new_region_name);

Sets the "region-name" property of fo_fo to new_region_name

fo_fo :

The FoFo object

new_region_name :

The new "region-name" property value

fo_region_body_get_space_after ()

FoProperty*         fo_region_body_get_space_after      (FoFo *fo_fo);

Gets the "space-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-after" property value

fo_region_body_set_space_after ()

void                fo_region_body_set_space_after      (FoFo *fo_fo,
                                                         FoProperty *new_space_after);

Sets the "space-after" property of fo_fo to new_space_after

fo_fo :

The FoFo object

new_space_after :

The new "space-after" property value

fo_region_body_get_space_before ()

FoProperty*         fo_region_body_get_space_before     (FoFo *fo_fo);

Gets the "space-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-before" property value

fo_region_body_set_space_before ()

void                fo_region_body_set_space_before     (FoFo *fo_fo,
                                                         FoProperty *new_space_before);

Sets the "space-before" property of fo_fo to new_space_before

fo_fo :

The FoFo object

new_space_before :

The new "space-before" property value

fo_region_body_get_start_indent ()

FoProperty*         fo_region_body_get_start_indent     (FoFo *fo_fo);

Gets the "start-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "start-indent" property value

fo_region_body_set_start_indent ()

void                fo_region_body_set_start_indent     (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Sets the "start-indent" property of fo_fo to new_start_indent

fo_fo :

The FoFo object

new_start_indent :

The new "start-indent" property value

fo_region_body_get_writing_mode ()

FoProperty*         fo_region_body_get_writing_mode     (FoFo *fo_fo);

Gets the "writing-mode" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "writing-mode" property value

fo_region_body_set_writing_mode ()

void                fo_region_body_set_writing_mode     (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_fo to new_writing_mode

fo_fo :

The FoFo object

new_writing_mode :

The new "writing-mode" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "end-indent" property

  "end-indent"               FoProperty*           : Read

End Indent property.


The "margin-bottom" property

  "margin-bottom"            FoProperty*           : Read

Margin Bottom property.


The "margin-left" property

  "margin-left"              FoProperty*           : Read

Margin Left property.


The "margin-right" property

  "margin-right"             FoProperty*           : Read

Margin Right property.


The "margin-top" property

  "margin-top"               FoProperty*           : Read

Margin Top property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "region-name" property

  "region-name"              FoProperty*           : Read

Region Name property.


The "space-after" property

  "space-after"              FoProperty*           : Read

Space After property.


The "space-before" property

  "space-before"             FoProperty*           : Read

Space Before property.


The "start-indent" property

  "start-indent"             FoProperty*           : Read

Start Indent property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/xmlroff-region-end.html0000644000175000017500000042400711156164735016421 00000000000000 region-end

region-end

region-end

Synopsis

                    FoRegionEnd;
                    FoRegionEndClass;
FoFo*               fo_region_end_new                   (void);

FoProperty*         fo_region_end_get_background_color  (FoFo *fo_fo);
void                fo_region_end_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_region_end_get_background_image  (FoFo *fo_fo);
void                fo_region_end_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_region_end_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_region_end_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_region_end_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_region_end_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_region_end_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_region_end_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_region_end_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_region_end_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_region_end_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_region_end_get_border_end_color  (FoFo *fo_fo);
void                fo_region_end_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_region_end_get_border_end_style  (FoFo *fo_fo);
void                fo_region_end_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_region_end_get_border_end_width  (FoFo *fo_fo);
void                fo_region_end_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_region_end_get_border_left_color (FoFo *fo_fo);
void                fo_region_end_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_region_end_get_border_left_style (FoFo *fo_fo);
void                fo_region_end_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_region_end_get_border_left_width (FoFo *fo_fo);
void                fo_region_end_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_region_end_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_region_end_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_region_end_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_region_end_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_region_end_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_region_end_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_region_end_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_region_end_get_border_top_color  (FoFo *fo_fo);
void                fo_region_end_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_region_end_get_border_top_style  (FoFo *fo_fo);
void                fo_region_end_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_region_end_get_border_top_width  (FoFo *fo_fo);
void                fo_region_end_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_region_end_get_clip              (FoFo *fo_fo);
void                fo_region_end_set_clip              (FoFo *fo_fo,
                                                         FoProperty *new_clip);
FoProperty*         fo_region_end_get_display_align     (FoFo *fo_fo);
void                fo_region_end_set_display_align     (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_region_end_get_extent            (FoFo *fo_fo);
void                fo_region_end_set_extent            (FoFo *fo_fo,
                                                         FoProperty *new_extent);
FoProperty*         fo_region_end_get_overflow          (FoFo *fo_fo);
void                fo_region_end_set_overflow          (FoFo *fo_fo,
                                                         FoProperty *new_overflow);
FoProperty*         fo_region_end_get_padding_after     (FoFo *fo_fo);
void                fo_region_end_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_region_end_get_padding_before    (FoFo *fo_fo);
void                fo_region_end_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_region_end_get_padding_bottom    (FoFo *fo_fo);
void                fo_region_end_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_region_end_get_padding_end       (FoFo *fo_fo);
void                fo_region_end_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_region_end_get_padding_left      (FoFo *fo_fo);
void                fo_region_end_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_region_end_get_padding_right     (FoFo *fo_fo);
void                fo_region_end_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_region_end_get_padding_start     (FoFo *fo_fo);
void                fo_region_end_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_region_end_get_padding_top       (FoFo *fo_fo);
void                fo_region_end_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_region_end_get_region_name       (FoFo *fo_fo);
void                fo_region_end_set_region_name       (FoFo *fo_fo,
                                                         FoProperty *new_region_name);
FoProperty*         fo_region_end_get_writing_mode      (FoFo *fo_fo);
void                fo_region_end_set_writing_mode      (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoRegionEnd

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "extent"                   FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "region-name"              FoProperty*           : Read
  "writing-mode"             FoProperty*           : Read

Description

Details

FoRegionEnd

typedef struct _FoRegionEnd FoRegionEnd;

Instance of the 'region-end' formatting object.


FoRegionEndClass

typedef struct _FoRegionEndClass FoRegionEndClass;

Class structure for the 'region-end' formatting object.


fo_region_end_new ()

FoFo*               fo_region_end_new                   (void);

Creates a new FoRegionEnd initialized to default value.

Returns :

the new FoRegionEnd.

fo_region_end_get_background_color ()

FoProperty*         fo_region_end_get_background_color  (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_region_end_set_background_color ()

void                fo_region_end_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_region_end_get_background_image ()

FoProperty*         fo_region_end_get_background_image  (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_region_end_set_background_image ()

void                fo_region_end_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_region_end_get_border_after_color ()

FoProperty*         fo_region_end_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_region_end_set_border_after_color ()

void                fo_region_end_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_region_end_get_border_after_style ()

FoProperty*         fo_region_end_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_region_end_set_border_after_style ()

void                fo_region_end_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_region_end_get_border_after_width ()

FoProperty*         fo_region_end_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_region_end_set_border_after_width ()

void                fo_region_end_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_region_end_get_border_before_color ()

FoProperty*         fo_region_end_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_region_end_set_border_before_color ()

void                fo_region_end_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_region_end_get_border_before_style ()

FoProperty*         fo_region_end_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_region_end_set_border_before_style ()

void                fo_region_end_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_region_end_get_border_before_width ()

FoProperty*         fo_region_end_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_region_end_set_border_before_width ()

void                fo_region_end_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_region_end_get_border_bottom_color ()

FoProperty*         fo_region_end_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_region_end_set_border_bottom_color ()

void                fo_region_end_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_region_end_get_border_bottom_style ()

FoProperty*         fo_region_end_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_region_end_set_border_bottom_style ()

void                fo_region_end_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_region_end_get_border_bottom_width ()

FoProperty*         fo_region_end_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_region_end_set_border_bottom_width ()

void                fo_region_end_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_region_end_get_border_end_color ()

FoProperty*         fo_region_end_get_border_end_color  (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_region_end_set_border_end_color ()

void                fo_region_end_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_region_end_get_border_end_style ()

FoProperty*         fo_region_end_get_border_end_style  (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_region_end_set_border_end_style ()

void                fo_region_end_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_region_end_get_border_end_width ()

FoProperty*         fo_region_end_get_border_end_width  (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_region_end_set_border_end_width ()

void                fo_region_end_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_region_end_get_border_left_color ()

FoProperty*         fo_region_end_get_border_left_color (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_region_end_set_border_left_color ()

void                fo_region_end_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_region_end_get_border_left_style ()

FoProperty*         fo_region_end_get_border_left_style (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_region_end_set_border_left_style ()

void                fo_region_end_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_region_end_get_border_left_width ()

FoProperty*         fo_region_end_get_border_left_width (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_region_end_set_border_left_width ()

void                fo_region_end_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_region_end_get_border_right_color ()

FoProperty*         fo_region_end_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_region_end_set_border_right_color ()

void                fo_region_end_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_region_end_get_border_right_style ()

FoProperty*         fo_region_end_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_region_end_set_border_right_style ()

void                fo_region_end_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_region_end_get_border_right_width ()

FoProperty*         fo_region_end_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_region_end_set_border_right_width ()

void                fo_region_end_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_region_end_get_border_start_color ()

FoProperty*         fo_region_end_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_region_end_set_border_start_color ()

void                fo_region_end_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_region_end_get_border_start_style ()

FoProperty*         fo_region_end_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_region_end_set_border_start_style ()

void                fo_region_end_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_region_end_get_border_start_width ()

FoProperty*         fo_region_end_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_region_end_set_border_start_width ()

void                fo_region_end_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_region_end_get_border_top_color ()

FoProperty*         fo_region_end_get_border_top_color  (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_region_end_set_border_top_color ()

void                fo_region_end_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_region_end_get_border_top_style ()

FoProperty*         fo_region_end_get_border_top_style  (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_region_end_set_border_top_style ()

void                fo_region_end_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_region_end_get_border_top_width ()

FoProperty*         fo_region_end_get_border_top_width  (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_region_end_set_border_top_width ()

void                fo_region_end_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_region_end_get_clip ()

FoProperty*         fo_region_end_get_clip              (FoFo *fo_fo);

Gets the "clip" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "clip" property value.

fo_region_end_set_clip ()

void                fo_region_end_set_clip              (FoFo *fo_fo,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_fo to new_clip.

fo_fo :

The FoFo object.

new_clip :

The new "clip" property value.

fo_region_end_get_display_align ()

FoProperty*         fo_region_end_get_display_align     (FoFo *fo_fo);

Gets the "display-align" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "display-align" property value.

fo_region_end_set_display_align ()

void                fo_region_end_set_display_align     (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align.

fo_fo :

The FoFo object.

new_display_align :

The new "display-align" property value.

fo_region_end_get_extent ()

FoProperty*         fo_region_end_get_extent            (FoFo *fo_fo);

Gets the "extent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "extent" property value.

fo_region_end_set_extent ()

void                fo_region_end_set_extent            (FoFo *fo_fo,
                                                         FoProperty *new_extent);

Sets the "extent" property of fo_fo to new_extent.

fo_fo :

The FoFo object.

new_extent :

The new "extent" property value.

fo_region_end_get_overflow ()

FoProperty*         fo_region_end_get_overflow          (FoFo *fo_fo);

Gets the "overflow" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "overflow" property value.

fo_region_end_set_overflow ()

void                fo_region_end_set_overflow          (FoFo *fo_fo,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_fo to new_overflow.

fo_fo :

The FoFo object.

new_overflow :

The new "overflow" property value.

fo_region_end_get_padding_after ()

FoProperty*         fo_region_end_get_padding_after     (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_region_end_set_padding_after ()

void                fo_region_end_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_region_end_get_padding_before ()

FoProperty*         fo_region_end_get_padding_before    (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_region_end_set_padding_before ()

void                fo_region_end_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_region_end_get_padding_bottom ()

FoProperty*         fo_region_end_get_padding_bottom    (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_region_end_set_padding_bottom ()

void                fo_region_end_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_region_end_get_padding_end ()

FoProperty*         fo_region_end_get_padding_end       (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_region_end_set_padding_end ()

void                fo_region_end_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_region_end_get_padding_left ()

FoProperty*         fo_region_end_get_padding_left      (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_region_end_set_padding_left ()

void                fo_region_end_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_region_end_get_padding_right ()

FoProperty*         fo_region_end_get_padding_right     (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_region_end_set_padding_right ()

void                fo_region_end_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_region_end_get_padding_start ()

FoProperty*         fo_region_end_get_padding_start     (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_region_end_set_padding_start ()

void                fo_region_end_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_region_end_get_padding_top ()

FoProperty*         fo_region_end_get_padding_top       (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_region_end_set_padding_top ()

void                fo_region_end_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_region_end_get_region_name ()

FoProperty*         fo_region_end_get_region_name       (FoFo *fo_fo);

Gets the "region-name" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "region-name" property value.

fo_region_end_set_region_name ()

void                fo_region_end_set_region_name       (FoFo *fo_fo,
                                                         FoProperty *new_region_name);

Sets the "region-name" property of fo_fo to new_region_name.

fo_fo :

The FoFo object.

new_region_name :

The new "region-name" property value.

fo_region_end_get_writing_mode ()

FoProperty*         fo_region_end_get_writing_mode      (FoFo *fo_fo);

Gets the "writing-mode" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "writing-mode" property value.

fo_region_end_set_writing_mode ()

void                fo_region_end_set_writing_mode      (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_fo to new_writing_mode.

fo_fo :

The FoFo object.

new_writing_mode :

The new "writing-mode" property value.

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "extent" property

  "extent"                   FoProperty*           : Read

Extent property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "region-name" property

  "region-name"              FoProperty*           : Read

Region Name property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/xmlroff-region-name.html0000644000175000017500000001402211156164735016563 00000000000000 region-name

region-name

region-name

Description

Details

FoPropertyRegionName

typedef struct _FoPropertyRegionName FoPropertyRegionName;


FoPropertyRegionNameClass

typedef struct _FoPropertyRegionNameClass FoPropertyRegionNameClass;


fo_property_region_name_new ()

FoProperty*         fo_property_region_name_new         (void);

Creates a new FoPropertyRegionName initialized to default value.

Returns :

the new FoPropertyRegionName.

fo_property_region_name_get_initial ()

FoProperty*         fo_property_region_name_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-region-start.html0000644000175000017500000043340511156164735017012 00000000000000 region-start

region-start

region-start

Synopsis

                    FoRegionStart;
                    FoRegionStartClass;
FoFo*               fo_region_start_new                 (void);

FoProperty*         fo_region_start_get_background_color
                                                        (FoFo *fo_fo);
void                fo_region_start_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_region_start_get_background_image
                                                        (FoFo *fo_fo);
void                fo_region_start_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_region_start_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_region_start_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_region_start_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_region_start_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_region_start_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_region_start_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_region_start_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_region_start_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_region_start_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_region_start_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_region_start_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_region_start_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_region_start_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_region_start_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_region_start_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_region_start_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_region_start_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_region_start_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_region_start_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_region_start_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_region_start_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_region_start_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_region_start_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_region_start_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_region_start_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_region_start_get_clip            (FoFo *fo_fo);
void                fo_region_start_set_clip            (FoFo *fo_fo,
                                                         FoProperty *new_clip);
FoProperty*         fo_region_start_get_display_align   (FoFo *fo_fo);
void                fo_region_start_set_display_align   (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_region_start_get_extent          (FoFo *fo_fo);
void                fo_region_start_set_extent          (FoFo *fo_fo,
                                                         FoProperty *new_extent);
FoProperty*         fo_region_start_get_overflow        (FoFo *fo_fo);
void                fo_region_start_set_overflow        (FoFo *fo_fo,
                                                         FoProperty *new_overflow);
FoProperty*         fo_region_start_get_padding_after   (FoFo *fo_fo);
void                fo_region_start_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_region_start_get_padding_before  (FoFo *fo_fo);
void                fo_region_start_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_region_start_get_padding_bottom  (FoFo *fo_fo);
void                fo_region_start_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_region_start_get_padding_end     (FoFo *fo_fo);
void                fo_region_start_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_region_start_get_padding_left    (FoFo *fo_fo);
void                fo_region_start_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_region_start_get_padding_right   (FoFo *fo_fo);
void                fo_region_start_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_region_start_get_padding_start   (FoFo *fo_fo);
void                fo_region_start_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_region_start_get_padding_top     (FoFo *fo_fo);
void                fo_region_start_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_region_start_get_region_name     (FoFo *fo_fo);
void                fo_region_start_set_region_name     (FoFo *fo_fo,
                                                         FoProperty *new_region_name);
FoProperty*         fo_region_start_get_writing_mode    (FoFo *fo_fo);
void                fo_region_start_set_writing_mode    (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoRegionStart

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "clip"                     FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "extent"                   FoProperty*           : Read
  "overflow"                 FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "region-name"              FoProperty*           : Read
  "writing-mode"             FoProperty*           : Read

Description

Details

FoRegionStart

typedef struct _FoRegionStart FoRegionStart;

Instance of the 'region-start' formatting object.


FoRegionStartClass

typedef struct _FoRegionStartClass FoRegionStartClass;

Class structure for the 'region-start' formatting object.


fo_region_start_new ()

FoFo*               fo_region_start_new                 (void);

Creates a new FoRegionStart initialized to default value.

Returns :

the new FoRegionStart.

fo_region_start_get_background_color ()

FoProperty*         fo_region_start_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_region_start_set_background_color ()

void                fo_region_start_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_region_start_get_background_image ()

FoProperty*         fo_region_start_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_region_start_set_background_image ()

void                fo_region_start_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_region_start_get_border_after_color ()

FoProperty*         fo_region_start_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_region_start_set_border_after_color ()

void                fo_region_start_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_region_start_get_border_after_style ()

FoProperty*         fo_region_start_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_region_start_set_border_after_style ()

void                fo_region_start_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_region_start_get_border_after_width ()

FoProperty*         fo_region_start_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_region_start_set_border_after_width ()

void                fo_region_start_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_region_start_get_border_before_color ()

FoProperty*         fo_region_start_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_region_start_set_border_before_color ()

void                fo_region_start_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_region_start_get_border_before_style ()

FoProperty*         fo_region_start_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_region_start_set_border_before_style ()

void                fo_region_start_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_region_start_get_border_before_width ()

FoProperty*         fo_region_start_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_region_start_set_border_before_width ()

void                fo_region_start_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_region_start_get_border_bottom_color ()

FoProperty*         fo_region_start_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_region_start_set_border_bottom_color ()

void                fo_region_start_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_region_start_get_border_bottom_style ()

FoProperty*         fo_region_start_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_region_start_set_border_bottom_style ()

void                fo_region_start_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_region_start_get_border_bottom_width ()

FoProperty*         fo_region_start_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_region_start_set_border_bottom_width ()

void                fo_region_start_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_region_start_get_border_end_color ()

FoProperty*         fo_region_start_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_region_start_set_border_end_color ()

void                fo_region_start_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_region_start_get_border_end_style ()

FoProperty*         fo_region_start_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_region_start_set_border_end_style ()

void                fo_region_start_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_region_start_get_border_end_width ()

FoProperty*         fo_region_start_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_region_start_set_border_end_width ()

void                fo_region_start_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_region_start_get_border_left_color ()

FoProperty*         fo_region_start_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_region_start_set_border_left_color ()

void                fo_region_start_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_region_start_get_border_left_style ()

FoProperty*         fo_region_start_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_region_start_set_border_left_style ()

void                fo_region_start_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_region_start_get_border_left_width ()

FoProperty*         fo_region_start_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_region_start_set_border_left_width ()

void                fo_region_start_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_region_start_get_border_right_color ()

FoProperty*         fo_region_start_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_region_start_set_border_right_color ()

void                fo_region_start_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_region_start_get_border_right_style ()

FoProperty*         fo_region_start_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_region_start_set_border_right_style ()

void                fo_region_start_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_region_start_get_border_right_width ()

FoProperty*         fo_region_start_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_region_start_set_border_right_width ()

void                fo_region_start_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_region_start_get_border_start_color ()

FoProperty*         fo_region_start_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_region_start_set_border_start_color ()

void                fo_region_start_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_region_start_get_border_start_style ()

FoProperty*         fo_region_start_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_region_start_set_border_start_style ()

void                fo_region_start_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_region_start_get_border_start_width ()

FoProperty*         fo_region_start_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_region_start_set_border_start_width ()

void                fo_region_start_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_region_start_get_border_top_color ()

FoProperty*         fo_region_start_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_region_start_set_border_top_color ()

void                fo_region_start_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_region_start_get_border_top_style ()

FoProperty*         fo_region_start_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_region_start_set_border_top_style ()

void                fo_region_start_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_region_start_get_border_top_width ()

FoProperty*         fo_region_start_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_region_start_set_border_top_width ()

void                fo_region_start_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_region_start_get_clip ()

FoProperty*         fo_region_start_get_clip            (FoFo *fo_fo);

Gets the "clip" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "clip" property value.

fo_region_start_set_clip ()

void                fo_region_start_set_clip            (FoFo *fo_fo,
                                                         FoProperty *new_clip);

Sets the "clip" property of fo_fo to new_clip.

fo_fo :

The FoFo object.

new_clip :

The new "clip" property value.

fo_region_start_get_display_align ()

FoProperty*         fo_region_start_get_display_align   (FoFo *fo_fo);

Gets the "display-align" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "display-align" property value.

fo_region_start_set_display_align ()

void                fo_region_start_set_display_align   (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align.

fo_fo :

The FoFo object.

new_display_align :

The new "display-align" property value.

fo_region_start_get_extent ()

FoProperty*         fo_region_start_get_extent          (FoFo *fo_fo);

Gets the "extent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "extent" property value.

fo_region_start_set_extent ()

void                fo_region_start_set_extent          (FoFo *fo_fo,
                                                         FoProperty *new_extent);

Sets the "extent" property of fo_fo to new_extent.

fo_fo :

The FoFo object.

new_extent :

The new "extent" property value.

fo_region_start_get_overflow ()

FoProperty*         fo_region_start_get_overflow        (FoFo *fo_fo);

Gets the "overflow" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "overflow" property value.

fo_region_start_set_overflow ()

void                fo_region_start_set_overflow        (FoFo *fo_fo,
                                                         FoProperty *new_overflow);

Sets the "overflow" property of fo_fo to new_overflow.

fo_fo :

The FoFo object.

new_overflow :

The new "overflow" property value.

fo_region_start_get_padding_after ()

FoProperty*         fo_region_start_get_padding_after   (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_region_start_set_padding_after ()

void                fo_region_start_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_region_start_get_padding_before ()

FoProperty*         fo_region_start_get_padding_before  (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_region_start_set_padding_before ()

void                fo_region_start_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_region_start_get_padding_bottom ()

FoProperty*         fo_region_start_get_padding_bottom  (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_region_start_set_padding_bottom ()

void                fo_region_start_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_region_start_get_padding_end ()

FoProperty*         fo_region_start_get_padding_end     (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_region_start_set_padding_end ()

void                fo_region_start_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_region_start_get_padding_left ()

FoProperty*         fo_region_start_get_padding_left    (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_region_start_set_padding_left ()

void                fo_region_start_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_region_start_get_padding_right ()

FoProperty*         fo_region_start_get_padding_right   (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_region_start_set_padding_right ()

void                fo_region_start_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_region_start_get_padding_start ()

FoProperty*         fo_region_start_get_padding_start   (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_region_start_set_padding_start ()

void                fo_region_start_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_region_start_get_padding_top ()

FoProperty*         fo_region_start_get_padding_top     (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_region_start_set_padding_top ()

void                fo_region_start_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_region_start_get_region_name ()

FoProperty*         fo_region_start_get_region_name     (FoFo *fo_fo);

Gets the "region-name" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "region-name" property value.

fo_region_start_set_region_name ()

void                fo_region_start_set_region_name     (FoFo *fo_fo,
                                                         FoProperty *new_region_name);

Sets the "region-name" property of fo_fo to new_region_name.

fo_fo :

The FoFo object.

new_region_name :

The new "region-name" property value.

fo_region_start_get_writing_mode ()

FoProperty*         fo_region_start_get_writing_mode    (FoFo *fo_fo);

Gets the "writing-mode" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "writing-mode" property value.

fo_region_start_set_writing_mode ()

void                fo_region_start_set_writing_mode    (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_fo to new_writing_mode.

fo_fo :

The FoFo object.

new_writing_mode :

The new "writing-mode" property value.

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "clip" property

  "clip"                     FoProperty*           : Read

Clip property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "extent" property

  "extent"                   FoProperty*           : Read

Extent property.


The "overflow" property

  "overflow"                 FoProperty*           : Read

Overflow property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "region-name" property

  "region-name"              FoProperty*           : Read

Region Name property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/xmlroff-repeatable-page-master-alternatives.html0000644000175000017500000001532411156164735023376 00000000000000 repeatable-page-master-alternatives

repeatable-page-master-alternatives

repeatable-page-master-alternatives

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoRepeatablePageMasterAlternatives

Description

Details

FoRepeatablePageMasterAlternatives

typedef struct _FoRepeatablePageMasterAlternatives FoRepeatablePageMasterAlternatives;


FoRepeatablePageMasterAlternativesClass

typedef struct {
  FoFoClass parent_class;
} FoRepeatablePageMasterAlternativesClass;


fo_repeatable_page_master_alternatives_new ()

FoFo*               fo_repeatable_page_master_alternatives_new
                                                        (void);

Creates a new FoRepeatablePageMasterAlternatives initialized to default value.

Returns :

the new FoRepeatablePageMasterAlternatives.
xmlroff-0.6.2/docs/html/xmlroff-repeatable-page-master-reference.html0000644000175000017500000002553211156164735022635 00000000000000 repeatable-page-master-reference

repeatable-page-master-reference

repeatable-page-master-reference

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoRepeatablePageMasterReference

Properties

  "master-reference"         FoProperty*           : Read

Description

Details

FoRepeatablePageMasterReference

typedef struct _FoRepeatablePageMasterReference FoRepeatablePageMasterReference;


FoRepeatablePageMasterReferenceClass

typedef struct _FoRepeatablePageMasterReferenceClass FoRepeatablePageMasterReferenceClass;


fo_repeatable_page_master_reference_new ()

FoFo*               fo_repeatable_page_master_reference_new
                                                        (void);

Creates a new FoRepeatablePageMasterReference initialized to default value.

Returns :

the new FoRepeatablePageMasterReference.

fo_repeatable_page_master_reference_set_master_reference ()

void                fo_repeatable_page_master_reference_set_master_reference
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_master_reference);

Sets the "master-reference" property of fo_fo to new_master_reference

fo_fo :

The FoFo object

new_master_reference :

The new "master-reference" property value

fo_repeatable_page_master_reference_get_master_reference ()

FoProperty*         fo_repeatable_page_master_reference_get_master_reference
                                                        (FoFo *fo_fo);

Gets the "master-reference" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "master-reference" property value.

Property Details

The "master-reference" property

  "master-reference"         FoProperty*           : Read

Master Reference property.

xmlroff-0.6.2/docs/html/xmlroff-role.html0000644000175000017500000001341211156164735015325 00000000000000 role

role

role

Description

Details

FoPropertyRole

typedef struct _FoPropertyRole FoPropertyRole;


FoPropertyRoleClass

typedef struct _FoPropertyRoleClass FoPropertyRoleClass;


fo_property_role_new ()

FoProperty*         fo_property_role_new                (void);

Creates a new FoPropertyRole initialized to default value.

Returns :

the new FoPropertyRole.

fo_property_role_get_initial ()

FoProperty*         fo_property_role_get_initial        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-root.html0000644000175000017500000002174211156164735015354 00000000000000 root

root

root — 'root' formatting object

Synopsis

                    FoRoot;
                    FoRootClass;
FoFo*               fo_root_new                         (void);

FoProperty*         fo_root_get_media_usage             (FoFo *fo_fo);
void                fo_root_set_media_usage             (FoFo *fo_fo,
                                                         FoProperty *new_media_usage);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoRoot

Properties

  "media-usage"              FoProperty*           : Read

Description

Definition: http://www.w3.org/TR/xsl11/#fo_root

Details

FoRoot

typedef struct _FoRoot FoRoot;


FoRootClass

typedef struct _FoRootClass FoRootClass;


fo_root_new ()

FoFo*               fo_root_new                         (void);

Creates a new FoRoot initialized to default value.

Returns :

the new FoRoot.

fo_root_get_media_usage ()

FoProperty*         fo_root_get_media_usage             (FoFo *fo_fo);

Gets the "media-usage" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "media-usage" property value.

fo_root_set_media_usage ()

void                fo_root_set_media_usage             (FoFo *fo_fo,
                                                         FoProperty *new_media_usage);

Sets the "media-usage" property of fo_fo to new_media_usage.

fo_fo :

The FoFo object.

new_media_usage :

The new "media-usage" property value.

Property Details

The "media-usage" property

  "media-usage"              FoProperty*           : Read

Media Usage property.

xmlroff-0.6.2/docs/html/xmlroff-scaling.html0000644000175000017500000001361611156164735016012 00000000000000 scaling

scaling

scaling

Description

Details

FoPropertyScaling

typedef struct _FoPropertyScaling FoPropertyScaling;


FoPropertyScalingClass

typedef struct _FoPropertyScalingClass FoPropertyScalingClass;


fo_property_scaling_new ()

FoProperty*         fo_property_scaling_new             (void);

Creates a new FoPropertyScaling initialized to default value.

Returns :

the new FoPropertyScaling.

fo_property_scaling_get_initial ()

FoProperty*         fo_property_scaling_get_initial     (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-scaling-method.html0000644000175000017500000001444711156164735017273 00000000000000 scaling-method

scaling-method

scaling-method

Description

Details

FoPropertyScalingMethod

typedef struct _FoPropertyScalingMethod FoPropertyScalingMethod;


FoPropertyScalingMethodClass

typedef struct _FoPropertyScalingMethodClass FoPropertyScalingMethodClass;


fo_property_scaling_method_new ()

FoProperty*         fo_property_scaling_method_new      (void);

Creates a new FoPropertyScalingMethod initialized to default value.

Returns :

the new FoPropertyScalingMethod.

fo_property_scaling_method_get_initial ()

FoProperty*         fo_property_scaling_method_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-score-spaces.html0000644000175000017500000001452311156164735016757 00000000000000 score-spaces

score-spaces

score-spaces

Description

Details

FoPropertyScoreSpaces

typedef struct _FoPropertyScoreSpaces FoPropertyScoreSpaces;

Instance of the 'score-spaces' property.


FoPropertyScoreSpacesClass

typedef struct _FoPropertyScoreSpacesClass FoPropertyScoreSpacesClass;

Class structure for the 'score-spaces' property.


fo_property_score_spaces_new ()

FoProperty*         fo_property_score_spaces_new        (void);

Creates a new FoPropertyScoreSpaces initialized to default value.

Returns :

the new FoPropertyScoreSpaces.

fo_property_score_spaces_get_initial ()

FoProperty*         fo_property_score_spaces_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-simple-page-master.html0000644000175000017500000014675111156164735020075 00000000000000 simple-page-master

simple-page-master

simple-page-master

Synopsis

                    FoSimplePageMaster;
                    FoSimplePageMasterClass;
FoFo*               fo_simple_page_master_new           (void);

FoProperty*         fo_simple_page_master_get_end_indent
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_end_indent
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);
FoProperty*         fo_simple_page_master_get_margin_bottom
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_margin_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);
FoProperty*         fo_simple_page_master_get_margin_left
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_margin_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);
FoProperty*         fo_simple_page_master_get_margin_right
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_margin_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);
FoProperty*         fo_simple_page_master_get_margin_top
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_margin_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);
FoProperty*         fo_simple_page_master_get_master_name
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_master_name
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_master_name);
FoProperty*         fo_simple_page_master_get_page_height
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_page_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_page_height);
FoProperty*         fo_simple_page_master_get_page_width
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_page_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_page_width);
FoProperty*         fo_simple_page_master_get_space_after
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_space_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_after);
FoProperty*         fo_simple_page_master_get_space_before
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_space_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_before);
FoProperty*         fo_simple_page_master_get_start_indent
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_start_indent
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);
FoProperty*         fo_simple_page_master_get_writing_mode
                                                        (FoFo *fo_fo);
void                fo_simple_page_master_set_writing_mode
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

FoFo*               fo_simple_page_master_region_name_get
                                                        (FoFo *simple_page_master,
                                                         const gchar *name);
void                fo_simple_page_master_region_name_add
                                                        (FoFo *simple_page_master,
                                                         const gchar *name,
                                                         FoFo *fo);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoSimplePageMaster

Description

Details

FoSimplePageMaster

typedef struct _FoSimplePageMaster FoSimplePageMaster;


FoSimplePageMasterClass

typedef struct _FoSimplePageMasterClass FoSimplePageMasterClass;


fo_simple_page_master_new ()

FoFo*               fo_simple_page_master_new           (void);

Creates a new FoSimplePageMaster initialized to default value.

Returns :

the new FoSimplePageMaster.

fo_simple_page_master_get_end_indent ()

FoProperty*         fo_simple_page_master_get_end_indent
                                                        (FoFo *fo_fo);

Gets the "end-indent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "end-indent" property value.

fo_simple_page_master_set_end_indent ()

void                fo_simple_page_master_set_end_indent
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);

Sets the "end-indent" property of fo_fo to new_end_indent

fo_fo :

The FoFo object

new_end_indent :

The new "end-indent" property value

fo_simple_page_master_get_margin_bottom ()

FoProperty*         fo_simple_page_master_get_margin_bottom
                                                        (FoFo *fo_fo);

Gets the "margin-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-bottom" property value.

fo_simple_page_master_set_margin_bottom ()

void                fo_simple_page_master_set_margin_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);

Sets the "margin-bottom" property of fo_fo to new_margin_bottom

fo_fo :

The FoFo object

new_margin_bottom :

The new "margin-bottom" property value

fo_simple_page_master_get_margin_left ()

FoProperty*         fo_simple_page_master_get_margin_left
                                                        (FoFo *fo_fo);

Gets the "margin-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-left" property value.

fo_simple_page_master_set_margin_left ()

void                fo_simple_page_master_set_margin_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);

Sets the "margin-left" property of fo_fo to new_margin_left

fo_fo :

The FoFo object

new_margin_left :

The new "margin-left" property value

fo_simple_page_master_get_margin_right ()

FoProperty*         fo_simple_page_master_get_margin_right
                                                        (FoFo *fo_fo);

Gets the "margin-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-right" property value.

fo_simple_page_master_set_margin_right ()

void                fo_simple_page_master_set_margin_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);

Sets the "margin-right" property of fo_fo to new_margin_right

fo_fo :

The FoFo object

new_margin_right :

The new "margin-right" property value

fo_simple_page_master_get_margin_top ()

FoProperty*         fo_simple_page_master_get_margin_top
                                                        (FoFo *fo_fo);

Gets the "margin-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "margin-top" property value.

fo_simple_page_master_set_margin_top ()

void                fo_simple_page_master_set_margin_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);

Sets the "margin-top" property of fo_fo to new_margin_top

fo_fo :

The FoFo object

new_margin_top :

The new "margin-top" property value

fo_simple_page_master_get_master_name ()

FoProperty*         fo_simple_page_master_get_master_name
                                                        (FoFo *fo_fo);

Gets the "master-name" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "master-name" property value.

fo_simple_page_master_set_master_name ()

void                fo_simple_page_master_set_master_name
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_master_name);

Sets the "master-name" property of fo_fo to new_master_name

fo_fo :

The FoFo object

new_master_name :

The new "master-name" property value

fo_simple_page_master_get_page_height ()

FoProperty*         fo_simple_page_master_get_page_height
                                                        (FoFo *fo_fo);

Gets the "page-height" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "page-height" property value.

fo_simple_page_master_set_page_height ()

void                fo_simple_page_master_set_page_height
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_page_height);

Sets the "page-height" property of fo_fo to new_page_height

fo_fo :

The FoFo object

new_page_height :

The new "page-height" property value

fo_simple_page_master_get_page_width ()

FoProperty*         fo_simple_page_master_get_page_width
                                                        (FoFo *fo_fo);

Gets the "page-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "page-width" property value.

fo_simple_page_master_set_page_width ()

void                fo_simple_page_master_set_page_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_page_width);

Sets the "page-width" property of fo_fo to new_page_width

fo_fo :

The FoFo object

new_page_width :

The new "page-width" property value

fo_simple_page_master_get_space_after ()

FoProperty*         fo_simple_page_master_get_space_after
                                                        (FoFo *fo_fo);

Gets the "space-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-after" property value.

fo_simple_page_master_set_space_after ()

void                fo_simple_page_master_set_space_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_after);

Sets the "space-after" property of fo_fo to new_space_after

fo_fo :

The FoFo object

new_space_after :

The new "space-after" property value

fo_simple_page_master_get_space_before ()

FoProperty*         fo_simple_page_master_get_space_before
                                                        (FoFo *fo_fo);

Gets the "space-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "space-before" property value.

fo_simple_page_master_set_space_before ()

void                fo_simple_page_master_set_space_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_before);

Sets the "space-before" property of fo_fo to new_space_before

fo_fo :

The FoFo object

new_space_before :

The new "space-before" property value

fo_simple_page_master_get_start_indent ()

FoProperty*         fo_simple_page_master_get_start_indent
                                                        (FoFo *fo_fo);

Gets the "start-indent" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "start-indent" property value.

fo_simple_page_master_set_start_indent ()

void                fo_simple_page_master_set_start_indent
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Sets the "start-indent" property of fo_fo to new_start_indent

fo_fo :

The FoFo object

new_start_indent :

The new "start-indent" property value

fo_simple_page_master_get_writing_mode ()

FoProperty*         fo_simple_page_master_get_writing_mode
                                                        (FoFo *fo_fo);

Gets the "writing-mode" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "writing-mode" property value.

fo_simple_page_master_set_writing_mode ()

void                fo_simple_page_master_set_writing_mode
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_fo to new_writing_mode

fo_fo :

The FoFo object

new_writing_mode :

The new "writing-mode" property value

fo_simple_page_master_region_name_get ()

FoFo*               fo_simple_page_master_region_name_get
                                                        (FoFo *simple_page_master,
                                                         const gchar *name);

Get the page region object for a page region name.

simple_page_master :

FoSimplePageMaster that has hash of regions

name :

Name of page region

Returns :

Page region object

fo_simple_page_master_region_name_add ()

void                fo_simple_page_master_region_name_add
                                                        (FoFo *simple_page_master,
                                                         const gchar *name,
                                                         FoFo *fo);

Add a page region object to the page region name/object hash maintained by simple_page_master.

simple_page_master :

FoSimplePageMaster

name :

Name of the page region

fo :

The page region object

Property Details

The "end-indent" property

  "end-indent"               FoProperty*           : Read

End Indent property.


The "margin-bottom" property

  "margin-bottom"            FoProperty*           : Read

Margin Bottom property.


The "margin-left" property

  "margin-left"              FoProperty*           : Read

Margin Left property.


The "margin-right" property

  "margin-right"             FoProperty*           : Read

Margin Right property.


The "margin-top" property

  "margin-top"               FoProperty*           : Read

Margin Top property.


The "master-name" property

  "master-name"              FoProperty*           : Read

Master Name property.


The "page-height" property

  "page-height"              FoProperty*           : Read

Page Height property.


The "page-width" property

  "page-width"               FoProperty*           : Read

Page Width property.


The "space-after" property

  "space-after"              FoProperty*           : Read

Space After property.


The "space-before" property

  "space-before"             FoProperty*           : Read

Space Before property.


The "start-indent" property

  "start-indent"             FoProperty*           : Read

Start Indent property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/xmlroff-single-page-master-reference.html0000644000175000017500000002465711156164735022021 00000000000000 single-page-master-reference

single-page-master-reference

single-page-master-reference

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoSinglePageMasterReference

Properties

  "master-reference"         FoProperty*           : Read

Description

Details

FoSinglePageMasterReference

typedef struct _FoSinglePageMasterReference FoSinglePageMasterReference;


FoSinglePageMasterReferenceClass

typedef struct _FoSinglePageMasterReferenceClass FoSinglePageMasterReferenceClass;


fo_single_page_master_reference_new ()

FoFo*               fo_single_page_master_reference_new (void);

Creates a new FoSinglePageMasterReference initialized to default value.

Returns :

the new FoSinglePageMasterReference.

fo_single_page_master_reference_get_master_reference ()

FoProperty*         fo_single_page_master_reference_get_master_reference
                                                        (FoFo *fo_fo);

Gets the "master-reference" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "master-reference" property value.

fo_single_page_master_reference_set_master_reference ()

void                fo_single_page_master_reference_set_master_reference
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_master_reference);

Sets the "master-reference" property of fo_fo to new_master_reference

fo_fo :

The FoFo object

new_master_reference :

The new "master-reference" property value

Property Details

The "master-reference" property

  "master-reference"         FoProperty*           : Read

Master Reference property.

xmlroff-0.6.2/docs/html/xmlroff-source-document.html0000644000175000017500000001472111156164735017504 00000000000000 source-document

source-document

source-document

Description

Details

FoPropertySourceDocument

typedef struct _FoPropertySourceDocument FoPropertySourceDocument;

Instance of the 'source-document' property.


FoPropertySourceDocumentClass

typedef struct _FoPropertySourceDocumentClass FoPropertySourceDocumentClass;

Class structure for the 'source-document' property.


fo_property_source_document_new ()

FoProperty*         fo_property_source_document_new     (void);

Creates a new FoPropertySourceDocument initialized to default value.

Returns :

the new FoPropertySourceDocument.

fo_property_source_document_get_initial ()

FoProperty*         fo_property_source_document_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-afterconditionality.html0000644000175000017500000001523211156164735021532 00000000000000 space-after.conditionality

space-after.conditionality

space-after.conditionality

Description

Details

FoPropertySpaceAfterCondity

typedef struct _FoPropertySpaceAfterCondity FoPropertySpaceAfterCondity;


FoPropertySpaceAfterCondityClass

typedef struct _FoPropertySpaceAfterCondityClass FoPropertySpaceAfterCondityClass;


fo_property_space_after_condity_new ()

FoProperty*         fo_property_space_after_condity_new (void);

Creates a new FoPropertySpaceAfterCondity initialized to default value.

Returns :

the new FoPropertySpaceAfterCondity.

fo_property_space_after_condity_get_initial ()

FoProperty*         fo_property_space_after_condity_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-after.html0000644000175000017500000001413011156164735016554 00000000000000 space-after

space-after

space-after

Description

Details

FoPropertySpaceAfter

typedef struct _FoPropertySpaceAfter FoPropertySpaceAfter;


FoPropertySpaceAfterClass

typedef struct _FoPropertySpaceAfterClass FoPropertySpaceAfterClass;


fo_property_space_after_new ()

FoProperty*         fo_property_space_after_new         (void);

Creates a new FoPropertySpaceAfter initialized to default value.

Returns :

the new FoPropertySpaceAfter.

fo_property_space_after_get_initial ()

FoProperty*         fo_property_space_after_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-aftermaximum.html0000644000175000017500000001506611156164735020163 00000000000000 space-after.maximum

space-after.maximum

space-after.maximum

Description

Details

FoPropertySpaceAfterMaximum

typedef struct _FoPropertySpaceAfterMaximum FoPropertySpaceAfterMaximum;


FoPropertySpaceAfterMaximumClass

typedef struct _FoPropertySpaceAfterMaximumClass FoPropertySpaceAfterMaximumClass;


fo_property_space_after_maximum_new ()

FoProperty*         fo_property_space_after_maximum_new (void);

Creates a new FoPropertySpaceAfterMaximum initialized to default value.

Returns :

the new FoPropertySpaceAfterMaximum.

fo_property_space_after_maximum_get_initial ()

FoProperty*         fo_property_space_after_maximum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-afterminimum.html0000644000175000017500000001501311156164735020151 00000000000000 space-after.minimum

space-after.minimum

space-after.minimum

Description

Details

FoPropertySpaceAfterMinimum

typedef struct _FoPropertySpaceAfterMinimum FoPropertySpaceAfterMinimum;


FoPropertySpaceAfterMinimumClass

typedef struct _FoPropertySpaceAfterMinimumClass FoPropertySpaceAfterMinimumClass;


fo_property_space_after_minimum_new ()

FoProperty*         fo_property_space_after_minimum_new (void);

Creates a new FoPropertySpaceAfterMinimum initialized to default value.

Returns :

the new FoPropertySpaceAfterMinimum.

fo_property_space_after_minimum_get_initial ()

FoProperty*         fo_property_space_after_minimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-afteroptimum.html0000644000175000017500000001504111156164735020171 00000000000000 space-after.optimum

space-after.optimum

space-after.optimum

Description

Details

FoPropertySpaceAfterOptimum

typedef struct _FoPropertySpaceAfterOptimum FoPropertySpaceAfterOptimum;


FoPropertySpaceAfterOptimumClass

typedef struct _FoPropertySpaceAfterOptimumClass FoPropertySpaceAfterOptimumClass;


fo_property_space_after_optimum_new ()

FoProperty*         fo_property_space_after_optimum_new (void);

Creates a new FoPropertySpaceAfterOptimum initialized to default value.

Returns :

the new FoPropertySpaceAfterOptimum.

fo_property_space_after_optimum_get_initial ()

FoProperty*         fo_property_space_after_optimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-afterprecedence.html0000644000175000017500000001544311156164735020602 00000000000000 space-after.precedence

space-after.precedence

space-after.precedence

Description

Details

FoPropertySpaceAfterPrecedence

typedef struct _FoPropertySpaceAfterPrecedence FoPropertySpaceAfterPrecedence;


FoPropertySpaceAfterPrecedenceClass

typedef struct _FoPropertySpaceAfterPrecedenceClass FoPropertySpaceAfterPrecedenceClass;


fo_property_space_after_precedence_new ()

FoProperty*         fo_property_space_after_precedence_new
                                                        (void);

Creates a new FoPropertySpaceAfterPrecedence initialized to default value.

Returns :

the new FoPropertySpaceAfterPrecedence.

fo_property_space_after_precedence_get_initial ()

FoProperty*         fo_property_space_after_precedence_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-beforeconditionality.html0000644000175000017500000001550011156164735021671 00000000000000 space-before.conditionality

space-before.conditionality

space-before.conditionality

Description

Details

FoPropertySpaceBeforeCondity

typedef struct _FoPropertySpaceBeforeCondity FoPropertySpaceBeforeCondity;


FoPropertySpaceBeforeCondityClass

typedef struct _FoPropertySpaceBeforeCondityClass FoPropertySpaceBeforeCondityClass;


fo_property_space_before_condity_new ()

FoProperty*         fo_property_space_before_condity_new
                                                        (void);

Creates a new FoPropertySpaceBeforeCondity initialized to default value.

Returns :

the new FoPropertySpaceBeforeCondity.

fo_property_space_before_condity_get_initial ()

FoProperty*         fo_property_space_before_condity_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-before.html0000644000175000017500000001441411156164735016722 00000000000000 space-before

space-before

space-before

Description

Details

FoPropertySpaceBefore

typedef struct _FoPropertySpaceBefore FoPropertySpaceBefore;


FoPropertySpaceBeforeClass

typedef struct _FoPropertySpaceBeforeClass FoPropertySpaceBeforeClass;


fo_property_space_before_new ()

FoProperty*         fo_property_space_before_new        (void);

Creates a new FoPropertySpaceBefore initialized to default value.

Returns :

the new FoPropertySpaceBefore.

fo_property_space_before_get_initial ()

FoProperty*         fo_property_space_before_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-beforemaximum.html0000644000175000017500000001533411156164735020322 00000000000000 space-before.maximum

space-before.maximum

space-before.maximum

Description

Details

FoPropertySpaceBeforeMaximum

typedef struct _FoPropertySpaceBeforeMaximum FoPropertySpaceBeforeMaximum;


FoPropertySpaceBeforeMaximumClass

typedef struct _FoPropertySpaceBeforeMaximumClass FoPropertySpaceBeforeMaximumClass;


fo_property_space_before_maximum_new ()

FoProperty*         fo_property_space_before_maximum_new
                                                        (void);

Creates a new FoPropertySpaceBeforeMaximum initialized to default value.

Returns :

the new FoPropertySpaceBeforeMaximum.

fo_property_space_before_maximum_get_initial ()

FoProperty*         fo_property_space_before_maximum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-beforeminimum.html0000644000175000017500000001526111156164735020317 00000000000000 space-before.minimum

space-before.minimum

space-before.minimum

Description

Details

FoPropertySpaceBeforeMinimum

typedef struct _FoPropertySpaceBeforeMinimum FoPropertySpaceBeforeMinimum;


FoPropertySpaceBeforeMinimumClass

typedef struct _FoPropertySpaceBeforeMinimumClass FoPropertySpaceBeforeMinimumClass;


fo_property_space_before_minimum_new ()

FoProperty*         fo_property_space_before_minimum_new
                                                        (void);

Creates a new FoPropertySpaceBeforeMinimum initialized to default value.

Returns :

the new FoPropertySpaceBeforeMinimum.

fo_property_space_before_minimum_get_initial ()

FoProperty*         fo_property_space_before_minimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-beforeoptimum.html0000644000175000017500000001530711156164735020337 00000000000000 space-before.optimum

space-before.optimum

space-before.optimum

Description

Details

FoPropertySpaceBeforeOptimum

typedef struct _FoPropertySpaceBeforeOptimum FoPropertySpaceBeforeOptimum;


FoPropertySpaceBeforeOptimumClass

typedef struct _FoPropertySpaceBeforeOptimumClass FoPropertySpaceBeforeOptimumClass;


fo_property_space_before_optimum_new ()

FoProperty*         fo_property_space_before_optimum_new
                                                        (void);

Creates a new FoPropertySpaceBeforeOptimum initialized to default value.

Returns :

the new FoPropertySpaceBeforeOptimum.

fo_property_space_before_optimum_get_initial ()

FoProperty*         fo_property_space_before_optimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-beforeprecedence.html0000644000175000017500000001551511156164735020743 00000000000000 space-before.precedence

space-before.precedence

space-before.precedence

Description

Details

FoPropertySpaceBeforePrecedence

typedef struct _FoPropertySpaceBeforePrecedence FoPropertySpaceBeforePrecedence;


FoPropertySpaceBeforePrecedenceClass

typedef struct _FoPropertySpaceBeforePrecedenceClass FoPropertySpaceBeforePrecedenceClass;


fo_property_space_before_precedence_new ()

FoProperty*         fo_property_space_before_precedence_new
                                                        (void);

Creates a new FoPropertySpaceBeforePrecedence initialized to default value.

Returns :

the new FoPropertySpaceBeforePrecedence.

fo_property_space_before_precedence_get_initial ()

FoProperty*         fo_property_space_before_precedence_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-endconditionality.html0000644000175000017500000001506211156164735021200 00000000000000 space-end.conditionality

space-end.conditionality

space-end.conditionality

Description

Details

FoPropertySpaceEndCondity

typedef struct _FoPropertySpaceEndCondity FoPropertySpaceEndCondity;


FoPropertySpaceEndCondityClass

typedef struct _FoPropertySpaceEndCondityClass FoPropertySpaceEndCondityClass;


fo_property_space_end_condity_new ()

FoProperty*         fo_property_space_end_condity_new   (void);

Creates a new FoPropertySpaceEndCondity initialized to default value.

Returns :

the new FoPropertySpaceEndCondity.

fo_property_space_end_condity_get_initial ()

FoProperty*         fo_property_space_end_condity_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-end.html0000644000175000017500000001402011156164735016217 00000000000000 space-end

space-end

space-end

Description

Details

FoPropertySpaceEnd

typedef struct _FoPropertySpaceEnd FoPropertySpaceEnd;


FoPropertySpaceEndClass

typedef struct _FoPropertySpaceEndClass FoPropertySpaceEndClass;


fo_property_space_end_new ()

FoProperty*         fo_property_space_end_new           (void);

Creates a new FoPropertySpaceEnd initialized to default value.

Returns :

the new FoPropertySpaceEnd.

fo_property_space_end_get_initial ()

FoProperty*         fo_property_space_end_get_initial   (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-endmaximum.html0000644000175000017500000001471611156164735017631 00000000000000 space-end.maximum

space-end.maximum

space-end.maximum

Description

Details

FoPropertySpaceEndMaximum

typedef struct _FoPropertySpaceEndMaximum FoPropertySpaceEndMaximum;


FoPropertySpaceEndMaximumClass

typedef struct _FoPropertySpaceEndMaximumClass FoPropertySpaceEndMaximumClass;


fo_property_space_end_maximum_new ()

FoProperty*         fo_property_space_end_maximum_new   (void);

Creates a new FoPropertySpaceEndMaximum initialized to default value.

Returns :

the new FoPropertySpaceEndMaximum.

fo_property_space_end_maximum_get_initial ()

FoProperty*         fo_property_space_end_maximum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-endminimum.html0000644000175000017500000001464311156164735017626 00000000000000 space-end.minimum

space-end.minimum

space-end.minimum

Description

Details

FoPropertySpaceEndMinimum

typedef struct _FoPropertySpaceEndMinimum FoPropertySpaceEndMinimum;


FoPropertySpaceEndMinimumClass

typedef struct _FoPropertySpaceEndMinimumClass FoPropertySpaceEndMinimumClass;


fo_property_space_end_minimum_new ()

FoProperty*         fo_property_space_end_minimum_new   (void);

Creates a new FoPropertySpaceEndMinimum initialized to default value.

Returns :

the new FoPropertySpaceEndMinimum.

fo_property_space_end_minimum_get_initial ()

FoProperty*         fo_property_space_end_minimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-endoptimum.html0000644000175000017500000001467111156164735017646 00000000000000 space-end.optimum

space-end.optimum

space-end.optimum

Description

Details

FoPropertySpaceEndOptimum

typedef struct _FoPropertySpaceEndOptimum FoPropertySpaceEndOptimum;


FoPropertySpaceEndOptimumClass

typedef struct _FoPropertySpaceEndOptimumClass FoPropertySpaceEndOptimumClass;


fo_property_space_end_optimum_new ()

FoProperty*         fo_property_space_end_optimum_new   (void);

Creates a new FoPropertySpaceEndOptimum initialized to default value.

Returns :

the new FoPropertySpaceEndOptimum.

fo_property_space_end_optimum_get_initial ()

FoProperty*         fo_property_space_end_optimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-endprecedence.html0000644000175000017500000001527211156164735020247 00000000000000 space-end.precedence

space-end.precedence

space-end.precedence

Description

Details

FoPropertySpaceEndPrecedence

typedef struct _FoPropertySpaceEndPrecedence FoPropertySpaceEndPrecedence;


FoPropertySpaceEndPrecedenceClass

typedef struct _FoPropertySpaceEndPrecedenceClass FoPropertySpaceEndPrecedenceClass;


fo_property_space_end_precedence_new ()

FoProperty*         fo_property_space_end_precedence_new
                                                        (void);

Creates a new FoPropertySpaceEndPrecedence initialized to default value.

Returns :

the new FoPropertySpaceEndPrecedence.

fo_property_space_end_precedence_get_initial ()

FoProperty*         fo_property_space_end_precedence_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-startconditionality.html0000644000175000017500000001523211156164735021566 00000000000000 space-start.conditionality

space-start.conditionality

space-start.conditionality

Description

Details

FoPropertySpaceStartCondity

typedef struct _FoPropertySpaceStartCondity FoPropertySpaceStartCondity;


FoPropertySpaceStartCondityClass

typedef struct _FoPropertySpaceStartCondityClass FoPropertySpaceStartCondityClass;


fo_property_space_start_condity_new ()

FoProperty*         fo_property_space_start_condity_new (void);

Creates a new FoPropertySpaceStartCondity initialized to default value.

Returns :

the new FoPropertySpaceStartCondity.

fo_property_space_start_condity_get_initial ()

FoProperty*         fo_property_space_start_condity_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-start.html0000644000175000017500000001414511156164735016616 00000000000000 space-start

space-start

space-start

Description

Details

FoPropertySpaceStart

typedef struct _FoPropertySpaceStart FoPropertySpaceStart;


FoPropertySpaceStartClass

typedef struct _FoPropertySpaceStartClass FoPropertySpaceStartClass;


fo_property_space_start_new ()

FoProperty*         fo_property_space_start_new         (void);

Creates a new FoPropertySpaceStart initialized to default value.

Returns :

the new FoPropertySpaceStart.

fo_property_space_start_get_initial ()

FoProperty*         fo_property_space_start_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-startmaximum.html0000644000175000017500000001506611156164735020217 00000000000000 space-start.maximum

space-start.maximum

space-start.maximum

Description

Details

FoPropertySpaceStartMaximum

typedef struct _FoPropertySpaceStartMaximum FoPropertySpaceStartMaximum;


FoPropertySpaceStartMaximumClass

typedef struct _FoPropertySpaceStartMaximumClass FoPropertySpaceStartMaximumClass;


fo_property_space_start_maximum_new ()

FoProperty*         fo_property_space_start_maximum_new (void);

Creates a new FoPropertySpaceStartMaximum initialized to default value.

Returns :

the new FoPropertySpaceStartMaximum.

fo_property_space_start_maximum_get_initial ()

FoProperty*         fo_property_space_start_maximum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-startminimum.html0000644000175000017500000001501311156164735020205 00000000000000 space-start.minimum

space-start.minimum

space-start.minimum

Description

Details

FoPropertySpaceStartMinimum

typedef struct _FoPropertySpaceStartMinimum FoPropertySpaceStartMinimum;


FoPropertySpaceStartMinimumClass

typedef struct _FoPropertySpaceStartMinimumClass FoPropertySpaceStartMinimumClass;


fo_property_space_start_minimum_new ()

FoProperty*         fo_property_space_start_minimum_new (void);

Creates a new FoPropertySpaceStartMinimum initialized to default value.

Returns :

the new FoPropertySpaceStartMinimum.

fo_property_space_start_minimum_get_initial ()

FoProperty*         fo_property_space_start_minimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-startoptimum.html0000644000175000017500000001504111156164735020225 00000000000000 space-start.optimum

space-start.optimum

space-start.optimum

Description

Details

FoPropertySpaceStartOptimum

typedef struct _FoPropertySpaceStartOptimum FoPropertySpaceStartOptimum;


FoPropertySpaceStartOptimumClass

typedef struct _FoPropertySpaceStartOptimumClass FoPropertySpaceStartOptimumClass;


fo_property_space_start_optimum_new ()

FoProperty*         fo_property_space_start_optimum_new (void);

Creates a new FoPropertySpaceStartOptimum initialized to default value.

Returns :

the new FoPropertySpaceStartOptimum.

fo_property_space_start_optimum_get_initial ()

FoProperty*         fo_property_space_start_optimum_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-space-startprecedence.html0000644000175000017500000001541311156164735020633 00000000000000 space-start.precedence

space-start.precedence

space-start.precedence

Description

Details

FoPropertySpaceStartPrecedence

typedef struct _FoPropertySpaceStartPrecedence FoPropertySpaceStartPrecedence;


FoPropertySpaceStartPrecedenceClass

typedef struct _FoPropertySpaceStartPrecedenceClass FoPropertySpaceStartPrecedenceClass;


fo_property_space_start_precedence_new ()

FoProperty*         fo_property_space_start_precedence_new
                                                        (void);

Creates a new FoPropertySpaceStartPrecedence initialized to default value.

Returns :

the new FoPropertySpaceStartPrecedence.

fo_property_space_start_precedence_get_initial ()

FoProperty*         fo_property_space_start_precedence_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-span.html0000644000175000017500000001356711156164735015340 00000000000000 span

span

span

Description

Details

FoPropertySpan

typedef struct _FoPropertySpan FoPropertySpan;

Instance of the 'span' property.


FoPropertySpanClass

typedef struct _FoPropertySpanClass FoPropertySpanClass;

Class structure for the 'span' property.


fo_property_span_new ()

FoProperty*         fo_property_span_new                (void);

Creates a new FoPropertySpan initialized to default value.

Returns :

the new FoPropertySpan.

fo_property_span_get_initial ()

FoProperty*         fo_property_span_get_initial        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-src.html0000644000175000017500000001333011156164735015152 00000000000000 src

src

src

Description

Details

FoPropertySrc

typedef struct _FoPropertySrc FoPropertySrc;


FoPropertySrcClass

typedef struct _FoPropertySrcClass FoPropertySrcClass;


fo_property_src_new ()

FoProperty*         fo_property_src_new                 (void);

Creates a new FoPropertySrc initialized to default value.

Returns :

the new FoPropertySrc.

fo_property_src_get_initial ()

FoProperty*         fo_property_src_get_initial         (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-start-indent.html0000644000175000017500000001427711156164735017012 00000000000000 start-indent

start-indent

start-indent

Description

Details

FoPropertyStartIndent

typedef struct _FoPropertyStartIndent FoPropertyStartIndent;


FoPropertyStartIndentClass

typedef struct _FoPropertyStartIndentClass FoPropertyStartIndentClass;


fo_property_start_indent_new ()

FoProperty*         fo_property_start_indent_new        (void);

Creates a new FoPropertyStartIndent initialized to default value.

Returns :

the new FoPropertyStartIndent.

fo_property_start_indent_get_initial ()

FoProperty*         fo_property_start_indent_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-static-content.html0000644000175000017500000002265511156164735017334 00000000000000 static-content

static-content

static-content

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoStaticContent

Properties

  "flow-name"                FoProperty*           : Read

Description

Details

FoStaticContent

typedef struct _FoStaticContent FoStaticContent;

Instance of the 'static-content' formatting object.


FoStaticContentClass

typedef struct _FoStaticContentClass FoStaticContentClass;

Class structure for the 'static-content' formatting object.


fo_static_content_new ()

FoFo*               fo_static_content_new               (void);

Creates a new FoStaticContent initialized to default value.

Returns :

the new FoStaticContent.

fo_static_content_get_flow_name ()

FoProperty*         fo_static_content_get_flow_name     (FoFo *fo_fo);

Gets the "flow-name" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "flow-name" property value.

fo_static_content_set_flow_name ()

void                fo_static_content_set_flow_name     (FoFo *fo_fo,
                                                         FoProperty *new_flow_name);

Sets the "flow-name" property of fo_fo to new_flow_name

fo_fo :

The FoFo object

new_flow_name :

The new "flow-name" property value

Property Details

The "flow-name" property

  "flow-name"                FoProperty*           : Read

Flow Name property.

xmlroff-0.6.2/docs/html/xmlroff-table-and-caption.html0000644000175000017500000066751111156164735017665 00000000000000 table-and-caption

table-and-caption

table-and-caption

Synopsis

                    FoTableAndCaption;
                    FoTableAndCaptionClass;
FoFo*               fo_table_and_caption_new            (void);

FoProperty*         fo_table_and_caption_get_background_color
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_table_and_caption_get_background_image
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_table_and_caption_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_table_and_caption_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_table_and_caption_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_table_and_caption_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_table_and_caption_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_table_and_caption_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_table_and_caption_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_table_and_caption_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_table_and_caption_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_table_and_caption_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_table_and_caption_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_table_and_caption_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_table_and_caption_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_table_and_caption_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_table_and_caption_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_table_and_caption_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_table_and_caption_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_table_and_caption_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_table_and_caption_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_table_and_caption_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_table_and_caption_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_table_and_caption_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_table_and_caption_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_table_and_caption_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_table_and_caption_get_break_after
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_break_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_break_after);
FoProperty*         fo_table_and_caption_get_break_before
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_break_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_break_before);
FoProperty*         fo_table_and_caption_get_end_indent (FoFo *fo_fo);
void                fo_table_and_caption_set_end_indent (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);
FoProperty*         fo_table_and_caption_get_id         (FoFo *fo_fo);
void                fo_table_and_caption_set_id         (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_table_and_caption_get_keep_together
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_together
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_table_and_caption_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_table_and_caption_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_table_and_caption_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_table_and_caption_get_keep_with_next
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_table_and_caption_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_table_and_caption_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_table_and_caption_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_table_and_caption_get_keep_with_previous
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_table_and_caption_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_table_and_caption_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_table_and_caption_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_table_and_caption_get_margin_bottom
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_margin_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);
FoProperty*         fo_table_and_caption_get_margin_left
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_margin_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);
FoProperty*         fo_table_and_caption_get_margin_right
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_margin_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);
FoProperty*         fo_table_and_caption_get_margin_top (FoFo *fo_fo);
void                fo_table_and_caption_set_margin_top (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);
FoProperty*         fo_table_and_caption_get_padding_after
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_table_and_caption_get_padding_before
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_table_and_caption_get_padding_bottom
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_table_and_caption_get_padding_end
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_padding_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_table_and_caption_get_padding_left
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_table_and_caption_get_padding_right
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_table_and_caption_get_padding_start
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_table_and_caption_get_padding_top
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_padding_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_table_and_caption_get_role       (FoFo *fo_fo);
void                fo_table_and_caption_set_role       (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_table_and_caption_get_source_document
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_table_and_caption_get_space_after
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_space_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_after);
FoProperty*         fo_table_and_caption_get_space_before
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_space_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_before);
FoProperty*         fo_table_and_caption_get_start_indent
                                                        (FoFo *fo_fo);
void                fo_table_and_caption_set_start_indent
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);
FoProperty*         fo_table_and_caption_get_text_align (FoFo *fo_fo);
void                fo_table_and_caption_set_text_align (FoFo *fo_fo,
                                                         FoProperty *new_text_align);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoTableAndCaption

Implemented Interfaces

FoTableAndCaption implements FoBlockFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "break-after"              FoProperty*           : Read
  "break-before"             FoProperty*           : Read
  "end-indent"               FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "margin-bottom"            FoProperty*           : Read
  "margin-left"              FoProperty*           : Read
  "margin-right"             FoProperty*           : Read
  "margin-top"               FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-after"              FoProperty*           : Read
  "space-before"             FoProperty*           : Read
  "start-indent"             FoProperty*           : Read
  "text-align"               FoProperty*           : Read

Description

Details

FoTableAndCaption

typedef struct _FoTableAndCaption FoTableAndCaption;


FoTableAndCaptionClass

typedef struct _FoTableAndCaptionClass FoTableAndCaptionClass;


fo_table_and_caption_new ()

FoFo*               fo_table_and_caption_new            (void);

Creates a new FoTableAndCaption initialized to default value.

Returns :

the new FoTableAndCaption.

fo_table_and_caption_get_background_color ()

FoProperty*         fo_table_and_caption_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_table_and_caption_set_background_color ()

void                fo_table_and_caption_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_table_and_caption_get_background_image ()

FoProperty*         fo_table_and_caption_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_table_and_caption_set_background_image ()

void                fo_table_and_caption_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_table_and_caption_get_border_after_color ()

FoProperty*         fo_table_and_caption_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_table_and_caption_set_border_after_color ()

void                fo_table_and_caption_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_table_and_caption_get_border_after_style ()

FoProperty*         fo_table_and_caption_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_table_and_caption_set_border_after_style ()

void                fo_table_and_caption_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_table_and_caption_get_border_after_width ()

FoProperty*         fo_table_and_caption_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_table_and_caption_set_border_after_width ()

void                fo_table_and_caption_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_table_and_caption_get_border_before_color ()

FoProperty*         fo_table_and_caption_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_table_and_caption_set_border_before_color ()

void                fo_table_and_caption_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_table_and_caption_get_border_before_style ()

FoProperty*         fo_table_and_caption_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_table_and_caption_set_border_before_style ()

void                fo_table_and_caption_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_table_and_caption_get_border_before_width ()

FoProperty*         fo_table_and_caption_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_table_and_caption_set_border_before_width ()

void                fo_table_and_caption_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_table_and_caption_get_border_bottom_color ()

FoProperty*         fo_table_and_caption_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_table_and_caption_set_border_bottom_color ()

void                fo_table_and_caption_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_table_and_caption_get_border_bottom_style ()

FoProperty*         fo_table_and_caption_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_table_and_caption_set_border_bottom_style ()

void                fo_table_and_caption_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_table_and_caption_get_border_bottom_width ()

FoProperty*         fo_table_and_caption_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_table_and_caption_set_border_bottom_width ()

void                fo_table_and_caption_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_table_and_caption_get_border_end_color ()

FoProperty*         fo_table_and_caption_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_table_and_caption_set_border_end_color ()

void                fo_table_and_caption_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_table_and_caption_get_border_end_style ()

FoProperty*         fo_table_and_caption_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_table_and_caption_set_border_end_style ()

void                fo_table_and_caption_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_table_and_caption_get_border_end_width ()

FoProperty*         fo_table_and_caption_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_table_and_caption_set_border_end_width ()

void                fo_table_and_caption_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_table_and_caption_get_border_left_color ()

FoProperty*         fo_table_and_caption_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_table_and_caption_set_border_left_color ()

void                fo_table_and_caption_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_table_and_caption_get_border_left_style ()

FoProperty*         fo_table_and_caption_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_table_and_caption_set_border_left_style ()

void                fo_table_and_caption_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_table_and_caption_get_border_left_width ()

FoProperty*         fo_table_and_caption_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_table_and_caption_set_border_left_width ()

void                fo_table_and_caption_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_table_and_caption_get_border_right_color ()

FoProperty*         fo_table_and_caption_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_table_and_caption_set_border_right_color ()

void                fo_table_and_caption_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_table_and_caption_get_border_right_style ()

FoProperty*         fo_table_and_caption_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_table_and_caption_set_border_right_style ()

void                fo_table_and_caption_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_table_and_caption_get_border_right_width ()

FoProperty*         fo_table_and_caption_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_table_and_caption_set_border_right_width ()

void                fo_table_and_caption_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_table_and_caption_get_border_start_color ()

FoProperty*         fo_table_and_caption_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_table_and_caption_set_border_start_color ()

void                fo_table_and_caption_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_table_and_caption_get_border_start_style ()

FoProperty*         fo_table_and_caption_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_table_and_caption_set_border_start_style ()

void                fo_table_and_caption_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_table_and_caption_get_border_start_width ()

FoProperty*         fo_table_and_caption_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_table_and_caption_set_border_start_width ()

void                fo_table_and_caption_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_table_and_caption_get_border_top_color ()

FoProperty*         fo_table_and_caption_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_table_and_caption_set_border_top_color ()

void                fo_table_and_caption_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_table_and_caption_get_border_top_style ()

FoProperty*         fo_table_and_caption_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_table_and_caption_set_border_top_style ()

void                fo_table_and_caption_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_table_and_caption_get_border_top_width ()

FoProperty*         fo_table_and_caption_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_table_and_caption_set_border_top_width ()

void                fo_table_and_caption_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_table_and_caption_get_break_after ()

FoProperty*         fo_table_and_caption_get_break_after
                                                        (FoFo *fo_fo);

Gets the "break-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-after" property value

fo_table_and_caption_set_break_after ()

void                fo_table_and_caption_set_break_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_break_after);

Sets the "break-after" property of fo_fo to new_break_after

fo_fo :

The FoFo object

new_break_after :

The new "break-after" property value

fo_table_and_caption_get_break_before ()

FoProperty*         fo_table_and_caption_get_break_before
                                                        (FoFo *fo_fo);

Gets the "break-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-before" property value

fo_table_and_caption_set_break_before ()

void                fo_table_and_caption_set_break_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_break_before);

Sets the "break-before" property of fo_fo to new_break_before

fo_fo :

The FoFo object

new_break_before :

The new "break-before" property value

fo_table_and_caption_get_end_indent ()

FoProperty*         fo_table_and_caption_get_end_indent (FoFo *fo_fo);

Gets the "end-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "end-indent" property value

fo_table_and_caption_set_end_indent ()

void                fo_table_and_caption_set_end_indent (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);

Sets the "end-indent" property of fo_fo to new_end_indent

fo_fo :

The FoFo object

new_end_indent :

The new "end-indent" property value

fo_table_and_caption_get_id ()

FoProperty*         fo_table_and_caption_get_id         (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_table_and_caption_set_id ()

void                fo_table_and_caption_set_id         (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_table_and_caption_get_keep_together ()

FoProperty*         fo_table_and_caption_get_keep_together
                                                        (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_table_and_caption_set_keep_together ()

void                fo_table_and_caption_set_keep_together
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_table_and_caption_get_keep_together_within_column ()

FoProperty*         fo_table_and_caption_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_table_and_caption_set_keep_together_within_column ()

void                fo_table_and_caption_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_table_and_caption_get_keep_together_within_line ()

FoProperty*         fo_table_and_caption_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_table_and_caption_set_keep_together_within_line ()

void                fo_table_and_caption_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_table_and_caption_get_keep_together_within_page ()

FoProperty*         fo_table_and_caption_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_table_and_caption_set_keep_together_within_page ()

void                fo_table_and_caption_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_table_and_caption_get_keep_with_next ()

FoProperty*         fo_table_and_caption_get_keep_with_next
                                                        (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_table_and_caption_set_keep_with_next ()

void                fo_table_and_caption_set_keep_with_next
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_table_and_caption_get_keep_with_next_within_column ()

FoProperty*         fo_table_and_caption_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_table_and_caption_set_keep_with_next_within_column ()

void                fo_table_and_caption_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_table_and_caption_get_keep_with_next_within_line ()

FoProperty*         fo_table_and_caption_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_table_and_caption_set_keep_with_next_within_line ()

void                fo_table_and_caption_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_table_and_caption_get_keep_with_next_within_page ()

FoProperty*         fo_table_and_caption_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_table_and_caption_set_keep_with_next_within_page ()

void                fo_table_and_caption_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_table_and_caption_get_keep_with_previous ()

FoProperty*         fo_table_and_caption_get_keep_with_previous
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_table_and_caption_set_keep_with_previous ()

void                fo_table_and_caption_set_keep_with_previous
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_table_and_caption_get_keep_with_previous_within_column ()

FoProperty*         fo_table_and_caption_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_table_and_caption_set_keep_with_previous_within_column ()

void                fo_table_and_caption_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_table_and_caption_get_keep_with_previous_within_line ()

FoProperty*         fo_table_and_caption_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_table_and_caption_set_keep_with_previous_within_line ()

void                fo_table_and_caption_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_table_and_caption_get_keep_with_previous_within_page ()

FoProperty*         fo_table_and_caption_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_table_and_caption_set_keep_with_previous_within_page ()

void                fo_table_and_caption_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_table_and_caption_get_margin_bottom ()

FoProperty*         fo_table_and_caption_get_margin_bottom
                                                        (FoFo *fo_fo);

Gets the "margin-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-bottom" property value

fo_table_and_caption_set_margin_bottom ()

void                fo_table_and_caption_set_margin_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);

Sets the "margin-bottom" property of fo_fo to new_margin_bottom

fo_fo :

The FoFo object

new_margin_bottom :

The new "margin-bottom" property value

fo_table_and_caption_get_margin_left ()

FoProperty*         fo_table_and_caption_get_margin_left
                                                        (FoFo *fo_fo);

Gets the "margin-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-left" property value

fo_table_and_caption_set_margin_left ()

void                fo_table_and_caption_set_margin_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);

Sets the "margin-left" property of fo_fo to new_margin_left

fo_fo :

The FoFo object

new_margin_left :

The new "margin-left" property value

fo_table_and_caption_get_margin_right ()

FoProperty*         fo_table_and_caption_get_margin_right
                                                        (FoFo *fo_fo);

Gets the "margin-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-right" property value

fo_table_and_caption_set_margin_right ()

void                fo_table_and_caption_set_margin_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);

Sets the "margin-right" property of fo_fo to new_margin_right

fo_fo :

The FoFo object

new_margin_right :

The new "margin-right" property value

fo_table_and_caption_get_margin_top ()

FoProperty*         fo_table_and_caption_get_margin_top (FoFo *fo_fo);

Gets the "margin-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-top" property value

fo_table_and_caption_set_margin_top ()

void                fo_table_and_caption_set_margin_top (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);

Sets the "margin-top" property of fo_fo to new_margin_top

fo_fo :

The FoFo object

new_margin_top :

The new "margin-top" property value

fo_table_and_caption_get_padding_after ()

FoProperty*         fo_table_and_caption_get_padding_after
                                                        (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_table_and_caption_set_padding_after ()

void                fo_table_and_caption_set_padding_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_table_and_caption_get_padding_before ()

FoProperty*         fo_table_and_caption_get_padding_before
                                                        (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_table_and_caption_set_padding_before ()

void                fo_table_and_caption_set_padding_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_table_and_caption_get_padding_bottom ()

FoProperty*         fo_table_and_caption_get_padding_bottom
                                                        (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_table_and_caption_set_padding_bottom ()

void                fo_table_and_caption_set_padding_bottom
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_table_and_caption_get_padding_end ()

FoProperty*         fo_table_and_caption_get_padding_end
                                                        (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_table_and_caption_set_padding_end ()

void                fo_table_and_caption_set_padding_end
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_table_and_caption_get_padding_left ()

FoProperty*         fo_table_and_caption_get_padding_left
                                                        (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_table_and_caption_set_padding_left ()

void                fo_table_and_caption_set_padding_left
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_table_and_caption_get_padding_right ()

FoProperty*         fo_table_and_caption_get_padding_right
                                                        (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_table_and_caption_set_padding_right ()

void                fo_table_and_caption_set_padding_right
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_table_and_caption_get_padding_start ()

FoProperty*         fo_table_and_caption_get_padding_start
                                                        (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_table_and_caption_set_padding_start ()

void                fo_table_and_caption_set_padding_start
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_table_and_caption_get_padding_top ()

FoProperty*         fo_table_and_caption_get_padding_top
                                                        (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_table_and_caption_set_padding_top ()

void                fo_table_and_caption_set_padding_top
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_table_and_caption_get_role ()

FoProperty*         fo_table_and_caption_get_role       (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_table_and_caption_set_role ()

void                fo_table_and_caption_set_role       (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_table_and_caption_get_source_document ()

FoProperty*         fo_table_and_caption_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_table_and_caption_set_source_document ()

void                fo_table_and_caption_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_table_and_caption_get_space_after ()

FoProperty*         fo_table_and_caption_get_space_after
                                                        (FoFo *fo_fo);

Gets the "space-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-after" property value

fo_table_and_caption_set_space_after ()

void                fo_table_and_caption_set_space_after
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_after);

Sets the "space-after" property of fo_fo to new_space_after

fo_fo :

The FoFo object

new_space_after :

The new "space-after" property value

fo_table_and_caption_get_space_before ()

FoProperty*         fo_table_and_caption_get_space_before
                                                        (FoFo *fo_fo);

Gets the "space-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-before" property value

fo_table_and_caption_set_space_before ()

void                fo_table_and_caption_set_space_before
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_space_before);

Sets the "space-before" property of fo_fo to new_space_before

fo_fo :

The FoFo object

new_space_before :

The new "space-before" property value

fo_table_and_caption_get_start_indent ()

FoProperty*         fo_table_and_caption_get_start_indent
                                                        (FoFo *fo_fo);

Gets the "start-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "start-indent" property value

fo_table_and_caption_set_start_indent ()

void                fo_table_and_caption_set_start_indent
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Sets the "start-indent" property of fo_fo to new_start_indent

fo_fo :

The FoFo object

new_start_indent :

The new "start-indent" property value

fo_table_and_caption_get_text_align ()

FoProperty*         fo_table_and_caption_get_text_align (FoFo *fo_fo);

Gets the "text-align" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "text-align" property value

fo_table_and_caption_set_text_align ()

void                fo_table_and_caption_set_text_align (FoFo *fo_fo,
                                                         FoProperty *new_text_align);

Sets the "text-align" property of fo_fo to new_text_align

fo_fo :

The FoFo object

new_text_align :

The new "text-align" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "break-after" property

  "break-after"              FoProperty*           : Read

Break After property.


The "break-before" property

  "break-before"             FoProperty*           : Read

Break Before property.


The "end-indent" property

  "end-indent"               FoProperty*           : Read

End Indent property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "margin-bottom" property

  "margin-bottom"            FoProperty*           : Read

Margin Bottom property.


The "margin-left" property

  "margin-left"              FoProperty*           : Read

Margin Left property.


The "margin-right" property

  "margin-right"             FoProperty*           : Read

Margin Right property.


The "margin-top" property

  "margin-top"               FoProperty*           : Read

Margin Top property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-after" property

  "space-after"              FoProperty*           : Read

Space After property.


The "space-before" property

  "space-before"             FoProperty*           : Read

Space Before property.


The "start-indent" property

  "start-indent"             FoProperty*           : Read

Start Indent property.


The "text-align" property

  "text-align"               FoProperty*           : Read

Text Align property.

xmlroff-0.6.2/docs/html/xmlroff-table-body.html0000644000175000017500000043727211156164735016424 00000000000000 table-body

table-body

table-body

Synopsis

                    FoTableBody;
                    FoTableBodyClass;
FoFo*               fo_table_body_new                   (void);

FoProperty*         fo_table_body_get_background_color  (FoFo *fo_fo);
void                fo_table_body_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_table_body_get_background_image  (FoFo *fo_fo);
void                fo_table_body_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_table_body_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_table_body_get_border_after_precedence
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);
FoProperty*         fo_table_body_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_table_body_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_table_body_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_table_body_get_border_before_precedence
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);
FoProperty*         fo_table_body_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_table_body_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_table_body_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_table_body_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_table_body_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_table_body_get_border_end_color  (FoFo *fo_fo);
void                fo_table_body_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_table_body_get_border_end_precedence
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);
FoProperty*         fo_table_body_get_border_end_style  (FoFo *fo_fo);
void                fo_table_body_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_table_body_get_border_end_width  (FoFo *fo_fo);
void                fo_table_body_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_table_body_get_border_left_color (FoFo *fo_fo);
void                fo_table_body_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_table_body_get_border_left_style (FoFo *fo_fo);
void                fo_table_body_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_table_body_get_border_left_width (FoFo *fo_fo);
void                fo_table_body_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_table_body_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_table_body_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_table_body_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_table_body_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_table_body_get_border_start_precedence
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);
FoProperty*         fo_table_body_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_table_body_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_table_body_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_table_body_get_border_top_color  (FoFo *fo_fo);
void                fo_table_body_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_table_body_get_border_top_style  (FoFo *fo_fo);
void                fo_table_body_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_table_body_get_border_top_width  (FoFo *fo_fo);
void                fo_table_body_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_table_body_get_id                (FoFo *fo_fo);
void                fo_table_body_set_id                (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_table_body_get_padding_after     (FoFo *fo_fo);
void                fo_table_body_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_table_body_get_padding_before    (FoFo *fo_fo);
void                fo_table_body_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_table_body_get_padding_bottom    (FoFo *fo_fo);
void                fo_table_body_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_table_body_get_padding_end       (FoFo *fo_fo);
void                fo_table_body_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_table_body_get_padding_left      (FoFo *fo_fo);
void                fo_table_body_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_table_body_get_padding_right     (FoFo *fo_fo);
void                fo_table_body_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_table_body_get_padding_start     (FoFo *fo_fo);
void                fo_table_body_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_table_body_get_padding_top       (FoFo *fo_fo);
void                fo_table_body_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_table_body_get_role              (FoFo *fo_fo);
void                fo_table_body_set_role              (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_table_body_get_source_document   (FoFo *fo_fo);
void                fo_table_body_set_source_document   (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoTablePart
                                 +----FoTableBody

Implemented Interfaces

FoTableBody implements FoTableBorderFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-precedence"  FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-precedence" FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-precedence"    FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-precedence"  FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoTableBody

typedef struct _FoTableBody FoTableBody;

Instance of the 'table-body' formatting object.


FoTableBodyClass

typedef struct _FoTableBodyClass FoTableBodyClass;

Class structure for the 'table-body' formatting object.


fo_table_body_new ()

FoFo*               fo_table_body_new                   (void);

Creates a new FoTableBody initialized to default value.

Returns :

the new FoTableBody.

fo_table_body_get_background_color ()

FoProperty*         fo_table_body_get_background_color  (FoFo *fo_fo);

Gets the "background-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-color" property value.

fo_table_body_set_background_color ()

void                fo_table_body_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color.

fo_fo :

The FoFo object.

new_background_color :

The new "background-color" property value.

fo_table_body_get_background_image ()

FoProperty*         fo_table_body_get_background_image  (FoFo *fo_fo);

Gets the "background-image" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "background-image" property value.

fo_table_body_set_background_image ()

void                fo_table_body_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image.

fo_fo :

The FoFo object.

new_background_image :

The new "background-image" property value.

fo_table_body_get_border_after_color ()

FoProperty*         fo_table_body_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-color" property value.

fo_table_body_set_border_after_color ()

void                fo_table_body_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color.

fo_fo :

The FoFo object.

new_border_after_color :

The new "border-after-color" property value.

fo_table_body_get_border_after_precedence ()

FoProperty*         fo_table_body_get_border_after_precedence
                                                        (FoFo *fo_fo);

Gets the "border-after-precedence" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-precedence" property value.

fo_table_body_set_border_after_precedence ()

void                fo_table_body_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);

Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence.

fo_fo :

The FoFo object.

new_border_after_precedence :

The new "border-after-precedence" property value.

fo_table_body_get_border_after_style ()

FoProperty*         fo_table_body_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-style" property value.

fo_table_body_set_border_after_style ()

void                fo_table_body_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style.

fo_fo :

The FoFo object.

new_border_after_style :

The new "border-after-style" property value.

fo_table_body_get_border_after_width ()

FoProperty*         fo_table_body_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-after-width" property value.

fo_table_body_set_border_after_width ()

void                fo_table_body_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width.

fo_fo :

The FoFo object.

new_border_after_width :

The new "border-after-width" property value.

fo_table_body_get_border_before_color ()

FoProperty*         fo_table_body_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-color" property value.

fo_table_body_set_border_before_color ()

void                fo_table_body_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color.

fo_fo :

The FoFo object.

new_border_before_color :

The new "border-before-color" property value.

fo_table_body_get_border_before_precedence ()

FoProperty*         fo_table_body_get_border_before_precedence
                                                        (FoFo *fo_fo);

Gets the "border-before-precedence" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-precedence" property value.

fo_table_body_set_border_before_precedence ()

void                fo_table_body_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);

Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence.

fo_fo :

The FoFo object.

new_border_before_precedence :

The new "border-before-precedence" property value.

fo_table_body_get_border_before_style ()

FoProperty*         fo_table_body_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-style" property value.

fo_table_body_set_border_before_style ()

void                fo_table_body_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style.

fo_fo :

The FoFo object.

new_border_before_style :

The new "border-before-style" property value.

fo_table_body_get_border_before_width ()

FoProperty*         fo_table_body_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-before-width" property value.

fo_table_body_set_border_before_width ()

void                fo_table_body_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width.

fo_fo :

The FoFo object.

new_border_before_width :

The new "border-before-width" property value.

fo_table_body_get_border_bottom_color ()

FoProperty*         fo_table_body_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-color" property value.

fo_table_body_set_border_bottom_color ()

void                fo_table_body_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color.

fo_fo :

The FoFo object.

new_border_bottom_color :

The new "border-bottom-color" property value.

fo_table_body_get_border_bottom_style ()

FoProperty*         fo_table_body_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-style" property value.

fo_table_body_set_border_bottom_style ()

void                fo_table_body_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style.

fo_fo :

The FoFo object.

new_border_bottom_style :

The new "border-bottom-style" property value.

fo_table_body_get_border_bottom_width ()

FoProperty*         fo_table_body_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-bottom-width" property value.

fo_table_body_set_border_bottom_width ()

void                fo_table_body_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width.

fo_fo :

The FoFo object.

new_border_bottom_width :

The new "border-bottom-width" property value.

fo_table_body_get_border_end_color ()

FoProperty*         fo_table_body_get_border_end_color  (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-color" property value.

fo_table_body_set_border_end_color ()

void                fo_table_body_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color.

fo_fo :

The FoFo object.

new_border_end_color :

The new "border-end-color" property value.

fo_table_body_get_border_end_precedence ()

FoProperty*         fo_table_body_get_border_end_precedence
                                                        (FoFo *fo_fo);

Gets the "border-end-precedence" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-precedence" property value.

fo_table_body_set_border_end_precedence ()

void                fo_table_body_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);

Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence.

fo_fo :

The FoFo object.

new_border_end_precedence :

The new "border-end-precedence" property value.

fo_table_body_get_border_end_style ()

FoProperty*         fo_table_body_get_border_end_style  (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-style" property value.

fo_table_body_set_border_end_style ()

void                fo_table_body_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style.

fo_fo :

The FoFo object.

new_border_end_style :

The new "border-end-style" property value.

fo_table_body_get_border_end_width ()

FoProperty*         fo_table_body_get_border_end_width  (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-end-width" property value.

fo_table_body_set_border_end_width ()

void                fo_table_body_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width.

fo_fo :

The FoFo object.

new_border_end_width :

The new "border-end-width" property value.

fo_table_body_get_border_left_color ()

FoProperty*         fo_table_body_get_border_left_color (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-color" property value.

fo_table_body_set_border_left_color ()

void                fo_table_body_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color.

fo_fo :

The FoFo object.

new_border_left_color :

The new "border-left-color" property value.

fo_table_body_get_border_left_style ()

FoProperty*         fo_table_body_get_border_left_style (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-style" property value.

fo_table_body_set_border_left_style ()

void                fo_table_body_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style.

fo_fo :

The FoFo object.

new_border_left_style :

The new "border-left-style" property value.

fo_table_body_get_border_left_width ()

FoProperty*         fo_table_body_get_border_left_width (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-left-width" property value.

fo_table_body_set_border_left_width ()

void                fo_table_body_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width.

fo_fo :

The FoFo object.

new_border_left_width :

The new "border-left-width" property value.

fo_table_body_get_border_right_color ()

FoProperty*         fo_table_body_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-color" property value.

fo_table_body_set_border_right_color ()

void                fo_table_body_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color.

fo_fo :

The FoFo object.

new_border_right_color :

The new "border-right-color" property value.

fo_table_body_get_border_right_style ()

FoProperty*         fo_table_body_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-style" property value.

fo_table_body_set_border_right_style ()

void                fo_table_body_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style.

fo_fo :

The FoFo object.

new_border_right_style :

The new "border-right-style" property value.

fo_table_body_get_border_right_width ()

FoProperty*         fo_table_body_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-right-width" property value.

fo_table_body_set_border_right_width ()

void                fo_table_body_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width.

fo_fo :

The FoFo object.

new_border_right_width :

The new "border-right-width" property value.

fo_table_body_get_border_start_color ()

FoProperty*         fo_table_body_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-color" property value.

fo_table_body_set_border_start_color ()

void                fo_table_body_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color.

fo_fo :

The FoFo object.

new_border_start_color :

The new "border-start-color" property value.

fo_table_body_get_border_start_precedence ()

FoProperty*         fo_table_body_get_border_start_precedence
                                                        (FoFo *fo_fo);

Gets the "border-start-precedence" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-precedence" property value.

fo_table_body_set_border_start_precedence ()

void                fo_table_body_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);

Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence.

fo_fo :

The FoFo object.

new_border_start_precedence :

The new "border-start-precedence" property value.

fo_table_body_get_border_start_style ()

FoProperty*         fo_table_body_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-style" property value.

fo_table_body_set_border_start_style ()

void                fo_table_body_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style.

fo_fo :

The FoFo object.

new_border_start_style :

The new "border-start-style" property value.

fo_table_body_get_border_start_width ()

FoProperty*         fo_table_body_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-start-width" property value.

fo_table_body_set_border_start_width ()

void                fo_table_body_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width.

fo_fo :

The FoFo object.

new_border_start_width :

The new "border-start-width" property value.

fo_table_body_get_border_top_color ()

FoProperty*         fo_table_body_get_border_top_color  (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-color" property value.

fo_table_body_set_border_top_color ()

void                fo_table_body_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color.

fo_fo :

The FoFo object.

new_border_top_color :

The new "border-top-color" property value.

fo_table_body_get_border_top_style ()

FoProperty*         fo_table_body_get_border_top_style  (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-style" property value.

fo_table_body_set_border_top_style ()

void                fo_table_body_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style.

fo_fo :

The FoFo object.

new_border_top_style :

The new "border-top-style" property value.

fo_table_body_get_border_top_width ()

FoProperty*         fo_table_body_get_border_top_width  (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "border-top-width" property value.

fo_table_body_set_border_top_width ()

void                fo_table_body_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width.

fo_fo :

The FoFo object.

new_border_top_width :

The new "border-top-width" property value.

fo_table_body_get_id ()

FoProperty*         fo_table_body_get_id                (FoFo *fo_fo);

Gets the "id" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "id" property value.

fo_table_body_set_id ()

void                fo_table_body_set_id                (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id.

fo_fo :

The FoFo object.

new_id :

The new "id" property value.

fo_table_body_get_padding_after ()

FoProperty*         fo_table_body_get_padding_after     (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-after" property value.

fo_table_body_set_padding_after ()

void                fo_table_body_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after.

fo_fo :

The FoFo object.

new_padding_after :

The new "padding-after" property value.

fo_table_body_get_padding_before ()

FoProperty*         fo_table_body_get_padding_before    (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-before" property value.

fo_table_body_set_padding_before ()

void                fo_table_body_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before.

fo_fo :

The FoFo object.

new_padding_before :

The new "padding-before" property value.

fo_table_body_get_padding_bottom ()

FoProperty*         fo_table_body_get_padding_bottom    (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-bottom" property value.

fo_table_body_set_padding_bottom ()

void                fo_table_body_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom.

fo_fo :

The FoFo object.

new_padding_bottom :

The new "padding-bottom" property value.

fo_table_body_get_padding_end ()

FoProperty*         fo_table_body_get_padding_end       (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-end" property value.

fo_table_body_set_padding_end ()

void                fo_table_body_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end.

fo_fo :

The FoFo object.

new_padding_end :

The new "padding-end" property value.

fo_table_body_get_padding_left ()

FoProperty*         fo_table_body_get_padding_left      (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-left" property value.

fo_table_body_set_padding_left ()

void                fo_table_body_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left.

fo_fo :

The FoFo object.

new_padding_left :

The new "padding-left" property value.

fo_table_body_get_padding_right ()

FoProperty*         fo_table_body_get_padding_right     (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-right" property value.

fo_table_body_set_padding_right ()

void                fo_table_body_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right.

fo_fo :

The FoFo object.

new_padding_right :

The new "padding-right" property value.

fo_table_body_get_padding_start ()

FoProperty*         fo_table_body_get_padding_start     (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-start" property value.

fo_table_body_set_padding_start ()

void                fo_table_body_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start.

fo_fo :

The FoFo object.

new_padding_start :

The new "padding-start" property value.

fo_table_body_get_padding_top ()

FoProperty*         fo_table_body_get_padding_top       (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "padding-top" property value.

fo_table_body_set_padding_top ()

void                fo_table_body_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top.

fo_fo :

The FoFo object.

new_padding_top :

The new "padding-top" property value.

fo_table_body_get_role ()

FoProperty*         fo_table_body_get_role              (FoFo *fo_fo);

Gets the "role" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "role" property value.

fo_table_body_set_role ()

void                fo_table_body_set_role              (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role.

fo_fo :

The FoFo object.

new_role :

The new "role" property value.

fo_table_body_get_source_document ()

FoProperty*         fo_table_body_get_source_document   (FoFo *fo_fo);

Gets the "source-document" property of fo_fo.

fo_fo :

The FoFo object.

Returns :

The "source-document" property value.

fo_table_body_set_source_document ()

void                fo_table_body_set_source_document   (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document.

fo_fo :

The FoFo object.

new_source_document :

The new "source-document" property value.

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-precedence" property

  "border-after-precedence"  FoProperty*           : Read

Border After Precedence property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-precedence" property

  "border-before-precedence" FoProperty*           : Read

Border Before Precedence property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-precedence" property

  "border-end-precedence"    FoProperty*           : Read

Border End Precedence property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-precedence" property

  "border-start-precedence"  FoProperty*           : Read

Border Start Precedence property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-table-caption.html0000644000175000017500000050155611156164735017121 00000000000000 table-caption

table-caption

table-caption

Synopsis

                    FoTableCaption;
                    FoTableCaptionClass;
FoFo*               fo_table_caption_new                (void);

FoProperty*         fo_table_caption_get_background_color
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_table_caption_get_background_image
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_table_caption_get_block_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_table_caption_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_table_caption_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_table_caption_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_table_caption_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_table_caption_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_table_caption_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_table_caption_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_table_caption_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_table_caption_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_table_caption_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_table_caption_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_table_caption_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_table_caption_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_table_caption_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_table_caption_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_table_caption_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_table_caption_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_table_caption_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_table_caption_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_table_caption_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_table_caption_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_table_caption_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_table_caption_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_table_caption_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_table_caption_get_height         (FoFo *fo_fo);
void                fo_table_caption_set_height         (FoFo *fo_fo,
                                                         FoProperty *new_height);
FoProperty*         fo_table_caption_get_id             (FoFo *fo_fo);
void                fo_table_caption_set_id             (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_table_caption_get_inline_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);
FoProperty*         fo_table_caption_get_keep_together  (FoFo *fo_fo);
void                fo_table_caption_set_keep_together  (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_table_caption_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_table_caption_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_table_caption_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_table_caption_get_padding_after  (FoFo *fo_fo);
void                fo_table_caption_set_padding_after  (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_table_caption_get_padding_before (FoFo *fo_fo);
void                fo_table_caption_set_padding_before (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_table_caption_get_padding_bottom (FoFo *fo_fo);
void                fo_table_caption_set_padding_bottom (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_table_caption_get_padding_end    (FoFo *fo_fo);
void                fo_table_caption_set_padding_end    (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_table_caption_get_padding_left   (FoFo *fo_fo);
void                fo_table_caption_set_padding_left   (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_table_caption_get_padding_right  (FoFo *fo_fo);
void                fo_table_caption_set_padding_right  (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_table_caption_get_padding_start  (FoFo *fo_fo);
void                fo_table_caption_set_padding_start  (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_table_caption_get_padding_top    (FoFo *fo_fo);
void                fo_table_caption_set_padding_top    (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_table_caption_get_role           (FoFo *fo_fo);
void                fo_table_caption_set_role           (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_table_caption_get_source_document
                                                        (FoFo *fo_fo);
void                fo_table_caption_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_table_caption_get_width          (FoFo *fo_fo);
void                fo_table_caption_set_width          (FoFo *fo_fo,
                                                         FoProperty *new_width);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoTableCaption

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "inline-progression-dimension" FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "width"                    FoProperty*           : Read

Description

Details

FoTableCaption

typedef struct _FoTableCaption FoTableCaption;


FoTableCaptionClass

typedef struct _FoTableCaptionClass FoTableCaptionClass;


fo_table_caption_new ()

FoFo*               fo_table_caption_new                (void);

Creates a new FoTableCaption initialized to default value.

Returns :

the new FoTableCaption.

fo_table_caption_get_background_color ()

FoProperty*         fo_table_caption_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_table_caption_set_background_color ()

void                fo_table_caption_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_table_caption_get_background_image ()

FoProperty*         fo_table_caption_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_table_caption_set_background_image ()

void                fo_table_caption_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_table_caption_get_block_progression_dimension ()

FoProperty*         fo_table_caption_get_block_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "block-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "block-progression-dimension" property value

fo_table_caption_set_block_progression_dimension ()

void                fo_table_caption_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension

fo_fo :

The FoFo object

new_block_progression_dimension :

The new "block-progression-dimension" property value

fo_table_caption_get_border_after_color ()

FoProperty*         fo_table_caption_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_table_caption_set_border_after_color ()

void                fo_table_caption_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_table_caption_get_border_after_style ()

FoProperty*         fo_table_caption_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_table_caption_set_border_after_style ()

void                fo_table_caption_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_table_caption_get_border_after_width ()

FoProperty*         fo_table_caption_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_table_caption_set_border_after_width ()

void                fo_table_caption_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_table_caption_get_border_before_color ()

FoProperty*         fo_table_caption_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_table_caption_set_border_before_color ()

void                fo_table_caption_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_table_caption_get_border_before_style ()

FoProperty*         fo_table_caption_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_table_caption_set_border_before_style ()

void                fo_table_caption_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_table_caption_get_border_before_width ()

FoProperty*         fo_table_caption_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_table_caption_set_border_before_width ()

void                fo_table_caption_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_table_caption_get_border_bottom_color ()

FoProperty*         fo_table_caption_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_table_caption_set_border_bottom_color ()

void                fo_table_caption_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_table_caption_get_border_bottom_style ()

FoProperty*         fo_table_caption_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_table_caption_set_border_bottom_style ()

void                fo_table_caption_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_table_caption_get_border_bottom_width ()

FoProperty*         fo_table_caption_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_table_caption_set_border_bottom_width ()

void                fo_table_caption_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_table_caption_get_border_end_color ()

FoProperty*         fo_table_caption_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_table_caption_set_border_end_color ()

void                fo_table_caption_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_table_caption_get_border_end_style ()

FoProperty*         fo_table_caption_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_table_caption_set_border_end_style ()

void                fo_table_caption_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_table_caption_get_border_end_width ()

FoProperty*         fo_table_caption_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_table_caption_set_border_end_width ()

void                fo_table_caption_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_table_caption_get_border_left_color ()

FoProperty*         fo_table_caption_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_table_caption_set_border_left_color ()

void                fo_table_caption_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_table_caption_get_border_left_style ()

FoProperty*         fo_table_caption_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_table_caption_set_border_left_style ()

void                fo_table_caption_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_table_caption_get_border_left_width ()

FoProperty*         fo_table_caption_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_table_caption_set_border_left_width ()

void                fo_table_caption_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_table_caption_get_border_right_color ()

FoProperty*         fo_table_caption_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_table_caption_set_border_right_color ()

void                fo_table_caption_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_table_caption_get_border_right_style ()

FoProperty*         fo_table_caption_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_table_caption_set_border_right_style ()

void                fo_table_caption_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_table_caption_get_border_right_width ()

FoProperty*         fo_table_caption_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_table_caption_set_border_right_width ()

void                fo_table_caption_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_table_caption_get_border_start_color ()

FoProperty*         fo_table_caption_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_table_caption_set_border_start_color ()

void                fo_table_caption_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_table_caption_get_border_start_style ()

FoProperty*         fo_table_caption_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_table_caption_set_border_start_style ()

void                fo_table_caption_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_table_caption_get_border_start_width ()

FoProperty*         fo_table_caption_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_table_caption_set_border_start_width ()

void                fo_table_caption_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_table_caption_get_border_top_color ()

FoProperty*         fo_table_caption_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_table_caption_set_border_top_color ()

void                fo_table_caption_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_table_caption_get_border_top_style ()

FoProperty*         fo_table_caption_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_table_caption_set_border_top_style ()

void                fo_table_caption_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_table_caption_get_border_top_width ()

FoProperty*         fo_table_caption_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_table_caption_set_border_top_width ()

void                fo_table_caption_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_table_caption_get_height ()

FoProperty*         fo_table_caption_get_height         (FoFo *fo_fo);

Gets the "height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "height" property value

fo_table_caption_set_height ()

void                fo_table_caption_set_height         (FoFo *fo_fo,
                                                         FoProperty *new_height);

Sets the "height" property of fo_fo to new_height

fo_fo :

The FoFo object

new_height :

The new "height" property value

fo_table_caption_get_id ()

FoProperty*         fo_table_caption_get_id             (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_table_caption_set_id ()

void                fo_table_caption_set_id             (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_table_caption_get_inline_progression_dimension ()

FoProperty*         fo_table_caption_get_inline_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "inline-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "inline-progression-dimension" property value

fo_table_caption_set_inline_progression_dimension ()

void                fo_table_caption_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);

Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension

fo_fo :

The FoFo object

new_inline_progression_dimension :

The new "inline-progression-dimension" property value

fo_table_caption_get_keep_together ()

FoProperty*         fo_table_caption_get_keep_together  (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_table_caption_set_keep_together ()

void                fo_table_caption_set_keep_together  (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_table_caption_get_keep_together_within_column ()

FoProperty*         fo_table_caption_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_table_caption_set_keep_together_within_column ()

void                fo_table_caption_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_table_caption_get_keep_together_within_line ()

FoProperty*         fo_table_caption_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_table_caption_set_keep_together_within_line ()

void                fo_table_caption_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_table_caption_get_keep_together_within_page ()

FoProperty*         fo_table_caption_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_table_caption_set_keep_together_within_page ()

void                fo_table_caption_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_table_caption_get_padding_after ()

FoProperty*         fo_table_caption_get_padding_after  (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_table_caption_set_padding_after ()

void                fo_table_caption_set_padding_after  (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_table_caption_get_padding_before ()

FoProperty*         fo_table_caption_get_padding_before (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_table_caption_set_padding_before ()

void                fo_table_caption_set_padding_before (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_table_caption_get_padding_bottom ()

FoProperty*         fo_table_caption_get_padding_bottom (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_table_caption_set_padding_bottom ()

void                fo_table_caption_set_padding_bottom (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_table_caption_get_padding_end ()

FoProperty*         fo_table_caption_get_padding_end    (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_table_caption_set_padding_end ()

void                fo_table_caption_set_padding_end    (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_table_caption_get_padding_left ()

FoProperty*         fo_table_caption_get_padding_left   (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_table_caption_set_padding_left ()

void                fo_table_caption_set_padding_left   (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_table_caption_get_padding_right ()

FoProperty*         fo_table_caption_get_padding_right  (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_table_caption_set_padding_right ()

void                fo_table_caption_set_padding_right  (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_table_caption_get_padding_start ()

FoProperty*         fo_table_caption_get_padding_start  (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_table_caption_set_padding_start ()

void                fo_table_caption_set_padding_start  (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_table_caption_get_padding_top ()

FoProperty*         fo_table_caption_get_padding_top    (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_table_caption_set_padding_top ()

void                fo_table_caption_set_padding_top    (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_table_caption_get_role ()

FoProperty*         fo_table_caption_get_role           (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_table_caption_set_role ()

void                fo_table_caption_set_role           (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_table_caption_get_source_document ()

FoProperty*         fo_table_caption_get_source_document
                                                        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_table_caption_set_source_document ()

void                fo_table_caption_set_source_document
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_table_caption_get_width ()

FoProperty*         fo_table_caption_get_width          (FoFo *fo_fo);

Gets the "width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "width" property value

fo_table_caption_set_width ()

void                fo_table_caption_set_width          (FoFo *fo_fo,
                                                         FoProperty *new_width);

Sets the "width" property of fo_fo to new_width

fo_fo :

The FoFo object

new_width :

The new "width" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "inline-progression-dimension" property

  "inline-progression-dimension" FoProperty*           : Read

Inline Progression Dimension property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "width" property

  "width"                    FoProperty*           : Read

Width property.

xmlroff-0.6.2/docs/html/xmlroff-table-cell.html0000644000175000017500000054047411156164735016405 00000000000000 table-cell

table-cell

table-cell

Synopsis

                    FoTableCell;
                    FoTableCellClass;
FoFo*               fo_table_cell_new                   (void);

void                fo_table_cell_resolve_column        (FoFo *fo);
void                fo_table_cell_resolve_number_columns_spanned
                                                        (FoFo *fo);
void                fo_table_cell_resolve_number_rows_spanned
                                                        (FoFo *fo);
void                fo_table_cell_resolve_column_number (FoFo *fo,
                                                         GError **error);
FoFo*               fo_table_cell_get_column            (FoFo *fo_fo);

FoProperty*         fo_table_cell_get_background_color  (FoFo *fo_fo);
void                fo_table_cell_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_table_cell_get_background_image  (FoFo *fo_fo);
void                fo_table_cell_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_table_cell_get_block_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_table_cell_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_table_cell_get_border_after_precedence
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);
FoProperty*         fo_table_cell_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_table_cell_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_table_cell_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_table_cell_get_border_before_precedence
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);
FoProperty*         fo_table_cell_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_table_cell_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_table_cell_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_table_cell_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_table_cell_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_table_cell_get_border_end_color  (FoFo *fo_fo);
void                fo_table_cell_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_table_cell_get_border_end_precedence
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);
FoProperty*         fo_table_cell_get_border_end_style  (FoFo *fo_fo);
void                fo_table_cell_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_table_cell_get_border_end_width  (FoFo *fo_fo);
void                fo_table_cell_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_table_cell_get_border_left_color (FoFo *fo_fo);
void                fo_table_cell_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_table_cell_get_border_left_style (FoFo *fo_fo);
void                fo_table_cell_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_table_cell_get_border_left_width (FoFo *fo_fo);
void                fo_table_cell_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_table_cell_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_table_cell_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_table_cell_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_table_cell_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_table_cell_get_border_start_precedence
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);
FoProperty*         fo_table_cell_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_table_cell_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_table_cell_get_border_top_color  (FoFo *fo_fo);
void                fo_table_cell_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_table_cell_get_border_top_style  (FoFo *fo_fo);
void                fo_table_cell_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_table_cell_get_border_top_width  (FoFo *fo_fo);
void                fo_table_cell_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_table_cell_get_column_number     (FoFo *fo_fo);
void                fo_table_cell_set_column_number     (FoFo *fo_fo,
                                                         FoProperty *new_column_number);
FoProperty*         fo_table_cell_get_display_align     (FoFo *fo_fo);
void                fo_table_cell_set_display_align     (FoFo *fo_fo,
                                                         FoProperty *new_display_align);
FoProperty*         fo_table_cell_get_height            (FoFo *fo_fo);
void                fo_table_cell_set_height            (FoFo *fo_fo,
                                                         FoProperty *new_height);
FoProperty*         fo_table_cell_get_id                (FoFo *fo_fo);
void                fo_table_cell_set_id                (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_table_cell_get_inline_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);
FoProperty*         fo_table_cell_get_number_columns_spanned
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_number_columns_spanned
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_number_columns_spanned);
FoProperty*         fo_table_cell_get_number_rows_spanned
                                                        (FoFo *fo_fo);
void                fo_table_cell_set_number_rows_spanned
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_number_rows_spanned);
FoProperty*         fo_table_cell_get_padding_after     (FoFo *fo_fo);
void                fo_table_cell_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_table_cell_get_padding_before    (FoFo *fo_fo);
void                fo_table_cell_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_table_cell_get_padding_bottom    (FoFo *fo_fo);
void                fo_table_cell_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_table_cell_get_padding_end       (FoFo *fo_fo);
void                fo_table_cell_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_table_cell_get_padding_left      (FoFo *fo_fo);
void                fo_table_cell_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_table_cell_get_padding_right     (FoFo *fo_fo);
void                fo_table_cell_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_table_cell_get_padding_start     (FoFo *fo_fo);
void                fo_table_cell_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_table_cell_get_padding_top       (FoFo *fo_fo);
void                fo_table_cell_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_table_cell_get_role              (FoFo *fo_fo);
void                fo_table_cell_set_role              (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_table_cell_get_source_document   (FoFo *fo_fo);
void                fo_table_cell_set_source_document   (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_table_cell_get_width             (FoFo *fo_fo);
void                fo_table_cell_set_width             (FoFo *fo_fo,
                                                         FoProperty *new_width);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoTableCell

Implemented Interfaces

FoTableCell implements FoTableBorderFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-precedence"  FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-precedence" FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-precedence"    FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-precedence"  FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "column"                   FoProperty*           : Read
  "column-number"            FoProperty*           : Read
  "display-align"            FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "inline-progression-dimension" FoProperty*           : Read
  "number-columns-spanned"   FoProperty*           : Read
  "number-rows-spanned"      FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "width"                    FoProperty*           : Read

Description

Details

FoTableCell

typedef struct _FoTableCell FoTableCell;


FoTableCellClass

typedef struct _FoTableCellClass FoTableCellClass;


fo_table_cell_new ()

FoFo*               fo_table_cell_new                   (void);

Creates a new FoTableCell initialized to default value.

Returns :

the new FoTableCell.

fo_table_cell_resolve_column ()

void                fo_table_cell_resolve_column        (FoFo *fo);

Resolve the value of the 'column' property of fo.

fo :

FoTableCell

fo_table_cell_resolve_number_columns_spanned ()

void                fo_table_cell_resolve_number_columns_spanned
                                                        (FoFo *fo);

Resolve the value of the 'number-columns-spanned' property of fo.

fo :

FoTableCell

fo_table_cell_resolve_number_rows_spanned ()

void                fo_table_cell_resolve_number_rows_spanned
                                                        (FoFo *fo);

Resolve the value of the 'number-rows-spanned' property of fo.

fo :

FoTableCell

fo_table_cell_resolve_column_number ()

void                fo_table_cell_resolve_column_number (FoFo *fo,
                                                         GError **error);

Resolve the column number of fo.

fo :

FoTableCell

error :

GError

fo_table_cell_get_column ()

FoFo*               fo_table_cell_get_column            (FoFo *fo_fo);

Gets the column property of table_cell

fo_fo :

The FoFo object

Returns :

The "column" property value

fo_table_cell_get_background_color ()

FoProperty*         fo_table_cell_get_background_color  (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_table_cell_set_background_color ()

void                fo_table_cell_set_background_color  (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_table_cell_get_background_image ()

FoProperty*         fo_table_cell_get_background_image  (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_table_cell_set_background_image ()

void                fo_table_cell_set_background_image  (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_table_cell_get_block_progression_dimension ()

FoProperty*         fo_table_cell_get_block_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "block-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "block-progression-dimension" property value

fo_table_cell_set_block_progression_dimension ()

void                fo_table_cell_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension

fo_fo :

The FoFo object

new_block_progression_dimension :

The new "block-progression-dimension" property value

fo_table_cell_get_border_after_color ()

FoProperty*         fo_table_cell_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_table_cell_set_border_after_color ()

void                fo_table_cell_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_table_cell_get_border_after_precedence ()

FoProperty*         fo_table_cell_get_border_after_precedence
                                                        (FoFo *fo_fo);

Gets the "border-after-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-precedence" property value

fo_table_cell_set_border_after_precedence ()

void                fo_table_cell_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);

Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence

fo_fo :

The FoFo object

new_border_after_precedence :

The new "border-after-precedence" property value

fo_table_cell_get_border_after_style ()

FoProperty*         fo_table_cell_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_table_cell_set_border_after_style ()

void                fo_table_cell_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_table_cell_get_border_after_width ()

FoProperty*         fo_table_cell_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_table_cell_set_border_after_width ()

void                fo_table_cell_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_table_cell_get_border_before_color ()

FoProperty*         fo_table_cell_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_table_cell_set_border_before_color ()

void                fo_table_cell_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_table_cell_get_border_before_precedence ()

FoProperty*         fo_table_cell_get_border_before_precedence
                                                        (FoFo *fo_fo);

Gets the "border-before-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-precedence" property value

fo_table_cell_set_border_before_precedence ()

void                fo_table_cell_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);

Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence

fo_fo :

The FoFo object

new_border_before_precedence :

The new "border-before-precedence" property value

fo_table_cell_get_border_before_style ()

FoProperty*         fo_table_cell_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_table_cell_set_border_before_style ()

void                fo_table_cell_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_table_cell_get_border_before_width ()

FoProperty*         fo_table_cell_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_table_cell_set_border_before_width ()

void                fo_table_cell_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_table_cell_get_border_bottom_color ()

FoProperty*         fo_table_cell_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_table_cell_set_border_bottom_color ()

void                fo_table_cell_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_table_cell_get_border_bottom_style ()

FoProperty*         fo_table_cell_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_table_cell_set_border_bottom_style ()

void                fo_table_cell_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_table_cell_get_border_bottom_width ()

FoProperty*         fo_table_cell_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_table_cell_set_border_bottom_width ()

void                fo_table_cell_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_table_cell_get_border_end_color ()

FoProperty*         fo_table_cell_get_border_end_color  (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_table_cell_set_border_end_color ()

void                fo_table_cell_set_border_end_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_table_cell_get_border_end_precedence ()

FoProperty*         fo_table_cell_get_border_end_precedence
                                                        (FoFo *fo_fo);

Gets the "border-end-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-precedence" property value

fo_table_cell_set_border_end_precedence ()

void                fo_table_cell_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);

Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence

fo_fo :

The FoFo object

new_border_end_precedence :

The new "border-end-precedence" property value

fo_table_cell_get_border_end_style ()

FoProperty*         fo_table_cell_get_border_end_style  (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_table_cell_set_border_end_style ()

void                fo_table_cell_set_border_end_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_table_cell_get_border_end_width ()

FoProperty*         fo_table_cell_get_border_end_width  (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_table_cell_set_border_end_width ()

void                fo_table_cell_set_border_end_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_table_cell_get_border_left_color ()

FoProperty*         fo_table_cell_get_border_left_color (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_table_cell_set_border_left_color ()

void                fo_table_cell_set_border_left_color (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_table_cell_get_border_left_style ()

FoProperty*         fo_table_cell_get_border_left_style (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_table_cell_set_border_left_style ()

void                fo_table_cell_set_border_left_style (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_table_cell_get_border_left_width ()

FoProperty*         fo_table_cell_get_border_left_width (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_table_cell_set_border_left_width ()

void                fo_table_cell_set_border_left_width (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_table_cell_get_border_right_color ()

FoProperty*         fo_table_cell_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_table_cell_set_border_right_color ()

void                fo_table_cell_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_table_cell_get_border_right_style ()

FoProperty*         fo_table_cell_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_table_cell_set_border_right_style ()

void                fo_table_cell_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_table_cell_get_border_right_width ()

FoProperty*         fo_table_cell_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_table_cell_set_border_right_width ()

void                fo_table_cell_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_table_cell_get_border_start_color ()

FoProperty*         fo_table_cell_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_table_cell_set_border_start_color ()

void                fo_table_cell_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_table_cell_get_border_start_precedence ()

FoProperty*         fo_table_cell_get_border_start_precedence
                                                        (FoFo *fo_fo);

Gets the "border-start-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-precedence" property value

fo_table_cell_set_border_start_precedence ()

void                fo_table_cell_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);

Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence

fo_fo :

The FoFo object

new_border_start_precedence :

The new "border-start-precedence" property value

fo_table_cell_get_border_start_style ()

FoProperty*         fo_table_cell_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_table_cell_set_border_start_style ()

void                fo_table_cell_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_table_cell_get_border_start_width ()

FoProperty*         fo_table_cell_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_table_cell_set_border_start_width ()

void                fo_table_cell_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_table_cell_get_border_top_color ()

FoProperty*         fo_table_cell_get_border_top_color  (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_table_cell_set_border_top_color ()

void                fo_table_cell_set_border_top_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_table_cell_get_border_top_style ()

FoProperty*         fo_table_cell_get_border_top_style  (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_table_cell_set_border_top_style ()

void                fo_table_cell_set_border_top_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_table_cell_get_border_top_width ()

FoProperty*         fo_table_cell_get_border_top_width  (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_table_cell_set_border_top_width ()

void                fo_table_cell_set_border_top_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_table_cell_get_column_number ()

FoProperty*         fo_table_cell_get_column_number     (FoFo *fo_fo);

Gets the "column-number" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "column-number" property value

fo_table_cell_set_column_number ()

void                fo_table_cell_set_column_number     (FoFo *fo_fo,
                                                         FoProperty *new_column_number);

Sets the "column-number" property of fo_fo to new_column_number

fo_fo :

The FoFo object

new_column_number :

The new "column-number" property value

fo_table_cell_get_display_align ()

FoProperty*         fo_table_cell_get_display_align     (FoFo *fo_fo);

Gets the "display-align" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "display-align" property value

fo_table_cell_set_display_align ()

void                fo_table_cell_set_display_align     (FoFo *fo_fo,
                                                         FoProperty *new_display_align);

Sets the "display-align" property of fo_fo to new_display_align

fo_fo :

The FoFo object

new_display_align :

The new "display-align" property value

fo_table_cell_get_height ()

FoProperty*         fo_table_cell_get_height            (FoFo *fo_fo);

Gets the "height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "height" property value

fo_table_cell_set_height ()

void                fo_table_cell_set_height            (FoFo *fo_fo,
                                                         FoProperty *new_height);

Sets the "height" property of fo_fo to new_height

fo_fo :

The FoFo object

new_height :

The new "height" property value

fo_table_cell_get_id ()

FoProperty*         fo_table_cell_get_id                (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_table_cell_set_id ()

void                fo_table_cell_set_id                (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_table_cell_get_inline_progression_dimension ()

FoProperty*         fo_table_cell_get_inline_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "inline-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "inline-progression-dimension" property value

fo_table_cell_set_inline_progression_dimension ()

void                fo_table_cell_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);

Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension

fo_fo :

The FoFo object

new_inline_progression_dimension :

The new "inline-progression-dimension" property value

fo_table_cell_get_number_columns_spanned ()

FoProperty*         fo_table_cell_get_number_columns_spanned
                                                        (FoFo *fo_fo);

Gets the "number-columns-spanned" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "number-columns-spanned" property value

fo_table_cell_set_number_columns_spanned ()

void                fo_table_cell_set_number_columns_spanned
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_number_columns_spanned);

Sets the "number-columns-spanned" property of fo_fo to new_number_columns_spanned

fo_fo :

The FoFo object

new_number_columns_spanned :

The new "number-columns-spanned" property value

fo_table_cell_get_number_rows_spanned ()

FoProperty*         fo_table_cell_get_number_rows_spanned
                                                        (FoFo *fo_fo);

Gets the "number-rows-spanned" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "number-rows-spanned" property value

fo_table_cell_set_number_rows_spanned ()

void                fo_table_cell_set_number_rows_spanned
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_number_rows_spanned);

Sets the "number-rows-spanned" property of fo_fo to new_number_rows_spanned

fo_fo :

The FoFo object

new_number_rows_spanned :

The new "number-rows-spanned" property value

fo_table_cell_get_padding_after ()

FoProperty*         fo_table_cell_get_padding_after     (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_table_cell_set_padding_after ()

void                fo_table_cell_set_padding_after     (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_table_cell_get_padding_before ()

FoProperty*         fo_table_cell_get_padding_before    (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_table_cell_set_padding_before ()

void                fo_table_cell_set_padding_before    (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_table_cell_get_padding_bottom ()

FoProperty*         fo_table_cell_get_padding_bottom    (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_table_cell_set_padding_bottom ()

void                fo_table_cell_set_padding_bottom    (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_table_cell_get_padding_end ()

FoProperty*         fo_table_cell_get_padding_end       (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_table_cell_set_padding_end ()

void                fo_table_cell_set_padding_end       (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_table_cell_get_padding_left ()

FoProperty*         fo_table_cell_get_padding_left      (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_table_cell_set_padding_left ()

void                fo_table_cell_set_padding_left      (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_table_cell_get_padding_right ()

FoProperty*         fo_table_cell_get_padding_right     (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_table_cell_set_padding_right ()

void                fo_table_cell_set_padding_right     (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_table_cell_get_padding_start ()

FoProperty*         fo_table_cell_get_padding_start     (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_table_cell_set_padding_start ()

void                fo_table_cell_set_padding_start     (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_table_cell_get_padding_top ()

FoProperty*         fo_table_cell_get_padding_top       (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_table_cell_set_padding_top ()

void                fo_table_cell_set_padding_top       (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_table_cell_get_role ()

FoProperty*         fo_table_cell_get_role              (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_table_cell_set_role ()

void                fo_table_cell_set_role              (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_table_cell_get_source_document ()

FoProperty*         fo_table_cell_get_source_document   (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_table_cell_set_source_document ()

void                fo_table_cell_set_source_document   (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_table_cell_get_width ()

FoProperty*         fo_table_cell_get_width             (FoFo *fo_fo);

Gets the "width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "width" property value

fo_table_cell_set_width ()

void                fo_table_cell_set_width             (FoFo *fo_fo,
                                                         FoProperty *new_width);

Sets the "width" property of fo_fo to new_width

fo_fo :

The FoFo object

new_width :

The new "width" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-precedence" property

  "border-after-precedence"  FoProperty*           : Read

Border After Precedence property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-precedence" property

  "border-before-precedence" FoProperty*           : Read

Border Before Precedence property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-precedence" property

  "border-end-precedence"    FoProperty*           : Read

Border End Precedence property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-precedence" property

  "border-start-precedence"  FoProperty*           : Read

Border Start Precedence property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "column" property

  "column"                   FoProperty*           : Read

Column object for this table-cell.


The "column-number" property

  "column-number"            FoProperty*           : Read

Column Number property.


The "display-align" property

  "display-align"            FoProperty*           : Read

Display Align property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "inline-progression-dimension" property

  "inline-progression-dimension" FoProperty*           : Read

Inline Progression Dimension property.


The "number-columns-spanned" property

  "number-columns-spanned"   FoProperty*           : Read

Number Columns Spanned property.


The "number-rows-spanned" property

  "number-rows-spanned"      FoProperty*           : Read

Number Rows Spanned property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "width" property

  "width"                    FoProperty*           : Read

Width property.

xmlroff-0.6.2/docs/html/xmlroff-table-column.html0000644000175000017500000047031711156164735016761 00000000000000 table-column

table-column

table-column

Synopsis

#define             FO_TABLE_COLUMN_ERROR
GQuark              fo_table_column_error_quark         (void);
enum                FoTableColumnError;
                    FoTableColumn;
                    FoTableColumnClass;
FoFo*               fo_table_column_new                 (void);

gfloat              fo_table_column_get_offset          (FoFo *fo_fo);
void                fo_table_column_set_offset          (FoFo *fo_fo,
                                                         gfloat new_offset);
FoProperty*         fo_table_column_get_background_color
                                                        (FoFo *fo_fo);
void                fo_table_column_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_table_column_get_background_image
                                                        (FoFo *fo_fo);
void                fo_table_column_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_table_column_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_table_column_get_border_after_precedence
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);
FoProperty*         fo_table_column_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_table_column_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_table_column_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_table_column_get_border_before_precedence
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);
FoProperty*         fo_table_column_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_table_column_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_table_column_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_table_column_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_table_column_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_table_column_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_table_column_get_border_end_precedence
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);
FoProperty*         fo_table_column_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_table_column_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_table_column_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_table_column_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_table_column_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_table_column_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_table_column_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_table_column_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_table_column_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_table_column_get_border_start_precedence
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);
FoProperty*         fo_table_column_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_table_column_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_table_column_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_table_column_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_table_column_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_table_column_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_table_column_get_column_number   (FoFo *fo_fo);
void                fo_table_column_set_column_number   (FoFo *fo_fo,
                                                         FoProperty *new_column_number);
FoProperty*         fo_table_column_get_column_width    (FoFo *fo_fo);
void                fo_table_column_set_column_width    (FoFo *fo_fo,
                                                         FoProperty *new_column_width);
FoProperty*         fo_table_column_get_number_columns_repeated
                                                        (FoFo *fo_fo);
void                fo_table_column_set_number_columns_repeated
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_number_columns_repeated);
FoProperty*         fo_table_column_get_number_columns_spanned
                                                        (FoFo *fo_fo);
void                fo_table_column_set_number_columns_spanned
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_number_columns_spanned);
FoProperty*         fo_table_column_get_padding_after   (FoFo *fo_fo);
void                fo_table_column_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_table_column_get_padding_before  (FoFo *fo_fo);
void                fo_table_column_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_table_column_get_padding_bottom  (FoFo *fo_fo);
void                fo_table_column_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_table_column_get_padding_end     (FoFo *fo_fo);
void                fo_table_column_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_table_column_get_padding_left    (FoFo *fo_fo);
void                fo_table_column_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_table_column_get_padding_right   (FoFo *fo_fo);
void                fo_table_column_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_table_column_get_padding_start   (FoFo *fo_fo);
void                fo_table_column_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_table_column_get_padding_top     (FoFo *fo_fo);
void                fo_table_column_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoTableColumn

Implemented Interfaces

FoTableColumn implements FoTableBorderFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-precedence"  FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-precedence" FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-precedence"    FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-precedence"  FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "column-number"            FoProperty*           : Read
  "column-width"             FoProperty*           : Read
  "number-columns-repeated"  FoProperty*           : Read
  "number-columns-spanned"   FoProperty*           : Read
  "offset"                   gfloat                : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read

Description

Details

FO_TABLE_COLUMN_ERROR

#define FO_TABLE_COLUMN_ERROR fo_table_column_error_quark ()


fo_table_column_error_quark ()

GQuark              fo_table_column_error_quark         (void);

Create and return the GQuark for use as the error domain for table-column.

Returns :

Error domain GQuark.

enum FoTableColumnError

typedef enum
{
  FO_TABLE_COLUMN_ERROR_FAILED,          /* Generic error code */
  FO_TABLE_COLUMN_ERROR_WARNING,         /* Non-fatal error */
  FO_TABLE_COLUMN_ERROR_FIXED_NO_WIDTH,  /* column-width required when fixed */
  FO_TABLE_COLUMN_ERROR_LAST
} FoTableColumnError;


FoTableColumn

typedef struct _FoTableColumn FoTableColumn;


FoTableColumnClass

typedef struct _FoTableColumnClass FoTableColumnClass;


fo_table_column_new ()

FoFo*               fo_table_column_new                 (void);

Creates a new FoTableColumn initialized to default value.

Returns :

the new FoTableColumn.

fo_table_column_get_offset ()

gfloat              fo_table_column_get_offset          (FoFo *fo_fo);

Gets the "offset" property of table_column

fo_fo :

The FoFo object

Returns :

The "offset" property value

fo_table_column_set_offset ()

void                fo_table_column_set_offset          (FoFo *fo_fo,
                                                         gfloat new_offset);

Sets the "offset" property of table_column to new_offset

fo_fo :

The FoFo object

new_offset :

The new "offset" property value

fo_table_column_get_background_color ()

FoProperty*         fo_table_column_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_table_column_set_background_color ()

void                fo_table_column_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_table_column_get_background_image ()

FoProperty*         fo_table_column_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_table_column_set_background_image ()

void                fo_table_column_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_table_column_get_border_after_color ()

FoProperty*         fo_table_column_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_table_column_set_border_after_color ()

void                fo_table_column_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_table_column_get_border_after_precedence ()

FoProperty*         fo_table_column_get_border_after_precedence
                                                        (FoFo *fo_fo);

Gets the "border-after-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-precedence" property value

fo_table_column_set_border_after_precedence ()

void                fo_table_column_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);

Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence

fo_fo :

The FoFo object

new_border_after_precedence :

The new "border-after-precedence" property value

fo_table_column_get_border_after_style ()

FoProperty*         fo_table_column_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_table_column_set_border_after_style ()

void                fo_table_column_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_table_column_get_border_after_width ()

FoProperty*         fo_table_column_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_table_column_set_border_after_width ()

void                fo_table_column_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_table_column_get_border_before_color ()

FoProperty*         fo_table_column_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_table_column_set_border_before_color ()

void                fo_table_column_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_table_column_get_border_before_precedence ()

FoProperty*         fo_table_column_get_border_before_precedence
                                                        (FoFo *fo_fo);

Gets the "border-before-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-precedence" property value

fo_table_column_set_border_before_precedence ()

void                fo_table_column_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);

Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence

fo_fo :

The FoFo object

new_border_before_precedence :

The new "border-before-precedence" property value

fo_table_column_get_border_before_style ()

FoProperty*         fo_table_column_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_table_column_set_border_before_style ()

void                fo_table_column_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_table_column_get_border_before_width ()

FoProperty*         fo_table_column_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_table_column_set_border_before_width ()

void                fo_table_column_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_table_column_get_border_bottom_color ()

FoProperty*         fo_table_column_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_table_column_set_border_bottom_color ()

void                fo_table_column_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_table_column_get_border_bottom_style ()

FoProperty*         fo_table_column_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_table_column_set_border_bottom_style ()

void                fo_table_column_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_table_column_get_border_bottom_width ()

FoProperty*         fo_table_column_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_table_column_set_border_bottom_width ()

void                fo_table_column_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_table_column_get_border_end_color ()

FoProperty*         fo_table_column_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_table_column_set_border_end_color ()

void                fo_table_column_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_table_column_get_border_end_precedence ()

FoProperty*         fo_table_column_get_border_end_precedence
                                                        (FoFo *fo_fo);

Gets the "border-end-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-precedence" property value

fo_table_column_set_border_end_precedence ()

void                fo_table_column_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);

Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence

fo_fo :

The FoFo object

new_border_end_precedence :

The new "border-end-precedence" property value

fo_table_column_get_border_end_style ()

FoProperty*         fo_table_column_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_table_column_set_border_end_style ()

void                fo_table_column_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_table_column_get_border_end_width ()

FoProperty*         fo_table_column_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_table_column_set_border_end_width ()

void                fo_table_column_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_table_column_get_border_left_color ()

FoProperty*         fo_table_column_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_table_column_set_border_left_color ()

void                fo_table_column_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_table_column_get_border_left_style ()

FoProperty*         fo_table_column_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_table_column_set_border_left_style ()

void                fo_table_column_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_table_column_get_border_left_width ()

FoProperty*         fo_table_column_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_table_column_set_border_left_width ()

void                fo_table_column_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_table_column_get_border_right_color ()

FoProperty*         fo_table_column_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_table_column_set_border_right_color ()

void                fo_table_column_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_table_column_get_border_right_style ()

FoProperty*         fo_table_column_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_table_column_set_border_right_style ()

void                fo_table_column_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_table_column_get_border_right_width ()

FoProperty*         fo_table_column_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_table_column_set_border_right_width ()

void                fo_table_column_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_table_column_get_border_start_color ()

FoProperty*         fo_table_column_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_table_column_set_border_start_color ()

void                fo_table_column_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_table_column_get_border_start_precedence ()

FoProperty*         fo_table_column_get_border_start_precedence
                                                        (FoFo *fo_fo);

Gets the "border-start-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-precedence" property value

fo_table_column_set_border_start_precedence ()

void                fo_table_column_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);

Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence

fo_fo :

The FoFo object

new_border_start_precedence :

The new "border-start-precedence" property value

fo_table_column_get_border_start_style ()

FoProperty*         fo_table_column_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_table_column_set_border_start_style ()

void                fo_table_column_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_table_column_get_border_start_width ()

FoProperty*         fo_table_column_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_table_column_set_border_start_width ()

void                fo_table_column_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_table_column_get_border_top_color ()

FoProperty*         fo_table_column_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_table_column_set_border_top_color ()

void                fo_table_column_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_table_column_get_border_top_style ()

FoProperty*         fo_table_column_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_table_column_set_border_top_style ()

void                fo_table_column_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_table_column_get_border_top_width ()

FoProperty*         fo_table_column_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_table_column_set_border_top_width ()

void                fo_table_column_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_table_column_get_column_number ()

FoProperty*         fo_table_column_get_column_number   (FoFo *fo_fo);

Gets the "column-number" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "column-number" property value

fo_table_column_set_column_number ()

void                fo_table_column_set_column_number   (FoFo *fo_fo,
                                                         FoProperty *new_column_number);

Sets the "column-number" property of fo_fo to new_column_number

fo_fo :

The FoFo object

new_column_number :

The new "column-number" property value

fo_table_column_get_column_width ()

FoProperty*         fo_table_column_get_column_width    (FoFo *fo_fo);

Gets the "column-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "column-width" property value

fo_table_column_set_column_width ()

void                fo_table_column_set_column_width    (FoFo *fo_fo,
                                                         FoProperty *new_column_width);

Sets the "column-width" property of fo_fo to new_column_width

fo_fo :

The FoFo object

new_column_width :

The new "column-width" property value

fo_table_column_get_number_columns_repeated ()

FoProperty*         fo_table_column_get_number_columns_repeated
                                                        (FoFo *fo_fo);

Gets the "number-columns-repeated" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "number-columns-repeated" property value

fo_table_column_set_number_columns_repeated ()

void                fo_table_column_set_number_columns_repeated
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_number_columns_repeated);

Sets the "number-columns-repeated" property of fo_fo to new_number_columns_repeated

fo_fo :

The FoFo object

new_number_columns_repeated :

The new "number-columns-repeated" property value

fo_table_column_get_number_columns_spanned ()

FoProperty*         fo_table_column_get_number_columns_spanned
                                                        (FoFo *fo_fo);

Gets the "number-columns-spanned" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "number-columns-spanned" property value

fo_table_column_set_number_columns_spanned ()

void                fo_table_column_set_number_columns_spanned
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_number_columns_spanned);

Sets the "number-columns-spanned" property of fo_fo to new_number_columns_spanned

fo_fo :

The FoFo object

new_number_columns_spanned :

The new "number-columns-spanned" property value

fo_table_column_get_padding_after ()

FoProperty*         fo_table_column_get_padding_after   (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_table_column_set_padding_after ()

void                fo_table_column_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_table_column_get_padding_before ()

FoProperty*         fo_table_column_get_padding_before  (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_table_column_set_padding_before ()

void                fo_table_column_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_table_column_get_padding_bottom ()

FoProperty*         fo_table_column_get_padding_bottom  (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_table_column_set_padding_bottom ()

void                fo_table_column_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_table_column_get_padding_end ()

FoProperty*         fo_table_column_get_padding_end     (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_table_column_set_padding_end ()

void                fo_table_column_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_table_column_get_padding_left ()

FoProperty*         fo_table_column_get_padding_left    (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_table_column_set_padding_left ()

void                fo_table_column_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_table_column_get_padding_right ()

FoProperty*         fo_table_column_get_padding_right   (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_table_column_set_padding_right ()

void                fo_table_column_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_table_column_get_padding_start ()

FoProperty*         fo_table_column_get_padding_start   (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_table_column_set_padding_start ()

void                fo_table_column_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_table_column_get_padding_top ()

FoProperty*         fo_table_column_get_padding_top     (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_table_column_set_padding_top ()

void                fo_table_column_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-precedence" property

  "border-after-precedence"  FoProperty*           : Read

Border After Precedence property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-precedence" property

  "border-before-precedence" FoProperty*           : Read

Border Before Precedence property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-precedence" property

  "border-end-precedence"    FoProperty*           : Read

Border End Precedence property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-precedence" property

  "border-start-precedence"  FoProperty*           : Read

Border Start Precedence property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "column-number" property

  "column-number"            FoProperty*           : Read

Column Number property.


The "column-width" property

  "column-width"             FoProperty*           : Read

Column Width property.


The "number-columns-repeated" property

  "number-columns-repeated"  FoProperty*           : Read

Number Columns Repeated property.


The "number-columns-spanned" property

  "number-columns-spanned"   FoProperty*           : Read

Number Columns Spanned property.


The "offset" property

  "offset"                   gfloat                : Read

Offset of table column in inline-progression direction.

Allowed values: >= 0

Default value: 0


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.

xmlroff-0.6.2/docs/html/xmlroff-table-footer.html0000644000175000017500000044611211156164735016756 00000000000000 table-footer

table-footer

table-footer

Synopsis

                    FoTableFooter;
                    FoTableFooterClass;
FoFo*               fo_table_footer_new                 (void);

FoProperty*         fo_table_footer_get_background_color
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_table_footer_get_background_image
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_table_footer_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_table_footer_get_border_after_precedence
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);
FoProperty*         fo_table_footer_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_table_footer_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_table_footer_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_table_footer_get_border_before_precedence
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);
FoProperty*         fo_table_footer_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_table_footer_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_table_footer_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_table_footer_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_table_footer_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_table_footer_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_table_footer_get_border_end_precedence
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);
FoProperty*         fo_table_footer_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_table_footer_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_table_footer_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_table_footer_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_table_footer_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_table_footer_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_table_footer_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_table_footer_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_table_footer_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_table_footer_get_border_start_precedence
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);
FoProperty*         fo_table_footer_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_table_footer_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_table_footer_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_table_footer_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_table_footer_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_table_footer_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_table_footer_get_id              (FoFo *fo_fo);
void                fo_table_footer_set_id              (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_table_footer_get_padding_after   (FoFo *fo_fo);
void                fo_table_footer_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_table_footer_get_padding_before  (FoFo *fo_fo);
void                fo_table_footer_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_table_footer_get_padding_bottom  (FoFo *fo_fo);
void                fo_table_footer_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_table_footer_get_padding_end     (FoFo *fo_fo);
void                fo_table_footer_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_table_footer_get_padding_left    (FoFo *fo_fo);
void                fo_table_footer_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_table_footer_get_padding_right   (FoFo *fo_fo);
void                fo_table_footer_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_table_footer_get_padding_start   (FoFo *fo_fo);
void                fo_table_footer_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_table_footer_get_padding_top     (FoFo *fo_fo);
void                fo_table_footer_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_table_footer_get_role            (FoFo *fo_fo);
void                fo_table_footer_set_role            (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_table_footer_get_source_document (FoFo *fo_fo);
void                fo_table_footer_set_source_document (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoTablePart
                                 +----FoTableFooter

Implemented Interfaces

FoTableFooter implements FoTableBorderFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-precedence"  FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-precedence" FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-precedence"    FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-precedence"  FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoTableFooter

typedef struct _FoTableFooter FoTableFooter;


FoTableFooterClass

typedef struct _FoTableFooterClass FoTableFooterClass;


fo_table_footer_new ()

FoFo*               fo_table_footer_new                 (void);

Creates a new FoTableFooter initialized to default value.

Returns :

the new FoTableFooter.

fo_table_footer_get_background_color ()

FoProperty*         fo_table_footer_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_table_footer_set_background_color ()

void                fo_table_footer_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_table_footer_get_background_image ()

FoProperty*         fo_table_footer_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_table_footer_set_background_image ()

void                fo_table_footer_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_table_footer_get_border_after_color ()

FoProperty*         fo_table_footer_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_table_footer_set_border_after_color ()

void                fo_table_footer_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_table_footer_get_border_after_precedence ()

FoProperty*         fo_table_footer_get_border_after_precedence
                                                        (FoFo *fo_fo);

Gets the "border-after-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-precedence" property value

fo_table_footer_set_border_after_precedence ()

void                fo_table_footer_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);

Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence

fo_fo :

The FoFo object

new_border_after_precedence :

The new "border-after-precedence" property value

fo_table_footer_get_border_after_style ()

FoProperty*         fo_table_footer_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_table_footer_set_border_after_style ()

void                fo_table_footer_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_table_footer_get_border_after_width ()

FoProperty*         fo_table_footer_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_table_footer_set_border_after_width ()

void                fo_table_footer_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_table_footer_get_border_before_color ()

FoProperty*         fo_table_footer_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_table_footer_set_border_before_color ()

void                fo_table_footer_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_table_footer_get_border_before_precedence ()

FoProperty*         fo_table_footer_get_border_before_precedence
                                                        (FoFo *fo_fo);

Gets the "border-before-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-precedence" property value

fo_table_footer_set_border_before_precedence ()

void                fo_table_footer_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);

Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence

fo_fo :

The FoFo object

new_border_before_precedence :

The new "border-before-precedence" property value

fo_table_footer_get_border_before_style ()

FoProperty*         fo_table_footer_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_table_footer_set_border_before_style ()

void                fo_table_footer_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_table_footer_get_border_before_width ()

FoProperty*         fo_table_footer_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_table_footer_set_border_before_width ()

void                fo_table_footer_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_table_footer_get_border_bottom_color ()

FoProperty*         fo_table_footer_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_table_footer_set_border_bottom_color ()

void                fo_table_footer_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_table_footer_get_border_bottom_style ()

FoProperty*         fo_table_footer_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_table_footer_set_border_bottom_style ()

void                fo_table_footer_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_table_footer_get_border_bottom_width ()

FoProperty*         fo_table_footer_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_table_footer_set_border_bottom_width ()

void                fo_table_footer_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_table_footer_get_border_end_color ()

FoProperty*         fo_table_footer_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_table_footer_set_border_end_color ()

void                fo_table_footer_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_table_footer_get_border_end_precedence ()

FoProperty*         fo_table_footer_get_border_end_precedence
                                                        (FoFo *fo_fo);

Gets the "border-end-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-precedence" property value

fo_table_footer_set_border_end_precedence ()

void                fo_table_footer_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);

Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence

fo_fo :

The FoFo object

new_border_end_precedence :

The new "border-end-precedence" property value

fo_table_footer_get_border_end_style ()

FoProperty*         fo_table_footer_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_table_footer_set_border_end_style ()

void                fo_table_footer_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_table_footer_get_border_end_width ()

FoProperty*         fo_table_footer_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_table_footer_set_border_end_width ()

void                fo_table_footer_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_table_footer_get_border_left_color ()

FoProperty*         fo_table_footer_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_table_footer_set_border_left_color ()

void                fo_table_footer_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_table_footer_get_border_left_style ()

FoProperty*         fo_table_footer_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_table_footer_set_border_left_style ()

void                fo_table_footer_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_table_footer_get_border_left_width ()

FoProperty*         fo_table_footer_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_table_footer_set_border_left_width ()

void                fo_table_footer_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_table_footer_get_border_right_color ()

FoProperty*         fo_table_footer_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_table_footer_set_border_right_color ()

void                fo_table_footer_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_table_footer_get_border_right_style ()

FoProperty*         fo_table_footer_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_table_footer_set_border_right_style ()

void                fo_table_footer_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_table_footer_get_border_right_width ()

FoProperty*         fo_table_footer_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_table_footer_set_border_right_width ()

void                fo_table_footer_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_table_footer_get_border_start_color ()

FoProperty*         fo_table_footer_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_table_footer_set_border_start_color ()

void                fo_table_footer_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_table_footer_get_border_start_precedence ()

FoProperty*         fo_table_footer_get_border_start_precedence
                                                        (FoFo *fo_fo);

Gets the "border-start-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-precedence" property value

fo_table_footer_set_border_start_precedence ()

void                fo_table_footer_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);

Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence

fo_fo :

The FoFo object

new_border_start_precedence :

The new "border-start-precedence" property value

fo_table_footer_get_border_start_style ()

FoProperty*         fo_table_footer_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_table_footer_set_border_start_style ()

void                fo_table_footer_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_table_footer_get_border_start_width ()

FoProperty*         fo_table_footer_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_table_footer_set_border_start_width ()

void                fo_table_footer_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_table_footer_get_border_top_color ()

FoProperty*         fo_table_footer_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_table_footer_set_border_top_color ()

void                fo_table_footer_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_table_footer_get_border_top_style ()

FoProperty*         fo_table_footer_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_table_footer_set_border_top_style ()

void                fo_table_footer_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_table_footer_get_border_top_width ()

FoProperty*         fo_table_footer_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_table_footer_set_border_top_width ()

void                fo_table_footer_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_table_footer_get_id ()

FoProperty*         fo_table_footer_get_id              (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_table_footer_set_id ()

void                fo_table_footer_set_id              (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_table_footer_get_padding_after ()

FoProperty*         fo_table_footer_get_padding_after   (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_table_footer_set_padding_after ()

void                fo_table_footer_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_table_footer_get_padding_before ()

FoProperty*         fo_table_footer_get_padding_before  (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_table_footer_set_padding_before ()

void                fo_table_footer_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_table_footer_get_padding_bottom ()

FoProperty*         fo_table_footer_get_padding_bottom  (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_table_footer_set_padding_bottom ()

void                fo_table_footer_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_table_footer_get_padding_end ()

FoProperty*         fo_table_footer_get_padding_end     (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_table_footer_set_padding_end ()

void                fo_table_footer_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_table_footer_get_padding_left ()

FoProperty*         fo_table_footer_get_padding_left    (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_table_footer_set_padding_left ()

void                fo_table_footer_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_table_footer_get_padding_right ()

FoProperty*         fo_table_footer_get_padding_right   (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_table_footer_set_padding_right ()

void                fo_table_footer_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_table_footer_get_padding_start ()

FoProperty*         fo_table_footer_get_padding_start   (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_table_footer_set_padding_start ()

void                fo_table_footer_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_table_footer_get_padding_top ()

FoProperty*         fo_table_footer_get_padding_top     (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_table_footer_set_padding_top ()

void                fo_table_footer_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_table_footer_get_role ()

FoProperty*         fo_table_footer_get_role            (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_table_footer_set_role ()

void                fo_table_footer_set_role            (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_table_footer_get_source_document ()

FoProperty*         fo_table_footer_get_source_document (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_table_footer_set_source_document ()

void                fo_table_footer_set_source_document (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-precedence" property

  "border-after-precedence"  FoProperty*           : Read

Border After Precedence property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-precedence" property

  "border-before-precedence" FoProperty*           : Read

Border Before Precedence property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-precedence" property

  "border-end-precedence"    FoProperty*           : Read

Border End Precedence property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-precedence" property

  "border-start-precedence"  FoProperty*           : Read

Border Start Precedence property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-table-header.html0000644000175000017500000044606711156164735016721 00000000000000 table-header

table-header

table-header

Synopsis

                    FoTableHeader;
                    FoTableHeaderClass;
FoFo*               fo_table_header_new                 (void);

FoProperty*         fo_table_header_get_background_color
                                                        (FoFo *fo_fo);
void                fo_table_header_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_table_header_get_background_image
                                                        (FoFo *fo_fo);
void                fo_table_header_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_table_header_get_border_after_color
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_table_header_get_border_after_precedence
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);
FoProperty*         fo_table_header_get_border_after_style
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_table_header_get_border_after_width
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_table_header_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_table_header_get_border_before_precedence
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);
FoProperty*         fo_table_header_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_table_header_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_table_header_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_table_header_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_table_header_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_table_header_get_border_end_color
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_table_header_get_border_end_precedence
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);
FoProperty*         fo_table_header_get_border_end_style
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_table_header_get_border_end_width
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_table_header_get_border_left_color
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_table_header_get_border_left_style
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_table_header_get_border_left_width
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_table_header_get_border_right_color
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_table_header_get_border_right_style
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_table_header_get_border_right_width
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_table_header_get_border_start_color
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_table_header_get_border_start_precedence
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);
FoProperty*         fo_table_header_get_border_start_style
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_table_header_get_border_start_width
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_table_header_get_border_top_color
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_table_header_get_border_top_style
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_table_header_get_border_top_width
                                                        (FoFo *fo_fo);
void                fo_table_header_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_table_header_get_id              (FoFo *fo_fo);
void                fo_table_header_set_id              (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_table_header_get_padding_after   (FoFo *fo_fo);
void                fo_table_header_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_table_header_get_padding_before  (FoFo *fo_fo);
void                fo_table_header_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_table_header_get_padding_bottom  (FoFo *fo_fo);
void                fo_table_header_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_table_header_get_padding_end     (FoFo *fo_fo);
void                fo_table_header_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_table_header_get_padding_left    (FoFo *fo_fo);
void                fo_table_header_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_table_header_get_padding_right   (FoFo *fo_fo);
void                fo_table_header_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_table_header_get_padding_start   (FoFo *fo_fo);
void                fo_table_header_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_table_header_get_padding_top     (FoFo *fo_fo);
void                fo_table_header_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_table_header_get_role            (FoFo *fo_fo);
void                fo_table_header_set_role            (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_table_header_get_source_document (FoFo *fo_fo);
void                fo_table_header_set_source_document (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoTablePart
                                 +----FoTableHeader

Implemented Interfaces

FoTableHeader implements FoTableBorderFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-precedence"  FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-precedence" FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-precedence"    FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-precedence"  FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoTableHeader

typedef struct _FoTableHeader FoTableHeader;


FoTableHeaderClass

typedef struct _FoTableHeaderClass FoTableHeaderClass;


fo_table_header_new ()

FoFo*               fo_table_header_new                 (void);

Creates a new FoTableHeader initialized to default value.

Returns :

the new FoTableHeader.

fo_table_header_get_background_color ()

FoProperty*         fo_table_header_get_background_color
                                                        (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_table_header_set_background_color ()

void                fo_table_header_set_background_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_table_header_get_background_image ()

FoProperty*         fo_table_header_get_background_image
                                                        (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_table_header_set_background_image ()

void                fo_table_header_set_background_image
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_table_header_get_border_after_color ()

FoProperty*         fo_table_header_get_border_after_color
                                                        (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_table_header_set_border_after_color ()

void                fo_table_header_set_border_after_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_table_header_get_border_after_precedence ()

FoProperty*         fo_table_header_get_border_after_precedence
                                                        (FoFo *fo_fo);

Gets the "border-after-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-precedence" property value

fo_table_header_set_border_after_precedence ()

void                fo_table_header_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);

Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence

fo_fo :

The FoFo object

new_border_after_precedence :

The new "border-after-precedence" property value

fo_table_header_get_border_after_style ()

FoProperty*         fo_table_header_get_border_after_style
                                                        (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_table_header_set_border_after_style ()

void                fo_table_header_set_border_after_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_table_header_get_border_after_width ()

FoProperty*         fo_table_header_get_border_after_width
                                                        (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_table_header_set_border_after_width ()

void                fo_table_header_set_border_after_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_table_header_get_border_before_color ()

FoProperty*         fo_table_header_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_table_header_set_border_before_color ()

void                fo_table_header_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_table_header_get_border_before_precedence ()

FoProperty*         fo_table_header_get_border_before_precedence
                                                        (FoFo *fo_fo);

Gets the "border-before-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-precedence" property value

fo_table_header_set_border_before_precedence ()

void                fo_table_header_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);

Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence

fo_fo :

The FoFo object

new_border_before_precedence :

The new "border-before-precedence" property value

fo_table_header_get_border_before_style ()

FoProperty*         fo_table_header_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_table_header_set_border_before_style ()

void                fo_table_header_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_table_header_get_border_before_width ()

FoProperty*         fo_table_header_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_table_header_set_border_before_width ()

void                fo_table_header_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_table_header_get_border_bottom_color ()

FoProperty*         fo_table_header_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_table_header_set_border_bottom_color ()

void                fo_table_header_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_table_header_get_border_bottom_style ()

FoProperty*         fo_table_header_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_table_header_set_border_bottom_style ()

void                fo_table_header_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_table_header_get_border_bottom_width ()

FoProperty*         fo_table_header_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_table_header_set_border_bottom_width ()

void                fo_table_header_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_table_header_get_border_end_color ()

FoProperty*         fo_table_header_get_border_end_color
                                                        (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_table_header_set_border_end_color ()

void                fo_table_header_set_border_end_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_table_header_get_border_end_precedence ()

FoProperty*         fo_table_header_get_border_end_precedence
                                                        (FoFo *fo_fo);

Gets the "border-end-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-precedence" property value

fo_table_header_set_border_end_precedence ()

void                fo_table_header_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);

Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence

fo_fo :

The FoFo object

new_border_end_precedence :

The new "border-end-precedence" property value

fo_table_header_get_border_end_style ()

FoProperty*         fo_table_header_get_border_end_style
                                                        (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_table_header_set_border_end_style ()

void                fo_table_header_set_border_end_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_table_header_get_border_end_width ()

FoProperty*         fo_table_header_get_border_end_width
                                                        (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_table_header_set_border_end_width ()

void                fo_table_header_set_border_end_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_table_header_get_border_left_color ()

FoProperty*         fo_table_header_get_border_left_color
                                                        (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_table_header_set_border_left_color ()

void                fo_table_header_set_border_left_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_table_header_get_border_left_style ()

FoProperty*         fo_table_header_get_border_left_style
                                                        (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_table_header_set_border_left_style ()

void                fo_table_header_set_border_left_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_table_header_get_border_left_width ()

FoProperty*         fo_table_header_get_border_left_width
                                                        (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_table_header_set_border_left_width ()

void                fo_table_header_set_border_left_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_table_header_get_border_right_color ()

FoProperty*         fo_table_header_get_border_right_color
                                                        (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_table_header_set_border_right_color ()

void                fo_table_header_set_border_right_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_table_header_get_border_right_style ()

FoProperty*         fo_table_header_get_border_right_style
                                                        (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_table_header_set_border_right_style ()

void                fo_table_header_set_border_right_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_table_header_get_border_right_width ()

FoProperty*         fo_table_header_get_border_right_width
                                                        (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_table_header_set_border_right_width ()

void                fo_table_header_set_border_right_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_table_header_get_border_start_color ()

FoProperty*         fo_table_header_get_border_start_color
                                                        (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_table_header_set_border_start_color ()

void                fo_table_header_set_border_start_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_table_header_get_border_start_precedence ()

FoProperty*         fo_table_header_get_border_start_precedence
                                                        (FoFo *fo_fo);

Gets the "border-start-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-precedence" property value

fo_table_header_set_border_start_precedence ()

void                fo_table_header_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);

Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence

fo_fo :

The FoFo object

new_border_start_precedence :

The new "border-start-precedence" property value

fo_table_header_get_border_start_style ()

FoProperty*         fo_table_header_get_border_start_style
                                                        (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_table_header_set_border_start_style ()

void                fo_table_header_set_border_start_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_table_header_get_border_start_width ()

FoProperty*         fo_table_header_get_border_start_width
                                                        (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_table_header_set_border_start_width ()

void                fo_table_header_set_border_start_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_table_header_get_border_top_color ()

FoProperty*         fo_table_header_get_border_top_color
                                                        (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_table_header_set_border_top_color ()

void                fo_table_header_set_border_top_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_table_header_get_border_top_style ()

FoProperty*         fo_table_header_get_border_top_style
                                                        (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_table_header_set_border_top_style ()

void                fo_table_header_set_border_top_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_table_header_get_border_top_width ()

FoProperty*         fo_table_header_get_border_top_width
                                                        (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_table_header_set_border_top_width ()

void                fo_table_header_set_border_top_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_table_header_get_id ()

FoProperty*         fo_table_header_get_id              (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_table_header_set_id ()

void                fo_table_header_set_id              (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_table_header_get_padding_after ()

FoProperty*         fo_table_header_get_padding_after   (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_table_header_set_padding_after ()

void                fo_table_header_set_padding_after   (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_table_header_get_padding_before ()

FoProperty*         fo_table_header_get_padding_before  (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_table_header_set_padding_before ()

void                fo_table_header_set_padding_before  (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_table_header_get_padding_bottom ()

FoProperty*         fo_table_header_get_padding_bottom  (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_table_header_set_padding_bottom ()

void                fo_table_header_set_padding_bottom  (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_table_header_get_padding_end ()

FoProperty*         fo_table_header_get_padding_end     (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_table_header_set_padding_end ()

void                fo_table_header_set_padding_end     (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_table_header_get_padding_left ()

FoProperty*         fo_table_header_get_padding_left    (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_table_header_set_padding_left ()

void                fo_table_header_set_padding_left    (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_table_header_get_padding_right ()

FoProperty*         fo_table_header_get_padding_right   (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_table_header_set_padding_right ()

void                fo_table_header_set_padding_right   (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_table_header_get_padding_start ()

FoProperty*         fo_table_header_get_padding_start   (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_table_header_set_padding_start ()

void                fo_table_header_set_padding_start   (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_table_header_get_padding_top ()

FoProperty*         fo_table_header_get_padding_top     (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_table_header_set_padding_top ()

void                fo_table_header_set_padding_top     (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_table_header_get_role ()

FoProperty*         fo_table_header_get_role            (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_table_header_set_role ()

void                fo_table_header_set_role            (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_table_header_get_source_document ()

FoProperty*         fo_table_header_get_source_document (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_table_header_set_source_document ()

void                fo_table_header_set_source_document (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-precedence" property

  "border-after-precedence"  FoProperty*           : Read

Border After Precedence property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-precedence" property

  "border-before-precedence" FoProperty*           : Read

Border Before Precedence property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-precedence" property

  "border-end-precedence"    FoProperty*           : Read

Border End Precedence property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-precedence" property

  "border-start-precedence"  FoProperty*           : Read

Border Start Precedence property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-table.html0000644000175000017500000100647611156164735015470 00000000000000 table

table

table

Synopsis

enum                FoEnumTableLayoutMethod;
#define             FO_TYPE_ENUM_TABLE_LAYOUT_METHOD
#define             FO_TABLE_ERROR
GQuark              fo_table_error_quark                (void);
enum                FoTableError;
                    FoTable;
                    FoTableClass;
GType               fo_table_get_type                   (void);
FoFo*               fo_table_new                        (void);

gboolean            fo_table_validate_content_table_row_table_cell
                                                        (FoFo *fo,
                                                         GError **error);
void                fo_table_resolve_columns            (FoFo *fo,
                                                         GError **error);
void                fo_table_span_info_start_row        (FoFo *fo,
                                                         GError **error);
gint                fo_table_span_info_resolve_column_number
                                                        (FoFo *fo,
                                                         FoFo *table_cell,
                                                         gint column_number,
                                                         gint columns_spanned,
                                                         gint rows_spanned,
                                                         GError **error);
void                fo_table_span_info_debug_dump       (FoFo *fo,
                                                         gint depth);
void                fo_table_add_column                 (FoFo *fo,
                                                         gint column_number,
                                                         gint number_columns_spanned,
                                                         FoFo *column);
FoFo*               fo_table_get_column                 (FoFo *fo,
                                                         gint column_number,
                                                         gint number_columns_spanned);
gint                fo_table_get_max_column_number      (FoFo *fo);
FoEnumTableLayoutMethod fo_table_get_layout_method      (FoFo *fo_fo);
gdouble             fo_table_get_proportional_unit      (FoFo *fo);
FoProperty*         fo_table_get_background_color       (FoFo *fo_fo);
void                fo_table_set_background_color       (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_table_get_background_image       (FoFo *fo_fo);
void                fo_table_set_background_image       (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_table_get_block_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_table_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_table_get_border_after_color     (FoFo *fo_fo);
void                fo_table_set_border_after_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_table_get_border_after_precedence
                                                        (FoFo *fo_fo);
void                fo_table_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);
FoProperty*         fo_table_get_border_after_style     (FoFo *fo_fo);
void                fo_table_set_border_after_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_table_get_border_after_width     (FoFo *fo_fo);
void                fo_table_set_border_after_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_table_get_border_before_color    (FoFo *fo_fo);
void                fo_table_set_border_before_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_table_get_border_before_precedence
                                                        (FoFo *fo_fo);
void                fo_table_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);
FoProperty*         fo_table_get_border_before_style    (FoFo *fo_fo);
void                fo_table_set_border_before_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_table_get_border_before_width    (FoFo *fo_fo);
void                fo_table_set_border_before_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_table_get_border_bottom_color    (FoFo *fo_fo);
void                fo_table_set_border_bottom_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_table_get_border_bottom_style    (FoFo *fo_fo);
void                fo_table_set_border_bottom_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_table_get_border_bottom_width    (FoFo *fo_fo);
void                fo_table_set_border_bottom_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_table_get_border_collapse        (FoFo *fo_fo);
void                fo_table_set_border_collapse        (FoFo *fo_fo,
                                                         FoProperty *new_border_collapse);
FoProperty*         fo_table_get_border_end_color       (FoFo *fo_fo);
void                fo_table_set_border_end_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_table_get_border_end_precedence  (FoFo *fo_fo);
void                fo_table_set_border_end_precedence  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);
FoProperty*         fo_table_get_border_end_style       (FoFo *fo_fo);
void                fo_table_set_border_end_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_table_get_border_end_width       (FoFo *fo_fo);
void                fo_table_set_border_end_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_table_get_border_left_color      (FoFo *fo_fo);
void                fo_table_set_border_left_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_table_get_border_left_style      (FoFo *fo_fo);
void                fo_table_set_border_left_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_table_get_border_left_width      (FoFo *fo_fo);
void                fo_table_set_border_left_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_table_get_border_right_color     (FoFo *fo_fo);
void                fo_table_set_border_right_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_table_get_border_right_style     (FoFo *fo_fo);
void                fo_table_set_border_right_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_table_get_border_right_width     (FoFo *fo_fo);
void                fo_table_set_border_right_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_table_get_border_separation      (FoFo *fo_fo);
void                fo_table_set_border_separation      (FoFo *fo_fo,
                                                         FoProperty *new_border_separation);
FoProperty*         fo_table_get_border_start_color     (FoFo *fo_fo);
void                fo_table_set_border_start_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_table_get_border_start_precedence
                                                        (FoFo *fo_fo);
void                fo_table_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);
FoProperty*         fo_table_get_border_start_style     (FoFo *fo_fo);
void                fo_table_set_border_start_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_table_get_border_start_width     (FoFo *fo_fo);
void                fo_table_set_border_start_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_table_get_border_top_color       (FoFo *fo_fo);
void                fo_table_set_border_top_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_table_get_border_top_style       (FoFo *fo_fo);
void                fo_table_set_border_top_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_table_get_border_top_width       (FoFo *fo_fo);
void                fo_table_set_border_top_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_table_get_break_after            (FoFo *fo_fo);
void                fo_table_set_break_after            (FoFo *fo_fo,
                                                         FoProperty *new_break_after);
FoProperty*         fo_table_get_break_before           (FoFo *fo_fo);
void                fo_table_set_break_before           (FoFo *fo_fo,
                                                         FoProperty *new_break_before);
FoProperty*         fo_table_get_end_indent             (FoFo *fo_fo);
void                fo_table_set_end_indent             (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);
FoProperty*         fo_table_get_height                 (FoFo *fo_fo);
void                fo_table_set_height                 (FoFo *fo_fo,
                                                         FoProperty *new_height);
FoProperty*         fo_table_get_id                     (FoFo *fo_fo);
void                fo_table_set_id                     (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_table_get_inline_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_table_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);
FoProperty*         fo_table_get_keep_together          (FoFo *fo_fo);
void                fo_table_set_keep_together          (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_table_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_table_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_table_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_table_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_table_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_table_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_table_get_keep_with_next         (FoFo *fo_fo);
void                fo_table_set_keep_with_next         (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_table_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_table_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_table_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_table_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_table_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_table_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_table_get_keep_with_previous     (FoFo *fo_fo);
void                fo_table_set_keep_with_previous     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_table_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_table_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_table_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_table_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_table_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_table_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_table_get_margin_bottom          (FoFo *fo_fo);
void                fo_table_set_margin_bottom          (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);
FoProperty*         fo_table_get_margin_left            (FoFo *fo_fo);
void                fo_table_set_margin_left            (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);
FoProperty*         fo_table_get_margin_right           (FoFo *fo_fo);
void                fo_table_set_margin_right           (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);
FoProperty*         fo_table_get_margin_top             (FoFo *fo_fo);
void                fo_table_set_margin_top             (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);
FoProperty*         fo_table_get_padding_after          (FoFo *fo_fo);
void                fo_table_set_padding_after          (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_table_get_padding_before         (FoFo *fo_fo);
void                fo_table_set_padding_before         (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_table_get_padding_bottom         (FoFo *fo_fo);
void                fo_table_set_padding_bottom         (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_table_get_padding_end            (FoFo *fo_fo);
void                fo_table_set_padding_end            (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_table_get_padding_left           (FoFo *fo_fo);
void                fo_table_set_padding_left           (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_table_get_padding_right          (FoFo *fo_fo);
void                fo_table_set_padding_right          (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_table_get_padding_start          (FoFo *fo_fo);
void                fo_table_set_padding_start          (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_table_get_padding_top            (FoFo *fo_fo);
void                fo_table_set_padding_top            (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_table_get_role                   (FoFo *fo_fo);
void                fo_table_set_role                   (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_table_get_source_document        (FoFo *fo_fo);
void                fo_table_set_source_document        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_table_get_space_after            (FoFo *fo_fo);
void                fo_table_set_space_after            (FoFo *fo_fo,
                                                         FoProperty *new_space_after);
FoProperty*         fo_table_get_space_before           (FoFo *fo_fo);
void                fo_table_set_space_before           (FoFo *fo_fo,
                                                         FoProperty *new_space_before);
FoProperty*         fo_table_get_start_indent           (FoFo *fo_fo);
void                fo_table_set_start_indent           (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);
FoProperty*         fo_table_get_table_layout           (FoFo *fo_fo);
void                fo_table_set_table_layout           (FoFo *fo_fo,
                                                         FoProperty *new_table_layout);
FoProperty*         fo_table_get_width                  (FoFo *fo_fo);
void                fo_table_set_width                  (FoFo *fo_fo,
                                                         FoProperty *new_width);
FoProperty*         fo_table_get_writing_mode           (FoFo *fo_fo);
void                fo_table_set_writing_mode           (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoMarkerParent
                           +----FoTable

Implemented Interfaces

FoTable implements FoBlockFoIface and FoTableBorderFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-precedence"  FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-precedence" FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-collapse"          FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-precedence"    FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-separation"        FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-precedence"  FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "break-after"              FoProperty*           : Read
  "break-before"             FoProperty*           : Read
  "end-indent"               FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "inline-progression-dimension" FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "layout-method"            FoEnumTableLayoutMethod  : Read
  "margin-bottom"            FoProperty*           : Read
  "margin-left"              FoProperty*           : Read
  "margin-right"             FoProperty*           : Read
  "margin-top"               FoProperty*           : Read
  "max-column-number"        gint                  : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-after"              FoProperty*           : Read
  "space-before"             FoProperty*           : Read
  "start-indent"             FoProperty*           : Read
  "table-layout"             FoProperty*           : Read
  "width"                    FoProperty*           : Read
  "writing-mode"             FoProperty*           : Read

Description

Details

enum FoEnumTableLayoutMethod

typedef enum {
  FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN,
  FO_ENUM_TABLE_LAYOUT_METHOD_AUTOMATIC,
  FO_ENUM_TABLE_LAYOUT_METHOD_FIXED
} FoEnumTableLayoutMethod;


FO_TYPE_ENUM_TABLE_LAYOUT_METHOD

#define FO_TYPE_ENUM_TABLE_LAYOUT_METHOD fo_enum_table_layout_method_get_type ()


FO_TABLE_ERROR

#define FO_TABLE_ERROR fo_table_error_quark ()


fo_table_error_quark ()

GQuark              fo_table_error_quark                (void);

Create and return the GQuark for use as the error domain for table.

Returns :

Error domain GQuark.

enum FoTableError

typedef enum
{
  FO_TABLE_ERROR_FAILED,          /* Generic error code */
  FO_TABLE_ERROR_WARNING,         /* Non-fatal error */
  FO_TABLE_ERROR_LAYOUT_METHOD_UNKNOWN,
  FO_TABLE_ERROR_FIXED_NO_COLUMN,
  FO_TABLE_ERROR_MISSING_COLUMN,
  FO_TABLE_ERROR_WIDTH_NOT_LENGTH,
  FO_TABLE_ERROR_NO_AREA,
  FO_TABLE_ERROR_FIXED_BUT_AUTO,
  FO_TABLE_ERROR_SPANNING_CELLS_FILL_ROW,
  FO_TABLE_ERROR_FALLBACK_TO_FIXED,
  FO_TABLE_ERROR_INLINE_PROGRESSION_DIRECTION,
  FO_TABLE_ERROR_LAST
} FoTableError;


FoTable

typedef struct _FoTable FoTable;


FoTableClass

typedef struct _FoTableClass FoTableClass;


fo_table_get_type ()

GType               fo_table_get_type                   (void);

Register the FoTable object type.

Returns :

GType value of the FoTable object type.

fo_table_new ()

FoFo*               fo_table_new                        (void);

Creates a new FoTable initialized to default value.

Returns :

the new FoTable.

fo_table_validate_content_table_row_table_cell ()

gboolean            fo_table_validate_content_table_row_table_cell
                                                        (FoFo *fo,
                                                         GError **error);

Validate the content model, i.e., the structure, of the object. Return value matches GNodeTraversFunc model: FALSE indicates content model is correct, or TRUE indicates an error. When used with fo_node_traverse(), returning TRUE stops the traversal.

This is used by table-header, table-footer, and table-body.

Content model: (table-row+ | table-cell+)

fo :

FoRoot object to validate.

error :

GError indicating error condition, if any.

Returns :

FALSE if content model okay, TRUE if not

fo_table_resolve_columns ()

void                fo_table_resolve_columns            (FoFo *fo,
                                                         GError **error);

Do housekeeping for table-column FOs now that all FoTableColumn objects have been created.

fo :

FoTable for which to resolve columns

error :

GError

fo_table_span_info_start_row ()

void                fo_table_span_info_start_row        (FoFo *fo,
                                                         GError **error);

Reset span_info of fo at the start of a row.

fo :

FoTable for which to reset span_info

error :

GError

fo_table_span_info_resolve_column_number ()

gint                fo_table_span_info_resolve_column_number
                                                        (FoFo *fo,
                                                         FoFo *table_cell,
                                                         gint column_number,
                                                         gint columns_spanned,
                                                         gint rows_spanned,
                                                         GError **error);

Determine the column-number for table_cell.

fo :

The FoTable containing table_cell.

table_cell :

The FoTableCell for which to assign a column number.

column_number :

Requested column number, or 0 if not specified.

columns_spanned :

Number of columns spanned by table_cell.

rows_spanned :

Number of rows spanned by table_cell.

error :

GError indicating any error condition that occurred.

Returns :

The column-number to assign to table_cell.

fo_table_span_info_debug_dump ()

void                fo_table_span_info_debug_dump       (FoFo *fo,
                                                         gint depth);

Dump info about the spans used in the table.

fo :

FoTable for which to dump span info.

depth :

Relative indent to add to output.

fo_table_add_column ()

void                fo_table_add_column                 (FoFo *fo,
                                                         gint column_number,
                                                         gint number_columns_spanned,
                                                         FoFo *column);

Add a table-column object to the column-number+number-columns-spanned hash maintained by table.

fo :

FoTable

column_number :

Column number of column

number_columns_spanned :

Number of columns spanned by column

column :

FoTableColumn to add to hash

fo_table_get_column ()

FoFo*               fo_table_get_column                 (FoFo *fo,
                                                         gint column_number,
                                                         gint number_columns_spanned);

Get the column for a column number and number columns spanned combination.

fo :

FoTable that has hash of columns

column_number :

Column number to match

number_columns_spanned :

Number of columns spanned on which to map

Returns :

FoTableColumn object

fo_table_get_max_column_number ()

gint                fo_table_get_max_column_number      (FoFo *fo);

Get highest column number of columns registered with table using fo_table_add_column.

fo :

FoTable that has hash of columns

Returns :

Highest column number registered using fo_table_add_column

fo_table_get_layout_method ()

FoEnumTableLayoutMethod fo_table_get_layout_method      (FoFo *fo_fo);

Gets the layout-method property of table

fo_fo :

The FoFo object

Returns :

The "layout-method" property value

fo_table_get_proportional_unit ()

gdouble             fo_table_get_proportional_unit      (FoFo *fo);

Get the length in points of one proportional unit for fo.

fo :

FoTable for which to get proportional unit.

Returns :

The length in points of one proportional unit.

fo_table_get_background_color ()

FoProperty*         fo_table_get_background_color       (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_table_set_background_color ()

void                fo_table_set_background_color       (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_table_get_background_image ()

FoProperty*         fo_table_get_background_image       (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_table_set_background_image ()

void                fo_table_set_background_image       (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_table_get_block_progression_dimension ()

FoProperty*         fo_table_get_block_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "block-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "block-progression-dimension" property value

fo_table_set_block_progression_dimension ()

void                fo_table_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension

fo_fo :

The FoFo object

new_block_progression_dimension :

The new "block-progression-dimension" property value

fo_table_get_border_after_color ()

FoProperty*         fo_table_get_border_after_color     (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_table_set_border_after_color ()

void                fo_table_set_border_after_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_table_get_border_after_precedence ()

FoProperty*         fo_table_get_border_after_precedence
                                                        (FoFo *fo_fo);

Gets the "border-after-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-precedence" property value

fo_table_set_border_after_precedence ()

void                fo_table_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);

Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence

fo_fo :

The FoFo object

new_border_after_precedence :

The new "border-after-precedence" property value

fo_table_get_border_after_style ()

FoProperty*         fo_table_get_border_after_style     (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_table_set_border_after_style ()

void                fo_table_set_border_after_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_table_get_border_after_width ()

FoProperty*         fo_table_get_border_after_width     (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_table_set_border_after_width ()

void                fo_table_set_border_after_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_table_get_border_before_color ()

FoProperty*         fo_table_get_border_before_color    (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_table_set_border_before_color ()

void                fo_table_set_border_before_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_table_get_border_before_precedence ()

FoProperty*         fo_table_get_border_before_precedence
                                                        (FoFo *fo_fo);

Gets the "border-before-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-precedence" property value

fo_table_set_border_before_precedence ()

void                fo_table_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);

Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence

fo_fo :

The FoFo object

new_border_before_precedence :

The new "border-before-precedence" property value

fo_table_get_border_before_style ()

FoProperty*         fo_table_get_border_before_style    (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_table_set_border_before_style ()

void                fo_table_set_border_before_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_table_get_border_before_width ()

FoProperty*         fo_table_get_border_before_width    (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_table_set_border_before_width ()

void                fo_table_set_border_before_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_table_get_border_bottom_color ()

FoProperty*         fo_table_get_border_bottom_color    (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_table_set_border_bottom_color ()

void                fo_table_set_border_bottom_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_table_get_border_bottom_style ()

FoProperty*         fo_table_get_border_bottom_style    (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_table_set_border_bottom_style ()

void                fo_table_set_border_bottom_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_table_get_border_bottom_width ()

FoProperty*         fo_table_get_border_bottom_width    (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_table_set_border_bottom_width ()

void                fo_table_set_border_bottom_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_table_get_border_collapse ()

FoProperty*         fo_table_get_border_collapse        (FoFo *fo_fo);

Gets the "border-collapse" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-collapse" property value

fo_table_set_border_collapse ()

void                fo_table_set_border_collapse        (FoFo *fo_fo,
                                                         FoProperty *new_border_collapse);

Sets the "border-collapse" property of fo_fo to new_border_collapse

fo_fo :

The FoFo object

new_border_collapse :

The new "border-collapse" property value

fo_table_get_border_end_color ()

FoProperty*         fo_table_get_border_end_color       (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_table_set_border_end_color ()

void                fo_table_set_border_end_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_table_get_border_end_precedence ()

FoProperty*         fo_table_get_border_end_precedence  (FoFo *fo_fo);

Gets the "border-end-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-precedence" property value

fo_table_set_border_end_precedence ()

void                fo_table_set_border_end_precedence  (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);

Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence

fo_fo :

The FoFo object

new_border_end_precedence :

The new "border-end-precedence" property value

fo_table_get_border_end_style ()

FoProperty*         fo_table_get_border_end_style       (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_table_set_border_end_style ()

void                fo_table_set_border_end_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_table_get_border_end_width ()

FoProperty*         fo_table_get_border_end_width       (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_table_set_border_end_width ()

void                fo_table_set_border_end_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_table_get_border_left_color ()

FoProperty*         fo_table_get_border_left_color      (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_table_set_border_left_color ()

void                fo_table_set_border_left_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_table_get_border_left_style ()

FoProperty*         fo_table_get_border_left_style      (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_table_set_border_left_style ()

void                fo_table_set_border_left_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_table_get_border_left_width ()

FoProperty*         fo_table_get_border_left_width      (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_table_set_border_left_width ()

void                fo_table_set_border_left_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_table_get_border_right_color ()

FoProperty*         fo_table_get_border_right_color     (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_table_set_border_right_color ()

void                fo_table_set_border_right_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_table_get_border_right_style ()

FoProperty*         fo_table_get_border_right_style     (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_table_set_border_right_style ()

void                fo_table_set_border_right_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_table_get_border_right_width ()

FoProperty*         fo_table_get_border_right_width     (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_table_set_border_right_width ()

void                fo_table_set_border_right_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_table_get_border_separation ()

FoProperty*         fo_table_get_border_separation      (FoFo *fo_fo);

Gets the "border-separation" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-separation" property value

fo_table_set_border_separation ()

void                fo_table_set_border_separation      (FoFo *fo_fo,
                                                         FoProperty *new_border_separation);

Sets the "border-separation" property of fo_fo to new_border_separation

fo_fo :

The FoFo object

new_border_separation :

The new "border-separation" property value

fo_table_get_border_start_color ()

FoProperty*         fo_table_get_border_start_color     (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_table_set_border_start_color ()

void                fo_table_set_border_start_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_table_get_border_start_precedence ()

FoProperty*         fo_table_get_border_start_precedence
                                                        (FoFo *fo_fo);

Gets the "border-start-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-precedence" property value

fo_table_set_border_start_precedence ()

void                fo_table_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);

Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence

fo_fo :

The FoFo object

new_border_start_precedence :

The new "border-start-precedence" property value

fo_table_get_border_start_style ()

FoProperty*         fo_table_get_border_start_style     (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_table_set_border_start_style ()

void                fo_table_set_border_start_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_table_get_border_start_width ()

FoProperty*         fo_table_get_border_start_width     (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_table_set_border_start_width ()

void                fo_table_set_border_start_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_table_get_border_top_color ()

FoProperty*         fo_table_get_border_top_color       (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_table_set_border_top_color ()

void                fo_table_set_border_top_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_table_get_border_top_style ()

FoProperty*         fo_table_get_border_top_style       (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_table_set_border_top_style ()

void                fo_table_set_border_top_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_table_get_border_top_width ()

FoProperty*         fo_table_get_border_top_width       (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_table_set_border_top_width ()

void                fo_table_set_border_top_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_table_get_break_after ()

FoProperty*         fo_table_get_break_after            (FoFo *fo_fo);

Gets the "break-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-after" property value

fo_table_set_break_after ()

void                fo_table_set_break_after            (FoFo *fo_fo,
                                                         FoProperty *new_break_after);

Sets the "break-after" property of fo_fo to new_break_after

fo_fo :

The FoFo object

new_break_after :

The new "break-after" property value

fo_table_get_break_before ()

FoProperty*         fo_table_get_break_before           (FoFo *fo_fo);

Gets the "break-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-before" property value

fo_table_set_break_before ()

void                fo_table_set_break_before           (FoFo *fo_fo,
                                                         FoProperty *new_break_before);

Sets the "break-before" property of fo_fo to new_break_before

fo_fo :

The FoFo object

new_break_before :

The new "break-before" property value

fo_table_get_end_indent ()

FoProperty*         fo_table_get_end_indent             (FoFo *fo_fo);

Gets the "end-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "end-indent" property value

fo_table_set_end_indent ()

void                fo_table_set_end_indent             (FoFo *fo_fo,
                                                         FoProperty *new_end_indent);

Sets the "end-indent" property of fo_fo to new_end_indent

fo_fo :

The FoFo object

new_end_indent :

The new "end-indent" property value

fo_table_get_height ()

FoProperty*         fo_table_get_height                 (FoFo *fo_fo);

Gets the "height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "height" property value

fo_table_set_height ()

void                fo_table_set_height                 (FoFo *fo_fo,
                                                         FoProperty *new_height);

Sets the "height" property of fo_fo to new_height

fo_fo :

The FoFo object

new_height :

The new "height" property value

fo_table_get_id ()

FoProperty*         fo_table_get_id                     (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_table_set_id ()

void                fo_table_set_id                     (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_table_get_inline_progression_dimension ()

FoProperty*         fo_table_get_inline_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "inline-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "inline-progression-dimension" property value

fo_table_set_inline_progression_dimension ()

void                fo_table_set_inline_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_inline_progression_dimension);

Sets the "inline-progression-dimension" property of fo_fo to new_inline_progression_dimension

fo_fo :

The FoFo object

new_inline_progression_dimension :

The new "inline-progression-dimension" property value

fo_table_get_keep_together ()

FoProperty*         fo_table_get_keep_together          (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_table_set_keep_together ()

void                fo_table_set_keep_together          (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_table_get_keep_together_within_column ()

FoProperty*         fo_table_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_table_set_keep_together_within_column ()

void                fo_table_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_table_get_keep_together_within_line ()

FoProperty*         fo_table_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_table_set_keep_together_within_line ()

void                fo_table_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_table_get_keep_together_within_page ()

FoProperty*         fo_table_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_table_set_keep_together_within_page ()

void                fo_table_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_table_get_keep_with_next ()

FoProperty*         fo_table_get_keep_with_next         (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_table_set_keep_with_next ()

void                fo_table_set_keep_with_next         (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_table_get_keep_with_next_within_column ()

FoProperty*         fo_table_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_table_set_keep_with_next_within_column ()

void                fo_table_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_table_get_keep_with_next_within_line ()

FoProperty*         fo_table_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_table_set_keep_with_next_within_line ()

void                fo_table_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_table_get_keep_with_next_within_page ()

FoProperty*         fo_table_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_table_set_keep_with_next_within_page ()

void                fo_table_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_table_get_keep_with_previous ()

FoProperty*         fo_table_get_keep_with_previous     (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_table_set_keep_with_previous ()

void                fo_table_set_keep_with_previous     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_table_get_keep_with_previous_within_column ()

FoProperty*         fo_table_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_table_set_keep_with_previous_within_column ()

void                fo_table_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_table_get_keep_with_previous_within_line ()

FoProperty*         fo_table_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_table_set_keep_with_previous_within_line ()

void                fo_table_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_table_get_keep_with_previous_within_page ()

FoProperty*         fo_table_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_table_set_keep_with_previous_within_page ()

void                fo_table_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_table_get_margin_bottom ()

FoProperty*         fo_table_get_margin_bottom          (FoFo *fo_fo);

Gets the "margin-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-bottom" property value

fo_table_set_margin_bottom ()

void                fo_table_set_margin_bottom          (FoFo *fo_fo,
                                                         FoProperty *new_margin_bottom);

Sets the "margin-bottom" property of fo_fo to new_margin_bottom

fo_fo :

The FoFo object

new_margin_bottom :

The new "margin-bottom" property value

fo_table_get_margin_left ()

FoProperty*         fo_table_get_margin_left            (FoFo *fo_fo);

Gets the "margin-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-left" property value

fo_table_set_margin_left ()

void                fo_table_set_margin_left            (FoFo *fo_fo,
                                                         FoProperty *new_margin_left);

Sets the "margin-left" property of fo_fo to new_margin_left

fo_fo :

The FoFo object

new_margin_left :

The new "margin-left" property value

fo_table_get_margin_right ()

FoProperty*         fo_table_get_margin_right           (FoFo *fo_fo);

Gets the "margin-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-right" property value

fo_table_set_margin_right ()

void                fo_table_set_margin_right           (FoFo *fo_fo,
                                                         FoProperty *new_margin_right);

Sets the "margin-right" property of fo_fo to new_margin_right

fo_fo :

The FoFo object

new_margin_right :

The new "margin-right" property value

fo_table_get_margin_top ()

FoProperty*         fo_table_get_margin_top             (FoFo *fo_fo);

Gets the "margin-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "margin-top" property value

fo_table_set_margin_top ()

void                fo_table_set_margin_top             (FoFo *fo_fo,
                                                         FoProperty *new_margin_top);

Sets the "margin-top" property of fo_fo to new_margin_top

fo_fo :

The FoFo object

new_margin_top :

The new "margin-top" property value

fo_table_get_padding_after ()

FoProperty*         fo_table_get_padding_after          (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_table_set_padding_after ()

void                fo_table_set_padding_after          (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_table_get_padding_before ()

FoProperty*         fo_table_get_padding_before         (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_table_set_padding_before ()

void                fo_table_set_padding_before         (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_table_get_padding_bottom ()

FoProperty*         fo_table_get_padding_bottom         (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_table_set_padding_bottom ()

void                fo_table_set_padding_bottom         (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_table_get_padding_end ()

FoProperty*         fo_table_get_padding_end            (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_table_set_padding_end ()

void                fo_table_set_padding_end            (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_table_get_padding_left ()

FoProperty*         fo_table_get_padding_left           (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_table_set_padding_left ()

void                fo_table_set_padding_left           (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_table_get_padding_right ()

FoProperty*         fo_table_get_padding_right          (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_table_set_padding_right ()

void                fo_table_set_padding_right          (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_table_get_padding_start ()

FoProperty*         fo_table_get_padding_start          (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_table_set_padding_start ()

void                fo_table_set_padding_start          (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_table_get_padding_top ()

FoProperty*         fo_table_get_padding_top            (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_table_set_padding_top ()

void                fo_table_set_padding_top            (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_table_get_role ()

FoProperty*         fo_table_get_role                   (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_table_set_role ()

void                fo_table_set_role                   (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_table_get_source_document ()

FoProperty*         fo_table_get_source_document        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_table_set_source_document ()

void                fo_table_set_source_document        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_table_get_space_after ()

FoProperty*         fo_table_get_space_after            (FoFo *fo_fo);

Gets the "space-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-after" property value

fo_table_set_space_after ()

void                fo_table_set_space_after            (FoFo *fo_fo,
                                                         FoProperty *new_space_after);

Sets the "space-after" property of fo_fo to new_space_after

fo_fo :

The FoFo object

new_space_after :

The new "space-after" property value

fo_table_get_space_before ()

FoProperty*         fo_table_get_space_before           (FoFo *fo_fo);

Gets the "space-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-before" property value

fo_table_set_space_before ()

void                fo_table_set_space_before           (FoFo *fo_fo,
                                                         FoProperty *new_space_before);

Sets the "space-before" property of fo_fo to new_space_before

fo_fo :

The FoFo object

new_space_before :

The new "space-before" property value

fo_table_get_start_indent ()

FoProperty*         fo_table_get_start_indent           (FoFo *fo_fo);

Gets the "start-indent" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "start-indent" property value

fo_table_set_start_indent ()

void                fo_table_set_start_indent           (FoFo *fo_fo,
                                                         FoProperty *new_start_indent);

Sets the "start-indent" property of fo_fo to new_start_indent

fo_fo :

The FoFo object

new_start_indent :

The new "start-indent" property value

fo_table_get_table_layout ()

FoProperty*         fo_table_get_table_layout           (FoFo *fo_fo);

Gets the "table-layout" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "table-layout" property value

fo_table_set_table_layout ()

void                fo_table_set_table_layout           (FoFo *fo_fo,
                                                         FoProperty *new_table_layout);

Sets the "table-layout" property of fo_fo to new_table_layout

fo_fo :

The FoFo object

new_table_layout :

The new "table-layout" property value

fo_table_get_width ()

FoProperty*         fo_table_get_width                  (FoFo *fo_fo);

Gets the "width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "width" property value

fo_table_set_width ()

void                fo_table_set_width                  (FoFo *fo_fo,
                                                         FoProperty *new_width);

Sets the "width" property of fo_fo to new_width

fo_fo :

The FoFo object

new_width :

The new "width" property value

fo_table_get_writing_mode ()

FoProperty*         fo_table_get_writing_mode           (FoFo *fo_fo);

Gets the "writing-mode" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "writing-mode" property value

fo_table_set_writing_mode ()

void                fo_table_set_writing_mode           (FoFo *fo_fo,
                                                         FoProperty *new_writing_mode);

Sets the "writing-mode" property of fo_fo to new_writing_mode

fo_fo :

The FoFo object

new_writing_mode :

The new "writing-mode" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-precedence" property

  "border-after-precedence"  FoProperty*           : Read

Border After Precedence property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-precedence" property

  "border-before-precedence" FoProperty*           : Read

Border Before Precedence property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-collapse" property

  "border-collapse"          FoProperty*           : Read

Border Collapse property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-precedence" property

  "border-end-precedence"    FoProperty*           : Read

Border End Precedence property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-separation" property

  "border-separation"        FoProperty*           : Read

Border Separation property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-precedence" property

  "border-start-precedence"  FoProperty*           : Read

Border Start Precedence property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "break-after" property

  "break-after"              FoProperty*           : Read

Break After property.


The "break-before" property

  "break-before"             FoProperty*           : Read

Break Before property.


The "end-indent" property

  "end-indent"               FoProperty*           : Read

End Indent property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "inline-progression-dimension" property

  "inline-progression-dimension" FoProperty*           : Read

Inline Progression Dimension property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "layout-method" property

  "layout-method"            FoEnumTableLayoutMethod  : Read

Method used when laying out the table.

Default value: FO_ENUM_TABLE_LAYOUT_METHOD_UNKNOWN


The "margin-bottom" property

  "margin-bottom"            FoProperty*           : Read

Margin Bottom property.


The "margin-left" property

  "margin-left"              FoProperty*           : Read

Margin Left property.


The "margin-right" property

  "margin-right"             FoProperty*           : Read

Margin Right property.


The "margin-top" property

  "margin-top"               FoProperty*           : Read

Margin Top property.


The "max-column-number" property

  "max-column-number"        gint                  : Read

Largest column number registered for table.

Allowed values: >= 0

Default value: 0


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-after" property

  "space-after"              FoProperty*           : Read

Space After property.


The "space-before" property

  "space-before"             FoProperty*           : Read

Space Before property.


The "start-indent" property

  "start-indent"             FoProperty*           : Read

Start Indent property.


The "table-layout" property

  "table-layout"             FoProperty*           : Read

Table Layout property.


The "width" property

  "width"                    FoProperty*           : Read

Width property.


The "writing-mode" property

  "writing-mode"             FoProperty*           : Read

Writing Mode property.

xmlroff-0.6.2/docs/html/xmlroff-table-layout.html0000644000175000017500000001432411156164735016771 00000000000000 table-layout

table-layout

table-layout

Description

Details

FoPropertyTableLayout

typedef struct _FoPropertyTableLayout FoPropertyTableLayout;


FoPropertyTableLayoutClass

typedef struct _FoPropertyTableLayoutClass FoPropertyTableLayoutClass;


fo_property_table_layout_new ()

FoProperty*         fo_property_table_layout_new        (void);

Creates a new FoPropertyTableLayout initialized to default value.

Returns :

the new FoPropertyTableLayout.

fo_property_table_layout_get_initial ()

FoProperty*         fo_property_table_layout_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-table-row.html0000644000175000017500000061062211156164735016266 00000000000000 table-row

table-row

table-row

Synopsis

                    FoTableRow;
                    FoTableRowClass;
FoFo*               fo_table_row_new                    (void);

FoProperty*         fo_table_row_get_background_color   (FoFo *fo_fo);
void                fo_table_row_set_background_color   (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_table_row_get_background_image   (FoFo *fo_fo);
void                fo_table_row_set_background_image   (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_table_row_get_block_progression_dimension
                                                        (FoFo *fo_fo);
void                fo_table_row_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);
FoProperty*         fo_table_row_get_border_after_color (FoFo *fo_fo);
void                fo_table_row_set_border_after_color (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_table_row_get_border_after_precedence
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);
FoProperty*         fo_table_row_get_border_after_style (FoFo *fo_fo);
void                fo_table_row_set_border_after_style (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_table_row_get_border_after_width (FoFo *fo_fo);
void                fo_table_row_set_border_after_width (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_table_row_get_border_before_color
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_table_row_get_border_before_precedence
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);
FoProperty*         fo_table_row_get_border_before_style
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_table_row_get_border_before_width
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_table_row_get_border_bottom_color
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_table_row_get_border_bottom_style
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_table_row_get_border_bottom_width
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_table_row_get_border_end_color   (FoFo *fo_fo);
void                fo_table_row_set_border_end_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_table_row_get_border_end_precedence
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);
FoProperty*         fo_table_row_get_border_end_style   (FoFo *fo_fo);
void                fo_table_row_set_border_end_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_table_row_get_border_end_width   (FoFo *fo_fo);
void                fo_table_row_set_border_end_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_table_row_get_border_left_color  (FoFo *fo_fo);
void                fo_table_row_set_border_left_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_table_row_get_border_left_style  (FoFo *fo_fo);
void                fo_table_row_set_border_left_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_table_row_get_border_left_width  (FoFo *fo_fo);
void                fo_table_row_set_border_left_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_table_row_get_border_right_color (FoFo *fo_fo);
void                fo_table_row_set_border_right_color (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_table_row_get_border_right_style (FoFo *fo_fo);
void                fo_table_row_set_border_right_style (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_table_row_get_border_right_width (FoFo *fo_fo);
void                fo_table_row_set_border_right_width (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_table_row_get_border_start_color (FoFo *fo_fo);
void                fo_table_row_set_border_start_color (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_table_row_get_border_start_precedence
                                                        (FoFo *fo_fo);
void                fo_table_row_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);
FoProperty*         fo_table_row_get_border_start_style (FoFo *fo_fo);
void                fo_table_row_set_border_start_style (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_table_row_get_border_start_width (FoFo *fo_fo);
void                fo_table_row_set_border_start_width (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_table_row_get_border_top_color   (FoFo *fo_fo);
void                fo_table_row_set_border_top_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_table_row_get_border_top_style   (FoFo *fo_fo);
void                fo_table_row_set_border_top_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_table_row_get_border_top_width   (FoFo *fo_fo);
void                fo_table_row_set_border_top_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_table_row_get_break_after        (FoFo *fo_fo);
void                fo_table_row_set_break_after        (FoFo *fo_fo,
                                                         FoProperty *new_break_after);
FoProperty*         fo_table_row_get_break_before       (FoFo *fo_fo);
void                fo_table_row_set_break_before       (FoFo *fo_fo,
                                                         FoProperty *new_break_before);
FoProperty*         fo_table_row_get_height             (FoFo *fo_fo);
void                fo_table_row_set_height             (FoFo *fo_fo,
                                                         FoProperty *new_height);
FoProperty*         fo_table_row_get_id                 (FoFo *fo_fo);
void                fo_table_row_set_id                 (FoFo *fo_fo,
                                                         FoProperty *new_id);
FoProperty*         fo_table_row_get_keep_together      (FoFo *fo_fo);
void                fo_table_row_set_keep_together      (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);
FoProperty*         fo_table_row_get_keep_together_within_column
                                                        (FoFo *fo_fo);
void                fo_table_row_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);
FoProperty*         fo_table_row_get_keep_together_within_line
                                                        (FoFo *fo_fo);
void                fo_table_row_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);
FoProperty*         fo_table_row_get_keep_together_within_page
                                                        (FoFo *fo_fo);
void                fo_table_row_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);
FoProperty*         fo_table_row_get_keep_with_next     (FoFo *fo_fo);
void                fo_table_row_set_keep_with_next     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);
FoProperty*         fo_table_row_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);
void                fo_table_row_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);
FoProperty*         fo_table_row_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);
void                fo_table_row_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);
FoProperty*         fo_table_row_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);
void                fo_table_row_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);
FoProperty*         fo_table_row_get_keep_with_previous (FoFo *fo_fo);
void                fo_table_row_set_keep_with_previous (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);
FoProperty*         fo_table_row_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);
void                fo_table_row_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);
FoProperty*         fo_table_row_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);
void                fo_table_row_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);
FoProperty*         fo_table_row_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);
void                fo_table_row_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);
FoProperty*         fo_table_row_get_padding_after      (FoFo *fo_fo);
void                fo_table_row_set_padding_after      (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_table_row_get_padding_before     (FoFo *fo_fo);
void                fo_table_row_set_padding_before     (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_table_row_get_padding_bottom     (FoFo *fo_fo);
void                fo_table_row_set_padding_bottom     (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_table_row_get_padding_end        (FoFo *fo_fo);
void                fo_table_row_set_padding_end        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_table_row_get_padding_left       (FoFo *fo_fo);
void                fo_table_row_set_padding_left       (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_table_row_get_padding_right      (FoFo *fo_fo);
void                fo_table_row_set_padding_right      (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_table_row_get_padding_start      (FoFo *fo_fo);
void                fo_table_row_set_padding_start      (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_table_row_get_padding_top        (FoFo *fo_fo);
void                fo_table_row_set_padding_top        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_table_row_get_role               (FoFo *fo_fo);
void                fo_table_row_set_role               (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_table_row_get_source_document    (FoFo *fo_fo);
void                fo_table_row_set_source_document    (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoTableRow

Implemented Interfaces

FoTableRow implements FoTableBorderFoIface.

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "block-progression-dimension" FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-precedence"  FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-precedence" FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-precedence"    FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-precedence"  FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "break-after"              FoProperty*           : Read
  "break-before"             FoProperty*           : Read
  "height"                   FoProperty*           : Read
  "id"                       FoProperty*           : Read
  "keep-together"            FoProperty*           : Read
  "keep-together-within-column" FoProperty*           : Read
  "keep-together-within-line" FoProperty*           : Read
  "keep-together-within-page" FoProperty*           : Read
  "keep-with-next"           FoProperty*           : Read
  "keep-with-next-within-column" FoProperty*           : Read
  "keep-with-next-within-line" FoProperty*           : Read
  "keep-with-next-within-page" FoProperty*           : Read
  "keep-with-previous"       FoProperty*           : Read
  "keep-with-previous-within-column" FoProperty*           : Read
  "keep-with-previous-within-line" FoProperty*           : Read
  "keep-with-previous-within-page" FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read

Description

Details

FoTableRow

typedef struct _FoTableRow FoTableRow;


FoTableRowClass

typedef struct _FoTableRowClass FoTableRowClass;


fo_table_row_new ()

FoFo*               fo_table_row_new                    (void);

Creates a new FoTableRow initialized to default value.

Returns :

the new FoTableRow.

fo_table_row_get_background_color ()

FoProperty*         fo_table_row_get_background_color   (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_table_row_set_background_color ()

void                fo_table_row_set_background_color   (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_table_row_get_background_image ()

FoProperty*         fo_table_row_get_background_image   (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_table_row_set_background_image ()

void                fo_table_row_set_background_image   (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_table_row_get_block_progression_dimension ()

FoProperty*         fo_table_row_get_block_progression_dimension
                                                        (FoFo *fo_fo);

Gets the "block-progression-dimension" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "block-progression-dimension" property value

fo_table_row_set_block_progression_dimension ()

void                fo_table_row_set_block_progression_dimension
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_block_progression_dimension);

Sets the "block-progression-dimension" property of fo_fo to new_block_progression_dimension

fo_fo :

The FoFo object

new_block_progression_dimension :

The new "block-progression-dimension" property value

fo_table_row_get_border_after_color ()

FoProperty*         fo_table_row_get_border_after_color (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_table_row_set_border_after_color ()

void                fo_table_row_set_border_after_color (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_table_row_get_border_after_precedence ()

FoProperty*         fo_table_row_get_border_after_precedence
                                                        (FoFo *fo_fo);

Gets the "border-after-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-precedence" property value

fo_table_row_set_border_after_precedence ()

void                fo_table_row_set_border_after_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_after_precedence);

Sets the "border-after-precedence" property of fo_fo to new_border_after_precedence

fo_fo :

The FoFo object

new_border_after_precedence :

The new "border-after-precedence" property value

fo_table_row_get_border_after_style ()

FoProperty*         fo_table_row_get_border_after_style (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_table_row_set_border_after_style ()

void                fo_table_row_set_border_after_style (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_table_row_get_border_after_width ()

FoProperty*         fo_table_row_get_border_after_width (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_table_row_set_border_after_width ()

void                fo_table_row_set_border_after_width (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_table_row_get_border_before_color ()

FoProperty*         fo_table_row_get_border_before_color
                                                        (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_table_row_set_border_before_color ()

void                fo_table_row_set_border_before_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_table_row_get_border_before_precedence ()

FoProperty*         fo_table_row_get_border_before_precedence
                                                        (FoFo *fo_fo);

Gets the "border-before-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-precedence" property value

fo_table_row_set_border_before_precedence ()

void                fo_table_row_set_border_before_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_precedence);

Sets the "border-before-precedence" property of fo_fo to new_border_before_precedence

fo_fo :

The FoFo object

new_border_before_precedence :

The new "border-before-precedence" property value

fo_table_row_get_border_before_style ()

FoProperty*         fo_table_row_get_border_before_style
                                                        (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_table_row_set_border_before_style ()

void                fo_table_row_set_border_before_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_table_row_get_border_before_width ()

FoProperty*         fo_table_row_get_border_before_width
                                                        (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_table_row_set_border_before_width ()

void                fo_table_row_set_border_before_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_table_row_get_border_bottom_color ()

FoProperty*         fo_table_row_get_border_bottom_color
                                                        (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_table_row_set_border_bottom_color ()

void                fo_table_row_set_border_bottom_color
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_table_row_get_border_bottom_style ()

FoProperty*         fo_table_row_get_border_bottom_style
                                                        (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_table_row_set_border_bottom_style ()

void                fo_table_row_set_border_bottom_style
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_table_row_get_border_bottom_width ()

FoProperty*         fo_table_row_get_border_bottom_width
                                                        (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_table_row_set_border_bottom_width ()

void                fo_table_row_set_border_bottom_width
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_table_row_get_border_end_color ()

FoProperty*         fo_table_row_get_border_end_color   (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_table_row_set_border_end_color ()

void                fo_table_row_set_border_end_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_table_row_get_border_end_precedence ()

FoProperty*         fo_table_row_get_border_end_precedence
                                                        (FoFo *fo_fo);

Gets the "border-end-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-precedence" property value

fo_table_row_set_border_end_precedence ()

void                fo_table_row_set_border_end_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_end_precedence);

Sets the "border-end-precedence" property of fo_fo to new_border_end_precedence

fo_fo :

The FoFo object

new_border_end_precedence :

The new "border-end-precedence" property value

fo_table_row_get_border_end_style ()

FoProperty*         fo_table_row_get_border_end_style   (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_table_row_set_border_end_style ()

void                fo_table_row_set_border_end_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_table_row_get_border_end_width ()

FoProperty*         fo_table_row_get_border_end_width   (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_table_row_set_border_end_width ()

void                fo_table_row_set_border_end_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_table_row_get_border_left_color ()

FoProperty*         fo_table_row_get_border_left_color  (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_table_row_set_border_left_color ()

void                fo_table_row_set_border_left_color  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_table_row_get_border_left_style ()

FoProperty*         fo_table_row_get_border_left_style  (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_table_row_set_border_left_style ()

void                fo_table_row_set_border_left_style  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_table_row_get_border_left_width ()

FoProperty*         fo_table_row_get_border_left_width  (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_table_row_set_border_left_width ()

void                fo_table_row_set_border_left_width  (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_table_row_get_border_right_color ()

FoProperty*         fo_table_row_get_border_right_color (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_table_row_set_border_right_color ()

void                fo_table_row_set_border_right_color (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_table_row_get_border_right_style ()

FoProperty*         fo_table_row_get_border_right_style (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_table_row_set_border_right_style ()

void                fo_table_row_set_border_right_style (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_table_row_get_border_right_width ()

FoProperty*         fo_table_row_get_border_right_width (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_table_row_set_border_right_width ()

void                fo_table_row_set_border_right_width (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_table_row_get_border_start_color ()

FoProperty*         fo_table_row_get_border_start_color (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_table_row_set_border_start_color ()

void                fo_table_row_set_border_start_color (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_table_row_get_border_start_precedence ()

FoProperty*         fo_table_row_get_border_start_precedence
                                                        (FoFo *fo_fo);

Gets the "border-start-precedence" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-precedence" property value

fo_table_row_set_border_start_precedence ()

void                fo_table_row_set_border_start_precedence
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_border_start_precedence);

Sets the "border-start-precedence" property of fo_fo to new_border_start_precedence

fo_fo :

The FoFo object

new_border_start_precedence :

The new "border-start-precedence" property value

fo_table_row_get_border_start_style ()

FoProperty*         fo_table_row_get_border_start_style (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_table_row_set_border_start_style ()

void                fo_table_row_set_border_start_style (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_table_row_get_border_start_width ()

FoProperty*         fo_table_row_get_border_start_width (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_table_row_set_border_start_width ()

void                fo_table_row_set_border_start_width (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_table_row_get_border_top_color ()

FoProperty*         fo_table_row_get_border_top_color   (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_table_row_set_border_top_color ()

void                fo_table_row_set_border_top_color   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_table_row_get_border_top_style ()

FoProperty*         fo_table_row_get_border_top_style   (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_table_row_set_border_top_style ()

void                fo_table_row_set_border_top_style   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_table_row_get_border_top_width ()

FoProperty*         fo_table_row_get_border_top_width   (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_table_row_set_border_top_width ()

void                fo_table_row_set_border_top_width   (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_table_row_get_break_after ()

FoProperty*         fo_table_row_get_break_after        (FoFo *fo_fo);

Gets the "break-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-after" property value

fo_table_row_set_break_after ()

void                fo_table_row_set_break_after        (FoFo *fo_fo,
                                                         FoProperty *new_break_after);

Sets the "break-after" property of fo_fo to new_break_after

fo_fo :

The FoFo object

new_break_after :

The new "break-after" property value

fo_table_row_get_break_before ()

FoProperty*         fo_table_row_get_break_before       (FoFo *fo_fo);

Gets the "break-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "break-before" property value

fo_table_row_set_break_before ()

void                fo_table_row_set_break_before       (FoFo *fo_fo,
                                                         FoProperty *new_break_before);

Sets the "break-before" property of fo_fo to new_break_before

fo_fo :

The FoFo object

new_break_before :

The new "break-before" property value

fo_table_row_get_height ()

FoProperty*         fo_table_row_get_height             (FoFo *fo_fo);

Gets the "height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "height" property value

fo_table_row_set_height ()

void                fo_table_row_set_height             (FoFo *fo_fo,
                                                         FoProperty *new_height);

Sets the "height" property of fo_fo to new_height

fo_fo :

The FoFo object

new_height :

The new "height" property value

fo_table_row_get_id ()

FoProperty*         fo_table_row_get_id                 (FoFo *fo_fo);

Gets the "id" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "id" property value

fo_table_row_set_id ()

void                fo_table_row_set_id                 (FoFo *fo_fo,
                                                         FoProperty *new_id);

Sets the "id" property of fo_fo to new_id

fo_fo :

The FoFo object

new_id :

The new "id" property value

fo_table_row_get_keep_together ()

FoProperty*         fo_table_row_get_keep_together      (FoFo *fo_fo);

Gets the "keep-together" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together" property value

fo_table_row_set_keep_together ()

void                fo_table_row_set_keep_together      (FoFo *fo_fo,
                                                         FoProperty *new_keep_together);

Sets the "keep-together" property of fo_fo to new_keep_together

fo_fo :

The FoFo object

new_keep_together :

The new "keep-together" property value

fo_table_row_get_keep_together_within_column ()

FoProperty*         fo_table_row_get_keep_together_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-column" property value

fo_table_row_set_keep_together_within_column ()

void                fo_table_row_set_keep_together_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_column);

Sets the "keep-together-within-column" property of fo_fo to new_keep_together_within_column

fo_fo :

The FoFo object

new_keep_together_within_column :

The new "keep-together-within-column" property value

fo_table_row_get_keep_together_within_line ()

FoProperty*         fo_table_row_get_keep_together_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-line" property value

fo_table_row_set_keep_together_within_line ()

void                fo_table_row_set_keep_together_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_line);

Sets the "keep-together-within-line" property of fo_fo to new_keep_together_within_line

fo_fo :

The FoFo object

new_keep_together_within_line :

The new "keep-together-within-line" property value

fo_table_row_get_keep_together_within_page ()

FoProperty*         fo_table_row_get_keep_together_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-together-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-together-within-page" property value

fo_table_row_set_keep_together_within_page ()

void                fo_table_row_set_keep_together_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_together_within_page);

Sets the "keep-together-within-page" property of fo_fo to new_keep_together_within_page

fo_fo :

The FoFo object

new_keep_together_within_page :

The new "keep-together-within-page" property value

fo_table_row_get_keep_with_next ()

FoProperty*         fo_table_row_get_keep_with_next     (FoFo *fo_fo);

Gets the "keep-with-next" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next" property value

fo_table_row_set_keep_with_next ()

void                fo_table_row_set_keep_with_next     (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next);

Sets the "keep-with-next" property of fo_fo to new_keep_with_next

fo_fo :

The FoFo object

new_keep_with_next :

The new "keep-with-next" property value

fo_table_row_get_keep_with_next_within_column ()

FoProperty*         fo_table_row_get_keep_with_next_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-column" property value

fo_table_row_set_keep_with_next_within_column ()

void                fo_table_row_set_keep_with_next_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_column);

Sets the "keep-with-next-within-column" property of fo_fo to new_keep_with_next_within_column

fo_fo :

The FoFo object

new_keep_with_next_within_column :

The new "keep-with-next-within-column" property value

fo_table_row_get_keep_with_next_within_line ()

FoProperty*         fo_table_row_get_keep_with_next_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-line" property value

fo_table_row_set_keep_with_next_within_line ()

void                fo_table_row_set_keep_with_next_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_line);

Sets the "keep-with-next-within-line" property of fo_fo to new_keep_with_next_within_line

fo_fo :

The FoFo object

new_keep_with_next_within_line :

The new "keep-with-next-within-line" property value

fo_table_row_get_keep_with_next_within_page ()

FoProperty*         fo_table_row_get_keep_with_next_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-next-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-next-within-page" property value

fo_table_row_set_keep_with_next_within_page ()

void                fo_table_row_set_keep_with_next_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_next_within_page);

Sets the "keep-with-next-within-page" property of fo_fo to new_keep_with_next_within_page

fo_fo :

The FoFo object

new_keep_with_next_within_page :

The new "keep-with-next-within-page" property value

fo_table_row_get_keep_with_previous ()

FoProperty*         fo_table_row_get_keep_with_previous (FoFo *fo_fo);

Gets the "keep-with-previous" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous" property value

fo_table_row_set_keep_with_previous ()

void                fo_table_row_set_keep_with_previous (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous);

Sets the "keep-with-previous" property of fo_fo to new_keep_with_previous

fo_fo :

The FoFo object

new_keep_with_previous :

The new "keep-with-previous" property value

fo_table_row_get_keep_with_previous_within_column ()

FoProperty*         fo_table_row_get_keep_with_previous_within_column
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-column" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-column" property value

fo_table_row_set_keep_with_previous_within_column ()

void                fo_table_row_set_keep_with_previous_within_column
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_column);

Sets the "keep-with-previous-within-column" property of fo_fo to new_keep_with_previous_within_column

fo_fo :

The FoFo object

new_keep_with_previous_within_column :

The new "keep-with-previous-within-column" property value

fo_table_row_get_keep_with_previous_within_line ()

FoProperty*         fo_table_row_get_keep_with_previous_within_line
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-line" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-line" property value

fo_table_row_set_keep_with_previous_within_line ()

void                fo_table_row_set_keep_with_previous_within_line
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_line);

Sets the "keep-with-previous-within-line" property of fo_fo to new_keep_with_previous_within_line

fo_fo :

The FoFo object

new_keep_with_previous_within_line :

The new "keep-with-previous-within-line" property value

fo_table_row_get_keep_with_previous_within_page ()

FoProperty*         fo_table_row_get_keep_with_previous_within_page
                                                        (FoFo *fo_fo);

Gets the "keep-with-previous-within-page" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "keep-with-previous-within-page" property value

fo_table_row_set_keep_with_previous_within_page ()

void                fo_table_row_set_keep_with_previous_within_page
                                                        (FoFo *fo_fo,
                                                         FoProperty *new_keep_with_previous_within_page);

Sets the "keep-with-previous-within-page" property of fo_fo to new_keep_with_previous_within_page

fo_fo :

The FoFo object

new_keep_with_previous_within_page :

The new "keep-with-previous-within-page" property value

fo_table_row_get_padding_after ()

FoProperty*         fo_table_row_get_padding_after      (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_table_row_set_padding_after ()

void                fo_table_row_set_padding_after      (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_table_row_get_padding_before ()

FoProperty*         fo_table_row_get_padding_before     (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_table_row_set_padding_before ()

void                fo_table_row_set_padding_before     (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_table_row_get_padding_bottom ()

FoProperty*         fo_table_row_get_padding_bottom     (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_table_row_set_padding_bottom ()

void                fo_table_row_set_padding_bottom     (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_table_row_get_padding_end ()

FoProperty*         fo_table_row_get_padding_end        (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_table_row_set_padding_end ()

void                fo_table_row_set_padding_end        (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_table_row_get_padding_left ()

FoProperty*         fo_table_row_get_padding_left       (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_table_row_set_padding_left ()

void                fo_table_row_set_padding_left       (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_table_row_get_padding_right ()

FoProperty*         fo_table_row_get_padding_right      (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_table_row_set_padding_right ()

void                fo_table_row_set_padding_right      (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_table_row_get_padding_start ()

FoProperty*         fo_table_row_get_padding_start      (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_table_row_set_padding_start ()

void                fo_table_row_set_padding_start      (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_table_row_get_padding_top ()

FoProperty*         fo_table_row_get_padding_top        (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_table_row_set_padding_top ()

void                fo_table_row_set_padding_top        (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_table_row_get_role ()

FoProperty*         fo_table_row_get_role               (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_table_row_set_role ()

void                fo_table_row_set_role               (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_table_row_get_source_document ()

FoProperty*         fo_table_row_get_source_document    (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_table_row_set_source_document ()

void                fo_table_row_set_source_document    (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "block-progression-dimension" property

  "block-progression-dimension" FoProperty*           : Read

Block Progression Dimension property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-precedence" property

  "border-after-precedence"  FoProperty*           : Read

Border After Precedence property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-precedence" property

  "border-before-precedence" FoProperty*           : Read

Border Before Precedence property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-precedence" property

  "border-end-precedence"    FoProperty*           : Read

Border End Precedence property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-precedence" property

  "border-start-precedence"  FoProperty*           : Read

Border Start Precedence property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "break-after" property

  "break-after"              FoProperty*           : Read

Break After property.


The "break-before" property

  "break-before"             FoProperty*           : Read

Break Before property.


The "height" property

  "height"                   FoProperty*           : Read

Height property.


The "id" property

  "id"                       FoProperty*           : Read

Id property.


The "keep-together" property

  "keep-together"            FoProperty*           : Read

Keep Together property.


The "keep-together-within-column" property

  "keep-together-within-column" FoProperty*           : Read

Keep Together Within Column property.


The "keep-together-within-line" property

  "keep-together-within-line" FoProperty*           : Read

Keep Together Within Line property.


The "keep-together-within-page" property

  "keep-together-within-page" FoProperty*           : Read

Keep Together Within Page property.


The "keep-with-next" property

  "keep-with-next"           FoProperty*           : Read

Keep With Next property.


The "keep-with-next-within-column" property

  "keep-with-next-within-column" FoProperty*           : Read

Keep With Next Within Column property.


The "keep-with-next-within-line" property

  "keep-with-next-within-line" FoProperty*           : Read

Keep With Next Within Line property.


The "keep-with-next-within-page" property

  "keep-with-next-within-page" FoProperty*           : Read

Keep With Next Within Page property.


The "keep-with-previous" property

  "keep-with-previous"       FoProperty*           : Read

Keep With Previous property.


The "keep-with-previous-within-column" property

  "keep-with-previous-within-column" FoProperty*           : Read

Keep With Previous Within Column property.


The "keep-with-previous-within-line" property

  "keep-with-previous-within-line" FoProperty*           : Read

Keep With Previous Within Line property.


The "keep-with-previous-within-page" property

  "keep-with-previous-within-page" FoProperty*           : Read

Keep With Previous Within Page property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.

xmlroff-0.6.2/docs/html/xmlroff-text-align.html0000644000175000017500000001401511156164735016440 00000000000000 text-align

text-align

text-align

Description

Details

FoPropertyTextAlign

typedef struct _FoPropertyTextAlign FoPropertyTextAlign;


FoPropertyTextAlignClass

typedef struct _FoPropertyTextAlignClass FoPropertyTextAlignClass;


fo_property_text_align_new ()

FoProperty*         fo_property_text_align_new          (void);

Creates a new FoPropertyTextAlign initialized to default value.

Returns :

the new FoPropertyTextAlign.

fo_property_text_align_get_initial ()

FoProperty*         fo_property_text_align_get_initial  (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-text-indent.html0000644000175000017500000001406611156164735016635 00000000000000 text-indent

text-indent

text-indent

Description

Details

FoPropertyTextIndent

typedef struct _FoPropertyTextIndent FoPropertyTextIndent;


FoPropertyTextIndentClass

typedef struct _FoPropertyTextIndentClass FoPropertyTextIndentClass;


fo_property_text_indent_new ()

FoProperty*         fo_property_text_indent_new         (void);

Creates a new FoPropertyTextIndent initialized to default value.

Returns :

the new FoPropertyTextIndent.

fo_property_text_indent_get_initial ()

FoProperty*         fo_property_text_indent_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-title.html0000644000175000017500000045367611156164735015531 00000000000000 title

title

title

Synopsis

                    FoTitle;
                    FoTitleClass;
FoFo*               fo_title_new                        (void);

FoProperty*         fo_title_get_background_color       (FoFo *fo_fo);
void                fo_title_set_background_color       (FoFo *fo_fo,
                                                         FoProperty *new_background_color);
FoProperty*         fo_title_get_background_image       (FoFo *fo_fo);
void                fo_title_set_background_image       (FoFo *fo_fo,
                                                         FoProperty *new_background_image);
FoProperty*         fo_title_get_border_after_color     (FoFo *fo_fo);
void                fo_title_set_border_after_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);
FoProperty*         fo_title_get_border_after_style     (FoFo *fo_fo);
void                fo_title_set_border_after_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);
FoProperty*         fo_title_get_border_after_width     (FoFo *fo_fo);
void                fo_title_set_border_after_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);
FoProperty*         fo_title_get_border_before_color    (FoFo *fo_fo);
void                fo_title_set_border_before_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);
FoProperty*         fo_title_get_border_before_style    (FoFo *fo_fo);
void                fo_title_set_border_before_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);
FoProperty*         fo_title_get_border_before_width    (FoFo *fo_fo);
void                fo_title_set_border_before_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);
FoProperty*         fo_title_get_border_bottom_color    (FoFo *fo_fo);
void                fo_title_set_border_bottom_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);
FoProperty*         fo_title_get_border_bottom_style    (FoFo *fo_fo);
void                fo_title_set_border_bottom_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);
FoProperty*         fo_title_get_border_bottom_width    (FoFo *fo_fo);
void                fo_title_set_border_bottom_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);
FoProperty*         fo_title_get_border_end_color       (FoFo *fo_fo);
void                fo_title_set_border_end_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);
FoProperty*         fo_title_get_border_end_style       (FoFo *fo_fo);
void                fo_title_set_border_end_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);
FoProperty*         fo_title_get_border_end_width       (FoFo *fo_fo);
void                fo_title_set_border_end_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);
FoProperty*         fo_title_get_border_left_color      (FoFo *fo_fo);
void                fo_title_set_border_left_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);
FoProperty*         fo_title_get_border_left_style      (FoFo *fo_fo);
void                fo_title_set_border_left_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);
FoProperty*         fo_title_get_border_left_width      (FoFo *fo_fo);
void                fo_title_set_border_left_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);
FoProperty*         fo_title_get_border_right_color     (FoFo *fo_fo);
void                fo_title_set_border_right_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);
FoProperty*         fo_title_get_border_right_style     (FoFo *fo_fo);
void                fo_title_set_border_right_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);
FoProperty*         fo_title_get_border_right_width     (FoFo *fo_fo);
void                fo_title_set_border_right_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);
FoProperty*         fo_title_get_border_start_color     (FoFo *fo_fo);
void                fo_title_set_border_start_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);
FoProperty*         fo_title_get_border_start_style     (FoFo *fo_fo);
void                fo_title_set_border_start_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);
FoProperty*         fo_title_get_border_start_width     (FoFo *fo_fo);
void                fo_title_set_border_start_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);
FoProperty*         fo_title_get_border_top_color       (FoFo *fo_fo);
void                fo_title_set_border_top_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);
FoProperty*         fo_title_get_border_top_style       (FoFo *fo_fo);
void                fo_title_set_border_top_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);
FoProperty*         fo_title_get_border_top_width       (FoFo *fo_fo);
void                fo_title_set_border_top_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);
FoProperty*         fo_title_get_color                  (FoFo *fo_fo);
void                fo_title_set_color                  (FoFo *fo_fo,
                                                         FoProperty *new_color);
FoProperty*         fo_title_get_font_family            (FoFo *fo_fo);
void                fo_title_set_font_family            (FoFo *fo_fo,
                                                         FoProperty *new_font_family);
FoProperty*         fo_title_get_font_size              (FoFo *fo_fo);
void                fo_title_set_font_size              (FoFo *fo_fo,
                                                         FoProperty *new_font_size);
FoProperty*         fo_title_get_font_stretch           (FoFo *fo_fo);
void                fo_title_set_font_stretch           (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);
FoProperty*         fo_title_get_font_style             (FoFo *fo_fo);
void                fo_title_set_font_style             (FoFo *fo_fo,
                                                         FoProperty *new_font_style);
FoProperty*         fo_title_get_font_variant           (FoFo *fo_fo);
void                fo_title_set_font_variant           (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);
FoProperty*         fo_title_get_font_weight            (FoFo *fo_fo);
void                fo_title_set_font_weight            (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);
FoProperty*         fo_title_get_line_height            (FoFo *fo_fo);
void                fo_title_set_line_height            (FoFo *fo_fo,
                                                         FoProperty *new_line_height);
FoProperty*         fo_title_get_padding_after          (FoFo *fo_fo);
void                fo_title_set_padding_after          (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);
FoProperty*         fo_title_get_padding_before         (FoFo *fo_fo);
void                fo_title_set_padding_before         (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);
FoProperty*         fo_title_get_padding_bottom         (FoFo *fo_fo);
void                fo_title_set_padding_bottom         (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);
FoProperty*         fo_title_get_padding_end            (FoFo *fo_fo);
void                fo_title_set_padding_end            (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);
FoProperty*         fo_title_get_padding_left           (FoFo *fo_fo);
void                fo_title_set_padding_left           (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);
FoProperty*         fo_title_get_padding_right          (FoFo *fo_fo);
void                fo_title_set_padding_right          (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);
FoProperty*         fo_title_get_padding_start          (FoFo *fo_fo);
void                fo_title_set_padding_start          (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);
FoProperty*         fo_title_get_padding_top            (FoFo *fo_fo);
void                fo_title_set_padding_top            (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);
FoProperty*         fo_title_get_role                   (FoFo *fo_fo);
void                fo_title_set_role                   (FoFo *fo_fo,
                                                         FoProperty *new_role);
FoProperty*         fo_title_get_source_document        (FoFo *fo_fo);
void                fo_title_set_source_document        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);
FoProperty*         fo_title_get_space_end              (FoFo *fo_fo);
void                fo_title_set_space_end              (FoFo *fo_fo,
                                                         FoProperty *new_space_end);
FoProperty*         fo_title_get_space_start            (FoFo *fo_fo);
void                fo_title_set_space_start            (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Object Hierarchy

  GObject
   +----FoObject
         +----FoNode
               +----FoFo
                     +----FoTitle

Properties

  "background-color"         FoProperty*           : Read
  "background-image"         FoProperty*           : Read
  "border-after-color"       FoProperty*           : Read
  "border-after-style"       FoProperty*           : Read
  "border-after-width"       FoProperty*           : Read
  "border-before-color"      FoProperty*           : Read
  "border-before-style"      FoProperty*           : Read
  "border-before-width"      FoProperty*           : Read
  "border-bottom-color"      FoProperty*           : Read
  "border-bottom-style"      FoProperty*           : Read
  "border-bottom-width"      FoProperty*           : Read
  "border-end-color"         FoProperty*           : Read
  "border-end-style"         FoProperty*           : Read
  "border-end-width"         FoProperty*           : Read
  "border-left-color"        FoProperty*           : Read
  "border-left-style"        FoProperty*           : Read
  "border-left-width"        FoProperty*           : Read
  "border-right-color"       FoProperty*           : Read
  "border-right-style"       FoProperty*           : Read
  "border-right-width"       FoProperty*           : Read
  "border-start-color"       FoProperty*           : Read
  "border-start-style"       FoProperty*           : Read
  "border-start-width"       FoProperty*           : Read
  "border-top-color"         FoProperty*           : Read
  "border-top-style"         FoProperty*           : Read
  "border-top-width"         FoProperty*           : Read
  "color"                    FoProperty*           : Read
  "font-family"              FoProperty*           : Read
  "font-size"                FoProperty*           : Read
  "font-stretch"             FoProperty*           : Read
  "font-style"               FoProperty*           : Read
  "font-variant"             FoProperty*           : Read
  "font-weight"              FoProperty*           : Read
  "line-height"              FoProperty*           : Read
  "padding-after"            FoProperty*           : Read
  "padding-before"           FoProperty*           : Read
  "padding-bottom"           FoProperty*           : Read
  "padding-end"              FoProperty*           : Read
  "padding-left"             FoProperty*           : Read
  "padding-right"            FoProperty*           : Read
  "padding-start"            FoProperty*           : Read
  "padding-top"              FoProperty*           : Read
  "role"                     FoProperty*           : Read
  "source-document"          FoProperty*           : Read
  "space-end"                FoProperty*           : Read
  "space-start"              FoProperty*           : Read

Description

Details

FoTitle

typedef struct _FoTitle FoTitle;


FoTitleClass

typedef struct _FoTitleClass FoTitleClass;


fo_title_new ()

FoFo*               fo_title_new                        (void);

Creates a new FoTitle initialized to default value.

Returns :

the new FoTitle.

fo_title_get_background_color ()

FoProperty*         fo_title_get_background_color       (FoFo *fo_fo);

Gets the "background-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-color" property value

fo_title_set_background_color ()

void                fo_title_set_background_color       (FoFo *fo_fo,
                                                         FoProperty *new_background_color);

Sets the "background-color" property of fo_fo to new_background_color

fo_fo :

The FoFo object

new_background_color :

The new "background-color" property value

fo_title_get_background_image ()

FoProperty*         fo_title_get_background_image       (FoFo *fo_fo);

Gets the "background-image" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "background-image" property value

fo_title_set_background_image ()

void                fo_title_set_background_image       (FoFo *fo_fo,
                                                         FoProperty *new_background_image);

Sets the "background-image" property of fo_fo to new_background_image

fo_fo :

The FoFo object

new_background_image :

The new "background-image" property value

fo_title_get_border_after_color ()

FoProperty*         fo_title_get_border_after_color     (FoFo *fo_fo);

Gets the "border-after-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-color" property value

fo_title_set_border_after_color ()

void                fo_title_set_border_after_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_color);

Sets the "border-after-color" property of fo_fo to new_border_after_color

fo_fo :

The FoFo object

new_border_after_color :

The new "border-after-color" property value

fo_title_get_border_after_style ()

FoProperty*         fo_title_get_border_after_style     (FoFo *fo_fo);

Gets the "border-after-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-style" property value

fo_title_set_border_after_style ()

void                fo_title_set_border_after_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_style);

Sets the "border-after-style" property of fo_fo to new_border_after_style

fo_fo :

The FoFo object

new_border_after_style :

The new "border-after-style" property value

fo_title_get_border_after_width ()

FoProperty*         fo_title_get_border_after_width     (FoFo *fo_fo);

Gets the "border-after-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-after-width" property value

fo_title_set_border_after_width ()

void                fo_title_set_border_after_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_after_width);

Sets the "border-after-width" property of fo_fo to new_border_after_width

fo_fo :

The FoFo object

new_border_after_width :

The new "border-after-width" property value

fo_title_get_border_before_color ()

FoProperty*         fo_title_get_border_before_color    (FoFo *fo_fo);

Gets the "border-before-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-color" property value

fo_title_set_border_before_color ()

void                fo_title_set_border_before_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_color);

Sets the "border-before-color" property of fo_fo to new_border_before_color

fo_fo :

The FoFo object

new_border_before_color :

The new "border-before-color" property value

fo_title_get_border_before_style ()

FoProperty*         fo_title_get_border_before_style    (FoFo *fo_fo);

Gets the "border-before-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-style" property value

fo_title_set_border_before_style ()

void                fo_title_set_border_before_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_style);

Sets the "border-before-style" property of fo_fo to new_border_before_style

fo_fo :

The FoFo object

new_border_before_style :

The new "border-before-style" property value

fo_title_get_border_before_width ()

FoProperty*         fo_title_get_border_before_width    (FoFo *fo_fo);

Gets the "border-before-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-before-width" property value

fo_title_set_border_before_width ()

void                fo_title_set_border_before_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_before_width);

Sets the "border-before-width" property of fo_fo to new_border_before_width

fo_fo :

The FoFo object

new_border_before_width :

The new "border-before-width" property value

fo_title_get_border_bottom_color ()

FoProperty*         fo_title_get_border_bottom_color    (FoFo *fo_fo);

Gets the "border-bottom-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-color" property value

fo_title_set_border_bottom_color ()

void                fo_title_set_border_bottom_color    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_color);

Sets the "border-bottom-color" property of fo_fo to new_border_bottom_color

fo_fo :

The FoFo object

new_border_bottom_color :

The new "border-bottom-color" property value

fo_title_get_border_bottom_style ()

FoProperty*         fo_title_get_border_bottom_style    (FoFo *fo_fo);

Gets the "border-bottom-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-style" property value

fo_title_set_border_bottom_style ()

void                fo_title_set_border_bottom_style    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_style);

Sets the "border-bottom-style" property of fo_fo to new_border_bottom_style

fo_fo :

The FoFo object

new_border_bottom_style :

The new "border-bottom-style" property value

fo_title_get_border_bottom_width ()

FoProperty*         fo_title_get_border_bottom_width    (FoFo *fo_fo);

Gets the "border-bottom-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-bottom-width" property value

fo_title_set_border_bottom_width ()

void                fo_title_set_border_bottom_width    (FoFo *fo_fo,
                                                         FoProperty *new_border_bottom_width);

Sets the "border-bottom-width" property of fo_fo to new_border_bottom_width

fo_fo :

The FoFo object

new_border_bottom_width :

The new "border-bottom-width" property value

fo_title_get_border_end_color ()

FoProperty*         fo_title_get_border_end_color       (FoFo *fo_fo);

Gets the "border-end-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-color" property value

fo_title_set_border_end_color ()

void                fo_title_set_border_end_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_color);

Sets the "border-end-color" property of fo_fo to new_border_end_color

fo_fo :

The FoFo object

new_border_end_color :

The new "border-end-color" property value

fo_title_get_border_end_style ()

FoProperty*         fo_title_get_border_end_style       (FoFo *fo_fo);

Gets the "border-end-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-style" property value

fo_title_set_border_end_style ()

void                fo_title_set_border_end_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_style);

Sets the "border-end-style" property of fo_fo to new_border_end_style

fo_fo :

The FoFo object

new_border_end_style :

The new "border-end-style" property value

fo_title_get_border_end_width ()

FoProperty*         fo_title_get_border_end_width       (FoFo *fo_fo);

Gets the "border-end-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-end-width" property value

fo_title_set_border_end_width ()

void                fo_title_set_border_end_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_end_width);

Sets the "border-end-width" property of fo_fo to new_border_end_width

fo_fo :

The FoFo object

new_border_end_width :

The new "border-end-width" property value

fo_title_get_border_left_color ()

FoProperty*         fo_title_get_border_left_color      (FoFo *fo_fo);

Gets the "border-left-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-color" property value

fo_title_set_border_left_color ()

void                fo_title_set_border_left_color      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_color);

Sets the "border-left-color" property of fo_fo to new_border_left_color

fo_fo :

The FoFo object

new_border_left_color :

The new "border-left-color" property value

fo_title_get_border_left_style ()

FoProperty*         fo_title_get_border_left_style      (FoFo *fo_fo);

Gets the "border-left-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-style" property value

fo_title_set_border_left_style ()

void                fo_title_set_border_left_style      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_style);

Sets the "border-left-style" property of fo_fo to new_border_left_style

fo_fo :

The FoFo object

new_border_left_style :

The new "border-left-style" property value

fo_title_get_border_left_width ()

FoProperty*         fo_title_get_border_left_width      (FoFo *fo_fo);

Gets the "border-left-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-left-width" property value

fo_title_set_border_left_width ()

void                fo_title_set_border_left_width      (FoFo *fo_fo,
                                                         FoProperty *new_border_left_width);

Sets the "border-left-width" property of fo_fo to new_border_left_width

fo_fo :

The FoFo object

new_border_left_width :

The new "border-left-width" property value

fo_title_get_border_right_color ()

FoProperty*         fo_title_get_border_right_color     (FoFo *fo_fo);

Gets the "border-right-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-color" property value

fo_title_set_border_right_color ()

void                fo_title_set_border_right_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_color);

Sets the "border-right-color" property of fo_fo to new_border_right_color

fo_fo :

The FoFo object

new_border_right_color :

The new "border-right-color" property value

fo_title_get_border_right_style ()

FoProperty*         fo_title_get_border_right_style     (FoFo *fo_fo);

Gets the "border-right-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-style" property value

fo_title_set_border_right_style ()

void                fo_title_set_border_right_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_style);

Sets the "border-right-style" property of fo_fo to new_border_right_style

fo_fo :

The FoFo object

new_border_right_style :

The new "border-right-style" property value

fo_title_get_border_right_width ()

FoProperty*         fo_title_get_border_right_width     (FoFo *fo_fo);

Gets the "border-right-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-right-width" property value

fo_title_set_border_right_width ()

void                fo_title_set_border_right_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_right_width);

Sets the "border-right-width" property of fo_fo to new_border_right_width

fo_fo :

The FoFo object

new_border_right_width :

The new "border-right-width" property value

fo_title_get_border_start_color ()

FoProperty*         fo_title_get_border_start_color     (FoFo *fo_fo);

Gets the "border-start-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-color" property value

fo_title_set_border_start_color ()

void                fo_title_set_border_start_color     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_color);

Sets the "border-start-color" property of fo_fo to new_border_start_color

fo_fo :

The FoFo object

new_border_start_color :

The new "border-start-color" property value

fo_title_get_border_start_style ()

FoProperty*         fo_title_get_border_start_style     (FoFo *fo_fo);

Gets the "border-start-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-style" property value

fo_title_set_border_start_style ()

void                fo_title_set_border_start_style     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_style);

Sets the "border-start-style" property of fo_fo to new_border_start_style

fo_fo :

The FoFo object

new_border_start_style :

The new "border-start-style" property value

fo_title_get_border_start_width ()

FoProperty*         fo_title_get_border_start_width     (FoFo *fo_fo);

Gets the "border-start-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-start-width" property value

fo_title_set_border_start_width ()

void                fo_title_set_border_start_width     (FoFo *fo_fo,
                                                         FoProperty *new_border_start_width);

Sets the "border-start-width" property of fo_fo to new_border_start_width

fo_fo :

The FoFo object

new_border_start_width :

The new "border-start-width" property value

fo_title_get_border_top_color ()

FoProperty*         fo_title_get_border_top_color       (FoFo *fo_fo);

Gets the "border-top-color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-color" property value

fo_title_set_border_top_color ()

void                fo_title_set_border_top_color       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_color);

Sets the "border-top-color" property of fo_fo to new_border_top_color

fo_fo :

The FoFo object

new_border_top_color :

The new "border-top-color" property value

fo_title_get_border_top_style ()

FoProperty*         fo_title_get_border_top_style       (FoFo *fo_fo);

Gets the "border-top-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-style" property value

fo_title_set_border_top_style ()

void                fo_title_set_border_top_style       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_style);

Sets the "border-top-style" property of fo_fo to new_border_top_style

fo_fo :

The FoFo object

new_border_top_style :

The new "border-top-style" property value

fo_title_get_border_top_width ()

FoProperty*         fo_title_get_border_top_width       (FoFo *fo_fo);

Gets the "border-top-width" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "border-top-width" property value

fo_title_set_border_top_width ()

void                fo_title_set_border_top_width       (FoFo *fo_fo,
                                                         FoProperty *new_border_top_width);

Sets the "border-top-width" property of fo_fo to new_border_top_width

fo_fo :

The FoFo object

new_border_top_width :

The new "border-top-width" property value

fo_title_get_color ()

FoProperty*         fo_title_get_color                  (FoFo *fo_fo);

Gets the "color" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "color" property value

fo_title_set_color ()

void                fo_title_set_color                  (FoFo *fo_fo,
                                                         FoProperty *new_color);

Sets the "color" property of fo_fo to new_color

fo_fo :

The FoFo object

new_color :

The new "color" property value

fo_title_get_font_family ()

FoProperty*         fo_title_get_font_family            (FoFo *fo_fo);

Gets the "font-family" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-family" property value

fo_title_set_font_family ()

void                fo_title_set_font_family            (FoFo *fo_fo,
                                                         FoProperty *new_font_family);

Sets the "font-family" property of fo_fo to new_font_family

fo_fo :

The FoFo object

new_font_family :

The new "font-family" property value

fo_title_get_font_size ()

FoProperty*         fo_title_get_font_size              (FoFo *fo_fo);

Gets the "font-size" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-size" property value

fo_title_set_font_size ()

void                fo_title_set_font_size              (FoFo *fo_fo,
                                                         FoProperty *new_font_size);

Sets the "font-size" property of fo_fo to new_font_size

fo_fo :

The FoFo object

new_font_size :

The new "font-size" property value

fo_title_get_font_stretch ()

FoProperty*         fo_title_get_font_stretch           (FoFo *fo_fo);

Gets the "font-stretch" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-stretch" property value

fo_title_set_font_stretch ()

void                fo_title_set_font_stretch           (FoFo *fo_fo,
                                                         FoProperty *new_font_stretch);

Sets the "font-stretch" property of fo_fo to new_font_stretch

fo_fo :

The FoFo object

new_font_stretch :

The new "font-stretch" property value

fo_title_get_font_style ()

FoProperty*         fo_title_get_font_style             (FoFo *fo_fo);

Gets the "font-style" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-style" property value

fo_title_set_font_style ()

void                fo_title_set_font_style             (FoFo *fo_fo,
                                                         FoProperty *new_font_style);

Sets the "font-style" property of fo_fo to new_font_style

fo_fo :

The FoFo object

new_font_style :

The new "font-style" property value

fo_title_get_font_variant ()

FoProperty*         fo_title_get_font_variant           (FoFo *fo_fo);

Gets the "font-variant" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-variant" property value

fo_title_set_font_variant ()

void                fo_title_set_font_variant           (FoFo *fo_fo,
                                                         FoProperty *new_font_variant);

Sets the "font-variant" property of fo_fo to new_font_variant

fo_fo :

The FoFo object

new_font_variant :

The new "font-variant" property value

fo_title_get_font_weight ()

FoProperty*         fo_title_get_font_weight            (FoFo *fo_fo);

Gets the "font-weight" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "font-weight" property value

fo_title_set_font_weight ()

void                fo_title_set_font_weight            (FoFo *fo_fo,
                                                         FoProperty *new_font_weight);

Sets the "font-weight" property of fo_fo to new_font_weight

fo_fo :

The FoFo object

new_font_weight :

The new "font-weight" property value

fo_title_get_line_height ()

FoProperty*         fo_title_get_line_height            (FoFo *fo_fo);

Gets the "line-height" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "line-height" property value

fo_title_set_line_height ()

void                fo_title_set_line_height            (FoFo *fo_fo,
                                                         FoProperty *new_line_height);

Sets the "line-height" property of fo_fo to new_line_height

fo_fo :

The FoFo object

new_line_height :

The new "line-height" property value

fo_title_get_padding_after ()

FoProperty*         fo_title_get_padding_after          (FoFo *fo_fo);

Gets the "padding-after" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-after" property value

fo_title_set_padding_after ()

void                fo_title_set_padding_after          (FoFo *fo_fo,
                                                         FoProperty *new_padding_after);

Sets the "padding-after" property of fo_fo to new_padding_after

fo_fo :

The FoFo object

new_padding_after :

The new "padding-after" property value

fo_title_get_padding_before ()

FoProperty*         fo_title_get_padding_before         (FoFo *fo_fo);

Gets the "padding-before" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-before" property value

fo_title_set_padding_before ()

void                fo_title_set_padding_before         (FoFo *fo_fo,
                                                         FoProperty *new_padding_before);

Sets the "padding-before" property of fo_fo to new_padding_before

fo_fo :

The FoFo object

new_padding_before :

The new "padding-before" property value

fo_title_get_padding_bottom ()

FoProperty*         fo_title_get_padding_bottom         (FoFo *fo_fo);

Gets the "padding-bottom" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-bottom" property value

fo_title_set_padding_bottom ()

void                fo_title_set_padding_bottom         (FoFo *fo_fo,
                                                         FoProperty *new_padding_bottom);

Sets the "padding-bottom" property of fo_fo to new_padding_bottom

fo_fo :

The FoFo object

new_padding_bottom :

The new "padding-bottom" property value

fo_title_get_padding_end ()

FoProperty*         fo_title_get_padding_end            (FoFo *fo_fo);

Gets the "padding-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-end" property value

fo_title_set_padding_end ()

void                fo_title_set_padding_end            (FoFo *fo_fo,
                                                         FoProperty *new_padding_end);

Sets the "padding-end" property of fo_fo to new_padding_end

fo_fo :

The FoFo object

new_padding_end :

The new "padding-end" property value

fo_title_get_padding_left ()

FoProperty*         fo_title_get_padding_left           (FoFo *fo_fo);

Gets the "padding-left" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-left" property value

fo_title_set_padding_left ()

void                fo_title_set_padding_left           (FoFo *fo_fo,
                                                         FoProperty *new_padding_left);

Sets the "padding-left" property of fo_fo to new_padding_left

fo_fo :

The FoFo object

new_padding_left :

The new "padding-left" property value

fo_title_get_padding_right ()

FoProperty*         fo_title_get_padding_right          (FoFo *fo_fo);

Gets the "padding-right" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-right" property value

fo_title_set_padding_right ()

void                fo_title_set_padding_right          (FoFo *fo_fo,
                                                         FoProperty *new_padding_right);

Sets the "padding-right" property of fo_fo to new_padding_right

fo_fo :

The FoFo object

new_padding_right :

The new "padding-right" property value

fo_title_get_padding_start ()

FoProperty*         fo_title_get_padding_start          (FoFo *fo_fo);

Gets the "padding-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-start" property value

fo_title_set_padding_start ()

void                fo_title_set_padding_start          (FoFo *fo_fo,
                                                         FoProperty *new_padding_start);

Sets the "padding-start" property of fo_fo to new_padding_start

fo_fo :

The FoFo object

new_padding_start :

The new "padding-start" property value

fo_title_get_padding_top ()

FoProperty*         fo_title_get_padding_top            (FoFo *fo_fo);

Gets the "padding-top" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "padding-top" property value

fo_title_set_padding_top ()

void                fo_title_set_padding_top            (FoFo *fo_fo,
                                                         FoProperty *new_padding_top);

Sets the "padding-top" property of fo_fo to new_padding_top

fo_fo :

The FoFo object

new_padding_top :

The new "padding-top" property value

fo_title_get_role ()

FoProperty*         fo_title_get_role                   (FoFo *fo_fo);

Gets the "role" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "role" property value

fo_title_set_role ()

void                fo_title_set_role                   (FoFo *fo_fo,
                                                         FoProperty *new_role);

Sets the "role" property of fo_fo to new_role

fo_fo :

The FoFo object

new_role :

The new "role" property value

fo_title_get_source_document ()

FoProperty*         fo_title_get_source_document        (FoFo *fo_fo);

Gets the "source-document" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "source-document" property value

fo_title_set_source_document ()

void                fo_title_set_source_document        (FoFo *fo_fo,
                                                         FoProperty *new_source_document);

Sets the "source-document" property of fo_fo to new_source_document

fo_fo :

The FoFo object

new_source_document :

The new "source-document" property value

fo_title_get_space_end ()

FoProperty*         fo_title_get_space_end              (FoFo *fo_fo);

Gets the "space-end" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-end" property value

fo_title_set_space_end ()

void                fo_title_set_space_end              (FoFo *fo_fo,
                                                         FoProperty *new_space_end);

Sets the "space-end" property of fo_fo to new_space_end

fo_fo :

The FoFo object

new_space_end :

The new "space-end" property value

fo_title_get_space_start ()

FoProperty*         fo_title_get_space_start            (FoFo *fo_fo);

Gets the "space-start" property of fo_fo

fo_fo :

The FoFo object

Returns :

The "space-start" property value

fo_title_set_space_start ()

void                fo_title_set_space_start            (FoFo *fo_fo,
                                                         FoProperty *new_space_start);

Sets the "space-start" property of fo_fo to new_space_start

fo_fo :

The FoFo object

new_space_start :

The new "space-start" property value

Property Details

The "background-color" property

  "background-color"         FoProperty*           : Read

Background Color property.


The "background-image" property

  "background-image"         FoProperty*           : Read

Background Image property.


The "border-after-color" property

  "border-after-color"       FoProperty*           : Read

Border After Color property.


The "border-after-style" property

  "border-after-style"       FoProperty*           : Read

Border After Style property.


The "border-after-width" property

  "border-after-width"       FoProperty*           : Read

Border After Width property.


The "border-before-color" property

  "border-before-color"      FoProperty*           : Read

Border Before Color property.


The "border-before-style" property

  "border-before-style"      FoProperty*           : Read

Border Before Style property.


The "border-before-width" property

  "border-before-width"      FoProperty*           : Read

Border Before Width property.


The "border-bottom-color" property

  "border-bottom-color"      FoProperty*           : Read

Border Bottom Color property.


The "border-bottom-style" property

  "border-bottom-style"      FoProperty*           : Read

Border Bottom Style property.


The "border-bottom-width" property

  "border-bottom-width"      FoProperty*           : Read

Border Bottom Width property.


The "border-end-color" property

  "border-end-color"         FoProperty*           : Read

Border End Color property.


The "border-end-style" property

  "border-end-style"         FoProperty*           : Read

Border End Style property.


The "border-end-width" property

  "border-end-width"         FoProperty*           : Read

Border End Width property.


The "border-left-color" property

  "border-left-color"        FoProperty*           : Read

Border Left Color property.


The "border-left-style" property

  "border-left-style"        FoProperty*           : Read

Border Left Style property.


The "border-left-width" property

  "border-left-width"        FoProperty*           : Read

Border Left Width property.


The "border-right-color" property

  "border-right-color"       FoProperty*           : Read

Border Right Color property.


The "border-right-style" property

  "border-right-style"       FoProperty*           : Read

Border Right Style property.


The "border-right-width" property

  "border-right-width"       FoProperty*           : Read

Border Right Width property.


The "border-start-color" property

  "border-start-color"       FoProperty*           : Read

Border Start Color property.


The "border-start-style" property

  "border-start-style"       FoProperty*           : Read

Border Start Style property.


The "border-start-width" property

  "border-start-width"       FoProperty*           : Read

Border Start Width property.


The "border-top-color" property

  "border-top-color"         FoProperty*           : Read

Border Top Color property.


The "border-top-style" property

  "border-top-style"         FoProperty*           : Read

Border Top Style property.


The "border-top-width" property

  "border-top-width"         FoProperty*           : Read

Border Top Width property.


The "color" property

  "color"                    FoProperty*           : Read

Color property.


The "font-family" property

  "font-family"              FoProperty*           : Read

Font Family property.


The "font-size" property

  "font-size"                FoProperty*           : Read

Font Size property.


The "font-stretch" property

  "font-stretch"             FoProperty*           : Read

Font Stretch property.


The "font-style" property

  "font-style"               FoProperty*           : Read

Font Style property.


The "font-variant" property

  "font-variant"             FoProperty*           : Read

Font Variant property.


The "font-weight" property

  "font-weight"              FoProperty*           : Read

Font Weight property.


The "line-height" property

  "line-height"              FoProperty*           : Read

Line Height property.


The "padding-after" property

  "padding-after"            FoProperty*           : Read

Padding After property.


The "padding-before" property

  "padding-before"           FoProperty*           : Read

Padding Before property.


The "padding-bottom" property

  "padding-bottom"           FoProperty*           : Read

Padding Bottom property.


The "padding-end" property

  "padding-end"              FoProperty*           : Read

Padding End property.


The "padding-left" property

  "padding-left"             FoProperty*           : Read

Padding Left property.


The "padding-right" property

  "padding-right"            FoProperty*           : Read

Padding Right property.


The "padding-start" property

  "padding-start"            FoProperty*           : Read

Padding Start property.


The "padding-top" property

  "padding-top"              FoProperty*           : Read

Padding Top property.


The "role" property

  "role"                     FoProperty*           : Read

Role property.


The "source-document" property

  "source-document"          FoProperty*           : Read

Source Document property.


The "space-end" property

  "space-end"                FoProperty*           : Read

Space End property.


The "space-start" property

  "space-start"              FoProperty*           : Read

Space Start property.

xmlroff-0.6.2/docs/html/xmlroff-unicode-bidi.html0000644000175000017500000001435711156164735016730 00000000000000 unicode-bidi

unicode-bidi

unicode-bidi

Description

Details

FoPropertyUnicodeBidi

typedef struct _FoPropertyUnicodeBidi FoPropertyUnicodeBidi;


FoPropertyUnicodeBidiClass

typedef struct _FoPropertyUnicodeBidiClass FoPropertyUnicodeBidiClass;


fo_property_unicode_bidi_new ()

FoProperty*         fo_property_unicode_bidi_new        (void);

Creates a new FoPropertyUnicodeBidi initialized to default value.

Returns :

the new FoPropertyUnicodeBidi.

fo_property_unicode_bidi_get_initial ()

FoProperty*         fo_property_unicode_bidi_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-white-space-collapse.html0000644000175000017500000001547511156164735020410 00000000000000 white-space-collapse

white-space-collapse

white-space-collapse

Description

Details

FoPropertyWhiteSpaceCollapse

typedef struct _FoPropertyWhiteSpaceCollapse FoPropertyWhiteSpaceCollapse;

Instance of the 'white-space-collapse' property.


FoPropertyWhiteSpaceCollapseClass

typedef struct _FoPropertyWhiteSpaceCollapseClass FoPropertyWhiteSpaceCollapseClass;

Class structure for the 'white-space-collapse' property.


fo_property_white_space_collapse_new ()

FoProperty*         fo_property_white_space_collapse_new
                                                        (void);

Creates a new FoPropertyWhiteSpaceCollapse initialized to default value.

Returns :

the new FoPropertyWhiteSpaceCollapse.

fo_property_white_space_collapse_get_initial ()

FoProperty*         fo_property_white_space_collapse_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-white-space-treatment.html0000644000175000017500000001553211156164735020603 00000000000000 white-space-treatment

white-space-treatment

white-space-treatment

Description

Details

FoPropertyWhiteSpaceTreatment

typedef struct _FoPropertyWhiteSpaceTreatment FoPropertyWhiteSpaceTreatment;

Instance of the 'white-space-treatment' property.


FoPropertyWhiteSpaceTreatmentClass

typedef struct _FoPropertyWhiteSpaceTreatmentClass FoPropertyWhiteSpaceTreatmentClass;

Class structure for the 'white-space-treatment' property.


fo_property_white_space_treatment_new ()

FoProperty*         fo_property_white_space_treatment_new
                                                        (void);

Creates a new FoPropertyWhiteSpaceTreatment initialized to default value.

Returns :

the new FoPropertyWhiteSpaceTreatment.

fo_property_white_space_treatment_get_initial ()

FoProperty*         fo_property_white_space_treatment_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-widows.html0000644000175000017500000001357211156164735015707 00000000000000 widows

widows

widows

Description

Details

FoPropertyWidows

typedef struct _FoPropertyWidows FoPropertyWidows;


FoPropertyWidowsClass

typedef struct _FoPropertyWidowsClass FoPropertyWidowsClass;


fo_property_widows_new ()

FoProperty*         fo_property_widows_new              (void);

Creates a new FoPropertyWidows initialized to default value.

Returns :

the new FoPropertyWidows.

fo_property_widows_get_initial ()

FoProperty*         fo_property_widows_get_initial      (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-width.html0000644000175000017500000001346311156164735015511 00000000000000 width

width

width

Description

Details

FoPropertyWidth

typedef struct _FoPropertyWidth FoPropertyWidth;


FoPropertyWidthClass

typedef struct _FoPropertyWidthClass FoPropertyWidthClass;


fo_property_width_new ()

FoProperty*         fo_property_width_new               (void);

Creates a new FoPropertyWidth initialized to default value.

Returns :

the new FoPropertyWidth.

fo_property_width_get_initial ()

FoProperty*         fo_property_width_get_initial       (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-wrap-option.html0000644000175000017500000001421711156164735016647 00000000000000 wrap-option

wrap-option

wrap-option

Description

Details

FoPropertyWrapOption

typedef struct _FoPropertyWrapOption FoPropertyWrapOption;

Instance of the 'wrap-option' property.


FoPropertyWrapOptionClass

typedef struct _FoPropertyWrapOptionClass FoPropertyWrapOptionClass;

Class structure for the 'wrap-option' property.


fo_property_wrap_option_new ()

FoProperty*         fo_property_wrap_option_new         (void);

Creates a new FoPropertyWrapOption initialized to default value.

Returns :

the new FoPropertyWrapOption.

fo_property_wrap_option_get_initial ()

FoProperty*         fo_property_wrap_option_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.
xmlroff-0.6.2/docs/html/xmlroff-writing-mode.html0000644000175000017500000003040211156164735016767 00000000000000 writing-mode

writing-mode

writing-mode

Description

Details

FoPropertyWritingMode

typedef struct _FoPropertyWritingMode FoPropertyWritingMode;


FoPropertyWritingModeClass

typedef struct _FoPropertyWritingModeClass FoPropertyWritingModeClass;


fo_property_writing_mode_new ()

FoProperty*         fo_property_writing_mode_new        (void);

Creates a new FoPropertyWritingMode initialized to default value.

Returns :

the new FoPropertyWritingMode.

fo_property_writing_mode_get_initial ()

FoProperty*         fo_property_writing_mode_get_initial
                                                        (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.

fo_property_writing_mode_to_bpd ()

FoEnumAreaDirection fo_property_writing_mode_to_bpd     (FoProperty *writing_mode,
                                                         GError **error);

Determine the block-progression-direction for the current value of writing_mode

writing_mode :

FoPropertyWritingMode

error :

GError

Returns :

FoEnumAreaDirection indicating block-progression-direction

fo_property_writing_mode_to_ipd ()

FoEnumAreaDirection fo_property_writing_mode_to_ipd     (FoProperty *writing_mode,
                                                         GError **error);

Determine the inline-progression-direction for the current value of writing_mode

writing_mode :

FoPropertyWritingMode

error :

GError

Returns :

FoEnumAreaDirection indicating inline-progression-direction

fo_property_writing_mode_to_sd ()

FoEnumAreaDirection fo_property_writing_mode_to_sd      (FoProperty *writing_mode,
                                                         GError **error);

Determine the shift-direction for the current value of writing_mode

writing_mode :

FoPropertyWritingMode

error :

GError

Returns :

FoEnumAreaDirection indicating shift-direction
xmlroff-0.6.2/cunit/0000777000175000017500000000000011156164736011335 500000000000000xmlroff-0.6.2/cunit/Makefile.am0000644000175000017500000000130311033700760013265 00000000000000## libfo CUnit tests Makefile.am ## Process this file with automake to create Makefile.in. INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(CUNIT_CFLAGS) \ $(PANGO_CFLAGS) if ENABLE_CUNIT noinst_PROGRAMS = test endif test_SOURCES = \ test.c \ test-fo-color.c \ test-fo-color.h \ test-fo-context.c \ test-fo-context.h \ test-fo-doc.c \ test-fo-doc.h \ test-fo-expr-eval.c \ test-fo-expr-eval.h \ test-fo-length-range.c \ test-fo-length-range.h \ test-fo-libfo-context.c \ test-fo-libfo-context.h \ test-fo-libfo-module.c \ test-fo-libfo-module.h \ test-libfo-version.c \ test-libfo-version.h test_LDFLAGS = -static test_LDADD = \ $(CUNIT_LIBS) \ $(PANGO_LIBS) \ ../libfo/libfo-0.6.laxmlroff-0.6.2/cunit/Makefile.in0000644000175000017500000004147111155246036013316 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ @ENABLE_CUNIT_TRUE@noinst_PROGRAMS = test$(EXEEXT) subdir = cunit DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = PROGRAMS = $(noinst_PROGRAMS) am_test_OBJECTS = test.$(OBJEXT) test-fo-color.$(OBJEXT) \ test-fo-context.$(OBJEXT) test-fo-doc.$(OBJEXT) \ test-fo-expr-eval.$(OBJEXT) test-fo-length-range.$(OBJEXT) \ test-fo-libfo-context.$(OBJEXT) test-fo-libfo-module.$(OBJEXT) \ test-libfo-version.$(OBJEXT) test_OBJECTS = $(am_test_OBJECTS) am__DEPENDENCIES_1 = test_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ ../libfo/libfo-0.6.la DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(test_SOURCES) DIST_SOURCES = $(test_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_ENABLED = @CAIRO_ENABLED@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_OLDEST = @CHANGELOG_OLDEST@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CUNIT_CFLAGS = @CUNIT_CFLAGS@ CUNIT_LIBS = @CUNIT_LIBS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DB2HTML = @DB2HTML@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_CAIRO = @ENABLE_CAIRO@ ENABLE_CAIRO_FALSE = @ENABLE_CAIRO_FALSE@ ENABLE_CAIRO_TRUE = @ENABLE_CAIRO_TRUE@ ENABLE_CUNIT_FALSE = @ENABLE_CUNIT_FALSE@ ENABLE_CUNIT_TRUE = @ENABLE_CUNIT_TRUE@ ENABLE_GP = @ENABLE_GP@ ENABLE_GP_FALSE = @ENABLE_GP_FALSE@ ENABLE_GP_TRUE = @ENABLE_GP_TRUE@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ ENABLE_MAN_FALSE = @ENABLE_MAN_FALSE@ ENABLE_MAN_TRUE = @ENABLE_MAN_TRUE@ ENABLE_SVN2CL_FALSE = @ENABLE_SVN2CL_FALSE@ ENABLE_SVN2CL_TRUE = @ENABLE_SVN2CL_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_CONFIG = @FREETYPE_CONFIG@ FREETYPE_LIBS = @FREETYPE_LIBS@ GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@ GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@ GNOMEPRINT_ENABLED = @GNOMEPRINT_ENABLED@ GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@ GNOMEPRINT_REQUIRES = @GNOMEPRINT_REQUIRES@ GREP = @GREP@ GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@ GTK_DOC_LIBS = @GTK_DOC_LIBS@ HAVE_CAIRO_FALSE = @HAVE_CAIRO_FALSE@ HAVE_CAIRO_FREETYPE_FALSE = @HAVE_CAIRO_FREETYPE_FALSE@ HAVE_CAIRO_FREETYPE_TRUE = @HAVE_CAIRO_FREETYPE_TRUE@ HAVE_CAIRO_TRUE = @HAVE_CAIRO_TRUE@ HAVE_CAIRO_WIN32_FALSE = @HAVE_CAIRO_WIN32_FALSE@ HAVE_CAIRO_WIN32_TRUE = @HAVE_CAIRO_WIN32_TRUE@ HAVE_DOCBOOK_FALSE = @HAVE_DOCBOOK_FALSE@ HAVE_DOCBOOK_TRUE = @HAVE_DOCBOOK_TRUE@ HAVE_FREETYPE_FALSE = @HAVE_FREETYPE_FALSE@ HAVE_FREETYPE_TRUE = @HAVE_FREETYPE_TRUE@ HAVE_GTK_DOC = @HAVE_GTK_DOC@ HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@ HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@ HAVE_LIBRSVG = @HAVE_LIBRSVG@ HAVE_LIBRSVG_FALSE = @HAVE_LIBRSVG_FALSE@ HAVE_LIBRSVG_TRUE = @HAVE_LIBRSVG_TRUE@ HTML_DIR = @HTML_DIR@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBFO_DEBUG = @LIBFO_DEBUG@ LIBOBJS = @LIBOBJS@ LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@ LIBRSVG_LIBS = @LIBRSVG_LIBS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBXSLT_CFLAGS = @LIBXSLT_CFLAGS@ LIBXSLT_LIBS = @LIBXSLT_LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ LT_RELEASE = @LT_RELEASE@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ NMEDIT = @NMEDIT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ RANLIB = @RANLIB@ REBUILD = @REBUILD@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SVN2CL = @SVN2CL@ VERSION = @VERSION@ XMLROFF_BINARY_AGE = @XMLROFF_BINARY_AGE@ XMLROFF_INTERFACE_AGE = @XMLROFF_INTERFACE_AGE@ XMLROFF_VERSION = @XMLROFF_VERSION@ XMLROFF_VERSION_EXTRA = @XMLROFF_VERSION_EXTRA@ XMLROFF_VERSION_MAJOR = @XMLROFF_VERSION_MAJOR@ XMLROFF_VERSION_MICRO = @XMLROFF_VERSION_MICRO@ XMLROFF_VERSION_MINOR = @XMLROFF_VERSION_MINOR@ XSLTPROC = @XSLTPROC@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -DG_LOG_DOMAIN=\"libfo\" \ $(CUNIT_CFLAGS) \ $(PANGO_CFLAGS) test_SOURCES = \ test.c \ test-fo-color.c \ test-fo-color.h \ test-fo-context.c \ test-fo-context.h \ test-fo-doc.c \ test-fo-doc.h \ test-fo-expr-eval.c \ test-fo-expr-eval.h \ test-fo-length-range.c \ test-fo-length-range.h \ test-fo-libfo-context.c \ test-fo-libfo-context.h \ test-fo-libfo-module.c \ test-fo-libfo-module.h \ test-libfo-version.c \ test-libfo-version.h test_LDFLAGS = -static test_LDADD = \ $(CUNIT_LIBS) \ $(PANGO_LIBS) \ ../libfo/libfo-0.6.la all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu cunit/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu cunit/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done test$(EXEEXT): $(test_OBJECTS) $(test_DEPENDENCIES) @rm -f test$(EXEEXT) $(LINK) $(test_LDFLAGS) $(test_OBJECTS) $(test_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fo-color.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fo-context.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fo-doc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fo-expr-eval.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fo-length-range.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fo-libfo-context.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fo-libfo-module.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-libfo-version.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xmlroff-0.6.2/cunit/test.c0000644000175000017500000000635111033701100012351 00000000000000/* * Simple example of a CUnit unit test. * * This program (crudely) demonstrates a very simple "black box" * test of the standard library functions fprintf() and fread(). * It uses suite initialization and cleanup functions to open * and close a common temporary file used by the test functions. * The test functions then write to and read from the temporary * file in the course of testing the library functions. * * The 2 test functions are added to a single CUnit suite, and * then run using the CUnit Basic interface. The output of the * program (on CUnit version 2.0-2) is: * * CUnit : A Unit testing framework for C. * http://cunit.sourceforge.net/ * * Suite: Suite_1 * Test: test of fprintf() ... passed * Test: test of fread() ... passed * * --Run Summary: Type Total Ran Passed Failed * suites 1 1 n/a 0 * tests 2 2 2 0 * asserts 5 5 5 0 */ #include #include #include "CUnit/Basic.h" #include "test-fo-color.h" #include "test-fo-context.h" #include "test-fo-doc.h" #include "test-fo-expr-eval.h" #include "test-fo-length-range.h" #include "test-fo-libfo-context.h" #include "test-fo-libfo-module.h" #include "test-libfo-version.h" /* The main() function for setting up and running the tests. * Returns a CUE_SUCCESS on successful running, another * CUnit error code on failure. */ int main () { /* initialize the CUnit test registry */ if (CUE_SUCCESS != CU_initialize_registry()) { return CU_get_error(); } CU_ErrorCode error = CU_register_suites (test_fo_expr_eval_get_suites()); if (error != CUE_SUCCESS) { printf ("%s\n" , CU_get_error_msg()); return (error); } error = CU_register_suites (test_fo_color_get_suites()); if (error != CUE_SUCCESS) { printf ("%s\n" , CU_get_error_msg ()); return (error); } error = CU_register_suites (test_fo_context_get_suites()); if (error != CUE_SUCCESS) { printf ("%s\n" , CU_get_error_msg ()); return (error); } error = CU_register_suites (test_fo_doc_get_suites()); if (error != CUE_SUCCESS) { printf ("%s\n" , CU_get_error_msg ()); return (error); } error = CU_register_suites (test_fo_length_range_get_suites()); if (error != CUE_SUCCESS) { printf ("%s\n" , CU_get_error_msg ()); return (error); } error = CU_register_suites (test_fo_libfo_context_get_suites()); if (error != CUE_SUCCESS) { printf ("%s\n" , CU_get_error_msg ()); return (error); } error = CU_register_suites (test_fo_libfo_module_get_suites()); if (error != CUE_SUCCESS) { printf ("%s\n" , CU_get_error_msg ()); return (error); } error = CU_register_suites (test_libfo_version_get_suites()); if (error != CUE_SUCCESS) { printf ("%s\n" , CU_get_error_msg ()); return (error); } /* Run all tests using the CUnit Basic interface */ CU_basic_set_mode (CU_BRM_VERBOSE); CU_basic_run_tests (); CU_cleanup_registry (); return CU_get_error (); } xmlroff-0.6.2/cunit/test-fo-color.c0000644000175000017500000000434110674177126014115 00000000000000/* * Simple example of a CUnit unit test. * * This program (crudely) demonstrates a very simple "black box" * test of the standard library functions fprintf() and fread(). * It uses suite initialization and cleanup functions to open * and close a common temporary file used by the test functions. * The test functions then write to and read from the temporary * file in the course of testing the library functions. * * The 2 test functions are added to a single CUnit suite, and * then run using the CUnit Basic interface. The output of the * program (on CUnit version 2.0-2) is: * * CUnit : A Unit testing framework for C. * http://cunit.sourceforge.net/ * * Suite: Suite_1 * Test: test of fprintf() ... passed * Test: test of fread() ... passed * * --Run Summary: Type Total Ran Passed Failed * suites 1 1 n/a 0 * tests 2 2 2 0 * asserts 5 5 5 0 */ #include "CUnit/Basic.h" #include #include /* The suite initialization function. * Returns zero on success, non-zero otherwise. */ static int init_suite (void) { fo_libfo_init (); return 0; } /* The suite cleanup function. * Returns zero on success, non-zero otherwise. */ static int clean_suite (void) { fo_libfo_shutdown (); return 0; } static void test_fo_color_copy (void) { guint red = 0x0123; guint green = 0x4567; guint blue = 0x89AB; FoDatatype *color1 = g_object_ref (fo_color_new_with_value (red, green, blue)); FoDatatype *color2 = g_object_ref (fo_datatype_copy (color1)); CU_ASSERT_EQUAL (red, fo_color_get_red (color2)); CU_ASSERT_EQUAL (green, fo_color_get_green (color2)); CU_ASSERT_EQUAL (blue, fo_color_get_blue (color2)); g_object_unref (color1); g_object_unref (color2); } static CU_TestInfo test_array[] = { { "test copy of FoColor", test_fo_color_copy }, CU_TEST_INFO_NULL, }; static CU_SuiteInfo suites[] = { { "fo-color", init_suite, clean_suite, test_array }, CU_SUITE_INFO_NULL, }; CU_SuiteInfo * test_fo_color_get_suites (void) { return suites; } xmlroff-0.6.2/cunit/test-fo-color.h0000644000175000017500000000024210674173604014113 00000000000000#ifndef __TEST_FO_COLOR_H__ #define __TEST_FO_COLOR_H__ #include "CUnit/CUnit.h" CU_SuiteInfo * test_fo_color_get_suites(); #endif /* !__TEST_FO_COLOR_H__ */ xmlroff-0.6.2/cunit/test-fo-context.c0000644000175000017500000000360211026460204014442 00000000000000/* * Simple example of a CUnit unit test. * * This program (crudely) demonstrates a very simple "black box" * test of the standard library functions fprintf() and fread(). * It uses suite initialization and cleanup functions to open * and close a common temporary file used by the test functions. * The test functions then write to and read from the temporary * file in the course of testing the library functions. * * The 2 test functions are added to a single CUnit suite, and * then run using the CUnit Basic interface. The output of the * program (on CUnit version 2.0-2) is: * * CUnit : A Unit testing framework for C. * http://cunit.sourceforge.net/ * * Suite: Suite_1 * Test: test of fprintf() ... passed * Test: test of fread() ... passed * * --Run Summary: Type Total Ran Passed Failed * suites 1 1 n/a 0 * tests 2 2 2 0 * asserts 5 5 5 0 */ #include "CUnit/Basic.h" #include #include /* The suite initialization function. * Returns zero on success, non-zero otherwise. */ static int init_suite (void) { fo_libfo_init (); return 0; } /* The suite cleanup function. * Returns zero on success, non-zero otherwise. */ static int clean_suite (void) { fo_libfo_shutdown (); return 0; } static void test_fo_context_new_finalize (void) { FoContext *context = fo_context_new(); g_object_unref (context); } static CU_TestInfo test_array[] = { { "FoContext new and finalize", test_fo_context_new_finalize }, CU_TEST_INFO_NULL, }; static CU_SuiteInfo suites[] = { { "fo-context", init_suite, clean_suite, test_array }, CU_SUITE_INFO_NULL, }; CU_SuiteInfo * test_fo_context_get_suites (void) { return suites; } xmlroff-0.6.2/cunit/test-fo-context.h0000644000175000017500000000025210676155755014473 00000000000000#ifndef __TEST_FO_CONTEXT_H__ #define __TEST_FO_CONTEXT_H__ #include "CUnit/CUnit.h" CU_SuiteInfo * test_fo_context_get_suites(); #endif /* !__TEST_FO_CONTEXT_H__ */ xmlroff-0.6.2/cunit/test-fo-doc.c0000644000175000017500000000563211150536664013544 00000000000000/* * Simple example of a CUnit unit test. * * This program (crudely) demonstrates a very simple "black box" * test of the standard library functions fprintf() and fread(). * It uses suite initialization and cleanup functions to open * and close a common temporary file used by the test functions. * The test functions then write to and read from the temporary * file in the course of testing the library functions. * * The 2 test functions are added to a single CUnit suite, and * then run using the CUnit Basic interface. The output of the * program (on CUnit version 2.0-2) is: * * CUnit : A Unit testing framework for C. * http://cunit.sourceforge.net/ * * Suite: Suite_1 * Test: test of fprintf() ... passed * Test: test of fread() ... passed * * --Run Summary: Type Total Ran Passed Failed * suites 1 1 n/a 0 * tests 2 2 2 0 * asserts 5 5 5 0 */ #include "config.h" #include #include #include #include #include #include #include /* The suite initialization function. * Returns zero on success, non-zero otherwise. */ static int init_suite (void) { fo_libfo_init (); return 0; } /* The suite cleanup function. * Returns zero on success, non-zero otherwise. */ static int clean_suite (void) { fo_libfo_shutdown (); return 0; } static void test_fo_doc_new_finalize (void) { FoDoc *doc = fo_doc_new(); g_object_unref (doc); } static void test_fo_doc_formats (void) { CU_ASSERT_EQUAL (fo_doc_formats_from_name (NULL), FO_FLAG_FORMAT_UNKNOWN); CU_ASSERT_EQUAL (fo_doc_formats_from_name ("bogus"), FO_FLAG_FORMAT_UNKNOWN); /* Class that is not a FoDoc subtype should return unknown format. */ CU_ASSERT_EQUAL (fo_doc_formats_from_name (g_type_name (fo_object_get_type ())), FO_FLAG_FORMAT_UNKNOWN); CU_ASSERT_EQUAL (fo_doc_formats_from_name (g_type_name (fo_doc_get_type ())), FO_FLAG_FORMAT_UNKNOWN); CU_ASSERT_EQUAL (fo_doc_formats_from_name (g_type_name (fo_doc_cairo_get_type ())), ( FO_FLAG_FORMAT_PDF | FO_FLAG_FORMAT_POSTSCRIPT | FO_FLAG_FORMAT_SVG )); #if ENABLE_GP CU_ASSERT_EQUAL (fo_doc_formats_from_name (g_type_name (fo_doc_gp_get_type ())), ( FO_FLAG_FORMAT_PDF | FO_FLAG_FORMAT_POSTSCRIPT | FO_FLAG_FORMAT_SVG )); #endif } static CU_TestInfo test_array[] = { { "FoDoc new and finalize", test_fo_doc_new_finalize }, { "FoDoc get formats", test_fo_doc_formats }, CU_TEST_INFO_NULL, }; static CU_SuiteInfo suites[] = { { "fo-doc", init_suite, clean_suite, test_array }, CU_SUITE_INFO_NULL, }; CU_SuiteInfo * test_fo_doc_get_suites (void) { return suites; } xmlroff-0.6.2/cunit/test-fo-doc.h0000644000175000017500000000023211026476137013540 00000000000000#ifndef __TEST_FO_DOC_H__ #define __TEST_FO_DOC_H__ #include "CUnit/CUnit.h" CU_SuiteInfo * test_fo_doc_get_suites(); #endif /* !__TEST_FO_DOC_H__ */ xmlroff-0.6.2/cunit/test-fo-expr-eval.c0000644000175000017500000000407310673724057014704 00000000000000/* * Simple example of a CUnit unit test. * * This program (crudely) demonstrates a very simple "black box" * test of the standard library functions fprintf() and fread(). * It uses suite initialization and cleanup functions to open * and close a common temporary file used by the test functions. * The test functions then write to and read from the temporary * file in the course of testing the library functions. * * The 2 test functions are added to a single CUnit suite, and * then run using the CUnit Basic interface. The output of the * program (on CUnit version 2.0-2) is: * * CUnit : A Unit testing framework for C. * http://cunit.sourceforge.net/ * * Suite: Suite_1 * Test: test of fprintf() ... passed * Test: test of fread() ... passed * * --Run Summary: Type Total Ran Passed Failed * suites 1 1 n/a 0 * tests 2 2 2 0 * asserts 5 5 5 0 */ #include "CUnit/Basic.h" #include #include /* The suite initialization function. * Opens the temporary file used by the tests. * Returns zero on success, non-zero otherwise. */ static int init_suite_expr (void) { fo_libfo_init (); return 0; } /* The suite cleanup function. * Closes the temporary file used by the tests. * Returns zero on success, non-zero otherwise. */ static int clean_suite_expr (void) { fo_libfo_shutdown (); return 0; } static void test_fo_expr_eval(void) { CU_ASSERT_PTR_NULL (fo_expr_eval ("test", "test", NULL, NULL, NULL, NULL, NULL, NULL, NULL)); } static CU_TestInfo test_array1[] = { { "test of fo_expr_eval()", test_fo_expr_eval }, CU_TEST_INFO_NULL, }; static CU_SuiteInfo suites[] = { { "fo-expr-eval", init_suite_expr, clean_suite_expr, test_array1 }, CU_SUITE_INFO_NULL, }; CU_SuiteInfo * test_fo_expr_eval_get_suites() { return suites; } xmlroff-0.6.2/cunit/test-fo-expr-eval.h0000644000175000017500000000026210650734630014676 00000000000000#ifndef __TEST_FO_EXPR_EVAL_H__ #define __TEST_FO_EXPR_EVAL_H__ #include "CUnit/CUnit.h" CU_SuiteInfo * test_fo_expr_eval_get_suites(); #endif /* !__TEST_FO_EXPR_EVAL_H__ */ xmlroff-0.6.2/cunit/test-fo-length-range.c0000644000175000017500000000506110674200436015341 00000000000000/* * Simple example of a CUnit unit test. * * This program (crudely) demonstrates a very simple "black box" * test of the standard library functions fprintf() and fread(). * It uses suite initialization and cleanup functions to open * and close a common temporary file used by the test functions. * The test functions then write to and read from the temporary * file in the course of testing the library functions. * * The 2 test functions are added to a single CUnit suite, and * then run using the CUnit Basic interface. The output of the * program (on CUnit version 2.0-2) is: * * CUnit : A Unit testing framework for C. * http://cunit.sourceforge.net/ * * Suite: Suite_1 * Test: test of fprintf() ... passed * Test: test of fread() ... passed * * --Run Summary: Type Total Ran Passed Failed * suites 1 1 n/a 0 * tests 2 2 2 0 * asserts 5 5 5 0 */ #include "CUnit/Basic.h" #include #include #include /* The suite initialization function. * Returns zero on success, non-zero otherwise. */ static int init_suite (void) { fo_libfo_init (); return 0; } /* The suite cleanup function. * Returns zero on success, non-zero otherwise. */ static int clean_suite (void) { fo_libfo_shutdown (); return 0; } static void test_fo_length_range_copy (void) { FoDatatype *length_range_1 = g_object_ref (fo_length_range_new_with_value (fo_length_get_length_3pt ())); FoDatatype *length_range_2 = g_object_ref (fo_datatype_copy (length_range_1)); CU_ASSERT_EQUAL (fo_length_get_value (fo_length_get_length_3pt ()), fo_length_get_value (fo_length_range_get_minimum (length_range_2))); CU_ASSERT_EQUAL (fo_length_get_value (fo_length_get_length_3pt ()), fo_length_get_value (fo_length_range_get_optimum (length_range_2))); CU_ASSERT_EQUAL (fo_length_get_value (fo_length_get_length_3pt ()), fo_length_get_value (fo_length_range_get_maximum (length_range_2))); g_object_unref (length_range_1); g_object_unref (length_range_2); } static CU_TestInfo test_array[] = { { "test copy of FoLengthRange", test_fo_length_range_copy }, CU_TEST_INFO_NULL, }; static CU_SuiteInfo suites[] = { { "fo-length-range", init_suite, clean_suite, test_array }, CU_SUITE_INFO_NULL, }; CU_SuiteInfo * test_fo_length_range_get_suites (void) { return suites; } xmlroff-0.6.2/cunit/test-fo-length-range.h0000644000175000017500000000027610674173626015363 00000000000000#ifndef __TEST_FO_LENGTH_RANGE_H__ #define __TEST_FO_LENGTH_RANGE_H__ #include "CUnit/CUnit.h" CU_SuiteInfo * test_fo_length_range_get_suites(); #endif /* !__TEST_FO_LENGTH_RANGE_H__ */ xmlroff-0.6.2/cunit/test-fo-libfo-context.c0000644000175000017500000000602111026461313015533 00000000000000/* * Simple example of a CUnit unit test. * * This program (crudely) demonstrates a very simple "black box" * test of the standard library functions fprintf() and fread(). * It uses suite initialization and cleanup functions to open * and close a common temporary file used by the test functions. * The test functions then write to and read from the temporary * file in the course of testing the library functions. * * The 2 test functions are added to a single CUnit suite, and * then run using the CUnit Basic interface. The output of the * program (on CUnit version 2.0-2) is: * * CUnit : A Unit testing framework for C. * http://cunit.sourceforge.net/ * * Suite: Suite_1 * Test: test of fprintf() ... passed * Test: test of fread() ... passed * * --Run Summary: Type Total Ran Passed Failed * suites 1 1 n/a 0 * tests 2 2 2 0 * asserts 5 5 5 0 */ #include "CUnit/Basic.h" #include #include /* The suite initialization function. * Returns zero on success, non-zero otherwise. */ static int init_suite (void) { fo_libfo_init (); return 0; } /* The suite cleanup function. * Returns zero on success, non-zero otherwise. */ static int clean_suite (void) { fo_libfo_shutdown (); return 0; } static void test_fo_libfo_context_new_finalize (void) { FoLibfoContext *context = fo_libfo_context_new(); g_object_unref (context); } static void test_fo_libfo_context_format (void) { FoLibfoContext *context = fo_libfo_context_new(); /* Setting to multiple formats is not a good idea. */ fo_libfo_context_set_format (context, FO_FLAG_FORMAT_PDF | FO_FLAG_FORMAT_SVG); /* fo_libfo_context_set_format should use the first (lowest) value if more than one flag bit is set. */ CU_ASSERT_EQUAL (fo_libfo_context_get_format (context), MIN (FO_FLAG_FORMAT_PDF, FO_FLAG_FORMAT_SVG)); CU_ASSERT_NOT_EQUAL (fo_libfo_context_get_format (context), MAX (FO_FLAG_FORMAT_PDF, FO_FLAG_FORMAT_SVG)); g_object_unref (context); } static void test_fo_libfo_context_font_embed (void) { FoLibfoContext *context = fo_libfo_context_new(); fo_libfo_context_set_font_embed (context, FO_ENUM_FONT_EMBED_NONBASE); CU_ASSERT_EQUAL (fo_libfo_context_get_font_embed (context), FO_ENUM_FONT_EMBED_NONBASE); g_object_unref (context); } static CU_TestInfo test_array[] = { { "FoLibfoContext new and finalize", test_fo_libfo_context_new_finalize }, { "FoLibfoContext set and get format", test_fo_libfo_context_format }, { "FoLibfoContext set and get font embedding", test_fo_libfo_context_font_embed }, CU_TEST_INFO_NULL, }; static CU_SuiteInfo suites[] = { { "fo-libfo-context", init_suite, clean_suite, test_array }, CU_SUITE_INFO_NULL, }; CU_SuiteInfo * test_fo_libfo_context_get_suites (void) { return suites; } xmlroff-0.6.2/cunit/test-fo-libfo-context.h0000644000175000017500000000030211026457707015550 00000000000000#ifndef __TEST_FO_LIBFO_CONTEXT_H__ #define __TEST_FO_LIBFO_CONTEXT_H__ #include "CUnit/CUnit.h" CU_SuiteInfo * test_fo_libfo_context_get_suites(); #endif /* !__TEST_FO_LIBFO_CONTEXT_H__ */ xmlroff-0.6.2/cunit/test-fo-libfo-module.c0000644000175000017500000000667611150536664015366 00000000000000/* * Simple example of a CUnit unit test. * * This program (crudely) demonstrates a very simple "black box" * test of the standard library functions fprintf() and fread(). * It uses suite initialization and cleanup functions to open * and close a common temporary file used by the test functions. * The test functions then write to and read from the temporary * file in the course of testing the library functions. * * The 2 test functions are added to a single CUnit suite, and * then run using the CUnit Basic interface. The output of the * program (on CUnit version 2.0-2) is: * * CUnit : A Unit testing framework for C. * http://cunit.sourceforge.net/ * * Suite: Suite_1 * Test: test of fprintf() ... passed * Test: test of fread() ... passed * * --Run Summary: Type Total Ran Passed Failed * suites 1 1 n/a 0 * tests 2 2 2 0 * asserts 5 5 5 0 */ #include #include #include #include #include #include #include /* The suite initialization function. * Returns zero on success, non-zero otherwise. */ static int init_suite (void) { fo_libfo_init (); return 0; } /* The suite cleanup function. * Returns zero on success, non-zero otherwise. */ static int clean_suite (void) { fo_libfo_shutdown (); return 0; } static void test_fo_libfo_module_version (void) { CU_ASSERT_EQUAL (fo_libfo_module_version_from_name (NULL), 0); CU_ASSERT_EQUAL (fo_libfo_module_version_from_name ("bogus"), 0); /* Class that is not a FoDoc subtype should return unknown format. */ CU_ASSERT_EQUAL (fo_libfo_module_version_from_name (g_type_name (fo_object_get_type ())), 0); CU_ASSERT_EQUAL (fo_libfo_module_version_from_name (g_type_name (fo_doc_get_type ())), 0); CU_ASSERT_EQUAL (fo_libfo_module_version_from_name (g_type_name (fo_doc_cairo_get_type ())), cairo_version ()); #if ENABLE_GP CU_ASSERT_EQUAL (fo_libfo_module_version_from_name (g_type_name (fo_doc_gp_get_type ())), 0); #endif } static void test_fo_libfo_module_version_string (void) { CU_ASSERT_EQUAL (fo_libfo_module_version_string_from_name (NULL), NULL); CU_ASSERT_EQUAL (fo_libfo_module_version_string_from_name ("bogus"), NULL); /* Class that is not a FoDoc subtype should return unknown format. */ CU_ASSERT_EQUAL (fo_libfo_module_version_string_from_name (g_type_name (fo_object_get_type ())), NULL); CU_ASSERT_EQUAL (fo_libfo_module_version_string_from_name (g_type_name (fo_doc_get_type ())), NULL); CU_ASSERT_EQUAL (fo_libfo_module_version_string_from_name (g_type_name (fo_doc_cairo_get_type ())), cairo_version_string ()); #if ENABLE_GP CU_ASSERT_EQUAL (fo_libfo_module_version_string_from_name (g_type_name (fo_doc_gp_get_type ())), NULL); #endif } static CU_TestInfo test_array[] = { { "FoLibfoModule get version", test_fo_libfo_module_version }, { "FoLibfoModule get version string", test_fo_libfo_module_version_string }, CU_TEST_INFO_NULL, }; static CU_SuiteInfo suites[] = { { "fo-libfo-module", init_suite, clean_suite, test_array }, CU_SUITE_INFO_NULL, }; CU_SuiteInfo * test_fo_libfo_module_get_suites (void) { return suites; } xmlroff-0.6.2/cunit/test-fo-libfo-module.h0000644000175000017500000000027611033700710015342 00000000000000#ifndef __TEST_FO_LIBFO_MODULE_H__ #define __TEST_FO_LIBFO_MODULE_H__ #include "CUnit/CUnit.h" CU_SuiteInfo * test_fo_libfo_module_get_suites(); #endif /* !__TEST_FO_LIBFO_MODULE_H__ */ xmlroff-0.6.2/cunit/test-libfo-version.c0000644000175000017500000000430211033710651015132 00000000000000/* * Simple example of a CUnit unit test. * * This program (crudely) demonstrates a very simple "black box" * test of the standard library functions fprintf() and fread(). * It uses suite initialization and cleanup functions to open * and close a common temporary file used by the test functions. * The test functions then write to and read from the temporary * file in the course of testing the library functions. * * The 2 test functions are added to a single CUnit suite, and * then run using the CUnit Basic interface. The output of the * program (on CUnit version 2.0-2) is: * * CUnit : A Unit testing framework for C. * http://cunit.sourceforge.net/ * * Suite: Suite_1 * Test: test of fprintf() ... passed * Test: test of fread() ... passed * * --Run Summary: Type Total Ran Passed Failed * suites 1 1 n/a 0 * tests 2 2 2 0 * asserts 5 5 5 0 */ #include #include #include /* The suite initialization function. * Returns zero on success, non-zero otherwise. */ static int init_suite (void) { fo_libfo_init (); return 0; } /* The suite cleanup function. * Returns zero on success, non-zero otherwise. */ static int clean_suite (void) { fo_libfo_shutdown (); return 0; } static void test_libfo_version_get_info (void) { const LibfoVersionInfo ** backend_info = libfo_version_get_info (); CU_ASSERT_EQUAL (backend_info[0]->nick, "cairo"); CU_ASSERT_EQUAL (backend_info[1]->nick, "gp"); CU_ASSERT_EQUAL (backend_info[2]->nick, "xsl-formatter"); CU_ASSERT_EQUAL (backend_info[3]->nick, "libxslt"); CU_ASSERT_EQUAL (backend_info[4]->nick, "libxml2"); CU_ASSERT_EQUAL (backend_info[5], NULL); } static CU_TestInfo test_array[] = { { "libfo-version get info", test_libfo_version_get_info }, CU_TEST_INFO_NULL, }; static CU_SuiteInfo suites[] = { { "libfo-version", init_suite, clean_suite, test_array }, CU_SUITE_INFO_NULL, }; CU_SuiteInfo * test_libfo_version_get_suites (void) { return suites; } xmlroff-0.6.2/cunit/test-libfo-version.h0000644000175000017500000000026611027014612015141 00000000000000#ifndef __TEST_LIBFO_VERSION_H__ #define __TEST_LIBFO_VERSION_H__ #include "CUnit/CUnit.h" CU_SuiteInfo * test_libfo_version_get_suites(); #endif /* !__TEST_LIBFO_VERSION_H__ */